:root {
  --ui-canvas: #080b09;
  --ui-surface: #0d1220; --ui-surface-elevated: #151b2a; --ui-surface-glass: rgba(21,27,42,.86);
  --ui-surface-reading: #f8f9fc;
  --ui-text: #f7f8fc; --ui-text-secondary: #a7adc3; --ui-text-muted: #9098b4;
  --ui-accent: #7352f3; --ui-accent-hover: #7a5bea; --ui-accent-pressed: #5d3fd4;
  --ui-accent-secondary: #46d6ff; --ui-accent-secondary-hover: #70e3ff; --ui-accent-secondary-pressed: #2bb5da;
  --ui-danger: #ff788b; --ui-danger-surface: #c83c55; --ui-danger-hover: #bb334f; --ui-danger-pressed: #ad2e47; --ui-warning: #f8c56a;
  --ui-info: #46d6ff; --ui-success: #72e6c0;
  --ui-disabled-surface: #202638; --ui-disabled-text: #9098b4;
  --ui-border: rgba(167,173,195,.22); --ui-border-subtle: #2b3245; --ui-focus: #8d7bff;
  --ui-radius-sm: 8px; --ui-radius-control: 12px; --ui-radius-card: 24px; --ui-radius-pill: 999px;
  --ui-content-max: 1200px;
  --ui-font: "Noto Sans Cyrillic", "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../vendor/fonts/urbanist-latin-wght-normal.225d39d1d444.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans Cyrillic"; font-style: normal; font-weight: 400; font-display: swap; src: url("../vendor/fonts/noto-sans-cyrillic-400.e9de536a12e2.woff2") format("woff2"); unicode-range: U+0400-052F, U+1C80-1C8A, U+2DE0-2DFF, U+A640-A69F; }
