:root{--brand:#0e6b58;--on-brand:#fff;--brand-soft:#dff1ea;--saffron:#e0a21a;--saffron-soft:#fbefd2;--saffron-ink:#8a5d00;--danger:#c0392b;--danger-soft:#f8dfdb;--ok:#2e9e6b;--idle:#8a8f98;--bill:#4a5fb5;--surface:#fbf8f2;--surface-low:#f4efe5;--surface-high:#efe9dd;--card:#fff;--line:#ddd5c6;--ink:#1b211e;--muted:#5c665f;--on-saffron:#2a1f00;--tile-0:#0e6b58;--tile-1:#e0a21a;--tile-2:#c2553b;--tile-3:#3b6fb5;--tile-4:#7a55a8;--tile-5:#2f8f9d;--tile-6:#9a6b3f;--tile-7:#64707a;--radius:16px;--gap:16px;--font:Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif}:root[data-theme=dark]{--brand:#58d1b2;--on-brand:#00382d;--brand-soft:#173b32;--saffron:#e0a21a;--saffron-soft:#3b3018;--saffron-ink:#e0a21a;--danger:#ff8a7a;--danger-soft:#3d2220;--ok:#2e9e6b;--idle:#8a8f98;--bill:#4a5fb5;--surface:#121614;--surface-low:#1a1f1d;--surface-high:#232926;--card:#1f2522;--line:#343b37;--ink:#ecefea;--muted:#a9b2ad;--on-saffron:#2a1f00}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--brand:#58d1b2;--on-brand:#00382d;--brand-soft:#173b32;--saffron:#e0a21a;--saffron-soft:#3b3018;--saffron-ink:#e0a21a;--danger:#ff8a7a;--danger-soft:#3d2220;--ok:#2e9e6b;--idle:#8a8f98;--bill:#4a5fb5;--surface:#121614;--surface-low:#1a1f1d;--surface-high:#232926;--card:#1f2522;--line:#343b37;--ink:#ecefea;--muted:#a9b2ad;--on-saffron:#2a1f00}}@font-face{font-family:Inter;font-weight:400;font-display:swap;src:url(/fonts/Inter-Regular.otf)format("opentype")}@font-face{font-family:Inter;font-weight:500;font-display:swap;src:url(/fonts/Inter-Medium.otf)format("opentype")}@font-face{font-family:Inter;font-weight:600;font-display:swap;src:url(/fonts/Inter-SemiBold.otf)format("opentype")}@font-face{font-family:Inter;font-weight:700;font-display:swap;src:url(/fonts/Inter-Bold.otf)format("opentype")}:root{--brand-ink:var(--on-brand);--bg:var(--surface-low);--touch:44px;--shadow:0 1px 2px #1b211e0f, 0 4px 16px #1b211e0d;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;font:15px/1.5 var(--font);color:var(--ink);background:var(--bg)}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}:root[data-theme=dark]{--shadow:0 1px 2px #0000004d}*{box-sizing:border-box}body{margin:0}h1,h2,h3{margin:0;line-height:1.25}h1{letter-spacing:-.01em;font-size:26px;font-weight:700}h2{font-size:18px;font-weight:600}h3{font-size:15px;font-weight:600}p{margin:0}a{color:var(--brand)}.muted{color:var(--muted)}.small{font-size:13px}.num{font-variant-numeric:tabular-nums}.app{grid-template-columns:248px 1fr;min-height:100vh;display:grid}.side{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;gap:4px;height:100vh;padding:20px 14px;display:flex;position:sticky;top:0;overflow-y:auto}.logo{align-items:center;gap:10px;padding:4px 10px 18px;font-size:18px;font-weight:700;display:flex}.logo i{background:var(--brand);width:32px;height:32px;color:var(--brand-ink);border-radius:10px;place-items:center;font-style:normal;display:grid}.venue{border-bottom:1px solid var(--line);margin-bottom:6px;padding:0 10px 14px}.nav{min-height:var(--touch);color:var(--ink);border-radius:12px;align-items:center;gap:10px;padding:0 12px;font-weight:500;text-decoration:none;display:flex}.nav:hover{background:var(--bg)}.nav.on{background:var(--brand-soft);color:var(--brand)}.nav svg{flex:none;width:20px;height:20px}.side .grow{flex:1}.main{width:100%;min-width:0;max-width:1120px;padding:28px 32px 48px}.head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:20px;display:flex}.head p{margin-top:4px}.grid{gap:var(--gap);grid-template-columns:repeat(auto-fill,minmax(300px,1fr));display:grid}.stack{gap:var(--gap);flex-direction:column;display:flex}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.spread{justify-content:space-between;align-items:center;gap:12px;display:flex}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.card h2+p,.card h3+p{margin-top:4px}.big{letter-spacing:-.02em;font-size:30px;font-weight:700}.kpi{flex-direction:column;gap:4px;display:flex}.btn{min-height:var(--touch);border:1px solid var(--line);background:var(--card);color:var(--ink);font:inherit;cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-weight:600;display:inline-flex}.btn:hover{border-color:var(--muted)}.btn.primary{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}.btn.primary:hover{filter:brightness(1.07)}.btn.danger{color:var(--danger)}.btn.ghost{background:0 0;border-color:#0000}.btn:disabled{opacity:.5;cursor:default}.btn.wide{width:100%}.btn:focus-visible,input:focus-visible,select:focus-visible,.nav:focus-visible{outline:3px solid color-mix(in srgb, var(--brand) 45%, transparent);outline-offset:2px}.field{flex-direction:column;gap:6px;display:flex}.field>span{font-size:14px;font-weight:500}.field small{color:var(--muted);font-size:13px}.field small.bad{color:var(--danger)}input,select,textarea{min-height:var(--touch);border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;border-radius:12px;width:100%;padding:0 14px}textarea{min-height:80px;padding:10px 14px}.check{min-height:var(--touch);cursor:pointer;align-items:center;gap:10px;display:flex}.check input{width:20px;height:20px;min-height:0;accent-color:var(--brand)}.form{gap:14px;display:grid}.form.two{grid-template-columns:1fr 1fr}.form .full{grid-column:1/-1}.badge{background:var(--bg);color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:2px 10px;font-size:13px;font-weight:600;display:inline-flex}.badge.ok{background:var(--brand-soft);color:var(--brand)}.badge.warn{background:var(--saffron-soft);color:var(--saffron-ink)}:root[data-theme=dark] .badge.warn{color:var(--saffron)}.badge.bad{background:var(--danger-soft);color:var(--danger)}.dot{background:currentColor;border-radius:50%;width:8px;height:8px}table{border-collapse:collapse;width:100%}th{text-align:left;color:var(--muted);border-bottom:1px solid var(--line);padding:8px 12px;font-size:13px;font-weight:500}td{border-bottom:1px solid var(--line);vertical-align:middle;padding:12px}tr:last-child td{border-bottom:none}.table{padding:6px 8px;overflow-x:auto}.note{background:var(--brand-soft);color:var(--ink);border-radius:12px;padding:12px 16px}.note.warn{background:var(--saffron-soft)}.note.bad{background:var(--danger-soft)}.toast{background:var(--ink);color:var(--bg);box-shadow:var(--shadow);z-index:50;border-radius:12px;max-width:90vw;padding:12px 20px;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.code{letter-spacing:.08em;text-align:center;background:var(--surface);border:2px dashed var(--line);border-radius:var(--radius);-webkit-user-select:all;user-select:all;padding:18px;font:700 34px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace}.secret{background:var(--surface);-webkit-user-select:all;user-select:all;word-break:break-all;border-radius:10px;padding:8px 12px;font-family:ui-monospace,Menlo,monospace}.veil{z-index:40;background:#00000059;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.dialog{background:var(--card);border-radius:20px;flex-direction:column;gap:16px;width:min(520px,100%);max-height:90vh;padding:24px;display:flex;overflow:auto;box-shadow:0 20px 60px #00000040}.dialog.wide{width:min(860px,100%)}.dialog>*{flex-shrink:0}.auth{grid-template-columns:1.1fr 1fr;min-height:100vh;display:grid}.auth-art{background:var(--brand);color:var(--brand-ink);flex-direction:column;justify-content:space-between;padding:48px;display:flex;position:relative;overflow:hidden}.auth-art h1{max-width:460px;font-size:38px}.auth-art ul{gap:14px;max-width:440px;margin:28px 0 0;padding:0;font-size:16px;list-style:none;display:grid}.auth-art li{gap:12px;display:flex}.auth-art li b{color:var(--saffron)}.auth-art .pattern{opacity:.12;width:360px;height:360px;position:absolute;bottom:-80px;right:-80px}.auth-form{background:var(--surface);place-items:center;padding:32px;display:grid}.auth-form .box{flex-direction:column;gap:18px;width:min(400px,100%);display:flex}.meter{background:var(--line);border-radius:3px;height:6px;overflow:hidden}.meter i{border-radius:3px;height:100%;transition:width .2s;display:block}.skeleton{background:linear-gradient(90deg, var(--line), var(--surface), var(--line));background-size:200% 100%;border-radius:10px;height:18px;animation:1.2s infinite sk}@keyframes sk{to{background-position:-200% 0}}.empty{text-align:center;color:var(--muted);justify-items:center;gap:10px;padding:36px 20px;display:grid}@media (width<=860px){.app{grid-template-columns:1fr}.side{flex-direction:row;align-items:center;height:auto;padding:10px;position:static;overflow-x:auto}.side .nav{flex:none}.side .venue,.side .logo span,.side .grow{display:none}.nav span{white-space:nowrap}.main{padding:20px 16px 40px}.auth{grid-template-columns:1fr}.auth-art{padding:28px}.auth-art ul{display:none}.form.two{grid-template-columns:1fr}.seg{max-width:100%;overflow-x:auto}.seg button{white-space:nowrap}.row input[type=date]{flex:140px;min-width:0}.row select,.card.table{max-width:100%}.grid{grid-template-columns:1fr}}.auth-art .logo i{background:var(--saffron);color:#1b211e}.btn.danger-fill{background:var(--danger);border-color:var(--danger);color:#fff}.btn.small{border-radius:10px;min-height:34px;padding:0 12px;font-size:14px}.tabs{border-bottom:1px solid var(--line);gap:4px;margin-bottom:16px;display:flex;overflow-x:auto}.tabs button{font:inherit;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:3px solid #0000;padding:10px 14px;font-weight:600}.tabs button.on{color:var(--brand);border-color:var(--brand)}.split{grid-template-columns:280px 1fr;align-items:start;gap:16px;display:grid}.tree{flex-direction:column;gap:2px;display:flex}.tree button{text-align:left;width:100%;font:inherit;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:8px;padding:9px 10px;display:flex}.tree button:hover{background:var(--bg)}.tree button.on{background:var(--brand-soft);color:var(--brand);font-weight:600}.tree .sub{padding-left:28px}.tree .count{color:var(--muted);margin-left:auto;font-size:13px}.swatch{border-radius:4px;flex:none;width:14px;height:14px}.swatches{flex-wrap:wrap;gap:8px;display:flex}.swatches button{cursor:pointer;border:2px solid #0000;border-radius:8px;width:30px;height:30px}.swatches button.on{border-color:var(--ink)}.savebar{background:var(--card);border-top:1px solid var(--line);z-index:5;align-items:center;gap:12px;margin:20px -32px -48px;padding:14px 32px;display:flex;position:sticky;bottom:0;box-shadow:0 -6px 20px #0000000f}.savebar .grow{flex:1}.price{text-align:right;font-variant-numeric:tabular-nums;width:120px}td input,td select{border-radius:9px;min-height:36px;padding:0 10px}tr.err td{background:var(--danger-soft)}.seg{border:1px solid var(--line);border-radius:10px;display:inline-flex;overflow:hidden}.seg button{background:var(--card);font:inherit;cursor:pointer;color:var(--muted);border:0;padding:6px 10px;font-size:13px;font-weight:600}.seg button+button{border-left:1px solid var(--line)}.seg button.allow.on{background:var(--brand-soft);color:var(--brand)}.seg button.approve.on{background:var(--saffron-soft);color:var(--saffron-ink)}.seg button.deny.on{background:var(--danger-soft);color:var(--danger)}.matrix th,.matrix td{padding:8px 10px}.matrix th{background:var(--card);z-index:1;position:sticky;top:0}.matrix .grouprow td{background:var(--surface);color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:13px;font-weight:600}.plan{aspect-ratio:1;background:var(--surface);border-radius:var(--radius);border:1px solid var(--line);touch-action:none;-webkit-user-select:none;user-select:none;width:100%;max-height:70vh}.plan .t{cursor:grab}.plan .t.drag{cursor:grabbing}@media (width<=860px){.split{grid-template-columns:1fr}.savebar{margin:20px -16px -40px;padding:12px 16px}}input[type=checkbox],input[type=radio]{width:20px;height:20px;min-height:0;accent-color:var(--brand);padding:0}.toast{top:20px;bottom:auto}.matrix td:first-child,.matrix th:first-child{background:var(--card);z-index:2;min-width:230px;position:sticky;left:0}.matrix .seg button{padding:6px 8px}.card.kpi.on{outline:2px solid var(--brand)}.bad-text{color:var(--danger);font-weight:600}.qr{display:inline-block}.qr svg{width:100%;height:100%;display:block}.qr-sheet{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;display:grid}.qr-card{border:1px dashed var(--line);text-align:center;color:#1b211e;background:#fff;border-radius:14px;justify-items:center;gap:6px;padding:14px;display:grid}.qr-venue{font-size:14px;font-weight:700}.qr-table{font-size:22px;font-weight:800}.qr-hint{color:var(--muted);font-size:12px;line-height:1.35}@media print{body *{visibility:hidden}.qr-sheet,.qr-sheet *{visibility:visible}.qr-sheet{grid-template-columns:repeat(2,1fr);gap:8mm;padding:10mm;position:absolute;inset:0}.qr-card{break-inside:avoid;border:1px dashed #999;align-content:center;height:85mm}.no-print{display:none!important}.day-sheet,.day-sheet *{visibility:visible}.day-sheet{color:#111;background:#fff;padding:14mm;font-size:12pt;position:absolute;inset:0}}.day-sheet table{border-collapse:collapse;width:100%}.day-sheet td{border-bottom:1px solid var(--line);padding:4px 0}.day-sheet td.num{text-align:right;font-variant-numeric:tabular-nums}.day-sheet h3{margin:14px 0 4px}.day-sheet .sign{grid-template-columns:1fr 1fr;gap:30px;margin-top:28px;display:grid}.day-sheet .sign div{color:#555;border-top:1px solid #333;padding-top:4px;font-size:10pt}.guides summary{cursor:pointer;list-style:none}.guides summary::-webkit-details-marker{display:none}.guides[open]>div{padding:4px 12px 8px 40px}.guides a{color:var(--brand)}.launch-head{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.launch-head .ring{border-radius:50%;flex:none;place-items:center;width:74px;height:74px;display:grid}.launch-head .ring span{background:var(--card);border-radius:50%;place-items:center;width:58px;height:58px;font-weight:700;display:grid}.launch-head>div:nth-child(2){flex:260px}.launch-head h2{margin:0 0 4px}.launch-head.ready h2{color:var(--brand)}.launch-list{padding:4px 0}.launch-item{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:12px 16px;display:flex}.launch-item:last-child{border-bottom:0}.launch-item .grow{flex:1;min-width:0}.launch-item .dot{border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-weight:700;display:grid}.launch-item.ok .dot{background:var(--brand-soft);color:var(--brand)}.launch-item.todo .dot{background:var(--danger-soft);color:var(--danger)}.launch-item.warn .dot{background:var(--saffron-soft);color:var(--ink)}tr.click{cursor:pointer}tr.click:hover td{background:var(--surface-high)}td.bad{color:var(--danger);font-weight:600}table.lines input{width:100%;min-width:0}table.lines td:first-child{width:45%;min-width:220px}.nowrap{white-space:nowrap}table.lines input.qty{text-align:right;font-variant-numeric:tabular-nums;width:90px}.grid.three{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.grid.two{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}button.link{font:inherit;color:var(--brand);cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.hours-grid{grid-template-columns:2.2rem minmax(7.5rem,auto) minmax(0,1fr) minmax(0,1fr);align-items:center;gap:6px 10px;margin:8px 0;display:grid}.hours-grid input[type=time]{width:100%;min-width:0}
