/* Vouchermat — veřejný objednávkový formulář (design project/order-form, of.css). Bez knihoven.
   Fonty DM Sans / DM Mono z vlastního serveru (formulář se vkládá na weby obchodníků — žádné volání Google Fonts). */
@font-face{font-family:"DM Sans";font-style:normal;font-weight:100 1000;font-display:swap;src:url(../fonts/dm/dm-sans-latin-opsz-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:100 1000;font-display:swap;src:url(../fonts/dm/dm-sans-latin-ext-opsz-normal.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"DM Mono";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/dm/dm-mono-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"DM Mono";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/dm/dm-mono-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"DM Mono";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/dm/dm-mono-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"DM Mono";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/dm/dm-mono-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

.of{--a:#2A62D0;--a-ink:#FFFFFF;--a-soft:#EAF2FF;--a-ring:rgba(42,98,208,.35);--a-text:var(--a);
--t:#14181B;--t2:#454F56;--t3:#5F6970;--bd:#DDE2E6;--bd2:#BFC7CD;--bg:#FFFFFF;--bg2:#F5F6F7;
--ok:#18794A;--ok-s:#E3F4EA;--err:#B42323;--err-s:#FBE7E7;--warn:#8A5208;--warn-s:#FDF0DC;--gray:#3F4D58;--gray-s:#EDF0F3;
font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:16px;line-height:24px;color:var(--t);container-type:inline-size;box-sizing:border-box;-webkit-font-smoothing:antialiased;width:100%}
.of *,.of *::before,.of *::after{box-sizing:border-box}
.of h1,.of h2,.of h3,.of p{margin:0}
.of[data-accent="zelena"]{--a:#18794A;--a-soft:#E8F4ED;--a-ring:rgba(24,121,74,.35)}
.of[data-accent="bordo"]{--a:#8E2442;--a-soft:#F7EAEE;--a-ring:rgba(142,36,66,.35)}
.of[data-accent="cerna"]{--a:#111111;--a-soft:#F1F1F1;--a-ring:rgba(17,17,17,.35)}
.of[data-accent="zlata"]{--a:#E0A526;--a-ink:#1A1A1A;--a-soft:#FCF4E2;--a-ring:rgba(224,165,38,.5);--a-text:#7A5300}
.of-card{background:var(--bg);border:1px solid var(--bd);border-radius:16px;padding:24px 18px;display:flex;flex-direction:column;gap:32px;max-width:560px;margin:0 auto;width:100%}
@container (min-width:440px){.of-card{padding:32px}}
.of-head{display:flex;flex-direction:column;gap:12px}
.of-logo{height:48px;display:flex;align-items:center;gap:12px}
.of-h1{font-size:24px;line-height:30px;font-weight:650;letter-spacing:-.015em;text-wrap:balance}
.of-lead{color:var(--t2);font-size:16px;line-height:24px}
.of-sec{display:flex;flex-direction:column;gap:14px;border:0;margin:0;padding:0;min-width:0}
.of-leg{font-size:18px;line-height:24px;font-weight:600;padding:0;display:flex;align-items:baseline;gap:10px}
.of-leg .n{font-size:13px;font-weight:600;color:var(--t3);font-variant-numeric:tabular-nums}
.of-f{display:flex;flex-direction:column;gap:6px;min-width:0}
.of-lab{font-size:15px;line-height:20px;font-weight:500}
.of-lab .opt{font-weight:400;color:var(--t3)}
.of-in{height:48px;border:1px solid var(--bd2);border-radius:10px;padding:0 14px;font:inherit;font-size:16px;background:var(--bg);color:var(--t);width:100%;min-width:0}
textarea.of-in{height:auto;padding:12px 14px;resize:vertical}
.of-in::placeholder{color:var(--t3)}
.of-in:focus,.of-focus{outline:0;border-color:var(--a);box-shadow:0 0 0 3px var(--a-ring)}
.of-in.err{border-color:var(--err);box-shadow:0 0 0 1px var(--err)}
.of-hint{font-size:14px;line-height:20px;color:var(--t3)}
.of-err{font-size:14px;line-height:20px;color:var(--err);display:flex;gap:6px;align-items:flex-start;font-weight:500}
.of-2{display:grid;gap:14px;grid-template-columns:minmax(0,1fr)}
@container (min-width:440px){.of-2{grid-template-columns:repeat(2,minmax(0,1fr))}}
.of-list{display:flex;flex-direction:column;gap:8px}
.of-item{display:flex;gap:12px;align-items:flex-start;padding:14px 14px 14px 16px;border:1px solid var(--bd);border-radius:12px;background:var(--bg);min-height:56px;cursor:pointer;width:100%;text-align:left;font:inherit;color:inherit}
.of-item:hover{border-color:var(--bd2)}
.of-item.on{border-color:var(--a);box-shadow:inset 0 0 0 1px var(--a);background:var(--a-soft)}
.of-item.err{border-color:var(--err)}
.of-item .tx{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.of-item .nm{font-weight:500}
.of-item .ds{font-size:14px;line-height:20px;color:var(--t3)}
.of-item .pr{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;padding-left:8px}
.of-radio{width:22px;height:22px;border-radius:999px;border:2px solid var(--bd2);background:var(--bg);flex:none;margin-top:1px}
.of-radio.on{border:7px solid var(--a)}
.of-chk{width:24px;height:24px;border-radius:7px;border:2px solid var(--bd2);background:var(--bg);flex:none;display:grid;place-items:center;color:var(--a-ink)}
.of-chk.on{background:var(--a);border-color:var(--a)}
.of-chk.err{border-color:var(--err)}
.of-chips{display:flex;gap:8px;overflow-x:auto;margin:0 -2px;padding:2px}
.of-chip{height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--bd2);background:var(--bg);font:inherit;font-size:15px;white-space:nowrap;color:var(--t);display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.of-chip .c{color:var(--t3);font-size:13px}
.of-chip.on{background:var(--t);border-color:var(--t);color:#fff}
.of-chip.on .c{color:rgba(255,255,255,.75)}
.of-gh{font-size:13px;line-height:18px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--t3);padding:8px 2px 0}
.of-more{height:44px;border:0;background:transparent;font:inherit;font-size:15px;font-weight:500;color:var(--a-text);text-align:left;padding:0 2px;cursor:pointer}
.of-sum{background:var(--bg2);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:8px}
.of-row{display:flex;justify-content:space-between;gap:16px;font-size:15px;line-height:22px}
.of-row .k{color:var(--t2)}
.of-row .v{text-align:right;font-variant-numeric:tabular-nums}
.of-row.tot{font-size:18px;line-height:26px;font-weight:650;padding-top:10px;border-top:1px solid var(--bd)}
.of-btn{height:56px;border-radius:12px;border:0;background:var(--a);color:var(--a-ink);font:inherit;font-size:17px;font-weight:600;width:100%;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;text-decoration:none}
.of-btn:focus-visible,.of-btn.focus{outline:3px solid var(--a);outline-offset:3px}
.of-btn[disabled]{opacity:.6;cursor:not-allowed}
.of-btn2{height:48px;border-radius:12px;border:1px solid var(--bd2);background:var(--bg);color:var(--t);font:inherit;font-size:16px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;cursor:pointer;text-decoration:none}
.of-a{color:var(--a-text);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.of-alert{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:12px;font-size:15px;line-height:22px}
.of-alert.err{background:var(--err-s);color:var(--t)}
.of-alert.err>.of-i{color:var(--err)}
.of-alert.ok{background:var(--ok-s)}
.of-alert.ok>.of-i{color:var(--ok)}
.of-alert.info{background:var(--bg2)}
.of-alert.info>.of-i{color:var(--t2)}
.of-i{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;display:block}
.of-spin{width:20px;height:20px;border-radius:999px;border:2.5px solid currentColor;border-right-color:transparent;display:inline-block}
.of-copy{display:flex;align-items:center;gap:12px;min-height:60px;padding:6px 6px 6px 16px;border:1px solid var(--bd);border-radius:12px;background:var(--bg)}
.of-copy .tx{display:flex;flex-direction:column;flex:1;min-width:0}
.of-copy .k{font-size:13px;line-height:18px;color:var(--t3)}
.of-copy .v{font-size:17px;line-height:24px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.of-ib{width:44px;height:44px;border-radius:10px;border:0;background:var(--bg2);color:var(--t);display:grid;place-items:center;flex:none;cursor:pointer}
.of-mono{font-family:"DM Mono",ui-monospace,Menlo,monospace;letter-spacing:.01em}
.of-qr{width:200px;height:200px;border-radius:12px;border:1px solid var(--bd);background:#fff;display:grid;place-items:center;color:#111;flex:none}
.of-steps{display:flex;flex-direction:column;gap:14px;margin:0;padding:0;list-style:none}
.of-steps li{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:22px}
.of-steps .d{width:28px;height:28px;border-radius:999px;background:var(--bg2);color:var(--t2);display:grid;place-items:center;font-size:13px;font-weight:600;flex:none}
.of-steps .d.on{background:var(--a);color:var(--a-ink)}
.of-badge{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:999px;font-size:14px;font-weight:600}
.of-res{border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:10px}
.of-res.ok{background:var(--ok-s)}
.of-res.warn{background:var(--warn-s)}
.of-res.gray{background:var(--gray-s)}
.of-res.err{background:var(--err-s)}
.of-foot{font-size:13px;line-height:18px;color:var(--t3);text-align:center;display:flex;align-items:center;justify-content:center;gap:6px}
.of-foot a{color:inherit;text-decoration:none;text-underline-offset:3px}.of-foot a:hover,.of-foot a:focus-visible{color:var(--t2);text-decoration:underline}
.of-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.of-suggest{border:1px solid var(--bd2);border-radius:12px;background:var(--bg);box-shadow:0 12px 28px -10px rgba(20,24,27,.25);overflow:hidden}
.of-suggest div{padding:12px 14px;min-height:48px;font-size:15px;line-height:20px;border-bottom:1px solid var(--bd)}
.of-suggest div:last-child{border-bottom:0}
.of-suggest .on{background:var(--a-soft)}
.of-dis{opacity:.6;pointer-events:none}

/* ---- page + real controls (the design draws states with .on; here native inputs drive them) ---- */
html,body{margin:0}
body.ofb{background:#F6F5F2;min-height:100vh}
html.of-embedded body.ofb{background:transparent;min-height:0}
.ofb>.of{padding:12px 8px 24px}
@media (min-width:600px){.ofb>.of{padding:40px 16px 48px}}
html.of-embedded .ofb>.of{padding:2px}
.of a{color:var(--a-text)}
.of [hidden]{display:none!important}
.of-sr:focus{outline:0}
label.of-item{position:relative}
label.of-item:has(input:checked){border-color:var(--a);box-shadow:inset 0 0 0 1px var(--a);background:var(--a-soft)}
label.of-item:has(input:checked) .of-radio{border:7px solid var(--a)}
label.of-item:has(input:focus-visible){outline:3px solid var(--a-ring);outline-offset:2px}
.of-check{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:22px;min-height:44px;cursor:pointer;margin:0}
.of-check:has(input:checked) .of-chk{background:var(--a);border-color:var(--a)}
.of-check .of-chk svg{visibility:hidden}
.of-check:has(input:checked) .of-chk svg{visibility:visible}
.of-check:has(input:focus-visible) .of-chk{box-shadow:0 0 0 3px var(--a-ring)}
.of-check.err .of-chk{border-color:var(--err)}
.of-chip:focus-visible,.of-more:focus-visible,.of-ib:focus-visible,.of-btn2:focus-visible,.of-a:focus-visible{outline:3px solid var(--a-ring);outline-offset:2px}
.of-btn[disabled]{opacity:.75}
.of-spin{animation:of-spin .8s linear infinite}
@keyframes of-spin{to{transform:rotate(360deg)}}
.of-banner{display:block;width:100%;height:auto;aspect-ratio:12/5;object-fit:cover;border-radius:12px;margin-bottom:8px;background:var(--bg2)}
.of-logo img{display:block;max-height:48px;max-width:200px;width:auto;height:auto}
.of-logo.sq img{width:48px;height:48px;object-fit:contain;border-radius:12px}
.of-prose{color:var(--t2);font-size:16px;line-height:24px;display:flex;flex-direction:column;gap:8px;overflow-wrap:anywhere}
.of-prose *{font-family:inherit!important;color:inherit!important;background:transparent!important;font-size:inherit!important;line-height:inherit!important;margin:0!important}
.of-prose img{max-width:100%;height:auto}
.of-addr{position:relative}
.of-addr .of-suggest{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:5}
.of-suggest div{cursor:pointer}
.of-suggest .on,.of-suggest div:hover{background:var(--a-soft)}
.of-alert.err a{color:var(--err)}
.of-qr img{display:block;width:100%;height:100%}
.of-pay{display:flex;flex-direction:column;gap:14px}
.of-pay-qr{display:flex;gap:20px;align-items:center;padding:16px;border:1px solid var(--bd);border-radius:14px;flex-wrap:wrap}
.of-pay-qr .of-qr{width:168px;height:168px;padding:10px}
@container (max-width:439px){.of-pay-qr{order:2;flex-direction:column;text-align:center}.of-pay-qr .of-qr{width:188px;height:188px}.of-pay-qr .of-btn2{width:100%}}
.of-copied{display:flex;align-items:center;gap:6px;height:44px;padding:0 12px;border-radius:10px;background:var(--ok-s);color:var(--ok);font-size:14px;font-weight:600;flex:none}
.of-adminbar{font:500 13px/18px system-ui,sans-serif;background:#14181B;color:#fff;padding:8px 12px;display:flex;gap:12px;justify-content:center;align-items:center}
.of-adminbar a{color:#fff}
