/* The original violet night theme stays the default. All light overrides are scoped. */
.theme-toggle { display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none; }
.top-actions>.theme-toggle { width:38px;height:38px;min-height:38px;border:1px solid var(--line);background:#b47ae712; }
.theme-toggle>.ico { width:20px;height:20px;flex:none; }
.settings-row .theme-toggle { min-width:92px; }
:root[data-theme="light"] {
  color-scheme:light;
  --ink:#251b35;--text:#3d3549;--muted:#70657e;
  --green:#7540b8;--deep:#7b36c5;--lime:#ece1fa;--mint:#f2eafa;
  --line:#e5dfee;--paper:#fff;--bg:#f8f7fb;--coral:#bd4e9d;
  --shadow:0 10px 30px #38204f0a;--glass:#fff;
  --accent-gradient:linear-gradient(115deg,#7d35c3,#9250d4);
  background:var(--bg);
}
:root[data-theme="light"] body { background:var(--bg);color:var(--text); }
:root[data-theme="light"] ::selection { background:#e6d4fa;color:#3d1e61; }
:root[data-theme="light"] :is(button,a,input,select,textarea):focus-visible { outline-color:#9855d5; }
:root[data-theme="light"] option { background:#fff;color:var(--ink); }
:root[data-theme="light"] :is(.sidebar,.topbar) { background:#ffffffed;border-color:var(--line); }
:root[data-theme="light"] :is(.brand-word,.topbar-title,.app-mobile-copy strong,.settings-row strong,.host-name,.route-city) { color:var(--ink); }
:root[data-theme="light"] :is(.brand-tagline,.nav-label,.demo-label,.app-mobile-copy small,.community-note p,.page-heading p) { color:var(--muted); }
:root[data-theme="light"] :is(.nav-line,.divider) { background:var(--line); }
:root[data-theme="light"] .side-profile { border-color:var(--line); }
:root[data-theme="light"] :is(.nav-item,.language-btn,.icon-btn) { color:#72558b; }
:root[data-theme="light"] :is(.nav-item:hover,.icon-btn:hover) { background:#f2eafa;color:#6c2eaa; }
:root[data-theme="light"] .nav-count { background:#efe4fa;color:#6c2eaa; }
:root[data-theme="light"] .community-note { background:#f7f3fc;border-color:var(--line); }
:root[data-theme="light"] .nav-item.active { background:#efe4fa;color:#6c2eaa;border-color:#ddc9f0;box-shadow:none; }
:root[data-theme="light"] .liquid-nav-ready>.nav-item.active,
:root[data-theme="light"] .mobile-nav.liquid-nav-ready>button.active { background:transparent;border-color:transparent;color:#fff;box-shadow:none; }
:root[data-theme="light"] .liquid-indicator { background:linear-gradient(115deg,#9550d6,#7c37bf);border-color:#a768dd;box-shadow:0 4px 14px #7b36c530,inset 0 1px #ffffff50; }
:root[data-theme="light"] .mobile-nav { background:#fffffff2;border-color:#e3d7ed;box-shadow:0 8px 30px #49305c20; }
:root[data-theme="light"] .mobile-nav button { color:#806c92; }
:root[data-theme="light"] .mobile-nav button.active { color:#fff; }
:root[data-theme="light"] :is(.app-mobile-back,.notification-btn,.head-tools>.icon-btn,.theme-toggle.icon-btn) { background:#f4eefb;color:#7943ad;border-color:#e7dbf1; }
:root[data-theme="light"] .notification-btn:after { border-color:#fff;background:#ba4c9d; }

/* A light city banner, white cards and violet actions. */
:root[data-theme="light"] .hero { background:#f0e9f9;border-color:#e3d7ef;box-shadow:var(--shadow); }
:root[data-theme="light"] .hero:after { background:linear-gradient(90deg,#f4effbf7 0%,#f4effbe8 35%,#f4effb40 75%,#f4effb08); }
:root[data-theme="light"] .hero h1 { color:#3a2052;text-shadow:none; }
:root[data-theme="light"] .hero p { color:#5d496f; }
:root[data-theme="light"] .hero .eyebrow { color:#78419e; }
:root[data-theme="light"] .hero-badge { background:#ffffffe6;color:#674480;border-color:#e4d5f0;box-shadow:var(--shadow); }
:root[data-theme="light"] :is(.hero-badge .ico,.eyebrow) { color:#8644b5; }
:root[data-theme="light"] :is(.search-panel,.trip-card,.panel,.map-card,.chat-layout,.empty-state,.journey-panel) { background:#fff;border-color:var(--line);box-shadow:var(--shadow); }
:root[data-theme="light"] .trip-card:hover { border-color:#cba6e9;box-shadow:0 10px 28px #57317210; }
:root[data-theme="light"] :is(.search-field label,.form-field label) { color:#72607f; }
:root[data-theme="light"] :is(.search-field>.ico,.section-title .ico,.map-head .ico) { color:#9763bf; }
:root[data-theme="light"] :is(.search-field input,.search-field select,.search-field .ac-trigger) { color:var(--ink); }
:root[data-theme="light"] .search-field input::placeholder { color:#81718d; }
:root[data-theme="light"] :is(.search-field.bordered,.search-field.destination,.search-field.seats,.card-bottom,.price,.booking-actions) { border-color:var(--line); }
:root[data-theme="light"] :is(.swap-btn,.search-locate-button,.search-map-pick,.detail-map-link) { background:#f2eafa;border-color:#dfcbed;color:#7840ab;box-shadow:none; }
:root[data-theme="light"] :is(.btn-soft,.btn-outline,.icon-btn.border,.filter-chip,.view-toggle,.tab,.af-button) { background:#f7f3fc;color:#6d3c99;border-color:#e5d9ef; }
:root[data-theme="light"] :is(.btn-soft:hover,.btn-outline:hover,.filter-chip:hover,.af-button:hover) { background:#eee2fa;border-color:#d8bee9; }
:root[data-theme="light"] :is(.filter-chip.active,.view-toggle button.active,.tab.active) { background:#efe1fa;color:#6a2b9f;border-color:#d4b4e9; }
:root[data-theme="light"] .view-toggle button { color:#8a749a; }
:root[data-theme="light"] .pill { background:#f2eafa;color:#744198;border-color:#e4d4ef; }
:root[data-theme="light"] .pill-neutral { color:#70647c;background:#f4f1f7; }
:root[data-theme="light"] .pill-warm { color:#89530c;background:#fff6e5;border-color:#f1d5a0; }
:root[data-theme="light"] :is(.results-meta,.host-meta,.route-time,.route-date,.price small,.map-footer small,.results-bottom,.footer-note,.footer-note button,.tag,.card-features .tag,.search-location-status) { color:var(--muted); }
:root[data-theme="light"] .host-meta .ico { color:#ad741b;fill:#ad741b; }
:root[data-theme="light"] .save-btn { background:#f7f2fc;color:#9b7dae; }
:root[data-theme="light"] .save-btn.saved { color:#823fba; }
:root[data-theme="light"] .save-btn.saved .ico { fill:#e9d8f8; }
:root[data-theme="light"] :is(.price strong,.cost-line strong,.coin-balances strong,.coin-panel h2,.coin-panel h3,.jp-quote strong,.af-answer strong) { color:var(--ink); }
:root[data-theme="light"] :is(.price strong span,.card-bottom .text-btn,.profile-stats strong,.text-btn,.trip-vehicle>strong) { color:#793cae; }
:root[data-theme="light"] .route-link { background:#c8a1e4; }
:root[data-theme="light"] .route-link:before { background:#fff;border-color:#a065cf; }
:root[data-theme="light"] .route-link:after { background:#a065cf;border-color:#a065cf;box-shadow:none; }
:root[data-theme="light"] .route-link span { color:#8a6a9f; }
:root[data-theme="light"] .vehicle-thumbnail { background:radial-gradient(ellipse at 50% 45%,#fff,#e8e4f1);border-color:#e2d8ee; }
:root[data-theme="light"] .vehicle-thumbnail-label { color:#79618b; }
:root[data-theme="light"] :is(.mission-card,.superadmin-entry,.coin-entry) { background:#f4eefb;border-color:#e4d5ef; }
:root[data-theme="light"] :is(.mission-card h3,.community-note h4) { color:var(--ink); }
:root[data-theme="light"] :is(.mission-card p,.superadmin-entry-copy p,.coin-entry p) { color:var(--muted); }
:root[data-theme="light"] :is(.mission-icon,.superadmin-entry-icon,.coin-mark) { color:#8c49bd;background:#eee1fa;border-color:#d9bce9; }

/* Native custom pickers and all input surfaces. */
:root[data-theme="light"] :is(.form-field input,.form-field select,.form-field textarea,.feedback-text,.chat-form input,.ac-trigger,.sa-grid input,.sa-grid select,.sa-actions select,.pp-search input,.jp-stops input,.jp-form-grid select,.coin-form-grid input,.coin-form-grid select,.coin-dialog input,.coin-dialog textarea,.pa-device input,.pa-bootstrap select,#voice-config-form textarea) { background-color:#fff;color:var(--ink);border-color:#ddd2e8;color-scheme:light; }
:root[data-theme="light"] :is(input,textarea)::placeholder { color:#8b7c98; }
:root[data-theme="light"] .ac-trigger.is-placeholder { color:#81718d; }
:root[data-theme="light"] :is(.ac-trigger:hover,.ac-control.is-open>.ac-trigger) { background:#f7f1fc;border-color:#b780da;color:var(--ink); }
:root[data-theme="light"] .search-field .ac-trigger { background:transparent;border:0;box-shadow:none; }
:root[data-theme="light"] .ac-trigger>.ac-icon { color:#8d5bb1; }
:root[data-theme="light"] :is(.ac-popover,.ac-popover[popover]) { background:#fff;color:var(--ink);border-color:#d9c4ea;box-shadow:0 20px 70px #49305c30; }
:root[data-theme="light"] :is(.ac-panel-head,.ac-panel-foot,.ac-city-hint) { border-color:var(--line); }
:root[data-theme="light"] :is(.ac-panel-head strong,.ac-time-preview,.ac-option,.ac-day,.ac-time-option) { color:var(--ink); }
:root[data-theme="light"] :is(.ac-panel-head span,.ac-weekdays span,.ac-foot-note,.ac-time-label,.ac-city-heading,.ac-city-hint,.ac-no-results) { color:var(--muted); }
:root[data-theme="light"] :is(.ac-dismiss,.ac-month-nav,.ac-month,.ac-time-options,.ac-panel-foot) { background:#f7f3fc;border-color:var(--line); }
:root[data-theme="light"] :is(.ac-option:hover,.ac-option.is-highlighted,.ac-day:not(:disabled):hover,.ac-month:hover,.ac-month.is-selected,.ac-time-option:hover) { background:#f3eafa;border-color:#dfc7ee; }
:root[data-theme="light"] :is(.ac-option.is-selected,.ac-time-option.is-selected) { background:#eee0f9;color:#683196;border-color:#ceb0e5; }
:root[data-theme="light"] .ac-day.is-selected { background:#8642bd;color:#fff; }
:root[data-theme="light"] .ac-day.is-today:not(.is-selected) { color:#793aaa;border-color:#b083d0; }
:root[data-theme="light"] .ac-day.is-outside { color:#93849f; }
:root[data-theme="light"] .ac-day:disabled { color:#9a8fa4; }
:root[data-theme="light"] .ac-quiet-button { color:#7540a1!important; }
:root[data-theme="light"] :is(.checkbox-row,.privacy-list,.cost-line,.helper,.cost-key,.detail-note,.chat-note,.policy-page p) { color:var(--muted); }
:root[data-theme="light"] .checkbox-row input { accent-color:#8642bd; }
:root[data-theme="light"] .info-note { color:#6d5380;background:#f7f1fc;border-color:#e7d9f1; }
:root[data-theme="light"] .info-note.warm { color:#875a1f;background:#fff8eb;border-color:#f0dfbb; }
:root[data-theme="light"] .toggle { background:#ded5e7;border-color:#d2c4df; }
:root[data-theme="light"] .toggle.on { background:#9451cb; }

/* Sheets, fare details and discovery cards. */
:root[data-theme="light"] :is(dialog,.dw-dialog,#location-dialog) { background:#fff;color:var(--text);border-color:#e1d3eb;box-shadow:0 25px 100px #3a204a40; }
:root[data-theme="light"] dialog::backdrop { background:#2e1b453d; }
:root[data-theme="light"] :is(.dialog-head,.dialog-footer,.dw-dialog>header,.dw-dialog>footer,.pl-dialog-head,.pl-actions) { background:#fff;border-color:var(--line); }
:root[data-theme="light"] :is(.dialog-head h2,.timeline-point strong,.ac-panel-head strong) { color:var(--ink); }
:root[data-theme="light"] .dialog-head::before { background:#d9c8e7; }
:root[data-theme="light"] :is(.detail-cost,.detail-quote,.request-summary,.detail-tags .tag,.stepper,.stepper button,.booking-actions,.modal-sample) { background:#f7f2fc;color:#6d5280;border-color:#e6d8f0; }
:root[data-theme="light"] :is(.timeline-point .small,.subtle) { color:var(--muted); }
:root[data-theme="light"] .timeline-point:before { background:#fff;border-color:#a06bc7; }
:root[data-theme="light"] .timeline-point:last-child:before { background:#9955c8; }
:root[data-theme="light"] .toast { background:#624078;color:#fff;border-color:#9a6cb4;box-shadow:0 8px 30px #3e245c26; }
:root[data-theme="light"] :is(.pn-section,.pn-trip) { background:#fff;border-color:var(--line);color:var(--text); }
:root[data-theme="light"] .pn-section { box-shadow:var(--shadow); }
:root[data-theme="light"] .pn-trip:hover { background:#fbf8fe;border-color:#ccb0e2; }
:root[data-theme="light"] :is(.pn-trip-top strong,.pn-distance strong,.pn-trip-bottom strong) { color:var(--ink); }
:root[data-theme="light"] :is(.pn-label,.pn-list-distance,.pn-trip-bottom>span:last-child) { color:#8651ae; }
:root[data-theme="light"] :is(.pn-status,.pn-note,.pn-coverage,.pn-trip-top small,.pn-distance,.pn-schedule,.pn-order,.pn-trip-bottom small) { color:var(--muted); }
:root[data-theme="light"] .pn-trip-bottom { border-color:var(--line); }

/* Account, driver documents, administration and rewards. */
:root[data-theme="light"] :is(.dw-document,.dw-vehicle,.dw-live-trip,.dw-post-gate,.coin-panel,.coin-balances article,.jp-quote,.sa-metrics article,.sa-notice) { background:#fff;color:var(--text);border-color:var(--line); }
:root[data-theme="light"] :is(.dw-account p,.dw-section-heading p,.dw-document p,.dw-document small,.dw-vehicle>header p,.dw-application p,.dw-next,.dw-help,.dw-empty,.dw-welcome>p,.dw-review p,.dw-admin-setting p,.dw-users small,.dw-audit,.dw-review-docs p,.dw-file-preview,.dw-post-gate p,.dw-live-trip header p) { color:var(--muted); }
:root[data-theme="light"] :is(.dw-role,.dw-kicker,.dw-doc-symbol,.dw-doc-actions button,.dw-badge) { color:#7d479f;background:#f4ecfb;border-color:#e0cbed; }
:root[data-theme="light"] .dw-pending { color:#89530c;background:#fff6e5;border-color:#f1d5a0; }
:root[data-theme="light"] .dw-approved { color:#216f52;background:#ecf8f1;border-color:#b6dec9; }
:root[data-theme="light"] .dw-rejected { color:#a43c64;background:#fff0f4;border-color:#e9bbcd; }
:root[data-theme="light"] .dw-selected { border-color:#b780d8; }
:root[data-theme="light"] :is(.dw-tabs,.tabs) { background:#f3eef9;border-color:var(--line); }
:root[data-theme="light"] .dw-tabs button { color:#786485; }
:root[data-theme="light"] .dw-tabs button[aria-current="page"] { background:#e9d9f7;color:#6e349b; }
:root[data-theme="light"] .dw-reason { color:#946122!important; }
:root[data-theme="light"] .dw-missing { color:var(--muted)!important; }
:root[data-theme="light"] :is(.sa-grid label,.sa-checks,.pp-search label,.jp-stops label,.jp-form-grid label,.coin-form-grid label,.coin-dialog label,.pa-device label,#pi-owner-form>label) { color:#715e80; }
:root[data-theme="light"] :is(.sa-help,.pp-selected,.pp-help,.coin-note) { color:var(--muted)!important; }
:root[data-theme="light"] :is(.sa-guide,.sa-pager,.sa-metrics small,.sa-daily small,.sa-users small,.sa-backups small,.sa-notice span,.sa-notice time,.jp-stops small,.jp-history-trip p,.jp-leg-list,.jp-stops-summary,.jp-stops-summary small,.jp-quote p,.jp-quote small,.pa-sign-in p,.pa-linked p,.pa-bootstrap p,.pa-device p,.pa-recovery,.coin-heading p,.coin-panel p,.coin-panel li,.coin-balances small,.coin-ride small,.coin-history small,.coin-network dt,.coin-batch code,.coin-schedule small) { color:var(--muted); }
:root[data-theme="light"] :is(.sa-guide summary,.pa-bootstrap code,.pa-admin code,.pa-device code,.coin-estimate,.coin-history-value strong,.coin-panel a,.coin-balances strong span,.coin-schedule span) { color:#8244af; }
:root[data-theme="light"] .pa-status { color:#8244af!important; }
:root[data-theme="light"] .coin-hero { background:linear-gradient(120deg,#f0e5fb,#fcfaff);border-color:#e0cbed; }
:root[data-theme="light"] .coin-hero h2 { color:#71389d; }
:root[data-theme="light"] :is(.coin-hero h2 span,.coin-hero p,.coin-eyebrow,.coin-orbit) { color:#805498; }
:root[data-theme="light"] :is(.coin-pill,.pp-provider,.jp-stop-index) { background:#f2eafa;color:#7c439f;border-color:#dfc9ed; }
:root[data-theme="light"] .coin-orbit { border-color:#d1ade8;box-shadow:inset 0 0 0 12px #ead9f73b,0 0 40px #d5b3ed30; }
:root[data-theme="light"] .sa-notice.unread { background:#f8f1fe;border-left-color:#a25dd1; }
:root[data-theme="light"] :is(.sa-error,.pp-error,.pa-error,.dw-form-error,.ac-field-error,.pv-error) { color:#ac315a; }
:root[data-theme="light"] .coin-error { color:#ac315a!important; }

/* Maps retain their provider attribution and original map tiles. */
:root[data-theme="light"] .map-experience { --map-border:#e3d9ed;--map-mute:#756482; }
:root[data-theme="light"] :is(.map-view-tabs,.map-city-select,.map-top-label,.map-style-switch button,.map-route-choice,.pl-card,.pl-map,.pp-map) { background:#fff;color:var(--text);border-color:var(--line); }
:root[data-theme="light"] :is(.map-demo-label,.live-indicator,.driver-car,.demo-plate,.meeting-icon,.map-location-symbol,.pl-symbol,.pl-open,.pl-close,.pl-indicator,.pl-actions button) { background:#f2eafa;color:#8151a4;border-color:#dfceec; }
:root[data-theme="light"] :is(.map-view-tabs button,.vehicle-summary,.demo-plate small,.meeting-card>div>span,.map-top-label span:not(.map-location-symbol),.map-disclosure,.map-disclosure p>span,.map-panel-note,.pl-summary p,.pl-disclosure,.pl-detail,.pl-background-note,.pl-local-note,.pl-position dt,.map-choice-pickup,.map-route-choice-top small) { color:var(--muted); }
:root[data-theme="light"] :is(.map-view-tabs button.active,.map-route-choice.selected) { color:#783ca4;background:#f0e5fa;border-color:#caa6e2;box-shadow:none; }
:root[data-theme="light"] :is(.map-route-choice-top strong,.map-choice-journey,.meeting-card strong) { color:var(--ink); }
:root[data-theme="light"] .arrival-estimate { background:linear-gradient(120deg,#9254c5,#7340ab); }
:root[data-theme="light"] :is(.map-entry-banner,.pp-attribution,.pp-results>button,.pp-results>article) { color:#6d418a;background:#f6effb;border-color:#e2cfed; }
:root[data-theme="light"] :is(.map-entry-banner>div,.map-entry-banner .text-btn) { color:#7940a4; }
:root[data-theme="light"] :is(.map-entry-banner small,.pp-results span) { color:var(--muted); }
:root[data-theme="light"] :is(.map-zoom button,.leaflet-popup-content-wrapper,.leaflet-popup-tip) { background:#fff;color:var(--ink); }
:root[data-theme="light"] .map-caption { background:#fffffff0;color:#6d5580; }

/* Chat bubbles remain violet for sent messages, light for received messages. */
:root[data-theme="light"] :is(.pc-panel,.pv-card) { background:#fff;color:var(--ink);border-color:#dec9ed;box-shadow:0 15px 55px #45295826; }
:root[data-theme="light"] :is(.pc-header,.pc-route,.pc-composer,.chat-header,.chat-form) { background:#faf7fd;border-color:var(--line); }
:root[data-theme="light"] .pc-heading h2 { color:var(--ink); }
:root[data-theme="light"] :is(.pc-heading p,.pc-contact-copy>span,.pc-route,.pc-date,.pc-message>span,.pc-disclosure,.pc-system,.pc-closed,.pv-card small,.pv-card .pv-help,.pv-people) { color:var(--muted); }
:root[data-theme="light"] :is(.pc-icon-button,.pc-contact>.ico,.pc-group-tabs button,.pc-older,.pc-sender,.pv-card header>svg) { color:#854bb0;border-color:#e0c9ef; }
:root[data-theme="light"] :is(.pc-contact:hover,.pc-contact:focus-visible,.pc-icon-button:hover) { background:#f5ecfc;border-color:#e3cef0; }
:root[data-theme="light"] :is(.pc-message,.bubble) { background:#f1eaf8;color:#41314e;border-color:#e5d9ee; }
:root[data-theme="light"] :is(.pc-message.pc-mine,.bubble.mine) { background:linear-gradient(125deg,#8340ba,#9b54cb);color:#fff;border-color:#a363cf; }
:root[data-theme="light"] :is(.pc-message.pc-mine>span,.bubble.mine .bubble-time) { color:#f3e3ff; }
:root[data-theme="light"] .pc-message.pc-mine .pc-sender { color:#f3e3ff; }
:root[data-theme="light"] .pc-composer input { background:#fff;color:var(--ink);border-color:#dfd1e9; }
:root[data-theme="light"] .pc-composer input::placeholder { color:#8b7b98; }
:root[data-theme="light"] .pc-group-tabs [aria-pressed="true"] { background:#eee0fa;color:#75389f; }
:root[data-theme="light"] .pc-head { background:#eee1fa;border-color:#d4b7eb; }
:root[data-theme="light"] .pc-demo { background:#f3eafa;color:#81529d;border-color:#dfcaec; }
:root[data-theme="light"] .pv-card button { background:#f0e5fa;color:#7843a0;border-color:#ddc7ed; }
:root[data-theme="light"] .pv-card .pv-hangup { background:#a83d60;color:#fff;border-color:#a83d60; }
:root[data-theme="light"] .pv-card .pv-answer { background:#287958;color:#fff;border-color:#287958; }
:root[data-theme="light"] .pv-card button[aria-pressed="true"] { background:#8445b5;color:#fff; }
:root[data-theme="light"] :is(.chat-list,.chat-bubble-area) { background:#fbf9fd; }
:root[data-theme="light"] .chat-contact.active { background:#eee1f8;border-color:#dec6ed; }

/* Install invitation and reference pages share the light palette. */
:root[data-theme="light"] .pi-install { background:#f5effb;color:var(--ink);border-color:#decaec;box-shadow:var(--shadow); }
:root[data-theme="light"] :is(.pi-install-main p,.pi-install-guide,.pi-install-guide p) { color:var(--muted); }
:root[data-theme="light"] .pi-install-actions button { background:#fff;color:#76439d;border-color:#dfc8ee; }
:root[data-theme="light"] .pi-install-actions .pi-install-primary { background:var(--accent-gradient);color:#fff; }
:root[data-theme="light"] :is(.af-header h1,.af-question-heading strong,.af-status-note strong,.af-principles strong) { color:var(--ink); }
:root[data-theme="light"] :is(.af-status-note,.af-principles>div,.af-question,.af-question[open],.af-sources,.af-empty,.af-mini-ledger,.af-layer-grid>div,.af-table-wrap,.af-formula,.af-route-demo) { background:#fff;border-color:var(--line);box-shadow:none; }
:root[data-theme="light"] :is(.af-intro,.af-status-note p,.af-principles span,.af-list-heading>span,.af-summary-text,.af-answer,.af-layer-grid p,.af-table-wrap td,.af-table-wrap tbody th,.af-table-wrap caption,.af-sources-heading p,.af-source-links span,.af-footer-note,.af-route-demo small,.af-formula span,.af-callout) { color:var(--muted); }
:root[data-theme="light"] :is(.af-eyebrow,.af-admin-badge,.af-status-note>svg,.af-principles svg,.af-expand,.af-chip,.af-chip span,.af-number,.af-category-label,.af-chevron,.af-inline-link,.af-formula code,.af-ledger-total span,.af-ledger-total strong,.af-source-group-title,.af-source-links a) { color:#8050a3; }
:root[data-theme="light"] :is(.af-search,.af-chip,.af-number,.af-layer-grid>div,.af-source-links a,.af-admin-badge) { background:#f8f3fc;border-color:#e2d4ed; }
:root[data-theme="light"] .af-search input { color:var(--ink); }
:root[data-theme="light"] .af-chip.is-active { background:#ece0f8;color:#7737a6;border-color:#ceb1e4; }
:root[data-theme="light"] .af-chip.is-active span { color:#7737a6; }
:root[data-theme="light"] .af-table-wrap thead th { color:#71418f;background:#f5eefb; }
:root[data-theme="light"] :is(.af-total-row td,.af-total-row th) { color:#6f348f!important; }
:root[data-theme="light"] .af-button-primary { color:#fff;background:var(--accent-gradient); }
@media(max-width:700px) {
  .top-actions>.theme-toggle { width:35px;height:37px;min-height:37px;border-radius:12px; }
  :root[data-theme="light"] .post-submit { background:#fffffff5;border-color:#dfcdeb;box-shadow:0 6px 30px #49305c24; }
  :root[data-theme="light"] .hero:after { background:linear-gradient(90deg,#f4effbfa,#f4effbdb 60%,#f4effb24); }
}
