/* Final responsive layer: page content reflows; only genuine data tables scroll. */
@media(max-width:860px){
 html,body{max-width:100%;width:100%;margin:0}body{overflow-x:clip}main,section,article,aside,form,.hero-grid,.hero-copy,.cards>*{min-width:0}img{max-width:100%}input,select,textarea{max-width:100%;font-size:16px!important}button,a,input,select,textarea{touch-action:manipulation}p,li,td,h1,h2,h3{overflow-wrap:anywhere}
 .global-header{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:10px;padding:10px 14px;min-height:64px;height:auto}.global-brand{min-width:0;gap:8px}.global-brand-copy strong{font-size:16px}.global-brand-copy small{font-size:7px}.global-menu{display:block;min-height:44px;width:44px;margin:0}.global-nav{grid-column:1/-1;display:none;margin:0;width:100%;padding:8px 0;max-height:calc(100dvh - 80px);overflow-y:auto}.global-nav.open{display:flex}.global-nav a{min-height:44px;display:flex;align-items:center;font-size:14px;white-space:normal}.global-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.global-footer-bottom{flex-wrap:wrap}
 .home-page .hero{padding:16px 16px 0}.home-page .hero-grid{display:flex;flex-direction:column;min-height:0}.home-page .hero-copy{padding:8px 0 12px}.home-page .badge{font-size:9px;max-width:100%}.home-page .hero h1{font-size:clamp(32px,8.4vw,48px);line-height:1.1;letter-spacing:-.035em;margin:18px 0 16px}.home-page .hero-copy p{font-size:16px;line-height:1.6;margin-bottom:20px}.home-page .actions{display:flex;flex-direction:column;gap:10px;width:100%}.home-page .actions .btn{min-height:48px;width:100%;padding:12px;font-size:14px;white-space:normal;text-align:center}.home-page .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0 12px}.home-page .metric{min-width:0;padding:0 10px}.home-page .metric b{font-size:16px}.home-page .metric small{font-size:12px}.home-page .hero-visual{height:auto;max-height:300px;margin:6px 0 18px;min-height:0}.home-page .hero-visual img{width:100%;height:auto;max-height:300px;object-fit:contain}.home-page .cards{display:grid;grid-template-columns:minmax(0,1fr);padding:16px;gap:16px}.home-page .card{padding:18px;min-height:0}.home-page .card h3{font-size:20px}.home-page .card>p,.home-page .live-row small,.home-page .hyp-row small{font-size:13px;line-height:1.5}.home-page .live-row{min-height:52px}.home-page .live-row b{font-size:14px}.home-page .search-wrap{padding:0 16px}.home-page .search{min-height:50px}.home-page .services{padding:14px 16px 32px}.home-page .services-head{display:block}.home-page .services h2{font-size:28px;line-height:1.15}.home-page .services-head>p{font-size:15px;margin-top:12px}.home-page .service-table-wrap{overflow:visible}.home-page .service-table,.home-page .service-table tbody{display:block;min-width:0;width:100%}.home-page .service-table thead{display:none}.home-page .service-table tr{display:flex;flex-direction:column;padding:6px}.home-page .service-table td{display:block;width:100%;font-size:14px;padding:14px;overflow-wrap:anywhere}.home-page .service-table td::before{content:attr(data-label);display:block;color:#7fabc3;font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:7px}.home-page .service-table .table-cta{display:flex;min-height:46px;white-space:normal;text-align:center}.home-page .services-boundary{font-size:12px;line-height:1.6}
 .map-intro{display:block!important;padding:24px 16px!important}.map-intro h1{font-size:32px!important;line-height:1.15!important}.source-card{margin-top:18px;max-width:100%}.graph-workspace{display:flex!important;flex-direction:column;min-height:0!important;padding:0 12px!important}.left-rail{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;border-radius:12px 12px 0 0!important;padding:10px!important;align-items:center;max-width:100%}.left-rail .rail-title,.left-rail .scope-card{display:none}.left-rail .mode{flex:0 0 auto;min-height:44px;min-width:88px;margin:0!important;font-size:13px}.map-stage{width:100%;border:1px solid var(--line)!important}.graph-search{padding:10px!important;min-width:0;display:flex!important;gap:6px}.graph-search label{min-width:0;flex:1}.graph-search input{min-width:0!important;width:100%}.graph-search button{flex:0 0 auto;min-height:44px}.canvas-wrap{height:54dvh!important;min-height:340px;max-height:570px}.map-controls{max-width:calc(100% - 20px);overflow-x:auto}.map-controls button{min-width:40px;min-height:40px}.mini-map{display:none!important}.graph-workspace>.inspector{width:100%!important;display:block!important;border-radius:0 0 12px 12px!important;max-height:380px;overflow:auto}.workbook,.market{padding:28px 16px!important}.section-heading{display:block!important}.section-heading h2{font-size:26px!important}.sheet-layout{display:block!important}.sheet-tabs{display:flex!important;flex-wrap:nowrap;overflow-x:auto;max-width:100%;margin-bottom:12px}.sheet-tabs button{flex:0 0 auto;min-height:44px}.ai-library-tools{grid-template-columns:minmax(0,1fr)!important}.ai-hypothesis-table-wrap{max-width:100%;overflow:auto}.ai-hypothesis-table{min-width:0!important;table-layout:fixed}.ai-hypothesis-table thead{display:none}.ai-hypothesis-table tbody,.ai-hypothesis-table tr,.ai-hypothesis-table td{display:block;width:100%;min-width:0!important}.ai-hypothesis-table tr{border-bottom:2px solid #31516e;padding:10px}.ai-hypothesis-table td{font-size:14px!important;padding:9px!important}.ai-hypothesis-claim p{line-height:1.6}.ai-library-pagination{display:flex;flex-wrap:wrap;gap:10px}.ai-library-pagination button{min-height:44px}.sheet-table-wrap,.table-wrap{max-width:100%;overflow-x:auto}
 .workspace-page main{padding:22px 14px!important}.workspace-page .grid{grid-template-columns:minmax(0,1fr)!important}.workspace-page article{padding:16px!important}.workspace-page #nav{display:flex;flex-wrap:nowrap;overflow:auto;max-width:100%;padding-bottom:10px}.workspace-page #nav button,.workspace-page #nav a{flex:0 0 auto;min-height:44px}.workspace-page button{min-height:44px}.workspace-page h1{font-size:28px}.contact-page main{padding-left:16px!important;padding-right:16px!important}.contact-page .contact-grid,.contact-page .form-grid,.contact-page .grid{grid-template-columns:minmax(0,1fr)!important}
 .research-page .hero,.research-page .record,.research-page .data-grid,.research-page .status-grid{grid-template-columns:minmax(0,1fr)!important}.research-page h1{font-size:36px}.research-page .facts{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:480px){.global-footer-grid{grid-template-columns:minmax(0,1fr)}.global-footer{padding:28px 16px!important}.global-brand-copy small{letter-spacing:0}.home-page .hero h1{font-size:34px}}
