/* AUTO-GENERATED by tools/gen_dark.py — не править руками. Тёмные переопределения жёстко заданных светлых цветов.
Генератор static/css/td-dark.css: тёмные переопределения для жёстко заданных светлых цветов.
Правило (выведено из светлой палитры, HSL):
  фон:   нейтральный светлый (S<=.25, L>=.6)  -> L' = max(.05, .115 - (1-L)*1.2)   (белая карточка #fff -> ~#1a1c22, рабочая область #f4f2f8 -> ~#0f1014)
         светлый тинт (S>.25, L>=.8)        -> тот же оттенок, S' = min(S,.45), L' = .19     (подложки акцента/успеха/Дейли)
         тёмные и насыщенные средние фоны (кнопки, сайдбар) не меняются
  текст: L<.5 -> L' = 1 - L*.55 (нейтральный) / для насыщенных S>.35: L' = min(.78, L+.14)
         светлый текст (на акценте) не меняется
  линии: L>=.75 -> L' = .22 (S' = min(S,.2))
*/

/* --- figma-ui.css (3) --- */
html[data-theme="dark"] .auth-overlay .auth-card { border: 1px solid rgba(45, 54, 67, 0.95); }
html[data-theme="dark"] .auth-tabs { background: var(--bg-subtle, #232b3e); }
@media (min-width: 1025px) {
  html[data-theme="dark"] .focus-overlay.active { background: rgba(34, 45, 63, 0.92); }
  html[data-theme="dark"] .focus-stage-wrap { background: #1d1d1d; border: 1px solid rgba(45, 54, 67, 0.95); }
  html[data-theme="dark"] .focus-timer-panel { background: linear-gradient(180deg, #1b2646 0%, #1b2746 100%); border: 1px solid #2d3243; }
  html[data-theme="dark"] .focus-modal .subtasks-box { background: var(--bg-subtle, #1d3044); }
  html[data-theme="dark"] body.desktop-daily-open .ai-bot-chat-overlay.active { background: rgba(34, 45, 63, 0.72); }
  html[data-theme="dark"] body.desktop-daily-open .ai-bot-chat-panel { border: 1px solid rgba(45, 54, 67, 0.95); }
  html[data-theme="dark"] body.desktop-daily-open .ai-bot-chat-msgs { background: linear-gradient(180deg, #271b46 0%, #1d1d1d 40%); }
  html[data-theme="dark"] body.desktop-daily-open .ai-bot-task-acts, html[data-theme="dark"] body.desktop-daily-open #aiBotChatQuick, html[data-theme="dark"] body.desktop-daily-open #aiBotFnRow { background: #201b46; border: 1px solid #332d43; }
  html[data-theme="dark"] body.desktop-daily-open .ai-bot-chat-input { border-top: 1px solid rgba(45, 54, 67, 0.95); background: #1d1d1d; }
  html[data-theme="dark"] body.desktop-daily-open .ai-bot-chat-head { background: linear-gradient(120deg, #231b46, #1b2a46); }
  html[data-theme="dark"] #settingsModal .settings-sheet-head { border-bottom: 1px solid rgba(45, 54, 67, 0.95); }
  html[data-theme="dark"] #settingsModal .settings-remind-block { background: #1d1d1d; border: 1px solid rgba(45, 54, 67, 0.95); }
  html[data-theme="dark"] #settingsModal .settings-sheet-footer { border-top: 1px solid rgba(45, 54, 67, 0.95); background: #24303d; }
  html[data-theme="dark"] #settingsModal .modal-dialog::before { background: #202841; border-right: 1px solid rgba(45, 54, 67, 0.95); color: var(--text-secondary, #c7cdd6); }
}

/* --- td-figma.css (203) --- */
@media (min-width: 1025px) {
  html[data-theme="dark"] .td-realm-badge { background: #1d1d1d; }
  html[data-theme="dark"] .td-main-focus { background: #1d1d1d; }
  html[data-theme="dark"] #colToday .td-today-empty-card { background: #1d1d1d; }
  html[data-theme="dark"] #colToday .td-empty-btn.is-ghost { background: #1d1d1d; }
  html[data-theme="dark"] #colToday .tcard.is-figma-today, html[data-theme="dark"] #colToday .tcard.is-figma-today:hover, html[data-theme="dark"] #colToday .tcard.is-figma-today.is-selected, html[data-theme="dark"] #colToday .tcard.is-figma-today.is-expanded, html[data-theme="dark"] #colToday .tcard.is-figma-today.is-collapsed, html[data-theme="dark"] #boardGrid #colToday .tcard.is-figma-today, html[data-theme="dark"] #boardGrid #colToday .tcard.is-figma-today:hover, html[data-theme="dark"] #boardGrid #colToday .tcard.is-figma-today.is-selected, html[data-theme="dark"] #boardGrid #colToday .tcard.is-figma-today.is-expanded, html[data-theme="dark"] body.view-list #boardGrid #colToday .tcard.is-figma-today, html[data-theme="dark"] body.view-cards #boardGrid #colToday .tcard.is-figma-today, html[data-theme="dark"] body.view-planner #boardGrid #colToday .tcard.is-figma-today { background: #1d1d1d !important; }
  html[data-theme="dark"] #colToday .tcard.is-figma-today.in-work-card, html[data-theme="dark"] #boardGrid #colToday .tcard.is-figma-today.in-work-card { background: #1d1d1d !important; }
  html[data-theme="dark"] #colToday .tcard.is-figma-today .tc-check { border: 1.5px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] #colToday .tcard.is-figma-today .tc-check:hover { background: #1d1d1d !important; }
  html[data-theme="dark"] .td-task-menu { background: #1d1d1d; }
  html[data-theme="dark"] .td-detail-back { background: #1d1d1d; }
  html[data-theme="dark"] .td-detail-main, html[data-theme="dark"] .td-detail-card { background: #1d1d1d; }
  html[data-theme="dark"] .td-detail-main .task-title-edit, html[data-theme="dark"] #tdTodayDetailHost .task-title-edit, html[data-theme="dark"] #boardGrid #tdTodayDetailHost .task-title-edit, html[data-theme="dark"] body.view-list #boardGrid #tdTodayDetailHost .task-title-edit, html[data-theme="dark"] body.view-cards #boardGrid #tdTodayDetailHost .task-title-edit, html[data-theme="dark"] body.view-planner #boardGrid #tdTodayDetailHost .task-title-edit { background: #1d1d1d !important; }
  html[data-theme="dark"] #tdTodayDetailHost .ti-desc-edit, html[data-theme="dark"] .td-detail-main .ti-desc-edit, html[data-theme="dark"] #boardGrid #tdTodayDetailHost .ti-desc-edit, html[data-theme="dark"] .td-detail-desc-edit { background: #1d1d1d; }
  html[data-theme="dark"] .td-detail-step { border: 1px solid #2d3543; background: #1b2646; }
  html[data-theme="dark"] .td-detail-step-box { border: 1.5px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-detail-step-del:hover, html[data-theme="dark"] .td-detail-step-del:focus-visible { background: var(--danger-soft, #461b1b) !important; }
  html[data-theme="dark"] .td-detail-workspace { background: var(--bg-app, #1e2d43) !important; }
  html[data-theme="dark"] .td-detail-status-card { background: #1d1d1d; }
  html[data-theme="dark"] .td-detail-workspace .td-detail-focus-row, html[data-theme="dark"] .td-detail-workspace .td-detail-daily { background: #1d1d1d; }
  html[data-theme="dark"] .td-detail-chip { background: #1d1d1d; }
  html[data-theme="dark"] .td-dialog { background: #1d1d1d; }
  html[data-theme="dark"] .td-dialog-opt { background: var(--bg-subtle, #242e3d); }
  html[data-theme="dark"] .td-dialog-opt.is-on span { color: color-mix(in srgb, var(--accent) 70%, #b5bcc7); }
  html[data-theme="dark"] .td-dialog-field input { background: var(--bg-subtle, #242e3d); }
  html[data-theme="dark"] .td-dialog-cancel { background: #1d1d1d; }
  html[data-theme="dark"] .td-task-daily { background: #1d1d1d; }
  html[data-theme="dark"] .td-task-daily-next { background: #1b2b46; }
  html[data-theme="dark"] .td-task-daily-act { background: #1d1d1d; }
  html[data-theme="dark"] .td-task-daily-myday { background: #1d1d1d; }
  html[data-theme="dark"] .td-detail-daily-go:hover, html[data-theme="dark"] .td-detail-daily-go:focus-visible { background: #1b2946 !important; }
  html[data-theme="dark"] .td-card { background: #1d1d1d; }
  html[data-theme="dark"] .td-capture-input:focus { background: #1d1d1d; }
  html[data-theme="dark"] .td-capture-ok { color: #0fd2b7; }
  html[data-theme="dark"] .td-capture-ok.is-deferred { color: #b0b7c2; }
  html[data-theme="dark"] .td-capture-ok.is-deferred .td-capture-ok-ico { color: #0fd2b7; }
  html[data-theme="dark"] .td-capture-ok-ico { color: #0fd2b7; }
  html[data-theme="dark"] #colToday .tcard.is-figma-today.is-just-captured, html[data-theme="dark"] #boardGrid #colToday .tcard.is-figma-today.is-just-captured { border-color: #2d3343 !important; }
  html[data-theme="dark"] .td-rhythm-preset { background: #1d1d1d; }
  html[data-theme="dark"] .td-rhythm-cycles { background: var(--bg-subtle, #242e3d); }
  html[data-theme="dark"] .td-rhythm-cycle-btn { background: #1d1d1d; }
  html[data-theme="dark"] .td-rhythm-cycles-hint { color: var(--text-soft, #b0b7c2); }
  html[data-theme="dark"] .td-dialog-ok:disabled { background: #0b0c0e; }
  html[data-theme="dark"] .td-others-search { background: #1d1d1d; }
  html[data-theme="dark"] .td-others-filter-btn { background: #1d1d1d; }
  html[data-theme="dark"] .td-others-filter-menu { background: #1d1d1d; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .backlog-group-head { background: #1d1d1d; border: 1px solid #2d3643; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .backlog-group-head .tc-grp-t { color: #e7e9ed; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .backlog-group-head .grp-count { color: #b5bcc7; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .aside-others-empty { color: #b0b7c2 !important; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .tcard.is-figma-others, html[data-theme="dark"] body[data-desktop-nav="tasks"] #boardGrid #backlogList .tcard.is-figma-others, html[data-theme="dark"] body[data-desktop-nav="tasks"] #colOther .tcard.is-figma-others { background: #1d1d1d !important; border: 1px solid #2d3643 !important; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .tcard.is-figma-others:hover, html[data-theme="dark"] body[data-desktop-nav="tasks"] #boardGrid #backlogList .tcard.is-figma-others:hover { background: #1d1d1d !important; border-color: #2d3543 !important; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .tcard.is-figma-others .tc-check, html[data-theme="dark"] body[data-desktop-nav="tasks"] #colOther .tcard.is-figma-others .tc-check { border: 1.5px solid #2d3643 !important; background: #1d1d1d !important; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .tcard.is-figma-others .tc-check:hover { background: #1d1d1d !important; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .tcard.is-figma-others .tc-title { color: #e7e9ed !important; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .tcard.is-figma-others .tc-meta { color: #b5bcc7 !important; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-empty { background: #1d1d1d; border: 1px solid #2d3643; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-empty-title { color: #e7e9ed; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-empty-hint { color: #b0b7c2; }
  html[data-theme="dark"] .td-others-detail-panel { background: #1d1d1d; border-left: 1px solid #2d3643; }
  html[data-theme="dark"] .td-od-top { background: #1d1d1d; }
  html[data-theme="dark"] .td-od-kicker { color: #b0b7c2; }
  html[data-theme="dark"] .td-od-close { background: #1d1d1d; color: #b0b7c2; }
  html[data-theme="dark"] .td-od-title { color: #e7e9ed; }
  html[data-theme="dark"] button.td-od-desc, html[data-theme="dark"] .td-od-desc { color: #b5bcc7; }
  html[data-theme="dark"] button.td-od-desc:hover, html[data-theme="dark"] .td-od-desc:hover { color: #e7e9ed; }
  html[data-theme="dark"] .td-od-desc-edit { border: 1px solid #2d3543; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] .td-od-status.is-work { background: #1b4637; color: #0fd2b7; }
  html[data-theme="dark"] .td-od-more { color: #b0b7c2; }
  html[data-theme="dark"] .td-od-tip { background: #121417; }
  html[data-theme="dark"] .td-od-tip-label { color: #b0b7c2; }
  html[data-theme="dark"] .td-od-tip-text { color: #e7e9ed; }
  html[data-theme="dark"] .td-od-tip-hint { color: #b0b7c2; }
  html[data-theme="dark"] .td-od-steps-head h3 { color: #e7e9ed; }
  html[data-theme="dark"] .td-od-steps-head span { color: #b0b7c2; }
  html[data-theme="dark"] .td-od-progress { background: #1d2c44; }
  html[data-theme="dark"] .td-od-steps-empty { color: #b0b7c2; }
  html[data-theme="dark"] .td-od-step { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-od-step.is-done { background: #1b2946; border-color: #2d3443; }
  html[data-theme="dark"] .td-od-step.is-next { border-color: #2d3443; }
  html[data-theme="dark"] .td-od-step-box { border: 1.5px solid #2d3543; background: #1d1d1d; }
  html[data-theme="dark"] .td-od-step-t { color: #e7e9ed; }
  html[data-theme="dark"] .td-od-step.is-done .td-od-step-t { color: #b0b7c2; }
  html[data-theme="dark"] .td-od-step-st { color: #b0b7c2; }
  html[data-theme="dark"] .td-od-step.is-done .td-od-step-st { color: #0fd2b7; }
  html[data-theme="dark"] .td-od-add-step input { border: 1px solid #2d3643; }
  html[data-theme="dark"] .td-od-add-btn:hover { background: #1b2946 !important; }
  html[data-theme="dark"] .td-od-params-head { color: #e7e9ed; }
  html[data-theme="dark"] button.td-od-param, html[data-theme="dark"] .td-od-param { background: #121417; }
  html[data-theme="dark"] .td-od-param span { color: #b0b7c2; }
  html[data-theme="dark"] .td-od-param strong { color: #e7e9ed; }
  html[data-theme="dark"] .td-od-param:not(.is-static):hover { background: #222d3f !important; }
  html[data-theme="dark"] .td-od-sec-btn { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] .td-od-sec-btn:hover { background: #121417 !important; color: #e7e9ed !important; }
  html[data-theme="dark"] .td-od-foot { color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-head h1 { color: #e3e6eb; }
  html[data-theme="dark"] .td-nt-sub { color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-daily-badge { background: #1b2846; }
  html[data-theme="dark"] .td-nt-daily-badge:hover { background: #1b2946 !important; }
  html[data-theme="dark"] .td-nt-steps-label { color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-progress { background: #222d3f; }
  html[data-theme="dark"] .td-nt-label { color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-h2 { color: #e3e6eb; }
  html[data-theme="dark"] .td-nt-h3 { color: #e3e6eb; }
  html[data-theme="dark"] .td-nt-hint { color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-mode { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-nt-mode-btn { color: #e3e6eb; }
  html[data-theme="dark"] .td-nt-mode-btn span { color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-mode-btn.is-on { background: #1b2846; }
  html[data-theme="dark"] .td-new-task-page input.td-nt-input, html[data-theme="dark"] .td-new-task-page input[type="text"].td-nt-input, html[data-theme="dark"] .td-new-task-page textarea.td-nt-textarea, html[data-theme="dark"] .td-new-task-page button.td-nt-deadline, html[data-theme="dark"] .td-new-task-page .td-nt-input, html[data-theme="dark"] .td-new-task-page .td-nt-textarea, html[data-theme="dark"] .td-new-task-page .td-nt-deadline { border: 1px solid #2d3643; background: #1d1d1d; color: #e3e6eb; }
  html[data-theme="dark"] .td-new-task-page input.td-nt-input:focus, html[data-theme="dark"] .td-new-task-page input[type="text"].td-nt-input:focus, html[data-theme="dark"] .td-new-task-page textarea.td-nt-textarea:focus, html[data-theme="dark"] .td-new-task-page button.td-nt-deadline:focus, html[data-theme="dark"] .td-new-task-page button.td-nt-deadline:hover { background: #1d1d1d; color: #e3e6eb; }
  html[data-theme="dark"] .td-new-task-page button.td-nt-deadline { color: #b0b7c2; }
  html[data-theme="dark"] .td-new-task-page button.td-nt-deadline.is-soon { border-color: #2d3543; background: #1b2846; }
  html[data-theme="dark"] .td-new-task-page button.td-nt-deadline.is-overdue { color: #e33d30; border-color: #432f2d; background: #461b1b; }
  html[data-theme="dark"] .tc-m-deadline.is-overdue { color: #e33d30; }
  html[data-theme="dark"] .td-new-task-page input.td-nt-input:-webkit-autofill, html[data-theme="dark"] .td-new-task-page input.td-nt-input:-webkit-autofill:hover, html[data-theme="dark"] .td-new-task-page input.td-nt-input:-webkit-autofill:focus { -webkit-text-fill-color: #e3e6eb; }
  html[data-theme="dark"] .td-nt-cal { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-nt-cal-nav-mid strong { color: #e3e6eb; }
  html[data-theme="dark"] .td-nt-cal-nav-mid span { color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-cal-nav-btn { border: 1px solid #2d3643 !important; background: #1d1d1d !important; color: #e3e6eb !important; }
  html[data-theme="dark"] .td-nt-cal-nav-btn:hover { background: #1b2846 !important; border-color: #2d3543 !important; }
  html[data-theme="dark"] .td-nt-day { border: 1px solid #2d3643; background: #1d1d1d; color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-day.is-on { background: #1b2846; }
  html[data-theme="dark"] .td-nt-day.is-past, html[data-theme="dark"] .td-nt-slot.is-past { background: #0f1013; border-color: #2d3643; }
  html[data-theme="dark"] .td-nt-cal-time { color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-slot { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-nt-slot.is-busy { background: #0b0c0e; border-color: #2d3543; color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-slot.is-on { background: #1b2846; }
  html[data-theme="dark"] .td-nt-cal-custom { border-top: 1px solid #2d3543; }
  html[data-theme="dark"] .td-nt-cal-custom-btn { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-nt-cal-custom-btn:hover { background: #1b2846; border-color: #2d3543; }
  html[data-theme="dark"] .td-nt-cal-reset { border: 1px solid #2d3643; background: #1d1d1d; color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-cal-reset:hover { background: #461b1b; border-color: #432f2d; color: #e33d30; }
  html[data-theme="dark"] .td-nt-recur-btn { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-nt-recur-btn strong { color: #e3e6eb; }
  html[data-theme="dark"] .td-nt-recur-btn span { color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-recur-btn.is-on { background: #1b2846; }
  html[data-theme="dark"] .td-nt-recur-card { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-nt-recur-card.is-on { background: #1b2846; }
  html[data-theme="dark"] .td-nt-recur-nudge { border: 1px solid #2d3543; background: #1d1d1d; }
  html[data-theme="dark"] .td-nt-recur-card.is-on .td-nt-recur-nudge:hover { background: #1b2846; }
  html[data-theme="dark"] .td-new-task-page input.td-nt-recur-n, html[data-theme="dark"] .td-nt-recur-n { border: 1px solid #2d3543 !important; background: #1d1d1d !important; }
  html[data-theme="dark"] .td-nt-save-opt { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-nt-save-opt strong { color: #e3e6eb; }
  html[data-theme="dark"] .td-nt-save-opt span { color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-save-opt.is-on { background: #1b4637; border-color: #2d433c; }
  html[data-theme="dark"] .td-nt-save-opt.is-on strong, html[data-theme="dark"] .td-nt-save-opt.is-on span { color: #0fd2b7; }
  html[data-theme="dark"] .td-nt-prio-btn { border: 1px solid #2d3643; background: #1d1d1d; color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-prio-btn.is-on { background: #1b2846; }
  html[data-theme="dark"] .td-nt-step-row { border: 1px solid #2d3643; color: #e3e6eb; }
  html[data-theme="dark"] .td-nt-step-del { color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-add-step { background: #1b2846; }
  html[data-theme="dark"] .td-nt-tip { border: 1px solid #2d3643; }
  html[data-theme="dark"] .td-nt-tip p { color: #b0b7c2; }
  html[data-theme="dark"] .td-nt-side-foot { border-top: 1px solid #2d3643; }
  html[data-theme="dark"] .td-nt-cancel { border: 1px solid #2d3643; background: #1d1d1d; color: #e3e6eb; }
  html[data-theme="dark"] .td-nt-voice { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-nt-mic-halo { background: #1b2746; }
  html[data-theme="dark"] .td-nt-mic.is-live .td-nt-mic-halo { background: #461b1b; }
  html[data-theme="dark"] .td-nt-mic.is-live { color: #e13b3b; }
  html[data-theme="dark"] .td-nt-voice-status { color: #e3e6eb; }
  html[data-theme="dark"] .td-nt-voice-spinner { border: 3px solid #2d3443; }
  html[data-theme="dark"] .td-nt-voice-parse-quote { background: #1e2d43; color: #b0b7c2; }
}
@media (min-width: 1025px) {
  html[data-theme="dark"] .focus-overlay.active { background: rgba(30, 45, 67, 0.92); }
  html[data-theme="dark"] .focus-overlay.active .focus-modal { background: #1d1d1d; }
}
@media (max-width: 1024px) {
  html[data-theme="dark"] #colToday .td-today-empty-card { background: #1d1d1d; }
  html[data-theme="dark"] .mobile-board-tabs { background: #1d1d1d; }
  html[data-theme="dark"] #colToday .task-card, html[data-theme="dark"] #colToday .tc-card, html[data-theme="dark"] #colOther .task-card, html[data-theme="dark"] #colOther .tc-card { background: #1d1d1d; }
}
html[data-theme="dark"] .td-fp-crumb { color: #b6bec9; }
html[data-theme="dark"] .td-fp-head h1 { color: #e7e9ed; }
html[data-theme="dark"] .td-fp-sub { color: #b6bec9; }
html[data-theme="dark"] .td-fp-badge { background: #1b4630; color: #27d894; }
html[data-theme="dark"] .td-fp-card { background: #1d1d1d; border: 1px solid #2d3643; }
html[data-theme="dark"] .td-fp-hero h2 { color: #e7e9ed; }
html[data-theme="dark"] .td-fp-hero-sub { color: #b6bec9; }
html[data-theme="dark"] .td-fp-divider { background: #222e3f; }
html[data-theme="dark"] .td-fp-task { border: 1px solid #2d3643; background: #1d1d1d; }
html[data-theme="dark"] .td-fp-task:hover { border-color: #2d3643; background: #1c2a45; }
html[data-theme="dark"] .td-fp-task-ico { background: #1b2746; }
html[data-theme="dark"] .td-fp-task-copy strong { color: #e7e9ed; }
html[data-theme="dark"] .td-fp-task-copy span { color: #b6bec9; }
html[data-theme="dark"] .td-fp-dur { border: 1px solid #2d3643; background: #202b41; color: #e7e9ed; }
html[data-theme="dark"] .td-fp-dur span { color: #b6bec9; }
html[data-theme="dark"] .td-fp-dur.is-on { background: #1b2746; }
html[data-theme="dark"] .td-fp-hint { color: #b6bec9; }
html[data-theme="dark"] .td-fp-foot { color: #b6bec9; }
html[data-theme="dark"] .td-fp-ring-track { stroke: #1b2a46; }
html[data-theme="dark"] .td-fp-ring-readout span { color: #b6bdc7; }
html[data-theme="dark"] .td-fp-steps-head h3 { color: #e7e9ed; }
html[data-theme="dark"] .td-fp-steps-head span { color: #b6bec9; }
html[data-theme="dark"] .td-fp-step-n { background: #202b41; color: #b6bec9; }
html[data-theme="dark"] .td-fp-step-t { color: #e7e9ed; }
html[data-theme="dark"] .td-fp-step-m { color: #b6bec9; }
html[data-theme="dark"] .td-fp-settings h3, html[data-theme="dark"] .td-fp-prep h3 { color: #e7e9ed; }
html[data-theme="dark"] .td-fp-side-sub { color: #b6bec9; }
html[data-theme="dark"] .td-fp-setting-row { color: #b6bec9; }
html[data-theme="dark"] .td-fp-setting-row strong { color: #e7e9ed; }
html[data-theme="dark"] .td-fp-set-chip { border: 1px solid #2d3643; background: #202b41; color: #e7e9ed; }
html[data-theme="dark"] .td-fp-set-chip:hover { border-color: #2d3643; }
html[data-theme="dark"] .td-fp-set-chip.is-on { background: #1b2746; }
html[data-theme="dark"] .td-fp-set-chip.is-break.is-on { background: #1b4630; color: #27d894; }
html[data-theme="dark"] .td-fp-set-cycle-btn { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
html[data-theme="dark"] .td-fp-set-cycle span { color: #e7e9ed; }
html[data-theme="dark"] .td-fp-sound.is-off .td-fp-sound-ico { background: #202b41; }
html[data-theme="dark"] .td-fp-sound-ico { background: #1b4630; color: #27d894; }
html[data-theme="dark"] .td-fp-sound strong { color: #e7e9ed; }
html[data-theme="dark"] .td-fp-sound span { color: #b6bec9; }
html[data-theme="dark"] .td-fp-checklist li { color: #e7e9ed; }
html[data-theme="dark"] .td-fp-checklist i { background: #1b4630; color: #27d894; }
html[data-theme="dark"] .td-fp-quote { color: #b6bec9; }
html[data-theme="dark"] .td-fp-picker-modal { background: #1d1d1d; border: 1px solid #2d3643; }
html[data-theme="dark"] .td-fp-picker-close { color: #b6bdc7; }
html[data-theme="dark"] .td-fp-picker-modal h2 { color: #e7e9ed; }
html[data-theme="dark"] .td-fp-picker-sub { color: #b6bdc7; }
html[data-theme="dark"] .td-fp-picker-search { border: 1px solid #2d3643; background: #1b2646; }
html[data-theme="dark"] .td-fp-picker-search span { color: #b6bdc7; }
html[data-theme="dark"] .td-fp-picker-search input { color: #e7e9ed; }
html[data-theme="dark"] .td-fp-picker-section { color: #b6bdc7; }
html[data-theme="dark"] .td-fp-pick-item { border: 1px solid #2d3643; background: #1d1d1d; }
html[data-theme="dark"] .td-fp-pick-item strong { color: #e7e9ed; }
html[data-theme="dark"] .td-fp-pick-item em { color: #b6bdc7; }
html[data-theme="dark"] .td-fp-pick-item span { color: #b6bdc7; }
html[data-theme="dark"] .td-fp-pick-item.is-on { background: #1b2a46; }
html[data-theme="dark"] .td-fp-picker-note { color: #b6bdc7; }
html[data-theme="dark"] .td-fp-cal-nav strong { color: #e7e9ed; }
html[data-theme="dark"] .td-fp-cal-nav button { border: 1px solid #2d3643; background: #1d1d1d; color: #b6bec9; }
html[data-theme="dark"] .td-fp-cal-day { color: #e7e9ed; }
html[data-theme="dark"] .td-fp-cal-day.is-on { background: #1b2746; }
html[data-theme="dark"] .td-dp-head h1 { color: #e7e9ed; }
html[data-theme="dark"] .td-dp-sub { color: #e7e9ed; }
html[data-theme="dark"] .td-dp-badge { background: #1b2846; color: #e7e9ed; }
html[data-theme="dark"] .td-dp-card { background: #1d1d1d; border: 1px solid #2d3643; }
html[data-theme="dark"] .td-dp-chat-head h2 { color: #e7e9ed; }
html[data-theme="dark"] .td-dp-meta { color: #b8bfc9; }
html[data-theme="dark"] .td-dp-greet strong { color: #e7e9ed; }
html[data-theme="dark"] .td-dp-greet p { color: #b8bfc9; }
html[data-theme="dark"] .td-dp-bubble { color: #e7e9ed; }
html[data-theme="dark"] .td-dp-bubble.user { background: #1b2a46; border: 1px solid #2d3543; }
html[data-theme="dark"] .td-dp-bubble.bot { background: #1d1d1d; border: 1px solid #2d3643; }
html[data-theme="dark"] .td-dp-bubble.is-rich, html[data-theme="dark"] .td-dp-bubble.is-fn { background: #1d1d1d; border: 1px solid #2d3643; }
html[data-theme="dark"] .td-dp-bubble.is-rich .ai-bot-md-p { color: #e7e9ed; }
html[data-theme="dark"] .td-dp-bubble.is-rich .ai-bot-md-h { color: #e7e9ed; }
html[data-theme="dark"] .td-dp-bubble.is-rich .ai-bot-md-li { color: #e7e9ed; border: 1px solid #2d3643; background: #1d1d1d; }
html[data-theme="dark"] .td-dp-bubble.is-fn .aifn-sum { color: #e7e9ed; }
html[data-theme="dark"] .td-dp-bubble.is-fn .aifn-card:not(.aifn-card-v2) { border-color: #2d3643; background: #1d1d1d; }
html[data-theme="dark"] .td-dp-bubble.is-fn .aifn-card-v2 .aifn-row { border: 1px solid #2d3643; background: #1d1d1d; }
html[data-theme="dark"] .td-dp-bubble.td-dp-plan-msg { background: #1d1d1d; border: 1px solid #2d3643; }
html[data-theme="dark"] .td-dp-plan { border: 1px solid #2d3643; background: #1d1d1d; }
html[data-theme="dark"] .td-dp-plan-intro strong { color: #e7e9ed; }
html[data-theme="dark"] .td-dp-plan-intro p { color: #b8bfc9; }
html[data-theme="dark"] .td-dp-plan-empty { color: #b8bfc9; }
html[data-theme="dark"] .td-dp-row { border: 1px solid #2d3643; background: #1d1d1d; }
html[data-theme="dark"] .td-dp-row.is-alt { background: #1b2b46; }
html[data-theme="dark"] .td-dp-row-title { color: #e7e9ed; }
html[data-theme="dark"] .td-dp-row-meta { color: #b8bfc9; }
html[data-theme="dark"] .td-dp-row.is-edit { background: #1d1d1d; }
html[data-theme="dark"] .td-dp-row-time input, html[data-theme="dark"] .td-dp-row-dur input { border: 1px solid #2d3643; color: #e7e9ed; background: #1d1d1d; }
html[data-theme="dark"] .td-dp-row-dur { color: #b8bfc9; }
html[data-theme="dark"] .td-dp-row-tag { color: #b8bfc9; }
html[data-theme="dark"] .td-dp-btn-ghost { border: 1px solid #2d3643 !important; background: #1d1d1d !important; color: #e7e9ed !important; }
html[data-theme="dark"] .td-dp-btn-ghost:hover, html[data-theme="dark"] .td-dp-btn-ghost:focus-visible, html[data-theme="dark"] .td-dp-btn-ghost:active { background: #1b2b46 !important; border-color: #2d3543 !important; color: #e7e9ed !important; }
html[data-theme="dark"] .td-dp-quick-label { color: #b8bfc9; }
html[data-theme="dark"] .td-dp-chip { border: 1px solid #2d3643 !important; background: #1d1d1d !important; color: #e7e9ed !important; }
html[data-theme="dark"] .td-dp-chip:hover, html[data-theme="dark"] .td-dp-chip:focus-visible, html[data-theme="dark"] .td-dp-chip:active { background: #1b2b46 !important; border-color: #2d3543 !important; color: #e7e9ed !important; }
html[data-theme="dark"] .td-dp-composer { border: 1px solid #2d3643; background: #1d1d1d; }
html[data-theme="dark"] .td-dp-composer textarea { color: #e7e9ed; }
html[data-theme="dark"] .td-dp-composer textarea::placeholder { color: #b8bfc9; }
html[data-theme="dark"] .td-dp-composer-foot span { color: #b8bfc9; }
html[data-theme="dark"] .td-dp-foot { color: #b8bfc9; }
html[data-theme="dark"] .td-dp-day h3 { color: #e7e9ed; }
html[data-theme="dark"] .td-dp-day-date { color: #b8bfc9; }
html[data-theme="dark"] .td-dp-day-box { border: 1px solid #2d3643; background: #1b3546; }
html[data-theme="dark"] .td-dp-day-box strong { color: #e7e9ed; }
html[data-theme="dark"] .td-dp-day-box p { color: #b8bfc9; }
html[data-theme="dark"] .td-dp-bar { background: #202f41; }
html[data-theme="dark"] .td-dp-help-title { color: #e7e9ed; }
html[data-theme="dark"] .td-dp-tool { border: 1px solid #2d3643 !important; background: #1d1d1d !important; color: #e7e9ed !important; }
html[data-theme="dark"] .td-dp-tool:hover, html[data-theme="dark"] .td-dp-tool:focus-visible, html[data-theme="dark"] .td-dp-tool:active { background: #1b2b46 !important; border-color: #2d3543 !important; color: #e7e9ed !important; }
html[data-theme="dark"] .td-dp-tool-ico { background: #1b2a46 !important; }
html[data-theme="dark"] .td-dp-tool:hover .td-dp-tool-ico, html[data-theme="dark"] .td-dp-tool:focus-visible .td-dp-tool-ico { background: #1b2a46 !important; }
html[data-theme="dark"] .td-dp-tool strong { color: #e7e9ed !important; }
html[data-theme="dark"] .td-dp-tool small { color: #b8bfc9 !important; }
html[data-theme="dark"] .td-dp-tool:hover strong { color: #e7e9ed !important; }
html[data-theme="dark"] .td-dp-tool:hover small { color: #b8bfc9 !important; }
html[data-theme="dark"] .td-dp-tip { background: #1b2a46; }
html[data-theme="dark"] .td-dp-tip p { color: #e7e9ed; }
html[data-theme="dark"] .td-sp-head h1 { color: #e7e9ed; }
html[data-theme="dark"] .td-sp-sub { color: #e7e9ed; }
html[data-theme="dark"] .td-sp-badge { background: #1b2846; color: #e7e9ed; }
html[data-theme="dark"] .td-sp-badge.is-life { background: #1b4637; }
html[data-theme="dark"] .td-sp-tabs { background: #1f2f42; }
html[data-theme="dark"] .td-sp-tab { color: #b5bcc7; }
html[data-theme="dark"] .td-sp-tab.is-on { background: #1d1d1d; }
html[data-theme="dark"] .td-sp-card { border: 1px solid #2d3643; background: #1d1d1d; }
html[data-theme="dark"] .td-sp-card h2 { color: #e7e9ed; }
html[data-theme="dark"] .td-sp-hint { color: #b5bcc7; }
html[data-theme="dark"] .td-sp-field > span, html[data-theme="dark"] .td-sp-field .settings-field-label { color: #b5bcc7; }
html[data-theme="dark"] .td-sp-field input, html[data-theme="dark"] .td-sp-field select, html[data-theme="dark"] .td-sp-card .tz-select { border: 1px solid #2d3643; color: #e7e9ed; background: #1d1d1d; }
html[data-theme="dark"] .td-sp-field select:hover, html[data-theme="dark"] .td-sp-card .tz-select:hover { border-color: #2d3343; }
html[data-theme="dark"] .td-sp-timezone-toggle { color: #b5bcc7; }
html[data-theme="dark"] .td-sp-timezone-toggle:hover { background: #1c2e44; }
html[data-theme="dark"] .td-sp-timezone-options { border: 1px solid #2d3643; background: var(--bg-panel, #1d1d1d); color: var(--text-primary, #e7e9ed); }
html[data-theme="dark"] .td-sp-timezone-option:hover, html[data-theme="dark"] .td-sp-timezone-option[aria-selected="true"] { background: #1b2846; }
html[data-theme="dark"] .td-sp-timezone-error { color: #e13b3b !important; }
html[data-theme="dark"] .td-sp-field input[readonly] { background: #1e2d43; color: #b5bcc7; }
html[data-theme="dark"] .td-sp-secondary { background: #1d1d1d; border-color: #2d3643; color: #e7e9ed; }
html[data-theme="dark"] .td-sp-danger { background: #1d1d1d; border-color: #432d2d; color: #e13b3b; }
html[data-theme="dark"] .td-sp-link-danger { color: #e13b3b; }
html[data-theme="dark"] .td-sp-hr { border-top: 1px solid #2d3743; }
html[data-theme="dark"] .td-sp-list { color: #e7e9ed; }
html[data-theme="dark"] .td-sp-space { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
html[data-theme="dark"] .td-sp-space small { color: #b5bcc7; }
html[data-theme="dark"] .td-sp-space.is-work.is-on, html[data-theme="dark"] .td-sp-space.is-work:hover { background: #1b2846; border-color: #2d3343; }
html[data-theme="dark"] .td-sp-space.is-life.is-on, html[data-theme="dark"] .td-sp-space.is-life:hover { background: #1b4637; border-color: #2d433c; }
html[data-theme="dark"] .td-sp-side-card { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
html[data-theme="dark"] .td-sp-side-card p { color: #b5bcc7; }
html[data-theme="dark"] .td-sp-side-pill.is-work { background: #1b2846; color: #e7e9ed; }
html[data-theme="dark"] .td-sp-side-pill.is-life { background: #1b4637; color: #e7e9ed; }
html[data-theme="dark"] .td-sp-choice-field legend { color: #b5bcc7; }
html[data-theme="dark"] .td-sp-segmented { border: 1px solid #2d3643; background: #1d1d1d; }
html[data-theme="dark"] .td-sp-segmented button { color: #d4d8df; }
html[data-theme="dark"] .td-sp-segmented button[aria-pressed="true"] { background: #1b2846; }
html[data-theme="dark"] .td-sp-preview, html[data-theme="dark"] .td-sp-capture-preview { border-top: 1px solid #2d3743; }
html[data-theme="dark"] .td-sp-preview strong { color: #d4d8df; }
html[data-theme="dark"] .td-sp-backup-actions { border-top: 1px solid #2d3743; }
html[data-theme="dark"] .td-sp-backup-actions h3 { color: #e7e9ed; }
html[data-theme="dark"] .td-sp-space.is-work { background: #1b2746; border-color: #2d3343; }
html[data-theme="dark"] .td-sp-space.is-life { background: #1b4637; border-color: #2d433c; }
html[data-theme="dark"] .td-sp-space.is-selected.is-work { border-color: #2d3343; }
html[data-theme="dark"] .td-sp-space.is-life span b { color: #0ad0b4; }
html[data-theme="dark"] .td-sp-capture-preview span { color: #e7e9ed; }
html[data-theme="dark"] .td-sp-capture-preview b { background: #1b4637; color: #0ad0b4; }
html[data-theme="dark"] .td-sp-capture-preview b.is-work { background: #1b2746; }
html[data-theme="dark"] .td-sp-switch-row { border-bottom: 1px solid #2d3743; }
html[data-theme="dark"] .td-sp-switch-row strong { color: #e7e9ed; }
html[data-theme="dark"] .td-sp-switch-row input[type="checkbox"] { background: #232e3d; }
html[data-theme="dark"] .td-sp-switch-row input[type="checkbox"]::after { background: #1d1d1d; }
html[data-theme="dark"] .td-sp-danger-card { border-color: #432d2d; }
html[data-theme="dark"] .td-sp-danger-card h2 { color: #e7e9ed; }
html[data-theme="dark"] .td-sp-side-card.is-accent { border-color: #2d433c; background: #1b4637; }
html[data-theme="dark"] .td-sp-side-card.is-accent h3 { color: #0ad0b4; }
html[data-theme="dark"] .td-sp-side-card.is-accent-blue { border-color: #2d3343; background: #1b2746; }
html[data-theme="dark"] .td-sp-choice-group legend, html[data-theme="dark"] .td-sp-day-group legend { color: #e7e9ed; }
html[data-theme="dark"] .td-sp-choice { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
html[data-theme="dark"] .td-sp-choice:hover { border-color: #2d3343; }
html[data-theme="dark"] .td-sp-choice.is-on { background: #1b2846; }
html[data-theme="dark"] .td-sp-choice.is-break.is-on { background: #1b4637; color: #0cbca2; }
html[data-theme="dark"] .td-sp-rhythm-note { color: #b0b7c2; }
html[data-theme="dark"] .td-sp-day { background: #1c2e44; color: #b5bcc7; }
html[data-theme="dark"] .td-sp-day.is-on { background: #1b2846; }
html[data-theme="dark"] .td-sp-available span { color: #b5bcc7; }
html[data-theme="dark"] .td-sp-available strong { color: #e7e9ed; }
html[data-theme="dark"] .td-sp-timezone { color: #b0b7c2; }
html[data-theme="dark"] .td-sp-rhythm-callout, html[data-theme="dark"] .td-sp-rhythm-cycle { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
html[data-theme="dark"] .td-sp-rhythm-callout { background: #1b2846; }
html[data-theme="dark"] .td-sp-rhythm-callout.is-life { background: #1b4637; color: #0cbca2; }
html[data-theme="dark"] .td-sp-rhythm-cycle dt { color: #b5bcc7; }
html[data-theme="dark"] .td-sp-rhythm-cycle dd { color: #e7e9ed; }
html[data-theme="dark"] .td-sp-rhythm-actions { color: #b0b7c2; }
@media (max-width: 1024px) {
  html[data-theme="dark"] .mobile-app-nav { border-top: 1px solid #2d3643; background: rgba(29, 29, 29, 0.97); }
  html[data-theme="dark"] .td-nt-main, html[data-theme="dark"] .td-nt-side { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-nt-voice { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] body.td-daily-page-open .td-dp-day-box, html[data-theme="dark"] body.td-daily-page-open .td-dp-tip, html[data-theme="dark"] body.td-daily-page-open .td-dp-chat { background: #1d1d1d; border: 1px solid #2d3643; }
  html[data-theme="dark"] .td-others-detail-overlay:not([hidden]) { background: #1e2d43; }
}
@media (max-width: 1024px) {
  html[data-theme="dark"] .brand-logo .brand-lockup { color: #2c436b; }
  html[data-theme="dark"] .realm-switch, html[data-theme="dark"] .topbar .realm-pill-toggle { border: 1px solid #2d3643; background: #222d3f; }
  html[data-theme="dark"] .realm-switch .realm-opt.active { background: #1d1d1d; }
  html[data-theme="dark"] .mobile-topbar-action { background: #1b2646; }
  html[data-theme="dark"] .mobile-topbar-action.mobile-settings-action { color: #b0b8c4; }
  html[data-theme="dark"] body[data-desktop-nav="today"] .td-today-hero h1 { color: #e5e7ec; }
  html[data-theme="dark"] body[data-desktop-nav="today"] .td-main-focus { border: 1px solid #2d3443; background: #1b2846; }
  html[data-theme="dark"] body[data-desktop-nav="today"] .td-main-focus-label { color: #314a74; }
  html[data-theme="dark"] body[data-desktop-nav="today"] #tdProgressCard { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] body[data-desktop-nav="today"] #tdProgressCard .td-progress-track { background: #1b2b46; }
  html[data-theme="dark"] body[data-desktop-nav="today"] .td-plan-show-all:not([hidden]) { border: 1px solid #2d3643; background: #1d1d1d; color: #e5e7ec; }
  html[data-theme="dark"] body[data-desktop-nav="today"] .td-plan-show-all:not([hidden]):hover { border-color: #2d3643; background: #1b2746; }
  html[data-theme="dark"] body[data-desktop-nav="today"] #tdCaptureCard .td-capture-label { color: #e5e7ec; }
  html[data-theme="dark"] body[data-desktop-nav="today"] #tdCaptureCard .td-capture-input { border: 1px solid #2d3643; background: #1d1d1d; color: #e5e7ec; }
  html[data-theme="dark"] body[data-desktop-nav="today"] #mainSlotsList .task-card.tcard, html[data-theme="dark"] body[data-desktop-nav="today"] #quickSlotsList .task-card.tcard, html[data-theme="dark"] body[data-desktop-nav="today"] #lifeTodayList .task-card.tcard { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] body[data-desktop-nav="today"] #tdCaptureCard { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-search-label { color: #e5e7ec; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-filter-sheet { background: #1d1d1d; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-filter-sheet-head h2 { color: #e5e7ec; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-filter-item { border: 1px solid #2d3643; background: #1d1d1d; color: #e5e7ec; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-filter-item.is-on { background: #1b2746; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #colOther .tcard.is-figma-others { border: 1px solid #2d3643 !important; background: #1d1d1d !important; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .tcard.is-figma-others .tc-check { border: 1px solid #2d3643 !important; background: #1d1d1d !important; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .td-others-show-all { border: 1px solid #2d3643; background: #1d1d1d; color: #e5e7ec; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .td-others-show-all:hover { border-color: #2d3643; background: #1b2746; }
  html[data-theme="dark"] body.td-settings-page-open .td-sp-card { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] body.td-settings-page-open .td-sp-hint { color: #b6bec9; }
  html[data-theme="dark"] body.td-settings-page-open .td-sp-field > span, html[data-theme="dark"] body.td-settings-page-open .td-sp-field legend, html[data-theme="dark"] body.td-settings-page-open .td-sp-choice-field legend { color: #b6bec9; }
  html[data-theme="dark"] body.td-settings-page-open .td-sp-actions .btn-ghost, html[data-theme="dark"] body.td-settings-page-open .td-sp-actions button:not(.td-sp-primary) { border: 1px solid #2d3643; background: #1d1d1d; }
}
html[data-theme="dark"] .td-sp-hub-item { border: 1px solid #2d3643; background: #1d1d1d; }
html[data-theme="dark"] .td-sp-hub-item:hover { background: #1b2946; }
html[data-theme="dark"] .td-sp-hub-ico { background: #1b2746; }
html[data-theme="dark"] .td-sp-hub-title { color: #e7e9ed; }
html[data-theme="dark"] .td-sp-hub-sub { color: #b6bec9; }
html[data-theme="dark"] .td-sp-hub-chev { stroke: #0b0d0e; }
@media (max-width: 1024px) {
  html[data-theme="dark"] .realm-pill-toggle.realm-switch { background: #222d3f; }
  html[data-theme="dark"] .realm-pill-toggle.realm-switch .realm-opt { color: #b6bec9; }
  html[data-theme="dark"] .realm-pill-toggle.realm-switch .realm-opt.active { background: #1d1d1d; }
  html[data-theme="dark"] body[data-desktop-nav="today"] #tdProgressCard { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] body[data-desktop-nav="today"] #tdProgressCard h3 { color: #e7e9ed; }
  html[data-theme="dark"] body[data-desktop-nav="today"] #tdProgressStat { color: #e7e9ed; }
  html[data-theme="dark"] body[data-desktop-nav="today"] #tdProgressCard .td-progress-track { background: #1b2846; }
  html[data-theme="dark"] body[data-desktop-nav="today"] #tdProgressCard .td-card-sub { color: #b6bec9; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-hero p { color: #b6bec9; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-search-label { color: #e7e9ed; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-search { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-search input { color: #e7e9ed; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-filter-btn { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-filter-caret { color: #b6bec9; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .backlog-group-head .tc-grp-t { color: #e7e9ed; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .td-backlog-preview { color: #b6bec9; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .tcard.is-figma-others { border: 1px solid #2d3643 !important; background: #1d1d1d !important; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .tcard.is-figma-others .tc-title { color: #e7e9ed; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .tcard.is-figma-others .tc-meta { color: #b6bec9; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .td-others-show-all { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .aside-others-empty { color: #b6bec9 !important; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-filter-sheet { background: #1d1d1d; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-filter-sheet::before { background: #222d3f; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-filter-item { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-filter-item::before { border: 1.5px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-filter-item.is-on { background: #1b2646; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] .td-others-filter-item.is-on::before { background: #1d1d1d; }
  html[data-theme="dark"] .td-dialog { background: #1d1d1d; }
  html[data-theme="dark"] .td-dialog h3 { color: #e7e9ed; }
  html[data-theme="dark"] .td-dialog-sub { color: #b6bec9; }
  html[data-theme="dark"] .td-dialog-opt { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-dialog-opt::before { border: 1.5px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-dialog-opt strong { color: #e7e9ed; }
  html[data-theme="dark"] .td-dialog-opt span { color: #b6bec9; }
  html[data-theme="dark"] .td-dialog-opt.is-on { background: #1b2746; }
  html[data-theme="dark"] .td-dialog-field span { color: #b6bec9; }
  html[data-theme="dark"] .td-dialog-field input { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] .td-dialog-note { background: #1b2746; color: #bcc2cd; }
  html[data-theme="dark"] .td-dialog-cancel { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] .td-rhythm-section-label { color: #b6bec9; }
  html[data-theme="dark"] .td-rhythm-preset { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] .td-rhythm-preset.is-on { background: #1b2646; }
  html[data-theme="dark"] .td-rhythm-preset.is-break.is-on { background: #1b4630; color: #0fd2b7; }
  html[data-theme="dark"] .td-rhythm-cycles { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-rhythm-cycle-btn { background: #202b41; color: #e7e9ed; }
  html[data-theme="dark"] .td-rhythm-cycle-val { color: #e7e9ed; }
  html[data-theme="dark"] .td-rhythm-cycles-hint { color: #b6bec9; }
  html[data-theme="dark"] .td-task-menu { background: #1d1d1d; }
  html[data-theme="dark"] .td-task-menu::before { background: #222d3f; }
  html[data-theme="dark"] .td-task-menu-title { color: #e7e9ed; }
  html[data-theme="dark"] .td-task-menu-task { background: #1b2746; }
  html[data-theme="dark"] .td-task-menu-task-title { color: #e7e9ed; }
  html[data-theme="dark"] .td-task-menu-task-meta { color: #b6bec9; }
  html[data-theme="dark"] .td-task-menu-item { border-bottom: 1px solid #2d3543 !important; }
  html[data-theme="dark"] .td-task-menu-ico { color: #b6bec9; }
  html[data-theme="dark"] .td-task-menu-label { color: #e7e9ed; }
  html[data-theme="dark"] .td-task-menu-sub { color: #b6bec9; }
  html[data-theme="dark"] .td-task-menu-close { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] .td-nt-sub { color: #b6bec9; }
  html[data-theme="dark"] .td-nt-label { color: #b6bec9; }
  html[data-theme="dark"] .td-nt-mode-btn.is-on { background: #1b2646; }
  html[data-theme="dark"] .td-nt-cancel { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] body.td-today-detail-open .td-today-detail { background: #1e2d43; }
  html[data-theme="dark"] .td-detail-topbar { background: #1e2d43; }
  html[data-theme="dark"] .td-detail-topbar-title { color: #e7e9ed; }
  html[data-theme="dark"] .td-detail-title { color: #e7e9ed; }
  html[data-theme="dark"] .td-detail-sec-label { color: #b6bec9; }
  html[data-theme="dark"] .td-detail-desc { color: #e7e9ed; }
  html[data-theme="dark"] .td-detail-card { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-detail-kv { border-bottom: 1px solid #2d3543; }
  html[data-theme="dark"] .td-detail-kv > span { color: #b6bec9; }
  html[data-theme="dark"] .td-detail-focus-row { background: #1b2746; }
  html[data-theme="dark"] .td-detail-daily { background: #1b2746; }
  html[data-theme="dark"] .task-sheet { background: #1e2d43; }
  html[data-theme="dark"] .task-sheet-footer { border-top: 1px solid #2d3543; background: #1d1d1d; }
  html[data-theme="dark"] .task-sheet-title { color: #e7e9ed; }
  html[data-theme="dark"] .task-sheet-topbar { background: #1e2d43; }
  html[data-theme="dark"] .task-sheet-topbar-title { color: #e7e9ed; }
  html[data-theme="dark"] .task-sheet-card { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .task-sheet-card h3 { color: #e7e9ed; }
  html[data-theme="dark"] .task-sheet-start { color: #e7e9ed; }
  html[data-theme="dark"] .task-sheet-card-hint { color: #b6bec9; }
  html[data-theme="dark"] .task-sheet-action { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] .task-sheet-action:active { background: #1e2d43; }
  html[data-theme="dark"] .auth-back-btn { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] #authResetForm .auth-link.auth-back { color: #b6bec9; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogToolbar.is-search-open::before { color: #e7e9ed; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogToolbar .backlog-search { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogToolbar .backlog-search input { color: #e7e9ed; }
  html[data-theme="dark"] #tdTaskDailyPanel { background: #1e2d43; }
  html[data-theme="dark"] #tdTaskDailyPanel .td-task-daily-head { border-bottom: 1px solid #2d3543; background: #1e2d43; }
  html[data-theme="dark"] #tdTaskDailyPanel .td-task-daily-foot { border-top: 1px solid #2d3543; background: #1d1d1d; }
  html[data-theme="dark"] #tdTaskDailyPanel #tdTaskDailyInput { border: 1px solid #2d3643; }
  html[data-theme="dark"] #tdTaskDailyPanel .td-task-daily-ctx { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] #tdTaskDailyPanel .td-task-daily-ctx > strong, html[data-theme="dark"] #tdTaskDailyPanel .td-task-daily-ctx h3 { color: #e7e9ed; }
  html[data-theme="dark"] #tdTaskDailyPanel .td-task-daily-lead { color: #e7e9ed; }
  html[data-theme="dark"] #tdTaskDailyPanel .td-task-daily-copy { color: #b6bec9; }
  html[data-theme="dark"] #tdTaskDailyPanel .td-task-daily-next { background: #1b2746; }
  html[data-theme="dark"] #tdTaskDailyPanel .td-task-daily-next strong { color: #b6bec9; }
  html[data-theme="dark"] #tdTaskDailyPanel .td-task-daily-next span, html[data-theme="dark"] #tdTaskDailyPanel .td-task-daily-next p { color: #e7e9ed; }
  html[data-theme="dark"] #tdTaskDailyPanel .td-task-daily-hist { color: #b6bec9; }
  html[data-theme="dark"] #tdTaskDailyPanel .td-task-daily-myday { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] .td-nt-slot-chip { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] .td-nt-slot-chip.is-on { background: #1b2646; }
  html[data-theme="dark"] .td-nt-slot-chip.is-busy { border-color: #2d3543; background: #202b41; }
  html[data-theme="dark"] .td-nt-slot-chip.is-past { border-color: #2d3543; background: #24303d; }
  html[data-theme="dark"] .td-nt-cal-nav-btn { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-nt-recur-btn { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-nt-recur-btn strong { color: #e7e9ed; }
  html[data-theme="dark"] .td-nt-recur-btn span { color: #b6bec9; }
  html[data-theme="dark"] .td-nt-recur-btn.is-on { background: #1b2746; }
  html[data-theme="dark"] .td-nt-save-opt { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .td-nt-save-opt strong { color: #e7e9ed; }
  html[data-theme="dark"] .td-nt-save-opt span { color: #b6bec9; }
  html[data-theme="dark"] .td-nt-save-opt.is-on { background: #1b2746; }
  html[data-theme="dark"] .td-nt-voice-status { color: #e7e9ed; }
  html[data-theme="dark"] .td-nt-voice-cancel, html[data-theme="dark"] .td-nt-voice-manual { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] .td-nt-voice-note { background: #1b2746; color: #bcc2cd; }
  html[data-theme="dark"] .td-add-step-task { background: #1b2746; }
  html[data-theme="dark"] .td-add-step-task-title { color: #e7e9ed; }
  html[data-theme="dark"] .td-add-step-task-meta { color: #b6bec9; }
  html[data-theme="dark"] #tdAddStepOverlay .td-dialog-field textarea { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] .task-sheet-add-step { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] #tdDailyFeed .aifn-dayplan { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] #tdDailyFeed .aifn-dayplan .aifn-title { color: #e7e9ed; }
  html[data-theme="dark"] #tdDailyFeed .aifn-dayplan .aifn-dayplan-row { border: 1px solid #2d3543; background: #1d1d1d; }
  html[data-theme="dark"] #tdDailyFeed .aifn-dayplan .aifn-dayplan-title { color: #e7e9ed; }
  html[data-theme="dark"] #tdDailyFeed .aifn-dayplan .aifn-dayplan-meta { color: #b6bec9; }
  html[data-theme="dark"] #tdDailyFeed .aifn-dayplan .aifn-hint { color: #b6bec9; }
  html[data-theme="dark"] #tdFocusPage[data-phase="break"] .td-fp-card { background: #1b4630; border-color: #2d433a; }
  html[data-theme="dark"] #tdFocusPage[data-phase="break"] .td-fp-hero-sub, html[data-theme="dark"] #tdFocusPage[data-phase="break"] .td-fp-kicker { color: #0fd2b7; }
  html[data-theme="dark"] #tdFocusPage[data-phase="break"] .td-fp-live-ico, html[data-theme="dark"] #tdFocusPage[data-phase="break"] .td-fp-ring-label { color: #0fd2b7; }
  html[data-theme="dark"] .td-nt-daily-banner { background: #1b2746; color: #bcc2cd; }
  html[data-theme="dark"] body.td-new-task-open .td-nt-group { border: 1px solid #2d3643; background: #1d1d1d; }
  html[data-theme="dark"] .brand-lockup .brand-lockup-tagline { color: #b0b7c2; }
  html[data-theme="dark"] #tdGreetingTitle, html[data-theme="dark"] .td-others-hero h1, html[data-theme="dark"] #tdFocusTitle, html[data-theme="dark"] .td-sp-head h1, html[data-theme="dark"] .td-dp-head h1 { color: #e7e9ed; }
  html[data-theme="dark"] #tdGreetingSub, html[data-theme="dark"] .td-others-hero p, html[data-theme="dark"] .td-dp-sub, html[data-theme="dark"] .td-sp-head .td-sp-sub { color: #b0b7c2 !important; }
  html[data-theme="dark"] .td-date-chip { color: #b0b7c2 !important; }
  html[data-theme="dark"] .td-main-focus-label { color: #e7e9ed !important; }
  html[data-theme="dark"] .td-main-focus-hint { color: #b0b7c2 !important; }
  html[data-theme="dark"] #tdMainFocusTitle { color: #e7e9ed; }
  html[data-theme="dark"] #tdProgressCard h3 { color: #b0b7c2 !important; }
  html[data-theme="dark"] #tdProgressStat { color: #e7e9ed !important; }
  html[data-theme="dark"] #tdProgressHint { color: #b0b7c2 !important; }
  html[data-theme="dark"] .td-plan-head h2 { color: #e7e9ed !important; }
  html[data-theme="dark"] .td-plan-summary { color: #b0b7c2 !important; }
  html[data-theme="dark"] #colToday .tcard .tc-title { color: #e7e9ed !important; }
  html[data-theme="dark"] #colToday .tcard.is-done .tc-title { color: #b0b7c2 !important; }
  html[data-theme="dark"] #colToday .tcard .tc-meta { color: #b0b7c2 !important; }
  html[data-theme="dark"] #tdCaptureCard .td-card-sub { color: #b0b7c2 !important; }
  html[data-theme="dark"] body[data-desktop-nav="tasks"] #backlogList .td-backlog-preview { color: #b0b7c2 !important; }
  html[data-theme="dark"] .td-sp-hub-sub { color: #b0b7c2 !important; }
  html[data-theme="dark"] .td-dp-day-date { color: #b0b7c2 !important; }
  html[data-theme="dark"] #tdFocusHeroSub { color: #b0b7c2 !important; }
  html[data-theme="dark"] #tdFocusTaskMeta { color: #b0b7c2 !important; }
  html[data-theme="dark"] #authLead { color: #b0b7c2 !important; }
  html[data-theme="dark"] #authOverlay .auth-secondary { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
  html[data-theme="dark"] #authOverlay .auth-footnote { color: #b0b7c2; }
  html[data-theme="dark"] body[data-desktop-nav="today"] #tdCaptureCard .td-card-sub { color: #b6bec9; }
  html[data-theme="dark"] body[data-desktop-nav="today"] #tdCaptureCard .td-capture-label { color: #e7e9ed; }
  html[data-theme="dark"] body[data-desktop-nav="today"] #tdCaptureCard .td-capture-input { border: 1px solid #2d3643; background: #1d1d1d; }
}

/* --- admin.css (16) --- */
html[data-theme="dark"] .td-admin-nav-item:hover { background: #1b2b46; }
html[data-theme="dark"] .td-admin-exit:hover { border-color: #2d3543; background: #1b2746; }
html[data-theme="dark"] .td-admin-btn-secondary:hover { background: #1b2b46; }
html[data-theme="dark"] .td-admin-btn-danger { border-color: #432d2d; background: #1d1d1d; }
html[data-theme="dark"] .td-admin-btn-danger:hover { background: #461b1b; }
html[data-theme="dark"] .td-admin-kpi-note.is-good { color: #1ed49b; }
html[data-theme="dark"] .td-admin-kpi-note.is-warn { color: #eb9d34; }
html[data-theme="dark"] .td-admin-chart { background: repeating-linear-gradient(to bottom, transparent 0, transparent 40px, #202c41 41px, transparent 42px); }
html[data-theme="dark"] .td-admin-bar-track { background: #232d3e; }
html[data-theme="dark"] .td-admin-table th { background: #202b41; color: #bfc6d0; }
html[data-theme="dark"] .td-admin-table tbody tr:hover { background: #1b2746; }
html[data-theme="dark"] .td-admin-status { background: #1b4630; color: #1fc28b; }
html[data-theme="dark"] .td-admin-status.is-blocked { background: #0e0f12; color: #b3bac5; }
html[data-theme="dark"] .td-admin-status.is-admin { background: #211b46; }
html[data-theme="dark"] .td-admin-note { border: 1px solid #433d2d; background: #46381b; color: #af8438; }
html[data-theme="dark"] .td-admin-error { color: #cf6c6c; }

/* --- td-today.css (2) --- */
@media (min-width: 1025px) {
  html[data-theme="dark"] .td-daily-card__ask { background: rgba(29, 29, 29, 0.7); }
}
@media (max-width: 1024px) {
  html[data-theme="dark"] #tdProgressCard .td-progress-track { background: rgba(29, 29, 29, 0.35) !important; }
  html[data-theme="dark"] #tdProgressCard .td-progress-fill { background: #1d1d1d !important; }
}

/* --- td-dayend.css (8) --- */
html[data-theme="dark"] .tdsum { background: var(--td-color-bg-app, #121417); }
html[data-theme="dark"] .tdsum-bar { background: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .tdsum-bar i { background: #1d1d1d; }
html[data-theme="dark"] .tdsum-card { background: var(--td-color-bg-surface, #1d1d1d); }
html[data-theme="dark"] .tdsum-chk.is-empty { border: 1.5px solid var(--td-color-border-strong, #303640); }
html[data-theme="dark"] .tdsum-tag { background: var(--td-color-primary-subtle, #1b2946); }
html[data-theme="dark"] .tdsum-chip { background: var(--td-color-bg-surface, #1d1d1d); }
html[data-theme="dark"] .tdsum-state { color: var(--td-color-success, #4bc986); }

/* --- td-settings.css (2) --- */
html[data-theme="dark"] #tdSettingsPage .td-sp-switch-row input[type="checkbox"] { background: var(--td-color-border-toggle-off, #0b0c0e); }
html[data-theme="dark"] #tdSettingsPage .td-sp-switch-row input[type="checkbox"]::after { background: #1d1d1d; }

/* --- td-pick.css (1) --- */
html[data-theme="dark"] .tdf-pick-cb { border: 1.5px solid var(--td-color-check-border, #2e3442); }

/* --- td-focus.css (2) --- */
html[data-theme="dark"] .tdf-bar.is-break { background: rgba(255, 255, 255, 0.08); }
@media (max-width: 1024px) {
  html[data-theme="dark"] .tdf-steps { border-top: 8px solid var(--td-color-bg-workspace, #332d43); }
}

/* --- td-new-task.css (1) --- */
@media (min-width: 1025px) {
  html[data-theme="dark"] body #tdNewTaskPage .td-nt-mic-ico { stroke: #1d1d1d; }
}

/* --- layout.css (18) --- */
html[data-theme="dark"] .brand-ring::after { border: 3px solid #383838; }
html[data-theme="dark"] body.realm-life .realm-switch button.active, html[data-theme="dark"] .topbar .realm-opt.active[data-realm="life"] { color: var(--life, #17b5a9); }
html[data-theme="dark"] .workday-widget:hover, html[data-theme="dark"] .shift-capsule:hover { border-color: var(--border-strong, #2d3743); background: #1d3044; }
html[data-theme="dark"] .clock-box, html[data-theme="dark"] .shift-clock { border-right: 1px solid var(--border-strong, #2d3743); }
html[data-theme="dark"] .progress-bar-bg, html[data-theme="dark"] .shift-track { background: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] body.realm-life .cal-stat-pill, html[data-theme="dark"] body.realm-life .shift-count-badge { color: #17b5a9; }
html[data-theme="dark"] .capture-dialog { border: 1px solid rgba(45, 55, 67, 0.8); }
html[data-theme="dark"] .realm-opt.active[data-realm="life"] { color: #17b5a9; }
html[data-theme="dark"] .voice-live-banner { background: #461b1b; border: 1px solid #432d2d; color: #d62626; }
html[data-theme="dark"] .step-item, html[data-theme="dark"] .capture-step-row { background: #1d1d1d; }
html[data-theme="dark"] .ghost-add-chip { border: 1px dashed #2d3743; }
html[data-theme="dark"] .ghost-add-chip.active { border-color: #2d3743; }
html[data-theme="dark"] #captureModal > .capture-cal-pop { border: 1px solid rgba(45, 54, 67, 0.95); background: #1d1d1d; }
html[data-theme="dark"] #captureModal > .capture-cal-pop .cal-day { background: #1d3044; }
html[data-theme="dark"] #captureModal > .capture-cal-pop .cal-day.is-today { background: #1d1d1d; }
html[data-theme="dark"] #captureModal > .capture-cal-pop .date-picker-actions { border-top: 1px solid #2d3643; }
html[data-theme="dark"] #captureModal > .capture-cal-pop .date-picker-actions .btn-ghost:hover { background: #1d3044; }
html[data-theme="dark"] .voice-parse-sheet { background: var(--bg-card, #1d1d1d); }

/* --- views.css (35) --- */
html[data-theme="dark"] .ai-assist-modal { background: var(--bg-card, #1d1d1d); }
html[data-theme="dark"] .focus-ai-hint { background: var(--bg-subtle, #232b3e); }
html[data-theme="dark"] .focus-live-pill.is-paused { color: #f99a2d; }
html[data-theme="dark"] .focus-task-desc { background: var(--bg-subtle, #232b3e); }
html[data-theme="dark"] .focus-preset-btn { background: var(--bg-subtle, #232b3e); }
html[data-theme="dark"] .focus-preset-btn:hover { background: color-mix(in srgb, var(--bg-subtle, #232b3e) 70%, var(--accent-soft)); }
html[data-theme="dark"] .focus-duration-opt { background: var(--bg-subtle, #232b3e); }
html[data-theme="dark"] .focus-duration-opt:hover { background: color-mix(in srgb, var(--bg-subtle, #232b3e) 70%, var(--accent-soft)); }
@media (min-width: 1025px) {
  html[data-theme="dark"] .focus-task-desc { background: var(--bg-subtle, #232b3e); }
  html[data-theme="dark"] .focus-preset-btn { background: var(--bg-subtle, #232b3e); }
}
html[data-theme="dark"] .focus-subtask-add > button { background: var(--bg-subtle, #232b3e); }
html[data-theme="dark"] .ww-day { border: 1px solid #2d3143; background: #1b2546; }
html[data-theme="dark"] .ww-row.is-off .ww-day { border-color: var(--border, #2d3643); }
html[data-theme="dark"] .push-status.is-warn .push-status-line { color: #f37311; }
html[data-theme="dark"] .date-picker-pop { background: #1d1d1d; border: 1px solid rgba(45, 54, 67, 0.95); }
html[data-theme="dark"] .date-picker-actions { border-top: 1px solid #2d3643; }
html[data-theme="dark"] .task-schedule-pop { background: #1d1d1d; border: 1px solid #2d3643; }
html[data-theme="dark"] .task-schedule-pop .cal-day { background: #1d3044; }
html[data-theme="dark"] .task-schedule-pop .cal-day.is-today { background: #1d1d1d; }
html[data-theme="dark"] .time-picker-head .cal-month-title { color: #e7e9ed; }
html[data-theme="dark"] .time-picker-date-hint { color: #b0b7c2; }
html[data-theme="dark"] .time-picker-hm-col label { color: #e7e9ed; }
html[data-theme="dark"] .time-picker-step { border: 1px solid #2d3643; background: #1d1d1d; }
html[data-theme="dark"] .task-schedule-pop .time-picker-step { background: #1d1d1d; border-color: #2d3643; }
html[data-theme="dark"] .time-picker-step-btn { color: #b0b7c2; }
html[data-theme="dark"] .time-picker-step-btn:hover { background: #121417 !important; }
html[data-theme="dark"] .time-picker-step-val { color: #e7e9ed; }
html[data-theme="dark"] .time-picker-hm-sep { color: #b0b7c2; }
html[data-theme="dark"] .time-picker-quick { background: #121417; color: #e7e9ed; }
html[data-theme="dark"] .time-picker-quick:hover { border-color: #2d3643 !important; background: #1d1d1d !important; }
html[data-theme="dark"] .task-schedule-pop .date-picker-actions { border-top: 1px solid #2d3643; }
html[data-theme="dark"] .task-schedule-pop .date-picker-actions .btn-ghost { color: #e7e9ed; }
html[data-theme="dark"] .task-schedule-pop .date-picker-actions .btn-ghost:hover { background: #121417 !important; color: #e7e9ed !important; }
html[data-theme="dark"] .day-load-banner { color: #d35d14; }
html[data-theme="dark"] .backlog-day-focus-bar .mini-chip { background: #1d1d1d; }
html[data-theme="dark"] .cal-day.is-peek.has-tasks::after { background: #1d1d1d; }

/* --- mobile.css (1) --- */
@media (max-width: 1024px) {
  html[data-theme="dark"] .done-summary-bar .mini-chip { background: #1d1d1d; }
}

/* --- components.css (39) --- */
html[data-theme="dark"] .boot-mark::after { border: 4px solid #383838; }
html[data-theme="dark"] .boot-sub-brand { color: var(--text-secondary, #b3bcc7); }
html[data-theme="dark"] .auth-overlay { background: #1e2d43; }
html[data-theme="dark"] .auth-top { border-bottom: 1px solid #2d3643; }
html[data-theme="dark"] .auth-logo { color: #e7e9ed; }
html[data-theme="dark"] .auth-top-note { color: #b5bcc7; }
html[data-theme="dark"] .auth-headline { color: #e7e9ed; }
html[data-theme="dark"] .auth-lead { color: #b5bcc7; }
html[data-theme="dark"] .auth-card-head h2 { color: #e7e9ed; }
html[data-theme="dark"] .auth-card .auth-sub { color: #b5bcc7; }
html[data-theme="dark"] .auth-tabs button.active { background: #1d1d1d; }
html[data-theme="dark"] .auth-form label { color: #b5bcc7; }
html[data-theme="dark"] .auth-form input { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
html[data-theme="dark"] .auth-switch { color: #b5bcc7; }
html[data-theme="dark"] .auth-link:hover { color: color-mix(in srgb, var(--accent) 85%, #ffffff); }
html[data-theme="dark"] .ww-day:hover { background: #1b2446; border-color: #2d3143; color: #574fcb; }
html[data-theme="dark"] .ww-row.is-off .ww-day:hover { border-color: var(--border, #2d3643); }
html[data-theme="dark"] #forgotSubmit.is-loading::before { border: 2px solid rgba(56, 56, 56, 0.45); border-top-color: #383838; }
@media (min-width: 1025px) {
  html[data-theme="dark"] .split-capture-btn:hover, html[data-theme="dark"] .add-task-group:hover { border-color: var(--border-strong, #2d3743); }
}
html[data-theme="dark"] .day-load-banner .dlb-action { background: rgba(29, 29, 29, 0.7); }
html[data-theme="dark"] .day-load-banner .dlb-action:hover { background: #1d1d1d; }
html[data-theme="dark"] .slot-load-pill.is-over { color: #d35d14; }
html[data-theme="dark"] .ai-bot-chat-quick button.is-open { background: #1b2546; border-color: #2d3143; }
html[data-theme="dark"] .aitp { background: #1d1d1d; border: 1px solid rgba(45, 54, 67, 0.95); }
html[data-theme="dark"] .aitp:hover { border-color: #2d3143; }
html[data-theme="dark"] .aitp-title { color: #22345f; }
html[data-theme="dark"] .aitp-m { background: #1d3044; color: #b3bcc7; }
html[data-theme="dark"] .aitp-m.is-slot { background: #1b2546; }
html[data-theme="dark"] .aitp-m.is-work { background: #1b4632; color: #06bd89; }
html[data-theme="dark"] .aitp-clear:hover { background: #1d3044; color: #c7cdd6; }
html[data-theme="dark"] .aitp-pop { background: #1d1d1d; border: 1px solid rgba(45, 54, 67, 0.95); }
html[data-theme="dark"] .aitp-search-wrap { border: 1px solid #2d3643; background: #1d3044; }
html[data-theme="dark"] .aitp-opt { color: #d4d9df; }
html[data-theme="dark"] .aitp-opt:hover, html[data-theme="dark"] .aitp-opt.is-active, html[data-theme="dark"] .aitp-opt:focus-visible { background: #1b2746; }
html[data-theme="dark"] .aitp-opt.is-sel { background: #1b2546; color: #574fcb; }
html[data-theme="dark"] .aitp-opt .aitp-m.is-slot { background: #1b2546; }
html[data-theme="dark"] .aitp-opt .aitp-m.is-work { background: #1b4632; }
html[data-theme="dark"] .aitp-add:hover { background: rgba(27, 37, 70, 0.7); }
html[data-theme="dark"] .ai-bot-task-acts.is-shown > .ai-bot-chat-quick { border-top-color: #2d3843; }

/* --- tasks-view.css (11) --- */
html[data-theme="dark"] #boardGrid .tcard .tc-m-quick { color: var(--warning, #f99a2d); }
html[data-theme="dark"] #boardGrid .tcard .tc-m-focus.is-ended { color: var(--warning, #f99a2d); }
html[data-theme="dark"] #boardGrid .tcard .tc-btn.is-done-act { color: var(--success, #07db99); }
html[data-theme="dark"] body.realm-life #boardGrid .tcard .tc-btn.is-plan { color: var(--life, #17b5a9); }
html[data-theme="dark"] body.realm-life #boardGrid .tcard .tc-m-focus { color: var(--life, #17b5a9); }
html[data-theme="dark"] body.realm-life.view-planner #boardGrid .tcard.in-work-card .tc-gut { color: var(--life, #17b5a9); }
html[data-theme="dark"] body.realm-life #focusHero .fh-label { color: var(--life, #17b5a9); }
html[data-theme="dark"] body.realm-life #focusHero .fh-meta .work-badge-state { color: var(--life, #17b5a9); }
html[data-theme="dark"] #focusHero .fh-done { color: var(--success, #07db99); }
@media (max-width: 1024px) {
  html[data-theme="dark"] body.realm-life #boardGrid .tcard .tc-btn, html[data-theme="dark"] body.realm-life #boardGrid .tcard .tc-btn.is-primary, html[data-theme="dark"] body.realm-life #boardGrid .tcard .tc-btn.is-plan, html[data-theme="dark"] body.realm-life #boardGrid .tcard .tc-btn.is-live { color: var(--life, #17b5a9); }
  html[data-theme="dark"] body.realm-life #boardGrid .tcard .tc-btn:hover, html[data-theme="dark"] body.realm-life #boardGrid .tcard .tc-btn:active, html[data-theme="dark"] body.realm-life #boardGrid .tcard .tc-btn.is-primary:hover, html[data-theme="dark"] body.realm-life #boardGrid .tcard .tc-btn.is-primary:active { color: var(--life, #17b5a9); }
}
html[data-theme="dark"] :is(#boardGrid, html[data-theme="dark"] #taskSheetBody) .ti .ti-cb::after { border: solid #383838; }

/* --- sidebar.css (1) --- */
@media (min-width: 1025px) {
  html[data-theme="dark"] .app-sidebar-realm .realm-opt.active { background: #1d1d1d; }
  html[data-theme="dark"] .app-sidebar-profile { background: #1d1d1d; }
}

/* --- ai-chat.css (73) --- */
html[data-theme="dark"] .daily-avatar-dot { border: 2px solid #383838; }
html[data-theme="dark"] .ai-bot-tip { background: #1d1d1d; color: #22345f; border: 1px solid #2d3243; }
html[data-theme="dark"] .ai-bot-tip strong { color: #22345f; }
html[data-theme="dark"] .ai-bot-tip .ai-bot-tip-sub { color: #b3bcc7; }
html[data-theme="dark"] .ai-bot-tip-close:hover, html[data-theme="dark"] .ai-bot-tip-close:focus, html[data-theme="dark"] .ai-bot-tip-close:active { background: #1d3044; color: #c7cdd6; }
html[data-theme="dark"] .ai-bot-fab-badge { border: 2px solid #383838; }
html[data-theme="dark"] .ai-bot-chat-grab { background: #1d1d1d; }
html[data-theme="dark"] .ai-bot-chat-panel { background: #1d1d1d; color: #22345f; border: 1px solid rgba(45, 54, 67, 0.9); }
@media (max-width: 1024px) {
  html[data-theme="dark"] .ai-bot-chat-panel { border-top: 1px solid rgba(45, 54, 67, 0.95); }
}
html[data-theme="dark"] .ai-bot-chat-head { background: var(--bg-panel, #1d1d1d); color: var(--text-primary, #22345f); border-bottom: 1px solid var(--border-subtle, rgba(45, 54, 67, 0.9)); }
html[data-theme="dark"] .ai-bot-chat-head h3 { color: var(--text-primary, #22345f); }
html[data-theme="dark"] .ai-bot-chat-badge { border: 1px solid var(--border-subtle, rgba(45, 54, 67, 0.9)); color: var(--text-muted, #b3bcc7); }
html[data-theme="dark"] .ai-bot-chat-status { color: var(--text-muted, #b3bcc7); }
html[data-theme="dark"] .ai-bot-chat-status.is-offline { color: var(--warning, #f99a2d); }
html[data-theme="dark"] .ai-bot-chat-clear { color: var(--text-muted, #b3bcc7); }
html[data-theme="dark"] .ai-bot-chat-clear:hover, html[data-theme="dark"] .ai-bot-chat-clear:focus-visible { background: var(--bg-subtle, #1d3044); border-color: var(--border-subtle, rgba(45, 54, 67, 0.9)); }
html[data-theme="dark"] .ai-bot-chat-task { background: rgba(29, 48, 68, 0.95); border-bottom: 1px solid rgba(45, 54, 67, 0.85); }
html[data-theme="dark"] .ai-bot-chat-task-row label { color: #b3bcc7; }
html[data-theme="dark"] .ai-bot-task-shell { background: #1d1d1d; border: 1px solid rgba(45, 54, 67, 0.95); }
html[data-theme="dark"] .ai-bot-task-shell:hover { border-color: #2d3143; }
html[data-theme="dark"] .ai-bot-task-trigger { background: #1d1d1d; }
html[data-theme="dark"] .ai-bot-task-shell.is-open .ai-bot-task-trigger { border-bottom: 1px solid #2d3243; }
html[data-theme="dark"] .ai-bot-task-ico { background: #1b2546; border: 1px solid #2d3243; }
html[data-theme="dark"] .ai-bot-task-trigger-title { color: #22345f; }
html[data-theme="dark"] .ai-bot-task-trigger-sub { color: #b3bcc7; }
html[data-theme="dark"] .ai-bot-task-chevron { background: #1d3044; color: #c7cdd6; }
html[data-theme="dark"] .ai-bot-task-trigger.is-open .ai-bot-task-chevron { background: #1b2546; }
html[data-theme="dark"] .ai-bot-task-dropdown { background: #1b2346; }
html[data-theme="dark"] .ai-bot-task-dropdown-list::-webkit-scrollbar-thumb { background: rgba(11, 12, 14, 0.35); }
html[data-theme="dark"] .ai-bot-task-option { color: #d4d9df; }
html[data-theme="dark"] .ai-bot-task-option:hover { background: #1b2446; border-color: rgba(45, 49, 67, 0.6); }
html[data-theme="dark"] .ai-bot-task-option.is-active { background: linear-gradient(135deg, rgba(27, 37, 70, 0.95), rgba(27, 36, 70, 0.75)); color: #332e80; }
html[data-theme="dark"] .ai-bot-task-option-sub .steps-ok { color: #07db99; }
html[data-theme="dark"] .ai-bot-prio.high { color: #ea5b7b; background: #461b1e; border-color: #432d30; }
html[data-theme="dark"] .ai-bot-prio.mid { background: #1b2546; border-color: #2d3143; }
html[data-theme="dark"] .ai-bot-prio.low { color: #07db99; background: #1b4632; border-color: #2d4339; }
html[data-theme="dark"] .ai-bot-task-add { background: rgba(27, 37, 70, 0.4); }
html[data-theme="dark"] .ai-bot-task-add:hover { background: rgba(27, 37, 70, 0.85); }
html[data-theme="dark"] .ai-bot-task-add:hover { background: rgba(27, 37, 70, 0.7); }
html[data-theme="dark"] .ai-bot-task-add-form { border-top: 1px solid #2d3843; }
html[data-theme="dark"] .ai-bot-task-add-form input { border: 1px solid #2d3643; }
html[data-theme="dark"] .ai-bot-chat-msgs { background: linear-gradient(180deg, rgba(29, 48, 68, 0.4) 0%, #1d1d1d 45%, rgba(29, 48, 68, 0.6) 100%); }
html[data-theme="dark"] .ai-bot-chat-msgs::-webkit-scrollbar-thumb { background: rgba(11, 12, 14, 0.35); }
html[data-theme="dark"] .ai-bot-msg.bot { background: #1d1d1d; border: 1px solid #2d3643; color: #e7e9ed; }
html[data-theme="dark"] .ai-bot-md-h { color: #e7e9ed; }
html[data-theme="dark"] .ai-bot-md-p { color: #e7e9ed; }
html[data-theme="dark"] .ai-bot-md-p.is-foot { border-top: 1px solid #2d3743; color: #b8bfc9; }
html[data-theme="dark"] .ai-bot-md strong { color: #e7e9ed; }
html[data-theme="dark"] .ai-bot-md em { color: #b8bfc9; }
html[data-theme="dark"] .ai-bot-md-li { background: #1d1d1d; border: 1px solid #2d3643; color: #e7e9ed; }
html[data-theme="dark"] .ai-bot-md-ol > .ai-bot-md-li::before { background: #1b2446; }
html[data-theme="dark"] .ai-bot-md-li.is-nested { background: rgba(29, 48, 68, 0.9); border-color: rgba(45, 54, 67, 0.95); color: #c7cdd6; }
html[data-theme="dark"] .ai-bot-md-ul > .ai-bot-md-li.is-nested::before { background: #0b0c0e; }
html[data-theme="dark"] .ai-bot-md-time { background: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .ai-bot-task-card { border: 1px solid rgba(45, 49, 67, 0.9); background: rgba(29, 29, 29, 0.9); }
html[data-theme="dark"] .ai-bot-task-card-title { color: #22345f; }
html[data-theme="dark"] .ai-bot-task-card-meta span { background: #1b2546; }
html[data-theme="dark"] .ai-bot-task-card-start:disabled { background: #0b0c0e; }
html[data-theme="dark"] .ai-bot-day-sep span { background: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .ai-bot-step { border: 1px solid rgba(45, 50, 67, 0.9); background: #1d1d1d; }
html[data-theme="dark"] .ai-bot-step:hover { border-color: #2d3143; }
html[data-theme="dark"] .ai-bot-step.is-checked { background: rgba(27, 70, 50, 0.7); border-color: rgba(45, 67, 57, 0.85); color: #b3bcc7; }
html[data-theme="dark"] .ai-bot-step-num { background: #1b2446; }
html[data-theme="dark"] .ai-bot-msg-actions { border-top: 1px solid rgba(45, 50, 67, 0.85); }
html[data-theme="dark"] .ai-bot-thinking-bubble { background: rgba(27, 37, 70, 0.9); border: 1px solid #2d3243; color: #4541b6; }
html[data-theme="dark"] .ai-bot-chat-quick { border-top: 1px solid #2d3843; background: linear-gradient(180deg, #1d1d1d 0%, #1b2646 100%); }
html[data-theme="dark"] .ai-bot-chat-quick button { border: 1px solid rgba(45, 54, 67, 0.95); background: #1d1d1d; color: #d4d9df; }
html[data-theme="dark"] .ai-bot-chat-quick button:not([aria-disabled="true"]):hover { background: #1b2546; border-color: #2d3143; border-color: #2d3143; }
html[data-theme="dark"] .ai-bot-chat-input { background: #1d1d1d; }
html[data-theme="dark"] .ai-bot-chat-input input[type="text"], html[data-theme="dark"] .ai-bot-chat-input input, html[data-theme="dark"] .ai-bot-chat-input textarea { border: 1px solid rgba(45, 54, 67, 0.9); background: rgba(29, 48, 68, 0.95); color: #22345f; }
html[data-theme="dark"] .ai-bot-chat-input input[type="text"]:focus, html[data-theme="dark"] .ai-bot-chat-input input:focus, html[data-theme="dark"] .ai-bot-chat-input textarea:focus { background: #1d1d1d; }
html[data-theme="dark"] .ai-bot-chat-input .input-mic-btn { color: #b3bcc7; }
html[data-theme="dark"] .ai-bot-chat-input .input-mic-btn:hover { background: #1b2546; }

/* --- ai-fn.css (72) --- */
html[data-theme="dark"] .ai-bot-msg.bot.is-fn { background: #1d1d1d !important; border: 1px solid #2d3643 !important; }
html[data-theme="dark"] .aifn { color: #e7e9ed; }
html[data-theme="dark"] .aifn-kind { background: #1b2a46; }
html[data-theme="dark"] .aifn-sum { color: #e7e9ed; }
html[data-theme="dark"] .aifn-sum.is-empty { color: #b8bfc9; }
html[data-theme="dark"] .aifn-line { color: #b8bfc9; }
html[data-theme="dark"] .aifn-line b { color: #e7e9ed; }
html[data-theme="dark"] .aifn-card { border: 1px solid #2d3643; background: #1d1d1d; }
html[data-theme="dark"] .aifn-card-v2 .aifn-row { border: 1px solid #2d3643; background: #1d1d1d; }
html[data-theme="dark"] .aifn-card-v2 .aifn-row + .aifn-row { border-top: 1px solid #2d3643; }
html[data-theme="dark"] .aifn-card-v2 .aifn-line.is-in { border: 1px solid #2d3643; background: #1b2b46; }
html[data-theme="dark"] .aifn-card-v2 .aifn-picker { border: 1px solid #2d3743; background: #1b2b46; }
html[data-theme="dark"] .aifn-v2 .aifn-advice { border-top: 1px solid #2d3743; }
html[data-theme="dark"] .aifn-sec.is-done { color: #25ce91; }
html[data-theme="dark"] .aifn-drow .aifn-t { color: #b8bfc9; }
html[data-theme="dark"] .aifn-dcheck { color: #25ce91; }
html[data-theme="dark"] .aifn-day.is-buffer { color: #b8bfc9; border-color: #2d3643; }
html[data-theme="dark"] .aifn-day.is-soon { color: #f16024; background: rgba(70, 52, 27, 0.9); }
html[data-theme="dark"] .aifn-day.is-over { color: #f37311; }
html[data-theme="dark"] .aifn-picker { background: #1b2b46; border-top: 1px solid #2d3743; }
html[data-theme="dark"] .aifn-opt { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
html[data-theme="dark"] .aifn-opt.is-full:not(.is-on) { color: #f37311; }
html[data-theme="dark"] .aifn-date { border: 1px solid #2d3643; background: #1d1d1d; color: #e7e9ed; }
html[data-theme="dark"] #aifnCalPop .cal-day.is-part::after, html[data-theme="dark"] #aifnCalPop .cal-day.is-full::after { background: #0b0c0e; }
html[data-theme="dark"] #aifnCalPop .cal-day.is-full:not(.is-peek) { color: #f37311; }
html[data-theme="dark"] #aifnCalPop .cal-day.is-peek::after { background: #1d1d1d; }
html[data-theme="dark"] .aifn-cal-legend i { background: #0b0c0e; }
html[data-theme="dark"] .aifn-row { background: #1d1d1d; }
html[data-theme="dark"] .aifn-row + .aifn-row { border-top: 1px solid #2d3743; }
html[data-theme="dark"] .aifn-row:hover { background: #1b2b46; }
html[data-theme="dark"] .aifn-t { color: #e7e9ed; }
html[data-theme="dark"] .aifn-row input:not(:checked) ~ .aifn-t { color: #b8bfc9; }
html[data-theme="dark"] .aifn-why { color: #b8bfc9; }
html[data-theme="dark"] .aifn-num { background: #1b2a46; }
html[data-theme="dark"] .aifn-foot button.is-secondary { background: #1d1d1d !important; color: #e7e9ed !important; border: 1px solid #2d3643 !important; }
html[data-theme="dark"] .aifn-foot button.is-secondary:hover, html[data-theme="dark"] .aifn-foot button.is-secondary:focus-visible { background: #1b2b46 !important; border-color: #2d3543 !important; color: #e7e9ed !important; }
html[data-theme="dark"] .aifn-foot { border-top: 1px solid #2d3743; background: #1c2a45; }
html[data-theme="dark"] .aifn-hint { color: #f37311; }
html[data-theme="dark"] .aifn-state { color: #25ce91; }
html[data-theme="dark"] .aifn-state.is-off { color: #b8bfc9; }
html[data-theme="dark"] .aifn-advice { color: #b8bfc9; }
html[data-theme="dark"] .aifn-note { color: #b8bfc9; }
html[data-theme="dark"] .aifn-foot-v2 .is-secondary, html[data-theme="dark"] .aifn-v2 .aifn-foot button.is-secondary { border: 1px solid #2d3643 !important; background: #1d1d1d !important; color: #e7e9ed !important; }
html[data-theme="dark"] .aifn-foot-v2 .is-secondary:hover, html[data-theme="dark"] .aifn-v2 .aifn-foot button.is-secondary:hover { background: #1b2b46 !important; border-color: #2d3543 !important; color: #e7e9ed !important; }
html[data-theme="dark"] .aifn-dayplan .aifn-hint { color: #f37311; }
html[data-theme="dark"] .aifn-dayplan .aifn-picker { border: 1px solid #2d3743; }
html[data-theme="dark"] .aifn-dayplan-sub { color: #b8bfc9; }
html[data-theme="dark"] .aifn-dayplan-empty { color: #b8bfc9; }
html[data-theme="dark"] .aifn-dayplan-row { border: 1px solid #2d3643; background: #1d1d1d; }
html[data-theme="dark"] .aifn-dayplan-row.is-alt { background: #1b2b46; }
html[data-theme="dark"] .aifn-dayplan-title { color: #e7e9ed; }
html[data-theme="dark"] .aifn-dayplan-meta { color: #b8bfc9; }
html[data-theme="dark"] .aifn-dayplan-time input, html[data-theme="dark"] .aifn-dayplan-dur input { border: 1px solid #2d3643; color: #e7e9ed; background: #1d1d1d; }
html[data-theme="dark"] .aifn-dayplan-dur { color: #b8bfc9; }
html[data-theme="dark"] .aifn-dayplan-tag { color: #b8bfc9; }
html[data-theme="dark"] .aifn-dayplan-acts .is-secondary { border: 1px solid #2d3643 !important; background: #1d1d1d !important; color: #e7e9ed !important; }
html[data-theme="dark"] .aifn-dayplan-acts .is-secondary:hover, html[data-theme="dark"] .aifn-dayplan-acts .is-secondary:focus-visible { background: #1b2b46 !important; border-color: #2d3543 !important; color: #e7e9ed !important; }
html[data-theme="dark"] .aifn-changes .aifn-card-v2 .aifn-row + .aifn-row { border-top: 1px solid #2d3643; }
html[data-theme="dark"] .aifn-chg-undo:hover { background: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .ai-bot-msg-actions button.is-secondary:hover { background: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .ai-bot-msg-actions button.is-cancelled { background: #0b0c0e; }
html[data-theme="dark"] .ai-bot-chat-input .input-mic-btn.is-listening { background: #461b1b; }
html[data-theme="dark"] .ai-bot-chat-input button.send:disabled { background: #212e40; }
html[data-theme="dark"] .ptr-logo-track { stroke: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .ptr-logo-arc { stroke: #1d1d1d; }
html[data-theme="dark"] body.realm-life .realm-switch button.active { color: #17b5a9; }
html[data-theme="dark"] body.realm-life .capture-realm-pill { color: #17b5a9; }
html[data-theme="dark"] .task-card:hover { border-color: #2d3743; }
html[data-theme="dark"] .task-card.in-work-card.is-timer-live, html[data-theme="dark"] .task-card.is-active-work { background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, #1d1d1d 100%); }
html[data-theme="dark"] .meta-pill.live-timer .pulse-dot { background: #1d1d1d; }
html[data-theme="dark"] .row-action-btn { background: #1d1d1d; }
html[data-theme="dark"] .empty-slot-pill { border: 1px dashed #2d3743; background: rgba(29, 48, 68, 0.5); }
