.top-actions{display:flex;align-items:center;gap:20px}.theme-toggle{border:1px solid #e7e8e3;background:#fff;color:#64736e;border-radius:9px;padding:8px 11px;font-size:11px;cursor:pointer;white-space:nowrap}.theme-toggle:hover{background:#f1f5f1}
@media(max-width:760px){.top-actions{gap:0}.theme-toggle{padding:8px 10px}.calendar-grid{grid-auto-rows:minmax(42px,auto)}.day-cell{min-height:42px}.rating-controls .button{flex:1}.table-card{border-radius:12px}}
@media(max-width:520px){.topbar{padding:0 13px}.brand{font-size:16px}.brand-mark{width:28px;height:28px}.theme-toggle span{display:none}.theme-toggle{width:38px;height:38px;padding:0;font-size:17px}.hero{height:176px}.hero h1{font-size:30px}.moon-art{right:-125px;transform:scale(.7)}.content-grid{gap:13px}.calendar-card{padding:17px 10px 15px}.calendar-grid{gap:1px;grid-auto-rows:minmax(41px,auto)}.day-cell{min-height:41px;margin:0;border-radius:9px}.weekdays span{font-size:9px}.rating-controls{gap:7px}.rating-controls .button{padding:0 9px;font-size:10px}.summary-heading{align-items:flex-end;gap:8px}.summary-heading .count-pill{white-space:nowrap}.table-scroll table{min-width:440px}.table-scroll th,.table-scroll td{padding:10px 11px}.user-actions .new-user-form{width:100%}.new-user-form .button{padding:0 10px;font-size:11px}}
html[data-theme="dark"]{--ink:#e7ebe8;--muted:#a6b0ab;--line:#394641;--paper:#171e1d;--white:#222c29;--navy:#dbe8e1;--teal:#82b8a5;--teal-dark:#96c7b3;--shadow:0 10px 32px rgba(0,0,0,.16);color-scheme:dark}
html[data-theme="dark"] body{background:#171e1d;color:#e7ebe8}html[data-theme="dark"] .topbar{background:#1c2522;border-color:#303b37}html[data-theme="dark"] .brand{color:#e4eee8}html[data-theme="dark"] .brand-mark,html[data-theme="dark"] .avatar,html[data-theme="dark"] .mini-avatar{background:#30433b;color:#a9d0bb}html[data-theme="dark"] .top-note,html[data-theme="dark"] .subhead,html[data-theme="dark"] .calendar-hint,html[data-theme="dark"] .rating-title small,html[data-theme="dark"] .selection-count,html[data-theme="dark"] footer{color:#9ba9a2}html[data-theme="dark"] .card{background:#222c29;border-color:#34413c}html[data-theme="dark"] .section-heading h2,html[data-theme="dark"] .hero h1,html[data-theme="dark"] .tip-card h3{color:#e5ece8}html[data-theme="dark"] .hero h1 em{color:#91c3ad}html[data-theme="dark"] .moon-art{opacity:.25}html[data-theme="dark"] .user-intro strong,html[data-theme="dark"] .rating-title strong{color:#e1e9e4}html[data-theme="dark"] input,html[data-theme="dark"] select{background:#1a2320;color:#e1e9e4;border-color:#3a4842}html[data-theme="dark"] .button-dark{background:#507b69;color:#fff}html[data-theme="dark"] .text-button{color:#a8b4ad}html[data-theme="dark"] .day-cell{color:#d3ddd7}html[data-theme="dark"] .day-cell:not(.empty):hover{background:#2c3b34;border-color:#3d594a}html[data-theme="dark"] .day-cell.selected{background:#30483a;border-color:#456650;color:#c1e5cd}html[data-theme="dark"] .day-cell.chosen{background:#31493d;box-shadow:inset 0 0 0 2px #82b8a5}html[data-theme="dark"] .day-cell i{background:#91c8a5}html[data-theme="dark"] .rating-panel{border-color:#394641}html[data-theme="dark"] .step-number,html[data-theme="dark"] .count-pill{background:#303a34;color:#b1c2b7}html[data-theme="dark"] .button-primary{background:#598e79;color:white}html[data-theme="dark"] .button-remove{background:#493432;color:#e7b9ae}html[data-theme="dark"] .tip-card{background:#293b34}html[data-theme="dark"] .tip-card .eyebrow{color:#9bb5a5}html[data-theme="dark"] .tip-card>p:not(.eyebrow){color:#b1c2b7}html[data-theme="dark"] .tip-icon{background:#344d40;color:#a7d0b5}html[data-theme="dark"] th{background:#1e2724;color:#a8b4ad}html[data-theme="dark"] td{border-color:#34413c;color:#c4d0c9}html[data-theme="dark"] td:first-child{color:#dbe4de}html[data-theme="dark"] .empty-state{color:#a1aea6}html[data-theme="dark"] .legend-row{color:#bdc9c1}html[data-theme="dark"] .theme-toggle{background:#2c3933;border-color:#44534a;color:#d3e0d7}html[data-theme="dark"] .theme-toggle:hover{background:#35453c}html[data-theme="dark"] .rating-badge.tone-1{color:#b1dfc0;background:#30483a}html[data-theme="dark"] .rating-badge.tone-2{color:#d0c5ef;background:#3b354d}html[data-theme="dark"] .rating-badge.tone-3{color:#edb9ac;background:#503934}html[data-theme="dark"] .rating-badge.tone-4{color:#dfcf9e;background:#49432f}html[data-theme="dark"] footer span{color:#9ac8b0}
