/* Foresight light technology theme: original cards, crisp type, restrained light. */
:root{--ink:#142f48;--line:#d5e3ef;--accent:#126dba;--cyan:#138a9d;--surface:#fff;--shadow:0 8px 28px #244b7910; background:#f2f7fc;color:var(--ink);font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif}
body{background:radial-gradient(ellipse at 90% 2%,#d9effa90,transparent 30%),radial-gradient(ellipse at 3% 17%,#e3edfc90,transparent 28%),#f2f7fc}
h1,h2,h3,h4{color:#142f48}p{color:#546b80}a{ text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #137cc0;outline-offset:3px}
header{background:#ffffffed;border-bottom:1px solid #e0eaf3;min-height:88px;gap:22px}.brand-icon{filter:drop-shadow(0 5px 9px #126b9625)}.brand-title{color:#142f48}.brand-caption{color:#53728a}.public{color:#587188}
.site-nav{background:#ffffffd9;border-bottom:1px solid #d8e5f0;padding-block:10px;gap:8px;box-shadow:0 5px 20px #2a537804}.site-nav a{padding:10px 15px;font-size:15px;border-radius:8px;color:#436078;text-decoration:none}.site-nav a:hover{background:#edf5fc;color:#1760a0;text-decoration:none}.site-nav a[aria-current=page],.home .site-nav a[aria-current=page]{background:linear-gradient(120deg,#e4f0fe,#e3f5f7);color:#14578f;box-shadow:inset 0 0 0 1px #aacae4;font-weight:650;text-decoration:none}
.account-entry{border-radius:9px;border-color:#225775;background:linear-gradient(125deg,#14374f,#215a78);box-shadow:0 4px 12px #174b711a}.account-entry:hover{background:#215978}.language-switch{border-color:#d3e1ed;background:#f8fbff;color:#345773;border-radius:8px}.language-switch:hover{background:#eaf4ff}header a.nav-link[href="/admin"]{background:#f7fbff;border-color:#d5e3ef;box-shadow:none;border-radius:8px}
main{padding-top:34px}.eyebrow{color:#396f91;font-size:12px;letter-spacing:2px}.market-heading,.themes-heading{margin-bottom:26px}.market-heading h1{font-size:34px}.home a,.recap-link,.source-links a,.weekly-links a,.macro-calendar a,.recap-article a{color:#15688f}.disclosure>summary{color:#527189}.disclosure{margin:18px 0 24px}
.home-hero{position:relative;isolation:isolate;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:60px;padding:28px 0 44px;align-items:center}.home-hero h1{font-size:clamp(40px,4.6vw,62px);line-height:1.2;letter-spacing:-1.8px;color:#15334e;margin:18px 0 22px}.home-hero p{max-width:570px;line-height:1.9}.home-actions{margin-top:26px;gap:24px}.home-primary{border:1px solid #1a5b83;border-radius:10px;background:linear-gradient(120deg,#183b56,#22668c);box-shadow:0 7px 18px #196ba322,inset 0 1px #ffffff24;padding:13px 22px}.home-primary:hover{text-decoration:none!important;box-shadow:0 9px 24px #196ba332}
.home-note{position:relative;overflow:hidden;isolation:isolate;min-width:0;padding:32px;border:1px solid #b7d7ea;border-radius:20px;background:linear-gradient(135deg,#ffffffed,#e6f3ffb8 55%,#e4f7f6b8);box-shadow:0 15px 40px #2977ab14,inset 0 1px #fff;color:#153951}.home-note::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(#639cc317 1px,transparent 1px),linear-gradient(90deg,#639cc317 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(110deg,transparent 30%,#000)}.home-note::after{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,#53b4d0,#639ce3,transparent);pointer-events:none}.home-note h2{font-size:29px;line-height:1.5;margin:15px 0}.home-note p{color:#476982;font-size:15px}.home-note small{color:#53718b;font-size:13px}.home-note a{color:#176892;margin:20px 0}
.home-stats{padding:0;gap:14px;border:0;grid-template-columns:repeat(4,minmax(0,1fr))}.home-stats>div{border:1px solid #d7e6f2;border-radius:12px;padding:20px 22px;background:#ffffffd9;box-shadow:0 4px 16px #315b8310,inset 0 1px #fff;min-width:0}.home-stats strong{font-size:29px;font-weight:600;color:#194f73;letter-spacing:-.7px;overflow-wrap:anywhere}.home-stats span{display:block;margin-top:7px;font-size:14px;color:#587187}
.home-section{margin:40px 0}.home-section-head{margin-bottom:18px}.home-section-head h2{font-size:25px}.home-section-head>a{font-size:14px}.home-caption{font-size:14px;color:#5b7286;margin-bottom:16px}.home-company-grid{gap:16px}.home-recap-grid{gap:20px}.home-theme-grid{gap:16px}
.home-company-card,.home-recap-card,.home-theme-card{position:relative;background:linear-gradient(140deg,#fff,#fbfdff);border:1px solid #d5e4f0;border-radius:14px;box-shadow:var(--shadow),inset 0 1px #fff;padding:24px;min-width:0}.home-company-card:hover,.home-theme-card:hover{border-color:#91c4de;box-shadow:0 10px 30px #2586b519}.home-company-card h3{color:#143f5e;font-size:20px}.home-company-card p,.home-company-card span,.home-theme-card span{font-size:14px}.home-company-card small{font-size:13px;color:#53758d}.home-company-card span{color:#18688f}.home-recap-card{border-top:2px solid #73b6d7}.home-recap-card:nth-child(2){border-top-color:#7b9acb}.home-recap-card h3{color:#193c59;font-size:22px;line-height:1.55}.home-recap-card p{font-size:15px;line-height:1.85}.home-recap-card time{font-size:14px;color:#5d778d}.home-theme-card h3{color:#164263;font-size:20px}.home-theme-card p{font-size:15px}
.market-tabs{padding:6px;border:1px solid #d7e5f0;border-radius:12px;background:#eaf2fa;gap:6px;box-shadow:inset 0 1px #fff;display:flex;width:fit-content;max-width:100%}.market-tabs button{padding:11px 18px;background:transparent;border:1px solid transparent;border-radius:8px;color:#3e617b;font-size:15px}.market-tabs button:hover{background:#f9fcff}.market-tabs button[aria-pressed=true]{background:linear-gradient(130deg,#20435f,#24698b);color:#fff;border-color:#285675;box-shadow:0 4px 12px #2d648523}.market-surface,.macro-calendar,.recap-article{border:1px solid #d1e2ef;border-radius:16px;padding:26px;background:#fff;box-shadow:var(--shadow)}.surface-head h2{font-size:24px}.surface-head button{border-radius:8px;background:#f8fbff;border-color:#cfdfed;color:#375e7b}.quote-widget{border-radius:10px}.recap-controls select{border-radius:9px;border-color:#cbdfee}.recap-metric{background:linear-gradient(135deg,#f7fbff,#fff);border-color:#dbe7f1;border-radius:10px}.recap-metric strong{color:#164765}.recap-metric small{color:#5c7286;font-size:13px}.recap-status{border-radius:9px}.freshness{border-radius:9px}
.weekly-focus{padding:26px;border:1px solid #d4e4f0;border-top:2px solid #64b4c7;border-radius:16px;box-shadow:var(--shadow);background:#fff}.weekly-grid{gap:0 24px}.weekly-event{border-top-color:#dfeaf2}.weekly-event h3{color:#20455f}.weekly-event p{font-size:15px;color:#5a7185}.weekly-time>span{color:#347987}.weekly-note{color:#5b7183}.weekly-event small{font-size:13px;color:#5e778d}
.universe,.detail,.theme-detail,.earnings-calendar,.val-panel{border:1px solid #d2e3f0;border-radius:14px;box-shadow:var(--shadow);background:#fff}.universe{background:#fbfdff}.stock{border-radius:8px}.stock.selected{background:linear-gradient(115deg,#edf5ff,#edf9f8);border-color:#b5d7e6}.search{border-radius:8px;background:#f0f6fb;border-color:#d9e7f1}.price-strip{background:linear-gradient(110deg,#15374f,#20536e)}.tabs button.active{color:#1b597e;border-bottom-color:#309bae}.scenario{border-radius:10px;background:#f7faff}.scenario.base{background:#edf9f6;border-color:#add7ca}.research-lens{background:#eef5fb;border:1px solid #dae8f3;border-radius:10px}.theme-menu>a{border-radius:10px;border-color:#d6e5f1}.theme-menu>a[aria-current=true]{background:#edf7fc;border-color:#9ac8df}.theme-intro{background:linear-gradient(110deg,#eaf4fe,#eaf7f7)}.theme-chain article{border-radius:8px;border-top-color:#5facc0;background:#f3f8fc}.theme-companies a,.theme-featured a{border-radius:7px}.earnings-day h3{background:#edf5fc;border-radius:8px}.earnings-state{background:#e9f7f2}
.val-models button,.val-actions button{border-radius:8px;border-color:#cddfec}.val-models button[aria-pressed=true]{background:linear-gradient(120deg,#173e59,#246886);border-color:#285b7b}.val-panel input,.val-panel select{border-radius:7px;border-color:#cbdde9}.val-result.base{background:linear-gradient(110deg,#edf7fc,#edf9f5);border-radius:10px;border-color:#b7d7df}.val-assumptions fieldset{border-radius:9px}.val-results details{border-top-color:#dbe8f1}.account-dialog,.language-dialog{border-color:#cfe2f0;box-shadow:0 24px 100px #173e6033}footer{border-top:1px solid #d5e4ef;margin-top:30px;color:#5d758b;padding-block:26px;font-size:13px}footer a{color:#246789}.creator-credit{color:#48687e}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.home-company-card,.home-theme-card,.home-primary,.market-tabs button,.site-nav a{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.home-company-card:hover,.home-theme-card:hover{transform:translateY(-3px)}.home-primary:hover{transform:translateY(-2px)}}
@media(min-width:851px){.language-switch{margin-left:auto}.public+.language-switch{margin-left:0}}
@media(max-width:1100px){.home-hero{gap:32px}.home-note{padding:27px}.home-stats>div{padding:18px}.home-stats strong{font-size:25px}.home-note h2{font-size:26px}}
@media(max-width:850px){.home-hero{grid-template-columns:1fr;gap:26px;padding-top:12px}.home-note{max-width:none}.home-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.home-hero h1{font-size:44px}.site-nav{gap:4px}.site-nav a{padding:10px 12px}.home-recap-grid{grid-template-columns:1fr}}
@media(max-width:550px){main{padding-top:25px}header{gap:10px;padding-block:16px}.brand-icon{width:38px;height:38px}.brand-title{gap:8px;font-size:20px}.brand-latin{font-size:21px}.site-nav{padding:8px 4%;gap:4px}.site-nav a{font-size:14px;padding:9px 10px}.home-hero h1{font-size:40px;letter-spacing:-1px}.home-hero p{font-size:15px}.home-actions{gap:18px;font-size:14px}.home-note{padding:24px;border-radius:16px}.home-note h2{font-size:25px}.home-stats{gap:10px}.home-stats>div{padding:17px 14px}.home-stats strong{font-size:23px;letter-spacing:-.6px}.home-company-grid,.home-theme-grid{grid-template-columns:1fr}.home-company-card,.home-recap-card,.home-theme-card{padding:21px}.home-section-head{align-items:center}.home-section-head h2{font-size:22px}.home-section-head>a{white-space:normal}.home-section{margin:32px 0}.market-tabs{width:100%}.market-tabs button{padding:10px 13px;font-size:14px}.market-surface,.macro-calendar,.recap-article,.weekly-focus{padding:18px;border-radius:13px}.market-heading h1{font-size:29px}.surface-head h2{font-size:22px}.weekly-head h2{font-size:23px}.weekly-event p{font-size:15px}.public{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Confirmation states remain green, separate from content links. */
.weekly-time>span{color:#657487}.weekly-time>.is-confirmed{color:#18743d}.weekly-links a,.weekly-empty a,.earnings-source a{color:#15688f}.earnings-state{background:#f1f4f7;color:#657487}.earnings-state.is-confirmed{background:#edf8ef;color:#18743d}

/* Cool teal links remain distinct from warmer green confirmation states. */
:root{--content-link:#08766e;--content-link-hover:#05564f}
:is(.home main a:not(.home-primary),.recap-link,.source-links a,.weekly-links a,.weekly-empty a,.earnings-source a,.macro-calendar a,.recap-article a,.notice a,.market-unavailable a,.source-link,.welcome-empty a,.research-shortcut a,.activity-company,.earnings-company a,.ratings-table a,.methodology a,.profile-sources a,.target-event-body a,.activity-sources a,.theme-sources a,.theme-companies a,.theme-featured a,.val-results a,.disclosure a,.tradingview-widget-copyright a,footer a){color:var(--content-link)}
:is(.home main a:not(.home-primary),.recap-link,.source-links a,.weekly-links a,.weekly-empty a,.earnings-source a,.macro-calendar a,.recap-article a,.notice a,.market-unavailable a,.source-link,.welcome-empty a,.research-shortcut a,.activity-company,.earnings-company a,.ratings-table a,.methodology a,.profile-sources a,.target-event-body a,.activity-sources a,.theme-sources a,.theme-companies a,.theme-featured a,.val-results a,.disclosure a,.tradingview-widget-copyright a,footer a):hover{color:var(--content-link-hover)}
.home-company-card span,.home-theme-card span{color:var(--content-link)}
.home-company-card:hover span,.home-theme-card:hover span{color:var(--content-link-hover)}

/* Compact signature: shared optical axis and a cut geometric wordmark. */
header .brand{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;gap:12px;align-items:center}
header .brand:hover{border:0;box-shadow:none;text-decoration:none}
header .brand-icon{width:42px;height:42px}
header .brand-wordmark{align-items:flex-start;gap:4px}
header .brand-title{height:26px;display:flex;align-items:center;white-space:nowrap;gap:10px;line-height:1}
header .brand-name{display:block;font-size:20px;font-weight:700;line-height:1;letter-spacing:1px}
header .brand-latin{display:block;flex:none;width:100px;height:22px;background:url('/foresight-wordmark.svg') left center/contain no-repeat;font-size:0!important;line-height:0;color:transparent}
header .brand-divider{display:block;flex:none;font-size:0;width:1px;height:17px;background:#c9d8e2;transform:none}
header .brand-caption{font-size:9px;line-height:1;letter-spacing:2.1px;color:#60778a}
html[lang=en] header .brand-title{gap:0;justify-content:flex-start}
html[lang=en] header .brand-name,html[lang=en] header .brand-divider{display:none}
html[lang=en] header .brand-latin{width:108px;height:24px}
@media(max-width:550px){header .brand{gap:10px}header .brand-icon{width:38px;height:38px}header .brand-title{height:24px;gap:8px}header .brand-name{font-size:18px}header .brand-latin{width:92px;height:20px}header .brand-divider{height:15px}header .brand-caption{font-size:8px;letter-spacing:1.8px}html[lang=en] header .brand-latin{width:98px;height:22px}}
.compare-entry{display:inline-block;padding:10px 16px;margin:14px 0;border:1px solid #cadde8;border-radius:8px;color:#08766e;text-decoration:none;font-weight:650}
/* Company research is the primary destination; adjacent views are supporting tools. */
.research-view-switch{align-items:center;flex-wrap:wrap;gap:8px;margin:24px 0 14px;padding-bottom:16px;border-bottom:1px solid #d9e5ee}
.research-view-switch #view-companies{flex:none;min-width:156px;min-height:54px;padding:14px 25px;margin-right:16px;font-size:18px;font-weight:750;letter-spacing:.3px;background:#244a60;border:1px solid #244a60;color:#fff;border-radius:10px;box-shadow:0 4px 10px #173b5012}
.research-view-switch #view-companies[aria-pressed=true]{background:#163b50;border-color:#163b50;box-shadow:inset 0 -3px #68d4ba,0 4px 10px #173b5012}
.research-view-switch button:not(#view-companies),.research-view-switch .compare-entry{flex:none;min-height:40px;padding:9px 13px;margin:0;font-size:14px;font-weight:500;letter-spacing:0;background:transparent;border:1px solid transparent;border-radius:6px;color:#587184;box-shadow:none;text-decoration:none;white-space:nowrap}
.research-view-switch button:not(#view-companies):hover,.research-view-switch .compare-entry:hover{background:#eaf2f7;color:#173b50}
.research-view-switch button:not(#view-companies)[aria-pressed=true]{background:#e4f0ee;border-color:#bfd9d3;color:#08766e;box-shadow:inset 0 -2px #08766e}
.research-view-switch .compare-entry:focus-visible{outline:3px solid #399b8b;outline-offset:3px}
@media(max-width:550px){.research-view-switch{gap:5px}.research-view-switch #view-companies{min-width:140px;margin-right:calc(100% - 140px);margin-bottom:5px;font-size:17px;min-height:50px}.research-view-switch button:not(#view-companies),.research-view-switch .compare-entry{font-size:13px;padding:9px 10px}}

html[lang=en] header .brand-caption{letter-spacing:1.15px;font-size:8px}

/* Market moves: green gains, red losses; neutral for closures and unknown changes. */
.recap-metric.is-up{border-left:3px solid #16834b;background:#f1faf5}.recap-metric.is-up strong{color:#126c3d}.recap-metric.is-down{border-left:3px solid #ce3645;background:#fff5f5}.recap-metric.is-down strong{color:#b42335}.recap-metric .recap-direction{display:inline;font-size:1em;color:inherit}.recap-metric.is-flat strong,.recap-metric.is-neutral strong{color:#526778}
