.driver-portrait{display:block;position:relative;overflow:hidden;width:64px;height:64px;flex:0 0 64px;border-radius:50%;background:#dce5d2;border:2px solid var(--brand-lime)}
.driver-portrait img{position:absolute;width:300%;height:400%;max-width:none;object-fit:fill}
.vehicle-photo{position:relative;display:block;width:100%;aspect-ratio:2/1;overflow:hidden;background:#dce3d4;border-radius:9px}
.vehicle-photo img{position:absolute;width:200%;height:400%;max-width:none;object-fit:fill}
.photo-fallback{position:absolute;inset:0;display:grid;place-items:center;padding:8px;text-align:center;font-size:0.75rem;color:#425536;line-height:1.8}.profile-photo-heading{font-size:0.75rem;font-weight:700;color:#5b7244;margin:0 0 9px;line-height:1.8}
.selected-driver-summary{display:flex;align-items:center;gap:12px;border:1px solid #71934f;border-radius:10px;background:#1b2715;color:#eff8e5;padding:14px;margin:0 0 20px;line-height:1.8}
.selected-driver-summary>div{flex:1;min-width:0}.selected-driver-summary small,.selected-driver-summary strong,.selected-driver-summary span:not(.driver-portrait){display:block}.selected-driver-summary small,.selected-driver-summary span:not(.driver-portrait){font-size:0.75rem;color:#c2d4b1}.selected-driver-summary .text-button{color:var(--brand-lime)}
dialog.driver-profile-dialog{padding:24px 26px 0;width:min(760px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #a8bc91;border-radius:16px;background:#f7f9f2;color:#1f3017}
.driver-profile-dialog .close{position:sticky;top:0;right:0;float:right;z-index:4;background:#edf2e5;border:1px solid #c1ceb2;border-radius:50%}
.profile-toolbar{display:flex;align-items:center;justify-content:space-between;margin-right:56px;gap:12px;min-height:44px;margin-bottom:16px}.profile-toolbar .back-button{margin:0;font-size:0.8125rem;min-height:44px}.profile-toolbar .text-button{font-size:0.8125rem}
.profile-person{display:flex;align-items:center;gap:20px;margin-bottom:22px;clear:both}.profile-person .driver-portrait{width:96px;height:96px;flex-basis:96px;border-color:#abc87d}.profile-person>div{min-width:0}.profile-person h2{margin:0;font-size:1.6875rem;line-height:1.65}.profile-kicker{font-size:0.75rem;letter-spacing:1px;font-weight:800;color:#5b7244}.profile-rating{font-size:0.875rem;font-weight:700;margin:3px 0 7px}.profile-person small{font-size:0.75rem;line-height:1.8;color:#647158}
.profile-price{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#e9efdf;border:1px solid #c7d3b7;border-radius:10px;padding:16px;margin-bottom:18px;line-height:1.8}.profile-price>div{min-width:0}.profile-price strong,.profile-price span,.profile-price small{display:block}.profile-price strong{font-size:1rem}.profile-price span,.profile-price small{font-size:0.75rem;color:#5e704b}.profile-price>div:last-child{flex-shrink:0;text-align:right}.profile-price b{font-size:1.5rem}
.profile-gallery{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-gallery button{padding:0;border:1px solid #b9c8a8;border-radius:10px;background:white;color:#24391b;text-align:left;overflow:hidden;font:inherit;cursor:pointer;min-width:0}.profile-gallery .vehicle-photo{border-radius:0}.profile-gallery button>span:last-child{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:12px;font-size:0.8125rem;font-weight:700;min-height:48px}.profile-gallery small{font-size:0.75rem;color:#657c4e;white-space:nowrap}.profile-photo-note,.profile-seat-note{font-size:0.75rem;line-height:1.9;color:#657158;margin:12px 0 16px}.profile-seat-note{border-left:3px solid #8dae61;padding:7px 12px;background:#edf2e6}
.profile-select-footer{position:sticky;bottom:0;background:#f7f9f2;border-top:1px solid #c9d6ba;padding:14px 0 16px;z-index:2}.profile-select-footer .action{display:block;width:100%;min-height:52px;border-radius:8px;background:var(--brand-lime);color:#203215;font-weight:800}.profile-select-footer small{display:block;text-align:center;font-size:0.75rem;color:#5f7051;line-height:1.8;margin-top:8px}
@media(max-width:540px){dialog.driver-profile-dialog{padding:16px 15px 0;width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.profile-toolbar{gap:5px;margin-right:45px}.profile-person{gap:12px;margin-bottom:17px}.profile-person .driver-portrait{width:76px;height:76px;flex-basis:76px}.profile-person h2{font-size:1.5rem}.profile-rating{font-size:0.75rem}.profile-kicker{font-size:0.75rem}.profile-price{padding:12px;gap:10px}.profile-price strong{font-size:0.875rem}.profile-price b{font-size:1.25rem}.profile-price span,.profile-price small{font-size:0.75rem}.profile-gallery{grid-template-columns:1fr;gap:12px}.profile-gallery button>span:last-child{padding:9px 12px;min-height:44px}.profile-person small{font-size:0.75rem}.selected-driver-summary{flex-wrap:wrap}.selected-driver-summary .driver-portrait{width:52px;height:52px;flex-basis:52px}}

.vehicle-illustration{display:grid;place-items:center;padding:18px;background:#e7efdd}.vehicle-illustration svg{height:100%;max-height:180px;width:100%;max-width:280px}
