:root{color-scheme:dark;--bg:#0d1014;--surface:#151a20;--surface2:#1c232b;--line:#303943;--text:#f2f5f7;--muted:#99a6b2;--green:#31c48d;--red:#ff5267;--cyan:#50c6e8;--yellow:#f2bf4a;--violet:#ae8cff}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:Inter,Pretendard,"Segoe UI",system-ui,sans-serif}button{font:inherit}.app{width:min(1440px,calc(100% - 32px));margin:0 auto;padding:22px 0 40px}.topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:14px}.eyebrow{margin:0 0 5px;color:var(--cyan);font-size:12px;font-weight:800}.topbar h1,.section-head h2,.panel-head h2{margin:0;letter-spacing:0}.topbar h1{font-size:30px;line-height:1.15}.section-head h2,.panel-head h2{font-size:20px}.connection{display:flex;align-items:center;gap:8px;min-height:38px;border:1px solid var(--line);border-radius:6px;padding:0 12px;color:var(--muted);background:var(--surface)}.connection i{width:8px;height:8px;border-radius:50%;background:var(--green)}.metric-strip{display:grid;grid-template-columns:1.2fr 1fr 1.2fr .8fr;border:1px solid var(--line);border-radius:6px;background:var(--surface);overflow:hidden}.metric-strip article{min-width:0;padding:15px 17px;border-right:1px solid var(--line);display:grid;gap:5px}.metric-strip article:last-child{border-right:0}.metric-strip span,.metric-strip small{color:var(--muted)}.metric-strip span{font-size:12px;font-weight:700}.metric-strip small{font-size:12px;white-space:normal}.metric-strip strong{font-size:24px;line-height:1.15;overflow-wrap:anywhere}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:12px;margin-top:12px}.chart-panel,.signal-panel,.strategy-card,.results-section{border:1px solid var(--line);border-radius:6px;background:var(--surface)}.chart-panel{padding:16px;min-width:0}.panel-head,.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.segmented{display:grid;grid-template-columns:repeat(2,72px);gap:5px}.segmented button,.refresh{min-height:38px;border:1px solid var(--line);border-radius:6px;background:var(--surface2);color:var(--text);cursor:pointer}.segmented button.active{border-color:var(--cyan);color:var(--cyan);background:#10262d}.refresh{width:100%;font-weight:800}.refresh:hover{border-color:var(--cyan)}canvas{display:block;width:100%;height:500px;margin-top:12px}.chart-footer{display:flex;align-items:center;gap:14px;min-height:30px;color:var(--muted);font-size:12px}.chart-footer span{display:flex;align-items:center;gap:5px}.chart-footer strong{margin-left:auto;color:var(--yellow)}.swatch{display:inline-block;width:9px;height:9px;border-radius:2px}.candle-up{background:var(--green)}.candle-down{background:var(--red)}.boll{background:var(--violet)}.signal-panel{padding:17px;display:flex;flex-direction:column;gap:14px;min-width:0}.signal-head{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.grade{display:inline-flex;align-items:center;justify-content:center;min-width:50px;height:26px;border:1px solid var(--yellow);border-radius:4px;color:var(--yellow);font-weight:900}.direction{min-height:68px;display:flex;align-items:center;font-size:38px;font-weight:900;border-bottom:1px solid var(--line)}.signal-panel>p{margin:0;color:var(--muted);line-height:1.55}.evidence{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:6px;overflow:hidden}.evidence div{padding:11px;display:grid;gap:4px}.evidence div+div{border-left:1px solid var(--line)}.evidence span{font-size:11px;color:var(--muted)}.evidence strong{font-size:20px}.condition-list{display:grid;gap:7px}.condition{display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:34px;border-bottom:1px solid #252d35;font-size:12px}.condition i{width:9px;height:9px;border-radius:50%;background:var(--red)}.condition.pass i{background:var(--green)}.condition b{font-weight:700}.condition span{color:var(--muted);text-align:right}.risk-note{font-size:12px}.strategy-section{margin-top:22px}.section-head>p{margin:0;color:var(--muted);font-size:13px}.strategy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:10px}.strategy-card{padding:15px;display:grid;gap:13px}.strategy-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.strategy-name{display:flex;align-items:center;gap:8px}.strategy-name b{font-size:17px}.strategy-card .grade{min-width:34px}.strategy-status{font-size:13px;font-weight:800;color:var(--yellow)}.strategy-direction{font-size:28px;font-weight:900}.strategy-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.strategy-meta div{border:1px solid var(--line);border-radius:5px;padding:9px}.strategy-meta span{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}.strategy-card .condition-list{max-height:176px;overflow:auto}.results-section{margin-top:12px;padding:16px}.table-wrap{overflow:auto;margin-top:12px}table{width:100%;border-collapse:collapse;color:var(--muted);font-size:13px;white-space:nowrap}th,td{padding:11px 10px;border-bottom:1px solid var(--line);text-align:left}th{color:var(--text);font-weight:800}.positive{color:var(--green)}.negative{color:var(--red)}.neutral{color:var(--yellow)}@media(max-width:1000px){.workspace{grid-template-columns:1fr}.signal-panel{min-height:0}.strategy-grid{grid-template-columns:1fr}.metric-strip{grid-template-columns:1fr 1fr}.metric-strip article:nth-child(2){border-right:0}.metric-strip article:nth-child(-n+2){border-bottom:1px solid var(--line)}canvas{height:440px}}@media(max-width:620px){.app{width:calc(100% - 18px);padding-top:14px}.topbar,.panel-head,.section-head{align-items:stretch;flex-direction:column}.topbar h1{font-size:25px}.metric-strip{grid-template-columns:1fr}.metric-strip article{border-right:0;border-bottom:1px solid var(--line)}.metric-strip article:nth-child(2){border-right:0}.metric-strip article:last-child{border-bottom:0}.metric-strip strong{font-size:21px}.segmented{grid-template-columns:1fr 1fr;width:100%}canvas{height:360px}.chart-footer{flex-wrap:wrap}.chart-footer strong{width:100%;margin-left:0}.strategy-meta{grid-template-columns:1fr}.results-section{padding:12px}}
