@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:var(--theme-text,#233b3a);background:var(--theme-pageBackground,#f6f8f7);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{cursor:pointer}button{background:var(--theme-surface,#ffffff);border:1px solid var(--theme-border,#dce3df);border-radius:7px;padding:9px 13px;color:var(--theme-groupText,#304b44)}button:hover{background:var(--theme-surfaceAlt,#edf4ef)}button.primary{background:var(--theme-primary,#20664b);color:var(--theme-surface,#ffffff);border-color:var(--theme-primary,#20664b)}aside{background:var(--theme-sidebar,#132f2b);color:var(--theme-sidebarText,#bed0c8);width:235px;position:fixed;inset:0;padding:32px 20px}.brand{display:flex;gap:10px;color:var(--theme-groupBackground,#eef8ec);text-decoration:none;font:28px Manrope}.brand span{display:block;font:9px 'DM Sans';letter-spacing:2.5px;margin-top:4px}.workspace{margin:36px 0 25px;padding:14px 7px;border-block:1px solid var(--theme-groupText,#355049);font-size:12px}small{display:block;color:var(--theme-tableHeaderText,#8a9c96);font-size:11px;margin-top:6px}nav a{display:block;text-decoration:none;color:var(--theme-sidebarText,#acc3ba);padding:12px 15px;margin:5px 0;border-radius:7px}nav a.active{background:var(--theme-navActive,#2c4c40);color:var(--theme-navActiveText,#e1edaa)}nav a span{display:inline-block;width:25px}.aside-bottom{position:absolute;bottom:30px;font-size:12px}.avatar{float:left;background:var(--theme-success,#627961);color:var(--theme-surface,#ffffff);border-radius:50%;padding:10px;margin-right:10px}main{margin-left:235px}header{height:79px;border-bottom:1px solid var(--theme-border,#e1e7e3);display:flex;justify-content:space-between;align-items:center;padding:0 38px;background:var(--theme-surface,#ffffff);font-size:12px}header i{padding:0 13px;color:var(--theme-sidebarText,#a5b0aa)}header>div{display:flex;align-items:center;gap:20px}.demo{font-size:10px;letter-spacing:1px;color:var(--theme-success,#607760)}#app{padding:34px 38px;min-height:82vh}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}h1{font:800 29px Manrope;margin:0 0 8px;letter-spacing:-1px}p{color:var(--theme-muted,#7a8b83);margin:0;line-height:1.6}h2{font:700 16px Manrope;margin:0}h3{font-size:14px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:var(--theme-muted,#658775);margin-bottom:8px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:27px}.metric,.panel{background:var(--theme-surface,#ffffff);border:1px solid var(--theme-border,#e0e7e2);border-radius:10px}.metric{padding:21px}.metric label{color:var(--theme-muted,#7a8a82);font-size:12px}.metric strong{display:block;font:800 30px Manrope;margin:15px 0 6px}.metric small{color:var(--theme-muted,#6c8c73)}.grid{display:grid;grid-template-columns:2.2fr 1fr;gap:22px}.panel{overflow:hidden;margin-bottom:24px}.panel-title{padding:20px 22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--theme-groupBackground,#edf0ec)}.panel-title a{color:var(--theme-success,#3e7356);font-size:12px}table{width:100%;border-collapse:collapse;text-align:left}th{background:var(--theme-tableHeader,#fafbf9);font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:var(--theme-tableHeaderText,#829087);padding:13px 20px}td{border-top:1px solid var(--theme-groupBackground,#edf0ed);padding:18px 20px;font-size:12px}td b{display:block;color:var(--theme-groupText,#314b40);font-size:13px;margin-bottom:5px}td small{margin:0}tr.clickable:hover{background:var(--theme-rowHover,#f5f9f4);cursor:pointer}.badge{display:inline-block;border-radius:5px;padding:5px 8px;font-size:10px;background:var(--theme-warningBackground,#f1eadb);color:var(--theme-warning,#9b7d30);white-space:nowrap}.Confirmed,.Returned{background:var(--theme-successBackground,#e8f1df);color:var(--theme-success,#587741)}.Dispatched{background:var(--theme-infoBackground,#e5eef7);color:var(--theme-muted,#427099)}.Invoiced{background:var(--theme-surfaceAlt,#eae6f4);color:var(--theme-muted,#756091)}.Cancelled{background:var(--theme-dangerBackground,#f6e4e1);color:var(--theme-danger,#a4584c)}.spotlight{background:var(--theme-successBackground,#e9efde);padding:23px;border-radius:9px;margin-bottom:22px}.spotlight h2{font-size:19px;line-height:1.5}.spotlight p{font-size:12px;color:var(--theme-accent,#6f7b62);margin:10px 0 20px}.task{padding:17px 22px;border-top:1px solid var(--theme-groupBackground,#edf0ed);font-size:12px;display:flex;gap:12px}.task em{font-style:normal;background:var(--theme-groupBackground,#f1f4eb);padding:8px;height:33px;border-radius:7px}.task p{font-size:11px;margin-top:4px}.toolbar{display:flex;gap:12px;margin-bottom:20px}input,select{padding:10px;border:1px solid var(--theme-border,#d9e1db);border-radius:6px;background:var(--theme-surface,#ffffff);color:var(--theme-inputText,#324b3d)}input[type=search]{width:300px}.stock{height:5px;background:var(--theme-groupBackground,#edf1e8);border-radius:5px;width:100px;margin-top:9px}.stock i{display:block;height:5px;background:var(--theme-accent,#78975b);border-radius:5px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:var(--theme-surface,#ffffff);border:1px solid var(--theme-border,#dfe6df);border-radius:9px;padding:23px}.card p{font-size:12px}.card strong{font:700 25px Manrope}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:var(--theme-border,#e1e7df)}.day{background:var(--theme-surface,#ffffff);min-height:125px;padding:10px;font-size:11px}.event{background:var(--theme-successBackground,#e9f0df);padding:7px;margin-top:7px;line-height:1.4;border-radius:4px;cursor:pointer}dialog{border:0;border-radius:13px;padding:28px;max-width:780px;width:94%;box-shadow:0 20px 100px color-mix(in srgb,var(--theme-shadow,#102c34) 27%,transparent)}dialog::backdrop{background:color-mix(in srgb,var(--theme-overlay,#112d28) 40%,transparent)}dialog .heading{margin-bottom:18px}dialog h1{font-size:23px}form label{display:block;font-size:12px;margin:13px 0 5px}form input,form select{width:100%}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.notice{padding:12px;background:var(--theme-warningBackground,#f5f1df);border-radius:7px;font-size:12px;line-height:1.6;margin:15px 0}.line{display:grid;grid-template-columns:3fr 1fr 40px;gap:10px;margin-top:10px}.empty{padding:35px;color:var(--theme-tableHeaderText,#829085)}footer{padding:10px 38px 25px;color:var(--theme-tableHeaderText,#8a998f);font-size:11px;display:flex;justify-content:space-between}footer button{font-size:10px}#toast{position:fixed;bottom:25px;right:25px;background:var(--theme-text,#203f32);color:var(--theme-surface,#ffffff);border-radius:8px;padding:15px;display:none}.money{font-variant-numeric:tabular-nums}.section-note{padding:20px;line-height:1.7;color:var(--theme-muted,#748477);font-size:12px}@media(max-width:1000px){aside{width:185px;padding:25px 12px}main{margin-left:185px}.grid{grid-template-columns:1fr}.metrics{grid-template-columns:1fr 1fr}.cards{grid-template-columns:1fr 1fr}#app{padding:25px 20px}table{min-width:640px}.panel{overflow:auto}}@media(max-width:650px){aside{position:static;width:100%;padding:16px}.brand{font-size:22px}.workspace,.aside-bottom{display:none}nav{display:flex;overflow:auto}nav a{white-space:nowrap;padding:8px;font-size:12px}nav a span{display:none}main{margin:0}header{padding:12px 20px;height:auto}.demo{display:none}.heading{gap:15px}h1{font-size:24px}.metrics{gap:10px}.metric{padding:15px}.cards{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.calendar{overflow:auto}.day{min-width:110px}footer{padding:20px}}
 .directory-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.directory-tabs button{display:flex;gap:10px;align-items:center}.directory-tabs span{font-size:10px;background:var(--theme-groupBackground,#ecf2e5);color:var(--theme-success,#456547);border-radius:10px;padding:2px 6px}.directory-links{border-top:1px solid var(--theme-groupBackground,#edf0ed);padding-top:10px;margin-top:10px}.contact-link{display:block;border:0;padding:7px 0;font-size:12px;text-align:left;color:var(--theme-link,#28634b);background:transparent}.record-actions{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}.record-notes{margin-top:12px;font-size:12px}.toolbar{flex-wrap:wrap}nav a{font-size:13px}nav a span{float:left} .directory-links small{line-height:1.5}
 .quote-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.back-link{display:inline-block;color:var(--theme-muted,#688474);text-decoration:none;font-size:12px;margin-bottom:14px}.quote-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.quote-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.quote-main{min-width:0}.quote-tabs{display:flex;border:1px solid var(--theme-border,#dde5db);background:var(--theme-surface,#ffffff);border-radius:9px;margin-bottom:22px}.quote-tabs a{padding:18px 22px;border-right:1px solid var(--theme-successBackground,#e4e9e0);color:var(--theme-success,#527360);text-decoration:none}.quote-tabs b{margin-left:8px;color:var(--theme-navActive,#254c37)}.quote-section .panel-title{padding:20px}.quote-fields{padding:20px}.quote-fields label{display:block;font-size:11px;color:var(--theme-muted,#75887d);margin:4px 0 7px}.quote-fields input,.quote-fields select,.quote-fields textarea{width:100%;min-width:0;margin-bottom:13px}.quote-fields textarea{font:inherit;border:1px solid var(--theme-border,#d9e1db);border-radius:7px;padding:12px;background:var(--theme-surface,#ffffff);color:var(--theme-inputText,#324b3d);resize:vertical}.quote-fields small{line-height:1.6}.quote-sidebar .panel{margin-bottom:18px}.totals{padding:4px 20px;margin:10px 0}.totals div{display:flex;justify-content:space-between;gap:10px;padding:11px 0;font-size:12px}.totals dt{color:var(--theme-muted,#7c8e81)}.totals dd{margin:0;font-variant-numeric:tabular-nums;font-weight:600}.totals .net{border-top:1px solid var(--theme-border,#e2e8de);margin-top:5px}.totals .grand{border-top:1px solid var(--theme-border,#dce5d5);padding-top:17px;font-size:17px;color:var(--theme-link,#245d40)}.totals .grand dt{color:var(--theme-link,#245d40)}.quote-table-wrap{overflow:auto}.quote-table{min-width:670px}.quote-table th{padding:12px 8px;font-size:9px}.quote-table td{padding:13px 8px}.quote-table td:first-child{min-width:160px;padding-left:20px}.quote-table input{padding:8px;width:70px;font-size:12px}.quote-table td:nth-child(3) input{width:80px}.quote-table td b{font-size:12px}.quote-table td .money{white-space:nowrap}.item-group h3{background:var(--theme-groupBackground,#f0f4ec);border-left:3px solid var(--theme-accent,#8b9e6e);margin:0;padding:12px 20px}.item-group h3 span{font-weight:400;color:var(--theme-tableHeaderText,#8b9a84);font-size:10px;margin-left:10px}.picker-empty{text-align:center;padding:45px 20px}.picker-empty>div{font-size:30px;color:var(--theme-tableHeaderText,#9bb18d);margin-bottom:16px}.picker-empty p{margin:10px 0 22px}.stock-warning{color:var(--theme-danger,#9a6940);font-size:12px;line-height:1.7}.stock-warning p{color:var(--theme-danger,#9a6940);font-size:11px;margin:7px 0}.stock-good{color:var(--theme-success,#4b7b4d);font-size:12px}.picker-dialog{max-width:1000px;padding:0;max-height:90vh}.picker-header{display:flex;align-items:center;justify-content:space-between;background:var(--theme-sidebar,#193e32);color:var(--theme-groupBackground,#eff4e8);padding:22px 26px;position:sticky;top:0;z-index:3}.picker-header .eyebrow{color:var(--theme-sidebarText,#a9c593)}.picker-header h1{margin:0}.picker-header button{background:transparent;color:var(--theme-border,#d9e9d6);border-color:var(--theme-success,#486c53);font-size:19px}.picker-form{padding:18px 26px;background:var(--theme-rowHover,#f7f9f4);border-bottom:1px solid var(--theme-border,#e0e7d9)}.picker-form label{display:block;font-size:11px;color:var(--theme-muted,#708672);margin-bottom:5px}.picker-form input,.picker-form select{width:100%;margin-bottom:12px}.picker-search-actions{display:flex;justify-content:space-between;margin-top:4px}.picker-results-head{display:flex;align-items:center;gap:10px;padding:20px 26px 8px}.picker-results-head h2{margin-right:auto}.picker-results-head span{font-size:11px;color:var(--theme-tableHeaderText,#899785)}.picker-caption{font-size:11px;padding:0 26px 12px}.picker-results{padding:0 20px 20px;overflow:auto;max-height:45vh}.picker-results td{padding:12px 10px}.picker-results th{padding:12px 10px}.picker-results input{width:75px}.picker-product{display:flex;align-items:center;gap:14px;min-width:240px}.picker-product img{width:62px;height:62px;object-fit:contain;border-radius:7px;background:var(--theme-surfaceAlt,#f1f4ee)}.picker-product b{font-size:12px}.favourite-star{border:0;padding:3px 0;color:var(--theme-accent,#72945b);font-size:17px;background:transparent}.stock-pill{display:inline-block;min-width:28px;text-align:center;padding:6px 8px;border-radius:20px;background:var(--theme-successBackground,#e5f0dc);color:var(--theme-success,#5a813c);font-weight:700}.stock-pill.short{background:var(--theme-dangerBackground,#f9e5df);color:var(--theme-danger,#b45b4c)}input:disabled,select:disabled,textarea:disabled{opacity:1;background:var(--theme-rowHover,#f6f8f3);color:var(--theme-success,#59705d)}@media(min-width:1650px){.quote-layout{grid-template-columns:minmax(0,1fr) 340px}}@media(max-width:1200px){.quote-layout{grid-template-columns:minmax(0,1fr)}.quote-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.quote-top{align-items:flex-start}.quote-top h1{font-size:24px}}@media(max-width:650px){.quote-top{display:block}.quote-buttons{margin-top:15px}.quote-sidebar{display:block}.quote-tabs a{padding:14px}.quote-table{min-width:650px}.picker-dialog{width:98%}.picker-form{padding:16px}.picker-results-head{padding:15px;flex-wrap:wrap}.picker-results{padding:0 10px 15px}.picker-results table{min-width:650px}}
 .quote-table{min-width:790px}.quote-table select{padding:8px;width:85px;font-size:12px}.picker-rate-basis{display:block;margin-bottom:8px;padding:6px;font-size:12px}.picker-results td:nth-child(2){min-width:120px}
 .print-dialog{max-width:960px;background:var(--theme-groupBackground,#edf0eb);padding:0;max-height:94vh}.print-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 24px;background:var(--theme-surface,#ffffff);border-bottom:1px solid var(--theme-border,#dce4d9);position:sticky;top:0;z-index:2}.print-toolbar>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.quote-paper{background:var(--theme-surface,#ffffff);margin:28px auto;padding:44px;width:794px;max-width:96%;color:var(--theme-text,#2b4137);box-shadow:0 4px 25px color-mix(in srgb,var(--theme-sidebar,#1e3920) 8%,transparent);font:12px Arial,sans-serif}.paper-brand{display:flex;justify-content:space-between;border-bottom:1px solid var(--theme-border,#d2ded3);padding-bottom:20px;margin-bottom:24px}.paper-brand h2{font-size:26px;color:var(--theme-navActive,#1c4e38);margin:0 0 7px}.paper-brand>div:last-child{text-align:right}.paper-brand span{font-size:10px;color:var(--theme-muted,#738477);letter-spacing:.8px}.quote-paper h1{font:700 23px Arial,sans-serif;letter-spacing:0;margin:0 0 25px}.paper-meta{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-bottom:25px;line-height:1.65;overflow-wrap:anywhere}.paper-meta label{display:block;font-size:10px;color:var(--theme-muted,#738477);letter-spacing:1px;margin-bottom:7px}.paper-meta span,.paper-meta b{display:block}.paper-draft{padding:10px;background:var(--theme-warningBackground,#f7f2e5);color:var(--theme-warning,#866632);font-size:11px;margin-bottom:16px}.paper-table{width:100%;min-width:0;table-layout:fixed;font-family:Arial,sans-serif}.paper-table th{padding:11px 8px;font-size:9px;background:var(--theme-groupBackground,#edf3eb);color:var(--theme-text,#2b4137)}.paper-table th:first-child{width:59%}.paper-table th:nth-child(2){width:8%}.paper-table th:nth-child(3){width:12%}.paper-table th:nth-child(4){width:21%;text-align:right}.paper-table td{padding:14px 8px;vertical-align:top;font-size:11px;overflow-wrap:anywhere}.paper-table td:last-child{text-align:right;white-space:nowrap}.paper-table td b{font:700 11px Arial,sans-serif;margin-bottom:6px}.paper-table td small{font:10px/1.6 Arial,sans-serif;color:var(--theme-muted,#738477);margin:0}.paper-totals{width:320px;max-width:100%;margin:20px 0 25px auto}.paper-totals>div{display:flex;justify-content:space-between;gap:15px;padding:9px 8px;font-size:11px}.paper-totals b{font-weight:500}.paper-totals .paper-grand{background:var(--theme-groupBackground,#edf3eb);color:var(--theme-navActive,#1c4e38);font-size:17px;margin-top:8px;padding:14px 8px}.paper-notes{border-top:1px solid var(--theme-successBackground,#e4eae0);padding-top:10px}.paper-notes p{white-space:pre-wrap;color:var(--theme-text,#2b4137);font-size:11px;overflow-wrap:anywhere}.paper-footer{margin-top:30px;padding-top:12px;border-top:1px solid var(--theme-successBackground,#e4eae0);color:var(--theme-muted,#738477);font:9px/1.7 Arial,sans-serif}@media(max-width:650px){.print-toolbar{flex-direction:column;align-items:flex-start}.quote-paper{padding:20px}.paper-meta{grid-template-columns:1fr;gap:15px}.paper-table th:first-child{width:48%}.paper-table th:nth-child(2){width:10%}.paper-table th:nth-child(3){width:15%}.paper-table th:nth-child(4){width:27%}}
@page{size:A4 portrait;margin:14mm}@media print{body.quote-preview{background:white!important;font-size:11px}body.quote-preview>*:not(#modal){display:none!important}body.quote-preview #modal{display:block!important;position:static!important;inset:auto!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;border:0!important;background:white!important;box-shadow:none!important}body.quote-preview #modal::backdrop{display:none!important}body.quote-preview .print-toolbar{display:none!important}body.quote-preview .quote-paper{width:100%;max-width:none;margin:0;padding:0;box-shadow:none;font-size:11px}body.quote-preview .paper-meta{grid-template-columns:1fr 1fr}body.quote-preview .paper-table{min-width:0}body.quote-preview .paper-table thead{display:table-header-group}body.quote-preview .paper-table tr{break-inside:avoid}body.quote-preview .paper-totals,body.quote-preview .paper-brand{break-inside:avoid}body.quote-preview .quote-paper h1,body.quote-preview .paper-notes h3{break-after:avoid}body.quote-preview .paper-grand{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
 .settings-dialog{max-width:820px}.settings-dialog textarea{font:inherit;width:100%;border:1px solid var(--theme-border,#d9e1db);border-radius:6px;padding:12px;resize:vertical;color:var(--theme-inputText,#324b3d)}.settings-dialog p{font-size:12px}.settings-dialog small{line-height:1.7}.company-section{border:1px solid var(--theme-border,#dfe6dc);background:var(--theme-rowHover,#f7f9f4);padding:16px;margin:15px 0;border-radius:8px}.paper-company{max-width:65%;overflow-wrap:anywhere}.paper-company span{display:block;white-space:pre-wrap;line-height:1.7;letter-spacing:0}.paper-logo{display:block;max-width:180px;max-height:75px;object-fit:contain;margin-bottom:14px}.paper-footer{white-space:pre-wrap}.paper-notes{margin-top:20px}.paper-notes p{white-space:pre-wrap}.paper-notes h3{break-after:avoid}
 .settings-page{padding:28px;max-width:960px}.settings-page .heading{margin-bottom:25px}.settings-page .heading h1{font-size:27px}.settings-page h2{margin:0 0 14px}.settings-page .actions{position:sticky;bottom:0;background:var(--theme-surface,#ffffff);border-top:1px solid var(--theme-border,#e1e7dc);padding:16px 0;margin-bottom:0}.settings-page textarea{line-height:1.6}@media(max-width:650px){.settings-page{padding:20px}}
 .settings-tabs{display:flex;gap:10px;margin:0 0 26px;border-bottom:1px solid var(--theme-border,#dfe6dc);padding-bottom:18px}.settings-description{margin-bottom:20px}.settings-page section[hidden]{display:none}.settings-page h3{margin-top:22px}
 .brand.company-brand{flex-direction:column;gap:12px;font-size:20px;line-height:1.4;overflow-wrap:anywhere}.brand.company-brand b{font-weight:700}.brand .workspace-logo{display:block;max-width:100%;width:auto;max-height:72px;object-fit:contain;align-self:flex-start;background:var(--theme-surface,#ffffff);border-radius:5px;padding:5px}.brand.company-brand span{font-size:8px;letter-spacing:2px}@media(min-width:651px){aside{display:flex;flex-direction:column;gap:0}aside .brand{flex-shrink:0;max-height:230px;overflow:auto}aside .workspace{flex-shrink:0}aside nav{flex:1;min-height:0;overflow:auto}aside .aside-bottom{position:static;flex-shrink:0;margin-top:18px;padding-top:10px}}@media(max-width:650px){.brand.company-brand{flex-direction:row;align-items:center;gap:12px;font-size:18px}.brand .workspace-logo{max-width:90px;max-height:48px;align-self:center}}
 .Quote.sent{background:var(--theme-infoBackground,#e7edf8);color:var(--theme-muted,#4a6f9a)}.stage-entry{border-bottom:1px solid var(--theme-successBackground,#e5eadd);padding:10px 0;font-size:12px}.revision-link{display:block;margin-top:10px;text-align:left;font-size:11px}
 .group-tools{display:flex;gap:8px;flex-wrap:wrap}.custom-group-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:var(--theme-groupBackground,#edf3e7);border-left:3px solid var(--theme-accent,#8b9e6e)}.custom-group-header>input{font-weight:700;background:transparent;border-color:transparent;max-width:300px;min-width:100px}.custom-group-header>div{display:flex;gap:5px;flex-wrap:wrap}.custom-group-header h3{padding:0;border:0}.line-move{min-width:155px}.line-move>div{display:flex;gap:4px;margin-bottom:7px}.quote-table .line-move select{width:145px}.paper-group td{background:var(--theme-groupBackground,#edf3eb)!important;font-weight:700;padding:10px 8px!important}.item-group .quote-table{min-width:950px}.custom-group-header button:disabled{opacity:.4;cursor:default}@media(max-width:650px){.custom-group-header{align-items:flex-start;flex-direction:column}}
 .settings-tabs{flex-wrap:wrap}.approval-demo{max-width:794px;margin:25px auto;padding:30px;background:var(--theme-surface,#ffffff)}.approval-demo label{display:block;margin:18px 0 7px;font-size:12px}.approval-demo>input{width:100%}.approval-demo canvas{display:block;width:100%;height:160px;border:1px solid var(--theme-sidebarText,#b8c9b6);background:var(--theme-surface,#ffffff);border-radius:7px;touch-action:none;margin:10px 0}.approval-demo .approval-consent{display:flex;gap:10px;line-height:1.6}.approval-consent input{width:auto}#approval-demo-result{margin-top:18px;color:var(--theme-link,#376549);line-height:1.6}
 .item-group .quote-table{min-width:790px}.line-move{margin-top:12px}.line-move button{font-size:11px;padding:5px 9px}.line-move select{font-size:11px}.quote-table td:first-child{min-width:195px}
 .hire-tree-wrap{overflow:auto}.hire-tree-table{width:100%;min-width:1050px;font-size:12px}.hire-tree-table th{font-size:9px;padding:12px 8px;white-space:nowrap}.hire-tree-table td{padding:8px;border-bottom:1px solid var(--theme-successBackground,#e5e9e1);vertical-align:middle}.hire-tree-table td:first-child{min-width:360px}.hire-tree-table td input{width:65px;font-size:12px;padding:7px}.hire-tree-table .tree-name{display:flex;align-items:center;gap:7px;min-height:30px;white-space:nowrap}.tree-name>span:not(.tree-spacer){white-space:normal;min-width:120px}.tree-group{background:var(--theme-groupBackground,#f0f4ec);font-weight:700}.tree-group .tree-name{font-size:13px}.hire-tree-table button{padding:4px 7px;font-size:12px;border-color:transparent;background:transparent}.hire-drag-handle{cursor:grab!important;touch-action:none;user-select:none;font-size:20px!important;color:var(--theme-success,#536b5b);min-width:25px}.hire-drag-handle:focus-visible{outline:2px solid var(--theme-success,#5c8153);background:var(--theme-successBackground,#e3edda)}.hire-is-dragging,.hire-is-dragging *{cursor:grabbing!important;user-select:none}.tree-spacer{width:22px;flex-shrink:0}.tree-collapse{width:22px;color:var(--theme-success,#3e6950)}.tree-edit{color:var(--theme-success,#62835a);white-space:nowrap}.tree-remove{opacity:.55}.tree-help{font-size:11px;padding:15px 20px;color:var(--theme-muted,#718775);border-bottom:1px solid var(--theme-successBackground,#e3e9dc)}.tree-help span{display:block;font-size:10px;margin-top:5px}.hire-tree-table tr[data-hire-drop="before"] td{border-top:3px solid var(--theme-success,#4e8058)}.hire-tree-table tr[data-hire-drop="after"] td,.hire-tree-table tr[data-hire-drop="outdent"] td{border-bottom:3px solid var(--theme-success,#4e8058)}.hire-tree-table tr[data-hire-drop="inside"]{background:var(--theme-successBackground,#dcebd4);outline:2px dashed var(--theme-success,#5d8555);outline-offset:-2px}.hire-drop-hint:empty{display:none}.hire-drop-hint{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--theme-text,#214834);color:var(--theme-surface,#ffffff);padding:12px 20px;border-radius:8px;z-index:20;font-size:12px;box-shadow:0 4px 20px color-mix(in srgb,var(--theme-text,#213b33) 13%,transparent)}
 .hire-tree-table td{padding:5px 8px}.hire-tree-table td input{padding:5px;height:28px}.hire-tree-table .tree-name{min-height:27px}


.hire-tree-table tbody tr[data-tree-key]:hover{background:var(--theme-infoBackground,#edf5ff);outline:2px dotted var(--theme-info,#3975b8);outline-offset:-2px}
.hire-tree-table tr.hire-drag-source{background:var(--theme-infoBackground,#dbeafe)!important;outline:2px dotted var(--theme-info,#2563eb);outline-offset:-2px}
.hire-tree-table tr[data-hire-drop] td{border-top:0;border-bottom:1px solid var(--theme-successBackground,#e5e9e1)}
.hire-tree-table tr[data-hire-drop="inside"]{background:var(--theme-infoBackground,#edf5ff);outline:2px dotted var(--theme-info,#3975b8);outline-offset:-2px}
.hire-tree-table .hire-drop-space td{padding:5px 8px;background:var(--theme-surface,#ffffff);border:0}
.hire-drop-space td>div{min-height:38px;display:flex;align-items:center;padding:8px 16px;box-sizing:border-box;border:2px dotted var(--theme-info,#2563eb);border-radius:5px;background:var(--theme-infoBackground,#eff6ff);color:var(--theme-link,#245b97);font-size:12px;font-weight:600}

.hire-tree-table{min-width:950px}.applied-hire-rate{min-width:125px;line-height:1.6;color:var(--theme-navActive,#244c3c);font-weight:600}
/* Give the quote editor the full workspace width. */
.quote-layout{grid-template-columns:minmax(0,1fr)}
.quote-sidebar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
.quote-sidebar .panel{margin-bottom:0}
.hire-tree-table{min-width:0;table-layout:fixed}
.hire-tree-table th:nth-child(1){width:34%}.hire-tree-table th:nth-child(2){width:7%}.hire-tree-table th:nth-child(3){width:7%}.hire-tree-table th:nth-child(4){width:16%}.hire-tree-table th:nth-child(5){width:12%}.hire-tree-table th:nth-child(6){width:9%}.hire-tree-table th:nth-child(7){width:12%}.hire-tree-table th:nth-child(8){width:3%}
.hire-tree-table td:first-child{min-width:0}.hire-tree-table th{white-space:normal;padding:12px 6px}.hire-tree-table td{padding:8px 6px;overflow-wrap:anywhere}
.hire-tree-table td input{width:100%;max-width:65px;min-width:0;box-sizing:border-box}
.hire-tree-table .tree-name{white-space:normal;flex-wrap:wrap;gap:5px}.tree-name>span:not(.tree-spacer){min-width:0;flex:1}.hire-drag-handle,.tree-collapse{flex-shrink:0}.hire-tree-table .tree-edit{padding:4px;font-size:11px}.applied-hire-rate{min-width:0;font-size:11px}.hire-tree-table td:nth-last-child(2){font-variant-numeric:tabular-nums}.hire-tree-table .tree-remove{padding:4px 0}
@media(max-width:1000px){.quote-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.hire-tree-table{font-size:11px}.hire-tree-table th:nth-child(1){width:30%}.hire-tree-table th:nth-child(4){width:20%}}
@media(max-width:650px){.quote-sidebar{grid-template-columns:minmax(0,1fr)}.hire-tree-table{min-width:640px}}

/* Type quantity and discount values directly without spinner controls. */
.hire-tree-table input[type="number"],#q-discount{-moz-appearance:textfield;appearance:textfield}
.hire-tree-table input[type="number"]::-webkit-inner-spin-button,.hire-tree-table input[type="number"]::-webkit-outer-spin-button,#q-discount::-webkit-inner-spin-button,#q-discount::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

.hire-tree-table .tree-name .quote-product-description{flex:1;min-width:80px;max-width:none;width:100%;height:32px;padding:5px 7px;background:var(--theme-surface,#ffffff);border:1px solid var(--theme-sidebarText,#cbd8c7);border-radius:5px;color:var(--theme-text,#254537);font:inherit}.hire-tree-table .quote-product-description:hover{border-color:var(--theme-muted,#769a76)}.hire-tree-table .quote-product-description:focus{outline:2px solid var(--theme-tableHeaderText,#80a3c6);outline-offset:1px;border-color:var(--theme-info,#3975b8)}

.hire-tree-table .tree-menu-trigger{color:var(--theme-info,#2464a6);font-size:22px;padding:0;min-width:24px;line-height:1.2;cursor:pointer}.hire-tree-table .tree-menu-trigger:hover{background:var(--theme-infoBackground,#dceafb)}.hire-line-menu-layer{position:fixed;inset:0;z-index:80}.hire-menu-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;background:transparent;cursor:default}.hire-line-menu{position:fixed;width:190px;padding:6px;background:var(--theme-surface,#ffffff);border:1px solid var(--theme-sidebarText,#c7d2c4);border-radius:8px;box-shadow:0 8px 24px color-mix(in srgb,var(--theme-sidebar,#163524) 20%,transparent)}.hire-line-menu>button{display:block;text-align:left;width:100%;border:0;background:var(--theme-surface,#ffffff);padding:12px;border-radius:4px;color:var(--theme-text,#294735);font-size:13px}.hire-line-menu>button:hover,.hire-line-menu>button:focus-visible{background:var(--theme-groupBackground,#edf4e9)}.hire-line-menu>button.hire-menu-delete{border-top:1px solid var(--theme-border,#e1e7dd);border-radius:0;margin-top:5px;color:var(--theme-danger,#a13f35)}#edit-line-qty,#edit-line-discount,#edit-line-daily,#edit-line-weekly{appearance:textfield}#modal input[type=number]::-webkit-inner-spin-button,#modal input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.hire-menu-backdrop:hover,.hire-menu-backdrop:focus,.hire-menu-backdrop:active{background:transparent;outline:none}
.hire-tree-table .tree-menu-trigger{min-width:0;width:100%;box-sizing:border-box}
.equipment-product{display:flex;gap:16px;align-items:center;min-width:240px}.equipment-product img{width:68px;height:68px;object-fit:contain;background:var(--theme-surfaceAlt,#f4f7ef);border-radius:8px;flex-shrink:0}.equipment-product p{font-size:11px;color:var(--theme-muted,#69806d);margin:6px 0 0;max-width:350px;white-space:pre-line;line-height:1.6}.equipment-actions{display:flex;gap:7px;flex-wrap:wrap}.equipment-actions button{font-size:11px}.equipment-dialog{width:min(880px,94vw);max-height:90vh;overflow:auto}.equipment-edit-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:25px}.equipment-image-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed var(--theme-sidebarText,#bdceb9);background:var(--theme-rowHover,#f5f8f1);border-radius:8px;padding:12px;margin-bottom:12px;min-height:150px}.equipment-image-preview img{max-width:100%;height:130px;object-fit:contain}.equipment-error{color:var(--theme-danger,#aa4032);font-size:12px;line-height:1.6}.picker-description{max-width:300px;white-space:pre-line;font-size:11px!important;line-height:1.5}#equipment-image{font-size:11px}#equipment-image-status{font-size:11px;color:var(--theme-success,#4c714d)}@media(max-width:650px){.equipment-edit-layout{grid-template-columns:1fr}.equipment-product{min-width:190px}.equipment-product img{width:48px;height:48px}}
.equipment-dialog textarea{width:100%;box-sizing:border-box;resize:vertical;padding:10px;border:1px solid var(--theme-border,#dce3df);border-radius:7px;font:inherit;font-size:13px;line-height:1.5}.equipment-dialog input[type=number]{appearance:textfield}
.equipment-group-manager{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.equipment-group-row{display:flex;align-items:center;justify-content:space-between;padding:10px 8px;border-bottom:1px solid var(--theme-border,#e1e8dc);gap:12px}.equipment-group-row small{display:block;color:var(--theme-muted,#7c9076);font-size:11px;margin-top:4px}.equipment-group-row button{padding:5px 8px}.equipment-product .equipment-select{width:16px;height:16px;flex-shrink:0;margin:0}.heading>.group-tools{justify-content:flex-end}#equipment-group-tree{max-height:480px;overflow:auto}.equipment-group-manager h2{margin-top:0}@media(max-width:650px){.equipment-group-manager{grid-template-columns:1fr}.heading>.group-tools{justify-content:flex-start}}
/* Explicit semantic colour roles for all main interface areas. */
html,body{background:var(--theme-pageBackground,#f6f8f7);color:var(--theme-text,#2b4137)}
body p,body small,.section-note,.quote-fields label,.totals dt{color:var(--theme-muted,#7a8b83)}
body h1,body h2,body h3,td b{color:var(--theme-text,#2b4137)}
aside{background:var(--theme-sidebar,#132f2b);color:var(--theme-sidebarText,#bed0c8)}aside a,aside small,aside .brand,aside .brand b{color:var(--theme-sidebarText,#bed0c8)}nav a.active{background:var(--theme-navActive,#2c4c40);color:var(--theme-navActiveText,#e1edaa)}
a,.contact-link,.back-link,.tree-edit{color:var(--theme-link,#28634b)}
header,.panel,.metric,.card,dialog,.hire-line-menu,.hire-line-menu>button,.quote-tabs{background:var(--theme-surface,#ffffff);color:var(--theme-text,#2b4137);border-color:var(--theme-border,#dce3df)}
button{background:var(--theme-surface,#ffffff);color:var(--theme-text,#2b4137);border-color:var(--theme-border,#dce3df)}button:hover{background:var(--theme-rowHover,#f5f9f4)}button.primary,.settings-tabs button.primary{background:var(--theme-primary,#20664b);border-color:var(--theme-primary,#20664b);color:var(--theme-primaryText,#ffffff)}
input,select,textarea,.quote-fields textarea{background:var(--theme-inputBackground,#ffffff);color:var(--theme-inputText,#324b3d);border-color:var(--theme-border,#dce3df)}input:focus,select:focus,textarea:focus{outline-color:var(--theme-info,#2563eb)}input:disabled,select:disabled,textarea:disabled{background:var(--theme-surfaceAlt,#f1f4ee);color:var(--theme-muted,#7a8b83)}
th{background:var(--theme-tableHeader,#fafbf9);color:var(--theme-tableHeaderText,#829087)}td,.panel-title,.task{border-color:var(--theme-border,#dce3df)}tr.clickable:hover{background:var(--theme-rowHover,#f5f9f4)}
.tree-group,.custom-group-header,.item-group h3{background:var(--theme-groupBackground,#f0f4ec);color:var(--theme-groupText,#314b40)}.tree-group .tree-name>span{color:var(--theme-groupText,#314b40)}
.stock i{background:var(--theme-accent,#78975b)}.stock{background:var(--theme-surfaceAlt,#f1f4ee)}.stock-pill,.stock-good{background:var(--theme-successBackground,#e5f0dc);color:var(--theme-success,#4b7b4d)}.stock-pill.short{background:var(--theme-dangerBackground,#f6e4e1);color:var(--theme-danger,#a4584c)}
.notice{background:var(--theme-warningBackground,#f5f1df);color:var(--theme-warning,#9b7d30)}.equipment-error,.hire-menu-delete,#smtp-action-message:empty{color:var(--theme-danger,#a4584c)}
.picker-header,.shared-server-bar,#toast{background:var(--theme-sidebar,#132f2b);color:var(--theme-sidebarText,#bed0c8)}.picker-header h1,.picker-header h2,.picker-header small,.picker-header .eyebrow{color:var(--theme-sidebarText,#bed0c8)}
.hire-tree-table tbody tr[data-tree-key]:hover{background:var(--theme-infoBackground,#edf5ff);outline-color:var(--theme-info,#2563eb)}.hire-tree-table tr.hire-drag-source,.hire-tree-table tr[data-hire-drop='inside']{background:var(--theme-infoBackground,#edf5ff)!important;outline-color:var(--theme-info,#2563eb)}.hire-drop-space td>div{background:var(--theme-infoBackground,#edf5ff);border-color:var(--theme-info,#2563eb);color:var(--theme-info,#2563eb)}
.badge.Quote{background:var(--theme-quoteBackground,#f1eadb);color:var(--theme-quoteText,#9b7d30)}.badge.Quote.sent{background:var(--theme-sentBackground,#e5eef7);color:var(--theme-sentText,#427099)}.badge.Confirmed{background:var(--theme-confirmedBackground,#e8f1df);color:var(--theme-confirmedText,#587741)}.badge.Dispatched{background:var(--theme-dispatchedBackground,#e5eef7);color:var(--theme-dispatchedText,#427099)}.badge.Returned{background:var(--theme-returnedBackground,#e8f1df);color:var(--theme-returnedText,#587741)}.badge.Invoiced{background:var(--theme-invoicedBackground,#eae6f4);color:var(--theme-invoicedText,#756091)}.badge.Cancelled{background:var(--theme-cancelledBackground,#f6e4e1);color:var(--theme-cancelledText,#a4584c)}
.branding-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0}.branding-tools select{width:auto;max-width:100%}.branding-tools label{margin:0}.theme-colour-groups details{border:1px solid var(--theme-border,#dce3df);border-radius:8px;margin:12px 0;padding:14px}.theme-colour-groups summary{font-weight:700;cursor:pointer}.colour-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;margin:12px 0}.colour-control label{margin-bottom:7px}.colour-control>div{display:flex;gap:8px}.colour-control input[type=color]{width:44px;height:38px;flex-shrink:0;padding:3px}.colour-control input:not([type=color]){width:100%;min-width:0;font-family:monospace}.theme-sample{padding:20px;border:1px solid var(--theme-border,#dce3df);border-radius:8px;margin-top:20px}.theme-sample>div{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:15px 0}.theme-sample p{font-size:12px}.email-template-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.email-template-layout textarea{width:100%;font:inherit;font-size:13px;line-height:1.6;border:1px solid var(--theme-border,#dce3df);border-radius:6px;padding:12px;resize:vertical}.email-template-layout input{width:100%}.email-sample-subject{padding:16px;border:1px solid var(--theme-border,#dce3df);font-size:12px;margin:16px 0 0}.email-sample{padding:20px;border:1px solid var(--theme-border,#dce3df)}.email-sample>div{padding:24px;overflow-wrap:anywhere}.email-sample h3{margin:10px 0 25px}.email-sample p{font-size:13px;line-height:1.7}.email-sample-footer{margin-top:28px!important;border-top:1px solid var(--theme-border,#dce3df);padding-top:18px}#template-validation{font-size:12px;margin:14px 0;line-height:1.7}
.quote-paper{background:var(--theme-documentBackground,#ffffff);color:var(--theme-documentText,#2b4137)}.quote-paper h1,.quote-paper h2,.quote-paper h3,.quote-paper .paper-grand{color:var(--theme-documentAccent,#1c4e38)}.quote-paper p,.quote-paper b,.quote-paper td{color:var(--theme-documentText,#2b4137)}.quote-paper small,.quote-paper label,.quote-paper .paper-footer,.quote-paper .paper-brand span{color:var(--theme-documentMuted,#738477)}.quote-paper th,.quote-paper .paper-group td,.quote-paper .paper-grand{background:var(--theme-documentBand,#edf3eb)!important}.quote-paper th{color:var(--theme-documentText,#2b4137)}.quote-paper td,.quote-paper .paper-brand,.quote-paper .paper-footer,.quote-paper .paper-grand{border-color:var(--theme-documentBorder,#d2ded3)}
@media(max-width:1050px){.colour-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.email-template-layout{grid-template-columns:1fr}}@media(max-width:650px){.colour-grid{grid-template-columns:1fr}}@media print{.quote-paper{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
