:root{
  --bg:#F4F0E9; --surface:#FFFFFF; --surface2:#FAF7F2; --surface3:#F0EBE3;
  --ink:#2B2621; --ink2:#6B6158; --ink3:#9A9188;
  --line:#E7DFD4; --line2:#D8CDBC;
  --brand:#8B5E3C; --brand-deep:#5E3D26; --brand-soft:#F1E4D8;
  --accent:#C0703C; --accent-soft:#FBEEE4;
  --green:#3F7A5A; --green-soft:#EAF3EC;
  --blue:#3A6B96; --blue-soft:#EAF1F8;
  --amber:#9A6B1F; --amber-soft:#FAF1DC;
  --danger:#B4443A; --danger-soft:#FBECEA;
  --r:14px; --r-sm:9px;
  --font:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}
button{font-family:inherit;font-size:inherit;cursor:pointer;border:0;background:none;color:inherit}
input,textarea,select{font-family:inherit;font-size:inherit;color:inherit}
svg{display:block}
::-webkit-scrollbar{width:7px;height:7px}
::-webkit-scrollbar-thumb{background:var(--line2);border-radius:6px}
::-webkit-scrollbar-track{background:transparent}

.topbar{height:66px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:22px;padding:0 28px;position:sticky;top:0;z-index:40}
.brandmark{display:flex;align-items:center;gap:11px;flex:0 0 auto}
.brandmark .logo{width:34px;height:34px;border-radius:10px;background:var(--brand);display:flex;align-items:center;justify-content:center;color:#fff}
.brandmark .bt{font-size:16px;font-weight:600;letter-spacing:.5px;line-height:1.2}
.brandmark .bs{font-size:11px;color:var(--ink3);letter-spacing:.3px}
.tabs{display:flex;gap:4px;background:var(--surface3);padding:4px;border-radius:11px;margin-left:12px}
.tabs button{padding:8px 15px;border-radius:8px;font-size:13px;color:var(--ink2);white-space:nowrap;transition:.16s}
.tabs button:hover{color:var(--ink)}
.tabs button.on{background:var(--surface);color:var(--brand-deep);font-weight:600;box-shadow:0 1px 3px rgba(60,40,20,.09)}
.topbar-right{margin-left:auto;display:flex;align-items:center;gap:12px}
.badge-demo{font-size:11px;color:var(--amber);background:var(--amber-soft);border:1px solid #EED9AE;padding:5px 10px;border-radius:20px;white-space:nowrap}
.ghost-btn{font-size:12px;color:var(--ink2);border:1px solid var(--line2);padding:7px 12px;border-radius:8px;background:var(--surface)}
.ghost-btn:hover{border-color:var(--brand);color:var(--brand)}
a.ghost-btn{display:inline-flex;align-items:center;text-decoration:none;line-height:1.4}
a.ghost-btn:hover{text-decoration:none}

.workspace{display:flex;gap:22px;padding:22px 28px 40px;align-items:flex-start;max-width:1600px;margin:0 auto}
.guide{width:262px;flex:0 0 262px;position:sticky;top:88px;display:flex;flex-direction:column;gap:14px}
.gcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:16px}
.gcard h3{font-size:13px;font-weight:600;margin-bottom:4px}
.gcard .sub{font-size:11.5px;color:var(--ink3);line-height:1.5;margin-bottom:12px}
.step{display:flex;gap:10px;align-items:flex-start;padding:8px 8px;border-radius:9px;cursor:pointer;transition:.15s}
.step:hover{background:var(--surface2)}
.step.on{background:var(--brand-soft)}
.step .n{width:21px;height:21px;flex:0 0 21px;border-radius:50%;background:var(--surface3);color:var(--ink2);font-size:11px;display:flex;align-items:center;justify-content:center;font-weight:600}
.step.on .n{background:var(--brand);color:#fff}
.step .tx{font-size:12.5px;line-height:1.45;color:var(--ink2)}
.step.on .tx{color:var(--brand-deep);font-weight:600}
.step .hint{display:block;font-size:11px;color:var(--ink3);font-weight:400}
.selfcheck{background:var(--green-soft);border:1px solid #CBE3D2;border-radius:var(--r);padding:15px}
.selfcheck h3{font-size:13px;font-weight:600;color:var(--green);margin-bottom:9px}
.chk{display:flex;justify-content:space-between;gap:8px;font-size:11.5px;color:var(--ink2);padding:4px 0}
.chk b{color:var(--green);font-weight:600}
.discipline{font-size:11px;color:var(--ink3);line-height:1.65}
.discipline strong{color:var(--ink2)}

.stage{flex:1;min-width:0;display:flex;justify-content:center;align-items:flex-start}
.phone{width:392px;flex:0 0 392px;height:826px;background:#201B17;border-radius:44px;padding:11px;box-shadow:0 18px 44px rgba(50,34,20,.18),0 2px 6px rgba(50,34,20,.1);position:relative}
.phone-notch{position:absolute;top:11px;left:50%;transform:translateX(-50%);width:118px;height:25px;background:#201B17;border-radius:0 0 15px 15px;z-index:6}
.phone-screen{width:100%;height:100%;background:var(--surface2);border-radius:34px;overflow:hidden;display:flex;flex-direction:column;position:relative}
.statusbar{height:38px;flex:0 0 38px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;font-size:11px;color:var(--ink2);font-weight:600;background:var(--surface2);z-index:5}
.statusbar .dots{display:flex;gap:4px;align-items:center}
.appbar{height:46px;flex:0 0 46px;display:flex;align-items:center;gap:10px;padding:0 14px;background:var(--surface);border-bottom:1px solid var(--line);z-index:4}
.appbar .back{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:var(--ink2);font-size:18px}
.appbar .back:hover{background:var(--surface3)}
.appbar .title{font-size:15px;font-weight:600;flex:1}
.appbar .rt{font-size:11.5px;color:var(--brand)}
.screen{flex:1;overflow-y:auto;overflow-x:hidden;padding-bottom:78px}
.appnav{position:absolute;bottom:0;left:0;right:0;height:64px;background:var(--surface);border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-around;padding-bottom:6px;z-index:5}
.appnav button{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:10.5px;color:var(--ink3);min-width:56px}
.appnav button.on{color:var(--brand);font-weight:600}
.appnav .ic{font-size:17px;line-height:1.2}

.pad{padding:16px}
.pad-sm{padding:12px 14px}
.stack{display:flex;flex-direction:column;gap:12px}
.muted{color:var(--ink3)}
.small{font-size:11.5px}
.tiny{font-size:10.5px}
.sec-title{font-size:12px;font-weight:600;color:var(--ink2);letter-spacing:.4px;margin:18px 0 9px}
.hero{padding:22px 18px 18px;background:linear-gradient(160deg,#F6E9DC 0%,#F4F0E9 100%);border-bottom:1px solid var(--line)}
.hero .eyebrow{font-size:11px;color:var(--brand);letter-spacing:1.2px;font-weight:600}
.hero h1{font-size:23px;line-height:1.35;font-weight:600;margin:9px 0 8px;letter-spacing:-.3px}
.hero p{font-size:12.5px;color:var(--ink2);line-height:1.7}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.card .inner{padding:14px}
.card.flat{border-radius:var(--r-sm)}
.row{display:flex;align-items:center;gap:10px}
.row.between{justify-content:space-between}
.row.top{align-items:flex-start}
.grow{flex:1;min-width:0}
.divider{height:1px;background:var(--line);margin:12px 0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 16px;border-radius:10px;font-size:13.5px;font-weight:600;transition:.15s;text-align:center}
.btn.primary{background:var(--brand);color:#fff}
.btn.primary:hover{background:var(--brand-deep)}
.btn.accent{background:var(--accent);color:#fff}
.btn.accent:hover{filter:brightness(.94)}
.btn.line{border:1px solid var(--line2);background:var(--surface);color:var(--ink2)}
.btn.line:hover{border-color:var(--brand);color:var(--brand)}
.btn.block{width:100%}
.btn.sm{padding:7px 12px;font-size:12px;border-radius:8px}
.btn:disabled{opacity:.45;cursor:not-allowed}
.tag{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;padding:3px 8px;border-radius:6px;background:var(--surface3);color:var(--ink2);white-space:nowrap}
.tag.brand{background:var(--brand-soft);color:var(--brand-deep)}
.tag.green{background:var(--green-soft);color:var(--green)}
.tag.blue{background:var(--blue-soft);color:var(--blue)}
.tag.amber{background:var(--amber-soft);color:var(--amber)}
.tag.red{background:var(--danger-soft);color:var(--danger)}
.demo-tag{font-size:9.5px;color:var(--amber);border:1px solid #EED9AE;background:var(--amber-soft);padding:1px 5px;border-radius:4px;margin-left:5px;white-space:nowrap;vertical-align:middle;font-weight:500}
.notice{background:var(--blue-soft);border:1px solid #CFE0EF;border-radius:10px;padding:11px 12px;font-size:11.5px;color:var(--blue);line-height:1.6}
.notice.warn{background:var(--amber-soft);border-color:#EED9AE;color:var(--amber)}
.notice.ok{background:var(--green-soft);border-color:#CBE3D2;color:var(--green)}

.upload-box{border:1.5px dashed var(--line2);border-radius:var(--r);background:var(--surface);padding:24px 16px;text-align:center;cursor:pointer;transition:.15s}
.upload-box:hover{border-color:var(--brand);background:var(--surface2)}
.upload-box .ic{width:46px;height:46px;margin:0 auto 10px;border-radius:14px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;color:var(--brand)}
.upload-box .t{font-size:13.5px;font-weight:600}
.upload-box .d{font-size:11.5px;color:var(--ink3);margin-top:4px}
.thumb{height:118px;border-radius:10px;background:repeating-linear-gradient(45deg,#E9DFD1,#E9DFD1 10px,#E3D7C6 10px,#E3D7C6 20px);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;color:var(--ink2);font-size:12px}
.thumb .mask{position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(43,38,33,.28))}
.chkline{display:flex;align-items:flex-start;gap:9px;font-size:11.5px;color:var(--ink2);line-height:1.55}
.chkbox{width:16px;height:16px;flex:0 0 16px;border:1.5px solid var(--line2);border-radius:4px;margin-top:1px;display:flex;align-items:center;justify-content:center;font-size:10px;color:#fff}
.chkbox.on{background:var(--brand);border-color:var(--brand)}

.gen{padding:28px 20px;text-align:center}
.gen .orb{width:76px;height:76px;margin:0 auto 20px;border-radius:50%;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;position:relative}
.gen .orb::after{content:"";position:absolute;inset:-8px;border-radius:50%;border:2px solid var(--brand);opacity:.25;animation:pulse 1.6s ease-out infinite}
@keyframes pulse{0%{transform:scale(.85);opacity:.4}100%{transform:scale(1.25);opacity:0}}
.gen h2{font-size:17px;font-weight:600;margin-bottom:6px}
.gen p{font-size:12px;color:var(--ink3);margin-bottom:22px}
.gstep{display:flex;align-items:center;gap:11px;text-align:left;padding:10px 12px;border-radius:10px;background:var(--surface);border:1px solid var(--line);margin-bottom:8px}
.gstep .dot{width:19px;height:19px;flex:0 0 19px;border-radius:50%;background:var(--surface3);display:flex;align-items:center;justify-content:center;font-size:10px;color:var(--ink3)}
.gstep.done .dot{background:var(--green);color:#fff}
.gstep.active .dot{background:var(--brand);color:#fff}
.gstep .lb{font-size:12.5px;flex:1}
.gstep .st{font-size:10.5px;color:var(--ink3)}
.gstep.done .st{color:var(--green)}
.progress{height:5px;background:var(--surface3);border-radius:5px;overflow:hidden;margin:18px 0 8px}
.progress i{display:block;height:100%;background:var(--brand);border-radius:5px;transition:width .5s}

.scene-wrap{position:relative;border-radius:12px;overflow:hidden;background:var(--surface3);line-height:0}
.scene-wrap svg{width:100%;height:auto}
.hotspot{cursor:pointer}
.hotspot circle.dot{fill:var(--brand);stroke:#fff;stroke-width:2}
.hotspot circle.halo{fill:var(--brand);opacity:.18}
.hotspot text{fill:#fff;font-size:11px;font-weight:600;text-anchor:middle;dominant-baseline:central}
.hotspot:hover circle.halo{opacity:.38}
.hotspot:hover circle.dot{fill:var(--brand-deep)}
.scene-note{position:absolute;left:10px;bottom:10px;font-size:10px;background:rgba(43,38,33,.72);color:#fff;padding:4px 8px;border-radius:5px;line-height:1.4}
.scheme-card{cursor:pointer;transition:.15s;border:1.5px solid var(--line)}
.scheme-card:hover{border-color:var(--brand)}
.scheme-card.on{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}
.scheme-meta{display:flex;justify-content:space-between;align-items:center;padding:11px 12px}
.scheme-meta .nm{font-size:13.5px;font-weight:600}
.scheme-meta .pr{font-size:14px;font-weight:600;color:var(--brand-deep)}

.sku-line{display:flex;gap:11px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.sku-line:last-child{border-bottom:0}
.sku-thumb{width:48px;height:48px;flex:0 0 48px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:19px}
.sku-nm{font-size:12.5px;font-weight:600}
.sku-sub{font-size:10.5px;color:var(--ink3);margin-top:2px}
.price{font-size:13.5px;font-weight:600;color:var(--brand-deep);white-space:nowrap}
.price.sm{font-size:12px}
.qty{font-size:11px;color:var(--ink3)}
.seg{display:flex;background:var(--surface3);padding:3px;border-radius:10px;gap:3px}
.seg button{flex:1;padding:9px 4px;border-radius:8px;font-size:12.5px;color:var(--ink2);transition:.15s}
.seg button.on{background:var(--surface);color:var(--brand-deep);font-weight:600;box-shadow:0 1px 3px rgba(60,40,20,.08)}
.sum-row{display:flex;justify-content:space-between;font-size:12.5px;padding:5px 0;color:var(--ink2)}
.sum-row.total{font-size:16px;font-weight:600;color:var(--ink);border-top:1px solid var(--line);margin-top:8px;padding-top:12px}
.sum-row.total b{color:var(--brand-deep)}
.kv{display:flex;justify-content:space-between;gap:12px;font-size:12.5px;padding:7px 0;border-bottom:1px solid var(--line)}
.kv:last-child{border-bottom:0}
.kv .k{color:var(--ink3)}
.kv .v{text-align:right;font-weight:500}
.empty{padding:26px 16px;text-align:center;border:1px dashed var(--line2);border-radius:10px;background:var(--surface2)}
.empty .ic{font-size:24px;color:var(--ink3);margin-bottom:7px}
.empty .t{font-size:12.5px;font-weight:600;color:var(--ink2)}
.empty .d{font-size:11px;color:var(--ink3);margin-top:4px;line-height:1.6}

.timeline{position:relative;padding-left:22px}
.timeline::before{content:"";position:absolute;left:6px;top:8px;bottom:8px;width:1.5px;background:var(--line2)}
.tl-item{position:relative;padding:0 0 16px}
.tl-item::before{content:"";position:absolute;left:-19px;top:5px;width:9px;height:9px;border-radius:50%;background:var(--surface);border:2px solid var(--line2)}
.tl-item.done::before{background:var(--green);border-color:var(--green)}
.tl-item.now::before{background:var(--brand);border-color:var(--brand)}
.tl-item .t{font-size:12.5px;font-weight:600}
.tl-item .d{font-size:11px;color:var(--ink3);margin-top:2px}
.stars{display:flex;gap:5px;font-size:24px;color:var(--line2);cursor:pointer}
.stars .on{color:#E0A63C}
.chip{display:inline-block;font-size:11px;padding:5px 10px;border-radius:16px;border:1px solid var(--line2);color:var(--ink2);background:var(--surface);margin:0 6px 6px 0;cursor:pointer}
.chip.on{background:var(--brand-soft);border-color:var(--brand);color:var(--brand-deep)}

.admin{width:100%;max-width:1180px;background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 8px 26px rgba(50,34,20,.07);display:flex;min-height:740px}
.admin-side{width:212px;flex:0 0 212px;background:var(--surface2);border-right:1px solid var(--line);padding:18px 12px}
.admin-side .org{display:flex;align-items:center;gap:9px;padding:0 8px 16px;border-bottom:1px solid var(--line);margin-bottom:14px}
.admin-side .org .sq{width:30px;height:30px;border-radius:8px;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600}
.admin-side .org .nm{font-size:12.5px;font-weight:600;line-height:1.3}
.admin-side .org .sb{font-size:10.5px;color:var(--ink3)}
.admin-side .grp{font-size:10.5px;color:var(--ink3);letter-spacing:.8px;padding:10px 10px 6px}
.admin-side .mi{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:8px;font-size:12.5px;color:var(--ink2);cursor:pointer;margin-bottom:2px}
.admin-side .mi:hover{background:var(--surface3)}
.admin-side .mi.on{background:var(--brand-soft);color:var(--brand-deep);font-weight:600}
.admin-side .mi .ic{width:16px;text-align:center;font-size:13px}
.admin-main{flex:1;min-width:0;display:flex;flex-direction:column}
.admin-top{height:58px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 22px}
.admin-top .tt{font-size:15px;font-weight:600}
.admin-top .rt{font-size:11.5px;color:var(--ink3)}
.admin-body{padding:22px;overflow-y:auto;flex:1;background:var(--surface2)}
.page-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px;gap:16px}
.page-head h2{font-size:19px;font-weight:600}
.page-head p{font-size:12px;color:var(--ink3);margin-top:4px;line-height:1.6}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px}
.stat .lb{font-size:11px;color:var(--ink3)}
.stat .vl{font-size:22px;font-weight:600;margin:5px 0 2px;letter-spacing:-.5px}
.stat .ft{font-size:10.5px;color:var(--ink3)}
.stat.empty-stat{background:var(--surface2);border-style:dashed;display:flex;flex-direction:column;justify-content:center}
.stat.empty-stat .vl{font-size:14px;color:var(--ink3)}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;margin-bottom:16px;overflow:hidden}
.panel-h{padding:13px 16px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}
.panel-h .t{font-size:13.5px;font-weight:600}
.panel-h .s{font-size:11px;color:var(--ink3)}
.panel-b{padding:16px}
table{width:100%;border-collapse:collapse;font-size:12px}
th{text-align:left;font-weight:500;color:var(--ink3);padding:10px 12px;border-bottom:1px solid var(--line);background:var(--surface2);white-space:nowrap}
td{padding:11px 12px;border-bottom:1px solid var(--line);vertical-align:middle}
tr:last-child td{border-bottom:0}
tbody tr:hover{background:var(--surface2)}
.td-strong{font-weight:600}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:var(--ink2)}
.bar{height:6px;background:var(--surface3);border-radius:5px;overflow:hidden;min-width:70px}
.bar i{display:block;height:100%;background:var(--brand);border-radius:5px}
.bar.blue i{background:var(--blue)}
.bar.green i{background:var(--green)}
.source{font-size:10px;color:var(--ink3);line-height:1.5}
.metric-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}
.metric-row:last-child{border-bottom:0}
.metric-row .nm{font-size:12.5px;font-weight:600}
.metric-row .meta{font-size:10.5px;color:var(--ink3);margin-top:3px}
.metric-row .vl{font-size:15px;font-weight:600;color:var(--brand-deep)}

.cap-layer{margin-bottom:14px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}
.cap-layer .lh{padding:12px 16px;background:var(--surface2);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}
.cap-layer .lh .nm{font-size:13.5px;font-weight:600}
.cap-layer .lh .cnt{font-size:11px;color:var(--ink3)}
.cap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px}
.cap{background:var(--surface2);border:1px solid var(--line);border-radius:9px;padding:11px}
.cap.p0{background:var(--green-soft);border-color:#CBE3D2}
.cap .id{font-size:10px;color:var(--ink3);font-family:ui-monospace,Menlo,monospace}
.cap .nm{font-size:12.5px;font-weight:600;margin:3px 0 5px}
.cap .ds{font-size:10.5px;color:var(--ink2);line-height:1.5}
.cap .ft{display:flex;justify-content:space-between;align-items:center;margin-top:8px;font-size:10px;color:var(--ink3)}

.modal-mask{position:fixed;inset:0;background:rgba(43,38,33,.42);z-index:80;display:flex;align-items:center;justify-content:center;padding:20px}
.modal{background:var(--surface);border-radius:16px;width:100%;max-width:440px;max-height:86vh;overflow-y:auto;box-shadow:0 20px 50px rgba(40,28,18,.24)}
.modal-h{padding:16px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}
.modal-h .t{font-size:15px;font-weight:600}
.modal-h .x{font-size:20px;color:var(--ink3);width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:8px}
.modal-h .x:hover{background:var(--surface3)}
.modal-b{padding:18px}
.modal-f{padding:14px 18px;border-top:1px solid var(--line);display:flex;gap:10px}
.modal-f .btn{flex:1}
#toast-root{position:fixed;top:80px;left:50%;transform:translateX(-50%);z-index:100;pointer-events:none}
.toast{background:var(--ink);color:#fff;font-size:12.5px;padding:10px 18px;border-radius:10px;box-shadow:0 6px 20px rgba(0,0,0,.18);animation:tin .2s ease-out;white-space:nowrap}
@keyframes tin{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
.guide-note{font-size:11px;color:var(--ink3);line-height:1.6;padding:0 2px}
.link{color:var(--brand);cursor:pointer;font-size:11.5px}
.link:hover{text-decoration:underline}
.pill-nav{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.pill-nav button{font-size:11.5px;padding:6px 11px;border-radius:16px;border:1px solid var(--line2);color:var(--ink2);background:var(--surface)}
.pill-nav button.on{background:var(--brand);border-color:var(--brand);color:#fff}
.spacer{height:8px}
.footer-nav{display:flex;justify-content:space-between;gap:10px;padding:14px 16px 0}

@media(max-width:1180px){
  .stat-grid{grid-template-columns:repeat(2,1fr)}
  .cap-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:980px){
  .workspace{flex-direction:column;padding:16px}
  .guide{width:100%;flex:none;position:static;flex-direction:row;flex-wrap:wrap}
  .guide .gcard{flex:1;min-width:240px}
  .stage{width:100%}
  .topbar{flex-wrap:wrap;height:auto;padding:12px 16px;gap:12px}
  .tabs{margin-left:0;order:3;width:100%;overflow-x:auto}
  .topbar-right{margin-left:auto}
}
@media(max-width:700px){
  .phone{width:100%;max-width:392px;flex:none;height:760px}
  .admin{flex-direction:column;min-height:0}
  .admin-side{width:100%;flex:none;display:flex;overflow-x:auto;padding:10px;border-right:0;border-bottom:1px solid var(--line)}
  .admin-side .org,.admin-side .grp{display:none}
  .admin-side .mi{white-space:nowrap;margin:0 3px 0 0}
  .stat-grid,.cap-grid{grid-template-columns:1fr 1fr}
  table{font-size:11px}
  th,td{padding:8px}
}
