.site-public.site-account .dashboard-parties {
    align-self: start;
    min-width: 0;
    color: #fff;
    overflow-wrap: anywhere;
}

.dashboard-parties h2 { font-size: 1.4rem; }
.dashboard-parties h3 { font-size: 1.1rem; }
.dashboard-parties p { font-size: .9rem; margin: .6rem 0; }
.dashboard-parties-resume { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: .6rem 0 1rem; font-size: .9rem; }
.dashboard-parties-resume .dashboard-parties-extras { display: inline-flex; align-items: center; flex-shrink: 0; gap: .25rem; padding: .25rem .5rem; border-radius: .2rem; line-height: 1.5; font-weight: 700; white-space: nowrap; color: #f1f1f1; background: #0AB2BB; border: 1px solid #0AB2BB; }
.dashboard-parties-extras-etoile { font-size: 18px; line-height: 1; }
.dashboard-parties details { margin-top: .8rem; }
.dashboard-parties summary { cursor: pointer; font-weight: 600; }
.dashboard-parties label { cursor: pointer; }
.dashboard-parties input[type="radio"],
.dashboard-parties input[type="checkbox"] { accent-color: #4389ec; }
.dashboard-parties .btn { white-space: normal; }
.dashboard-parties .dashboard-partie[role="button"] { cursor: pointer; }
.dashboard-parties .dashboard-partie[role="button"]:focus-visible { outline: 2px solid #80e6a0; outline-offset: 3px; }
.dashboard-parties .dashboard-partie[aria-pressed="true"] {
    background: rgba(40, 167, 69, .10);
    border-color: rgba(40, 167, 69, .6) !important;
}
.dashboard-parties .dashboard-partie[aria-pressed="true"] h3 { color: #80e6a0; }
.dashboard-parties .dashboard-partie[aria-pressed="true"] h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 50%;
    background: #28a745;
    box-shadow: 0 0 10px rgba(40, 167, 69, .70);
}
.dashboard-parties [role="status"] { color: #ffd78a; }
.dashboard-parties [hidden] { display: none !important; }

.dashboard-creation-partie {
    padding: 32px;
    border: 1px solid rgba(180, 191, 224, .2);
    border-radius: 8px;
    background: #111b2a;
    color: #fff;
}
.dashboard-creation-partie h1 { font-size: 1.8rem; }
.dashboard-creation-partie h2 { font-size: 1.3rem; margin-top: 24px; }
.dashboard-creation-partie .dashboard-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.creation-partie-champs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: center; margin: 24px 0; }
.creation-partie-champs p { grid-column: 1 / -1; }
.creation-partie-batiments { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 16px 0; }
.creation-partie-batiments label { display: flex; align-items: start; gap: 10px; padding: 16px; border: 1px solid #49627e; border-radius: 6px; cursor: pointer; overflow-wrap: anywhere; }
.creation-partie-batiments input[type="checkbox"] {
    position: static;
    left: auto;
    opacity: 1;
    appearance: auto;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 3px 0 0;
    accent-color: #4389ec;
}
.creation-partie-batiments label.creation-partie-batiment-selectionne { border-color: #74b5ff; background: #173b60; box-shadow: inset 0 0 0 1px #74b5ff; }
.creation-partie-batiments label:focus-within { outline: 2px solid #ffd78a; outline-offset: 3px; }
.creation-partie-selection { display: block; margin-top: 6px; color: #bac3d0; }
.creation-partie-batiment-selectionne .creation-partie-selection { color: #a9d4ff; font-weight: 700; }
.creation-partie-batiments label.creation-partie-batiment-indisponible { color: #bac3d0; border-color: #414d60; background: #1b2534; cursor: not-allowed; }
.creation-partie-motif { display: block; margin-top: 6px; color: #ffd78a; }
.dashboard-creation-partie [role="status"] { color: #ffd78a; }
.dashboard-creation-partie [hidden] { display: none !important; }
@media (max-width: 600px) {
    .dashboard-creation-partie { padding: 20px; }
    .creation-partie-champs { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .creation-partie-batiments { grid-template-columns: minmax(0, 1fr); }
}
