/* ZConnect UI consistency layer — canonical finishing rules.
   Keep page-specific layouts and behavior; normalize shared visual language only. */
:root{
 --zc-ui-bg:#f5f3ed;--zc-ui-surface:#fffefa;--zc-ui-panel:#efede6;
 --zc-ui-ink:#171714;--zc-ui-muted:#59574f;--zc-ui-line:#d5d0c4;
 --zc-ui-gold:#c4a64f;--zc-ui-gold-dark:#806526;
 --zc-ui-radius:12px;--zc-ui-control-radius:9px;
 --zc-ui-control-height:44px;
}
html[data-theme="light"]{
 color-scheme:light;
 --zc-ui-bg:#f5f3ed;--zc-ui-surface:#fffefa;--zc-ui-panel:#efede6;
 --zc-ui-ink:#171714;--zc-ui-muted:#59574f;--zc-ui-line:#d5d0c4;
}
html[data-theme="dark"]{
 color-scheme:dark;
 --zc-ui-bg:#090909;--zc-ui-surface:#141414;--zc-ui-panel:#1c1c1a;
 --zc-ui-ink:#f4f1e8;--zc-ui-muted:#aaa69b;--zc-ui-line:#30302c;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]){
 font-family:var(--zc-body,Inter,ui-sans-serif,system-ui,sans-serif);
 color:var(--zc-ui-ink);
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.panel,.card,.tile,.module,.form-card,.content-panel,.workspace-card,.section,.box,.surface,.table-wrap,.modal-dialog,.modal-content){
 border-color:var(--zc-ui-line);
 border-radius:var(--zc-ui-radius);
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(input,select,textarea){
 min-height:var(--zc-ui-control-height);
 border-radius:var(--zc-ui-control-radius);
 border-color:var(--zc-ui-line);
 font:inherit;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) textarea{min-height:100px}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(button,.btn,.button,.submit,.cta){
 min-height:var(--zc-ui-control-height);
 border-radius:var(--zc-ui-control-radius);
 font-family:inherit;
}
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:var(--zc-ui-gold);border-color:var(--zc-ui-gold);color:#111;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.btn.secondary,.btn.ghost){
 border-color:var(--zc-ui-line);
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.page-heading,.section-heading,.modal-header){
 gap:12px;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.muted,.tiny,.hint,.description,.subtitle,.help-text,.form-hint){
 color:var(--zc-ui-muted);
}
.theme-switch,.zc-global-theme-switch{
 min-height:44px;border-radius:999px;font:700 11px/1.2 var(--zc-body,Inter,system-ui,sans-serif);
}
html[data-theme="light"] .theme-switch{--theme-switch-border:#d5d0c4;--theme-switch-bg:#fffefa;--theme-switch-text:#55451c}
html[data-theme="dark"] .theme-switch{--theme-switch-border:#414039;--theme-switch-bg:#1b1b19;--theme-switch-text:#e5d7b1}
:where(button,a,input,select,textarea,[tabindex]):focus-visible{
 outline:2px solid var(--zc-ui-gold-dark,var(--zc-ui-gold))!important;outline-offset:3px;
}
[hidden]{display:none!important}
@media(max-width:640px){
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(button,.btn,.button,.submit,.cta){min-height:44px}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* PROJECT-WIDE RESPONSIVE INTEGRITY — QR & NFC layout standard.
   Apply the same clean, contained, task-first rhythm across ZConnect pages.
   No business logic, page flow, permissions or component behaviour is changed. */
html{width:100%;max-width:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]){
 width:100%;max-width:100%;min-width:320px;overflow-x:clip;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(main,header,nav,section,article,aside,footer,form,fieldset,.shell,.wrap,.container,.content,.main,.app-layout,.panel,.card,.module,.workspace-card,.content-panel,.form-card,.box,.surface){
 min-width:0;max-width:100%;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(img,video,canvas,svg,iframe){
 max-width:100%;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(h1,h2,h3,h4,h5,h6,p,small,strong,label,summary,a,button,th,td,li,span){
 overflow-wrap:anywhere;word-break:normal;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(input,select,textarea,button,.btn,.button,.submit,.cta,[role="button"]){
 min-width:0;max-width:100%;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.page-heading,.section-heading,.toolbar,.actions,.button-row,.connection-row,.head,.top-actions){
 display:flex;flex-wrap:wrap;align-items:center;gap:10px;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.page-heading>*,.section-heading>*,.toolbar>*,.actions>*,.button-row>*,.connection-row>*,.head>*){
 min-width:0;max-width:100%;
}
/* Preserve each page's intended grid columns; shared rules only prevent
   grid children from forcing their parent wider than the viewport. */
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.grid,.stats,.layout,.form-grid,.cards-grid)>*{min-width:0}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.table-wrap,.table-responsive,.data-table-wrap){
 width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) table{
 max-width:100%;border-collapse:separate;border-spacing:0;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.modal-backdrop,.overlay){
 padding:clamp(10px,3vw,24px);overflow-y:auto;overscroll-behavior:contain;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.modal-dialog,.modal-content,[role="dialog"]){
 width:min(100%,720px);max-width:100%;max-height:min(90dvh,900px);overflow:auto;
}
@media(max-width:900px){
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.shell,.wrap,.container,.main){
  width:100%;max-width:100%;
 }
}
@media(max-width:720px){
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.page-heading,.section-heading){
  align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px;
 }
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.page-heading h1,.section-heading h1){
  font-size:clamp(23px,6vw,30px);line-height:1.08;
 }
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.toolbar,.actions,.button-row){
  width:100%;flex-wrap:wrap;gap:8px;
 }
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.toolbar>*,.actions>*,.button-row>*){
  flex:0 1 auto;
 }
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(button,.btn,.button,.submit,.cta,[role="button"]){
  min-height:42px;white-space:normal;line-height:1.25;
 }
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(input,select,textarea){
  width:100%;font-size:16px;min-height:44px;
 }
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.panel,.card,.module,.content-panel,.workspace-card,.form-card){
  padding:clamp(12px,3.5vw,18px);
 }
}
@media(max-width:520px){
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.shell,.wrap,.container,.main){
  padding-left:12px;padding-right:12px;
 }
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.stats,.grid,.layout,.form-grid,.cards-grid){
  grid-template-columns:minmax(0,1fr);
 }
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.page-heading>button,.page-heading>.btn,.page-heading>.button){
  width:100%;
 }
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.table-wrap,.table-responsive,.data-table-wrap){
  margin-inline:0;
 }
}
@media(max-width:360px){
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.panel,.card,.module,.content-panel,.workspace-card,.form-card){
  border-radius:10px;padding:12px;
 }
 body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(button,.btn,.button,.submit,.cta){
  font-size:12px;padding-inline:10px;
 }
}

