:root{color:#17202a;background:#eef2f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body{overscroll-behavior-y:none}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;padding:24px}.topbar,.controls,.workspace,.card-board{width:min(1440px,100%);margin:0 auto}.topbar{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px}.topbar h1{margin:0;font-size:clamp(28px,4vw,48px);line-height:1;letter-spacing:0}.topbar p{margin:8px 0 0;color:#5f6d7a}.run-status{display:inline-flex;align-items:center;gap:8px;min-width:0;min-height:36px;padding:0 12px;border:1px solid #cdd6de;border-radius:8px;background:#fff;color:#314252}.run-status span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.main-tabs,.task-tabs{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:4px;border:1px solid #cdd6de;border-radius:8px;background:#fff}.main-tabs button,.task-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;border:0;border-radius:8px;background:transparent;color:#44515e;padding:0 10px;white-space:nowrap}.main-tabs button.active,.task-tabs button.active{background:#263645;color:#fff}.controls{display:grid;grid-template-columns:auto 42px;justify-content:end;gap:10px;margin-bottom:14px}.input-group{display:flex;align-items:center;gap:8px;min-height:42px;border:1px solid #c6d0d9;border-radius:8px;background:#fff;padding:0 10px}.input-group input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#17202a}.icon-button,.square-button,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid #c6d0d9;border-radius:8px;background:#fff;color:#17202a;padding:0 14px}.icon-button:disabled,.square-button:disabled,.text-button:disabled{cursor:not-allowed;opacity:.48}.square-button{width:42px;padding:0}.primary{border-color:#195c56;background:#195c56;color:#fff}.danger{border-color:#e1a1a1;color:#9b2d2d}.spin{animation:spin 1s linear infinite}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-strip{width:min(1440px,100%);margin:0 auto 14px;display:flex;align-items:center;gap:10px;min-height:44px;padding:0 14px;border:1px solid #e1a1a1;border-radius:8px;background:#fff4f2;color:#8a1d1d}.card-board{display:grid;gap:10px}.card-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;min-height:42px;margin-bottom:2px}.quick-filters{display:inline-flex;align-items:center;gap:4px;min-width:0;padding:3px;border:1px solid #cdd6de;border-radius:8px;background:#fff}.quick-filters button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:28px;border:0;border-radius:7px;background:transparent;color:#44515e;padding:0 8px;font-size:12px;font-weight:700;white-space:nowrap}.quick-filters button.active{background:#263645;color:#fff}.filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e7eef4;color:#52606c;font-size:11px;font-weight:800;line-height:1}.filter-count.empty{opacity:.55}.quick-filters button.active .filter-count{background:#ffffff38;color:#fff}.action-filter-row{max-width:100%}.market-filter button{min-width:56px}.market-filter .filter-refresh-button,.market-filter .filter-cleanup-button{flex:0 0 34px;min-width:34px;width:34px;padding:0}.market-filter .filter-cleanup-button{color:#9b2d2d}.card-toolbar-actions{display:inline-flex;align-items:center;gap:8px;min-width:0;margin-left:auto}.empty-state{border:1px solid #d7dfe6;border-radius:8px;background:#fff;padding:14px}.panel-section h2{margin:0 0 12px;font-size:15px;color:#314252}.segmented{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin-bottom:10px}.segmented.compact{grid-template-columns:repeat(4,1fr);margin-bottom:0}.segmented button{min-height:34px;border:1px solid #d2dae2;border-radius:8px;background:#f7f9fb;color:#314252}.segmented button.active{background:#263645;color:#fff;border-color:#263645}.chip-list,.source-list{display:flex;flex-wrap:wrap;gap:8px}.chip,.source-list span{display:inline-flex;align-items:center;min-height:28px;padding:0 8px;border-radius:8px;background:#eef3f7;color:#314252;font-size:13px}.source-row{margin-bottom:8px}.source-row select{width:100%;min-height:36px;border:1px solid #c6d0d9;border-radius:8px;background:#fff;color:#17202a}.source-list{margin-top:10px}.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px}.cards-loading-banner{grid-column:1 / -1;display:inline-flex;align-items:center;gap:8px;min-height:42px;border:1px solid #cdd6de;border-radius:8px;background:#fff;color:#44515e;padding:0 12px;font-size:14px;font-weight:700}.advice-card{position:relative;display:grid;gap:7px;min-height:0;max-width:420px;border:1px solid #d7dfe6;border-radius:8px;background:#fff;padding:10px;cursor:pointer}.advice-card:hover{border-color:#aebdca;box-shadow:0 8px 20px #17202a14}.advice-card:focus-visible{outline:2px solid #195c56;outline-offset:2px}.advice-card.up{border-top:4px solid #0c7a58}.advice-card.down{border-top:4px solid #bb3e3e}.advice-card.flat{border-top:4px solid #7a8793}.skeleton-card{cursor:default;pointer-events:none}.skeleton-line,.skeleton-panel,.skeleton-row span{border-radius:8px;background:#e4ebf1;animation:skeletonPulse 1.2s ease-in-out infinite}.skeleton-line{height:18px}.skeleton-line.title{width:68%}.skeleton-line.short{width:42%}.skeleton-panel{min-height:78px}.skeleton-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.skeleton-row span{height:28px}@keyframes skeletonPulse{0%{opacity:.55}50%{opacity:1}to{opacity:.55}}.advice-card header,.drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.card-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}.card-title-line strong{color:#17202a;font-size:16px;line-height:22px;white-space:nowrap}.card-meta-line{display:inline-flex;align-items:center;gap:5px;color:#6b7885;font-size:12px;line-height:1.25}.card-meta-line.stale{color:#b42318;font-weight:700}.drawer h2{margin:6px 0 0;font-size:24px;letter-spacing:0}.stock-name{margin:0;color:#5f6d7a;font-size:12px;font-weight:600;overflow-wrap:anywhere}.card-title-line .stock-name{flex:1 1 150px;min-width:0;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.25}.market-badge,.regime-badge,.action-badge,.holding-badge{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:0 7px;border-radius:8px;font-size:11px;font-weight:800;line-height:1;white-space:nowrap}.market-badge{background:#edf3f7;color:#44515e}.market-badge.pending{background:#fff7df;color:#7a5400}.regime-badge{border:1px solid #d4dde5;background:#f7f9fb;color:#44515e}.regime-risk_on{border-color:#a8dbc9;background:#e7f5ef;color:#0c6d50}.regime-recovery{border-color:#9fcfdb;background:#e8f5f7;color:#155f72}.regime-neutral{border-color:#d4dde5;background:#f7f9fb;color:#52606c}.regime-risk_off{border-color:#e6c86d;background:#fff8de;color:#80600a}.regime-panic{border-color:#e3aaaa;background:#fff4f2;color:#9b2d2d}.action-badge{background:#17202a;color:#fff}.holding-badge{background:#e7f5ef;color:#0c6d50;border:1px solid #b7decf}.action-buy{background:#0c6d50;color:#fff}.action-add{background:#1f6f9d;color:#fff}.action-hold{background:#eef3f7;color:#314252;border:1px solid #cdd6de}.action-watch{background:#fff7df;color:#7a5400;border:1px solid #edd07a}.action-reduce{background:#c46a15;color:#fff}.action-sell{background:#9b2d2d;color:#fff}.score-line{display:flex;align-items:baseline;gap:8px;color:#44515e}.compact-score{min-height:34px;align-items:center}.score-line strong{color:#17202a;font-size:38px;line-height:1}.advice-card .score-line strong{font-size:22px}.engine-line{display:flex;align-items:center;gap:8px;color:#5f6d7a;font-size:12px;min-width:0;overflow:hidden}.engine-line span,.engine-line small{display:inline-flex;align-items:center;min-height:24px;border-radius:8px;background:#eef3f7;padding:0 8px}.engine-line small{background:#fff0ef;color:#9b2d2d}.trade-plan-banner{display:grid;gap:4px;min-height:0;border:1px solid #e0e7ed;border-radius:8px;background:#f9fbfc;padding:7px 9px}.trade-plan-banner.buy{border-left:4px solid #0c7a58}.trade-plan-banner.sell{border-left:4px solid #bb3e3e}.trade-plan-banner.none{border-left:4px solid #7a8793}.trade-plan-banner.conditional,.trade-plan-summary.conditional{background:#fffaf0}.card-action-stack{display:grid;justify-items:end;gap:4px;flex:0 0 auto}.conditional-badge{border:1px solid #d7a837;border-radius:8px;background:#fff7dd;padding:2px 6px;color:#77540a;font-size:11px;font-weight:800;white-space:nowrap}.trade-plan-banner strong{color:#17202a;font-size:14px;overflow-wrap:anywhere}.trade-plan-banner span{color:#5f6d7a;font-size:13px;overflow-wrap:anywhere}.advice-card .trade-plan-banner span{display:none}.decision-excerpt{display:grid;gap:4px;border:1px solid #cbd8e3;border-radius:8px;background:#f4f8fb;padding:7px 9px;min-width:0}.decision-excerpt.codex{border-left:4px solid #195c56}.decision-excerpt.local{border-left:4px solid #7a8793}.decision-excerpt.codex_missing{border-left:4px solid #9b2d2d}.decision-excerpt span{color:#52606c;font-size:11px;font-weight:800;text-transform:uppercase}.decision-excerpt strong{color:#17202a;display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13px;line-height:1.35}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.metrics div{min-height:62px;border:1px solid #e0e7ed;border-radius:8px;padding:8px}.compact-metrics div{min-height:52px}.metrics dt{color:#6b7885;font-size:12px}.metrics dd{margin:4px 0 0;overflow-wrap:anywhere;color:#17202a;font-weight:600}.reason-list{margin:0;padding-left:18px;color:#314252}.reason-list li+li{margin-top:6px}.text-button{justify-self:start;min-height:36px;padding:0 10px}.empty-state{min-height:260px;display:grid;place-items:center;color:#6b7885}.task-center,.watchlist-page{width:min(1440px,100%);margin:0 auto;display:grid;gap:14px}.task-header{display:flex;justify-content:space-between;align-items:flex-end;gap:14px}.task-header-actions,.run-progress-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.task-header h2{margin:0;font-size:24px;letter-spacing:0}.task-header p{margin:6px 0 0;color:#5f6d7a}.task-error{width:100%;margin:0}.watchlist-editor{display:grid;grid-template-columns:minmax(240px,1fr) 120px minmax(180px,.6fr) auto;gap:10px;border:1px solid #d7dfe6;border-radius:8px;background:#fff;padding:14px}.budget-editor{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(420px,1.4fr);gap:14px;align-items:end;border:1px solid #d7dfe6;border-radius:8px;background:#fff;padding:14px}.budget-editor h3{margin:0;font-size:16px;letter-spacing:0}.budget-editor p{margin:6px 0 0;color:#5f6d7a}.budget-grid{display:grid;grid-template-columns:repeat(3,minmax(100px,1fr)) auto;gap:10px;align-items:end}.budget-grid label{display:grid;gap:6px;color:#5f6d7a;font-size:12px}.budget-grid input{min-height:42px;min-width:0;border:1px solid #c6d0d9;border-radius:8px;background:#fff;color:#17202a;padding:0 10px}.candidate-settings{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(520px,1.5fr);gap:14px;align-items:end;border:1px solid #d7dfe6;border-radius:8px;background:#fff;padding:14px}.skill-status-panel{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:12px;align-items:center;border:1px solid #d7dfe6;border-radius:8px;background:#fff;padding:14px}.skill-status-panel h3{display:inline-flex;align-items:center;gap:7px;margin:0;font-size:16px;letter-spacing:0}.skill-status-panel p{margin:6px 0 0;color:#5f6d7a}.skill-status-panel small{grid-column:1 / -1;color:#6b7885;overflow-wrap:anywhere}.skill-status-meta{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.candidate-settings h3{display:inline-flex;align-items:center;gap:7px;margin:0;font-size:16px;letter-spacing:0}.candidate-settings p{margin:6px 0 0;color:#5f6d7a}.candidate-grid{display:grid;grid-template-columns:repeat(3,minmax(84px,1fr)) auto auto;gap:10px;align-items:end}.candidate-grid label{display:grid;gap:6px;color:#5f6d7a;font-size:12px}.candidate-grid input{min-height:42px;min-width:0;border:1px solid #c6d0d9;border-radius:8px;background:#fff;color:#17202a;padding:0 10px}.candidate-total{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #d7dfe6;border-radius:8px;background:#f9fbfc;color:#314252;padding:0 12px;white-space:nowrap;font-weight:800}.inline-error{color:#9b2d2d}.holdings-editor{display:grid;grid-template-columns:minmax(160px,1.2fr) 90px minmax(130px,.8fr) 110px 120px 90px auto;gap:10px;border:1px solid #d7dfe6;border-radius:8px;background:#fff;padding:14px}.holdings-editor select{min-height:42px;border:1px solid #c6d0d9;border-radius:8px;background:#fff;color:#17202a;padding:0 10px}.source-editor{display:grid;grid-template-columns:140px minmax(260px,1fr) auto;gap:10px;border:1px solid #d7dfe6;border-radius:8px;background:#fff;padding:14px}.source-editor select{min-height:42px;border:1px solid #c6d0d9;border-radius:8px;background:#fff;color:#17202a;padding:0 10px}.source-table-panel{border:1px solid #d7dfe6;border-radius:8px;background:#fff;padding:14px}.source-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}.source-card{display:grid;gap:8px;min-height:110px;border:1px solid #e0e7ed;border-radius:8px;background:#f9fbfc;padding:12px}.source-card strong,.source-card small{overflow-wrap:anywhere}.source-card small{color:#6b7885}.upload-button{position:relative;overflow:hidden}.upload-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.import-result{display:grid;gap:6px;border:1px solid #d7dfe6;border-radius:8px;background:#fff;padding:14px}.import-result h3{display:inline-flex;align-items:center;gap:7px;margin:0;font-size:15px}.import-result p,.import-result small{margin:0;color:#5f6d7a}.watchlist-editor select{min-height:42px;border:1px solid #c6d0d9;border-radius:8px;background:#fff;color:#17202a;padding:0 10px}.watchlist-table-panel{border:1px solid #d7dfe6;border-radius:8px;background:#fff;padding:16px}.watchlist-table{width:100%;min-width:640px;border-collapse:collapse}.watchlist-table th,.watchlist-table td{border-bottom:1px solid #e0e7ed;padding:11px 10px;text-align:left;vertical-align:middle}.watchlist-table th{color:#5f6d7a;font-size:12px}.watchlist-table td{color:#17202a}.watchlist-table small.watch-reason{display:block;margin-top:5px;max-width:340px;color:#6b7885;overflow-wrap:anywhere}.auto-watch-badge{background:#e7f5ef;color:#0c6d50}.watchlist-table tr:last-child td{border-bottom:0}.row-actions{display:flex;gap:8px}.task-section,.schedule-list{display:grid;gap:14px}.run-progress-card,.run-detail-panel,.schedule-item{border:1px solid #d7dfe6;border-radius:8px;background:#fff;padding:16px}.run-progress-card{display:grid;gap:14px}.run-progress-card header,.run-detail-panel header,.schedule-item{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.run-progress-card h3,.run-detail-panel h3,.schedule-item h3,.data-volume h3,.run-items h3,.run-card-list h3{margin:6px 0 0;font-size:16px;letter-spacing:0}.run-progress-card p,.run-detail-panel p,.schedule-item p,.run-items p,.run-card-list p{margin:6px 0 0;color:#5f6d7a}.run-progress-actions>strong{font-size:30px;color:#17202a}.progress-track{height:10px;border-radius:999px;background:#e6edf2;overflow:hidden}.progress-track span{display:block;height:100%;border-radius:inherit;background:#195c56}.stage-flow{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.stage-pill{display:inline-flex;align-items:center;min-height:26px;border:1px solid #d7dfe6;border-radius:8px;background:#f9fbfc;color:#5f6d7a;padding:0 9px;font-size:12px;font-weight:800}.stage-pill.done{border-color:#b7decf;background:#e7f5ef;color:#0c6d50}.stage-pill.active{border-color:#263645;background:#263645;color:#fff}.stage-pill.failed{border-color:#e1a1a1;background:#fff0ef;color:#9b2d2d}.stage-pill.skipped{border-color:#edd07a;background:#fff7df;color:#7a5400}.status-pill,.action-mini{display:inline-flex;align-items:center;min-height:24px;border-radius:8px;padding:0 8px;font-size:12px;font-weight:800;text-transform:uppercase}.status-pill.running,.status-pill.scheduled{background:#eaf3ff;color:#19517e}.status-pill.success,.status-pill.sent{background:#e7f5ef;color:#0c6d50}.status-pill.failed{background:#fff0ef;color:#9b2d2d}.status-pill.pending,.status-pill.paused,.status-pill.disabled{background:#eef3f7;color:#44515e}.status-pill.skipped{background:#fff7df;color:#7a5400}.task-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0}.task-summary div{min-height:58px;border:1px solid #e0e7ed;border-radius:8px;padding:8px}.task-summary dt{color:#6b7885;font-size:12px}.task-summary dd{margin:4px 0 0;color:#17202a;font-weight:800;overflow-wrap:anywhere}.schedule-item dl{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:10px;margin:0;min-width:320px}.schedule-item dt{color:#6b7885;font-size:12px}.schedule-item dd{margin:4px 0 0;color:#17202a;overflow-wrap:anywhere}.schedule-config{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;align-items:end}.schedule-config label,.schedule-config fieldset{display:grid;gap:6px;color:#6b7885;font-size:12px}.schedule-config fieldset{min-width:0;margin:0;border:0;padding:0}.schedule-config legend{padding:0}.schedule-config input,.schedule-config select{min-height:42px;min-width:0;border:1px solid #c6d0d9;border-radius:8px;background:#fff;color:#17202a;padding:0 10px}.schedule-toggle{min-height:42px;grid-template-columns:auto auto;align-items:center;align-content:end;color:#17202a}.schedule-toggle input{width:18px;min-height:18px;padding:0}.schedule-market-options{display:flex;flex-wrap:wrap;gap:6px}.schedule-market-options label{display:inline-flex;align-items:center;gap:5px;min-height:42px;border:1px solid #c6d0d9;border-radius:8px;background:#fff;color:#17202a;padding:0 10px}.schedule-market-options input{width:16px;min-height:16px;padding:0}.schedule-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.task-history-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:14px;align-items:start}.history-run-list{display:grid;gap:10px}.run-list-item{display:grid;gap:7px;width:100%;border:1px solid #d7dfe6;border-radius:8px;background:#fff;color:#17202a;text-align:left;padding:12px}.run-list-item.active{border-color:#195c56;box-shadow:inset 3px 0 #195c56}.run-list-head{display:flex;justify-content:space-between;gap:8px;align-items:center;min-width:0}.run-list-head strong{min-width:0;overflow-wrap:anywhere}.run-list-item .status-pill{flex:0 0 auto;justify-self:start;width:fit-content}.run-list-trigger,.run-list-time{color:#6b7885;overflow-wrap:anywhere}.run-list-trigger{line-height:1.35}.run-list-time{line-height:1.2}.run-detail-panel{display:grid;gap:14px}.run-detail-panel.empty-state{min-height:360px}.inline-warning{display:flex;align-items:center;gap:8px;min-height:38px;border:1px solid #e1a1a1;border-radius:8px;background:#fff4f2;color:#8a1d1d;padding:0 10px}.data-volume,.notification-events,.auto-watch-review,.run-items,.run-card-list{border-top:1px solid #e0e7ed;padding-top:14px}.notification-events{display:grid;gap:10px}.auto-watch-review{display:grid;gap:9px}.auto-watch-review>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.auto-watch-review h3,.auto-watch-review p,.auto-watch-review ul{margin:0}.auto-watch-review p,.auto-watch-review li,.auto-watch-review span{color:#44515e;overflow-wrap:anywhere}.auto-watch-review-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.auto-watch-review-list article{display:grid;gap:3px;border:1px solid #d7e2df;border-radius:8px;background:#f8fbfa;padding:8px}.auto-watch-review-list.removed article{border-color:#e0e7ed;background:#fbfcfd}.auto-watch-review.compact .auto-watch-review-list{grid-template-columns:repeat(3,minmax(0,1fr))}.notification-event{display:grid;gap:6px;border:1px solid #e0e7ed;border-radius:8px;background:#fbfcfd;padding:10px}.notification-event div{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.notification-event p,.notification-event small{margin:0;color:#44515e;overflow-wrap:anywhere}.data-volume h3{display:inline-flex;align-items:center;gap:7px}.volume-bars{display:grid;gap:9px;margin-top:10px}.volume-row{display:grid;grid-template-columns:44px minmax(0,1fr) 42px;align-items:center;gap:10px;color:#44515e}.volume-row div{height:10px;border-radius:999px;background:#e6edf2;overflow:hidden}.volume-row i{display:block;height:100%;border-radius:inherit;background:#526f88}.volume-row strong{text-align:right;color:#17202a}.table-wrap{width:100%;overflow-x:auto;margin-top:10px}.run-items table{width:100%;min-width:860px;border-collapse:collapse;font-size:13px}.run-items th,.run-items td{border-bottom:1px solid #e0e7ed;padding:9px 8px;text-align:left;vertical-align:top}.run-items th{color:#5f6d7a;font-size:12px}.run-items td strong,.run-items td span{display:block}.run-items td span{margin-top:3px;color:#6b7885;overflow-wrap:anywhere}.run-card-list{display:grid;gap:10px}.run-card-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;border:1px solid #e0e7ed;border-radius:8px;padding:10px}.run-card-summary div{display:flex;align-items:center;gap:8px;min-width:0}.run-card-summary strong,.run-card-summary p,.run-card-summary small{overflow-wrap:anywhere}.run-card-summary p,.run-card-summary small{grid-column:1 / -1}.action-mini.up{background:#e7f5ef;color:#0c6d50}.action-mini.down{background:#fff0ef;color:#9b2d2d}.action-mini.flat{background:#eef3f7;color:#44515e}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#17202a5c;display:flex;justify-content:flex-end;padding:18px}.drawer{width:min(640px,100%);height:100%;overflow:auto;overscroll-behavior:contain;border-radius:8px;background:#fff;padding:18px;box-shadow:0 20px 60px #17202a3d}.drawer-header{position:sticky;top:-18px;z-index:4;margin:-18px -18px 0;padding:18px;border-bottom:1px solid #e0e7ed;background:#fff}.drawer-header .square-button{flex:0 0 42px;font-size:22px;line-height:1}.drawer-title{min-width:0}.drawer-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.drawer-title-line h2{margin:0}.drawer-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;flex:0 0 auto}.trade-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;align-items:center;justify-content:center;background:#17202a6b;padding:18px}.trade-modal{width:min(560px,100%);max-height:min(720px,92dvh);overflow:auto;overscroll-behavior:contain;border-radius:8px;background:#fff;box-shadow:0 20px 60px #17202a47;padding:16px}.trade-modal header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.trade-modal h3{margin:3px 0 0;font-size:18px}.muted-label{color:#6b7885;font-size:12px;font-weight:800;text-transform:uppercase}.trade-record-form{display:grid;gap:10px}.trade-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.trade-record-grid label,.trade-notes{display:grid;gap:5px;min-width:0}.trade-record-grid span,.trade-notes span{color:#6b7885;font-size:12px;font-weight:800}.trade-record-grid input,.trade-record-grid select,.trade-notes textarea{width:100%;min-width:0;border:1px solid #c6d0d9;border-radius:8px;background:#fff;color:#17202a;padding:0 10px}.trade-record-grid input,.trade-record-grid select{min-height:42px}.trade-notes textarea{min-height:76px;padding:10px;resize:vertical}.trade-sync-switch{justify-self:start}.trade-record-preview{display:flex;flex-wrap:wrap;gap:6px;color:#5f6d7a;font-size:12px}.trade-record-preview span{border-radius:999px;background:#eef3f7;padding:4px 8px}.trade-import-date{display:inline-grid;gap:4px;min-width:150px}.trade-import-date span{color:#6b7885;font-size:12px;font-weight:800}.trade-import-date input{min-height:38px;min-width:0;border:1px solid #c6d0d9;border-radius:8px;background:#fff;color:#17202a;padding:0 10px}.form-error,.form-success,.form-warning{display:flex;align-items:flex-start;gap:8px;border-radius:8px;padding:9px 10px;font-size:13px}.form-error{border:1px solid #f1c3c3;background:#fff4f4;color:#9b2d2d}.form-success{border:1px solid #bfe4d4;background:#eefaf4;color:#0c6b4c}.form-warning{border:1px solid #ead28a;background:#fff9e8;color:#7a5a00}.trade-image-import{display:grid;gap:10px;border-top:1px solid #e0e7ed;margin-top:14px;padding-top:14px}.trade-image-import p{margin:3px 0 0;color:#5f6d7a;font-size:13px}.trade-import-result{display:grid;gap:5px;border:1px solid #d7e2ea;border-radius:8px;background:#f8fbfc;padding:10px}.trade-import-result span,.trade-import-result small{color:#5f6d7a;overflow-wrap:anywhere}.compact-button{min-height:30px;padding:0 9px;font-size:12px;white-space:nowrap}.drawer section{border-top:1px solid #e0e7ed;padding-top:14px;margin-top:14px}.drawer h3{margin:0 0 8px;font-size:15px}.drawer ul{margin:0;padding-left:18px}.drawer p{margin:0;color:#314252}.drawer-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border-top:1px solid #e0e7ed;margin-top:14px;padding-top:14px}.drawer-tabs button{min-height:38px;border:1px solid #d2dae2;border-radius:8px;background:#f7f9fb;color:#314252}.drawer-tabs button.active{background:#263645;border-color:#263645;color:#fff}.evidence-list{display:grid;gap:10px}.codex-status{margin-top:8px;color:#9b2d2d;overflow-wrap:anywhere}.analysis-engine-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#5f6d7a;font-size:12px}.analysis-engine-strip span,.analysis-engine-strip small{overflow-wrap:anywhere}.decision-panel{display:grid;gap:10px;border:1px solid #d7e2ea;border-left:4px solid #195c56;border-radius:8px;background:#f8fbfc;padding:12px}.decision-panel.local{border-left-color:#7a8793}.decision-panel.codex_missing{border-left-color:#9b2d2d}.decision-panel-header{display:flex;justify-content:space-between;gap:12px;min-width:0}.decision-panel-header div{min-width:0}.decision-panel-header span{display:inline-flex;margin-bottom:4px;color:#52606c;font-size:11px;font-weight:800;text-transform:uppercase}.decision-panel-header h3{margin:0;overflow-wrap:anywhere}.decision-panel-header strong{align-self:flex-start;border-radius:8px;background:#17202a;color:#fff;padding:5px 8px;white-space:nowrap}.decision-panel p,.decision-panel li,.decision-panel small{overflow-wrap:anywhere}.trade-necessity{display:grid;gap:8px;border:1px solid #d7dfe6;border-left:4px solid #6b7885;border-radius:8px;background:#fbfcfd;padding:10px}.trade-necessity.necessity-trade_now{border-left-color:#0c7a58}.trade-necessity.necessity-place_conditional{border-left-color:#b7791f}.trade-necessity>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.trade-necessity>header div{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px}.trade-necessity>header span,.trade-necessity small{color:#5f6d7a}.trade-necessity p,.trade-necessity ul{margin:0}.trade-necessity p,.trade-necessity li,.trade-necessity small{overflow-wrap:anywhere}.trade-necessity details{border-top:1px solid #e0e7ed;padding-top:7px}.decision-panel small{color:#5f6d7a}.decision-adjustments{display:grid;gap:6px}.decision-forward,.decision-mapping,.decision-alternatives{display:grid;gap:6px;border-top:1px solid #d7e2ea;padding-top:9px}.decision-forward-title,.decision-mapping{grid-template-columns:minmax(0,1fr) auto;align-items:baseline}.decision-forward-title span,.decision-mapping span{color:#44515e;font-weight:700;text-align:right}.decision-forward p{margin:0;color:#314252;line-height:1.45}.decision-forward small,.decision-mapping small{grid-column:1 / -1}.decision-mapping>dl,.decision-mapping>details{grid-column:1 / -1}.decision-mapping>details{border-top:1px solid #e0e7ed;padding-top:6px}.decision-mapping>details summary{color:#195c56;font-weight:800;cursor:pointer}.decision-mapping>details p{margin:6px 0 0;color:#44515e;line-height:1.45;overflow-wrap:anywhere}.decision-alternatives summary{color:#195c56;font-weight:800;cursor:pointer}.decision-alternatives>div{display:grid;gap:3px;padding-top:5px}.decision-alternatives>div+div{border-top:1px solid #e3e9ee;margin-top:3px}.decision-alternatives span{color:#44515e;font-size:13px;line-height:1.4}.compact-detail{grid-template-columns:repeat(2,minmax(0,1fr))}.drawer-collapsible{border-top:1px solid #e0e7ed;padding-top:12px;margin-top:12px}.drawer-collapsible summary{display:flex;align-items:center;justify-content:space-between;min-height:34px;color:#17202a;font-weight:800;cursor:pointer;list-style:none}.drawer-collapsible summary::-webkit-details-marker{display:none}.drawer-collapsible summary:after{content:"+";color:#6b7885;font-size:18px;line-height:1}.drawer-collapsible[open] summary:after{content:"-"}.drawer-collapsible-body{display:grid;gap:10px;padding-top:8px}.strategy-list{display:grid;gap:10px}.strategy-item{display:grid;gap:6px;border:1px solid #e0e7ed;border-radius:8px;padding:10px}.strategy-item.bullish{border-left:4px solid #0c7a58}.strategy-item.bearish{border-left:4px solid #bb3e3e}.strategy-item.neutral{border-left:4px solid #7a8793}.strategy-item div{display:flex;justify-content:space-between;gap:10px}.strategy-item strong,.strategy-item p{overflow-wrap:anywhere}.strategy-item p{margin:0;color:#314252}.strategy-item span{color:#6b7885;white-space:nowrap}.strategy-item .strategy-points{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.strategy-points section{display:grid;gap:4px;min-width:0}.strategy-points small{color:#596978;font-weight:800}.strategy-points ul{margin:0;padding-left:18px}.strategy-points li{color:#314252;font-size:13px;overflow-wrap:anywhere}.history-chart{display:grid;gap:8px}.history-chart svg{width:100%;height:180px;border:1px solid #e0e7ed;border-radius:8px;background:#f9fbfc}.history-chart line{stroke:#c9d3dc;stroke-width:1}.history-chart polyline{fill:none;stroke-width:3;vector-effect:non-scaling-stroke}.score-polyline{stroke:#195c56}.confidence-polyline{stroke:#7b4fb0}.score-dot{fill:#195c56}.confidence-dot{fill:#7b4fb0}.chart-legend{display:flex;gap:14px;color:#5f6d7a;font-size:13px}.chart-legend span{display:inline-flex;align-items:center;gap:6px}.chart-legend i{width:10px;height:10px;border-radius:999px}.score-swatch{background:#195c56}.confidence-swatch{background:#7b4fb0}.history-list{display:grid;gap:10px}.history-item{display:grid;gap:6px;border:1px solid #e0e7ed;border-radius:8px;background:#fff;text-align:left;padding:10px;color:#17202a}.history-item.active{border-color:#195c56;box-shadow:inset 3px 0 #195c56}.history-item div{display:flex;justify-content:space-between;gap:10px;color:#314252}.history-item strong{color:#17202a}.history-item span,.history-item small{color:#6b7885;overflow-wrap:anywhere}.history-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 12px}.history-detail div{border:1px solid #e0e7ed;border-radius:8px;padding:8px}.history-detail dt{color:#6b7885;font-size:12px}.history-detail dd{margin:4px 0 0;color:#17202a;font-weight:700;overflow-wrap:anywhere}.trade-plan-section{display:grid;gap:10px}.trade-plan-summary{display:grid;gap:4px;border:1px solid #d7dfe6;border-left:4px solid #7a8793;border-radius:8px;background:#fbfcfd;padding:10px}.trade-plan-summary.buy{border-left-color:#0c7a58}.trade-plan-summary.sell{border-left-color:#bb3e3e}.trade-plan-summary strong{color:#17202a;font-size:18px;overflow-wrap:anywhere}.trade-plan-summary span{color:#5f6d7a;overflow-wrap:anywhere}.trade-rationale{line-height:1.45}.trade-detail-grid,.regime-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.market-regime-card,.market-regime-overview{display:grid;gap:10px}.market-regime-card{border:1px solid #d7dfe6;border-radius:8px;background:#fbfcfd;padding:10px}.market-regime-card header,.market-regime-overview header{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.market-regime-card p,.market-regime-card li,.market-regime-overview p,.market-regime-overview small{overflow-wrap:anywhere}.market-regime-card p,.market-regime-overview p{margin:0;color:#314252;line-height:1.45}.market-regime-card ul{display:grid;gap:5px;margin:0;padding-left:18px;color:#44515e}.regime-drivers{font-size:13px}.inline-more{display:grid;gap:6px}.inline-more summary{color:#195c56;font-size:13px;font-weight:800;cursor:pointer}.inline-more ul{margin-top:6px}.market-regime-overview>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.market-regime-overview article{display:grid;gap:8px;border:1px solid #d7dfe6;border-radius:8px;background:#fbfcfd;padding:10px}.market-regime-overview small{color:#6b7885}.trade-plan-legs{display:grid;gap:8px;margin-top:12px}.trade-plan-legs article{display:grid;gap:5px;border:1px solid #e0e7ed;border-radius:8px;background:#f9fbfc;padding:10px}.trade-plan-legs strong,.trade-plan-legs span,.trade-plan-legs small,.trade-plan-legs p,.cancel-rules li{overflow-wrap:anywhere}.trade-plan-legs span{color:#314252;font-weight:700}.trade-plan-legs small,.trade-plan-legs p{margin:0;color:#6b7885}.cancel-rules{display:grid;gap:6px;margin-top:12px;border:1px solid #edd07a;border-radius:8px;background:#fffdf3;padding:10px}.cancel-rules ul{margin:0;padding-left:18px}.replay-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.replay-grid article{display:grid;gap:8px;border:1px solid #d7dfe6;border-radius:8px;background:#fbfcfd;padding:10px}.replay-grid article>div,.replay-grid dl{display:grid;gap:6px}.replay-grid article>div{grid-template-columns:1fr auto;align-items:center}.replay-grid dl{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.replay-grid dt,.replay-grid small{color:#6b7885;font-size:12px}.replay-grid dd{margin:2px 0 0;color:#17202a;font-weight:700}.replay-grid strong,.replay-grid span,.replay-grid dd,.replay-grid small{overflow-wrap:anywhere}.evidence-item{display:grid;gap:5px;border:1px solid #e0e7ed;border-radius:8px;padding:10px;color:#17202a;text-decoration:none}.evidence-item span,.evidence-item small,.drawer footer{color:#6b7885}.evidence-item strong,.evidence-item small{overflow-wrap:anywhere}.drawer footer{border-top:1px solid #e0e7ed;margin-top:14px;padding-top:14px;font-size:13px}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-panel{width:min(420px,100%);display:grid;gap:14px;border:1px solid #d7dfe6;border-radius:8px;background:#fff;padding:24px}.auth-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:8px;background:#e7f5ef;color:#195c56}.auth-panel h1{margin:0;font-size:24px;letter-spacing:0}.auth-panel p{margin:0;color:#5f6d7a;line-height:1.5}.auth-form{display:grid;gap:12px}.auth-form label{display:grid;gap:6px;color:#5f6d7a;font-size:12px}.auth-form input{min-height:42px;border:1px solid #c6d0d9;border-radius:8px;padding:0 10px;color:#17202a}.auth-error,.settings-message{display:flex;align-items:center;gap:8px;min-height:40px;border-radius:8px;padding:0 12px}.auth-error{border:1px solid #e1a1a1;background:#fff4f2;color:#8a1d1d}.settings-message{border:1px solid #b7decf;background:#e7f5ef;color:#0c6d50}.settings-group{display:grid;gap:10px;border:1px solid #d7dfe6;border-radius:8px;background:#f9fbfc;padding:10px}.settings-group-title{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;cursor:pointer;list-style:none}.settings-group-title::-webkit-details-marker{display:none}.settings-group-title>div{display:grid;gap:3px;min-width:0}.settings-group-title>div>span{color:#6b7885;font-size:12px}.settings-group-title:after{content:"";width:8px;height:8px;border-right:2px solid #6b7885;border-bottom:2px solid #6b7885;flex:0 0 auto;transform:rotate(45deg);transition:transform .16s ease}.settings-group[open] .settings-group-title:after{transform:rotate(225deg)}.settings-group-count{margin-left:auto;color:#44515e;font-size:12px;font-weight:800;white-space:nowrap}.settings-group-tools{display:flex;justify-content:flex-start}.settings-group h3{margin:0;font-size:16px;letter-spacing:0}.settings-list{display:grid;gap:8px}.setting-row{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(280px,1.2fr) auto;gap:12px;align-items:center;border:1px solid #d7dfe6;border-radius:8px;background:#fff;padding:14px}.setting-meta{display:grid;gap:5px;min-width:0}.setting-meta strong{font-size:15px}.setting-meta>span{color:#6b7885;font-size:12px;overflow-wrap:anywhere}.setting-badges{display:flex;flex-wrap:wrap;gap:6px}.setting-input{min-width:0}.setting-toggle{display:inline-flex;align-items:center;gap:8px;min-height:42px;color:#314252}.setting-toggle input{width:18px;height:18px}.setting-switch{position:relative;display:inline-flex;align-items:center;justify-content:flex-start;gap:10px;min-height:42px;color:#314252}.setting-switch input{position:absolute;opacity:0;pointer-events:none}.switch-track{position:relative;flex:0 0 auto;width:48px;height:28px;border:1px solid #c6d0d9;border-radius:999px;background:#dfe7ee;transition:background .16s ease,border-color .16s ease}.switch-thumb{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:999px;background:#fff;box-shadow:0 1px 2px #17202a38;transition:transform .16s ease}.setting-switch.is-on .switch-track{border-color:#195c56;background:#195c56}.setting-switch.is-on .switch-thumb{transform:translate(20px)}.switch-label{min-width:32px;color:#44515e;font-weight:800}@media(max-width:860px){.app-shell{padding:16px}.topbar{align-items:flex-start;flex-direction:column}.topbar-actions,.task-header{width:100%;justify-content:space-between;align-items:flex-start}.topbar-actions{display:grid;grid-template-columns:minmax(0,1fr) 42px}.main-tabs,.run-status{width:100%}.main-tabs{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.topbar-actions>.square-button{width:42px}.controls,.task-history-layout{grid-template-columns:1fr}.controls{grid-template-columns:minmax(160px,1fr) 42px}.task-history-layout{gap:10px}.history-run-list{gap:8px}.run-list-item{gap:6px;padding:10px 12px}.run-list-item.active{box-shadow:inset 4px 0 #195c56}.run-list-head{align-items:flex-start;display:flex;gap:8px}.run-list-head strong{font-size:16px;line-height:1.2}.run-list-item .status-pill{align-self:start;min-height:20px;padding:0 7px;font-size:11px;justify-self:start;width:fit-content}.run-list-trigger{color:#52606c;font-size:14px}.run-list-time{color:#6b7885;font-size:13px}.task-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.card-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:flex-start}.card-toolbar-actions{width:100%;justify-content:flex-end;margin-left:0}.card-toolbar .market-filter{grid-column:1 / -1;width:100%}.card-toolbar .market-filter button:not(.filter-refresh-button):not(.filter-cleanup-button){flex:1}.watchlist-editor{grid-template-columns:1fr 120px}.budget-editor,.skill-status-panel,.candidate-settings{grid-template-columns:1fr}.skill-status-meta{justify-content:flex-start}.budget-grid{grid-template-columns:repeat(3,minmax(0,1fr)) auto}.candidate-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.candidate-grid .icon-button,.candidate-total{grid-column:1 / -1}.holdings-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.source-editor{grid-template-columns:140px minmax(0,1fr)}.source-editor .icon-button,.watchlist-editor .input-group:first-child,.watchlist-editor .icon-button,.holdings-editor .input-group:first-child,.holdings-editor .icon-button{grid-column:1 / -1}.schedule-item{display:grid}.setting-row{grid-template-columns:1fr;gap:10px}.setting-row .row-actions{justify-content:flex-start}.setting-switch,.setting-input{width:100%}.setting-switch{justify-content:space-between;border:1px solid #c6d0d9;border-radius:8px;background:#fff;padding:0 10px}.schedule-item dl{min-width:0;width:100%}.schedule-config{grid-template-columns:auto 120px minmax(160px,1fr)}.schedule-config fieldset{grid-column:1 / -1}}@media(max-width:520px){.app-shell{padding:12px}.topbar{gap:12px;margin-bottom:12px}.topbar h1{font-size:28px}.topbar p,.task-header p{font-size:13px;line-height:1.35}.controls{grid-template-columns:minmax(0,1fr) 42px}.controls .square-button{width:42px}.cards-grid{grid-template-columns:1fr}.advice-card{max-width:none;width:100%}.metrics{grid-template-columns:1fr}.main-tabs,.task-tabs{width:100%}.task-header{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%}.task-header-actions{justify-content:flex-end}.run-progress-actions{width:100%;justify-content:space-between}.main-tabs button,.task-tabs button{min-width:0;padding:0 6px}.task-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.card-toolbar{grid-template-columns:1fr}.quick-filters,.market-filter{width:100%}.quick-filters button,.market-filter button{flex:1;min-width:0}.action-filter-row{overflow-x:auto;justify-content:flex-start}.action-filter-row button{flex:0 0 auto}.market-filter .filter-refresh-button,.market-filter .filter-cleanup-button{flex:0 0 36px;width:36px;min-width:36px}.task-summary,.schedule-item dl,.watchlist-editor,.source-editor,.budget-grid,.candidate-grid{grid-template-columns:1fr 1fr}.budget-grid .icon-button,.candidate-grid .icon-button,.candidate-total,.watchlist-editor .input-group,.watchlist-editor .icon-button,.watchlist-editor select,.source-editor .input-group,.source-editor .icon-button,.source-editor select,.holdings-editor .input-group,.holdings-editor .icon-button,.holdings-editor select{grid-column:1 / -1}.watchlist-table-panel,.source-table-panel{padding:10px}.watchlist-table{min-width:560px}.schedule-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch}.schedule-config{grid-template-columns:1fr 1fr;width:100%}.schedule-config label:last-child,.schedule-config fieldset{grid-column:1 / -1}.setting-row .row-actions .square-button{flex:1}.settings-group{gap:8px;padding:8px}.settings-group-title{min-height:40px;gap:8px}.settings-group h3{font-size:15px}.settings-group-count,.settings-group-title>div>span,.setting-meta>span{font-size:11px}.setting-row{padding:10px}.setting-meta{gap:4px}.setting-meta strong{font-size:14px}.setting-row .row-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.schedule-actions .icon-button{min-width:0;padding:0 8px}.drawer-backdrop{padding:0}.drawer{width:100%;height:100dvh;border-radius:0;padding:10px 12px 12px}.drawer-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;top:-10px;margin:-10px -12px 0;padding:10px 12px}.drawer-actions{width:auto;justify-content:flex-end;flex-wrap:nowrap;gap:6px}.drawer-reanalyze,.drawer-trade{width:42px;padding:0}.drawer-reanalyze span,.drawer-trade span,.drawer-delete span{display:none}.trade-modal-backdrop{align-items:stretch;padding:0}.trade-modal{width:100%;max-height:100dvh;border-radius:0;padding:12px}.trade-record-grid{grid-template-columns:1fr}.drawer-title-line{gap:6px}.drawer h2{font-size:20px;line-height:1.15}.drawer .stock-name{margin-top:3px;font-size:13px;line-height:1.25}.drawer-tabs{margin-top:8px;padding-top:8px}.drawer section{padding-top:10px;margin-top:10px}.drawer h3{margin-bottom:6px;font-size:14px}.history-detail{grid-template-columns:1fr}.compact-detail,.trade-detail-grid,.regime-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.history-detail div{padding:7px}.history-detail dt,.replay-grid dt,.replay-grid small{font-size:11px}.history-detail dd{font-size:14px}.decision-panel{gap:8px;padding:10px}.decision-panel-header{gap:8px}.decision-panel-header h3{font-size:15px;line-height:1.35}.decision-panel-header strong{padding:4px 7px;font-size:13px}.decision-forward-title,.decision-mapping{grid-template-columns:1fr;gap:3px}.decision-forward-title span,.decision-mapping span{text-align:left}.trade-plan-summary{padding:9px}.trade-plan-summary strong{font-size:16px;line-height:1.3}.trade-plan-summary span,.trade-rationale,.trade-plan-legs small,.trade-plan-legs p{font-size:13px;line-height:1.4}.trade-plan-legs{gap:6px;margin-top:8px}.trade-plan-legs article,.cancel-rules,.market-regime-card,.strategy-item,.evidence-item{padding:8px}.cancel-rules{margin-top:8px}.cancel-rules li,.market-regime-card p,.market-regime-card li,.strategy-item p,.strategy-points li{font-size:13px;line-height:1.4}.drawer-collapsible{padding-top:8px;margin-top:8px}.drawer-collapsible summary{min-height:30px;font-size:14px}.drawer-collapsible-body{gap:8px;padding-top:6px}.market-regime-overview>div,.auto-watch-review-list,.auto-watch-review.compact .auto-watch-review-list,.strategy-item .strategy-points{grid-template-columns:1fr}.replay-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.replay-grid article{gap:6px;padding:8px}.replay-grid article>div{gap:6px}.replay-grid strong,.replay-grid span,.replay-grid dd{font-size:13px}.replay-grid dl{grid-template-columns:1fr;gap:4px}.strategy-item div,.history-item div{display:grid;grid-template-columns:1fr}.run-card-summary{grid-template-columns:1fr}.strategy-item span{white-space:normal}}
