@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=Figtree:wght@400;500;600;700&family=Spline+Sans+Mono:wght@400;500;600&display=swap');
/* =====================================================================
   Auto Star — "Garage" theme.
   Part 1: global retheme (palette + type) for every admin page.
   Part 2: the "Garage" design system, scoped under .garage, used by the
           repair-order workspace and the other ported screens. Scoping
           keeps it from touching pages that have not been ported yet.
   ===================================================================== */

/* ---- Part 1: global palette + type ---- */
:root{
  --gold:#157a54; --gold-dark:#0f5c40; --gold-d:#0f5c40; --gold-2:#0f5c40;
  --accent:#157a54; --bg:#eef1ea; --line:#e0e4db; --line-2:#eaede4; --radius:9px;
  --display:"Bricolage Grotesque","Barlow Condensed",system-ui,sans-serif;
  --body:"Figtree",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font:"Figtree",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --mono:"Spline Sans Mono",ui-monospace,monospace;
}
body, body.admin, .wsx, .ws { background: var(--bg); }
.btn-sm--primary,.admin .btn-sm--primary,.wsx .btn-sm--primary,.btn--primary{ background:#157a54!important; color:#fff!important; border-color:#157a54!important; }
.btn-sm--primary:hover,.admin .btn-sm--primary:hover,.wsx .btn-sm--primary:hover,.btn--primary:hover{ background:#0f5c40!important; color:#fff!important; }
::selection{ background:#e4f1ea; color:#0f5c40; }

/* =====================================================================
   Part 2: "Garage" design system — scoped under .garage
   ===================================================================== */
.garage{
  --paper:#EEF1EA; --card:#FFFFFF; --card-2:#F6F8F3;
  --ink:#1E241C; --muted:#5B6357; --faint:#656D5E;
  --line:#E0E4DB; --line-2:#EAEDE4;
  --brand:#157A54; --brand-deep:#0F5C40; --brand-soft:#E4F1EA;
  --amber:#8B5E12; --amber-soft:#F6ECD6;
  --red:#B23A30; --red-soft:#F7E3E0;
  --shadow:0 1px 2px rgba(20,36,28,.05), 0 6px 18px rgba(20,36,28,.07);
  --shadow-lift:0 3px 8px rgba(20,36,28,.1), 0 12px 24px rgba(15,92,64,.13);
  --r:14px; --r-sm:9px; --r-pill:999px;
  color:var(--ink); font-family:"Figtree",system-ui,sans-serif;
  display:flex; flex-direction:column; gap:14px;
}
.garage .ico{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.garage .ico--sm{width:16px;height:16px}
.garage .mono{font-family:"Spline Sans Mono",monospace;font-variant-numeric:tabular-nums}
.garage h1,.garage h2,.garage h3{margin:0}
.garage a{color:var(--brand-deep)}

/* buttons */
.garage .btn{display:inline-flex;align-items:center;gap:8px;padding:9px 15px;border-radius:var(--r-sm);
  font-family:inherit;font-size:13.5px;font-weight:600;border:1px solid transparent;cursor:pointer;
  text-decoration:none;transition:.16s cubic-bezier(.16,1,.3,1)}
.garage .btn .ico{width:16px;height:16px}
.garage .btn--brand{background:var(--brand);color:#fff;box-shadow:0 2px 10px rgba(21,122,84,.3)}
.garage .btn--brand:hover{background:var(--brand-deep);transform:translateY(-1px);color:#fff}
.garage .btn--ghost{background:var(--card);border-color:var(--line);color:var(--ink)}
.garage .btn--ghost:hover{border-color:var(--brand);color:var(--brand-deep)}
.garage .btn--sm{padding:6px 11px;font-size:12.5px;border-radius:8px}
.garage .btn--tiny{padding:6px 12px;font-size:12px;border-radius:8px}
.garage .btn--ai{background:linear-gradient(135deg,var(--brand),var(--brand-deep));color:#fff;box-shadow:0 2px 10px rgba(21,122,84,.3)}
.garage .btn--ai:hover{filter:brightness(1.06);transform:translateY(-1px);color:#fff}
.garage .btn:active{transform:translateY(0) scale(.985)}

/* pills / chips / badges */
.garage .pill{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;padding:4px 10px;border-radius:6px}
.garage .pill .ico{width:13px;height:13px}
.garage .pill--green{background:var(--brand-soft);color:var(--brand-deep)}
.garage .pill--amber{background:var(--amber-soft);color:var(--amber)}
.garage .pill--red{background:var(--red-soft);color:var(--red)}
.garage .pill--grey,.garage .pill--grey2{background:var(--card-2);color:var(--muted);border:1px solid var(--line-2)}
.garage .pill--solid{background:var(--brand);color:#fff}
.garage .eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--faint)}

/* ---- Record head ---- */
.garage .ro-head{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden}
.garage .ro-head__top{display:flex;gap:18px;padding:18px 20px;flex-wrap:wrap}
.garage .vavatar{width:128px;height:104px;flex:none;border-radius:var(--r);background:linear-gradient(180deg,#EEF5F0,#E2EEE8);
  border:1px solid var(--line);display:grid;place-items:center;position:relative;overflow:hidden;color:var(--brand-deep)}
.garage .vsvg{width:96px;height:auto}
.garage .vsvg .ic-fill{fill:var(--brand-soft);stroke:var(--brand-deep);stroke-width:1.6}
.garage .vsvg .ic-win{fill:#fff;stroke:var(--brand-deep);stroke-width:1.4}
.garage .vsvg .ic-wheel{fill:#20301F;stroke:none}
.garage .vsvg .ic-hub{fill:#EAF3EC;stroke:none}
.garage .vavatar__badge{position:absolute;bottom:6px;right:6px;font-family:"Spline Sans Mono";font-size:11px;font-weight:600;color:var(--brand-deep);background:#fff;border:1px solid var(--line);border-radius:5px;padding:2px 7px;letter-spacing:.02em}
.garage .veh{flex:1;min-width:0}
.garage .veh__head{display:flex;gap:16px;flex-wrap:wrap;align-items:flex-start}
.garage .veh__id{min-width:0}
.garage .veh h1{font-size:25px;font-weight:800;letter-spacing:-.02em;line-height:1.12}
.garage .veh__meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}
.garage .chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;padding:4px 10px;border-radius:7px;background:var(--card-2);color:var(--muted);border:1px solid var(--line-2)}
.garage .chip .ico{width:14px;height:14px;color:var(--faint)}
.garage .chip--plate{background:var(--ink);color:#fff;font-weight:600;letter-spacing:.06em;border-color:var(--ink)}
.garage .veh__aside{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:10px;text-align:right}
.garage .status{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:12.5px;padding:6px 13px;border-radius:8px;background:var(--brand-soft);color:var(--brand-deep)}
.garage .status .ico{width:15px;height:15px}
.garage .status--amber{background:var(--amber-soft);color:var(--amber)}
.garage .status--blue{background:#E2ECFB;color:#2f5fb0}
.garage .status--green{background:var(--brand-soft);color:var(--brand-deep)}
.garage .status--red{background:var(--red-soft);color:var(--red)}
.garage .status--grey{background:var(--card-2);color:var(--muted)}
.garage .cust b{font-size:15px}
.garage .cust a{color:var(--brand-deep);text-decoration:none;font-weight:500;display:inline-flex;align-items:center;gap:5px;justify-content:flex-end;margin-top:2px}
.garage .cust a .ico{width:14px;height:14px}
.garage .cust-actions{display:flex;gap:6px;margin-top:8px;justify-content:flex-end}
.garage .cust-actions a,.garage .cust-actions button{width:32px;height:32px;border-radius:8px;border:1px solid var(--line);background:var(--card);color:var(--muted);display:grid;place-items:center;cursor:pointer;transition:.15s;text-decoration:none}
.garage .cust-actions a:hover,.garage .cust-actions button:hover{color:var(--brand-deep);border-color:var(--brand);background:var(--brand-soft)}
.garage .cust-actions .ico{width:16px;height:16px}
.garage .cust-stats{margin-top:7px;font-size:12px;color:var(--faint);display:flex;gap:0;flex-wrap:wrap;justify-content:flex-end}
.garage .cust-stats b{color:var(--brand-deep);font-weight:600}
.garage .ro-line{margin-top:11px;font-family:"Spline Sans Mono";font-size:12.5px;color:var(--muted);font-variant-numeric:tabular-nums;display:flex;flex-wrap:wrap;gap:2px 0;align-items:center}
.garage .ro-line .k{color:var(--ink);font-weight:500}
.garage .dot{margin:0 9px;color:var(--faint)}

/* ---- Stages ---- */
.garage .stages{display:flex;gap:6px;padding:14px 20px;background:var(--card-2);border-top:1px solid var(--line-2);overflow-x:auto}
.garage .stage{position:relative;flex:1 1 0;min-width:66px;display:flex;flex-direction:column;align-items:center;gap:8px}
.garage .stage::before{content:"";position:absolute;top:15px;left:-50%;width:100%;height:2px;background:var(--line);z-index:0}
.garage .stage:first-child::before{display:none}
.garage .stage__d{position:relative;width:32px;height:32px;border-radius:50%;background:var(--card);border:2px solid var(--line);display:grid;place-items:center;color:var(--faint);z-index:1;transition:.3s}
.garage .stage__d .ico{width:16px;height:16px}
.garage .stage__l{font-size:11px;color:var(--faint);font-weight:600;transition:.3s;text-align:center}
.garage .stage.done .stage__d{background:var(--brand);border-color:var(--brand);color:#fff}
.garage .stage.done::before{background:#8FC4AE}
.garage .stage.now .stage__d{background:#fff;border-color:var(--brand);color:var(--brand-deep);box-shadow:0 0 0 4px var(--brand-soft);animation:gr-nowGlow 2.4s ease-in-out infinite}
.garage .stage.now .stage__l{color:var(--brand-deep);font-weight:700}
.garage .stage.now .stage__d::after{content:"";position:absolute;inset:-3px;border-radius:50%;border:2px solid var(--brand);opacity:.55;pointer-events:none;animation:gr-nowPulse 2.4s ease-out infinite}
@keyframes gr-nowGlow{0%,100%{box-shadow:0 0 0 4px var(--brand-soft),0 0 0 0 rgba(21,122,84,0)}50%{box-shadow:0 0 0 5px var(--brand-soft),0 0 16px 3px rgba(21,122,84,.5)}}
@keyframes gr-nowPulse{0%{transform:scale(1);opacity:.55}70%,100%{transform:scale(1.6);opacity:0}}

/* ---- Toolbar + AI menu ---- */
.garage .ro-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.garage .ai-wrap{position:relative}
.garage .ai-menu{position:absolute;left:0;top:calc(100% + 8px);width:252px;background:var(--card);border-radius:12px;
  box-shadow:var(--shadow-lift),0 0 0 1px var(--line);padding:8px;z-index:70;opacity:0;transform:translateY(-6px) scale(.98);
  transform-origin:top left;pointer-events:none;transition:.18s cubic-bezier(.16,1,.3,1)}
.garage .ai-menu.show{opacity:1;transform:none;pointer-events:auto}
.garage .ai-menu__h{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);font-weight:700;padding:8px 10px 6px}
.garage .ai-menu button,.garage .ai-menu a{width:100%;display:flex;align-items:center;gap:10px;padding:9px 10px;border:none;background:none;border-radius:8px;
  cursor:pointer;font-family:inherit;font-size:13.5px;font-weight:500;color:var(--ink);text-align:left;transition:.12s;text-decoration:none}
.garage .ai-menu button:hover,.garage .ai-menu a:hover{background:var(--brand-soft);color:var(--brand-deep)}
.garage .ai-menu .ico{width:17px;height:17px;color:var(--brand);flex:none}
.garage .ro-toolbar__right{margin-left:auto;display:flex;gap:8px}

/* Print dropdown reuse */
.garage .ro__print-menu{position:relative}
.garage .ro__print-menu>summary{list-style:none}
.garage .ro__print-menu>summary::-webkit-details-marker{display:none}
.garage .ro__print-options{position:absolute;right:0;top:calc(100% + 6px);z-index:40;display:flex;flex-direction:column;min-width:190px;background:var(--card);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow-lift);padding:6px}
.garage .ro__print-options a{padding:8px 10px;border-radius:7px;font-size:13px;color:var(--ink);text-decoration:none}
.garage .ro__print-options a:hover{background:var(--brand-soft);color:var(--brand-deep)}

/* ---- Next action ---- */
.garage .nextaction{display:flex;align-items:center;gap:16px;background:var(--card);border:1px solid var(--line);
  border-radius:var(--r);box-shadow:var(--shadow);padding:16px 18px;position:relative;overflow:hidden}
.garage .nextaction::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--brand)}
.garage .nextaction__ico{flex:none;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand-deep)}
.garage .nextaction__ico .ico{width:24px;height:24px}
.garage .nextaction__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.garage .nextaction__body .eyebrow{color:var(--brand-deep)}
.garage .nextaction__body b{font-family:"Bricolage Grotesque";font-weight:700;font-size:17px;letter-spacing:-.01em}
.garage .nextaction__meta{font-size:12.5px;color:var(--muted)}
.garage .nextaction__meta b{font-family:inherit;font-weight:600;color:var(--ink);font-size:12.5px}
@media (max-width:560px){.garage .nextaction{flex-wrap:wrap}.garage .nextaction .btn{width:100%;justify-content:center}}

/* ---- Tabs ---- */
.garage .tabs{display:flex;gap:2px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none;position:relative}
.garage .tabs::-webkit-scrollbar{display:none}
.garage .tab{appearance:none;background:none;border:none;cursor:pointer;position:relative;padding:12px 14px;font-size:13.5px;font-weight:600;
  color:var(--muted);white-space:nowrap;font-family:"Figtree";display:inline-flex;align-items:center;gap:7px;text-decoration:none}
.garage .tab .ico{width:16px;height:16px;color:var(--faint);opacity:.85}
.garage .tab:hover{color:var(--ink)}
.garage .tab.on{color:var(--brand-deep)}
.garage .tab.on .ico{color:var(--brand);opacity:1}
.garage .tab.on::after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2.5px;background:var(--brand);border-radius:2px}
.garage .tab .count{font-size:11px;background:var(--card-2);color:var(--muted);padding:1px 7px;border-radius:var(--r-pill);font-weight:600;font-family:"Spline Sans Mono"}
.garage .tab.on .count{background:var(--brand-soft);color:var(--brand-deep)}

/* ---- Work grid + rail ---- */
.garage .work{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}
.garage .work__main{min-width:0;display:flex;flex-direction:column;gap:14px}
.garage .rail{position:sticky;top:14px;display:flex;flex-direction:column;gap:14px}
@media (max-width:1080px){.garage .work{grid-template-columns:1fr}.garage .rail{position:static}}

/* ---- Cards ---- */
.garage .card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}
.garage .card__h{display:flex;align-items:center;gap:9px;padding:13px 16px;border-bottom:1px solid var(--line-2)}
.garage .card__h .ico{color:var(--brand)}
.garage .card__h h2,.garage .card__h h3{font-size:15px;font-weight:700}
.garage .card__h .btn{margin-left:auto}
.garage .card__b{padding:16px}

/* ---- Job cards ---- */
.garage .job{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden;
  transition:box-shadow .24s ease,transform .24s cubic-bezier(.16,1,.3,1)}
.garage .job:hover{box-shadow:var(--shadow-lift);transform:translateY(-2px)}
.garage .job__h{display:flex;align-items:center;gap:11px;padding:13px 16px;cursor:pointer;user-select:none}
.garage .job__cat{flex:none;display:grid;place-items:center;color:var(--brand-deep);transition:transform .22s cubic-bezier(.16,1,.3,1)}
.garage .job__cat .ico{width:22px;height:22px}
.garage .job:hover .job__cat{transform:scale(1.08)}
.garage .job__h h3{font-size:15px;font-weight:700;min-width:0}
.garage .job__tag{font-size:11px;color:var(--faint);font-weight:600;background:var(--card-2);padding:2px 8px;border-radius:6px;font-family:"Spline Sans Mono";display:inline-flex;align-items:center;gap:4px}
.garage .job__tag .ico{width:12px;height:12px}
.garage .job__hr{margin-left:auto;display:flex;align-items:center;gap:12px}
.garage .job__htotal{font-family:"Spline Sans Mono";font-weight:600;font-size:15px;display:none}
.garage .job.collapsed .job__htotal{display:inline}
.garage .job__chev{border:0;background:none;color:var(--faint);display:grid;place-items:center;cursor:pointer;transition:transform .3s cubic-bezier(.16,1,.3,1)}
.garage .job.collapsed .job__chev{transform:rotate(-90deg)}
.garage .job__body{overflow:hidden;transition:max-height .34s cubic-bezier(.16,1,.3,1)}
.garage .job.collapsed .job__body{max-height:0!important}
.garage .job__lines{border-top:1px solid var(--line-2)}
.garage .line{display:grid;grid-template-columns:1fr auto;gap:6px 14px;padding:11px 16px;align-items:baseline;transition:background .15s}
.garage .line+.line{border-top:1px solid var(--line-2)}
.garage .line:hover{background:var(--card-2)}
.garage .line__label{display:flex;flex-direction:column;gap:4px;min-width:0}
.garage .line__label b{font-weight:600}
.garage .line__sub{font-size:12px;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.garage .line__amt{font-weight:500;font-size:14px;font-family:"Spline Sans Mono";font-variant-numeric:tabular-nums;white-space:nowrap}
.garage .badge-ai{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;color:var(--brand-deep);background:var(--brand-soft);padding:3px 8px;border-radius:6px}
.garage .badge-ai .ico{width:11px;height:11px}
.garage .badge-insp{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;color:var(--red);background:var(--red-soft);padding:3px 8px;border-radius:6px}
.garage .badge-insp .ico{width:11px;height:11px}
.garage .job__work{display:flex;flex-wrap:wrap;gap:8px 18px;padding:11px 16px;border-top:1px solid var(--line-2);align-items:center}
.garage .jw{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted)}
.garage .jw .ico{width:14px;height:14px}
.garage .jw b{color:var(--ink);font-weight:600}
.garage .jw--ok b,.garage .jw--ok .ico{color:var(--brand-deep)}
.garage .jw--warn b,.garage .jw--warn .ico{color:var(--amber)}
.garage .jw--state{margin-left:auto;font-weight:600;color:var(--ink)}
.garage .job__foot{display:flex;align-items:center;justify-content:space-between;padding:11px 16px;background:var(--card-2);border-top:1px solid var(--line-2)}
.garage .job__foot .t{font-size:11px;color:var(--muted);font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.garage .job__foot .v{font-family:"Spline Sans Mono";font-weight:600;font-size:16px}
.garage .job__actions{display:flex;gap:8px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid var(--line-2)}
.garage .addrow{display:flex;gap:10px;flex-wrap:wrap}

/* ---- Totals / money / approval ---- */
.garage .totals__row{display:flex;justify-content:space-between;padding:9px 0;font-size:13.5px;color:var(--muted)}
.garage .totals__row b{color:var(--ink);font-weight:500;font-family:"Spline Sans Mono";font-variant-numeric:tabular-nums}
.garage .totals__row+.totals__row{border-top:1px solid var(--line-2)}
.garage .totals__grand{display:flex;justify-content:space-between;align-items:baseline;margin-top:10px;padding-top:13px;border-top:2px solid var(--ink)}
.garage .totals__grand span{font-family:"Bricolage Grotesque";font-weight:700;font-size:14px}
.garage .totals__grand b{font-family:"Spline Sans Mono";font-weight:600;font-size:23px;color:var(--brand-deep)}
.garage .money{border-top:1px dashed var(--line);margin-top:12px;padding-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}
.garage .money div{display:flex;flex-direction:column;gap:1px}
.garage .money dt{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--faint);font-weight:600}
.garage .money dd{margin:0;font-family:"Spline Sans Mono";font-weight:600;font-size:14px}
.garage .money .gp dd{color:var(--brand-deep)}
.garage .approval{display:flex;flex-direction:column;gap:12px}
.garage .approval__amt{font-family:"Spline Sans Mono";font-weight:600;font-size:22px}
.garage .approval__note{font-size:12.5px;color:var(--muted)}
.garage .deliv{display:flex;flex-direction:column;gap:9px;padding-top:13px;margin-top:13px;border-top:1px dashed var(--line)}
.garage .deliv__row{display:flex;align-items:center;gap:10px;font-size:12.5px}
.garage .deliv__row .dico{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;flex:none}
.garage .deliv__row .dico .ico{width:12px;height:12px}
.garage .deliv__row.done .dico{background:var(--brand-soft);color:var(--brand-deep)}
.garage .deliv__row.now .dico{background:var(--amber-soft);color:var(--amber)}
.garage .deliv__row.todo .dico{background:var(--card-2);color:var(--faint)}
.garage .deliv__lbl b{font-weight:600}
.garage .deliv__lbl small{display:block;color:var(--faint);font-size:12px;margin-top:1px}
.garage .deliv__t{margin-left:auto;font-family:"Spline Sans Mono";font-size:12px;color:var(--faint)}
.garage .seen{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--brand-deep);font-weight:600}
.garage .seen .ico{width:14px;height:14px}

/* ---- Motion ---- */
.garage .reveal{opacity:0;transform:translateY(10px);animation:gr-rise .55s cubic-bezier(.16,1,.3,1) both}
@keyframes gr-rise{to{opacity:1;transform:none}}
.garage .vsvg{animation:gr-rollIn .8s cubic-bezier(.16,1,.3,1)}
@keyframes gr-rollIn{0%{transform:translateX(-30px)}72%{transform:translateX(3px)}100%{transform:translateX(0)}}
.garage .vwheel{transform-box:fill-box;transform-origin:center;animation:gr-spin .8s cubic-bezier(.16,1,.3,1)}
@keyframes gr-spin{from{transform:rotate(-230deg)}to{transform:rotate(0)}}

@media (max-width:560px){.garage .veh h1{font-size:20px}.garage .totals__grand b{font-size:20px}.garage .tab .txt{display:none}}
@media (prefers-reduced-motion:reduce){
  .garage .reveal,.garage .vsvg,.garage .vwheel,.garage .stage.now .stage__d,.garage .stage.now .stage__d::after{animation:none!important;opacity:1;transform:none}
  .garage *{transition:none!important}
}

/* ---- details-based menus (no JS) ---- */
.garage details.ai-wrap{position:relative}
.garage details.ai-wrap>summary{list-style:none}
.garage details.ai-wrap>summary::-webkit-details-marker{display:none}
.garage details.ai-wrap[open] .ai-menu{opacity:1;transform:none;pointer-events:auto}
.garage .ro__print-options{display:none}
.garage details.ro__print-menu[open] .ro__print-options{display:flex}

/* ---- editable facts strip (kept for real inline editing) ---- */
.garage .ro__facts{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;border:0;background:transparent}
.garage .ro__facts>div{flex:1 1 150px;min-width:140px;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:8px 12px}
.garage .ro__facts>div>span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--faint);margin-bottom:2px}
.garage .ro__facts strong{font-size:14px}
.garage .ro__facts form{margin:0}
.garage .ro__facts input,.garage .ro__facts select{width:100%;border:0;background:transparent;padding:1px 0;font-size:14px;font-weight:600;font-family:var(--body);color:var(--ink)}

/* ---- tabs (alias my markup to demo look) ---- */
.garage .ro__tabs{display:flex;gap:2px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.garage .ro__tabs::-webkit-scrollbar{display:none}
.garage .ro__tabs a{display:inline-flex;align-items:center;gap:7px;position:relative;padding:12px 14px;font-size:13.5px;font-weight:600;color:var(--muted);white-space:nowrap;text-decoration:none}
.garage .ro__tabs a:hover{color:var(--ink)}
.garage .ro__tabs a.is-on{color:var(--brand-deep)}
.garage .ro__tabs a.is-on::after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2.5px;background:var(--brand);border-radius:2px}
.garage .ro__tab-ico{display:inline-flex;color:var(--faint)}
.garage .ro__tab-ico svg{width:16px;height:16px}
.garage .ro__tabs a.is-on .ro__tab-ico{color:var(--brand)}
.garage .ro__tab-n{font-size:11px;background:var(--card-2);color:var(--muted);padding:1px 7px;border-radius:999px;font-weight:600;font-family:var(--mono)}
.garage .ro__tabs a.is-on .ro__tab-n{background:var(--brand-soft);color:var(--brand-deep)}
.garage .ro__tab-dot{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--red);color:#fff;font-size:10.5px;font-weight:700}

/* ---- next action (alias .gr-next) ---- */
.garage .gr-next{display:flex;align-items:center;gap:16px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:16px 18px;position:relative;overflow:hidden;margin:0}
.garage .gr-next::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--brand)}
.garage .gr-next__ico{flex:none;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand-deep)}
.garage .gr-next__ico svg{width:24px;height:24px}
.garage .gr-next__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.garage .gr-next__label{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--brand-deep)}
.garage .gr-next__title{font-family:"Bricolage Grotesque";font-weight:700;font-size:17px;letter-spacing:-.01em}
.garage .gr-next__why{font-size:12.5px;color:var(--muted)}
.garage .gr-next__btn{flex:none;display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border-radius:var(--r-sm);background:var(--brand);color:#fff;font-weight:600;text-decoration:none;box-shadow:0 2px 10px rgba(21,122,84,.3)}
.garage .gr-next__btn:hover{background:var(--brand-deep)}
@media(max-width:560px){.garage .gr-next{flex-wrap:wrap}.garage .gr-next__btn{width:100%;justify-content:center}}

/* ---- sections + estimate two-column rail (alias .estx) ---- */
.garage .ro__body{margin-top:14px;display:flex;flex-direction:column;gap:14px;position:relative;z-index:1}
.garage .ro__sec{margin:0}
.garage .ro__sec>h2{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--faint);margin:0 0 10px}
.garage .ro__lead,.garage .ro__none,.garage .ro__hint{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:14px 16px;margin:0;font-size:14px;color:var(--ink)}
.garage .ro__none,.garage .ro__hint{color:var(--muted)}
.garage .ro__ai-panel,.garage .ro__ai-draft{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:14px 16px}
.garage .ro__sec--estimate .estx{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}
.garage .estx__main{min-width:0;display:flex;flex-direction:column;gap:14px}
.garage .estx__side{position:sticky;top:14px;margin-top:46px;display:flex;flex-direction:column;gap:14px}
.garage .estx__card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}
.garage .estx__card-h{display:flex;align-items:center;gap:9px;padding:13px 16px;border-bottom:1px solid var(--line-2);font-size:15px;font-weight:700}
.garage .estx__card-h svg{width:19px;height:19px;color:var(--brand)}
.garage .estx__totals{display:grid;grid-template-columns:1fr auto;gap:9px 12px;margin:0;padding:16px 16px 0}
.garage .estx__totals dt{font-size:13px;color:var(--muted)}
.garage .estx__totals dd{margin:0;text-align:right;font-family:var(--mono);font-size:13px;color:var(--ink)}
.garage .estx__grand{display:flex;justify-content:space-between;align-items:baseline;margin:12px 16px 0;padding:13px 0 16px;border-top:2px solid var(--ink)}
.garage .estx__grand span{font-family:"Bricolage Grotesque";font-weight:700;font-size:14px}
.garage .estx__grand strong{font-family:var(--mono);font-weight:600;font-size:23px;color:var(--brand-deep)}
.garage .estx__split{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 16px 16px}
.garage .estx__split div{background:var(--card-2);border:1px solid var(--line-2);border-radius:9px;padding:9px 10px}
.garage .estx__split span{display:block;font-size:11px;color:var(--faint);text-transform:uppercase;letter-spacing:.05em}
.garage .estx__split strong{font-family:var(--mono);font-size:15px}
@media(max-width:1080px){.garage .ro__sec--estimate .estx{grid-template-columns:1fr}.garage .estx__side{position:static;margin-top:0}}

