:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e8e8e6;
  background: #000;
  font-synthesis: none;
  --bg: #000;
  --bar: #17181b;
  --panel: #151618;
  --panel-soft: #1b1c1f;
  --line: #292a2e;
  --text: #e8e8e6;
  --muted: #898a8d;
  --gold: #c9b86f;
  --purple: #9164ff;
  --green: #18c998;
  --red: #ff6a72;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); }
button, input, select, textarea { font: inherit; }
button { border: 0; border-radius: 10px; cursor: pointer; background: var(--gold); color: #171611; padding: 10px 15px; font-weight: 800; transition: background .16s ease, border-color .16s ease, transform .16s ease; }
button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.shell { min-height: 100vh; }
.hidden { display: none !important; }
.login-card { width: min(410px, calc(100% - 32px)); margin: 13vh auto; padding: 34px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 80px rgba(0, 0, 0, .45); }
.login-card h1 { margin: 13px 0 8px; color: var(--text); font-size: 28px; letter-spacing: -.04em; }
.login-card p { margin: 0 0 26px; color: var(--muted); line-height: 1.7; }
.eyebrow { color: var(--gold); font-size: 10px; letter-spacing: .18em; font-weight: 900; }
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-mark, .side-logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #262216; background: #ded08f; font-size: 12px; font-weight: 950; letter-spacing: -.08em; }
.stack, .form-grid { display: grid; gap: 14px; }
label { display: grid; gap: 7px; color: #a8a9aa; font-size: 12px; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 10px 11px; color: var(--text); background: #1b1c1f; outline: none; }
input:focus, select:focus, textarea:focus { border-color: #6b5d35; box-shadow: 0 0 0 3px rgba(201, 184, 111, .1); }
select option { color: var(--text); background: var(--panel-soft); }
textarea { resize: vertical; min-height: 88px; }
.error { min-height: 18px; color: var(--red); font-size: 13px; }
.app-view { min-height: 100vh; display: flex; }
.sidebar { position: fixed; z-index: 5; inset: 0 auto 0 0; width: 58px; display: flex; flex-direction: column; align-items: center; padding: 10px 7px; background: var(--bar); border-right: 1px solid #222326; }
.side-logo { flex: 0 0 auto; margin-bottom: 14px; }
.side-nav { display: grid; width: 100%; gap: 7px; }
.side-item { display: grid; justify-items: center; gap: 3px; width: 44px; padding: 9px 2px 8px; border: 1px solid transparent; border-radius: 11px; color: #7d7e80; background: transparent; font-size: 9px; font-weight: 800; box-shadow: none; }
.side-item:hover { color: var(--text); background: #242528; box-shadow: none; }
.side-item.active { color: var(--gold); background: #3a362b; border-color: #514a36; box-shadow: none; }
.side-icon { font-size: 18px; line-height: 1; }
.side-bottom { margin-top: auto; color: #77787a; padding: 13px 0; }
.app-content { width: calc(100% - 58px); margin-left: 58px; }
.topbar { height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 20px 0 27px; background: var(--bar); border-bottom: 1px solid #242528; }
.page-heading { display: flex; align-items: baseline; gap: 12px; min-width: max-content; }
.page-heading h1 { margin: 0; color: var(--text); font-size: 20px; letter-spacing: -.04em; }
.page-heading span { color: #77787b; font-size: 11px; }
.top-actions, .form-actions { display: flex; align-items: center; gap: 9px; }
.top-search { width: 190px; height: 34px; padding: 8px 11px; background: #1c1d20; border-color: #2b2c30; color: var(--text); font-size: 12px; }
.private-pill { display: inline-flex; align-items: center; gap: 7px; color: #b4b5b4; font-size: 11px; font-weight: 800; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #1b1c1f; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.secondary { color: var(--gold); background: #302d22; border: 1px solid #625636; }
.ghost { color: #aaa; background: transparent; border: 1px solid var(--line); padding: 9px 12px; }
.ghost:hover { color: var(--text); background: #242528; box-shadow: none; }
.app-content > section { width: min(1640px, calc(100% - 48px)); margin: 22px auto 0; }
.page-view { animation: page-in .28s ease both; }
.filters-panel { padding: 14px 16px; }
.filter-grid { display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)) auto; gap: 10px; align-items: end; }
.filter-grid label { gap: 5px; }
.filter-grid select { height: 36px; padding: 7px 10px; }
.filter-actions { display: flex; gap: 8px; }
.trade-metrics { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.trade-metrics .metric { padding: 14px 16px; }
.trade-metrics .metric-value { font-size: 20px; }
.playbook-hero { margin-bottom: 14px; }
.playbook-hero > p { margin: 12px 0 0; font-size: 11px; }
.playbook-hero > .panel-title > strong { color: var(--gold); font-size: 22px; }
.coverage-bar { height: 7px; overflow: hidden; background: #2b2c2f; border-radius: 99px; }
.coverage-bar span { display: block; width: 0; height: 100%; background: var(--gold); border-radius: inherit; transition: width 1s ease; }
.playbook-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.playbook-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.playbook-row:last-child { border-bottom: 0; }
.playbook-row div { display: grid; gap: 5px; }
.playbook-row strong { color: #d5d6d4; font-size: 12px; }
.playbook-row span { color: #77787a; font-size: 10px; }
.playbook-row b { font-size: 12px; }
.playbook-tag { display: inline-flex; align-items: center; gap: 6px; margin: 0 6px 8px 0; padding: 7px 9px; color: #c9b86f; background: #302d22; border: 1px solid #514a36; border-radius: 7px; font-size: 11px; font-weight: 800; }
.playbook-tag small { color: #898078; font-size: 10px; }
.metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.metric, .panel { background: var(--panel); border: 1px solid #252629; border-radius: 10px; animation: panel-in .42s ease both; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.panel:hover { border-color: #36373b; box-shadow: 0 12px 30px rgba(0, 0, 0, .16); }
.metric { padding: 17px 18px; }
.metric-label { color: #8d8e90; font-size: 11px; font-weight: 800; }
.metric-value { margin-top: 8px; color: var(--text); font-size: 25px; font-weight: 900; letter-spacing: -.04em; }
.dashboard-grid { display: grid; grid-template-columns: minmax(245px, .84fr) minmax(440px, 1.9fr) minmax(230px, .8fr); gap: 14px; align-items: start; }
.dashboard-center, .insight-stack { display: grid; gap: 14px; }
.dashboard-grid .panel { min-height: 100%; }
.panel-subtitle { display: block; margin-top: 4px; color: #727376; font-size: 10px; }
.date-button, .chart-switch { padding: 7px 10px; color: #aaa; background: #242528; border: 1px solid #333438; border-radius: 8px; font-size: 10px; box-shadow: none; }
.date-button:hover { box-shadow: none; }
.daily-topline { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0 11px; border-bottom: 1px solid var(--line); }
.daily-topline strong { font-size: 22px; letter-spacing: -.04em; }
.daily-topline span { color: var(--muted); font-size: 11px; }
.daily-tabs, .chart-switch { display: flex; gap: 16px; }
.daily-tabs { padding: 13px 0 8px; color: #737477; font-size: 11px; font-weight: 800; }
.daily-tabs .active, .chart-switch .active { color: var(--gold); }
.trade-feed { display: grid; gap: 7px; padding-top: 7px; }
.trade-feed-item { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 7px; min-height: 52px; padding: 8px 9px; background: var(--panel-soft); border: 1px solid #28292c; border-left: 2px solid var(--green); border-radius: 9px; transition: transform .18s ease, background .18s ease; }
.trade-feed-item.loss { border-left-color: var(--red); }
.trade-feed-item:hover { transform: translateX(3px); background: #232427; }
.feed-time { color: #727477; font-size: 10px; }
.feed-contract { color: #dedfdd; font-size: 11px; font-weight: 900; }
.feed-contract small { display: block; margin-top: 3px; color: #727477; font-size: 9px; font-weight: 700; }
.trade-feed-item strong { font-size: 12px; }
.empty-state { padding: 34px 10px; color: #66676a; text-align: center; font-size: 11px; }
.account-status { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 10px; font-weight: 800; }
.account-panel .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.account-panel .metric { padding: 14px; border-radius: 8px; background: var(--panel-soft); box-shadow: none; }
.account-panel .metric:nth-child(3) .metric-value { color: var(--green); }
.account-panel .metric:nth-child(4) .metric-value { color: var(--red); }
.account-panel .metric-value { font-size: 18px; }
.chart-panel { min-height: 315px !important; }
.chart-value { margin: 8px 0 2px; color: var(--red); font-size: 22px; font-weight: 900; }
.equity-chart { display: block; width: 100%; height: 210px; overflow: visible; }
.chart-gridline { stroke: #313236; stroke-width: 1; stroke-dasharray: 4 5; }
.equity-area { fill: url(#equityFill); opacity: 0; transition: opacity .9s ease; }
.equity-line { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1800; stroke-dashoffset: 1800; transition: stroke-dashoffset 1.2s cubic-bezier(.22, .72, .25, 1); }
.equity-dot { fill: var(--red); opacity: 0; transition: opacity .35s ease .9s; }
.equity-chart.is-ready .equity-line { stroke-dashoffset: 0; }
.equity-chart.is-ready .equity-area, .equity-chart.is-ready .equity-dot { opacity: 1; }
.chart-empty { fill: #68696c; font-size: 12px; }
.insight-number { margin: 7px 0 15px; font-size: 24px; font-weight: 900; }
.insight-row, .contract-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); color: #8e8f91; font-size: 11px; }
.insight-row strong { color: #d3d4d2; }
.insight-progress { height: 4px; margin-top: 13px; overflow: hidden; background: #2b2c2f; border-radius: 99px; }
.insight-progress span { display: block; height: 100%; background: var(--purple); border-radius: inherit; transition: width 1s ease; }
.streak-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.streak-grid > div { display: grid; gap: 6px; padding: 12px; background: var(--panel-soft); border-radius: 8px; }
.streak-grid span { color: #77787a; font-size: 10px; }
.streak-grid strong { color: #d2d3d1; font-size: 15px; }
.streak-dots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.streak-dots i { width: 9px; height: 9px; border-radius: 3px; background: #55565a; }
.streak-dots i.win { background: var(--green); }
.streak-dots i.loss { background: var(--red); }
.contract-row div { display: grid; gap: 4px; }
.contract-row strong { color: #d2d3d1; font-size: 12px; }
.contract-row span { color: #707174; font-size: 10px; }
.contract-row b { font-size: 11px; }
.calendar-month { display: flex; align-items: center; gap: 8px; }
.calendar-month button { width: 24px; height: 24px; padding: 0; color: #aaa; background: #242528; border: 1px solid #333438; box-shadow: none; }
.calendar-month strong { min-width: 70px; color: #b9babb; text-align: center; font-size: 11px; }
.calendar-summary { display: flex; justify-content: space-between; padding: 8px 0 12px; color: #858689; font-size: 10px; border-bottom: 1px solid var(--line); }
.calendar-summary strong { margin-left: 6px; }
.trade-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 10px; }
.calendar-weekday { padding: 3px 0; color: #68696c; text-align: center; font-size: 9px; }
.calendar-cell { min-height: 42px; padding: 5px; background: #1b1c1f; border: 1px solid #252629; border-radius: 5px; }
.calendar-cell.empty { background: transparent; border-color: transparent; }
.calendar-cell > span { color: #77787a; font-size: 9px; }
.calendar-cell strong, .calendar-cell small { display: block; margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.calendar-cell strong { color: #c9c9c7; font-size: 9px; }
.calendar-cell small { color: #77787a; font-size: 8px; }
.calendar-cell.day-win { border-color: rgba(24, 201, 152, .32); background: rgba(24, 201, 152, .08); }
.calendar-cell.day-loss { border-color: rgba(255, 106, 114, .32); background: rgba(255, 106, 114, .08); }
.report-overview { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .9fr); gap: 14px; }
.report-score-panel { min-height: 300px; }
.report-score-panel > .panel-title > strong { color: var(--red); font-size: 26px; }
.report-score-body { display: grid; grid-template-columns: 190px 1fr; gap: 18px; align-items: center; }
.radar-chart { position: relative; width: 190px; height: 190px; }
.radar-chart svg { width: 100%; height: 100%; }
.radar-grid { fill: none; stroke: #303136; stroke-width: 1; }
.radar-axis { stroke: #28292c; stroke-width: 1; }
.radar-shape { fill: rgba(145, 100, 255, .22); stroke: var(--purple); stroke-width: 2; }
.radar-label { position: absolute; color: #77787a; font-size: 9px; }
.radar-top { top: 0; left: 86px; }
.radar-left { left: 0; top: 87px; }
.radar-right { right: 0; top: 87px; }
.radar-bottom { bottom: 0; left: 83px; }
.report-kpis { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.report-kpis div { display: grid; gap: 8px; padding: 15px 13px; border-bottom: 1px solid var(--line); }
.report-kpis div:nth-child(odd) { border-right: 1px solid var(--line); }
.report-kpis div:nth-last-child(-n+2) { border-bottom: 0; }
.report-kpis span { color: #77787a; font-size: 10px; }
.report-kpis strong { color: #d6d7d5; font-size: 15px; }
.report-lesson-panel { display: flex; flex-direction: column; justify-content: center; min-height: 300px; }
.suggestion-badge { padding: 5px 8px; color: #c3a7ff; background: rgba(145, 100, 255, .18); border-radius: 5px; font-size: 10px; }
.report-lesson-panel h3 { margin: 25px 0 13px; color: #af87ff; font-size: 16px; }
.suggestion-progress { height: 5px; overflow: hidden; background: #2b2c2f; border-radius: 99px; }
.suggestion-progress span { display: block; width: 0; height: 100%; background: var(--purple); border-radius: inherit; transition: width 1s ease; }
.report-lesson-panel p { color: #96979a; font-size: 11px; line-height: 1.7; }
.report-equity-panel { margin-top: 14px !important; }
.report-equity-panel > .panel-title > strong { color: var(--red); font-size: 14px; }
.report-chart { display: block; width: 100%; height: 170px; }
.report-equity-line { stroke-width: 2.3; }
.trade-card-list { display: grid; gap: 18px; }
.trade-day-group { display: grid; gap: 7px; }
.trade-day-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 3px 5px; }
.trade-day-heading div { display: flex; align-items: baseline; gap: 10px; }
.trade-day-heading strong { color: #d8d9d7; font-size: 12px; }
.trade-day-heading span { color: #77787a; font-size: 10px; }
.trade-day-heading b { font-size: 12px; }
.trade-card { display: grid; grid-template-columns: 14px 65px minmax(180px, 1fr) 80px 115px 150px; align-items: center; gap: 10px; min-height: 70px; padding: 10px 13px; background: #1a1b1e; border: 1px solid #292a2d; border-left: 2px solid var(--green); border-radius: 10px; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.trade-card.loss { border-left-color: var(--red); }
.trade-card:hover { transform: translateX(3px); background: #222326; border-color: #3a3b3f; }
.trade-check { width: 11px; height: 11px; border: 1px solid #46474a; border-radius: 3px; }
.trade-card-time { color: #818285; font-size: 10px; }
.trade-card-main { display: grid; gap: 5px; min-width: 0; }
.trade-card-main > div { display: flex; align-items: center; gap: 8px; }
.trade-card-main strong { color: #d9dad8; font-size: 12px; }
.trade-card-main small { overflow: hidden; color: #77787a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.direction-chip { padding: 3px 6px; color: #8eb4ff; background: rgba(117, 170, 255, .15); border-radius: 5px; font-size: 9px; }
.trade-card-meta { display: grid; gap: 5px; color: #8a8b8d; font-size: 10px; }
.trade-card-pnl { display: grid; justify-items: end; gap: 5px; }
.trade-card-pnl strong { font-size: 13px; }
.trade-card-pnl span { color: var(--gold); font-size: 10px; }
.trade-card-actions { display: flex; justify-content: flex-end; gap: 5px; }
.trade-card-actions .ghost { padding: 6px 8px; font-size: 10px; }
.grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.panel { padding: 16px; }
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.panel-title-actions { display: flex; align-items: center; gap: 8px; }
.panel-title h2 { margin: 0; color: #dbdcda; font-size: 14px; letter-spacing: -.01em; }
.mini-table, table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { text-align: left; color: #737477; font-size: 10px; font-weight: 900; padding: 9px 7px; border-bottom: 1px solid var(--line); }
td { padding: 11px 7px; color: #c6c7c7; border-bottom: 1px solid #242528; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.positive { color: var(--green) !important; font-weight: 900; }
.negative { color: var(--red) !important; font-weight: 900; }
.muted { color: var(--muted); }
.table-wrap { overflow-x: auto; }
.form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wide { grid-column: 1 / -1; }
.preview { padding: 13px; color: #cfc78d; background: #201f19; border: 1px solid #4b4530; border-radius: 9px; font-weight: 800; line-height: 1.6; }
.tag-picker { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px; background: #1b1c1f; border: 1px solid var(--line); border-radius: 9px; min-height: 47px; }
.tag-option { background: #242528; color: #aaa; border: 1px solid #333438; border-radius: 7px; padding: 7px 10px; font-size: 11px; font-weight: 800; box-shadow: none; }
.tag-option:hover { color: var(--text); background: #2d2e32; box-shadow: none; }
.tag-option.selected { color: #15130d; background: var(--gold); border-color: var(--gold); box-shadow: none; }
.rating-picker .tag-option:nth-child(1).selected { background: #20cf9b; border-color: #20cf9b; }
.rating-picker .tag-option:nth-child(2).selected { background: #62d9a2; border-color: #62d9a2; }
.rating-picker .tag-option:nth-child(3).selected { background: #b7d958; border-color: #b7d958; }
.rating-picker .tag-option:nth-child(4).selected { background: var(--gold); border-color: var(--gold); }
.rating-picker .tag-option:nth-child(5).selected { color: #fff; background: #df804d; border-color: #df804d; }
.rating-picker .tag-option:nth-child(6).selected { color: #fff; background: var(--red); border-color: var(--red); }
.tag-chip { display: inline-block; color: #c9b86f; background: #302d22; border: 1px solid #514a36; border-radius: 6px; padding: 3px 7px; font-size: 10px; }
.form-actions { padding-top: 3px; }
.import-panel { margin-top: 14px !important; }
.import-toolbar { display: flex; align-items: center; gap: 12px; padding: 11px 12px; margin-bottom: 12px; background: #1b1c1f; border: 1px solid var(--line); border-radius: 9px; }
.import-toolbar .import-check-all { display: inline-flex; align-items: center; gap: 7px; color: #c7c8c5; font-size: 11px; white-space: nowrap; }
.import-toolbar .import-check-all input { width: 15px; height: 15px; accent-color: var(--gold); }
.import-toolbar .muted { flex: 1; font-size: 11px; }
.import-status { min-height: 20px; margin: 0 0 10px; color: #c9b86f; font-size: 11px; line-height: 1.6; }
.import-preview-wrap { overflow: auto; max-height: 560px; border: 1px solid var(--line); border-radius: 8px; }
.import-table { min-width: 1120px; }
.import-table thead { position: sticky; top: 0; z-index: 1; background: #1d1e21; }
.import-table th, .import-table td { padding: 9px 8px; vertical-align: top; }
.import-table td { font-size: 11px; }
.import-table td:first-child, .import-table th:first-child { width: 48px; text-align: center; }
.import-table td:first-child input { width: 15px; height: 15px; accent-color: var(--gold); }
.import-table td:nth-child(8) { white-space: nowrap; }
.import-row-invalid { background: rgba(255, 106, 114, .05); }
.import-valid, .import-invalid { display: inline-block; padding: 3px 6px; border-radius: 5px; font-size: 10px; font-weight: 900; }
.import-valid { color: var(--green); background: rgba(24, 201, 152, .12); }
.import-invalid { color: var(--red); background: rgba(255, 106, 114, .12); }
.import-error-cell { min-width: 220px; color: var(--red); line-height: 1.5; white-space: normal; }
@keyframes panel-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes page-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 1200px) { .dashboard-grid { grid-template-columns: 1fr 1fr; } .insight-stack { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); } .report-overview { grid-template-columns: 1fr; } }
@media (max-width: 1050px) { .metrics, .trade-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-three { grid-template-columns: 1fr 1fr; } .top-search { width: 150px; } .filter-grid { grid-template-columns: repeat(3, minmax(120px, 1fr)); } }
@media (max-width: 820px) { .topbar { padding: 0 14px; } .top-actions { flex-wrap: wrap; justify-content: flex-end; } .private-pill, .top-search { display: none; } .dashboard-grid { grid-template-columns: 1fr; } .insight-stack { grid-column: auto; grid-template-columns: 1fr; } .grid-two, .grid-three, .report-overview { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr 1fr; } .trade-card { grid-template-columns: 14px 55px minmax(160px, 1fr) 70px 95px; } .trade-card-actions { grid-column: 3 / -1; justify-content: flex-start; } }
@media (max-width: 580px) { .sidebar { width: 50px; } .side-item { width: 36px; } .app-content { width: calc(100% - 50px); margin-left: 50px; } .app-content > section { width: calc(100% - 24px); margin-top: 14px; } .topbar { height: auto; min-height: 58px; padding: 12px 12px; } .page-heading span { display: none; } .top-actions .secondary { padding: 9px 10px; } .metrics, .trade-metrics, .form-grid, .filter-grid, .playbook-grid { grid-template-columns: 1fr; } .filter-actions { grid-column: 1 / -1; } .wide { grid-column: auto; } .report-score-body { grid-template-columns: 1fr; } .radar-chart { margin: 0 auto; } .trade-card { grid-template-columns: 12px 48px minmax(100px, 1fr) 72px; padding: 10px 9px; } .trade-card-meta { display: none; } .trade-card-pnl { grid-column: 4; } .trade-card-actions { grid-column: 3 / -1; } .panel-title-actions { gap: 5px; } .panel-title-actions .secondary, .panel-title-actions .ghost { padding: 8px 9px; font-size: 10px; } .import-toolbar { align-items: stretch; flex-direction: column; } .import-toolbar .muted { min-height: 18px; } }
