/* Shared mobile reading layouts. Desktop presentation is unchanged. */
.mobile-sections-bar{display:none}
.mobile-sections-dialog{width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:20px;border:1px solid #111;background:#fff;color:#111;overflow:auto;overscroll-behavior:contain}
.mobile-sections-dialog::backdrop{background:rgba(0,0,0,.35)}
.mobile-sections-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid #ddd}
.mobile-sections-head h2{margin:0;font:400 22px/1.3 Georgia,serif}
.mobile-sections-head button,.mobile-sections-bar button{font:12px/1.5 'Courier New',monospace;padding:7px 11px;min-height:36px;background:white;color:#111;border:1px solid #111;cursor:pointer}
.mobile-sections-links{display:grid;padding-top:8px}
.mobile-sections-links a{padding:13px 8px;border-bottom:1px solid #eee;text-decoration:none;font:14px/1.5 'Courier New',monospace;min-height:44px;overflow-wrap:anywhere}
.mobile-sections-links a[aria-current]{background:#f3f3f3}
.mobile-roadmap{display:none}
@media screen and (max-width:900px){
 .mobile-sections-enhanced .mobile-sections-source{display:none!important}
 .mobile-sections-bar{position:sticky;top:0;z-index:8;display:flex;justify-content:flex-end;padding:10px 0;border-bottom:1px solid #ddd;background:rgba(255,255,255,.97)}
 .mobile-sections-target{scroll-margin-top:76px!important}
 .press-page .press-hero{padding:40px 0 32px}
 .press-page .press-hero h1,.api-docs-page .api-hero h1,.legal-page .legal-hero h1,.account-page .workspace-title h1,.research-page .paper-hero h1{font-size:clamp(28px,4.8vw,36px);line-height:1.18;margin-bottom:20px;overflow-wrap:anywhere}
 .press-page .press-lead,.api-docs-page .api-intro,.legal-page .legal-description,.account-page .workspace-title>p:last-child{font-size:16px;line-height:1.6;margin-bottom:22px}
 .press-page .press-label,.press-page .press-release-meta,.press-page .press-kit-meta,.legal-page .legal-eyebrow,.legal-page .legal-date,.api-docs-page .api-eyebrow{font-size:10px;line-height:1.5}
 .press-page .press-main{padding-bottom:40px}
 .press-page .press-main h2{font-size:26px;line-height:1.2;margin-bottom:14px}
 .press-page .press-section{padding-top:36px}
 .press-page .press-sections>.press-section:first-child{padding-top:24px}
 .press-page .press-section-heading{margin-bottom:20px}
 .press-page .press-section-heading p,.press-page .press-article>p,.press-page .press-release-entry p,.press-page .press-kit-list,.press-page .press-reuse-copy p{font-size:16px;line-height:1.65}
 .press-page .press-release-entry{padding:22px 0}
 .press-page .press-release-entry h3{font-size:22px;line-height:1.3}
 .press-page .press-contact,.press-page .press-article+.press-contact{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding-top:26px;margin-top:36px}
 .press-page .press-article+.press-contact>div{display:block}
 .press-page .press-contact h2{font-size:22px;margin:0 0 8px}
 .press-page .press-contact p{font-size:15px;line-height:1.6;white-space:normal}
 .press-page .press-contact .button{margin-top:0;align-self:flex-start}
 .press-page .press-article h2{font-size:23px;margin-top:28px}
 .press-page .press-article>p{margin-bottom:18px}
 .press-page .press-back{margin-bottom:20px}
 .press-page .press-actions{gap:10px}
 .press-page .press-reading .paper-main{padding-bottom:0}
 .jobs-page .jobs-board{padding-top:24px}
 .jobs-page .jobs-filters{gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .jobs-page .jobs-keyword{grid-column:1/-1}
 .jobs-page .jobs-filters input,.jobs-page .jobs-filters select{font-size:16px;min-width:0}
 .jobs-page .jobs-layout{grid-template-columns:1fr;gap:24px}
 .jobs-page .jobs-detail{padding:22px 20px}
 .jobs-page .job-card h2{font-size:20px}
 .jobs-page .job-description h2{font-size:26px;overflow-wrap:anywhere}
 .jobs-page .job-section{padding-top:24px}
 .jobs-page .job-section h3{font-size:21px;margin-bottom:12px}
 .jobs-page .job-section p,.jobs-page .job-section li{font-size:16px;line-height:1.6}
 .jobs-page .job-description-header{padding-bottom:20px}
 .investor-page .investor-roadmap{padding:0}
 .investor-page .investor-chart-scroll{padding:0;overflow:visible}
 .investor-page .investor-chart-scroll>svg:not(.mobile-roadmap){display:none}
 .investor-page .investor-chart-scroll>.mobile-roadmap{display:block;width:100%;min-width:0;height:auto}
 .investor-page .paper-chart figcaption{font-size:11px;line-height:1.6}
 .api-docs-page .api-main,.legal-page .legal-main,.account-page .account-main{padding:40px 0}
 .api-docs-page .api-hero,.legal-page .legal-hero{padding-bottom:28px}
 .api-docs-page .api-layout{margin-top:24px;gap:24px}
 .api-docs-page .api-section{padding-bottom:28px;margin-bottom:30px}
 .api-docs-page .api-hero-actions{gap:10px;margin-top:22px}
 .api-docs-page .api-sidebar{padding:0}
 .api-docs-page .api-content pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6;padding:14px}
 .api-docs-page .api-code-bar{gap:10px;flex-wrap:wrap}
 .api-docs-page .api-section h2{font-size:24px}
 .api-docs-page .api-section h3{font-size:20px}
 .legal-page .legal-layout{display:block;padding-top:22px}
 .legal-page .legal-sidebar{position:static;margin-bottom:22px}
 .legal-page .legal-sidebar nav{display:flex;flex-wrap:wrap;gap:8px 18px}
 .legal-page .legal-sidebar nav a{padding:8px 0;font-size:12px}
 .legal-page .legal-sidebar p{display:none}
 .legal-page .legal-content{font-size:16px;line-height:1.65}
 .legal-page .legal-content section{margin-bottom:28px;padding-bottom:24px}
 .legal-page .legal-content h2{font-size:23px;line-height:1.3}
 .account-page .account-layout{grid-template-columns:1fr;gap:24px}
 .account-page .workspace-title{margin-bottom:28px}
 .account-page .account-sidebar{position:static;padding:0;border:0}
 .account-page .account-subscription{padding:20px}
 .account-page .account-subscription-head,.account-page .account-section-heading{flex-wrap:wrap}
 .account-page .account-subscription-facts{grid-template-columns:1fr;gap:16px}
 .account-page .account-subscription-facts>div:last-child{grid-column:auto}
 .account-page .account-actions{flex-wrap:wrap;gap:10px}
 .account-page .account-profile dd,.account-page .account-key-reveal code{overflow-wrap:anywhere}
 .account-page .account-field-pair{grid-template-columns:1fr;gap:12px}
 .account-page input,.account-page select,.account-dialog input,.account-dialog select{font-size:16px}
 .account-page .account-dialog{padding:22px 20px}
 .account-page .account-dialog-head{gap:12px}
 .sgg-login{padding:28px 20px 22px;max-height:calc(100dvh - 24px)}
 .sgg-login h2{font-size:26px}
 .sgg-login input,.sgg-login select,.sgg-login textarea{font-size:16px}
 .sgg-subscribe-order{padding:16px}
 .sgg-contact-fields{grid-template-columns:1fr}
 .research-page .paper-hero{padding:40px 0 28px}
 .research-page .paper-main{padding:28px 0 40px}
 .research-page .grid3{grid-template-columns:1fr}
 .research-page .article{max-width:100%}
 .research-page .portfolio-chart,.research-page .portfolio-path{margin-inline:0;padding:14px 10px}
 .research-page .portfolio-path .path-meta{flex-wrap:wrap;gap:8px}
 .forward-page .wrap{padding:24px 20px}
 .forward-page h1{font-size:28px;margin-top:32px}
 .forward-page nav{flex-wrap:wrap;gap:12px}
 .forward-page form{display:flex;flex-wrap:wrap;gap:10px}
 .forward-page select{max-width:100%;font-size:16px}
 .forward-page .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
}
@media screen and (max-width:600px){
 .press-page .press-actions>.button,.press-page .press-contact .button,.api-docs-page .api-hero-actions>.api-button{width:100%;white-space:normal;text-align:center}
 .press-page .press-text-link{white-space:normal}
 .press-page .press-machine-links,.press-page .press-article-links{gap:14px;align-items:flex-start;flex-direction:column}
 .jobs-page .jobs-list{grid-template-columns:1fr}
 .jobs-page .jobs-filters{grid-template-columns:1fr}
 .jobs-page .jobs-filters>.button{width:100%}
 .account-page .account-actions>.button{max-width:100%;white-space:normal;justify-content:center}
 .account-page .account-subscription-actions>.button{width:100%}
 .account-page .account-dialog-actions{flex-wrap:wrap}
 /* Row cards preserve every field and action, including API parameter details. */
 body .responsive-record-table{display:block;min-width:0!important;width:100%;table-layout:fixed}
 body .responsive-record-table caption{display:block}
 body .responsive-record-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 body .responsive-record-table tbody{display:block}
 body .responsive-record-table tbody tr{display:block;border-top:1px solid #111;padding:10px 0;margin:0 0 16px}
 body .responsive-record-table tbody td,body .responsive-record-table tbody th{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px;width:auto;min-width:0!important;max-width:100%;padding:9px 0!important;border-bottom:1px solid #eee;white-space:normal!important;text-align:left;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
 body .responsive-record-table tbody td::before,body .responsive-record-table tbody th::before{content:attr(data-label);font:11px/1.5 'Courier New',monospace;color:#666;overflow-wrap:anywhere}
 body .responsive-record-table tbody [colspan]{display:block}
 body .responsive-record-table tbody [colspan]::before{display:none}
 body .responsive-record-table a,body .responsive-record-table button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
 .investor-page .investor-milestones{min-width:0}
}
@media(prefers-reduced-motion:reduce){html:has(.mobile-sections-enhanced){scroll-behavior:auto}}
@media print{.mobile-sections-bar,.mobile-sections-dialog,.mobile-roadmap{display:none!important}}
