:root {
  --ink: #1d2b26;
  --muted: #86918c;
  --green: #258363;
  --green-dark: #1a7052;
  --green-soft: #e8f4ee;
  --line: #edf0ee;
  --canvas: #f5f7f6;
  --card: #fff;
  --red: #cf6b68;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "DM Sans", "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: 13px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { color: inherit; }
.app-shell { min-height: 100vh; }
.sidebar { width: 244px; position: fixed; inset: 0 auto 0 0; z-index: 5; background: #fff; border-right: 1px solid #e9eeeb; padding: 26px 17px 15px; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding: 0 10px; }
.brand-mark { width: 33px; height: 33px; display: grid; place-items: center; background: var(--green); border-radius: 10px; color: #fff; }
.brand-mark svg { width: 23px; height: 23px; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 16px; letter-spacing: 1px; }
.brand-copy small { font-size: 8px; letter-spacing: 1.15px; color: #96a29c; }
.workspace-label { margin: 40px 11px 11px; color: #9ca6a1; font-size: 10px; letter-spacing: .8px; font-weight: 600; }
.primary-nav { display: grid; gap: 4px; }
.nav-item { height: 42px; border: 0; background: transparent; border-radius: 7px; padding: 0 11px; text-align: left; color: #69766f; display: flex; align-items: center; gap: 12px; font-size: 12px; cursor: pointer; transition: background .15s, color .15s; }
.nav-item:hover { background: #f6f8f7; color: var(--ink); }
.nav-item.active { color: var(--green-dark); background: #eaf4ef; font-weight: 600; }
.nav-icon { width: 17px; text-align: center; font-size: 19px; line-height: 1; color: #85918b; }
.nav-item.active .nav-icon { color: var(--green); }
.nav-count { margin-left: auto; background: #e7f2ec; color: var(--green); border-radius: 10px; padding: 2px 7px; font: 10px var(--mono); }
.sidebar-divider { height: 1px; background: #edf0ee; margin: 20px 8px 0; }
.sidebar-divider + .workspace-label { margin-top: 22px; }
.market-mini { padding: 0 10px; }
.market-mini-head { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 11px; margin-bottom: 13px; }
.market-dot { width: 7px; height: 7px; background: #57b58c; border-radius: 50%; box-shadow: 0 0 0 3px #e4f4eb; display: inline-block; }
.market-status { color: var(--green); background: #edf7f1; border-radius: 4px; padding: 3px 5px; font-size: 9px; font-weight: 500; }
.market-mini-row { display: flex; justify-content: space-between; padding: 6px 0; color: #89938e; font-size: 10px; }
.market-mini-row strong { font: 10px var(--mono); }
.sidebar-bottom { margin-top: auto; }
.data-note { margin: 0 5px 14px; border: 1px solid #edf0ee; border-radius: 7px; padding: 10px; display: flex; gap: 9px; align-items: flex-start; color: #64736b; font-size: 10px; line-height: 1.65; }
.data-note small { color: #9aa49f; }
.note-icon { border: 1px solid #b8c6bd; border-radius: 50%; width: 14px; height: 14px; font-size: 9px; line-height: 12px; text-align: center; color: #76877d; margin-top: 1px; flex: none; }
.profile { display: flex; align-items: center; width: 100%; gap: 9px; border: 0; border-top: 1px solid #edf0ee; background: none; padding: 15px 6px 2px; text-align: left; cursor: pointer; }
.avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #dcebe2; color: #367657; font-weight: 700; font-size: 12px; }
.profile-copy { display: grid; gap: 3px; }
.profile-copy strong { font-size: 10px; }
.profile-copy small { font-size: 9px; color: #98a29d; }
.profile-more { margin-left: auto; font-size: 19px; color: #99a29e; }
.main-content { margin-left: 244px; min-height: 100vh; }
.topbar { height: 59px; border-bottom: 1px solid #e9eeeb; background: rgba(255,255,255,.84); display: flex; align-items: center; justify-content: space-between; padding: 0 42px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; color: #9aa49f; font-size: 10px; }
.breadcrumb strong { color: #526159; font-weight: 500; }
.crumb-divider { color: #cbd2ce; }
.topbar-right { display: flex; align-items: center; gap: 21px; }
.market-clock { display: flex; align-items: center; gap: 7px; color: #8d9892; font-size: 9px; }
.clock-dot { width: 5px; height: 5px; background: #4ca77f; border-radius: 50%; }
.market-clock strong { font: 10px var(--mono); color: #59675f; }
.icon-button { position: relative; border: 0; background: none; color: #7f8c84; font-size: 18px; cursor: pointer; }
.icon-button i { width: 5px; height: 5px; position: absolute; right: 1px; top: 2px; border-radius: 50%; background: #db8275; border: 1px solid #fff; }
.help-button { border: 0; background: transparent; color: #7a8780; font-size: 10px; cursor: pointer; }
.help-button span { padding-left: 4px; }
.page-wrap { max-width: 1450px; margin: 0 auto; padding: 30px 42px 20px; }
.welcome-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 23px; }
.eyebrow { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #78857d; }
.eyebrow-line { width: 15px; height: 1px; background: #71aa8a; }
.eyebrow-muted { color: #a2aaa5; }
h1 { font-size: 24px; letter-spacing: -.5px; margin: 9px 0 5px; font-weight: 600; }
h1 span { color: var(--green); }
.welcome-row p { margin: 0; color: #89948e; font-size: 11px; }
.date-button { border: 1px solid #e6ebe8; background: #fff; color: #647169; border-radius: 6px; padding: 9px 11px; font-size: 10px; box-shadow: 0 2px 4px #213d2c05; cursor: pointer; }
.date-button>span:first-child { margin-right: 7px; color: #748c7d; }
.date-chevron { margin-left: 10px; color: #9da7a1; }
.market-strip { min-height: 62px; background: #fff; border: 1px solid #e9eeeb; border-radius: 8px; display: flex; align-items: center; padding: 0 17px; margin-bottom: 19px; box-shadow: 0 2px 8px #243b2d04; }
.market-strip-label { font-size: 10px; color: #627068; display: flex; align-items: center; gap: 8px; padding-right: 19px; white-space: nowrap; }
.strip-indicator { width: 3px; height: 20px; border-radius: 2px; background: #53a77d; }
.strip-item { padding: 0 20px; border-left: 1px solid #f0f2f1; display: grid; grid-template-columns: auto auto; align-items: center; gap: 4px 12px; }
.strip-item span { grid-column: 1 / -1; font-size: 8px; letter-spacing: .6px; color: #9ca6a0; }
.strip-item strong { font: 11px var(--mono); font-weight: 500; color: #536159; }
.strip-item em { font: normal 9px var(--mono); }
.positive { color: var(--green) !important; }
.negative { color: var(--red) !important; }
.strip-updated { border-left: 1px solid #f0f2f1; margin-left: auto; padding-left: 15px; white-space: nowrap; font-size: 8px; color: #a1aaa5; }
.tiny-pulse { width: 5px; height: 5px; border-radius: 50%; display: inline-block; background: #6bb48d; margin-right: 5px; vertical-align: 1px; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(390px, .82fr); gap: 16px; }
.card { background: #fff; border: 1px solid #e9eeeb; border-radius: 8px; box-shadow: 0 2px 8px #243b2d04; }
.portfolio-card, .movers-card, .holdings-card, .checklist-card { padding: 20px 20px 0; }
.card-heading { display: flex; justify-content: space-between; align-items: flex-start; }
.section-kicker { color: #a2aaa5; font: 8px var(--mono); letter-spacing: 1.15px; margin-bottom: 6px; }
h2 { font-size: 15px; margin: 0; letter-spacing: -.1px; font-weight: 600; }
.text-link { padding: 4px 0; border: 0; background: none; color: var(--green); font-size: 10px; cursor: pointer; }
.text-link span { margin-left: 4px; font-size: 13px; }
.portfolio-total-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 20px; }
.muted-label { color: #8d9891; font-size: 9px; margin-bottom: 5px; }
.portfolio-total { font: 500 25px var(--mono); letter-spacing: -1px; color: #25362d; }
.portfolio-total span { font-size: 16px; color: #637169; }
.pnl-badge { font: 10px var(--mono); color: var(--green); background: #edf7f1; border-radius: 5px; padding: 6px 8px; margin-bottom: 2px; }
.pnl-badge span { padding-right: 3px; }
.pnl-badge small { font: 9px var(--mono); color: #529474; }
.chart-area { display: flex; height: 183px; margin-top: 12px; }
.chart-y-labels { width: 36px; height: 158px; display: flex; flex-direction: column; justify-content: space-between; padding: 1px 0 0; color: #aab2ad; font: 8px var(--mono); }
.portfolio-chart-wrap { position: relative; flex: 1; min-width: 0; }
.portfolio-chart { display: block; width: 100%; height: 158px; overflow: visible; }
.chart-gridline { fill: none; stroke: #f0f3f1; stroke-width: 1; stroke-dasharray: 3 4; }
.chart-fill { fill: url(#chartFill); }
.chart-line { fill: none; stroke: #42a078; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.chart-point { fill: #fff; stroke: #3c9b72; stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-tooltip { position: absolute; z-index: 1; right: 3%; top: 1px; background: #273930; border-radius: 4px; padding: 6px 8px; display: grid; gap: 3px; color: #fff; box-shadow: 0 3px 10px #1b302844; }
.chart-tooltip strong { font: 10px var(--mono); }
.chart-tooltip span { color: #c4d2ca; font-size: 7px; }
.chart-x-labels { display: flex; justify-content: space-between; color: #aab2ad; font: 8px var(--mono); margin-top: 6px; }
.period-tabs { display: flex; gap: 3px; border-bottom: 1px solid #f0f2f1; }
.period-tabs button { padding: 8px 10px; color: #87928b; background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: 9px; cursor: pointer; }
.period-tabs button.selected { border-bottom-color: #49a178; color: var(--green); font-weight: 600; }
.period-summary { display: flex; justify-content: space-between; padding: 12px 1px 14px; color: #89948e; font-size: 9px; }
.period-summary strong { font: 10px var(--mono); }
.movers-tabs { display: flex; gap: 18px; margin-top: 20px; border-bottom: 1px solid #edf0ee; }
.movers-tabs button { border: 0; background: none; color: #909a94; padding: 0 0 9px; font-size: 9px; cursor: pointer; }
.movers-tabs button.active { color: var(--green); border-bottom: 2px solid #4ea47b; font-weight: 600; }
.mover-list { padding-top: 2px; }
.mover-row { display: flex; align-items: center; min-height: 49px; border-bottom: 1px solid #f2f4f3; gap: 10px; }
.ticker-icon { display: grid; place-items: center; flex: none; width: 27px; height: 27px; border-radius: 7px; font-weight: 700; font-size: 10px; }
.icon-nvda { color: #709f40; background: #edf4e6; }.icon-tsla { color: #cf6964; background: #faeeee; }.icon-pltr { color: #697c95; background: #edf1f5; }.icon-amd { color: #876b55; background: #f5f0eb; }.icon-hood { color: #4b9b67; background: #eaf5ed; }
.mover-name { display: grid; gap: 3px; min-width: 0; }
.mover-name strong { font: 10px var(--mono); }
.mover-name small { color: #a1aaa5; font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mover-volume { display: grid; gap: 3px; text-align: right; margin-left: auto; }
.mover-volume strong { font: 10px var(--mono); color: #394b40; }
.mover-volume small { color: #a0aaa4; font-size: 8px; }
.mover-change { width: 60px; text-align: right; font: 10px var(--mono); }
.card-footer-note { color: #9aa49e; font-size: 8px; padding: 12px 0 13px; }
.card-footer-note span { color: #7c9a87; margin-right: 4px; }
.bottom-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(390px, .82fr); gap: 16px; margin-top: 16px; }
.heading-count { vertical-align: 2px; margin-left: 5px; background: #f0f4f1; color: #718279; border-radius: 4px; font: 9px var(--mono); padding: 3px 5px; }
.holdings-table, .screener-table { border-collapse: collapse; width: 100%; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.holdings-table { margin-top: 17px; }
.holdings-table th { color: #9aa49e; text-align: left; font-size: 8px; font-weight: 500; padding: 0 8px 10px; border-bottom: 1px solid #eff2f0; }
.holdings-table th:first-child, .holdings-table td:first-child { padding-left: 0; }
.holdings-table td { padding: 11px 8px; border-bottom: 1px solid #f2f4f3; font: 9px var(--mono); color: #647168; }
.stock-cell { display: flex; align-items: center; gap: 8px; }
.stock-cell .ticker-icon { width: 25px; height: 25px; }
.stock-ident { display: grid; gap: 3px; }
.stock-ident strong { color: #314239; font: 10px var(--mono); }
.stock-ident small { max-width: 115px; overflow: hidden; text-overflow: ellipsis; color: #a0aaa4; font: 8px var(--sans); }
.td-main { color: #435249 !important; }
.card-bottom-link { padding: 11px 0 12px; text-align: center; }
.card-bottom-link button { border: 0; background: transparent; color: var(--green); font-size: 9px; cursor: pointer; }
.card-bottom-link span { margin-left: 5px; }
.focus-date { color: #9ca69f; font: 9px var(--mono); padding-top: 7px; }
.focus-list { padding-top: 12px; }
.focus-item { min-height: 55px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #f1f3f2; }
.focus-time { flex: none; width: 47px; color: #909b94; font-size: 8px; }
.focus-mark { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 6px; font-size: 13px; }
.focus-mark.amber { background: #fbf3e6; color: #bd8a3c; }.focus-mark.blue { background: #ecf3f8; color: #6995b4; }.focus-mark.violet { background: #f1eef8; color: #8d7bb7; }
.focus-item>div { display: grid; gap: 4px; min-width: 0; }
.focus-item>div strong { font-size: 9px; font-weight: 500; }
.focus-item>div small { color: #9da7a1; font-size: 8px; }
.focus-item>button { border: 0; margin-left: auto; color: var(--green); background: none; font-size: 8px; cursor: pointer; }
.impact-tag { margin-left: auto; color: #a07b40; background: #fbf6ec; border-radius: 3px; padding: 4px 5px; font-size: 8px; }
.risk-note { margin: 13px 0 15px; border-radius: 5px; background: #fbf7ed; color: #97804f; padding: 9px; font-size: 8px; line-height: 1.5; }
.risk-note strong { font-weight: 600; }
.risk-icon { display: inline-grid; place-items: center; width: 13px; height: 13px; border: 1px solid #c2a96d; border-radius: 50%; margin-right: 5px; font-size: 8px; }
.page-footer { display: flex; justify-content: space-between; margin-top: 19px; padding: 0 2px; color: #a3aca7; font-size: 8px; }
.footer-dot { padding: 0 5px; color: #cbd2ce; }
.hidden { display: none !important; }
.screener-card { overflow: hidden; }
.screener-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 23px 24px 18px; }
.screener-header h2, .holdings-page-head h2 { font-size: 18px; }
.screener-description { margin: 7px 0 0; color: #89958e; font-size: 10px; }
.market-open-tag { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid #e7eee9; border-radius: 5px; color: #6f7d74; font-size: 9px; }
.metric-cards { display: grid; grid-template-columns: repeat(4, 1fr); background: #f8faf9; border-top: 1px solid #f0f2f1; border-bottom: 1px solid #edf0ee; }
.metric-card { padding: 13px 20px; border-right: 1px solid #edf0ee; display: grid; gap: 7px; }
.metric-card:last-child { border-right: 0; }
.metric-card>span { color: #89958e; font-size: 9px; }
.metric-card>strong { font: 500 19px var(--mono); color: #2d4035; }
.metric-card>strong small { font: 10px var(--sans); margin-left: 3px; color: #7b8981; }
.metric-card>em { color: #a0aaa4; font: normal 8px var(--sans); }
.metric-card .metric-time { font-size: 16px; }
.screener-controls { display: flex; align-items: center; gap: 10px; padding: 14px 20px; }
.filter-group { display: flex; gap: 5px; }
.filter-chip { border: 1px solid #e8edeb; border-radius: 5px; background: #fff; padding: 7px 9px; color: #77847c; font-size: 9px; cursor: pointer; }
.filter-chip.active { border-color: #b9d9c8; color: var(--green); background: #f0f8f3; }
.filter-chip span { margin-left: 5px; color: #a2aaa5; font: 8px var(--mono); }
.search-box { margin-left: auto; height: 31px; border: 1px solid #e8edeb; border-radius: 5px; display: flex; align-items: center; padding: 0 8px; gap: 6px; color: #9da8a2; }
.search-box input { width: 155px; outline: 0; border: 0; color: #536159; font-size: 9px; }
.search-box input::placeholder { color: #adb6b1; }
.search-box kbd { border: 1px solid #e8edeb; border-radius: 3px; background: #f8faf9; padding: 2px 4px; font: 8px var(--mono); color: #a5aea9; }
.filter-button { background: #fff; border: 1px solid #e8edeb; border-radius: 5px; padding: 8px 9px; color: #738077; font-size: 9px; cursor: pointer; }
.filter-button span { margin-left: 7px; }
.screener-table { min-width: 900px; }
.screener-table thead { background: #fafbfa; }
.screener-table th { text-align: right; padding: 10px 12px; color: #8b9790; font-size: 8px; font-weight: 500; border-top: 1px solid #eff2f0; border-bottom: 1px solid #eff2f0; }
.screener-table th:first-child, .screener-table td:first-child { text-align: center; padding-left: 14px; width: 42px; }
.screener-table th:nth-child(2), .screener-table td:nth-child(2) { text-align: left; }
.screener-table td { text-align: right; padding: 10px 12px; color: #58665e; font: 9px var(--mono); border-bottom: 1px solid #f0f2f1; }
.screener-table tbody tr:hover { background: #f9fbfa; }
.screener-table td:nth-child(2) { min-width: 200px; }
.screener-table .stock-ident small { max-width: 150px; }
.screener-table .stock-cell .ticker-icon { width: 25px; height: 25px; }
.rank-cell { color: #9ea8a2 !important; }
.ratio-cell { font-weight: 500; color: #23815d !important; }
.ratio-bar { display: inline-block; width: 34px; height: 3px; vertical-align: middle; margin-left: 7px; background: #e8efea; border-radius: 3px; overflow: hidden; }
.ratio-bar i { display: block; height: 100%; background: #70b28c; border-radius: 3px; }
.row-star { width: 25px; border: 0; background: none; color: #bdc6c0; font-size: 16px; cursor: pointer; }
.row-star.saved { color: #d2a54f; }
.info-dot { display: inline-grid; place-items: center; width: 12px; height: 12px; border: 1px solid #bcc7c0; border-radius: 50%; font: 8px var(--sans); }
.table-pagination { display: flex; align-items: center; justify-content: space-between; padding: 12px 19px; color: #99a39d; font-size: 8px; }
.table-pagination div { display: flex; align-items: center; gap: 3px; }
.table-pagination button { min-width: 24px; height: 24px; border: 1px solid #e9eeeb; background: #fff; border-radius: 4px; color: #7d8982; font-size: 9px; cursor: pointer; }
.table-pagination button:disabled { color: #c2cac5; }
.table-pagination button.page-current { background: #eaf4ee; color: var(--green); border-color: #d9ebe0; }
.table-pagination div>span { padding: 0 4px; }
.disclaimer { display: flex; gap: 8px; padding: 11px 13px; border: 1px solid #eee9dc; border-radius: 6px; margin-top: 12px; background: #fbfaf6; color: #9b9176; font-size: 8px; line-height: 1.7; }
.disclaimer>span:first-child { font-size: 12px; color: #b79d61; }
.disclaimer strong { color: #88784f; font-weight: 600; }
.full-holdings-card { padding: 23px 24px 10px; }
.holdings-page-head { align-items: center; }
.primary-button { border: 0; border-radius: 5px; background: var(--green); color: #fff; padding: 9px 12px; font-size: 9px; cursor: pointer; transition: background .15s; }
.primary-button:hover { background: var(--green-dark); }
.holdings-value-cards { display: grid; grid-template-columns: repeat(4, 1fr); margin: 22px 0 16px; background: #f8faf9; border: 1px solid #eef1ef; border-radius: 6px; }
.holdings-value-cards>div { padding: 14px 16px; border-right: 1px solid #eef1ef; display: grid; gap: 8px; }
.holdings-value-cards>div:last-child { border: 0; }
.holdings-value-cards span { color: #8c9891; font-size: 9px; }
.holdings-value-cards strong { font: 11px var(--mono); color: #36473d; }
.holdings-value-cards strong small { font-size: 9px; }
.period-toolbar { display: flex; align-items: center; gap: 15px; margin: 9px 0 2px; color: #89948e; font-size: 9px; }
.holdings-periods { border: 0; }
.holdings-periods button { padding-top: 10px; }
.full-holdings-table { margin-top: 12px; }
.full-holdings-table th { padding-bottom: 12px; }
.full-holdings-table td { padding-top: 14px; padding-bottom: 14px; }
.empty-footnote { text-align: center; color: #a0aaa4; font-size: 8px; padding: 14px 0 5px; }
.empty-table-message { padding: 28px 12px !important; text-align: center !important; color: #98a39c !important; font: 10px var(--sans) !important; white-space: normal !important; }
.holding-error { padding: 14px 8px !important; color: #a46d51 !important; font: 9px var(--sans) !important; }
.holding-error .stock-cell { display: inline-flex; margin-right: 9px; }
.holding-action { border: 0; background: transparent; color: var(--green); padding: 3px 5px; font-size: 8px; cursor: pointer; }
.holding-action.remove { color: #b77b70; }
.loading-row { min-height: 50px; padding: 16px 4px; color: #98a39c; font-size: 9px; line-height: 1.6; }
.watchlist-card, .journal-card { padding: 23px 24px; min-height: 300px; }
.watchlist-body { margin-top: 20px; }
.watchlist-row { display: grid; grid-template-columns: minmax(180px, 1fr) 130px 120px 120px 40px; align-items: center; gap: 12px; border-bottom: 1px solid #eff2f0; padding: 12px 8px; }
.watchlist-row.header { color: #98a29c; font-size: 8px; padding-top: 10px; padding-bottom: 9px; }
.watchlist-row:not(.header) { font: 10px var(--mono); color: #5b6960; }
.watchlist-row .watch-price { color: #35473d; }
.watchlist-row button { border: 0; background: none; color: #bdc5c0; cursor: pointer; font-size: 15px; }
.watchlist-empty { padding: 55px 15px; display: grid; justify-items: center; text-align: center; }
.watchlist-empty>span { color: #9fc3ad; font-size: 26px; }
.watchlist-empty strong { margin-top: 9px; font-size: 12px; }
.watchlist-empty p { color: #929e96; font-size: 10px; }
.watchlist-empty .primary-button { margin-top: 6px; }
.journal-prompt { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 14px; background: #f7faf8; border: 1px solid #eef2ef; border-radius: 6px; }
.journal-prompt>span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 7px; background: #e7f3eb; color: #4d9b71; font-size: 17px; }
.journal-prompt>div { flex: 1; }
.journal-prompt strong { font-size: 10px; }
.journal-prompt p { margin: 5px 0 0; color: #929e96; font-size: 9px; }
.journal-prompt button { border: 0; background: none; color: var(--green); cursor: pointer; font-size: 9px; }
.journal-list { margin-top: 17px; }
.journal-entry { padding: 13px 5px; border-bottom: 1px solid #eff2f0; }
.journal-entry time { color: #9ca69f; font: 8px var(--mono); }
.journal-entry strong { margin-left: 12px; font-size: 10px; }
.journal-entry p { margin: 7px 0 0; color: #7e8a82; font-size: 9px; line-height: 1.6; }
.toast { position: fixed; z-index: 10; left: 50%; bottom: 24px; transform: translate(-50%, 15px); opacity: 0; pointer-events: none; background: #293b31; color: #fff; border-radius: 6px; padding: 10px 15px; box-shadow: 0 5px 20px #1c2b2260; font-size: 10px; transition: .22s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.auth-screen { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; overflow-y: auto; background: #f5f7f6; padding: 22px; }
.auth-screen.hidden { display: none; }
.auth-card { width: min(100%, 410px); background: #fff; border: 1px solid #e7ede9; border-radius: 12px; padding: 33px 34px 25px; box-shadow: 0 14px 45px #26392e12; }
.auth-brand { width: fit-content; padding: 0; margin-bottom: 38px; }
.auth-card>.section-kicker { margin-bottom: 8px; }
.auth-card h1 { margin: 0 0 8px; font-size: 21px; }
.auth-description { color: #89958e; font-size: 10px; line-height: 1.7; margin: 0 0 23px; }
.auth-card form { display: grid; gap: 8px; }
.auth-card form label { color: #536159; font-size: 9px; font-weight: 600; margin-top: 4px; }
.auth-card form input { height: 39px; border: 1px solid #e5ebe7; border-radius: 5px; background: #fff; outline: none; padding: 0 11px; color: #314239; font-size: 10px; }
.auth-card form input:focus { border-color: #7eb493; box-shadow: 0 0 0 3px #eaf5ee; }
.auth-card form input::placeholder { color: #aab3ae; }
.auth-submit { width: 100%; height: 38px; margin-top: 10px; font-weight: 600; }
.auth-submit:disabled { opacity: .65; cursor: wait; }
.auth-status { min-height: 15px; margin: 11px 0 3px; color: #558568; font-size: 9px; line-height: 1.65; }
.auth-status.error { color: #bc665b; }
.auth-mode-toggle { border: 0; background: transparent; color: var(--green); padding: 6px 0; font-size: 9px; cursor: pointer; }
.auth-security-note { border-top: 1px solid #eef1ef; margin-top: 20px; padding-top: 13px; color: #97a19b; font-size: 8px; line-height: 1.7; }
.auth-security-note span { margin-right: 5px; color: #63a27b; }
@media (max-width: 1180px) {
  .sidebar { width: 210px; }
  .main-content { margin-left: 210px; }
  .page-wrap { padding-right: 24px; padding-left: 24px; }
  .topbar { padding: 0 24px; }
  .overview-grid, .bottom-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr); gap: 12px; }
  .portfolio-card, .movers-card, .holdings-card, .checklist-card { padding-left: 15px; padding-right: 15px; }
  .strip-item { padding: 0 13px; }
}
@media (max-width: 900px) {
  .sidebar { width: 66px; padding: 20px 9px 12px; align-items: center; }
  .brand { padding: 0; }
  .brand-copy, .workspace-label, .nav-item:not(.active), .nav-item.active { font-size: 0; }
  .brand-copy, .sidebar .workspace-label, .sidebar-divider, .market-mini, .data-note, .profile-copy, .profile-more, .nav-count { display: none; }
  .primary-nav { width: 100%; margin-top: 36px; }
  .nav-item { justify-content: center; width: 46px; height: 44px; padding: 0; gap: 0; font-size: 0 !important; }
  .nav-icon { font-size: 19px; }
  .profile { justify-content: center; padding: 15px 0 0; }
  .main-content { margin-left: 66px; }
  .overview-grid, .bottom-grid { grid-template-columns: 1fr; }
  .market-strip { overflow-x: auto; }
  .strip-updated { display: none; }
}
@media (max-width: 620px) {
  .topbar { height: 50px; padding: 0 15px; }
  .market-clock span:nth-child(2), .help-button { display: none; }
  .topbar-right { gap: 12px; }
  .page-wrap { padding: 23px 13px 16px; }
  .welcome-row { align-items: flex-start; gap: 14px; }
  .welcome-row p { max-width: 280px; line-height: 1.5; }
  .welcome-row .date-button { font-size: 0; padding: 8px; white-space: nowrap; }
  .date-button>span:first-child { font-size: 12px; margin: 0; }
  .date-chevron { display: none; }
  .market-strip { min-height: 59px; padding: 0 10px; }
  .market-strip-label { padding-right: 8px; }
  .strip-item { padding: 0 10px; }
  .overview-grid, .bottom-grid { gap: 12px; }
  .portfolio-card, .movers-card, .holdings-card, .checklist-card { padding-left: 13px; padding-right: 13px; }
  .portfolio-total { font-size: 21px; }
  .chart-area { height: 167px; }
  .portfolio-chart { height: 142px; }
  .chart-y-labels { height: 142px; }
  .page-footer { gap: 12px; line-height: 1.5; }
  .screener-header { padding: 18px 14px; }
  .screener-header h2 { font-size: 16px; }
  .metric-cards { grid-template-columns: repeat(2, 1fr); }
  .metric-card:nth-child(2) { border-right: 0; }
  .metric-card:nth-child(-n+2) { border-bottom: 1px solid #edf0ee; }
  .metric-card { padding: 11px 13px; }
  .screener-controls { flex-wrap: wrap; padding: 12px; }
  .search-box { order: 3; width: 100%; margin-left: 0; }
  .search-box input { flex: 1; width: auto; }
  .filter-button { margin-left: auto; }
  .full-holdings-card, .watchlist-card, .journal-card { padding: 17px 13px; }
  .holdings-value-cards { grid-template-columns: repeat(2, 1fr); }
  .holdings-value-cards>div:nth-child(2) { border-right: 0; }
  .holdings-value-cards>div:nth-child(-n+2) { border-bottom: 1px solid #eef1ef; }
  .holdings-page-head { align-items: flex-start; }
  .watchlist-row { min-width: 650px; }
  .watchlist-card { overflow: hidden; }
}
