:root{--ink:#263231;--muted:#7c8380;--line:#e5e8e4;--gold:#ffc000;--bg:#f6f7f4}*{box-sizing:border-box}body{color:var(--ink);background:var(--bg);margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #c18c00}input:focus,textarea:focus,select:focus{outline-offset:1px;outline:2px solid #d7ac35}button{color:inherit;background:0 0;border:0}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}.app-shell{min-height:100vh}.sidebar{border-right:1px solid var(--line);z-index:20;background:#fff;flex-direction:column;width:240px;padding:34px 22px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{letter-spacing:-1.8px;color:#303636;white-space:nowrap;font-size:25px;font-style:italic;font-weight:800}.brand span{color:var(--gold);margin-left:4px;font-size:38px;line-height:0;display:inline-block}.workspace-label{letter-spacing:1.8px;color:#919793;margin:39px 0 16px 10px;font-size:9px;font-weight:600}.sidebar nav{flex-direction:column;gap:7px;display:flex}.sidebar nav button{text-align:left;color:#737d77;white-space:nowrap;border-radius:7px;align-items:center;gap:12px;height:46px;padding:0 12px;font-size:12px;font-weight:600;display:flex}.sidebar nav button:hover{background:#f6f7f4}.sidebar nav .nav-active{color:#383b30;background:#fff6d9}.nav-count{background:#eedfa9;border-radius:4px;margin-left:auto;padding:2px 6px;font-size:10px}.sidebar-note{margin:auto 8px 32px;padding-top:70px}.mini-mark{color:#dee2dc;letter-spacing:-5px;font-size:42px;font-style:italic;font-weight:800}.mini-mark span{color:#f0cf60}.sidebar-note p{letter-spacing:-.5px;color:#4a5650;margin:12px 0;font-size:21px;line-height:1.25}.sidebar-note small{color:#9ba19b;font-size:11px;line-height:1.7}.sidebar-bottom{border-top:1px solid var(--line);color:#8a928c;align-items:center;gap:8px;padding-top:19px;font-size:11px;display:flex}.sidebar-bottom a{margin-left:auto}.main{margin-left:240px}.topbar{border-bottom:1px solid var(--line);background:#fafbf8;justify-content:space-between;align-items:center;height:82px;padding:0 40px;display:flex}.breadcrumb{color:#929991;align-items:center;gap:16px;font-size:12px;display:flex}.breadcrumb strong{color:#4f5a52;font-weight:500}.slash{color:#d0d4ce}.top-actions{color:#879287;align-items:center;gap:10px;font-size:10px;display:flex}.sync-dot{background:#67a480;border-radius:50%;width:6px;height:6px}.avatar{color:#626f60;background:#e9eee5;border:1px solid #d6ddd4;border-radius:50%;place-items:center;width:30px;height:30px;margin-left:10px;font-size:11px;font-weight:700;display:grid}.icon{border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:33px;height:33px;display:inline-flex}.icon:hover{background:#eef0eb}.mobile-menu{display:none}.content{max-width:1610px;margin:0 auto;padding:40px}.page-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:30px;display:flex}.eyebrow{letter-spacing:1.8px;color:#8d958c;margin-bottom:11px;font-size:9px;font-weight:600}.page-heading h1{letter-spacing:-1.15px;font-size:32px;font-weight:550;line-height:1.1}.page-heading p{color:#8e968c;margin-top:11px;font-size:12px}.button{white-space:nowrap;color:#55604f;background:#fff;border:1px solid #dce1d7;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:39px;padding:9px 14px;font-size:12px;font-weight:600;transition:background .15s;display:inline-flex}.button:hover{background:#f1f3ed}.button.primary{color:#263027;background:#efb900;border-color:#efb900;box-shadow:0 1px 2px #ae8b121a}.button.primary:hover{background:#dca900}.button.subtle{color:#7b8576;background:0 0;border-color:#0000}.button.subtle:hover{background:#f0f3ec}.metrics{grid-template-columns:1fr 1.4fr 1.25fr .8fr;gap:14px;margin-bottom:30px;display:grid}.metric{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0;min-height:132px;padding:20px 22px}.metric>span{color:#919b8d;justify-content:space-between;align-items:center;font-size:10px;font-weight:500;display:flex}.metric>span svg{color:#aeb5aa;stroke-width:1.3px}.metric strong{letter-spacing:-1px;margin:14px 0 8px;font-size:30px;font-weight:550;line-height:1;display:block}.metric .money{letter-spacing:-.8px;font-size:24px}.metric .muted-value{color:#8f9887;font-size:24px;font-weight:450}.metric small{color:#a0a797;font-size:9px}.records-panel{border:1px solid var(--line);background:#fff;border-radius:9px;overflow:hidden;box-shadow:0 1px 2px #18281603}.panel-heading{justify-content:space-between;align-items:center;gap:15px;padding:24px 24px 22px;display:flex}.panel-heading h2{letter-spacing:-.3px;font-size:16px;font-weight:600}.panel-heading h2 span{color:#829173;vertical-align:middle;background:#eef1e9;border-radius:5px;margin-left:7px;padding:3px 6px;font-size:10px}.panel-heading p{color:#99a08f;margin-top:8px;font-size:10px}.export-actions{gap:4px;display:flex}.export-actions .button{font-size:11px}.filters{align-items:center;gap:10px;padding:0 24px 21px;display:flex}.searchbox{color:#a4ac9b;background:#fcfdfb;border:1px solid #e3e8dc;border-radius:6px;flex:1;align-items:center;gap:10px;max-width:465px;height:39px;padding:0 12px;display:flex}.searchbox input{color:#53604a;background:0 0;border:0;outline:none;width:100%;min-width:0;height:100%;font-size:11px}.searchbox:focus-within{outline:2px solid #d7ac35}.searchbox input:focus{outline:none}.searchbox input::placeholder{color:#a5ad9c}.searchbox button{padding:0;display:flex}.filter-select{color:#8f9a83;border:1px solid #e3e8dc;border-radius:6px;align-items:center;gap:8px;height:39px;padding:0 10px;display:flex}.filter-select select,.year-select{color:#6d7c5e;background:0 0;border:0;min-width:80px;font-size:11px}.filter-select select{max-width:130px}.year-select{border:1px solid #e3e8dc;border-radius:6px;min-width:112px;height:39px;padding:0 11px}.table-wrap{overflow-x:auto}.records-table{border-collapse:collapse;table-layout:fixed;text-align:left;width:100%}.records-table thead{background:#f7f9f4;border-top:1px solid #edf0e8;border-bottom:1px solid #e7ecdf}.records-table th{letter-spacing:.2px;color:#8b987e;white-space:nowrap;padding:13px 14px;font-size:9px;font-weight:500}.records-table th:first-child{width:17%;padding-left:24px}.records-table th:nth-child(2){width:36%}.records-table th:nth-child(3){width:11%}.records-table th:nth-child(4){width:20%}.records-table th:nth-child(5){width:12%}.records-table th:last-child{width:4%;padding:0}.records-table td{vertical-align:middle;border-bottom:1px solid #edf0e8;padding:18px 14px;font-size:11px}.records-table td:first-child{padding-left:24px}.records-table td:last-child{padding:0 9px 0 0}.records-table tbody tr:hover{background:#fffdf5}.records-table small{color:#9ca690;margin-top:8px;font-size:9px;line-height:1.3;display:block}.quote-link{color:#536343;text-align:left;padding:0;font-size:11px;font-weight:600}.quote-link:hover{text-decoration:underline}.customer-link{color:#4e5e40;text-align:left;text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding:0;font-size:11px;font-weight:550;display:block;overflow:hidden}.records-table .job-description{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.location-cell{color:#8a987c}.number{text-align:right}.amount-cell{font-variant-numeric:tabular-nums;color:#58694a;white-space:nowrap;font-weight:550}.amount-cell small{font-weight:400}.row-open{color:#a8b199;width:25px}.badge{color:#93a080;white-space:nowrap;background:#f2f4ee;border-radius:4px;align-items:center;gap:6px;padding:5px 7px;font-size:9px;display:inline-flex}.badge i{background:currentColor;border-radius:50%;width:4px;height:4px}.status-accepted,.status-completed{color:#538050;background:#eaf3e9}.status-sent{color:#6b85a7;background:#ecf0f7}.status-draft{color:#a28a40;background:#fff3d4}.status-declined{color:#b17a7a;background:#faeded}.table-footer{color:#a0ab91;justify-content:space-between;gap:15px;padding:15px 24px;font-size:9px;display:flex}.bottom-note{color:#a5ae9a;justify-content:center;align-items:center;gap:7px;margin:24px 0 5px;font-size:9px;display:flex}.error-banner{color:#a44e36;background:#fff0ec;border:1px solid #efd1c7;border-radius:6px;align-items:center;gap:10px;margin-bottom:20px;padding:14px;display:flex}.error-banner button{margin-left:auto;text-decoration:underline}.empty-state{color:#99a78b;flex-direction:column;justify-content:center;align-items:center;gap:13px;min-height:280px;display:flex}.empty-state h3{color:#677b54;font-size:17px}.empty-state p{font-size:12px}.loader{border:2px solid #e2e9d9;border-top-color:#b79c51;border-radius:50%;width:25px;height:25px;animation:.8s linear infinite spin}.spinning{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.customer-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.customer-card{text-align:left;border:1px solid var(--line);background:#fff;border-radius:9px;padding:24px}.customer-card:hover{border-color:#d3bc6e}.customer-monogram{color:#9a8646;background:#f6f0d8;border-radius:7px;place-items:center;width:37px;height:37px;margin-bottom:20px;font-size:12px;font-weight:600;display:grid}.customer-card h3{font-size:14px;line-height:1.5}.customer-card p{color:#9ca690;margin-top:10px;font-size:11px}.customer-card small{color:#a1ac94;justify-content:space-between;margin-top:30px;font-size:10px;display:flex}.modal-backdrop,.editor-backdrop{z-index:50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1b26276e;justify-content:center;align-items:center;padding:25px;display:flex;position:fixed;inset:0}.detail-dialog,.settings-dialog{background:#fff;border-radius:13px;width:min(920px,100%);max-height:calc(100dvh - 50px);overflow:auto;box-shadow:0 24px 80px #0003}.settings-dialog{width:min(680px,100%)}.dialog-header{justify-content:space-between;align-items:center;padding:25px 30px 17px;display:flex}.dialog-header .eyebrow{margin-bottom:7px}.dialog-header h2{letter-spacing:-.6px;font-size:24px;font-weight:550}.detail-actions{gap:8px;padding:0 30px 22px;display:flex}.tabbar{border-bottom:1px solid var(--line);gap:22px;padding:0 30px;display:flex}.tabbar button{color:#929d88;border-bottom:2px solid #0000;padding:13px 0;font-size:12px}.tabbar button.selected{color:#586848;border-bottom-color:#eab900}.detail-content{padding:26px 30px 30px}.record-intro{border-bottom:1px solid var(--line);padding-bottom:22px;position:relative}.record-intro h3{margin-bottom:10px;font-size:18px;font-weight:600}.record-intro p{color:#929d88;max-width:670px;font-size:12px;line-height:1.7}.record-intro strong{letter-spacing:-.5px;margin-top:18px;font-size:27px;font-weight:550;display:block}.details-grid{grid-template-columns:1fr 1fr;gap:22px;margin:25px 0;display:grid}.details-grid dt{color:#9ca58f;margin-bottom:6px;font-size:10px}.details-grid dd{margin:0;font-size:12px;line-height:1.6}.wide{grid-column:1/-1}.source-note{color:#899779;background:#f5f7f0;border-radius:5px;align-items:flex-start;gap:10px;margin-bottom:15px;padding:12px 14px;font-size:11px;line-height:1.7;display:flex}.source-note svg{flex-shrink:0;margin-top:2px}.review-note{color:#9c853f;background:#fff6df}.section-heading{margin:27px 0 17px}.section-heading h3{margin-bottom:8px;font-size:15px}.section-heading p,.section-description{color:#97a187;font-size:11px;line-height:1.7}.field-grid{grid-template-columns:1fr 1fr;gap:18px 22px;display:grid}.field{flex-direction:column;gap:7px;min-width:0;margin-bottom:1px;display:flex}.field>span{color:#758267;font-size:11px;font-weight:550}.field input,.field textarea,.field select{color:#506240;background:#fff;border:1px solid #dfe6d5;border-radius:5px;width:100%;min-height:40px;padding:9px 11px;font-size:12px;line-height:1.55}.field input::placeholder,.field textarea::placeholder{color:#b0b8a5}.field textarea{resize:vertical}.field small{color:#9ba88c;font-size:10px;line-height:1.5}.detail-content>.button{margin-top:22px}.inline-error{color:#b65f46;margin:12px 0;font-size:12px;line-height:1.5}.preview-scroll{background:#ecefe7;min-height:400px;padding:20px;overflow:auto}.document-frame{background:#fff;border:0;width:782px;height:1120px;margin:0 auto;display:block;box-shadow:0 2px 10px #22331112}.settings-letterhead{width:100%;margin-bottom:18px}.settings-dialog .section-description{margin-bottom:24px}.editor-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#f5f7f2;padding:0;display:block;overflow:auto}.editor{background:#fff;max-width:1080px;min-height:100dvh;margin:0 auto;padding-bottom:100px;box-shadow:0 0 80px #23321106}.editor-header{z-index:3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);background:#fffffff5;align-items:center;gap:17px;padding:20px 34px;display:flex;position:sticky;top:0}.editor-header h2{letter-spacing:-.5px;font-size:22px;font-weight:550}.editor-header p{color:#9ba58f;margin-top:6px;font-size:10px}.editor-tabs{background:#f2f5ed;border-radius:7px;gap:3px;margin-left:auto;padding:4px;display:flex}.editor-tabs button{color:#93a27c;border-radius:5px;padding:8px 15px;font-size:11px}.editor-tabs .selected{color:#596e41;background:#fff;box-shadow:0 1px 3px #33551115}.editor-body{padding:18px 45px}.form-section{border-bottom:1px solid var(--line);gap:28px;padding:29px 0 35px;display:flex}.section-number{color:#ab9245;background:#faf1d5;border-radius:5px;flex-shrink:0;place-items:center;width:30px;height:30px;margin-top:0;font-size:10px;display:grid}.section-main{flex:1;min-width:0}.section-main h3{letter-spacing:-.3px;margin:4px 0 23px;font-size:18px;font-weight:550}.section-main .section-description{margin:-13px 0 22px}.labels-grid{margin-bottom:20px}.item-list{flex-direction:column;gap:16px;display:flex}.item-card{background:#fff;border:1px solid #dfe7d3;border-radius:7px;padding:15px 18px}.item-card-top{justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px;display:flex}.item-card-top>span{color:#a6b294;font-size:10px}.item-card-top b{color:#7a8d64;margin-left:8px;font-size:11px;font-weight:500}.item-card-top>div{display:flex}.delete:hover{color:#b77863;background:#ffefea}.item-numbers{grid-template-columns:1fr 1fr 1fr;gap:17px;margin-top:15px;display:grid}.line-total{flex-direction:column;justify-content:center;align-items:flex-end;gap:10px;display:flex}.line-total span{color:#9ca98b;font-size:10px}.line-total strong{color:#677e4d;font-size:15px;font-weight:550}.optional-controls{border-top:1px solid #edf1e6;flex-wrap:wrap;gap:20px;margin-top:16px;padding-top:12px;display:flex}.optional-controls label{color:#85986b;align-items:center;gap:8px;font-size:10px;display:flex}.optional-controls input{accent-color:#d0a31b;width:14px;height:14px}.add-items{gap:10px;margin:16px 0 25px;display:flex}.note-card{background:#fafcf7}.text-button{text-underline-offset:3px;color:#a68b36;padding:10px 0;font-size:11px;text-decoration:underline}.editor-calculation{background:#fafbf6;border-radius:6px;max-width:370px;margin:25px 0 0 auto;padding:12px 20px}.editor-calculation>div{color:#96a180;justify-content:space-between;padding:9px 0;font-size:11px;display:flex}.editor-calculation b{color:#6c8052;font-weight:550}.editor-calculation .total{border-top:1px solid #dfe6d2;margin-top:6px;padding-top:15px;font-size:15px}.editor-calculation .total b{color:#4f6637}.editor-footer{border-top:1px solid var(--line);z-index:4;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff7;justify-content:space-between;align-items:center;gap:15px;width:min(1080px,100%);padding:18px 40px;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.editor-footer small{letter-spacing:1px;color:#a3af8d;font-size:8px;display:block}.editor-footer strong{letter-spacing:-.6px;margin-top:4px;font-size:22px;font-weight:550;display:block}.editor-footer .inline-error{margin-top:0}.footer-buttons{gap:8px;display:flex}.editor-preview{background:#e9ede2;padding:25px;overflow:auto}.editor-preview>p{text-align:center;color:#96a580;margin-bottom:20px;font-size:11px}.toast{color:#eef5e6;z-index:80;white-space:normal;background:#283a25;border-radius:7px;align-items:center;gap:10px;max-width:90vw;padding:15px 20px;font-size:12px;display:flex;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 8px 25px #11220030}.signin{max-width:600px;margin:15vh auto;padding:40px}.signin h1{letter-spacing:-2px;margin:50px 0 25px;font-size:46px;line-height:1.1}.signin p{color:#86967a;margin-bottom:25px;line-height:1.8}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.nav-scrim{display:none}@media (min-width:1500px){.records-table th:first-child{width:15%}.records-table th:nth-child(2){width:40%}.records-table th:nth-child(4){width:18%}.metric .money{font-size:28px}}@media (max-width:1200px){.sidebar{width:210px;padding:28px 16px}.main{margin-left:210px}.content{padding:30px 25px}.topbar{padding:0 25px}.metrics{grid-template-columns:1fr 1fr}.metric{min-height:120px}.records-table th:nth-child(3),.records-table td:nth-child(3){display:none}.records-table th:first-child{width:20%}.records-table th:nth-child(2){width:36%}.records-table th:nth-child(4){width:25%}.records-table th:nth-child(5){width:14%}.records-table th:last-child{width:5%}.records-table td,.records-table th{padding-left:10px;padding-right:10px}.customer-grid{grid-template-columns:1fr 1fr}.backup{display:none}.page-heading h1{font-size:29px}}@media (max-width:800px){.sidebar{display:none}.sidebar.mobile-open{z-index:41;display:flex;box-shadow:15px 0 60px #0003}.nav-scrim{z-index:40;background:#18241a55;display:block;position:fixed;inset:0}.main{margin-left:0}.topbar{height:62px;padding:0 18px}.mobile-menu{display:inline-flex}.breadcrumb{gap:10px;font-size:11px}.sync-text{display:none}.top-actions{gap:5px}.content{padding:26px 18px}.page-heading{align-items:flex-start;margin-bottom:24px}.page-heading h1{font-size:26px}.page-heading .eyebrow{margin-bottom:10px;font-size:8px}.page-heading p{max-width:200px;margin-top:10px;font-size:10px;line-height:1.6}.page-heading .button{gap:5px;min-height:36px;margin-top:18px;padding:9px 11px;font-size:10px}.page-heading .button svg{width:15px}.metrics{gap:9px;margin-bottom:24px}.metric{min-height:117px;padding:16px}.metric>span{font-size:9px}.metric strong{margin-top:14px;font-size:27px}.metric .money,.metric .muted-value{font-size:21px}.metric small{font-size:8px}.panel-heading{padding:20px 16px 16px}.panel-heading p{display:none}.panel-heading h2{font-size:14px}.export-actions .button{padding:5px;font-size:10px}.filters{flex-wrap:wrap;gap:8px;padding:0 16px 17px}.searchbox{flex-basis:100%;max-width:none;height:39px}.filter-select,.year-select{height:35px}.filter-select{flex:1}.filter-select select{width:100%;max-width:none}.year-select{flex:1}.table-wrap{overflow:visible}.records-table thead{display:none}.records-table,.records-table tbody,.records-table tr{display:block}.records-table tbody tr{border-top:1px solid #ebefdf;grid-template-columns:1fr auto;gap:10px;padding:17px 16px;display:grid;position:relative}.records-table td{border:0;display:block;padding:0!important}.records-table td:first-child{grid-area:1/1;align-items:center;gap:10px;display:flex}.records-table td:first-child small{margin:0;font-size:8px}.records-table td:nth-child(2){grid-area:2/1/auto/-1;padding-top:3px!important}.customer-link{white-space:normal;text-align:left;max-width:90%;font-size:12px;line-height:1.5}.records-table .job-description{max-width:95%;margin-top:5px;font-size:9px}.records-table td:nth-child(4){text-align:left;grid-area:3/1;margin-top:4px;font-size:13px}.records-table td:nth-child(4) small{display:none}.records-table td:nth-child(5){grid-area:1/2;justify-self:end}.records-table td:last-child{grid-area:3/2;align-self:center}.quote-link{font-size:10px}.badge{font-size:8px}.table-footer{gap:8px;padding:14px 16px;font-size:8px;line-height:1.5}.table-footer span:last-child{text-align:right;max-width:110px}.bottom-note{text-align:center;align-items:flex-start;padding:0 10px;font-size:8px;line-height:1.7}.bottom-note svg{flex-shrink:0}.modal-backdrop{align-items:flex-end;padding:0}.detail-dialog,.settings-dialog{border-radius:0;width:100%;height:100dvh;max-height:100dvh}.dialog-header{padding:23px 20px 17px}.dialog-header h2{font-size:22px}.detail-actions{flex-wrap:wrap;gap:6px;padding:0 20px 19px}.detail-actions .button{padding:8px 10px;font-size:11px}.tabbar{padding:0 20px}.detail-content{padding:23px 20px}.record-intro h3{font-size:17px}.record-intro p{font-size:11px}.record-intro strong{font-size:25px}.details-grid{gap:18px}.details-grid dd{font-size:11px}.source-note{font-size:10px}.preview-scroll{padding:12px;overflow:auto}.document-frame{margin:0}.editor-header{flex-wrap:wrap;gap:8px;padding:16px 14px}.editor-header h2{font-size:18px}.editor-header p{max-width:240px;font-size:9px}.editor-tabs{gap:0}.editor-tabs button{padding:7px 9px;font-size:10px}.editor-body{padding:0 18px}.form-section{gap:12px;padding:26px 0}.section-number{width:24px;height:24px;font-size:9px}.section-main h3{margin-top:2px;margin-bottom:20px;font-size:16px}.field-grid{grid-template-columns:1fr;gap:15px}.labels-grid{grid-template-columns:1fr 1fr;gap:10px}.field input,.field textarea,.field select{min-height:43px;font-size:16px}.field>span,.field small{font-size:10px}.item-card{margin-left:-36px;padding:13px 12px}.item-card-top b{font-size:10px}.item-numbers{grid-template-columns:1fr 1fr;gap:12px}.item-numbers .line-total{border-top:1px solid #edf1e5;flex-direction:row;grid-column:1/-1;justify-content:space-between;align-items:center;padding-top:13px}.optional-controls{gap:14px}.add-items{gap:5px;margin-left:-36px}.add-items .button{padding:8px 10px;font-size:10px}.editor-footer{padding:13px 18px}.editor-footer strong{font-size:19px}.editor-footer .button{padding:9px 11px;font-size:11px}.editor-footer .footer-buttons>.button:first-child{display:none}.editor-preview{padding:15px;overflow:auto}.editor-preview>p{text-align:left;max-width:340px;font-size:10px}.editor-calculation{max-width:none}.section-main .section-description{font-size:10px}.customer-grid{gap:10px}.customer-card{padding:16px}.customer-card h3{font-size:12px}.customer-card p{font-size:10px}.signin{margin:10vh auto;padding:30px}.signin h1{font-size:39px}.toast{justify-content:center;width:90vw;font-size:11px;bottom:16px}.inline-error{font-size:11px}.editor-footer .inline-error{max-width:220px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}@media (max-width:1200px){.backup{display:inline-flex}}@media (max-width:800px){.export-actions{gap:0}.export-actions .button{font-size:9px}.export-actions .button svg{width:13px}}.type-filters{flex-wrap:wrap;gap:6px;padding:0 24px 18px;display:flex}.type-filters button{color:#839174;border:1px solid #e3e8da;border-radius:6px;align-items:center;gap:10px;padding:10px 14px;font-size:11px;display:flex}.type-filters button.selected{color:#605628;background:#fff5d5;border-color:#e6cc75}.type-filters button span{background:#eff2e8;border-radius:4px;padding:2px 5px;font-size:10px}.quote-type-badge{color:#5d8094;background:#ecf3f6;border-radius:4px;margin-top:7px;padding:3px 5px;font-size:9px;display:inline-block}.quote-type-badge.product{color:#988354;background:#f4efdf}.item-type-field{max-width:340px;margin-top:15px}.item-tax-summary{color:#7f8b6a;background:#f6f8ef;border-radius:5px;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:15px;padding:13px;font-size:11px;display:flex}.item-tax-summary b{color:#4e6541}.sst-rule{color:#859373;background:#f5f8ee;border-radius:5px;padding:14px;font-size:11px;line-height:1.7}.sst-rule b{color:#62754e}.sst-rule p{margin-top:5px}.tax-review{border:1px solid #e1e6d8;border-radius:7px;margin:25px 0;padding:18px}.tax-review h3{margin-bottom:10px;font-size:14px}.tax-review>p,.tax-review>small{color:#8a947b;margin:10px 0;font-size:11px;line-height:1.7;display:block}.tax-table-wrap{overflow-x:auto}.tax-review table{border-collapse:collapse;width:100%;min-width:480px;font-size:11px}.tax-review th{text-align:left;color:#8b967d;border-bottom:1px solid #e1e6d7;padding:10px 6px;font-size:10px}.tax-review td{vertical-align:top;border-bottom:1px solid #edf0e7;padding:10px 6px}.tax-review td:not(:first-child){white-space:nowrap}.tax-review td:first-child{width:44%;line-height:1.6}.tax-review td small{color:#a08e65;display:block}.tax-review-total{justify-content:space-between;gap:15px;padding-top:16px;font-size:12px;display:flex}.tax-review-total b{font-size:15px}.detail-actions{flex-wrap:wrap}@media (max-width:800px){.type-filters{gap:5px;padding:0 16px 16px}.type-filters button{gap:5px;padding:8px;font-size:10px}.records-table td:first-child{flex-wrap:wrap;row-gap:3px}.quote-type-badge{margin-top:0;font-size:8px}.tax-review{padding:14px}.tax-review table{font-size:10px}.item-tax-summary{gap:8px;font-size:10px}.item-type-field{max-width:none}.tax-review-total{font-size:11px}.tax-review-total b{font-size:14px}}.records-table small.sst-review-flag{color:#ac8b34;font-size:9px}.discard-backdrop{z-index:90;background:#18271877;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.discard-dialog{background:#fff;border-radius:12px;width:100%;max-width:420px;padding:25px;box-shadow:0 20px 80px #0003}.discard-dialog h3{margin-bottom:12px;font-size:20px}.discard-dialog p{color:#8d9b7b;margin-bottom:24px;font-size:12px}.discard-dialog>div{justify-content:flex-end;gap:10px;display:flex}@media (max-width:800px){.records-table td:nth-child(4) small.sst-review-flag{margin-top:7px;font-size:8px;display:block}}.consolidation-note{justify-content:space-between;align-items:center;margin-bottom:22px}.consolidation-note p{margin:6px 0 0}.consolidation-note button{flex-shrink:0}.history-entry{border-bottom:1px solid #e2e5db;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;display:flex}.history-entry small,.history-entry span{margin-top:7px;display:block}.history-entry>div:last-child{flex-wrap:wrap;gap:8px;display:flex}@media (max-width:650px){.consolidation-note,.history-entry{flex-direction:column;align-items:flex-start}}.item-card>.field+.field{margin-top:16px}.item-numbers{grid-template-columns:.8fr 1fr 1fr 1fr}.note-card,.item-tax-summary{background:#fff}.item-tax-summary{border:1px solid #e5e8dd}@media (max-width:800px){.item-numbers{grid-template-columns:1fr 1fr}.item-numbers .line-total{border-top:0;flex-direction:column;grid-column:auto;align-items:flex-end;padding-top:0}}.document-frame{width:860px}.backup-dialog{width:670px;max-width:100%}.backup-intro{color:#7a886c;margin-bottom:24px;font-size:13px;line-height:1.8}.backup-choice{background:#fff;border:1px solid #e1e6d8;border-radius:8px;margin-bottom:17px;padding:22px}.backup-choice.recommended{background:#fffdf5;border-color:#e5cd7f}.backup-choice-heading{align-items:flex-start;gap:14px;display:flex}.backup-choice-heading>svg{color:#a58c2c;flex-shrink:0;margin-top:2px}.backup-choice h3{margin:0;font-size:16px;font-weight:550;line-height:1.5}.backup-choice h3 span{color:#8e7224;vertical-align:middle;background:#fff0bc;border-radius:4px;margin-left:8px;padding:3px 6px;font-size:9px;display:inline-block}.backup-choice p{color:#7c8c6c;margin:12px 0 18px;font-size:12px;line-height:1.8}.backup-choice-heading p{color:#94a080;margin:4px 0 0;font-size:11px}.backup-choice .button{font-size:12px}.backup-success{color:#4d6c3c;background:#edf5e9;border-radius:6px;align-items:flex-start;gap:10px;padding:15px;font-size:12px;line-height:1.8;display:flex}.backup-success svg{flex-shrink:0;margin-top:3px}.backup-reader{flex-direction:column;width:1120px;height:90vh;display:flex}.backup-reader .dialog-header{flex-shrink:0}.backup-reader-actions{align-items:center;gap:12px;padding:0 28px 12px;display:flex}.backup-reader-actions>span{overflow-wrap:anywhere;color:#879676;flex:1;min-width:0;font-size:11px}.backup-local-note{color:#8b987b;padding:0 28px 15px;font-size:11px}.backup-reader-frame{background:#f5f6f2;border:0;flex:1;width:100%;min-height:300px;display:block}@media (max-width:800px){.backup-dialog{width:100%}.backup-choice{padding:17px}.backup-choice-heading{gap:10px}.backup-choice h3{font-size:15px}.backup-choice h3 span{margin-top:5px;margin-left:0;display:table}.backup-reader{height:100dvh}.backup-reader-actions{flex-wrap:wrap;gap:8px;padding:0 18px 12px}.backup-reader-actions>span{flex-basis:calc(100% - 90px);font-size:10px}.backup-reader-actions>.primary{justify-content:center;width:100%}.backup-local-note{padding:0 18px 12px;line-height:1.6}.backup-reader .dialog-header h2{font-size:20px}}.invoice-badge{white-space:nowrap;color:#76816a;background:#f2f3ee;border-radius:5px;align-items:center;gap:6px;padding:6px 9px;font-size:10px;display:inline-flex}.invoice-badge i{background:currentColor;border-radius:50%;width:5px;height:5px}.invoice-paid{color:#3b7046;background:#eaf3e9}.invoice-part-paid{color:#94721b;background:#fff4d6}.invoice-overdue{color:#a65b40;background:#fff0e9}.invoice-metrics .money{font-variant-numeric:tabular-nums}.invoice-table-wrap{overflow-x:auto}.invoice-table{border-collapse:collapse;width:100%;font-size:12px}.invoice-table th{text-align:left;color:#8a9779;white-space:nowrap;background:#f8f9f4;padding:14px 15px;font-size:10px;font-weight:500}.invoice-table td{vertical-align:middle;border-top:1px solid #e8ecdf;padding:20px 15px}.invoice-table td:first-child{min-width:153px}.invoice-table td:nth-child(2){min-width:180px;max-width:270px}.invoice-table th:nth-child(n+3):nth-child(-n+5),.invoice-table td:nth-child(n+3):nth-child(-n+5){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.invoice-table small{color:#8b9879;margin-top:7px;font-size:10px;line-height:1.6;display:block}.invoice-table .customer-link{white-space:normal;text-align:left;line-height:1.5}.invoice-balance-value{font-weight:600}.invoice-job{-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;display:-webkit-box!important}.invoice-empty{padding:60px 25px}.invoice-empty p{max-width:450px;margin:12px auto 25px;line-height:1.8}.invoice-compose{max-width:720px}.invoice-guidance{color:#7b886e;margin-bottom:22px;font-size:12px;line-height:1.8}.invoice-setup{margin-top:24px}.invoice-source-card{background:#fafbf7;border:1px solid #e5e8dc;border-radius:7px;margin-bottom:24px;padding:20px}.invoice-source-card small{color:#879574;font-size:11px}.invoice-source-card h3{margin:9px 0;font-size:17px}.invoice-source-card p{color:#7f8d70;white-space:pre-wrap;margin-bottom:15px;font-size:12px;line-height:1.7}.invoice-source-card strong{font-size:24px;font-weight:550}.invoice-setup>.invoice-guidance{margin-top:20px}.payment-form{background:#fff;border:1px solid #e3e7d9;border-radius:7px;margin:22px 0;padding:20px}.payment-form .section-heading{margin:0 0 18px}.payment-form fieldset{border:0;min-width:0;margin:0;padding:0}.payment-choices{flex-wrap:wrap;gap:10px;margin-bottom:20px;display:flex}.payment-selected{background:#fff7da!important;border-color:#c7a637!important}.payment-outcome{border-top:1px solid #e6eadf;justify-content:space-between;align-items:center;gap:15px;margin:22px 0;padding-top:18px;font-size:12px;display:flex}.payment-outcome strong{font-size:20px;font-weight:550}.invoice-form-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.invoice-detail-intro{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.invoice-detail-intro h3{margin-bottom:10px;font-size:20px;font-weight:550}.invoice-detail-intro p{white-space:pre-wrap;margin-bottom:10px;font-size:12px;line-height:1.7}.invoice-detail-intro small{color:#8a9879;font-size:11px}.invoice-summary{border:1px solid #e2e7d8;border-radius:7px;grid-template-columns:repeat(3,1fr);margin-bottom:18px;display:grid;overflow:hidden}.invoice-summary>div{border-right:1px solid #e2e7d8;min-width:0;padding:18px 15px}.invoice-summary>div:last-child{background:#fff8e1;border-right:0}.invoice-summary span{color:#82916e;font-size:10px;display:block}.invoice-summary strong{letter-spacing:-.5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:9px;font-size:22px;font-weight:550;display:block}.invoice-history-heading{margin-top:30px}.payment-entry{border-bottom:1px solid #e3e8d9;padding:20px 0}.payment-entry-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.payment-entry-heading b{font-size:20px;font-weight:550}.payment-entry-heading span{color:#829271;margin-top:7px;font-size:11px;display:block}.payment-entry>small{color:#9aa68d;margin-top:8px;font-size:10px;display:block}.payment-entry>p{overflow-wrap:anywhere;white-space:pre-wrap;margin-top:10px;font-size:12px;line-height:1.7}.payment-voided{background:#fafaf7;padding:20px 12px}.payment-voided .payment-entry-heading b{color:#93a18a;text-decoration:line-through}.payment-void-reason{color:#9f6e4c}.payment-correction{background:#fffcf5;border:1px solid #e8d9c0;border-radius:6px;margin:10px 0;padding:17px}.payment-correction p{margin-bottom:16px;font-size:12px;line-height:1.8}.invoice-note{padding:20px 0;font-size:12px;line-height:1.8}.invoice-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px}.invoice-edit-form{border:1px solid #e2e7d8;border-radius:6px;margin-bottom:22px;padding:20px}.linked-invoice{background:#fff8df;border-radius:5px;padding:14px;margin-bottom:20px!important;font-size:11px!important;line-height:1.8!important}.linked-invoice button{font-weight:600;text-decoration:underline}.field input:disabled{color:#6f7f61;background:#f4f6f0}@media (max-width:1200px){.invoice-table td,.invoice-table th{padding-left:10px;padding-right:10px}.invoice-table{font-size:11px}.invoice-table td:nth-child(2){min-width:150px}}@media (max-width:800px){.invoice-table-wrap{overflow:visible}.invoice-table,.invoice-table tbody{display:block}.invoice-table thead{display:none}.invoice-table tr{border-top:1px solid #e3e8d9;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 10px;padding:20px 16px;display:grid;position:relative}.invoice-table td{border:0;padding:0;display:block;min-width:0!important;max-width:none!important}.invoice-table td:first-child{grid-area:1/1/auto/3}.invoice-table td:nth-child(2){grid-area:2/1/auto/-1}.invoice-table td:nth-child(n+3):nth-child(-n+5){text-align:left;white-space:normal;overflow-wrap:anywhere;grid-row:3;font-size:12px}.invoice-table td[data-label]:before{content:attr(data-label);color:#95a285;margin-bottom:7px;font-size:9px;display:block}.invoice-table td:nth-child(6){text-align:right;grid-area:1/3}.invoice-table td:last-child{text-align:right;grid-area:4/3}.invoice-table .customer-link{max-width:100%;font-size:13px}.invoice-table .invoice-job{font-size:11px}.invoice-table small,.invoice-table .invoice-badge{font-size:9px}.invoice-empty{padding:35px 20px}.invoice-empty h3{line-height:1.6}.invoice-empty p{font-size:12px}.invoice-detail-intro{gap:10px}.invoice-detail-intro h3{font-size:17px}.invoice-summary{grid-template-columns:1fr 1fr}.invoice-summary>div{padding:14px 12px}.invoice-summary>div:nth-child(2){border-right:0}.invoice-summary>div:last-child{border-top:1px solid #e2e7d8;grid-column:1/-1}.invoice-summary strong{font-size:21px}.invoice-summary>div:last-child strong{font-size:25px}.payment-form{padding:16px 12px}.payment-entry-heading b{font-size:19px}.invoice-form-actions .button{font-size:11px}.invoice-guidance{font-size:12px}.invoice-compose .detail-content{padding-top:10px}.payment-choices .button{padding:9px;font-size:11px}.payment-outcome strong{font-size:20px}.invoice-edit-form{padding:15px}.invoice-metrics .money{font-size:19px}.invoice-source-card{padding:16px}}.brand-wordmark{aspect-ratio:5.2;background:#fff;flex-shrink:0;width:100%;display:block;position:relative;overflow:hidden}.brand-wordmark img{width:129%;max-width:none;height:auto;display:block;position:absolute;top:50%;left:-14%;transform:translateY(-50%)}.sidebar>.brand-wordmark{margin:7px 0 4px}.brand-symbol{border-radius:7px;flex-shrink:0;width:34px;height:34px;display:inline-block;position:relative;overflow:hidden}.brand-symbol img{object-fit:cover;width:175%;max-width:none;height:175%;display:block;position:absolute;top:-37.5%;left:-37.5%}.sidebar-symbol{border-radius:0;width:54px;height:54px;margin-left:-4px}.topbar-symbol{border:1px solid #e7ca1f;width:30px;height:30px}.settings-wordmark{width:280px;max-width:100%;margin:4px 0 26px}.signin-wordmark{width:260px;max-width:100%;margin-bottom:36px}@media (max-width:800px){.topbar-symbol{width:29px;height:29px}.workspace-breadcrumb{display:none}.breadcrumb{gap:9px}.topbar{padding:0 14px}.sidebar>.brand-wordmark{margin-top:7px}}.auth-shell{background:#fff;border:1px solid #e2e6da;border-radius:14px;width:min(530px,100% - 36px);margin:7vh auto;padding:38px;box-shadow:0 14px 50px #27342408}.auth-shell .brand-wordmark{width:215px;margin-bottom:42px}.auth-shell h1{letter-spacing:-.8px;margin-bottom:16px;font-size:30px;line-height:1.2}.auth-shell>p{color:#75806c;margin-bottom:25px;font-size:14px;line-height:1.8}.auth-shell form{gap:20px;display:grid}.auth-shell .field input{height:46px;font-size:16px}.auth-shell .button{min-height:44px}.auth-links{justify-content:space-between;gap:16px;display:flex}.auth-links button{text-align:left;font-size:11px;line-height:1.6;text-decoration:underline}.auth-shell .auth-note{color:#8a927f;margin-top:25px;margin-bottom:0;font-size:11px}.auth-feature-grid{color:#68775b;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:28px;font-size:12px;display:grid}.auth-feature-grid span{background:#f7f8f2;border-radius:6px;padding:13px}.auth-message{background:#fff8dc;border-radius:6px;padding:14px;font-size:12px;line-height:1.8}.sync-status{color:#547042;background:#f5faf1;border:1px solid #dbe4d4;border-radius:6px;align-items:center;gap:7px;padding:7px 9px;font-size:11px;display:inline-flex}.sync-pending{color:#987526;background:#fff9e6;border-color:#eadaaa}.sync-conflict{color:#a34e37;background:#fff1eb;border-color:#eac9ba}.standalone-actions{z-index:25;flex-direction:column;gap:8px;width:198px;display:flex;position:fixed;bottom:16px;left:20px}.sidebar-bottom{margin-bottom:56px}.workspace-notice{background:#fffbed;border:1px solid #e5d798;border-radius:8px;margin:0 40px 35px 280px;padding:20px;font-size:13px;line-height:1.7;position:relative}.workspace-notice p{margin:8px 0 14px}.sync-explain{color:#79876e;margin:18px 0 24px;font-size:13px;line-height:1.8}.sync-section,.conflict-card{border-top:1px solid #e2e7d8;margin-top:25px;padding-top:25px}.sync-section h3,.conflict-card h3{margin-bottom:12px;font-size:16px}.sync-section p,.conflict-card p{color:#748368;margin:10px 0 15px;font-size:12px;line-height:1.8}.conflict-card{background:#fff9e7;border:1px solid #e8d69b;border-radius:8px;padding:20px}.conflict-card .button{white-space:normal;margin:6px 0}.sync-dialog{width:640px}.sync-dialog .details-grid{margin-top:20px}.workspace-notice .button{margin-top:4px}@media (max-width:800px){.auth-shell{margin:4vh auto;padding:25px}.auth-shell h1{font-size:27px}.auth-shell .brand-wordmark{margin-bottom:32px}.standalone-actions{flex-direction:row;justify-content:center;width:auto;margin:18px;position:relative;bottom:auto;left:auto}.workspace-notice{margin:18px;padding:16px}.sync-status{max-width:170px;padding:5px;font-size:9px}.topbar .avatar{display:none}.top-actions{gap:4px}.sync-dialog{width:100%}.sidebar-bottom{margin-bottom:10px}.sync-text{display:inline}}.conflict-comparison{margin:18px 0;overflow:auto}.conflict-comparison table{border-collapse:collapse;table-layout:fixed;background:#fff;width:100%;font-size:11px}.conflict-comparison th,.conflict-comparison td{text-align:left;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #dfd5b5;padding:10px}.conflict-comparison th:first-child{width:22%}.offline-login{background:#fff9df;border-radius:8px;margin:20px 0;padding:18px}.offline-login p{font-size:12px;line-height:1.8}.offline-login .button{margin-top:10px}.team-heading,.team-member-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.team-heading h3{margin:0}.team-members{gap:12px;margin:20px 0;display:grid}.team-member{background:#fafbf7;border:1px solid #dfe5d8;border-radius:9px;padding:18px}.team-member strong{overflow-wrap:anywhere;font-size:13px}.team-member p{margin:8px 0 12px}.access-badge{color:#7c601b;background:#fff2cb;border-radius:5px;padding:5px 8px;font-size:10px;display:inline-block}.access-active{color:#45663a;background:#edf5e9}.access-blocked{color:#943d30;background:#fcece8}.approval-form,.invite-form{gap:12px;margin:16px 0;display:grid}.approval-form .button,.invite-form .button{justify-self:start}.team-access .field input{min-height:42px;font-size:14px}.team-access .field span{font-size:12px}.team-access .button{white-space:normal;min-height:38px}.invite-form{border-top:1px solid #dfe5d8;padding-top:18px}.invite-form h4{font-size:14px}.private-invite{margin-top:20px}.private-invite textarea{overflow-wrap:anywhere;font-size:11px}.verification-code{text-align:center;letter-spacing:1px;background:#fff8db;border:1px solid #e5d28a;border-radius:8px;margin:20px 0;padding:18px 6px;font-size:27px;font-weight:650}.approval-progress{overflow-wrap:anywhere}.access-actions{flex-wrap:wrap;gap:10px;display:flex}.team-access .auth-message{color:#394a30}.access-waiting{max-width:570px}@media (max-width:480px){.verification-code{letter-spacing:0;font-size:21px}.team-member{padding:12px}.team-member-heading{gap:8px}}