/* misc live helpers inside garage */
.garage .rohx__declined{color:var(--red);font-weight:600}
.garage .ro__totals{display:grid;grid-template-columns:1fr auto;gap:8px 12px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:16px}
.garage .ro__totals dt{font-size:13px;color:var(--muted)}.garage .ro__totals dd{margin:0;text-align:right;font-family:var(--mono);font-size:13px}
.garage .ro__totals dt.is-total{font-weight:700;color:var(--ink)}.garage .ro__totals dd.is-total{font-weight:700;color:var(--brand-deep)}
.garage .ro__due{color:var(--red)}
.garage .ro__ai-note{font-size:12.5px;color:var(--muted)}

/* ---- job body animation + editable line controls ---- */
.garage .job__body{max-height:3000px}
.garage .job__desc{margin:0;padding:11px 16px;font-size:13px;color:var(--muted);border-top:1px solid var(--line-2)}
.garage .job__desc--cust{color:var(--brand-deep)}
.garage .line--edit{grid-template-columns:1fr auto}
.garage .line__edit{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.garage .line__edit form.lx{display:inline-flex;align-items:center;gap:3px;margin:0;background:var(--card-2);border:1px solid var(--line);border-radius:8px;padding:3px 7px}
.garage .line__edit input{width:54px;border:0;background:transparent;font-family:var(--mono);font-size:13px;text-align:right;color:var(--ink)}
.garage .line__edit .lx__u{font-size:11px;color:var(--faint)}
.garage .line__edit .line__amt{min-width:74px;text-align:right}
.garage .lx__x{border:0;background:none;color:var(--faint);font-size:17px;line-height:1;cursor:pointer;padding:2px 4px;border-radius:6px}
.garage .lx__x:hover{background:var(--red-soft);color:var(--red)}
.garage .job__addline{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0}
.garage .job__addline input[type=text]{flex:1;min-width:150px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-family:inherit;font-size:13px;background:var(--card)}
.garage .job__addline input[type=number]{width:70px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-family:inherit;font-size:13px;background:var(--card)}
.garage .job__del{margin:0}
.garage .job__delbtn{color:var(--red)!important;border-color:var(--line)!important}
.garage .job__delbtn:hover{border-color:var(--red)!important;background:var(--red-soft)!important}
.garage .rj__guide-status{font-size:12px;color:var(--muted)}
.garage .job__addjob,.garage .ro__addjob{display:flex;gap:8px;flex-wrap:wrap;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:14px 16px}
.garage .ro__addjob input[type=text]{flex:1;min-width:180px;border:1px solid var(--line);border-radius:8px;padding:9px 11px;font-family:inherit;font-size:13.5px;background:var(--card)}

/* =====================================================================
   Part 3: shell (sidebar + top bar) restyled to the Garage demo.
   CSS only, scoped to body.ws — every workshop admin page. Layout
   mechanics (grid, collapse) are left to the existing rules.
   ===================================================================== */
body.ws{ --g-brand:#157A54; --g-deep:#0F5C40; --g-soft:#E4F1EA; --g-line:#E0E4DB;
  --g-ink:#1E241C; --g-muted:#5B6357; --g-faint:#656D5E; --g-card:#fff; --g-card2:#F6F8F3; }

/* ---- Sidebar ---- */
body.ws .sidebar{ background:var(--g-card); border-right:1px solid var(--g-line); }
body.ws .sidebar__brand{ display:flex; align-items:center; gap:11px; padding:16px 12px 10px; border:0; }
body.ws .sidebar__star{ width:36px; height:36px; border-radius:10px; display:grid; place-items:center;
  background:var(--g-brand); color:#fff; font-size:19px; line-height:1;
  box-shadow:0 3px 10px rgba(21,122,84,.35); }
body.ws .sidebar__brand strong{ font-family:"Bricolage Grotesque",sans-serif; font-weight:800;
  font-size:16px; letter-spacing:.01em; color:var(--g-ink); display:block; }
body.ws .sidebar__brand small{ display:block; font-size:11.5px; color:var(--g-faint); font-weight:500; }
body.ws .sidebar__label{ font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--g-faint); padding:14px 12px 6px; font-weight:700; margin:0; }
body.ws .sidebar__nav{ padding:0 8px; }
body.ws .sidebar__nav a{ display:flex; align-items:center; gap:11px; padding:9px 11px;
  border-radius:9px; color:var(--g-muted); text-decoration:none; font-weight:500;
  font-size:13.5px; transition:background .15s,color .15s; margin:1px 0; }
body.ws .sidebar__nav a:hover{ background:var(--g-card2); color:var(--g-ink); }
body.ws .sidebar__nav a.is-active{ background:var(--g-soft); color:var(--g-deep); font-weight:600; }
body.ws .sidebar__nav a svg{ width:19px; height:19px; flex:none; opacity:.9; }
body.ws .sidebar__nav a.is-active svg{ color:var(--g-brand); opacity:1; }
body.ws .sidebar__foot{ margin-top:auto; padding:12px; border-top:1px solid var(--g-line); }
body.ws .sidebar__view{ color:var(--g-deep); font-weight:600; text-decoration:none; font-size:13px; }
body.ws .sidebar__user{ margin:10px 0 6px; font-size:13px; font-weight:600; color:var(--g-ink);
  display:flex; align-items:center; gap:8px; }
body.ws .sidebar__role{ font-size:10.5px; text-transform:uppercase; letter-spacing:.06em;
  background:var(--g-soft); color:var(--g-deep); padding:2px 7px; border-radius:999px; font-weight:700; }
body.ws .sidebar__staff{ display:block; font-size:12.5px; color:var(--g-muted); text-decoration:none; padding:3px 0; }
body.ws .sidebar__staff:hover{ color:var(--g-deep); }
body.ws .sidebar__foot form button{ margin-top:8px; font-size:12.5px; color:var(--g-muted);
  background:none; border:0; cursor:pointer; padding:0; }
body.ws .sidebar__foot form button:hover{ color:var(--red,#B23A30); }

/* ---- Top bar ---- */
body.ws .ws-top{ background:color-mix(in srgb,#EEF1EA 85%,transparent); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--g-line); display:flex; align-items:center; gap:14px; padding:11px 20px; }
body.ws .ws-burger span{ background:var(--g-ink); }
body.ws .ws-brand{ display:inline-flex; align-items:center; gap:7px; color:var(--g-ink);
  font-family:"Bricolage Grotesque",sans-serif; font-weight:800; text-decoration:none; }
body.ws .ws-brand span{ color:var(--g-brand); }
@media(min-width:900px){ body.ws .ws-brand{ display:none; } }
body.ws .ws-find{ flex:1; max-width:540px; position:relative; display:flex; align-items:center; }
body.ws .ws-find svg{ position:absolute; left:13px; color:var(--g-faint); width:17px; height:17px; }
body.ws .ws-find input{ width:100%; padding:9px 12px 9px 38px; border:1px solid var(--g-line);
  border-radius:999px; background:var(--g-card); color:var(--g-ink); font-size:13.5px; font-family:inherit; }
body.ws .ws-find input:focus{ outline:none; border-color:var(--g-brand); box-shadow:0 0 0 3px var(--g-soft); }
body.ws .ws-find kbd{ position:absolute; right:12px; font-family:var(--mono); font-size:11px;
  color:var(--g-faint); border:1px solid var(--g-line); border-radius:5px; padding:1px 6px; background:var(--g-card2); }
body.ws .ws-top__end{ display:flex; align-items:center; gap:10px; margin-left:auto; }
body.ws .ws-new{ background:var(--g-brand); color:#fff; border-radius:10px; padding:9px 15px;
  display:inline-flex; align-items:center; gap:7px; font-weight:600; font-size:13.5px;
  text-decoration:none; box-shadow:0 2px 10px rgba(21,122,84,.3); transition:.15s; }
body.ws .ws-new:hover{ background:var(--g-deep); transform:translateY(-1px); }
body.ws .ws-iconbtn{ width:38px; height:38px; border-radius:10px; border:1px solid var(--g-line);
  background:var(--g-card); color:var(--g-muted); display:grid; place-items:center; cursor:pointer;
  position:relative; transition:.15s; }
body.ws .ws-iconbtn:hover{ color:var(--g-ink); border-color:var(--g-brand); }
body.ws .ws-iconbtn__badge{ position:absolute; top:-4px; right:-4px; min-width:17px; height:17px;
  padding:0 4px; border-radius:999px; background:var(--red,#B23A30); color:#fff; font-size:10.5px;
  font-weight:700; display:grid; place-items:center; border:2px solid var(--g-card); }

/* =====================================================================
   Part 4: Repair-orders list + shop floor (scoped .garage)
   ===================================================================== */
/* header + filters (alias the existing wq classes) */
.garage .wq__head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.garage .wq__head h1{font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:26px;letter-spacing:-.02em;margin:2px 0 0}
.garage .wq__sub{font-size:13px;color:var(--muted);margin:4px 0 0}
.garage .wq__date{font-size:13px;color:var(--faint)}
.garage .wq__metrics{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.garage .wq__metric{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--card);color:var(--muted);padding:7px 14px;border-radius:var(--r-pill);font-size:12.5px;font-weight:600;text-decoration:none;transition:.15s}
.garage .wq__metric:hover{border-color:var(--brand);color:var(--brand-deep)}
.garage .wq__metric.is-on{background:var(--brand);color:#fff;border-color:var(--brand)}
.garage .wq__metric .wq__label{font-weight:600}
.garage .wq__metric .wq__n{font-family:var(--mono);opacity:.75;font-size:12px}
.garage .wq__metric.is-on .wq__n{opacity:.9}
.garage .wq__metric.is-empty{opacity:.55}
.garage .wq__bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.garage .wq__views{display:flex;gap:2px;background:var(--card-2);border-radius:9px;padding:3px}
.garage .wq__views a{padding:6px 14px;border-radius:7px;font-size:13px;font-weight:600;color:var(--muted);text-decoration:none}
.garage .wq__views a.is-on{background:var(--card);color:var(--brand-deep);box-shadow:var(--shadow)}
.garage .wq__find{flex:1;min-width:220px;max-width:460px}
.garage .wq__find input{width:100%;padding:9px 14px;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--card);font-size:13.5px;font-family:inherit}
.garage .wq__find input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
.garage .wq__empty{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:40px 20px;text-align:center;color:var(--muted)}

/* list */
.garage .rolist{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden}
.garage .rorow-wrap{position:relative}
.garage .rorow-wrap+.rorow-wrap{border-top:1px solid var(--line-2)}
.garage .rorow{display:grid;grid-template-columns:104px 1fr auto;gap:18px;align-items:center;padding:14px 18px;padding-right:46px;text-decoration:none;color:var(--ink);transition:background .15s}
.garage .rorow:hover{background:var(--card-2)}
.garage .rorow__no{font-family:var(--mono);font-weight:600;font-size:14px;color:var(--ink)}
.garage .rorow__no small{display:block;font-size:11px;color:var(--faint);font-weight:500;margin-top:3px;letter-spacing:.04em}
.garage .rorow__main{min-width:0}
.garage .rorow__veh{font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:15px;letter-spacing:-.01em}
.garage .rorow__sub{font-size:12.5px;color:var(--muted);display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:5px}
.garage .rorow__cats{display:inline-flex;gap:5px}
.garage .rorow__cats .ico{width:16px;height:16px;color:var(--brand-deep)}
.garage .rorow__right{display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:right}
.garage .rorow__amt{font-family:var(--mono);font-weight:600;font-size:15px}
.garage .rorow__when{font-size:12px;color:var(--faint)}
.garage .rorow-wrap.is-urgent .rorow{box-shadow:inset 3px 0 0 var(--amber)}
/* row action menu */
.garage .rorow-wrap .rowmenu{position:absolute;top:12px;right:12px}
.garage .rowmenu>summary{list-style:none;cursor:pointer;width:28px;height:28px;border-radius:7px;display:grid;place-items:center;color:var(--faint);font-size:18px;line-height:1}
.garage .rowmenu>summary::-webkit-details-marker{display:none}
.garage .rowmenu>summary:hover{background:var(--card-2);color:var(--ink)}
.garage .rowmenu__panel{position:absolute;right:0;top:calc(100% + 4px);z-index:30;width:240px;background:var(--card);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow-lift);padding:6px;display:flex;flex-direction:column;gap:2px}
.garage .rowmenu__panel a,.garage .rowmenu__item{display:block;width:100%;text-align:left;padding:8px 10px;border-radius:7px;font-size:13px;color:var(--ink);text-decoration:none;background:none;border:0;cursor:pointer;font-family:inherit}
.garage .rowmenu__panel a:hover,.garage .rowmenu__item:hover{background:var(--brand-soft);color:var(--brand-deep)}
.garage .rowmenu__item small{display:block;font-size:11px;color:var(--faint);font-weight:400;margin-top:1px}
.garage .rowmenu__item.is-warn:hover{background:var(--amber-soft);color:var(--amber)}
.garage .rowmenu__item.is-bad:hover{background:var(--red-soft);color:var(--red)}
.garage .rowmenu__form{margin:0}
@media(max-width:640px){.garage .rorow{grid-template-columns:1fr auto}.garage .rorow__no{display:none}}

/* board (kanban) alias */
.garage .wb{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;align-items:start}
.garage .wb__col{background:var(--card-2);border:1px solid var(--line-2);border-radius:var(--r);padding:10px}
.garage .wb__head{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--faint);padding:4px 6px 10px}
.garage .wb__n{background:var(--card);border:1px solid var(--line);border-radius:999px;padding:1px 8px;font-family:var(--mono)}
.garage .wb__card{display:block;background:var(--card);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);padding:12px;text-decoration:none;color:var(--ink);margin-bottom:9px;transition:.18s}
.garage .wb__card:hover{box-shadow:var(--shadow-lift);transform:translateY(-2px)}
.garage .wb__card strong{font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:14px;display:block}
.garage .wb__meta{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.garage .wb__do{display:block;font-size:12.5px;font-weight:600;color:var(--brand-deep);margin-top:7px}
.garage .wb__cash{display:block;font-family:var(--mono);font-size:12px;margin-top:5px;color:var(--muted)}
.garage .wb__none{color:var(--faint);font-size:12.5px;text-align:center;padding:10px}
.garage .wb__card.is-urgent{border-left:3px solid var(--amber)}

/* ---- estimate line inputs: clean, single-box, full value ---- */
.garage .line--edit{grid-template-columns:minmax(0,1fr) auto}
.garage .line__edit{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.garage .line__edit form.lx{display:inline-flex;align-items:center;gap:4px;margin:0;background:none;border:0;padding:0}
.garage .line__edit input{width:76px;border:1px solid var(--line);border-radius:8px;background:var(--card);
  padding:6px 8px;font-family:var(--mono);font-size:13px;text-align:right;color:var(--ink)}
.garage .line__edit input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
.garage .line__edit .lx__u{font-size:12px;color:var(--faint)}
.garage .line__edit .line__amt{min-width:82px;text-align:right;font-weight:600}
@media(max-width:560px){.garage .line--edit{grid-template-columns:1fr}.garage .line__edit{justify-content:flex-start;flex-wrap:wrap;margin-top:8px}}

/* ---- tab switch: animate the content, keep the shell steady ---- */
.garage .ro__body{view-transition-name:gr-body}
.garage .ro-head{view-transition-name:gr-head}
.garage .ro-toolbar{view-transition-name:gr-tools}
.garage .ro__tabs{view-transition-name:gr-tabs}
.garage .ro__facts{view-transition-name:gr-facts}
::view-transition-group(gr-head),::view-transition-group(gr-tools),
::view-transition-group(gr-tabs),::view-transition-group(gr-facts){animation-duration:.01ms}
::view-transition-old(gr-body){animation:gr-vt-out .15s ease both}
::view-transition-new(gr-body){animation:gr-vt-in .30s cubic-bezier(.16,1,.3,1) both}
@keyframes gr-vt-out{to{opacity:0;transform:translateY(-4px)}}
@keyframes gr-vt-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
  ::view-transition-old(gr-body),::view-transition-new(gr-body){animation:none!important}}

/* ---- 5-tab IA: clickable stages, More dropdown, Work filters ---- */
.garage .ro__tabs{overflow:visible;position:relative;z-index:30}
.garage a.stage{text-decoration:none;color:inherit;cursor:pointer}
.garage a.stage:hover .stage__d{border-color:var(--brand);color:var(--brand-deep)}
.garage a.stage:hover .stage__l{color:var(--brand-deep)}
.garage .ro__more{position:relative}
.garage .ro__more>summary{list-style:none;display:inline-flex;align-items:center;gap:7px;position:relative;padding:12px 14px;font-size:13.5px;font-weight:600;color:var(--muted);white-space:nowrap;cursor:pointer}
.garage .ro__more>summary::-webkit-details-marker{display:none}
.garage .ro__more>summary:hover{color:var(--ink)}
.garage .ro__more .ro__tab-ico{display:inline-flex;color:var(--faint)}
.garage .ro__more .ro__tab-ico svg{width:16px;height:16px}
.garage .ro__more.is-on>summary{color:var(--brand-deep)}
.garage .ro__more.is-on>summary .ro__tab-ico{color:var(--brand)}
.garage .ro__more.is-on>summary::after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2.5px;background:var(--brand);border-radius:2px}
.garage .ro__more-chev{transition:transform .2s}
.garage .ro__more[open]>summary .ro__more-chev{transform:rotate(180deg)}
.garage .ro__more-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:90;min-width:214px;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-lift);padding:7px;display:flex;flex-direction:column;gap:2px}
.garage .ro__more-menu a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;font-size:13.5px;font-weight:500;color:var(--ink);text-decoration:none}
.garage .ro__more-menu a:hover,.garage .ro__more-menu a.is-here{background:var(--brand-soft);color:var(--brand-deep)}
.garage .ro__more-menu a .ico{width:18px;height:18px;color:var(--brand);flex:none}
.garage .ro__more-menu a>span{flex:1}
.garage .ro__more-menu .ro__tab-n{background:var(--card-2);color:var(--muted)}
.garage .workfilter{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.garage .workfilter__chip{padding:6px 13px;border-radius:999px;border:1px solid var(--line);background:var(--card);color:var(--muted);font-size:12.5px;font-weight:600;text-decoration:none}
.garage .workfilter__chip:hover{border-color:var(--brand);color:var(--brand-deep)}
.garage .workfilter__chip.is-on{background:var(--brand);color:#fff;border-color:var(--brand)}

/* ---- job action buttons: override the app's dark default submit style ---- */
.garage .job__actions button,
.garage .job__actions .btn{
  padding:8px 14px !important; font-size:12.5px !important; font-weight:600 !important;
  border-radius:8px !important; border:1px solid var(--line) !important;
  background:var(--card) !important; color:var(--ink) !important; box-shadow:none !important;
  cursor:pointer; transition:.15s;
}
.garage .job__actions .ro__labor-find:hover,
.garage .job__actions button:hover{ border-color:var(--brand) !important; color:var(--brand-deep) !important; }
/* + Labor is the primary add action → brand green */
.garage .job__addline button[type=submit]{
  background:var(--brand) !important; color:#fff !important; border-color:var(--brand) !important;
}
.garage .job__addline button[type=submit]:hover{ background:var(--brand-deep) !important; border-color:var(--brand-deep) !important; color:#fff !important; }
/* Delete job is destructive but quiet until hovered */
.garage .job__actions .job__delbtn{ color:var(--red) !important; border-color:var(--line) !important; background:var(--card) !important; }
.garage .job__actions .job__delbtn:hover{ border-color:var(--red) !important; background:var(--red-soft) !important; color:var(--red) !important; }
/* tidy the inline add-labor fields to match */
.garage .job__addline{ align-items:center; gap:8px; }
.garage .job__addline input[type=text]{ min-width:190px; }

/* ---- record-approval popover (in place of the separate page) ---- */
.garage .ro__approve{position:relative;display:inline-block}
.garage .ro__approve>summary{list-style:none;cursor:pointer}
.garage .ro__approve>summary::-webkit-details-marker{display:none}
.garage .ro__approve-pop{position:absolute;left:0;top:calc(100% + 8px);z-index:90;width:300px;
  background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-lift);padding:14px}
.garage .ro__approve-pop form{margin:0;display:flex;flex-direction:column;gap:8px}
.garage .ro__approve-lbl{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--faint);font-weight:700}
.garage .ro__approve-name{border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-family:inherit;font-size:13.5px;background:var(--card);color:var(--ink)}
.garage .ro__approve-name:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
.garage .ro__approve-methods{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.garage .ro__approve-methods label{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--ink);
  border:1px solid var(--line);border-radius:8px;padding:7px 9px;cursor:pointer}
.garage .ro__approve-methods input{accent-color:var(--brand)}
.garage .ro__approve-methods label:has(input:checked){border-color:var(--brand);background:var(--brand-soft);color:var(--brand-deep)}
.garage .ro__approve-go{justify-content:center;margin-top:2px}
.garage .ro__approve-detail{display:block;margin-top:10px;font-size:12.5px;color:var(--brand-deep);text-decoration:none}
.garage .ro__approve-detail:hover{text-decoration:underline}

/* ---- lift the AI Assistant menu above facts/tabs when open ---- */
.garage .ro-toolbar{position:relative;z-index:20}
.garage .ro-toolbar:has(.ai-wrap[open]){z-index:130}
.garage .ai-wrap[open]{position:relative;z-index:130}
.garage .ai-menu{z-index:140;background:var(--card)}

/* ---- Share dropdown (Estimate / Inspection / Invoice to the customer) ---- */
.garage .ro__share-menu{position:relative}
.garage .ro__share-menu>summary{list-style:none}
.garage .ro__share-menu>summary::-webkit-details-marker{display:none}
.garage .ro__share-options{position:absolute;right:0;top:calc(100% + 6px);z-index:140;display:flex;flex-direction:column;min-width:210px;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-lift);padding:7px}
.garage .ro__share-options a,.garage .ro__share-options button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:9px 10px;border-radius:8px;font-size:13.5px;font-weight:500;color:var(--ink);text-decoration:none;background:none;border:0;cursor:pointer;font-family:inherit}
.garage .ro__share-options a:hover,.garage .ro__share-options button:hover{background:var(--brand-soft);color:var(--brand-deep)}
.garage .ro__share-options .ico{width:18px;height:18px;color:var(--brand);flex:none}
.garage .ro-toolbar:has(.ro__share-menu[open]){z-index:130}

