.trader-shell{display:block;min-height:100vh;color:var(--text);background:var(--bg);font-variant-numeric:tabular-nums}.trader-shell *{box-sizing:border-box}.trader-shell .topbar{height:3.5rem;display:flex;align-items:center;gap:1.5rem;padding:0 2rem;border-bottom:1px solid var(--line-soft);background:var(--surface)}.trader-shell .topbar>span{font-size:1.02rem;letter-spacing:.01em}.trader-shell .home-link{min-height:2.75rem;display:inline-flex;align-items:center;gap:.45rem;padding-right:1.5rem;color:var(--text);border-right:1px solid var(--line);text-decoration:none}.trader-shell .trader-page{width:min(100%,90rem);margin:0 auto;padding:2rem 1.5rem 3rem}.trader-shell .page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.9rem}.trader-shell h1{margin:0;font-size:clamp(1.65rem,2.2vw,2rem);letter-spacing:-.025em}.trader-shell .page-heading p{margin:.28rem 0 0;color:var(--muted);font-size:.82rem}.trader-shell button{font:inherit}.trader-shell .refresh-button,.trader-shell .plugin-action button,.trader-shell .pagination button{min-height:2.75rem;border:1px solid var(--accent);border-radius:.5rem;color:var(--text);background:transparent;cursor:pointer;font-weight:700}.trader-shell .refresh-button{min-width:7.5rem;padding:.55rem 1rem}.trader-shell button:hover:not(:disabled){background:var(--surface-strong)}.trader-shell button:disabled{opacity:.55;cursor:wait}.trader-shell button:focus-visible,.trader-shell a:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.trader-shell .notice{min-height:10rem;display:flex;align-items:center;justify-content:center;gap:1rem;padding:2rem;border:1px solid var(--line);border-radius:.5rem;background:var(--surface)}.trader-shell .notice strong{display:block;font-size:1.05rem}.trader-shell .notice p{margin:.4rem 0 0;color:var(--muted)}.trader-shell .notice>span{color:var(--text);font-size:1.5rem}.trader-shell .error-notice>span,.trader-shell .error-notice strong{color:var(--danger)}.trader-shell .spinner{width:1.4rem;height:1.4rem;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.trader-shell .spinner{animation:none}}.trader-shell .inline-alert{margin:0 0 .75rem;padding:.7rem .9rem;border:1px solid var(--warning);background:var(--surface);color:var(--warning);border-radius:.5rem}.trader-shell .action-alert{border-color:var(--danger);background:var(--danger-soft);color:var(--danger)}.trader-shell .plugin-list{display:grid;gap:.55rem;margin-bottom:.75rem}.trader-shell .plugin-band{display:grid;grid-template-columns:1fr auto;min-width:0;border:1px solid var(--line);border-radius:.5rem;background:var(--surface)}.trader-shell .plugin-band.selected{border-color:var(--line);box-shadow:inset 3px 0 var(--accent)}.trader-shell .plugin-select{min-width:0;min-height:4.9rem;display:grid;grid-template-columns:minmax(14rem,2fr) minmax(7rem,.65fr) minmax(7.5rem,.75fr) minmax(14rem,2.5fr);align-items:stretch;padding:.65rem 0 .65rem 1rem;color:inherit;border:0;background:transparent;text-align:left;cursor:pointer}.trader-shell .plugin-select>span{min-width:0;display:flex;flex-direction:column;justify-content:center;padding:0 1rem;border-right:1px solid var(--line)}.trader-shell .plugin-select>span:first-child{padding-left:0}.trader-shell .plugin-identity strong{font-size:1.05rem}.trader-shell .plugin-identity small{margin-top:.3rem;color:var(--muted);overflow-wrap:anywhere}.trader-shell .metadata small,.trader-shell .symbols small,.trader-shell .plugin-action>span{margin-bottom:.24rem;color:var(--muted);font-size:.7rem}.trader-shell .metadata strong,.trader-shell .symbols strong{font-size:.8125rem;font-weight:600}.trader-shell .lifecycle{font-weight:750;white-space:normal}.trader-shell .lifecycle.running{color:var(--positive)}.trader-shell .lifecycle.failed{color:var(--danger)}.trader-shell .lifecycle.finished{color:var(--muted)}.trader-shell .lifecycle.available{color:var(--text)}.trader-shell .plugin-action{min-width:9.4rem;display:flex;flex-direction:column;justify-content:center;padding:.65rem 1rem;text-align:center}.trader-shell .plugin-action button{min-height:2.15rem;color:var(--positive);border-color:var(--positive)}.trader-shell .plugin-action button.finish{color:var(--danger);border-color:var(--danger)}.trader-shell .plugin-action .read-only{margin:0;color:var(--muted)}.trader-shell .context-strip{display:flex;gap:2rem;justify-content:flex-end;margin:0 0 .7rem;color:var(--muted);font-size:.8125rem}.trader-shell .context-strip div{display:flex;gap:.5rem}.trader-shell .context-strip strong{color:var(--text);font-weight:500}.trader-shell .metric-rail{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));margin-bottom:.75rem;border:1px solid var(--line);border-radius:.5rem;background:var(--surface);overflow-x:visible}.trader-shell .metric-rail div{min-width:0;padding:.65rem .75rem;border-right:1px solid var(--line);text-align:center}.trader-shell .metric-rail div:last-child{border:0}.trader-shell .metric-rail span{display:block;color:var(--muted);font-size:.7rem}.trader-shell .metric-rail strong{display:block;margin-top:.25rem;font-size:.98rem}.trader-shell .positive{color:var(--positive)!important}.trader-shell .negative{color:var(--danger)!important}.trader-shell .panel{margin-top:.7rem;padding:.6rem .75rem .55rem;border:1px solid var(--line);border-radius:.5rem;background:var(--surface)}.trader-shell .panel h2{margin:0 0 .45rem;font-size:.98rem;font-weight:650}.trader-shell .panel-title{display:flex;justify-content:space-between;gap:1rem}.trader-shell .panel-title span{color:var(--muted);font-size:.8125rem}.trader-shell .chart{display:grid;grid-template-columns:6rem 1fr;gap:.35rem .65rem}.trader-shell .chart-values{display:flex;flex-direction:column;justify-content:space-between;padding:.1rem 0 1.35rem;color:var(--muted);font-size:.8125rem;text-align:right}.trader-shell .chart svg{width:100%;height:7.7rem;overflow:visible}.trader-shell .chart line{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 3}.trader-shell .chart polyline{fill:none;stroke:var(--accent);stroke-width:2;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.trader-shell .chart-times{grid-column:2;display:flex;justify-content:space-between;gap:1rem;color:var(--muted);font-size:.8125rem}.trader-shell .table-scroll{width:100%;overflow-x:visible;scrollbar-color:var(--line) var(--line)}.trader-shell table{width:100%;min-width:0;border-collapse:collapse;font-size:.8125rem}.trader-shell th,.trader-shell td{height:1.45rem;padding:.15rem .75rem;border:1px solid var(--line);white-space:normal;text-align:center}.trader-shell th{color:var(--muted);background:var(--surface);font-weight:500}.trader-shell td{color:var(--text)}.trader-shell td:first-child,.trader-shell th:first-child{text-align:left}.trader-shell .direction,.trader-shell .decision{color:var(--positive)}.trader-shell .direction.short,.trader-shell .decision.short{color:var(--danger)}.trader-shell .decision.hold{color:var(--muted)}.trader-shell .order-status{white-space:normal}.trader-shell .order-status b{margin-right:.3rem;font-size:.8125rem}.trader-shell .order-status.positive{color:var(--positive)}.trader-shell .order-status.pending{color:var(--warning)}.trader-shell .order-status.muted{color:var(--muted)}.trader-shell .order-status.negative{color:var(--danger)}.trader-shell .table-empty{height:3.5rem;color:var(--muted);text-align:center!important}.trader-shell .pagination{min-height:2.2rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.35rem;color:var(--muted);font-size:.8125rem}.trader-shell .pagination>div{display:flex;align-items:center;gap:.5rem}.trader-shell .pagination button{width:2.75rem;padding:0;font-size:1.2rem}.trader-shell .pagination button:disabled{cursor:default}.trader-shell .plugin-pagination{margin:-.35rem 0 .7rem}@media(max-width:64rem){.trader-shell .plugin-band{grid-template-columns:1fr}.trader-shell .plugin-select{grid-template-columns:minmax(13rem,1fr) 8rem 9rem;padding-right:1rem}.trader-shell .plugin-select>.symbols{grid-column:1/-1;min-height:3.5rem;padding:.75rem 0 0;border:0;border-top:1px solid var(--line)}.trader-shell .plugin-action{width:100%;padding-top:0}.trader-shell .plugin-action button{width:100%;min-height:2.75rem}}@media(max-width:48rem){.trader-shell .topbar{justify-content:flex-start;padding:0 1.25rem}.trader-shell .topbar>span{flex:1;text-align:center}.trader-shell .trader-page{padding:1.25rem}.trader-shell .page-heading{flex-direction:column}.trader-shell .refresh-button{width:100%}.trader-shell .plugin-select{grid-template-columns:8.25rem 1fr;padding:1rem}.trader-shell .plugin-select>span{min-height:4rem;padding:.5rem 1rem;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.trader-shell .plugin-select>.metadata{border-right:0}.trader-shell .plugin-select>.plugin-identity{grid-column:1/-1;min-height:3.5rem;padding:0 0 .75rem;border-right:0}.trader-shell .plugin-select>.lifecycle{padding-left:0}.trader-shell .plugin-select>.symbols{grid-column:1/-1;align-items:flex-start;min-height:auto;padding:.75rem 0 0;border:0;border-top:1px solid var(--line);overflow-wrap:anywhere}.trader-shell .plugin-select>.symbols strong{white-space:normal;line-height:1.6}.trader-shell .plugin-action{padding:.75rem 1rem 1rem}.trader-shell .plugin-action button{min-height:2.75rem}.trader-shell .context-strip{align-items:flex-start;flex-direction:column;gap:.3rem}.trader-shell .metric-rail{grid-template-columns:repeat(7,minmax(7.4rem,1fr))}.trader-shell .metric-rail div{min-width:7.4rem}.trader-shell .chart{grid-template-columns:1fr}.trader-shell .chart-values{display:none}.trader-shell .chart-times{grid-column:1;font-size:.61rem}.trader-shell .chart svg{height:8.5rem}.trader-shell .panel{padding:.75rem}.trader-shell table{font-size:.8125rem}}@media(max-width:28rem){.trader-shell .trader-page{padding:1rem .75rem}.trader-shell .topbar{padding:0 .75rem;gap:.75rem}.trader-shell .home-link{padding-right:.75rem}.trader-shell .plugin-select{padding:.85rem;grid-template-columns:7rem 1fr}.trader-shell .plugin-select>span{padding-right:.55rem}}:root{--font-sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;--bg: #292c24;--surface: #363a30;--surface-strong: #424738;--line: #59604e;--line-soft: #454b3d;--text: #e0e0dc;--muted: #bfc0b8;--accent: #9da981;--accent-fill: #596b41;--on-accent: #efefea;--positive: #a6b587;--positive-soft: #29321f;--danger: #d59488;--danger-soft: #382421;--warning: #c6ad80;--warning-soft: #352f20;color-scheme:dark;font-family:var(--font-sans);font-size:16px;line-height:1.55;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-width:0}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button,input,select{max-width:100%}input,select{accent-color:var(--accent)}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1,h2,h3{line-height:1.3;letter-spacing:-.025em;text-wrap:balance}p,small,dd,td{overflow-wrap:anywhere}button{transition:background-color .15s,border-color .15s}@media(prefers-reduced-motion:reduce){button{transition:none}}:root .responsive-table{width:100%;min-width:0;table-layout:fixed;white-space:normal}:root .responsive-table :is(th,td){white-space:normal;overflow-wrap:anywhere}:root .wide-table{display:block}:root .wide-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}:root .wide-table tbody{display:block}:root .wide-table tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:1.25rem;gap:1rem 1.5rem;border-top:1px solid var(--line)}:root .wide-table td{display:block;min-width:0;height:auto;padding:0;border:0;text-align:left}:root .wide-table td[data-label]:before{content:attr(data-label);display:block;margin-bottom:.35rem;color:var(--muted);font-size:.8125rem;font-weight:500}:root .wide-table td[colspan]{grid-column:1/-1}@media(max-width:64rem){:root .wide-table tr{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:48rem){:root .responsive-table,:root .responsive-table tbody{display:block}:root .responsive-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}:root .responsive-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:1rem 0;border-top:1px solid var(--line)}:root .responsive-table td{display:block;min-width:0;height:auto;padding:0;border:0;text-align:left}:root .responsive-table td[data-label]:before{content:attr(data-label);display:block;margin-bottom:.35rem;color:var(--muted);font-size:.8125rem;font-weight:500}:root .responsive-table td[colspan]{grid-column:1/-1}}@media(max-width:30rem){:root .responsive-table tr{grid-template-columns:minmax(0,1fr)}}
