:root{color:#172026;background:#f3f5f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f3f5f6;margin:0}.app-shell{min-height:100vh;padding:20px}.app-header{border-bottom:1px solid #d9e0e3;justify-content:space-between;align-items:center;gap:16px;max-width:1280px;margin:0 auto;padding-bottom:14px;display:flex}.eyebrow{color:#5f6f78;letter-spacing:0;text-transform:uppercase;margin:0 0 4px;font-size:12px}h1{margin:0;font-size:28px;line-height:1.15}.header-meta{color:#52616b;white-space:nowrap;font-size:13px}.toolbar,.summary-band,.allocation-panel,.content-grid{max-width:1280px;margin:18px auto 0}.toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.segments{flex-wrap:wrap;gap:8px;display:flex}button,input{color:#172026;min-height:38px;font:inherit;background:#fff;border:1px solid #c8d1d6;border-radius:6px}button{cursor:pointer;padding:0 12px}button.active,.stock-card.active{background:#ecf5f1;border-color:#0e5b45}.search-field{min-width:min(320px,100%)}.search-field input{width:100%;padding:0 12px}.summary-band{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.summary-band>div,.allocation-panel,.detail-panel,.stock-card,.empty-panel{background:#fff;border:1px solid #d8dfe3;border-radius:8px;padding:16px}.summary-band>div,.detail-grid>div{gap:6px;display:grid}.summary-band span,.allocation-copy span,.allocation-field span,.detail-grid span,.stock-card small,.empty-panel span{color:#5a6973;font-size:13px;line-height:1.4}.summary-band strong,.allocation-copy strong,.detail-grid strong{font-size:20px;line-height:1.2}.allocation-panel{grid-template-columns:minmax(0,1fr) 280px;align-items:end;gap:16px;display:grid}.allocation-copy,.allocation-field{gap:6px;display:grid}.allocation-copy p{color:#34424b;margin:0;font-size:14px;line-height:1.5}.allocation-field input{padding:0 12px}.content-grid{grid-template-columns:minmax(300px,420px) minmax(0,1fr);align-items:start;gap:16px;display:grid}.stock-list{gap:10px;display:grid}.list-panel,.detail-panel{min-height:320px}.stock-card{text-align:left;gap:6px;width:100%;display:grid}.stock-card-row,.detail-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.stock-ticker{color:#52616b;font-size:13px}.stock-card-title,.stock-card-facts{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.priority-chip,.stock-card-facts span{color:#314049;background:#eef2f4;border-radius:999px;align-items:center;min-height:22px;padding:0 7px;font-size:12px;font-weight:600;display:inline-flex}.stock-card-views{gap:2px;display:grid}.stock-card-allocation{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.runaway-note{color:#8a6410;gap:2px;display:grid}.signal-chip{color:#314049;background:#eef2f4;border-radius:999px;justify-content:center;align-items:center;min-height:24px;padding:0 8px;font-size:12px;font-weight:600;display:inline-flex}.signal-buy{color:#0e5b45;background:#e7f5ef}.signal-hold{color:#44535c;background:#eef2f4}.signal-watch{color:#8a6410;background:#f4f0e4}.signal-reduce{color:#9d3a33;background:#f8e9e8}.price-freshness,.freshness-chip{border-radius:999px;align-items:center;gap:6px;width:fit-content;padding:2px 8px;font-size:12px;font-weight:600;line-height:1.35;display:inline-flex}.price-freshness{justify-content:space-between;max-width:100%}.price-freshness time{font-weight:500}.price-ok{color:#0e5b45;background:#e7f5ef}.price-stale{color:#8a6410;background:#f4f0e4}.price-failed{color:#9d3a33;background:#f8e9e8}.detail-panel{gap:16px;display:grid}.detail-heading h2,.detail-heading p,.empty-panel strong,.empty-panel span,.stock-card strong{margin:0}.detail-heading h2{font-size:24px;line-height:1.2}.detail-heading p,.detail-thesis{color:#4f5f68;margin:0;font-size:14px;line-height:1.5}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.detail-section{border-top:1px solid #edf1f2;gap:8px;padding-top:12px;display:grid}.detail-section h3,.detail-section p,.detail-row strong,.detail-row span{margin:0}.detail-section h3{color:#172026;font-size:13px;line-height:1.3}.detail-section p,.detail-row span,.source-list a{color:#4f5f68;font-size:13px;line-height:1.45}.detail-list{gap:8px;display:grid}.detail-row{background:#fbfcfc;border:1px solid #edf1f2;border-radius:8px;gap:3px;padding:10px;display:grid}.detail-row strong{color:#172026;font-size:13px;line-height:1.35}.source-list{flex-wrap:wrap;gap:8px;display:flex}.source-list a{border:1px solid #d8dfe3;border-radius:999px;padding:4px 9px;text-decoration:none}.empty-panel{align-content:center;gap:8px;display:grid}.private-panel{background:#fff;border:1px solid #d8dfe3;border-radius:8px;gap:16px;max-width:1280px;margin:18px auto 0;padding:16px;display:grid}.private-panel-header{justify-content:space-between;align-items:start;gap:12px;display:flex}.private-panel-header h2,.private-panel-header p,.private-editor span,.private-field span,.alert-row-copy strong,.alert-row-copy span,.private-feedback,.private-kv span,.private-kv strong{margin:0}.private-panel-header p,.private-editor span,.private-field span,.alert-row-copy span,.private-feedback,.private-kv span{color:#5a6973;font-size:13px;line-height:1.5}.private-form,.private-field,.private-editor,.private-sidecar{gap:10px;display:grid}.private-form{grid-template-columns:minmax(0,320px) auto;align-items:end}.private-field input,.private-editor textarea{width:100%;padding:10px 12px}.report-content{min-height:22rem;overflow:auto}.report-content pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:0;line-height:1.6}button.view-card{width:100%;color:inherit;text-align:left;cursor:pointer}button.view-card.active{border-color:var(--accent)}.private-editor textarea{color:#172026;resize:vertical;border:1px solid #c8d1d6;border-radius:6px;min-height:300px;font:13px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}.private-grid{grid-template-columns:minmax(0,1fr) 240px;align-items:start;gap:16px;display:grid}.private-sidecar,.private-kv{background:#fbfcfc;border:1px solid #edf1f2;border-radius:8px;padding:12px}.private-kv strong{color:#172026;font-size:20px;line-height:1.2;display:block}.alert-list,.view-list,.report-list{gap:10px;display:grid}.view-card{background:#fbfcfc;border:1px solid #edf1f2;border-radius:8px;gap:12px;padding:12px;display:grid}.view-card p{color:#4f5f68;margin:0;font-size:14px;line-height:1.5}.curve-strip{flex-wrap:wrap;gap:8px;display:flex}.curve-strip span{color:#4f5f68;border:1px solid #d8dfe3;border-radius:999px;padding:4px 9px;font-size:12px;line-height:1.35}.reports-grid{grid-template-columns:minmax(260px,360px) minmax(0,1fr);align-items:start;gap:16px;display:grid}.report-markdown{color:#172026;white-space:pre-wrap;background:#fbfcfc;border:1px solid #edf1f2;border-radius:8px;min-height:420px;margin:0;padding:14px;font:13px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}.alert-row{border:1px solid #edf1f2;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:12px;display:flex}.alert-row-copy,.alert-row-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.alert-row-actions label{color:#34424b;align-items:center;gap:8px;font-size:14px;display:inline-flex}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=860px){.toolbar,.stock-card-row,.detail-heading,.app-header,.private-panel-header,.alert-row{flex-direction:column;align-items:stretch}.allocation-panel,.content-grid,.summary-band,.detail-grid,.private-grid,.private-form,.reports-grid{grid-template-columns:1fr}.search-field{width:100%;min-width:0}.alert-row-actions{justify-content:space-between}}@media (width<=560px){.app-shell{padding:16px}h1{font-size:24px}}