/* ---- share dialog (send a customer link by text/email) ---- */
#gr-sharebox{position:fixed;inset:0;z-index:300;display:none;align-items:center;justify-content:center;background:rgba(20,36,28,.45);padding:20px}
#gr-sharebox.is-open{display:flex}
#gr-sharebox .gr-sharebox__panel{background:var(--card,#fff);border-radius:16px;box-shadow:0 20px 60px rgba(20,36,28,.3);width:100%;max-width:440px;padding:22px;position:relative;font-family:"Figtree",sans-serif;color:var(--ink,#1E241C)}
#gr-sharebox .gr-sharebox__x{position:absolute;top:10px;right:14px;border:0;background:none;font-size:24px;line-height:1;color:var(--faint,#656D5E);cursor:pointer}
#gr-sharebox .gr-sharebox__h{margin:0 0 14px;font-size:17px;font-family:"Bricolage Grotesque",sans-serif;font-weight:800}
#gr-sharebox .gr-sharebox__lbl{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--faint,#656D5E);font-weight:700;margin:12px 0 5px}
#gr-sharebox .gr-sharebox__link{display:flex;gap:8px}
#gr-sharebox .gr-sharebox__link input{flex:1;min-width:0;border:1px solid var(--line,#E0E4DB);border-radius:8px;padding:8px 10px;font-family:"Spline Sans Mono",monospace;font-size:12.5px;color:var(--ink,#1E241C);background:var(--card-2,#F6F8F3)}
#gr-sharebox .gr-sharebox__form{margin:0}
#gr-sharebox .gr-sharebox__form textarea{width:100%;border:1px solid var(--line,#E0E4DB);border-radius:10px;padding:10px 12px;font-family:inherit;font-size:13.5px;line-height:1.5;resize:vertical;min-height:96px;background:var(--card,#fff);color:var(--ink,#1E241C)}
#gr-sharebox .gr-sharebox__form textarea:focus{outline:none;border-color:var(--brand,#157A54);box-shadow:0 0 0 3px var(--brand-soft,#E4F1EA)}
#gr-sharebox .gr-sharebox__ch{display:flex;flex-direction:column;gap:8px;margin:12px 0}
#gr-sharebox .gr-sharebox__ch label{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--ink,#1E241C)}
#gr-sharebox .gr-sharebox__ch input{accent-color:var(--brand,#157A54)}
#gr-sharebox .gr-sharebox__foot{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}
#gr-sharebox .gr-sharebox__none{font-size:13px;color:var(--muted,#5B6357);margin:10px 0 14px}

/* ---- inline-editable job title, line description, notes ---- */
.garage .job__namef{flex:1;min-width:0;margin:0}
.garage .job__name-input{width:100%;border:1px solid transparent;border-radius:8px;padding:4px 8px;margin:-4px -6px;
  font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:15px;color:var(--ink);background:transparent;transition:.12s}
.garage .job__name-input:hover{border-color:var(--line);background:var(--card-2)}
.garage .job__name-input:focus{outline:none;border-color:var(--brand);background:var(--card);box-shadow:0 0 0 3px var(--brand-soft)}
.garage .line__descf{margin:0}
.garage .line__desc-input{width:100%;border:1px solid transparent;border-radius:7px;padding:5px 8px;margin:-5px -8px;
  font-family:"Figtree",sans-serif;font-size:14px;font-weight:600;color:var(--ink);background:transparent;transition:.12s}
.garage .line__desc-input:hover{border-color:var(--line);background:var(--card-2)}
.garage .line__desc-input:focus{outline:none;border-color:var(--brand);background:var(--card);box-shadow:0 0 0 3px var(--brand-soft)}
.garage .job__notesf{margin:0;padding:2px 16px 10px}
.garage .job__notes{width:100%;border:1px solid var(--line);border-radius:9px;padding:8px 10px;font-family:inherit;
  font-size:13px;line-height:1.5;color:var(--ink);background:var(--card-2);resize:vertical;min-height:38px}
.garage .job__notes:focus{outline:none;border-color:var(--brand);background:var(--card);box-shadow:0 0 0 3px var(--brand-soft)}

