*{box-sizing:border-box}body{margin:0;font-family:'Maven Pro',system-ui,sans-serif;color:#1B1D2B;background:#F3F6F8;font-size:14px}
a{color:#14232F}.app{display:flex;min-height:100vh}
aside{width:264px;background:#0B1A24;flex:none;position:sticky;top:0;height:100vh;overflow-y:auto}
.brand{height:64px;display:flex;align-items:center;gap:12px;padding:0 20px;border-bottom:1px solid #14232F;color:#fff;text-decoration:none}
.brand b{width:32px;height:32px;border:1px solid #7FD1CF;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:500}
.brand span{display:flex;flex-direction:column;line-height:1.1;font-size:17px;font-weight:500}.brand small{font-size:10px;letter-spacing:.1em;color:#8793AD;text-transform:uppercase;font-weight:400}
aside nav{padding:0 12px 24px}aside h6{margin:0;padding:14px 12px 4px;font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#8793AD}
aside a.n{display:block;height:30px;line-height:30px;padding:0 12px;color:#B4BED2;text-decoration:none;font-size:13.5px}
aside a.n:hover{color:#fff}aside a.on{background:#14232F;color:#fff;border-left:3px solid #7FD1CF;padding-left:9px}
.main{flex:1;min-width:0;display:flex;flex-direction:column}
header.top{height:64px;background:#fff;border-bottom:1px solid #E6EEF2;display:flex;align-items:center;gap:16px;padding:0 24px}
.crumb{color:#5F6477}.crumb b{color:#1B1D2B;font-weight:400}.sp{flex:1}
.who{display:flex;align-items:center;gap:10px;font-size:13px;color:#5F6477}.av{width:36px;height:36px;background:#14232F;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:500}
.run{font-size:12px;padding:4px 8px;border:1px solid #0E7C7B;color:#0E7C7B}.run.off{border-color:#D92D20;color:#D92D20}
main{padding:24px 28px;display:flex;flex-direction:column;gap:20px}
.ph{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.ph h1{margin:0;font-size:26px;font-weight:600}.ph p{margin:4px 0 0;color:#5F6477}.acts{display:flex;gap:8px;flex-wrap:wrap}
.btn,button.btn{display:inline-flex;align-items:center;height:36px;padding:0 14px;border:1px solid #C9CEDC;background:#fff;color:#1B1D2B;font:inherit;font-size:14px;cursor:pointer;text-decoration:none;border-radius:0;white-space:nowrap}
.btn.p{background:#14232F;border-color:#14232F;color:#fff}.btn.d{color:#D92D20;border-color:#D92D20}.btn.s{height:30px;font-size:13px;padding:0 10px}
.row{display:flex;gap:16px;flex-wrap:wrap}.row>*{flex:1 1 260px;min-width:0}
.card{background:#fff;border:1px solid #E6EEF2}.card>h3{margin:0;padding:12px 16px;border-bottom:1px solid #E6EEF2;font-size:15px;font-weight:600;display:flex;justify-content:space-between}.card>h3 small{font-weight:400;color:#5F6477;font-size:13px}.cb{padding:16px;display:flex;flex-direction:column;gap:10px}
.stat{background:#fff;border:1px solid #E6EEF2;padding:14px 16px}.stat small{display:block;font-size:12px;color:#5F6477;text-transform:uppercase;letter-spacing:.06em}.stat b{display:block;font-size:28px;font-weight:600;margin-top:4px}.stat i{font-style:normal;font-size:12px;color:#5F6477}
.stat i.g{color:#0E7C7B}.stat i.a{color:#B54708}.stat i.r{color:#D92D20}
table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #E6EEF2}th{background:#F3F6F8;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#5F6477;text-align:left;font-weight:500}
th,td{padding:10px;border-bottom:1px solid #E6EEF2;vertical-align:middle}td.nw{white-space:nowrap}.tw{overflow-x:auto}
.chip{display:inline-block;font-size:12px;padding:2px 8px;border:1px solid #C9CEDC;color:#5F6477;background:#F3F6F8;white-space:nowrap}
.chip.g{color:#0E7C7B;background:#E6F4F3;border-color:#0E7C7B}.chip.r{color:#D92D20;background:#FDECEA;border-color:#D92D20}.chip.a{color:#B54708;background:#FEF3E2;border-color:#B54708}.chip.b{color:#14232F;background:#E3EAF6;border-color:#14232F}
.bar{height:8px;background:#E6EEF2;min-width:60px}.bar i{display:block;height:8px;background:#0E7C7B}.bar i.a{background:#B54708}.bar i.r{background:#D92D20}
.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.f{display:inline-flex;align-items:center;height:32px;padding:0 12px;border:1px solid #C9CEDC;background:#fff;color:#1B1D2B;text-decoration:none;font-size:13px}.f.on{background:#14232F;color:#fff;border-color:#14232F}
label.l{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#5F6477}input,select,textarea{font:inherit;font-size:14px;color:#1B1D2B;border:1px solid #C9CEDC;background:#fff;padding:8px 10px;border-radius:0;width:100%}textarea{min-height:120px}
.kv{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid #E6EEF2}.kv span:first-child{color:#5F6477}.kv span:last-child{text-align:right;word-break:break-word}
.flash{background:#E6F4F3;border:1px solid #0E7C7B;color:#0b5f5e;padding:10px 14px}.muted{color:#5F6477}.mono{font-family:ui-monospace,Menlo,monospace;font-size:12px;word-break:break-all}
.bars{display:flex;align-items:flex-end;gap:8px;height:150px}.bars div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;font-size:11px;color:#5F6477}.bars i{display:block;width:70%;background:#0E7C7B}
.fun{display:flex;gap:8px;flex-wrap:wrap}.fun div{flex:1 1 110px;padding:16px;background:#1F3157;color:#fff}.fun div.hl{background:#7FD1CF;color:#14232F}.fun b{display:block;font-size:26px}
.center{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#0B1A24}.box{width:420px;max-width:92vw;background:#fff;padding:36px;display:flex;flex-direction:column;gap:14px}
@media(max-width:900px){aside{display:none}}

/* ===== v2: smoother UI ===== */
html{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;line-height:1.45}
:focus-visible{outline:2px solid #7FD1CF;outline-offset:2px}
#progress{position:fixed;top:0;left:0;height:3px;width:0;background:#7FD1CF;z-index:100;transition:width .2s}#progress.go{width:85%;transition:width 8s cubic-bezier(.1,.8,.2,1)}
aside{display:flex;flex-direction:column;overflow:hidden;z-index:60}aside .brand{flex:none}aside nav{flex:1;overflow-y:auto;padding:4px 12px 24px;scrollbar-width:thin;scrollbar-color:#2a3b49 transparent}
details.grp{border-bottom:1px solid #12222d}details.grp summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:12px 12px 8px;font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#8793AD}
details.grp summary::-webkit-details-marker{display:none}details.grp summary::after{content:'›';font-size:14px;transition:transform .15s}details.grp[open] summary::after{transform:rotate(90deg)}
details.grp summary:hover{color:#fff}details.grp a.n{height:32px;line-height:32px;transition:background .12s,color .12s}details.grp a.n:hover{background:#10222e}details.grp[open]{padding-bottom:6px}
.burger{display:none;background:none;border:0;padding:8px;cursor:pointer}.burger i{display:block;width:20px;height:2px;background:#1B1D2B;margin:4px 0}
header.top{position:sticky;top:0;z-index:40;gap:12px;flex-wrap:nowrap}.crumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.crumb span{margin:0 4px;color:#8A90A3}
.run{text-decoration:none;white-space:nowrap}.menu{position:relative}.who{display:flex;align-items:center;gap:10px;background:none;border:0;cursor:pointer;font:inherit;padding:0}
.wn{display:flex;flex-direction:column;text-align:left;font-size:13px;color:#1B1D2B;line-height:1.2}.wn small{color:#5F6477;font-size:11px;text-transform:capitalize}
.drop{display:none;position:absolute;right:0;top:44px;background:#fff;border:1px solid #C9CEDC;min-width:160px;box-shadow:0 8px 24px rgba(11,26,36,.12)}.menu.open .drop{display:block}.drop a{display:block;padding:10px 14px;text-decoration:none;color:#1B1D2B}.drop a:hover{background:#F3F6F8}
main{width:100%;max-width:1500px;margin:0 auto}
.toast{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#E6F4F3;border:1px solid #0E7C7B;color:#0b5f5e;padding:10px 14px;transition:opacity .4s,max-height .4s;max-height:100px;overflow:hidden}.toast.hide{opacity:0;max-height:0;padding:0 14px;border-width:0}
.toast button{background:none;border:0;font-size:20px;line-height:1;cursor:pointer;color:inherit}
.btn{transition:background .12s,border-color .12s,transform .05s}.btn:hover{background:#F3F6F8}.btn.p:hover{background:#1d3446}.btn:active{transform:translateY(1px)}.btn:disabled,.btn.wait{opacity:.6;cursor:progress}
.btn.s{height:32px}
table{font-size:14px}tbody tr:hover td,table tr:hover td{background:#fafcfd}th{position:sticky;top:0;z-index:1}.tw{max-height:none;border:0}
td a{text-decoration:none;font-weight:500}td a:hover{text-decoration:underline}
input:focus,select:focus,textarea:focus{border-color:#14232F;outline:0;box-shadow:0 0 0 3px rgba(127,209,207,.35)}
input[type=checkbox]{width:auto;accent-color:#14232F}label{cursor:pointer}
.empty{padding:36px;text-align:center;color:#5F6477}
.row{align-items:stretch}.stat{transition:box-shadow .15s}.stat b{font-variant-numeric:tabular-nums}
.card{min-width:0}.cb .row{gap:12px}
@media(max-width:1000px){
  .burger{display:block}aside{position:fixed;left:0;top:0;bottom:0;height:100vh;transform:translateX(-100%);transition:transform .2s;display:flex}
  .nav-open aside{transform:none;box-shadow:0 0 40px rgba(0,0,0,.4)}.scrim{display:none;position:fixed;inset:0;background:rgba(11,26,36,.5);z-index:50}.nav-open .scrim{display:block}
  .wn{display:none}header.top{padding:0 12px}main{padding:16px 12px}.run{display:none}
  .row>*{flex:1 1 100%}.ph h1{font-size:22px}th,td{padding:8px}
}
@media(max-width:600px){.acts{width:100%}.acts .btn,.acts form{flex:1}.fun div{flex:1 1 45%}}
.row>.stat{flex:1 1 150px}
.banner{padding:10px 14px;border:1px solid;font-size:13px}.banner a{font-weight:600}.banner.bad{background:#FDECEA;border-color:#D92D20;color:#912018}.banner.warn{background:#FFF6E5;border-color:#B54708;color:#7a3a06}
.toast.err{background:#FDECEA;border-color:#D92D20;color:#912018}
.bell{position:relative;text-decoration:none;font-size:16px;padding:6px 8px}.bell b{position:absolute;top:-2px;right:-2px;background:#D92D20;color:#fff;font-size:10px;min-width:16px;height:16px;line-height:16px;text-align:center;border-radius:8px}
