*{box-sizing:border-box}body{margin:0;background:#f4f6f9;color:#233247;font:14px 'Segoe UI','Microsoft YaHei',sans-serif}aside{position:fixed;inset:0 auto 0 0;width:224px;background:#142d42;color:white;padding:34px 20px;display:flex;flex-direction:column}.brand{font-size:30px;font-weight:800;letter-spacing:1px;padding:0 12px 36px}.brand span{display:block;font-size:10px;letter-spacing:3px;color:#9fb6c8;margin-top:8px}nav button{display:block;width:100%;text-align:left;color:#b8c9d5;background:none;border:0;padding:13px 16px;margin:5px 0;border-radius:7px;font-size:14px}nav button.active{background:#24536d;color:white}.sidefoot{margin-top:auto;padding:16px 12px;line-height:1.9;color:#b8c9d5}.sidefoot small{color:#809bac}main{margin-left:224px}header{height:72px;background:white;border-bottom:1px solid #e3e8ee;display:flex;align-items:center;justify-content:space-between;padding:0 36px;color:#617084}.user{display:flex;align-items:center;gap:14px}.user b{background:#e5eef5;padding:10px;border-radius:50%;color:#24536d}.demo{background:#fff6dc;padding:10px 36px;color:#8b6a21;font-size:12px}section{padding:32px 36px;max-width:1600px;margin:auto}h1{font-size:27px;letter-spacing:-.5px;margin:0 0 8px}h2{font-size:17px;margin:0}p{color:#718095;line-height:1.7}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}button{cursor:pointer;font:inherit;border:1px solid #dce3eb;border-radius:6px;background:white;padding:9px 15px;color:#34465b}button:hover{filter:brightness(.96)}button.primary{background:#176b79;border-color:#176b79;color:white}button.link{border:0;background:none;color:#116a7a;padding:5px}button:disabled{opacity:.45;cursor:default}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:26px}.card,.panel{background:white;border:1px solid #e3e8ef;border-radius:10px;padding:24px}.card{cursor:pointer}.card small{color:#758397}.card strong{display:block;font-size:34px;margin:12px 0 6px}.card span{font-size:12px;color:#8290a2}.panel{margin-bottom:20px;padding:0;overflow:hidden}.paneltitle{padding:20px 23px;border-bottom:1px solid #e8edf2;display:flex;justify-content:space-between;align-items:center}.toolbar{display:flex;gap:12px;padding:18px 22px;border-bottom:1px solid #e8edf2}input,select,textarea{font:inherit;border:1px solid #d8e0e9;border-radius:5px;background:white;color:#233247;padding:10px;width:100%}input:focus,select:focus,textarea:focus{outline:2px solid #93c6cc;outline-offset:1px}.toolbar input{max-width:360px}table{width:100%;border-collapse:collapse;text-align:left}th{background:#f8fafc;color:#7b899a;font-size:12px;font-weight:500}th,td{padding:16px 21px;border-bottom:1px solid #edf0f4}td small{display:block;color:#8591a1;margin-top:5px}tbody tr:last-child td{border:0}.badge{padding:5px 9px;border-radius:5px;font-size:12px;white-space:nowrap;background:#edf1f6;color:#627289}.badge.green{background:#e8f5ee;color:#267c51}.badge.blue{background:#e8f1fb;color:#386b9b}.badge.amber{background:#fff3da;color:#a27626}.empty{padding:50px;text-align:center;color:#8994a2}.formgrid{padding:23px;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.formgrid label,dialog label{display:block;font-size:12px;color:#6e7c8e}.formgrid input,.formgrid select,dialog input{margin-top:7px}.wide{grid-column:1/-1}td input,td textarea,td select{min-width:65px;padding:7px}td textarea{min-width:210px;resize:vertical}.totals{padding:22px;margin-left:auto;width:340px}.totals div{display:flex;justify-content:space-between;padding:8px 0}.totals .grand{font-size:20px;color:#176b79;border-top:1px solid #e1e8ee;margin-top:8px;padding-top:15px}.footactions{display:flex;justify-content:flex-end;gap:10px;padding:20px 0}.notice{padding:16px 22px;background:#eef5f8;color:#557280;line-height:1.7}dialog{border:0;border-radius:12px;padding:30px;width:min(680px,95vw);max-height:90vh;box-shadow:0 20px 90px #142d4240}dialog::backdrop{background:#142d4266}dialog h2{margin-bottom:22px}dialog label{margin-bottom:16px}dialog .actions{justify-content:flex-end;margin-top:24px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#173d4a;color:white;border-radius:8px;padding:13px 24px;display:none}.paper{font-family:Arial,sans-serif;color:#111;padding:20px}.paper h1{color:#176b79}.paper h2{text-align:center;font-size:25px;margin:30px}.paper table{margin-top:25px}.paper th,.paper td{padding:12px 8px}.paper p{color:#333}.paper .sign{margin-top:65px;display:flex;justify-content:space-between}.documentdialog{width:850px}.muted{color:#8b98a8;font-size:12px}@media(max-width:1000px){aside{width:180px;padding:24px 12px}main{margin-left:180px}section{padding:24px 18px}.cards{gap:10px}th,td{padding:12px}.formgrid{grid-template-columns:repeat(2,1fr)}.panel{overflow-x:auto}}@media print{body>*{display:none!important}dialog[open]{display:block!important;position:static;width:100%;max-height:none;box-shadow:none;padding:0}dialog .actions{display:none!important}.paper{padding:0}.paper table{font-size:12px}tr{break-inside:avoid}@page{size:A4;margin:15mm}}
a{color:#176b79;text-decoration:none}nav a{display:block;color:#b8c9d5;padding:13px 16px;border-radius:7px;margin:5px 0}nav a.active{background:#24536d;color:white}.button{display:inline-block;border:1px solid #dce3eb;border-radius:6px;background:white;padding:9px 15px;color:#34465b;font:inherit}.button.primary{background:#176b79;color:white;border-color:#176b79}.logout{margin-top:auto}.logout button{width:100%;background:transparent;color:#c1d2df}.success,.error{padding:15px 20px;border-radius:7px;margin-bottom:20px}.success{background:#e8f5ee;color:#267c51}.error{background:#fceaea;color:#a63030}.formfooter,.pagination{padding:20px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e8edf2}.formfooter{justify-content:flex-end;gap:12px}.formgrid textarea,.formgrid select{margin-top:7px}.toolbar select{width:140px}.tablewrap{overflow:auto}.contactrow{display:flex;gap:10px;margin-bottom:12px}.contactrow input{min-width:0}.login{width:min(440px,95vw);background:white;border:1px solid #e3e8ef;border-radius:12px;padding:35px;margin:10vh auto}.login .brand{color:#176b79;padding:0 0 30px}.login label{display:block;margin:20px 0;color:#718095}.login input{margin-top:8px}.login button{width:100%}.cards{grid-template-columns:repeat(2,1fr)}td{max-width:340px;overflow-wrap:anywhere}.card{color:#233247}
fieldset{border:0;margin:0;padding:0;min-width:0}fieldset:disabled{opacity:.85}.inline{display:inline-block;margin:0}.spaced{margin-top:20px;margin-bottom:20px}.padded{padding:22px}.padded label{display:block;margin:12px 0;color:#617084}.padded label input,.padded label textarea{margin-top:8px}summary{padding:20px;cursor:pointer;font-weight:600}.check{display:flex!important;align-items:center;gap:10px}.check input{width:auto;margin:0}.productpicker{display:flex;gap:12px;padding:20px}.productpicker input{width:40%}.productpicker select{width:40%}.overdue{color:#b44535}.businesscards{grid-template-columns:repeat(3,1fr)}.formgrid label{min-width:0}#quote-lines-body td:first-child{width:45%}#quote-lines-body input{min-width:65px;margin:3px 0}#quote-lines-body textarea{width:100%}.actions{margin:18px 0}.badge{display:inline-block;margin:3px 0}details.panel{overflow:visible}.toolbar{flex-wrap:wrap}.toolbar button,.toolbar .button{white-space:nowrap}header span{font-size:12px;color:#718095}header{gap:20px}.button:hover,a:hover{filter:brightness(.93)}.paneltitle{gap:15px}.formgrid textarea{resize:vertical}.notice{margin-bottom:20px}@media(max-width:800px){aside{width:150px}main{margin-left:150px}.formgrid,.businesscards{grid-template-columns:1fr}.heading{gap:12px;align-items:flex-start}.heading h1{font-size:22px}.contactrow{flex-wrap:wrap}.productpicker{flex-wrap:wrap}.productpicker input,.productpicker select{width:100%}header{padding:12px;height:auto;flex-wrap:wrap}.toolbar input{max-width:none}}
.toolbar .search-field{width:220px;flex:0 0 220px}.toolbar input[name=q]{flex:1;min-width:220px;max-width:420px}.category-tag{display:inline-block;background:#edf4f8;color:#47718a;border:1px solid #dce8ef;padding:5px 9px;border-radius:5px;font-size:12px}.settings-tabs{display:flex;gap:7px;border-bottom:1px solid #d9e2ea;margin:8px 0 0;padding:0 8px;overflow:auto}.settings-tabs .settings-tab{display:inline-flex;align-items:center;justify-content:center;padding:16px 28px;margin:0 0 -1px;border:1px solid #d9e2ea;background:#eaf0f5;color:#738194;border-radius:10px 10px 0 0;white-space:nowrap;font-weight:500}.settings-tabs .settings-tab.active{background:#fff;color:#176b79;border-top:3px solid #176b79;border-bottom-color:#fff;padding-top:14px;font-weight:700;box-shadow:0 -3px 10px #18394e05}.settings-content{background:#fff;border:1px solid #d9e2ea;border-top:0;border-radius:0 0 12px 12px;padding:28px;margin-bottom:25px}.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.settings-card{background:#fff;border:1px solid #e3eaf0;border-radius:10px;padding:24px;min-width:0;box-shadow:0 3px 12px #1f3a4f03}.settings-card-heading{border-bottom:1px solid #edf1f5;margin-bottom:22px;padding-bottom:12px}.settings-card h2{color:#2d4356;font-size:17px}.settings-card p{font-size:12px;margin:8px 0;color:#8a98a8;line-height:1.7}.settings-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.settings-fields label{display:block;color:#6e7c8e;font-size:12px;min-width:0}.settings-fields input,.settings-fields select,.settings-fields textarea{margin-top:8px;padding:11px 12px}.settings-fields textarea{resize:vertical;min-height:92px;line-height:1.7}.settings-fields textarea[name=terms]{min-height:190px}.span-full{grid-column:1/-1}.settings-save{display:flex;justify-content:space-between;align-items:center;margin-top:28px;padding-top:22px;border-top:1px solid #e8eef3}.settings-save>span{color:#8a98a8;font-size:12px}.settings-save button{padding:11px 26px}.settings-card .check{font-size:13px;color:#52697b;margin-top:18px;line-height:1.6}.settings-card .check input{width:16px;height:16px;flex-shrink:0}.settings-tabs~.panel{margin-top:22px}.tablewrap table{min-width:850px}td:empty::after{content:'—';color:#a0acb8}@media(max-width:1050px){.settings-layout{grid-template-columns:1fr}.settings-fields{grid-template-columns:1fr}.settings-tabs .settings-tab{padding:14px 20px}.settings-tabs .settings-tab.active{padding-top:12px}.toolbar .search-field{flex:1;width:auto;min-width:180px}}input[readonly]{background:#f6f8fb;color:#64778a}
.settings-tabs{overflow-x:auto;overflow-y:hidden}.settings-fields label:has(input[name="company_name"]){grid-column:1/-1}

/* LATECH云: compact application navigation */
nav a{display:flex;align-items:center;gap:12px;min-height:46px}nav .nav-icon{width:21px;height:21px;flex:none;filter:brightness(0) invert(84%) sepia(8%) saturate(466%) hue-rotate(166deg)}nav a.active .nav-icon{filter:brightness(0) invert(1)}.brand{font-size:28px;letter-spacing:0;white-space:nowrap;padding-bottom:28px}main>section{padding-top:28px}

.product-nav summary{display:flex;align-items:center;gap:12px;padding:13px 16px;margin:5px 0;color:#b8c9d5;cursor:pointer;border-radius:7px;list-style:none}.product-nav summary::-webkit-details-marker{display:none}.product-nav[open] summary{color:#fff}.nav-chevron{margin-left:auto}.product-subnav{padding:0 0 6px 32px}.product-subnav a{padding:10px 16px;font-size:13px;min-height:38px}.category-editor{display:flex;gap:14px;align-items:flex-end;padding:22px}.category-editor label{flex:1;max-width:480px;color:#6e7c8e}.category-editor input{margin-top:8px}.customer-code,.customer-phone{white-space:nowrap}aside>nav{overflow-y:auto;min-height:0;flex:1}aside .logout{padding-top:14px;flex-shrink:0}
.product-nav summary{position:relative;padding-right:0;min-height:48px}.nav-toggle{display:flex;align-items:center;justify-content:center;margin-left:auto;width:44px;height:44px;flex:0 0 44px;border-radius:7px;background:#ffffff0a;font-size:28px;font-weight:400;line-height:1}.nav-toggle::before{content:'+'}.product-nav[open] .nav-toggle::before{content:'−'}.product-nav summary:hover .nav-toggle{background:#ffffff18}.product-nav summary:focus-visible{outline:2px solid #93c6cc;outline-offset:2px}.product-subnav{padding-left:16px}.product-subnav a{gap:10px}.product-subnav .nav-icon{width:19px;height:19px}

.category-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.category-list{min-width:0;margin-bottom:0}.category-list table{table-layout:fixed;font-size:14px}.category-list .category-position{width:60px}.category-list .category-count{width:90px}.category-list .category-operations{width:244px}.category-list th,.category-list td{padding:12px 10px;height:clamp(47.6px,calc((100dvh - 350px)*0.085),76.5px);overflow-wrap:anywhere}.category-list th{height:40px;font-size:12px}.category-list td:first-child,.category-list td:nth-child(3){color:#718095;text-align:center}.category-list .actions{margin:0;gap:8px;flex-wrap:nowrap}.category-list .button,.category-list button{font-size:13px;line-height:20px;padding:8px 10px;min-height:38px;border-radius:6px;white-space:nowrap}.category-list .inline{flex:none}.category-editor{padding:14px 20px;margin-bottom:18px}.category-editor input{margin-top:5px}@media(max-width:1050px){.category-columns{grid-template-columns:1fr}.category-list{max-width:100%}}


.category-list th:first-child,.category-list td:first-child{white-space:nowrap;overflow-wrap:normal;text-align:center}

.category-name-input{width:100%;padding:8px 9px;font:inherit}.category-name-input[hidden]{display:none}.category-row.is-editing{background:#f0f8fa}.category-row{scroll-margin-top:24px}


.category-heading{display:grid;grid-template-columns:minmax(300px,1fr) minmax(330px,520px) auto;gap:24px;align-items:center;margin-bottom:24px}.category-heading>div{min-width:0}.category-heading p{margin-bottom:0}.category-heading .category-editor{width:100%;margin:0;padding:12px 16px;gap:12px}.category-heading .category-editor label{min-width:0;font-size:12px}.category-heading .category-editor button,.category-products-link{white-space:nowrap}.category-heading .category-editor input{padding:9px 10px}@media(max-width:1250px){.category-heading{grid-template-columns:1fr auto}.category-heading .category-editor{grid-row:2;grid-column:1/-1;max-width:520px}.category-products-link{grid-row:1;grid-column:2}}


.catalog-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:960px;margin-bottom:24px}.catalog-summary-card{background:#fff;border:1px solid #dce5ed;border-radius:10px;padding:16px 20px;border-top:3px solid #176b79}.catalog-summary-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px;color:#61778a}.catalog-summary-title strong{font-size:25px;color:#233e53;font-weight:650;margin-right:5px}.catalog-add-category{display:flex;align-items:center;gap:10px}.catalog-add-category input{flex:1;min-width:0}.catalog-add-category button{white-space:nowrap}.catalog-manage-products{display:flex;align-items:center;justify-content:space-between;min-height:40px;max-width:220px}.catalog-summary+.category-columns .category-list td{height:clamp(47.6px,calc((100dvh - 350px)*0.085),76.5px)}@media(max-width:850px){.catalog-summary{grid-template-columns:1fr}.catalog-summary-card{padding:14px 16px}}


.catalog-summary{max-width:none;width:100%}.catalog-summary-title{justify-content:flex-start;gap:10px}.catalog-summary-title>span:first-child{color:#425e70;font-size:15px}.catalog-summary-title strong{font-size:25px}.flash-notification{position:fixed;right:28px;bottom:28px;z-index:1000;display:flex;align-items:center;gap:20px;max-width:min(520px,calc(100vw - 40px));margin:0;padding:16px 18px 16px 22px;background:#b8dfc5;color:#164d2c;border:1px solid #75b88e;box-shadow:0 6px 22px #173e2926;font-weight:500;line-height:1.6}.flash-notification .flash-close{flex:none;background:transparent;border:0;padding:3px 8px;color:#164d2c;font-size:23px;line-height:24px}.flash-notification .flash-close:hover{background:#96cfa8}@media(max-width:800px){.flash-notification{right:16px;bottom:16px}}@media print{.flash-notification{display:none!important}}


/* Global notification: centered above the page without taking layout space. */
.flash-notification{top:14px;bottom:auto;left:calc(50% + 112px);right:auto;transform:translateX(-50%);width:min(660px,calc(100vw - 280px));max-width:none;min-height:40px;padding:6px 12px 6px 20px;gap:16px;border-radius:7px;font-size:13px;line-height:1.5}.flash-notification>span{flex:1;min-width:0}.flash-notification .flash-close{padding:2px 7px;font-size:21px;line-height:24px}@media(max-width:1000px){.flash-notification{left:calc(50% + 90px);width:calc(100vw - 220px)}}@media(max-width:800px){.flash-notification{top:10px;left:calc(50% + 75px);right:auto;bottom:auto;width:calc(100vw - 180px)}}


.flash-notification{justify-content:center;padding-left:44px;padding-right:44px}.flash-notification>span{text-align:center}.flash-notification .flash-close{position:absolute;right:10px;top:50%;transform:translateY(-50%)}


.product-editor-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}.product-editor-card{background:#fff;border:1px solid #e0e7ee;border-radius:10px;padding:24px;min-width:0}.product-editor-card-title{padding-bottom:15px;margin-bottom:20px;border-bottom:1px solid #edf1f5}.product-editor-card-title h2{font-size:17px;color:#2d4659}.product-editor-card label{display:block;min-width:0;font-size:13px;color:#64788b;margin-bottom:18px}.product-editor-card input,.product-editor-card select,.product-editor-card textarea{margin-top:8px;padding:11px 12px}.product-identifiers{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.product-pricing{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr) minmax(0,.8fr);gap:16px}.product-editor-card textarea{resize:vertical;line-height:1.65}.product-description textarea,.product-supplier-details textarea{min-height:260px}.product-status{max-width:240px}.product-save-actions{display:flex;align-items:center;gap:12px;margin-top:26px}.product-save-actions button,.product-save-actions .button{padding:11px 24px}@media(max-width:1100px){.product-editor-columns{grid-template-columns:1fr}.product-editor-card{padding:20px}}@media(max-width:600px){.product-identifiers,.product-pricing{grid-template-columns:1fr}.product-description textarea,.product-supplier-details textarea{min-height:200px}}


.product-editor-card .product-description{margin-bottom:18px}.product-editor-card .product-description>label{margin-bottom:8px}.description-toolbar{display:flex;gap:6px;flex-wrap:wrap;padding:8px;background:#f5f8fa;border:1px solid #d8e0e9;border-bottom:0;border-radius:6px 6px 0 0}.description-toolbar button{font-size:12px;padding:5px 10px;background:white}.product-editor-card .product-description textarea{margin-top:0;border-radius:0 0 5px 5px;white-space:pre-wrap;tab-size:4}


.product-record-list .product-action{padding:10px 15px;min-height:40px;white-space:nowrap;font-size:13px}.product-record-list th,.product-record-list td{padding:14px 15px}.danger{color:#a33c3c;border-color:#e8caca}.product-subnav a{padding-left:10px;padding-right:8px}.product-subnav a span{white-space:nowrap}


.product-record-list{min-width:1060px!important}.product-record-list th,.product-record-list td:first-child,.product-record-list td:nth-child(4),.product-record-list td:nth-child(5){white-space:nowrap}


.dashboard-shortcuts{margin-bottom:32px}.dashboard-shortcuts>h2{text-align:center;font-size:22px;font-weight:500;color:#324d5e;margin:8px 0 24px}.dashboard-shortcut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.dashboard-shortcut{display:flex;align-items:center;justify-content:center;gap:16px;min-height:150px;padding:25px;background:#e6f3ec;border:1px solid #cce3d7;border-radius:10px;color:#205b52;font-size:24px;font-weight:500;transition:background .15s,box-shadow .15s}.dashboard-shortcut img{width:32px;height:32px;opacity:.7}.dashboard-shortcut:hover{background:#d9eddf;box-shadow:0 4px 16px #214b3810}.dashboard-shortcut:focus-visible{outline:3px solid #176b79;outline-offset:3px}@media(max-width:1000px){.dashboard-shortcut{font-size:20px;min-height:130px;padding:18px;gap:10px}.dashboard-shortcut img{width:26px;height:26px}}@media(max-width:700px){.dashboard-shortcut-grid{grid-template-columns:1fr}.dashboard-shortcut{min-height:100px}}


.flash-notification.flash-error{background:#f2c6c6;color:#842323;border-color:#d99898;box-shadow:0 6px 22px #74262620}.flash-notification.flash-error .flash-close{color:#842323}.flash-notification.flash-error .flash-close:hover{background:#e9b0b0}.login .flash-notification{left:50%;width:min(660px,calc(100vw - 40px))}


.customer-record-list{min-width:1250px!important}.customer-record-list .customer-action{padding:10px 15px;min-height:40px;white-space:nowrap;font-size:13px}.customer-record-list th,.customer-record-list td{padding:14px 15px}.customer-record-list th,.customer-record-list td:first-child,.customer-record-list td:nth-child(5){white-space:nowrap}


.confirmation-dialog{position:fixed;inset:0;margin:auto;width:min(480px,calc(100vw - 40px));max-height:calc(100dvh - 48px);padding:28px;border:1px solid #dce5eb;border-radius:12px;box-shadow:0 20px 70px #142d4238;color:#233247}.confirmation-dialog::backdrop{background:#142d425c}.confirmation-dialog #confirmation-message{margin:0;font-size:15px;color:#31485b;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.confirmation-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:26px}.confirmation-actions button{min-width:88px;padding:11px 20px}.confirmation-actions [hidden]{display:none}


.customer-editor-columns{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.6fr);gap:22px;align-items:start}.customer-editor-card{background:#fff;border:1px solid #e0e7ee;border-radius:10px;padding:24px;min-width:0}.customer-editor-card>h2{padding-bottom:15px;margin-bottom:20px;border-bottom:1px solid #edf1f5;color:#2d4659}.customer-editor-card label{display:block;color:#64788b;font-size:13px;margin-bottom:18px}.customer-editor-card input,.customer-editor-card select,.customer-editor-card textarea{margin-top:8px;padding:11px 12px}.customer-editor-card textarea{resize:vertical;line-height:1.6;min-height:90px}.customer-save-actions{display:flex;gap:12px;margin-top:26px}.customer-save-actions .button,.customer-save-actions button{padding:11px 24px}.customer-details-card #copy-address{margin:-3px 0 20px}.customer-details-card textarea[name=notes]{min-height:95px}.customer-history{margin-top:25px;border-top:1px solid #e4eaf0;padding-top:20px}.customer-history>h2{margin-bottom:16px;font-size:16px}.customer-history-tabs{display:flex;gap:5px;overflow-x:auto;border-bottom:1px solid #d8e2e9;padding:0 2px}.customer-history-tab{display:flex;align-items:center;gap:7px;white-space:nowrap;border-radius:7px 7px 0 0;background:#edf2f6;color:#6e8190;padding:12px 13px;border-bottom:0;font-size:13px}.customer-history-tab.active{background:#176b79;color:#fff;border-color:#176b79}.customer-history-tab span{border-radius:12px;background:#ffffff55;padding:1px 7px;font-size:11px}.customer-history-panel[hidden]{display:none}.customer-history-panel .empty{padding:30px 12px;font-size:13px}.customer-history-scroll{max-height:300px;overflow:auto}.customer-history table{font-size:12px;min-width:540px}.customer-history th,.customer-history td{padding:12px 9px}.customer-history th{position:sticky;top:0}.customer-history td:nth-child(3){white-space:nowrap}@media(max-width:1100px){.customer-editor-columns{grid-template-columns:1fr}.customer-editor-card{padding:20px}}


.customer-addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.customer-addresses .wide{grid-column:auto}.customer-addresses textarea{min-height:100px}.customer-editor-columns{align-items:stretch}.customer-details-card{display:flex;flex-direction:column;min-height:calc(100dvh - 180px)}.customer-details-card>fieldset{flex:none}.customer-details-card .customer-history{flex:1;display:flex;flex-direction:column;min-height:240px;margin-top:18px;padding-top:18px}.customer-details-card .customer-history-tabs{flex:none}.customer-details-card .customer-history-panel{flex:1;min-height:180px}.customer-details-card .customer-history-scroll{max-height:440px}.customer-history-panel>.empty{display:flex;min-height:180px;align-items:center;justify-content:center}@media(max-width:1100px){.customer-details-card{min-height:650px}}@media(max-width:650px){.customer-addresses{grid-template-columns:1fr}.customer-details-card{min-height:0}}


.customer-person-card label{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:12px;margin-bottom:20px}.customer-person-card input,.customer-person-card select{margin-top:0;min-width:0}.customer-person-card .customer-save-actions{padding-left:122px}.customer-details-card #copy-address{margin-bottom:0}.customer-addresses{margin-top:20px}@media(max-width:600px){.customer-person-card label{grid-template-columns:1fr;gap:6px}.customer-person-card .customer-save-actions{padding-left:0}}


.customer-person-card .customer-save-actions{padding-left:0;justify-content:flex-end}.customer-save-actions .button,.customer-save-actions button{white-space:nowrap;flex:none}


.customer-person-card .customer-save-actions{justify-content:flex-start;padding-left:0}.customer-details-card .customer-addresses{margin-top:0}


.customer-details-card .customer-history{border-top:0;margin-top:0;padding-top:0}.customer-details-card>fieldset>label:last-child{margin-bottom:12px}.customer-history>h2{margin-bottom:12px}


.detail-heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.record-detail-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:22px;align-items:start}.record-detail-card{background:#fff;border:1px solid #e0e7ee;border-radius:10px;padding:24px;min-width:0}.record-detail-card>h2{padding-bottom:16px;border-bottom:1px solid #e9eef3;margin-bottom:22px;color:#2d4659}.detail-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:0}.detail-field{min-width:0}.detail-field dt{color:#788a99;font-size:12px;margin-bottom:9px}.detail-field dd{margin:0;color:#253c50;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap}.detail-wide{grid-column:1/-1}.record-detail-card .customer-history{margin-top:24px}.product-record-list{min-width:1150px!important}.customer-record-list{min-width:1350px!important}@media(max-width:1000px){.record-detail-columns{grid-template-columns:1fr}}@media(max-width:600px){.detail-fields{grid-template-columns:1fr}}


.record-readonly input[readonly],.record-readonly textarea[readonly]{background:#fafcfd;color:#253c50;cursor:text;user-select:text}.record-readonly .product-description textarea{border-radius:5px}.record-readonly .customer-save-actions,.record-readonly .product-save-actions{display:none}


.product-three-columns{grid-template-columns:minmax(0,1.15fr) minmax(0,1.15fr) minmax(0,.82fr);gap:20px}.product-three-columns>.product-editor-card{padding:22px}.product-unit-currency{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.product-three-columns .product-status{max-width:none}.product-three-columns .product-description textarea{min-height:250px}.product-three-columns .product-supplier-details textarea{min-height:340px}.product-side-column{display:flex;flex-direction:column;gap:20px;min-width:0}.product-gallery-card{padding:20px}.product-gallery h2{font-size:17px;margin-bottom:16px;color:#2d4659}.product-image-stage{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;max-height:290px;min-height:190px;background:#f7f9fb;border:1px solid #e5ebf0;border-radius:8px;overflow:hidden}.product-main-image{width:100%;height:100%;max-height:290px;object-fit:contain}.product-image-empty{color:#93a1ad;font-size:13px}.product-image-thumbnails{display:flex;gap:8px;overflow-x:auto;margin-top:12px}.product-image-thumbnail{padding:3px;flex:0 0 54px;height:54px;border:2px solid #e3e9ee;border-radius:6px;background:#fff}.product-image-thumbnail.active{border-color:#176b79}.product-image-thumbnail img{width:100%;height:100%;object-fit:contain}.product-image-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px}.product-image-controls small{font-size:11px;color:#8c9ba8;line-height:1.6}.product-image-controls button,.product-image-upload{font-size:12px;padding:8px 10px}.product-image-upload{cursor:pointer;position:relative;margin:0!important;color:#176b79!important}.product-image-upload input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.product-image-message{font-size:12px;line-height:1.6;margin:8px 0 0}.product-notes-card{flex:1;padding:20px}.product-notes-label{margin-bottom:0!important}.product-notes-card textarea{min-height:180px;margin-top:0;resize:vertical}.visually-hidden{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.record-readonly .product-image-message:empty{display:none}@media(max-width:1250px){.product-three-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.product-side-column{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:850px){.product-three-columns{grid-template-columns:1fr}.product-side-column{display:flex;grid-column:auto}}


.product-image-stage{position:relative;width:100%;height:auto;aspect-ratio:5/4;min-height:0;max-height:none}.product-image-stage .product-main-image{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center}


.dashboard-home{position:relative;isolation:isolate;min-height:calc(100dvh - 56px)}.dashboard-summary{grid-column:span 2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#ffffffeb;border:1px solid #dfe7ec;border-radius:10px;min-height:150px;align-items:center;padding:18px 0}.dashboard-summary-item{display:block;padding:5px 24px;color:#233247;border-right:1px solid #e7edf1}.dashboard-summary-item:last-child{border-right:0}.dashboard-summary-item small{display:block;color:#718597}.dashboard-summary-item strong{display:block;font-size:32px;margin:8px 0;color:#233b4c}.dashboard-summary-item>span{font-size:12px;color:#7d919e}.dashboard-photo-backdrop{position:absolute;top:440px;bottom:-12px;left:0;width:66%;z-index:-1;pointer-events:none;background-image:url('./?dashboard_photo=1');background-repeat:no-repeat;background-size:cover;background-position:50% 0%;opacity:.82;filter:saturate(.8);mask-image:radial-gradient(ellipse 70% 72% at 47% 48%,#000 32%,#000a 58%,transparent 84%);-webkit-mask-image:radial-gradient(ellipse 70% 72% at 47% 48%,#000 32%,#000a 58%,transparent 84%)}@media(max-width:1000px){.dashboard-summary{min-height:130px}.dashboard-summary-item{padding:4px 14px}.dashboard-summary-item strong{font-size:28px}.dashboard-photo-backdrop{top:400px;width:80%}}@media(max-width:700px){.dashboard-summary{grid-column:auto;min-height:130px}.dashboard-summary-item{padding:5px 10px}.dashboard-summary-item small{font-size:11px}.dashboard-photo-backdrop{top:640px;width:100%;min-height:260px}.dashboard-home{padding-bottom:280px}}

/* Dashboard: two columns of actions with a transparent portrait on the right. */
.dashboard-home{overflow:hidden}.dashboard-shortcuts{position:relative;width:66%;z-index:1}.dashboard-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-summary{grid-column:1 / -1}.dashboard-photo-backdrop{top:160px;bottom:0;left:auto;right:-10px;width:35%;background-image:url('./?dashboard_photo=1&v=portrait2');background-size:contain;background-position:center bottom;opacity:1;filter:none;mask-image:none;-webkit-mask-image:none}
@media(max-width:1000px){.dashboard-shortcuts{width:66%}.dashboard-photo-backdrop{top:150px;width:35%}.dashboard-shortcut{font-size:19px}.dashboard-summary-item{padding:5px 12px}}
@media(max-width:700px){.dashboard-home{padding-bottom:0}.dashboard-shortcuts{width:100%}.dashboard-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-shortcut{font-size:17px;padding:16px 10px;gap:8px}.dashboard-summary{grid-column:1 / -1}.dashboard-photo-backdrop{position:relative;top:auto;bottom:auto;right:auto;width:100%;height:420px;min-height:0;margin-top:20px;z-index:0}.dashboard-home>.dashboard-photo-backdrop{position:absolute;top:550px;bottom:0;height:auto;opacity:.18;z-index:-1;pointer-events:none}}
/* Keep the dashboard in one viewport; size content instead of scrolling. */
body.dashboard-page{height:100dvh;overflow:hidden}.dashboard-page main{height:100dvh;min-height:0}.dashboard-page main>section{height:100%;padding-top:clamp(16px,3vh,28px);padding-bottom:clamp(16px,3vh,28px)}.dashboard-page .dashboard-home{height:100%;min-height:0;padding-bottom:0;overflow:hidden;display:flex;flex-direction:column}.dashboard-page .dashboard-home>.heading{flex:none;margin-bottom:clamp(8px,2vh,22px)}.dashboard-page .dashboard-shortcuts{min-height:0;flex:1;display:flex;flex-direction:column;margin-bottom:0;max-height:580px}.dashboard-page .dashboard-shortcuts>h2{flex:none;margin:4px 0 clamp(10px,2vh,24px)}.dashboard-page .dashboard-shortcut-grid{flex:1;min-height:0;grid-template-rows:1fr 1fr .9fr;gap:clamp(10px,2vh,20px)}.dashboard-page .dashboard-shortcut{min-height:0;padding:clamp(10px,2vh,25px);font-size:clamp(17px,1.6vw,24px)}.dashboard-page .dashboard-summary{min-height:0;padding:clamp(6px,1.5vh,18px) 0}.dashboard-page .dashboard-summary-item strong{font-size:clamp(23px,3.8vh,32px);margin:clamp(3px,1vh,8px) 0}.dashboard-page .dashboard-photo-backdrop{position:absolute;top:clamp(70px,14vh,150px);bottom:0;right:0;left:auto;width:34%;height:auto;min-height:0;margin:0;opacity:1;z-index:-1;background-size:contain;background-position:center bottom}.dashboard-page .dashboard-home>.notice{position:absolute;bottom:0;left:0;max-width:65%;margin:0;font-size:12px}
@media(max-height:650px){.dashboard-page .dashboard-shortcuts>h2{font-size:19px}.dashboard-page .dashboard-shortcut img{width:25px;height:25px}.dashboard-page .dashboard-summary-item{padding:2px 10px}.dashboard-page aside{padding-top:14px;padding-bottom:14px}.dashboard-page .brand{padding-bottom:12px}.dashboard-page aside nav a,.dashboard-page .product-nav summary{min-height:36px;padding-top:6px;padding-bottom:6px}.dashboard-page .nav-toggle{height:32px;flex-basis:32px;width:32px}}
/* Editable quotation follows the printed letterhead and document layout. */
.quotation-sheet{padding:30px 32px;color:#111;background:#fff}.quotation-letterhead{display:flex;justify-content:space-between;align-items:center;gap:40px;padding-bottom:16px;border-bottom:1px solid #333}.quotation-letterhead>img{width:46%;max-width:540px;height:auto}.quotation-letterhead>div{text-align:right;font-size:14px;line-height:1.45}.quotation-letterhead strong{font-size:21px}.quotation-title{text-align:center;font-size:38px;color:#111;margin:24px 0 32px}.quotation-boxes{display:grid;grid-template-columns:1fr 1fr;gap:28px}.quotation-box{border:1px solid #333;min-width:0}.quotation-box h3{margin:0;background:#d9d9d9;padding:6px 12px;font-size:19px;border-bottom:1px solid #333}.quotation-attn,.quotation-details{padding:12px}.quotation-sheet label{font-size:13px;color:#52697b}.quotation-sheet input,.quotation-sheet select,.quotation-sheet textarea{color:#111;background:#fff}.quotation-customer-picker{display:flex;gap:8px;margin-bottom:12px}.quotation-customer-picker>*{min-width:0;width:50%}.quotation-contact{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.quotation-contact label{display:block}.quotation-contact input{margin-top:5px}.quotation-address{display:block}.quotation-address textarea{margin-top:5px;min-height:100px}.quotation-details>label{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:10px;margin-bottom:8px}.quotation-details .quotation-ref,.quotation-ref input{font-weight:700;font-size:22px;color:#d60000}.quotation-sheet .productpicker{padding:24px 0 14px}.quotation-sheet .quotation-items{table-layout:fixed;min-width:700px}.quotation-items th{background:#d9d9d9;color:#111;text-align:center;font-size:15px;font-weight:700;border:1px solid #555;padding:15px 8px}.quotation-items th:first-child{width:6%}.quotation-items th:nth-child(2){width:48%}.quotation-items th:nth-child(3){width:14%}.quotation-items th:nth-child(4),.quotation-items th:nth-child(5){width:14%}.quotation-items th:last-child{width:4%}.quotation-items td{border:1px solid #777;padding:12px 8px;vertical-align:bottom}.quotation-items td:nth-child(2){vertical-align:top}.quotation-items td strong{display:block;font-size:17px;margin:0 0 20px}.quotation-items textarea{min-height:115px;line-height:1.6}.quotation-items .quotation-serial{text-align:center}.quotation-items td:first-child{width:auto}.quotation-items td:last-child button{padding:4px;font-size:12px}.quotation-bottom{display:grid;grid-template-columns:1fr 420px;gap:30px;margin-top:18px}.quotation-notes label{display:block;margin:12px 0}.quotation-notes textarea{display:block;min-height:80px;margin-top:6px}.quotation-adjustments{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.quotation-adjustments input{margin-top:5px}.quotation-sheet .totals{margin-top:14px}.quotation-extra{margin-top:20px;border-top:1px solid #dfe5ea}.quotation-extra summary{padding:15px 0}.quotation-extra .formgrid{padding:10px 0}.quotation-sheet .formfooter{margin-top:20px;padding:18px 0 0}.quotation-sheet fieldset:disabled{opacity:1}
@media(max-width:1000px){.quotation-sheet{padding:20px}.quotation-letterhead strong{font-size:17px}.quotation-letterhead>div{font-size:12px}.quotation-boxes{gap:16px}.quotation-details>label{grid-template-columns:110px 1fr}.quotation-bottom{grid-template-columns:1fr 340px}.quotation-contact{grid-template-columns:1fr}.quotation-contact{margin-bottom:12px}}@media(max-width:750px){.quotation-boxes,.quotation-bottom{grid-template-columns:1fr}.quotation-letterhead{gap:15px}.quotation-letterhead>img{width:42%}.quotation-details>label{grid-template-columns:130px 1fr}}
.quotation-sheet #quote-lines-body td:first-child{width:6%;text-align:center}.quotation-sheet #quote-lines-body td:nth-child(2){width:48%}.quotation-sheet #quote-lines-body input{min-width:0}
.pdf-preview-dialog{width:min(1150px,96vw);height:94dvh;max-width:96vw;max-height:94dvh;padding:0;border:1px solid #dce5eb;border-radius:10px;box-shadow:0 18px 70px #142d4240;overflow:hidden}.pdf-preview-dialog[open]{display:flex;flex-direction:column}.pdf-preview-dialog::backdrop{background:#142d4270}.pdf-preview-toolbar{display:flex;align-items:center;gap:12px;padding:14px 18px;background:#fff;border-bottom:1px solid #dfe5eb;flex:none}.pdf-preview-toolbar strong{margin-right:auto}.pdf-preview-status{margin:0;padding:10px 18px;font-size:13px;flex:none}.pdf-preview-dialog iframe{border:0;width:100%;flex:1;min-height:0;background:#edf0f3}.pdf-preview-dialog [hidden]{display:none!important}
aside .nav-icon{width:23px;height:23px;object-fit:contain}aside .product-subnav .nav-icon{width:21px;height:21px}
/* Uniform sidebar rhythm for links and expandable groups. */
aside>nav{display:flex;flex-direction:column;gap:6px}aside>nav>a,aside>nav>.product-nav>summary{height:48px;min-height:48px;margin:0;padding:0 16px;flex:none;line-height:20px}aside>nav>.product-nav{margin:0;padding:0;flex:none}aside>nav>.product-nav>summary{padding-right:0}.product-subnav{display:flex;flex-direction:column;gap:6px;padding:6px 0 0 16px}aside .product-subnav>a{height:44px;min-height:44px;margin:0;padding:0 8px 0 10px;line-height:20px}.product-nav .nav-toggle{height:44px;width:44px;flex-basis:44px}
@media(max-height:650px){aside>nav{gap:5px}aside>nav>a,aside>nav>.product-nav>summary,.dashboard-page aside nav>a,.dashboard-page .product-nav>summary{height:40px;min-height:40px;padding-top:0;padding-bottom:0}aside .product-subnav>a{height:38px;min-height:38px;padding-top:0;padding-bottom:0}.product-nav .nav-toggle,.dashboard-page .product-nav .nav-toggle{height:36px;width:36px;flex-basis:36px}}
.dashboard-stat-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.dashboard-page .dashboard-stat-heading small{font-size:clamp(15px,2.53vh,21.33px);line-height:1.25;color:#526d80;white-space:nowrap}.dashboard-stat-view{padding:7px 13px;min-height:34px;flex:none;font-size:14px;line-height:18px;color:#176b79;background:#f0f7f8;border-color:#cbdfe2}.dashboard-page .dashboard-summary-item strong{margin-bottom:0}.dashboard-page .dashboard-summary-item{padding-top:4px;padding-bottom:4px}@media(max-width:1100px){.dashboard-stat-heading{gap:6px;flex-wrap:wrap}.dashboard-page .dashboard-stat-heading small{font-size:clamp(14px,1.6vw,19px)}.dashboard-stat-view{padding:5px 9px;min-height:30px;font-size:13px}}
/* Blue and gold brand theme: quiet patterns beneath the working surface. */
body{background-color:#fbfaf6;background-image:linear-gradient(135deg,transparent 74%,#c49a3b0d 74.08%,transparent 74.2%),linear-gradient(135deg,transparent 78%,#c49a3b0b 78.08%,transparent 78.2%),radial-gradient(ellipse at 100% 0%,#eee7d5a6 0%,#f7f5ee66 33%,transparent 66%);background-attachment:fixed;background-repeat:no-repeat;background-size:100% 100vh}
aside{background-color:#152a40;background-image:linear-gradient(135deg,transparent 75%,#d5b26416 75.2%,transparent 75.5%),radial-gradient(ellipse at 0% 100%,#42728b33 0%,transparent 65%),linear-gradient(165deg,#122439 0%,#1a344b 55%,#264259 100%);border-right:1px solid #c4a76a35;box-shadow:4px 0 24px #162b3c09}
aside .brand{position:relative}aside .brand::after{content:'';position:absolute;left:12px;right:12px;bottom:14px;height:1px;background:linear-gradient(90deg,#d5b264bb,#d5b26418)}
aside nav>a.active,aside .product-subnav>a.active{background:#31526f;box-shadow:inset 3px 0 #d4ad57;color:#fff}aside nav>a:hover,aside .product-subnav>a:hover{background-color:#ffffff0b}aside nav>a.active:hover,aside .product-subnav>a.active:hover{background-color:#31526f}.product-nav .nav-toggle{background:#ffffff09}.product-nav summary:hover .nav-toggle{background:#d5b2641c}
.dashboard-page .dashboard-shortcuts{width:100%;max-width:none}.dashboard-shortcut{background:linear-gradient(125deg,#f7f4eafa,#eeeadcf5);border-color:#d8c99e70;color:#31526f;box-shadow:0 3px 12px #7c6d4210}.dashboard-shortcut:hover{background:linear-gradient(125deg,#f1ecdafa,#e8e1ccf5);box-shadow:0 5px 18px #7c6d4217}.dashboard-shortcuts>h2{color:#425e74}.dashboard-summary{background:#ffffffed;border-color:#ded8c9;box-shadow:0 3px 14px #776b4710}.dashboard-page .dashboard-stat-heading small{color:#526b7d}.dashboard-stat-view{background:#f6f2e6;border-color:#d8c99e;color:#31526f}.dashboard-stat-view:hover{background:#ece5d2}.dashboard-summary-item{border-color:#e8e3d7}.dashboard-summary-item strong{color:#263f55}
@media(max-height:650px){aside .brand::after{bottom:6px}}
.dashboard-summary{position:relative;padding-top:44px}.dashboard-summary-month{position:absolute;left:24px;top:14px;font-size:20px;font-weight:600;line-height:24px;letter-spacing:.5px;color:#526b7d}.dashboard-page .dashboard-summary{padding-top:44px;padding-bottom:12px}.dashboard-page .dashboard-shortcut-grid{grid-template-rows:1fr 1fr 1fr}@media(max-height:650px){.dashboard-page .dashboard-summary{padding-top:32px;padding-bottom:6px}.dashboard-summary-month{top:6px;font-size:17px;line-height:22px}}
.quotation-box .quotation-attn-header{display:flex;align-items:center;justify-content:space-between;gap:14px}.quotation-attn-header button{font-size:14px;font-weight:500;padding:6px 16px;background:#fff;color:#176b79;border-color:#a5bcc1;line-height:18px}.quotation-company{display:block;margin:0 0 14px}.quotation-company input{margin-top:5px}.quote-customer-dialog{width:min(800px,calc(100vw - 40px));max-height:80dvh;border:1px solid #dce5eb;border-radius:12px;padding:22px;box-shadow:0 20px 70px #142d4238;color:#233247}.quote-customer-dialog::backdrop{background:#142d425c}.quote-customer-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.quote-customer-dialog-header h2{font-size:22px}.quote-customer-status{font-size:13px;margin:12px 0}.quote-customer-results{overflow:auto;max-height:48dvh}.quote-customer-result{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 8px;border-bottom:1px solid #e3e9ef}.quote-customer-result>div{min-width:0}.quote-customer-result strong,.quote-customer-result span,.quote-customer-result small{display:block;overflow-wrap:anywhere}.quote-customer-result strong{font-size:16px}.quote-customer-result span{margin:4px 0;color:#52697b}.quote-customer-result small{color:#7b8d9a}.quote-customer-result button{flex:none;min-width:72px;padding:10px 18px}
/* All modal windows soften the page behind them. */
dialog::backdrop,.quote-customer-dialog::backdrop,.confirmation-dialog::backdrop,.pdf-preview-dialog::backdrop{background:#142d4259;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.quote-customer-dialog{width:min(1500px,94vw);height:86dvh;max-width:94vw;max-height:90dvh;padding:24px 28px}.quote-customer-dialog[open]{display:flex;flex-direction:column;gap:0}.quote-customer-dialog-header{flex:none;margin-bottom:18px}.quote-customer-dialog>input{flex:none;max-width:700px}.quote-customer-dialog>.quote-customer-status{flex:none}.quote-customer-results{flex:1;min-height:0;max-height:none;overflow:auto;border:1px solid #e1e8ee;border-radius:8px}.quote-customer-table{width:100%;min-width:1080px;table-layout:fixed}.quote-customer-table th{position:sticky;top:0;z-index:1;background:#f5f8fa;padding:16px 14px}.quote-customer-table td{padding:17px 14px;vertical-align:middle;font-size:14px;line-height:1.5;max-width:none;overflow-wrap:anywhere;white-space:pre-line}.quote-customer-table th:nth-child(1){width:9%}.quote-customer-table th:nth-child(2){width:11%}.quote-customer-table th:nth-child(3){width:19%}.quote-customer-table th:nth-child(4){width:22%}.quote-customer-table th:nth-child(5){width:12%}.quote-customer-table th:nth-child(6){width:20%}.quote-customer-table th:nth-child(7){width:7%}.quote-customer-table td:first-child,.quote-customer-table td:nth-child(5){white-space:nowrap}.quote-customer-table td:last-child{text-align:center}.quote-customer-table button{min-width:64px;padding:9px 14px;white-space:nowrap}.quote-customer-table tbody tr:hover{background:#f8fafb}@media(max-width:800px){.quote-customer-dialog{padding:18px;width:96vw;max-width:96vw;height:90dvh}.quote-customer-table th,.quote-customer-table td{padding:12px}}
.quotation-sheet .quotation-live-totals{width:100%;max-width:430px;margin:10px 0 0 auto;padding:0;font-size:20px;font-weight:700;color:#111}.quotation-live-totals>div{display:grid;grid-template-columns:minmax(145px,1fr) 115px 55px;align-items:center;column-gap:16px;min-height:45px;padding:3px 0}.quotation-live-totals strong{text-align:right}.quotation-live-totals b{text-align:left;font-variant-numeric:tabular-nums}.quotation-live-totals>div>span{color:#111}.quotation-live-totals input{padding:7px 9px;font-weight:700;font-size:19px;font-variant-numeric:tabular-nums}.quotation-calc-error{color:#a63030;font-size:13px;font-weight:400}.quotation-items td:nth-child(2)>input{margin:0 0 20px!important;font-size:17px;font-weight:700;background:#fff}.quotation-sheet #quote-lines-body textarea{min-height:110px}.quotation-sheet .quotation-bottom{grid-template-columns:minmax(0,1fr) 430px}@media(max-width:1000px){.quotation-sheet .quotation-bottom{grid-template-columns:1fr}.quotation-sheet .quotation-live-totals{max-width:430px}}
.quotation-sheet .quotation-items th:first-child{width:11%}.quotation-sheet .quotation-items th:nth-child(2){width:47%}.quotation-sheet .quotation-items th:nth-child(3){width:14%}.quotation-sheet .quotation-items th:nth-child(4),.quotation-sheet .quotation-items th:nth-child(5){width:14%}.quotation-sheet #quote-lines-body td:first-child{width:11%;vertical-align:top;text-align:center;padding:14px 8px}.quotation-sheet #quote-lines-body td:nth-child(2){width:47%}.quotation-row-number{display:block;font-size:16px;margin-bottom:14px}.quotation-row-actions{display:flex;flex-direction:column;gap:9px;align-items:center}.quotation-row-actions button{font-size:13px;padding:9px 10px;min-height:36px;white-space:nowrap;width:100%;max-width:115px}.quote-product-table{width:100%;min-width:1050px;table-layout:fixed}.quote-product-table th{position:sticky;top:0;z-index:1;background:#f5f8fa;padding:16px 14px}.quote-product-table td{padding:18px 14px;vertical-align:middle;font-size:14px;line-height:1.5;max-width:none;overflow-wrap:anywhere}.quote-product-table th:nth-child(1){width:16%}.quote-product-table th:nth-child(2){width:28%}.quote-product-table th:nth-child(3){width:22%}.quote-product-table th:nth-child(4){width:10%}.quote-product-table th:nth-child(5){width:12%}.quote-product-table th:nth-child(6),.quote-product-table th:nth-child(7){width:6%}.quote-product-table button{padding:9px 13px;min-width:60px;white-space:nowrap}.quote-product-table tbody tr:hover{background:#f8fafb}.quote-product-detail{width:min(700px,94vw);max-height:85dvh;overflow:auto;padding:24px;border:1px solid #dce5eb;border-radius:12px;box-shadow:0 20px 70px #142d4238}.quote-product-detail label{display:block;color:#52697b;margin:14px 0}.quote-product-detail input,.quote-product-detail textarea{display:block;margin-top:6px;background:#f8fafb}
/* Quotation table polish: paired rules, filled actions and complete row borders. */
.quotation-sheet .quotation-box>h3{border-bottom:3px double #444}.quotation-sheet .quotation-boxes{margin-bottom:24px}.quotation-sheet .quotation-items th{border-bottom:3px double #444}.quotation-sheet .quotation-attn-header button,.quotation-row-actions button:not(.danger){background:#176b79;color:#fff;border-color:#176b79}.quotation-row-actions button.danger{background:#b94c49;color:#fff;border-color:#b94c49}.quotation-row-actions button:disabled{background:#e8e1df;border-color:#ddd2cf;color:#a28d88;opacity:1}.quotation-sheet #quote-lines-body td{border:1px solid #777!important}.quotation-sheet #quote-lines-body td:first-child{vertical-align:bottom;padding:14px 8px 10px}.quotation-row-actions{margin-bottom:20px}.quotation-row-number{display:block;text-align:center;margin:0;line-height:22px}.quotation-sheet .quotation-items tbody tr:last-child td{border:1px solid #777!important}
.quotation-sheet #quote-lines-body td[data-total]{text-align:center;vertical-align:bottom;padding-bottom:14px;font-variant-numeric:tabular-nums}.quotation-sheet #quote-lines-body .quotation-empty-row>td{background:#e9f5ed}.quotation-sheet #quote-lines-body .quotation-empty-row input,.quotation-sheet #quote-lines-body .quotation-empty-row textarea{background:#fafffb}.quotation-sheet .formfooter{justify-content:flex-start}
.quote-workspace-heading{align-items:flex-start;gap:20px;flex-wrap:wrap}.quote-workspace-heading h1{font-size:25px;margin:5px 0}.quote-workspace-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-left:auto}.quote-workspace-actions .inline{margin:0}.quote-workspace-actions .button,.quote-workspace-actions button{min-height:40px;padding:10px 14px;white-space:nowrap}.quotation-sheet[data-readonly="true"] input,.quotation-sheet[data-readonly="true"] textarea{background:#fafcfd;color:#233247;cursor:text}.quotation-sheet[data-readonly="true"] .formfooter{display:none}.aside-bottom{flex:none;padding-top:12px}.sidebar-settings{display:flex;align-items:center;gap:12px;color:#b8c9d5;padding:0 16px;height:48px;border-radius:7px;margin-bottom:8px}.sidebar-settings .nav-icon{filter:brightness(0) invert(84%) sepia(8%) saturate(466%) hue-rotate(166deg)}.sidebar-settings.active{background:#31526f;color:#fff;box-shadow:inset 3px 0 #d4ad57}.sidebar-settings:hover{background:#ffffff0b}.aside-bottom .logout{padding-top:0}@media(max-height:650px){.sidebar-settings{height:40px}}
.quote-number-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.quote-number-status>.badge{font-size:12px;padding:4px 8px;margin:0;white-space:nowrap}.quote-detail-button{padding:9px 15px;min-height:38px;white-space:nowrap}
.quote-workspace-footer{margin:22px 0 0;justify-content:flex-start}.quote-workspace-footer .quote-workspace-actions{margin-left:0}.customer-preview-dialog{width:min(1500px,95vw);height:90dvh;max-width:95vw;max-height:94dvh;padding:26px;border:1px solid #dce5eb;border-radius:12px;box-shadow:0 20px 70px #142d4238;overflow:auto;background:#fbfaf6;color:#233247}.customer-preview-dialog::backdrop{background:#142d4259;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.customer-preview-heading{align-items:flex-start;gap:20px}.customer-preview-dialog .customer-person-card,.customer-preview-dialog .customer-details-card{min-height:0}.customer-preview-dialog .customer-editor-columns{grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr)}.customer-preview-dialog .customer-details-card .customer-history{flex:none;min-height:200px}.customer-preview-dialog .customer-history-panel{min-height:130px}.customer-preview-dialog .customer-history-scroll{max-height:300px}@media(max-width:950px){.customer-preview-dialog .customer-editor-columns{grid-template-columns:1fr}.customer-preview-heading{flex-wrap:wrap}}
/* Reserve a permanent title row so toast notifications cannot cover quotation actions. */
.quote-workspace-heading:not(.quote-workspace-footer){display:flex;flex-direction:column;align-items:stretch;gap:0}.quote-workspace-heading:not(.quote-workspace-footer)>h1{align-self:flex-start;margin:5px 0 0}.quote-workspace-heading:not(.quote-workspace-footer)>.quote-workspace-actions{margin:28px 0 0;align-self:flex-end;min-height:40px}.quote-workspace-footer>.quote-workspace-actions{margin-left:0}
.quotation-sheet[data-readonly="true"] .quotation-ref input{color:#d60000;font-weight:700}
.quotation-date-control{position:relative;display:block;min-width:0}.quotation-date-control>input[type=text]{padding-right:44px}.quotation-calendar-icon{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:22px;line-height:1;color:#52697b;pointer-events:none}.quotation-date-control>.quotation-native-date{position:absolute;top:0;right:0;width:40px;height:100%;margin:0;opacity:0;cursor:pointer;padding:0}.quotation-native-date::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}
/* Confirmed order workspace: quotation and customer purchase order. */
.order-tabs{display:flex;gap:8px;border-bottom:1px solid #cbd8e2;margin:0 0 20px}
.order-tabs>a{padding:14px 28px;border:1px solid #d5e0e9;border-bottom:0;border-radius:8px 8px 0 0;background:#edf2f6;color:#526b80;font-size:17px;text-decoration:none}
.order-tabs>a.active{background:#186e7c;color:white;border-color:#186e7c;font-weight:600}
.order-quote-actions{justify-content:flex-end;margin-bottom:20px}
.order-po-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}
.order-po-preview{height:calc(100dvh - 230px);min-height:480px;overflow:hidden}
.order-po-preview iframe{border:0;width:100%;height:100%;display:block}
.order-po-files h2{font-size:19px;margin-top:0}
.order-po-file{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid #e1e8ee;overflow-wrap:anywhere}
.order-po-upload{margin-top:24px;display:grid;gap:14px}
.order-progress{margin-top:28px}.order-progress form{display:grid;gap:14px;margin-top:16px}
@media(max-width:1000px){.order-po-layout{grid-template-columns:minmax(0,1fr)}.order-po-preview{height:70dvh}}
/* Grid panels must fill their tracks; global section auto margins otherwise shrink and center them. */
.order-po-layout>section{margin:0;width:100%;max-width:none;min-width:0;align-self:start}
.order-po-layout>.order-po-preview{padding:0}
.order-po-layout>.order-po-files{padding:24px}
/* PO management on the left, full-width document preview on the right. */
.order-po-layout{grid-template-columns:minmax(380px, .85fr) minmax(0,1.65fr)}
.order-po-files{grid-column:1;grid-row:1}.order-po-preview{grid-column:2;grid-row:1}
.order-po-number{display:grid;gap:10px;margin-bottom:30px}.order-po-number>label{font-size:19px;font-weight:600;color:#233247}
.order-po-number>div{display:flex;gap:10px}.order-po-number input{min-width:0}.order-po-number button{flex:none}
.order-po-file{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px}
.order-po-file small{display:block;color:#8591a1;margin-top:5px}.order-po-file .button,.order-po-file button{white-space:nowrap}
.order-po-upload{margin-top:34px}.order-po-upload>button{justify-self:start;min-width:140px}.order-po-upload input{margin-top:10px}
@media(max-width:1000px){.order-po-layout{grid-template-columns:minmax(0,1fr)}.order-po-files{grid-column:1;grid-row:1}.order-po-preview{grid-column:1;grid-row:2}}
.order-tabs{flex-wrap:wrap}
.document-sheet{position:relative;padding:32px!important}.document-sheet.do-sheet{padding-right:95px!important}.document-sheet.invoice-sheet{padding-left:95px!important}.document-sheet-actions{justify-content:flex-end;margin:0 0 20px}.document-rail{position:absolute;top:30px;bottom:30px;width:48px;display:flex;flex-direction:column;justify-content:space-around;overflow:hidden;background:#99bb57;color:white}.do-sheet .document-rail{right:24px}.invoice-sheet .document-rail{left:24px;background:#0070be}.document-rail span{writing-mode:vertical-rl;font:30px 'Times New Roman',serif;align-self:center;white-space:nowrap}.document-sheet .quotation-title{font-family:'Times New Roman',serif}.document-invoice-title{font:bold 70px Cambria,Georgia,serif;color:#0070be}.invoice-sheet .quotation-letterhead{border:0;margin-bottom:25px}.document-party-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:26px;margin:0 0 24px}.document-box{border:1px solid #555;min-width:0}.document-box h3{font-size:18px;background:#d9d9d9;border-bottom:1px solid #555;margin:0;padding:7px 12px;color:black}.document-box-body{padding:12px;display:grid;gap:16px}.document-box-body label{display:grid;gap:6px;font-size:12px;color:#718095}.document-box textarea{height:110px}.document-details>label{grid-template-columns:145px minmax(0,1fr);align-items:center}.document-details .quotation-ref{color:#d60000;font-size:19px;font-weight:700}.document-details .quotation-ref input{color:#d60000;font-weight:700}.document-items th,.document-items td{border:1px solid #555!important;color:black}.document-items th{font-weight:bold;background:#d9d9d9;text-align:center;border-top:3px solid #222!important;border-bottom:3px solid #222!important}.document-items td{text-align:center}.document-items th:first-child{width:7%}.document-items th:nth-child(2){width:40%}.document-items input{font-weight:bold}.document-totals{width:min(420px,100%);margin:12px 20px 24px auto;color:black;font-size:18px}.document-totals>div{display:grid;grid-template-columns:1.6fr 1fr .5fr;gap:14px;margin:7px 0}.document-totals b:first-child{text-align:right}.document-bank{border-top:1px solid black;border-bottom:1px solid black;padding:12px 4px;color:black}.document-bank dl{display:grid;grid-template-columns:150px 1fr;gap:5px;margin-bottom:0}.document-bank dd{margin:0}.document-generated{font-family:'Times New Roman',serif;color:black}.document-signature{margin-top:50px;color:black}.document-signature>div{width:35%;height:20px;border-bottom:1px solid black;position:relative}.document-signature span{position:absolute;left:103%;white-space:nowrap}.document-notes{display:block;margin:28px 0 0;color:#718095}.document-notes textarea{margin-top:6px;height:70px}.document-sheet .formfooter{margin:24px -10px 0}.document-items input[readonly]{background:#f9fbfd}@media(max-width:1100px){.document-party-grid{grid-template-columns:1fr}.document-details>label{grid-template-columns:120px 1fr}}
/* Keep the invoice wordmark larger than the company-info styles on the same letterhead. */
.invoice-sheet .quotation-letterhead>.document-invoice-title{font-family:Cambria,Georgia,'Times New Roman',serif;font-size:clamp(58px,5.5vw,88px);font-weight:700;line-height:1.1;text-align:left;color:#0070be;flex:0 1 auto;white-space:nowrap}
/* Confirmed order actions share the tab baseline and stay aligned to the right. */
.order-tabs>.order-tab-actions{margin-left:auto;align-self:center;justify-content:flex-end;padding:0 0 6px 16px;gap:10px}
.order-tab-actions form{margin:0}.order-tab-actions .button,.order-tab-actions button{white-space:nowrap}
@media(max-width:1000px){.order-tabs>.order-tab-actions{flex:1 0 100%;padding:10px 0;}}
/* Prevent tab links stretching to the action row height. */
.order-tabs{align-items:flex-end}
.order-tabs>a[role=tab]{flex:none;display:flex;align-items:center;justify-content:center;height:44px;min-height:44px;padding:0 24px;line-height:1.2;font-size:16px}
.order-tabs>.order-tab-actions{align-self:flex-end;padding-bottom:5px;min-height:44px}
/* Unified trapezoid tabs: selected tabs blend into their surrounding surface. */
.order-tabs,.settings-tabs,.customer-history-tabs{border-bottom:0;gap:6px}
.order-tabs>a[role=tab],.settings-tabs .settings-tab,.customer-history-tab{clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 100%,0 100%);border-radius:0;border:0;box-shadow:none;min-height:44px;height:44px;padding:0 26px;display:inline-flex;align-items:center;justify-content:center;line-height:1.2;white-space:nowrap;flex:none}
.order-tabs>a[role=tab].active,.settings-tabs .settings-tab.active,.customer-history-tab.active{background:transparent;color:#176b79;border:0;box-shadow:none;font-weight:700;padding-top:0;padding-bottom:0}
.customer-history-tab{font-size:13px;padding-left:22px;padding-right:22px}
.customer-history-tab.active span{background:#dcecef;color:#176b79}
.order-tabs>a[role=tab]:focus-visible,.settings-tabs .settings-tab:focus-visible,.customer-history-tab:focus-visible{outline:0;box-shadow:inset 0 0 0 2px #176b79}
/* Approved rounded trapezoid tabs. SVG outlines preserve the outward-curving feet. */
.order-tabs,.settings-tabs,.customer-history-tabs{position:relative;isolation:isolate;border:0;background:none;align-items:flex-end;padding-left:0;padding-right:0;gap:3px;overflow:visible}
.order-tabs>a[role=tab],.settings-tabs .settings-tab,.customer-history-tab{position:relative;isolation:isolate;z-index:1;clip-path:none;background:transparent!important;border:0!important;border-radius:0;box-shadow:none;margin:0;height:44px;min-height:44px;padding:0 24px!important;line-height:1.2;flex:none;text-decoration:none}
.order-tabs>a[role=tab].active,.settings-tabs .settings-tab.active,.customer-history-tab.active{background:transparent;color:#176b79;box-shadow:none}
.tab-shape{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;overflow:visible}
.tab-baseline{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;overflow:visible}
.order-tabs>.order-tab-actions{position:relative;z-index:1}
.customer-history-tab{padding-left:21px!important;padding-right:21px!important}
/* Tabbed pages scroll only beneath the heading and tabs. */
main>section.tabbed-page{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-bottom:0}
.tabbed-page-header{flex:none;min-width:0;position:relative;z-index:3}
.tabbed-page-header>.order-tabs{margin-bottom:16px}
.tabbed-page-content{flex:1;min-height:0;overflow-y:auto;overflow-x:auto;overscroll-behavior:contain;padding-bottom:32px;scrollbar-gutter:stable}
.tabbed-page-content>.panel:first-child{margin-top:0}
.tabbed-page-content>.settings-tabs~.panel{margin-top:0}
.customer-history{min-height:0}
.customer-history-tabs{flex:none;position:sticky;top:0;z-index:2;background:#fff}
.customer-history-scroll{max-height:350px;overflow:auto;overscroll-behavior:contain}

.payment-date-fields{display:flex;align-items:center;gap:9px;margin:8px 0 20px}.payment-date-fields input{width:80px;min-width:0}.payment-date-fields input:first-child{width:110px}.confirmation-dialog form>label{display:block;margin:16px 0}.confirmation-dialog form>label[hidden]{display:none}

.badge.document-age{margin-left:22px;color:#111;font-weight:500;white-space:nowrap}.badge.document-age-orange{background:#ffb347}.badge.document-age-red{background:#f37575}


.cards.payment-summary-cards{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){.cards.payment-summary-cards{grid-template-columns:1fr}}

.payment-summary-cards .card{cursor:default;user-select:text}

.payment-notes-form{display:flex;align-items:center;gap:10px;min-width:230px}.payment-notes-form textarea{flex:1;min-width:0;resize:vertical}.payment-notes-form button{flex:none}

.edit-start-button{margin:8px 10px 12px 0}.edit-lease-marker{display:none}
.catalog-add-category{flex-wrap:wrap}.catalog-add-category select{flex:1 1 210px;min-width:180px}.catalog-add-category input{flex:1 1 180px}.category-child .category-name-text{padding-left:20px;color:#536f80}.category-child td:first-child{font-size:18px}.category-child{background:#f8fbfd}

/* Two-level category controls: separate creation forms and compact rows. */
.category-workbench{display:grid;grid-template-columns:0.8fr 1.1fr 1.2fr;gap:18px;margin-bottom:24px;align-items:stretch}
.category-workbench .catalog-summary-card{padding:18px 20px}
.category-workbench h2{font-size:17px;margin:0 0 14px}
.category-totals{display:flex;flex-direction:column;justify-content:center;gap:12px;font-size:17px;color:#536f80}
.category-totals strong{font-size:24px;color:#233e53;margin:0 6px}
.category-create-form{display:flex;flex-direction:column;gap:10px}
.category-create-fields{display:flex;align-items:center;gap:10px}
.category-create-fields input{min-width:0;flex:1}
.category-create-fields button{white-space:nowrap;min-width:70px}
.category-workbench + .category-columns .category-list td{height:52px;padding:6px 10px}
.category-workbench + .category-columns .category-list th{height:38px;padding:8px 10px}
.category-workbench + .category-columns .category-child td:first-child{font-size:14px;white-space:nowrap}
@media(max-width:1100px){.category-workbench{grid-template-columns:1fr 1fr}.category-totals{grid-column:1/-1;flex-direction:row;justify-content:flex-start;gap:32px}}
@media(max-width:700px){.category-workbench{grid-template-columns:1fr}.category-totals{flex-direction:column;gap:10px}}

.category-workbench .catalog-summary-card{padding:12px 18px}
.category-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;min-height:34px}
.category-workbench .category-card-heading h2{margin:0}
.category-edit-slot .edit-start-button{min-height:32px;padding:5px 14px;white-space:nowrap;background:#176b79;color:#fff;border-color:#176b79}
.category-workbench .category-totals{gap:7px;font-size:16px}
.category-workbench .category-totals strong{font-size:22px}
.category-workbench .category-create-form{gap:8px}

/* Per-column live search in Q Sent Out */
#quote-column-form{margin:0;padding:0}#quote-column-panel .quote-column-filters th{padding:8px 20px 12px;background:#f7f9fb}#quote-column-panel .quote-column-filters input{box-sizing:border-box;width:100%;min-width:105px;height:36px;font-weight:400;font-size:13px;padding:7px 10px}#quote-column-panel[aria-busy="true"] tbody{opacity:.65}

/* Q Sent Out content column: two single-line names, no row expansion */
#quote-column-panel table{table-layout:fixed;width:100%;min-width:1000px}#quote-column-panel th:nth-child(1){width:17%}#quote-column-panel th:nth-child(2){width:13%}#quote-column-panel th:nth-child(3){width:20%}#quote-column-panel th:nth-child(4){width:13%}#quote-column-panel th:nth-child(5){width:29%}#quote-column-panel th:nth-child(6){width:8%}#quote-column-panel th,#quote-column-panel td{padding-left:14px;padding-right:14px}#quote-column-panel .quote-column-filters th{padding-left:14px;padding-right:14px}#quote-column-panel .quote-column-filters input{min-width:0}#quote-column-panel .quote-content-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.6}#quote-column-panel .quote-content-cell{overflow:hidden}
.quote-numbered-pages{flex-wrap:wrap;gap:12px}.quote-numbered-pages nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.quote-numbered-pages nav .button{min-width:36px;text-align:center}.quote-numbered-pages .page-gap{padding:0 3px}

/* Shared column search for Confirmed Orders, Done and Paid */
#quote-column-panel.business-column-panel th{width:auto}
#quote-column-panel.business-column-panel table{min-width:1150px}
#quote-column-panel.business-column-panel th:last-child{width:9%}
#quote-column-panel.business-column-panel th:first-child{width:16%}
#quote-column-panel.business-column-panel th:nth-child(2){width:12%}
#quote-column-panel.business-column-panel th:nth-child(3){width:19%}
#quote-column-panel.business-column-deliveries th:nth-child(5){width:29%}
#quote-column-panel.business-column-documents th:nth-child(6){width:25%}
#quote-column-panel.business-column-payments th:nth-child(4){width:25%}
#quote-column-panel.business-column-payments th:nth-child(5),#quote-column-panel.business-column-payments th:nth-child(6){width:7%}

#quote-column-panel.master-column-panel table{table-layout:auto;min-width:1100px}#quote-column-panel.master-column-panel th:nth-child(n){width:auto}#quote-column-panel.master-column-panel .quote-column-filters input{min-width:65px}#quote-column-panel.master-column-panel .quote-column-filters th{padding:8px 10px}

#quote-column-panel.history-column-panel th:nth-child(n){width:auto}#quote-column-panel.history-column-panel th:nth-child(3){width:18%}#quote-column-panel.history-column-panel th:nth-child(4){width:27%}#quote-column-panel.history-column-panel table{min-width:1150px}