/* ---- pencil-toggle editing (fields hidden until Edit) ---- */
.garage .job__namef,.garage .job__notesf,.garage .line__descf{display:none}
.garage .job__name-show{flex:1;min-width:0}
.garage .job--editing .job__name-show,.garage .job--editing .line__desc-show{display:none}
.garage .job--editing .job__namef{display:block;flex:1;min-width:0}
.garage .job--editing .job__notesf{display:block}
.garage .job--editing .line__descf{display:block}
.garage .line__desc-show{font-weight:600;color:var(--ink);display:inline-block}
.garage .job__edit{border:0;background:none;color:var(--faint);display:grid;place-items:center;width:28px;height:28px;border-radius:7px;cursor:pointer;transition:.12s}
.garage .job__edit:hover{background:var(--brand-soft);color:var(--brand-deep)}
.garage .job--editing .job__edit{background:var(--brand);color:#fff}

/* ---- labor line: clean by default, hours/rate/delete only in edit mode ---- */
.garage .line__right{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.garage .line__edit{display:none}
.garage .job--editing .line__edit{display:flex}
.garage .job--editing .line__amt-show{display:none}
.garage .job--editing .line__sub-show{display:none}

/* ---- explicit Save (no auto-submit); .lx now spans ---- */
.garage .line__edit .lx{display:inline-flex;align-items:center;gap:4px;margin:0;background:none;border:0;padding:0}
.garage .job__savebar{display:none;gap:8px;padding:12px 16px 0}
.garage .job--editing .job__savebar{display:flex}

/* ---- edit toolbar at the top of the card, revealed by the pencil ---- */
.garage .job__toolbar{display:none;flex-direction:column;gap:10px;padding:12px 16px;background:var(--card-2);border-bottom:1px solid var(--line-2)}
.garage .job--editing .job__toolbar{display:flex}
.garage .job__toolbar .job__savebar{display:flex;padding:0}
.garage .job__toolbar .job__actions{display:flex;padding:0;border-top:0}

/* ---- Save/Cancel buttons match the Garage buttons ---- */
.garage .job__savebar button,.garage .job__savebar .btn{padding:9px 16px !important;font-size:13.5px !important;font-weight:600 !important;border-radius:9px !important;box-shadow:none !important;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.garage .job__savebar button[type=submit]{background:var(--brand) !important;color:#fff !important;border:1px solid var(--brand) !important}
.garage .job__savebar button[type=submit]:hover{background:var(--brand-deep) !important;border-color:var(--brand-deep) !important}
.garage .job__savebar .job__canceledit{background:var(--card) !important;color:var(--ink) !important;border:1px solid var(--line) !important}
.garage .job__savebar .job__canceledit:hover{border-color:var(--brand) !important;color:var(--brand-deep) !important}

/* ---- Unapprove is destructive (red) ---- */
.garage .ro__unapprove{background:var(--red-soft) !important;color:var(--red) !important;border:1px solid #e7c6c1 !important;box-shadow:none !important}
.garage .ro__unapprove:hover{background:var(--red) !important;color:#fff !important;border-color:var(--red) !important}
/* ---- notifications: mark all read ---- */
body.ws .ws-pop__head{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.ws .ws-pop__seen{border:0;background:none;color:var(--g-brand,#157A54);font-size:12px;font-weight:600;cursor:pointer;padding:2px 4px;border-radius:6px}
body.ws .ws-pop__seen:hover{background:var(--g-soft,#E4F1EA);color:var(--g-deep,#0F5C40)}

/* ---- + add-work button on the job header ---- */
.garage .job__add{border:0;background:none;color:var(--brand-deep);display:grid;place-items:center;width:28px;height:28px;border-radius:7px;cursor:pointer;transition:.12s}
.garage .job__add:hover{background:var(--brand-soft)}

/* ---- Unapprove: solid red (matches the solid Request approval button) ---- */
.garage .ro__unapprove{background:var(--red) !important;color:#fff !important;border:1px solid var(--red) !important;box-shadow:0 2px 10px rgba(178,58,48,.28) !important}
.garage .ro__unapprove:hover{background:#8f2d24 !important;border-color:#8f2d24 !important;color:#fff !important}

/* ---- Overview: summary home (distinct from Work) ---- */
.garage .ov-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
.garage .ov-stat{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:14px 16px;text-decoration:none;color:var(--ink);display:block}
.garage .ov-stat>span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--faint);font-weight:700}
.garage .ov-stat>strong{display:block;margin-top:5px;font-family:var(--mono);font-weight:600;font-size:18px}
.garage .ov-stat--warn{color:var(--amber)}
.garage .ov-stat--link:hover{border-color:var(--brand)}
.garage .ov-stat--link>strong{color:var(--brand-deep)}
.garage .ov-jobs{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden}
.garage .ov-job{display:flex;align-items:center;gap:12px;padding:13px 16px;text-decoration:none;color:var(--ink);transition:background .15s}
.garage .ov-job+.ov-job{border-top:1px solid var(--line-2)}
.garage .ov-job:hover{background:var(--card-2)}
.garage .ov-job__pill{flex:none}
.garage .ov-job__name{flex:1;min-width:0;font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.garage .ov-job__amt{flex:none;font-family:var(--mono);font-weight:600;font-size:14px}
.garage .ov-jobs__all{margin-top:10px}

/* ---- branded navigation loader (spinning gear) ---- */
.gr-loading{position:fixed;inset:0;z-index:400;display:none;align-items:center;justify-content:center;background:rgba(238,241,234,.62);backdrop-filter:blur(2px)}
.gr-loading.is-on{display:flex}
.gr-loading__box{width:66px;height:66px;border-radius:16px;background:#fff;box-shadow:0 12px 34px rgba(20,36,28,.20);display:grid;place-items:center}
.gr-loading__ico{width:34px;height:34px;color:#157A54;transform-origin:center;animation:gr-gear 1.05s linear infinite}
@keyframes gr-gear{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.gr-loading__ico{animation:none}}

/* =====================================================================
   Part 5: digital inspection sheet (body.ws, CSS only)
   ===================================================================== */
body.ws .dvi{max-width:900px;margin:0 auto;display:flex;flex-direction:column;gap:0}
body.ws .dvi .page-head{background:var(--g-card);border:1px solid var(--g-line);border-radius:14px;box-shadow:0 1px 2px rgba(20,36,28,.05);padding:16px 20px;margin-bottom:14px}
body.ws .dvi .page-head h1{font-family:"Bricolage Grotesque",sans-serif;font-weight:800;letter-spacing:-.02em}
body.ws .dvi .crumb{color:var(--g-faint);font-size:13px}
body.ws .dvi-progress{font-family:"Spline Sans Mono",monospace;color:var(--g-muted);font-size:13px}

/* each inspection item is a card */
body.ws .dvi-item{background:var(--g-card);border:1px solid var(--g-line);border-radius:14px;box-shadow:0 1px 2px rgba(20,36,28,.05);padding:18px 20px;margin:0 0 14px}
body.ws .dvi-item__name{font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:16px;color:var(--g-ink)}
body.ws .dvi-item__detail,body.ws .dvi-hint{color:var(--g-faint);font-size:13px}

/* traffic-light grade buttons as a segmented control */
body.ws .dvi-grade{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:6px}
body.ws .grade{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 12px;border:1.5px solid var(--g-line);border-radius:11px;background:var(--g-card);font-weight:600;font-size:14px;color:var(--g-ink);cursor:pointer;transition:background .15s,border-color .15s,color .15s,box-shadow .15s}
body.ws .grade input{position:absolute;inset:0;opacity:0;cursor:pointer}
body.ws .grade span{display:inline-flex;align-items:center;gap:8px;pointer-events:none}
body.ws .grade span::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--g-faint)}
body.ws .grade--good span::before{background:#157A54}
body.ws .grade--attention span::before{background:#D69412}
body.ws .grade--urgent span::before{background:#B23A30}
body.ws .grade--na{grid-column:auto}
body.ws .grade:hover{border-color:#c9d2c8}
body.ws .grade--good:has(input:checked){background:#157A54;border-color:#157A54;color:#fff;box-shadow:0 3px 10px rgba(21,122,84,.28)}
body.ws .grade--attention:has(input:checked){background:#B87A12;border-color:#B87A12;color:#fff;box-shadow:0 3px 10px rgba(184,122,18,.25)}
body.ws .grade--urgent:has(input:checked){background:#B23A30;border-color:#B23A30;color:#fff;box-shadow:0 3px 10px rgba(178,58,48,.25)}
body.ws .grade--na:has(input:checked){background:#5B6357;border-color:#5B6357;color:#fff}
body.ws .grade:has(input:checked) span::before{background:#fff}

/* "what you saw" + mic + photo */
body.ws .dvi-draft__input{display:flex;gap:8px;align-items:stretch}
body.ws .dvi-draft__input input,body.ws .dvi-draft__input textarea,body.ws .dvi-fields input,body.ws .dvi-fields textarea{flex:1;width:100%;border:1px solid var(--g-line);border-radius:10px;padding:11px 13px;font-family:inherit;font-size:14px;background:var(--g-card);color:var(--g-ink)}
body.ws .dvi-draft__input input:focus,body.ws .dvi-draft__input textarea:focus,body.ws .dvi-fields input:focus{outline:none;border-color:var(--g-brand);box-shadow:0 0 0 3px var(--g-soft)}
body.ws .dvi-draft-mic,body.ws .dvi-draft__rec{width:44px;flex:none;border:1px solid var(--g-line);border-radius:10px;background:var(--g-card);color:var(--g-muted);cursor:pointer;display:grid;place-items:center}
body.ws .dvi-draft-mic:hover{border-color:var(--g-brand);color:var(--g-brand)}
body.ws .dvi-shoot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:88px;border:1.5px dashed var(--g-line);border-radius:12px;color:var(--g-muted);background:var(--g-card2);cursor:pointer;transition:.15s;font-size:13px;font-weight:600}
body.ws .dvi-shoot:hover{border-color:var(--g-brand);color:var(--g-brand-deep,#0F5C40);background:var(--g-soft)}
body.ws .dvi-shot{border-radius:10px;overflow:hidden;border:1px solid var(--g-line)}

/* per-item + sticky save */
body.ws .dvi-next{margin-top:12px}
body.ws .dvi-item__foot{margin-top:12px}
body.ws .dvi-bar{position:sticky;bottom:0;z-index:20;display:flex;justify-content:flex-end;gap:10px;padding:14px 18px;margin-top:16px;background:color-mix(in srgb,#EEF1EA 90%,transparent);backdrop-filter:blur(8px);border-top:1px solid var(--g-line);border-radius:14px 14px 0 0}
body.ws .dvi-bar .btn-sm--primary{padding:12px 22px;font-size:14px;border-radius:11px}
@media (max-width:560px){body.ws .dvi-grade{grid-template-columns:repeat(2,1fr)}}

/* ---- match Unapprove height to the other rail buttons ---- */
.garage .ro__unapprove{padding:9px 15px !important;font-size:13.5px !important;font-weight:600 !important;line-height:1.2 !important;border-radius:9px !important;height:auto !important;min-height:0 !important}

/* ---- notifications: unread vs read ---- */
body.ws .ws-pop__row.is-unread{background:var(--g-soft,#E4F1EA)}
body.ws .ws-pop__row.is-unread:hover{background:#d7ece0}
body.ws .ws-pop__row.is-unread .ws-pop__ic{background:var(--g-brand,#157A54);color:#fff}
body.ws .ws-pop__row.is-unread::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--g-brand,#157A54);align-self:center;margin-left:6px;flex:none}
body.ws .ws-pop__row{align-items:center}

/* ---- sidebar: force the demo star tile + green active (beats literal gold) ---- */
body.ws .sidebar__star{width:36px !important;height:36px !important;border-radius:10px !important;display:grid !important;place-items:center !important;background:var(--g-brand,#157A54) !important;color:#fff !important;font-size:19px !important;line-height:1 !important;box-shadow:0 3px 10px rgba(21,122,84,.35) !important}
body.ws .sidebar__nav a.is-active{background:var(--g-soft,#E4F1EA) !important;color:var(--g-deep,#0F5C40) !important;box-shadow:none !important;font-weight:600 !important}
body.ws .sidebar__nav a.is-active svg{color:var(--g-brand,#157A54) !important}

/* ---- inspection list: delete action ---- */
.garage .ro__insp-actions{display:flex;gap:14px;align-items:center;justify-content:flex-end}
.garage .ro__insp-del{margin:0}
.garage .ro__insp-delbtn{border:0;background:none;color:var(--red);cursor:pointer;font-size:13px;font-weight:600;padding:0;font-family:inherit}
.garage .ro__insp-delbtn:hover{text-decoration:underline}

/* ---- inspection 3-column workstation (Phase 1) ---- */
.garage.inspx-page{max-width:1400px;margin:0 auto}
.garage .inspx{display:grid;grid-template-columns:330px minmax(0,1fr) 330px;gap:16px;align-items:start;margin-top:14px}
.garage .inspx__left,.garage .inspx__right{display:flex;flex-direction:column;gap:14px;min-width:0}
.garage .inspx__mid{min-width:0;display:flex;flex-direction:column;gap:12px}
@media(max-width:1200px){.garage .inspx{grid-template-columns:1fr}}
/* category panels in the middle become light section headers, items are the cards */
.garage .inspx__mid .panel{background:transparent;border:0;box-shadow:none;padding:0;margin:0}
.garage .inspx__mid .panel__head{padding:2px 2px 8px;border:0}
.garage .inspx__mid .panel__head h2{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--faint)}
.garage .inspx__mid .dvi{display:flex;flex-direction:column;gap:12px}
/* recommended repairs rows */
.garage .insprec__n{margin-left:auto;font-family:var(--mono);font-size:12px;color:var(--muted)}
.garage .insprec{display:flex;align-items:center;gap:10px;padding:9px 0}
.garage .insprec+.insprec{border-top:1px solid var(--line-2)}
.garage .insprec .sev{flex:none;width:10px;height:10px;border-radius:50%}
.garage .insprec .sev.r{background:var(--red)} .garage .insprec .sev.y{background:var(--amber)}
.garage .insprec__b{flex:1;min-width:0}
.garage .insprec__b b{font-size:13.5px;font-weight:600;display:block;line-height:1.3}
.garage .insprec__b small{color:var(--faint);font-size:12px}
.garage .insprec__on{font-size:11.5px;color:var(--brand-deep);font-weight:600}
.garage .insphotos{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.garage .insphotos img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;border:1px solid var(--line)}

/* =====================================================================
   Sidebar demo colors — authoritative, every admin page, literal colors
   (beats admin.css cream + modern.css gold bar regardless of body.ws).
   ===================================================================== */
.admin .sidebar__star{width:36px !important;height:36px !important;border-radius:10px !important;display:grid !important;place-items:center !important;background:#157A54 !important;color:#fff !important;font-size:19px !important;line-height:1 !important;box-shadow:0 3px 10px rgba(21,122,84,.35) !important}
.admin .sidebar__nav a.is-active{background:#E4F1EA !important;color:#0F5C40 !important;box-shadow:none !important;font-weight:600 !important}
.admin .sidebar__nav a.is-active svg,.admin .sidebar__nav a.is-active .ico{color:#157A54 !important}
.admin .sidebar a.is-active{box-shadow:none !important}
.admin .sidebar__nav a:hover{background:#F6F8F3 !important;color:#1E241C !important}
.admin .sidebar__label{color:#656D5E !important}

/* ---- per-job complete + work completion / notify ---- */
.garage .job__complete{display:flex;align-items:center;gap:10px;padding:11px 16px;border-top:1px solid var(--line-2)}
.garage .job__done{display:inline-flex;align-items:center;gap:6px;color:var(--brand-deep);font-weight:600;font-size:13px}
.garage .job__done .ico{width:15px;height:15px}
.garage .job__cf{margin:0}
.garage .workdone{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:14px 16px;margin-bottom:14px}
.garage .workdone--ready{border-color:#cfe2d7;background:linear-gradient(180deg,#f3f8f5,#eaf2ed)}
.garage .workdone__t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.garage .workdone__t strong{font-size:15px}
.garage .workdone__t span{font-size:12.5px;color:var(--muted)}
.garage .workdone form{margin:0}

/* ---- active tab matches the sidebar green (was gold gradient) ---- */
.garage .ro__tabs a.is-on{background:var(--brand-soft) !important;color:var(--brand-deep) !important;box-shadow:inset 0 -3px 0 var(--brand) !important;border-radius:8px 8px 0 0}
.garage .ro__tabs a.is-on .ro__tab-ico{color:var(--brand) !important}
.garage .ro__tabs a:hover{background:var(--card-2) !important;color:var(--ink) !important}
.garage .ro__more.is-on>summary{background:var(--brand-soft);color:var(--brand-deep);border-radius:8px 8px 0 0;box-shadow:inset 0 -3px 0 var(--brand)}

/* ---- Mark complete / Reopen in the job header ---- */
.garage .job__h .job__cf{margin:0;display:inline-flex}
.garage .job__markdone{border:0;background:none;color:var(--brand);font-weight:600;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:8px;white-space:nowrap}
.garage .job__markdone:hover{background:var(--brand-soft);color:var(--brand-deep)}
.garage .job__markdone .ico{width:14px;height:14px}
.garage .job__reopen{border:0;background:none;color:var(--muted);font-weight:600;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:8px;white-space:nowrap}
.garage .job__reopen:hover{background:var(--card-2);color:var(--ink)}
.garage .job__reopen .ico{width:14px;height:14px}

/* ---- Mark complete: small solid-green button (override app dark submit) ---- */
.garage .job__markdone{display:inline-flex !important;align-items:center;gap:5px;padding:6px 12px !important;font-size:12.5px !important;font-weight:700 !important;line-height:1.1 !important;border:0 !important;border-radius:8px !important;background:var(--brand) !important;color:#fff !important;box-shadow:none !important;cursor:pointer;height:auto !important;min-height:0 !important}
.garage .job__markdone:hover{background:var(--brand-deep) !important;color:#fff !important}
.garage .job__markdone .ico{width:13px !important;height:13px !important}
.garage .job__reopen{display:inline-flex !important;align-items:center;gap:5px;padding:6px 12px !important;font-size:12.5px !important;font-weight:600 !important;line-height:1.1 !important;border:1px solid var(--line) !important;border-radius:8px !important;background:var(--card) !important;color:var(--muted) !important;box-shadow:none !important;cursor:pointer;height:auto !important;min-height:0 !important}
.garage .job__reopen:hover{border-color:var(--brand) !important;color:var(--brand-deep) !important;background:var(--card) !important}
.garage .job__reopen .ico{width:13px !important;height:13px !important}

/* ---- Mark job completed button under the Estimate rail card ---- */
.garage .estx__finish{margin:0;padding:14px 16px 16px;border-top:1px solid var(--line-2)}
.garage .estx__finish .btn{width:100%;justify-content:center}

/* ---- loader: always animate (spinning ring + gear), even under reduced-motion ---- */
.gr-loading__box{position:relative}
.gr-loading__box::after{content:"";position:absolute;inset:7px;border-radius:50%;border:3px solid rgba(21,122,84,.18);border-top-color:#157A54;animation:gr-spin360 .8s linear infinite}
@keyframes gr-spin360{to{transform:rotate(360deg)}}
.gr-loading__ico{transform-box:fill-box;transform-origin:center;animation:gr-gear 1.1s linear infinite !important;will-change:transform}
@media (prefers-reduced-motion:reduce){
  .gr-loading__ico{animation:gr-gear 1.1s linear infinite !important}
  .gr-loading__box::after{animation:gr-spin360 .8s linear infinite !important}
}

/* ---- Mark job completed: force brand green (override app dark submit) ---- */
.garage .estx__finish .btn,.garage .estx__finish button[type=submit]{background:var(--brand) !important;color:#fff !important;border:1px solid var(--brand) !important;box-shadow:0 2px 10px rgba(21,122,84,.3) !important;width:100%;justify-content:center}
.garage .estx__finish .btn:hover,.garage .estx__finish button[type=submit]:hover{background:var(--brand-deep) !important;border-color:var(--brand-deep) !important;color:#fff !important}

/* vehicle avatar character line */
.garage .vsvg .ic-line{fill:#DDEEE6}

/* ---- invoice tab polish ---- */
.garage .estx__pay{display:flex;flex-direction:column;gap:8px}
.garage .estx__pay .btn{width:100%;justify-content:center}
.garage .pay-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:9px 0;font-size:13.5px;border-top:1px solid var(--line-2)}
.garage .pay-row:first-child{border-top:0}
.garage .pay-row.is-void{opacity:.5;text-decoration:line-through}

/* ---- reopen order button ---- */
.garage .estx__pay form{margin:0}
.garage .estx__reopen{width:100%;justify-content:center}

/* ---- payment workstation (invoice tab) ---- */
.garage .pay .card__b{display:flex;flex-direction:column;gap:14px}
.garage .payf{display:flex;flex-direction:column;gap:14px}
.garage .payf__lead{margin:0;font-weight:700;color:var(--ink);font-size:.9rem}
.garage .payf__methods{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}
.garage .paym{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:14px 8px;border:1.5px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;text-align:center;transition:border-color .15s,background .15s,box-shadow .15s}
.garage .paym input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.garage .paym__ico{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--brand-soft);color:var(--brand)}
.garage .paym__ico .ico{width:20px;height:20px}
.garage .paym__lbl{font-weight:600;font-size:.82rem;color:var(--ink);line-height:1.15}
.garage .paym:has(input:checked){border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 3px rgba(21,122,84,.14)}
.garage .paym:has(input:checked) .paym__ico{background:var(--brand);color:#fff}
.garage .payf__row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px}
.garage .payf__amt{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:.82rem;color:var(--muted)}
.garage .payf__field{display:flex;align-items:center;gap:2px;border:1.5px solid var(--line);border-radius:10px;padding:0 12px;background:#fff;max-width:220px}
.garage .payf__cur{color:var(--muted);font-weight:700}
.garage .payf__field input{border:0!important;outline:0;padding:11px 4px;font-size:1.05rem;font-weight:700;width:100%;background:transparent;color:var(--ink)}
.garage .payf__full{display:flex;align-items:center;gap:8px;font-weight:600;font-size:.85rem;color:var(--ink);cursor:pointer;padding-bottom:11px}
.garage .payf__full input{width:17px;height:17px;accent-color:var(--brand)}
.garage .payf__hint{margin:-6px 0 0;font-size:.78rem;color:var(--muted)}
.garage .payf__more{border-top:1px dashed var(--line);padding-top:10px}
.garage .payf__more summary{cursor:pointer;font-weight:600;font-size:.82rem;color:var(--brand);list-style:none}
.garage .payf__more summary::-webkit-details-marker{display:none}
.garage .payf__more summary::before{content:"+ ";font-weight:700}
.garage .payf__more[open] summary::before{content:"\2212 "}
.garage .payf__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:12px}
.garage .payf__grid label{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:.78rem;color:var(--muted)}
.garage .payf__grid input,.garage .payf__grid select{border:1.5px solid var(--line);border-radius:9px;padding:9px 10px;font-size:.9rem;color:var(--ink);background:#fff}
.garage .payf__grid-wide{grid-column:1/-1}
.garage .payf__go{align-self:flex-start;background:var(--brand)!important;color:#fff!important;border:0!important}
.garage .payf__go:hover{background:var(--brand-ink,#0F5C40)!important}
.garage .payf__go[disabled]{opacity:.5;cursor:not-allowed}
/* apply-discount popover in summary */
.garage .estx__pay .disc{width:100%}
.garage .estx__pay .disc>summary{list-style:none;width:100%;justify-content:center}
.garage .estx__pay .disc>summary::-webkit-details-marker{display:none}
.garage .disc__f{display:flex;flex-direction:column;gap:10px;margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:11px;background:var(--brand-soft)}
.garage .disc__f label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:.8rem;color:var(--muted)}
.garage .disc__go{background:var(--brand)!important;color:#fff!important;border:0!important;align-self:flex-start}
.garage .estx__disc{color:var(--brand);font-weight:600}
.garage .workdone--locked{background:#FBF3E4;border-color:#E8C77A}

/* ---- SUV real-photo avatar ---- */
.garage .vavatar .vphoto{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 2px 4px rgba(0,0,0,.12))}

/* ---- reopen order = red ---- */
.garage .workdone--locked .btn,.garage .ro__reopen,.garage .estx__reopen{background:#B42318!important;color:#fff!important;border:0!important;box-shadow:none!important}
.garage .workdone--locked .btn:hover,.garage .ro__reopen:hover,.garage .estx__reopen:hover{background:#8f1c11!important}
.garage .workdone--locked .btn .ico,.garage .ro__reopen .ico,.garage .estx__reopen .ico{color:#fff!important}

/* ---- adaptive payment detail sets ---- */
.garage .payf__detail{border-top:1px dashed var(--line);padding-top:12px}
.garage .payf__set[hidden]{display:none}
.garage .payf__set-h{margin:0 0 10px;font-weight:700;font-size:.82rem;color:var(--ink)}

/* ---- payment popup (dialog) ---- */
dialog.paymodal{position:fixed;border:0;border-radius:18px;padding:0;max-width:660px;width:min(660px,calc(100% - 32px));box-shadow:0 30px 70px rgba(10,40,28,.32);color:var(--ink);background:#fff;overflow:visible}
dialog.paymodal::backdrop{background:rgba(12,38,28,.5)}
.paymodal__x{position:absolute;top:12px;right:14px;width:34px;height:34px;border:0;background:transparent;font-size:1.6rem;line-height:1;cursor:pointer;color:var(--muted);border-radius:8px}
.paymodal__x:hover{background:var(--brand-soft);color:var(--brand)}
.paymodal__h{display:flex;align-items:center;gap:10px;padding:18px 22px;border-bottom:1px solid var(--line)}
.paymodal__h h3{margin:0;font-size:1.08rem}
.paymodal__h .ico{color:var(--brand);width:22px;height:22px}
.paymodal__bal{margin-left:auto;font-weight:800;color:var(--brand)}
.paymodal__b{padding:20px 22px;max-height:min(78vh,720px);overflow:auto}
.paymodal__foot{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.paymodal__foot .payf__go{align-self:auto}
/* ---- workdone (non-locked) actions = green ---- */
.garage .workdone:not(.workdone--locked) .btn{background:var(--brand)!important;color:#fff!important;border:0!important;box-shadow:none!important}
.garage .workdone:not(.workdone--locked) .btn:hover{background:#0F5C40!important}
.garage .workdone:not(.workdone--locked) .btn .ico{color:#fff!important}

/* ---- payments list + void ---- */
.garage .pay-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.garage .pay-row:last-child{border-bottom:0}
.garage .pay-row.is-void .pay-row__amt{text-decoration:line-through;color:var(--muted)}
.garage .pay-row__tag{display:inline-block;font-size:.68rem;font-weight:700;color:#B42318;background:#FBEAE8;padding:1px 7px;border-radius:999px;text-decoration:none;vertical-align:middle}
.garage .pay-row__end{display:flex;align-items:center;gap:12px}
.garage .pay-row__end form{margin:0}
.garage .pay-row__void{display:inline-flex;align-items:center;gap:5px;border:1px solid #E4C9C5;background:#fff;color:#B42318;font-weight:600;font-size:.78rem;padding:5px 10px;border-radius:8px;cursor:pointer}
.garage .pay-row__void:hover{background:#FBEAE8}
.garage .pay-row__void .ico{width:14px;height:14px}

/* ---- void = red, refund = amber (beat global submit styling) ---- */
.garage .pay-row__void{background:#B42318!important;color:#fff!important;border:0!important;box-shadow:none!important}
.garage .pay-row__void:hover{background:#8f1c11!important}
.garage .pay-row__void .ico{color:#fff!important}
.garage .pay-row__refund{background:#fff!important;color:#B8730B!important;border:1px solid #E7C892!important;box-shadow:none!important;font-weight:600;display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:8px;cursor:pointer;font-size:.78rem}
.garage .pay-row__refund:hover{background:#FBF1DD!important}
.garage .pay-row__refund .ico{width:14px;height:14px;color:#B8730B!important}

/* ---- post repair order (final step) ---- */
.garage .estx__pay form{margin:0;width:100%}
.garage .ro__post{background:var(--brand)!important;color:#fff!important;border:0!important;box-shadow:none!important;width:100%;justify-content:center}
.garage .ro__post:hover{background:#0F5C40!important}
.garage .ro__post .ico{color:#fff!important}
.garage .ro__post-hint{margin:6px 0 2px;font-size:.76rem;color:var(--muted);text-align:center}
.garage .ro__posted{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px;border-radius:10px;background:var(--brand-soft);color:var(--brand);font-weight:700}
.garage .ro__posted .ico{color:var(--brand)}

/* ---- inspection list (cards) ---- */
.garage .insplist{display:flex;flex-direction:column;gap:10px}
.garage .inspcard{display:flex;align-items:center;gap:14px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 1px 2px rgba(20,36,28,.05)}
.garage .inspcard__ico{flex:none;width:40px;height:40px;border-radius:11px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center}
.garage .inspcard__ico .ico{width:20px;height:20px}
.garage .inspcard__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.garage .inspcard__name{font-weight:700;color:var(--ink);text-decoration:none;font-size:.95rem}
.garage .inspcard__name:hover{color:var(--brand)}
.garage .inspcard__meta{font-size:.74rem;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}
.garage .inspcard__bar{height:6px;border-radius:999px;background:#eceee9;overflow:hidden;max-width:240px}
.garage .inspcard__bar span{display:block;height:100%;background:var(--brand);border-radius:999px}
.garage .inspcard__stats{display:flex;align-items:center;gap:8px;flex:none}
.garage .inspcard__prog{font-family:var(--mono,monospace);font-size:.82rem;color:var(--muted);font-weight:600}
.garage .inspcard__act{display:flex;align-items:center;gap:8px;flex:none}
.garage .inspcard__del{background:#fff!important;color:#B42318!important;border:1px solid #E4C9C5!important;font-weight:600;font-size:.78rem;padding:6px 12px;border-radius:8px;cursor:pointer;box-shadow:none!important}
.garage .inspcard__del:hover{background:#FBEAE8!important}
.garage .inspcard .btn--sm{padding:6px 12px;font-size:.8rem}
.garage .badge{display:inline-flex;align-items:center;gap:4px;font-size:.72rem;font-weight:700;padding:3px 9px;border-radius:999px;background:#eceee9;color:var(--muted)}
.garage .badge--amber{background:#FBF3E1;color:#B8730B}
.garage .badge--green{background:var(--brand-soft);color:var(--brand)}
@media(max-width:720px){.garage .inspcard{flex-wrap:wrap}.garage .inspcard__stats,.garage .inspcard__act{width:100%;justify-content:space-between}}

/* ---- inspection workstation: customer report tally ---- */
.garage .tl{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.garage .tl__cell{border:1px solid var(--line);border-radius:12px;padding:14px 8px;text-align:center;background:#fff}
.garage .tl__cell.r{background:#FCEEEC;border-color:#F1C9C3}
.garage .tl__cell.y{background:#FBF3E1;border-color:#EBD79E}
.garage .tl__cell.g{background:var(--brand-soft);border-color:#BFE0CE}
.garage .tl__n{font-size:1.7rem;font-weight:800;line-height:1}
.garage .tl__cell.r .tl__n{color:#B42318}
.garage .tl__cell.y .tl__n{color:#B8730B}
.garage .tl__cell.g .tl__n{color:var(--brand)}
.garage .tl__l{margin-top:5px;font-size:.72rem;font-weight:600;color:var(--muted);line-height:1.2}

/* ---- inspection workstation: save & next green + category headers ---- */
.garage .dvi-next,body.ws .dvi-next{background:var(--brand)!important;color:#fff!important;border:0!important;font-weight:700;padding:11px 20px;border-radius:11px;cursor:pointer;box-shadow:none!important}
.garage .dvi-next:hover,body.ws .dvi-next:hover{background:#0F5C40!important}
.garage .inspx__mid .panel,body.ws .inspx__mid .panel{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.garage .inspx__mid .panel__head,body.ws .inspx__mid .panel__head{background:transparent!important;padding:16px 2px 4px!important;border:0!important}
.garage .inspx__mid .panel__head h2,body.ws .inspx__mid .panel__head h2{font-size:12px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.06em;color:#0F5C40!important;margin:0}

/* ---- inspection category header icons ---- */
.garage .inspx__mid .panel__head h2{display:flex!important;align-items:center;gap:9px}
.garage .inspx__mid .panel__head .cat-ic{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:8px;background:var(--brand-soft);color:var(--brand);flex:none}
.garage .inspx__mid .panel__head .cat-ic .ico{width:15px;height:15px;color:var(--brand)}

/* ---- refined RO tab bar (segmented pills) ---- */
.garage .ro__tabs{background:var(--card-2,#eef1ea);border:1px solid var(--line);border-radius:14px;padding:5px;gap:4px;border-bottom:1px solid var(--line);align-items:center;overflow:visible}
.garage .ro__tabs a,.garage .ro__more>summary{padding:9px 14px;border-radius:10px;transition:background .15s,color .15s,box-shadow .15s}
.garage .ro__tabs a::after,.garage .ro__more.is-on>summary::after{display:none!important}
.garage .ro__tabs a:hover,.garage .ro__more>summary:hover{background:rgba(255,255,255,.6)!important;color:var(--ink)!important}
.garage .ro__tabs a.is-on,.garage .ro__more.is-on>summary,.garage .ro__more[open]>summary{background:#fff!important;color:var(--brand-deep)!important;box-shadow:0 1px 3px rgba(20,50,35,.14)!important;border-radius:10px!important}
.garage .ro__tabs a.is-on .ro__tab-ico,.garage .ro__more.is-on>summary .ro__tab-ico{color:var(--brand)!important}
.garage .ro__tab-n{background:#fff;border:1px solid var(--line);color:var(--muted)}
.garage .ro__tabs a.is-on .ro__tab-n{background:var(--brand-soft)!important;color:var(--brand-deep)!important;border-color:transparent}

/* ---- send-again -> approved state ---- */
.garage .ro__send--approved{display:flex;align-items:center;gap:8px;padding:12px 14px;border-radius:12px;background:var(--brand-soft);color:#0F5C40;font-weight:700;border:1px solid #BFE0CE}
.garage .ro__send--approved .ico{color:var(--brand);width:18px;height:18px}

/* ---- Labor Guide modal: match the green software (was charcoal) ---- */
.garage .lg-modal__head{background:var(--brand)!important;border-bottom:3px solid var(--brand-deep,#0F5C40)}
.garage .lg-modal__head h2,.garage .lg-modal__head p,.garage .lg-modal__x{color:#fff!important}
.garage .lg-modal__head p{opacity:.85!important}
.garage .lg-add{background:var(--brand)!important;border-color:var(--brand-deep,#0F5C40)!important;color:#fff!important}

/* ================= inspection workstation redesign ================= */
.garage .inspx{grid-template-columns:minmax(0,1fr) 340px!important}
.garage .inspx__left{grid-column:1/-1;display:block}
.garage .inspx__right{position:sticky;top:16px;align-self:start;max-height:calc(100vh - 28px);overflow:auto}
@media(max-width:1200px){.garage .inspx{grid-template-columns:1fr!important}.garage .inspx__right{position:static;max-height:none}}
/* progress + filters */
.garage .insp-prog{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin-bottom:14px}
.garage .insp-prog__top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:10px}
.garage .insp-prog__lbl{font-weight:800;font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:#0F5C40}
.garage .insp-prog__n{font-size:.85rem;color:var(--muted)}
.garage .insp-prog__n strong{color:var(--ink)}
.garage .insp-prog__bar{height:8px;border-radius:999px;background:#eceee9;overflow:hidden}
.garage .insp-prog__bar span{display:block;height:100%;background:var(--brand);border-radius:999px;transition:width .3s}
.garage .insp-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.garage .insp-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 13px;font-weight:600;font-size:.82rem;color:var(--ink);cursor:pointer}
.garage .insp-chip span{font-family:var(--mono,monospace);font-size:.74rem;background:#eceee9;color:var(--muted);border-radius:999px;padding:0 7px}
.garage .insp-chip.is-on{background:var(--brand);color:#fff;border-color:var(--brand)}
.garage .insp-chip.is-on span{background:rgba(255,255,255,.25);color:#fff}
.garage .insp-chip--r.is-on{background:#B42318;border-color:#B42318}
.garage .insp-chip--y.is-on{background:#B8730B;border-color:#B8730B}
/* accordion (scoped to beat .inspx__mid .panel rules) */
.garage .inspx__mid .insp-acc{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 12px!important}
.garage .inspx__mid .insp-acc>summary{list-style:none;cursor:pointer;display:flex!important;align-items:center;gap:10px;padding:13px 15px!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:12px!important}
.garage .inspx__mid .insp-acc[open]>summary{border-radius:12px 12px 0 0!important;border-bottom:0!important}
.garage .inspx__mid .insp-acc>summary::-webkit-details-marker{display:none}
.garage .inspx__mid .insp-acc>summary h2{margin:0!important;font-size:13px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.05em;color:#0F5C40!important;flex:0 0 auto;display:inline!important}
.garage .insp-acc__meta{margin-left:auto;display:flex;align-items:center;gap:8px}
.garage .insp-acc__count{font-family:var(--mono,monospace);font-size:.8rem;color:var(--muted);font-weight:600}
.garage .insp-dot{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:999px;font-size:.72rem;font-weight:700;color:#fff}
.garage .insp-dot.r{background:#B42318}
.garage .insp-dot.y{background:#B8730B}
.garage .insp-acc__chev{width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .2s;margin-left:2px}
.garage .inspx__mid .insp-acc[open] .insp-acc__chev{transform:rotate(-135deg)}
.garage .inspx__mid .insp-acc>.dvi{background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;padding:14px}
/* filter hiding */
.garage .inspx[data-filter="urgent"] .dvi-item:not([data-cond="urgent"]){display:none}
.garage .inspx[data-filter="attention"] .dvi-item:not([data-cond="attention"]){display:none}
.garage .inspx[data-filter="good"] .dvi-item:not([data-cond="good"]){display:none}

/* ---- Labor Guide modal green (unscoped literal: modal may be portaled to <body>) ---- */
.lg-modal__head{background:#157A54!important;border-bottom:3px solid #0F5C40!important}
.lg-modal__head h2,.lg-modal__head p,.lg-modal__x{color:#ffffff!important}
.lg-modal__head p{opacity:.9!important}
.lg-add{background:#157A54!important;border-color:#0F5C40!important;color:#ffffff!important}
.lg-add:disabled{background:#DFF0E7!important;border-color:#BFE0CE!important;color:#0F5C40!important}

/* ---- Labor Guide (rj__manual) modal -> green software ---- */
.rj__manual-header{background:#157A54!important;border-bottom:3px solid #0F5C40!important}
.rj__manual-search button{background:#157A54!important;border-color:#0F5C40!important;color:#ffffff!important}
.rj__manual-create{background:#157A54!important;border-color:#0F5C40!important;color:#ffffff!important}
.rj__manual-category:hover,.rj__manual-operation:hover{border-color:#157A54!important;background:#E4F1EA!important}
.rj__manual-add{background:#157A54!important}
.rj__manual-back:hover{border-color:#157A54!important}

/* ---- Labor Guide (rj__manual): match software font + scroll ---- */
.rj__manual-overlay,.rj__manual-dialog{font-family:"Figtree",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
.rj__manual-header h2{font-family:"Bricolage Grotesque","Barlow Condensed",system-ui,sans-serif!important;letter-spacing:.01em}
.rj__manual-summary h3,.rj__manual-summary strong,.rj__manual-create,.rj__manual-search button{font-family:"Figtree",sans-serif!important}
.rj__manual-summary{overflow-y:auto!important;min-height:0}
.rj__manual-results{overflow-y:auto!important;min-height:0}

/* ---- Labor Guide Create Job spinner ---- */
.lg-spin{display:inline-block;width:15px;height:15px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:lg-spin .6s linear infinite;vertical-align:-2px;margin-right:5px}
@keyframes lg-spin{to{transform:rotate(360deg)}}

/* ---- Repair help: hide the sources footer (not needed) ---- */
.mate .ask__sources,.ask__sources[data-ask-sources]{display:none!important}

/* ---- Delete job moved into the save bar (danger, right-aligned) ---- */
.garage .job__savebar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.garage .job__savebar .job__del{margin-left:auto;margin-top:0}
.garage .job__delbtn{color:#B42318!important;border:1px solid #E4C9C5!important;background:#fff!important}
.garage .job__delbtn:hover{background:#FBEAE8!important}

/* ================= Repair Guy chatbot ================= */
.garage .mate{position:fixed;top:0;right:0;bottom:0;width:min(420px,100%);z-index:120;display:flex;flex-direction:column;background:#f4f6f2;box-shadow:-16px 0 48px rgba(15,40,28,.18);animation:mate-in .25s ease}
.garage .mate[hidden]{display:none}
@keyframes mate-in{from{transform:translateX(34px);opacity:.3}to{transform:translateX(0);opacity:1}}
.garage .mate__head{display:flex;align-items:center;gap:12px;padding:15px 18px;background:var(--brand,#157A54);color:#fff}
.garage .mate__brand{display:flex;align-items:center;gap:11px;flex:1;min-width:0}
.garage .mate__avatar{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.18);display:grid;place-items:center;flex:none;animation:mate-bob 3s ease-in-out infinite}
.garage .mate__avatar .ico{width:22px;height:22px;color:#fff}
@keyframes mate-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
.garage .mate__id{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.garage .mate__id strong{font-size:1.05rem;font-weight:800}
.garage .mate__id small{font-size:.72rem;opacity:.9;display:flex;align-items:center;gap:6px}
.garage .mate__id small::before{content:"";width:7px;height:7px;border-radius:50%;background:#7CF2B0;animation:mate-pulse 2s infinite}
@keyframes mate-pulse{0%{box-shadow:0 0 0 0 rgba(124,242,176,.6)}70%{box-shadow:0 0 0 6px rgba(124,242,176,0)}100%{box-shadow:0 0 0 0 rgba(124,242,176,0)}}
.garage .mate__x{margin-left:auto;background:rgba(255,255,255,.15);border:0;color:#fff;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:.95rem;line-height:1}
.garage .mate__x:hover{background:rgba(255,255,255,.3)}
.garage .mate__thread{flex:1;overflow-y:auto;padding:18px 16px;display:flex;flex-direction:column;gap:12px}
.garage .mate__msg{display:flex;gap:9px;max-width:88%;animation:mate-msg .28s cubic-bezier(.2,.7,.3,1)}
@keyframes mate-msg{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.garage .mate__msg--user{align-self:flex-end;flex-direction:row-reverse}
.garage .mate__msg--bot{align-self:flex-start}
.garage .mate__msg-av{width:30px;height:30px;border-radius:50%;background:var(--brand-soft,#E4F1EA);color:var(--brand,#157A54);display:grid;place-items:center;flex:none;margin-top:2px}
.garage .mate__msg-av .ico{width:16px;height:16px}
.garage .mate__bubble{padding:11px 14px;border-radius:16px;font-size:.92rem;line-height:1.5;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere}
.garage .mate__msg--bot .mate__bubble{background:#fff;color:var(--ink,#14231b);border:1px solid var(--line,#e0e4db);border-bottom-left-radius:5px;box-shadow:0 1px 2px rgba(20,40,28,.05)}
.garage .mate__msg--user .mate__bubble{background:var(--brand,#157A54);color:#fff;border-bottom-right-radius:5px}
.garage .mate__typing{display:flex!important;gap:4px;align-items:center}
.garage .mate__typing span{width:7px;height:7px;border-radius:50%;background:var(--brand,#157A54);opacity:.5;animation:mate-typing 1.2s infinite}
.garage .mate__typing span:nth-child(2){animation-delay:.2s}
.garage .mate__typing span:nth-child(3){animation-delay:.4s}
@keyframes mate-typing{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-5px);opacity:1}}
.garage .mate__acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.garage .mate__acts .btn-sm{background:var(--brand,#157A54)!important;color:#fff!important;border:0!important;border-radius:9px;padding:8px 12px;font-weight:600;cursor:pointer;font-size:.82rem}
.garage .mate__acts .btn-sm:hover{background:var(--brand-deep,#0F5C40)!important}
.garage .mate__composer{display:flex;gap:9px;padding:12px 14px;background:#fff;border-top:1px solid var(--line,#e0e4db)}
.garage .mate__composer input{flex:1;border:1px solid var(--line,#e0e4db);border-radius:999px;padding:11px 16px;font:inherit;font-size:.92rem;outline:none;background:#fff;color:var(--ink,#14231b)}
.garage .mate__composer input:focus{border-color:var(--brand,#157A54);box-shadow:0 0 0 3px var(--brand-soft,#E4F1EA)}
.garage .mate__send{flex:none;width:44px;height:44px;border-radius:50%;border:0;background:var(--brand,#157A54);color:#fff;cursor:pointer;display:grid;place-items:center}
.garage .mate__send:hover{background:var(--brand-deep,#0F5C40)}
.garage .mate__send .ico{width:19px;height:19px;color:#fff}
.garage .repairguy-fab{position:fixed;right:22px;bottom:22px;z-index:100;display:inline-flex;align-items:center;gap:9px;padding:13px 18px;border:0;border-radius:999px;background:var(--brand,#157A54);color:#fff;font-weight:700;font-size:.92rem;cursor:pointer;box-shadow:0 10px 30px rgba(15,90,60,.35);animation:fab-in .4s ease;transition:background .15s,transform .15s}
.garage .repairguy-fab:hover{background:var(--brand-deep,#0F5C40);transform:translateY(-2px)}
.garage .repairguy-fab .ico{width:20px;height:20px;color:#fff}
@keyframes fab-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
body.has-mate .repairguy-fab{display:none}
@media(max-width:560px){.garage .repairguy-fab span{display:none}.garage .repairguy-fab{padding:15px}.garage .mate{width:100%}}

/* ================= Repair Guy bot mascot (reactive) ================= */
.garage .rg-bot{width:100%;height:100%;display:block;color:inherit;overflow:visible}
.garage .rg-bot__eye{transform-box:fill-box;transform-origin:center}
.garage .mate__avatar .rg-bot{width:30px;height:30px}
.garage .repairguy-fab .rg-bot{width:22px;height:22px}
.garage .mate__msg-av .rg-bot{width:18px;height:18px}
/* idle: blink + antenna LED — only where a live presence belongs (header, launcher) */
@media (prefers-reduced-motion: no-preference){
  .garage .mate__avatar .rg-bot__eye,.garage .repairguy-fab .rg-bot__eye{animation:rg-blink 4.6s infinite}
  .garage .mate__avatar .rg-bot__eye--r,.garage .repairguy-fab .rg-bot__eye--r{animation-delay:.12s}
  .garage .mate__avatar .rg-bot__led,.garage .repairguy-fab .rg-bot__led{animation:rg-led 2s ease-in-out infinite}
}
@keyframes rg-blink{0%,90%,100%{transform:scaleY(1)}94%{transform:scaleY(.12)}}
@keyframes rg-led{0%,100%{opacity:.5}50%{opacity:1}}
/* THINKING: the bot scans/looks around while it searches */
.garage .mate.is-thinking .mate__avatar{animation:rg-scan 1.5s ease-in-out infinite}
.garage .mate.is-thinking .mate__avatar .rg-bot__eye{animation:rg-look 1.5s ease-in-out infinite!important}
.garage .mate.is-thinking .mate__avatar .rg-bot__eye--r{animation-delay:0s!important}
.garage .mate.is-thinking .mate__avatar .rg-bot__led{animation:rg-led-fast .55s linear infinite!important}
@keyframes rg-look{0%,100%{transform:translateX(-1.7px)}25%{transform:translate(1.7px,-.6px)}60%{transform:translate(1.7px,.8px)}}
@keyframes rg-scan{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
@keyframes rg-led-fast{0%,100%{opacity:.35}50%{opacity:1}}
/* ANSWERING: a quick, pleased nod */
.garage .mate.is-answering .mate__avatar{animation:rg-nod .55s cubic-bezier(.16,1,.3,1)}
@keyframes rg-nod{0%{transform:translateY(0) scale(1)}35%{transform:translateY(-4px) scale(1.06)}70%{transform:translateY(1px) scale(1)}100%{transform:translateY(0)}}
@media (prefers-reduced-motion: reduce){
  .garage .mate,.garage .mate__msg,.garage .repairguy-fab{animation:none!important}
  .garage .mate__avatar,.garage .rg-bot__eye,.garage .rg-bot__led{animation:none!important}
}

/* ================= Repair Guy — bigger, round, expressive (v2) ================= */
.garage .repairguy-fab{width:66px!important;height:66px!important;padding:0!important;border-radius:50%!important;justify-content:center;gap:0}
.garage .repairguy-fab .rg-bot{width:44px!important;height:44px!important}
.garage .mate__avatar{width:50px!important;height:50px!important}
.garage .mate__avatar .rg-bot{width:42px!important;height:42px!important}
.garage .mate__msg-av{width:34px!important;height:34px!important}
.garage .mate__msg-av .rg-bot{width:26px!important;height:26px!important}
/* expression mouths (smile default; happy / sad states) */
.garage .rg-bot__mouth{transition:opacity .22s ease}
.garage .rg-bot__mouth--happy,.garage .rg-bot__mouth--sad{opacity:0}
.garage .rg-bot__mouth--smile{opacity:1}
.garage .mate.is-answering .mate__avatar .rg-bot__mouth--smile{opacity:0}
.garage .mate.is-answering .mate__avatar .rg-bot__mouth--happy{opacity:1}
.garage .mate.is-sad .mate__avatar .rg-bot__mouth--smile{opacity:0}
.garage .mate.is-sad .mate__avatar .rg-bot__mouth--sad{opacity:1}
.garage .repairguy-fab:hover .rg-bot__mouth--smile{opacity:0}
.garage .repairguy-fab:hover .rg-bot__mouth--happy{opacity:1}
/* attentive: eyes lift toward the input while typing */
.garage .mate.is-attentive .mate__avatar .rg-bot__eye{transform:translateY(-1.4px)}
/* idle life: blink + occasional glance (header + launcher) */
@media (prefers-reduced-motion: no-preference){
  .garage .mate__avatar .rg-bot__eye,.garage .repairguy-fab .rg-bot__eye{animation:rg-idle 6s ease-in-out infinite}
  .garage .mate__avatar .rg-bot__eye--r,.garage .repairguy-fab .rg-bot__eye--r{animation-delay:.06s}
  .garage .repairguy-fab{animation:fab-in .4s ease, fab-float 3.6s ease-in-out .6s infinite}
  .garage .repairguy-fab:hover{animation-play-state:paused;transform:scale(1.06)}
}
@keyframes rg-idle{0%,34%{transform:translateX(0) scaleY(1)}40%{transform:translateX(2px) scaleY(1)}54%{transform:translateX(2px) scaleY(1)}60%{transform:translateX(0) scaleY(1)}90%{transform:translateX(0) scaleY(1)}93%{transform:translateX(0) scaleY(.12)}96%{transform:translateX(0) scaleY(1)}}
@keyframes fab-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
/* loading: the bot fetches your page (looking) */
.gr-loading__box--bot .rg-bot{width:46px;height:46px;color:#157A54;display:block}
.gr-loading__box--bot .rg-bot__eye{transform-box:fill-box;transform-origin:center;animation:rg-look 1.1s ease-in-out infinite}
.gr-loading__box--bot .rg-bot__led{animation:rg-led-fast .6s linear infinite}
@media (prefers-reduced-motion: reduce){
  .garage .repairguy-fab,.garage .mate__avatar .rg-bot__eye,.garage .repairguy-fab .rg-bot__eye{animation:none!important}
  .gr-loading__box--bot .rg-bot__eye,.gr-loading__box--bot .rg-bot__led{animation:none!important}
}

/* ================= Repair Guy mascot v3 (helmet + visor + glowing eyes) ================= */
.garage .rg-bot,.gr-loading__box--bot .rg-bot{overflow:visible}
.garage .rg-eye,.garage .rg-smile,.gr-loading__box--bot .rg-eye,.gr-loading__box--bot .rg-smile{filter:drop-shadow(0 0 2px #57e59a)}
.garage .rg-eye--sad,.garage .rg-smile--sad,.gr-loading__box--bot .rg-eye--sad,.gr-loading__box--bot .rg-smile--sad{opacity:0}
@media (prefers-reduced-motion: no-preference){
  .garage .mate__avatar .rg-eye:not(.rg-eye--sad),.garage .repairguy-fab .rg-eye:not(.rg-eye--sad){transform-box:fill-box;transform-origin:center;animation:rg-blink2 5.2s infinite}
  .garage .mate__avatar .rg-earled,.garage .repairguy-fab .rg-earled,.gr-loading__box--bot .rg-earled{animation:rg-led 2s ease-in-out infinite}
}
@keyframes rg-blink2{0%,92%,100%{transform:scaleY(1)}95.5%{transform:scaleY(.14)}}
/* searching: eyes scan */
.garage .mate.is-thinking .mate__avatar .rg-eye:not(.rg-eye--sad){transform-box:fill-box;transform-origin:center;animation:rg-look 1.4s ease-in-out infinite!important}
.gr-loading__box--bot .rg-eye:not(.rg-eye--sad){transform-box:fill-box;transform-origin:center;animation:rg-look 1.2s ease-in-out infinite}
/* answered: happy nod */
.garage .mate.is-answering .mate__avatar{animation:rg-nod .55s cubic-bezier(.16,1,.3,1)}
/* not found: sad face */
.garage .mate.is-sad .rg-eye:not(.rg-eye--sad),.garage .mate.is-sad .rg-smile:not(.rg-smile--sad){opacity:0}
.garage .mate.is-sad .rg-eye--sad,.garage .mate.is-sad .rg-smile--sad{opacity:1}
/* attentive: eyes lift toward the box */
.garage .mate.is-attentive .mate__avatar .rg-eye{transform:translateY(-1.2px)}
@media (prefers-reduced-motion: reduce){
  .garage .mate__avatar .rg-eye,.garage .repairguy-fab .rg-eye,.garage .rg-earled,.gr-loading__box--bot .rg-eye,.gr-loading__box--bot .rg-earled{animation:none!important}
}

/* ================= Repair Guy v4 — glow, no background, bigger ================= */
/* launcher: no green disc, bigger, pulsing glow halo */
.garage .repairguy-fab{background:transparent!important;box-shadow:none!important;width:86px!important;height:86px!important;padding:0!important;overflow:visible;position:fixed}
.garage .repairguy-fab .rg-bot{width:100%!important;height:100%!important;filter:drop-shadow(0 5px 12px rgba(10,30,20,.32))}
.garage .repairguy-fab::before{content:"";position:absolute;inset:6px;border-radius:50%;background:radial-gradient(circle at 50% 46%,rgba(87,229,154,.6),rgba(87,229,154,0) 68%);z-index:-1}
@media (prefers-reduced-motion: no-preference){.garage .repairguy-fab::before{animation:rg-halo 2.6s ease-in-out infinite}}
@keyframes rg-halo{0%,100%{transform:scale(.88);opacity:.5}50%{transform:scale(1.14);opacity:.95}}
/* header avatar: no disc, bigger, soft glow */
.garage .mate__avatar{background:transparent!important;box-shadow:none!important;width:54px!important;height:54px!important}
.garage .mate__avatar .rg-bot{width:100%!important;height:100%!important;filter:drop-shadow(0 0 7px rgba(124,242,176,.55))}
/* message avatars: no disc, bigger */
.garage .mate__msg-av{background:transparent!important;width:38px!important;height:38px!important}
.garage .mate__msg-av .rg-bot{width:100%!important;height:100%!important}
/* stronger glowing eyes + smile everywhere */
.garage .rg-eye,.garage .rg-smile,.gr-loading__box--bot .rg-eye,.gr-loading__box--bot .rg-smile{filter:drop-shadow(0 0 3px #7CF2B0) drop-shadow(0 0 7px rgba(87,229,154,.75))!important}
.gr-loading__box--bot .rg-bot{width:64px!important;height:64px!important}

/* ================= Repair Guy — in-chat "working / searching" bubble ================= */
.garage .mate__bubble.mate__working{width:100%;min-width:200px;padding:11px 12px!important}
.garage .rgw{display:flex;flex-direction:column;gap:9px}
.garage .rgw__scan{position:relative;border-radius:9px;background:#eef2ec;overflow:hidden;padding:10px 12px;display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:36px}
.garage .rgw__line{height:4px;border-radius:3px;background:#d9e0d6}
.garage .rgw__line:nth-child(1){width:84%}
.garage .rgw__line:nth-child(2){width:60%}
.garage .rgw__line:nth-child(3){width:73%}
.garage .rgw__lens{position:absolute;top:5px;left:2px;width:26px;height:26px;color:var(--brand,#157A54)}
.garage .rgw__lens svg{width:100%;height:100%;filter:drop-shadow(0 0 3px rgba(21,122,84,.5))}
.garage .rgw__status{font-size:.82rem;color:var(--muted,#5b6b60);font-weight:600;letter-spacing:.01em}
@media (prefers-reduced-motion: no-preference){
  .garage .rgw__lens{animation:rgw-sweep 1.9s cubic-bezier(.5,0,.5,1) infinite}
  .garage .rgw__scan::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(87,229,154,.18) 50%,transparent 70%);transform:translateX(-100%);animation:rgw-shine 1.9s ease-in-out infinite}
}
@keyframes rgw-sweep{0%{left:2px;transform:translateY(0) rotate(-6deg)}25%{transform:translateY(-3px) rotate(5deg)}50%{left:calc(100% - 28px);transform:translateY(3px) rotate(7deg)}75%{transform:translateY(-3px) rotate(-4deg)}100%{left:2px;transform:translateY(0) rotate(-6deg)}}
@keyframes rgw-shine{0%{transform:translateX(-100%)}60%,100%{transform:translateX(100%)}}

/* ---- Repair Guy: subtle blue back-glow (a little) ---- */
.garage .repairguy-fab .rg-bot{filter:drop-shadow(0 5px 12px rgba(10,30,20,.30)) drop-shadow(0 0 10px rgba(56,132,255,.38))!important}
.garage .repairguy-fab::before{background:radial-gradient(circle at 50% 47%,rgba(87,229,154,.42),rgba(56,132,255,.30) 52%,rgba(56,132,255,0) 72%)!important}
.garage .mate__avatar .rg-bot{filter:drop-shadow(0 0 7px rgba(124,242,176,.45)) drop-shadow(0 0 11px rgba(56,132,255,.32))!important}
.garage .mate__msg-av .rg-bot{filter:drop-shadow(0 0 6px rgba(56,132,255,.28))}

/* ---- Repair Guy: flashlight-scan while searching (funny) ---- */
.garage .mate__msg--working .mate__msg-av{width:48px!important;height:48px!important;position:relative;overflow:visible;transform-origin:58% 72%}
.garage .mate__msg--working .mate__msg-av::before{content:"";position:absolute;right:3px;top:33%;width:7px;height:7px;border-radius:50%;background:#fff6c2;box-shadow:0 0 8px 2px rgba(255,236,140,.9);z-index:3}
.garage .mate__msg--working .mate__msg-av::after{content:"";position:absolute;right:-34px;top:26%;width:44px;height:30px;background:linear-gradient(90deg,rgba(255,236,140,.55),rgba(255,236,140,0) 80%);clip-path:polygon(0 40%,100% 0,100% 100%,0 60%);z-index:2;pointer-events:none}
@media (prefers-reduced-motion: no-preference){
  .garage .mate__msg--working .mate__msg-av{animation:rgw-tilt 2.3s ease-in-out infinite}
  .garage .mate__msg--working .mate__msg-av .rg-eye:not(.rg-eye--sad){transform-box:fill-box;transform-origin:center;animation:rg-look 1.5s ease-in-out infinite}
  .garage .mate__msg--working .mate__msg-av::before{animation:rgw-lamp 1.4s ease-in-out infinite}
}
@keyframes rgw-tilt{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(9deg)}}
@keyframes rgw-lamp{0%,100%{opacity:.6}50%{opacity:1}}

/* ---- Repair Guy: "found it!" spark when the answer lands ---- */
.garage .mate__msg--found .mate__msg-av{position:relative;overflow:visible}
@media (prefers-reduced-motion: no-preference){
  .garage .mate__msg--found .mate__msg-av{animation:rg-pop .6s cubic-bezier(.2,1.5,.4,1)}
  .garage .mate__msg--found .mate__msg-av::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:2px solid rgba(87,229,154,.85);animation:rg-spark .6s ease-out forwards}
  .garage .mate__msg--found .mate__msg-av::before{content:"\2728";position:absolute;top:-6px;right:-4px;font-size:12px;animation:rg-sparkle .7s ease-out forwards;z-index:4}
}
@keyframes rg-pop{0%{transform:scale(.72)}55%{transform:scale(1.16)}100%{transform:scale(1)}}
@keyframes rg-spark{0%{transform:scale(.5);opacity:.9}100%{transform:scale(1.7);opacity:0}}
@keyframes rg-sparkle{0%{transform:translateY(4px) scale(.4);opacity:0}40%{opacity:1}100%{transform:translateY(-8px) scale(1);opacity:0}}

/* keep the found-it spark crisp: pop + green ring only (no emoji glyph) */
.garage .mate__msg--found .mate__msg-av::before{content:none!important;animation:none!important}

/* ================= Repair Guy: dark search scene + mechanic headlamp ================= */
/* permanent headlamp lens is off (dim) by default */
.garage .rg-lamp{transition:fill .25s}
/* while searching, the panel goes dark so the flashlight shows */
.garage .mate__bubble.mate__working .rgw__scan{background:#141d18!important;min-height:48px}
.garage .mate__bubble.mate__working .rgw__line{background:rgba(255,255,255,.12)!important}
.garage .mate__bubble.mate__working .rgw__lens{color:#9be9bf!important}
.garage .mate__bubble.mate__working .rgw__lens svg{filter:drop-shadow(0 0 4px rgba(124,242,176,.7))}
/* headlamp fires only while searching */
.garage .mate__msg--working .mate__msg-av .rg-lamp,.garage .mate.is-thinking .mate__avatar .rg-lamp{fill:#fff3b0!important}
@media (prefers-reduced-motion: no-preference){
  .garage .mate__msg--working .mate__msg-av .rg-lamp{animation:rgw-lamp 1.3s ease-in-out infinite}
}
/* brighter, longer flashlight beam onto the dark panel */
.garage .mate__msg--working .mate__msg-av::after{background:linear-gradient(90deg,rgba(255,240,150,.72),rgba(255,240,150,0) 82%)!important;width:54px!important;top:24%!important}
/* dim the rest of the chat so the searching bubble + beam pop */
.garage .mate.is-thinking .mate__thread{background:#e3e7e0;transition:background .3s}
.garage .mate.is-thinking .mate__msg:not(.mate__msg--working){opacity:.4;transition:opacity .3s}
.garage .mate.is-thinking .mate__composer{opacity:.55;transition:opacity .3s}

/* ---- Repair Guy: wrench in hand ---- */
.garage .rg-tool{transform-box:fill-box;transform-origin:8px 56px}
@media (prefers-reduced-motion: no-preference){
  .garage .mate__avatar .rg-tool,.garage .repairguy-fab .rg-tool{animation:rg-tool-wiggle 4.5s ease-in-out infinite}
  .garage .mate__msg--working .mate__msg-av .rg-tool{animation:rg-tool-work 1.1s ease-in-out infinite}
}
@keyframes rg-tool-wiggle{0%,100%{transform:rotate(0)}50%{transform:rotate(-9deg)}}
@keyframes rg-tool-work{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(-20deg)}}

/* ================= Repair Guy: cute & adorable ================= */
.garage .rg-blush,.gr-loading__box--bot .rg-blush{filter:blur(.4px)}
/* rounder, bigger eyes glow softer */
.garage .rg-eye{stroke-width:3!important}
/* squishy cute idle bounce (header + launcher) */
@media (prefers-reduced-motion: no-preference){
  .garage .mate__avatar{animation:rg-cutebob 2.8s ease-in-out infinite}
  .garage .repairguy-fab .rg-bot{animation:rg-cutebob 3s ease-in-out infinite}
  .garage .rg-blush{animation:rg-blush-pulse 3s ease-in-out infinite}
}
@keyframes rg-cutebob{0%,100%{transform:translateY(0) scale(1,1)}28%{transform:translateY(-3px) scale(.97,1.04)}50%{transform:translateY(0) scale(1.04,.96)}72%{transform:translateY(-1.5px) scale(1,1)}}
@keyframes rg-blush-pulse{0%,100%{opacity:.42}50%{opacity:.62}}
/* happy little hop when the answer lands */
.garage .mate.is-answering .mate__avatar{animation:rg-hop .6s cubic-bezier(.2,1.6,.35,1)!important}
@keyframes rg-hop{0%{transform:translateY(0) scale(1)}35%{transform:translateY(-7px) scale(1.08,.94)}60%{transform:translateY(0) scale(.96,1.06)}80%{transform:translateY(-2px) scale(1)}100%{transform:translateY(0)}}

/* ================= Repair Guy: search = night + flashlight ================= */
.garage .mate.is-thinking .mate__thread{background:#0b120f!important;transition:background .35s}
.garage .mate.is-thinking .mate__head{background:#0d1a14!important;transition:background .35s}
.garage .mate.is-thinking .mate__composer{background:#0b120f!important;border-top-color:#1b2820!important}
.garage .mate.is-thinking .mate__composer input{background:#14201b!important;color:#dbe9e1!important;border-color:#243230!important}
.garage .mate.is-thinking .mate__msg:not(.mate__msg--working){opacity:.14!important}
/* the searching bubble is the one thing his flashlight lights up */
.garage .mate.is-thinking .mate__msg--working .mate__bubble{background:#fff;box-shadow:0 0 46px 12px rgba(255,240,150,.22)}

/* ---- de-cute: calmer motion, no squash/hop/blush ---- */
.garage .mate__avatar{animation:mate-bob 3.6s ease-in-out infinite!important}
.garage .repairguy-fab .rg-bot{animation:none!important}
.garage .mate.is-answering .mate__avatar{animation:rg-nod .55s cubic-bezier(.16,1,.3,1)!important}
.garage .rg-blush{display:none!important}

/* ================= Repair Guy: flies down to search, flies back ================= */
.rg-flyer{position:fixed;z-index:1000;pointer-events:none;transition:transform .55s cubic-bezier(.16,1,.3,1);filter:drop-shadow(0 8px 16px rgba(0,0,0,.3)) drop-shadow(0 0 10px rgba(56,132,255,.4))}
.rg-flyer__in{width:100%;height:100%;position:relative;transform-origin:58% 72%}
.rg-flyer__in svg{width:100%;height:100%;display:block}
.rg-flyer .rg-lamp{fill:#fff3b0!important}
.rg-flyer .rg-eye,.rg-flyer .rg-smile{filter:drop-shadow(0 0 3px #7CF2B0)}
.rg-flyer__in::after{content:"";position:absolute;right:-32%;top:22%;width:60%;height:38%;background:linear-gradient(90deg,rgba(255,240,150,.74),rgba(255,240,150,0) 82%);clip-path:polygon(0 40%,100% 0,100% 100%,0 60%);pointer-events:none}
@media (prefers-reduced-motion: no-preference){
  .rg-flyer__in{animation:rgw-tilt 2.2s ease-in-out infinite}
  .rg-flyer .rg-lamp{animation:rgw-lamp 1.3s ease-in-out infinite}
  .rg-flyer .rg-eye:not(.rg-eye--sad){transform-box:fill-box;transform-origin:center;animation:rg-look 1.5s ease-in-out infinite}
}
.rg-flyer--home .rg-flyer__in{animation:none}
.rg-flyer--home .rg-flyer__in::after{opacity:0;transition:opacity .2s}
@media (prefers-reduced-motion: reduce){.rg-flyer{transition:none}}

/* ================= Repair Guy night scene: no white card + light-reveal text ================= */
/* drop the white bubble while searching — the scene stays dark, only the flashlight lights it */
.garage .mate.is-thinking .mate__msg--working .mate__bubble{background:transparent!important;box-shadow:none!important;padding:0!important;border:0!important;min-width:210px}
.garage .mate.is-thinking .mate__msg--working .rgw__scan{background:#0f1712!important;border:1px solid rgba(255,255,255,.06);box-shadow:0 0 34px 8px rgba(255,240,150,.12)}
/* status text is dim in the dark and gleams bright as the flashlight sweeps across it */
.garage .rgw__status{color:#566b60}
@media (prefers-reduced-motion: no-preference){
  .garage .mate.is-thinking .rgw__status{color:transparent;background:linear-gradient(90deg,#4a5a52 0%,#4a5a52 34%,#eafff2 50%,#4a5a52 66%,#4a5a52 100%);background-size:260% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:rgw-textlight 2.2s ease-in-out infinite}
}
@keyframes rgw-textlight{0%{background-position:130% 0}100%{background-position:-30% 0}}
@media (prefers-reduced-motion: reduce){.garage .mate.is-thinking .rgw__status{color:#c9d6cd}}

/* ---- Repair Guy: bigger, brighter flashlight ---- */
.rg-flyer__in::after{right:-60%!important;top:12%!important;width:105%!important;height:60%!important;background:linear-gradient(90deg,rgba(255,245,190,.95),rgba(255,240,150,.4) 52%,rgba(255,240,150,0) 86%)!important;filter:blur(.5px)}
.garage .mate__msg--working .mate__msg-av::after{right:-52px!important;top:12%!important;width:88px!important;height:64%!important;background:linear-gradient(90deg,rgba(255,245,190,.92),rgba(255,240,150,.35) 52%,rgba(255,240,150,0) 84%)!important;filter:blur(.5px)}
/* the panel is clearly lit near the beam */
.garage .mate.is-thinking .mate__msg--working .rgw__scan{background:radial-gradient(120% 140% at 6% 50%,rgba(255,240,160,.22),rgba(255,240,150,.06) 45%,#0f1712 72%)!important;box-shadow:0 0 52px 16px rgba(255,240,150,.24)!important;border-color:rgba(255,240,150,.14)!important}
/* headlamp burns brighter */
.rg-flyer .rg-lamp,.garage .mate__msg--working .mate__msg-av .rg-lamp{fill:#fffbe0!important;filter:drop-shadow(0 0 7px #ffe98a)}
.rg-flyer{filter:drop-shadow(0 8px 16px rgba(0,0,0,.32)) drop-shadow(0 0 16px rgba(255,240,150,.35))!important}

/* ---- Repair Guy: round-eye face highlights ---- */
.garage .rg-eye-hi,.gr-loading__box--bot .rg-eye-hi,.rg-flyer .rg-eye-hi{opacity:.9}
.garage .mate.is-sad .rg-eye-hi{opacity:0}

/* ---- Repair Guy: turns his head toward the page as you scroll (funny) ---- */
.garage .repairguy-fab .rg-bot{transition:transform .22s cubic-bezier(.2,1.5,.4,1);transform-origin:50% 78%}
.garage .repairguy-fab.rg-peek--down .rg-bot{transform:rotate(-17deg)}
.garage .repairguy-fab.rg-peek--up .rg-bot{transform:rotate(14deg)}
@media (prefers-reduced-motion: reduce){
  .garage .repairguy-fab .rg-bot{transition:none}
  .garage .repairguy-fab.rg-peek--down .rg-bot,.garage .repairguy-fab.rg-peek--up .rg-bot{transform:none}
}

/* ---- Repair Guy: full 180 head turn on scroll (override the small tilt) ---- */
.garage .repairguy-fab .rg-bot{transition:transform .45s cubic-bezier(.34,1.3,.5,1)!important;transform-origin:50% 50%!important}
.garage .repairguy-fab.rg-peek--down .rg-bot{transform:rotate(180deg)!important}
.garage .repairguy-fab.rg-peek--up .rg-bot{transform:rotate(-180deg)!important}
@media (prefers-reduced-motion: reduce){.garage .repairguy-fab.rg-peek--down .rg-bot,.garage .repairguy-fab.rg-peek--up .rg-bot{transform:none!important}}

/* ---- Repair Guy scroll: down = 180 turn, up = look up ---- */
.garage .repairguy-fab.rg-peek--up .rg-bot{transform:translateY(-6px) rotate(-16deg)!important}

/* ---- Repair Guy: headlamp turns on while watching scroll / randomly (no page darkening) ---- */
.garage .repairguy-fab.rg-peek--down .rg-lamp,.garage .repairguy-fab.rg-peek--up .rg-lamp,.garage .repairguy-fab.rg-lit .rg-lamp{fill:#fff3b0!important;filter:drop-shadow(0 0 6px #ffe98a)}
.garage .repairguy-fab.rg-lit .rg-bot,.garage .repairguy-fab.rg-peek--down .rg-bot,.garage .repairguy-fab.rg-peek--up .rg-bot{filter:drop-shadow(0 5px 12px rgba(10,30,20,.30)) drop-shadow(0 0 14px rgba(255,240,150,.5))}
.garage .repairguy-fab.rg-lit .rg-bot{transition:filter .25s}

/* ---- Repair Guy: real 3D head turn (not a flat flip) ---- */
.garage .repairguy-fab{perspective:240px}
.garage .repairguy-fab .rg-bot{transform-style:preserve-3d;backface-visibility:hidden;transition:transform .45s cubic-bezier(.34,1.25,.5,1)!important;transform-origin:50% 50%!important}
.garage .repairguy-fab.rg-peek--down .rg-bot{transform:rotateY(64deg)!important}
.garage .repairguy-fab.rg-peek--up .rg-bot{transform:perspective(240px) rotateX(38deg) translateY(-4px)!important}
@media (prefers-reduced-motion: reduce){
  .garage .repairguy-fab.rg-peek--down .rg-bot,.garage .repairguy-fab.rg-peek--up .rg-bot{transform:none!important}
}

/* ---- Repair Guy: sneaky, suspicious peek while watching the scroll ---- */
.garage .repairguy-fab.rg-peek--down .rg-bot,.garage .repairguy-fab.rg-peek--up .rg-bot{transform-origin:50% 62%!important;animation:rg-sneak 1.15s ease-in-out infinite!important}
@keyframes rg-sneak{0%,100%{transform:translateY(3px) rotateY(32deg) scale(.96)}50%{transform:translateY(3px) rotateY(66deg) scale(.96)}}
/* narrowed, suspicious eyes (override blink while peeking) */
.garage .repairguy-fab.rg-peek--down .rg-eye,.garage .repairguy-fab.rg-peek--up .rg-eye{animation:none!important;transform-box:fill-box;transform-origin:center;transform:scaleY(.42) translateY(2px)!important}
@media (prefers-reduced-motion: reduce){
  .garage .repairguy-fab.rg-peek--down .rg-bot,.garage .repairguy-fab.rg-peek--up .rg-bot{animation:none!important}
}

/* ---- Repair Guy: sneak while peering UP at the content ---- */
.garage .repairguy-fab .rg-bot{transform-origin:50% 66%!important}
@keyframes rg-sneak{
  0%,100%{transform:translateY(2px) rotateX(26deg) rotateY(30deg) scale(.96)}
  50%{transform:translateY(2px) rotateX(26deg) rotateY(62deg) scale(.96)}
}

/* ================= Repair Guy: blue reference glow ================= */
.garage .rg-eye{filter:drop-shadow(0 0 3px #2ab7ff) drop-shadow(0 0 8px rgba(42,183,255,.85))!important}
.garage .rg-smile{filter:drop-shadow(0 0 3px rgba(200,235,255,.85))!important}
.gr-loading__box--bot .rg-eye,.rg-flyer .rg-eye{filter:drop-shadow(0 0 3px #2ab7ff) drop-shadow(0 0 7px rgba(42,183,255,.7))!important}
.garage .repairguy-fab::before{background:radial-gradient(circle at 50% 47%,rgba(42,183,255,.55),rgba(42,183,255,0) 70%)!important}
.garage .repairguy-fab .rg-bot{filter:drop-shadow(0 5px 12px rgba(10,20,30,.30)) drop-shadow(0 0 13px rgba(42,183,255,.55))!important}
.garage .mate__avatar .rg-bot{filter:drop-shadow(0 0 9px rgba(42,183,255,.5))!important}
@media (prefers-reduced-motion: no-preference){.garage .rg-earled{animation:rg-led 1.8s ease-in-out infinite}}

/* ================= Repair Guy: reliable 3D look-up while watching scroll ================= */
.garage .repairguy-fab{perspective:150px!important}
.garage .repairguy-fab .rg-bot{transform-origin:50% 60%!important;transition:transform .4s cubic-bezier(.34,1.25,.5,1)!important}
.garage .repairguy-fab.rg-peek--down .rg-bot{transform:translateY(-6px) rotateX(38deg) rotateY(30deg)!important;animation:none!important}
.garage .repairguy-fab.rg-peek--up .rg-bot{transform:translateY(-8px) rotateX(46deg) rotateY(-10deg)!important;animation:none!important}
@media (prefers-reduced-motion: reduce){.garage .repairguy-fab.rg-peek--down .rg-bot,.garage .repairguy-fab.rg-peek--up .rg-bot{transform:none!important}}

/* rg3d header bigger — enlarge the Repair Guy header avatar */
.garage .mate__head .mate__avatar{width:60px!important;height:60px!important}

/* rg3d flight + bigger search avatar */
.garage .repairguy-fab.rg-flying{display:inline-flex!important;animation:none!important;transition:none!important;z-index:120;opacity:1!important}
.garage .mate__msg--working .mate__msg-av{width:66px!important;height:66px!important}

/* header bot flying down to search — beat the bob/scan keyframe animation */
.garage .mate .mate__avatar.rg-searching{animation:none!important;transition:none!important;z-index:90}

/* headlamp beam while the bot searches */
@keyframes rg-beam{0%{transform:rotate(-14deg);opacity:.5}50%{transform:rotate(6deg);opacity:.85}100%{transform:rotate(-14deg);opacity:.5}}
.garage .mate__avatar.rg-searching::after{content:"";position:absolute;left:47%;top:-14%;width:215px;height:54px;transform-origin:0 50%;background:linear-gradient(90deg,rgba(255,244,180,.62),rgba(255,244,180,0) 85%);clip-path:polygon(0 45%,0 55%,100% 100%,100% 0);filter:blur(2.5px);pointer-events:none;z-index:-1;animation:rg-beam 2.4s ease-in-out infinite}
@media (prefers-reduced-motion: reduce){.garage .mate__avatar.rg-searching::after{animation:none}}

/* unread notifications clearer — strong accent, bold title, dim the read ones */
body.ws .ws-pop__row.is-unread{background:var(--g-soft,#E4F1EA);border-left:3px solid var(--g-brand,#157A54);padding-left:9px}
body.ws .ws-pop__row.is-unread .ws-pop__body strong{font-weight:800;color:#0F5C40}
body.ws .ws-pop__row:not(.is-unread){opacity:.66}
body.ws .ws-pop__row:not(.is-unread):hover{opacity:1}

/* job edit/delete popup */
.garage .job__menu-wrap{position:relative;display:inline-flex}
.garage .job__menu[hidden]{display:none}
.garage .job__menu{position:absolute;top:calc(100% + 6px);right:0;z-index:40;min-width:150px;background:#fff;border:1px solid #e2e6e1;border-radius:12px;box-shadow:0 14px 34px rgba(15,40,25,.18);padding:6px}
.garage .job__menu form{margin:0}
.garage .job__menu-item{display:block;width:100%;text-align:left;padding:10px 12px;border:0;background:none;border-radius:8px;font-weight:600;font-size:.92rem;color:#1d2b23;cursor:pointer}
.garage .job__menu-item:hover{background:#eef4f0}
.garage .job__menu-item--danger{color:#B42318}
.garage .job__menu-item--danger:hover{background:#FBEAE8}
.garage .job__delbtn{color:#B42318!important;border:1px solid #E4C9C5!important;background:#fff!important}
.garage .job__delbtn:hover{background:#FBEAE8!important}

/* unapprove pill toggle */
.garage .job__pillbtn{cursor:pointer;border:0;font:inherit;transition:background .12s,color .12s}
.garage .job__pillbtn .job__pilltxt--alt{display:none}
.garage .job__pillbtn:hover{background:#FBEAE8!important;color:#B42318!important}
.garage .job__pillbtn:hover .ico{color:#B42318}
.garage .job__pillbtn:hover .job__pilltxt{display:none}
.garage .job__pillbtn:hover .job__pilltxt--alt{display:inline}
/* delete menu item red (override themed submit button) */
.garage .job__menu .job__menu-item--danger{background:#B42318!important;color:#fff!important;box-shadow:none!important;border:0!important}
.garage .job__menu .job__menu-item--danger:hover{background:#9A1F14!important}

/* delbtn beats savebar submit green */
.garage .job__savebar button[type=submit].job__delbtn{background:#fff!important;color:#B42318!important;border:1px solid #E4C9C5!important}
.garage .job__savebar button[type=submit].job__delbtn:hover{background:#FBEAE8!important;border-color:#B42318!important;color:#B42318!important}

/* pillbtn match soft pill (restore the liked look; toggle to red on hover) */
.garage .job__h .job__pillbtn{background:var(--brand-soft)!important;color:var(--brand-deep)!important;border:0!important;box-shadow:none!important;font-size:11.5px;font-weight:600;padding:4px 10px;border-radius:6px}
.garage .job__h .job__pillbtn .ico{color:var(--brand-deep)}
.garage .job__h .job__pillbtn:hover{background:var(--red-soft,#FBEAE8)!important;color:var(--red,#B42318)!important}
.garage .job__h .job__pillbtn:hover .ico{color:var(--red,#B42318)}

/* not-approved light red job cards */
.garage .job.job--st-recommended,.garage .job.job--st-pending{background:#FDF3F2!important;border-color:#F0D9D6!important;box-shadow:0 1px 0 #F0D9D6,0 10px 24px rgba(180,35,24,.06)}
.garage .job.job--st-recommended .job__foot,.garage .job.job--st-pending .job__foot,.garage .job.job--st-recommended .job__total,.garage .job.job--st-pending .job__total{background:transparent!important}

/* rg-modal block popup */
.garage .rg-modal,body .rg-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:rgba(15,30,22,.5);padding:20px;animation:rgm-fade .12s ease}
@keyframes rgm-fade{from{opacity:0}to{opacity:1}}
.rg-modal__box{position:relative;max-width:360px;width:100%;background:#fff;border-radius:16px;box-shadow:0 24px 60px rgba(10,30,20,.35);padding:26px 24px 22px;text-align:center;font-family:inherit}
.rg-modal__x{position:absolute;top:10px;right:12px;border:0;background:none;font-size:24px;line-height:1;color:#9aa39c;cursor:pointer}
.rg-modal__x:hover{color:#3a463f}
.rg-modal__ic{width:52px;height:52px;margin:2px auto 12px;border-radius:50%;display:grid;place-items:center;background:#FBEAE8;color:#B42318}
.rg-modal__msg{margin:0 0 18px;color:#25322b;font-size:15px;line-height:1.5;font-weight:500}
.rg-modal__ok{border:0;background:var(--brand,#157A54);color:#fff;font-weight:700;font-size:14px;padding:11px 22px;border-radius:10px;cursor:pointer}
.rg-modal__ok:hover{background:var(--brand-deep,#0F5C40)}

/* job menu defer item (neutral amber, not the themed dark submit) */
.garage .job__menu .job__menu-defer{background:none!important;color:#8A6D00!important;box-shadow:none!important;border:0!important;text-align:left;width:100%}
.garage .job__menu .job__menu-defer:hover{background:#FBF3DD!important}

/* job menu polish v2 — no clipping, compact, one line */
.garage .job:has(.job__menu:not([hidden])){overflow:visible}
.garage .job__h:has(.job__menu:not([hidden])){overflow:visible}
.garage .job__menu{min-width:210px;padding:6px;box-shadow:0 16px 38px rgba(15,40,25,.20)}
.garage .job__menu .job__menu-item,.garage .job__menu button.job__menu-item{padding:9px 14px!important;font-size:14px!important;line-height:1.25!important;white-space:nowrap;border-radius:8px;margin:0}
.garage .job__menu form{margin:0}

/* chat look polish */
.garage .mate__thread{background:linear-gradient(180deg,#eef3ee 0%,#e8eee8 100%);gap:15px;padding:20px 16px}
.garage .mate__bubble{box-shadow:0 3px 14px rgba(15,40,25,.08)}
.garage .mate__msg--bot .mate__bubble{border-color:#e6ebe3}
.garage .mate__msg-av{box-shadow:0 3px 8px rgba(15,60,40,.16);border:1.5px solid #fff;background:#eef4f0!important;overflow:hidden}
.garage .mate__head{background:linear-gradient(120deg,#12855a 0%,#0e6a48 100%);box-shadow:0 6px 18px rgba(15,90,60,.20)}
.garage .mate__composer input{background:#f7faf8}
.garage .mate__acts .btn-sm{box-shadow:0 4px 12px rgba(15,90,60,.22);padding:9px 14px;font-size:.85rem}

/* rg summary card + whats-next */
.garage .mate__quick{padding:8px 14px 0}
.garage .mate__quickbtn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:11px;border:1px dashed #bcd7c8;background:#f1f8f3;color:#0F5C40;font-weight:700;font-size:.9rem;border-radius:12px;cursor:pointer}
.garage .mate__quickbtn:hover{background:#e6f2ea;border-color:#8fc4a6}
.garage .mate__quickbtn .ico{width:16px;height:16px;color:#157A54}
.garage .rg-summary{display:flex;flex-direction:column;gap:7px}
.garage .rg-sum__veh{font-weight:800;font-size:.95rem;color:#14231b}
.garage .rg-sum__chips{display:flex;flex-wrap:wrap;gap:6px;margin:1px 0 2px}
.garage .rg-chip{font-size:.74rem;font-weight:700;padding:3px 9px;border-radius:999px}
.garage .rg-chip--ok{background:#E4F1EA;color:#0F5C40}
.garage .rg-chip--warn{background:#FBEAE8;color:#B42318}
.garage .rg-chip--amber{background:#FBF3DD;color:#8A6D00}
.garage .rg-chip--grey{background:#eceef0;color:#5b6570}
.garage .rg-sum__line{font-size:.86rem;color:#3a463f}
.garage .rg-next{margin-top:4px;padding:10px 12px;border-radius:10px;background:#0F5C40;color:#fff}
.garage .rg-next__lbl{font-size:.66rem;font-weight:800;letter-spacing:.12em;opacity:.8}
.garage .rg-next__txt{font-weight:800;font-size:.95rem;margin-top:1px}
.garage .rg-next__hint{font-size:.8rem;opacity:.9;margin-top:2px}
.garage .rg-next__btn{margin-top:10px;text-decoration:none;display:inline-flex;align-items:center}

/* rg explain/customer draft */
.garage .mate__acts .btn-sm--ghost.rg-explain{background:#fff!important;color:#0F5C40!important;border:1px solid #bcd7c8!important;box-shadow:none!important}
.garage .mate__acts .btn-sm--ghost.rg-explain:hover{background:#eef6f0!important}
.garage .mate__bubble.rg-cust{border-left:3px solid #157A54}
.garage .rg-cust__txt{background:#f1f8f3;border-radius:10px;padding:10px 12px;color:#1d2b23;font-size:.9rem;line-height:1.55}

/* rg inspection flags */
.garage .rg-flags{display:flex;flex-direction:column;gap:4px;margin:2px 0}
.garage .rg-flag{font-size:.84rem;color:#2c3830;background:#f4f7f4;border-radius:8px;padding:6px 9px}
.garage .rg-flag--more{color:#5b6570;background:none;padding:2px 9px}
.garage .rg-flag__on{font-size:.72rem;color:#0F5C40;background:#E4F1EA;border-radius:999px;padding:1px 7px;margin-left:4px}

/* rg proactive alerts */
.rg-badge{position:fixed;right:20px;bottom:96px;z-index:99;min-width:22px;height:22px;padding:0 6px;border:2px solid #fff;border-radius:999px;background:#e5484d;color:#fff;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 8px rgba(0,0,0,.28);cursor:pointer}
.rg-badge--new{animation:rg-badgepop .5s ease}
@keyframes rg-badgepop{0%{transform:scale(0)}55%{transform:scale(1.35)}100%{transform:scale(1)}}
.rg-alert-bubble{position:fixed;right:22px;bottom:118px;z-index:97;width:266px;max-width:calc(100vw - 44px);background:#fff;border:1px solid #dfe6e0;border-left:4px solid #157A54;border-radius:14px;box-shadow:0 16px 40px rgba(15,40,25,.22);padding:14px 14px 12px;font-family:inherit;animation:rg-bubble-in .28s cubic-bezier(.2,1.2,.4,1)}
.rg-alert-bubble--important{border-left-color:#e5484d}
.rg-alert-bubble--info{border-left-color:#2ab7ff}
.rg-alert-bubble.rg-out{opacity:0;transform:translateY(8px);transition:.22s ease}
@keyframes rg-bubble-in{from{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:none}}
.rg-alert-bubble::after{content:"";position:absolute;bottom:-8px;right:32px;width:15px;height:15px;background:#fff;border-right:1px solid #dfe6e0;border-bottom:1px solid #dfe6e0;transform:rotate(45deg)}
.rg-alert-bubble__x{position:absolute;top:6px;right:9px;border:0;background:none;font-size:18px;line-height:1;color:#9aa39c;cursor:pointer}
.rg-alert-bubble__t{font-weight:800;color:#14231b;font-size:.95rem;padding-right:16px}
.rg-alert-bubble__m{color:#42504a;font-size:.85rem;line-height:1.45;margin:4px 0 10px}
.rg-alert-bubble__btn,.rg-alert-row__btn{text-decoration:none;display:inline-flex;align-items:center}
.rg-alert-panel{position:fixed;right:22px;bottom:118px;z-index:98;width:302px;max-width:calc(100vw - 44px);max-height:60vh;overflow:auto;background:#fff;border:1px solid #dfe6e0;border-radius:16px;box-shadow:0 20px 50px rgba(15,40,25,.26);padding:12px}
.rg-alert-panel[hidden]{display:none}
.rg-alert-panel__h{padding:4px 6px 10px;border-bottom:1px solid #eef1ee;margin-bottom:6px}
.rg-alert-panel__h strong{display:block;color:#0F5C40;font-size:1rem}
.rg-alert-panel__h span{font-size:.82rem;color:#5b6570}
.rg-alert-row{padding:10px 8px;border-radius:10px}
.rg-alert-row:hover{background:#f6f9f6}
.rg-alert-row__t{font-weight:700;color:#14231b;font-size:.9rem}
.rg-alert-row__m{color:#5b6570;font-size:.82rem;margin:2px 0 8px}
@media(max-width:560px){.rg-alert-bubble,.rg-alert-panel{right:12px;left:12px;width:auto;bottom:100px}.rg-badge{right:14px;bottom:80px}}

/* rg-next sub (multiple alerts in summary) */
.garage .rg-next--sub{background:#eef4f0;color:#1d2b23;margin-top:8px}
.garage .rg-next--sub .rg-next__lbl{color:#3f8a63}
.garage .rg-next--sub .rg-next__txt{color:#14231b}
.garage .rg-next--sub .rg-next__hint{color:#4a5a51}
.garage .rg-next__btn{margin-top:9px}
.garage .rg-next--sub .rg-next__btn{background:#157A54!important;color:#fff!important}

/* rg mark-read */
.rg-alert-panel__read{display:block;width:100%;margin-top:8px;border:0;background:none;color:#5b6570;font-size:.82rem;font-weight:600;padding:8px;cursor:pointer;border-top:1px solid #eef1ee}
.rg-alert-panel__read:hover{color:#0F5C40}
.garage .rg-readbar{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#FBF3DD;border:1px solid #efe2bc;border-radius:10px;padding:8px 12px;margin-bottom:6px;font-size:.84rem;color:#7a5c00}
.garage .rg-readbar button{border:0;background:#157A54;color:#fff;font-weight:700;font-size:.78rem;padding:6px 11px;border-radius:8px;cursor:pointer}
.garage .rg-readbar button:hover{background:#0F5C40}

/* rg-ico native icons */
.rg-ico{width:15px;height:15px;display:inline-block;vertical-align:-3px}
.garage .rg-readbar .rg-ico{color:#b58900;width:16px;height:16px}
.rg-alert-bubble__t .rg-ico,.rg-alert-row__t .rg-ico{vertical-align:-2px;margin-right:2px}

/* ===== Edit appointment modal redesign ===== */
.appt-modal{background:rgba(15,22,26,.52);padding:20px}
.appt-modal__box{max-width:600px;border-radius:18px;box-shadow:0 30px 80px rgba(10,20,15,.42);overflow:hidden}
.appt-modal__head{padding:16px 22px;background:#14181d;border-bottom:3px solid #157A54}
.appt-modal__head h2{font-size:1.15rem;letter-spacing:.01em;text-transform:none}
.appt-modal__x{font-size:1.5rem}
.appt-modal .admin-form{padding:22px}
.appt-modal__bar{background:#f3f6f3;margin:-22px -22px 20px;padding:12px 22px;font-size:.82rem;color:#5b6570;border-bottom:1px solid #e6ebe3}
.appt-crumbs{display:inline-flex;align-items:center;gap:8px;font-weight:600}
.appt-crumbs b{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:999px;background:#dfe6e0;color:#5b6570;font-size:.74rem}
.appt-crumbs b.is-on{background:#157A54;color:#fff}
.appt-crumbs span{color:#c0c8c1}
.appt-modal label{font-weight:600;font-size:.82rem;color:#2c3830;display:block;margin:0 0 6px}
.appt-modal input[type=text],.appt-modal input[type=tel],.appt-modal input[type=date],.appt-modal input[type=time],.appt-modal input[type=number],.appt-modal select{width:100%;height:44px;padding:0 13px;border:1px solid #d7ded8;border-radius:10px;background:#fff;font:inherit;font-size:.92rem;color:#14231b;box-sizing:border-box;transition:border-color .12s,box-shadow .12s}
.appt-modal input:focus,.appt-modal select:focus{outline:none;border-color:#157A54;box-shadow:0 0 0 3px rgba(21,122,84,.16)}
.appt-modal .admin-form__row{gap:14px;margin-bottom:14px;align-items:start}
.appt-modal .admin-form>label{margin-bottom:6px}
.appt-modal .admin-form>input,.appt-modal .admin-form>select{margin-bottom:14px}
.appt-modal .hint{font-size:.8rem;color:#6b756e;margin:-4px 0 16px}
.appt-modal .hint a,.appt-modal a{color:#157A54;font-weight:600}
.appt-modal .admin-form__row>div{order:1}
.appt-modal .field--check{grid-column:1 / -1;order:2;margin-top:2px}
.appt-modal .field--check .check{display:flex;gap:10px;align-items:flex-start;background:#f6f9f6;border:1px solid #e2e9e3;border-radius:12px;padding:12px 14px;cursor:pointer;font-size:.85rem;color:#2c3830;line-height:1.5}
.appt-modal .field--check .check input{margin-top:3px;width:18px;height:18px;accent-color:#157A54;flex:none}
.appt-modal .field--check .check em{display:block;font-style:normal;color:#6b756e;font-size:.8rem;margin-top:4px}
.appt-modal .appt-choice{border-radius:12px;padding:14px;margin-bottom:10px;transition:border-color .12s,background .12s}
.appt-modal .appt-choice:hover{border-color:#157A54;background:#f6f9f6}
.appt-modal .appt-choice input{accent-color:#157A54;width:18px;height:18px}
.appt-modal .appt-choice strong{font-size:.95rem;margin-bottom:2px}
.appt-modal .form-actions{display:flex;align-items:center;gap:10px;margin-top:22px;padding-top:16px;border-top:1px solid #eef1ee}
.appt-modal .form-actions button[type=submit]:not(.btn-link-danger),.appt-modal [data-appt-next]{background:#157A54;color:#fff;border:0;border-radius:10px;padding:11px 20px;font-weight:700;font-size:.9rem;cursor:pointer}
.appt-modal .form-actions button[type=submit]:not(.btn-link-danger):hover,.appt-modal [data-appt-next]:hover{background:#0F5C40}
.appt-modal .btn-sm{background:#fff;border:1px solid #d7ded8;border-radius:10px;padding:10px 16px;font-weight:600;cursor:pointer;color:#2c3830}
.appt-modal .btn-sm:hover{border-color:#157A54;color:#0F5C40}
.appt-modal .btn-link-danger{margin-left:auto;background:none;border:0;color:#B42318;font-weight:600;cursor:pointer}
.appt-modal .btn-link-danger:hover{text-decoration:underline}

/* rg why/activity */
.rg-why-toggle{border:0;background:none;color:#5b6570;font-size:.76rem;font-weight:600;padding:2px 0;margin-top:4px;cursor:pointer;text-decoration:underline}
.rg-why-toggle:hover{color:#0F5C40}
.rg-why{margin-top:5px;font-size:.78rem;line-height:1.5;color:#5b6570;background:#f2f5f2;border-radius:8px;padding:8px 10px}
.rg-activity{margin-top:10px;padding-top:10px;border-top:1px solid #eef1ee}
.rg-activity__h{font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#8b938c;padding:0 6px 6px}
.rg-act{display:flex;align-items:baseline;gap:8px;padding:5px 6px;font-size:.82rem;color:#3a463f}
.rg-act__dot{flex:none;width:7px;height:7px;border-radius:50%;background:#9aa39c;transform:translateY(-1px)}
.rg-act--ok .rg-act__dot{background:#1f9e57}.rg-act--amber .rg-act__dot{background:#e6a100}.rg-act--warn .rg-act__dot{background:#e5484d}.rg-act--info .rg-act__dot{background:#2ab7ff}
.rg-act__t{flex:none;color:#9aa39c;font-size:.74rem;min-width:52px}
.rg-act__x{color:#2c3830}

/* toolbar dropdown float fix — anchor menus above page content, read as cards */
.garage .ro-toolbar{overflow:visible}
.garage .ro-toolbar:has(.ai-wrap[open]),.garage .ro-toolbar:has(.ro__print-menu[open]),.garage .ro-toolbar:has(.ro__share-menu[open]){position:relative;z-index:900}
.garage .ai-menu,.garage .ro__print-options,.garage .ro__share-options{z-index:1000!important;background:#fff!important;border:1px solid #e2e6e1!important;box-shadow:0 18px 44px rgba(15,40,25,.24)!important}
.garage .ai-wrap[open],.garage .ro__print-menu[open],.garage .ro__share-menu[open]{position:relative;z-index:900}

/* rg fly-point (flies in from top, points at a red alert) */
.rg-flyer-point{will-change:transform}
.rg-point-target{animation:rg-target-pulse 2.6s ease}
@keyframes rg-target-pulse{0%,100%{box-shadow:0 0 0 0 rgba(229,72,77,0)}25%,65%{box-shadow:0 0 0 4px rgba(229,72,77,.35)}}

/* rg fly-point finger */
.rg-point-hand{text-align:center;font-size:26px;line-height:1;margin-top:-4px;animation:rg-hand-bob .8s ease-in-out infinite;filter:drop-shadow(0 2px 3px rgba(0,0,0,.25))}
@keyframes rg-hand-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}

/* rg fly-to-point: move the real launcher bot */
.garage .repairguy-fab.rg-topoint{animation:none!important;z-index:3000!important}

/* gbx-brief card — Gearboxly AI dashboard brief */
.gbx-brief{background:#fff;border:1px solid #e2e8e3;border-radius:16px;box-shadow:0 8px 26px rgba(15,40,25,.07);padding:16px 18px;margin:0 0 20px;max-width:720px}
.gbx-brief__h{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.gbx-brief__bot{width:44px;height:44px;flex:none;border-radius:50%;background:#eef4f0;display:grid;place-items:center;box-shadow:0 2px 6px rgba(15,60,40,.12)}
.gbx-brief__bot svg{width:34px;height:34px}
.gbx-brief__h strong{display:block;font-size:1.05rem;color:#14231b}
.gbx-brief__h small{color:#6b756e;font-size:.85rem}
.gbx-brief__lbl{font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#8b938c;margin:12px 2px 6px}
.gbx-brief__lbl--opp{color:#8a6d00}
.gbx-row{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:11px;text-decoration:none;color:#1d2b23;transition:background .12s}
.gbx-row:hover{background:#f4f8f5}
.gbx-row__dot{flex:none;width:9px;height:9px;border-radius:50%;background:#e6a100}
.gbx-row--important .gbx-row__dot{background:#e5484d}
.gbx-row--opp .gbx-row__dot{background:#1f9e57}
.gbx-row__t{flex:1;font-size:.95rem;font-weight:500}
.gbx-row__go{color:#0F5C40;font-weight:700;font-size:.85rem;white-space:nowrap}
.gbx-brief__ok{display:flex;align-items:center;gap:8px;color:#0F5C40;font-weight:600;padding:6px 2px;margin:0}
.gbx-brief__ok .ico{width:18px;height:18px;color:#1f9e57}
.gbx-brief__today{margin-top:12px;padding-top:11px;border-top:1px solid #eef1ee;color:#6b756e;font-size:.85rem;font-weight:600}

/* ── Native parts workspace (Parts Gateway) ───────────────────────── */
.garage .gp-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 16px}
.garage .gp-punchout{margin:0}
.garage .gp-provider-note{font-size:12.5px;color:var(--muted);margin-left:2px}
.garage .gp-provider-note strong{color:var(--brand-deep);font-weight:600}

.garage .gp-modal{position:fixed;inset:0;z-index:10050;display:none;align-items:flex-start;justify-content:center;
  padding:5vh 16px;background:rgba(20,36,28,.42);backdrop-filter:blur(2px)}
.garage .gp-modal.is-open{display:flex}
.garage .gp-modal__panel{width:100%;max-width:660px;max-height:88vh;display:flex;flex-direction:column;
  background:var(--card);border:1px solid var(--line);border-radius:var(--r,12px);box-shadow:var(--shadow-lift);overflow:hidden}
.garage .gp-modal__head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 10px}
.garage .gp-modal__head h3{margin:0;font-family:"Bricolage Grotesque",serif;font-size:19px;color:var(--ink)}
.garage .gp-modal__x{border:0;background:none;font-size:26px;line-height:1;color:var(--muted);cursor:pointer;padding:0 4px}
.garage .gp-modal__x:hover{color:var(--ink)}
.garage .gp-modal__veh{padding:0 18px 12px;color:var(--muted);font-size:13px;font-weight:500}
.garage .gp-modal__bar{display:flex;gap:8px;padding:0 18px 14px;border-bottom:1px solid var(--line-2)}
.garage .gp-modal__q{flex:1;padding:9px 12px;border:1px solid var(--line);border-radius:8px;font-size:14px;background:var(--card-2);color:var(--ink)}
.garage .gp-modal__q:focus{outline:none;border-color:var(--brand);background:#fff}
.garage .gp-modal__sup{padding:9px 10px;border:1px solid var(--line);border-radius:8px;font-size:13px;background:var(--card-2);color:var(--ink);max-width:150px}
.garage .gp-modal__results{flex:1;overflow-y:auto;padding:8px 18px}
.garage .gp-modal__hint,.garage .gp-modal__err{color:var(--muted);font-size:13.5px;padding:22px 4px;text-align:center}
.garage .gp-modal__err{color:#b4231a}
.garage .gp-row{display:grid;grid-template-columns:22px 1fr auto auto 62px;align-items:center;gap:10px;
  padding:11px 6px;border-bottom:1px solid var(--line-2);cursor:pointer}
.garage .gp-row:hover{background:var(--card-2)}
.garage .gp-row input[type=checkbox]{width:17px;height:17px;accent-color:var(--brand);cursor:pointer}
.garage .gp-row__main{min-width:0}
.garage .gp-row__desc{display:block;font-weight:600;color:var(--ink);font-size:14px;line-height:1.25}
.garage .gp-row__meta{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.garage .gp-mono{font-family:"Spline Sans Mono",monospace;font-size:11.5px}
.garage .gp-row__avail{white-space:nowrap}
.garage .gp-row__price{font-weight:700;color:var(--brand-deep);font-size:14px;text-align:right}
.garage .gp-row__qty{width:56px;padding:6px 6px;border:1px solid var(--line);border-radius:7px;font-size:13px;text-align:center;background:#fff;color:var(--ink)}
.garage .gp-modal__foot{display:flex;align-items:center;gap:12px;padding:13px 18px;border-top:1px solid var(--line-2);background:var(--card-2);flex-wrap:wrap}
.garage .gp-modal__job{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);font-weight:500}
.garage .gp-modal__job select{padding:7px 9px;border:1px solid var(--line);border-radius:7px;font-size:13px;background:#fff;color:var(--ink)}
.garage .gp-modal__count{margin-left:auto;font-size:13px;color:var(--muted);font-weight:600}
@media (max-width:560px){
  .garage .gp-row{grid-template-columns:20px 1fr auto;grid-template-areas:"c m p" "c a q"}
  .garage .gp-row input[type=checkbox]{grid-area:c}
  .garage .gp-row__main{grid-area:m}
  .garage .gp-row__price{grid-area:p}
  .garage .gp-row__avail{grid-area:a;justify-self:start}
  .garage .gp-row__qty{grid-area:q;justify-self:end}
}

/* PartsTech half-connected notice (shop creds saved, partner creds missing) */
.garage .gp-connect-note{display:flex;gap:10px;align-items:flex-start;margin:0 0 16px;padding:12px 14px;
  border:1px solid #E4D08A;background:#FBF4DC;border-radius:10px;color:#5C4A12;font-size:13px;line-height:1.45}
.garage .gp-connect-note .ico{flex:0 0 auto;width:18px;height:18px;margin-top:1px;color:#B5860B}
.garage .gp-connect-note strong{color:#4A3B0D;font-weight:700}
.garage .gp-connect-note a{color:var(--brand-deep);font-weight:600;white-space:nowrap}
.garage .gp-connect-note a:hover{color:var(--brand)}

/* RO tabs wrap on phones. The bar keeps overflow:visible so the More menu
   is never clipped, which also removed its horizontal scroll -- on a phone
   the six tabs then stretched the whole page wider than the screen and iOS
   zoomed everything out. Wrapping keeps every tab reachable and the menu open. */
@media (max-width: 760px) {
  .garage .ro__tabs { flex-wrap: wrap; row-gap: 2px; }
  .garage .ro__tabs a, .garage .ro__more > summary { padding: 10px 11px; font-size: 13px; gap: 6px; }
}

/* Top bar fits a phone. Everything sat in one row at desktop sizes, so the
   mail button and avatar ran off the right edge. On small screens: no "/"
   shortcut hint, the brand shows its mark only, New RO becomes a green "+"
   (its label stays for screen readers), and search takes what is left. */
@media (max-width: 640px) {
  body .ws-top { gap: 8px; padding-left: 10px; padding-right: 10px; }
  body .ws-find { flex: 1 1 auto; min-width: 0; }
  body .ws-find input { min-width: 0; width: 100%; }
  body .ws-find kbd { display: none; }
  body .ws-brand { font-size: 0; gap: 0; white-space: nowrap; }
  body .ws-brand span { display: none; }
  body .ws-top__end { flex: none; gap: 6px; }
  body .ws-new { font-size: 0 !important; padding: 9px !important; min-width: 38px; min-height: 38px; justify-content: center; }
}

/* ===== Repair Guy alert bubble, v2 ===== */
.rg-alert-bubble{width:300px;padding:14px 14px 0;border-left-width:1px;border-radius:16px;overflow:visible;transform-origin:calc(100% - 38px) calc(100% + 12px);animation:rg-ab-in .42s cubic-bezier(.23,1,.32,1) both}
.rg-alert-bubble--attention{box-shadow:0 18px 44px rgba(15,40,25,.22),inset 3px 0 0 #e6a100}
.rg-alert-bubble--important{box-shadow:0 18px 44px rgba(15,40,25,.22),inset 3px 0 0 #e5484d}
.rg-alert-bubble--info{box-shadow:0 18px 44px rgba(15,40,25,.22),inset 3px 0 0 #1f9e57}
@keyframes rg-ab-in{0%{opacity:0;transform:translateY(14px) scale(.86)}60%{opacity:1}100%{opacity:1;transform:none}}
.rg-alert-bubble>*{animation:rg-ab-rise .4s cubic-bezier(.23,1,.32,1) both}
.rg-alert-bubble>.rg-alert-bubble__m{animation-delay:.08s}.rg-alert-bubble>.rg-ab__foot{animation-delay:.14s}
@keyframes rg-ab-rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.rg-ab__head{display:flex;align-items:center;gap:11px;padding-right:18px}
.rg-ab__art{flex:none;width:44px;height:44px;border-radius:12px;background:#eaf4ee;display:flex;align-items:center;justify-content:center}
.rg-alert-bubble--important .rg-ab__art{background:#fdecec}
.rg-ab__art svg{width:36px;height:36px;overflow:visible}
.rg-ab__heading{min-width:0}
.rg-ab__eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#7a857e}
.rg-alert-bubble--attention .rg-ab__eyebrow{color:#a86f00}.rg-alert-bubble--important .rg-ab__eyebrow{color:#c9302c}
.rg-alert-bubble .rg-alert-bubble__t{font-size:1rem;line-height:1.25;padding-right:0;margin-top:1px}
.rg-alert-bubble .rg-alert-bubble__m{margin:10px 0 0;font-size:.875rem;line-height:1.5;color:#42504a}
.rg-alert-bubble__x{top:9px;right:10px;width:26px;height:26px;border-radius:8px;display:flex;align-items:center;justify-content:center;transition:background-color .15s,color .15s}
.rg-alert-bubble__x:hover{background:#f0f3f1;color:#14231b}
.rg-ab__whytext{margin-top:10px}
.rg-ab__foot{display:flex;align-items:center;gap:14px;margin-top:14px;padding-bottom:14px}
.rg-ab__foot .rg-alert-bubble__btn{flex:1;justify-content:center;min-height:38px;border-radius:10px;font-weight:700;transition:transform .12s cubic-bezier(.23,1,.32,1)}
.rg-ab__foot .rg-alert-bubble__btn:active{transform:scale(.97)}
.rg-ab__why{flex:none;border:0;background:none;padding:6px 2px;font:inherit;font-size:.82rem;font-weight:600;color:#5b6570;cursor:pointer;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#c3cbc6}
.rg-ab__why:hover{color:#0F5C40;text-decoration-color:currentColor}
.rg-ab__timer{position:absolute;left:14px;right:14px;bottom:0;height:3px;border-radius:3px;overflow:hidden;background:transparent}
.rg-ab__timer span{display:block;height:100%;background:#cfe3d7;transform-origin:left;animation:rg-ab-timer 12s linear .5s both}
.rg-alert-bubble:hover .rg-ab__timer span,.rg-ab--hold .rg-ab__timer span{animation-play-state:paused}
@keyframes rg-ab-timer{from{transform:scaleX(1)}to{transform:scaleX(0)}}
/* per-kind art */
.rg-art *{transform-box:fill-box}
.rg-art__tick{stroke-dasharray:9;stroke-dashoffset:9;animation:rg-tick 2.6s cubic-bezier(.23,1,.32,1) .5s infinite}
.rg-art__tick--2{animation-delay:.85s}
@keyframes rg-tick{0%{stroke-dashoffset:9}18%,80%{stroke-dashoffset:0}100%{stroke-dashoffset:9}}
.rg-art__lens{animation:rg-lens 2.6s cubic-bezier(.77,0,.175,1) .3s infinite}
@keyframes rg-lens{0%,100%{transform:translate(0,0)}35%{transform:translate(-9px,-9px)}65%{transform:translate(-2px,-4px)}}
.rg-art__finger{animation:rg-tap 2.4s cubic-bezier(.77,0,.175,1) .4s infinite}
@keyframes rg-tap{0%,100%{transform:translate(6px,8px);opacity:0}15%{opacity:1;transform:translate(0,0)}25%{transform:translate(0,-6px)}33%{transform:translate(0,-4px)}55%{transform:translate(6px,8px);opacity:0}}
.rg-art__ok{opacity:0;animation:rg-ok 2.4s linear .4s infinite}
@keyframes rg-ok{0%,24%{opacity:0}27%,85%{opacity:1}100%{opacity:0}}
.rg-art__btn{transform-origin:center;animation:rg-press 2.4s cubic-bezier(.23,1,.32,1) .4s infinite}
@keyframes rg-press{0%,23%,100%{transform:none}26%{transform:scale(.86)}32%{transform:scale(1.05)}}
.rg-art__flag{transform-origin:0% 50%;animation:rg-flag 1.1s ease-in-out infinite alternate}
@keyframes rg-flag{from{transform:skewY(0) scaleX(1)}to{transform:skewY(-7deg) scaleX(.9)}}
.rg-art__coin{transform-origin:center;animation:rg-coin 2.2s cubic-bezier(.77,0,.175,1) .3s infinite}
@keyframes rg-coin{0%,100%{transform:translateY(0) scaleX(1)}20%{transform:translateY(-6px) scaleX(.1)}40%{transform:translateY(-8px) scaleX(1)}60%{transform:translateY(0) scaleX(1)}}
.rg-art__bell{transform-origin:50% 0;animation:rg-bell 2s ease-in-out .3s infinite}
@keyframes rg-bell{0%,45%,100%{transform:none}6%{transform:rotate(16deg)}14%{transform:rotate(-14deg)}22%{transform:rotate(9deg)}30%{transform:rotate(-5deg)}38%{transform:rotate(2deg)}}
@media(max-width:560px){.rg-alert-bubble{width:auto}}
@media(prefers-reduced-motion:reduce){.rg-alert-bubble,.rg-alert-bubble>*,.rg-art *,.rg-ab__timer span{animation:none!important}.rg-art__tick{stroke-dashoffset:0}.rg-art__ok{opacity:1}.rg-art__finger{opacity:0}}

/* ===== Repair Guy: working scenes (labor guide / gauge / scope / parts) ===== */
.garage .mate__msg--working .rgw{gap:10px;min-width:236px}
.garage .mate__msg--working .rgw__scan{padding:0!important;min-height:0!important;height:72px;display:block;border-radius:12px;overflow:hidden}
.garage .rgw__scan::after{content:none!important}
.garage .rgw__art{display:block;width:100%;height:100%;position:relative;z-index:1}
.garage .rgw__art *{transform-box:fill-box}
.garage .rgw__pg{fill:rgba(255,255,255,.07);stroke:rgba(255,255,255,.34);stroke-width:1.2;stroke-linejoin:round}
.garage .rgw__ink{stroke:rgba(255,255,255,.26);stroke-width:2;stroke-linecap:round;fill:none}
.garage .rgw__rows rect{fill:rgba(255,255,255,.08)}
.garage .rgw__hit{fill:rgba(124,242,176,.16);stroke:#7CF2B0;stroke-width:1.2}
.garage .rgw__dial{fill:none;stroke:rgba(255,255,255,.3);stroke-width:3;stroke-linecap:round}
.garage .rgw__needle path{stroke:#ffe98a;stroke-width:2.6;stroke-linecap:round}
.garage .rgw__needle circle{fill:#ffe98a}
.garage .rgw__screen{fill:rgba(124,242,176,.05);stroke:rgba(124,242,176,.28);stroke-width:1.2}
.garage .rgw__grid{stroke:rgba(124,242,176,.1);stroke-width:1}
.garage .rgw__wave path{fill:none;stroke:#7CF2B0;stroke-width:2;stroke-linejoin:round;filter:drop-shadow(0 0 3px rgba(124,242,176,.8))}
.garage .rgw__rec{fill:#ff6b5a}
.garage .rgw__box{fill:rgba(255,214,107,.16);stroke:rgba(255,214,107,.6);stroke-width:1.2}
.garage .rgw__lens2 circle{fill:rgba(255,240,160,.1);stroke:#ffe98a;stroke-width:2.4}
.garage .rgw__lens2 path{stroke:#ffe98a;stroke-width:3.4;stroke-linecap:round}
/* the pool of headlamp light that drifts across the card */
.garage .rgw__pool{position:absolute;inset:0;z-index:2;pointer-events:none;mix-blend-mode:screen;background:radial-gradient(70px 56px at var(--px,30%) 50%,rgba(255,240,160,.30),rgba(255,240,160,.08) 60%,transparent 75%)}
.garage .mate:not(.is-thinking) .rgw__pool{opacity:.35}
/* status line: fades each step in instead of snapping */
.garage .rgw__status.is-in{animation:rgw-step .38s cubic-bezier(.23,1,.32,1)}
@keyframes rgw-step{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
/* the night scene, softer: dim, don't black out */
.garage .mate.is-thinking .mate__msg:not(.mate__msg--working){opacity:.32!important}
@media (prefers-reduced-motion: no-preference){
  @property --px{syntax:'<percentage>';inherits:false;initial-value:30%}
  .garage .rgw__pool{animation:rgw-pool 2.6s cubic-bezier(.77,0,.175,1) infinite alternate}
  @keyframes rgw-pool{from{--px:18%}to{--px:82%}}
  /* labor guide: page flips, highlight walks down the table */
  .garage .rgw__flip{transform-origin:0% 50%;animation:rgw-flip 1.5s cubic-bezier(.6,0,.4,1) infinite}
  @keyframes rgw-flip{0%{transform:scaleX(1);opacity:1}45%{transform:scaleX(-.02) skewY(-4deg);opacity:1}50%{opacity:0}100%{opacity:0;transform:scaleX(1)}}
  .garage .rgw__hit:not(.rgw__hit--still){animation:rgw-hit 3s cubic-bezier(.77,0,.175,1) infinite}
  @keyframes rgw-hit{0%,14%{transform:translateY(0)}25%,39%{transform:translateY(12px)}50%,64%{transform:translateY(24px)}75%,89%{transform:translateY(36px)}100%{transform:translateY(0)}}
  /* gauge: needle sweeps, overshoots, settles, re-reads */
  .garage .rgw__needle{transform-origin:50% 100%;animation:rgw-needle 2.4s cubic-bezier(.34,1.56,.64,1) infinite}
  @keyframes rgw-needle{0%{transform:rotate(-80deg)}45%{transform:rotate(28deg)}60%,85%{transform:rotate(18deg)}100%{transform:rotate(-80deg)}}
  .garage .rgw__hit--still{animation:rgw-blink 2.4s ease-in-out infinite}
  @keyframes rgw-blink{0%,40%{opacity:0}55%,90%{opacity:1}100%{opacity:0}}
  /* scope: live trace scrolls, record dot blinks */
  .garage .rgw__wave{animation:rgw-wave 1.6s linear infinite}
  @keyframes rgw-wave{from{transform:translateX(0)}to{transform:translateX(-56px)}}
  .garage .rgw__rec{animation:rgw-rec 1s steps(1) infinite}
  @keyframes rgw-rec{50%{opacity:.15}}
  /* parts: boxes roll by on the belt, magnifier checks each one */
  .garage .rgw__belt{animation:rgw-belt 2.8s linear infinite}
  @keyframes rgw-belt{from{transform:translateX(0)}to{transform:translateX(-112px)}}
  .garage .rgw__lens2{animation:rgw-lens2 1.4s cubic-bezier(.77,0,.175,1) infinite alternate}
  @keyframes rgw-lens2{from{transform:translate(-10px,2px) rotate(-6deg)}to{transform:translate(10px,-2px) rotate(6deg)}}
}

/* ===== Repair Guy: confirm cards + follow-up chips ===== */
.rg-sugg{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.rg-sugg__chip{border:1px solid #cfe1d6;background:#f3f8f5;color:#0F5C40;border-radius:999px;padding:6px 11px;font:inherit;font-size:.8rem;font-weight:600;line-height:1.25;text-align:left;cursor:pointer;transition:background-color .15s,border-color .15s,transform .12s cubic-bezier(.23,1,.32,1)}
.rg-sugg__chip:hover{background:#e4f1ea;border-color:#157A54}
.rg-sugg__chip:active{transform:scale(.97)}
.mate__bubble.rg-prop{border:1px solid #cfe1d6;box-shadow:inset 3px 0 0 #157A54,0 6px 18px rgba(15,40,25,.08)}
.mate__bubble.rg-prop--danger{border-color:#f0cfcb;box-shadow:inset 3px 0 0 #c9302c,0 6px 18px rgba(60,15,10,.08)}
.rg-prop__t{font-weight:800;color:#14231b;font-size:.95rem}
.rg-prop__lines{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:4px;font-size:.86rem;color:#42504a}
.rg-prop__lines li{padding-left:12px;position:relative}
.rg-prop__lines li::before{content:"";position:absolute;left:0;top:.6em;width:5px;height:5px;border-radius:50%;background:#9fbfad}
.rg-prop--done{opacity:.72}
.btn-sm--danger{background:#c9302c!important;border-color:#c9302c!important;color:#fff!important}
.btn-sm--danger:hover{background:#a82622!important}
@media (prefers-reduced-motion: no-preference){.mate__bubble.rg-prop{animation:rg-ab-rise .35s cubic-bezier(.23,1,.32,1) both}}

/* ===== Gearboxly: trial bar + billing ===== */
.trial-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;padding:10px 16px;border-radius:12px;background:#e4f1ea;border:1px solid #c6e2d2;color:#0F5C40;text-decoration:none;font-size:.9rem;transition:background-color .15s,border-color .15s}
.trial-bar:hover{background:#d8ecdf;border-color:#157A54}.trial-bar b{font-weight:800;letter-spacing:.01em}.trial-bar__go{font-weight:700;white-space:nowrap}
.trial-bar.is-ending{background:#fbf1dc;border-color:#ecd39c;color:#7a5410}
.bill{max-width:1040px}
.bill-now{display:grid;grid-template-columns:1.1fr 1fr;gap:0;border-radius:20px;overflow:hidden;background:#0f5c40;color:#fff;box-shadow:0 14px 34px rgba(15,92,64,.18);margin:6px 0 34px}
.bill-now__main{padding:28px 30px}.bill-now__plan{display:flex;align-items:center;gap:12px}
.bill-now__name{display:inline-flex;align-items:center;gap:8px;font-size:1.05rem;font-weight:800}.bill-now__name svg{color:#7CF2B0}
.bill-now__price{margin-top:14px;display:flex;align-items:baseline;gap:4px}.bill-now__price b{font-size:3rem;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.bill-now__price span{opacity:.7}
.bill-now__blurb{margin:10px 0 0;opacity:.8}
.bill-trial{padding:28px 30px;background:rgba(255,255,255,.07);border-left:1px solid rgba(255,255,255,.12);display:flex;flex-direction:column;justify-content:center;gap:12px}
.bill-trial p{margin:0;opacity:.85;font-size:.92rem}.bill-trial a{color:#fff}
.bill-trial__num{display:flex;align-items:baseline;gap:10px}.bill-trial__num b{font-size:2.6rem;line-height:1;font-variant-numeric:tabular-nums}.bill-trial__num span{opacity:.8}
.bill-trial__bar{height:8px;border-radius:99px;background:rgba(255,255,255,.18);overflow:hidden}.bill-trial__bar span{display:block;height:100%;border-radius:inherit;background:#7CF2B0;transform-origin:left;animation:bill-fill .9s cubic-bezier(.23,1,.32,1) both}
.bill-trial.is-ending .bill-trial__bar span{background:#ffd66b}
@keyframes bill-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.bill-pill{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.02em;padding:3px 9px;border-radius:99px;background:rgba(255,255,255,.16);color:#fff}
.bill-plan .bill-pill{background:#e4f1ea;color:#0F5C40}
.bill-pill--past_due,.bill-pill--suspended,.bill-pill--cancelled{background:#f7e3e0;color:#b23a30}
.bill-h2{font-size:1.05rem;font-weight:800;margin:0 0 12px;color:#14231b}
.bill-plans{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:30px}
.bill-plan{background:#fff;border:1px solid #e0e4db;border-radius:18px;padding:22px 24px;display:flex;flex-direction:column;gap:6px}
.bill-plan.is-current{border-color:#157A54;box-shadow:inset 0 0 0 1px #157A54}
.bill-plan header{display:flex;align-items:center;justify-content:space-between}.bill-plan h3{margin:0;font-size:1.1rem;display:inline-flex;align-items:center;gap:7px}.bill-plan--ai h3 svg{color:#157A54}
.bill-plan__price{display:flex;align-items:baseline;gap:3px}.bill-plan__price b{font-size:1.9rem;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.bill-plan__price span{color:#7a8176}
.bill-plan ul{list-style:none;margin:8px 0 14px;padding:0;display:grid;gap:7px}.bill-plan li{display:flex;gap:8px;font-size:.9rem;color:#2b332a}.bill-plan li svg{flex:none;margin-top:2px;color:#157A54}
.bill-plan__lead{font-weight:700}.bill-plan .btn-sm{margin-top:auto;align-self:flex-start}
.bill-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border:1px dashed #cfd8cf;border-radius:16px}
.bill-foot p{margin:0}
@media(max-width:760px){.bill-now,.bill-plans{grid-template-columns:1fr}.bill-trial{border-left:0;border-top:1px solid rgba(255,255,255,.12)}.bill-foot{flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.bill-trial__bar span{animation:none}}
