/* SKS Market business pages (business/*.html), 2026-11-26.
   Loaded after ../style.css: same tokens, header, buttons and footer as the
   home page. One long page per trade, read top to bottom:
   hero + at a glance -> sticky "on this page" bar -> set up -> a day ->
   logins -> look it up (folded) -> help guides -> get started. */

.bz { --card: var(--surface); --warn-bg: #fff6e5; --warn-ink: #8a5a00; --warn-line: #f3d9a4;
      --no: #b42318; --plan-bg: #f4effd; --plan-line: #ddd0f5; --plan-ink: #5b21b6; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .bz { --warn-bg: #2d2412; --warn-ink: #f5c26b; --warn-line: #4a3a17; --no: #ff8a80;
        --plan-bg: #221a33; --plan-line: #3a2d57; --plan-ink: #c4b0f5; }
}
:root[data-theme="dark"] .bz { --warn-bg: #2d2412; --warn-ink: #f5c26b; --warn-line: #4a3a17; --no: #ff8a80;
    --plan-bg: #221a33; --plan-line: #3a2d57; --plan-ink: #c4b0f5; }

html { scroll-padding-top: 128px; }

/* ===== Hero ===== */
.bz-hero {
    padding: 34px 0 40px;
    background: radial-gradient(900px 420px at 90% -20%, var(--brand-soft), transparent 65%), var(--bg);
    border-bottom: 1px solid var(--line);
}
.bz-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs i { font-size: 9px; opacity: .6; }
.bz-badge { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; flex-wrap: wrap; }
.bz-badge .ti { width: 46px; height: 46px; font-size: 20px; border-radius: 12px; }
.bz-parent { font-size: 13px; color: var(--muted); }
.bz-hero h1 { font-size: 40px; font-weight: 800; margin: 0 0 12px; }
.bz-hero .lead { font-size: 17px; color: var(--muted); margin: 0 0 16px; max-width: 640px; }
.bz-note {
    font-size: 14px; max-width: 640px; margin: 0 0 16px; padding: 10px 14px; border-radius: 10px;
    background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brand);
}
.bz-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.bz-glance { padding: 20px 22px 8px; }
.bz-glance h2 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 6px; }
.bz-glance dl { margin: 0; }
.bz-glance dl > div { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.bz-glance dl > div:first-child { border-top: 0; }
.bz-glance dl > div::before {
    font-family: 'Font Awesome 5 Free'; font-weight: 900; content: '\f00c'; color: var(--brand);
    grid-row: span 2; font-size: 13px; padding-top: 3px;
}
.bz-glance dl > div:nth-child(1)::before { content: '\f54e'; }
.bz-glance dl > div:nth-child(2)::before { content: '\f0ae'; }
.bz-glance dl > div:nth-child(3)::before { content: '\f0c0'; }
.bz-glance dl > div:nth-child(4)::before { content: '\f3cd'; }
.bz-glance dl > div:nth-child(5)::before { content: '\f205'; }
.bz-glance dt { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.bz-glance dd { margin: 2px 0 0; font-size: 14.5px; }

/* ===== On this page ===== */
.bz-jump {
    position: sticky; top: 64px; z-index: 20;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.bz-jump .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 9px; padding-bottom: 9px; scrollbar-width: none; }
.bz-jump .wrap::-webkit-scrollbar { display: none; }
.bz-jump a {
    flex: none; padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
    color: var(--muted); text-decoration: none !important; white-space: nowrap;
}
.bz-jump a:hover { color: var(--text); background: var(--surface-2); }
.bz-jump a.on { color: var(--brand-ink); background: var(--brand-soft); font-weight: 600; }

/* ===== Sections ===== */
.bz-sec { padding: 56px 0; }
.bz > .bz-sec:nth-of-type(odd) { background: var(--surface); --card: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bz-head { margin: 0 0 20px; max-width: 760px; }
.bz-head h2 { font-size: 28px; font-weight: 800; margin: 6px 0 0; }
.bz-sec .wrap > p, .bz-sub, .bz-acc-body > p { max-width: 760px; }
.bz-sub { color: var(--muted); }
.bz h3 { font-size: 17px; margin: 22px 0 8px; }
.bz h4 { font-size: 16px; }
.bz ul, .bz ol { padding-left: 22px; }
.bz li { margin: 4px 0; }
.path {
    display: inline; font-size: 12.5px; font-weight: 600; background: var(--brand-soft); color: var(--brand-ink);
    border-radius: 6px; padding: 1px 7px; box-decoration-break: clone; -webkit-box-decoration-break: clone; white-space: normal;
}
kbd { font: 600 12px/1 ui-monospace, Consolas, monospace; padding: 2px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--card); }

/* Set-up steps: numbered cards */
.bz ol.steps { list-style: none; padding: 0; margin: 16px 0; counter-reset: st; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.bz ol.steps > li {
    counter-increment: st; position: relative; margin: 0; padding: 16px 16px 16px 60px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r); font-size: 14.5px;
}
.bz ol.steps > li::before {
    content: counter(st); position: absolute; left: 16px; top: 15px; width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 14px;
}
.bz ol.steps > li > strong:first-child { display: block; font-size: 15.5px; margin-bottom: 3px; }
/* style.css numbers the home page's .steps; a list inside a step is plain. */
.bz ol.steps li li { padding: 0; }
.bz ol.steps li li::before { content: none; }

/* A day: one vertical timeline */
.flow { counter-reset: fl; margin: 18px 0 8px; max-width: 860px; }
.flow > .step { counter-increment: fl; position: relative; padding: 0 0 26px 60px; }
.flow > .step::before {
    content: counter(fl); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 12px;
    display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font-weight: 800; border: 1px solid var(--brand);
}
.flow > .step::after { content: ''; position: absolute; left: 18px; top: 44px; bottom: 6px; border-left: 2px dashed var(--line); }
.flow > .step:last-child { padding-bottom: 4px; }
.flow > .step:last-child::after { display: none; }
.flow > .step > h4 { font-size: 17px; margin: 8px 0 4px; }
.flow > .step > p { margin: 0 0 10px; }
.who { display: flex; flex-wrap: wrap; gap: 6px; }
.who span {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
    background: var(--card); border: 1px solid var(--line); color: var(--text);
}
.who span::before { font-family: 'Font Awesome 5 Free'; font-weight: 900; content: '\f007'; font-size: 10px; color: var(--brand); }
.who span.out { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-ink); }
.who span.out::before { content: '\f15c'; color: var(--warn-ink); }

/* Logins: one card per seat */
.seats { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; margin: 18px 0; }
.seat { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 12px; }
.seat h4 { font-size: 17px; margin: 0 0 4px; }
.seat .for { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.seat dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; font-size: 13.5px; border-top: 1px solid var(--line); padding-top: 10px; }
.seat dt { color: var(--muted); font-weight: 600; }
.seat dd { margin: 0; }
.seat dd.no { color: var(--no); }
.seat.top { border: 2px solid var(--brand); }
.seat .badge {
    position: absolute; top: -11px; right: 14px; background: var(--brand); color: var(--on-brand);
    font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 10px;
}

/* Fold-outs: "see it as one picture", "how to add a login" */
details.bz-more { margin: 16px 0; background: var(--card); border: 1px dashed var(--line); border-radius: 12px; max-width: 980px; }
details.bz-more > summary { padding: 12px 16px; cursor: pointer; font-weight: 600; color: var(--brand); list-style: none; display: flex; align-items: center; gap: 10px; }
details.bz-more > summary::-webkit-details-marker { display: none; }
details.bz-more > summary::before { font-family: 'Font Awesome 5 Free'; font-weight: 900; content: '\f054'; font-size: 11px; transition: transform .15s; }
details.bz-more[open] > summary::before { transform: rotate(90deg); }
details.bz-more > :not(summary) { margin-left: 16px; margin-right: 16px; }
details.bz-more > :last-child { margin-bottom: 16px; }
details.bz-more ol.steps { grid-template-columns: 1fr; }

/* Look it up: one fold per topic */
.bz-acc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin: 0 0 10px; max-width: 980px; }
.bz-acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 15px 18px; }
.bz-acc > summary::-webkit-details-marker { display: none; }
.bz-acc > summary h3 { margin: 0; font-size: 16px; font-weight: 600; flex: 1; }
.bz-acc > summary::after { font-family: 'Font Awesome 5 Free'; font-weight: 900; content: '\f078'; font-size: 12px; color: var(--muted); transition: transform .15s; }
.bz-acc[open] > summary::after { transform: rotate(180deg); }
.bz-acc > summary:hover h3 { color: var(--brand); }
.bz-acc[open] { box-shadow: var(--shadow); }
.bz-acc-body { padding: 0 18px 14px; border-top: 1px solid var(--line); }
.bz-acc-body > :first-child { margin-top: 14px; }
.bz-acc-body h3 { font-size: 15.5px; }

