:root{--ink:#17212b;--muted:#77818c;--line:#e9edf0;--canvas:#f5f7f8;--red:#e10600;--red-dark:#bd0803;--nav:#111820;--green:#21a179;--shadow:0 10px 32px rgba(25,39,52,.055)}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:14px 'DM Sans',sans-serif}a{color:inherit;text-decoration:none}.sidebar{background:var(--nav);color:#d4dbe0;position:fixed;inset:0 auto 0 0;width:250px;padding:27px 18px;display:flex;flex-direction:column;z-index:2}.brand{height:68px;display:flex;align-items:center;gap:13px;margin:0 8px 35px;color:white;font:600 14px 'Space Grotesk',sans-serif;letter-spacing:1px}.brand img{width:34px;height:40px;filter:brightness(0) invert(1)}.brand b{color:#f23b35}.brand small{display:block;color:#7f8a93;font:400 10px 'DM Sans',sans-serif;letter-spacing:.1px;margin-top:5px}.nav-label{font-size:9px;letter-spacing:1.5px;color:#65717b;font-weight:700;padding:0 12px;margin:12px 0 8px}.nav{display:flex;gap:13px;align-items:center;padding:10px 12px;color:#aeb8c0;border-radius:7px;margin:2px 0;font-size:12px;transition:.18s}.nav>span{font-size:15px;width:18px;text-align:center}.nav:hover,.nav.active{background:#252e37;color:white}.nav.active{box-shadow:inset 2px 0 var(--red)}.side-bottom{margin-top:auto;border-top:1px solid #2b333a;padding:18px 9px 0;color:#aeb8c0;font-size:10px;line-height:1.8}.side-bottom small{color:#68747e}.status-dot{display:inline-block;background:#42c68d;width:6px;height:6px;border-radius:100%;margin:0 6px 1px 0}.main{margin-left:250px;min-height:100vh}.topbar{height:88px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.8);display:flex;align-items:center;justify-content:space-between;padding:0 5vw}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.45px;color:#9aa3ab}.top-title{font:600 15px 'Space Grotesk',sans-serif;margin-top:5px}.top-actions{display:flex;align-items:center;gap:16px}.avatar{width:32px;height:32px;border-radius:50%;background:#fbe9e8;color:var(--red);display:grid;place-items:center;font-weight:700;font-size:10px}.content{max-width:1360px;margin:0 auto;padding:34px 5vw 24px}.welcome{min-height:285px;background:linear-gradient(115deg,#d90a06 0%,#a90d12 60%,#57151a 100%);border-radius:12px;padding:37px 43px;color:white;display:flex;justify-content:space-between;position:relative;overflow:hidden}.welcome:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 80% 45%,rgba(255,255,255,.17),transparent 40%);pointer-events:none}.welcome h1,.gp-hero h1{font:700 clamp(30px,4vw,44px)/1.06 'Space Grotesk',sans-serif;letter-spacing:-1.7px;margin:16px 0 12px}.welcome p{color:#f2c9c8;max-width:390px;line-height:1.7;font-size:12px;margin:0 0 23px}.eyebrow.light{color:#ffc5c2}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:6px;padding:11px 16px;font:600 11px 'DM Sans',sans-serif;cursor:pointer;transition:.15s}.btn:hover{transform:translateY(-1px)}.btn-white{background:white;color:#a80f0c}.btn-red{background:var(--red);color:white}.btn-red:hover{background:var(--red-dark)}.btn-soft{background:#fff;border:1px solid var(--line);color:#46515b}.btn-danger{background:#fff1f0;color:#c22}.welcome-art{width:43%;position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.big-number{font:700 124px/.9 'Space Grotesk',sans-serif;color:rgba(255,255,255,.14);letter-spacing:-10px}.art-label{font-size:9px;letter-spacing:2px;color:#ffd3d1;margin-top:10px}.track-line{position:absolute;bottom:8px;right:-65px;width:110%;height:64px;border:2px solid rgba(255,255,255,.27);border-radius:52% 45% 0 0;transform:rotate(-8deg)}.helmet{position:absolute;right:26%;top:25px;font-size:33px;opacity:.75;transform:rotate(-18deg)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0 39px}.stat{background:#fff;border:1px solid #edf0f2;border-radius:9px;padding:17px 19px;box-shadow:0 2px 8px rgba(30,45,55,.02)}.stat-head{display:flex;align-items:center;justify-content:space-between;color:#737e88;font-size:10px}.stat-head i{font-style:normal;font-size:16px;opacity:.75}.stat strong{display:block;font:700 26px 'Space Grotesk',sans-serif;margin:12px 0 2px}.stat small{font-size:9px;color:#a0a8af}.section-head{display:flex;align-items:end;justify-content:space-between;margin:30px 0 14px}.section-head h2{font:600 19px 'Space Grotesk',sans-serif;margin:5px 0 0;letter-spacing:-.4px}.text-link{font-size:10px;color:var(--red);font-weight:700}.table-card{background:white;border:1px solid var(--line);border-radius:9px;overflow:auto;box-shadow:var(--shadow)}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;font-size:8px;letter-spacing:1px;color:#9aa3aa;background:#fafbfc;padding:13px 17px;font-weight:700}td{border-top:1px solid #f0f2f3;padding:13px 17px;font-size:11px;color:#64707a}td b{color:#25313b;font-weight:600}td small{display:block;color:#a0a8af;font-size:9px;margin-top:3px}.row-action{color:var(--red);font-size:10px;font-weight:700}.tag{display:inline-block;background:#f3f5f6;color:#58646d;padding:5px 8px;border-radius:4px;font-size:9px;font-weight:700}.page-intro{display:flex;align-items:end;justify-content:space-between;margin:5px 0 23px}.page-intro h1{font:700 32px 'Space Grotesk',sans-serif;letter-spacing:-1px;margin:7px 0 4px}.page-intro p{color:var(--muted);font-size:11px;margin:0}.search{background:#fff;border:1px solid var(--line);border-radius:7px;display:flex;align-items:center;gap:10px;padding:6px 8px;margin:0 0 14px}.search span{font-size:20px;color:#909ba3;margin-left:5px}.search input{border:0;outline:0;flex:1;padding:7px;font:inherit;font-size:12px}.search button{border:0;background:#f2f4f5;border-radius:5px;padding:8px 12px;font-size:10px;color:#46515b}.entity-name{display:flex;align-items:center;gap:10px}.thumb{width:30px;height:30px;object-fit:cover;border-radius:6px;background:#f1f3f4}.mono{font:10px monospace;color:#87919a}.actions{display:flex;align-items:center;gap:14px}.icon-action{border:1px solid var(--line);width:26px;height:26px;display:grid;place-items:center;border-radius:5px;color:#68737c}.empty{text-align:center!important;padding:35px;color:#98a1a9}.form-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:25px;margin-bottom:18px;box-shadow:var(--shadow)}.form-card h2{font:600 16px 'Space Grotesk',sans-serif;margin:0 0 18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.form-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span{color:#69747c;font-size:10px;font-weight:600}.field input,.field select,.field textarea,.page-intro select{border:1px solid #e4e8eb;border-radius:5px;background:white;color:#29343d;padding:10px 11px;font:11px 'DM Sans',sans-serif;outline:none;width:100%}.field input:focus,.field select:focus,.field textarea:focus{border-color:#e68b88;box-shadow:0 0 0 3px #fff0ef}.field textarea{resize:vertical}.field small{color:#969fa6;font-size:9px}.wide{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.notice{padding:12px 15px;margin-bottom:16px;background:#e8f7f0;color:#187554;border:1px solid #d1efe2;border-radius:6px;font-size:11px}.notice.error{background:#fff0ef;color:#ad211b;border-color:#f7d7d4}.gp-hero{background:linear-gradient(112deg,#161e26,#29333d);border-radius:11px;color:white;padding:31px 37px;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.gp-hero h1{font-size:37px;margin:13px 0}.gp-hero p{font-size:11px;color:#bdc7ce}.gp-number{font:700 100px 'Space Grotesk',sans-serif;color:#e1060030;letter-spacing:-8px}.gp-actions{display:flex;gap:9px;margin:14px 0 30px;flex-wrap:wrap}.position{width:25px;height:25px;display:grid;place-items:center;border-radius:6px;background:#f2f4f5;font-size:10px;font-weight:700}.position.podium{background:#fff0d7;color:#a66a05}.points{color:var(--red)}.back{display:block;color:#707c85;margin:0 0 13px;font-size:10px}.chips{display:flex;gap:8px;flex-wrap:wrap}.chips span{padding:8px 11px;background:#fff;border:1px solid var(--line);border-radius:5px;font-size:10px;color:#57636c}.check-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.check-grid label{display:flex;align-items:center;gap:8px;background:#fafbfc;border:1px solid var(--line);padding:10px;border-radius:5px;font-size:10px}.help{color:#6e7981;font-size:11px;margin:0 0 16px}.driver-card{background:#fff;border:1px solid var(--line);border-radius:8px;margin-bottom:12px;box-shadow:var(--shadow);overflow:hidden}.driver-head{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid #eff1f3}.driver-avatar{width:33px;height:33px;background:#fff0ef;color:var(--red);border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:10px}.driver-head b{font-size:12px}.driver-head small{display:block;color:#9aa3aa;font-size:9px;margin-top:3px}.result-grid{padding:17px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.check-inline{display:flex;align-items:center;gap:7px;font-size:10px;color:#69747c}.sticky-save{position:sticky;bottom:10px;background:#fff;border:1px solid var(--line);box-shadow:0 5px 25px #25334220;padding:12px 16px;border-radius:8px;display:flex;align-items:center;justify-content:space-between;margin:16px 0}.sticky-save span{font-size:10px;color:#748089}footer{display:flex;justify-content:space-between;color:#a3abb1;font-size:9px;padding:34px 4px 8px}footer span{color:#bcc2c7}
@media(max-width:1050px){.sidebar{width:210px}.main{margin-left:210px}.content{padding-left:3vw;padding-right:3vw}.form-grid.five,.result-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.sidebar{position:static;width:auto;height:auto;padding:12px 14px;display:block}.brand{margin:0 5px 9px;height:42px}.brand img{height:32px}.nav-label,.side-bottom{display:none}.sidebar .nav{display:inline-flex;padding:8px 9px;font-size:10px;margin:2px}.main{margin:0}.topbar{height:69px;padding:0 18px}.content{padding:20px 15px}.welcome{padding:25px;min-height:270px}.welcome-art{position:absolute;right:5px;bottom:15px;width:45%;opacity:.65}.welcome h1{font-size:34px}.welcome p{max-width:250px}.stats{grid-template-columns:repeat(2,1fr);gap:9px;margin-bottom:28px}.stat{padding:14px}.stat strong{font-size:22px}.form-grid,.form-grid.five,.result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.check-grid{grid-template-columns:repeat(2,1fr)}.page-intro h1{font-size:27px}.gp-hero{padding:25px}.gp-number{font-size:68px}.gp-actions .btn{flex:1}.top-actions .btn{padding:9px;font-size:9px}.sticky-save span{display:none}footer{flex-direction:column;gap:6px}}@media(max-width:420px){.sidebar .nav{font-size:0;gap:0}.sidebar .nav span{font-size:16px}.form-grid,.form-grid.five,.result-grid{grid-template-columns:1fr}.welcome-art{width:38%}.big-number{font-size:88px}.section-head h2{font-size:16px}.page-intro{align-items:center}}
.ui-icon{display:block;width:17px;height:17px;flex:0 0 auto}.nav>span{display:inline-flex;align-items:center;justify-content:center;width:18px;font-size:0}.nav>span .ui-icon{width:16px;height:16px}.stat-head i .ui-icon{width:17px;height:17px;color:#75818a}.pilot-avatar{display:inline-block;object-fit:cover;border-radius:50%;background:#e8edf0;vertical-align:middle;flex:0 0 auto}.avatar-xs{width:24px;height:24px}.avatar-sm{width:34px;height:34px}.avatar-fallback{display:inline-grid;place-items:center;color:#7b8790;font-weight:700;font-size:9px}.country-flag{display:inline-block;object-fit:cover;vertical-align:middle;margin-right:6px;border-radius:2px;box-shadow:0 0 0 1px #18212b12}.flag-xs{width:18px;height:12px}.flag-sm{width:25px;height:17px}.pilot-chip,.check-person{display:inline-flex;align-items:center;gap:7px}.chips a{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;background:#fff;border:1px solid var(--line);border-radius:5px;font-size:10px;color:#57636c}.chips .pilot-chip{padding:7px 10px}.driver-head .pilot-avatar{width:36px;height:36px}.detail-facts .fact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.fact-grid>div{display:flex;flex-direction:column;gap:5px;padding:12px;background:#fafbfc;border-radius:6px}.fact-grid small{font-size:9px;color:#8b969e}.fact-grid b{font-size:11px;color:#29343d;font-weight:600}.profile-photo{width:122px;height:122px;object-fit:cover;border:4px solid #ffffff28;border-radius:50%}.driver-profile h1{font-size:36px}.gp-hero p .country-flag{margin-right:7px}.check-grid label{min-width:0}.check-grid label .check-person{font-size:10px}@media(max-width:760px){.detail-facts .fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-photo{width:86px;height:86px}}@media(max-width:420px){.detail-facts .fact-grid{grid-template-columns:1fr}}
.entity-country{display:flex;align-items:center;gap:0;margin:-12px 0 17px 2px;font-size:11px;color:#77818c}.helmet .ui-icon{width:38px;height:38px;stroke:white;stroke-width:1.1}
.pilot-avatar{margin-right:7px}.entity-name{gap:11px}.avatar-fallback{background:#e7ebee;border:1px solid #d7dde1}.directory-row,.rank-row{cursor:pointer;transition:background .15s}.directory-row:hover td,.rank-row:hover td{background:#fbfcfd}.directory-row:focus-visible,.rank-row:focus-visible{outline:2px solid #e10600;outline-offset:-2px}.row-hit{display:block;color:inherit}.entity-name b{font-weight:650;color:#27333c}.directory-insights{white-space:normal;line-height:1.65;color:#65717b}.metric-pill{display:inline-flex;align-items:center;white-space:nowrap;padding:3px 7px;border-radius:99px;background:#f3f5f6;color:#59656e;font-size:9px;font-weight:600}.insight-label{font-size:10px;color:#75818a}.insight-separator{color:#c0c7cc}.season-mark,.winner-mark{display:inline-flex;align-items:center;gap:2px;margin-right:7px}.season-mark b,.winner-mark b{color:#303b44;font-weight:650}.directory-table th:first-child{min-width:220px}.directory-table th:last-child{min-width:360px}.directory-table td:first-child{min-width:220px}.directory-table .entity-name>div{min-width:0}.directory-table .entity-name small{font-size:9px;color:#919ba2;margin-top:3px}.directory-table .thumb{flex:0 0 auto}.directory-table .country-flag,.directory-insights .country-flag{margin-right:6px}
@media(max-width:760px){.directory-table th:last-child{min-width:260px}.directory-table td{padding:12px}.directory-insights{font-size:10px}.metric-pill{font-size:8px}}
@media(max-width:760px){.directory-table{white-space:normal}.directory-table thead{display:none}.directory-table tbody{display:block}.directory-table tr.directory-row{display:block;border-top:1px solid #eff1f3}.directory-table tr.directory-row:first-child{border-top:0}.directory-table tr.directory-row td{display:block;min-width:0!important;width:100%;border:0;padding:12px 15px 6px}.directory-table tr.directory-row td.directory-insights{padding:0 15px 13px 62px;font-size:10px}.directory-table tr.directory-row .entity-name{min-height:36px}.directory-table .directory-insights .country-flag{margin-right:3px}.directory-table .metric-pill{margin:2px 1px}.directory-table .season-mark,.directory-table .winner-mark{margin:2px 4px 2px 0}.directory-table tr.directory-row:hover td{background:#fff}}

.insight-separator{display:inline-block;margin:0 7px}.winner-mark{gap:7px;margin-left:8px}.directory-insights>.metric-pill{margin-left:8px}.directory-insights .insight-label{margin-left:7px}.winner-mark .pilot-avatar{margin-right:0}.country-flag{margin-right:7px}

/* Modern motorsport finish: clearer hierarchy, floating records and stronger interaction states. */
:root{--ink:#17212b;--muted:#74818c;--line:#e5e9ed;--canvas:#f1f4f6;--red:#e10600;--red-dark:#b80d09;--nav:#10161d;--shadow:0 12px 34px rgba(24,39,52,.065)}
body{background:radial-gradient(ellipse at 80% -10%,#e7edf2 0,transparent 42%),var(--canvas)}
.sidebar{background:linear-gradient(180deg,#10161d 0%,#171e27 100%);box-shadow:8px 0 30px rgba(18,28,38,.07)}
.nav{border:1px solid transparent;border-radius:10px;padding:11px 12px}.nav:hover{background:#ffffff0b}.nav.active{background:linear-gradient(90deg,#e1060022,#e1060008);border-color:#e1060038;box-shadow:inset 3px 0 var(--red)}
.topbar{height:82px;background:#ffffffc9;backdrop-filter:blur(14px);border-bottom-color:#e7ebef}.content{padding-top:32px;padding-bottom:34px}
.welcome{min-height:310px;border-radius:18px;padding:42px 46px;background:linear-gradient(118deg,#131a22 0%,#202b36 58%,#2a343d 100%);box-shadow:0 22px 50px rgba(23,33,43,.16)}
.welcome:before{content:'';position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,#ff4a41,#e10600);z-index:2}
.welcome:after{background:radial-gradient(ellipse at 82% 48%,rgba(225,6,0,.28),transparent 36%),linear-gradient(110deg,transparent 45%,rgba(255,255,255,.025) 45.2%,transparent 45.5%);pointer-events:none}
.welcome h1{font-size:clamp(34px,4.2vw,50px);letter-spacing:-2px}.welcome p{color:#c1cbd3}.eyebrow.light{color:#ffaaa5}.big-number{color:#ffffff12}.art-label{color:#c2cbd2}.track-line{border-color:#ffffff30}
.stats{gap:13px;margin-top:16px;margin-bottom:42px}.stat{position:relative;overflow:hidden;border:1px solid #e9edf0;border-radius:13px;padding:18px 20px;box-shadow:0 5px 16px rgba(24,39,52,.035);transition:transform .18s,box-shadow .18s}.stat:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(24,39,52,.08)}.stat-head i{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#fbeceb;color:var(--red);opacity:1}.stat-head i .ui-icon{color:var(--red)}.stat strong{font-size:29px;letter-spacing:-.8px}.stat small{font-size:10px}
.section-head{align-items:center;margin:35px 0 16px}.section-head h2{font-size:21px;letter-spacing:-.6px}.eyebrow{letter-spacing:1.6px}.page-intro{margin:7px 0 26px}.page-intro h1{font-size:clamp(30px,3vw,38px);letter-spacing:-1.4px}
.search{min-height:55px;padding:7px 9px;border-radius:12px;border-color:#e5e9ed;box-shadow:0 5px 18px rgba(24,39,52,.035);margin-bottom:18px}.search span{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#f3f5f7}.search button{background:#17212b;color:#fff;border-radius:8px;padding:10px 15px;font-weight:650;transition:background .16s,transform .16s}.search button:hover{background:var(--red);transform:translateY(-1px)}
.table-card{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:auto}table{border-collapse:separate;border-spacing:0 8px;white-space:nowrap}th{background:transparent;padding:6px 16px 3px;color:#8b96a0;font-size:9px;letter-spacing:1.25px}td{background:#fff;border-top:1px solid #e8edf0;border-bottom:1px solid #e8edf0;padding:15px 16px;font-size:12px;color:#606d77;transition:background .16s,border-color .16s}td:first-child{border-left:1px solid #e8edf0;border-radius:12px 0 0 12px}td:last-child{border-right:1px solid #e8edf0;border-radius:0 12px 12px 0}tbody tr:hover td{background:#fffafa;border-color:#efd8d6}td b{color:#202b34;font-weight:700}td small{font-size:10px;color:#8d99a2}.directory-table{border-spacing:0 9px}.directory-table th{padding-bottom:4px}.directory-table td{padding-top:17px;padding-bottom:17px}.directory-table .entity-name{gap:14px}.directory-table .entity-name b{font-size:13px;letter-spacing:-.15px}.directory-table .entity-name small{font-size:10px}.directory-table .pilot-avatar{width:42px;height:42px;margin-right:0;box-shadow:0 3px 9px #17212b1a}.directory-table .avatar-xs{width:28px;height:28px;margin-right:0}.directory-table .thumb{width:42px;height:42px;border-radius:11px;background:#f0f3f5}.directory-insights{font-size:11px}.metric-pill{background:#f1f4f6;color:#52606b;padding:5px 9px;font-size:10px;border:1px solid #e9edf0}.directory-insights .metric-pill{margin-left:5px}.directory-insights .insight-label{font-size:11px}.season-mark{padding:5px 10px;border-radius:10px;background:#fff8e9;color:#825a18}.winner-mark{padding:5px 10px;border-radius:10px;background:#f1f7f4;color:#39765c}.winner-mark .pilot-avatar,.season-mark .pilot-avatar{box-shadow:0 2px 6px #17212b1a}.directory-row:hover .entity-name b{color:#c61510}.row-hit{border-radius:11px}.position{width:30px;height:30px;border-radius:9px;background:#eff2f4;font-size:11px}.position.podium{background:linear-gradient(145deg,#fff3d9,#ffe8b5);color:#9a6200}.tag{background:#f0f3f5;border:1px solid #e5eaee;border-radius:99px;padding:6px 10px;font-size:10px}.row-action{font-size:11px}
.metric-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.metric-tabs a{padding:10px 14px;border:1px solid #e3e8ec;border-radius:10px;background:#fff;color:#697680;font-size:11px;font-weight:650;transition:.15s}.metric-tabs a:hover{border-color:#f3b7b3;color:#bb1711}.metric-tabs a.selected{background:#fff0ef;color:#c51b15;border-color:#f6d1ce;box-shadow:inset 0 0 0 1px #fff8f7}
.gp-hero{border-radius:16px;padding:36px 40px;background:radial-gradient(ellipse at 80% 0%,#344250,transparent 48%),linear-gradient(120deg,#131a22,#202b36);box-shadow:0 15px 35px #17212b1c}.gp-number{color:#e1060028}.gp-actions .btn{border-radius:9px}.detail-facts{border-radius:14px;border-color:#e7ebee}.fact-grid>div{background:#f5f7f8;border-radius:9px}
.btn{border-radius:9px;padding:11px 16px}.btn-red{box-shadow:0 5px 12px #e1060025}.btn-soft{border-radius:9px}.chips a,.chips span{border-radius:9px;background:#fff;border-color:#e5eaee;box-shadow:0 3px 10px #17212b08}.pilot-avatar{margin-right:8px}.country-flag{margin-right:8px}
.directory-row,.rank-row{transition:filter .16s}.directory-row:hover,.rank-row:hover{filter:drop-shadow(0 5px 9px rgba(24,39,52,.08))}.directory-row:hover td,.rank-row:hover td{background:#fffafa}
@media(max-width:760px){.content{padding-top:22px}.welcome{border-radius:15px;padding:27px;min-height:275px}.welcome h1{font-size:36px;letter-spacing:-1.5px}.welcome-art{opacity:.8}.stats{gap:10px}.stat{border-radius:12px}.section-head{margin-top:28px}.directory-table tr.directory-row{border:1px solid #e8edf0;border-radius:13px;margin-bottom:10px;overflow:hidden;box-shadow:0 4px 12px #17212b08}.directory-table tr.directory-row td{padding:13px 15px 7px}.directory-table tr.directory-row td.directory-insights{padding:0 15px 14px 68px}.directory-table .directory-insights .country-flag{margin-right:5px}.directory-table .metric-pill{margin:3px 2px}.table-card{overflow:auto}.gp-hero{border-radius:14px}}

/* Clear, consistent sortable directory tables and podium markers. */
.sort-button{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;letter-spacing:inherit;text-transform:inherit;padding:5px 22px 5px 0;position:relative;cursor:pointer;text-align:left}
.sort-indicator{position:absolute;right:1px;top:50%;width:15px;height:15px;transform:translateY(-50%);overflow:visible}
.sort-indicator path{fill:none;stroke:#a8b2ba;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:stroke .15s,opacity .15s}
.sort-indicator .sort-up,.sort-indicator .sort-down{opacity:.72}
th[aria-sort="ascending"] .sort-indicator .sort-up,th[aria-sort="descending"] .sort-indicator .sort-down{stroke:#e10600;stroke-width:2;opacity:1}
th[aria-sort="ascending"] .sort-indicator .sort-down,th[aria-sort="descending"] .sort-indicator .sort-up{opacity:.2}
.directory-table{min-width:760px}
.directory-table thead th{white-space:nowrap}
.directory-table tbody td{vertical-align:middle}
.directory-table tbody td:not(:first-child){white-space:nowrap}
.directory-table .row-hit{display:block;color:inherit;text-decoration:none}
.directory-table .entity-name{display:flex;align-items:center;gap:14px;min-width:220px}
.entity-image,.entity-placeholder{width:48px;height:48px;flex:0 0 48px;border-radius:14px;object-fit:cover;background:#f0f2f4}
.entity-placeholder{display:grid;place-items:center;color:#73808b}
.entity-placeholder .ui-icon{width:22px;height:22px}
.person-cell{display:inline-flex;align-items:center;gap:10px}
.person-cell b{white-space:nowrap}
.date-value{white-space:nowrap}
.rank-medal{display:inline-grid;place-items:center;position:relative;width:32px;height:38px;vertical-align:middle;color:#53606a}
.rank-medal svg{position:absolute;inset:0;width:100%;height:100%;fill:currentColor;stroke:currentColor;stroke-width:.6}
.rank-medal b{position:relative;z-index:1;font-size:12px;line-height:1;color:#fff}
.medal-gold{color:#d89c12}.medal-silver{color:#8997a4}.medal-bronze{color:#b96e42}
@media(max-width:760px){.directory-table{min-width:760px}.directory-table .entity-name{min-width:190px}.directory-table .entity-image,.directory-table .entity-placeholder{width:42px;height:42px;flex-basis:42px}}
@media(max-width:760px){.directory-table tr.directory-row td:not(:first-child){display:flex;align-items:center;gap:8px;white-space:normal;padding-left:15px!important}.directory-table tr.directory-row td:not(:first-child)::before{content:attr(data-label);flex:0 0 118px;color:#9aa3aa;font-size:9px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.directory-table tr.directory-row td:first-child{padding-bottom:10px!important}}
/* Compact podium accents: ranks stay clear without oversized ribbon graphics. */
.rank-medal{width:30px;height:30px;border-radius:50%;font-size:12px;font-weight:800;line-height:30px;display:inline-block;text-align:center;position:static;vertical-align:middle;border:1px solid transparent}
.rank-medal svg,.rank-medal b{display:none}
.rank-1{background:#fff4d7;border-color:#f2ddb0;color:#9b6b08}
.rank-2{background:#f0f3f5;border-color:#e0e5e9;color:#667581}
.rank-3{background:#f8e9e1;border-color:#efd5c7;color:#a45e39}
.season-podium{display:flex;flex-direction:column;gap:7px;min-width:245px}
.podium-person{display:flex;align-items:center;gap:9px;white-space:nowrap}
.podium-person .pilot-avatar{margin:0;width:28px;height:28px}
.podium-person b{font-size:11px}
.podium-person small{display:inline;color:#84909a;margin:0 0 0 auto;font-size:10px}
.podium-rank{display:inline-grid;place-items:center;width:21px;height:21px;border-radius:7px;font-size:10px;font-style:normal;font-weight:800;background:#f1f3f5;color:#64717c}
.podium-rank-1{background:#fff4d7;color:#9b6b08}.podium-rank-2{background:#f0f3f5;color:#667581}.podium-rank-3{background:#f8e9e1;color:#a45e39}
@media(max-width:760px){.directory-table tr.directory-row td[data-label="Podium de la saison"]{display:block!important}.directory-table tr.directory-row td[data-label="Podium de la saison"]::before{display:block;margin-bottom:9px}.season-podium{min-width:0;width:100%}.podium-person{display:grid;grid-template-columns:21px 28px minmax(0,1fr) auto;gap:7px;white-space:normal}.podium-person b{white-space:normal;line-height:1.25}.podium-person small{white-space:nowrap}}
.directory-table.pilots-directory th:last-child{min-width:90px}.directory-table.pilots-directory td:last-child{min-width:90px}
@media(max-width:760px){.directory-table.pilots-directory{min-width:0;width:100%}.directory-table.pilots-directory th:last-child{min-width:0}.directory-table.pilots-directory td:last-child{min-width:0;width:100%}}
@media(max-width:760px){.podium-person{grid-template-columns:21px 28px minmax(0,1fr);grid-template-rows:auto auto;column-gap:7px;row-gap:1px}.podium-person .podium-rank{grid-column:1;grid-row:1/3}.podium-person .pilot-avatar{grid-column:2;grid-row:1/3}.podium-person b{grid-column:3;grid-row:1}.podium-person small{grid-column:3;grid-row:2;justify-self:start;margin:0;font-size:9px}}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="submit"]):not([type="button"]),select{height:40px;min-height:40px;box-sizing:border-box}
.driver-card .driver-head{width:100%;border:0;border-bottom:1px solid #eff1f3;background:#fff;color:inherit;text-align:left;cursor:pointer;justify-content:space-between;font:inherit;transition:background .15s}
.driver-card .driver-head:hover{background:#fafbfc}
.driver-head-person,.driver-head-meta{display:flex;align-items:center;gap:12px}
.driver-head-person .pilot-avatar{margin:0}
.driver-head-meta{flex:0 0 auto}
.driver-status{padding:6px 9px;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap}
.driver-status.is-complete{background:#eaf7f0;color:#26734d}
.driver-status.is-missing{background:#fff2e8;color:#a65b21}
.driver-collapse-icon{width:26px;height:26px;border:1px solid #e8edf0;border-radius:8px;display:grid;place-items:center;color:#69747c;font-size:15px;line-height:1}
.driver-head[aria-expanded="false"]{border-bottom-color:transparent}
.driver-fields[hidden]{display:none}
.driver-head:focus-visible{outline:2px solid #e10600;outline-offset:-3px}
@media(max-width:520px){.driver-head{padding:12px!important}.driver-head-meta{gap:7px}.driver-status{font-size:9px;padding:5px 7px}.driver-collapse-icon{width:23px;height:23px}}

@media(max-width:760px){.top-actions{gap:8px}.top-actions .btn{white-space:nowrap;padding:8px 9px;font-size:9px}.auth-inline{gap:5px}.auth-inline span{display:none}.top-title{font-size:13px;white-space:nowrap}}
@media(max-width:520px){.page-intro{align-items:flex-start;flex-wrap:wrap;gap:10px}.page-intro>div:first-child{flex:1 1 100%}.page-intro>.btn,.page-intro>.gp-actions,.page-intro>form{margin-left:auto}}
.field input[type="file"]{height:40px;min-height:40px;padding:5px 8px}
.seasons-directory{width:100%;table-layout:fixed;min-width:980px}
.seasons-directory th:nth-child(1){width:10%}.seasons-directory th:nth-child(2){width:19%}.seasons-directory th:nth-child(3){width:13%}.seasons-directory th:nth-child(4){width:14%}.seasons-directory th:nth-child(5){width:44%}
.seasons-directory tbody td{padding-top:18px;padding-bottom:18px}
.season-year{display:inline-flex;align-items:center;justify-content:center;min-width:74px;min-height:52px;padding:0 12px;border-radius:14px;background:linear-gradient(145deg,#202a33,#34414b);color:#fff;font-size:21px;font-weight:800;letter-spacing:-.8px;box-shadow:0 5px 13px #1d29331c}
.season-live-tag{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid #ccebd9;border-radius:999px;background:#effaf3;color:#318256;font-size:9px;font-weight:750;white-space:nowrap}.season-live-tag i{width:6px;height:6px;border-radius:50%;background:#39a76a;box-shadow:0 0 0 3px #39a76a1f}
.season-period{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center;color:#4b5963;font-size:11px;font-weight:700;white-space:normal}.season-period>span{white-space:nowrap}.season-period i{font-style:normal;font-weight:400;color:#89959e}.season-period time{font-weight:700;color:#34414b}
.season-stat{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:91px;min-height:54px;padding:8px 12px;border:1px solid #e8edf0;border-radius:13px;background:#f7f9fa}.season-stat b{font-size:19px;line-height:1;color:#26323b;letter-spacing:-.5px}.season-stat small{margin-top:5px;color:#85919a;font-size:9px;font-weight:650;letter-spacing:.04em;text-transform:uppercase}
.seasons-directory .season-podium{min-width:0;gap:5px}.seasons-directory .podium-person{min-height:37px;padding:3px 8px;border-radius:11px;gap:9px}.seasons-directory .podium-season-rank-1{min-height:43px;background:linear-gradient(100deg,#fff8e8,#fffdf8);border:1px solid #f5e7c5}.seasons-directory .podium-season-rank-1 .pilot-avatar{width:34px;height:34px}.seasons-directory .podium-person b{overflow:hidden;text-overflow:ellipsis}.seasons-directory .podium-person small{margin-left:auto;white-space:nowrap}
@media(max-width:760px){.seasons-directory{min-width:0;table-layout:auto}.seasons-directory tr.directory-row td[data-label="Période"]{align-items:flex-start}.seasons-directory .season-period{flex-wrap:wrap;align-items:center}.seasons-directory tr.directory-row td[data-label="Podium de la saison"]{display:block!important}.seasons-directory .season-podium{min-width:0}.seasons-directory .podium-person{padding-left:0;padding-right:0}.seasons-directory .podium-season-rank-1{padding:6px 8px}}
.circuits-directory{width:min(100%,1180px);min-width:760px;table-layout:fixed}.circuits-directory th:nth-child(1){width:31%}.circuits-directory th:nth-child(2){width:19%}.circuits-directory th:nth-child(3){width:15%}.circuits-directory th:nth-child(4){width:18%}.circuits-directory th:nth-child(5){width:17%}.circuits-directory th:last-child,.circuits-directory td:last-child{min-width:0}
@media(max-width:760px){.circuits-directory{width:100%;min-width:760px;table-layout:fixed}}
.voitures-directory{width:min(100%,1300px);min-width:900px;table-layout:fixed}.voitures-directory th:nth-child(1){width:23%}.voitures-directory th:nth-child(2){width:18%}.voitures-directory th:nth-child(3){width:14%}.voitures-directory th:nth-child(4){width:10%}.voitures-directory th:nth-child(5){width:10%}.voitures-directory th:nth-child(6){width:9%}.voitures-directory th:nth-child(7){width:8%}.voitures-directory th:nth-child(8){width:8%}.voitures-directory th:last-child,.voitures-directory td:last-child{min-width:0}
.voitures-directory .entity-name{width:100%;min-width:0;gap:12px}.voitures-directory .entity-name>div{flex:1 1 0;max-width:calc(100% - 60px);overflow:hidden}.voitures-directory .entity-name b,.voitures-directory .entity-name small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){.voitures-directory{width:100%;min-width:900px;table-layout:fixed}}
.ecuries-directory{width:min(100%,1180px);min-width:760px;table-layout:fixed}.ecuries-directory th:nth-child(1){width:34%}.ecuries-directory th:nth-child(2){width:25%}.ecuries-directory th:nth-child(3){width:14%}.ecuries-directory th:nth-child(4){width:13%}.ecuries-directory th:nth-child(5){width:14%}.ecuries-directory th:last-child,.ecuries-directory td:last-child{min-width:0}.ecuries-directory .entity-name{width:100%;min-width:0;gap:12px}.ecuries-directory .entity-name>div{flex:1 1 0;max-width:calc(100% - 60px);overflow:hidden}.ecuries-directory .entity-name b{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){.ecuries-directory{width:100%;min-width:760px;table-layout:fixed}}

/* Actions d’administration intégrées à la navigation commune */
.nav-form{margin:2px 0}
.nav-button{width:100%;border:0;background:transparent;text-align:left;font:inherit;cursor:pointer}
.nav-button:hover{background:#252e37;color:white}
.top-admin-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.top-admin-actions .btn{white-space:nowrap}
@media(max-width:760px){.sidebar .nav-form{display:inline-block;vertical-align:middle}.sidebar .nav-button{width:auto}.top-admin-actions{gap:5px}.top-admin-actions .btn{padding:8px 9px;font-size:9px}}
@media(max-width:520px){.topbar{gap:8px}.topbar>.top-actions{gap:6px}.top-admin-actions{max-width:calc(100vw - 110px);overflow-x:auto;justify-content:flex-start;scrollbar-width:none}.top-admin-actions::-webkit-scrollbar{display:none}.top-admin-actions .btn{font-size:8px;padding:7px 8px}.top-title{max-width:38vw;overflow:hidden;text-overflow:ellipsis}}

/* En-tête commun des pages principales : léger, typographique, sans panneau */
.content .page-heading:not(.season-page-head){position:relative;isolation:auto;align-items:center;min-height:0;padding:2px 0 21px;margin:0 0 24px;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
.content .page-heading:not(.season-page-head)::before{content:none}
.content .page-heading:not(.season-page-head)::after{content:none}
.content .page-heading:not(.season-page-head)>div{position:relative;z-index:1;min-width:0}
.content .page-heading:not(.season-page-head) .eyebrow{display:flex;align-items:center;gap:8px;color:#8e99a2}
.content .page-heading:not(.season-page-head) .eyebrow::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--red)}
.content .page-heading:not(.season-page-head) h1{font-size:clamp(34px,3.5vw,46px);line-height:1.02;letter-spacing:-2px;margin:8px 0 7px}
.content .page-heading:not(.season-page-head) p{color:#77838d;font-size:12px;margin:0}
.content .page-heading.directory-heading p{display:flex;align-items:center;gap:7px;margin-top:10px;color:#687580;font-weight:600}
.content .page-heading.directory-heading p::before{content:"";width:5px;height:5px;border-radius:50%;background:#b9c2c9}
.content .page-heading:not(.season-page-head)>.btn,.content .page-heading:not(.season-page-head)>form{position:relative;z-index:1}
@media(max-width:760px){.content .page-heading:not(.season-page-head){min-height:0;padding:0 0 16px;margin-bottom:19px}.content .page-heading:not(.season-page-head) h1{font-size:clamp(30px,8vw,38px);letter-spacing:-1.5px}.content .page-heading:not(.season-page-head) p{font-size:11px}.content .leaderboard-intro:not(.season-page-head){align-items:flex-start;gap:12px}.content .leaderboard-intro:not(.season-page-head)>.btn{align-self:flex-end}}
@media(max-width:520px){.content .page-heading:not(.season-page-head){padding-bottom:14px}.content .leaderboard-intro:not(.season-page-head){flex-wrap:wrap}.content .leaderboard-intro:not(.season-page-head)>.btn{margin-left:0}}

/* Titres des pages principales : titre seul, souligné et recherche repliée */
.content .page-heading:not(.season-page-head) .eyebrow{display:none}
.content .page-heading:not(.season-page-head) h1{display:table;position:relative;padding-bottom:10px;margin:0 0 7px}
.content .page-heading:not(.season-page-head) h1::after{content:"";position:absolute;left:0;bottom:0;width:46px;height:3px;border-radius:3px;background:var(--red)}
.content .page-heading.directory-heading{display:flex;justify-content:space-between;gap:20px}
.content .page-heading.directory-heading>div{flex:1}
.content .page-heading.directory-heading p{margin-top:3px}
.directory-search-toggle{width:58px;height:58px;flex:0 0 58px;display:grid;place-items:center;border:0;border-radius:16px;background:#17212b;color:#fff;cursor:pointer;transition:background .18s,transform .18s,box-shadow .18s}
.directory-search-toggle:hover{background:var(--red);transform:translateY(-2px);box-shadow:0 7px 18px #e1060026}
.directory-search-toggle:focus-visible{outline:3px solid #e1060055;outline-offset:3px}
.directory-search-toggle .ui-icon{width:26px;height:26px;stroke-width:1.8}
.directory-search[hidden]{display:none}
.directory-search{margin-top:0}
.directory-search>span{font-size:0;margin-left:5px;color:#89949d}
.directory-search>span .ui-icon{width:20px;height:20px}
@media(max-width:760px){.directory-search-toggle{width:50px;height:50px;flex-basis:50px;border-radius:14px}.directory-search-toggle .ui-icon{width:23px;height:23px}}
@media(max-width:520px){.content .page-heading.directory-heading{gap:12px}.directory-search-toggle{width:46px;height:46px;flex-basis:46px;border-radius:13px}.content .page-heading:not(.season-page-head) h1{padding-bottom:8px}}
.directory-search-toggle[aria-expanded="true"]{background:var(--red);box-shadow:0 7px 18px #e1060026}
.directory-search-toggle[aria-expanded="true"]:hover{background:var(--red-dark)}

/* The Grand Prix directory has a compact, bounded podium column. */
.gps-directory{width:100%;min-width:0;table-layout:fixed;border-spacing:0 9px}
.gps-directory th:nth-child(1),.gps-directory td:nth-child(1){width:13%}
.gps-directory th:nth-child(2),.gps-directory td:nth-child(2){width:19%}
.gps-directory th:nth-child(3),.gps-directory td:nth-child(3){width:15%}
.gps-directory th:nth-child(4),.gps-directory td:nth-child(4){width:14%}
.gps-directory th:nth-child(5),.gps-directory td:nth-child(5){width:39%}
.gps-directory th:last-child,.gps-directory td:last-child{min-width:0}
.gps-directory .season-podium{width:100%;min-width:0;gap:4px}
.gps-directory .podium-person{display:grid;grid-template-columns:24px 28px minmax(0,1fr) auto;gap:7px;min-width:0;white-space:normal}
.gps-directory .podium-person b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.gps-directory .podium-person small{font-size:9px;white-space:nowrap}
@media(max-width:760px){.gps-directory{min-width:0}.gps-directory tr.directory-row{display:table-row;border:0;border-radius:0;margin:0;overflow:visible;box-shadow:none}.gps-directory tr.directory-row td,.gps-directory tr.directory-row td:not(:first-child){display:table-cell;width:auto;padding:13px 12px;white-space:normal}.directory-table.gps-directory tr.directory-row td:not(:first-child)::before{display:none}.gps-directory .season-podium{min-width:0}.gps-directory .podium-person{display:grid;grid-template-columns:22px 26px minmax(0,1fr) auto;grid-template-rows:auto;gap:5px}.gps-directory .podium-person .podium-rank,.gps-directory .podium-person .pilot-avatar,.gps-directory .podium-person b,.gps-directory .podium-person small{grid-column:auto;grid-row:auto}.gps-directory .podium-person small{margin:0}}

/* Navigation mobile : barre compacte et panneau latéral accessible au hamburger. */
.mobile-bar{display:none}
.mobile-menu-backdrop[hidden]{display:none}
@media(max-width:760px){
  body{overflow-x:hidden}
  .mobile-bar{position:fixed;inset:0 0 auto;z-index:1100;height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:#111820;border-bottom:1px solid #2b333a;box-shadow:0 3px 16px #17212b20}
  .mobile-brand{display:inline-flex;align-items:center;gap:9px;color:#fff;font:700 12px 'Space Grotesk',sans-serif;letter-spacing:.8px}
  .mobile-brand img{width:25px;height:31px;object-fit:contain;filter:brightness(0) invert(1)}
  .mobile-brand b{color:var(--red)}
  .mobile-menu-toggle{width:42px;height:42px;display:grid;place-items:center;border:1px solid #ffffff20;border-radius:12px;background:#202a33;color:#fff;cursor:pointer;transition:background .16s,transform .16s}
  .mobile-menu-toggle:hover{background:var(--red);transform:translateY(-1px)}
  .mobile-menu-toggle:focus-visible{outline:3px solid #e1060055;outline-offset:3px}
  .mobile-menu-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  .mobile-menu-backdrop{position:fixed;inset:64px 0 0;z-index:1090;width:100%;height:calc(100dvh - 64px);border:0;background:#0b141db5;backdrop-filter:blur(2px)}
  .sidebar{position:fixed;inset:64px auto 0 0;width:min(320px,88vw);height:calc(100dvh - 64px);padding:16px 14px 22px;display:flex;flex-direction:column;align-items:stretch;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;z-index:1095;transform:translateX(-105%);transition:transform .22s ease;box-shadow:12px 0 32px #07111d30}
  body.menu-open .sidebar{transform:translateX(0)}
  .sidebar .brand{display:none}
  .sidebar .nav-label,.sidebar .side-bottom{display:block}
  .sidebar .nav-label{font-size:9px;padding:0 12px;margin:16px 0 7px}
  .sidebar .nav{display:flex;width:100%;gap:12px;align-items:center;padding:11px 12px;margin:2px 0;font-size:13px;white-space:normal}
  .sidebar .nav>span{width:20px;flex:0 0 20px;font-size:0}
  .sidebar .nav>span .ui-icon{width:17px;height:17px}
  .sidebar .nav-form{display:block;margin:2px 0}
  .sidebar .nav-button{width:100%;text-align:left}
  .main{margin:0;min-width:0;padding-top:64px}
  .topbar{height:auto;min-height:62px;flex-wrap:wrap;gap:9px;padding:10px 16px;background:#111820;border-bottom-color:#2b333a;color:#fff}
  .topbar .eyebrow{color:#9aa6af}
  .topbar .top-title{color:#fff}
  .topbar>div:first-child{min-width:0;flex:1 1 auto}
  .top-actions{gap:8px;min-width:0;max-width:100%}
  .top-admin-actions{gap:5px;max-width:calc(100vw - 92px);overflow-x:auto;justify-content:flex-start;scrollbar-width:none}
  .top-admin-actions::-webkit-scrollbar{display:none}
  .top-admin-actions .btn{padding:8px 9px;font-size:9px}
  .top-actions .btn{white-space:nowrap;padding:8px 9px;font-size:9px}
  .content{width:100%;max-width:100%;min-width:0;padding:22px 16px 26px}
  .page-intro,.section-head{min-width:0;gap:12px}
  .section-head{align-items:flex-start;flex-wrap:wrap}
  .page-intro h1{overflow-wrap:anywhere}
  .form-card,.table-card,.season-collapse,.gp-hero,.welcome{min-width:0;max-width:100%}
  .table-card{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  footer{gap:8px;flex-wrap:wrap}
}
@media(max-width:420px){
  .mobile-bar{height:58px;padding:0 12px}
  .mobile-menu-backdrop{inset:58px 0 0;height:calc(100dvh - 58px)}
  .sidebar{inset:58px auto 0 0;height:calc(100dvh - 58px);padding:13px 12px 18px}
  .main{padding-top:58px}
  .sidebar .nav{font-size:12px;padding:10px 11px}
  .content{padding:19px 12px 22px}
  .topbar{padding:9px 12px}
  .top-title{max-width:48vw;white-space:normal;overflow-wrap:anywhere}
  .top-admin-actions{max-width:calc(100vw - 82px)}
  .top-admin-actions .btn{font-size:8px;padding:7px 8px}
  .page-intro{align-items:flex-start;flex-wrap:wrap}
  .page-intro>.btn,.page-intro>.gp-actions,.page-intro>form{margin-left:0}
  .stats{grid-template-columns:1fr 1fr}
  .welcome{padding:20px;min-height:255px}
  .welcome h1{font-size:30px}
  .gp-hero{padding:21px}
  .gp-hero h1{font-size:29px}
  .gp-number{font-size:54px}
}

/* Mobile refinements: keep wide data inside the page and actions reachable. */
@media(max-width:760px){
  body.menu-open{overflow:hidden}
  /* Le bandeau mobile remplace le contexte du header desktop ; on conserve ses actions. */
  .topbar{min-height:0;padding:8px 12px}
  .topbar>div:first-child{display:none}
  .top-actions{flex:1 1 auto;width:auto;justify-content:flex-end}
  .topbar{align-items:flex-start}
  .top-admin-actions{justify-content:flex-end}
  .top-admin-actions{flex:1 1 auto;width:auto;max-width:100%;overflow:visible;display:flex;flex-wrap:wrap;white-space:normal}
  .top-admin-actions .btn{flex:0 1 calc(50% - 5px);min-width:0;white-space:normal;text-align:center;line-height:1.2}
  .gps-directory{width:100%;min-width:0;table-layout:auto;white-space:normal}
  .gps-directory thead{display:none}
  .gps-directory tbody{display:block;width:100%}
  .gps-directory tr.directory-row{display:block;width:100%;min-width:0;border:1px solid #e8edf0;border-radius:13px;margin:0 0 11px;overflow:hidden;box-shadow:0 4px 12px #17212b08}
  .gps-directory tr.directory-row td,
  .gps-directory tr.directory-row td:not(:first-child){display:flex;align-items:flex-start;gap:10px;width:100%;min-width:0;padding:10px 13px;white-space:normal;border:0}
  .gps-directory tr.directory-row td:first-child{padding-top:13px}
  .gps-directory tr.directory-row td:not(:first-child)::before{content:attr(data-label);display:block;flex:0 0 74px;color:#9aa3aa;font-size:9px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
  .gps-directory tr.directory-row td[data-label="Podium"]{display:block!important;padding-top:8px}
  .gps-directory tr.directory-row td[data-label="Podium"]::before{display:block;margin:0 0 8px}
  .gps-directory .season-podium{display:flex;flex-direction:column;gap:7px;width:100%;min-width:0}
  .gps-directory .podium-person{display:grid;grid-template-columns:24px 30px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-width:0;white-space:normal}
  .gps-directory .podium-person .podium-rank{grid-column:1;grid-row:1/3}
  .gps-directory .podium-person .pilot-avatar{grid-column:2;grid-row:1/3;width:30px;height:30px}
  .gps-directory .podium-person b{grid-column:3;grid-row:1;white-space:normal;overflow-wrap:anywhere;font-size:10px;line-height:1.2}
  .gps-directory .podium-person small{grid-column:4;grid-row:1/3;justify-self:end;margin:0;font-size:9px}
}

/* Shared form polish */
.entity-editor{padding:clamp(20px,3vw,34px)}
.entity-editor .form-grid{gap:20px 22px}
.entity-editor .field{gap:8px}
.entity-editor .field[hidden]{display:none!important}
.deceased-toggle{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:18px;padding:14px 16px;border:1px solid var(--line);border-radius:9px;background:#fafbfc}
.deceased-toggle-control{display:flex;align-items:center;gap:9px;color:#35414b;font-size:13px;font-weight:700;cursor:pointer}
.deceased-toggle-control input{width:17px;height:17px;min-height:17px;accent-color:var(--red)}
.deceased-toggle>small{margin-left:auto;color:#89949d;font-size:11px;line-height:1.45;text-align:right}
.entity-editor .field-label{display:block;color:#47535e;font-size:12px;font-weight:700}
.entity-editor .required-mark{color:var(--red);font-style:normal;margin-left:4px}
.entity-editor .field input,.entity-editor .field select,.entity-editor .field textarea{min-height:44px;border-radius:8px;padding:11px 13px;font-size:13px}
.entity-editor .field textarea{min-height:104px;line-height:1.55}
.rich-text-source{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.rich-text-editor{width:100%;min-width:0;overflow:hidden;border:1px solid var(--line,#e3e9ed);border-radius:9px;background:#fff;transition:border-color .18s,box-shadow .18s}
.rich-text-editor:focus-within{border-color:#c5cfd6;box-shadow:0 0 0 3px #eaf0f3}
.rich-text-toolbar{min-height:42px;display:flex;align-items:center;gap:6px;padding:5px 8px;border-bottom:1px solid #edf0f2;background:#fafbfc}
.rich-text-tool,.rich-text-color{width:30px;height:30px;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#63717b;cursor:pointer}
.rich-text-tool:hover,.rich-text-color:hover{background:#fff;border-color:#e2e8ec;color:#17212b}
.rich-text-letter{display:block;color:currentColor;font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:1}
.rich-text-bold-mark{font-weight:800;letter-spacing:-.04em}
.rich-text-italic-mark{font-weight:500;font-style:italic}
.rich-text-underline-mark{font-weight:500;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.rich-text-color{position:relative;font-weight:800;font-size:15px;text-decoration:underline;text-decoration-color:#e10600;text-decoration-thickness:2px}
.rich-text-color input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;border:0!important;opacity:0;cursor:pointer}
.rich-text-surface{min-height:112px;padding:11px 13px;color:#35414b;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;outline:0;cursor:text;user-select:text;-webkit-user-select:text}
.rich-text-surface:empty::before{content:'Écrire ici…';color:#a3adb5;pointer-events:none}
.rich-text-surface[data-invalid="true"]{background:#fff7f6}
.rich-text-output{color:inherit;line-height:1.7;overflow-wrap:anywhere}
.rich-text-output p{margin:0 0 .8em}
.rich-text-output p:last-child{margin-bottom:0}
.rich-text-output ul,.rich-text-output ol{margin:.35em 0;padding-left:1.5em}
.gp-comment-disclosure .rich-text-output{margin-top:8px}
.entity-editor .field-help,.entity-upload-note{display:block;color:#89949d;font-size:11px;font-weight:400;line-height:1.45}
.image-upload-row{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fafbfc}
.image-preview{width:72px;height:72px;flex:0 0 72px;display:grid;place-items:center;overflow:hidden;border:1px solid #e4e9ed;border-radius:14px;background:#fff}
.image-preview-pilot{overflow:hidden;border:0;border-radius:50%;background:transparent}
.image-preview.image-preview-pilot{aspect-ratio:1/1;min-width:72px}
.image-preview .entity-image,.image-preview .entity-placeholder{width:100%;height:100%;flex-basis:100%;border-radius:0;object-fit:contain}
.image-preview .entity-placeholder .ui-icon{width:28px;height:28px}
.image-preview .pilot-avatar{width:100%;height:100%;margin:0;border:0;border-radius:50%;object-fit:cover}
.image-preview.image-preview-pilot img.pilot-avatar{display:block!important;width:100%!important;height:100%!important;min-width:100%;max-width:none;aspect-ratio:1/1;flex:none;object-fit:cover!important;border-radius:50%!important}
.image-upload-control{min-width:0;display:grid;gap:7px;flex:1}
.image-file-input{position:absolute;width:1px;height:1px;padding:0!important;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.entity-editor .field .image-file-input{min-height:0}
.image-picker{width:max-content;max-width:100%;min-height:38px;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#35414b;font-size:12px;font-weight:700;cursor:pointer;transition:border-color .15s,background .15s}
.image-picker:hover{border-color:#c7d0d7;background:#f5f7f8}
.image-picker .ui-icon{width:16px;height:16px;color:#82909a}
.image-file-input:focus-visible+.image-picker{outline:3px solid #e8b6b2;outline-offset:2px}
.image-file-name{min-width:0;overflow:hidden;color:#65727d;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.image-upload-control small{display:block;color:#89949d;font-size:11px;font-weight:400;line-height:1.45}
.image-upload-control .image-upload-error{color:#b42318;font-weight:600}
.country-select-control{display:flex;align-items:center;gap:9px;min-height:44px;padding:0 8px 0 12px;border:1px solid #e4e8eb;border-radius:8px;background:#fff;transition:border-color .15s,box-shadow .15s}
.country-select-control:focus-within{border-color:#e68b88;box-shadow:0 0 0 3px #fff0ef}
.country-select-control select{flex:1;min-width:0;width:100%;min-height:42px!important;padding:10px 8px 10px 0!important;border:0!important;border-radius:7px!important;background:transparent;box-shadow:none!important}
.country-select-flag{flex:0 0 26px;width:26px;height:20px;display:grid;place-items:center;pointer-events:none}
.country-select-flag .country-flag{width:26px;height:18px;object-fit:cover;border:1px solid #e6eaed;border-radius:3px}
.country-flag-empty{width:24px;height:17px;display:block;border:1px solid #dfe5e9;border-radius:3px;background:linear-gradient(135deg,#f3f5f6 0 48%,#e5eaed 49% 52%,#f3f5f6 53%)}
.country-select-control.flag-select-enhanced{position:relative;display:block;min-height:0;padding:0;border:0;background:transparent;box-shadow:none}
.country-select-control.flag-select-enhanced:focus-within{border:0;box-shadow:none}
.flag-select-trigger{width:100%;min-height:44px;display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid #e4e8eb;border-radius:8px;background:#fff;color:#35414b;text-align:left;font:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.flag-select-trigger:hover{border-color:#c7d0d7}
.flag-select-trigger:focus-visible{outline:0;border-color:#e68b88;box-shadow:0 0 0 3px #fff0ef}
.flag-select-enhanced.is-invalid .flag-select-trigger{border-color:#df6d68;box-shadow:0 0 0 3px #fff0ef}
.flag-select-current-flag{width:26px;height:20px;flex:0 0 26px;display:grid;place-items:center}
.flag-select-current-flag .country-flag{width:26px;height:18px;margin-right:0;object-fit:cover;border:1px solid #e6eaed;border-radius:3px}
.flag-select-label{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.flag-select-chevron{width:16px;height:16px;flex:0 0 16px;color:#64727c}
.flag-select-chevron svg{display:block;width:100%;height:100%}
.flag-select-menu{position:absolute;z-index:40;top:calc(100% + 6px);left:0;right:0;max-height:280px;overflow:auto;padding:5px;border:1px solid #e2e7eb;border-radius:10px;background:#fff;box-shadow:0 14px 36px #1b27321f}
.flag-select-menu[hidden]{display:none}
.flag-select-option{width:100%;min-height:38px;display:flex;align-items:center;gap:10px;padding:7px 9px;border:0;border-radius:7px;background:transparent;color:#35414b;text-align:left;font:inherit;cursor:pointer}
.flag-select-option:hover,.flag-select-option:focus-visible{outline:0;background:#f3f5f6}
.flag-select-option[aria-selected="true"]{background:#fff0ef;color:#b8201d;font-weight:700}
.flag-select-option .country-flag{width:25px;height:18px;flex:0 0 25px;margin-right:0;object-fit:cover;border:1px solid #e6eaed;border-radius:3px}
.flag-select-option .country-flag-empty{width:25px;height:18px;flex:0 0 25px}
.flag-select-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;opacity:0!important;pointer-events:none!important}
.flag-select-error{display:block;margin:6px 2px 0;color:#bb2925;font-size:12px}
.flag-select-error[hidden]{display:none}
.roster-form{padding:24px}
.roster-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px}
.roster-toolbar h2{margin:0 0 5px;font:600 17px 'Space Grotesk',sans-serif}
.roster-toolbar p,.legacy-roster>p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.roster-toolbar .inline-search{width:min(340px,100%);flex:0 1 340px}
.roster-transfer-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.season-roster-group{min-width:0;padding:16px;border:1px solid var(--line);border-radius:11px;background:#fafbfc}
.season-roster-group.is-participating{border-color:#f1d5d3;background:#fffdfd}
.season-roster-group>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.season-roster-group>header h3{margin:0 0 4px;font:600 14px 'Space Grotesk',sans-serif}
.season-roster-group>header small{color:var(--muted);font-size:11px}
.roster-count{min-width:30px;height:30px;padding:0 8px;display:grid;place-items:center;border-radius:99px;background:#eef1f3;color:#53616c;font-size:12px;font-weight:700}
.is-participating .roster-count{background:#fff0ef;color:var(--red)}
.roster-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.season-roster-group .roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.roster-grid label{min-height:58px;padding:10px 12px;background:#fff;border-radius:9px;transition:border-color .15s,background .15s}
.roster-grid label:hover{border-color:#cbd4da;background:#fafbfc}
.roster-grid label:has(input:checked){border-color:#f3c9c6;background:#fff9f8}
.roster-grid input[type=checkbox]{accent-color:var(--red);width:16px;height:16px;flex:0 0 auto}
.roster-grid .check-person{min-width:0;gap:10px;font-size:12px;font-weight:600}
.roster-grid .check-person .pilot-avatar{width:34px;height:34px}
.roster-grid .check-person small{display:block;margin:3px 0 0;color:#919ba3;font-size:10px;font-weight:400}
.roster-empty{margin:0;padding:16px;border:1px dashed #dce2e6;border-radius:9px;color:#89949d;font-size:12px;text-align:center}
.legacy-roster{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.legacy-roster h3{margin:0 0 5px;font:600 14px 'Space Grotesk',sans-serif}
.legacy-roster>p{margin-bottom:14px}
.roster-form .form-actions{align-items:center;padding-top:16px;border-top:1px solid var(--line)}
.roster-form .form-actions .help{margin:0 auto 0 0}
@media(max-width:900px){.roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.roster-transfer-columns{grid-template-columns:1fr}}
@media(max-width:600px){.entity-editor{padding:18px}.entity-editor .form-grid{gap:16px}.roster-form{padding:17px}.roster-toolbar{align-items:stretch;flex-direction:column}.roster-toolbar .inline-search{width:100%;flex-basis:auto}.roster-grid{grid-template-columns:1fr}.roster-form .form-actions{align-items:stretch;flex-direction:column}.roster-form .form-actions .help{margin:0}.image-upload-row{align-items:flex-start}.image-preview{width:54px;height:54px;flex-basis:54px}.image-preview.image-preview-pilot{width:54px;height:54px;min-width:54px;flex-basis:54px}}
@media(max-width:600px){.season-roster-group .roster-grid{grid-template-columns:1fr}}
@media(max-width:600px){.deceased-toggle{align-items:flex-start;flex-direction:column;gap:8px}.deceased-toggle>small{margin-left:26px;text-align:left}}
.flash-message{position:relative;display:flex;align-items:center;gap:13px;min-height:64px;padding:12px 18px;margin:0 0 18px;overflow:hidden;border:1px solid #dcebe4;border-radius:12px;background:linear-gradient(105deg,#fff 0%,#fbfefc 100%);box-shadow:0 8px 24px rgba(25,39,52,.045)}.flash-message:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#25a477}.flash-message-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:11px;background:#e9f7f0;color:#19825c}.flash-message-icon svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.flash-message-copy{display:grid;gap:3px;min-width:0}.flash-message-copy strong{color:#1d2b30;font-size:13px;font-weight:750;letter-spacing:-.01em}.flash-message-copy>span{color:#75827f;font-size:11px;line-height:1.4}.flash-message-mark{margin-left:auto;width:25px;height:25px;flex:0 0 25px;display:grid;place-items:center;border:1px solid #dcebe4;border-radius:50%;color:#20845f;font-size:12px;font-weight:800}.flash-message.is-error{border-color:#f3d9d6;background:linear-gradient(105deg,#fff 0%,#fffafa 100%)}.flash-message.is-error:before{background:#d9463f}.flash-message.is-error .flash-message-icon{background:#fff0ee;color:#c53d35}.flash-message.is-error .flash-message-mark{border-color:#f3d9d6;color:#c53d35}

/* Export and backup overview */
.export-page{display:grid;gap:20px;min-width:0}
.export-button-spinner{width:15px;height:15px;flex:0 0 15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:export-spin .7s linear infinite}
.export-stats-spinner{display:inline-block;width:13px;height:13px;margin-right:6px;vertical-align:-2px;border:2px solid #9aa6ae;border-right-color:transparent;border-radius:50%;animation:export-spin .7s linear infinite}
.export-option .btn[aria-busy="true"]{display:inline-flex;align-items:center;justify-content:center;gap:9px;opacity:.82;cursor:wait}
.export-option .btn:disabled{pointer-events:none}
.export-ready-check{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:rgba(255,255,255,.2);font-size:12px;line-height:1}
@keyframes export-spin{to{transform:rotate(360deg)}}
.export-page>.page-intro{margin-bottom:0}
.export-last-backup{display:flex;align-items:center;gap:14px;min-width:0;padding:16px 18px;border:1px solid #dfe8e4;border-radius:12px;background:linear-gradient(110deg,#fff 0%,#f7fbf9 100%)}
.export-last-icon,.export-change-icon,.export-option-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:12px;background:#f1f4f5;color:#65747e}
.export-last-icon svg,.export-change-icon svg,.export-option-icon svg{width:20px;height:20px}
.export-last-backup>div{display:grid;gap:4px;min-width:0}
.export-last-backup small,.export-change-card small{color:#89949d;font-size:10px;font-weight:800;letter-spacing:.12em}
.export-last-backup strong{color:#27343e;font-size:14px}
.export-local-note{margin-left:auto;color:#84919a;font-size:11px;text-align:right}
.export-change-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.export-change-card{display:flex;align-items:center;gap:13px;min-width:0;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}
.export-change-card>div{display:grid;gap:4px;min-width:0}
.export-change-card strong{color:#293640;font-size:14px;line-height:1.4}
.export-change-card p{margin:0;color:#84919a;font-size:11px;line-height:1.45}
.export-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.export-option{display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-width:0;padding:20px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 5px 18px rgba(25,39,52,.025)}
.export-option-primary{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:16px;border-color:#f0d3d1;background:linear-gradient(110deg,#fff 0%,#fffafa 100%)}
.export-option-primary .export-option-icon{background:#fff0ef;color:#d9231e}
.export-option-copy{min-width:0}
.export-option-copy h3{margin:0 0 6px;color:#26333d;font:600 16px 'Space Grotesk',sans-serif}
.export-option-copy p{margin:0;color:#687680;font-size:12px;line-height:1.55}
.export-option-copy ul{display:flex;flex-wrap:wrap;gap:6px 18px;margin:12px 0 0;padding:0;list-style:none;color:#64727c;font-size:11px}
.export-option-copy li:before{content:'✓';margin-right:6px;color:#21835d;font-weight:800}
.export-option form{width:100%;margin-top:auto}
.export-option-primary form{width:auto;align-self:center;margin:0}
.export-option .btn{white-space:nowrap}
.export-footnote{margin:0;color:#85919a;font-size:11px;line-height:1.5}
@media(max-width:900px){.export-option-primary{grid-template-columns:auto minmax(0,1fr)}.export-option-primary form{grid-column:2;justify-self:start}}
@media(max-width:700px){.export-change-grid,.export-options{grid-template-columns:1fr}.export-option-primary{grid-column:auto}.export-last-backup{align-items:flex-start;flex-wrap:wrap}.export-local-note{width:100%;margin:0;text-align:left}}
@media(max-width:520px){.export-option-primary{display:flex}.export-option-primary form{width:100%}.export-option .btn{width:100%;white-space:normal}.export-change-card{align-items:flex-start}.export-page{gap:14px}}

/* Review and manually repair suspiciously encoded text, one value at a time. */
.encoding-review-page{display:grid;gap:18px;min-width:0}
.encoding-review-page .page-intro{margin-bottom:0}
.encoding-review-progress{display:grid;grid-template-columns:auto minmax(80px,1fr) auto;align-items:center;gap:18px;padding:16px 20px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(28,42,54,.035)}
.encoding-review-progress>div:first-child{display:grid;gap:3px}
.encoding-review-progress strong{color:#26333d;font-size:20px;line-height:1}
.encoding-review-progress strong span{color:#9aa5ad;font-size:14px;font-weight:600}
.encoding-review-progress small{color:#8e9aa3;font-size:9px;font-weight:800;letter-spacing:.12em}
.encoding-review-progress-track{height:8px;overflow:hidden;border-radius:99px;background:#edf1f3}
.encoding-review-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ef211b,#ff746f);transition:width .2s ease}
.encoding-review-progress>a{color:#d91f1a;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap}
.encoding-review-progress>a[aria-disabled="true"]{opacity:.42;pointer-events:none}
.encoding-review-card,.encoding-review-empty{min-width:0;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(28,42,54,.045)}
.encoding-review-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:17px;border-bottom:1px solid var(--line)}
.encoding-review-card-head .eyebrow{display:block;margin-bottom:5px}
.encoding-review-card-head h2{margin:0;color:#26333d;font:650 19px 'Space Grotesk',sans-serif;overflow-wrap:anywhere}
.encoding-review-card-head h2 span{color:#aab4bb;font-weight:400}
.encoding-review-record{max-width:48%;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:#f8fafb;color:#71808a;font-size:10px;font-weight:700;line-height:1.4;text-align:right}
.encoding-review-original{display:grid;gap:8px;margin:18px 0}
.encoding-review-original>span,.encoding-review-form .field>span{color:#53616b;font-size:12px;font-weight:750}
.encoding-review-original pre{max-height:200px;overflow:auto;margin:0;padding:14px 16px;border:1px solid #f0d9d7;border-radius:10px;background:#fffafa;color:#53413f;font:13px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.encoding-review-form{display:grid;gap:16px}
.encoding-review-form .field{display:grid;gap:8px}
.encoding-review-form textarea{min-height:140px;resize:vertical;font-family:inherit;line-height:1.6}
.encoding-review-form .field small{color:#87939c;font-size:11px;line-height:1.5}
.encoding-review-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:4px}
.encoding-review-stale{display:grid;justify-items:start;gap:10px;padding:18px;margin-top:18px;border:1px solid #f0d5b9;border-radius:12px;background:#fffaf4;color:#77552e}
.encoding-review-stale span{font-size:12px;line-height:1.5}
.encoding-review-empty{display:grid;justify-items:center;gap:8px;padding:48px 22px;text-align:center}
.encoding-review-empty-icon{display:grid;width:48px;height:48px;place-items:center;border-radius:14px;background:#f1f4f6;color:#7f8d97}
.encoding-review-empty-icon svg{width:22px;height:22px}
.encoding-review-empty h2{margin:4px 0 0;color:#26333d;font:650 20px 'Space Grotesk',sans-serif}
.encoding-review-empty p{max-width:440px;margin:0;color:#7e8b94;font-size:12px;line-height:1.6}
@media(max-width:650px){.encoding-review-progress{grid-template-columns:1fr auto;gap:12px}.encoding-review-progress-track{grid-column:1/-1;grid-row:2}.encoding-review-card,.encoding-review-empty{padding:16px}.encoding-review-card-head{display:grid}.encoding-review-record{max-width:none;text-align:left}.encoding-review-actions{align-items:stretch;flex-direction:column-reverse}.encoding-review-actions .btn{width:100%;justify-content:center}.encoding-review-page .page-heading{align-items:flex-start;flex-direction:column}.encoding-review-page .page-heading>.btn{width:100%;justify-content:center}}
@media(min-width:761px){.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#3d4852 transparent}.sidebar::-webkit-scrollbar{width:7px}.sidebar::-webkit-scrollbar-thumb{border-radius:999px;background:#3d4852}.sidebar::-webkit-scrollbar-track{background:transparent}.sidebar>.brand,.sidebar>.nav-label,.sidebar>.nav,.sidebar>.nav-form,.sidebar>.side-bottom{flex-shrink:0}}
.gps-directory .season-podium{min-width:0;gap:5px}
.gps-directory .podium-person{display:grid;grid-template-columns:30px 34px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;width:100%;min-height:37px;padding:3px 8px;border-radius:11px;box-sizing:border-box;white-space:nowrap}
.gps-directory .podium-season-rank-1{min-height:43px;border:1px solid #f5e7c5;background:linear-gradient(100deg,#fff8e8,#fffdf8)}
.gps-directory .podium-season-rank-1 .pilot-avatar{width:34px;height:34px}
.gps-directory .podium-person b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gps-directory .podium-person small{margin-left:auto;white-space:nowrap}
@media(max-width:760px){.gps-directory .podium-person{display:grid;grid-template-columns:24px 30px minmax(0,1fr) auto;gap:7px;padding:3px 0}.gps-directory .podium-person .rank-medal{width:24px;height:24px;line-height:24px}.gps-directory .podium-person .pilot-avatar{width:30px;height:30px}.gps-directory .podium-season-rank-1 .pilot-avatar{width:34px;height:34px}.gps-directory .podium-person small{margin-left:0}}
.roster-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}
@media(max-width:760px){.roster-heading-actions{width:100%;justify-content:flex-start}.roster-heading-actions .btn{flex:1 1 auto;justify-content:center;white-space:normal;text-align:center}}

/* Directory lists become compact, readable cards on phone-sized screens. */
@media(max-width:760px){
  .directory-table{display:block;width:100%;min-width:0;table-layout:auto;border-spacing:0;white-space:normal}
  .directory-table thead{display:none}
  .directory-table tbody{display:grid;width:100%;gap:10px}
  .directory-table tr.directory-row,
  .directory-table.gps-directory tr.directory-row{display:grid;width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0;padding:10px;border:1px solid #e5eaee;border-radius:15px;background:#fff;box-shadow:0 4px 13px #17212b08;overflow:hidden}
  .directory-table tr.directory-row td,
  .directory-table tr.directory-row td:not(:first-child),
  .directory-table.gps-directory tr.directory-row td,
  .directory-table.gps-directory tr.directory-row td:not(:first-child){display:grid;align-content:start;justify-items:start;gap:4px;width:auto;min-width:0;padding:8px 10px;border:0;border-radius:9px;background:#f7f9fa;color:#586670;font-size:11px;line-height:1.35;white-space:normal;box-sizing:border-box}
  .directory-table tr.directory-row td:not(:first-child)::before{display:block;content:attr(data-label);flex:none;color:#98a3ab;font-size:8px;font-weight:800;letter-spacing:.07em;line-height:1.2;text-transform:uppercase}
  .directory-table tr.directory-row td:first-child{grid-column:1/-1;display:flex;align-items:center;min-height:43px;padding:5px 6px 10px;border-radius:0;border-bottom:1px solid #edf0f2;background:#fff}
  .directory-table tr.directory-row td:first-child::before{display:none}
  .directory-table tr.directory-row .entity-name{min-height:0;gap:11px}
  .directory-table .entity-name b{font-size:13px;line-height:1.25}
  .directory-table .pilot-avatar{width:38px;height:38px}
  .directory-table .entity-name small{margin-top:3px;font-size:9px}
  .directory-table tr.directory-row td[data-label="Podium"],
  .directory-table tr.directory-row td[data-label="Podium de la saison"]{grid-column:1/-1;display:grid!important;gap:7px;padding:9px 8px 7px;background:#fff}
  .directory-table tr.directory-row td[data-label="Podium"]::before,
  .directory-table tr.directory-row td[data-label="Podium de la saison"]::before{display:block;margin:0}
  .directory-table .season-podium{display:grid;gap:4px;width:100%;min-width:0}
  .directory-table .podium-person{display:grid;grid-template-columns:23px 29px minmax(0,1fr) auto;align-items:center;gap:7px;width:100%;min-width:0;padding:4px 6px;border:0;border-radius:9px;background:#f8fafb;white-space:normal;box-sizing:border-box}
  .directory-table .podium-person .rank-medal{grid-column:1;grid-row:1;width:23px;height:23px;line-height:23px;font-size:9px}
  .directory-table .podium-person .pilot-avatar{grid-column:2;grid-row:1;width:29px;height:29px}
  .directory-table .podium-person b{grid-column:3;grid-row:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
  .directory-table .podium-person small{grid-column:4;grid-row:1;justify-self:end;margin:0;font-size:9px;white-space:nowrap}
  .directory-table .podium-season-rank-1{border:1px solid #f3e4c2;background:linear-gradient(100deg,#fff8e8,#fffdf8)}
  .directory-table .season-stat{display:flex;align-items:baseline;gap:7px;min-height:0;padding:0;border:0;background:transparent}
  .directory-table .season-stat b{font-size:16px;line-height:1.1}
  .directory-table .season-stat small{font-size:8px}
  .directory-table .season-period{display:flex;align-items:center;flex-wrap:wrap;gap:4px 9px;font-size:10px}
  .directory-table .season-period>span{display:inline-flex;gap:4px;white-space:nowrap}
  .directory-table .season-period i{font-size:9px}
  .directory-table .season-live-tag{padding:4px 7px;font-size:8px}
  .directory-table.gps-directory tr.directory-row td[data-label="Podium"]{display:grid!important;padding-top:9px}
  .directory-table.gps-directory .podium-person{grid-template-columns:23px 29px minmax(0,1fr) auto;gap:7px;padding:4px 6px}
  .directory-table .metric-pill{margin:0;padding:4px 7px;font-size:9px}
}

/* Classification form: grouped result entry and searchable team/car fields. */
.driver-fields{display:grid;gap:13px;padding:16px}
.driver-card{overflow:visible}
.result-section{min-width:0;padding:14px 15px;border:1px solid #edf0f2;border-radius:9px;background:#fbfcfd}
.result-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px}
.result-section-heading b{color:#34414b;font:650 12px 'Space Grotesk',sans-serif}
.result-section-heading small{color:#98a2aa;font-size:10px}
.result-section .result-grid{padding:0;gap:10px}
.result-practice-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.result-practice-session{display:grid;align-content:start;gap:10px;min-width:0;padding:13px;border:1px solid #e9edf0;border-radius:8px;background:#fff}
.result-practice-session>b{color:#34414b;font:650 11px 'Space Grotesk',sans-serif}
.result-grid-race{grid-template-columns:repeat(4,minmax(0,1fr))}
.result-grid-team{grid-template-columns:repeat(2,minmax(0,1fr))}
.result-best-lap{width:100%;min-width:0;min-height:42px;align-self:end;gap:9px;padding:10px 11px;border:1px solid #e4e8eb;border-radius:5px;background:#fff;color:#69747c}
.result-grid-race .result-best-lap>input{width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:var(--red)}
.field-prefill-note{display:block;color:#74818a!important;font-size:9px!important;line-height:1.4}
.deceased-field[hidden]{display:none!important}
.result-comment-field textarea{min-height:76px}
.searchable-select-control{position:relative;min-width:0}
.searchable-select-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;opacity:0!important;pointer-events:none!important}
.searchable-select-input{width:100%;min-height:42px;padding:10px 36px 10px 11px!important;border:1px solid #e4e8eb!important;border-radius:7px!important;background:#fff!important;color:#29343d!important;font:11px 'DM Sans',sans-serif!important;outline:none}
.searchable-select-input:focus{border-color:#e68b88!important;box-shadow:0 0 0 3px #fff0ef!important}
.searchable-select-clear{position:absolute;top:50%;right:8px;transform:translateY(-50%);width:25px;height:25px;padding:0;border:0;border-radius:50%;background:#f1f3f4;color:#74818a;font-size:18px;line-height:1;cursor:pointer}
.searchable-select-clear[hidden]{display:none}
.searchable-select-menu{position:absolute;z-index:60;top:calc(100% + 5px);left:0;right:0;max-height:230px;overflow:auto;padding:5px;border:1px solid #e1e6e9;border-radius:9px;background:#fff;box-shadow:0 12px 28px #17212b24}
.searchable-select-menu[hidden]{display:none}
.searchable-select-option{display:block;width:100%;min-height:36px;padding:8px 10px;border:0;border-radius:6px;background:#fff;color:#394650;text-align:left;font:11px 'DM Sans',sans-serif;cursor:pointer}
.searchable-select-option:hover,.searchable-select-option.is-active{background:#f4f6f7;color:#17212b}
.searchable-select-option[aria-selected="true"]{background:#fff0ef;color:#bb201b;font-weight:700}
.searchable-select-empty{display:block;padding:9px 10px;color:#87929b;font-size:10px;line-height:1.4}
@media(max-width:1050px){.result-grid-race{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.driver-fields{padding:12px}.result-section{padding:12px}.result-section-heading{align-items:flex-start;flex-direction:column;gap:3px}.result-practice-columns{grid-template-columns:1fr;gap:8px}.result-practice-session{grid-template-columns:minmax(74px,.45fr) repeat(2,minmax(0,1fr));align-items:end}.result-grid-race{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.result-grid-team{grid-template-columns:1fr}.result-section .field input{min-width:0}.result-practice-session{grid-template-columns:1fr 1fr}.result-practice-session>b{grid-column:1/-1}.result-grid-race{gap:9px 7px}}

/* Écurie associée à chaque pilote dans les podiums des listes. */
.podium-person-copy{display:grid;gap:2px;min-width:0}
.podium-person-copy b{min-width:0}
.podium-person-copy .podium-team{margin:0;color:#89949c;font-size:8px;font-weight:600;line-height:1.2;letter-spacing:.02em;white-space:normal;text-transform:uppercase}

/* Brand artwork replaces the former standalone F1 mark in both nav bars. */
.brand{gap:0;padding-left:2px}
.brand img.brand-logo{display:block;width:min(205px,100%);height:auto;max-height:62px;object-fit:contain;filter:none}
@media(max-width:760px){.mobile-brand{max-width:calc(100vw - 90px);gap:0}.mobile-brand img.mobile-brand-logo{display:block;width:min(210px,calc(100vw - 110px));height:auto;max-height:54px;object-fit:contain;filter:none}}

.result-no-start{width:100%;min-width:0;min-height:42px;align-self:end;gap:9px;padding:10px 11px;border:1px solid #f2d9d6;border-radius:5px;background:#fff9f8;color:#a94b43}
.result-grid-race .result-no-start>input{width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:var(--red)}
.season-forced-points{margin-top:24px;padding:20px;border:1px solid #e7ecef;border-radius:10px;background:#f8fafb}
.season-forced-points-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}
.season-forced-points-heading h2{margin:0 0 5px;color:#26333c;font:650 16px 'Space Grotesk',sans-serif}
.season-forced-points-heading p{max-width:700px;margin:0;color:#7f8b94;font-size:11px;line-height:1.55}
.season-forced-points-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.season-forced-points-row{display:grid;grid-template-columns:30px minmax(0,1fr) minmax(115px,155px);align-items:center;gap:10px;min-width:0;padding:10px 12px;border:1px solid #e9edf0;border-radius:8px;background:#fff}
.season-forced-points-row .pilot-avatar{width:30px;height:30px}
.season-forced-points-name{display:grid;gap:3px;min-width:0}
.season-forced-points-name b{overflow:hidden;color:#2d3942;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.season-forced-points-name small{margin:0;color:#8a959d;font-size:9px}
.season-forced-points-input{display:grid;gap:4px}
.season-forced-points-input>span{color:#7c8891;font-size:9px;font-weight:700}
.season-forced-points-input input{width:100%;min-width:0;padding:8px 9px;border:1px solid #e2e7ea;border-radius:6px;background:#fbfcfc;color:#29343d;font:11px 'DM Sans',sans-serif}
.season-forced-points-input input:focus{outline:0;border-color:#e68b88;box-shadow:0 0 0 3px #fff0ef}
.season-forced-points-input input::placeholder{color:#a4adb4}
.season-forced-points-empty{margin:0;padding:12px;border-radius:7px;background:#fff;color:#858f97;font-size:11px}
@media(max-width:760px){.season-forced-points{padding:15px}.season-forced-points-list{grid-template-columns:1fr}}
@media(max-width:440px){.season-forced-points-row{grid-template-columns:30px minmax(0,1fr) 105px;gap:8px;padding:9px}.season-forced-points-heading{gap:9px}.season-forced-points-heading p{font-size:10px}}
