:root{color-scheme:dark;--bg: #090b10;--side: #111722;--panel: #18202c;--panel2: #141b26;--card: #101722;--input: #0c121c;--line: #2e384a;--line2: #42506a;--text: #f7f8fb;--muted: #a9b3c2;--muted2: #8a95a8;--brand: #4f7cff;--brand2: #7c5cff;--blue: #4aa3ff;--green: #30d158;--yellow: #facc15;--orange: #f59e0b;--red: #ff4d5e;--teal: #2dd4bf}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,Microsoft YaHei,sans-serif}button,input,select,textarea{font:inherit}button{min-height:36px;border:1px solid var(--line);border-radius:8px;background:#20283a;color:var(--text);padding:0 13px;cursor:pointer;font-weight:760}button:disabled{opacity:.45;cursor:not-allowed;filter:none}button.mini{min-height:30px;padding:0 9px;font-size:12px;border-radius:7px}button:hover,button.active{border-color:var(--blue);filter:brightness(1.08)}button.primary{border:0;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;box-shadow:0 8px 18px #4f7cff38}button.secondary{background:#4aa3ff1f;border-color:#4aa3ff57;color:#cfe7ff}button.green{background:#30d15824;border-color:#30d15861;color:#9af5ae}button.amber{background:#f59e0b26;border-color:#f59e0b6b;color:#ffd28a}button.violet{background:#7c5cff26;border-color:#7c5cff6b;color:#c5b8ff}button.indigo{background:#6366f129;border-color:#6366f170;color:#c7d2fe}button.blue{background:#4aa3ff26;border-color:#4aa3ff6b;color:#bfe2ff}button.teal{background:#2dd4bf24;border-color:#2dd4bf61;color:#9ff7ea}button.rose{background:#ff4d5e24;border-color:#ff4d5e6b;color:#ffb6bf}.button-link{min-height:36px;border:1px solid var(--line);border-radius:8px;background:#20283a;color:var(--text);padding:0 13px;cursor:pointer;font-weight:760;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.button-link.secondary{background:#4aa3ff1f;border-color:#4aa3ff57;color:#cfe7ff}.button-link.amber{background:#f59e0b26;border-color:#f59e0b6b;color:#ffd28a}.button-link.violet{background:#7c5cff26;border-color:#7c5cff6b;color:#c5b8ff}.button-link.teal{background:#2dd4bf24;border-color:#2dd4bf61;color:#9ff7ea}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:var(--input);color:var(--text);padding:9px 10px}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px #4aa3ff38}textarea{min-height:180px;font-family:ui-monospace,Consolas,monospace;line-height:1.52}label{display:grid;gap:6px;color:var(--muted);font-size:12px}table{width:100%;border-collapse:collapse;min-width:760px}th,td{padding:9px 10px;border-bottom:1px solid var(--line);text-align:left;font-size:12px;vertical-align:top}th{color:var(--muted);font-weight:800}.app-shell{min-height:100vh;display:grid;grid-template-columns:188px 1fr}.sidebar{background:linear-gradient(180deg,#121927,#0d1320);border-right:1px solid var(--line);padding:16px 10px;position:sticky;top:0;height:100vh;overflow:auto;display:flex;flex-direction:column}.brand{margin:4px 10px 14px;display:grid;gap:4px}.brand b{font-size:15px}.brand span{color:var(--muted2);font-size:12px}nav{display:grid;gap:7px}.nav-section{display:grid;gap:6px}.nav-group{margin:9px 10px 1px;color:var(--muted2);font-size:11px;font-weight:900;letter-spacing:.08em}.nav-section:first-child .nav-group{margin-top:0}nav button{position:relative;justify-content:flex-start;display:flex;align-items:center;gap:9px;background:transparent;border:1px solid transparent;color:var(--muted);box-shadow:none;text-align:left;min-height:38px;padding:0 14px 0 2ch;border-radius:9px;font-size:13px;line-height:1}nav button:hover{background:#4aa3ff1c;color:var(--text);border-color:var(--line2);filter:none;transform:none}nav button.active{background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;border-color:transparent;box-shadow:0 8px 18px #684cff2e}nav button.active:after{content:"";position:absolute;left:4px;top:9px;bottom:9px;width:3px;border-radius:999px;background:#ffffffc7}.main{padding:24px 30px;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;color:var(--muted)}.topbar>div:first-child{min-width:170px}.topbar-right{display:grid;justify-items:end;gap:8px;min-width:0;max-width:none}.top-actions{display:flex;justify-content:flex-end;align-items:center;gap:1ch;flex-wrap:wrap;width:auto}.top-actions button{width:auto;min-width:0;padding-left:3ch;padding-right:3ch;white-space:nowrap}.operation-status{position:sticky;top:10px;z-index:20;width:min(920px,100%);margin:0 auto 14px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid rgba(74,163,255,.38);border-radius:10px;background:linear-gradient(180deg,#4aa3ff17,#4aa3ff0a);box-shadow:0 14px 42px #0003}.operation-status-icon{width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#4aa3ff29;color:#bfe2ff}.operation-status b{display:block;color:#eaf4ff;font-size:13px;margin-bottom:3px}.operation-status span{display:block;color:#cfd8e6;font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.operation-status em{font-style:normal;color:#cfe7ff;border:1px solid rgba(74,163,255,.32);border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800;white-space:nowrap}.operation-status.success{border-color:#30d1586b;background:linear-gradient(180deg,#30d1581f,#30d1580a)}.operation-status.success .operation-status-icon{background:#30d15829;color:#a9f5b9}.operation-status.success em{color:#a9f5b9;border-color:#30d15857}.operation-status.warning{border-color:#facc1585;background:linear-gradient(180deg,#facc151f,#facc150a)}.operation-status.warning .operation-status-icon{background:#facc1526;color:#fde68a}.operation-status.warning em{color:#fde68a;border-color:#facc1561}.operation-status.danger{border-color:#ff4d5e94;background:linear-gradient(180deg,#ff4d5e29,#ff4d5e0d);box-shadow:0 14px 46px #ff4d5e1a}.operation-status.danger .operation-status-icon{background:#ff4d5e2b;color:#ffb4bd}.operation-status.danger em{color:#ffb4bd;border-color:#ff4d5e6b}.panel{background:linear-gradient(180deg,var(--panel),var(--panel2));border:1px solid var(--line);border-radius:10px;padding:16px;margin-bottom:14px;box-shadow:0 20px 70px #00000042}.compact-panel{min-height:0}h2{margin:0 0 12px;font-size:18px;letter-spacing:0}.notice,small{color:var(--muted);line-height:1.55}.stats{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:12px;margin:12px 0}.secondary-stats{grid-template-columns:repeat(6,minmax(110px,1fr))}.card{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:12px}.stats div{position:relative;overflow:hidden;display:grid;align-content:center;gap:7px;min-height:82px;background:linear-gradient(180deg,#ffffff09,#ffffff03),var(--card);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:14px;box-shadow:inset 0 1px #ffffff0b}.stats b{display:block;font-size:28px;line-height:1.05;letter-spacing:0}.secondary-stats b{font-size:20px}.stats span,.card span{color:var(--muted);line-height:1.5}.actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.color-actions button{min-width:112px}.grid{display:grid;grid-template-columns:repeat(3,minmax(180px,260px));justify-content:start;gap:12px;margin:12px 0}.import-settings-grid{grid-template-columns:minmax(260px,340px) minmax(420px,1fr);align-items:stretch;width:min(100%,920px)}.import-format-card{align-content:start}.import-format-card code{display:block;width:fit-content;max-width:100%;padding:6px 8px;border-radius:7px;background:var(--input);border:1px solid var(--line);color:var(--text);font-family:ui-monospace,Consolas,monospace;font-size:12px;overflow-wrap:anywhere}.import-panel{display:grid;gap:16px}.import-panel h2{margin:0}.import-section-heading{display:flex;align-items:flex-start;gap:13px}.import-heading-icon{width:34px;height:34px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:#30d1581f;border:1px solid rgba(48,209,88,.34);color:#9af5ae;flex:0 0 auto}.import-section-heading .notice{margin:5px 0 0;max-width:1120px}.import-primary-grid{display:grid;grid-template-columns:minmax(320px,.78fr) minmax(440px,1.22fr);gap:18px;align-items:stretch}.import-card{padding:20px;border-radius:10px;display:grid;gap:14px;align-content:start}.import-card-title{display:flex;align-items:flex-start;gap:12px}.import-card-title>svg{color:#8ff0a4;background:#30d1581f;border:1px solid rgba(48,209,88,.25);border-radius:8px;padding:4px;width:32px;height:32px;flex:0 0 auto}.import-card-title.blue>svg{color:#9bd1ff;background:#4aa3ff1f;border-color:#4aa3ff47}.import-card-title b{display:block;font-size:16px;line-height:1.25}.import-card-title span{display:block;margin-top:4px;font-size:12px}.import-yaml-drop{min-height:304px;margin:0;border-radius:10px;border-style:dashed;border-color:#30d1586b;background:radial-gradient(circle at 50% 8%,rgba(48,209,88,.1),transparent 36%),#30d1580b}.import-yaml-drop:hover{border-color:#30d158bf;background:#30d15813}.import-drop-content{display:grid;justify-items:center;gap:9px;text-align:center;color:var(--text)}.import-drop-content svg{color:#8ff0a4}.import-drop-content strong{font-size:14px;line-height:1.45}.import-drop-content small{font-family:inherit;font-size:12px}.import-drop-content em{display:inline-flex;min-width:250px;min-height:42px;align-items:center;justify-content:center;margin-top:8px;border-radius:7px;background:linear-gradient(135deg,#16a35f,#0b8f4a);color:#fff;font-style:normal;font-weight:850;box-shadow:0 10px 20px #16a35f2e}.import-package-drop{min-height:40px;margin:0;border-style:solid;background:#ffffff08}.import-package-drop span{display:inline-flex;align-items:center;justify-content:center;gap:8px}.import-residential-card{align-content:stretch}.import-format-card{display:grid;gap:8px;padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:#ffffff06}.import-code-row{display:flex;flex-wrap:wrap;gap:8px}.import-residential-textarea{min-height:154px;resize:vertical}.import-residential-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:center}.import-residential-actions .file-drop,.import-residential-actions button{min-height:42px}button.green-action,button.blue-action{display:inline-flex;align-items:center;justify-content:center;gap:8px}button.blue-action{background:linear-gradient(135deg,#3478f6,#1f5ed8);border-color:#1f5ed8;color:#fff;box-shadow:0 10px 20px #3478f62e}.import-protection-row{display:grid;grid-template-columns:minmax(260px,420px) repeat(3,minmax(160px,1fr));gap:14px;align-items:stretch;border:1px solid var(--line);border-radius:10px;background:#ffffff06;padding:14px}.import-residential-name{align-content:center}.import-protection-card{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;align-content:center;min-height:66px;border:1px solid rgba(48,209,88,.25);border-radius:8px;background:#30d15811;padding:10px 12px}.import-protection-card svg{grid-row:span 2;align-self:center;color:#8ff0a4}.import-protection-card b{font-size:13px;line-height:1.2}.import-protection-card span{font-size:12px}.import-preview-card{display:grid;gap:12px;padding:18px;border-radius:10px}.import-preview-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.import-preview-tabs{display:inline-flex;gap:8px;align-items:center}.import-preview-tabs span{display:inline-flex;align-items:center;min-height:34px;padding:0 18px;border-radius:7px;border:1px solid var(--line);background:var(--input);color:var(--muted);font-size:12px;font-weight:850}.import-preview-tabs span.active{background:linear-gradient(135deg,#16a35f,#0b8f4a);border-color:transparent;color:#fff}.import-preview-meta{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.import-preview-meta span{display:inline-flex;min-height:30px;align-items:center;padding:0 12px;border-radius:8px;border:1px solid var(--line);background:var(--input);color:var(--muted);font-size:12px;font-weight:800}.import-preview-shell,.yaml-editor-shell{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--input)}.import-preview-actions{display:flex;align-items:center;gap:16px;margin:6px 0 0}.import-preview-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px}.import-preview-actions .green-action{min-width:250px}.wide-grid{grid-template-columns:repeat(5,minmax(150px,1fr))}.split{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:12px;margin:12px 0}.dashboard-grid,.intro-grid,.health-placeholder,.stability-settings{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:12px;margin:12px 0}.dashboard-panel{min-height:calc(100vh - 116px);display:flex;flex-direction:column;gap:14px;padding:26px}.dashboard-panel .notice{max-width:760px;margin:6px 0 0}.dashboard-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.dashboard-hero h2{margin:0;font-size:28px;line-height:1.2}.dashboard-primary-metrics{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:14px}.dashboard-main-metric,.dashboard-mini-metric,.dashboard-status-tile{border:1px solid var(--line);background:linear-gradient(180deg,rgba(255,255,255,.04),var(--card));box-shadow:0 12px 26px #0000001f}.dashboard-main-metric{min-height:120px;border-radius:10px;padding:22px 18px;display:grid;grid-template-columns:58px 1fr;gap:4px 18px;align-content:center;align-items:center}.dashboard-main-metric i,.dashboard-mini-metric i,.dashboard-status-tile i,.dashboard-suggestion-list i,.dashboard-scope-list i{display:inline-flex;align-items:center;justify-content:center;font-style:normal}.dashboard-main-metric i{grid-row:span 2;width:58px;height:58px;border-radius:999px;color:#9af5ae;background:#30d15821}.dashboard-main-metric.blue i{color:#8fc7ff;background:#4aa3ff24}.dashboard-main-metric span{color:var(--muted);font-weight:780}.dashboard-main-metric b{color:var(--text);font-size:38px;line-height:1;letter-spacing:0}.dashboard-secondary-metrics{display:grid;grid-template-columns:repeat(6,minmax(118px,1fr));gap:12px}.dashboard-mini-metric{min-height:78px;border-radius:10px;padding:14px;display:grid;grid-template-columns:38px 1fr;gap:2px 10px;align-content:center;align-items:center}.dashboard-mini-metric i,.dashboard-status-tile i{grid-row:span 2;width:38px;height:38px;border-radius:999px;color:#9af5ae;background:#30d1581f}.dashboard-mini-metric.blue i,.dashboard-status-tile.blue i{color:#8fc7ff;background:#4aa3ff24}.dashboard-mini-metric.violet i{color:#c5b8ff;background:#7c5cff24}.dashboard-mini-metric.amber i,.dashboard-status-tile.amber i{color:#ffc46b;background:#f59e0b24}.dashboard-mini-metric span{color:var(--muted);font-size:13px;font-weight:760}.dashboard-mini-metric b{color:var(--text);font-size:24px;line-height:1}.dashboard-main-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.8fr);gap:14px;flex:1;align-items:start}.dashboard-stack{display:grid;gap:14px;align-content:start}.dashboard-card{border-radius:10px;padding:18px 20px}.dashboard-card>b,.dashboard-card .card-title-row>b{font-size:17px;color:var(--text)}.dashboard-card-copy{margin:8px 0 0;color:var(--muted);line-height:1.55}.dashboard-check-list,.dashboard-action-list,.dashboard-scope-list,.dashboard-timeline,.dashboard-suggestion-list{display:grid;gap:8px;padding:0;margin:10px 0 0;list-style:none}.dashboard-card>.dashboard-suggestion-list{gap:8px;margin-top:10px}.dashboard-check-list li{display:flex;align-items:flex-start;gap:9px;color:var(--muted);line-height:1.5}.dashboard-check-list svg{flex:0 0 auto;margin-top:3px;color:var(--green)}.dashboard-action-list li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--input)}.dashboard-action-list li>svg{color:var(--orange);margin-top:2px}.dashboard-action-list strong,.dashboard-action-list span{display:block}.dashboard-action-list strong{color:var(--text)}.dashboard-action-list span{color:var(--muted);line-height:1.45}.dashboard-action-list button{justify-self:end;white-space:nowrap}.experience-item.critical strong{color:#ff9aa5}.experience-item.warning strong{color:#facc15}.experience-item.info strong{color:#9bd1ff}.experience-item.success strong{color:#a9f5b9}.risk-counts{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.risk-counts span{border:1px solid var(--line);background:var(--input);border-radius:999px;padding:5px 9px;color:#cbd5e1;font-size:12px}.risk-inbox-list .experience-item.danger strong{color:#ff9aa5}.maintenance-card{padding-bottom:12px}.dashboard-scope-list li{display:grid;grid-template-columns:34px 92px minmax(0,1fr) 20px;gap:12px;align-items:center;min-height:48px;padding:10px 0;border-top:1px solid var(--line)}.dashboard-scope-list li:first-child{border-top:0}.dashboard-scope-list i{width:32px;height:32px;border-radius:8px;color:var(--green);background:#30d1581f}.dashboard-scope-list strong{color:var(--text)}.dashboard-scope-list span{color:var(--muted)}.dashboard-scope-list svg:last-child{color:var(--muted2)}.dashboard-bottom-grid{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:14px;align-items:start}.dashboard-flow-card,.dashboard-structure-card{align-content:start}.dashboard-flow{display:grid;justify-items:start;gap:8px;margin-top:12px}.dashboard-flow,.dashboard-structure-card .dashboard-check-list{border:1px solid var(--line);border-radius:9px;padding:13px;background:var(--input)}.dashboard-structure-card .dashboard-check-list{min-height:210px;align-content:center}.dashboard-flow span{position:relative;min-height:28px;display:inline-flex;align-items:center;padding:0 12px;border-radius:8px;border:1px solid var(--line);color:var(--text);background:var(--input)}.dashboard-flow span:not(:last-child):after{content:"↓";position:absolute;left:50%;bottom:-18px;color:var(--green);transform:translate(-50%);font-weight:900}.dashboard-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.dashboard-status-tile{min-height:76px;border-radius:10px;padding:14px 12px;display:grid;grid-template-columns:38px minmax(0,1fr);gap:2px 10px;align-items:center}.dashboard-status-tile b{color:var(--text);font-size:24px;line-height:1}.dashboard-status-tile span{color:var(--muted);font-size:12px;font-weight:780}.dashboard-save-card{min-height:76px}.dashboard-timeline{position:relative;gap:0;margin-left:4px}.dashboard-timeline li{position:relative;display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:9px;align-items:start;padding:0 0 13px}.dashboard-timeline li:before{content:"";position:absolute;left:5px;top:13px;bottom:-1px;width:1px;background:var(--line)}.dashboard-timeline li:last-child{padding-bottom:0}.dashboard-timeline li:last-child:before{display:none}.dashboard-timeline i{position:relative;z-index:1;width:10px;height:10px;margin-top:5px;border-radius:999px;background:var(--green);box-shadow:0 0 0 3px #30d15826}.dashboard-timeline span{color:var(--text);line-height:1.45}.dashboard-timeline em{color:var(--muted);font-style:normal;white-space:nowrap}.health-brief-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.health-brief-row span{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid var(--line);border-radius:9px;background:var(--input);color:var(--muted);font-weight:780}.health-brief-row span:nth-child(1) svg{color:var(--red)}.health-brief-row span:nth-child(2) svg{color:var(--orange)}.health-brief-row span:nth-child(3) svg{color:var(--muted)}.dashboard-suggestion-list li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:9px;align-items:center;min-height:54px;padding:7px 9px;border:1px solid var(--line);border-radius:9px;background:var(--input)}.dashboard-suggestion-list i{width:28px;height:28px;border-radius:999px;color:#c5b8ff;background:#7c5cff24}.dashboard-suggestion-list strong,.dashboard-suggestion-list span{display:block}.dashboard-suggestion-list strong{color:var(--text)}.dashboard-suggestion-list strong{font-size:13px;line-height:1.2}.dashboard-suggestion-list span{color:var(--muted);line-height:1.25;font-size:12px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.dashboard-suggestion-list button{justify-self:end;white-space:nowrap;min-height:28px;padding:0 8px}.list{display:grid;gap:10px}.virtual-list{max-height:66vh;overflow:auto;padding-right:4px}.node-row{grid-template-columns:1.15fr .55fr 1fr .42fr .9fr 172px;display:grid;gap:8px;align-items:center}.node-panel{min-height:calc(100vh - 116px);display:flex;flex-direction:column}.node-panel .virtual-list{max-height:none;flex:1;min-height:390px}.node-stats{margin-bottom:8px}.rule-row{grid-template-columns:56px .72fr 1.25fr .95fr .78fr 172px;display:grid;gap:8px;align-items:center}.rule-panel{min-height:calc(100vh - 116px)}.rule-stats{grid-template-columns:repeat(4,minmax(120px,1fr))}.rule-editor-toolbar{margin:12px 0;border-color:#2dd4bf52;background:linear-gradient(180deg,rgba(45,212,191,.07),var(--card))}.rule-filter-grid{display:grid;grid-template-columns:minmax(240px,1.3fr) repeat(3,minmax(150px,.7fr));gap:10px;align-items:end}.rule-list{max-height:none;min-height:420px}.rule-row.high-risk{border-color:#2dd4bf6b;background:linear-gradient(180deg,rgba(45,212,191,.065),var(--card))}.rule-index{color:var(--muted);font-weight:900;text-align:right;font-size:12px}.empty-state{min-height:120px;align-content:center}.rule-simulator{margin:10px 0 12px;border-color:#4aa3ff57;background:linear-gradient(180deg,rgba(74,163,255,.07),var(--card))}.rule-simulator .searchbar{margin-top:4px}.simulation-context-form{display:grid;grid-template-columns:repeat(6,minmax(112px,1fr));gap:8px;align-items:end}.simulation-context-form label{gap:4px;font-size:12px;color:var(--muted)}.compact-notice{margin:0;font-size:12px}.rule-simulation-grid{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px}.rule-simulation-grid div{background:var(--input);border:1px solid var(--line);border-radius:8px;padding:10px;display:grid;gap:4px;min-height:72px}.rule-simulation-grid b{color:#dcecff;overflow-wrap:anywhere}.rule-simulation-grid span{color:var(--muted);font-size:12px}.rule-simulation-grid small,.simulation-section small{color:var(--muted);overflow-wrap:anywhere}.simulation-metric.good,.simulation-section.good,.trace-row.good{border-color:#30d1586b}.simulation-metric.warning,.simulation-section.warning,.trace-row.warning{border-color:#facc157a}.simulation-metric.error,.simulation-section.error,.trace-row.error{border-color:#ff4d5e85}.rule-simulation-insights,.rule-simulation-trace{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.rule-simulation-trace{grid-template-columns:repeat(2,minmax(0,1fr))}.simulation-section{background:#ffffff08;border:1px solid var(--line);border-radius:8px;padding:10px;display:grid;gap:7px;min-height:96px}.simulation-section p,.simulation-section ul{margin:0}.simulation-section ul{padding-left:18px;color:var(--muted)}.simulation-context{display:flex;gap:6px;flex-wrap:wrap}.simulation-context span{display:inline-flex;gap:5px;align-items:center;padding:5px 7px;border:1px solid var(--line);border-radius:999px;background:var(--input);color:#dcecff;font-size:12px}.simulation-context strong{color:var(--muted)}.trace-list{display:grid;gap:6px;max-height:220px;overflow:auto;padding-right:3px}.trace-row{display:grid;gap:3px;padding:7px;border:1px solid var(--line);border-radius:8px;background:var(--input)}.trace-row em{font-style:normal;color:#dcecff;overflow-wrap:anywhere}.rule-simulation-output{max-height:220px}.row-actions,.inline-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.card{display:grid;gap:8px}.panel-heading,.card-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.chip{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;background:#4aa3ff1f;border:1px solid rgba(74,163,255,.32);color:#cfe7ff;font-size:12px;font-weight:800;white-space:nowrap}.chip.good{background:#30d1581f;border-color:#30d15852;color:#a9f5b9}.chip.warning{background:#facc151f;border-color:#facc1561;color:#fde68a}.chip.error{background:#ff4d5e21;border-color:#ff4d5e6b;color:#ffb4bd}.chip.neutral{background:#ffffff12;border-color:#ffffff29;color:var(--muted)}.card.error{border-color:#ff4d5e80;background:linear-gradient(180deg,rgba(255,77,94,.08),var(--card))}.card.warning{border-color:#facc1580;background:linear-gradient(180deg,rgba(250,204,21,.07),var(--card))}.card.info{border-color:#4aa3ff6b;background:linear-gradient(180deg,rgba(74,163,255,.065),var(--card))}.card.success{border-color:#30d1586b;background:linear-gradient(180deg,rgba(48,209,88,.07),var(--card))}.status,.preview{white-space:pre-wrap;background:#f8fafc;border:1px solid #e6eaf0;border-radius:8px;padding:12px;overflow:auto;color:#344054}.error-text{border-color:#ff4d5e6b;color:#ffb6bf}.compact-status{max-height:280px}.preview{min-height:520px;font-family:ui-monospace,Consolas,monospace}.candidate-row{display:flex;gap:28px;flex-wrap:wrap;color:var(--muted);background:var(--input);border:1px solid var(--line);border-radius:8px;padding:10px 12px;margin:10px 0}.mode-grid,.template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.mode-card{display:grid;gap:8px;min-height:118px;text-align:left;align-content:start;background:#4aa3ff1f;border-color:#4aa3ff59}.mode-card:hover{background:#4aa3ff33}.mode-card b{font-size:16px}.mode-card span{color:var(--muted);line-height:1.55}.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:8px;margin-top:12px}.front-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.front-hero h2{margin:0 0 6px;font-size:24px}.front-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:12px;align-items:stretch}.front-command-strip,.stability-command-strip{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:22px;margin:18px 0 22px}.front-command-card{min-height:116px;border:1px solid rgba(74,163,255,.28);border-radius:10px;padding:16px;background:linear-gradient(180deg,#4aa3ff14,#ffffff06);display:grid;grid-template-columns:48px 1fr;gap:4px 14px;align-content:center}.front-command-card i{grid-row:span 3;width:48px;height:48px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;color:#98a9ff;background:#7c5cff24;font-style:normal}.front-command-card span{color:var(--muted);font-size:12px;font-weight:800}.front-command-card b{color:#eef6ff;font-size:25px;line-height:1.12;overflow-wrap:anywhere}.front-command-card small{color:var(--muted2);line-height:1.45}.front-chain-rail{display:grid;grid-template-columns:minmax(150px,1fr) 28px minmax(150px,1fr) 28px minmax(150px,1fr) 28px minmax(150px,1fr);align-items:stretch;gap:12px;margin:12px 0 22px}.front-chain-rail>div{min-height:80px;border:1px solid rgba(74,163,255,.24);border-radius:10px;padding:13px 16px;background:linear-gradient(180deg,#4aa3ff14,#ffffff06);display:grid;grid-template-columns:34px 1fr;align-content:center;gap:2px 12px}.front-chain-rail>div>svg{grid-row:span 2;align-self:center;color:#7b8cff}.front-chain-rail strong{color:#eaf4ff;font-size:14px;align-self:end}.front-chain-rail span{color:var(--muted);line-height:1.45;align-self:start}.front-chain-rail i{display:inline-flex;align-items:center;justify-content:center;color:#30d158;font-style:normal}.front-control-panel,.stability-tuning-panel{display:grid;grid-template-columns:260px minmax(0,1fr);gap:12px;margin:12px 0;align-items:stretch}.front-control-copy{border:1px solid var(--line);border-radius:8px;padding:12px;background:var(--card);display:grid;gap:8px;align-content:start}.front-control-copy b{color:#eaf4ff;font-size:15px}.front-control-copy span{color:var(--muted);line-height:1.58}.front-control-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.front-params-layout{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(300px,1.08fr) minmax(300px,1fr);gap:18px;margin:12px 0;align-items:stretch}.front-param-card{padding:18px;border-radius:10px;align-content:start}.front-param-card>b{font-size:16px;margin-bottom:4px}.front-form-grid{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr));gap:11px 14px;margin-top:8px}.front-wide-field{grid-column:1 / -1}.front-mode-card{display:grid;gap:12px}.front-mode-list{display:grid;gap:10px}.front-mode-section-title{color:var(--muted);font-size:12px;font-weight:900;letter-spacing:0;padding:4px 2px 0}.front-mode-option{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--input);box-shadow:none;transition:transform .15s ease,border-color .15s ease,background .15s ease}.front-mode-option:hover{transform:translateY(-1px);border-color:#30d15870;background:#30d15814}.front-mode-option.active{border-color:#30d1588f;background:linear-gradient(180deg,#30d15824,#ffffff08);box-shadow:inset 0 0 0 1px #30d15829}.front-mode-option span{display:grid;gap:5px;min-width:0}.front-mode-option b{color:var(--text);font-size:15px}.front-mode-option small{color:var(--muted);line-height:1.5}.front-mode-option em{color:var(--muted2);font-style:normal;font-size:12px;font-weight:800}.front-mode-option strong{white-space:nowrap;border-radius:999px;padding:6px 10px;color:#a9f5b9;background:#30d1581f;border:1px solid rgba(48,209,88,.34);font-size:12px}.front-mode-option:not(.active) strong{color:#cfe7ff;background:#4aa3ff1f;border-color:#4aa3ff52}.front-warning-status{margin:8px 0 10px;max-height:140px}.front-candidate-row{margin-top:4px}.front-action-row{margin:12px 0 14px;gap:22px}.front-action-row button{min-width:150px}.front-region-picker{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 12px}.front-region-choice{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:var(--input);color:var(--muted);font-weight:800;cursor:pointer}.front-region-choice input{width:14px;height:14px}.front-region-choice.active{color:var(--text);border-color:#30d15880;background:#30d1581a}.front-region-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:22px}.metric-card strong{font-size:24px;color:#dcecff}.mini-list{display:grid;gap:7px;max-height:180px;overflow:auto}.front-priority-card{margin:14px 0;padding:15px;border-radius:10px}.front-priority-grid{display:grid;gap:8px}.front-priority-item{display:grid;grid-template-columns:34px minmax(0,1fr) 34px 34px 34px;gap:8px;align-items:center;border:1px solid var(--line);border-radius:9px;background:var(--input);padding:8px}.front-priority-item em{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#30d1581f;color:#a9f5b9;font-style:normal;font-weight:900}.front-priority-item span{display:grid;gap:2px;min-width:0}.front-priority-item small{color:var(--muted)}.front-priority-item.custom em{background:#f59e0b24;color:#ffd28a}.icon-mini{width:34px;min-width:34px;padding:0;display:inline-flex;justify-content:center;align-items:center}.front-priority-add{display:grid;grid-template-columns:minmax(160px,220px) minmax(220px,1fr) auto;gap:8px;align-items:end;margin-top:10px}.delay-output{margin-top:12px}.api-runtime-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:12px;align-items:start}.api-side-card{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:12px;display:grid;gap:10px;min-height:260px}.api-side-card span{color:var(--muted)}.api-stream-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.api-main-card{min-width:0}.api-main-card .table-scroll{margin-top:0}.api-output{min-height:92px;max-height:220px;margin:12px 0}.runtime-evidence-ledger{margin:12px 0;border-color:#4aa3ff57;background:linear-gradient(180deg,rgba(74,163,255,.07),var(--card))}.runtime-evidence-ledger.good{border-color:#30d15857;background:linear-gradient(180deg,rgba(48,209,88,.08),var(--card))}.runtime-evidence-ledger.warning{border-color:#facc156b;background:linear-gradient(180deg,rgba(250,204,21,.08),var(--card))}.runtime-evidence-ledger.danger{border-color:#ff4d5e7a;background:linear-gradient(180deg,rgba(255,77,94,.08),var(--card))}.runtime-evidence-ledger .card-title-row span:not(.chip){display:block;margin-top:5px;color:var(--muted);line-height:1.55}.runtime-evidence-counts{display:flex;flex-wrap:wrap;gap:8px}.runtime-evidence-counts span{border:1px solid var(--line);background:var(--input);border-radius:999px;padding:5px 9px;color:#cbd5e1;font-size:12px;font-weight:800}.runtime-evidence-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:10px}.runtime-evidence-card{display:grid;gap:8px;align-content:start;min-height:168px;border:1px solid var(--line);border-radius:8px;padding:11px;background:#ffffff08}.runtime-evidence-card.good{border-color:#30d15852}.runtime-evidence-card.warning{border-color:#facc1566}.runtime-evidence-card.danger{border-color:#ff4d5e7a}.runtime-evidence-card p{margin:0;color:var(--muted);line-height:1.55}.runtime-evidence-card .mini-list{max-height:118px}.runtime-evidence-card .mini-list span{color:var(--muted);overflow-wrap:anywhere}.runtime-evidence-next{display:grid;gap:6px;padding-top:2px}.runtime-evidence-next span{color:#dcecff;font-size:12px}.health-panel{min-height:calc(100vh - 116px);display:flex;flex-direction:column}.health-panel .list{margin-top:12px}.health-placeholder{flex:1;align-content:stretch;grid-auto-rows:minmax(180px,1fr)}.health-card{align-content:start}.health-card b{font-size:15px}.health-card.highlight{border-color:#30d1586b;background:linear-gradient(180deg,rgba(48,209,88,.11),var(--card))}.health-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:12px;margin:12px 0}.health-summary-card{min-height:190px;align-content:start}.health-summary-card .mini-list{max-height:150px}.health-summary-card .mini-list span{display:flex;gap:8px;align-items:center;justify-content:space-between}.health-summary-card .summary-action-row>span{min-width:0;overflow-wrap:anywhere}.health-summary-card .summary-action-row button{flex:0 0 auto}.health-report{min-height:240px}.template-panel{min-height:calc(100vh - 116px)}.template-heading-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.template-heading-actions button{min-height:36px}.template-toolbar{display:grid;grid-template-columns:minmax(240px,320px) minmax(280px,1fr) minmax(170px,180px) auto;gap:16px;margin:16px 0 18px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:14px}.template-search,.template-sort{margin:0}.template-search span,.template-sort span{display:none}.template-category-tabs{display:inline-flex;align-items:center;justify-content:center;gap:0;min-height:42px;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--input)}.template-category-tabs button{min-height:42px;border:0;border-radius:0;background:transparent;color:var(--muted);padding:0 18px}.template-category-tabs button+button{border-left:1px solid var(--line)}.template-category-tabs button.active{background:#30d15824;color:#a9f5b9;box-shadow:none}.template-popular-only{white-space:nowrap;justify-content:end}.template-info-strip{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:18px;margin:0 0 18px}.template-info{min-height:96px;align-content:center;display:grid;grid-template-columns:54px minmax(0,1fr);gap:4px 14px}.template-info i{grid-row:span 2;width:48px;height:48px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:#78a7ff;background:#4aa3ff21;font-style:normal}.template-info b{align-self:end}.template-info span{color:var(--muted);line-height:1.5}.template-target-inline{max-width:380px;margin-bottom:16px}.template-market-grid{display:grid;grid-template-columns:repeat(2,minmax(360px,1fr));gap:14px;align-content:start}.template-market-card{display:grid;grid-template-columns:58px minmax(0,1fr);gap:16px;min-height:144px;padding:16px;border-radius:10px;align-content:start}.template-icon-badge{width:54px;height:54px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#ffffff0f;border:1px solid var(--line);overflow:hidden}.template-icon-badge img{width:34px;height:34px;object-fit:contain}.template-market-main{display:grid;gap:12px;min-width:0}.template-market-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.template-market-head b{display:block;color:var(--text);font-size:16px;line-height:1.35}.template-market-head span{display:block;color:var(--muted);line-height:1.55;margin-top:5px;overflow-wrap:anywhere}.template-mode-pill{flex:0 0 auto;min-height:26px;border-radius:999px;padding:5px 10px;font-style:normal;font-size:12px;font-weight:900}.template-mode-pill.residential{color:#92c5ff;background:#4aa3ff24}.template-mode-pill.proxy{color:#c7b9ff;background:#7c5cff26}.template-mode-pill.direct{color:#a9f5b9;background:#30d15824}.template-mode-pill.reject{color:#ffb6bf;background:#ff4d5e24}.template-market-meta{display:flex;gap:8px;flex-wrap:wrap}.template-market-meta span{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;background:#ffffff0a;border:1px solid var(--line);color:var(--muted);font-size:12px;font-weight:800}.template-market-meta span.good{color:#a9f5b9;border-color:#30d15857;background:#30d15824}.template-market-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.template-market-actions button{min-width:110px}.template-empty-card{grid-column:1 / -1;min-height:160px;align-content:center;justify-items:center;text-align:center}.network-panel{min-height:calc(100vh - 116px)}.network-card{min-height:420px;align-content:start}.software-test-guide{margin:12px 0 14px;border-color:#30d15852;background:linear-gradient(180deg,rgba(48,209,88,.08),var(--card))}.software-test-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:10px}.software-test-grid .card{min-height:116px;align-content:start}.software-group-summary{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(260px,1.1fr);gap:12px;margin-top:12px;align-items:stretch}.software-group-list{max-height:220px}.software-group-list>b{color:var(--text);margin-bottom:2px}.software-note{align-content:start;min-height:140px;border-color:#30d1583d}.node-delay-console{margin:12px 0 14px;border-color:#4aa3ff5c;background:linear-gradient(180deg,rgba(74,163,255,.08),var(--card))}.network-primary-actions{margin-top:4px}.advanced-node-delay-panel{margin-top:14px;padding:0;overflow:hidden;border-style:dashed;background:linear-gradient(180deg,rgba(74,163,255,.045),var(--card))}.advanced-node-delay-panel>summary{list-style:none;cursor:pointer;padding:15px 16px;border-bottom:1px solid transparent}.advanced-node-delay-panel>summary::-webkit-details-marker{display:none}.advanced-node-delay-panel[open]>summary{border-bottom-color:var(--line)}.advanced-node-delay{padding:0;overflow:hidden}.advanced-node-delay summary{list-style:none;cursor:pointer;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.advanced-node-delay summary::-webkit-details-marker{display:none}.advanced-node-delay summary>div{display:grid;gap:5px}.advanced-node-delay summary b{color:var(--text)}.advanced-node-delay summary span:not(.chip){color:var(--muted);line-height:1.5}.advanced-node-delay summary:after{content:"展开";color:var(--muted);font-size:12px;font-weight:800;border:1px solid var(--line);border-radius:999px;padding:5px 9px}.advanced-node-delay[open] summary{border-bottom:1px solid var(--line)}.advanced-node-delay[open] summary:after{content:"收起"}.advanced-node-delay-body{padding:14px;display:grid;gap:12px}.node-api-help{margin:8px 0 10px;border-color:#facc155c;background:linear-gradient(180deg,rgba(250,204,21,.07),var(--card))}.node-delay-filter-grid{display:grid;grid-template-columns:minmax(240px,1.2fr) minmax(150px,.7fr) minmax(180px,.8fr);gap:10px;align-items:end;margin:12px 0 10px}.node-delay-form{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(180px,.7fr) minmax(260px,1fr);gap:10px;align-items:end}.node-delay-layout{display:grid;grid-template-columns:minmax(260px,.55fr) minmax(0,1.45fr);gap:12px;align-items:stretch}.node-target-preview,.node-delay-results{min-height:360px;align-content:start}.node-test-summary-cards{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;margin:10px 0 12px}.node-test-card{border:1px solid var(--line);border-radius:9px;padding:12px;display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;background:var(--input)}.node-test-card>span{width:34px;height:34px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:20px;font-weight:900}.node-test-card small{color:var(--muted);font-weight:850}.node-test-card b{display:block;color:var(--text);font-size:22px;line-height:1.1}.node-test-card em{color:var(--muted);font-style:normal;font-size:12px;font-weight:750}.node-test-card.green{border-color:#30d15857}.node-test-card.green>span{color:#14a058;background:#30d15824}.node-test-card.amber{border-color:#f59e0b61}.node-test-card.amber>span{color:#f59e0b;background:#f59e0b26}.node-test-card.rose{border-color:#ff4d5e5c}.node-test-card.rose>span{color:#ef3340;background:#ff4d5e24}.node-test-card.blue{border-color:#4aa3ff52}.node-test-card.blue>span{color:var(--blue);background:#4aa3ff24}.node-delay-row{grid-template-columns:minmax(190px,1.1fr) minmax(90px,.42fr) minmax(96px,.46fr) minmax(88px,.38fr);align-items:center}.node-status-pill{display:inline-flex;align-items:center;gap:7px;min-height:28px;border-radius:999px;padding:0 10px;font-weight:900;justify-self:start}.node-status-pill em{width:8px;height:8px;border-radius:999px}.node-status-pill.success{color:#14a058;background:#30d1581f}.node-status-pill.success em{background:#14a058}.node-status-pill.warning{color:#d97706;background:#f59e0b24}.node-status-pill.warning em{background:#f59e0b}.node-status-pill.error{color:#ef3340;background:#ff4d5e1f}.node-status-pill.error em{background:#ef3340}.node-status-pill.running{color:var(--blue);background:#4aa3ff1f}.node-status-pill.running em{background:var(--blue)}.network-guide{margin:10px 0 12px;border-color:#2dd4bf52;background:linear-gradient(180deg,rgba(45,212,191,.07),var(--card))}.network-result-table{display:grid;gap:8px}.network-result-row{display:grid;grid-template-columns:minmax(130px,.75fr) 82px 70px minmax(0,1.45fr);gap:10px;align-items:start;border:1px solid var(--line);border-radius:8px;background:var(--input);padding:10px}.network-result-row>div{min-width:0;display:grid;gap:3px}.network-result-row b{color:#dcecff;overflow-wrap:anywhere}.network-result-row span,.network-result-row small{color:var(--muted);overflow-wrap:anywhere;line-height:1.45}.network-result-row.success{border-color:#30d1586b;background:linear-gradient(180deg,rgba(48,209,88,.06),var(--input))}.network-result-row.warning{border-color:#facc1585;background:linear-gradient(180deg,rgba(250,204,21,.06),var(--input))}.network-result-row.error{border-color:#ff4d5e8a;background:linear-gradient(180deg,rgba(255,77,94,.07),var(--input))}.network-result-row.running{border-color:#4aa3ff6b;background:linear-gradient(180deg,rgba(74,163,255,.065),var(--input))}.compact-list{max-height:58vh;overflow:auto;padding-right:4px}.findings-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.log-textarea{min-height:220px}.advanced-card textarea{min-height:240px}.quick-panel{min-height:calc(100vh - 116px);display:flex;flex-direction:column}.quick-panel>.split{flex:1;min-height:0}.quick-panel .advanced-card{min-height:0}.quick-panel .advanced-card textarea{flex:1;min-height:360px;resize:vertical}.chip-list{display:flex;flex-wrap:wrap;gap:8px}.residential-panel,.front-panel,.stability-panel{min-height:calc(100vh - 116px)}.residential-rule-list{min-height:360px;max-height:48vh}.residential-rule-row{grid-template-columns:.72fr 1.35fr .95fr 120px}.residential-rule-row input[readonly]{opacity:.92;cursor:default}.stability-mode-grid{grid-template-columns:repeat(3,minmax(220px,1fr));gap:14px;margin:12px 0}.stability-mode-card{position:relative;min-height:190px;padding:16px;border:1px solid rgba(74,163,255,.34);background:linear-gradient(180deg,#4aa3ff1c,#ffffff06);box-shadow:none;transition:transform .15s ease,border-color .15s ease,background .15s ease}.stability-mode-card:hover{transform:translateY(-1px);border-color:#4aa3ff9e;background:linear-gradient(180deg,#4aa3ff2e,#ffffff09)}.stability-mode-card.active{border-color:#30d1589e;background:linear-gradient(180deg,#30d15824,#4aa3ff0f);box-shadow:inset 0 0 0 1px #30d1582e}.stability-mode-card .mode-kicker{display:inline-flex;width:max-content;min-height:24px;align-items:center;padding:0 8px;border-radius:999px;background:#ffffff0f;border:1px solid var(--line);color:#cbd5e1;font-size:12px;font-weight:800}.stability-mode-card b{font-size:19px;color:#f4f8ff;line-height:1.25}.stability-mode-card span:not(.mode-kicker){color:var(--muted);line-height:1.62}.stability-mode-card small{color:#cfe7ff;line-height:1.45}.stability-mode-card em{margin-top:auto;width:max-content;font-style:normal;border-radius:999px;padding:6px 10px;background:#4aa3ff24;border:1px solid rgba(74,163,255,.34);color:#cfe7ff;font-size:12px;font-weight:900}.stability-mode-card.active em{background:#30d15824;border-color:#30d15857;color:#a9f5b9}.stability-form{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));margin:0}.front-pools{align-items:stretch}.tall-list{max-height:260px}.front-risk-line{display:flex;gap:24px;flex-wrap:wrap;min-height:42px;align-items:center}.front-pool{display:grid;gap:10px;min-height:420px}.front-pool h3{margin:0;font-size:15px}.searchbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.checklist{display:grid;gap:8px;max-height:520px;overflow:auto;padding-right:4px}.check-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;background:var(--card);border:1px solid var(--line);border-radius:8px;padding:10px;color:var(--text);font-size:13px}.check-row input{width:auto;margin-top:2px}.check-row span{display:grid;gap:3px;min-width:0}.check-row small{color:var(--muted);overflow-wrap:anywhere}.check-row.disabled{opacity:.55}.checkline{display:flex;align-items:center;gap:8px;color:var(--muted)}.checkline input{width:auto}.subscription-panel .split{align-items:start}.subscription-intake-grid{display:grid;grid-template-columns:minmax(260px,.55fr) minmax(0,1fr);gap:14px;align-items:stretch;margin:12px 0}.subscription-intake-grid .file-drop{margin:0;min-height:154px}.subscription-intake-grid .file-drop span{display:grid;justify-items:center;gap:6px}.intake-guide{justify-content:center}.subscription-url-flow{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:12px;margin:12px 0;align-items:stretch}.subscription-url-card{border-color:#4aa3ff38;background:linear-gradient(180deg,rgba(74,163,255,.045),var(--card))}.subscription-url-grid{display:grid;grid-template-columns:minmax(150px,220px) minmax(280px,1fr) minmax(180px,240px);gap:10px;align-items:end}.subscription-url-input input{font-family:ui-monospace,Consolas,monospace}.subscription-current-card{align-content:start;overflow-wrap:anywhere}.subscription-option-grid{grid-template-columns:repeat(3,minmax(180px,280px))}.workflow-step-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.workflow-step-actions button{min-width:118px}.workflow-step-actions button.primary{min-width:138px}.subscription-workflows{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.workflow-card{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:12px;display:grid;gap:10px;align-content:start}.workflow-card.highlighted{border-color:#2dd4bf61;background:linear-gradient(180deg,rgba(45,212,191,.08),var(--card))}.workflow-card.maintenance-card{border-color:#f59e0b57;background:linear-gradient(180deg,rgba(245,158,11,.07),var(--card))}.workflow-card b{display:block;font-size:15px;margin-bottom:4px}.workflow-card span{color:var(--muted);line-height:1.55}.workflow-card .actions{margin:0}.workflow-step-actions,.workflow-card .color-actions{display:flex;flex-wrap:wrap;gap:8px}.workflow-step-actions button,.workflow-card .color-actions button{min-height:36px}.subscription-textarea{min-height:260px}.subscription-paste-card{margin:12px 0}.compact-title-row{align-items:center}.compact-title-row .actions{margin:0}.source-input-textarea{min-height:150px;max-height:260px;font-family:ui-monospace,Consolas,monospace}.subscription-section-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:18px 0 10px}.subscription-section-heading h3{margin:0;font-size:18px}.subscription-section-heading span{color:var(--muted);font-size:13px}.subscription-source-cards{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:12px;margin:10px 0 12px}.source-card{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:14px;display:grid;gap:12px;box-shadow:0 10px 28px #00000014}.source-card.active{border-color:#4aa3ff70;box-shadow:0 12px 30px #4aa3ff1f}.source-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.source-card-alert{display:flex;align-items:flex-start;gap:7px;padding:8px 9px;border:1px solid rgba(245,158,11,.22);border-radius:8px;color:#92400e;background:#f59e0b1a;font-size:12px;line-height:1.45}.source-card-alert svg{flex:0 0 auto;margin-top:1px}.source-select{display:flex;align-items:center;gap:8px;min-width:0}.source-select input{width:auto}.source-select strong{color:var(--text);overflow-wrap:anywhere;font-size:17px;font-weight:900;letter-spacing:0}.source-card-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;color:var(--muted);font-size:13px}.source-card-field{min-width:0;border:1px solid rgba(148,163,184,.16);border-radius:8px;padding:8px 9px;background:#94a3b80e;overflow-wrap:anywhere}.source-card-field small{display:block;color:var(--muted);font-size:11px;font-weight:850;margin-bottom:3px}.source-card-field b{display:block;color:var(--text);font-size:13px;font-weight:850;line-height:1.35}.source-card-field em{display:block;color:var(--muted);font-size:11px;font-style:normal;margin-top:2px}.region-progress-list{display:grid;gap:9px}.region-progress-row{display:grid;grid-template-columns:76px minmax(0,1fr) 86px;gap:9px;align-items:center;font-size:12px;color:var(--muted)}.region-progress-name{display:inline-flex;align-items:center;gap:8px;min-width:0;color:var(--text);font-weight:850}.region-progress-name em{width:8px;height:8px;border-radius:999px;flex:0 0 auto;box-shadow:0 0 0 3px #94a3b81f}.region-progress-row i{height:7px;border-radius:999px;background:#94a3b82e;overflow:hidden}.region-progress-row i em{display:block;height:100%;border-radius:inherit}.region-progress-row b{color:var(--text);font-size:12px;font-weight:850;text-align:right;white-space:nowrap}.region-progress-row small{color:var(--muted);font-weight:700}.source-card-actions{display:flex;gap:8px;flex-wrap:wrap}.node-overview-card,.strategy-settings-card,.generate-card{margin-top:12px}.node-overview-cards{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px;margin:12px 0 14px}.node-overview-metric{min-height:116px;border:1px solid var(--line);border-radius:9px;padding:16px;display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:center;background:var(--card)}.metric-icon{width:46px;height:46px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:26px;font-weight:900}.node-overview-metric small{color:var(--muted);font-weight:850}.node-overview-metric b{display:block;color:var(--text);font-size:28px;line-height:1.1;margin:3px 0}.node-overview-metric em{color:var(--muted);font-style:normal;font-size:13px;font-weight:750}.node-overview-metric.blue{border-color:#4aa3ff47;background:linear-gradient(180deg,rgba(74,163,255,.055),var(--card))}.node-overview-metric.blue .metric-icon{color:var(--blue);background:#4aa3ff1f}.node-overview-metric.green{border-color:#30d1584d;background:linear-gradient(180deg,rgba(48,209,88,.055),var(--card))}.node-overview-metric.green .metric-icon{color:#14a058;background:#30d15821}.node-overview-metric.amber{border-color:#f59e0b57;background:linear-gradient(180deg,rgba(245,158,11,.06),var(--card))}.node-overview-metric.amber .metric-icon{color:#f59e0b;background:#f59e0b24}.node-overview-metric.rose{border-color:#ff4d5e4d;background:linear-gradient(180deg,rgba(255,77,94,.055),var(--card))}.node-overview-metric.rose .metric-icon{color:#ef3340;background:#ff4d5e21}.node-overview-table{display:grid;gap:0;margin-top:10px;border:1px solid var(--line);border-radius:8px;overflow:hidden}.node-overview-head,.node-overview-row{display:grid;grid-template-columns:minmax(80px,.75fr) 64px minmax(180px,1.35fr) minmax(220px,2fr) 72px;gap:12px;align-items:center;padding:9px 12px;text-align:center}.node-overview-head{background:#94a3b814;color:var(--muted);font-size:12px;font-weight:800}.node-overview-row{border-top:1px solid var(--line);color:var(--text)}.node-overview-row b{color:var(--text);display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0}.node-overview-row b em{width:9px;height:9px;border-radius:999px;flex:0 0 auto}.node-count-cell{color:var(--text);font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:0}.node-overview-row>i{color:var(--muted);font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.node-sample-cell{min-width:0;display:flex;justify-content:center;align-items:center}.node-sample-chip{max-width:100%;min-height:30px;display:inline-flex;align-items:center;justify-content:center;padding:5px 12px;border-radius:999px;border:1px solid rgba(148,163,184,.24);background:linear-gradient(180deg,#ffffffdb,#f8fafcb8);color:#253044;font-size:12px;font-weight:850;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-shadow:inset 0 1px #ffffffb8,0 4px 12px #0f172a0b}.node-sample-chip.muted{color:var(--muted);background:#94a3b81a;box-shadow:none}.table-progress{display:grid;grid-template-columns:minmax(96px,1fr) 44px;align-items:center;gap:8px;min-width:0}.table-progress i{height:8px;min-width:96px;border-radius:999px;background:#94a3b82e;overflow:hidden}.table-progress i em{display:block;height:100%;border-radius:inherit}.table-progress small{color:var(--muted);font-weight:800;text-align:right}.node-sample-actions{display:inline-flex;justify-content:center;gap:7px;flex-wrap:nowrap}.node-tool{position:relative;width:28px;min-width:28px;height:28px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid rgba(148,163,184,.32);background:linear-gradient(180deg,#fffffff2,#f1f5f9e0);color:#334155;box-shadow:inset 0 1px #ffffffe6,0 4px 10px #0f172a0f}.node-tool span{position:relative;display:block;width:16px;height:16px;border-radius:999px}.node-tool.prev span:before,.node-tool.prev span:after,.node-tool.next span:before,.node-tool.next span:after{content:"";position:absolute;top:4px;width:7px;height:7px;border-top:2px solid currentColor;border-left:2px solid currentColor}.node-tool.prev{color:#2563eb}.node-tool.next{color:#0f9f7a}.node-tool.prev span:before{left:2px;transform:rotate(-45deg);opacity:.62}.node-tool.prev span:after{left:7px;transform:rotate(-45deg)}.node-tool.next span:before{right:2px;transform:rotate(135deg);opacity:.62}.node-tool.next span:after{right:7px;transform:rotate(135deg)}.node-tool:hover:not(:disabled){transform:translateY(-1px);border-color:currentColor;background:linear-gradient(180deg,#fff,#eef6ff)}.node-tool:disabled{opacity:.42;cursor:not-allowed}.strategy-toggle-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px}.generate-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center}.generate-card span{color:var(--muted)}.generate-summary{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);white-space:nowrap}.advanced-subscription-panel{margin-top:14px;border:1px solid var(--line);border-radius:10px;background:#94a3b80a;padding:0;overflow:hidden}.advanced-subscription-panel summary{cursor:pointer;list-style:none;padding:13px 14px;font-weight:900;color:var(--text);display:flex;justify-content:space-between;align-items:center}.advanced-subscription-panel summary::-webkit-details-marker{display:none}.advanced-subscription-panel summary:after{content:"展开";color:var(--muted);font-size:12px;font-weight:700}.advanced-subscription-panel[open] summary:after{content:"收起"}.advanced-subscription-grid{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:12px;padding:0 14px 14px}.advanced-subscription-grid>.subscription-preview{grid-column:1 / -1}.advanced-options{grid-template-columns:repeat(2,minmax(160px,1fr))}.empty-subscription-guide{display:grid;grid-template-columns:1fr 1fr;gap:12px}.subscription-preview{max-height:560px;overflow:auto;margin-top:12px;overflow-wrap:anywhere}.airport-preview{border:1px solid var(--line);border-radius:10px;padding:12px;background:#4aa3ff0a}.airport-preview.status{border-color:#ff4d5e7a;background:#ff4d5e14;color:var(--text)}.airport-preview-stats{grid-template-columns:repeat(5,minmax(72px,1fr));gap:8px}.airport-preview-stats div{min-height:74px;padding:10px}.impact-grid{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:10px;margin-top:12px}.impact-card{align-content:start;min-height:132px}.impact-card.good{border-color:#30d15861;background:linear-gradient(180deg,rgba(48,209,88,.065),var(--card))}.impact-card.danger{border-color:#ff4d5e80;background:linear-gradient(180deg,rgba(255,77,94,.075),var(--card))}.impact-card.neutral{border-color:var(--line)}.file-drop{border:1px dashed var(--line2);background:#4aa3ff14;border-radius:8px;min-height:52px;display:flex;align-items:center;justify-content:center;margin:12px 0;cursor:pointer}.file-drop input{display:none}.file-drop span{color:#cfe7ff;font-weight:800}.file-drop.import-yaml-drop{min-height:304px;margin:0;border-radius:10px;border-style:dashed;border-color:#30d1586b;background:radial-gradient(circle at 50% 8%,rgba(48,209,88,.1),transparent 36%),#30d1580b}.file-drop.import-yaml-drop:hover{border-color:#30d158bf;background:#30d15813}.file-drop.import-package-drop{min-height:40px;margin:0;border-style:solid;background:#ffffff08}.file-drop.import-package-drop span{display:inline-flex;align-items:center;justify-content:center;gap:8px}.snapshot-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:10px 0}.inline-file-drop{min-height:36px;margin:0;padding:0 13px;border-style:solid;background:#2dd4bf24;border-color:#2dd4bf61}.inline-file-drop span{color:#9ff7ea;font-size:13px}.export-panel{min-height:calc(100vh - 116px);display:flex;flex-direction:column;gap:12px}.export-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.export-hero h2{margin-bottom:8px;font-size:24px}.export-hero-badges{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.export-main-actions{margin:0 0 2px;gap:12px}.export-main-actions button{display:inline-flex;align-items:center;gap:8px;min-width:142px;justify-content:center}.export-provider-section{display:grid;gap:12px}.export-section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-top:4px}.export-section-title h3{margin:0;font-size:17px}.export-section-title span:not(.chip){color:var(--muted);font-size:13px}.export-checklist{display:grid;grid-template-columns:repeat(4,minmax(190px,1fr));gap:10px;margin:0 0 4px}.export-check-card{min-height:104px;align-content:start;display:grid;grid-template-columns:38px minmax(0,1fr);gap:4px 10px}.export-check-card>i{grid-row:span 2;width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-style:normal}.export-check-card b{align-self:end}.export-check-card span{grid-column:2;line-height:1.45}.export-check-card.pass{border-color:#30d15861;background:linear-gradient(180deg,rgba(48,209,88,.065),var(--card))}.export-check-card.warn{border-color:#facc157a;background:linear-gradient(180deg,rgba(250,204,21,.065),var(--card))}.export-check-card.fail{border-color:#ff4d5e80;background:linear-gradient(180deg,rgba(255,77,94,.075),var(--card))}.export-check-card.pass>i{color:#14a058;background:#30d15824}.export-check-card.warn>i{color:#f59e0b;background:#f59e0b24}.export-check-card.fail>i{color:#ef3340;background:#ff4d5e24}.provider-export-card{display:grid;gap:12px}.export-provider-stats{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px}.export-provider-stats div{min-height:86px;border:1px solid var(--line);border-radius:9px;padding:12px;display:grid;grid-template-columns:46px minmax(0,1fr);gap:3px 12px;align-content:center;background:var(--input)}.export-provider-stats i{grid-row:span 2;width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:#78a7ff;background:#4aa3ff21;font-style:normal}.export-provider-stats b{font-size:24px;line-height:1}.export-provider-stats span{color:var(--muted);font-size:12px;font-weight:800}.published-subscription-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,1.5fr);gap:12px;align-items:end}.published-subscription-form label{display:grid;gap:7px;color:var(--text);font-weight:800;font-size:12px}.published-subscription-form input{width:100%}.published-subscription-options{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px}.published-source-editor{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:12px}.published-source-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.published-source-editor-heading>div{display:grid;gap:4px}.published-source-editor-heading b{color:var(--text)}.published-source-editor-heading span:not(.chip){color:var(--muted);font-size:12px}.published-source-editor-list{display:grid;gap:8px}.published-source-editor-row{display:grid;grid-template-columns:minmax(150px,.75fr) minmax(280px,2fr) 38px;gap:8px;align-items:end}.published-source-editor-row label{display:grid;gap:5px;color:var(--muted);font-size:11px;font-weight:800}.published-source-editor-row input{width:100%}.published-source-editor-row .icon-button{width:38px;min-width:38px;height:38px;padding:0;display:inline-grid;place-items:center}.published-source-editor-empty{color:var(--muted);border:1px dashed var(--line);border-radius:8px;padding:12px;text-align:center}.published-source-add{width:fit-content;display:inline-flex;align-items:center;gap:7px}.published-token-toggle{align-self:stretch;min-height:64px;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--input)}.published-token-switch{align-self:stretch;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:var(--input);cursor:pointer;min-height:58px;display:flex!important;align-items:center;justify-content:center}.published-token-switch input{position:absolute;width:1px;height:1px;opacity:0}.published-token-switch span{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-weight:900}.published-token-switch:focus-within{outline:2px solid var(--brand);outline-offset:2px}.published-token-switch.active{border-color:#ffb80080;background:#ffb8001f}.published-token-switch.active span{color:var(--text)}.publish-main-button{min-width:190px}.published-result{border:1px solid var(--line);border-radius:12px;padding:12px;display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;background:var(--input);animation:publishResultPulse .38s ease-out}.published-result.ok{border-color:#30d15870;background:#30d15817}.published-result.error{border-color:#ff6b6b70;background:#ff6b6b17}.published-result b{display:block;color:var(--text);margin-bottom:5px}.published-result span{display:block;color:var(--muted);line-height:1.55;overflow-wrap:anywhere}.published-result button{margin-top:9px;width:fit-content;border:1px solid rgba(65,132,255,.28);background:#4184ff1f;color:var(--text);border-radius:9px;padding:8px 12px;font-weight:900;cursor:pointer}@keyframes publishResultPulse{0%{transform:translateY(-3px);opacity:.2}to{transform:translateY(0);opacity:1}}.provider-export-split{display:grid;grid-template-columns:minmax(260px,1fr) minmax(300px,1.25fr);gap:12px}.provider-export-split .mini-list{border:1px solid var(--line);border-radius:9px;padding:12px;background:var(--input);min-height:150px;max-height:none;overflow:visible}.ui-mode-switch,.sidebar-mode-switch{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--line);border-radius:999px;background:var(--input)}.ui-mode-switch button,.sidebar-mode-switch button{width:30px;min-width:30px;min-height:30px;border-radius:999px;border:1px solid transparent;background:transparent;box-shadow:none;padding:0;font-size:12px;display:inline-grid;place-items:center}.ui-mode-switch button.active,.sidebar-mode-switch button.active{background:var(--brand);color:#fff;border-color:transparent}.sidebar-mode-switch{margin:8px 0 0;align-self:flex-start}.app-shell.ui-light{color-scheme:light;--bg: #f7f8fa;--side: #fcfcfd;--panel: #ffffff;--panel2: #ffffff;--card: #fbfcfd;--input: #ffffff;--line: #e5e7eb;--line2: #d0d5dd;--text: #1f2937;--muted: #667085;--muted2: #98a2b3;--brand: #15945b;--brand2: #15945b;--blue: #0d7f77;--green: #15945b;--yellow: #a96300;--orange: #b76e00;--red: #b42335;--teal: #0d7f77;min-height:100vh;background:var(--bg);color:var(--text)}.app-shell.ui-light h1,.app-shell.ui-light h2,.app-shell.ui-light h3,.app-shell.ui-light h4,.app-shell.ui-light b,.app-shell.ui-light strong{color:#111827}.app-shell.ui-light .sidebar{background:#fcfcfd;border-right:1px solid var(--line);padding:18px 12px;box-shadow:none}.app-shell.ui-light .brand{margin:0 8px 16px;padding-bottom:14px;border-bottom:1px solid var(--line)}.app-shell.ui-light .brand b{color:#111827;font-size:16px;line-height:1.25}.app-shell.ui-light .brand span{color:var(--muted);line-height:1.45}.app-shell.ui-light nav{gap:14px}.app-shell.ui-light .nav-section{gap:5px}.app-shell.ui-light .nav-group{margin:0 9px 3px;color:var(--muted2);letter-spacing:0}.app-shell.ui-light nav button{min-height:36px;color:#475467;background:transparent;border-color:transparent;border-radius:9px;padding-left:10px;gap:8px}.app-shell.ui-light nav button svg{width:24px;height:24px;padding:5px;border-radius:7px;background:#f2f4f7;color:#667085}.app-shell.ui-light nav button:hover{background:#f8fafc;border-color:var(--line);color:#1f2937}.app-shell.ui-light nav button.active{background:#eaf8f0;color:var(--brand);border-color:#b8e6c9;box-shadow:none}.app-shell.ui-light nav button.active:after{background:var(--brand);left:3px}.app-shell.ui-light nav button.active svg{background:#d8f3e4;color:var(--brand)}.app-shell.ui-light .main{background:var(--bg);padding:20px 24px 28px}.app-shell.ui-light .topbar{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin-bottom:14px;color:var(--muted);box-shadow:0 8px 24px #1018280d}.app-shell.ui-light .topbar>div:first-child b{display:block;color:#111827;font-size:19px;line-height:1.25}.app-shell.ui-light .topbar-right{gap:10px}.app-shell.ui-light .top-actions{gap:9px}.app-shell.ui-light .top-actions button{padding-left:16px;padding-right:16px}.app-shell.ui-light button,.app-shell.ui-light .button-link{border-color:var(--line2);background:#fff;color:#1f2937;box-shadow:0 1px 2px #1018280d}.app-shell.ui-light button:hover,.app-shell.ui-light .button-link:hover{border-color:#98a2b3;filter:none}.app-shell.ui-light button.primary{border-color:#12824e;background:#15945b;color:#fff;box-shadow:0 8px 16px #15945b29}.app-shell.ui-light button.secondary,.app-shell.ui-light .button-link.secondary{background:#e8f7f5;border-color:#a7ddd7;color:#0d7f77}.app-shell.ui-light button.green{background:#eaf8f0;border-color:#b8e6c9;color:#15945b}.app-shell.ui-light button.amber,.app-shell.ui-light .button-link.amber{background:#fff6df;border-color:#e4b862;color:#a96300}.app-shell.ui-light button.violet,.app-shell.ui-light .button-link.violet{background:#f4f0ff;border-color:#d8ccff;color:#6d5dfc}.app-shell.ui-light button.indigo,.app-shell.ui-light button.blue{background:#eef6ff;border-color:#bad9ff;color:#1265b2}.app-shell.ui-light button.teal,.app-shell.ui-light .button-link.teal{background:#e8f7f5;border-color:#a7ddd7;color:#0d7f77}.app-shell.ui-light button.rose{background:#fff1f3;border-color:#f0b9bf;color:#b42335}.app-shell.ui-light .chip{background:#eef6ff;border-color:#bad9ff;color:#1265b2}.app-shell.ui-light .chip.good{background:#eaf8f0;border-color:#b8e6c9;color:#15945b}.app-shell.ui-light .chip.warning{background:#fff6df;border-color:#e4b862;color:#a96300}.app-shell.ui-light .chip.error{background:#fff1f3;border-color:#f0b9bf;color:#b42335}.app-shell.ui-light .chip.neutral{background:#f2f4f7;border-color:#e4e7ec;color:#475467}.app-shell.ui-light .ui-mode-switch,.app-shell.ui-light .sidebar-mode-switch{background:#f2f4f7;border-color:var(--line)}.app-shell.ui-light .ui-mode-switch button,.app-shell.ui-light .sidebar-mode-switch button{box-shadow:none;background:transparent;border-color:transparent;color:#667085}.app-shell.ui-light .ui-mode-switch button.active,.app-shell.ui-light .sidebar-mode-switch button.active{background:#15945b;color:#fff}.app-shell.ui-light .ui-mode-switch svg,.app-shell.ui-light .sidebar-mode-switch svg{display:block}.app-shell.ui-light .operation-status{position:static;width:100%;margin:0 0 14px;border-color:#cfe9dc;background:#f3fff8;color:#24563a;box-shadow:none}.app-shell.ui-light .operation-status b{color:#143a27}.app-shell.ui-light .operation-status span{color:#37664a}.app-shell.ui-light .operation-status em{background:#eaf8f0;color:#15945b;border:1px solid #b8e6c9;border-radius:999px;padding:5px 9px;font-style:normal;font-size:12px;font-weight:900}.app-shell.ui-light .operation-status.warning{border-color:#f1d28a;background:#fff9e8;color:#744300}.app-shell.ui-light .operation-status.warning em{background:#fff6df;color:#a96300;border-color:#e4b862}.app-shell.ui-light .operation-status.danger{border-color:#f0b9bf;background:#fff1f3;color:#8f1f2d}.app-shell.ui-light .operation-status.danger em{background:#fff1f3;color:#b42335;border-color:#f0b9bf}.app-shell.ui-light .panel{background:#fff;border-color:var(--line);box-shadow:0 8px 24px #1018280d}.app-shell.ui-light .card,.app-shell.ui-light .workflow-card,.app-shell.ui-light .template-target,.app-shell.ui-light .front-control-copy,.app-shell.ui-light .api-side-card{background:#fbfcfd;border-color:var(--line);color:var(--text)}.app-shell.ui-light .dashboard-main-metric,.app-shell.ui-light .dashboard-mini-metric,.app-shell.ui-light .dashboard-status-tile{background:linear-gradient(180deg,#fff,#fbfcfd);border-color:#e6eaf0;box-shadow:0 10px 26px #1018280e}.app-shell.ui-light .dashboard-main-metric span,.app-shell.ui-light .dashboard-mini-metric span,.app-shell.ui-light .dashboard-status-tile span,.app-shell.ui-light .dashboard-card-copy,.app-shell.ui-light .dashboard-check-list li,.app-shell.ui-light .dashboard-action-list span,.app-shell.ui-light .dashboard-scope-list span,.app-shell.ui-light .dashboard-timeline em,.app-shell.ui-light .dashboard-suggestion-list span{color:#667085}.app-shell.ui-light .dashboard-main-metric b,.app-shell.ui-light .dashboard-mini-metric b,.app-shell.ui-light .dashboard-status-tile b,.app-shell.ui-light .dashboard-card>b,.app-shell.ui-light .dashboard-card .card-title-row>b,.app-shell.ui-light .dashboard-action-list strong,.app-shell.ui-light .dashboard-scope-list strong,.app-shell.ui-light .dashboard-timeline span,.app-shell.ui-light .dashboard-suggestion-list strong{color:#111827}.app-shell.ui-light .dashboard-action-list li,.app-shell.ui-light .dashboard-suggestion-list li,.app-shell.ui-light .health-brief-row span,.app-shell.ui-light .dashboard-flow,.app-shell.ui-light .dashboard-structure-card .dashboard-check-list,.app-shell.ui-light .dashboard-flow span{background:#fff;border-color:#e6eaf0}.app-shell.ui-light .dashboard-flow span{color:#344054}.app-shell.ui-light .risk-counts span{background:#f8fafc;color:#475467;border-color:#e6eaf0}.app-shell.ui-light .stats div{background:linear-gradient(180deg,#fff,#fbfcfd);border-color:#e6eaf0;color:var(--text);box-shadow:0 8px 22px #1018280b}.app-shell.ui-light .stats div:hover{border-color:#cfd7e3;box-shadow:0 12px 28px #10182813}.app-shell.ui-light .stats b,.app-shell.ui-light .card b,.app-shell.ui-light .dashboard-list strong,.app-shell.ui-light .runtime-evidence-card b,.app-shell.ui-light .template-card-head b,.app-shell.ui-light .template-market-head b,.app-shell.ui-light .stability-mode-card b{color:#111827}.app-shell.ui-light .stats span,.app-shell.ui-light .card span,.app-shell.ui-light .notice,.app-shell.ui-light small,.app-shell.ui-light .workflow-card span,.app-shell.ui-light .template-description{color:var(--muted)}.app-shell.ui-light input,.app-shell.ui-light select,.app-shell.ui-light textarea{background:#fff;color:var(--text);border-color:var(--line2)}.app-shell.ui-light .status,.app-shell.ui-light .preview,.app-shell.ui-light pre.status{background:#f8fafc;border-color:#e6eaf0;color:#344054}.app-shell.ui-light .status b,.app-shell.ui-light .preview b,.app-shell.ui-light pre.status b{color:#111827}.app-shell.ui-light .import-format-card code{background:#f8fafc;border-color:#d0d5dd;color:#344054}.app-shell.ui-light .import-panel{background:#fff;border-color:#e6eaf0;box-shadow:0 14px 36px #1018280f}.app-shell.ui-light .import-heading-icon{background:#effdf4;border-color:#b8e6c9;color:#15945b}.app-shell.ui-light .import-card,.app-shell.ui-light .import-preview-card{background:#fff;border-color:#e6eaf0;box-shadow:0 14px 36px #1018280b}.app-shell.ui-light .import-card-title>svg{color:#15945b;background:#effdf4;border-color:#b8e6c9}.app-shell.ui-light .import-card-title.blue>svg{color:#2f6fdf;background:#eff6ff;border-color:#bfdbfe}.app-shell.ui-light .file-drop.import-yaml-drop{background:radial-gradient(circle at 50% 6%,rgba(21,148,91,.11),transparent 34%),#fbfffc;border-color:#94d8b0;color:#111827}.app-shell.ui-light .file-drop.import-yaml-drop:hover{background:#f3fff7;border-color:#15945b}.app-shell.ui-light .import-drop-content,.app-shell.ui-light .import-drop-content strong{color:#111827}.app-shell.ui-light .import-drop-content svg{color:#15945b}.app-shell.ui-light .import-drop-content em{background:linear-gradient(135deg,#12a15d,#078748);color:#fff}.app-shell.ui-light .file-drop.import-package-drop{background:#fff;border-color:#d0d5dd}.app-shell.ui-light .file-drop.import-package-drop:hover{background:#f8fafc;border-color:#98a2b3}.app-shell.ui-light .file-drop.import-package-drop span{color:#475467}.app-shell.ui-light .import-format-card{background:#fbfcfe;border-color:#dfe5ee}.app-shell.ui-light .import-residential-textarea{background:#fff;border-color:#dfe5ee;color:#111827}.app-shell.ui-light .import-protection-row{background:#fff;border-color:#e6eaf0}.app-shell.ui-light .import-protection-card{background:#f5fdf8;border-color:#c7edd5}.app-shell.ui-light .import-protection-card svg{color:#15945b}.app-shell.ui-light .import-preview-tabs span{background:#f2f4f7;border-color:#e6eaf0;color:#667085}.app-shell.ui-light .import-preview-tabs span.active{background:#15945b;color:#fff}.app-shell.ui-light .import-preview-meta span{background:#effdf4;border-color:#d3f1dc;color:#087443}.app-shell.ui-light .import-preview-shell,.app-shell.ui-light .yaml-editor-shell{background:#fff;border-color:#d8dee8}.app-shell.ui-light button.primary.blue-action{background:linear-gradient(135deg,#3478f6,#1f5ed8);border-color:#1f5ed8;color:#fff;box-shadow:0 10px 20px #3478f62e}.app-shell.ui-light input:focus,.app-shell.ui-light select:focus,.app-shell.ui-light textarea:focus{border-color:#15945b;box-shadow:0 0 0 3px #15945b29}.app-shell.ui-light th{color:var(--muted);background:#f8fafc}.app-shell.ui-light td{color:var(--text)}.app-shell.ui-light .table-scroll{border-color:var(--line);background:#fff}.app-shell.ui-light .file-drop{background:#fff;border-color:#cbd5e1;color:#1f2937}.app-shell.ui-light .file-drop:hover{background:#f8fafc;border-color:#15945b}.app-shell.ui-light .file-drop span{color:#1f2937;font-weight:900}.app-shell.ui-light .inline-file-drop{background:#e8f7f5;border-color:#a7ddd7}.app-shell.ui-light .inline-file-drop span{color:#0d7f77}.app-shell.ui-light button.secondary.green,.app-shell.ui-light .button-link.secondary.green{background:#eaf8f0;border-color:#b8e6c9;color:#127848}.app-shell.ui-light button.secondary.blue,.app-shell.ui-light .button-link.secondary.blue{background:#eef6ff;border-color:#bad9ff;color:#115c9e}.app-shell.ui-light button.secondary.violet,.app-shell.ui-light .button-link.secondary.violet{background:#f4f0ff;border-color:#d8ccff;color:#5f50d8}.app-shell.ui-light button.secondary.amber,.app-shell.ui-light .button-link.secondary.amber{background:#fff6df;border-color:#e4b862;color:#8a5000}.app-shell.ui-light button.secondary.rose,.app-shell.ui-light .button-link.secondary.rose{background:#fff1f3;border-color:#f0b9bf;color:#a11d2d}.app-shell.ui-light button.secondary.teal,.app-shell.ui-light .button-link.secondary.teal{background:#e8f7f5;border-color:#a7ddd7;color:#0a6f68}.app-shell.ui-light button.secondary.indigo,.app-shell.ui-light .button-link.secondary.indigo{background:#eef2ff;border-color:#c7d2fe;color:#4f46e5}.app-shell.ui-light button.secondary[class*=" "],.app-shell.ui-light .button-link.secondary[class*=" "]{text-shadow:none}.app-shell.ui-light button:disabled,.app-shell.ui-light button[disabled],.app-shell.ui-light .button-link[aria-disabled=true]{color:#667085;background:#f2f4f7;border-color:#d0d5dd;opacity:.78}.app-shell.ui-light .stability-mode-card{border-color:var(--line);background:#fff;box-shadow:none}.app-shell.ui-light .stability-mode-card:hover{border-color:#98d9b4;background:#fbfffc}.app-shell.ui-light .stability-mode-card.active{border-color:#98d9b4;background:#fbfffc;box-shadow:0 10px 24px #15945b14}.app-shell.ui-light .stability-mode-card .mode-kicker,.app-shell.ui-light .template-meta span,.app-shell.ui-light .risk-counts span,.app-shell.ui-light .runtime-evidence-counts span{background:#f2f4f7;border-color:var(--line);color:#475467}.app-shell.ui-light .stability-mode-card small{color:var(--muted)}.app-shell.ui-light .stability-mode-card em,.app-shell.ui-light .stability-mode-card.active em{background:#eaf8f0;border-color:#b8e6c9;color:#15945b}.app-shell.ui-light .template-toolbar,.app-shell.ui-light .template-info,.app-shell.ui-light .template-market-card,.app-shell.ui-light .template-empty-card{background:#fff;border-color:#e6eaf0;box-shadow:0 10px 24px #1018280a}.app-shell.ui-light .template-category-tabs{background:#fbfcfd;border-color:#e6eaf0}.app-shell.ui-light .template-category-tabs button{color:#667085}.app-shell.ui-light .template-category-tabs button+button{border-left-color:#e6eaf0}.app-shell.ui-light .template-category-tabs button.active{background:#e9f8ef;color:#15945b}.app-shell.ui-light .template-info i{background:#eef4ff;color:#4078ff}.app-shell.ui-light .template-info span,.app-shell.ui-light .template-market-head span{color:#667085}.app-shell.ui-light .template-icon-badge{background:#f7fafc;border-color:#e6eaf0}.app-shell.ui-light .template-market-meta span{background:#f7fafc;border-color:#e6eaf0;color:#667085}.app-shell.ui-light .template-market-meta span.good{color:#15945b;border-color:#b8e4ca;background:#e9f8ef}.app-shell.ui-light .template-mode-pill.residential{color:#2563eb;background:#eef4ff}.app-shell.ui-light .template-mode-pill.proxy{color:#6d28d9;background:#f3efff}.app-shell.ui-light .template-mode-pill.direct{color:#15945b;background:#e9f8ef}.app-shell.ui-light .template-mode-pill.reject{color:#c9182b;background:#fff1f3}.app-shell.ui-light .check-row{background:#fff;border-color:var(--line);color:var(--text)}.app-shell.ui-light .check-row small{color:var(--muted)}.app-shell.ui-light .rule-simulator,.app-shell.ui-light .rule-editor-toolbar,.app-shell.ui-light .subscription-url-card,.app-shell.ui-light .subscription-paste-card,.app-shell.ui-light .source-card,.app-shell.ui-light .node-overview-card,.app-shell.ui-light .strategy-settings-card,.app-shell.ui-light .generate-card,.app-shell.ui-light .workflow-card.highlighted,.app-shell.ui-light .airport-preview,.app-shell.ui-light .network-guide,.app-shell.ui-light .runtime-evidence-ledger{background:#fff;border-color:#e6eaf0}.app-shell.ui-light .subscription-intake-grid .file-drop{background:#f7fdf9;border-color:#9adbb8}.app-shell.ui-light .subscription-intake-grid .file-drop span{color:#087443}.app-shell.ui-light .source-card.active{border-color:#9ec5ff;box-shadow:0 14px 34px #1e6fd61a}.app-shell.ui-light .source-select strong,.app-shell.ui-light .node-overview-row b,.app-shell.ui-light .advanced-subscription-panel summary,.app-shell.ui-light .subscription-section-heading h3{color:#111827}.app-shell.ui-light .source-card-body,.app-shell.ui-light .region-bar,.app-shell.ui-light .subscription-section-heading span,.app-shell.ui-light .generate-summary,.app-shell.ui-light .generate-card span,.app-shell.ui-light .node-overview-head{color:#667085}.app-shell.ui-light .region-bar i,.app-shell.ui-light .node-overview-row i{background:#eef2f6}.app-shell.ui-light .node-overview-table,.app-shell.ui-light .advanced-subscription-panel{border-color:#e6eaf0}.app-shell.ui-light .node-overview-head{background:#f8fafc}.app-shell.ui-light .node-overview-row{border-color:#eef2f6}.app-shell.ui-light .advanced-subscription-panel{background:#fbfcfd}.app-shell.ui-light .rule-index{color:#475467}.app-shell.ui-light .rule-row.high-risk{border-color:#a7ddd7;background:#f4fbfa}.app-shell.ui-light .network-result-row{background:#fff;border-color:var(--line)}.app-shell.ui-light .network-result-row b{color:#111827}.app-shell.ui-light .network-result-row span,.app-shell.ui-light .network-result-row small{color:#667085}.app-shell.ui-light .network-result-row.success{border-color:#b8e6c9;background:#f5fbf8}.app-shell.ui-light .network-result-row.warning{border-color:#e4b862;background:#fffaf0}.app-shell.ui-light .network-result-row.error{border-color:#f0b9bf;background:#fff6f7}.app-shell.ui-light .network-result-row.running{border-color:#bad9ff;background:#f6faff}.app-shell.ui-light .node-delay-console{background:#f8fbff;border-color:#bad9ff}.app-shell.ui-light .software-test-guide{background:#f3fff8;border-color:#b8e6c9}.app-shell.ui-light .software-note{background:#fbfffd;border-color:#b8e6c9}.app-shell.ui-light .advanced-node-delay summary:after{background:#fff;border-color:#bad9ff;color:#255a8f}.app-shell.ui-light .node-api-help{background:#fff9e8;border-color:#f1d28a}.app-shell.ui-light .airport-preview.status{background:#fff1f3;border-color:#f0b9bf;color:#8f1f2d}.app-shell.ui-light .workflow-card.maintenance-card{background:#fff9e8;border-color:#f1d28a}.app-shell.ui-light .front-hero h2{color:#111827}.app-shell.ui-light .front-command-card{background:#fff;border-color:#e2e8f0;box-shadow:0 12px 28px #1018280e}.app-shell.ui-light .front-command-card i{background:#eef2ff;color:#6d7cff}.app-shell.ui-light .front-command-card b,.app-shell.ui-light .metric-card strong{color:#111827}.app-shell.ui-light .front-command-card small,.app-shell.ui-light .front-command-card span{color:#667085}.app-shell.ui-light .front-chain-rail>div{background:#fff;border-color:#e2e8f0;box-shadow:0 10px 24px #1018280a}.app-shell.ui-light .front-chain-rail>div>svg{color:#5d75ff}.app-shell.ui-light .front-chain-rail strong{color:#111827}.app-shell.ui-light .front-chain-rail span{color:#667085}.app-shell.ui-light .front-chain-rail i{color:#15945b}.app-shell.ui-light .front-param-card,.app-shell.ui-light .front-priority-card,.app-shell.ui-light .front-pool,.app-shell.ui-light .front-groups-card{background:#fff;border-color:#e6eaf0;box-shadow:0 10px 24px #1018280a}.app-shell.ui-light .front-candidate-row,.app-shell.ui-light .front-priority-item{background:#fbfcfd;border-color:#e6eaf0}.app-shell.ui-light .front-priority-item em{background:#eaf8f0;color:#15945b}.app-shell.ui-light .front-priority-item.custom em{background:#fff6df;color:#a96300}.app-shell.ui-light .front-mode-option{background:#fbfcfd;border-color:#e6eaf0}.app-shell.ui-light .front-mode-option:hover{background:#f4fbf7;border-color:#b8e4ca}.app-shell.ui-light .front-mode-option.active{background:linear-gradient(180deg,#f0fbf4,#fff);border-color:#7fd6a4;box-shadow:inset 0 0 0 1px #15945b1f}.app-shell.ui-light .front-mode-option b{color:#111827}.app-shell.ui-light .front-mode-option small{color:#5b6472}.app-shell.ui-light .front-mode-option em{color:#667085}.app-shell.ui-light .front-mode-option strong{color:#0f7a49;background:#e9f8ef;border-color:#b8e4ca}.app-shell.ui-light .front-mode-option:not(.active) strong{color:#2563eb;background:#eef4ff;border-color:#cbdcff}.app-shell.ui-light .front-warning-status{background:#fff9e8;border-color:#f1d28a;color:#6b4a00}.app-shell.ui-light .mini-list span,.app-shell.ui-light .runtime-evidence-next span{color:var(--muted)}@media(max-width:980px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto}nav{grid-template-columns:repeat(2,minmax(0,1fr))}.main{padding:18px}.topbar{align-items:flex-start;flex-direction:column}.topbar-right{justify-items:start;min-width:0;max-width:none;width:100%}.top-actions{justify-content:flex-start;flex-wrap:wrap;width:100%}.top-actions button{flex:1 1 calc(50% - 1ch);padding-left:2ch;padding-right:2ch}.operation-status{grid-template-columns:auto minmax(0,1fr);align-items:start}.operation-status em{grid-column:2;justify-self:start}.stats,.secondary-stats,.split,.grid,.wide-grid,.dashboard-grid,.dashboard-fill-grid,.dashboard-primary-metrics,.dashboard-secondary-metrics,.dashboard-main-layout,.dashboard-bottom-grid,.dashboard-status-grid,.health-brief-row,.intro-grid,.health-placeholder,.health-summary-grid,.stability-settings,.front-layout,.front-command-strip,.stability-command-strip,.front-chain-rail,.front-control-panel,.front-params-layout,.front-form-grid,.front-priority-add,.stability-tuning-panel,.front-control-grid,.stability-mode-grid,.front-region-grid,.api-runtime-layout,.template-toolbar,.subscription-source-intake,.subscription-intake-grid,.subscription-url-flow,.subscription-url-grid,.subscription-source-cards,.strategy-toggle-grid,.advanced-subscription-grid,.subscription-workflows,.empty-subscription-guide,.impact-grid,.export-checklist,.export-provider-stats,.published-subscription-form,.published-subscription-options,.provider-export-split,.simulation-context-form,.rule-simulation-insights,.rule-simulation-trace,.rule-filter-grid,.network-result-row,.node-delay-form,.node-delay-layout,.software-test-grid,.import-primary-grid,.import-protection-row,.import-residential-actions,.published-source-editor-row{grid-template-columns:1fr}.published-source-editor-row .icon-button{justify-self:end}.front-hero{flex-direction:column}.front-wide-field{grid-column:auto}.import-preview-head{align-items:flex-start;flex-direction:column}.import-preview-meta{justify-content:flex-start}.import-preview-actions{flex-direction:column;align-items:stretch}.import-preview-actions .green-action{min-width:0}.import-yaml-drop{min-height:240px}.generate-card{grid-template-columns:1fr}.subscription-overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.node-overview-card{min-width:0;overflow:hidden}.node-overview-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.airport-preview-stats{grid-template-columns:repeat(5,minmax(56px,1fr));gap:6px}.airport-preview-stats div{min-height:64px;padding:8px 6px}.airport-preview-stats b{font-size:22px}.node-overview-table{overflow-x:auto;max-width:100%}.node-overview-head,.node-overview-row{grid-template-columns:72px 54px 104px 150px 72px;min-width:500px}.node-sample-actions{justify-content:flex-start;flex-wrap:wrap}.front-chain-rail i{display:none}.dashboard-panel{min-height:0}.dashboard-action-list li,.dashboard-suggestion-list li,.dashboard-scope-list li,.dashboard-main-metric,.dashboard-mini-metric,.dashboard-status-tile{grid-template-columns:1fr}.dashboard-action-list button,.dashboard-suggestion-list button{justify-self:start}.dashboard-hero,.export-hero,.export-section-title{align-items:flex-start;flex-direction:column}.node-row,.rule-row,.rule-simulation-grid{grid-template-columns:1fr}.rule-index{text-align:left}}
