/* Local presentation layer. Existing forms, permissions and business rules remain in the source application. */
.design-preview{--ds-bg:#f5f6f8;--ds-paper:#fff;--ds-ink:#1c252c;--ds-muted:#65717c;--ds-line:#e4e8eb;--ds-accent:#36576a;--canvas:var(--ds-bg);--surface:var(--ds-paper);--text:var(--ds-ink);--muted:var(--ds-muted);--line:var(--ds-line);--radius:14px;--sidebar-width:226px;background:var(--canvas);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.design-preview.theme-ocean{--ds-accent:#245b81;--ds-bg:#f3f6f9}.design-preview.theme-forest{--ds-accent:#34664e;--ds-bg:#f3f6f4}
.design-preview .sidebar{padding:25px 14px 14px}.design-preview .sidebar-heading{padding:0 10px 24px}.design-preview .brand{font-weight:700;letter-spacing:-.035em;font-size:1.15em}.design-preview .brand-icon{background:var(--primary);width:31px;height:31px;border-radius:9px;font-size:12px;letter-spacing:-.04em}.design-preview .shop-identity{margin-bottom:14px;padding-bottom:15px}.design-preview .sidebar-nav a{min-height:41px;margin-bottom:2px;padding:10px;font-size:.8em;gap:10px;border-radius:8px}.design-preview .sidebar-nav a svg{width:18px;height:18px}.design-preview .sidebar-nav a[aria-current=page]{background:#eaf0f3;color:var(--ds-accent);box-shadow:inset 3px 0 var(--ds-accent)}.design-preview .nav-label{font-size:.67em;letter-spacing:.04em;margin-left:10px}.design-preview .nav-group+.nav-group{margin-top:15px}.design-preview .nav-management{padding-top:12px}.design-preview .sidebar-account{padding-top:12px}.design-preview .account-initial{border-radius:50%}
.design-preview .ds-topbar{height:65px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid var(--line);background:var(--surface);gap:16px}.ds-workspace-label{font-size:.78em;font-weight:550;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.design-preview.has-sidebar .workspace{width:min(1270px,calc(100% - 64px));margin:30px auto 40px}.design-preview .page-heading{margin-bottom:24px;gap:16px}.design-preview.has-sidebar .page-heading h1{font-size:1.85em;letter-spacing:-.045em}.design-preview .page-heading p{font-size:.83em;margin-top:6px}.design-preview .page-heading .primary{min-height:42px;padding:10px 16px}.design-preview .card{padding:22px;border:1px solid var(--line);border-radius:14px;box-shadow:none;margin-bottom:18px}.design-preview .section-heading{margin-bottom:18px}.design-preview .section-heading h2{font-size:1em}.design-preview button,.design-preview .button{border-radius:8px;box-shadow:none;font-size:.82em;min-height:40px;padding:9px 13px}.design-preview button:focus-visible,.design-preview a:focus-visible,.design-preview summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.design-preview input,.design-preview select,.design-preview textarea{border-color:var(--line);border-radius:8px;box-shadow:none}.design-preview input:not([type=checkbox]):not([type=radio]),.design-preview select{min-height:42px}.design-preview .field label{font-size:.82em}.design-preview .metrics{gap:14px}.design-preview .metric{min-height:110px;padding:19px;margin:0}.design-preview .metric>strong{margin:8px 0 3px}.design-preview table{font-size:.83em}.design-preview th{font-size:.83em;letter-spacing:.025em;color:var(--muted)}.design-preview td{padding-block:13px}.design-preview .table-scroll{border-radius:8px}.design-preview .badge{font-size:.72em;line-height:1.35;border-radius:6px;padding:5px 8px;white-space:normal}.design-preview .plate{background:#fff;border:1px solid #d3dae0;border-left:4px solid var(--ds-accent);border-radius:6px;padding:5px 10px;font-size:.84em;color:#26343c;letter-spacing:.055em;font-weight:700;line-height:1.45;box-shadow:0 1px 2px #13222c05}.design-preview .footer{font-size:.68em;color:var(--muted);display:flex;justify-content:space-between;gap:16px;margin:20px auto}
.ds-notification-menu{position:relative;flex:none}.ds-notification-menu>summary{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;list-style:none;position:relative;background:var(--surface)}.ds-notification-menu>summary::-webkit-details-marker{display:none}.ds-notification-menu svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.ds-unread{position:absolute;top:-5px;right:-5px;border:2px solid var(--surface);border-radius:12px;background:var(--ds-accent);color:#fff;font-size:10px;min-width:19px;text-align:center;padding:1px 3px;font-weight:600}.ds-notification-preview{position:absolute;z-index:24;right:0;top:48px;width:min(400px,calc(100vw - 32px));padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 48px #17232d16}.ds-preview-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:.85em}.ds-preview-heading small{font-size:.82em}.ds-alert{display:flex;align-items:center;gap:12px;padding:16px 0;border-top:1px solid var(--line);min-width:0}.ds-alert>span:nth-child(2){flex:1;min-width:0}.ds-alert strong{display:block;font-size:.82em;font-weight:600}.ds-alert small{display:block;font-size:.73em;line-height:1.5;margin-top:3px}.ds-alert-marker{width:6px;height:24px;border-radius:4px;background:#708493;flex:none}.ds-alert.severity-warning .ds-alert-marker{background:#a77839}.ds-alert.severity-danger .ds-alert-marker,.ds-alert.severity-critical .ds-alert-marker{background:#a4574e}.ds-alert>span:last-child{color:var(--muted)}.ds-all-alerts{display:flex;justify-content:space-between;padding-top:14px;border-top:1px solid var(--line);font-size:.8em;font-weight:600}.ds-empty{padding:14px 0;color:var(--muted);font-size:.82em;margin:0}
.ds-eyebrow{display:block;color:var(--muted);font-size:.72em;margin-bottom:8px}.ds-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.ds-summary-grid>a{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:20px;display:flex;flex-direction:column;gap:10px}.ds-summary-grid>a>span{font-size:.8em;color:var(--muted)}.ds-summary-grid strong{font-size:2em;line-height:1.1;font-weight:650;letter-spacing:-.04em}.ds-summary-grid small{display:flex;justify-content:space-between;font-size:.72em}.ds-summary-grid a:hover{border-color:#b5c4cd}.design-preview .ds-search{padding:5px 7px 5px 15px;border-radius:10px;margin-bottom:28px}.design-preview .ds-search input{font-size:.87em;min-height:39px}.design-preview .ds-search button{border:0;background:var(--canvas);min-width:38px}.ds-workshop{margin-bottom:25px}.ds-workshop .section-heading p{font-size:.75em;margin-top:5px}.ds-count{color:var(--muted);font-size:.8em;font-weight:400;margin-left:5px}.ds-text-link{font-size:.78em;display:inline-flex;gap:10px;align-items:center;min-height:40px}.ds-job-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ds-job-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:20px;min-height:230px}.ds-job-card:hover{border-color:#acbec9}.ds-job-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px}.ds-job-top .badge{max-width:50%;text-align:center}.ds-job-card h3{font-size:.94em;letter-spacing:-.02em;margin:16px 0 3px}.ds-job-card .ds-job-customer{font-size:.75em;margin:0 0 12px}.ds-job-task{font-size:.82em;color:var(--text);line-height:1.5;margin:0 0 17px;min-height:2.9em}.ds-job-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:12px;border-top:1px solid var(--line)}.ds-job-bottom>span{font-size:.73em;display:flex;align-items:center;gap:6px}.ds-job-bottom>small{font-size:.69em}.ds-avatar{width:23px;height:23px;background:#edf1f3;display:inline-grid;place-items:center;border-radius:50%;font-weight:650;color:var(--ds-accent)}.ds-unassigned{color:#90602a}.ds-priorities{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:20px}.ds-priorities .section-heading{margin-bottom:0}.ds-priorities .ds-alert:first-of-type{border-top:0}.ds-empty-jobs{grid-column:1/-1;background:var(--surface);border:1px dashed var(--line);border-radius:14px;padding:32px}.ds-empty-jobs h3{margin:0 0 8px;font-size:1.05em}
@media(min-width:1500px){.ds-job-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ds-job-top{align-items:flex-start;flex-direction:column}.ds-job-top .badge{max-width:100%}.ds-job-card{min-height:260px}}
@media(max-width:1100px){.design-preview .sidebar{width:100%}.design-preview.has-sidebar .workspace{width:calc(100% - 40px);margin-top:25px}.design-preview.has-sidebar-js .sidebar{width:min(300px,calc(100vw - 44px))}.design-preview .ds-topbar{height:54px;padding:0 20px}.design-preview.has-sidebar-js .mobile-header{min-height:65px}.ds-summary-grid{gap:10px}.ds-summary-grid>a{padding:16px}}
@media(max-width:640px){.design-preview.has-sidebar .workspace{width:calc(100% - 28px);margin-top:22px}.design-preview .ds-topbar{padding:0 14px}.design-preview .page-heading{align-items:flex-start;flex-wrap:wrap}.design-preview .page-heading .primary{min-height:44px}.design-preview.has-sidebar .page-heading h1{font-size:1.65em}.design-preview .card{padding:16px}.design-preview button,.design-preview .button{min-height:44px}.ds-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ds-summary-grid>a{padding:16px;gap:8px}.ds-summary-grid strong{font-size:1.7em}.ds-job-grid{grid-template-columns:1fr}.ds-job-card{min-height:220px;padding:17px}.ds-priorities{padding:17px}.ds-alert small{font-size:.77em}.ds-job-bottom>small{font-size:.72em}.design-preview .footer{flex-direction:column;text-align:left;gap:4px}.ds-notification-preview{right:0}.design-preview .section-heading{gap:10px}.ds-priorities .section-heading>small{font-size:.68em}}
@media print{.ds-topbar{display:none!important}.design-preview.has-sidebar .workspace{width:100%;margin:0}.design-preview .app-content{margin:0}.design-preview{background:white}}
/* Panel revision: small fixed previews; details stay in their existing pages. */
.ds-panel-v2 .page-heading{margin-bottom:18px}.ds-panel-v2 .ds-eyebrow{margin-bottom:5px}
.ds-panel-counts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:21px}.ds-panel-counts>a{display:flex;align-items:center;gap:11px;background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:14px 17px;font-size:.82em}.ds-panel-counts strong{font-size:1.55em;line-height:1;margin-left:auto;font-weight:650;letter-spacing:-.04em}.ds-panel-counts>a>span:last-child{color:var(--muted);margin-left:8px}.ds-count-mark{width:7px;height:7px;border-radius:50%;background:var(--ds-accent)}.ds-count-mark.draft{background:#a38459}
.ds-panel-v2 .ds-workshop{margin-bottom:20px}.ds-panel-v2 .section-heading{margin-bottom:10px;min-height:32px}.ds-panel-v2 .section-heading small{font-size:.68em;display:block;margin-top:4px}.ds-panel-v2 .ds-job-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ds-panel-v2 .ds-job-card{border-radius:9px;padding:15px 17px 11px;min-height:0;height:176px;border-top:2px solid var(--ds-accent);box-shadow:none}.ds-panel-v2 .ds-job-top{min-height:29px;flex-direction:row;align-items:center}.ds-panel-v2 .plate{border-radius:4px;letter-spacing:.07em;font-size:.85em;padding:4px 9px}.ds-panel-v2 .ds-job-top .badge{font-size:.66em;max-width:45%;border-radius:4px}.ds-vehicle-customer{display:flex;gap:10px;align-items:baseline;margin:9px 0 10px;min-width:0}.ds-vehicle-customer strong{font-size:.81em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55%}.ds-vehicle-customer>span{font-size:.74em;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.ds-vehicle-customer>span:before{content:'·';margin-right:9px;color:#9ba6ae}.ds-job-lines{display:grid;gap:6px}.ds-job-lines>div{display:flex;align-items:center;gap:7px;min-width:0}.ds-job-lines svg{width:14px;height:14px;fill:none;stroke:var(--muted);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.ds-line-label{font-size:.69em;color:var(--muted);width:40px;flex:none}.ds-job-lines strong{font-size:.77em;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.ds-panel-v2 .ds-job-bottom{padding-top:7px;margin-top:auto}.ds-panel-v2 .ds-job-bottom>span,.ds-panel-v2 .ds-job-bottom>small{font-size:.66em;color:var(--muted)}.ds-more-jobs{display:block;text-align:right;font-size:.73em;padding-top:9px}
.ds-panel-bottom{display:grid;grid-template-columns:1.35fr 1fr;gap:14px;align-items:start}.ds-recent,.ds-panel-v2 .ds-priorities{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:16px 17px}.ds-recent-row{display:flex;align-items:center;gap:10px;min-height:55px;border-top:1px solid var(--line);padding:8px 0}.ds-recent-row .plate{font-size:.67em;min-width:100px;text-align:center}.ds-recent-copy{min-width:0;flex:1}.ds-recent-copy strong,.ds-recent-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ds-recent-copy strong{font-size:.73em;font-weight:550}.ds-recent-copy small{font-size:.65em;margin-top:2px}.ds-recent-row .badge{font-size:.6em;white-space:nowrap;padding:4px 6px}.ds-row-arrow{font-size:.8em;color:var(--muted)}.ds-panel-v2 .ds-priorities .ds-alert{padding:10px 0;gap:10px}.ds-panel-v2 .ds-priorities .ds-alert strong{font-size:.76em}.ds-panel-v2 .ds-priorities .ds-alert small{font-size:.68em;margin-top:3px}.ds-panel-v2 .ds-priorities .ds-alert-marker{width:3px;height:23px}.ds-panel-v2 .ds-priorities .ds-alert:last-child{padding-bottom:0}
@media(max-width:760px){.ds-panel-bottom{grid-template-columns:1fr}.ds-panel-v2 .ds-job-card{padding-inline:13px}.ds-vehicle-customer{display:block;margin-block:7px}.ds-vehicle-customer strong{display:block;max-width:100%;font-size:.84em}.ds-vehicle-customer>span{display:block;margin-top:2px}.ds-vehicle-customer>span:before{content:none}.ds-panel-counts>a{padding:13px;gap:7px}}
@media(max-width:540px){.ds-panel-v2 .ds-job-grid{grid-template-columns:1fr}.ds-panel-v2 .ds-job-card{height:190px}.ds-panel-counts>a{font-size:.77em}.ds-panel-counts>a>span:last-child{display:none}.ds-panel-counts strong{font-size:1.45em}.ds-panel-v2 .ds-job-bottom>span,.ds-panel-v2 .ds-job-bottom>small{font-size:.7em}.ds-recent-row{gap:7px}.ds-recent-row .plate{min-width:96px}.ds-row-arrow{display:none}.ds-recent,.ds-panel-v2 .ds-priorities{padding:14px}.ds-panel-v2 .ds-job-lines strong{font-size:.82em}}
@media(min-width:761px) and (max-height:850px){.design-preview.has-sidebar .workspace:has(.ds-panel-v2){margin-top:20px;margin-bottom:20px}.ds-panel-v2 .page-heading{margin-bottom:14px}.ds-panel-counts{margin-bottom:16px}.ds-panel-v2 .ds-job-card{height:176px}.ds-panel-v2 .ds-workshop{margin-bottom:16px}}

/* Simplified desktop service flow: creator identity, review and payment. */
.ds-panel-counts.ds-simple-counts{grid-template-columns:repeat(3,minmax(0,1fr))}
.ds-count-mark.paid{background:#467467}
.ds-panel-v2 .ds-job-bottom>span{min-width:0;max-width:75%;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds-pending-row{display:flex;align-items:center;gap:9px;min-height:68px;border-top:1px solid var(--line);padding:8px 0}
.ds-pending-record{display:flex;gap:10px;align-items:center;flex:1;min-width:0}
.ds-pending-record>.plate{font-size:.67em;white-space:nowrap;min-width:100px;text-align:center}
.ds-pending-record>span:last-child{min-width:0}
.ds-pending-record strong,.ds-pending-record small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds-pending-record strong{font-size:.73em;font-weight:550}
.ds-pending-record small{font-size:.65em;color:var(--muted);margin-top:3px}
.ds-pending-row form{margin:0;flex:none}
.design-preview .ds-icon-action{display:inline-grid;place-items:center;min-width:34px;min-height:34px;width:34px;height:34px;padding:7px;border-radius:7px;background:var(--surface);border:1px solid var(--line)}
.ds-icon-action svg{width:16px;height:16px}
.badge.cancelled{color:#8c4944;background:#f6ecea;border:1px solid #ead2ce}
/* Line icons remain legible in compact approval controls. */
.ds-icon-action svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* Operational panel: records first, quiet secondary lists, one main action. */
.ds-panel-refined .page-heading{align-items:center;margin-bottom:26px}
.ds-panel-date{display:block;color:var(--muted);font-size:.76em;margin-top:6px}
.ds-panel-shortcuts{display:flex;align-items:center;gap:20px}
.ds-shortcut{display:flex;gap:7px;align-items:center;font-size:.8em;min-height:40px;color:var(--muted)}
.ds-shortcut:hover{color:var(--text)}
.ds-shortcut svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5}
.ds-new-service{margin-left:2px;font-size:.82em}
.ds-panel-refined .section-heading h2{font-size:.9em;font-weight:600}
.ds-panel-refined .ds-workshop{margin-bottom:26px}
.ds-panel-refined .ds-job-card{height:174px;padding:15px 18px 12px;border-top:1px solid var(--line);border-radius:10px;background:var(--surface)}
.ds-panel-refined .ds-job-card:hover{border-color:var(--ds-accent)}
.ds-panel-refined .ds-job-top .plate{font-size:.92em;letter-spacing:.06em}
.ds-panel-refined .ds-vehicle-customer{margin:8px 0 12px}
.ds-panel-refined .ds-job-lines{gap:5px}
.ds-panel-refined .ds-job-lines strong{font-size:.8em;font-weight:450}
.ds-panel-refined .ds-job-lines svg{width:15px;height:15px;color:var(--muted)}
.ds-panel-refined .ds-job-bottom{border:0;padding-top:9px}
.ds-panel-refined .ds-job-bottom>.ds-creator{display:inline-flex;align-items:center;gap:7px;max-width:100%;font-size:.73em;color:var(--muted)}
.ds-creator-avatar{display:inline-grid;place-items:center;flex:none;width:23px;height:23px;background:#e8edef;color:#43565f;border:1px solid #dde4e7;border-radius:50%;font-size:11px;font-weight:600}
.ds-creator>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds-panel-lists{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:28px}
.ds-panel-refined .ds-priorities,.ds-panel-refined .ds-recent{background:transparent;border:0;border-radius:0;padding:0;min-height:224px}
.ds-panel-refined .ds-pending-row{min-height:77px;padding:12px 0}
.ds-panel-refined .ds-pending-record{gap:12px}
.ds-panel-refined .ds-pending-record strong{font-size:.78em}
.ds-panel-refined .ds-pending-record small{font-size:.7em}
.ds-panel-refined .ds-recent-row{min-height:58px}
.ds-panel-refined .ds-recent-copy strong{font-size:.78em}
.ds-panel-refined .ds-recent-copy small{font-size:.7em}
.ds-panel-refined .ds-text-link{color:var(--muted)}
.ds-panel-refined .ds-empty-jobs{padding:20px;min-height:174px;display:flex;align-items:center;justify-content:center}
.ds-panel-refined .ds-empty-jobs h3{font-size:.85em;color:var(--muted);font-weight:450;margin:0}

/* Original home navigation with three simultaneous service columns. */
.ds-kanban-home{max-width:none}
.ds-kanban-home .page-heading{margin-bottom:16px}
.ds-kanban-home .shop-find{margin-bottom:14px;padding:4px 10px 4px 14px}
.ds-kanban-home .shop-launchers{gap:10px;margin-bottom:20px}
.ds-kanban-home .shop-launcher{min-height:64px;padding:10px 14px;border-radius:9px;gap:12px}
.ds-kanban-home .shop-launcher h2{font-size:14px}
.ds-kanban-home .shop-launcher p{font-size:11px;margin-top:3px}
.ds-kanban-home .shop-launch-icon{width:32px;height:32px;border-radius:7px}
.ds-kanban-home .shop-launch-icon svg{width:19px;height:19px}
.ds-kanban .shop-summary-heading{margin-bottom:10px}
.ds-kanban .shop-summary-heading>a{text-decoration:none;font-size:12px}
.ds-kanban-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ds-kanban-column{display:flex;flex-direction:column;min-width:0;height:clamp(280px,calc(100dvh - 495px),400px);border:1px solid #dce2e6;border-radius:10px;background:#eef1f3;padding:11px}
.ds-column-heading{display:flex;align-items:center;justify-content:space-between;padding:1px 3px 10px;gap:8px}
.ds-column-heading h3{font-size:13px;font-weight:600;margin:0;display:flex;align-items:center;gap:7px}
.ds-column-heading h3:before{content:'';width:6px;height:6px;background:#a28250;border-radius:50%}
.column-approved .ds-column-heading h3:before{background:#537184}
.column-awaiting .ds-column-heading h3:before{background:#a26b35}
.ds-board-links{display:flex;align-items:center;gap:16px;font-size:12px}
.ds-board-links a{text-decoration:none}
.badge.awaiting{color:#795023;background:#f5eddf;border-color:#e9d8bc}
.ds-column-heading>span{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.ds-column-records{flex:1;overflow-y:auto;min-height:0;display:flex;flex-direction:column;gap:9px;scrollbar-width:thin}
.ds-kanban .ds-job-card{flex:none;min-height:0;height:156px;border:1px solid var(--line);border-radius:7px;padding:10px 11px;box-shadow:none;background:var(--surface);margin:0}
.ds-kanban .ds-job-top{min-height:24px}
.ds-kanban .plate{font-size:12px;border-radius:3px;padding:3px 8px;letter-spacing:.05em}
.ds-kanban .ds-vehicle-customer{display:block;margin:5px 0 7px}
.ds-kanban .ds-vehicle-customer strong{font-size:12px;display:block;max-width:100%}
.ds-kanban .ds-vehicle-customer>span{font-size:11px;display:block;margin-top:2px}
.ds-kanban .ds-vehicle-customer>span:before{content:none}
.ds-kanban .ds-job-lines{gap:4px}
.ds-kanban .ds-job-lines svg{width:12px;height:12px;flex:none}
.ds-kanban .ds-job-lines strong{font-size:11px;font-weight:450}
.ds-kanban .ds-job-bottom{border:0;padding-top:7px;margin-top:auto;min-height:27px}
.ds-kanban .ds-creator{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:50%;font-size:11px;color:var(--muted)}
.ds-kanban .ds-creator-avatar{width:21px;height:21px;font-size:10px}
.ds-kanban .ds-job-bottom form{margin:0}
.design-preview .ds-kanban .ds-approve,.ds-kanban .ds-receive{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:27px;padding:4px 7px;border:1px solid #d6dfe3;border-radius:5px;font-size:10px;color:#344f5f;background:#f6f8f9;box-shadow:none;font-weight:550;white-space:nowrap}
.ds-approve svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6}
.ds-column-footer{padding:9px 3px 0;display:flex;justify-content:flex-end;font-size:11px;color:var(--muted)}
.ds-column-footer a{display:flex;align-items:center;gap:7px}
.ds-kanban .ds-empty-jobs{border:0;background:transparent;margin:auto;padding:16px;text-align:center}
.ds-kanban .ds-empty-jobs h3{font-size:12px;font-weight:450;color:var(--muted);margin:0}
#live-update-status{font-size:11px;color:var(--muted);margin-left:auto;margin-right:12px}
/* Keep the existing confirmation inside its card, never over the next record. */
.ds-kanban .ds-job-card:has(.inline-confirm){height:auto;min-height:156px}
.ds-kanban .ds-job-bottom:has(.inline-confirm){flex-wrap:wrap;align-items:flex-start}
.ds-kanban .ds-job-bottom form:has(.inline-confirm){width:100%;flex:1 0 100%}
.ds-kanban .inline-confirm{margin-bottom:0}
.ds-kanban .inline-confirm-actions button{font-size:11px;min-height:34px}
.workspace:has(> .messages) .ds-kanban-column{height:clamp(230px,calc(100dvh - 590px),330px)}

/* Summary-only desktop panel. Workflow actions belong to service records. */
.ds-overview-home{max-width:1180px;margin:0 auto}
.ds-overview-home .page-heading{margin-bottom:21px}
.ds-overview-caption{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}
.ds-overview-caption h2{font-size:13px;font-weight:550;margin:0}
.ds-overview-caption>span{color:var(--muted);font-size:11px}
.ds-overview-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}
.ds-overview-count{position:relative;padding:16px 18px;background:var(--surface);border:1px solid var(--line);border-radius:10px;text-decoration:none}
.ds-overview-count>span{display:flex;gap:7px;align-items:center;font-size:12px;color:var(--muted)}
.ds-overview-count i{height:6px;width:6px;flex:none;border-radius:50%;background:#a28250}
.ds-overview-count.state-approved i{background:#537184}.ds-overview-count.state-awaiting i{background:#ab783f}.ds-overview-count.state-paid i{background:#4d7b67}
.ds-overview-count strong{display:block;margin-top:10px;font-size:29px;font-weight:600;line-height:1;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.ds-overview-count>svg{position:absolute;right:17px;bottom:18px;width:15px;height:15px;fill:none;stroke:#7b8790;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ds-overview-count:hover{border-color:#abbcc5}
.ds-overview-recent{border:1px solid var(--line);border-radius:11px;background:var(--surface);overflow:hidden}
.ds-overview-recent>header{display:flex;align-items:center;justify-content:space-between;padding:17px 20px 14px;gap:12px}
.ds-overview-recent h2{font-size:15px;margin:0 0 3px;font-weight:600}
.ds-overview-recent header div>span{font-size:11px;color:var(--muted)}
.ds-overview-recent header>a{font-size:12px;color:var(--ds-accent);display:flex;gap:9px;align-items:center;min-height:32px;text-decoration:none}
.ds-overview-table table{width:100%;table-layout:fixed;margin:0;border-collapse:collapse}
.design-preview .ds-overview-table th{font-size:11px;font-weight:500;letter-spacing:0;text-transform:none;background:#fafbfc;padding:10px 18px}
.ds-overview-table th:nth-child(1){width:30%}.ds-overview-table th:nth-child(2){width:26%}.ds-overview-table th:nth-child(3){width:16%}.ds-overview-table th:nth-child(4){width:16%}.ds-overview-table th:nth-child(5){width:12%}
.design-preview .ds-overview-table td{padding:11px 18px;height:65px;border-top:1px solid var(--line);vertical-align:middle;font-size:12px}
.ds-overview-table tbody tr:last-child td{border-bottom:0}
.ds-overview-identity{display:flex;gap:9px;align-items:center;min-width:0;text-decoration:none}
.design-preview .ds-overview-identity .plate{flex:none;font-size:11px;border-radius:4px;padding:3px 6px;border-left-width:3px}
.ds-overview-car,.ds-overview-customer,.ds-overview-work strong,.ds-overview-work small,.ds-overview-creator>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.ds-overview-car{font-size:11px;color:var(--muted)}
.ds-overview-customer{display:block;font-size:11px;color:var(--muted);margin-top:5px}
.ds-overview-work{display:block;text-decoration:none;min-width:0}
.ds-overview-work strong{display:block;font-size:12px;font-weight:500}.ds-overview-work small{display:block;font-size:11px;color:var(--muted);margin-top:4px}
.ds-overview-creator{display:flex;align-items:center;gap:7px;font-size:11px}.ds-overview-creator .ds-creator-avatar{width:23px;height:23px;flex:none;font-size:10px}
.ds-overview-time{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.ds-overview-time small{display:block;font-size:11px;margin-top:4px}
.ds-overview-table .badge{font-size:10px;padding:4px 7px}
.ds-overview-shortcuts{display:flex;align-items:center;gap:12px;margin-top:16px}
.ds-overview-shortcuts>a{flex:1;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:8px;padding:13px;background:var(--surface);font-size:12px;text-decoration:none;min-width:0}
.ds-overview-shortcuts svg{width:16px;height:16px;fill:none;stroke:var(--muted);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ds-overview-shortcuts>a>span{margin-left:auto;color:var(--muted)}
.design-preview .ds-overview-table .ds-overview-empty{text-align:center;color:var(--muted);height:150px}
.design-preview.has-sidebar .workspace:has(> .ds-overview-home){margin-top:22px;margin-bottom:20px}
.ds-overview-home .page-heading{margin-bottom:16px}
.ds-overview-counts{margin-bottom:18px}
.ds-overview-count{padding:13px 16px}.ds-overview-count strong{font-size:27px;margin-top:8px}
.ds-overview-recent>header{padding:13px 18px 11px}
.design-preview .ds-overview-table th{padding:9px 16px}
.design-preview .ds-overview-table td{height:56px;padding:8px 16px;line-height:1.3}
.ds-overview-table td small{margin-top:3px;line-height:1.25}
.ds-overview-shortcuts{margin-top:13px}.ds-overview-shortcuts>a{padding:11px 13px}
.design-preview .ds-overview-table td{height:auto;padding-block:6px}
.ds-overview-recent>header{padding-block:10px}
.ds-overview-recent>header h2{line-height:1.3;margin-bottom:3px}
.ds-overview-recent>header div>span{display:block;line-height:1.4}
.design-preview .ds-overview-table th{padding-block:7px}

/* Keep the full workflow labels readable on narrow screens. */
@media(max-width:600px){.ds-overview-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}
