/* v9.16 layout polish */
@media (min-width:1101px){
 [data-page=home] .hero{padding-top:var(--hdr)}
 [data-page=home] .hero>.hero-grid{min-height:calc(100svh - var(--hdr));align-content:center;padding-block:28px;box-sizing:border-box}
}
@media (min-width:1101px){
 #platform .sec-head--split{align-items:center}
 #platform .sec-head--split>.sec-lead{padding:22px 26px;border:1px solid rgba(170,195,235,.16);border-radius:18px;background:linear-gradient(180deg,rgba(91,155,255,.07),rgba(255,255,255,.02));box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
 .verify{align-items:center}
 .ftr-brand{padding-right:clamp(32px,3.4vw,52px)}
}
/* footer: claim centred against the contact rows */
.ftr-hero{align-items:center}
.ftr-hero .ftr-claim{padding-bottom:0;margin:0}
/* footer wordmark: ink spans exactly the frame width (Instrument Serif ink = 3.2366em, left bearing .0469em) */
.ftr-mark{container-type:inline-size;font-size:0;line-height:0;text-align:left}
.ftr-mark>span{display:block;width:max-content;font:italic 400 calc(min(100cqw,var(--max)) / 3.2366)/1 var(--serif);letter-spacing:-.02em;padding-bottom:.1em;margin-left:calc((100cqw - min(100cqw,var(--max))) / 2 - .0469em)}
/* client portal sign-in: clear space under the fixed header */
main[data-page=portal]>.po-hero:first-child{padding-top:calc(var(--hdr) * 2 + clamp(28px,3.4vw,48px))}
.po-support .po-support-new{display:block;margin-top:6px}
/* blog */
@media (min-width:1101px){
 .gd-talk>.gd-lead{max-width:none;white-space:nowrap;margin:0}
 #comparison-cluster .gd-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* contact: records card matches the spec table height */
.co-facts{align-items:stretch}
.co-facts>.co-records{display:flex;flex-direction:column}
.co-facts>.co-records>.co-tag{margin-top:auto}
/* apply: let each step size to its own content instead of the tallest step */
.ap-console .wbody{min-height:0!important}
.el-console .eligibility-question{min-height:0}
.el-console .eligibility-controls{margin-top:22px}
.ap-verify{align-items:stretch}
/* illustration consoles: the legend drops under the title instead of overflowing */
.console-head{flex-wrap:wrap;row-gap:12px}
.console-head>.legend{flex-wrap:wrap;max-width:100%}
/* director profiles */
@media (min-width:1101px){
 .sec-head--row>.pp-focus{flex:0 0 calc((100% - 24px) / 2);max-width:none}
 }
@media (min-width:1240px){
 :is([data-page=bjorn],[data-page=endrit]) .co-dark-note{max-width:none;white-space:nowrap}
}
.ap-verify>.ap-records{display:flex;flex-direction:column}
.ap-verify>.ap-records>.ap-reg{flex:1;grid-auto-rows:1fr}
.ap-verify>.ap-records>.ap-reg>li>a{height:100%;box-sizing:border-box}
/* company: facility range sentence on one line */
@media (min-width:1101px){[data-page=company] .co-range{max-width:none;flex-basis:100%}}
@media (min-width:1380px){[data-page=company] .co-range{white-space:nowrap}}
/* forms: consistent chevron with breathing room on the right */
select:not([multiple]):not([size]){-webkit-appearance:none;appearance:none;padding-right:44px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b97ab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 16px center!important;background-size:16px 16px!important}
select:not([multiple]):not([size])::-ms-expand{display:none}
select option{color:#0c121c;background:#fff}
.cb-affiliate-referral-form textarea{padding-top:12px;padding-bottom:12px;line-height:1.5}
/* inline text links keep their arrow on the same line */
p a:not([class])>svg{display:inline-block;width:.85em;height:.85em;margin-left:.25em;vertical-align:-.05em}
p a:not([class]):has(>svg){white-space:nowrap}
/* eligibility: both question cards share a height */
.el-qs{align-items:stretch}
/* trust & standards: evidence art matches the list height */
@media (min-width:1101px){
 .ts-ev{align-items:stretch}
 .ts-ev>.ts-fig{margin:0;position:relative;min-height:300px}
 .ts-ev>.ts-fig img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:var(--r-lg)}
}
/* header: Company menu reads down each column - who we are, then how to work with us */
@media (min-width:1101px){.drawer-list--2{grid-auto-flow:column;grid-template-rows:repeat(3,auto)}}
/* portal app bar: button labels centred in their pills */
.po-logout{display:inline-flex;align-items:center;justify-content:center;line-height:1;text-decoration:none}
/* portal admin: page fills the first viewport */
body[data-page=portal-admin]{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
body[data-page=portal-admin]>main{flex:1 0 auto}
/* portal admin: case summary text lines up with the form above */
.portal-case-status:not(.error){padding-inline:0;background:none}
body[data-page=portal-admin]>main{display:flex;flex-direction:column}
body[data-page=portal-admin]>main>.po-hero{flex:1 0 auto;display:flex;flex-direction:column;justify-content:center}
body[data-page=portal-admin]>main>.po-hero>.frame{width:100%}
/* v9.17 · homepage console: both tabs share one height; LTV caption centred on the figure */
[data-page=home] .hero .console{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr}
[data-page=home] .hero .console>.console-bar{grid-row:1;min-height:68px;box-sizing:border-box}
[data-page=home] .hero .console>.console-panel{grid-row:2;grid-column:1;display:flex;flex-direction:column;justify-content:space-between}
[data-page=home] .hero .console>.console-panel[hidden]{display:flex!important;visibility:hidden;pointer-events:none}
.ltv-read{align-items:center!important}
/* v9.17 · section intros, legal prose and the intermediaries FAQ use the full section width */
.sec-head--row>:is(.co-range,.co-dark-note){flex:1 1 100%;max-width:none}
.lg-prose{max-width:none}
.faq-list--fq{max-width:none}
.faq-list--fq .qa{border-right:0!important}
/* v9.18 · trust & standards: verification checklist inside the dark card */
.vf-steps{display:grid;gap:10px;margin:22px 0 4px;padding:0;list-style:none}
.vf-steps li{position:relative;display:grid;gap:4px;padding:14px 16px 14px 46px;border:1px solid rgba(169,205,251,.14);border-radius:14px;background:rgba(255,255,255,.03)}
.vf-steps li:before{content:"";position:absolute;left:16px;top:16px;width:18px;height:18px;border-radius:50%;background:rgba(52,211,153,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat}
.vf-steps b{font:600 .9375rem/1.3 var(--display);color:#fff}
.vf-steps span{font-size:.875rem;line-height:1.5;color:var(--n-text-2)}
.ap-records>.vf-steps+.sec-cta{margin-top:auto;padding-top:18px}
@media (min-width:900px){.vf-steps{grid-template-columns:1fr 1fr}.vf-steps li{padding:14px 14px 14px 42px}.vf-steps li:before{left:14px}}
.vf-steps li{align-content:start}
@media (min-width:1101px){.ts-log:has(>li:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
/* header: Funding menu descriptions each sit on one line */
@media (min-width:1101px){
 #dd-products{width:auto;max-width:calc(100vw - 2 * var(--gutter))}
 #dd-products .drawer-in{grid-template-columns:auto auto 300px}
 #dd-products .drawer-list a span{white-space:nowrap}
}
@media (min-width:1101px) and (max-width:1299px){
 #dd-products .drawer-in{grid-template-columns:auto auto 220px}
 #dd-products .drawer-col{padding-inline:6px}
 #dd-products .drawer-list a span{font-size:.75rem}
}
/* v9.19 · mobile header: assistant, Apply and menu sit flush right */
@media (max-width:1100px){.hdr-in>.hdr-tools{margin-left:auto}}
@media (max-width:640px){
 .hdr-in{gap:12px}
 .hdr-in>.hdr-tools{gap:4px}

}
@media (max-width:400px){.hdr-brand img{width:112px;height:auto}}
@media (max-width:1100px){#siteBurger{margin-right:-12px}}
