/* Admin garage record: vehicle identity, active work, then supporting records. */
#mechanicApp #vehicleSection{max-width:1240px;margin-inline:auto}
#mechanicApp #vehicleSection .back-link{margin-bottom:20px}
#mechanicApp #vehicleSection .vr-top{grid-template-columns:minmax(220px,.7fr) minmax(0,1.6fr);border-radius:16px;background:#fff;margin-bottom:24px;border-color:#dce1dd;box-shadow:0 6px 24px rgb(32 38 44 / .04)}
#mechanicApp #vehicleSection .vr-shot{min-height:270px;background:#e9ede9}
#mechanicApp #vehicleSection .vr-shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#mechanicApp #vehicleSection .vr-shot.is-empty img{position:static;width:96px;height:auto;opacity:.4}
#mechanicApp #vehicleSection .vr-verdict{padding:28px 32px}
#mechanicApp #vehicleSection .vr-verdict::before{display:none}
#mechanicApp #vehicleSection .vr-name{font:600 clamp(26px,3vw,36px)/1.15 "Space Grotesk",system-ui,sans-serif;letter-spacing:-.035em;overflow-wrap:anywhere}
#mechanicApp #vehicleSection .vr-who{font:500 11px/1.5 Inter,system-ui,sans-serif;letter-spacing:.06em;color:#59636c}
#mechanicApp #vehicleSection .vr-blurb{margin-top:10px;color:#59636c;font:400 14px/1.5 Inter,system-ui,sans-serif}
#mechanicApp #vehicleSection :is(.vr-say,.vr-then){display:none}
#mechanicApp #vehicleSection .vr-odo{margin-top:20px;padding-top:18px;gap:8px}
#mechanicApp #vehicleSection .vr-odo-n{font:600 26px/1.2 "Space Grotesk",system-ui,sans-serif;letter-spacing:-.025em}
#mechanicApp #vehicleSection .vr-odo-form{gap:8px}
#mechanicApp #vehicleSection .vr-odo-form input{width:125px;min-height:44px;border-radius:8px;background:#f7f8f6;font:400 14px/1.4 Inter,system-ui,sans-serif}
#mechanicApp #vehicleSection .btn{min-height:44px;border-radius:8px}
#mechanicApp #vehicleSection .vr-do{margin-top:18px;gap:8px}
#mechanicApp #vehicleSection .vr-shop-tabs{display:flex;gap:6px;margin-bottom:24px;border-bottom:1px solid #dce1dd}
#mechanicApp #vehicleSection .vr-shop-tabs button{padding:14px 20px;min-height:48px;border:0;border-bottom:3px solid transparent;background:transparent;color:#59636c;font:600 14px/1.4 Inter,system-ui,sans-serif;cursor:pointer}
#mechanicApp #vehicleSection .vr-shop-tabs button[aria-selected="true"]{border-bottom-color:var(--accent);color:#20262c}
#mechanicApp #vehicleSection :is(.vr-shop-tabs button,.vr-shop-job):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#mechanicApp #vehicleSection [role="tabpanel"][hidden]{display:none!important}
#mechanicApp #vehicleSection .vr-shop-jobs{margin-bottom:24px}
#mechanicApp #vehicleSection :is(.vr-shop-jobs,.vr-shop-card)>h2{margin:0 0 16px;font:600 18px/1.4 "Space Grotesk",system-ui,sans-serif;letter-spacing:-.02em;color:#20262c}
#mechanicApp #vehicleSection .vr-shop-job{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;margin-top:10px;text-align:left;border:1px solid #dce1dd;border-left:3px solid var(--accent);border-radius:12px;background:#fff;cursor:pointer;color:#20262c}
#mechanicApp #vehicleSection .vr-shop-job>span{display:grid;gap:5px;min-width:0}
#mechanicApp #vehicleSection .vr-shop-job small{font:500 12px/1.5 Inter,system-ui,sans-serif;color:var(--accent)}
#mechanicApp #vehicleSection .vr-shop-job strong{font:600 19px/1.4 "Space Grotesk",system-ui,sans-serif;overflow-wrap:anywhere}
#mechanicApp #vehicleSection .vr-shop-job span>span{font-size:13px;color:#59636c}
#mechanicApp #vehicleSection .vr-shop-job>b{flex:none;font:600 13px/1.4 Inter,system-ui,sans-serif}
#mechanicApp #vehicleSection .vr-shop-job:hover{background:#f7f8f6}
#mechanicApp #vehicleSection .vr-shop-overview{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px;margin-bottom:20px}
#mechanicApp #vehicleSection .vr-shop-card{min-width:0;padding:24px;border:1px solid #dce1dd;border-radius:12px;background:#fff}
#mechanicApp #vehicleSection .vr-shop-status{margin:0 0 10px;font-size:16px;font-weight:600;color:#20262c}
#mechanicApp #vehicleSection .vr-facts{grid-template-columns:repeat(3,minmax(0,1fr));border:0;background:transparent;gap:18px 14px}
#mechanicApp #vehicleSection .vr-facts>div{padding:0;min-width:0;background:transparent}
#mechanicApp #vehicleSection .vr-facts>div:last-child{grid-column:1/-1}
#mechanicApp #vehicleSection .vr-facts dt{font:500 11px/1.4 Inter,system-ui,sans-serif;text-transform:none;letter-spacing:0;color:#59636c}
#mechanicApp #vehicleSection .vr-facts dd{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
#mechanicApp #vehicleSection .vr-share{margin-top:20px;background:#f7f8f6;border-radius:8px}
#mechanicApp #vehicleSection .vr-more{gap:12px}
#mechanicApp #vehicleSection .vr-fold{border-radius:12px;background:#fff;border-color:#dce1dd}
#mechanicApp #vehicleSection .vr-fold>summary{min-height:56px;padding:16px 20px;font:600 14px/1.4 Inter,system-ui,sans-serif;text-transform:none;letter-spacing:0}
#mechanicApp #vehicleSection .vr-fold[open]>summary{border-bottom:1px solid #edf0ed;margin-bottom:16px}
#mechanicApp #vehicleSection .vr-fold-b{padding:0 20px 20px}
#mechanicApp #vehicleSection .vr-fold .vr-block{margin:0;padding:0;border:0;border-radius:0}
#mechanicApp #vehicleSection .vr-fold .vr-block+.vr-block{margin-top:24px}
#mechanicApp #vehicleSection .vr-shop-record-actions{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px}
#mechanicApp #vehicleSection #tfvDeleteBtn{color:#a1372b}
#mechanicApp #vehicleSection .vri-v{overflow-wrap:anywhere}
@media(max-width:860px){
 #mechanicApp #vehicleSection .vr-top{grid-template-columns:minmax(160px,.65fr) minmax(0,1fr)}
 #mechanicApp #vehicleSection .vr-verdict{padding:24px}
 #mechanicApp #vehicleSection .vr-shot{aspect-ratio:auto}
 #mechanicApp #vehicleSection .vr-odo-form{width:100%;margin:8px 0 0}
 #mechanicApp #vehicleSection .vr-odo-form input{width:100%}
 #mechanicApp #vehicleSection .vr-shop-overview{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:560px){
 #mechanicApp #vehicleSection .vr-top{grid-template-columns:minmax(0,1fr)}
 #mechanicApp #vehicleSection .vr-shot{min-height:0;aspect-ratio:16/7}
 #mechanicApp #vehicleSection .vr-verdict{padding:20px}
 #mechanicApp #vehicleSection .vr-name{font-size:27px}
 #mechanicApp #vehicleSection .vr-shop-tabs{gap:0}
 #mechanicApp #vehicleSection .vr-shop-tabs button{flex:1;padding:12px 6px;font-size:12px}
 #mechanicApp #vehicleSection .vr-shop-job{padding:18px;align-items:flex-start;flex-direction:column;gap:12px}
 #mechanicApp #vehicleSection .vr-shop-card{padding:20px}
 #mechanicApp #vehicleSection .vr-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 #mechanicApp #vehicleSection .vr-cards{grid-template-columns:minmax(0,1fr)}
 #mechanicApp #vehicleSection .vr-do .btn{flex:1 1 auto}
}

