:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Arial,sans-serif;color:#334155;background:#f4f6f9;font-size:13px;font-synthesis:none;letter-spacing:0;--blue:#2563eb;--line:#dce3ec;--muted:#64748b}
.tree-item{display:flex;align-items:center;gap:8px;padding-inline-start:calc(var(--depth,0)*18px);min-width:180px}.assembly-row td{background:#f3f7fc}.tree-item .link{overflow-wrap:anywhere}.table-panel .cell-text{max-width:360px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;letter-spacing:0}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:33px;padding:6px 11px;border:1px solid var(--line);border-radius:4px;background:#fff;color:#334155;white-space:nowrap}button:hover{background:#f1f5fa;border-color:#bdcce0}button.primary{background:var(--blue);color:#fff;border-color:var(--blue)}button.primary:hover{background:#1d4ed8}button.soft{background:#edf3ff;color:#255ac3;border-color:transparent}button.danger{color:#b42318}button.icon{width:32px;padding:6px}button.link{border:0;background:transparent;color:#255ac3;padding:0;min-height:25px;white-space:normal;text-align:left;justify-content:flex-start}svg.lucide{width:16px;height:16px;flex-shrink:0;stroke-width:1.7}a{color:#255ac3;text-decoration:none}input:not([type=checkbox]):not([type=file]),select,textarea{width:100%;min-height:35px;border:1px solid #cfd9e6;background:#fff;border-radius:4px;padding:7px 9px;color:#334155}input[type=checkbox]{accent-color:var(--blue);width:15px;height:15px;flex-shrink:0}textarea{min-height:78px;resize:vertical}label.field{display:flex;flex-direction:column;gap:6px;min-width:0;color:#64748b;font-size:12px}label.field>span{min-height:17px}label.check{display:flex;align-items:center;gap:7px;color:#334155;min-height:33px}input[readonly]{background:#f5f7fa!important;color:#64748b!important}.shell{display:grid;grid-template-columns:196px minmax(0,1fr);min-height:100vh}.sidebar{background:#132238;color:#b7c5d7;position:sticky;top:0;height:100vh;overflow:auto;padding:26px 12px 16px;display:flex;flex-direction:column}.brand{padding:0 8px 21px}.brand strong{display:block;font-size:19px;color:white;margin-bottom:7px}.brand small{color:#8fa4bf;font-size:11px}.nav-group{font-size:11px;color:#8297b1;padding:19px 8px 9px}.sidebar a{display:flex;align-items:center;gap:11px;min-height:40px;padding:9px 14px;color:#b7c5d7;border-radius:4px;margin:2px 0}.sidebar a.active{background:#274265;color:white;font-weight:600}.sidebar a:hover{background:#223a56}.sidebar-footer{margin-top:auto;padding:25px 8px 0;font-size:11px;color:#8fa4bf;line-height:1.8}.workspace{min-width:0}.topbar{height:56px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 28px;background:#fff;border-bottom:1px solid #e7edf4;font-size:12px;color:#64748b}.topbar .tools{display:flex;align-items:center;gap:14px}.badge{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;background:#f0f4f8;border-radius:3px;font-size:11px;white-space:nowrap;color:#64748b}.badge.blue{background:#edf3ff;color:#255ac3}.badge.amber{background:#fff5df;color:#946216}.badge.green{background:#e9f6ef;color:#217550}.badge.red{background:#fff0ee;color:#b42318}.content{padding:25px 28px 30px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.page-head h1{font-size:25px;color:#18283d;margin:0 0 8px;font-weight:650}.page-head p{margin:0;color:var(--muted);font-size:12px}.actions,.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.actions{justify-content:flex-end}.grow{flex:1;min-width:0}.surface{background:#fff;border:1px solid var(--line);border-radius:5px}.filters{padding:16px;margin-bottom:16px}.filter-grid{display:grid;grid-template-columns:minmax(240px,2fr) repeat(4,minmax(110px,1fr)) auto;align-items:end;gap:12px}.filter-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:13px;font-size:12px;color:var(--muted)}.catalog-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:16px}.category{padding:16px 10px;align-self:start;min-height:660px}.category h3{margin:0 8px 8px;font-size:14px}.muted{color:var(--muted)}.small{font-size:11px;line-height:1.8}.category>p{padding:0 8px;margin:0 0 14px}.tree{display:flex;flex-direction:column;gap:4px}.tree button{justify-content:space-between;min-height:35px;border:0;font-size:12px;background:transparent;white-space:normal;text-align:left}.tree button.active{background:#eaf2ff;color:#214c88}.tree button.depth{padding-left:33px}.tree-group{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#64748b;padding:12px 9px 5px}.tree-group .link{color:#64748b}.table-panel{min-width:0;overflow:hidden}.panel-head{padding:15px 16px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--line);flex-wrap:wrap}.panel-head strong{font-size:14px;color:#24344a}.panel-head p{margin:6px 0 0;color:#946216;font-size:11px}.table-scroll{overflow:auto;max-height:660px;overscroll-behavior:contain}.table-scroll.tall{max-height:720px}table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;text-align:left}th{position:sticky;top:0;z-index:3;color:#43556d;font-weight:600;background:#f0f4f9;border-bottom:1px solid #dce3ec;padding:12px 10px;white-space:nowrap;line-height:1.7}td{border-bottom:1px solid #e5ebf2;padding:12px 10px;line-height:1.6;background:#fff;vertical-align:middle}tbody tr:hover td{background:#f6f9ff}tbody tr.selected td{background:#edf4ff}tbody tr:last-child td{border-bottom:0}.catalog-table{min-width:1750px;table-layout:fixed}.catalog-table th,.catalog-table td{border-right:1px solid #edf1f6}.catalog-table .col-check{position:sticky;left:0;z-index:2;width:38px}.catalog-table .col-id{position:sticky;left:38px;z-index:2;width:255px}.catalog-table th.col-id,.catalog-table th.col-check{z-index:5}.catalog-table .col-id{box-shadow:3px 0 4px #18325408}.identity{display:flex;align-items:center;gap:9px}.identity-text{min-width:0;max-width:100%}.identity-text strong{color:#214c88;font-size:12px;display:block}.mpn{color:#53677f;font-size:10px;overflow-wrap:anywhere;margin-top:5px}.thumb{flex:0 0 44px;width:44px;height:44px;border:1px solid #dce3ec;border-radius:4px;background:#f2f5f8;color:#94a0b0;padding:3px;font-size:9px;white-space:normal;line-height:1.6}.thumb img{width:100%;height:100%;object-fit:contain}.cell-text{overflow-wrap:anywhere}.pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 15px;border-top:1px solid var(--line);font-size:12px;color:#64748b}.pagination select{width:96px;min-height:31px}.pagination .active{background:#edf3ff;color:#255ac3;border-color:#c6d7f4}.detail{margin-top:16px;min-width:0}.tabs{display:flex;gap:20px;overflow:auto;padding:0 16px;border-bottom:1px solid var(--line)}.tabs button{border:0;border-radius:0;background:transparent;min-height:44px;font-size:12px;padding:8px 0;color:#64748b;border-bottom:2px solid transparent}.tabs button.active{border-bottom-color:var(--blue);color:var(--blue)}.detail-body{padding:16px}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.kv{display:grid;grid-template-columns:130px minmax(0,1fr);gap:9px 12px;font-size:12px;line-height:1.7}.kv dt{color:#64748b}.kv dd{margin:0;overflow-wrap:anywhere}.empty{text-align:center;color:#64748b;padding:42px 20px;line-height:2}.footer-note{margin-top:16px;color:#7b8798;font-size:11px;line-height:1.8}.notice{border-left:3px solid #dfaa47;background:#fff8e9;padding:12px 14px;margin:15px 0;color:#86631f;font-size:12px;line-height:1.8}.notice.blue{border-color:#6e9deb;background:#edf4ff;color:#365f9b}.section{margin-bottom:18px}.section-title{font-size:15px;margin:0;color:#24344a}.two-col{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid .full{grid-column:1/-1}.pad{padding:18px}.stat-strip{display:flex;gap:30px;padding:16px 0;flex-wrap:wrap}.stat-strip strong{font-size:22px;color:#24344a;margin-right:8px}.stat-strip span{font-size:12px;color:#64748b}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:20px 0}.step{border-left:3px solid #cbd5e1;padding-left:14px;font-size:13px;line-height:1.8}.step.done{border-color:#2a9168}.step.active{border-color:#2563eb}.step small{display:block;color:#64748b}.timeline{list-style:none;padding:0;margin:0}.timeline li{padding:12px 0 12px 17px;border-left:2px solid #dce3ec;line-height:1.8;font-size:12px}.timeline li strong{display:block}.timeline li small{color:#64748b}dialog{border:1px solid #d1dbe7;border-radius:7px;padding:0;width:min(780px,calc(100vw - 32px));max-height:90vh;color:#334155;box-shadow:0 18px 65px #10253826}dialog.wide{width:min(1080px,calc(100vw - 32px))}dialog::backdrop{background:#0d1d36;opacity:.35}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:17px 22px;border-bottom:1px solid var(--line)}.modal-head h2{margin:0;font-size:18px}.modal-body{padding:20px 22px;max-height:65vh;overflow:auto}.modal-foot{display:flex;justify-content:flex-end;gap:9px;padding:14px 22px;border-top:1px solid var(--line);background:#f8fafc}.form-error{color:#b42318;line-height:1.8;font-size:12px;margin:0 0 14px;white-space:pre-line}.preview-img{display:block;max-width:100%;max-height:450px;object-fit:contain;margin:auto}.column-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.compare-table{min-width:600px}.search-list{margin-top:15px;max-height:380px;overflow:auto}.search-result{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:12px}.inline-number{width:80px!important}.scope-tags{display:flex;gap:10px;flex-wrap:wrap}.property-key{font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px;color:#64748b}.file-line{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e5ebf2;padding:12px 0;align-items:center}.loading{padding:40px;color:#64748b}#toast{position:fixed;bottom:25px;left:calc(50% + 70px);transform:translateX(-50%);background:#20334b;color:white;padding:12px 20px;border-radius:5px;box-shadow:0 6px 25px #20334b22;z-index:99;max-width:calc(100vw - 35px);display:none;font-size:13px}#toast.visible{display:block}.toolbar-search{max-width:360px}.split-list{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px}.list-menu{display:flex;flex-direction:column;gap:5px;padding:12px;align-self:start}.list-menu button{justify-content:space-between;text-align:left;white-space:normal}.list-menu button.active{background:#edf3ff;color:#255ac3}.mobile-nav{display:none}.audit-value{white-space:pre-wrap;overflow-wrap:anywhere;max-width:500px;font-size:11px}.pill-count{font-size:11px;color:#7b8ea7}.spacer{height:12px}.nowrap{white-space:nowrap}.price{font-variant-numeric:tabular-nums}.group-band{background:#eaf0f7;color:#456079;padding:9px 14px;font-size:11px;display:flex;justify-content:space-between}.table-group{min-width:0}.radio-strip{display:flex;gap:6px;flex-wrap:wrap}.radio-strip button.active{color:#255ac3;background:#edf3ff;border-color:#b9cfee}.file-input{max-width:100%;font-size:12px}.hint-line{font-size:11px;color:#64748b;margin-top:8px}.table-scroll td button.link{max-width:100%;overflow-wrap:anywhere}.bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}.compact-table{min-width:700px}.review-note{padding:10px;background:#f5f8fc;font-size:12px;line-height:1.8;border-radius:4px}.mini-image{width:90px;height:90px;object-fit:contain;background:#f5f7fa;border:1px solid var(--line);border-radius:4px}
@media(min-width:1700px){.table-scroll{max-height:720px}.content{padding-top:28px}}
@media(max-width:1200px){.filter-grid{grid-template-columns:minmax(200px,2fr) repeat(2,minmax(120px,1fr))}.catalog-layout{grid-template-columns:170px minmax(0,1fr)}.page-head{align-items:flex-start}.page-head .actions{max-width:45%}.two-col{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr 1fr}.form-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.shell{display:block}.sidebar{display:none}.topbar{height:auto;min-height:52px;padding:10px 14px;flex-wrap:wrap}.topbar .tools{gap:8px}.mobile-nav{display:block;width:170px}.content{padding:18px 12px}.page-head{display:block}.page-head h1{font-size:23px}.page-head .actions{margin-top:13px;justify-content:flex-start;max-width:none}.catalog-layout{display:block}.category{min-height:0;margin-bottom:12px;padding:10px}.tree{flex-direction:row;flex-wrap:wrap}.tree button{min-height:31px}.tree button.depth{padding-left:10px}.tree-group{display:none}.category>p,.category h3{display:none}.filter-grid{grid-template-columns:1fr 1fr;gap:10px}.filter-grid .field:first-child{grid-column:1/-1}.filter-bottom{flex-wrap:wrap}.pagination{flex-wrap:wrap}.detail-grid,.form-grid,.form-grid.three,.two-col{grid-template-columns:1fr}.split-list{display:block}.list-menu{margin-bottom:12px}.column-options{grid-template-columns:1fr 1fr}.steps{grid-template-columns:1fr}.topbar .crumb{display:none}.modal-body{padding:17px;max-height:65vh}dialog{max-height:94vh}.tabs{gap:16px}.stat-strip{gap:14px}.kv{grid-template-columns:105px minmax(0,1fr)}#toast{left:50%}.panel-head{padding:12px}.table-scroll{max-height:570px}.table-scroll table:not(.catalog-table){min-width:650px}}

.dashboard-shell {
  --dash-bg:#101616;--dash-rail:#151e1e;--dash-panel:#172121;--dash-line:#324341;
  --dash-ink:#edf4f0;--dash-muted:#a7b8b4;--dash-neutral:#526966;--dash-mint:#61dfbd;
  --dash-amber:#f6bd65;--dash-coral:#ee8a80;--dash-lilac:#b8a8eb;--dash-cyan:#83c9f2;
  background:var(--dash-bg);color:var(--dash-ink);
}
.dashboard-shell .sidebar,.dashboard-shell .topbar {background:var(--dash-rail);border-color:var(--dash-line)}
.dashboard-shell .sidebar {border-right:1px solid var(--dash-line)}
.dashboard-shell .sidebar a,.dashboard-shell .sidebar-footer,.dashboard-shell .brand small,.dashboard-shell .nav-group,.dashboard-shell .topbar {color:var(--dash-muted)}
.dashboard-shell .sidebar a:hover,.dashboard-shell .topbar button:hover {background:#25433b;color:var(--dash-mint)}
.dashboard-shell .sidebar a.active {background:#224239;color:var(--dash-mint)}
.dashboard-shell .sidebar .pill-count {color:var(--dash-amber);margin-left:auto}
.dashboard-shell .topbar button,.dashboard-shell .topbar select {background:var(--dash-panel);border-color:var(--dash-line);color:var(--dash-ink);color-scheme:dark}
.dashboard-shell .topbar .badge {background:#224239;color:var(--dash-mint)}
.dashboard {max-width:1420px;margin-inline:auto}
.dashboard h1 {font-size:28px;line-height:1.25;margin:0 0 18px;font-weight:670}
.dash-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--dash-panel);border:1px solid var(--dash-line);border-radius:7px;margin-bottom:14px}
.dash-metric {position:relative;min-width:0;display:grid;gap:4px;padding:14px 16px;color:var(--dash-ink)}
.dash-metric+.dash-metric {border-left:1px solid var(--dash-line)}
.dash-metric:hover {background:#20302e}
.dash-metric>span,.dash-baseline {display:flex;gap:7px;align-items:center}
.dash-metric>span,.dash-metric small,.dash-head p,.dash-donut small {color:var(--dash-muted)}
.dash-metric>span {font-size:13px;padding-right:10px}
.dash-metric small,.dash-head p,.dash-donut small,.dash-unit,.dash-axis {font-size:12px}
.dash-metric>svg {position:absolute;right:10px;top:12px;width:14px;height:14px;color:var(--dash-muted)}
.dash-metric strong,.dash-donut strong {font:600 36px/1.15 ui-monospace,SFMono-Regular,Consolas,monospace;font-variant-numeric:tabular-nums}
.dashboard .risk strong,.dashboard .risk svg,.dash-baseline .risk {color:var(--dash-amber)}
.dashboard .controlled strong,.dashboard .controlled svg,.dash-baseline .controlled {color:var(--dash-mint)}
.dash-grid {display:grid;grid-template-columns:minmax(0,1.33fr) minmax(0,1fr);gap:12px}
.dash-panel {min-width:0;border:1px solid var(--dash-line);border-radius:7px;background:var(--dash-panel);padding:16px 18px}
.dash-head {display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:14px}
.dash-head h2 {font-size:15px;font-weight:650;margin:0 0 4px}
.dash-head p {margin:0}
.dash-head>svg,.dash-unit {color:var(--dash-muted)}
.dash-seg {display:flex;flex:none;gap:2px;border:1px solid var(--dash-line);border-radius:5px;padding:2px}
.dash-seg button {min-height:30px;padding:4px 8px;font-size:12px;color:var(--dash-muted);background:transparent;border:0}
.dash-seg button:hover,.dash-seg button[aria-pressed="true"] {background:#25433b;color:var(--dash-mint)}
.dash-bars,.dash-legend {list-style:none;padding:0;margin:0}
.dash-bars,.dash-axis {--bar-label:97px;--bar-value:41px}
.dash-bars {display:grid;grid-auto-rows:minmax(28px,auto);min-height:112px}
.dash-bars li {display:grid;grid-template-columns:var(--bar-label) minmax(0,1fr) var(--bar-value);gap:8px;align-items:center;font-size:12px}
.dash-bars li>span {overflow-wrap:anywhere}
.dash-bars li>strong {text-align:right;font-variant-numeric:tabular-nums}
.dash-track {height:100%;display:flex;align-items:center;border-right:1px solid var(--dash-line);background:repeating-linear-gradient(to right,var(--dash-line) 0px,var(--dash-line) 1px,transparent 1px,transparent 20%)}
.dash-track span {display:block;width:var(--width);height:10px;background:var(--dash-mint);border-radius:0 2px 2px 0}
.dash-axis {display:flex;justify-content:space-between;gap:4px;margin:5px calc(var(--bar-value) + 8px) 0 calc(var(--bar-label) + 8px);color:var(--dash-muted);font-variant-numeric:tabular-nums}
.dash-axis span {min-width:0}
.dash-donut-layout {display:grid;grid-template-columns:132px minmax(0,1fr);gap:16px;align-items:center}
.dash-donut {width:132px;aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--segments))}
.dash-donut>div {width:80%;aspect-ratio:1;display:grid;align-content:center;justify-items:center;border-radius:50%;background:var(--dash-panel)}
.dash-donut strong {font-size:28px}
.dash-legend {display:flex;flex-wrap:wrap;gap:9px 15px;color:var(--dash-muted);font-size:12px}
.dash-legend li {display:flex;gap:6px;align-items:center}
.dash-legend strong {color:var(--dash-ink);font-variant-numeric:tabular-nums}
.dash-legend.dash-stacked {display:block}
.dash-stacked li {display:grid;grid-template-columns:8px minmax(0,1fr) auto;padding:8px 0}
.dash-stacked li+li {border-top:1px solid var(--dash-line)}
.dash-key {width:8px;height:8px;border-radius:2px;background:var(--mark);flex:none}
.dash-matrix {display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:4px;margin:2px 0 12px}
.dash-matrix span,.dash-revisions span {display:block;border-radius:2px;background:var(--mark)}
.dash-matrix span {height:12px}
.dash-revisions,.dash-revision-cells {display:flex;gap:4px;flex:1}
.dash-revisions {margin:2px 0 12px}
.dash-revision-cells>span {flex:1}
.dash-revisions span {height:28px}
.dash-empty {color:var(--dash-muted);font-size:12px}
.dash-baseline {min-height:46px;margin-top:12px;padding:9px 10px;flex-wrap:wrap;gap:8px 12px;border-block:1px solid var(--dash-line);font-size:13px;color:var(--dash-ink)}
.dash-baseline:hover {background:var(--dash-panel)}
.dash-baseline>svg {color:var(--dash-mint)}
.dash-baseline span {color:var(--dash-muted)}
.dash-baseline b {color:var(--dash-ink)}
.dash-baseline span:last-child {margin-left:auto;display:flex;gap:4px;align-items:center}
.dashboard-shell :is(a,button,select):focus-visible {outline:2px solid var(--dash-mint);outline-offset:2px}
@media(max-width:1100px) {
  .dash-panel {padding:14px}
  .dash-donut-layout {grid-template-columns:108px minmax(0,1fr);gap:12px}
  .dash-donut {width:108px}
  .dash-metric {padding:12px}
}
@media(max-width:900px) and (min-width:761px) {
  .dashboard-shell {grid-template-columns:152px minmax(0,1fr)}
  .dashboard-shell .content {padding-inline:14px}
}
@media(max-width:610px) {
  .dashboard h1 {font-size:24px}
  .dash-grid {grid-template-columns:minmax(0,1fr)}
  .dash-metrics {grid-template-columns:repeat(2,minmax(0,1fr))}
  .dash-metric:nth-child(3) {border-left:0}
  .dash-metric:nth-child(n+3) {border-top:1px solid var(--dash-line)}
  .dash-metric strong {font-size:31px}
  .dash-seg button {min-height:36px}
  .dash-baseline span:last-child {margin-left:0}
}
