/* Page-like rider and team sections, using the server panel's flat palette. */
.identity-page{min-width:0}.identity-page [hidden]{display:none!important}
.identity-page-kicker{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px;font-size:12px}
.identity-page-kicker .eyebrow{margin:0}.identity-page .profile-shell{margin-bottom:0}
.identity-page-tabs{display:flex;gap:0;overflow-x:auto;white-space:nowrap;border:1px solid #383838;border-top:0;background:#171717;margin-bottom:24px}
.identity-page-tabs{flex-wrap:wrap;overflow:visible;white-space:normal}.identity-page-tabs>button,.identity-page-tabs>.identity-message-tab{flex:1 0 auto;min-height:48px;text-align:center}
.identity-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}.identity-quick-actions>button{min-width:0;padding:15px 18px;text-align:left;border:1px solid #383838;border-left:3px solid #0092ff;background:#171717;border-radius:0}.identity-quick-actions strong{display:block;font-size:14px;color:#fff}.identity-quick-actions span{display:block;margin-top:6px;font-size:12px;font-weight:400;color:#a4b0bd;line-height:1.5}.identity-quick-actions>button:hover{background:#1d2530;border-color:#0092ff}
.identity-disclosure{margin-top:18px;padding:14px 0 0;border-top:1px solid #383838}.identity-disclosure>summary{cursor:pointer;color:#c9d7e5;font-size:13px;font-weight:600;line-height:1.5}.identity-disclosure[open]>summary{margin-bottom:16px}.identity-disclosure summary:focus-visible{outline:2px solid #0092ff;outline-offset:4px}
.identity-team-settings>.primary{margin-top:20px}.identity-team-settings .row>*{min-width:0}.identity-team-images{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.identity-team-images>div{min-width:0}.identity-team-images h3{font-size:14px;margin:0 0 14px}.identity-team-images>div+div{border-left:1px solid #383838;padding-left:24px}.identity-danger{padding:16px 20px;border:1px solid #383838;background:#151515}.identity-danger>summary{color:#a4b0bd}
.identity-rider-actions{min-width:130px}.identity-rider-actions>summary{cursor:pointer;padding:9px 12px;font-size:12px;color:#cbd9e7;border:1px solid #414141;list-style:none}.identity-rider-actions>summary:after{content:'⌄';margin-left:10px;color:#0092ff}.identity-rider-actions>summary::-webkit-details-marker{display:none}.identity-rider-actions>div{display:grid;gap:6px;margin-top:6px}.identity-rider-actions button{font-size:12px;padding:9px 10px;white-space:normal}
.identity-roster-table{width:100%;table-layout:fixed}.identity-roster-table th:first-child{width:50%}.identity-roster-table td{vertical-align:top;white-space:normal;padding:15px 12px}.identity-roster-rider{overflow-wrap:anywhere}.identity-roster-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 0 44px;font-size:11px;color:#a4b0bd}.identity-roster-meta .chip{font-size:10px}.identity-roster-table .identity-rider-actions{min-width:0}.identity-roster-table .identity-rider-actions>summary{padding:8px 6px;white-space:nowrap}.identity-roster-table .identity-rider-actions>summary:after{margin-left:6px}
@media(max-width:650px){.identity-page-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.identity-page-tabs>button,.identity-page-tabs>.identity-message-tab{min-width:0;padding:14px 8px;font-size:12px}.identity-page-tabs>.profile-tour-button{grid-column:1/-1}.identity-quick-actions{gap:8px;margin-bottom:18px}.identity-quick-actions>button{padding:12px 10px}.identity-quick-actions strong{font-size:13px}.identity-quick-actions span{font-size:11px}.identity-team-images{grid-template-columns:minmax(0,1fr);gap:20px}.identity-team-images>div+div{padding:20px 0 0;border-left:0;border-top:1px solid #383838}.identity-team-settings .row{flex-wrap:wrap}.identity-team-settings .row>*{flex-basis:100%}}
@media(max-width:650px){[data-identity-page^="team:"] .identity-page-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.identity-roster-table{min-width:0}.identity-roster-table th,.identity-roster-table td{padding:12px 7px;font-size:11px}.identity-roster-table .identity-roster-rider{gap:7px}.identity-roster-table .avatar{width:28px;height:28px;min-width:28px}.identity-roster-meta{margin-left:0;gap:5px;font-size:10px}.identity-roster-table .chip{font-size:10px;padding:4px 5px}.identity-roster-table th:first-child{width:44%}.identity-roster-table .identity-rider-actions>summary{font-size:10px;padding:7px 4px}.identity-roster-table .identity-rider-actions>summary:after{display:none}.identity-roster-table .identity-rider-actions button{font-size:10px;padding:8px 4px}}
.identity-page-tabs>button,.identity-page-tabs>.identity-message-tab{flex:0 0 auto;position:relative;border:0;border-radius:0;background:transparent;color:#a4b0bd;font-size:13px;font-weight:600;padding:17px 24px;border-bottom:3px solid transparent;transition:color .15s,border-color .15s,background .15s}
.identity-page-tabs>button:hover,.identity-page-tabs>.identity-message-tab:hover{color:#fff;background:#1d1d1d}.identity-page-tabs>button[aria-selected="true"]{color:#fff;border-bottom-color:#0092ff;background:#1d1d1d}
.identity-page-tabs>button:focus-visible,.identity-page-tabs>.identity-message-tab:focus-visible{outline:2px solid #0092ff;outline-offset:-5px}
.identity-page-tabs>.identity-message-tab{display:inline-flex;align-items:center;line-height:normal;text-decoration:none;font-family:inherit}
.identity-page-section{min-width:0;animation:identity-content-in .16s ease-out}
.profile-save-notice{display:flex;align-items:center;gap:10px;margin:0 0 22px;padding:12px 16px;border:1px solid #0092ff66;border-left:3px solid #0092ff;background:#0092ff10;color:#e7f5ff;font-size:13px;line-height:1.5}
.profile-save-notice[hidden]{display:none}.profile-save-notice>span:first-child{color:#62baff;font-size:16px}
.identity-page-section>.panel:last-child{margin-bottom:0}
.identity-overview-grid,.identity-settings-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:24px;align-items:start}
.identity-overview-grid>*,.identity-settings-grid>*{min-width:0}
.identity-racing-grid{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(250px,1fr);gap:24px;align-items:start}.identity-racing-grid>*{min-width:0}
.identity-page .panel-title{gap:15px}.identity-page .panel-title h2{font-size:15px}.identity-page .panel-title>.muted{font-size:11px;white-space:nowrap}
.identity-page .panel-body>.profile-info{line-height:1.75;font-size:14px}.identity-page .info-list{font-size:13px}
.identity-overview-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:-3px}.identity-overview-actions .button{min-height:36px}
.identity-request-license{margin-top:18px;border-top:1px solid #383838;padding-top:15px}.identity-request-license summary{color:#62baff;font-weight:600;font-size:12px;cursor:pointer}.identity-request-license[open] summary{margin-bottom:16px}
.identity-provider-list{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.identity-provider-list>div{display:flex;align-items:center;justify-content:space-between;width:100%;gap:15px;font-size:13px}
.identity-provider-list>.button{width:100%;justify-content:space-between}
.identity-racing-placeholder{display:flex;align-items:center;justify-content:center;min-height:120px;background:#171717;border:1px solid #383838;padding:22px;text-align:center;color:#a4b0bd;font-size:13px;line-height:1.6}
.identity-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid #383838;background:#141414}.identity-stat-grid>div{padding:20px 12px;border-right:1px solid #383838;text-align:center}.identity-stat-grid>div:last-child{border:0}
.identity-stat-grid strong{display:block;font-size:27px;line-height:1.2;font-weight:700;font-variant-numeric:tabular-nums;color:#fff}.identity-stat-grid span{display:block;color:#a4b0bd;font-size:11px;margin-top:8px;line-height:1.4}
.identity-history-table{min-width:720px}.identity-history-table thead th{white-space:nowrap}.identity-history-table td{vertical-align:middle;font-size:12px}.identity-history-table td:first-child{white-space:nowrap}.identity-history-table td:last-child{white-space:nowrap}
.identity-stage-finishes{display:flex;flex-direction:column;gap:5px;min-width:80px;color:#a4b0bd;white-space:nowrap;font-size:11px}.identity-stage-finishes strong{color:#fff;margin-left:5px;font-size:12px}
.identity-history-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid #303030;margin-top:18px;padding-top:15px;color:#a4b0bd;font-size:11px}.identity-history-pagination>div{display:flex;align-items:center;gap:12px}.identity-history-pagination button{min-height:31px;padding:6px 10px;font-size:11px}.identity-history-pagination>div>span{font-variant-numeric:tabular-nums}
.identity-history-controls{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin-bottom:18px}.identity-history-controls>label{margin:0;min-width:180px;flex:1;max-width:280px}
.identity-roster-rider{display:flex;gap:10px;align-items:center;color:#fff;font-weight:600}.identity-roster-rider .avatar{width:32px;height:32px;flex-shrink:0;font-size:11px}.identity-roster-rider:hover{color:#62baff}
.identity-management-actions{display:flex;justify-content:space-between;align-items:center;gap:20px}.identity-management-actions p{font-size:12px;margin-top:6px;line-height:1.5}.identity-management-actions button{flex-shrink:0}
.identity-team-championships>.panel{margin-top:18px;margin-bottom:0;border-color:#303030}.identity-team-championships>.panel:first-child{margin-top:0}.identity-team-championships .panel-title{padding:12px 15px}.identity-team-championships .panel-title h2{font-size:13px}.identity-team-championships .panel-body{padding:15px}
.identity-page .team-summary-content{padding-bottom:17px}.identity-page .team-summary-content h1{margin-bottom:9px}.identity-page .team-summary-content .team-country{margin-bottom:0}.identity-page .team-banner-summary{margin-bottom:0}
@keyframes identity-content-in{from{opacity:.4;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1050px){.identity-racing-grid{grid-template-columns:minmax(0,2fr) minmax(230px,1fr);gap:18px}.identity-page-tabs>button,.identity-page-tabs>.identity-message-tab{padding:16px 19px}.identity-overview-grid,.identity-settings-grid{gap:18px}}
@media(max-width:800px){.identity-overview-grid,.identity-settings-grid,.identity-racing-grid{grid-template-columns:1fr}.identity-overview-grid>aside,.identity-racing-grid>aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.identity-overview-grid>aside>.panel,.identity-racing-grid>aside>.panel{margin:0}.identity-racing-grid>aside>.panel:last-child:nth-child(odd){grid-column:1/-1}.identity-history-controls>label{max-width:none}.identity-page-tabs{margin-bottom:20px}}
@media(max-width:520px){.identity-page-tabs>button,.identity-page-tabs>.identity-message-tab{font-size:12px;padding:14px 15px}.identity-page-kicker{font-size:11px;gap:10px}.identity-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.identity-stat-grid>div{border-bottom:1px solid #383838;padding:16px 10px}.identity-stat-grid>div:nth-child(2){border-right:0}.identity-stat-grid>div:nth-child(3){border-bottom:0}.identity-stat-grid strong{font-size:25px}.identity-overview-grid>aside,.identity-racing-grid>aside{grid-template-columns:1fr}.identity-racing-grid>aside>.panel:last-child:nth-child(odd){grid-column:auto}.identity-management-actions{align-items:flex-start;flex-direction:column}.identity-history-pagination>div{width:100%;justify-content:space-between}.identity-history-controls{gap:12px}.identity-page .panel-title>.muted{white-space:normal;text-align:right}}
@media(prefers-reduced-motion:reduce){.identity-page-section{animation:none}.identity-page-tabs>button,.identity-page-tabs>.identity-message-tab{transition:none}}
/* Reviewed racing access stays separate from championship performance. */
.identity-discipline-summary{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:24px;align-items:center}.identity-discipline-summary>div:not(:first-child){display:flex;flex-direction:column;gap:5px;text-align:center}.identity-discipline-summary b{color:#fff;font-size:22px}.identity-discipline-summary span:not(.chip){color:#aaa;font-size:11px}.identity-discipline-summary .form-help{margin:8px 0 0}.identity-discipline-table th,.identity-discipline-table td{padding:12px 14px}.identity-discipline-table td small{display:block;color:#aaa;font-size:11px;margin-top:5px}.identity-discipline-table td:first-child,.identity-discipline-table td:last-child{white-space:nowrap;color:#aaa;font-size:12px}
@media(max-width:650px){.identity-discipline-summary{grid-template-columns:1fr 1fr;gap:18px}.identity-discipline-summary>div:first-child{grid-column:1/-1}}

.preferred-bikes{position:relative;min-width:0;flex:1}.preferred-bikes-label{display:block;margin-bottom:8px;font-size:13px}.preferred-bikes details>summary{list-style:none;cursor:pointer;min-height:41px;padding:11px 34px 11px 12px;background:#111;border:1px solid #3c4249;border-radius:3px;font-size:13px;position:relative}.preferred-bikes summary::-webkit-details-marker{display:none}.preferred-bikes summary:after{content:'';position:absolute;right:14px;top:16px;width:7px;height:7px;border-right:1.5px solid #aebac8;border-bottom:1.5px solid #aebac8;transform:rotate(45deg)}.preferred-bikes details[open]>summary{border-color:#0092ff}.preferred-bikes-popup{position:absolute;top:70px;left:0;right:0;z-index:12;background:#181c21;border:1px solid #465461;border-radius:4px;padding:12px;box-shadow:0 12px 28px #0008}.preferred-bikes-popup input[type=search]{margin:0 0 10px;width:100%}.preferred-bikes-options{max-height:230px;overflow-y:auto}.preferred-bikes .preferred-bike-option{display:flex;align-items:center;gap:10px;padding:9px 5px;margin:0;cursor:pointer;font-size:12px}.preferred-bike-option input{width:16px;height:16px;margin:0;flex:none;accent-color:#0092ff}.preferred-bikes [hidden]{display:none!important}.preferred-bikes-popup button{margin-top:10px;width:100%;padding:7px}.preferred-bikes>small{display:block;color:#aab6c3;font-size:11px;line-height:1.6;margin-top:7px;overflow-wrap:anywhere}

.profile-track-record{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid #ffffff12;color:#e7edf5}.profile-track-record>span{min-width:0;overflow-wrap:anywhere}.profile-track-record strong{flex:none;color:#0092ff;font-variant-numeric:tabular-nums;font-size:14px}.profile-track-record:hover{color:#0092ff}.profile-track-record:last-child{border-bottom:0}

.profile-protests-link{display:flex;align-items:center;gap:16px;width:100%;box-sizing:border-box;padding:18px 22px;margin-bottom:24px;border:1px solid #0092ff70;border-left:3px solid #0092ff;background:linear-gradient(110deg,#17334b,#18232f);color:#fff;text-decoration:none;transition:background .2s,border-color .2s}
.profile-protests-link:hover{border-color:#62baff;background:linear-gradient(110deg,#204566,#1b2c3e)}.profile-protests-link:focus-visible{outline:2px solid #62baff;outline-offset:3px}
.profile-protests-icon{display:flex;flex:0 0 24px;color:#62baff}.profile-protests-icon svg{width:24px;height:24px}.profile-protests-link strong{display:block;font-size:16px}.profile-protests-link small{display:block;font-size:12px;color:#c1d4e5;margin-top:5px;line-height:1.5}.profile-protests-arrow{margin-left:auto;font-size:24px;color:#62baff}
@media(max-width:600px){.profile-protests-link{padding:16px;gap:12px}.profile-protests-link small{font-size:12px}}

.identity-team-equipment{display:grid;gap:16px}.identity-team-equipment-fields{display:grid;grid-template-columns:minmax(160px,1fr) minmax(0,2fr);gap:18px}.identity-team-equipment-fields>label{display:grid;gap:8px;min-width:0;margin:0}.identity-team-equipment-fields input,.identity-team-equipment-fields select{width:100%;min-width:0;margin:0;height:44px}.identity-team-equipment>.actions{margin:0}@media(max-width:520px){.identity-team-equipment-fields{grid-template-columns:minmax(0,1fr);gap:16px}}
.identity-page-tabs>button,.identity-page-tabs>.identity-message-tab{flex:1 0 auto}.identity-quick-actions>button{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.identity-quick-actions span{margin-top:0}.identity-page .profile-banner{height:150px;min-height:0}.identity-page .profile-banner .banner-wordmark{max-height:100px}.identity-page .team-page-banner{height:150px;min-height:0}
@media(max-width:650px){.identity-page .profile-banner,.identity-page .team-page-banner{height:110px}.identity-page .profile-banner .banner-wordmark{max-height:80px}.identity-page-tabs>button,.identity-page-tabs>.identity-message-tab{padding:13px 7px}.identity-quick-actions{grid-template-columns:minmax(0,1fr)}.identity-quick-actions>button{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:13px 12px}.identity-quick-actions span{text-align:right;max-width:62%;line-height:1.4}}

.profile-record-pagination{gap:6px;flex-wrap:wrap}.profile-record-pagination button[aria-current="page"]{background:#0092ff;border-color:#0092ff;color:#fff;font-weight:700}.profile-record-pagination button:disabled{opacity:.4;cursor:default}

.identity-page-tabs>.identity-message-tab{justify-content:center}@media(max-width:650px){[data-identity-page^="member:"] .identity-page-tabs:has(.identity-message-tab){grid-template-columns:repeat(4,minmax(0,1fr))}}
