/* Light appearance for the meeting reader, editing workflow and AI proposals.
   Keep structure, permissions, interaction states and category colors intact. */
:root[data-theme="light"] .drawer.meeting-page {
  --meeting-accent:var(--theme-accent);--meeting-text:var(--text);
  --meeting-secondary-text:var(--soft);--meeting-muted-text:var(--muted);
  --meeting-surface:var(--theme-surface);--meeting-border:var(--line);
  color:var(--text);background:var(--bg);box-shadow:-16px 0 60px #2427350d;
}
:root[data-theme="light"] .meeting-page-header {background:radial-gradient(ellipse at 75% 0,#a38af60b,transparent 70%),var(--theme-surface);}
:root[data-theme="light"] :is(.meeting-title-area h2,.meeting-section-head h3,.meeting-insight-heading h4,.meeting-summary-details .plaud-readable-text h2,.meeting-summary-details .plaud-readable-text h3,.meeting-summary-details .plaud-readable-text h4) {color:var(--text);}
:root[data-theme="light"] :is(.meeting-back-button,.meeting-context .meeting-icon,.meeting-meta-dot,.meeting-section-kicker,.meeting-insight-heading h4 small,.meeting-summary-details>summary>small,.meeting-export-bar>span) {color:var(--muted);}
:root[data-theme="light"] :is(.meeting-context>button,.meeting-transcript-toolbar output,.meeting-page .plaud-speaker,.meeting-material-link,.meeting-assignee-label output,.task-assignee-group-title h5,.task-assignee-group-title .text-link) {color:var(--theme-accent);}
:root[data-theme="light"] :is(.meeting-back-button:hover,.meeting-context>button:hover) {color:var(--theme-accent);}
:root[data-theme="light"] .meeting-page :is(button,a,summary,input,select,textarea):focus-visible {outline-color:var(--theme-accent);}
:root[data-theme="light"] :is(.meeting-close,.meeting-composer-close,.meeting-more>summary) {border-color:var(--line);background:var(--theme-subtle);color:var(--soft);}
:root[data-theme="light"] :is(.meeting-close:hover,.meeting-composer-close:hover,.meeting-more>summary:hover) {background:var(--theme-hover);color:var(--theme-accent);}
:root[data-theme="light"] .meeting-more>div {border-color:var(--line);background:var(--theme-raised);box-shadow:0 12px 36px #24273522;}
:root[data-theme="light"] :is(.meeting-state-pill,.meeting-count) {background:var(--theme-subtle);border-color:var(--line);color:var(--soft);}
:root[data-theme="light"] .meeting-state-pill.state-completed {color:var(--green);background:#e8f4ed;border-color:#bddac8;}
:root[data-theme="light"] .meeting-state-pill.state-in_progress {color:var(--theme-accent);background:#eee8fa;border-color:#d4c6ef;}
:root[data-theme="light"] .meeting-state-pill.state-withdrawn {color:var(--muted);background:var(--theme-subtle);}
:root[data-theme="light"] .meeting-tabs {background:var(--theme-subtle);box-shadow:0 0 0 1px var(--line);}
:root[data-theme="light"] .meeting-tabs [role="tab"] {color:var(--muted);}
:root[data-theme="light"] .meeting-tabs [role="tab"]:hover {color:var(--theme-accent);background:#e9e4f5;}
:root[data-theme="light"] .meeting-tabs [role="tab"][aria-selected="true"] {background:var(--theme-raised);color:var(--theme-accent);border-color:#d9cfee;box-shadow:0 2px 5px #24273510;}
:root[data-theme="light"] .meeting-tabs small {background:#7053ba12;}
:root[data-theme="light"] .meeting-page .meeting-secondary:where(:not(.ai-action)) {border-color:var(--line);background:var(--theme-surface);color:var(--soft);}
:root[data-theme="light"] .meeting-page .meeting-secondary:where(:not(.ai-action)):hover {border-color:#b9a7dc;background:var(--theme-hover);color:var(--theme-accent);}
:root[data-theme="light"] .meeting-page .meeting-press-button {background:linear-gradient(to top,#7153b5,#8c6bcf);border-color:#6345a5;box-shadow:0 2px 0 #513b80,0 3px 9px #7053ba1a;color:#fff;}
:root[data-theme="light"] .meeting-page .meeting-press-button:hover {background:linear-gradient(to top,#7b5dc0,#9675d7);box-shadow:0 3px 0 #513b80,0 5px 12px #7053ba24;}
:root[data-theme="light"] .meeting-empty {border-color:var(--theme-border-strong);background:var(--theme-surface);color:var(--soft);}
:root[data-theme="light"] .meeting-empty>.meeting-icon {color:var(--theme-accent);background:#7053ba0a;}
:root[data-theme="light"] .meeting-decisions li {border-color:var(--line);}
:root[data-theme="light"] :is(.decision-number,.meeting-page .todo-group-number) {color:var(--theme-accent);background:#7053ba0e;}
:root[data-theme="light"] :is(.meeting-task-overview,.meeting-task-group-heading,.meeting-summary-details,.meeting-info-grid) {background:var(--theme-surface);}
:root[data-theme="light"] .meeting-progress-track {background:#7053ba16;}
:root[data-theme="light"] .meeting-progress-track>span {background:linear-gradient(90deg,#7053ba,#a38af6);}
:root[data-theme="light"] .meeting-task-filters button {color:var(--muted);}
:root[data-theme="light"] .meeting-task-filters button:hover {color:var(--theme-accent);background:var(--theme-hover);}
:root[data-theme="light"] .meeting-task-filters button[aria-pressed="true"] {color:var(--theme-accent);border-color:#cbbce7;background:#eee8fa;}
:root[data-theme="light"] .meeting-page .meeting-task-person {border-color:var(--line);}
:root[data-theme="light"] :is(.task-avatar,.task-assignee-choice-avatar) {background:#eee8fa;border-color:#dfd4ef;color:var(--theme-accent);}
:root[data-theme="light"] .task-complete-button {border-color:#9aa4b5;}
:root[data-theme="light"] .task-complete-button:hover {color:var(--green);border-color:var(--green);background:#e8f4ed;}
:root[data-theme="light"] .task-complete-button.is-complete {color:#fff;border-color:var(--green);background:var(--green);}
:root[data-theme="light"] :is(.meeting-page .task-assignee-pending,.meeting-page .todo-edit-person-name small,.meeting-page .todo-add-person small) {color:var(--amber);background:#fff4da;}
:root[data-theme="light"] :is(.task-mine-label,.meeting-insight-heading>span,.meeting-summary-details>summary) {color:var(--theme-accent);}
:root[data-theme="light"] .task-overdue-label {color:var(--red);}
:root[data-theme="light"] .meeting-page .input-field {background:var(--theme-surface);border-color:var(--theme-border-strong);color:var(--text);color-scheme:light;}
:root[data-theme="light"] .meeting-page .input-field::placeholder {color:var(--muted);}
:root[data-theme="light"] .meeting-page .input-field:focus {border-color:var(--theme-accent);box-shadow:0 0 0 3px #7053ba16;}
:root[data-theme="light"] .meeting-page .input-field:disabled {background:var(--theme-subtle);color:var(--muted);}
:root[data-theme="light"] .meeting-page :is(.task-inline-date .input-field,.task-status-select) {background:var(--theme-subtle);color:var(--soft);border-color:var(--line);}
:root[data-theme="light"] .meeting-page .task-inline-date .input-field:hover {border-color:var(--theme-border-strong);}
:root[data-theme="light"] .meeting-filter-empty {border-color:var(--theme-border-strong);}
:root[data-theme="light"] .meeting-insight-heading>span {border-color:#d9cfee;}
:root[data-theme="light"] .meeting-participant-chips>span {background:#7053ba08;border-color:#d9cfee;}
:root[data-theme="light"] .meeting-related-list>button {background:var(--theme-surface);}
:root[data-theme="light"] .meeting-related-list>button:hover {background:var(--theme-hover);border-color:#cbbce7;}
:root[data-theme="light"] .meeting-transcript-toolbar {background:var(--bg);}
:root[data-theme="light"] :is(.meeting-transcript-toolbar label,.meeting-assignee-search) {border-color:var(--theme-border-strong);background:var(--theme-surface);color:var(--muted);}
:root[data-theme="light"] :is(.meeting-transcript-toolbar label,.meeting-assignee-search):focus-within {border-color:var(--theme-accent);box-shadow:0 0 0 3px #7053ba16;}
:root[data-theme="light"] .meeting-page .plaud-utterance {border-color:var(--line);background:var(--theme-surface);}
:root[data-theme="light"] .meeting-page mark {background:#ffebaf;color:#58410c;}
:root[data-theme="light"] .meeting-material-row {border-color:var(--line);background:var(--theme-surface);}
:root[data-theme="light"] .meeting-material-link:hover {background:var(--theme-hover);}
:root[data-theme="light"] :is(.meeting-material-delete,.meeting-page .decision-delete,.meeting-page .todo-delete-button,.meeting-page .todo-remove-allocation,.meeting-page .todo-remove-assignee) {color:var(--muted);}
:root[data-theme="light"] :is(.meeting-material-delete:hover,.meeting-page .decision-delete:hover,.meeting-page .todo-delete-button:hover,.meeting-page .todo-remove-allocation:hover,.meeting-page .todo-remove-assignee:hover) {color:var(--red);background:#fbecef;border-color:#edc1c9;}
:root[data-theme="light"] .meeting-action-dock {background:#ffffffed;border-color:var(--line);box-shadow:0 -8px 30px #24273509;}
:root[data-theme="light"] .meeting-export-bar>div {background:var(--theme-subtle);border-color:var(--line);}
:root[data-theme="light"] .meeting-export-bar button {color:var(--soft);}
:root[data-theme="light"] .meeting-export-bar button:hover {color:var(--theme-accent);background:var(--theme-hover);}
:root[data-theme="light"] .meeting-composer {border-color:#cbbce7;background:linear-gradient(130deg,#a38af609,transparent),var(--theme-surface);box-shadow:0 8px 24px #24273509;}
:root[data-theme="light"] .meeting-composer-heading h4 {color:var(--theme-accent);}
:root[data-theme="light"] :is(.meeting-composer-actions,.meeting-page .task-assignee-group,.meeting-page .todo-group-editor,.meeting-page .todo-edit-person) {border-color:var(--line);}
:root[data-theme="light"] .task-assignee-group-title h5>span {color:var(--muted);}
:root[data-theme="light"] :is(.task-assignee-choice,.meeting-page .todo-add-person) {background:var(--theme-surface);border-color:var(--line);}
:root[data-theme="light"] .task-assignee-choice:has(input:checked) {background:#eee8fa;border-color:#b9a7dc;}
:root[data-theme="light"] :is(.task-assignee-choice:hover,.meeting-page .todo-add-person:hover) {background:var(--theme-hover);border-color:#b9a7dc;}
:root[data-theme="light"] .task-assignee-choice input {accent-color:var(--theme-accent);}
:root[data-theme="light"] .meeting-form-error {border-color:#edc1c9;color:var(--red);background:#fbecef;}
:root[data-theme="light"] :is(.meeting-page .decision-drag-handle,.meeting-page .decision-edit,.meeting-page .todo-drag-handle,.meeting-page .todo-edit-button) {color:var(--muted);}
:root[data-theme="light"] :is(.meeting-page .decision-drag-handle:hover,.meeting-page .decision-edit:hover,.meeting-page .todo-drag-handle:hover,.meeting-page .todo-edit-button:hover) {color:var(--theme-accent);background:var(--theme-hover);border-color:#cbbce7;}
:root[data-theme="light"] :is(.meeting-page .decision-drop-before:before,.meeting-page .decision-drop-after:after,.meeting-page .todo-drop-before:before,.meeting-page .todo-drop-after:after) {background:var(--theme-accent);box-shadow:0 0 6px #7053ba33;}
:root[data-theme="light"] .meeting-page :is(.meeting-decisions>li.is-editing,.meeting-decisions>li.is-dragging,.is-todo-dragging) {background:#eee8fa;}
:root[data-theme="light"] :is(.meeting-page .decision-list-footer output,.meeting-page .todo-list-footer output,.meeting-page .todo-edit-person-name small.todo-new-assignee,.meeting-audio-status) {color:var(--green);}
:root[data-theme="light"] :is(.meeting-page .decision-list-footer output.is-error,.meeting-page .todo-list-footer output.is-error) {color:var(--red);}
:root[data-theme="light"] .meeting-page .todo-assignee-picker {border-color:var(--line);}
:root[data-theme="light"] .meeting-page .todo-assignee-picker>summary {color:var(--theme-accent);}
:root[data-theme="light"] .meeting-audio-player {color-scheme:light;}
:root[data-theme="light"] .meeting-audio-status.is-failed {color:var(--amber);}
:root[data-theme="light"] .meeting-audio-error {color:var(--red);}
:root[data-theme="light"] .meeting-link-copy {border-color:#cbbce7;}
:root[data-theme="light"] .meeting-link-copy:hover {background:var(--theme-hover);}

/* Five real editing steps, including tables and native date controls. */
:root[data-theme="light"] .drawer:has(.review-head) {background:var(--bg);color:var(--text);}
:root[data-theme="light"] .review-page {background:var(--bg)!important;}
:root[data-theme="light"] .review-head {background:#f5f6fbf5;}
:root[data-theme="light"] .drawer:has(.review-head) .drawer-head {border-color:var(--line);}
:root[data-theme="light"] .drawer:has(.review-head) .field-label {color:var(--soft);}
:root[data-theme="light"] .drawer:has(.review-head) .input-field {background:var(--theme-surface);color:var(--text);border-color:var(--theme-border-strong);color-scheme:light;}
:root[data-theme="light"] .drawer:has(.review-head) .input-field:focus {border-color:var(--theme-accent);box-shadow:0 0 0 3px #7053ba16;}
:root[data-theme="light"] .drawer:has(.review-head) .input-field:disabled {color:var(--muted);background:var(--theme-subtle);}
:root[data-theme="light"] #reviewSaveStatus {color:var(--amber);}
:root[data-theme="light"] #reviewSaveStatus.is-saved {color:var(--green);}
:root[data-theme="light"] .review-progress>button {color:var(--muted);}
:root[data-theme="light"] .review-progress>button[aria-current] {color:var(--theme-accent);}
:root[data-theme="light"] .review-progress span {border-color:var(--theme-border-strong)!important;background:var(--theme-surface)!important;color:var(--muted)!important;}
:root[data-theme="light"] .review-progress span.is-active {border-color:var(--theme-accent)!important;background:var(--theme-accent)!important;color:#fff!important;box-shadow:0 0 0 4px #7053ba12!important;}
:root[data-theme="light"] .review-progress span.is-done {border-color:#cbbce7!important;background:#eee8fa!important;color:var(--theme-accent)!important;}
:root[data-theme="light"] .review-progress>i {background:var(--line)!important;}
:root[data-theme="light"] .review-progress>i::after {background:var(--theme-accent)!important;}
:root[data-theme="light"] :is(.review-section-heading,.review-form-card,.review-actions-current,.review-decision-draft,.review-task-draft,.review-task-picker) {border-color:var(--line);}
:root[data-theme="light"] :is(.review-form-card,.review-actions-current) {background:var(--theme-surface);}
:root[data-theme="light"] :is(.review-section-heading h3,.review-form-card h4,.review-comparison-intro h4,.review-actions-section-title h4) {color:var(--text);}
:root[data-theme="light"] .review-form-card .field-label {color:var(--text);}
:root[data-theme="light"] :is(.review-form-card .field-label small,.review-section-heading>span,.review-comparison-intro>p,.review-actions-toolbar p,.review-actions-section-title>span,.review-task-common-date>label,.review-task-picker>summary>span,.review-task-people-scroll h6,.review-task-privacy,.review-assignment-table th) {color:var(--muted);}
:root[data-theme="light"] .review-ai-toolbar {border-color:#d9cfee;background:#eee8fa66;}
:root[data-theme="light"] .review-ai-toolbar b {color:var(--text);}
:root[data-theme="light"] :is(.review-kicker,.review-ai-panel h4,.review-comparison-row .review-ai-card h5,.review-actions-proposals>h4) {color:var(--theme-accent);}
:root[data-theme="light"] :is(.review-ai-panel,.review-actions-proposals,.review-comparison-row .review-ai-card) {background:linear-gradient(135deg,#a38af609,transparent 65%),#faf8fe;border-color:#d9cfee;}
:root[data-theme="light"] .review-comparison-row .review-current-record {border-color:var(--line);background:var(--theme-surface);}
:root[data-theme="light"] .review-comparison-row .review-current-record .field-label {color:var(--text);}
:root[data-theme="light"] .review-current-record textarea.input-field {color:var(--text);}
:root[data-theme="light"] .review-ai-card {background:#faf8fe;border-color:#d9cfee;}
:root[data-theme="light"] .review-ai-card h5 svg {fill:var(--theme-accent);}
:root[data-theme="light"] :is(.review-comparison-row .review-ai-card p,.review-ai-card p,.review-action-candidate>p,.review-person-option,.review-assignment-table td) {color:var(--text);}
:root[data-theme="light"] :is(.review-comparison-row .review-ai-card p.review-ai-placeholder,.review-actions-empty,.review-action-placeholder) {color:var(--muted);}
:root[data-theme="light"] :is(.review-comparison-row .review-ai-card .review-apply-suggestion,.review-ai-card .button) {color:var(--theme-accent);background:#eee8fa;border-color:#cbbce7;}
:root[data-theme="light"] :is(.review-comparison-row .review-ai-card .review-apply-suggestion:hover,.review-ai-card .button:hover) {background:#e4d9f6;border-color:#b9a7dc;}
:root[data-theme="light"] :is(.review-comparison-row .review-ai-card .review-apply-suggestion.is-applied,.review-ai-card .is-applied) {color:var(--green);background:#e8f4ed;border-color:#bddac8;}
:root[data-theme="light"] :is(.review-ai-result-status,.review-actions-ai-status) {color:var(--green);}
:root[data-theme="light"] :is(.review-ai-inline-error,.attendance-warning) {color:var(--amber);background:#fff6e2;border-color:#dfc995;}
:root[data-theme="light"] :is(.review-inline-error,.review-actions-error) {color:var(--red);background:#fbecef;border-color:#edc1c9;}
:root[data-theme="light"] .review-final-note {color:var(--soft);background:var(--theme-subtle);}
:root[data-theme="light"] :is(.review-decision-draft,.review-task-draft) {background:var(--theme-subtle);}
:root[data-theme="light"] :is(.review-decision-draft>header>label,.review-task-draft>header>b,.review-task-picker>summary,.review-task-draft .field-label) {color:var(--soft)!important;}
:root[data-theme="light"] :is(.review-item-controls button,.review-assignment-remove) {color:var(--muted);}
:root[data-theme="light"] :is(.review-item-controls button:hover,.review-assignment-remove:hover) {color:var(--theme-accent);background:#e4d9f6;border-color:#cbbce7;}
:root[data-theme="light"] :is(.review-item-controls .review-item-delete:hover,.review-assignment-remove:hover) {color:var(--red);background:#fbecef;}
:root[data-theme="light"] .review-actions-current .review-add-action {color:var(--theme-accent);background:#eee8fa;border-color:#cbbce7;}
:root[data-theme="light"] .review-person-option {border-color:var(--line);}
:root[data-theme="light"] .review-person-option:hover {background:var(--theme-hover);}
:root[data-theme="light"] .review-person-option input {accent-color:var(--theme-accent);}
:root[data-theme="light"] :is(.review-task-common-date input,.review-assignment-table .input-field) {color-scheme:light;}
:root[data-theme="light"] .review-assignment-table td {border-color:var(--line);}
:root[data-theme="light"] :is(.review-assignment-table th span,.review-action-candidate dd) {color:var(--soft);}
:root[data-theme="light"] .review-action-candidate {background:#f4f0fb;border-color:#d9cfee;}
:root[data-theme="light"] .review-candidate-label {color:var(--theme-accent);border-color:#d4c6ef;}
:root[data-theme="light"] .review-action-candidate dt {color:var(--muted);}
:root[data-theme="light"] .review-adopt-action {background:#eee8fa!important;color:var(--theme-accent)!important;border-color:#cbbce7!important;}
:root[data-theme="light"] .review-adopt-action.is-applied {color:var(--green)!important;background:#e8f4ed!important;border-color:#bddac8!important;}

/* Attendance and speaker selection remain separate and easy to scan. */
:root[data-theme="light"] :is(.attendance-heading h4,.attendance-speaker-head h5,.speaker-choice-card h4) {color:var(--text);}
:root[data-theme="light"] .attendance-heading output {color:var(--theme-accent);border-color:#d4c6ef;background:#eee8fa;}
:root[data-theme="light"] .attendance-person {background:#eee8fa;border-color:#d4c6ef;color:var(--theme-accent);}
:root[data-theme="light"] .attendance-person button {color:var(--theme-accent);}
:root[data-theme="light"] .attendance-person button:hover {color:var(--theme-accent);background:#dfd3f3;}
:root[data-theme="light"] :is(.attendance-empty,.attendance-picker>summary span,.attendance-option-group h5,.attendance-group-count,.attendance-privacy,.attendance-no-speakers,.library-participation-note) {color:var(--muted);}
:root[data-theme="light"] :is(.attendance-picker,.attendance-table-scroll,.attendance-no-speakers) {border-color:var(--line);}
:root[data-theme="light"] .attendance-picker>summary {color:var(--text);}
:root[data-theme="light"] .attendance-table-scroll {background:var(--theme-surface);scrollbar-color:#b6adca var(--theme-subtle);}
:root[data-theme="light"] .attendance-option-table th {background:var(--theme-subtle);box-shadow:0 1px var(--line);color:var(--muted);}
:root[data-theme="light"] .attendance-option-table td {border-color:var(--line);}
:root[data-theme="light"] .attendance-name-label {color:var(--text);}
:root[data-theme="light"] .attendance-check-label input {accent-color:var(--theme-accent);}
:root[data-theme="light"] .attendance-option-table tbody tr:has(input:checked) {background:#eee8fa;}
:root[data-theme="light"] .attendance-option-table tbody tr:focus-within {background:#e7dff5;}
:root[data-theme="light"] :is(.attendance-card,.attendance-speakers) :focus-visible {outline-color:var(--theme-accent);}
:root[data-theme="light"] .speaker-choice-card {background:var(--theme-surface);border-color:var(--line);}
:root[data-theme="light"] .speaker-context {background:#eee8fa88;border-color:var(--theme-accent);}
:root[data-theme="light"] .speaker-transcript p {border-color:var(--line);}
:root[data-theme="light"] .library-attendance-filters {background:var(--theme-subtle);border-color:var(--line);}
:root[data-theme="light"] .library-attendance-filters button {color:var(--muted);}
:root[data-theme="light"] .library-attendance-filters button[aria-pressed="true"] {color:var(--theme-accent);background:var(--theme-raised);}
@media (hover:hover) {
  :root[data-theme="light"] .attendance-option-table tbody tr:hover {background:var(--theme-subtle);}
  :root[data-theme="light"] .attendance-option-table tbody tr:has(input:checked):hover {background:#e7dff5;}
}

/* The AI action retains its deliberate dark treatment as a contrasting action. */
:root[data-theme="light"] button.ai-action {background:#211a31;color:#f1ebff;border-color:#7053ba88;box-shadow:inset 0 1px 1px #ffffff30,0 4px 12px #7053ba22;}
:root[data-theme="light"] button.ai-action .ai-action-letter {color:#eee7fa;}
:root[data-theme="light"] button.ai-action .ai-action-icon {fill:#d1c2f6;}
:root[data-theme="light"] button.ai-action[data-ai-state="busy"] {background:#302243;border-color:#8c6bcf;opacity:1;}
:root[data-theme="light"] button.ai-action .success-check {color:#8bd7b2;}
:root[data-theme="light"] button.ai-action[data-ai-state="success"] .ai-action-letter {color:#e3f4e9;}
:root[data-theme="light"] button.ai-action:focus-visible {outline-color:var(--theme-accent);}
:root[data-theme="light"] button.ai-action .ai-action-spinner {border-color:#d3bbff35;border-top-color:#e6daff;}
:root[data-theme="light"] :is(.ai-completion-toast>span,.ai-processing-toast>span) {color:var(--text);}
:root[data-theme="light"] :is(.review-ai-result-status,.review-actions-ai-status,.review-apply-suggestion,.review-adopt-action,.ai-completion-toast) .success-check :is(.draw-ring,.draw-mark) {stroke:var(--green);}
:root[data-theme="light"] :is(.review-ai-result-status,.review-actions-ai-status) .ai-action-spinner {border-color:#7053ba30;border-top-color:var(--theme-accent);}

/* Access audit list: category hues stay subtle, names and roles stay neutral. */
:root[data-theme="light"] .page-audience {background:var(--theme-surface);color:var(--text);box-shadow:0 8px 24px #2427350a;}
:root[data-theme="light"] .page-audience::after {background:var(--line);}
:root[data-theme="light"] :is(.page-audience-title,.page-audience-user strong,.audience-user-main>strong) {color:var(--text);}
:root[data-theme="light"] .page-audience-title small {border-color:var(--line);background:var(--theme-subtle);color:var(--soft);}
:root[data-theme="light"] .page-audience-user {border-color:var(--line);}
:root[data-theme="light"] :is(.page-audience-user small,.page-audience-user>small,.page-audience-loading,.page-audience-empty,.audience-user-affiliations>b) {color:var(--muted);}
:root[data-theme="light"] .page-audience-error {color:var(--red);}
:root[data-theme="light"] .page-audience-user .audience-status.active {color:var(--green);background:#e8f4ed;border-color:#bddac8;}
:root[data-theme="light"] .page-audience-user .audience-status.pending {color:var(--amber);background:#fff4da;border-color:#dfc995;}
:root[data-theme="light"] .page-audience-user .audience-status.inactive {color:var(--muted);background:var(--theme-subtle);border-color:var(--line);}
:root[data-theme="light"] .page-audience-user .audience-affiliation {
  border-color:color-mix(in srgb,var(--affiliation-accent,#7053ba) 28%,#d8dce7);
  background:color-mix(in srgb,var(--affiliation-accent,#7053ba) 8%,#fff);
  color:color-mix(in srgb,var(--affiliation-accent,#7053ba) 35%,#242735);
}
:root[data-theme="light"] .page-audience-user .audience-affiliation.empty {border-color:var(--line);background:var(--theme-subtle);color:var(--muted);}

/* PLAUD prose is also used in import previews, so it cannot inherit dark text. */
:root[data-theme="light"] :is(.plaud-summary-card,.transcript-details) {background:linear-gradient(145deg,#a38af609,transparent),var(--theme-surface);border-color:#d9cfee;}
:root[data-theme="light"] :is(.plaud-card-label,.transcript-details summary,.meeting-detail-subheading) {color:var(--theme-accent);}
:root[data-theme="light"] .transcript-details summary:after {color:var(--theme-accent);}
:root[data-theme="light"] .transcript-details summary small {color:var(--muted);}
:root[data-theme="light"] :is(.plaud-readable-text,.transcript-readable-text,.plaud-readable-text p,.plaud-readable-text ul,.plaud-readable-text li,.plaud-check-item,.plaud-utterance-text,.meeting-detail-card p) {color:var(--text);}
:root[data-theme="light"] :is(.plaud-readable-text h2,.plaud-readable-text h3,.plaud-readable-text h4,.plaud-readable-text h5) {color:var(--text);}
:root[data-theme="light"] .transcript-readable-text {border-color:var(--line);background:var(--theme-subtle);}
:root[data-theme="light"] .plaud-readable-text blockquote {color:var(--soft);background:#eee8fa77;border-color:var(--theme-accent);}
:root[data-theme="light"] .plaud-check-item {background:var(--theme-subtle);border-color:var(--line);}
:root[data-theme="light"] .plaud-check-item span {color:var(--theme-accent);}
:root[data-theme="light"] .plaud-utterance {background:var(--theme-surface);border-color:var(--line);}
:root[data-theme="light"] .plaud-utterance time {color:var(--muted);}
:root[data-theme="light"] .plaud-speaker {color:var(--theme-accent);}
