:root{--bg:#f5f5f7;--bg-sidebar:#ececef;--surface:#fff;--surface-2:#f5f5f7;--fill:#e3e3e8;--fill-hover:#d8d8de;--text:#1d1d1f;--text-2:#6e6e73;--text-3:#86868b;--separator:#d2d2d7;--separator-soft:#e8e8ed;--accent:#0071e3;--accent-hover:#0077ed;--link:#06c;--green:#248a3d;--green-bg:#e3f5e8;--green-fg:#1d6b30;--red:#d70015;--red-bg:#fde7e9;--red-fg:#a50011;--gray-bg:#f0f0f2;--gray-fg:#515154;--shadow-card:0 1px 2px #0000000a, 0 8px 28px #0000000f;--shadow-soft:0 1px 2px #0000000d;--shadow-pop:0 4px 24px #00000024;--glass:#fffc;--radius-card:22px;--radius-tile:18px;--radius-field:12px;--font:-apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#000;--bg-sidebar:#161617;--surface:#1c1c1e;--surface-2:#2c2c2e;--fill:#2c2c2e;--fill-hover:#3a3a3c;--text:#f5f5f7;--text-2:#a1a1a6;--text-3:#8e8e93;--separator:#38383a;--separator-soft:#2c2c2e;--accent:#0a84ff;--accent-hover:#409cff;--link:#2997ff;--green:#30d158;--green-bg:#30d15829;--green-fg:#30d158;--red:#ff453a;--red-bg:#ff453a29;--red-fg:#ff6961;--gray-bg:#2c2c2e;--gray-fg:#a1a1a6;--shadow-card:0 0 0 1px #ffffff0f;--shadow-soft:0 0 0 1px #ffffff0d;--shadow-pop:0 8px 32px #0009, 0 0 0 1px #ffffff14;--glass:#161617cc;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-size:15px;line-height:1.4}a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}:focus-visible{outline:3px solid color-mix(in srgb, var(--accent) 55%, transparent);outline-offset:2px}h1,h2,h3{letter-spacing:-.02em;margin:0}.muted{color:var(--text-2)}.small{font-size:13px}.tabular{font-variant-numeric:tabular-nums}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.btn{background:var(--fill);height:34px;color:var(--text);white-space:nowrap;border:0;border-radius:17px;justify-content:center;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:500;display:inline-flex}.btn:hover:not(:disabled){background:var(--fill-hover);text-decoration:none}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-danger{color:var(--red)}.btn-lg{border-radius:14px;width:100%;height:50px;font-size:17px}.btn-icon{width:34px;padding:0}.segmented{background:var(--fill);border-radius:9px;padding:2px;display:inline-flex}.segmented button{height:30px;color:var(--text);white-space:nowrap;background:0 0;border:0;border-radius:7px;padding:0 14px;font-size:13px;font-weight:500}.segmented button[aria-pressed=true]{background:var(--surface);box-shadow:0 1px 3px #0000001f}.segmented a{height:30px;color:var(--text);border-radius:7px;align-items:center;padding:0 14px;font-size:13px;font-weight:500;display:inline-flex}.segmented a:hover{text-decoration:none}.segmented a.seg-on{background:var(--surface);box-shadow:0 1px 3px #0000001f}@media (prefers-color-scheme:dark){.segmented button[aria-pressed=true],.segmented a.seg-on{background:#636366}}.search{background:var(--fill);height:34px;color:var(--text-2);border-radius:9px;align-items:center;gap:8px;padding:0 12px;display:flex}.search input{width:100%;color:var(--text);background:0 0;border:0;outline:none;font-size:14px}.field-group{background:var(--surface);border:1px solid var(--separator);border-radius:14px;overflow:hidden}.field{flex-direction:column;gap:2px;padding:11px 16px;display:flex}.field+.field{border-top:1px solid var(--separator)}.field span{color:var(--text-2);font-size:12px}.field input,.field select,.field textarea{background:0 0;border:0;outline:none;padding:0;font-size:17px}.field:focus-within{box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent)}.input{border:1px solid var(--separator);background:var(--surface);border-radius:10px;outline:none;height:36px;padding:0 12px;font-size:14px}.input:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent)}.pill{white-space:nowrap;border-radius:12px;align-items:center;gap:6px;height:24px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.pill-green{background:var(--green-bg);color:var(--green-fg)}.pill-red{background:var(--red-bg);color:var(--red-fg)}.pill-gray{background:var(--gray-bg);color:var(--gray-fg)}.dot{background:currentColor;border-radius:50%;flex-shrink:0;width:7px;height:7px}.card{background:var(--surface);border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.tile{background:var(--surface);border-radius:var(--radius-tile);box-shadow:var(--shadow-soft);padding:20px 22px}.alert{background:var(--red-bg);color:var(--red-fg);border-radius:12px;padding:12px 16px;font-size:14px}.empty{text-align:center;color:var(--text-2);padding:48px 24px}.topbar{z-index:20;background:var(--glass);-webkit-backdrop-filter:saturate(180%)blur(20px);border-bottom:1px solid var(--separator);justify-content:space-between;align-items:center;height:52px;padding:0 max(24px,50vw - 576px);display:flex;position:sticky;top:0}.brand{letter-spacing:-.01em;color:var(--text);align-items:center;gap:10px;font-size:17px;font-weight:600;display:flex}.brand:hover{text-decoration:none}.brand-mark{background:var(--text);width:28px;height:28px;color:var(--bg);border-radius:7px;place-items:center;display:grid}.avatar{background:var(--fill);border:0;border-radius:50%;place-items:center;width:32px;height:32px;font-size:13px;font-weight:600;display:grid}.menu{position:relative}.menu-pop{z-index:30;background:var(--surface);min-width:220px;box-shadow:var(--shadow-pop);border-radius:14px;padding:6px;position:absolute;top:40px;right:0}.toolbar .menu-pop{min-width:260px}.menu-pop button span{line-height:1.35}.sidebar-foot .menu-pop{inset:auto auto 40px 0}.menu-pop .who{border-bottom:1px solid var(--separator-soft);margin-bottom:4px;padding:8px 10px 10px}.menu-pop button,.menu-pop a{text-align:left;width:100%;color:var(--text);background:0 0;border:0;border-radius:8px;padding:8px 10px;font-size:14px;display:flex}.menu-pop button:hover,.menu-pop a:hover{background:var(--fill);text-decoration:none}.page{max-width:1200px;margin:0 auto;padding:56px 24px 48px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:36px;display:flex}.page-head h1{letter-spacing:-.03em;font-size:48px;font-weight:700;line-height:1.05}.page-head p{color:var(--text-2);margin:8px 0 0;font-size:19px}.footer{text-align:center;color:var(--text-2);padding:24px;font-size:12px}.login{flex-direction:column;justify-content:center;align-items:center;gap:40px;min-height:100%;padding:48px 16px 96px;display:flex;position:relative}.login-mark{background:var(--text);width:72px;height:72px;color:var(--bg);border-radius:18px;place-items:center;display:grid}.login h1{letter-spacing:-.025em;text-align:center;font-size:44px;font-weight:600}.login p.lead{color:var(--text-2);text-align:center;margin:8px 0 0;font-size:19px}.login form{flex-direction:column;gap:20px;width:100%;max-width:420px;display:flex}.check{align-items:center;gap:10px;font-size:14px;display:flex}.check input{width:18px;height:18px;accent-color:var(--accent);margin:0}.login .footer{position:absolute;bottom:16px;left:0;right:0}.grid-cards{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px;display:grid}.mcard{color:var(--text);flex-direction:column;gap:18px;padding:28px;transition:transform .15s,box-shadow .15s;display:flex}.mcard:hover{box-shadow:var(--shadow-pop);text-decoration:none;transform:translateY(-2px)}.mcard-top{justify-content:space-between;align-items:center;display:flex}.mcard-icon{color:#fff;border-radius:12px;place-items:center;width:48px;height:48px;display:grid}.mcard h2{font-size:24px;font-weight:600}.mcard-stats{border-top:1px solid var(--separator-soft);align-items:flex-end;gap:8px;padding-top:16px;display:flex}.stat{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.stat .k{color:var(--text-2);font-size:12px}.stat .v{letter-spacing:-.01em;white-space:nowrap;text-overflow:ellipsis;font-size:20px;font-weight:600;overflow:hidden}.skeleton{background:linear-gradient(90deg, var(--fill) 0%, var(--surface-2) 50%, var(--fill) 100%);background-size:200% 100%;border-radius:8px;animation:1.4s infinite shimmer}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.shell{min-height:100%;display:flex}.sidebar{background:var(--bg-sidebar);border-right:1px solid var(--separator);flex-direction:column;flex-shrink:0;gap:24px;width:260px;height:100vh;padding:24px 16px;display:flex;position:sticky;top:0}.sidebar .back{align-items:center;gap:4px;padding:0 8px;font-size:14px;display:flex}.sidebar .title{flex-direction:column;gap:6px;padding:0 8px;display:flex}.sidebar .title strong{letter-spacing:-.02em;font-size:20px;font-weight:700;line-height:1.2}.nav{flex-direction:column;gap:2px;display:flex}.nav a{height:36px;color:var(--text);border-radius:8px;justify-content:space-between;align-items:center;padding:0 10px;font-size:15px;display:flex}.nav a:hover{background:var(--fill);text-decoration:none}.nav a.active{background:var(--surface);box-shadow:var(--shadow-soft);font-weight:500}.nav a span{align-items:center;gap:10px;display:flex}.badge{background:var(--red);color:#fff;border-radius:10px;place-items:center;min-width:20px;height:20px;padding:0 6px;font-size:12px;font-weight:600;display:grid}.sidebar-foot{color:var(--text-2);flex-direction:column;gap:8px;margin-top:auto;padding:0 8px;font-size:12px;display:flex}.content{flex-direction:column;flex:1;gap:24px;min-width:0;padding:40px 48px 48px;display:flex}.content-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.content-head h1{letter-spacing:-.025em;font-size:34px;font-weight:700}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.mobile-head{display:none}.chips{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chip{border:1px solid var(--separator);background:var(--surface);border-radius:17px;align-items:center;gap:8px;height:34px;padding:0 8px 0 12px;font-size:14px;display:inline-flex}.chip .x{width:22px;height:22px;color:var(--text-2);background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.chip .x:hover{background:var(--fill)}.chip-add{color:var(--link);background:0 0;border-style:dashed;padding:0 14px}.chart-card{padding:20px 16px 8px;position:relative}.chart{width:100%;height:420px}.chart-overlay{background:color-mix(in srgb, var(--surface) 70%, transparent);border-radius:var(--radius-card);color:var(--text-2);place-items:center;font-size:14px;display:grid;position:absolute;inset:0}.kpis{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.kpi-head{align-items:center;gap:8px;margin-bottom:14px;font-size:14px;font-weight:500;display:flex}.kpi-row{gap:8px;display:flex}.kpi-row .v{font-size:24px}.sw{border-radius:50%;flex-shrink:0;width:10px;height:10px}.table-wrap{background:var(--surface);max-height:560px;box-shadow:var(--shadow-soft);border-radius:14px;overflow:auto}table.data{border-collapse:collapse;width:100%;font-size:13px}table.data th,table.data td{text-align:right;white-space:nowrap;border-bottom:1px solid var(--separator-soft);padding:8px 14px}table.data th:first-child,table.data td:first-child{text-align:left}table.data thead th{background:var(--surface);color:var(--text-2);z-index:1;font-weight:600;position:sticky;top:0}.backdrop{z-index:50;background:#00000052;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.sheet{background:var(--surface);width:100%;max-width:560px;max-height:min(720px,90vh);box-shadow:var(--shadow-pop);border-radius:20px;flex-direction:column;display:flex;overflow:hidden}.sheet-head{border-bottom:1px solid var(--separator-soft);flex-direction:column;gap:12px;padding:18px 20px 12px;display:flex}.sheet-head .row{justify-content:space-between;align-items:center;display:flex}.sheet-head h2{font-size:20px}.sheet-body{padding:6px 8px;overflow:auto}.sheet-foot{border-top:1px solid var(--separator-soft);justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;display:flex}.pick{cursor:pointer;border-radius:10px;align-items:center;gap:12px;padding:10px 12px;display:flex}.pick:hover{background:var(--fill)}.pick input{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0;margin:0}.pick .lbl{flex-direction:column;min-width:0;display:flex}.pick .lbl small{color:var(--text-2)}.group-title{color:var(--text-2);text-transform:uppercase;letter-spacing:.02em;padding:12px 12px 4px;font-size:12px;font-weight:600}.stats3{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.stats3 .v{letter-spacing:-.02em;font-size:34px;font-weight:700}.stats3 .v.text{padding-top:10px;font-size:18px;font-weight:600;line-height:1.25}.day{flex-direction:column;gap:8px;display:flex}.day h2{color:var(--text-2);text-transform:uppercase;letter-spacing:.02em;padding:0 4px;font-size:13px;font-weight:600}.list{background:var(--surface);box-shadow:var(--shadow-soft);border-radius:14px;overflow:hidden}.erow{align-items:center;gap:16px;min-height:60px;padding:10px 20px;display:flex}.erow+.erow{border-top:1px solid var(--separator-soft)}.erow .msg{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.erow .msg strong{font-weight:500}.erow .dur{text-align:right;width:90px}.admin-grid{grid-template-columns:320px 1fr;align-items:start;gap:24px;display:grid}.ulist{padding:6px}.ulist button{text-align:left;background:0 0;border:0;border-radius:10px;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:10px 12px;display:flex}.ulist button:hover{background:var(--fill)}.ulist button[aria-current=true]{background:var(--accent);color:#fff}.ulist button[aria-current=true] small{color:#ffffffd9}.ulist small{color:var(--text-2);font-size:12px}.panel{flex-direction:column;gap:20px;padding:24px;display:flex}.panel h2{font-size:22px}.form-row{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;display:grid}.form-row label{color:var(--text-2);flex-direction:column;gap:6px;font-size:12px;display:flex}.mrow{align-items:center;gap:16px;padding:14px 16px;display:flex}.mrow+.mrow{border-top:1px solid var(--separator-soft)}.mrow .info{flex:1;min-width:0}.kv{grid-template-columns:max-content 1fr;gap:4px 16px;font-size:13px;display:grid}.kv dt{color:var(--text-2)}.kv dd{margin:0}@media (width<=900px){.sidebar{display:none}.content{gap:18px;padding:0 16px 32px}.mobile-head{z-index:20;background:var(--glass);-webkit-backdrop-filter:saturate(180%)blur(20px);border-bottom:1px solid var(--separator);flex-direction:column;gap:10px;margin:0 -16px;padding:10px 16px 12px;display:flex;position:sticky;top:0}.mobile-head .row{justify-content:space-between;align-items:center;gap:12px;display:flex}.mobile-head strong{font-size:17px}.content-head h1{font-size:28px}.chart{height:320px}.stats3{grid-template-columns:1fr 1fr}.stats3>:last-child{grid-column:span 2}.page{padding:32px 16px}.page-head h1{font-size:34px}.page-head p{font-size:17px}.admin-grid{grid-template-columns:1fr}.erow{gap:12px;padding:10px 14px}.erow .dur{width:auto}}@media (width<=560px){.grid-cards{grid-template-columns:1fr}.login h1{font-size:34px}.erow .pill{display:none}}
