/* Sanju Fincorp: one stylesheet for the public site and every panel.
   Change a colour or font here and it changes everywhere. */
:root {
    /* Brand colours. Change these and the whole site follows. */
    --ink: #0b1437;          /* dark navy: text, dark bands, footer */
    --ink-soft: #1b2a5c;
    --paper: #f4f7fe;        /* page background */
    --surface: #ffffff;      /* cards */
    --brand: #1447e6;        /* royal blue: buttons, links, highlights */
    --brand-dark: #0f36b5;
    --brand-tint: #e9efff;   /* light blue backgrounds */
    --marigold: #f5a524;     /* warm accent: focus ring, "do this next" markers */
    --slate: #56617a;        /* secondary text */
    --line: #e1e7f5;         /* borders */
    --danger: #b42318;
    --danger-bg: #fdecea;
    --success: #0e8f63;      /* "done / correct / saved" */
    --success-bg: #e3f6ee;
    --shadow: 0 10px 30px rgba(20, 71, 230, .08);

    --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 10px;
    --radius-lg: 18px;
    --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 1rem/1.65 var(--font-body);
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); }
h2 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 4px; }
img, svg { max-width: 100%; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.muted { color: var(--slate); }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Brand */
.brand { font: 700 1.25rem var(--font-head); color: var(--ink); text-decoration: none; }
.brand span { color: var(--brand); }
.brand--light { color: #fff; }
.brand--light span { color: var(--marigold); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px; padding: 10px 20px;
    border: 1.5px solid transparent; border-radius: var(--radius);
    font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer;
    transition: background-color .15s, border-color .15s;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--sm { min-height: 38px; padding: 6px 14px; font-size: .9375rem; }
.btn--block { width: 100%; }

.link { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link--danger { color: var(--danger); }

/* Form fields */
.field { margin-bottom: 16px; }
.field label, .upload label { display: block; font-weight: 600; margin-bottom: 4px; }
.field input {
    width: 100%; min-height: 46px; padding: 10px 12px;
    border: 1.5px solid var(--line); border-radius: var(--radius);
    background: var(--surface); color: var(--ink); font: inherit;
}
.field input:focus { border-color: var(--brand); outline-offset: 0; }
.field--error input { border-color: var(--danger); }
.field__hint { margin: 4px 0 0; font-size: .9rem; color: var(--slate); }
.field__error { margin: 4px 0 0; font-size: .9rem; color: var(--danger); font-weight: 500; }

/* Messages */
.alert { padding: 12px 14px; border-radius: var(--radius); margin-bottom: 16px; border-left: 4px solid; }
.alert--success { background: var(--success-bg); border-color: var(--success); }
.alert--error { background: var(--danger-bg); border-color: var(--danger); }
.empty { color: var(--slate); padding: 12px 0; margin: 0; }

.or { display: flex; align-items: center; gap: 12px; color: var(--slate); margin: 16px 0; font-size: .9rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Public site */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav > a:not(.btn) { color: var(--ink); font-weight: 500; text-decoration: none; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--slate); font-size: .9375rem; margin-top: 64px; }

.hero { padding: clamp(40px, 8vw, 96px) 0; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { max-width: 18ch; }
.lead { font-size: 1.1875rem; color: var(--slate); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (min-width: 880px) { .hero__grid { grid-template-columns: 1.15fr .85fr; } }

/* The passbook: a ruled ledger, the one decorative idea on the site */
.passbook {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    border-top: 6px solid var(--ink); padding: 8px 24px 12px;
}
.passbook__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.passbook__row span:last-child { color: var(--brand-dark); font-weight: 600; font-variant-numeric: tabular-nums; }
.passbook__row--total { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: -1px; font-weight: 600; }
.passbook__row--total span:last-child { font: 700 1.5rem var(--font-head); color: var(--ink); }

/* Login and register: see the "Log in and Create an Account" block at the end of this file */
/* Small centred card, used when a new partner sets their password */
.auth { display: grid; place-items: start center; padding-block: clamp(32px, 6vw, 72px); }
.auth__card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.auth__card h1 { font-size: 1.75rem; }
.auth__alt { margin: 20px 0 0; text-align: center; color: var(--slate); }

/* Panels: the shell (menu, top bar) is in the "Panel shell and dashboards" block at the end of this file */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; }
.stat__value { font: 700 2rem/1.1 var(--font-head); font-variant-numeric: tabular-nums; }
.stat__label { color: var(--slate); margin-top: 4px; }

.block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 24px; }
.block__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }

.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9688rem; }
.table th { text-align: left; font-weight: 600; color: var(--slate); padding: 10px 12px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .actions { display: flex; gap: 16px; white-space: nowrap; }
.table .actions form { margin: 0; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 500; }
.tabs a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

.upload { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.upload label { flex-basis: 100%; font-weight: 400; color: var(--slate); margin: 0; }
.upload input[type="file"] { font: inherit; max-width: 100%; }

/* CodeIgniter pager */
.pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 16px 0 0; flex-wrap: wrap; }
.pagination a { display: block; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.pagination .active a { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.upload .field__error { flex-basis: 100%; }
.brand, .site-nav a, .btn { white-space: nowrap; }
@media (max-width: 420px) { .site-nav { gap: 12px; } .brand { font-size: 1.125rem; } }

/* ===================== Phase 2: public site ===================== */
.wrap--narrow { max-width: 760px; }
.icon { flex: none; }
.btn--marigold { background: var(--marigold); color: var(--ink); }
.btn--marigold:hover { background: #ffbf1f; color: var(--ink); }

/* Header: brand and account on the first row, menu on the second (scrolls sideways on phones) */
@media (min-width: 880px) { .site-header { position: sticky; top: 0; z-index: 5; } }
.site-header__account { display: flex; align-items: center; gap: 16px; }
.site-header__account > a:not(.btn) { color: var(--ink); font-weight: 500; text-decoration: none; white-space: nowrap; }
.site-menu { border-top: 1px solid var(--line); }
.site-menu__row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.site-menu__row::-webkit-scrollbar { display: none; }
.site-menu a { padding: 10px 12px; color: var(--slate); font-weight: 500; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.site-menu a:first-child { margin-left: -12px; }
.site-menu a:hover { color: var(--ink); }
.site-menu a[aria-current] { color: var(--ink); border-bottom-color: var(--brand); }

/* Footer */
.site-footer { background: var(--ink); color: #c9d2e3; border-top: 0; padding: 48px 0 28px; margin-top: 0; }
.site-footer a { color: #c9d2e3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer h2 { font: 600 1rem var(--font-body); color: #fff; margin: 0 0 4px; letter-spacing: 0; }
.site-footer__contact { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { margin-top: 4px; color: var(--marigold); }
.site-footer__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--ink-soft); font-size: .875rem; }
.site-footer__legal p { margin: 0 0 6px; max-width: 80ch; }

/* Sections */
.section { padding-block: clamp(44px, 7vw, 80px); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink p { color: #c9d2e3; margin: 0; max-width: 52ch; }
.section__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 24px; max-width: 24ch; }
.section__more { margin: 20px 0 0; font-weight: 500; }
.section h3 { font-size: 1.125rem; margin-bottom: .35em; }

/* Hero */
.hero { padding-block: clamp(32px, 6vw, 72px); }
.hero__grid { align-items: start; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 500; }
.chips a:hover { border-color: var(--brand); color: var(--brand-dark); }

/* Forms on the public site */
.form-card { background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--ink); border-radius: var(--radius-lg); padding: 24px; scroll-margin-top: 130px; }
.form-card h2 { font-size: 1.375rem; margin-bottom: .3em; }
.form-card > .muted { margin-bottom: 16px; }
.form-grid { display: grid; gap: 0 16px; }
@container (min-width: 520px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-card { container-type: inline-size; }
.field select, .field textarea {
    width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line);
    border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit;
}
.field textarea { resize: vertical; }
.field select:focus, .field textarea:focus { border-color: var(--brand); outline-offset: 0; }
.field--error select, .field--error textarea { border-color: var(--danger); }
.field__optional { font-weight: 400; color: var(--slate); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; margin: 4px 0 18px; font-size: .9688rem; }
.consent input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--brand); }
.consent .field__error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Services */
.service-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.service-link { display: flex; gap: 14px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); background: var(--paper); }
.service-link:hover { border-color: var(--brand); color: var(--ink); }
.service-link strong { display: block; font: 700 1.125rem var(--font-head); }
.service-link span span { color: var(--slate); font-size: .9688rem; }
.service-link__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-dark); }
.service-block { margin-bottom: 40px; }
.service-block__head { display: flex; gap: 14px; margin-bottom: 14px; }
.service-block__head h2 { margin: 0 0 2px; }
.service-block__head h2 a { color: var(--ink); text-decoration: none; }
.service-block__head h2 a:hover { text-decoration: underline; }
.service-block__head p { margin: 0; color: var(--slate); }

/* Steps: numbered because the order matters */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.steps li { counter-increment: step; position: relative; padding-top: 52px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step); position: absolute; top: 10px; left: 0; font: 700 1.5rem var(--font-head); color: var(--brand); }
.steps strong { display: block; font: 700 1.0625rem var(--font-head); margin-bottom: 4px; }
.steps span { color: var(--slate); }
.steps--stack { grid-template-columns: 1fr; gap: 0; }
.steps--stack li { padding: 14px 0 14px 48px; border-top: 1px dashed var(--line); }
.steps--stack li:first-child { border-top: 0; }
.steps--stack li::before { top: 12px; }

/* Ledger rows (the passbook idea, reused for product lists) */
.ledger { border: 1px solid var(--line); border-top: 6px solid var(--ink); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.ledger__row { display: grid; gap: 2px 20px; padding: 14px 20px; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--ink); }
.ledger__row:last-child { border-bottom: 0; }
.ledger__row:hover { background: var(--paper); color: var(--ink); }
.ledger__row:hover strong { text-decoration: underline; }
.ledger__row span { color: var(--slate); }
.ledger__row em { font-style: normal; color: var(--brand-dark); font-weight: 500; font-size: .9375rem; }
@media (min-width: 760px) {
    .ledger__row { grid-template-columns: 220px 1fr auto; align-items: baseline; }
    .ledger__row--two { grid-template-columns: 240px 1fr; }
}

.reasons { display: grid; gap: 24px 40px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.reasons p { color: var(--slate); margin: 0; }
.band { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.band .section__title { margin-bottom: 8px; max-width: none; }
.split { display: grid; gap: 24px 56px; align-items: start; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } }
.split p { color: var(--slate); max-width: 48ch; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.plain-list li:last-child { border-bottom: 0; }

.checklist { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--brand); margin-top: 4px; }

.terms { margin: 0; display: grid; gap: 0 40px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.terms > div { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.terms dt { font-weight: 600; }
.terms dd { margin: 2px 0 0; color: var(--slate); }

.partner { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.partner__card { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--marigold); }
.partner__card .icon { color: var(--ink); margin-bottom: 8px; }
.partner__card p { color: var(--slate); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--brand); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--slate); max-width: 65ch; }
.closing { text-align: left; }
.closing p { color: var(--slate); max-width: 52ch; }

/* Inner pages */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 28px 0 32px; }
.page-head h1 { margin-bottom: .3em; max-width: 22ch; }
.page-head .lead { margin: 0; }
.crumbs { font-size: .9375rem; color: var(--slate); margin-bottom: 12px; }
.crumbs a { color: var(--slate); }
.page-body { padding-block: 36px 64px; }
.page-body h2 { margin-top: 1.8em; }
.page-body > :first-child, .page-body > div > :first-child, .page-body section:first-child > h2 { margin-top: 0; }
.with-aside { display: grid; gap: 40px; align-items: start; }
.with-aside > * { min-width: 0; }
@media (min-width: 960px) {
    .with-aside { grid-template-columns: 1fr 400px; }
    .with-aside--even { grid-template-columns: 1fr 1fr; }
    .with-aside > aside { position: sticky; top: 130px; }
}
.prose { max-width: 68ch; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.definition { font: 500 1.375rem/1.4 var(--font-head); max-width: 34ch; margin-bottom: 1em; }
.example { background: var(--brand-tint); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 18px 20px; margin: 24px 0; }
.example h2 { margin: 0 0 6px; font-size: 1.0625rem; }
.example p { margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 12px; }
.contact-list .icon { color: var(--brand); margin-top: 2px; }
.contact-list strong { display: block; }

/* Panel additions */
.inline-form { display: flex; gap: 8px; align-items: center; margin: 0; }
.inline-form select { min-height: 38px; padding: 4px 8px; border: 1.5px solid var(--line); border-radius: var(--radius); font: inherit; background: var(--surface); color: var(--ink); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .875rem; font-weight: 600; background: var(--paper); border: 1px solid var(--line); }
.badge--new { background: #fff6dd; border-color: var(--marigold); }
.badge--contacted { background: var(--success-bg); border-color: var(--success); }
@media (max-width: 480px) {
    .site-header__row { gap: 8px; min-height: 56px; }
    .site-header__account { gap: 10px; font-size: .9375rem; }
    .site-header__account .btn--sm { padding: 6px 10px; font-size: .875rem; }
    .brand { font-size: 1.0625rem; }
}
.form-card h2 { margin-top: 0; }

/* ===================== Phase 3: calculators ===================== */
.alert--info { background: #eef3fb; border-color: var(--ink); }
.field__unit { font-weight: 400; color: var(--slate); }
.answer { scroll-margin-top: 130px; }
.answer h2 { margin-top: 1.4em; }
.passbook__row--headline { border-bottom: 2px solid var(--ink); align-items: baseline; font-weight: 600; }
.passbook__row--headline span:last-child { font: 700 clamp(1.5rem, 1.1rem + 2vw, 2.125rem)/1.1 var(--font-head); color: var(--ink); text-align: right; }
.passbook__row span:last-child { text-align: right; white-space: nowrap; }
.passbook > .passbook__row:last-child { border-bottom: 0; }
.passbook--empty .passbook__row--headline span:last-child,
.passbook--locked .passbook__row--headline span:last-child { color: var(--line); }
.passbook--empty p { margin: 14px 0 6px; }
.lock { padding: 20px 0 12px; }
.lock .icon { color: var(--marigold); }
.lock h2 { margin: 6px 0 4px; font-size: 1.25rem; }
.lock p { color: var(--slate); }
.lock-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.answer__note { color: var(--slate); font-size: .9375rem; margin: 14px 0 0; max-width: 60ch; }
.answer__more { margin: 18px 0 0; font-weight: 500; }
.answer__share { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.table--numbers td, .table--numbers th { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table--numbers td:first-child, .table--numbers th:first-child { text-align: left; }

/* ===================== Phase 4: offline, outbox, resume, share ===================== */
.tray { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; display: grid; gap: 8px; justify-items: start; pointer-events: none; }
.tray__item {
    pointer-events: auto; max-width: 560px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
    padding: 12px 16px; border-radius: var(--radius); background: var(--ink); color: #fff;
    box-shadow: 0 6px 24px rgba(20, 33, 61, .28); font-size: .9688rem;
}
.tray__text { flex: 1 1 220px; }
.tray__item--offline { border-left: 5px solid var(--marigold); }
.tray__item--outbox { border-left: 5px solid var(--marigold); }
.tray__item--resume, .tray__item--done { border-left: 5px solid #3ecf9f; }
.tray__button { min-height: 36px; padding: 4px 14px; border-radius: var(--radius); border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; font: 600 .9375rem var(--font-body); cursor: pointer; }
.tray__button:first-of-type { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.tray__fold { flex-basis: 100%; }
.tray__fold summary { cursor: pointer; color: #c9d2e3; text-decoration: underline; text-underline-offset: 3px; }
.tray__list { list-style: none; margin: 6px 0 0; padding: 8px 0 0; border-top: 1px solid var(--ink-soft); display: grid; gap: 6px; }
.tray__list li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.tray__list li span { flex: 1 1 200px; color: #c9d2e3; }
.tray__list a, .tray__link { color: #fff; background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.draft-note { background: #eef3fb; border-radius: var(--radius); padding: 8px 12px; font-size: .9375rem; margin: 0 0 14px; }

.share-here {
    position: fixed; right: 12px; bottom: 12px; z-index: 19; display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line);
    background: var(--surface); color: var(--ink); font: 600 .9375rem var(--font-body); cursor: pointer;
    box-shadow: 0 4px 16px rgba(20, 33, 61, .14);
}
.share-here:hover { border-color: var(--ink); }
.site .tray { right: 120px; }
@media (max-width: 600px) { .site .tray { right: 12px; bottom: 68px; } }
[data-anchor] { scroll-margin-top: 130px; }
.site-footer { padding-bottom: 84px; }
@media print { .tray, .share-here { display: none; } }

/* ===================== Phase 5: applications, test, verification, payment ===================== */
fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
legend { font: 700 1.125rem var(--font-head); padding: 0; margin-bottom: 10px; }
.form-card--plain { border-top-width: 1px; }
.form-card__foot { margin: 14px 0 0; font-size: .9375rem; }
.field input[type="date"], .field input[type="time"], .field input[type="datetime-local"] { appearance: none; }
.block--next { border-left: 6px solid var(--marigold); }
.badge--closed { background: var(--danger-bg); border-color: var(--danger); }
.code-line { display: block; padding: 10px 12px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); overflow-wrap: anywhere; font-size: .9375rem; }
.camera-preview { width: 100%; max-width: 320px; aspect-ratio: 4 / 3; background: var(--ink); border-radius: var(--radius); display: block; margin-bottom: 14px; object-fit: cover; }

.filters { display: flex; flex-wrap: wrap; gap: 0 14px; align-items: flex-end; margin-bottom: 8px; }
.filters .field { flex: 1 1 150px; max-width: 240px; }
.filters .btn { margin-bottom: 16px; }
.form-grid--wide { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 16px; }

.facts { margin: 0; display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--slate); }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
@media (min-width: 880px) { .facts--wide { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* The onboarding journey: a vertical list of steps with their state */
.journey { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.journey > li { counter-increment: step; position: relative; padding: 0 0 28px 52px; scroll-margin-top: 20px; }
.journey > li::before {
    content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); color: var(--slate); font: 700 1rem var(--font-head);
}
.journey > li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.journey > li:last-child::after { display: none; }
.journey > li.is-done::before { content: "\2713"; background: var(--success); border-color: var(--success); color: #fff; }
.journey > li.is-now::before { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.journey > li > strong { display: block; font: 700 1.125rem/36px var(--font-head); }
.journey > li > span { display: block; color: var(--slate); margin-bottom: 8px; max-width: 65ch; }
.journey > li.is-now > strong { color: var(--ink); }
.journey .checklist { margin-top: 8px; }

.doc-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.doc-list > li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: grid; gap: 8px; }
.doc-list > li > div { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.upload--row { gap: 8px; }
.slot-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.slot-list form { margin: 0; }
.slot { width: 100%; padding: 10px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; display: grid; gap: 2px; text-align: center; }
.slot:hover { border-color: var(--brand); background: var(--brand-tint); }
.slot span { color: var(--brand-dark); font-weight: 600; }

.attempt { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.attempt:last-child { border-bottom: 0; }
.attempt ul { margin: 0 0 10px; padding-left: 1.2em; }
.snapshots { display: flex; flex-wrap: wrap; gap: 6px; }
.snapshots img { border-radius: 6px; background: var(--line); height: auto; }

/* Video verification */
.meet { display: grid; gap: 20px; }
.meet__video { background: var(--ink); border-radius: var(--radius-lg); overflow: hidden; height: min(75vh, 640px); min-height: 380px; display: grid; }
.meet__video p { color: #c9d2e3; place-self: center; padding: 20px; text-align: center; }
.meet__video iframe { border: 0; }
@media (min-width: 1100px) {
    .meet--verifier { grid-template-columns: 1fr 380px; align-items: start; }
    .meet--verifier .meet__video { position: sticky; top: 20px; height: calc(100vh - 140px); }
}

/* The test screen */
.exam { background: var(--paper); user-select: none; -webkit-user-select: none; }
.exam-bar { position: sticky; top: 0; z-index: 5; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; }
.exam-bar__clock { font: 700 1.375rem var(--font-head); font-variant-numeric: tabular-nums; padding: 2px 12px; border-radius: var(--radius); background: var(--ink-soft); }
.exam-bar__clock.is-low { background: var(--danger); }
.exam-warning { margin: 0; padding: 12px 16px; background: var(--danger); color: #fff; font-weight: 600; text-align: center; }
.exam-main { max-width: 720px; margin: 0 auto; padding: 20px 16px 140px; }
.exam-progress { color: var(--slate); margin-bottom: 12px; }
.exam-question { margin-bottom: 16px; }
.exam-question legend { font: 600 1.25rem/1.4 var(--font-body); margin-bottom: 14px; }
.exam-option { display: flex; gap: 12px; align-items: flex-start; padding: 14px; margin-bottom: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.exam-option:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.exam-option input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--brand); flex: none; }
.exam-nav { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.exam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; margin-bottom: 24px; }
.exam-grid button { min-height: 44px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); font: 600 1rem var(--font-body); color: var(--ink); cursor: pointer; }
.exam-grid button.is-answered { background: var(--brand-tint); border-color: var(--brand); }
.exam-grid button.is-current { outline: 3px solid var(--marigold); outline-offset: 1px; }
.exam-save { color: var(--slate); font-size: .9375rem; margin-top: 10px; min-height: 1.5em; }
.exam-camera { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; border: 2px solid var(--marigold); background: var(--ink-soft); margin-left: auto; margin-right: 12px; }
@media print { .exam { display: none; } }

.journey > li { min-width: 0; }
.upload--row input[type="file"] { flex: 1 1 180px; min-width: 0; width: 100%; }
.exam-main { padding-bottom: 60px; }

/* ===================== Phase 6: panels, comparison, course, practice tests ===================== */
.stat--link { display: block; text-decoration: none; color: var(--ink); }
.stat--link:hover { border-color: var(--brand); color: var(--ink); }
.block--form { max-width: 640px; }
.block--form form > .btn { margin-top: 4px; }

/* Lead cards */
.lead-list { display: grid; gap: 16px; }
.lead-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; display: grid; gap: 12px; min-width: 0; }
.lead-card header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lead-card h2 { margin: 0; font-size: 1.125rem; }
.lead-card header p { margin: 0; font-size: .9375rem; }
.lead-card__person { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.lead-card__work { display: grid; gap: 0 16px; align-items: end; margin: 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.lead-card__work .field { margin-bottom: 10px; }
.lead-card__work .btn { justify-self: start; }
@media (min-width: 760px) { .lead-card__work { grid-template-columns: 180px 1fr auto; } .lead-card__work .btn { margin-bottom: 10px; } }
.lead-card__assign { flex-wrap: wrap; }
.lead-card__assign label { font-weight: 600; }
.lead-card__assign select { max-width: 100%; }

/* Provider comparison on product pages */
.offers { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 12px; }
.offer { background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--ink); border-radius: var(--radius-lg); padding: 16px 18px; display: grid; gap: 10px; align-content: start; }
.offer h3 { margin: 0; font-size: 1.125rem; }
.offer header p { margin: 2px 0 0; color: var(--slate); }
.offer dl { margin: 0; }
.offer dl div { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.offer dt { color: var(--slate); font-size: .9375rem; }
.offer dd { margin: 0; font-weight: 600; }
.offer .checklist { margin: 0; font-size: .9688rem; }
.offer .btn { justify-self: start; }

/* Course and practice tests */
.lesson { max-width: 760px; }
.lesson h2 { font-size: 1.1875rem; margin-top: 1.4em; }
.lesson > :first-child { margin-top: 0; }
.lesson-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; max-width: 760px; }
.lesson-nav form { margin: 0 0 0 auto; }
.journey a { color: var(--ink); }
.mock { max-width: 760px; }
.mock .exam-question { margin-bottom: 28px; }
.mock .exam-question legend { font-size: 1.125rem; }
.mock-score { max-width: 760px; margin-bottom: 24px; }
.exam-option--correct { border-color: var(--success); background: var(--success-bg); }
.exam-option--chosen-wrong { border-color: var(--danger); background: var(--danger-bg); }
.exam-option__tag { display: block; font-size: .875rem; color: var(--success); }
.exam-option--chosen-wrong .exam-option__tag { color: var(--danger); }
.mock__why { margin: 4px 0 0; padding: 10px 14px; background: var(--paper); border-left: 4px solid var(--ink); border-radius: var(--radius); }
.mock .exam-option:has(input:disabled) { cursor: default; }
.lesson, .mock, .mock-score, .lesson-nav { min-width: 0; }
.prose { overflow-wrap: anywhere; }
.exam-option.exam-option--chosen-wrong:has(input:checked) { border-color: var(--danger); background: var(--danger-bg); }
/* Hidden "screen reader only" labels inside a wide table must stay inside its scroll box, or they widen the page. */
.table-scroll, .field, .filters, .inline-form { position: relative; }
.sr { white-space: nowrap; }

/* =====================================================================
   Redesign: logo, header, footer and the home page
   ===================================================================== */
.hl { color: var(--brand); }
.eyebrow { font: 700 .8125rem var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; }
.eyebrow--light { color: #c9d6ff; }
.btn--primary { box-shadow: 0 8px 18px rgba(20, 71, 230, .22); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; border-radius: 12px; }
.btn--white { background: #fff; color: var(--brand-dark); }
.btn--white:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn .icon { flex: none; }

/* Coloured icon backgrounds: add tint-blue / green / purple / orange / pink / red */
.tint-blue { --t-bg: #e6edff; --t-fg: #1447e6; }
.tint-green { --t-bg: #dff5ec; --t-fg: #0e9f6e; }
.tint-purple { --t-bg: #eee6ff; --t-fg: #7c3aed; }
.tint-orange { --t-bg: #fff0d9; --t-fg: #d97a00; }
.tint-pink { --t-bg: #ffe4f1; --t-fg: #e11d74; }
.tint-red { --t-bg: #ffe5e5; --t-fg: #e02d3c; }
.bubble { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--t-bg, var(--brand-tint)); color: var(--t-fg, var(--brand)); }
.bubble--lg { width: 72px; height: 72px; }
.bubble--solid { background: var(--brand); color: #fff; }
.tile__icon { flex: none; width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; background: var(--t-bg, var(--brand-tint)); color: var(--t-fg, var(--brand)); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo img { display: block; height: 44px; width: auto; }
.logo__mark {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
    background: radial-gradient(circle at 30% 25%, #4f7bff, var(--brand) 55%, #0a2a9c); color: #fff;
    font: italic 800 1.125rem var(--font-head); letter-spacing: -.04em;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), 0 4px 10px rgba(20, 71, 230, .35);
}
.logo__text { display: grid; line-height: 1; }
.logo__text strong { font: 800 1.375rem var(--font-head); color: var(--brand); letter-spacing: .04em; }
.logo__text span { font: 600 .625rem var(--font-head); letter-spacing: .42em; color: var(--ink-soft); margin-top: 4px; }
.logo--light .logo__text strong { color: #fff; }
.logo--light .logo__text span { color: #c9d2e3; }

/* ---------- Header ---------- */
.topbar { position: sticky; top: 0; z-index: 30; padding: 12px 16px 0; }
.topbar__bar {
    position: relative; max-width: 1380px; margin: 0 auto; display: flex; align-items: center; gap: 14px;
    padding: 10px 18px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
    border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.topbar__toggle { margin-left: auto; width: 46px; height: 46px; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); cursor: pointer; }
.nav { display: none; }
.nav.is-open { display: block; position: absolute; top: calc(100% + 8px); left: 0; right: 0; max-height: calc(100vh - 110px); overflow: auto; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(11, 20, 55, .16); }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__link { display: flex; align-items: center; justify-content: space-between; gap: 4px; width: 100%; padding: 12px 10px; background: none; border: 0; border-radius: 10px; font: 600 .9375rem var(--font-body); color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current], .nav__item.is-open > .nav__link { color: var(--brand); }
.nav__panel { display: none; padding: 2px 0 8px 12px; }
.nav__item.is-open .nav__panel { display: grid; }
.nav__panel a { padding: 9px 10px; border-radius: 8px; color: var(--ink-soft); text-decoration: none; font-size: .9375rem; }
.nav__panel a:hover { background: var(--brand-tint); color: var(--brand-dark); }
.nav__panel .nav__all { font-weight: 600; color: var(--brand); }
.nav__account { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 10px 4px; }
@media (min-width: 1300px) {
    .topbar__toggle { display: none; }
    .nav, .nav.is-open { display: flex; flex: 1; align-items: center; position: static; max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none; }
    .nav__list { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
    .nav__link { width: auto; padding: 10px 9px; font-size: .9063rem; }
    .nav__item { position: relative; }
    .nav__panel { position: absolute; top: 100%; left: 0; min-width: 250px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(11, 20, 55, .14); }
    .nav__item:hover .nav__panel, .nav__item:focus-within .nav__panel { display: grid; }
    .nav__account { flex-wrap: nowrap; padding: 0; }
}

/* ---------- Footer ---------- */
.foot { margin-top: 40px; padding: 52px 0 84px; background: var(--ink); color: #b9c3de; }
.foot__grid { display: grid; gap: 32px 28px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
@media (min-width: 1000px) { .foot__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; } }
.foot h2 { font: 700 .8125rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.foot nav a { display: block; padding: 5px 0; color: #b9c3de; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot__about p { margin: 16px 0; max-width: 32ch; font-size: .9375rem; }
.foot__social { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.foot__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.foot__social a:hover { background: var(--brand); }
.foot__contact ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.foot__contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.foot__contact .icon { color: #7fa2ff; margin-top: 3px; }
.foot__contact a { color: inherit; text-decoration: none; }
.foot__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--ink-soft); font-size: .8125rem; }
.foot__legal p { margin: 0 0 8px; max-width: 100ch; scroll-margin-top: 130px; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 14px; }
.foot__bottom a { color: #b9c3de; text-decoration: none; margin-right: 18px; }

/* ---------- Home: hero ---------- */
.h-hero { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 60px) 0 32px; background: radial-gradient(900px 520px at 88% 18%, #dbe5ff 0, rgba(219, 229, 255, 0) 62%); }
.h-hero__grid { display: grid; gap: 28px; align-items: center; }
.h-hero__grid > * { min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); font-weight: 600; font-size: .9375rem; }
.flag { width: 22px; height: 15px; border-radius: 2px; flex: none; background: linear-gradient(#ff9933 0 33.3%, #fff 33.3% 66.6%, #138808 66.6%); box-shadow: 0 0 0 1px var(--line); }
.h-hero h1 { max-width: none; margin-bottom: .45em; font-size: clamp(2.125rem, 1.2rem + 3.2vw, 3.375rem); font-weight: 700; line-height: 1.16; letter-spacing: -.025em; }
.h-hero__lead { max-width: 44ch; font-size: 1.125rem; line-height: 1.9; color: var(--slate); }
.h-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.h-hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; padding: 0; font-weight: 500; color: var(--ink-soft); }
.h-hero__trust li { display: flex; align-items: center; gap: 8px; }
.h-hero__trust .icon { color: var(--brand); }

/* The globe with the logo, and the service chips around it */
.orb-stage { position: relative; }
.orb {
    position: relative; z-index: 1; width: min(230px, 62vw); aspect-ratio: 1; margin: 0 auto; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: radial-gradient(circle at 32% 24%, #fff 0, #dbe6ff 22%, #a9bfff 48%, #6588f7 74%, #4166e4 100%);
    box-shadow: inset -18px -24px 60px rgba(20, 71, 230, .35), inset 12px 14px 40px rgba(255, 255, 255, .7), 0 30px 60px rgba(20, 71, 230, .25);
}
.orb__mark { width: 44%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #3d6dff, var(--brand) 55%, #0a2a9c); color: #fff; font: italic 800 clamp(1.75rem, 6vw, 3.75rem) var(--font-head); letter-spacing: -.04em; box-shadow: 0 0 0 5px rgba(255, 255, 255, .75), 0 10px 24px rgba(10, 42, 156, .4); }
.orb__name { margin-top: 8px; font: 800 clamp(1.125rem, 3.4vw, 2.125rem) var(--font-head); letter-spacing: .08em; color: #0a2a9c; }
.orb__sub { font: 700 clamp(.5rem, 1.2vw, .8125rem) var(--font-head); letter-spacing: .5em; color: #0a2a9c; margin-right: -.5em; }
.orb__base { display: none; }
.orb-chips { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.orb-chip { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; background: rgba(255, 255, 255, .88); border: 1px solid #fff; border-radius: 16px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; text-align: center; font: 600 .8125rem var(--font-body); transition: transform .15s, border-color .15s; }
.orb-chip .icon { color: var(--brand); }
.orb-chip:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--brand-dark); }
@media (min-width: 980px) {
    .h-hero__grid { grid-template-columns: 1.22fr .78fr; }
    .orb-stage { min-height: 500px; display: grid; place-items: center; }
    .orb { width: min(330px, 26vw); margin-bottom: 40px; }
    .orb__base { display: block; position: absolute; left: 50%; bottom: 3%; translate: -50% 0; width: 88%; height: 76px; border-radius: 50%; background: radial-gradient(ellipse at center, #fff 0, #dfe8ff 46%, rgba(190, 205, 255, 0) 74%); box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 18px 0 -6px rgba(170, 190, 255, .35), 0 36px 0 -14px rgba(170, 190, 255, .2); }
    .orb-chips { margin: 0; display: block; }
    .orb-chips li { position: absolute; z-index: 2; width: 108px; }
    .orb-chips li:nth-child(1) { top: 0; left: 9%; }
    .orb-chips li:nth-child(2) { top: 0; right: 2%; }
    .orb-chips li:nth-child(3) { top: 37%; left: 0; }
    .orb-chips li:nth-child(4) { top: 37%; right: -2%; }
    .orb-chips li:nth-child(5) { bottom: 17%; left: 7%; }
    .orb-chips li:nth-child(6) { bottom: 19%; right: 5%; }
}
.h-statbar { list-style: none; max-width: 1060px; margin: 28px auto 0; padding: 22px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; background: rgba(255, 255, 255, .92); border: 1px solid #fff; border-radius: 22px; box-shadow: var(--shadow); }
.h-statbar li { display: flex; align-items: center; gap: 14px; color: var(--slate); }
.h-statbar strong { display: block; font: 800 1.5rem/1.2 var(--font-head); color: var(--brand); }
@media (min-width: 900px) { .h-statbar { grid-template-columns: repeat(4, 1fr); } .h-statbar li + li { border-left: 1px solid var(--line); padding-left: 24px; } }

.h-partners { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 8px; padding: 16px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.h-partners p { margin: 0; }
.h-partners p { display: grid; gap: 2px; white-space: nowrap; }
.h-partners p a { display: inline-flex; align-items: center; gap: 4px; font-size: .875rem; font-weight: 600; text-decoration: none; }
.h-partners ul { list-style: none; flex: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 14px 26px; margin: 0; padding: 0; }
.h-partners img { display: block; height: 34px; width: auto; max-width: 110px; object-fit: contain; }

/* ---------- Home: sections ---------- */
.h-sec { padding: clamp(28px, 4vw, 50px) 0; }
.h-sec--tight { padding-block: clamp(18px, 3vw, 34px); }
.h-sec--panel > .wrap { padding-block: clamp(24px, 4vw, 48px); padding-inline: clamp(18px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
@media (max-width: 1260px) { .h-sec--panel { padding-inline: 16px; } }
.sec-head { max-width: 920px; margin: 0 auto 32px; text-align: center; }
.sec-head h2, .h-more h2, .h-callback > div:first-child > h2 { margin: 0 0 .3em; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.sec-head__intro { margin: 0; font-size: 1.0625rem; color: var(--slate); }
.sec-head--left { margin: 0; text-align: left; }
.sec-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-more { margin: 22px 0 0; text-align: center; font-weight: 600; }
.sec-more a, .tile em, .tool em, .insight em { display: inline-flex; align-items: center; gap: 6px; }
.h-sec h3 { font-size: 1.0625rem; font-weight: 700; margin: 0 0 4px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 14px; }
.tile { display: flex; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 4px 14px rgba(20, 71, 230, .04); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.tile:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); }
.tile__body { display: grid; gap: 6px; align-content: start; min-width: 0; }
.tile__body strong { font: 700 1.0625rem var(--font-head); }
.tile__body > span { font-size: .9375rem; line-height: 1.5; color: var(--slate); }
.tile em, .tool em, .insight em { font-style: normal; font-weight: 600; font-size: .9375rem; color: var(--brand); }

.h-help { display: grid; gap: 16px; align-items: center; margin-top: 18px; padding: 20px 24px; background: linear-gradient(90deg, #e6edff, #f3f6ff); border: 1px solid #d5e0ff; border-radius: 18px; }
.h-help h3 { font-size: 1.1875rem; }
.h-help p { margin: 0; color: var(--slate); }
@media (min-width: 960px) { .h-help { grid-template-columns: auto 1fr auto; } }
.h-points { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 28px 0 0; padding: 0; }
.h-points li { display: flex; align-items: center; gap: 12px; }
.h-points .icon { color: var(--brand); }
.h-points span { display: grid; font-size: .875rem; color: var(--slate); }
.h-points strong { font-size: .9375rem; color: var(--ink); }

.adv { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 14px; }
.adv__card { display: flex; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.adv__card .tile__icon { width: 56px; height: 56px; border-radius: 14px; }
.adv__card p, .flow p, .feat__card p { margin: 0; font-size: .9063rem; color: var(--slate); }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 12px; text-align: center; }
.flow li { position: relative; }
.flow .bubble { margin: 0 auto 14px; }
.flow__n { color: var(--brand); }
.flow__n--purple { color: #7c3aed; } .flow__n--green { color: #0e9f6e; } .flow__n--orange { color: #d97a00; }
@media (min-width: 1000px) {
    .flow { grid-template-columns: repeat(5, 1fr); }
    .flow li:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: calc(50% + 46px); width: calc(100% - 80px); border-top: 2px dashed #cdd9ff; }
}

.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.tool { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 22px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-align: center; text-decoration: none; transition: border-color .15s, transform .15s; }
.tool:hover { border-color: var(--brand); transform: translateY(-3px); color: var(--ink); }
.tool strong { font-size: .9688rem; }
.tool > span:not(.tile__icon) { font-size: .8438rem; color: var(--slate); }

.band { display: grid; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 46px); border-radius: 24px; color: #fff; background: linear-gradient(120deg, #0a2a9c 0, #1447e6 46%, #5b3df5 100%); }
.band h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 700; line-height: 1.2; }
.band p { margin: 0 0 20px; max-width: 54ch; color: #d7e0ff; }
.band .btn--white { box-shadow: none; }
.band__chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.band__chips li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 14px; font-weight: 600; font-size: .9375rem; }
.band--cta h2 span { display: block; color: #8fe6ff; }
.band--cta p { margin-bottom: 0; }
.band__target { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
@media (min-width: 960px) { .band--partner { grid-template-columns: 1.05fr .95fr; } .band--cta { grid-template-columns: auto 1fr auto; } }

.reviews, .insights { display: grid; grid-template-columns: repeat(auto-fit, minmax(262px, 1fr)); gap: 16px; }
.review { margin: 0; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.review blockquote { margin: 0 0 14px; }
.review figcaption span { display: block; font-size: .875rem; color: var(--slate); }
.insight { display: grid; align-content: start; gap: 8px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.insight:hover { border-color: var(--brand); transform: translateY(-3px); color: var(--ink); }
.insight strong { font: 700 1.125rem/1.35 var(--font-head); }
.insight > span:not(.tag) { font-size: .9375rem; color: var(--slate); }
.tag { justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font: 700 .6875rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; }

.appband { display: grid; gap: 22px; align-items: center; padding: clamp(20px, 3vw, 36px); background: linear-gradient(90deg, #e6edff, #f6f8ff); border: 1px solid #d5e0ff; border-radius: 22px; }
.appband h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }
.appband p { margin: 0 0 12px; color: var(--slate); }
.appband__phone { width: 86px; height: 150px; border-radius: 20px; display: grid; place-items: center; background: var(--ink); border: 4px solid var(--ink-soft); box-shadow: var(--shadow); }
.appband__points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; font-weight: 600; font-size: .9375rem; }
.appband__points li { display: flex; align-items: center; gap: 8px; }
.appband__points .icon { color: var(--brand); }
.appband__action p { max-width: 28ch; margin: 0; font-size: .9063rem; }
@media (min-width: 900px) { .appband { grid-template-columns: auto 1fr auto; } }

.h-more { display: grid; gap: 28px; }
.h-more > * { min-width: 0; }
.h-more h2 .hl { display: block; }
.h-more__intro > p:not(.eyebrow) { color: var(--slate); max-width: 46ch; }
.h-more__photo { position: relative; min-height: 250px; margin-top: 22px; overflow: hidden; border: 1px solid #d5e0ff; border-radius: 20px; background: radial-gradient(circle at 30% 20%, #dbe5ff, #f3f6ff 70%); }
.h-more__photo img { display: block; width: 100%; height: 100%; min-height: 250px; object-fit: cover; }
.h-more__art { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; padding: 52px 20px 110px; }
.h-more__art .bubble { background: #fff; box-shadow: var(--shadow); }
.h-more__badge { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 18px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); line-height: 1.3; }
.h-more__badge .icon, .h-more__strip .icon { color: var(--brand); flex: none; }
.feat { display: grid; gap: 14px; align-content: start; }
.feat__card { display: flex; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 4px 14px rgba(20, 71, 230, .05); }
.feat__card p::after { content: ""; display: block; width: 26px; height: 3px; margin-top: 12px; border-radius: 2px; background: var(--brand); }
.h-more__strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0; padding: 18px 22px; background: #f7f9ff; border: 1px solid var(--line); border-radius: 16px; }
.h-more__strip span { display: grid; flex: 1 1 260px; font-size: .875rem; color: var(--slate); }
.h-more__strip strong { font-size: 1rem; color: var(--ink); }
.h-more__strip em { font: italic 700 1.1875rem var(--font-head); color: var(--brand); }
@media (min-width: 640px) { .feat { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .h-more { grid-template-columns: .82fr 1.18fr; } .h-more__strip { grid-column: 1 / -1; } }

.impact { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.impact__card { display: grid; justify-items: center; gap: 6px; padding: 24px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 4px 14px rgba(20, 71, 230, .05); text-align: center; color: var(--slate); }
.impact__card strong { font: 800 clamp(1.5rem, 1rem + 1.6vw, 2.125rem)/1.2 var(--font-head); color: var(--ink); margin-top: 8px; }
.impact__card::after { content: ""; width: 30px; height: 3px; margin-top: 8px; border-radius: 2px; background: var(--brand); }
.grow { display: grid; gap: 16px; align-items: center; margin-top: 16px; padding: clamp(20px, 3vw, 36px); background: linear-gradient(120deg, #e6edff, #f6f8ff); border: 1px solid #d5e0ff; border-radius: 22px; }
.grow h3 { font-size: 1.5rem; margin-bottom: 8px; }
.grow p { margin: 0; color: var(--slate); }
.grow__card { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--surface); border-radius: 16px; box-shadow: 0 4px 14px rgba(20, 71, 230, .05); }
.grow__card > span:last-child { display: grid; font-size: .875rem; color: var(--slate); }
.grow__card strong { font: 800 1.75rem/1.1 var(--font-head); color: var(--brand); }
.grow__card b { font-weight: 600; font-size: 1rem; color: var(--brand-dark); }
@media (min-width: 900px) { .grow { grid-template-columns: 1.2fr 1fr 1fr; } }
.values { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 16px 0 0; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; font-weight: 600; }
.values li { display: flex; align-items: center; gap: 10px; }
.values .icon { color: var(--brand); }

.h-faq { display: grid; gap: 20px; align-items: start; }
.h-faq > * { min-width: 0; }
.h-faq__side { display: grid; justify-items: center; gap: 18px; padding: 24px; background: linear-gradient(160deg, #e6edff, #f6f8ff); border: 1px solid #d5e0ff; border-radius: 20px; text-align: center; }
.h-faq__mark { font: 800 9rem/1 var(--font-head); color: var(--brand); text-shadow: 0 16px 30px rgba(20, 71, 230, .3); }
.h-faq__side ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0; padding: 0; font-weight: 600; font-size: .875rem; }
.h-faq__side li { display: flex; align-items: center; gap: 8px; text-align: left; }
.h-faq__side .icon { color: var(--brand); flex: none; }
.h-faq__ask { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border-radius: 14px; text-align: left; }
.h-faq__ask span { display: grid; flex: 1 1 160px; font-size: .875rem; color: var(--slate); }
.h-faq__ask strong { font-size: 1rem; color: var(--ink); }
.h-faq__list details { margin-bottom: 10px; padding: 0 18px; background: #fbfcff; border: 1px solid var(--line); border-radius: 14px; }
.h-faq__list summary { position: relative; padding: 16px 34px 16px 0; list-style: none; cursor: pointer; font-weight: 600; font-size: 1.0313rem; }
.h-faq__list summary::-webkit-details-marker { display: none; }
.h-faq__list summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 1.5rem; font-weight: 400; color: var(--brand); }
.h-faq__list details[open] summary { color: var(--brand); }
.h-faq__list details[open] summary::after { content: "\2212"; }
.h-faq__list details p { margin: 0 0 16px; color: var(--slate); }
@media (min-width: 960px) { .h-faq { grid-template-columns: .8fr 1.2fr; } }

.h-callback { display: grid; gap: 28px; align-items: start; }
.h-callback > * { min-width: 0; }
.h-callback > div:first-child > p:not(.eyebrow) { color: var(--slate); max-width: 50ch; }
@media (min-width: 960px) { .h-callback { grid-template-columns: 1fr 440px; align-items: center; } }

@media (prefers-reduced-motion: reduce) { .tile, .tool, .insight, .orb-chip { transition: none; } .tile:hover, .tool:hover, .insight:hover, .orb-chip:hover { transform: none; } }

/* Anything marked hidden stays hidden, whatever its other styles say */
[hidden] { display: none !important; }

/* Phones: keep the home page short */
@media (max-width: 600px) {
    .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tile { flex-direction: column; gap: 10px; padding: 14px; }
    .tile__icon { width: 52px; height: 52px; border-radius: 14px; }
    .tile__icon .icon { width: 26px; height: 26px; }
    .tile__body > span { display: none; }
    .tile__body strong { font-size: .9688rem; }
    .tools { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tool { padding: 16px 10px; }
    .tool > span:not(.tile__icon) { display: none; }
    .feat__card { padding: 16px; gap: 12px; }
    .feat__card .bubble--lg { width: 52px; height: 52px; }
    .h-faq__mark { font-size: 5.5rem; }
}
@media (max-width: 999px) {
    .flow { grid-template-columns: 1fr; gap: 18px; text-align: left; }
    .flow li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
    .flow .bubble { grid-row: span 2; margin: 0; width: 56px; height: 56px; }
    .flow h3 { align-self: end; }
    .flow p { align-self: start; }
}

/* =====================================================================
   Services page
   ===================================================================== */
.eyebrow--sky { color: #6fb1ff; }
.s-hero { margin-top: 14px; padding: clamp(32px, 5vw, 64px) 0; color: #fff; background: radial-gradient(700px 420px at 82% 50%, #1d4fd8 0, rgba(29, 79, 216, 0) 65%), linear-gradient(120deg, #06102e 0, #0b1d57 55%, #0a2a9c 100%); overflow: hidden; }
.s-hero__grid { display: grid; gap: 28px; align-items: center; }
.s-hero__grid > * { min-width: 0; }
.s-hero h1 { max-width: 23ch; margin: 0 0 .5em; color: #fff; font-size: clamp(1.875rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 700; line-height: 1.16; letter-spacing: -.02em; }
.s-hero h1 span { color: #4f9dff; }
.s-hero__lead { max-width: 46ch; margin: 0 0 28px; font-size: 1.0625rem; line-height: 1.8; color: #d5def5; }
.s-hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 30px; margin: 0; padding: 0; }
.s-hero__points li { display: flex; align-items: center; gap: 12px; }
.s-hero__points .icon { flex: none; padding: 9px; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; background: rgba(255, 255, 255, .08); }
.s-hero__points span { display: grid; font-size: .8125rem; color: #c3cff0; }
.s-hero__points strong { font-size: 1.0625rem; color: #fff; }

/* Shield with service icons around it */
.s-orbit { display: none; }
@media (min-width: 960px) {
    .s-hero__grid { grid-template-columns: 1.3fr .7fr; }
    .s-orbit { position: relative; display: grid; place-items: center; width: 340px; height: 300px; margin: 0 auto; }
    .s-orbit__core { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 35% 30%, #4f8dff, #1447e6 60%, #0a2a9c); box-shadow: 0 0 0 14px rgba(79, 141, 255, .14), 0 0 0 34px rgba(79, 141, 255, .07), 0 0 60px rgba(79, 141, 255, .6); }
    .s-orbit__dot { position: absolute; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #9cc6ff; background: rgba(79, 141, 255, .16); border: 1px solid rgba(140, 185, 255, .45); }
    .s-orbit__dot:nth-child(2) { top: 0; left: 44px; }
    .s-orbit__dot:nth-child(3) { top: 0; right: 30px; }
    .s-orbit__dot:nth-child(4) { top: 110px; left: 0; }
    .s-orbit__dot:nth-child(5) { top: 104px; right: 0; }
    .s-orbit__dot:nth-child(6) { bottom: 0; left: 70px; }
    .s-orbit__dot:nth-child(7) { bottom: 4px; right: 56px; }
}

/* Centred service cards */
.scards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.scard { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 26px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 4px 14px rgba(20, 71, 230, .04); color: var(--ink); text-align: center; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.scard:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); }
.scard strong { font: 700 1.125rem var(--font-head); margin-top: 6px; }
.scard > span:not(.tile__icon) { font-size: .9063rem; line-height: 1.6; color: var(--slate); }
.scard em { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-style: normal; font-weight: 600; font-size: .9375rem; color: var(--brand); }
@media (min-width: 1100px) { .scards { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 600px) { .scards { grid-template-columns: 1fr 1fr; gap: 10px; } .scard { padding: 16px 10px; } .scard > span:not(.tile__icon) { display: none; } .scard strong { font-size: .9688rem; } }
.sec-more .btn { text-decoration: none; }

/* "Why trust us" panel */
.why { display: grid; gap: 28px; align-items: center; padding: clamp(22px, 3.5vw, 40px); background: linear-gradient(120deg, #e6edff, #f3f6ff); border: 1px solid #d5e0ff; border-radius: 22px; }
.why > * { min-width: 0; }
.why h2 { margin: 0 0 .4em; font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.125rem); font-weight: 700; line-height: 1.2; }
.why h2 .hl { display: block; }
.why__intro p:not(.eyebrow) { margin: 0 0 18px; font-size: .9375rem; color: var(--slate); max-width: 44ch; }
.why__points { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px 0; margin: 0; padding: 0; }
.why__points li { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 0 14px; text-align: center; }
.why__points .icon { color: var(--brand); }
.why__points strong { font-size: .9688rem; }
.why__points span { font-size: .8438rem; line-height: 1.6; color: var(--slate); }
@media (min-width: 1040px) { .why { grid-template-columns: .9fr 2.1fr; } .why__points { grid-template-columns: repeat(5, 1fr); } .why__points li + li { border-left: 1px solid #cfdaf7; } }

/* Dark call-to-action band */
.band--navy { background: radial-gradient(500px 260px at 12% 60%, #1d4fd8 0, rgba(29, 79, 216, 0) 70%), linear-gradient(120deg, #06102e 0, #0b1d57 60%, #0a2a9c 100%); }
.band__figure { margin: 0; display: grid; text-align: center; color: #d5def5; }
.band__figure strong { font: 800 2rem/1.2 var(--font-head); color: #fff; }
@media (min-width: 960px) { .band--navy { grid-template-columns: auto 1fr auto; } }

.service-block h3 { margin: 0 0 2px; font-size: 1.25rem; }
.service-block h3 a { color: var(--ink); text-decoration: none; }
.service-block h3 a:hover { text-decoration: underline; }
#all-services { scroll-margin-top: 100px; }
@media (prefers-reduced-motion: reduce) { .scard { transition: none; } .scard:hover { transform: none; } }


/* =====================================================================
   Log in and Create an Account  (layouts/auth.php)
   ===================================================================== */
.field__req { display: none; color: var(--danger); }
.field__box { display: flex; align-items: center; min-height: 50px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.field__box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20, 71, 230, .12); }
.field--error .field__box { border-color: var(--danger); }
.field .field__box input, .field .field__box select { flex: 1; min-width: 0; min-height: 46px; border: 0; background: transparent; padding-left: 10px; outline: 0; }
.field__icon { flex: none; display: grid; place-items: center; padding-left: 14px; color: #7b88a8; }
.field__prefix { flex: none; align-self: stretch; display: grid; place-items: center; padding: 0 14px; border-right: 1.5px solid var(--line); background: #f7f9fe; border-radius: var(--radius) 0 0 var(--radius); font-weight: 600; }
.field__toggle { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: none; color: #7b88a8; cursor: pointer; border-radius: var(--radius); }
.field__toggle:hover { color: var(--ink); }
.btn--outline { background: var(--surface); color: var(--brand-dark); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand-tint); color: var(--brand-dark); }

.authpage { background: linear-gradient(180deg, #fff 0, var(--paper) 320px); }
.a-top { max-width: 1240px; margin-inline: auto; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.a-top__switch { margin: 0; display: flex; align-items: center; gap: 16px; color: var(--slate); font-weight: 500; }
.a-shell { max-width: 1240px; margin-inline: auto; padding: 0 20px; display: grid; gap: 24px; align-items: start; }
.a-shell > * { min-width: 0; }

.a-side { order: 2; padding: clamp(24px, 4vw, 44px) clamp(20px, 3vw, 38px); border-radius: 24px; color: #fff; background: radial-gradient(120% 60% at 0 38%, #1a45c9 0, rgba(26, 69, 201, 0) 70%), linear-gradient(175deg, #0a2278 0, #06103f 100%); }
.a-side__title { margin: 0; font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.125rem); font-weight: 700; line-height: 1.28; letter-spacing: -.01em; }
.a-side__title span { color: #4f93ff; }
.a-side__title::after { content: ""; display: block; width: 38px; height: 3px; margin-top: 22px; border-radius: 3px; background: #4f93ff; }
.a-side__lead { margin: 22px 0 0; color: #dbe4ff; font-size: 1.0313rem; max-width: 32ch; }

.a-art { display: none; position: relative; height: 290px; margin: 26px 0 30px; }
.a-art__phone { position: absolute; left: 50%; top: 14px; width: 150px; height: 232px; padding: 26px 20px 0; transform: translateX(-50%) rotate(-7deg); display: grid; justify-items: center; align-content: start; gap: 10px; background: linear-gradient(180deg, #fff, #e8eeff); border: 6px solid #2f6bff; border-radius: 26px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.a-art__avatar { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #2f6bff; color: #fff; margin-bottom: 4px; }
.a-art__line { width: 100%; height: 8px; border-radius: 8px; background: #c9d5f5; }
.a-art__line--strong { width: 70%; background: #2f6bff; }
.a-art__line--short { width: 60%; justify-self: start; }
.a-art__btn { width: 84%; height: 24px; margin-top: 10px; border-radius: 8px; background: #2f6bff; }
.a-art__shield { position: absolute; right: -34px; bottom: 22px; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 20px; color: #fff; background: linear-gradient(160deg, #4f93ff, #1447e6); border: 3px solid #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.a-art__base { position: absolute; left: 50%; bottom: 0; width: 250px; height: 40px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(190, 208, 255, .55) 70%, rgba(79, 147, 255, 0)); }
.a-art__dot { position: absolute; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(47, 107, 255, .35); border: 1px solid rgba(255, 255, 255, .22); }
.a-art__dot--1 { left: 0; top: 78px; }
.a-art__dot--2 { right: 22px; top: 6px; }
.a-art__dot--3 { right: 0; top: 132px; }

.a-why { margin-top: 26px; padding: 22px 22px 8px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; background: rgba(255, 255, 255, .05); }
.a-why h3 { margin: 0 0 16px; font-size: 1.125rem; }
.a-why ul { list-style: none; margin: 0; padding: 0; }
.a-why li { display: flex; gap: 14px; margin-bottom: 16px; }
.a-why li > span:last-child { font-size: .9063rem; line-height: 1.5; color: #d5defa; }
.a-why strong { display: block; color: #fff; font-size: .9688rem; }
.a-why__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #6fa8ff; background: rgba(47, 107, 255, .25); border: 1px solid rgba(111, 168, 255, .45); }

.a-card { order: 1; padding: clamp(22px, 4vw, 44px) clamp(16px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 50px rgba(11, 20, 55, .08); }
.a-head { text-align: center; margin-bottom: 26px; }
.a-head h1 { margin: 0; font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.125rem); }
.a-head h1::after { content: ""; display: block; width: 38px; height: 3px; margin: 16px auto; border-radius: 3px; background: var(--brand); }
.a-head p { margin: 0; color: var(--slate); }
.a-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 26px; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.a-tabs a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 8px 10px; color: var(--slate); font-weight: 600; text-decoration: none; text-align: center; border-bottom: 3px solid transparent; }
.a-tabs a + a { border-left: 1.5px solid var(--line); }
.a-tabs a[aria-current] { color: var(--brand); border-bottom-color: var(--brand); background: #f8faff; }
.a-tabs a:hover { color: var(--brand-dark); }

.a-form { display: grid; gap: 2px 22px; }
.a-form > * { min-width: 0; }
.a-form--single { max-width: 460px; margin-inline: auto; }
.a-card .field { margin-bottom: 18px; }
.a-card .field label { margin-bottom: 8px; font-size: .9375rem; }
.a-card .field__req { display: inline; }
.a-card .field__optional { font-weight: 400; color: var(--slate); }
.a-card .field ::placeholder { color: #8a96b3; }
.a-card .consent { margin-top: 2px; }
.a-submit { position: relative; min-height: 54px; font-size: 1.0625rem; }
.a-submit .icon { position: absolute; right: 22px; }
.a-card .or { margin: 26px 0 18px; }
.a-social { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; max-width: 460px; margin-inline: auto; }
.a-social .btn { min-height: 52px; }
.a-alt { margin: 22px 0 0; text-align: center; color: var(--slate); }
.a-note { margin: 0 0 20px; color: var(--slate); text-align: center; }
.a-choices { display: grid; gap: 16px; }
.a-choice { display: grid; gap: 10px; align-content: start; padding: 22px; border: 1.5px solid var(--line); border-radius: 16px; }
.a-choice h2 { margin: 4px 0 0; font-size: 1.25rem; }
.a-choice p { margin: 0 0 6px; color: var(--slate); font-size: .9688rem; }
.a-choice__more { text-align: center; font-weight: 600; font-size: .9375rem; }
.a-secure { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 18px 20px; border-radius: 14px; background: #edf2ff; overflow: hidden; }
.a-secure p { margin: 0; flex: 1; font-size: .875rem; color: var(--ink-soft); }
.a-secure strong { display: block; font-size: .9688rem; color: var(--ink); }
.a-secure__icon { flex: none; color: var(--brand); }
.a-secure__lock { flex: none; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #6f9bff; background: #dbe6ff; }

.a-foot { max-width: 1240px; margin: 28px auto 0; padding: 0 20px 28px; }
.a-trust { list-style: none; margin: 0; padding: 0 0 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px 24px; border-bottom: 1px solid var(--line); }
.a-trust li { display: flex; align-items: center; gap: 12px; font-size: .875rem; color: var(--slate); }
.a-trust .bubble { width: 46px; height: 46px; }
.a-trust strong { display: block; color: var(--ink); font-size: .9063rem; }
.a-foot__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding-top: 20px; font-size: .9063rem; color: var(--slate); }
.a-foot__legal a { color: var(--slate); text-decoration: none; }
.a-foot__legal a:hover { color: var(--brand-dark); }

@media (max-width: 520px) { .a-top__switch span { display: none; } }
@media (min-width: 640px) {
    .a-form { grid-template-columns: 1fr 1fr; }
    .a-form--single { grid-template-columns: 1fr; }
    .a-form__wide { grid-column: 1 / -1; }
    .a-choices { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1040px) {
    .a-shell { grid-template-columns: 410px 1fr; align-items: stretch; }
    .a-side { order: 1; }
    .a-side__title { font-size: 1.875rem; }
    .a-card { order: 2; }
    .a-art { display: block; }
}

/* =====================================================================
   Insurance partners  (site/insurance_partners.php, components/partner_grid.php, components/help_band.php)
   ===================================================================== */
.p-hero { padding: clamp(30px, 5vw, 58px) 0 clamp(14px, 2vw, 24px); text-align: center; }
.p-hero h1 { margin: 0 0 12px; font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; color: #0b1f6b; }
.p-hero h1 span { color: var(--brand); }
.p-hero__lead { max-width: 60ch; margin: 0 auto; font-size: 1.0625rem; color: var(--slate); }
.p-jump { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.p-jump a { display: flex; align-items: center; gap: 12px; padding: 10px 22px 10px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--slate); font-size: .875rem; text-decoration: none; text-align: left; box-shadow: var(--shadow); }
.p-jump a:hover { border-color: var(--brand); }
.p-jump strong { display: block; color: var(--ink); font-size: 1rem; }
.p-jump .bubble { width: 46px; height: 46px; }

.p-line { padding: clamp(14px, 2vw, 22px) 16px; scroll-margin-top: 90px; }
.p-line__panel { padding: clamp(22px, 4vw, 44px) clamp(14px, 3vw, 40px); background: linear-gradient(180deg, #eef3ff 0, #fff 240px); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.p-line__head { display: grid; justify-items: center; text-align: center; margin-bottom: 26px; }
.p-line__head h2 { margin: 14px 0 0; font-size: clamp(1.75rem, 1.1rem + 3vw, 3.25rem); font-weight: 800; line-height: 1.05; text-transform: uppercase; color: #0b1f6b; }
.p-line__head h2 span { display: block; margin-top: 10px; font-size: .5em; font-weight: 700; letter-spacing: .5em; margin-right: -.5em; color: var(--brand); }
.p-ribbon { margin: 22px 0 0; padding: 12px 30px; border-radius: 999px; background: #12349f; color: #fff; font-size: clamp(.75rem, .6rem + .5vw, .9375rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ptile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-align: center; transition: box-shadow .15s, border-color .15s; }
.ptile:hover { border-color: #c5d3f7; box-shadow: var(--shadow); }
.ptile__logo { width: 100%; height: 78px; display: grid; place-items: center; }
.ptile__logo img { display: block; max-width: 86%; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.ptile__logo--text { width: 60px; height: 60px; margin: 9px 0; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font: 800 1.5rem var(--font-head); }
.ptile__name { font-size: .875rem; font-weight: 600; line-height: 1.35; color: #12349f; }
.pgrid--compact { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.pgrid--compact .ptile { padding: 10px 8px; gap: 6px; }
.pgrid--compact .ptile__logo { height: 52px; }
.pgrid--compact .ptile__logo img { max-height: 46px; }
.pgrid--compact .ptile__name { font-size: .75rem; color: var(--slate); }
@media (min-width: 720px) { .pgrid:not(.pgrid--compact) { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; } .pgrid:not(.pgrid--compact) .ptile__logo { height: 92px; } .pgrid:not(.pgrid--compact) .ptile__logo img { max-height: 84px; } .pgrid:not(.pgrid--compact) .ptile__name { font-size: .9375rem; } }

.p-points { list-style: none; margin: 24px 0 0; padding: 16px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 22px; border-radius: 16px; background: #12349f; color: #fff; font-weight: 600; font-size: .9375rem; line-height: 1.35; }
.p-points li { display: flex; align-items: center; gap: 12px; }
.p-points__icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #12349f; }
.p-line__foot { margin: 22px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.p-line__foot em { font-size: 1.125rem; font-weight: 600; color: #12349f; }
.p-legal { margin: 18px auto 0; max-width: 90ch; text-align: center; font-size: .8438rem; color: var(--slate); }

.helpband { display: grid; gap: 22px; align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: 22px; color: #fff; background: linear-gradient(120deg, #0a1f6b 0, #12349f 60%, #1447e6 100%); }
.helpband__ask { display: flex; align-items: center; gap: 18px; }
.helpband__ask p { margin: 0; display: grid; gap: 2px; }
.helpband__ask span { color: #d5defa; }
.helpband__ask strong { font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); text-transform: uppercase; letter-spacing: .01em; line-height: 1.2; }
.helpband__phone { flex: none; width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .1); color: #fff; }
.helpband__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 1.0625rem; font-weight: 500; }
.helpband__contact li { display: flex; align-items: center; gap: 12px; overflow-wrap: anywhere; }
.helpband__contact a { color: #fff; text-decoration: none; }
.helpband__contact a:hover { text-decoration: underline; }
.helpband__tag { margin: 0; font-size: 1.25rem; font-style: italic; font-weight: 600; color: #dbe4ff; }
@media (min-width: 900px) {
    .helpband { grid-template-columns: 1.2fr 1fr auto; }
    .helpband__contact { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .3); }
    .helpband__tag { max-width: 12ch; padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .3); }
}
.pgrid--compact + .muted { margin-top: 12px; }


/* =====================================================================
   Panel shell and dashboards  (layouts/panel.php, panel/dashboard.php)
   ===================================================================== */
.pn { min-height: 100vh; background: #06103f linear-gradient(180deg, #0a2278 0, #06103f 900px) no-repeat; }
.pavatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #4f93ff, #1447e6); color: #fff; font-weight: 700; font-size: .9375rem; }
.pavatar--soft { width: 36px; height: 36px; background: var(--brand-tint); color: var(--brand); font-size: .875rem; }

/* Menu */
.pside { position: fixed; inset: 0 auto 0 0; z-index: 50; width: 268px; max-width: 86vw; padding: 20px 14px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; color: #fff; background: linear-gradient(180deg, #0a2278 0, #06103f 100%); transform: translateX(-102%); transition: transform .2s; }
.pn.is-menu .pside { transform: none; }
.pside__shade { display: none; position: fixed; inset: 0; z-index: 40; border: 0; background: rgba(6, 16, 63, .55); }
.pn.is-menu .pside__shade { display: block; }
.pside__brand { display: grid; gap: 8px; padding: 2px 8px 0; }
.pside__brand > span { font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #c9d6ff; }
.pside__id { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; color: #c9d6ff; text-decoration: none; }
.pside__id:hover { border-color: rgba(255, 255, 255, .5); color: #fff; }
.pside__id > span:last-child { display: grid; justify-items: start; gap: 3px; min-width: 0; font-size: .8125rem; line-height: 1.3; }
.pside__id strong { font-size: .9375rem; color: #fff; overflow-wrap: anywhere; }
.pside__id em { padding: 1px 8px; border-radius: 6px; background: #1447e6; color: #fff; font-size: .6875rem; font-style: normal; font-weight: 600; }
.pside__id .pavatar { background: #fff; color: var(--brand); }
.pside__nav { display: grid; gap: 2px; }
.pside__nav form { margin: 0; }
.pside__nav a, .pside__nav button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 0; border-radius: 10px; background: none; color: #dbe4ff; font: 500 .9688rem var(--font-body); text-align: left; text-decoration: none; cursor: pointer; }
.pside__nav a:hover, .pside__nav button:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.pside__nav a[aria-current] { background: var(--brand); color: #fff; font-weight: 600; box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
.pside__nav .icon { flex: none; }
.pside__badge { margin-left: auto; min-width: 26px; padding: 1px 8px; border-radius: 999px; background: #2f6bff; color: #fff; font-size: .75rem; font-style: normal; font-weight: 700; text-align: center; }
.pside__nav a[aria-current] .pside__badge { background: #fff; color: var(--brand-dark); }
.pside__user, .pside__help { margin-top: auto; padding: 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; background: rgba(255, 255, 255, .05); }
.pside__user { display: flex; align-items: center; gap: 12px; color: #c9d6ff; text-decoration: none; font-size: .8125rem; }
.pside__user:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
.pside__user > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.pside__user strong { color: #fff; font-size: .9375rem; overflow-wrap: anywhere; }
.pside__user .icon { transform: rotate(-90deg); }
.pside__help { display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: center; }
.pside__help p { margin: 0; font-size: .75rem; color: #c9d6ff; line-height: 1.4; }
.pside__help strong { display: block; font-size: .9688rem; color: #fff; }
.pside__help .btn { grid-column: 1 / -1; }

/* Work area */
.pmain { min-height: 100vh; display: flex; flex-direction: column; min-width: 0; background: var(--paper); }
.ptop { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.ptop__menu { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; }
.ptop__title { flex: 1; min-width: 0; }
.ptop__title p { margin: 0; font-size: 1.0625rem; color: #0b1f6b; overflow-wrap: anywhere; }
.ptop__title h1 { margin: 0; font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem); color: #0b1f6b; line-height: 1.25; overflow-wrap: anywhere; }
.ptop__title .ptop__sub { margin-top: 2px; font-size: .875rem; font-weight: 400; color: var(--slate); }
.ptop__ok { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); color: #fff; vertical-align: middle; }
.ptop__date, .ptop__user { display: none; align-items: center; gap: 12px; margin: 0; padding-left: 18px; border-left: 1px solid var(--line); font-size: .8125rem; color: var(--slate); text-decoration: none; }
.ptop__date span, .ptop__user > span:first-child { display: grid; line-height: 1.4; }
.ptop__date strong, .ptop__user strong { font-size: .9375rem; color: var(--ink); }
.ptop__user > span:first-child { text-align: right; }
.pbody { flex: 1; min-width: 0; padding: 18px 16px 28px; }
.pfoot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 0 16px; padding: 16px 0 20px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--slate); }
.pfoot a { margin-left: 22px; text-decoration: none; }
.pfoot span:last-child a:first-child { margin-left: 0; }
@media (min-width: 700px) { .ptop__user { display: flex; } }
@media (min-width: 1100px) {
    .pn { display: grid; grid-template-columns: 252px minmax(0, 1fr); }
    .pside { position: sticky; top: 0; height: 100vh; width: auto; max-width: none; transform: none; background: none; }
    .pside__shade, .pn.is-menu .pside__shade, .ptop__menu { display: none; }
    .pmain { margin: 8px 8px 8px 0; min-height: calc(100vh - 16px); border-radius: 22px; overflow: hidden; }
    .ptop { padding: 16px 28px; }
    .ptop__date { display: flex; }
    .pbody { padding: 22px 28px 32px; }
    .pfoot { margin: 0 28px; }
}

/* Cards and headline figures */
.card { min-width: 0; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 16px; }
.card__head h2 { margin: 0; font-size: 1.0625rem; color: #0b1f6b; }
.card__head > a { font-size: .875rem; font-weight: 600; text-decoration: none; }
.card .empty { padding: 20px 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 16px; }
.kpi { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.kpi:hover { border-color: #c5d3f7; box-shadow: var(--shadow); color: var(--ink); }
.kpi__icon { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.kpi__icon--blue { background: #1447e6; }
.kpi__icon--green { background: #0e9f6e; }
.kpi__icon--orange { background: #f08c00; }
.kpi__icon--purple { background: #7c3aed; }
.kpi__icon--pink { background: #e11d74; }
.kpi__icon--red { background: #f0553f; }
.kpi__text { display: grid; min-width: 0; font-size: .8438rem; color: var(--slate); }
.kpi__text strong { font-size: 1.5rem; line-height: 1.3; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi__text em { font-style: normal; font-size: .8125rem; }
.btn--soft { background: var(--brand-tint); color: var(--brand-dark); }
.btn--soft:hover { background: #d9e4ff; color: var(--brand-dark); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: .8125rem; font-weight: 600; }
.seg a { padding: 7px 12px; color: var(--slate); text-decoration: none; }
.seg a + a { border-left: 1px solid var(--line); }
.seg a[aria-current] { background: var(--brand-tint); color: var(--brand-dark); }

.dash { display: grid; gap: 16px; }
.dash__c { display: grid; gap: 16px; align-content: start; }
@media (min-width: 820px) {
    .dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dash__chart, .dash__c { grid-column: 1 / -1; }
    div.dash__c { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1380px) {
    .dash { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .dash__chart { grid-column: span 5; }
    .dash__mid { grid-column: span 4; }
    .dash__side { grid-column: span 3; }
    .dash__a { grid-column: span 4; }
    .dash__b { grid-column: span 5; }
    .dash__c { grid-column: span 3; }
    div.dash__c { grid-template-columns: 1fr; }
}

/* Charts (components/line_chart.php, components/donut.php) */
.chart { margin: 0; }
.chart__legend { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .8125rem; color: var(--ink-soft); }
.chart__legend li { display: flex; align-items: center; gap: 8px; }
.chart__key { position: relative; width: 22px; height: 2px; background: var(--c); }
.chart__key::after { content: ""; position: absolute; left: 7px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chart__key--dot { width: 10px; height: 10px; border-radius: 50%; }
.chart__key--dot::after { display: none; }
.chart__svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart__grid { stroke: #e6ebf7; stroke-width: 1; }
.chart__tick { font-size: 12px; fill: var(--slate); font-family: var(--font-body); }
.chart__col { outline: none; }
.chart__tip { display: none; pointer-events: none; }
.chart__col:hover .chart__tip, .chart__col:focus .chart__tip { display: block; }
.chart__tip line { stroke: #9aa8c7; stroke-width: 1; stroke-dasharray: 3 3; }
.chart__tipbox { fill: #0b1437; }
.chart__tiphead { font-size: 12px; font-weight: 700; fill: #fff; font-family: var(--font-body); }
.chart__tiptext { font-size: 11.5px; fill: #d5defa; font-family: var(--font-body); }
.chart__tipvalue { font-size: 12px; font-weight: 700; fill: #fff; font-family: var(--font-body); }
.chart__empty { margin: 4px 0 0; font-size: .875rem; color: var(--slate); text-align: center; }
.chart__table { margin-top: 8px; font-size: .8125rem; }
.chart__table summary { width: max-content; color: var(--slate); cursor: pointer; }
.chart__table .table { margin-top: 8px; font-size: .8438rem; }
.chart__table .table td, .chart__table .table th { padding: 5px 10px; }
.donut { display: grid; gap: 18px; align-items: center; justify-items: center; }
.donut__svg { width: min(210px, 70%); height: auto; }
.donut__slice { transition: stroke-width .15s; }
.donut__slice:hover { stroke-width: 7.6; }
.donut__caption { font-size: 2.3px; fill: var(--slate); font-family: var(--font-body); }
.donut__total { font-size: 5px; font-weight: 700; fill: var(--ink); font-family: var(--font-head); }
.donut__legend { list-style: none; width: 100%; margin: 0; padding: 0; display: grid; gap: 12px; font-size: .9063rem; }
.donut__legend li { display: grid; grid-template-columns: auto 1fr auto 3.2em; align-items: center; gap: 10px; }
.donut__legend strong { font-variant-numeric: tabular-nums; }
.donut__legend em { font-style: normal; color: var(--slate); text-align: right; font-variant-numeric: tabular-nums; }
@media (min-width: 520px) { .donut { grid-template-columns: minmax(150px, 210px) 1fr; justify-items: stretch; } .donut__svg { width: 100%; } }

/* Dashboard lists */
.tiles2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tiles2 li { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.tiles2 li > span:last-child { display: grid; min-width: 0; font-size: .8438rem; color: var(--ink-soft); line-height: 1.35; }
.tiles2 strong { font-size: 1.25rem; color: var(--ink); }
.tiles2 small { font-size: .8125rem; color: var(--brand-dark); }
.tiles2 .bubble { width: 46px; height: 46px; }
.qlist, .qgrid, .feed, .states, .leadrows, .approvals { list-style: none; margin: 0; padding: 0; }
.qlist { display: grid; gap: 10px; }
.qlist a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--slate); font-size: .8125rem; text-decoration: none; }
.qlist a:hover { border-color: var(--brand); }
.qlist a > span:nth-child(2) { flex: 1; display: grid; line-height: 1.4; }
.qlist strong { font-size: .9375rem; color: var(--ink); }
.qlist .bubble { width: 42px; height: 42px; }
.qlist a > .icon { transform: rotate(-90deg); color: #7b88a8; }
.qgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.qgrid a { height: 100%; display: grid; justify-items: center; gap: 8px; padding: 14px 4px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-size: .8125rem; font-weight: 600; text-align: center; text-decoration: none; line-height: 1.3; }
.qgrid a:hover { border-color: var(--brand); }
.qgrid__icon { color: var(--t-fg); }
.feed li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--slate); }
.feed li:first-child { padding-top: 0; }
.feed li:last-child { border-bottom: 0; padding-bottom: 0; }
.feed li > span:nth-child(2) { flex: 1; min-width: 0; display: grid; line-height: 1.45; overflow-wrap: anywhere; }
.feed strong { font-size: .875rem; color: var(--ink); }
.feed time { flex: none; font-size: .75rem; }
.feed .bubble { width: 40px; height: 40px; }
.states { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.states a { display: flex; align-items: center; gap: 12px; padding: 16px 14px; border-radius: 12px; background: #f4f7fe; color: var(--slate); font-size: .8438rem; text-decoration: none; }
.states a > span:last-child { display: grid; }
.states strong { font-size: 1.375rem; color: var(--ink); line-height: 1.25; }
.states__item--orange a { background: #fff6e6; }
.states__item--blue a { background: #eef3ff; }
.states__item--green a { background: #e9f8f1; }
.states .bubble { width: 42px; height: 42px; }
.bubble--solid-orange { background: #f08c00; color: #fff; }
.bubble--solid-blue { background: #1447e6; color: #fff; }
.bubble--solid-green { background: #0e9f6e; color: #fff; }
.leadrows li { display: grid; grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--slate); }
.leadrows li:first-child { padding-top: 0; }
.leadrows li:last-child { border-bottom: 0; padding-bottom: 0; }
.leadrows__who { display: grid; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.leadrows__who strong { font-size: .9063rem; color: var(--ink); }
.leadrows__what { overflow-wrap: anywhere; }
.leadrows--team li { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.leadrows__num { display: grid; justify-items: end; font-size: .75rem; }
.leadrows__num strong { font-size: 1rem; color: var(--ink); }
.pill { padding: 4px 12px; border-radius: 8px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.pill--new { background: #e3f6ee; color: #0a7a55; }
.pill--contacted { background: #fff0d9; color: #a85c00; }
.pill--closed { background: #e9edf7; color: #44506b; }
.approvals li { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 8px 0; font-size: .875rem; }
.approvals strong { font-variant-numeric: tabular-nums; }
.approvals__dot { width: 10px; height: 10px; border-radius: 3px; background: var(--t-fg); }
.rank td:first-child { white-space: normal; }
.rank__who { display: flex; align-items: center; gap: 10px; }
.rank__who > span:last-child { display: grid; line-height: 1.35; }
.rank.table th, .rank.table td { padding: 10px 8px; }
.rank small { color: var(--slate); font-size: .75rem; }
.rank__no { width: 14px; color: var(--slate); font-size: .8125rem; }
.rank td { vertical-align: middle; }
@media (max-width: 520px) { .leadrows li { grid-template-columns: auto minmax(0, 1fr) auto; } .leadrows__what { display: none; } .kpis { grid-template-columns: 1fr 1fr; gap: 10px; } .kpi { flex-direction: column; align-items: flex-start; padding: 14px; } .kpi__icon { width: 44px; height: 44px; } }
.states + .leadrows { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.rank td:first-child, .rank th:first-child { width: 100%; }


/* =====================================================================
   Partner workspace pages: page heading, search, bell, tabs, tables, dialogs
   (applications, commissions, payouts, reports, notices, materials, support, settings, training)
   ===================================================================== */
.ptop__search { display: none; flex: 0 1 300px; align-items: center; min-height: 44px; padding-left: 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); }
.ptop__search:focus-within { border-color: var(--brand); }
.ptop__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: .9063rem; color: var(--ink); }
.ptop__search button { flex: none; width: 44px; height: 42px; display: grid; place-items: center; border: 0; background: none; color: var(--slate); cursor: pointer; }
.ptop__bell { position: relative; flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--ink); }
.ptop__bell:hover { background: var(--brand-tint); color: var(--brand-dark); }
.ptop__bell em { position: absolute; top: 2px; right: 0; min-width: 20px; padding: 0 5px; border-radius: 999px; border: 2px solid #fff; background: #e02d3c; color: #fff; font-size: .6875rem; font-style: normal; font-weight: 700; line-height: 16px; text-align: center; }
@media (min-width: 1240px) { .ptop__search { display: flex; } }
.pside__nav { gap: 1px; }
.pside__nav a, .pside__nav button { padding-block: 9px; }

.phead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px; }
.phead h1 { margin: 0; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.625rem); color: #0b1f6b; }
.phead p { margin: 4px 0 0; color: var(--slate); font-size: .9375rem; }
.phead__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.phead__actions:empty { display: none; }
.phead__actions form { margin: 0; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.searchnote { margin: -4px 0 14px; color: var(--slate); }
.lead-card__apply { margin: 12px 0 0; }

.card + .card, .split > div > .card, .split > div > .kpis, .split > section > .mgrid { margin-top: 0; }
.card { margin-bottom: 16px; }
.dash > .card, .dash__c > .card:last-child, .settings__pair > .card { margin-bottom: 0; }
.card--flush { padding: 0; overflow: hidden; }
.card--flush > .empty { padding: 28px 20px; }
.card--flush .table-scroll { padding: 0 8px; }
.card--form { max-width: 680px; }
.card--read { max-width: 820px; }
.card--tint { background: #eef3ff; border-color: #d5e0ff; }
.card--tint .card__head h2 { display: flex; align-items: center; gap: 8px; }
.card--inner { margin: 0; padding: 16px; }
.card--inner h3 { margin: 0 0 8px; font-size: 1rem; }
.card--inner p { font-size: .875rem; color: var(--ink-soft); }
.card h3 { font-size: 1rem; margin: 18px 0 10px; }
.card__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 20px 0; }
.card__bar h2 { margin: 0 0 14px; font-size: 1.0625rem; color: #0b1f6b; }
.card__bar > .btn, .card__bar > .muted, .card__bar > .minisearch { margin-bottom: 12px; }
.card__head > div > h2 { margin: 0; font-size: 1.0625rem; color: #0b1f6b; }
.card__head > div > p { margin: 2px 0 0; font-size: .875rem; }
.card__head .muted { font-size: .8125rem; }

.ptabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ptabs a { flex: none; padding: 10px 14px 14px; border-bottom: 3px solid transparent; color: var(--slate); font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.ptabs a:hover { color: var(--brand-dark); }
.ptabs a[aria-current] { color: var(--brand); border-bottom-color: var(--brand); }
.ptabs--card { margin-bottom: 16px; padding: 4px 10px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.ptabs--inset { padding: 0 16px; border-bottom: 1px solid var(--line); }
.card__bar + .table-scroll, .card__bar + .empty, .card__bar + .notices { border-top: 1px solid var(--line); }
.minisearch { display: flex; align-items: center; min-height: 40px; padding-left: 12px; border: 1.5px solid var(--line); border-radius: 10px; }
.minisearch input { width: 220px; max-width: 46vw; border: 0; outline: 0; background: none; font: inherit; font-size: .875rem; }
.minisearch button { width: 40px; height: 38px; display: grid; place-items: center; border: 0; background: none; color: var(--slate); cursor: pointer; }
.rangeform { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .875rem; color: var(--slate); }
.rangeform input { min-height: 38px; padding: 4px 10px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); font: inherit; color: var(--ink); }

.dtable { font-size: .875rem; }
.dtable th { font-size: .8125rem; border-bottom-width: 1px; }
.dtable td { vertical-align: middle; padding-block: 13px; }
.dtable td small { display: block; margin-top: 2px; font-size: .75rem; color: var(--slate); }
.dtable td small.dtable__note { max-width: 30ch; white-space: normal; }
.dtable .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dtable a { text-decoration: none; }
.iconbtn { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--brand-dark); cursor: pointer; }
.iconbtn:hover { border-color: var(--brand); color: var(--brand); }
.pagerbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 20px 16px; font-size: .875rem; color: var(--slate); }
.pagerbar p { margin: 0; }
.pagerbar .pagination { margin: 0; }
.pagerbar .pagination .active a { background: var(--brand); border-color: var(--brand); }
.pagerbar:empty { display: none; }
.pill--blue { background: #e6edff; color: #0f36b5; }
.pill--green { background: #e3f6ee; color: #0a7a55; }
.pill--orange { background: #fff0d9; color: #a85c00; }
.pill--red { background: #ffe5e5; color: #b42318; }
.pill--purple { background: #eee6ff; color: #5b21b6; }
.pill--pink { background: #ffe4f1; color: #b0145a; }
.pill--grey { background: #e9edf7; color: #44506b; }
.pill { display: inline-block; }

.split { display: grid; gap: 16px; align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 1180px) { .split { grid-template-columns: minmax(0, 1fr) 320px; } }
.sumlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: .9063rem; }
.sumlist li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.sumlist li > span:nth-child(2) small { display: block; font-size: .75rem; color: var(--slate); }
.sumlist strong { font-variant-numeric: tabular-nums; }
.sumlist__dot { width: 10px; height: 10px; border-radius: 3px; background: var(--t-fg); }
.sumlist--rows { gap: 0; }
.sumlist--rows li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.sumlist--rows li:last-child { border-bottom: 0; }
.sumlist--rows .bubble { width: 36px; height: 36px; }
.bigmoney { margin: 0 0 14px; display: grid; }
.bigmoney span { font-size: .8438rem; color: var(--slate); }
.bigmoney strong { font-size: 1.75rem; color: #0b1f6b; line-height: 1.25; }
.notice-box { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--brand-tint); font-size: .875rem; color: var(--ink-soft); }
.notice-box--warn { background: #fff6e6; color: #7a4300; }
.dash--reports .dash__full { grid-column: 1 / -1; }
.ticks { margin: 0 0 12px; padding-left: 20px; font-size: .9063rem; color: var(--ink-soft); }
.ticks li { margin-bottom: 6px; }

/* Dialogs */
.modal { width: min(440px, calc(100vw - 32px)); padding: 30px 28px 26px; border: 0; border-radius: 16px; background: var(--surface); color: var(--ink); text-align: center; box-shadow: 0 30px 80px rgba(6, 16, 63, .4); }
.modal::backdrop { background: rgba(6, 16, 63, .6); }
.modal h2 { margin: 0 0 10px; font-size: 1.375rem; color: #0b1f6b; }
.modal p { margin: 0 0 20px; color: var(--ink-soft); }
.modal__close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; }
.modal__close:hover { background: var(--paper); }
.modal__icon { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: #ffe5e5; color: #e02d3c; }
.modal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.modal--form { width: min(620px, calc(100vw - 32px)); text-align: left; }
.modal--form h2 { padding-right: 36px; }
.modal__lead { font-size: .9063rem; }
.modal--form .field input, .modal--form .field select, .modal--form .field textarea { width: 100%; }

/* Notices */
.notices { list-style: none; margin: 0; padding: 0; }
.notices li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.notices li:last-child { border-bottom: 0; }
.notices li.is-unread { background: #f8faff; }
.notices__icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.notices__text a { color: var(--ink); text-decoration: none; }
.notices__text a:hover strong { color: var(--brand-dark); }
.notices__text p { margin: 2px 0 0; font-size: .8438rem; color: var(--slate); }
.notices li > .pill, .notices__date, .notices li > .iconbtn { grid-column: 2; justify-self: start; }
.notices__date { font-size: .8438rem; }
.notices__date small { display: block; font-size: .75rem; color: var(--slate); }
@media (min-width: 900px) {
    .notices li { grid-template-columns: auto minmax(0, 1fr) 150px 80px 120px auto; }
    .notices li > .pill, .notices__date, .notices li > .iconbtn { grid-column: auto; }
}
.noticehead { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.noticehead h2 { margin: 0 0 8px; font-size: 1.375rem; }
.noticehead p { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .875rem; }
.catlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.catlist a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; color: var(--ink); font-size: .9063rem; text-decoration: none; }
.catlist a:hover, .catlist a[aria-current] { background: var(--brand-tint); }
.catlist__icon { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; color: #fff; }
.feed--notices li { align-items: flex-start; }
.feed--notices a { text-decoration: none; }
.feed--notices small { display: block; margin-top: 2px; font-size: .75rem; }

/* Marketing materials */
.mgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.mcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.mcard--off { opacity: .7; }
.mcard__thumb { display: block; aspect-ratio: 4 / 3; background: #eef2fb; overflow: hidden; }
.mcard__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.mcard__pdf { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 6px; color: #b42318; font-weight: 700; letter-spacing: .1em; }
.mcard__body { flex: 1; padding: 12px 14px 4px; }
.mcard__body h3 { margin: 8px 0 4px; font-size: .9688rem; }
.mcard__body p { margin: 0 0 4px; font-size: .8125rem; color: var(--slate); }
.mcard__meta { font-size: .75rem !important; }
.mcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 14px 14px; }
.mcard__actions form { margin: 0; font-size: .8125rem; }
.mcard__share { position: relative; display: inline-flex; }
.mcard__done { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); padding: 4px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .75rem; white-space: nowrap; }
.poplist { margin: 0; padding: 0 0 0 20px; display: grid; gap: 12px; font-size: .875rem; }
.poplist li { padding-left: 4px; }
.poplist li::marker { color: var(--slate); }
.poplist a { display: grid; color: var(--ink); text-decoration: none; }
.poplist a span { font-size: .75rem; color: var(--slate); }
.poplist em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: .75rem; color: var(--slate); }

/* Support center */
.helphero { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(100deg, #eef3ff, #f8faff); border-color: #d5e0ff; }
.helphero h2 { margin: 0 0 6px; font-size: 1.375rem; color: #0b1f6b; }
.helphero p { margin: 0 0 16px; color: var(--ink-soft); max-width: 44ch; }
.helphero__search { display: flex; align-items: center; gap: 8px; max-width: 520px; padding: 4px 4px 4px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--slate); }
.helphero__search input { flex: 1; min-width: 0; min-height: 40px; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); }
.helphero__search .btn { min-height: 40px; }
.helphero__art { display: none; flex: none; width: 150px; height: 150px; place-items: center; border-radius: 50%; background: radial-gradient(closest-side, #dbe6ff, rgba(219, 230, 255, 0)); color: var(--brand); }
@media (min-width: 760px) { .helphero__art { display: grid; } }
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.topics a { height: 100%; display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--slate); font-size: .8125rem; line-height: 1.45; text-decoration: none; }
.topics a:hover, .topics a[aria-current] { border-color: var(--brand); background: #f8faff; }
.topics a > span:last-child { display: grid; align-content: start; gap: 2px; }
.topics strong { font-size: .9375rem; color: var(--ink); }
.topics em { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-style: normal; font-weight: 600; color: var(--brand-dark); }
.topics .bubble { width: 46px; height: 46px; }
.contactlist { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.contactlist li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .8125rem; color: var(--slate); }
.contactlist li > span:last-child { display: grid; min-width: 0; overflow-wrap: anywhere; }
.contactlist a { color: var(--ink); text-decoration: none; }
.contactlist .bubble { width: 42px; height: 42px; }
.hours { margin: 0; display: flex; align-items: center; gap: 12px; font-size: .9375rem; }
.hours .bubble { width: 42px; height: 42px; }
.thread { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.thread li { max-width: 88%; padding: 12px 16px; border-radius: 4px 14px 14px 14px; background: #f1f4fb; }
.thread li.thread__staff { justify-self: end; border-radius: 14px 4px 14px 14px; background: #e6edff; }
.thread__who { margin: 0 0 4px; font-size: .8125rem; }
.thread__who time { color: var(--slate); margin-left: 6px; }
.thread__body p { margin: 0 0 .5em; overflow-wrap: anywhere; }
.thread__body p:last-child { margin: 0; }

/* Settings */
.settings { display: grid; gap: 16px; align-items: start; }
.settings__nav { display: flex; gap: 4px; padding: 8px; overflow-x: auto; margin: 0; }
.settings__nav a { flex: none; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; color: var(--ink-soft); font-size: .9063rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.settings__nav a:hover { background: var(--brand-tint); color: var(--brand-dark); }
.settings__body { display: grid; gap: 16px; min-width: 0; }
.settings__body > .card { margin: 0; scroll-margin-top: 16px; }
.settings__pair { display: grid; gap: 16px; align-items: start; }
.settings__pair > .card { scroll-margin-top: 16px; }
@media (min-width: 900px) { .settings__pair { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .settings { grid-template-columns: 240px minmax(0, 1fr); } .settings__nav { display: grid; position: sticky; top: 16px; overflow: visible; } }
.pavatar--xl { width: 72px; height: 72px; font-size: 1.375rem; background: #0b2a9c; }
.acct { display: grid; gap: 16px 22px; align-items: start; }
.acct__name { line-height: 1.9; }
.acct__name strong { font-size: 1.0625rem; }
.acct__facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 22px; }
.acct__facts dt { font-size: .8125rem; color: var(--slate); }
.acct__facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 760px) { .acct { grid-template-columns: auto minmax(160px, auto) 1fr; } }

/* Training */
.courses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.course { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.course__top { position: relative; display: grid; place-content: center; justify-items: center; gap: 8px; min-height: 112px; padding: 14px; color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center; text-decoration: none; }
.course__top:hover { color: #fff; }
.course__top em { position: absolute; top: 10px; right: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .6875rem; font-style: normal; letter-spacing: 0; text-transform: none; }
.course__top--blue { background: linear-gradient(140deg, #0b2a9c, #1447e6); }
.course__top--green { background: linear-gradient(140deg, #076c4a, #0e9f6e); }
.course__top--purple { background: linear-gradient(140deg, #4c1d95, #7c3aed); }
.course__top--orange { background: linear-gradient(140deg, #a85c00, #f08c00); }
.course__top--pink { background: linear-gradient(140deg, #9d174d, #e11d74); }
.course__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.course__body h3 { margin: 0; font-size: .9688rem; }
.course__body p { margin: 0; font-size: .8125rem; color: var(--slate); }
.course__body .btn { margin-top: auto; }
.course__meta { font-size: .75rem !important; }
.meter { height: 6px; border-radius: 6px; background: #e6ebf7; overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 6px; background: var(--brand); }
.meter--lg { height: 10px; margin-bottom: 8px; }
.dash__side .donut { grid-template-columns: 1fr; justify-items: center; }
.dash__side .donut__svg { width: min(190px, 70%); }
@media (min-width: 1100px) { .pside { gap: 12px; } }
.helphero > div { flex: 1; min-width: 0; }
.helphero__search .icon { flex: none; }
@media (max-width: 699px) { .ptop__sub { display: none; } .helphero__search .btn { padding-inline: 14px; } }

/* =====================================================================
   Leads, applications, policies, commission overview, my profile, ID card
   ===================================================================== */
.pavatar { overflow: hidden; }
.pavatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 1180px) { .split--wide { grid-template-columns: minmax(0, 1fr) 300px; } }
.searchnote--bar { margin: 0; padding: 10px 20px; background: #f8faff; border-top: 1px solid var(--line); font-size: .875rem; }
.pill--soft { font-weight: 600; }
.pill--dot::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: currentColor; }
.srcicon { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 4px; border-radius: 50%; background: var(--t-bg); color: var(--t-fg); vertical-align: middle; }
.dtable .iconbtn + .iconbtn, .dtable .iconbtn + .btn { margin-left: 6px; }
.insurer { display: inline-block; max-height: 26px; max-width: 84px; width: auto; vertical-align: middle; object-fit: contain; }

.funnel { display: grid; grid-template-columns: 62px 1fr; gap: 14px; align-items: stretch; }
.funnel svg { width: 62px; height: 150px; display: block; }
.funnel ul { list-style: none; margin: 0; padding: 0; display: grid; font-size: .875rem; }
.funnel li { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink-soft); }
.funnel strong { font-size: .9688rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.funnel__rate, .paidtotal { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: var(--ink-soft); }
.funnel__rate strong { font-size: 1.125rem; color: var(--ink); }
.paidtotal strong { color: var(--success); font-size: 1.0625rem; }

.fstack { display: grid; gap: 6px; }
.fstack label, .fstack legend { margin-top: 6px; padding: 0; font-size: .8125rem; color: var(--slate); }
.fstack select, .fstack input[type="date"] { width: 100%; min-height: 40px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); font: inherit; font-size: .875rem; color: var(--ink); }
.fstack__dates { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr auto 1fr; gap: 0 6px; align-items: center; min-width: 0; }
.fstack__dates legend { grid-column: 1 / -1; margin-bottom: 6px; }
.fstack__dates span { font-size: .8125rem; color: var(--slate); }
.fstack__dates input { min-width: 0; padding-inline: 6px !important; font-size: .8125rem !important; }
.fstack .btn { margin-top: 12px; }

.qgrid--2 { grid-template-columns: 1fr 1fr; }
.qgrid button { width: 100%; height: 100%; display: grid; justify-items: center; gap: 8px; padding: 14px 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: 600 .8125rem/1.3 var(--font-body); text-align: center; cursor: pointer; }
.qgrid button:hover { border-color: var(--brand); }
.qgrid--row a { grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 12px; padding: 14px; text-align: left; }
.twofacts { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.twofacts dt { font-size: .8125rem; color: var(--slate); }
.twofacts dd { margin: 2px 0 0; font-weight: 700; font-size: 1.0625rem; }
.twofacts .good { color: var(--success); }
.donut__total--money { font-size: 3.6px; }
.tiles2__note { font-size: .75rem !important; color: var(--slate) !important; }
.callrow { margin: 12px 0 0; }

.psteps { list-style: none; margin: 4px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: step; }
.psteps li { position: relative; display: grid; justify-items: center; gap: 8px; font-size: .8125rem; color: var(--slate); text-align: center; }
.psteps li span { position: relative; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); font-weight: 700; }
.psteps li::before { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.psteps li:first-child::before { display: none; }
.psteps li.is-done { color: var(--ink); font-weight: 600; }
.psteps li.is-done span { border-color: var(--success); background: var(--success); color: #fff; }
.psteps li.is-done::before { background: var(--success); }

.dash--reports .dash__wide, .dash--reports .dash__narrow { grid-column: 1 / -1; }
.dash__narrow { display: grid; gap: 16px; align-content: start; }
.dash__narrow > .card, .dash__wide { margin: 0; }
@media (min-width: 1380px) { .dash--reports .dash__wide { grid-column: span 9; } .dash--reports .dash__narrow { grid-column: span 3; } }

/* My Profile */
.pcard { display: grid; gap: 20px 28px; align-items: center; }
.pcard__photo { position: relative; width: 132px; height: 132px; }
.pcard__photo > img, .pcard__photo > span { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; object-fit: cover; background: linear-gradient(160deg, #4f93ff, #1447e6); color: #fff; font: 700 2.5rem var(--font-head); }
.pcard__upload { position: absolute; right: 2px; bottom: 2px; margin: 0; }
.pcard__upload label { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 3px solid #fff; background: var(--brand); color: #fff; cursor: pointer; }
.pcard__upload input:focus-visible + noscript, .pcard__upload label:hover { background: var(--brand-dark); }
.pcard__main h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); color: #0b1f6b; }
.pcard__role { margin: 2px 0 6px; font-size: 1.125rem; color: var(--brand); font-weight: 500; }
.pcard__org { margin: 0 0 16px; display: flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.pcard__ids { margin: 0; display: flex; flex-wrap: wrap; gap: 14px 0; }
.pcard__ids div { padding-right: 26px; margin-right: 26px; border-right: 1px solid var(--line); }
.pcard__ids div:last-child { border-right: 0; margin-right: 0; }
.pcard__ids dt { font-size: .8125rem; color: var(--slate); margin-bottom: 4px; }
.pcard__ids dd { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.0625rem; }
@media (min-width: 720px) { .pcard { grid-template-columns: auto 1fr; padding: 26px; } }
.ptabs a { display: inline-flex; align-items: center; gap: 8px; }
.pgridx { display: grid; gap: 16px; margin-bottom: 16px; align-items: start; }
.pgridx > .card { margin: 0; scroll-margin-top: 16px; }
@media (min-width: 900px) { .pgridx { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1380px) { .pgridx { grid-template-columns: 1.15fr 1.25fr 1fr; } .pgridx--two { grid-template-columns: 1fr 1fr; } }
.card__head h2 { display: flex; align-items: center; gap: 8px; }
.card__head h2 > .icon { color: var(--brand); }
.linkbtn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px; color: var(--brand-dark); font: 600 .875rem var(--font-body); cursor: pointer; }
.facts--plain > div { grid-template-columns: 150px 1fr; border-bottom: 0; padding: 7px 0; }
.morelink { margin: 12px 0 0; text-align: center; font-weight: 600; font-size: .9063rem; }
.morelink a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.certlist { list-style: none; margin: 0; padding: 0; }
.certlist li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--slate); }
.certlist li:last-child { border-bottom: 0; }
.certlist li > span:nth-child(2) { display: grid; }
.certlist strong { font-size: .9063rem; color: var(--ink); }
.certlist__tick { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line); color: #fff; }
.certlist li.is-done .certlist__tick { border-color: var(--success); background: var(--success); }
.acctstatus { margin: 0 0 18px; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px; background: var(--success-bg); font-size: .8125rem; color: var(--ink-soft); }
.acctstatus > span:first-child { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--success); color: #fff; }
.acctstatus > span:last-child { display: grid; }
.acctstatus strong { font-size: .9688rem; color: var(--ink); }
.acctstatus--wait { background: #fff6e6; }
.acctstatus--wait > span:first-child { background: #f08c00; }
.lastlogin { margin: 0; display: flex; align-items: center; gap: 12px; font-size: .8125rem; color: var(--slate); }
.lastlogin span { display: grid; }
.lastlogin strong { font-size: .9375rem; color: var(--ink); }
.regno { margin-top: 6px; font-size: .8125rem; }
.regno summary { cursor: pointer; color: var(--brand-dark); }
.regno .inline-form { margin-top: 6px; }
.regno input { min-height: 36px; width: 160px; padding: 4px 8px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }

/* Printable ID card */
.idpage { min-height: 100vh; margin: 0; padding: 24px 16px 40px; display: grid; justify-items: center; align-content: start; gap: 20px; background: var(--paper); }
.idpage__bar { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.idcard { width: 340px; max-width: 100%; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.idcard header { padding: 18px 16px 44px; display: grid; justify-items: center; gap: 6px; background: linear-gradient(175deg, #0a2278, #06103f); color: #c9d6ff; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; }
.idcard__photo { width: 104px; height: 104px; margin: -52px auto 10px; border-radius: 50%; border: 4px solid #fff; overflow: hidden; background: linear-gradient(160deg, #4f93ff, #1447e6); display: grid; place-items: center; color: #fff; font: 700 2rem var(--font-head); }
.idcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.idcard h1 { margin: 0; font-size: 1.375rem; color: #0b1f6b; }
.idcard__role { margin: 2px 0 14px; color: var(--brand); font-weight: 600; }
.idcard dl { margin: 0; padding: 0 22px 16px; text-align: left; }
.idcard dl div { display: grid; grid-template-columns: 112px 1fr; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: .875rem; }
.idcard dt { color: var(--slate); }
.idcard dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.idcard footer { padding: 12px 16px 14px; display: grid; gap: 2px; background: #eef3ff; font-size: .8125rem; font-weight: 600; color: #0b1f6b; }
.idcard footer small { margin-top: 4px; font-weight: 400; font-size: .6875rem; color: var(--slate); }
@media print { .idpage { padding: 0; background: #fff; } .idpage__bar { display: none; } .idcard { box-shadow: none; } }
/* Pages with a side column: five compact cards in one row, tighter tables, ring above its legend */
.split__side .donut { grid-template-columns: 1fr; justify-items: center; }
.split__side .donut__svg { width: min(170px, 62%); }
.split--wide .table-scroll { padding: 0 4px; }
.split--wide .dtable th, .split--wide .dtable td { padding-inline: 8px; }
.split--wide .dtable td strong { white-space: nowrap; }
@media (min-width: 1180px) {
    .split--wide .kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
    .split--wide .kpi { padding: 14px 12px; gap: 10px; }
    .split--wide .kpi__icon { width: 44px; height: 44px; }
    .split--wide .kpi__icon .icon { width: 22px; height: 22px; }
    .split--wide .kpi__text strong { font-size: 1.3125rem; }
    .split--wide .kpi__text em { font-size: .75rem; line-height: 1.35; }
}
.split--wide .dtable { font-size: .8125rem; }
.split--wide .dtable .pill { white-space: normal; }
.split--wide .dtable .iconbtn { width: 30px; height: 30px; }
.split--wide .dtable .iconbtn + .iconbtn { margin-left: 2px; }
.split--wide .srcicon { width: 24px; height: 24px; margin-right: 2px; }

/* ==========================================================================
   Online test, second pass: locked panel, result, login box, certificate
   ========================================================================== */
/* Menu items a new partner cannot open yet */
.pside__nav a.is-locked { color: #8fa0d6; }
.pside__nav a.is-locked:hover { background: rgba(255, 255, 255, .06); color: #c6d2f7; }
.pside__lock { margin-left: auto; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #ffd27a; }
.modal__icon--lock { background: #fff3d6; color: #b46b00; }
.modal__actions a.btn { display: grid; place-items: center; text-align: center; }

/* "Get certified" banner on the onboarding page */
.getcert { display: flex; gap: 18px; margin: 0 0 26px; padding: 22px; border-radius: 16px; background: linear-gradient(120deg, #0a2278, #1447e6); color: #fff; }
.getcert__icon { flex: none; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 255, 255, .14); color: #ffd27a; }
.getcert__body { min-width: 0; }
.getcert h2 { margin: 0 0 6px; font-size: 1.375rem; color: #fff; }
.getcert p { margin: 0 0 10px; color: #dbe4ff; max-width: 70ch; }
.getcert__facts { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .9375rem; color: #dbe4ff; }
.getcert__facts strong { color: #fff; }
.getcert a:not(.btn) { color: #fff; }
.getcert__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.getcert__actions .btn--primary { background: var(--marigold); color: var(--ink); }
.getcert__actions .btn--primary:hover { background: #ffbf1f; color: var(--ink); }
.getcert__actions .btn--secondary { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); color: #fff; }
.getcert__actions .btn--secondary:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.getcert__actions .field__error { flex-basis: 100%; margin: 0; padding: 8px 12px; border-radius: 8px; background: #fff; }
.getcert .btn .icon, .nextstep .btn .icon { vertical-align: -3px; }

/* Services shown but locked */
.lockwrap { margin-top: 8px; }
.lockwrap > .muted { margin: 4px 0 14px; }
.lockwrap .pill { margin: 0; padding: 4px 12px; box-shadow: none; font-size: .8125rem; gap: 6px; background: #fff3d6; border-color: #f2d28b; color: #7a4a00; }
.lockgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.lockgrid button { width: 100%; min-height: 74px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px dashed #c3cbdc; border-radius: 14px; background: #f6f8fc; color: #5b6577; font: inherit; text-align: left; cursor: pointer; }
.lockgrid button:hover { border-color: var(--marigold); background: #fffaf0; color: var(--ink); }
.lockgrid__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #e6eaf3; color: #7c88a3; }
.lockgrid strong { flex: 1; min-width: 0; font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.lockgrid em { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #fff3d6; color: #b46b00; }

/* Test result */
.result { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 18px; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); border-left: 8px solid var(--danger); }
.result--pass { border-left-color: var(--success); }
.result__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #ffe5e5; color: #c0271b; }
.result--pass .result__icon { background: #dcf5ea; color: var(--success); }
.result__tag { margin: 0; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c0271b; }
.result--pass .result__tag { color: var(--success); }
.result h2 { margin: 2px 0 6px; font-size: 1.5rem; }
.result__body p:last-child { margin: 0; max-width: 70ch; color: var(--ink-soft); }
.result__facts { grid-column: 1 / -1; margin: 14px 0 0; padding-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.result__facts dt { font-size: .8125rem; color: var(--slate); }
.result__facts dd { margin: 2px 0 0; font: 700 1.25rem var(--font-head); }
.nextstep h2 { margin: 0 0 8px; font-size: 1.1875rem; }
.nextstep__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 10px; }
.nextstep > .muted { margin: 0; }
.nsteps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; counter-reset: nstep; }
.nsteps li { counter-increment: nstep; padding: 12px 14px 12px 50px; position: relative; border: 1px solid var(--line); border-radius: 12px; background: #f8fafe; }
.nsteps li::before { content: counter(nstep); position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); font-weight: 700; font-size: .875rem; }
.nsteps li.is-done::before { content: "\2713"; background: var(--success); border-color: var(--success); color: #fff; }
.nsteps li.is-now { border-color: var(--marigold); background: #fffaf0; }
.nsteps li.is-now::before { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.nsteps strong { display: block; font-size: .9375rem; }
.nsteps span { font-size: .8125rem; color: var(--slate); }

/* The new login, shown once */
.creds { display: flex; gap: 16px; margin: 0 0 18px; padding: 20px 22px; border-radius: 16px; border: 2px solid var(--marigold); background: #fffaf0; }
.creds__icon { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: #fff3d6; color: #b46b00; }
.creds__body { min-width: 0; flex: 1; }
.creds h2 { margin: 0 0 4px; font-size: 1.25rem; }
.creds p { margin: 0 0 12px; max-width: 72ch; }
.creds dl { margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.creds dl div { padding: 12px 14px; border-radius: 12px; border: 1px solid #f2d28b; background: #fff; }
.creds dt { font-size: .8125rem; color: var(--slate); }
.creds dd { margin: 4px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.creds code { font: 700 1.375rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; overflow-wrap: anywhere; user-select: all; }
.creds form { margin: 0; }

/* The test screen: reminder under the clock */
.exam-rule { margin: 0; padding: 8px 16px; background: #fff3d6; color: #5c3900; font-size: .9063rem; font-weight: 600; text-align: center; }
.exam-rule .icon { vertical-align: -2px; }
.exam .modal p.muted { margin-bottom: 0; }

/* Certificate (A4 landscape) */
.certpage { gap: 16px; grid-template-columns: minmax(0, 1fr); }
.cert { width: 1040px; max-width: 100%; aspect-ratio: 297 / 210; padding: 16px; background: linear-gradient(135deg, #0a2278, #1447e6); border-radius: 10px; box-shadow: var(--shadow); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.cert__frame { height: 100%; padding: 4.2% 7% 3%; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 3px solid var(--marigold); border-radius: 4px; outline: 1px solid #f2d28b; outline-offset: -12px; }
.cert header { display: grid; justify-items: center; gap: 4px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.cert__kicker { margin: 3.2% 0 2%; font: 700 clamp(1.25rem, 3.4vw, 2.25rem) var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: #0b1f6b; }
.cert__line { margin: 0; font-size: clamp(.8125rem, 1.5vw, 1.0625rem); line-height: 1.7; color: var(--ink-soft); }
.cert h1 { margin: 1.6% 0; padding: 0 5% 1%; border-bottom: 2px solid var(--marigold); font: 700 clamp(1.5rem, 4.2vw, 2.75rem) var(--font-head); color: var(--brand-dark, #0e35b0); }
.cert dl { margin: auto 0 0; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 2.4%; border-top: 1px solid var(--line); }
.cert dt { font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.cert dd { margin: 2px 0 0; font-weight: 700; font-size: clamp(.75rem, 1.4vw, .9688rem); overflow-wrap: anywhere; }
.cert footer { margin-top: 2%; }
.cert footer p { margin: 0; font-size: clamp(.5625rem, 1vw, .6875rem); line-height: 1.5; color: var(--slate); }
/* Only the certificate prints in landscape; the ID card and every other page keep the printer's own setting. */
@page certificate { size: A4 landscape; margin: 8mm; }
@media print {
    .certpage { page: certificate; display: block; min-height: 0; padding: 0; }
    .certpage .cert { width: 100%; height: 190mm; aspect-ratio: auto; border-radius: 0; box-shadow: none; break-inside: avoid; }
}
@media (max-width: 640px) {
    .getcert, .creds { flex-direction: column; }
    .result { grid-template-columns: 1fr; }
    .cert { aspect-ratio: auto; padding: 8px; }
    .cert__frame { padding: 22px 16px; outline: 0; }
    .cert dl { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Notifications, Notification Center, payments, receipt
   ========================================================================== */
.split--notify { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 18px; }
.split--notify > .card { min-width: 0; }
.card__head--pad { padding: 18px 20px 0; margin-bottom: 4px; }
.ptabs--page { margin-bottom: 16px; }

/* list of notifications (bell) and of sent broadcasts */
.nlist { list-style: none; margin: 0; padding: 0; }
.nlist li { border-top: 1px solid var(--line); }
.nlist li:first-child { border-top: 0; }
.nlist a, .nlist li > div { display: flex; align-items: flex-start; gap: 14px; padding: 14px 20px; color: var(--ink); text-decoration: none; }
.nlist a:hover { background: #f6f8fd; }
.nlist .bubble { width: 42px; height: 42px; }
.nlist__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.nlist__text strong { font-size: .9688rem; }
.nlist__text > span { color: var(--ink-soft); font-size: .9063rem; overflow-wrap: anywhere; }
.nlist__text small { color: var(--slate); font-size: .8125rem; }
.nlist li.is-unread { background: #f3f7ff; }
.nlist li.is-unread strong { color: #0b1f6b; }
.nlist__dot { flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--brand); }
.nlist__empty { padding: 22px 20px; }
.spager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--slate); }

/* push on this device */
.pushbox { display: grid; gap: 10px; margin: 6px 0 14px; }
.pushbox__status { margin: 0; font-size: .9063rem; }
.pushbox__h { margin: 4px 0 8px; font-size: .9688rem; }
.pushbox__note { margin: 14px 0 0; font-size: .875rem; overflow-wrap: anywhere; }
.devices { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.devices li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: .9063rem; }
.devices span { display: grid; }
.devices small { color: var(--slate); font-size: .75rem; }

/* send form */
.checkrow { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 2px 0 16px; font-size: .9375rem; }
.checkrow label, .checkline { display: inline-flex; align-items: center; gap: 8px; }
.checkrow input, .checkline input, .evpick input { width: 18px; height: 18px; accent-color: var(--brand); }
.checkline { margin: 0 0 12px; font-size: .9375rem; }

/* webhook form */
.evpick { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 8px; min-width: 0; }
.evpick legend { padding: 0 6px; font-weight: 600; }
.evpick label { display: flex; align-items: flex-start; gap: 8px; font-size: .9063rem; min-width: 0; }
.evpick label span { color: var(--slate); }
.evpick label code { flex: none; }
.evpick__group { margin: 8px 0 0; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.secretline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.secretline code, .codeblock { display: block; max-width: 100%; padding: 8px 10px; border-radius: 8px; background: #f2f5fb; border: 1px solid var(--line); font-size: .8125rem; overflow-wrap: anywhere; word-break: break-all; }
.statusgrid code, .eventlist code, .webhooks code, .card p code, .plain-list code { overflow-wrap: anywhere; word-break: break-word; }
.eventlist summary { cursor: pointer; font-weight: 600; margin-top: 10px; }

/* setup check */
.statusgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.statusgrid .card { display: flex; flex-direction: column; gap: 10px; }
.statusgrid .card__head { margin-bottom: 0; }
.statusgrid .card__head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.0625rem; }
.statusgrid .pill { margin: 0; box-shadow: none; padding: 4px 12px; font-size: .8125rem; }
.statusgrid .facts > div { grid-template-columns: 170px 1fr; }
.statusgrid p { margin: 0; }
.statusgrid .btn { align-self: flex-start; }
.inline-form--wrap { flex-wrap: wrap; }
.inline-form input[type=email], .inline-form input[type=search], .inline-form input[type=text] { min-height: 38px; min-width: 0; flex: 1 1 200px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: var(--radius); font: inherit; background: var(--surface); color: var(--ink); }
.card__bar .inline-form { flex-wrap: wrap; }

.kpis--4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.dtable__wrap { white-space: normal; min-width: 180px; }

/* receipt */
.receipt { width: 560px; max-width: 100%; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.receipt header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--brand); }
.receipt__no { display: grid; text-align: right; }
.receipt__no strong { font: 700 1.25rem var(--font-head); color: #0b1f6b; }
.receipt__no span { color: var(--slate); font-size: .875rem; }
.receipt__amount { margin: 22px 0; display: grid; font: 700 2.25rem var(--font-head); color: var(--success); }
.receipt__amount span { font: 500 .9375rem var(--font-body); color: var(--slate); }
.receipt dl { margin: 0; }
.receipt dl div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: .9375rem; }
.receipt dt { color: var(--slate); }
.receipt dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.receipt footer { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.receipt footer p { margin: 0 0 4px; font-size: .8125rem; color: var(--slate); }
@media print { .receipt { box-shadow: none; border: 0; } }

@media (max-width: 900px) {
    .split--notify { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .statusgrid .facts > div, .receipt dl div { grid-template-columns: 1fr; gap: 2px; }
    .receipt__no { text-align: left; }
    .nlist a, .nlist li > div { padding: 12px 14px; }
}
.idpage { grid-template-columns: minmax(0, 1fr); }

/* ==========================================================================
   Branch tree, branch picker, branch website label, invites
   ========================================================================== */
.ptop__branch { display: flex; align-items: center; gap: 6px; margin: 0; padding: 4px 6px 4px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); }
.ptop__branch label { display: grid; place-items: center; color: var(--slate); }
.ptop__branch select { max-width: 220px; min-height: 36px; border: 0; background: transparent; font: 600 .875rem var(--font-body); color: var(--ink); cursor: pointer; }
.ptop__branch.is-narrowed { border-color: var(--marigold); background: #fffaf0; }
.btree__name { display: flex; align-items: flex-start; gap: 8px; padding-left: calc(var(--level, 0) * 22px); }
.btree__name > span { display: grid; }
.btree__line { color: #a5b0c8; font-family: ui-monospace, monospace; }
.btree tr.is-picked td { background: #fffaf0; }
.btree .inline-form { display: inline-flex; }
.topbar__branch { align-self: center; margin-right: auto; padding: 4px 10px; border-radius: 999px; background: #fff3d6; color: #7a4a00; font-size: .8125rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; }
.invites { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin: 10px 0; }
.invites h3 { margin: 0 0 6px; font-size: 1rem; }
.invites p { margin: 0 0 8px; }
.code-line { overflow-wrap: anywhere; word-break: break-all; }
@media (max-width: 1100px) { .ptop__branch select { max-width: 150px; } }
.ptop__title { min-width: 180px; }
.ptop__branch { flex: none; }
@media (max-width: 1499px) { .ptop:has(.ptop__branch) .ptop__search { display: none; } }
@media (max-width: 899px) {
    .ptop:has(.ptop__branch) { flex-wrap: wrap; }
    .ptop__branch { order: 5; flex: 1 1 100%; }
    .ptop__branch select { max-width: none; flex: 1; }
}
.aadhaar-card { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.aadhaar-card img { border-radius: 8px; border: 1px solid var(--line); object-fit: cover; }
.aadhaar-card .facts { flex: 1 1 320px; }
.aadhaar-card .pill { margin: 0 0 0 6px; padding: 2px 10px; box-shadow: none; font-size: .75rem; }

/* ==========================================================================
   User insights, call center (telecallers), cookie notice
   ========================================================================== */
.grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; margin-bottom: 16px; }
.grid-2 > .card { margin: 0; min-width: 0; }
.grid-2--tight { gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin: 0; }
.kpis--3 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.card__bar--plain { padding: 0; margin-bottom: 12px; }
.card__note { margin: 0; padding: 10px 20px; font-size: .8125rem; color: var(--slate); border-top: 1px solid var(--line); }
.card__foot { margin: 0; padding: 12px 20px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 600; }
.card--notice { border-left: 6px solid var(--marigold); }
.small { font-size: .8125rem; }
.small-head { margin: 0 0 10px; font-size: .875rem; font-weight: 700; color: #0b1f6b; }
.text-red { color: #b42318; }
.text-green { color: #0a7a55; }
.text-orange { color: #a85c00; }
.text-grey { color: var(--slate); }
.text-blue { color: #0f36b5; }
.breakall { overflow-wrap: anywhere; word-break: break-all; }
.btn--ghost { background: transparent; border-color: transparent; color: var(--brand); }
.btn--ghost:hover { background: #eef3ff; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.checkline { display: flex; align-items: flex-start; gap: 8px; font-size: .875rem; }
.checkline input { margin-top: 3px; }
.codeblock { margin: 6px 0 10px; padding: 10px 12px; border-radius: 8px; background: #0b1437; color: #e6edff; font-size: .8125rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.inline-form--wrap { flex-wrap: wrap; }
.inline-form input[type="search"] { min-height: 38px; padding: 4px 10px; border: 1.5px solid var(--line); border-radius: var(--radius); font: inherit; min-width: 0; }
.ptabs a .count { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #e9edf7; color: #44506b; font-style: normal; font-size: .75rem; }
.ptabs a[aria-current] .count { background: var(--brand); color: #fff; }
.plainlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .875rem; }
.plainlist small { display: block; color: var(--slate); font-size: .75rem; }
.bubble--sm { width: 30px !important; height: 30px !important; }
.field__label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .875rem; }

/* live dot */
.livedot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: livedot 1.8s infinite; vertical-align: middle; }
@keyframes livedot { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); } 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
@media (prefers-reduced-motion: reduce) { .livedot { animation: none; } }

/* insights */
.livegrid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 1280px) { .livegrid { grid-template-columns: minmax(0, 1fr) 360px; } }
.livegrid > .card { margin: 0; min-width: 0; }
.stream { list-style: none; margin: 0; padding: 0 20px 10px; max-height: 560px; overflow-y: auto; }
.stream--timeline { max-height: none; }
.stream--compact { max-height: 420px; }
.stream__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .875rem; overflow-wrap: anywhere; }
.stream__item:last-child { border-bottom: 0; }
.stream__item small { display: block; color: var(--slate); font-size: .75rem; margin-top: 2px; }
.stream__item.is-problem { background: linear-gradient(90deg, #fff4f4, transparent); }
.stream__item a { font-weight: 700; text-decoration: none; }
.meter__bar { display: block; height: 100%; border-radius: 6px; background: var(--brand); }
.meter__bar.is-low, .meter__bar--red { background: #e02d3c; }
.meter__bar--green { background: #0e9f6e; }
.meter__bar--orange { background: #f08c00; }
td .meter { display: inline-block; width: 90px; vertical-align: middle; }
.barlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .875rem; }
.barlist li { display: grid; grid-template-columns: minmax(90px, 40%) 1fr auto; gap: 10px; align-items: center; }
.barlist li > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* call center */
.ccbar { display: grid; gap: 16px; margin-bottom: 16px; align-items: stretch; }
@media (min-width: 1100px) { .ccbar { grid-template-columns: 340px minmax(0, 1fr); } }
.ccbar .card { margin: 0; }
.ccbar__kpis { margin: 0; }
.ccbar__status p { margin: 8px 0 0; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.segmented__btn { min-height: 42px; padding: 6px 8px; border: 0; border-right: 1.5px solid var(--line); background: var(--surface); font: 600 .875rem var(--font-body); color: var(--slate); cursor: pointer; }
.segmented__btn:last-child { border-right: 0; }
.segmented__btn:hover { background: #f4f7ff; }
.segmented__btn[aria-pressed="true"] { color: #fff; }
.segmented__btn--online[aria-pressed="true"] { background: #0e9f6e; }
.segmented__btn--break[aria-pressed="true"] { background: #f08c00; }
.segmented__btn--offline[aria-pressed="true"] { background: #56617a; }
.cctable tr.prio-1 td:first-child { box-shadow: inset 4px 0 0 #e02d3c; }
.cctable tr.prio-2 td:first-child { box-shadow: inset 4px 0 0 #f08c00; }
.cctable tr.prio-3 td:first-child { box-shadow: inset 4px 0 0 #1447e6; }
.cctable__title { display: block; margin-top: 4px; font-weight: 600; white-space: normal; }
.cctable .inline-form { display: inline-flex; }
.livecalls { margin-bottom: 16px; border-color: #bfe8d3; }
.livecalls__list { list-style: none; margin: 0; padding: 0 20px 14px; display: grid; gap: 8px; }
.livecalls__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: .875rem; }
.livecalls__list a { text-decoration: none; }

.split--contact { margin-top: 4px; }
.callcard .card__head { align-items: flex-start; }
.callstate { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: #f4f7ff; border: 1px solid var(--line); }
.callstate .bubble { width: 42px; height: 42px; }
.callstate small { display: block; color: var(--slate); font-size: .8125rem; margin-top: 2px; }
.callstate--green { background: #ecfaf3; border-color: #bfe8d3; }
.callstate--orange { background: #fff7ea; border-color: #ffe0ad; }
.callstate--red { background: #fff1f1; border-color: #ffd0d0; }
.outcome-form fieldset.chips { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.outcome-form legend { width: 100%; margin-bottom: 8px; font-weight: 600; font-size: .875rem; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .8125rem; font-weight: 600; color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--marigold); outline-offset: 2px; }
.chip--green input:checked + span { background: #0e9f6e; border-color: #0e9f6e; color: #fff; }
.chip--orange input:checked + span { background: #f08c00; border-color: #f08c00; color: #fff; }
.chip--red input:checked + span { background: #e02d3c; border-color: #e02d3c; color: #fff; }
.chip:hover span { border-color: var(--brand); }
.tasklist { list-style: none; margin: 0; padding: 0; }
.tasklist li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; padding: 14px 20px; border-top: 1px solid var(--line); }
.tasklist li.prio-1 { box-shadow: inset 4px 0 0 #e02d3c; }
.tasklist li.prio-2 { box-shadow: inset 4px 0 0 #f08c00; }
.tasklist li.prio-3 { box-shadow: inset 4px 0 0 #1447e6; }
.tasklist li > div:first-child { flex: 1 1 280px; min-width: 0; }
.tasklist strong { display: block; margin-top: 6px; }
.tasklist p { margin: 4px 0 0; font-size: .875rem; color: var(--slate); }
.tasklist small { display: block; margin-top: 4px; font-size: .75rem; color: var(--slate); }
.tasklist__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.calllist { list-style: none; margin: 0; padding: 0; }
.calllist .calllist { padding: 0; }
.calllist__group { border-top: 1px solid var(--line); }
.calllist__who { margin: 0; padding: 12px 20px 0; font-size: .9063rem; }
.calllist__who a { text-decoration: none; }
.calllist__group .callrow-item { border-top: 0; padding-top: 8px; }
.callrow-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); }
.callrow-item .bubble { width: 38px; height: 38px; }
.callrow-item p { margin: 0 0 4px; font-size: .875rem; }
.callrow-item .pill { padding: 2px 8px; }
.callrow-item__remarks { padding: 8px 10px; border-radius: 8px; background: #f6f8fd; color: var(--ink) !important; white-space: normal; overflow-wrap: anywhere; }
.callrow-item audio { width: min(100%, 360px); height: 36px; margin-top: 6px; }
.whois { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .875rem; }
.whois:last-child { border-bottom: 0; }
.whois small { color: var(--slate); font-size: .75rem; }
.whois .pill { margin-left: 6px; padding: 2px 8px; }
.teamlist { list-style: none; margin: 0; padding: 0; }
.teamlist > li { padding: 14px 20px; border-top: 1px solid var(--line); }
.teamlist__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.teamlist__head small { display: block; color: var(--slate); font-size: .75rem; margin-top: 2px; overflow-wrap: anywhere; }
.teamlist__head .pill { margin-left: 6px; padding: 2px 8px; }
.teamlist__today { text-align: right; font-size: .8125rem; color: var(--slate); }
.teamlist__today strong { font-size: 1.125rem; color: var(--ink); }
.teamlist__today small { display: block; }
.teamlist p { margin: 8px 0 0; overflow-wrap: anywhere; }
.teamlist__edit { margin-top: 8px; }
.teamlist__edit summary { cursor: pointer; font-weight: 600; color: var(--brand); font-size: .875rem; }
.teamlist__edit form { margin-top: 10px; }
.teamlist__edit .field input, .teamlist__edit .field select { width: 100%; }
.teamlist__edit .inline-form select { width: auto; flex: 1; }

/* the call pop-up in the corner of a telecaller's pages */
.callpop-wrap { position: fixed; right: 16px; bottom: 16px; z-index: 60; max-width: calc(100vw - 32px); }
.callpop { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 2px solid #0e9f6e; box-shadow: 0 12px 30px rgba(11, 20, 55, .18); }
.callpop--queue { border-color: #f08c00; }
.callpop .bubble { width: 40px; height: 40px; }
.callpop small { display: block; color: var(--slate); font-size: .75rem; }

/* cookie notice for visitors */
.cookiebar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; max-width: 760px; margin: 0 auto; padding: 14px 16px; border-radius: 14px; background: var(--ink); color: #e6edff; box-shadow: 0 12px 30px rgba(11, 20, 55, .3); font-size: .875rem; }
.cookiebar p { margin: 0; flex: 1 1 300px; }
.cookiebar a { color: #fff; }
.cookiebar__actions { display: flex; gap: 8px; }
.cookiebar .btn--secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
@media print { .cookiebar, .callpop-wrap { display: none; } }
.cctable .pill, .tasklist .pill, .callrow-item .pill, .whois .pill, .livecalls .pill, .teamlist .pill, .stream .pill, .card__head .pill { margin: 0; box-shadow: none; }
.split--contact p, .split--contact .field__hint, .callrow-item p, .tasklist p, .teamlist p { max-width: none; }
.actcell { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.actcell .btn { justify-content: center; }

/* ==========================================================================
   Insurance: plan cards, side-by-side comparison, insurer pages, premium calculator
   ========================================================================== */
.ptile { padding: 0; }
.ptile__link { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; height: 100%; padding: 16px 10px 14px; border-radius: 14px; color: inherit; text-decoration: none; }
a.ptile__link:hover .ptile__name { text-decoration: underline; }
.pgrid--compact .ptile { padding: 0; }
.pgrid--compact .ptile__link { padding: 10px 8px; gap: 6px; }

.iplans { margin: 8px 0 28px; }
.iplans__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.iplans__head h2 { margin: 0; }
.iplans__head .inline-form label { font-weight: 600; font-size: .875rem; }
.iplans__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin-bottom: 14px; }
.iplan { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--brand); border-radius: var(--radius-lg); min-width: 0; }
.iplan__head { display: flex; align-items: center; gap: 12px; }
.iplan__head h3 { margin: 0; font-size: 1rem; line-height: 1.3; }
.iplan__head h3 a { text-decoration: none; }
.iplan__head p { margin: 2px 0 0; color: var(--slate); font-size: .875rem; }
.iplan__logo { flex: none; width: 64px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 800 1.25rem var(--font-head); color: var(--brand); overflow: hidden; }
.iplan__logo img { max-width: 90%; max-height: 36px; object-fit: contain; }
.iplan__price { margin: 0; font: 800 1.25rem var(--font-head); color: var(--ink); }
.iplan__price small { font: 500 .75rem var(--font-body); color: var(--slate); }
.iplan__facts { margin: 0; display: grid; gap: 0; font-size: .875rem; }
.iplan__facts div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.iplan__facts dt { color: var(--slate); }
.iplan__facts dd { margin: 0; font-weight: 600; text-align: right; }
.iplan .checklist { margin: 0; font-size: .875rem; }
.iplan__addons { margin: 0; font-size: .8125rem; color: var(--slate); }
.iplan__addons span { font-weight: 700; color: var(--ink); }
.iplan__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; }
.iplans__compare { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.icompare { margin: 0 0 18px; padding: 16px; background: var(--surface); border: 2px solid var(--brand); border-radius: var(--radius-lg); scroll-margin-top: 120px; }
.icompare h3 { margin: 0 0 10px; }
.icompare__table th[scope="col"] small { display: block; font-weight: 500; color: var(--slate); }
.icompare__table th[scope="row"] { text-align: left; color: var(--slate); font-weight: 600; white-space: nowrap; }
.icompare__table td { vertical-align: top; min-width: 160px; }
.icompare__table .checklist { margin: 0; font-size: .8125rem; }
.iquote-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px; background: #eef3ff; border: 1px solid #cddafd; border-radius: var(--radius-lg); }
.iquote-cta > div { flex: 1 1 260px; }
.iquote-cta h2 { margin: 0 0 4px; font-size: 1.25rem; }
.iquote-cta p { margin: 0; color: var(--slate); }

.insurer-hero { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-bottom: 18px; }
.insurer-hero > div { flex: 1 1 320px; }
.insurer-hero__logo { flex: none; width: 160px; height: 110px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; font: 800 2.5rem var(--font-head); color: var(--brand); }
.insurer-hero__logo img { max-width: 86%; max-height: 90px; object-fit: contain; }
.insurer-hero__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.insurer-hero__tags .pill { margin: 0; box-shadow: none; }
.insurer-facts { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.insurer-facts li { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.insurer-facts .bubble { width: 44px; height: 44px; }
.insurer-facts small { display: block; color: var(--slate); }
.insurer-facts strong { font-size: 1.0625rem; }
.insurer-group { margin: 18px 0 10px; font-size: 1.0625rem; }

.qtypes { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.qtypes a { display: grid; gap: 8px; height: 100%; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.qtypes a:hover { border-color: #c5d3f7; box-shadow: var(--shadow); }
.qtypes strong { font: 700 1.125rem var(--font-head); }
.qtypes span:last-child { color: var(--slate); font-size: .9375rem; }
.quote { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1100px) { .quote:has(.quote__result) { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); } }
.quote__form { padding: 22px; }
.quote__form h2 { margin: 0 0 12px; font-size: 1.25rem; }
.quote__form .form-grid { grid-template-columns: 1fr; }
.quote__form .btn--lg { margin-top: 10px; width: 100%; justify-content: center; }
.quote__addons { border: 0; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.quote__addons legend { width: 100%; margin-bottom: 8px; font-weight: 600; font-size: .875rem; }
.quote__result { display: grid; gap: 16px; min-width: 0; scroll-margin-top: 110px; }
.quote__result > h2 { margin: 8px 0 0; }
.quote__result > p { margin: 0; }
.qtotal { padding: 22px; border-top: 6px solid var(--brand); }
.qtotal__label { margin: 0; color: var(--slate); font-weight: 600; }
.qtotal__value { margin: 4px 0 12px; font: 800 clamp(1.6rem, 4vw, 2.2rem) var(--font-head); color: var(--ink); }
.qtotal__value span { font-size: .55em; color: var(--slate); font-weight: 600; }
.qbreak { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.qbreak th, .qbreak td { padding: 8px 0; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 500; vertical-align: top; }
.qbreak td { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }
.qnotes { margin: 12px 0 0; padding-left: 18px; color: var(--slate); font-size: .875rem; display: grid; gap: 4px; }
.saleset { margin: 6px 0 14px; padding: 14px 16px 6px; border: 1.5px solid var(--line); border-radius: 12px; background: #f8faff; }
.saleset legend { padding: 0 6px; font-weight: 700; font-size: .9375rem; color: #0b1f6b; }
.saleset[hidden] { display: none; }
.quote__new { margin: 4px 0 6px; font-weight: 600; }

/* Exam sessions (admin) and the partner's exam step */
.exam-session { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; background: var(--surface); }
.exam-session.is-past { opacity: .85; }
.exam-session > header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 10px; }
.exam-session > header > div { display: grid; gap: 2px; flex: 1 1 260px; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.doc-review { display: grid; gap: 6px; }
.doc-review .redo-note { color: var(--danger, #b42318); font-size: .92rem; }
.doc-decide { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.doc-decide input[type="text"] { min-width: 220px; flex: 1 1 220px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.exam-dates { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.exam-dates button { width: 100%; text-align: left; display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; font: inherit; color: inherit; }
.exam-dates button:hover, .exam-dates button:focus-visible { border-color: var(--brand, #1447e6); }
.cert-form { display: grid; gap: 10px; margin-top: 10px; max-width: 560px; }
.viewonly-note { background: #fff8e6; border: 1px solid #f5d38a; border-radius: var(--radius); padding: 10px 12px; }
.doc-review .pill { margin: 0; align-self: center; }
details.already { margin-top: 8px; }
details.already > summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.block__head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 6px; }
.block__head-row h2 { margin: 0; }
tr.is-muted td { opacity: .6; }
.perm-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 6px 0 12px; }
.perm-grid label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.perm-grid input { margin-top: 3px; }
.att-grid { border-collapse: collapse; font-size: .8125rem; }
.att-grid th, .att-grid td { border: 1px solid var(--line); padding: 0; text-align: center; min-width: 30px; }
.att-grid th { padding: 6px 4px; background: var(--brand-tint); font-weight: 600; }
.att-grid th.is-off, .att-grid td.is-off { background: #f3f4f6; color: #9aa3b2; }
.att-grid td.name { text-align: left; padding: 6px 10px; white-space: nowrap; min-width: 150px; position: sticky; left: 0; background: var(--surface); }
.att-grid form { margin: 0; }
.att-grid select { appearance: none; border: 0; background: transparent; width: 100%; height: 30px; text-align: center; font: inherit; cursor: pointer; padding: 0 2px; }
.att-p { background: #e7f6ec; color: #146c2e; font-weight: 600; } .att-h { background: #fff4d6; color: #8a5a00; font-weight: 600; }
.att-a { background: #fdecea; color: #b42318; font-weight: 600; } .att-l { background: #e9efff; color: #1447e6; font-weight: 600; }
.att-legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8125rem; margin: 8px 0; }
.att-legend span { padding: 2px 8px; border-radius: 6px; }
.slip-edit { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.slip-edit input { width: 96px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.slip-edit input[name="pay_ref"] { width: 130px; }
.checkin { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.checkin__time { font-size: 1.75rem; font-weight: 700; color: var(--ink); }
.payslip__table { width: 100%; margin: 12px 0; }
.payslip__table .num { text-align: right; white-space: nowrap; }
.payslip h3 { font-size: 1rem; margin: 18px 0 4px; }
.alert__action { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.complete-card { max-width: 860px; margin: 0 auto; }
.complete-card h2 { font-size: 1.125rem; margin: 22px 0 10px; }
.prodlink { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.prodlink input { flex: 1 1 200px; min-width: 160px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: .875rem; }
.table__group { background: var(--brand-tint); text-align: left; font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; }
.sharelist { display: grid; gap: 10px; }
.sharelist li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.sharelist li > div { flex: 1 1 260px; display: grid; gap: 2px; min-width: 0; }
.sharelist code { font-size: .8125rem; color: var(--slate); overflow-wrap: anywhere; }

/* ---------- Animated service scenes (components/scene.php) ---------- */
.scene { margin: 0; width: 100%; max-width: 440px; justify-self: end; }
.scene svg { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 18px 40px rgba(20, 71, 230, .14); }
.sc-wheel { animation: sc-spin .45s linear infinite; }
.sc-lane { animation: sc-lane .5s linear infinite; }
.sc-skyline { animation: sc-slide 9s linear infinite; }
.sc-clouds { animation: sc-slide 26s linear infinite; }
.sc-ride { animation: sc-bob .35s ease-in-out infinite alternate; }
.sc-speed line { stroke-dasharray: 60; animation: sc-speed .7s linear infinite; }
.sc-speed line:nth-child(2) { animation-delay: -.25s; } .sc-speed line:nth-child(3) { animation-delay: -.5s; }
.sc-light { animation: sc-blink 1.6s ease-in-out infinite; }
.sc-float { animation: sc-float 3s ease-in-out infinite; }
.sc-badge .sc-float { animation-duration: 2.6s; }
.sc-sun { animation: sc-glow 4s ease-in-out infinite; }
.sc-beat { animation: sc-beat 1.1s ease-in-out infinite; }
.sc-ecg { stroke-dasharray: 700; stroke-dashoffset: 700; animation: sc-draw 2.4s linear infinite; }
.sc-rain line { animation: sc-rain 1.1s linear infinite; }
.sc-sway { animation: sc-sway 3.5s ease-in-out infinite; }
.sc-fly { animation: sc-fly 4s ease-in-out infinite; }
.sc-trail { animation: sc-lane 1.2s linear infinite reverse; }
.sc-smoke circle { animation: sc-smoke 3s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.sc-window rect { animation: sc-blink 3s ease-in-out infinite; }
.sc-coins ellipse { opacity: 0; animation: sc-drop 3.6s ease-out infinite; }
.sc-bars rect { transform-box: fill-box; transform-origin: bottom; animation: sc-grow 3.6s ease-out infinite; }
.sc-waves path { opacity: 0; animation: sc-wave 1.8s ease-out infinite; }
.sc-tap { animation: sc-tap 3s ease-in-out infinite; }
.sc-shine { animation: sc-shine 3s ease-in-out infinite; }
.sc-line { stroke-dasharray: 460; stroke-dashoffset: 460; animation: sc-draw 3.6s ease-out infinite; }
.sc-arrow { opacity: 0; animation: sc-pop 3.6s ease-out infinite; }
.sc-write line { stroke-dasharray: 160; stroke-dashoffset: 160; animation: sc-write 4s ease-out infinite; }
.sc-stamp { opacity: 0; animation: sc-stamp 4s ease-out infinite; }
.sc-orbit { animation: sc-spin 24s linear infinite; }
.sc-orbit g { transform-box: fill-box; transform-origin: center; animation: sc-spin 24s linear infinite reverse; }
@keyframes sc-spin { to { transform: rotate(360deg); } }
@keyframes sc-lane { to { stroke-dashoffset: 60; } }
@keyframes sc-slide { to { transform: translateX(-240px); } }
@keyframes sc-bob { to { transform: translateY(-3px); } }
@keyframes sc-speed { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 120; } }
@keyframes sc-blink { 50% { opacity: .45; } }
@keyframes sc-float { 50% { transform: translateY(-8px); } }
@keyframes sc-glow { 50% { opacity: .6; } }
@keyframes sc-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(.98); } 45% { transform: scale(1.06); } }
@keyframes sc-draw { 70%, 100% { stroke-dashoffset: 0; } }
@keyframes sc-rain { to { transform: translate(-30px, 360px); } }
@keyframes sc-sway { 50% { transform: rotate(-3deg); } }
@keyframes sc-fly { 0% { transform: translate(-40px, 20px); } 50% { transform: translate(30px, -16px); } 100% { transform: translate(-40px, 20px); } }
@keyframes sc-smoke { 0% { transform: translate(0, 0) scale(.6); opacity: .9; } 100% { transform: translate(18px, -70px) scale(2.2); opacity: 0; } }
@keyframes sc-drop { 0% { opacity: 0; transform: translateY(-120px); } 18%, 80% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(0); } }
@keyframes sc-grow { 0% { transform: scaleY(.05); } 30%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.05); } }
@keyframes sc-wave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; transform: translateX(14px); } }
@keyframes sc-tap { 0%, 100% { transform: rotate(-6deg) translateX(0); } 45%, 60% { transform: rotate(0deg) translateX(26px); } }
@keyframes sc-shine { 0%, 30% { transform: translateX(0); } 70%, 100% { transform: translateX(320px); } }
@keyframes sc-pop { 0%, 60% { opacity: 0; } 70%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sc-write { 0% { stroke-dashoffset: 160; } 35%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 160; } }
@keyframes sc-stamp { 0%, 55% { opacity: 0; transform: scale(1.8); } 65%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }

/* Page head with a scene beside the heading */
.page-head--scene .wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .page-head--scene .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
@media (max-width: 899px) { .page-head--scene .scene { max-width: 300px; justify-self: start; } }

/* Gentle reveal of page sections as they scroll into view (only with JavaScript on) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* "Recent activity" toasts on the public site: real, anonymous events */
.livefeed { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: min(340px, calc(100vw - 32px)); pointer-events: none; }
.livefeed__item { pointer-events: auto; display: flex; gap: 12px; align-items: center; padding: 12px 36px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(11, 20, 55, .16); font-size: .875rem; line-height: 1.35; color: var(--ink); opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease; position: relative; }
.livefeed__item.is-on { opacity: 1; transform: none; }
.livefeed__item .bubble { flex: none; }
.livefeed__item small { display: block; color: var(--slate); margin-top: 2px; font-size: .75rem; }
.livefeed__close { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; background: none; color: var(--slate); cursor: pointer; font-size: 18px; line-height: 1; }
@media (max-width: 640px) { .livefeed { bottom: 76px; } }

@media (prefers-reduced-motion: reduce) {
    .scene *, .scene *::before { animation: none !important; }
    .sc-ecg, .sc-line, .sc-write line { stroke-dashoffset: 0; }
    .sc-coins ellipse, .sc-waves path, .sc-arrow, .sc-stamp { opacity: 1; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .livefeed__item { transition: none; }
}
.upload input[type="text"] { min-width: 180px; flex: 1 1 180px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.minisel { min-height: 34px; padding: 4px 8px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); font: inherit; font-size: .875rem; }
.mysale { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; } .mysale p { margin: 0 0 4px; }
.pside__head { display: block; margin: 14px 12px 4px; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8fa8ff; }
.formed td { vertical-align: top; padding: 6px 4px; }
.formed input[type="text"], .formed input[type="number"], .formed select, .formed textarea { width: 100%; min-width: 110px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: .8125rem; background: var(--surface); }
.formed textarea { min-width: 170px; }
.formed .w-num { width: 70px; min-width: 60px; }
.formed .w-key { min-width: 100px; }
.formed input[readonly] { background: #f3f5fa; color: var(--slate); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.timeline li { display: flex; gap: 12px; align-items: flex-start; }
.timeline__icon { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-tint); color: var(--brand); }
.timeline small { display: block; color: var(--slate); font-size: .75rem; margin-top: 2px; }

/* ---------- landing pages: about, become POSP / franchisee ---------- */
.landing-intro { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.landing-cta { background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 12px 32px rgba(16, 38, 120, .08); position: sticky; top: 96px; }
.landing-cta h2 { margin-top: 0; font-size: 1.375rem; }
.landing-cta .small { margin: 10px 0 0; }
.landing-cols { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.landing-card { background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.landing-card h2 { margin-top: 0; font-size: 1.25rem; }
.adv--four { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.compare-table th[scope], .compare-table tbody th { text-align: left; white-space: nowrap; color: var(--slate); font-weight: 600; }
.compare-table td, .compare-table th { vertical-align: top; }
.earn { background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 18px; }
.earn label { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; font-weight: 600; }
.earn input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--brand); }
.earn__out { margin: 0; font-size: 1.125rem; }
.earn__out strong { font-size: 1.75rem; color: var(--brand); }
.about-story { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
.about-mv { display: grid; gap: 16px; }
.about-mv__card { border-radius: 18px; padding: 22px; border: 1px solid var(--line); background: var(--surface, #fff); }
.about-mv__card h2 { font-size: 1.25rem; margin: 12px 0 6px; }
.about-mv__card p { margin: 0; color: var(--slate); }
.about-mv__card--blue { background: linear-gradient(160deg, #eef3ff, #fff); }
.about-mv__card--green { background: linear-gradient(160deg, #ecfbf3, #fff); }
.team-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.team-grid li { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; }
.team-grid li span:last-child { color: var(--slate); font-size: .9375rem; }
.announce { background: linear-gradient(90deg, #0b2a9c, #2f6bff); color: #fff; font-size: .9375rem; text-align: center; padding: 8px 16px; }
.announce a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
    .landing-intro, .about-story { grid-template-columns: 1fr; }
    .landing-cta { position: static; }
}
.cmsform__row { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.cmsform__row:last-of-type { border-bottom: 0; }
.cmsform textarea { width: 100%; font: inherit; line-height: 1.5; }
.faqed { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.faqed__row { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.faqed__row label { display: grid; gap: 4px; font-weight: 600; font-size: .875rem; }
.faqed__row input[type=text], .faqed__row textarea { width: 100%; font: inherit; font-weight: 400; }
.faqed__row--new { border-style: dashed; }
.faqed__tools { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.faqed__tools .check { display: inline-flex; gap: 6px; font-weight: 400; }
.chips--sub { margin: 0 0 16px; }
.chips--sub a[aria-current] { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-dark); }

/* ---------- credit card centre ---------- */
.ccards { display: grid; gap: 28px; grid-template-columns: 300px minmax(0, 1fr); align-items: start; }
.ccards__side { position: sticky; top: 92px; }
.ccards__filter { display: grid; gap: 4px; }
.ccards__filter h2 { font-size: 1.125rem; margin: 0; }
.ccards__filter h3 { font-size: 1rem; margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); }
.ccards__filter .field { margin-bottom: 8px; }
.ccards__count { margin: 0 0 12px; color: var(--slate); }
.ccards__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ccards__types { margin-top: 20px; }
.ccard__line { margin: 4px 0; font-size: .9375rem; }
.ccard__line span { display: inline-block; min-width: 82px; color: var(--slate); font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.ccard__fit { display: flex; gap: 6px; align-items: flex-start; margin: 0 0 8px; padding: 8px 10px; border-radius: 10px; font-size: .875rem; font-weight: 600; }
.ccard__fit--yes { background: #e3f6ee; color: #0a7a55; }
.ccard__fit--no { background: #fff3e6; color: #9a4a00; }
.ccard--dim { opacity: .82; }
.issuer-head { display: flex; gap: 24px; align-items: flex-start; }
.issuer-head img { width: 120px; max-height: 70px; object-fit: contain; flex: none; }
.steps-plain { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.btn--block { width: 100%; justify-content: center; }
@media (max-width: 900px) {
    .ccards { grid-template-columns: 1fr; }
    .ccards__side { position: static; }
    .issuer-head { flex-direction: column; }
}
.demo-bar { display: flex; gap: 10px; align-items: center; margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: #fff6dd; border: 1px solid var(--marigold, #f5b400); font-size: .9375rem; }
.demo-new { border: 2px solid var(--brand); }
.demo-new__facts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0 0 8px; }
.demo-new__facts dt { font-size: .8125rem; color: var(--slate); font-weight: 600; }
.demo-new__facts dd { margin: 2px 0 0; font-weight: 600; word-break: break-all; }
.paybox { max-width: 560px; }
.paybox h2 { font-size: 1.75rem; margin-top: 0; }
.integ { padding: 0; }
.integ > summary { display: flex; gap: 12px; align-items: center; padding: 16px 20px; cursor: pointer; list-style: none; }
.integ > summary::-webkit-details-marker { display: none; }
.integ > summary .bubble { width: 40px; height: 40px; }
.integ__title { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.integ[open] > summary { border-bottom: 1px solid var(--line); }
.integ > :not(summary) { margin-left: 20px; margin-right: 20px; }
.integ > form { padding-bottom: 18px; }
.integ__src { font-weight: 500; font-size: .75rem; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--paper, #f3f5fb); color: var(--slate); }
.integ__src--saved { background: #e3f6ee; color: #0a7a55; }
.integ__reset { display: inline-flex; gap: 6px; align-items: center; font-size: .8125rem; font-weight: 500; margin-top: 4px; }
.apikey { display: block; padding: 12px; background: var(--paper, #f3f5fb); border-radius: 10px; word-break: break-all; font-size: .9375rem; }
.codeblock { background: #0f1b3d; color: #e6ecff; padding: 14px 16px; border-radius: 12px; overflow-x: auto; font-size: .8125rem; line-height: 1.6; }

/* =====================================================================
   Partner landing pages (Become a POSP / Become a franchisee), from the brand designs
   ===================================================================== */
.lp { --lp-blue: #1447e6; --lp-deep: #0b2fb8; --lp-ink: #0b1437; --lp-soft: #eef3ff; background: #f7f9ff; overflow-x: clip; }
.lp section { position: relative; }
.lp-sec { padding: clamp(40px, 6vw, 80px) 0; background: #fff; }
.lp-sec--tint { background: linear-gradient(180deg, #f3f6ff, #f9fbff); }
.lp-sec::before { content: ""; position: absolute; inset: 0 auto auto 0; width: min(28vw, 360px); height: 220px; background: radial-gradient(120% 100% at 0 0, rgba(20, 71, 230, .16), transparent 70%); pointer-events: none; }
.lp-sec::after { content: ""; position: absolute; inset: auto 0 0 auto; width: min(30vw, 380px); height: 200px; background: radial-gradient(120% 100% at 100% 100%, rgba(20, 71, 230, .14), transparent 70%); pointer-events: none; }
.lp .wrap { position: relative; z-index: 1; }

/* headings */
.lp-head { max-width: 860px; margin: 0 auto clamp(24px, 3.5vw, 40px); }
.lp-head--center { text-align: center; }
.lp-head--left { margin-inline: 0; }
.lp-pill { display: inline-block; margin: 0 0 14px; padding: 6px 18px; border-radius: 999px; background: var(--lp-blue); color: #fff; font: 700 .875rem/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.lp-pill--line { background: #eef3ff; color: var(--lp-deep); border: 1.5px solid #b8c8f7; }
.lp-title { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--lp-ink); margin: 0 0 .25em; }
.lp-title span { color: var(--lp-blue); }
.lp-title em { font-style: normal; color: var(--lp-ink); display: block; }
.lp-title--xl { font-size: clamp(2.25rem, 1.2rem + 4.2vw, 4.25rem); }
.lp-title--xl span { display: block; }
.lp-divider { display: block; width: 120px; height: 10px; margin: 12px auto 16px; background: radial-gradient(circle, var(--lp-blue) 4px, transparent 5px) center / 10px 10px no-repeat, linear-gradient(var(--lp-blue), var(--lp-blue)) left center / 46px 3px no-repeat, linear-gradient(var(--lp-blue), var(--lp-blue)) right center / 46px 3px no-repeat; }
.lp-divider--left { margin-left: 0; width: 90px; background: linear-gradient(var(--lp-blue), var(--lp-blue)) left center / 64px 4px no-repeat, radial-gradient(circle, var(--lp-blue) 3.5px, transparent 4.5px) right center / 10px 10px no-repeat; }
.lp-intro { font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); color: #2a3557; margin: 0 auto; max-width: 64ch; }
.lp-lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: #2a3557; max-width: 46ch; }

/* icons in soft circles */
.lp-ic { flex: none; display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #e6edff 70%); color: var(--lp-blue); box-shadow: inset 0 0 0 1px #e1e9ff; }
.lp-ic .icon { stroke-width: 2; }
.lp-ic--sm { width: 64px; height: 64px; }
.lp-ic--solid { width: 64px; height: 64px; background: linear-gradient(160deg, #2f66ff, var(--lp-deep)); color: #fff; box-shadow: 0 8px 20px rgba(20, 71, 230, .3); }
.lp-ic--img { width: auto; height: 120px; border-radius: 0; background: none; box-shadow: none; }
.lp-ic--img img { max-height: 120px; width: auto; max-width: 100%; filter: drop-shadow(0 8px 14px rgba(11, 47, 184, .12)); }

/* cards */
.lp-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(12px, 1.6vw, 20px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.lp-cards--5 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.lp-cards--6 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
@media (min-width: 1100px) {
    .lp-cards--4 { grid-template-columns: repeat(4, 1fr); }
    .lp-cards--5 { grid-template-columns: repeat(5, 1fr); }
    .lp-cards--6 { grid-template-columns: repeat(6, 1fr); }
}
.lp-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 22px 16px 26px; background: #fff; border: 1px solid #e6ecfa; border-radius: 18px; box-shadow: 0 10px 28px rgba(20, 71, 230, .07); transition: transform .2s ease, box-shadow .2s ease; }
.lp-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20, 71, 230, .13); }
.lp-card__body { display: grid; gap: 6px; }
.lp-card__body strong { font: 700 1.0625rem/1.25 var(--font-head); color: var(--lp-ink); }
.lp-cards--blue .lp-card__body strong { color: var(--lp-blue); }
.lp-card__body span { color: #3b4566; font-size: .9375rem; line-height: 1.5; }
.lp-card__body::after { content: ""; justify-self: center; width: 26px; height: 3px; margin-top: 6px; border-radius: 2px; background: var(--lp-blue); }
.lp-num { position: absolute; top: 12px; left: 12px; min-width: 38px; padding: 4px 8px; border-radius: 8px; background: var(--lp-blue); color: #fff; font: 800 .9375rem/1.2 var(--font-head); }
.lp-cards--side .lp-card { flex-direction: row; text-align: left; align-items: flex-start; }
.lp-cards--side .lp-card__body::after { justify-self: start; }
/* steps with arrows between */
.lp-cards--steps .lp-num { position: static; align-self: center; }
@media (min-width: 1100px) {
    .lp-cards--steps .lp-card:not(:last-child)::after { content: ""; position: absolute; z-index: 2; right: -22px; top: 46%; width: 30px; height: 30px; border-radius: 50%; background: var(--lp-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: 0 4px 10px rgba(20, 71, 230, .35); }
    .lp-cards--steps { gap: 24px; }
}

/* hero */
.lp-hero { padding: clamp(24px, 4vw, 48px) 0 28px; background: radial-gradient(90% 70% at 100% 0, #dfe8ff 0, transparent 60%), linear-gradient(180deg, #f4f7ff, #fafcff); }
.lp-hero__grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .lp-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.lp-hero__art img { width: 100%; height: auto; display: block; }
.lp-hero__pts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.lp-hero__pts li { display: flex; gap: 12px; align-items: center; }
.lp-hero__pts strong { display: block; color: var(--lp-deep); font-size: 1.0625rem; }
.lp-hero__pts small { color: #3b4566; font-size: .875rem; line-height: 1.4; display: block; }
.lp-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.lp-figs { list-style: none; margin: 24px 0 0; padding: 18px clamp(14px, 3vw, 34px); display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); background: #fff; border-radius: 20px; border: 1px solid #e6ecfa; box-shadow: 0 14px 34px rgba(20, 71, 230, .09); }
.lp-figs li { display: flex; gap: 14px; align-items: center; justify-content: center; }
.lp-figs li + li { border-left: 1px solid #e6ecfa; }
.lp-figs strong { display: block; font: 800 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.1 var(--font-head); color: var(--lp-blue); }
.lp-figs small { color: #2a3557; font-size: .9375rem; }
@media (max-width: 700px) { .lp-figs li + li { border-left: 0; border-top: 1px solid #e6ecfa; padding-top: 12px; } .lp-figs li { justify-content: flex-start; } }

/* blue bands */
.lp-band { margin-top: 22px; display: grid; gap: 18px; padding: clamp(18px, 3vw, 28px); border-radius: 22px; color: #fff; background: linear-gradient(110deg, #0b2fb8, #1447e6 55%, #2b63ff); box-shadow: 0 18px 40px rgba(11, 47, 184, .3); }
@media (min-width: 900px) { .lp-band { grid-template-columns: 1fr 1.25fr; } .lp-band__part + .lp-band__part { border-left: 1px solid rgba(255, 255, 255, .35); padding-left: 26px; } .lp-band--three { grid-template-columns: 1.4fr 1fr 1fr; } }
.lp-band__part { display: flex; gap: 18px; align-items: center; }
.lp-band__ic { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--lp-blue); }
.lp-band h2 { color: #fff; font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); margin: 0 0 6px; }
.lp-band p { margin: 0 0 10px; color: #e6ecff; }
.lp-band a:not(.btn):not(.lp-chip) { color: #fff; }
.lp-btn-white { background: #fff; color: var(--lp-deep); border-radius: 999px; font-weight: 700; }
.lp-btn-white:hover { background: #eaf0ff; color: var(--lp-deep); }
.lp-chip { display: inline-block; padding: 6px 16px; border-radius: 999px; background: #fff; color: var(--lp-deep); font-weight: 700; text-decoration: none; }
.lp-qr { flex: none; display: grid; justify-items: center; gap: 6px; text-align: center; }
.lp-qr [data-qr] { display: block; width: 110px; height: 110px; padding: 8px; background: #fff; border-radius: 12px; }
.lp-qr [data-qr] svg { width: 100%; height: 100%; display: block; }
.lp-qr small { font-weight: 700; color: #fff; }
@media (max-width: 600px) { .lp-band__part { flex-wrap: wrap; } .lp-band__ic { width: 64px; height: 64px; } }
.lp-tagline { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; align-items: center; margin: 22px 0 0; color: var(--lp-deep); font-size: 1.125rem; font-weight: 600; }
.lp-tagline .icon { color: var(--lp-blue); }

/* strips under a grid */
.lp-strip { margin-top: clamp(18px, 2.4vw, 28px); display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 2.6vw, 30px); background: #fff; border: 1px solid #e3eafb; border-radius: 20px; box-shadow: 0 12px 30px rgba(20, 71, 230, .08); }
.lp-strip__lead { display: flex; gap: 16px; align-items: center; flex: 1 1 320px; color: inherit; text-decoration: none; }
.lp-strip__lead h3 { margin: 0 0 4px; font-size: 1.25rem; color: var(--lp-deep); }
.lp-strip__lead h3 span { color: var(--lp-blue); }
.lp-strip__lead p { margin: 0; color: #3b4566; font-size: .9375rem; }
.lp-strip__big { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem) !important; color: var(--lp-ink) !important; }
.lp-strip__text { flex: 1 1 300px; margin: 0; color: #2a3557; padding-left: 20px; border-left: 2px solid #c9d6fb; }
.lp-strip__art { width: 105px; height: auto; }
.lp-strip__shield { width: 70px; height: auto; }
.lp-strip__badge { display: flex; gap: 12px; align-items: center; margin: 0; color: #c98a04; font: 800 1.25rem/1.2 var(--font-head); padding-left: 22px; border-left: 1px solid #e3eafb; }
.lp-strip__badge span { color: var(--lp-blue); }
.lp-strip__badge span span { display: block; }
.lp-strip--two .lp-strip__lead + .lp-strip__lead { border-left: 1px solid #e3eafb; padding-left: 24px; }
.lp-strip__link:hover h3 { text-decoration: underline; }
.lp-strip--dark { background: linear-gradient(110deg, #0b2fb8, #1447e6); border: 0; color: #fff; }
.lp-strip--dark h3, .lp-strip--dark h3 span, .lp-strip--dark p, .lp-strip--dark .lp-pts strong, .lp-strip--dark .lp-pts small { color: #fff; }
.lp-strip--dark h3 span { color: #7fe3ff; }
.lp-pts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 0; }
.lp-pts li { display: flex; gap: 10px; align-items: center; padding: 0 18px; }
.lp-pts li + li { border-left: 1px solid #e3eafb; }
.lp-strip--dark .lp-pts li + li { border-color: rgba(255, 255, 255, .3); }
.lp-pts strong { display: block; font-size: .9375rem; color: var(--lp-ink); font-weight: 600; line-height: 1.3; }
.lp-pts small { display: block; color: #3b4566; font-size: .8125rem; line-height: 1.35; }
.lp-pt__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #eef3ff; color: var(--lp-blue); }
.lp-pt__ic--solid { background: var(--lp-blue); color: #fff; }
.lp-strip--dark .lp-pt__ic { background: #fff; color: var(--lp-blue); }
.lp-pts--contact a { display: flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; }
.lp-pts--contact a:hover strong { color: var(--lp-blue); }
@media (max-width: 700px) { .lp-pts li { padding: 0; width: 100%; } .lp-pts li + li { border-left: 0; } .lp-strip__text { padding-left: 0; border-left: 0; } .lp-strip--two .lp-strip__lead + .lp-strip__lead { border-left: 0; padding-left: 0; } .lp-strip__badge { padding-left: 0; border-left: 0; } }

/* heading with pictures on both sides */
.lp-faqhead { display: grid; gap: 12px; align-items: center; grid-template-columns: 1fr; }
.lp-faqhead > img { display: none; }
@media (min-width: 1000px) { .lp-faqhead { grid-template-columns: 180px minmax(0, 1fr) 180px; } .lp-faqhead > img { display: block; width: 100%; height: auto; } }

/* FAQs */
.lp-faq { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.lp-faq li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid #e6ecfa; border-radius: 18px; box-shadow: 0 10px 26px rgba(20, 71, 230, .07); }
.lp-faq h3 { margin: 0 0 8px; padding-bottom: 8px; font-size: 1.125rem; color: var(--lp-deep); background: linear-gradient(var(--lp-blue), var(--lp-blue)) left bottom / 56px 2px no-repeat; }
.lp-faq p { margin: 0; color: #3b4566; font-size: .9375rem; }

/* stories */
.lp-stories { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.lp-story { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: #fff; border: 1px solid #e6ecfa; border-radius: 18px; box-shadow: 0 10px 26px rgba(20, 71, 230, .07); }
.lp-story__q { color: var(--lp-blue); }
.lp-story blockquote { margin: 0; flex: 1; color: var(--lp-ink); font-size: 1rem; line-height: 1.6; }
.lp-story footer { display: flex; gap: 12px; align-items: center; padding-top: 14px; border-top: 1px solid #e6ecfa; }
.lp-story__av { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #eef3ff; color: var(--lp-blue); }
.lp-story footer strong { display: block; color: var(--lp-deep); }
.lp-story footer small { display: block; color: #3b4566; }
.lp-story footer em { font-style: normal; font-size: .8125rem; color: var(--lp-blue); }
.lp .wrap { max-width: 1320px; }
.lp-ic { width: 100px; height: 100px; }
.lp-ic .icon { stroke-width: 2.1; }
.lp-ic--sm, .lp-ic--solid { width: 64px; height: 64px; }
.lp-band--three h2 { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); }
@media (max-width: 640px) {
    .lp-cards, .lp-cards--5, .lp-cards--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .lp-card { padding: 16px 10px 18px; gap: 8px; border-radius: 14px; }
    .lp-card .lp-ic { width: 64px; height: 64px; }
    .lp-card .lp-ic .icon { width: 30px; height: 30px; }
    .lp-card .lp-ic--img { height: 80px; width: auto; }
    .lp-card .lp-ic--img img { max-height: 80px; }
    .lp-card__body strong { font-size: .9375rem; }
    .lp-card__body span { font-size: .8125rem; }
    .lp-num { top: 8px; left: 8px; min-width: 30px; font-size: .75rem; padding: 3px 6px; }
    .lp-cards--steps .lp-num { position: absolute; }
    .lp-faq li { padding: 14px; gap: 12px; }
    .lp-faq .lp-ic--solid { width: 46px; height: 46px; }
    .lp-hero__pts { grid-template-columns: 1fr; }
    .lp-title--xl { font-size: 2.375rem; }
}
.lp-ic.lp-ic--img { width: auto; height: 120px; }
@media (max-width: 640px) { .lp-card .lp-ic.lp-ic--img { height: 80px; } }
/* franchise page parts */
.lp-figs__word { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem) !important; }
.lp-tagline--pill { width: max-content; max-width: calc(100% - 32px); margin: 18px auto 0; padding: 10px 24px; background: #fff; border: 1px solid #dfe7fb; border-radius: 999px; box-shadow: 0 8px 22px rgba(20, 71, 230, .08); font-size: 1rem; }
.lp-split { display: grid; gap: 20px; align-items: center; margin-bottom: clamp(20px, 3vw, 34px); }
@media (min-width: 900px) { .lp-split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.lp-split .lp-head { margin-bottom: 0; }
.lp-split__art { position: relative; display: flex; justify-content: center; align-items: center; gap: 0; }
.lp-split__art img { max-width: 100%; height: auto; max-height: 300px; width: auto; }
.lp-quote { margin: 0; max-width: 240px; padding: 18px 20px; background: #fff; border-radius: 18px; box-shadow: 0 14px 30px rgba(20, 71, 230, .12); color: var(--lp-blue); }
.lp-quote p { margin: 6px 0 0; color: var(--lp-ink); font-size: 1.0625rem; line-height: 1.5; }
@media (max-width: 600px) { .lp-split__art { flex-direction: column; } }
.lp-badge { display: flex; width: max-content; max-width: 100%; margin: -16px auto 24px; gap: 12px; align-items: center; padding: 10px 22px; background: #fff; border: 1px solid #dfe7fb; border-radius: 16px; box-shadow: 0 8px 22px rgba(20, 71, 230, .08); color: var(--lp-blue); }
.lp-badge strong { display: block; font: 800 1.25rem/1.2 var(--font-head); color: var(--lp-blue); }
.lp-badge small { color: var(--lp-ink); font-size: .9375rem; }
.lp-figs--onblue { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; flex: 2 1 480px; }
.lp-figs--onblue li + li { border-color: rgba(255, 255, 255, .3); }
.lp-figs--onblue strong, .lp-figs--onblue small { color: #fff; }
.lp-figs--onblue .lp-ic { background: #fff; }
.lp-pt__ic--big { width: 58px; height: 58px; }
.lp-strip--dark .lp-pt__ic--big { background: #fff; color: var(--lp-blue); }
.lp-strip__mid { font-size: 1.0625rem !important; font-weight: 600; line-height: 1.4; }
.lp-who { display: grid; gap: 20px; align-items: center; margin-bottom: 20px; }
@media (min-width: 1000px) { .lp-who { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, .8fr); } }
.lp-who .lp-head { margin-bottom: 0; }
.lp-who__art { width: 100%; max-width: 420px; height: auto; justify-self: center; }
.lp-panel { padding: 24px; border-radius: 20px; color: #fff; background: linear-gradient(160deg, #1447e6, #0b2fb8); box-shadow: 0 18px 40px rgba(11, 47, 184, .3); }
.lp-panel h3 { display: flex; gap: 12px; align-items: center; color: #fff; font-size: 1.25rem; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.lp-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-panel li { display: flex; gap: 10px; align-items: center; font-size: 1.0625rem; }
.lp-panel li .icon { flex: none; width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: #3aa0ff; color: #fff; }
.lp-subhead { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 8px 0 18px; color: var(--lp-blue); font-size: 1.375rem; }
.lp-subhead::before, .lp-subhead::after { content: ""; width: 80px; height: 2px; background: var(--lp-blue); }
.lp-center { text-align: center; margin: 22px 0 0; }
.lp-center--line { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: center; color: var(--lp-ink); font-weight: 600; font-size: 1.0625rem; }
.lp-center--line .brand { transform: scale(.85); }
.lp-band--cta { align-items: center; }
.lp-band--cta .lp-band__part { flex-wrap: wrap; }
.lp-band--cta h2 span { color: #7fe3ff; }
.lp-faqhead--wide { grid-template-columns: 1fr; }
@media (min-width: 1000px) { .lp-faqhead--wide { grid-template-columns: 300px minmax(0, 1fr) 220px; } }
.lp-promo { display: flex; gap: 14px; align-items: center; margin: 0; padding: 20px; border-radius: 16px; color: #fff; background: linear-gradient(160deg, #1447e6, #0b2fb8); font-size: 1.0625rem; line-height: 1.4; }
.lp-promo span span { display: block; color: #7fe3ff; font-weight: 700; }
.lp-docs { display: grid; gap: 20px; align-items: center; }
@media (min-width: 1100px) { .lp-docs { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.lp-docs__art { display: grid; justify-items: center; gap: 12px; }
.lp-docs__art img { width: 100%; max-width: 400px; height: auto; }
.lp-note { display: flex; gap: 10px; align-items: center; margin: 0; padding: 12px 18px; background: #fff; border: 1px solid #dfe7fb; border-radius: 14px; color: var(--lp-ink); font-weight: 600; }
.lp-note .icon { color: var(--lp-blue); }
.lp-strip--dark > .lp-pts { flex: 1 1 100%; justify-content: space-between; }
@media (min-width: 1200px) {
    .lp-cards--7 { grid-template-columns: repeat(7, 1fr); }
    .lp-cards--7 .lp-card { padding-inline: 10px; }
    .lp-cards--7 .lp-ic { width: 84px; height: 84px; }
}
.lp-strip--dark .lp-strip__big, .lp-strip--dark .lp-strip__big span { color: #fff !important; }
.lp-strip--dark .lp-strip__big span { color: #7fe3ff !important; }
.lp-strip .lp-strip__big { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem) !important; }
.lp-band--cta h2 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); }
.lp-cards--side .lp-ic { width: 72px; height: 72px; }
.lp-cards--side .lp-ic .icon { width: 32px; height: 32px; }
.lp-cards--side .lp-card { padding: 18px 16px; gap: 14px; }
@media (max-width: 600px) { .lp-split__art img { max-height: 190px; } .lp-who__art { max-width: 300px; } }

/* ---------- certificates (brand style, landscape A4) ---------- */
.sfc-page { margin: 0; background: #e9eef9; font-family: var(--font-body); color: var(--ink); }
.sfc-bar { display: flex; gap: 16px; align-items: center; justify-content: center; margin: 0; padding: 14px; }
.sfc { position: relative; width: min(1123px, calc(100vw - 24px)); aspect-ratio: 297 / 210; margin: 0 auto 30px; background: #fff; overflow: hidden; box-shadow: 0 20px 50px rgba(11, 47, 184, .18); border-radius: 6px; container-type: inline-size; }
.sfc__swoosh { position: absolute; pointer-events: none; }
.sfc__swoosh--tl { inset: -18% auto auto -12%; width: 46%; height: 52%; background: radial-gradient(ellipse at 0 0, #0b2fb8 0 38%, #1447e6 38.5% 46%, #7fa0ff 46.5% 50%, transparent 50.5%); }
.sfc__swoosh--br { inset: auto -12% -18% auto; width: 46%; height: 52%; background: radial-gradient(ellipse at 100% 100%, #0b2fb8 0 38%, #1447e6 38.5% 46%, #7fa0ff 46.5% 50%, transparent 50.5%); }
.sfc__inner { position: absolute; inset: 3.2%; border: 2px solid #1447e6; outline: 1px solid #c9b26b; outline-offset: -8px; border-radius: 4px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2.4cqw 6cqw 1.6cqw; }
.sfc__head .brand { transform: scale(1.25); transform-origin: center; }
.sfc__tag { margin: .6cqw 0 0; font-size: 1.05cqw; letter-spacing: .25em; text-transform: uppercase; color: #0b2fb8; font-weight: 700; }
.sfc__title { margin: 1.4cqw 0 0; font: 800 5.4cqw/1 var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: #0b1b5c; }
.sfc__ribbon { margin: .9cqw 0 0; padding: .45cqw 2.4cqw; border-radius: 999px; background: linear-gradient(90deg, #0b2fb8, #1447e6); color: #fff; font: 700 1.45cqw/1.3 var(--font-head); letter-spacing: .2em; text-transform: uppercase; }
.sfc__lead { margin: 1.6cqw 0 0; font-size: 1.45cqw; color: #3b4566; font-style: italic; }
.sfc__name { margin: .3cqw 0 0; padding: 0 3cqw .2cqw; font: 400 5cqw/1.15 "Great Vibes", "Brush Script MT", Georgia, serif; color: #1447e6; border-bottom: 2px solid #c9b26b; }
.sfc__body { max-width: 74cqw; margin-top: 1cqw; font-size: 1.45cqw; line-height: 1.55; color: #22305a; }
.sfc__body p { margin: 0; }
.sfc__foot { margin-top: auto; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 2cqw; }
.sfc__facts { margin: 0; display: grid; gap: .35cqw; text-align: left; font-size: 1.1cqw; }
.sfc__facts div { display: grid; grid-template-columns: 11cqw 1fr; gap: 1cqw; }
.sfc__facts dt { color: #56617a; }
.sfc__facts dd { margin: 0; font-weight: 700; color: #0b1b5c; }
.sfc__seal-ring { position: relative; display: grid; place-items: center; width: 12cqw; height: 12cqw; border-radius: 50%; background: radial-gradient(circle, #fff7da 0 55%, #e3c56a 56% 62%, #fff3c7 63% 66%, #c9a13a 67% 72%, transparent 73%); }
.sfc__seal-ring img { width: 6.4cqw; height: auto; margin-top: -1cqw; }
.sfc__seal-ring small { position: absolute; bottom: 2.1cqw; font: 800 .95cqw/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: #8a6a12; }
.sfc__qr { justify-self: end; display: grid; justify-items: center; gap: .4cqw; font-size: .9cqw; color: #3b4566; text-align: center; }
.sfc__qr [data-qr] { display: block; width: 9.5cqw; height: 9.5cqw; padding: .5cqw; background: #fff; border: 1px solid #dfe7fb; border-radius: 6px; }
.sfc__qr [data-qr] svg { width: 100%; height: 100%; display: block; }
.sfc__note { margin: 1.2cqw 0 0; max-width: 82cqw; font-size: .85cqw; color: #56617a; line-height: 1.45; }
@media print {
    @page { size: A4 landscape; margin: 0; }
    .sfc-page { background: #fff; }
    .sfc-bar { display: none; }
    .sfc { width: 297mm; height: 210mm; aspect-ratio: auto; margin: 0; box-shadow: none; border-radius: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* verify page */
.verify-box { max-width: 640px; margin: 0 auto; }
.verify-form { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.verify-form input { flex: 1 1 240px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; text-transform: uppercase; }
.verify-result { padding: 22px; border-radius: 18px; border: 2px solid; background: #fff; }
.verify-result--ok { border-color: #0e8f63; }
.verify-result--no { border-color: #b42318; }
.verify-result h2 { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.verify-result--ok h2 { color: #0e8f63; }
.verify-result--no h2 { color: #b42318; }
.verify-result dl { display: grid; gap: 6px; margin: 14px 0 0; }
.verify-result dl div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; }
.verify-result dt { color: var(--slate); }
.verify-result dd { margin: 0; font-weight: 700; }
.sfc__swoosh--tl { inset: -24% auto auto -16%; width: 58%; height: 66%; }
.sfc__swoosh--br { inset: auto -16% -24% auto; width: 58%; height: 66%; }

/* ---------- Financial Health Score ---------- */
.fh { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .fh { grid-template-columns: minmax(0, 1fr) 320px; } }
.fh-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); }
.fh-progress { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: s; }
.fh-progress li { display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--slate); position: relative; }
.fh-progress li span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #eef3ff; color: var(--brand); border: 2px solid #dfe7fb; }
.fh-progress li[aria-current] span, .fh-progress li.is-done span { background: var(--brand); color: #fff; border-color: var(--brand); }
.fh-progress small { font-size: .8125rem; font-weight: 600; }
.fh-step { border: 0; padding: 0; margin: 0; }
.fh-step legend { font: 700 1.375rem/1.2 var(--font-head); margin-bottom: 16px; }
.fh-step legend span { display: block; font-size: .8125rem; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.fh-chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fh-chips legend { font-weight: 600; margin-bottom: 8px; }
.fh-chips .chip input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); }
.fh-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 18px; }
.fh-nav .btn--primary:only-child { margin-left: auto; }
.fh-pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fh-pillars li { display: flex; gap: 10px; align-items: center; }
.fh-pillars li .icon { color: var(--brand); }
.fh-pillars b { margin-left: auto; color: var(--brand); }
.fhr-head { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.fhr-head h1 { margin: 6px 0 8px; }
.fhr-gauge { position: relative; flex: none; }
.fhr-gauge svg { display: block; }
.fhr-gauge__bg { fill: none; stroke: #e8eefc; stroke-width: 12; }
.fhr-gauge__val { fill: none; stroke-width: 12; stroke-linecap: round; transition: stroke-dasharray 1s ease; }
.fhr-gauge--green .fhr-gauge__val { stroke: #0e8f63; } .fhr-gauge--blue .fhr-gauge__val { stroke: var(--brand); } .fhr-gauge--orange .fhr-gauge__val { stroke: #e08a00; } .fhr-gauge--red .fhr-gauge__val { stroke: #c4320a; }
.fhr-gauge > span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.fhr-gauge strong { font: 800 3rem/1 var(--font-head); }
.fhr-gauge small { color: var(--slate); }
.fhr-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fhr-h { margin: 32px 0 14px; font-size: 1.5rem; }
.fhr-pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.fhr-pillar { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.fhr-pillar__top { display: flex; justify-content: space-between; font-size: 1.0625rem; }
.fhr-pillar__top span { font-weight: 800; }
.fhr-bar { display: block; height: 8px; margin: 10px 0; border-radius: 4px; background: #eef2fb; overflow: hidden; }
.fhr-bar span { display: block; height: 100%; border-radius: 4px; }
.fhr-pillar--good .fhr-bar span { background: #0e8f63; } .fhr-pillar--mid .fhr-bar span { background: #e08a00; } .fhr-pillar--low .fhr-bar span { background: #c4320a; }
.fhr-pillar__st { font-weight: 600; margin: 0 0 4px; }
.fhr-pillar p:last-child { margin: 0; color: var(--slate); font-size: .9375rem; }
.fhr-sugg { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.fhr-sugg li { position: relative; padding-top: 44px; }
.fhr-sugg h3 { margin: 0 0 6px; }
.fhr-hint { display: flex; gap: 6px; align-items: center; color: var(--brand-dark); font-weight: 600; font-size: .9375rem; }
.fhr-offers { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; font-size: .9375rem; }
.fhr-offers li { padding: 8px 10px; background: #f4f7ff; border-radius: 10px; }
.fhr-offers small { display: block; color: var(--slate); }
.fhr-talk { margin-top: 28px; display: grid; gap: 18px; }
@media (min-width: 900px) { .fhr-talk { grid-template-columns: 1fr 1.4fr; align-items: start; } }
@media print { .topbar, .foot, .fhr-actions, .fhr-talk form, .cookiebar { display: none !important; } }
.tool--feature { border-color: #b9e6d3; background: linear-gradient(160deg, #f0fbf6, #fff); }
.fh-banner { display: flex; gap: 14px; align-items: center; margin: 22px 0 0; padding: 16px 20px; border-radius: 16px; background: linear-gradient(110deg, #0b3fb3, #1d5fe0); color: #fff; text-decoration: none; }
.fh-banner span { flex: 1; } .fh-banner strong { display: block; font-size: 1.0625rem; }
.fh-banner em { font-style: normal; font-weight: 700; display: flex; gap: 6px; align-items: center; white-space: nowrap; }
@media (max-width: 600px) { .fh-banner { flex-wrap: wrap; } }

/* ---------- Visiting card (MOD-02) ---------- */
.vcard { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1100px) { .vcard { grid-template-columns: minmax(0, 1fr) 360px; } }
.vcard__preview h2 { font-size: 1rem; margin: 0 0 8px; }
.vcard__side { max-width: 560px; margin-bottom: 18px; }
.vcard__side svg { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(13, 27, 62, .18); }
.vcard__themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.vcard__theme { position: relative; display: grid; gap: 6px; cursor: pointer; font-size: .8125rem; font-weight: 600; text-align: center; }
.vcard__theme::before { content: ""; height: 46px; border-radius: 8px; border: 2px solid var(--line); }
.vcard__theme--classic::before { background: linear-gradient(90deg, #0b3fb3 0 34%, #fff 34%); }
.vcard__theme--navy::before { background: linear-gradient(110deg, #0b1736 0 66%, #12224d 66%); }
.vcard__theme--minimal::before { background: linear-gradient(#1450d8 0 5px, #f59e0b 5px 7px, #fff 7px); }
.vcard__theme input { position: absolute; opacity: 0; }
.vcard__theme:has(input:checked)::before { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20, 80, 216, .2); }
.vcard__theme:has(input:focus-visible)::before { outline: 2px solid var(--brand); outline-offset: 2px; }
.vcard__side-panel h3, .vcard__dl h3 { font-size: .9375rem; margin: 16px 0 6px; }
.vcard__side-panel .check { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0; }
.vcard__btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Live CMS editing (MOD-03) ---------- */
.cmsl { font-family: var(--font, system-ui, sans-serif); }
.cmsl-bar { position: fixed; left: 16px; bottom: 16px; z-index: 9990; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 10px 14px; border-radius: 14px; background: #0d1b3e; color: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.3); font-size: .875rem; }
.cmsl-bar__dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.25); }
.cmsl-bar__n { color: #b8c4e6; }
.cmsl-bar__msg { flex-basis: 100%; color: #bbf7d0; }
.cmsl-btn { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: #1d5fe0; color: #fff; font-family: inherit; font-size: .875rem; font-weight: 600; line-height: 1; cursor: pointer; text-decoration: none; }
.cmsl-btn--ghost { background: transparent; border: 1px solid #4b5b86; color: #fff; }
.cmsl-link { border: 0; background: none; color: #1d4fd8; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.cmsl-t { outline: 1.5px dashed rgba(29, 95, 224, .65); outline-offset: 3px; cursor: pointer; border-radius: 3px; }
.cmsl-t:hover { outline: 2px solid #f59e0b; background: rgba(245, 158, 11, .08); }
.cmsl-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 9991; width: min(440px, 100vw); overflow-y: auto; background: #fff; color: #0d1b3e; box-shadow: -18px 0 40px rgba(13,27,62,.25); padding: 0 18px 90px; }
.cmsl-drawer__head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; background: #fff; border-bottom: 1px solid #e5e9f2; }
.cmsl-drawer__head h2 { margin: 0; font-size: 1.125rem; }
.cmsl-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef2fb; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.cmsl-help { color: #475569; font-size: .875rem; }
.cmsl-item { scroll-margin-top: 76px; padding: 14px; margin: 12px 0; border: 1px solid #e5e9f2; border-radius: 12px; }
.cmsl-item.is-picked { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.2); }
.cmsl-item h3 { margin: 0; font-size: .9375rem; }
.cmsl-where { margin: 2px 0 8px; color: #64748b; font-size: .75rem; }
.cmsl-tag { padding: 1px 7px; border-radius: 99px; background: #fef3c7; color: #92400e; font-size: .6875rem; font-weight: 700; vertical-align: middle; }
.cmsl-item input[type=text], .cmsl-item textarea { width: 100%; padding: 9px 10px; border: 1px solid #cbd5e1; border-radius: 9px; font-family: inherit; font-size: .9375rem; line-height: 1.45; color: inherit; }
.cmsl-item small { display: block; margin-top: 4px; color: #64748b; font-size: .75rem; }
.cmsl-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 10px 0 0; font-size: .875rem; }
html.cmsl-open { scroll-padding-right: 440px; }
.rte { border: 1px solid #cbd5e1; border-radius: 10px; overflow: hidden; background: #fff; }
.rte.is-busy { opacity: .6; pointer-events: none; }
.rte__bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; background: #f4f7ff; border-bottom: 1px solid #e2e8f0; }
.rte__btn { min-height: 30px; padding: 0 9px; border: 1px solid #d5ddf0; border-radius: 7px; background: #fff; font-family: inherit; font-size: .78rem; font-weight: 600; line-height: 1; color: #0d1b3e; cursor: pointer; }
.rte__btn:hover, .rte__btn:focus-visible { border-color: #1d5fe0; color: #1d5fe0; }
.rte__btn--b { font-weight: 900; } .rte__btn--i { font-style: italic; }
.rte__ask { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; padding: 8px; background: #fffbeb; border-bottom: 1px solid #fde68a; font-size: .8125rem; }
.rte__ask label { flex: 1 1 200px; display: grid; gap: 4px; }
.rte__ask input { padding: 7px 9px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; }
.rte__box { min-height: 260px; max-height: 60vh; overflow-y: auto; padding: 12px 14px; outline: none; }
.rte__box img { max-width: 100%; height: auto; }
.rte-yt { display: grid; place-items: center; aspect-ratio: 16 / 9; max-width: 420px; margin: 8px 0; border-radius: 10px; background: #0f172a; color: #fff; font-weight: 700; user-select: none; }
.prose figure.embed { margin: 1.5em 0; aspect-ratio: 16 / 9; }
.prose figure.embed iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; }
.cms-edit-pill { position: fixed; left: 16px; bottom: 16px; z-index: 9980; display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 999px; background: #0d1b3e; color: #fff; font: 600 .875rem/1 var(--font, system-ui); text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.28); }
.cms-edit-pill:hover { background: #1d5fe0; color: #fff; }

/* ---------- Website popups (MOD-04) ---------- */
.pagebar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.pagebar .lead { margin: 0; flex: 1 1 420px; }
.popform__img { max-width: 220px; border-radius: 10px; display: block; margin-bottom: 6px; }
.pop { position: fixed; z-index: 9500; margin: 0; padding: 0; border: 0; background: #fff; color: var(--ink, #0d1b3e); box-shadow: 0 24px 60px rgba(13, 27, 62, .3); opacity: 0; transition: opacity .25s ease, transform .25s ease; }
.pop.is-in { opacity: 1; transform: none; }
.pop--modal { inset: 0; margin: auto; width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; border-radius: 20px; transform: translateY(12px) scale(.98); }
.pop--modal::backdrop { background: rgba(13, 27, 62, .55); }
.pop--slide { right: 16px; bottom: 16px; width: min(360px, calc(100vw - 32px)); border-radius: 16px; transform: translateY(20px); }
.pop--bar { left: 0; right: 0; top: 0; border-radius: 0; background: linear-gradient(90deg, #0b3fb3, #1d63e6); color: #fff; transform: translateY(-100%); }
.pop--bar .pop__body { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: center; padding: 12px 52px 12px 16px; text-align: center; }
.pop--bar .pop__title { font-size: 1rem; margin: 0; color: #fff; } .pop--bar .pop__text p { margin: 0; } .pop--bar .pop__text a { color: #fff; }
.pop--bar .pop__img { display: none; } .pop--bar .pop__actions { margin: 0; } .pop--bar .btn--primary { background: #fff; color: #0b3fb3; } .pop--bar .pop__x { color: #fff; top: 50%; transform: translateY(-50%); }
.pop__img { display: block; width: 100%; max-height: 240px; object-fit: cover; }
.pop__body { padding: 22px 24px 24px; }
.pop--slide .pop__body { padding: 18px; }
.pop__title { margin: 0 0 8px; font: 800 1.375rem/1.25 var(--font-head); color: var(--ink, #0d1b3e); }
.pop__text { color: var(--slate, #475569); } .pop__text p { margin: 0 0 10px; }
.pop__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.pop__x { position: absolute; top: 10px; right: 10px; z-index: 1; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: #0d1b3e; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pop--bar .pop__x { background: transparent; }
.pop__form { display: grid; gap: 10px; margin-top: 12px; }
.pop__form label { display: grid; gap: 4px; font-weight: 600; font-size: .9375rem; }
.pop__form input:not([type=checkbox]) { min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--line, #d8dfee); border-radius: 10px; font: inherit; }
.pop__form .pop__consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: .8125rem; color: var(--slate, #475569); }
.pop__form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pop__msg { margin: 0; font-weight: 600; } .pop__msg.is-ok { color: #0e8f63; } .pop__msg.is-bad { color: #c4320a; }
@media (prefers-reduced-motion: reduce) { .pop { transition: none; } }

/* ---------- Partner network & onboarding setup (MOD-05) ---------- */
.docsetup input:not([type=checkbox]) { width: 100%; min-width: 160px; padding: 7px 9px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }
.docsetup td.c { text-align: center; }
.docsetup__new input::placeholder { color: #94a3b8; }
tr.is-muted td { opacity: .65; }
.menu-pop { position: relative; display: inline-block; }
.menu-pop summary { list-style: none; cursor: pointer; }
.menu-pop summary::-webkit-details-marker { display: none; }
.menu-pop__body { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; display: grid; gap: 8px; width: 260px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); text-align: left; white-space: normal; }
.menu-pop__body textarea { width: 100%; padding: 8px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }
.menu-pop__body p { margin: 0; }
.progress-mini { display: block; width: 120px; height: 6px; border-radius: 3px; background: #e8eefc; overflow: hidden; margin-bottom: 4px; }
.progress-mini span { display: block; height: 100%; background: var(--brand); }

/* ---------- Design studio (MOD-06) ---------- */
.dgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.dcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.dcard__thumb { display: grid; place-items: center; max-height: 320px; background: #f1f5fb; overflow: hidden; color: var(--slate); }
.dcard__thumb img { width: 100%; height: 100%; object-fit: contain; }
.dcard__body { display: grid; gap: 4px; padding: 10px 12px 12px; }
.dcard__body small { color: var(--slate); }
.dcard__actions { display: flex; gap: 6px; margin-top: 4px; }
.newdesign .form-grid { margin-bottom: 10px; }
.studio { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 18px; }
.studio__top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #f8faff; }
.studio__title { flex: 1 1 220px; min-height: 36px; padding: 4px 10px; border: 1.5px solid transparent; border-radius: 8px; font: 700 1rem var(--font-head); background: transparent; }
.studio__title:hover, .studio__title:focus { border-color: var(--line); background: #fff; }
.studio__size { color: var(--slate); font-size: .8125rem; }
.studio__preview { display: inline-flex; gap: 6px; align-items: center; font-size: .875rem; }
.studio__status { margin-left: auto; color: var(--slate); font-size: .8125rem; }
.studio__body { display: grid; grid-template-columns: 180px minmax(0, 1fr) 220px; min-height: 560px; }
@media (max-width: 1100px) { .studio__body { grid-template-columns: 150px minmax(0, 1fr); } .studio__props { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 700px) { .studio__body { grid-template-columns: 1fr; } .studio__tools { display: flex; flex-wrap: wrap; } }
.studio__tools, .studio__props { padding: 10px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; max-height: calc(100vh - 160px); }
.studio__tools { border-right: 1px solid var(--line); }
.studio__props { border-left: 1px solid var(--line); }
.studio__tools h3, .studio__props h3 { margin: 8px 0 2px; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }
.studio__tools button, .studio__upload, .studio__row button { display: flex; gap: 8px; align-items: center; width: 100%; min-height: 34px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: 600 .8125rem/1.2 inherit; font-family: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.studio__tools button:hover, .studio__upload:hover, .studio__row button:hover { border-color: var(--brand); color: var(--brand); }
.studio__assets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.studio__assets button { padding: 2px; min-height: 0; aspect-ratio: 1; }
.studio__assets img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.studio__stage { position: relative; display: grid; place-items: center; padding: 12px; background: repeating-conic-gradient(#eef2f8 0% 25%, #f7f9fc 0% 50%) 50% / 24px 24px; overflow: auto; }
.studio__stage .canvas-container { box-shadow: 0 10px 30px rgba(13, 27, 62, .18); }
.studio__start { position: absolute; z-index: 5; top: 16px; left: 50%; transform: translateX(-50%); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; max-width: 92%; padding: 12px 14px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); }
.studio__start p { flex-basis: 100%; margin: 0; text-align: center; }
.studio__props label { display: grid; gap: 4px; font-size: .8125rem; font-weight: 600; }
.studio__props input[type=number], .studio__props select { min-height: 32px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.studio__props input[type=color] { width: 100%; height: 34px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.studio__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(40px, 1fr)); gap: 4px; }
.studio__row button { justify-content: center; }
.studio.is-preview .studio__tools, .studio.is-preview .studio__props { opacity: .4; pointer-events: none; }
.studio-send select[multiple] { width: 100%; padding: 6px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.studio-send__find { width: 100%; margin-bottom: 6px; min-height: 38px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.studio-send__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.mydesign { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1000px) { .mydesign { grid-template-columns: minmax(0, 1fr) 320px; } }
.mydesign__view { display: grid; place-items: center; min-height: 300px; padding: 16px; background: #eef2f8; border-radius: 16px; }
.mydesign__view img { max-width: 100%; max-height: 75vh; border-radius: 8px; box-shadow: 0 10px 30px rgba(13, 27, 62, .2); }
.mydesign__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Analytics (MOD-07) ---------- */
.afilter { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; }
.afilter label { display: grid; gap: 4px; font-size: .8125rem; font-weight: 600; }
.afilter input, .afilter select { min-height: 38px; padding: 4px 10px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.afilter__quick { display: flex; gap: 6px; flex-basis: 100%; flex-wrap: wrap; }
.afilter__quick .chip { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--ink); font-size: .8125rem; font-weight: 600; }
.afilter__quick .chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.kpis--5 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.block__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; }
.block__head h2 { margin: 0 0 8px; }
.dl-links { font-size: .8125rem; color: var(--slate); }
.mbar { display: block; height: 6px; margin-top: 4px; min-width: 60px; border-radius: 3px; background: #e8eefc; overflow: hidden; }
.mbar span { display: block; height: 100%; background: var(--brand); border-radius: 3px; }
td .mbar { max-width: 160px; }
.abars { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.abars li { display: grid; grid-template-columns: minmax(120px, 1.2fr) 2fr minmax(48px, auto); gap: 10px; align-items: center; }
.abars li strong { text-align: right; }
.abars .mbar { margin: 0; height: 10px; }
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.flows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flows li { display: grid; grid-template-columns: minmax(0, 3fr) 1fr auto auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.flows__route { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.flows__route code { padding: 2px 8px; background: #eef3ff; border-radius: 6px; font-size: .8125rem; }
.flows__arrow { color: var(--slate); }
.flows small { color: var(--slate); }
@media (max-width: 700px) { .flows li { grid-template-columns: 1fr auto; } .flows .mbar { display: none; } }
.cohort td[style] { background: rgba(29, 99, 230, var(--a)); color: var(--ink); }
tr.is-picked td { background: #fff8e6; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid #dfe7fb; display: grid; gap: 10px; }
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -20px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.timeline time { color: var(--slate); font-size: .8125rem; }

/* ---------- Academy (MOD-08) ---------- */
.acad-hero { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.acad-hero > div { flex: 1 1 420px; }
.acad-progress { height: 12px; border-radius: 6px; background: #e8eefc; overflow: hidden; }
.acad-progress span { display: block; height: 100%; background: linear-gradient(90deg, #1d63e6, #0e8f63); border-radius: 6px; }
.acad-module h2 { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.acad-module__n { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.acad-module h3 { margin: 14px 0 8px; font-size: 1rem; color: var(--slate); }
.acad-chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acad-ch { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.acad-ch__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #eef3ff; color: var(--brand); }
.acad-ch--done .acad-ch__icon { background: #dff5ec; color: #0e8f63; }
.acad-ch--locked { opacity: .6; } .acad-ch--locked .acad-ch__icon { background: #f1f5f9; color: #64748b; }
.acad-ch--open { border-color: #b9cdf7; box-shadow: 0 0 0 3px rgba(29, 99, 230, .08); }
.acad-ch__body { display: grid; gap: 2px; } .acad-ch__body small { color: var(--slate); }
.acad-tests { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
.acad-test { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.acad-test div { display: grid; gap: 2px; } .acad-test small { color: var(--slate); }
.acad-test.is-locked { background: #f8fafc; }
.acad-read { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1100px) { .acad-read { grid-template-columns: minmax(0, 1fr) 300px; } .acad-side { position: sticky; top: 16px; } }
.acad-article__title { margin: 14px 0 4px; font-size: 1.75rem; }
.acad-body { font-size: 1.0625rem; line-height: 1.7; }
.acad-body .is-reading { background: #fff7d6; box-shadow: 0 0 0 6px #fff7d6; border-radius: 4px; }
.acad-nav { display: grid; gap: 8px; }
.crumbline { color: var(--slate); font-size: .875rem; }
.tts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #f4f7ff; }
.tts label { display: inline-flex; gap: 6px; align-items: center; font-size: .8125rem; font-weight: 600; }
.tts select { min-height: 32px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 8px; font: inherit; max-width: 220px; }
.tts__note { color: var(--slate); font-size: .8125rem; }
.exam-timer { position: sticky; top: 8px; z-index: 5; display: inline-flex; gap: 8px; padding: 8px 14px; margin-bottom: 12px; border-radius: 99px; background: #0d1b3e; color: #fff; font-weight: 600; }
.exam-timer.is-low { background: #c4320a; }
.acadm { padding: 12px 0; border-bottom: 1px solid var(--line); }
.acadm__head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.acadm__lesson { margin: 10px 0 0 18px; padding-left: 12px; border-left: 2px solid #e2e8f0; }
.acadm__chapters { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.acadm__chapters small { display: block; color: var(--slate); }
.acadm__add { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0 18px; }
.acadm__add input { flex: 1 1 200px; min-height: 36px; padding: 4px 10px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }
.menu-pop__body label { display: grid; gap: 4px; font-size: .8125rem; font-weight: 600; }
.menu-pop__body input:not([type=checkbox]), .menu-pop__body select { min-height: 34px; padding: 4px 8px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }
.menu-pop__body--wide { width: min(420px, 90vw); }
.testform { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: end; }
.testform label { display: grid; gap: 4px; font-size: .8125rem; font-weight: 600; }
.testform input:not([type=checkbox]), .testform select { min-height: 36px; padding: 4px 8px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }
.testform fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.testform .check { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.menu-pop__body .testform { grid-template-columns: 1fr; }
.qlist { display: grid; gap: 12px; padding-left: 20px; }
.qlist ul { margin: 6px 0; padding-left: 18px; color: var(--slate); }
.qlist li.is-right { color: #0e8f63; font-weight: 600; }

/* ---------- Push campaigns (MOD-09) ---------- */
.pushpreview { display: flex; gap: 12px; align-items: flex-start; max-width: 380px; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: #1f2937; color: #fff; box-shadow: var(--shadow); }
.pushpreview__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #1d63e6; font-weight: 800; font-size: .8125rem; }
.pushpreview > span:last-child { display: grid; gap: 2px; font-size: .875rem; } .pushpreview small { color: #9ca3af; }
.pushcount { margin: 6px 0 0; color: var(--slate); }
.pushform .check { display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.push-toast { position: fixed; left: 50%; bottom: 20px; z-index: 9999; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 12px 16px; border-radius: 12px; background: #0d1b3e; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.3); font-size: .9375rem; }
.facts { display: grid; gap: 8px; margin: 12px 0 16px; } .facts div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; } .facts dt { color: var(--slate); }

/* ---------- Expert sessions (MOD-11) ---------- */
.xgrid { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.xcard { display: grid; gap: 6px; align-content: start; }
.xcard h2 { margin: 6px 0 0; font-size: 1.25rem; }
.xcard__av { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #0b3fb3, #1d63e6); color: #fff; font: 800 1.375rem var(--font-head); }
.xcard__title { margin: 0; color: var(--brand); font-weight: 600; }
.xcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.xcard__tags .chip { padding: 3px 10px; border-radius: 99px; background: #eef3ff; font-size: .8125rem; }
.xprofile { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .xprofile { grid-template-columns: minmax(0, 1fr) 300px; } .xside { position: sticky; top: 90px; } }
.xprofile .landing-card + .landing-card { margin-top: 16px; }
.xdays { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); margin-bottom: 16px; }
.xday { border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px 10px; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.xday legend { font-weight: 700; padding: 0 4px; }
.xslot input { position: absolute; opacity: 0; }
.xslot span { display: inline-block; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 8px; font-size: .875rem; font-weight: 600; cursor: pointer; }
.xslot input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.xslot input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.xbook__fee { padding: 10px 12px; border-radius: 10px; background: #f4f7ff; }
.sesslist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sess { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
@media (max-width: 760px) { .sess { grid-template-columns: 80px 1fr; } .sess .pill, .sess__act { grid-column: 2; } }
.sess__when { display: grid; text-align: center; padding: 6px; border-radius: 10px; background: #eef3ff; } .sess__when span { color: var(--slate); font-size: .875rem; }
.sess__what { display: grid; gap: 3px; } .sess__what small { color: var(--slate); }
.sess__act { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }
.hours__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.hours__row select, .hours__row input[type=time] { min-height: 36px; padding: 4px 8px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }
.outcome { padding: 12px 0; border-bottom: 1px dashed var(--line); }

/* ---------- Proctoring (MOD-12) ---------- */
.proctor { position: relative; margin-bottom: 16px; }
.proctor__cam { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 160px; height: 120px; object-fit: cover; border-radius: 12px; background: #0d1b3e; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.proctor:not(.is-on) .proctor__cam { display: none; }
.proctor__gate { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.proctor__status { color: var(--slate); font-size: .8125rem; margin: 6px 0; }
.pevents { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pevent { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.pevent img, .pevent .pevent__none { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e2e8f0; }
.pevent .pevent__none { display: grid; place-items: center; color: var(--slate); font-size: .8125rem; }
.pevent div { padding: 8px 10px; display: grid; gap: 2px; } .pevent small { color: var(--slate); }
.plive { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.plive li { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.plive img, .plive .pevent__none { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #0d1b3e; color: #94a3b8; }
.plive div { padding: 8px 10px; display: grid; gap: 4px; }
