/* UI consistency is loaded once by brand-unifier.js. */
/* ZCONNECT MASTER BRAND SYSTEM — ONE TAP AWAY
   Shared design tokens and components for every first-party ZConnect page.
   Tenant-owned brand pages explicitly opt out.
*/
:root{
 --zc-black:#090909;--zc-ink:#171714;--zc-charcoal:#22211e;
 --zc-ivory:#f5f3ed;--zc-paper:#fffefa;--zc-stone:#e8e3d8;
 --zc-gold:#c4a64f;--zc-champagne:#d8c184;--zc-signal:#c4a64f;
 --zc-muted:#77746d;--zc-line:#ded9ce;
 --zc-display:Manrope,Inter,ui-sans-serif,system-ui,sans-serif;
 --zc-body:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 --zc-radius:12px;--zc-radius-sm:8px;
 --zc-shadow:0 18px 48px rgba(0,0,0,.10);
 --zc-focus:0 0 0 3px rgba(196,166,79,.24);
 --bg:var(--zc-ivory);--surface:var(--zc-paper);--panel:var(--zc-paper);--panel2:#efede6;
 --line:var(--zc-line);--text:var(--zc-ink);--muted:var(--zc-muted);
 --accent:var(--zc-gold);--primary:var(--zc-signal);--gold:var(--zc-gold);--yellow:var(--zc-signal);
 --zc-brand-accent:var(--zc-signal);--zc-brand-gold:var(--zc-gold);
 color-scheme:light;
}
html{font-family:var(--zc-body);scroll-behavior:smooth}
body{font-family:var(--zc-body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4,.page-heading h1,.hero h1,.head h1{font-family:var(--zc-display);letter-spacing:-.045em}
:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--zc-gold)!important;outline-offset:3px}
:where(button,a){-webkit-tap-highlight-color:transparent}
:where(.panel,.card,.tile,.stat,.module,.form-card,.content-panel,.workspace-card){border-radius:var(--zc-radius)}
:where(.btn,.submit,.connect-submit,.search-btn,.cta){font-weight:800;letter-spacing:-.015em;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
:where(.btn,.submit,.connect-submit,.search-btn,.cta):hover{filter:brightness(1.035)}
:where(.btn,.submit,.connect-submit,.search-btn,.cta):active{transform:translateY(1px)}
:where(.eyebrow,.kicker,.tag,.nav-label){letter-spacing:.15em}
:where(.brand-lockup,.connect-brand,.login-brand,.top .brand,.nav .logo,.topbar .brand,.live-brand,.os-brand,.zc-brand-lockup,.zc-auto-brand,.brand[data-zconnect-brand]){display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
:where(.brand-lockup,.connect-brand,.login-brand,.top .brand,.nav .logo,.topbar .brand,.live-brand,.os-brand,.zc-brand-lockup,.zc-auto-brand,.brand[data-zconnect-brand]) img,.zc-brand-mark{width:38px;height:38px;max-width:38px;max-height:38px;object-fit:contain;flex:0 0 auto;border-radius:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}
.zc-wordmark{display:grid;gap:4px;font-family:var(--zc-display);font-size:24px;font-weight:850;letter-spacing:-.085em;line-height:.9;color:inherit}
.zc-wordmark span{font-weight:450;letter-spacing:-.065em}
.zc-wordmark small{font:750 8px/1.2 var(--zc-body);letter-spacing:.19em;text-transform:uppercase;opacity:.68;margin-top:3px}
:where(.topbar,.top,.nav,header){border-color:var(--zc-line)}
:where(.topbar,.top){min-height:64px}
:where(.btn.primary,.btn:not(.ghost):not(.secondary),.submit,.connect-submit,.nav a.cta){background:var(--zc-signal);border-color:var(--zc-signal);color:#111}
:where(.btn,.submit,.connect-submit,.search-btn,.cta){border-radius:8px}
:where(.btn.ghost,.btn.secondary){border-radius:8px}
:where(.pill,.badge){font-weight:800;letter-spacing:.035em}
:where(.panel,.tile,.module,.stat,.form-card,.content-panel){box-shadow:0 3px 16px rgba(0,0,0,.035)}
:where(input,select,textarea){accent-color:var(--zc-gold)}
::selection{background:rgba(196,166,79,.28);color:inherit}
html[data-theme="dark"]{
 --bg:#090909;--surface:#141414;--panel:#141414;--panel2:#1c1c1a;
 --line:#30302c;--text:#f4f1e8;--muted:#aaa69b;
 --accent:#d8c184;--primary:#e0c15f;--gold:#d8c184;--yellow:#e0c15f;
 --zc-brand-accent:#e0c15f;--zc-brand-gold:#d8c184;color-scheme:dark;
}
html[data-theme="light"]{
 --bg:var(--zc-ivory);--surface:var(--zc-paper);--panel:var(--zc-paper);--panel2:#efede6;
 --line:var(--zc-line);--text:var(--zc-ink);--muted:var(--zc-muted);
 --accent:var(--zc-gold);--primary:var(--zc-signal);--gold:var(--zc-gold);--yellow:var(--zc-signal);
 color-scheme:light;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]){
 background-color:var(--zc-ivory)!important;color:var(--zc-ink)!important
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.panel,.card,.tile,.stat,.module,.form-card,.content-panel,.workspace-card,.section,.modal-dialog,.modal-content,.box,.surface,.table-wrap){
 background-color:var(--zc-paper);border-color:var(--zc-line);color:var(--zc-ink)
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(h1,h2,h3,h4,strong,b,label,.title){color:var(--zc-ink)}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(p,small,.muted,.hint,.description,.subtitle){color:var(--zc-muted)}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(input,select,textarea){
 background:#fffefa!important;border-color:#d8d2c5!important;color:#171714!important
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.btn.primary,.btn.gold,.btn.gold-btn,.submit,.cta,.connect-submit){
 background:var(--zc-signal)!important;border-color:var(--zc-signal)!important;color:#111!important
}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]){
 background-color:#090909!important;color:#f2f0e9!important
}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(header,.top,.topbar,.sidebar,.nav,.panel,.card,.tile,.stat,.module,.form-card,.section,.workspace-card,.content-panel,.table-wrap,.modal-dialog,.modal-content,.box,.surface){
 background-color:#141414;border-color:#303030;color:#f2f0e9
}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(h1,h2,h3,h4,strong,b,label,.title,.brand){color:#f4f1e8}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(p,small,.muted,.hint,.description,.eyebrow,.subtitle){color:#aaa69b}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(input,select,textarea){
 background:#1b1b1b!important;border-color:#414141!important;color:#f4f1e8!important
}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(a:not(.btn):not(.button)){color:#e0cc92}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(table th,table td,hr){border-color:#333}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.btn.primary,.btn.gold,.btn.gold-btn,.submit,.cta,.connect-submit){
 background:#c4a64f!important;border-color:#c4a64f!important;color:#17150f!important
}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.btn.secondary,.btn.ghost){
 background:#202020!important;border-color:#444!important;color:#eee!important
}
html[data-theme="dark"] .zc-wordmark{color:inherit}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media(max-width:640px){.zc-wordmark{font-size:20px}.zc-brand-mark{width:34px;height:34px}}
/* Dashboard mobile header: keep the ZConnect identity clear and move account actions below it. */
@media(max-width:720px){
 body:has(#pwa-install):has(#offline-prepare):has(#signout) .topbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:12px 14px!important;min-height:0!important}
 body:has(#pwa-install):has(#offline-prepare):has(#signout) .topbar>.brand-lockup{order:0!important;align-self:flex-start!important;min-width:0!important;max-width:100%!important;margin:0 0 2px!important}
 body:has(#pwa-install):has(#offline-prepare):has(#signout) .topbar>.top-actions{order:1!important;width:100%!important;max-width:none!important;min-width:0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:7px!important;margin:0!important}
 body:has(#pwa-install):has(#offline-prepare):has(#signout) #user-email{grid-column:1/-1!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;padding:2px 1px 4px!important}
 body:has(#pwa-install):has(#offline-prepare):has(#signout) .top-actions>button{width:100%!important;min-width:0!important;min-height:38px!important;margin:0!important;padding:8px 9px!important;white-space:normal!important;font-size:11px!important;line-height:1.2!important;justify-content:center!important}
 body:has(#pwa-install):has(#offline-prepare):has(#signout) .top-actions>[data-theme-toggle]{min-width:0!important}
}
@media(max-width:360px){body:has(#pwa-install):has(#offline-prepare):has(#signout) .topbar{padding:10px!important}body:has(#pwa-install):has(#offline-prepare):has(#signout) .top-actions{gap:6px!important}body:has(#pwa-install):has(#offline-prepare):has(#signout) .top-actions>button{font-size:10px!important;padding:7px 6px!important}}
/* Keep utility actions out of the compact mobile brand bar; desktop remains unchanged. */
@media(max-width:720px){
 body:has(#pwa-install):has(#offline-prepare):has(#signout) .topbar>.top-actions{display:none!important}
 body:has(#pwa-install):has(#offline-prepare):has(#signout) .topbar{min-height:58px!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;padding:10px 14px!important}
 body:has(#pwa-install):has(#offline-prepare):has(#signout) .topbar>.brand-lockup{margin:0!important}
}
@media print{html,body{color-scheme:light!important}}

/* LIGHT MODE LEGIBILITY PASS — retain ZConnect ivory / black / gold identity. */
html[data-theme="light"]{
 --zc-muted:#59574f;
 --muted:#59574f;
 --text:#171714;
 --line:#d5d0c4;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]){
 color:#171714!important;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(p,small,.muted,.hint,.description,.subtitle,.tiny,.help-text,.form-hint,.supporting-text){
 color:#59574f!important;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(label,.label,.eyebrow,.kicker,.nav-label,.field-label,th){
 color:#454239!important;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(h1,h2,h3,h4,h5,strong,b,.title,.section-title,.stat,.value){
 color:#171714!important;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(a:not(.btn):not(.button):not(.cta)){
 color:#70571f!important;
 text-decoration-thickness:1px;
 text-underline-offset:3px;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(input,select,textarea){
 color:#171714!important;
 background:#fffefa!important;
 border-color:#bdb7a9!important;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(input,textarea)::placeholder{
 color:#716e65!important;
 opacity:1;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.panel,.card,.tile,.stat,.module,.form-card,.content-panel,.workspace-card,.section,.modal-dialog,.modal-content,.box,.surface,.table-wrap){
 border-color:#d5d0c4;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(table th,table td,hr,.divider){
 border-color:#d5d0c4;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(button,a,input,select,textarea,[tabindex]):focus-visible{
 outline:2px solid #806526!important;
 outline-offset:3px;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.btn.primary,.btn.gold,.btn.gold-btn,.submit,.cta,.connect-submit){
 color:#111!important;
}

/* ZCONNECT INSTALL GUIDE — editorial, responsive, high-contrast PWA onboarding. */
.install-guide-overlay{position:fixed;inset:0;z-index:15000;display:grid;place-items:center;padding:24px;background:rgba(7,7,7,.76);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);overflow-y:auto}
.install-guide{--ig-ink:#171714;--ig-muted:#5d5a52;--ig-paper:#fbfaf6;--ig-line:#e1dccf;position:relative;width:min(100%,560px);max-height:min(92dvh,900px);overflow-y:auto;padding:clamp(24px,5vw,42px);border:1px solid #d8c99f;border-radius:22px;background:var(--ig-paper);color:var(--ig-ink);box-shadow:0 35px 110px #0008;font-family:inherit}
.install-guide-close{position:absolute;top:18px;right:18px;width:38px;height:38px;border:1px solid var(--ig-line);border-radius:50%;background:#fff;color:#27251f;font-size:24px;line-height:1;cursor:pointer}
.install-guide-brand{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:900;letter-spacing:.16em;color:#1b1a16}
.install-guide-brand small{display:block;margin-top:4px;font-size:8px;letter-spacing:.2em;color:#766b50}
.install-guide-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#10100f;color:#e5c75d;font-size:19px;font-weight:900;letter-spacing:-.08em}
.install-guide-eyebrow{margin-top:34px;color:#806526;font-size:9px;font-weight:900;letter-spacing:.2em}
.install-guide h2{margin:10px 0 12px;color:#171714;font-size:clamp(36px,7vw,54px);line-height:.98;letter-spacing:-.065em;font-weight:850}
.install-guide h2 em{color:#8b7134;font-style:normal}
.install-guide-intro{max-width:440px;margin:0;color:#555249;font-size:14px;line-height:1.75}
.install-guide-device{display:flex;align-items:center;gap:13px;margin:25px 0 19px;padding:14px;border:1px solid #d9cfb5;border-radius:13px;background:#f3efe4}
.install-guide-device-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:11px;background:#151512;color:#e4c45c;font-size:20px}
.install-guide-device>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}
.install-guide-device b{color:#1a1915;font-size:13px}
.install-guide-device small{color:#5d584c;font-size:11px;line-height:1.5}
.install-guide-status{padding:6px 8px;border:1px solid #cdbb8b;border-radius:5px;color:#70591f;font-size:8px;font-weight:900;letter-spacing:.12em}
.install-guide-steps{display:grid;gap:0;border-top:1px solid var(--ig-line)}
.install-guide-step{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;padding:16px 0;border-bottom:1px solid var(--ig-line)}
.install-guide-step>span{color:#967a35;font-size:11px;font-weight:900;letter-spacing:.08em;padding-top:2px}
.install-guide-step b{display:block;color:#1a1915;font-size:13px;font-weight:800}
.install-guide-step p{margin:5px 0 0;color:#5b584f;font-size:12px;line-height:1.65}
.install-guide-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:21px}
.install-guide-actions:has(#install-guide-native){grid-template-columns:1fr 1fr}
.install-guide-primary,.install-guide-secondary{min-height:48px;padding:12px 16px;border-radius:9px;font:800 11px/1.2 inherit;letter-spacing:.04em;cursor:pointer}
.install-guide-primary{border:1px solid #d8b84e;background:#e2c45e;color:#17140a}
.install-guide-primary:hover{background:#edcf69}
.install-guide-secondary{border:1px solid #c9c2b2;background:transparent;color:#27251f}
.install-guide-secondary:hover{background:#f0ede5}
.install-guide-foot{margin:16px 0 0;color:#777166;font-size:10px;line-height:1.6;text-align:center}
.install-guide button:focus-visible{outline:3px solid #8b6b25;outline-offset:3px}
@media(max-width:560px){.install-guide-overlay{place-items:end center;padding:0;background:rgba(7,7,7,.72)}.install-guide{width:100%;max-height:94dvh;padding:25px 20px calc(22px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;border-bottom:0}.install-guide-eyebrow{margin-top:27px}.install-guide h2{font-size:42px}.install-guide-intro{font-size:13px}.install-guide-device{margin:20px 0 14px}.install-guide-step{padding:14px 0}.install-guide-actions{grid-template-columns:1fr}.install-guide-actions:has(#install-guide-native){grid-template-columns:1fr 1fr}}
@media(max-width:360px){.install-guide{padding-left:16px;padding-right:16px}.install-guide h2{font-size:37px}.install-guide-device{gap:9px}.install-guide-status{font-size:7px;padding:5px}}
@media(prefers-reduced-motion:no-preference){.install-guide{animation:installGuideIn .22s ease-out}.install-guide-overlay{animation:installBackdropIn .18s ease-out}@keyframes installGuideIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes installBackdropIn{from{opacity:0}to{opacity:1}}}
html[data-theme="dark"] .install-guide{--ig-paper:#151512;--ig-ink:#f4f0e5;--ig-muted:#c1bcaf;--ig-line:#39362e;background:#151512;color:#f4f0e5;border-color:#51452b}
html[data-theme="dark"] .install-guide-brand,html[data-theme="dark"] .install-guide h2,html[data-theme="dark"] .install-guide-device b,html[data-theme="dark"] .install-guide-step b{color:#f4f0e5}
html[data-theme="dark"] .install-guide-brand small,html[data-theme="dark"] .install-guide-intro,html[data-theme="dark"] .install-guide-device small,html[data-theme="dark"] .install-guide-step p,html[data-theme="dark"] .install-guide-foot{color:#c0bbad}
html[data-theme="dark"] .install-guide-device{background:#211f19;border-color:#51452b}
html[data-theme="dark"] .install-guide-step{border-color:#39362e}
html[data-theme="dark"] .install-guide-close,html[data-theme="dark"] .install-guide-secondary{background:#211f1a;border-color:#514b3b;color:#f2eee3}
/* ZCONNECT UNIFIED PRODUCT UI — v3
   Gold is the brand accent; black and ivory carry primary interface contrast.
   LED/status colours remain semantic and are not recoloured by the brand layer.
*/
:root{
 --zc-black:#090909;--zc-ink:#171714;--zc-charcoal:#22211e;
 --zc-ivory:#f5f3ed;--zc-paper:#fffefa;--zc-stone:#e8e3d8;
 --zc-gold:#c4a64f;--zc-champagne:#d8c184;--zc-signal:#c4a64f;
 --zc-muted:#77746d;--zc-line:#ded9ce;
 --zc-display:Manrope,Inter,ui-sans-serif,system-ui,sans-serif;
 --zc-body:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 --zc-radius:12px;--zc-radius-sm:8px;
 --zc-shadow:0 14px 40px rgba(20,18,12,.07);
 --zc-focus:0 0 0 3px rgba(196,166,79,.24);
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]){
 background:var(--zc-ivory);color:var(--zc-ink);
 font-family:var(--zc-body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(h1,h2,h3,h4,.page-heading h1,.head h1,.section-title){
 font-family:var(--zc-display);letter-spacing:-.045em;color:var(--zc-ink);
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.panel,.card,.tile,.stat,.module,.form-card,.content-panel,.workspace-card,.section,.table-wrap,.box,.surface){
 border-color:var(--zc-line);border-radius:var(--zc-radius);
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.panel,.card,.tile,.stat,.module,.form-card,.content-panel,.workspace-card,.section,.table-wrap,.box,.surface){
 box-shadow:0 3px 16px rgba(0,0,0,.035);
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.btn.primary,.btn.gold,.btn.gold-btn,.btn:not(.ghost):not(.secondary):not(.tertiary):not(.light),.submit,.connect-submit,.search-btn,.cta){
 background:#c4a64f!important;border-color:#c4a64f!important;color:#17150f!important;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.btn.primary,.btn.gold,.btn.gold-btn,.btn:not(.ghost):not(.secondary):not(.tertiary):not(.light),.submit,.connect-submit,.search-btn,.cta):hover{
 background:#b3953f!important;border-color:#b3953f!important;color:#17150f!important;box-shadow:0 7px 18px rgba(0,0,0,.12);
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.btn.gold,.btn.gold-btn,.gold-btn,.pill,.badge){
 background:var(--zc-gold);border-color:var(--zc-gold);color:#171714;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(input,select,textarea,.field){
 color:#171714;background:#fffefa;border-color:#d8d2c5;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(input,select,textarea,.field)::placeholder{color:#858176;opacity:1}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(input,select,textarea,.field):focus{
 outline:0;border-color:var(--zc-gold);box-shadow:var(--zc-focus);
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.muted,.hint,.description,.subtitle,small){color:#6f6b62}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(th,.table-head){background:#f0ede5;color:#65552d}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(td,th){border-color:var(--zc-line)}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) a:not(.btn):not(.button){text-underline-offset:3px}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]){
 background:#090909;color:#f4f1e8;
}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.panel,.card,.tile,.stat,.module,.form-card,.content-panel,.workspace-card,.section,.table-wrap,.box,.surface){
 background:#141414;border-color:#30302c;color:#f4f1e8;
}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(h1,h2,h3,h4,strong,b,label,.title){color:#f4f1e8}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(p,small,.muted,.hint,.description,.subtitle){color:#aaa69b}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(input,select,textarea,.field){background:#1b1b1b!important;border-color:#414141!important;color:#f4f1e8!important}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(th,.table-head){background:#201f1b;color:#d8c184}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(td,th){border-color:#30302c}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.btn.primary,.btn.gold,.btn.gold-btn,.btn:not(.ghost):not(.secondary):not(.tertiary):not(.light),.submit,.connect-submit,.search-btn,.cta){background:#c4a64f!important;border-color:#c4a64f!important;color:#17150f!important}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.btn.ghost,.btn.secondary){background:transparent!important;border-color:#4b473c!important;color:#f4f1e8!important}
:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--zc-gold)!important;outline-offset:3px}
@media(max-width:720px){
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.shell,.container,.wrap){max-width:100%;width:100%;padding-left:clamp(12px,3.5vw,20px);padding-right:clamp(12px,3.5vw,20px)}
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.toolbar,.page-heading,.head){gap:12px;flex-wrap:wrap}
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.toolbar input,.toolbar select,.toolbar .field){min-width:0;max-width:100%}
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.table-wrap,.tablewrap,.table-container){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Global dark-mode heading contrast: keep every page, section and banner H1 readable. */
html[data-theme="dark"] body :is(h1,.page-heading h1,.hero h1,.hero-copy h1,.banner h1,.banner-title,.section-banner h1,.intro h1){color:#f4f1e8!important}

/* ZCONNECT MOBILE-FIRST BASELINE — mobile is the primary interaction target. */
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body{ overflow-x:clip; }
img,video,canvas,iframe{ max-width:100%; }
@media(max-width:760px){
  body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]){min-width:0;}
  body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(button,.btn,.button,.submit,.cta,[role="button"]){min-height:44px;}
  body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(input,select,textarea,.field){max-width:100%;font-size:16px;}
  body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.toolbar,.actions,.button-row,.page-heading,.head){flex-wrap:wrap;min-width:0;}
  body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.shell,.container,.wrap){width:100%;max-width:100%;}
}
@media(max-width:420px){
  body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.card,.panel,.module,.content-panel){padding:14px;}
}