:root {
    color-scheme: light;
    --brand-green:#51b776; --brand-green-hover:#287a4a; --brand-green-active:#1f643c; --brand-green-light:#eefaf2;
    --green-900:#0d4a30; --green-800:#125c3b; --green-700:#176b45; --green-600:#238054;
    --green-100:#e8f4ee; --green-50:#f3faf6; --ink:#17231c; --muted:#5d6d63;
    --line:#d7e1da; --surface:#ffffff; --canvas:#f5f8f6; --danger:#9f2f2f; --danger-bg:#fff2f1;
    --warning:#805c12; --warning-bg:#fff8e6; --focus-ring:#10271a; --shadow:0 12px 32px rgba(15,58,38,.08);
    --radius:18px; --radius-sm:12px; --content:1120px;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; min-height:100vh; font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; background:var(--canvas); color:var(--ink); line-height:1.55; -webkit-font-smoothing:antialiased; }
a { color:var(--green-700); text-underline-offset:3px; }
button,input,select,textarea { font:inherit; }
button,a,summary,input,select,textarea { outline-offset:3px; }
:focus-visible { outline:3px solid var(--focus-ring); }
.skip-link { position:fixed; z-index:200; left:12px; top:-80px; background:#fff; padding:12px 16px; border-radius:8px; box-shadow:var(--shadow); }
.skip-link:focus { top:12px; }
.site-header { position:sticky; z-index:100; top:0; background:rgba(255,255,255,.96); border-bottom:1px solid var(--line); backdrop-filter:blur(12px); }
.topbar { max-width:var(--content); min-height:72px; margin:auto; padding:10px 24px; display:flex; align-items:center; gap:22px; }
.brand { display:inline-flex; align-items:center; gap:10px; color:var(--ink); text-decoration:none; font-size:1.08rem; font-weight:850; letter-spacing:-.02em; }
.brand img { width:44px; height:44px; border-radius:50%; object-fit:cover; }
.desktop-nav,.desktop-auth { display:flex; align-items:center; gap:18px; }
.desktop-nav a,.desktop-auth a,.internal-experience .topbar>a { color:var(--ink); text-decoration:none; font-weight:700; }
.desktop-nav a:hover,.desktop-auth a:hover { color:var(--green-700); }
.desktop-auth a.button,.desktop-auth a.button:hover,.desktop-auth a.button:focus-visible,.desktop-auth a.button:active { color:#fff; }
.nav-spacer { flex:1; }
.nav-cta { padding:10px 16px; border-radius:999px; background:var(--green-700); color:#fff!important; }
.nav-cta:hover { background:var(--green-800); }
.account-menu,.mobile-menu { position:relative; }
.account-menu summary { cursor:pointer; list-style:none; min-height:44px; display:flex; align-items:center; gap:8px; font-weight:750; color:var(--green-800); }
.account-menu summary::-webkit-details-marker,.mobile-menu summary::-webkit-details-marker { display:none; }
.account-menu summary::after { content:"⌄"; font-size:.9em; }
.menu-panel { position:absolute; right:0; top:calc(100% + 8px); min-width:230px; padding:8px; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); }
.menu-panel a,.menu-button { display:flex; width:100%; min-height:44px; align-items:center; padding:9px 12px; border:0; border-radius:9px; background:transparent; color:var(--ink); text-decoration:none; text-align:left; cursor:pointer; }
.menu-panel a:hover,.menu-button:hover { background:var(--green-50); color:var(--green-800); }
.mobile-menu { display:none; }
.mobile-menu summary { width:48px; height:48px; padding:12px; border:1px solid var(--line); border-radius:12px; display:grid; align-content:center; gap:5px; cursor:pointer; }
.mobile-menu summary span { height:2px; background:var(--ink); border-radius:4px; }
.active-order-bar { max-width:var(--content); margin:0 auto 10px; padding:10px 24px; display:flex; align-items:center; justify-content:space-between; gap:16px; color:#fff; background:var(--green-700); border-radius:14px; text-decoration:none; }
.active-order-bar span:first-child { display:flex; align-items:baseline; gap:10px; }
.active-order-bar small { opacity:.84; }
.page-shell { max-width:920px; margin:auto; padding:40px 24px 72px; }
.page-shell-wide { max-width:var(--content); }
.card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(20px,4vw,32px); margin-bottom:20px; box-shadow:0 2px 8px rgba(15,58,38,.025); }
.card-flat { box-shadow:none; }
.eyebrow { display:block; margin-bottom:8px; color:var(--green-700); font-size:.78rem; font-weight:850; letter-spacing:.09em; text-transform:uppercase; }
h1,h2,h3 { line-height:1.18; letter-spacing:-.025em; }
h1 { margin:0 0 14px; font-size:clamp(2rem,7vw,3.25rem); }
h2 { margin:0 0 12px; font-size:clamp(1.25rem,4vw,1.7rem); }
h3 { margin:20px 0 8px; font-size:1.05rem; }
p { margin:0 0 14px; }
.lead { max-width:650px; color:#425148; font-size:clamp(1.08rem,2vw,1.28rem); }
.muted { color:var(--muted); }
.small { font-size:.9rem; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; }
.grid-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.stack { display:grid; gap:16px; }
.actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:22px; }
.button,button { display:inline-flex; min-height:48px; align-items:center; justify-content:center; gap:8px; padding:11px 20px; border:1px solid var(--brand-green-hover); border-radius:12px; background:var(--brand-green-hover); color:#fff; font-weight:800; text-decoration:none; cursor:pointer; transition:transform .15s ease,background .15s ease,box-shadow .15s ease; }
.button:hover,button:hover { background:var(--brand-green-active); color:#fff; transform:translateY(-1px); }
.button:active,button:active { background:#194f30; color:#fff; transform:none; }
.button-secondary,.secondary { background:#fff; color:var(--green-800); }
.button-secondary:hover,.secondary:hover { border-color:var(--green-700); background:var(--green-50); color:var(--green-900); }
.button-secondary:active,.secondary:active { border-color:var(--green-800); background:var(--green-100); color:var(--green-900); }
.button-ghost { border-color:transparent; background:transparent; color:var(--green-800); }
.button-ghost:hover,.button-ghost:active { border-color:var(--green-100); background:var(--green-100); color:var(--green-900); }
.button-danger,.danger-button,.danger { border-color:var(--danger); background:var(--danger); color:#fff; }
.button-danger:hover,.danger-button:hover,.danger:hover,.button-danger:active,.danger-button:active,.danger:active { border-color:#762020; background:#762020; color:#fff; }
.button:disabled,button:disabled,.button[aria-disabled="true"] { border-color:#aeb8b2; background:#e0e5e2; color:#46534b; cursor:not-allowed; transform:none; box-shadow:none; }
.button-small { min-height:42px; padding:8px 14px; border-radius:10px; }
.button-block { width:100%; }
label { display:block; margin:18px 0 7px; font-weight:760; }
input,select,textarea { width:100%; min-height:48px; padding:11px 13px; border:1px solid #aebdb4; border-radius:11px; background:#fff; color:var(--ink); }
textarea { min-height:100px; resize:vertical; }
input:focus,select:focus,textarea:focus { border-color:var(--green-700); box-shadow:0 0 0 3px rgba(23,107,69,.12); outline:none; }
input:focus-visible,select:focus-visible,textarea:focus-visible { outline:3px solid var(--focus-ring); outline-offset:3px; }
.field-help { margin-top:7px; color:var(--muted); font-size:.9rem; }
.password-rules { margin:10px 0 0; padding:14px 16px 14px 34px; background:var(--green-50); border-radius:12px; color:#30483a; }
.flash { margin-bottom:20px; padding:14px 18px; border-radius:12px; border:1px solid; }
.flash ul { margin:7px 0 0; padding-left:20px; }
.flash-success { color:var(--green-900); background:var(--green-100); border-color:#b8d8c6; }
.flash-error { color:var(--danger); background:var(--danger-bg); border-color:#e3b8b5; }
.status-pill { display:inline-flex; padding:6px 10px; border-radius:999px; background:var(--green-100); color:var(--green-900); font-size:.88rem; font-weight:800; }
.hero { overflow:hidden; position:relative; display:grid; grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr); align-items:center; gap:32px; padding:clamp(28px,7vw,64px); background:linear-gradient(145deg,#fff 20%,#e9f6ef 100%); }
.hero::after { content:""; position:absolute; width:280px; height:280px; right:-110px; bottom:-140px; border-radius:50%; background:rgba(83,184,121,.16); }
.hero-logo { width:min(230px,70%); justify-self:center; filter:drop-shadow(0 16px 24px rgba(20,91,58,.14)); border-radius:50%; }
.hero .actions { position:relative; z-index:1; }
.service-steps { counter-reset:steps; }
.service-step { position:relative; padding-left:56px; }
.service-step::before { counter-increment:steps; content:counter(steps); position:absolute; left:0; top:0; width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:var(--green-100); color:var(--green-800); font-weight:900; }
.dashboard-hero { background:linear-gradient(145deg,#0e5235,#1d7a50); color:#fff; border:0; }
.dashboard-hero .muted { color:rgba(255,255,255,.78); }
.dashboard-hero .button-secondary { border-color:#fff; }
.pin-card { text-align:center; padding:clamp(24px,6vw,48px); background:linear-gradient(145deg,#0f5135,#207d54); color:#fff; border:0; }
.pin-label { margin:0 0 6px; color:rgba(255,255,255,.8); font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.pin-code { margin:6px 0 14px; font-size:clamp(3.6rem,17vw,6.5rem); font-weight:900; line-height:1; letter-spacing:.16em; text-indent:.16em; font-variant-numeric:tabular-nums; }
.pin-card .button-secondary { border-color:#fff; }
.summary-total { display:flex; align-items:baseline; justify-content:space-between; gap:20px; padding-top:18px; border-top:1px solid var(--line); }
.summary-total strong { font-size:clamp(1.8rem,6vw,2.7rem); color:var(--green-800); }
.order-card { display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center; }
.order-card .actions { margin:0; }
.order-number { color:var(--muted); font-size:.88rem; }
.money { white-space:nowrap; font-variant-numeric:tabular-nums; }
.money-large { font-size:clamp(2rem,7vw,3rem); font-weight:900; color:var(--green-800); }
.choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.choice-card { position:relative; display:block; min-height:150px; margin:0; padding:24px; border:2px solid var(--line); border-radius:16px; background:#fff; cursor:pointer; transition:border-color .15s ease,background .15s ease,transform .15s ease; }
.choice-card:hover { border-color:#78ad8f; transform:translateY(-2px); }
.choice-card:has(input:checked) { border-color:var(--green-700); background:var(--green-50); box-shadow:0 0 0 3px rgba(23,107,69,.1); }
.choice-card input { position:absolute; width:1px; height:1px; opacity:0; }
.choice-card:has(input:focus-visible) { outline:3px solid var(--focus-ring); outline-offset:3px; }
.choice-card strong { display:block; margin-bottom:8px; font-size:1.25rem; }
.choice-card span { color:var(--muted); font-weight:500; }
.choice-card::after { content:""; position:absolute; right:18px; top:18px; width:22px; height:22px; border:2px solid #9caf9f; border-radius:50%; }
.choice-card:has(input:checked)::after { border:7px solid var(--green-700); }
.order-progress { margin:0 0 26px; padding:0; display:grid; grid-template-columns:repeat(5,1fr); list-style:none; }
.order-progress li { position:relative; padding-top:34px; color:var(--muted); font-size:.78rem; text-align:center; }
.order-progress li::before { content:attr(data-step); position:absolute; z-index:2; top:0; left:50%; width:26px; height:26px; transform:translateX(-50%); display:grid; place-items:center; border-radius:50%; background:#dfe7e2; color:#526158; font-weight:850; }
.order-progress li::after { content:""; position:absolute; top:12px; left:-50%; width:100%; height:2px; background:#dfe7e2; }
.order-progress li:first-child::after { display:none; }
.order-progress .complete::before,.order-progress .current::before { background:var(--green-700); color:#fff; }
.order-progress .complete::after,.order-progress .current::after { background:var(--green-700); }
.order-progress .current { color:var(--green-900); font-weight:850; }
.quantity-control { max-width:330px; display:grid; grid-template-columns:64px 1fr 64px; gap:10px; align-items:center; }
.quantity-control button { height:60px; padding:0; font-size:1.7rem; }
.quantity-control input { height:60px; text-align:center; font-size:1.3rem; font-weight:850; }
.info-box { padding:16px 18px; border-radius:12px; background:var(--green-50); border:1px solid #c9e2d4; }
.warning-box { background:var(--warning-bg); border-color:#eed89e; color:#674b10; }
.staging-box { padding:18px; border:2px dashed #caa85b; border-radius:14px; background:#fffaf0; }
.line-item { display:grid; grid-template-columns:1fr auto; gap:18px; padding:17px 0; border-bottom:1px solid var(--line); }
.line-item:last-child { border-bottom:0; }
.steps-list { margin:18px 0 0; padding-left:22px; }
.steps-list li { margin-bottom:10px; padding-left:5px; }
dialog { width:min(520px,calc(100% - 32px)); border:0; border-radius:20px; padding:0; box-shadow:0 24px 80px rgba(10,30,19,.35); }
dialog::backdrop { background:rgba(8,25,16,.62); backdrop-filter:blur(2px); }
.dialog-content { padding:28px; }
.dialog-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:24px; }
table { width:100%; border-collapse:collapse; }
th,td { padding:11px 9px; border-bottom:1px solid var(--line); text-align:left; }
.site-footer { max-width:var(--content); margin:0 auto; padding:30px 24px 38px; display:flex; justify-content:space-between; gap:24px; border-top:1px solid var(--line); color:var(--muted); }
.site-footer div { display:flex; flex-direction:column; gap:3px; }
.site-footer div:last-child { align-items:flex-end; }
.mobile-dock { display:none; }
.danger:not(button):not(.button) { color:var(--danger); }
hr { border:0; border-top:1px solid var(--line); margin:24px 0; }

/* Partner onboarding and immutable contracts */
.onboarding-card { width:min(920px,100%); }
.onboarding-step-card { overflow:hidden; }
.partner-progress-wrap { width:min(920px,100%); margin:18px auto 26px; }
.partner-progress-count { margin:0 0 8px; color:var(--green-800); font-size:.86rem; font-weight:850; }
.partner-registration-progress { margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); list-style:none; }
.partner-registration-progress li { position:relative; padding-top:32px; color:var(--muted); font-size:.76rem; text-align:center; }
.partner-registration-progress li::before { content:""; position:absolute; top:13px; left:-50%; width:100%; height:2px; background:var(--line); }
.partner-registration-progress li:first-child::before { display:none; }
.partner-registration-progress span { position:absolute; z-index:2; top:0; left:50%; width:28px; height:28px; transform:translateX(-50%); display:grid; place-items:center; border-radius:50%; background:#dfe7e2; font-weight:850; }
.partner-registration-progress .complete span,.partner-registration-progress .current span { background:var(--green-700); color:#fff; }
.partner-registration-progress .complete::before,.partner-registration-progress .current::before { background:var(--green-700); }
.partner-registration-progress .current { color:var(--green-900); font-weight:850; }
.partner-registration-progress strong { font:inherit; }
.check-row,.consent-row { display:flex; align-items:flex-start; gap:10px; }
.check-row input,.consent-row input { width:20px; min-height:20px; margin:3px 0 0; flex:0 0 20px; }
.consent-row { margin:24px 0 18px; padding:17px; border:1px solid #b7d7c5; border-radius:12px; background:var(--green-50); }
.signing-authority-row { font-weight:800; }
.signing-authority-help { margin-left:30px; }
.field-error { margin:6px 0 0; color:var(--danger); font-size:.88rem; font-weight:750; }
.address-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(90px,.7fr) minmax(110px,.8fr) minmax(0,1.5fr); gap:14px; }
.hours-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.hours-heading h3 { margin:0; }
.hours-grid { display:grid; gap:7px; }
.hours-row { min-width:0; margin:0; border:0; display:grid; grid-template-columns:120px 1fr 1fr 120px; gap:10px; align-items:end; padding:8px 0; border-bottom:1px solid var(--line); }
.hours-row legend { float:left; width:120px; padding:0; align-self:center; font-weight:800; }
.hours-row label>span { display:block; margin-bottom:4px; color:var(--muted); font-size:.78rem; }
.hours-row input { min-height:42px; }
.hours-row .check-row { margin:0; }
.hours-row .closed-row { align-items:center; padding-bottom:10px; }
.hours-row .closed-row span { margin:0; color:var(--ink); font-size:.88rem; }
.hours-error { grid-column:2/-1; }
.onboarding-store { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:15px 0; border-bottom:1px solid var(--line); }
.onboarding-store p { margin:3px 0 0; color:var(--muted); }
.onboarding-store-saved { padding:18px; border:1px solid #b8d8c5; border-radius:14px; background:var(--green-50); }
.onboarding-store-saved+.onboarding-store-saved { margin-top:10px; }
.saved-badge { display:inline-block; margin:0 8px 7px 0; padding:3px 8px; border-radius:999px; background:#d9f0e2; color:var(--green-900); font-size:.72rem; font-weight:850; text-transform:uppercase; letter-spacing:.04em; }
.saved-store-actions,.store-form-actions { display:flex; align-items:center; gap:14px; }
.saved-store-actions form { margin:0; }
.add-another-store { margin-top:20px; }
.review-list { display:block; margin:0; }
.review-list>div { display:grid; grid-template-columns:150px 1fr; gap:18px; padding:13px 0; border-bottom:1px solid var(--line); }
.review-list dt { color:var(--muted); font-weight:750; }.review-list dd { margin:0; }
.review-section { margin-top:34px; }
.review-section>h2 { margin-bottom:12px; }
.review-store { padding:18px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.review-store+.review-store { margin-top:12px; }
.review-store h3,.review-store p { margin:0 0 8px; }
.review-hours { max-width:420px; margin:14px 0 0; padding:0; list-style:none; }
.review-hours li { display:flex; justify-content:space-between; gap:16px; padding:5px 0; border-bottom:1px solid var(--line); font-size:.9rem; }
.contract-documents { display:grid; gap:10px; }
.contract-documents details { border:1px solid var(--line); border-radius:12px; background:#fff; }
.contract-documents summary { cursor:pointer; padding:16px 18px; color:var(--green-900); font-weight:850; }
.contract-document-content { padding:0 18px 18px; border-top:1px solid var(--line); }
.contract-document-content.contract-a4-preview { max-height:760px; overflow:auto; padding:22px; background:#e5eae7; }
.contract-document-content h3,.contract-document-content h4 { color:var(--green-800); }
.onboarding-navigation { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:26px; }
.onboarding-navigation-final { align-items:center; }
.onboarding-navigation-final .secondary-form { margin:0; }
.contract-browser-preview { max-height:620px; overflow:auto; margin:20px 0; padding:clamp(18px,4vw,34px); border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:inset 0 0 0 5px #f7faf8; }
.contract-browser-preview h2,.contract-browser-preview h3 { color:var(--green-700); }
.onboarding-complete { text-align:center; }.status-mark { width:68px; height:68px; margin:0 auto 20px; display:grid; place-items:center; border-radius:50%; background:var(--green-100); color:var(--green-800); font-size:2rem; font-weight:900; }
.page-heading-row { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:20px; }.page-heading-row h1,.page-heading-row h2 { margin-bottom:4px; }
.admin-onboarding-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.document-review-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:18px 0; }
.document-review-card { min-height:110px; display:flex; flex-direction:column; justify-content:center; padding:18px; border:2px solid var(--line); border-radius:14px; color:var(--ink); text-decoration:none; }
.document-review-card span { color:var(--muted); }.document-review-card.reviewed { border-color:var(--green-700); background:var(--green-50); }.document-review-card.reviewed span { color:var(--green-800); }
.table-wrap { overflow-x:auto; }
.contract-preview-page { background:#dfe5e1; }.contract-preview-shell { max-width:900px; margin:auto; padding:24px; }.contract-preview-actions { position:sticky; z-index:5; top:10px; justify-content:flex-end; }
.contract-sheet { box-sizing:border-box; position:relative; width:100%; max-width:794px; min-height:1120px; margin:0 auto 24px; padding:52px 60px 70px; background:#fff; box-shadow:0 12px 34px rgba(0,0,0,.13); }
.contract-header { display:flex; align-items:center; gap:12px; padding-bottom:10px; border-bottom:2px solid #238854; }.contract-header img { width:30px; height:30px; border-radius:50%; }.contract-header span { margin-left:auto; color:#238854; font-weight:850; }
.contract-sheet .head { width:100%; border-collapse:collapse; border-bottom:2px solid #238854; color:#238854; }.contract-sheet .head td { padding:0 0 10px; vertical-align:middle; }.contract-sheet .head td:last-child { text-align:right; font-weight:850; }.contract-sheet .head img { width:30px; height:30px; margin-right:12px; border-radius:50%; vertical-align:middle; }.contract-sheet .head strong { color:var(--ink); }
.contract-sheet>h1 { margin:14px 0 4px; color:#238854; font-size:2rem; text-align:center; }.contract-sheet>h1 small { display:block; margin-top:4px; color:var(--muted); font-size:.9rem; font-weight:500; }.contract-subtitle { color:var(--muted); text-align:center; font-style:italic; }
.contract-parties { width:100%; margin:22px 0; border-collapse:collapse; background:#edf7f1; }.contract-parties td { width:50%; padding:18px; border:1px solid #bdd8c8; vertical-align:top; }.contract-parties h2,.contract-sheet section h2 { color:#238854; font-size:1.1rem; }
.contract-store { break-inside:avoid; }.contract-signatures { display:grid; grid-template-columns:1fr 1fr; gap:80px; margin:70px 20px 0; }.contract-signatures>div { padding-top:6px; border-top:1px solid #82948a; text-align:center; }.contract-signatures strong { display:block; margin-top:30px; }
.contract-sheet .signatures { width:100%; table-layout:fixed; margin-top:70px; border-collapse:separate; border-spacing:36px 0; }.contract-sheet .signatures td { width:50%; padding:8px 10px 0; border-top:1px solid #82948a; text-align:center; }.contract-sheet .signatures strong { display:block; margin-top:28px; }
.contract-store table { width:100%; border-collapse:collapse; }.contract-store th,.contract-store td { padding:6px 8px; border-bottom:1px solid #d5e1da; text-align:left; }
.contract-sheet footer,.contract-sheet .footer { position:absolute; right:60px; bottom:24px; left:60px; padding-top:6px; border-top:1px solid #238854; color:var(--muted); font-size:.8rem; text-align:center; }

@media (max-width:760px) {
    .partner-registration-progress li { font-size:.68rem; }
    .partner-registration-progress strong { display:block; padding:0 3px; }
    .address-grid { grid-template-columns:2fr 1fr; }
    .hours-heading { align-items:flex-start; flex-direction:column; }
    .hours-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }.hours-row legend { float:none; width:auto; grid-column:1/-1; }.hours-row .check-row { grid-column:1/-1; }.hours-error { grid-column:1/-1; }
    .admin-onboarding-grid,.document-review-grid { grid-template-columns:1fr; }
    .page-heading-row { display:block; }.page-heading-row>.button { margin-top:14px; }
    .review-list>div { grid-template-columns:1fr; gap:3px; }
    .contract-sheet { min-height:0; padding:28px 22px 60px; }.contract-parties,.contract-parties tbody,.contract-parties tr,.contract-parties td { display:block; width:100%; }.contract-signatures { gap:24px; margin-inline:0; }.contract-sheet footer,.contract-sheet .footer { left:22px; right:22px; }
    .contract-sheet .signatures { border-spacing:10px 0; }
}
@media (max-width:420px) {
    .partner-login-shell { padding-inline:14px; }
    .partner-registration-progress li { font-size:.61rem; }
    .partner-registration-progress span { width:26px; height:26px; }
    .address-grid { grid-template-columns:1fr; }
    .onboarding-store { align-items:flex-start; flex-direction:column; }
    .saved-store-actions { width:100%; justify-content:space-between; }
    .onboarding-navigation { align-items:stretch; flex-direction:column-reverse; }
    .onboarding-navigation .button { width:100%; text-align:center; }
}
@media print {
    .contract-preview-actions { display:none!important; }.contract-preview-page { background:#fff; }.contract-preview-shell { max-width:none; padding:0; }.contract-sheet { min-height:auto; margin:0; padding:0; box-shadow:none; }
}

/* Public acquisition surfaces — approved WORKING v0.6.2 direction */
.public-home,.public-page { background:#fff; }
.home-header { background:#fff; border-bottom:1px solid #e4ebe6; }
.home-nav { max-width:1460px; min-height:82px; margin:auto; padding:10px 32px; display:flex; align-items:center; justify-content:space-between; }
.home-brand { display:inline-flex; align-items:center; gap:12px; color:var(--ink); font-size:1.2rem; font-weight:900; text-decoration:none; }
.home-brand img { width:52px; height:52px; border-radius:50%; object-fit:cover; }
.home-login { min-height:44px; display:inline-flex; align-items:center; padding:8px 4px; color:#24583a; font-weight:800; text-decoration:none; }
.home-login:hover { color:#17442a; text-decoration:underline; }
.home-hero { max-width:1460px; margin:48px auto 60px; padding:0 32px; display:grid; grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr); gap:38px; align-items:stretch; }
.customer-hero,.partner-hero { min-height:560px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.customer-hero { padding:clamp(34px,4vw,68px) clamp(8px,3vw,46px); }
.partner-hero { position:relative; overflow:hidden; padding:clamp(38px,4vw,68px); border-radius:34px; background:var(--brand-green); color:#102b1b; }
.partner-hero::after { content:""; position:absolute; right:-100px; bottom:-150px; width:340px; height:340px; border-radius:50%; background:rgba(255,255,255,.13); }
.customer-hero h1 { max-width:680px; margin:0 0 22px; font-size:clamp(3rem,4.35vw,5.15rem); line-height:1.02; }
.partner-hero h2 { position:relative; z-index:1; max-width:560px; margin:24px 0 8px; font-size:clamp(2.7rem,4vw,4.5rem); line-height:1.02; }
.partner-hero h3 { position:relative; z-index:1; max-width:520px; margin:0 0 20px; font-size:clamp(1.35rem,2vw,2rem); line-height:1.18; }
.customer-hero>p { max-width:610px; color:#425148; font-size:clamp(1.12rem,1.35vw,1.32rem); }
.partner-hero>p { position:relative; z-index:1; max-width:520px; font-size:1.12rem; }
.partner-badge { position:relative; z-index:1; display:inline-flex; padding:7px 12px; border:1px solid rgba(16,43,27,.18); border-radius:999px; background:rgba(255,255,255,.64); color:#17472c; font-size:.79rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.partner-heading-icon { position:absolute; top:54px; right:54px; width:76px; height:76px; display:grid; place-items:center; color:#174c2e; opacity:.8; }
.partner-heading-icon svg { width:66px; height:66px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.home-primary { margin-top:22px; padding-inline:30px; background:var(--brand-green-hover); color:#fff; }
.home-primary:hover,.home-primary:focus-visible { background:var(--brand-green-active); color:#fff; }
.home-primary:active { background:#194f30; color:#fff; }
.partner-cta { position:relative; z-index:1; margin-top:18px; border-color:#fff; background:#fff; color:#1b5a36; }
.partner-cta:hover,.partner-cta:active { border-color:#15482b; background:#15482b; color:#fff; }
.home-steps { max-width:1320px; margin:0 auto 82px; padding:0 32px; display:grid; grid-template-columns:repeat(3,1fr); gap:46px; }
.home-steps article { display:grid; grid-template-columns:78px 1fr; align-items:center; gap:19px; text-align:left; }
.home-steps h2 { margin:0 0 7px; font-size:1.22rem; }
.home-steps p { margin:0; color:var(--muted); font-size:.96rem; line-height:1.45; }
.step-mark { position:relative; width:76px; height:76px; display:grid; place-items:center; border-radius:22px; background:#eef8f1; color:#226b40; }
.step-mark span { position:absolute; top:-9px; left:-9px; width:30px; height:30px; display:grid; place-items:center; border:3px solid #fff; border-radius:50%; background:var(--brand-green-hover); color:#fff; font-size:.84rem; font-weight:900; }
.step-mark svg { width:42px; height:42px; fill:none; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.home-map-section { max-width:1460px; margin:0 auto 82px; padding:0 32px; display:grid; grid-template-columns:minmax(0,1.9fr) minmax(330px,.9fr); }
.map-shell { position:relative; min-width:0; }
.map-copy { padding:clamp(34px,4vw,64px); border-radius:0 30px 30px 0; background:#eff8f2; display:flex; flex-direction:column; justify-content:center; }
.map-copy h2 { max-width:430px; font-size:clamp(2rem,3.2vw,3.35rem); }
.map-copy p { max-width:470px; }
.map-location-button { position:absolute; z-index:500; top:18px; left:18px; min-height:44px; border-color:#fff; background:#fff; color:#1b5a36; box-shadow:0 7px 20px rgba(20,55,35,.18); }
.map-location-button:hover,.map-location-button:focus-visible { border-color:#194f30; background:#194f30; color:#fff; }
.store-map { min-height:560px; border-radius:30px 0 0 30px; background:linear-gradient(145deg,#dfe9e2,#edf4ef); overflow:hidden; z-index:0; }
.map-placeholder { min-height:560px; padding:90px 24px 24px; display:grid; place-items:center; color:#557064; font-weight:750; text-align:center; }
.map-status { min-height:1.5em; margin:10px 0 0; font-size:.9rem; }
.map-popup { max-width:270px; color:#17231c; }
.map-popup strong { display:block; margin-bottom:4px; font-size:1rem; }
.map-popup p { margin:4px 0; }
.map-popup a { display:inline-block; margin-top:7px; font-weight:800; }
.home-footer { max-width:1460px; margin:auto; padding:34px 32px 42px; display:flex; justify-content:space-between; gap:30px; border-top:1px solid #e0e9e3; color:var(--muted); }
.home-footer>div { display:flex; flex-direction:column; gap:4px; }
.home-footer-links { align-items:flex-end; }
.partner-zone-link { margin-top:7px; color:#68796e; font-size:.86rem; }
.public-page-main { width:min(100%,720px); margin:0 auto; padding:48px 24px 76px; }
.public-page-main-wide { width:min(100%,1180px); }
.public-login-card { margin:0; padding:clamp(28px,5vw,44px); }

/* Cooperation and partner entry */
.cooperation-intro { max-width:760px; margin:0 auto 28px; text-align:center; }
.cooperation-form { max-width:820px; margin:auto; }
.cooperation-form fieldset { min-width:0; }
.cooperation-form legend { padding:0 8px; color:#205e39; font-size:1.25rem; font-weight:900; }
.form-grid,.detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.location-card { margin:20px 0; padding:20px; border:1px solid var(--line); border-radius:14px; background:#f8fbf9; }
.location-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.location-heading h2 { margin:0; font-size:1.15rem; }
.text-button { min-height:40px; padding:5px 8px; border:0; background:transparent; color:var(--green-800); }
.text-button:hover { background:#edf4ef; color:var(--danger); transform:none; }
.honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.privacy-note { padding:16px; border-radius:12px; background:var(--brand-green-light); }
.cooperation-submit { width:100%; }
.inline-form { display:flex; align-items:end; gap:12px; flex-wrap:wrap; }
.inline-form label { margin:0; }
.inline-form select { width:auto; min-width:180px; }
.table-wrap { overflow-x:auto; }
.location-summary { padding:18px; border:1px solid var(--line); border-radius:12px; }
.location-summary h3 { margin-top:0; }
dl { display:grid; grid-template-columns:minmax(90px,.35fr) minmax(0,1fr); gap:8px 16px; }
dt { font-weight:800; } dd { margin:0; overflow-wrap:anywhere; }
.partner-login-page { display:grid; place-items:center; padding:28px; background:linear-gradient(145deg,#eff9f2,#dff1e5); }
.partner-login-shell { width:min(500px,100%); }
.partner-onboarding-page .partner-login-shell { width:min(920px,100%); }
.partner-onboarding-page .onboarding-basic-card { width:min(600px,100%); margin-inline:auto; }
.partner-login-shell>.home-brand { margin:0 auto 24px; display:flex; justify-content:center; }
.partner-login-card { padding:clamp(24px,6vw,42px); }
.partner-login-card button { width:100%; margin-top:24px; }

@media (max-width:760px) {
    body.customer-experience { padding-bottom:78px; }
    .topbar { min-height:64px; padding:8px 16px; gap:12px; }
    .brand span { display:none; }
    .brand img { width:44px; height:44px; }
    .desktop-nav,.desktop-auth,.desktop-account { display:none; }
    .mobile-menu { display:block; }
    .mobile-menu-panel { position:fixed; left:12px; right:12px; top:70px; min-width:0; max-height:calc(100vh - 96px); overflow:auto; }
    .page-shell { padding:26px 16px 42px; }
    .card { padding:21px 18px; border-radius:16px; }
    .hero { grid-template-columns:1fr; padding:28px 20px; }
    .hero-logo { display:none; }
    .hero .actions { display:grid; }
    .hero .actions .button { width:100%; }
    .grid-two,.choice-grid { grid-template-columns:1fr; }
    .choice-card { min-height:118px; padding:20px; }
    .order-card { grid-template-columns:1fr; }
    .order-card .actions { margin-top:0; }
    .order-card .button { width:100%; }
    .actions { align-items:stretch; }
    .actions>.button,.actions>button,.actions>form { flex:1 1 100%; }
    .actions>form button { width:100%; }
    .summary-total { align-items:flex-start; flex-direction:column; }
    .order-progress li { font-size:0; }
    .order-progress li.current { font-size:.72rem; }
    .active-order-bar { margin:0; border-radius:0; padding:9px 16px; }
    .active-order-bar span:first-child { display:block; }
    .active-order-bar small { display:block; }
    .site-footer { padding:26px 16px; flex-direction:column; }
    .site-footer div:last-child { align-items:flex-start; }
    .mobile-dock { position:fixed; z-index:90; left:0; right:0; bottom:0; min-height:68px; padding:7px max(10px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)); display:grid; grid-template-columns:repeat(3,1fr); background:#fff; border-top:1px solid var(--line); box-shadow:0 -8px 28px rgba(15,58,38,.09); }
    .mobile-dock a { min-height:54px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; border-radius:10px; color:var(--ink); font-size:.78rem; font-weight:800; text-decoration:none; }
    .mobile-dock a span { color:var(--green-700); font-size:1.25rem; line-height:1; }
    .mobile-dock .dock-pin { background:var(--green-100); color:var(--green-900); }
    .dialog-actions { grid-template-columns:1fr; }
    .home-nav { min-height:68px; padding:8px 16px; }
    .home-brand img { width:44px; height:44px; }
    .home-brand { font-size:1rem; }
    .home-hero { margin:20px auto 38px; padding:0 16px; grid-template-columns:1fr; gap:16px; }
    .customer-hero,.partner-hero { min-height:0; padding:34px 22px; }
    .customer-hero { padding-block:32px 38px; }
    .partner-hero { border-radius:22px; }
    .customer-hero h1,.partner-hero h2 { font-size:2.35rem; }
    .partner-heading-icon { top:26px; right:24px; width:52px; height:52px; opacity:.45; }
    .partner-heading-icon svg { width:48px; height:48px; }
    .home-primary,.partner-cta { width:100%; }
    .home-steps { margin-bottom:50px; padding:0 22px; grid-template-columns:1fr; gap:28px; }
    .home-steps article { grid-template-columns:66px 1fr; gap:16px; }
    .step-mark { width:64px; height:64px; border-radius:18px; }
    .step-mark svg { width:35px; height:35px; }
    .home-map-section { margin-bottom:45px; padding:0 16px; grid-template-columns:1fr; }
    .store-map { min-height:410px; border-radius:22px 22px 0 0; }
    .map-placeholder { min-height:410px; }
    .map-copy { padding:30px 22px; border-radius:0 0 22px 22px; }
    .map-location-button { top:12px; left:12px; max-width:calc(100% - 24px); min-height:42px; padding:8px 14px; }
    .home-footer { padding:28px 16px 36px; flex-direction:column; }
    .home-footer-links { align-items:flex-start; }
    .public-page-main { padding:28px 16px 52px; }
    .form-grid,.detail-grid { grid-template-columns:1fr; gap:0; }
    .location-heading { align-items:flex-start; flex-direction:column; }
    .inline-form { align-items:stretch; }
    .inline-form select { width:100%; }
}

@media (min-width:761px) and (max-width:980px) {
    .topbar { gap:14px; }
    .desktop-nav { gap:12px; }
    .desktop-account summary { max-width:145px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
}

@media (min-width:761px) and (max-width:1280px) {
    .home-hero { gap:24px; }
    .customer-hero,.partner-hero { min-height:510px; }
    .customer-hero h1 { font-size:clamp(3rem,5.4vw,4.35rem); }
    .home-steps { gap:24px; }
    .home-steps article { grid-template-columns:66px 1fr; gap:14px; }
    .step-mark { width:64px; height:64px; }
    .home-map-section { grid-template-columns:minmax(0,1.55fr) minmax(310px,.9fr); }
}

/* Bombičkárna v0.7 — quiet, task-first application surfaces */
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.context-line { margin:0 0 10px; color:var(--muted); font-size:.92rem; font-weight:750; }
.task-screen { width:min(100%,520px); margin:clamp(24px,8vh,88px) auto; text-align:center; }
.task-screen h1,.task-heading h1,.workspace-heading h1 { max-width:850px; font-size:clamp(2.35rem,6vw,4.6rem); }
.task-screen h1 { margin-inline:auto; }
.task-heading { margin:8px 0 38px; }
.quiet-link { display:inline-flex; min-height:44px; align-items:center; justify-content:center; color:var(--green-800); font-weight:750; text-decoration:none; }
.back-link { margin-bottom:24px; }
.pin-entry-form { display:grid; gap:16px; margin:30px auto 24px; }
.pin-entry { height:102px; padding:12px; border:2px solid var(--line); border-radius:22px; font-size:clamp(2.8rem,14vw,4.4rem); font-weight:900; letter-spacing:.2em; text-align:center; text-indent:.2em; font-variant-numeric:tabular-nums; }
.pin-entry::placeholder { color:#b8c4bc; }
.quiet-actions { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; padding-top:18px; border-top:1px solid var(--line); }
.quiet-actions a { min-height:48px; display:grid; place-items:center; padding:7px; color:var(--green-800); font-size:.9rem; font-weight:800; text-decoration:none; }
.quiet-panel,.action-panel { margin:20px 0; border:1px solid var(--line); border-radius:16px; background:#fff; }
.quiet-panel>summary,.action-panel>summary { min-height:54px; display:flex; align-items:center; padding:14px 18px; cursor:pointer; color:var(--green-900); font-weight:850; }
.quiet-panel[open]>summary,.action-panel[open]>summary { border-bottom:1px solid var(--line); }
.quiet-panel>*:not(summary),.action-panel>*:not(summary) { margin:18px; }
.nested-details { margin-top:18px; padding-top:14px; border-top:1px solid var(--line); }
.nested-details summary { min-height:44px; cursor:pointer; font-weight:800; }
.stock-list { display:grid; gap:8px; }
.stock-row { display:grid; grid-template-columns:minmax(120px,1fr) repeat(3,auto); gap:12px; align-items:center; padding:11px 0; border-bottom:1px solid var(--line); }
.stock-row span { color:var(--muted); font-size:.9rem; }
.stock-row b { color:var(--ink); }
.quiet-logout { margin:28px 0; text-align:center; }
.fulfilment-form { display:grid; gap:16px; }
.fulfilment-item,.compact-card { padding:clamp(20px,4vw,30px); border:1px solid var(--line); border-radius:18px; background:#fff; }
.fulfilment-item h2 { margin-bottom:4px; }
.quantity-control.compact { max-width:290px; grid-template-columns:56px 1fr 56px; }
.quantity-control.compact button,.quantity-control.compact input { height:54px; }
.sticky-action { position:sticky; z-index:20; bottom:12px; padding:10px; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.95); box-shadow:0 12px 36px rgba(15,58,38,.15); backdrop-filter:blur(10px); }
.driver-heading { display:grid; grid-template-columns:1fr auto; align-items:end; }
.driver-heading>p,.driver-heading>h1 { grid-column:1; }
.day-strip { grid-column:2; grid-row:1 / span 2; display:grid; grid-template-columns:repeat(7,58px); gap:7px; }
.day-strip a { min-height:62px; display:grid; place-items:center; padding:5px; border:1px solid var(--line); border-radius:14px; color:var(--ink); text-decoration:none; }
.day-strip a:hover { border-color:var(--green-700); background:var(--green-50); }
.day-strip span { color:var(--muted); font-size:.78rem; }
.route-day { margin:32px 0; scroll-margin-top:100px; }
.route-day h2 { display:flex; gap:9px; align-items:baseline; }
.route-day h2 span { color:var(--muted); font-size:1rem; }
.empty-day { padding:15px 0; color:var(--muted); border-top:1px solid var(--line); }
.stop-card { display:grid; grid-template-columns:48px minmax(0,1fr) auto; gap:18px; align-items:center; margin:12px 0; padding:20px; border:1px solid var(--line); border-radius:18px; background:#fff; }
.stop-order { width:40px; height:40px; display:grid; place-items:center; border-radius:50%; background:var(--green-100); color:var(--green-900); font-weight:900; }
.stop-card h3 { margin:7px 0 4px; font-size:1.25rem; }
.stop-card p { margin-bottom:8px; }
.movement-list { display:flex; flex-wrap:wrap; gap:7px; }
.movement-list span { padding:5px 8px; border-radius:8px; background:var(--canvas); color:var(--muted); font-size:.86rem; }
.movement-list b { color:var(--ink); }
.stop-actions { display:grid; gap:4px; min-width:150px; }
.movement-list-large { display:grid; gap:8px; }
.movement-list-large span { padding:12px; font-size:1rem; }
.navigate-button { max-width:420px; margin-top:24px; }
.delivery-code { margin-top:20px; padding-top:20px; display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--line); }
.delivery-code span { color:var(--muted); }
.delivery-code strong { font-size:2.2rem; letter-spacing:.14em; }
.mobile-form-row { display:grid; grid-template-columns:1fr 140px 1fr; gap:12px; align-items:end; margin-bottom:16px; padding-bottom:16px; border-bottom:1px solid var(--line); }
.mobile-form-row>div span { display:block; color:var(--muted); }
.mobile-form-row label { margin:0; }
.confirm-check { min-height:52px; display:flex; align-items:center; gap:12px; margin:18px 0; }
.confirm-check input { width:24px; min-height:24px; flex:0 0 24px; }
.workspace-heading { margin:12px 0 42px; }
.attention-list { display:grid; gap:10px; margin-bottom:46px; }
.attention-item { min-height:76px; display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:14px; align-items:center; padding:15px 18px; border:1px solid var(--line); border-radius:16px; background:#fff; color:var(--ink); text-decoration:none; }
.attention-item>span { width:36px; height:36px; display:grid; place-items:center; border-radius:50%; background:var(--warning-bg); color:var(--warning); font-weight:900; }
.attention-item div { min-width:0; }
.attention-item strong,.attention-item small { display:block; }
.attention-item small { overflow:hidden; color:var(--muted); text-overflow:ellipsis; white-space:nowrap; }
.attention-item>b { color:var(--green-800); font-size:.9rem; }
.attention-high { border-color:#e5ce8e; }
.all-clear { padding:28px; border:1px solid #c9e2d4; border-radius:18px; background:var(--green-50); text-align:center; }
.all-clear>span { width:42px; height:42px; margin:0 auto 10px; display:grid; place-items:center; border-radius:50%; background:var(--green-700); color:#fff; font-weight:900; }
.all-clear p { margin:5px 0 0; color:var(--muted); }
.workspace-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:28px 0; }
.workspace-links>a,.workspace-links>details { min-height:70px; display:flex; align-items:center; padding:16px 18px; border:1px solid var(--line); border-radius:15px; background:#fff; color:var(--ink); font-weight:800; text-decoration:none; }
.workspace-links>details { display:block; }
.workspace-links>details summary { cursor:pointer; }
.workspace-links>details div { display:grid; gap:6px; margin-top:12px; }
.section-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.section-heading h2 { margin:0; }
.section-heading span { color:var(--muted); }
.store-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.store-summary { padding:24px; border:1px solid var(--line); border-radius:18px; background:#fff; }
.store-summary h3 { margin:0 0 5px; font-size:1.35rem; }
.stock-chips { display:flex; flex-wrap:wrap; gap:7px; margin:18px 0; }
.stock-chips span { padding:7px 10px; border-radius:9px; background:var(--green-50); color:var(--muted); font-size:.88rem; }
.stock-chips b { color:var(--green-900); }
.store-actions { display:flex; align-items:center; flex-wrap:wrap; gap:14px; }
.store-actions>a:not(.button) { min-height:44px; display:flex; align-items:center; font-weight:750; }
.customer-start { margin-top:clamp(28px,10vh,100px); }
.pin-detail-link { display:block; margin-top:16px; color:#fff; }
.account-links { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:20px 0; }
.account-links a { min-height:62px; display:flex; align-items:center; justify-content:space-between; padding:13px 16px; border:1px solid var(--line); border-radius:14px; background:#fff; color:var(--ink); font-weight:800; text-decoration:none; }
.history-row { min-height:50px; display:flex; align-items:center; justify-content:space-between; padding:9px 0; border-bottom:1px solid var(--line); color:var(--ink); text-decoration:none; }
.wizard-card { margin:0 0 24px; padding:clamp(10px,3vw,22px) 0; }
.wizard-card .choice-grid { margin-top:28px; }
.simple-choice { min-height:120px; }
.help-link { margin-top:16px; }
.quantity-control-large { max-width:440px; margin:32px auto; grid-template-columns:76px 1fr 76px; }
.quantity-control-large button,.quantity-control-large input { height:76px; font-size:1.8rem; }

@media (max-width:760px) {
    .internal-experience .page-shell { padding-top:22px; }
    .internal-nav { display:none; }
    .internal-experience .mobile-menu { display:block; }
    .task-screen { margin:30px auto; }
    .task-screen h1,.task-heading h1,.workspace-heading h1 { font-size:clamp(2.2rem,12vw,3.25rem); }
    .pin-entry { height:92px; }
    .stock-row { grid-template-columns:1fr; gap:4px; }
    .stock-row span { display:flex; justify-content:space-between; }
    .fulfilment-item { padding:20px 16px; }
    .quantity-control.compact { max-width:none; }
    .sticky-action { bottom:8px; }
    .driver-heading { display:block; margin-bottom:28px; }
    .day-strip { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; margin:20px -6px 0; }
    .day-strip a { min-height:58px; padding:4px 1px; border-radius:10px; }
    .stop-card { grid-template-columns:36px minmax(0,1fr); gap:10px; padding:16px 14px; }
    .stop-order { width:32px; height:32px; }
    .stop-actions { grid-column:1 / -1; grid-template-columns:1fr; min-width:0; }
    .stop-actions .button { width:100%; }
    .movement-list { display:grid; }
    .mobile-form-row { grid-template-columns:1fr; }
    .workspace-heading { margin-bottom:28px; }
    .attention-item { grid-template-columns:36px minmax(0,1fr); padding:13px; }
    .attention-item>b { grid-column:2; }
    .attention-item small { white-space:normal; }
    .workspace-links,.store-grid { grid-template-columns:1fr; }
    .workspace-links>a,.workspace-links>details { min-height:58px; }
    .store-summary { padding:19px 16px; }
    .store-actions { display:grid; }
    .store-actions .button { width:100%; }
    .account-links { grid-template-columns:1fr; }
    .choice-grid { gap:10px; }
    .simple-choice { min-height:96px; }
    .quantity-control-large { grid-template-columns:64px 1fr 64px; }
    .quantity-control-large button,.quantity-control-large input { height:66px; }
    table { min-width:620px; }
    .table-wrap, .card:has(>table), .card:has(>form>table) { overflow-x:auto; }
}

@media (max-width:340px) {
    .page-shell { padding-inline:12px; }
    .card,.fulfilment-item,.compact-card { padding-inline:14px; }
    .quiet-actions a { font-size:.8rem; }
    .day-strip a { font-size:.8rem; }
}

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

/* Bombičkáreň v0.8 — final task hierarchy */
[hidden] { display:none!important; }
.home-focus { min-height:calc(100vh - 230px); max-width:1180px; margin:auto; padding:clamp(64px,13vh,150px) 32px 32px; display:flex; flex-direction:column; justify-content:space-between; gap:90px; }
.home-focus-main { width:min(100%,760px); display:flex; flex-direction:column; align-items:flex-start; }
.home-focus h1 { max-width:720px; margin-bottom:38px; font-size:clamp(3.3rem,8vw,7.3rem); line-height:.95; letter-spacing:-.065em; }
.home-focus .home-primary { min-width:250px; margin:0 0 10px; }
.home-partner-link { align-self:center; min-height:48px; display:flex; align-items:center; color:var(--muted); font-weight:750; text-decoration:none; }
.home-partner-link:hover { color:var(--green-800); text-decoration:underline; }
.customer-experience .page-shell { width:min(100%,760px); }
.wizard-card { max-width:680px; margin-inline:auto; }
.wizard-card>h1 { margin-bottom:30px; }
.cylinder-choice { text-align:center; }
.cylinder-mark { width:52px; height:52px; margin:0 auto 14px; display:grid; place-items:center; border-radius:50%; background:var(--green-100); color:var(--green-800)!important; font-size:1.8rem; }
.pin-remaining { margin:14px 0 24px; display:grid; gap:3px; }
.pin-remaining strong,.pin-remaining span,.pin-remaining small { display:block; }
.pin-remaining small { margin-top:7px; color:rgba(255,255,255,.78); }
.pin-tertiary-link { margin-top:0; font-size:.88rem; opacity:.78; }
.pin-success-title { margin-bottom:25px; font-size:clamp(2rem,8vw,3.4rem); }
.pending-payment-card { width:min(100%,620px); }
.pending-payment-card .money-large { margin:24px 0; }
.order-product-title { margin:14px 0 8px; font-size:clamp(1.25rem,4vw,1.8rem); }
.order-detail-summary h1 { margin-top:18px; font-size:clamp(1.8rem,5vw,2.7rem); }
.order-detail-summary .order-number { margin-top:22px; }
.account-cancel-panel { margin-top:54px; border-color:#ead7d4; }
.directory-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin:14px 0 30px; }
.directory-heading h1 { margin:0; }
.view-switch { display:flex; padding:4px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.view-switch button { min-height:42px; padding:8px 18px; border-color:transparent; background:transparent; color:var(--green-800); }
.view-switch button:hover { transform:none; }
.view-switch .view-switch-active { background:var(--green-700); color:#fff; }
.store-search,.admin-search { display:grid; grid-template-columns:1fr auto; gap:10px; margin-bottom:28px; }
.store-search button,.admin-search button { min-width:120px; }
.directory-note { margin-bottom:20px; }
.store-list-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; margin-bottom:12px; padding:22px 24px; border:1px solid var(--line); border-radius:18px; background:#fff; }
.store-list-card h2 { margin-bottom:4px; }
.store-list-main small { color:var(--muted); }
.store-availability { display:flex; flex-wrap:wrap; gap:7px; margin:13px 0 7px; }
.store-availability span { padding:6px 9px; border-radius:9px; background:var(--green-50); color:var(--muted); }
.store-list-actions { display:grid; align-content:start; gap:4px; min-width:145px; }
.store-detail { grid-column:1 / -1; padding-top:12px; border-top:1px solid var(--line); }
.store-detail summary { cursor:pointer; font-weight:800; }
.store-detail p { display:inline-block; margin:10px 14px 0 0; }
.warning-inline { margin:12px 0 4px; color:var(--warning); font-weight:750; }
.directory-map { min-height:620px; border-radius:22px; }
.staff-choice-list { display:grid; gap:10px; margin:28px 0; }
.staff-choice { margin:0; }
.staff-choice input { position:absolute; width:1px; height:1px; opacity:0; }
.staff-choice span { min-height:64px; display:grid; place-items:center; padding:13px 18px; border:2px solid var(--line); border-radius:15px; background:#fff; color:var(--ink); font-size:1.15rem; font-weight:850; cursor:pointer; }
.staff-choice input:focus-visible+span,.staff-choice input:checked+span { border-color:var(--green-700); background:var(--green-50); outline:3px solid var(--focus-ring); outline-offset:2px; }
.staff-back { margin:0 auto 24px; }
.success-screen { padding:36px 20px; }
.success-mark { width:82px; height:82px; margin:0 auto 20px; display:grid; place-items:center; border-radius:50%; background:var(--green-700); color:#fff; font-size:3.2rem; font-weight:900; }
.exception-screen { padding:28px; border:1px solid #e3b8b5; border-radius:18px; background:var(--danger-bg); }
.sale-wizard { width:min(100%,620px); margin:auto; }
.sale-wizard>section { display:grid; gap:20px; }
.sale-wizard .choice-grid { margin-bottom:8px; }
.sale-review { min-height:120px; display:grid; place-items:center; font-size:1.18rem; font-weight:850; }
.delivery-summary-list,.stock-confirmation-summary { display:grid; gap:2px; margin-bottom:24px; }
.delivery-summary-row,.stock-confirmation-row { min-height:62px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:18px; padding:12px 0; border-bottom:1px solid var(--line); }
.delivery-summary-row div { display:grid; }
.delivery-summary-row span { color:var(--muted); }
.delivery-summary-row b,.stock-confirmation-row strong { font-size:1.2rem; }
.difference-panel { margin-top:14px; border-top:1px solid var(--line); }
.difference-panel>summary { min-height:52px; display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--green-800); font-weight:800; }
.difference-panel[open]>summary { margin-bottom:14px; }
.confirmation-question { margin:8px 0 18px; text-align:center; font-size:1.15rem; font-weight:850; }
.manager-primary-nav { display:flex; gap:4px; margin:-22px 0 34px; padding:5px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.manager-primary-nav a { min-height:44px; display:flex; align-items:center; padding:7px 14px; border-radius:9px; color:var(--ink); font-weight:750; text-decoration:none; }
.manager-primary-nav a:hover { background:var(--green-50); color:var(--green-800); }
.settlement-card { margin-bottom:18px; padding:clamp(24px,4vw,42px); border:1px solid var(--line); border-radius:20px; background:#fff; }
.settlement-result { max-width:900px; margin:8px 0 24px; color:var(--green-900); font-size:clamp(2rem,4.5vw,4rem); line-height:1.05; }
.settlement-inputs { display:flex; flex-wrap:wrap; gap:10px 28px; margin-bottom:24px; color:var(--muted); }
.settlement-inputs b { margin-left:5px; color:var(--ink); }
.role-manager .page-shell-wide,.role-main_manager .page-shell-wide,.role-admin .page-shell-wide { max-width:1280px; }

@media (max-width:760px) {
    .home-focus { min-height:calc(100vh - 190px); padding:64px 20px 26px; gap:70px; }
    .home-focus h1 { margin-bottom:30px; font-size:clamp(3rem,17vw,4.6rem); }
    .home-focus .home-primary { width:100%; min-width:0; }
    .home-focus-main>.quiet-link { align-self:center; }
    .customer-experience .site-footer { display:none; }
    .customer-experience .page-shell { padding-bottom:92px; }
    .order-progress { margin-bottom:18px; }
    .pin-card { margin-inline:-4px; }
    .pin-code { font-size:clamp(3.6rem,20vw,5.4rem); }
    .directory-heading { align-items:flex-start; flex-direction:column; }
    .view-switch { width:100%; }
    .view-switch button { flex:1; }
    .store-search,.admin-search { grid-template-columns:1fr; }
    .store-search button,.admin-search button { width:100%; }
    .store-list-card { grid-template-columns:1fr; padding:19px 16px; }
    .store-list-actions { grid-template-columns:1fr; }
    .store-detail { grid-column:1; }
    .directory-map { min-height:460px; }
    .quiet-actions { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .quiet-actions a { padding-inline:2px; }
    .manager-primary-nav { margin-top:-12px; overflow-x:auto; }
    .manager-primary-nav a { flex:0 0 auto; }
    .settlement-inputs { display:grid; }
    .settlement-result { font-size:clamp(2rem,10vw,3rem); }
}

@media (max-width:412px) {
    .page-shell { padding-inline:14px; }
    .home-focus { padding-inline:18px; }
    .pin-card { padding-inline:15px; }
    .pin-code { letter-spacing:.11em; text-indent:.11em; }
    .choice-card { min-height:92px; }
    .directory-map { min-height:420px; }
}

@media (max-width:360px) {
    .home-focus h1 { font-size:3rem; }
    .task-screen h1,.task-heading h1,.workspace-heading h1 { font-size:2.35rem; }
    .quantity-control-large { grid-template-columns:58px 1fr 58px; gap:7px; }
    .pin-entry { height:84px; font-size:2.65rem; }
    .quiet-actions a { font-size:.78rem; }
}

@media (max-width:320px) {
    .page-shell { padding-inline:10px; }
    .home-nav { padding-inline:12px; }
    .home-focus { padding:48px 14px 20px; }
    .home-focus h1 { font-size:2.65rem; }
    .card,.compact-card,.fulfilment-item,.settlement-card { padding-inline:13px; }
    .pin-code { font-size:3.25rem; }
    .mobile-dock { padding-inline:4px; }
    .mobile-dock a { font-size:.7rem; }
}

/* Bombičkáreň v0.8.1 — exact reduction polish P-01–P-16 */
.checkout-experience { padding-bottom:0!important; }
.checkout-experience .site-header { position:static; }
.checkout-exit { min-height:44px; display:flex; align-items:center; color:var(--green-800); font-weight:800; text-decoration:none; }
.checkout-experience .page-shell { padding-top:28px; }
.direct-choice { width:100%; justify-content:flex-start; border:2px solid var(--line); background:#fff; color:var(--ink); text-align:left; }
.direct-choice::after { display:none; }
.direct-choice:hover,.direct-choice:focus-visible { border-color:var(--green-700); background:var(--green-50); color:var(--green-900); }
.direct-choice strong { margin:0; }
.cylinder-choice.direct-choice { justify-content:center; text-align:center; }
.cylinder-illustration { width:96px; height:76px; margin:0 auto 12px; display:grid; place-items:center; color:var(--green-800)!important; }
.cylinder-illustration svg { width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:3.5; stroke-linecap:round; stroke-linejoin:round; }
.cylinder-guide-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin:22px 0 26px; text-align:center; }
.cylinder-guide-grid>div { padding:18px 10px; border:1px solid var(--line); border-radius:15px; }
.compact-credit { margin-bottom:18px; border-bottom:1px solid var(--line); }
.compact-credit summary { min-height:52px; display:flex; align-items:center; justify-content:space-between; cursor:pointer; color:var(--green-800); font-weight:800; }
.compact-credit[open] { padding-bottom:16px; }
.compact-credit-link { min-height:50px; display:flex; align-items:center; justify-content:space-between; padding:10px 4px; color:var(--green-800); font-weight:800; text-decoration:none; }
.js .js-fallback-submit { display:none; }
.quiet-action-button { min-height:48px; padding:7px; border:0; background:transparent; color:var(--green-800); font-size:.9rem; font-weight:800; }
.quiet-action-button:hover { background:var(--green-50); color:var(--green-900); transform:none; }
.staff-stock-dialog { max-height:min(780px,calc(100vh - 40px)); overflow:auto; }
.dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.dialog-heading h2 { margin:0; }
.staff-stock-dialog>.button-block { margin-top:22px; }
.menu-staff-name { display:block; padding:10px 12px; color:var(--muted); font-size:.9rem; }
.delivery-type-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-bottom:22px; }
.delivery-type-group { padding:17px 18px; border:1px solid var(--line); border-radius:15px; background:var(--green-50); }
.delivery-type-group h3 { margin:0 0 10px; }
.delivery-type-group dl { display:grid; grid-template-columns:1fr; gap:7px; }
.delivery-type-group dl>div { display:flex; justify-content:space-between; gap:18px; }
.delivery-type-group dt { font-weight:700; }
.delivery-type-group dd { font-weight:900; white-space:nowrap; }
.delivery-zero { color:var(--muted); }
.delivery-edit-panel .delivery-type-group { background:#fff; }
.delivery-edit-panel label { margin-top:10px; }
.day-strip a { position:relative; }
.day-strip a.selected { border-color:var(--green-700); background:var(--green-100); color:var(--green-900); }
.day-strip a small { position:absolute; top:-6px; right:-5px; min-width:20px; height:20px; display:grid; place-items:center; padding:0 5px; border-radius:999px; background:var(--green-700); color:#fff; font-size:.7rem; font-weight:900; }
.delivery-code-quiet { margin-top:18px; padding-top:14px; border-top:1px solid var(--line); }
.delivery-code-quiet summary { cursor:pointer; color:var(--muted); font-weight:750; }
.delivery-code-quiet strong { display:block; margin-top:8px; font-size:1.45rem; letter-spacing:.12em; }
.secondary-action { margin:14px 0; }
.order-meta { font-weight:800; }
.order-meta span { color:var(--muted); font-size:.9rem; font-weight:500; }
.delivery-number { color:var(--muted); font-size:.92rem; }
.delivery-admin-code { font-size:2rem; }
.invoice-exception { border:2px solid #d6a447; background:var(--warning-bg); }
.invoice-difference { display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; font-size:1.05rem; }
.invoice-difference span { color:var(--danger); font-size:1.5rem; }
.role-manager .workspace-heading h1,.role-main_manager .workspace-heading h1,.role-admin .workspace-heading h1 { font-size:clamp(2rem,5vw,3.5rem); }

@media (max-width:760px) {
    .checkout-experience .page-shell { padding-bottom:42px; }
    .manager-primary-nav { display:none; }
    .delivery-type-groups { grid-template-columns:1fr; }
    .quiet-actions .quiet-action-button { padding-inline:2px; font-size:.8rem; }
    .delivery-admin-detail h1 { font-size:clamp(2rem,10vw,3rem); }
}

@media (max-width:360px) {
    .quiet-actions .quiet-action-button { font-size:.78rem; }
    .cylinder-guide-grid { grid-template-columns:1fr; }
}