/* Light mode uses light reading surfaces for common workspace cards and panels.
   Dark editorial/hero surfaces are intentionally excluded and retain ivory text. */
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.panel,.card,.tile,.stat,.module,.form-card,.content-panel,.workspace-card,.section,.table-wrap,.modal-dialog,.modal-content,.box,.surface,.history-section){
 background-color:var(--zc-ui-surface,#fffefa)!important;
 color:var(--zc-ui-ink,#171714)!important;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.panel,.card,.tile,.stat,.module,.form-card,.content-panel,.workspace-card,.section,.table-wrap,.modal-dialog,.modal-content,.box,.surface,.history-section) :is(h1,h2,h3,h4,h5,h6,p,span,strong,b,small,label,li,dt,dd,figcaption,summary,div,a:not(.btn):not(.button):not(.cta),.muted,.hint,.description,.subtitle,.eyebrow,.meta,.caption){
 color:var(--zc-ui-ink,#171714)!important;
}

/* BRIGHT-MODE CONTRAST SAFETY — shared dark surfaces must keep readable foregrounds.
   Applies to intentionally black/charcoal components on light pages without changing
   their background, gold accents, form controls, or button semantics. */
html[data-theme="light"] :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage){
 color:#f4f1e8!important;
}
html[data-theme="light"] :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage) :is(h1,h2,h3,h4,h5,h6,p,span,strong,b,small,label,li,dt,dd,figcaption,blockquote,summary,div,a:not(.btn):not(.button):not(.cta),.muted,.hint,.description,.subtitle,.eyebrow,.meta,.caption){
 color:inherit!important;
}
html[data-theme="light"] :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage) :is(.gold,.yellow,.accent,.highlight,.zc-experience-kicker,.zc-touchpoint-mark){
 color:#c4a64f!important;
}
html[data-theme="light"] :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage) :is(input,select,textarea){
 background:#fffefa!important;color:#171714!important;border-color:#d5d0c4!important;
}
html[data-theme="light"] :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage) :is(button,.btn,.button,.submit,.cta){
 color:inherit;
}
/* Final high-specificity guard wins over page-level black text declarations. */
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage){
 background-color:#141414!important;color:#f4f1e8!important;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage) :is(h1,h2,h3,h4,h5,h6,p,span,strong,b,small,label,li,dt,dd,figcaption,blockquote,summary,div,a:not(.btn):not(.button):not(.cta),.muted,.hint,.description,.subtitle,.eyebrow,.meta,.caption){
 color:#f4f1e8!important;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage) :is(.gold,.yellow,.accent,.highlight,.zc-experience-kicker,.zc-touchpoint-mark){color:#c4a64f!important}
/* READABILITY & LOW-VISION SUPPORT — user-adjustable, shared across first-party pages */
:root{--zc-text-scale:1}
/* Keep authored typography untouched by default. Only an explicit user-selected
   text size scales the root/rem system, allowing layouts to reflow. */
html[data-zc-text-scale-active="true"]{font-size:calc(100% * var(--zc-text-scale,1))}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :where(p,li){line-height:1.6}
.zc-readability{position:fixed;right:max(12px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));z-index:9998;font-family:inherit;color:#171714}
.zc-readability-trigger{display:flex;align-items:center;justify-content:center;gap:8px;min-width:48px;min-height:48px;padding:0 14px;border:1px solid #c4a64f;border-radius:999px;background:#171714;color:#f8f5eb;box-shadow:0 5px 22px #0004;font:700 14px/1.2 inherit;cursor:pointer}
.zc-readability-trigger span:first-child{font-size:19px;color:#e0c15f}
.zc-readability-panel{position:absolute;right:0;bottom:calc(100% + 10px);width:min(310px,calc(100vw - 24px));padding:16px;border:1px solid #c4a64f;border-radius:16px;background:#fffefa;color:#171714;box-shadow:0 16px 48px #0004}
.zc-readability-panel[hidden]{display:none}
.zc-readability-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:16px}
.zc-readability-heading strong{font-size:16px!important;color:#171714!important}
.zc-readability-close{width:44px;height:44px;border:1px solid #d5d0c4;border-radius:10px;background:#f5f3ed;color:#171714;font-size:24px!important}
.zc-readability-panel p{margin:8px 0 14px;color:#59574f!important;font-size:14px!important;line-height:1.5}
.zc-readability-sizes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.zc-readability-sizes button{min-height:46px;border:1px solid #d5d0c4;border-radius:10px;background:#f5f3ed;color:#171714;font-size:17px!important;font-weight:800}
.zc-readability-sizes button[aria-pressed=true]{border:2px solid #8a6c22;background:#f4e8c4}
.zc-readability-status{padding:10px 0;color:#59574f;font-size:13px!important}
.zc-readability-contrast,.zc-readability-reset{width:100%;min-height:44px;margin-top:8px;padding:9px 12px;border:1px solid #b9b3a5;border-radius:10px;background:#fff;color:#171714;text-align:left;font-size:14px!important;font-weight:700}
.zc-readability-contrast[aria-pressed=true]{border-color:#171717;background:#171717;color:#fff}
html.zc-high-contrast body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]){--zc-ui-ink:#000;--zc-ui-muted:#292929;--zc-ui-line:#555}
html[data-theme=dark].zc-high-contrast body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]){--zc-ui-ink:#fff;--zc-ui-muted:#eee;--zc-ui-line:#aaa}
html.zc-high-contrast body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :where(p,li,small,.muted,.hint,.description,.subtitle,.meta,.caption,label){color:var(--zc-ui-ink)!important}
html.zc-high-contrast .zc-readability-panel{border:2px solid #171717}
@media(max-width:420px){.zc-readability-trigger{width:48px;padding:0}.zc-readability-trigger-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}}
@media(prefers-reduced-motion:reduce){.zc-readability *{transition:none!important;animation:none!important}}
@media(forced-colors:active){.zc-readability-trigger,.zc-readability-panel,.zc-readability-panel button{forced-color-adjust:auto}}

/* ZCONNECT SHARED STRUCTURE SYSTEM — one spacing, frame and grid grammar */
:root{
 --zc-space-1:4px;--zc-space-2:8px;--zc-space-3:12px;--zc-space-4:16px;
 --zc-space-5:20px;--zc-space-6:24px;--zc-space-8:32px;--zc-space-10:40px;
 --zc-frame-max:1440px;--zc-frame-gutter:clamp(12px,3vw,32px);
 --zc-grid-gap:clamp(10px,1.5vw,18px);--zc-card-radius:14px;
}
/* Existing first-party page frames share the same alignment and containment rules. */
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.shell,.container,.wrap,.main,.app-shell,.page-shell,.content-shell){
 box-sizing:border-box;min-width:0;max-width:min(100%,var(--zc-frame-max));margin-inline:auto;
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.grid,.stats,.cards-grid,.form-grid,.choices,.layout,.items,.categories){
 min-width:0;align-content:start;gap:var(--zc-grid-gap);
}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.grid,.stats,.cards-grid,.form-grid,.choices,.layout,.items,.categories)>*{min-width:0;max-width:100%}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.card,.panel,.module,.content-panel,.workspace-card,.form-card,.surface,.tile){border-radius:var(--zc-card-radius)}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(.toolbar,.actions,.button-row,.tabs,.head,.page-heading,.section-heading){min-width:0;gap:var(--zc-space-2)}
/* Reusable layout primitives for new and refactored first-party screens. */
.zc-frame{width:min(100%,var(--zc-frame-max));min-width:0;margin-inline:auto;padding-inline:var(--zc-frame-gutter)}
.zc-stack{display:flex;flex-direction:column;gap:var(--zc-space-4);min-width:0}
.zc-row{display:flex;align-items:center;gap:var(--zc-space-3);min-width:0;flex-wrap:wrap}
.zc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:var(--zc-grid-gap);min-width:0}
.zc-grid>*{min-width:0}
.zc-section{display:grid;gap:var(--zc-space-3);min-width:0}
.zc-card{min-width:0;padding:clamp(14px,2vw,22px);border:1px solid var(--zc-ui-line);border-radius:var(--zc-card-radius);background:var(--zc-ui-surface);color:var(--zc-ui-ink)}
.zc-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--zc-space-3);flex-wrap:wrap;min-width:0}
.zc-page-header>*{min-width:0;max-width:100%}
/* User preference can add to, but never override, the operating-system motion preference. */
html.zc-reduced-motion,html.zc-reduced-motion * ,html.zc-reduced-motion *::before,html.zc-reduced-motion *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
.zc-readability-motion{width:100%;min-height:44px;margin-top:8px;padding:9px 12px;border:1px solid #b9b3a5;border-radius:10px;background:#fff;color:#171714;text-align:left;font-size:14px!important;font-weight:700}
.zc-readability-motion[aria-pressed=true]{background:#171714;color:#fff;border-color:#171714}
.zc-readability-language{display:grid;gap:4px;margin-top:12px;padding:11px 12px;border:1px solid #e1ddd2;border-radius:10px;background:#f5f3ed}
.zc-readability-language strong{font-size:13px!important;color:#171714!important}
.zc-readability-language span{font-size:12px!important;line-height:1.5;color:#59574f!important}
@media(max-width:520px){.zc-frame{padding-inline:12px}.zc-grid{grid-template-columns:minmax(0,1fr)}}

/* INCLUSIVE EXPERIENCE — keyboard, motor, low-vision and motion preferences */
.zc-skip-link{position:fixed;top:8px;left:8px;z-index:10001;transform:translateY(-160%);padding:12px 16px;border:2px solid #c4a64f;border-radius:10px;background:#171714;color:#fffefa;font-weight:800;text-decoration:underline}
.zc-skip-link:focus{transform:translateY(0);outline:3px solid #c4a64f;outline-offset:3px}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :where(button,[role=button],input[type=button],input[type=submit],input[type=reset],select){min-height:44px}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :where(button,[role=button],a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #c4a64f!important;outline-offset:3px!important}
.zc-readability-read,.zc-readability-stop{width:100%;min-height:46px;margin-top:8px;padding:10px 12px;border:1px solid #b9b3a5;border-radius:10px;background:#171714;color:#fffefa;text-align:left;font-size:14px!important;font-weight:750}
.zc-readability-stop{background:#fffefa;color:#171714}
.zc-readability-voice-note{font-size:12px!important;line-height:1.45;color:#59574f!important;margin:8px 0}
@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(forced-colors:active){.zc-skip-link,.zc-readability-trigger,.zc-readability-panel button{forced-color-adjust:auto}}

/* ZCONNECT CANONICAL CONTRAST + CONTROL PASS */
:root{--zc-ui-bg:#f5f3ed;--zc-ui-surface:#fffefa;--zc-ui-panel:#efede6;--zc-ui-ink:#171714;--zc-ui-muted:#59574f;--zc-ui-line:#d5d0c4;--zc-ui-accent:#c4a64f;--zc-ui-accent-text:#70571f;--zc-ui-control:#fffefa;--zc-ui-control-text:#171714}
html[data-theme="dark"]{--zc-ui-bg:#090909;--zc-ui-surface:#141414;--zc-ui-panel:#1c1c1a;--zc-ui-ink:#f4f1e8;--zc-ui-muted:#aaa69b;--zc-ui-line:#34332e;--zc-ui-accent:#d8c184;--zc-ui-accent-text:#e5d19a;--zc-ui-control:#1b1b1b;--zc-ui-control-text:#f4f1e8}
html[data-theme="light"]{--zc-ui-bg:#f5f3ed;--zc-ui-surface:#fffefa;--zc-ui-panel:#efede6;--zc-ui-ink:#171714;--zc-ui-muted:#59574f;--zc-ui-line:#d5d0c4;--zc-ui-accent:#c4a64f;--zc-ui-accent-text:#70571f;--zc-ui-control:#fffefa;--zc-ui-control-text:#171714}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]){color:var(--zc-ui-ink)!important}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]){background-color:var(--zc-ui-bg)}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]){background-color:var(--zc-ui-bg)!important;color:var(--zc-ui-ink)!important}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(h1,h2,h3,h4,h5,h6,strong,b,th,.section-title,.page-heading,.stat,.value){color:var(--zc-ui-ink)}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(p,small,.muted,.tiny,.hint,.description,.subtitle,.help-text,.form-hint,.supporting-text,.meta,.caption,.footnote){color:var(--zc-ui-muted)}
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):not([class*="social"])){color:var(--zc-ui-accent-text)}
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):not(.cta):not([class*="social"])){color:var(--zc-ui-accent-text)}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(input,select,textarea){color:var(--zc-ui-control-text);border-color:var(--zc-ui-line)}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(input,select,textarea){background:var(--zc-ui-control);color:var(--zc-ui-control-text)}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(input,select,textarea){background:var(--zc-ui-control)!important;color:var(--zc-ui-control-text)!important;border-color:var(--zc-ui-line)!important}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(input,textarea)::placeholder{color:var(--zc-ui-muted);opacity:1}
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(table th,table td,hr,.divider){border-color:var(--zc-ui-line)}
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,.modal-dialog,.modal-content,.box,.surface,.history-section){background-color:var(--zc-ui-surface);border-color:var(--zc-ui-line);color:var(--zc-ui-ink)}
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,.table-wrap,.modal-dialog,.modal-content,.box,.surface,.history-section){border-color:var(--zc-ui-line)}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.btn.secondary,.btn.ghost,.button.secondary){background:#202020;border-color:#494840;color:#f4f1e8}
html[data-theme="light"] .theme-switch,html[data-theme="light"] .zc-global-theme-switch{color:#55451c;background:#fffefa;border-color:#d5d0c4}
html[data-theme="dark"] .theme-switch,html[data-theme="dark"] .zc-global-theme-switch{color:#e5d7b1;background:#1b1b19;border-color:#494840}
.theme-switch,.zc-global-theme-switch{min-height:36px;padding:0 12px;border-radius:999px;font-weight:750;box-shadow:0 4px 14px rgba(0,0,0,.12)}
html[data-theme="light"] :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage){color:#f4f1e8!important}
html[data-theme="light"] :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage) :is(h1,h2,h3,h4,h5,h6,p,span,strong,b,small,label,li,dt,dd,figcaption,blockquote,summary,a:not(.btn):not(.button):not(.cta),.muted,.hint,.description,.subtitle,.meta,.caption){color:inherit}
html[data-theme="light"] :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage) :is(.gold,.yellow,.accent,.highlight,.zc-experience-kicker,.zc-touchpoint-mark){color:#d8bd69!important}
:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid #c4a64f!important;outline-offset:3px}
:where(button:disabled,input:disabled,select:disabled,textarea:disabled,[aria-disabled="true"]){cursor:not-allowed}
/* Hotfix: light mode must win over legacy page-level dark backgrounds. */
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]){
 background:var(--zc-ui-bg,#f5f3ed)!important;
 background-color:var(--zc-ui-bg,#f5f3ed)!important;
 color:var(--zc-ui-ink,#171714)!important;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(h1,h2,h3,h4,h5,h6,strong,b,th,.section-title,.page-heading,.stat,.value){
 color:var(--zc-ui-ink,#171714)!important;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(p,small,.muted,.tiny,.hint,.description,.subtitle,.help-text,.form-hint,.supporting-text,.meta,.caption,.footnote){
 color:var(--zc-ui-muted,#59574f)!important;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.panel,.card,.tile,.stat,.module,.form-card,.content-panel,.workspace-card,.section,.table-wrap,.modal-dialog,.modal-content,.box,.surface,.history-section){
 background-color:var(--zc-ui-surface,#fffefa)!important;
 color:var(--zc-ui-ink,#171714)!important;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.panel,.card,.tile,.stat,.module,.form-card,.content-panel,.workspace-card,.section,.table-wrap,.modal-dialog,.modal-content,.box,.surface,.history-section) :is(h1,h2,h3,h4,h5,h6,p,span,strong,b,small,label,li,dt,dd,figcaption,summary,div,a:not(.btn):not(.button):not(.cta),.muted,.hint,.description,.subtitle,.eyebrow,.meta,.caption){
 color:var(--zc-ui-ink,#171714)!important;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage){
 background:#141414!important;background-color:#141414!important;color:#f4f1e8!important;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage) :is(h1,h2,h3,h4,h5,h6,p,span,strong,b,small,label,li,dt,dd,figcaption,blockquote,summary,div,a:not(.btn):not(.button):not(.cta),.muted,.hint,.description,.subtitle,.eyebrow,.meta,.caption){
 color:#f4f1e8!important;
}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage) :is(.gold,.yellow,.accent,.highlight,.zc-experience-kicker,.zc-touchpoint-mark){
 color:#d8bd69!important;
}

/* Locked interaction standard: keep primary and frequently used controls comfortably tappable. */
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not(.launch-page):not([data-brand-exempt]) :where(button,.btn,.button,.submit,.cta,[role="button"],.workspace-viewtab,.workspace-more>summary,.workspace-more-menu a,.tool,.tabs button,.collapse-btn,.tree button,.share-close){
 min-height:44px!important;
}

/* DARK MODE HEADING LEGIBILITY — shared first-party page coverage. */
html[data-theme="dark"] body:not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(h1,h2,h3,h4,h5,h6,[role="heading"],.banner-title,.hero-title,.section-heading,.page-title,.section-title){
 color:#f4f1e8!important;
}
html[data-theme="dark"] body:not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.banner,.hero,.section-banner,.page-banner,.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark) :is(h1,h2,h3,h4,h5,h6,[role="heading"],.banner-title,.hero-title,.section-heading,.page-title,.section-title){
 color:#f4f1e8!important;
}
html[data-theme="dark"] body:not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.banner,.hero,.section-banner,.page-banner,.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark) :is(h1,h2,h3,h4,h5,h6,[role="heading"],.banner-title,.hero-title,.section-heading,.page-title,.section-title) :is(.gold,.yellow,.accent,.highlight,[data-preserve-color]){
 color:#e0c15f!important;
}
/* ACCESSIBILITY CONTROL — compact header utility, never a floating page obstruction. */
.zc-readability{position:relative;z-index:90;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin:0;color:inherit;font-family:inherit}
.zc-readability-in-header{position:relative}
.zc-readability-trigger{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;min-height:44px;height:44px;padding:0;border:1px solid transparent;border-radius:11px;background:transparent;color:inherit;box-shadow:none;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .16s ease,border-color .16s ease,color .16s ease}
.zc-readability-trigger:hover,.zc-readability-trigger[aria-expanded=true]{border-color:color-mix(in srgb,#c4a64f 48%,transparent);background:color-mix(in srgb,#c4a64f 12%,transparent);color:var(--gold,#c4a64f)}
.zc-readability-trigger:focus-visible{outline:2px solid #c4a64f!important;outline-offset:2px}
.zc-readability-icon{display:block;width:19px;height:19px;overflow:visible}
.zc-readability-trigger-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.zc-readability-panel{position:absolute;top:calc(100% + 9px);right:0;bottom:auto;z-index:9999;width:min(310px,calc(100vw - 24px));max-height:min(72dvh,560px);overflow-y:auto;overscroll-behavior:contain;padding:16px;border:1px solid #c4a64f;border-radius:14px;background:#fffefa;color:#171714;box-shadow:0 14px 40px #0003}
.zc-readability-panel[hidden]{display:none!important}
.zc-readability-fallback{position:fixed;right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));z-index:9998}
.zc-readability-fallback .zc-readability-panel{position:fixed;top:auto;right:max(12px,env(safe-area-inset-right));bottom:calc(58px + env(safe-area-inset-bottom));max-height:min(72dvh,560px)}
.zc-readability-in-header .zc-readability-panel{position:fixed;top:calc(env(safe-area-inset-top) + 70px);right:max(12px,env(safe-area-inset-right));bottom:auto;max-height:min(72dvh,560px)}
@media(max-width:720px){
 .zc-readability-trigger{border-radius:10px}
 .zc-readability-in-header .zc-readability-panel{top:calc(env(safe-area-inset-top) + 66px);right:12px;width:min(310px,calc(100vw - 24px));max-height:calc(100dvh - 92px)}
}
@media(max-width:360px){.zc-readability-panel{padding:13px;width:calc(100vw - 20px)}.zc-readability-sizes{gap:5px}}
@media(prefers-reduced-motion:reduce){.zc-readability-trigger{transition:none!important}}

/* ZCONNECT VISUAL AUDIT — single winning contrast and overlay hierarchy.
   H1–H6 and semantic headings inherit the active theme on every first-party surface. */
body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(h1,h2,h3,h4,h5,h6,[role="heading"]){
  color:var(--zc-ui-ink)!important;
  font-family:var(--zc-display,Manrope,Inter,ui-sans-serif,system-ui,sans-serif);
}
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,h6,[role="heading"]){
  color:#171714!important;
}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(h1,h2,h3,h4,h5,h6,[role="heading"]){
  color:#f4f1e8!important;
}
/* Intentional dark editorial panels stay dark in both themes, with ivory headings. */
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage,.hero-art,.choice) :is(h1,h2,h3,h4,h5,h6,[role="heading"]){
  color:#f4f1e8!important;
}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page):not([data-brand-exempt]) :is(.dark-surface,.dark-panel,.dark-card,.black-surface,.black-panel,.black-card,.bg-black,.bg-dark,.surface-dark,.panel-dark,.card-dark,.zc-product-surface,.asset-hero,.band-stage,.hero-art,.choice) :is(h1,h2,h3,h4,h5,h6,[role="heading"]){
  color:#f4f1e8!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,.table-wrap,.modal-dialog,.modal-content,.box,.surface,.history-section) :is(h1,h2,h3,h4,h5,h6,[role="heading"]){
  color:#171714!important;
}
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,.modal-dialog,.modal-content,.box,.surface,.history-section) :is(h1,h2,h3,h4,h5,h6,[role="heading"]){
  color:#f4f1e8!important;
}
/* Predictable layer order: page navigation < menus < dialogs < toasts < critical onboarding. */
body:not([data-brand-exempt]) :is(.modal-backdrop,.modal-overlay,[data-modal-backdrop]){
  z-index:4000!important;
  isolation:isolate;
}
body:not([data-brand-exempt]) :is(.modal-backdrop,.modal-overlay,[data-modal-backdrop]) :is(.modal-dialog,.modal-content,[role="dialog"]){
  position:relative;
  z-index:1;
}
body:not([data-brand-exempt]) :is(.toast,.toast-container,[role="status"].toast){z-index:4200}
body:not([data-brand-exempt]) .zc-readability-fallback{z-index:4300}
body:not([data-brand-exempt]) .zc-readability-in-header .zc-readability-panel{z-index:4301}
body:not([data-brand-exempt]) .install-guide-overlay{z-index:5000}
body:not([data-brand-exempt]) :is(dialog[open],[role="dialog"][aria-modal="true"]){overscroll-behavior:contain}
html[data-theme="light"] .zc-readability-panel{background:#fffefa;color:#171714;border-color:#c4a64f}
html[data-theme="dark"] .zc-readability-panel{background:#171714;color:#f4f1e8;border-color:#d8c184}
html[data-theme="dark"] .zc-readability-panel :is(h1,h2,h3,h4,h5,h6,p,small,label,span,button){color:inherit}
html[data-theme="light"] .zc-readability-panel :is(h1,h2,h3,h4,h5,h6,p,small,label,span,button){color:inherit}

/* Compact ZConnect display toggle — utility, never a competing primary CTA. */
.zc-global-theme-switch{position:fixed!important;top:max(12px,env(safe-area-inset-top))!important;right:12px!important;z-index:4302!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:1px solid var(--zc-ui-line,#d5d0c4)!important;border-radius:9px!important;background:transparent!important;color:var(--zc-ui-ink,#171714)!important;box-shadow:none!important}
.zc-global-theme-switch .theme-icon{font-size:17px!important;line-height:1!important}
.zc-global-theme-switch>span:not(.theme-icon){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
html[data-theme="dark"] .zc-global-theme-switch{color:#f4f1e8!important;border-color:#414039!important}
@media(max-width:640px){.zc-global-theme-switch{flex-basis:44px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}}
/* ACCESSIBILITY + DISPLAY CONTROLS — anchored, compact and consistent across page headers. */
.zc-readability-in-header{position:relative!important;top:0!important;left:auto!important;right:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:44px!important;min-width:44px!important;height:44px!important;margin:0!important;padding:0!important}
.zc-readability-trigger{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:1px solid var(--zc-ui-line,#d5d0c4)!important;border-radius:9px!important;background:transparent!important;color:var(--zc-ui-ink,#171714)!important;cursor:pointer!important}
.zc-readability-trigger-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.zc-readability-icon{display:block!important;width:20px!important;height:20px!important;max-width:20px!important;color:currentColor!important}
.zc-readability-panel{position:absolute!important;top:calc(100% + 9px)!important;right:0!important;left:auto!important;z-index:4301!important;display:grid!important;gap:10px!important;width:min(320px,calc(100vw - 24px))!important;max-height:calc(100dvh - 100px)!important;overflow:auto!important;padding:16px!important;border:1px solid var(--zc-ui-line,#d5d0c4)!important;border-radius:12px!important;background:var(--zc-ui-surface,#fffefa)!important;color:var(--zc-ui-ink,#171714)!important;box-shadow:0 18px 48px #0003!important;text-align:left!important}
.zc-readability-panel[hidden]{display:none!important}
.zc-readability-panel p{margin:0!important;font-size:12px!important;line-height:1.55!important;color:var(--zc-ui-muted,#59574f)!important}
.zc-readability-panel button{min-height:44px!important;padding:8px 10px!important;border:1px solid var(--zc-ui-line,#d5d0c4)!important;border-radius:8px!important;background:var(--zc-ui-panel,#efede6)!important;color:var(--zc-ui-ink,#171714)!important;font:700 11px/1.3 var(--zc-body,Inter,system-ui,sans-serif)!important;cursor:pointer!important}
.zc-readability-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.zc-readability-heading strong{font-size:13px!important;color:var(--zc-ui-ink,#171714)!important}
.zc-readability-heading .zc-readability-close{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;font-size:20px!important}
.zc-readability-sizes{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
.zc-readability-sizes button[aria-pressed="true"],.zc-readability-panel button[aria-pressed="true"]{background:var(--zc-ui-gold,#c4a64f)!important;border-color:var(--zc-ui-gold,#c4a64f)!important;color:#171714!important}
.zc-readability-status,.zc-readability-language{font-size:11px!important;line-height:1.5!important;color:var(--zc-ui-muted,#59574f)!important}
.zc-readability-language{display:grid!important;gap:3px!important}
.zc-readability-fallback{position:fixed!important;right:14px!important;bottom:calc(64px + env(safe-area-inset-bottom))!important;z-index:4300!important;width:44px!important;height:44px!important;margin:0!important;padding:0!important}
.zc-readability-fallback .zc-readability-panel{position:fixed!important;right:12px!important;bottom:calc(112px + env(safe-area-inset-bottom))!important;top:auto!important}
.zc-global-theme-switch{flex:0 0 auto!important}
@media(max-width:640px){
 .zc-readability-in-header{top:0!important;width:44px!important;min-width:44px!important;height:44px!important;margin:0!important}
 .zc-readability-trigger{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}
 .zc-readability-panel{position:fixed!important;top:calc(env(safe-area-inset-top) + 70px)!important;right:10px!important;left:auto!important;width:min(320px,calc(100vw - 20px))!important;max-height:calc(100dvh - 92px)!important}
}
html[data-theme="dark"] .zc-readability-trigger{color:#f4f1e8!important;border-color:#414039!important}
html[data-theme="dark"] .zc-readability-panel{background:#171714!important;color:#f4f1e8!important;border-color:#414039!important}
html[data-theme="dark"] .zc-readability-panel :is(h1,h2,h3,h4,h5,h6,p,small,label,span,strong){color:inherit!important}