:root{--qaf-font-scale:1;--surface-2:#f5ede2;--button-bg:#9b4129}
html[data-text-size=large]{--qaf-font-scale:1.15}html[data-text-size=larger]{--qaf-font-scale:1.3}
.appearance-toolbar{position:fixed;top:12px;inset-inline-end:135px;z-index:1100}.appearance-toolbar>summary{list-style:none;width:43px;height:43px;display:grid;place-items:center;cursor:pointer;border:1px solid var(--line);border-radius:50%;background:var(--white);font-size:21px}.appearance-toolbar>summary::-webkit-details-marker{display:none}.appearance-toolbar>.panel{position:absolute;inset-inline-end:0;top:35px;width:min(340px,calc(100vw - 24px));max-height:80vh;overflow:auto;box-shadow:0 15px 60px #0003}.appearance-choices{display:flex;flex-wrap:wrap;gap:8px}.appearance-choices .button{flex:1;min-width:75px}.appearance-choices [aria-pressed=true]{background:var(--button-bg)!important;color:#fff!important;border-color:var(--button-bg)!important}.appearance-settings h3{margin-top:24px}.type-preview{padding:16px;border-radius:12px;background:var(--surface-2);line-height:1.9;margin-top:18px}.first-preferences{max-width:640px;margin:65px auto;padding:22px}.first-preferences .brand-block{max-width:190px}.topbar{padding-inline-end:185px}
html[data-theme=dark]{--cream:#171615;--white:#24211f;--ink:#f5ebdd;--muted:#c6b49f;--line:#4b4039;--rust:#f29a6d;--surface-2:#302923;--button-bg:#a64a2b;color-scheme:dark;background:var(--cream);color:var(--ink)}
html[data-theme=dark] body{background:var(--cream);color:var(--ink)}
html[data-theme=dark] :is(.panel,.sidebar,.login-form,.metric,.qa-invite-summary,.qa-invite-body,.delivery-v2,.member-empty,.delivery-empty,.member-mobile-nav,.brand-result,.wallet-card,.qaf-language){background:var(--white);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(input,textarea,select){background:#1c1a19;color:var(--ink);border-color:#605144}html[data-theme=dark] :is(input,textarea)::placeholder{color:#ae9c86}
html[data-theme=dark] :is(.local-banner,.notice,.panel.warm,.member-task,.member-next,.delivery-status,.delivery-details,.delivery-choice,.delivery-window,.type-preview,.avatar){background:var(--surface-2);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.sidebar button,.member-help,.member-section-heading>span,.member-stats span,.form-hint,.delivery-tracking strong,.delivery-tracking small,.delivery-form-section h2,.delivery-status h3,.member-next strong,.member-next small,.member-next>span>span){color:var(--ink)}
html[data-theme=dark] :is(.sidebar button.active,.member-filters button.active){background:#6a3827;color:#ffdfc1;border-color:#a65c3c}
html[data-theme=dark] :is(.button,.member-filters button.active){background:var(--button-bg);border-color:var(--button-bg);color:#fff}
html[data-theme=dark] :is(.button.secondary,.qa-back,.member-filters button,.member-stats button,.member-bell,.member-next-icon,.delivery-choice button,.delivery-choice .active,.track-dot){background:var(--white);color:var(--rust);border-color:var(--line)}
html[data-theme=dark] :is(.button.danger,.badge.red){background:#be332c;border-color:#be332c;color:white}html[data-theme=dark] .badge.confirmed{background:#237842;color:white}
html[data-theme=dark] .badge:not(.red):not(.confirmed):not(.good){background:#453325;color:#ffe0b8}html[data-theme=dark] .badge.good{background:#243e2b;color:#bce5c4}
html[data-theme=dark] :is(th,td,.account-row,.visit-row,.topbar,.delivery-form-section,.delivery-summary){border-color:var(--line)}html[data-theme=dark] th{background:#302923;color:#f5ebdd}
html[data-theme=dark] .delivery-progress{background:#4b4039}html[data-theme=dark] .track-dot.done,html[data-theme=dark] .track-dot.current{background:#a64a2b;color:white}
html[data-theme=dark] .campaign-art{background:#e66c3b}html[data-theme=dark] .campaign-copy{color:#fffefa}
html[data-theme=dark] :is(.qaf-pass-qr,.qr-area){background:white;color:#3f3027}
@media(max-width:600px){.topbar{padding-inline-end:0;padding-top:48px}.appearance-toolbar{top:9px;inset-inline-end:126px}.appearance-toolbar>.panel{position:fixed;inset-inline:12px;top:44px;width:auto}.first-preferences{padding:16px}.appearance-choices .button{padding-inline:10px}}
@media print{html[data-theme=dark]{--cream:white;--white:white;--ink:#222;--muted:#555;--line:#ddd;--rust:#9b4129;background:white;color:#222;color-scheme:light}html{--qaf-font-scale:1!important}.appearance-toolbar,.qaf-language{display:none!important}html[data-theme=dark] body,html[data-theme=dark] th,html[data-theme=dark] td{background:white!important;color:#222!important}}

html[data-theme=light]{color-scheme:light}
body{font-size:calc(16px * var(--qaf-font-scale,1));accent-color:#e66c3b}.qaf-pass,.member-pass-preview{--qaf-font-scale:1}
html[data-theme=dark] :is(.workspace,.member-layout .workspace,.brand-page,.login-stage){background:var(--cream);color:var(--ink)}
html[data-theme=dark] button.button.secondary,html[data-theme=dark] .member-filters button:not(.active){background:var(--white);color:var(--rust);border-color:var(--line)}
html[data-theme=dark] .member-stats strong,html[data-theme=dark] .metric strong{color:var(--rust)}
html[data-theme=dark] .member-editorial-copy :is(h1,h2,p,span){color:#fff4e6}
/* Keep the two display controls on one baseline without emoji font metrics. */
.qaf-language{height:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;line-height:1;padding-block:0}
.appearance-toolbar>summary{width:44px;height:44px;padding:0;line-height:1;vertical-align:middle}
.appearance-toolbar>summary::marker{content:''}
.appearance-toolbar .appearance-symbol{width:21px;height:21px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:var(--ink)}
/* Shared surfaces must always inherit the matching foreground in both themes. */
:root{--panel:var(--white);--border:var(--line)}
.career-job-meta>div{background:var(--white);color:var(--ink);border-color:var(--line)}
.career-job-meta :is(span,strong){color:inherit;opacity:1}.career-job-meta span{color:var(--muted)}
.career-job-header,.career-job-section,.career-job-footer,.career-job-copy{color:var(--ink)}
.career-job-copy li::marker{color:var(--rust)}
html[data-theme=dark] :is(.career-job-meta>div,.brand-access-card,.qaf-ui-dialog){background:var(--white);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.security-alert,.qaf-dialog-feedback,.form-error){color:#ffd3ca}
html[data-theme=dark] .security-alert{background:#3b211e;border-color:#d87868}
html[data-theme=dark] .favorite-star.is-favorite{background:#453719;color:#ffe59b;border-color:#a98a43}
html[data-theme=dark] .member-mobile-nav button{color:var(--muted)}
html[data-theme=dark] .member-mobile-nav button.active{background:#503023;color:#ffd8b8}
html[data-theme=dark] .qaf-ui-dialog input[readonly]{background:var(--cream);color:var(--ink)}
html[data-theme=dark] :is(input,textarea,select):disabled{color:#c6b49f;opacity:1;background:#302923}
html[data-theme=dark] :is(input,textarea,select):focus-visible{outline:2px solid #f29a6d;outline-offset:2px}
/* System-wide paired surfaces, including delivery, support and admin dialogs. */
html[data-theme=dark] :is(.demo-credentials,.link-box,.brand-page .check-result,.qa-back span,.delivery-private,.delivery-upload,.invitation-dialog,.invitation-dialog header){background:var(--white);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.delivery-type,.delivery-form-section h2 span,.push-recipient-list .check:has(input:checked)){background:var(--surface-2);color:var(--rust);border-color:var(--line)}
html[data-theme=dark] .form-error{background:#3b211e;color:#ffd3ca}
html[data-theme=dark] .qa-invite-art{background:var(--surface-2);color:var(--ink)}
html[data-theme=dark] :is(.qa-invite-summary,.qa-invite-body,.delivery-private,.delivery-upload,.invitation-dialog) :is(h1,h2,h3,h4,label,summary){color:var(--ink)}
html[data-theme=dark] :is(.member-card .badge,.badge.gold){background:#453719;color:#ffe59b}
html[data-theme=dark] :is(.muted,.form-hint,.delivery-caption,.delivery-tracking small){color:var(--muted)}
html[data-theme=dark] a:not(.button){color:var(--rust)}
html[data-theme=dark] input::file-selector-button{background:var(--surface-2);color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:6px 10px}
html[data-theme=light] :is(.qaf-ui-dialog,.invitation-dialog){background:var(--white);color:var(--ink)}
