/* Same Meulewiekers palette in both appearances. No filtering of photos, logos or documents. */
.appearance-settings{margin-bottom:24px}.appearance-settings>p{color:var(--muted)}.appearance-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:20px;margin-top:20px;border-top:1px solid var(--line)}.appearance-row p{margin:4px 0 0;color:var(--muted);font-size:13px}.appearance-control{display:flex;align-items:center;gap:10px;white-space:nowrap;cursor:pointer;font-weight:600}.appearance-control input{appearance:none;-webkit-appearance:none;position:relative;flex-shrink:0;width:51px;height:31px;margin:0;padding:0;border:0;border-radius:999px;background:#637086;cursor:pointer;transition:background .2s}.appearance-control input:before{content:'';position:absolute;left:2px;top:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #0003;transition:transform .2s}.appearance-control input:checked{background:#075bf2}.appearance-control input:checked:before{transform:translateX(20px)}.appearance-control input:focus-visible{outline:3px solid #8cbaff;outline-offset:4px}.appearance-control input:disabled{opacity:.65;cursor:wait}.appearance-note{border-left:3px solid #438aff;padding-left:14px;margin-top:22px;font-size:13px}#appearance-status:empty{display:none}@media(max-width:600px){.appearance-row{align-items:flex-start;flex-direction:column;gap:18px}}@media(prefers-reduced-motion:reduce){.appearance-control input,.appearance-control input:before{transition:none}}
:root[data-theme=dark]{color-scheme:dark;--bg:#0c192c;--ink:#edf3ff;--muted:#a8bbd6;--line:#2b405c;--blue:#438aff;--navy:#112b49;--surface:#14263e;--field:#1c304c;--text:#edf3ff;--text-muted:#a8bbd6;--border:#2b405c;--card:#14263e}
html[data-theme=dark],html[data-theme=dark] body{background:#0c192c;color:#edf3ff}
html[data-theme=dark] :is(.panel,.committee-card,.member-card,.content-block,.commission-banner,.concept-stat,.concept-panel,.concept-committee,.modal,.modal-header,.modal-footer,.login-card,.step,.stat,.user-table,.notification-popover,.notification-item,.online-popover,.chat-layout,.chat-thread-heading,.chat-compose,.chat-bubble,.chat-emoji-picker,.sponsor-workspace,.sponsor-card,.club-card,.club-van-card,.club-summary,.cv-card,.first-use-help,.save-confirmation,.document-card,.file-card,.meeting-card,.activity-card,.rights-group,.table-scroll,.agenda-selected){background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.topbar,.concept-shell .topbar,.mobile-bottom-nav,.concept-shell .mobile-bottom-nav,.chat-sidebar,.chat-contacts,.online-popover footer,.notification-popover footer){background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(h1,h2,h3,h4,.heading-row,.panel-header,.task-info,.task-info a,.concept-task a,.concept-event,.concept-stat,.global-agenda-row,.chat-contact,.chat-placeholder h2,.content-block .body-text,.body-text,.committee-card,.commission-banner h1,.member-card,.user-table,.notification-item,.online-person,.online-trigger,.notification-bell,.breadcrumbs,.phone-context,.mobile-portal-title){color:var(--ink)}
html[data-theme=dark] :is(.muted,.small.muted,.task-meta,.user-cell small,.concept-welcome.hero p,.concept-committee p,.concept-empty,.chat-thread-heading small,.chat-contact-text small,.chat-bubble-meta,.chat-typing,.chat-placeholder,.chat-empty,.sponsor-card p,.sponsor-card-meta,.sponsor-pipeline-step small,.sponsor-invoice-hint,.online-popover header small,.notification-item small,.first-use-help p){color:var(--muted)}
html[data-theme=dark] :is(.portal-search,.avatar,.stat-icon,.card-icon,.committee-tile-icon,.chat-group-avatar,.concept-stat .stat-icon,.sponsor-stage,.sponsor-pipeline-step,.sponsor-owner-count,.test-switch,.notice,.concept-committee .btn,.online-chat-link,.notification-item.unread,.chat-contact.active,.chat-contact:hover,.chat-emoji-picker button:hover){background:var(--field);color:#b8d5ff;border-color:var(--line)}
html[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select){background:var(--field);color:var(--ink);border-color:var(--line)}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#98aecb;opacity:1}html[data-theme=dark] :is(input[type=checkbox],input[type=radio]){accent-color:#438aff}
html[data-theme=dark] :is(.btn,.icon-btn,.chat-emoji-toggle,.tab,.mail-button){background:var(--field);color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(.btn.primary,.btn:not(.ghost).primary,.button.primary,.mail-primary){background:#075bf2;color:#fff;border-color:#075bf2}html[data-theme=dark] :is(.btn.ghost,.sidebar-logout.btn,.tab){background:transparent}html[data-theme=dark] :is(.tab.active,.sponsor-details summary,.chat-back,.chat-sender,.concept-panel>header>a,a:not(.nav-item):not(.brand):not(.btn):not(.committee-card):not(.concept-stat):not(.concept-event):not(.concept-task):not(.global-agenda-row):not(.chat-contact)){color:#8cbaff}
html[data-theme=dark] :is(.user-table th,thead th,.task-toolbar,.chat-thread,.chat-unavailable,.chat-placeholder,.notification-item:hover,.sponsor-stage.selected,.sponsor-pipeline-step:hover,.sponsor-owner-count:hover){background:#102137;color:var(--muted);border-color:var(--line)}html[data-theme=dark] :is(th,td,fieldset,hr,.task-row,.tabs,.panel-header,.concept-event,.chat-contact,.chat-thread-heading,.chat-compose,.rights-group,.commission-banner,.sponsor-stage,.document-preview,.first-use-help,.online-trigger){border-color:var(--line)}
html[data-theme=dark] .chat-bubble.mine{background:#203f66;border-color:#365783;color:#edf3ff}html[data-theme=dark] .chat-old-subject{color:#b8d5ff}html[data-theme=dark] .modal-backdrop{background:#030b17b3}html[data-theme=dark] .login-wrap{background:radial-gradient(ellipse at top right,#193350,transparent 60%),#0c192c}
html[data-theme=dark] :is(.pill.gray,.badge.gray){background:#263b56;color:#d1e1f6}html[data-theme=dark] :is(.pill.green,.badge.green,.notice.green){background:#163d34;color:#a2e6c9;border-color:#2d6754}html[data-theme=dark] :is(.pill.orange,.notice.amber,.badge.orange){background:#44351f;color:#ffdb9e;border-color:#6a532f}html[data-theme=dark] :is(.pill.red,.notice.error,.error-text){color:#ffb1bc}html[data-theme=dark] :is(.pill.red,.notice.error){background:#482635;border-color:#784154}html[data-theme=dark] .sponsor-pledged-total{color:#a2e6c9}
html[data-theme=dark] .concept-welcome.hero{background:none;color:var(--ink)}html[data-theme=dark] .concept-shell .brand-mark{background:#fff}html[data-theme=dark] .concept-shell .nav-item.active,html[data-theme=dark] .concept-shell .mobile-bottom-nav a[aria-current=page]{background:#075bf2;color:#fff}html[data-theme=dark] .notification-count{border-color:var(--surface)}
/* Calendar, Club Van and other module cards may define their own light surfaces. */
html[data-theme=dark] :is(.calendar,.agenda-calendar,.calendar-grid,.calendar-day,.agenda-day,.agenda-month,.calendar-cell,.agenda-day-button,.club-stat,.club-member,.club-table,.club-mobile-card,.club-board-group,.club-finance-card,.activity-section,.meeting-section){background:var(--surface);color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(.calendar-day.today,.agenda-day.today,.calendar-day.selected,.agenda-day.selected){background:var(--field);color:#b8d5ff}
/* Embedded sponsor/mail screens keep the same palette; invoice and email contents stay original. */
html[data-theme=dark][data-meule-embedded] :is(.bg-white,.card,.modal .card,.mail-app,.mail-sidebar,.mail-list,.mail-reader,.mail-reader-toolbar,.mail-message,.mail-compose,.mail-compose-header,.mail-compose-footer,.mail-topbar){background:var(--surface);color:var(--ink);border-color:var(--line)}html[data-theme=dark][data-meule-embedded] :is(.bg-slate-50,.bg-blue-50,.bg-slate-100,.mail-folder.active,.mail-row.selected,.mail-row:hover,.mail-search,.mail-avatar){background:var(--field);color:var(--ink)}html[data-theme=dark][data-meule-embedded] :is(.text-slate-900,.text-slate-800,.text-slate-700,.mail-subject,.mail-row,.mail-message h1,.mail-message strong){color:var(--ink)}html[data-theme=dark][data-meule-embedded] :is(.text-slate-600,.text-slate-500,.text-slate-400,.mail-message-meta,.mail-row small,.mail-list-count,.mail-folder,.mail-search input){color:var(--muted)}html[data-theme=dark][data-meule-embedded] :is(.border,.border-b,.border-t,.mail-sidebar,.mail-row,.mail-attachments,.mail-reader-toolbar,.mail-compose-footer){border-color:var(--line)}
html[data-theme=dark] #invoice-document,html[data-theme=dark] #invoice-document *{color:#111d43;color-scheme:light}html[data-theme=dark] #invoice-document{background:#fff}html[data-theme=dark] .mail-message iframe{color-scheme:light;background:#fff}
@media print{html[data-theme=dark],html[data-theme=dark] body{background:#fff!important;color:#111d43!important;color-scheme:light}html[data-theme=dark] :is(.panel,.content-block,.user-table,.modal,.card){background:#fff!important;color:#111d43!important}}html[data-theme=dark] :is(.cv-stat,.cv-member-row,.cv-table tr,.agenda-month-picker,.agenda-day-empty){background:var(--surface);color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(.cv-table th,.cv-detail dt,.cv-table td:before){color:var(--muted)}html[data-theme=dark] :is(.cv-table th,.cv-table td){border-color:var(--line)}html[data-theme=dark] :is(.cv-new-badge,.cv-new-notice){background:#163d34;color:#a2e6c9;border-color:#2d6754}html[data-theme=dark] .agenda-day.is-selected{background:#203f66;border-color:#438aff}html[data-theme=dark] :is(.agenda-day-number,.agenda-month-title,.agenda-day-more){background:transparent;color:var(--ink)}html[data-theme=dark] .agenda-day.is-today .agenda-day-number{background:#075bf2;color:#fff}html[data-theme=dark] .agenda-day-item{background:var(--field);color:#b8d5ff}html[data-theme=dark] .agenda-weekday{color:var(--muted)}html[data-theme=dark] .online-trigger{background:#163d34;color:#a2e6c9;border-color:#2d6754}html[data-theme=dark] .online-trigger:hover,html[data-theme=dark] .online-trigger[aria-expanded=true]{background:#204c40}html[data-theme=dark] .online-led,html[data-theme=dark] .online-person>.presence-dot{box-shadow:0 0 0 3px #224e40}html[data-theme=dark] .ux-push-health :is(li,span){color:var(--muted)}html[data-theme=dark] :is(.first-use-content,.first-use-icon,.first-use-dismiss,.first-use-reopen){background:var(--field);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .mail-app{--mail-blue:#8cbaff;--mail-border:#2b405c}html[data-theme=dark] :is(.mail-top,.mail-folders,.mail-selection-bar,.mail-empty-icon,.mail-row-wrap.is-checked,.mail-row-wrap.is-checked .mail-row,.mail-attachment){background:var(--surface);color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(.mail-folder.is-active,.mail-row.is-selected,.mail-folder:not(.is-active):hover,.mail-icon-button:hover,.mail-button:hover,.mail-notice){background:var(--field);color:#b8d5ff;border-color:var(--line)}html[data-theme=dark] :is(.mail-list-heading h2,.mail-message-body,.mail-empty h3,.mail-compose-from strong){color:var(--ink)}html[data-theme=dark] :is(.mail-message-meta span:not(.mail-avatar),.mail-message-meta time,.mail-row-meta,.mail-compose-from,.mail-compose-field span,.mail-tabs button,.mail-attachment small){color:var(--muted)}html[data-theme=dark][data-meule-embedded] .mail-row{background:var(--surface);color:var(--ink)}html[data-theme=dark][data-meule-embedded] .mail-row:hover,html[data-theme=dark][data-meule-embedded] .mail-row.is-selected{background:var(--field)}html[data-theme=dark][data-meule-embedded] .mail-avatar-gold{background:#44351f;color:#ffdb9e}html[data-theme=dark][data-meule-embedded] .mail-primary{background:#075bf2!important;color:#fff!important}
/* Assigning a task never changes committee membership. */
.task-assignee-groups{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.task-assignee-group{padding:17px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}.task-assignee-group h3{font-size:14px;margin:0 0 7px}.task-assignee-group p{font-size:12px;color:var(--muted);min-height:36px}.task-assignee-choose{display:flex;gap:8px;align-items:stretch}.task-assignee-choose select{min-width:0;flex:1;width:100%;border:1px solid var(--line);border-radius:8px;padding:10px;font:inherit;background:#fff;color:var(--ink)}.task-assignee-group input[type=search]{display:block;width:100%;margin-bottom:10px;border:1px solid var(--line);border-radius:8px;padding:10px;font:inherit}.task-selected-assignee{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.task-selected-assignee strong{flex:1;overflow-wrap:anywhere}.task-selected-assignee .icon-btn{flex:none}.task-assignee-label{display:inline;overflow-wrap:anywhere}.task-assignee-label .pill{font-size:9px;padding:2px 5px}.pill.task-member-badge{background:#eaf2ff;color:#0753bd}html[data-theme=dark] .pill.task-member-badge{background:#203f66;color:#b8d5ff}html[data-theme=dark] .task-assignee-choose select{background:var(--field);color:var(--ink)}@media(max-width:650px){.task-assignee-groups{grid-template-columns:1fr}.task-assignee-choose{flex-wrap:wrap}.task-assignee-choose select{flex-basis:100%}.task-selected-assignee{flex-wrap:wrap}.task-selected-assignee strong{min-width:45%}}
