/* Mechanic login: scoped so workshop and backoffice styles stay independent. */
.mechanic-body #mechanic-login{
 min-height:100vh;min-height:100svh;
 background:radial-gradient(ellipse at 15% 90%,rgba(239,63,79,.13),transparent 45%),radial-gradient(ellipse at 85% 8%,rgba(75,110,160,.14),transparent 42%),#080d17;
 display:flex;flex-direction:column;justify-content:center;align-items:center;gap:28px;padding:36px 20px;
}
.mechanic-body #mechanic-login .login-brand{position:static;width:min(280px,75vw);flex:none}
.mechanic-body #mechanic-login .login-brand img{width:100%;height:auto;display:block}
.mechanic-body #mechanic-login .login-card{width:min(420px,100%);padding:32px;background:#111927;border:1px solid #2a364a;box-shadow:0 24px 70px #0006}
.mechanic-body #mechanic-login .login-card>p{color:#b0bdcf;font-size:14px;line-height:1.6}
.mechanic-body #mechanic-login .login-card label{font-size:13px;color:#c2cedd}
.mechanic-body #mechanic-login .login-card input{font-size:16px;min-height:48px}
.mechanic-body #mechanic-login .btn-primary{min-height:48px;font-size:14px}
.mechanic-body #mechanic-login .login-kicker{color:#ff6676;font-size:11px}
.mechanic-body #mechanic-login .form-error{font-size:13px}
@media(max-width:480px){.mechanic-body #mechanic-login{padding:24px 16px;gap:20px}.mechanic-body #mechanic-login .login-brand{width:220px}.mechanic-body #mechanic-login .login-card{padding:26px 22px}.mechanic-body #mechanic-login h1{font-size:25px}}

/* Approved mechanic intervention layout */
.detail-mode{background:#00131e;color:#eaf4ff}.detail-mode .mechanic-header,.detail-mode .mechanic-footer{display:none}
.md-shell{width:100%;min-height:100vh;background:radial-gradient(ellipse at 55% 0,#082c40,transparent 50%),#00131e;font-family:Arial,sans-serif;font-size:14px;line-height:1.45}
.md-top{display:flex;align-items:center;gap:32px;padding:12px 30px;border-bottom:1px solid #10364b;background:#001722}
.md-brand{min-width:180px;text-align:center}.md-brand svg{height:28px;width:160px;display:block;margin:auto}.md-brand strong{display:block;font-size:24px;text-transform:uppercase}.md-brand small{font-size:14px}.md-greeting{flex:1}.md-greeting h1{font-size:30px;margin:0 0 2px;font-weight:700}.md-greeting p{margin:0}.md-clock{min-width:210px}.md-clock strong{display:block;font-size:22px}.md-user{display:flex;align-items:center;gap:14px;border-left:1px solid #164157;padding-left:30px}.md-user>span{border:1px solid #285369;border-radius:50%;padding:12px 16px}.md-user small{display:block}
.md-content{padding:8px 30px 20px;max-width:1800px;margin:auto}.md-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #29516a;border-radius:5px;background:linear-gradient(#08283a,#001925);padding:8px 14px;color:#eef7ff;font-size:13px;cursor:pointer;line-height:1.3}.md-btn:hover:not(:disabled){border-color:#00a8ff;background:#07374e}.md-btn:disabled{opacity:.45;cursor:not-allowed}.md-back{margin-bottom:8px}.md-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(270px, .8fr);gap:18px}.md-left,.md-right{min-width:0}.md-right{display:flex;flex-direction:column;gap:14px}.md-card{border:1px solid #124159;border-radius:6px;background:linear-gradient(125deg,#06263488,#001621);padding:13px;margin-bottom:12px}.md-right .md-card{margin:0}.md-card h2{font-size:16px;font-weight:700;display:flex;align-items:center;gap:12px;margin:0 0 14px}.md-icon{font-size:24px;color:#00a8ff;line-height:1}.md-overview{display:grid;grid-template-columns:1.8fr 1fr;gap:18px}.md-vehicle{display:flex;align-items:center;gap:18px;min-height:150px}.md-car{display:flex;align-items:center;justify-content:center;background:#082d40;border-radius:6px;min-width:130px;height:125px;font-size:60px}.md-vehicle h2{font-size:26px;margin:0;letter-spacing:1px}.md-vehicle h3{margin:0 0 5px;font-size:18px}.md-vehicle p{margin:0 0 8px;color:#bccfe0}.md-client{border-left:1px solid #234859;padding-left:16px;margin-left:auto;min-width:130px}.md-client small,.md-client strong{display:block;margin-bottom:8px}.md-client strong{font-size:15px}.md-flow{display:flex;justify-content:center;flex-direction:column}.md-flow ol{display:flex;list-style:none;margin:20px 0 0;padding:0;justify-content:space-between}.md-flow li{flex:1;text-align:center;font-size:10px;position:relative;min-width:0}.md-flow li:before{content:"";height:3px;background:#395466;position:absolute;top:11px;left:-50%;right:50%;z-index:0}.md-flow li:first-child:before{display:none}.md-flow li span{position:relative;display:flex;border:2px solid #536d7d;border-radius:50%;width:23px;height:23px;margin:0 auto 8px;align-items:center;justify-content:center;background:#001823}.md-flow li.done span,.md-flow li.done:before{background:#00c485;border-color:#00c485;color:#002b28}.md-flow li.current span{border-color:#009cff;box-shadow:0 0 0 4px #009cff22}.md-flow li b{font-weight:400;display:block}
.md-tabs{display:flex;gap:22px;border-bottom:1px solid #28546c;margin-bottom:12px;overflow:auto}.md-tab{white-space:nowrap;background:none;border:0;border-bottom:3px solid transparent;color:#f3f8ff;padding:10px 12px;font-size:14px;cursor:pointer}.md-tab:hover,.md-tab:first-child{color:#00b0ff;border-color:#00a4ff}
.md-diagnosis-grid{display:grid;grid-template-columns:minmax(0,4fr) 1fr;gap:10px}.md-diagnosis{position:relative;background:linear-gradient(#073d2b66,#092432);border-color:#357654}.md-recorded{position:absolute;right:14px;top:17px;font-size:11px;color:#bdd0d8}.md-original{white-space:pre-wrap;background:#001f2266;border:1px solid #1b604b;border-radius:5px;padding:10px;margin-bottom:8px;min-height:64px;font-size:13px}.md-info{display:flex;gap:12px;font-size:13px;color:#bacbdb}.md-info>span{color:#41b2ff;font-size:27px}.md-info p{margin:0}.md-shell label{display:block;font-size:13px;margin-bottom:6px}.md-shell label small{font-weight:400;color:#d2deea}.md-inline{display:flex;gap:16px;align-items:center}.md-shell textarea,.md-shell input{width:100%;font:inherit;font-size:13px;padding:10px;color:#eaf4ff;border:1px solid #2d5266;border-radius:5px;background:#052130;box-sizing:border-box}.md-shell textarea{resize:vertical;min-height:44px}.md-shell input{margin-bottom:8px}.md-shell textarea::placeholder,.md-shell input::placeholder{color:#a8bdcc}.md-shell input:focus,.md-shell textarea:focus{outline:2px solid #008cff}.md-inline textarea{flex:1}.md-inline button{flex:none}.md-blue{background:linear-gradient(#008cff,#005dea);border-color:#0088ff;padding:12px 16px}.md-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.md-title h2{margin:0}.md-title small{display:flex;align-items:center;gap:10px}.md-shell progress{appearance:none;border:0;height:11px;border-radius:7px;overflow:hidden;background:#193c4b;width:100%}.md-shell progress::-webkit-progress-bar{background:#193c4b}.md-shell progress::-webkit-progress-value{background:#00c883;border-radius:7px}.md-shell progress::-moz-progress-bar{background:#00c883}.md-title progress{width:145px}
.md-table-wrap{overflow:auto}.md-shell table{width:100%;border-collapse:collapse;font-size:13px}.md-shell th{background:#052738;color:#dceaf5;font-weight:400;text-align:left}.md-shell th,.md-shell td{border:1px solid #123e51;padding:8px 12px}.md-shell td:last-child{text-align:center}.md-status{display:inline-flex;justify-content:center;background:#203e50;color:#e3f0f8;border-radius:5px;padding:5px 14px;font-size:13px;white-space:nowrap}.md-status.completed{background:#007e5c}.md-status.in_progress{background:#007fff}.md-status.pending{background:#304d60}.md-status.paused{background:#806525}.md-status.cancelled{background:#713545}
.md-bottom{display:grid;grid-template-columns:1.8fr 1fr;gap:18px}.md-photos{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:10px}.md-photos figure{margin:0;width:145px}.md-photos img{width:145px;height:100px;object-fit:cover;border-radius:6px;background:#123342}.md-photos figcaption{font-size:12px}.md-photos small{display:block;color:#aac1d2}.md-photo-form input[type=file]{padding:12px;border-style:dashed}.md-callout{background:#05283c;border:1px solid #0f4c6c;border-radius:6px;padding:12px;color:#c3d8e7;font-size:12px}.md-right dl{margin:0 0 14px;border:1px solid #183f51}.md-right dl div{display:flex;justify-content:space-between;padding:6px 10px;border-bottom:1px solid #183f51}.md-right dl div:last-child{border:0}.md-right dd{margin:0;font-weight:bold;font-size:16px}.md-progress-label{display:flex;justify-content:space-between;margin:8px 0}.md-green{color:#00d995}.md-cyan{color:#00aaff}.md-green-btn{background:linear-gradient(#00a776,#007256);border-color:#00ad80}.md-right .md-btn{width:100%;margin-top:8px}.md-right textarea{min-height:90px}.md-danger{border-color:#ee293c;color:#ff3f4c}.md-muted{color:#9ab3c4;font-size:12px;display:block;margin-top:8px}.md-help p{color:#bad0dd;font-size:13px;margin:0}.md-notes article{border-top:1px solid #204555;padding-top:9px;margin-top:9px}.md-notes p{white-space:pre-wrap}.md-issue-list article{border-bottom:1px solid #21485b;padding:10px 0}.md-issue-list .md-status{float:right;font-size:11px}.md-feedback:empty{display:none}.md-feedback{padding:10px;background:#07543d;border-radius:6px;margin-bottom:10px}.md-feedback.error{background:#662336}.md-footer{display:flex;justify-content:space-between;align-items:center;padding-top:8px}.md-footer img{width:175px;max-height:65px;object-fit:contain}.md-footer em{text-align:right;font-size:14px}
@media(max-width:1200px){.md-overview{grid-template-columns:1fr}.md-grid{grid-template-columns:minmax(0,2.4fr) 270px}.md-client{min-width:140px}.md-clock{display:none}.md-title{flex-wrap:wrap}.md-diagnosis-grid{grid-template-columns:1fr}.md-info{display:none}}
@media(max-width:800px){.md-top{padding:14px;gap:14px;flex-wrap:wrap}.md-brand{min-width:135px}.md-brand strong{font-size:19px}.md-brand svg{width:135px}.md-greeting h1{font-size:23px}.md-greeting p{font-size:12px}.md-user{display:none}.md-content{padding:10px 14px}.md-grid,.md-bottom{grid-template-columns:1fr}.md-right{display:grid;grid-template-columns:1fr 1fr}.md-vehicle{flex-wrap:wrap}.md-car{min-width:90px;height:90px;font-size:45px}.md-client{width:100%;border-left:0;border-top:1px solid #254f65;padding:10px 0 0;margin:0}.md-inline{flex-direction:column;align-items:stretch}.md-recorded{position:static;display:block;margin-bottom:8px}.md-tabs{gap:5px}.md-footer em{font-size:12px}}
@media(max-width:480px){.md-right{grid-template-columns:1fr}.md-car{display:none}.md-vehicle h2{font-size:23px}.md-footer img{width:120px}.md-greeting{min-width:190px}}

.md-part-fields{display:grid;grid-template-columns:2fr 1.3fr .7fr;gap:12px}.md-parts form>label{display:block;margin-top:12px}.md-part-list{margin-top:18px}.md-part-list article{border-top:1px solid #214858;padding:12px 0}.md-part-list article>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}.md-part-list p{white-space:pre-wrap}.md-parts .needed{background:#6b501d;color:#ffe6a2}.md-parts .authorized{background:#07593f;color:#a4ffd3}.md-parts .cancelled{background:#632b35;color:#ffbcc6}@media(max-width:800px){.md-part-fields{grid-template-columns:1fr}.md-part-list article>div{flex-direction:column}}

.md-part-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.md-part-toolbar small{color:#b5cbd8}.md-part-list b,.md-part-list p{overflow-wrap:anywhere}#md-part-refresh.error{color:#ffbcc6}@media(max-width:800px){.md-user{display:flex;margin-left:auto;border:0;padding:0}.md-user>span,.md-user>div{display:none}.md-shell input,.md-shell textarea{font-size:16px}.md-tabs{overflow-x:auto;flex-wrap:nowrap}.md-tab{flex:none;min-height:44px}.md-parts .md-btn,.md-user .md-btn{min-height:44px}.md-part-toolbar{align-items:stretch;flex-direction:column}}

.mechanic-body .mechanic-shell{background:radial-gradient(ellipse at 50% 0,#062c3d 0,#001721 48%,#00131c 100%);min-height:100vh}
.mechanic-body .mechanic-header{max-width:none;display:flex;align-items:center;gap:36px;padding:18px 30px;border-bottom:1px solid #163647;background:linear-gradient(110deg,#00131c,#04202d);min-height:90px;box-sizing:border-box}
.mechanic-header .workshop-brand{display:flex;flex-direction:column;gap:0;align-items:center;min-width:190px}
.mechanic-car-logo{width:180px;height:38px;color:#edf7ff}
.mechanic-header .workshop-brand strong{font-size:25px;letter-spacing:0}
.mechanic-header .workshop-brand small{font-size:13px;letter-spacing:0;color:#e0edf3}
.mechanic-welcome{flex:1}.mechanic-welcome h1{font:bold 29px Arial,sans-serif;margin:0 0 10px;color:#f2f8ff}
.mechanic-welcome p{margin:0;color:#d4e4ed;font-size:14px}
.mechanic-header-date{color:#dcebf2;font-size:13px;max-width:210px}.mechanic-header-date strong{display:block;font-size:23px;margin-top:6px}
.mechanic-user{display:flex;gap:18px;align-items:center;border-left:1px solid #244555;padding-left:22px}
.mechanic-body .mechanic-main{max-width:1536px;width:100%;margin:0 auto;padding:30px;box-sizing:border-box;flex:1}
.mechanic-body .mechanic-title{margin:0 0 20px;align-items:center}.mechanic-title h2{font:bold 23px Arial,sans-serif}.mechanic-title p{color:#a9c4d5}
.mechanic-body .mechanic-job,.mechanic-body .module-empty{background:#03202c;border:1px solid #1c4557;border-radius:7px}
.mechanic-body .module-empty{padding:65px 25px;max-width:none;text-align:center}
.mechanic-body .module-empty p{max-width:600px;margin:12px auto;color:#b5ceda;line-height:1.7}
.mechanic-body .mechanic-footer{display:flex;align-items:center;justify-content:space-between;padding:20px 30px;border-top:1px solid #183b4a;background:transparent}
.mechanic-body .mechanic-footer img{margin:0;width:175px;max-height:65px;object-fit:contain}
.mechanic-footer em{color:#e7f0f6;max-width:310px;text-align:right;font-size:13px}
@media(max-width:1000px){.mechanic-header-date{display:none}.mechanic-body .mechanic-header{gap:20px}.mechanic-user span{display:none}}
@media(max-width:650px){.mechanic-body .mechanic-header{padding:14px;gap:14px;flex-wrap:wrap}.mechanic-header .workshop-brand{min-width:140px}.mechanic-car-logo{width:140px;height:30px}.mechanic-header .workshop-brand strong{font-size:20px}.mechanic-welcome{order:3;flex-basis:100%}.mechanic-welcome h1{font-size:24px}.mechanic-user{margin-left:auto;border:0;padding:0}.mechanic-body .mechanic-main{padding:24px 14px}.mechanic-body .mechanic-title{gap:12px;align-items:flex-start}.mechanic-body .mechanic-footer{padding:18px 14px;gap:15px}.mechanic-footer em{font-size:11px}.mechanic-body .mechanic-footer img{width:120px}}
.mechanic-body.detail-mode .mechanic-header,.mechanic-body.detail-mode .mechanic-footer{display:none}

/* Mechanic home: persistent navigation and vehicle cards. */
.mechanic-body #mechanic-app{display:flex;max-width:none;padding:0;min-height:100svh;background:#00131e}
.mechanic-body #mechanic-app.is-hidden{display:none}
.mc-sidebar{width:232px;flex:none;display:flex;flex-direction:column;background:#00101b;border-right:1px solid #164055;padding:18px 12px;min-height:100svh}
.mc-brand{text-align:center;padding:4px 0 30px}.mc-brand svg{width:180px;height:36px}.mc-brand strong,.mc-brand small{display:block}.mc-brand strong{font-size:24px}.mc-brand small{font-size:12px;letter-spacing:1px;color:#b8ccda}
.mc-sidebar nav{display:grid;gap:10px}.mc-sidebar button{display:flex;align-items:center;gap:16px;min-height:52px;padding:12px 16px;border:0;border-left:4px solid transparent;background:transparent;color:#edf7ff;text-align:left;border-radius:5px;cursor:pointer;font-size:14px}
.mc-sidebar button span{font-size:25px;width:24px}.mc-sidebar button.active{background:linear-gradient(90deg,#003e7a,#002b51);border-left-color:#008bff}.mc-sidebar button:hover{background:#073449}.mc-sidebar>img{width:175px;max-width:100%;margin:auto auto 14px;padding-top:60px}
.mc-workspace{flex:1;min-width:0}.mechanic-body .mechanic-header{margin:0;border-radius:0;padding:18px 26px;gap:20px;border:0;border-bottom:1px solid #123b50}.mechanic-body .mechanic-header>.workshop-brand{display:none}.mechanic-body .mechanic-welcome h1{font-size:25px}.mechanic-body .mechanic-main{padding:24px 26px;max-width:1600px;margin:auto}
.mc-search{display:flex;align-items:center;gap:12px;max-width:700px;background:#002234;border:1px solid #17445b;border-radius:6px;padding:0 14px;margin-bottom:24px}.mc-search>span{font-size:25px;color:#b3ccdb}.mc-search input{width:100%;min-height:46px;border:0;background:transparent;color:#edf5fb;font-size:16px;outline-offset:2px}
.mechanic-body .mechanic-jobs{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:22px}.mechanic-body .mechanic-job.mc-vehicle-card{display:block;padding:0;overflow:hidden;border:1px solid #17465d;border-radius:9px;background:linear-gradient(130deg,#092e40,#001925);box-shadow:0 14px 32px #0003}
.mc-car-image{background:radial-gradient(ellipse at 50% 25%,#486072,#122b3b 70%);border-bottom:1px solid #17465d;position:relative;padding:10px 12px 25px}.mc-car-image svg{display:block;width:100%;height:180px}.mc-car-image small{position:absolute;bottom:10px;left:16px;color:#b5c6d1;font-size:10px}
.mc-card-body{padding:20px}.mc-card-body .plate{display:inline-block;color:#172331;background:#f2f5f8;border:2px solid #aab6c2;border-left:9px solid #0075c9;padding:5px 12px;border-radius:5px;letter-spacing:1px;font-size:23px;font-weight:700}
.mc-card-body h3{font-size:19px;margin:14px 0 8px}.mc-card-body p{color:#adcadb;font-size:13px;margin:0 0 20px}.mc-card-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.mc-card-bottom button{min-height:44px}.mc-card-bottom .status-pill{font-size:12px}.mechanic-body .mechanic-footer{padding:16px 26px;border:0}.mechanic-body .mechanic-footer>img{display:none}
.mechanic-body .mc-list-view{grid-template-columns:1fr}.mc-agenda,.mc-message{padding:20px;border:1px solid #17465d;background:#052333;border-radius:7px}.mc-agenda{display:flex;justify-content:space-between;gap:16px;align-items:center}.mc-message small{display:block;color:#a1bdce;margin-top:8px}.mc-message p{white-space:pre-wrap}.mechanic-jobs .module-empty{grid-column:1/-1}
.detail-mode .mc-workspace{width:calc(100% - 232px)}.detail-mode .md-top .md-brand{display:none}.detail-mode .md-content{padding:12px 22px}.detail-mode .md-grid{grid-template-columns:minmax(0,3fr) minmax(240px,.8fr)}.detail-mode .md-overview{grid-template-columns:1fr}.detail-mode .md-top{flex-wrap:wrap;gap:16px}.detail-mode .md-clock{min-width:150px}
@media(max-width:1100px){.mc-sidebar{width:200px}.detail-mode .mc-workspace{width:calc(100% - 200px)}.detail-mode .md-grid{grid-template-columns:1fr}.mechanic-body .mechanic-header-date{display:none}}
@media(max-width:700px){.mechanic-body #mechanic-app{display:block}.mc-sidebar{width:100%;min-height:0;padding:10px;border-right:0;border-bottom:1px solid #164055}.mc-brand{padding:0 0 10px}.mc-brand svg{display:none}.mc-brand strong{font-size:20px}.mc-brand small{display:none}.mc-sidebar nav{display:flex;overflow:auto;gap:5px}.mc-sidebar button{flex:none;padding:9px;min-height:44px;font-size:12px;gap:6px}.mc-sidebar button span{font-size:19px;width:auto}.mc-sidebar>img{display:none}.mechanic-body .mechanic-header{padding:16px;flex-wrap:wrap}.mechanic-body .mechanic-welcome{min-width:170px}.mechanic-body .mechanic-welcome h1{font-size:21px}.mechanic-body .mechanic-welcome p{display:none}.mechanic-body .mechanic-user{padding-left:0;gap:10px;font-size:12px}.mechanic-body .mechanic-main{padding:20px 16px}.mechanic-body .mechanic-jobs{grid-template-columns:1fr}.detail-mode .mc-workspace{width:100%}.detail-mode .md-content{padding:12px}.mc-agenda{flex-wrap:wrap}.mechanic-body .mechanic-footer{padding:16px}}

.mechanic-body .mc-car-image svg{height:auto;aspect-ratio:1.28;max-height:none}
.mechanic-body .mc-model-image{padding:0 0 24px;background:#26282a}.mechanic-body .mc-model-image svg{display:block;width:100%}
.mc-card-bottom{display:block}.mc-card-bottom .status-pill{display:inline-flex;margin-bottom:12px;max-width:100%}.mc-card-bottom button{display:flex;width:100%;background:linear-gradient(#062b40,#001a29);border:1px solid #00a5ff;color:#eef7ff;border-radius:6px}
.mechanic-body .mc-state.in_progress{background:#004d72;border:1px solid #008dcb;color:#d9f6ff}.mechanic-body .mc-state.paused,.mechanic-body .mc-state.pending{background:#3a300c;border:1px solid #a77b14;color:#ffe19a}.mechanic-body .mc-state.ready,.mechanic-body .mc-state.completed{background:#006640;border:1px solid #00c784;color:#b5ffdb}.mechanic-body .mc-state.scheduled{background:#263747;border:1px solid #587085;color:#d6e5ed}
.detail-mode .md-car{display:block;min-width:150px;width:180px;height:auto;background:transparent;overflow:hidden;flex:none}.detail-mode .md-car .mc-car-image{border-radius:6px}.detail-mode .md-car svg{height:auto;width:100%}.detail-mode .md-car small{font-size:8px;left:6px}
.mc-sidebar button svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.8;flex:none}
.mc-brand strong{overflow-wrap:anywhere}.mc-search input:focus{outline:2px solid #009eff}.mc-sidebar button:focus-visible,.mc-card-bottom button:focus-visible{outline:2px solid #58c6ff;outline-offset:3px}
@media(min-width:1250px){.mechanic-body .mechanic-jobs:not(.mc-list-view){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.detail-mode .md-car{width:110px;min-width:110px}.mc-sidebar button svg{width:19px;height:19px}.mc-card-body .plate{font-size:22px}}

.mechanic-body #mechanic-app{flex-direction:row;align-items:stretch}.mc-sidebar{position:sticky;top:0;height:100svh;align-self:flex-start}.mc-workspace{width:calc(100% - 232px)}@media(max-width:1100px){.mc-workspace{width:calc(100% - 200px)}}@media(max-width:700px){.mc-sidebar{position:static;height:auto}.mc-workspace{width:100%}}

.mechanic-body .mechanic-job.mc-vehicle-card>.mc-card-body{display:block;min-width:0}.mc-card-body .plate{white-space:nowrap}.mc-card-body h3,.mc-card-body p{display:block}.mechanic-body .mc-model-image svg{height:220px;aspect-ratio:auto}.mc-card-bottom{width:100%}.mc-card-bottom button{white-space:nowrap}@media(max-width:700px){.mechanic-body .mc-model-image svg{height:240px}}

@media(max-width:700px){.mechanic-body .mc-sidebar nav{flex-direction:row;align-items:center}.mechanic-body .mechanic-header{display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:0;gap:10px}.mechanic-body .mechanic-welcome{grid-column:1;grid-row:1;width:auto;min-width:0}.mechanic-body .mechanic-user{grid-column:2;grid-row:1;position:static;margin:0;border:0}.mechanic-body .mechanic-user>span{display:none}}

/* Compact assigned-vehicle cards: four columns on desktop. */
@media(min-width:1200px){.mechanic-body .mechanic-jobs:not(.mc-list-view){grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}}
.mechanic-body .mc-vehicle-card .mc-car-image{padding:0 0 22px}
.mechanic-body .mc-vehicle-card .mc-car-image svg{height:170px;aspect-ratio:auto;width:100%}
.mechanic-body .mc-vehicle-card>.mc-card-body{padding:14px}
.mechanic-body .mc-vehicle-card .plate{font-size:19px;padding:4px 9px}
.mechanic-body .mc-vehicle-card h3{font-size:16px;margin:10px 0 6px}
.mechanic-body .mc-vehicle-card p{font-size:12px;margin-bottom:12px;overflow-wrap:anywhere}
.mechanic-body .mc-vehicle-card .mc-card-bottom .status-pill{font-size:10px;margin-bottom:10px}
.mechanic-body .mc-vehicle-card .mc-card-bottom button{font-size:12px;min-height:44px}
@media(max-width:700px){.mechanic-body .mc-vehicle-card .mc-car-image svg{height:190px}}

.mechanic-body .mc-account{position:relative}
.mechanic-body .mc-account-trigger{display:flex;align-items:center;gap:12px;border:0;background:transparent;color:#eaf4fa;padding:6px;cursor:pointer;font:inherit;min-height:44px}
.mechanic-body .mc-account-avatar{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:#123d58;color:#eaf4fa;font-size:14px}
.mechanic-body .mc-account-copy{display:flex;flex-direction:column;text-align:left;gap:3px}
.mechanic-body .mc-account-copy strong{font-size:14px;font-weight:600}
.mechanic-body .mc-account-copy small{font-size:11px;color:#9db4c2}
.mechanic-body .mc-account-chevron{font-size:20px}
.mechanic-body .mc-account-dropdown{position:absolute;top:calc(100% + 8px);right:0;z-index:100;width:230px;padding:10px;background:#0d2432;border:1px solid #284859;border-radius:10px;box-shadow:0 12px 30px #0006}
.mechanic-body .mc-account-dropdown[hidden]{display:none}
.mechanic-body .mc-account-head{padding:8px 10px 12px;color:#9db4c2;font-size:12px}
.mechanic-body .mc-account-logout{display:block;width:100%;min-height:44px;text-align:left;border:0;border-radius:6px;background:#153849;color:#eaf4fa;padding:12px;font:inherit;cursor:pointer}
.mechanic-body .mc-account-logout:hover{background:#204c63}
.mechanic-body .mc-account-trigger:focus-visible,.mechanic-body .mc-account-logout:focus-visible{outline:2px solid #36a5df;outline-offset:3px}
@media(max-width:1000px){.mechanic-body .mc-account-trigger .mc-account-chevron{display:inline}.mechanic-body .mc-account-trigger .mc-account-copy{display:none}}
@media(max-width:700px){.mechanic-body .mechanic-user.mc-account{position:relative}.mechanic-body .mc-account-trigger{gap:5px}}
