:root{color-scheme:dark;color:#edf3ee;background:#101713;--green:#94d3ad;--muted:#a4b5a9;--line:#35483b;--cream:#1b261f}
button,input,select,textarea{background:#1c2921;border-color:var(--line);color:#edf3ee}
.primary,.selected{background:#315e43;color:#f4fff7;border-color:#598b67}
.panel,dialog,.slot{background:#1b261f;border-color:#35483b}
.danger{color:#ffb5af;background:#412625;border-color:#82504b}
.slot.full,.hour-grid .slot.full{background:#392625;border-color:#6d4842}
.slot.closed,.hour-grid .slot.closed{background:#232a26;border-color:#3b463e}
.hour-grid .slot{background:#203c2a;border-color:#406044}
.slot.mine{border-color:#97c99a}.slot-empty{color:#b1c6b6}
.group-badge,.chosen{background:#29412e;border-color:#4a674b;color:#d9f3db}
#nav{background:#152019f2;border-top-color:#35483b}#nav button{color:#a4b5a9}#nav button.selected{background:#2c4432;color:#dcf3df}
#message:not(:empty){background:#30391f;border-color:#596842;color:#e4efcb}
.dot{background:#85bc8c}.dot.full{background:#e4988e}.dot.closed{background:#929f95}
.dialog-error{color:#ffb5af}.people-list li{border-bottom-color:#35483b}
.audit-event pre,.weekly-day label{background:#152019;color:#d5e7d9}
dialog::backdrop{background:#050b08c9}input[type=checkbox]{accent-color:#82bc91}
.profile-panel{max-width:520px}.profile-panel button[type=submit]{width:100%;margin-top:8px}
.form-row:has(input[type=date]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
.form-row input[type=date],.form-row select{height:48px;min-width:0;max-width:100%;padding:10px;font-size:16px}
.form-row input[type=date]{appearance:none;-webkit-appearance:none}
.form-row input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:24px}
.week-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:10px}
.week-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin:10px 0 16px}.week-choices button{font-size:14px;padding:10px 8px;text-align:left}.week-choices button span{display:block;font-weight:400;margin-top:3px}
.week-table.anna-week th:first-child{width:auto;position:static}.anna-week td{vertical-align:top}.anna-week .week-cell{min-height:130px}.anna-week .week-cell span+span{margin-top:7px}
.admin-booking-entry{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.admin-booking-entry button{font-size:13px;padding:9px 11px}.slot-actions>span{align-self:center;font-size:13px}
.week-table{border-spacing:5px;width:100%;min-width:805px;table-layout:fixed;font-variant-numeric:tabular-nums}
.week-table th{font-size:13px;font-weight:500;color:#a4b5a9;text-align:center;padding:5px}
.week-table th:first-child{width:55px;position:sticky;left:0;background:#101713;z-index:1}
.week-table thead th span,.week-table thead th strong{display:block}.week-table thead strong{font-size:19px;color:#edf3ee}
.week-table td{padding:0}.week-cell{width:100%;padding:8px 4px;border:1px solid #406044;border-radius:9px;min-height:64px;background:#203c2a;color:#d5efdc;font-size:12px;font-weight:500}
.week-cell span{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.week-cell.partial{background:#423922;border-color:#756033;color:#f4dfa8}.week-cell.full{background:#392625;border-color:#6d4842;color:#f0c9c5}.week-cell.closed{background:#232a26;border-color:#3b463e;color:#a4b5a9}.dot.partial{background:#d9b466}
@media(max-width:680px){.day-tools:has([data-layout=week]){flex-wrap:wrap}.day-tools:has([data-layout=week]) h2{width:100%}.week-table{min-width:770px}.week-cell{min-height:68px}.week-table th:first-child{width:46px}.form-row input[type=date]{padding-left:6px;padding-right:6px}}
