/* Track Cycling Results Database mobile-first interface, v15.
   Additive, deliberately isolated from desktop. All original timed results,
   rankings, rider identities, source links and laboratory calculations
   continue to be rendered by their existing JS modules.

   The responsive goal is readability and discoverability on real iPhones:
   16px search/form inputs avoid Safari focus zoom; 13-16px primary prose;
   obvious navigation without hidden horizontal tab items; readable touch
   targets; source times treated as data not decoration; graphs scroll
   INSIDE their panel, not sideways across the whole document.
*/
/* Phone-only hints disappear when rotating back to tablet/desktop width. */
.tcdb-mobile-scroll-tip{display:none}
@media(max-width:900px){
 main#main.page>.container{width:calc(100% - 28px);max-width:100%;margin-inline:auto}
 #app,.performance-app,.performance-app>.panel,
 .performance-app .panel,.performance-app .profile,
 .performance-app .profilebody,.performance-app .quickgrid,
 .performance-app .compare,.performance-app .comparecard,
 .performance-app .explore-layout,.performance-app .explore-chart-card{
   min-width:0;max-width:100%;
 }
 .performance-app .controls .control{min-width:0}
 .performance-app .tablewrap,.performance-app .tcdb-progression-scroll,
 .performance-app .tcdb-comparison-chart-scroll,
 .performance-app .profile-progression-chart,
 .performance-app .tcdb-pace-table-wrap{
   max-width:100%;overscroll-behavior-x:contain;
   -webkit-overflow-scrolling:touch;
 }
 .performance-app .profiletop,.performance-app .explore-layout>*{min-width:0}
}
@media(max-width:760px){
 /* One comfortable column. Keep the site masthead intact. */
 main#main.page{max-width:100%;overflow-x:clip}
 main#main.page>.container{width:calc(100% - 28px)!important;padding-left:0;padding-right:0}
 main#main.page>.container>.tcdb-hero{margin-top:0;padding:15px 0 15px}
 .tcdb-hero h1{font-size:clamp(29px,7.6vw,38px);line-height:1.07;letter-spacing:-.025em;overflow-wrap:break-word}
 .tcdb-hero p{font-size:14px;line-height:1.55;margin-top:9px}
 .tcdb-route-crumb{font-size:12px;line-height:1.5;margin-bottom:11px}
 .performance-app{margin-top:10px;min-width:0;font-size:14px;line-height:1.55}
 .tcdb-search-panel{padding:8px 0 14px}
 .database-global-search{display:block;margin:0 0 8px;padding:0;border:0;background:transparent}
 .database-global-search>label{display:block;margin-bottom:7px;font-size:12px;line-height:1.35;color:#3c4c57;letter-spacing:0;text-transform:none}
 .global-search-box{width:100%;max-width:none}
 .global-search-box>input{display:block;width:100%;min-height:52px;padding:12px 14px;border:1px solid #9eafb9;border-radius:7px;font-size:16px;line-height:1.3;background:#fff;color:#172b39}
 .global-search-box>input::placeholder{color:#687985}
 .global-search-results{z-index:80;max-height:min(55vh,460px);overscroll-behavior:contain;border-radius:6px;box-shadow:0 9px 28px rgba(17,37,48,.14)}
 .global-hit{min-height:52px;padding:12px 13px}
 .global-hit strong{font-size:16px;line-height:1.3}
 .global-hit span{font-size:12px;line-height:1.4}
 .popular-searches{gap:8px;margin-top:12px;align-items:center}
 .popular-searches>span{flex:1 1 100%;font-size:11px;letter-spacing:0;text-transform:none;margin:0;color:#61717d}
 .popular-searches button{min-height:37px;padding:7px 10px;border-radius:5px;font-size:12px;line-height:1.25;background:#fafbfd}
 .database-meta{font-size:12px;line-height:1.5;margin-top:10px}

 /* Expose all major sections: no off-screen mystery tabs on iPhone. */
 .database-tabs{
   display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
   column-gap:5px;row-gap:6px;
   width:100%;max-width:100%;
   margin:8px 0 16px;padding:0 0 12px;
   border:0;border-bottom:1px solid #cdd8df;
   overflow:visible;background:transparent;
 }
 .database-tabs button,
 .database-tabs a.database-external-tab{
   display:flex;justify-content:center;align-items:center;
   min-width:0;width:100%;min-height:49px;
   margin:0;padding:8px 5px!important;
   border:1px solid #cbd4da;border-bottom:1px solid #cbd4da;
   border-radius:6px;background:#f6f8fa;
   color:#2e4555;font-size:12px;line-height:1.25;font-weight:700;
   white-space:normal;overflow-wrap:break-word;
   text-align:center;text-decoration:none;
 }
 .database-tabs button.active{
   background:#fff4f3;border:1px solid #9f3540;
   box-shadow:inset 0 -3px 0 #9d222f;
   color:#7e1f2b;
 }
 .database-tabs button:hover,
 .database-tabs a.database-external-tab:hover{background:#eaf1f5;color:#233947}
 .database-intro{display:block;margin:0;padding:4px 0 13px}
 .database-intro h3{font-size:clamp(23px,6vw,29px);line-height:1.2}
 .database-intro p{font-size:13px;line-height:1.55;margin-top:5px}

 /* Filters begin collapsed, but remain discoverable, legible and tappable. */
 .tcdb-mobile-filter-toggle{
   min-height:50px;margin-bottom:11px;padding:11px 14px;border-radius:6px;
   background:#f0f4f7;border-color:#aebfcb;color:#203b4c;
   font-size:14px;line-height:1.35;text-align:left;
 }
 .tcdb-mobile-filter-toggle::after{font-size:22px}
 .performance-app .controls,
 .performance-app .explore-controls{
   grid-template-columns:minmax(0,1fr);
   gap:12px;padding:14px;
   margin-bottom:12px;border:1px solid #d4dde3;border-radius:7px;
   background:#f8fafb;
 }
 .performance-app .controls .control:first-child,
 .performance-app .explore-controls .explore-wide{grid-column:1/-1}
 .performance-app .control label,
 .performance-app .tcdb-compare-timeline-head label{
   margin-bottom:6px;color:#3e5261;font-size:12px;
   font-weight:750;letter-spacing:0;text-transform:none;line-height:1.35;
 }
 .performance-app .control input,.performance-app .control select,
 .performance-app .explore-controls input,.performance-app .explore-controls select,
 .performance-app .tcdb-compare-timeline-head select{
   width:100%;min-height:48px;padding:10px 12px;
   border:1px solid #abbcc7;border-radius:6px;background:#fff;
   color:#213442;font-size:16px;line-height:1.3;
 }
 .performance-app .filter-actions{grid-column:1/-1}
 .performance-app .filter-clear{min-height:44px;width:100%;font-size:13px;border-radius:5px}
 .summary{font-size:13px;line-height:1.5;margin:3px 0 6px}
 .summary span+span{margin-top:3px}

 /* Browse rider names, nations and years as a list rather than a tiny table. */
 .rider-list-head{display:none}
 #rider-list{border-top:0}
 #rider-list .rider{
   grid-template-columns:minmax(0,1fr) auto!important;
   min-height:65px;gap:9px 12px;
   margin-bottom:7px;padding:13px 12px;
   border:1px solid #d4dde3;border-radius:6px;
   background:#fff;
 }
 #rider-list .rider>div:first-child{min-width:0}
 #rider-list .rider>div:nth-child(2){justify-self:end;max-width:115px}
 #rider-list .rider>div:nth-child(n+3){display:none}
 #rider-list .rider-name-link,
 #rider-list .rider>div:first-child strong{
   font:700 18px/1.3 var(--tcdb-serif,Georgia,serif);
   color:#1c2c38;text-align:left;white-space:normal;overflow-wrap:anywhere;
 }
 #rider-list .nation-inline{font-size:12px;white-space:normal}
 #rider-list .nation-flag{width:23px;height:17px}
 #rider-list .rider>.smallbtn{display:none!important}
 #rider-list .rider:hover{background:#f8fafc}
 #rider-list .rider:focus-within{outline:2px solid #2b6e88;outline-offset:2px}

 /* Profiles are the destination. No unreadable five-column fact strips. */
 .performance-app .profile{margin:14px 0 10px;padding:16px 13px;border-radius:7px}
 .performance-app .profiletop{display:block}
 .profile h3{font-size:clamp(28px,7vw,36px);line-height:1.12;margin:4px 0 10px}
 .profile .kicker{font-size:11px}
 .profile p{font-size:13px;line-height:1.55}
 .profileactions{
   display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
   gap:8px;margin:15px 0 2px;
 }
 .profileactions button,.profileactions a{
   display:flex;min-width:0;width:100%;align-items:center;justify-content:center;
   min-height:44px;padding:9px 7px;border-radius:5px;
   font-size:12px;line-height:1.3;text-align:center;white-space:normal;
 }
 .tcdb-breadcrumb{font-size:11px;line-height:1.4;gap:8px}
 .tcdb-rider-equipment{margin:13px 0;padding:13px;border-radius:6px}
 .tcdb-rider-equipment strong{font-size:16px}
 .tcdb-rider-equipment p{font-size:12px}
 .tcdb-rider-equipment a{font-size:13px;line-height:1.5}
 .rider-facts{
   grid-template-columns:repeat(2,minmax(0,1fr));
   gap:0;border:1px solid #d8e0e5;border-radius:6px;overflow:hidden;
 }
 .rider-fact{min-width:0;padding:11px 12px;border-bottom:1px solid #e1e7eb}
 .rider-fact:nth-child(2n){border-right:0}
 .rider-fact:nth-last-child(-n+2){border-bottom:0}
 .rider-fact span{font-size:11px;line-height:1.3;letter-spacing:0}
 .rider-fact strong{margin-top:5px;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
 #rider-profile .stats{
   display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
   margin:12px 0 0;gap:0;border:1px solid #d6e0e6;border-radius:6px;overflow:hidden;
 }
 #rider-profile .stat{
   grid-column:auto;padding:12px 13px;min-height:65px;
   border:0;border-bottom:1px solid #e2e8ec;border-right:1px solid #e2e8ec;
 }
 #rider-profile .stat:nth-child(2n){border-right:0}
 /* Four rider counters should form a balanced 2x2 grid. A genuinely
    odd last counter can span the next row without leaving a blank tile. */
 #rider-profile .stat:last-child:nth-child(odd){
   grid-column:1/-1;border-right:0;
 }
 #rider-profile .stat span{font-size:11px;line-height:1.3;letter-spacing:0}
 #rider-profile .stat strong{font-size:22px;line-height:1.15;margin-top:5px}
 .profiletabs{
   display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
   gap:6px;max-width:100%;
   margin:16px 0 13px;padding:0 0 10px;border-bottom:1px solid #d8e1e7;
   overflow:visible;
 }
 .profiletabs button{
   min-width:0;min-height:47px;width:100%;padding:7px 5px;
   display:flex;align-items:center;justify-content:center;
   white-space:normal;text-align:center;font-size:12px;line-height:1.25;
   border:1px solid #d5dfe5;border-radius:5px;background:#f6f8fa;
 }
 .profiletabs button.active{
   border:1px solid #96313b;
   box-shadow:inset 0 -3px 0 #a52d36;
   background:#fff6f4;color:#7c2631;
 }
 .profilebody{min-width:0;padding-top:1px}
 .subhead{font-size:21px;line-height:1.2;margin:22px 0 10px}
 .tcdb-best-explainer,.tcdb-chart-caveat,.tcdb-peer-note{
   font-size:12px;line-height:1.6;margin-bottom:10px;
 }
 .quickgrid,.compare{grid-template-columns:minmax(0,1fr);gap:17px}
 .recordrow{
   display:grid;grid-template-columns:minmax(0,1fr) auto;
   align-items:start;gap:5px 9px;min-width:0;
   padding:12px 11px;font-size:13px;line-height:1.45;
 }
 .recordrow strong{font-size:16px;line-height:1.3;overflow-wrap:anywhere}
 .recordrow>span{grid-column:1/-1;font-size:12px;line-height:1.5;color:#566671}
 .recordrow .smallbtn.time{grid-column:2;grid-row:1;min-width:75px;min-height:39px;font-size:15px;padding:7px 8px}
 .tcdb-best-cohort{display:block;max-width:100%;width:max-content;margin:5px 0 0;font-size:11px;white-space:normal}
 .tcdb-chart-foot,.tcdb-chart-evidence-note,.tcdb-compare-chart-foot{font-size:12px;line-height:1.55}
 .tcdb-peer-row,.materow{padding:12px;gap:10px}
 .tcdb-peer-name{font-size:16px}
 .tcdb-peer-main>.dim,.tcdb-peer-events{font-size:12px;line-height:1.5}
 .tcdb-peer-actions button{min-height:42px;font-size:12px}
 .meeting-event{padding:13px;gap:9px;align-items:flex-start}
 .meeting-event strong{font-size:16px}
 .meeting-event span{font-size:12px;line-height:1.4}
 .meeting-events{grid-template-columns:1fr}

 /* Results and Rankings become labelled, scannable data cards.  */
 .performance-app .tablewrap{
   max-width:100%;overflow:visible;border:0;border-radius:0;background:transparent;
 }
 .performance-app table{display:block;width:100%;min-width:0!important;border:0}
 .performance-app thead{display:none}
 .performance-app tbody{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 .performance-app tbody tr{
   display:block;width:100%;min-width:0;
   overflow:hidden;border:1px solid #d7e0e6;border-radius:6px;background:#fff;
   box-shadow:0 1px 4px rgba(26,49,61,.035);
 }
 .performance-app tbody td{
   display:block;width:100%;min-width:0;
   padding:9px 12px;border-bottom:1px solid #edf0f2;
   color:#263641;font-size:13px;line-height:1.45;overflow-wrap:anywhere;
 }
 .performance-app tbody td[data-label]{
   display:grid;grid-template-columns:minmax(82px,32%) minmax(0,1fr);
   column-gap:12px;row-gap:4px;align-items:start;
 }
 .performance-app tbody td[data-label]::before{
   content:attr(data-label);min-width:0;
   color:#5c6e7b;font-size:11px;font-weight:800;line-height:1.5;
   letter-spacing:0;text-transform:none;
 }
 .performance-app tbody td:first-child{border-top:0}
 .performance-app tbody td:last-child{border-bottom:0}
 .performance-app .result-value-link,.performance-app .time-link,
 .performance-app .entity-link{font-size:inherit;line-height:1.45;min-height:28px;text-align:left}
 .performance-app .pages{gap:8px;flex-wrap:wrap}
 .performance-app .pages button{min-width:80px;min-height:46px;font-size:13px;border-radius:5px}
 /* Exception: true split tables require labelled columns and internal
    horizontal scrolling; stacking each split into a separate card is worse. */
 .performance-app .tcdb-pace-table-wrap{
   max-width:100%;overflow-x:auto;overflow-y:auto;
   border:1px solid #d8e0e5;border-radius:6px;
 }
 .performance-app .tcdb-pace-table-wrap table{
   display:table;width:100%;min-width:510px!important;
   border-collapse:collapse;font-size:12px;
 }
 .performance-app .tcdb-pace-table-wrap thead{display:table-header-group}
 .performance-app .tcdb-pace-table-wrap tbody{display:table-row-group}
 .performance-app .tcdb-pace-table-wrap tbody tr{
   display:table-row;border:0;box-shadow:none;border-radius:0;
 }
 .performance-app .tcdb-pace-table-wrap th,
 .performance-app .tcdb-pace-table-wrap td{
   display:table-cell;width:auto;padding:10px;
   font-size:12px;line-height:1.4;border-bottom:1px solid #e7edf1;
   white-space:nowrap;
 }
 .performance-app .tcdb-pace-table-wrap td::before{content:none!important}

 /* Keep chronological axes legible: scroll charts within their panels. */
 .chartblock{padding:13px 10px;min-width:0}
 .charthead strong{font-size:18px;line-height:1.3}
 .charthead span{font-size:12px;line-height:1.4}
 .tcdb-progression-scroll,.tcdb-comparison-chart-scroll,
 .explore-chart,.profile-progression-chart,.compare-progression-chart,
 .venue-progression-chart{
   max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;
   -webkit-overflow-scrolling:touch;
   scrollbar-width:thin;
 }
 .progresssvg.tcdb-annotated-progression{min-width:625px}
 .tcdb-comparison-svg{min-width:625px}
 .explore-chart{min-height:255px;padding:8px}
 .explore-chart svg{min-width:740px}
 .tcdb-chart-hint,.tcdb-compare-chart-foot{font-size:12px;line-height:1.55}
 .tcdb-mobile-scroll-tip{
   display:block;margin:6px 0 7px;
   color:#4d6878;font-size:12px;line-height:1.5;
   font-weight:650;
 }
 .tcdb-mobile-scroll-tip::before{
   content:"\2194";display:inline-block;margin-right:8px;
   color:#9c2635;font-size:15px;vertical-align:middle;
 }
 .explore-layout{grid-template-columns:minmax(0,1fr);gap:14px}
 .explore-chart-card{min-width:0}
 .explore-stats{
   display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
   margin:13px 0;gap:0;border:1px solid #dbe4e9;border-radius:6px;overflow:hidden;
 }
 .explore-stats>div{
   min-width:0;padding:12px;border:0;
   border-right:1px solid #e0e7ec;border-bottom:1px solid #e0e7ec;
 }
 .explore-stats>div:nth-child(2n){border-right:0}
 .explore-stats>div:nth-last-child(-n+2){border-bottom:0}
 .explore-stats span,.explore-stats small{font-size:11px;line-height:1.4;letter-spacing:0}
 .explore-stats strong{font-size:22px;line-height:1.2;margin:5px 0}
 .explore-heading{gap:10px}
 .explore-heading h4{font-size:21px;line-height:1.25;overflow-wrap:anywhere}
 .explore-heading .textbtn{width:100%;min-height:44px;font-size:13px}
 .explore-detail{
   min-height:0;border-top:3px solid #a22b35;padding:14px 12px;
   background:#f8fafb;border-radius:3px;
 }
 .explore-detail h4{font-size:24px;line-height:1.2}
 .explore-selected-time{font-size:36px;line-height:1.2}
 .explore-detail p{font-size:13px;line-height:1.55}
 .explore-selected-facts span{font-size:11px;line-height:1.4}
 .explore-selected-facts strong{font-size:17px}
 .explore-detail-actions button{min-height:45px;font-size:13px;width:100%}
 .explore-legend{font-size:12px;line-height:1.5;gap:9px 14px}
 .explore-legend-item{min-height:44px;gap:10px}
 .explore-legend-item input[type=color]{width:44px;height:40px;min-width:44px;border-radius:6px}
 .tcdb-featured-performances{padding:14px;border-radius:6px}
 .tcdb-featured-performances h4{font-size:21px}
 .tcdb-featured-performances p{font-size:13px;line-height:1.55}
 .tcdb-featured-grid{grid-template-columns:minmax(0,1fr);gap:9px}
 .tcdb-featured-grid a{min-height:75px;padding:13px}
 .tcdb-featured-grid span,.tcdb-featured-grid small{font-size:12px}
 .tcdb-featured-grid strong{font-size:17px}
 .tcdb-compare-timeline{padding:14px 11px}
 .tcdb-compare-timeline-head h4{font-size:22px}
 .tcdb-compare-timeline-head p{font-size:13px}
 .tcdb-compare-timeline-head .control{min-width:0;width:100%}
 .tcdb-compare-chart-legend{font-size:12px}
 .tcdb-milestone-list li,.tcdb-milestone-list li button{font-size:12px}
 .tcdb-milestone-list summary{font-size:13px}

 /* Performance Lab controls & products should look designed for hands,
    not like five narrow desktop spreadsheet columns. */
 .tcdb-performance-lab{min-width:0;max-width:100%;margin:18px 0;padding:15px 13px;border-radius:8px}
 .tcdb-lab-head{display:flex;flex-direction:column;gap:9px;align-items:stretch}
 .tcdb-lab-head h4{font-size:clamp(22px,6vw,27px);line-height:1.2;margin:7px 0}
 .tcdb-lab-kicker{font-size:11px;line-height:1.3}
 .tcdb-lab-head p{font-size:13px;line-height:1.55}
 .tcdb-lab-head button{width:100%;min-height:44px;font-size:13px;border-radius:5px}
 .tcdb-lab-intro{font-size:13px;line-height:1.65;margin:13px 0 17px}
 .tcdb-lab-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px}
 .tcdb-lab-fields label{font-size:13px;line-height:1.35;gap:5px}
 .tcdb-lab-fields label span{font-size:11px;line-height:1.4;color:#5b6d78}
 .tcdb-lab-fields input,.tcdb-lab-fields select{
   min-height:47px;font-size:16px;line-height:1.3;border-radius:6px;
 }
 .tcdb-lab-numbers,.tcdb-physics-kpis{
   grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0;
 }
 .tcdb-lab-stat,.tcdb-physics-kpis>div{padding:12px;min-width:0}
 .tcdb-lab-stat span,.tcdb-physics-kpis span{font-size:11px;line-height:1.4}
 .tcdb-physics-kpis>div:last-child:nth-child(odd){grid-column:1/-1}
 .tcdb-lab-stat strong,.tcdb-physics-kpis strong{
   font-size:19px;line-height:1.3;overflow-wrap:anywhere;
 }
 .tcdb-lab-graphic{
   min-width:0;max-width:100%;
   overflow-x:auto;overscroll-behavior-x:contain;
   -webkit-overflow-scrolling:touch;
   padding:11px 9px;border-radius:6px;
 }
 .tcdb-lab-graphic-title{font-size:13px;line-height:1.5}
 .tcdb-lab-graphic svg{
   display:block;min-width:560px;max-width:none;
   width:560px;height:auto;overflow:visible;
 }
 .tcdb-lab-graphic:after{
   content:"Swipe chart sideways for more detail";
   display:block;width:fit-content;max-width:100%;
   margin:6px 0 0;color:#5d7180;font-size:11px;
 }
 .tcdb-pace-legend{font-size:12px;line-height:1.5;gap:9px 16px}
 .tcdb-lab-physics{margin:15px 0;padding:13px}
 .tcdb-lab-physics summary{font-size:15px;line-height:1.5}
 .tcdb-lab-physics p,.tcdb-physics-caveat{font-size:12px;line-height:1.6}
 .tcdb-physics-sensitivity{padding:11px;gap:9px}
 .tcdb-sensitivity-row{grid-template-columns:minmax(82px,1.2fr) minmax(45px,1fr) 48px;gap:8px;font-size:11px}
 .tcdb-sensitivity-row strong{font-size:12px}
 .tcdb-lab-memory{padding:12px}
 .tcdb-lab-memory-label,.tcdb-lab-memory-status{font-size:12px}
 .tcdb-lab-memory-actions{gap:8px}
 .tcdb-lab-memory-actions button{min-height:42px;padding:9px 10px;font-size:12px;flex:1 1 40%}
 .tcdb-lab-shopping{padding-top:20px}
 .tcdb-lab-shopping h5{font-size:20px;line-height:1.3}
 .tcdb-lab-shopping p{font-size:12px;line-height:1.6}
 .tcdb-lab-shopping [data-lab-products],.tcdb-lab-shopping [data-pace-products],
 .tcdb-lab-shopping [data-start-products]{grid-template-columns:minmax(0,1fr);gap:10px}
 .tcdb-lab-product{padding:14px;gap:8px}
 .tcdb-lab-product strong{font-size:16px;line-height:1.4}
 .tcdb-lab-product span{font-size:12px;line-height:1.5}
 .tcdb-lab-product a{min-height:44px;display:flex;align-items:center;font-size:14px}
 .tcdb-lab-next{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 .tcdb-lab-next a{font-size:13px;line-height:1.45;min-height:42px;display:flex;align-items:center}
 .tcdb-pace-table-wrap{margin-top:14px}
 .performance-tool-grid{grid-template-columns:minmax(0,1fr);gap:8px}
 .performance-tool-card{padding:12px;border-radius:6px}
 .performance-tool-card strong{font-size:13px;line-height:1.4}
 .tcdb-compare-recorded-milestones{grid-template-columns:minmax(0,1fr)}
 .tcdb-progression-insights{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tcdb-progression-insights>div{border:0;border-right:1px solid #e0e7eb;border-bottom:1px solid #e0e7eb;padding:11px}
 .tcdb-progression-insights>div:nth-child(2n){border-right:0}
 .tcdb-progression-insights span{font-size:11px;line-height:1.4}
 .tcdb-progression-insights strong{font-size:19px}
 .tcdb-progression-insights small{font-size:11px}
}
@media(max-width:410px){
 main#main.page>.container{width:calc(100% - 22px)!important}
 .performance-app .profile{padding:13px 10px}
 .database-tabs{gap:5px}
 .database-tabs button,
 .database-tabs a.database-external-tab{font-size:11px;line-height:1.25;padding:8px 4px!important;min-height:52px}
 .profileactions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .profileactions button,.profileactions a{font-size:11px}
 .rider-fact{padding:10px 9px}
 .rider-fact strong{font-size:12px}
 .performance-app tbody td[data-label]{grid-template-columns:minmax(75px,34%) minmax(0,1fr);column-gap:9px}
 .recordrow{grid-template-columns:minmax(0,1fr) auto;gap:6px}
 .recordrow .smallbtn.time{min-width:70px}
 .tcdb-performance-lab{padding:13px 10px}
 .tcdb-lab-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}
 .tcdb-lab-stat strong{font-size:17px}
 .tcdb-lab-physics .tcdb-lab-fields{grid-template-columns:minmax(0,1fr)}
}
/* Respect accessibility: neither motion nor reduced-motion preferences
   alter data, chart coordinates or source links. */
@media(prefers-reduced-motion:reduce){
 .performance-app *{scroll-behavior:auto!important;transition-duration:0s!important}
}