@font-face { font-family: "Noto Sans Cyrillic"; font-style: normal; font-weight: 700; font-display: swap; src: url("../vendor/fonts/noto-sans-cyrillic-700.a45fc283f874.woff2") format("woff2"); unicode-range: U+0400-052F, U+1C80-1C8A, U+2DE0-2DFF, U+A640-A69F; }
.customer-shell { color: var(--ui-text); background: var(--ui-canvas); font-family: var(--ui-font); line-height: 1.55; min-height: 100vh; }
.customer-shell *, .customer-shell[data-ui-scope="customer"] * { box-sizing: border-box; }
.customer-shell a, .customer-shell[data-ui-scope="customer"] a { color: var(--ui-accent-secondary); }
.customer-shell :is(a,button,input,select,textarea):focus-visible { outline: 2px solid var(--ui-focus); outline-offset: 2px; box-shadow: 0 0 0 3px rgba(141,123,255,.34); }
.customer-shell .ui-skip-link { position: absolute; left: 1rem; top: -5rem; padding: .75rem 1rem; background: var(--ui-accent-secondary); color: #07101c !important; z-index: 10; border-radius: var(--ui-radius-control); }
.customer-shell .ui-skip-link:focus { top: 1rem; }
.customer-shell__header, .customer-shell__main, .customer-shell__footer { width: min(100% - 2.5rem, var(--ui-content-max)); margin-inline: auto; }
.customer-shell__header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1rem; min-width:0; }
.customer-shell__header nav { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem; min-width:0; }
.customer-shell .customer-shell__header nav .ui-action { width:auto; }
.customer-shell__header { padding-block: 1.5rem; } .customer-shell__brand { color: var(--ui-text) !important; font-size: 1.125rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.customer-shell__mobile-back { display: none; }
.customer-shell__main { min-height: 60vh; } .customer-shell__footer { padding-block: 2rem; color: var(--ui-text-secondary); }
.customer-shell .customer-shell__footer { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.customer-shell .ui-action { min-height: 2.75rem; min-width: 2.75rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .5rem 1rem; border: 1px solid transparent; border-radius: var(--ui-radius-control); font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.5; text-decoration: none; cursor: pointer; transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.customer-shell .ui-action--primary { color: #fff !important; background: var(--ui-accent); } .customer-shell .ui-action--primary:hover { background: var(--ui-accent-hover); } .customer-shell .ui-action--primary:active { background: var(--ui-accent-pressed); }
.customer-shell .ui-action--secondary { color: #07101c !important; background: var(--ui-accent-secondary); } .customer-shell .ui-action--secondary:hover { background: var(--ui-accent-secondary-hover); } .customer-shell .ui-action--secondary:active { background: var(--ui-accent-secondary-pressed); }
.customer-shell .ui-action--quiet { color: var(--ui-text) !important; background: transparent; border-color: transparent; }
.customer-shell .ui-action--quiet:hover { background: var(--ui-surface-glass); } .customer-shell .ui-action--quiet:active { background: var(--ui-surface-elevated); }
.customer-shell .ui-action--danger { color: #fff !important; background: var(--ui-danger-surface); } .customer-shell .ui-action--danger:hover { background: var(--ui-danger-hover); } .customer-shell .ui-action--danger:active { background: var(--ui-danger-pressed); } .customer-shell .ui-action--small { min-height: 2.75rem; padding: .5rem .75rem; font-size: .875rem; line-height: 1.43; }
.customer-shell .ui-action__spinner { width: .875rem; height: .875rem; flex: 0 0 auto; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ui-spin .8s linear infinite; }
.customer-shell .ui-action.is-disabled, .customer-shell .ui-action:disabled, .customer-shell .ui-action.is-busy { opacity: .64; cursor: not-allowed; } .customer-shell .ui-action.is-busy { cursor: wait; }
.customer-shell .ui-action.is-disabled, .customer-shell .ui-action.is-disabled:hover, .customer-shell .ui-action.is-disabled:active, .customer-shell .ui-action.is-busy, .customer-shell .ui-action.is-busy:hover, .customer-shell .ui-action.is-busy:active, .customer-shell .ui-action:disabled, .customer-shell .ui-action:disabled:hover, .customer-shell .ui-action:disabled:active { color: var(--ui-disabled-text) !important; background: var(--ui-disabled-surface) !important; border-color: transparent !important; box-shadow: none; transform: none; }
.customer-shell .ui-field { margin-block: 1rem; min-width: 0; } .customer-shell .ui-field__label { display:block; margin-bottom: .5rem; color: var(--ui-text-secondary); font-size: .75rem; font-weight: 500; line-height: 1.5; } .customer-shell .ui-field__help { color: var(--ui-text-muted); font-size: .75rem; line-height: 1.5; margin-bottom: .5rem; }
.customer-shell .ui-field input:not([type="checkbox"]):not([type="radio"]), .customer-shell .ui-field select, .customer-shell .ui-field textarea { width: 100%; min-height: 2.75rem; padding: .5rem .75rem; color: var(--ui-text); background: rgba(12,17,33,.88); border: 1px solid #394261; border-radius: var(--ui-radius-control); font: inherit; line-height: 1.5; transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease; }
.customer-shell .ui-field input:not([type="checkbox"]):not([type="radio"]):focus, .customer-shell .ui-field select:focus, .customer-shell .ui-field textarea:focus { border-color: var(--ui-focus); box-shadow: 0 0 0 3px rgba(141,123,255,.24); outline: 0; }
.customer-shell .ui-field input:not([type="checkbox"]):not([type="radio"]):disabled, .customer-shell .ui-field select:disabled, .customer-shell .ui-field textarea:disabled { color: var(--ui-text-muted); background: #202638; opacity: 1; }
.customer-shell .ui-field input[type="checkbox"], .customer-shell .ui-field input[type="radio"] { accent-color: var(--ui-accent-secondary); }
.customer-shell .ui-field__group { min-width: 0; padding: 0; border: 0; margin: 0; }
.customer-shell .ui-field.is-invalid input:not([type="checkbox"]):not([type="radio"]), .customer-shell .ui-field.is-invalid select, .customer-shell .ui-field.is-invalid textarea { border-color: var(--ui-danger); box-shadow: 0 0 0 3px rgba(255,120,139,.16); } .customer-shell .ui-field__errors { color: var(--ui-danger); margin-top: .5rem; font-size: .75rem; line-height: 1.5; } .customer-shell .ui-field__errors p { margin: 0; }
.customer-shell .ui-message { display:flex; align-items:flex-start; gap:.75rem; width:min(100%, 420px); min-height:3.25rem; padding: .75rem 1rem; border:1px solid var(--ui-accent-secondary); border-radius: var(--ui-radius-control); background: var(--ui-surface-glass); margin-block: 1rem; color: var(--ui-text); font-size: .875rem; line-height: 1.43; }
.customer-shell .ui-message--error { border-color: var(--ui-danger); } .customer-shell .ui-message--warning { border-color: var(--ui-warning); } .customer-shell .ui-message--success { border-color: var(--ui-success); }
.customer-shell .ui-status { display:inline-flex; align-items:center; gap:.5rem; min-height:1.75rem; min-width:4.5rem; padding: 0 .75rem; border:1px solid var(--ui-text-secondary); border-radius: var(--ui-radius-pill); background: var(--ui-surface-glass); margin-block: 1rem; color: var(--ui-text-secondary); font-size: .75rem; font-weight: 600; line-height: 1rem; vertical-align: middle; }
.customer-shell .ui-status--info { color: var(--ui-accent-secondary); border-color: var(--ui-accent-secondary); } .customer-shell .ui-status--processing { color: var(--ui-focus); border-color: var(--ui-focus); } .customer-shell .ui-status--success { color: var(--ui-success); border-color: var(--ui-success); } .customer-shell .ui-status--warning { color: var(--ui-warning); border-color: var(--ui-warning); } .customer-shell .ui-status--error { color: var(--ui-danger); border-color: var(--ui-danger); } .customer-shell .ui-status--expired { color: var(--ui-text-muted); border-color: var(--ui-text-muted); }
.customer-shell .ui-status__spinner { width: .5rem; height: .5rem; flex: 0 0 auto; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ui-spin .8s linear infinite; }
.customer-shell .ui-panel { padding: 1.5rem; border: 1px solid var(--ui-border-subtle); border-radius: var(--ui-radius-card); background: var(--ui-surface); } .customer-shell .ui-panel--glass { background: var(--ui-surface-elevated); border-color: var(--ui-border-subtle); } .customer-shell .ui-panel--accent_glass { background: rgba(115,82,243,.14); border-color: rgba(115,82,243,.6); } .customer-shell .ui-panel--light_reading { color: #111629; background: var(--ui-surface-reading); border-color: rgba(17,22,41,.18); } .customer-shell .ui-panel--light_reading .ui-panel__content { color: #3f485f; } .customer-shell .ui-panel__heading { margin-top:0; } .customer-shell .ui-panel__content { color:var(--ui-text-secondary); }
@supports (backdrop-filter: blur(12px)) { .customer-shell .ui-panel--glass { background: var(--ui-surface-glass); backdrop-filter: blur(12px); } }
.customer-shell .ui-icon { flex: 0 0 auto; width: 1.5rem; height: 1.5rem; filter: brightness(0) invert(1); } .customer-shell .ui-action .ui-icon { width: 1rem; height: 1rem; } .customer-shell .ui-message .ui-icon { width: 1rem; height: 1rem; } .customer-shell .ui-action--secondary .ui-icon, .customer-shell .ui-panel--light_reading .ui-icon { filter: none; } .customer-shell .ui-panel--light_reading .ui-action--primary .ui-icon, .customer-shell .ui-panel--light_reading .ui-action--danger .ui-icon { filter: brightness(0) invert(1); } @keyframes ui-spin { to { transform: rotate(360deg); } }
.customer-shell .ui-action.is-disabled .ui-icon, .customer-shell .ui-action.is-busy .ui-icon, .customer-shell .ui-action:disabled .ui-icon { filter: brightness(0) invert(1); }
@media (prefers-reduced-motion: reduce) { .customer-shell .ui-status__spinner, .customer-shell .ui-action__spinner { animation: none; } .customer-shell .ui-action, .customer-shell .ui-field input:not([type="checkbox"]):not([type="radio"]), .customer-shell .ui-field select, .customer-shell .ui-field textarea, .customer-shell--folio .purchase-page__currency-toggle { transition: none; } }
@media (max-width: 575.98px) { .customer-shell__header, .customer-shell__main, .customer-shell__footer { width: min(100% - 2rem, var(--ui-content-max)); } .customer-shell__header { flex-wrap: nowrap; } .customer-shell .customer-shell__header nav { flex: 0 1 auto; width: auto; justify-content: flex-end; } .customer-shell .landing-hero__actions .ui-action, .customer-shell .document-code-card__actions .ui-action { width: 100%; } .customer-shell .customer-shell__header nav .ui-action { width: auto; } }
@media (max-width: 575.98px) {
  .customer-shell .customer-shell__mobile-back {
    display: flex;
    width: min(calc(100% - 1rem), var(--ui-content-max));
    margin-inline: auto;
    padding-top: .25rem;
  }
  .customer-shell .customer-shell__mobile-back .ui-action {
    width: auto;
    min-height: 2.75rem;
    padding-inline: .65rem;
    font-size: .875rem;
  }
}

/* Page/composite layout. Primitive controls remain in the shared rules above. */
.customer-shell .public-page, .customer-shell .customer-page, .customer-shell .legal-page { padding-block: clamp(1.5rem, 4vw, 4rem); }
.customer-shell .landing-hero { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(14rem,.9fr); align-items:center; gap:clamp(2rem,6vw,6rem); min-height:28rem; }
.customer-shell .landing-hero__copy { max-width:40rem; }
.customer-shell .landing-hero h1 { max-width: 12ch; margin-block:.25rem 1rem; font-size:clamp(2.5rem,7vw,5.5rem); line-height:.98; letter-spacing:-.04em; }
.customer-shell .landing-hero__copy > p:not(.eyebrow) { max-width:42rem; color:var(--ui-text-secondary); font-size:clamp(1.05rem,2vw,1.3rem); }
.customer-shell .landing-hero__actions { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1.5rem; }
.customer-shell .landing-hero__visual { min-height:20rem; display:grid; place-items:center; position:relative; isolation:isolate; }
.customer-shell .document-stack { width:min(18rem,75%); aspect-ratio:3/4; border:1px solid rgba(141,123,255,.32); border-radius:var(--ui-radius-card); background:linear-gradient(145deg,rgba(115,82,243,.24),rgba(13,18,32,.9)); box-shadow:0 2rem 5rem rgba(0,0,0,.35); }
.customer-shell .document-stack--back { position:absolute; transform:rotate(-12deg) translate(-1.5rem,.5rem); opacity:.5; z-index:-1; }
.customer-shell .document-stack--front { display:grid; place-items:center; color:var(--ui-accent); font-size:2rem; font-weight:700; transform:rotate(7deg); }
.customer-shell .public-page > section { margin-block:clamp(2rem,6vw,5rem); }
.customer-shell .public-page h2 { margin-bottom:1rem; font-size:clamp(1.5rem,3vw,2.4rem); }
.customer-shell .steps-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; padding:0; list-style:none; counter-reset:steps; }
.customer-shell .steps-list li, .customer-shell .capabilities-grid article, .customer-shell .trust-grid p { padding:1.25rem; border:1px solid var(--ui-border); border-radius:var(--ui-radius-card); background:var(--ui-surface); }
.customer-shell .steps-list li { counter-increment:steps; display:grid; gap:.5rem; }
.customer-shell .steps-list li::before { content:counter(steps,decimal-leading-zero); color:var(--ui-focus); font-weight:700; }
.customer-shell .steps-list span, .customer-shell .capabilities-grid p, .customer-shell .trust-grid p { color:var(--ui-text-secondary); }
.customer-shell .capabilities-grid, .customer-shell .trust-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.customer-shell .package-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:1rem; align-items:stretch; }
.customer-shell .package-card { display:flex; min-width:0; flex-direction:column; gap:.75rem; padding:1.25rem; border:1px solid var(--ui-border); border-radius:var(--ui-radius-card); background:var(--ui-surface); }
.customer-shell .package-card--recommended { border-color:rgba(115,82,243,.7); box-shadow:0 0 2rem rgba(115,82,243,.16); }
.customer-shell .package-card__heading { display:flex; align-items:flex-start; justify-content:space-between; gap:.5rem; }
.customer-shell .package-card__heading h3 { margin:0; }
.customer-shell .package-card__badge { color:var(--ui-focus); font-size:.75rem; }
.customer-shell .package-card__units, .customer-shell .package-card__description { color:var(--ui-text-secondary); }
.customer-shell .package-card__price { margin-top:auto; font-size:1.35rem; font-weight:700; }
.customer-shell .package-card .ui-action { width:100%; }
.customer-shell details { padding-block:.75rem; border-bottom:1px solid var(--ui-border); }
.customer-shell details summary { cursor:pointer; font-weight:600; }
.customer-shell .legal-page { max-width:52rem; margin-inline:auto; }
.customer-shell .legal-reading { padding:clamp(1.25rem,4vw,3rem); color:#111629; background:var(--ui-surface-reading); border-radius:var(--ui-radius-card); }
.customer-shell .legal-reading p { color:#3f485f; }
.customer-shell .legal-reading section + section { margin-top:2rem; }
.customer-shell .customer-page--narrow { max-width:48rem; margin-inline:auto; }
.customer-shell .step-indicator { display:flex; flex-wrap:wrap; gap:.5rem; margin:0 0 1.5rem; padding:0; list-style:none; color:var(--ui-text-muted); font-size:.875rem; }
.customer-shell .step-indicator li { padding:.35rem .65rem; border:1px solid var(--ui-border); border-radius:999px; }
.customer-shell .step-indicator li[aria-current="step"] { color:var(--ui-focus); border-color:rgba(115,82,243,.62); }
.customer-shell .step-indicator li[data-step-state="error"] { color:var(--ui-danger); border-color:var(--ui-danger); }
.customer-shell .purchase-recovery { margin-bottom:1.5rem; }
.customer-shell .purchase-recovery__list { display:grid; gap:.75rem; margin:0; padding:0; list-style:none; }
.customer-shell .purchase-recovery__item { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.75rem; align-items:center; padding:1rem; border:1px solid var(--ui-border); border-radius:var(--ui-radius-control); }
.customer-shell .purchase-recovery__item > div:first-child { display:grid; gap:.2rem; }
.customer-shell .purchase-recovery__item time { color:var(--ui-text-muted); font-size:.875rem; }
.customer-shell .workspace-page__work-area { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(18rem,.85fr); gap:1.25rem; align-items:start; }
.customer-shell .workspace-page__primary, .customer-shell .workspace-page__secondary { display:grid; gap:1.25rem; min-width:0; }
.customer-shell .document-option-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.35rem .75rem; align-items:center; padding-block:.75rem; border-top:1px solid var(--ui-border); }
.customer-shell .document-option-row .ui-field { grid-row:span 2; }
.customer-shell .document-upload-card [data-upload-dropzone="true"] { display:block; max-width:42rem; margin-block:1rem; padding:.75rem 1rem; border:1px dashed var(--ui-border); border-radius:var(--ui-radius-control); color:var(--ui-text-muted); background:rgba(12,17,33,.38); }
.customer-shell .document-upload-card [data-upload-dropzone="true"][role="button"] { cursor:pointer; }
.customer-shell .document-upload-card [data-upload-dropzone="true"][aria-disabled="true"] { cursor:not-allowed; }
.customer-shell .document-upload-card [data-upload-dropzone="true"][role="button"]:focus-visible { outline:2px solid var(--ui-focus); outline-offset:2px; box-shadow:0 0 0 3px rgba(141,123,255,.34); }
.customer-shell .document-upload-card [data-upload-drop-state="dragover"] { color:var(--ui-accent-secondary); border-color:var(--ui-accent-secondary); background:rgba(70,214,255,.1); }
.customer-shell .document-upload-card [data-upload-drop-state="selected"] { color:var(--ui-text-secondary); border-color:var(--ui-focus); }
.customer-shell .document-upload-card [data-upload-drop-state="busy"] { color:var(--ui-disabled-text); border-color:var(--ui-border-subtle); background:var(--ui-disabled-surface); cursor:wait; }
.customer-shell .document-upload-card [data-upload-drop-state="error"] { color:var(--ui-danger); border-color:var(--ui-danger); background:rgba(200,60,85,.1); }
.customer-shell .document-upload-card [data-upload-drop-state="locked"] { color:var(--ui-danger); border-color:var(--ui-danger); background:rgba(200,60,85,.1); cursor:not-allowed; }
.customer-shell .document-upload-card [data-upload-file-summary="true"], .customer-shell .document-upload-card [data-upload-file-name="true"] { overflow-wrap:anywhere; word-break:break-word; }
.customer-shell .document-upload-card__recovery { display:flex; flex-wrap:wrap; gap:.75rem; margin-block:.75rem; }
.customer-shell .document-history__row { display:grid; grid-template-columns:1.2fr .8fr .8fr auto auto; gap:.5rem; align-items:center; padding-block:.75rem; border-top:1px solid var(--ui-border); }
.customer-shell .document-result-card__artifacts { display:grid; gap:.5rem; }
.customer-shell .document-code-card__value { display:block; margin-block:1rem; padding:1rem; overflow-wrap:anywhere; border:1px dashed rgba(70,214,255,.68); border-radius:var(--ui-radius-control); color:var(--ui-accent-secondary); font:700 1.25rem/1.4 ui-monospace,SFMono-Regular,Consolas,monospace; }
.customer-shell .document-code-card__actions { display:flex; flex-wrap:wrap; gap:.75rem; }
@media (max-width: 991.98px) { .customer-shell .package-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .customer-shell .workspace-page__work-area { grid-template-columns:1fr; } }
@media (max-width: 767.98px) { .customer-shell .landing-hero { grid-template-columns:1fr; min-height:0; } .customer-shell .landing-hero__visual { min-height:14rem; order:-1; } .customer-shell .steps-list, .customer-shell .capabilities-grid, .customer-shell .trust-grid { grid-template-columns:1fr; } .customer-shell .package-grid { grid-template-columns:1fr; } .customer-shell .purchase-recovery__item, .customer-shell .document-history__row, .customer-shell .document-option-row { grid-template-columns:1fr; } .customer-shell .document-option-row .ui-field { grid-row:auto; } }
@media (max-width: 360px) { .customer-shell .package-grid { grid-template-columns:1fr; } .customer-shell .landing-hero h1 { font-size:2.35rem; } .customer-shell .ui-panel { padding:1rem; } }
@media (max-width: 320px) { .customer-shell__header, .customer-shell__main, .customer-shell__footer { width:calc(100% - 1rem); } .customer-shell .step-indicator { gap:.25rem; font-size:.75rem; } .customer-shell .step-indicator li { padding-inline:.45rem; } .customer-shell .landing-hero__actions, .customer-shell .document-code-card__actions { gap:.5rem; } }

/* Workspace shell geometry. Shared primitives retain their contracts while
   this page composes them into navigation, task and history surfaces. The
   warm-paper customer target is scoped below. */
:root { --ui-workspace-canvas: #080d1c; --ui-workspace-panel: #0f1730; --ui-workspace-panel-strong: #131d3b; --ui-workspace-cobalt: #6176e8; }
.customer-shell .workspace-shell-header { width: 100%; max-width: none; margin-inline: 0; padding: 0; border-block: 1px solid var(--ui-border-subtle); background: var(--ui-workspace-panel); }
.customer-shell .workspace-header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1.5rem; width: min(100% - 2.5rem, var(--ui-content-max)); min-height: 4.5rem; margin-inline: auto; }
.customer-shell .workspace-header__wordmark { min-width: 0; overflow-wrap: anywhere; }
.customer-shell .workspace-header__nav { display: flex; align-items: center; justify-content: center; gap: 1.5rem; min-width: 0; }
.customer-shell .workspace-header__nav-link { padding: .5rem .25rem; color: var(--ui-text-secondary); font-size: .9rem; text-decoration: none; white-space: nowrap; }
.customer-shell .workspace-header__nav-link:hover { color: var(--ui-text); }
.customer-shell .workspace-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; min-width: 0; }
.customer-shell .workspace-header__balance { display: inline-flex; align-items: baseline; gap: .45rem; min-width: 0; padding-inline: .5rem; color: var(--ui-text-secondary); font-size: .8rem; white-space: nowrap; }
.customer-shell .workspace-header__balance strong { color: var(--ui-text); font-size: .875rem; }
.customer-shell .workspace-header__balance-unavailable { color: var(--ui-text-muted); }
.customer-shell .workspace-header__logout { margin: 0; }
.customer-shell .workspace-header__icon-action { display: inline-flex; border-radius: 50%; }
.customer-shell .workspace-header__icon-action .ui-action { width: 2.75rem; height: 2.75rem; min-width: 2.75rem; padding: 0; border-radius: 50%; }
.customer-shell .workspace-header__icon-action .ui-action > span:last-child { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; white-space: nowrap; border: 0; clip: rect(0 0 0 0); }
.customer-shell .workspace-page { width: 100%; max-width: none; margin-inline: 0; padding: clamp(1rem, 3vw, 2rem) max(1.25rem, calc((100% - var(--ui-content-max)) / 2)); background: var(--ui-workspace-canvas); }
.customer-shell .workspace-page__subnav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100%, var(--ui-content-max)); margin-inline: auto; padding: .75rem 1rem; border: 1px solid var(--ui-border-subtle); border-radius: 14px; background: var(--ui-workspace-panel); }
.customer-shell .workspace-breadcrumb__list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; color: var(--ui-text-muted); font-size: .8rem; list-style: none; }
.customer-shell .workspace-breadcrumb__list li + li::before { content: "/"; margin-right: .5rem; color: var(--ui-border); }
.customer-shell .workspace-breadcrumb__list a { color: var(--ui-text-secondary); text-decoration: none; }
.customer-shell .workspace-format-tabs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.customer-shell .workspace-format-badge { padding: .3rem .65rem; border: 1px solid var(--ui-border); border-radius: 8px; color: var(--ui-text-muted); font-size: .75rem; }
.customer-shell .workspace-page__intro { width: min(100%, 56rem); margin: clamp(2rem, 6vw, 4rem) auto 2rem; text-align: center; }
.customer-shell .workspace-page__intro h1 { margin: .25rem 0 .75rem; font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.035em; }
.customer-shell .workspace-page__supporting { max-width: 42rem; margin-inline: auto; color: var(--ui-text-secondary); }
.customer-shell .workspace-page .ui-status { border-radius: 8px; }
.customer-shell .workspace-page__work-area { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr); gap: 1.25rem; width: min(100%, 56rem); margin-inline: auto; }
.customer-shell .workspace-page__primary, .customer-shell .workspace-page__secondary { width: 100%; min-width: 0; }
.customer-shell .workspace-page__primary { display: grid; gap: 1rem; }
.customer-shell .workspace-page__secondary { display: grid; gap: 1rem; }
.customer-shell .workspace-page > .document-history { width: min(100%, 56rem); margin: 1.25rem auto 0; }
.customer-shell .document-balance-card { padding: .9rem 1.15rem; border-radius: 14px; background: var(--ui-workspace-panel-strong); }
.customer-shell .document-balance-card .ui-panel__heading { display: inline; margin-right: .4rem; font-size: 1rem; }
.customer-shell .document-balance-card p { display: inline; margin-right: .75rem; color: var(--ui-text-secondary); font-size: .8rem; }
.customer-shell .document-balance-card .ui-status { margin-block: .25rem; }
.customer-shell .document-balance-card .ui-action { margin-top: .35rem; }
.customer-shell .workspace-top-up { padding: 1.15rem; border-radius: 14px; background: var(--ui-workspace-panel); }
.customer-shell .workspace-top-up .package-grid { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.customer-shell .workspace-top-up .package-card { border-radius: 10px; padding: .9rem; }
.customer-shell .workspace-upload-module { display: grid; gap: 1rem; }
.customer-shell .document-upload-card { padding: clamp(1.25rem, 4vw, 2rem); border-radius: 16px; border-color: #29375e; background: var(--ui-workspace-panel-strong); }
.customer-shell .document-upload-card h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); }
.customer-shell .document-upload-card__dropzone { display: grid; place-items: center; gap: .65rem; min-height: 15rem; margin-block: 1.25rem; padding: 2rem 1.25rem; border: 1px dashed var(--ui-workspace-cobalt); border-radius: 14px; color: var(--ui-text-secondary); background: rgba(8, 13, 28, .72); text-align: center; }
.customer-shell .document-upload-card__dropzone .ui-icon { width: 2rem; height: 2rem; filter: brightness(0) invert(1); }
.customer-shell .document-upload-card__dropzone strong { color: var(--ui-text); font-size: 1.1rem; }
.customer-shell .document-upload-card__browse { color: var(--ui-accent-secondary); font-weight: 700; }
.customer-shell .document-upload-card__capabilities { color: var(--ui-text-muted); font-size: .8rem; }
.customer-shell .document-upload-card__file-field { padding-top: .25rem; }
.customer-shell .document-upload-card__file-field .ui-field { margin: 0; }
.customer-shell .document-upload-card__file-field .ui-field__label { color: var(--ui-text-muted); font-size: .8rem; }
.customer-shell .document-upload-card__selection-actions { margin-top: .5rem; }
.customer-shell .document-upload-card [data-upload-dropzone="true"] { max-width: none; margin-block: 1.25rem; padding: 2rem 1.25rem; border-color: var(--ui-workspace-cobalt); border-radius: 14px; }
.customer-shell .document-upload-card [data-upload-dropzone="true"][role="button"] { cursor: pointer; }
.customer-shell .document-upload-card [data-upload-dropzone="true"][data-upload-drop-state="dragover"] { color: var(--ui-accent-secondary); border-color: var(--ui-accent-secondary); background: rgba(70, 214, 255, .08); }
.customer-shell .document-upload-card [data-upload-dropzone="true"][data-upload-drop-state="selected"] { border-color: var(--ui-focus); background: rgba(97, 118, 232, .09); }
.customer-shell .workspace-summary { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1rem; border: 1px solid var(--ui-border-subtle); border-radius: 14px; background: var(--ui-workspace-panel); }
.customer-shell .workspace-summary__estimate { min-width: 0; }
.customer-shell .workspace-summary .document-quote-card { height: 100%; margin: 0; border-radius: 10px; }
.customer-shell .document-options { margin: 0; padding: 1.1rem 1.25rem; border-radius: 14px; background: var(--ui-workspace-panel); }
.customer-shell .document-options .ui-panel__heading { margin-bottom: .5rem; font-size: 1rem; }
.customer-shell .document-option-row { grid-template-columns: minmax(0, 1fr) auto; padding-block: .8rem; border-color: var(--ui-border-subtle); }
.customer-shell .document-option-row .ui-field { grid-row: span 2; }
.customer-shell .document-option-row .ui-field__label { color: var(--ui-text); font-size: .9rem; }
.customer-shell .document-option-row .ui-field__help { max-width: 34rem; }
.customer-shell .document-option-row .ui-field,
.customer-shell .document-option-row .ui-field__group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: .75rem;
  min-height: 2.75rem;
  margin-block: .35rem;
}
.customer-shell .document-option-row .ui-field > .ui-field__label,
.customer-shell .document-option-row .ui-field__group > .ui-field__label {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  min-height: 2.75rem;
  margin: 0;
  padding-block: .5rem;
  cursor: pointer;
}
.customer-shell .document-option-row .ui-field > input[type="checkbox"],
.customer-shell .document-option-row .ui-field__group > input[type="checkbox"] {
  grid-column: 2;
  grid-row: 1;
  inline-size: 1.5rem;
  block-size: 1.5rem;
  min-inline-size: 1.5rem;
  min-block-size: 1.5rem;
  margin: 0;
}
.customer-shell .document-option-row .ui-field > .ui-field__help,
.customer-shell .document-option-row .ui-field__group > .ui-field__help,
.customer-shell .document-option-row .ui-field > .ui-field__errors,
.customer-shell .document-option-row .ui-field__group > .ui-field__errors,
.customer-shell .document-option-row .ui-field > .ui-field__success,
.customer-shell .document-option-row .ui-field__group > .ui-field__success {
  grid-column: 1 / -1;
}
.customer-shell .document-option-row .ui-field[aria-disabled="true"] > .ui-field__label,
.customer-shell .document-option-row .ui-field__group:disabled > .ui-field__label {
  cursor: not-allowed;
}
.customer-shell .document-history { border-radius: 14px; border-color: var(--ui-border-subtle); background: rgba(15, 23, 48, .64); }
.customer-shell .document-history__list { border-top: 1px solid var(--ui-border-subtle); }
.customer-shell .document-history__row { grid-template-columns: 1.2fr .7fr .8fr auto auto; padding-block: .8rem; border-color: var(--ui-border-subtle); color: var(--ui-text-secondary); }
.customer-shell .document-history__row time { color: var(--ui-text-muted); font-size: .8rem; }
@media (max-width: 900px) { .customer-shell .workspace-header__inner { grid-template-columns: 1fr auto; gap: .75rem; } .customer-shell .workspace-header__nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; padding-bottom: .65rem; } .customer-shell .workspace-header__actions { grid-column: 2; grid-row: 1; } }
@media (max-width: 991.98px) { .customer-shell .workspace-page__work-area { grid-template-columns: 1fr; } }
@media (max-width: 767.98px) { .customer-shell .workspace-page { padding-inline: 1rem; } .customer-shell .workspace-page__subnav { align-items: flex-start; flex-direction: column; } .customer-shell .workspace-format-tabs { width: 100%; } .customer-shell .workspace-summary { grid-template-columns: 1fr; } .customer-shell .document-option-row, .customer-shell .document-history__row { grid-template-columns: 1fr; } .customer-shell .document-option-row .ui-field { grid-row: auto; } }
@media (max-width: 479.98px) { .customer-shell--folio .workspace-top-up__links li { align-items: flex-start; flex-direction: column; } }
@media (max-width: 575.98px) { .customer-shell .workspace-header__inner { width: min(100% - 2rem, var(--ui-content-max)); grid-template-columns: minmax(0, 1fr); gap: .5rem; padding-block: .75rem; } .customer-shell .workspace-header__wordmark { grid-column: 1 / -1; grid-row: 1; overflow-wrap: normal; word-break: normal; white-space: normal; } .customer-shell .workspace-header__nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: .5rem .75rem; padding-bottom: 0; } .customer-shell .workspace-header__actions { grid-column: 1 / -1; grid-row: 3; flex-wrap: wrap; justify-content: flex-start; } .customer-shell .workspace-header__balance-label { display: none; } .customer-shell .workspace-header__actions .ui-action--small { padding-inline: .6rem; } }

