/* Complete dark palette without changing light-mode branding. */
body[data-theme="dark"]{color-scheme:dark;--bg:#101b18;--ink:#ecf5f0;--muted:#b5c8be;--border:#344e42;--shadow:0 8px 26px #0005;background:#101b18!important;color:#ecf5f0!important}
body[data-theme="dark"] :is(.section,.section.pale,.admin-area,.article-page,.lwf-album-page,main,.container .panel,.editor,.setup-card,.admin-content,.lwf-gallery-section){background-color:transparent;color:var(--ink)}
body[data-theme="dark"] :is(.header,.navbar,.navlinks,.navlinks.show,.topbar,.metricbar,.metricbar>div,.panel,.editor,.editform,.matchcard,.newscard,.clubcard,.docrow,.minute-card,.dashboardgrid a,.table-scroll,.rows>.empty,.empty,.setup-card,.cardbody,.cover,.section-mark,.alert,.ranking-form,.lwf-gallery-card,.lwf-album-card,.lwf-card,.v680-card,.v700-card,.sidebar,.admin-table-tools,.admin-table-tools input){background:#1c3028!important;color:#eaf4ed!important;border-color:#3a5748!important}
body[data-theme="dark"] :is(.section.pale,.section,.lwf-gallery-section){background:#101b18!important}
body[data-theme="dark"] :is(h1,h2,h3,h4,h5,h6,strong,b,.cardbody h3,.sectionhead h2,.brand strong,.record-pair b,.docrow b,.minute-details b){color:#f1f7f3!important}
body[data-theme="dark"] :is(p,small,.muted,.sectionhead p,.cardbody p,.docrow small,.record-pair,.minute-details small,.table-note,.dashboardgrid span){color:#b7cbbf!important}
body[data-theme="dark"] :is(a,.card-bottom a,.download,.edit-button){color:#a6e4bf}
body[data-theme="dark"] :is(input,textarea,select,option,.editform input,.editform select,.editform textarea,.setup-card input,.admin-table-tools input){background:#172720!important;color:#f2faf5!important;border-color:#4b6a58!important}
body[data-theme="dark"] input::placeholder,body[data-theme="dark"] textarea::placeholder{color:#9cb5a5}
body[data-theme="dark"] :is(table,td,th){border-color:#395548;color:#e7f0ea}
body[data-theme="dark"] :is(th,thead th){background:#254637!important;color:#fff!important}
body[data-theme="dark"] :is(tbody tr,tbody tr:nth-child(even),tbody tr:nth-child(odd)){background:#192b23!important}
body[data-theme="dark"] tbody tr:hover{background:#284338!important}
body[data-theme="dark"] :is(.sidebar,.footer){background:#092017!important}
body[data-theme="dark"] :is(.tag,.docicon,.lwf-minute-icon,.theme-switch){background:#29483a!important;color:#d3f5dc!important}
body[data-theme="dark"] :is(.btn,.v672-doc-button){border-color:#50775d}
body[data-theme="dark"] :is(.alert.err){background:#482b2b!important;color:#ffdddd!important}
body[data-theme="dark"] .brand small{color:#bfd4c7!important}
/* Committee minute category: remove the redundant PDF label and center the age group. */
.lwf-minute-icon{display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-width:55px;min-height:55px}
.lwf-minute-icon .lwf-minute-category{font-size:clamp(16px,1.8vw,21px)!important;line-height:1.2!important;font-weight:900!important;white-space:nowrap;color:inherit}
.lwf-minute-icon .lwf-minute-fallback{font-size:23px;line-height:1}
