:root{color-scheme:light;font-family:"Segoe UI",system-ui,sans-serif;color:#182c2a;background:#f5f7f5;--line:#d6ded9;--muted:#52655e;--mono:Consolas,monospace}
*{box-sizing:border-box}body{margin:0;min-height:100vh}header{background:white;border-bottom:1px solid var(--line)}
.bar,main{width:min(1120px,90%);margin:auto}.bar{min-height:68px;display:flex;align-items:center;gap:36px}
.brand{display:inline-flex;align-items:center;gap:12px;font-size:1.45rem;font-weight:750;letter-spacing:-.06em;text-decoration:none;color:inherit}
.mark{width:26px;height:26px;border-radius:7px;background:#102d2a;display:grid;place-items:center}
.mark::before{content:"";width:11px;height:11px;border:2px solid #a1f8c6;border-radius:3px;transform:rotate(45deg)}
nav a{color:var(--muted);font-weight:600;text-decoration:none}
h1,h2,p,dl,dd{margin:0}h1{font-size:clamp(2.1rem,4vw,3.25rem);letter-spacing:-.05em;line-height:1.2}
.eyebrow{display:flex;gap:10px;align-items:center;margin:0 0 12px;font:650 .8rem var(--mono);letter-spacing:.1em}.eyebrow span{width:17px;height:3px}
.lead{margin-top:12px;line-height:1.55}button{font:600 .95rem inherit;font-family:inherit;font-size:.95rem;font-weight:600;color:#102d2a;background:white;border:1px solid var(--line);border-radius:9px;padding:10px 15px;cursor:pointer}
button:disabled{opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #168767;outline-offset:3px}
dl div{padding:9px 0;border-bottom:1px solid var(--line)}dd{font-family:var(--mono)}
.mast{margin:38px 0 22px;background:#143831;padding:clamp(24px,4vw,48px);min-height:195px;border-radius:20px;color:#fff;display:flex;align-items:center;justify-content:space-between;overflow:hidden;gap:16px}
.mast .lead,.mast .eyebrow{color:#c3e1ce}.mast .eyebrow span{background:#98efb9}
.ticket{background:#a4e0b7;color:#194634;position:relative;flex:none;width:188px;height:112px;transform:rotate(-8deg);border-radius:12px;padding:16px;box-shadow:6px 7px 0 #427a63;display:grid;align-content:space-between}
.chip{width:25px;height:22px;border:1px solid #47825a;border-radius:5px;background:repeating-linear-gradient(0deg,#82bc91 0 5px,#528c62 6px)}
.ticket strong{font:600 18px var(--mono)}.perfs{position:absolute;right:20px;top:0;height:100%;border-left:2px dashed #568c68}
.layout{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin-bottom:38px;align-items:start}
.sheet{background:white;border:1px solid var(--line);border-radius:16px;padding:clamp(18px,3vw,30px);min-width:0}
.sheet h2{margin-bottom:20px;font-size:1.4rem;letter-spacing:-.03em}
fieldset{border:0;padding:0;margin:0;min-width:0}.sr{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
#offers{display:grid;gap:9px}.option{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid var(--line);border-radius:10px;cursor:pointer}
.option:has(:checked){border-color:#337951;background:#eaf6ed}.option input{accent-color:#366f4c;width:16px;height:16px}
.option b{margin-left:auto;white-space:nowrap}.line{display:flex;justify-content:space-between;gap:8px;margin:14px 0}.total{border-top:1px solid var(--line);padding-top:20px;align-items:baseline}.total strong{font-size:1.65rem}
.primary{width:100%;background:#174c3c;color:white;border-color:transparent}.primary:hover{background:#225e49}.primary:disabled{cursor:not-allowed}
.note,#notice,#receipt-info,#file-state{margin:14px 0;line-height:1.55;color:var(--muted)}#notice:empty{display:none}
#qr{width:min(208px,100%);aspect-ratio:1;display:block;margin:12px auto;object-fit:contain}
#transfer div{display:flex;justify-content:space-between;gap:12px}#transfer dd{overflow-wrap:anywhere}
#key{width:100%;font:1rem var(--mono);padding:11px;border:1px solid var(--line);border-radius:8px;margin:8px 0}
#receipt button{margin:5px 0}#receipt a{font-weight:600;color:#176948}
@media(max-width:760px){.layout{grid-template-columns:1fr}.mast{margin-top:22px}.ticket{width:130px;height:90px}}
@media(max-width:520px){.ticket{display:none}.mast{min-height:150px}.option{padding:12px}}
