:root{color-scheme:dark;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;background:#0c1117}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 50% 0%,#202b38 0,#0c1117 45%)}button,input{font:inherit}.login-page{min-height:100vh;display:grid;place-content:center;gap:28px;padding:24px}.login-card{width:min(420px,calc(100vw - 48px));background:#161e28f0;box-shadow:0 24px 70px #00000059}.login-card .ant-alert{margin-bottom:20px}.eyebrow{color:#ef6b61;letter-spacing:.12em;text-transform:uppercase}.login-page footer,.app-footer{color:#7f8a96;text-align:center}.app-shell{min-height:100vh;background:transparent}.app-header{position:sticky;top:0;z-index:20;height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #27313c;background:#0c1117f0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.app-header .ant-typography{margin:0}.brand,.header-actions,.section-heading,.workbench-intro{display:flex;align-items:center;justify-content:space-between;gap:16px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;color:#fff;font-weight:700;background:linear-gradient(135deg,#e04a3f,#a91f25);box-shadow:0 8px 24px #d4382d47}.brand .ant-typography-secondary{font-size:12px}.app-content{width:min(1480px,100%);margin:0 auto;padding:40px 48px}.workbench-intro{margin-bottom:20px}.workbench-intro h1{margin:5px 0 0}.strategy-stack{display:grid;gap:20px}.section-heading h3,.best-signal-card h2{margin:0}.rule-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.rule-item{display:flex;align-items:center;gap:12px;min-height:54px;padding:12px 16px;border:1px solid #2e3945;border-radius:8px;background:#111820}.rule-item span{color:#ef6b61;font-weight:700}.best-signal-card{overflow:hidden;border-color:#d4382d80;background:linear-gradient(135deg,#451d1ca6,#121a22f2 48%)}.signal-details{margin-top:22px;padding-top:18px;border-top:1px solid #303944}.strategy-disclaimer{margin-top:28px}.planned-tab{min-height:360px;padding:80px 24px;text-align:center;border:1px dashed #35414d;border-radius:10px}.preview-step{display:grid;gap:16px;margin-top:20px}.modal-alert{margin:16px 0}.preview-row-disabled{opacity:.58}.batch-semantics{margin:14px 0 0!important}.consensus-confirm-native{height:32px;padding:4px 15px;color:#fff;cursor:pointer;border:1px solid #d4382d;border-radius:6px;background:#d4382d}.consensus-confirm-native:disabled{cursor:not-allowed;opacity:.55}.app-footer{background:transparent}.history-filters,.form-actions,.locked-parameters{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.parameter-form{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:0 20px}.parameter-form .locked-parameters,.parameter-form .form-actions{grid-column:1 / -1}.form-actions{justify-content:flex-end;margin-top:12px}.override-fieldset{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:12px;margin:0 0 16px;padding:12px 16px 0;border:1px solid #35414d;border-radius:8px}.snapshot-json{overflow:auto;max-height:300px;padding:16px;border-radius:8px;color:#c9d2dc;background:#0c1117}.detail-stack{margin-top:20px}.auth-restoring{min-height:100vh;display:grid;place-items:center}.inline-alert,.parameter-summary{margin-top:20px}.strategy-funnel{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:22px;overflow-x:auto}.funnel-node{position:relative;min-width:120px;padding:14px;border:1px solid #303b47;border-radius:9px;background:#111820}.funnel-node .ant-btn{display:block;height:auto;padding:3px 0 0}.funnel-arrow{position:absolute;top:50%;right:-18px;z-index:2;color:#65717e;transform:translateY(-50%)}@media (max-width: 900px){.rule-grid{grid-template-columns:1fr 1fr}.strategy-funnel{grid-template-columns:repeat(6,140px)}.parameter-form{grid-template-columns:1fr 1fr}}@media (max-width: 640px){.app-header{padding:0 18px}.brand .ant-typography-secondary,.header-actions .ant-tag{display:none}.app-content{padding:28px 20px}.workbench-intro,.section-heading{align-items:flex-start;flex-direction:column}.rule-grid,.parameter-form,.override-fieldset{grid-template-columns:1fr}}