/* Vehicle records are an open document, with cards sized for their content. */
#mechanicApp #vehicleSection .vr-record-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 24px}
#mechanicApp #vehicleSection .vr-record-heading h2{margin:0;font:600 26px/1.2 "Space Grotesk",system-ui,sans-serif;letter-spacing:-.03em}
#mechanicApp #vehicleSection .vr-record-heading p{margin:8px 0 0;color:#59636c;font-size:14px;line-height:1.6}
#mechanicApp #vehicleSection .vr-record-heading .vr-shop-record-actions{margin:0;flex-wrap:wrap;flex-shrink:0}
#mechanicApp #vehicleSection .vr-record-page{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
#mechanicApp #vehicleSection .vr-record-page>*{min-width:0}
#mechanicApp #vehicleSection .vr-record-wide{grid-column:1/-1}
#mechanicApp #vehicleSection .vr-record-page .vr-block{margin:0;padding:24px;border:1px solid #dce1dd;border-radius:14px;background:#fff;min-width:0;box-sizing:border-box}
#mechanicApp #vehicleSection .vr-record-page .vr-block-head{margin-bottom:20px;align-items:center;gap:8px 16px}
#mechanicApp #vehicleSection .vr-record-page .vr-block-head h3{font:600 18px/1.4 "Space Grotesk",system-ui,sans-serif;letter-spacing:-.015em;text-transform:none;color:#20262c}
#mechanicApp #vehicleSection .vr-record-page .vr-block-head>span{font:400 12px/1.6 Inter,system-ui,sans-serif;color:#59636c;max-width:65ch}
#mechanicApp #vehicleSection .vr-record-page :is(p,dd,span,b,strong,em,a,code){overflow-wrap:anywhere}
#mechanicApp #vehicleSection .vr-record-page .vri-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));border-color:#e5e9e5;border-radius:10px;background:#e5e9e5}
#mechanicApp #vehicleSection .vr-record-page .vri-cell{padding:16px;min-width:0}
#mechanicApp #vehicleSection .vr-record-page :is(.vri-k,.vrc-k,.vrp-fact>span){font:500 11px/1.5 Inter,system-ui,sans-serif;letter-spacing:.02em;text-transform:none}
#mechanicApp #vehicleSection .vr-record-page .vri-v{font:500 14px/1.6 Inter,system-ui,sans-serif;margin-top:6px}
#mechanicApp #vehicleSection .vr-record-page .vri-cell.is-empty{background:#fafbf9}
#mechanicApp #vehicleSection .vr-record-page .vri-cell.is-empty .vri-v{font-weight:400;color:#69736f}
#mechanicApp #vehicleSection .vr-record-page .vrc-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:10px}
#mechanicApp #vehicleSection .vr-record-page .vrc-chip{min-width:0;padding:14px}
#mechanicApp #vehicleSection .vr-record-page .vrc-v{font-size:14px;line-height:1.5}
#mechanicApp #vehicleSection .vr-record-page .vrc-step{grid-template-columns:minmax(0,1fr);gap:4px;padding-bottom:22px}
#mechanicApp #vehicleSection .vr-record-page .vrc-drove{grid-column:auto}
#mechanicApp #vehicleSection .vr-record-page .vro-step{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}
#mechanicApp #vehicleSection .vr-record-page .vrp-facts{grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr))}
#mechanicApp #vehicleSection .vr-record-page :is(.vr-none,.vr-note){font-size:14px;line-height:1.7;color:#59636c}
#mechanicApp #vehicleSection .vr-record-page .vin-specifications>p{font-size:14px;line-height:1.65;color:#59636c;margin-top:0}
#mechanicApp #vehicleSection .vr-record-page .vin-spec-provider{padding-top:22px;margin-top:22px;border-top:1px solid #e5e9e5;min-width:0}
#mechanicApp #vehicleSection .vr-record-page .vin-spec-provider>h4{margin:0 0 12px;font-size:16px;line-height:1.5}
#mechanicApp #vehicleSection .vr-record-page .vin-spec-provider>p{font-size:13px;line-height:1.65;color:#59636c}
#mechanicApp #vehicleSection .vr-record-page .vin-spec-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:0 24px;margin:0}
#mechanicApp #vehicleSection .vr-record-page .vin-spec-row{min-width:0;padding:14px 0}
#mechanicApp #vehicleSection .vr-record-page .vin-spec-row dt{font-size:12px;line-height:1.5}
#mechanicApp #vehicleSection .vr-record-page .vin-spec-row dd{font-size:14px;line-height:1.6;font-weight:500}
#mechanicApp #vehicleSection .vr-record-page .vin-spec-group h4{font-size:14px;line-height:1.5}
#mechanicApp #vehicleSection .vr-record-page :is(input,select,video){min-width:0;max-width:100%;box-sizing:border-box}
#mechanicApp #vehicleSection .vr-record-page .vehicle-video-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}
#mechanicApp #vehicleSection .vr-record-page .vehicle-video-form input{border:1px solid #dce1dd;border-radius:8px;background:#f7f8f6;min-height:44px}
#mechanicApp #vehicleSection .vr-record-page .vrm-files li{grid-template-columns:minmax(0,1fr) auto}
@media(max-width:800px){
 #mechanicApp #vehicleSection .vr-record-heading{align-items:flex-start;flex-direction:column;gap:12px}
 #mechanicApp #vehicleSection .vr-record-page{grid-template-columns:minmax(0,1fr);gap:16px}
 #mechanicApp #vehicleSection .vr-record-page .vehicle-video-form{grid-template-columns:minmax(0,1fr)}
 #mechanicApp #vehicleSection .vr-record-page .vehicle-video-form button{justify-self:start}
}
@media(max-width:480px){
 #mechanicApp #vehicleSection .vr-record-page .vr-block{padding:18px}
 #mechanicApp #vehicleSection .vr-record-page .vri-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #mechanicApp #vehicleSection .vr-record-page .vri-cell{padding:12px}
 #mechanicApp #vehicleSection .vr-record-page .vrc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #mechanicApp #vehicleSection .vr-record-page .vro-step{grid-template-columns:minmax(0,1fr)}
 #mechanicApp #vehicleSection .vr-record-page .vro-step em{justify-self:start}
 #mechanicApp #vehicleSection .vr-record-page .vrm-files li{grid-template-columns:minmax(0,1fr)}
 #mechanicApp #vehicleSection .vr-record-page .vrm-pages{grid-column:1;grid-row:auto}
 #mechanicApp #vehicleSection .vr-record-heading .btn{font-size:12px}
}
/* Twelve identity fields form complete rows; keep the VIN readable on phones. */
#mechanicApp #vehicleSection .vr-record-wide>.vr-block .vri-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1000px){
 #mechanicApp #vehicleSection .vr-record-wide>.vr-block .vri-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
 #mechanicApp #vehicleSection .vr-record-wide>.vr-block .vri-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #mechanicApp #vehicleSection .vr-record-wide>.vr-block .vri-cell:first-child{grid-column:1/-1}
}
