:root{color:#182230;background:#f5f7fb;font-family:Inter,SF Pro Display,SF Pro Text,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}.appShell{display:grid;grid-template-columns:220px minmax(680px,1fr) 420px;min-height:100vh;background:#f4f7fb}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;height:100vh;padding:22px 12px 16px;color:#d9e7f4;background:linear-gradient(180deg,rgba(24,87,124,.12),transparent 28%),#081722;border-right:1px solid rgba(255,255,255,.08)}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 24px}.brandMark{display:grid;place-items:center;width:38px;height:38px;color:#fff;background:linear-gradient(135deg,#1c7df2,#0ea5a4);border-radius:10px;box-shadow:0 10px 28px #0ea5a438}.brand strong{display:block;margin-bottom:4px;font-size:16px;font-weight:700;color:#f9fbff}.brand span{display:block;font-size:12px;color:#93a8ba}.primaryNav{display:grid;gap:4px}.navItem{display:flex;align-items:center;gap:12px;width:100%;min-height:43px;padding:0 12px;color:#b9ccdc;background:transparent;border:1px solid transparent;border-radius:8px;text-align:left}.navItem:hover{color:#f9fbff;background:#ffffff0f}.navItem.active{color:#fff;background:linear-gradient(90deg,#1669d8,#128bd8);border-color:#ffffff24;box-shadow:0 12px 30px #1669d847}.sidebarStatus{margin-top:auto;padding-top:18px;border-top:1px solid rgba(255,255,255,.1)}.statusCard{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:13px 12px;background:#ffffff0f;border:1px solid rgba(255,255,255,.08);border-radius:10px}.statusCard small,.systemLine{color:#92a7ba;font-size:12px}.statusCard strong{display:block;margin-top:4px;color:#f7fbff;font-size:13px}.pulse,.okDot{width:9px;height:9px;background:#38d98d;border-radius:999px;box-shadow:0 0 0 4px #38d98d1f}.systemLine{display:flex;align-items:center;gap:8px;margin-top:14px}.mainColumn{min-width:0;border-right:1px solid #dfe5ef}.topBar{display:flex;align-items:center;justify-content:space-between;min-height:82px;padding:19px 24px 17px;background:#f8fafdeb;border-bottom:1px solid #dde4ef;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topBar h1{margin:0;font-size:24px;line-height:1.2;font-weight:760;color:#121926}.topBar p{margin:6px 0 0;color:#667085;font-size:13px}.topActions{display:flex;align-items:center;gap:10px}.searchBox{display:flex;align-items:center;gap:8px;width:255px;height:36px;padding:0 12px;color:#7a8798;background:#fff;border:1px solid #d9e1ec;border-radius:8px}.ghostBtn,.linkBtn,.miniActions button,.historyTitle button{color:#2368c4;background:#fff;border:1px solid #d8e1ed;border-radius:8px}.ghostBtn{height:36px;padding:0 12px}.workArea{display:grid;gap:14px;padding:16px 24px 22px}.tabs{display:flex;align-items:center;gap:2px;padding:0 2px;border-bottom:1px solid #dde4ef}.tabs button{position:relative;height:42px;padding:0 16px;color:#536273;background:transparent;border:0;font-weight:620}.tabs button.active{color:#1769e0}.tabs button.active:after{position:absolute;right:12px;bottom:-1px;left:12px;height:2px;background:#1769e0;border-radius:999px;content:""}.panel,.dataPanel,.hintPanel,.emptyState{background:#fff;border:1px solid #dce3ee;border-radius:8px}.panel{padding:16px}.panel.compact{padding:14px}.panelHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.panelHeader h2,.hintPanel h3,.compareCard h2,.emptyState h2{margin:0;color:#172033;font-size:16px;line-height:1.35}.panelHeader p,.compareCard p,.emptyState p{margin:5px 0 0;color:#697789;font-size:13px}.controlGrid{display:grid;gap:14px}.controlGrid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.controlGrid.three{grid-template-columns:1.1fr 1fr 1fr}.controlGrid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.field{display:grid;gap:7px}.field>span{color:#344054;font-size:13px;font-weight:650}.field small{color:#8a98a9;font-size:12px}input,select,textarea{width:100%;color:#1f2937;background:#fff;border:1px solid #d5deea;border-radius:7px;outline:0}input,select{height:38px;padding:0 11px}textarea{min-height:98px;padding:11px 12px;line-height:1.65;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#4797ed;box-shadow:0 0 0 3px #1769e01a}.segmented,.stepper{display:inline-flex;align-items:center;width:fit-content;overflow:hidden;background:#f8fafc;border:1px solid #d4deea;border-radius:7px}.segmented button,.stepper button,.stepper span{height:36px;min-width:58px;padding:0 12px;color:#4d5b6b;background:transparent;border:0;border-right:1px solid #d4deea}.segmented button:last-child,.stepper button:last-child{border-right:0}.segmented button.active{color:#fff;background:#1769e0}.stepper span{display:grid;place-items:center;color:#172033;background:#fff}.advanced{margin-top:15px;padding-top:13px;border-top:1px solid #e6ebf2}.advanced summary{color:#344054;font-weight:650}.advanced .controlGrid{margin-top:12px}.actionDock{display:flex;flex-wrap:wrap;gap:10px}.primaryBtn,.outlineBtn,.linkBtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 14px;border-radius:8px;font-weight:680}.primaryBtn{color:#fff;background:#1769e0;border:1px solid #1769e0;box-shadow:0 10px 22px #1769e02e}.primaryBtn:hover{background:#125ecb}.primaryBtn.small{min-height:36px}.outlineBtn{color:#2368c4;background:#fff;border:1px solid #a8c5ee}.linkBtn{min-height:32px;padding:0 10px;border-color:transparent}.hintPanel{padding:15px 16px}.hintPanel ul{display:grid;gap:8px;margin:10px 0 0;padding-left:18px;color:#4d5b6b;line-height:1.55}.filterPanel{padding:14px}.dataPanel{overflow:hidden}.topicTable,.providerTable{width:100%;border-collapse:collapse;table-layout:fixed}.topicTable th,.topicTable td,.providerTable th,.providerTable td{height:52px;padding:0 12px;border-bottom:1px solid #e6ebf2;color:#3f4a59;font-size:13px;text-align:left;vertical-align:middle}.topicTable th,.providerTable th{height:42px;color:#536273;background:#f8fafc;font-weight:720}.topicTable th:first-child,.topicTable td:first-child{width:45px;color:#667085}.topicTable th:nth-child(2),.topicTable td:nth-child(2){width:29%}.topicTitle{color:#1d2939;font-weight:680;line-height:1.45}.tag,.typePill{display:inline-flex;align-items:center;height:23px;padding:0 8px;border-radius:6px;font-size:12px;font-weight:680}.tag.green{color:#087443;background:#def7ec;border:1px solid #b8ebd2}.tag.orange{color:#bd4b00;background:#fff2db;border:1px solid #ffd39b}.tag.blue{color:#155eef;background:#e9f1ff;border:1px solid #c9dcff}.typePill{color:#475467;background:#f2f4f7;border:1px solid #dfe4ec}.rowActions{display:flex;align-items:center;gap:10px;color:#667085}.tableFooter{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;color:#667085}.pageBtn{width:32px;height:32px;margin-left:5px;color:#536273;background:#fff;border:1px solid #d8e1ed;border-radius:7px}.pageBtn.active{color:#fff;background:#128bd8;border-color:#128bd8}.modelPanel,.configPanel{padding:16px}.providerTable th:nth-child(3),.providerTable td:nth-child(3){width:28%}.providerTable tr.selected td{background:#eff6ff;border-top:1px solid #cfe2ff;border-bottom:1px solid #cfe2ff}.providerName{display:flex;align-items:center;gap:9px;color:#172033}.switch{display:inline-block;width:34px;height:20px;background:#d9e1ec;border-radius:999px;position:relative}.switch:after{position:absolute;top:3px;left:3px;width:14px;height:14px;background:#fff;border-radius:999px;content:""}.switch.on{background:#1769e0}.switch.on:after{left:17px}.radio{display:inline-block;width:18px;height:18px;border:2px solid #b4bfce;border-radius:999px}.blueIcon{color:#1769e0}.paramRow{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.formFooter{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;padding-top:16px;border-top:1px solid #e6ebf2}.successNote{display:inline-flex;align-items:center;gap:7px;color:#0b8a53;font-weight:650}.buttonGroup{display:flex;flex-wrap:wrap;gap:10px}.muted{color:#728092}.resultPanel{position:sticky;top:0;display:flex;flex-direction:column;gap:12px;height:100vh;min-width:0;padding:18px 16px;background:#fbfcfe;overflow:auto}.resultHeader{display:flex;justify-content:space-between;gap:12px}.resultHeader h2{margin:0;color:#111827;font-size:17px}.resultHeader p{margin:4px 0 0;color:#748093;font-size:12px}.miniActions{display:flex;gap:6px}.miniActions button{display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 9px}.resultBox,.debugBox,.historyBlock{background:#fff;border:1px solid #dce3ee;border-radius:8px}.resultBox{padding:0 14px}.resultItem{display:grid;gap:5px;padding:12px 0;border-bottom:1px solid #edf1f6}.resultItem:last-child{border-bottom:0}.resultItem span{color:#667085;font-size:12px;font-weight:680}.resultItem p{margin:0;color:#1f2937;line-height:1.62}.exportGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.exportGrid button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;color:#2368c4;background:#fff;border:1px solid #d8e1ed;border-radius:8px;font-weight:650}.exportGrid .primarySpan{grid-column:1 / -1;color:#fff;background:#0f9f8f;border-color:#0f9f8f}.debugBox{overflow:hidden}.debugHeader{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border-bottom:1px solid #edf1f6}.debugHeader button{height:28px;padding:0 9px;color:#1769e0;background:#eff6ff;border:1px solid #cfe2ff;border-radius:6px}.debugBox pre,.jsonBlock{margin:0;color:#334155;background:#f8fafc;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.65;white-space:pre-wrap}.debugBox pre{max-height:210px;padding:12px 14px;overflow:auto}.historyBlock{overflow:hidden}.historyTitle{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-bottom:1px solid #edf1f6}.historyTitle h3{display:flex;align-items:center;gap:7px;margin:0;color:#172033;font-size:15px}.historyTitle button{height:28px;padding:0 8px;border-color:transparent}.historyList{display:grid}.historyRow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid #edf1f6}.historyRow:last-child{border-bottom:0}.historyRow span{display:inline-block;margin-bottom:3px;color:#1769e0;font-size:12px}.historyRow strong{display:block;max-width:250px;overflow:hidden;color:#344054;font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.historyRow small{flex:none;color:#8a98a9}.editingGrid{display:grid;grid-template-columns:300px 1fr;gap:14px}.segmentList{display:grid;gap:10px}.segment{display:grid;gap:5px;padding:12px;background:#f8fafc;border:1px solid #e0e7f0;border-radius:8px}.segment strong{color:#1769e0}.segment span{color:#1f2937;font-weight:680}.segment small{color:#687589;line-height:1.5}.jsonBlock{min-height:360px;padding:16px;overflow:auto;border:1px solid #dce3ee;border-radius:8px}.comparisonGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.compareCard{display:grid;align-content:start;gap:12px}.scriptPreview{min-height:190px;padding:13px;color:#344054;line-height:1.75;background:#f8fafc;border:1px solid #e1e7f0;border-radius:8px}.emptyState{display:grid;place-items:center;min-height:520px;padding:32px;text-align:center}.emptyIcon{display:grid;place-items:center;width:68px;height:68px;margin-bottom:6px;color:#1769e0;background:#eff6ff;border:1px solid #d3e4ff;border-radius:16px}.mobileNotice{display:none}@media(max-width:1180px){.appShell{grid-template-columns:86px minmax(620px,1fr) 360px}.brand{justify-content:center;padding-right:0;padding-left:0}.brand div:last-child,.navItem span,.sidebarStatus{display:none}.navItem{justify-content:center;padding:0}.controlGrid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.comparisonGrid{grid-template-columns:1fr}}@media(max-width:900px){body{overflow-x:auto}.appShell{display:grid;grid-template-columns:86px 820px 360px;width:1266px;min-height:100vh;background:#f5f7fb}.resultPanel{position:static;height:auto;min-height:100vh;overflow:visible}.sidebar{position:static;display:flex;height:auto;min-height:100vh}.mainColumn{display:block}.topBar{padding:14px 16px}.topBar h1{font-size:21px}.searchBox{width:190px}.workArea{padding:14px 16px 18px}.controlGrid.two,.controlGrid.three,.controlGrid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.comparisonGrid{grid-template-columns:1fr}.mobileNotice{display:none}}