/* Tables, callouts, diagrams */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 12px 0 16px; background: var(--surface); }
.bz table { border-collapse: collapse; width: 100%; font-size: 14px; }
.bz th, .bz td { padding: 9px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.bz tr:first-child th, .bz tr:first-child td { border-top: 0; }
.bz th { background: var(--surface-2); font-weight: 600; font-size: 13px; }
.callout {
    margin: 14px 0; padding: 12px 16px; border-radius: 12px; max-width: 860px; font-size: 14.5px;
    background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); border-left: 4px solid var(--brand);
}
.callout.warn { background: var(--warn-bg); border-color: var(--warn-line); border-left-color: #e08a00; }
.callout.plan { background: var(--plan-bg); border-color: var(--plan-line); border-left-color: #7c3aed; }
figure.diagram { margin: 0; overflow-x: auto; }
figure.diagram figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
pre.mermaid { margin: 0; background: transparent; text-align: center; }
pre.mermaid:not([data-processed]) { color: transparent; font-size: 1px; line-height: 1; min-height: 160px; background: var(--surface-2); border-radius: 10px; }
.no-mermaid { font-size: 13px; color: var(--muted); }

/* Video */
.bz-video { max-width: 860px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-frame iframe, .video-frame button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame button { padding: 0; cursor: pointer; background: #000; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.video-frame .play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%;
    display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-size: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.bz-video figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.bz-video figure { margin: 0; }

/* Help guides + get started */
.bz-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin: 16px 0 0; }
.bz-guides a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; text-decoration: none !important; color: var(--text); }
.bz-guides a:hover { border-color: var(--brand); }
.bz-guides .ti { width: 36px; height: 36px; font-size: 15px; border-radius: 10px; }
.bz-guides b { display: block; font-size: 14.5px; font-weight: 600; }
.bz-guides small { display: block; color: var(--muted); font-size: 12.5px; }
.bz-guides .go { margin-left: auto; color: var(--muted); font-size: 12px; }
.bz-others { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bz-others .chip { text-decoration: none !important; }
.bz-start {
    display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 30px 32px; border-radius: 18px;
    background: var(--band); color: #fff;
}
.bz-start h2 { color: #fff; font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.bz-start p { margin: 0; color: rgba(255, 255, 255, .82); }
.bz-start .ctas { justify-content: flex-end; }
.bz-start .btn-o { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }

/* ===== Manufacturer channel guide blocks ===== */
.bz-band { background: linear-gradient(135deg, #0b3d36, #00695c 60%, #0c8f8a); color: #fff; border-radius: 18px; padding: 18px; max-width: 860px; }
.gd-ladder { display: grid; gap: 8px; }
.gd-rung { display: grid; grid-template-columns: 2.4rem 1fr auto; align-items: center; gap: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 9px 13px; position: relative; }
.gd-rung + .gd-rung::before { content: ''; position: absolute; left: 1.95rem; top: -9px; height: 8px; border-left: 2px dashed rgba(255, 255, 255, .45); }
.gd-rung .ico { font-size: 1.45rem; text-align: center; }
.gd-rung .nm { font-weight: 700; }
.gd-rung .ds { font-size: 13.5px; opacity: .85; }
.gd-rung .tag { font-size: 11.5px; font-weight: 700; white-space: nowrap; background: #fff; color: #0b3d36; border-radius: 999px; padding: 2px 10px; }
.gd-rung .tag.alt { background: #ffe8b3; color: #6b4500; }
.gd-rung.side { margin-left: 2.6rem; background: rgba(255, 255, 255, .06); border-style: dashed; }
.gd-choose { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 14px 0 22px; }
.gd-pick { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.gd-pick.best { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.gd-pick .plan { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--brand-soft); color: var(--brand-ink); border-radius: 999px; padding: 2px 10px; }
.gd-pick .plan.hi { background: var(--plan-bg); color: var(--plan-ink); }
.gd-pick h4 { margin: 2px 0 0; font-size: 17px; }
.gd-pick .you { color: var(--muted); font-size: 14px; margin: 0; font-style: italic; }
.gd-pick ul { margin: 4px 0 0; font-size: 14px; }
.gd-pick .ribbon { position: absolute; top: -11px; right: 14px; background: var(--brand); color: var(--on-brand); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
.gd-timeline { list-style: none; padding: 0 !important; margin: 14px 0 22px; counter-reset: ph; max-width: 860px; }
.gd-timeline > li { counter-increment: ph; position: relative; padding: 0 0 18px 56px; margin: 0; }
.gd-timeline > li::before { content: counter(ph); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 12px; background: var(--brand); color: var(--on-brand); font-weight: 800; display: grid; place-items: center; }
.gd-timeline > li::after { content: ''; position: absolute; left: 17px; top: 40px; bottom: 4px; border-left: 2px dashed var(--line); }
.gd-timeline > li:last-child::after { display: none; }
.gd-timeline h4 { margin: 4px 0 2px; }
.gd-timeline .when { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.gd-matrix td, .gd-matrix th { text-align: center !important; }
.gd-matrix td:first-child, .gd-matrix th:first-child { text-align: left !important; }
.gd-matrix .y::before { content: '●'; color: var(--brand); }
.gd-matrix .n::before { content: '—'; color: var(--muted); }
.gd-matrix .o::before { content: '◐'; color: #e08a00; }
.gd-legend { font-size: 13px; color: var(--muted); margin: -6px 0 18px; }
.gd-legend span { margin-right: 16px; }
.gd-tree { display: flex; flex-direction: column; align-items: center; margin: 16px 0 10px; }
.gd-node { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; text-align: center; min-width: 150px; }
.gd-node strong { display: block; }
.gd-node small { color: var(--muted); }
.gd-node.office { background: var(--band); border-color: var(--band); }
.gd-node.office strong, .gd-node.office small { color: #fff; }
.gd-node.principal { border: 2px solid var(--brand); }
.gd-link { height: 20px; border-left: 2px solid var(--brand); }
.gd-link.lbl { position: relative; height: 28px; }
.gd-link.lbl span { position: absolute; left: 10px; top: 4px; white-space: nowrap; font-size: 12px; color: var(--brand); font-weight: 700; }
.gd-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; position: relative; padding-top: 14px; }
.gd-row::before { content: ''; position: absolute; top: 0; left: 12%; right: 12%; border-top: 2px solid var(--brand); }
.gd-story { border-radius: var(--r); background: var(--warn-bg); border: 1px solid var(--warn-line); padding: 16px 20px; margin: 14px 0 22px; max-width: 860px; }
.gd-story .cast { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.gd-story .cast span { background: var(--surface); border: 1px solid var(--warn-line); border-radius: 999px; padding: 1px 10px; font-size: 13px; }
.gd-story .t { font-weight: 700; color: var(--warn-ink); margin-right: 5px; }
.gd-faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin: 0 0 8px; max-width: 860px; }
.gd-faq summary { cursor: pointer; padding: 12px 16px; font-weight: 600; }
.gd-faq details > :not(summary) { margin: 0 16px 12px; }

/* ===== Phone and tablet ===== */
@media (max-width: 960px) {
    .bz-hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .bz-hero h1 { font-size: 32px; }
}
@media (max-width: 700px) {
    html { scroll-padding-top: 118px; }
    .bz-hero { padding: 22px 0 28px; }
    .bz-hero h1 { font-size: 27px; }
    .bz-hero .lead { font-size: 15.5px; }
    .bz-cta .btn { flex: 1 1 auto; }
    .bz-sec { padding: 38px 0; }
    .bz-head h2 { font-size: 22px; }
    .bz ol.steps { grid-template-columns: 1fr; }
    .flow > .step { padding-left: 50px; }
    .seats { grid-template-columns: 1fr; }
    .bz-start { grid-template-columns: 1fr; padding: 24px 20px; }
    .bz-start .ctas { justify-content: flex-start; }
    .gd-rung { grid-template-columns: 2rem 1fr; }
    .gd-rung .tag { grid-column: 2; justify-self: start; }
    .gd-rung.side { margin-left: 1rem; }
    .gd-link.lbl span { white-space: normal; width: calc(50vw - 40px); font-size: 11px; line-height: 1.2; }
}

/* ===== Paper: everything open, no chrome ===== */
@media print {
    .site-header, .bz-jump, .bz-cta, .bz-start, .site-footer, .wa-fab, .bz-video, .bz-guides { display: none !important; }
    .bz-sec, .bz-hero { padding: 18px 0; background: none !important; border: 0 !important; }
    .bz-acc, .seat, .bz ol.steps > li { break-inside: avoid; box-shadow: none; }
    .bz-hero-grid { grid-template-columns: 1fr; }
}
