/* DealerWake working surfaces: compact geometry, native type, and a full-width desktop workspace. */
body.dw-workspace{font-size:.875rem;line-height:1.45;background:var(--ui-page);color:var(--ui-ink)}
.dw-workspace [hidden]{display:none!important}
.dw-workspace .workspace-navigation{position:sticky;inset:0 0 auto;top:0;z-index:20;width:100%;height:auto;min-height:56px;display:flex;flex-direction:row;align-items:center;gap:24px;padding:0 24px;border:0;border-bottom:1px solid var(--ui-line);background:var(--ui-surface);overflow:visible;backdrop-filter:none}
.dw-workspace .workspace-navigation>.brand{display:flex;flex:0 0 166px;width:166px;min-height:0;height:auto;padding:0;margin:0;letter-spacing:normal}
.dw-workspace .workspace-navigation>.brand>.dms-logo{width:166px;height:auto;transform:none}
.dw-workspace #nav{display:flex;flex:1;align-items:stretch;align-self:stretch;justify-content:center;gap:4px;margin:0;min-width:0}
.dw-workspace #nav>a{display:flex;align-items:center;justify-content:center;position:relative;gap:0;padding:0 13px;min-height:56px;border-radius:0;font-size:.875rem;font-weight:500;line-height:1.3;color:var(--ui-muted);white-space:nowrap;background:transparent}
.dw-workspace #nav>a>svg{display:none}
.dw-workspace #nav>a.active{color:var(--ui-accent);background:transparent;font-weight:600}
.dw-workspace #nav>a.active:after{content:"";position:absolute;height:3px;inset:auto 12px 0;background:var(--ui-accent);border-radius:3px 3px 0 0}
.dw-workspace #nav>a:hover{background:var(--ui-hover);color:var(--ui-accent)}
.dw-workspace .sidebar-bottom{margin:0;flex:0 0 auto;padding:0;border:0;display:flex;align-items:center}
.dw-workspace .sidebar-bottom>.demo-note,.dw-workspace .sidebar-bottom>.profile{display:none}
.dw-workspace .sidebar-bottom>.settings-button{width:auto;min-height:34px;padding:5px 8px;gap:7px;font-size:.8125rem;border-radius:7px;color:var(--ui-muted)}
.dw-workspace .sidebar-bottom>.settings-button:hover{background:var(--ui-hover);color:var(--ui-accent)}
.dw-workspace .settings-icon{background:none;box-shadow:none;color:inherit;width:18px;height:18px}
.dw-workspace .settings-icon svg{width:18px;height:18px;stroke-width:1.6}
.dw-workspace #workspace-menu-toggle{display:none}
.dw-workspace .shell{margin-left:0;padding-bottom:0;min-width:0}
.dw-workspace .shell>header{height:auto;min-height:38px;padding:3px 24px;gap:10px;background:var(--ui-page);color:var(--ui-muted);border:0;line-height:1.3;flex-wrap:wrap}
.dw-workspace .shell>header #workspace-back{padding:4px 7px;min-height:28px;font-size:.75rem;margin:0;background:transparent;border-color:transparent}
.dw-workspace #breadcrumb{font-size:.75rem;line-height:1.4;min-width:0;overflow-wrap:normal}
.dw-workspace .header-right{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}
.dw-workspace .header-right>.avatar{display:inline-grid;width:28px;height:28px;font-size:.6875rem;border:1px solid var(--ui-line);background:var(--ui-surface)}
.dw-workspace .header-right .sample{font-size:.75rem;letter-spacing:0}
.dw-workspace .header-right #save-state{font-size:.75rem;padding:3px 0;white-space:nowrap}
.dw-workspace .header-right .accounting-toggle{font-size:.75rem;min-height:28px;gap:6px}
.dw-workspace .header-right .service-alerts-button{width:30px;height:28px;min-height:28px;padding:4px}
.dw-workspace .service-alerts-button svg{width:18px;height:18px}
.dw-workspace main#app{max-width:none;padding:9px 24px 36px;margin:0;min-width:0}
.dw-workspace #app>.back{display:none}
.dw-workspace #app .page-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 18px;margin:0 0 16px;min-height:34px}
.dw-workspace #app .page-head>div:first-child{min-width:0;flex:1 1 220px}
.dw-workspace h1{font-size:1.5rem;font-weight:600;line-height:1.25;letter-spacing:-.035em;margin:0}
.dw-workspace h2{font-size:1.0625rem;font-weight:600;line-height:1.35;letter-spacing:-.015em}
.dw-workspace h3{font-size:.9375rem;font-weight:600;line-height:1.4;letter-spacing:0;margin-bottom:5px}
.dw-workspace #app .page-head p{font-size:.8125rem;line-height:1.4;margin-top:4px}
.dw-workspace .eyebrow{font-size:.75rem;line-height:1.4;letter-spacing:.08em;margin-bottom:5px;font-weight:600}
.dw-workspace:is([data-route=home],[data-route=service],[data-route=crm],[data-route=customers],[data-route=inventory],[data-route=parts],[data-route=register],[data-route=reporting],[data-route=messages],[data-route=sales-leads],[data-route=sales-deals],[data-route=sales-sold],[data-route=sales-tasks]) #app>.page-head :is(.eyebrow,p){display:none}
.dw-workspace .btn{font-size:.8125rem;line-height:1.3;font-weight:500;min-height:34px;border-radius:7px;padding:7px 11px;gap:6px;box-shadow:none;white-space:nowrap;filter:none}
.dw-workspace .btn.primary{box-shadow:0 1px 2px #075bd810}
.dw-workspace .btn:hover{filter:none;border-color:var(--ui-accent)}
.dw-workspace .btn:disabled:hover{border-color:var(--ui-line)}
.dw-workspace .btn svg{width:16px;height:16px}
.dw-workspace .actions{align-items:center;gap:7px}
.dw-workspace .page-head .record-actions{margin:0;padding:0}
.dw-workspace .link{font-size:.8125rem;font-weight:500;padding:4px 0;line-height:1.4}
.dw-workspace .card{border-radius:10px;border-color:var(--ui-line)}
.dw-workspace .card-pad{padding:16px}
.dw-workspace .card-title{margin-bottom:12px;gap:10px;align-items:center}
.dw-workspace .card-title .eyebrow{margin:0}
.dw-workspace .section-gap{margin-top:16px}
.dw-workspace .grid,.dw-workspace .detail-layout,.dw-workspace .register-layout{gap:16px}
.dw-workspace .detail-layout{grid-template-columns:minmax(0,1fr) 310px;align-items:start}
.dw-workspace .customer-profile-layout{grid-template-columns:minmax(0,1fr) minmax(290px,340px)}
.dw-workspace .toolbar{gap:10px 14px;margin:0 0 14px;align-items:center}
.dw-workspace .toolbar .search{flex:1 1 240px;max-width:440px;width:auto;min-width:0}
.dw-workspace .search{padding:8px 11px;font-size:.875rem;min-height:36px;border-radius:7px}
.dw-workspace .segmented{border-radius:7px;padding:3px;gap:2px;max-width:100%;flex-wrap:wrap}
.dw-workspace .segmented button{font-size:.8125rem;line-height:1.3;padding:6px 10px;border-radius:5px;min-height:30px;font-weight:500}
.dw-workspace .stage-tabs{padding:0;margin-bottom:14px;gap:6px;flex-wrap:wrap}
.dw-workspace .stage-tabs button{padding:7px 10px;font-size:.8125rem;min-height:32px}
.dw-workspace .service-stage-tabs button{display:inline-flex;align-items:center;gap:7px;color:var(--ui-ink);font-weight:700}
.dw-workspace .service-stage-tabs button.active{color:var(--ui-ink);border-bottom-color:var(--ui-accent)}
.dw-workspace .service-stage-tabs button>span{margin-left:2px}
.dw-workspace #app .service-table th button{color:var(--ui-ink);font-weight:700}
.dw-workspace label{font-size:.8125rem;line-height:1.4;margin-bottom:5px}
.dw-workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){font-size:.875rem;line-height:1.4;padding:8px 10px;border-radius:7px;min-height:36px;max-width:100%}
.dw-workspace .form-grid{gap:13px 16px}
.dw-workspace .form-grid label,.dw-workspace .form-grid .span2{min-width:0}
.dw-workspace .form-grid input,.dw-workspace .form-grid select{margin-top:5px}
.dw-workspace textarea{min-height:80px}
.dw-workspace .info,.dw-workspace small{font-size:.75rem;line-height:1.45}
.dw-workspace .pill{font-size:.75rem;font-weight:500;line-height:1.4;padding:3px 7px;border-radius:5px}
.dw-workspace .row{padding:11px 0;gap:12px}
.dw-workspace .row-main strong{font-size:.875rem;font-weight:600;margin-bottom:2px}
.dw-workspace .row-main small{font-size:.75rem;line-height:1.4}
.dw-workspace .table-wrap{overflow:auto;max-width:100%;border-radius:inherit}
.dw-workspace #app table{font-size:.875rem;line-height:1.35}
.dw-workspace #app table th{padding:9px 12px;font-size:.75rem;font-weight:600;line-height:1.4;vertical-align:middle;background:var(--ui-surface);color:var(--ui-muted);border-color:var(--ui-line)}
.dw-workspace #app table td{padding:9px 12px;font-size:.875rem;line-height:1.35;vertical-align:middle;border-color:var(--ui-line)}
.dw-workspace #app table td small{font-size:.75rem;line-height:1.4;margin-top:3px}
.dw-workspace #app table .customer-cell small{margin-top:0}
.dw-workspace #app table .btn{min-height:30px;padding:5px 8px;font-size:.75rem}
.dw-workspace #app table .link{font-size:.8125rem}
.dw-workspace #app table .sort-heading{font-size:.75rem;padding:3px 0}
.dw-workspace .customer-cell{min-width:0;max-width:100%;padding:0;gap:1px}
.dw-workspace .customer-cell strong{font-size:.875rem;font-weight:600;margin-bottom:0;line-height:1.3}
.dw-workspace .customer-cell small{font-size:.75rem;line-height:1.4}
.dw-workspace .customer-directory-table{table-layout:fixed}
.dw-workspace .customer-directory-table .directory-check{width:38px!important;min-width:38px!important;padding-left:12px!important;padding-right:7px!important}
.dw-workspace .customer-directory-table .customer-name-col{width:25%}
.dw-workspace .customer-directory-table .customer-boat-col{width:25%}
.dw-workspace .customer-directory-table .customer-action-col{width:300px}
.dw-workspace .customer-directory-table .actions{flex-wrap:nowrap;justify-content:flex-end;gap:6px}
.dw-workspace .customer-directory-table td:last-child,.dw-workspace .customer-directory-table th:last-child{text-align:right}
.dw-workspace .customer-directory-table .customer-cell small{overflow-wrap:anywhere;color:var(--ui-muted)}
.dw-workspace .customer-directory-table .customer-boat-list>div+div{margin-top:3px}
.dw-workspace .directory-bulk{padding:9px 12px;border-bottom:1px solid var(--ui-line);background:var(--ui-raised);gap:10px}
.dw-workspace .directory-bulk strong{font-size:.8125rem;margin-right:auto}
.dw-workspace .directory-bulk .btn{min-height:30px;padding:5px 8px;font-size:.75rem}
.dw-workspace .list-footer,.dw-workspace .history-pagination,.dw-workspace .inventory-pagination{padding:10px 14px;font-size:.75rem}
.dw-workspace .service-controls .segmented button{padding:6px 9px}
.dw-workspace #app .service-table .ro-link{font-size:.875rem}
.dw-workspace #app .service-table td{padding:10px 9px}
.dw-workspace #app .service-table .service-closed-date{font-variant-numeric:tabular-nums;white-space:nowrap}
@media(min-width:761px){
 .dw-workspace #app .service-table-closed th:nth-child(1){width:8%}
 .dw-workspace #app .service-table-closed th:nth-child(2){width:42%}
 .dw-workspace #app .service-table-closed th:nth-child(3){width:10%}
 .dw-workspace #app .service-table-closed th:nth-child(4){width:14%}
 .dw-workspace #app .service-table-closed th:nth-child(5),.dw-workspace #app .service-table-closed th:nth-child(6){width:13%}
}
@media(max-width:760px){
 .dw-workspace #app .service-table-closed .service-closed-date:before{content:attr(data-label);display:block;color:var(--ui-muted);font-size:.75rem;margin-bottom:2px}
}
.dw-workspace #app .crm-table select{font-size:.8125rem;min-width:0;min-height:32px;padding:6px 8px}
.dw-workspace .board{gap:10px}
.dw-workspace .lane{padding:9px;border-radius:9px}
.dw-workspace .lane-head{padding:4px 1px 10px;font-size:.8125rem;gap:8px}
.dw-workspace .job-card,.dw-workspace .service-board .job-card{padding:12px;margin-bottom:9px;border-radius:8px;box-shadow:none}
.dw-workspace .job-card h3,.dw-workspace .service-board .job-card h3{font-size:.875rem;margin:7px 0 4px}
.dw-workspace .job-card p,.dw-workspace .service-board .job-card p{font-size:.75rem}
.dw-workspace .job-card .bottom,.dw-workspace .service-board .job-card .bottom{margin-top:12px;padding-top:9px;font-size:.75rem;gap:6px}
/* Service tiles keep the board controls and essential order details together. */
.dw-workspace #app .service-tile-head{margin-bottom:9px;gap:8px 16px}
.dw-workspace .service-tile-toolbar{gap:10px 16px;margin-bottom:10px}
.dw-workspace .service-tile-toolbar .service-controls{gap:10px;flex-wrap:nowrap;flex:0 0 auto}
.dw-workspace .service-tile-toolbar .search{max-width:none;flex:1 1 250px;min-width:180px}
.dw-workspace .service-drag-hint{font-size:.75rem;color:var(--ui-muted);white-space:nowrap}
.dw-workspace .service-board .lane{padding:8px;min-height:260px;height:max(340px,calc(100dvh - 220px));overflow-y:auto;scrollbar-width:thin;background:var(--ui-raised)}
.dw-workspace .service-board .lane-head{position:sticky;top:-8px;z-index:1;background:var(--ui-raised);align-items:center;flex-wrap:nowrap;color:var(--ui-ink);font-size:.875rem;font-weight:700;padding:3px 2px 9px;line-height:1.3}
.dw-workspace .service-stage-title{display:flex;align-items:center;gap:7px;min-width:0}
.dw-workspace .service-stage-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex:0 0 8px;background:#2589ed;margin:0;padding:0}
.dw-workspace .service-stage-dot.green{background:#35b76c}
.dw-workspace .service-stage-dot.yellow{background:#edb532}
.dw-workspace .service-board .lane-head .count{font-size:.75rem;font-weight:600;padding:2px 6px;min-width:22px;text-align:center;flex-shrink:0;border-radius:5px}
.dw-workspace .service-board .service-compact-card{box-sizing:border-box;display:flex;flex-direction:column;height:6.75rem;min-height:6.75rem;max-height:6.75rem;padding:9px 10px;margin-bottom:7px;overflow:hidden;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.dw-workspace .service-board .service-compact-card>*{flex-shrink:0;min-width:0}
.dw-workspace .service-board .service-compact-card:hover{border-color:var(--ui-accent)}
.dw-workspace .service-board .service-compact-card:focus-within{outline:2px solid var(--ui-accent);outline-offset:2px}
.dw-workspace .service-card-top{display:flex;align-items:center;gap:6px;min-width:0;line-height:1.4}
.dw-workspace .service-ro-link{flex:0 0 auto;color:var(--ui-accent);font-size:.8125rem;font-weight:700;white-space:nowrap;text-decoration:none}
.dw-workspace .service-ro-link:hover,.dw-workspace .service-age-link:hover{text-decoration:underline;text-underline-offset:2px}
.dw-workspace .service-card-top .drag-grip{float:none;flex:0 0 auto;font-size:16px;line-height:16px;cursor:grab}
.dw-workspace .service-board .service-compact-card h3{flex:1;min-width:0;font-size:.875rem;font-weight:400;line-height:1.35;margin:0;color:#4b5563;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
[data-theme=dark] .dw-workspace .service-board .service-compact-card h3{color:#b5bfce}
.dw-workspace .service-board .service-compact-card .service-card-customer{font-size:.75rem;line-height:1.4;margin:2px 0 0;color:var(--ui-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dw-workspace .service-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px;min-width:0}
.dw-workspace .service-card-work{min-width:0;max-width:100%;display:flex}
.dw-workspace .service-board .service-card-work .pill{font-size:.6875rem;line-height:1.4;padding:2px 5px;overflow:hidden;display:block;white-space:nowrap;text-overflow:ellipsis}
.dw-workspace .service-age-link{display:inline-flex;align-items:center;gap:3px;flex-shrink:0;font-size:.6875rem;font-variant-numeric:tabular-nums;line-height:1.4;color:var(--ui-accent);text-decoration:none;white-space:nowrap;padding:2px 0}
.dw-workspace .service-age-link svg{width:12px;height:12px}
.dw-workspace .service-card-status-slot{height:1.275rem;margin-top:auto;padding-top:5px;box-sizing:border-box;min-width:0}
.dw-workspace .service-board .service-compact-card .service-card-status{font-size:.6875rem;line-height:1.4;color:var(--ui-muted);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dw-workspace .service-board .service-create-ro{display:block;max-width:100%;width:auto;margin:0;min-height:0;padding:0;font-size:.6875rem;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
@media(max-width:1100px){.dw-workspace .service-drag-hint{display:none}}
@media(max-width:760px){
 .dw-workspace #app .service-tile-head>div:first-child{flex-basis:100%}
 .dw-workspace .service-tile-head>.actions{flex-wrap:wrap;width:100%}
 .dw-workspace .service-tile-head>.actions>.primary{margin-left:auto}
 .dw-workspace .service-tile-toolbar .service-controls{flex-wrap:wrap}
 .dw-workspace .service-tile-toolbar .search{flex-basis:100%}
 .dw-workspace .service-board .lane{height:max(300px,calc(100dvh - 300px))}
 .dw-workspace .service-board .service-compact-card{padding:9px}
}
.dw-workspace .crm-board .lane{padding:0 8px 8px;border-radius:9px;height:max(470px,calc(100dvh - 250px))}
.dw-workspace .crm-board .lane-head{min-height:58px;padding:10px 1px;font-size:.8125rem;align-content:center;background:var(--ui-raised)}
.dw-workspace .crm-board .job-card{height:226px;padding:10px}
.dw-workspace .crm-board .job-card h3{height:38px;min-height:38px;font-size:.875rem;line-height:1.35;margin-top:7px}
.dw-workspace .crm-board .job-card .bottom{flex-basis:43px;font-size:.75rem}
.dw-workspace .crm-board .job-card .pill{font-size:.75rem;padding:3px 5px}
.dw-workspace .crm-board .job-card .avatar{width:25px;height:25px;flex-basis:25px;font-size:.6875rem}
.dw-workspace[data-route=crm] #app>.page-head{margin-bottom:9px}
.dw-workspace[data-route=crm] #app>.sales-tabs{margin-bottom:10px}
.dw-workspace[data-route=crm] #app>.toolbar{margin-bottom:10px}
.dw-workspace .crm-board .lane>.lane-head{min-height:40px;padding:8px 2px;align-items:center;align-content:center;flex-wrap:nowrap;color:var(--ui-ink);font-size:.875rem;font-weight:700;line-height:1.3}
.dw-workspace .crm-board .lane-head>.service-stage-title{flex:1 1 auto;gap:7px;overflow-wrap:normal}
.dw-workspace .crm-board .lane-head .count{font-size:.75rem;font-weight:600;padding:2px 6px;min-width:22px;text-align:center;flex-shrink:0;border-radius:5px}
.dw-workspace .crm-board .pipeline-card.job-card{height:auto;min-height:0;display:block;padding:9px 10px;margin-bottom:7px;cursor:pointer}
.dw-workspace .crm-board .pipeline-card:hover{border-color:var(--ui-accent)}
.dw-workspace .crm-board .pipeline-card:focus-within{outline:2px solid var(--ui-accent);outline-offset:2px}
.dw-workspace .pipeline-card-top{display:flex;align-items:flex-start;gap:6px;min-width:0}
.dw-workspace .crm-board .pipeline-card h3{height:auto;min-height:0;flex:1;min-width:0;margin:0;font-size:.875rem;line-height:1.35}
.dw-workspace .pipeline-customer-link{color:var(--ui-accent);font-weight:700;text-decoration:none}
.dw-workspace .pipeline-customer-link:hover{text-decoration:underline;text-underline-offset:2px}
.dw-workspace .pipeline-card-top .drag-grip{float:none;flex:0 0 auto;font-size:16px;line-height:18px;cursor:grab}
.dw-workspace .pipeline-card-owner{font-size:.6875rem;line-height:1.4;color:var(--ui-muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dw-workspace .crm-board .pipeline-card .pipeline-card-interest{height:auto;min-height:0;font-size:.75rem;line-height:1.4;color:var(--ui-ink);margin:5px 0 0}
.dw-workspace .crm-board .pipeline-card .crm-card-status{height:auto;min-height:0;margin-top:5px}
.dw-workspace .crm-board .pipeline-card .crm-card-status .pill{font-size:.6875rem;line-height:1.4;padding:2px 5px;max-height:none}
.dw-workspace .pipeline-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;min-width:0}
.dw-workspace .pipeline-card-footer strong{font-size:.75rem;line-height:1.4;font-weight:600;color:var(--ui-ink);overflow-wrap:anywhere}
.dw-workspace .inventory-filter-rail{padding:0 12px;gap:0 14px}
.dw-workspace .inventory-filter-rail button{min-height:42px;padding:9px 0;font-size:.8125rem}
.dw-workspace .inventory-search{padding:12px 14px}
.dw-workspace .inventory-list-photo{width:54px;height:38px;border-radius:6px}
.dw-workspace .inventory-unit-cell{gap:12px}
.dw-workspace .picker-results .customer-result{padding:10px 12px;min-height:52px}
.dw-workspace .inventory-item-row{display:grid;grid-template-columns:40px minmax(0,1fr) 132px auto;align-items:center;gap:14px;padding:11px 14px}
.dw-workspace .inventory-item-row>.mini-photo,.dw-workspace .inventory-item-row>.item-monogram{width:40px;height:40px;object-fit:cover;margin:0}
.dw-workspace .inventory-item-price{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;min-width:0}
.dw-workspace .inventory-item-price>strong{display:block}
.dw-workspace .inventory-item-row>.actions{width:auto;margin:0;flex-wrap:nowrap;justify-content:flex-end}
.dw-workspace .inventory-departments{max-width:100%;flex-wrap:wrap}
#ip-manufacture-fields[hidden],#ip-uom-label[hidden]{display:none}
.dw-workspace .lead-pin-fire{font-size:19px;line-height:1}
@media(max-width:680px){
 .dw-workspace .inventory-item-row{grid-template-columns:32px minmax(0,1fr) 108px;gap:10px;padding:11px 0}
 .dw-workspace .inventory-item-row>.mini-photo,.dw-workspace .inventory-item-row>.item-monogram{width:32px;height:32px}
 .dw-workspace .inventory-item-row>.actions{grid-column:2/-1;justify-self:end}
}
.dw-workspace .inventory-tiles{gap:14px}
.dw-workspace .inventory-tile-content{padding:14px}
.dw-workspace .inventory-tile-footer{padding-top:12px}
.dw-workspace .inventory-tile-footer .inventory-tile-price{font-size:1.25rem;min-height:25px;margin-bottom:10px}
.dw-workspace #app .inventory-table th.inventory-col-actions{width:160px}
.dw-workspace .register-layout{grid-template-columns:minmax(0,1.55fr) minmax(320px,1fr)}
.dw-workspace .register-cart{top:72px}
.dw-workspace .register-view-toggle{margin-bottom:14px}
.dw-workspace .retail-item{padding:12px;gap:10px}
.dw-workspace .retail-item strong{font-size:.875rem}
.dw-workspace .cart-line{padding:12px 0}
.dw-workspace .summary-line{padding:7px 0;font-size:.8125rem}
.dw-workspace .summary-line.total{margin-top:7px;padding-top:12px;font-size:1.125rem}
.dw-workspace .quick-grid{gap:12px;margin-bottom:18px}
.dw-workspace .quick{padding:16px;border-radius:10px;transform:none}
.dw-workspace .quick:hover{transform:none;box-shadow:none;border-color:var(--ui-accent)}
.dw-workspace .quick .icon{width:32px;height:32px;margin-bottom:12px;border-radius:8px}
.dw-workspace .quick strong{font-size:.9375rem;font-weight:600}
.dw-workspace .quick small{font-size:.75rem;margin-top:3px}
.dw-workspace .dashboard-actions-modern{gap:12px;margin-bottom:18px}
.dw-workspace .dashboard-action-modern{padding:16px;border-radius:10px}
.dw-workspace .kpi-grid{gap:12px;margin-bottom:18px}
.dw-workspace .kpi{padding:16px;border-radius:10px}
.dw-workspace .metric-value{font-size:1.625rem}
.dw-workspace .accounting-panel{margin:0 0 16px;border-radius:10px}
.dw-workspace .accounting-panel-head{padding:14px 16px}
.dw-workspace .accounting-metrics{gap:10px}
.dw-workspace .accounting-metrics>div{padding:14px}
.dw-workspace #app .accounting-table :is(th,td){padding:9px 12px;font-size:.8125rem}
.dw-workspace .activity-history-card{padding:16px}
.dw-workspace .activity-log-actions{gap:7px}
.dw-workspace .activity-log-actions button{min-height:34px;padding:7px 10px}
.dw-workspace .conversation-row{padding:12px}
.dw-workspace .message-history-card{padding:14px}
.dw-workspace #modal{width:min(780px,calc(100vw - 32px));max-width:calc(100vw - 32px);border-radius:12px}
.dw-workspace #modal.scan-dialog{width:min(1200px,calc(100vw - 32px))}
.dw-workspace #modal.purchase-dialog{width:min(1120px,calc(100vw - 32px))}
.dw-workspace #modal .modal-head{padding:15px 18px;gap:10px}
.dw-workspace #modal .modal-head h2{font-size:1.125rem}
.dw-workspace #modal .modal-body{padding:18px}
.dw-workspace #modal .modal-foot,.dw-workspace #modal .modal-footer{padding:12px 18px;gap:8px}
.dw-workspace #modal .close{width:30px;height:30px;min-height:30px;line-height:1}
.dw-workspace #modal .modal-back{min-height:30px;padding:5px 8px;font-size:.75rem}
.dw-workspace #modal .selection-card{padding:14px;border-radius:9px;min-height:100px;gap:5px}
.dw-workspace #modal .job-type-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dw-workspace #modal .selection-card strong{font-size:.9375rem}
.dw-workspace #modal .selection-card small{font-size:.75rem}
.dw-workspace #modal .picker-results .customer-result{padding:11px 12px}
.dw-workspace .settings-tools{padding-bottom:16px;margin-bottom:16px}
.dw-workspace .settings-tool-grid{gap:9px;margin-top:12px}
.dw-workspace .settings-tool{padding:12px;min-height:68px;border-radius:8px;gap:10px}
.dw-workspace .settings-tool strong{font-size:.875rem}
.dw-workspace .settings-tool small{font-size:.75rem;margin-top:3px}
.dw-workspace .settings-tool-icon{width:30px;height:30px;border-radius:7px;font-size:20px}
.dw-workspace .mail-rich-editor{min-height:160px;font-size:1rem;line-height:1.5;padding:14px}
.dw-workspace .mail-format-toolbar{padding:5px 7px}

/* Work orders: both columns begin on the same baseline. No intervening navigation row. */
.dw-workspace .ro-layout{grid-template-columns:250px minmax(0,1fr);gap:16px;align-items:start}
.dw-workspace .ro-context,.dw-workspace .ro-main{gap:12px;align-content:start;min-width:0}
.dw-workspace .ro-context{border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-surface);gap:0;overflow:hidden;grid-template-columns:minmax(0,1fr)}
.dw-workspace .ro-context>.card{padding:14px;border:0;border-radius:0;border-bottom:1px solid var(--ui-line)}
.dw-workspace .ro-context>.card:last-child{border-bottom:0}
.dw-workspace .ro-context h2{font-size:1rem}
.dw-workspace .ro-context h3{font-size:.9375rem}
.dw-workspace .ro-context .card-title{margin-bottom:8px}
.dw-workspace .ro-contact{margin:6px 0;font-size:.8125rem;gap:3px;line-height:1.45}
.dw-workspace .ro-contact>*{font-size:.8125rem;line-height:1.45;margin:0;overflow-wrap:anywhere}
.dw-workspace .ro-context .ro-contact .link{text-align:left;padding:0}
.dw-workspace .ro-context .customer-address{font-size:.75rem;margin-top:3px}
.dw-workspace .ro-quick-actions{gap:5px;margin-top:10px;grid-template-columns:repeat(4,minmax(0,1fr))}
.dw-workspace .ro-quick-actions button{padding:7px 2px;min-height:49px;gap:5px;border-radius:6px;font-size:.75rem}
.dw-workspace .ro-quick-actions svg{width:16px;height:16px}
.dw-workspace .ro-quick-actions span{font-size:.6875rem;white-space:nowrap}
.dw-workspace .boat-reference{height:100px;max-width:100%;object-fit:cover;margin:8px 0;border-radius:7px}
.dw-workspace .ro-facts{margin:10px 0}
.dw-workspace .ro-context .ro-facts{display:block}
.dw-workspace .ro-facts>div{padding:5px 0;gap:10px}
.dw-workspace .ro-facts dt,.dw-workspace .ro-facts dd{font-size:.75rem;line-height:1.4}
.dw-workspace .ro-facts dt{flex-basis:auto}
.dw-workspace .ro-facts dd{font-weight:500;color:var(--ui-ink)}
.dw-workspace .ro-facts>.ro-fact-identifier{grid-template-columns:55px minmax(0,1fr);gap:8px}
.dw-workspace .ro-facts>.ro-fact-identifier>dd{font-size:.75rem;text-align:right}
.dw-workspace .ro-context .actions .btn{padding:5px 8px;min-height:30px;font-size:.75rem}
.dw-workspace .ro-order-status{margin-bottom:10px;display:block}
.dw-workspace .ro-order-status select{font-size:.8125rem;margin-top:5px;min-height:32px;width:100%;padding:6px 8px}
.dw-workspace .ro-order-actions{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:8px}
.dw-workspace .ro-order-actions .link{font-size:.75rem}
.dw-workspace .ro-job.card-pad{padding:0}
.dw-workspace .ro-job>.card-title{padding:12px 14px 7px;margin:0;align-items:start;gap:10px}
.dw-workspace .ro-job-heading{display:flex;flex:1;align-items:center;flex-wrap:wrap;gap:5px 9px;min-width:0}
.dw-workspace .ro-job-heading>.eyebrow{font-size:.75rem;letter-spacing:0;color:var(--ui-muted);margin:0}
.dw-workspace .ro-job-heading h2{font-size:1rem;line-height:1.35;order:1}
.dw-workspace .ro-job-heading>.eyebrow{order:0}
.dw-workspace .ro-job-heading>.warranty-label{order:2;margin:0;padding:3px 6px;line-height:1.35;font-size:.75rem;font-weight:500;background:var(--ui-hover);border-radius:5px}
.dw-workspace .ro-job-header-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}
.dw-workspace .ro-job-header-actions>.btn{min-height:28px;padding:4px 8px;font-size:.75rem}
.dw-workspace .ro-job>.ro-job-description{padding:0 14px 9px;font-size:.8125rem;line-height:1.4;margin:0}
.dw-workspace .ro-job .estimate-note{margin:0 14px 10px;font-size:.75rem}
.dw-workspace .ro-job>.table-wrap{border-radius:0}
.dw-workspace #app .ro-line-table{table-layout:fixed;width:100%;margin:0}
.dw-workspace #app .ro-line-table thead th{font-size:.75rem;font-weight:500;padding:6px 10px;background:var(--ui-raised);border-top:1px solid var(--ui-line);border-bottom:1px solid var(--ui-line)}
.dw-workspace #app .ro-line-table td{padding:7px 10px;font-size:.8125rem;border-bottom:1px solid var(--ui-line);line-height:1.35}
.dw-workspace #app .ro-line-table th:first-child,.dw-workspace #app .ro-line-table td:first-child{padding-left:14px}
.dw-workspace #app .ro-line-table tr:last-child td{border-bottom:0}
.dw-workspace .ro-line-table .ro-type-col{width:65px;color:var(--ui-muted)}
.dw-workspace .ro-line-table .ro-qty-col{width:65px}
.dw-workspace .ro-line-table .ro-money-col{width:91px}
.dw-workspace .ro-line-table .ro-edit-col{width:46px}
.dw-workspace #app .ro-line-table .ro-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.dw-workspace .ro-line-table .ro-line-total{font-weight:600}
.dw-workspace .ro-line-table .ro-item-name{font-weight:500}
.dw-workspace .ro-line-table .ro-item-meta{color:var(--ui-muted);font-size:.75rem;display:block;line-height:1.4}
.dw-workspace .ro-line-table .accounting-only{display:none}
.dw-workspace.accounting-on .ro-line-table .accounting-only{display:block}
.dw-workspace .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.dw-workspace #app .ro-line-table .link{padding:0;font-size:.75rem;white-space:nowrap;overflow-wrap:normal}
.dw-workspace .ro-job>.summary-line{padding:7px 14px;border-top:1px solid var(--ui-line)}
.dw-workspace .ro-job .job-bottom{padding:9px 14px;gap:12px;margin:0;border-top:1px solid var(--ui-line);align-items:center;flex-wrap:wrap}
.dw-workspace .ro-job .job-bottom>.btn{min-height:28px;padding:4px 8px;font-size:.75rem}
.dw-workspace .ro-job-meta{display:flex;flex:1;align-items:center;flex-wrap:wrap;gap:4px 12px;font-size:.75rem;color:var(--ui-muted);min-width:0}
.dw-workspace .ro-job-meta strong{font-weight:500;color:var(--ui-ink)}
.dw-workspace .job-total{display:flex;flex-direction:row;align-items:baseline;gap:9px}
.dw-workspace .job-total span{font-size:.75rem}
.dw-workspace .job-total strong{font-size:1rem;line-height:1.3;font-weight:600;margin:0;white-space:nowrap}
.dw-workspace .ro-job .job-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px 15px;margin:0;padding:7px 14px;border-top:1px solid var(--ui-line);background:var(--ui-surface)}
.dw-workspace .job-controls label{display:flex;align-items:center;gap:7px;margin:0;font-size:.75rem}
.dw-workspace .job-controls select{min-height:30px;padding:5px 8px;margin:0;width:auto;font-size:.75rem}
.dw-workspace .job-controls .link{font-size:.75rem;padding:3px 0}
.dw-workspace .ro-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 22px}
.dw-workspace .ro-summary-grid>.summary-line{border-bottom:1px solid var(--ui-line);gap:8px}
.dw-workspace .ro-summary-card>.card-title{margin-bottom:8px}
.dw-workspace .ro-summary-card>.actions{margin-top:12px}
.dw-workspace .ro-empty{padding:30px 20px;min-height:0}
.dw-workspace .service-attention{margin:0 0 14px;padding:9px 12px;border-width:1px;border-radius:7px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 14px;font-size:.8125rem}
.dw-workspace .service-attention>strong{font-weight:600}
.dw-workspace .service-attention>p{font-size:.75rem;flex:1;margin:0;line-height:1.4}
.dw-workspace .service-attention>details{margin:0;min-width:0}
.dw-workspace .service-attention summary{font-size:.8125rem;margin:0;padding:0;font-weight:500}
.dw-workspace .service-attention details[open]{flex:1 1 100%;padding-top:7px;margin-top:4px;border-top:1px solid currentColor}
.dw-workspace .service-attention details[open] summary{margin-bottom:8px}
.dw-workspace .service-attention details .form-grid{margin-top:0;max-width:650px}
.dw-workspace .service-attention details .btn{margin-top:9px}
.dw-workspace .service-attention details [role=alert]:empty{display:none}
.dw-workspace .service-approval-banner{margin:0 0 12px;padding:9px 12px;gap:10px;border-radius:7px;font-size:.8125rem}
.dw-workspace .sales-tabs{width:fit-content;max-width:100%;margin:0 0 14px;padding:3px;gap:2px;border-radius:7px;background:var(--ui-raised)}
.dw-workspace .sales-tabs a{flex:0 0 auto;padding:7px 16px;border-radius:5px;font-size:.8125rem;font-weight:500;line-height:1.4}
.dw-workspace .sales-tabs a.selected{background:var(--ui-surface);color:var(--ui-accent);box-shadow:0 1px 2px #172b4d10}
.dw-workspace .activity-card>.card-title{margin-bottom:12px;gap:10px}
.dw-workspace .activity-card h2,.dw-workspace .tasks-card h2,.dw-workspace .attention-card .card-title h2,.dw-workspace .attention-shop .card-title h2{font-size:1.0625rem}
.dw-workspace .activity-log-label{font-size:.8125rem;margin-bottom:7px}
.dw-workspace .activity-actions{gap:7px;margin-bottom:14px}
.dw-workspace .activity-action{min-height:36px;padding:7px 10px;gap:7px;border-radius:7px;font-size:.875rem;font-weight:500;box-shadow:none;transform:none}
.dw-workspace .activity-action:hover{transform:none}
.dw-workspace .activity-action svg{width:17px;height:17px}
.dw-workspace .activity-row{padding:12px 0;gap:10px}
.dw-workspace .activity-symbol{width:29px;height:29px;border-radius:7px}
.dw-workspace .activity-symbol svg{width:16px;height:16px}
.dw-workspace .activity-row-title{font-size:.875rem;line-height:1.4;gap:9px}
.dw-workspace .activity-meta{font-size:.75rem;margin:2px 0 5px}
.dw-workspace .activity-detail summary,.dw-workspace .activity-detail>p{font-size:.875rem;line-height:1.5}
.dw-workspace .activity-followup-summary{padding:9px 10px;margin-top:9px;border-radius:7px}
.dw-workspace .activity-followup-summary strong,.dw-workspace .activity-followup-summary span{font-size:.8125rem}
.dw-workspace .activity-footer{margin-top:10px;font-size:.75rem}
.dw-workspace .activity-empty{padding:18px 0;font-size:.875rem}
.dw-workspace .activity-toolbar select,.dw-workspace .task-toolbar select,.dw-workspace .task-list-heading select{min-height:34px;font-size:.8125rem}
.dw-workspace .activity-quo-link{margin:0 0 12px}
.dw-workspace .call-outcome-option{padding:18px 12px;gap:8px;border-radius:9px}
.dw-workspace .call-outcome-option strong{font-size:1rem}
.dw-workspace .call-outcome-option svg{width:26px;height:26px}
.dw-workspace .call-followup{padding:14px;border-radius:9px}
.dw-workspace .task-list-heading{margin-top:12px;padding-bottom:8px}
.dw-workspace .tasks-card{container-type:inline-size}
.dw-workspace .task-row{align-items:center;gap:16px;padding:10px 0;min-height:60px}
.dw-workspace .task-title{font-size:.875rem!important;line-height:1.4;padding:0}
.dw-workspace .task-row-meta{font-size:.75rem;line-height:1.4;margin:2px 0 0;gap:4px 8px}
.dw-workspace .task-due{font-size:.8125rem;white-space:nowrap}
.dw-workspace .task-row-actions{align-items:center;flex-direction:row;flex-wrap:wrap;gap:4px;flex-shrink:0}
.dw-workspace .task-row-actions .activity-pin{min-width:30px;min-height:32px;border-radius:7px}
.dw-workspace .task-row-actions .activity-pin svg{width:16px;height:16px}
.dw-workspace .record-quick-actions,.dw-workspace .lead-list-actions{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.dw-workspace .record-quick-action,.dw-workspace .lead-pin{display:inline-flex;align-items:center;justify-content:center;width:30px;min-width:30px;height:32px;min-height:32px;padding:6px;border:0;border-radius:7px;background:transparent;color:var(--ui-muted);cursor:pointer;flex-shrink:0}
.dw-workspace .record-quick-action svg,.dw-workspace .lead-pin svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dw-workspace .record-quick-action:hover,.dw-workspace .lead-pin:hover,.dw-workspace .lead-pin[aria-pressed=true]{background:var(--ui-hover);color:var(--ui-accent)}
.dw-workspace .record-quick-action:focus-visible,.dw-workspace .lead-pin:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}
.dw-workspace .record-quick-action:disabled{opacity:.35;cursor:default;background:transparent}
.dw-workspace .lead-list-actions{justify-content:flex-end}
.dw-workspace[data-route="sales-leads"] #app>.toolbar>select{width:auto;min-width:140px}
.dw-workspace #app .lead-inbox-table td:last-child,.dw-workspace #app .row-actions-heading{text-align:right;width:164px;white-space:nowrap}
.dw-workspace #app .lead-inbox-table td{padding-top:10px;padding-bottom:10px}
.dw-workspace .lead-inbox-table .lead-assignee{min-height:32px;padding:5px 22px 5px 8px;font-size:.8125rem}
.dw-workspace .deal-unit-type{display:flex;align-items:center;gap:7px;font-size:.8125rem;color:var(--ui-muted);white-space:nowrap}
.dw-workspace .deal-unit-type select{min-height:32px;width:auto;padding:5px 24px 5px 8px}
.dw-workspace .deal-number-hint{display:flex;flex-direction:column;justify-content:center;gap:5px;font-size:.875rem}
@container(max-width:700px){
 .dw-workspace .task-row{flex-wrap:wrap;gap:6px 12px}
 .dw-workspace .task-row-main{flex-basis:60%}
 .dw-workspace .task-due{white-space:normal;font-size:.75rem}
 .dw-workspace .task-row-actions{flex:1 1 100%}
 .dw-workspace .task-row-actions .task-complete{margin-right:auto}
}
.dw-workspace .task-complete{width:auto;height:auto;min-width:128px;min-height:32px;margin:0;padding:6px 9px;border:1px solid var(--ui-line);border-radius:7px;background:var(--ui-surface);color:var(--ui-accent);gap:6px}
.dw-workspace .task-complete svg{width:16px;height:16px;flex-shrink:0}
.dw-workspace .task-complete:hover{background:var(--ui-hover);border-color:var(--ui-accent)}
.dw-workspace .task-completed .task-complete{color:var(--ui-muted)}
.dw-workspace .lead-card-fields{gap:10px;margin-top:12px;padding-top:12px}
.dw-workspace .lead-card-info{font-size:.875rem}
.dw-workspace .customer-contact-block{margin-top:10px}
.dw-workspace .lead-contact-card .customer-address{margin-top:10px}
.dw-workspace .conversation-toolbar{gap:10px;margin-bottom:10px}
.dw-workspace .conversation-meta{font-size:.8125rem}
.dw-workspace .conversation-preview{font-size:.875rem;line-height:1.4;margin:5px 0}
.dw-workspace .conversation-footer{margin-top:10px}
.dw-workspace .attention-dashboard-grid{gap:16px}
.dw-workspace .attention-shop .row{min-height:74px}
.dw-workspace .attention-shop .stats{padding-top:14px}
.dw-workspace .attention-row{padding:10px 0;gap:10px}
.dw-workspace .attention-copy h3{font-size:.875rem}
.dw-workspace .attention-copy p{font-size:.8125rem}
.dw-workspace .attention-row-actions .btn{min-height:32px;padding:6px 9px}
.dw-workspace .quo-event{padding:12px 14px;border-radius:9px}
.dw-workspace .sales-customer-results{top:100%;margin-top:5px;border-radius:8px}
.dw-workspace .sales-customer-results button{min-height:50px;padding:9px 11px}
.dw-workspace .ro-unit-extra summary{cursor:pointer;font-size:.75rem}

@media(min-width:1600px){.dw-workspace .ro-layout{grid-template-columns:280px minmax(0,1fr)}.dw-workspace .ro-line-table .ro-money-col{width:120px}}
@media(max-width:1150px){
 .dw-workspace .workspace-navigation{padding:0 18px;gap:15px}
 .dw-workspace .workspace-navigation>.brand,.dw-workspace .workspace-navigation>.brand>.dms-logo{width:146px;flex-basis:146px}
 .dw-workspace #nav{gap:1px}
 .dw-workspace #nav>a{font-size:.8125rem;padding:0 9px}
 .dw-workspace .sidebar-bottom>.settings-button>span:last-child{display:none}
 .dw-workspace .shell>header{padding-left:18px;padding-right:18px}
 .dw-workspace main#app{padding-left:18px;padding-right:18px}
 .dw-workspace .customer-directory-table .customer-name-col{width:25%}
 .dw-workspace .customer-directory-table .customer-boat-col{width:23%}
 .dw-workspace .customer-directory-table .customer-action-col{width:278px}
 .dw-workspace .ro-layout{grid-template-columns:230px minmax(0,1fr);gap:12px}
 .dw-workspace .ro-context>.card{padding:12px}
 .dw-workspace .ro-job-header-actions{flex-wrap:wrap;justify-content:flex-end}
 .dw-workspace .ro-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dw-workspace .ro-line-table .ro-money-col{width:79px}
 .dw-workspace .ro-line-table .ro-qty-col{width:57px}
 .dw-workspace .ro-line-table .ro-type-col{width:55px}
}
@media(max-width:900px){
 .dw-workspace .workspace-navigation{flex-wrap:wrap;gap:0 12px;min-height:52px;padding-top:10px}
 .dw-workspace .workspace-navigation>.brand{margin-right:auto}
 .dw-workspace .sidebar-bottom{margin-left:auto}
 .dw-workspace #nav{flex:1 1 100%;order:3;min-height:40px;margin-top:5px;justify-content:space-between}
 .dw-workspace #nav>a{min-height:40px;padding:0 10px}
 .dw-workspace .sidebar-bottom>.settings-button>span:last-child{display:inline}
 .dw-workspace .customer-directory-table{min-width:850px}
 .dw-workspace .detail-layout,.dw-workspace .customer-profile-layout{grid-template-columns:minmax(0,1fr) 280px}
 .dw-workspace .register-layout{grid-template-columns:1fr}
 .dw-workspace .register-cart{position:static}
 .dw-workspace .ro-layout{grid-template-columns:210px minmax(0,1fr)}
 .dw-workspace .ro-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dw-workspace .ro-quick-actions button{display:flex;align-items:center;justify-content:center;min-height:34px;gap:5px}
 .dw-workspace .ro-line-table .ro-type-col{display:none}
 .dw-workspace .ro-line-table .ro-edit-col{width:46px}
 .dw-workspace .ro-job>.card-title{flex-wrap:wrap;gap:5px}
 .dw-workspace .ro-job-header-actions{margin-left:auto}
 .dw-workspace .ro-job .job-bottom{gap:7px 12px}
 .dw-workspace .ro-job-meta{flex:1 1 150px}
 .dw-workspace .crm-board .lane-head{font-size:.75rem}
 .dw-workspace .crm-board .job-card{padding:8px}
}
@media(max-width:680px){
 .dw-workspace .workspace-navigation{min-height:54px;padding:9px 14px;gap:10px}
 .dw-workspace .workspace-navigation>.brand,.dw-workspace .workspace-navigation>.brand>.dms-logo{width:142px;flex-basis:142px}
 .dw-workspace #workspace-menu-toggle{display:inline-flex;min-height:34px;margin-left:4px;font-size:.8125rem;padding:6px 9px}
 .dw-workspace #nav{display:none;margin-top:1px;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;flex-basis:100%;order:4;border-top:1px solid var(--ui-line);padding-top:9px}
 .dw-workspace .navigation-open #nav{display:grid}
 .dw-workspace #nav>a{justify-content:flex-start;padding:10px 12px;min-height:42px;border-radius:6px;gap:10px}
 .dw-workspace #nav>a>svg{display:block;width:17px;height:17px}
 .dw-workspace #nav>a.active{background:var(--ui-hover)}
 .dw-workspace #nav>a.active:after{display:none}
 .dw-workspace .sidebar-bottom>.settings-button>span:last-child{display:none}
 .dw-workspace .sidebar-bottom>.settings-button{width:34px;justify-content:center;padding:5px}
 .dw-workspace .shell>header{min-height:40px;padding:5px 12px;gap:4px 7px}
 .dw-workspace #breadcrumb{font-size:.75rem;flex:1 1 140px}
 .dw-workspace .header-right{margin-left:auto;gap:8px;flex-wrap:wrap}
 .dw-workspace .header-right .accounting-toggle{font-size:.6875rem}
 .dw-workspace .header-right .sample:has(#save-state){max-width:105px}
 .dw-workspace .header-right #save-state{font-size:.6875rem;white-space:normal;line-height:1.3}
 .dw-workspace main#app{padding:10px 12px 24px}
 .dw-workspace h1{font-size:1.375rem}
 .dw-workspace #app .page-head{gap:9px;margin-bottom:14px}
 .dw-workspace #app .page-head>div:first-child{flex-basis:100%}
 .dw-workspace #app .page-head>.actions{width:100%}
 .dw-workspace .page-head .btn{font-size:.8125rem;padding:7px 10px}
 .dw-workspace .toolbar{flex-direction:row;flex-wrap:wrap;gap:9px}
 .dw-workspace .toolbar .search{flex-basis:100%;max-width:none;width:100%}
 .dw-workspace .toolbar .segmented{max-width:100%;width:auto}
 .dw-workspace .segmented button{padding:6px 9px}
 .dw-workspace .detail-layout,.dw-workspace .customer-profile-layout,.dw-workspace .ro-layout{grid-template-columns:minmax(0,1fr)}
 .dw-workspace .ro-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 .dw-workspace .ro-context>.card{height:100%;min-width:0;border-bottom:1px solid var(--ui-line)}
 .dw-workspace .ro-context>.card:first-child{border-right:1px solid var(--ui-line)}
 .dw-workspace .ro-context>.ro-order-card,.dw-workspace .ro-context>.ro-request-card{grid-column:1/-1}
 .dw-workspace .ro-order-card .ro-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
 .dw-workspace .ro-facts>div{flex-wrap:wrap;gap:2px 6px}
 .dw-workspace .ro-facts dd{text-align:left;max-width:100%;overflow-wrap:anywhere}
 .dw-workspace .ro-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dw-workspace .ro-quick-actions button{display:flex;flex-direction:row;justify-content:center;gap:4px;min-height:34px}
 .dw-workspace .ro-quick-actions span{font-size:.6875rem;white-space:nowrap}
 .dw-workspace .ro-line-table .ro-type-col{display:table-cell}
 .dw-workspace .ro-job>.card-title{flex-wrap:wrap;padding:11px 12px 7px}
 .dw-workspace .ro-job-heading h2{font-size:.9375rem}
 .dw-workspace .ro-job>.ro-job-description{padding-left:12px;padding-right:12px}
 .dw-workspace .ro-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
 .dw-workspace .ro-summary-grid>.summary-line{font-size:.75rem;flex-wrap:wrap}
 .dw-workspace .ro-job .job-controls{gap:6px 12px}
 .dw-workspace .ro-job .job-bottom{padding:9px 12px}
 .dw-workspace .job-total{margin-left:auto}
 .dw-workspace .service-attention{gap:5px 10px;padding:9px 11px}
 .dw-workspace .service-attention>p{display:none}
 .dw-workspace .service-attention>details{flex:0 1 auto}
 .dw-workspace .service-attention>details[open]{flex:1 1 100%}
 .dw-workspace .card-pad{padding:14px}
 .dw-workspace .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .dw-workspace .quick{padding:13px}
 .dw-workspace .grid{grid-template-columns:1fr}
 .dw-workspace #app .service-table td,.dw-workspace #app .crm-table td,.dw-workspace #app .history-table td{padding:0}
 .dw-workspace #app .service-table tbody tr,.dw-workspace #app .crm-table tbody tr,.dw-workspace #app .history-table tbody tr{padding:12px;gap:10px}
 .dw-workspace #app .inventory-table td,.dw-workspace #app .inventory-table th{padding:0}
 .dw-workspace #app .inventory-table tbody tr{padding:12px;gap:8px 12px}
 .dw-workspace .directory-bulk{gap:7px}
 .dw-workspace .directory-bulk strong{flex:1 1 100%}
 /* Keep stages in one row on phones with readable cards and local horizontal scrolling. */
 .dw-workspace .crm-board,.dw-workspace .service-board{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:190px;gap:10px;overflow-x:auto;padding-bottom:10px;overscroll-behavior-x:contain}
 .dw-workspace .crm-board .lane{padding:0 9px 9px;height:max(440px,calc(100dvh - 330px))}
 .dw-workspace .crm-board .lane-head{min-height:56px}
 .dw-workspace .crm-board .lane-head>span:first-child{flex-basis:80px}
 .dw-workspace .crm-board .job-card{height:218px;padding:10px}
 .dw-workspace .crm-board .job-card .avatar{display:grid}
 .dw-workspace #modal{width:calc(100vw - 18px);max-width:calc(100vw - 18px);max-height:calc(100dvh - 18px);border-radius:10px}
 .dw-workspace #modal .modal-head{padding:12px;gap:7px}
 .dw-workspace #modal .modal-body{padding:14px}
 .dw-workspace #modal .modal-foot,.dw-workspace #modal .modal-footer{padding:11px 14px;flex-wrap:wrap}
 .dw-workspace #modal .modal-head h2{font-size:1rem}
 .dw-workspace #modal .job-type-options{grid-template-columns:1fr}
 .dw-workspace #modal .selection-card{min-height:90px}
 .dw-workspace .settings-tool-grid{grid-template-columns:1fr}
 .dw-workspace .settings-tool{min-height:64px}
 .dw-workspace .task-row{flex-wrap:wrap;gap:8px}
 .dw-workspace .task-row-actions{flex:1 1 100%}
 .dw-workspace .task-row-actions .task-complete{margin-right:auto}
}
@media(max-width:460px){
 .dw-workspace .ro-line-table .ro-type-col{display:none}
 .dw-workspace .ro-line-table .ro-qty-col{width:43px}
 .dw-workspace .ro-line-table .ro-money-col{width:65px}
 .dw-workspace .ro-line-table .ro-edit-col{width:34px}
 .dw-workspace #app .ro-line-table th,.dw-workspace #app .ro-line-table td{padding:7px 5px;font-size:.75rem}
 .dw-workspace #app .ro-line-table th:first-child,.dw-workspace #app .ro-line-table td:first-child{padding-left:10px}
 .dw-workspace .ro-line-table .ro-item-meta{font-size:.75rem}
 .dw-workspace .ro-job-heading{flex-basis:100%}
 .dw-workspace .ro-summary-grid{grid-template-columns:1fr}
 .dw-workspace .ro-context{grid-template-columns:1fr}
 .dw-workspace .ro-context>.card:first-child{border-right:0}
 .dw-workspace .ro-quick-actions{grid-template-columns:repeat(4,minmax(0,1fr))}
 .dw-workspace .ro-facts>div{flex-wrap:nowrap}
 .dw-workspace .ro-order-card .ro-facts{grid-template-columns:1fr}
 .dw-workspace .ro-facts dd{text-align:right}
}
@media(pointer:coarse){
 .dw-workspace .btn,.dw-workspace .segmented button,.dw-workspace .stage-tabs button,.dw-workspace #app table .btn{min-height:44px}
 .dw-workspace .ro-quick-actions button{min-height:44px}
 .dw-workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){font-size:1rem;min-height:44px}
 .dw-workspace #app .ro-line-table .link{display:inline-flex;align-items:center;min-height:38px}
 .dw-workspace .job-controls .link{min-height:38px;display:inline-flex;align-items:center}
}
@media print{.dw-workspace .workspace-navigation,.dw-workspace .shell>header{display:none}.dw-workspace main#app{padding:0}.dw-workspace .table-wrap{overflow:visible}}

.manufacture-list-summary,.manufacture-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0 12px;color:var(--muted,#687785);font-size:13px;font-variant-numeric:tabular-nums}.manufacture-pagination{border-top:1px solid var(--line,#e4e8ed);padding-bottom:0}.manufacture-item-row .row-main{min-width:0}.manufacture-item-row .row-main strong{overflow-wrap:anywhere}.manufacture-item-row .inventory-item-price{min-width:100px;text-align:right;font-variant-numeric:tabular-nums}.manufacture-import-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.manufacture-import-facts>div{display:flex;flex-direction:column;gap:4px}.manufacture-import-facts strong{font-size:24px;font-variant-numeric:tabular-nums}.manufacture-import-facts span{font-size:13px;color:var(--muted,#687785)}@media(max-width:600px){.manufacture-item-row{grid-template-columns:minmax(0,1fr) auto!important}.manufacture-item-row>.item-monogram{display:none}.manufacture-item-row>.btn{grid-column:1/-1;justify-self:end}.manufacture-pagination{flex-wrap:wrap}}

/* Approved compact wave logo. The SVG frames the original transparent PNG. */
.dms-logo{aspect-ratio:2152/269;flex-shrink:0}
[data-theme=dark] .dms-logo{background:#fff;border-radius:4px;box-shadow:0 0 0 4px #fff}
