/* Phase 4A: shared component refinements. No runtime or font dependencies. */
:root{--ink:#19283d;--navy:#122239;--blue:#2458ce;--muted:#54647a;--line:#dfe5ee;--canvas:#f5f7fa;--shadow:0 12px 36px #152b4910}
.button{border-radius:9px;min-height:46px;font-size:var(--type-label);letter-spacing:-.15px}
.button.primary{box-shadow:0 2px 3px #132b4814,inset 0 1px 0 #ffffff20}
.button.secondary{background:#fff;border-color:#d4dce8;color:#263f63}
.button:hover{transform:translateY(-1px)}.button:active{transform:none}
a,button,input,textarea,select,summary{outline-offset:4px}
:focus-visible{outline:3px solid #3469d5}
.panel{border-radius:14px;box-shadow:0 2px 3px #192e5403}
.field>span{font-size:var(--type-label);font-weight:600;color:#34465e}
.field input,.field textarea,.field select{font-size:var(--type-body);min-height:48px;border-radius:9px;border-color:#ccd5e2}
.field input:focus,.field textarea:focus{border-color:#3264c8;box-shadow:0 0 0 3px #3264c812}
.field textarea{line-height:1.8}
.eyebrow,.small-label{font-size:var(--type-meta);letter-spacing:1.35px;line-height:1.7}
.notice{font-size:var(--type-body);border-radius:10px;padding:17px 20px;line-height:1.7}
.page-heading h1{font-size:var(--type-page);letter-spacing:-1.1px;line-height:1.2}
.page-heading p:not(.eyebrow){font-size:var(--type-meta);line-height:1.8;color:var(--muted)}
.page-heading>.button{display:inline-flex}
.workspace-top{font-size:var(--type-secondary)}.workspace-top .status-pill{font-size:var(--type-meta)}
.workspace-nav nav a{min-height:46px;font-size:var(--type-label);padding:12px 14px}
.workspace-nav nav a[aria-current]{color:#234faa;background:#eaf0fc;font-weight:600}
.workspace-identity strong,.account-link strong{font-size:var(--type-label)}
.workspace-identity small,.account-link small{font-size:var(--type-small);color:#5b6b80}
.sidebar-note h3{font-size:var(--type-card)}.sidebar-note p,.sidebar-note a{font-size:var(--type-label);line-height:1.8}
.nav-label{font-size:var(--type-meta)}.sidebar-bottom .text-button{font-size:var(--type-label);min-height:42px}
.dashboard-content{max-width:1440px;padding-top:36px}
.overview-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0}
.overview-stat{padding:24px;transition:border-color .18s,box-shadow .18s}
.overview-stat:hover{border-color:#9db5db;box-shadow:0 6px 22px #142e4d09}
.overview-stat>span{display:flex;justify-content:space-between;align-items:center;font-size:var(--type-body);color:#4c607a}
.overview-stat .icon{width:17px;height:17px;color:#5c789d}
.overview-stat strong{display:block;font-size:2.5rem;letter-spacing:-1.5px;font-weight:600;line-height:1.3;margin:14px 0 6px}
.overview-stat small{font-size:var(--type-small);color:#586b84}
.overview-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;align-items:start}
.journey-panel{padding:28px}.journey-panel h2{font-size:var(--type-section);line-height:1.4;letter-spacing:-.6px}
.journey-panel .eyebrow{margin-bottom:10px}.journey-step{display:flex;gap:18px;padding:25px 0;border-bottom:1px solid var(--line)}
.journey-step:last-child{border:0;padding-bottom:2px}
.journey-number{display:grid;place-items:center;flex:0 0 34px;height:34px;background:#f1f4f9;border:1px solid #e2e8f0;border-radius:9px;font-size:var(--type-secondary);color:#4d6788;font-variant-numeric:tabular-nums}
.journey-step h3{font-size:var(--type-card);line-height:1.5;letter-spacing:-.3px}.journey-step p{font-size:var(--type-body);line-height:1.8;color:#526780;margin:7px 0 10px}
.journey-link{font-size:var(--type-label);color:#2856a3;display:inline-flex;align-items:center;gap:10px;font-weight:600}.journey-link .icon{width:16px;height:16px}
.journey-step:hover h3{color:#2458ce}.overview-side{display:grid;gap:24px;min-width:0}
.overview-note{background:var(--navy);border-radius:14px;padding:32px;color:#fff}.overview-note .small-label{color:#b1c7e7;font-size:var(--type-meta)}
.overview-note h2{font-size:var(--type-section);letter-spacing:-.9px;line-height:1.25;margin:22px 0 18px;color:#fff}
.overview-note p{font-size:var(--type-body);line-height:1.9;color:#ced9e8}.overview-note a{display:flex;align-items:center;gap:15px;color:#fff;font-size:var(--type-label);line-height:1.7;margin-top:25px}
.overview-note .icon{flex:0 0 18px}.business-summary{padding:28px;overflow-wrap:anywhere}
.business-summary h2{font-size:var(--type-section);letter-spacing:-.5px;margin:12px 0}.business-summary p{font-size:var(--type-label);line-height:1.8}.business-summary a{font-size:var(--type-label);margin-top:20px}
.site-header{border-bottom:1px solid #edf0f5}.public-nav{font-size:var(--type-label)}.nav-actions>.button{font-size:var(--type-label)}
.hero-description,.section-lead{color:#4f6178}.hero-footnote{font-size:var(--type-secondary)}
.scene-orbit{opacity:.45}.auth-card .form-note,.auth-card .auth-switch,.form-options{font-size:var(--type-secondary);line-height:1.8}
.auth-card>p{font-size:var(--type-body)}.password-toggle{min-width:48px;min-height:44px;font-size:var(--type-secondary)}
.auth-story{background:var(--navy);border-radius:18px}.auth-card .stack-form{gap:21px}
.auth-story h1{color:#fff}.auth-story>p,.auth-story .auth-story-note,.auth-story .auth-story-note i{color:#cad8eb}.auth-story .eyebrow{color:#abc5ed}.auth-art>span{color:#cad8eb}
.settings-description p{font-size:var(--type-label);line-height:1.85}.settings-form{padding:30px}
.read-only>span,.read-only small,.form-footer>span{font-size:var(--type-small);line-height:1.7}
.form-footer .button{font-size:var(--type-secondary);min-height:46px}
.product-card-body h2{font-size:var(--type-section);letter-spacing:-.4px}.product-reference{font-size:var(--type-secondary)}
.product-card{transition:border-color .18s,box-shadow .18s}.product-card:hover{border-color:#b6c7df;box-shadow:0 6px 24px #182f4d09}
.product-qr-action{display:inline-flex;align-items:center;gap:9px;min-height:42px;font-size:var(--type-secondary);margin-right:16px}
.product-card-footer{font-size:var(--type-secondary)}.product-filters>a,.product-search select{font-size:var(--type-body)}
.product-result-count{font-size:var(--type-secondary)}.product-back{display:inline-flex;min-height:42px;align-items:center;font-size:var(--type-secondary)}
.editor-toolbar nav a{font-size:var(--type-label);min-height:42px;display:flex;align-items:center;white-space:nowrap}
.editor-toolbar{gap:18px}.editor-toolbar>.button{flex-shrink:0}
.editor-section-heading h2{font-size:var(--type-section)}.editor-section-heading p,.editor-help,.upload-field small,.file-feedback{font-size:var(--type-small);line-height:1.8}
.publish-panel p,.publish-panel .text-link{font-size:var(--type-label);line-height:1.8}.publish-panel h2{font-size:var(--type-section)}
.editor-aside>.button{margin-top:12px;font-size:var(--type-label)}.editor-save-state{font-size:var(--type-secondary);line-height:1.8;color:#52647a}
.editor-save-state.is-dirty{color:#7b521d;background:#fff7e8;border-radius:8px;padding:12px}
.remove-link{min-width:44px;min-height:44px}.upload-field{border-radius:11px}
.insight-kpi>div{font-size:var(--type-small)}.insight-kpi>p{font-size:var(--type-label);line-height:1.65}.insight-kpi>strong{font-size:2.5rem}
.analytics-panel-heading p,.chart-readout,.chart-legend,.analytics-empty-copy{font-size:var(--type-body)}
.chart-mode button{font-size:var(--type-label);min-height:40px}.chart-inspector>p{font-size:var(--type-label)}
.analytics-table-scroll th,.analytics-table-scroll td,.analytics-table-scroll tbody th{font-size:var(--type-small)}
.analytics-table-scroll small{font-size:var(--type-meta)}.metric-definitions dt,.metric-definitions dd{font-size:var(--type-label)}
.interaction-bars>div>div{font-size:var(--type-secondary)}.collection-state,.report-context{font-size:var(--type-small)}
.qr-copy-status,.qr-print-note,.qr-guidance p{font-size:var(--type-body);line-height:1.8}
/* Customer product guides put the business and useful resources first. */
.customer-header{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:94px;border-bottom:1px solid var(--line)}
.customer-brand{display:flex;align-items:center;gap:13px;min-width:0}
.customer-monogram{display:grid;place-items:center;flex:0 0 42px;height:42px;background:var(--navy);color:#fff;font-size:1.25rem;border-radius:11px}
.customer-brand strong{display:block;font-size:1.0625rem;font-weight:600;letter-spacing:-.3px;overflow-wrap:anywhere;line-height:1.4}
.customer-brand small{display:block;font-size:var(--type-small);color:#5c6d83;margin-top:3px}
.customer-support{display:flex;gap:12px;align-items:center;flex-shrink:0;font-size:var(--type-secondary);min-height:44px;color:#345782}.customer-support .icon{width:17px}
.live-hub{padding-top:36px;max-width:1180px}
.hub-intro{gap:64px;padding-bottom:36px;border:0}
.hub-main-image{background:#f3f5f7;border:1px solid #e8edf1;border-radius:16px}
.hub-main-image>img{padding:0;object-fit:contain;max-height:480px}
.hub-product-copy .eyebrow{font-size:var(--type-meta);color:#506782;letter-spacing:1.1px;margin-bottom:15px}
.hub-product-copy h1{font-size:clamp(34px,3.5vw,50px);letter-spacing:-1.7px;line-height:1.13}
.hub-sku{display:inline-block;font-size:var(--type-secondary);border:1px solid #e0e6ee;background:#f8f9fb;padding:5px 10px;border-radius:5px;margin-top:18px}
.hub-description{font-size:var(--type-label);line-height:1.85;color:#52647a;margin:24px 0}
.hub-description p+p{margin-top:14px}.hub-primary{margin-top:2px;min-width:160px}
.hub-jump-links{position:sticky;top:0;z-index:5;display:flex;flex-wrap:nowrap;gap:5px;overflow-x:auto;padding:12px 0;margin:0;background:#fff;border-block:1px solid var(--line);scrollbar-width:thin}
.hub-jump-links a{display:flex;align-items:center;flex-shrink:0;border:0;border-radius:7px;min-height:42px;padding:10px 15px;font-size:var(--type-label);color:#475d79;background:transparent}
.hub-jump-links a:hover,.hub-jump-links a[aria-current]{background:#edf2fc;color:#204f9e}
.hub-content-grid{grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:48px;padding-top:8px}
.hub-section,.hub-help-card{scroll-margin-top:90px}
.hub-section{padding:36px 0}.hub-section h2{font-size:var(--type-section);letter-spacing:-.7px;line-height:1.3}
.hub-section>p,.hub-prose{font-size:var(--type-label);line-height:1.9;color:#4d617b}
.hub-prose p+p{margin-top:16px}.hub-section-icon{margin-bottom:16px}
.hub-steps{list-style:none;counter-reset:guide;padding:0;margin:20px 0 0;display:grid;gap:14px}
.hub-steps li{counter-increment:guide;display:flex;gap:15px;align-items:flex-start;line-height:1.8}
.hub-steps li:before{content:counter(guide,decimal-leading-zero);flex:0 0 32px;display:grid;place-items:center;height:32px;border:1px solid #e0e7f1;border-radius:8px;background:#f6f8fb;font-size:var(--type-secondary);color:#405e87;font-weight:600}
.hub-resource{min-height:58px;padding:16px 18px;border-radius:10px;font-size:var(--type-body);color:#29486e;gap:16px;transition:background .18s,border-color .18s}
.hub-resource:hover{border-color:#9ab4d9;background:#f3f7fd}.hub-resource small{font-size:var(--type-small);margin-top:4px;color:#5a6d87}
.hub-help-column{padding-top:36px}.hub-help-card{background:#f6f8fb;border:1px solid #e0e7f0;padding:26px;border-radius:14px}
.hub-help-card h2{font-size:var(--type-section);letter-spacing:-.5px;line-height:1.35}.hub-help-card .small-label{font-size:var(--type-meta)}
.hub-help-card .hub-prose{font-size:var(--type-label)}.hub-help-card .button{font-size:var(--type-label)}
.hub-endnote{font-size:var(--type-secondary);margin-top:36px;border-top:1px solid var(--line);padding-top:26px;color:#5a6b80}
.hub-thumbnails button{min-width:54px;min-height:54px;border-radius:9px}
.hub-image-status{font-size:var(--type-secondary);line-height:1.7;color:#53677f;margin-top:12px}
.hub-image-status:empty{display:none}
@media(max-width:1150px){.overview-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.journey-panel{padding:24px}.overview-note{padding:26px}.overview-note h2{font-size:var(--type-section)}.hub-intro{gap:36px}.hub-content-grid{gap:30px}.insight-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.overview-grid{grid-template-columns:1fr}.overview-side{grid-template-columns:1fr 1fr}.workspace-top .status-pill{display:none}.hub-content-grid{grid-template-columns:1fr}.hub-help-column{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-top:24px}.hub-help-card{margin:0}.editor-aside>.button{margin-top:0}.sidebar-bottom .logout-form{margin-left:14px}}
@media(max-width:680px){
 .page-heading{display:flex;flex-wrap:wrap;gap:18px}.page-heading>div{width:100%}.page-heading h1{font-size:var(--type-page)}.page-heading>.button{display:inline-flex;min-height:46px;font-size:var(--type-label)}
 .dashboard-content{padding:26px 20px 40px}.workspace-top{font-size:var(--type-secondary)}.menu-toggle{min-height:44px;font-size:var(--type-label)}
 .overview-summary{gap:10px;margin:22px 0}.overview-stat{padding:17px 12px}.overview-stat>span{font-size:var(--type-secondary);line-height:1.5}.overview-stat .icon{display:none}.overview-stat strong{font-size:1.875rem;margin:12px 0 0}.overview-stat small{display:none}
 .overview-side{grid-template-columns:1fr}.journey-panel{padding:23px 20px}.journey-panel h2{font-size:var(--type-section)}.journey-step{gap:12px;padding:22px 0}.journey-step h3{font-size:var(--type-card)}.journey-number{flex-basis:29px;height:29px;font-size:var(--type-secondary)}.journey-step p{font-size:var(--type-body)}
 .overview-note{padding:27px}.business-summary{padding:24px}.overview-note h2{font-size:var(--type-section)}
 .field input,.field textarea,.field select{font-size:var(--type-body)}.settings-form{padding:24px 20px}
 .auth-card{padding:12px 0}.auth-card .small-label{font-size:var(--type-meta)}.hero .button-row{gap:10px;flex-wrap:wrap}.hero .button.primary{font-size:var(--type-label);padding:13px 17px}.hero .button.ghost{font-size:var(--type-label)}
 .product-card-body h2{font-size:var(--type-section)}.editor-toolbar{gap:10px;flex-wrap:wrap;padding:10px 0}.editor-toolbar nav{width:100%;gap:18px;order:2}.editor-toolbar>.button{margin-left:auto;min-height:44px;font-size:var(--type-label)}.editor-section{scroll-margin-top:135px}.editor-section-heading h2{font-size:var(--type-section)}
 .editor-aside{display:flex;flex-direction:column;gap:12px}.editor-aside>.button{margin:0}.editor-save-state{padding:12px 0;margin:0}.publish-panel{width:100%}
 .insight-kpi{padding:20px 15px}.insight-kpi>div{font-size:var(--type-small)}.insight-kpi>strong{font-size:2.125rem}.insight-kpi>p{font-size:var(--type-label)}.chart-mode button{font-size:var(--type-label);padding:9px}.chart-readout{font-size:var(--type-secondary)}.report-context>p span{font-size:var(--type-body)}
 .customer-header{min-height:82px;gap:12px}.customer-monogram{flex-basis:35px;height:35px;font-size:1.125rem;border-radius:9px}.customer-brand{gap:10px}.customer-brand strong{font-size:var(--type-body)}.customer-brand small{font-size:var(--type-small)}.customer-support{font-size:var(--type-secondary);gap:6px}.customer-support .icon{display:none}
 .live-hub{padding-top:28px;padding-bottom:40px}.hub-intro,.private-hub .hub-intro{display:flex;flex-direction:column;gap:26px;align-items:stretch;padding-bottom:24px}.hub-product-copy{order:0}.hub-gallery{order:1;min-width:0}
 .hub-product-copy h1{font-size:var(--type-page);letter-spacing:-1.25px}.hub-product-copy .eyebrow{font-size:var(--type-meta);margin-bottom:12px}.hub-sku{margin-top:14px}.hub-description{font-size:var(--type-label);margin:18px 0}.hub-primary{min-height:46px;font-size:var(--type-body)}
 .hub-main-image{aspect-ratio:1.3;max-height:300px}.hub-main-image>img{max-height:300px}.hub-jump-links{margin-inline:-20px;padding:9px 20px;gap:2px;scroll-padding-inline:20px}.hub-jump-links a{font-size:var(--type-label);padding-inline:13px;min-height:44px}
 .hub-content-grid,.private-hub .hub-content-grid{display:block;padding-top:0}.hub-section{padding:29px 0}.hub-section h2{font-size:var(--type-section)}.hub-prose{font-size:var(--type-label);line-height:1.85}.hub-resource{font-size:var(--type-body);padding:15px;min-height:58px}.hub-steps{gap:18px}.hub-steps li{gap:12px}
 .hub-help-column{display:grid;grid-template-columns:1fr;gap:20px;padding-top:25px}.hub-help-card{padding:24px}.hub-help-card h2{font-size:var(--type-section)}.hub-endnote{font-size:var(--type-secondary);line-height:1.8}.hub-preview-banner{font-size:var(--type-secondary);line-height:1.7;flex-wrap:wrap;gap:12px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
