/* Otzar – store, customer portal and admin console */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/Inter-Regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/Inter-Medium.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/Inter-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(fonts/Inter-Bold.woff2) format("woff2"); }
@font-face { font-family: "Inter Display"; font-weight: 800; font-display: swap; src: url(fonts/InterDisplay-ExtraBold.woff2) format("woff2"); }

:root {
  --paper: #FBF8F3; --card: #FFFFFF; --ink: #1B1A17; --ink-2: #57534B; --ink-3: #8A857B;
  --line: #E8E2D6; --line-2: #F1ECE2; --teal: #0F6E6F; --teal-2: #0B5556; --gold: #E8B23A; --gold-2: #FFF4D8;
  --ok: #17803D; --ok-bg: #E5F5EA; --bad: #B42318; --bad-bg: #FDECEA; --warn: #8A5A00; --warn-bg: #FFF3D6;
  --r: 14px; --shadow: 0 1px 2px rgba(27,26,23,.05), 0 8px 24px -12px rgba(27,26,23,.18);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--teal); text-underline-offset: 2px; }
a:hover { color: var(--teal-2); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font: 800 clamp(30px, 4.6vw, 48px)/1.05 "Inter Display", Inter, sans-serif; letter-spacing: -.025em; }
h2 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 16px; font-weight: 700; }
p { margin: 0 0 1em; }
small, .muted { color: var(--ink-3); }
.small { font-size: 13px; }
a.mono, td .mono { white-space: nowrap; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }

