@font-face{font-family:Relos;src:url('/assets/fonts/inter-latin.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Relos;src:url('/assets/fonts/inter-latin-ext.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root{--bg:#f6f7f4;--ink:#202824;--muted:#626d64;--line:#e6e9e2;--orange:#f87527;--green:#26745a;--font:Relos,'Segoe UI',sans-serif;--heading:Relos,'Segoe UI',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 var(--font)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ef8e48;outline-offset:3px}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{font-family:var(--heading);letter-spacing:-.04em}h1{font-size:2.0rem;font-weight:750;line-height:1.2;margin-bottom:10px}h2{font-size:1.125rem;font-weight:750;margin-bottom:7px}h3{font-size:1.0625rem}small{font-size:1rem}svg{flex-shrink:0;vertical-align:middle}.boot,.loading{padding:80px;text-align:center;color:var(--muted)}.muted{color:var(--muted)}.eyebrow{font-size:.875rem;letter-spacing:1.8px;font-weight:700;display:block;margin-bottom:10px;color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);font-size:1rem;font-weight:650;white-space:nowrap}.btn:hover{background:#f2f4ef}.btn.primary{background:var(--orange);border-color:var(--orange);color:#211409}.btn.primary:hover{background:#ff8b46}.btn.light{background:#fff;color:var(--ink);border-color:#fff}.btn.text-btn{border:0;background:transparent;padding:7px 0;min-height:30px;color:#465e50}.btn.danger{color:#ae3b2c;border-color:#eac4bd}.btn.icon-btn{padding:8px;border:0;background:transparent;min-width:44px;min-height:44px;color:inherit}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.workspace{display:flex;min-height:100vh}.sidebar{width:252px;position:fixed;inset:0 auto 0 0;overflow-y:auto;background:#171c19;color:#9ba69e;display:flex;flex-direction:column;padding:29px 18px 0;z-index:10}.brand{display:flex;align-items:center;gap:10px;color:white}.brand img{width:42px;height:42px}.brand>span{font-size:1.5rem;line-height:1;font-weight:800;font-family:var(--heading);letter-spacing:1px;font-style:italic}.brand small{display:block;font-size:.875rem;font-weight:600;letter-spacing:3px;color:#f48335;line-height:1.6;font-style:normal}.workspace-label{margin:28px 0 30px;padding:10px 12px;border:1px solid #313932;border-radius:6px;font-size:1rem;color:#d0d7d0;display:flex;align-items:center;gap:9px}.workspace-label i,.live-dot{width:6px;height:6px;background:#82ac84;border-radius:50%;display:inline-block}.nav-label{font-size:.875rem;font-weight:700;letter-spacing:1.8px;color:#68796e;margin:0 12px 12px}.sidebar nav{display:grid;gap:5px}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:11px 13px;font-size:1rem;border-radius:6px;position:relative}.sidebar nav a svg{width:17px;height:17px}.sidebar nav a:hover{background:#232c26;color:#fff}.sidebar nav a.active{background:#2d352b;color:#e4ebd8}.sidebar nav a.active:before{content:'';position:absolute;left:-18px;height:18px;width:3px;border-radius:0 3px 3px 0;background:#b9d18b}.nav-dot{width:5px;height:5px;border-radius:50%;background:#e9944e;margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:34px}.sidebar-bottom>a{display:flex;gap:12px;align-items:center;font-size:1rem;padding:10px}.profile{border-top:1px solid #30372f;margin-top:19px;padding:20px 0;display:flex;align-items:center;gap:9px}.avatar{width:33px;height:33px;background:#3d4838;color:#dbe5d0;border-radius:50%;display:grid;place-items:center;font-size:.875rem}.profile strong{display:block;font-size:1rem;color:#e2e7e0}.profile small{font-size:.875rem;color:#778779}.profile .btn{margin-left:auto;padding:5px;min-width:24px}.profile svg{width:16px}.main-shell{margin-left:252px;width:calc(100% - 252px);min-height:100vh;display:flex;flex-direction:column}.topbar{height:72px;border-bottom:1px solid var(--line);padding:0 36px;display:flex;align-items:center;justify-content:space-between;background:#fbfcf9}.breadcrumb{font-size:1rem;color:#90978e;display:flex;gap:13px}.breadcrumb b{font-weight:500;color:#3e4c42}.topbar-right{display:flex;gap:8px;align-items:center;font-size:.875rem;color:#667468}.topbar-right .today{border-left:1px solid var(--line);padding-left:17px;margin-left:10px}.mobile-menu{display:none!important}#content{padding:33px 36px 20px;flex:1;max-width:1700px;width:100%;margin:auto}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}.page-heading p{color:#626d64;font-size:1rem;margin:0}.page-heading .eyebrow{font-size:.875rem;letter-spacing:1.6px;margin-bottom:11px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:19px 20px;min-width:0}.stat-card>div{display:flex;align-items:center;justify-content:space-between;color:#758072;font-size:1rem;gap:5px}.stat-card svg{width:16px;color:#939c8e}.stat-card>strong{display:block;font-family:var(--heading);font-weight:700;letter-spacing:-1.4px;font-size:1.8125rem;margin:12px 0 8px;line-height:1.2}.stat-card>small{font-size:.875rem;color:#8a9486}.overview-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;min-width:0;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 22px 18px}.panel-heading p{margin:0;font-size:1rem;color:#949b90}.panel-heading h2{font-size:1.0rem;letter-spacing:-.03em}.text-link{font-size:.875rem;color:#54694e;display:inline-flex;gap:7px;align-items:center;font-weight:600}.text-link svg{width:14px;height:14px}.count{display:inline-flex;border:1px solid var(--line);padding:0 6px;font:10px var(--font);line-height:18px;border-radius:4px;margin-left:7px;color:#7f8d75;vertical-align:middle}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:.875rem;letter-spacing:.6px;font-weight:600;text-transform:uppercase;color:#899481;background:#fafbf8;border-block:1px solid #edf0e9;padding:12px 20px;white-space:nowrap}td{padding:16px 20px;border-bottom:1px solid #eef0eb;font-size:1rem;color:#66745d;white-space:nowrap}td b{font-weight:600;color:#31412f}td small{display:block;font-size:.875rem;color:#8d9786;margin-top:4px}td small span{color:#a1a99b}.row-link{border:0;padding:0;background:transparent;color:#30432c;font-size:1rem;font-weight:600;text-align:left}.row-link:hover{text-decoration:underline}tr:last-child td{border-bottom:0}.badge{display:inline-flex;gap:5px;align-items:center;font-size:.875rem;font-weight:600;line-height:1.4;padding:4px 7px;border-radius:4px;background:#f0f2ed;color:#78816f;white-space:nowrap}.badge i{width:4px;height:4px;border-radius:50%;background:currentColor}.badge.ready,.badge.paid,.badge.in_stock,.badge.active,.badge.delivered,.badge.converted{background:#eaf3e9;color:#54804b}.badge.diagnosing,.badge.received,.badge.booking{background:#eef1f6;color:#667e9c}.badge.repairing,.badge.contacted{background:#eeedf6;color:#82709c}.badge.awaiting_approval,.badge.partial,.badge.low_stock,.badge.new,.badge.gaming,.badge.product{background:#fff3e2;color:#ac8448}.badge.awaiting_parts,.badge.unpaid,.badge.out_of_stock,.badge.void{background:#faeae4;color:#af6a51}.attention .panel-heading{padding-bottom:12px}.attention .eyebrow{font-size:.875rem;letter-spacing:1.3px}.attention .panel-heading>svg{color:#a0a78f}.attention>a{display:flex;align-items:center;gap:12px;margin:0 21px;padding:17px 0;border-bottom:1px solid #edf0e8}.attention>a>svg{width:13px;color:#abb3a1;margin-left:auto}.attention-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:7px;flex-shrink:0}.attention-icon svg{width:16px}.green{background:#edf4e8;color:#63834b}.amber{background:#fdf1df;color:#a78b50}.red{background:#f9eee7;color:#b87a56}.attention strong{display:block;font-size:1rem;font-weight:600;color:#4b5d40}.attention small{display:block;font-size:.875rem;color:#99a18e;margin-top:3px}.attention-note{font-size:.875rem;color:#99a28f;padding:17px 21px}.enquiry-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:2px 20px 22px}.enquiry-card{border:1px solid #e9ede3;border-radius:7px;background:#fff;text-align:left;padding:15px;color:inherit;min-width:0}.enquiry-card:hover{background:#fafcf7}.enquiry-top{display:flex;justify-content:space-between;gap:5px;align-items:center;margin-bottom:20px}.enquiry-top>small{font-size:.875rem;color:#a4ab9c}.enquiry-card h3{font-size:1rem;letter-spacing:0;margin-bottom:7px}.enquiry-card p{font-size:.875rem;color:#8e9785;line-height:1.7;min-height:35px}.enquiry-card .text-link{font-size:.875rem}.quick-card{background:#eaf0de;border:1px solid #dfe8d2;border-radius:9px;padding:27px;position:relative;overflow:hidden;min-height:220px}.quick-card .eyebrow{font-size:.875rem;letter-spacing:1px;color:#91a075;position:relative;z-index:1}.quick-card h2{font-size:1.4375rem;line-height:1.35;color:#536541;position:relative;z-index:1}.quick-card p{font-size:1rem;line-height:1.7;color:#8c9a77;position:relative;z-index:1}.quick-card .btn{font-size:.875rem;min-height:34px;padding:7px 11px;position:relative;z-index:1}.app-footer{padding:20px 36px 24px;font-size:.875rem;letter-spacing:2px;color:#9da792;display:flex;justify-content:space-between}.app-footer span{letter-spacing:.2px;font-size:.875rem}.demo-banner{background:#fff1da;color:#88622f;padding:7px 36px;display:flex;justify-content:space-between;gap:15px;font-size:.875rem}.demo-banner button{background:none;border:0;text-decoration:underline;font:inherit;color:inherit}.list-toolbar{display:flex;gap:12px;align-items:center;padding:18px 20px;flex-wrap:wrap}.search-box{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:6px;padding:8px 11px;min-width:220px}.search-box svg{width:15px;color:#99a38e}.search-box input{border:0;outline:none;font-size:1rem;width:100%;background:none;color:var(--ink)}.list-toolbar .field{font-size:.875rem;display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0}.list-toolbar .field select{padding:8px;font-size:1rem}.result-count{margin-left:auto;color:#626d64;font-size:.875rem}.pagination{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-top:1px solid var(--line);font-size:.875rem;color:#626d64}.pagination>div{display:flex;gap:7px}.pagination .btn{font-size:.875rem;min-height:30px;padding:5px 10px}.empty{padding:55px 20px;text-align:center;color:#9ca590}.empty svg{width:28px;height:28px;margin-bottom:12px}.empty h3{font-size:1.0rem;color:#5f7053;margin-bottom:7px}.empty p{font-size:1rem;margin:0}.low-stock{color:#ba8040!important}.notice{border:1px solid #e8dcc4;background:#fff8e9;color:#84643c;padding:12px 15px;border-radius:7px;font-size:1rem}.notice.error{border-color:#edbfb4;color:#a84b35;background:#fff2ee}.form-error{color:#b44731;font-size:1rem;white-space:pre-wrap}.form-error:empty{display:none}.field{display:flex;flex-direction:column;gap:6px;font-size:1rem;color:#64715a;font-weight:500;margin-bottom:3px;min-width:0}.field input,.field select,.field textarea,.invoice-editor input{width:100%;min-height:41px;border:1px solid #dce3d5;border-radius:6px;background:#fff;padding:10px 11px;color:#263422;font-size:1rem}.field textarea{resize:vertical;min-height:80px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.full{grid-column:1/-1}.form-footer{border-top:1px solid var(--line);padding-top:20px;margin-top:24px;display:flex;justify-content:flex-end;gap:10px}.form-section{margin-top:5px;border-bottom:1px solid var(--line);padding-bottom:10px}.form-section h3{margin:0;font-size:1rem}.form-section p,.form-hint{font-size:1rem;color:#626d64;margin:7px 0 0}.accessory-fields{border:1px solid var(--line);border-radius:6px;padding:12px;display:flex;gap:22px;font-size:1rem}.accessory-fields legend{font-size:1rem;color:#879577}.accessory-fields input,.confirm-line input{accent-color:var(--orange)}.confirm-line{font-size:1rem;display:flex;align-items:center;gap:10px}.settings-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:24px}.settings-panel{padding:24px;margin-bottom:22px}.settings-panel .form-grid{margin-top:25px;margin-bottom:22px}.settings-panel p{font-size:1rem}.report-range{display:flex;align-items:end;gap:14px;margin-bottom:24px}.report-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:24px}.bar-chart{padding:16px 24px 30px}.bar-chart>div{display:grid;grid-template-columns:60px 1fr 90px;gap:15px;align-items:center;margin-bottom:20px;font-size:1rem}.bar-chart i{display:block;height:20px;width:var(--bar);border-radius:3px;background:#bccd9e;min-width:2px}.bar-chart b{text-align:right}.report-lines{padding:0 22px 18px}.report-lines>div{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line);gap:20px;font-size:1rem}.report-lines small{display:block;color:#9ba48f;font-size:.875rem;margin-top:4px}.report-footnote{font-size:1rem;margin:22px 0}.compact{grid-template-columns:1fr 1fr}dialog{padding:0;border:1px solid #dae0d4;border-radius:12px;width:min(640px,calc(100% - 30px));max-height:90vh;color:var(--ink);box-shadow:0 25px 100px #16201633}dialog.wide{width:min(1050px,calc(100% - 30px))}dialog::backdrop{background:#10221566;backdrop-filter:blur(3px)}.modal-head{padding:23px 27px 19px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:4}.modal-head .eyebrow{font-size:.875rem;margin-bottom:5px}.modal-head h2{font-size:1.3125rem;margin:0}.modal-body{padding:25px 27px}.detail-top{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:22px}.detail-top h3{font-size:1.375rem;margin:10px 0 5px}.detail-top p{font-size:1rem;color:#8c997d;margin:5px 0}.detail-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:28px}.detail-grid h4{font-size:1rem;letter-spacing:0;margin-bottom:8px}.detail-grid p{font-size:1rem;color:#829174}.detail-aside{background:#f7f9f3;padding:20px;border-radius:8px}.key-values{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:1rem;margin:24px 0}.key-values>span{color:#8d9b7d}.key-values>b{font-weight:500}.tracking-code{display:block;font-size:.875rem;word-break:break-all;border:1px solid var(--line);background:#fff;padding:9px;margin-bottom:16px}.timeline{list-style:none;padding:0;margin-top:16px}.timeline li{border-left:1px solid #cfdabb;padding:0 0 20px 15px;position:relative;font-size:1rem}.timeline li:before{content:'';position:absolute;width:5px;height:5px;background:#99ad7f;border-radius:50%;left:-3px;top:4px}.timeline span{display:block;color:#9ba88c;margin-top:5px;font-size:.875rem}.detail-aside h4{margin-top:24px}.detail-aside h4:first-child{margin-top:0}.history-row{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid var(--line);gap:15px;font-size:1rem}.enquiry-detail{border-radius:7px;background:#f6f8f1;padding:18px}.enquiry-detail dl{margin:0;display:grid;grid-template-columns:100px 1fr;gap:10px;font-size:1rem}.enquiry-detail dt{color:#8d997e}.enquiry-detail dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.inventory-picker{display:grid;grid-template-columns:1fr 1.4fr auto;gap:12px;align-items:end}.invoice-editor th,.invoice-editor td{padding:10px}.invoice-editor th:first-child{width:50%}.invoice-editor input{min-width:70px}.invoice-editor td:first-child input{min-width:180px}.invoice-editor small{font-size:.875rem}.invoice-summary{background:#f5f8ee;display:flex;gap:25px;justify-content:flex-end;padding:18px;border-radius:7px;margin:15px 0}.invoice-summary span{font-size:.875rem;color:#8a9975}.invoice-summary b{display:block;font-family:var(--heading);font-size:1.25rem;color:#4f6238;margin-top:6px;font-weight:700}.preview-toolbar{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:15px}.preview-toolbar p{font-size:1rem;color:#859272;margin:0}.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-story{padding:55px 65px;background:#17201b;color:white;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;position:relative;overflow:hidden}.login-story>div,.login-story>small,.login-story>a{position:relative;z-index:1}.login-story h1{font-size:3.125rem;line-height:1.25;margin:20px 0}.login-story p{color:#a5b09e;font-size:1rem;line-height:1.9}.login-story .eyebrow{color:#9eaf85;font-size:.875rem}.login-tags{display:flex;gap:25px;font-size:1rem;color:#aeb9a5;margin-top:35px}.login-tags span{display:flex;align-items:center;gap:9px}.login-story>small{font-size:.875rem;color:#788c75}.login-panel{display:flex;align-items:center;justify-content:center;padding:60px}.login-panel>div{width:350px}.login-panel h2{font-size:1.75rem;line-height:1.3}.login-panel>div>p{font-size:1rem;margin-bottom:30px}.login-panel .field{margin:20px 0}.login-panel form>.btn{width:100%;margin-top:8px}.sample-entry{margin-top:34px;border-top:1px solid var(--line);padding-top:20px}.sample-entry small{display:block;color:#98a28e;font-size:.875rem}.back-site{display:block;color:#839078;font-size:1rem;margin-top:40px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#233423;color:white;padding:13px 22px;border-radius:8px;box-shadow:0 5px 25px #0002;font-size:1rem;z-index:100;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){#content{padding-top:45px}.overview-grid{gap:26px}.stat-card{padding:25px}.stat-card>strong{font-size:2.125rem}.panel-heading{padding:25px}td{padding-top:19px;padding-bottom:19px}}
@media(max-width:1200px){.sidebar{width:205px}.main-shell{margin-left:205px;width:calc(100% - 205px)}#content{padding:26px 23px}.topbar{padding:0 23px}.page-heading{align-items:start}.page-heading .actions{justify-content:flex-end}.stat-grid{gap:10px}.stat-card{padding:16px 13px}.stat-card>strong{font-size:1.5625rem}.overview-grid{grid-template-columns:1fr}.enquiry-cards{grid-template-columns:repeat(3,1fr)}.quick-card{min-height:210px}.attention>a{padding:13px 0}.settings-grid{grid-template-columns:1fr}.login-story{padding:40px}.login-story h1{font-size:2.5rem}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:230px}.sidebar.mobile-open{transform:translateX(0);box-shadow:0 0 0 100vmax #0005}.main-shell{margin-left:0;width:100%}.mobile-menu{display:inline-flex!important}.topbar{height:58px;padding:0 15px;gap:10px}.topbar-right{margin-left:auto;font-size:.875rem}.topbar-right .today{display:none}.breadcrumb{display:none}#content{padding:24px 16px}.page-heading{flex-direction:column;gap:17px}h1{font-size:1.75rem}.page-heading .actions{justify-content:flex-start}.stat-grid{grid-template-columns:1fr 1fr;gap:10px}.stat-card>strong{font-size:1.5625rem}.stat-card>div{font-size:.875rem}.stat-card>small{font-size:.875rem}.overview-grid{gap:17px}.panel-heading{padding:18px 16px}.panel-heading h2{font-size:1rem}td,th{padding-left:14px;padding-right:14px}.enquiry-cards{grid-template-columns:1fr;padding:0 16px 16px}.enquiry-top{margin-bottom:12px}.enquiry-card p{min-height:0}.demo-banner{padding:7px 16px;font-size:.875rem}.demo-banner span{max-width:80%}.app-footer{padding:16px;font-size:.875rem}.app-footer span{font-size:.875rem}.form-grid,.detail-grid,.report-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.modal-head{padding:18px}.modal-body{padding:20px 16px}.modal-head h2{font-size:1.1875rem}.detail-top{flex-direction:column}.inventory-picker{grid-template-columns:1fr}.invoice-summary{flex-wrap:wrap;justify-content:space-between;gap:15px}.invoice-summary b{font-size:1.125rem}.preview-toolbar{flex-direction:column;align-items:start}.document-preview{padding:10px}.list-toolbar{padding:15px;gap:9px}.search-box{width:100%;min-width:0}.result-count{font-size:.875rem}.report-range{flex-wrap:wrap}.report-range .field{flex:1}.login-layout{grid-template-columns:1fr}.login-story{min-height:0;padding:28px;gap:40px}.login-story h1{font-size:2.0rem;margin:12px 0}.login-story p,.login-tags,.login-story>small{display:none}.login-panel{padding:35px 28px}.login-panel>div{width:100%}.login-panel h2{font-size:1.5625rem}.bar-chart>div{grid-template-columns:50px 1fr 80px;gap:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Readable controls and consistent search alignment at every viewport size. */
[hidden]{display:none!important}
.list-toolbar{display:flex;align-items:flex-end;gap:16px;padding:22px 24px}
.list-toolbar .field{display:flex;flex-direction:column;align-items:stretch;gap:7px;margin:0;flex:0 1 210px;color:#52624f;font-size:.875rem}
.list-toolbar .search-field{flex:1 1 300px;max-width:540px}
.search-box{min-height:48px;min-width:0;padding:0 13px;background:#fff}
.search-box svg{width:20px;height:20px;color:#667660}
.search-box input{min-height:46px;padding:0;border:0;font-size:1rem;background:none}
.search-box:focus-within{outline:3px solid #ef8e48;outline-offset:3px}
.search-box input:focus-visible{outline:none}
.list-toolbar .field select{min-height:48px;padding:10px 12px;font-size:1rem}
.list-toolbar>.btn{min-height:48px}
.result-count{padding-bottom:12px;font-size:.875rem;color:#626d64;white-space:nowrap}
.record-row{cursor:pointer}
.record-row:hover td,.record-row:focus-visible td{background:#f0f5e9}
.record-row:focus-visible{outline:3px solid #ef8e48;outline-offset:-3px}
.record-row td:first-child b{color:#31472f}
.record-row td{font-size:1rem;padding-top:19px;padding-bottom:19px}
.record-row td small{font-size:.875rem;color:#626d64}
th{font-size:.875rem;color:#626d64}
.field input,.field select,.field textarea,.invoice-editor input{min-height:46px;font-size:1rem}
.field{font-size:.875rem;color:#52624f}
.form-hint,.form-section p,.detail-grid p,.detail-top p,.enquiry-detail p{color:#626d64}
.customer-connection{border:1px solid #dce6d1;border-radius:8px;background:#f5f8ef;padding:20px}
.customer-connection h3{font-size:1.125rem;margin:0 0 7px}
.customer-connection p{font-size:1rem;color:#52624f;margin:0 0 16px}
.enquiry-detail dl{grid-template-columns:minmax(95px,130px) minmax(0,1fr);font-size:1rem}
.enquiry-detail dt{color:#52624f}
.key-values dd{margin:0;overflow-wrap:anywhere}
.sidebar nav a{font-size:1rem;min-height:46px}
.sidebar nav a svg{width:20px;height:20px}
.sidebar .brand small{font-size:.625rem}
.sidebar .workspace-label{font-size:.875rem;margin:24px 0}
.sidebar .nav-label{font-size:.75rem}
.profile strong{font-size:.875rem}.profile small{font-size:.8125rem}
.sidebar-bottom{padding-top:24px}
@media(max-width:1200px){.sidebar{width:230px}.main-shell{margin-left:230px;width:calc(100% - 230px)}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.enquiry-cards{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{width:252px}.main-shell{margin-left:0;width:100%}.list-toolbar{padding:18px 16px;gap:14px}.list-toolbar .search-field{flex:1 1 100%;max-width:none}.list-toolbar .field{flex:1 1 150px}.list-toolbar>.btn{flex:0 0 auto}.result-count{flex-basis:100%;padding:0;margin:0}.record-row td{padding-top:17px;padding-bottom:17px}.topbar-right{font-size:.875rem}.stat-card>div,.stat-card>small{font-size:.875rem}.app-footer{font-size:.75rem;gap:16px;flex-wrap:wrap}.enquiry-detail dl{grid-template-columns:1fr;gap:5px}.enquiry-detail dd{margin-bottom:12px}.customer-connection{padding:16px}.customer-connection .btn{white-space:normal}.accessory-fields{flex-wrap:wrap;gap:15px}}
@media(max-width:760px){.list-toolbar .field.search-field{flex:1 1 100%;max-width:none}.list-toolbar .search-field .search-box{width:100%}.list-toolbar .search-field input{min-width:0}.topbar-right{min-width:0}.topbar-right .live-dot{flex-shrink:0}}

/* Keep dashboard chrome focused on navigation and business information. */
.sidebar>.brand{margin-bottom:30px}
.page-heading>h1{margin:0}
.enquiries-panel{grid-column:1/-1}
.login-story h1{font-size:2.5rem}

.delete-area{border-top:1px solid var(--line);margin-top:24px;padding-top:20px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.delete-area p{font-size:.875rem;color:#626d64;margin:0}.delete-area .btn:disabled{opacity:.65}

.trash-notice{padding:18px 24px;margin:0;border-bottom:1px solid var(--border);font-weight:600;color:#6c4930;background:#fff5e9}

/* Keep the identity and the sign-out target inside the sidebar at every text size. */
.profile{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:center;padding:20px 0;min-width:0}
.profile-link{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;min-width:0;border-radius:6px}
.avatar{width:40px;height:40px;min-width:40px;flex:none;overflow:hidden;font-size:1rem;line-height:1}
.avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.profile-name{min-width:0}.profile strong{font-size:1rem;line-height:1.35;overflow-wrap:anywhere}.profile small{display:block;font-size:.875rem;line-height:1.5;margin-top:3px;color:#a8b4aa}
.profile .btn.icon-btn{width:44px;height:44px;min-width:44px;padding:10px;margin:0;color:#c1ccc3}.profile .btn.icon-btn:hover{background:#2d352b;color:#fff}.profile svg{width:20px;height:20px}
.profile-summary{display:flex;gap:16px;align-items:center;margin:20px 0;min-width:0}.profile-summary>div:last-child{min-width:0}.profile-summary strong{display:block;font-size:1.125rem;overflow-wrap:anywhere}.profile-summary p{margin:3px 0;overflow-wrap:anywhere}.profile-summary small{color:var(--muted)}
.avatar-large{width:80px;height:80px;min-width:80px;font-size:1.75rem}.profile-password{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.photo-hint,.settings-panel .photo-hint{font-size:.875rem;color:var(--muted);margin:12px 0}.photo-status{font-size:.875rem;color:var(--muted)}.photo-status:empty{display:none}#profile-photo-form [hidden]{display:none!important}
@media(min-width:761px) and (max-width:1200px){.sidebar{width:252px}.main-shell{margin-left:252px;width:calc(100% - 252px)}}
@media(max-width:1200px){.settings-grid>div{display:contents}#profile-panel{order:-1}}
/* One chevron position and reserved text space for every dashboard dropdown. */
#app select:not([multiple]),#modal select:not([multiple]){-webkit-appearance:none;appearance:none;background-image:url('/assets/ui/chevron-down.svg');background-repeat:no-repeat;background-size:16px 16px;background-position:right 14px center;padding-inline:12px 44px;line-height:1.5;cursor:pointer}
#app select:disabled,#modal select:disabled{cursor:not-allowed}
@media(forced-colors:active){#app select:not([multiple]),#modal select:not([multiple]){-webkit-appearance:auto;appearance:auto;background-image:none}}
