/* Driver-facing polish. Permissions, forms and staff operational layouts are unchanged. */
/* Separate the personal journal and GTS RS services on the overview. */
.du-overview-jumps{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 30px}.du-overview-jumps a{display:flex;flex-direction:column;gap:4px;padding:11px 16px;border:1px solid #3c4855;border-radius:7px;background:#111820;font-size:13px;font-weight:600;min-height:44px}.du-overview-jumps a:hover{border-color:#aeb9c7}.du-overview-jumps span{font-size:11px;font-weight:400;color:#c0cbd7}.du-home-area{scroll-margin-top:24px;min-width:0}.du-area-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px;padding-left:16px;border-left:3px solid #5ed6a1}.du-area-heading .eyebrow{margin:0 0 6px}.driver-view .du-area-heading h2{font-size:27px;margin:0 0 7px}.du-area-heading p:not(.eyebrow){font-size:13px;color:#bbc6d2;line-height:1.7;margin:0}.du-area-heading>.text-link,.du-area-links{flex-shrink:0}.du-area-links{display:flex;gap:18px;flex-wrap:wrap}.du-area-divider{height:0;border:0;border-top:2px solid #4b5563;margin:38px 0 32px}.du-gts-area .du-area-heading{border-left-color:#e53945}.du-record-links.du-record-pair{grid-template-columns:repeat(2,minmax(0,1fr))}.du-coaching-records{margin-bottom:18px}.driver-view .du-nav-divider{border:0;border-top:1px solid #39414c;margin:14px 10px;width:calc(100% - 20px)}
@media(max-width:720px){.du-area-heading{align-items:flex-start;flex-direction:column;gap:12px}.driver-view .du-area-heading h2{font-size:24px}.du-area-divider{margin:30px 0}.du-overview-jumps{margin-bottom:26px}.du-overview-jumps a{flex:1 1 145px}.du-record-links.du-record-pair{grid-template-columns:minmax(0,1fr)}}
.driver-view,.auth-view{--muted:#aeb5c0;--redlight:#ff8b90}
.driver-view{font-size:15px;line-height:1.6;background:#0b0e12}
.driver-view h1,.driver-view h2,.auth-view h1,.auth-view h2{font-family:var(--font);text-transform:none;letter-spacing:-.035em;font-weight:650;line-height:1.2}
.driver-view h1{font-size:clamp(27px,2.7vw,38px)}
.driver-view h2,.driver-view .panel-heading h2{font-size:21px;letter-spacing:-.025em;line-height:1.3}
.driver-view h3{font-size:16px;line-height:1.45}
.driver-view .main-content{max-width:1320px;padding:32px 36px 20px}
.driver-view .page-heading{margin-bottom:20px;align-items:flex-start;padding-bottom:0;border:0}
.du-subtitle{font-size:14px;color:var(--muted);margin-top:10px;max-width:680px;line-height:1.65}
.driver-view .eyebrow{font-size:10px;letter-spacing:.12em;line-height:1.5}
.driver-view .micro{font-size:10px;letter-spacing:.08em}
.driver-view .topbar{height:66px;background:#0c0f13}
.driver-view .topbar-title{font-size:12px;color:#aab3bf}
.driver-view .access-badge{font-size:10px;border-radius:20px;background:#13191e}
.driver-view .sidebar{width:242px;flex-basis:242px;overflow-y:auto;padding:24px 20px 18px;scrollbar-width:thin}
.driver-view .brand{margin-bottom:28px}
.driver-view .brand-divider{margin:15px 0 10px}
.driver-view .nav-label{display:none}
.driver-view .primary-nav{gap:3px}
.driver-view .primary-nav a{font-size:13px;min-height:43px;padding:10px 12px;border-radius:0 7px 7px 0;color:#bcc3ce}
.driver-view .primary-nav a[aria-current=page]{background:#25202a;border-left-color:#f24c58;color:#fff}
.driver-view .primary-nav a>span{color:#a0a9b6;font-size:10px}
.du-nav-section{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#9da7b7;padding:19px 12px 8px}
.driver-view .sidebar-bottom{padding-top:22px}
.driver-view .signed-in b{font-size:11px}.driver-view .signed-in span{font-size:11px}
.driver-view .panel{background:#13181e;border:1px solid #303741;border-radius:10px;padding:26px;box-shadow:none;margin-bottom:18px}
.driver-view .panel-heading{margin-bottom:17px;gap:14px}
.driver-view .btn,.auth-view .btn{font-size:13px;line-height:1.4;font-weight:600;letter-spacing:0;text-transform:none;min-height:44px;padding:12px 18px;border-radius:6px;white-space:normal}
.driver-view .btn.primary,.auth-view .btn.primary{background:#c9202c;border-color:#c9202c}
.driver-view .btn.primary:hover,.auth-view .btn.primary:hover{background:#a91825;border-color:#a91825}
.driver-view .text-link{font-size:13px;line-height:1.65;color:#eef1f6;text-underline-offset:4px}
.driver-view .text-link:hover{text-decoration:underline}
.driver-view .help-text{font-size:12px;line-height:1.75;color:#aeb5c0}
.driver-view .field>label{font-size:13px;color:#e9edf3}
.driver-view input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.driver-view select,.driver-view textarea{font-size:14px;min-height:46px;border-radius:6px;background:#0b1016;border-color:#4a5360;color:#f3f5f8}
.driver-view .notice{font-size:13px;line-height:1.65;border-radius:7px}
.driver-view .status,.driver-view .bk-state{font-size:11px;letter-spacing:0;text-transform:none;border-radius:4px;padding:4px 9px}
.driver-view .footer{font-size:9px;letter-spacing:.06em;color:#a3adba;padding:26px 0 6px}
.du-identity{display:flex;align-items:center;gap:24px;margin:8px 0 28px}
.du-portrait{display:block;width:112px;height:112px;flex:0 0 auto;border-radius:50%}
.du-portrait:focus-visible{outline:2px solid #eef1f6;outline-offset:5px}
.du-identity .avatar,.du-profile-photo{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:50%;border:2px solid #566575;background:#1b222c}
.du-identity .avatar{font:600 34px var(--font)}
.du-profile-photo{object-fit:cover}
.du-identity-details{min-width:0}.du-identity-details b{font-size:24px;line-height:1.3;display:block;overflow-wrap:anywhere;margin-bottom:4px}.du-identity-details>span{font-size:14px;color:var(--muted);display:block;overflow-wrap:anywhere}
.du-identity-details>.text-link{display:inline-flex;align-items:center;min-height:44px;margin-top:4px}
@media(max-width:720px){.du-identity{gap:18px}.du-portrait{width:96px;height:96px}.du-identity .avatar{font-size:30px}.du-identity-details b{font-size:21px}.du-identity-details>span{font-size:13px}}
.du-priority-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:18px;margin-bottom:18px;align-items:stretch}
.driver-view .du-priority-grid>.panel{margin:0}
.driver-view .du-next{border-top:3px solid #e53945;padding:26px 28px;background:linear-gradient(130deg,#1a2029,#13181e);min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.du-next-top{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-bottom:17px;flex-wrap:wrap}
.du-next-top .eyebrow{margin:0}
.driver-view .du-next h2{margin:0 0 10px;font-size:17px;color:#c8d0dc;letter-spacing:-.01em}
.driver-view .du-next .du-session-name{font-size:clamp(21px,2vw,27px);letter-spacing:-.025em;line-height:1.25;color:#f4f6f9;margin:0 0 10px}
.du-next .du-body{font-size:14px;margin:4px 0 0}
.driver-view .du-next .btn{width:auto;min-width:210px;margin-top:20px}
.driver-view .du-next>.help-text{margin:12px 0 0;max-width:510px}
.du-optional{display:inline-flex;border:1px solid #43505e;border-radius:5px;padding:3px 8px;font-size:11px;font-weight:500;color:#c5cfdb;white-space:normal}
.du-session-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px 22px;width:100%;padding:18px 0;margin:4px 0 13px;border-block:1px solid #3a424d}
.du-session-facts div{min-width:0}.du-session-facts dt{font-size:11px;color:#aab4c2;margin-bottom:4px}
.du-session-facts dd{font-size:14px;line-height:1.55;color:#f1f4f8;margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.du-duration{font-size:13px;color:#b9c1cd}
.driver-view .du-next .package-recommendation-price{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:16px 0 2px}
.driver-view .du-next .package-recommendation-price strong{font-family:var(--font);font-size:30px;font-weight:650;line-height:1.2;letter-spacing:-.03em}
.driver-view .du-next .package-recommendation-price span{font-size:12px;color:#b7c1cf}
.du-session-focus{border-top:1px solid #3a424d;margin-top:20px;padding-top:16px;width:100%}.du-session-focus p{font-size:14px;color:#dde2e9;margin-top:5px;overflow-wrap:anywhere}
.du-focus-text{font-size:14px;color:#d3dae5;margin:17px 0 0;line-height:1.75;overflow-wrap:anywhere}
.du-target-list{padding-left:18px;margin:17px 0;font-size:13px;color:#c6cfda}.du-target-list li{padding:4px 0}
.du-event{border-top:1px solid #343e4a;margin-top:23px;padding-top:18px;display:flex;flex-direction:column;gap:5px;font-size:13px;color:#bac5d1}.du-event b{color:#e9edf3;font-size:14px}
.du-stats{display:flex;gap:30px;flex-wrap:wrap;margin:0 0 18px;padding:15px 24px;background:#11161c;border:1px solid #303741;border-radius:8px}
.du-stats div{display:flex;align-items:baseline;gap:10px}.du-stats strong{font-size:22px;font-variant-numeric:tabular-nums}.du-stats span{font-size:12px;color:var(--muted)}
.du-support-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.driver-view .du-support-grid>.panel{margin-bottom:18px}
.du-body{font-size:14px;line-height:1.75;color:#c4cdd9;margin:9px 0 16px;overflow-wrap:anywhere}
.du-empty{font-size:14px;color:#d4dce7}.du-empty span{font-size:13px;color:#aeb8c6;display:block;margin-top:9px;line-height:1.75}
.du-secondary-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:18px}
.driver-view .du-privacy{border-top:1px solid #313b47;padding-top:15px;margin-top:20px}
.du-exercise{border-left:2px solid #727f91;margin:15px 0;padding:4px 0 4px 14px;font-size:13px;color:#cbd4df}.du-exercise p{margin-top:6px}
.du-recent-note{border-top:1px solid #313b47;margin-top:15px;padding-top:15px}.du-recent-note a{display:block;font-size:13px;margin-top:5px;overflow-wrap:anywhere}
.du-report-title{margin-top:8px}
.du-record .panel-heading{align-items:flex-start}.du-record .du-body{margin:7px 0 0;font-size:13px}
.du-record-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.du-record-links a{display:flex;flex-direction:column;gap:7px;padding:16px;border:1px solid #384250;border-radius:7px;background:#0f141b;min-width:0}
.du-record-links a:hover{border-color:#a5afbc;background:#1a222d}
.du-record-links b{font-size:13px;font-weight:600}.du-record-links span{font-size:12px;line-height:1.6;color:#abb7c6}
.driver-view .du-eligibility{padding:19px 24px}
.du-eligibility summary{cursor:pointer;font-size:14px;font-weight:600;line-height:1.6;min-height:28px}
.du-eligibility summary>span{font-size:12px;color:var(--muted);font-weight:400;float:right;margin-left:15px}
.du-eligibility[open] summary{margin-bottom:18px}.du-eligibility .eligible-service-list{margin-top:16px}
.driver-view .bk-search .form-grid{align-items:end}
.driver-view .bk-search .field>p{font-size:14px}
.driver-view .journey-date-option{background:#0f151d;padding:15px}.driver-view .journey-date-option b{font-size:14px}.driver-view .journey-date-option small{font-size:12px;color:#b4bfce}.driver-view .journey-date-option span{font-size:12px;color:#f8abb0}
.driver-view .journey-date-option[aria-current=date]{border-color:#5ed6a1;background:#123329}
.driver-view .bk-price{font:650 32px/1.3 var(--font);letter-spacing:-.03em}
.driver-view .bk-quote h2{font-size:22px}.driver-view .bk-quote p{font-size:13px;margin:13px 0}
.du-inclusions{margin:14px 0}.du-inclusions summary{cursor:pointer;font-size:13px;color:#e4eaf2;padding:6px 0;min-height:36px;text-underline-offset:4px}
.driver-view .bk-quote{position:sticky;top:18px}
.driver-view .bk-slot{min-height:54px;border-radius:7px;font-size:14px;padding:16px;background:#0e141b;border-color:#465364}
.driver-view .bk-slot:has(input:checked){background:#123329;border-color:#5ed6a1}
.driver-view .bk-slot-fieldset legend{font-size:13px;color:#c9d3e0}.driver-view .bk-ack{font-size:13px;color:#cbd3df}
.driver-view .bk-tabs a{font-size:13px;border-radius:6px;min-height:44px}
.driver-view .bk-intro{padding:22px 26px;border-radius:10px}.driver-view .bk-intro h2{font-size:22px}.driver-view .bk-intro p{font-size:14px;margin-top:8px}
.driver-view .bk-when span,.driver-view .bk-session-time{font-family:var(--font);font-weight:600;font-size:21px;letter-spacing:-.02em}
.driver-view .bk-list-row small,.driver-view .bk-facts dt{font-size:12px}.driver-view .bk-facts dd{font-size:14px}
.driver-view .prose p{font-size:14px;line-height:1.8}.driver-view .prose h2{font-size:22px}
.auth-view .auth-story h1{font-size:clamp(36px,4vw,62px);line-height:1.13;max-width:650px}
.auth-view .auth-story h1 span{color:#c3ccd8}.auth-view .story-body>p:not(.eyebrow){font-size:16px;color:#c1cbd9;line-height:1.8}
.auth-view .login-inner h2{font-size:28px;line-height:1.2;margin-bottom:12px}
.auth-view .login-inner>.muted{font-size:15px}.auth-view .login-inner .field label{font-size:14px}
.auth-view .login-inner input{min-height:48px;font-size:16px;border-radius:6px}
.auth-view .login-inner .help-text{font-size:13px;line-height:1.75;color:#b4bdca}
.auth-view .login-new-driver p{font-size:14px;line-height:1.7}
.auth-view .login-inner .overline{color:#e4adb4;font-size:11px}
@media(max-width:1100px){.driver-view .main-content{padding:26px}.du-priority-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.du-record-links{grid-template-columns:repeat(2,minmax(0,1fr))}.driver-view .du-next{padding:24px}.driver-view .panel{padding:22px}}
@media(max-width:900px){.du-priority-grid,.du-support-grid{grid-template-columns:minmax(0,1fr)}.driver-view .bk-quote{position:static}.du-stats{gap:16px}.driver-view .du-next .btn{min-width:0}}
@media(max-width:720px){.driver-view .sidebar{width:270px;max-width:90vw}.driver-view .main-content{padding:22px 16px}.driver-view .page-heading{gap:14px;margin-bottom:18px}.driver-view h1{font-size:28px}.driver-view .panel,.driver-view .du-next{padding:21px}.driver-view .topbar{height:62px;padding:0 16px}.driver-view .topbar-title{font-size:11px}.driver-view .access-badge{padding:6px 8px;font-size:9px}.du-identity{margin-bottom:18px}.du-next-top{gap:10px}.driver-view .du-next .btn{width:100%}.du-session-facts{gap:15px}.du-session-facts dd{font-size:13px}.du-support-grid{gap:0}.du-eligibility summary>span{float:none;display:block;margin:6px 0 0}.driver-view .footer{flex-wrap:wrap;gap:8px}.du-record .panel-heading{flex-wrap:wrap}.auth-view .auth-story h1{font-size:36px}.auth-view .login-inner h2{font-size:26px}.driver-view .bk-search .field{width:100%}.driver-view input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.driver-view select,.driver-view textarea{font-size:16px}}
@media(max-width:380px){.du-record-links,.du-session-facts{grid-template-columns:minmax(0,1fr)}.driver-view .access-badge{display:none}.driver-view .panel-heading{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.driver-view *,.auth-view *{animation:none!important;transition:none!important}}
@media print{.driver-view{background:white;color:black}.driver-view .panel{background:white;color:black;box-shadow:none}.driver-view .du-next{background:white}.driver-view h2,.driver-view h3,.driver-view p,.driver-view dd,.driver-view dt{color:black}.du-priority-grid,.du-support-grid{display:block}.driver-view .btn{display:none}}

/* Keep the booking controls compact, with the price visible before mobile time selection. */
.driver-view .bk-search .form-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr)}
.driver-view .du-date-options{padding:20px 24px}.driver-view .du-date-options .journey-dates{margin:10px 0 0}
.driver-view .du-inclusions{border-top:1px solid #37414e;padding-top:10px}
@media(max-width:1100px){.driver-view .bk-search .form-grid{grid-template-columns:minmax(0,1fr)}}

/* Selected available dates and times share a green booking highlight. */
.driver-view .journey-date-option[aria-current=date] span{color:#a7f3d0}
.driver-view .bk-slot input{accent-color:#5ed6a1}
.driver-view .journey-date-option:focus-visible,.driver-view .bk-slot input:focus-visible{outline-color:#5ed6a1}

/* Personal driver home and trackside weekend actions. */
.driver-view h1{overflow-wrap:anywhere}
.du-home-shortcuts{margin:0 0 20px}
.du-quick-actions{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px 18px;align-items:center;border:1px solid #34414f;border-radius:9px;background:#10161d;padding:12px 14px}
.du-quick-actions-label{font-size:10px;font-weight:800;letter-spacing:.12em;color:#9eacba;white-space:nowrap}
.du-quick-actions-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:8px}
.du-quick-actions a{display:flex;flex-direction:column;justify-content:center;gap:4px;border:1px solid #3e4c5b;border-radius:7px;background:#151e28;padding:10px 12px;min-height:54px;font-size:13px;font-weight:700;min-width:0}
.du-quick-actions a span{overflow-wrap:anywhere}
.du-quick-actions a small{display:block;color:#9facba;font-size:10px;font-weight:500;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.du-quick-actions a:hover{background:#222f3d;border-color:#95a8bf}
.du-quick-actions .du-quick-action-primary{border-color:#3f7560;background:#142720}
.du-quick-actions .du-quick-action-primary:hover{background:#1a3329;border-color:#68ba91}
.driver-view .du-weekend{border-top:3px solid #5ed6a1;background:linear-gradient(130deg,#142725,#13181e);display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.driver-view .du-weekend h2{font-size:17px;color:#c8d0dc;margin:0 0 10px}
.driver-view .du-weekend-name{font-size:clamp(21px,2vw,27px);line-height:1.25;margin:0 0 12px;overflow-wrap:anywhere}
.du-weekend-circuit,.du-weekend-date{font-size:14px;color:#d4dee8;margin:0 0 6px;overflow-wrap:anywhere}
.du-weekend-date{font-variant-numeric:tabular-nums}
.du-weekend-objective{border-top:1px solid #3b504d;margin:16px 0;padding-top:15px;width:100%}
.du-weekend-objective p{font-size:14px;color:#dde7e5;margin-top:7px;overflow-wrap:anywhere}
.du-weekend-live{font-size:11px;border-radius:4px;background:#183f30;color:#a7f3d0;padding:4px 9px}
.driver-view .du-weekend>.btn{margin-top:15px;min-width:180px}
.du-weekend>.help-text{margin-top:12px}
.driver-view .du-card-footer{margin-top:auto;padding-top:20px}
.du-log-actions{display:flex;gap:12px;flex-wrap:wrap}
.du-log-actions .btn{flex:1}
.du-weekend-sharing summary{cursor:pointer;min-height:32px;font-size:14px;font-weight:600}
.du-weekend-sharing summary span{font-weight:400;color:#bdc9d6;margin-left:12px;text-decoration:underline;text-underline-offset:4px}
.du-weekend-sharing[open] summary{margin-bottom:20px}
.driver-view .du-weekend-sharing .weekend-sharing-control{margin:0;padding:0;border:0;background:none}
@media(max-width:900px){.du-quick-actions{grid-template-columns:minmax(0,1fr);gap:9px}.du-quick-actions-label{padding-left:2px}.du-quick-actions-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.du-quick-actions{padding:10px}.du-quick-actions-links{grid-template-columns:minmax(0,1fr)}.du-quick-actions a{min-height:50px;padding:10px 12px}.du-quick-actions a small{white-space:normal}.driver-view .du-weekend>.btn{width:100%;min-width:0}.du-log-actions{flex-direction:column}.du-weekend-sharing summary span{display:block;margin:5px 0 0}.driver-view .race-weekend-masthead{padding:0}.driver-view .race-weekend-masthead>div:first-child{padding:18px}.driver-view .race-weekend-dates{padding:12px 18px}.driver-view .race-weekend-masthead h2{overflow-wrap:anywhere}}

.driver-view .race-weekend-masthead{border-radius:8px;overflow:hidden}
.driver-view .race-weekend-masthead p:last-child{font-size:14px;color:#bdc9d6}
.driver-view .race-weekend-dates b{font-size:14px}.driver-view .race-weekend-dates span,.driver-view .race-weekend-dates small{font-size:12px;color:#b2becd}
.driver-view .weekend-session-type b,.driver-view .weekend-session-list strong{font-size:14px}
.driver-view .weekend-session-type span,.driver-view .weekend-session-list small,.driver-view .weekend-session-list>a>span:last-child{font-size:12px;color:#b2becd}
.driver-view .weekend-session-list p{font-size:13px;color:#c0ccda}
.driver-view .weekend-sharing-control>div>p:not(.eyebrow){font-size:13px;color:#c0ccda}

/* Session-specific results stay legible in the paddock and in the record. */
.driver-view .du-log-results-form h3{margin:20px 0 12px}
.driver-view .du-log-results-form>.help-text{margin-bottom:18px}
.driver-view .du-log-results-form [hidden]{display:none!important}
.driver-view .du-log-summary{font-size:14px;font-weight:600;color:#e5f2ed;margin:8px 0;overflow-wrap:anywhere}
.du-log-result h2{overflow-wrap:anywhere;margin-top:10px}
.du-result-facts{display:flex;flex-wrap:wrap;gap:16px 30px;margin:20px 0}
.du-result-facts dt{font-size:12px;color:#aebaca}.du-result-facts dd{font-size:16px;font-weight:600;margin:4px 0 0}
.driver-view .du-log-result h3{margin-top:18px}
.driver-view .driver-log-form .help-text,.driver-view .driver-log-form .field small{font-size:12px;line-height:1.6;color:#b4c0cf}

/* Scan the weekend first, expand individual sessions when needed. */
.du-review-column-head,.du-weekend-entry>summary{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr) minmax(0,1.25fr);gap:22px}
.du-review-column-head{font-size:12px;color:#aebaca;padding:0 0 12px}
.du-review-list{border-top:1px solid #3c4855}
.du-weekend-entry{border-bottom:1px solid #3c4855}
.du-weekend-entry>summary{cursor:pointer;list-style:none;padding:20px 0;align-items:start;min-height:48px}
.du-weekend-entry>summary::-webkit-details-marker{display:none}
.du-weekend-entry>summary:focus-visible{outline:2px solid #a7f3d0;outline-offset:4px;border-radius:4px}
.du-review-result strong{display:block;font-size:14px;line-height:1.6;color:#e6f3ed;font-weight:600}
.du-review-result small,.du-weekend-entry .weekend-session-type small{display:block;font-size:12px;line-height:1.65;color:#bdc9d6;margin-top:7px}
.du-review-takeaway{font-size:14px;line-height:1.65;color:#d4dfe9}
.du-weekend-entry .visibility-badge{display:inline-block;margin-top:9px}
.du-expand-label{display:block;margin-top:10px;font-size:12px;color:#e8eef5;text-decoration:underline;text-underline-offset:4px}
.du-expand-label>span{display:inline-block;transition:transform .15s}.du-weekend-entry[open] .du-expand-label>span{transform:rotate(180deg)}
.du-weekend-expanded{padding:0 0 24px}.du-inline-reflections,.du-debrief-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.du-inline-reflections h3,.du-debrief-grid h3{font-size:14px;margin:0 0 8px}.du-inline-reflections p,.du-debrief-grid p{font-size:14px;line-height:1.7;color:#c9d5e2;overflow-wrap:anywhere}
.du-weekend-expanded .du-result-facts{padding:14px 0;border-block:1px solid #34404e}
.du-result-facts dd{overflow-wrap:anywhere;max-width:100%}.du-result-facts>div{min-width:0;max-width:100%}
.du-mobile-label{display:none}.du-weekend-entry summary>span{min-width:0;overflow-wrap:anywhere}
.du-weekend-debrief .panel-heading{flex-wrap:wrap;align-items:start}
.du-debrief-form{max-width:850px}.du-debrief-form .field{margin:22px 0}
@media(max-width:900px){.du-review-column-head{display:none}.du-weekend-entry>summary{grid-template-columns:minmax(0,1fr);gap:12px}.du-mobile-label{display:block;font-size:11px;color:#aebaca;margin-bottom:4px}.du-inline-reflections,.du-debrief-grid{grid-template-columns:minmax(0,1fr)}.du-weekend-overview .panel-heading{flex-wrap:wrap}.du-weekend-entry .weekend-session-type{display:flex;gap:8px 14px;align-items:center;flex-wrap:wrap}.du-weekend-entry .weekend-session-type small{flex-basis:100%}.du-weekend-entry .visibility-badge{margin:0}}

.du-championship-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.du-championship-card{min-width:0}.du-championship-card h2,.du-championship-car{overflow-wrap:anywhere}
.du-championship-car{font-size:18px;color:#e0eee8;margin:12px 0}
.du-championship-form{max-width:900px}.du-championship-form .checkbox{margin-top:22px}
.du-championship-picker .panel-heading{flex-wrap:wrap;align-items:start}.du-championship-picker .field{margin-bottom:14px}
.driver-view .du-championship-picker select{width:100%;text-overflow:ellipsis}
@media(max-width:900px){.du-championship-grid{grid-template-columns:minmax(0,1fr)}}

/* Quick logs retain all submitted detail, even while the section is closed. */
.du-log-context-details{margin-top:20px;border-top:1px solid var(--line,#303844);padding-top:16px}
.du-log-context-details summary,.du-log-extra summary{cursor:pointer;font-weight:700;line-height:1.5}
.du-log-context-details[open] summary{margin-bottom:20px}
.du-log-extra summary span{display:block;color:var(--muted,#a9b9c7);font-weight:400;font-size:.85rem;margin-top:5px}
.du-log-extra-content{padding-top:24px}
.du-log-extra-content h2{margin:24px 0 18px}
.du-log-extra-content h2:first-child{margin-top:0}
.du-log-extra-content [data-log-kind],.du-log-results-form [data-quick-lap-slot]{margin-bottom:18px}
.du-coaching-focus{margin-top:24px;padding-top:18px;border-top:1px solid var(--line,#303844)}
.du-coaching-focus p{margin:8px 0 0;line-height:1.6}
.driver-log-review-grid>section:only-child{grid-column:1/-1}

.du-draft-notice h2,.du-log-saved h2{font-size:1.1rem;line-height:1.4;margin:0 0 8px}.du-draft-notice,.du-log-saved{margin-bottom:24px;overflow-wrap:anywhere}.du-draft-notice textarea{width:100%;margin-top:18px}.du-draft-help{margin-bottom:24px}

/* Driver sidebar groups use native, keyboard-accessible disclosures. */
.driver-nav-group{border-bottom:1px solid #29313b}
.driver-nav-group>summary{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:46px;padding:12px 10px;list-style:none;cursor:pointer;color:#bcc3ce;font-size:13px;font-weight:600;line-height:1.5}
.driver-nav-group>summary::-webkit-details-marker{display:none}
.driver-nav-group>summary:hover{background:#13181e;color:white}
.driver-nav-group.has-current>summary{color:#fff}
.driver-nav-group.has-current>summary{box-shadow:inset 2px 0 #f24c58}
.driver-nav-chevron{display:block;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);flex:none;margin-left:auto;margin-right:3px;margin-top:-4px}
.driver-nav-group[open]>summary .driver-nav-chevron{transform:rotate(225deg);margin-top:4px}
.driver-nav-links{margin:0 0 9px 10px;border-left:1px solid #35404c;padding-left:7px}
.driver-view .driver-nav-links>a{min-height:44px;margin-left:0;padding:10px 8px;font-size:13px;line-height:1.6}
.driver-view .driver-nav-links>a:hover{padding-left:8px}
.driver-nav-group>summary:focus-visible,.driver-view .primary-nav a:focus-visible{outline:2px solid var(--redlight);outline-offset:-2px}


/* Championship race calendar: future, active and completed rounds. */
.du-calendar-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:28px}
.du-calendar-intro>div:first-child{max-width:760px}
.du-calendar-key{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.du-calendar-key span,.du-calendar-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.du-calendar-key .future,.du-calendar-round.is-future .du-calendar-status{background:#152d4a;color:#a9cdfb;border:1px solid #315b88}
.du-calendar-key .active,.du-calendar-round.is-active .du-calendar-status{background:#173e30;color:#a7f3d0;border:1px solid #2d7d5c}
.du-calendar-key .completed,.du-calendar-round.is-completed .du-calendar-status{background:#252b33;color:#b7c0cc;border:1px solid #46505d}
.du-calendar-list{display:grid;gap:14px;margin-bottom:18px}
.du-calendar-round{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;border:1px solid #36404c;border-left-width:4px;border-radius:9px;padding:22px 24px;background:#11171e}
.du-calendar-round.is-future{border-left-color:#6fa8e8;background:linear-gradient(100deg,#122033,#11171e 42%)}
.du-calendar-round.is-active{border-color:#326e56;border-left-color:#5ed6a1;background:linear-gradient(100deg,#143026,#111a18 46%);box-shadow:0 0 0 1px rgba(94,214,161,.08)}
.du-calendar-round.is-completed{border-left-color:#606b79;background:#11161c}
.du-calendar-round-main{min-width:0}
.du-calendar-round-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.du-round-number{font-size:10px;font-weight:700;letter-spacing:.12em;color:#b8c2cf}
.du-calendar-round h2{font-size:21px;margin:0 0 6px;overflow-wrap:anywhere}
.du-calendar-circuit,.du-calendar-date,.du-calendar-note{margin:0;overflow-wrap:anywhere}
.du-calendar-circuit{font-size:14px;color:#d7dee8}
.du-calendar-date{font-size:13px;color:#b6c0cd;margin-top:3px;font-variant-numeric:tabular-nums}
.du-calendar-note{font-size:13px;line-height:1.65;color:#aeb9c7;margin-top:12px;max-width:760px}
.du-calendar-actions{display:flex;flex-direction:column;align-items:stretch;gap:9px;min-width:185px}
.du-calendar-actions form{margin:0}
.du-calendar-actions .btn{width:100%;text-align:center}
.du-calendar-actions .text-link{text-align:center}
.du-calendar-empty{max-width:780px}
@media(max-width:760px){
  .du-calendar-intro{flex-direction:column;gap:14px}
  .du-calendar-key{justify-content:flex-start}
  .du-calendar-round{grid-template-columns:minmax(0,1fr);gap:18px;padding:20px}
  .du-calendar-actions{min-width:0;align-items:stretch}
  .du-calendar-round-top{align-items:flex-start;flex-wrap:wrap}
}

.du-calendar-home-action{margin:15px 0 0}
.du-calendar-home-action .btn{min-width:210px}
@media(max-width:720px){.du-calendar-home-action,.du-calendar-home-action .btn{width:100%}.du-calendar-home-action .btn{min-width:0}}


/* Generic track-event labels and form state. */
.du-event-type-badge{display:inline-flex;align-items:center;border:1px solid #465666;background:#17212b;color:#d7e3ef;border-radius:999px;padding:4px 9px;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.du-event-card-footer{margin-top:18px;align-items:center}.du-event-card-footer .card-link{margin:0}
.du-event-heading-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.du-selected-event-type{display:flex;flex-direction:column;gap:4px;border:1px solid #3e4b59;background:#10161d;border-radius:7px;padding:15px 17px}
.du-selected-event-type b{font-size:15px}.du-selected-event-type span{font-size:12px;color:#aeb9c7}
.track-event-form [data-race-event-only][hidden]{display:none!important}
@media(max-width:720px){.du-event-card-footer{gap:10px;align-items:flex-start;flex-direction:column}.du-event-heading-badges{margin-bottom:10px}}
