/* StackBou 2: Option A "Clean professional" (Nov 2026). Tokens first, then layout, then parts. */

:root {
    --ink: #0B1B33;
    --text: #1B2433;
    --muted: #4A5568;
    --line: #E2E8F0;
    --line2: #CBD5E1;
    --soft: #F5F7FB;
    --blue: #1D4ED8;
    --blue-d: #1E40AF;
    --blue-dd: #1E3A8A;
    --blue-l: #DBEAFE;
    --green: #15803D;
    --red: #B91C1C;
    --radius: 12px;
    --nav-height: 76px;
    --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --head: Manrope, Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sb2 { margin: 0; background: #FFFFFF; color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dd); }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); margin: 0; line-height: 1.15; }
h1 { font-size: 54px; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 38px; font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 21px; font-weight: 700; }
:focus-visible { outline: 3px solid #93C5FD; outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #FFFFFF; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 880px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: 20px; color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 22px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.between { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }

/* Navigation */
.nav { background: rgba(255,255,255,.96); border-bottom: 1px solid #E5E9F0; position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(6px); }
.nav.is-scrolled { box-shadow: 0 6px 24px rgba(11,27,51,.06); }
.navin { display: flex; align-items: center; gap: 28px; min-height: var(--nav-height); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-light, .brand-light:hover { color: #FFFFFF; }
.nav-menu { display: flex; align-items: center; gap: 28px; flex: 1; }
.links { display: flex; gap: 22px; flex-wrap: wrap; flex: 1; }
.links a { color: #2D3748; text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; }
.links a:hover, .links a.on { color: var(--blue); }
.links a.on { font-weight: 700; }
.navcta { display: flex; gap: 14px; align-items: center; }
.ghost { color: #2D3748; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 4px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line2); border-radius: 8px; background: #FFFFFF; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle-bar { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
    .nav-toggle { display: flex; }
    .nav-menu { display: none; position: absolute; left: 0; right: 0; top: var(--nav-height); background: #FFFFFF; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 16px 32px 24px; gap: 16px; box-shadow: 0 16px 32px rgba(11,27,51,.08); }
    .nav-menu.is-open { display: flex; }
    .links { flex-direction: column; gap: 0; }
    .links a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
    .navcta { flex-direction: column; align-items: stretch; }
    body.nav-open { overflow: hidden; }
}

/* Buttons */
.btn, .btn2, .btnr, .btng { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-weight: 600; font-size: 16px; text-decoration: none; border-radius: 8px; padding: 13px 22px; min-height: 44px; border: 0; cursor: pointer; line-height: 1.2; }
.btn { background: var(--blue); color: #FFFFFF; }
.btn:hover { background: var(--blue-d); color: #FFFFFF; }
.btn2 { background: #FFFFFF; color: var(--ink); border: 1px solid var(--line2); padding: 12px 22px; }
.btn2:hover { border-color: var(--blue); color: var(--blue); }
.btnr { background: var(--red); color: #FFFFFF; }
.btnr:hover { background: #991B1B; color: #FFFFFF; }
.btng { background: var(--green); color: #FFFFFF; }
.btng:hover { background: #166534; color: #FFFFFF; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Sections and grids */
.sec { padding: 96px 0; }
.sec-tight { padding: 64px 0; }
.alt { background: var(--soft); }
.dark { background: var(--ink); color: #E2E8F0; }
.dark h2, .dark h3 { color: #FFFFFF; }
.hero { padding: 88px 0 96px; }
.page-hero { padding: 80px 0 48px; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 40px; }

/* Cards */
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: var(--blue); box-shadow: 0 10px 28px rgba(29,78,216,.10); color: inherit; }
/* Highlight drawn as an outline, not a thicker border, so highlighted cards keep exactly the same
   inner size as their neighbours and everything in the row lines up to the pixel. */
.card.hi { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 12px 32px rgba(29,78,216,.12); }
.card .more { color: var(--blue); font-weight: 600; margin-top: auto; }

/* Uniform card rows ("plans"): every card in a row shares the same row lines, so tags, titles,
   prices, descriptions, lists and buttons start at the same height, and the buttons sit on one
   line at the bottom, full width. Set --rows to the number of child elements in each card.
   Without subgrid support the buttons still drop to the bottom (margin-top:auto). */
.card > .btn:last-child, .card > .btn2:last-child, .card > .btnr:last-child, .card > .btng:last-child { margin-top: auto; width: 100%; }
@supports (grid-template-rows: subgrid) {
    .plans > .card { display: grid; grid-row: span var(--rows, 5); grid-template-rows: subgrid; row-gap: 12px; align-content: start; }
    .plans > .card > :last-child { align-self: end; }
    .plans > .card > .tag { justify-self: start; align-self: start; }
    .plans > .card.shot > .muted:last-child { align-self: start; } /* a description, not a button: keep text tops level */
}
.tpl .row { margin-top: auto; flex-wrap: nowrap; }
.tpl .row > * { flex: 1 1 0; }
.tplrow { flex-wrap: nowrap; }
.tplrow > * { flex: 1 1 0; }
.price { font-family: var(--head); font-size: 36px; font-weight: 800; color: var(--ink); line-height: 1.05; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.price.sm { font-size: 26px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--blue-dd); background: var(--blue-l); border-radius: 999px; padding: 4px 10px; align-self: flex-start; }
.tag.grey { background: var(--line); color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .tick { flex: none; margin-top: 4px; color: var(--blue); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: #2D3748; font-weight: 500; }
.trust span { display: flex; gap: 8px; align-items: center; }
.trust .tick { color: var(--blue); }
.num { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-l); color: var(--blue-dd); font-family: var(--head); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.step { display: flex; flex-direction: column; gap: 10px; }
.amt { font-family: var(--head); font-size: 26px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.amt small { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--muted); }
.card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.banner { background: var(--ink); color: #E2E8F0; border-radius: 14px; padding: 28px 32px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.banner strong { color: #FFFFFF; font-family: var(--head); font-size: 20px; }
.banner .btn { background: #FFFFFF; color: var(--ink); }

/* Browser mock and templates */
.browser { border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; background: #FFFFFF; box-shadow: 0 24px 60px rgba(11,27,51,.14); }
.bar { height: 34px; background: #EEF2F7; display: flex; align-items: center; gap: 6px; padding: 0 12px; font-size: 12px; color: #64748B; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.ph { background: #E8EEF7; border-radius: 8px; }
.tpl { display: flex; flex-direction: column; gap: 12px; }
.tplimg { height: 210px; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; background: #FFFFFF; }
.tplimg .top { height: 110px; padding: 16px; font-family: var(--head); font-weight: 700; }
.tplimg .lines { padding: 14px; display: flex; flex-direction: column; gap: 8px; }

/* Real screenshots of demos (store designs, website templates) */
.shot { padding: 14px; gap: 8px; }
.shot-img { display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.shot-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
a.shot:hover .shot-img { border-color: var(--blue); }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--soft); font-weight: 700; color: var(--ink); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl-wrap { overflow-x: auto; }

/* FAQ */
.faq { border-top: 1px solid var(--line); padding: 22px 0; display: flex; flex-direction: column; gap: 8px; }
.faq:last-child { border-bottom: 1px solid var(--line); }

/* Generic forms (website order, contact) */
.formbox { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 20px 50px rgba(11,27,51,.08); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; font-weight: 400; border: 1px solid var(--line2); border-radius: 8px; padding: 12px 14px; min-height: 46px; background: #FFFFFF; color: var(--text); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid #BFDBFE; outline-offset: 0; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line2); border-radius: 10px; padding: 16px; font-weight: 500; cursor: pointer; }
.opt input { margin-top: 5px; accent-color: var(--blue); }
.opt:has(input:checked) { border: 2px solid var(--blue); background: #F0F5FF; padding: 15px; }
.opt strong { display: block; color: var(--ink); }
.check { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.check input { margin-top: 5px; accent-color: var(--blue); width: 18px; height: 18px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; border-radius: 10px; padding: 14px 16px; font-weight: 600; }
.form-error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; border-radius: 10px; padding: 14px 16px; font-weight: 600; }

/* Parent's repair and plugin forms, restyled (class names unchanged so stackbou.js still works) */
.triage-form-wrap { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 40px; box-shadow: 0 20px 50px rgba(11,27,51,.06); }
.triage-form { display: flex; flex-direction: column; gap: 32px; }
.form-fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.form-legend { font-family: var(--head); font-size: 20px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 12px; margin-bottom: 4px; padding: 0; }
.form-legend-number { width: 36px; height: 36px; border-radius: 9px; background: var(--blue-l); color: var(--blue-dd); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.form-legend-optional { font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--muted); }
.form-row { display: grid; gap: 18px; }
.form-row-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.form-row-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.form-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-label { font-size: 15px; font-weight: 600; color: var(--ink); }
.form-label-note { font-weight: 400; color: var(--muted); }
.required { color: var(--red); }
.form-input { font: inherit; font-size: 16px; border: 1px solid var(--line2); border-radius: 8px; padding: 12px 14px; min-height: 46px; background: #FFFFFF; color: var(--text); width: 100%; }
.form-input:focus { border-color: var(--blue); outline: 3px solid #BFDBFE; outline-offset: 0; }
.form-textarea { resize: vertical; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.checkbox-item, .radio-item { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; font-size: 15px; }
.checkbox-item input, .radio-item input { margin-top: 4px; accent-color: var(--blue); width: 17px; height: 17px; flex: none; }
.checkbox-item:has(input:checked), .radio-item:has(input:checked) { border-color: var(--blue); background: #F0F5FF; }
.checkbox-custom, .radio-custom { display: none; }
.radio-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-item-agreement { background: var(--soft); }
.fieldset-note, .form-hint { font-size: 14px; color: var(--muted); }
.form-subhead { font-weight: 700; color: var(--ink); font-size: 15px; }
.form-submit-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.form-submit-note { font-size: 14px; color: var(--muted); }

/* Legal and generic pages */
.legal { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding: 56px 0 96px; }
.legal aside { flex: 1 1 240px; max-width: 290px; position: sticky; top: calc(var(--nav-height) + 24px); }
.toc { display: flex; flex-direction: column; gap: 2px; font-size: 15px; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.toc a { text-decoration: none; color: #2D3748; padding: 7px 10px; border-radius: 6px; }
.toc a.on { background: var(--blue-l); color: var(--blue-dd); font-weight: 600; }
.toc strong { padding: 6px 10px; color: var(--ink); }
.doc { flex: 3 1 560px; min-width: 0; max-width: 780px; line-height: 1.75; }
.doc h1 { font-size: 44px; margin-bottom: 20px; }
.doc h2 { font-size: 24px; margin: 36px 0 10px; }
.doc h3 { font-size: 19px; margin: 24px 0 8px; }
.doc p, .doc li { color: #2D3748; }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 14px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.doc td, .doc th { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc blockquote { margin: 0 0 16px; background: var(--soft); border-radius: 12px; padding: 18px 22px; }
@media (max-width: 860px) { .legal aside { position: static; max-width: none; } }

/* Footer */
.foot { background: var(--ink); color: #A9B6C8; font-size: 15px; padding: 64px 0 32px; }
.foot-in { display: flex; flex-direction: column; gap: 40px; }
.foot a { color: #CBD5E1; text-decoration: none; display: block; padding: 4px 0; }
.foot a:hover { color: #FFFFFF; }
.foot-h { color: #FFFFFF; font-size: 15px; font-family: var(--head); margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid #22324D; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }

/* 404 */
.big404 { font-family: var(--head); font-size: 120px; font-weight: 800; color: var(--blue-l); line-height: 1; }

/* Floating WhatsApp and Jarvis chat (markup and behaviour from the parent theme) */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px; background: #16A34A; color: #FFFFFF; border-radius: 999px; padding: 12px 18px 12px 14px; text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: 0 12px 28px rgba(22,163,74,.35); }
.wa-float:hover { background: #15803D; color: #FFFFFF; }
.wa-float svg { width: 24px; height: 24px; }
.sb-chat-toggle { position: fixed; right: 22px; bottom: 88px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--blue); color: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(29,78,216,.35); }
.sb-chat-toggle svg { width: 24px; height: 24px; }
.sb-chat-toggle .sb-chat-icon-close { display: none; }
.sb-chat-toggle.sb-chat-open .sb-chat-icon-open, .sb-chat-toggle[aria-expanded="true"] .sb-chat-icon-open { display: none; }
.sb-chat-toggle.sb-chat-open .sb-chat-icon-close, .sb-chat-toggle[aria-expanded="true"] .sb-chat-icon-close { display: block; }
.sb-chat-window { position: fixed; right: 22px; bottom: 154px; z-index: 61; width: min(380px, calc(100vw - 32px)); height: min(520px, calc(100vh - 200px)); background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(11,27,51,.22); display: flex; flex-direction: column; overflow: hidden; }
.sb-chat-window[hidden] { display: none; }
.sb-chat-header { background: var(--ink); color: #FFFFFF; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.sb-chat-header-title { font-family: var(--head); font-weight: 800; display: flex; flex-direction: column; line-height: 1.2; }
.sb-chat-header-sub { font-family: var(--font); font-weight: 500; font-size: 13px; color: #A9B6C8; }
.sb-chat-close { background: transparent; border: 0; color: #FFFFFF; font-size: 26px; width: 44px; height: 44px; cursor: pointer; }
.sb-chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
.sb-chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.sb-chat-msg-bot { background: #FFFFFF; border: 1px solid var(--line); align-self: flex-start; color: var(--text); }
.sb-chat-msg-user { background: var(--blue); color: #FFFFFF; align-self: flex-end; }
.sb-chat-msg-typing { color: var(--muted); font-style: italic; }
.sb-chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #FFFFFF; }
.sb-chat-input { flex: 1; font: inherit; font-size: 15px; border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; resize: none; min-height: 44px; max-height: 120px; }
.sb-chat-send { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--blue); color: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sb-chat-send svg { width: 20px; height: 20px; }

@media (max-width: 720px) {
    body.sb2 { font-size: 16px; }
    h1 { font-size: 36px; }
    h2 { font-size: 29px; }
    .wrap { padding: 0 16px; }
    .sec { padding: 64px 0; }
    .hero { padding: 48px 0 64px; }
    .page-hero { padding: 48px 0 32px; }
    .formbox, .triage-form-wrap { padding: 22px; }
    .doc h1 { font-size: 32px; }
    .wa-float-label { display: none; }
    .wa-float { padding: 14px; }
    .nav-menu { padding: 12px 16px 20px; }
}

/* The front door at /start/ (page-start.php, journey() in sb2.js). Launch Readiness item 2. */
.sf-hero { padding-bottom: 8px; }
.sf-progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 10px; }
.sf-progress span { display: block; height: 100%; width: 0; background: var(--blue); transition: width .3s ease; }
.sf-count { min-height: 1.6em; margin-bottom: 18px; }
.sf-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.sf-has-side .sf-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.sf-step { display: flex; flex-direction: column; gap: 20px; }
.sf-step[hidden], .sf-side[hidden] { display: none; }
.sf-step h2:focus { outline: none; }
.sf-pick { width: 100%; text-align: left; font: inherit; color: inherit; text-decoration: none; cursor: pointer; }
.sf-pick:hover { border-color: var(--blue); color: inherit; }
.sf-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.sf-tpl { position: relative; cursor: pointer; }
.sf-tpl .sf-radio { position: absolute; top: 22px; right: 22px; width: 22px; height: 22px; accent-color: var(--blue); z-index: 1; }
.sf-tpl:has(.sf-radio:checked) { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 12px 32px rgba(29, 78, 216, .12); }
.sf-help { justify-content: center; background: var(--soft); }
.sf-opt { font-weight: 400; color: var(--muted); font-size: 14px; }
.sf-fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.sf-fs legend { padding: 0; margin-bottom: 8px; }
.sf-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-sw { position: relative; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line2); border-radius: 999px; padding: 6px 14px 6px 6px; cursor: pointer; font-size: 14px; font-weight: 500; }
.sf-sw > input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sf-sw:has(> input[type="radio"]:checked) { border: 2px solid var(--blue); padding: 5px 13px 5px 5px; background: #F0F5FF; }
.sf-sw:has(> input[type="radio"]:focus-visible) { outline: 3px solid #BFDBFE; }
.sf-chip { position: relative; width: 26px; height: 26px; border-radius: 50%; flex: none; border: 1px solid rgba(11, 27, 51, .12); overflow: hidden; }
.sf-chip-default { background: conic-gradient(#0B6BCB 0 25%, #C2577A 0 50%, #D97706 0 75%, #7A5A12 0); }
.sf-chip-custom { background: conic-gradient(#EF4444, #F59E0B, #22C55E, #06B6D4, #3B82F6, #A855F7, #EF4444); }
.sf-chip-custom input { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); opacity: 0; border: 0; padding: 0; cursor: pointer; }
.sf-hours { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sf-more { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.sf-more summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.sf-more[open] summary { margin-bottom: 14px; }
.sf-one { grid-template-columns: minmax(0, 1fr); }
.sf-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
/* The domain search (stackbou-domains) */
.sf-domain-row { display: flex; gap: 8px; }
.sf-domain-row input { flex: 1; min-width: 0; }
.sf-domain .ds-list { list-style: none; margin: 10px 0 4px; padding: 0; display: grid; gap: 6px; }
.sf-domain .ds-list li { padding: 8px 10px; border: 1px solid var(--line, #e2e8f0); border-radius: 8px; }
.sf-domain .ds-list li.ds-off { opacity: .6; }
.sf-domain .ds-list label { display: flex; gap: 8px; align-items: center; margin: 0; }
.sf-summary { margin: 0; }
.sf-side { position: sticky; top: calc(var(--nav-height) + 20px); display: flex; flex-direction: column; gap: 10px; }
.sf-frame { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #FFFFFF; box-shadow: 0 20px 50px rgba(11, 27, 51, .10); }
.sf-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--soft); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sf-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.sf-bar [data-sf-label] { margin-left: 8px; }
.sf-viewport { position: relative; overflow: hidden; }
.sf-viewport iframe { display: block; border: 0; transform-origin: 0 0; background: #FFFFFF; }
.sf-toggle { display: none; }
@media (max-width: 960px) {
    .sf-has-side .sf-layout { grid-template-columns: minmax(0, 1fr); }
    .sf-side { position: static; }
    .sf-toggle { display: inline-flex; align-self: flex-start; }
    .sf-side:not(.open) .sf-frame, .sf-side:not(.open) > p { display: none; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
