/*
 * S-Tech theme (promotions.brand = stech*) - see ll_theme() in
 * inc/landing-variant.php. Ported from reference/stech/v2/*.html.
 *
 * Loaded AFTER css/tailwind.min.css and inc/theme-styles.php, so the brand
 * ramp (--color-brand-*, from promotions.themeColour) is already defined.
 * Set S-Tech's themeColour to #FF1616 to match the design.
 *
 * Public pages: .st-page wrapper. Member pages: .st-shell (added in a later
 * phase). Every rule is scoped under body.st so nothing leaks into the
 * default theme.
 */

body.st {
    --st-paper: #fbfbf9;
    --st-line:  #e6e6e1;
    --st-line-2: #e0e0da;
    --st-ink:   #1c2230;
    --st-ink-2: #2b3242;
    --st-ink-3: #4a5160;
    --st-card:  #f3f3ec;
    --st-red:   var(--color-brand-600, #FF1616);
    --st-red-d: var(--color-brand-700, #C40000);
    --st-lime:  #DFE345;
    --st-px: max(48px, calc((100% - 1100px) / 2 + 48px));
    margin: 0;
    font-family: 'DM Sans', Helvetica, sans-serif;
    background: var(--st-paper);
    color: var(--st-ink);
}
@supports (color: oklch(0 0 0)) {
    body.st {
        --st-paper: oklch(0.985 0.004 90);
        --st-line:  oklch(0.9 0.01 90);
        --st-line-2: oklch(0.88 0.01 90);
        --st-ink:   oklch(0.22 0.02 255);
        --st-ink-2: oklch(0.3 0.02 255);
        --st-ink-3: oklch(0.4 0.02 255);
        --st-card:  oklch(0.96 0.01 100);
    }
}

/* ------------------------------------------------------------------ shared */
.st .st-page a { color: var(--st-red); }
.st .st-page a:hover { color: var(--st-red-d); }
.st .st-page { width: 100%; background: var(--st-paper); position: relative; }
.st .st-mono { font-family: 'DM Mono', ui-monospace, monospace; }
.st .st-eyebrow { font: 12px 'DM Mono', ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--st-red); }
.st .st-eyebrow-ink { color: var(--st-ink); }
.st .st-px { padding-left: 0; padding-right: 0; padding-inline: var(--st-px); }

.st .st-btn { display: inline-block; padding: 14px 28px; border-radius: 6px; font-weight: 700; text-decoration: none; cursor: pointer; font-family: inherit; font-size: 16px; line-height: 1.4; border: 0; text-align: center; }
.st .st-page a.st-btn-red, .st .st-page a.st-btn-red:hover, .st .st-btn-red { background: var(--st-red); color: #fff; }
.st .st-btn-red:hover { background: var(--st-red-d); }
.st .st-page a.st-btn-line, .st .st-page a.st-btn-line:hover { color: var(--st-ink); }
.st .st-btn-line { background: transparent; border: 1.5px solid var(--st-ink); color: var(--st-ink); }
.st .st-btn-line:hover { background: var(--st-ink); color: var(--st-lime); }
.st .st-page a.st-btn-line:hover { color: var(--st-lime); }
.st .st-btn-sm { padding: 10px 18px; font-size: 15px; }
.st .st-page a.st-btn-ghost, .st .st-page a.st-btn-ghost:hover, .st .st-btn-ghost { background: transparent; color: var(--st-ink); font-weight: 500; }

/* ------------------------------------------------------------------ header */
.st .st-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; padding-inline: var(--st-px); border-bottom: 1px solid var(--st-line); gap: 12px; }
.st .st-header .st-logo { display: block; height: 127px; width: auto; margin: -32px 0; mix-blend-mode: multiply; }
.st .st-header .st-actions { display: flex; gap: 12px; align-items: center; }

/* -------------------------------------------------------------------- hero */
.st .st-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding: 72px 0; padding-inline: var(--st-px); align-items: center; }
.st .st-hero h1 { font-size: 64px; line-height: 1; margin: 16px 0 20px; letter-spacing: -.03em; font-weight: 700; color: inherit; }
.st .st-hero .st-lead { font-size: 18px; line-height: 1.55; max-width: 460px; margin: 0 0 32px; color: var(--st-ink-3); }
.st .st-hero .st-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.st .st-hero .st-perks { display: flex; gap: 24px; margin-top: 36px; font-size: 14px; font-weight: 500; flex-wrap: wrap; }

