/* RAFT Midnight Intelligence. Default for every generated page; see docs/design/midnight-intelligence.md. */
@font-face{font-family:Newsreader;src:url('/assets/fonts/newsreader-400.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Newsreader;src:url('/assets/fonts/newsreader-500.ttf') format('truetype');font-style:normal;font-weight:500;font-display:swap}
:root{--raft-midnight-bg:#10171c;--raft-midnight-panel:#182229;--raft-midnight-text:#f3efe6;--raft-midnight-muted:#b5bec3;--raft-midnight-accent:#cfb98d;--raft-midnight-rule:#35434c}
body.raft-midnight{
  --ink:var(--raft-midnight-text);--muted:var(--raft-midnight-muted);--rule:var(--raft-midnight-rule);--accent:var(--raft-midnight-accent);--navy:var(--raft-midnight-bg);--surface:var(--raft-midnight-panel);--paper:var(--raft-midnight-bg);
  background:var(--raft-midnight-bg)!important;color:var(--raft-midnight-text)!important;color-scheme:dark;font-family:DM,'DM Sans',Arial,sans-serif;
}
body.raft-midnight{--raft-paper:var(--raft-midnight-bg);--raft-ink:var(--raft-midnight-text);--raft-muted:var(--raft-midnight-muted);--blue:var(--raft-midnight-accent);--line:var(--raft-midnight-rule);--white:var(--raft-midnight-panel);--soft:var(--raft-midnight-panel)}
body.raft-midnight.macrobond[data-theme="editorial"]{--ink:var(--raft-midnight-text);--muted:var(--raft-midnight-muted);--blue:var(--raft-midnight-accent);--rule:var(--raft-midnight-rule)}
body.raft-midnight :is(.story-grid aside,.editorial-row,.featured,.feature-copy,.support-card,.support-footer,.support-index a,.outcome-card,.auth-card,.login-card,.pricing-card,.coverage,.related,.home-routes,.home-product){background:var(--raft-midnight-panel);color:var(--raft-midnight-text);border-color:var(--raft-midnight-rule);border-radius:0;box-shadow:none}
body.raft-midnight :is(.raft-site-footer,.support-hero,.support-band,.article-head,.series){background:var(--raft-midnight-panel)!important;color:var(--raft-midnight-text)}
body.raft-midnight .support-hero:before{display:none}
body.raft-midnight .raft-site-footer img{background:#f3efe6;padding:8px;box-sizing:content-box}
body.raft-midnight :is(.raft-site-cta,.support-button,.button){background:var(--raft-midnight-accent);color:#172630!important;border-color:var(--raft-midnight-accent);border-radius:0}
body.raft-midnight :is(.raft-site-dropdown,.raft-site-mobile){background:#f3efe6;color:#172630}
body.raft-midnight .raft-news :is(h1,h2,h3),body.raft-midnight.raft-news :is(h1,h2,h3){font-family:Newsreader,Georgia,serif;font-weight:400}
body.raft-midnight .raft-site-footer :is(p,small,a,strong){color:var(--raft-midnight-muted)}
body.raft-midnight :is(.filters button,.tags span,.support-index a,.search input){background:var(--raft-midnight-panel);color:var(--raft-midnight-text);border-color:var(--raft-midnight-rule)}
body.raft-midnight .filters button.active{background:var(--raft-midnight-accent);color:#172630;border-color:var(--raft-midnight-accent)}
body.raft-midnight.raft-visual-page.raft-news :is(h1,h2,h3){font-family:Newsreader,Georgia,serif;font-weight:400;letter-spacing:-.025em}
body.raft-midnight .preview-unified-hero h1{font-family:Newsreader,Georgia,serif!important;font-weight:400!important}
body.raft-midnight .raft-site-header .raft-site-links a[aria-current]{color:#172630;text-decoration:underline;text-decoration-color:#8c774e;text-underline-offset:5px}
body.raft-midnight :is(p,small,dt,.label,.eyebrow,.result-count,figcaption){color:var(--raft-midnight-muted)}
body.raft-midnight :is(h1,h2,h3,h4){color:var(--raft-midnight-text);text-wrap:pretty}
/* Monetary spans are part of the headline, never smaller financial badges. */
body.raft-midnight .headline-amount{font:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;white-space:nowrap}
body.raft-midnight :is(h1,h2,h3,h4){font-variant-numeric:lining-nums}
body.raft-midnight :is(h1,h2){font-family:Newsreader,Georgia,serif;font-weight:400;letter-spacing:-.035em}
body.raft-midnight :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--raft-midnight-accent);outline-offset:4px}
body.raft-midnight a:hover{color:var(--raft-midnight-accent)}
body.raft-midnight :is(.text-link,.back,.source,.party,.entity-activity){color:var(--raft-midnight-accent);border-color:var(--raft-midnight-rule)}
body.raft-midnight :is(.source,.party,.entity-activity,.news-row):hover{background:var(--raft-midnight-panel)}
body.raft-midnight :is(input,select,textarea){background:var(--raft-midnight-bg);color:var(--raft-midnight-text);border-color:#65747e}
body.raft-midnight :is(button.primary,.primary,[data-access],.registration-form .primary){background:var(--raft-midnight-accent);border-color:var(--raft-midnight-accent);color:#172630;border-radius:0}
body.raft-midnight :is(button.primary,.primary,[data-access],.registration-form .primary):hover{background:#e2cea9;border-color:#e2cea9;color:#172630}
body.raft-midnight :is(.secondary,.plain,.tabs button,.section-more){background:var(--raft-midnight-panel);border-color:#65747e;color:var(--raft-midnight-text);border-radius:0}
body.raft-midnight :is(.tabs button[aria-pressed=true],button[aria-pressed=true]){background:var(--raft-midnight-accent);color:#172630}
body.raft-midnight .skip{background:var(--raft-midnight-text);color:#172630}
/* Approved B2 wordmark remains on its ivory ground. */
body.raft-midnight :is(.public-head,.raft-site-header){background:#f3efe6!important;color:#172630;border:0}
body.raft-midnight .nav{max-width:1280px;min-height:86px;grid-template-columns:1fr auto auto;gap:30px}
body.raft-midnight .public-head .logo{width:124px;filter:none}
body.raft-midnight :is(.public-head nav a,.raft-site-header a,.raft-site-header summary){color:#172630}
body.raft-midnight .public-head .primary{background:#172630;color:#f3efe6;border-color:#172630;font-weight:600;padding:13px 18px}
body.raft-midnight .public-head .primary:hover{background:#2b3d46;color:#f3efe6}
body.raft-midnight .public-foot{max-width:1280px;border-color:var(--raft-midnight-rule);margin-top:36px;padding-block:28px}
body.raft-midnight .public-foot .logo{background:#f3efe6;padding:9px;width:110px;filter:none}
body.raft-midnight .public-foot p{color:var(--raft-midnight-muted)}
/* Editorial home: typography leads; architecture is a supporting band, not a hero. */
body.raft-midnight .editorial-home{max-width:1280px}
body.raft-midnight .editorial-home .hero{background:none!important;color:var(--raft-midnight-text);padding:60px 0 48px;margin-top:0;min-height:0;border-bottom:1px solid var(--raft-midnight-accent);overflow:visible}
body.raft-midnight .raft-visual-motif{display:none}
body.raft-midnight .editorial-home .editorial-mast{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:7%;align-items:end}
body.raft-midnight .editorial-mast h1{font-family:Newsreader,Georgia,serif;font-size:clamp(46px,5.8vw,78px);font-weight:400;line-height:1.02;letter-spacing:-.035em;margin:22px 0 0}
body.raft-midnight .editorial-home .hero .label{color:var(--raft-midnight-accent);font-weight:600;font-size:11px;letter-spacing:.15em}
body.raft-midnight .editorial-home .hero p{color:var(--raft-midnight-muted);font-size:16px;line-height:1.65;margin:0 0 24px;max-width:42ch}
body.raft-midnight .editorial-home .text-link{color:var(--raft-midnight-text);border-bottom:1px solid var(--raft-midnight-accent);padding:0 0 7px;font-size:13px;font-weight:500}
body.raft-midnight .wrap-home-news{padding-top:27px}
body.raft-midnight .wrap-home-news>h2{font-family:Newsreader,Georgia,serif;font-size:32px;font-weight:400;line-height:1.1}
body.raft-midnight .wrap-home-news>.label{font-size:11px;letter-spacing:.1em;margin-top:10px}
body.raft-midnight .home-day{background:none!important;margin:35px 0 40px;padding:0!important}
body.raft-midnight .home-day>h2{display:flex;align-items:center;gap:16px;font:500 16px/1.4 DM,Arial,sans-serif;letter-spacing:0;margin:0 0 22px}
body.raft-midnight .home-day>h2:after{content:'';height:1px;background:var(--raft-midnight-rule);flex:1;min-width:16px}
body.raft-midnight .home-day-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.raft-midnight .home-day-grid>.home-story{display:flex;flex-direction:column;align-items:stretch;background:none;border:0;border-radius:0;padding:0;overflow:visible;grid-row:auto}
body.raft-midnight .home-day .home-story[hidden],body.raft-midnight .home-day .section-more[hidden]{display:none}
body.raft-midnight .home-story :is(h3,h4){font:400 25px/1.18 Newsreader,Georgia,serif;letter-spacing:-.015em;margin:0 0 13px}
body.raft-midnight .home-story>.label{font-size:11px;letter-spacing:.1em;color:var(--raft-midnight-accent);font-weight:500;margin:0 0 12px}
body.raft-midnight .home-story>p{font-size:14px;line-height:1.65;margin:0 0 19px;color:var(--raft-midnight-muted)}
body.raft-midnight .home-story>small{font-size:12px;margin:0;margin-top:auto;color:var(--raft-midnight-muted)}
body.raft-midnight .news-picture{margin:0 0 19px}
body.raft-midnight .home-story .news-picture img{width:100%;height:150px;aspect-ratio:auto;object-fit:cover;background:var(--raft-midnight-panel)}
body.raft-midnight .home-story .news-picture figcaption{font-size:11px;line-height:1.4;white-space:normal;padding:6px 0 0;color:var(--raft-midnight-muted)}
body.raft-midnight .section-more{min-height:44px;margin-top:22px;padding:10px 16px;font-size:12px;background:transparent;border:1px solid var(--raft-midnight-rule)}
body.raft-midnight .home-day:not(:first-of-type) .home-day-grid{display:block}
body.raft-midnight .home-day:not(:first-of-type) .home-story{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px 32px;border-bottom:1px solid var(--raft-midnight-rule);padding:22px 0}
body.raft-midnight .home-day:not(:first-of-type) .home-story:first-child{padding-top:0}
body.raft-midnight .home-day:not(:first-of-type) .news-picture{display:none}
body.raft-midnight .home-day:not(:first-of-type) .home-story>.label{grid-column:1/-1;margin:0}
body.raft-midnight .home-day:not(:first-of-type) .home-story :is(h3,h4){font-size:27px;grid-column:1;grid-row:2;margin:0}
body.raft-midnight .home-day:not(:first-of-type) .home-story>p{grid-column:2;grid-row:2/4;margin:0}
body.raft-midnight .home-day:not(:first-of-type) .home-story>small{grid-column:1;grid-row:3}
/* Shared article, archive, profile and supporting-page surfaces. */
body.raft-midnight :is(.story-head,.compact,.work-title,.hero,.raft-visual-banner){background:var(--raft-midnight-panel)!important;color:var(--raft-midnight-text);border-color:var(--raft-midnight-rule)}
body.raft-midnight :is(.story-head,.compact,.work-title,.raft-visual-banner) :is(h1,p,.label,a){color:var(--raft-midnight-text)}
body.raft-midnight :is(.story,.compact,.editorial-desk){max-width:1280px}
body.raft-midnight .story-head{border-bottom:1px solid var(--raft-midnight-accent)}
body.raft-midnight .story-head h1{font-family:Newsreader,Georgia,serif;font-size:clamp(38px,5vw,66px);font-weight:400;line-height:1.08;letter-spacing:-.025em;max-width:26ch}
body.raft-midnight .story-head p{font-size:18px;line-height:1.65;color:var(--raft-midnight-muted)}
body.raft-midnight .story-grid{grid-template-columns:minmax(0,2.2fr) minmax(230px,1fr);gap:clamp(24px,4vw,64px)}
body.raft-midnight .story-grid > *{min-width:0}
body.raft-midnight .story-grid .party{overflow-wrap:anywhere}
body.raft-midnight .original-copy{font-size:17px;line-height:1.8;min-width:0;max-width:72ch}
body.raft-midnight .original-copy p{color:var(--raft-midnight-text)}
body.raft-midnight .original-copy :is(h2,h3){margin-top:30px}
body.raft-midnight .original-copy a{text-decoration:underline;text-underline-offset:3px;color:var(--raft-midnight-accent)}
body.raft-midnight :is(.fact,.aside-cta,.empty,.financing-activity,.cta,.issue,.article-card,.workspace-card){background:var(--raft-midnight-panel);border-color:var(--raft-midnight-rule);color:var(--raft-midnight-text)}
body.raft-midnight .fact{border-left-color:var(--raft-midnight-accent)}
body.raft-midnight :is(.fact,.row-amount,.table-row){font-variant-numeric:tabular-nums}
body.raft-midnight :is(.news-row,.editorial-row,.tabs,.party,.source,.entity-activity){border-color:var(--raft-midnight-rule)}
body.raft-midnight :is(.editorial-row strong,.entity-activity strong){color:var(--raft-midnight-text)}
body.raft-midnight :is(.registration-review,.registration-grid>*,dialog){background:var(--raft-midnight-panel);color:var(--raft-midnight-text);border-color:var(--raft-midnight-rule)}
body.raft-midnight :is(.registration-features li,.registration-form input,.registration-form select){border-color:#65747e}
body.raft-midnight .registration-features svg{color:var(--raft-midnight-accent)}
/* The member layout and governed card hierarchy remain intact while sharing the palette. */
body.raft-midnight .company-card.company-card-tiles{--raft-card-ink:var(--raft-midnight-text);--raft-card-blue:var(--raft-midnight-accent);--raft-card-paper:var(--raft-midnight-panel);--raft-card-line:var(--raft-midnight-rule);--raft-card-muted:var(--raft-midnight-muted);--raft-card-heading:'DM Sans',DM,Arial,sans-serif;--raft-card-body:'DM Sans',DM,Arial,sans-serif;background:var(--raft-midnight-panel);color:var(--raft-midnight-text);box-shadow:none}
body.raft-midnight .company-card.company-card-tiles .company-header{background:var(--raft-midnight-bg);color:var(--raft-midnight-text)}
body.raft-midnight .company-card.company-card-tiles .company-header:after{display:none}
body.raft-midnight .company-card.company-card-tiles .company-header h2{font-family:Newsreader,Georgia,serif;font-weight:400;color:var(--raft-midnight-text)}
body.raft-midnight .company-card.company-card-tiles .company-header img{background:#f3efe6;border-color:var(--raft-midnight-rule);filter:none}
body.raft-midnight .company-card.company-card-tiles :is(.company-metrics,.company-metrics>div,.company-detail-tile,.company-record){background:var(--raft-midnight-panel);border-color:var(--raft-midnight-rule)}
body.raft-midnight .company-card.company-card-tiles .company-detail-tile{border-top-color:var(--raft-midnight-accent)}
body.raft-midnight .company-card.company-card-tiles :is(.company-route-tile,.company-source-footer){background:var(--raft-midnight-bg);border-color:var(--raft-midnight-rule);color:var(--raft-midnight-muted)}
body.raft-midnight .company-card.company-card-tiles .company-tags :is(span,a){background:var(--raft-midnight-bg);border-color:var(--raft-midnight-rule);color:var(--raft-midnight-text)}
body.raft-midnight .company-card.company-card-tiles :is(.company-header .eyebrow,.company-record time,.company-header a){color:var(--raft-midnight-accent)}
body.raft-midnight .company-card.company-card-tiles :is(.company-summary,.company-type,.company-detail-tile h3,.company-record p){color:var(--raft-midnight-muted)}
body.raft-midnight .company-card.company-card-tiles :is(a,summary):focus-visible{outline-color:var(--raft-midnight-accent)}
body.raft-midnight .company-card.company-card-tiles :is(.company-metrics,.company-capital-scale,.company-financial-table,.company-tags){font-variant-numeric:lining-nums tabular-nums}
body.raft-midnight .company-card.company-card-tiles :is(.company-financial-table-wrap,.company-financial-table,.company-financial-table th,.company-financial-table td){background:var(--raft-midnight-panel);color:var(--raft-midnight-text);border-color:var(--raft-midnight-rule)}
body.raft-midnight .company-card.company-card-tiles .company-financial-table thead th{background:var(--raft-midnight-bg)}
body.raft-midnight :is(.workspace,.work-content,.sidebar,.record,.record-list,.record-head,.record-body,.search-evidence,.search-facets,.grid-table,.table-head,.table-row,.tabs,.saved-row,.more-filters){background:var(--raft-midnight-panel)!important;color:var(--raft-midnight-text);border-color:var(--raft-midnight-rule)}
body.raft-midnight :is(.sidebar a[aria-current],.record-list a[aria-current]){background:#35434c!important;color:var(--raft-midnight-text)}
body.raft-midnight :is(.sidebar a,.member-head a,.tabs button,.search-facets label,.search-facets summary){color:var(--raft-midnight-text)}
body.raft-midnight .member-head{background:var(--raft-midnight-bg);color:var(--raft-midnight-text)}
body.raft-midnight .member-head .logo{filter:none;background:#f3efe6;padding:5px}
body.raft-midnight [data-login]{background:var(--raft-midnight-bg);color:var(--raft-midnight-text)}
body.raft-midnight :is(.login-intro,.login-form-area,.login-footer){background:var(--raft-midnight-panel);color:var(--raft-midnight-text)}
body.raft-midnight .login-intro:before{display:none}
body.raft-midnight .login-header{background:#f3efe6;color:#172630;border:0}
body.raft-midnight .login-header a{color:#172630}
body.raft-midnight [data-login] :is(h1,h2){font-family:Newsreader,Georgia,serif;font-weight:400;color:var(--raft-midnight-text)}
body.raft-midnight :is(.login-card h1,.login-field label,.login-field input){color:var(--raft-midnight-text)}
body.raft-midnight .login-field input{background:var(--raft-midnight-bg);border-color:#65747e;border-radius:0;box-shadow:none}
body.raft-midnight :is(.login-form-intro,.login-intro-copy>p:last-child,.login-intro-foot,.login-form-foot,.login-status){color:var(--raft-midnight-muted)}
body.raft-midnight :is(.login-form-kicker,.login-kicker,.login-form-foot a,.login-footer a){color:var(--raft-midnight-accent)}
body.raft-midnight .login-submit{background:var(--raft-midnight-accent);color:#172630;border-color:var(--raft-midnight-accent);border-radius:0}
@media(min-width:900px){body.raft-midnight .wrap-home-news>.label{text-align:right;margin-top:-26px;margin-bottom:38px}}
@media(max-width:700px){
  body.raft-midnight .nav{display:flex;flex-wrap:wrap;gap:14px 20px;min-height:80px;padding-block:18px}
  body.raft-midnight .public-head .logo{width:104px}
  body.raft-midnight .nav>.primary{margin-left:auto;font-size:12px;padding:12px}
  body.raft-midnight .nav nav{order:3;width:100%;gap:24px;font-size:13px}
  body.raft-midnight .nav nav a{min-height:44px;display:flex;align-items:center}
  body.raft-midnight .editorial-home .hero{padding:36px 0}
  body.raft-midnight .editorial-home .editorial-mast{grid-template-columns:1fr;gap:25px}
  body.raft-midnight .editorial-mast h1{font-size:49px;margin-top:18px}
  body.raft-midnight .editorial-home .hero .label{font-size:10px;letter-spacing:.1em}
  body.raft-midnight .editorial-home .hero p{font-size:15px;margin-bottom:18px}
  body.raft-midnight .home-day-grid{grid-template-columns:1fr;gap:24px}
  body.raft-midnight .home-day-grid>.home-story{padding-bottom:24px;border-bottom:1px solid var(--raft-midnight-rule)}
  body.raft-midnight .home-story :is(h3,h4){font-size:28px}
  body.raft-midnight .home-story>small{margin-top:0}
  body.raft-midnight .home-story .news-picture img{height:190px}
  body.raft-midnight .home-day .home-story:not(:first-child) .news-picture{display:none}
  body.raft-midnight .home-day:not(:first-of-type) .home-story{display:flex;gap:0}
  body.raft-midnight .home-day:not(:first-of-type) .home-story>.label{margin-bottom:12px}
  body.raft-midnight .home-day:not(:first-of-type) .home-story :is(h3,h4){margin-bottom:13px}
  body.raft-midnight .home-day:not(:first-of-type) .home-story>p{margin-bottom:19px}
  body.raft-midnight .story-grid{grid-template-columns:minmax(0,1fr)}
  body.raft-midnight .story-head p{font-size:17px}
  body.raft-midnight .original-copy{font-size:16px}
  body.raft-midnight :is(input,select,textarea){font-size:16px}
  body.raft-midnight .public-foot{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){body.raft-midnight *,body.raft-midnight *:before,body.raft-midnight *:after{scroll-behavior:auto!important;transition:none!important}}
/* Hidden is functional state, including pagination, filters and access panels. */
body.raft-midnight [hidden]{display:none!important}

/* All activity sections share the same three-card horizontal browsing model. */
body.raft-midnight .home-rail-section .home-rail-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;border-bottom:1px solid var(--raft-midnight-rule);padding-bottom:14px}
body.raft-midnight .home-rail-head h2{font:500 16px/1.4 DM,Arial,sans-serif;letter-spacing:0;margin:0;border:0;padding:0}
body.raft-midnight .home-rail-controls{display:flex;gap:8px;flex-shrink:0}
body.raft-midnight .home-rail-controls button{width:44px;min-height:44px;display:grid;place-items:center;border:1px solid #65747e;border-radius:0;background:transparent;color:var(--raft-midnight-text);font:400 22px/1 Arial,sans-serif}
body.raft-midnight .home-rail-controls button:disabled{opacity:.35;cursor:default}
body.raft-midnight .home-rail-controls button:not(:disabled):hover{background:var(--raft-midnight-panel);border-color:var(--raft-midnight-accent)}
body.raft-midnight .home-rail-section.home-day .home-article-rail{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 48px)/3);gap:24px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#65747e var(--raft-midnight-bg);padding:3px 0 16px;align-items:stretch}
body.raft-midnight .home-rail-section.home-day .home-article-rail>.home-story{display:flex;flex-direction:column;gap:0;scroll-snap-align:start;min-width:0;border:0;border-bottom:1px solid var(--raft-midnight-rule);padding:0 0 20px;overflow-wrap:anywhere}
body.raft-midnight .home-rail-section.home-day .home-article-rail>.home-story>.label{margin:0 0 12px;min-height:16px}
body.raft-midnight .home-rail-section.home-day .home-article-rail>.home-story :is(h3,h4){font:400 25px/1.2 Newsreader,Georgia,serif;margin:0 0 14px;letter-spacing:-.015em}
body.raft-midnight .home-rail-section.home-day .home-article-rail>.home-story>p{margin:0 0 20px;font-size:14px;line-height:1.65}
body.raft-midnight .home-rail-section.home-day .home-article-rail>.home-story>small{margin-top:auto}
body.raft-midnight .home-rail-section.home-day .home-article-rail>.home-story .news-picture{display:block}
body.raft-midnight .home-rail-section .home-story .news-picture img{height:150px}
@media(max-width:900px) and (min-width:701px){body.raft-midnight .home-rail-section.home-day .home-article-rail{grid-auto-columns:calc((100% - 24px)/2)}}
@media(max-width:700px){
 body.raft-midnight .home-rail-section.home-day .home-article-rail{grid-auto-columns:88%;gap:18px}
 body.raft-midnight .home-rail-head h2{font-size:15px}
 body.raft-midnight .home-rail-controls{gap:5px}
 body.raft-midnight .home-rail-section.home-day .home-article-rail>.home-story :is(h3,h4){font-size:27px}
 body.raft-midnight .home-rail-section .home-story .news-picture img{height:170px}
}

/* Capital News search: shared Midnight presentation, #374 / #377. */
.raft-midnight .news-search-tools {display:grid;gap:1rem;margin-block:2rem}
.raft-midnight .news-keyword {display:grid;gap:.5rem;font-size:1rem;max-width:46rem}
.raft-midnight .news-search input[type=search] {width:100%;box-sizing:border-box;min-height:2.75rem;font:inherit;background:#182229;color:#f3efe6;border:1px solid #35434c;padding:.65rem .8rem}
.raft-midnight .news-filter-drawer>summary {display:none}
.raft-midnight .news-filter-menus {display:flex;flex-wrap:wrap;gap:.75rem;align-items:start}
.raft-midnight .news-facet {position:relative;min-width:12rem}
.raft-midnight .news-facet>summary,.raft-midnight .news-filter-drawer>summary {cursor:pointer;min-height:2.75rem;padding:.75rem 1rem;box-sizing:border-box;border:1px solid #35434c;font-size:1rem;color:#f3efe6;background:#182229}
.raft-midnight .news-facet-panel {position:absolute;z-index:20;top:100%;left:0;width:min(25rem,80vw);padding:1rem;background:#182229;border:1px solid #35434c;box-shadow:0 1rem 2rem #0006}
.raft-midnight .news-facet-panel>label {display:grid;gap:.5rem;font-size:.875rem}
.raft-midnight .news-facet-panel fieldset {max-height:20rem;overflow-y:auto;border:0;padding:0;margin:1rem 0 0}
.raft-midnight .news-choice {display:flex;gap:.65rem;align-items:center;min-height:2.75rem;padding:.35rem .25rem .35rem calc(.25rem + var(--news-depth)*.65rem);font-size:1rem;cursor:pointer}
.raft-midnight .news-choice[hidden] {display:none}
.raft-midnight .news-choice input {accent-color:#cfb98d;width:1.1rem;height:1.1rem;flex-shrink:0}
.raft-midnight .news-choice:has(input:disabled) {opacity:.55}
.raft-midnight .news-facet-count {margin-left:auto;font-size:.875rem;font-variant-numeric:tabular-nums;color:#b5bec3}
.raft-midnight .news-active-filters {display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-top:1rem}
.raft-midnight .news-chip {font:inherit;font-size:.875rem;color:#f3efe6;background:#182229;border:1px solid #cfb98d;padding:.6rem .75rem;cursor:pointer}
.raft-midnight .news-search :focus-visible {outline:2px solid #cfb98d;outline-offset:3px}
.news-sr-only {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(min-width:701px) {.raft-midnight .news-filter-drawer>div {display:block!important}.raft-midnight .news-filter-drawer:not([open])>div {content-visibility:visible}}
@media(max-width:700px) {
 .raft-midnight .news-filter-drawer>summary {display:list-item;list-style-position:inside}
 .raft-midnight .news-filter-menus {display:grid;grid-template-columns:minmax(0,1fr);margin-top:.75rem}
 .raft-midnight .news-facet-panel {position:static;width:auto;box-shadow:none;padding:.75rem}
 .raft-midnight .news-facet-panel fieldset {max-height:17rem}
 .raft-midnight .news-search .news-row {grid-template-columns:1fr;gap:.5rem}
}

/* Facet groups remain visible headings with scrollable, keyboard-native choices. */
.raft-midnight .news-facet-panel fieldset[hidden]{display:none}
.raft-midnight .news-facet-panel legend{font:600 .875rem 'DM Sans',sans-serif;color:var(--raft-midnight-accent,#cfb98d);padding:0 0 .5rem}

.raft-midnight .news-facet-panel{max-height:min(65vh,32rem);overflow-y:auto}
.raft-midnight .news-facet-panel fieldset{max-height:none;overflow:visible}
@media(max-width:700px){.raft-midnight .news-facet-panel{max-height:60vh}}

/* Owner-approved B2 identity; preserve the full wordmark geometry. */
body.raft-midnight img[data-raft-logo="b2"]{height:auto;aspect-ratio:4/1;object-fit:contain;filter:none!important;background:#f3efe6}

/* V2 member intelligence desk. Shared Midnight tokens; no legacy project UI. */
body.workspace-v2{margin:0;min-width:320px;font-family:'DM Sans',Arial,sans-serif}
.workspace-v2 *{box-sizing:border-box}.workspace-v2 [hidden]{display:none!important}
.workspace-v2 a{color:inherit;text-decoration:none}.workspace-v2 button,.workspace-v2 input{font:inherit}
.workspace-v2 .v2-layout{min-height:100vh;display:grid;grid-template-columns:238px minmax(0,1fr)}
.workspace-v2 .v2-sidebar{padding:32px 22px 24px;border-right:1px solid var(--raft-midnight-rule);display:flex;flex-direction:column;position:sticky;top:0;height:100vh}
.workspace-v2 .v2-brand{display:inline-flex;align-items:center;align-self:flex-start;min-height:46px;padding:9px 14px;background:var(--raft-midnight-text)}
.workspace-v2 .v2-brand img{display:block;width:112px;height:auto}
.workspace-v2 .v2-nav-label{font-size:10px;letter-spacing:.15em;text-transform:uppercase;margin:48px 12px 15px}
.workspace-v2 .v2-nav{display:grid;gap:6px}.workspace-v2 .v2-nav a{display:flex;align-items:center;gap:13px;min-height:46px;padding:11px 12px;font-size:13px;color:var(--raft-midnight-muted);border-left:2px solid transparent}
.workspace-v2 .v2-nav a>span{font-size:19px;width:21px;text-align:center;font-weight:400}
.workspace-v2 .v2-nav a[aria-current]{color:var(--raft-midnight-text);border-left-color:var(--raft-midnight-accent);background:var(--raft-midnight-panel)}
.workspace-v2 .v2-nav a:hover{color:var(--raft-midnight-text);background:var(--raft-midnight-panel)}
.workspace-v2 .v2-sidebar-bottom{margin-top:auto;padding:28px 12px 0;border-top:1px solid var(--raft-midnight-rule)}
.workspace-v2 .v2-sidebar-bottom p{font-size:12px;line-height:1.7;margin:0 0 22px}.workspace-v2 .v2-sidebar-bottom a{font-size:11px;display:flex;justify-content:space-between;gap:8px;padding:8px 0}
.workspace-v2 .v2-body{min-width:0;display:flex;flex-direction:column}
.workspace-v2 .v2-topbar{min-height:80px;padding:20px 44px;border-bottom:1px solid var(--raft-midnight-rule);display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px}
.workspace-v2 .v2-breadcrumb{color:var(--raft-midnight-muted)}.workspace-v2 .v2-breadcrumb>span{padding:0 12px;color:var(--raft-midnight-rule)}.workspace-v2 .v2-breadcrumb strong{font-weight:400;color:var(--raft-midnight-text)}
.workspace-v2 .v2-account{display:flex;align-items:center;gap:22px;min-width:0}.workspace-v2 #workspace-identity{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--raft-midnight-muted)}
.workspace-v2 #workspace-signout{font-size:11px;color:var(--raft-midnight-text);background:none;border:0;border-left:1px solid var(--raft-midnight-rule);padding:8px 0 8px 20px;cursor:pointer;white-space:nowrap;min-height:40px}
.workspace-v2 .v2-main{padding:42px 44px 48px;max-width:1440px;width:100%;margin:0 auto;flex:1}
.workspace-v2 .v2-status:empty{display:none}.workspace-v2 .v2-status{font-size:13px;color:var(--raft-midnight-muted);padding:12px 0}
.workspace-v2 .v2-edition{display:flex;align-items:center;justify-content:space-between;gap:20px}.workspace-v2 .v2-eyebrow{font-size:10px;letter-spacing:.16em;text-transform:uppercase;margin:0;color:var(--raft-midnight-accent)}
.workspace-v2 .v2-edition time{font-size:10px;color:var(--raft-midnight-muted)}
.workspace-v2 .v2-welcome h1{font-family:Newsreader,Georgia,serif;font-size:clamp(46px,5.2vw,72px);line-height:1.04;letter-spacing:-.04em;font-weight:400;margin:28px 0 18px;max-width:830px}
.workspace-v2 .v2-intro{font-size:14px;line-height:1.8;max-width:650px;margin:0 0 30px}
.workspace-v2 .v2-search{max-width:790px;margin:0}.workspace-v2 .v2-search label{display:block;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--raft-midnight-muted);margin-bottom:10px}
.workspace-v2 .v2-search>div{display:flex;align-items:center;border:1px solid var(--raft-midnight-rule);min-height:58px;background:var(--raft-midnight-panel)}
.workspace-v2 .v2-search>div>span{font-size:27px;color:var(--raft-midnight-accent);padding-left:18px}
.workspace-v2 .v2-search input{border:0!important;background:transparent!important;outline-offset:-4px;min-width:0;flex:1;padding:16px 14px;font-size:13px;height:56px}.workspace-v2 .v2-search input::placeholder{color:var(--raft-midnight-muted)}
.workspace-v2 .v2-search button{align-self:stretch;background:var(--raft-midnight-accent);color:var(--raft-midnight-bg);border:0;border-left:1px solid var(--raft-midnight-rule);padding:12px 22px;font-size:12px;cursor:pointer}.workspace-v2 .v2-search button span{margin-left:20px}
.workspace-v2 .v2-tools{margin-top:44px}.workspace-v2 .v2-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--raft-midnight-rule);padding-top:24px;margin-bottom:20px}
.workspace-v2 .v2-section-heading h2{font-family:'DM Sans',Arial,sans-serif;font-size:13px;font-weight:500;letter-spacing:0;margin:0}.workspace-v2 .v2-section-heading>span{font-size:10px;color:var(--raft-midnight-muted)}
.workspace-v2 .v2-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.workspace-v2 .v2-tool{display:flex;flex-direction:column;min-height:220px;border:1px solid var(--raft-midnight-rule);padding:25px 26px;background:var(--raft-midnight-panel);transition:border-color .15s ease}
.workspace-v2 .v2-tool:hover{border-color:var(--raft-midnight-accent);color:var(--raft-midnight-text)}.workspace-v2 .v2-tool-featured{border-top-color:var(--raft-midnight-accent)}
.workspace-v2 .v2-tool-kicker{font-size:9px;letter-spacing:.13em;text-transform:uppercase;color:var(--raft-midnight-muted)}
.workspace-v2 .v2-tool-title{display:flex;justify-content:space-between;align-items:baseline;gap:18px;margin-top:23px}.workspace-v2 .v2-tool h3{font-family:Newsreader,Georgia,serif;font-size:29px;line-height:1.15;font-weight:400;letter-spacing:-.025em;margin:0}.workspace-v2 .v2-tool-title>span{font-size:21px;color:var(--raft-midnight-accent)}
.workspace-v2 .v2-tool p{font-size:12px;line-height:1.7;margin:12px 0 24px;max-width:350px}.workspace-v2 .v2-tool-link{font-size:11px;color:var(--raft-midnight-accent);margin-top:auto}.workspace-v2 .v2-tool-link>span{margin-left:9px}
.workspace-v2 .v2-account-note{display:flex;justify-content:space-between;align-items:center;gap:30px;border-block:1px solid var(--raft-midnight-rule);padding:24px 0;margin-top:34px}.workspace-v2 .v2-account-note h2{font-size:25px;font-weight:400;line-height:1.2;margin:10px 0}.workspace-v2 .v2-account-note p:not(.v2-eyebrow){font-size:12px;line-height:1.6;margin:0}.workspace-v2 .v2-account-links{display:grid;gap:16px}.workspace-v2 .v2-account-links>a{font-size:11px;white-space:nowrap;color:var(--raft-midnight-accent)}
.workspace-v2 .v2-footer{display:flex;justify-content:space-between;gap:20px;padding:0 44px 24px;font-size:10px;color:var(--raft-midnight-muted)}.workspace-v2 .v2-footer nav{display:flex;gap:20px}
.workspace-v2 .v2-recovery{max-width:640px;padding:65px 0}.workspace-v2 .v2-recovery h1{font-size:clamp(38px,5vw,60px);line-height:1.08;margin:24px 0}.workspace-v2 .v2-recovery p:not(.v2-eyebrow){font-size:14px;line-height:1.8;margin-bottom:28px}.workspace-v2 .v2-primary{display:inline-flex;align-items:center;gap:28px;padding:15px 20px;background:var(--raft-midnight-accent);color:var(--raft-midnight-bg);font-size:13px}.workspace-v2 .v2-text-button{background:none;border:0;color:var(--raft-midnight-accent);font:inherit;cursor:pointer;padding:12px 0}.workspace-v2 .v2-skip{position:fixed;left:20px;top:-100px;padding:12px;background:var(--raft-midnight-text);color:var(--raft-midnight-bg);z-index:10}.workspace-v2 .v2-skip:focus{top:10px}
@media(min-width:1500px){.workspace-v2 .v2-main{padding-top:54px}.workspace-v2 .v2-tool{min-height:235px}}
@media(max-width:1050px){.workspace-v2 .v2-layout{grid-template-columns:195px minmax(0,1fr)}.workspace-v2 .v2-sidebar{padding-inline:16px}.workspace-v2 .v2-topbar{padding-inline:28px}.workspace-v2 .v2-main{padding:32px 28px 40px}.workspace-v2 .v2-footer{padding-inline:28px}.workspace-v2 .v2-tool{padding:22px;min-height:230px}.workspace-v2 .v2-tool h3{font-size:26px}.workspace-v2 .v2-edition time{max-width:150px;text-align:right;line-height:1.5}.workspace-v2 #workspace-identity{max-width:200px}}
@media(max-width:760px){.workspace-v2 .v2-layout{display:block}.workspace-v2 .v2-sidebar{position:static;height:auto;padding:20px 22px 0;border-right:0;border-bottom:1px solid var(--raft-midnight-rule)}.workspace-v2 .v2-brand{padding:7px 11px;min-height:40px}.workspace-v2 .v2-brand img{width:96px}.workspace-v2 .v2-nav-label,.workspace-v2 .v2-sidebar-bottom{display:none}.workspace-v2 .v2-nav{display:flex;gap:18px;overflow-x:auto;margin-top:22px;white-space:nowrap;scrollbar-width:thin}.workspace-v2 .v2-nav a{font-size:11px;padding:0 0 13px;min-height:40px;border-left:0;border-bottom:2px solid transparent;gap:7px}.workspace-v2 .v2-nav a>span{font-size:15px;width:16px}.workspace-v2 .v2-nav a[aria-current]{background:none;border-bottom-color:var(--raft-midnight-accent)}.workspace-v2 .v2-topbar{min-height:64px;padding:12px 22px}.workspace-v2 .v2-breadcrumb{display:none}.workspace-v2 .v2-account{justify-content:space-between;width:100%;gap:12px}.workspace-v2 #workspace-identity{max-width:240px;font-size:10px}.workspace-v2 #workspace-signout{font-size:10px;padding-left:14px}.workspace-v2 .v2-main{padding:28px 22px 36px}.workspace-v2 .v2-edition{align-items:flex-start;gap:12px}.workspace-v2 .v2-eyebrow{font-size:9px}.workspace-v2 .v2-edition time{font-size:9px;max-width:130px}.workspace-v2 .v2-welcome h1{font-size:48px;margin-top:28px}.workspace-v2 .v2-intro{font-size:13px;margin-bottom:25px}.workspace-v2 .v2-search input{font-size:12px;padding-inline:10px}.workspace-v2 .v2-search>div>span{padding-left:12px;font-size:23px}.workspace-v2 .v2-search button{padding:12px 15px}.workspace-v2 .v2-search button span{margin-left:8px}.workspace-v2 .v2-tools{margin-top:32px}.workspace-v2 .v2-section-heading{padding-top:20px;align-items:flex-start}.workspace-v2 .v2-section-heading h2{font-size:12px;line-height:1.6;max-width:210px}.workspace-v2 .v2-section-heading>span{font-size:9px;padding-top:3px}.workspace-v2 .v2-tool-grid{grid-template-columns:1fr;gap:12px}.workspace-v2 .v2-tool{padding:23px;min-height:207px}.workspace-v2 .v2-tool h3{font-size:30px}.workspace-v2 .v2-tool p{max-width:none;font-size:12px}.workspace-v2 .v2-account-note{align-items:flex-start;flex-direction:column;gap:18px}.workspace-v2 .v2-account-note h2{font-size:26px}.workspace-v2 .v2-footer{padding:0 22px 22px;flex-direction:column;gap:14px}.workspace-v2 .v2-recovery{padding-top:30px}}
@media(prefers-reduced-motion:reduce){.workspace-v2 .v2-tool{transition:none}}

/* Compact homepage discovery: keep the first article row near the mast. */
body.raft-midnight .home-news-search .hero{padding:24px 0 22px;border-bottom:0}
body.raft-midnight .home-news-search .editorial-mast{display:block}
body.raft-midnight .home-news-search .editorial-mast h1{font-size:clamp(32px,3.5vw,46px);line-height:1.1;margin:10px 0 0;letter-spacing:-.025em}
body.raft-midnight .home-news-search .news-search-tools{grid-template-columns:minmax(12rem,1fr) auto;align-items:start;gap:14px;margin:0;padding-bottom:18px;border-bottom:1px solid var(--raft-midnight-rule)}
body.raft-midnight .home-news-search .news-filter-menus{gap:12px}
body.raft-midnight .home-news-search .news-facet{min-width:7rem}
body.raft-midnight .home-news-search .news-facet>summary{background:transparent;border:0;border-bottom:1px solid var(--raft-midnight-rule);padding:.65rem .5rem;font-size:.875rem}
body.raft-midnight .home-news-search .news-active-filters{margin-top:.5rem}
body.raft-midnight .home-news-search .news-active-filters:empty{display:none}
body.raft-midnight .home-news-search .wrap-home-news{padding-top:18px}
body.raft-midnight .home-news-search .home-day:first-of-type{margin-top:20px}
@media(max-width:700px){
 body.raft-midnight .home-news-search .hero{padding:20px 0 18px}
 body.raft-midnight .home-news-search .editorial-mast h1{font-size:34px;margin-top:8px}
 body.raft-midnight .home-news-search .news-search-tools{grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;padding-bottom:14px}
 body.raft-midnight .home-news-search .news-filter-drawer{position:relative}
 body.raft-midnight .home-news-search .news-filter-drawer>summary{font-size:.875rem;padding:.7rem .65rem;background:transparent}
 body.raft-midnight .home-news-search .news-filter-drawer[open]{grid-column:1/-1}
 body.raft-midnight .home-news-search .news-filter-menus{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 body.raft-midnight .home-news-search .news-facet{min-width:0}
 body.raft-midnight .home-news-search .news-facet-panel{position:absolute;left:20px;right:20px;width:auto;z-index:20}
 body.raft-midnight .home-news-search .news-facet{position:static}
 body.raft-midnight .home-news-search .home-rail-head h2{font-size:1.5rem}
}

body.raft-midnight .home-news-search .wrap-home-news>h2{font:500 .75rem/1.4 'DM Sans',Arial,sans-serif;letter-spacing:.08em;color:var(--raft-midnight-muted);margin:0}
body.raft-midnight .home-news-search .home-rail-head h2{font-size:1.625rem}
@media(min-width:701px){body.raft-midnight .home-news-search .news-facet-panel{left:auto;right:0}}