/* top bar */
.top { background: var(--ink); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.brand .mk { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--gold), #F07C3A); display: grid; place-items: center; color: var(--ink); font: 800 16px "Inter Display", Inter; }
.top nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
@media (max-width: 560px) { .brand .bn { display: none; } .top nav a, .top nav button { padding: 7px 8px; } }
.top nav a, .top nav button { white-space: nowrap; color: #E8E2D6; text-decoration: none; padding: 7px 12px; border-radius: 8px; font: 500 14px Inter, sans-serif; background: none; border: 0; cursor: pointer; }
.top nav a:hover, .top nav button:hover { background: rgba(255,255,255,.1); color: #fff; }
.top form { margin: 0; }

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(232,178,58,.35), transparent 60%),
  radial-gradient(900px 500px at -10% 120%, rgba(15,110,111,.28), transparent 60%), var(--ink); color: #fff; padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 18.5px; color: #E8E2D6; max-width: 560px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 8px; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn.ghost:hover { background: rgba(255,255,255,.08); color: #fff; border-color: #fff; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 8px 22px; font-size: 14px; color: #E8E2D6; }
.ticks li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 8px; }
.hero-art { position: relative; min-height: 340px; }
.hero-art .shot { position: absolute; width: 88%; height: auto; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.hero-art .s1 { top: 0; left: 0; transform: rotate(-2deg); }
.hero-art .s2 { bottom: 0; right: 0; transform: rotate(2.5deg) translateY(30%); }
.hero-art .s1:only-child { position: relative; width: 100%; transform: none; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { min-height: 0; padding-bottom: 22%; } .hero-art .s1 { position: relative; width: 92%; } .hero-art .s2 { width: 70%; transform: rotate(2.5deg); bottom: 0; } }
@media (max-width: 520px) { .hero { padding: 40px 0 46px; } .ticks { grid-template-columns: 1fr; } .hero-art { display: none; } }

/* storefront sections */
.sec { margin: 0 0 56px; }
.sec-head { margin-bottom: 20px; max-width: 720px; }
.sec-head h2 { font: 800 clamp(24px, 3vw, 32px)/1.1 "Inter Display", Inter, sans-serif; letter-spacing: -.02em; margin-bottom: 6px; }
.sec-head p { color: var(--ink-2); margin: 0; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.pgrid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .pgrid.two { grid-template-columns: 1fr; } }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(27,26,23,.06), 0 18px 40px -18px rgba(27,26,23,.35); }
.pcard-img { display: block; aspect-ratio: 16 / 10; background: var(--pc); overflow: hidden; display: grid; place-items: center; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.pcard:hover .pcard-img img { transform: scale(1.03); }
.pcard-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard-title { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.pcard-title h3 { font: 800 24px/1.1 "Inter Display", Inter, sans-serif; letter-spacing: -.02em; margin: 0; }
.pcard-title h3 a { color: var(--ink); text-decoration: none; }
.pcard-title h3 a::after { content: ""; }
.tagline { color: var(--ink-2); font-weight: 500; }
.tagline.big { font-size: 19px; line-height: 1.4; }
.checks { list-style: none; padding: 0; margin: 4px 0 18px; }
.checks li { position: relative; padding: 4px 0 4px 28px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--pc, var(--teal)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks li b { color: var(--ink); }
.pcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.pcard-foot .from { font-size: 14px; color: var(--ink-3); }
.pcard-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.demo-note { margin: 8px 0 0; }
.g-live { margin: 6px 0 0; font-size: 14px; font-weight: 600; }
.pcard-foot .from b { font: 800 22px "Inter Display", Inter; color: var(--ink); }
.pbadge.sm { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px; font-size: 18px; }
.pbadge.big { width: 90px; height: 90px; font-size: 44px; background: rgba(255,255,255,.2); }

ol.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
ol.how li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
ol.how .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-2); color: #7A5200; font-weight: 800; margin-bottom: 12px; }
ol.how p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { ol.how { grid-template-columns: 1fr; } }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; background: var(--ink); color: #E8E2D6; border-radius: 18px; padding: 28px; }
.trust .ti { display: flex; gap: 14px; align-items: flex-start; }
.trust h3 { color: #fff; margin: 2px 0 4px; font-size: 15.5px; }
.trust p { font-size: 13.5px; margin: 0; color: #CFC8BA; }
.trust .ic, .trust-line svg { flex: 0 0 auto; }
.trust .ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(232,178,58,.16); display: grid; place-items: center; }
.trust svg, .trust-line svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; padding: 22px; } }
.trust-line { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 18px 0 0; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.trust-line li { display: flex; align-items: center; gap: 7px; }
.trust-line svg { width: 18px; height: 18px; stroke: var(--teal); }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 15px 34px 15px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 11px; font-size: 22px; font-weight: 400; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { color: var(--ink-2); padding: 0 0 12px; }
.faq-sec .faq { max-width: 820px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, var(--teal), #0B4F50); color: #fff; border-radius: 18px; padding: 30px 32px; }
.cta-band h2 { color: #fff; margin: 0 0 4px; }
.cta-band p { margin: 0; color: #D7EDEC; }

/* product page */
.crumbs { margin: -6px 0 18px; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); }
.phero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 40px; align-items: start; margin-bottom: 44px; }
.ptitle { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.ptitle h1 { margin: 0; }
.phero .cta-row { margin-top: 22px; }
.assure { margin: 8px 0 0; }
.gallery { min-width: 0; }
.g-main { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 6px rgba(27,26,23,.06), 0 24px 50px -24px rgba(27,26,23,.45); }
.g-main img { display: block; width: 100%; height: auto; }
.g-main .zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(27,26,23,.72); display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.g-main:hover .zoom, .g-main:focus-visible .zoom { opacity: 1; }
.g-main .zoom svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.g-cap { font-size: 14px; color: var(--ink-2); margin: 12px 2px 10px; min-height: 1.5em; }
.g-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.g-thumb { flex: 0 0 116px; padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; background: none; cursor: pointer; opacity: .7; transition: opacity .15s, border-color .15s; scroll-snap-align: start; }
.g-thumb img { display: block; width: 100%; height: auto; }
.g-thumb:hover { opacity: 1; }
.g-thumb.on { border-color: var(--pc, var(--teal)); opacity: 1; }
.overview-text { max-width: 760px; font-size: 17px; color: var(--ink-2); }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; border-top: 4px solid var(--pc, var(--teal)); }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--ink-2); margin: 0; font-size: 14.5px; }
.plan { position: relative; }
.ribbon { position: absolute; top: -12px; left: 20px; background: var(--pc, var(--teal)); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.try-band { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border: 1.5px dashed #CFC6B3; border-radius: var(--r); padding: 18px 22px; background: #FFFDF8; }
.try-band h3 { margin: 0 0 4px; }
.try-band p { margin: 0; color: var(--ink-2); font-size: 14px; max-width: 640px; }
ul.plain, ol.plain { padding-left: 20px; color: var(--ink-2); }
ul.plain li, ol.plain li { margin-bottom: 6px; }
.faq-grid { gap: 40px; }
.buybar { display: none; }
@media (max-width: 900px) { .phero { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 760px) {
  .buybar { display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 20; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 10px 10px 16px; box-shadow: 0 12px 30px -8px rgba(0,0,0,.45); transform: translateY(150%); transition: transform .25s; }
  .buybar.show { transform: none; }
  .buybar span { display: block; font-size: 12.5px; color: #CFC8BA; }
  .g-thumb { flex-basis: 92px; }
}

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(15,14,12,.97); display: flex; align-items: center; justify-content: center; padding: 24px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto; border-radius: 8px; }
.lightbox figcaption { color: #E8E2D6; margin-top: 12px; text-align: center; font-size: 15px; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 50%; width: 46px; height: 46px; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 16px; right: 16px; }
.lb-nav.prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-nav.next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 26px; left: 24px; color: #CFC8BA; font-size: 13px; }
body.lb-on { overflow: hidden; }
@media (max-width: 640px) { .lightbox { padding: 60px 8px 80px; } .lb-nav.prev, .lb-nav.next { top: auto; bottom: 18px; transform: none; } .lb-nav.prev { left: calc(50% - 58px); } .lb-nav.next { right: calc(50% - 58px); } }

/* free trial */
.h-page { font: 800 clamp(26px, 3.4vw, 34px)/1.1 "Inter Display", Inter, sans-serif; letter-spacing: -.02em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.center-card { text-align: center; margin: 10px auto; padding: 34px; }
.center-card .pbadge { margin-bottom: 10px; }
.center-card ol.left { text-align: left; max-width: 460px; margin: 0 auto 18px; }

/* cards and grids */
main { padding: 34px 0 60px; }
.hero + main { padding-top: 54px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-wide { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.g-narrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
@media (max-width: 860px) { .g2, .g3, .g4, .g-wide, .g-narrow { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.product { position: relative; overflow: hidden; padding: 26px; display: flex; flex-direction: column; }
.product::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--pc, var(--teal)); }
.product .badge { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: var(--pc, var(--teal)); color: #fff; font: 800 20px "Inter Display", Inter; margin-bottom: 14px; }
.product p { color: var(--ink-2); }
.pbadge { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 15px; background: var(--pc, var(--teal)); color: #fff; font: 800 26px "Inter Display", Inter; flex: 0 0 56px; }
.product .from { margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--ink-3); }
.product .from b { font-size: 20px; color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--pc, var(--teal)); }
.plan .price { font: 800 32px/1 "Inter Display", Inter; letter-spacing: -.02em; margin: 6px 0 2px; }
.plan .price small { font: 500 14px Inter; color: var(--ink-3); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 18px; }
.plan li { padding: 5px 0 5px 26px; position: relative; color: var(--ink-2); }
.plan li::before { content: "✓"; position: absolute; left: 2px; top: 4px; color: var(--pc, var(--teal)); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* term picker */
.terms { border: 0; padding: 0; margin: 4px 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.terms legend { font-weight: 600; font-size: 13.5px; margin-bottom: 6px; padding: 0; }
.term { margin: 0; cursor: pointer; font-weight: 400; }
.term input { position: absolute; opacity: 0; pointer-events: none; }
.tbox { display: flex; flex-direction: column; gap: 3px; border: 1.5px solid #D9D2C3; border-radius: 12px; padding: 12px 14px; background: #fff; height: 100%; }
.tbox .tprice { font: 800 19px "Inter Display", Inter, sans-serif; }
.tbox .tag { align-self: flex-start; }
.term input:checked + .tbox { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,110,111,.15); background: #F3FAF9; }
.term input:focus-visible + .tbox { outline: 3px solid rgba(15,110,111,.35); }
@media (max-width: 520px) { .terms { grid-template-columns: 1fr; } }
.multi { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; font-size: 13.5px; }
.multi a { color: var(--ink-2); text-decoration: none; }
.multi a:hover b { color: var(--teal); }
.nowrap { white-space: nowrap; }

/* forms */
label { display: block; font-weight: 600; font-size: 13.5px; margin: 0 0 6px; }
.field { margin-bottom: 16px; }
.hint { font-size: 12.5px; color: var(--ink-3); margin-top: 5px; font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; border: 1px solid #D9D2C3; border-radius: 10px; background: #fff; padding: 10px 12px; font: inherit; color: var(--ink); }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(15,110,111,.2); border-color: var(--teal); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--teal); }
.row { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.row > .field { flex: 1 1 180px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #D9D2C3; background: #fff; color: var(--ink); padding: 10px 18px;
  border-radius: 10px; font: 600 14.5px Inter, sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--ink-3); color: var(--ink); }
.btn.primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn.primary:hover { background: var(--teal-2); color: #fff; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.danger { color: var(--bad); }
.btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn.big { padding: 14px 24px; font-size: 16px; }
.btn.block { width: 100%; }
.inline { display: inline; margin: 0; }

/* notices */
.note { border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; background: var(--line-2); font-size: 14px; }
.note.ok { background: var(--ok-bg); color: #0E5A2A; }
.note.bad { background: var(--bad-bg); color: var(--bad); }
.note.warn { background: var(--warn-bg); color: var(--warn); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 20px; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.tag.bad { background: var(--bad-bg); color: var(--bad); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }
.tag.gold { background: var(--gold-2); color: #7A5200; }

/* key box */
.key { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; word-break: break-all; background: #17161A; color: #F4E7C5; border-radius: 10px; padding: 14px; line-height: 1.5; user-select: all; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 12px 38px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-2); color: #7A5200; font-weight: 700; font-size: 13px; display: grid; place-items: center; }

/* tables */
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.t td { padding: 10px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
table.t td.n, table.t th.n { text-align: right; white-space: nowrap; }
.scroll { overflow-x: auto; }
dl.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 14px; margin: 0; font-size: 14px; }
dl.kv dt { color: var(--ink-3); }
dl.kv dd { margin: 0; word-break: break-word; }
@media (max-width: 600px) { dl.kv { grid-template-columns: 1fr; } dl.kv dt { margin-top: 6px; } }

/* order summary */
.summary { background: var(--ink); color: #F4EFE6; border-radius: var(--r); padding: 24px; }
.summary h3 { color: #fff; }
.summary .line { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,.15); font-size: 14px; }
.summary .total { font: 800 28px "Inter Display", Inter; color: var(--gold); margin-top: 12px; }
.paywith { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.paywith span { background: rgba(255,255,255,.1); border-radius: 6px; padding: 3px 8px; font-size: 12px; }

footer.foot { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--ink-3); font-size: 13px; }
footer.foot .wrap { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }

/* admin */
.admin { display: grid; grid-template-columns: 228px 1fr; min-height: 100vh; background: linear-gradient(to right, var(--ink) 228px, transparent 228px); }
.side { background: var(--ink); color: #E8E2D6; padding: 18px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .brand { margin: 4px 6px 22px; }
.side nav a { display: flex; gap: 10px; align-items: center; color: #CFC8BA; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.side nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.side nav a.on { background: rgba(232,178,58,.16); color: var(--gold); }
.side nav .sep { height: 1px; background: rgba(255,255,255,.1); margin: 12px 6px; }
.side .who { margin-top: 22px; font-size: 12.5px; color: #9C968A; padding: 0 8px; }
.side .who button { background: none; border: 0; color: #CFC8BA; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.mode { display: inline-block; margin: 0 6px 16px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; padding: 3px 9px; border-radius: 20px; }
.mode.test { background: var(--gold); color: var(--ink); }
.mode.live { background: #2BB673; color: #fff; }
.body { padding: 26px 32px 60px; min-width: 0; }
.head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.head h1 { font-size: 28px; margin: 0; }
.head .btns { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.kpi .v { font: 800 26px/1.1 "Inter Display", Inter; letter-spacing: -.02em; margin-top: 4px; }
.kpi .l { font-size: 12.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 160px; margin-top: 10px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.bars i { display: block; width: 100%; max-width: 38px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--gold), #F07C3A); min-height: 2px; }
.bars span { font-size: 11px; color: var(--ink-3); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.filters a { padding: 6px 12px; border-radius: 20px; text-decoration: none; color: var(--ink-2); background: #fff; border: 1px solid var(--line); font-size: 13.5px; }
.filters a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters form { margin-left: auto; display: flex; gap: 6px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--pc, var(--teal)); margin-right: 6px; }
@media (max-width: 900px) { .admin { grid-template-columns: 1fr; background: none; } .side { position: static; height: auto; } .body { padding: 20px 16px; } }

/* print (receipts) */
@media print { .noprint { display: none !important; } body { background: #fff; } .card { box-shadow: none; border: 0; } }

/* console: screenshots */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.mitem { border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.mitem img { display: block; width: 100%; height: auto; border-radius: 6px; }
.mitem form { margin: 0; }
.mitem input[type=text], .mitem input[type=number] { padding: 6px 8px; font-size: 13px; }
/* product families */
.fam + .fam { margin-top: 56px; }
.sec-head h2 a { color: inherit; text-decoration: none; }
.sec-head h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fam-more { margin: 14px 0 0; text-align: right; }
.fam-more a { font-weight: 700; color: var(--teal, #0F6E6F); text-decoration: none; }
.fam-head h1 { font-size: clamp(32px, 5vw, 48px); margin: 6px 0 10px; letter-spacing: -.02em; }
.fam-head .lead { font-size: 20px; color: var(--ink-2, #4A463F); max-width: 780px; margin: 0 0 10px; }
.fam-head p { max-width: 780px; }
/* user guides */
.help-index .lead, .help-head .lead { font-size: 17px; max-width: 760px; }
.help-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 18px; }
.help-card { padding: 22px; }
.help-card h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.help-card h2 a { color: inherit; text-decoration: none; }
.help-card ul { padding-left: 0; list-style: none; }
.help-card li { margin: 0 0 14px; }
.guides-h { margin-top: 26px; }
.guides li { margin: 0 0 10px; }
.help-wrap { padding: 28px 0 40px; }
.help-head { max-width: 860px; margin-bottom: 26px; }
.help-meta { margin: -6px 0 14px; }
.help-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.help-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.help-toc { position: sticky; top: 18px; font-size: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.help-toc ol { margin: 8px 0 0; padding-left: 20px; }
.help-toc li { margin: 4px 0; }
.help-toc a { color: var(--ink-2); text-decoration: none; }
.help-toc a:hover { color: var(--teal); text-decoration: underline; }
.help-body { max-width: 820px; font-size: 16px; line-height: 1.65; }
.help-grid > .help-body:only-child { grid-column: 1 / -1; }
.help-body h2 { font-size: 24px; margin: 1.9em 0 .6em; padding-top: .4em; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.help-body h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.help-body h3 { font-size: 18px; margin: 1.5em 0 .5em; scroll-margin-top: 16px; }
.help-body ul, .help-body ol { padding-left: 24px; margin: 0 0 1em; }
.help-body li { margin: .25em 0; }
.help-body code { background: var(--line-2); padding: 1px 5px; border-radius: 4px; }
.help-body figure { margin: 18px 0 24px; }
.help-body figure img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
.help-body figure.wide img { width: 100%; }
.help-body figure.phone img { max-width: 300px; }
.help-body figcaption { font-size: 13.5px; color: var(--ink-3); margin-top: 8px; }
.help-body .tbl { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.help-body table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.help-body th, .help-body td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--line-2); }
.help-body th { background: var(--line-2); font-weight: 600; }
.help-body tr:last-child td { border-bottom: 0; }
.help-body td:first-child { min-width: 150px; }
@media (max-width: 860px) { .help-grid { grid-template-columns: 1fr; gap: 18px; } .help-toc { position: static; } }
@media print {
  @page { size: A4; margin: 16mm 15mm 18mm; }
  body { font-size: 11pt; }
  .wrap { max-width: none; padding: 0; }
  .help-wrap { padding: 0; }
  .help-grid { display: block; }
  .help-toc { position: static; border: 1px solid var(--line); padding: 10px 14px; margin: 0 0 16px; }
  .help-toc ol { columns: 2; column-gap: 24px; }
  .help-body { max-width: none; font-size: 10.5pt; }
  .help-body h2 { border-top: 1px solid var(--line); margin-top: 1.4em; padding-top: .5em; }
  .help-body h2, .help-body h3 { break-after: avoid; }
  .help-body figcaption { break-before: avoid; }
  .help-body figure, .help-body tr { break-inside: avoid; }
  .help-body figure { margin: 10px 0 14px; }
  .help-body figure img { box-shadow: none; max-height: 120mm; width: auto; }
  .help-body figure.phone img { max-height: 105mm; max-width: 58mm; }
  .help-body figure.wide img { width: 100%; max-height: none; }
  .help-body a { color: inherit; }
  .help-head { margin-bottom: 18px; }
}