.st .st-balance { background: var(--st-ink); color: #fff; border-radius: 16px; padding: 36px; }
.st .st-balance .st-row { display: flex; justify-content: space-between; align-items: center; font: 12px 'DM Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--st-lime); gap: 12px; }
.st .st-balance .st-big { font-size: 56px; font-weight: 700; letter-spacing: -.02em; color: var(--st-lime); line-height: 1.1; }
.st .st-balance .st-tiles { display: flex; gap: 10px; margin-top: 16px; }
.st .st-balance .st-tile { flex: 1; padding: 10px 14px; background: var(--st-ink-2); border-radius: 8px; font-size: 14px; cursor: pointer; border: 0; color: #fff; font-family: inherit; text-align: left; }
.st .st-balance button.st-tile:hover { background: var(--st-ink-3); }

/* ------------------------------------------------------------------- bands */
.st .st-band { padding: 64px 0; padding-inline: var(--st-px); }
.st .st-band-lime { background: var(--st-lime); border-top: 1px solid var(--st-line); }
.st .st-band-white { background: #fff; border-top: 1px solid var(--st-line); }
.st .st-band h2 { font-size: 36px; margin: 8px 0 6px; letter-spacing: -.02em; font-weight: 700; color: inherit; }
.st .st-band .st-sub { margin: 0 0 32px; color: var(--st-ink-3); }
.st .st-cols3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--st-ink); }
.st .st-cols3 .st-col { padding: 24px 24px 0; }
.st .st-cols3 .st-col:first-child { padding-left: 0; }
.st .st-cols3 .st-col:last-child { padding-right: 0; }
.st .st-cols3 h4 { font-size: 20px; margin: 8px 0; font-weight: 700; color: inherit; }
.st .st-cols3 p { margin: 0; line-height: 1.5; color: var(--st-ink-3); }
.st .st-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.st .st-steps .st-card { background: var(--st-card); padding: 24px; border-radius: 12px; }
.st .st-steps .st-n { font-size: 40px; font-weight: 700; line-height: 1.2; }
.st .st-steps h4 { font-size: 20px; margin: 4px 0 8px; font-weight: 700; color: inherit; }
.st .st-steps p { margin: 0; line-height: 1.5; }
.st .st-band-white h2 + .st-steps { margin-top: 0; }

/* ----------------------------------------------------------------- skyline */
.st .st-skyline-wrap { background: #fff; }
.st .st-skyline { background: var(--st-ink); aspect-ratio: 2560 / 482; width: 100%; margin-bottom: -1px;
    -webkit-mask: url(../images/skyline.png) center bottom / 100% 100% no-repeat;
            mask: url(../images/skyline.png) center bottom / 100% 100% no-repeat; }

/* ------------------------------------------------------------------ footer */
.st .st-footer { background: var(--st-ink); color: #fff; padding: 40px 0; padding-inline: var(--st-px); }
.st .st-footer .st-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.st .st-footer .st-logo-f { display: inline-block; line-height: 0; margin: -32px 0; }
.st .st-footer .st-logo-f img { height: 127px; width: auto; display: block; }
.st .st-footer .st-logo-f.st-plate { background: #fff; border-radius: 8px; padding: 2px 12px; margin: 0; }
.st .st-footer nav { display: flex; gap: 24px; font-size: 14px; flex-wrap: wrap; }
.st .st-page .st-footer nav a, .st .st-page .st-footer nav a:hover { color: #fff; text-decoration: none; }
.st .st-footer nav a:hover { text-decoration: underline; }
.st .st-footer p { font-size: 13px; line-height: 1.6; opacity: .7; margin: 28px 0 0; text-align: left; }

.st .st-alert { margin: 24px 0 0; margin-inline: var(--st-px); padding: 14px 16px; border-radius: 8px; background: #fff7e0; border: 1px solid #f0d27a; color: #7a5a00; font-size: 14px; }

/* ----------------------------------------------- legal / FAQ / contact pages */
.st .st-pagehero { padding: 72px 0 56px; padding-inline: var(--st-px); background: var(--st-lime); }
.st .st-pagehero h1 { font-size: 64px; line-height: 1; margin: 16px 0 16px; letter-spacing: -.03em; font-weight: 700; color: inherit; }
.st .st-pagehero p { font-size: 18px; line-height: 1.55; max-width: 520px; margin: 0; color: var(--st-ink); }
.st .st-page .st-pagehero a, .st .st-page .st-pagehero a:hover { color: var(--st-ink); font-weight: 700; }

.st .st-facts { padding: 40px 0; padding-inline: var(--st-px); background: var(--st-paper); border-bottom: 1px solid var(--st-line); }
.st .st-facts .st-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border: 1px solid var(--st-line-2); border-radius: 12px; background: #fff; overflow: hidden; }
.st .st-facts .st-fact { padding: 20px; border-left: 1px solid var(--st-line-2); }
.st .st-facts .st-fact:first-child { border-left: 0; }
.st .st-facts .st-k { font: 11px 'DM Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--st-red); }
.st .st-facts .st-v { margin-top: 6px; font-weight: 700; line-height: 1.35; }

.st .st-doc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding: 64px 0; padding-inline: var(--st-px); align-items: start; background: #fff; }
.st .st-doc.st-doc-single { grid-template-columns: 1fr; }
.st .st-doc nav.st-toc { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--st-line); padding-left: 12px; }
.st .st-doc nav.st-toc .st-toc-h { font: 11px 'DM Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; opacity: .6; padding: 0 14px 8px; }
.st .st-page .st-doc nav.st-toc a { padding: 10px 14px; border-radius: 8px; color: var(--st-ink); text-decoration: none; font-weight: 500; }
.st .st-page .st-doc nav.st-toc a:hover { background: var(--st-card); color: var(--st-ink); }
.st .st-doc .st-doc-body { min-width: 0; }
.st .st-doc .st-print { margin-bottom: 24px; }

/* AM-authored HTML (promotions.faqText / termsText / privacyText) in the S-Tech type scale */
.st .st-doc .ll-rich { font-size: 16px; line-height: 1.7; color: var(--st-ink-3); }
.st .st-doc .ll-rich h1, .st .st-doc .ll-rich h2 { font-size: 32px; letter-spacing: -.02em; margin: 56px 0 12px; color: var(--st-ink); padding-top: 0; scroll-margin-top: 24px; }
.st .st-doc .ll-rich > h1:first-child, .st .st-doc .ll-rich > h2:first-child { margin-top: 0; }
.st .st-doc .ll-rich h3 { font-size: 20px; color: var(--st-ink); margin: 28px 0 10px; scroll-margin-top: 24px; }
.st .st-doc .ll-rich h4, .st .st-doc .ll-rich h5 { color: var(--st-ink); }
.st .st-doc .ll-rich a { color: var(--st-red); }
.st .st-doc .ll-rich hr, .st .st-doc .ll-rich th, .st .st-doc .ll-rich td { border-color: var(--st-line-2); }
.st .st-doc .ll-rich details { border-bottom: 1px solid var(--st-line-2); }
.st .st-doc .ll-rich details:first-of-type { border-top: 2px solid var(--st-ink); }
.st .st-doc .ll-rich summary { cursor: pointer; font-size: 18px; font-weight: 700; color: var(--st-ink); padding: 20px 0; }
.st .st-doc .ll-rich details > :not(summary) { padding: 0 48px 16px 0; }
.st .st-empty { margin: 0; color: var(--st-ink-3); }

.st .st-pdfcard { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--st-ink); border-radius: 16px; padding: 28px 32px; text-decoration: none; }
.st .st-page a.st-pdfcard, .st .st-page a.st-pdfcard:hover { color: #fff; }
.st .st-pdfcard .st-k { font: 11px 'DM Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--st-lime); }
.st .st-pdfcard .st-t { font-size: 22px; font-weight: 700; margin-top: 6px; }
.st .st-pdfcard .st-go { padding: 12px 24px; background: var(--st-red); color: #fff; font-weight: 700; border-radius: 6px; }

.st .st-contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; padding: 64px 0; padding-inline: var(--st-px); align-items: start; background: #fff; }
.st .st-contact .st-cards { display: flex; flex-direction: column; gap: 16px; }
.st .st-page .st-contact a.st-linkcard { display: block; background: #fff; border: 1px solid var(--st-line); border-radius: 12px; padding: 24px; text-decoration: none; color: var(--st-ink); }
.st .st-linkcard:hover { border-color: var(--st-red); }
.st .st-linkcard h4 { font-size: 20px; margin: 8px 0 6px; font-weight: 700; color: inherit; }
.st .st-linkcard p { margin: 0 0 12px; line-height: 1.5; color: var(--st-ink-3); }
.st .st-linkcard .st-more { font-weight: 700; color: var(--st-red); }
.st .st-contact .st-formcard { background: var(--st-paper); border: 1px solid var(--st-line); border-radius: 16px; padding: 36px; }
.st .st-contact .st-formcard h2 { font-size: 28px; margin: 0 0 6px; letter-spacing: -.02em; font-weight: 700; color: inherit; }
.st .st-contact .st-formcard .st-sub { margin: 0 0 22px; color: var(--st-ink-3); }
/* contact-form-fields.php (light mode) restyled to the design's inputs */
.st .st-formcard form { display: flex; flex-direction: column; gap: 18px; }
.st .st-formcard form > * { margin: 0; }
.st .st-formcard label { font-size: 14px; font-weight: 500; color: var(--st-ink); text-transform: none; letter-spacing: 0; margin-bottom: 6px; display: block; }
.st .st-formcard input[type=text], .st .st-formcard input[type=email], .st .st-formcard input[type=tel], .st .st-formcard select, .st .st-formcard textarea {
    width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid oklch(0.85 0.01 90); border-radius: 8px; background: #fff; color: var(--st-ink); }
.st .st-formcard input:focus, .st .st-formcard select:focus, .st .st-formcard textarea:focus { outline: 2px solid var(--st-lime); outline-offset: 1px; border-color: var(--st-ink); }
.st .st-formcard button[type=submit] { align-self: flex-start; font: inherit; padding: 14px 32px; background: var(--st-red); color: #fff; border: 0; border-radius: 6px; font-weight: 700; cursor: pointer; width: auto; }
.st .st-formcard button[type=submit]:hover { background: var(--st-red-d); }
.st .st-sent { text-align: center; padding: 32px 0; }
.st .st-formerr { margin: 0 0 18px; padding: 14px 16px; border-radius: 8px; background: #fdecec; border: 1px solid #f3b6b6; color: #8a1c1c; font-size: 14px; }

/* ------------------------------------------- auth modal (shared, dark navy) */
.st #authModal > div { background: oklch(0.2 0.035 260); border-color: oklch(0.32 0.03 255); border-radius: 24px; font-family: 'DM Sans', Helvetica, sans-serif; }
.st #authModal input[type=text], .st #authModal input[type=email], .st #authModal input[type=password], .st #authModal select { background: oklch(0.27 0.03 258); border-color: oklch(0.35 0.03 258); border-radius: 12px; }
.st #authModal input:focus { outline: 2px solid var(--st-lime); outline-offset: 1px; }
.st #authModal #modalIcon { background: oklch(0.32 0.1 20); border-color: oklch(0.45 0.14 25); color: var(--st-lime); }
.st #authModal #modalSubmitBtn { background: var(--st-red); border-radius: 14px; box-shadow: 0 10px 28px rgba(255, 22, 22, .35); }
.st #authModal #modalSubmitBtn:hover { background: var(--st-red-d); }
.st #authModal .text-brand-400 { color: #FF5A5A; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 960px) {
    body.st { --st-px: 20px; }
    .st .st-header .st-logo { height: 84px; margin: -20px 0; }
    .st .st-header .st-btn-ghost { display: none; }
    .st .st-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
    .st .st-hero h1, .st .st-pagehero h1 { font-size: 42px; }
    .st .st-balance { padding: 28px 24px; }
    .st .st-balance .st-big { font-size: 40px; }
    .st .st-cols3, .st .st-steps { grid-template-columns: 1fr; }
    .st .st-cols3 .st-col, .st .st-cols3 .st-col:first-child, .st .st-cols3 .st-col:last-child { padding: 24px 0 0; }
    .st .st-band h2 { font-size: 28px; }
    .st .st-doc, .st .st-contact { grid-template-columns: 1fr; gap: 32px; }
    .st .st-doc nav.st-toc { position: static; border-left: 0; padding-left: 0; flex-direction: row; flex-wrap: wrap; }
    .st .st-doc nav.st-toc .st-toc-h { width: 100%; padding-left: 0; }
    .st .st-formcard { padding: 24px; }
    .st .st-footer .st-logo-f img { height: 84px; }
    .st .st-footer .st-logo-f { margin: -20px 0; }
    .st .st-facts .st-fact { border-left: 0; border-top: 1px solid var(--st-line-2); }
    .st .st-facts .st-fact:first-child { border-top: 0; }
}
@media (max-width: 560px) {
    .st .st-contact .st-formcard .st-two { grid-template-columns: 1fr; }
}

/* ======================================================================
 * MEMBER AREA (body.st-member) - ported from reference/stech/v2 dashboard etc.
 * ====================================================================== */
.st-member { background: var(--st-paper); }
.st .st-shell { display: grid; grid-template-columns: 310px minmax(0, 1fr); min-height: 100vh; }
.st .st-shell a { color: var(--st-red); }
.st .st-shell a:hover { color: var(--st-red-d); }

/* sidebar */
.st .st-side { overflow-y: auto; position: sticky; top: 0; height: 100vh; box-sizing: border-box; background: #fff; border-right: 1px solid var(--st-line); display: flex; flex-direction: column; }
.st .st-side > * { flex: none; }
.st .st-side-logo { padding: 0 24px; border-bottom: 1px solid var(--st-line); height: 100px; box-sizing: border-box; display: flex; align-items: center; }
.st .st-side-logo a { display: block; line-height: 0; }
.st .st-side-logo img { height: 127px; width: auto; display: block; margin: -14px 0; mix-blend-mode: multiply; }
.st .st-balbox { margin: 16px 12px 0; padding: 18px; border-radius: 12px; background: var(--st-ink); color: #fff; }
.st .st-balbox .st-k { font: 11px 'DM Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--st-lime); }
.st .st-balbox .st-balrow { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.st .st-balbox .st-bal { font-size: 28px; font-weight: 700; color: var(--st-lime); }
.st .st-balbox .st-cur { font: 12px 'DM Mono', ui-monospace, monospace; opacity: .8; }
.st .st-balbox .st-pend { margin-top: 8px; font-size: 13px; opacity: .9; }
.st .st-balbox .st-note { margin-top: 10px; font-size: 12px; line-height: 1.5; opacity: .8; }
.st .st-side-h { padding: 22px 24px 8px; font: 11px 'DM Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--st-ink-3); }
.st .st-nav { display: flex; flex-direction: column; gap: 4px; padding: 0 12px; }
.st .st-nav-sep { height: 1px; background: var(--st-line); margin: 8px 0; }
.st .st-shell a.st-nav-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 8px; color: var(--st-ink); background: none; text-decoration: none; font-weight: 500; font-size: 15px; }
.st .st-shell a.st-nav-item:hover { background: var(--st-card); color: var(--st-ink); }
.st .st-nav-ico { color: var(--st-red); display: flex; }
.st .st-shell a.st-nav-item.is-active { background: var(--st-lime); font-weight: 700; }
.st .st-nav-item.is-active .st-nav-ico { color: var(--st-ink); }
.st .st-user { margin-top: auto; padding: 14px 16px; border-top: 1px solid var(--st-line); display: flex; align-items: center; gap: 12px; }
.st .st-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--st-lime); color: var(--st-ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: none; }
.st .st-user-t { min-width: 0; flex: 1; }
.st .st-user-n { font-weight: 700; font-size: 14px; }
.st .st-user-e { font-size: 12px; color: var(--st-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st .st-shell a.st-logout { color: var(--st-ink-3); display: flex; }

/* top bar + bell */
.st .st-main { min-width: 0; }
.st .st-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 32px; height: 100px; box-sizing: border-box; border-bottom: 1px solid var(--st-line); background: #fff; }
.st .st-topbar-t { min-width: 0; }
.st .st-topbar h1 { margin: 0; font-size: 20px; letter-spacing: -.01em; color: inherit; font-weight: 700; }
.st .st-topbar .st-sub { font-size: 13px; color: var(--st-ink-3); }
.st .st-topbar-a { display: flex; gap: 12px; align-items: center; flex: none; }
.st .st-shell a.st-topbtn, .st .st-shell a.st-topbtn:hover { white-space: nowrap; display: flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--st-red); color: #fff; border-radius: 6px; font-weight: 700; font-size: 14px; text-decoration: none; }
.st .st-shell a.st-topbtn:hover { background: var(--st-red-d); }
.st .st-bellwrap { position: relative; flex: none; }
.st .st-bell { position: relative; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--st-line); background: #fff; color: var(--st-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.st .st-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--st-red); color: #fff; font: 700 11px 'DM Sans', sans-serif; align-items: center; justify-content: center; padding: 0 4px; box-sizing: border-box; }
.st .st-bellmenu { position: absolute; right: 0; top: 50px; width: min(360px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--st-line); border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.15); z-index: 50; overflow: hidden; }
.st .st-bellhead { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 2px solid var(--st-ink); }
.st .st-bellhead strong { font-size: 16px; }
.st .st-bellhead button { border: 0; background: none; color: var(--st-red); font: 700 13px 'DM Sans', sans-serif; cursor: pointer; padding: 0; }
.st .st-shell a.st-nitem, .st .st-nitem { display: flex; gap: 12px; padding: 14px 18px; text-decoration: none; color: var(--st-ink); align-items: flex-start; border-top: 1px solid var(--st-line); }
.st .st-bellhead + .st-nitem { border-top: 0; }
.st .st-nempty { color: var(--st-ink-3); font-size: 14px; }
.st .st-ndot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex: none; background: transparent; }
.st .st-nbody { flex: 1; }
.st .st-nt { display: block; font-weight: 700; font-size: 14px; }
.st .st-nx { display: block; font-size: 13px; color: var(--st-ink-3); line-height: 1.45; margin-top: 2px; }
.st .st-nw { display: block; font: 11px 'DM Mono', ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--st-ink-3); margin-top: 6px; }
.st .st-shell a.st-nfoot { display: block; padding: 14px 18px; border-top: 1px solid var(--st-line); font-weight: 700; font-size: 13px; text-decoration: none; }
.st .st-avatar-top { display: flex; }

/* content column + cards */
.st .st-content { padding: 32px; display: flex; flex-direction: column; gap: 28px; width: 100%; box-sizing: border-box; }
.st .st-card { background: #fff; border: 1px solid var(--st-line); border-radius: 12px; padding: 24px 28px 28px; }
.st .st-cardhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--st-ink); }
.st .st-cardhead h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; font-weight: 700; color: inherit; }
.st .st-cardhead .st-sub { font-size: 13px; color: var(--st-ink-3); margin-top: 2px; }
.st .st-cardlinks { display: flex; gap: 18px; }
.st .st-shell .st-cardlinks a { display: flex; align-items: center; gap: 4px; color: var(--st-red); font-weight: 700; font-size: 13px; text-decoration: none; }
.st .st-notice { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 12px; background: var(--st-lime); color: var(--st-ink); text-decoration: none; }
.st .st-shell a.st-notice, .st .st-shell a.st-notice:hover { color: var(--st-ink); }
.st .st-notice strong { display: block; }
.st .st-notice .st-grow { flex: 1; }
.st .st-notice .st-s { font-size: 13px; }
.st .st-notice-warn { background: #fff7e0; border: 1px solid #f0d27a; color: #7a5a00; }
.st .st-notice-err { background: #fdecec; border: 1px solid #f3b6b6; color: #8a1c1c; }

/* hero card */
.st .st-dhero { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 32px; align-items: center; background: #fff; border: 1px solid var(--st-line); border-radius: 12px; padding: 36px; }
.st .st-dhero .st-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--st-lime); font: 12px 'DM Mono', ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.st .st-dhero .st-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--st-red); display: block; }
.st .st-dhero h2 { margin: 18px 0 14px; font-size: 56px; line-height: 1; letter-spacing: -.03em; font-weight: 700; color: inherit; }
.st .st-dhero h2 span { color: var(--st-red); }
.st .st-dhero .st-lead { margin: 0 0 28px; font-size: 18px; line-height: 1.55; color: var(--st-ink-3); }
.st .st-dhero .st-lead strong { color: var(--st-ink); }
.st .st-dhero .st-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.st .st-dhero .st-btn { display: inline-flex; align-items: center; gap: 8px; }
.st .st-dhero .st-help { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--st-line); font-size: 14px; line-height: 1.6; color: var(--st-ink-3); }
.st .st-dhero .st-help p { margin: 0; }
.st .st-dhero .st-help a { font-weight: 700; }
.st .st-ballcard { background: var(--st-ink); color: #fff; border-radius: 16px; padding: 28px; }
.st .st-ballcard .st-k { font: 11px 'DM Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--st-lime); }
.st .st-ballcard .st-big { margin-top: 10px; font-size: 48px; font-weight: 700; letter-spacing: -.02em; color: var(--st-lime); padding-bottom: 18px; border-bottom: 1px solid var(--st-ink-3); }
.st .st-ballcard .st-big small { font: 12px 'DM Mono', ui-monospace, monospace; color: #fff; opacity: .7; }
.st .st-ballcard .st-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.st .st-ballcard .st-mini { padding: 14px; background: var(--st-ink-2); border-radius: 8px; }
.st .st-ballcard .st-mini .st-mk { font: 11px 'DM Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.st .st-ballcard .st-mini .st-mv { font-weight: 700; margin-top: 4px; }
.st .st-ballcard .st-mini .st-mv.st-lime { color: var(--st-lime); }

/* sign-up bonus banner */
.st .st-bonus { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--st-lime); border-radius: 12px; padding: 28px 32px; }
.st .st-bonus .st-amt { font-size: 64px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.st .st-bonus .st-amt small { display: block; font: 12px 'DM Mono', ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.st .st-bonus h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.01em; color: inherit; }
.st .st-bonus p { margin: 0; font-size: 16px; line-height: 1.5; }
.st .st-bonus .st-meter { margin-top: 14px; height: 10px; border-radius: 6px; background: rgba(28, 34, 48, .15); overflow: hidden; }
.st .st-bonus .st-meter i { display: block; height: 100%; background: var(--st-ink); border-radius: 6px; }
.st .st-bonus .st-meter-t { margin-top: 6px; font-size: 13px; font-weight: 500; }
.st .st-bonus .st-tag { align-self: start; padding: 6px 14px; border-radius: 999px; background: var(--st-ink); color: var(--st-lime); font: 12px 'DM Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

/* stat cards */
.st .st-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.st .st-stat { background: #fff; border: 1px solid var(--st-line); border-radius: 12px; padding: 22px 24px; }
.st .st-stat .st-top { display: flex; justify-content: space-between; align-items: center; }
.st .st-stat .st-k { font: 12px 'DM Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--st-red); }
.st .st-stat .st-ico { width: 40px; height: 40px; border-radius: 8px; background: var(--st-lime); display: flex; align-items: center; justify-content: center; color: var(--st-ink); }
.st .st-stat .st-v { margin-top: 20px; font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.st .st-stat .st-v small { font-size: 14px; font-weight: 500; color: var(--st-ink-3); }
.st .st-stat .st-d { margin-top: 6px; font-size: 13px; color: var(--st-ink-3); }
.st .st-stat .st-d.st-red { color: var(--st-red); }

/* tables + chips + pagination */
.st .st-tablewrap { overflow-x: auto; margin-top: 8px; }
.st .st-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.st .st-table thead tr { border-bottom: 1px solid var(--st-line); }
.st .st-table th { text-align: left; padding: 12px; font: 11px 'DM Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--st-red); font-weight: 400; white-space: nowrap; }
.st .st-table th.r, .st .st-table td.r { text-align: right; }
.st .st-table tbody tr { border-bottom: 1px solid var(--st-line); }
.st .st-table td { padding: 14px 12px; vertical-align: top; }
.st .st-table td.mono { font: 13px 'DM Mono', ui-monospace, monospace; white-space: nowrap; }
.st .st-table td.nw { white-space: nowrap; }
.st .st-table td.prod { line-height: 1.45; min-width: 240px; }
.st .st-table td.b { font-weight: 700; }
.st .st-empty-row { text-align: center; color: var(--st-ink-3); padding: 36px 12px !important; }
.st .st-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.st .st-chip-ok { background: var(--st-lime); color: var(--st-ink); }
.st .st-chip-wait { border: 1.5px solid var(--st-ink-3); color: var(--st-ink-3); }
.st .st-chip-bad { background: var(--st-red); color: #fff; }
.st .st-legend { display: flex; gap: 16px; font-size: 13px; color: var(--st-ink-3); align-items: center; flex-wrap: wrap; }
.st .st-legend span { display: inline-flex; align-items: center; gap: 6px; }
.st .st-legend b { width: 10px; height: 10px; border-radius: 50%; display: block; }
.st .st-pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; font-size: 13px; color: var(--st-ink-3); }
.st .st-pager nav { display: flex; gap: 6px; flex-wrap: wrap; }
.st .st-pager button { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px; border: 1.5px solid var(--st-line); background: #fff; color: var(--st-ink); font: 700 14px 'DM Sans', sans-serif; cursor: pointer; }
.st .st-pager button.on { border-color: var(--st-ink); background: var(--st-ink); color: #fff; }
.st .st-pager button:disabled { opacity: .4; cursor: default; }

/* forms (claim, redeem, settings) */
.st .st-form { display: flex; flex-direction: column; gap: 22px; }
.st .st-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; position: relative; }
.st .st-field .st-hint { font-size: 12px; font-weight: 400; color: var(--st-ink-3); }
.st .st-field .st-err { font-size: 12px; font-weight: 500; color: #b4161b; }
.st .st-input, .st .st-field input[type=text], .st .st-field input[type=email], .st .st-field input[type=tel], .st .st-field input[type=number], .st .st-field input[type=date], .st .st-field input[type=password], .st .st-field select, .st .st-field textarea {
    width: 100%; box-sizing: border-box; font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid oklch(0.85 0.01 90); border-radius: 8px; background: #fff; color: var(--st-ink); }
.st .st-field input:focus, .st .st-field select:focus, .st .st-field textarea:focus { outline: 2px solid var(--st-lime); outline-offset: 1px; border-color: var(--st-ink); }
.st .st-field input[readonly], .st .st-field input:disabled { background: var(--st-card); color: var(--st-ink-3); }
.st .st-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st .st-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.st .st-secthead { display: flex; gap: 14px; align-items: baseline; }
.st .st-secthead .st-num { font: 12px 'DM Mono', ui-monospace, monospace; color: var(--st-red); letter-spacing: .12em; }
.st .st-secthead h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; color: inherit; }
.st .st-secthead .st-sub { font-size: 13px; color: var(--st-ink-3); }
.st .st-submit { align-self: flex-start; font: inherit; padding: 14px 32px; background: var(--st-red); color: #fff; border: 0; border-radius: 6px; font-weight: 700; cursor: pointer; }
.st .st-submit:hover { background: var(--st-red-d); }
.st .st-submit:disabled { opacity: .45; cursor: not-allowed; }
.st .st-flash { display: none; padding: 14px 16px; border-radius: 8px; background: var(--st-lime); font-weight: 500; }
.st .st-flash.show { display: block; }

/* claim form */
.st .st-prow { display: grid; grid-template-columns: minmax(0, 2.2fr) 90px minmax(0, 1.2fr) minmax(0, 1fr) 36px; gap: 14px; align-items: end; }
.st .st-prow .st-rm { height: 44px; width: 36px; border: 0; background: none; color: var(--st-ink-3); font-size: 22px; cursor: pointer; }
.st .st-prow .st-pname { font-size: 12px; font-weight: 400; color: var(--st-ink-3); min-height: 16px; }
.st .st-prow .st-pname.bad { color: #b4161b; }
.st .st-addrow { align-self: flex-start; background: none; border: 1.5px dashed var(--st-ink-3); border-radius: 8px; padding: 10px 16px; font: 700 14px 'DM Sans', sans-serif; color: var(--st-ink); cursor: pointer; }
.st .st-totals { display: flex; gap: 32px; flex-wrap: wrap; padding: 18px 22px; background: var(--st-card); border-radius: 10px; font-size: 16px; }
.st .st-totals strong { font-size: 22px; }
.st .st-upload { border: 1.5px dashed var(--st-ink-3); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.st .st-upload .st-pick { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.st .st-upload label.st-filebtn { padding: 10px 18px; background: var(--st-ink); color: #fff; border-radius: 6px; font-weight: 700; cursor: pointer; }
.st .st-upload input[type=file] { display: none; }
.st .st-upload p { margin: 0; font-size: 13px; color: var(--st-ink-3); line-height: 1.5; }
.st .st-ac { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin-top: 4px; background: #fff; border: 1px solid var(--st-line); border-radius: 8px; box-shadow: 0 14px 40px rgba(0,0,0,.14); max-height: 280px; overflow-y: auto; display: none; }
.st .st-ac.open { display: block; }
.st .st-ac button { display: block; width: 100%; text-align: left; padding: 11px 14px; border: 0; background: #fff; font: 500 14px 'DM Sans', sans-serif; color: var(--st-ink); cursor: pointer; }
.st .st-ac button:hover, .st .st-ac button.on { background: var(--st-lime); }
.st .st-ac .st-acempty { padding: 11px 14px; font-size: 13px; color: var(--st-ink-3); }

/* redeem */
.st .st-redeem { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.st .st-redeem .st-col { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.st .st-balbig { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.st .st-balbig .st-v { font-size: 48px; font-weight: 700; letter-spacing: -.02em; }
.st .st-balbig .st-v small { font: 12px 'DM Mono', ui-monospace, monospace; color: var(--st-ink-3); }
.st .st-balbig .st-d { color: var(--st-ink-3); font-size: 14px; }
.st .st-eligible { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--st-lime); font: 12px 'DM Mono', ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.st .st-eligible i { width: 7px; height: 7px; border-radius: 50%; background: var(--st-red); display: block; }
.st .st-info { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 10px; background: var(--st-card); }
.st .st-info .st-ico { color: var(--st-red); flex: none; margin-top: 2px; }
.st .st-info strong { display: block; }
.st .st-info p { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--st-ink-3); }
.st .st-money { display: flex; align-items: center; border: 1.5px solid oklch(0.85 0.01 90); border-radius: 8px; background: #fff; overflow: hidden; }
.st .st-money > span { padding: 0 14px; font-weight: 700; color: var(--st-ink-3); }
.st .st-money input { border: 0 !important; border-radius: 0 !important; outline: none !important; flex: 1; font-size: 20px !important; font-weight: 700 !important; }
.st .st-team { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 18px; border: 1.5px dashed var(--st-ink-3); border-radius: 10px; background: #fff; cursor: pointer; font: inherit; color: var(--st-ink); text-align: left; }
.st .st-teamf { display: none; flex-direction: column; gap: 16px; padding: 22px; background: var(--st-card); border-radius: 12px; }
.st .st-teamf.open { display: flex; }
.st .st-list { display: flex; flex-direction: column; }
.st .st-list .st-li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--st-line); }
.st .st-list .st-li:last-child { border-bottom: 0; }
.st .st-list .st-t { font-weight: 700; font-size: 14px; }
.st .st-list .st-s { font-size: 12px; color: var(--st-ink-3); margin-top: 2px; }
.st .st-bullets { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--st-ink-3); }
.st .st-bullets li { display: flex; gap: 10px; }
.st .st-bullets li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--st-red); margin-top: 7px; }

/* compat: default-theme (dark Tailwind) page bodies inside the S-Tech shell */
.st .st-content .dark-glass, .st .st-content .glass-card { background: #fff; border: 1px solid var(--st-line); backdrop-filter: none; box-shadow: none; }
.st .st-content .text-white { color: var(--st-ink); }
.st .st-content .text-slate-300, .st .st-content .text-slate-400, .st .st-content .text-slate-500 { color: var(--st-ink-3); }
.st .st-content .bg-slate-900, .st .st-content .bg-slate-900\/50, .st .st-content .bg-slate-800, .st .st-content .bg-slate-800\/50, .st .st-content .bg-slate-800\/80 { background: var(--st-card); }
.st .st-content .border-slate-800, .st .st-content .border-slate-700, .st .st-content .border-slate-800\/80 { border-color: var(--st-line); }
.st .st-content .text-brand-400, .st .st-content .text-brand-300 { color: var(--st-red); }
.st .st-content .bg-brand-600 { background: var(--st-red); color: #fff; }

@media (max-width: 1100px) {
    .st .st-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .st .st-dhero { grid-template-columns: 1fr; }
    .st .st-redeem { grid-template-columns: 1fr; }
    .st .st-g3 { grid-template-columns: 1fr; }
    .st .st-prow { grid-template-columns: 1fr 1fr; }
    .st .st-prow .st-rm { justify-self: end; }
    .st .st-bonus { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    .st .st-shell { grid-template-columns: 1fr; }
    .st .st-side { position: static; height: auto; }
    .st .st-grid4 { grid-template-columns: 1fr; }
    .st .st-topbar { padding: 0 16px; height: auto; min-height: 80px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
    .st .st-content { padding: 20px 16px; }
    .st .st-dhero { padding: 24px; }
    .st .st-dhero h2 { font-size: 40px; }
    .st .st-g2 { grid-template-columns: 1fr; }
    .st .st-prow { grid-template-columns: 1fr; }
    .st .st-card { padding: 20px 18px 24px; }
}
.st .st-pager nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; box-sizing: border-box; border-radius: 8px; border: 1.5px solid var(--st-line); background: #fff; color: var(--st-ink); font: 700 14px 'DM Sans', sans-serif; text-decoration: none; }
.st .st-shell .st-pager nav a { color: var(--st-ink); }
.st .st-shell .st-pager nav a.on { border-color: var(--st-ink); background: var(--st-ink); color: #fff; }
.st .st-pager nav a.dis { opacity: .4; cursor: default; }

/* registration-form renderer, 'stech' variant (Account Settings) */
.st .st-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st .st-fields > div:not(.st-g2), .st .st-fields .st-g2 > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.st .st-fields > .st-g2 { grid-column: 1 / -1; }
.st .st-flabel { font-size: 14px; font-weight: 500; color: var(--st-ink); }
.st .st-finput { width: 100%; box-sizing: border-box; font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid oklch(0.85 0.01 90); border-radius: 8px; background: #fff; color: var(--st-ink); }
.st .st-finput:focus { outline: 2px solid var(--st-lime); outline-offset: 1px; border-color: var(--st-ink); }
.st .st-hint { margin: 0; font-size: 12px; font-weight: 400; color: var(--st-ink-3); }
@media (max-width: 800px) { .st .st-fields { grid-template-columns: 1fr; } }

/* logged-in variants of the public pages (inside the member shell) */
.st .st-docgrid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; margin-top: 24px; align-items: start; }
.st .st-docgrid nav.st-toc { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--st-line); padding-left: 12px; }
.st .st-docgrid nav.st-toc .st-toc-h { font: 11px 'DM Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; opacity: .6; padding: 0 14px 8px; }
.st .st-shell .st-docgrid nav.st-toc a { padding: 10px 14px; border-radius: 8px; color: var(--st-ink); text-decoration: none; font-weight: 500; }
.st .st-shell .st-docgrid nav.st-toc a:hover { background: var(--st-card); }
.st .st-docgrid.st-doc-single { grid-template-columns: 1fr; }
.st .st-docgrid .ll-rich, .st .st-card .st-doc-body .ll-rich { font-size: 16px; line-height: 1.7; color: var(--st-ink-3); }
.st .st-docgrid .ll-rich h1, .st .st-docgrid .ll-rich h2 { font-size: 28px; letter-spacing: -.02em; margin: 44px 0 12px; color: var(--st-ink); scroll-margin-top: 24px; }
.st .st-docgrid .ll-rich > h2:first-child, .st .st-docgrid .ll-rich > h1:first-child { margin-top: 0; }
.st .st-docgrid .ll-rich h3 { font-size: 20px; color: var(--st-ink); margin: 24px 0 10px; }
.st .st-docgrid .ll-rich a, .st .st-card .ll-rich a { color: var(--st-red); }
.st .st-docgrid .ll-rich details { border-bottom: 1px solid var(--st-line-2); }
.st .st-docgrid .ll-rich details:first-of-type { border-top: 2px solid var(--st-ink); }
.st .st-docgrid .ll-rich summary { cursor: pointer; font-size: 18px; font-weight: 700; color: var(--st-ink); padding: 20px 0; }
.st .st-docgrid .ll-rich details > :not(summary) { padding: 0 48px 16px 0; }
.st .st-card .st-facts { padding: 24px 0 8px; }
.st .st-contact.st-contact-in { padding: 0; background: none; }
@media (max-width: 960px) { .st .st-docgrid { grid-template-columns: 1fr; gap: 24px; } .st .st-docgrid nav.st-toc { position: static; border-left: 0; padding-left: 0; flex-direction: row; flex-wrap: wrap; } }

/* buttons inside the member shell: beat `.st .st-shell a { color: red }` */
.st .st-shell a.st-btn-red, .st .st-shell a.st-btn-red:hover { color: #fff; }
.st .st-shell a.st-btn-line { color: var(--st-ink); }
.st .st-shell a.st-btn-line:hover { background: var(--st-ink); color: var(--st-lime); }
.st .st-shell a.st-btn-sm, .st .st-shell a.st-btn-ghost { color: var(--st-ink); }
.st .st-dhero .st-help a.st-warranty { display: inline-block; margin-top: 8px; font-weight: 700; }

/* Account Settings - matches reference/stech/v2/S-Tech Account Settings.html */
.st .st-set { background: #fff; border: 1px solid var(--st-line); border-radius: 12px; padding: 28px; }
.st .st-set .st-sechead2 { padding-bottom: 14px; border-bottom: 2px solid var(--st-ink); }
.st .st-set .st-sechead2 .st-num { font: 11px 'DM Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--st-red); }
.st .st-set .st-sechead2 h2 { margin: 4px 0 0; font-size: 26px; letter-spacing: -.02em; color: inherit; font-weight: 700; }
.st .st-set .st-sechead2 .st-sub { font-size: 13px; color: var(--st-ink-3); margin-top: 2px; }
.st .st-set .st-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.st .st-set .st-fcell { min-width: 0; }
.st .st-set .st-fcell.st-full { grid-column: 1 / -1; }
.st .st-set .st-fcell > div { display: block; }
.st .st-set .st-flabel, .st .st-set .st-lbl { display: block; font: 11px 'DM Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--st-red); margin: 0; }
.st .st-set .st-finput, .st .st-set select.st-finput { display: block; box-sizing: border-box; width: 100%; margin-top: 8px; padding: 14px 16px; font: 400 15px 'DM Sans', sans-serif; color: var(--st-ink); background: #fff; border: 1.5px solid oklch(0.82 0.01 90); border-radius: 8px; text-transform: none; letter-spacing: 0; }
.st .st-set .st-finput:disabled { cursor: not-allowed; opacity: .7; background: var(--st-card); }
.st .st-set .st-hint { display: block; margin-top: 6px; font: italic 12px 'DM Sans', sans-serif; text-transform: none; letter-spacing: 0; color: var(--st-ink-3); }
.st .st-set .st-pw { position: relative; display: block; }
.st .st-set .st-pw .st-finput { padding-right: 48px; }
.st .st-set .st-eye { position: absolute; right: 8px; top: 8px; width: 38px; height: 46px; border: 0; background: none; color: var(--st-ink-3); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.st .st-setactions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.st .st-setactions .st-submit { padding: 14px 32px; }
@media (max-width: 1100px) { .st .st-set .st-fields { grid-template-columns: 1fr; } }
.st .st-setactions .st-submit, .st .st-setactions .st-btn { box-sizing: border-box; padding: 14px 32px; font-size: 16px; line-height: 1.4; border: 1.5px solid var(--st-red); border-radius: 6px; font-weight: 700; }
.st .st-setactions .st-btn-line { border-color: var(--st-ink); }

/* ---- AM-authored FAQ / Terms / Privacy HTML in the S-Tech design (logged in and out) ----
 * Structure the DB content uses (see the generated faqText / termsText):
 *   <h2>Section</h2><div class="st-qa"><details><summary>Question</summary><div>Answer</div></details>...</div>
 *   <h2>Section</h2><div class="st-clauses"><div class="st-clause"><span>1.1</span><div>Clause</div></div>...</div>
 * h2s are numbered 01, 02... automatically. */
.st .ll-rich { counter-reset: stsec; }
.st .ll-rich h2 { counter-increment: stsec; font-size: 32px; line-height: 1.15; letter-spacing: -.02em; margin: 56px 0 12px; color: var(--st-ink); }
.st .ll-rich h2::before { content: counter(stsec, decimal-leading-zero); display: block; margin-bottom: 6px; font: 12px 'DM Mono', ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--st-red); }
.st .ll-rich > h2:first-child { margin-top: 0; }
.st .ll-rich .st-qa, .st .ll-rich .st-clauses { border-top: 2px solid var(--st-ink); }
.st .ll-rich .st-qa details:first-of-type { border-top: 0; }
.st .ll-rich details { border-bottom: 1px solid var(--st-line-2); }
.st .ll-rich summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-size: 18px; font-weight: 700; color: var(--st-ink); }
.st .ll-rich summary::-webkit-details-marker { display: none; }
.st .ll-rich summary::after { content: '+'; flex: none; font: 20px 'DM Mono', ui-monospace, monospace; color: var(--st-red); transition: transform .2s; }
.st .ll-rich details[open] summary::after { transform: rotate(45deg); }
.st .ll-rich details > :not(summary) { padding: 0 48px 24px 0; margin: 0; line-height: 1.6; color: var(--st-ink-3); }
.st .ll-rich .st-providers { padding: 12px 0 0; columns: 2; column-gap: 32px; font-size: 14px; line-height: 1.9; color: var(--st-ink); }
.st .ll-rich .st-clause { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--st-line-2); line-height: 1.6; color: var(--st-ink-3); }
.st .ll-rich .st-clause > span { font: 13px/1.9 'DM Mono', ui-monospace, monospace; color: var(--st-ink); }
.st .ll-rich .st-clause ul, .st .ll-rich .st-clause ol { margin: 8px 0; }
.st .ll-rich .st-clause p { margin: 8px 0 0; }
@media (max-width: 700px) { .st .ll-rich .st-providers { columns: 1; } .st .ll-rich details > :not(summary) { padding-right: 0; } }

/* ---- Submit a Claim (S-Tech v2 template) ---- */
.st .st-claim { background: #fff; border: 1px solid var(--st-line); border-radius: 12px; padding: 36px 40px; gap: 20px; }
.st .st-claim .st-chead .st-num { font: 12px 'DM Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--st-red); }
.st .st-claim .st-chead h2 { margin: 6px 0 8px; font-size: 36px; font-weight: 700; letter-spacing: -.02em; color: inherit; }
.st .st-claim .st-chead p { margin: 0; font-size: 17px; color: var(--st-ink-3); }
.st .st-claim .st-rule { border-top: 2px solid var(--st-ink); }
.st .st-claim .st-field { display: block; gap: 0; font: 11px 'DM Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--st-red); font-weight: 400; }
.st .st-claim .st-field input[type=text], .st .st-claim .st-field input[type=number], .st .st-claim .st-field input[type=date] {
    display: block; box-sizing: border-box; width: 100%; padding: 14px 16px; margin-top: 8px; font: 400 15px 'DM Sans', sans-serif; letter-spacing: 0; text-transform: none;
    color: var(--st-ink); background: #fff; border: 1.5px solid #cfcfc6; border-radius: 8px;
}
.st .st-claim .st-field input[readonly] { background: #f3f3ea; color: var(--st-ink); }
.st .st-claim .st-field .st-hint { display: block; margin-top: 6px; font: 12px 'DM Sans', sans-serif; letter-spacing: 0; text-transform: none; color: #b4161b; }
.st .st-claim .st-field .st-hint:empty { display: none; }
.st .st-claim .st-ph { margin: 12px 0 0; font-size: 20px; font-weight: 700; }
.st .st-claim #rows { display: flex; flex-direction: column; }
.st .st-claim .st-prow { grid-template-columns: minmax(0, 2fr) 90px minmax(0, 1fr) minmax(0, 1fr) 36px; gap: 12px; margin-top: 12px; padding-bottom: 18px; }
.st .st-claim .st-prow .st-field { position: relative; }
.st .st-claim .st-prow .st-rm { height: 48px; }
.st .st-claim .st-prow .st-pname { position: absolute; left: 0; top: 100%; margin-top: 4px; white-space: nowrap; font: 12px 'DM Sans', sans-serif; letter-spacing: 0; text-transform: none; color: var(--st-ink-3); }
.st .st-claim .st-prow .st-pname:empty { display: none; }
.st .st-claim .st-prow .st-pname.bad { color: #b4161b; }
@media (max-width: 1100px) { .st .st-claim .st-prow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .st .st-claim { padding: 24px 20px; } .st .st-claim .st-chead h2 { font-size: 28px; } .st .st-claim .st-prow { grid-template-columns: 1fr; } }
.st .st-claim .st-ac button span { font-weight: 400; color: var(--st-ink-3); }
.st .st-claim .st-ac button.on span, .st .st-claim .st-ac button:hover span { color: var(--st-ink); }
.st .st-table td.prod .st-pl + .st-pl { margin-top: 8px; }
.st .st-table td.prod .st-pl strong { display: block; }
.st .st-table td.prod .st-pl span { display: block; font-size: 13px; color: var(--st-ink-3); }

/* ---- "please wait" overlay (forms with data-st-loading) ---- */
.st .st-loading { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.82); }
.st .st-loading[hidden] { display: none; }
.st .st-loadbox { background: #fff; border: 1px solid var(--st-line); border-radius: 12px; padding: 32px 40px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.15); max-width: min(420px, calc(100vw - 32px)); }
.st .st-loadbox p { margin: 16px 0 0; font-size: 16px; font-weight: 700; color: var(--st-ink); }
.st .st-spinner { display: block; width: 44px; height: 44px; margin: 0 auto; border: 4px solid var(--st-line); border-top-color: var(--st-red); border-radius: 50%; animation: st-spin .8s linear infinite; }
@keyframes st-spin { to { transform: rotate(360deg); } }

/* Terms & Conditions: Print button beside the heading */
.st .st-heroRow { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.st .st-heroRow h1 { margin-right: auto; }
.st .st-printbtn { flex: none; align-self: flex-start; margin-top: 16px; }
.st .st-cardhead .st-printbtn { margin-top: 0; }
@media (max-width: 800px) { .st .st-printbtn { margin-top: 8px; } }
