:root{--bg:#f3f6fa;--card:#fff;--card2:#f8fafc;--text:#172033;--muted:#687589;--line:#e1e7ef;--nav:#081120;--brand:#16c2ad;--brand2:#0e9d8c;--ok:#16a36f;--warn:#e3a11d;--danger:#e45b66;--glow:0 0 0 3px rgba(22,194,173,.14),0 8px 26px rgba(22,194,173,.12);--shadow:0 10px 28px rgba(20,35,55,.07)}
html[data-theme=dark]{--bg:#07101e;--card:#101b2d;--card2:#152238;--text:#eef4fa;--muted:#9aaac0;--line:#26354b;--nav:#050c16;--shadow:0 10px 30px rgba(0,0,0,.2)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Tahoma,Arial,sans-serif}button,input,select,textarea{font:inherit}.hidden{display:none!important}.primary,.ghost,.icon,.choice{border-radius:11px;padding:10px 14px;border:1px solid var(--line);cursor:pointer}.primary{background:var(--brand);color:#042923;border:0;font-weight:800;box-shadow:var(--glow)}.ghost,.icon,.choice{background:var(--card2);color:var(--text)}.app{display:grid;grid-template-columns:250px 1fr;min-height:100vh}aside#side{background:var(--nav);padding:18px 13px;color:#fff;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;padding:5px 7px 19px}.brand>b,.brand-big{width:42px;height:42px;border-radius:13px;background:var(--brand);color:#042923;display:grid;place-items:center;font-weight:900}.brand strong,.brand small{display:block}.brand small{color:#8396ae}.country{display:flex;gap:10px;align-items:center;background:#111f33;padding:12px;border-radius:13px;margin-bottom:14px}.country span{font-size:24px}.country b,.country small{display:block}.country small{color:#91a2b8}.nav{display:flex;gap:10px;width:100%;border:0;background:transparent;color:#9fb0c5;padding:12px;border-radius:11px;text-align:start;margin:2px 0}.nav.active,.nav:hover{background:#17273d;color:#fff}main{min-width:0}header{height:66px;background:var(--card);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px;padding:0 22px;position:sticky;top:0;z-index:20}header>div:nth-child(2){flex:1}header small{display:block;color:var(--muted)}.header-actions{display:flex;gap:8px}.content{padding:24px;max-width:1500px;margin:auto}.page{display:none}.page.active{display:block}.page-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:17px}.page-head h1{margin:0;font-size:25px}.page-head p{margin:5px 0;color:var(--muted)}.card{background:var(--card);border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}.card-head{padding:15px 18px;border-bottom:1px solid var(--line)}.body{padding:17px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.metric{background:var(--card);border:1px solid var(--line);border-radius:15px;padding:17px}.metric span{display:block;color:var(--muted);font-size:12px}.metric b{display:block;font-size:27px;margin-top:7px}.orders-grid{display:grid;grid-template-columns:275px 1fr;gap:14px}.order-list{padding:10px;height:calc(100vh - 135px);position:sticky;top:85px;overflow:auto}.order-list>input{width:100%}.order-item{padding:12px;border:1px solid var(--line);border-radius:11px;margin:7px 0;cursor:pointer;background:var(--card2)}.order-item.active{border-color:var(--brand);box-shadow:var(--glow)}.order-item small{display:block;color:var(--muted);margin-top:4px}.wo-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;margin-bottom:10px}.wo-head h2{margin:3px 0}.wo-head p{margin:0;color:var(--muted)}.status{background:rgba(22,194,173,.13);color:var(--brand);padding:7px 10px;border-radius:99px;font-size:11px}.cycle{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}.cycle-step{padding:11px;background:var(--card);border:1px solid var(--line);border-radius:13px;display:flex;align-items:center;gap:8px}.cycle-step b,.num{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:var(--card2);color:var(--muted)}.cycle-step.active{border-color:var(--brand);box-shadow:var(--glow)}.cycle-step.active b,.stage-title .num{background:var(--brand);color:#042923}.stage{margin:11px 0}.stage-title{padding:15px 18px;border-bottom:1px solid var(--line);display:flex;gap:11px;align-items:center}.stage-title h3{margin:0}.stage-title p{margin:4px 0 0;color:var(--muted);font-size:12px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.full{grid-column:1/-1}label{display:block;color:var(--muted);font-size:12px}input,select,textarea{width:100%;background:var(--card2);border:1px solid var(--line);border-radius:10px;color:var(--text);padding:10px;margin-top:6px;min-height:42px}textarea{resize:vertical}.phone{display:grid;grid-template-columns:80px 1fr;gap:7px}.actions{display:flex;align-items:center;gap:10px;margin-top:15px}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:9px 0 15px}.chip,.choice{padding:12px 15px;font-weight:700}.chip.active,.choice.active{background:var(--brand);color:#042923;border-color:var(--brand);box-shadow:var(--glow)}.choice.danger.active{background:var(--danger);color:white;border-color:var(--danger)}.smallchips .chip{padding:9px 12px;font-size:12px}.sub{display:block;margin-top:5px}.topgap{margin-top:14px}.linebar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:13px 0 8px}.estimate-line{display:grid;grid-template-columns:120px 1fr 90px 110px 38px;gap:7px;margin:7px 0}.estimate-line>*{margin:0}.estimate-line button{border:0;background:var(--danger);color:white;border-radius:9px}.totals{display:flex;gap:10px;justify-content:flex-end;align-items:end;margin-top:12px}.totals label{max-width:120px}.totals>div{min-width:150px;background:var(--card2);padding:11px;border-radius:11px}.totals span,.totals b{display:block}.totals b{font-size:21px;color:var(--brand)}.approval{margin-top:15px;padding:14px;background:var(--card2);border-radius:13px}.block{display:block}.parts-exec{margin-bottom:12px}.part-exec-row{display:flex;justify-content:space-between;gap:10px;padding:11px;border:1px solid var(--line);border-radius:11px;margin:6px 0}.part-exec-row b{color:var(--brand)}.inventory-tools{display:grid;grid-template-columns:2fr auto 1fr auto;gap:8px}.parts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.part-card{background:var(--card);border:1px solid var(--line);border-radius:15px;overflow:hidden}.part-img{height:145px;background:var(--card2);display:grid;place-items:center;overflow:hidden}.part-img img{width:100%;height:100%;object-fit:contain}.part-card .body h3{margin:0 0 4px}.oe{font-family:monospace;direction:ltr;font-size:15px;color:var(--brand);font-weight:800}.verified{display:inline-block;padding:4px 7px;background:rgba(22,163,111,.14);color:var(--ok);border-radius:99px;font-size:10px}.profile-buttons{display:flex;gap:10px;flex-wrap:wrap}.profile{padding:15px 20px;border:1px solid var(--line);background:var(--card2);color:var(--text);border-radius:13px}.profile.active{border-color:var(--brand);box-shadow:var(--glow)}table{width:100%;border-collapse:collapse}th,td{padding:11px 8px;border-bottom:1px solid var(--line);text-align:start;font-size:12px}th{color:var(--muted)}.table-wrap{overflow:auto}.toast{position:fixed;z-index:100;top:18px;left:50%;transform:translateX(-50%);background:#111d2d;color:#fff;padding:11px 15px;border-radius:11px;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1}.toast.bad{background:#8d2630}.login{min-height:100vh;display:grid;place-items:center;padding:18px}.login-card{width:min(390px,100%);background:var(--card);border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:var(--shadow)}.login-card .brand-big{margin:auto}.login-card h1,.login-card p{text-align:center}.login-card p{color:var(--muted)}.login-card label{margin:12px 0}.login-card .primary{width:100%;margin-top:10px}.linkbtn{text-decoration:none;display:inline-block}
@media(max-width:1050px){.metrics{grid-template-columns:1fr 1fr}.parts-grid{grid-template-columns:1fr 1fr}.orders-grid{grid-template-columns:1fr}.order-list{height:auto;position:static;max-height:230px}}
@media(max-width:760px){.app{display:block}aside#side{position:fixed;z-index:60;inset:0 auto 0 0;width:275px;transform:translateX(-105%);transition:.2s}html[dir=rtl] aside#side{left:auto;right:0;transform:translateX(105%)}aside#side.open{transform:none!important}header{height:60px;padding:0 11px}.content{padding:15px 11px}.grid{grid-template-columns:1fr}.full{grid-column:auto}.cycle{grid-template-columns:1fr 1fr}.metrics,.parts-grid{grid-template-columns:1fr 1fr}.estimate-line{grid-template-columns:90px 1fr 65px 85px 34px}.inventory-tools{grid-template-columns:1fr}.page-head{align-items:start}.page-head h1{font-size:21px}.totals{flex-wrap:wrap}.header-actions{gap:4px}}

.search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:-4px}
.customer-hit{border:1px solid var(--line);background:var(--card2);color:var(--text);border-radius:11px;padding:10px;text-align:start;cursor:pointer}
.customer-hit:hover{border-color:var(--brand);box-shadow:var(--glow)}
.customer-hit b,.customer-hit span,.customer-hit small{display:block}.customer-hit span,.customer-hit small{color:var(--muted);margin-top:3px}
.empty-search{padding:10px;color:var(--muted)}
.staff-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:15px}
.staff-card{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid var(--line);background:var(--card2);border-radius:12px;padding:12px}
.staff-card b,.staff-card small{display:block}.staff-card small{color:var(--muted);margin-top:4px}
.empty-inventory{grid-column:1/-1;text-align:center;color:var(--muted)}
@media(max-width:760px){.search-results,.staff-cards{grid-template-columns:1fr}}

.alts{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}.alts span{font-size:10px;padding:4px 6px;border-radius:7px;background:var(--card2);color:var(--muted);border:1px solid var(--line)}
#partCategory{min-width:190px}

.catalog-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}
.catalog-stats>div{background:var(--card);border:1px solid var(--line);border-radius:13px;padding:13px}
.catalog-stats span,.catalog-stats b{display:block}.catalog-stats span{color:var(--muted);font-size:11px}.catalog-stats b{font-size:22px;margin-top:5px;color:var(--brand)}
.vin-card{margin-bottom:12px}.vin-tools{display:grid;grid-template-columns:1fr auto;gap:8px}.vin-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.hint{color:var(--muted);display:block;margin-top:8px}
.oe-link{text-decoration:underline;text-underline-offset:3px;cursor:pointer}.part-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
@media(max-width:760px){.catalog-stats{grid-template-columns:1fr 1fr}.vin-tools{grid-template-columns:1fr}}

.inventory-head{align-items:center}.head-actions{display:flex;gap:8px;flex-wrap:wrap}
.catalog-tabs{display:flex;gap:7px;margin:10px 0 12px}.catalog-tab{border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:11px;padding:10px 16px;cursor:pointer}.catalog-tab.active{background:var(--brand);color:#042923;border-color:var(--brand);box-shadow:var(--glow)}
.catalog-panel{display:none}.catalog-panel.active{display:block}.search-hero{margin-bottom:12px}
.smart-search{display:grid;grid-template-columns:1fr auto;gap:8px}.smart-search input{font-size:15px;min-height:48px}
.filter-row{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:8px;margin-top:9px}.filter-row select,.filter-row button{margin:0}
.compact-stats{grid-template-columns:repeat(4,minmax(120px,1fr))}.compact-stats>div{padding:10px 12px}.compact-stats b{font-size:18px}
.year-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.year-btn{background:var(--card2);border:1px solid var(--line);color:var(--text);border-radius:10px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.year-btn:hover{border-color:var(--brand);box-shadow:var(--glow)}.year-btn span{font-size:20px}
.inventory-result-head{display:flex;justify-content:space-between;align-items:center;margin:12px 0 8px}.inventory-result-head small{display:block;color:var(--muted);margin-top:3px}.view-switch{display:flex;gap:5px}.view-switch .active{border-color:var(--brand);color:var(--brand)}
.parts-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.compact-card{display:grid;grid-template-columns:72px 1fr;grid-template-rows:auto auto;min-height:122px;padding:10px;gap:9px;overflow:visible}.part-thumb{width:72px;height:72px;background:var(--card2);border:1px solid var(--line);border-radius:10px;display:grid;place-items:center;overflow:hidden}.part-thumb img{width:100%;height:100%;object-fit:contain}.part-thumb span{font-size:24px;color:var(--muted)}.part-info{min-width:0}.part-info h3{font-size:13px;margin:4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.part-info .oe{font-size:12px}.meta-line{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.part-side{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:7px}.part-side b{font-size:11px}.part-side small{font-size:10px;color:var(--muted)}.mini{padding:6px 8px;font-size:10px}.parts-grid.list-mode{display:block}.parts-grid.list-mode .compact-card{display:grid;grid-template-columns:58px 1fr auto;grid-template-rows:auto;margin-bottom:7px;min-height:76px}.parts-grid.list-mode .part-thumb{width:58px;height:58px}.parts-grid.list-mode .part-side{grid-column:auto;border:0;padding:0;flex-direction:column;align-items:flex-end}.parts-grid.list-mode .part-info h3{font-size:13px}
.compact-vin{margin-bottom:12px}.quick-modal{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:100;display:grid;place-items:center;padding:16px}.quick-dialog{width:min(640px,100%);max-height:80vh;overflow:auto;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:0 25px 60px rgba(0,0,0,.35)}.quick-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.quick-results{display:grid;gap:7px;margin-top:9px}.quick-hit{display:grid;grid-template-columns:150px 1fr 100px;gap:8px;text-align:start;background:var(--card2);border:1px solid var(--line);color:var(--text);padding:10px;border-radius:10px;cursor:pointer}.quick-hit:hover{border-color:var(--brand)}.quick-hit small{color:var(--muted)}
.import-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
@media(max-width:1200px){.parts-grid.compact{grid-template-columns:repeat(3,1fr)}.year-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:900px){.parts-grid.compact{grid-template-columns:repeat(2,1fr)}.filter-row{grid-template-columns:1fr 1fr}.year-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.parts-grid.compact{grid-template-columns:1fr}.filter-row{grid-template-columns:1fr}.year-grid{grid-template-columns:repeat(2,1fr)}.quick-hit{grid-template-columns:1fr}.smart-search{grid-template-columns:1fr}.compact-stats{grid-template-columns:1fr 1fr}}

.source-strip{margin:10px 0}.source-title{display:flex;justify-content:space-between;align-items:end;gap:10px;margin-bottom:9px}.source-title small{color:var(--muted)}
.source-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.source-btn{display:block;text-decoration:none;background:var(--card2);border:1px solid var(--line);color:var(--text);padding:11px;border-radius:11px}.source-btn b,.source-btn small{display:block}.source-btn small{color:var(--muted);margin-top:4px}.source-btn:hover{border-color:var(--brand);box-shadow:var(--glow)}.source-btn.official{border-color:rgba(22,194,173,.45)}
.catalog-category-wrap{margin:12px 0}.category-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.catalog-groups{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.group-card{background:var(--card);border:1px solid var(--line);color:var(--text);border-radius:13px;padding:11px 8px;cursor:pointer;text-align:center;min-height:93px}.group-card:hover,.group-card.active{border-color:var(--brand);box-shadow:var(--glow)}.group-card.active{background:rgba(22,194,173,.08)}.group-icon{display:block;font-size:24px;margin-bottom:5px}.group-card b,.group-card small{display:block}.group-card b{font-size:11px}.group-card small{color:var(--muted);font-size:9px;margin-top:3px}
.part-thumb{position:relative}.diagram-badge{position:absolute;bottom:4px;right:4px;background:rgba(5,12,22,.86);color:#fff;text-decoration:none;border-radius:6px;padding:3px 5px;font-size:8px}
@media(max-width:1200px){.catalog-groups{grid-template-columns:repeat(4,1fr)}.source-buttons{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.catalog-groups{grid-template-columns:repeat(2,1fr)}.source-buttons{grid-template-columns:1fr}}

/* V87 reception visual selector */
.reception-stage>.body{padding-top:14px}
.reception-customer-bar{display:grid;grid-template-columns:auto 1fr minmax(260px,430px);gap:12px;align-items:center;background:linear-gradient(135deg,var(--card2),var(--card));border:1px solid var(--line);border-radius:15px;padding:12px;margin-bottom:10px}
.customer-avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--brand);color:#042923;font-weight:900;font-size:18px}
.customer-main small,.customer-main b,.customer-main span{display:block}.customer-main small{color:var(--muted);font-size:10px}.customer-main b{font-size:16px;margin:2px 0}.customer-main span{font-size:11px;color:var(--muted)}
.customer-search-box input{margin:0}
.previous-vehicles-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0 12px}
.previous-vehicle-card{height:92px;display:grid;grid-template-columns:115px 1fr;gap:9px;align-items:center;text-align:start;border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:13px;padding:7px;cursor:pointer;overflow:hidden}
.previous-vehicle-card:hover{border-color:var(--brand);box-shadow:var(--glow)}
.previous-car-img{height:76px;border-radius:9px;background:#f7f8fa;overflow:hidden}.previous-car-img img{width:100%;height:100%;object-fit:contain}
.previous-car-copy{min-width:0}.previous-car-copy b,.previous-car-copy span,.previous-car-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.previous-car-copy span{font-size:11px;margin-top:3px}.previous-car-copy small{font-size:10px;color:var(--muted);margin-top:4px}
.reception-basic{grid-template-columns:1fr 1fr 1fr 1fr;margin-bottom:12px}
.vehicle-picker-shell{border:1px solid var(--line);border-radius:17px;background:var(--card2);padding:14px}
.vehicle-picker-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:10px}.vehicle-picker-head b,.vehicle-picker-head small{display:block}.vehicle-picker-head small{color:var(--muted);margin-top:3px;font-size:10px}
.selected-vehicle-pill{border:1px solid var(--line);background:var(--card);color:var(--muted);border-radius:99px;padding:8px 12px;font-size:10px;white-space:nowrap}.selected-vehicle-pill.ready{border-color:var(--brand);color:var(--brand);font-weight:800}
.vehicle-body-tabs{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:10px}
.vehicle-body-tab{border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:10px;padding:8px 14px;cursor:pointer;min-width:82px}.vehicle-body-tab.active{background:var(--brand);border-color:var(--brand);color:#042923;font-weight:800;box-shadow:var(--glow)}
.visual-vehicle-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;grid-auto-rows:1fr}
.visual-car-card{height:168px;display:grid;grid-template-rows:118px 1fr;border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:14px;overflow:hidden;padding:0;cursor:pointer;text-align:center;transition:.15s}
.visual-car-card:hover,.visual-car-card.active{border-color:var(--brand);box-shadow:var(--glow);transform:translateY(-1px)}
.visual-car-img{height:118px;background:#fafafa;display:grid;place-items:center;overflow:hidden}.visual-car-img img{width:100%;height:100%;object-fit:contain}
.visual-car-meta{padding:7px}.visual-car-meta b,.visual-car-meta small{display:block}.visual-car-meta b{font-size:12px}.visual-car-meta small{font-size:9px;color:var(--muted);margin-top:2px}
.manual-vehicle-box{margin-top:10px;border-top:1px solid var(--line);padding-top:10px}.manual-vehicle-box summary{cursor:pointer;color:var(--muted);font-size:11px;font-weight:700}
.vehicle-final-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:10px}

/* unified professional maintenance cards */
.service-title-row{display:flex;justify-content:space-between;align-items:end;gap:10px;margin:4px 0 10px}.service-title-row b,.service-title-row small{display:block}.service-title-row small{color:var(--muted);font-size:10px;margin-top:3px}.service-title-row>span{font-size:9px;color:var(--brand);border:1px solid rgba(22,194,173,.35);padding:5px 8px;border-radius:99px}
.service-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;grid-auto-rows:1fr;margin-bottom:16px}
.service-card{height:126px;min-height:126px;position:relative;display:grid;grid-template-rows:34px auto 1fr;align-items:start;text-align:start;background:var(--card2);border:1px solid var(--line);color:var(--text);border-radius:14px;padding:12px;cursor:pointer;overflow:hidden}
.service-card:hover{border-color:var(--brand)}.service-card.active{background:rgba(22,194,173,.10);border-color:var(--brand);box-shadow:var(--glow);color:var(--text)}
.service-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:var(--card);border:1px solid var(--line);font-size:18px}.service-card.active .service-icon{background:var(--brand);color:#042923;border-color:var(--brand)}
.service-card b{font-size:12px;margin-top:4px}.service-card small{font-size:9px;color:var(--muted);line-height:1.5;margin-top:3px}.service-check{position:absolute;top:9px;inset-inline-end:9px;width:20px;height:20px;border-radius:50%;display:none;place-items:center;background:var(--brand);color:#042923;font-weight:900;font-size:11px}.service-card.active .service-check{display:grid}

/* uniform catalog cards */
.group-card{height:104px!important;min-height:104px!important;display:grid;grid-template-rows:32px auto auto;align-content:center}.catalog-groups{grid-auto-rows:104px}
.compact-card{min-height:132px;height:132px}.part-info h3{min-height:31px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}

@media(max-width:1180px){
 .visual-vehicle-grid{grid-template-columns:repeat(3,1fr)}
 .service-card-grid{grid-template-columns:repeat(3,1fr)}
 .previous-vehicles-grid{grid-template-columns:repeat(2,1fr)}
 .reception-basic,.vehicle-final-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
 .reception-customer-bar{grid-template-columns:auto 1fr}.customer-search-box{grid-column:1/-1}
 .visual-vehicle-grid{grid-template-columns:repeat(2,1fr)}
 .service-card-grid{grid-template-columns:repeat(2,1fr)}
 .previous-vehicles-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
 .visual-vehicle-grid,.service-card-grid{grid-template-columns:1fr}
 .reception-basic,.vehicle-final-grid{grid-template-columns:1fr}
}

/* V88 dependent Mercedes selection flow */
.vehicle-dependency-flow{margin-top:12px;display:grid;gap:12px}
.vehicle-step{border-top:1px solid var(--line);padding-top:12px}
.vehicle-step.hidden{display:none}
.vehicle-step-head{display:flex;align-items:center;gap:9px;margin-bottom:9px}
.step-no{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--brand);color:#042923;font-weight:900;font-size:11px}
.vehicle-step-head b,.vehicle-step-head small{display:block}
.vehicle-step-head small{font-size:9px;color:var(--muted);margin-top:2px}

.generation-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.generation-card{height:88px;border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:12px;padding:10px;display:grid;align-content:center;text-align:center;cursor:pointer}
.generation-card b{font-size:15px}.generation-card span{font-size:11px;margin-top:3px}.generation-card small{font-size:9px;color:var(--muted);margin-top:3px}
.generation-card:hover,.generation-card.active{border-color:var(--brand);box-shadow:var(--glow)}
.generation-card.active{background:rgba(22,194,173,.09)}

.mercedes-year-board{
 display:grid;
 grid-template-rows:repeat(7,48px);
 grid-auto-flow:column;
 grid-auto-columns:minmax(96px,1fr);
 gap:9px;
 overflow-x:auto;
 padding-bottom:4px
}
.mercedes-year-btn{height:48px;border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:9px;padding:0 12px;display:flex;justify-content:space-between;align-items:center;font-weight:800;cursor:pointer}
.mercedes-year-btn span{font-size:18px;color:var(--muted)}
.mercedes-year-btn:hover,.mercedes-year-btn.active{border-color:var(--brand);box-shadow:var(--glow)}
.mercedes-year-btn.active{background:var(--brand);color:#042923}.mercedes-year-btn.active span{color:#042923}

.engine-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.engine-card{height:76px;border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:11px;padding:9px;display:grid;align-content:center;text-align:center;cursor:pointer}
.engine-card b{font-size:12px}.engine-card small{font-size:8px;color:var(--muted);margin-top:4px}
.engine-card:hover,.engine-card.active{border-color:var(--brand);box-shadow:var(--glow)}
.engine-card.active{background:rgba(22,194,173,.10)}

.visual-car-meta small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Quick inspection now uses the same equal-card system */
.quick-check-title{margin-top:18px}
.check-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;grid-auto-rows:126px;margin-bottom:16px}
.check-card{
 height:126px!important;
 min-height:126px!important;
 position:relative;
 display:grid!important;
 grid-template-rows:34px auto 1fr;
 align-items:start;
 text-align:start;
 background:var(--card2)!important;
 border:1px solid var(--line)!important;
 color:var(--text)!important;
 border-radius:14px!important;
 padding:12px!important;
 cursor:pointer;
 overflow:hidden;
}
.check-card:hover{border-color:var(--brand)!important}
.check-card.active{background:rgba(22,194,173,.10)!important;border-color:var(--brand)!important;box-shadow:var(--glow)}
.check-card b{font-size:12px;margin-top:4px}
.check-card small{font-size:9px;color:var(--muted);line-height:1.5;margin-top:3px}
.check-card.active .service-icon{background:var(--brand);color:#042923;border-color:var(--brand)}
.check-card.active .service-check{display:grid}

@media(max-width:1180px){
 .generation-card-grid,.engine-card-grid,.check-card-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
 .generation-card-grid,.engine-card-grid,.check-card-grid{grid-template-columns:repeat(2,1fr)}
 .mercedes-year-board{grid-template-rows:repeat(7,44px);grid-auto-columns:minmax(86px,1fr)}
}
@media(max-width:480px){
 .generation-card-grid,.engine-card-grid,.check-card-grid{grid-template-columns:1fr}
}

/* V89 Customers database */
.side-search-block{padding:8px 8px 0}.side-search-block small{display:block;color:var(--muted);font-size:9px;margin-bottom:4px}.side-search-block input{margin:0}
.customer-side-search{padding-bottom:7px;border-bottom:1px solid var(--line);margin-bottom:6px}
.order-customer-results{display:grid;gap:5px;margin-top:6px;max-height:270px;overflow:auto}
.order-customer-hit{border:1px solid var(--line);border-radius:9px;background:var(--card2);padding:5px}
.order-customer-name{width:100%;border:0;background:transparent;color:var(--text);text-align:start;padding:3px;cursor:pointer}.order-customer-name b,.order-customer-name small{display:block}.order-customer-name b{font-size:10px}.order-customer-name small{font-size:8px;color:var(--muted);margin-top:2px}
.order-customer-vehicles{display:flex;gap:4px;flex-wrap:wrap;margin-top:4px}.order-customer-car{border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:6px;padding:4px 6px;font-size:8px;cursor:pointer}.order-customer-car:hover{border-color:var(--brand);color:var(--brand)}

.customers-toolbar{margin-bottom:10px}.customer-db-search{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.customer-db-search input{margin:0}.customer-db-search span{color:var(--brand);font-weight:800;font-size:11px;min-width:70px;text-align:center}
.customers-layout{display:grid;grid-template-columns:340px 1fr;gap:12px;align-items:start}.customer-db-list{display:grid;gap:6px;max-height:calc(100vh - 245px);overflow:auto;padding-inline-end:3px}
.customer-db-row{height:64px;border:1px solid var(--line);border-radius:11px;background:var(--card);color:var(--text);display:grid;grid-template-columns:38px 1fr auto;gap:8px;align-items:center;text-align:start;padding:7px;cursor:pointer}
.customer-db-row:hover,.customer-db-row.active{border-color:var(--brand);box-shadow:var(--glow)}.customer-db-row.active{background:rgba(22,194,173,.07)}
.customer-db-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--card2);border:1px solid var(--line);font-weight:900}
.customer-db-copy{min-width:0}.customer-db-copy b,.customer-db-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-db-copy b{font-size:11px}.customer-db-copy small{font-size:8px;color:var(--muted);margin-top:3px}.customer-db-arrow{font-size:20px;color:var(--muted)}
.customer-detail{min-height:350px}.customer-empty{color:var(--muted);text-align:center;padding:40px 14px}
.customer-detail-head{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:center;padding:16px;border-bottom:1px solid var(--line)}.customer-detail-avatar{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:var(--brand);color:#042923;font-size:24px;font-weight:900}.customer-detail-head small,.customer-detail-head p{color:var(--muted);margin:0}.customer-detail-head h2{margin:2px 0;font-size:20px}
.customer-stats{display:grid;grid-template-columns:auto auto;gap:2px 8px;text-align:center}.customer-stats b{font-size:16px}.customer-stats small{font-size:8px;color:var(--muted)}
.customer-detail-title{display:flex;justify-content:space-between;align-items:end;padding:12px 16px 7px}.customer-detail-title small{color:var(--muted);font-size:8px}
.customer-vehicle-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:8px 16px 16px}.customer-vehicle-card{height:104px;border:1px solid var(--line);border-radius:12px;background:var(--card2);color:var(--text);display:grid;grid-template-columns:115px 1fr auto;gap:9px;align-items:center;text-align:start;padding:7px;cursor:pointer}.customer-vehicle-card:hover{border-color:var(--brand);box-shadow:var(--glow)}.customer-vehicle-img{height:88px;background:#fafafa;border-radius:8px;overflow:hidden}.customer-vehicle-img img{width:100%;height:100%;object-fit:contain}.customer-vehicle-card b,.customer-vehicle-card span,.customer-vehicle-card small{display:block}.customer-vehicle-card b{font-size:11px}.customer-vehicle-card span{font-size:9px;margin-top:3px}.customer-vehicle-card small{font-size:8px;color:var(--muted);margin-top:3px}.customer-vehicle-card em{font-style:normal;color:var(--brand);font-size:9px}

/* V89 inventory: smaller, denser, quantity directly on every item */
.parts-grid.compact{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.inventory-mini-card{height:112px!important;min-height:112px!important;grid-template-columns:54px 1fr!important;grid-template-rows:64px 32px!important;padding:7px!important;gap:7px!important}
.inventory-mini-card .part-thumb{width:54px!important;height:54px!important;border-radius:8px}
.inventory-mini-card .part-info h3{font-size:10px!important;line-height:1.25;min-height:25px;margin:2px 0!important}
.inventory-mini-card .oe{font-size:9px!important}.inventory-mini-card .meta-line{font-size:7px!important}
.inventory-qty-side{grid-column:1/-1!important;border-top:1px solid var(--line)!important;padding-top:4px!important;height:30px;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important}
.inventory-qty-side label{display:flex;align-items:center;gap:5px;font-size:8px;color:var(--muted)}.inventory-qty-side select{width:54px;height:25px;padding:2px 5px;margin:0;font-size:9px}.inventory-qty-side small{font-size:7px!important}
.parts-grid.list-mode .inventory-mini-card{height:72px!important;min-height:72px!important;grid-template-columns:48px 1fr 120px!important;grid-template-rows:auto!important}.parts-grid.list-mode .inventory-mini-card .part-thumb{width:48px!important;height:48px!important}.parts-grid.list-mode .inventory-qty-side{grid-column:auto!important;border:0!important;height:auto}
.quick-hit-row{display:grid;grid-template-columns:1fr 72px 68px;gap:7px;align-items:center;border:1px solid var(--line);background:var(--card2);border-radius:9px;padding:7px}.quick-hit-row b,.quick-hit-row span,.quick-hit-row small{display:block}.quick-hit-row b{font-size:10px}.quick-hit-row span{font-size:10px;margin-top:2px}.quick-hit-row small{font-size:8px;color:var(--muted);margin-top:2px}.quick-hit-row select{margin:0;height:34px}

/* hide now-obsolete inventory editor/import styling space */
#inventory .topgap+.topgap{margin-top:0}

@media(max-width:1250px){.parts-grid.compact{grid-template-columns:repeat(4,1fr)}.customers-layout{grid-template-columns:300px 1fr}}
@media(max-width:950px){.parts-grid.compact{grid-template-columns:repeat(3,1fr)}.customer-vehicle-grid{grid-template-columns:1fr}.customers-layout{grid-template-columns:1fr}.customer-db-list{max-height:320px}}
@media(max-width:700px){.parts-grid.compact{grid-template-columns:repeat(2,1fr)}.quick-hit-row{grid-template-columns:1fr 70px}.quick-hit-row .primary{grid-column:1/-1}.customer-detail-head{grid-template-columns:50px 1fr}.customer-stats{grid-column:1/-1}.customer-vehicle-card{grid-template-columns:90px 1fr}}
@media(max-width:450px){.parts-grid.compact{grid-template-columns:1fr}}

/* V90 customer demo polish */
.customers-page-head{align-items:flex-end}.customer-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.customer-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:10px}
.customer-summary-card{min-height:78px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(135deg,var(--card),var(--card2));display:flex;align-items:center;gap:12px;padding:12px 15px}
.customer-summary-card>span{width:42px;height:42px;border-radius:12px;background:rgba(22,194,173,.10);display:grid;place-items:center;font-size:19px;border:1px solid rgba(22,194,173,.25)}
.customer-summary-card b,.customer-summary-card small{display:block}.customer-summary-card b{font-size:22px;line-height:1}.customer-summary-card small{font-size:10px;color:var(--muted);margin-top:5px}
.customers-toolbar{border-radius:14px}.customer-db-search input{height:46px;font-size:14px}
.customer-db-row{height:72px;padding:9px 10px}.customer-db-avatar{width:42px;height:42px;font-size:16px}.customer-db-copy b{font-size:13px}.customer-db-copy small{font-size:9px}
.customer-detail{border-radius:15px;overflow:hidden}.customer-detail-head{padding:20px}.customer-detail-head h2{font-size:22px}
.customer-vehicle-card{height:116px}.customer-vehicle-img{height:98px}
.customer-dialog{width:min(760px,100%)}.customer-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.customer-form-grid label{font-size:10px;color:var(--muted)}.customer-form-grid input{height:45px;margin-top:5px;font-size:13px}
.customer-form-grid label.required{color:var(--text);font-weight:800}.customer-form-note{margin-top:10px;padding:9px 11px;background:rgba(22,194,173,.07);border:1px solid rgba(22,194,173,.22);border-radius:10px;color:var(--muted);font-size:10px}
.customer-modal-actions{margin-top:12px}.customer-modal-actions button{min-width:150px}
.import-customers-dialog{width:min(650px,100%)}.import-status-box{padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--card2);color:var(--muted);font-size:11px}
.import-result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.import-result-grid>div{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:11px;text-align:center}.import-result-grid b,.import-result-grid small{display:block}.import-result-grid b{font-size:20px;color:var(--brand)}.import-result-grid small{font-size:8px;color:var(--muted);margin-top:4px}.import-errors{margin-top:10px;color:#ffb4b4;line-height:1.7}
@media(max-width:780px){.customer-summary-grid{grid-template-columns:1fr}.customer-form-grid{grid-template-columns:1fr}.customer-head-actions{justify-content:flex-start}.import-result-grid{grid-template-columns:repeat(2,1fr)}}

/* V91 role visibility */
.role-hidden{display:none!important}.nav-badge{margin-inline-start:auto;min-width:20px;height:20px;border-radius:99px;background:#ff5a67;color:#fff;display:grid;place-items:center;font-size:9px}

/* Store request inbox */
.store-workflow-panel{border:1px solid var(--line);background:var(--card);border-radius:16px;padding:14px;margin-bottom:12px}
.store-workflow-head{display:flex;justify-content:space-between;gap:12px;align-items:end}.store-workflow-head h2{margin:0;font-size:18px}.store-workflow-head p{margin:4px 0 0;color:var(--muted);font-size:11px}
.store-request-filters{display:flex;gap:6px;flex-wrap:wrap}.store-filter{border:1px solid var(--line);background:var(--card2);color:var(--text);border-radius:9px;padding:8px 11px;cursor:pointer}.store-filter.active{border-color:var(--brand);color:var(--brand)}.store-filter span{background:rgba(22,194,173,.13);border-radius:99px;padding:2px 6px;margin-inline-start:4px}
.store-request-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.store-request-summary>div{background:var(--card2);border:1px solid var(--line);border-radius:11px;padding:10px;text-align:center}.store-request-summary b,.store-request-summary small{display:block}.store-request-summary b{font-size:20px}.store-request-summary small{color:var(--muted);font-size:9px}
.store-request-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.store-request-card{border:1px solid var(--line);border-radius:13px;padding:11px;background:var(--card2)}.store-request-card.status-pending{border-inline-start:4px solid #ffb020}.store-request-card.status-partial{border-inline-start:4px solid #7d8cff}.store-request-card.status-issued{border-inline-start:4px solid var(--brand)}
.store-request-top,.store-part-main,.store-actions{display:flex;justify-content:space-between;gap:10px;align-items:center}.store-request-top b,.store-request-top small{display:block}.store-request-top b{font-size:13px}.store-request-top small{font-size:9px;color:var(--muted);margin-top:3px}.request-status{font-size:9px;padding:5px 7px;border-radius:99px;background:var(--card)}
.store-part-main{margin:10px 0;padding:10px;border-block:1px solid var(--line)}.store-part-main h3{margin:4px 0;font-size:16px}.store-part-main p{margin:0;color:var(--muted);font-size:10px;line-height:1.7}.store-stock{text-align:center;min-width:70px}.store-stock b,.store-stock small{display:block}.store-stock b{font-size:22px;color:var(--brand)}.store-stock small{font-size:8px;color:var(--muted)}
.store-actions label{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:9px}.store-actions select{width:68px;margin:0;height:35px}.store-empty{padding:22px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:11px}

/* Work order part request states */
.execution-toolbar{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:8px}.order-part-requests{display:grid;gap:6px;margin-bottom:10px}.order-part-request{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);background:var(--card2);border-radius:9px;padding:8px 10px}.order-part-request b,.order-part-request small{display:block}.order-part-request b{font-size:11px}.order-part-request small{font-size:8px;color:var(--muted);margin-top:2px}.order-part-request span{font-size:9px;padding:4px 7px;border-radius:99px;background:var(--card)}.order-part-request.issued span{color:var(--brand)}.order-part-request.pending span{color:#ffb020}.order-part-request.partial span{color:#9da8ff}.order-part-empty{color:var(--muted);font-size:9px;padding:8px}
.engineer-release-box{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid rgba(22,194,173,.28);background:rgba(22,194,173,.06);border-radius:12px;padding:12px;margin-top:12px}.engineer-release-box b,.engineer-release-box small{display:block}.engineer-release-box small{font-size:9px;color:var(--muted);margin-top:4px;max-width:620px}

/* Inventory sequential filters and larger descriptions */
.filter-flow-title{display:flex;justify-content:space-between;align-items:end;margin-top:10px}.filter-flow-title b{font-size:13px}.filter-flow-title small{font-size:9px;color:var(--muted)}
.sequential-filter-row{grid-template-columns:repeat(4,1fr) auto!important}.sequential-filter-row label{font-size:9px;color:var(--muted)}.sequential-filter-row label>span{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--brand);color:#042923;font-weight:900;margin-inline-end:3px}.sequential-filter-row select{margin-top:4px;height:40px}
.inventory-mini-card{height:126px!important;min-height:126px!important;grid-template-rows:70px 38px!important}.inventory-mini-card .part-info h3{font-size:13px!important;line-height:1.35;min-height:35px!important}.inventory-mini-card .oe{font-size:11px!important}.inventory-mini-card .meta-line{font-size:9px!important;line-height:1.5;white-space:normal!important}.inventory-mini-card .meta-line b{font-size:9px;color:var(--text)}

/* Customer modal visual selector */
.new-customer-vehicle-section{margin-top:12px;border:1px solid var(--line);border-radius:14px;padding:12px;background:var(--card2)}.new-customer-vehicle-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:9px}.new-customer-vehicle-head b,.new-customer-vehicle-head small{display:block}.new-customer-vehicle-head small{color:var(--muted);font-size:9px;margin-top:3px}.new-customer-vehicle-head>span{font-size:9px;color:var(--muted);border:1px solid var(--line);padding:6px 8px;border-radius:99px}.new-customer-vehicle-head>span.ready{color:var(--brand);border-color:var(--brand)}
.compact-tabs{margin-bottom:8px}.customer-visual-grid{grid-template-columns:repeat(4,1fr)}.customer-visual-grid .visual-car-card{height:132px;grid-template-rows:92px 1fr}.customer-visual-grid .visual-car-img{height:92px}.manual-customer-car{margin-top:9px;border-top:1px solid var(--line);padding-top:8px}.manual-customer-car summary{cursor:pointer;color:var(--muted);font-size:9px}.new-car-last-fields{margin-top:9px}

@media(max-width:1000px){.store-request-list{grid-template-columns:1fr}.sequential-filter-row{grid-template-columns:repeat(2,1fr)!important}.customer-visual-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.store-workflow-head{display:block}.store-request-filters{margin-top:9px}.store-request-summary{grid-template-columns:1fr 1fr 1fr}.sequential-filter-row{grid-template-columns:1fr!important}.customer-visual-grid{grid-template-columns:repeat(2,1fr)}.engineer-release-box{display:block}.engineer-release-box button{margin-top:8px;width:100%}}

/* V92 visual EPC browser */
.epc-browser{margin-bottom:12px;overflow:hidden}.epc-browser-head{display:flex;justify-content:space-between;gap:14px;align-items:end;padding:15px 16px 10px;border-bottom:1px solid var(--line)}
.epc-browser-head h2{margin:3px 0 2px;font-size:20px}.epc-browser-head p{margin:0;color:var(--muted);font-size:10px}.epc-kicker{font-size:8px;letter-spacing:.18em;color:var(--brand);font-weight:900}
.epc-group-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;padding:12px}
.epc-group-card{height:205px;border:1px solid var(--line);border-radius:16px;background:var(--card2);color:var(--text);padding:12px;display:grid;grid-template-rows:48px 1fr 34px;text-align:start;cursor:pointer;overflow:hidden;transition:.16s}
.epc-group-card:hover,.epc-group-card.active{border-color:var(--brand);box-shadow:var(--glow);transform:translateY(-2px)}.epc-group-card.active{background:rgba(22,194,173,.06)}
.epc-group-title b,.epc-group-title small{display:block}.epc-group-title b{font-size:12px;line-height:1.3}.epc-group-title small{font-size:8px;color:var(--muted);margin-top:3px}
.epc-group-art{display:grid;place-items:center;min-height:92px}.epc-group-art svg{width:112px;height:112px;fill:none;stroke:currentColor;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;opacity:.85}.epc-group-art svg path{fill:none}
.epc-group-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:7px}.epc-group-foot span{font-size:8px;color:var(--muted)}.epc-group-foot i{font-style:normal;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--brand);color:#042923;font-size:17px;font-weight:900}
.external-part-search{margin-top:10px;border-top:1px solid var(--line);padding-top:10px}.external-part-search input{height:40px;margin:0 0 7px}.external-search-buttons{display:flex;gap:6px;flex-wrap:wrap}.external-search-buttons button{font-size:9px;padding:7px 10px}
@media(max-width:1250px){.epc-group-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:850px){.epc-group-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.epc-group-grid{grid-template-columns:repeat(2,1fr)}.epc-browser-head{display:block}.epc-browser-head button{margin-top:8px}}

/* V93 workflow role pages */
.role-kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:12px}
.role-kpi-grid>div{border:1px solid var(--line);background:linear-gradient(135deg,var(--card),var(--card2));border-radius:13px;padding:12px;text-align:center}
.role-kpi-grid b,.role-kpi-grid small{display:block}.role-kpi-grid b{font-size:24px}.role-kpi-grid small{font-size:9px;color:var(--muted);margin-top:4px}
.role-order-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.role-order-card{border:1px solid var(--line);background:var(--card);border-radius:14px;padding:12px;min-height:180px;display:grid;grid-template-rows:auto 1fr auto}
.role-order-card:hover{border-color:var(--brand);box-shadow:var(--glow)}
.role-order-top{display:flex;justify-content:space-between;gap:8px;align-items:start}.role-order-top b,.role-order-top small{display:block}.role-order-top b{font-size:13px}.role-order-top small{font-size:9px;color:var(--muted);margin-top:3px}.role-status{font-size:8px;padding:5px 7px;border-radius:99px;background:var(--card2);color:var(--brand);white-space:nowrap}
.role-order-body{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.role-order-body>div{border:1px solid var(--line);border-radius:10px;padding:8px;background:var(--card2)}.role-order-body small,.role-order-body b,.role-order-body span{display:block}.role-order-body small{font-size:8px;color:var(--muted)}.role-order-body b{font-size:10px;margin:4px 0}.role-order-body span{font-size:8px;color:var(--muted)}
.role-order-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:8px}.role-order-foot>span{font-size:9px;color:var(--muted)}.role-empty{grid-column:1/-1;padding:36px;text-align:center;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}
.customer-head-tools{display:flex;gap:14px;align-items:center}.danger{border-color:rgba(255,80,90,.4)!important;color:#ff7b83!important}

/* V93 inventory redesign */
.parts-grid.compact{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.inventory-pro-card{min-height:150px;border:1px solid var(--line);border-radius:14px;background:var(--card);padding:10px;display:grid;grid-template-columns:74px 1fr;grid-template-rows:1fr auto;gap:10px;overflow:hidden;transition:.15s}
.inventory-pro-card:hover{border-color:var(--brand);box-shadow:var(--glow);transform:translateY(-1px)}
.inventory-pro-image{width:74px;height:74px;border:1px solid var(--line);border-radius:10px;background:#f7f8fa;display:grid;place-items:center;overflow:hidden}.inventory-pro-image img{width:100%;height:100%;object-fit:contain}.part-fallback{width:100%;height:100%;place-items:center;color:#6d7785;font-size:26px}
.inventory-pro-main{min-width:0}.inventory-pro-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.inventory-pro-main .oe{font-size:11px;font-weight:900}.stock-pill{font-size:8px;background:rgba(22,194,173,.10);color:var(--brand);border:1px solid rgba(22,194,173,.25);padding:4px 7px;border-radius:99px;white-space:nowrap}.stock-pill.low{color:#ff9c7b;border-color:rgba(255,156,123,.3);background:rgba(255,156,123,.08)}
.inventory-pro-main h3{font-size:15px!important;line-height:1.35;margin:7px 0 4px!important;color:var(--text)}.inventory-pro-main p{font-size:10px;line-height:1.55;color:var(--muted);margin:0;white-space:normal}.inventory-alt-line{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}.inventory-alt-line span{font-size:8px;border:1px solid var(--line);border-radius:6px;padding:3px 5px;background:var(--card2)}
.inventory-pro-actions{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:8px}.inventory-pro-actions label{display:flex;align-items:center;gap:6px;font-size:9px;color:var(--muted)}.inventory-pro-actions label span{font-size:9px}.inventory-pro-actions select{width:62px;height:30px;margin:0;padding:2px 5px}.inventory-pro-actions small{font-size:8px;color:var(--muted)}
.parts-grid.list-mode{display:block!important}.parts-grid.list-mode .inventory-pro-card{display:grid;grid-template-columns:60px 1fr 150px;grid-template-rows:auto;min-height:82px;margin-bottom:7px}.parts-grid.list-mode .inventory-pro-image{width:60px;height:60px}.parts-grid.list-mode .inventory-pro-actions{grid-column:auto;border:0;padding:0;justify-content:end;gap:8px}.parts-grid.list-mode .inventory-pro-main h3{font-size:13px!important;margin:3px 0!important}

@media(max-width:1180px){.role-order-grid,.parts-grid.compact{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:760px){.role-order-grid,.parts-grid.compact{grid-template-columns:1fr!important}.role-kpi-grid{grid-template-columns:1fr 1fr 1fr}.customer-head-tools{display:block}.customer-head-tools .danger{margin-top:8px}.parts-grid.list-mode .inventory-pro-card{grid-template-columns:54px 1fr;grid-template-rows:auto auto}.parts-grid.list-mode .inventory-pro-actions{grid-column:1/-1}}

/* V94 Finance */
.finance-metrics{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-bottom:12px}.finance-metrics>div{background:linear-gradient(135deg,var(--card),var(--card2));border:1px solid var(--line);border-radius:12px;padding:11px;text-align:center}.finance-metrics small,.finance-metrics b{display:block}.finance-metrics small{font-size:8px;color:var(--muted)}.finance-metrics b{font-size:15px;margin-top:4px}
.finance-tabs,.settings-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.finance-tab,.settings-tab{border:1px solid var(--line);background:var(--card);color:var(--text);padding:9px 13px;border-radius:9px;cursor:pointer}.finance-tab.active,.settings-tab.active{background:var(--brand);color:#042923;border-color:var(--brand)}
.finance-panel,.settings-panel{display:none}.finance-panel.active,.settings-panel.active{display:block}.finance-toolbar{margin-bottom:8px}.finance-toolbar input{height:43px}
.invoice-list{display:grid;gap:7px}.invoice-row{display:grid;grid-template-columns:1.7fr .7fr .7fr auto auto;gap:10px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:11px;padding:10px}.invoice-row>div:first-child b,.invoice-row>div:first-child small{display:block}.invoice-no{font-weight:900;color:var(--brand);font-size:11px}.invoice-row>div:first-child b{font-size:11px;margin-top:3px}.invoice-row>div:first-child small{font-size:8px;color:var(--muted);margin-top:2px}.invoice-money small,.invoice-money b{display:block}.invoice-money small{font-size:8px;color:var(--muted)}.invoice-money b{font-size:11px}.invoice-status{font-size:8px;padding:5px 8px;border-radius:99px;background:var(--card2)}.invoice-status.paid{color:var(--brand)}.invoice-actions{display:flex;gap:5px}
.finance-panel-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:8px}.finance-panel-head b,.finance-panel-head small{display:block}.finance-panel-head small{font-size:9px;color:var(--muted);margin-top:3px}.finance-entry-list{display:grid;gap:6px}.finance-entry-row{display:grid;grid-template-columns:1fr auto 90px;gap:10px;align-items:center;border:1px solid var(--line);background:var(--card);border-radius:10px;padding:9px}.finance-entry-row b,.finance-entry-row span,.finance-entry-row small{display:block}.finance-entry-row b{font-size:10px}.finance-entry-row span{font-size:9px}.finance-entry-row small{font-size:8px;color:var(--muted)}.finance-entry-row strong{font-size:12px;color:var(--brand)}.finance-entry-row em{font-size:8px;color:var(--muted);font-style:normal}
.cashbox-hero{min-height:220px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,var(--card),var(--card2));display:grid;place-items:center;align-content:center;text-align:center}.cashbox-hero small,.cashbox-hero b,.cashbox-hero span{display:block}.cashbox-hero small{color:var(--muted)}.cashbox-hero b{font-size:38px;margin:7px}.cashbox-hero span{font-size:10px;color:var(--muted)}
.invoice-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.invoice-options .full{grid-column:1/-1}.vat-toggle{display:flex;align-items:center;gap:7px}.vat-toggle input{width:auto}
.role-card-actions{display:flex;gap:5px}

/* V94 Settings */
.system-users{display:grid;gap:6px}.system-user-row{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);background:var(--card2);border-radius:10px;padding:9px}.system-user-row b,.system-user-row span,.system-user-row small{display:block}.system-user-row b{font-size:11px}.system-user-row span{font-size:9px;margin-top:2px}.system-user-row small{font-size:8px;color:var(--muted);margin-top:2px}.system-user-row>div:last-child{display:flex;gap:5px}
.demo-credentials{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.credential-card{border:1px solid var(--line);background:var(--card2);border-radius:10px;padding:10px}.credential-card b,.credential-card code{display:block}.credential-card b{font-size:10px;margin-bottom:6px}.credential-card code{font-size:9px;color:var(--brand);margin-top:3px;direction:ltr;text-align:left;background:var(--card);padding:4px;border-radius:5px}
@media(max-width:1100px){.finance-metrics{grid-template-columns:repeat(3,1fr)}.demo-credentials{grid-template-columns:repeat(2,1fr)}.invoice-row{grid-template-columns:1.5fr .7fr .7fr auto}.invoice-actions{grid-column:1/-1}}
@media(max-width:700px){.finance-metrics{grid-template-columns:repeat(2,1fr)}.demo-credentials{grid-template-columns:1fr}.invoice-row{grid-template-columns:1fr 1fr}.invoice-row>div:first-child{grid-column:1/-1}.invoice-actions{grid-column:1/-1}.invoice-options{grid-template-columns:1fr}}

/* V95 strict role separation */
.role-stage-hidden{display:none!important}
body.role-reception .engineer-stage,body.role-reception .execution-stage,body.role-reception .legacy-closeout{display:none!important}

/* Live workflow pipeline */
.live-pipeline{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:12px}
.pipeline-step{position:relative;border:1px solid var(--line);background:var(--card);border-radius:12px;padding:9px;text-align:center;min-height:68px}
.pipeline-step>span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;margin:0 auto 4px;background:var(--card2);font-size:9px;font-weight:900}
.pipeline-step b,.pipeline-step small{display:block}.pipeline-step b{font-size:10px}.pipeline-step small{font-size:8px;color:var(--muted);margin-top:2px}.pipeline-step i{position:absolute;inset-inline-end:-8px;top:25px;color:var(--muted);font-style:normal;z-index:2}
.pipeline-step.has-orders{border-color:var(--brand);box-shadow:0 0 0 1px rgba(22,194,173,.12)}.pipeline-step.has-orders>span{background:var(--brand);color:#042923}

/* Engineer without prices */
.engineer-stage .estimate-line{grid-template-columns:110px 1fr 90px 36px!important}
.engineer-stage .estimate-line .lp{display:none!important}

/* Invoice editor */
.invoice-editor-dialog{width:min(980px,96vw)!important}.invoice-editor-lines{display:grid;gap:6px;margin-bottom:8px}
.invoice-editor-line{display:grid;grid-template-columns:110px 1fr 85px 110px 100px 36px;gap:6px;align-items:center;background:var(--card2);border:1px solid var(--line);border-radius:9px;padding:6px}
.invoice-editor-line input,.invoice-editor-line select{margin:0;height:38px}.iel-total{font-size:10px;text-align:center}
.invoice-editor-toolbar{margin-bottom:9px}.invoice-live-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:10px;padding-top:10px}.invoice-live-total b{font-size:21px;color:var(--brand)}

/* Reports / accounts */
.compact-finance{grid-template-columns:repeat(5,1fr)!important}.report-buttons{display:flex;gap:5px}.account-tree{display:grid;gap:5px}.account-row{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:9px;background:var(--card);padding:8px 10px}.account-row>div{display:flex;align-items:center;gap:8px}.account-row code{font-size:9px;color:var(--brand)}.account-row b{font-size:10px}.account-row small{font-size:7px;color:var(--muted)}.account-row strong{font-size:11px}.account-row.level-root{background:var(--card2);font-weight:900}

/* Suppliers */
.supplier-layout{display:grid;grid-template-columns:320px 1fr;gap:10px}.supplier-list{display:grid;gap:5px;align-content:start}.supplier-row{border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:10px;padding:9px;display:flex;justify-content:space-between;align-items:center;text-align:start;cursor:pointer}.supplier-row.active,.supplier-row:hover{border-color:var(--brand)}.supplier-row b,.supplier-row small{display:block}.supplier-row b{font-size:10px}.supplier-row small{font-size:8px;color:var(--muted);margin-top:2px}.supplier-row strong{font-size:10px;color:var(--brand)}
.supplier-detail{min-height:350px}.supplier-detail-head{display:flex;justify-content:space-between;align-items:center;padding:14px;border-bottom:1px solid var(--line)}.supplier-detail-head small,.supplier-detail-head p{color:var(--muted);margin:0}.supplier-detail-head h2{margin:3px 0}.supplier-balance{text-align:center}.supplier-balance b,.supplier-balance small{display:block}.supplier-balance b{font-size:20px;color:var(--brand)}.supplier-actions{display:flex;gap:6px;flex-wrap:wrap;padding:10px 14px}.supplier-statement{padding:0 14px 14px;display:grid;gap:5px}.supplier-statement>div{display:grid;grid-template-columns:85px 90px 1fr 110px 120px;gap:7px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:7px}.supplier-statement span,.supplier-statement small,.supplier-statement em{font-size:8px;color:var(--muted)}.supplier-statement b{font-size:9px}.supplier-statement strong{font-size:10px}.supplier-statement em{font-style:normal}

@media(max-width:900px){.live-pipeline{grid-template-columns:repeat(5,minmax(110px,1fr));overflow-x:auto}.invoice-editor-line{grid-template-columns:90px 1fr 70px 90px}.invoice-editor-line .iel-total{display:none}.invoice-editor-line button{grid-column:4}.supplier-layout{grid-template-columns:1fr}.supplier-statement>div{grid-template-columns:1fr 1fr}.supplier-statement small{grid-column:1/-1}}

body.role-reception .cycle,body.role-reception .engineer-stage,body.role-reception .execution-stage,body.role-reception .legacy-closeout{display:none!important}
body.role-storekeeper #orders{display:none!important}

.live-car-tracking{border:1px solid var(--line);border-radius:12px;margin-bottom:16px;max-height:320px;overflow:auto;background:var(--card)}.tracking-title{padding:12px;color:var(--muted);font-size:12px}.tracking-car{display:grid;grid-template-columns:1fr 1fr 1fr 120px;gap:10px;padding:12px;border-top:1px solid var(--line);font-size:12px}.tracking-car strong{color:var(--brand)}@media(max-width:700px){.tracking-car{grid-template-columns:1fr 1fr}}
body.role-reception #receptionKpis>div:nth-child(n+2){display:none!important}

/* V97 compact year squares and labeled color cards. */
.mercedes-year-board{display:grid!important;grid-template-columns:repeat(auto-fill,60px)!important;grid-template-rows:none!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;grid-auto-rows:60px!important;gap:8px!important;overflow:visible!important;max-height:none!important;justify-content:start!important}
.mercedes-year-btn{width:60px!important;height:60px!important;min-height:60px!important;display:grid!important;place-items:center!important;padding:0!important;border-radius:10px!important;font-size:15px!important;font-weight:800!important}.mercedes-year-btn span{display:none!important}
.vehicle-color-field>b{display:block;margin-bottom:10px;color:var(--text)}.vehicle-color-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:9px}.vehicle-color-card{position:relative;display:flex;align-items:center;gap:9px;min-height:48px;padding:10px;background:var(--card2);border:1px solid var(--line);border-radius:10px;box-shadow:0 3px 8px #0002;color:var(--text)}.color-swatch{width:24px;height:24px;flex-shrink:0;border-radius:6px;border:1px solid #9996}.vehicle-color-card b{font-size:13px}.vehicle-color-card i{display:none;margin-inline-start:auto;font-style:normal;color:var(--brand)}.vehicle-color-card.active{border:2px solid var(--brand);box-shadow:0 0 0 2px #16c2ad22}.vehicle-color-card.active i{display:block}.custom-color{margin-top:10px;font-size:12px;color:var(--muted)}
.inventory-group-wrap{position:relative}.inventory-group-wrap .group-card{width:100%;height:100%;padding-bottom:40px}.edit-inventory-group{position:absolute;bottom:8px;inset-inline:25%;border:1px solid var(--line);border-radius:7px;padding:4px;background:var(--card2);color:var(--text);font-size:11px}.edit-inventory-part{border:1px solid var(--brand);border-radius:8px;background:var(--card2);color:var(--brand);padding:7px;font-size:11px}#inventoryPartModal .quick-dialog{max-height:90vh;overflow-y:auto}.category-title{gap:10px;flex-wrap:wrap}.category-title>b{margin-inline-end:auto}
/* V98: readable touch interface */
body{font-size:15px;font-weight:600;line-height:1.6}button,label,input,select,textarea{font-weight:700}h1,h2,h3,b,strong,.nav{font-weight:800}small,p{font-weight:600}input,select,textarea{min-width:0;max-width:100%;font-size:16px}button{touch-action:manipulation}button:focus-visible{outline:3px solid #60a5fa;outline-offset:3px}.brand>div{min-width:0}.brand strong{font-size:17px;line-height:1.45;direction:ltr}.brand>b{flex-shrink:0;font-size:18px}aside#side{overflow-y:auto}.nav{position:relative;min-height:52px;margin:10px 0;border:1px solid #426085;background:linear-gradient(135deg,#1d3453,#152942);box-shadow:inset 0 0 18px #60a5fa15,0 2px 9px #0004;color:#e9f2ff;padding:13px 12px;font-size:15px;align-items:center}.nav span{flex:1}.nav:hover{background:linear-gradient(135deg,#294967,#213c56);border-color:#7aa5d6}.nav.active{background:linear-gradient(135deg,#19bda7,#079684);color:#032e29;border-color:#69eddb;box-shadow:0 0 18px #16c2ad55,inset 0 0 15px #a7fff144}.nav-badge{font-size:12px}main>header{display:grid;grid-template-columns:minmax(48px,1fr) minmax(0,2fr) minmax(160px,1fr);height:auto;min-height:76px}main>header>#menuBtn{justify-self:start}main>header>div:nth-child(2){text-align:center}#pageTitle{font-size:20px;display:block}#userLine{font-size:12px}.header-actions{justify-self:end}.mercedes-year-board{justify-content:center!important;align-content:center!important}.mercedes-year-btn{font-variant-numeric:tabular-nums;text-align:center!important;line-height:1!important}.visual-car-img{background:#f3f6fa}.visual-car-img img{object-fit:contain!important;max-width:100%;height:100%}.visual-car-meta b{font-size:15px}.visual-car-meta small{font-size:12px}.role-order-top small,.role-order-body small,.role-order-foot,.role-status,.pipeline-step b,.pipeline-step small,.account-row b,.account-row small,.supplier-row b,.supplier-row small,.supplier-statement span,.supplier-statement small,.supplier-statement b,.finance-entry-row small{font-size:13px}.mini,.hint,.meta-line{font-size:12px}.pipeline-step{min-height:92px;display:flex;flex-direction:column;justify-content:center}.grid>*{min-width:0}.order-pending{--order-color:#dc3545;--order-bg:#fff1f2}.order-completed{--order-color:#16834b;--order-bg:#eafaf0}.role-order-card.order-pending,.role-order-card.order-completed,.order-item.order-pending,.order-item.order-completed,.tracking-car.order-pending,.tracking-car.order-completed{border-inline-start:5px solid var(--order-color)}.role-order-card.order-pending,.order-item.order-pending{border-color:#dc35456b}.role-order-card.order-completed,.order-item.order-completed{border-color:#16834b6b}.role-order-card .role-status,.status.order-pending,.status.order-completed{color:var(--order-color);background:var(--order-bg);font-weight:800}.tracking-car strong{color:var(--order-color)}#recent tr{border-inline-start:4px solid var(--order-color)}#recent tr td:last-child{color:var(--order-color);font-weight:800}.order-color-legend{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0;font-size:13px}.pending-key{color:#dc3545}.completed-key{color:#16834b}.pending-key:before,.completed-key:before{content:'●';margin-inline-end:6px}html[data-theme=dark] .order-pending{--order-color:#ff8b99;--order-bg:#512733}html[data-theme=dark] .order-completed{--order-color:#72e9a2;--order-bg:#163f2a}.settings-panel .full{grid-column:1/-1}#saveCompanyDetails{min-height:46px}
@media(max-width:1100px){.app{grid-template-columns:230px minmax(0,1fr)}.content{padding:18px 14px}.orders-grid{grid-template-columns:1fr}.order-list{position:static;height:auto;max-height:300px}.compact-finance{grid-template-columns:repeat(3,minmax(0,1fr))!important}.supplier-layout,.customers-layout{grid-template-columns:1fr}.reception-customer-bar{flex-wrap:wrap}.customer-search-box{flex-basis:100%}.visual-vehicle-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important}}
@media(max-width:900px){.app{display:block}aside#side{position:fixed;z-index:60;inset:0 auto 0 0;width:min(300px,88vw);height:100dvh;transform:translateX(-105%);transition:.2s}html[dir=rtl] aside#side{left:auto;right:0;transform:translateX(105%)}aside#side.open{transform:none!important}.live-pipeline{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;overflow:visible}.pipeline-step{padding:7px 4px}.pipeline-step b{font-size:12px}.pipeline-step small{font-size:11px}.pipeline-step i{display:none}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.full{grid-column:1/-1}.estimate-line,.engineer-stage .estimate-line{grid-template-columns:100px minmax(0,1fr) 75px 38px!important}.invoice-editor-line{grid-template-columns:100px minmax(0,1fr) 75px 90px}.compact-finance{grid-template-columns:repeat(2,minmax(0,1fr))!important}.filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}.group-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.table-wrap{overflow-x:auto}.quick-dialog{max-width:96vw;max-height:92dvh;overflow-y:auto}}
@media(max-width:600px){.content{padding:14px 10px}main>header{grid-template-columns:44px minmax(0,1fr) auto;padding:9px 10px;gap:6px}#pageTitle{font-size:16px}#userLine{font-size:10px}.header-actions{gap:3px}.header-actions button{padding:8px;font-size:12px}.header-actions #logoutBtn{display:none}.page-head{align-items:center;flex-wrap:wrap}.page-head h1{font-size:21px}.page-head p{font-size:13px}.body{padding:12px}.grid,.staff-cards,.search-results,.customers-layout{grid-template-columns:minmax(0,1fr)}.full{grid-column:auto}.metrics,.parts-grid,.role-kpi-grid,.finance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.role-order-body{grid-template-columns:1fr!important}.role-order-top{flex-wrap:wrap;gap:8px}.role-order-top>div{min-width:0}.tracking-car{grid-template-columns:repeat(2,minmax(0,1fr));font-size:12px;padding:10px;overflow-wrap:anywhere}.live-pipeline{grid-template-columns:repeat(2,minmax(0,1fr))}.pipeline-step:last-child{grid-column:1/-1}.pipeline-step{min-height:75px}.visual-vehicle-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.visual-car-img{height:96px!important}.visual-car-meta{padding:9px}.visual-car-meta b{font-size:13px}.visual-car-meta small{font-size:11px}.vehicle-body-tabs,.mercedes-generation-grid,.mercedes-engine-board{flex-wrap:wrap}.group-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.invoice-editor-line,.engineer-stage .estimate-line,.estimate-line{grid-template-columns:minmax(0,1fr) 85px!important}.invoice-editor-line input.iel-description,.estimate-line .ld{grid-column:1/-1}.invoice-editor-line button{grid-column:auto}.iel-total{display:block!important}.supplier-statement>div{grid-template-columns:1fr 1fr}.smart-search,.inventory-toolbar,.inventory-tools,.filter-row,.vin-tools{grid-template-columns:minmax(0,1fr)!important}.compact-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.form-actions,.actions,.role-card-actions{flex-wrap:wrap}.vehicle-color-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.wo-head{padding:12px;gap:10px}.wo-head .status{font-size:12px;max-width:45%;text-align:center}.login-card{width:min(440px,94vw)}.brand-big{margin-inline:auto}#partCategory{min-width:0}.invoice-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.finance-entry-row{grid-template-columns:minmax(0,1fr) auto}button.primary,button.ghost{min-height:42px}#side .nav{min-height:52px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.login{padding:24px;min-height:100dvh}.login-shell{display:grid;grid-template-columns:minmax(260px,400px) minmax(310px,420px);width:min(860px,96vw);border-radius:24px;overflow:hidden;background:var(--card);border:1px solid var(--line);box-shadow:0 20px 80px #0005}.login-poster{background:#07101e;line-height:0}.login-poster img{width:100%;height:100%;object-fit:cover}.login .login-card{width:auto;max-width:none;border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;justify-content:center;padding:32px}.login-brand{display:flex;gap:14px;align-items:center;direction:ltr}.login-brand .brand-big{width:52px;height:52px;flex-shrink:0;margin:0;font-size:24px}.login-brand h1{font-size:24px;text-align:start;line-height:1.4}.login-card>p{font-size:16px;margin:12px 0 26px}.login-card label{text-align:start;font-size:14px}.login-card input{min-height:48px}.sidebar-logo{height:110px;overflow:hidden;border-radius:15px;margin:0 5px 15px;background:#000}.sidebar-logo img{width:100%;height:100%;object-fit:cover;object-position:center}.brand{padding-bottom:12px}.brand>b{display:none}aside#side .country{padding:8px 12px;margin-bottom:10px}.nav{margin:7px 0;padding:10px 12px;min-height:48px}
@media(max-width:600px){.login{padding:12px}.login-shell{grid-template-columns:1fr;max-width:420px}.login-poster{height:220px}.login-poster img{object-position:center 60%}.login .login-card{padding:24px}.login-brand h1{font-size:22px}.sidebar-logo{height:105px}}
.visual-car-card{min-width:0;grid-template-columns:minmax(0,1fr)!important;overflow:hidden}.visual-car-img,.visual-car-meta{min-width:0;width:100%;max-width:100%}.visual-car-img img{min-width:0;width:100%;max-width:100%}.visual-car-meta{overflow-wrap:anywhere}.brand strong{font-size:16px}
@media(max-width:600px){main>header{grid-template-columns:48px minmax(0,1fr) auto}main>header>div:nth-child(2){grid-column:1/-1;grid-row:2;text-align:center;padding-bottom:3px}main>header>#menuBtn{grid-column:1;grid-row:1}.header-actions{grid-column:3;grid-row:1}#pageTitle{font-size:18px}main>header{min-height:94px}.stage-title p{font-size:13px}.stage-title h3{font-size:18px}}
.invoice-preview-dialog{width:min(1100px,96vw);height:92dvh;background:var(--card);border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;overflow:hidden}.invoice-preview-toolbar{display:flex;gap:12px;align-items:center;padding:12px;border-bottom:1px solid var(--line)}.invoice-preview-toolbar b{margin-inline-end:auto}.invoice-preview-dialog iframe{width:100%;flex:1;border:0;background:#fff;min-height:0}.invoice-preview-modal{z-index:200!important}
.invoice-preview-modal{position:fixed;inset:0;display:grid;place-items:center;background:#020617b8;padding:12px;z-index:200}
small{font-size:12px!important}.finance-metrics small,.finance-entry-row small,.role-order-top small{font-size:13px!important}.finance-metrics b{font-size:22px!important}.invoice-money b{font-size:16px!important}.invoice-row .invoice-status{font-size:12px!important}.nav-badge{font-size:12px!important}.visual-car-meta small{font-size:11px!important}

/* 4B development credit, aligned to the physical left in both languages. */
main{display:flex;flex-direction:column;min-height:100dvh}.content{width:100%;flex:1}.developer-credit{display:flex;flex-direction:column;gap:3px;font-size:12px;font-weight:700;line-height:1.6}.developer-credit a{color:inherit;text-decoration:none;font-variant-numeric:tabular-nums}.developer-credit a:hover{text-decoration:underline}.page-developer-credit{align-items:flex-start;text-align:left;direction:ltr;color:var(--muted);padding:14px 24px 18px;margin-top:auto;border-top:1px solid var(--line)}.sidebar-developer-credit{margin:16px 5px 4px;padding:14px 7px 4px;border-top:1px solid #426085;color:#c6d6e9;text-align:start}.sidebar-developer-credit a{align-self:flex-start}.login{position:relative;padding-bottom:90px}.login-developer-credit{position:absolute;bottom:20px;left:24px;align-items:flex-start;text-align:left;color:var(--muted);direction:ltr}@media(max-width:600px){.page-developer-credit{padding:14px 12px 18px}.login-developer-credit{left:16px;bottom:16px;font-size:11px}.sidebar-developer-credit{font-size:12px}}

.developer-credit>span{unicode-bidi:isolate;font-size:13px}.developer-credit a{font-size:13px}

/* V101 - Category card actions menu */

.inventory-group-wrap{
  position:relative;
}

.group-menu-btn{
  position:absolute;
  top:7px;
  left:8px;
  z-index:8;
  width:28px;
  height:28px;
  min-width:28px;
  padding:0;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--muted);
  font-size:22px;
  line-height:20px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.group-menu-btn:hover{
  background:rgba(255,255,255,.08);
  color:var(--text);
}

.group-card-menu{
  position:absolute;
  top:36px;
  left:8px;
  z-index:50;
  min-width:115px;
  padding:5px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--card);
  box-shadow:0 10px 30px rgba(0,0,0,.28);
}

.group-card-menu.hidden{
  display:none!important;
}

.group-card-menu button{
  display:block;
  width:100%;
  min-height:36px;
  padding:7px 10px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:var(--text);
  text-align:right;
  cursor:pointer;
  font-size:13px;
}

.group-card-menu button:hover{
  background:rgba(255,255,255,.07);
}

.group-menu-delete{
  color:#ff7d88!important;
}

.group-menu-delete:hover{
  background:rgba(220,53,69,.12)!important;
}


/* ==========================================================
   V200 - CLEAN INVENTORY / CATALOG SEARCH UI
   ========================================================== */

.smart-parts-search,
.inventory-local-search{
  position:relative;
  margin:12px 0;
  padding:13px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--card);
}

.smart-search-heading{
  margin-bottom:8px;
}

.smart-search-heading b,
.inventory-local-search-title b{
  display:block;
  font-size:14px;
}

.smart-search-heading small,
.inventory-local-search-title small,
.smart-search-hint{
  color:var(--muted);
  font-size:10px;
}

.smart-search-box,
.inventory-local-search-box{
  position:relative;
  display:flex;
  align-items:center;
  min-height:46px;
  border:1px solid var(--line);
  border-radius:11px;
  background:var(--bg);
}

.smart-search-box:focus-within,
.inventory-local-search-box:focus-within{
  border-color:var(--brand);
  box-shadow:0 0 0 3px rgba(22,194,173,.10);
}

.smart-search-icon,
.inventory-local-search-box>span{
  width:42px;
  text-align:center;
  color:var(--muted);
}

#externalCatalogSearch,
#partSearch{
  flex:1;
  min-width:0;
  height:44px;
  padding:0 8px;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:var(--text);
  font-size:14px;
}

.smart-search-clear{
  width:36px;
  height:36px;
  padding:0;
  margin-inline-end:5px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--muted);
  font-size:20px;
}

.smart-search-tools{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  margin-top:9px;
}

.smart-search-tools select{
  min-height:36px;
  min-width:185px;
}

.smart-search-hint{
  margin-inline-start:auto;
}

.inventory-local-search-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}

/* ---------- AUTOCOMPLETE ---------- */

.parts-autocomplete{
  position:absolute;
  top:calc(100% + 6px);
  left:0;
  right:0;
  z-index:350;

  max-height:360px;
  overflow:auto;

  border:1px solid var(--line);
  border-radius:12px;
  background:var(--card);
  box-shadow:0 18px 46px rgba(0,0,0,.38);
}

.parts-autocomplete.hidden{
  display:none!important;
}

.part-suggestion-row{
  width:100%;
  display:grid;
  grid-template-columns:155px minmax(200px,1fr) 170px 135px;
  align-items:center;
  gap:10px;

  padding:10px 12px;

  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;

  background:transparent;
  color:var(--text);
  text-align:start;
  cursor:pointer;
}

.part-suggestion-row:last-child{
  border-bottom:0;
}

.part-suggestion-row:hover{
  background:rgba(22,194,173,.09);
}

.part-suggestion-oe b{
  color:var(--brand);
  font-size:13px;
}

.part-suggestion-name strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11.5px;
}

.part-suggestion-category span{
  font-size:10px;
}

.part-suggestion-location small{
  color:var(--muted);
  font-size:9.5px;
}

.parts-autocomplete-empty{
  padding:13px;
  text-align:center;
  color:var(--muted);
  font-size:11px;
}

/* ---------- COMPACT CATEGORY CARDS ---------- */

.catalog-groups{
  gap:8px!important;
}

.inventory-group-wrap{
  min-height:92px!important;
  height:92px!important;
}

.inventory-group-wrap .group-card{
  width:100%!important;
  height:92px!important;
  min-height:92px!important;
  padding:8px!important;

  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.group-card .group-icon{
  font-size:27px!important;
  line-height:29px!important;
  margin:0 0 3px!important;
}

.group-card b{
  font-size:10.5px!important;
  line-height:13px!important;
}

.group-card small{
  font-size:8.5px!important;
  line-height:10px!important;
  margin-top:2px!important;
}

/* ---------- RESPONSIVE ---------- */

@media(max-width:900px){
 .part-suggestion-row{
   grid-template-columns:130px minmax(150px,1fr) 140px;
 }

 .part-suggestion-location{
   grid-column:2/4;
 }
}

@media(max-width:700px){

 .smart-search-tools{
   align-items:stretch;
 }

 .smart-search-tools select{
   width:100%;
 }

 .smart-search-hint{
   width:100%;
   margin:0;
 }

 .part-suggestion-row{
   grid-template-columns:1fr;
   gap:3px;
 }

 .inventory-local-search-title{
   align-items:flex-start;
 }

 .inventory-group-wrap,
 .inventory-group-wrap .group-card{
   height:88px!important;
   min-height:88px!important;
 }
}


/* ==========================================================
   4B DEVELOPER CREDIT + GLOWING ORBS
   ========================================================== */

.sidebar-developer-credit{
  position:relative;
  z-index:5;

  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  width:100%;
  margin-top:auto;
  padding:16px 8px 15px;

  text-align:center;

  border-top:1px solid rgba(255,255,255,.07);

  background:linear-gradient(
    180deg,
    rgba(255,255,255,0),
    rgba(255,255,255,.018)
  );
}

.sidebar-developer-credit .credit-label{
  display:block;
  margin:0 0 3px;

  color:rgba(255,255,255,.62);
  font-size:10px;
  font-weight:500;
  line-height:1.3;
}

.sidebar-developer-credit .credit-company{
  display:block;
  margin:0 0 6px;

  color:#fff;
  font-size:13px;
  font-weight:700;
  line-height:1.3;
}

.sidebar-developer-credit .credit-phone{
  display:block;

  color:#7ef3e4 !important;
  font-size:12px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:.4px;

  text-decoration:none !important;

  transition:
    opacity .2s ease,
    text-shadow .2s ease;
}

.sidebar-developer-credit .credit-phone:hover{
  opacity:1;
  text-shadow:0 0 12px rgba(126,243,228,.55);
}


/* ===== Glowing balls - bottom left ===== */

.floating-orbs{
  position:fixed;

  left:10px;
  bottom:8px;

  width:150px;
  height:115px;

  overflow:visible;

  pointer-events:none;
  z-index:1;
}

.floating-orb{
  position:absolute;
  display:block;

  border-radius:50%;

  pointer-events:none;

  animation:orbFloat 7s ease-in-out infinite;
}

.orb-a{
  width:68px;
  height:68px;

  left:-22px;
  bottom:-24px;

  opacity:.55;

  background:
    radial-gradient(
      circle at 34% 30%,
      rgba(126,243,228,.95) 0%,
      rgba(22,194,173,.55) 28%,
      rgba(22,194,173,.16) 58%,
      rgba(22,194,173,0) 76%
    );

  filter:blur(.3px);

  box-shadow:
    0 0 24px rgba(22,194,173,.28),
    0 0 55px rgba(22,194,173,.15);
}

.orb-b{
  width:42px;
  height:42px;

  left:42px;
  bottom:27px;

  opacity:.42;

  background:
    radial-gradient(
      circle at 32% 28%,
      rgba(126,243,228,.82) 0%,
      rgba(22,194,173,.38) 38%,
      rgba(22,194,173,0) 76%
    );

  box-shadow:
    0 0 20px rgba(22,194,173,.22);

  animation-delay:-2.3s;
}

.orb-c{
  width:24px;
  height:24px;

  left:88px;
  bottom:8px;

  opacity:.32;

  background:
    radial-gradient(
      circle,
      rgba(255,255,255,.8) 0%,
      rgba(126,243,228,.38) 38%,
      rgba(126,243,228,0) 78%
    );

  box-shadow:
    0 0 15px rgba(126,243,228,.22);

  animation-delay:-4.2s;
}

@keyframes orbFloat{
  0%,100%{
    transform:translate3d(0,0,0);
  }

  50%{
    transform:translate3d(0,-7px,0);
  }
}


/* خلي القائمة والنص فوق الإضاءة */
#side{
  position:relative;
  z-index:2;
}


/* الموبايل */
@media(max-width:700px){
  .floating-orbs{
    left:4px;
    bottom:4px;
    transform:scale(.82);
    transform-origin:left bottom;
  }
}


/* ==========================================================
   V220 - 4B CREDIT CARD REFINED
   ========================================================== */

/* نخفي الكرات القديمة لأننا هنخليها كرت مضيء نفسه */
.floating-orbs{
  display:none !important;
}

/* الكرت نفسه */
.sidebar-developer-credit{
  position:relative;
  z-index:6;

  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  width:calc(100% - 16px);
  margin:14px auto 12px;
  padding:12px 10px 13px;

  text-align:center;
  border-radius:16px;

  border:1px solid rgba(126,243,228,.16);

  background:
    linear-gradient(
      180deg,
      rgba(18,28,45,.96) 0%,
      rgba(10,19,34,.98) 100%
    );

  box-shadow:
    0 0 0 1px rgba(255,255,255,.02) inset,
    0 10px 24px rgba(0,0,0,.24),
    0 0 18px rgba(126,243,228,.10);

  overflow:hidden;
}

/* هالة خفيفة داخل الكرت */
.sidebar-developer-credit::before{
  content:"";
  position:absolute;
  inset:auto auto -22px -12px;

  width:84px;
  height:84px;
  border-radius:50%;

  background:
    radial-gradient(
      circle,
      rgba(126,243,228,.22) 0%,
      rgba(22,194,173,.10) 36%,
      rgba(22,194,173,0) 74%
    );

  pointer-events:none;
  filter:blur(2px);
}

.sidebar-developer-credit::after{
  content:"";
  position:absolute;
  right:-16px;
  top:-12px;

  width:56px;
  height:56px;
  border-radius:50%;

  background:
    radial-gradient(
      circle,
      rgba(255,255,255,.10) 0%,
      rgba(126,243,228,.08) 32%,
      rgba(126,243,228,0) 74%
    );

  pointer-events:none;
}

/* السطر الأول */
.sidebar-developer-credit .credit-label{
  display:block;
  margin:0 0 3px;

  color:rgba(255,255,255,.60);
  font-size:10px;
  font-weight:500;
  line-height:1.2;
}

/* اسم الشركة */
.sidebar-developer-credit .credit-company{
  display:block;
  margin:0 0 6px;

  color:#ffffff;
  font-size:13px;
  font-weight:700;
  line-height:1.25;
}

/* الرقم: في المنتصف وتحت الكلام */
.sidebar-developer-credit .credit-phone{
  display:block;
  width:100%;

  margin:0;
  padding:0;

  text-align:center;
  text-decoration:none !important;

  color:#7ef3e4 !important;
  font-size:12px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:.25px;

  text-shadow:0 0 10px rgba(126,243,228,.16);
}

.sidebar-developer-credit .credit-phone:hover{
  color:#98fff3 !important;
  text-shadow:0 0 14px rgba(126,243,228,.28);
}

/* الموبايل */
@media(max-width:700px){
  .sidebar-developer-credit{
    width:calc(100% - 12px);
    margin:10px auto 10px;
    padding:10px 8px 11px;
    border-radius:14px;
  }

  .sidebar-developer-credit .credit-company{
    font-size:12.5px;
  }

  .sidebar-developer-credit .credit-phone{
    font-size:11.5px;
  }
}


/* ==========================================================
   V221 - PREMIUM 4B CREDIT CARD
   ========================================================== */

/* إزالة أي بقايا قديمة للكرات */
.floating-orbs,
.floating-orb,
.orb-a,
.orb-b,
.orb-c{
  display:none !important;
}

/* الكارت */
.sidebar-developer-credit{
  position:relative !important;

  width:calc(100% - 18px) !important;
  margin:14px auto 12px !important;
  padding:12px 10px !important;

  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;

  text-align:center !important;

  border:1px solid rgba(126,243,228,.13) !important;
  border-radius:14px !important;

  background:
    linear-gradient(
      145deg,
      rgba(17,29,47,.96),
      rgba(9,18,32,.98)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 8px 22px rgba(0,0,0,.20),
    0 0 18px rgba(22,194,173,.055) !important;

  overflow:hidden !important;
}

/* لمعة هادئة جدًا */
.sidebar-developer-credit::before{
  content:"" !important;

  position:absolute !important;
  width:85px !important;
  height:85px !important;

  right:-38px !important;
  top:-42px !important;

  border-radius:50% !important;

  background:
    radial-gradient(
      circle,
      rgba(126,243,228,.11) 0%,
      rgba(22,194,173,.045) 42%,
      transparent 72%
    ) !important;

  pointer-events:none !important;
}

/* شارة 4B */
.sidebar-developer-credit .credit-badge{
  position:relative;
  z-index:2;

  width:30px;
  height:30px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:9px;

  color:#8ff7ea;
  font-size:11px;
  font-weight:800;
  letter-spacing:.3px;

  background:rgba(22,194,173,.08);

  border:1px solid rgba(126,243,228,.18);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 12px rgba(22,194,173,.08);
}

.sidebar-developer-credit .credit-content{
  position:relative;
  z-index:2;

  width:100%;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  text-align:center;
}

/* تصميم وبرمجة */
.sidebar-developer-credit .credit-label{
  display:block !important;

  width:100% !important;
  margin:0 0 3px !important;

  text-align:center !important;

  color:rgba(255,255,255,.55) !important;

  font-size:9px !important;
  font-weight:500 !important;
  line-height:1.3 !important;
}

/* شركة 4B */
.sidebar-developer-credit .credit-company{
  display:block !important;

  width:100% !important;
  margin:0 !important;

  text-align:center !important;

  color:#ffffff !important;

  font-size:12px !important;
  font-weight:700 !important;
  line-height:1.35 !important;
}

/* الفاصل */
.sidebar-developer-credit .credit-divider{
  display:block;

  width:38px;
  height:1px;

  margin:7px auto 6px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(126,243,228,.34),
      transparent
    );
}

/* الرقم */
.sidebar-developer-credit .credit-phone{
  display:block !important;

  width:100% !important;
  margin:0 !important;
  padding:0 !important;

  text-align:center !important;

  color:#7ef3e4 !important;

  font-size:10.5px !important;
  font-weight:700 !important;
  line-height:1.4 !important;

  letter-spacing:.35px !important;

  text-decoration:none !important;

  text-shadow:
    0 0 8px rgba(126,243,228,.12) !important;
}

.sidebar-developer-credit .credit-phone:hover{
  color:#a0fff5 !important;

  text-shadow:
    0 0 12px rgba(126,243,228,.22) !important;
}



/* ==========================================================
   V222 - GLOBAL SMALL 4B CREDIT CARD
   ========================================================== */

/* إخفاء أي كارت قديم */
.sidebar-developer-credit,
.login-developer-credit{
  display:none !important;
}

/* إزالة أي تأثيرات قديمة أسفل اليسار */
.floating-orbs,
.floating-orb,
.orb-a,
.orb-b,
.orb-c{
  display:none !important;
}

/* الكارت العام */
.global-developer-credit{
  position:fixed;

  left:12px;
  bottom:12px;

  z-index:9999;

  width:128px;

  padding:8px 8px 9px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;

  text-align:center;

  border-radius:12px;

  border:1px solid rgba(126,243,228,.14);

  background:
    linear-gradient(
      145deg,
      rgba(17,29,47,.96),
      rgba(8,17,31,.98)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 7px 20px rgba(0,0,0,.28),
    0 0 15px rgba(22,194,173,.07);

  overflow:hidden;
}

/* إضاءة داخلية خفيفة فقط */
.global-developer-credit::before{
  content:"";

  position:absolute;

  width:65px;
  height:65px;

  right:-31px;
  top:-34px;

  border-radius:50%;

  background:
    radial-gradient(
      circle,
      rgba(126,243,228,.12) 0%,
      rgba(22,194,173,.045) 43%,
      transparent 72%
    );

  pointer-events:none;
}

/* شارة 4B */
.global-credit-badge{
  position:relative;
  z-index:2;

  width:25px;
  height:25px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:7px;

  background:rgba(22,194,173,.08);

  border:1px solid rgba(126,243,228,.17);

  color:#8ff7ea;

  font-size:9px;
  font-weight:800;

  box-shadow:
    0 0 9px rgba(22,194,173,.07);
}

.global-credit-content{
  position:relative;
  z-index:2;

  width:100%;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  text-align:center;
}

.global-credit-label{
  width:100%;

  margin:0 0 2px;

  text-align:center;

  color:rgba(255,255,255,.55);

  font-size:8px;
  font-weight:500;
  line-height:1.2;
}

.global-credit-company{
  width:100%;

  margin:0;

  text-align:center;

  color:#fff;

  font-size:10.5px;
  font-weight:700;
  line-height:1.25;
}

.global-credit-divider{
  width:30px;
  height:1px;

  margin:5px auto;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(126,243,228,.30),
      transparent
    );
}

.global-credit-phone{
  display:block;

  width:100%;

  margin:0;
  padding:0;

  text-align:center;

  color:#7ef3e4 !important;

  font-size:9px;
  font-weight:700;
  line-height:1.25;

  letter-spacing:.2px;

  text-decoration:none !important;

  text-shadow:
    0 0 7px rgba(126,243,228,.12);
}

.global-credit-phone:hover{
  color:#a0fff5 !important;

  text-shadow:
    0 0 11px rgba(126,243,228,.24);
}


/* الشاشات الصغيرة */
@media(max-width:700px){

  .global-developer-credit{
    left:7px;
    bottom:7px;

    width:116px;

    padding:7px;
  }

  .global-credit-badge{
    width:23px;
    height:23px;

    font-size:8px;
  }

  .global-credit-company{
    font-size:9.5px;
  }

  .global-credit-phone{
    font-size:8.5px;
  }
}


/* ==========================================================
   V230 - PREMIUM SERVICE WORKFLOW
   Reception > Service > Store > Accounts > Paid
   ========================================================== */

.premium-service-flow{
  direction:rtl;
  width:100%;
  margin:0 0 18px;
  padding:10px;

  display:grid;
  grid-template-columns:repeat(5,minmax(135px,1fr));
  gap:10px;

  border:1px solid rgba(49,91,126,.18);
  border-radius:17px;

  background:
    linear-gradient(
      180deg,
      rgba(9,20,35,.88),
      rgba(7,16,29,.68)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 10px 30px rgba(0,0,0,.12);

  overflow:visible;
}


/* ================= CARD ================= */

.premium-flow-card{
  position:relative;

  height:112px;
  min-height:112px;

  padding:11px 12px;

  display:grid;
  grid-template-columns:48px 1fr;
  grid-template-rows:auto 1fr auto;
  column-gap:9px;

  align-items:center;

  border:1px solid rgba(65,101,139,.55);
  border-radius:14px;

  background:
    linear-gradient(
      145deg,
      rgba(17,32,52,.96),
      rgba(11,25,43,.96)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 8px 18px rgba(0,0,0,.16);

  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;

  overflow:hidden;
}


/* subtle glass light */
.premium-flow-card::before{
  content:"";

  position:absolute;
  right:-26px;
  top:-30px;

  width:95px;
  height:95px;

  border-radius:50%;

  background:
    radial-gradient(
      circle,
      rgba(52,115,182,.10),
      transparent 70%
    );

  pointer-events:none;
}


/* connector arrow */
.premium-flow-card:not(:last-child)::after{
  content:"←";

  position:absolute;

  left:-17px;
  top:50%;

  width:24px;
  height:24px;

  transform:translateY(-50%);

  display:flex;
  align-items:center;
  justify-content:center;

  z-index:8;

  border-radius:50%;

  border:1px solid rgba(102,141,179,.45);

  background:#0a1829;

  color:rgba(184,208,231,.78);

  font-size:12px;
  font-weight:700;

  box-shadow:
    0 0 0 3px rgba(8,19,33,.90);
}


/* ================= ICON ================= */

.premium-flow-icon{
  grid-column:1;
  grid-row:1 / 4;

  position:relative;

  width:46px;
  height:46px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:13px;

  color:#91b8df;

  background:
    linear-gradient(
      145deg,
      rgba(46,82,124,.22),
      rgba(21,45,75,.16)
    );

  border:1px solid rgba(93,135,179,.20);
}

.premium-flow-icon svg{
  width:27px;
  height:27px;

  stroke:currentColor;
  stroke-width:1.8;
  fill:none;

  stroke-linecap:round;
  stroke-linejoin:round;
}


/* ================= NUMBER ================= */

.premium-flow-step{
  position:absolute;

  top:8px;
  left:8px;

  width:22px;
  height:22px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;

  background:#172b45;

  border:1px solid rgba(111,149,190,.28);

  color:#d6e5f5;

  font-size:9px;
  font-weight:800;

  box-shadow:
    0 3px 8px rgba(0,0,0,.22);
}


/* ================= TEXT ================= */

.premium-flow-info{
  grid-column:2;
  grid-row:1 / 3;

  min-width:0;

  display:flex;
  flex-direction:column;
  justify-content:center;

  text-align:right;
}

.premium-flow-title{
  color:#f4f8fc;

  font-size:13px;
  font-weight:800;
  line-height:1.35;

  white-space:nowrap;
}

.premium-flow-status{
  margin-top:3px;

  color:#829bb4;

  font-size:8.5px;
  font-weight:500;
}


/* ================= COUNT ================= */

.premium-flow-count{
  grid-column:2;
  grid-row:3;

  justify-self:start;

  min-width:68px;

  padding:4px 9px;

  border-radius:999px;

  border:1px solid rgba(85,124,162,.28);

  background:rgba(20,42,68,.72);

  text-align:center;

  color:#aabed1;

  font-size:9px;
  font-weight:700;
}


/* ==========================================================
   COMPLETED STAGES
   ========================================================== */

.premium-flow-card.completed{
  border-color:rgba(23,201,181,.55);

  background:
    linear-gradient(
      145deg,
      rgba(12,51,58,.72),
      rgba(9,31,43,.95)
    );
}

.premium-flow-card.completed .premium-flow-icon{
  color:#54e8d7;

  border-color:rgba(23,201,181,.27);

  background:rgba(23,201,181,.08);
}

.premium-flow-card.completed .premium-flow-step{
  color:#052722;
  background:#27d5c0;
  border-color:#27d5c0;
}

.premium-flow-card.completed .premium-flow-count{
  color:#62eadb;

  border-color:rgba(23,201,181,.40);

  background:rgba(23,201,181,.08);
}


/* check mark */

.premium-flow-card.completed .premium-flow-icon::after{
  content:"✓";

  position:absolute;

  right:-5px;
  bottom:-5px;

  width:18px;
  height:18px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;

  color:#062923;
  background:#2bdbc5;

  font-size:10px;
  font-weight:900;

  border:2px solid #0b1b2d;
}


/* ==========================================================
   ACTIVE STAGE
   ========================================================== */

.premium-flow-card.active{
  transform:translateY(-2px);

  border-color:#22d6c2;

  background:
    linear-gradient(
      145deg,
      rgba(8,67,72,.94),
      rgba(8,37,49,.98)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 0 0 1px rgba(34,214,194,.20),
    0 8px 24px rgba(0,0,0,.22),
    0 0 21px rgba(34,214,194,.17);
}

.premium-flow-card.active::before{
  background:
    radial-gradient(
      circle,
      rgba(41,230,207,.17),
      transparent 70%
    );
}

.premium-flow-card.active .premium-flow-icon{
  color:#83fff0;

  background:
    linear-gradient(
      145deg,
      rgba(32,211,189,.16),
      rgba(23,105,112,.12)
    );

  border-color:rgba(47,224,204,.45);

  box-shadow:
    0 0 15px rgba(34,214,194,.12);
}

.premium-flow-card.active .premium-flow-step{
  color:#052722;

  background:#29dec8;
  border-color:#29dec8;

  box-shadow:
    0 0 12px rgba(41,222,200,.32);
}

.premium-flow-card.active .premium-flow-title{
  color:#ffffff;
}

.premium-flow-card.active .premium-flow-status{
  color:#80dacf;
}

.premium-flow-card.active .premium-flow-count{
  color:#78f3e5;

  border-color:rgba(43,222,201,.55);

  background:rgba(19,190,171,.10);

  box-shadow:
    inset 0 0 10px rgba(27,208,187,.05);
}


/* connector after completed/current */

.premium-flow-card.completed:not(:last-child)::after,
.premium-flow-card.active:not(:last-child)::after{
  color:#74f3e3;

  border-color:rgba(40,215,194,.55);

  box-shadow:
    0 0 0 3px rgba(8,19,33,.92),
    0 0 12px rgba(34,214,194,.14);
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media(max-width:1100px){

  .premium-service-flow{
    overflow-x:auto;

    grid-template-columns:repeat(5,165px);

    scrollbar-width:thin;
  }

}


@media(max-width:700px){

  .premium-service-flow{
    padding:8px;

    grid-template-columns:repeat(5,150px);
  }

  .premium-flow-card{
    height:104px;
    min-height:104px;

    grid-template-columns:40px 1fr;
  }

  .premium-flow-icon{
    width:40px;
    height:40px;
  }

  .premium-flow-icon svg{
    width:23px;
    height:23px;
  }

}


/* ==========================================================
   V231 - COMPACT WORKFLOW CARDS
   ========================================================== */

.premium-service-flow{
  padding:8px !important;
  gap:8px !important;
  grid-template-columns:repeat(5,minmax(122px,1fr)) !important;
  border-radius:15px !important;
}

.premium-flow-card{
  height:96px !important;
  min-height:96px !important;

  padding:9px 10px !important;

  grid-template-columns:40px 1fr !important;
  column-gap:8px !important;

  border-radius:12px !important;
}

.premium-flow-icon{
  width:40px !important;
  height:40px !important;
  border-radius:11px !important;
}

.premium-flow-icon svg{
  width:23px !important;
  height:23px !important;
}

.premium-flow-step{
  top:7px !important;
  left:7px !important;

  width:19px !important;
  height:19px !important;

  font-size:8px !important;
}

.premium-flow-title{
  font-size:12px !important;
}

.premium-flow-status{
  margin-top:2px !important;
  font-size:8px !important;
}

.premium-flow-count{
  min-width:58px !important;
  padding:3px 8px !important;
  font-size:8.5px !important;
}

.premium-flow-card:not(:last-child)::after{
  left:-14px !important;
  width:20px !important;
  height:20px !important;
  font-size:11px !important;
}

@media(max-width:1100px){
  .premium-service-flow{
    grid-template-columns:repeat(5,145px) !important;
  }
}

@media(max-width:700px){
  .premium-service-flow{
    grid-template-columns:repeat(5,136px) !important;
    padding:7px !important;
    gap:7px !important;
  }

  .premium-flow-card{
    height:90px !important;
    min-height:90px !important;
    grid-template-columns:36px 1fr !important;
  }

  .premium-flow-icon{
    width:36px !important;
    height:36px !important;
  }

  .premium-flow-icon svg{
    width:20px !important;
    height:20px !important;
  }

  .premium-flow-title{
    font-size:11px !important;
  }

  .premium-flow-status{
    font-size:7.5px !important;
  }

  .premium-flow-count{
    font-size:8px !important;
  }
}


/* ==========================================================
   V232 - SINGLE WORKFLOW + PAID GLOW
   ========================================================== */

/* إخفاء الصف القديم بالكامل */
.legacy-service-flow-hidden{
  display:none !important;
}


/* تم الدفع لو فيه عملية مدفوعة */
.premium-flow-card[data-flow-stage="paid"].paid-has-items{
  border-color:#23dbc5 !important;

  background:
    linear-gradient(
      145deg,
      rgba(9,67,69,.94),
      rgba(7,35,47,.98)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 0 0 1px rgba(35,219,197,.18),
    0 8px 22px rgba(0,0,0,.20),
    0 0 20px rgba(35,219,197,.18) !important;
}

.premium-flow-card[data-flow-stage="paid"].paid-has-items
.premium-flow-icon{
  color:#81fff0 !important;

  border-color:rgba(45,225,205,.38) !important;

  background:rgba(28,207,187,.11) !important;

  box-shadow:
    0 0 14px rgba(35,219,197,.12) !important;
}

.premium-flow-card[data-flow-stage="paid"].paid-has-items
.premium-flow-step{
  color:#052722 !important;

  background:#2adbc6 !important;
  border-color:#2adbc6 !important;

  box-shadow:
    0 0 11px rgba(42,219,198,.30) !important;
}

.premium-flow-card[data-flow-stage="paid"].paid-has-items
.premium-flow-count{
  color:#7ff5e7 !important;

  border-color:rgba(42,219,198,.50) !important;

  background:rgba(42,219,198,.09) !important;
}


/* تصغير بسيط إضافي للصف كله */
.premium-service-flow{
  margin-bottom:12px !important;
  padding:7px !important;
  gap:7px !important;
}

.premium-flow-card{
  height:88px !important;
  min-height:88px !important;

  padding:8px 9px !important;

  grid-template-columns:36px 1fr !important;

  column-gap:7px !important;
}

.premium-flow-icon{
  width:36px !important;
  height:36px !important;

  border-radius:10px !important;
}

.premium-flow-icon svg{
  width:21px !important;
  height:21px !important;
}

.premium-flow-title{
  font-size:11px !important;
}

.premium-flow-status{
  font-size:7.5px !important;
}

.premium-flow-count{
  min-width:54px !important;

  padding:3px 7px !important;

  font-size:8px !important;
}

.premium-flow-step{
  width:18px !important;
  height:18px !important;

  font-size:7.5px !important;
}



/* ==========================================================
   V240 - EXECUTIVE GLASS WORK ORDERS
   ========================================================== */

#orders .orders-grid{
  display:grid !important;
  grid-template-columns:minmax(305px,350px) minmax(0,1fr) !important;
  gap:16px !important;
  align-items:start;
}


/* ==========================================================
   LEFT PANEL
   ========================================================== */

.executive-orders-panel{
  position:sticky;
  top:12px;

  max-height:calc(100vh - 110px);
  overflow:hidden;

  padding:14px !important;

  border-radius:18px !important;

  border:1px solid rgba(55,109,155,.34) !important;

  background:
    linear-gradient(
      160deg,
      rgba(9,27,45,.98),
      rgba(7,19,34,.98)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 18px 38px rgba(0,0,0,.22) !important;
}


.exec-orders-title{
  display:flex;
  align-items:center;
  justify-content:space-between;

  margin-bottom:12px;
}


.exec-orders-title>div{
  display:flex;
  align-items:center;
  gap:9px;
}


.exec-title-icon{
  width:34px;
  height:34px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:10px;

  color:#42e7d2;

  background:rgba(29,209,187,.08);

  border:1px solid rgba(45,222,201,.18);
}


.exec-orders-title h2{
  margin:0;

  color:#fff;

  font-size:15px;
  font-weight:800;
}


.exec-orders-title small{
  display:block;

  margin-top:2px;

  color:#778da5;

  font-size:8.5px;
}


.exec-orders-count{
  min-width:29px;
  height:29px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:9px;

  background:#172c46;

  color:#a8c1da;

  font-size:10px;
  font-weight:800;
}


/* search */

.exec-order-search{
  height:45px;

  display:flex;
  align-items:center;

  padding:0 12px;

  border-radius:12px;

  border:1px solid rgba(68,127,181,.52);

  background:
    rgba(9,28,48,.78);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025);
}


.exec-order-search:focus-within{
  border-color:#24cfbb;

  box-shadow:
    0 0 0 3px rgba(36,207,187,.06),
    0 0 15px rgba(36,207,187,.06);
}


.exec-order-search>span{
  color:#8fb5da;

  font-size:22px;
  margin-left:7px;
}


.exec-order-search input{
  width:100%;
  height:42px;

  border:0 !important;
  outline:0 !important;

  background:transparent !important;

  color:#dfeaf5;

  font-size:10.5px;
}


/* filters */

.exec-order-filters{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px;

  margin:10px 0;
}


.exec-filter{
  min-width:0;
  height:34px;

  padding:0 4px;

  border-radius:9px;

  border:1px solid rgba(65,109,151,.40);

  background:#10243b;

  color:#a6bbcf;

  font-size:8.5px;
  font-weight:700;

  cursor:pointer;
}


.exec-filter.active{
  color:#052a25;

  border-color:#31dbc5;

  background:
    linear-gradient(
      180deg,
      #45e3cf,
      #1dc0ad
    );

  box-shadow:
    0 0 14px rgba(33,207,186,.16);
}


/* secondary customer search */

.exec-customer-search{
  margin:0 0 9px !important;
  padding:7px !important;

  border-radius:10px;

  background:rgba(7,20,35,.35);
}


.exec-customer-search small{
  font-size:8px;
  color:#70869e;
}


.exec-customer-search input{
  height:34px !important;

  font-size:9px !important;
}


/* list */

.executive-orders-list{
  max-height:calc(100vh - 350px);

  overflow:auto;

  padding:2px 2px 10px;

  scrollbar-width:thin;
}


/* ==========================================================
   ORDER CARDS
   ========================================================== */

.executive-order-card{
  position:relative;

  margin:0 0 9px !important;
  padding:11px 12px !important;

  display:block !important;

  border-radius:14px !important;

  border:1px solid rgba(68,108,148,.46) !important;

  background:
    linear-gradient(
      145deg,
      rgba(15,34,56,.96),
      rgba(8,23,40,.97)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 7px 16px rgba(0,0,0,.15) !important;

  cursor:pointer;

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}


.executive-order-card:hover{
  transform:translateY(-1px);

  border-color:rgba(68,199,184,.55) !important;
}


.executive-order-card.active{
  border-color:#31ddc7 !important;

  background:
    linear-gradient(
      145deg,
      rgba(8,66,70,.88),
      rgba(8,33,47,.98)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 0 0 1px rgba(49,221,199,.16),
    0 0 18px rgba(49,221,199,.13),
    0 9px 20px rgba(0,0,0,.20) !important;
}


.executive-order-card.order-pending:not(.active){
  border-color:rgba(171,51,77,.68) !important;
}


.executive-order-card.order-completed:not(.active){
  border-color:rgba(36,190,165,.48) !important;
}


/* card top */

.exec-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:8px;
}


.exec-order-number{
  display:flex;
  align-items:center;
  gap:7px;

  min-width:0;
}


.exec-order-number b{
  direction:ltr;

  color:#f0f6fb !important;

  font-size:11.5px !important;
  font-weight:800 !important;

  white-space:nowrap;
}


.exec-mb-mark{
  width:26px;
  height:26px;

  flex:0 0 26px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;

  color:#9ac8ee;

  background:
    radial-gradient(
      circle,
      rgba(72,128,177,.23),
      rgba(23,48,76,.45)
    );

  border:1px solid rgba(97,143,184,.25);
}


/* stage badges */

.exec-stage-badge{
  display:flex;
  align-items:center;
  gap:5px;

  padding:5px 8px;

  border-radius:999px;

  font-size:7.8px;
  font-weight:800;

  white-space:nowrap;
}


.exec-stage-badge i{
  width:6px;
  height:6px;

  border-radius:50%;

  background:currentColor;

  box-shadow:0 0 7px currentColor;
}


.exec-stage-badge.stage-reception{
  color:#ff7791;

  background:rgba(177,45,72,.16);

  border:1px solid rgba(226,70,100,.38);
}


.exec-stage-badge.stage-service,
.exec-stage-badge.stage-store{
  color:#e9bd65;

  background:rgba(185,133,39,.11);

  border:1px solid rgba(208,154,49,.28);
}


.exec-stage-badge.stage-accounts{
  color:#84baff;

  background:rgba(58,112,177,.13);

  border:1px solid rgba(74,135,205,.30);
}


.exec-stage-badge.stage-done{
  color:#58ebd6;

  background:rgba(30,192,169,.11);

  border:1px solid rgba(43,210,187,.32);
}


/* vehicle */

.exec-card-vehicle{
  margin:8px 0 6px;

  padding-right:33px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:8px;
}


.exec-card-vehicle strong{
  color:#cbdbea;

  font-size:9.5px;
  font-weight:600;
}


.exec-card-vehicle span{
  color:#91a9bf;

  font-size:8.5px;
}


.exec-card-vehicle i{
  margin-right:3px;
  font-style:normal;

  color:#6e9cca;
}


/* meta */

.exec-card-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:8px;

  padding-right:33px;
}


.exec-card-customer{
  min-width:0;

  display:flex;
  align-items:center;
  gap:5px;

  color:#95abc0;
}


.exec-card-customer b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;

  color:#b9cada !important;

  font-size:8.5px !important;
  font-weight:600 !important;
}


.exec-card-status{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;

  color:#7089a2;

  font-size:7.5px;
}


/* footer */

.exec-card-footer{
  margin-top:8px;
  padding-top:7px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  border-top:1px solid rgba(100,130,158,.10);

  color:#70879d;

  font-size:7.5px;
}


.exec-open-arrow{
  color:#a8c8e6;

  font-size:18px;
  line-height:10px;
}


/* ==========================================================
   RIGHT EXECUTIVE HEADER
   ========================================================== */

.executive-wo-head{
  position:relative;

  margin-bottom:14px !important;

  padding:15px !important;

  border-radius:18px !important;

  border:1px solid rgba(44,116,168,.50) !important;

  background:
    linear-gradient(
      145deg,
      rgba(8,31,52,.98),
      rgba(7,22,39,.98)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 14px 30px rgba(0,0,0,.18),
    0 0 22px rgba(27,177,177,.06) !important;

  overflow:hidden;
}


.executive-wo-head::before{
  content:"";

  position:absolute;

  width:260px;
  height:140px;

  top:-105px;
  right:-30px;

  border-radius:50%;

  background:
    radial-gradient(
      ellipse,
      rgba(45,224,204,.17),
      transparent 70%
    );

  pointer-events:none;
}


.exec-wo-top{
  position:relative;
  z-index:2;

  display:grid;
  grid-template-columns:90px minmax(0,1fr) auto;

  gap:14px;

  align-items:center;
}


.exec-wo-brand{
  width:90px;
  height:57px;

  padding:5px;

  border-radius:12px;

  background:#03070b;
}


.exec-wo-brand img{
  width:100%;
  height:100%;

  object-fit:cover;

  border-radius:8px;
}


.exec-wo-identity{
  text-align:right;
}


.exec-wo-identity small{
  color:#8aa1b8;

  font-size:9px;
}


.exec-wo-identity h2{
  direction:ltr;

  margin:2px 0 3px !important;

  color:#fff !important;

  font-size:22px !important;
  font-weight:800 !important;
}


.exec-wo-identity p{
  margin:0 !important;

  color:#839ab1 !important;

  font-size:9px !important;
}


.executive-wo-head #woStatus{
  padding:8px 13px !important;

  border-radius:999px !important;

  font-size:9px !important;
  font-weight:800 !important;
}


.executive-wo-head #woStatus.order-pending{
  color:#ff8098 !important;

  background:rgba(178,43,70,.18) !important;

  border:1px solid rgba(225,66,98,.43) !important;
}


.executive-wo-head #woStatus.order-completed{
  color:#64f1dc !important;

  background:rgba(31,194,169,.12) !important;

  border:1px solid rgba(44,212,188,.40) !important;
}


/* details */

.exec-wo-details{
  position:relative;
  z-index:2;

  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;

  margin-top:13px;
}


.exec-detail-card{
  min-height:67px;

  padding:10px;

  display:flex;
  align-items:center;
  gap:9px;

  border-radius:12px;

  border:1px solid rgba(61,113,158,.38);

  background:
    linear-gradient(
      145deg,
      rgba(19,45,72,.62),
      rgba(12,30,50,.76)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02);
}


.exec-detail-icon{
  width:30px;
  height:30px;

  flex:0 0 30px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:9px;

  color:#74b5ed;

  background:rgba(59,118,173,.12);
}


.exec-detail-card small,
.exec-detail-card b,
.exec-detail-card span{
  display:block;
}


.exec-detail-card small{
  color:#718ba3;

  font-size:7.5px;
}


.exec-detail-card b{
  margin:2px 0;

  color:#e1eaf3;

  font-size:9.5px;
}


.exec-detail-card div>span{
  color:#90a7bc;

  font-size:8px;
}


/* progress */

.exec-order-progress{
  position:relative;
  z-index:2;

  margin-top:11px;
  padding:11px 13px 7px;

  display:flex;
  align-items:center;

  border-radius:12px;

  border:1px solid rgba(57,103,145,.30);

  background:rgba(5,18,32,.48);
}


.exec-progress-step{
  min-width:48px;

  display:flex;
  flex-direction:column;
  align-items:center;

  gap:4px;

  color:#607992;
}


.exec-progress-step i{
  width:27px;
  height:27px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;

  border:1px solid rgba(102,139,175,.42);

  background:#10233a;

  color:#7892aa;

  font-size:9px;
  font-style:normal;
  font-weight:800;

  transition:.2s ease;
}


.exec-progress-step b{
  color:inherit;

  font-size:7.5px;
}


.exec-progress-line{
  flex:1;

  height:1px;

  margin:0 4px 14px;

  background:
    repeating-linear-gradient(
      90deg,
      rgba(89,124,158,.40) 0 5px,
      transparent 5px 9px
    );
}


.exec-progress-step.done{
  color:#48d8c4;
}


.exec-progress-step.done i{
  color:#082f2a;

  background:#39d7c1;

  border-color:#39d7c1;
}


.exec-progress-step.active{
  color:#81f8e9;
}


.exec-progress-step.active i{
  color:#05332d;

  background:#52ead7;

  border-color:#52ead7;

  box-shadow:
    0 0 0 5px rgba(50,219,198,.07),
    0 0 16px rgba(50,219,198,.28);
}


/* old cycle replaced by executive progress */
#orders>.orders-grid .cycle{
  display:none !important;
}


/* empty */
.exec-orders-empty{
  padding:28px 10px;

  text-align:center;

  color:#6f879e;

  font-size:10px;
}


/* responsive */

@media(max-width:1050px){

  #orders .orders-grid{
    grid-template-columns:285px minmax(0,1fr) !important;
  }

  .exec-wo-top{
    grid-template-columns:70px minmax(0,1fr) auto;
  }

  .exec-wo-brand{
    width:70px;
    height:50px;
  }

}


@media(max-width:800px){

  #orders .orders-grid{
    grid-template-columns:1fr !important;
  }

  .executive-orders-panel{
    position:relative;
    top:auto;

    max-height:none;
  }

  .executive-orders-list{
    max-height:430px;
  }

  .exec-wo-details{
    grid-template-columns:1fr;
  }

  .exec-wo-top{
    grid-template-columns:60px 1fr;
  }

  .executive-wo-head #woStatus{
    grid-column:1 / -1;
    justify-self:start;
  }

}


/* ==========================================================
   V261 - PREMIUM UNIFIED SIDEBAR CARDS
   ========================================================== */

#side nav{
  display:flex !important;
  flex-direction:column !important;
  gap:7px !important;

  padding:8px 9px 12px !important;
}


/* كل الكروت نفس المقاس */
#side nav .nav{
  position:relative !important;

  width:100% !important;
  height:48px !important;
  min-height:48px !important;

  margin:0 !important;
  padding:0 34px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  border-radius:12px !important;

  border:1px solid rgba(77,122,170,.45) !important;

  background:
    linear-gradient(
      145deg,
      rgba(19,43,70,.98),
      rgba(13,32,54,.98)
    ) !important;

  color:#edf5fb !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 7px 16px rgba(0,0,0,.16) !important;

  overflow:hidden !important;

  /* إخفاء الرموز النصية القديمة خارج span */
  font-size:0 !important;

  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease !important;
}


/* النص في المنتصف تماماً */
#side nav .nav > span{
  display:block !important;

  width:100% !important;

  margin:0 !important;
  padding:0 !important;

  text-align:center !important;

  color:inherit !important;

  font-size:12px !important;
  font-weight:800 !important;
  line-height:1.15 !important;

  white-space:normal !important;
}


/* Hover هادئ */
#side nav .nav:hover{
  transform:translateY(-1px) !important;

  border-color:rgba(55,213,193,.55) !important;

  background:
    linear-gradient(
      145deg,
      rgba(20,54,79,.98),
      rgba(13,39,61,.98)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 9px 18px rgba(0,0,0,.18),
    0 0 14px rgba(43,210,190,.06) !important;
}


/* الكارت النشط */
#side nav .nav.active{
  border-color:#32dbc5 !important;

  background:
    linear-gradient(
      145deg,
      #35d8c3 0%,
      #1ab5a4 100%
    ) !important;

  color:#062823 !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 0 0 1px rgba(50,219,197,.10),
    0 8px 18px rgba(0,0,0,.20),
    0 0 16px rgba(50,219,197,.16) !important;
}


/* العدادات الحمراء */
#side nav .nav .nav-badge{
  position:absolute !important;

  left:8px !important;
  right:auto !important;
  top:50% !important;

  transform:translateY(-50%) !important;

  min-width:18px !important;
  width:auto !important;
  height:18px !important;

  padding:0 5px !important;
  margin:0 !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  border-radius:999px !important;

  background:#ff6177 !important;
  color:#fff !important;

  font-size:9px !important;
  font-weight:800 !important;
  line-height:1 !important;

  box-shadow:
    0 0 10px rgba(255,97,119,.22) !important;
}


/* لو العداد مخفي */
#side nav .nav .nav-badge.hidden{
  display:none !important;
}


/* تقليل الزحمة في العمود */
#side{
  --sidebar-card-height:48px;
}


/* الشاشات الصغيرة */
@media(max-width:800px){

  #side nav{
    gap:6px !important;
  }

  #side nav .nav{
    height:45px !important;
    min-height:45px !important;

    border-radius:11px !important;
  }

  #side nav .nav > span{
    font-size:11px !important;
  }
}



/* ==========================================================
   V262 - TECHNICAL SUPPORT CARD
   ========================================================== */

#side nav .support-nav-card{
  position:relative;

  width:100%;
  height:48px;
  min-height:48px;

  margin:0;
  padding:0 34px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:12px;

  border:1px solid rgba(75,126,173,.45);

  background:
    linear-gradient(
      145deg,
      rgba(18,42,68,.98),
      rgba(12,31,52,.98)
    );

  color:#edf5fb;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 7px 16px rgba(0,0,0,.16);

  cursor:pointer;

  transition:.18s ease;
}

#side nav .support-nav-card > span{
  width:100%;

  text-align:center;

  font-size:12px;
  font-weight:800;
  line-height:1.15;

  color:inherit;
}

#side nav .support-nav-card:hover{
  transform:translateY(-1px);

  border-color:#32dbc5;

  color:#7ff5e6;

  background:
    linear-gradient(
      145deg,
      rgba(16,55,76,.98),
      rgba(10,40,59,.98)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 9px 18px rgba(0,0,0,.18),
    0 0 16px rgba(50,219,197,.10);
}

@media(max-width:800px){

  #side nav .support-nav-card{
    height:45px;
    min-height:45px;
  }

  #side nav .support-nav-card > span{
    font-size:11px;
  }

}


/* ==========================================================
   V270 - EXECUTIVE RECEPTION DESK
   ========================================================== */

#receptionDesk.reception-executive-page{
  position:relative;
}


/* ==========================================================
   EXECUTIVE HEADER
   ========================================================== */

#receptionDesk .reception-exec-header{
  position:relative;

  margin:0 0 12px;
  padding:17px 18px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;

  border-radius:18px;

  border:1px solid rgba(46,126,174,.48);

  background:
    linear-gradient(
      145deg,
      rgba(8,34,55,.98),
      rgba(7,23,40,.98)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 14px 30px rgba(0,0,0,.20),
    0 0 24px rgba(28,193,180,.055);

  overflow:hidden;
}


#receptionDesk .reception-exec-header::before{
  content:"";

  position:absolute;

  width:260px;
  height:170px;

  top:-125px;
  right:-45px;

  border-radius:50%;

  background:
    radial-gradient(
      ellipse,
      rgba(42,223,200,.16),
      transparent 70%
    );

  pointer-events:none;
}


#receptionDesk .reception-exec-main{
  position:relative;
  z-index:2;

  display:flex;
  align-items:center;
  gap:13px;
}


#receptionDesk .reception-exec-icon{
  width:52px;
  height:52px;

  flex:0 0 52px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:14px;

  border:1px solid rgba(47,220,198,.34);

  background:
    linear-gradient(
      145deg,
      rgba(36,205,186,.13),
      rgba(17,89,98,.10)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 15px rgba(44,215,194,.08);
}


#receptionDesk .reception-exec-icon span{
  color:#66f0df;

  font-size:16px;
  font-weight:900;
}


#receptionDesk .reception-exec-main small{
  color:#67bbae;

  font-size:8.5px;
  font-weight:700;
}


#receptionDesk .reception-exec-main h2{
  margin:2px 0 4px;

  color:#fff;

  font-size:20px;
  font-weight:900;
}


#receptionDesk .reception-exec-main p{
  max-width:600px;

  margin:0;

  color:#829bb3;

  font-size:9px;
  line-height:1.7;
}


/* new order */

#receptionDesk .reception-exec-new{
  position:relative;
  z-index:2;

  min-width:150px;
  height:43px;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;

  border-radius:12px;

  border:1px solid #34ddc8;

  background:
    linear-gradient(
      180deg,
      #3ee3d0,
      #1ab8a7
    );

  color:#052b26;

  font-size:10.5px;
  font-weight:900;

  cursor:pointer;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 8px 20px rgba(28,194,175,.16);

  transition:.18s ease;
}


#receptionDesk .reception-exec-new:hover{
  transform:translateY(-1px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 10px 22px rgba(28,194,175,.22),
    0 0 18px rgba(46,221,201,.12);
}


#receptionDesk .reception-exec-new>span{
  font-size:16px;
  line-height:1;
}


/* ==========================================================
   QUICK STATS
   ========================================================== */

#receptionDesk .reception-exec-stats{
  margin:0 0 12px;

  display:grid;

  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap:8px;
}


#receptionDesk .reception-exec-stat{
  min-height:72px;

  padding:10px 12px;

  display:flex;
  align-items:center;
  gap:10px;

  border-radius:13px;

  border:1px solid rgba(68,112,154,.35);

  background:
    linear-gradient(
      145deg,
      rgba(18,40,65,.92),
      rgba(11,29,49,.95)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 8px 17px rgba(0,0,0,.13);
}


#receptionDesk .reception-exec-stat.primary-stat{
  border-color:rgba(45,219,198,.47);

  background:
    linear-gradient(
      145deg,
      rgba(10,65,69,.87),
      rgba(9,34,47,.97)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 15px rgba(43,215,195,.07);
}


#receptionDesk .reception-exec-stat .stat-icon{
  width:35px;
  height:35px;

  flex:0 0 35px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:10px;

  border:1px solid rgba(84,139,188,.24);

  background:rgba(65,117,166,.10);

  color:#8dc4ef;

  font-size:14px;
}


#receptionDesk .primary-stat .stat-icon{
  border-color:rgba(43,219,198,.30);

  background:rgba(43,219,198,.08);

  color:#62ebdb;
}


#receptionDesk .reception-exec-stat small{
  display:block;

  margin-bottom:2px;

  color:#748da5;

  font-size:7.5px;
}


#receptionDesk .reception-exec-stat b{
  color:#f4f8fb;

  font-size:16px;
  font-weight:900;
}


#receptionDesk .primary-stat b{
  color:#64efde;
}


#receptionDesk .live-stat .live-dot{
  width:10px;
  height:10px;

  flex:0 0 10px;

  border-radius:50%;

  background:#38dbc5;

  box-shadow:
    0 0 0 5px rgba(56,219,197,.07),
    0 0 12px rgba(56,219,197,.28);
}


#receptionDesk .live-stat b{
  font-size:11px;
  color:#78e8d9;
}


/* ==========================================================
   OLD KPI CARDS
   ========================================================== */

#receptionDesk #receptionKpis{
  display:grid !important;

  grid-template-columns:
    repeat(3,minmax(0,1fr)) !important;

  gap:8px !important;

  margin:0 0 12px !important;
}


#receptionDesk #receptionKpis>div{
  min-height:64px !important;

  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;

  padding:8px !important;

  text-align:center !important;

  border-radius:13px !important;

  border:1px solid rgba(69,112,153,.32) !important;

  background:
    linear-gradient(
      145deg,
      rgba(17,38,61,.92),
      rgba(11,28,47,.94)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 7px 15px rgba(0,0,0,.12) !important;
}


#receptionDesk #receptionKpis>div>b{
  color:#fff !important;

  font-size:17px !important;
  font-weight:900 !important;
}


#receptionDesk #receptionKpis>div>small{
  margin-top:3px;

  color:#748ca4 !important;

  font-size:8px !important;
}


/* ==========================================================
   RECEPTION QUEUE
   ========================================================== */

#receptionDesk #receptionQueue{
  display:grid !important;

  grid-template-columns:
    repeat(2,minmax(0,1fr)) !important;

  gap:10px !important;
}


#receptionDesk #receptionQueue .role-order-card{
  position:relative;

  min-height:175px;

  margin:0 !important;
  padding:13px !important;

  border-radius:15px !important;

  border:1px solid rgba(72,113,151,.44) !important;

  background:
    linear-gradient(
      145deg,
      rgba(14,34,56,.97),
      rgba(8,23,40,.98)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 9px 19px rgba(0,0,0,.16) !important;

  overflow:hidden;

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}


#receptionDesk #receptionQueue .role-order-card:hover{
  transform:translateY(-2px);

  border-color:rgba(48,216,195,.60) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 11px 22px rgba(0,0,0,.18),
    0 0 17px rgba(48,216,195,.07) !important;
}


/* pending left accent */

#receptionDesk #receptionQueue
.role-order-card.order-pending::before{
  content:"";

  position:absolute;

  right:0;
  top:12px;
  bottom:12px;

  width:3px;

  border-radius:3px 0 0 3px;

  background:#e94b69;

  box-shadow:0 0 11px rgba(233,75,105,.20);
}


/* completed accent */

#receptionDesk #receptionQueue
.role-order-card.order-completed::before{
  content:"";

  position:absolute;

  right:0;
  top:12px;
  bottom:12px;

  width:3px;

  background:#35d9c2;

  box-shadow:0 0 11px rgba(53,217,194,.18);
}


/* top */

#receptionDesk .role-order-top{
  display:flex !important;

  align-items:flex-start !important;
  justify-content:space-between !important;

  gap:10px !important;
}


#receptionDesk .role-order-top b{
  direction:ltr;

  color:#f4f7fb !important;

  font-size:11px !important;
  font-weight:900 !important;
}


#receptionDesk .role-order-top small{
  display:block;

  margin-top:4px;

  color:#8da3b8 !important;

  font-size:8px !important;
}


#receptionDesk .role-status{
  padding:5px 8px !important;

  border-radius:999px !important;

  color:#ff7892 !important;

  background:rgba(186,48,76,.14) !important;

  border:1px solid rgba(220,71,100,.34) !important;

  font-size:7.5px !important;
  font-weight:800 !important;

  white-space:nowrap;
}


/* body */

#receptionDesk .role-order-body{
  margin:11px 0 !important;

  display:grid !important;

  grid-template-columns:
    repeat(2,minmax(0,1fr)) !important;

  gap:7px !important;
}


#receptionDesk .role-order-body>div{
  min-height:58px;

  padding:8px 9px;

  border-radius:10px;

  border:1px solid rgba(66,105,143,.25);

  background:rgba(9,25,42,.55);
}


#receptionDesk .role-order-body small{
  display:block;

  color:#68839c !important;

  font-size:7px !important;
}


#receptionDesk .role-order-body b{
  display:block;

  margin:2px 0;

  color:#dfe9f2 !important;

  font-size:8.5px !important;
}


#receptionDesk .role-order-body span{
  color:#91a8bd !important;

  font-size:7.5px !important;
}


/* footer */

#receptionDesk .role-order-foot{
  padding-top:9px !important;

  display:flex !important;

  align-items:center !important;
  justify-content:space-between !important;

  border-top:
    1px solid rgba(77,111,142,.14) !important;
}


#receptionDesk .role-order-foot>span{
  color:#61ddcd !important;

  font-size:8px !important;
  font-weight:800 !important;
}


#receptionDesk
.role-card-actions
.open-role-order{
  min-width:83px !important;
  height:31px !important;

  border-radius:9px !important;

  border:
    1px solid rgba(43,216,195,.42) !important;

  background:
    rgba(34,190,174,.08) !important;

  color:#68e8d8 !important;

  font-size:8px !important;
  font-weight:800 !important;
}


#receptionDesk
.role-card-actions
.open-role-order:hover{
  background:#28cdb8 !important;

  color:#062c27 !important;
}


/* ==========================================================
   LIVE TRACKING
   ========================================================== */

#receptionDesk #receptionPipelineCars{
  margin-top:10px;

  border-radius:14px;

  border:
    1px solid rgba(61,102,141,.28);

  background:
    rgba(8,22,38,.56);

  overflow:hidden;
}


#receptionDesk #receptionPipelineCars
.tracking-title{
  padding:9px 12px;

  color:#809ab2;

  font-size:8px;

  border-bottom:
    1px solid rgba(67,105,140,.22);
}


#receptionDesk #receptionPipelineCars
.tracking-car{
  min-height:39px;

  padding:7px 11px;

  display:grid;

  grid-template-columns:
    1.3fr 1fr 1fr .7fr;

  align-items:center;

  border-bottom:
    1px solid rgba(66,101,135,.14);
}


#receptionDesk #receptionPipelineCars
.tracking-car:last-child{
  border-bottom:0;
}


#receptionDesk #receptionPipelineCars
.tracking-car b{
  direction:ltr;

  color:#e8eff6;

  font-size:8px;
}


#receptionDesk #receptionPipelineCars
.tracking-car span{
  color:#91a5b8;

  font-size:7.5px;
}


#receptionDesk #receptionPipelineCars
.tracking-car strong{
  font-size:7.5px;
  color:#52dec9;
}


/* ==========================================================
   EMPTY STATE
   ========================================================== */

#receptionDesk .role-empty{
  grid-column:1 / -1;

  min-height:125px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:15px;

  border:
    1px dashed rgba(80,123,163,.32);

  background:
    rgba(8,23,39,.38);

  color:#718ca4;

  font-size:9px;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media(max-width:1050px){

  #receptionDesk .reception-exec-stats{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  #receptionDesk #receptionQueue{
    grid-template-columns:1fr !important;
  }

}


@media(max-width:700px){

  #receptionDesk .reception-exec-header{
    align-items:stretch;
    flex-direction:column;

    padding:14px;
  }

  #receptionDesk .reception-exec-new{
    width:100%;
  }

  #receptionDesk .reception-exec-stats{
    grid-template-columns:1fr 1fr;
  }

  #receptionDesk #receptionKpis{
    grid-template-columns:1fr !important;
  }

  #receptionDesk #receptionPipelineCars
  .tracking-car{
    grid-template-columns:1fr 1fr;

    gap:4px;
  }

}


/* ==========================================================
   V271 - Reception typography + soft status colors
   ========================================================== */

/* تكبير عام للنصوص في صفحة الاستقبال */
#receptionDesk .reception-exec-main h2{
  font-size:24px !important;
}

#receptionDesk .reception-exec-main p{
  font-size:11px !important;
  line-height:1.8 !important;
}

#receptionDesk .reception-exec-main small{
  font-size:10px !important;
}

#receptionDesk .reception-exec-stat small{
  font-size:9px !important;
}

#receptionDesk .reception-exec-stat b{
  font-size:19px !important;
}

#receptionDesk #receptionKpis > div > b{
  font-size:22px !important;
}

#receptionDesk #receptionKpis > div > small{
  font-size:10px !important;
}

/* تكبير شريط المراحل */
#receptionDesk .workflow-stage-card,
#receptionDesk .stage-card,
#receptionDesk .queue-stage-card{
  min-height:74px !important;
}

#receptionDesk .workflow-stage-card b,
#receptionDesk .stage-card b,
#receptionDesk .queue-stage-card b{
  font-size:13px !important;
}

#receptionDesk .workflow-stage-card small,
#receptionDesk .stage-card small,
#receptionDesk .queue-stage-card small{
  font-size:9px !important;
}

/* تكبير نصوص كروت الأوامر */
#receptionDesk #receptionQueue .role-order-top b{
  font-size:13px !important;
}

#receptionDesk #receptionQueue .role-order-top small{
  font-size:9px !important;
}

#receptionDesk #receptionQueue .role-status{
  font-size:8.5px !important;
  padding:6px 10px !important;
}

#receptionDesk #receptionQueue .role-order-body small{
  font-size:8px !important;
}

#receptionDesk #receptionQueue .role-order-body b{
  font-size:10px !important;
}

#receptionDesk #receptionQueue .role-order-body span{
  font-size:8.5px !important;
}

#receptionDesk #receptionQueue .role-order-foot > span{
  font-size:9px !important;
}

#receptionDesk .role-card-actions .open-role-order{
  font-size:9px !important;
}

/* تكبير عنوان متابعة السيارات */
#receptionDesk #receptionPipelineCars .tracking-title{
  font-size:12px !important;
  font-weight:900 !important;
  color:#b9d8ef !important;
  padding:11px 14px !important;
}

/* تكبير صفوف متابعة السيارات */
#receptionDesk #receptionPipelineCars .tracking-car{
  min-height:48px !important;
  padding:10px 12px !important;
}

#receptionDesk #receptionPipelineCars .tracking-car b{
  font-size:10px !important;
}

#receptionDesk #receptionPipelineCars .tracking-car span{
  font-size:9px !important;
}

#receptionDesk #receptionPipelineCars .tracking-car strong{
  font-size:9px !important;
  font-weight:800 !important;
}

/* ========== ألوان خفيفة فاخرة ========== */

/* تم الدفع - أخضر */
#receptionDesk .stage-paid{
  border-color:rgba(43, 222, 169, .50) !important;
  background:
    linear-gradient(145deg,
      rgba(10,60,48,.95),
      rgba(8,31,32,.98)
    ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 16px rgba(43,222,169,.08) !important;
}

#receptionDesk .stage-paid .role-status,
#receptionDesk .stage-paid strong{
  color:#5cf0c0 !important;
}

/* في الصيانة - أحمر */
#receptionDesk .stage-service{
  border-color:rgba(235, 92, 119, .48) !important;
  background:
    linear-gradient(145deg,
      rgba(61,16,30,.92),
      rgba(23,17,35,.98)
    ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 15px rgba(235,92,119,.08) !important;
}

#receptionDesk .stage-service .role-status,
#receptionDesk .stage-service strong{
  color:#ff8aa2 !important;
}

/* متوقف على المخزن - برتقالي */
#receptionDesk .stage-store{
  border-color:rgba(255, 171, 66, .48) !important;
  background:
    linear-gradient(145deg,
      rgba(66,43,10,.92),
      rgba(28,20,17,.98)
    ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 15px rgba(255,171,66,.08) !important;
}

#receptionDesk .stage-store .role-status,
#receptionDesk .stage-store strong{
  color:#ffc56a !important;
}

/* الحسابات - أزرق */
#receptionDesk .stage-accounts{
  border-color:rgba(87, 174, 255, .48) !important;
  background:
    linear-gradient(145deg,
      rgba(11,37,66,.95),
      rgba(10,24,44,.98)
    ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 15px rgba(87,174,255,.08) !important;
}

#receptionDesk .stage-accounts .role-status,
#receptionDesk .stage-accounts strong{
  color:#86c8ff !important;
}

/* الاستقبال - تركواز */
#receptionDesk .stage-reception{
  border-color:rgba(58, 224, 223, .45) !important;
  background:
    linear-gradient(145deg,
      rgba(10,52,58,.95),
      rgba(8,23,40,.98)
    ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 15px rgba(58,224,223,.07) !important;
}

#receptionDesk .stage-reception .role-status,
#receptionDesk .stage-reception strong{
  color:#7eeeed !important;
}

/* الصفوف العليا الخاصة بمتابعة السيارات */
#receptionDesk #receptionPipelineCars .tracking-car.stage-paid,
#receptionDesk #receptionPipelineCars .tracking-car.stage-service,
#receptionDesk #receptionPipelineCars .tracking-car.stage-store,
#receptionDesk #receptionPipelineCars .tracking-car.stage-accounts,
#receptionDesk #receptionPipelineCars .tracking-car.stage-reception{
  border-bottom-color:rgba(255,255,255,.06) !important;
}

/* موبايل */
@media(max-width:700px){
  #receptionDesk .reception-exec-main h2{
    font-size:21px !important;
  }

  #receptionDesk .reception-exec-main p{
    font-size:10px !important;
  }

  #receptionDesk #receptionPipelineCars .tracking-title{
    font-size:11px !important;
  }
}

/* ==========================================================
   V272 - Executive Reception Theme (3-color system)
   الاستقبال = تركواز
   الصيانة/المخزن/الحسابات = أحمر
   تم الدفع = أخضر
   ========================================================== */

:root{
  --exec-bg-1:#081526;
  --exec-bg-2:#0b1d34;
  --exec-card:#0d2138;
  --exec-line:#183558;
  --exec-text:#f3f8ff;
  --exec-muted:#9bb5d1;

  --exec-turquoise:#29d7d0;
  --exec-turquoise-soft:rgba(41,215,208,.18);

  --exec-red:#f25c7f;
  --exec-red-soft:rgba(242,92,127,.18);

  --exec-green:#35d9a5;
  --exec-green-soft:rgba(53,217,165,.18);
}

/* ===== الصفحة العامة ===== */
#receptionDesk{
  --page-glass:linear-gradient(180deg, rgba(12,28,49,.92), rgba(7,18,33,.96));
}

#receptionDesk .reception-exec-main,
#receptionDesk .reception-exec-stat,
#receptionDesk #receptionKpis > div,
#receptionDesk #receptionQueue .role-order-card,
#receptionDesk #receptionPipelineCars,
#receptionDesk #receptionPipelineCars .tracking-car,
#receptionDesk .workflow-stage-card,
#receptionDesk .stage-card,
#receptionDesk .queue-stage-card{
  background:var(--page-glass) !important;
  border:1px solid rgba(90,134,183,.20) !important;
  border-radius:18px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 8px 28px rgba(0,0,0,.20) !important;
}

/* ===== العناوين ===== */
#receptionDesk .reception-exec-main h2{
  font-size:26px !important;
  font-weight:900 !important;
  letter-spacing:.2px !important;
  color:var(--exec-text) !important;
}

#receptionDesk .reception-exec-main p{
  font-size:13px !important;
  line-height:1.9 !important;
  color:#c9d7ea !important;
}

#receptionDesk .reception-exec-stat b,
#receptionDesk #receptionKpis > div > b{
  font-size:24px !important;
  font-weight:900 !important;
  color:#ffffff !important;
}

#receptionDesk .reception-exec-stat small,
#receptionDesk #receptionKpis > div > small{
  font-size:11px !important;
  color:var(--exec-muted) !important;
}

/* ===== شريط المراحل ===== */
#receptionDesk .workflow-stage-card,
#receptionDesk .stage-card,
#receptionDesk .queue-stage-card{
  min-height:78px !important;
  padding:14px 16px !important;
  position:relative;
  overflow:hidden;
}

#receptionDesk .workflow-stage-card b,
#receptionDesk .stage-card b,
#receptionDesk .queue-stage-card b{
  font-size:14px !important;
  font-weight:900 !important;
  color:#fff !important;
}

#receptionDesk .workflow-stage-card small,
#receptionDesk .stage-card small,
#receptionDesk .queue-stage-card small{
  font-size:10px !important;
  color:#b8cde5 !important;
}

/* ===== البحث والقوائم ===== */
#receptionDesk .role-orders-panel .panel-title,
#receptionDesk .tracking-title{
  font-size:14px !important;
  font-weight:900 !important;
  color:#d7eaff !important;
}

#receptionDesk .tracking-title{
  padding:14px 16px !important;
}

#receptionDesk input,
#receptionDesk select,
#receptionDesk textarea{
  font-size:13px !important;
}

#receptionDesk #receptionQueue .role-order-card{
  padding:14px 15px !important;
  min-height:132px !important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#receptionDesk #receptionQueue .role-order-card:hover{
  transform:translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 14px 34px rgba(0,0,0,.24) !important;
}

#receptionDesk #receptionQueue .role-order-top b{
  font-size:15px !important;
  font-weight:900 !important;
  color:#ffffff !important;
}

#receptionDesk #receptionQueue .role-order-top small{
  font-size:10px !important;
  color:#b8cde5 !important;
}

#receptionDesk #receptionQueue .role-status{
  font-size:10px !important;
  padding:7px 12px !important;
  border-radius:999px !important;
  font-weight:800 !important;
}

#receptionDesk #receptionQueue .role-order-body b{
  font-size:11px !important;
  color:#f3f8ff !important;
}

#receptionDesk #receptionQueue .role-order-body small,
#receptionDesk #receptionQueue .role-order-body span,
#receptionDesk #receptionQueue .role-order-foot > span{
  font-size:10px !important;
  color:#b8cde5 !important;
}

#receptionDesk .role-card-actions .open-role-order{
  font-size:10px !important;
  font-weight:800 !important;
}

/* ===== متابعة السيارات ===== */
#receptionDesk #receptionPipelineCars{
  overflow:hidden !important;
}

#receptionDesk #receptionPipelineCars .tracking-title{
  font-size:15px !important;
  font-weight:900 !important;
  color:#dff7ff !important;
  border-bottom:1px solid rgba(255,255,255,.06) !important;
}

#receptionDesk #receptionPipelineCars .tracking-car{
  min-height:52px !important;
  padding:12px 14px !important;
  border-radius:0 !important;
  border-left:none !important;
  border-right:none !important;
  border-top:none !important;
  border-bottom:1px solid rgba(255,255,255,.06) !important;
  box-shadow:none !important;
}

#receptionDesk #receptionPipelineCars .tracking-car b,
#receptionDesk #receptionPipelineCars .tracking-car strong{
  font-size:11px !important;
  font-weight:800 !important;
  color:#fff !important;
}

#receptionDesk #receptionPipelineCars .tracking-car span{
  font-size:10px !important;
  color:#d1e1f4 !important;
}

/* ===== نظام الألوان الثلاثي ===== */

/* استقبال = تركواز */
#receptionDesk .stage-reception{
  border-color:rgba(41,215,208,.55) !important;
  background:
    linear-gradient(145deg, rgba(8,44,55,.96), rgba(9,26,46,.98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 0 1px rgba(41,215,208,.08),
    0 0 22px rgba(41,215,208,.08) !important;
}

#receptionDesk .stage-reception .role-status,
#receptionDesk .stage-reception strong{
  color:#6ef7ef !important;
}

/* صيانة/مخزن/حسابات = أحمر */
#receptionDesk .stage-service,
#receptionDesk .stage-store,
#receptionDesk .stage-accounts{
  border-color:rgba(242,92,127,.55) !important;
  background:
    linear-gradient(145deg, rgba(57,16,30,.96), rgba(18,17,35,.98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 0 1px rgba(242,92,127,.08),
    0 0 22px rgba(242,92,127,.08) !important;
}

#receptionDesk .stage-service .role-status,
#receptionDesk .stage-store .role-status,
#receptionDesk .stage-accounts .role-status,
#receptionDesk .stage-service strong,
#receptionDesk .stage-store strong,
#receptionDesk .stage-accounts strong{
  color:#ff9ab2 !important;
}

/* تم الدفع = أخضر */
#receptionDesk .stage-paid{
  border-color:rgba(53,217,165,.58) !important;
  background:
    linear-gradient(145deg, rgba(9,58,46,.96), rgba(7,28,31,.98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 0 1px rgba(53,217,165,.08),
    0 0 22px rgba(53,217,165,.08) !important;
}

#receptionDesk .stage-paid .role-status,
#receptionDesk .stage-paid strong{
  color:#7cf2c7 !important;
}

/* شريط لامع جانبي للكروت */
#receptionDesk #receptionQueue .role-order-card.stage-reception::before,
#receptionDesk #receptionQueue .role-order-card.stage-service::before,
#receptionDesk #receptionQueue .role-order-card.stage-store::before,
#receptionDesk #receptionQueue .role-order-card.stage-accounts::before,
#receptionDesk #receptionQueue .role-order-card.stage-paid::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  border-radius:18px 0 0 18px;
}

#receptionDesk #receptionQueue .role-order-card.stage-reception::before{
  background:linear-gradient(180deg, #52f6ef, #1ecfc9);
}
#receptionDesk #receptionQueue .role-order-card.stage-service::before,
#receptionDesk #receptionQueue .role-order-card.stage-store::before,
#receptionDesk #receptionQueue .role-order-card.stage-accounts::before{
  background:linear-gradient(180deg, #ff8aa8, #e64f73);
}
#receptionDesk #receptionQueue .role-order-card.stage-paid::before{
  background:linear-gradient(180deg, #7ef0c6, #29d39d);
}

/* ===== تحسين الأزرار ===== */
#receptionDesk .btn,
#receptionDesk button{
  font-weight:800;
}

#receptionDesk .primary,
#receptionDesk .ghost{
  border-radius:14px !important;
}

/* ===== موبايل ===== */
@media (max-width: 768px){
  #receptionDesk .reception-exec-main h2{
    font-size:22px !important;
  }

  #receptionDesk .reception-exec-main p{
    font-size:11px !important;
  }

  #receptionDesk #receptionQueue .role-order-top b{
    font-size:13px !important;
  }

  #receptionDesk #receptionPipelineCars .tracking-title{
    font-size:13px !important;
  }
}


/* ==========================================================
   V273 - RECEPTION EXECUTIVE FINAL POLISH
   ========================================================== */


/* ==========================================================
   LIVE TRACKING - BIGGER + CLEARER
   ========================================================== */

#receptionDesk #receptionPipelineCars{
  border-radius:16px !important;

  border:
    1px solid rgba(72,120,165,.32) !important;

  background:
    linear-gradient(
      180deg,
      rgba(8,25,43,.96),
      rgba(6,19,34,.98)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 10px 24px rgba(0,0,0,.15) !important;

  overflow:hidden !important;
}


/* عنوان متابعة السيارات */

#receptionDesk #receptionPipelineCars .tracking-title{
  min-height:46px !important;

  padding:0 16px !important;

  display:flex !important;
  align-items:center !important;

  color:#d8eaff !important;

  font-size:13px !important;
  font-weight:900 !important;

  letter-spacing:.05px !important;

  background:
    linear-gradient(
      90deg,
      rgba(16,42,68,.82),
      rgba(10,29,49,.82)
    ) !important;

  border-bottom:
    1px solid rgba(81,127,168,.22) !important;
}


/* الصف نفسه */

#receptionDesk #receptionPipelineCars .tracking-car{
  position:relative !important;

  min-height:54px !important;

  padding:10px 16px !important;

  display:grid !important;

  grid-template-columns:
    minmax(170px,1.25fr)
    minmax(130px,1fr)
    minmax(150px,1fr)
    minmax(90px,.7fr) !important;

  gap:12px !important;

  align-items:center !important;

  border:0 !important;

  border-bottom:
    1px solid rgba(91,126,158,.12) !important;

  border-radius:0 !important;

  background:
    rgba(9,26,45,.72) !important;

  box-shadow:none !important;

  overflow:hidden !important;

  transition:
    background .18s ease,
    box-shadow .18s ease !important;
}


#receptionDesk #receptionPipelineCars .tracking-car:last-child{
  border-bottom:0 !important;
}


#receptionDesk #receptionPipelineCars .tracking-car:hover{
  background:
    rgba(17,40,64,.82) !important;
}


/* رقم أمر الصيانة */

#receptionDesk #receptionPipelineCars .tracking-car > b{
  direction:ltr !important;

  color:#f4f8fc !important;

  font-size:10.5px !important;
  font-weight:900 !important;

  letter-spacing:.15px !important;
}


/* العميل + السيارة */

#receptionDesk #receptionPipelineCars .tracking-car > span{
  color:#c2d3e5 !important;

  font-size:10px !important;
  font-weight:600 !important;
}


/* المرحلة */

#receptionDesk #receptionPipelineCars .tracking-car > strong{
  justify-self:start !important;

  padding:5px 9px !important;

  border-radius:999px !important;

  font-size:9px !important;
  font-weight:900 !important;

  line-height:1 !important;
}


/* ==========================================================
   THREE COLOR SYSTEM
   ========================================================== */


/* ---------- RECEPTION = TURQUOISE ---------- */

#receptionDesk #receptionPipelineCars
.tracking-car.stage-reception{
  background:
    linear-gradient(
      90deg,
      rgba(8,48,58,.76),
      rgba(8,25,44,.82) 45%,
      rgba(8,24,42,.82)
    ) !important;
}


#receptionDesk #receptionPipelineCars
.tracking-car.stage-reception::after{
  content:"";

  position:absolute;

  right:0;
  top:7px;
  bottom:7px;

  width:3px;

  border-radius:4px 0 0 4px;

  background:#31d9d2;

  box-shadow:
    0 0 12px rgba(49,217,210,.28);
}


#receptionDesk #receptionPipelineCars
.tracking-car.stage-reception > strong{
  color:#70f0e9 !important;

  border:
    1px solid rgba(49,217,210,.30);

  background:
    rgba(49,217,210,.08);
}


/* ---------- SERVICE / STORE / ACCOUNTS = RED ---------- */

#receptionDesk #receptionPipelineCars
.tracking-car.stage-service,

#receptionDesk #receptionPipelineCars
.tracking-car.stage-store,

#receptionDesk #receptionPipelineCars
.tracking-car.stage-accounts{
  background:
    linear-gradient(
      90deg,
      rgba(55,15,29,.67),
      rgba(12,26,45,.84) 45%,
      rgba(8,24,42,.84)
    ) !important;
}


#receptionDesk #receptionPipelineCars
.tracking-car.stage-service::after,

#receptionDesk #receptionPipelineCars
.tracking-car.stage-store::after,

#receptionDesk #receptionPipelineCars
.tracking-car.stage-accounts::after{
  content:"";

  position:absolute;

  right:0;
  top:7px;
  bottom:7px;

  width:3px;

  border-radius:4px 0 0 4px;

  background:#f05b79;

  box-shadow:
    0 0 12px rgba(240,91,121,.26);
}


#receptionDesk #receptionPipelineCars
.tracking-car.stage-service > strong,

#receptionDesk #receptionPipelineCars
.tracking-car.stage-store > strong,

#receptionDesk #receptionPipelineCars
.tracking-car.stage-accounts > strong{
  color:#ff91a8 !important;

  border:
    1px solid rgba(240,91,121,.28);

  background:
    rgba(240,91,121,.08);
}


/* ---------- PAID = GREEN ---------- */

#receptionDesk #receptionPipelineCars
.tracking-car.stage-paid{
  background:
    linear-gradient(
      90deg,
      rgba(8,52,41,.75),
      rgba(8,28,39,.84) 45%,
      rgba(8,24,42,.84)
    ) !important;
}


#receptionDesk #receptionPipelineCars
.tracking-car.stage-paid::after{
  content:"";

  position:absolute;

  right:0;
  top:7px;
  bottom:7px;

  width:3px;

  border-radius:4px 0 0 4px;

  background:#35d9a5;

  box-shadow:
    0 0 12px rgba(53,217,165,.27);
}


#receptionDesk #receptionPipelineCars
.tracking-car.stage-paid > strong{
  color:#77edc3 !important;

  border:
    1px solid rgba(53,217,165,.30);

  background:
    rgba(53,217,165,.08);
}


/* ==========================================================
   KPI CARDS - SMALLER + MORE EXECUTIVE
   ========================================================== */

#receptionDesk #receptionKpis{
  gap:8px !important;

  margin-top:10px !important;
  margin-bottom:10px !important;
}


#receptionDesk #receptionKpis > div{
  min-height:58px !important;

  padding:7px 10px !important;

  border-radius:13px !important;

  border:
    1px solid rgba(67,110,151,.29) !important;

  background:
    linear-gradient(
      145deg,
      rgba(16,37,60,.93),
      rgba(10,27,47,.96)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 7px 16px rgba(0,0,0,.13) !important;
}


#receptionDesk #receptionKpis > div > b{
  margin-bottom:2px !important;

  color:#ffffff !important;

  font-size:18px !important;
  font-weight:900 !important;
}


#receptionDesk #receptionKpis > div > small{
  color:#8fa8bf !important;

  font-size:9px !important;
  font-weight:600 !important;
}


/* لمسة مختلفة للكارت الأول */

#receptionDesk #receptionKpis > div:first-child{
  border-color:
    rgba(47,205,187,.29) !important;
}


/* ==========================================================
   EMPTY QUEUE
   ========================================================== */

#receptionDesk #receptionQueue .role-empty{
  min-height:96px !important;

  border-radius:14px !important;

  color:#819bb2 !important;

  font-size:10px !important;
  font-weight:600 !important;

  background:
    linear-gradient(
      145deg,
      rgba(10,28,48,.57),
      rgba(7,21,37,.62)
    ) !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:800px){

  #receptionDesk #receptionPipelineCars
  .tracking-car{
    grid-template-columns:
      1fr 1fr !important;

    min-height:70px !important;

    gap:6px 10px !important;
  }


  #receptionDesk #receptionPipelineCars
  .tracking-title{
    font-size:12px !important;
  }

}



/* ==========================================================
   V274 - RECEPTION TOP CLEANUP
   ========================================================== */


/* ---------------------------
   USER BADGE
--------------------------- */

#userLine{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin-top:4px !important;
}

.user-badge-shell{
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;

  padding:8px 14px !important;

  border-radius:999px !important;

  border:1px solid rgba(74,124,167,.30) !important;

  background:
    linear-gradient(
      135deg,
      rgba(13,34,57,.92),
      rgba(8,24,42,.96)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 8px 20px rgba(0,0,0,.15) !important;
}

.user-badge-name{
  color:#ffffff !important;
  font-size:12px !important;
  font-weight:900 !important;
  letter-spacing:.1px !important;
}

.user-badge-sep{
  width:6px !important;
  height:6px !important;
  border-radius:50% !important;
  background:#34d8d2 !important;
  box-shadow:0 0 10px rgba(52,216,210,.45) !important;
}

.user-badge-role{
  color:#8fd7ff !important;
  font-size:11px !important;
  font-weight:800 !important;
}


/* ---------------------------
   RECEPTION HERO
--------------------------- */

#receptionDesk .reception-cta-duplicate{
  display:none !important;
}

#receptionDesk .reception-main-cta{
  min-width:170px !important;
  min-height:44px !important;
  padding:0 18px !important;

  border-radius:14px !important;
  border:1px solid rgba(53,218,204,.30) !important;

  color:#072433 !important;
  font-size:14px !important;
  font-weight:900 !important;

  background:
    linear-gradient(
      135deg,
      #3ee5d8,
      #30cfc4
    ) !important;

  box-shadow:
    0 10px 24px rgba(48,207,196,.22),
    inset 0 1px 0 rgba(255,255,255,.22) !important;
}

#receptionDesk .reception-hero-polished{
  border-radius:22px !important;
}

#receptionDesk .reception-hero-kicker{
  color:#66e7df !important;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:.2px !important;
}

#receptionDesk .reception-hero-title{
  color:#ffffff !important;
  font-size:24px !important;
  font-weight:1000 !important;
  line-height:1.2 !important;
  letter-spacing:.1px !important;
}

#receptionDesk .reception-hero-subtitle{
  color:#bdd2e7 !important;
  font-size:13px !important;
  font-weight:700 !important;
  line-height:1.85 !important;
}


/* ---------------------------
   TRACKING HEADER
--------------------------- */

#receptionDesk .reception-tracking-title-xl{
  color:#ffffff !important;
  font-size:16px !important;
  font-weight:900 !important;
  letter-spacing:.1px !important;
}


/* ---------------------------
   GENERAL TOP TEXT POLISH
--------------------------- */

#receptionDesk h1,
#receptionDesk h2,
#receptionDesk h3{
  letter-spacing:.1px !important;
}

#receptionDesk small{
  letter-spacing:.05px !important;
}


/* ---------------------------
   MOBILE
--------------------------- */

@media(max-width:800px){
  #receptionDesk .reception-hero-title{
    font-size:20px !important;
  }

  #receptionDesk .reception-hero-subtitle{
    font-size:12px !important;
    line-height:1.7 !important;
  }

  .user-badge-shell{
    padding:7px 12px !important;
    gap:8px !important;
  }

  .user-badge-name{
    font-size:11px !important;
  }

  .user-badge-role{
    font-size:10px !important;
  }
}



/* ==========================================================
   V275 - EXECUTIVE RECEPTION ORDER CARDS
   ========================================================== */


/* منطقة الكروت */
#receptionDesk #receptionQueue{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
  margin-top:12px !important;
}


/* الكارت الأساسي */
#receptionDesk #receptionQueue .role-order-card{
  position:relative !important;

  min-height:190px !important;

  margin:0 !important;
  padding:15px !important;

  border-radius:18px !important;

  border:1px solid rgba(72,116,158,.38) !important;

  background:
    linear-gradient(
      145deg,
      rgba(13,34,56,.97),
      rgba(8,23,40,.99)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 10px 24px rgba(0,0,0,.18) !important;

  overflow:hidden !important;

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease !important;
}


/* لمعة خفيفة */
#receptionDesk #receptionQueue .role-order-card::after{
  content:"";

  position:absolute;

  width:120px;
  height:120px;

  left:-55px;
  top:-60px;

  border-radius:50%;

  background:
    radial-gradient(
      circle,
      rgba(71,151,210,.08),
      transparent 70%
    );

  pointer-events:none;
}


#receptionDesk #receptionQueue .role-order-card:hover{
  transform:translateY(-2px) !important;

  border-color:rgba(52,213,194,.55) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 14px 28px rgba(0,0,0,.21),
    0 0 18px rgba(47,213,194,.07) !important;
}


/* ==========================================================
   TOP
   ========================================================== */

#receptionDesk .role-order-top{
  position:relative;
  z-index:2;

  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;

  gap:12px !important;

  padding-bottom:11px !important;

  border-bottom:
    1px solid rgba(93,129,162,.14) !important;
}


#receptionDesk .role-order-top > div{
  min-width:0;
}


/* رقم الأمر */
#receptionDesk .role-order-top b{
  display:block !important;

  direction:ltr !important;

  color:#ffffff !important;

  font-size:14px !important;
  font-weight:900 !important;

  letter-spacing:.2px !important;
}


/* العميل والسيارة المختصرة */
#receptionDesk .role-order-top small{
  display:block !important;

  margin-top:5px !important;

  color:#9fb5ca !important;

  font-size:10px !important;
  font-weight:600 !important;

  line-height:1.5 !important;
}


/* Badge الحالة */
#receptionDesk .role-status{
  flex:0 0 auto !important;

  padding:6px 10px !important;

  border-radius:999px !important;

  font-size:9px !important;
  font-weight:900 !important;

  white-space:nowrap !important;
}


/* ==========================================================
   BODY
   ========================================================== */

#receptionDesk .role-order-body{
  position:relative;
  z-index:2;

  display:grid !important;

  grid-template-columns:
    repeat(2,minmax(0,1fr)) !important;

  gap:9px !important;

  margin:12px 0 !important;
}


#receptionDesk .role-order-body > div{
  min-height:68px !important;

  padding:10px !important;

  border-radius:12px !important;

  border:
    1px solid rgba(70,110,148,.24) !important;

  background:
    linear-gradient(
      145deg,
      rgba(10,28,47,.72),
      rgba(8,22,38,.80)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02) !important;
}


#receptionDesk .role-order-body small{
  display:block !important;

  margin-bottom:4px !important;

  color:#718da6 !important;

  font-size:8.5px !important;
  font-weight:700 !important;
}


/* البيانات الرئيسية */
#receptionDesk .role-order-body b{
  display:block !important;

  color:#f0f6fb !important;

  font-size:10.5px !important;
  font-weight:800 !important;

  line-height:1.45 !important;
}


#receptionDesk .role-order-body span{
  display:block !important;

  margin-top:3px !important;

  color:#a3b7ca !important;

  font-size:9px !important;

  line-height:1.45 !important;
}


/* ==========================================================
   FOOTER
   ========================================================== */

#receptionDesk .role-order-foot{
  position:relative;
  z-index:2;

  min-height:40px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;

  gap:10px !important;

  padding-top:10px !important;

  border-top:
    1px solid rgba(93,129,162,.14) !important;
}


/* اسم المرحلة */
#receptionDesk .role-order-foot > span{
  padding:5px 9px !important;

  border-radius:999px !important;

  color:#69e6d6 !important;

  background:
    rgba(37,198,179,.08) !important;

  border:
    1px solid rgba(37,198,179,.18) !important;

  font-size:8.5px !important;
  font-weight:900 !important;
}


/* زر فتح الأمر */
#receptionDesk
.role-card-actions
.open-role-order{
  min-width:100px !important;
  height:34px !important;

  padding:0 13px !important;

  border-radius:10px !important;

  border:
    1px solid rgba(48,215,195,.38) !important;

  background:
    linear-gradient(
      145deg,
      rgba(31,180,165,.12),
      rgba(15,72,78,.12)
    ) !important;

  color:#71eadb !important;

  font-size:9px !important;
  font-weight:900 !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025) !important;

  transition:.18s ease !important;
}


#receptionDesk
.role-card-actions
.open-role-order:hover{
  color:#062b27 !important;

  background:
    linear-gradient(
      180deg,
      #3cdec9,
      #1eb9a7
    ) !important;

  border-color:#3cdec9 !important;

  box-shadow:
    0 7px 17px rgba(34,196,177,.18) !important;
}


/* ==========================================================
   THREE-COLOR STATES
   ========================================================== */


/* استقبال = تركواز */
#receptionDesk
#receptionQueue
.role-order-card.stage-reception{
  border-color:
    rgba(42,216,208,.52) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 10px 24px rgba(0,0,0,.18),
    0 0 16px rgba(42,216,208,.06) !important;
}


#receptionDesk
#receptionQueue
.role-order-card.stage-reception
.role-status{
  color:#74f1e8 !important;

  border:
    1px solid rgba(42,216,208,.30) !important;

  background:
    rgba(42,216,208,.08) !important;
}


/* صيانة/مخزن/حسابات = أحمر */
#receptionDesk
#receptionQueue
.role-order-card.stage-service,

#receptionDesk
#receptionQueue
.role-order-card.stage-store,

#receptionDesk
#receptionQueue
.role-order-card.stage-accounts{
  border-color:
    rgba(239,86,118,.48) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 10px 24px rgba(0,0,0,.18),
    0 0 16px rgba(239,86,118,.055) !important;
}


#receptionDesk
#receptionQueue
.role-order-card.stage-service
.role-status,

#receptionDesk
#receptionQueue
.role-order-card.stage-store
.role-status,

#receptionDesk
#receptionQueue
.role-order-card.stage-accounts
.role-status{
  color:#ff92aa !important;

  border:
    1px solid rgba(239,86,118,.30) !important;

  background:
    rgba(239,86,118,.08) !important;
}


/* دفع = أخضر */
#receptionDesk
#receptionQueue
.role-order-card.stage-paid{
  border-color:
    rgba(54,215,165,.50) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 10px 24px rgba(0,0,0,.18),
    0 0 16px rgba(54,215,165,.06) !important;
}


#receptionDesk
#receptionQueue
.role-order-card.stage-paid
.role-status{
  color:#7befc5 !important;

  border:
    1px solid rgba(54,215,165,.30) !important;

  background:
    rgba(54,215,165,.08) !important;
}


/* ==========================================================
   EMPTY
   ========================================================== */

#receptionDesk #receptionQueue .role-empty{
  grid-column:1 / -1 !important;

  min-height:110px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  border-radius:16px !important;

  border:
    1px dashed rgba(79,122,161,.34) !important;

  background:
    linear-gradient(
      145deg,
      rgba(10,27,46,.50),
      rgba(7,20,35,.58)
    ) !important;

  color:#839db5 !important;

  font-size:10px !important;
  font-weight:700 !important;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media(max-width:1000px){

  #receptionDesk #receptionQueue{
    grid-template-columns:1fr !important;
  }

}


@media(max-width:700px){

  #receptionDesk #receptionQueue
  .role-order-card{
    min-height:175px !important;
  }


  #receptionDesk .role-order-body{
    grid-template-columns:1fr !important;
  }

}


/* ==========================================================
   V280 - Header cleanup + Mercedes mini badge
   ========================================================== */

.mercedes-mini-badge{
  width:42px;
  height:42px;
  min-width:42px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    linear-gradient(145deg, rgba(13,30,49,.98), rgba(7,19,34,.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 10px rgba(0,0,0,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}

.mercedes-mini-badge::before{
  content:"✦";
  position:absolute;
  inset:auto;
  color:transparent;
}

.mercedes-mini-badge svg{
  width:26px;
  height:26px;
  opacity:.96;
}

.mercedes-mini-badge svg circle,
.mercedes-mini-badge svg path,
.mercedes-mini-badge svg line{
  stroke:#fff;
  stroke-width:2.2;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.mercedes-mini-badge.compact{
  width:34px;
  height:34px;
  min-width:34px;
}

.mercedes-mini-badge.compact svg{
  width:20px;
  height:20px;
}


/* ==========================================================
   V281 - Top header refinement
   ========================================================== */

.page-title-wrap,
.section-title-wrap,
.dashboard-title-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.page-title-wrap .title-block,
.section-title-wrap .title-block,
.dashboard-title-wrap .title-block{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.page-title-wrap h1,
.page-title-wrap h2,
.section-title-wrap h1,
.section-title-wrap h2,
.dashboard-title-wrap h1,
.dashboard-title-wrap h2{
  margin:0;
  font-size:clamp(24px,2.4vw,38px);
  line-height:1.15;
  letter-spacing:-.4px;
  color:#f4fbff;
  font-weight:900;
}

.page-title-wrap p,
.section-title-wrap p,
.dashboard-title-wrap p{
  margin:0;
  color:#9eb5ca;
  font-size:13px;
  font-weight:700;
}

.user-role-badge{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:16px;
  border:1px solid rgba(61,212,196,.22);
  background:linear-gradient(145deg, rgba(12,34,54,.95), rgba(8,22,39,.96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 10px 18px rgba(0,0,0,.16);
}

.user-role-badge .user-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#30d7c6;
  box-shadow:0 0 10px rgba(48,215,198,.4);
}

.user-role-badge .user-meta{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.user-role-badge .user-name{
  font-size:13px;
  font-weight:900;
  color:#fff;
  line-height:1.2;
}

.user-role-badge .user-role{
  font-size:11px;
  color:#82d8cf;
  font-weight:700;
  line-height:1.2;
}


/* ==========================================================
   V282 - Smart sidebar / mobile / light mode
   ========================================================== */

:root{
  --sidebar-expanded: 178px;
  --sidebar-collapsed: 74px;
}

/* شكل السايدبار العام */
.sidebar,
.right-sidebar,
.app-sidebar{
  transition:
    width .22s ease,
    transform .22s ease,
    background .22s ease,
    box-shadow .22s ease !important;
}

/* ديسكتوب: مخفية جزئيًا وتظهر مع hover */
@media (min-width: 1025px){

  .sidebar,
  .right-sidebar,
  .app-sidebar{
    width:var(--sidebar-collapsed) !important;
    overflow:hidden !important;
  }

  .sidebar:hover,
  .right-sidebar:hover,
  .app-sidebar:hover{
    width:var(--sidebar-expanded) !important;
    box-shadow:0 14px 28px rgba(0,0,0,.22) !important;
  }

  .sidebar .nav-label,
  .right-sidebar .nav-label,
  .app-sidebar .nav-label,
  .sidebar .brand-text,
  .right-sidebar .brand-text,
  .app-sidebar .brand-text{
    opacity:0;
    transition:opacity .18s ease;
    white-space:nowrap;
  }

  .sidebar:hover .nav-label,
  .right-sidebar:hover .nav-label,
  .app-sidebar:hover .nav-label,
  .sidebar:hover .brand-text,
  .right-sidebar:hover .brand-text,
  .app-sidebar:hover .brand-text{
    opacity:1;
  }

}

/* موبايل: السايدبار تطلع بزر القائمة */
@media (max-width: 1024px){

  .sidebar,
  .right-sidebar,
  .app-sidebar{
    position:fixed !important;
    top:0 !important;
    bottom:0 !important;
    right:0 !important;
    width:280px !important;
    max-width:82vw !important;
    transform:translateX(100%) !important;
    z-index:9998 !important;
    overflow:auto !important;
  }

  body.sidebar-open .sidebar,
  body.sidebar-open .right-sidebar,
  body.sidebar-open .app-sidebar{
    transform:translateX(0) !important;
  }

  body.sidebar-open::before{
    content:"";
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.42);
    z-index:9990;
  }

}

/* تحسين الوضع النهاري */
body.light .sidebar,
body.light .right-sidebar,
body.light .app-sidebar{
  background:
    linear-gradient(180deg, rgba(244,250,255,.98), rgba(232,243,251,.97)) !important;
  border-left:1px solid rgba(80,124,159,.14) !important;
  box-shadow:0 10px 24px rgba(19,55,89,.08) !important;
}

body.light .sidebar a,
body.light .right-sidebar a,
body.light .app-sidebar a,
body.light .sidebar button,
body.light .right-sidebar button,
body.light .app-sidebar button{
  color:#16344f !important;
}

body.light .sidebar .active,
body.light .right-sidebar .active,
body.light .app-sidebar .active{
  background:linear-gradient(180deg,#2fdbc8,#21cbb8) !important;
  color:#062c2a !important;
}

/* أزرار أعلى الصفحة في الموبايل */
@media (max-width:700px){
  .topbar-actions,
  .header-actions,
  .top-actions{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:8px !important;
  }

  .topbar-actions .ghost,
  .topbar-actions .primary,
  .header-actions .ghost,
  .header-actions .primary,
  .top-actions .ghost,
  .top-actions .primary{
    min-height:40px !important;
    padding:0 12px !important;
    font-size:13px !important;
  }
}



/* ==========================================================
   V276 - CLEAN COMPACT RECEPTION HEADER
   ========================================================== */

/*
   الهيدر التنفيذي الذي أضيف بالـJS أصبح مكررًا مع الهيدر الأصلي.
   نخفيه ونستخدم page-head الأصلي كالهيدر الرئيسي.
*/
#receptionDesk #receptionExecutiveHeader,
#receptionDesk .reception-exec-header{
  display:none !important;
}


/* ==========================================================
   ORIGINAL RECEPTION PAGE HEAD -> EXECUTIVE
   ========================================================== */

#receptionDesk > .page-head{
  position:relative;

  min-height:88px;

  margin:0 0 12px !important;
  padding:16px 18px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;

  border-radius:18px !important;

  border:
    1px solid rgba(54,129,174,.40) !important;

  background:
    linear-gradient(
      145deg,
      rgba(8,33,54,.98),
      rgba(7,22,39,.98)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 12px 28px rgba(0,0,0,.18),
    0 0 20px rgba(41,213,199,.05) !important;

  overflow:hidden;
}


/* لمعة هادئة */
#receptionDesk > .page-head::before{
  content:"";

  position:absolute;

  width:230px;
  height:150px;

  right:-65px;
  top:-105px;

  border-radius:50%;

  background:
    radial-gradient(
      circle,
      rgba(41,216,204,.14),
      transparent 70%
    );

  pointer-events:none;
}


#receptionDesk > .page-head > div{
  position:relative;
  z-index:2;

  display:flex;
  flex-direction:column;

  gap:4px;
}


/* عنوان واحد فقط */
#receptionDesk > .page-head h1{
  margin:0 !important;

  color:#ffffff !important;

  font-size:24px !important;
  font-weight:900 !important;

  line-height:1.25 !important;
}


/* الوصف */
#receptionDesk > .page-head p{
  margin:0 !important;

  color:#9fb7cc !important;

  font-size:11px !important;
  font-weight:600 !important;

  line-height:1.7 !important;
}


/* الزر الأصلي الوحيد */
#receptionDesk > .page-head .role-new-order{
  position:relative;
  z-index:2;

  flex:0 0 auto;

  min-width:156px !important;
  height:42px !important;

  margin:0 !important;
  padding:0 16px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  border-radius:12px !important;

  border:
    1px solid rgba(72,237,218,.48) !important;

  background:
    linear-gradient(
      180deg,
      #3ae0cc,
      #1ebaa8
    ) !important;

  color:#052d28 !important;

  font-size:11px !important;
  font-weight:900 !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 7px 18px rgba(29,193,174,.18) !important;

  cursor:pointer;
}


#receptionDesk > .page-head .role-new-order:hover{
  transform:translateY(-1px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.26),
    0 9px 22px rgba(29,193,174,.24),
    0 0 14px rgba(48,220,201,.11) !important;
}


/* ==========================================================
   EXECUTIVE STATS - CLOSER TO HEADER
   ========================================================== */

#receptionDesk #receptionExecStats{
  margin-top:0 !important;
  margin-bottom:11px !important;
}

#receptionDesk .reception-exec-stats{
  gap:8px !important;
}


/* ==========================================================
   REMOVE OLD TOP SPACING
   ========================================================== */

#receptionDesk{
  padding-top:10px !important;
}


/* ==========================================================
   USER / ROLE DISPLAY
   ========================================================== */

#userLine{
  margin-top:3px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}


#userLine .user-badge-shell{
  min-height:29px;

  padding:5px 11px !important;

  display:inline-flex !important;
  flex-direction:row !important;

  align-items:center !important;
  justify-content:center !important;

  gap:7px !important;

  border-radius:999px !important;

  border:
    1px solid rgba(73,129,174,.26) !important;

  background:
    linear-gradient(
      145deg,
      rgba(14,37,60,.90),
      rgba(8,24,42,.94)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 5px 14px rgba(0,0,0,.13) !important;
}


#userLine .user-badge-name{
  color:#ffffff !important;

  font-size:10.5px !important;
  font-weight:900 !important;
}


#userLine .user-badge-role{
  color:#6ee5d6 !important;

  font-size:9px !important;
  font-weight:800 !important;
}


#userLine .user-badge-sep{
  width:5px !important;
  height:5px !important;

  flex:0 0 5px;

  border-radius:50%;

  background:#34d8c4;

  box-shadow:
    0 0 7px rgba(52,216,196,.36);
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:700px){

  #receptionDesk > .page-head{
    min-height:auto;

    padding:13px !important;

    flex-direction:column !important;
    align-items:stretch !important;

    gap:11px !important;
  }


  #receptionDesk > .page-head h1{
    font-size:20px !important;
  }


  #receptionDesk > .page-head p{
    font-size:10px !important;
  }


  #receptionDesk > .page-head .role-new-order{
    width:100% !important;

    min-width:0 !important;
    height:42px !important;
  }

}



/* ==========================================================
   V301 - ODOO-LIKE MASTER / DETAIL ORDERS LAYOUT
   LEFT  = orders master list
   RIGHT = work order detail
   ========================================================== */

#orders .orders-grid{
  direction:ltr !important;

  display:grid !important;

  grid-template-columns:
    minmax(285px, 31%)
    minmax(0, 1fr) !important;

  gap:14px !important;

  align-items:start !important;

  width:100% !important;
}


/* LEFT: orders list */
#orders .orders-grid > .executive-orders-panel{
  direction:rtl !important;

  grid-column:1 !important;

  width:100% !important;
  min-width:0 !important;

  position:sticky !important;
  top:10px !important;

  max-height:calc(100vh - 115px) !important;

  overflow:hidden !important;
}


/* RIGHT: main work area */
#orders .orders-grid > .order-workspace{
  direction:rtl !important;

  grid-column:2 !important;

  width:100% !important;
  min-width:0 !important;
}


/* كل العناصر داخل منطقة العمل تفضل بعرضها الطبيعي */
#orders .order-workspace > *{
  max-width:100% !important;
}


/* القائمة نفسها scroll مستقلة مثل Master View */
#orders .executive-orders-list{
  max-height:calc(100vh - 355px) !important;

  overflow-y:auto !important;
  overflow-x:hidden !important;

  padding-left:3px !important;
}


/* Scrollbar هادئ */
#orders .executive-orders-list{
  scrollbar-width:thin;
  scrollbar-color:
    rgba(65,150,170,.35)
    transparent;
}


/* ==========================================================
   DESKTOP WIDE
   ========================================================== */

@media(min-width:1350px){

  #orders .orders-grid{
    grid-template-columns:
      320px
      minmax(0,1fr) !important;
  }

}


/* ==========================================================
   MEDIUM
   ========================================================== */

@media(max-width:1050px){

  #orders .orders-grid{
    grid-template-columns:
      270px
      minmax(0,1fr) !important;

    gap:10px !important;
  }

}


/* ==========================================================
   MOBILE / TABLET
   نخلي منطقة العمل أولاً ثم قائمة الأوامر
   ========================================================== */

@media(max-width:800px){

  #orders .orders-grid{
    display:flex !important;
    flex-direction:column !important;

    direction:rtl !important;

    gap:10px !important;
  }


  #orders .order-workspace{
    order:1 !important;

    width:100% !important;
  }


  #orders .executive-orders-panel{
    order:2 !important;

    position:relative !important;
    top:auto !important;

    width:100% !important;
    max-height:none !important;
  }


  #orders .executive-orders-list{
    max-height:420px !important;
  }

}



/* ==========================================================
   V302 - ODOO-LIKE ORDER CONTROL BAR
   ========================================================== */

#orders .executive-wo-head{
  position:relative !important;

  min-height:106px !important;

  margin:0 0 12px !important;
  padding:12px 14px !important;

  display:grid !important;

  grid-template-columns:
    auto minmax(150px,1.1fr)
    minmax(130px,.8fr)
    minmax(150px,.9fr)
    minmax(260px,1.7fr) !important;

  grid-template-areas:
    "brand identity customer vehicle progress" !important;

  gap:10px !important;

  align-items:center !important;

  border-radius:18px !important;

  border:
    1px solid rgba(62,132,175,.40) !important;

  background:
    linear-gradient(
      145deg,
      rgba(8,31,52,.93),
      rgba(7,21,37,.97)
    ) !important;

  backdrop-filter:blur(15px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 12px 28px rgba(0,0,0,.18),
    0 0 20px rgba(38,201,189,.045) !important;

  overflow:hidden;
}


/* إضاءة Glass بسيطة */

#orders .executive-wo-head::before{
  content:"";

  position:absolute;

  width:240px;
  height:130px;

  top:-95px;
  right:-40px;

  border-radius:50%;

  background:
    radial-gradient(
      circle,
      rgba(50,224,207,.13),
      transparent 70%
    );

  pointer-events:none;
}


/* ==========================================================
   MERCEDES MARK
   ========================================================== */

#orders .mercedes-order-mark{
  grid-area:brand !important;

  width:54px !important;
  height:54px !important;
  min-width:54px !important;

  padding:7px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  border-radius:50% !important;

  border:
    1px solid rgba(141,180,211,.30) !important;

  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(255,255,255,.09),
      rgba(13,32,52,.88) 55%,
      rgba(6,17,30,.98)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 16px rgba(0,0,0,.20) !important;
}


#orders .mercedes-order-mark svg{
  width:38px !important;
  height:38px !important;
}


#orders .mercedes-order-mark circle,
#orders .mercedes-order-mark path{
  fill:none;

  stroke:#edf6ff;

  stroke-width:2.4;

  stroke-linecap:round;
  stroke-linejoin:round;
}


/* ==========================================================
   ORDER IDENTITY
   ========================================================== */

#orders .exec-wo-top{
  display:contents !important;
}


#orders .exec-wo-identity{
  grid-area:identity !important;

  min-width:0;

  text-align:right !important;
}


#orders .exec-wo-identity small{
  display:block !important;

  margin-bottom:3px;

  color:#6f8aa3 !important;

  font-size:8px !important;
  font-weight:700 !important;
}


#orders .exec-wo-identity #woNo{
  min-height:20px;

  margin:0 !important;

  direction:ltr !important;

  text-align:right !important;

  color:#ffffff !important;

  font-size:15px !important;
  font-weight:900 !important;

  white-space:nowrap;
}


/* لو مفيش رقم أمر ما يظهرش فراغ قبيح */
#orders .exec-wo-identity #woNo:empty{
  display:none !important;
}


#orders .exec-wo-identity #woSummary{
  margin:3px 0 0 !important;

  max-width:190px;

  overflow:hidden;

  color:#849bb1 !important;

  font-size:8px !important;

  white-space:nowrap;
  text-overflow:ellipsis;
}


/* Status pill */

#orders #woStatus{
  position:absolute !important;

  top:10px !important;
  right:76px !important;

  padding:5px 9px !important;

  border-radius:999px !important;

  font-size:7.5px !important;
  font-weight:900 !important;

  white-space:nowrap !important;
}


/* ==========================================================
   DETAILS BECOME SIMPLE CHIPS
   ========================================================== */

#orders .exec-wo-details{
  display:contents !important;
}


/* العميل */

#orders .exec-wo-details
.exec-detail-card:nth-child(1){
  grid-area:customer !important;
}


/* السيارة */

#orders .exec-wo-details
.exec-detail-card:nth-child(2){
  grid-area:vehicle !important;
}


/* تاريخ الإنشاء ليس مهمًا في Control Bar */
#orders .exec-wo-details
.exec-detail-card:nth-child(3){
  display:none !important;
}


#orders .exec-detail-card{
  min-height:58px !important;

  padding:8px 10px !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  gap:7px !important;

  border-radius:12px !important;

  border:
    1px solid rgba(67,113,154,.27) !important;

  background:
    rgba(17,39,62,.48) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02) !important;
}


#orders .exec-detail-icon{
  width:28px !important;
  height:28px !important;
  min-width:28px !important;

  border-radius:8px !important;

  background:
    rgba(63,128,181,.10) !important;

  color:#80bce9 !important;

  font-size:12px !important;
}


#orders .exec-detail-card small{
  color:#708ba3 !important;

  font-size:7px !important;
}


#orders .exec-detail-card b{
  margin:2px 0 !important;

  color:#e9f1f8 !important;

  font-size:9px !important;
  font-weight:800 !important;

  white-space:nowrap;

  overflow:hidden;
  text-overflow:ellipsis;
}


#orders .exec-detail-card div>span{
  color:#8ca2b6 !important;

  font-size:7.5px !important;

  white-space:nowrap;

  overflow:hidden;
  text-overflow:ellipsis;
}


/* ==========================================================
   SMALL ODOO-LIKE PROGRESS
   ========================================================== */

#orders .exec-order-progress{
  grid-area:progress !important;

  min-width:0 !important;

  margin:0 !important;
  padding:7px 10px !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  border-radius:12px !important;

  border:
    1px solid rgba(64,108,147,.25) !important;

  background:
    rgba(6,18,32,.38) !important;
}


#orders .exec-progress-step{
  min-width:34px !important;

  gap:3px !important;
}


#orders .exec-progress-step i{
  width:21px !important;
  height:21px !important;

  font-size:7px !important;
}


#orders .exec-progress-step b{
  font-size:6.5px !important;

  white-space:nowrap;
}


#orders .exec-progress-line{
  min-width:12px;

  margin:0 2px 11px !important;
}


/* ==========================================================
   REMOVE LEGACY CYCLE COMPLETELY
   ========================================================== */

#orders .order-workspace > .cycle{
  display:none !important;
}


/* ==========================================================
   LIGHT MODE
   ========================================================== */

body.light #orders .executive-wo-head,
body[data-theme="light"] #orders .executive-wo-head{
  border-color:#d2e1ed !important;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.96),
      rgba(244,249,253,.98)
    ) !important;

  box-shadow:
    0 8px 24px rgba(28,60,90,.07) !important;
}


body.light #orders .mercedes-order-mark,
body[data-theme="light"] #orders .mercedes-order-mark{
  border-color:#d1dee9 !important;

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #edf4f9
    ) !important;
}


body.light #orders .mercedes-order-mark circle,
body.light #orders .mercedes-order-mark path,
body[data-theme="light"] #orders .mercedes-order-mark circle,
body[data-theme="light"] #orders .mercedes-order-mark path{
  stroke:#18364f !important;
}


body.light #orders .exec-wo-identity #woNo,
body[data-theme="light"] #orders .exec-wo-identity #woNo{
  color:#102c45 !important;
}


body.light #orders .exec-detail-card,
body[data-theme="light"] #orders .exec-detail-card,
body.light #orders .exec-order-progress,
body[data-theme="light"] #orders .exec-order-progress{
  border-color:#dae6ef !important;

  background:
    rgba(247,251,254,.94) !important;
}


body.light #orders .exec-detail-card b,
body[data-theme="light"] #orders .exec-detail-card b{
  color:#17354e !important;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media(max-width:1100px){

  #orders .executive-wo-head{
    grid-template-columns:
      auto 1fr 1fr 1fr !important;

    grid-template-areas:
      "brand identity customer vehicle"
      "progress progress progress progress" !important;
  }

}


@media(max-width:700px){

  #orders .executive-wo-head{
    grid-template-columns:
      auto minmax(0,1fr) !important;

    grid-template-areas:
      "brand identity"
      "customer customer"
      "vehicle vehicle"
      "progress progress" !important;

    gap:7px !important;

    padding:10px !important;
  }


  #orders #woStatus{
    position:static !important;

    width:max-content;

    margin-top:5px !important;
  }


  #orders .exec-detail-card{
    min-height:48px !important;
  }


  #orders .exec-order-progress{
    overflow-x:auto !important;

    justify-content:flex-start !important;
  }

}



/* ==========================================================
   V303 - ODOO STYLE MASTER WORK-ORDER LIST
   ========================================================== */


/* ==========================================================
   PANEL
   ========================================================== */

#orders .executive-orders-panel{
  padding:12px !important;

  border-radius:16px !important;

  border:
    1px solid rgba(64,120,162,.32) !important;

  background:
    linear-gradient(
      180deg,
      rgba(9,29,49,.98),
      rgba(7,21,37,.99)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 10px 26px rgba(0,0,0,.17) !important;
}


/* ==========================================================
   TITLE
   ========================================================== */

#orders .exec-orders-title{
  min-height:48px;

  margin:0 0 9px !important;
  padding:2px 2px 8px !important;

  border-bottom:
    1px solid rgba(75,116,151,.16);
}


#orders .exec-orders-title > div{
  gap:8px !important;
}


#orders .exec-title-icon{
  width:31px !important;
  height:31px !important;

  flex:0 0 31px;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  border-radius:9px !important;

  border:
    1px solid rgba(48,214,195,.20) !important;

  background:
    rgba(39,192,177,.07) !important;

  color:#59e4d3 !important;

  font-size:13px !important;
}


#orders .exec-orders-title h2{
  margin:0 !important;

  color:#f4f8fb !important;

  font-size:13px !important;
  font-weight:900 !important;
}


#orders .exec-orders-title small{
  margin-top:2px !important;

  color:#718aa1 !important;

  font-size:7.5px !important;
  font-weight:600 !important;
}


#orders .exec-orders-count{
  min-width:28px !important;
  width:auto !important;
  height:28px !important;

  padding:0 8px !important;

  border-radius:9px !important;

  border:
    1px solid rgba(74,124,167,.22) !important;

  background:
    rgba(19,45,72,.80) !important;

  color:#a9c2d7 !important;

  font-size:9px !important;
  font-weight:900 !important;
}


/* ==========================================================
   SEARCH
   ========================================================== */

#orders .exec-order-search{
  height:40px !important;

  margin:0 0 8px !important;

  padding:0 10px !important;

  border-radius:10px !important;

  border:
    1px solid rgba(74,125,171,.37) !important;

  background:
    rgba(7,23,39,.74) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02) !important;
}


#orders .exec-order-search:focus-within{
  border-color:
    rgba(48,214,198,.68) !important;

  box-shadow:
    0 0 0 3px rgba(48,214,198,.055) !important;
}


#orders .exec-order-search > span{
  margin-left:6px !important;

  color:#76a9d1 !important;

  font-size:17px !important;
}


#orders .exec-order-search input{
  height:38px !important;

  padding:0 !important;

  border:0 !important;

  background:transparent !important;

  color:#e4edf5 !important;

  font-size:9px !important;
  font-weight:600 !important;

  text-align:right !important;
}


#orders .exec-order-search input::placeholder{
  color:#71899f !important;
}


/* ==========================================================
   FILTERS
   ========================================================== */

#orders .exec-order-filters{
  display:grid !important;

  grid-template-columns:
    repeat(4,minmax(0,1fr)) !important;

  gap:5px !important;

  margin:0 0 10px !important;
}


#orders .exec-filter{
  height:30px !important;

  padding:0 4px !important;

  border-radius:8px !important;

  border:
    1px solid rgba(69,112,151,.30) !important;

  background:
    rgba(16,38,61,.78) !important;

  color:#91a9bd !important;

  font-size:7.5px !important;
  font-weight:800 !important;

  box-shadow:none !important;
}


#orders .exec-filter:hover{
  border-color:
    rgba(43,204,187,.42) !important;

  color:#c3e8e3 !important;
}


#orders .exec-filter.active{
  border-color:
    rgba(48,218,200,.58) !important;

  background:
    linear-gradient(
      180deg,
      rgba(46,211,195,.96),
      rgba(24,175,161,.96)
    ) !important;

  color:#052a26 !important;

  box-shadow:
    0 5px 13px rgba(32,187,171,.12) !important;
}


/* ==========================================================
   ORDER LIST
   ========================================================== */

#orders .executive-orders-list{
  max-height:
    calc(100vh - 270px) !important;

  padding:1px 2px 8px !important;

  overflow-y:auto !important;

  scrollbar-width:thin;
}


/* ==========================================================
   COMPACT WORK ORDER CARD
   ========================================================== */

#orders .executive-order-card{
  position:relative !important;

  min-height:108px !important;

  margin:0 0 7px !important;
  padding:10px !important;

  border-radius:12px !important;

  border:
    1px solid rgba(68,107,143,.35) !important;

  background:
    linear-gradient(
      145deg,
      rgba(13,33,54,.96),
      rgba(8,23,40,.98)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 5px 13px rgba(0,0,0,.12) !important;

  overflow:hidden !important;

  transition:
    transform .15s ease,
    border-color .15s ease,
    box-shadow .15s ease !important;
}


#orders .executive-order-card:hover{
  transform:translateY(-1px) !important;

  border-color:
    rgba(66,176,170,.48) !important;
}


/* Selected مثل Odoo */
#orders .executive-order-card.active{
  border-color:
    rgba(45,218,199,.82) !important;

  background:
    linear-gradient(
      145deg,
      rgba(8,57,64,.92),
      rgba(8,29,43,.99)
    ) !important;

  box-shadow:
    inset 3px 0 0 #30d9c6,
    inset 0 1px 0 rgba(255,255,255,.04),
    0 6px 16px rgba(0,0,0,.16),
    0 0 15px rgba(48,217,198,.06) !important;
}


/* ==========================================================
   CARD TYPOGRAPHY
   ========================================================== */

#orders .exec-card-top{
  gap:6px !important;
}


#orders .exec-order-number{
  gap:5px !important;
}


#orders .exec-order-number b{
  color:#f1f6fa !important;

  font-size:9.5px !important;
  font-weight:900 !important;
}


#orders .exec-mb-mark{
  width:23px !important;
  height:23px !important;

  flex:0 0 23px !important;

  font-size:9px !important;
}


/* Status badge */

#orders .exec-stage-badge{
  padding:4px 7px !important;

  font-size:6.8px !important;
  font-weight:900 !important;
}


#orders .exec-stage-badge i{
  width:5px !important;
  height:5px !important;
}


/* Vehicle */

#orders .exec-card-vehicle{
  margin:7px 0 5px !important;

  padding-right:28px !important;
}


#orders .exec-card-vehicle strong{
  color:#cbd8e4 !important;

  font-size:8px !important;
}


#orders .exec-card-vehicle span{
  color:#839bb1 !important;

  font-size:7px !important;
}


/* Customer */

#orders .exec-card-meta{
  padding-right:28px !important;
}


#orders .exec-card-customer{
  gap:4px !important;
}


#orders .exec-card-customer b{
  color:#aebfd0 !important;

  font-size:7.5px !important;
}


#orders .exec-card-status{
  color:#738aa0 !important;

  font-size:6.5px !important;
}


/* Footer */

#orders .exec-card-footer{
  margin-top:6px !important;
  padding-top:6px !important;

  font-size:6.5px !important;
}


/* ==========================================================
   THREE STATUS COLORS
   Reception = turquoise
   Working = red
   Done = green
   ========================================================== */


/* Reception */

#orders .executive-order-card.stage-reception{
  border-right:
    3px solid rgba(44,211,201,.72) !important;
}


#orders .exec-stage-badge.stage-reception{
  color:#68ebe1 !important;

  border-color:
    rgba(43,211,199,.28) !important;

  background:
    rgba(43,211,199,.075) !important;
}


/* Service / Store / Accounts */

#orders .executive-order-card.stage-service,
#orders .executive-order-card.stage-store,
#orders .executive-order-card.stage-accounts{
  border-right:
    3px solid rgba(237,82,114,.74) !important;
}


#orders .exec-stage-badge.stage-service,
#orders .exec-stage-badge.stage-store,
#orders .exec-stage-badge.stage-accounts{
  color:#fb8aa2 !important;

  border-color:
    rgba(237,82,114,.27) !important;

  background:
    rgba(237,82,114,.07) !important;
}


/* Paid */

#orders .executive-order-card.stage-done{
  border-right:
    3px solid rgba(49,211,161,.76) !important;
}


#orders .exec-stage-badge.stage-done{
  color:#74e9bf !important;

  border-color:
    rgba(49,211,161,.27) !important;

  background:
    rgba(49,211,161,.07) !important;
}


/* ==========================================================
   EMPTY STATE
   ========================================================== */

#orders .exec-orders-empty{
  min-height:100px;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:18px 8px !important;

  border:
    1px dashed rgba(78,119,155,.26);

  border-radius:11px;

  color:#728aa0 !important;

  font-size:8px !important;

  background:
    rgba(7,22,38,.30);
}


/* ==========================================================
   LIGHT MODE
   ========================================================== */

body.light #orders .executive-orders-panel,
body[data-theme="light"] #orders .executive-orders-panel{
  border-color:#d5e2ec !important;

  background:
    linear-gradient(
      180deg,
      #ffffff,
      #f5f9fc
    ) !important;

  box-shadow:
    0 8px 22px rgba(29,59,87,.065) !important;
}


body.light #orders .exec-orders-title h2,
body[data-theme="light"] #orders .exec-orders-title h2{
  color:#142f46 !important;
}


body.light #orders .exec-order-search,
body[data-theme="light"] #orders .exec-order-search{
  border-color:#d2e1ec !important;

  background:#ffffff !important;
}


body.light #orders .exec-order-search input,
body[data-theme="light"] #orders .exec-order-search input{
  color:#18354d !important;
}


body.light #orders .exec-filter,
body[data-theme="light"] #orders .exec-filter{
  border-color:#d7e3ec !important;

  background:#f7fafc !important;

  color:#526b81 !important;
}


body.light #orders .executive-order-card,
body[data-theme="light"] #orders .executive-order-card{
  border-color:#d7e3ec !important;

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f7fafc
    ) !important;

  box-shadow:
    0 4px 12px rgba(27,57,84,.05) !important;
}


body.light #orders .exec-order-number b,
body[data-theme="light"] #orders .exec-order-number b{
  color:#18354d !important;
}


body.light #orders .exec-card-vehicle strong,
body[data-theme="light"] #orders .exec-card-vehicle strong{
  color:#38546b !important;
}


body.light #orders .exec-card-customer b,
body[data-theme="light"] #orders .exec-card-customer b{
  color:#536c81 !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:800px){

  #orders .executive-orders-list{
    max-height:360px !important;
  }


  #orders .executive-orders-panel{
    padding:10px !important;
  }


  #orders .executive-order-card{
    min-height:100px !important;
  }

}



/* ==========================================================
   V304 - ODOO STYLE ORDERS ACTION BAR
   ========================================================== */

#orders > .orders-actionbar{
  position:relative !important;

  min-height:68px !important;

  margin:0 0 11px !important;
  padding:10px 14px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;

  gap:16px !important;

  border:0 !important;
  border-bottom:
    1px solid rgba(73,112,148,.18) !important;

  border-radius:0 !important;

  background:transparent !important;

  box-shadow:none !important;
}


/* العنوان */

#orders .orders-actionbar-title{
  min-width:0;

  display:flex;
  flex-direction:column;

  align-items:flex-start;

  gap:1px;
}


#orders .orders-actionbar-title > small{
  color:#43cfc0 !important;

  font-size:7.5px !important;
  font-weight:900 !important;

  line-height:1.2 !important;
}


#orders .orders-actionbar-title > h1{
  margin:0 !important;

  color:#f4f8fb !important;

  font-size:20px !important;
  font-weight:900 !important;

  line-height:1.25 !important;
}


#orders .orders-actionbar-title > p{
  margin:2px 0 0 !important;

  color:#8198ad !important;

  font-size:8.5px !important;
  font-weight:600 !important;

  line-height:1.45 !important;
}


/* إنشاء أمر */

#orders .orders-create-btn{
  flex:0 0 auto !important;

  min-width:112px !important;
  height:38px !important;

  margin:0 !important;
  padding:0 13px !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  gap:6px !important;

  border-radius:9px !important;

  border:
    1px solid rgba(51,218,199,.58) !important;

  background:
    linear-gradient(
      180deg,
      #38ddc9,
      #1bb5a4
    ) !important;

  color:#052c27 !important;

  font-size:9.5px !important;
  font-weight:900 !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.20),
    0 6px 15px rgba(28,183,165,.15) !important;

  transition:
    transform .16s ease,
    box-shadow .16s ease !important;
}


#orders .orders-create-btn > span{
  font-size:14px !important;

  line-height:1 !important;
}


#orders .orders-create-btn:hover{
  transform:translateY(-1px) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    0 8px 18px rgba(28,183,165,.22) !important;
}


/* ==========================================================
   MORE COMPACT VERTICAL RHYTHM
   ========================================================== */

/* تقليل المسافة بين Action Bar والمحتوى */
#orders .orders-grid{
  margin-top:0 !important;
}


/* نفس المحاذاة بين القائمة ومنطقة العمل */
#orders .executive-orders-panel,
#orders .order-workspace{
  margin-top:0 !important;
}


/* ==========================================================
   LIGHT MODE
   ========================================================== */

body.light #orders > .orders-actionbar,
body[data-theme="light"] #orders > .orders-actionbar{
  border-bottom-color:#dce7ef !important;

  background:transparent !important;
}


body.light #orders .orders-actionbar-title > h1,
body[data-theme="light"] #orders .orders-actionbar-title > h1{
  color:#17344d !important;
}


body.light #orders .orders-actionbar-title > p,
body[data-theme="light"] #orders .orders-actionbar-title > p{
  color:#667d91 !important;
}


body.light #orders .orders-actionbar-title > small,
body[data-theme="light"] #orders .orders-actionbar-title > small{
  color:#169c91 !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:700px){

  #orders > .orders-actionbar{
    min-height:auto !important;

    padding:9px 4px 11px !important;

    align-items:flex-start !important;

    gap:10px !important;
  }


  #orders .orders-actionbar-title > h1{
    font-size:17px !important;
  }


  #orders .orders-actionbar-title > p{
    max-width:220px;

    font-size:7.8px !important;
  }


  #orders .orders-create-btn{
    min-width:92px !important;
    height:36px !important;

    padding:0 9px !important;

    font-size:8.5px !important;
  }

}


/* ==========================================================
   V305 - UNIFIED ODOO-LIKE ROLE DASHBOARDS
   Reception / Service / Store / Accounts
   ========================================================== */

#receptionDesk,
#engineerDesk,
#storeDesk,
#accountsDesk{
  --role-accent:#31d7c3;
  --role-accent-soft:rgba(49,215,195,.08);

  padding-top:10px !important;
}

/* ==========================================================
   PAGE HEADER
   ========================================================== */

#receptionDesk > .page-head,
#engineerDesk > .page-head,
#storeDesk > .page-head,
#accountsDesk > .page-head{
  min-height:67px !important;

  margin:0 0 10px !important;
  padding:9px 4px 11px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:15px !important;

  border:0 !important;
  border-bottom:1px solid rgba(73,112,148,.16) !important;

  border-radius:0 !important;

  background:transparent !important;
  box-shadow:none !important;
}

#receptionDesk > .page-head > div,
#engineerDesk > .page-head > div,
#storeDesk > .page-head > div,
#accountsDesk > .page-head > div{
  min-width:0;

  display:flex;
  flex-direction:column;
  align-items:flex-start;

  gap:2px;
}

/* page title */
#receptionDesk > .page-head h1,
#engineerDesk > .page-head h1,
#storeDesk > .page-head h1,
#accountsDesk > .page-head h1{
  margin:0 !important;

  color:#f4f8fb !important;

  font-size:20px !important;
  font-weight:900 !important;
  line-height:1.25 !important;
}

/* page explanation */
#receptionDesk > .page-head p,
#engineerDesk > .page-head p,
#storeDesk > .page-head p,
#accountsDesk > .page-head p{
  margin:2px 0 0 !important;

  color:#8299ae !important;

  font-size:8.5px !important;
  font-weight:600 !important;

  line-height:1.5 !important;
}

/* ==========================================================
   HEADER ACTION BUTTONS
   ========================================================== */

#receptionDesk > .page-head button,
#engineerDesk > .page-head button,
#storeDesk > .page-head button,
#accountsDesk > .page-head button{
  flex:0 0 auto;

  min-width:105px !important;
  height:37px !important;

  padding:0 13px !important;

  border-radius:9px !important;

  font-size:9px !important;
  font-weight:900 !important;
}

#receptionDesk > .page-head .primary{
  border:1px solid rgba(47,218,199,.48) !important;

  background:
    linear-gradient(
      180deg,
      #39ddc9,
      #1db7a6
    ) !important;

  color:#052c27 !important;

  box-shadow:
    0 6px 15px rgba(27,184,166,.15) !important;
}


/* ==========================================================
   PIPELINE
   ========================================================== */

#receptionDesk .live-pipeline,
#engineerDesk .live-pipeline,
#storeDesk .live-pipeline,
#accountsDesk .live-pipeline{
  display:grid !important;

  grid-template-columns:
    repeat(5,minmax(0,1fr)) !important;

  gap:5px !important;

  margin:0 0 9px !important;

  padding:6px !important;

  border-radius:13px !important;

  border:1px solid rgba(65,109,149,.24) !important;

  background:
    rgba(7,22,38,.42) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.018) !important;
}


/* pipeline cards */
#receptionDesk .pipeline-step,
#engineerDesk .pipeline-step,
#storeDesk .pipeline-step,
#accountsDesk .pipeline-step{
  position:relative;

  min-height:63px !important;

  padding:7px 6px !important;

  display:flex !important;
  flex-direction:column !important;

  align-items:center !important;
  justify-content:center !important;

  gap:2px !important;

  text-align:center !important;

  border-radius:10px !important;

  border:1px solid rgba(70,110,148,.25) !important;

  background:
    linear-gradient(
      145deg,
      rgba(16,38,62,.76),
      rgba(10,28,47,.82)
    ) !important;

  box-shadow:none !important;
}


/* stage number */
#receptionDesk .pipeline-step > span,
#engineerDesk .pipeline-step > span,
#storeDesk .pipeline-step > span,
#accountsDesk .pipeline-step > span{
  width:20px !important;
  height:20px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  border-radius:50% !important;

  background:#17314e !important;

  color:#a8c1d8 !important;

  font-size:7px !important;
  font-weight:900 !important;
}


/* stage name */
#receptionDesk .pipeline-step > b,
#engineerDesk .pipeline-step > b,
#storeDesk .pipeline-step > b,
#accountsDesk .pipeline-step > b{
  color:#e6eef5 !important;

  font-size:8.5px !important;
  font-weight:900 !important;

  line-height:1.2 !important;
}


/* cars count */
#receptionDesk .pipeline-step > small,
#engineerDesk .pipeline-step > small,
#storeDesk .pipeline-step > small,
#accountsDesk .pipeline-step > small{
  color:#7891a7 !important;

  font-size:7px !important;
  font-weight:700 !important;
}


/* arrows quieter */
#receptionDesk .pipeline-step > i,
#engineerDesk .pipeline-step > i,
#storeDesk .pipeline-step > i,
#accountsDesk .pipeline-step > i{
  position:absolute;

  left:-6px;
  top:50%;

  transform:translateY(-50%);

  color:#557088 !important;

  font-size:9px !important;
}


/* active/non-zero pipeline stage */
#receptionDesk .pipeline-step.has-orders,
#engineerDesk .pipeline-step.has-orders,
#storeDesk .pipeline-step.has-orders,
#accountsDesk .pipeline-step.has-orders{
  border-color:rgba(47,213,195,.48) !important;

  background:
    linear-gradient(
      145deg,
      rgba(8,62,67,.73),
      rgba(8,30,44,.92)
    ) !important;
}

#receptionDesk .pipeline-step.has-orders > span,
#engineerDesk .pipeline-step.has-orders > span,
#storeDesk .pipeline-step.has-orders > span,
#accountsDesk .pipeline-step.has-orders > span{
  background:#35d6c2 !important;
  color:#062d28 !important;
}

#receptionDesk .pipeline-step.has-orders > b,
#engineerDesk .pipeline-step.has-orders > b,
#storeDesk .pipeline-step.has-orders > b,
#accountsDesk .pipeline-step.has-orders > b{
  color:#ffffff !important;
}


/* ==========================================================
   LIVE TRACKING TABLE
   ========================================================== */

#receptionDesk .live-car-tracking,
#engineerDesk .live-car-tracking,
#storeDesk .live-car-tracking,
#accountsDesk .live-car-tracking{
  margin:0 0 10px !important;

  border-radius:12px !important;

  border:1px solid rgba(62,105,145,.24) !important;

  background:
    rgba(7,22,38,.45) !important;

  overflow:hidden !important;

  box-shadow:none !important;
}


/* heading */
#receptionDesk .tracking-title,
#engineerDesk .tracking-title,
#storeDesk .tracking-title,
#accountsDesk .tracking-title{
  min-height:38px !important;

  padding:0 12px !important;

  display:flex !important;
  align-items:center !important;

  border-bottom:
    1px solid rgba(71,109,144,.17) !important;

  color:#a9bdcf !important;

  font-size:8.5px !important;
  font-weight:800 !important;
}


/* each car */
#receptionDesk .tracking-car,
#engineerDesk .tracking-car,
#storeDesk .tracking-car,
#accountsDesk .tracking-car{
  position:relative;

  min-height:42px !important;

  padding:7px 12px !important;

  display:grid !important;

  grid-template-columns:
    1.25fr 1fr 1fr .7fr !important;

  gap:9px !important;

  align-items:center !important;

  border:0 !important;
  border-bottom:
    1px solid rgba(70,104,137,.11) !important;

  border-radius:0 !important;

  background:transparent !important;
}


/* text */
#receptionDesk .tracking-car b,
#engineerDesk .tracking-car b,
#storeDesk .tracking-car b,
#accountsDesk .tracking-car b{
  direction:ltr;

  color:#eaf1f7 !important;

  font-size:8.5px !important;
  font-weight:900 !important;
}

#receptionDesk .tracking-car span,
#engineerDesk .tracking-car span,
#storeDesk .tracking-car span,
#accountsDesk .tracking-car span{
  color:#9cafc1 !important;

  font-size:7.5px !important;
}

#receptionDesk .tracking-car strong,
#engineerDesk .tracking-car strong,
#storeDesk .tracking-car strong,
#accountsDesk .tracking-car strong{
  font-size:7.5px !important;
  font-weight:900 !important;
}


/* ==========================================================
   THREE COLORS
   ========================================================== */

/* Reception */
#receptionDesk .tracking-car.stage-reception,
#engineerDesk .tracking-car.stage-reception,
#storeDesk .tracking-car.stage-reception,
#accountsDesk .tracking-car.stage-reception{
  box-shadow:
    inset -3px 0 0 #32d8ce !important;
}

/* Processing */
#receptionDesk .tracking-car.stage-service,
#receptionDesk .tracking-car.stage-store,
#receptionDesk .tracking-car.stage-accounts,
#engineerDesk .tracking-car.stage-service,
#engineerDesk .tracking-car.stage-store,
#engineerDesk .tracking-car.stage-accounts,
#storeDesk .tracking-car.stage-service,
#storeDesk .tracking-car.stage-store,
#storeDesk .tracking-car.stage-accounts,
#accountsDesk .tracking-car.stage-service,
#accountsDesk .tracking-car.stage-store,
#accountsDesk .tracking-car.stage-accounts{
  box-shadow:
    inset -3px 0 0 #ed5878 !important;
}

/* Paid */
#receptionDesk .tracking-car.stage-paid,
#engineerDesk .tracking-car.stage-paid,
#storeDesk .tracking-car.stage-paid,
#accountsDesk .tracking-car.stage-paid{
  box-shadow:
    inset -3px 0 0 #35d6a3 !important;
}


/* ==========================================================
   KPI CARDS
   ========================================================== */

#receptionDesk .role-kpi-grid,
#engineerDesk .role-kpi-grid,
#storeDesk .role-kpi-grid,
#accountsDesk .role-kpi-grid{
  display:grid !important;

  grid-template-columns:
    repeat(3,minmax(0,1fr)) !important;

  gap:7px !important;

  margin:0 0 10px !important;
}


#receptionDesk .role-kpi-grid > div,
#engineerDesk .role-kpi-grid > div,
#storeDesk .role-kpi-grid > div,
#accountsDesk .role-kpi-grid > div{
  min-height:57px !important;

  padding:7px 10px !important;

  display:flex !important;
  flex-direction:column !important;

  align-items:center !important;
  justify-content:center !important;

  text-align:center !important;

  border-radius:11px !important;

  border:
    1px solid rgba(66,108,147,.25) !important;

  background:
    linear-gradient(
      145deg,
      rgba(15,37,60,.79),
      rgba(9,27,46,.86)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02) !important;
}


#receptionDesk .role-kpi-grid b,
#engineerDesk .role-kpi-grid b,
#storeDesk .role-kpi-grid b,
#accountsDesk .role-kpi-grid b{
  color:#f3f7fa !important;

  font-size:16px !important;
  font-weight:900 !important;
}


#receptionDesk .role-kpi-grid small,
#engineerDesk .role-kpi-grid small,
#storeDesk .role-kpi-grid small,
#accountsDesk .role-kpi-grid small{
  margin-top:2px !important;

  color:#8199ae !important;

  font-size:7.5px !important;
  font-weight:700 !important;
}


/* ==========================================================
   ROLE ORDER GRID
   ========================================================== */

#receptionDesk .role-order-grid,
#engineerDesk .role-order-grid,
#storeDesk .role-order-grid,
#accountsDesk .role-order-grid{
  display:grid !important;

  grid-template-columns:
    repeat(2,minmax(0,1fr)) !important;

  gap:9px !important;
}


/* ==========================================================
   LIGHT MODE
   ========================================================== */

body.light #receptionDesk > .page-head h1,
body.light #engineerDesk > .page-head h1,
body.light #storeDesk > .page-head h1,
body.light #accountsDesk > .page-head h1,
body[data-theme="light"] #receptionDesk > .page-head h1,
body[data-theme="light"] #engineerDesk > .page-head h1,
body[data-theme="light"] #storeDesk > .page-head h1,
body[data-theme="light"] #accountsDesk > .page-head h1{
  color:#18364f !important;
}


body.light #receptionDesk .live-pipeline,
body.light #engineerDesk .live-pipeline,
body.light #storeDesk .live-pipeline,
body.light #accountsDesk .live-pipeline,
body[data-theme="light"] #receptionDesk .live-pipeline,
body[data-theme="light"] #engineerDesk .live-pipeline,
body[data-theme="light"] #storeDesk .live-pipeline,
body[data-theme="light"] #accountsDesk .live-pipeline{
  border-color:#d9e5ee !important;

  background:#f5f9fc !important;
}


body.light #receptionDesk .pipeline-step,
body.light #engineerDesk .pipeline-step,
body.light #storeDesk .pipeline-step,
body.light #accountsDesk .pipeline-step,
body[data-theme="light"] #receptionDesk .pipeline-step,
body[data-theme="light"] #engineerDesk .pipeline-step,
body[data-theme="light"] #storeDesk .pipeline-step,
body[data-theme="light"] #accountsDesk .pipeline-step{
  border-color:#dbe6ef !important;

  background:#ffffff !important;
}


body.light #receptionDesk .pipeline-step > b,
body.light #engineerDesk .pipeline-step > b,
body.light #storeDesk .pipeline-step > b,
body.light #accountsDesk .pipeline-step > b,
body[data-theme="light"] #receptionDesk .pipeline-step > b,
body[data-theme="light"] #engineerDesk .pipeline-step > b,
body[data-theme="light"] #storeDesk .pipeline-step > b,
body[data-theme="light"] #accountsDesk .pipeline-step > b{
  color:#244158 !important;
}


body.light #receptionDesk .live-car-tracking,
body.light #engineerDesk .live-car-tracking,
body.light #storeDesk .live-car-tracking,
body.light #accountsDesk .live-car-tracking,
body[data-theme="light"] #receptionDesk .live-car-tracking,
body[data-theme="light"] #engineerDesk .live-car-tracking,
body[data-theme="light"] #storeDesk .live-car-tracking,
body[data-theme="light"] #accountsDesk .live-car-tracking{
  border-color:#dae5ee !important;

  background:#ffffff !important;
}


body.light #receptionDesk .tracking-car b,
body.light #engineerDesk .tracking-car b,
body.light #storeDesk .tracking-car b,
body.light #accountsDesk .tracking-car b,
body[data-theme="light"] #receptionDesk .tracking-car b,
body[data-theme="light"] #engineerDesk .tracking-car b,
body[data-theme="light"] #storeDesk .tracking-car b,
body[data-theme="light"] #accountsDesk .tracking-car b{
  color:#1a3851 !important;
}


body.light #receptionDesk .role-kpi-grid > div,
body.light #engineerDesk .role-kpi-grid > div,
body.light #storeDesk .role-kpi-grid > div,
body.light #accountsDesk .role-kpi-grid > div,
body[data-theme="light"] #receptionDesk .role-kpi-grid > div,
body[data-theme="light"] #engineerDesk .role-kpi-grid > div,
body[data-theme="light"] #storeDesk .role-kpi-grid > div,
body[data-theme="light"] #accountsDesk .role-kpi-grid > div{
  border-color:#dbe6ef !important;

  background:#ffffff !important;
}


body.light #receptionDesk .role-kpi-grid b,
body.light #engineerDesk .role-kpi-grid b,
body.light #storeDesk .role-kpi-grid b,
body.light #accountsDesk .role-kpi-grid b,
body[data-theme="light"] #receptionDesk .role-kpi-grid b,
body[data-theme="light"] #engineerDesk .role-kpi-grid b,
body[data-theme="light"] #storeDesk .role-kpi-grid b,
body[data-theme="light"] #accountsDesk .role-kpi-grid b{
  color:#17354e !important;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media(max-width:900px){

  #receptionDesk .role-order-grid,
  #engineerDesk .role-order-grid,
  #storeDesk .role-order-grid,
  #accountsDesk .role-order-grid{
    grid-template-columns:1fr !important;
  }

}


@media(max-width:700px){

  #receptionDesk .live-pipeline,
  #engineerDesk .live-pipeline,
  #storeDesk .live-pipeline,
  #accountsDesk .live-pipeline{
    display:flex !important;

    overflow-x:auto !important;

    padding-bottom:7px !important;
  }


  #receptionDesk .pipeline-step,
  #engineerDesk .pipeline-step,
  #storeDesk .pipeline-step,
  #accountsDesk .pipeline-step{
    flex:0 0 105px !important;
  }


  #receptionDesk .role-kpi-grid,
  #engineerDesk .role-kpi-grid,
  #storeDesk .role-kpi-grid,
  #accountsDesk .role-kpi-grid{
    grid-template-columns:repeat(3,1fr) !important;
  }


  #receptionDesk .tracking-car,
  #engineerDesk .tracking-car,
  #storeDesk .tracking-car,
  #accountsDesk .tracking-car{
    grid-template-columns:1fr 1fr !important;

    gap:4px 8px !important;
  }

}



/* ==========================================================
   V306 - PROFESSIONAL ODOO-LIKE SIDEBAR
   ========================================================== */

:root{
  --side-rail:76px;
  --side-open:238px;
}


/* ==========================================================
   DESKTOP GRID
   ========================================================== */

@media(min-width:901px){

  #appView.app{
    grid-template-columns:
      var(--side-rail) minmax(0,1fr) !important;
  }


  html[dir="rtl"] #appView.app{
    grid-template-columns:
      var(--side-rail) minmax(0,1fr) !important;
  }


  aside#side{
    position:sticky !important;
    top:0 !important;

    justify-self:end !important;

    width:var(--side-rail) !important;
    min-width:var(--side-rail) !important;

    height:100vh !important;

    padding:12px 9px !important;

    overflow-x:hidden !important;
    overflow-y:auto !important;

    z-index:50 !important;

    background:
      linear-gradient(
        180deg,
        #08182a 0%,
        #0a1d32 56%,
        #081725 100%
      ) !important;

    border-left:
      1px solid rgba(77,126,170,.20) !important;

    box-shadow:
      -8px 0 25px rgba(0,0,0,.12) !important;

    transition:
      width .20s ease,
      box-shadow .20s ease !important;
  }


  html[dir="rtl"] aside#side:hover{
    width:var(--side-open) !important;

    box-shadow:
      -18px 0 42px rgba(0,0,0,.22) !important;
  }

}


/* ==========================================================
   LOGO
   ========================================================== */

aside#side .sidebar-logo{
  width:56px !important;
  height:56px !important;

  margin:0 auto 8px !important;

  border-radius:15px !important;

  overflow:hidden !important;

  flex:none !important;

  background:#03070b !important;

  border:
    1px solid rgba(255,255,255,.055) !important;

  box-shadow:
    0 8px 22px rgba(0,0,0,.18) !important;

  transition:
    width .2s ease,
    height .2s ease !important;
}


aside#side .sidebar-logo img{
  width:100% !important;
  height:100% !important;

  object-fit:cover !important;
}


@media(min-width:901px){

  aside#side:hover .sidebar-logo{
    width:118px !important;
    height:79px !important;
  }

}


/* ==========================================================
   BRAND
   ========================================================== */

aside#side .brand{
  min-height:48px !important;

  padding:4px 4px 10px !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  text-align:center !important;

  overflow:hidden !important;
}


aside#side .brand>b{
  display:none !important;
}


aside#side .brand>div{
  min-width:0 !important;
}


aside#side .brand strong{
  display:block !important;

  color:#f4f8fb !important;

  font-size:12px !important;
  font-weight:900 !important;

  line-height:1.35 !important;

  white-space:nowrap !important;
}


aside#side .brand small{
  display:block !important;

  margin-top:2px !important;

  color:#6e88a1 !important;

  font-size:8px !important;

  white-space:nowrap !important;
}


@media(min-width:901px){

  aside#side:not(:hover) .brand{
    height:0 !important;
    min-height:0 !important;

    padding:0 !important;

    opacity:0 !important;
  }

}


/* ==========================================================
   NAV
   ========================================================== */

#side .app-nav{
  display:flex !important;

  flex-direction:column !important;

  gap:5px !important;

  padding:5px 0 !important;
}


#side .app-nav .nav,
#side .app-nav .support-nav-card{
  position:relative !important;

  width:100% !important;
  height:46px !important;
  min-height:46px !important;

  margin:0 !important;
  padding:0 10px !important;

  display:flex !important;

  align-items:center !important;

  justify-content:flex-start !important;

  gap:10px !important;

  border-radius:11px !important;

  border:
    1px solid transparent !important;

  background:
    transparent !important;

  color:#8da4bb !important;

  box-shadow:none !important;

  text-align:right !important;

  cursor:pointer !important;

  overflow:hidden !important;

  transition:
    background .15s ease,
    color .15s ease,
    border-color .15s ease !important;
}


/* icon */

#side .nav-icon{
  width:30px !important;
  height:30px !important;

  min-width:30px !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  border-radius:9px !important;

  background:
    rgba(72,111,150,.09) !important;

  color:#8db0cf !important;

  transition:.15s ease !important;
}


#side .nav-icon svg{
  width:17px !important;
  height:17px !important;

  fill:none !important;

  stroke:currentColor !important;

  stroke-width:1.7 !important;

  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}


/* label */

#side .nav-label{
  flex:1 !important;

  min-width:0;

  color:inherit !important;

  font-size:10px !important;
  font-weight:800 !important;

  line-height:1.3 !important;

  text-align:right !important;

  white-space:nowrap !important;

  opacity:1 !important;

  transition:
    opacity .14s ease !important;
}


/* desktop collapsed */

@media(min-width:901px){

  #side:not(:hover) .app-nav .nav,
  #side:not(:hover) .app-nav .support-nav-card{
    justify-content:center !important;

    padding:0 !important;
  }


  #side:not(:hover) .nav-label{
    display:none !important;
  }

}


/* hover */

#side .app-nav .nav:hover,
#side .app-nav .support-nav-card:hover{
  border-color:
    rgba(64,135,173,.24) !important;

  background:
    rgba(24,55,83,.68) !important;

  color:#dcebf7 !important;
}


#side .app-nav .nav:hover .nav-icon,
#side .app-nav .support-nav-card:hover .nav-icon{
  background:
    rgba(47,203,188,.10) !important;

  color:#65dfd2 !important;
}


/* active */

#side .app-nav .nav.active{
  border-color:
    rgba(47,215,198,.42) !important;

  background:
    linear-gradient(
      135deg,
      rgba(40,205,190,.96),
      rgba(26,174,162,.96)
    ) !important;

  color:#062d29 !important;

  box-shadow:
    0 7px 18px rgba(30,184,169,.14) !important;
}


#side .app-nav .nav.active .nav-icon{
  background:
    rgba(255,255,255,.17) !important;

  color:#07312c !important;
}


/* ==========================================================
   BADGES
   ========================================================== */

#side .nav-badge{
  position:absolute !important;

  top:6px !important;
  left:6px !important;

  min-width:17px !important;
  height:17px !important;

  padding:0 4px !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  border-radius:999px !important;

  border:
    2px solid #0a1d32 !important;

  background:#ef5a70 !important;

  color:#ffffff !important;

  font-size:7px !important;
  font-weight:900 !important;

  line-height:1 !important;

  box-shadow:
    0 3px 9px rgba(239,90,112,.20) !important;
}


#side .nav-badge.hidden{
  display:none !important;
}


/* ==========================================================
   DEVELOPER CREDIT
   ========================================================== */

aside#side .sidebar-developer-credit{
  margin-top:11px !important;
}


@media(min-width:901px){

  aside#side:not(:hover)
  .sidebar-developer-credit{
    width:48px !important;
    min-height:48px !important;

    margin:10px auto 0 !important;
    padding:5px !important;

    border-radius:12px !important;
  }


  aside#side:not(:hover)
  .sidebar-developer-credit
  .credit-content{
    display:none !important;
  }

}


/* ==========================================================
   MOBILE OFF CANVAS
   ========================================================== */

@media(max-width:900px){

  #appView.app:not(.hidden){
    display:block !important;
  }

  #appView.hidden{
    display:none !important;
  }


  aside#side{
    position:fixed !important;

    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    left:auto !important;

    width:min(285px,86vw) !important;
    height:100dvh !important;

    padding:13px 10px !important;

    z-index:1000 !important;

    overflow-y:auto !important;

    background:
      linear-gradient(
        180deg,
        #08182a,
        #0a1d32
      ) !important;

    box-shadow:
      -20px 0 50px rgba(0,0,0,.32) !important;

    transform:
      translateX(105%) !important;

    transition:
      transform .22s ease !important;
  }


  aside#side.open{
    transform:
      translateX(0) !important;
  }


  aside#side .sidebar-logo{
    width:112px !important;
    height:74px !important;
  }


  aside#side .brand{
    opacity:1 !important;

    height:auto !important;
    min-height:44px !important;

    padding:3px 4px 10px !important;
  }


  #side .nav-label{
    display:block !important;

    opacity:1 !important;

    font-size:11px !important;
  }


  #side .app-nav .nav,
  #side .app-nav .support-nav-card{
    height:48px !important;
    min-height:48px !important;

    padding:0 11px !important;

    justify-content:flex-start !important;
  }


  #side .nav-icon{
    width:31px !important;
    height:31px !important;
  }

}


/* ==========================================================
   HEADER MOBILE
   ========================================================== */

@media(max-width:600px){

  main > header{
    min-height:61px !important;

    padding:7px 8px !important;

    display:grid !important;

    grid-template-columns:
      42px minmax(0,1fr) auto !important;

    gap:5px !important;

    align-items:center !important;
  }


  #menuBtn{
    width:38px !important;
    height:38px !important;

    padding:0 !important;
  }


  main > header > div:nth-child(2){
    min-width:0 !important;
  }


  #pageTitle{
    overflow:hidden;

    color:var(--text) !important;

    font-size:14px !important;
    font-weight:900 !important;

    white-space:nowrap;
    text-overflow:ellipsis;
  }


  #userLine{
    margin-top:1px !important;
  }


  #userLine .user-badge-shell{
    min-height:22px !important;

    padding:2px 7px !important;

    gap:4px !important;
  }


  #userLine .user-badge-name{
    max-width:90px;

    overflow:hidden;

    font-size:8px !important;

    white-space:nowrap;
    text-overflow:ellipsis;
  }


  #userLine .user-badge-role{
    font-size:7px !important;
  }


  .header-actions{
    display:flex !important;

    align-items:center !important;

    gap:3px !important;
  }


  .header-actions button{
    min-width:34px !important;
    height:36px !important;
    min-height:36px !important;

    padding:0 7px !important;

    display:flex !important;

    align-items:center !important;
    justify-content:center !important;

    border-radius:9px !important;

    font-size:9px !important;
  }


  /* مهم: زر الخروج يرجع يظهر */
  .header-actions #logoutBtn{
    display:flex !important;

    min-width:44px !important;
  }

}


/* ==========================================================
   TRUE LIGHT MODE
   ========================================================== */

html[data-theme="light"] aside#side{
  background:
    linear-gradient(
      180deg,
      #f8fbfd 0%,
      #eef4f8 100%
    ) !important;

  border-left:
    1px solid #d9e5ed !important;

  box-shadow:
    -10px 0 28px rgba(33,66,94,.08) !important;

  color:#17354d !important;
}


html[data-theme="light"] aside#side .brand strong{
  color:#17354d !important;
}


html[data-theme="light"] aside#side .brand small{
  color:#71879a !important;
}


html[data-theme="light"]
#side .app-nav .nav,

html[data-theme="light"]
#side .app-nav .support-nav-card{
  color:#506c82 !important;

  background:transparent !important;
}


html[data-theme="light"]
#side .nav-icon{
  color:#5c7c95 !important;

  background:
    rgba(39,91,130,.055) !important;
}


html[data-theme="light"]
#side .app-nav .nav:hover,

html[data-theme="light"]
#side .app-nav .support-nav-card:hover{
  border-color:#d2e1ea !important;

  background:#ffffff !important;

  color:#16364f !important;

  box-shadow:
    0 5px 14px rgba(30,62,90,.06) !important;
}


html[data-theme="light"]
#side .app-nav .nav.active{
  border-color:
    rgba(29,190,176,.42) !important;

  background:
    linear-gradient(
      135deg,
      #37d9c8,
      #25bfaf
    ) !important;

  color:#062d29 !important;

  box-shadow:
    0 7px 18px rgba(30,179,165,.14) !important;
}


html[data-theme="light"]
#side .nav-badge{
  border-color:#f2f7fa !important;
}


/* logo still premium in light mode */

html[data-theme="light"]
aside#side .sidebar-logo{
  background:#07101b !important;
}


/* developer card light */

html[data-theme="light"]
aside#side .sidebar-developer-credit{
  color:#345267 !important;

  border-color:#d7e3eb !important;

  background:
    rgba(255,255,255,.62) !important;
}



/* ==========================================================
   V307 - MOBILE SIDEBAR STABILITY
   ========================================================== */

@media(max-width:900px){

  body.mobile-nav-open{
    overflow:hidden !important;
    touch-action:none;
  }


  body.mobile-nav-open #appView::before{
    content:"";

    position:fixed;

    inset:0;

    z-index:900;

    background:
      rgba(3,12,22,.58);

    backdrop-filter:
      blur(2px);

    animation:
      v307OverlayIn .16s ease both;
  }


  body.mobile-nav-open #side{
    z-index:1000 !important;
  }


  /* الهيدر يبقى فوق المحتوى الطبيعي */
  main > header{
    z-index:100 !important;
  }

}


@keyframes v307OverlayIn{

  from{
    opacity:0;
  }

  to{
    opacity:1;
  }

}


/* ==========================================================
   V307A - AUTH VISIBILITY SAFETY
   Never allow mobile layout rules to override .hidden
   ========================================================== */

#appView.hidden,
#loginView.hidden{
  display:none !important;
}

@media(max-width:900px){

  #appView.app.hidden{
    display:none !important;
  }

  #appView.app:not(.hidden){
    display:block !important;
  }

}



/* ==========================================================
   V308-SAFE
   Desktop sidebar expands LEFT without changing app grid
   ========================================================== */

@media(min-width:901px){

  /*
   * التطبيق RTL.
   * في RTL: justify-self:start يثبت العنصر في الجانب الأيمن
   * من مسار الـGrid، وبالتالي زيادة العرض تتم للداخل ناحية اليسار.
   */
  #appView > aside#side{
    position:sticky !important;

    top:0 !important;

    width:var(--side-rail) !important;
    min-width:var(--side-rail) !important;

    height:100vh !important;

    justify-self:start !important;

    margin:0 !important;

    transform:none !important;

    overflow-x:hidden !important;
    overflow-y:auto !important;

    z-index:80 !important;

    transition:
      width .22s cubic-bezier(.22,.8,.25,1),
      box-shadow .22s ease !important;
  }


  #appView > aside#side:hover{
    width:var(--side-open) !important;
    min-width:var(--side-open) !important;

    /*
     * الظل ناحية اليسار يؤكد أن القائمة Overlay
     */
    box-shadow:
      -20px 0 38px rgba(0,0,0,.24),
      inset 1px 0 0 rgba(255,255,255,.035) !important;
  }


  /* ممنوع أي عنصر داخلي يوسّع القائمة أكثر */
  #side,
  #side *,
  #side *::before,
  #side *::after{
    box-sizing:border-box !important;
  }


  #side .app-nav{
    width:100% !important;
    max-width:100% !important;

    overflow:hidden !important;
  }


  #side .app-nav .nav,
  #side .app-nav .support-nav-card{
    width:100% !important;
    max-width:100% !important;

    min-width:0 !important;
  }


  /*
   * Collapsed:
   * icon only
   */
  #side:not(:hover) .app-nav .nav,
  #side:not(:hover) .app-nav .support-nav-card{
    justify-content:center !important;

    padding-left:0 !important;
    padding-right:0 !important;
  }


  #side:not(:hover) .nav-label{
    display:none !important;
  }


  /*
   * Expanded:
   * icon + full label
   */
  #side:hover .app-nav .nav,
  #side:hover .app-nav .support-nav-card{
    justify-content:flex-start !important;

    padding-left:11px !important;
    padding-right:11px !important;

    gap:10px !important;
  }


  #side:hover .nav-label{
    display:block !important;

    min-width:0 !important;

    overflow:hidden !important;

    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }


  /*
   * Hamburger unnecessary on desktop when hover rail is used.
   */
  #menuBtn{
    display:none !important;
  }

}


/* ==========================================================
   MOBILE stays exactly as off-canvas
   ========================================================== */

@media(max-width:900px){

  #menuBtn{
    display:flex !important;
  }


  #appView > aside#side{
    justify-self:auto !important;

    width:min(285px,86vw) !important;
    min-width:0 !important;

    position:fixed !important;

    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    left:auto !important;

    transform:translateX(105%) !important;
  }


  #appView > aside#side.open{
    transform:translateX(0) !important;
  }


  #side .nav-label{
    display:block !important;
  }

}


/* ==========================================================
   Horizontal overflow safety
   ========================================================== */

html,
body{
  max-width:100% !important;
  overflow-x:hidden !important;
}


/* Authentication safety remains absolute */
#appView.hidden{
  display:none !important;
}



/* ==========================================================
   V308B - SIDEBAR ICON + BADGE POLISH
   ========================================================== */


/* تقليل ارتفاع الكارت قليلًا */
#side .app-nav .nav,
#side .app-nav .support-nav-card{
  height:42px !important;
  min-height:42px !important;

  border-radius:10px !important;
}


/* تصغير كارت الأيقونة */
#side .nav-icon{
  width:25px !important;
  height:25px !important;
  min-width:25px !important;

  border-radius:7px !important;

  background:
    rgba(72,111,150,.07) !important;
}


/* تصغير الرسم نفسه */
#side .nav-icon svg{
  width:14px !important;
  height:14px !important;

  stroke-width:1.75 !important;
}


/* النص يفضل واضح ولا يدخل تحت العداد */
#side .nav-label{
  padding-left:6px !important;

  font-size:9.5px !important;
  font-weight:800 !important;

  line-height:1.25 !important;
}


/* ==========================================================
   BADGES
   تثبيت الرقم عند الأيقونة بدل النص
   ========================================================== */

#side .nav-badge{
  position:absolute !important;

  top:3px !important;
  right:4px !important;
  left:auto !important;

  min-width:15px !important;
  width:auto !important;
  height:15px !important;

  padding:0 4px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  border-radius:999px !important;

  border:
    2px solid #0a1d32 !important;

  background:#ef596f !important;

  color:#ffffff !important;

  font-size:6.5px !important;
  font-weight:900 !important;

  line-height:1 !important;

  z-index:4 !important;

  box-shadow:
    0 2px 7px rgba(239,89,111,.26) !important;

  pointer-events:none !important;
}


#side .nav-badge.hidden{
  display:none !important;
}


/* في الوضع المفتوح نخلي مساحة النص أكبر */
@media(min-width:901px){

  #side:hover .app-nav .nav,
  #side:hover .app-nav .support-nav-card{
    padding-right:10px !important;
    padding-left:8px !important;

    gap:8px !important;
  }


  #side:hover .nav-label{
    padding-left:3px !important;
  }


  /* الرقم يفضل فوق الأيقونة */
  #side:hover .nav-badge{
    right:4px !important;
    top:3px !important;
  }


  /* في الوضع المقفول */
  #side:not(:hover) .nav-icon{
    width:27px !important;
    height:27px !important;
    min-width:27px !important;
  }

}


/* ==========================================================
   LIGHT MODE BADGE BORDER
   ========================================================== */

html[data-theme="light"] #side .nav-badge{
  border-color:#f5f9fc !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:900px){

  #side .app-nav .nav,
  #side .app-nav .support-nav-card{
    height:44px !important;
    min-height:44px !important;
  }


  #side .nav-icon{
    width:27px !important;
    height:27px !important;
    min-width:27px !important;
  }


  #side .nav-icon svg{
    width:15px !important;
    height:15px !important;
  }


  #side .nav-label{
    font-size:10.5px !important;
  }


  #side .nav-badge{
    right:5px !important;
    top:4px !important;
  }

}



/* ==========================================================
   V308D - CLEAN SIDEBAR CARD LAYOUT
   No internal grid - preserve the stable flex layout
   ========================================================== */


/* ==========================================================
   DESKTOP - OPEN SIDEBAR
   ========================================================== */

@media(min-width:901px){

  /*
   * نخلي القائمة المفتوحة أوسع سنة فقط.
   * Geometry الأساسية لا تتغير.
   */
  #side:hover{
    width:238px !important;
    min-width:238px !important;
  }


  /* الكارت نفسه */
  #side:hover .app-nav .nav,
  #side:hover .app-nav .support-nav-card{
    position:relative !important;

    display:flex !important;
    flex-direction:row !important;

    align-items:center !important;
    justify-content:flex-start !important;

    gap:7px !important;

    width:100% !important;

    height:40px !important;
    min-height:40px !important;

    /*
     * مساحة في اليسار مخصصة للعداد
     */
    padding:
      0 9px 0 28px !important;

    border-radius:9px !important;

    overflow:hidden !important;
  }


  /* ========================================================
     ICON
     أصغر وأهدأ
     ======================================================== */

  #side:hover .nav-icon{
    flex:0 0 22px !important;

    width:22px !important;
    height:22px !important;
    min-width:22px !important;

    margin:0 !important;
    padding:0 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    border-radius:6px !important;

    background:
      rgba(74,111,150,.075) !important;

    box-shadow:none !important;
  }


  #side:hover .nav-icon svg{
    width:12px !important;
    height:12px !important;

    flex:none !important;

    stroke-width:1.7 !important;
  }


  /* ========================================================
     LABEL
     ياخد المساحة الأساسية ويظهر كامل
     ======================================================== */

  #side:hover .nav-label{
    display:block !important;

    flex:1 1 auto !important;

    width:auto !important;
    min-width:0 !important;

    margin:0 !important;
    padding:0 !important;

    color:inherit !important;

    font-size:10px !important;
    font-weight:800 !important;
    line-height:1.2 !important;

    text-align:right !important;

    white-space:nowrap !important;

    overflow:hidden !important;
    text-overflow:clip !important;

    opacity:1 !important;
  }


  /* ========================================================
     BADGE
     أقصى اليسار - مستقل عن النص
     ======================================================== */

  #side:hover .nav-badge{
    position:absolute !important;

    left:7px !important;
    right:auto !important;

    top:50% !important;

    transform:
      translateY(-50%) !important;

    min-width:16px !important;
    width:auto !important;
    height:16px !important;

    margin:0 !important;
    padding:0 4px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    border-radius:999px !important;

    background:#ef596f !important;

    color:#ffffff !important;

    border:
      2px solid #0a1d32 !important;

    font-size:7px !important;
    font-weight:900 !important;
    line-height:1 !important;

    z-index:5 !important;

    pointer-events:none !important;

    box-shadow:
      0 2px 7px rgba(239,89,111,.24) !important;
  }


  #side:hover .nav-badge.hidden{
    display:none !important;
  }

}


/* ==========================================================
   DESKTOP - COLLAPSED RAIL
   ========================================================== */

@media(min-width:901px){

  #side:not(:hover) .app-nav .nav,
  #side:not(:hover) .app-nav .support-nav-card{
    position:relative !important;

    height:38px !important;
    min-height:38px !important;

    padding:0 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    border-radius:9px !important;

    overflow:visible !important;
  }


  #side:not(:hover) .nav-label{
    display:none !important;
  }


  #side:not(:hover) .nav-icon{
    width:24px !important;
    height:24px !important;
    min-width:24px !important;

    margin:0 !important;

    border-radius:7px !important;
  }


  #side:not(:hover) .nav-icon svg{
    width:13px !important;
    height:13px !important;
  }


  /*
   * العداد يبقى فوق الأيقونة
   */
  #side:not(:hover) .nav-badge{
    position:absolute !important;

    top:1px !important;
    right:7px !important;
    left:auto !important;

    transform:none !important;

    min-width:14px !important;
    height:14px !important;

    padding:0 3px !important;

    border-radius:999px !important;

    font-size:6px !important;

    border:
      2px solid #0a1d32 !important;

    z-index:5 !important;
  }

}


/* ==========================================================
   ACTIVE ITEM
   ========================================================== */

#side .app-nav .nav.active .nav-icon{
  background:
    rgba(255,255,255,.15) !important;
}


/* ==========================================================
   LIGHT MODE
   ========================================================== */

html[data-theme="light"]
#side .nav-badge{
  border-color:#f4f8fb !important;
}


/* ==========================================================
   MOBILE
   خلي نفس المبدأ لكن أكبر قليلًا للمس
   ========================================================== */

@media(max-width:900px){

  #side .app-nav .nav,
  #side .app-nav .support-nav-card{
    position:relative !important;

    display:flex !important;
    flex-direction:row !important;

    align-items:center !important;
    justify-content:flex-start !important;

    gap:8px !important;

    height:43px !important;
    min-height:43px !important;

    padding:
      0 10px 0 28px !important;

    overflow:hidden !important;
  }


  #side .nav-icon{
    flex:0 0 25px !important;

    width:25px !important;
    height:25px !important;
    min-width:25px !important;

    border-radius:7px !important;
  }


  #side .nav-icon svg{
    width:13px !important;
    height:13px !important;
  }


  #side .nav-label{
    display:block !important;

    flex:1 !important;

    min-width:0 !important;

    padding:0 !important;

    font-size:10.5px !important;

    white-space:nowrap !important;

    overflow:hidden !important;
    text-overflow:clip !important;
  }


  #side .nav-badge{
    position:absolute !important;

    left:7px !important;
    right:auto !important;

    top:50% !important;

    transform:
      translateY(-50%) !important;

    min-width:15px !important;
    height:15px !important;

    padding:0 4px !important;

    font-size:6.5px !important;
  }

}



/* ==========================================================
   V309 - ODOO ERP DESIGN FOUNDATION
   ========================================================== */


/* ==========================================================
   DESIGN TOKENS — LIGHT
   ========================================================== */

html[data-theme="light"] #appView.odoo-shell-v1{

  --o-canvas:#f4f5f7;
  --o-surface:#ffffff;
  --o-surface-2:#f8f9fa;
  --o-surface-hover:#eef1f4;

  --o-text:#263746;
  --o-text-2:#536879;
  --o-muted:#7d8c99;

  --o-border:#d7dce1;
  --o-border-soft:#e7eaed;

  --o-primary:#20b8ad;
  --o-primary-hover:#159e95;
  --o-primary-soft:#e4f7f5;

  --o-danger:#dc556a;
  --o-success:#1ea66f;

  --o-radius:6px;
}


/* ==========================================================
   DESIGN TOKENS — DARK
   ========================================================== */

html[data-theme="dark"] #appView.odoo-shell-v1{

  --o-canvas:#1e222d;
  --o-surface:#262b38;
  --o-surface-2:#2d3341;
  --o-surface-hover:#343b4a;

  --o-text:#eef1f5;
  --o-text-2:#c0c8d2;
  --o-muted:#8995a5;

  --o-border:#3c4352;
  --o-border-soft:#343b48;

  --o-primary:#26c7bb;
  --o-primary-hover:#34d7ca;
  --o-primary-soft:rgba(38,199,187,.10);

  --o-danger:#ef657b;
  --o-success:#35c88b;

  --o-radius:6px;
}


/* ==========================================================
   MAIN CANVAS
   ========================================================== */

#appView.odoo-shell-v1 main{
  background:var(--o-canvas) !important;
}


#appView.odoo-shell-v1 .content{
  width:100% !important;

  max-width:none !important;

  margin:0 !important;

  padding:14px 16px 28px !important;

  background:var(--o-canvas) !important;

  color:var(--o-text) !important;
}


/* ==========================================================
   GLOBAL TOP BAR
   Odoo-like: flat / compact / functional
   ========================================================== */

#appView.odoo-shell-v1 main > header{

  min-height:52px !important;
  height:52px !important;

  padding:0 14px !important;

  border:0 !important;

  border-bottom:
    1px solid var(--o-border) !important;

  background:
    var(--o-surface) !important;

  box-shadow:none !important;
}


/* current page */

#appView.odoo-shell-v1 #pageTitle{

  color:var(--o-text) !important;

  font-size:15px !important;
  font-weight:800 !important;

  line-height:1.25 !important;
}


/* ==========================================================
   USER — ODOO-LIKE MINIMAL
   ========================================================== */

#appView.odoo-shell-v1 #userLine{

  margin-top:2px !important;

  color:var(--o-muted) !important;

  font-size:9px !important;
}


#appView.odoo-shell-v1
#userLine .user-badge-shell{

  min-height:auto !important;

  padding:0 !important;

  gap:5px !important;

  border:0 !important;

  border-radius:0 !important;

  background:transparent !important;

  box-shadow:none !important;
}


#appView.odoo-shell-v1
#userLine .user-badge-name{

  color:var(--o-text-2) !important;

  font-size:9px !important;
  font-weight:700 !important;
}


#appView.odoo-shell-v1
#userLine .user-badge-role{

  color:var(--o-muted) !important;

  font-size:8px !important;
  font-weight:600 !important;
}


#appView.odoo-shell-v1
#userLine .user-badge-sep{

  width:4px !important;
  height:4px !important;

  background:var(--o-primary) !important;

  box-shadow:none !important;
}


/* ==========================================================
   HEADER ACTIONS
   ========================================================== */

#appView.odoo-shell-v1 .header-actions{

  display:flex !important;

  align-items:center !important;

  gap:4px !important;
}


#appView.odoo-shell-v1
.header-actions button{

  min-width:32px !important;
  height:32px !important;
  min-height:32px !important;

  padding:0 9px !important;

  border:
    1px solid var(--o-border) !important;

  border-radius:5px !important;

  background:
    var(--o-surface-2) !important;

  color:var(--o-text-2) !important;

  box-shadow:none !important;

  font-size:10px !important;
  font-weight:700 !important;
}


#appView.odoo-shell-v1
.header-actions button:hover{

  background:
    var(--o-surface-hover) !important;

  color:var(--o-text) !important;
}


#appView.odoo-shell-v1
#logoutBtn{

  min-width:50px !important;
}


/* ==========================================================
   DEFAULT CARDS
   Odoo doesn't use heavy glow cards
   ========================================================== */

#appView.odoo-shell-v1 .card{

  border:
    1px solid var(--o-border) !important;

  border-radius:
    var(--o-radius) !important;

  background:
    var(--o-surface) !important;

  box-shadow:none !important;

  color:var(--o-text) !important;
}


/* ==========================================================
   FORM CONTROLS
   ========================================================== */

#appView.odoo-shell-v1
input,

#appView.odoo-shell-v1
select,

#appView.odoo-shell-v1
textarea{

  border:
    1px solid var(--o-border) !important;

  border-radius:5px !important;

  background:
    var(--o-surface) !important;

  color:
    var(--o-text) !important;

  box-shadow:none !important;
}


#appView.odoo-shell-v1
input:focus,

#appView.odoo-shell-v1
select:focus,

#appView.odoo-shell-v1
textarea:focus{

  outline:none !important;

  border-color:
    var(--o-primary) !important;

  box-shadow:
    0 0 0 1px var(--o-primary) !important;
}


/* ==========================================================
   STANDARD BUTTON SYSTEM
   ========================================================== */

#appView.odoo-shell-v1
button.primary{

  border:
    1px solid var(--o-primary) !important;

  border-radius:5px !important;

  background:
    var(--o-primary) !important;

  color:#052a27 !important;

  box-shadow:none !important;

  font-weight:800 !important;
}


#appView.odoo-shell-v1
button.primary:hover{

  border-color:
    var(--o-primary-hover) !important;

  background:
    var(--o-primary-hover) !important;
}


#appView.odoo-shell-v1
button.ghost,

#appView.odoo-shell-v1
button.icon{

  border:
    1px solid var(--o-border) !important;

  border-radius:5px !important;

  background:
    var(--o-surface-2) !important;

  color:
    var(--o-text-2) !important;

  box-shadow:none !important;
}


/* ==========================================================
   TABLE FOUNDATION
   ========================================================== */

#appView.odoo-shell-v1
.table-wrap{

  border:
    1px solid var(--o-border) !important;

  border-radius:
    var(--o-radius) !important;

  background:
    var(--o-surface) !important;

  box-shadow:none !important;
}


#appView.odoo-shell-v1 table{

  width:100% !important;

  border-collapse:collapse !important;

  background:
    var(--o-surface) !important;

  color:
    var(--o-text) !important;
}


#appView.odoo-shell-v1 th{

  padding:9px 10px !important;

  border-bottom:
    1px solid var(--o-border) !important;

  background:
    var(--o-surface-2) !important;

  color:
    var(--o-text-2) !important;

  font-size:10px !important;
  font-weight:800 !important;
}


#appView.odoo-shell-v1 td{

  padding:8px 10px !important;

  border-bottom:
    1px solid var(--o-border-soft) !important;

  color:
    var(--o-text) !important;

  font-size:10px !important;

  background:
    transparent !important;
}


#appView.odoo-shell-v1 tbody tr:hover{

  background:
    var(--o-surface-hover) !important;
}


/* subtle alternating rows */

#appView.odoo-shell-v1
tbody tr:nth-child(even){

  background:
    color-mix(
      in srgb,
      var(--o-surface-2) 52%,
      transparent
    );
}


/* ==========================================================
   STATUS PILL FOUNDATION
   ========================================================== */

#appView.odoo-shell-v1
.status{

  padding:4px 8px !important;

  border-radius:999px !important;

  box-shadow:none !important;

  font-size:8px !important;
  font-weight:800 !important;
}


/* ==========================================================
   PAGE TITLE DEFAULT
   ========================================================== */

#appView.odoo-shell-v1
.page-head h1{

  color:
    var(--o-text) !important;
}


#appView.odoo-shell-v1
.page-head p{

  color:
    var(--o-muted) !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:700px){

  #appView.odoo-shell-v1
  main > header{

    min-height:56px !important;
    height:56px !important;

    padding:0 8px !important;
  }


  #appView.odoo-shell-v1
  .content{

    padding:
      10px 8px 22px !important;
  }


  #appView.odoo-shell-v1
  #pageTitle{

    font-size:13px !important;
  }

}



/* ==========================================================
   V310 - ODOO CONTROL BAR
   ========================================================== */

#appView.odoo-shell-v1
#orders > .orders-actionbar{

  min-height:auto !important;

  margin:0 !important;
  padding:8px 4px 9px !important;

  border-bottom:0 !important;
}


/* ==========================================================
   TOOLBAR SHELL
   ========================================================== */

#orders .odoo-controlbar{

  min-height:54px;

  margin:0 0 10px !important;
  padding:7px 8px !important;

  display:flex !important;

  align-items:center !important;
  justify-content:space-between !important;

  gap:12px !important;

  border-top:
    1px solid var(--o-border) !important;

  border-bottom:
    1px solid var(--o-border) !important;

  background:
    var(--o-surface) !important;
}


/* ==========================================================
   LEFT / ACTION AREA
   ========================================================== */

#orders .odoo-controlbar-actions{

  flex:0 0 auto;

  display:flex !important;

  align-items:center !important;

  gap:6px !important;
}


/* new */

#orders .orders-create-btn{

  min-width:92px !important;
  height:34px !important;
  min-height:34px !important;

  margin:0 !important;

  padding:0 11px !important;

  gap:4px !important;

  border-radius:5px !important;

  font-size:9px !important;
}


/* ==========================================================
   VIEW SWITCH
   ========================================================== */

#orders .odoo-view-switch{

  display:flex !important;

  align-items:center !important;

  gap:0 !important;

  border:
    1px solid var(--o-border) !important;

  border-radius:5px !important;

  overflow:hidden !important;

  background:
    var(--o-surface-2) !important;
}


#orders .odoo-view-btn{

  height:32px !important;
  min-height:32px !important;

  padding:0 9px !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  gap:4px !important;

  border:0 !important;
  border-left:
    1px solid var(--o-border) !important;

  border-radius:0 !important;

  background:
    transparent !important;

  color:
    var(--o-muted) !important;

  box-shadow:none !important;

  cursor:pointer !important;
}


#orders .odoo-view-btn:last-child{
  border-left:0 !important;
}


#orders .odoo-view-btn span{

  font-size:14px !important;

  line-height:1 !important;
}


#orders .odoo-view-btn b{

  font-size:8px !important;
  font-weight:700 !important;

  color:inherit !important;
}


#orders .odoo-view-btn:hover{

  background:
    var(--o-surface-hover) !important;

  color:
    var(--o-text) !important;
}


#orders .odoo-view-btn.active{

  background:
    var(--o-primary-soft) !important;

  color:
    var(--o-primary) !important;
}


/* ==========================================================
   SEARCH SIDE
   ========================================================== */

#orders .odoo-controlbar-search{

  flex:1 1 auto;

  min-width:0;

  display:flex !important;

  flex-direction:row !important;

  align-items:center !important;

  justify-content:flex-end !important;

  gap:6px !important;
}


/* search */

#orders .odoo-searchbox{

  flex:1 1 420px !important;

  max-width:520px !important;

  height:34px !important;

  margin:0 !important;

  padding:0 8px !important;

  border:
    1px solid var(--o-border) !important;

  border-radius:5px !important;

  background:
    var(--o-surface) !important;

  box-shadow:none !important;
}


#orders .odoo-searchbox:focus-within{

  border-color:
    var(--o-primary) !important;

  box-shadow:
    0 0 0 1px var(--o-primary) !important;
}


#orders .odoo-searchbox input{

  height:31px !important;
  min-height:31px !important;

  margin:0 !important;

  border:0 !important;

  background:
    transparent !important;

  box-shadow:none !important;

  color:
    var(--o-text) !important;

  font-size:9px !important;

  text-align:right !important;
}


#orders .odoo-searchbox > span{

  color:
    var(--o-muted) !important;

  font-size:15px !important;
}


/* ==========================================================
   FILTERS
   ========================================================== */

#orders .odoo-filterbar{

  flex:0 0 auto;

  margin:0 !important;

  display:flex !important;

  gap:3px !important;
}


#orders .odoo-filterbar .exec-filter{

  width:auto !important;

  min-width:44px !important;

  height:30px !important;
  min-height:30px !important;

  padding:0 8px !important;

  border:
    1px solid var(--o-border) !important;

  border-radius:5px !important;

  background:
    var(--o-surface-2) !important;

  color:
    var(--o-text-2) !important;

  box-shadow:none !important;

  font-size:8px !important;
  font-weight:700 !important;
}


#orders .odoo-filterbar
.exec-filter:hover{

  background:
    var(--o-surface-hover) !important;
}


#orders .odoo-filterbar
.exec-filter.active{

  border-color:
    var(--o-primary) !important;

  background:
    var(--o-primary-soft) !important;

  color:
    var(--o-primary) !important;

  box-shadow:none !important;
}


/* ==========================================================
   MASTER PANEL NOW SIMPLER
   ========================================================== */

#orders .executive-orders-panel{

  padding:8px !important;
}


#orders .exec-orders-title{

  min-height:40px !important;

  margin-bottom:5px !important;

  padding:
    0 2px 7px !important;
}


#orders .exec-orders-title h2{

  font-size:11px !important;
}


#orders .exec-orders-title small{

  font-size:7px !important;
}


/* more vertical space for actual orders */

#orders .executive-orders-list{

  max-height:
    calc(100vh - 215px) !important;
}


/* ==========================================================
   KANBAN MODE
   ========================================================== */

#orders.orders-view-kanban .orders-grid{

  grid-template-columns:
    minmax(0,1fr) !important;
}


#orders.orders-view-kanban
.executive-orders-panel{

  position:relative !important;

  top:auto !important;

  max-height:none !important;
}


#orders.orders-view-kanban
.executive-orders-list{

  display:grid !important;

  grid-template-columns:
    repeat(3,minmax(0,1fr)) !important;

  gap:8px !important;

  max-height:none !important;

  overflow:visible !important;
}


#orders.orders-view-kanban
.order-workspace{

  display:none !important;
}


#orders.orders-view-kanban
.executive-order-card{

  min-height:118px !important;

  margin:0 !important;
}


/* ==========================================================
   LIST MODE
   ========================================================== */

#orders.orders-view-list
.order-workspace{

  display:block !important;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media(max-width:1050px){

  #orders .odoo-controlbar{

    align-items:flex-start !important;
  }


  #orders .odoo-controlbar-search{

    flex-wrap:wrap !important;
  }


  #orders .odoo-searchbox{

    flex-basis:100% !important;

    max-width:none !important;
  }

}


@media(max-width:700px){

  #orders .odoo-controlbar{

    flex-direction:column !important;

    align-items:stretch !important;

    gap:7px !important;
  }


  #orders .odoo-controlbar-actions{

    justify-content:space-between !important;
  }


  #orders .orders-create-btn{

    flex:1 !important;
  }


  #orders .odoo-controlbar-search{

    width:100% !important;

    flex-direction:column !important;

    align-items:stretch !important;
  }


  #orders .odoo-searchbox{

    width:100% !important;

    flex:none !important;
  }


  #orders .odoo-filterbar{

    display:grid !important;

    grid-template-columns:
      repeat(4,1fr) !important;
  }


  #orders .odoo-filterbar
  .exec-filter{

    min-width:0 !important;
  }


  #orders.orders-view-kanban
  .executive-orders-list{

    grid-template-columns:1fr !important;
  }

}



/* ==========================================================
   V311 - ODOO ORDERS TRUE LIST VIEW
   ========================================================== */


/* ==========================================================
   BACK BUTTON
   ========================================================== */

#orders .odoo-orders-back{

  height:34px !important;
  min-height:34px !important;

  padding:0 10px !important;

  display:flex !important;
  align-items:center !important;

  gap:6px !important;

  border-radius:5px !important;

  font-size:9px !important;
}


#orders .odoo-orders-back b{

  color:inherit !important;

  font-size:9px !important;
}


#orders .odoo-orders-back span{

  font-size:15px !important;
  line-height:1 !important;
}


#orders .odoo-orders-back.hidden{
  display:none !important;
}


/* ==========================================================
   LIST MODE = FULL WIDTH
   ========================================================== */

#orders.orders-view-list .orders-grid{

  display:block !important;
}


#orders.orders-view-list
.executive-orders-panel{

  position:relative !important;

  top:auto !important;

  width:100% !important;

  max-height:none !important;

  padding:0 !important;

  border-radius:5px !important;

  overflow:hidden !important;
}


#orders.orders-view-list
.order-workspace{

  display:none !important;
}


/* title area smaller */
#orders.orders-view-list
.exec-orders-title{

  min-height:42px !important;

  margin:0 !important;

  padding:7px 10px !important;

  border-bottom:
    1px solid var(--o-border) !important;
}


/* ==========================================================
   TABLE HEADER
   ========================================================== */

#orders .odoo-orders-list-head{

  display:none;
}


#orders.orders-view-list
.odoo-orders-list-head{

  min-height:36px;

  padding:0 11px !important;

  display:grid !important;

  grid-template-columns:
    minmax(155px,1.2fr)
    minmax(160px,1.15fr)
    minmax(130px,1fr)
    minmax(90px,.75fr)
    minmax(110px,.8fr)
    minmax(105px,.75fr) !important;

  gap:10px !important;

  align-items:center !important;

  border-bottom:
    1px solid var(--o-border) !important;

  background:
    var(--o-surface-2) !important;
}


#orders.orders-view-list
.odoo-orders-list-head span{

  color:
    var(--o-text-2) !important;

  font-size:9px !important;
  font-weight:800 !important;

  text-align:right !important;
}


/* ==========================================================
   LIST BODY
   ========================================================== */

#orders.orders-view-list
.executive-orders-list{

  display:block !important;

  max-height:
    calc(100vh - 255px) !important;

  padding:0 !important;

  overflow:auto !important;

  background:
    var(--o-surface) !important;
}


/* ==========================================================
   CARD -> TABLE ROW
   ========================================================== */

#orders.orders-view-list
.executive-order-card{

  position:relative !important;

  min-height:44px !important;

  margin:0 !important;

  padding:0 11px !important;

  display:grid !important;

  grid-template-columns:
    minmax(155px,1.2fr)
    minmax(160px,1.15fr)
    minmax(130px,1fr)
    minmax(90px,.75fr)
    minmax(110px,.8fr)
    minmax(105px,.75fr) !important;

  gap:10px !important;

  align-items:center !important;

  border:0 !important;

  border-bottom:
    1px solid var(--o-border-soft) !important;

  border-radius:0 !important;

  background:
    var(--o-surface) !important;

  box-shadow:none !important;

  transform:none !important;

  cursor:pointer !important;

  overflow:visible !important;
}


/* alternate rows */
#orders.orders-view-list
.executive-order-card:nth-child(even){

  background:
    var(--o-surface-2) !important;
}


/* hover */
#orders.orders-view-list
.executive-order-card:hover{

  border-color:
    var(--o-border-soft) !important;

  background:
    var(--o-surface-hover) !important;

  transform:none !important;

  box-shadow:none !important;
}


/* selected */
#orders.orders-view-list
.executive-order-card.active{

  background:
    var(--o-primary-soft) !important;

  box-shadow:
    inset -3px 0 0
    var(--o-primary) !important;
}


/* remove old decoration */
#orders.orders-view-list
.executive-order-card::before,

#orders.orders-view-list
.executive-order-card::after{

  display:none !important;
}


/* ==========================================================
   FLATTEN NESTED CARD STRUCTURE
   ========================================================== */

#orders.orders-view-list
.exec-card-top,

#orders.orders-view-list
.exec-card-meta{

  display:contents !important;
}


/* order number */
#orders.orders-view-list
.exec-order-number{

  grid-column:1 !important;

  display:flex !important;

  align-items:center !important;

  gap:5px !important;

  min-width:0 !important;
}


#orders.orders-view-list
.exec-mb-mark{

  display:none !important;
}


#orders.orders-view-list
.exec-order-number b{

  overflow:hidden;

  color:
    var(--o-text) !important;

  font-size:9px !important;
  font-weight:800 !important;

  direction:ltr !important;

  text-align:right !important;

  white-space:nowrap !important;
  text-overflow:ellipsis !important;
}


/* vehicle */
#orders.orders-view-list
.exec-card-vehicle{

  grid-column:2 !important;

  margin:0 !important;
  padding:0 !important;

  min-width:0 !important;
}


#orders.orders-view-list
.exec-card-vehicle strong{

  display:block !important;

  overflow:hidden;

  color:
    var(--o-text) !important;

  font-size:9px !important;
  font-weight:700 !important;

  white-space:nowrap !important;
  text-overflow:ellipsis !important;
}


#orders.orders-view-list
.exec-card-vehicle span{

  display:none !important;
}


/* customer */
#orders.orders-view-list
.exec-card-customer{

  grid-column:3 !important;

  margin:0 !important;
  padding:0 !important;

  min-width:0 !important;
}


#orders.orders-view-list
.exec-card-customer b{

  overflow:hidden;

  color:
    var(--o-text) !important;

  font-size:9px !important;
  font-weight:600 !important;

  white-space:nowrap !important;
  text-overflow:ellipsis !important;
}


/* stage */
#orders.orders-view-list
.exec-stage-badge{

  grid-column:4 !important;

  justify-self:start !important;

  width:max-content !important;

  max-width:100% !important;

  margin:0 !important;

  padding:3px 7px !important;

  border-radius:999px !important;

  font-size:7.5px !important;
  font-weight:800 !important;
}


/* state */
#orders.orders-view-list
.exec-card-status{

  grid-column:5 !important;

  overflow:hidden;

  color:
    var(--o-text-2) !important;

  font-size:8px !important;
  font-weight:700 !important;

  white-space:nowrap !important;
  text-overflow:ellipsis !important;
}


/* date/update */
#orders.orders-view-list
.exec-card-footer{

  grid-column:6 !important;

  margin:0 !important;
  padding:0 !important;

  border:0 !important;

  color:
    var(--o-muted) !important;

  font-size:7.5px !important;

  white-space:nowrap !important;
}


/* ==========================================================
   REMOVE OLD STATUS SIDE BORDERS IN LIST MODE
   ========================================================== */

#orders.orders-view-list
.executive-order-card.stage-reception,

#orders.orders-view-list
.executive-order-card.stage-service,

#orders.orders-view-list
.executive-order-card.stage-store,

#orders.orders-view-list
.executive-order-card.stage-accounts,

#orders.orders-view-list
.executive-order-card.stage-done{

  border-right:0 !important;
}


/* ==========================================================
   FORM VIEW
   ========================================================== */

#orders.orders-view-form
.orders-grid{

  display:block !important;
}


#orders.orders-view-form
.executive-orders-panel{

  display:none !important;
}


#orders.orders-view-form
.order-workspace{

  display:block !important;

  width:100% !important;
  max-width:none !important;
}


/* في Form View البحث والفلاتر مش لازمين */
#orders.orders-view-form
.odoo-controlbar-search,

#orders.orders-view-form
.odoo-view-switch{

  display:none !important;
}


/* زر أمر جديد يبقى موجود بجوار Back */
#orders.orders-view-form
.odoo-controlbar-actions{

  width:100% !important;

  justify-content:flex-start !important;
}


/* ==========================================================
   KANBAN
   ========================================================== */

#orders.orders-view-kanban
.odoo-orders-list-head{

  display:none !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:800px){

  /*
   * على الموبايل الجدول الكبير غير مناسب.
   * نرجع الصفوف إلى كروت Odoo compact.
   */
  #orders.orders-view-list
  .odoo-orders-list-head{

    display:none !important;
  }


  #orders.orders-view-list
  .executive-orders-list{

    padding:6px !important;

    max-height:none !important;
  }


  #orders.orders-view-list
  .executive-order-card{

    min-height:92px !important;

    margin-bottom:6px !important;
    padding:9px !important;

    display:block !important;

    border:
      1px solid var(--o-border) !important;

    border-radius:6px !important;
  }


  #orders.orders-view-list
  .exec-card-top{

    display:flex !important;

    align-items:center !important;
    justify-content:space-between !important;
  }


  #orders.orders-view-list
  .exec-card-meta{

    display:block !important;
  }


  #orders.orders-view-list
  .exec-card-vehicle{

    margin:7px 0 !important;
  }


  #orders.orders-view-list
  .exec-card-vehicle span{

    display:block !important;
  }


  #orders.orders-view-list
  .exec-card-footer{

    margin-top:6px !important;
    padding-top:6px !important;

    border-top:
      1px solid var(--o-border-soft) !important;
  }

}



/* ==========================================================
   V306 - UNIFIED READABLE ROLE PAGES
   Reception / Service / Store / Accounts
   CSS ONLY - no workflow / JS changes
   ========================================================== */


/* ----------------------------------------------------------
   1. PAGE HEADERS
   ---------------------------------------------------------- */

#receptionDesk > .page-head,
#engineerDesk > .page-head,
#storeDesk > .page-head,
#accountsDesk > .page-head{
  min-height:72px !important;
  margin:0 0 12px !important;
  padding:10px 6px 12px !important;

  border:0 !important;
  border-bottom:1px solid rgba(91,125,155,.22) !important;
  border-radius:0 !important;

  background:transparent !important;
  box-shadow:none !important;
}

#receptionDesk > .page-head::before{
  display:none !important;
}

#receptionDesk > .page-head h1,
#engineerDesk > .page-head h1,
#storeDesk > .page-head h1,
#accountsDesk > .page-head h1{
  margin:0 !important;

  font-size:24px !important;
  font-weight:900 !important;
  line-height:1.3 !important;

  letter-spacing:0 !important;
}

#receptionDesk > .page-head p,
#engineerDesk > .page-head p,
#storeDesk > .page-head p,
#accountsDesk > .page-head p{
  margin:4px 0 0 !important;

  font-size:13px !important;
  font-weight:600 !important;
  line-height:1.55 !important;
}


/* ----------------------------------------------------------
   2. HEADER BUTTONS
   ---------------------------------------------------------- */

#receptionDesk > .page-head button,
#engineerDesk > .page-head button,
#storeDesk > .page-head button,
#accountsDesk > .page-head button{
  min-width:118px !important;
  height:38px !important;

  padding:0 15px !important;

  border-radius:8px !important;

  font-size:12px !important;
  font-weight:800 !important;
}


/* ----------------------------------------------------------
   3. COMPACT PIPELINE
   ---------------------------------------------------------- */

#receptionDesk .live-pipeline,
#engineerDesk .live-pipeline,
#storeDesk .live-pipeline,
#accountsDesk .live-pipeline{
  gap:7px !important;

  margin:0 0 12px !important;
  padding:7px !important;

  border-radius:10px !important;
}


/* stage card */

#receptionDesk .pipeline-step,
#engineerDesk .pipeline-step,
#storeDesk .pipeline-step,
#accountsDesk .pipeline-step{
  min-height:72px !important;

  padding:8px 7px !important;

  gap:3px !important;

  border-radius:8px !important;

  text-align:center !important;
}


/* stage circle */

#receptionDesk .pipeline-step > span,
#engineerDesk .pipeline-step > span,
#storeDesk .pipeline-step > span,
#accountsDesk .pipeline-step > span{
  width:24px !important;
  height:24px !important;

  font-size:10px !important;
}


/* stage title */

#receptionDesk .pipeline-step > b,
#engineerDesk .pipeline-step > b,
#storeDesk .pipeline-step > b,
#accountsDesk .pipeline-step > b{
  font-size:13px !important;
  font-weight:800 !important;
  line-height:1.3 !important;
}


/* stage counter */

#receptionDesk .pipeline-step > small,
#engineerDesk .pipeline-step > small,
#storeDesk .pipeline-step > small,
#accountsDesk .pipeline-step > small{
  font-size:11px !important;
  font-weight:600 !important;
}


/* arrows */

#receptionDesk .pipeline-step > i,
#engineerDesk .pipeline-step > i,
#storeDesk .pipeline-step > i,
#accountsDesk .pipeline-step > i{
  font-size:12px !important;
}


/* ----------------------------------------------------------
   4. KPI CARDS
   ---------------------------------------------------------- */

#receptionDesk .role-kpi-grid,
#engineerDesk .role-kpi-grid,
#storeDesk .role-kpi-grid,
#accountsDesk .role-kpi-grid{
  gap:8px !important;
  margin:0 0 12px !important;
}


/* use strong selector to override old reception CSS */

#receptionDesk #receptionKpis > div,
#engineerDesk .role-kpi-grid > div,
#storeDesk .role-kpi-grid > div,
#accountsDesk .role-kpi-grid > div{
  min-height:66px !important;

  padding:8px 12px !important;

  border-radius:9px !important;

  box-shadow:none !important;
}


#receptionDesk #receptionKpis > div > b,
#engineerDesk .role-kpi-grid b,
#storeDesk .role-kpi-grid b,
#accountsDesk .role-kpi-grid b{
  margin:0 !important;

  font-size:21px !important;
  font-weight:900 !important;
  line-height:1.15 !important;
}


#receptionDesk #receptionKpis > div > small,
#engineerDesk .role-kpi-grid small,
#storeDesk .role-kpi-grid small,
#accountsDesk .role-kpi-grid small{
  margin-top:4px !important;

  font-size:12px !important;
  font-weight:600 !important;
  line-height:1.35 !important;
}


/* ----------------------------------------------------------
   5. LIVE TRACKING - TABLE STYLE
   ---------------------------------------------------------- */

#receptionDesk .live-car-tracking,
#engineerDesk .live-car-tracking,
#storeDesk .live-car-tracking,
#accountsDesk .live-car-tracking{
  margin:0 0 12px !important;

  border-radius:9px !important;

  box-shadow:none !important;
}


/* table title */

#receptionDesk .tracking-title,
#engineerDesk .tracking-title,
#storeDesk .tracking-title,
#accountsDesk .tracking-title{
  min-height:42px !important;

  padding:0 14px !important;

  justify-content:center !important;

  text-align:center !important;

  font-size:13px !important;
  font-weight:800 !important;
}


/* table rows */

#receptionDesk .tracking-car,
#engineerDesk .tracking-car,
#storeDesk .tracking-car,
#accountsDesk .tracking-car{
  min-height:48px !important;

  padding:8px 12px !important;

  gap:10px !important;

  text-align:center !important;
}


/* order number */

#receptionDesk .tracking-car b,
#engineerDesk .tracking-car b,
#storeDesk .tracking-car b,
#accountsDesk .tracking-car b{
  text-align:center !important;

  font-size:13px !important;
  font-weight:800 !important;
}


/* customer / vehicle */

#receptionDesk .tracking-car span,
#engineerDesk .tracking-car span,
#storeDesk .tracking-car span,
#accountsDesk .tracking-car span{
  text-align:center !important;

  font-size:12px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
}


/* status */

#receptionDesk .tracking-car strong,
#engineerDesk .tracking-car strong,
#storeDesk .tracking-car strong,
#accountsDesk .tracking-car strong{
  text-align:center !important;

  font-size:12px !important;
  font-weight:800 !important;
}


/* ----------------------------------------------------------
   6. ORDER CARDS - SAME STYLE ON ALL ROLE PAGES
   ---------------------------------------------------------- */

#receptionDesk .role-order-grid,
#engineerDesk .role-order-grid,
#storeDesk .role-order-grid,
#accountsDesk .role-order-grid{
  gap:10px !important;
}


/* reception previously had oversized cards */

#receptionDesk #receptionQueue .role-order-card,
#engineerDesk .role-order-card,
#storeDesk .role-order-card,
#accountsDesk .role-order-card{
  min-height:0 !important;

  padding:13px !important;

  border-radius:10px !important;

  box-shadow:none !important;
}


/* remove old reception decorative glow */

#receptionDesk #receptionQueue .role-order-card::after{
  display:none !important;
}


/* order header */

#receptionDesk .role-order-top,
#engineerDesk .role-order-top,
#storeDesk .role-order-top,
#accountsDesk .role-order-top{
  align-items:center !important;

  padding-bottom:9px !important;
}


/* order number */

#receptionDesk .role-order-top b,
#engineerDesk .role-order-top b,
#storeDesk .role-order-top b,
#accountsDesk .role-order-top b{
  font-size:14px !important;
  font-weight:900 !important;
}


/* customer summary */

#receptionDesk .role-order-top small,
#engineerDesk .role-order-top small,
#storeDesk .role-order-top small,
#accountsDesk .role-order-top small{
  margin-top:3px !important;

  font-size:12px !important;
  line-height:1.4 !important;
}


/* status badge */

#receptionDesk .role-status,
#engineerDesk .role-status,
#storeDesk .role-status,
#accountsDesk .role-status{
  padding:5px 9px !important;

  font-size:11px !important;
}


/* card body */

#receptionDesk .role-order-body,
#engineerDesk .role-order-body,
#storeDesk .role-order-body,
#accountsDesk .role-order-body{
  gap:7px !important;

  margin:9px 0 !important;
}


/* data boxes */

#receptionDesk .role-order-body > div,
#engineerDesk .role-order-body > div,
#storeDesk .role-order-body > div,
#accountsDesk .role-order-body > div{
  min-height:54px !important;

  padding:8px !important;

  border-radius:8px !important;

  text-align:center !important;
}


/* labels */

#receptionDesk .role-order-body small,
#engineerDesk .role-order-body small,
#storeDesk .role-order-body small,
#accountsDesk .role-order-body small{
  margin-bottom:3px !important;

  font-size:11px !important;
}


/* values */

#receptionDesk .role-order-body b,
#engineerDesk .role-order-body b,
#storeDesk .role-order-body b,
#accountsDesk .role-order-body b{
  font-size:13px !important;
  line-height:1.4 !important;
}


#receptionDesk .role-order-body span,
#engineerDesk .role-order-body span,
#storeDesk .role-order-body span,
#accountsDesk .role-order-body span{
  font-size:11px !important;
  line-height:1.4 !important;
}


/* footer */

#receptionDesk .role-order-foot,
#engineerDesk .role-order-foot,
#storeDesk .role-order-foot,
#accountsDesk .role-order-foot{
  min-height:38px !important;

  padding-top:8px !important;
}


/* footer stage */

#receptionDesk .role-order-foot > span,
#engineerDesk .role-order-foot > span,
#storeDesk .role-order-foot > span,
#accountsDesk .role-order-foot > span{
  font-size:11px !important;
}


/* Open order buttons */

#receptionDesk .role-card-actions button,
#engineerDesk .role-card-actions button,
#storeDesk .role-card-actions button,
#accountsDesk .role-card-actions button{
  min-width:92px !important;
  height:34px !important;

  padding:0 11px !important;

  border-radius:7px !important;

  font-size:11px !important;
  font-weight:800 !important;
}


/* ----------------------------------------------------------
   7. GENERAL TABLES INSIDE THE FOUR ROLE PAGES
   ---------------------------------------------------------- */

#receptionDesk table th,
#receptionDesk table td,
#engineerDesk table th,
#engineerDesk table td,
#storeDesk table th,
#storeDesk table td,
#accountsDesk table th,
#accountsDesk table td{
  padding:10px 12px !important;

  text-align:center !important;
  vertical-align:middle !important;

  font-size:13px !important;
  line-height:1.45 !important;
}


#receptionDesk table th,
#engineerDesk table th,
#storeDesk table th,
#accountsDesk table th{
  font-weight:800 !important;
}


/* ----------------------------------------------------------
   8. MOBILE
   ---------------------------------------------------------- */

@media(max-width:700px){

  #receptionDesk > .page-head,
  #engineerDesk > .page-head,
  #storeDesk > .page-head,
  #accountsDesk > .page-head{
    min-height:auto !important;

    padding:10px 4px !important;

    gap:10px !important;
  }


  #receptionDesk > .page-head h1,
  #engineerDesk > .page-head h1,
  #storeDesk > .page-head h1,
  #accountsDesk > .page-head h1{
    font-size:21px !important;
  }


  #receptionDesk > .page-head p,
  #engineerDesk > .page-head p,
  #storeDesk > .page-head p,
  #accountsDesk > .page-head p{
    font-size:12px !important;
  }


  #receptionDesk .pipeline-step,
  #engineerDesk .pipeline-step,
  #storeDesk .pipeline-step,
  #accountsDesk .pipeline-step{
    flex:0 0 115px !important;
  }


  #receptionDesk .role-kpi-grid,
  #engineerDesk .role-kpi-grid,
  #storeDesk .role-kpi-grid,
  #accountsDesk .role-kpi-grid{
    grid-template-columns:repeat(3,minmax(100px,1fr)) !important;

    overflow-x:auto !important;
  }


  #receptionDesk .tracking-car,
  #engineerDesk .tracking-car,
  #storeDesk .tracking-car,
  #accountsDesk .tracking-car{
    grid-template-columns:1fr 1fr !important;

    font-size:12px !important;
  }

}



/* ==========================================================
   V307-B - ROLE DASHBOARDS THEME NORMALIZATION
   Reception / Engineer / Store / Accounts
   Dark = fully dark
   Light = fully light
   ========================================================== */


/* ==========================================================
   1. DARK TOKENS - DEFAULT
   ========================================================== */

#receptionDesk,
#engineerDesk,
#storeDesk,
#accountsDesk{
  --rp-bg:transparent;

  --rp-surface:#0d1b2a;
  --rp-surface-2:#10243a;
  --rp-surface-3:#132b43;

  --rp-border:#23445e;
  --rp-border-soft:#1b354a;

  --rp-text:#f5f8fb;
  --rp-text-2:#d8e3ec;
  --rp-muted:#8fa5b8;

  --rp-accent:#2dd4bf;
  --rp-accent-bg:rgba(45,212,191,.10);
  --rp-accent-border:rgba(45,212,191,.48);

  --rp-danger:#ff6f87;
  --rp-success:#48d59b;

  color:var(--rp-text) !important;
  background:var(--rp-bg) !important;
}


/* ==========================================================
   2. LIGHT TOKENS
   ========================================================== */

body.light #receptionDesk,
body.light #engineerDesk,
body.light #storeDesk,
body.light #accountsDesk,
body[data-theme="light"] #receptionDesk,
body[data-theme="light"] #engineerDesk,
body[data-theme="light"] #storeDesk,
body[data-theme="light"] #accountsDesk{
  --rp-bg:transparent;

  --rp-surface:#ffffff;
  --rp-surface-2:#f5f7fa;
  --rp-surface-3:#eef3f7;

  --rp-border:#d4dee7;
  --rp-border-soft:#e2e8ee;

  --rp-text:#17212b;
  --rp-text-2:#293846;
  --rp-muted:#647483;

  --rp-accent:#079c8d;
  --rp-accent-bg:#e8f8f5;
  --rp-accent-border:#54c8bc;

  --rp-danger:#c83d58;
  --rp-success:#16865f;

  color:var(--rp-text) !important;
}


/* ==========================================================
   3. PAGE HEADER
   ========================================================== */

#receptionDesk > .page-head,
#engineerDesk > .page-head,
#storeDesk > .page-head,
#accountsDesk > .page-head{
  background:transparent !important;

  border:0 !important;
  border-bottom:1px solid var(--rp-border) !important;

  box-shadow:none !important;

  color:var(--rp-text) !important;
}


#receptionDesk > .page-head h1,
#engineerDesk > .page-head h1,
#storeDesk > .page-head h1,
#accountsDesk > .page-head h1{
  color:var(--rp-text) !important;

  font-size:24px !important;
  font-weight:900 !important;
}


#receptionDesk > .page-head p,
#engineerDesk > .page-head p,
#storeDesk > .page-head p,
#accountsDesk > .page-head p{
  color:var(--rp-muted) !important;

  font-size:13px !important;
  font-weight:600 !important;
}


/* ==========================================================
   4. PIPELINE WRAPPER
   ========================================================== */

#receptionDesk .live-pipeline,
#engineerDesk .live-pipeline,
#storeDesk .live-pipeline,
#accountsDesk .live-pipeline{
  background:var(--rp-surface-2) !important;

  border:1px solid var(--rp-border) !important;

  box-shadow:none !important;

  padding:6px !important;
  gap:6px !important;

  border-radius:10px !important;
}


/* pipeline step */

#receptionDesk .pipeline-step,
#engineerDesk .pipeline-step,
#storeDesk .pipeline-step,
#accountsDesk .pipeline-step{
  background:var(--rp-surface) !important;

  border:1px solid var(--rp-border) !important;

  color:var(--rp-text) !important;

  box-shadow:none !important;

  border-radius:8px !important;
}


/* active stage */

#receptionDesk .pipeline-step.has-orders,
#engineerDesk .pipeline-step.has-orders,
#storeDesk .pipeline-step.has-orders,
#accountsDesk .pipeline-step.has-orders{
  background:var(--rp-accent-bg) !important;

  border-color:var(--rp-accent-border) !important;
}


/* stage circle */

#receptionDesk .pipeline-step > span,
#engineerDesk .pipeline-step > span,
#storeDesk .pipeline-step > span,
#accountsDesk .pipeline-step > span{
  background:var(--rp-surface-3) !important;

  color:var(--rp-text-2) !important;

  border:1px solid var(--rp-border-soft) !important;
}


/* active circle */

#receptionDesk .pipeline-step.has-orders > span,
#engineerDesk .pipeline-step.has-orders > span,
#storeDesk .pipeline-step.has-orders > span,
#accountsDesk .pipeline-step.has-orders > span{
  background:var(--rp-accent) !important;

  color:#ffffff !important;

  border-color:var(--rp-accent) !important;
}


/* stage title */

#receptionDesk .pipeline-step > b,
#engineerDesk .pipeline-step > b,
#storeDesk .pipeline-step > b,
#accountsDesk .pipeline-step > b{
  color:var(--rp-text) !important;

  font-size:13px !important;
}


/* counter */

#receptionDesk .pipeline-step > small,
#engineerDesk .pipeline-step > small,
#storeDesk .pipeline-step > small,
#accountsDesk .pipeline-step > small{
  color:var(--rp-muted) !important;

  font-size:11px !important;
}


/* arrows */

#receptionDesk .pipeline-step > i,
#engineerDesk .pipeline-step > i,
#storeDesk .pipeline-step > i,
#accountsDesk .pipeline-step > i{
  color:var(--rp-muted) !important;
}


/* ==========================================================
   5. KPI CARDS
   ========================================================== */

#receptionDesk #receptionKpis > div,
#engineerDesk .role-kpi-grid > div,
#storeDesk .role-kpi-grid > div,
#accountsDesk .role-kpi-grid > div{
  background:var(--rp-surface) !important;

  border:1px solid var(--rp-border) !important;

  color:var(--rp-text) !important;

  box-shadow:none !important;

  border-radius:8px !important;
}


#receptionDesk #receptionKpis > div > b,
#engineerDesk .role-kpi-grid b,
#storeDesk .role-kpi-grid b,
#accountsDesk .role-kpi-grid b{
  color:var(--rp-text) !important;

  font-size:20px !important;
}


#receptionDesk #receptionKpis > div > small,
#engineerDesk .role-kpi-grid small,
#storeDesk .role-kpi-grid small,
#accountsDesk .role-kpi-grid small{
  color:var(--rp-muted) !important;

  font-size:12px !important;
}


/* ==========================================================
   6. LIVE TRACKING TABLE
   ========================================================== */

#receptionDesk .live-car-tracking,
#engineerDesk .live-car-tracking,
#storeDesk .live-car-tracking,
#accountsDesk .live-car-tracking{
  background:var(--rp-surface) !important;

  border:1px solid var(--rp-border) !important;

  box-shadow:none !important;

  border-radius:9px !important;
}


/* tracking title */

#receptionDesk .tracking-title,
#engineerDesk .tracking-title,
#storeDesk .tracking-title,
#accountsDesk .tracking-title{
  background:var(--rp-surface-2) !important;

  color:var(--rp-text) !important;

  border-bottom:1px solid var(--rp-border) !important;

  font-size:13px !important;
  font-weight:800 !important;

  text-align:center !important;
  justify-content:center !important;
}


/* rows */

#receptionDesk .tracking-car,
#engineerDesk .tracking-car,
#storeDesk .tracking-car,
#accountsDesk .tracking-car{
  background:var(--rp-surface) !important;

  color:var(--rp-text) !important;

  border-bottom:1px solid var(--rp-border-soft) !important;

  box-shadow:none !important;

  text-align:center !important;
}


/* all row text */

#receptionDesk .tracking-car b,
#engineerDesk .tracking-car b,
#storeDesk .tracking-car b,
#accountsDesk .tracking-car b{
  color:var(--rp-text) !important;

  font-size:13px !important;

  text-align:center !important;
}


#receptionDesk .tracking-car span,
#engineerDesk .tracking-car span,
#storeDesk .tracking-car span,
#accountsDesk .tracking-car span{
  color:var(--rp-text-2) !important;

  font-size:12px !important;

  text-align:center !important;
}


#receptionDesk .tracking-car strong,
#engineerDesk .tracking-car strong,
#storeDesk .tracking-car strong,
#accountsDesk .tracking-car strong{
  color:var(--rp-text) !important;

  font-size:12px !important;

  text-align:center !important;
}


/* state indicator only */

#receptionDesk .tracking-car.stage-reception,
#engineerDesk .tracking-car.stage-reception,
#storeDesk .tracking-car.stage-reception,
#accountsDesk .tracking-car.stage-reception{
  box-shadow:inset -3px 0 0 var(--rp-accent) !important;
}


#receptionDesk .tracking-car.stage-service,
#receptionDesk .tracking-car.stage-store,
#receptionDesk .tracking-car.stage-accounts,
#engineerDesk .tracking-car.stage-service,
#engineerDesk .tracking-car.stage-store,
#engineerDesk .tracking-car.stage-accounts,
#storeDesk .tracking-car.stage-service,
#storeDesk .tracking-car.stage-store,
#storeDesk .tracking-car.stage-accounts,
#accountsDesk .tracking-car.stage-service,
#accountsDesk .tracking-car.stage-store,
#accountsDesk .tracking-car.stage-accounts{
  box-shadow:inset -3px 0 0 var(--rp-danger) !important;
}


#receptionDesk .tracking-car.stage-paid,
#engineerDesk .tracking-car.stage-paid,
#storeDesk .tracking-car.stage-paid,
#accountsDesk .tracking-car.stage-paid{
  box-shadow:inset -3px 0 0 var(--rp-success) !important;
}


/* ==========================================================
   7. ROLE ORDER CARDS
   ========================================================== */

#receptionDesk #receptionQueue .role-order-card,
#engineerDesk .role-order-card,
#storeDesk .role-order-card,
#accountsDesk .role-order-card{
  background:var(--rp-surface) !important;

  border:1px solid var(--rp-border) !important;

  color:var(--rp-text) !important;

  box-shadow:none !important;

  border-radius:9px !important;
}


/* top */

#receptionDesk .role-order-top,
#engineerDesk .role-order-top,
#storeDesk .role-order-top,
#accountsDesk .role-order-top{
  border-bottom:1px solid var(--rp-border-soft) !important;
}


#receptionDesk .role-order-top b,
#engineerDesk .role-order-top b,
#storeDesk .role-order-top b,
#accountsDesk .role-order-top b{
  color:var(--rp-text) !important;
}


#receptionDesk .role-order-top small,
#engineerDesk .role-order-top small,
#storeDesk .role-order-top small,
#accountsDesk .role-order-top small{
  color:var(--rp-muted) !important;
}


/* body boxes */

#receptionDesk .role-order-body > div,
#engineerDesk .role-order-body > div,
#storeDesk .role-order-body > div,
#accountsDesk .role-order-body > div{
  background:var(--rp-surface-2) !important;

  border:1px solid var(--rp-border-soft) !important;

  color:var(--rp-text) !important;
}


#receptionDesk .role-order-body small,
#engineerDesk .role-order-body small,
#storeDesk .role-order-body small,
#accountsDesk .role-order-body small{
  color:var(--rp-muted) !important;
}


#receptionDesk .role-order-body b,
#engineerDesk .role-order-body b,
#storeDesk .role-order-body b,
#accountsDesk .role-order-body b{
  color:var(--rp-text) !important;
}


#receptionDesk .role-order-body span,
#engineerDesk .role-order-body span,
#storeDesk .role-order-body span,
#accountsDesk .role-order-body span{
  color:var(--rp-text-2) !important;
}


/* footer */

#receptionDesk .role-order-foot,
#engineerDesk .role-order-foot,
#storeDesk .role-order-foot,
#accountsDesk .role-order-foot{
  border-top:1px solid var(--rp-border-soft) !important;
}


/* ==========================================================
   8. EMPTY STATE
   ========================================================== */

#receptionDesk .role-empty,
#engineerDesk .role-empty,
#storeDesk .role-empty,
#accountsDesk .role-empty{
  background:var(--rp-surface-2) !important;

  color:var(--rp-muted) !important;

  border:1px dashed var(--rp-border) !important;

  box-shadow:none !important;
}


/* ==========================================================
   9. GENERIC TABLES
   ========================================================== */

#receptionDesk table,
#engineerDesk table,
#storeDesk table,
#accountsDesk table{
  background:var(--rp-surface) !important;

  color:var(--rp-text) !important;
}


#receptionDesk table th,
#engineerDesk table th,
#storeDesk table th,
#accountsDesk table th{
  background:var(--rp-surface-2) !important;

  color:var(--rp-text) !important;

  border-color:var(--rp-border) !important;

  text-align:center !important;
}


#receptionDesk table td,
#engineerDesk table td,
#storeDesk table td,
#accountsDesk table td{
  background:var(--rp-surface) !important;

  color:var(--rp-text-2) !important;

  border-color:var(--rp-border-soft) !important;

  text-align:center !important;
}


/* ==========================================================
   10. LIGHT MODE - REMOVE OLD DARK RESIDUE
   ========================================================== */

body.light #receptionDesk .live-pipeline,
body.light #engineerDesk .live-pipeline,
body.light #storeDesk .live-pipeline,
body.light #accountsDesk .live-pipeline,
body[data-theme="light"] #receptionDesk .live-pipeline,
body[data-theme="light"] #engineerDesk .live-pipeline,
body[data-theme="light"] #storeDesk .live-pipeline,
body[data-theme="light"] #accountsDesk .live-pipeline{
  background:#f4f6f8 !important;
}


body.light #receptionDesk .pipeline-step,
body.light #engineerDesk .pipeline-step,
body.light #storeDesk .pipeline-step,
body.light #accountsDesk .pipeline-step,
body[data-theme="light"] #receptionDesk .pipeline-step,
body[data-theme="light"] #engineerDesk .pipeline-step,
body[data-theme="light"] #storeDesk .pipeline-step,
body[data-theme="light"] #accountsDesk .pipeline-step{
  background:#ffffff !important;
  color:#17212b !important;
}


body.light #receptionDesk .pipeline-step.has-orders,
body.light #engineerDesk .pipeline-step.has-orders,
body.light #storeDesk .pipeline-step.has-orders,
body.light #accountsDesk .pipeline-step.has-orders,
body[data-theme="light"] #receptionDesk .pipeline-step.has-orders,
body[data-theme="light"] #engineerDesk .pipeline-step.has-orders,
body[data-theme="light"] #storeDesk .pipeline-step.has-orders,
body[data-theme="light"] #accountsDesk .pipeline-step.has-orders{
  background:#e8f8f5 !important;
}


/* force all major surfaces white in light */

body.light #receptionDesk .role-kpi-grid > div,
body.light #engineerDesk .role-kpi-grid > div,
body.light #storeDesk .role-kpi-grid > div,
body.light #accountsDesk .role-kpi-grid > div,

body.light #receptionDesk .live-car-tracking,
body.light #engineerDesk .live-car-tracking,
body.light #storeDesk .live-car-tracking,
body.light #accountsDesk .live-car-tracking,

body.light #receptionDesk .role-order-card,
body.light #engineerDesk .role-order-card,
body.light #storeDesk .role-order-card,
body.light #accountsDesk .role-order-card,

body[data-theme="light"] #receptionDesk .role-kpi-grid > div,
body[data-theme="light"] #engineerDesk .role-kpi-grid > div,
body[data-theme="light"] #storeDesk .role-kpi-grid > div,
body[data-theme="light"] #accountsDesk .role-kpi-grid > div,

body[data-theme="light"] #receptionDesk .live-car-tracking,
body[data-theme="light"] #engineerDesk .live-car-tracking,
body[data-theme="light"] #storeDesk .live-car-tracking,
body[data-theme="light"] #accountsDesk .live-car-tracking,

body[data-theme="light"] #receptionDesk .role-order-card,
body[data-theme="light"] #engineerDesk .role-order-card,
body[data-theme="light"] #storeDesk .role-order-card,
body[data-theme="light"] #accountsDesk .role-order-card{
  background:#ffffff !important;
}


/* tracking rows light */

body.light #receptionDesk .tracking-car,
body.light #engineerDesk .tracking-car,
body.light #storeDesk .tracking-car,
body.light #accountsDesk .tracking-car,
body[data-theme="light"] #receptionDesk .tracking-car,
body[data-theme="light"] #engineerDesk .tracking-car,
body[data-theme="light"] #storeDesk .tracking-car,
body[data-theme="light"] #accountsDesk .tracking-car{
  background:#ffffff !important;
}


/* tracking header light */

body.light #receptionDesk .tracking-title,
body.light #engineerDesk .tracking-title,
body.light #storeDesk .tracking-title,
body.light #accountsDesk .tracking-title,
body[data-theme="light"] #receptionDesk .tracking-title,
body[data-theme="light"] #engineerDesk .tracking-title,
body[data-theme="light"] #storeDesk .tracking-title,
body[data-theme="light"] #accountsDesk .tracking-title{
  background:#f3f6f8 !important;

  color:#17212b !important;
}


/* Light mode: force readable dark text */

body.light #receptionDesk *,
body.light #engineerDesk *,
body.light #storeDesk *,
body.light #accountsDesk *,
body[data-theme="light"] #receptionDesk *,
body[data-theme="light"] #engineerDesk *,
body[data-theme="light"] #storeDesk *,
body[data-theme="light"] #accountsDesk *{
  text-shadow:none !important;
}


/* ==========================================================
   END V307-B
   ========================================================== */

/* === V309 FINAL ODOO LIGHT START === */

/* ==========================================================
   FINAL LIGHT THEME
   Reception / Engineer / Store / Accounts
   ========================================================== */

/* ---------- PAGE ---------- */

html[data-theme="light"] body #receptionDesk,
html[data-theme="light"] body #engineerDesk,
html[data-theme="light"] body #storeDesk,
html[data-theme="light"] body #accountsDesk{
  background:#f5f6f8 !important;
  color:#1f2937 !important;
}


/* ---------- HEADER ---------- */

html[data-theme="light"] body #receptionDesk > .page-head,
html[data-theme="light"] body #engineerDesk > .page-head,
html[data-theme="light"] body #storeDesk > .page-head,
html[data-theme="light"] body #accountsDesk > .page-head{
  background:#ffffff !important;
  background-image:none !important;
  border:0 !important;
  border-bottom:1px solid #d6dbe1 !important;
  box-shadow:none !important;
}

html[data-theme="light"] body #receptionDesk > .page-head h1,
html[data-theme="light"] body #engineerDesk > .page-head h1,
html[data-theme="light"] body #storeDesk > .page-head h1,
html[data-theme="light"] body #accountsDesk > .page-head h1{
  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;
  opacity:1 !important;
  font-size:24px !important;
  font-weight:900 !important;
}

html[data-theme="light"] body #receptionDesk > .page-head p,
html[data-theme="light"] body #engineerDesk > .page-head p,
html[data-theme="light"] body #storeDesk > .page-head p,
html[data-theme="light"] body #accountsDesk > .page-head p{
  color:#4b5563 !important;
  -webkit-text-fill-color:#4b5563 !important;
  opacity:1 !important;
  font-size:13px !important;
  font-weight:700 !important;
}


/* ==========================================================
   PIPELINE
   ========================================================== */

html[data-theme="light"] body #receptionPipeline,
html[data-theme="light"] body #engineerPipeline,
html[data-theme="light"] body #storePipeline,
html[data-theme="light"] body #accountsPipeline{
  background:#eef1f4 !important;
  background-image:none !important;
  border:1px solid #d4dae1 !important;
  box-shadow:none !important;
}

html[data-theme="light"] body .live-pipeline > .pipeline-step{
  background:#ffffff !important;
  background-image:none !important;
  border:1px solid #d5dbe2 !important;
  box-shadow:none !important;
  filter:none !important;
}

html[data-theme="light"] body .live-pipeline > .pipeline-step.has-orders{
  background:#edf6f4 !important;
  background-image:none !important;
  border-color:#91c9c1 !important;
  box-shadow:none !important;
}


/* pipeline title */

html[data-theme="light"] body .live-pipeline .pipeline-step > b{
  color:#17212b !important;
  -webkit-text-fill-color:#17212b !important;
  opacity:1 !important;
  filter:none !important;

  font-size:13px !important;
  font-weight:800 !important;
}


/* pipeline secondary text */

html[data-theme="light"] body .live-pipeline .pipeline-step > small{
  color:#4b5966 !important;
  -webkit-text-fill-color:#4b5966 !important;
  opacity:1 !important;

  font-size:11px !important;
  font-weight:700 !important;
}


/* stage number */

html[data-theme="light"] body .live-pipeline .pipeline-step > span{
  background:#e8edf1 !important;
  background-image:none !important;

  color:#273746 !important;
  -webkit-text-fill-color:#273746 !important;

  opacity:1 !important;

  border:1px solid #d1d9e0 !important;
  box-shadow:none !important;

  font-weight:800 !important;
}

html[data-theme="light"] body .live-pipeline .pipeline-step.has-orders > span{
  background:#d6ece8 !important;

  color:#12675e !important;
  -webkit-text-fill-color:#12675e !important;

  border-color:#91c9c1 !important;
}


/* ==========================================================
   KPI
   ========================================================== */

html[data-theme="light"] body #receptionKpis > div,
html[data-theme="light"] body #engineerKpis > div,
html[data-theme="light"] body #storeKpis > div,
html[data-theme="light"] body #accountsKpis > div{
  background:#ffffff !important;
  background-image:none !important;

  border:1px solid #d5dbe2 !important;

  box-shadow:none !important;
  filter:none !important;
}

html[data-theme="light"] body #receptionKpis > div > b,
html[data-theme="light"] body #engineerKpis > div > b,
html[data-theme="light"] body #storeKpis > div > b,
html[data-theme="light"] body #accountsKpis > div > b{
  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;

  opacity:1 !important;

  font-size:20px !important;
  font-weight:900 !important;
}

html[data-theme="light"] body #receptionKpis > div > small,
html[data-theme="light"] body #engineerKpis > div > small,
html[data-theme="light"] body #storeKpis > div > small,
html[data-theme="light"] body #accountsKpis > div > small{
  color:#465563 !important;
  -webkit-text-fill-color:#465563 !important;

  opacity:1 !important;

  font-size:12px !important;
  font-weight:700 !important;
}


/* ==========================================================
   TRACKING TABLE
   ========================================================== */

html[data-theme="light"] body #receptionPipelineCars,
html[data-theme="light"] body #engineerPipelineCars,
html[data-theme="light"] body #storePipelineCars,
html[data-theme="light"] body #accountsPipelineCars{
  background:#ffffff !important;
  background-image:none !important;

  border:1px solid #d5dbe2 !important;

  box-shadow:none !important;
}


/* title */

html[data-theme="light"] body .live-car-tracking .tracking-title{
  background:#f0f2f4 !important;
  background-image:none !important;

  color:#17212b !important;
  -webkit-text-fill-color:#17212b !important;

  opacity:1 !important;

  border-bottom:1px solid #d5dbe2 !important;

  font-size:13px !important;
  font-weight:800 !important;

  text-align:center !important;
  justify-content:center !important;
}


/* rows */

html[data-theme="light"] body .live-car-tracking .tracking-car{
  background:#ffffff !important;
  background-image:none !important;

  border-bottom:1px solid #e3e7eb !important;

  box-shadow:none !important;
  filter:none !important;
}


/* ORDER NUMBER */

html[data-theme="light"] body .live-car-tracking .tracking-car > b{
  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;

  opacity:1 !important;

  font-size:13px !important;
  font-weight:800 !important;

  text-align:center !important;
}


/* CUSTOMER + VEHICLE */

html[data-theme="light"] body .live-car-tracking .tracking-car > span,
html[data-theme="light"] body .live-car-tracking .tracking-car > span > span{
  color:#26333f !important;
  -webkit-text-fill-color:#26333f !important;

  opacity:1 !important;

  font-size:12px !important;
  font-weight:700 !important;

  text-align:center !important;
}


/* STATUS */

html[data-theme="light"] body .live-car-tracking .tracking-car > strong{
  color:#26333f !important;
  -webkit-text-fill-color:#26333f !important;

  opacity:1 !important;

  font-size:12px !important;
  font-weight:800 !important;

  text-align:center !important;
}


/* semantic status colors */

html[data-theme="light"] body .tracking-car.stage-service > strong,
html[data-theme="light"] body .tracking-car.stage-store > strong,
html[data-theme="light"] body .tracking-car.stage-accounts > strong{
  color:#b7354b !important;
  -webkit-text-fill-color:#b7354b !important;
}

html[data-theme="light"] body .tracking-car.stage-paid > strong{
  color:#157552 !important;
  -webkit-text-fill-color:#157552 !important;
}


/* ==========================================================
   ORDER CARDS
   ========================================================== */

html[data-theme="light"] body #receptionQueue .role-order-card,
html[data-theme="light"] body #engineerQueue .role-order-card,
html[data-theme="light"] body #storeQueue .role-order-card,
html[data-theme="light"] body #accountsQueue .role-order-card{
  background:#ffffff !important;
  background-image:none !important;

  color:#1f2937 !important;

  border:1px solid #d5dbe2 !important;

  box-shadow:none !important;
  filter:none !important;
}

html[data-theme="light"] body .role-order-top b,
html[data-theme="light"] body .role-order-body b{
  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;
  opacity:1 !important;
  font-weight:800 !important;
}

html[data-theme="light"] body .role-order-top small,
html[data-theme="light"] body .role-order-body small,
html[data-theme="light"] body .role-order-body span{
  color:#465563 !important;
  -webkit-text-fill-color:#465563 !important;
  opacity:1 !important;
  font-weight:650 !important;
}

html[data-theme="light"] body .role-order-body > div{
  background:#f5f7f9 !important;
  background-image:none !important;

  border-color:#dde2e7 !important;

  box-shadow:none !important;
}


/* ==========================================================
   EMPTY STATE
   ========================================================== */

html[data-theme="light"] body #receptionQueue .role-empty,
html[data-theme="light"] body #engineerQueue .role-empty,
html[data-theme="light"] body #storeQueue .role-empty,
html[data-theme="light"] body #accountsQueue .role-empty{
  background:#ffffff !important;
  background-image:none !important;

  color:#374553 !important;
  -webkit-text-fill-color:#374553 !important;

  opacity:1 !important;

  border:1px dashed #c7d0d9 !important;

  box-shadow:none !important;

  font-weight:700 !important;
}


/* ==========================================================
   REMOVE ALL LIGHT-MODE GLOW / WASHOUT
   ========================================================== */

html[data-theme="light"] body #receptionDesk *,
html[data-theme="light"] body #engineerDesk *,
html[data-theme="light"] body #storeDesk *,
html[data-theme="light"] body #accountsDesk *{
  text-shadow:none !important;
}


/* === V309 FINAL ODOO LIGHT END === */


/* ==========================================================
   V311 - ROLE DASHBOARDS LIGHT RESET
   Match the visual language of Orders / Odoo light mode
   Reception / Engineer / Store / Accounts
   ========================================================== */


/* ==========================================================
   PAGE
   ========================================================== */

html[data-theme="light"] body #receptionDesk,
html[data-theme="light"] body #engineerDesk,
html[data-theme="light"] body #storeDesk,
html[data-theme="light"] body #accountsDesk{
  background:#f6f7f9 !important;
  color:#1f2937 !important;
}


/* ==========================================================
   HEADER
   ========================================================== */

html[data-theme="light"] body #receptionDesk > .page-head,
html[data-theme="light"] body #engineerDesk > .page-head,
html[data-theme="light"] body #storeDesk > .page-head,
html[data-theme="light"] body #accountsDesk > .page-head{
  background:#ffffff !important;
  background-image:none !important;
  border:0 !important;
  border-bottom:1px solid #d8dde3 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

html[data-theme="light"] body #receptionDesk > .page-head h1,
html[data-theme="light"] body #engineerDesk > .page-head h1,
html[data-theme="light"] body #storeDesk > .page-head h1,
html[data-theme="light"] body #accountsDesk > .page-head h1{
  color:#1f2937 !important;
  -webkit-text-fill-color:#1f2937 !important;
  opacity:1 !important;
  font-weight:800 !important;
}

html[data-theme="light"] body #receptionDesk > .page-head p,
html[data-theme="light"] body #engineerDesk > .page-head p,
html[data-theme="light"] body #storeDesk > .page-head p,
html[data-theme="light"] body #accountsDesk > .page-head p{
  color:#667085 !important;
  -webkit-text-fill-color:#667085 !important;
  opacity:1 !important;
  font-weight:600 !important;
}


/* ==========================================================
   PIPELINE OUTER
   ========================================================== */

html[data-theme="light"] body #receptionDesk #receptionPipeline,
html[data-theme="light"] body #engineerDesk #engineerPipeline,
html[data-theme="light"] body #storeDesk #storePipeline,
html[data-theme="light"] body #accountsDesk #accountsPipeline{
  background:#f1f3f5 !important;
  background-image:none !important;
  border:1px solid #d8dde3 !important;
  box-shadow:none !important;
}


/* ==========================================================
   PIPELINE STEPS
   ========================================================== */

html[data-theme="light"] body #receptionDesk #receptionPipeline > .pipeline-step,
html[data-theme="light"] body #engineerDesk #engineerPipeline > .pipeline-step,
html[data-theme="light"] body #storeDesk #storePipeline > .pipeline-step,
html[data-theme="light"] body #accountsDesk #accountsPipeline > .pipeline-step{
  background:#ffffff !important;
  background-image:none !important;
  border:1px solid #d8dde3 !important;
  box-shadow:none !important;
  filter:none !important;
}


/* active stage - very subtle */

html[data-theme="light"] body #receptionDesk #receptionPipeline > .pipeline-step.has-orders,
html[data-theme="light"] body #engineerDesk #engineerPipeline > .pipeline-step.has-orders,
html[data-theme="light"] body #storeDesk #storePipeline > .pipeline-step.has-orders,
html[data-theme="light"] body #accountsDesk #accountsPipeline > .pipeline-step.has-orders{
  background:#edf7f5 !important;
  background-image:none !important;
  border-color:#91cfc6 !important;
  box-shadow:none !important;
}


/* pipeline text */

html[data-theme="light"] body #receptionDesk #receptionPipeline .pipeline-step > b,
html[data-theme="light"] body #engineerDesk #engineerPipeline .pipeline-step > b,
html[data-theme="light"] body #storeDesk #storePipeline .pipeline-step > b,
html[data-theme="light"] body #accountsDesk #accountsPipeline .pipeline-step > b{
  color:#1f2937 !important;
  -webkit-text-fill-color:#1f2937 !important;
  opacity:1 !important;
  font-weight:800 !important;
}

html[data-theme="light"] body #receptionDesk #receptionPipeline .pipeline-step > small,
html[data-theme="light"] body #engineerDesk #engineerPipeline .pipeline-step > small,
html[data-theme="light"] body #storeDesk #storePipeline .pipeline-step > small,
html[data-theme="light"] body #accountsDesk #accountsPipeline .pipeline-step > small{
  color:#667085 !important;
  -webkit-text-fill-color:#667085 !important;
  opacity:1 !important;
  font-weight:600 !important;
}


/* step number */

html[data-theme="light"] body #receptionDesk #receptionPipeline .pipeline-step > span,
html[data-theme="light"] body #engineerDesk #engineerPipeline .pipeline-step > span,
html[data-theme="light"] body #storeDesk #storePipeline .pipeline-step > span,
html[data-theme="light"] body #accountsDesk #accountsPipeline .pipeline-step > span{
  background:#edf0f3 !important;
  color:#344054 !important;
  -webkit-text-fill-color:#344054 !important;
  border-color:#d0d5dd !important;
  box-shadow:none !important;
}

html[data-theme="light"] body #receptionDesk #receptionPipeline .pipeline-step.has-orders > span,
html[data-theme="light"] body #engineerDesk #engineerPipeline .pipeline-step.has-orders > span,
html[data-theme="light"] body #storeDesk #storePipeline .pipeline-step.has-orders > span,
html[data-theme="light"] body #accountsDesk #accountsPipeline .pipeline-step.has-orders > span{
  background:#d9efeb !important;
  color:#176b61 !important;
  -webkit-text-fill-color:#176b61 !important;
}


/* ==========================================================
   KPI
   ========================================================== */

html[data-theme="light"] body #receptionDesk #receptionKpis > div,
html[data-theme="light"] body #engineerDesk #engineerKpis > div,
html[data-theme="light"] body #storeDesk #storeKpis > div,
html[data-theme="light"] body #accountsDesk #accountsKpis > div{
  background:#ffffff !important;
  background-image:none !important;
  border:1px solid #d8dde3 !important;
  box-shadow:none !important;
  filter:none !important;
}

html[data-theme="light"] body #receptionDesk #receptionKpis > div > b,
html[data-theme="light"] body #engineerDesk #engineerKpis > div > b,
html[data-theme="light"] body #storeDesk #storeKpis > div > b,
html[data-theme="light"] body #accountsDesk #accountsKpis > div > b{
  color:#101828 !important;
  -webkit-text-fill-color:#101828 !important;
  opacity:1 !important;
  font-weight:800 !important;
}

html[data-theme="light"] body #receptionDesk #receptionKpis > div > small,
html[data-theme="light"] body #engineerDesk #engineerKpis > div > small,
html[data-theme="light"] body #storeDesk #storeKpis > div > small,
html[data-theme="light"] body #accountsDesk #accountsKpis > div > small{
  color:#475467 !important;
  -webkit-text-fill-color:#475467 !important;
  opacity:1 !important;
  font-weight:600 !important;
}


/* ==========================================================
   TRACKING
   ========================================================== */

html[data-theme="light"] body #receptionDesk #receptionPipelineCars,
html[data-theme="light"] body #engineerDesk #engineerPipelineCars,
html[data-theme="light"] body #storeDesk #storePipelineCars,
html[data-theme="light"] body #accountsDesk #accountsPipelineCars{
  background:#ffffff !important;
  background-image:none !important;
  border:1px solid #d8dde3 !important;
  box-shadow:none !important;
}


/* title */

html[data-theme="light"] body #receptionDesk #receptionPipelineCars > .tracking-title,
html[data-theme="light"] body #engineerDesk #engineerPipelineCars > .tracking-title,
html[data-theme="light"] body #storeDesk #storePipelineCars > .tracking-title,
html[data-theme="light"] body #accountsDesk #accountsPipelineCars > .tracking-title{
  background:#f5f6f7 !important;
  background-image:none !important;
  color:#1f2937 !important;
  -webkit-text-fill-color:#1f2937 !important;
  border-bottom:1px solid #d8dde3 !important;
  box-shadow:none !important;
  opacity:1 !important;
  font-weight:700 !important;
}


/* rows */

html[data-theme="light"] body #receptionDesk #receptionPipelineCars > .tracking-car,
html[data-theme="light"] body #engineerDesk #engineerPipelineCars > .tracking-car,
html[data-theme="light"] body #storeDesk #storePipelineCars > .tracking-car,
html[data-theme="light"] body #accountsDesk #accountsPipelineCars > .tracking-car{
  background:#ffffff !important;
  background-image:none !important;
  border-bottom:1px solid #eaecf0 !important;
  box-shadow:none !important;
  filter:none !important;
}


/* tracking text */

html[data-theme="light"] body #receptionDesk #receptionPipelineCars > .tracking-car > b,
html[data-theme="light"] body #engineerDesk #engineerPipelineCars > .tracking-car > b,
html[data-theme="light"] body #storeDesk #storePipelineCars > .tracking-car > b,
html[data-theme="light"] body #accountsDesk #accountsPipelineCars > .tracking-car > b{
  color:#101828 !important;
  -webkit-text-fill-color:#101828 !important;
  opacity:1 !important;
  font-weight:700 !important;
}

html[data-theme="light"] body #receptionDesk #receptionPipelineCars > .tracking-car > span,
html[data-theme="light"] body #receptionDesk #receptionPipelineCars > .tracking-car > span > span,
html[data-theme="light"] body #engineerDesk #engineerPipelineCars > .tracking-car > span,
html[data-theme="light"] body #engineerDesk #engineerPipelineCars > .tracking-car > span > span,
html[data-theme="light"] body #storeDesk #storePipelineCars > .tracking-car > span,
html[data-theme="light"] body #storeDesk #storePipelineCars > .tracking-car > span > span,
html[data-theme="light"] body #accountsDesk #accountsPipelineCars > .tracking-car > span,
html[data-theme="light"] body #accountsDesk #accountsPipelineCars > .tracking-car > span > span{
  color:#344054 !important;
  -webkit-text-fill-color:#344054 !important;
  opacity:1 !important;
  font-weight:600 !important;
}

html[data-theme="light"] body #receptionDesk #receptionPipelineCars > .tracking-car > strong,
html[data-theme="light"] body #engineerDesk #engineerPipelineCars > .tracking-car > strong,
html[data-theme="light"] body #storeDesk #storePipelineCars > .tracking-car > strong,
html[data-theme="light"] body #accountsDesk #accountsPipelineCars > .tracking-car > strong{
  color:#344054 !important;
  -webkit-text-fill-color:#344054 !important;
  opacity:1 !important;
  font-weight:700 !important;
}


/* ==========================================================
   QUEUE CARDS
   ========================================================== */

html[data-theme="light"] body #receptionDesk #receptionQueue .role-order-card,
html[data-theme="light"] body #engineerDesk #engineerQueue .role-order-card,
html[data-theme="light"] body #storeDesk #storeQueue .role-order-card,
html[data-theme="light"] body #accountsDesk #accountsQueue .role-order-card{
  background:#ffffff !important;
  background-image:none !important;
  border:1px solid #d8dde3 !important;
  box-shadow:none !important;
  color:#1f2937 !important;
}

html[data-theme="light"] body #receptionDesk .role-order-body > div,
html[data-theme="light"] body #engineerDesk .role-order-body > div,
html[data-theme="light"] body #storeDesk .role-order-body > div,
html[data-theme="light"] body #accountsDesk .role-order-body > div{
  background:#f7f8fa !important;
  background-image:none !important;
  border-color:#eaecf0 !important;
  box-shadow:none !important;
}


/* ==========================================================
   EMPTY
   ========================================================== */

html[data-theme="light"] body #receptionDesk #receptionQueue .role-empty,
html[data-theme="light"] body #engineerDesk #engineerQueue .role-empty,
html[data-theme="light"] body #storeDesk #storeQueue .role-empty,
html[data-theme="light"] body #accountsDesk #accountsQueue .role-empty{
  background:#ffffff !important;
  background-image:none !important;
  color:#475467 !important;
  -webkit-text-fill-color:#475467 !important;
  border:1px dashed #d0d5dd !important;
  box-shadow:none !important;
}


/* ==========================================================
   LIGHT MODE = NO GLOW
   ========================================================== */

html[data-theme="light"] body #receptionDesk *,
html[data-theme="light"] body #engineerDesk *,
html[data-theme="light"] body #storeDesk *,
html[data-theme="light"] body #accountsDesk *{
  text-shadow:none !important;
}


/* ==========================================================
   END V311
   ========================================================== */

/* === V312 COMPACT TYPOGRAPHY START === */

/* ==========================================================
   ROLE PAGES - tighter spacing + clearer typography
   ========================================================== */


/* ---------- PAGE HEADER ---------- */

#receptionDesk > .page-head,
#engineerDesk > .page-head,
#storeDesk > .page-head,
#accountsDesk > .page-head{
  min-height:58px !important;
  padding:7px 4px 8px !important;
  margin-bottom:8px !important;
  gap:10px !important;
}

#receptionDesk > .page-head > div,
#engineerDesk > .page-head > div,
#storeDesk > .page-head > div,
#accountsDesk > .page-head > div{
  gap:1px !important;
}

#receptionDesk > .page-head h1,
#engineerDesk > .page-head h1,
#storeDesk > .page-head h1,
#accountsDesk > .page-head h1{
  font-size:22px !important;
  line-height:1.15 !important;
}

#receptionDesk > .page-head p,
#engineerDesk > .page-head p,
#storeDesk > .page-head p,
#accountsDesk > .page-head p{
  margin-top:2px !important;
  font-size:12.5px !important;
  line-height:1.3 !important;
  font-weight:700 !important;
}


/* ==========================================================
   TOP PIPELINE - SMALLER
   ========================================================== */

#receptionDesk .live-pipeline,
#engineerDesk .live-pipeline,
#storeDesk .live-pipeline,
#accountsDesk .live-pipeline{
  padding:4px !important;
  gap:4px !important;
  margin-bottom:7px !important;
}


/* cards smaller */

#receptionDesk .pipeline-step,
#engineerDesk .pipeline-step,
#storeDesk .pipeline-step,
#accountsDesk .pipeline-step{
  min-height:56px !important;
  padding:5px 5px !important;
  gap:1px !important;
}


/* number circle */

#receptionDesk .pipeline-step > span,
#engineerDesk .pipeline-step > span,
#storeDesk .pipeline-step > span,
#accountsDesk .pipeline-step > span{
  width:21px !important;
  height:21px !important;
  font-size:10px !important;
}


/* stage name */

#receptionDesk .pipeline-step > b,
#engineerDesk .pipeline-step > b,
#storeDesk .pipeline-step > b,
#accountsDesk .pipeline-step > b{
  font-size:13px !important;
  line-height:1.1 !important;
  font-weight:850 !important;
}


/* count */

#receptionDesk .pipeline-step > small,
#engineerDesk .pipeline-step > small,
#storeDesk .pipeline-step > small,
#accountsDesk .pipeline-step > small{
  font-size:10.5px !important;
  line-height:1.1 !important;
  font-weight:700 !important;
}


/* ==========================================================
   KPI CARDS - SHORTER
   ========================================================== */

#receptionDesk .role-kpi-grid,
#engineerDesk .role-kpi-grid,
#storeDesk .role-kpi-grid,
#accountsDesk .role-kpi-grid{
  gap:5px !important;
  margin-bottom:7px !important;
}


#receptionDesk #receptionKpis > div,
#engineerDesk #engineerKpis > div,
#storeDesk #storeKpis > div,
#accountsDesk #accountsKpis > div{
  min-height:49px !important;
  padding:5px 8px !important;
}


#receptionDesk #receptionKpis > div > b,
#engineerDesk #engineerKpis > div > b,
#storeDesk #storeKpis > div > b,
#accountsDesk #accountsKpis > div > b{
  font-size:19px !important;
  line-height:1 !important;
  font-weight:900 !important;
}


#receptionDesk #receptionKpis > div > small,
#engineerDesk #engineerKpis > div > small,
#storeDesk #storeKpis > div > small,
#accountsDesk #accountsKpis > div > small{
  margin-top:2px !important;
  font-size:11.5px !important;
  line-height:1.15 !important;
  font-weight:750 !important;
}


/* ==========================================================
   TRACKING TABLE - clearer + less vertical space
   ========================================================== */

#receptionDesk .live-car-tracking,
#engineerDesk .live-car-tracking,
#storeDesk .live-car-tracking,
#accountsDesk .live-car-tracking{
  margin-bottom:7px !important;
}


#receptionDesk .tracking-title,
#engineerDesk .tracking-title,
#storeDesk .tracking-title,
#accountsDesk .tracking-title{
  min-height:34px !important;
  padding:0 10px !important;

  font-size:13px !important;
  line-height:1.15 !important;
  font-weight:850 !important;
}


#receptionDesk .tracking-car,
#engineerDesk .tracking-car,
#storeDesk .tracking-car,
#accountsDesk .tracking-car{
  min-height:38px !important;
  padding:5px 10px !important;
  gap:6px !important;
}


#receptionDesk .tracking-car b,
#engineerDesk .tracking-car b,
#storeDesk .tracking-car b,
#accountsDesk .tracking-car b{
  font-size:13px !important;
  line-height:1.15 !important;
  font-weight:850 !important;
}


#receptionDesk .tracking-car span,
#engineerDesk .tracking-car span,
#storeDesk .tracking-car span,
#accountsDesk .tracking-car span{
  font-size:12.5px !important;
  line-height:1.15 !important;
  font-weight:700 !important;
}


#receptionDesk .tracking-car strong,
#engineerDesk .tracking-car strong,
#storeDesk .tracking-car strong,
#accountsDesk .tracking-car strong{
  font-size:12.5px !important;
  line-height:1.15 !important;
  font-weight:850 !important;
}


/* ==========================================================
   ORDER CARDS
   ========================================================== */

#receptionDesk .role-order-grid,
#engineerDesk .role-order-grid,
#storeDesk .role-order-grid,
#accountsDesk .role-order-grid{
  gap:7px !important;
}


#receptionDesk .role-order-card,
#engineerDesk .role-order-card,
#storeDesk .role-order-card,
#accountsDesk .role-order-card{
  padding:10px !important;
}


#receptionDesk .role-order-top,
#engineerDesk .role-order-top,
#storeDesk .role-order-top,
#accountsDesk .role-order-top{
  gap:7px !important;
  padding-bottom:6px !important;
}


#receptionDesk .role-order-top b,
#engineerDesk .role-order-top b,
#storeDesk .role-order-top b,
#accountsDesk .role-order-top b{
  font-size:14px !important;
  line-height:1.15 !important;
  font-weight:900 !important;
}


#receptionDesk .role-order-top small,
#engineerDesk .role-order-top small,
#storeDesk .role-order-top small,
#accountsDesk .role-order-top small{
  margin-top:2px !important;
  font-size:12px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
}


#receptionDesk .role-order-body,
#engineerDesk .role-order-body,
#storeDesk .role-order-body,
#accountsDesk .role-order-body{
  gap:5px !important;
  margin:6px 0 !important;
}


#receptionDesk .role-order-body > div,
#engineerDesk .role-order-body > div,
#storeDesk .role-order-body > div,
#accountsDesk .role-order-body > div{
  min-height:45px !important;
  padding:6px 7px !important;
}


#receptionDesk .role-order-body small,
#engineerDesk .role-order-body small,
#storeDesk .role-order-body small,
#accountsDesk .role-order-body small{
  margin-bottom:2px !important;
  font-size:11px !important;
  line-height:1.1 !important;
  font-weight:700 !important;
}


#receptionDesk .role-order-body b,
#engineerDesk .role-order-body b,
#storeDesk .role-order-body b,
#accountsDesk .role-order-body b{
  font-size:13px !important;
  line-height:1.15 !important;
  font-weight:850 !important;
}


#receptionDesk .role-order-body span,
#engineerDesk .role-order-body span,
#storeDesk .role-order-body span,
#accountsDesk .role-order-body span{
  margin-top:1px !important;
  font-size:11.5px !important;
  line-height:1.15 !important;
  font-weight:650 !important;
}


/* ==========================================================
   LIGHT MODE - STRONGER TEXT
   ========================================================== */

html[data-theme="light"] body #receptionDesk .pipeline-step > b,
html[data-theme="light"] body #engineerDesk .pipeline-step > b,
html[data-theme="light"] body #storeDesk .pipeline-step > b,
html[data-theme="light"] body #accountsDesk .pipeline-step > b,

html[data-theme="light"] body #receptionDesk .tracking-car b,
html[data-theme="light"] body #engineerDesk .tracking-car b,
html[data-theme="light"] body #storeDesk .tracking-car b,
html[data-theme="light"] body #accountsDesk .tracking-car b,

html[data-theme="light"] body #receptionDesk .role-order-body b,
html[data-theme="light"] body #engineerDesk .role-order-body b,
html[data-theme="light"] body #storeDesk .role-order-body b,
html[data-theme="light"] body #accountsDesk .role-order-body b{
  color:#0f172a !important;
  -webkit-text-fill-color:#0f172a !important;
}


/* secondary text darker */

html[data-theme="light"] body #receptionDesk small,
html[data-theme="light"] body #engineerDesk small,
html[data-theme="light"] body #storeDesk small,
html[data-theme="light"] body #accountsDesk small{
  color:#475569 !important;
  -webkit-text-fill-color:#475569 !important;
}


/* ==========================================================
   SIDEBAR TYPOGRAPHY ONLY
   DO NOT CHANGE WIDTH / GEOMETRY
   ========================================================== */

.sidebar .nav{
  min-height:34px !important;
  padding-top:5px !important;
  padding-bottom:5px !important;
}


.sidebar .nav span,
.sidebar .nav .nav-label,
.sidebar .nav b{
  font-size:12.5px !important;
  line-height:1.15 !important;
  font-weight:750 !important;
  letter-spacing:0 !important;
}


.sidebar nav{
  gap:2px !important;
}


/* light sidebar text clearer */

html[data-theme="light"] .sidebar .nav span,
html[data-theme="light"] .sidebar .nav .nav-label,
html[data-theme="light"] .sidebar .nav b{
  color:#263442 !important;
  -webkit-text-fill-color:#263442 !important;
}


/* dark sidebar text clearer */

html[data-theme="dark"] .sidebar .nav span,
html[data-theme="dark"] .sidebar .nav .nav-label,
html[data-theme="dark"] .sidebar .nav b{
  color:#e5edf4 !important;
}


/* === V312 COMPACT TYPOGRAPHY END === */

/* === V313 TRACKING TINT START === */

/* =========================================================
   Tracking cards/status tint + tighter spacing
   ========================================================= */

/* ---------- title ---------- */
#receptionDesk .tracking-title,
#engineerDesk .tracking-title,
#storeDesk .tracking-title,
#accountsDesk .tracking-title{
  font-size:15px !important;
  font-weight:900 !important;
  line-height:1.2 !important;
  padding:10px 12px !important;
}

/* ---------- tracking wrapper ---------- */
#receptionDesk .live-car-tracking,
#engineerDesk .live-car-tracking,
#storeDesk .live-car-tracking,
#accountsDesk .live-car-tracking{
  border-radius:14px !important;
  overflow:hidden !important;
}

/* ---------- each row/card ---------- */
#receptionDesk .tracking-car,
#engineerDesk .tracking-car,
#storeDesk .tracking-car,
#accountsDesk .tracking-car{
  min-height:44px !important;
  padding:7px 14px !important;
  gap:8px !important;
  border-bottom:1px solid rgba(148,163,184,.20) !important;
  transition:all .18s ease !important;
}

#receptionDesk .tracking-car:last-child,
#engineerDesk .tracking-car:last-child,
#storeDesk .tracking-car:last-child,
#accountsDesk .tracking-car:last-child{
  border-bottom:none !important;
}

/* ---------- text heavier ---------- */
#receptionDesk .tracking-car,
#engineerDesk .tracking-car,
#storeDesk .tracking-car,
#accountsDesk .tracking-car{
  font-size:13.5px !important;
  font-weight:800 !important;
  line-height:1.25 !important;
}

#receptionDesk .tracking-car b,
#engineerDesk .tracking-car b,
#storeDesk .tracking-car b,
#accountsDesk .tracking-car b,
#receptionDesk .tracking-car strong,
#engineerDesk .tracking-car strong,
#storeDesk .tracking-car strong,
#accountsDesk .tracking-car strong{
  font-size:14px !important;
  font-weight:900 !important;
  line-height:1.2 !important;
}

#receptionDesk .tracking-car span,
#engineerDesk .tracking-car span,
#storeDesk .tracking-car span,
#accountsDesk .tracking-car span,
#receptionDesk .tracking-car small,
#engineerDesk .tracking-car small,
#storeDesk .tracking-car small,
#accountsDesk .tracking-car small{
  font-size:13px !important;
  font-weight:780 !important;
  line-height:1.2 !important;
}

/* ---------- pills ---------- */
#receptionDesk .tracking-car .status,
#engineerDesk .tracking-car .status,
#storeDesk .tracking-car .status,
#accountsDesk .tracking-car .status,
#receptionDesk .tracking-car .badge,
#engineerDesk .tracking-car .badge,
#storeDesk .tracking-car .badge,
#accountsDesk .tracking-car .badge,
#receptionDesk .tracking-car .pill,
#engineerDesk .tracking-car .pill,
#storeDesk .tracking-car .pill,
#accountsDesk .tracking-car .pill{
  font-size:12px !important;
  font-weight:900 !important;
  padding:3px 10px !important;
  border-radius:999px !important;
}

/* =========================================================
   LIGHT MODE
   ========================================================= */

html[data-theme="light"] body #receptionDesk .tracking-title,
html[data-theme="light"] body #engineerDesk .tracking-title,
html[data-theme="light"] body #storeDesk .tracking-title,
html[data-theme="light"] body #accountsDesk .tracking-title{
  color:#0f172a !important;
  background:#f3f6f9 !important;
  border-bottom:1px solid #d9e2ec !important;
}

html[data-theme="light"] body #receptionDesk .tracking-car,
html[data-theme="light"] body #engineerDesk .tracking-car,
html[data-theme="light"] body #storeDesk .tracking-car,
html[data-theme="light"] body #accountsDesk .tracking-car{
  color:#0f172a !important;
  background:#fcfdff !important;
}

html[data-theme="light"] body #receptionDesk .tracking-car b,
html[data-theme="light"] body #engineerDesk .tracking-car b,
html[data-theme="light"] body #storeDesk .tracking-car b,
html[data-theme="light"] body #accountsDesk .tracking-car b,
html[data-theme="light"] body #receptionDesk .tracking-car strong,
html[data-theme="light"] body #engineerDesk .tracking-car strong,
html[data-theme="light"] body #storeDesk .tracking-car strong,
html[data-theme="light"] body #accountsDesk .tracking-car strong{
  color:#0f172a !important;
  -webkit-text-fill-color:#0f172a !important;
}

html[data-theme="light"] body #receptionDesk .tracking-car span,
html[data-theme="light"] body #engineerDesk .tracking-car span,
html[data-theme="light"] body #storeDesk .tracking-car span,
html[data-theme="light"] body #accountsDesk .tracking-car span,
html[data-theme="light"] body #receptionDesk .tracking-car small,
html[data-theme="light"] body #engineerDesk .tracking-car small,
html[data-theme="light"] body #storeDesk .tracking-car small,
html[data-theme="light"] body #accountsDesk .tracking-car small{
  color:#334155 !important;
  -webkit-text-fill-color:#334155 !important;
}

/* soft hover */
html[data-theme="light"] body #receptionDesk .tracking-car:hover,
html[data-theme="light"] body #engineerDesk .tracking-car:hover,
html[data-theme="light"] body #storeDesk .tracking-car:hover,
html[data-theme="light"] body #accountsDesk .tracking-car:hover{
  filter:brightness(.995) !important;
}

/* ---------- paid tint ---------- */
html[data-theme="light"] body .tracking-car.paid,
html[data-theme="light"] body .tracking-car.status-paid,
html[data-theme="light"] body .tracking-car.stage-paid,
html[data-theme="light"] body .tracking-car[data-stage="DONE"],
html[data-theme="light"] body .tracking-car[data-stage="PAID"],
html[data-theme="light"] body .tracking-car[data-status="PAID"],
html[data-theme="light"] body .tracking-car:has(.order-paid),
html[data-theme="light"] body .tracking-car:has(.status-paid),
html[data-theme="light"] body .tracking-car:has(.pill-paid){
  background:linear-gradient(90deg, rgba(16,185,129,.13), rgba(16,185,129,.05)) !important;
  box-shadow:inset 0 0 0 1px rgba(16,185,129,.28) !important;
}

/* ---------- accounts tint ---------- */
html[data-theme="light"] body .tracking-car.accounts,
html[data-theme="light"] body .tracking-car.status-accounts,
html[data-theme="light"] body .tracking-car.stage-accounts,
html[data-theme="light"] body .tracking-car[data-stage="ACCOUNTS"],
html[data-theme="light"] body .tracking-car[data-status="INVOICED"],
html[data-theme="light"] body .tracking-car[data-status="PARTIALLY_PAID"],
html[data-theme="light"] body .tracking-car:has(.order-invoiced),
html[data-theme="light"] body .tracking-car:has(.status-accounts),
html[data-theme="light"] body .tracking-car:has(.pill-accounts){
  background:linear-gradient(90deg, rgba(244,114,182,.11), rgba(244,114,182,.04)) !important;
  box-shadow:inset 0 0 0 1px rgba(244,114,182,.24) !important;
}

/* ---------- service tint ---------- */
html[data-theme="light"] body .tracking-car.service,
html[data-theme="light"] body .tracking-car.status-service,
html[data-theme="light"] body .tracking-car.stage-service,
html[data-theme="light"] body .tracking-car[data-stage="SERVICE"],
html[data-theme="light"] body .tracking-car[data-status="APPROVED"],
html[data-theme="light"] body .tracking-car[data-status="IN_PROGRESS"],
html[data-theme="light"] body .tracking-car:has(.order-approved),
html[data-theme="light"] body .tracking-car:has(.order-progress),
html[data-theme="light"] body .tracking-car:has(.status-service),
html[data-theme="light"] body .tracking-car:has(.pill-service){
  background:linear-gradient(90deg, rgba(56,189,248,.12), rgba(56,189,248,.045)) !important;
  box-shadow:inset 0 0 0 1px rgba(56,189,248,.24) !important;
}

/* ---------- store tint ---------- */
html[data-theme="light"] body .tracking-car.store,
html[data-theme="light"] body .tracking-car.status-store,
html[data-theme="light"] body .tracking-car.stage-store,
html[data-theme="light"] body .tracking-car[data-stage="STORE"],
html[data-theme="light"] body .tracking-car[data-status="WAITING_PARTS"],
html[data-theme="light"] body .tracking-car:has(.order-waiting),
html[data-theme="light"] body .tracking-car:has(.status-store),
html[data-theme="light"] body .tracking-car:has(.pill-store){
  background:linear-gradient(90deg, rgba(251,191,36,.12), rgba(251,191,36,.04)) !important;
  box-shadow:inset 0 0 0 1px rgba(251,191,36,.24) !important;
}

/* ---------- reception tint ---------- */
html[data-theme="light"] body .tracking-car.reception,
html[data-theme="light"] body .tracking-car.status-reception,
html[data-theme="light"] body .tracking-car.stage-reception,
html[data-theme="light"] body .tracking-car[data-stage="RECEPTION"],
html[data-theme="light"] body .tracking-car[data-status="PENDING"],
html[data-theme="light"] body .tracking-car:has(.order-pending),
html[data-theme="light"] body .tracking-car:has(.status-reception),
html[data-theme="light"] body .tracking-car:has(.pill-reception){
  background:linear-gradient(90deg, rgba(14,165,233,.10), rgba(14,165,233,.035)) !important;
  box-shadow:inset 0 0 0 1px rgba(14,165,233,.20) !important;
}

/* =========================================================
   DARK MODE - calmer, not too bright
   ========================================================= */

html[data-theme="dark"] body #receptionDesk .tracking-car,
html[data-theme="dark"] body #engineerDesk .tracking-car,
html[data-theme="dark"] body #storeDesk .tracking-car,
html[data-theme="dark"] body #accountsDesk .tracking-car{
  color:#edf4fb !important;
}

html[data-theme="dark"] body .tracking-car.paid,
html[data-theme="dark"] body .tracking-car.status-paid,
html[data-theme="dark"] body .tracking-car.stage-paid,
html[data-theme="dark"] body .tracking-car[data-stage="DONE"],
html[data-theme="dark"] body .tracking-car[data-stage="PAID"],
html[data-theme="dark"] body .tracking-car[data-status="PAID"],
html[data-theme="dark"] body .tracking-car:has(.order-paid){
  background:linear-gradient(90deg, rgba(16,185,129,.16), rgba(16,185,129,.06)) !important;
}

html[data-theme="dark"] body .tracking-car.accounts,
html[data-theme="dark"] body .tracking-car.status-accounts,
html[data-theme="dark"] body .tracking-car.stage-accounts,
html[data-theme="dark"] body .tracking-car[data-stage="ACCOUNTS"],
html[data-theme="dark"] body .tracking-car[data-status="INVOICED"],
html[data-theme="dark"] body .tracking-car[data-status="PARTIALLY_PAID"],
html[data-theme="dark"] body .tracking-car:has(.status-accounts){
  background:linear-gradient(90deg, rgba(244,114,182,.14), rgba(244,114,182,.05)) !important;
}

html[data-theme="dark"] body .tracking-car.service,
html[data-theme="dark"] body .tracking-car.status-service,
html[data-theme="dark"] body .tracking-car.stage-service,
html[data-theme="dark"] body .tracking-car[data-stage="SERVICE"],
html[data-theme="dark"] body .tracking-car[data-status="APPROVED"],
html[data-theme="dark"] body .tracking-car[data-status="IN_PROGRESS"],
html[data-theme="dark"] body .tracking-car:has(.order-progress){
  background:linear-gradient(90deg, rgba(56,189,248,.15), rgba(56,189,248,.05)) !important;
}

html[data-theme="dark"] body .tracking-car.store,
html[data-theme="dark"] body .tracking-car.status-store,
html[data-theme="dark"] body .tracking-car.stage-store,
html[data-theme="dark"] body .tracking-car[data-stage="STORE"],
html[data-theme="dark"] body .tracking-car[data-status="WAITING_PARTS"],
html[data-theme="dark"] body .tracking-car:has(.order-waiting){
  background:linear-gradient(90deg, rgba(251,191,36,.14), rgba(251,191,36,.05)) !important;
}

/* tighten KPI cards a little more */
#receptionDesk #receptionKpis > div,
#engineerDesk #engineerKpis > div,
#storeDesk #storeKpis > div,
#accountsDesk #accountsKpis > div{
  padding:4px 8px !important;
  min-height:46px !important;
}

#receptionDesk #receptionKpis > div > b,
#engineerDesk #engineerKpis > div > b,
#storeDesk #storeKpis > div > b,
#accountsDesk #accountsKpis > div > b{
  font-size:18px !important;
  font-weight:900 !important;
}

#receptionDesk #receptionKpis > div > small,
#engineerDesk #engineerKpis > div > small,
#storeDesk #storeKpis > div > small,
#accountsDesk #accountsKpis > div > small{
  font-size:11px !important;
  font-weight:780 !important;
}

/* === V313 TRACKING TINT END === */


/* ==========================================================
   V314 - REAL WORKFLOW ROW COLORS
   Works with stage-* classes generated by app.js
   ========================================================== */


/* TEXT */

#receptionDesk .tracking-car,
#engineerDesk .tracking-car,
#storeDesk .tracking-car,
#accountsDesk .tracking-car{
  min-height:40px !important;
  padding:5px 12px !important;
  gap:5px !important;
}

#receptionDesk .tracking-car b,
#engineerDesk .tracking-car b,
#storeDesk .tracking-car b,
#accountsDesk .tracking-car b{
  font-size:13.5px !important;
  font-weight:900 !important;
}

#receptionDesk .tracking-car span,
#engineerDesk .tracking-car span,
#storeDesk .tracking-car span,
#accountsDesk .tracking-car span{
  font-size:12.5px !important;
  font-weight:750 !important;
}

#receptionDesk .tracking-car strong,
#engineerDesk .tracking-car strong,
#storeDesk .tracking-car strong,
#accountsDesk .tracking-car strong{
  font-size:12.5px !important;
  font-weight:900 !important;
}


/* ==========================================================
   LIGHT
   ========================================================== */

/* Reception */
html[data-theme="light"] body .tracking-car.stage-reception{
  background:#eef8fb !important;
  background-image:none !important;
  box-shadow:inset -4px 0 0 #4ca9c4 !important;
}

/* Service */
html[data-theme="light"] body .tracking-car.stage-service{
  background:#eef6fd !important;
  background-image:none !important;
  box-shadow:inset -4px 0 0 #559bd4 !important;
}

/* Store */
html[data-theme="light"] body .tracking-car.stage-store{
  background:#fff8e8 !important;
  background-image:none !important;
  box-shadow:inset -4px 0 0 #d5a437 !important;
}

/* Accounts */
html[data-theme="light"] body .tracking-car.stage-accounts{
  background:#fff0f3 !important;
  background-image:none !important;
  box-shadow:inset -4px 0 0 #d45c74 !important;
}

/* Paid */
html[data-theme="light"] body .tracking-car.stage-paid{
  background:#edf9f3 !important;
  background-image:none !important;
  box-shadow:inset -4px 0 0 #36a878 !important;
}


/* Dark text in light mode */

html[data-theme="light"] body .tracking-car.stage-reception *,
html[data-theme="light"] body .tracking-car.stage-service *,
html[data-theme="light"] body .tracking-car.stage-store *,
html[data-theme="light"] body .tracking-car.stage-accounts *,
html[data-theme="light"] body .tracking-car.stage-paid *{
  opacity:1 !important;
  text-shadow:none !important;
}

html[data-theme="light"] body .tracking-car > b{
  color:#0f172a !important;
  -webkit-text-fill-color:#0f172a !important;
}

html[data-theme="light"] body .tracking-car > span,
html[data-theme="light"] body .tracking-car > span > span{
  color:#273444 !important;
  -webkit-text-fill-color:#273444 !important;
}

html[data-theme="light"] body .tracking-car > strong{
  color:#17212b !important;
  -webkit-text-fill-color:#17212b !important;
}


/* semantic status text */

html[data-theme="light"] body .tracking-car.stage-accounts > strong{
  color:#b33751 !important;
  -webkit-text-fill-color:#b33751 !important;
}

html[data-theme="light"] body .tracking-car.stage-service > strong{
  color:#316fa6 !important;
  -webkit-text-fill-color:#316fa6 !important;
}

html[data-theme="light"] body .tracking-car.stage-store > strong{
  color:#936b15 !important;
  -webkit-text-fill-color:#936b15 !important;
}

html[data-theme="light"] body .tracking-car.stage-paid > strong{
  color:#16724f !important;
  -webkit-text-fill-color:#16724f !important;
}


/* ==========================================================
   DARK - same states but restrained
   ========================================================== */

html[data-theme="dark"] body .tracking-car.stage-reception{
  background:rgba(54,154,184,.11) !important;
  box-shadow:inset -4px 0 0 #429db7 !important;
}

html[data-theme="dark"] body .tracking-car.stage-service{
  background:rgba(66,139,199,.11) !important;
  box-shadow:inset -4px 0 0 #4d91c8 !important;
}

html[data-theme="dark"] body .tracking-car.stage-store{
  background:rgba(208,157,47,.10) !important;
  box-shadow:inset -4px 0 0 #c59632 !important;
}

html[data-theme="dark"] body .tracking-car.stage-accounts{
  background:rgba(207,76,104,.11) !important;
  box-shadow:inset -4px 0 0 #d1536e !important;
}

html[data-theme="dark"] body .tracking-car.stage-paid{
  background:rgba(42,168,116,.11) !important;
  box-shadow:inset -4px 0 0 #38ae7c !important;
}


/* ==========================================================
   TIGHTER TRACKING LAYOUT
   ========================================================== */

#receptionDesk .tracking-title,
#engineerDesk .tracking-title,
#storeDesk .tracking-title,
#accountsDesk .tracking-title{
  min-height:32px !important;
  padding:5px 10px !important;
  font-size:13px !important;
  font-weight:900 !important;
}

#receptionDesk .live-car-tracking,
#engineerDesk .live-car-tracking,
#storeDesk .live-car-tracking,
#accountsDesk .live-car-tracking{
  margin-bottom:6px !important;
}



/* ==========================================================
   V315 - FINAL STATUS ROW COLORS
   Stronger than old V311/V312 light overrides
   ========================================================== */


/* ==========================================================
   COMMON - tighter + stronger typography
   ========================================================== */

#receptionDesk #receptionPipelineCars > .tracking-car,
#engineerDesk #engineerPipelineCars > .tracking-car,
#storeDesk #storePipelineCars > .tracking-car,
#accountsDesk #accountsPipelineCars > .tracking-car{
  min-height:38px !important;
  padding:5px 10px !important;
  gap:5px !important;
}

#receptionDesk #receptionPipelineCars > .tracking-car > b,
#engineerDesk #engineerPipelineCars > .tracking-car > b,
#storeDesk #storePipelineCars > .tracking-car > b,
#accountsDesk #accountsPipelineCars > .tracking-car > b{
  font-size:13.5px !important;
  font-weight:900 !important;
  line-height:1.1 !important;
}

#receptionDesk #receptionPipelineCars > .tracking-car > span,
#engineerDesk #engineerPipelineCars > .tracking-car > span,
#storeDesk #storePipelineCars > .tracking-car > span,
#accountsDesk #accountsPipelineCars > .tracking-car > span{
  font-size:12.5px !important;
  font-weight:800 !important;
  line-height:1.1 !important;
}

#receptionDesk #receptionPipelineCars > .tracking-car > strong,
#engineerDesk #engineerPipelineCars > .tracking-car > strong,
#storeDesk #storePipelineCars > .tracking-car > strong,
#accountsDesk #accountsPipelineCars > .tracking-car > strong{
  font-size:12.5px !important;
  font-weight:900 !important;
  line-height:1.1 !important;
}


/* ==========================================================
   LIGHT - RECEPTION
   ========================================================== */

html[data-theme="light"] body #receptionDesk #receptionPipelineCars > .tracking-car.stage-reception,
html[data-theme="light"] body #engineerDesk #engineerPipelineCars > .tracking-car.stage-reception,
html[data-theme="light"] body #storeDesk #storePipelineCars > .tracking-car.stage-reception,
html[data-theme="light"] body #accountsDesk #accountsPipelineCars > .tracking-car.stage-reception{
  background:#eaf6fa !important;
  background-image:none !important;
  box-shadow:inset -4px 0 0 #4aa4bd !important;
}


/* ==========================================================
   LIGHT - SERVICE
   ========================================================== */

html[data-theme="light"] body #receptionDesk #receptionPipelineCars > .tracking-car.stage-service,
html[data-theme="light"] body #engineerDesk #engineerPipelineCars > .tracking-car.stage-service,
html[data-theme="light"] body #storeDesk #storePipelineCars > .tracking-car.stage-service,
html[data-theme="light"] body #accountsDesk #accountsPipelineCars > .tracking-car.stage-service{
  background:#eaf3fb !important;
  background-image:none !important;
  box-shadow:inset -4px 0 0 #4f91c5 !important;
}


/* ==========================================================
   LIGHT - STORE
   ========================================================== */

html[data-theme="light"] body #receptionDesk #receptionPipelineCars > .tracking-car.stage-store,
html[data-theme="light"] body #engineerDesk #engineerPipelineCars > .tracking-car.stage-store,
html[data-theme="light"] body #storeDesk #storePipelineCars > .tracking-car.stage-store,
html[data-theme="light"] body #accountsDesk #accountsPipelineCars > .tracking-car.stage-store{
  background:#fff5dc !important;
  background-image:none !important;
  box-shadow:inset -4px 0 0 #ce9a2e !important;
}


/* ==========================================================
   LIGHT - ACCOUNTS
   ========================================================== */

html[data-theme="light"] body #receptionDesk #receptionPipelineCars > .tracking-car.stage-accounts,
html[data-theme="light"] body #engineerDesk #engineerPipelineCars > .tracking-car.stage-accounts,
html[data-theme="light"] body #storeDesk #storePipelineCars > .tracking-car.stage-accounts,
html[data-theme="light"] body #accountsDesk #accountsPipelineCars > .tracking-car.stage-accounts{
  background:#fdecef !important;
  background-image:none !important;
  box-shadow:inset -4px 0 0 #ce536a !important;
}


/* ==========================================================
   LIGHT - PAID
   ========================================================== */

html[data-theme="light"] body #receptionDesk #receptionPipelineCars > .tracking-car.stage-paid,
html[data-theme="light"] body #engineerDesk #engineerPipelineCars > .tracking-car.stage-paid,
html[data-theme="light"] body #storeDesk #storePipelineCars > .tracking-car.stage-paid,
html[data-theme="light"] body #accountsDesk #accountsPipelineCars > .tracking-car.stage-paid{
  background:#e8f7ef !important;
  background-image:none !important;
  box-shadow:inset -4px 0 0 #36a574 !important;
}


/* ==========================================================
   LIGHT TEXT - force readable
   ========================================================== */

html[data-theme="light"] body #receptionDesk #receptionPipelineCars > .tracking-car > b,
html[data-theme="light"] body #engineerDesk #engineerPipelineCars > .tracking-car > b,
html[data-theme="light"] body #storeDesk #storePipelineCars > .tracking-car > b,
html[data-theme="light"] body #accountsDesk #accountsPipelineCars > .tracking-car > b{
  color:#0f172a !important;
  -webkit-text-fill-color:#0f172a !important;
  opacity:1 !important;
}

html[data-theme="light"] body #receptionDesk #receptionPipelineCars > .tracking-car > span,
html[data-theme="light"] body #receptionDesk #receptionPipelineCars > .tracking-car > span > span,
html[data-theme="light"] body #engineerDesk #engineerPipelineCars > .tracking-car > span,
html[data-theme="light"] body #engineerDesk #engineerPipelineCars > .tracking-car > span > span,
html[data-theme="light"] body #storeDesk #storePipelineCars > .tracking-car > span,
html[data-theme="light"] body #storeDesk #storePipelineCars > .tracking-car > span > span,
html[data-theme="light"] body #accountsDesk #accountsPipelineCars > .tracking-car > span,
html[data-theme="light"] body #accountsDesk #accountsPipelineCars > .tracking-car > span > span{
  color:#243240 !important;
  -webkit-text-fill-color:#243240 !important;
  opacity:1 !important;
}


/* semantic status text */

html[data-theme="light"] body .tracking-car.stage-reception > strong{
  color:#267b92 !important;
  -webkit-text-fill-color:#267b92 !important;
}

html[data-theme="light"] body .tracking-car.stage-service > strong{
  color:#286b9d !important;
  -webkit-text-fill-color:#286b9d !important;
}

html[data-theme="light"] body .tracking-car.stage-store > strong{
  color:#88600d !important;
  -webkit-text-fill-color:#88600d !important;
}

html[data-theme="light"] body .tracking-car.stage-accounts > strong{
  color:#ad344c !important;
  -webkit-text-fill-color:#ad344c !important;
}

html[data-theme="light"] body .tracking-car.stage-paid > strong{
  color:#176e4e !important;
  -webkit-text-fill-color:#176e4e !important;
}


/* ==========================================================
   DARK - same meaning, restrained tint
   ========================================================== */

html[data-theme="dark"] body #receptionDesk #receptionPipelineCars > .tracking-car.stage-reception,
html[data-theme="dark"] body #engineerDesk #engineerPipelineCars > .tracking-car.stage-reception,
html[data-theme="dark"] body #storeDesk #storePipelineCars > .tracking-car.stage-reception,
html[data-theme="dark"] body #accountsDesk #accountsPipelineCars > .tracking-car.stage-reception{
  background:rgba(74,164,189,.12) !important;
  box-shadow:inset -4px 0 0 #4aa4bd !important;
}

html[data-theme="dark"] body #receptionDesk #receptionPipelineCars > .tracking-car.stage-service,
html[data-theme="dark"] body #engineerDesk #engineerPipelineCars > .tracking-car.stage-service,
html[data-theme="dark"] body #storeDesk #storePipelineCars > .tracking-car.stage-service,
html[data-theme="dark"] body #accountsDesk #accountsPipelineCars > .tracking-car.stage-service{
  background:rgba(79,145,197,.12) !important;
  box-shadow:inset -4px 0 0 #4f91c5 !important;
}

html[data-theme="dark"] body #receptionDesk #receptionPipelineCars > .tracking-car.stage-store,
html[data-theme="dark"] body #engineerDesk #engineerPipelineCars > .tracking-car.stage-store,
html[data-theme="dark"] body #storeDesk #storePipelineCars > .tracking-car.stage-store,
html[data-theme="dark"] body #accountsDesk #accountsPipelineCars > .tracking-car.stage-store{
  background:rgba(206,154,46,.11) !important;
  box-shadow:inset -4px 0 0 #ce9a2e !important;
}

html[data-theme="dark"] body #receptionDesk #receptionPipelineCars > .tracking-car.stage-accounts,
html[data-theme="dark"] body #engineerDesk #engineerPipelineCars > .tracking-car.stage-accounts,
html[data-theme="dark"] body #storeDesk #storePipelineCars > .tracking-car.stage-accounts,
html[data-theme="dark"] body #accountsDesk #accountsPipelineCars > .tracking-car.stage-accounts{
  background:rgba(206,83,106,.12) !important;
  box-shadow:inset -4px 0 0 #ce536a !important;
}

html[data-theme="dark"] body #receptionDesk #receptionPipelineCars > .tracking-car.stage-paid,
html[data-theme="dark"] body #engineerDesk #engineerPipelineCars > .tracking-car.stage-paid,
html[data-theme="dark"] body #storeDesk #storePipelineCars > .tracking-car.stage-paid,
html[data-theme="dark"] body #accountsDesk #accountsPipelineCars > .tracking-car.stage-paid{
  background:rgba(54,165,116,.12) !important;
  box-shadow:inset -4px 0 0 #36a574 !important;
}


/* ==========================================================
   TRACKING HEADER - tighter
   ========================================================== */

#receptionDesk #receptionPipelineCars > .tracking-title,
#engineerDesk #engineerPipelineCars > .tracking-title,
#storeDesk #storePipelineCars > .tracking-title,
#accountsDesk #accountsPipelineCars > .tracking-title{
  min-height:32px !important;
  padding:4px 10px !important;
  font-size:13px !important;
  font-weight:900 !important;
  line-height:1.1 !important;
}


/* ==========================================================
   END V315
   ========================================================== */

/* === V316 PREMIUM ORDER STATUS START === */

/* ==========================================================
   ORDERS PAGE ONLY
   RED   = still operational / workshop / store
   BLUE  = accounts / awaiting payment
   GREEN = paid / finished
   ========================================================== */


/* ---------- base card refinement ---------- */

#ordersList .executive-order-card{
  border-width:1px !important;
  border-style:solid !important;
  box-shadow:none !important;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease !important;
}

#ordersList .executive-order-card:hover{
  transform:translateY(-1px) !important;
}


/* stronger typography */

#ordersList .executive-order-card .exec-order-number b,
#ordersList .executive-order-card .exec-card-vehicle strong,
#ordersList .executive-order-card .exec-card-customer b{
  font-weight:850 !important;
}

#ordersList .executive-order-card .exec-card-status,
#ordersList .executive-order-card .exec-stage-badge{
  font-weight:800 !important;
}


/* ==========================================================
   LIGHT MODE
   ========================================================== */


/* ----------------------------------------------------------
   RED
   reception / service / waiting parts / in progress
   ---------------------------------------------------------- */

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="RECEPTION"],

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="APPROVED"],

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="WAITING_PARTS"],

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="IN_PROGRESS"],

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="ENGINEER"]{
  background:#f8e8eb !important;
  background-image:none !important;

  border-color:#cf6977 !important;

  box-shadow:
    inset -4px 0 0 #c94f61 !important;
}


/* red badge */

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="RECEPTION"] .exec-stage-badge,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="APPROVED"] .exec-stage-badge,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="WAITING_PARTS"] .exec-stage-badge,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="IN_PROGRESS"] .exec-stage-badge,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="ENGINEER"] .exec-stage-badge,

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="RECEPTION"] .exec-card-status,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="APPROVED"] .exec-card-status,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="WAITING_PARTS"] .exec-card-status,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="IN_PROGRESS"] .exec-card-status,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="ENGINEER"] .exec-card-status{
  background:#f3d5da !important;
  color:#8f2939 !important;
  -webkit-text-fill-color:#8f2939 !important;
  border-color:#daa1aa !important;
}


/* ----------------------------------------------------------
   BLUE
   accounts / invoice / awaiting payment
   ---------------------------------------------------------- */

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="READY_FOR_ACCOUNTS"],

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="INVOICED"],

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="PARTIALLY_PAID"]{
  background:#e7eff8 !important;
  background-image:none !important;

  border-color:#6291bd !important;

  box-shadow:
    inset -4px 0 0 #467faf !important;
}


/* blue badge */

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="READY_FOR_ACCOUNTS"] .exec-stage-badge,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="INVOICED"] .exec-stage-badge,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="PARTIALLY_PAID"] .exec-stage-badge,

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="READY_FOR_ACCOUNTS"] .exec-card-status,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="INVOICED"] .exec-card-status,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="PARTIALLY_PAID"] .exec-card-status{
  background:#d5e3f1 !important;
  color:#245b8b !important;
  -webkit-text-fill-color:#245b8b !important;
  border-color:#9bb9d5 !important;
}


/* ----------------------------------------------------------
   GREEN
   paid / finished
   ---------------------------------------------------------- */

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="PAID"],

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="CLOSED"],

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="DELIVERED"],

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="DONE"],

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="COMPLETED"]{
  background:#e4f1e8 !important;
  background-image:none !important;

  border-color:#64a27d !important;

  box-shadow:
    inset -4px 0 0 #438d63 !important;
}


/* green badge */

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="PAID"] .exec-stage-badge,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="CLOSED"] .exec-stage-badge,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="DELIVERED"] .exec-stage-badge,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="DONE"] .exec-stage-badge,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="COMPLETED"] .exec-stage-badge,

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="PAID"] .exec-card-status,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="CLOSED"] .exec-card-status,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="DELIVERED"] .exec-card-status,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="DONE"] .exec-card-status,
html[data-theme="light"] body #ordersList
.executive-order-card[data-status="COMPLETED"] .exec-card-status{
  background:#d2e8da !important;
  color:#236442 !important;
  -webkit-text-fill-color:#236442 !important;
  border-color:#94bea4 !important;
}


/* ----------------------------------------------------------
   CANCELLED
   neutral premium grey/red
   ---------------------------------------------------------- */

html[data-theme="light"] body #ordersList
.executive-order-card[data-status="CANCELLED"]{
  background:#f0f1f3 !important;
  border-color:#aeb5bd !important;
  box-shadow:inset -4px 0 0 #818a94 !important;
  opacity:.86 !important;
}


/* ==========================================================
   LIGHT TEXT
   ========================================================== */

html[data-theme="light"] body #ordersList .executive-order-card
.exec-order-number b,

html[data-theme="light"] body #ordersList .executive-order-card
.exec-card-vehicle strong,

html[data-theme="light"] body #ordersList .executive-order-card
.exec-card-customer b{
  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;
}

html[data-theme="light"] body #ordersList .executive-order-card
.exec-card-vehicle span,

html[data-theme="light"] body #ordersList .executive-order-card
.exec-card-footer,

html[data-theme="light"] body #ordersList .executive-order-card
.exec-card-footer span{
  color:#475569 !important;
  -webkit-text-fill-color:#475569 !important;
}


/* ==========================================================
   DARK MODE
   same semantic colors, restrained and premium
   ========================================================== */


/* RED DARK */

html[data-theme="dark"] body #ordersList
.executive-order-card[data-status="RECEPTION"],
html[data-theme="dark"] body #ordersList
.executive-order-card[data-status="APPROVED"],
html[data-theme="dark"] body #ordersList
.executive-order-card[data-status="WAITING_PARTS"],
html[data-theme="dark"] body #ordersList
.executive-order-card[data-status="IN_PROGRESS"],
html[data-theme="dark"] body #ordersList
.executive-order-card[data-status="ENGINEER"]{
  background:rgba(155,48,65,.18) !important;
  border-color:#974252 !important;
  box-shadow:inset -4px 0 0 #be5264 !important;
}


/* BLUE DARK */

html[data-theme="dark"] body #ordersList
.executive-order-card[data-status="READY_FOR_ACCOUNTS"],
html[data-theme="dark"] body #ordersList
.executive-order-card[data-status="INVOICED"],
html[data-theme="dark"] body #ordersList
.executive-order-card[data-status="PARTIALLY_PAID"]{
  background:rgba(50,101,155,.19) !important;
  border-color:#426f9d !important;
  box-shadow:inset -4px 0 0 #5789b9 !important;
}


/* GREEN DARK */

html[data-theme="dark"] body #ordersList
.executive-order-card[data-status="PAID"],
html[data-theme="dark"] body #ordersList
.executive-order-card[data-status="CLOSED"],
html[data-theme="dark"] body #ordersList
.executive-order-card[data-status="DELIVERED"],
html[data-theme="dark"] body #ordersList
.executive-order-card[data-status="DONE"],
html[data-theme="dark"] body #ordersList
.executive-order-card[data-status="COMPLETED"]{
  background:rgba(48,126,82,.18) !important;
  border-color:#407d59 !important;
  box-shadow:inset -4px 0 0 #54a170 !important;
}


/* DARK TEXT */

html[data-theme="dark"] body #ordersList .executive-order-card
.exec-order-number b,

html[data-theme="dark"] body #ordersList .executive-order-card
.exec-card-vehicle strong,

html[data-theme="dark"] body #ordersList .executive-order-card
.exec-card-customer b{
  color:#f5f8fb !important;
}


/* ==========================================================
   SELECTED CARD
   ========================================================== */

#ordersList .executive-order-card.active{
  transform:translateY(-1px) !important;
  outline:2px solid rgba(43,156,145,.45) !important;
  outline-offset:1px !important;
}


/* === V316 PREMIUM ORDER STATUS END === */

/* === V317 ORDERS ALIGNMENT START === */

/* ==========================================================
   ORDERS PAGE ONLY
   Compact / centered / aligned ERP list
   ========================================================== */


/* ----------------------------------------------------------
   Overall list
   ---------------------------------------------------------- */

#ordersList{
  gap:0 !important;
  margin-top:0 !important;
}


/* ==========================================================
   DESKTOP LIST VIEW
   ========================================================== */

@media(min-width:901px){

  /* --------------------------------------------------------
     HEADER
     نفس توزيع أعمدة الصفوف
     -------------------------------------------------------- */

  #ordersListHeader{
    display:grid !important;

    grid-template-columns:
      minmax(170px,1.15fr)
      minmax(190px,1.30fr)
      minmax(170px,1.15fr)
      minmax(125px,.85fr)
      minmax(160px,1fr)
      minmax(165px,1fr) !important;

    align-items:center !important;

    min-height:38px !important;

    padding:0 12px !important;

    gap:0 !important;
  }

  #ordersListHeader > *{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    margin:0 !important;
    padding:0 6px !important;

    text-align:center !important;

    font-size:12.5px !important;
    font-weight:800 !important;
    line-height:1.15 !important;
  }


  /* --------------------------------------------------------
     EACH ORDER ROW
     -------------------------------------------------------- */

  #ordersList .executive-order-card{
    display:grid !important;

    grid-template-columns:
      minmax(170px,1.15fr)
      minmax(190px,1.30fr)
      minmax(170px,1.15fr)
      minmax(125px,.85fr)
      minmax(160px,1fr)
      minmax(165px,1fr) !important;

    align-items:center !important;

    min-height:54px !important;

    padding:0 12px !important;

    margin:0 !important;

    gap:0 !important;

    border-radius:0 !important;
  }


  /* نخلي wrappers شفافة للـGrid
     بحيث كل معلومة تبقى عمود مستقل */

  #ordersList .executive-order-card .exec-card-top,
  #ordersList .executive-order-card .exec-card-meta{
    display:contents !important;
  }


  /* --------------------------------------------------------
     COMMON CELLS
     -------------------------------------------------------- */

  #ordersList .exec-order-number,
  #ordersList .exec-card-vehicle,
  #ordersList .exec-card-customer,
  #ordersList .exec-stage-badge,
  #ordersList .exec-card-status,
  #ordersList .exec-card-footer{
    min-width:0 !important;

    margin:0 !important;
    padding:6px 8px !important;

    text-align:center !important;

    align-self:stretch !important;
  }


  /* center using flex */

  #ordersList .exec-order-number,
  #ordersList .exec-card-vehicle,
  #ordersList .exec-card-customer,
  #ordersList .exec-card-footer{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }


  /* --------------------------------------------------------
     ORDER NUMBER
     -------------------------------------------------------- */

  #ordersList .exec-order-number{
    gap:5px !important;
  }

  #ordersList .exec-order-number b{
    font-size:13px !important;
    font-weight:900 !important;
    line-height:1.1 !important;

    white-space:nowrap !important;
  }

  #ordersList .exec-mb-mark{
    margin:0 !important;
    flex:0 0 auto !important;
  }


  /* --------------------------------------------------------
     VEHICLE
     -------------------------------------------------------- */

  #ordersList .exec-card-vehicle{
    flex-direction:column !important;

    gap:1px !important;
  }

  #ordersList .exec-card-vehicle strong{
    margin:0 !important;

    font-size:12.5px !important;
    font-weight:850 !important;
    line-height:1.15 !important;
  }

  #ordersList .exec-card-vehicle > span{
    margin:0 !important;

    font-size:10.5px !important;
    font-weight:700 !important;
    line-height:1.1 !important;
  }


  /* --------------------------------------------------------
     CUSTOMER
     -------------------------------------------------------- */

  #ordersList .exec-card-customer{
    gap:5px !important;
  }

  #ordersList .exec-card-customer b{
    margin:0 !important;

    font-size:12.5px !important;
    font-weight:850 !important;
    line-height:1.15 !important;
  }

  #ordersList .exec-card-customer > span{
    margin:0 !important;
  }


  /* --------------------------------------------------------
     STAGE BADGE
     -------------------------------------------------------- */

  #ordersList .exec-stage-badge{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:max-content !important;
    max-width:calc(100% - 12px) !important;

    min-height:25px !important;

    justify-self:center !important;
    align-self:center !important;

    padding:4px 10px !important;

    border-radius:999px !important;

    font-size:11px !important;
    font-weight:850 !important;
    line-height:1 !important;

    white-space:nowrap !important;
  }

  #ordersList .exec-stage-badge i{
    margin-inline-end:5px !important;
  }


  /* --------------------------------------------------------
     STATUS
     -------------------------------------------------------- */

  #ordersList .exec-card-status{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    justify-self:center !important;
    align-self:center !important;

    width:auto !important;
    max-width:calc(100% - 10px) !important;

    min-height:24px !important;

    padding:4px 9px !important;

    border-radius:6px !important;

    text-align:center !important;

    font-size:10.5px !important;
    font-weight:800 !important;
    line-height:1.15 !important;
  }


  /* --------------------------------------------------------
     DATE
     -------------------------------------------------------- */

  #ordersList .exec-card-footer{
    gap:7px !important;

    font-size:10.5px !important;
    font-weight:650 !important;
    line-height:1.15 !important;
  }

  #ordersList .exec-card-footer > span:first-child{
    margin:0 !important;

    text-align:center !important;
  }


  /* السهم يبقى صغير على الطرف بدل ما يعمل فراغ */

  #ordersList .exec-open-arrow{
    position:absolute !important;

    inset-inline-start:8px !important;

    margin:0 !important;

    font-size:18px !important;
  }


  /* --------------------------------------------------------
     Divider between rows
     -------------------------------------------------------- */

  #ordersList .executive-order-card + .executive-order-card{
    border-top-width:0 !important;
  }

}


/* ==========================================================
   LIGHT MODE TYPOGRAPHY
   ========================================================== */

html[data-theme="light"] body #ordersList
.executive-order-card .exec-order-number b,

html[data-theme="light"] body #ordersList
.executive-order-card .exec-card-vehicle strong,

html[data-theme="light"] body #ordersList
.executive-order-card .exec-card-customer b{
  color:#0f172a !important;
  -webkit-text-fill-color:#0f172a !important;

  opacity:1 !important;

  font-weight:900 !important;
}


html[data-theme="light"] body #ordersList
.executive-order-card .exec-card-vehicle > span,

html[data-theme="light"] body #ordersList
.executive-order-card .exec-card-footer{
  color:#475569 !important;
  -webkit-text-fill-color:#475569 !important;

  opacity:1 !important;
}


/* ==========================================================
   HEADER LIGHT
   ========================================================== */

html[data-theme="light"] body #ordersListHeader{
  background:#f4f5f7 !important;

  border-top:1px solid #d7dde3 !important;
  border-bottom:1px solid #d7dde3 !important;
}

html[data-theme="light"] body #ordersListHeader > *{
  color:#334155 !important;
  -webkit-text-fill-color:#334155 !important;
}


/* ==========================================================
   DARK HEADER
   ========================================================== */

html[data-theme="dark"] body #ordersListHeader{
  background:#132131 !important;

  border-top:1px solid #283c50 !important;
  border-bottom:1px solid #283c50 !important;
}

html[data-theme="dark"] body #ordersListHeader > *{
  color:#dce6ef !important;
}


/* ==========================================================
   PAGE VERTICAL SPACING
   ========================================================== */

#orders .page-head{
  margin-bottom:8px !important;
}

#ordersListView{
  margin-top:6px !important;
}


/* ==========================================================
   MOBILE
   Keep card mode - only tighten it
   ========================================================== */

@media(max-width:900px){

  #ordersList .executive-order-card{
    margin-bottom:7px !important;
    padding:10px !important;
  }

  #ordersList .exec-card-top{
    margin-bottom:5px !important;
  }

  #ordersList .exec-card-vehicle{
    margin:5px 0 !important;
  }

  #ordersList .exec-card-meta{
    margin:5px 0 !important;
  }

  #ordersList .exec-card-footer{
    padding-top:5px !important;
    margin-top:5px !important;
  }

}


/* === V317 ORDERS ALIGNMENT END === */

/* === V318 UNIFIED PAGE ALIGNMENT START === */
/* Presentation only: keep workflow state colors and handlers intact. */
html body #appView .page > .page-head{
  min-height:52px !important;padding:8px 4px !important;
  margin-bottom:10px !important;gap:10px !important;align-items:center !important;
}
html body #appView .page > .page-head h1{margin:0 !important;font-size:22px !important;line-height:1.4 !important;}
html body #appView .page > .page-head p{margin:3px 0 0 !important;font-size:12.5px !important;line-height:1.5 !important;}
html body #appView .page :is(.head-actions,.customer-head-actions,.finance-tabs,.actions){gap:8px !important;flex-wrap:wrap;}
html body #appView .page :is(.card-head,.finance-panel-head){padding:10px 12px !important;gap:8px !important;}
html body #appView .page .card > .body{padding:12px !important;}
html body #appView .page :is(.metrics,.finance-metrics,.customer-summary-grid,.role-kpi-grid){gap:8px !important;margin-bottom:10px !important;}
html body #appView .page :is(.live-pipeline,.live-car-tracking){margin-bottom:8px !important;}
html body #appView .page :is(.invoice-list,.finance-entry-list,.customer-db-list,.role-order-grid){gap:8px !important;}
html body #appView .page :is(.invoice-row,.finance-entry-row){padding:10px 12px !important;gap:10px !important;align-items:center !important;}
html body #appView .page :is(.invoice-row,.finance-entry-row) > *{min-width:0;overflow-wrap:anywhere;}
html body #appView .page :is(.invoice-money,.invoice-actions){text-align:center;justify-content:center;}
html body #appView .page table :is(th,td){padding:8px 10px !important;text-align:center !important;vertical-align:middle !important;line-height:1.5 !important;}
html body #appView .page table th{font-size:12px !important;font-weight:750 !important;}
html body #appView .page table td{font-size:13px !important;}
html body #appView .page :is(.role-order-body,.role-order-foot){gap:8px !important;}
html body #appView .page .role-order-body > div{min-width:0;text-align:center !important;}
html body #appView .page :is(.role-order-body b,.role-order-body span,.tracking-car > span){overflow-wrap:anywhere;line-height:1.45 !important;}
html body #appView .page .role-order-top{align-items:center !important;gap:8px !important;}
html body #appView .page .role-order-top > div{min-width:0;}
html body #appView .page .role-order-top small{line-height:1.45 !important;}
html body #appView .page .role-card-actions{gap:6px !important;flex-wrap:wrap;}
html body #appView .page .tracking-car{min-height:44px !important;padding:7px 10px !important;gap:8px !important;align-items:center !important;}
html body #appView .page .tracking-car > :is(b,span,strong){min-width:0;text-align:center !important;line-height:1.45 !important;}

@media(min-width:901px){
  /* Header and cells use the same six columns, including explicit placement. */
  html body #orders.orders-view-list #ordersListHeader,
  html body #orders.orders-view-list #ordersList .executive-order-card{
    grid-template-columns:minmax(155px,1.15fr) minmax(135px,1.25fr) minmax(110px,1fr) minmax(95px,.8fr) minmax(125px,1fr) minmax(140px,1.05fr) !important;
    padding:0 8px !important;gap:0 !important;
  }
  html body #orders.orders-view-list #ordersListHeader{min-height:38px !important;}
  html body #orders.orders-view-list #ordersList .executive-order-card{min-height:58px !important;position:relative !important;}
  html body #orders.orders-view-list #ordersList .exec-order-number{grid-column:1;grid-row:1;}
  html body #orders.orders-view-list #ordersList .exec-card-vehicle{grid-column:2;grid-row:1;}
  html body #orders.orders-view-list #ordersList .exec-card-customer{grid-column:3;grid-row:1;}
  html body #orders.orders-view-list #ordersList .exec-stage-badge{grid-column:4;grid-row:1;}
  html body #orders.orders-view-list #ordersList .exec-card-status{grid-column:5;grid-row:1;}
  html body #orders.orders-view-list #ordersList .exec-card-footer{grid-column:6;grid-row:1;padding-inline-start:18px !important;}
  html body #orders.orders-view-list #ordersList :is(.exec-card-customer b,.exec-card-vehicle strong,.exec-card-status,.exec-stage-badge){white-space:normal !important;overflow-wrap:anywhere;line-height:1.4 !important;}
  html body #orders.orders-view-list #ordersList .exec-card-footer{line-height:1.4 !important;}
  html body #orders.orders-view-list #ordersListHeader,
  html body #orders.orders-view-list #ordersList{min-width:908px !important;}
  html body #orders.orders-view-list .order-list{overflow-x:auto !important;}
}
@media(max-width:900px){
  html body #appView .page > .page-head{flex-wrap:wrap !important;}
  html body #appView .page > .page-head h1{font-size:20px !important;}
  html body #ordersList .executive-order-card{padding:12px !important;margin-bottom:8px !important;}
  html body #ordersList :is(.exec-card-vehicle strong,.exec-card-customer b,.exec-card-status){line-height:1.45 !important;overflow-wrap:anywhere;}
  html body #appView .page .role-order-top{flex-wrap:wrap;}
  html body #appView .page :is(.invoice-actions,.role-card-actions) button{min-height:36px;}
}
html[data-theme="light"] body #appView .page > .page-head,
html[data-theme="light"] body #appView .page > .page-head :is(h1,p){color:#263442 !important;-webkit-text-fill-color:#263442 !important;opacity:1 !important;}
html[data-theme="dark"] body #appView .page > .page-head,
html[data-theme="dark"] body #appView .page > .page-head :is(h1,p){color:#e5edf4 !important;-webkit-text-fill-color:#e5edf4 !important;opacity:1 !important;}
html body #appView .page .tracking-title{font-size:13px !important;line-height:1.5 !important;min-height:36px !important;padding:8px 10px !important;}
@media(min-width:901px){
  html body #orders.orders-view-list #ordersListHeader{border-inline:1px solid transparent !important;}
  html body #orders.orders-view-kanban #ordersList .executive-order-card{display:flex !important;flex-direction:column !important;align-items:stretch !important;padding:12px !important;gap:8px !important;border-radius:10px !important;}
  html body #orders.orders-view-kanban #ordersList .exec-card-top,
  html body #orders.orders-view-kanban #ordersList .exec-card-meta{display:flex !important;justify-content:space-between !important;align-items:center !important;gap:8px !important;flex-wrap:wrap !important;}
  html body #orders.orders-view-kanban #ordersList .exec-open-arrow{position:static !important;}
}
@media(max-width:600px){
  html body #appView .page .tracking-car{display:grid !important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;gap:6px 8px !important;}
  html body #appView .page .tracking-car > b{font-size:12px !important;overflow-wrap:anywhere;}
  html body #appView .page .tracking-car > :is(span,strong){font-size:12px !important;}
}
/* === V318 UNIFIED PAGE ALIGNMENT END === */
/* === V319 TRACKING ROW ALIGNMENT START === */
/* Identical columns for every department and both themes. */
html body #appView .page .live-car-tracking > .tracking-car{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  align-items:center !important;
  min-height:48px !important;
  padding:8px 12px !important;
  gap:8px !important;
}
html body #appView .page .live-car-tracking > .tracking-car > :is(b,span,strong){
  display:flex !important;align-items:center !important;justify-content:center !important;
  min-width:0 !important;width:auto !important;max-width:100% !important;
  margin:0 !important;padding:2px 4px !important;
  text-align:center !important;font-size:13px !important;line-height:1.5 !important;
  white-space:normal !important;overflow-wrap:anywhere !important;
  gap:5px !important;
}
html body #appView .page .live-car-tracking > .tracking-car > b{
  direction:ltr !important;unicode-bidi:isolate;font-variant-numeric:tabular-nums;
  font-weight:800 !important;
}
html body #appView .page .live-car-tracking .order-progress-mark{flex:0 0 auto !important;}
html body #appView .page .live-car-tracking > .tracking-title{
  min-height:38px !important;padding:8px 12px !important;
  font-size:13px !important;line-height:1.5 !important;
  text-align:center !important;justify-content:center !important;
}
@media(max-width:600px){
  html body #appView .page .live-car-tracking > .tracking-car{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    padding:8px !important;gap:5px 8px !important;
  }
  html body #appView .page .live-car-tracking > .tracking-car > :is(b,span,strong){font-size:12px !important;}
}
/* === V319 TRACKING ROW ALIGNMENT END === */

/* === V320 TRACKING STATUS ALIGNMENT START === */
html body #appView :is(#receptionDesk,#engineerDesk,#storeDesk,#accountsDesk)
:is(#receptionPipelineCars,#engineerPipelineCars,#storePipelineCars,#accountsPipelineCars) > .tracking-car > strong{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  justify-self:center !important;
  align-self:center !important;
  box-sizing:border-box !important;
  width:104px !important;
  min-width:104px !important;
  max-width:100% !important;
  height:30px !important;
  min-height:30px !important;
  margin:0 !important;
  padding:4px 8px !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:20px !important;
  text-align:center !important;
  white-space:nowrap !important;
  position:static !important;
  transform:none !important;
}
/* === V320 TRACKING STATUS ALIGNMENT END === */

/* === V321 SHARED SPACING AND STATUS PALETTE START === */
html body #appView #orders #ordersList .executive-order-card :is(.exec-order-number b,.exec-card-vehicle strong,.exec-card-customer b){font-size:15px !important;line-height:1.5 !important;font-weight:800 !important;}
html body #appView #orders #ordersList .executive-order-card :is(.exec-stage-badge,.exec-card-status,.exec-card-footer,.exec-card-vehicle > span){font-size:13px !important;line-height:1.5 !important;}
html body #appView #orders #ordersListHeader > span{font-size:14px !important;line-height:1.5 !important;}
html body #appView #orders.orders-view-list #ordersList .executive-order-card{min-height:68px !important;padding-block:5px !important;}
html body #appView .page > .page-head{margin-bottom:10px !important;padding-block:8px !important;}
html body #appView .page :is(.card-head,.finance-panel-head){padding:10px 12px !important;}
html body #appView .page :is(.role-order-card,.invoice-row,.finance-entry-row){padding:12px !important;}
html body #appView .page :is(.role-order-grid,.invoice-list,.finance-entry-list,.customer-db-list,.supplier-list){gap:8px !important;}
html body #appView .page :is(.grid,.role-order-body){gap:10px !important;}
html body #appView .page table :is(th,td){padding:9px 10px !important;line-height:1.5 !important;}

/* Palette is shared by actual statuses and existing workflow-stage classes. */
html[data-theme="light"] body #appView{--u-red-bg:#fcebec;--u-red-text:#9e2638;--u-red-line:#d65a67;--u-blue-bg:#e8f1fa;--u-blue-text:#245e91;--u-blue-line:#568ec2;--u-green-bg:#e7f5ec;--u-green-text:#226a45;--u-green-line:#4d9e72;}
html[data-theme="dark"] body #appView{--u-red-bg:#30202a;--u-red-text:#f0a1ac;--u-red-line:#925361;--u-blue-bg:#172c40;--u-blue-text:#a0c9ed;--u-blue-line:#4b789e;--u-green-bg:#173329;--u-green-text:#9cd9b7;--u-green-line:#4c8768;}
html body #appView :is([data-status="RECEPTION"],[data-status="APPROVED"],[data-status="WAITING_PARTS"],[data-status="IN_PROGRESS"],[data-status="ENGINEER"],.tracking-car.stage-reception,.tracking-car.stage-service,.tracking-car.stage-store){--u-bg:var(--u-red-bg);--u-text:var(--u-red-text);--u-line:var(--u-red-line);}
html body #appView :is([data-status="READY_FOR_ACCOUNTS"],[data-status="INVOICED"],[data-status="PARTIALLY_PAID"],.tracking-car.stage-accounts){--u-bg:var(--u-blue-bg);--u-text:var(--u-blue-text);--u-line:var(--u-blue-line);}
html body #appView :is([data-status="PAID"],[data-status="CLOSED"],[data-status="DELIVERED"],[data-status="DONE"],[data-status="COMPLETED"],.tracking-car.stage-paid,.tracking-car.stage-done){--u-bg:var(--u-green-bg);--u-text:var(--u-green-text);--u-line:var(--u-green-line);}
html[data-theme] body #appView :is(#orders,#dashboard,#receptionDesk,#engineerDesk,#storeDesk,#accountsDesk)
:is(#ordersList,#recent,#receptionPipelineCars,#engineerPipelineCars,#storePipelineCars,#accountsPipelineCars,#receptionQueue,#engineerQueue,#storeQueue,#accountsQueue)
> :is(.executive-order-card,.tracking-car,.role-order-card,tr):not([data-status="CANCELLED"]){
 background:var(--u-bg,var(--card)) !important;background-image:none !important;border-color:var(--u-line,var(--line)) !important;border-inline-start:3px solid var(--u-line,var(--line)) !important;
}
html[data-theme] body #appView :is(#orders,#dashboard,#receptionDesk,#engineerDesk,#storeDesk,#accountsDesk)
:is(#ordersList,#recent,#receptionPipelineCars,#engineerPipelineCars,#storePipelineCars,#accountsPipelineCars,#receptionQueue,#engineerQueue,#storeQueue,#accountsQueue)
> :is(.executive-order-card,.tracking-car,.role-order-card,tr):not([data-status="CANCELLED"])
:is(.exec-stage-badge,.exec-card-status,.role-status,strong){color:var(--u-text,var(--text)) !important;-webkit-text-fill-color:var(--u-text,var(--text)) !important;background:var(--u-bg,var(--card)) !important;border-color:var(--u-line,var(--line)) !important;}
html[data-theme] body #appView #dashboard #recent > tr[data-status] > td:last-child{color:var(--u-text,var(--text)) !important;-webkit-text-fill-color:var(--u-text,var(--text)) !important;font-weight:750 !important;}
@media(max-width:900px){html body #appView #orders #ordersList .executive-order-card{padding:12px !important;}}
/* === V321 SHARED SPACING AND STATUS PALETTE END === */
