/* Shared WARM theme. Colors only: retain each screen's layout and interaction. */
:root {
  --warm-bg:#f7f3ea;
  --warm-surface:#ffffff;
  --warm-soft:#f8fafc;
  --warm-ink:#172a43;
  --warm-muted:#475569;
  --warm-line:#cbd5e1;
  --warm-green:#1769e0;
  --warm-hover:#1155bc;
  --warm-sage:#ffffff;
  --warm-sage-line:#a8b8ce;
  --warm-peach:#fae9d8;
  --warm-peach-ink:#a36238;
  --ink:var(--warm-ink);
  --muted:var(--warm-muted);
  --line:var(--warm-line);
  --blue:var(--warm-green);
  --pale:var(--warm-sage);
  --bg:var(--warm-bg);
  --white:var(--warm-surface);
  --hub-ink:var(--warm-ink);
  --hub-muted:var(--warm-muted);
  --hub-green:var(--warm-green);
  --hub-line:var(--warm-line);
}
body,body[data-screen] {background:var(--warm-bg);color:var(--warm-ink)}
body .main,body[data-screen=project] .content-panel {background:var(--warm-bg)}
body .topbar {background:var(--warm-surface);border-color:var(--warm-line)}
body :is(.hub-wordmark,.hub-profile-name,.hub-crumbs,.hub-crumbs .hub-button,.hub-icon-button,.hub-chat-back,.chat-options,.chat-current-title,.chat-model-picker,.nav-action,.workspace-button,.project-button,.conversation-link) {color:var(--warm-ink)}
body :is(.hub-home-link,.primary,.send-button,.new-chat,.monogram,.login-brand .monogram,.login-card .primary,.wt-action.primary,.voice-dialog .voice-primary) {background:var(--warm-green);color:#fff;border-color:var(--warm-green)}
body :is(.primary,.send-button,.new-chat,.wt-action.primary,.voice-dialog .voice-primary):hover {background:var(--warm-hover);border-color:var(--warm-hover)}
body :is(.hub-button,.hub-outline-button,.secondary,.composer-tool,.board-toggle,.search-trigger,.tt-actions button,.tt-heading button,.wt-action,.chat-job button,.ar-launcher,.ar-secondary) {background:var(--warm-sage);color:var(--warm-green);border-color:var(--warm-sage-line)}
body :is(.hub-icon-button:hover,.chat-model-picker:hover,.chat-options:hover,.feature-nav button:hover,.workspace-button.active,.project-button.active,.conversation-link.active,.folder-link.active,.interest-chip.selected,.task-type-filters button.active) {background:var(--warm-sage);color:var(--warm-green);border-color:var(--warm-sage-line)}
body :is(.hub-avatar,.avatar,.message-avatar,.welcome-symbol,.attach-menu-icon,.attachment-file-icon,.hub-add-symbol,.wt-file-icon,.file-symbol) {background:var(--warm-sage);color:var(--warm-green)}
body :is(.sidebar,.board-panel,.lf-dialog,.assistant-dialog,.voice-dialog,.workspace-tools,.ar-dialog,.content-dialog,.model-dialog,.chat-options-dialog) {background:var(--warm-surface);color:var(--warm-ink);border-color:var(--warm-line)}
body :is(dialog,.hub-projects,.hub-project-card,.hub-destination,.content-card,.content-folder-card,.board-section,.daily-post,.news-category,.lf-card,.wt-file-card,.wt-reminder-card,.wt-service-card,.assistant-card,.assistant-form,.attachment-card,.knowledge-settings,.knowledge-choice,.tt-card,.security-card,.security-recovery,.login-card) {background:var(--warm-surface);color:var(--warm-ink);border-color:var(--warm-line)}
body :is(.hub-projects-hero,.hub-projects-body,.content-panel>.content-hero,.lf-header,.lf-tabs,.hub-inline-worship>.content-dialog-head,.content-dialog-head,.chat-modelbar,.ai-toolbar,.quick-context,.board-tabs,.daily-post-content,.assistant-table th,.ar-heading) {background:var(--warm-surface);color:var(--warm-ink);border-color:var(--warm-line)}
body :is(.hub-page-heading h1,.hub-workspace-heading h3,.hub-project-card h3,.content-hero h1,.content-card h3,.lf-header h2,.hub-inline-life .lf-header h2,.hub-inline-worship h2,.wt-heading h2,.assistant-heading h2,.knowledge-heading h3,.tt-heading h2,.news-copy strong,.news-category-head h4,.chat-header h1,.welcome h2,.model-dialog .dialog-heading h2) {color:var(--warm-ink)}
body :is(.hub-project-open,.hub-projects-footer,.hub-workspace-heading p,.hub-project-card p,.hub-destination small,.hub-date,.hub-description,.content-muted,.lf-note,.wt-note,.wt-subtitle,.wt-empty,.assistant-note,.assistant-card time,.knowledge-choice small,.knowledge-counts span,.settings-note,.tt-note,.tt-card .tt-note,.ai-model-note,.ai-select-label,.chat-default-note,.compose-note,.voice-note,.message-head small,.voice-model,.voice-timer,.voice-notice,.voice-scope,.ar-note,.ar-target,.ar-model,.ar-footer small,.news-article p,.news-copy>span,.profile-name-form small) {color:var(--warm-muted)}
body :is(.eyebrow,.wt-eyebrow,.knowledge-heading .eyebrow,.content-dialog-head .eyebrow,.ar-heading small,.assistant-heading .eyebrow,.login-intro .eyebrow,.hub-page-heading .eyebrow) {color:#99764f}
body :is(.hub-text-button,.hub-general-chat,.lf-file,.lf-external,.content-author,.message-actions button,.content-reading a,.ar-location,.worship-scripture,.voice-line strong,.news-photo-retry) {color:var(--warm-green)}
body :is(.hub-workspaces,.hub-projects-footer,.home-chat-history,.knowledge-coverage,.lf-notification,.assistant-table th,.assistant-table td,.assistant-transcript,.voice-transcript,.voice-line,.workspace-heading,.project-heading,.recent-heading,.feature-nav,.profile,.board-section,.content-folders-label,.compose-wrap,.hub-chatbar,.ar-footer) {border-color:var(--warm-line)}
body .hub-workspaces button {background:var(--warm-soft);color:var(--warm-muted);border-color:var(--warm-line)}
body :is(.hub-workspaces button.active,.hub-manage-tabs button.active,.board-tabs button.active,.project-content-tabs button.active,.lf-tabs button.active,.assistant-tabs button.active,.wt-tab[aria-selected=true]) {background:var(--warm-green);color:#fff;border-color:var(--warm-green)}
body .hub-workspaces button.active svg {color:#fff}
body :is(.hub-manage-tabs,.task-type-filters,.content-filters,.wt-tabs,.assistant-tabs,.lf-comment,.news-category-head span,.chat-job,.response-progress,.speech-player,.upload-preview,.knowledge-counts span,.tt-empty,.content-empty,.wt-generation-status,.assistant-table th) {background:var(--warm-soft);border-color:var(--warm-line)}
body :is(.content-filters button.active,.hub-manage-tools button,.content-actions button,.hub-inline-life .lf-editor,.tt-edit-photo>button,.voice-dialog .voice-close,.voice-dialog .voice-secondary) {background:var(--warm-sage);color:var(--warm-green);border-color:var(--warm-sage-line)}
body :is(.hub-project-card:hover,.hub-destination:hover,.content-card:hover,.tt-card:hover,.assistant-job:hover,.news-link:hover,.attach-menu-item:hover) {background:#fcf9f3;border-color:var(--warm-sage-line)}
body :is(.hub-create-project,.hub-inline-life .lf-editor,.content-editor-body,.content-body) {background:var(--warm-surface);border-color:var(--warm-line)}
body :is(.hub-project-icon,.hub-project-card:nth-child(3n+2) .hub-project-icon,.hub-project-card:nth-child(3n) .hub-project-icon,.hub-project-card h3) {color:var(--warm-green)}
body .hub-destination-icon {background:var(--warm-sage);color:var(--warm-green)}
body .hub-destination.family .hub-destination-icon {background:var(--warm-peach);color:var(--warm-peach-ink)}
body .hub-destination.worship .hub-destination-icon {background:var(--warm-sage);color:var(--warm-green)}
body :is(.hub-inline-life .lf-family-banner,.lf-family-banner) {background:linear-gradient(120deg,var(--warm-sage),var(--warm-peach));color:var(--warm-ink);border-color:var(--warm-line)}
body .lf-family-banner strong {color:var(--warm-green)}
body :is(.lf-family-button,.lf-family-short,.ar-mark,.ar-send) {background:var(--warm-green);color:#fff}
body .ar-send:hover {background:var(--warm-hover)}
body :is(.content-kind,.note .content-kind,.document .content-kind,.worship .content-kind,.speech-badge,.assistant-badge,.wt-status-pill,.reminder-badge,.upload-status,.content-save-status,.home-chat-status) {background:var(--warm-sage);color:var(--warm-green);border-color:var(--warm-sage-line)}
body .content-kind.document {background:var(--warm-peach);color:var(--warm-peach-ink)}
body :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),textarea,select) {background:var(--warm-surface);color:var(--warm-ink);border-color:var(--warm-line);caret-color:var(--warm-green)}
body :is(input,textarea)::placeholder {color:var(--warm-muted)}
body :is(input[type=checkbox],input[type=radio],input[type=range],progress,.knowledge-choice input[type=radio],.knowledge-choice input[type=checkbox],.upload-preview progress) {accent-color:var(--warm-green)}
body :is(.ai-select-label select,.model-dialog .ai-select-label select,.quick-context select,.worship-filters input,.worship-filters select,.lf-filter input,.lf-filter select,.lf-editor select,.content-editor input,.content-editor textarea,.content-editor select,.tt-editor input:not([type=file]),.assistant-form input:not([type=checkbox]),.assistant-form select,.assistant-form textarea,.assistant-field input:not([type=checkbox]),.wt-reminder-form input,.wt-reminder-form select,.home-chat-history select,.ar-target select,.ar-form textarea,.speech-player-head select,#item-task-type) {background:var(--warm-surface);color:var(--warm-ink);border-color:var(--warm-line)}
body .chat-panel {background:var(--warm-surface)}
body :is(.message-content,.message.user .message-content) {background:var(--warm-sage);color:var(--warm-ink)}
body .message.assistant .message-content {background:transparent;color:var(--warm-ink)}
body .compose-wrap {background:linear-gradient(to bottom,#ffffff00,var(--warm-surface) 18%)}
body #composer {background:var(--warm-surface);border-color:var(--warm-sage-line);box-shadow:0 10px 32px #6d5e3b0b}
body #message-input {background:transparent;color:var(--warm-ink)}
body #composer.dragging-files {background:var(--warm-sage);outline-color:var(--warm-green)}
body :is(.message-actions,.compose-bottom,.progress-clock,.response-progress p,.speech-status) {color:var(--warm-muted)}
body .mic-button:not(.recording):not(.active) {color:var(--warm-green)}
body .response-progress-line {color:var(--warm-ink)}
body :is(.progress-orbit,.wt-spinner) {border-color:var(--warm-sage-line);border-top-color:var(--warm-green)}
body .chat-job.active strong:before {background:var(--warm-green)}
body .ar-heading {background:linear-gradient(115deg,var(--warm-sage),var(--warm-peach))}
body .ar-close {color:var(--warm-muted)}
body .login-screen {background:radial-gradient(circle at 15% 15%,var(--warm-peach),transparent 34%),radial-gradient(circle at 90% 90%,var(--warm-sage),transparent 38%),var(--warm-bg)}
body .login-card {box-shadow:0 24px 70px #6d5e3b0f}
body .voice-orb {background:radial-gradient(circle at 30% 25%,#c5d8b9,#66947b 58%,var(--warm-green));box-shadow:0 12px 40px #245b4a30}
body .voice-listening {box-shadow:0 0 0 9px #c5d8b930,0 12px 40px #245b4a30}
body :is(.news-placeholder,.news-image) {background:var(--warm-soft);color:var(--warm-muted)}
body .news-placeholder small {color:var(--warm-muted)}
body :is(.interest-chip,.feature-nav button,.calendar-day,.suggestion) {background:var(--warm-surface);color:var(--warm-ink);border-color:var(--warm-line)}
body .suggestion:hover {background:var(--warm-sage);border-color:var(--warm-sage-line)}
body :is(.board-toggle[aria-expanded=true],.interest-chip.selected) {background:var(--warm-sage);border-color:var(--warm-sage-line);color:var(--warm-green)}
body .calendar-day.today {border-color:var(--warm-green)}
body .calendar-day.selected {background:var(--warm-sage);color:var(--warm-green)}
body :is(.worship-scripture,.worship-intro,.ar-result) {background:var(--warm-sage);border-color:var(--warm-sage-line);color:var(--warm-ink)}
body .ar-result strong {color:var(--warm-green)}
body :is(dialog::backdrop,.lf-dialog::backdrop,.content-dialog::backdrop,.ar-dialog::backdrop,.workspace-tools::backdrop,.assistant-dialog::backdrop) {background:#243b3229}
body :is(button,a,input,textarea,select):focus-visible {outline-color:var(--warm-green)}
body :is(.ar-form textarea:focus) {outline-color:var(--warm-green)}
/* Error, warning, recording, destructive actions and priority meanings stay distinct. */
body :is(.error,.ar-error,.wt-error,.assistant-badge.failed) {color:#a1324e}
body :is(.danger,.wt-action.wt-remove) {color:#a1324e;background:#fff1f0;border-color:#edc4c8}
body .assistant-badge.failed {background:#fff1f0}
body :is(.wt-important,.wt-reminder-card.is-due,.voice-dialog .voice-secondary[aria-pressed=true]) {background:#fff4e5;color:#8c5a21;border-color:#eac88f}
body .is-due .wt-status-pill {background:#fff0cd;color:#946720}
body .voice-dialog .voice-end {background:#b8374a;border-color:#b8374a;color:#fff}
body.connection-page a {color:var(--warm-green)}
body.connection-page :is(main,#issued) {background:var(--warm-surface);color:var(--warm-ink);border-color:var(--warm-line)}
body.connection-page button {background:var(--warm-green);color:#fff;border-color:var(--warm-green)}
body.connection-page :is(#reveal,#clear,#retry) {background:var(--warm-sage);color:var(--warm-green)}

/* Primary actions keep the same emphasis inside specialized forms and toolbars. */
body [class].primary,body .wt-action.primary,body .voice-dialog .voice-primary {background:var(--warm-green);color:#fff;border-color:var(--warm-green)}
body [class].primary:hover {background:var(--warm-hover);border-color:var(--warm-hover)}

/* Match the more specific selectors used by the existing board and chat styles. */
body .hub-manage .board-view.active {background:var(--warm-surface);border-color:var(--warm-line)}
body #message-input::placeholder {color:var(--warm-muted)}
body .message-actions button.read-message {color:var(--warm-green)}
body .calendar-day.today {background:var(--warm-sage)}
body .calendar-day.outside {background:var(--warm-soft);color:var(--warm-muted)}
body .calendar-day>small {color:var(--warm-muted)}

body :is(.empty-card,.method-note,.board-foot,.news-updated,.section-heading h3 span,.calendar-week span,.task-type-filters button,.news-interest-section>p,.news-interest-section>small,.daily-post summary span,.news-category-head span,.chat-model-picker>span:last-child) {color:var(--warm-muted)}
body :is(.section-heading button,.calendar-toolbar button,.tt-empty>span) {color:var(--warm-green)}
body :is(.tt-empty h3,.meeting-heading h2,.news-interest-section h4,.daily-briefing-section h4,.news-interest-section h4) {color:var(--warm-ink)}
body .task-type-filters button.active {color:var(--warm-green)}
/* Weekend and priority colors convey meaning, rather than decorative accents. */
body .calendar-week span:first-child {color:#b34848}
body .calendar-week span:last-child {color:#5170d1}

body .content-hero .content-actions button.primary {background:var(--warm-green);color:#fff;border-color:var(--warm-green)}
body #toast {background:var(--warm-green);color:#fff}

/* v0.28.1: bright surfaces, fresh accents, and clear text on the same cream page. */
body .hub-today {background:var(--warm-surface);border-color:var(--warm-line)}
body .hub-today :is(h2,h3,strong),body .hub-destination strong {color:var(--warm-ink)}
body .hub-destination-icon {background:#ffffff;color:#1769e0}
body .hub-destination.family .hub-destination-icon {background:#ffffff;color:#c4490a}
body .hub-destination.worship .hub-destination-icon {background:#ffffff;color:#6d3cce}
body .hub-workspaces button:not(.active) {background:var(--warm-surface);border-color:var(--warm-line);color:var(--warm-ink)}
body :is(.hub-destination,.hub-project-card,.content-card,.tt-card,.assistant-job):hover {background:#f8fafc}
body .hub-today .eyebrow,body .agent-hub-header .eyebrow {color:#886033}
body :is(.agent-hub,.agent-box,.agent-hub-header,.agent-tabs) {background:var(--warm-surface);color:var(--warm-ink);border-color:var(--warm-line)}
body .agent-tabs button {background:var(--warm-sage);color:var(--warm-ink)}
body .agent-tabs button[aria-current=true] {background:var(--warm-green);color:#fff}
body .agent-home-entry {background:var(--warm-sage);border-color:var(--warm-sage-line);color:var(--warm-ink)}
body :is(.agent-note,.agent-category,.agent-log small) {color:var(--warm-muted)}
body .agent-badge {background:var(--warm-sage);color:var(--warm-ink)}
body .agent-float {background:var(--warm-surface);border-color:var(--warm-sage-line);color:var(--warm-ink)}
body :is(.agent-maker-preview,.agent-log pre) {background:#f8fafc;color:var(--warm-ink)}
body .agent-hub::backdrop {background:#243b3229;backdrop-filter:none}

/* v0.28.2: clear blue/white accents with neutral, readable text. */
body :is(.agent-tabs button,.agent-badge){border:1px solid var(--warm-line)}
body .agent-tabs button[aria-current=true]{border-color:var(--warm-green)}
body .agent-home-entry{background:#fff;border-color:var(--warm-green);color:var(--warm-green);font-weight:650}
body :is(.hub-destination-icon,.agent-glyph){background:#fff;border:1px solid currentColor}
body .agent-hub :is(.agent-note,.agent-category){color:var(--warm-muted)}
body .agent-hub :is(.agent-field input,.agent-field select,.agent-field textarea){color:var(--warm-ink);background:#fff;border-color:var(--warm-line)}
body .agent-maker-preview{background:#fff;border:1px solid var(--warm-line)}