/* Light folio scope for the public home page. Other customer pages keep the
   dark foundation above; this page-level scope makes the approved C direction
   reversible without leaking into workspace or admin surfaces. */
.customer-shell--home {
  --ui-canvas: #f4f1ec;
  --ui-surface: #fffdfa;
  --ui-surface-elevated: #ebe7df;
  --ui-surface-glass: rgba(255,255,255,.62);
  --ui-surface-reading: #fffdfa;
  --ui-text: #111315;
  --ui-text-secondary: #5f686d;
  --ui-text-muted: #5f686d;
  --ui-accent: #1267d4;
  --ui-accent-hover: #0d4ca1;
  --ui-accent-pressed: #093c82;
  --ui-accent-secondary: #1267d4;
  --ui-accent-secondary-hover: #0d4ca1;
  --ui-accent-secondary-pressed: #093c82;
  --ui-danger: #b42318;
  --ui-danger-surface: #b42318;
  --ui-danger-hover: #8f1d14;
  --ui-danger-pressed: #731811;
  --ui-warning: #9a5a00;
  --ui-info: #1267d4;
  --ui-success: #177b49;
  --ui-disabled-surface: #d8d6d1;
  --ui-disabled-text: #73808c;
  --ui-border: rgba(17,19,21,.18);
  --ui-border-subtle: #c9c4bb;
  --ui-focus: #0d4ca1;
  --ui-radius-card: 20px;
  --ui-content-max: 1240px;
  --ui-font: "Noto Sans Cyrillic", "Urbanist", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
  color: var(--ui-text);
  background: var(--ui-canvas);
}
.customer-shell--home .customer-shell__main { width: 100%; max-width: none; margin-inline: 0; }
.customer-shell--home .customer-shell__footer { width: min(100% - 4rem, var(--ui-content-max)); color: var(--ui-text-secondary); }
.customer-shell .customer-shell__header--home { width: min(100% - 4rem, var(--ui-content-max)); min-height: 4.75rem; padding-block: 1rem; border-bottom: 1px solid var(--ui-border-subtle); }
.customer-shell .customer-shell__header--home nav { gap: 1.25rem; }
.customer-shell .customer-shell__header--home .home-wordmark { display: inline-flex; align-items: center; gap: .65rem; color: var(--ui-text) !important; font-size: .95rem; letter-spacing: -.02em; }
.customer-shell .customer-shell__header--home .home-wordmark__mark { position: relative; display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border: 2px solid var(--ui-text); border-radius: 50%; color: var(--ui-accent); font: 700 .62rem/1 var(--ui-font); }
.customer-shell .customer-shell__header--home .home-wordmark__mark::after { content: ""; position: absolute; top: .3rem; left: .3rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--ui-accent); }
.customer-shell .customer-shell__header--home nav > a:not(.ui-action) { color: var(--ui-text-secondary); font-size: .82rem; text-decoration: none; }
.customer-shell .customer-shell__header--home nav > a:not(.ui-action):hover { color: var(--ui-text); }
.customer-shell .customer-shell__header--home .home-header__status { display: inline-flex; align-items: center; gap: .45rem; color: var(--ui-text-secondary); font-size: .75rem; white-space: nowrap; }
.customer-shell .customer-shell__header--home .home-header__status > span { width: .42rem; height: .42rem; border-radius: 50%; background: #e4663d; }
.customer-shell .customer-shell__header--home .home-header__status--available > span { background: var(--ui-success); }
.customer-shell .customer-shell__header--home .ui-action--secondary { color: var(--ui-text) !important; background: transparent; border-color: var(--ui-text); }
.customer-shell .customer-shell__header--home .ui-action--secondary:hover { color: var(--ui-canvas) !important; background: var(--ui-text); }
.customer-shell .customer-shell__header--home .ui-action--secondary:active { color: var(--ui-canvas) !important; background: #000; }
/* Home presentation blocks. These selectors only provide the approved landing composition; controls remain canonical. */
.customer-shell--home .home-page { width: 100%; max-width: none; margin: 0; padding-block: 0; overflow: hidden; color: var(--ui-text); background: var(--ui-canvas); }
.customer-shell--home .home-page .ui-message .ui-icon { filter: none; }
.customer-shell--home .home-page > .home-block { margin-block: 0; padding-inline: max(1.25rem, calc((100% - var(--ui-content-max)) / 2)); }
.customer-shell--home .home-page .home-block--hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); min-height: 34rem; padding-block: clamp(3.5rem, 8vw, 7rem); border-bottom: 1px solid var(--ui-border-subtle); background: linear-gradient(180deg, rgba(255,255,255,.42), transparent 24rem), var(--ui-canvas); }
.customer-shell--home .home-page .home-hero__copy { max-width: 45rem; min-width: 0; }
.customer-shell--home .home-page .home-hero__copy .eyebrow,
.customer-shell--home .home-page .home-block .eyebrow { margin: 0 0 .8rem; color: var(--ui-accent-hover); font-size: .68rem; font-weight: 700; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.customer-shell--home .home-page .landing-hero h1 { max-width: 11ch; margin: 0; color: var(--ui-text); font-size: clamp(3.15rem, 6vw, 5.8rem); font-weight: 700; letter-spacing: -.08em; line-height: .91; text-wrap: balance; }
.customer-shell--home .home-page .landing-hero h1 em { color: var(--ui-accent); font-style: normal; }
.customer-shell--home .home-page .landing-hero__copy > p:not(.eyebrow) { max-width: 35rem; margin: 1.35rem 0 0; color: var(--ui-text-secondary); font-size: clamp(1rem, 1.35vw, 1.15rem); letter-spacing: -.015em; line-height: 1.6; }
.customer-shell--home .home-page .landing-hero__copy > p.home-hero__usage { margin-top: .75rem; font-size: .9rem; letter-spacing: 0; line-height: 1.55; }
.customer-shell--home .home-page .home-hero__actions { gap: .7rem; margin-top: 1.75rem; }
.customer-shell--home .home-page .landing-hero__actions .ui-action { min-height: 2.9rem; border-radius: 12px; padding-inline: 1.05rem; font-size: .82rem; transition: transform .18s ease, background-color .18s ease, color .18s ease; }
.customer-shell--home .home-page .landing-hero__actions .ui-action--primary { color: #f4f1ec !important; background: var(--ui-accent); }
.customer-shell--home .home-page .landing-hero__actions .ui-action--primary:hover { background: var(--ui-accent-hover); transform: translateY(-2px); }
.customer-shell--home .home-page .landing-hero__actions .ui-action--secondary { color: var(--ui-text) !important; background: transparent; border-color: var(--ui-text); }
.customer-shell--home .home-page .landing-hero__actions .ui-action--secondary:hover { color: var(--ui-canvas) !important; background: var(--ui-text); transform: translateY(-2px); }
.customer-shell--home .home-page .home-hero-art { min-width: 0; margin: 0; padding: clamp(1rem, 3vw, 2rem); overflow: hidden; border: 1px solid var(--ui-border-subtle); border-radius: 26px; background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(235,231,223,.92)); box-shadow: 10px 12px 0 rgba(17,19,21,.06), 0 1.5rem 3rem rgba(17,19,21,.08); }
.customer-shell--home .home-page .home-hero-art img { display: block; width: 100%; height: auto; max-height: 27rem; object-fit: contain; }
.customer-shell--home .home-page .home-hero-art figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .75rem; border-top: 1px solid var(--ui-border-subtle); color: var(--ui-text-secondary); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.customer-shell--home .home-page .home-hero-art figcaption strong { color: var(--ui-text); }
.customer-shell--home .home-page .home-block:not(.home-block--hero):not(.home-block--ribbon) { padding-block: clamp(2.6rem, 6vw, 5rem); border-bottom: 1px solid var(--ui-border-subtle); }
.customer-shell--home .home-page .home-block__intro { max-width: 49rem; }
.customer-shell--home .home-page .home-block__intro h2,
.customer-shell--home .home-page h2 { margin-top: 0; color: var(--ui-text); font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; letter-spacing: -.065em; line-height: .98; text-wrap: balance; }
.customer-shell--home .home-page .home-block__intro > p:not(.eyebrow) { max-width: 43rem; color: var(--ui-text-secondary); line-height: 1.6; }
.customer-shell--home .home-page .home-block .ui-panel,
.customer-shell--home .home-page .steps-list li,
.customer-shell--home .home-page .home-output-item,
.customer-shell--home .home-page .home-trust-list { color: var(--ui-text); border-color: var(--ui-border-subtle); background: var(--ui-surface); box-shadow: none; }
.customer-shell--home .home-page .ui-panel--glass,
.customer-shell--home .home-page .ui-panel--accent_glass { background: var(--ui-surface); }
.customer-shell--home .home-page .ui-panel__content,
.customer-shell--home .home-page .steps-list li > div > span,
.customer-shell--home .home-page .home-output-item p,
.customer-shell--home .home-page .home-trust-list p,
.customer-shell--home .home-page .home-faq > p:not(.eyebrow) { color: var(--ui-text-secondary); }
.customer-shell--home .home-page .home-block--demo { background: var(--ui-surface); }
.customer-shell--home .home-page .home-demo-intro { max-width: 58rem; }
.customer-shell--home .home-page .home-demo-comparison { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: stretch; gap: 1rem; margin-top: 1.6rem; }
.customer-shell--home .home-page .home-demo-source,
.customer-shell--home .home-page .home-demo-switch { min-width: 0; padding: clamp(1.1rem, 2.5vw, 1.5rem); border: 1px solid var(--ui-border-subtle); border-radius: 18px; color: var(--ui-text); background: var(--ui-surface-elevated); }
.customer-shell--home .home-page .home-demo-card__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .75rem; color: var(--ui-text-secondary); font-size: .64rem; font-weight: 700; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
.customer-shell--home .home-page .home-demo-card__meta span:first-child { color: var(--ui-accent-hover); }
.customer-shell--home .home-page .home-demo-card__meta code,
.customer-shell--home .home-page .home-output-item > code { max-width: 100%; color: var(--ui-text-secondary); font: 600 .67rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0; overflow-wrap: anywhere; text-transform: none; }
.customer-shell--home .home-page .home-demo-source h3,
.customer-shell--home .home-page .home-demo-result h3 { margin: 1rem 0 .75rem; color: var(--ui-text); font-size: clamp(1.05rem, 2vw, 1.35rem); letter-spacing: -.04em; line-height: 1.15; }
.customer-shell--home .home-page .home-demo-source__lines { overflow: hidden; padding: .55rem .85rem; border: 1px dashed var(--ui-border-subtle); border-radius: 12px; background: repeating-linear-gradient(0deg, rgba(17,19,21,.022) 0 1px, transparent 1px 1.4rem), linear-gradient(90deg, rgba(17,19,21,.035), transparent 1.25rem 100%), #fffdfa; }
.customer-shell--home .home-page .home-demo-source__lines p { display: flex; justify-content: space-between; gap: 1rem; margin: .45rem 0; color: var(--ui-text-secondary); font: .9rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.customer-shell--home .home-page .home-demo-source__lines .home-demo-source__labels { margin: .1rem 0 .7rem; padding-bottom: .4rem; border-bottom: 1px solid rgba(17,19,21,.2); color: var(--ui-text-muted); font: 700 .62rem/1.4 var(--ui-font); letter-spacing: .08em; text-transform: uppercase; }
.customer-shell--home .home-page .home-demo-source__lines p:nth-of-type(2) { margin-left: .2rem; transform: translateX(-.15rem); }
.customer-shell--home .home-page .home-demo-source__lines p:nth-of-type(3) { margin-right: -.1rem; transform: translateX(.3rem); }
.customer-shell--home .home-page .home-demo-source__lines strong { color: var(--ui-text); font-weight: 600; }
.customer-shell--home .home-page .home-demo-source__note,
.customer-shell--home .home-page .home-demo-result__note,
.customer-shell--home .home-page .home-demo-disclaimer { color: var(--ui-text-secondary); font-size: .76rem; line-height: 1.5; }
.customer-shell--home .home-page .home-demo-source__note { margin: 1rem 0 0; }
.customer-shell--home .home-page .home-demo-result__note { margin: -.25rem 0 0; }
.customer-shell--home .home-page .home-demo-disclaimer { max-width: 58rem; margin: .9rem 0 0; }
.customer-shell--home .home-page .home-demo-switch { margin: 0; }
.customer-shell--home .home-page .home-demo-switch legend { margin: 0 0 .65rem; padding: 0; color: var(--ui-text); font-size: .76rem; font-weight: 700; }
.customer-shell--home .home-page .home-demo-switch__input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.customer-shell--home .home-page .home-demo-switch__input + label { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; margin: 0 .35rem .35rem 0; padding: .45rem .8rem; border: 1px solid var(--ui-border-subtle); border-radius: 999px; color: var(--ui-text-secondary); background: #fffdfa; font-size: .75rem; font-weight: 700; cursor: pointer; }
.customer-shell--home .home-page .home-demo-switch__input:checked + label { color: #fff; border-color: var(--ui-text); background: var(--ui-text); }
.customer-shell--home .home-page .home-demo-switch__input:focus-visible + label { outline: 3px solid var(--ui-focus); outline-offset: 3px; }
.customer-shell--home .home-page .home-demo-panels { min-width: 0; margin-top: .5rem; }
.customer-shell--home .home-page .home-demo-result { min-width: 0; }
.customer-shell--home .home-page .home-demo-result--readable { display: block; }
.customer-shell--home .home-page .home-demo-result--structured { display: none; }
.customer-shell--home .home-page #home-demo-readable:checked ~ .home-demo-panels .home-demo-result--readable { display: block; }
.customer-shell--home .home-page #home-demo-readable:checked ~ .home-demo-panels .home-demo-result--structured { display: none; }
.customer-shell--home .home-page #home-demo-structured:checked ~ .home-demo-panels .home-demo-result--readable { display: none; }
.customer-shell--home .home-page #home-demo-structured:checked ~ .home-demo-panels .home-demo-result--structured { display: block; }
.customer-shell--home .home-page .home-demo-table { width: 100%; margin-top: .85rem; border-collapse: collapse; color: var(--ui-text); background: #fffdfa; font-size: .82rem; text-align: left; }
.customer-shell--home .home-page .home-demo-table th,
.customer-shell--home .home-page .home-demo-table td { padding: .6rem .7rem; border-bottom: 1px solid var(--ui-border-subtle); }
.customer-shell--home .home-page .home-demo-table thead th { color: var(--ui-text-secondary); font-size: .67rem; letter-spacing: .06em; text-transform: uppercase; }
.customer-shell--home .home-page .home-demo-table tbody th { font-weight: 600; }
.customer-shell--home .home-page .home-demo-table tbody td { text-align: right; font-variant-numeric: tabular-nums; }
.customer-shell--home .home-page .home-demo-result pre { max-width: 100%; margin: .75rem 0 0; padding: .8rem; overflow-wrap: anywhere; white-space: pre-wrap; word-break: break-word; border: 1px solid var(--ui-border-subtle); border-radius: 12px; color: var(--ui-text); background: #fffdfa; font: .72rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
.customer-shell--home .home-page .home-demo-result code { overflow-wrap: inherit; white-space: inherit; word-break: inherit; }
.customer-shell--home .home-page .home-block--ribbon { padding-block: 1rem; border-bottom: 1px solid var(--ui-border-subtle); background: var(--ui-surface); }
.customer-shell--home .home-page .format-ribbon { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.15rem; margin: 0; padding: .35rem 0; border: 0; color: var(--ui-text-secondary); font-size: .75rem; }
.customer-shell--home .home-page .format-ribbon__label { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.customer-shell--home .home-page .format-ribbon__value { color: var(--ui-text); font-weight: 600; }
.customer-shell--home .home-page .home-scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.customer-shell--home .home-page .home-scenario-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; border: 1px solid var(--ui-border-subtle); border-radius: 18px; color: var(--ui-text); background: var(--ui-surface); }
.customer-shell--home .home-page .home-scenario-card__art { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; padding: .5rem; border-bottom: 1px solid var(--ui-border-subtle); background: var(--ui-surface-elevated); }
.customer-shell--home .home-page .home-scenario-card__copy { min-width: 0; padding: 1.15rem; }
.customer-shell--home .home-page .home-scenario-card__kicker { margin: 0 0 .45rem; color: var(--ui-accent-hover); font-size: .66rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.customer-shell--home .home-page .home-scenario-card h3 { margin: 0; color: var(--ui-text); font-size: clamp(1.15rem, 1.7vw, 1.45rem); letter-spacing: -.045em; line-height: 1.12; }
.customer-shell--home .home-page .home-scenario-card__copy > p:not(.home-scenario-card__kicker) { color: var(--ui-text-secondary); font-size: .84rem; line-height: 1.55; }
.customer-shell--home .home-page .home-scenario-card__output { margin: 1rem 0 0; font-size: .72rem !important; }
.customer-shell--home .home-page .home-scenario-card__output code { color: var(--ui-text); font: 600 .7rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.customer-shell--home .home-page .steps-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.customer-shell--home .home-page .steps-list li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); align-content: start; gap: .75rem; min-width: 0; padding: 1rem; border: 1px solid var(--ui-border-subtle); border-radius: 16px; }
.customer-shell--home .home-page .steps-list li::before { content: none; }
.customer-shell--home .home-page .home-step-number { color: var(--ui-accent-hover); font: 700 .8rem/1.5 var(--ui-font); font-variant-numeric: tabular-nums; }
.customer-shell--home .home-page .steps-list li strong { display: block; color: var(--ui-text); font-size: .9rem; }
.customer-shell--home .home-page .steps-list li > div > span { display: block; margin-top: .45rem; font-size: .75rem; line-height: 1.5; }
.customer-shell--home .home-page .home-output-list { margin-top: 1.5rem; border-top: 1px solid var(--ui-border-subtle); }
.customer-shell--home .home-page .home-output-item { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) minmax(10rem, max-content); align-items: center; gap: .75rem 1rem; min-width: 0; padding: 1.2rem 0; border: 0; border-bottom: 1px solid var(--ui-border-subtle); background: transparent; }
.customer-shell--home .home-page .home-output-item__number { color: var(--ui-accent-hover); font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.customer-shell--home .home-page .home-output-item h3 { margin: 0; color: var(--ui-text); font-size: 1rem; letter-spacing: -.025em; }
.customer-shell--home .home-page .home-output-item p { margin: .35rem 0 0; font-size: .82rem; line-height: 1.5; }
.customer-shell--home .home-page .home-output-item > code { justify-self: end; padding: .4rem .55rem; border-radius: 8px; background: var(--ui-surface-elevated); }
.customer-shell--home .home-page .home-output-files { display: flex; flex-wrap: wrap; gap: .35rem; margin: .7rem 0 0; padding: 0; list-style: none; }
.customer-shell--home .home-page .home-output-files li { display: inline-flex; align-items: baseline; gap: .4rem; max-width: 100%; padding: .3rem .45rem; border: 1px solid var(--ui-border-subtle); border-radius: 8px; color: var(--ui-text-secondary); background: var(--ui-surface-elevated); font-size: .68rem; line-height: 1.4; }
.customer-shell--home .home-page .home-output-files code { color: var(--ui-text); font: 600 .68rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.customer-shell--home .home-page .home-output-files__optional { flex-basis: 100%; flex-wrap: wrap; }
.customer-shell--home .home-page .home-limits-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(15rem, .8fr); align-items: start; gap: clamp(1.5rem, 4vw, 3.5rem); }
.customer-shell--home .home-page .home-limits-copy { min-width: 0; max-width: 50rem; }
.customer-shell--home .home-page .home-limits-copy > p:not(.eyebrow) { color: var(--ui-text-secondary); font-size: .9rem; line-height: 1.6; }
.customer-shell--home .home-page .home-limits-copy > p.home-limits-disclaimer { max-width: 44rem; margin-block: .75rem 1rem; color: var(--ui-text-secondary); font-size: .875rem; line-height: 1.55; }
.customer-shell--home .home-page .home-addons { margin-top: 1rem; border-top: 1px solid var(--ui-border-subtle); border-bottom: 1px solid var(--ui-border-subtle); }
.customer-shell--home .home-page .home-addons summary,
.customer-shell--home .home-page .home-faq summary { display: flex; align-items: center; min-height: 2.85rem; color: var(--ui-text); font-size: .85rem; font-weight: 700; cursor: pointer; }
.customer-shell--home .home-page .home-addons summary::after,
.customer-shell--home .home-page .home-faq summary::after { content: ""; width: .5rem; height: .5rem; flex: 0 0 auto; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.125rem) rotate(45deg); }
.customer-shell--home .home-page .home-addons[open] > summary::after,
.customer-shell--home .home-page .home-faq details[open] > summary::after { transform: translateY(.125rem) rotate(225deg); }
.customer-shell--home .home-page .home-addons p { color: var(--ui-text-secondary); font-size: .82rem; line-height: 1.55; }
.customer-shell--home .home-page .home-trust-list { min-width: 0; padding: 1.1rem; border: 1px solid var(--ui-border-subtle); border-radius: 16px; }
.customer-shell--home .home-page .home-trust-list h3 { margin: 0 0 .65rem; color: var(--ui-text); font-size: .92rem; }
.customer-shell--home .home-page .home-trust-list p { margin: 0; padding-block: .65rem; border-top: 1px solid var(--ui-border-subtle); font-size: .78rem; line-height: 1.5; overflow-wrap: anywhere; }
.customer-shell--home .home-page .home-trust-list p strong { color: var(--ui-text); }
.customer-shell--home .home-page .home-faq { max-width: 61rem; margin-top: clamp(2rem, 5vw, 3.5rem); padding-top: 1.6rem; border-top: 1px solid var(--ui-border-subtle); }
.customer-shell--home .home-page .home-faq h2 { font-size: clamp(1.7rem, 3.3vw, 2.55rem); }
.customer-shell--home .home-page .home-faq details { border-bottom: 1px solid var(--ui-border-subtle); }
.customer-shell--home .home-page .home-faq details p { max-width: 54rem; color: var(--ui-text-secondary); font-size: .83rem; line-height: 1.55; overflow-wrap: anywhere; }
.customer-shell--home .home-page .home-faq summary:focus-visible,
.customer-shell--home .home-page .home-addons summary:focus-visible { outline: 3px solid var(--ui-focus); outline-offset: 3px; }
.customer-shell--home .home-page .home-block--pricing { background: var(--ui-surface); }
.customer-shell--home .home-page .home-pricing-intro { margin-bottom: 1.5rem; }
.customer-shell--home .home-page .package-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; align-items: stretch; }
.customer-shell--home .home-page .package-card { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "heading heading" "units price" "description description" "note note" "validity form"; align-items: center; gap: .3rem 1rem; min-width: 0; padding: .9rem 1rem; border: 1px solid var(--ui-border-subtle); border-radius: 12px; color: var(--ui-text); background: #fffdfa; box-shadow: none; }
.customer-shell--home .home-page .package-card--unavailable { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "heading heading" "units price" "description description" "note note" "validity validity" "availability availability"; }
.customer-shell--home .home-page .package-card--unavailable .package-card__availability { grid-area: availability; }
.customer-shell--home .home-page .package-card__availability { display: flex; justify-content: flex-start; }
.customer-shell--home .home-page .package-card__availability .ui-action { width: auto; min-width: 0; min-height: 2.75rem; padding: .35rem .7rem; border: 1px solid var(--ui-text); border-radius: 9px; color: var(--ui-text) !important; background: transparent; font-size: .75rem; }
.customer-shell--home .home-page .package-card__availability .ui-action:hover { color: var(--ui-text) !important; background: var(--ui-surface-elevated); }
.customer-shell--home .home-page .package-card__availability .ui-action:active { background: var(--ui-border-subtle); }
.customer-shell--home .home-page .package-card--unavailable .ui-message { grid-column: 1 / -1; }
.customer-shell--home .home-page .package-card--recommended { border-color: var(--ui-text); box-shadow: inset 4px 0 0 var(--ui-accent); }
.customer-shell--home .home-page .package-card__heading { grid-area: heading; align-items: center; }
.customer-shell--home .home-page .package-card__heading h3 { color: var(--ui-text); font-size: .95rem; letter-spacing: -.02em; }
.customer-shell--home .home-page .package-card__badge { color: var(--ui-accent-hover); font-size: .68rem; }
.customer-shell--home .home-page .package-card__units { grid-area: units; min-width: 0; max-width: 100%; margin: 0; color: var(--ui-accent); font-size: 22px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.customer-shell--home .home-page .package-card__units strong { font-weight: 700; }
.customer-shell--home .home-page .package-card__description { grid-area: description; margin: .3rem 0 0; color: var(--ui-text-secondary); font-size: .74rem; }
.customer-shell--home .home-page .package-card__consumption-note { grid-area: note; margin: .35rem 0 0; color: var(--ui-text-secondary); font-size: .68rem; line-height: 1.45; }
.customer-shell--home .home-page .package-card .ui-field__help { grid-area: validity; margin: .25rem 0 0; color: var(--ui-text-secondary); font-size: .68rem; }
.customer-shell--home .home-page .package-card__price { grid-area: price; margin: 0; color: var(--ui-text); font: 700 1rem/1 var(--ui-font); white-space: nowrap; }
.customer-shell--home .home-page .package-card__form { grid-area: form; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; min-width: 0; margin-top: .25rem; }
.customer-shell--home .home-page .package-card__form .ui-action { width: auto; min-height: 2.75rem; padding: .35rem .7rem; font-size: .74rem; }
.customer-shell--home .home-page .package-card__form [data-purchase-status="true"] { flex: 1 0 100%; width: 100%; min-width: 0; }
.customer-shell--home .home-page .home-package-note { max-width: 55rem; margin: 1rem 0 0; color: var(--ui-text-secondary); font-size: .78rem; line-height: 1.55; }
.customer-shell--home .home-page .home-addons__scope { margin: .55rem 0; color: var(--ui-text-secondary); font-size: .76rem; }
.customer-shell--home .home-page .home-addons__list { margin: .65rem 0 0; padding: 0; border-top: 1px solid var(--ui-border-subtle); list-style: none; }
.customer-shell--home .home-page .home-addons__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(10rem, max-content); align-items: center; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid var(--ui-border-subtle); }
.customer-shell--home .home-page .home-addons__copy { min-width: 0; }
.customer-shell--home .home-page .home-addons__copy strong { color: var(--ui-text); font-size: .8rem; }
.customer-shell--home .home-page .home-addons__copy p { margin: .2rem 0 0; }
.customer-shell--home .home-page .home-addons__cost { max-width: 13rem; color: var(--ui-text); font-size: .72rem; font-weight: 700; line-height: 1.45; text-align: right; overflow-wrap: anywhere; }
.customer-shell--home .home-page .package-card__price { display: flex; flex-direction: column; align-items: flex-end; gap: .22rem; text-align: right; white-space: normal; }
.customer-shell--home .home-page .package-card__price-value { color: var(--ui-text); font: 700 1rem/1.2 var(--ui-font); white-space: nowrap; }
.customer-shell--home .home-page .package-card__price-equivalent { max-width: 100%; color: var(--ui-text); font: 700 1rem/1.2 var(--ui-font); white-space: normal; }
.customer-shell--home .home-page .home-price-note { max-width: 55rem; margin: .45rem 0 0; color: var(--ui-text-muted); font-size: .72rem; line-height: 1.5; }
.customer-shell--home .home-page > .purchase-recovery { width: min(calc(100% - 2.5rem), var(--ui-content-max)); margin: 1rem auto; }
.customer-shell--home .home-page .home-block--portal { border-bottom: 0; background: var(--ui-surface-elevated); }
.customer-shell--home .home-page .home-block--portal > p:not(.eyebrow) { max-width: 42rem; color: var(--ui-text-secondary); }
.customer-shell--home .home-page .home-block--portal .landing-hero__actions { margin-top: 1.25rem; }
.customer-shell--home .customer-shell__footer { width: min(100% - 4rem, var(--ui-content-max)); border-top: 1px solid var(--ui-border-subtle); color: var(--ui-text-secondary); }
@media (min-width: 768px) and (max-width: 1279.98px) {
  .customer-shell--home .home-page .home-scenario-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .customer-shell--home .home-page .home-block--hero { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 2rem; }
  .customer-shell--home .home-page .home-hero-art { padding: 1rem; }
  .customer-shell--home .home-page .home-demo-comparison { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .customer-shell--home .home-page .steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .customer-shell .customer-shell__header--home { width: min(100% - 2rem, var(--ui-content-max)); }
  .customer-shell--home .customer-shell__footer { width: min(100% - 2rem, var(--ui-content-max)); }
  .customer-shell--home .home-page > .home-block { padding-inline: 1.25rem; }
  .customer-shell--home .home-page .home-block--hero { grid-template-columns: 1fr; gap: 1.75rem; min-height: 0; padding-block: 2.5rem 3rem; }
  .customer-shell--home .home-page .landing-hero h1 { max-width: 12ch; font-size: clamp(3rem, 10vw, 4.6rem); }
  .customer-shell--home .home-page .home-hero-art { width: min(100%, 40rem); margin-inline: auto; }
  .customer-shell--home .home-page .home-hero-art img { max-height: 23rem; }
  .customer-shell--home .home-page .home-demo-comparison { grid-template-columns: 1fr; }
  .customer-shell--home .home-page .home-scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-shell--home .home-page .home-limits-grid { grid-template-columns: 1fr; }
  .customer-shell--home .home-page .package-grid { grid-template-columns: 1fr; }
  .customer-shell--home .home-page .package-card__units { font-size: 20px; }
  .customer-shell--home .home-page .landing-hero__actions .ui-action { width: 100%; }
  .customer-shell--home .home-page .home-hero__actions { align-items: stretch; }
}
@media (max-width: 575.98px) {
  .customer-shell .customer-shell__header--home { flex-wrap: wrap; gap: .65rem; }
  .customer-shell .customer-shell__header--home nav { flex: 1 1 100%; gap: .55rem; justify-content: flex-end; }
  .customer-shell .customer-shell__header--home nav > a:first-child { display: none; }
  .customer-shell .customer-shell__header--home nav .ui-action { display: inline-flex; flex: 0 0 auto; }
  .customer-shell .customer-shell__header--home nav > a:not(.ui-action) { font-size: .74rem; }
  .customer-shell--home .home-page > .home-block { padding-inline: 1rem; }
  .customer-shell--home .home-page .home-block:not(.home-block--hero):not(.home-block--ribbon) { padding-block: 2.5rem; }
  .customer-shell--home .home-page .home-block--hero { padding-block: 2rem 2.5rem; }
  .customer-shell--home .home-page .landing-hero h1 { max-width: 100%; font-size: clamp(2.7rem, 12.5vw, 4rem); }
  .customer-shell--home .home-page .landing-hero__actions { align-items: stretch; }
  .customer-shell--home .home-page .home-hero-art { padding: .75rem; border-radius: 18px; box-shadow: 6px 8px 0 rgba(17,19,21,.06), 0 1rem 1.75rem rgba(17,19,21,.08); }
  .customer-shell--home .home-page .home-hero-art figcaption { font-size: .59rem; }
  .customer-shell--home .home-page .home-demo-source,
  .customer-shell--home .home-page .home-demo-switch { padding: 1rem; }
  .customer-shell--home .home-page .home-scenario-grid,
  .customer-shell--home .home-page .steps-list { grid-template-columns: 1fr; }
  .customer-shell--home .home-page .home-scenario-card__art { max-height: 13rem; }
  .customer-shell--home .home-page .home-output-item { grid-template-columns: 1.6rem minmax(0, 1fr); gap: .5rem .75rem; padding-block: 1rem; }
  .customer-shell--home .home-page .home-output-item > code { grid-column: 2; justify-self: start; }
  .customer-shell--home .home-page > .purchase-recovery { width: calc(100% - 2rem); }
  .customer-shell--home .home-page .package-card { grid-template-columns: minmax(0,1fr) auto; padding: .85rem .8rem; }
}
@media (max-width: 767.98px) {
  .customer-shell--home .home-page .home-addons__row { grid-template-columns: minmax(0, 1fr); align-items: start; gap: .3rem; }
  .customer-shell--home .home-page .home-addons__cost { max-width: none; text-align: left; }
}
@media (max-width: 350px) {
  .customer-shell--home .home-page > .home-block { padding-inline: .75rem; }
  .customer-shell--home .home-page .landing-hero h1 { font-size: 2.5rem; }
  .customer-shell--home .home-page .home-demo-switch__input + label { padding-inline: .6rem; font-size: .69rem; }
}
@media (max-width: 320px) {
  .customer-shell--home .home-page .home-demo-card__meta { font-size: .58rem; }
  .customer-shell--home .home-page .home-demo-table th,
  .customer-shell--home .home-page .home-demo-table td { padding-inline: .45rem; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-shell--home .home-page .landing-hero__actions .ui-action,
  .customer-shell--home .home-page .package-card { transition: none; }
}
/* Shared warm-paper treatment for transactional customer screens. Surfaces
   stay opaque so payment facts, statuses and forms remain easy to read. */
.customer-shell--folio {
  --ui-canvas: #f4f1ec;
  --ui-surface: #fffdfa;
  --ui-surface-elevated: #ebe7df;
  --ui-surface-glass: #fffdfa;
  --ui-surface-reading: #fffdfa;
  --ui-text: #111315;
  --ui-text-secondary: #686c70;
  --ui-text-muted: #5f686d;
  --ui-accent: #1267d4;
  --ui-accent-hover: #0d4ca1;
  --ui-accent-pressed: #093c82;
  --ui-accent-secondary: #1267d4;
  --ui-accent-secondary-hover: #0d4ca1;
  --ui-accent-secondary-pressed: #093c82;
  --ui-danger: #b42318;
  --ui-danger-surface: #b42318;
  --ui-danger-hover: #8f1d14;
  --ui-danger-pressed: #731811;
  --ui-warning: #9a5a00;
  --ui-info: #1267d4;
  --ui-success: #177b49;
  --ui-disabled-surface: #d8d6d1;
  --ui-disabled-text: #73808c;
  --ui-border: rgba(17, 19, 21, .18);
  --ui-border-subtle: #c9c4bb;
  --ui-focus: #0d4ca1;
  --ui-radius-card: 20px;
  --ui-font: "Noto Sans Cyrillic", "Urbanist", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
  color: var(--ui-text);
  background: var(--ui-canvas);
}
.customer-shell--folio .customer-shell__header,
.customer-shell--folio .customer-shell__footer {
  width: min(calc(100% - 2rem), var(--ui-content-max));
}
.customer-shell--folio .customer-shell__header {
  padding-block: 1rem;
  border-bottom: 1px solid var(--ui-border-subtle);
}
.customer-shell--folio .customer-shell__brand {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--ui-text) !important;
  letter-spacing: -.02em;
}
.customer-shell--folio .customer-shell__main {
  width: min(calc(100% - 2rem), var(--ui-content-max));
  min-width: 0;
}
.customer-shell--folio .customer-shell__footer {
  border-top: 1px solid var(--ui-border-subtle);
  color: var(--ui-text-secondary);
}
.customer-shell--folio .customer-shell__footer a { color: var(--ui-accent-hover); }
.customer-shell--folio .customer-page {
  min-width: 0;
  padding-block: clamp(1.75rem, 5vw, 4.5rem);
}
.customer-shell--folio .purchase-page,
.customer-shell--folio .enter-code-page {
  max-width: 52rem;
}
.customer-shell--folio .ui-panel {
  border-color: var(--ui-border-subtle);
  border-radius: var(--ui-radius-card);
  box-shadow: 0 1rem 2rem rgba(17, 19, 21, .06);
}
.customer-shell--folio .ui-panel--glass,
.customer-shell--folio .ui-panel--opaque {
  background: var(--ui-surface);
}
.customer-shell--folio .ui-panel--glass { backdrop-filter: none; }
.customer-shell--folio .ui-panel--accent_glass {
  background: var(--ui-surface-elevated);
  border-color: var(--ui-border-subtle);
}
.customer-shell--folio .ui-panel--light_reading {
  background: var(--ui-surface-reading);
  border-color: var(--ui-border-subtle);
}
.customer-shell--folio .ui-panel__content,
.customer-shell--folio .ui-field__help { color: var(--ui-text-secondary); }
.customer-shell--folio .ui-panel__heading,
.customer-shell--folio .purchase-page__heading {
  color: var(--ui-text);
  overflow-wrap: anywhere;
  word-break: normal;
}
.customer-shell--folio .ui-action--secondary {
  color: var(--ui-text) !important;
  background: transparent;
  border-color: var(--ui-text);
}
.customer-shell--folio .ui-action--secondary:hover {
  color: var(--ui-canvas) !important;
  background: var(--ui-text);
}
.customer-shell--folio .ui-action--secondary:active {
  color: var(--ui-canvas) !important;
  background: #000;
}
.customer-shell--folio .ui-action--primary { color: #fff !important; }
.customer-shell--folio .ui-action--quiet { color: var(--ui-text) !important; }
.customer-shell--folio .ui-action--quiet:hover { background: var(--ui-surface-elevated); }
.customer-shell--folio .ui-message {
  width: 100%;
  max-width: none;
  color: var(--ui-text);
  background: var(--ui-surface);
  border-color: var(--ui-border-subtle);
}
.customer-shell--folio .ui-message--warning { border-color: #c77b23; }
.customer-shell--folio .ui-message--error { border-color: var(--ui-danger); }
.customer-shell--folio .ui-message--success { border-color: var(--ui-success); }
.customer-shell--folio .ui-status {
  max-width: 100%;
  color: var(--ui-text-secondary);
  background: var(--ui-surface);
  border-color: var(--ui-border-subtle);
  overflow-wrap: anywhere;
}
.customer-shell--folio .ui-status--info,
.customer-shell--folio .ui-status--processing { color: var(--ui-accent-hover); border-color: var(--ui-accent); }
.customer-shell--folio .ui-status--success { color: var(--ui-success); border-color: var(--ui-success); }
.customer-shell--folio .ui-status--warning { color: var(--ui-warning); border-color: #c77b23; }
.customer-shell--folio .ui-status--error { color: var(--ui-danger); border-color: var(--ui-danger); }
.customer-shell--folio .ui-status--expired { color: var(--ui-text-muted); border-color: var(--ui-text-muted); }
.customer-shell--folio .ui-icon { filter: none; }
.customer-shell--folio .ui-action--primary .ui-icon { filter: brightness(0) invert(1); }
.customer-shell--folio .ui-action.is-disabled .ui-icon,
.customer-shell--folio .ui-action.is-busy .ui-icon,
.customer-shell--folio .ui-action:disabled .ui-icon { filter: brightness(0) invert(1); }

/* Purchase is a calm state board: the immutable summary and state surface
   share one readable column while recovery remains an explicit separate panel. */
.customer-shell--folio .purchase-page__intro { padding-block: 1rem 1.25rem; }
.customer-shell--folio .purchase-page__heading {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.55rem, 7vw, 4.7rem);
  line-height: .95;
  letter-spacing: -.075em;
}
.customer-shell--folio .purchase-page__lead {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--ui-text-secondary);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.55;
}
.customer-shell--folio .purchase-page__state {
  overflow: hidden;
}
.customer-shell--folio .purchase-page__state > p {
  overflow-wrap: anywhere;
}
.customer-shell--folio .purchase-page__currency-picker {
  margin-block: 1rem 1.25rem;
}
.customer-shell--folio .purchase-page__currency-label {
  margin: 0 0 .45rem;
  color: var(--ui-text-secondary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.customer-shell--folio .purchase-page__currency-options {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.customer-shell--folio .purchase-page__currency-toggle {
  min-width: 3.7rem;
  min-height: 2.5rem;
  padding: .4rem .7rem;
  color: var(--ui-text);
  background: var(--ui-surface-elevated);
  border: 1px solid var(--ui-border-subtle);
  border-radius: 999px;
  font: 700 .85rem/1.2 var(--ui-font);
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.customer-shell--folio .purchase-page__currency-toggle:hover {
  border-color: var(--ui-accent);
  background: var(--ui-surface);
}
.customer-shell--folio .purchase-page__currency-toggle.is-selected {
  color: #fff;
  background: var(--ui-accent);
  border-color: var(--ui-accent);
}
.customer-shell--folio .purchase-page__currency-toggle:disabled {
  color: var(--ui-disabled-text);
  background: var(--ui-disabled-surface);
  border-color: var(--ui-border-subtle);
  cursor: not-allowed;
  opacity: .75;
}
.customer-shell--folio .purchase-page__currency-fallback {
  margin-top: .65rem;
  color: var(--ui-text-secondary);
  font-size: .82rem;
}
.customer-shell--folio .purchase-page__currency-fallback ul {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
  margin: .3rem 0 0;
  padding-left: 1.1rem;
}
.customer-shell--folio .purchase-page__currency-fallback a {
  color: var(--ui-accent-hover);
  font-weight: 700;
}
.customer-shell--folio .purchase-page__summary {
  display: grid;
  gap: .35rem;
  margin: 0;
}
.customer-shell--folio .purchase-page__summary > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .35rem;
  border-bottom: 1px solid var(--ui-border-subtle);
}
.customer-shell--folio .purchase-page__summary > div:first-child {
  align-items: end;
  padding-top: 0;
}
.customer-shell--folio .purchase-page__summary dt {
  color: var(--ui-text-secondary);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.customer-shell--folio .purchase-page__summary dd {
  margin: 0;
  color: var(--ui-text);
  text-align: right;
}
.customer-shell--folio .purchase-page__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.customer-shell--folio .purchase-page__price-value {
  color: var(--ui-text);
  font: 700 clamp(2rem, 8vw, 3.4rem)/.95 var(--ui-font);
  letter-spacing: -.07em;
  white-space: nowrap;
}
.customer-shell--folio .payment-methods {
  margin-block: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ui-border-subtle);
}
.customer-shell--folio .payment-methods__heading {
  margin: 0;
  color: var(--ui-text);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  letter-spacing: -.035em;
}
.customer-shell--folio .payment-methods__currency {
  margin: .35rem 0 0;
  color: var(--ui-text-secondary);
  font-size: .82rem;
  line-height: 1.45;
}
.customer-shell--folio .payment-methods__list {
  display: grid;
  gap: .65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.customer-shell--folio .payment-methods__item {
  padding: .85rem 1rem;
  border: 1px solid var(--ui-border-subtle);
  border-radius: 12px;
  background: var(--ui-surface);
}
.customer-shell--folio .payment-methods__item--unavailable {
  border-color: var(--ui-border-subtle);
  box-shadow: none;
}
.customer-shell--folio .payment-methods__item--primary {
  border-color: var(--ui-accent);
  box-shadow: inset 3px 0 0 var(--ui-accent);
}
.customer-shell--folio .payment-methods__item-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem .75rem;
  color: var(--ui-text);
}
.customer-shell--folio .payment-methods__item-heading .ui-action { width: auto; min-width: 0; }
.customer-shell--folio .payment-methods__item > p {
  margin: .35rem 0 0;
  color: var(--ui-text-secondary);
  font-size: .82rem;
  line-height: 1.5;
}
.customer-shell--folio .purchase-qr {
  display: grid;
  gap: .85rem;
  margin-top: 1.25rem;
  min-width: 0;
}
.customer-shell--folio .purchase-qr > .ui-eyebrow,
.customer-shell--folio .purchase-qr > .ui-panel__heading,
.customer-shell--folio .purchase-qr > .purchase-qr__lead,
.customer-shell--folio .purchase-qr > .purchase-qr__expiry,
.customer-shell--folio .purchase-qr > .purchase-qr__expiry-message { margin-block: 0; }
.customer-shell--folio .purchase-qr__lead,
.customer-shell--folio .purchase-qr__bank-copy { margin: 0; color: var(--ui-text-secondary); line-height: 1.55; }
.customer-shell--folio .purchase-qr__reference-field { display: grid; gap: .4rem; min-width: 0; }
.customer-shell--folio .purchase-qr__label { color: var(--ui-text); font-size: .82rem; font-weight: 700; }
.customer-shell--folio .purchase-qr__reference {
  width: 100%;
  min-width: 0;
  min-height: 3.5rem;
  padding: .6rem .85rem;
  color: var(--ui-text);
  background: var(--ui-surface);
  border: 2px solid var(--ui-accent);
  border-radius: var(--ui-radius-control);
  font: 700 clamp(1.25rem, 5vw, 1.8rem)/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em;
  text-align: center;
}
.customer-shell--folio .purchase-qr__reference:focus { outline: 0; box-shadow: 0 0 0 3px rgba(18, 103, 212, .18); }
.customer-shell--folio .purchase-qr__reference-field .ui-field__help { margin: 0; }
.customer-shell--folio .purchase-qr__actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.customer-shell--folio .purchase-qr__actions > [data-qr-copy="true"],
.customer-shell--folio .purchase-qr__actions > [data-qr-manual-continue="true"] { display: inline-flex; min-width: 0; max-width: 100%; }
.customer-shell--folio .purchase-qr__actions .ui-action { width: auto; max-width: 100%; }
.customer-shell--folio .purchase-qr__copy-status,
.customer-shell--folio .purchase-qr__prepare-status {
  margin: 0;
  padding: .7rem .85rem;
  color: var(--ui-text);
  border: 1px solid var(--ui-border-subtle);
  border-radius: var(--ui-radius-control);
  background: var(--ui-surface);
  line-height: 1.45;
}
.customer-shell--folio .purchase-qr__copy-status[role="alert"] { border-color: var(--ui-danger); }
.customer-shell--folio .purchase-qr__reveal {
  display: grid;
  gap: .75rem;
  justify-items: start;
  margin-top: .25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ui-border-subtle);
}
.customer-shell--folio .purchase-qr__subheading { margin: 0; color: var(--ui-text); font-size: 1.1rem; }
.customer-shell--folio .purchase-qr__asset {
  display: block;
  width: min(100%, 260px);
  height: auto;
  aspect-ratio: 1;
  border: 1px solid var(--ui-border-subtle);
  border-radius: var(--ui-radius-control);
  background: #fff;
}
.customer-shell--folio .purchase-qr__bank-link { width: auto; max-width: 100%; }
.customer-shell--folio .purchase-qr__expiry { color: var(--ui-text-muted); font-size: .78rem; }
.customer-shell--folio .purchase-qr__expiry-message,
.customer-shell--folio .purchase-qr__noscript {
  padding: .75rem .85rem;
  color: var(--ui-text-secondary);
  border: 1px solid var(--ui-border-subtle);
  border-radius: var(--ui-radius-control);
  background: var(--ui-surface);
  line-height: 1.5;
}
.customer-shell--folio .purchase-qr__expiry-message { color: var(--ui-danger); border-color: var(--ui-danger); }
.customer-shell--folio .purchase-qr__noscript p { margin: 0 0 .5rem; }
.customer-shell--folio .purchase-qr__noscript p:last-child { margin-bottom: 0; }
.customer-shell--folio .purchase-qr__noscript a { color: var(--ui-accent-hover); font-weight: 700; }
.customer-shell--folio .purchase-recovery__details {
  margin-bottom: 1.25rem;
  padding-block: 0;
  border: 1px solid var(--ui-border-subtle);
  border-radius: var(--ui-radius-card);
  background: var(--ui-surface-elevated);
  overflow: hidden;
}
.customer-shell--folio .purchase-recovery__summary {
  padding: .9rem 1rem;
  color: var(--ui-text);
  list-style-position: inside;
}
.customer-shell--folio .purchase-recovery__summary:focus-visible {
  outline: 2px solid var(--ui-focus);
  outline-offset: -2px;
}
.customer-shell--folio .purchase-recovery__details[open] > .purchase-recovery__summary {
  border-bottom: 1px solid var(--ui-border-subtle);
}
.customer-shell--folio .purchase-recovery__details > .purchase-recovery {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.customer-shell--folio .purchase-recovery { margin-bottom: 1.25rem; }
.customer-shell--folio .purchase-recovery__item {
  border-color: var(--ui-border-subtle);
  background: var(--ui-surface);
}
.customer-shell--folio .purchase-recovery__item > div:first-child { min-width: 0; }
.customer-shell--folio .purchase-recovery__item span,
.customer-shell--folio .purchase-recovery__item time { overflow-wrap: anywhere; }
.customer-shell--folio .purchase-close-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  margin-top: 1rem;
}
.customer-shell--folio .purchase-close-form .ui-field__help { margin: 0; }
.customer-shell--folio .purchase-close-form--recovery { margin-top: .65rem; }
.customer-shell--folio .document-code-card {
  background: var(--ui-surface-elevated);
  border-color: var(--ui-border-subtle);
}
.customer-shell--folio .document-code-card__value {
  color: var(--ui-text);
  background: var(--ui-surface);
  border-color: var(--ui-accent);
  overflow-wrap: anywhere;
}

/* Enter Code keeps one canonical bound field and gives it the visual weight
   of the single task on the page. */
.customer-shell--folio .enter-code-page .ui-panel { padding: clamp(1.25rem, 4vw, 2.75rem); }
.customer-shell--folio .enter-code-page .ui-panel__heading {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: clamp(2.55rem, 7vw, 4.7rem);
  line-height: .95;
  letter-spacing: -.075em;
}
.customer-shell--folio .enter-code-page .ui-panel__content {
  max-width: 42rem;
  margin-top: 1.15rem;
  font-size: 1rem;
  line-height: 1.6;
}
.customer-shell--folio .enter-code-page .ui-field { margin-block: 1.75rem 1.25rem; }
.customer-shell--folio .enter-code-page .ui-field__label {
  color: var(--ui-text);
  font-size: .875rem;
  font-weight: 700;
}
.customer-shell--folio .enter-code-page .ui-field input:not([type="checkbox"]):not([type="radio"]) {
  min-height: 4.25rem;
  padding: .75rem 1rem;
  color: var(--ui-text);
  background: var(--ui-surface);
  border: 2px solid var(--ui-border-subtle);
  border-radius: 14px;
  font: 700 clamp(1.1rem, 4vw, 1.65rem)/1.25 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.customer-shell--folio .enter-code-page .ui-field input:not([type="checkbox"]):not([type="radio"]):focus {
  border-color: var(--ui-accent);
  box-shadow: 0 0 0 3px rgba(18, 103, 212, .18);
}
.customer-shell--folio .enter-code-page .ui-field.is-invalid input:not([type="checkbox"]):not([type="radio"]) {
  border-color: var(--ui-danger);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .14);
}
.customer-shell--folio .enter-code-page form > .ui-action { margin-top: .25rem; }

/* Keep the exact homepage promise legible at every supported hero width. */
.customer-shell--home .home-page .landing-hero__copy { min-width: 0; }
.customer-shell--home .home-page .landing-hero h1 {
  max-width: 100%;
  text-wrap: balance;
}

@media (max-width: 575.98px) {
  .customer-shell--folio .customer-shell__header,
  .customer-shell--folio .customer-shell__main,
  .customer-shell--folio .customer-shell__footer { width: min(calc(100% - 1rem), var(--ui-content-max)); }
  .customer-shell--folio .purchase-page__intro { padding-block: .75rem 1rem; }
  .customer-shell--folio .purchase-page__heading,
  .customer-shell--folio .enter-code-page .ui-panel__heading { font-size: clamp(2.35rem, 13vw, 3.7rem); }
  .customer-shell--folio .purchase-page .ui-action,
  .customer-shell--folio .enter-code-page form > .ui-action { width: 100%; }
  .customer-shell--folio .purchase-recovery__item { grid-template-columns: 1fr; }
  .customer-shell--folio .purchase-recovery__item .ui-status { justify-self: start; }
}

@media (max-width: 350px) {
  .customer-shell--folio .enter-code-page .ui-panel { padding-inline: 1rem; }
  .customer-shell--folio .enter-code-page .ui-panel__content { font-size: .95rem; }
  .customer-shell--folio .enter-code-page .ui-field input:not([type="checkbox"]):not([type="radio"]) { letter-spacing: .08em; }
  .customer-shell--folio .purchase-qr__reference { letter-spacing: .08em; }
  .customer-shell--folio .purchase-qr__asset { width: min(100%, 220px); }
  .customer-shell--folio .purchase-qr__actions > [data-qr-copy="true"],
  .customer-shell--folio .purchase-qr__actions > [data-qr-manual-continue="true"] { width: 100%; }
}

/* Workspace uses the same warm-paper target as the transactional screens.
   Processing facts, forms, statuses and download controls stay on opaque
   surfaces; the workspace keeps the shared components and server contracts. */
.customer-shell--folio.workspace-shell {
  --workspace-canvas: var(--ui-canvas);
  --workspace-surface: var(--ui-surface);
  --workspace-surface-elevated: var(--ui-surface-elevated);
  --workspace-line: var(--ui-border-subtle);
  --workspace-accent: var(--ui-accent);
  --workspace-muted: var(--ui-text-secondary);
  color-scheme: light;
  color: var(--ui-text);
  background: var(--workspace-canvas);
}
.customer-shell--folio.workspace-shell .customer-shell__main {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  background: var(--workspace-canvas);
}
.customer-shell--folio .workspace-shell-header {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0;
  border-block: 1px solid var(--workspace-line);
  background: var(--workspace-canvas);
}
.customer-shell--folio .workspace-header__inner {
  width: min(100% - 2rem, var(--ui-content-max));
  min-height: 4.75rem;
}
.customer-shell--folio .workspace-header__wordmark { color: var(--ui-text) !important; }
.customer-shell--folio .workspace-header__nav-link,
.customer-shell--folio .workspace-header__balance { color: var(--workspace-muted); }
.customer-shell--folio .workspace-header__nav-link:hover { color: var(--ui-text); }
.customer-shell--folio .workspace-header__balance strong { color: var(--ui-text); }
.customer-shell--folio .workspace-header__balance-unavailable { color: var(--ui-text-muted); }
.customer-shell--folio .workspace-header__icon-action .ui-action--quiet:hover { background: var(--workspace-surface-elevated); }

.customer-shell--folio .workspace-page {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-inline: 0;
  padding: clamp(1rem, 3vw, 2rem) max(1rem, calc((100% - var(--ui-content-max)) / 2)) clamp(3rem, 7vw, 5rem);
  color: var(--ui-text);
  background: var(--workspace-canvas);
}
.customer-shell--folio .workspace-page > .step-indicator {
  width: min(100%, var(--ui-content-max));
  margin: 0 auto clamp(1.5rem, 4vw, 2.75rem);
  color: var(--workspace-muted);
}
.customer-shell--folio .workspace-page > .step-indicator li {
  border-color: var(--workspace-line);
  background: transparent;
}
.customer-shell--folio .workspace-page > .step-indicator li[aria-current="step"] {
  color: var(--ui-accent-hover);
  border-color: var(--workspace-accent);
  background: var(--workspace-surface);
}
.customer-shell--folio .workspace-page > .step-indicator li[data-step-state="error"] {
  color: var(--ui-danger);
  border-color: var(--ui-danger);
}
.customer-shell--folio .workspace-page__subnav {
  width: min(100%, var(--ui-content-max));
  margin-inline: auto;
  border-color: var(--workspace-line);
  border-radius: 12px;
  background: var(--workspace-surface);
  box-shadow: 0 .75rem 1.5rem rgba(17, 19, 21, .04);
}
.customer-shell--folio .workspace-breadcrumb__list,
.customer-shell--folio .workspace-breadcrumb__list a { color: var(--workspace-muted); }
.customer-shell--folio .workspace-breadcrumb__list a:hover { color: var(--ui-text); }
.customer-shell--folio .workspace-format-badge {
  color: var(--workspace-muted);
  border-color: var(--workspace-line);
  background: var(--workspace-surface);
}
.customer-shell--folio .workspace-page__intro {
  width: min(100%, var(--ui-content-max));
  margin: clamp(2rem, 6vw, 4.5rem) auto 2rem;
  text-align: left;
}
.customer-shell--folio .workspace-top-up__links {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.customer-shell--folio .workspace-top-up__links li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .7rem .8rem;
  border: 1px solid var(--workspace-line);
  border-radius: 12px;
  background: var(--workspace-surface);
}
.customer-shell--folio .workspace-page .ui-eyebrow {
  margin: 0 0 .55rem;
  color: var(--ui-accent-hover);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}
.customer-shell--folio .workspace-page__intro h1 {
  max-width: 16ch;
  margin: .25rem 0 .8rem;
  color: var(--ui-text);
  font-size: clamp(2.35rem, 6vw, 4.4rem);
  line-height: .96;
  letter-spacing: -.075em;
}
.customer-shell--folio .workspace-page__supporting {
  max-width: 42rem;
  margin-inline: 0;
  color: var(--workspace-muted);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
}
.customer-shell--folio .workspace-page__work-area {
  width: min(100%, var(--ui-content-max));
  margin-inline: auto;
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: start;
}
.customer-shell--folio .workspace-page__primary,
.customer-shell--folio .workspace-page__secondary { gap: 1rem; }
.customer-shell--folio .workspace-page__secondary--decision { align-content: start; }

.customer-shell--folio .workspace-page .ui-panel {
  color: var(--ui-text);
  border-color: var(--workspace-line);
  border-radius: var(--ui-radius-card);
  background: var(--workspace-surface) !important;
  box-shadow: 0 1rem 2rem rgba(17, 19, 21, .055);
}
.customer-shell--folio .workspace-page .ui-panel--glass,
.customer-shell--folio .workspace-page .ui-panel--accent_glass,
.customer-shell--folio .workspace-page .ui-panel--opaque {
  background: var(--workspace-surface) !important;
  border-color: var(--workspace-line);
  backdrop-filter: none;
}
.customer-shell--folio .workspace-page .ui-panel__heading { color: var(--ui-text); }
.customer-shell--folio .workspace-page .ui-panel__content,
.customer-shell--folio .workspace-page p { color: var(--workspace-muted); }
.customer-shell--folio .workspace-page strong,
.customer-shell--folio .workspace-page .ui-panel__heading { color: var(--ui-text); }
.customer-shell--folio .workspace-page .ui-message,
.customer-shell--folio .workspace-page .ui-status {
  color: var(--ui-text);
  background: var(--workspace-surface);
}
.customer-shell--folio .workspace-page .ui-message--warning { border-color: #c77b23; }
.customer-shell--folio .workspace-page .ui-status--warning { border-color: #c77b23; color: var(--ui-warning); }
.customer-shell--folio .workspace-page .ui-message--error { border-color: var(--ui-danger); }
.customer-shell--folio .workspace-page .ui-status--error { border-color: var(--ui-danger); color: var(--ui-danger); }
.customer-shell--folio .workspace-page .ui-message--success { border-color: var(--ui-success); }
.customer-shell--folio .workspace-page .ui-status--success { border-color: var(--ui-success); color: var(--ui-success); }
.customer-shell--folio .workspace-page .ui-status--info,
.customer-shell--folio .workspace-page .ui-status--processing { border-color: var(--workspace-accent); color: var(--ui-accent-hover); }
.customer-shell--folio .workspace-page .ui-status--expired { border-color: var(--ui-text-muted); color: var(--ui-text-muted); }
.customer-shell--folio .workspace-page .ui-icon { filter: none; }
.customer-shell--folio .workspace-page .ui-action--primary .ui-icon { filter: brightness(0) invert(1); }

.customer-shell--folio .workspace-page .document-balance-card {
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--workspace-accent);
  background: var(--workspace-surface-elevated) !important;
}
.customer-shell--folio .workspace-page .document-balance-card .ui-panel__heading {
  display: block;
  margin: 0 0 .45rem;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -.055em;
}
.customer-shell--folio .workspace-page .document-balance-card p { display: block; margin-block: .35rem; }
.customer-shell--folio .workspace-page .document-upload-card__draft {
  margin: 1rem 0 1.25rem;
  padding: .9rem 1rem;
  border: 1px solid var(--workspace-line);
  border-radius: 12px;
  background: var(--workspace-surface-elevated);
}
.customer-shell--folio .workspace-page .document-upload-card__filename { margin: 0; overflow-wrap: anywhere; }
.customer-shell--folio .workspace-page .document-upload-card__draft .ui-status { margin-block: .75rem; }
.customer-shell--folio .workspace-page .document-upload-card__draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.customer-shell--folio .workspace-page .document-upload-card__draft-actions .ui-field__help { margin: 0; }
.customer-shell--folio .workspace-page .workspace-top-up {
  padding: 1.25rem;
  background: var(--workspace-surface) !important;
}
.customer-shell--folio .workspace-page .workspace-top-up .package-grid {
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.customer-shell--folio .workspace-page .workspace-top-up .package-card {
  border-color: var(--workspace-line);
  border-radius: 12px;
  background: var(--workspace-surface-elevated);
  box-shadow: none;
}

.customer-shell--folio .workspace-page .document-upload-card {
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--workspace-surface) !important;
}
.customer-shell--folio .workspace-page .document-upload-card h2 {
  max-width: 18ch;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  letter-spacing: -.055em;
}
.customer-shell--folio .workspace-page .document-upload-card .ui-message { margin-block: 1.25rem; }
.customer-shell--folio .workspace-page .document-upload-card [data-upload-dropzone="true"] {
  display: grid;
  place-items: center;
  gap: .65rem;
  min-height: 15rem;
  max-width: none;
  margin-block: 1.25rem;
  padding: 2rem 1.25rem;
  border: 1px dashed var(--workspace-accent);
  border-radius: 14px;
  color: var(--workspace-muted);
  background: #fbf8f3;
  text-align: center;
}
.customer-shell--folio .workspace-page .document-upload-card [data-upload-dropzone="true"] .ui-icon { width: 2rem; height: 2rem; }
.customer-shell--folio .workspace-page .document-upload-card [data-upload-dropzone="true"] strong { color: var(--ui-text); font-size: 1.1rem; }
.customer-shell--folio .workspace-page .document-upload-card__browse { color: var(--ui-accent-hover); font-weight: 700; }
.customer-shell--folio .workspace-page .document-upload-card__capabilities { color: var(--workspace-muted); font-size: .8rem; }
.customer-shell--folio .workspace-page .document-upload-card [data-upload-drop-state="dragover"] { color: var(--ui-accent-hover); border-color: var(--ui-accent-hover); background: #eef6fb; }
.customer-shell--folio .workspace-page .document-upload-card [data-upload-drop-state="selected"] { border-color: var(--ui-accent-hover); background: #f1f6fa; }
.customer-shell--folio .workspace-page .document-upload-card [data-upload-drop-state="busy"] { color: var(--ui-disabled-text); border-color: var(--workspace-line); background: var(--ui-disabled-surface); }
.customer-shell--folio .workspace-page .document-upload-card [data-upload-drop-state="error"],
.customer-shell--folio .workspace-page .document-upload-card [data-upload-drop-state="locked"] { color: var(--ui-danger); border-color: var(--ui-danger); background: #fff5f2; }
.customer-shell--folio .workspace-page .document-upload-card .ui-field input:not([type="checkbox"]):not([type="radio"]),
.customer-shell--folio .workspace-page .document-upload-card .ui-field select,
.customer-shell--folio .workspace-page .document-upload-card .ui-field textarea {
  color: var(--ui-text);
  background: var(--workspace-surface-elevated);
  border-color: var(--workspace-line);
}
.customer-shell--folio .workspace-page .document-upload-card .ui-field input:not([type="checkbox"]):not([type="radio"]):focus,
.customer-shell--folio .workspace-page .document-upload-card .ui-field select:focus,
.customer-shell--folio .workspace-page .document-upload-card .ui-field textarea:focus {
  border-color: var(--workspace-accent);
  box-shadow: 0 0 0 3px rgba(18, 103, 212, .16);
}

.customer-shell--folio .workspace-page .document-options {
  padding: 1.15rem 1.25rem;
  background: var(--workspace-surface-elevated) !important;
  box-shadow: none;
}
.customer-shell--folio .workspace-page .document-options .ui-panel__heading { margin-bottom: .5rem; font-size: 1rem; }
.customer-shell--folio .workspace-page .document-option-row { border-color: var(--workspace-line); }
.customer-shell--folio .workspace-page .document-option-row .ui-field__label { color: var(--ui-text); font-size: .9rem; }
.customer-shell--folio .workspace-page .document-option-row .ui-field__help { max-width: 34rem; }

.customer-shell--folio .workspace-page .workspace-summary {
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.customer-shell--folio .workspace-page .workspace-summary .document-quote-card {
  height: 100%;
  margin: 0;
  border-left: 4px solid var(--workspace-accent);
  background: var(--workspace-surface-elevated) !important;
}
.customer-shell--folio .workspace-page .document-quote-card .ui-eyebrow,
.customer-shell--folio .workspace-page .document-history .ui-eyebrow { color: var(--ui-accent-hover); }
.customer-shell--folio .workspace-page .document-quote-card .ui-field__help { color: var(--workspace-muted); }
.customer-shell--folio .workspace-page .document-job-card {
  border-left: 4px solid var(--workspace-accent);
  background: var(--workspace-surface) !important;
}
.customer-shell--folio .workspace-page .document-result-card {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--workspace-line);
  border-radius: 14px;
  background: var(--workspace-surface-elevated);
}
.customer-shell--folio .workspace-page .document-result-card__explanation,
.customer-shell--folio .workspace-result-page .document-result-card__explanation { color: var(--ui-text); }
.customer-shell--folio .workspace-page .document-result-card__artifacts { gap: .6rem; }
.customer-shell--folio .workspace-page .document-history {
  width: min(100%, var(--ui-content-max));
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
  background: var(--workspace-surface) !important;
}
.customer-shell--folio .workspace-page .document-history__list { border-color: var(--workspace-line); }
.customer-shell--folio .workspace-page .document-history__row { border-color: var(--workspace-line); color: var(--workspace-muted); }
.customer-shell--folio .workspace-page .document-history__row time { color: var(--ui-text-muted); }
.customer-shell--folio .workspace-result-page {
  width: min(100% - 2rem, 58rem);
  max-width: 58rem;
  margin-inline: auto;
  padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 7vw, 5rem);
  color: var(--ui-text);
}
.customer-shell--folio .workspace-result-page > .step-indicator { margin: 0 0 clamp(1.5rem, 4vw, 2.75rem); }
.customer-shell--folio .workspace-result-page__intro { margin: clamp(2rem, 6vw, 4.5rem) 0 2rem; }
.customer-shell--folio .workspace-result-page__intro h1 { max-width: 18ch; color: var(--ui-text); font-size: clamp(2.35rem, 6vw, 4.4rem); line-height: .96; letter-spacing: -.075em; }
.customer-shell--folio .workspace-result-page__intro .workspace-page__supporting { max-width: 42rem; color: var(--workspace-muted); }
.customer-shell--folio .workspace-result-page .document-result-card { padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--workspace-line); border-radius: var(--ui-radius-card); background: var(--workspace-surface) !important; box-shadow: 0 1rem 2rem rgba(17, 19, 21, .055); }
.customer-shell--folio .workspace-result-page .document-result-card__artifacts { display: grid; gap: .65rem; }
.customer-shell--folio .workspace-result-page .document-result-card__artifacts > .ui-action { width: fit-content; max-width: 100%; }
.customer-shell--folio .workspace-result-page > .ui-action { margin-top: 1rem; }
.customer-shell--folio .purchase-page__price-note,
.customer-shell--folio .payment-methods__currency-note { max-width: 42rem; color: var(--ui-text-secondary); font-size: .85rem; }

@media (max-width: 767.98px) {
  .customer-shell--folio .workspace-page { padding-inline: 1rem; }
  .customer-shell--folio .workspace-page__subnav { align-items: flex-start; }
  .customer-shell--folio .workspace-page__intro { margin-top: 2rem; }
  .customer-shell--folio .workspace-page__intro h1 { font-size: clamp(2.35rem, 13vw, 3.8rem); }
  .customer-shell--folio .workspace-page .ui-panel { border-radius: 16px; }
  .customer-shell--folio .workspace-result-page { width: min(100% - 2rem, 58rem); }
}
@media (max-width: 575.98px) {
  .customer-shell--folio .workspace-header__inner { width: min(100% - 1rem, var(--ui-content-max)); }
  .customer-shell--folio .workspace-page .document-upload-card,
  .customer-shell--folio .workspace-page .document-balance-card { padding: 1.1rem; }
  .customer-shell--folio .workspace-page .document-upload-card [data-upload-dropzone="true"] { min-height: 12rem; padding-inline: 1rem; }
  .customer-shell--folio .workspace-result-page { width: min(100% - 1rem, 58rem); }
  .customer-shell--folio .workspace-result-page__intro { margin-top: 2rem; }
  .customer-shell--folio .workspace-result-page .document-result-card { padding: 1.1rem; border-radius: 16px; }
}
@media (max-width: 320px) {
  .customer-shell--folio .workspace-page { padding-inline: .5rem; }
  .customer-shell--folio .workspace-page .document-upload-card [data-upload-dropzone="true"] { min-height: 10rem; }
}

/* Legal reading and footer navigation use the same warm-white target while
   keeping every document and state surface opaque and easy to scan. */
.customer-shell--folio .legal-page {
  width: 100%;
  max-width: 58rem;
  margin-inline: auto;
  padding-block: clamp(1.75rem, 5vw, 4.5rem);
}
.customer-shell--folio .legal-page__intro { margin-bottom: 1.5rem; }
.customer-shell--folio .legal-page__intro .ui-eyebrow {
  margin: 0 0 .55rem;
  color: var(--ui-accent-hover);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}
.customer-shell--folio .legal-page__intro h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--ui-text);
  font-size: clamp(2.35rem, 6vw, 4.4rem);
  line-height: .96;
  letter-spacing: -.075em;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
}
.customer-shell--folio .legal-reading {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  color: var(--ui-text);
  border: 1px solid var(--ui-border-subtle);
  border-radius: var(--ui-radius-card);
  background: var(--ui-surface);
  box-shadow: 0 1rem 2rem rgba(17, 19, 21, .055);
}
.customer-shell--folio .legal-reading__seller {
  margin: 0 0 1.5rem;
  color: var(--ui-text);
}
.customer-shell--folio .legal-contents {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--ui-border-subtle);
  border-radius: 14px;
  background: var(--ui-surface-elevated);
}
.customer-shell--folio .legal-contents__label {
  margin: 0 0 .5rem;
  color: var(--ui-text);
  font-size: .8rem;
  font-weight: 700;
}
.customer-shell--folio .legal-contents ol {
  display: grid;
  gap: .35rem;
  margin: 0;
  padding-left: 1.25rem;
  color: var(--ui-text-secondary);
}
.customer-shell--folio .legal-contents a {
  color: var(--ui-accent-hover);
  overflow-wrap: anywhere;
}
.customer-shell--folio .legal-reading__section + .legal-reading__section { margin-top: .75rem; }
.customer-shell--folio .legal-reading__section .ui-panel {
  margin: 0;
  border-radius: 14px;
  background: var(--ui-surface-elevated);
  box-shadow: none;
}
.customer-shell--folio .legal-reading__section .ui-panel__heading {
  margin-bottom: .6rem;
  color: var(--ui-text);
  overflow-wrap: anywhere;
}
.customer-shell--folio .legal-reading__section .ui-panel__content {
  color: var(--ui-text-secondary);
  overflow-wrap: anywhere;
}
.customer-shell--folio .legal-reading > .ui-action { margin-top: 1.5rem; }
.customer-shell--folio .legal-footer__nav,
.customer-shell--folio .workspace-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem 1.25rem;
}
.customer-shell--folio .legal-footer__nav a,
.customer-shell--folio .workspace-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ui-accent-hover);
}
.customer-shell--folio .legal-footer__note,
.customer-shell--folio .workspace-footer__note {
  flex: 1 0 100%;
  margin: 0;
  color: var(--ui-text-secondary);
  font-size: .8rem;
  line-height: 1.45;
}
@media (max-width: 575.98px) {
  .customer-shell--folio .legal-page { padding-block: 1.75rem 3rem; }
  .customer-shell--folio .legal-reading { padding: 1rem; }
  .customer-shell--folio .legal-contents { padding-inline: 1rem; }
}
@media (max-width: 350px) {
  .customer-shell--folio .legal-page__intro h1 {
    max-width: 100%;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -.07em;
  }
}
