:root{--bg: #f6f4ef;--surface: #ffffff;--surface-2: #f1eee7;--border: #e3ded3;--text: #1d1a16;--muted: #6f685d;--primary: #14683f;--primary-hover: #0f5432;--primary-soft: rgba(20, 104, 63, .1);--on-primary: #ffffff;--accent: #d9480f;--danger: #c92a2a;--warn: #b7791f;--radius: 14px;--shadow: 0 1px 3px rgba(40, 30, 10, .08);color-scheme:light}@media(prefers-color-scheme:dark){:root{--bg: #12110f;--surface: #1b1916;--surface-2: #24211d;--border: #332f29;--text: #f1ece4;--muted: #a39a8c;--primary: #6fcb7e;--primary-hover: #8ad896;--primary-soft: rgba(111, 203, 126, .14);--on-primary: #0b1a10;--accent: #ff8a4c;--danger: #ff6b6b;--warn: #f6c453;--shadow: none;color-scheme:dark}}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;height:100%}body{background:var(--bg);color:var(--text);font:15px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased;overscroll-behavior-y:none}a{color:var(--primary);text-decoration:none}h1{font-size:21px;margin:0}h2{font-size:16px;margin:0 0 10px}.muted{color:var(--muted)}.small{font-size:13px}.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.mono{font-family:ui-monospace,SF Mono,Menlo,monospace}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow)}.page{padding:16px;max-width:1100px;margin:0 auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 16px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.5;cursor:default;transform:none}.btn-primary{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.btn-danger{color:var(--danger)}.btn-sm{min-height:34px;padding:4px 12px;font-size:13px;border-radius:10px}.btn-block{width:100%}.btn-lg{min-height:56px;font-size:17px}input,select,textarea{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:10px 12px;width:100%;min-height:44px}input:focus,select:focus,textarea:focus{outline:2px solid var(--primary-soft);border-color:var(--primary)}.form{display:grid;gap:12px}.row{display:grid;grid-template-columns:1fr 1fr;gap:10px}@media(max-width:520px){.row{grid-template-columns:1fr}}label.field{display:grid;gap:4px;font-weight:600;font-size:13px}label.field .hint{font-weight:400;color:var(--muted);font-size:12px}label.check{display:flex;align-items:center;gap:8px;font-size:14px;min-height:36px}label.check input{width:20px;min-height:20px;height:20px}.alert{padding:10px 12px;border-radius:10px;font-size:14px}.alert-error{background:#c92a2a1a;color:var(--danger)}.alert-ok{background:var(--primary-soft);color:var(--primary)}.alert-warn{background:#b7791f1f;color:var(--warn)}.empty{text-align:center;color:var(--muted);padding:28px 12px}.seg{display:flex;background:var(--surface-2);border-radius:12px;padding:3px;gap:3px}.seg button{flex:1;min-height:40px;border:0;background:transparent;color:var(--muted);font:inherit;font-weight:600;border-radius:9px;cursor:pointer}.seg button.on{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.chip{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;cursor:pointer}.chip.on{border-color:var(--primary);background:var(--primary-soft);color:var(--primary);font-weight:600}table{width:100%;border-collapse:collapse}th{text-align:left;font-size:12px;color:var(--muted);font-weight:600;padding:8px;border-bottom:1px solid var(--border)}td{padding:10px 8px;border-bottom:1px solid var(--border)}tr:last-child td{border-bottom:0}.badge{display:inline-block;font-size:12px;font-weight:700;padding:2px 8px;border-radius:999px}.badge.ok{background:var(--primary-soft);color:var(--primary)}.badge.void{background:#c92a2a1f;color:var(--danger)}.badge.wait{background:#b7791f24;color:var(--warn)}@media print{body{background:#fff}.no-print{display:none!important}}@page{margin:2mm}.center.svelte-12qhfyh{display:grid;place-items:center;height:100dvh}.shell.svelte-12qhfyh{min-height:100dvh;display:flex;flex-direction:column}.top.svelte-12qhfyh{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:10px;padding:8px 12px;padding-top:calc(8px + env(safe-area-inset-top));background:var(--surface);border-bottom:1px solid var(--border)}.biz.svelte-12qhfyh{display:grid;line-height:1.2;min-width:0}.biz.svelte-12qhfyh b:where(.svelte-12qhfyh){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabs.svelte-12qhfyh{display:flex;gap:4px;margin-left:12px}.tabs.svelte-12qhfyh a:where(.svelte-12qhfyh){padding:8px 12px;border-radius:10px;color:var(--muted);font-weight:600}.tabs.svelte-12qhfyh a.on:where(.svelte-12qhfyh){background:var(--primary-soft);color:var(--primary)}.shift-btn.svelte-12qhfyh{margin-left:auto}.shift-btn.svelte-12qhfyh+.status:where(.svelte-12qhfyh){margin-left:0}.status.svelte-12qhfyh{margin-left:auto;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:6px 10px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.status.svelte-12qhfyh i:where(.svelte-12qhfyh){width:8px;height:8px;border-radius:50%;background:#2f9e44}.status.off.svelte-12qhfyh i:where(.svelte-12qhfyh){background:var(--danger)}.pending.svelte-12qhfyh{background:var(--warn);color:#fff;border-radius:999px;padding:0 7px;font-size:12px}.banner.svelte-12qhfyh{border-radius:0;text-align:center}main.svelte-12qhfyh{flex:1;display:flex;flex-direction:column}.menu-btn.svelte-12qhfyh{display:none}.drawer-bg.svelte-12qhfyh{position:fixed;inset:0;background:#0006;z-index:40}.drawer.svelte-12qhfyh{position:fixed;top:0;left:0;bottom:0;width:260px;z-index:41;background:var(--surface);padding:20px 14px;display:flex;flex-direction:column;gap:4px;padding-top:calc(20px + env(safe-area-inset-top))}.drawer.svelte-12qhfyh .who:where(.svelte-12qhfyh){display:grid;padding:0 8px 14px;border-bottom:1px solid var(--border);margin-bottom:8px}.drawer.svelte-12qhfyh a:where(.svelte-12qhfyh){display:flex;gap:12px;align-items:center;padding:12px;border-radius:12px;color:var(--text);font-weight:600}.drawer.svelte-12qhfyh a.on:where(.svelte-12qhfyh){background:var(--primary-soft);color:var(--primary)}.drawer.svelte-12qhfyh .btn:where(.svelte-12qhfyh){margin-top:auto}@media(max-width:900px){.tabs.svelte-12qhfyh,.shift-btn.svelte-12qhfyh{display:none}.menu-btn.svelte-12qhfyh{display:inline-flex}}@media print{main.svelte-12qhfyh{display:block}}
