/* Driver profiles inherit Race Foundry colors, Manrope and shared controls. */
.driver-header-entry{white-space:nowrap}
.driver-overview-entry{display:flex;align-items:center;justify-content:space-between;gap:1rem 2rem;padding:1.2rem 1.5rem;border-left:3px solid var(--acc);background:var(--bg2)}
.driver-overview-entry h2{font-size:1.15rem;margin:0 0 .35rem}.driver-overview-entry p{color:var(--mut);font-size:.94rem;margin:0;max-width:620px}.driver-overview-entry>.driver-actions{flex-shrink:0}
@media(max-width:950px){.driver-overview-entry{align-items:start;flex-direction:column}}
@media(max-width:700px){#app .hwrap{flex-wrap:wrap}#app .driver-header-entry{order:3;width:100%;margin-top:.35rem;min-height:44px}.driver-overview-entry{padding:1rem}.driver-overview-entry .driver-actions{width:100%}.driver-overview-entry .driver-actions>.btn{flex:1;min-width:145px}}
.driver-heading,.driver-profile-heading{position:static;top:auto;z-index:auto;background:transparent;backdrop-filter:none;border:0;padding:0}
.driver-directory{display:grid;grid-template-columns:minmax(0,1fr);gap:1.2rem}
.driver-directory>*{min-width:0}
.driver-heading{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;flex-wrap:wrap}
.driver-heading h2{font-size:1.6rem;margin:0 0 .45rem}.driver-heading p{margin:0;color:var(--mut);max-width:680px}
.driver-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;align-items:end;gap:.8rem 1rem;padding:1.2rem;background:var(--bg2);border:1px solid var(--line)}
.driver-filters label{margin-top:0}.driver-filters input,.driver-filters select{width:100%;min-width:0}
.driver-search{position:relative}.driver-search input{padding-right:3rem}.driver-search>button{position:absolute;right:.1rem;top:.1rem;min-height:42px;width:42px;padding:.4rem;font-size:1.3rem}
.driver-filter-checks{grid-column:1/-1;display:flex;gap:1rem 1.8rem;flex-wrap:wrap;margin-top:.3rem}
.driver-filter-checks label,.driver-check{display:flex;align-items:center;gap:.65rem;font-weight:400;cursor:pointer;margin:0;min-height:36px}
.driver-filter-checks input[type=checkbox],.driver-check input[type=checkbox]{width:18px;height:18px;min-height:18px;flex-shrink:0;accent-color:var(--acc);margin:0}
.driver-directory-results{min-height:260px}.driver-results-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;color:var(--mut);font-size:.9rem;min-height:48px}.driver-results-head p{margin:.5rem 0}
.driver-list{border-top:1px solid var(--line)}.driver-row{display:grid;grid-template-columns:minmax(0,1fr) 215px auto;gap:1.6rem;align-items:center;padding:1.5rem 0;border-bottom:1px solid var(--line)}
.driver-identity{min-width:0}.driver-identity h3{font-size:1.1rem;margin:0 0 .35rem;overflow-wrap:anywhere}.driver-identity p{font-size:.9rem;color:var(--mut);margin:.3rem 0;overflow-wrap:anywhere}.driver-identity .driver-bio-preview{max-width:640px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:.65rem}
.driver-status{display:inline-block;border-left:2px solid var(--acc);padding-left:.65rem;font-size:.85rem;margin:.3rem 0;color:var(--txt)}
.driver-rating-summary{display:grid;gap:.2rem;font-variant-numeric:tabular-nums}.driver-rating-summary strong{font-size:1.25rem;font-weight:600}.driver-rating-summary strong span{font-size:.85rem;font-weight:400;color:var(--mut)}.driver-rating-summary small{font-size:.85rem;color:var(--mut);line-height:1.5}
.driver-actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}.driver-row>.driver-actions{display:grid;justify-items:stretch}
.driver-pagination{display:flex;align-items:center;justify-content:center;gap:1rem;margin:1.4rem 0;color:var(--mut);font-size:.9rem;font-variant-numeric:tabular-nums}
.driver-empty{padding:1.6rem;background:var(--bg2);border:1px solid var(--line);min-height:230px}.driver-empty h3{margin:.2rem 0 .6rem;font-size:1.2rem}.driver-empty p{max-width:640px;color:var(--mut)}
.driver-muted{color:var(--mut);font-size:.9rem;line-height:1.65}.driver-notice{color:var(--mut);font-size:.94rem;line-height:1.65;background:var(--bg2);border-left:2px solid var(--line);padding:.9rem 1rem;margin:0 0 1.1rem}
.driver-profile-modal{width:min(940px,100%);max-width:940px}.driver-profile-content{min-width:0}.driver-profile-heading h2{font-size:1.7rem;margin:0 0 .5rem;overflow-wrap:anywhere}.driver-profile-heading p{font-size:.94rem;margin:.2rem 0;color:var(--mut)}.driver-profile-heading{margin-bottom:1rem}.driver-profile-bio{white-space:pre-wrap;overflow-wrap:anywhere;max-width:740px;margin:1rem 0 1.5rem;line-height:1.75}
.driver-profile-section{border-top:1px solid var(--line);padding-top:1.4rem;margin-top:1.6rem}.driver-profile-section h3{margin:0 0 .7rem;font-size:1.15rem}.driver-profile-section>p{margin:.45rem 0 1rem}
.driver-ratings{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.8rem}.driver-rating{padding:1rem;background:var(--bg2);border:1px solid var(--line);font-variant-numeric:tabular-nums;min-width:0}.driver-rating p{margin:0 0 .5rem;font-size:.9rem;color:var(--mut)}.driver-rating strong{display:block;font-size:1.7rem;line-height:1.4;font-weight:600;margin-bottom:.25rem}.driver-rating small{display:block;font-size:.85rem;line-height:1.6;color:var(--mut)}
.driver-results-table{overflow-x:auto;scrollbar-gutter:stable;border:1px solid var(--line)}.driver-results-table table{width:100%;min-width:650px;border-collapse:collapse;font-size:.9rem}.driver-results-table th{font-size:.85rem;text-align:left;font-weight:600;color:var(--mut);background:var(--bg2);padding:.85rem}.driver-results-table td{vertical-align:top;padding:1rem .85rem;border-top:1px solid var(--line)}.driver-results-table th:first-child{width:130px}.driver-results-table th:nth-child(3){width:110px}.driver-results-table th:nth-child(4){width:190px}.driver-results-table td strong,.driver-results-table td span,.driver-results-table td small{display:block;overflow-wrap:anywhere}.driver-results-table td small{font-size:.85rem;color:var(--mut);margin-top:.25rem}.driver-results-table td strong{font-size:.94rem}.driver-results-table time{font-size:.85rem;color:var(--mut)}
.driver-sync{margin-bottom:.2rem}.driver-sync p{font-size:.9rem;line-height:1.7;max-width:760px}
.driver-profile-editor{max-width:740px}.driver-form-section{border:0;padding:0;margin:0 0 1.65rem;min-width:0}.driver-form-section legend{padding:0;font-size:1.08rem;font-weight:700;margin-bottom:.3rem}.driver-form-section .driver-check{margin-top:1rem}.driver-form-section textarea{min-height:145px}.driver-form-section .driver-muted{margin:.5rem 0}.driver-profile-editor .two{min-width:0}.driver-profile-editor .two>div{min-width:0}
@media(max-width:700px){.driver-row{grid-template-columns:minmax(0,1fr) 185px;gap:1rem}.driver-row>.driver-actions{grid-column:1/-1;display:flex}.driver-filters{grid-template-columns:minmax(0,1fr) auto}.driver-search-field{grid-column:1/-1}.driver-filters>div:nth-child(2){min-width:0}.driver-filters>button{align-self:end}.driver-filter-checks{gap:.5rem}.driver-filter-checks label{width:100%}.driver-profile-modal .mbody{padding:1rem}.driver-profile-heading h2{font-size:1.5rem}}
@media(max-width:480px){.driver-heading h2{font-size:1.4rem}.driver-heading{gap:.8rem}.driver-heading>button{width:100%}.driver-filters{padding:.9rem;gap:.75rem}.driver-row{grid-template-columns:minmax(0,1fr);gap:.8rem;padding:1.2rem 0}.driver-row>.driver-actions{grid-column:1;gap:.5rem}.driver-rating-summary{border-left:1px solid var(--line);padding-left:.8rem}.driver-rating-summary strong{font-size:1.2rem}.driver-pagination{gap:.65rem;justify-content:space-between}.driver-empty{padding:1.2rem}.driver-profile-editor .two{grid-template-columns:minmax(0,1fr)}.driver-ratings{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.driver-rating{padding:.8rem}.driver-rating strong{font-size:1.5rem}.driver-profile-section{margin-top:1.3rem;padding-top:1.2rem}}
