:root{color:#18202f;background:#f4f7f3;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #18202f;--muted: #667085;--panel: #ffffff;--line: #d8dfd5;--green: #198754;--amber: #b7791f;--red: #c2410c;--blue: #2563eb}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}.app-shell{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:32px 0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.topbar-actions{display:flex;align-items:center;gap:10px}h1,h2,p{margin:0}h1{font-size:32px;line-height:1.1}h2{font-size:20px;line-height:1.2}.eyebrow{color:var(--muted);font-size:12px;font-weight:700;letter-spacing:0;text-transform:uppercase}.status-pill,.rating{display:inline-flex;align-items:center;gap:8px;min-height:36px;border-radius:8px;padding:8px 12px;font-size:14px;font-weight:700}.status-pill{border:1px solid var(--line);background:#eef5ed}.icon-button{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--panel);cursor:pointer}.icon-button:hover{border-color:#9ab0d8;color:var(--blue)}.notice{margin-bottom:16px;border:1px solid #f1c27d;border-radius:8px;background:#fff8e7;padding:12px 14px;color:#7a4b00;font-weight:700}.dashboard-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:16px}.stock-panel{border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:22px;box-shadow:0 12px 36px #18202f14}.watchlist-panel{align-self:start}.stock-list{display:grid;gap:10px}.empty-state{display:grid;gap:6px;border:1px dashed var(--line);border-radius:8px;background:#f9fbf8;padding:16px;color:var(--muted);line-height:1.45}.empty-state strong{color:var(--ink)}.stock-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(92px,auto) auto;align-items:center;gap:12px;width:100%;border:1px solid var(--line);border-radius:8px;background:#f9fbf8;padding:12px;color:var(--ink);text-align:left;cursor:pointer}.stock-row:hover{border-color:#9ab0d8}.stock-row.selected{border-color:var(--blue);background:#eef4ff}.stock-row span,.stock-row small{min-width:0}.stock-row small{display:block;overflow:hidden;margin-top:3px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.row-metrics{text-align:right}.positive-text{color:#137849}.negative-text{color:#a23a12}.stock-heading,.panel-title,.price-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.panel-title{justify-content:flex-start;margin-bottom:18px}.rating.hold{color:#7a4b00;background:#fff5d6}.rating.buy-rating{color:#0f5f3c;background:#dff6ea}.rating.sell-rating{color:#8a2c0d;background:#fff1e8}.rating.unrated-rating{color:#475467;background:#eef2f6}.price-row{justify-content:flex-start;margin:24px 0 14px}.price{font-size:42px;font-weight:800;line-height:1}.move{border-radius:8px;padding:6px 10px;font-weight:800}.move.negative{color:#8a2c0d;background:#fff1e8}.move.positive{color:#0f5f3c;background:#e3f7ed}.summary{max-width:680px;color:var(--muted);line-height:1.55}.range-bar{display:grid;grid-template-columns:1fr 1.25fr 1.8fr 1.1fr 1fr;overflow:hidden;min-height:42px;margin:24px 0;border-radius:8px;color:#fff;font-size:13px;font-weight:800}.range-bar span{display:grid;place-items:center}.cheap{background:#0f766e}.buy{background:var(--green)}.hold-zone{background:var(--amber)}.sell{background:var(--red)}.hard-sell{background:#7c2d12}.zone-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.zone-grid div{border:1px solid var(--line);border-radius:8px;padding:12px}.zone-grid span,.factor-row span{display:block;color:var(--muted);font-size:13px}.zone-grid strong{display:block;margin-top:4px}.score-strip,.metric-grid,.zone-table{display:grid;gap:12px}.score-strip{grid-template-columns:repeat(4,1fr);margin-top:22px}.score-strip.compact{grid-template-columns:repeat(3,1fr);margin:0 0 18px}.metric-grid{grid-template-columns:repeat(4,1fr)}.metric-tile,.zone-table div{border:1px solid var(--line);border-radius:8px;background:#f9fbf8;padding:12px}.metric-tile span,.zone-table span,.factor-detail-row span,.news-list small{display:block;color:var(--muted);font-size:13px}.metric-tile strong,.zone-table strong{display:block;margin-top:4px;line-height:1.25}.zone-table{grid-template-columns:repeat(5,1fr)}.detail-note{margin-top:16px;border:1px solid #f1c27d;border-radius:8px;background:#fff8e7;padding:10px 12px;color:#7a4b00;font-size:14px;font-weight:700}.factor-panel{display:flex;flex-direction:column;gap:14px}.factor-row{display:grid;grid-template-columns:84px 1fr 36px;align-items:center;gap:12px}.factor-track{overflow:hidden;height:10px;border-radius:999px;background:#e8eee5}.factor-track div{height:100%;border-radius:inherit;background:var(--blue)}.factor-detail-row{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(160px,1fr) 38px;align-items:center;gap:14px}.factor-detail-row small{display:block;margin-top:4px;color:var(--muted);line-height:1.4}.news-list{display:grid;gap:10px}.news-list a{display:grid;gap:6px;border:1px solid var(--line);border-radius:8px;background:#f9fbf8;padding:12px;color:var(--ink);text-decoration:none}.news-list a:hover{border-color:#9ab0d8}.impact{width:fit-content;border-radius:8px;padding:4px 8px;font-size:12px;font-weight:800;text-transform:uppercase}.impact.positive{color:#0f5f3c;background:#dff6ea}.impact.neutral{color:#475467;background:#eef2f6}.impact.negative{color:#8a2c0d;background:#fff1e8}.quality-meter{overflow:hidden;height:12px;margin-bottom:18px;border-radius:999px;background:#e8eee5}.quality-meter div{height:100%;border-radius:inherit;background:linear-gradient(90deg,#c2410c,#b7791f 45%,#198754)}.decision-list{display:grid;gap:12px;padding:0;margin:0;color:var(--muted);line-height:1.5;list-style-position:inside}footer{display:flex;align-items:center;gap:8px;margin-top:18px;color:var(--muted);font-size:14px}@media(max-width:820px){.topbar,.topbar-actions,.stock-heading{align-items:flex-start;flex-direction:column}.dashboard-grid,.zone-grid,.score-strip,.score-strip.compact,.metric-grid,.zone-table{grid-template-columns:1fr}.price{font-size:36px}.stock-row{grid-template-columns:1fr}.row-metrics{text-align:left}.factor-detail-row{grid-template-columns:1fr}}
