/* Independent V2 theme; legacy panels and their controls remain available. */
:root{--bg:#f6f7f9;--card:#fff;--ink:#1A1A1A;--muted:#657086;--primary:#6668dd;--deep:#5456c4;--orange:#5456c4;--line:#e3e6ef;--side:#fff;--shadow:none}
html{scrollbar-gutter:stable}body{font-size:14px;line-height:1.55;color:#1A1A1A;font-variant-numeric:tabular-nums}h1,h2,h3,.section-head p{ text-wrap:balance}.v2-environment{font-size:14px;color:#8a6419;background:#faf6ea;border:1px solid #f0e3bc;border-radius:8px;padding:4px 8px;white-space:nowrap}@media(max-width:1100px){.top .search{display:none}}@media(max-width:680px){.v2-environment{font-size:14px;white-space:normal;max-width:86px}.show-dis{font-size:14px}}body{font-family:Inter,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}
[hidden]{display:none!important}button,input,select,textarea{font:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #7476e0;outline-offset:2px}
.side{width:210px;padding:24px 8px 16px;border-right:1px solid var(--line);background:#fff;color:var(--ink)}
.brand{padding:0 4px 16px;gap:8px}.brand-icon{width:30px;height:32px;border-radius:8px;font-size:16px;flex-shrink:0}.brand strong{color:var(--ink);font-size:14px}.brand small{color:var(--muted);font-size:14px;letter-spacing:.4px}
.nav-title{color:#657086;padding:16px 8px 8px}.nav{color:#657086;border-radius:8px;font-size:14px;padding:8px 8px;gap:8px}.nav:hover{color:var(--deep);background:#f6f6fd}.nav.on{color:var(--deep);background:#efeffc}.nav .ico{font-size:16px}.nav .badge{background:#efeffc;color:var(--deep)}
.side-card{margin-top:24px;border:1px solid var(--line);background:#f8f9fc;color:var(--ink);border-radius:8px;padding:16px}.side-card div,.side-card small,.side-logout{color:var(--muted)}.side-icp a{color:var(--muted);border-color:var(--line)}
.top{left:210px;height:78px;background:#fff;border-bottom:1px solid var(--line);padding:16px 24px}.top .logo{font-size:16px}.top .subtitle{font-size:14px}.top .search{background:#f6f7f9;border:1px solid var(--line);border-radius:8px;padding:8px 8px;width:220px}.avatar{background:#efeffc;color:var(--deep);border-radius:8px}
.main{/* design-exception: fixed sidebar width. */margin-left:210px;width:calc(100% - 210px);/* design-exception: fixed header clearance. */padding:102px 24px 24px}.panel{max-width:1800px}.section-head h2{font-size:24px;letter-spacing:-.4px}.card{border:1px solid var(--line);border-radius:24px;padding:16px;margin-bottom:16px}.card h3{font-size:14px}.card-title{gap:8px}.stat,.kpi{border:1px solid var(--line);border-radius:24px;padding:16px}.stat .sv,.kpi .sv{font-size:24px;font-weight:700}.window,.window.hot{background:#f8f9fc;border:1px solid var(--line);border-radius:8px}.window small{color:var(--muted)}.window.hot strong,.window.hot em{color:var(--deep)}
.btn{border-radius:8px;padding:8px 16px;font-weight:550}.btn.ghost{border:1px solid #dde1ea;color:#59647a;background:#fff}.btn.ghost:hover{background:#eff0fb}.btn.danger{background:#fdf7f7;border-color:#f4d8d8;color:#b42332}.btn:active{transform:none}.btn.xs{border-radius:8px;padding:4px 8px;font-size:14px}.menu-btn{border:1px solid var(--line);border-radius:8px}.btn.on{background:#efeffc;color:var(--deep);border-color:#dcdcf7}
input,select,textarea{border:1px solid #dde1ea;border-radius:8px;padding:8px 8px;color:var(--ink);background:#fff}.form-row label,.login label{color:#657086}.ct-filter input,.ct-filter select{border-color:#dde1ea;border-radius:8px}.ct-filter .ct-tip{color:var(--muted)}.ct-filter input:focus{box-shadow:0 0 0 3px #7476e012}.ct-tools{flex-wrap:wrap}.ct-filter{gap:8px;margin-bottom:16px}
th{color:#657086;background:#fafbfc;border-color:var(--line);font-size:14px;font-weight:600}td{border-color:#edf0f5;padding:8px 8px}tbody tr:hover td{background:#fafafe}th.ops,td.ops{min-width:130px}.table-wrap{border:1px solid #edf0f5;border-radius:8px}.table-wrap table{min-width:600px}.campus-ro{color:#657086}.ro-no{color:#a4acb9}.pk-tag{background:#efeffc;color:var(--deep)}
.review-item,.point-item{background:#f8f9fc;border-radius:8px}.mini-row{color:#657086}.campus-hd{color:var(--ink)}.cs-list,.cs-chat,.cs-head,.cs-reply,.rv,.dc-pt,.campus-list{border-color:var(--line)}.cs-head,.cs-msgs,.dc-grp-h{background:#f8f9fc}.cs-thread.on{background:#efeffc}.cs-m.mine .cs-b{background:var(--primary)}.cs-av{background:#efeffc;color:var(--deep)}.colf{border-color:var(--line);border-radius:8px}.colf-sort button,.colf-list label:hover,.cp-item:hover{background:#f8f9fc}.colf-sort button.on,.thf.on .thb{background:#efeffc}.login-card{border-radius:24px;box-shadow:0 16px 55px #2934560d}.login-mark{border-radius:8px}.v2-product-tabs{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}
/* Reserve a constant right column while editing; its form scrolls independently. */
.v2-editor-mask{position:fixed;inset:0;z-index:39;background:#17203355;opacity:1;transition:opacity 160ms}.v2-editor{position:fixed;inset:0 0 0 auto;width:min(520px,92vw);background:#fff;border-left:1px solid var(--line);border-radius:0;z-index:40;display:flex;flex-direction:column;box-shadow:-12px 0 32px #18203318;overflow:hidden;animation:v2-drawer-in 180ms cubic-bezier(.2,.8,.2,1)}@keyframes v2-drawer-in{from{transform:translateX(24px);opacity:.7}to{transform:translateX(0);opacity:1}}
body.v2-editing{overflow:hidden}body.v2-editing .main{padding-right:24px}.v2-editor-head{padding:16px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:8px}.v2-editor-head p{font-size:14px;color:var(--muted);margin-bottom:4px}.v2-editor-head h2{font-size:16px}.v2-editor form{display:flex;flex-direction:column;min-height:0;flex:1}.v2-editor-fields{padding:16px;overflow:auto;flex:1;min-height:0}.v2-field{margin-bottom:16px}.v2-field>label{display:block;margin-bottom:8px;color:#657086;font-size:14px;font-weight:600}.v2-field input:not([type=checkbox]),.v2-field select,.v2-field textarea{width:100%;max-width:none}.v2-field .hint{margin-top:8px;font-size:14px;overflow-wrap:anywhere}.v2-field .campus-sum{max-width:none;margin-top:8px}.v2-field .btn{margin-top:8px}.v2-editor-footer{padding:16px 16px;border-top:1px solid var(--line);background:#fff}.v2-editor-footer p{font-size:14px;color:var(--deep);margin-bottom:8px}.v2-editor-footer>div{display:flex;justify-content:flex-end;gap:8px}.toast{z-index:450;background:#283347}.v2-editing .dash-grid{grid-template-columns:1fr}
@media(max-width:1200px){.top .search{width:170px}.v2-editor{width:min(480px,92vw)}.v2-editing .card-title{flex-wrap:wrap}.v2-editing .ct-filter .ct-count{margin-left:0}}
@media(max-width:900px){.side{transform:translateX(-100%);width:210px}.side.open{transform:translateX(0)}.top{left:0}.main{margin-left:0;width:100%}.menu-btn{display:block}.top-actions{gap:8px}.top .search{width:150px}}
@media(max-width:680px){.top{height:76px;padding:8px}.top .logo{font-size:16px}.top .subtitle,.top .search{display:none}.main{/* design-exception: fixed header clearance. */padding:94px 8px 24px}.card{padding:16px}.v2-editor{inset:0;width:100vw}.v2-editing .main{padding-right:8px}.v2-editor-head{padding:16px 16px}.v2-editor-fields{padding:16px}.v2-field input,.v2-field select{font-size:16px}.v2-product-tabs{gap:4px}.v2-product-tabs .btn{padding:8px 8px}}

/* Data workspaces keep their queries, selected conditions and actions together. */
.ct-filter{border-top:1px solid var(--line);padding-top:16px!important;margin-bottom:8px!important}.ct-filter .ct-kw{flex:1;max-width:340px;min-width:160px}.ct-filter .ct-tip{display:none}.ct-count{font-variant-numeric:tabular-nums}.v2-density{display:flex;border:1px solid var(--line);border-radius:8px;padding:4px;gap:4px}.v2-density button{border:0;background:transparent;color:var(--muted);border-radius:8px;padding:4px 8px;font-size:14px;cursor:pointer}.v2-density button[aria-pressed=true]{background:#efeffc;color:var(--deep);font-weight:600}.v2-conditions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}.v2-filter-chip{border:1px solid #d9daf5;background:#f6f6fd;color:#484ab3;border-radius:8px;padding:4px 8px;font-size:14px;max-width:100%;overflow-wrap:anywhere;cursor:pointer}.v2-selection{display:flex;align-items:center;gap:8px;border:1px solid #d9daf5;border-radius:8px;background:#f7f7fd;padding:8px 8px;margin-bottom:8px}.v2-selection strong{font-size:14px;margin-right:auto}.table-wrap{max-height:70vh;overflow:auto}.table-wrap thead th{position:sticky;top:0;z-index:2;background:#f7f8fb}.table-wrap th.ops,.table-wrap td.ops{position:sticky;right:0;background:#fff;border-left:1px solid var(--line);z-index:1}.table-wrap th.ops{z-index:3;background:#f7f8fb}.table-wrap td.sel,.table-wrap th.sel{position:sticky;left:0;z-index:1;background:#fff}.table-wrap th.sel{z-index:3;background:#f7f8fb}td.v2-number,th.v2-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}body[data-density=compact] .table-wrap td{padding-top:8px;padding-bottom:8px}body[data-density=compact] .table-wrap th{padding-top:8px;padding-bottom:8px}.table-wrap .empty{padding:24px 16px!important;text-align:center;line-height:1.8;color:var(--muted)}.card-title{align-items:center}.v2-product-tabs{padding:4px;border:1px solid var(--line);background:#fff;border-radius:8px;width:fit-content}.v2-product-tabs .btn{border:0;box-shadow:none}.v2-product-tabs .btn.on{background:#efeffc}.stat,.kpi{display:flex;flex-direction:column;gap:4px}.stat .sv,.kpi .sv{line-height:1.2}.stat small,.kpi small{line-height:1.6}
@media(max-width:680px){.ct-filter{align-items:stretch}.ct-filter .ct-kw{width:100%;max-width:none;flex-basis:100%}.ct-filter .ct-count{margin-left:0!important;align-self:center}.v2-density{margin-left:auto}.v2-density button{min-height:40px}.v2-selection{flex-wrap:wrap}.table-wrap{max-height:65vh}.table-wrap th.ops,.table-wrap td.ops{position:static}.v2-product-tabs{width:100%}}
/* UI craft: hierarchy and feedback without moving operational content. */
:root{--radius:12px;--ease:cubic-bezier(.2,.8,.2,1)}
.side{padding-top:24px}.brand{padding-bottom:24px}.nav-title{font-size:14px;letter-spacing:.06em;font-weight:600}.nav{margin:4px 0;min-height:42px;transition:background-color 160ms,color 160ms}.nav.on{font-weight:650;box-shadow:inset 3px 0 var(--deep)}
.top .logo{font-weight:700;letter-spacing:-.4px}.top .subtitle{font-size:14px;color:var(--muted)}.top{box-shadow:0 1px 0 #28334703}.section-head{margin-bottom:24px}.section-head h2{font-size:24px;line-height:1.3}.section-head p{margin-top:8px;color:var(--muted);line-height:1.6}
.card{border-radius:24px;padding:16px}.card-title{margin-bottom:16px;font-weight:650}.stat,.kpi{padding:16px;border-radius:24px}.stat .sv,.kpi .sv{letter-spacing:-.7px;font-variant-numeric:tabular-nums}.stat small,.kpi small{color:var(--muted)}
.btn{min-height:36px;transition:background-color 160ms,border-color 160ms,box-shadow 160ms,transform 160ms var(--ease)}.btn:hover{box-shadow:0 3px 9px #28334712}.btn:active{transform:scale(.98)}.btn:disabled{transform:none;box-shadow:none}.btn.ghost:hover{border-color:#c4c7ec}.btn.xs{min-height:30px}
input,select,textarea{min-height:36px;transition:border-color 160ms,box-shadow 160ms}input:focus,select:focus,textarea:focus{border-color:var(--deep)}input::placeholder,textarea::placeholder{color:#68758b;opacity:1}
th{font-size:14px;color:#59647a;padding:16px 8px}td{font-size:14px;line-height:1.55;padding:16px 8px;font-variant-numeric:tabular-nums}.table-wrap{border-radius:8px}tbody tr td{transition:background-color 140ms}.ro-no{color:#68758b}.ct-filter{padding:8px 0;gap:8px}.ct-filter .ct-tip{font-size:14px}.ct-tools{gap:8px}
.v2-editor{border-radius:0;box-shadow:-12px 0 36px #28334720}.v2-editor-head{padding:24px}.v2-editor-fields{padding:24px}.v2-field>label{font-size:14px;color:#59647a}.v2-field .hint{font-size:14px;line-height:1.6;color:var(--muted)}.v2-editor-footer{padding:16px 24px}.login-card{border:1px solid var(--line);padding:16px}.brand-icon,.avatar{box-shadow:none}
@media(max-width:680px){.card,.stat,.kpi{padding:16px}.section-head h2{font-size:24px}.v2-editor-head,.v2-editor-fields{padding:16px}.v2-editor-footer{padding:16px 16px}.btn,.btn.xs,.menu-btn,input:not([type=checkbox]):not([type=radio]),select{min-height:44px}.btn.xs{padding:8px 8px}.menu-btn{min-width:44px}.v2-environment{font-size:14px}.login-card{padding:16px}}
@media(pointer:coarse){.nav,.btn,.btn.xs,.menu-btn{min-height:44px}.menu-btn{min-width:44px}}
@media(prefers-reduced-motion:reduce){.v2-editor{animation:none!important}.v2-editor-mask{transition:none!important}html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.btn:active{transform:none}}
