.sign-in-page{max-width:480px}.you-links small{display:block;font-size:13px;color:var(--muted);font-weight:400;margin-top:5px}
.settings-section>details>summary{font-size:18px;line-height:1.4;padding:8px 0 14px}.settings-section>details>summary small{display:block;font-size:14px;font-weight:400;color:var(--muted);margin:4px 0 0 20px}.settings-section>details[open]>summary{margin-bottom:12px}
.theme-picker legend{font-size:21px;font-weight:650}.theme-picker .tap-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:400px}
.theme-picker .tap-choice{margin:0;min-height:48px;justify-content:center}.theme-picker input{width:18px;min-height:18px;max-width:18px;accent-color:var(--green)}
.custom-favorite{display:flex;gap:12px;align-items:end;max-width:460px}.custom-favorite label{flex:1;margin:0}.reminder-status{border-left:3px solid var(--green);padding:4px 0 4px 18px;margin:20px 0}.reminder-status h3{margin-bottom:6px}
.draft-recovery{border-bottom:1px solid var(--line);padding:16px 0}.draft-recovery p{font-size:14px}.draft-status{font-size:13px;color:var(--muted);padding:4px 0 14px;overflow-wrap:anywhere}.draft-status:empty{display:none}.draft-status button{margin-top:8px}
.check-in-existing{margin-bottom:20px}.existing-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:12px 4px;background:transparent}.existing-entry>span:first-child{overflow-wrap:anywhere;min-width:0}.existing-entry>span:last-child{flex-shrink:0;font-size:13px}.check-in-existing>.btn-primary{margin-top:16px}
:root[data-theme=dark]{--paper:#171c1b;--ink:#edf2ef;--green:#a0dbbc;--rose:#f1a0b8;--line:#41534a;--muted:#b4c0b9;--bs-body-bg:#171c1b;--bs-body-color:#edf2ef;--bs-secondary-color:#b4c0b9;--bs-border-color:#41534a;--bs-link-color:#a0dbbc;--bs-link-hover-color:#c8f1dd;color-scheme:dark}
[data-theme=dark] body,[data-theme=dark] .workspace{background:var(--paper);color:var(--ink)}
[data-theme=dark] button,[data-theme=dark] input:not([type=checkbox]),[data-theme=dark] select,[data-theme=dark] textarea,[data-theme=dark] .form-control,[data-theme=dark] .form-select{background:#232c28;color:var(--ink);border-color:#657c6e}
[data-theme=dark] button:hover{background:#33463b}[data-theme=dark] .btn-primary,[data-theme=dark] .btn-primary:hover{background:#a0dbbc;color:#12251a;border-color:#a0dbbc}
[data-theme=dark] .btn-secondary{background:#28352e;color:#dbeee2;border-color:#657c6e}
[data-theme=dark] .app-header,[data-theme=dark] .app-header nav,[data-theme=dark] .dialog-header,[data-theme=dark] .dialog-actions,[data-theme=dark] .entry-tool,[data-theme=dark] .quick-log-actions button,[data-theme=dark] .status,[data-theme=dark] .you-links a,[data-theme=dark] .today-entry,[data-theme=dark] .symptom-chip,[data-theme=dark] .tap-choice,[data-theme=dark] .pill-color-choice{background:#232c28;color:var(--ink);border-color:var(--line)}
[data-theme=dark] .app-header nav a.active,[data-theme=dark] .day-shortcuts button[aria-pressed=true],[data-theme=dark] .tap-choice:has(input:checked),[data-theme=dark] .symptom-chip:has(input:checked),[data-theme=dark] .pill-color-choice:has(input:checked){background:#344b3f;color:#e8f8ed;border-color:#a0dbbc}
[data-theme=dark] .notice,[data-theme=dark] #blazor-error-ui,[data-theme=dark] .dialog-error{background:#3b2630;color:#ffccdc}
[data-theme=dark] .validation-message,[data-theme=dark] .text-danger,[data-theme=dark] .level-error,[data-theme=dark] .level-critical{color:#ffb0c3!important}
[data-theme=dark] .level-warning{color:#f5d990}[data-theme=dark] .log-level:not(.level-warning):not(.level-error):not(.level-critical){color:#a0dbbc}
[data-theme=dark] .app-header img,[data-theme=dark] .workspace button img,[data-theme=dark] .workspace a img,[data-theme=dark] .dialog-header img{filter:brightness(0) invert(.9)}
[data-theme=dark] .btn-primary img{filter:brightness(0)!important}
[data-theme=dark] .journal-tools summary img,[data-theme=dark] .journal-log-options summary img,[data-theme=dark] .log-category img{filter:brightness(0) invert(.9)}
[data-theme=dark] .row-actions button{background-color:#d5e1d9}
[data-theme=dark] .calendar-grid>div,[data-theme=dark] .calendar-grid button,[data-theme=dark] .pack-day,[data-theme=dark] .trend-observation,[data-theme=dark] .chat-list,[data-theme=dark] .chat-message,[data-theme=dark] .assistant-compose,[data-theme=dark] .assistant-sidebar{background:#232c28;color:var(--ink);border-color:var(--line)}
[data-theme=dark] .calendar-grid .bleeding-day,[data-theme=dark] .calendar-grid button.has-bleeding{background:#55323f;color:#ffd6e2}
[data-theme=dark] .chat-message.user,[data-theme=dark] .user-message,[data-theme=dark] .recorded-status{background:#2b4235;color:#dcf4e5}
[data-theme=dark] dialog{background:var(--paper);color:var(--ink)}
[data-theme=dark] .welcome-header,[data-theme=dark] .welcome-section,[data-theme=dark] .welcome-footer{background:var(--paper);color:var(--ink)}
[data-theme=dark] .welcome-site{background:var(--paper)}
[data-theme=dark] .welcome-hero{color:#20352e;--green:#245d47;--muted:#52635c}
[data-theme=dark] .welcome-promise{background:#392932;border-color:var(--line)}
[data-theme=dark] .welcome-features p,[data-theme=dark] .welcome-privacy-points p,[data-theme=dark] .welcome-questions p{color:var(--muted)}
[data-theme=dark] .welcome-site .welcome-button{background:#a0dbbc;color:#12251a;border-color:#a0dbbc}
[data-theme=dark] .welcome-button img{filter:brightness(0)}
[data-theme=dark] .welcome-section img,[data-theme=dark] .welcome-brand img,[data-theme=dark] .welcome-promise img{filter:brightness(0) invert(.9)}
[data-theme=dark] .chat-choice[aria-pressed=true],[data-theme=dark] .chat-message.from-user,[data-theme=dark] .pack-selector button[aria-pressed=true],[data-theme=dark] .pack-day.dose-taken{background:#2b4235;color:var(--ink)}
[data-theme=dark] .pack-day.dose-missed,[data-theme=dark] .calendar-day.has-bleeding{background:#55323f;color:#ffd6e2}
[data-theme=dark] .calendar-day.has-records{background:#2b4235;color:var(--ink)}
[data-theme=dark] .chat-error,[data-theme=dark] .chat-unread{color:#ffb0c3}
[data-theme=dark] .chat-sources li span{color:var(--muted)}
[data-theme=dark] .typing-dots{background:#35473d}[data-theme=dark] .typing-dots>span{background:#d9ede0}
@media(prefers-reduced-motion:reduce){.components-rejoining-animation{animation:none!important}}
