@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--accent:#c8102e;--accent2:#e63946;--ink:#101a1d;--muted:#697579;--line:#E9E9E9;--surface:#fff;--bg:#F6F6F6;--red:#d94c55;--amber:#d98218;--blue:#2876cb;--shadow:0 8px 30px rgba(0,0,0,.055)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #A6101F44;outline-offset:2px}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:222px;background:#111111;color:#F5EAEB;display:flex;flex-direction:column;z-index:20;overflow:hidden}.brand{display:flex;align-items:center;gap:10px;padding:21px 17px 26px;color:#fff;text-decoration:none}.brand-mark{font:800 italic 36px Manrope,sans-serif;letter-spacing:-5px;color:#fff;text-shadow:2px 2px #A2101F}.brand b{font:800 italic 17px Manrope,sans-serif;letter-spacing:-.8px;display:block}.brand small{display:block;font-size:8px;letter-spacing:2px;color:#BB8086;margin-top:2px}.side-label{font-size:9px;letter-spacing:1.7px;color:#838383;padding:0 19px 12px}.sidebar nav{display:grid;gap:5px;padding:0 11px}.nav-item{display:flex;align-items:center;gap:13px;text-align:left;color:#CECECE;border:0;background:transparent;border-radius:10px;padding:12px 13px;font-size:12px;transition:.18s}.nav-item span{width:20px;text-align:center;font-size:19px}.nav-item:hover{background:#111111;color:#fff}.nav-item.active{background:linear-gradient(100deg,#800D18,#560810);color:#fff;box-shadow:0 5px 16px #11111155}.sidebar-bottom{margin-top:auto;position:relative;min-height:210px;padding:0 19px 19px;display:flex;flex-direction:column;justify-content:flex-end;gap:9px}.sidebar-photo{position:absolute;inset:0;background:linear-gradient(0deg,#111111 0%,#111111df 22%,#11111180 65%,#111111 100%),url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=700&q=75') center/cover;opacity:.8}.side-tag,.sidebar-bottom small{position:relative;z-index:1}.side-tag{font:600 10px/1.6 Manrope,sans-serif;letter-spacing:2px;color:#D8A4A9}.sidebar-bottom small{color:#838383;font-size:9px}.main{margin-left:222px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:60px;position:sticky;top:0;z-index:10;background:#ffffffed;backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:22px;padding:0 28px}.menu-toggle{display:none}.global-search{height:36px;display:flex;align-items:center;gap:10px;width:min(520px,48vw);padding:0 12px;border:1px solid #E7E7E7;border-radius:8px;background:#FBF9F9;color:#7d8985}.global-search span{font-size:25px;line-height:1}.global-search input{width:100%;border:0;outline:0;background:transparent;font-size:11px;color:var(--ink)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.money-pill{background:#730B16;color:white;border-radius:7px;padding:9px 12px;font-size:11px;white-space:nowrap;box-shadow:0 4px 12px #730B1624}.money-pill span{font-size:8px;color:#E17882;margin-right:4px}.icon-btn{position:relative;display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);background:#fff;border-radius:10px;color:#303030;font-size:20px}.icon-btn:hover{border-color:#CB9A9F;background:#FBF4F5}.icon-btn i{position:absolute;right:-4px;top:-5px;background:#750C16;color:#fff;border-radius:5px;font-style:normal;font-size:9px;min-width:15px;height:15px;display:grid;place-items:center}.avatar{border:0;width:36px;height:36px;border-radius:50%;background:#111111;color:#fff;font-weight:700;font-size:15px;margin-left:3px}.content{padding:22px 28px 30px;flex:1;min-width:0}footer{padding:14px 28px;border-top:1px solid var(--line);font-size:10px;color:#8b9691}footer span{padding:0 5px;color:#b3c0ba}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 19px}.page-heading h1{font:800 27px/1.2 Manrope,sans-serif;letter-spacing:-1px;margin:0 0 5px}.page-heading p{margin:0;color:var(--muted);font-size:13px}.heading-meta{text-align:right;color:var(--muted);font-size:11px;line-height:1.7}.heading-meta strong{display:block;color:#323232;font-weight:600}.dashboard-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:17px;margin-bottom:16px}.welcome-panel{border:1px solid var(--line);background:linear-gradient(110deg,#fff,#FAF6F6);border-radius:14px;padding:22px 22px 19px;box-shadow:var(--shadow);position:relative;overflow:hidden}.welcome-panel:after{content:"";position:absolute;width:210px;height:210px;border:1px solid #EEE2E3;border-radius:50%;right:-55px;top:-80px;box-shadow:0 0 0 24px #F4EAEB,0 0 0 50px #F7F0F1}.welcome-panel>*{position:relative;z-index:1}.welcome-panel h1{font:800 27px Manrope,sans-serif;letter-spacing:-1px;margin:0 0 6px}.welcome-panel p{color:var(--muted);margin:0 0 20px}.quick-actions{display:flex;gap:9px;flex-wrap:wrap}.btn{border:0;border-radius:8px;padding:10px 14px;font-weight:700;font-size:11px;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;transition:.15s}.btn-primary{background:var(--accent);color:white;box-shadow:0 4px 12px #750C1622}.btn-primary:hover{background:#600A12;transform:translateY(-1px)}.btn-light{background:#F6F6F6;color:#3B3B3B;border:1px solid var(--line)}.btn-light:hover{background:#F3EAEB}.btn-danger{background:#fff0f0;color:#b42e3a}.btn-small{padding:7px 9px;font-size:10px}.hero-image{min-height:195px;border-radius:14px;overflow:hidden;color:white;padding:21px;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(0deg,#111111ed,#11111140 70%),url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1200&q=85') center 55%/cover;box-shadow:var(--shadow)}.hero-image h2{font:800 20px/1.25 Manrope,sans-serif;margin:0 0 7px;max-width:300px}.hero-image p{margin:0 0 12px;color:#EAE0E1;font-size:11px}.hero-image .btn{align-self:flex-start}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}.stat-card{padding:16px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);min-width:0}.stat-top{display:flex;align-items:center;gap:12px}.stat-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#F8E3E5;color:#7E0D18;font-size:22px;flex-shrink:0}.stat-card:nth-child(4) .stat-icon{background:#fff2df;color:#d57a0a}.stat-value{font:800 22px Manrope,sans-serif;letter-spacing:-.8px;overflow-wrap:anywhere}.stat-label{font-size:11px;color:var(--muted);margin-top:4px}.stat-foot{font-size:10px;color:#7E0D18;background:#F8E5E7;display:inline-block;border-radius:6px;padding:5px 7px;margin-top:13px}.dashboard-grid{display:grid;grid-template-columns:1.1fr 1fr .9fr;gap:14px}.panel{background:white;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);min-width:0;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid #EFEFEF}.panel-head h2{font:800 14px Manrope,sans-serif;margin:0}.text-link{border:0;background:transparent;color:#7E0D18;font-weight:700;font-size:10px;white-space:nowrap}.panel-body{padding:5px 13px 11px}.activity-item{display:flex;align-items:center;gap:10px;padding:11px 2px;border-bottom:1px solid #F2F2F2}.activity-item:last-child{border-bottom:0}.activity-icon{width:34px;height:34px;border-radius:9px;background:#F8E7E9;color:#750C16;display:grid;place-items:center;font-size:17px;flex-shrink:0}.activity-icon.warn{background:#fff2e1;color:#d17b0a}.activity-icon.danger{background:#ffebec;color:#d44752}.activity-copy{min-width:0;flex:1}.activity-copy strong{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-copy small{font-size:10px;color:var(--muted);display:block;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-time{font-size:9px;color:#89948f;white-space:nowrap}.stock-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #F2F2F2}.stock-row:last-child{border:0}.stock-glyph{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#fff0f0;color:#d64752;font-size:16px}.stock-name{min-width:0;flex:1}.stock-name strong{display:block;font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.stock-name small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.pill{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:6px;font-size:9px;font-weight:700;white-space:nowrap}.pill-accent{background:#F8DCDF;color:#730B16}.pill-red{background:#ffe5e6;color:#b82d38}.pill-amber{background:#fff0d9;color:#a95a00}.pill-blue{background:#e1efff;color:#1762ac}.toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:14px}.toolbar .search-box{flex:1;min-width:200px}.search-box{height:38px;border:1px solid var(--line);background:white;border-radius:8px;display:flex;align-items:center;gap:8px;padding:0 11px;color:#829089}.search-box input{width:100%;border:0;outline:0;background:transparent;font-size:11px}.table-wrap{overflow:auto;width:100%}table{width:100%;border-collapse:collapse;white-space:nowrap}thead th{text-align:left;background:#F9F9F9;color:#737373;font-size:9px;font-weight:700;padding:12px 14px;border-bottom:1px solid var(--line);letter-spacing:.25px}tbody td{padding:12px 14px;border-bottom:1px solid #EFEFEF;font-size:11px;color:#3B3B3B}tbody tr:hover{background:#FCF9F9}tbody tr:last-child td{border-bottom:0}.table-name{font-weight:700;color:#111111}.table-sub{display:block;color:#89948e;font-size:10px;margin-top:3px}.table-actions{display:flex;gap:5px}.action-btn{width:28px;height:28px;border:1px solid var(--line);border-radius:7px;background:white;color:#535353}.action-btn:hover{color:var(--accent);border-color:#CB9A9F}.table-foot{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;color:#777777;font-size:10px;gap:10px}.empty{padding:35px 15px;text-align:center;color:var(--muted);font-size:12px}.empty b{display:block;color:#372628;margin-bottom:5px}.page-banner{border-radius:13px;padding:22px;color:white;background:linear-gradient(90deg,#111111ed,#11111166),url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1400&q=80') center 50%/cover;margin-bottom:17px}.page-banner h1{font:800 25px Manrope,sans-serif;margin:0 0 5px}.page-banner p{margin:0;color:#E1D3D4;font-size:12px}.page-banner .eyebrow{color:#D49BA1}.eyebrow{font-size:9px;letter-spacing:1.6px;color:#86131E;font-weight:700}.loading{padding:80px 20px;text-align:center;color:var(--muted)}.spinner{display:inline-block;width:20px;height:20px;border:2px solid #E6CCCF;border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite;vertical-align:middle;margin-right:9px}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:fixed;bottom:24px;right:24px;z-index:100;background:#111111;color:#fff;border-radius:9px;padding:13px 17px;box-shadow:0 12px 35px #11111140;opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s;font-size:12px}.toast.show{opacity:1;transform:none}.toast.error{background:#a82d38}.modal-backdrop{position:fixed;inset:0;background:#11111190;backdrop-filter:blur(4px);z-index:50;display:grid;place-items:center;padding:18px}.modal-backdrop[hidden]{display:none}.modal{width:min(650px,100%);max-height:90vh;overflow:auto;background:white;border-radius:15px;box-shadow:0 25px 100px #0004}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:21px 23px;border-bottom:1px solid var(--line)}.modal-head h2{margin:4px 0 0;font:800 20px Manrope,sans-serif}.modal-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:22px 23px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:10px;font-weight:700;color:#595959}.field input,.field select,.field textarea{width:100%;min-height:39px;border:1px solid #E3E3E3;border-radius:8px;padding:9px 10px;background:#FCFCFC;color:#111111;font-size:12px}.field textarea{min-height:80px;resize:vertical}.modal-actions{display:flex;justify-content:flex-end;gap:9px;padding:15px 23px;border-top:1px solid var(--line)}.mobile-shade{display:none}
@media(max-width:1250px){.dashboard-grid{grid-template-columns:1fr 1fr}.dashboard-grid .panel:last-child{grid-column:1/-1}.dashboard-hero{grid-template-columns:1fr 1fr}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content{padding:20px}.topbar{padding:0 20px}}
@media(max-width:850px){.sidebar{transform:translateX(-100%);transition:transform .22s;box-shadow:10px 0 35px #11111120}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.menu-toggle{display:grid}.topbar{gap:12px;padding:0 14px}.global-search{width:auto;flex:1}.top-actions{gap:6px}.money-pill{display:none}.content{padding:17px 14px}.dashboard-hero{grid-template-columns:1fr}.hero-image{min-height:180px}.dashboard-grid{grid-template-columns:1fr}.dashboard-grid .panel:last-child{grid-column:auto}.heading-meta{display:none}.page-heading h1{font-size:23px}}
@media(max-width:520px){.topbar{height:56px}.top-actions .icon-btn{display:none}.global-search input{font-size:10px}.stats-grid{gap:9px}.stat-card{padding:12px}.stat-icon{width:34px;height:34px;font-size:18px}.stat-value{font-size:18px}.stat-label{font-size:10px}.welcome-panel{padding:18px}.welcome-panel h1{font-size:23px}.quick-actions .btn{flex:1}.page-heading{align-items:flex-start}.page-heading h1{font-size:21px}.toolbar .btn{flex-shrink:0}.modal-fields{grid-template-columns:1fr;padding:17px}.field.full{grid-column:auto}.modal-head{padding:17px}.modal-actions{padding:13px 17px}.table-foot{align-items:flex-start;flex-direction:column}}

.picker-option{display:flex;width:100%;justify-content:space-between;align-items:center;gap:14px;text-align:left;padding:13px 14px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font-size:12px}.picker-option:hover,.picker-option:focus{border-color:#C78289;background:#FBF2F3}.picker-option span{white-space:nowrap;color:var(--accent);font-weight:700;font-size:10px}.modal-head p{margin:7px 0 0;color:var(--muted);font-size:11px}

@media(min-width:851px){.menu-toggle{display:grid}.sidebar.collapsed{width:72px}.sidebar.collapsed .brand span:not(.brand-mark),.sidebar.collapsed .side-label,.sidebar.collapsed .nav-item:not(.active),.sidebar.collapsed .sidebar-bottom{display:none}.sidebar.collapsed .nav-item{justify-content:center;font-size:0;padding:12px}.sidebar.collapsed .nav-item span{font-size:20px}.main.sidebar-collapsed{margin-left:72px}}
@media(max-width:850px){body.menu-open:after{content:"";position:fixed;inset:0;background:#11111166;z-index:19}.sidebar{z-index:21}.topbar{z-index:18}}
.nav-count{margin-left:auto;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#a81224;color:#fff;font-size:10px;font-style:normal;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.nav-count[hidden]{display:none}
@media(max-width:850px){.sidebar{overflow-y:auto;overscroll-behavior:contain}.sidebar nav{flex:0 0 auto;padding-bottom:14px}.sidebar-bottom{min-height:90px;flex:0 0 90px}.sidebar-bottom .side-tag,.sidebar-bottom small{display:none}.top-actions .money-pill{display:none!important}.top-actions .avatar,.top-actions #logoutBtn{display:none}.top-actions .icon-btn{flex:0 0 38px}}

[hidden]{display:none!important}
@media(max-width:520px){.backup-files-toolbar{flex-wrap:wrap}.backup-files-toolbar>span{margin-left:0}.backup-files-toolbar button{margin-left:auto}}
.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#111111,#111111 55%,#c8102e)}
.login-card{width:min(100%,420px);background:#fff;border-radius:24px;padding:36px;box-shadow:0 24px 80px #0004;display:flex;flex-direction:column;gap:16px}
.login-mark{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:#6B1F27;color:#fff;font-size:28px;font-weight:800}
.login-card h1{margin:0;font-size:30px}.login-subtitle{color:#666666;margin:0 0 8px}
.login-card label{display:flex;flex-direction:column;gap:7px;font-weight:600;font-size:14px}
.login-card input{border:1px solid #DDDDDD;border-radius:10px;padding:12px;font:inherit}
.login-error{color:#b42318;margin:0}.login-submit{width:100%;justify-content:center}
.picker-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border:1px solid #E5E5E5;border-radius:12px;background:#fff;padding:13px 14px;margin:5px 0;cursor:pointer;color:inherit}
.picker-option:hover{border-color:#73282F;background:#F8F3F3}

.action-rows{display:flex;flex-direction:column;gap:8px;width:100%}.action-entry{display:grid;grid-template-columns:minmax(0,1fr) 130px 36px;gap:8px;align-items:center}.action-entry input{min-width:0;width:100%;border:1px solid #DDDDDD;border-radius:9px;padding:11px;font:inherit}.form-hint{font-size:12px;color:#6b6b6b;margin:8px 0 0}
.product-rows{display:flex;flex-direction:column;gap:8px;width:100%;margin-bottom:8px}.product-entry{display:grid;grid-template-columns:150px minmax(0,1fr) 34px;align-items:start;gap:8px;padding:10px;border:1px solid var(--line);border-radius:9px;background:#FCFCFC}.product-entry select,.product-entry input{min-width:0;min-height:38px;border:1px solid #E3E3E3;border-radius:7px;padding:8px;background:white;color:#111111;font:inherit}.product-fields{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:7px}.product-fields small{grid-column:1/-1;color:#9b5a00}
@media(max-width:560px){.action-entry{grid-template-columns:minmax(0,1fr) 95px 32px}.login-card{padding:26px}}
@media(max-width:560px){.product-entry{grid-template-columns:1fr 32px}.product-entry>[name=origin]{grid-column:1/-1}.product-fields{grid-column:1;grid-template-columns:1fr 80px}}

.client-picker{display:flex;flex-direction:column;gap:7px}.client-picker input,.client-picker select{width:100%;border:1px solid #DDDDDD;border-radius:9px;padding:11px;font:inherit;background:#fff}
.search-combobox{position:relative;width:100%}.search-combobox>input[role=combobox]{width:100%;border:1px solid #DDDDDD;border-radius:9px;padding:11px 40px 11px 12px;font:inherit;background:#fff;cursor:text}.search-combobox:after{content:'⌄';position:absolute;right:14px;top:9px;color:#697386;font-size:18px;pointer-events:none}.search-combobox>input[role=combobox]:focus{outline:2px solid #dce7ff;border-color:#7b9bea}.search-combobox-menu{position:absolute;z-index:30;top:calc(100% + 5px);left:0;right:0;max-height:230px;overflow:auto;padding:5px;border:1px solid #dedfe5;border-radius:10px;background:#fff;box-shadow:0 12px 28px #20253a24}.search-combobox-option{display:block;width:100%;padding:10px 11px;border:0;border-radius:7px;background:transparent;text-align:left;font:inherit;color:inherit;cursor:pointer}.search-combobox-option:hover,.search-combobox-option[aria-selected=true]{background:#f0f4fb}.search-combobox-empty{padding:11px;color:#697386;font-size:13px}

.action-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.remember-action{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;font-size:13px!important;font-weight:500!important;margin-top:12px}.remember-action input{width:auto!important}

.money-pill{border:0;cursor:pointer}.money-pill:hover{filter:brightness(1.08)}
@media(max-width:850px){.top-actions .money-pill{display:inline-flex;padding:7px 8px;font-size:10px}}

[hidden]{display:none!important}.portal-stats{margin-bottom:16px}.portal-grid{display:grid;gap:16px}.vehicle-card{padding:0;overflow:hidden}.vehicle-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;background:linear-gradient(110deg,#fff,#faf6f6);border-bottom:1px solid var(--line)}.vehicle-card-head h2{margin:5px 0 4px;font:800 21px/1.2 Manrope,sans-serif;letter-spacing:-.5px}.vehicle-card-head p{margin:0;color:var(--muted);font-size:11px}.vehicle-plate{border:2px solid #171717;border-radius:6px;padding:8px 12px;color:#171717;background:#fff;font-weight:800;letter-spacing:1px;white-space:nowrap}.vehicle-specs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#e8e8e8;border-bottom:1px solid var(--line);margin:0}.vehicle-specs div{min-width:0;padding:13px 16px;background:#fff}.vehicle-specs dt{font-size:9px;color:#777;text-transform:uppercase;letter-spacing:.7px}.vehicle-specs dd{margin:5px 0 0;color:#171717;font-size:12px;font-weight:700;overflow-wrap:anywhere}.vehicle-history{padding:19px 22px}.vehicle-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.vehicle-history-heading h3{margin:4px 0 0;font:800 16px Manrope,sans-serif}.vehicle-history-empty{margin:14px 0 0;padding:14px;border:1px dashed #d9d9d9;border-radius:8px;color:var(--muted);font-size:11px}.visit-list{list-style:none;padding:0;margin:15px 0 0;border-left:2px solid #e6c8cc}.visit-list>li{position:relative;padding:0 0 15px 16px}.visit-list>li:last-child{padding-bottom:0}.visit-list>li:before{content:"";position:absolute;left:-6px;top:2px;width:10px;height:10px;border:2px solid #c8102e;border-radius:50%;background:#fff}.visit-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px}.visit-meta strong{color:#171717}.visit-meta span{color:#777;text-align:right}.visit-list ul{padding-left:16px;margin:7px 0 0;color:#555;font-size:10px;line-height:1.7}.portal-empty{padding:44px 22px;text-align:center}.vehicle-empty-icon{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#f8e2e5;color:#c8102e;font-size:23px}.portal-empty h2{margin:12px 0 6px;font:800 19px Manrope,sans-serif}.portal-empty p{max-width:520px;margin:0 auto;color:var(--muted);font-size:12px;line-height:1.6}@media(max-width:900px){.vehicle-specs{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.vehicle-card-head{align-items:flex-start}.vehicle-plate{font-size:10px;padding:7px}.vehicle-specs{grid-template-columns:1fr 1fr}.vehicle-history{padding:16px}.visit-meta{align-items:flex-start;flex-direction:column}.visit-meta span{text-align:left}}
.search-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.search-summary{margin:0 0 14px;color:var(--muted)}.search-group{padding:18px;min-width:0}.search-group-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.search-group-heading h2{margin:0;font:800 15px Manrope,sans-serif}.search-group-heading span,.search-more,.search-empty{font-size:11px;color:var(--muted)}.search-result-list{display:grid;gap:7px}.search-result{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:11px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;text-align:left;color:var(--ink);font-size:11px}.search-result:hover{border-color:var(--accent);background:#fffafa}.search-result span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-result b{color:var(--accent);white-space:nowrap;font-size:10px}.search-more{margin:10px 0 0}.search-empty{margin:0;padding:10px 0}@media(max-width:1000px){.search-groups{grid-template-columns:1fr 1fr}}@media(max-width:650px){.search-groups{grid-template-columns:1fr}}
.brand{justify-content:center;padding:16px 14px 22px}.brand-logo{display:block;width:100%;max-width:194px;height:auto;object-fit:contain}.login-logo{display:block;width:min(100%,420px);height:auto;margin:0 auto 18px}.login-mark{display:none}
.invoice-pdf-link{color:var(--accent);font-size:10px;font-weight:700;text-decoration:none}.invoice-pdf-link:hover{text-decoration:underline}.client-mileage-form{padding:13px 20px;border-bottom:1px solid var(--line);display:grid;gap:7px}.client-mileage-form>label,.client-chat-compose label{font-size:11px;font-weight:700;color:#444}.client-mileage-form>div{display:flex;align-items:center;gap:8px;max-width:420px}.client-mileage-form input{width:140px;min-height:35px;padding:7px 9px;border:1px solid var(--line);border-radius:7px;background:#fff}.client-mileage-form>div>span{color:var(--muted);font-size:11px}.visit-no-lines{margin:8px 0 0;color:var(--muted);font-size:10px}.client-welcome{margin-bottom:16px}.client-chat-compose{padding:18px;margin-bottom:16px}.client-chat-compose form{display:grid;gap:10px}.client-chat-compose textarea{width:100%;min-height:90px;padding:11px;border:1px solid var(--line);border-radius:8px;resize:vertical;font-size:12px}.client-chat-compose form>div{display:flex;align-items:center;justify-content:space-between}.client-chat-compose small{font-size:10px;color:var(--muted)}.client-chat-list{display:grid;gap:12px}.client-chat-item{padding:16px;display:grid;gap:10px}.client-chat-date{font-size:10px;color:var(--muted)}.client-chat-bubble{max-width:min(660px,90%);padding:12px 14px;border-radius:10px;font-size:12px}.client-chat-bubble p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.client-chat-bubble b{font-size:10px}.client-chat-own{background:#f7e8ea;border:1px solid #edd1d5}.client-chat-admin{justify-self:end;background:#f4f4f4;border:1px solid #e5e5e5}.client-chat-item .pill{justify-self:start}
.chat-panel{display:grid;grid-template-columns:280px minmax(0,1fr);height:min(72vh,760px);min-height:500px;overflow:hidden}.client-chat-panel{grid-template-columns:minmax(0,1fr)}.chat-conversations{min-width:0;overflow-y:auto;border-right:1px solid var(--line);background:#fcfbfb}.chat-list-heading{padding:15px 16px;font-size:12px;font-weight:800;border-bottom:1px solid var(--line)}.chat-list-heading span{float:right;color:var(--muted);font-weight:500}.chat-contact{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;padding:12px 11px;text-align:left;border:0;border-bottom:1px solid #efeded;background:transparent;color:var(--ink)}.chat-contact:hover,.chat-contact.active{background:#f5e8ea}.chat-contact-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#161616;color:#fff;font-weight:800;font-size:13px;flex:none}.chat-contact-copy{min-width:0;display:grid;gap:4px}.chat-contact-copy b{font-size:11px}.chat-contact-copy small{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-contact-meta{display:grid;justify-items:end;gap:5px}.chat-contact-meta>i{font-style:normal;font-size:9px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border-radius:9px;background:var(--accent);color:#fff}.chat-contact-meta>small{font-size:9px;color:var(--muted);white-space:nowrap}.chat-thread{min-width:0;display:flex;flex-direction:column;background:#fff}.chat-title{display:flex;align-items:center;gap:10px;padding:13px 16px;border-bottom:1px solid var(--line);min-height:61px}.chat-title>div{display:grid;gap:4px}.chat-title b{font-size:12px}.chat-title small{font-size:10px;color:var(--muted)}.chat-messages{flex:1;min-height:0;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:9px;background:#faf9f9}.chat-message{max-width:78%;display:flex}.chat-in{align-self:flex-start}.chat-out{align-self:flex-end;justify-content:flex-end}.chat-bubble{max-width:100%;padding:9px 12px;border:1px solid #e6e2e2;border-radius:14px;background:#fff;box-shadow:0 1px 2px #00000008}.chat-out .chat-bubble{background:#810e19;color:#fff;border-color:#810e19;border-bottom-right-radius:4px}.chat-in .chat-bubble{border-bottom-left-radius:4px}.chat-bubble p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.45}.chat-bubble time{display:block;margin-top:6px;text-align:right;font-size:9px;color:#898989}.chat-out .chat-bubble time{color:#eed5d8}.chat-compose{display:flex;align-items:flex-end;gap:9px;padding:12px;border-top:1px solid var(--line);background:#fff}.chat-compose textarea{flex:1;min-height:42px;max-height:130px;resize:vertical;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font-size:12px}.chat-empty,.chat-no-selection{margin:auto;padding:28px;color:var(--muted);text-align:center;font-size:12px}.chat-no-selection{display:grid;place-items:center;gap:8px;flex:1}.chat-no-selection>span{font-size:30px;color:var(--accent)}.chat-no-selection b{color:var(--ink)}.chat-no-selection small{font-size:10px}@media(max-width:760px){.chat-panel{grid-template-columns:minmax(0,1fr);height:75vh;min-height:440px}.chat-conversations{max-height:150px;border-right:0;border-bottom:1px solid var(--line)}.chat-contact{padding:8px 10px}.chat-message{max-width:90%}}
.admin-chat-panel{grid-template-rows:minmax(0,1fr)}.admin-chat-panel .chat-thread{min-height:0;height:100%;overflow:hidden}.admin-chat-panel .chat-messages{min-height:0;flex:1 1 auto}.admin-chat-panel .chat-compose{flex:0 0 auto;position:relative;z-index:1;background:#fff}
@media(max-width:760px){.admin-chat-panel{grid-template-rows:minmax(0,150px) minmax(0,1fr)}.admin-chat-panel .chat-conversations{height:150px;max-height:150px;min-height:0}.admin-chat-panel .chat-thread{min-height:0}}
.admin-chat-panel .chat-thread{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;height:100%;overflow:hidden}
.admin-chat-panel .chat-messages{min-height:0;height:auto;overflow-y:auto;overscroll-behavior:contain}
.admin-chat-panel .chat-compose{min-height:66px;align-self:stretch;flex:none;position:relative;z-index:2}
.admin-chat-panel .chat-compose textarea{min-width:0;max-height:100px}
.admin-chat-list-heading{display:flex;align-items:center;justify-content:space-between;gap:7px}.admin-chat-list-heading>span{float:none;color:var(--ink);font-weight:800}.admin-chat-list-heading .btn{flex:none;padding:6px 7px;font-size:9px;white-space:nowrap}
.admin-chat-panel .chat-title [data-close-chat]{margin-left:auto;flex:none}
.table-actions{flex-wrap:wrap}.vehicle-card-title{display:flex;align-items:center;gap:14px;min-width:0}.vehicle-card-title>div{min-width:0}.vehicle-brand-mark{width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;flex:none;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.vehicle-brand-logo{display:block;width:100%;height:100%;padding:5px;object-fit:contain}.vehicle-brand-fallback{color:var(--accent);font-size:20px}.vehicle-table-brand{display:inline-flex;align-items:center;gap:9px;font-weight:700}.vehicle-table-brand .vehicle-brand-mark{width:34px;height:34px;border-radius:9px}.vehicle-log-section{padding:18px 22px;border-top:1px solid var(--line)}.vehicle-log-list{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:10px}.vehicle-log-list li{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;padding:11px 12px;border:1px solid #eee;border-radius:9px;background:#fff}.vehicle-log-list time{font-size:10px;color:var(--muted)}.vehicle-log-list li>div{display:grid;gap:4px;min-width:0}.vehicle-log-list strong{font-size:11px;line-height:1.5;overflow-wrap:anywhere}.vehicle-log-list small{font-size:10px;color:var(--muted)}.vehicle-log-modal{width:min(860px,calc(100vw - 28px));max-height:min(86vh,900px);overflow:auto}.vehicle-log-modal #vehicleLogContent{max-height:calc(86vh - 100px);overflow:auto}.vehicle-log-modal .vehicle-log-section{border-top:0}.admin-log-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px}.admin-log-pagination>div{display:flex;align-items:center;gap:9px}.admin-log-pagination>div>span{font-size:11px;font-weight:700;white-space:nowrap}.admin-log-pagination button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:760px){.vehicle-card-title{gap:9px}.vehicle-brand-mark{width:40px;height:40px}.vehicle-log-section{padding:16px}.vehicle-log-list li{grid-template-columns:1fr;gap:5px}.admin-log-pagination{align-items:flex-start;flex-direction:column}.admin-log-pagination>div{width:100%;justify-content:space-between}}
.vehicle-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.vehicle-picker-card{display:flex;align-items:center;gap:14px;width:100%;padding:17px 18px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);cursor:pointer;transition:transform .15s,border-color .15s}.vehicle-picker-card:hover{transform:translateY(-2px);border-color:#cb9a9f}.vehicle-picker-copy{display:grid;gap:4px;min-width:0;flex:1}.vehicle-picker-copy strong{font:800 17px Manrope,sans-serif;color:#171717}.vehicle-picker-copy small{font-size:11px;color:var(--muted)}.vehicle-picker-arrow{font-size:20px;color:var(--accent)}
.garage-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px;padding:26px 28px;border-radius:16px;background:radial-gradient(circle at 82% 15%,#ffffff2b 0 2px,transparent 3px),linear-gradient(115deg,#17191c,#34383d 70%,#64121c);color:#fff;position:relative;overflow:hidden}.garage-heading:after{content:"";position:absolute;width:250px;height:250px;border:1px solid #ffffff20;border-radius:50%;right:4%;top:-145px;box-shadow:0 0 0 28px #ffffff08,0 0 0 58px #ffffff06}.garage-heading .eyebrow{color:#f1a9b0}.garage-heading h1{margin:6px 0;font:800 29px Manrope,sans-serif;letter-spacing:-.8px}.garage-heading p{margin:0;color:#d5d7da;font-size:12px}.garage-total{z-index:1;display:grid;place-items:center;min-width:66px;height:66px;border:1px solid #ffffff45;border-radius:14px;background:#ffffff10;font:800 24px Manrope}.garage-total small{font:700 8px Manrope;letter-spacing:1px;color:#e7c8cb}.garage-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:18px}.garage-card{--glow:#a91d2c;position:relative;display:flex;flex-direction:column;min-height:350px;width:100%;padding:20px;text-align:left;color:#f8f8f8;background:linear-gradient(155deg,#282b30,#151619 72%);border:1px solid #3c3f45;border-radius:17px;box-shadow:0 14px 35px #11111117;overflow:hidden;cursor:pointer;transition:transform .2s,border-color .2s,box-shadow .2s}.garage-card:hover{transform:translateY(-5px);border-color:var(--glow);box-shadow:0 20px 38px #1112}.garage-card-1{--glow:#286a9d}.garage-card-2{--glow:#8b7133}.garage-card-3{--glow:#477758}.garage-card:before{content:"";position:absolute;width:210px;height:210px;right:-70px;top:66px;border-radius:50%;background:var(--glow);opacity:.17;filter:blur(45px)}.garage-card-top,.garage-card-bottom,.garage-card-info{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px}.garage-status{display:flex;align-items:center;gap:7px;text-transform:uppercase;font-size:8px;font-weight:800;letter-spacing:1.15px;color:#c9cbd0}.garage-status i{width:7px;height:7px;border-radius:50%;background:#5dd69a;box-shadow:0 0 10px #5dd69a}.garage-index{font:700 11px Manrope;color:#888d95}.garage-car-art{position:relative;height:160px;display:grid;place-items:center;margin:4px -4px 3px}.garage-orbit{position:absolute;width:155px;height:155px;border:1px solid #ffffff10;border-radius:50%;box-shadow:0 0 0 20px #ffffff04,0 0 0 40px #ffffff03}.garage-brand{position:absolute;left:8px;top:17px;z-index:2;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#fff;box-shadow:0 7px 20px #0004}.garage-brand .vehicle-brand-mark{width:100%;height:100%;border:0;border-radius:12px}.garage-car-symbol{position:relative;z-index:1;font-size:82px;line-height:1;filter:drop-shadow(0 15px 9px #0008);transform:translateY(7px)}.garage-card-info{align-items:flex-start;flex-direction:column;gap:9px}.garage-card-info strong{font:800 21px/1.1 Manrope,sans-serif;letter-spacing:-.45px}.garage-card-info em{font-style:normal;color:#d6d8dc}.garage-plate{padding:6px 10px;border:1px solid #ffffff35;border-radius:5px;background:#f8f8f8;color:#18191b;font:800 10px Manrope;letter-spacing:1px}.garage-card-bottom{margin-top:auto;padding-top:17px;border-top:1px solid #ffffff17}.garage-card-bottom>span:first-child{display:grid;gap:2px}.garage-card-bottom b{font:800 17px Manrope}.garage-card-bottom small{font-size:7px;letter-spacing:1px;color:#9b9fa6}.garage-open{font-size:10px;font-weight:700;color:#f0aab1}.garage-open i{font-style:normal;margin-left:5px}.garage-card:focus-visible{outline:3px solid #c8102e;outline-offset:3px}@media(max-width:560px){.garage-heading{padding:21px;align-items:flex-start}.garage-grid{grid-template-columns:1fr}.garage-card{min-height:330px}}
.design-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:17px;align-items:start}.design-option{min-width:0;padding:16px;background:#f7f7f8;border:1px solid #e6e6e8;border-radius:15px}.design-option-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:13px}.design-option-head h2{margin:4px 0;font:800 18px Manrope,sans-serif;color:#1c1c1f}.design-option-head p{margin:0;color:#777;font-size:11px}.design-option-tag{padding:5px 8px;border-radius:20px;background:#fff;color:#666;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.5px}.design-preview{display:grid;gap:11px}.garage-option{position:relative;width:100%;display:flex;text-align:left;cursor:pointer;transition:transform .18s,box-shadow .18s}.garage-option:hover{transform:translateY(-3px);box-shadow:0 14px 30px #15151a20}.garage-option:focus-visible{outline:3px solid #c8102e;outline-offset:3px}.garage-editorial{min-height:180px;overflow:hidden;align-items:stretch;background:white;border:1px solid #e9e7e4;border-radius:13px;color:#202124}.editorial-image{position:relative;width:41%;min-height:180px;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 52% 66%,#fff 0,transparent 46%),linear-gradient(145deg,#fff,var(--car-bg))}.editorial-image:after{content:"";position:absolute;width:160%;height:48px;bottom:22px;left:-20%;background:#ffffff6b;transform:rotate(-13deg)}.editorial-no{position:absolute;left:13px;top:13px;font-size:7px;font-weight:800;letter-spacing:1.2px;color:#7a7978}.editorial-car{z-index:1;font-size:62px;filter:drop-shadow(0 9px 5px #0002);transform:translateY(10px)}.editorial-brand{position:absolute;z-index:2;right:11px;top:10px;width:32px;height:32px;display:grid;place-items:center;background:white;border-radius:9px;box-shadow:0 3px 12px #0001}.editorial-brand .vehicle-brand-logo{padding:4px}.editorial-brand .brand-fallback-mark{width:100%;height:100%;font-size:7px}.editorial-mileage{position:absolute;z-index:2;left:12px;bottom:12px;padding:5px 7px;border-radius:5px;background:#fff;color:#303032;font-size:8px;font-weight:800}.editorial-copy{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:18px 15px}.editorial-copy .eyebrow{font-size:7px}.editorial-copy strong{margin-top:7px;font:800 18px/1.1 Manrope,sans-serif}.editorial-copy strong em{font-style:normal;color:#777}.editorial-plate{margin-top:10px;padding:5px 8px;border:1px solid #d8d8d8;border-radius:4px;font:800 8px Manrope;letter-spacing:.7px}.editorial-link{margin-top:auto;padding-top:10px;color:#a41422;font-size:9px;font-weight:800}.editorial-link b{padding-left:5px}.garage-minimal{min-height:88px;align-items:center;gap:12px;padding:12px;background:#fff;border:1px solid #e7e7e9;border-radius:11px;color:#222}.minimal-accent{position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(var(--car-bg),#a11926)}.minimal-brand{width:43px;height:43px;flex:none;display:grid;place-items:center;margin-left:4px;border:1px solid #eee;border-radius:10px;background:#fff}.minimal-brand .vehicle-brand-logo{padding:4px}.minimal-brand .brand-fallback-mark{width:100%;height:100%;font-size:8px}.minimal-copy{display:grid;gap:3px;min-width:0;flex:1}.minimal-copy .eyebrow{font-size:7px}.minimal-copy strong{font:800 14px Manrope;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.minimal-copy small{font-size:9px;color:#777}.minimal-km{display:grid;text-align:right;gap:2px}.minimal-km b{font:800 12px Manrope}.minimal-km small{font-size:7px;letter-spacing:.8px;color:#888}.minimal-arrow{padding-left:4px;color:#a41422;font-size:16px}.garage-luxe{min-height:190px;flex-direction:column;padding:15px 17px 13px;overflow:hidden;color:#f8f7f4;background:linear-gradient(145deg,#292a2d,#111214);border:1px solid #393a3d;border-radius:13px}.luxe-top,.luxe-bottom{position:relative;z-index:1;width:100%;display:flex;align-items:center;justify-content:space-between}.luxe-top{font-size:7px;font-weight:800;letter-spacing:1.15px;color:#c5c3bf}.luxe-top span:last-child{color:#777}.luxe-art{position:relative;display:grid;place-items:center;width:100%;height:83px;background:radial-gradient(ellipse at 52% 86%,var(--car-bg),transparent 54%)}.luxe-circle{position:absolute;width:76px;height:76px;border:1px solid #ffffff18;border-radius:50%;box-shadow:0 0 0 12px #ffffff06}.luxe-car{position:relative;z-index:1;font-size:48px;filter:drop-shadow(0 6px 5px #0008)}.luxe-brand{position:absolute;left:4px;top:5px;width:27px;height:27px;display:grid;place-items:center;border-radius:7px;background:#fff}.luxe-brand .vehicle-brand-logo{padding:3px}.luxe-brand .brand-fallback-mark{width:100%;height:100%;font-size:6px}.luxe-name{position:relative;z-index:1;font:800 17px Manrope;letter-spacing:-.25px}.luxe-name em{font-style:normal;color:#d0cec9}.luxe-bottom{margin-top:10px;padding-top:9px;border-top:1px solid #ffffff20}.luxe-plate{padding:4px 7px;background:#f4f3f0;color:#1c1c1c;border-radius:3px;font:800 8px Manrope;letter-spacing:.7px}.luxe-bottom>span:nth-child(2){display:flex;align-items:baseline;gap:4px}.luxe-bottom b{font:800 10px Manrope}.luxe-bottom small{font-size:6px;color:#aaa}.luxe-bottom i{font-style:normal;color:#ef9da5}.brand-fallback-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:linear-gradient(145deg,#292a2e,#a71928);color:white;font:900 8px Manrope;letter-spacing:-.6px;box-shadow:inset 0 0 0 1px #ffffff55}.brand-fallback-mark span{padding:3px;border:1px solid #ffffff70;border-radius:4px}.design-note{margin:14px 2px;color:#777;font-size:11px}@media(max-width:600px){.design-options{grid-template-columns:1fr}.garage-heading{padding:21px}}
/* Vehicle card design concepts */
.design-option{transition:border-color .2s,box-shadow .2s,transform .2s}.design-option.is-chosen{border-color:#bd2435;box-shadow:0 0 0 2px #bd24351c,0 14px 32px #28212a12;transform:translateY(-2px)}.design-choice{justify-self:start;padding:9px 12px;border:1px solid #d7d7da;border-radius:8px;background:#fff;color:#333;font-size:10px;font-weight:800;transition:.18s}.design-choice:hover{border-color:#b51d2d;color:#9d1422}.design-option.is-chosen .design-choice{border-color:#8f1220;background:#8f1220;color:#fff}.editorial-car,.luxe-car{width:150px;height:80px;display:grid;place-items:center}.editorial-car svg,.luxe-car svg{width:100%;height:100%;overflow:visible;fill:#30343a;filter:drop-shadow(0 9px 5px #0002)}.luxe-car svg{width:140px;height:70px;fill:#e7e5e0;filter:drop-shadow(0 8px 6px #0008)}.editorial-car svg circle,.luxe-car svg circle{fill:#25282c}.luxe-car svg circle{fill:#111214}.editorial-brand .brand-fallback-mark,.minimal-brand .brand-fallback-mark,.luxe-brand .brand-fallback-mark{background:linear-gradient(145deg,#1b1d21,#bd2537);box-shadow:inset 0 0 0 1px #ffffff75}.garage-option{cursor:default}.garage-option:hover{transform:none;box-shadow:none}.garage-option:focus-visible{outline:0}
/* Selected minimal client garage */
.vehicle-picker-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:14px;align-items:stretch}.vehicle-picker-grid .garage-minimal{min-height:96px;padding:16px 17px;border-radius:14px;box-shadow:0 5px 18px #1e242a0a;transition:transform .18s,border-color .18s,box-shadow .18s}.vehicle-picker-grid .garage-minimal:hover{transform:translateY(-3px);border-color:#c88a91;box-shadow:0 13px 28px #1e242a14}.vehicle-picker-grid .minimal-brand{width:48px;height:48px;border-radius:12px;box-shadow:0 2px 7px #1717170b}.vehicle-picker-grid .minimal-copy strong{font-size:15px}.vehicle-picker-grid .minimal-km{padding-left:12px;border-left:1px solid #ededee;min-width:72px}.vehicle-page-actions{display:flex;gap:8px;flex-wrap:wrap}.portal-empty{grid-column:1/-1}@media(max-width:560px){.vehicle-picker-grid{grid-template-columns:1fr}.vehicle-picker-grid .garage-minimal{gap:9px;padding:13px}.vehicle-picker-grid .minimal-brand{width:42px;height:42px}.vehicle-page-actions{width:100%;justify-content:flex-start}}
/* Client garage: one full-width row per vehicle */
.vehicle-picker-grid{grid-template-columns:1fr;gap:10px}.vehicle-picker-grid .garage-minimal{width:100%;min-height:82px;padding:13px 18px;border-radius:12px}.vehicle-picker-grid .minimal-copy{grid-template-columns:minmax(110px,.55fr) minmax(180px,1fr);align-items:center;column-gap:18px}.vehicle-picker-grid .minimal-copy .eyebrow{grid-column:1}.vehicle-picker-grid .minimal-copy strong{grid-column:2;grid-row:1/3;font-size:15px}.vehicle-picker-grid .minimal-copy small{grid-column:1}.vehicle-picker-grid .minimal-km{min-width:105px;margin-left:auto}.vehicle-picker-grid .minimal-arrow{padding:0 5px 0 10px}@media(max-width:620px){.vehicle-picker-grid .garage-minimal{padding:12px;gap:9px}.vehicle-picker-grid .minimal-copy{display:grid;grid-template-columns:1fr;gap:3px}.vehicle-picker-grid .minimal-copy .eyebrow,.vehicle-picker-grid .minimal-copy strong,.vehicle-picker-grid .minimal-copy small{grid-column:auto;grid-row:auto}.vehicle-picker-grid .minimal-copy strong{font-size:13px}.vehicle-picker-grid .minimal-km{min-width:65px;padding-left:8px}.vehicle-picker-grid .minimal-arrow{padding-left:3px}}
/* Larger vehicle rows */
.vehicle-picker-grid{gap:14px}.vehicle-picker-grid .garage-minimal{min-height:112px;padding:20px 24px;border-radius:15px;gap:18px}.vehicle-picker-grid .minimal-brand{width:60px;height:60px;border-radius:15px}.vehicle-picker-grid .minimal-copy strong{font-size:19px}.vehicle-picker-grid .minimal-copy small{font-size:11px}.vehicle-picker-grid .minimal-copy .eyebrow{font-size:8px}.vehicle-picker-grid .minimal-km{min-width:125px}.vehicle-picker-grid .minimal-km b{font-size:16px}.vehicle-picker-grid .minimal-km small{font-size:8px}.vehicle-picker-grid .minimal-arrow{font-size:22px;padding-left:14px}@media(max-width:620px){.vehicle-picker-grid .garage-minimal{min-height:94px;padding:15px;gap:10px}.vehicle-picker-grid .minimal-brand{width:50px;height:50px;border-radius:13px}.vehicle-picker-grid .minimal-copy strong{font-size:14px}.vehicle-picker-grid .minimal-km{min-width:70px}.vehicle-picker-grid .minimal-km b{font-size:13px}.vehicle-picker-grid .minimal-arrow{font-size:19px;padding-left:3px}}
.vehicle-picker-grid .garage-minimal{min-height:132px}.vehicle-picker-grid .minimal-copy{grid-template-columns:minmax(110px,.55fr) minmax(180px,1fr);grid-template-rows:auto auto auto}.vehicle-picker-grid .minimal-copy .eyebrow{grid-column:1;grid-row:1}.vehicle-picker-grid .minimal-copy strong{grid-column:2;grid-row:1/3}.vehicle-picker-grid .minimal-copy>small{grid-column:1;grid-row:2}.vehicle-row-specs{grid-column:1/-1;display:flex;align-items:center;gap:26px;margin-top:7px;padding-top:9px;border-top:1px solid #eee}.vehicle-row-specs>span{display:grid;gap:3px}.vehicle-row-specs small{font-size:7px;letter-spacing:.7px;color:#858585}.vehicle-row-specs b{font-size:10px;font-weight:700;color:#343434}@media(max-width:620px){.vehicle-picker-grid .garage-minimal{min-height:128px;flex-wrap:wrap}.vehicle-picker-grid .minimal-copy{flex:1;grid-template-columns:1fr}.vehicle-row-specs{gap:12px;flex-wrap:wrap}.vehicle-row-specs>span{min-width:66px}.vehicle-row-specs b{font-size:9px}}
/* Vehicle photos carousel and separate documents panel */
.vehicle-media-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr);gap:14px;margin:16px 18px}.vehicle-media-panel{align-self:stretch}.vehicle-media-panel .panel-head{padding:14px 16px}.vehicle-media-panel .panel-head h3{margin:4px 0 0;font:800 14px Manrope,sans-serif}.vehicle-gallery{padding:12px}.gallery-stage{position:relative;height:260px;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:radial-gradient(ellipse at center,#fff 10%,#f2f3f4 100%)}.gallery-stage img{width:100%;height:100%;object-fit:contain}.gallery-position{position:absolute;left:12px;top:12px;padding:5px 8px;border:1px solid #ffffffaa;border-radius:20px;background:#fff;color:#333;font-size:9px;font-weight:800}.gallery-nav{position:absolute;top:50%;display:grid;place-items:center;width:34px;height:34px;transform:translateY(-50%);border:1px solid #ffffff99;border-radius:50%;background:#ffffffdf;color:#252525;font-size:23px;line-height:1;box-shadow:0 3px 12px #0002}.gallery-prev{left:12px}.gallery-next{right:12px}.gallery-caption{display:flex;justify-content:space-between;gap:12px;padding:10px 2px 4px}.gallery-caption strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.gallery-caption small{flex:none;color:#888;font-size:9px}.gallery-thumbnails{display:flex;gap:7px;overflow-x:auto;padding:7px 1px 1px}.gallery-thumb{flex:none;width:53px;height:43px;padding:2px;border:1px solid #e4e4e4;border-radius:7px;background:#fff;overflow:hidden}.gallery-thumb.active{border:2px solid #bb2334}.gallery-thumb img{width:100%;height:100%;object-fit:cover;border-radius:4px}.vehicle-documents{padding:8px 14px 14px}.vehicle-document-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}.vehicle-document-list li{display:flex;align-items:center;gap:10px;padding:10px 8px;border-bottom:1px solid #eee}.vehicle-document-list li:last-child{border:0}.document-file-icon{flex:none;display:grid;place-items:center;width:34px;height:38px;border:1px solid #f0d8da;border-radius:7px;background:#fff5f5;color:#a41625;font:800 8px Manrope}.document-file-copy{display:grid;gap:4px;min-width:0;flex:1}.document-file-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.document-file-copy small{color:#858585;font-size:9px}.vehicle-document-list a{display:grid;place-items:center;flex:none;width:28px;height:28px;border:1px solid #eee;border-radius:7px;color:#a41625;text-decoration:none;font-size:16px}.media-loading,.media-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:140px;color:#777;text-align:center}.media-empty>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#f8e9eb;color:#9c1725;font-size:21px}.media-empty strong{color:#333;font-size:11px}.media-empty small{font-size:9px}.vehicle-media-grid .vehicle-documents .media-empty{min-height:220px}@media(max-width:820px){.vehicle-media-grid{grid-template-columns:1fr;margin:12px}.gallery-stage{height:230px}}
/* Product request shortcut badge visibility */
.icon-btn [hidden],#productRequestButton[hidden]{display:none!important}
/* Mechanic workspace */
.staff-services-heading{align-items:flex-end}.staff-service-summary{display:flex;gap:8px;flex-wrap:wrap}.staff-service-summary>span{display:grid;gap:3px;min-width:66px;padding:9px 12px;border:1px solid #e9e9eb;border-radius:10px;background:#fff;text-align:center}.staff-service-summary b{font:800 16px Manrope;color:#222}.staff-service-summary small{font-size:7px;letter-spacing:.7px;color:#777}.staff-service-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));gap:15px}.staff-service-card{min-width:0;padding:18px;background:#fff;border:1px solid #e8e8ea;border-radius:15px;box-shadow:0 7px 22px #1b202509;transition:transform .18s,box-shadow .18s,border-color .18s}.staff-service-card:hover{transform:translateY(-2px);border-color:#d7b3b7;box-shadow:0 14px 28px #1b202510}.staff-service-card>header{display:flex;align-items:center;gap:12px}.staff-service-brand{flex:none;display:grid;place-items:center;width:48px;height:48px;border:1px solid #ededee;border-radius:13px;background:#fff;overflow:hidden}.staff-service-brand .vehicle-brand-logo{width:100%;height:100%;padding:5px;object-fit:contain}.staff-service-vehicle{min-width:0;flex:1}.staff-service-vehicle .eyebrow{font-size:7px}.staff-service-vehicle h2{margin:4px 0;font:800 15px Manrope;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.staff-service-vehicle p{margin:0;color:#777;font-size:10px}.staff-status{flex:none;padding:6px 9px;border-radius:20px;background:#f1f2f4;color:#5a5a5a;font-size:8px;font-weight:800}.staff-status.status-pending{background:#fff2dc;color:#9a5d08}.staff-status.status-in_progress{background:#e5f0ff;color:#2260a6}.staff-status.status-done{background:#e5f5ed;color:#27704d}.staff-service-task{display:grid;gap:6px;margin:17px 0;padding:13px 14px;border-radius:10px;background:linear-gradient(110deg,#faf7f7,#f7f7f8)}.staff-service-task .eyebrow{font-size:7px}.staff-service-task strong{font:700 13px Manrope;color:#252525}.staff-service-card>footer{padding:13px 0 0;border-top:1px solid #eee}.staff-service-card>footer>label{display:block;margin-bottom:8px;color:#777;font-size:9px;font-weight:700}.staff-service-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.staff-service-controls select{min-width:120px;flex:1;height:34px;padding:0 9px;border:1px solid #e1e1e3;border-radius:8px;background:#fff;color:#333;font-size:10px}.staff-service-controls .btn{min-height:34px}.staff-chat-panel .chat-title{background:#fff}.staff-chat-panel .chat-title small{color:#777}.staff-chat-panel .chat-messages{background:#f7f8fa}@media(max-width:640px){.staff-services-heading{align-items:flex-start;flex-direction:column}.staff-service-summary{width:100%}.staff-service-summary>span{flex:1}.staff-service-grid{grid-template-columns:1fr}.staff-service-controls{align-items:stretch}.staff-service-controls select,.staff-service-controls .btn{flex:1 1 100%}}

.chat-role-badge{display:inline-flex;align-items:center;padding:2px 6px;border:1px solid #eadadd;border-radius:10px;background:#fbf2f3;color:#8a1b28;font-size:8px;font-weight:800;letter-spacing:.2px;vertical-align:1px}.chat-title .chat-role-badge{font-size:8px}.chat-contact-copy small .chat-role-badge{margin-right:3px}

/* Service status views and completed work archives */
.service-archive{margin-top:18px;border:1px solid #e7e7e9;border-radius:14px;background:#fff;box-shadow:0 6px 20px #1b202508;overflow:hidden}
.service-archive>summary{display:flex;align-items:center;gap:10px;padding:15px 18px;cursor:pointer;list-style:none;font:800 13px Manrope,sans-serif;color:#343236}
.service-archive>summary::-webkit-details-marker{display:none}
.service-archive>summary:before{content:'＋';display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#f1f1f2;color:#5f5c60;font-size:14px}
.service-archive[open]>summary:before{content:'−'}
.service-archive>summary span{display:grid;place-items:center;min-width:24px;height:22px;padding:0 7px;margin-left:auto;border-radius:12px;background:#e8f5ed;color:#26714c;font:800 10px 'DM Sans',sans-serif}
.service-archive-grid{padding:0 14px 14px}
.assignment-section{margin:0 0 18px;padding:17px;border:1px solid #e7e7e9;border-radius:15px;background:#fff;box-shadow:0 7px 24px #1b202508}
.assignment-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}
.assignment-section-heading h2{margin:0;font:800 15px Manrope,sans-serif}
.assignment-section-heading p{margin:4px 0 0;color:#7b777b;font-size:10px}
.assignment-list{display:grid;gap:9px}
.assignment-card{display:grid;grid-template-columns:minmax(170px,1.1fr) minmax(140px,1fr) minmax(100px,.65fr) minmax(130px,.8fr) minmax(120px,.65fr) auto;align-items:center;gap:14px;padding:12px;border:1px solid #eee;border-radius:12px;background:linear-gradient(110deg,#fff,#fdfcfc)}
.assignment-car{display:flex;align-items:center;gap:10px;min-width:0}
.assignment-car .staff-service-brand{width:42px;height:42px;border-radius:11px}
.assignment-car>div{display:grid;gap:4px;min-width:0}
.assignment-car b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 11px Manrope,sans-serif}
.assignment-car small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#777;font-size:9px}
.assignment-task,.assignment-staff,.assignment-state{display:grid;gap:6px;min-width:0}
.assignment-task .eyebrow,.assignment-staff .eyebrow,.assignment-state .eyebrow,.assignment-mechanic .eyebrow{font-size:7px;letter-spacing:.8px;color:#888}
.assignment-task strong{font-size:10px;line-height:1.4;overflow-wrap:anywhere}
.assignment-client{display:grid;gap:6px;min-width:0}.assignment-client .eyebrow{font-size:7px;letter-spacing:.8px;color:#888}.assignment-client strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.assignment-staff select,.assignment-state select{width:100%;height:34px;padding:0 9px;border:1px solid #e4e2e3;border-radius:8px;background:#fff;color:#333;font-size:10px}
.assignment-card>.btn{white-space:nowrap}
.assignment-staff-card .assignment-staff-requests{grid-column:1/-1;min-width:0;padding-top:10px;border-top:1px solid #ededee}
.assignment-staff-card .staff-service-requests{margin:0;padding:0;border:0}
.assignment-staff-card .staff-service-request-button{margin-top:8px}
.assignment-staff-card .staff-product-request-form{max-width:760px;margin-left:auto}
.assignment-request-card{grid-template-columns:minmax(170px,1.1fr) minmax(140px,1fr) minmax(110px,.7fr) auto auto}
.assignment-request-actions{display:flex;gap:6px;justify-content:flex-end}
.product-request-archive{margin-top:12px;box-shadow:none}
.product-request-archive>summary{padding:12px 14px;font-size:11px}
.nav-group{display:grid;gap:3px}.nav-group[hidden]{display:none}.nav-group-title{display:flex;align-items:center;gap:13px;padding:12px 13px;color:#CECECE;font-size:12px;font-weight:700}.nav-group-title>span{width:20px;text-align:center;font-size:18px}.nav-subitems{display:grid;gap:3px;padding-left:12px}.nav-item.nav-subitem{padding:9px 10px 9px 22px;color:#aaa;font-size:11px}.nav-item.nav-subitem:before{content:'·';font-size:16px;color:#8a8a8a;margin-left:-8px}.nav-item.nav-subitem.active{color:#fff}
.nav-group-title{list-style:none;cursor:pointer}.nav-group-title::-webkit-details-marker{display:none}.nav-group-title:after{content:'⌄';margin-left:auto;color:#999;font-size:12px}.nav-group[open]>.nav-group-title:after{content:'⌃'}
.car-visit-readonly{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;margin:0 0 10px}.car-visit-readonly-copy{display:grid;gap:6px;min-width:0}.car-visit-readonly-copy>b{font-size:11px}.car-visit-readonly-copy>strong{font-size:11px}.car-visit-readonly .btn{flex:none}@media(max-width:560px){.car-visit-readonly{align-items:stretch;flex-direction:column}.car-visit-readonly .btn{width:100%}}
.hero-image.workshop-hero{background-image:linear-gradient(0deg,#111111e8,#11111135 72%),linear-gradient(90deg,#111111c9 0%,#1111114d 43%,#11111100 78%),url('workshop-panorama.png');background-position:center,center,center 52%;background-size:cover,cover,cover}
.hero-image.staff-workshop-hero{min-height:230px;margin-bottom:18px;padding:26px 30px}.staff-workshop-hero h2{font-size:25px;max-width:360px}.staff-workshop-hero p{font-size:12px;margin-bottom:14px}
.staff-stat-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:14px;margin-top:15px}.staff-stat-card{margin:0}.staff-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 12px}.staff-stat-cell{display:grid;gap:4px;padding:9px 7px;border-radius:9px;background:#f4f4f5;text-align:center}.staff-stat-cell b{font:800 16px Manrope,sans-serif;color:#333}.staff-stat-cell small{font-size:8px;color:#6f6f73}.staff-stat-cell.status-pending{background:#fff3df}.staff-stat-cell.status-pending b{color:#9a5d08}.staff-stat-cell.status-in_progress{background:#eaf2ff}.staff-stat-cell.status-in_progress b{color:#2260a6}.staff-stat-cell.status-done{background:#e8f5ed}.staff-stat-cell.status-done b{color:#27704d}.staff-stat-cell.status-blocked{background:#fae9eb}.staff-stat-cell.status-blocked b{color:#a32332}.staff-stat-task-list{display:grid;gap:7px}.staff-stat-task-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid #eee;border-radius:9px;background:#fff}.staff-stat-task-copy{display:grid;gap:4px;min-width:0}.staff-stat-task-copy strong{font-size:10px;overflow-wrap:anywhere}.staff-stat-task-copy small{font-size:8px;color:#777;overflow-wrap:anywhere}.staff-stat-card .assignment-section-heading{margin-bottom:12px}
.staff-stat-revenue-total{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding:14px 17px}.staff-stat-revenue-total>div{display:grid;gap:4px}.staff-stat-revenue-total small,.staff-stat-earned small{font-size:8px;letter-spacing:.8px;color:#777}.staff-stat-revenue-total strong{font:800 20px Manrope,sans-serif;color:#26714c}.staff-stat-revenue-total>span{color:#777;font-size:10px}.staff-stat-earned{display:grid;gap:4px;text-align:right}.staff-stat-earned b{font:800 13px Manrope,sans-serif;color:#26714c}@media(max-width:560px){.staff-stat-revenue-total{align-items:flex-start;flex-direction:column}.staff-stat-earned{text-align:left}}
.assignment-task small{display:block;margin-top:4px;color:#777;font-size:9px}
.archived-product-requests{grid-column:1/-1;padding-top:9px;border-top:1px solid #ededee}
.archived-product-requests>b{font-size:10px;color:#4d4a4b}
.archived-product-requests p{display:inline-flex;margin:8px 8px 0 0;padding:7px 9px;border:1px solid #eee;border-radius:8px;background:#fff;color:#646064;font-size:9px}
.assignment-empty{margin:0;padding:12px;color:#777;font-size:10px}
.admin-service-archive{margin-bottom:18px}
.assignment-card-done{grid-template-columns:minmax(190px,1.2fr) minmax(150px,1fr) minmax(150px,.8fr) auto;background:#fcfdfc}
.assignment-mechanic{min-height:40px}
@media(max-width:900px){.assignment-card,.assignment-request-card{grid-template-columns:1fr 1fr}.assignment-card>.btn{justify-self:start}.assignment-card-done{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.assignment-section{padding:12px}.assignment-card,.assignment-card-done{grid-template-columns:1fr;gap:11px}.assignment-card>.btn{width:100%}.assignment-state,.assignment-staff{max-width:none}}


.staff-product-request-form{margin-top:12px;padding:13px;border:1px solid #ece6e7;border-radius:11px;background:#fcf9f9}.staff-product-request-form[hidden]{display:none!important}.staff-product-request-fields{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:10px}.staff-product-request-fields label{display:grid;gap:5px;color:#666;font-size:9px;font-weight:700}.staff-product-request-fields input{width:100%;height:35px;padding:0 10px;border:1px solid #e1dfe0;border-radius:8px;background:#fff;color:#222;font:500 11px Manrope}.staff-product-request-fields input:focus{outline:2px solid #ead0d3;border-color:#a22b39}.staff-product-note{grid-column:1/-1}.staff-product-request-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:11px}.staff-product-request-actions .btn{min-height:33px}@media(max-width:640px){.staff-product-request-fields{grid-template-columns:minmax(0,1fr) 88px}.staff-product-request-actions{align-items:stretch}.staff-product-request-actions .btn{flex:1}}


.staff-product-request-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-product-dynamic{display:contents}.staff-product-request-fields select{width:100%;height:35px;padding:0 9px;border:1px solid #e1dfe0;border-radius:8px;background:#fff;color:#222;font:500 10px Manrope}.staff-product-dynamic-field{min-width:0}.staff-service-requests{display:grid;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #eee}.staff-service-requests-heading{display:flex;align-items:center;justify-content:space-between;color:#555;font-size:9px;font-weight:800}.staff-service-requests-heading b{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:11px;background:#f5e8ea;color:#8a1b28;font-size:9px}.staff-service-request{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #eee;border-radius:9px;background:#fff}.staff-request-source{flex:none;padding:4px 7px;border-radius:8px;font-size:8px;font-weight:800}.staff-request-source.internal{background:#e8f4ec;color:#28714b}.staff-request-source.external{background:#edf1fb;color:#435d9a}.staff-request-copy{min-width:0;flex:1;display:grid;gap:3px}.staff-request-copy b{font-size:10px;overflow-wrap:anywhere}.staff-request-copy small{font-size:8px;color:#777;overflow-wrap:anywhere}.staff-request-status{flex:none;padding:5px 7px;border-radius:9px;background:#fff3dc;color:#94620d;font-size:8px;font-weight:800}.staff-request-status.status-accepted{background:#e5f5ed;color:#27704d}.staff-request-status.status-declined{background:#fae9eb;color:#a42332}.staff-no-requests{color:#888;font-size:9px}@media(max-width:640px){.staff-product-request-fields{grid-template-columns:minmax(0,1fr)}.staff-product-note{grid-column:auto}.staff-service-request{align-items:flex-start;flex-wrap:wrap}.staff-request-status{margin-left:auto}}


.staff-service-work-list{display:grid;gap:10px;margin-top:14px}.staff-service-work{min-width:0;padding:11px;border:1px solid #ecebed;border-radius:11px;background:#fcfbfb}.staff-service-work .staff-service-task{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;padding:0;background:transparent}.staff-service-work .staff-service-task>div{display:grid;gap:5px;min-width:0}.staff-service-work .staff-service-task strong{font-size:12px;overflow-wrap:anywhere}.staff-service-work .staff-service-controls{align-items:stretch}.staff-service-work .staff-service-controls select{min-width:120px}.staff-service-work .staff-service-requests{margin-top:10px;padding-top:9px}.staff-service-card>header .staff-status{background:#f4f1f2;color:#656064;white-space:nowrap}@media(max-width:640px){.staff-service-work .staff-service-controls select,.staff-service-work .staff-service-controls .btn{flex:1 1 100%}.staff-service-work .staff-service-task{align-items:flex-start;flex-direction:column}}


.staff-status.status-blocked{background:#fae7e9;color:#a32332}.staff-service-request-button{display:block;margin:10px 0 0 auto}.staff-service-work .staff-product-request-form{margin-top:10px}.staff-service-work-list+.staff-status{margin-left:auto}@media(max-width:640px){.staff-service-request-button{width:100%}}


/* Database backup administration page */
.backup-page{width:min(100%,1120px);margin:0 auto;display:grid;gap:16px}
.backup-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:2px 0 1px}
.backup-heading h1{font:800 27px/1.15 Manrope,sans-serif;letter-spacing:-.8px;margin:5px 0 7px;color:#171717}
.backup-heading p{max-width:620px;margin:0;color:#73777b;font-size:12px;line-height:1.6}
.backup-create-button{flex:none;min-height:42px;padding:0 16px;font-size:11px}
.backup-create-button>span{font-size:18px;line-height:1}
.backup-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.backup-status{min-width:0;display:flex;align-items:center;gap:14px;padding:17px 18px;background:linear-gradient(120deg,#fff,#fcf9f9);border:1px solid #ebe6e7;border-radius:13px;box-shadow:0 5px 20px #21111408}
.backup-status-icon{flex:none;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#f8e7e9;color:#941927;font-size:24px}
.backup-status-icon-manual{background:#edf4ef;color:#34704c}
.backup-status>div{min-width:0;display:grid;gap:4px}
.backup-status small{color:#8a7779;font-size:8px;font-weight:800;letter-spacing:1.1px}
.backup-status strong{color:#202020;font:800 17px Manrope,sans-serif;overflow-wrap:anywhere}
.backup-status strong.backup-status-filename{font-size:12px}
.backup-status span:not(.backup-status-icon){color:#767676;font-size:10px;line-height:1.45}
.backup-error{display:flex;gap:11px;padding:13px 15px;border:1px solid #f0ccd0;border-radius:11px;background:#fff6f6;color:#9a2330}
.backup-error-mark{flex:none;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#f8e2e4;font-weight:800}
.backup-error>div{display:grid;gap:4px;min-width:0}
.backup-error b{font-size:11px}
.backup-error span:last-child{font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.backup-settings-panel,.backup-files-panel{padding:0 17px 16px;border-radius:13px}
.backup-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 1px 14px;border-bottom:1px solid #f0eded}
.backup-section-heading>div{display:flex;align-items:center;gap:11px;min-width:0}
.backup-step{flex:none;width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:#f8e9eb;color:#8f1725;font:800 10px Manrope,sans-serif}
.backup-section-heading h2{margin:0 0 4px;color:#252323;font:800 15px Manrope,sans-serif}
.backup-section-heading p{margin:0;color:#818181;font-size:10px;line-height:1.4}
.backup-settings-form{display:grid;grid-template-columns:145px minmax(180px,280px) auto;align-items:center;gap:10px;padding:15px 0 12px}
.backup-settings-form label{color:#565254;font-size:10px;font-weight:700}
.backup-settings-form select{height:39px;width:100%;padding:0 11px;border:1px solid #e5e0e1;border-radius:8px;background:#fff;color:#282525;font-size:11px}
.backup-settings-form .btn{height:39px;justify-self:start}
.backup-schedule-note{display:flex;align-items:flex-start;gap:9px;margin:0;padding:11px 12px;border:1px solid #f0e9ea;border-radius:9px;background:#fcf9fa;color:#727073;font-size:9px;line-height:1.55}
.backup-schedule-note>span:first-child{flex:none;width:17px;height:17px;display:grid;place-items:center;border-radius:50%;background:#f3e2e4;color:#8f1725;font-weight:800;font-style:normal}
.backup-files-heading{padding-top:13px}
.backup-file-count{flex:none;padding:6px 10px;border-radius:8px;background:#f5f1f2;color:#7d202b;font:800 12px Manrope,sans-serif}
.backup-file-count small{font:600 9px 'DM Sans',sans-serif;color:#777}
.backup-files-toolbar{display:flex;align-items:center;gap:12px;padding:12px 0}
.backup-select-all{display:inline-flex;align-items:center;gap:7px;color:#535053;font-size:10px;font-weight:700}
.backup-select-all input,.backup-check-column input{accent-color:#920f1e}
.backup-selected-count{margin-left:auto;color:#858085;font-size:9px}
.backup-files-toolbar .btn{min-height:32px}
.backup-table-wrap{overflow:auto;border:1px solid #efebec;border-radius:9px}
.backup-table{width:100%;border-collapse:collapse;font-size:10px}
.backup-table thead{background:#faf8f8}
.backup-table th{padding:10px 12px;color:#727073;text-align:left;font-size:8px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;white-space:nowrap}
.backup-table td{padding:11px 12px;border-top:1px solid #f0eded;color:#565356;vertical-align:middle}
.backup-table tbody tr:hover{background:#fdfbfb}
.backup-table .backup-check-column{width:56px;text-align:center}
.backup-table .backup-action-column{width:120px;text-align:right}
.backup-table .backup-file-name{color:#272426;font-weight:700;overflow-wrap:anywhere}
.backup-table td .btn{white-space:nowrap}
.backup-empty{min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;color:#818181}
.backup-empty>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#f8e9eb;color:#8f1725;font-size:20px}
.backup-empty b{color:#383537;font-size:11px}
.backup-empty small{font-size:9px}
@media(max-width:720px){.backup-heading{align-items:flex-start;flex-direction:column}.backup-create-button{width:100%}.backup-settings-form{grid-template-columns:1fr 1fr}.backup-settings-form label{grid-column:1/-1}.backup-settings-form select{grid-column:1}.backup-settings-form .btn{grid-column:2;justify-self:stretch}}
@media(max-width:560px){.backup-page{gap:12px}.backup-heading h1{font-size:23px}.backup-summary{grid-template-columns:1fr;gap:9px}.backup-status{padding:13px}.backup-settings-panel,.backup-files-panel{padding:0 12px 12px}.backup-section-heading{align-items:flex-start}.backup-section-heading h2{font-size:13px}.backup-section-heading p{font-size:9px}.backup-settings-form{grid-template-columns:1fr}.backup-settings-form label,.backup-settings-form select,.backup-settings-form .btn{grid-column:1;width:100%}.backup-files-toolbar{flex-wrap:wrap;gap:9px}.backup-selected-count{margin-left:auto}.backup-files-toolbar .btn{width:100%}.backup-table-wrap{overflow:visible;border:0}.backup-table,.backup-table tbody{display:block;width:100%}.backup-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.backup-table tbody tr{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0 12px;margin:0 0 9px;padding:11px;border:1px solid #eee8e9;border-radius:9px;background:#fff}.backup-table tbody tr:last-child{margin-bottom:0}.backup-table td{display:flex;align-items:center;min-width:0;padding:6px 0;border:0;font-size:9px}.backup-table .backup-check-column{position:absolute;top:12px;left:10px;width:30px;text-align:left}.backup-table td:nth-child(2){grid-column:1/-1;padding-left:32px;min-height:30px;font-size:10px}.backup-table td:nth-child(3)::before{content:'Créé le';display:block;margin-right:6px;color:#8a8588;font-size:8px;font-weight:700}.backup-table td:nth-child(4)::before{content:'Taille';display:block;margin-right:6px;color:#8a8588;font-size:8px;font-weight:700}.backup-table .backup-action-column{grid-column:1/-1;width:auto;justify-content:flex-end;padding-top:8px}.backup-empty{grid-column:1/-1;min-height:115px}.backup-empty-cell{grid-column:1/-1!important;display:block!important;padding:0!important}}

.backup-empty-cell{text-align:center!important}

/* Vehicle health report presentation */
.health-report-modal{width:min(900px,100%);max-height:94vh;display:flex;flex-direction:column}.health-report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 28px;background:linear-gradient(125deg,#1b1718,#493035);color:#fff}.health-report-header .eyebrow{color:#e6a2aa}.health-report-header h2{font:800 24px Manrope,sans-serif;margin:7px 0}.health-report-header p{margin:0;color:#ded5d6;font-size:12px}.health-report-content{padding:22px 28px;overflow:auto}.health-score-panel{display:flex;align-items:center;gap:20px;padding:20px 23px;background:#f7f3f3;border:1px solid #eee4e5;border-radius:14px}.health-score-panel.is-provisional{background:#fff7e9;border-color:#f1d9ab}.health-score-number{font:800 43px Manrope,sans-serif;color:#8b1520;white-space:nowrap}.health-score-number small{font-size:15px;color:#716769}.health-score-panel p{margin:6px 0;font-size:13px}.health-score-panel small{color:#747070;font-size:11px}.health-score-ring{margin-left:auto;width:66px;height:66px;border-radius:50%;background:conic-gradient(#a01925 var(--score),#e5d8da 0);position:relative;flex:none}.health-score-ring:after{content:"";position:absolute;inset:8px;border-radius:50%;background:#f7f3f3}.is-provisional .health-score-ring:after{background:#fff7e9}.health-critical-alert{margin:14px 0;padding:14px 16px;border:1px solid #edb5b8;border-left:5px solid #bd202a;border-radius:10px;background:#fff1f1;color:#79141d}.health-critical-alert p{margin:5px 0 0;font-size:12px}.health-report-legend{display:flex;gap:15px;flex-wrap:wrap;padding:16px 2px;color:#696164;font-size:11px}.health-report-legend span{display:inline-flex;align-items:center;gap:6px}.health-report-legend i,.health-item-dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:#5e9b69}.health-report-legend i.monitor,.health-report-item.monitor .health-item-dot{background:#df922b}.health-report-legend i.priority,.health-report-item.priority .health-item-dot,.health-report-item.critical .health-item-dot{background:#bf303a}.health-report-legend i.not_checked,.health-report-item.not_checked .health-item-dot,.health-report-item.not_applicable .health-item-dot{background:#9c9899}.health-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.health-report-item{min-width:0;padding:15px 16px;border:1px solid #eae5e5;border-radius:11px;background:#fff;box-shadow:0 2px 8px #25151708}.health-item-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.health-item-heading h3{font-size:13px;margin:0;flex:1}.health-status-label{font-size:10px;font-weight:700;color:#587a5b;background:#edf6ed;border-radius:99px;padding:5px 8px}.health-report-item.monitor .health-status-label{color:#9b5f0c;background:#fff4df}.health-report-item.priority .health-status-label,.health-report-item.critical .health-status-label{color:#a11e28;background:#ffebec}.health-report-item.not_checked .health-status-label,.health-report-item.not_applicable .health-status-label{color:#666;background:#f1f0f0}.health-report-item p{font-size:12px;line-height:1.5;color:#4c4648;margin:12px 0 0}.health-report-item p b{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.5px;color:#8b1520;margin-bottom:3px}.health-photo-link{display:block;margin-top:12px;color:#85141e;font-size:11px}.health-photo-link img{width:100%;max-height:210px;object-fit:cover;border-radius:8px;display:block;margin-bottom:6px}.health-report-disclaimer{border-top:1px solid #eee;padding-top:13px;margin:18px 0 0;color:#777;font-size:10px;line-height:1.5}.health-report-footer{display:flex;justify-content:flex-end;gap:9px;padding:15px 28px;border-top:1px solid var(--line);background:#fff}.health-visit-actions{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}.health-item-editor{padding:12px;border:1px solid #eee;border-radius:10px;background:#fcfaf9}.health-edit-row{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);gap:8px}.health-item-editor input[type=file]{padding:8px;background:white;border:1px dashed #d7c7c9;border-radius:8px}.health-item-editor>small{color:#777;font-size:10px}@media(max-width:600px){.health-report-modal{max-height:96vh}.health-report-header{padding:18px}.health-report-header h2{font-size:20px}.health-report-content{padding:16px}.health-score-panel{gap:12px;padding:15px}.health-score-number{font-size:34px}.health-score-ring{width:46px;height:46px}.health-report-grid{grid-template-columns:1fr}.health-report-footer{padding:12px 16px;flex-wrap:wrap}.health-report-footer>*{flex:1;justify-content:center}.health-edit-row{grid-template-columns:1fr}}
.health-existing-photo{display:flex;align-items:center;gap:10px;margin-top:8px;padding:8px;background:#fff;border:1px solid #eee;border-radius:8px}.health-existing-photo img{width:64px;height:48px;object-fit:cover;border-radius:5px}.health-existing-photo small{font-size:10px;color:#696164}
.client-health-dashboard{margin-top:20px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.client-health-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:15px}.client-health-heading h2{font:800 18px Manrope,sans-serif;margin:6px 0}.client-health-heading p{font-size:11px;color:var(--muted);margin:0}.client-health-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:11px}.client-health-card{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:15px;border:1px solid #eee7e7;border-radius:11px;background:#fffdfd}.client-health-car h3{font:700 14px Manrope,sans-serif;margin:5px 0}.client-health-car small{font-size:10px;color:var(--muted)}.client-health-score{color:#8b1520;font:800 27px Manrope,sans-serif;white-space:nowrap}.client-health-score small{font-size:11px;color:var(--muted)}.client-health-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.client-health-empty{padding:20px;color:var(--muted);font-size:12px}.client-health-card .pill{justify-self:end}@media(max-width:520px){.client-health-dashboard{padding:16px}.client-health-heading{flex-direction:column}.client-health-card{grid-template-columns:1fr auto}}
.car-visit-summary{display:flex;justify-content:space-between;align-items:center;gap:14px}.car-visit-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.car-visit-actions .btn{white-space:nowrap}@media(max-width:640px){.car-visit-summary{align-items:flex-start;flex-direction:column}.car-visit-actions{justify-content:flex-start}}
.client-garage-modal{width:min(760px,100%)}.client-garage-list{max-height:58vh;overflow:auto;padding:16px 22px}.client-garage-car{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 2px;border-bottom:1px solid #eee}.client-garage-car:last-child{border-bottom:0}.client-garage-car h3{font:700 15px Manrope,sans-serif;margin:5px 0}.client-garage-car small{font-size:11px;color:var(--muted)}.client-garage-empty{padding:24px 4px;color:var(--muted);font-size:12px}.client-garage-modal .modal-actions{justify-content:space-between}@media(max-width:520px){.client-garage-list{padding:12px 16px}.client-garage-car{align-items:flex-start;flex-direction:column}.client-garage-modal .modal-actions{flex-direction:column-reverse}}
