@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--bg:#080b0e;--panel:#141a20;--edge:#39424b;--muted:#a5aeb9;--red:#ed252d}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#f5f6f8;font:15px Inter,Arial,sans-serif}a{color:inherit;text-decoration:none}h1,h2,p{margin-top:0}h1,h2{font-family:'Barlow Condensed',Arial,sans-serif}h1{font-size:40px}h2{font-size:25px}button,input{font:inherit}button{cursor:pointer}input{width:100%;padding:13px 14px;margin:8px 0 18px;background:#232b34;border:1px solid #505a66;border-radius:9px;color:white;outline:none}input:focus{border-color:var(--red)}label{display:block;color:#dce0e5;font-size:13px;font-weight:600}.primary{display:block;width:100%;background:linear-gradient(#f4353e,#bc121c);border:1px solid #fa4147;border-radius:9px;color:white;font-weight:700;padding:14px 18px}.primary:hover{filter:brightness(1.13)}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:radial-gradient(ellipse at 30% 80%,#37151b,#090e14 65%)}.hero{min-height:100vh;background:linear-gradient(180deg,#08101bc4,#1d1017b5),url('track.svg') center/cover;display:flex;align-items:flex-start;justify-content:center;padding:16vh 24px 30px;text-align:center}.hero-logo,.brand{font-family:'Barlow Condensed',Impact,sans-serif;font-size:96px;font-style:italic;font-weight:900;letter-spacing:-5px;text-shadow:0 3px 4px #000}.hero-logo span,.brand span{color:var(--red)}.checker{color:#c7c9cd;letter-spacing:6px;font-size:23px}.hero p{font-size:12px;letter-spacing:3px;font-weight:700}.auth-panel{display:flex;align-items:center;justify-content:center;padding:40px}.card{background:#121820ed;border:1px solid #45505b;border-radius:16px;max-width:440px;width:100%;padding:34px;box-shadow:0 22px 80px #0009}.card h1{text-align:center;font-size:31px;margin-bottom:25px}.auth-links{display:flex;justify-content:space-between;gap:16px;margin-top:23px;font-size:13px}.auth-links a,.text-link{color:#ff5259}.topbar{height:73px;background:#0d1116;display:flex;align-items:center;gap:34px;padding:0 35px;border-bottom:1px solid #2d363f}.brand{font-size:45px;letter-spacing:-2px;white-space:nowrap}.topbar nav{display:flex;gap:7px;flex:1;justify-content:center}.topbar nav a{padding:15px 13px;font-size:13px}.topbar nav a:hover{background:#7e171d}.account{display:flex;gap:15px;align-items:center;font-size:12px}.account form{margin:0}.link{border:0;background:none;color:#ff5a5e}.banner{padding:38px max(32px,5vw);min-height:160px;background:linear-gradient(90deg,#0b1018 20%,#1219238c),url('track.svg') right center/cover}.banner h1{margin:0 0 4px}.banner p,.muted,.page-title p{color:var(--muted)}.content{max-width:1450px;margin:0 auto;padding:24px 32px 60px}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin-bottom:22px}.stats article,.panel{background:linear-gradient(140deg,#1b222a,#11161c);border:1px solid var(--edge);border-radius:12px;padding:21px}.stats small{display:block;color:#c1c8ce;font-size:13px;margin-bottom:9px}.stats strong{font-size:30px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}.grid.three{grid-template-columns:repeat(3,1fr)}.panel h2{margin-bottom:15px}.panel p{line-height:1.6}.chart-empty{min-height:200px;display:grid;place-items:center;border:1px dashed #39434d;color:#9ba7b3;border-radius:8px;text-align:center;padding:20px}.outline{display:inline-block;border:1px solid var(--red);color:#ff4c54;padding:10px 13px;border-radius:7px;font-size:13px}.row{padding:14px 0;border-top:1px solid #333e48;display:flex;justify-content:space-between;gap:20px}.row span{color:#b1bbc4}.page-title{margin:18px 0 26px}.flash{position:relative;z-index:10;background:#253c31;border-bottom:1px solid #3b7657;color:#e5fff0;padding:14px 5vw;text-align:center}@media(max-width:1050px){.topbar{height:auto;flex-wrap:wrap;padding:15px 20px;gap:12px}.topbar nav{order:3;width:100%;overflow:auto;justify-content:flex-start}.stats{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.auth-shell{display:block}.hero{min-height:210px;padding:22px}.hero-logo{font-size:68px}.auth-panel{padding:20px}.card{padding:24px}.stats{grid-template-columns:repeat(2,1fr)}.grid,.grid.three{grid-template-columns:1fr}.content{padding:20px}.banner h1{font-size:32px}.account{margin-left:auto}}
/* 1320IQ authentication visual refresh — all application logic unchanged */
body.auth{background:#080c12}
.auth .auth-shell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;min-height:100svh;padding:42px 20px 60px;background:linear-gradient(180deg,rgba(4,9,18,.32),rgba(6,8,14,.18) 48%,rgba(5,7,11,.58)),url('dragstrip-dusk.webp') center center/cover no-repeat}
.auth .hero{min-height:auto;width:100%;background:none;padding:0;display:block;text-align:center}
.auth .hero-content{margin:auto}
.auth .hero-logo{font-family:Impact,'Barlow Condensed',sans-serif;font-size:clamp(74px,9vw,126px);line-height:.98;letter-spacing:-5px;font-weight:900;font-style:italic;color:#f2f4f7;background:linear-gradient(#fff 13%,#c4cbd3 46%,#f5f6f7 52%,#808994 94%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 5px 2px #050608)}
.auth .hero-logo span{background:linear-gradient(#ff6164,#e71928 45%,#9d0b19);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.auth .checker{margin:7px auto 10px;font-size:19px;letter-spacing:8px;color:#e8ebef;text-shadow:0 2px 6px #000}
.auth .hero p{font-family:Inter,Arial,sans-serif;font-size:12px;letter-spacing:3.1px;color:#f3f5fa;text-shadow:0 2px 5px #000;margin:0}
.auth .auth-panel{width:100%;padding:0;display:flex;justify-content:center}
.auth .card{max-width:470px;padding:32px 38px 30px;background:linear-gradient(145deg,rgba(20,24,32,.94),rgba(9,12,19,.94));border:1px solid rgba(210,218,230,.35);box-shadow:0 25px 85px #000b,0 0 35px rgba(190,20,35,.13);backdrop-filter:blur(12px);border-radius:17px}
.auth .card h1{font-family:Inter,Arial,sans-serif;font-size:clamp(23px,3vw,29px);letter-spacing:-.7px;font-weight:800;margin:0 0 25px}
.auth .card label{font-size:13px;color:#e2e6ee;font-weight:600}
.auth .card input:not([type=hidden]){height:51px;padding:12px 15px;margin:9px 0 18px;background:rgba(38,45,56,.86);border:1px solid #647080;border-radius:9px;color:#fff;transition:border-color .2s,box-shadow .2s}
.auth .card input:focus{border-color:#ff4049;box-shadow:0 0 0 3px #ed252d33}
.auth .card .primary{margin-top:5px;padding:15px;background:linear-gradient(#fa303d,#bb0e1c);border-color:#f04450;box-shadow:0 7px 18px #0005;font-size:16px}
.auth .auth-links{margin-top:23px;gap:16px;align-items:center}
.auth .auth-links a{color:#ff555f;font-weight:600}
.auth .auth-links a:hover{text-decoration:underline}
@media(max-width:600px){.auth .auth-shell{padding:35px 16px;gap:24px;justify-content:flex-start}.auth .hero-logo{font-size:80px}.auth .hero p{font-size:10px;letter-spacing:1.4px}.auth .checker{font-size:15px;letter-spacing:5px}.auth .card{padding:28px 22px}.auth .auth-links{font-size:12px}}

/* 1320IQ Dashboard v2 — scoped styles, authentication untouched */
body.app{background:#090d12;color:#f3f5f7}.app .topbar{height:70px;position:relative;z-index:3;background:#090d12;border-bottom:1px solid #27313b;gap:18px}.app .topbar nav a{padding:24px 12px 22px;color:#c3cbd3;white-space:nowrap;border-bottom:2px solid transparent}.app .topbar nav a.active,.app .topbar nav a:hover{color:#fff;background:#5d111822;border-bottom-color:#f12b35}.app .brand{font-size:39px}.app .account{white-space:nowrap}.dash-hero{position:relative;min-height:225px;background:linear-gradient(90deg,#0b1018 3%,#0b1018e8 32%,#0b1018a8 58%,#0b101830 100%),url('dragstrip-dusk.webp') center 55%/cover;border-bottom:1px solid #28313c}.dash-hero-inner{max-width:1480px;margin:auto;padding:35px 34px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2.2px;color:#f3434b}.dash-hero h1{font-family:Inter,Arial,sans-serif;font-size:clamp(27px,3.1vw,40px);letter-spacing:-1.4px;margin:10px 0 9px;font-weight:800}.dash-hero p{color:#c5ccd5;font-size:14px}.hero-actions{display:flex;gap:10px;margin-top:20px}.dash-button{display:inline-flex;align-items:center;gap:12px;background:#d91d28;border:1px solid #f0434d;padding:11px 17px;border-radius:8px;font-size:12px;font-weight:700}.dash-button.secondary{background:#10161ccf;border-color:#58616d}.dash-wrap{max-width:1480px;padding:29px 34px 65px;margin:auto}.dash-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.dash-toolbar h2{font-family:Inter,Arial,sans-serif;font-size:25px;letter-spacing:-.7px;margin:5px 0 0}.vehicle-filter{display:flex;align-items:center;gap:12px}.vehicle-filter label{font-size:12px;color:#aeb8c4}.vehicle-filter select{color:#fff;background:#171e26;border:1px solid #3b4653;border-radius:8px;padding:11px 35px 11px 12px;min-width:180px;max-width:270px}.dash-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-bottom:19px}.metric{display:flex;align-items:center;gap:14px;min-width:0;background:linear-gradient(145deg,#1a222b,#121820);border:1px solid #35414c;border-radius:11px;padding:18px 16px;min-height:106px}.metric-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:10px;background:#242e38;color:#f44a51;font-size:24px}.metric small{display:block;font-size:10px;letter-spacing:1.1px;font-weight:700;color:#b2bdc8}.metric strong{display:block;font-size:29px;line-height:1.3;margin:4px 0;font-weight:800;letter-spacing:-1px}.metric-caption{display:block;color:#8997a5;font-size:11px}.dash-main-grid{display:grid;grid-template-columns:1.18fr 1fr;gap:19px;margin-bottom:19px}.dash-card{min-width:0;background:linear-gradient(145deg,#19212a,#11171e);border:1px solid #35414d;border-radius:12px;overflow:hidden;min-height:278px}.dash-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 22px 14px;border-bottom:1px solid #293440}.dash-card-head h2{font-family:Inter,Arial,sans-serif;font-size:18px;font-weight:750;margin:5px 0 0;letter-spacing:-.4px}.dash-card-head a{color:#ff525a;font-size:12px;font-weight:700;white-space:nowrap}.dash-tag{border:1px solid #46505c;border-radius:7px;padding:6px 12px;color:#c9d2da;font-size:12px}.dash-empty{min-height:203px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;color:#dce2e8}.empty-symbol{color:#f03b44;font-size:31px;margin-bottom:12px}.dash-empty strong{font-size:14px}.dash-empty p{font-size:12px;max-width:300px;color:#96a3af;line-height:1.6;margin:9px 0 13px}.dash-empty a{font-size:12px;color:#ff515a;font-weight:700}.dash-bottom-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.dash-card.mini{min-height:195px}.mini .dash-card-head{padding:17px 20px 14px}.mini .dash-card-head h2{margin:0}.mini-empty{font-size:13px;line-height:1.6;color:#a6b1bd;margin:23px 20px 12px}.mini-action{display:inline-block;color:#ff535b;border:1px solid #bb3039;border-radius:7px;padding:9px 13px;font-size:12px;font-weight:700;margin:0 20px 20px}.mini-coming{display:inline-block;color:#84919f;font-size:11px;margin:0 20px 20px}.dash-list-row{display:flex;align-items:center;gap:12px;padding:12px 20px;border-bottom:1px solid #2a3540;font-size:13px}.dash-list-row:last-child{border-bottom:0}.dash-list-row .list-icon{font-size:18px;color:#f03b44}.dash-list-row>span:nth-child(2){flex:1}.dash-list-row small{display:block;color:#95a3b0;margin-top:3px}.dash-list-row a{color:#f34852}.table-scroll{overflow-x:auto}.runs-table{border-collapse:collapse;width:100%;font-size:12px}.runs-table th{text-align:left;font-size:10px;letter-spacing:.6px;color:#a8b4bf;font-weight:700;padding:13px 16px;background:#121820}.runs-table td{padding:14px 16px;border-top:1px solid #29333e;white-space:nowrap}.runs-table .numeric{font-weight:750;color:#f2f5f8}.trend-chart{padding:14px 17px 0}.trend-chart svg{width:100%;height:178px}.chart-note{text-align:center;color:#97a4b0;font-size:11px;margin:4px 12px 15px}@media(max-width:1200px){.dash-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.app .topbar{height:auto;flex-wrap:wrap;padding:12px 22px}.app .topbar nav{order:3;flex-basis:100%;overflow:auto;justify-content:flex-start}.app .topbar nav a{padding:12px 14px}}@media(max-width:800px){.dash-main-grid,.dash-bottom-grid{grid-template-columns:1fr}.dash-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-wrap{padding:22px 16px 45px}.dash-hero-inner{padding:28px 18px}.dash-toolbar{align-items:stretch;flex-direction:column}.vehicle-filter{justify-content:space-between}.vehicle-filter select{flex:1}.metric{padding:13px 11px;gap:9px}.metric-icon{width:34px;height:34px}.metric strong{font-size:24px}}@media(max-width:450px){.dash-stats{gap:9px}.metric{min-height:100px}.metric small{font-size:9px}.metric-caption{font-size:10px}.hero-actions{flex-wrap:wrap}}
/* Phase 2 — Garage and combinations */
.garage-wrap{max-width:1480px;margin:0 auto;padding:35px 34px 80px}.garage-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:20px 0 30px}.garage-heading h1{font-family:Inter,Arial,sans-serif;font-size:clamp(30px,3vw,43px);margin:9px 0}.garage-heading p,.garage-section-heading p{color:#9eacba;line-height:1.6;max-width:740px}.garage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.garage-tile,.garage-empty,.garage-form{background:linear-gradient(145deg,#19212a,#11171e);border:1px solid #34414d;border-radius:14px;padding:25px;min-width:0}.garage-tile{display:block;transition:border-color .15s,transform .15s}.garage-tile:hover{border-color:#ec3b46}.garage-tile h2,.garage-empty h2{font-family:Inter,Arial,sans-serif;font-size:21px;margin:12px 0}.garage-tile p,.garage-empty p{color:#a7b3bf;font-size:13px;line-height:1.65}.garage-car-icon{display:grid;place-items:center;width:55px;height:55px;background:#26323e;border-radius:12px;color:#f23b46;font-size:30px;margin-bottom:23px}.garage-tile-foot{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #35414c;padding-top:17px;margin-top:26px;color:#a8b5c1;font-size:12px}.garage-tile-foot strong,.garage-edit{color:#ff515c}.garage-empty{grid-column:1/-1;text-align:center;padding:55px 25px}.garage-empty .dash-button{margin-top:12px}.garage-back{display:inline-block;color:#abb9c7;font-size:13px;margin:0 0 9px}.garage-back:hover{color:white}.garage-actions{display:flex;gap:10px;flex-wrap:wrap}.garage-section-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:38px 0 18px}.garage-section-heading h2{font-family:Inter,Arial,sans-serif;font-size:22px;margin:6px 0}.garage-form{max-width:960px}.garage-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px;margin-bottom:14px}.garage-wide{grid-column:1/-1}.garage-form label{font-size:12px;color:#d7e0e9}.garage-form input,.garage-form textarea,.garage-form select{display:block;width:100%;margin:9px 0 16px;padding:12px 14px;background:#222c36;border:1px solid #465462;border-radius:8px;color:#fff;font:inherit}.garage-form textarea{resize:vertical}.garage-form select{min-height:46px}.garage-form .dash-button{cursor:pointer}.garage-status{display:inline-block;color:#a9b3be;background:#2b3440;padding:6px 11px;border-radius:30px;font-size:11px;font-weight:700}.garage-status.is-active{background:#173d31;color:#8af2b5}.garage-tile dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:23px 0}.garage-tile dt{color:#91a0af;font-size:11px}.garage-tile dd{font-size:13px;margin:4px 0 0;overflow-wrap:anywhere}.garage-edit{display:inline-block;font-size:13px;font-weight:700;margin-top:10px}@media(max-width:950px){.garage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.garage-wrap{padding:24px 16px 60px}.garage-heading,.garage-section-heading{align-items:flex-start;flex-direction:column}.garage-grid,.garage-fields{grid-template-columns:1fr}.garage-wide{grid-column:auto}}

/* Account security settings */
.account-settings-link{color:#e6eaf0;text-decoration:none;margin-right:16px;font-size:.9rem}.account-settings-link:hover{color:#f13b45}.settings-panel{max-width:650px;margin-top:22px}.settings-panel form{display:flex;flex-direction:column;gap:14px;margin-top:18px}.settings-panel select,.settings-panel input{display:block;width:100%;max-width:480px;padding:13px;background:#222a34;border:1px solid #495361;border-radius:9px;color:#fff}.settings-panel label{font-weight:600}.settings-panel .dash-button{align-self:flex-start;border:0;cursor:pointer}.settings-panel .muted{color:#a9b7c7}
/* v1.4 timeslip management */
.runs-wrap .garage-heading{margin-top:8px}.runs-form,.runs-history{max-width:none;margin-bottom:24px}.runs-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.runs-section-head h2{font-size:23px;margin:0}.runs-section-head a,.runs-row-actions a,.runs-filters>a{color:#ff5962;font-size:13px}.runs-form h3{font-size:17px;margin:28px 0 9px}.runs-hint{font-size:13px;margin:0 0 16px}.runs-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 15px}.runs-actions{display:flex;gap:12px;align-items:center;margin-top:20px}.runs-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:22px}.runs-filters label{flex:1;min-width:145px}.runs-filters select{margin-bottom:0}.runs-filters button{min-height:45px;cursor:pointer}.runs-filters>a{padding:13px 5px}.runs-history .runs-table td{vertical-align:middle}.runs-history .runs-table td small{display:block;color:#9aa7b4;margin-top:4px}.runs-row-actions{display:flex;align-items:center;gap:13px}.runs-row-actions form{margin:0}.runs-row-actions button{border:0;background:none;color:#e9a4a9;cursor:pointer;font-size:12px;padding:0}.runs-form [hidden]{display:none!important}@media(max-width:1050px){.runs-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.runs-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.runs-filters{display:block}.runs-filters label{display:block}.runs-filters button{margin:10px 0}.runs-actions{flex-wrap:wrap}}

/* v1.7: preserve-entry validation feedback */
.runs-validation-error{margin:16px 0;padding:14px 16px;border:1px solid #d74c53;border-radius:8px;background:rgba(210,45,55,.13);color:#ffe0e2}.runs-validation-error strong{display:block;margin-bottom:5px}.runs-validation-error span{display:block;margin-top:5px;font-size:.88em;opacity:.85}#run-entry-form{scroll-margin-top:90px}

/* v1.8 analysis */
.analysis-wrap{padding-bottom:70px}.analysis-filter,.analysis-panel{margin-bottom:20px}.analysis-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.analysis-filter-grid label{min-width:0}.analysis-filter-grid select,.analysis-filter-grid input{width:100%}.analysis-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.analysis-stat{padding:20px;background:linear-gradient(145deg,#1b242e,#121820);border:1px solid #35414d;border-radius:11px}.analysis-stat small{display:block;color:#a9b6c4;font-size:11px;text-transform:uppercase;letter-spacing:.7px}.analysis-stat strong{display:block;font-size:30px;margin:8px 0;color:#fff}.analysis-stat span{font-size:12px;color:#a4b1bd;line-height:1.5}.analysis-chart svg{width:100%;height:auto;max-height:300px}.analysis-comparison th small,.analysis-panel td small{display:block;color:#96a6b5;margin-top:5px;font-size:11px}.analysis-panel a{color:#ff5a63}.analysis-check{width:18px;height:18px;accent-color:#e72c37}@media(max-width:1050px){.analysis-filter-grid,.analysis-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.analysis-filter-grid,.analysis-stat-grid{grid-template-columns:1fr}.analysis-stat strong{font-size:25px}}

/* v2.0 worldwide track picker */
.track-picker{grid-column:1/-1;border:1px solid #a02c42;border-radius:12px;padding:18px;background:rgba(18,25,39,.75);display:grid;gap:12px}.track-picker-title{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.track-picker-controls{display:grid;grid-template-columns:2fr 1fr;gap:12px}.track-picker label{display:grid;gap:6px}.track-picker select,.track-picker input{width:100%;min-width:0}.run-custom-track{padding:14px;border:1px solid #455269;border-radius:10px;display:grid;gap:12px}.run-custom-track[hidden]{display:none!important}@media(max-width:650px){.track-picker-controls{grid-template-columns:1fr}}

/* Run History: consistent filter field and action alignment */
.runs-history .runs-filters{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr)) auto auto;
  gap:14px;
  align-items:end;
}
.runs-history .runs-filters label{display:flex;flex-direction:column;justify-content:flex-end;min-width:0;margin:0;gap:9px}
.runs-history .runs-filters label select,
.runs-history .runs-filters label input[type="date"]{
  display:block;box-sizing:border-box;width:100%;height:55px;min-height:55px;
  margin:0;padding:0 14px;
}
.runs-history .runs-filters .dash-button{height:55px;min-height:55px;margin:0;align-self:end}
.runs-history .runs-filters>a{height:55px;box-sizing:border-box;display:flex;align-items:center;padding:0 8px;align-self:end}
@media(max-width:1200px){.runs-history .runs-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.runs-history .runs-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.runs-history .runs-filters{grid-template-columns:minmax(0,1fr)}}
/* Race sessions v2.1 */
.sessions-wrap .runs-section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.sessions-wrap .runs-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sessions-wrap .session-improved{color:#5be49a;font-weight:700}
.sessions-wrap .session-slower{color:#ff9a8f;font-weight:700}
.sessions-wrap .garage-form{margin-bottom:20px}

/* Dashboard metric navigation: preserve tile styling and accessible focus. */
.dash-stats a.metric-link{color:inherit;text-decoration:none;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}
.dash-stats a.metric-link:hover{border-color:#e73c48;background:linear-gradient(145deg,#242d37,#171e27);transform:translateY(-2px)}
.dash-stats a.metric-link:focus-visible{outline:3px solid #f54b55;outline-offset:3px}

/* v2.3: read-only dashboard timeslip details */
.runs-view-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:18px 0}
.runs-view-grid>div{padding:12px 14px;background:#111b25;border:1px solid #344252;border-radius:9px;min-width:0}
.runs-view-grid small,.runs-view-notes small{display:block;color:#9db0c4;margin-bottom:5px}
.runs-view-grid strong{display:block;overflow-wrap:anywhere;color:#f5f7fa}
.runs-view-notes{margin:16px 0;padding:14px;border:1px solid #344252;border-radius:9px}
.runs-view-notes p{margin:5px 0;white-space:normal;overflow-wrap:anywhere}
.runs-highlight{outline:1px solid #d71f32;outline-offset:-1px}

/* v2.4: four dashboard summary tiles */
@media(min-width:1201px){.dash-stats{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* v2.6: weather report */
.runs-weather-panel{margin:20px 0;padding:20px;background:linear-gradient(145deg,#16202a,#10171e);border:1px solid #485664;border-left:3px solid #ef3843;border-radius:11px}
.runs-weather-panel h3{margin:0 0 16px;font-size:18px;color:#f5f7fa}
.runs-weather-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px}
.runs-weather-item{padding:15px;background:#1a2631;border:1px solid #40505e;border-radius:9px}
.runs-weather-item small{display:block;color:#a8bbcb;font-size:12px;margin-bottom:6px}
.runs-weather-item strong{display:block;color:#fff;font-size:22px;font-weight:750}
@media(max-width:600px){.runs-weather-panel{padding:14px}.runs-weather-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.runs-weather-item{padding:11px}.runs-weather-item strong{font-size:18px}}

/* Login page visual alignment to the original 1320IQ concept.
   Scoped to auth-login: no changes to other pages or authentication behavior. */
body.auth-login{background:#06090f}
.auth-login .auth-shell{
 min-height:100svh;gap:0;justify-content:flex-start;
 padding:clamp(45px,7vh,90px) 18px 48px;
 background:
 linear-gradient(180deg,rgba(4,8,16,.67) 0%,rgba(5,9,17,.30) 30%,rgba(4,7,12,.28) 65%,rgba(3,5,10,.80) 100%),
 url('dragstrip-dusk.webp') center 56%/cover no-repeat;
}
.auth-login .hero{width:100%;max-width:600px;margin:0 auto 26px}
.auth-login .hero-logo{font-size:clamp(76px,11vw,132px);letter-spacing:-5px}
.auth-login .checker{font-size:17px;letter-spacing:7px;margin:5px auto 9px}
.auth-login .hero p{font-size:11px;letter-spacing:2.5px}
.auth-login .auth-panel{width:100%;max-width:440px}
.auth-login .card{
 max-width:440px;padding:28px 31px 27px;border-radius:12px;
 background:linear-gradient(145deg,rgba(22,26,34,.93),rgba(12,15,23,.94));
 border:1px solid rgba(170,182,198,.32);
 box-shadow:0 24px 65px rgba(0,0,0,.64),0 0 30px rgba(0,0,0,.22);
}
.auth-login .card h1{font-family:Georgia,serif;font-size:24px;letter-spacing:-.5px;margin-bottom:23px}
.auth-login .card label{font-size:12px;font-weight:600;color:#cbd3dd}
.auth-login .card input:not([type=hidden]){height:48px;margin:7px 0 16px;background:rgba(38,44,54,.9);border-color:#475361;border-radius:7px}
.auth-login .card .primary{border-radius:7px;padding:13px 15px;font-size:14px;margin-top:6px}
.auth-login .auth-links{display:flex;flex-direction:column;gap:15px;text-align:center;margin-top:18px;font-size:12px}
.auth-login .auth-links>a{align-self:flex-end;margin-top:0;position:static;margin-bottom:0;font-size:11px}
.auth-login .auth-join{color:#c5ccd6;font-size:12px}
.auth-login .auth-join a{color:#ff4c56}
.auth-login .auth-join a:hover{text-decoration:underline}
@media(max-width:600px){
 .auth-login .auth-shell{padding:52px 14px 34px;background-position:center}
 .auth-login .hero{margin-bottom:22px}
 .auth-login .hero-logo{font-size:clamp(66px,15vw,94px)}
 .auth-login .hero p{font-size:9px;letter-spacing:1.4px}
 .auth-login .card{padding:25px 21px 24px}
 .auth-login .card h1{font-size:22px}
}

/* v2: approved login concept, scoped to sign-in only */
body.auth-login{background:#070b12}
.auth-login .auth-shell{position:relative;display:block;min-height:100svh;width:100%;padding:0;background:linear-gradient(90deg,#070b12,#101522 30%,#101522 70%,#070b12)}
.auth-login .auth-shell::before{content:"";display:block;position:absolute;inset:0;pointer-events:none;background:url('dragstrip-dusk.webp') center/cover no-repeat;opacity:.15}
.auth-login .hero{display:block;position:relative;z-index:1;min-height:0;width:min(680px,100%);aspect-ratio:569/668;margin:0 auto;padding:0;background:url('login-reference.webp') center top/100% 100% no-repeat;box-shadow:0 0 60px #0009}
.auth-login .hero-content{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.auth-login .auth-panel{position:absolute;z-index:2;top:0;left:50%;transform:translateX(-50%);width:min(680px,100%);height:auto;aspect-ratio:569/668;padding:0;display:block;pointer-events:none}
.auth-login .card{position:absolute;top:38.4%;left:19.6%;width:66.7%;max-width:none;min-height:50.9%;padding:25px 35px 24px;background:linear-gradient(155deg,rgba(21,24,31,.99),rgba(17,18,24,.99));border:1px solid #51545e;border-radius:14px;box-shadow:0 12px 40px #0009;backdrop-filter:none;pointer-events:auto}
.auth-login .card h1{font:700 25px/1.2 Arial,sans-serif;letter-spacing:-.4px;margin:7px 0 25px;text-align:center}
.auth-login .card form label{font-size:0;color:transparent;position:relative}
.auth-login .card input:not([type=hidden]){display:block;height:49px;margin:0 0 17px;padding:10px 13px 10px 38px;background:#252a33;border:1px solid #525a66;border-radius:8px;font:12px Arial,sans-serif;color:#fff}
.auth-login .card input::placeholder{color:#e0e4e9;opacity:1}
.auth-login .card form label:has(input[name=email])::before,.auth-login .card form label:has(input[name=password])::before{content:"✉";position:absolute;z-index:1;left:12px;top:14px;color:#aeb5bf;font:17px Arial,sans-serif}
.auth-login .card form label:has(input[name=password])::before{content:"♙"}
.auth-login .card .primary{padding:12px;height:49px;margin:41px 0 0;border-radius:8px;font:700 13px Arial,sans-serif;background:linear-gradient(#fa3039,#b9101b)}
.auth-login .auth-links{display:flex;flex-direction:column;gap:12px;align-items:center;margin-top:17px;font:11px Arial,sans-serif}
.auth-login .auth-links>a{position:absolute;right:35px;top:218px;margin:0;color:#a9d5fa;font-size:11px}
.auth-login .auth-join{color:#d7dbe2;font-size:11px}
.auth-login .auth-join a{color:#ff424c}
@media(max-width:570px){.auth-login .hero,.auth-login .auth-panel{width:100%;aspect-ratio:569/668}.auth-login .card{padding:3.5% 5% 3%;border-radius:11px}.auth-login .card h1{font-size:clamp(14px,4vw,22px);margin:2px 0 6%}.auth-login .card input:not([type=hidden]){height:clamp(30px,8vw,43px);margin-bottom:4%;font-size:11px}.auth-login .card .primary{height:clamp(31px,8vw,43px);margin-top:11%;padding:6px}.auth-login .auth-links{margin-top:5%;gap:8px;font-size:10px}.auth-login .auth-links>a{top:53%;right:5%;font-size:10px}.auth-login .auth-join{font-size:10px}}

/* v3 FIX: never use a screenshot of a form as a background. */
body.auth-login{background:#050911}
.auth-login .auth-shell{
 display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
 gap:0;min-height:100svh;padding:clamp(28px,5vh,55px) 18px 50px;
 background:linear-gradient(180deg,rgba(3,7,15,.52),rgba(4,8,15,.27) 48%,rgba(2,5,12,.65)),url('dragstrip-dusk.webp') center center/cover no-repeat;
}
.auth-login .auth-shell::before,.auth-login .auth-shell::after{content:none!important;display:none!important}
.auth-login .hero{
 display:block;position:relative;z-index:1;width:min(500px,100%);height:185px;min-height:0;
 margin:0 auto 6px;padding:0;aspect-ratio:auto;box-shadow:none;
 background:url('login-logo-header.webp') center center/contain no-repeat;
}
.auth-login .hero-content{display:none!important}
.auth-login .auth-panel{
 display:block;position:relative;z-index:2;top:auto;left:auto;transform:none;
 width:min(375px,100%);height:auto;aspect-ratio:auto;padding:0;
 margin:0 auto;pointer-events:auto;
}
.auth-login .card{
 position:relative;top:auto;left:auto;width:100%;max-width:none;min-height:0;
 padding:23px 25px 22px;
 border:1px solid rgba(126,133,145,.5);border-radius:13px;
 background:linear-gradient(145deg,rgba(21,24,31,.96),rgba(13,16,23,.97));
 box-shadow:0 18px 55px rgba(0,0,0,.6);
}
.auth-login .card h1{font:700 20px/1.3 Georgia,serif;letter-spacing:0;text-align:center;margin:0 0 21px}
.auth-login .card form label{display:block;font-size:0;color:transparent;position:relative}
.auth-login .card input:not([type=hidden]){
 display:block;width:100%;height:43px;margin:0 0 14px;padding:10px 12px 10px 36px;
 background:#252b35;border:1px solid #4b5663;border-radius:7px;
 font:12px Inter,Arial,sans-serif;color:#fff;
}
.auth-login .card input::placeholder{color:#cfd5dd}
.auth-login .card form label:has(input[name=email])::before,
.auth-login .card form label:has(input[name=password])::before{left:12px;top:11px;font-size:16px}
.auth-login .card .primary{height:42px;padding:9px 12px;margin:19px 0 0;border-radius:7px;font:700 13px Inter,Arial,sans-serif}
.auth-login .auth-links{display:flex;flex-direction:column;align-items:center;gap:15px;margin-top:14px;font:11px Inter,Arial,sans-serif}
.auth-login .auth-links>a{position:static;align-self:flex-end;right:auto;top:auto;margin:0;font-size:11px;color:#b7d9ff}
.auth-login .auth-join{font-size:11px;color:#d3d9e2}
@media(max-width:570px){
 .auth-login .auth-shell{padding:28px 14px 40px;background-position:center}
 .auth-login .hero{width:100%;height:clamp(115px,34vw,180px);margin-bottom:10px}
 .auth-login .auth-panel{width:min(375px,100%);aspect-ratio:auto}
 .auth-login .card{padding:23px 20px}
 .auth-login .card h1{font-size:19px;margin-bottom:20px}
 .auth-login .card input:not([type=hidden]){height:43px;margin-bottom:14px;font-size:12px}
 .auth-login .card .primary{height:42px;margin-top:19px}
 .auth-login .auth-links>a{position:static;font-size:11px}
 .auth-login .auth-join{font-size:11px}
}

/* Login design v4: original visual, true transparent logo, real interactive form */
body.auth-login .auth-shell{min-height:100svh;padding:clamp(30px,5vh,56px) 16px 65px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background:linear-gradient(180deg,rgba(3,7,15,.34),rgba(4,8,15,.22) 48%,rgba(2,5,12,.53)),url('dragstrip-dusk.webp') center center/cover no-repeat}
body.auth-login .hero{width:min(620px,100%);height:clamp(180px,24vw,270px);margin:0 auto 22px;background:url('1320iq-login-logo.png') center center/contain no-repeat;box-shadow:none}
body.auth-login .auth-panel{width:min(490px,100%);position:relative;top:auto;left:auto;transform:none;aspect-ratio:auto}
body.auth-login .card{padding:27px 35px 28px;border-radius:20px;background:linear-gradient(145deg,rgba(23,24,27,.96),rgba(13,14,17,.96));border:1px solid #747071;box-shadow:0 16px 55px #0009}
body.auth-login .card h1{font:700 clamp(22px,2.4vw,28px)/1.25 Georgia,serif;margin:0 0 25px;text-align:center}
body.auth-login .card input:not([type=hidden]){height:56px;margin-bottom:17px;border-radius:9px;font-size:15px}
body.auth-login .card form label:has(input[name=email])::before,body.auth-login .card form label:has(input[name=password])::before{top:16px;font-size:19px}
body.auth-login .card .primary{height:58px;margin-top:24px;font-size:17px;border-radius:9px}
body.auth-login .auth-links{gap:18px;margin-top:16px;font-size:14px}
body.auth-login .auth-links>a{font-size:13px}
body.auth-login .auth-join{font-size:14px}
@media(max-width:570px){body.auth-login .auth-shell{padding:32px 14px 40px;background-position:center}body.auth-login .hero{height:clamp(135px,38vw,200px);margin-bottom:17px}body.auth-login .auth-panel{width:min(440px,100%)}body.auth-login .card{padding:24px 20px;border-radius:15px}body.auth-login .card h1{font-size:23px;margin-bottom:21px}body.auth-login .card input:not([type=hidden]){height:48px;font-size:13px}body.auth-login .card form label:has(input[name=email])::before,body.auth-login .card form label:has(input[name=password])::before{top:12px}body.auth-login .card .primary{height:49px;font-size:15px}body.auth-login .auth-links{gap:14px}body.auth-login .auth-join{font-size:12px}}

/* Dashboard visual alignment with the original 1320IQ mockup */
.dash-hero{min-height:194px;background:linear-gradient(90deg,#090d13 0%,#0a0f17 28%,rgba(8,12,18,.8) 59%,rgba(8,12,18,.25) 100%),url('dragstrip-dusk.webp') center 52%/cover}
.dash-hero-inner{padding:31px 34px 27px}.dash-hero h1{font-size:clamp(27px,3vw,37px);margin:0 0 7px;letter-spacing:-.8px}.dash-hero p{font-size:13px;margin-bottom:0;color:#b6c0cd}.dash-hero .hero-actions{margin-top:17px}.dash-button{padding:10px 14px}
.dash-wrap{padding-top:23px}.dash-toolbar{margin-bottom:16px}.dash-toolbar h2{font-size:22px}.dash-stats{gap:12px;margin-bottom:18px}.dash-stats .metric{min-height:100px;padding:15px 13px;border-radius:9px;background:linear-gradient(135deg,#181f28,#10151c)}.dash-stats .metric-icon{width:38px;height:38px;background:#26303b}.dash-stats .metric strong{font-size:29px}
.dash-main-grid{grid-template-columns:1.12fr 1fr;gap:14px;margin-bottom:15px}.dash-card{border-radius:10px;min-height:260px;background:linear-gradient(145deg,#171e27,#10151c)}.dash-card-head{padding:16px 17px 12px}.dash-card-head h2{font-size:17px;margin:0}.dash-card-head a{font-size:11px}.dash-bottom-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dash-card.mini{min-height:188px}.dash-list-row{padding:11px 16px}.dash-session-row{color:#eaf0f5}.dash-session-row:hover{background:#202a35}.dash-row-arrow{color:#f34750;font-size:22px}.runs-table th{padding:11px 13px}.runs-table td{padding:12px 13px}.trend-chart{padding:10px 15px 0}.trend-chart svg{height:175px}
@media(max-width:850px){.dash-main-grid,.dash-bottom-grid{grid-template-columns:1fr}.dash-hero{min-height:175px}}@media(max-width:600px){.dash-hero-inner{padding:25px 17px}.dash-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-stats .metric{min-height:95px}.dash-stats .metric strong{font-size:24px}}

/* Admin and account menu */
.user-menu{position:relative;font-size:13px}.user-menu summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #3a4652;border-radius:8px;background:#171e26}.user-menu summary::-webkit-details-marker{display:none}.gear-icon{font-size:18px;color:#f04a53}.user-menu-panel{position:absolute;right:0;top:calc(100% + 7px);width:220px;background:#171e26;border:1px solid #46515e;border-radius:10px;box-shadow:0 12px 35px #000b;padding:7px;z-index:40}.user-menu-panel a,.user-menu-panel button{display:block;width:100%;padding:12px;text-align:left;background:transparent;border:0;border-radius:6px;color:#e9edf2;font-size:13px}.user-menu-panel a:hover,.user-menu-panel button:hover{background:#303b47}.user-menu-panel form{border-top:1px solid #394551;margin-top:5px;padding-top:5px}.admin-stats,.admin-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:22px}.admin-stats small{color:#aebbc8}.admin-stats h2{font-size:34px;margin:8px 0 0}.admin-tool{display:block}.admin-tool p{color:#9eaab8;margin-bottom:0}.admin-report-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px;flex-wrap:wrap}.admin-report-actions form{display:flex;gap:10px;align-items:center}.admin-report-actions input{margin:0;min-width:240px}.admin-users-table th a{color:#dce4ed}.admin-users-table td{white-space:normal;overflow-wrap:anywhere}@media(max-width:700px){.admin-stats,.admin-tools{grid-template-columns:1fr}.admin-report-actions form{width:100%}.admin-report-actions input{min-width:0}}

.membership-banner{padding:13px 24px;background:#202c36;color:#f3f6f8;border-bottom:1px solid #526170}.membership-banner a{color:#ffb34a;text-decoration:underline}

/* Membership plan comparison */
.pricing-page{max-width:1060px;margin:0 auto;padding:30px 20px 60px}.pricing-heading{text-align:center;margin-bottom:26px}.pricing-heading h1{margin:7px 0 9px}.pricing-heading p{color:#abb9c8}.pricing-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.pricing-plan{background:linear-gradient(145deg,#1b242f,#101820);border:1px solid #3b4b5b;border-radius:14px;padding:24px;min-height:214px}.pricing-plan-pro{border-color:#e44950;background:linear-gradient(145deg,#27232b,#151a23)}.pricing-plan h2{font-size:19px;margin:0 0 12px}.pricing-price{font-size:43px;font-weight:800;color:#fff;line-height:1.1}.pricing-price span{font-size:16px;color:#bdc9d4;font-weight:500}.pricing-term{color:#ff8b8f;font-size:13px;font-weight:700;margin:8px 0 16px}.pricing-plan>p:last-child{font-size:14px;color:#bdc8d3;line-height:1.6}.pricing-table-wrap{overflow-x:auto;border:1px solid #354453;border-radius:12px}.pricing-table{border-collapse:collapse;width:100%;min-width:480px;background:#121b24}.pricing-table th,.pricing-table td{padding:14px 18px;border-bottom:1px solid #2b3947}.pricing-table thead{background:#25313e}.pricing-table thead th{font-size:14px;text-align:center;color:#eaf0f6}.pricing-table thead th:first-child{text-align:left;width:62%}.pricing-table tbody th{font-size:14px;font-weight:500;color:#dce5ee;text-align:left}.pricing-table tbody td{text-align:center;width:19%}.pricing-table tbody tr:last-child th,.pricing-table tbody tr:last-child td{border-bottom:0}.pricing-table tbody tr:nth-child(even){background:#17222c}.pricing-check{font-weight:800;font-size:20px;color:#5fd5a1}.pricing-dash{color:#7d8997;font-size:20px}.pricing-soon{display:inline-block;margin-left:8px;font-size:10px;letter-spacing:.03em;color:#b9c8d7;border:1px solid #4b5c6d;border-radius:5px;padding:3px 6px;white-space:nowrap}.pricing-actions{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0 22px}.pricing-actions>div{text-align:center}.pricing-actions p{color:#9eacba;font-size:12px;margin:10px 0 0}.pricing-cta{display:block;text-decoration:none!important;border-radius:9px;padding:15px 12px;font-size:15px;font-weight:800;text-align:center}.pricing-cta-free{color:#f2f5f8!important;border:1px solid #718293;background:#273443}.pricing-cta-pro{color:#fff!important;background:#d83e47;border:1px solid #e7545d}.pricing-cta:hover{filter:brightness(1.13)}.pricing-disclosure{font-size:13px;line-height:1.7;color:#afbdc9;background:#19232e;border:1px solid #354453;border-radius:10px;padding:17px 20px}.pricing-disclosure strong{color:#e9eff5}@media(max-width:600px){.pricing-grid{grid-template-columns:1fr}.pricing-plan{min-height:auto}.pricing-table th,.pricing-table td{padding:12px 9px}.pricing-table tbody th{font-size:12px}.pricing-soon{margin:4px 0 0}.pricing-actions{gap:9px}.pricing-cta{font-size:12px;padding:13px 7px}}

/* Registered users: prominent manual verification action */
.admin-user-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:190px}
.admin-user-actions form{margin:0}
.admin-user-actions button{cursor:pointer}
.admin-user-actions .force-verify-button{background:#a82b35;border:1px solid #ef5660;color:#fff;font-weight:700;padding:8px 12px;border-radius:6px}
.admin-user-actions .force-verify-button:hover{background:#c93643}
.unverified-label{color:#ffb5b5;font-weight:700}.verified-label{color:#9be2bd}

/* Registration uses the same approved logo, dragstrip background and card as login. */
body.auth-register .auth-shell{padding-top:clamp(20px,3vh,38px)}
body.auth-register .hero{height:clamp(160px,21vw,235px);margin-bottom:10px}
body.auth-register .auth-panel{width:min(530px,100%)}
body.auth-register .card{padding:24px 32px 26px}
body.auth-register .card h1{margin-bottom:14px}
body.auth-register .card form>p{font-size:13px;line-height:1.55;color:#d4dce6;margin:0 0 17px;padding:12px 14px;background:#202731;border:1px solid #404b59;border-radius:9px}
body.auth-register .card form>p a{color:#ff727a}
body.auth-register .card form label:has(input[name=name])::before{content:"♙";position:absolute;left:12px;top:15px;color:#aeb5bf;font:19px Arial,sans-serif}
body.auth-register .card input:not([type=hidden]){height:49px;margin-bottom:13px}
body.auth-register .card .primary{height:51px;margin-top:15px}
body.auth-register .auth-links{margin-top:14px}
body.auth-register .auth-links>a{align-self:center}
@media(max-width:570px){body.auth-register .hero{height:clamp(115px,32vw,175px)}body.auth-register .card{padding:21px 19px}body.auth-register .card form>p{font-size:12px;padding:10px}body.auth-register .card input:not([type=hidden]){height:45px}}

/* Compact registered-user management controls */
.admin-users-table .admin-manage-cell{min-width:115px;vertical-align:top;overflow-wrap:normal}
.admin-manage{min-width:100px;color:#e9edf2}
.admin-manage-trigger{list-style:none;display:inline-flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border:1px solid #465363;border-radius:8px;background:#202b37;color:#f1f5f9;font-size:13px;font-weight:650;cursor:pointer;user-select:none;white-space:nowrap}
.admin-manage-trigger::-webkit-details-marker{display:none}
.admin-manage-trigger:hover,.admin-manage[open]>.admin-manage-trigger{background:#303e4d;border-color:#75869a}
.admin-manage[open]>.admin-manage-trigger span{transform:rotate(180deg)}
.admin-manage-panel{width:min(295px,75vw);margin-top:10px;padding:15px;background:#17212b;border:1px solid #3d4b5b;border-radius:10px;box-shadow:0 8px 22px #0005;white-space:normal}
.admin-manage-heading{font-weight:700;color:#f5f7fb;font-size:14px;overflow-wrap:anywhere}
.admin-manage-meta{font-size:12px;color:#a7b6c6;overflow-wrap:anywhere;margin:3px 0 12px}
.admin-manage-section{border-top:1px solid #344352;padding-top:12px;margin-top:12px}
.admin-manage-label{color:#cbd5e1;font-size:12px;font-weight:700;margin-bottom:7px}
.admin-manage-form{display:flex;align-items:stretch;gap:7px;flex-wrap:wrap}
.admin-manage-panel form{margin:0}
.admin-manage-form select{min-width:0;flex:1 1 150px;max-width:100%;background:#101923;color:#edf2f7;border:1px solid #526173;border-radius:6px;padding:8px;font:inherit;font-size:12px}
.admin-manage-panel .admin-manage-btn{padding:8px 11px;background:#293747;color:#edf2f7;border:1px solid #59697b;border-radius:7px;font-size:12px;font-weight:650;cursor:pointer;white-space:nowrap}
.admin-manage-panel .admin-manage-btn:hover{background:#394b60}
.admin-manage-panel .admin-manage-btn:disabled{opacity:.4;cursor:not-allowed}
.admin-manage-panel .admin-disable{color:#ff9299;border-color:#9b3c47;background:#34232c}
.admin-manage-panel .admin-enable{color:#a8e6c4;border-color:#386e58;background:#1b352d}
.admin-manage-danger .admin-manage-btn{width:100%}
.admin-report-actions input[type=checkbox]{min-width:0;width:16px;height:16px;accent-color:#df3946}
@media(max-width:700px){.admin-manage-panel{width:min(270px,70vw)}}

/* Three-column admin overview; stacks on narrower screens. */
@media(min-width:900px){.admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}

.garage-car-photo{display:block;width:100%;height:170px;object-fit:cover;border-radius:12px;margin-bottom:14px;background:#18202a}
.garage-profile-photo{max-width:850px;margin:0 0 26px}.garage-profile-photo img{display:block;width:100%;max-height:380px;object-fit:cover;border-radius:14px;border:1px solid rgba(255,255,255,.12)}
.garage-photo-preview{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.garage-photo-preview img{max-width:320px;max-height:200px;object-fit:contain;border-radius:10px}.garage-photo-preview label{display:flex;align-items:center;gap:8px}

/* Photo action at the bottom of each My Garage vehicle tile */
.garage-vehicle-tile{display:flex;flex-direction:column;padding:0;overflow:hidden}
.garage-vehicle-tile .garage-tile-main{display:block;flex:1;padding:25px;color:inherit;text-decoration:none}
.garage-vehicle-tile .garage-tile-main:hover{color:inherit}
.garage-photo-action{display:flex;align-items:center;justify-content:space-between;padding:14px 25px;border-top:1px solid #35414c;color:#ff626c;font-weight:700;font-size:13px;text-decoration:none;background:rgba(255,255,255,.025)}
.garage-photo-action:hover,.garage-photo-action:focus-visible{background:#29343f;color:#fff}
#vehicle-photo-upload{scroll-margin-top:100px}

/* Dashboard visual refresh: scoped to dashboard only. */
body.dashboard-page{background:#080b10;color:#f5f6f8;background-image:radial-gradient(ellipse at 50% -15%,rgba(155,24,36,.12),transparent 55%)}
.dashboard-page .topbar{background:rgba(9,13,20,.97);border-bottom:1px solid #313944;box-shadow:0 8px 28px rgba(0,0,0,.3)}
.dashboard-page .topbar .brand{letter-spacing:-1px}
.dashboard-page .dash-hero{position:relative;overflow:hidden;min-height:285px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(5,8,14,.96) 0%,rgba(8,11,18,.87) 44%,rgba(8,11,18,.40) 100%),url('dragstrip-dusk.webp') center 58%/cover no-repeat;border-bottom:1px solid #343943}
.dashboard-page .dash-hero:after{content:'';position:absolute;inset:auto 0 0;height:5px;background:linear-gradient(90deg,#df202d,rgba(223,32,45,.15) 70%,transparent)}
.dashboard-page .dash-hero-inner{position:relative;z-index:1;width:min(1280px,calc(100% - 48px));margin:0 auto;padding:40px 0}
.dashboard-page .dash-hero h1{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(40px,5.5vw,70px);font-weight:900;line-height:.98;letter-spacing:.3px;text-transform:uppercase;max-width:850px;margin:12px 0 14px;text-shadow:0 3px 14px #000}
.dashboard-page .dash-hero p{color:#c9d0d9;font-size:15px;max-width:580px}
.dashboard-page .eyebrow{color:#ff5b63;font-weight:800;letter-spacing:2.3px;font-size:11px}
.dashboard-page .dash-wrap{max-width:1280px;margin:0 auto;padding:32px 24px 65px}
.dashboard-page .dash-toolbar{margin-bottom:24px;gap:18px}
.dashboard-page .dash-toolbar h2{font-size:32px;text-transform:uppercase;letter-spacing:.5px;margin:5px 0 0}
.dashboard-page .vehicle-filter{background:#131923;border:1px solid #38424e;border-radius:9px;padding:9px 13px}
.dashboard-page .vehicle-filter select{background:#1a222d;color:#fff;border:1px solid #4b5663;border-radius:6px}
.dashboard-page .dash-stats{gap:14px;margin-bottom:24px}
.dashboard-page .metric{min-width:0;background:linear-gradient(145deg,#1a222d,#10151d);border:1px solid #37414d;border-top:3px solid #d92734;border-radius:10px;box-shadow:0 12px 25px rgba(0,0,0,.18);padding:20px 16px;gap:12px}
.dashboard-page .metric:hover{box-shadow:0 12px 30px rgba(0,0,0,.32)}
.dashboard-page .metric strong{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(28px,2.8vw,43px);line-height:1.05;color:#fff}
.dashboard-page .metric small{color:#c7cdd6;font-size:11px;letter-spacing:1.4px;font-weight:800}
.dashboard-page .metric-caption{color:#9ba6b4;font-size:12px}
.dashboard-page .metric-icon{color:#f14b55;background:rgba(228,39,53,.10);border:1px solid rgba(228,39,53,.28);border-radius:8px}
.dashboard-page .dash-main-grid,.dashboard-page .dash-bottom-grid{gap:20px}
.dashboard-page .dash-card{background:linear-gradient(155deg,#171e28,#10151d);border:1px solid #37414c;border-radius:11px;box-shadow:0 14px 32px rgba(0,0,0,.15);overflow:hidden}
.dashboard-page .dash-card-head{border-bottom:1px solid #313b47;padding-bottom:15px;margin-bottom:14px}
.dashboard-page .dash-card-head h2{font-size:24px;text-transform:uppercase;letter-spacing:.4px}
.dashboard-page .dash-card-head a,.dashboard-page .dash-empty a{color:#ff6670;font-weight:700}
.dashboard-page .runs-table thead th{background:#202a35;color:#c9d1da;font-size:11px;letter-spacing:.8px;text-transform:uppercase}
.dashboard-page .runs-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}
.dashboard-page .runs-table tbody tr:hover{background:rgba(231,47,61,.075)}
.dashboard-page .dash-button:not(.secondary){background:linear-gradient(180deg,#f23d48,#ba1521);border-color:#fa505a;box-shadow:0 5px 18px rgba(169,22,34,.2)}
.dashboard-page .dash-button.secondary{background:rgba(15,19,27,.75);border:1px solid #6d7784}
.dashboard-page .dash-tag{background:rgba(220,38,52,.14);color:#ff737b;border:1px solid rgba(220,38,52,.35)}
@media(max-width:700px){.dashboard-page .dash-hero{min-height:250px}.dashboard-page .dash-hero-inner{width:calc(100% - 36px);padding:35px 0}.dashboard-page .dash-wrap{padding:22px 15px 45px}.dashboard-page .dash-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-page .metric{padding:15px 12px}.dashboard-page .dash-toolbar{align-items:stretch}.dashboard-page .dash-toolbar h2{font-size:28px}}
@media(max-width:390px){.dashboard-page .dash-stats{grid-template-columns:1fr}}

/* Dashboard refinement: shorter hero and more restrained display typography. */
.dashboard-page .dash-hero{min-height:205px}
.dashboard-page .dash-hero-inner{padding:26px 0}
.dashboard-page .dash-hero h1{font-size:clamp(34px,4vw,52px);line-height:1.02;margin:9px 0 10px}
.dashboard-page .dash-hero p{margin-bottom:8px}
.dashboard-page .hero-actions{margin-top:13px}
.dashboard-page .metric strong{font-size:clamp(25px,2.2vw,34px);line-height:1.1}
@media(max-width:700px){.dashboard-page .dash-hero{min-height:195px}.dashboard-page .dash-hero-inner{padding:24px 0}.dashboard-page .dash-hero h1{font-size:clamp(32px,7vw,42px)}.dashboard-page .metric strong{font-size:27px}}


/* Garage visual refresh — consistent with the refined racing dashboard. */
.garage-wrap{max-width:1328px;padding:34px 28px 76px}
.garage-heading{margin:10px 0 26px;padding:0 0 22px;border-bottom:1px solid #29333f}
.garage-heading h1{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(34px,3.4vw,48px);font-weight:800;letter-spacing:.4px;text-transform:uppercase;line-height:1.05;margin:10px 0 8px}
.garage-heading p{font-size:14px;max-width:690px;margin:0}
.garage-wrap .eyebrow{color:#ff5964;font-size:11px;letter-spacing:2px;font-weight:800}
.garage-actions{align-items:center}
.garage-actions .dash-button{font-size:13px;white-space:nowrap}
.garage-grid{gap:18px}
.garage-tile,.garage-empty,.garage-form{background:linear-gradient(150deg,#19212c,#10151d);border:1px solid #35414e;border-radius:11px;box-shadow:0 12px 26px rgba(0,0,0,.17)}
.garage-tile{border-top:3px solid #d62a37;transition:transform .18s,border-color .18s,box-shadow .18s}
.garage-tile:hover{transform:translateY(-2px);border-color:#e43a48;box-shadow:0 16px 30px rgba(0,0,0,.28)}
.garage-tile h2,.garage-empty h2{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(23px,2vw,28px);text-transform:uppercase;letter-spacing:.35px;line-height:1.1;margin:10px 0 8px}
.garage-tile p{font-size:13px;margin:0}
.garage-vehicle-tile .garage-tile-main{padding:16px 20px 20px}
.garage-car-photo{height:205px;border-radius:7px;object-fit:cover;margin-bottom:17px;border:1px solid #34404c}
.garage-car-icon{height:205px;width:100%;margin:0 0 17px;border-radius:7px;font-size:64px;background:radial-gradient(ellipse at center,#303a47,#151c26 70%);border:1px solid #34404c}
.garage-tile-foot{margin-top:20px;padding-top:15px;font-size:12px;align-items:center}
.garage-tile-foot strong,.garage-edit{color:#ff626d}
.garage-photo-action{padding:13px 20px;background:rgba(255,255,255,.018);border-top:1px solid #303b48}
.garage-section-heading h2{font-family:'Barlow Condensed',Impact,sans-serif;font-size:28px;text-transform:uppercase}
.garage-status{border:1px solid #485463}
.garage-status.is-active{border-color:#27684d}
.garage-form{border-top:3px solid #d62a37;padding:28px;max-width:1000px}
.garage-form input,.garage-form textarea,.garage-form select{background:#1c2530;border-color:#46515e}
.garage-form input:focus,.garage-form textarea:focus,.garage-form select:focus{outline:2px solid #e13b49;outline-offset:1px}
.garage-profile-photo img{border-radius:9px;max-height:430px}
@media(max-width:950px){.garage-wrap{padding:26px 20px 60px}.garage-car-photo,.garage-car-icon{height:180px}}
@media(max-width:650px){.garage-wrap{padding:22px 15px 52px}.garage-heading{gap:16px}.garage-heading h1{font-size:36px}.garage-actions{width:100%}.garage-actions .dash-button{flex:1;text-align:center}.garage-form{padding:19px}.garage-car-photo,.garage-car-icon{height:210px}}

/* Garage card proportions refinement — 2026-11-06 */
@media (min-width: 951px) {
  .garage-grid { grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); }
  .garage-grid > .garage-vehicle-tile { max-width: 390px; }
}
.garage-vehicle-tile .garage-tile-main { padding: 14px 18px 16px; }
.garage-vehicle-tile .garage-car-photo,
.garage-vehicle-tile .garage-car-icon { height: 155px; margin-bottom: 12px; }
.garage-vehicle-tile .garage-car-icon { font-size: 46px; }
.garage-vehicle-tile h2 { font-size: 24px; margin: 7px 0; }
.garage-vehicle-tile .garage-tile-foot { margin-top: 15px; padding-top: 12px; }
.garage-vehicle-tile .garage-photo-action { padding: 11px 18px; }
@media (max-width: 650px) {
  .garage-grid { grid-template-columns: 1fr; }
  .garage-vehicle-tile .garage-car-photo,
  .garage-vehicle-tile .garage-car-icon { height: 175px; }
}

/* Runs page visual refinement: aligned with Dashboard and compact Garage. */
.runs-wrap{max-width:1328px;padding-top:34px}
.runs-wrap .garage-heading{padding-bottom:22px;margin-bottom:24px}
.runs-wrap .garage-heading h1{font-size:clamp(34px,3.4vw,48px)}
.runs-wrap .garage-heading p{line-height:1.55}
.runs-wrap .garage-actions .dash-button{min-height:42px;box-sizing:border-box}
.runs-wrap .runs-history,.runs-wrap .runs-form{background:linear-gradient(155deg,#19212c,#10151d);border:1px solid #35414e;border-top:3px solid #d62a37;border-radius:11px;box-shadow:0 12px 26px rgba(0,0,0,.17);padding:22px 24px 26px}
.runs-wrap .runs-section-head{padding-bottom:16px;border-bottom:1px solid #303c49;margin-bottom:20px}
.runs-wrap .runs-section-head h2{font-family:'Barlow Condensed',Impact,sans-serif;font-size:27px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;line-height:1.1}
.runs-wrap .runs-section-head a,.runs-wrap .runs-row-actions a{color:#ff626d;font-weight:700}
.runs-wrap .runs-filters{background:#121923;border:1px solid #303d4b;border-radius:9px;padding:17px;margin-bottom:20px;gap:12px}
.runs-wrap .runs-filters label{font-size:12px;color:#c1cbd6;font-weight:650}
.runs-wrap .runs-filters select,.runs-wrap .runs-filters input{background:#1c2530;border:1px solid #46515e;border-radius:7px;color:#f5f6f8}
.runs-wrap .runs-filters .dash-button{background:linear-gradient(180deg,#f23d48,#ba1521);border-color:#fa505a}
.runs-wrap .table-scroll{border:1px solid #35414d;border-radius:9px;overflow-x:auto}
.runs-wrap .runs-table{font-size:12px}
.runs-wrap .runs-table th{background:#202a35;color:#cbd4df;font-size:10px;letter-spacing:.8px;text-transform:uppercase;padding:13px 12px;white-space:nowrap}
.runs-wrap .runs-table td{padding:13px 12px;border-top:1px solid #2b3744}
.runs-wrap .runs-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}
.runs-wrap .runs-table tbody tr:hover{background:rgba(231,47,61,.07)}
.runs-wrap .runs-table .numeric{font-variant-numeric:tabular-nums;font-weight:800}
.runs-wrap .runs-row-actions{gap:11px}
.runs-wrap .runs-row-actions button:hover,.runs-wrap .runs-row-actions a:hover{color:#fff}
.runs-wrap .runs-view-grid>div{background:#1b2530;border-color:#3a4856}
.runs-wrap .runs-view-grid strong{font-family:'Barlow Condensed',Impact,sans-serif;font-size:22px;font-weight:750}
.runs-wrap .runs-weather-item strong{font-family:'Barlow Condensed',Impact,sans-serif;font-size:25px}
.runs-wrap .runs-form h3{font-family:'Barlow Condensed',Impact,sans-serif;font-size:23px;text-transform:uppercase;letter-spacing:.3px}
.runs-wrap .runs-form input:focus,.runs-wrap .runs-form select:focus,.runs-wrap .runs-form textarea:focus{outline:2px solid #e13b49;outline-offset:1px}
.runs-wrap .runs-actions .dash-button:not(.secondary){background:linear-gradient(180deg,#f23d48,#ba1521);border-color:#fa505a}
@media(max-width:700px){.runs-wrap{padding:22px 15px 52px}.runs-wrap .runs-history,.runs-wrap .runs-form{padding:17px 14px 20px}.runs-wrap .runs-filters{padding:12px}.runs-wrap .runs-section-head h2{font-size:24px}.runs-wrap .runs-table td,.runs-wrap .runs-table th{padding:11px 10px}}

/* Timeslips usability refinement: full-width history, compact filters and clear performance values. */
.timeslips-page.runs-wrap{width:100%;max-width:none;box-sizing:border-box;padding:22px clamp(16px,2.15vw,36px) 64px}
.timeslips-page .garage-heading{margin:4px 0 18px;padding-bottom:17px}
.timeslips-page .runs-history{width:100%;max-width:none;box-sizing:border-box;padding:18px 20px 22px}
.timeslips-page .runs-section-head{margin-bottom:14px;padding-bottom:12px}
.timeslips-page .runs-filters{padding:12px 14px;gap:10px;margin-bottom:14px;align-items:end}
.timeslips-page .runs-filters label{gap:5px;font-size:11px}
.timeslips-page .runs-filters select,.timeslips-page .runs-filters input[type=date]{min-height:40px;height:40px;box-sizing:border-box;padding:8px 10px;margin:0;font-size:12px}
.timeslips-page .runs-filters .dash-button{height:40px;min-height:40px;padding:0 14px}
.timeslips-page .runs-filters>a{height:40px;padding:0 6px}
.timeslips-page .table-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.timeslips-page .runs-history .runs-table{width:100%;min-width:1180px;font-size:12px}
.timeslips-page .runs-history .runs-table th{padding:11px 9px}
.timeslips-page .runs-history .runs-table td{padding:11px 9px}
.timeslips-page .runs-history .runs-table th:nth-child(2),.timeslips-page .runs-history .runs-table td:nth-child(2){min-width:145px}
.timeslips-page .runs-history .runs-table th:nth-child(3),.timeslips-page .runs-history .runs-table td:nth-child(3){min-width:140px}
.timeslips-page .runs-history .runs-table td:nth-child(8),.timeslips-page .runs-history .runs-table td:nth-child(9){color:#fff;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}
.timeslips-page .runs-history .runs-table th:nth-child(8),.timeslips-page .runs-history .runs-table th:nth-child(9){color:#ff7780}
@media(max-width:900px){.timeslips-page .runs-history{padding:15px 13px 18px}.timeslips-page .runs-filters{padding:12px}}
@media(max-width:700px){.timeslips-page.runs-wrap{padding:20px 14px 50px}.timeslips-page .garage-heading{margin-bottom:16px}}


/* Race Sessions — consistent with the refined Timeslips layout (2026-11-06) */
.sessions-wrap{width:100%;max-width:none;box-sizing:border-box;padding:22px clamp(16px,2.15vw,36px) 65px}
.sessions-wrap .garage-heading{margin:4px 0 18px;padding:0 0 17px;border-bottom:1px solid #303b48}
.sessions-wrap .garage-heading h1{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(34px,3.4vw,48px);line-height:1.1;text-transform:uppercase;margin:9px 0}
.sessions-wrap .garage-heading p{margin:0;line-height:1.55}
.sessions-wrap .garage-actions .dash-button{min-height:42px;box-sizing:border-box}
.sessions-wrap .garage-form{max-width:none;width:100%;box-sizing:border-box;padding:20px 24px 24px;margin-bottom:18px;background:linear-gradient(155deg,#19212c,#10151d);border:1px solid #35414e;border-top:3px solid #d62a37;border-radius:11px}
.sessions-wrap .garage-form h2{font-family:'Barlow Condensed',Impact,sans-serif;font-size:27px;font-weight:800;line-height:1.15;letter-spacing:.3px;text-transform:uppercase;margin:0 0 15px}
.sessions-wrap .sessions-panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #303b48;margin-bottom:14px;padding-bottom:13px}
.sessions-wrap .sessions-panel-head h2{margin:4px 0 0}
.sessions-wrap .sessions-count{color:#aab8c6;font-size:13px;white-space:nowrap}
.sessions-wrap .runs-section-head{border-bottom:1px solid #303b48;padding-bottom:13px;margin-bottom:16px}
.sessions-wrap .runs-section-head h2{margin:5px 0 0}
.sessions-wrap .runs-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.sessions-wrap .garage-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 16px}
.sessions-wrap .garage-form input,.sessions-wrap .garage-form select,.sessions-wrap .garage-form textarea{background:#1c2530;border:1px solid #46515e;border-radius:7px;box-sizing:border-box}
.sessions-wrap .garage-form input,.sessions-wrap .garage-form select{min-height:43px;padding:9px 12px}
.sessions-wrap .garage-form label{font-size:12px;color:#d5dfe9}
.sessions-wrap .garage-form label small{display:block;font-size:11px;color:#9ba9b7;line-height:1.5}
.sessions-wrap .table-scroll{width:100%;max-width:100%;overflow-x:auto;border:1px solid #35414d;border-radius:9px}
.sessions-wrap .runs-table{width:100%;font-size:12px}
.sessions-wrap .runs-table th{background:#202a35;color:#cbd4df;text-transform:uppercase;letter-spacing:.65px;font-size:10px;padding:12px 11px;white-space:nowrap}
.sessions-wrap .runs-table td{padding:13px 11px;border-top:1px solid #2b3744}
.sessions-wrap .runs-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}
.sessions-wrap .runs-table tbody tr:hover{background:rgba(231,47,61,.07)}
.sessions-wrap .runs-table a{color:#ff626d;font-weight:700}
.sessions-wrap .runs-table .session-performance{color:#ff7780}
.sessions-wrap .runs-table .session-performance-value{color:#fff;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}
.sessions-wrap .sessions-detail .runs-table{min-width:980px}
.sessions-wrap .sessions-list .runs-table td:nth-child(2){font-weight:700}
.sessions-wrap .sessions-detail>form:last-child{margin-top:18px}
@media(max-width:950px){.sessions-wrap .garage-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.sessions-wrap{padding:20px 14px 50px}.sessions-wrap .garage-form{padding:16px 14px 19px}.sessions-wrap .garage-fields{grid-template-columns:1fr}.sessions-wrap .garage-heading{align-items:flex-start}.sessions-wrap .runs-section-head{align-items:flex-start}.sessions-wrap .runs-table td,.sessions-wrap .runs-table th{padding:11px 9px}}

/* Analysis redesign — consistent with Dashboard, Timeslips, and Sessions */
.analysis-refresh{width:100%;max-width:none;box-sizing:border-box;padding:22px clamp(16px,2.15vw,36px) 65px}
.analysis-refresh .garage-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:4px 0 20px;padding:0 0 17px;border-bottom:1px solid #303b48}
.analysis-refresh .garage-heading h1{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(34px,3.4vw,48px);line-height:1.1;text-transform:uppercase;margin:9px 0}
.analysis-refresh .garage-heading p{margin:0;line-height:1.55}
.analysis-refresh .garage-form{width:100%;max-width:none;box-sizing:border-box;padding:20px 24px 24px;margin-bottom:18px;background:linear-gradient(155deg,#19212c,#10151d);border:1px solid #35414e;border-top:3px solid #d62a37;border-radius:11px}
.analysis-refresh .garage-form h2{font-family:'Barlow Condensed',Impact,sans-serif;font-size:27px;line-height:1.15;font-weight:800;text-transform:uppercase;margin:0 0 14px}
.analysis-refresh .analysis-section-title h2{margin:5px 0 16px}
.analysis-refresh .analysis-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 14px}
.analysis-refresh .analysis-filter-grid label{min-width:0;font-size:12px;color:#d5dfe9}
.analysis-refresh .analysis-filter-grid select,.analysis-refresh .analysis-filter-grid input{width:100%;min-height:43px;padding:9px 12px;box-sizing:border-box;background:#1c2530;border:1px solid #46515e;border-radius:7px;color:#f2f5f8}
.analysis-refresh .runs-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.analysis-refresh .analysis-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:0 0 19px}
.analysis-refresh .analysis-stat{min-width:0;box-sizing:border-box;border:1px solid #35414e;border-top:3px solid #e52b3d;border-radius:11px;background:linear-gradient(145deg,#1b2430,#111820);padding:19px 19px 18px}
.analysis-refresh .analysis-stat small{display:block;color:#c8d2df;text-transform:uppercase;letter-spacing:1px;font-weight:800;font-size:11px;line-height:1.4}
.analysis-refresh .analysis-stat strong{display:block;font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(28px,2.7vw,39px);line-height:1.2;color:#fff;margin:9px 0 5px;font-variant-numeric:tabular-nums}
.analysis-refresh .analysis-stat span{display:block;color:#aebfce;font-size:12px;line-height:1.5}
.analysis-refresh .runs-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;border-bottom:1px solid #303b48;padding-bottom:12px;margin-bottom:15px}
.analysis-refresh .runs-section-head h2{margin:0}
.analysis-refresh .analysis-chart{background:#101720;border:1px solid #303c49;border-radius:8px;padding:14px;overflow:hidden}
.analysis-refresh .analysis-chart svg{display:block;width:100%;height:auto;max-height:300px}
.analysis-refresh .table-scroll{max-width:100%;overflow-x:auto;border:1px solid #35414d;border-radius:9px}
.analysis-refresh .runs-table{width:100%;font-size:12px}
.analysis-refresh .runs-table th{background:#202a35;color:#cbd4df;text-transform:uppercase;letter-spacing:.5px;font-size:10px;padding:12px 11px;white-space:nowrap}
.analysis-refresh .runs-table td{padding:12px 11px;border-top:1px solid #2b3744}
.analysis-refresh .runs-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}
.analysis-refresh .runs-table tbody tr:hover{background:rgba(231,47,61,.07)}
.analysis-refresh .runs-table a{color:#ff626d;font-weight:700}
@media(max-width:1050px){.analysis-refresh .analysis-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.analysis-refresh .analysis-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.analysis-refresh{padding:20px 14px 50px}.analysis-refresh .garage-form{padding:16px 14px 19px}.analysis-refresh .analysis-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-refresh .analysis-stat-grid{gap:10px}.analysis-refresh .analysis-stat{padding:14px}.analysis-refresh .garage-heading{align-items:flex-start}}
@media(max-width:450px){.analysis-refresh .analysis-filter-grid{grid-template-columns:1fr}}

/* Analysis final spacing refinement */
.analysis-refresh .garage-heading .garage-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.analysis-refresh .garage-form.analysis-filter{padding:16px 20px 17px;margin-bottom:15px}
.analysis-refresh .analysis-filter .analysis-section-title h2{margin:3px 0 10px}
.analysis-refresh .analysis-filter-grid{gap:8px 12px}
.analysis-refresh .analysis-filter-grid select,.analysis-refresh .analysis-filter-grid input{min-height:39px;padding:7px 11px;margin:5px 0 8px}
.analysis-refresh .analysis-filter .runs-actions{margin-top:6px}
.analysis-refresh .analysis-stat strong{font-size:clamp(25px,2.3vw,33px);margin:6px 0 4px}
.analysis-refresh .analysis-stat{padding:16px 17px}
/* Tuneup library redesign */
.tuneups-refresh{width:100%;max-width:none;box-sizing:border-box;padding:22px clamp(16px,2.15vw,36px) 65px}
.tuneups-refresh .garage-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:4px 0 20px;padding:0 0 17px;border-bottom:1px solid #303b48}
.tuneups-refresh .garage-heading h1{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(34px,3.4vw,48px);line-height:1.1;text-transform:uppercase;margin:9px 0}
.tuneups-refresh .garage-heading p{margin:0;line-height:1.55}
.tuneups-refresh .garage-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.tuneups-refresh .garage-form{width:100%;max-width:none;box-sizing:border-box;margin-bottom:18px;padding:20px 24px 24px;background:linear-gradient(155deg,#19212c,#10151d);border:1px solid #35414e;border-top:3px solid #d62a37;border-radius:11px}
.tuneups-refresh .runs-section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;border-bottom:1px solid #303b48;padding-bottom:12px;margin-bottom:15px}
.tuneups-refresh .runs-section-head h2{font-family:'Barlow Condensed',Impact,sans-serif;font-size:28px;line-height:1.1;text-transform:uppercase;margin:3px 0 0}
.tuneups-refresh .runs-section-head .eyebrow{font-size:10px}
.tuneups-refresh .garage-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}
.tuneups-refresh .garage-fields label{min-width:0}
.tuneups-refresh .garage-form input,.tuneups-refresh .garage-form select,.tuneups-refresh .garage-form textarea{box-sizing:border-box;background:#1c2530;border:1px solid #46515e;border-radius:7px;min-height:42px;padding:10px 12px;margin:7px 0 12px}
.tuneups-refresh .garage-form input[type=file]{font-size:12px}
.tuneups-refresh .garage-form label small{display:block;color:#a6b5c3;font-size:11px;line-height:1.5}
.tuneups-refresh .runs-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.tuneups-refresh .table-scroll{width:100%;max-width:100%;overflow-x:auto;border:1px solid #35414d;border-radius:9px}
.tuneups-refresh .runs-table{width:100%;font-size:13px}
.tuneups-refresh .runs-table th{background:#202a35;color:#d0dae5;text-transform:uppercase;letter-spacing:.5px;font-size:11px;padding:13px 12px;white-space:nowrap}
.tuneups-refresh .runs-table td{padding:14px 12px;border-top:1px solid #2b3744;vertical-align:middle}
.tuneups-refresh .runs-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}
.tuneups-refresh .runs-table tbody tr:hover{background:rgba(231,47,61,.07)}
.tuneups-refresh .tuneup-name strong{font-weight:800;color:#f7f9fb}
.tuneups-refresh .tuneup-file a,.tuneups-refresh .runs-row-actions a{color:#ff6570;font-weight:700}
.tuneups-refresh .tuneup-file{overflow-wrap:anywhere;max-width:320px}
.tuneups-refresh .runs-row-actions{display:flex;align-items:center;gap:15px;white-space:nowrap}
.tuneups-refresh .runs-row-actions button:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:750px){.tuneups-refresh{padding:20px 14px 50px}.tuneups-refresh .garage-form{padding:16px 14px 19px}.tuneups-refresh .garage-fields{grid-template-columns:1fr}.tuneups-refresh .garage-heading{align-items:flex-start}.analysis-refresh .garage-heading .garage-actions{justify-content:flex-start}}

/* Admin visual refresh — follows the approved 1320IQ dashboard theme. */
.admin-refresh{max-width:none;width:100%;padding:36px 35px 65px;box-sizing:border-box}
.admin-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #303c49;padding-bottom:25px;margin-bottom:25px}
.admin-page-heading .eyebrow,.admin-section-heading .eyebrow{display:block;color:#ff4858;font-size:12px;letter-spacing:2.3px;font-weight:800;margin-bottom:13px}
.admin-page-heading h1{font-family:Impact,'Arial Narrow',sans-serif;font-size:clamp(34px,3.6vw,52px);text-transform:uppercase;line-height:1.05;margin:0 0 12px;color:#f6f7fa}
.admin-page-heading p{margin:0;color:#a9bfd2;font-size:16px}
.admin-refresh .admin-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 32px}
.admin-refresh .admin-stat{background:linear-gradient(140deg,#19222d,#111821);border:1px solid #364454;border-top:3px solid #ef3046;border-radius:12px;padding:23px 24px}
.admin-refresh .admin-stat small{font-size:12px;letter-spacing:1.4px;font-weight:800;color:#d6e0eb}
.admin-refresh .admin-stat h2{font-family:Impact,'Arial Narrow',sans-serif;font-size:clamp(30px,3vw,42px);line-height:1.1;color:white;margin:13px 0 6px}
.admin-refresh .admin-stat span{font-size:13px;color:#9eb4c8}
.admin-section-heading{margin-bottom:17px}
.admin-section-heading .eyebrow{margin-bottom:7px}
.admin-section-heading h2{font-family:Impact,'Arial Narrow',sans-serif;font-size:29px;color:#f7f8fa;margin:0;text-transform:uppercase}
.admin-refresh .admin-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.admin-refresh .admin-tool{border:1px solid #364454;border-top:3px solid #ef3046;border-radius:12px;background:linear-gradient(140deg,#19222d,#111821);padding:25px;transition:border-color .15s,transform .15s;text-decoration:none}
.admin-refresh .admin-tool:hover{border-color:#f04454;transform:translateY(-2px)}
.admin-tool-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #8b2b3c;background:#35202b;color:#ff4c5b;border-radius:9px;font-size:24px;margin-bottom:17px}
.admin-refresh .admin-tool h2{font-family:Impact,'Arial Narrow',sans-serif;font-size:26px;text-transform:uppercase;color:#fff;margin:0 0 12px}
.admin-refresh .admin-tool p{color:#afc0d0;line-height:1.6;margin:0 0 18px}
.admin-tool-link{color:#ff4c5b;font-weight:750;font-size:13px}
.admin-notice{color:#8fa3b6;font-size:13px;margin-top:8px;line-height:1.6}
.admin-report-panel{background:linear-gradient(145deg,#19222d,#111821);border:1px solid #364454;border-top:3px solid #ef3046;border-radius:12px;padding:24px;min-width:0}
.admin-users-refresh .admin-report-actions{border-top:1px solid #344150;padding-top:18px;margin-bottom:20px}
.admin-users-refresh .admin-report-actions form{flex-wrap:wrap}
.admin-users-refresh .admin-report-actions input:not([type=checkbox]){background:#1c2733;color:#f2f6fa;border:1px solid #4b5b6c;border-radius:8px;padding:12px}
.admin-users-refresh .admin-report-actions .outline{display:inline-block;border:1px solid #536273;border-radius:8px;padding:12px 16px;text-decoration:none;color:#f0f5fa;font-weight:700}
.admin-users-refresh .table-scroll{max-width:100%;overflow-x:auto;border:1px solid #344252;border-radius:10px}
.admin-users-refresh .admin-users-table{width:100%;border-collapse:collapse}
.admin-users-refresh .admin-users-table th{background:#222e3b;color:#cdd9e5;font-size:11px;letter-spacing:.5px;text-transform:uppercase;white-space:nowrap}
.admin-users-refresh .admin-users-table td{background:#151e28;color:#e8eff7;font-size:13px;border-top:1px solid #303d4c;vertical-align:middle}
.admin-users-refresh .admin-users-table tbody tr:nth-child(even) td{background:#1a2531}
.admin-users-refresh .admin-users-table th,.admin-users-refresh .admin-users-table td{padding:14px 12px}
.admin-users-refresh .admin-users-table .admin-manage-panel{position:relative;z-index:5}
@media(max-width:800px){.admin-refresh{padding:25px 18px 45px}.admin-page-heading{align-items:flex-start;flex-direction:column}.admin-refresh .admin-stats{grid-template-columns:1fr}.admin-refresh .admin-tools{grid-template-columns:1fr}.admin-report-panel{padding:16px}}

/* Admin dashboard and user directory refinements */
.admin-refresh .admin-stat{padding:18px 20px}
.admin-refresh .admin-stat h2{font-size:clamp(26px,2.35vw,33px);margin:8px 0 4px}
.admin-refresh .admin-stats{margin-bottom:24px}
.admin-section-heading h2{font-family:Arial,Helvetica,sans-serif;font-size:22px;font-weight:850;letter-spacing:.2px;line-height:1.25}
.admin-refresh .admin-tool{padding:18px 21px}
.admin-tool-icon{width:37px;height:37px;margin-bottom:11px;font-size:20px}
.admin-refresh .admin-tool h2{font-family:Arial,Helvetica,sans-serif;font-size:20px;font-weight:850;line-height:1.3;letter-spacing:0;text-transform:uppercase;margin-bottom:8px}
.admin-refresh .admin-tool p{line-height:1.45;margin-bottom:10px;font-size:14px}
.admin-users-refresh .admin-report-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.admin-users-refresh .admin-report-actions .admin-search-form{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;flex:1 1 auto;min-width:0}
.admin-users-refresh .admin-search-form input[name=q]{width:min(390px,100%);min-width:180px;flex:1 1 260px;box-sizing:border-box;margin:0}
.admin-users-refresh .admin-search-form .admin-show-disabled{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;margin:0;font-size:13px}
.admin-users-refresh .admin-search-form input[type=checkbox]{margin:0}
.admin-users-refresh .admin-search-form button{white-space:nowrap;margin:0}
.admin-users-refresh .admin-report-actions .outline{white-space:nowrap}
@media(max-width:900px){.admin-users-refresh .admin-report-actions .admin-search-form{flex-wrap:wrap}.admin-users-refresh .admin-search-form input[name=q]{flex:1 1 100%}}

/* Analysis five-tab responsive workspace */
.analysis-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:4px 1px 13px;margin:12px 0 0;white-space:nowrap}
.analysis-tab{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;padding:12px 18px;border:1px solid #35414d;background:#17212b;border-radius:9px;color:#d5dce5;text-decoration:none;font-weight:750;font-size:13px;min-height:44px}
.analysis-tab:hover{border-color:#e43b46;color:#fff}.analysis-tab.active{background:#a92230;border-color:#e84651;color:#fff}
.analysis-tab-lock{font-size:9px;letter-spacing:.7px;border:1px solid #78818c;border-radius:4px;padding:2px 4px;color:#c8d0db}
.analysis-plan-line{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:0 0 17px;color:#9eabb9;font-size:12px}
.analysis-filter-summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#f1f3f6;font-weight:800;letter-spacing:.8px;min-height:30px}
.analysis-filter-summary::-webkit-details-marker{display:none}.analysis-filter-summary:after{content:'⌄';font-size:20px;color:#ed4954}.analysis-filter[open] .analysis-filter-summary:after{content:'⌃'}
.analysis-filter-summary span{font-weight:400;letter-spacing:0;color:#a5b0bc;font-size:12px}.analysis-filter form{margin-top:16px}
.analysis-upgrade{padding:30px!important;max-width:900px}.analysis-upgrade h2{margin:10px 0;font-size:clamp(23px,3vw,33px)}.analysis-upgrade>p{max-width:670px;line-height:1.7}.analysis-preview-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}.analysis-preview-tiles>div{background:#111b25;border:1px solid #35414d;border-radius:10px;padding:18px;display:grid;gap:8px}.analysis-preview-tiles small{color:#a5b0bc;font-size:10px}.analysis-preview-tiles strong{color:#f4f6f8;font-size:16px}
@media(max-width:700px){.analysis-tabs{margin-top:6px}.analysis-tab{padding:11px 14px}.analysis-plan-line{font-size:11px}.analysis-filter-summary span{display:none}.analysis-upgrade{padding:20px!important}.analysis-preview-tiles{grid-template-columns:1fr}}
/* Analysis refinement: compact header, tabs, filters, and responsive overview */
.analysis-refresh .garage-heading{margin:0 0 12px;padding-bottom:13px;gap:12px}
.analysis-refresh .garage-heading h1{font-size:clamp(30px,3vw,42px);margin:5px 0 5px}
.analysis-refresh .garage-heading p{font-size:13px;line-height:1.4;max-width:600px}
.analysis-heading-top{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.analysis-plan-badge{font-size:10px;font-weight:800;letter-spacing:1px;color:#fff;border:1px solid #a93442;background:#50212a;padding:4px 9px;border-radius:5px}
.analysis-tabs{margin:5px 0 13px;padding:3px 0 6px;gap:7px}
.analysis-tab{padding:9px 13px;min-height:41px;gap:7px;font-size:12px}
.analysis-tab-icon{font-size:17px;line-height:1;opacity:.9;min-width:17px;text-align:center}
.analysis-refresh .garage-form.analysis-filter{padding:12px 18px 13px;margin-bottom:16px}
.analysis-filter-summary{min-height:29px}
.analysis-filter-summary .analysis-filter-title{font-size:13px;color:#f1f3f6;font-weight:800;letter-spacing:.7px}
.analysis-filter-summary .analysis-filter-meta{font-weight:400;letter-spacing:0;color:#a5b0bc;font-size:12px;margin-left:auto}
.analysis-filter-count{display:inline-block;margin-left:8px;padding:3px 7px;background:#772330;border-radius:5px;font-size:10px;letter-spacing:0;color:#fff}
.analysis-refresh .analysis-stat-grid{gap:12px;margin-bottom:15px}
.analysis-overview-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:15px;align-items:start}
.analysis-overview-grid .garage-form{margin:0;min-width:0}
.analysis-overview-grid .garage-form h2{font-size:23px;margin:0}
.analysis-inline-link{color:#ff707b;text-decoration:none;font-weight:750;font-size:12px;white-space:normal}
.analysis-inline-link:hover{text-decoration:underline}
.analysis-overview-trend .analysis-chart{padding:8px}
.analysis-overview-trend .analysis-chart svg{max-height:235px}
.analysis-overview-trend .muted{font-size:12px}
.analysis-insight{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid #303b48}
.analysis-insight:first-of-type{padding-top:0}
.analysis-insight-mark{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:8px;background:#35252d;color:#ff6570;font-size:20px}
.analysis-insight strong{font-size:14px;color:#f4f6f8}
.analysis-insight p{font-size:12px;color:#b9c6d2;line-height:1.6;margin:5px 0 7px}
.analysis-insight-note{font-size:11px;line-height:1.5;color:#96a7b7;margin:13px 0 0}
@media(max-width:1000px){.analysis-overview-grid{grid-template-columns:1fr}}
@media(max-width:700px){.analysis-refresh .garage-heading{align-items:flex-start}.analysis-refresh .garage-heading h1{font-size:34px}.analysis-refresh .garage-heading .garage-actions{justify-content:flex-start}.analysis-tabs{gap:5px}.analysis-tab{padding:9px 11px}.analysis-filter-summary .analysis-filter-meta{display:none}.analysis-refresh .analysis-stat-grid{gap:9px}.analysis-refresh .analysis-stat{padding:12px}.analysis-refresh .analysis-stat strong{font-size:29px}.analysis-overview-grid{gap:12px}}

/* Analysis chart interaction and consistency help */
.analysis-info{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:5px;border:1px solid #778899;border-radius:50%;font-size:12px;cursor:help;text-transform:none;letter-spacing:0;color:#c7d5e1}
.analysis-info:focus-visible{outline:2px solid #ff5b65;outline-offset:3px}
.analysis-chart svg a{cursor:pointer}
.analysis-chart svg a:focus-visible circle:first-child{stroke:#fff;stroke-width:2}
.analysis-chart svg a:hover circle:last-child{fill:#fff;r:6}

/* Trends refinement: responsive KPI summary and consistent heading alignment */
.analysis-refresh .analysis-stat-heading{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.analysis-refresh .analysis-stat-heading .analysis-info{display:inline-flex;align-items:center;justify-content:center;flex:none;margin:0}
.analysis-trends-summary{margin:20px 0}
.analysis-trends-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;flex-wrap:wrap}
.analysis-trends-heading h2{margin:0;font-size:22px}
.analysis-trends-heading p{margin:5px 0 0}
.analysis-trends-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.analysis-trends-kpis .analysis-stat{min-width:0;margin:0}
.analysis-trends-direction{border:1px solid #394450;border-radius:999px;padding:7px 12px;font-size:12px;color:#b6c3d0}
.analysis-trends-direction.improving{color:#69d7a0;border-color:#37765b}
.analysis-trends-direction.slowing{color:#ffb18c;border-color:#8c513d}
.analysis-trends-observation p{line-height:1.6}
@media(max-width:1050px){.analysis-trends-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.analysis-trends-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.analysis-trends-kpis .analysis-stat{padding:12px}.analysis-trends-kpis .analysis-stat strong{font-size:23px;overflow-wrap:anywhere}.analysis-trends-heading h2{font-size:19px}}

/* Trends: average reference and responsive toggle */
.analysis-chart-tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:flex-end}
.analysis-average-toggle{display:inline-flex;align-items:center;gap:7px;color:#dbe3ec;font-size:13px;cursor:pointer;white-space:nowrap}
.analysis-average-toggle input{accent-color:#ed3445;width:16px;height:16px;cursor:pointer}
@media(max-width:600px){.analysis-chart-tools{gap:8px;justify-content:flex-start}.analysis-average-toggle{font-size:12px}}
/* Compare pass segment analysis */
.analysis-compare-summary{margin:16px 0 24px;padding:18px;border:1px solid #394452;border-radius:12px;background:#101821}
.analysis-compare-summary h3{margin:0 0 8px;color:#f2f5fa}
.analysis-compare-total{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:14px 0;padding:12px 16px;border-left:3px solid #e12b40;background:#1a2531}
.analysis-compare-total strong{font-size:1.25rem;color:#fff}
.analysis-compare-note{line-height:1.6;margin:16px 0 0}
.analysis-faster{color:#6cdda0;font-weight:700}.analysis-slower{color:#ff8b91;font-weight:700}
@media(max-width:600px){.analysis-compare-summary{padding:12px}.analysis-compare-total{display:block}.analysis-compare-total strong{display:block;margin-top:5px}}

/* Compare tab visual summary */
.analysis-delta-bars{display:grid;gap:12px;margin:18px 0}.analysis-delta-row{display:grid;grid-template-columns:115px minmax(0,1fr) 85px;align-items:center;gap:12px;font-size:.9rem}.analysis-delta-track{height:12px;background:#0c141d;border:1px solid #34404e;border-radius:8px;overflow:hidden}.analysis-delta-fill{height:100%;border-radius:8px;background:#2dbb85}.analysis-delta-fill.is-slower{background:#ef4857}.analysis-delta-row strong{text-align:right;font-variant-numeric:tabular-nums}.analysis-three-summary{padding:18px;background:#101a25;border:1px solid #34404e;border-radius:12px;margin:18px 0}.analysis-three-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.analysis-three-cards article{background:#192431;border:1px solid #34404e;border-radius:10px;padding:15px;display:flex;flex-direction:column;gap:8px;min-width:0}.analysis-three-cards article>strong{font-size:clamp(1.4rem,2.3vw,2rem);font-variant-numeric:tabular-nums}.analysis-three-cards article>span,.analysis-three-cards article>small{color:#b5c5d5;font-size:.82rem}.analysis-details{margin-top:20px;border:1px solid #34404e;border-radius:10px;overflow:hidden}.analysis-details summary{cursor:pointer;padding:17px 20px;font-weight:700;background:#192431;display:flex;justify-content:space-between;gap:12px}.analysis-details summary span{font-weight:400;color:#b5c5d5}.analysis-details .table-scroll{padding:12px}@media(max-width:720px){.analysis-three-cards{grid-template-columns:1fr}.analysis-delta-row{grid-template-columns:85px minmax(0,1fr) 72px;gap:7px;font-size:.76rem}.analysis-details summary{flex-direction:column}.analysis-three-summary{padding:12px}}

/* Compare and weather intelligence refinements */
.analysis-compare-total .analysis-slower,.analysis-weather-insight .analysis-slower{color:#ff6574!important}
.analysis-compare-total .analysis-faster,.analysis-weather-insight .analysis-faster{color:#37c995!important}
.analysis-weather-insight{margin:16px 0;padding:18px 20px;border:1px solid #394657;border-left:3px solid #ed3046;border-radius:9px;background:#111b27}
.analysis-weather-insight h3{margin:0 0 9px;font-size:1rem}.analysis-weather-insight p{margin:8px 0 0;line-height:1.5}.analysis-weather-insight strong{font-size:1.15rem}
.analysis-weather-controls{margin:20px 0}.analysis-weather-controls form{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.analysis-weather-select{background:#1b2734;color:#fff;border:1px solid #465366;border-radius:8px;padding:11px;max-width:100%}.analysis-weather-chart-wrap{border:1px solid #394657;border-radius:10px;padding:18px;margin:18px 0}.analysis-weather-scatter{display:block;width:100%;height:auto;max-height:380px}.analysis-weather-scatter circle{cursor:pointer}.analysis-weather-scatter circle:hover{fill:#fff;stroke:#ed3046;stroke-width:3}@media(max-width:600px){.analysis-weather-chart-wrap{padding:9px}.analysis-weather-insight{padding:14px}.analysis-weather-controls form{align-items:stretch;flex-direction:column}.analysis-weather-select{width:100%}}

/* Weather intelligence: balanced cards, responsive without changing other Analysis tabs */
.analysis-refresh .analysis-weather-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:16px 0 18px}
.analysis-refresh .analysis-weather-stat-grid>.analysis-stat{grid-column:span 2;min-width:0;padding:15px 17px}
.analysis-refresh .analysis-weather-stat-grid>.analysis-stat:nth-child(4),.analysis-refresh .analysis-weather-stat-grid>.analysis-stat:nth-child(5){grid-column:span 3}
.analysis-refresh .analysis-weather-stat-grid .analysis-stat strong{font-size:clamp(22px,2vw,29px);margin:5px 0}
@media(max-width:900px){.analysis-refresh .analysis-weather-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-refresh .analysis-weather-stat-grid>.analysis-stat,.analysis-refresh .analysis-weather-stat-grid>.analysis-stat:nth-child(4),.analysis-refresh .analysis-weather-stat-grid>.analysis-stat:nth-child(5){grid-column:auto}}
@media(max-width:480px){.analysis-refresh .analysis-weather-stat-grid{grid-template-columns:1fr;gap:9px}.analysis-refresh .analysis-weather-stat-grid>.analysis-stat{padding:12px 14px}}


/* Login: original centered dragstrip and logo, modern sign-in card.
   Scoped to login only; registration and all other pages retain their styles. */
body.auth-login:not(.auth-register) .auth-shell.auth-landing{
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;
 gap:0!important;grid-template-columns:none!important;min-height:100svh!important;width:100%!important;
 padding:clamp(28px,4.5vh,52px) 16px 55px!important;
 background:linear-gradient(180deg,rgba(3,7,15,.34),rgba(4,8,15,.22) 48%,rgba(2,5,12,.53)),url('dragstrip-dusk.webp') center center/cover no-repeat!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing::before,
body.auth-login:not(.auth-register) .auth-shell.auth-landing::after{content:none!important;display:none!important}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .hero{
 display:block!important;position:relative!important;width:min(620px,100%)!important;max-width:620px!important;
 height:clamp(170px,23vw,260px)!important;min-height:0!important;aspect-ratio:auto!important;
 margin:0 auto 18px!important;padding:0!important;box-shadow:none!important;border:0!important;
 background:url('1320iq-login-logo.png') center center/contain no-repeat!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .hero-content{display:none!important}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .auth-panel{
 display:block!important;position:relative!important;top:auto!important;left:auto!important;transform:none!important;
 width:min(580px,100%)!important;max-width:580px!important;height:auto!important;min-height:0!important;
 margin:0 auto!important;padding:0!important;background:none!important;aspect-ratio:auto!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .card{
 position:relative!important;width:100%!important;max-width:none!important;min-height:0!important;
 margin:0!important;padding:clamp(25px,3vw,43px)!important;
 border:1px solid #55718a!important;border-radius:20px!important;
 background:linear-gradient(145deg,#111c29,#090f18)!important;box-shadow:0 20px 70px #0009!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .card h1{
 font:800 clamp(24px,2.3vw,33px)/1.2 Inter,Arial,sans-serif!important;letter-spacing:-1px!important;
 margin:0 0 12px!important;text-align:center!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .card h1 em{font-style:italic;white-space:nowrap}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .card h1 em span{color:#f02e3d}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-signin-sub{
 font:400 14px/1.5 Inter,Arial,sans-serif!important;color:#bdcbd9!important;text-align:center!important;margin:0 0 27px!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .card form label{
 display:block!important;position:relative!important;font-size:13px!important;color:#dce0e5!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .card form label::before{
 display:none!important;content:none!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .card input:not([type=hidden]){
 display:block!important;width:100%!important;height:49px!important;margin:9px 0 19px!important;padding:11px 14px!important;
 background:#232b34!important;border:1px solid #505a66!important;border-radius:9px!important;
 font:14px Inter,Arial,sans-serif!important;color:white!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .card .primary{
 display:block!important;width:100%!important;height:auto!important;margin:7px 0 0!important;padding:14px 18px!important;
 font:700 15px Inter,Arial,sans-serif!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-account{
 border-top:1px solid #435364!important;margin-top:23px!important;padding-top:19px!important;text-align:center!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-account>span{
 display:block!important;color:#b8c6d6!important;font-size:13px!important;margin-bottom:12px!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-create{
 display:block!important;border:1px solid #e1e7f0!important;border-radius:10px!important;
 padding:13px!important;font-weight:800!important;color:#fff!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-create:hover{background:#24374a!important}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-account p{
 font-size:13px!important;color:#68c8f4!important;margin:14px 0 0!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-checks{
 display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:12px!important;
 margin-top:23px!important;color:#b9e5ca!important;font-size:12px!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .auth-links.landing-forgot{
 display:flex!important;justify-content:flex-end!important;align-items:center!important;margin-top:19px!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .auth-links.landing-forgot a{
 position:static!important;align-self:auto!important;margin:0!important;font-size:12px!important;color:#a9d5fa!important;
}
@media(max-width:600px){
 body.auth-login:not(.auth-register) .auth-shell.auth-landing{padding:25px 14px 40px!important}
 body.auth-login:not(.auth-register) .auth-shell.auth-landing .hero{height:clamp(120px,35vw,190px)!important;margin-bottom:14px!important}
 body.auth-login:not(.auth-register) .auth-shell.auth-landing .card{padding:25px 20px!important}
 body.auth-login:not(.auth-register) .auth-shell.auth-landing .card h1{font-size:23px!important}
}

/* 2026-11-12: predictive track picker and mobile report scrolling */
.track-picker-controls label:first-child{position:relative}.track-original-select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}.track-suggestions{position:absolute;z-index:100;top:100%;left:0;right:0;max-height:280px;overflow-y:auto;background:#172231;border:1px solid #566579;border-radius:8px;box-shadow:0 12px 30px #0009}.track-suggestions[hidden]{display:none}.track-suggestion{display:block;width:100%;text-align:left;padding:12px 14px;background:transparent;border:0;border-bottom:1px solid #344252;color:#f2f5fa;cursor:pointer;font:inherit}.track-suggestion:hover,.track-suggestion:focus{background:#334459;outline:2px solid #ed4958;outline-offset:-2px}.track-add-custom{justify-self:start;background:transparent;border:1px solid #bd5663;border-radius:7px;padding:9px 12px;color:#fff;cursor:pointer}
@media(max-width:767px){.table-scroll,.pricing-table-wrap{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.table-scroll>table,.pricing-table-wrap>table{width:max-content;min-width:100%;border-collapse:collapse}.table-scroll th,.table-scroll td{white-space:nowrap}.table-scroll td .admin-manage-panel{white-space:normal}.content,.dash-main-grid,.dash-card,.analysis-panel,.garage-form,.runs-history,.sessions-list,.analysis-refresh,.timeslips-page{min-width:0;max-width:100%}}

/* Single-field predictive track entry */
.track-search-label{position:relative;display:grid;gap:6px}.track-search-label input{width:100%;min-width:0}.track-picker{gap:10px}

/* Compact mobile navigation */
.mobile-nav-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:42px;height:42px;padding:8px;background:#171f29;border:1px solid #46515d;border-radius:8px;color:#fff;flex-shrink:0}
.mobile-nav-toggle span{display:block;width:21px;height:2px;background:currentColor;border-radius:2px}
@media(max-width:1050px){
 .app .topbar{height:68px;min-height:68px;flex-wrap:nowrap;gap:12px;padding:0 15px;position:relative;z-index:30}
 .app .topbar .brand{font-size:35px}
 .app .topbar .mobile-nav-toggle{display:flex;order:2;margin-left:auto}
 .app .topbar .account{order:3;margin-left:0;min-width:0}
 .app .topbar .account .user-menu summary span:first-child{max-width:110px;overflow:hidden;text-overflow:ellipsis}
 .app .topbar nav{display:none;position:absolute;top:100%;left:0;right:0;order:unset;width:auto;max-height:calc(100dvh - 68px);overflow-y:auto;overflow-x:hidden;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;background:#111820;border-bottom:1px solid #43505e;box-shadow:0 14px 25px #000b;padding:7px 12px 12px}
 .app .topbar nav.mobile-nav-open{display:flex}
 .app .topbar nav a{display:block;padding:14px 16px;border-bottom:1px solid #293441;font-size:15px;white-space:normal}
 .app .topbar nav a.active{border-bottom-color:#ed252d}
}
@media(max-width:390px){.app .topbar{gap:7px;padding:0 9px}.app .topbar .brand{font-size:30px}.app .topbar .account .user-menu summary span:first-child{max-width:70px}}


/* 2026-11-20: Three-column login landing page. Other auth screens are unchanged. */
body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-columns{
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.17fr) minmax(0,1fr);
 align-items:stretch;gap:8px;width:min(1440px,100%);margin:0 auto;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-columns .auth-panel{
 width:100%!important;max-width:none!important;margin:0!important;display:flex!important;align-items:stretch!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-columns .card{
 height:100%!important;padding:clamp(22px,2.1vw,36px)!important;border-radius:18px!important;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-promo{
 display:block;min-width:0;overflow:hidden;border:1px solid #55718a;border-radius:18px;
 background:#090d13;box-shadow:0 20px 70px #0009;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-promo img{
 display:block;width:100%;height:100%;object-fit:fill;
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-promo-right:hover{
 border-color:#f73a45;filter:brightness(1.08);
}
body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-promo-right:focus-visible{outline:3px solid #ff525c;outline-offset:3px}
@media(max-width:1050px){
 body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-columns{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);max-width:850px;gap:12px}
 body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-promo-left{display:none}
}
@media(max-width:650px){
 body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-columns{grid-template-columns:minmax(0,1fr);max-width:490px;gap:18px}
 body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-promo-right{width:min(100%,420px);justify-self:center}
 body.auth-login:not(.auth-register) .auth-shell.auth-landing .landing-promo-right img{height:auto;aspect-ratio:435/559}
}
