:root{--g950:#030712;--g900:#111827;--g800:#1f2937;--g700:#374151;--g600:#4b5563;--g400:#9ca3af;--g300:#d1d5db;--white:#fff;--red:#96120f;--red-hi:#dc2626;--red-txt:#f87171;--green:#4ade80;--blue:#60a5fa;--radius:8px;color-scheme:dark}*{box-sizing:border-box}body,html{margin:0;background:var(--g900);color:var(--g300);font:14px/1.45 Inter,ui-sans-serif,system-ui,sans-serif}a{color:inherit}button,input,select{font:inherit;color:inherit}.shell{display:flex;min-height:100vh}.sidebar{width:240px;flex:none;background:var(--g950);border-right:1px solid var(--g800);display:flex;flex-direction:column;position:-webkit-sticky;position:sticky;top:0;height:100vh}.brand{padding:16px;color:var(--white);font-weight:700;font-size:13px;letter-spacing:.03em;display:flex;align-items:center;gap:8px}.brand-dot{width:8px;height:8px;border-radius:50%;background:var(--red-hi);box-shadow:0 0 8px var(--red-hi)}.nav{flex:1 1;padding:0 8px;display:flex;flex-direction:column;gap:2px}.nav button{all:unset;cursor:pointer;display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:6px;color:var(--g400);font-size:14px}.nav button.active,.nav button:hover{background:var(--g800);color:var(--white)}.nav .ico{width:16px;text-align:center;opacity:.85}.side-foot{border-top:1px solid var(--g800);padding:12px 16px;font-size:12px;color:var(--g400)}.side-foot b{color:var(--white);font-weight:600;display:block;font-size:13px}.main{flex:1 1;padding:24px;min-width:0}@media (max-width:760px){.shell{flex-direction:column}.sidebar{width:auto;height:auto;position:static}.nav{flex-direction:row;overflow-x:auto;padding-bottom:8px}.side-foot{display:none}.main{padding:16px}}h1{font-size:20px;margin:0 0 4px}h1,h2{color:var(--white)}h2{font-size:15px;margin:0 0 12px}.sub{font-size:13px;margin:0 0 20px}.muted,.sub{color:var(--g400)}.small{font-size:12px}.err{color:var(--red-txt);font-size:13px}.card{background:var(--g800);border-radius:var(--radius);padding:16px}.grid{display:grid;grid-gap:12px;gap:12px}.stats{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));margin-bottom:20px}.stat .label{font-size:12px;color:var(--g400);margin-bottom:4px}.stat .value{font-size:18px;font-weight:700;color:var(--white)}.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:12px}.split{display:grid;grid-template-columns:300px 1fr;grid-gap:16px;gap:16px;align-items:start}@media (max-width:1000px){.split{grid-template-columns:1fr}}.btn{cursor:pointer;border:0;border-radius:6px;padding:7px 12px;background:var(--g700);color:var(--white);font-size:13px}.btn:hover{background:var(--g600)}.btn.primary{background:var(--red)}.btn.primary:hover{background:var(--red-hi)}.btn.ghost{background:transparent;color:var(--g400)}.btn.ghost:hover{background:var(--g700);color:var(--white)}.btn.danger:hover{background:var(--red-hi)}.btn:disabled{opacity:.5;cursor:default}.input,select.input{background:var(--g900);border:1px solid var(--g700);border-radius:6px;padding:7px 10px;min-width:0}.input:focus{outline:1px solid var(--red-hi);border-color:var(--red-hi)}label.field{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--g400)}.chip{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:999px;background:var(--g700);font-size:12px;color:var(--g300)}.chip.on{background:var(--red);color:var(--white)}.chip button{all:unset;cursor:pointer;opacity:.7}.days{display:flex;gap:4px}.days button{cursor:pointer;border:0;border-radius:6px;width:34px;padding:6px 0;background:var(--g900);color:var(--g400);font-size:12px}.days button.on{background:var(--red);color:var(--white)}.swatch{width:10px;height:10px;border-radius:3px;flex:none}.list{display:flex;flex-direction:column;gap:2px}.item{all:unset;cursor:pointer;display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:6px}.item.active,.item:hover{background:var(--g700)}.item.active{color:var(--white)}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;color:var(--g400);font-weight:500;font-size:12px;padding:6px 8px;border-bottom:1px solid var(--g700)}td{padding:7px 8px;border-bottom:1px solid var(--g800)}tr:hover td{background:rgba(255,255,255,.02)}.picker{max-height:260px;overflow:auto;background:var(--g900);border-radius:6px;padding:4px}.picker label{display:flex;align-items:center;gap:8px;padding:5px 8px;border-radius:4px;cursor:pointer}.cal,.picker label:hover{background:var(--g800)}.cal{display:grid;grid-template-columns:44px repeat(7,1fr);border-radius:var(--radius);overflow:hidden}.cal-head{padding:8px;font-size:12px;color:var(--g400);text-align:center;border-bottom:1px solid var(--g700)}.cal-head.today{color:var(--white);font-weight:600}.cal-day,.cal-hours{position:relative;height:1152px}.cal-hours div{height:48px;font-size:10px;color:var(--g600);text-align:right;padding-right:6px;transform:translateY(-6px)}.cal-day{border-left:1px solid var(--g700);background:repeating-linear-gradient(to bottom,transparent 0 47px,var(--g700) 47px 48px)}.cal-day.today{background-color:rgba(150,18,15,.06)}.ev{position:absolute;left:3px;right:3px;border-radius:5px;padding:3px 6px;font-size:11px;color:var(--white);overflow:hidden;border-left:3px solid rgba(255,255,255,.5)}.ev.shadow{opacity:.28;z-index:1}.ev.air{z-index:2;box-shadow:0 1px 3px rgba(0,0,0,.4)}.ev .t{opacity:.8;font-size:10px}.now-line{position:absolute;left:0;right:0;height:2px;background:var(--red-hi);z-index:3}.login{min-height:100vh;display:grid;place-items:center;padding:16px}.login .card{width:100%;max-width:360px;padding:28px}.login form{display:flex;flex-direction:column;gap:12px}