:root { --tool-line: rgba(0,0,0,.16); --tool-fill: #f6f6f6; --tool-text: #111; --tool-muted: #6d6d6d; }
.research-intro,.research-events{margin-bottom:20px}.research-tasks{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.research-tasks button{flex:1;min-width:150px}.research-heading,.research-card-head{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.research-heading{margin:24px 0 14px}.research-heading h2,.research-card-head h2,.research-card-head h3{margin:0}.research-heading>div{flex:1;min-width:180px}.research-reports{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:16px;margin-bottom:20px}.research-report{min-width:0}.research-event{padding:20px 0;border-top:1px solid var(--tool-line)}.research-event:first-of-type{margin-top:16px}.research-event h3{margin:0;overflow-wrap:anywhere}.research-report .table-scroll{margin:16px 0}.financial-comparison{min-width:430px}.financial-comparison th,.financial-comparison td{vertical-align:top;font-variant-numeric:tabular-nums}.financial-comparison small,.research-events small,.tool-grid small{display:block;font-size:11px;font-weight:400;color:var(--tool-muted);margin-top:6px}.research-observations{padding-left:20px}.research-pagination{justify-content:center;margin-top:20px}.research-pagination span{align-self:center;font-variant-numeric:tabular-nums}.research-tasks button,.research-report .tool-actions button{border-radius:999px}@media(max-width:480px){.research-tasks{display:grid;grid-template-columns:1fr 1fr}.research-tasks button{min-width:0;padding:10px 8px}.research-heading{align-items:flex-start}.research-card-head h3{font-size:16px}.research-reports{display:block}.research-report{margin-bottom:16px}}
:root[data-theme="dark"] { --tool-line: rgba(255,255,255,.2); --tool-fill: #161616; --tool-text: #f4f4f4; --tool-muted: #aaa; }
* { box-sizing: border-box; }
body.investor-page { margin: 0; background: var(--bg, #fff); color: var(--tool-text); font: 14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; }
button,input,select,textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button,.tool-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--tool-line); border-radius: 13px; background: var(--tool-fill); cursor: pointer; transition: transform 180ms var(--ease-apple),opacity 180ms; }
button:active { transform: scale(.985); } button:disabled { opacity: .45; cursor: default; }
button.primary { background: var(--tool-text); color: var(--bg,#fff); border-color: var(--tool-text); }
button.danger { color: #d34a4a; } button:focus-visible,a:focus-visible { outline: 2px solid var(--tool-text); outline-offset: 3px; }
.investor-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1240px; margin: auto; padding: 24px 24px 12px; }
.investor-brand,.investor-header nav { display: flex; align-items: center; gap: 20px; }.investor-brand { gap: 10px; }
.investor-main { max-width: 1240px; margin: auto; padding: 20px 24px 80px; }
.investor-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; } h1 { font-size: 28px; margin: 0; letter-spacing: -.6px; } h2 { font-size: 18px; margin: 0 0 10px; } h3 { font-size: 15px; margin: 0 0 8px; }
p { margin: 6px 0 12px; } .muted,.help,.investor-title p { color: var(--tool-muted); }.help { font-size: 12px; }
#toolFeedback { min-height: 22px; font-size: 13px; } #toolFeedback.error { color: #d34a4a; }
.tool-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }.tool-summary div { padding: 14px 16px; border: 1px solid var(--tool-line); border-radius: 18px; }.tool-summary span { display: block; color: var(--tool-muted); font-size: 12px; }.tool-summary strong { display: block; font-size: 22px; margin-top: 4px; }
.investor-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 4px; margin-bottom: 20px; border: 1px solid var(--tool-line); border-radius: 18px; }.investor-tabs button { flex: 1 0 auto; background: transparent; border-color: transparent; white-space: nowrap; }.investor-tabs [aria-selected="true"] { background: var(--tool-fill); border-color: var(--tool-line); }
.tool-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }.tool-card { border: 1px solid var(--tool-line); border-radius: 20px; padding: 18px; margin-bottom: 16px; background: var(--panel,var(--bg,#fff)); overflow-wrap: anywhere; }.tool-card.wide { grid-column: 1/-1; }
.tool-form { display: grid; gap: 12px; }.form-row { display: flex; gap: 10px; flex-wrap: wrap; }.form-row > label { flex: 1; min-width: 120px; } label { display: grid; gap: 5px; font-size: 12px; color: var(--tool-muted); } input,select,textarea { width: 100%; min-height: 44px; border: 1px solid var(--tool-line); border-radius: 12px; padding: 10px 12px; background: var(--tool-fill); color: var(--tool-text); } textarea { min-height: 88px; resize: vertical; } input[type="checkbox"] { width: 18px; min-height: 18px; } .check { display: flex; align-items: center; gap: 8px; }
.tool-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }.tool-value { font-size: 22px; font-weight: 600; }.facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.facts span { color: var(--tool-muted); font-size: 12px; display: block; }.facts strong { font-size: 15px; }
.table-scroll { overflow-x: auto; } table { width: 100%; border-collapse: collapse; font-size: 12px; } th,td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--tool-line); font-variant-numeric: tabular-nums; } th { color: var(--tool-muted); font-weight: 500; white-space: nowrap; } .nowrap { white-space: nowrap; }
.tool-list > article { padding: 14px 0; border-bottom: 1px solid var(--tool-line); }.tool-list > article:last-child { border: 0; }.warning { padding: 10px 12px; border: 1px solid var(--tool-line); border-radius: 12px; color: var(--tool-muted); font-size: 12px; }.pill { display: inline-block; padding: 2px 8px; border: 1px solid var(--tool-line); border-radius: 999px; font-size: 11px; margin-right: 6px; }
.source-links { display: flex; gap: 10px; flex-wrap: wrap; }.source-links a { text-decoration: underline; font-size: 12px; }.report-block { border-top: 1px solid var(--tool-line); padding-top: 14px; margin-top: 14px; }
.panel-enter { animation: panel-enter 260ms var(--ease-apple); }@keyframes panel-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
:is(body.app-embed,html[data-app-embed="1"] body) .investor-header,:is(body.app-embed,html[data-app-embed="1"] body) .investor-title { display: none; } :is(body.app-embed,html[data-app-embed="1"] body) .investor-main { padding: 0 16px 32px; } :is(body.app-embed,html[data-app-embed="1"] body) #toolFeedback { min-height:20px; margin:0 0 4px; } :is(body.app-embed,html[data-app-embed="1"] body) #toolFeedback:empty { visibility:hidden; } :is(body.app-embed,html[data-app-embed="1"] body) .tool-summary { margin-top: 8px; }
[hidden] { display: none !important; }
.tool-card,.tool-form,label,input,select,textarea { min-width:0; }
th,td { white-space:nowrap; }
@media(max-width:700px) { .tool-grid { grid-template-columns:minmax(0,1fr); } }
@media print { :root,:root[data-theme="dark"] { --bg:#fff; --panel:#fff; --tool-text:#000; --tool-muted:#444; --tool-line:#ccc; --tool-fill:#fff; } #calendarReminder { display:none !important; } }
@media(max-width:700px) { .investor-header nav { gap: 12px; font-size: 12px; }.investor-header { padding: 16px; }.investor-main { padding: 16px 16px 64px; }.tool-grid { grid-template-columns: 1fr; }.tool-card { padding: 14px; border-radius: 18px; }.tool-summary { gap: 8px; }.tool-summary div { padding: 10px; }.tool-summary strong { font-size: 17px; } h1 { font-size: 24px; }.investor-tabs { gap: 0; }.investor-tabs button { padding: 8px 12px; }.facts { gap: 8px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation: none !important; transition: none !important; } }
@media print { body.investor-page { background: #fff; color: #000; }.investor-header,.investor-title,.investor-tabs,.tool-summary,#toolFeedback,.tool-actions,button { display: none !important; } body.print-report #toolsContent > :not(#toolPanel) { display: none; } body.print-report #toolPanel > :not(.report-print) { display: none; } .investor-main { padding: 0; max-width: none; }.tool-card { border: 0; padding: 0; }.report-block { break-inside: avoid; } }

/* Use the same quiet glass edges and controls as the portfolio; no scroll-time blur. */
:root { --tool-line: rgba(0,0,0,.20); --tool-fill: var(--control-bg); --tool-text: var(--text); --tool-muted: var(--muted); }
:root[data-theme="dark"] { --tool-line: rgba(255,255,255,.12); --tool-fill: var(--control-bg); --tool-text: var(--text); --tool-muted: var(--muted); }
body.investor-page { line-height:1.5; -webkit-tap-highlight-color:transparent; }
.tool-summary { grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:12px; margin:8px 0; }
.tool-summary > div,.tool-card { background:linear-gradient(128deg,color-mix(in srgb,var(--glass-sheen) 18%,transparent),transparent 52%),var(--panel); box-shadow:0 1px 3px rgba(0,0,0,.04); border-radius:18px; }
.tool-summary strong,.tool-value { font-size:24px; font-weight:650; letter-spacing:-.5px; font-variant-numeric:tabular-nums; }
.tool-summary span,.tool-summary small { display:block; color:var(--tool-muted); font-size:11px; }
.tool-summary small { margin-top:4px; }
.tool-valuation-note { margin:8px 0 16px; font-size:11px; }
.tool-grid { gap:12px; }
.tool-grid > .tool-card { margin-bottom:0; }
.tool-card { padding:14px; }
.tool-card h2 { font-size:17px; font-weight:650; margin-bottom:12px; }
.tool-card h3 { font-size:14px; }
button,.tool-button { border-radius:999px; font-size:13px; background:var(--control-bg); transition:transform var(--motion-fast) var(--ease-apple),opacity var(--motion-fast); touch-action:manipulation; }
button.primary { background:var(--control-selected); color:var(--control-text); border-color:var(--tool-line); font-weight:650; }
.investor-tabs { border:0; background:var(--control-track); border-radius:999px; scrollbar-width:none; overscroll-behavior-x:contain; margin:16px 0; }
.investor-tabs::-webkit-scrollbar { display:none; }
.investor-tabs button { font-size:12px; min-height:38px; padding:6px 14px; }
.investor-tabs [aria-selected="true"] { background:var(--control-selected); box-shadow:0 1px 3px rgba(0,0,0,.06); }
input,select,textarea { border-radius:14px; font-size:14px; line-height:1.35; background:var(--bg-top); }
.table-scroll { overscroll-behavior-x:contain; }
.facts strong { font-size:14px; font-weight:600; }
.warning { border:0; border-radius:12px; background:var(--bg-top); padding:10px 12px; }
:is(body.app-embed,html[data-app-embed="1"] body) .investor-main { padding:0 16px 24px; }
@media(max-width:480px) { .tool-summary > div { padding:12px; }.tool-summary strong { font-size:22px; }.tool-summary > div:last-child strong { font-size:20px; } }
@media print { .tool-valuation-note { display:none; }.tool-card { background:#fff; box-shadow:none; } }

/* Same 44px inset track and single moving thumb as the native portfolio tabs. */
.investor-tabs { width:100%; height:44px; padding:3px; gap:0; overflow:visible; border:1px solid var(--tool-line); border-radius:999px; background:linear-gradient(128deg,var(--glass-sheen),transparent 52%),var(--panel); }
.investor-tabs > button { flex:1 1 0; min-width:0; min-height:0; height:36px; padding:0 2px; font-size:13px; border:0 !important; background:transparent !important; box-shadow:none !important; color:var(--tool-muted); }
.investor-tabs > button[aria-selected="true"] { color:var(--tool-text); font-weight:650; }
html[lang="en"] .investor-tabs > button { font-size:11px; }
#toolPanel[data-tool-panel="brief"] .tool-list .tool-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
#toolPanel[data-tool-panel="brief"] .tool-list .tool-actions button { width:100%; min-height:40px; padding:6px 12px; font-size:12px; }
#toolPanel[data-tool-panel="brief"] .source-links { align-items:center; }
#toolPanel[data-tool-panel="brief"] .source-links button { min-height:32px; padding:4px 12px; font-size:12px; }
#briefForm > button { justify-self:start; min-height:40px; padding:6px 18px; }
.manual-tool > summary,.import-mapping > summary,.optional-tools > summary { cursor:pointer; color:var(--tool-text); font-size:13px; font-weight:600; min-height:28px; }
.manual-tool[open] > summary,.import-mapping[open] > summary { margin-bottom:12px; }
.optional-tools { margin:-4px 0 16px; padding:0 4px; color:var(--tool-muted); }
.optional-tools .tool-actions { margin:8px 0; }
.import-mapping { padding:10px 12px; border:1px solid var(--tool-line); border-radius:14px; }
.import-mapping .form-row > label { flex:1 1 140px; }
.import-counts { grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; padding:12px 0; }
.import-counts strong { font-size:18px; }
.import-preview .tool-actions > button { width:100%; }
.exposure-heading { margin:16px 0 8px; }
.exposure-top { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.exposure-top article { padding:12px; border:1px solid var(--tool-line); border-radius:14px; background:var(--bg-top); min-width:0; }
.exposure-top span { display:block; font-size:20px; font-weight:650; font-variant-numeric:tabular-nums; }
.exposure-top small { display:block; color:var(--tool-muted); font-size:11px; }
@media(max-width:480px) { .exposure-top { grid-template-columns:minmax(0,1fr); }.exposure-top article { display:grid; grid-template-columns:minmax(0,1fr) auto; padding:10px 12px; align-items:center; }.exposure-top small { grid-column:1/-1; }.exposure-top span { font-size:18px; } }
@media(max-width:480px) { .import-mapping .form-row > label { flex-basis:110px; }.import-counts span { font-size:11px; } }
@media print { .optional-tools { display:none; } }

/* Quiet initial structure while the first account request completes; no shimmer. */
.page-loading{margin:12px 0}.page-loading-metrics{display:grid;grid-template-columns:1.4fr 1fr;gap:12px;margin-bottom:18px}.page-loading-metrics>span{height:130px;border:1px solid var(--tool-line);border-radius:26px;background:var(--liquid-content)}.page-loading-panel{padding:20px;border:1px solid var(--tool-line);border-radius:26px}.page-loading-panel>span{display:block;height:14px;margin:16px 0;border-radius:999px;background:var(--tool-line);opacity:.45}.page-loading-panel>span:nth-child(even){width:70%}

/* Embedded content scrolls over a flat page; reserve live blur for navigation. */
:root:root[data-app-embed="1"] body.investor-page :is(.tool-card,.tool-summary>div) {
  backdrop-filter:none !important; -webkit-backdrop-filter:none !important;
}
/* Retain long reports in the DOM, but skip offscreen layout/paint while scrolling. */
@supports(content-visibility:auto){.daily-research-section:not(.daily-lead),.research-report{content-visibility:auto;contain-intrinsic-size:auto 480px}}
