@import "https://fonts.googleapis.com/css2?family=Poppins:wght@700;800;900&display=swap";@import "https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap";:root{color:#111827;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f6f7f9;font-family:Poppins,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body{min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,a,input,textarea{font:inherit}input[type=number]{appearance:textfield}input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}#root{min-height:100vh}.dashboard-shell{--dash-bg:#f7f3ec;--dash-surface:#fffcf7f0;--dash-surface-solid:#fffdfa;--dash-border:#2e271e14;--dash-ink:#171512;--dash-muted:#766f65;--dash-soft:#f1ebe2;--dash-red:#d71920;background:radial-gradient(circle at top left, #d719200e, transparent 34rem), linear-gradient(180deg, #fbf7ef 0%, var(--dash-bg) 100%);min-height:100vh;color:var(--dash-ink);grid-template-columns:280px minmax(0,1fr);display:grid}.sidebar{border-right:1px solid var(--dash-border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffcf7eb;height:100vh;padding:28px 18px;position:sticky;top:0}.logo-block{align-items:center;gap:12px;padding:10px 10px 28px;display:flex}.logo{color:#fff;background:linear-gradient(135deg,#d71920,#8f1016);border-radius:18px;place-items:center;width:52px;height:52px;font-weight:900;display:grid;box-shadow:0 18px 38px #d7192040}.logo-block strong,.logo-block span{display:block}.logo-block span{color:#6b7280;margin-top:3px;font-size:13px}.sidebar nav{gap:8px;display:grid}.sidebar button,button{cursor:pointer;border:0;border-radius:14px;min-height:46px;font-weight:550}.sidebar button{color:#5f574e;text-align:left;background:0 0;width:100%;padding:0 14px}.sidebar button.active{color:var(--dash-ink);background:var(--dash-soft);font-weight:600;box-shadow:inset 4px 0 #d71920}.workspace{min-width:0;padding:28px}.topbar{justify-content:space-between;align-items:center;gap:20px;max-width:1440px;margin:0 auto 24px;display:flex}.eyebrow,.kicker{color:var(--dash-red);letter-spacing:.11em;text-transform:uppercase;margin:0 0 8px;font-size:12px;font-weight:600}h1,h2,h3{color:var(--dash-ink);letter-spacing:-.035em;margin:0;font-weight:720}h1{font-size:clamp(30px,5vw,46px);line-height:1.05}h2{font-size:22px;font-weight:700;line-height:1.18}.header-actions,.actions,.mini-actions{flex-wrap:wrap;gap:10px;display:flex}.primary,.ghost{padding:0 18px}.primary{color:#fff;background:linear-gradient(135deg,#d71920,#a70f17);box-shadow:0 14px 28px #d719202e}.ghost{color:#111827;background:#fff;border:1px solid #e5e7eb}button:disabled{cursor:wait;opacity:.78}.loading-button{white-space:nowrap;justify-content:center;align-items:center;gap:9px;display:inline-flex}.loading-button.is-loading{pointer-events:none}.button-spinner{border:2px solid #ffffff7a;border-top-color:#fff;border-radius:999px;width:16px;height:16px;animation:.75s linear infinite pdf-spin}.mini-pdf-button .button-spinner{border-width:1.8px;width:12px;height:12px}@keyframes pdf-spin{to{transform:rotate(360deg)}}.full{width:100%;margin-top:18px}.page-grid{grid-template-columns:minmax(0,1fr) 340px;gap:18px;max-width:1440px;margin:0 auto;display:grid}.panel{border:1px solid var(--dash-border);background:var(--dash-surface);border-radius:28px;padding:24px;box-shadow:0 24px 70px #261f1812,inset 0 1px #ffffffb8}.wide{grid-column:span 1}.line-panel.wide{grid-column:1/-1}.section-title{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.pill,.status{color:#991b1b;white-space:nowrap;background:#fff1f2;border-radius:999px;align-items:center;min-height:30px;padding:6px 10px;font-size:12px;font-weight:500;display:inline-flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}label{gap:8px;display:grid}label span,.muted{color:var(--dash-muted);font-size:13px;font-weight:400}.span-2{grid-column:span 2}input,textarea,select,.search{color:#111827;width:100%;min-height:46px;font:inherit;background:#fffdfa;border:1px solid #dfe3ea;border-radius:14px;outline:none;padding:12px 14px;font-weight:400}select{appearance:none}textarea{resize:vertical;min-height:92px}input:focus,textarea:focus{border-color:#d71920;box-shadow:0 0 0 4px #d7192017}.summary-card{color:#fff;background:linear-gradient(#111827,#18181b);align-self:start}.summary-card h2{color:#fff;margin-bottom:22px;font-size:34px}.total-row{color:#d1d5db;border-bottom:1px solid #ffffff1a;justify-content:space-between;gap:12px;padding:13px 0;display:flex}.total-row strong{color:#fff}.grand{font-size:17px}.line-table{gap:10px;padding-bottom:4px;display:grid;overflow-x:auto}.line-head,.line-row{grid-template-columns:130px minmax(260px,1fr) 90px 130px 90px 140px 88px;align-items:center;gap:10px;min-width:1080px;display:grid}.line-head{color:var(--dash-muted);letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:500}.line-row{background:#fbfbfc;border:1px solid #edf0f4;border-radius:18px;padding:12px}.product-inputs{grid-template-columns:1fr 1fr;gap:10px;display:grid}.expense-combobox,.crm-input-wrap{position:relative}.expense-combobox input,.crm-input-wrap input{width:100%;padding-right:40px}.expense-dropdown-toggle,.crm-input-icon{position:absolute;top:50%;right:8px;transform:translateY(-50%)}.expense-dropdown-toggle{color:#344054;cursor:pointer;background:0 0;border:0;border-left:1px solid #d9dee7;border-radius:0;width:30px;height:30px;padding:0;font-size:18px}.crm-company-field>span{align-items:center;gap:8px;display:flex}.crm-lookup-badge{color:#175cd3;text-transform:uppercase;background:#e9f3ff;border-radius:999px;padding:2px 7px;font-size:10px;font-weight:700}.crm-input-icon{color:#175cd3;pointer-events:none;font-size:21px}.crm-lookup-status{color:#667085;font-size:11px;font-weight:500}.upload-box{color:#6b7280;background:#fff;border:1px dashed #d1d5db;border-radius:14px;place-items:center;min-height:74px;font-size:13px;font-weight:500;display:grid}.upload-box input{display:none}.estimate-layout,.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1440px;margin:0 auto;display:grid}.category-card{color:#111827;text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:22px;min-height:116px;padding:22px}.category-card small{color:#6b7280;margin-top:8px;display:block}.records,.field-list,.config-list{gap:12px;display:grid}.record-card,.field-list article,.config-list button{background:#fff;border:1px solid #edf0f4;border-radius:18px;grid-template-columns:minmax(220px,1fr) 150px auto auto;align-items:center;gap:16px;padding:16px;display:grid}.record-card span,.field-list span{color:#6b7280;margin-top:4px;font-size:13px;display:block}.mini-actions button{min-height:38px;color:var(--dash-ink);background:var(--dash-soft);padding:0 12px;font-weight:600}.settings-card{min-width:0}.field-list article{grid-template-columns:minmax(180px,1fr) auto}.toggles{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.toggles span{color:#5f574e;background:#f3f4f6;border-radius:999px;margin:0;padding:5px 8px;font-weight:750}.config-list button{color:#111827;text-align:left;background:#fff;grid-template-columns:1fr auto;min-height:56px}.config-list button span{color:#6b7280;font-size:13px}@media (width<=1040px){.dashboard-shell{grid-template-columns:1fr}.sidebar{height:auto;padding:16px;position:static}.sidebar nav{grid-template-columns:repeat(4,minmax(150px,1fr));overflow-x:auto}.page-grid,.settings-grid{grid-template-columns:1fr}}@media (width<=720px){.workspace{padding:16px}.topbar,.section-title{flex-direction:column;align-items:stretch}.header-actions,.header-actions button{width:100%}.form-grid,.estimate-layout{grid-template-columns:1fr}.span-2{grid-column:span 1}.panel{border-radius:22px;padding:18px}.record-card,.field-list article,.config-list button{grid-template-columns:1fr}.toggles{justify-content:flex-start}}.image-cell{width:84px;height:62px;position:relative}.image-picker{cursor:pointer;background:#f6f7f9;border:1px dashed #d6dbe3;border-radius:12px;width:100%;height:100%;transition:border-color .16s,box-shadow .16s,transform .16s;display:block;position:relative;overflow:hidden}.image-picker:hover{border-color:#aeb7c4;transform:translateY(-1px)}.image-picker:focus-visible{outline-offset:2px;border-color:#2563eb;outline:3px solid #2563eb38}.image-cell.has-image .image-picker{border-style:solid}.image-picker img{object-fit:cover;width:100%;height:100%;display:block}.image-placeholder{color:#98a1ae;place-items:center;width:100%;height:100%;padding-bottom:14px;font-size:10px;font-weight:500;display:grid}.image-file-input{display:none}.camera-badge{color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#111827d1;border-radius:9px;place-items:center;width:27px;height:27px;display:grid;position:absolute;bottom:5px;left:50%;transform:translate(-50%);box-shadow:0 3px 9px #11182733}.camera-badge svg{fill:currentColor;width:15px;height:15px}.remove-image{z-index:2;color:#fff;background:#b42318;border:2px solid #fff;border-radius:50%;place-items:center;width:30px;min-height:30px;padding:0;font-size:20px;font-weight:400;line-height:1;display:grid;position:absolute;top:-8px;right:-8px;box-shadow:0 3px 9px #11182733}.remove-image:hover{background:#912018}.remove-image:focus-visible{outline-offset:2px;outline:3px solid #b4231840}.text-danger{color:#b91c1c;background:0 0;min-height:28px;padding:0 8px;font-size:11px}.icon-button{color:#6b7280;background:#f3f4f6;min-height:38px;padding:0 10px}.helper,.amount-words{color:#6b7280;margin:14px 0 0;font-size:13px;line-height:1.5}.summary-card .amount-words,.summary-card .helper{color:#d1d5db}.stack-actions,.compact-form,.config-list{gap:12px;display:grid}.tabbar{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.tabbar button{color:#5f574e;background:#f3f4f6;padding:0 16px}.tabbar button.active{color:#fff;background:#111827}.empty{color:#6b7280;background:#f9fafb;border:1px dashed #d1d5db;border-radius:18px;padding:28px}.record-card small{color:#6b7280;grid-column:1/-1}.compact-form{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px}.settings-row-main{grid-template-columns:minmax(160px,1fr) 140px 84px;gap:10px;display:grid}.field-list article{align-items:start}.muted-row{opacity:.58}.toggle{color:#5f574e;grid-template-columns:none;align-items:center;gap:7px;font-size:12px;font-weight:500;display:inline-flex}.toggle input{accent-color:#d71920;width:16px;min-height:16px}.template-editor{grid-column:span 2}.placeholder-strip{flex-wrap:wrap;gap:8px;margin:14px 0;display:flex}.placeholder-strip code{color:#991b1b;background:#fff1f2;border-radius:999px;padding:6px 8px;font-size:12px}.template-editor label{margin-top:12px}.category-card{gap:8px;display:grid}@media (width<=720px){.compact-form,.settings-row-main,.template-editor{grid-column:span 1;grid-template-columns:1fr}}.helper,.amount-words,.record-card span,.record-card small,.field-list span,.category-card small,.config-list button span,.empty,.total-row span,.image-cell>span,.toggles span,.toggle,.upload-box,.mini-upload{font-weight:400}.line-row,.record-card,.field-list article,.config-list button,.category-card{border-color:var(--dash-border);background:var(--dash-surface-solid)}.total-row strong,.mobile-total-chip strong,.doc-main strong,.doc-amount strong{font-weight:650}.grand strong,.summary-card h2{font-weight:750}.ai-panel{background:linear-gradient(#fff,#fff8f8);border-color:#fee2e2;gap:14px;display:grid}.ai-orb{color:#fff;background:linear-gradient(135deg,#111827,#d71920);border-radius:16px;place-items:center;width:46px;height:46px;font-weight:900;display:grid}.ai-list{gap:8px;display:grid}.ai-list span{color:#374151;background:#fff;border:1px solid #f3d6d8;border-radius:14px;padding:10px 12px;font-size:13px;line-height:1.45;display:block}.ai-actions{flex-wrap:wrap;gap:8px;display:flex}.ai-actions button{min-height:42px}.settings-saas{grid-template-columns:320px minmax(0,1fr);align-items:start;gap:20px;max-width:1440px;margin:0 auto;display:grid}.settings-menu{background:#fff;border:1px solid #e8eaef;border-radius:28px;padding:22px;position:sticky;top:28px;box-shadow:0 22px 70px #1118270f}.settings-menu h2{margin-bottom:16px}.settings-menu-list{gap:8px;display:grid}.settings-menu-list button{color:#374151;text-align:left;background:0 0;border-radius:16px;gap:4px;min-height:64px;padding:12px 14px;display:grid}.settings-menu-list button strong,.settings-menu-list button span{display:block}.settings-menu-list button strong{font-size:14px}.settings-menu-list button span{color:#6b7280;font-size:12px;font-weight:400}.settings-menu-list button.active{color:#fff;background:#111827;box-shadow:0 14px 28px #11182729}.settings-menu-list button.active span{color:#d1d5db}.settings-content{gap:16px;min-width:0;display:grid}.settings-content-head{background:linear-gradient(#fff,#fbfbfc);border:1px solid #e8eaef;border-radius:26px;justify-content:space-between;align-items:center;gap:14px;padding:20px 22px;display:flex;box-shadow:0 18px 50px #1118270d}.settings-content>.panel{box-shadow:0 20px 60px #1118270e}.settings-card .section-title{border-bottom:1px solid #edf0f4;padding-bottom:16px}.field-settings-panel{overflow:visible}.field-settings-table{gap:10px;display:grid}.field-settings-head,.field-config-row{grid-template-columns:minmax(210px,1fr) 150px 82px;align-items:center;gap:12px;display:grid}.field-settings-head{color:#6b7280;letter-spacing:.09em;text-transform:uppercase;padding:0 14px 4px;font-size:11px;font-weight:500}.field-settings-head span:last-child{display:none}.field-config-row{background:#fff;border:1px solid #edf0f4;border-radius:18px;padding:14px}.field-config-row input,.field-config-row select{border-radius:13px;min-height:42px}.order-input{text-align:center}.settings-switches{flex-wrap:wrap;grid-column:1/-1;gap:8px;padding-top:2px;display:flex}.settings-switches .toggle{white-space:nowrap;background:#f8f8fa;border:1px solid #edf0f4;border-radius:999px;justify-content:center;min-height:38px;padding:8px 12px}.settings-switches .toggle input{width:15px;min-height:15px}.settings-switches .toggle span{margin:0;font-size:11px}@media (width<=1180px){.settings-saas{grid-template-columns:1fr}.settings-menu{position:static}.settings-menu-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.settings-saas{gap:12px}.settings-menu{border-radius:22px;padding:16px}.settings-menu-list{scrollbar-width:none;gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.settings-menu-list::-webkit-scrollbar{display:none}.settings-menu-list button{min-width:190px}.settings-content-head{border-radius:22px;padding:16px;display:grid}.field-settings-head{display:none}.field-config-row{gap:10px;padding:12px;grid-template-columns:1fr!important}.field-config-row:before{content:"Field configuration";color:#d71920;letter-spacing:.1em;text-transform:uppercase;font-size:10px;font-weight:500}.settings-switches{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.settings-switches .toggle{border-radius:12px;justify-content:flex-start}}.settings-menu-list button strong{font-weight:600}.settings-menu-list button span,.field-settings-head{color:var(--dash-muted);font-weight:400}.field-config-row:before{font-weight:600}.quote-flow{grid-template-columns:1fr;gap:18px}.quote-flow>.panel,.quote-flow .line-panel,.quote-flow .summary-card{grid-column:1/-1}.quote-flow .section-title{margin-bottom:18px}.quote-flow .section-title h2{letter-spacing:-.03em;font-size:22px}.quote-flow .final-step{color:#111827;background:#fff;border:1px solid #e8eaef}.quote-flow .final-step h2{color:#111827}.quote-flow .final-step>h2{margin-bottom:12px;font-size:clamp(30px,5vw,44px)}.quote-flow .summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:100%;display:grid}.quote-flow .total-row{text-align:center;color:#6b7280;background:#fbfbfc;border:1px solid #edf0f4;border-radius:18px;place-items:center;gap:8px;min-height:92px;padding:18px 14px;display:grid}.quote-flow .total-row strong{color:#111827;font-size:18px}.quote-flow .total-row.grand{color:#d1d5db;background:#111827}.quote-flow .total-row.grand strong{color:#fff}.quote-flow .amount-words{color:#4b5563}.quote-flow .stack-actions{grid-template-columns:1fr 1fr;margin-top:20px}.quote-flow .stack-actions .full{margin-top:0}.quote-flow .stack-actions .primary,.quote-flow .stack-actions .ghost{min-height:54px;font-size:15px}@media (width<=980px){.quote-flow .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.quote-flow .summary-grid,.quote-flow .stack-actions{grid-template-columns:1fr}.quote-flow .final-step{order:99}}.quotation-form-layout{grid-template-columns:minmax(0,1.45fr) minmax(320px,.85fr);align-items:start;gap:18px;display:grid}.quotation-form-stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.quotation-form-stack .span-2{grid-column:1/-1}.quotation-form-stack label:has(textarea){grid-column:1/-1}.quotation-form-stack.compact-side{background:#fbfbfc;border:1px solid #edf0f4;border-radius:22px;grid-template-columns:1fr;padding:18px}.product-inputs.stacked{grid-template-columns:1fr}.product-inputs.stacked textarea{min-height:64px}.auto-number-field input[readonly]{cursor:not-allowed;color:#374151;background:linear-gradient(#f7f8fb 0%,#eef1f5 100%);border-color:#d9dee7;box-shadow:inset 0 0 0 1px #ffffffa6}.auto-number-field span:after{content:"Auto";color:#4f46e5;letter-spacing:.06em;text-transform:uppercase;background:#eef2ff;border-radius:999px;place-items:center;margin-left:8px;padding:2px 7px;font-size:10px;font-weight:900;display:inline-grid}.line-footer-actions{justify-content:flex-end;margin-top:16px;display:flex}.line-footer-actions button{min-width:150px}.delete-row{color:#b91c1c;background:#fff1f2;width:44px;min-width:44px;font-size:17px}@media (width<=980px){.quotation-form-layout,.quotation-form-stack{grid-template-columns:1fr}.quotation-form-stack.compact-side{padding:14px}}@media (width<=820px){html,body,#root{width:100%;max-width:100%;overflow-x:hidden}.dashboard-shell{background:#f7f7f8;min-height:100dvh;padding-bottom:76px;display:block}.sidebar{z-index:30;border-bottom:1px solid #e8eaef;border-right:0;height:auto;padding:10px 12px 8px;position:sticky;top:0;box-shadow:0 10px 30px #1118270f}.logo-block{padding:4px 2px 10px}.logo{border-radius:14px;width:42px;height:42px}.sidebar nav{scrollbar-width:none;grid-template-columns:repeat(4,max-content);gap:8px;padding:0 2px 6px;display:grid;overflow-x:auto}.sidebar nav::-webkit-scrollbar{display:none}.sidebar button{text-align:center;white-space:nowrap;width:auto;min-width:max-content;min-height:44px;box-shadow:none;background:#f3f4f6;border-radius:999px;padding:0 14px}.sidebar button.active{color:#fff;box-shadow:none;background:#111827}.workspace{width:100%;max-width:100%;padding:14px}.topbar{z-index:20;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff0;border:1px solid #e8eaef;border-radius:22px;gap:12px;margin:-2px 0 14px;padding:12px;display:grid;position:sticky;top:106px}.topbar h1{letter-spacing:-.04em;font-size:24px}.eyebrow,.kicker{margin-bottom:5px;font-size:10px}.header-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.header-actions button,button,.primary,.ghost{border-radius:14px;min-height:46px}.page-grid,.settings-grid,.estimate-layout,.form-grid,.compact-form{gap:12px;width:100%;max-width:100%;display:grid;grid-template-columns:1fr!important}.panel{border-radius:22px;width:100%;max-width:100%;padding:16px;box-shadow:0 12px 34px #1118270f}.section-title{gap:12px;margin-bottom:14px;display:grid}h2{font-size:19px}.span-2,.wide,.template-editor{grid-column:auto!important}input,textarea,select,.search{border-radius:14px;max-width:100%;min-height:48px;font-size:16px}textarea{min-height:86px}.summary-card{background:linear-gradient(160deg,#111827,#262026 58%,#d71920 180%);order:-1;position:relative}.summary-card h2{font-size:30px}.total-row{padding:10px 0}.ai-panel{background:linear-gradient(#fff,#fff7f7);border-color:#fee2e2;gap:12px;display:grid}.ai-orb{color:#fff;background:linear-gradient(135deg,#111827,#d71920);border-radius:16px;place-items:center;width:44px;height:44px;font-weight:900;display:grid}.ai-list{gap:8px;display:grid}.ai-list span{color:#374151;background:#fff;border:1px solid #f3d6d8;border-radius:14px;padding:10px 12px;font-size:13px;line-height:1.4}.ai-actions{grid-template-columns:1fr;gap:8px;display:grid}.line-table{gap:12px;display:grid;overflow:visible}.line-head{display:none}.line-row{background:#fff;border:1px solid #e8eaef;border-radius:20px;grid-template-columns:1fr;gap:10px;width:100%;min-width:0;padding:14px;display:grid}.product-inputs{grid-template-columns:1fr}.image-cell{grid-template-columns:88px 1fr;place-items:center stretch;gap:10px}.image-cell img,.image-cell>span{width:88px;height:72px}.mini-upload{text-align:center;place-items:center;min-height:44px}.text-danger{text-align:left;grid-column:2;min-height:38px}.icon-button{width:100%}.record-card,.field-list article,.config-list button,.settings-row-main{gap:10px;width:100%;display:grid;grid-template-columns:1fr!important}.mini-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.mini-actions button{min-height:44px}.toggles{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;gap:8px;display:grid}.toggle{background:#f8f8fa;border-radius:12px;min-height:42px;padding:9px 10px}.placeholder-strip{max-height:108px;padding-bottom:4px;overflow:auto}.category-card{min-height:auto}}.estimate-flow .final-step{grid-column:1/-1}.estimate-lines .line-head,.estimate-lines .line-row{grid-template-columns:minmax(320px,1fr) 110px 140px 100px 150px 88px;min-width:860px}.estimate-lines .product-inputs.stacked input::placeholder{color:#6b7280}@media (width<=820px){.estimate-lines .line-row{grid-template-columns:1fr;min-width:0}}.documents-module{gap:18px;display:grid}.documents-hero{border-bottom:1px solid #eef0f4;grid-template-columns:minmax(0,360px) minmax(260px,1fr);align-items:center;gap:18px;padding:8px 4px 14px;display:grid}.documents-search-only{grid-template-columns:1fr;padding-top:0}.documents-hero h2{letter-spacing:-.05em;margin:0;font-size:clamp(24px,3vw,36px)}.documents-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.view-toggle{background:#f8f9fb;border:1px solid #e8eaef;border-radius:16px;gap:6px;padding:6px;display:inline-flex}.view-toggle button{color:#6b7280;background:0 0;border:0;border-radius:12px;min-height:38px;padding:0 16px;font-weight:500}.view-toggle button.active{color:#fff;background:#111827;box-shadow:0 10px 24px #11182729}.records-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.records-list .document-card{grid-template-columns:minmax(260px,1fr) 150px 90px auto}.document-card{background:linear-gradient(#fff,#fbfbfc);border:1px solid #edf0f4;box-shadow:0 18px 45px #1118270d}.records-grid .document-card{grid-template-columns:1fr;align-content:space-between;gap:14px;min-height:220px;display:grid}.records-grid .mini-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.doc-main,.doc-amount{gap:4px;display:grid}.doc-main strong{letter-spacing:-.02em;font-size:15px}.doc-amount strong{font-size:20px}.danger-action{color:#991b1b!important;background:#fff1f2!important}@media (width<=980px){.documents-hero{grid-template-columns:1fr}.records-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.records-list .document-card{grid-template-columns:1fr}}@media (width<=640px){.records-grid{grid-template-columns:1fr}.documents-toolbar{align-items:stretch}.view-toggle,.documents-toolbar .tabbar{width:100%}.view-toggle button,.documents-toolbar .tabbar button{flex:1}}.documents-hero span,.document-card span,.document-card small{color:var(--dash-muted);font-weight:400}.view-toggle button{font-weight:500}.view-toggle button.active,.doc-main strong,.doc-amount strong{font-weight:650}.documents-module{margin-top:0}.document-card{border-radius:22px;padding:16px!important}.records-list .document-card{align-items:center;gap:12px;display:grid}.compact-status{background:#fff1f2;border-radius:999px;justify-content:center;align-items:center;width:fit-content;min-height:28px;padding:4px 10px;font-size:12px;font-weight:900;display:inline-flex;color:#991b1b!important}.compact-doc-actions{grid-auto-columns:44px;grid-auto-flow:column;justify-content:end;gap:8px;display:inline-grid}.compact-doc-actions button{border-radius:14px;min-width:44px;min-height:42px;padding:0;font-size:13px;font-weight:950}.compact-doc-actions button[aria-label=Edit],.compact-doc-actions button[aria-label=Duplicate]{font-size:18px}.compact-doc-actions .danger-action{font-size:16px}.records-grid .compact-doc-actions{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-flow:initial;grid-auto-columns:initial;justify-content:stretch}.records-grid .compact-doc-actions button{width:100%}@media (width<=640px){.documents-module{border-radius:26px!important;gap:12px!important;padding:18px!important}.documents-hero{gap:12px!important;padding:0 0 12px!important}.documents-hero h2{line-height:1;font-size:28px!important}.documents-hero span{font-size:14px}.documents-hero .search{border-radius:18px;min-height:48px}.documents-toolbar{gap:10px!important}.documents-toolbar .tabbar{border-radius:19px;width:100%;padding:5px}.documents-toolbar .tabbar button{border-radius:15px;min-height:52px}.documents-toolbar .view-toggle{display:none!important}.records,.records-grid,.records-list{grid-template-columns:1fr!important;gap:10px!important;display:grid!important}.document-card,.records-grid .document-card,.records-list .document-card{grid-template-areas:"main status""amount amount""actions actions""date date";align-items:start;width:100%;border-radius:20px!important;grid-template-columns:1fr auto!important;gap:8px 10px!important;min-height:0!important;padding:14px!important;display:grid!important;box-shadow:0 12px 28px #1118270f!important}.document-card .doc-main{grid-area:main;gap:2px;min-width:0}.document-card .doc-main strong{overflow-wrap:anywhere;line-height:1.25;font-size:14px!important}.document-card .doc-main span{font-size:12px}.document-card .compact-status{grid-area:status;justify-self:end;min-height:24px;padding:3px 9px;font-size:11px}.document-card .doc-amount{background:#f9fafb;border-radius:14px;grid-area:amount;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex!important}.document-card .doc-amount strong{line-height:1;font-size:20px!important}.document-card .doc-amount span{font-size:12px}.document-card .compact-doc-actions{grid-area:actions;width:100%;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important;display:grid!important}.document-card .compact-doc-actions button{width:100%;min-width:0;border-radius:13px!important;min-height:42px!important}.document-card small{grid-area:date;font-size:11px}}.settings-lock{max-width:560px;margin:72px auto}.lock-card{background:linear-gradient(#fff,#fbfbfc);border:1px solid #edf0f4;border-radius:28px;gap:14px;padding:28px;display:grid;box-shadow:0 24px 70px #11182714}.lock-card h2{letter-spacing:-.04em;margin:0;font-size:30px}.lock-card p{color:#6b7280;margin:0;font-weight:700}.lock-card input{min-height:52px;font:inherit;border:1px solid #e5e7eb;border-radius:16px;padding:0 16px}.settings-save-row{border-top:1px solid #eef0f4;justify-content:flex-end;margin-top:18px;padding-top:18px;display:flex}.settings-save-row .primary{min-width:150px}@media (width<=640px){.settings-lock{margin:24px 0}.settings-save-row .primary{width:100%}}.logo img,.logo-preview img{object-fit:contain;width:100%;height:100%;display:block}.logo:has(img){background:#fff;border:1px solid #e5e7eb;padding:6px;box-shadow:0 16px 34px #11182714}.logo-upload-row{background:#fbfbfc;border:1px solid #edf0f4;border-radius:20px;grid-template-columns:88px minmax(220px,1fr) auto;align-items:center;gap:14px;margin:16px 0 22px;padding:16px;display:grid}.logo-preview{color:#d71920;background:#fff;border:1px solid #e5e7eb;border-radius:18px;place-items:center;width:72px;height:72px;font-weight:900;display:grid;overflow:hidden}.logo-upload-control{gap:8px;display:grid}.logo-upload-control input{background:#fff;border:1px dashed #d1d5db;border-radius:14px;min-height:46px;padding:10px}@media (width<=720px){.logo-upload-row{grid-template-columns:1fr}}.mobile-line-field,.mobile-total-chip{margin:0;display:block}.mobile-line-field>span,.mobile-total-chip>span{display:none}.mobile-line-field>input{width:100%}.mobile-total-chip{font-weight:900}@media (width<=820px){.dashboard-shell{background:linear-gradient(#fff 0,#f6f7f9 120px 100%)}.sidebar{border-radius:0 0 24px 24px}.logo-block strong{font-size:15px}.logo-block span{font-size:12px}.workspace{padding:12px 12px 22px}.topbar{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;margin:0 0 12px;padding:8px 4px;position:static}.topbar h1{font-size:22px}.quote-flow{gap:14px}.quote-flow .panel{border-radius:24px;padding:16px}.quote-flow .section-title h2{font-size:18px}.quotation-form-layout,.estimate-form-layout{gap:12px}.quotation-form-stack label,.compact-form label,.form-grid label{gap:7px}.quotation-form-stack label>span,.compact-form label>span,.form-grid label>span{color:#374151;font-size:12px;font-weight:900}.line-panel{padding-bottom:18px!important}.line-row{position:relative;box-shadow:0 14px 36px #1118270f;border-radius:22px!important;padding:14px!important}.product-inputs.stacked input{font-size:16px;font-weight:850}.mobile-line-field{gap:6px;display:grid}.mobile-line-field>span,.mobile-total-chip>span{color:#6b7280;text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:900;display:block}.mobile-line-field>input{background:#fff;border:1px solid #e5e7eb;border-radius:14px;min-height:48px;padding:0 12px}.mobile-total-chip{color:#fff;background:#111827;border-radius:16px;gap:4px;padding:13px 14px;display:grid}.mobile-total-chip>span{color:#d1d5db}.mobile-total-chip strong{font-size:20px}.delete-row{color:#991b1b;min-height:48px;background:#fff1f2!important;border:1px solid #fecdd3!important}.line-footer-actions{z-index:10;background:linear-gradient(#fff0,#fff 45%);justify-content:flex-end;padding:10px 0 0;display:flex;position:sticky;bottom:10px}.line-footer-actions .ghost{border-radius:999px;min-width:148px;box-shadow:0 14px 32px #1118271f}.summary-card{color:#111827!important;background:#fff!important;order:99!important}.quote-flow .summary-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))!important}.quote-flow .total-row{min-height:82px;padding:13px 10px}.quote-flow .total-row strong{font-size:16px}.quote-flow .stack-actions{z-index:12;background:linear-gradient(#fff0,#fff 35%);padding-top:10px;position:sticky;bottom:10px}.quote-flow .stack-actions .primary,.quote-flow .stack-actions .ghost{border-radius:16px;min-height:54px}}@media (width<=430px){.sidebar nav{grid-template-columns:repeat(4,max-content)}.sidebar button{padding:0 12px;font-size:13px}.quote-flow .summary-grid{grid-template-columns:1fr!important}}@media (width<=820px){.summary-card.final-step{background:#fff!important;border-radius:26px!important;padding:18px!important;box-shadow:0 16px 42px #11182714!important}.summary-card.final-step .section-title{margin-bottom:14px}.summary-card.final-step>h2{text-align:center;letter-spacing:-.05em;background:linear-gradient(135deg,#111827,#1f2937);border-radius:22px;width:100%;padding:16px 18px;line-height:1;color:#fff!important;margin:4px 0 16px!important;font-size:34px!important}.quote-flow .summary-grid{width:100%;grid-template-columns:1fr!important;gap:10px!important;display:grid!important}.quote-flow .total-row,.quote-flow .total-row.grand{width:100%;text-align:left!important;border-radius:18px!important;justify-content:space-between!important;align-items:center!important;gap:14px!important;min-height:0!important;padding:15px 16px!important;display:flex!important}.quote-flow .total-row{color:#4b5563!important;background:#f9fafb!important;border:1px solid #e8eaef!important}.quote-flow .total-row.grand{color:#d1d5db!important;background:#111827!important;border-color:#111827!important}.quote-flow .total-row span,.quote-flow .total-row.grand span{min-width:0;font-weight:750;line-height:1.2;display:block;color:inherit!important;text-align:left!important;font-size:14px!important}.quote-flow .total-row strong,.quote-flow .total-row.grand strong{white-space:nowrap;flex:none;font-weight:950;line-height:1;color:#111827!important;text-align:right!important;font-size:18px!important}.quote-flow .total-row.grand strong{color:#fff!important}.quote-flow .amount-words{padding:0 2px;font-size:14px;line-height:1.4;color:#4b5563!important;margin:12px 0 14px!important}.quote-flow .stack-actions{background:0 0!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:10px!important;padding-top:0!important;display:grid!important;position:static!important}.quote-flow .stack-actions .ghost,.quote-flow .stack-actions .primary{width:100%;border-radius:18px!important;min-height:58px!important;font-size:15px!important;font-weight:900!important}}.mobile-brand-bar,.mobile-page-title,.mobile-footer-delete{display:none}@media (width<=820px){:root{--m-bg:#f3f5f8;--m-card:#fff;--m-ink:#111827;--m-muted:#6b7280;--m-border:#edf0f4;--m-shadow:0 10px 28px #11182712}body{background:var(--m-bg)}.dashboard-shell{background:linear-gradient(180deg, #f8fafc 0, #f4f6f9 104px, var(--m-bg) 100%);min-height:100vh;padding-top:98px;font-size:13px;display:block;overflow-x:hidden}.mobile-menu-button{top:calc(env(safe-area-inset-top,0px) + 12px);z-index:190;color:#0f172a;background:linear-gradient(#fff,#f8fafc);border:1px solid #0f172a14;border-radius:16px;place-items:center;width:42px;min-width:42px;height:42px;min-height:42px;padding:0;font-size:20px;line-height:1;display:grid;position:fixed;left:auto;right:16px;box-shadow:0 8px 18px #0f172a1a,inset 0 1px #ffffffe6}.menu-open .mobile-menu-button{opacity:0;pointer-events:none}.mobile-menu-backdrop{z-index:150;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0f172a75;border-radius:0;min-height:100vh;display:none;position:fixed;inset:0}.menu-open .mobile-menu-backdrop{display:block}.sidebar{z-index:170;width:min(312px,84vw);height:100dvh;padding:calc(env(safe-area-inset-top,0px) + 16px) 14px 16px;color:#111827;opacity:1;background:#fff;border-left:1px solid #e5e7eb;border-right:0;border-radius:24px 0 0 24px;transition:transform .21s cubic-bezier(.2,.8,.2,1);position:fixed;top:0;left:auto;right:0;overflow-y:auto;transform:translate(106%);box-shadow:-26px 0 80px #0f172a47}.menu-open .sidebar{transform:translate(0)}.logo-block{border-bottom:1px solid #f0f2f5;gap:9px;margin-bottom:12px;padding:4px 4px 14px}.logo{border-radius:13px;width:38px;height:38px;box-shadow:0 10px 22px #d719202e}.logo-block strong{letter-spacing:-.02em;font-size:13px}.logo-block span{margin-top:1px;font-size:10px}.sidebar nav{flex-direction:column;gap:8px;min-height:calc(100dvh - 128px);display:flex;overflow:visible}.sidebar button{text-align:left;white-space:normal;border-radius:14px;min-height:42px;padding:0 12px;font-size:13px}.sidebar button.active{color:#fff;background:linear-gradient(135deg,#111827,#0f172a);box-shadow:0 12px 26px #1118272e}.workspace{padding:0 8px 18px}.topbar{top:env(safe-area-inset-top,0px);z-index:145;-webkit-backdrop-filter:blur(18px)saturate(1.2);backdrop-filter:blur(18px)saturate(1.2);background:linear-gradient(#fffffffa,#f8fafcf5);border-bottom:1px solid #e2e8f0d6;justify-content:center;align-items:center;min-height:68px;margin:0;padding:10px 72px;display:flex;position:fixed;left:0;right:0;box-shadow:0 10px 26px #0f172a13}.topbar:after{content:"";background:linear-gradient(90deg,#0000,#0f172a14,#0000);height:1px;position:absolute;bottom:0;left:20px;right:20px}.desktop-page-title{display:none!important}.mobile-brand-bar{text-align:center;place-items:center;width:100%;min-width:0;display:grid!important}.mobile-brand-logo{justify-content:flex-start;align-items:center;width:67px;min-width:67px;height:32px;display:inline-flex;position:absolute;top:50%;left:18px;overflow:visible;transform:translateY(-50%)}.mobile-brand-logo img{object-fit:contain;width:100%;height:100%;padding:0}.mobile-brand-logo span{letter-spacing:-.08em;text-transform:uppercase;font-size:22px;font-weight:950;line-height:1;color:#d71920!important}.mobile-brand-bar strong{letter-spacing:-.045em;color:#0f172a;font-family:Poppins,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:20px;font-weight:900;line-height:1;display:block}.mobile-subbrand{display:none}.mobile-subbrand>span:last-child{display:inline-block}.mobile-page-title{margin:0 4px 10px;padding:0 2px;display:block!important}.mobile-page-title h1{letter-spacing:-.045em;color:#111827;margin:0;line-height:1.15;font-size:20px!important}.page-grid,.quote-flow,.estimate-flow{max-width:none;display:grid;grid-template-columns:1fr!important;gap:9px!important}.panel,.quote-flow .panel,.settings-shell,.documents-shell{border-color:#e8eaefeb;box-shadow:var(--m-shadow)!important;background:var(--m-card)!important;border-radius:18px!important;padding:12px!important}.section-title{gap:8px;margin-bottom:10px}h2,.quote-flow .section-title h2,.section-title h2,.settings-panel h2,.documents-shell h2{letter-spacing:-.035em;line-height:1.18;font-size:15px!important}.quotation-form-layout,.estimate-form-layout,.quotation-form-stack,.quotation-form-stack.compact-side,.form-grid,.compact-form{background:0 0!important;border:0!important;grid-template-columns:1fr!important;gap:9px!important;padding:0!important;display:grid!important}label,.quotation-form-stack label,.compact-form label,.form-grid label{gap:4px!important}label span,.quotation-form-stack label>span,.compact-form label>span,.form-grid label>span,.mobile-line-field>span,.mobile-total-chip>span{letter-spacing:.04em;text-transform:uppercase;font-weight:850;line-height:1.1;color:#4b5563!important;font-size:10px!important}input,textarea,select,.mobile-line-field>input{line-height:1.25;min-height:40px!important;box-shadow:none!important;background:#fff!important;border-radius:13px!important;padding:9px 10px!important;font-size:13px!important}textarea{min-height:58px!important}.auto-number-field input[readonly]{min-height:42px!important}.line-panel{padding-bottom:12px!important}.line-table{gap:8px;display:grid}.line-row,.estimate-lines .line-row{border-radius:16px!important;grid-template-columns:1fr!important;gap:8px!important;min-width:0!important;padding:10px!important;display:grid!important;box-shadow:0 8px 22px #1118270f!important}.image-cell{background:#f8fafc;border-radius:15px;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:8px;min-height:54px;padding:7px;display:grid!important}.image-cell span{font-size:10px}.mini-upload,.upload-small{border-radius:13px!important;min-height:38px!important;padding:0 10px!important;font-size:11px!important}.product-inputs.stacked{gap:7px!important}.product-inputs.stacked input{font-size:13px!important;font-weight:750!important}.mobile-total-chip{min-height:48px;background:#111827!important;border-radius:15px!important;padding:10px 12px!important}.mobile-total-chip>span{color:#cbd5e1!important}.mobile-total-chip strong,.summary-card>h2{line-height:1.1;font-size:18px!important}.delete-row{border-radius:13px!important;min-height:40px!important}.line-footer-actions{background:0 0!important;padding:8px 0 0!important;position:static!important}.line-footer-actions .ghost{font-size:12px;border-radius:999px!important;min-width:120px!important;min-height:40px!important;padding:0 14px!important;box-shadow:0 8px 20px #11182717!important}.summary-card{padding:12px!important}.summary-card>h2{background:#111827;border-radius:15px;place-items:center;min-height:48px;margin-bottom:8px;display:grid;color:#fff!important}.quote-flow .summary-grid{grid-template-columns:1fr!important;gap:7px!important}.quote-flow .total-row,.total-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;border-radius:13px!important;min-height:42px!important;padding:9px 10px!important;display:grid!important}.quote-flow .total-row span,.total-row span{font-size:11px!important}.quote-flow .total-row strong,.total-row strong{white-space:nowrap;font-size:13px!important}.quote-flow .stack-actions{grid-template-columns:1fr;gap:8px;display:grid;background:0 0!important;padding-top:8px!important;position:static!important}.quote-flow .stack-actions .primary,.quote-flow .stack-actions .ghost,.primary,.ghost{font-size:12px;border-radius:13px!important;min-height:42px!important}.amount-words{margin:8px 0 0!important;font-size:11px!important}.documents-toolbar,.doc-filters,.settings-layout{gap:8px!important}.documents-shell .doc-card,.doc-card,.settings-card,.field-card{border-radius:16px!important;padding:10px!important}.documents-shell,.documents-list,.documents-grid{min-width:0!important}.doc-card,.panel,.summary-card,.settings-card,.field-card{overflow:hidden}.panel p,.doc-card p,.settings-card p,.summary-card p,.amount-words,.documents-shell,.settings-shell{font-size:12px!important;line-height:1.45!important}.panel strong,.doc-card strong,.settings-card strong,.total-row strong{font-size:13px!important;line-height:1.25!important}.sidebar *{opacity:1!important;text-shadow:none!important}.sidebar button{color:#374151;background:#f5f6f8;justify-content:flex-start;align-items:center;gap:10px;width:100%;height:48px;min-height:48px;font-weight:750;display:flex}.sidebar button.settings-nav{margin-top:auto}.nav-icon{background:#ffffffb8;border-radius:9px;place-items:center;width:26px;min-width:26px;height:26px;font-size:15px;line-height:1;display:grid}.sidebar button.active .nav-icon{background:#ffffff29}.sidebar button.active{color:#fff!important}.quote-flow .line-head{display:none!important}.quote-flow .line-row:not(.estimate-lines .line-row){grid-template-columns:58px minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);grid-template-areas:"image product product product""qty price gst total";align-items:stretch;position:relative;border-radius:16px!important;gap:8px!important;padding:10px!important;display:grid!important}.quote-flow .line-row:not(.estimate-lines .line-row)>.image-cell{background:#f8fafc;border:1px dashed #dbe2ea;border-radius:14px;grid-area:image;place-items:center;width:58px;min-height:78px;position:relative;overflow:visible;grid-template-columns:1fr!important;padding:0!important;display:grid!important}.quote-flow .line-row:not(.estimate-lines .line-row)>.image-cell .image-picker,.quote-flow .line-row:not(.estimate-lines .line-row)>.image-cell img{object-fit:cover;width:100%;height:100%;min-height:78px}.quote-flow .line-row:not(.estimate-lines .line-row)>.image-cell .image-placeholder{display:none}.quote-flow .line-row:not(.estimate-lines .line-row)>.image-cell .camera-badge{bottom:50%;transform:translate(-50%,50%)}.quote-flow .line-row:not(.estimate-lines .line-row)>.image-cell.has-image .camera-badge{bottom:5px;transform:translate(-50%)}.quote-flow .line-row:not(.estimate-lines .line-row)>.image-cell .remove-image{width:28px;min-height:28px;top:-7px;right:-7px}.quote-flow .line-row:not(.estimate-lines .line-row)>.product-inputs{grid-area:product;min-width:0}.quote-flow .line-row:not(.estimate-lines .line-row)>.product-inputs input,.quote-flow .line-row:not(.estimate-lines .line-row)>.product-inputs textarea{min-height:36px!important;padding:8px 10px!important}.quote-flow .line-row:not(.estimate-lines .line-row)>.product-inputs textarea{min-height:38px!important}.quote-flow .line-row:not(.estimate-lines .line-row)>.mobile-line-field{min-width:0}.quote-flow .line-row:not(.estimate-lines .line-row)>.mobile-line-field:first-of-type{grid-area:qty}.quote-flow .line-row:not(.estimate-lines .line-row)>.mobile-line-field:nth-of-type(2){grid-area:price}.quote-flow .line-row:not(.estimate-lines .line-row)>.mobile-line-field:nth-of-type(3){grid-area:gst}.quote-flow .line-row:not(.estimate-lines .line-row)>.mobile-line-field input{text-align:center;min-height:36px!important;padding:7px 6px!important}.quote-flow .line-row:not(.estimate-lines .line-row)>.mobile-total-chip{text-align:center;grid-area:total;min-height:50px!important;padding:7px 6px!important}.quote-flow .line-row:not(.estimate-lines .line-row)>.delete-row{display:none!important}.quote-flow .line-footer-actions{justify-content:flex-end;align-items:center;gap:10px;padding-top:10px;display:flex!important}.quote-flow .line-footer-actions .ghost{font-weight:900;border-radius:999px!important;min-height:52px!important;padding:0 24px!important}.quote-flow .line-footer-actions .mobile-footer-delete{color:#dc2626;place-items:center;width:52px;height:52px;background:#fff1f2!important;border:1px solid #ffe4e6!important;border-radius:999px!important;min-width:52px!important;min-height:52px!important;padding:0!important;display:grid!important;box-shadow:0 12px 22px #e11d481f!important}.estimate-flow .estimate-lines .line-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 64px;grid-template-areas:"product product product product""days cost gst total";align-items:stretch;border-radius:16px!important;gap:6px!important;padding:10px!important;display:grid!important}.estimate-flow .estimate-lines .line-row>.product-inputs{grid-area:product;min-width:0}.estimate-flow .estimate-lines .line-row>.product-inputs input,.estimate-flow .estimate-lines .line-row>.product-inputs textarea{min-height:36px!important;padding:8px 10px!important}.estimate-flow .estimate-lines .line-row>.product-inputs textarea{min-height:42px!important}.estimate-flow .estimate-lines .line-row>.mobile-line-field{grid-template-rows:14px 38px;gap:4px;min-width:0;display:grid!important}.estimate-flow .estimate-lines .line-row>.mobile-line-field>span{white-space:nowrap;text-overflow:clip;letter-spacing:.04em;width:100%;display:block;overflow:hidden;font-size:9px!important;line-height:1!important}.estimate-flow .estimate-lines .line-row>.mobile-line-field:first-of-type{grid-area:days}.estimate-flow .estimate-lines .line-row>.mobile-line-field:nth-of-type(2){grid-area:cost}.estimate-flow .estimate-lines .line-row>.mobile-line-field:nth-of-type(3){grid-area:gst}.estimate-flow .estimate-lines .line-row>.mobile-line-field input{text-align:center;height:38px!important;min-height:38px!important;padding:6px 4px!important;font-size:13px!important}.estimate-flow .estimate-lines .line-row>.mobile-total-chip{text-align:center;grid-area:total;height:56px;min-height:56px!important;padding:7px 5px!important}.estimate-flow .estimate-lines .line-row>.delete-row{display:none!important}.estimate-flow .line-footer-actions{justify-content:flex-end;align-items:center;gap:10px;padding-top:10px;display:flex!important}.estimate-flow .line-footer-actions .ghost{font-weight:900;border-radius:999px!important;min-height:52px!important;padding:0 22px!important}.estimate-flow .line-footer-actions .mobile-footer-delete{color:#dc2626;place-items:center;width:52px;height:52px;background:#fff1f2!important;border:1px solid #ffe4e6!important;border-radius:999px!important;min-width:52px!important;min-height:52px!important;padding:0!important;display:grid!important;box-shadow:0 12px 22px #e11d481f!important}.summary-card.final-step{gap:12px;display:grid;background:linear-gradient(#fff 0%,#f8fafc 100%)!important;border-radius:22px!important;padding:14px!important}.summary-card.final-step .section-title{margin-bottom:0}.summary-card.final-step .summary-grid{grid-template-columns:1fr;gap:8px!important;display:grid!important}.summary-card.final-step .total-row{border:1px solid #edf1f6;min-height:44px!important;box-shadow:none!important;background:#fff!important;border-radius:15px!important;padding:10px 12px!important}.summary-card.final-step .total-row span{color:#64748b;font-weight:800;font-size:12px!important}.summary-card.final-step .total-row strong{color:#0f172a;font-weight:900;font-size:14px!important}.summary-card.final-step .total-row.grand{color:#fff;background:linear-gradient(135deg,#0f172a,#111827)!important;border:0!important;min-height:54px!important;box-shadow:0 14px 24px #0f172a29!important}.summary-card.final-step .total-row.grand span,.summary-card.final-step .total-row.grand strong{color:#fff!important}.summary-card.final-step .total-row.grand strong{letter-spacing:-.03em;font-size:21px!important}.summary-card.final-step .amount-words{color:#475569;font-weight:800;margin:-2px 2px 0!important;font-size:12px!important;line-height:1.45!important}.summary-card.final-step .stack-actions{grid-template-columns:1fr;gap:10px;display:grid;padding-top:0!important}.summary-card.final-step .stack-actions .ghost,.summary-card.final-step .stack-actions .primary{font-weight:900;border-radius:15px!important;min-height:48px!important;font-size:14px!important}.edit-modal-card{font-size:13px}}@media (width>=821px){.mobile-menu-button,.mobile-menu-backdrop{display:none}}@media (width<=900px){.settings-saas{grid-template-columns:1fr!important;gap:10px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;display:grid!important;overflow-x:hidden!important}.settings-menu{z-index:8!important;-webkit-backdrop-filter:blur(14px)!important;backdrop-filter:blur(14px)!important;background:#f7f8fbf5!important;border:0!important;border-radius:0!important;margin:0 -12px 8px!important;padding:10px 12px!important;position:sticky!important;top:82px!important;box-shadow:0 10px 28px #0f172a14!important}.settings-menu>h2,.settings-content-head,.active-settings .mobile-page-title{display:none!important}.settings-menu-list{overscroll-behavior-x:contain!important;scroll-snap-type:x proximity!important;scrollbar-width:none!important;gap:8px!important;padding:2px 2px 8px!important;display:flex!important;overflow-x:auto!important}.settings-menu-list::-webkit-scrollbar{display:none!important}.settings-menu-list button{white-space:nowrap!important;scroll-snap-align:start!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:999px!important;flex:none!important;min-width:auto!important;min-height:44px!important;padding:0 15px!important;box-shadow:0 6px 18px #0f172a0f!important}.settings-menu-list button strong{letter-spacing:-.01em!important;font-size:12px!important;line-height:1!important}.settings-menu-list button.active{color:#fff!important;background:#111827!important;border-color:#111827!important;box-shadow:0 10px 24px #11182738!important}.settings-content{width:100%!important;min-width:0!important;display:block!important;overflow-x:hidden!important}.settings-card,.settings-content>.panel{border-radius:22px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:16px!important;overflow:hidden!important;box-shadow:0 12px 34px #0f172a12!important}.settings-card>h2,.settings-card .section-title h2{letter-spacing:-.03em!important;margin:0!important;font-size:18px!important;line-height:1.15!important}.settings-card .section-title{justify-content:space-between!important;align-items:center!important;gap:10px!important;margin-bottom:12px!important;padding-bottom:12px!important;display:flex!important}.settings-card .section-title .ghost,.settings-card button.ghost,.settings-save-row .primary,.settings-card .primary{border-radius:14px!important;min-height:44px!important}.settings-card .compact-form,.settings-card .config-list{grid-template-columns:1fr!important;gap:12px!important;width:100%!important;display:grid!important}.settings-card label{width:100%!important;min-width:0!important}.settings-card label>span,.logo-upload-control>span{letter-spacing:.08em!important;text-transform:uppercase!important;color:#4b5563!important;margin-bottom:6px!important;font-size:10px!important;font-weight:900!important;display:block!important}.settings-card input,.settings-card select,.settings-card textarea{box-sizing:border-box!important;border-radius:14px!important;width:100%!important;max-width:100%!important;min-height:46px!important;font-size:15px!important}.settings-card textarea{resize:vertical!important;min-height:118px!important}.logo-upload-row{background:#fbfbfd!important;border:1px solid #eef0f4!important;border-radius:18px!important;grid-template-columns:72px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;margin:14px 0!important;padding:12px!important;display:grid!important}.logo-preview{border-radius:18px!important;width:72px!important;height:72px!important}.logo-upload-control{width:100%!important;min-width:0!important}.logo-upload-control input[type=file]{min-height:44px!important;padding:9px!important;font-size:12px!important}.logo-upload-row .ghost{grid-column:1/-1!important;width:100%!important}.field-settings-table{gap:12px!important}.field-config-row{border-radius:18px!important;grid-template-columns:1fr 98px!important;gap:10px!important;padding:12px!important;display:grid!important}.field-config-row:before{content:none!important;display:none!important}.field-config-row .field-label-input,.field-config-row select{grid-column:1/-1!important}.field-config-row .order-input{grid-column:1/2!important}.settings-switches{grid-column:1/-1!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;display:grid!important}.settings-switches .toggle,.config-list .toggle,.compact-form .toggle{background:#f9fafb!important;border:1px solid #edf0f4!important;border-radius:14px!important;justify-content:flex-start!important;min-height:44px!important;padding:10px 12px!important}.settings-switches .toggle span,.config-list .toggle span,.compact-form .toggle span{white-space:normal!important;margin:0!important;font-size:12px!important;line-height:1.15!important}.settings-save-row{z-index:6!important;padding:12px 16px calc(12px + env(safe-area-inset-bottom))!important;background:linear-gradient(#ffffffe0,#fff)!important;border-top:1px solid #eef0f4!important;margin:16px -16px -16px!important;position:sticky!important;bottom:0!important}.settings-save-row .primary{width:100%!important}.estimate-row{grid-template-columns:1.05fr 1.05fr .82fr 1.08fr!important;align-items:end!important;column-gap:8px!important}}@media (width<=820px){.dashboard-shell:has(.active-settings){background:#f5f6f8!important;padding-top:74px!important}.active-settings{padding-inline:10px!important}.active-settings .settings-menu{margin:0 -10px 10px!important;padding:8px 10px 10px!important;top:68px!important}.active-settings .settings-menu-list{gap:8px!important;padding:2px 4px 6px!important}.active-settings .settings-menu-list button{height:44px!important;min-height:44px!important;max-height:44px!important;padding:0 16px!important;box-shadow:0 8px 18px #0f172a0f!important}.active-settings .settings-card,.active-settings .settings-content>.panel{box-sizing:border-box!important;border-radius:20px!important;padding:14px!important}.active-settings .field-settings-panel .section-title{grid-template-columns:1fr!important;gap:10px!important;display:grid!important}.active-settings .field-settings-panel .section-title .ghost{width:100%!important}.active-settings .field-settings-table{gap:12px!important;width:100%!important;max-width:100%!important;display:grid!important;overflow:hidden!important}.active-settings .field-config-row{box-sizing:border-box!important;background:#fff!important;border-radius:18px!important;grid-template-columns:1fr!important;gap:9px!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:12px!important;display:grid!important;overflow:hidden!important}.active-settings .field-config-row .field-label-input,.active-settings .field-config-row select,.active-settings .field-config-row .order-input{box-sizing:border-box!important;border-radius:14px!important;grid-column:1/-1!important;width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;min-height:44px!important;padding:0 13px!important;font-size:14px!important}.active-settings .settings-switches{grid-column:1/-1!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;min-width:0!important;display:grid!important;overflow:hidden!important}.active-settings .settings-switches .toggle{box-sizing:border-box!important;background:#f8fafc!important;border-radius:13px!important;align-items:center!important;gap:8px!important;width:100%!important;min-width:0!important;min-height:42px!important;padding:8px 10px!important;display:flex!important}.active-settings .settings-card input[type=checkbox],.active-settings .settings-switches .toggle input,.active-settings .config-list .toggle input,.active-settings .compact-form .toggle input{appearance:auto!important;-webkit-appearance:checkbox!important;accent-color:#d71920!important;flex:0 0 18px!important;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;margin:0!important;padding:0!important}.active-settings .settings-switches .toggle span{text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important;font-size:11px!important;font-weight:850!important;overflow:hidden!important}}@media (width<=430px){.active-settings .settings-menu-list button{padding:0 13px!important}.active-settings .settings-menu-list button strong{font-size:11px!important}.logo-upload-row{grid-template-columns:64px minmax(0,1fr)!important;gap:10px!important;padding:10px!important}.logo-preview{width:64px!important;height:64px!important}.active-settings .settings-switches{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (width<=820px){html,body,#root,.dashboard-shell,.workspace,.active-settings,.settings-saas,.settings-content,.settings-card,.settings-card *{box-sizing:border-box!important}html,body,#root,.dashboard-shell{width:100%!important;max-width:100%!important;overflow-x:hidden!important}.dashboard-shell:has(.active-settings){background:#f4f6f9!important;padding-top:72px!important}.active-settings{width:100%!important;max-width:100vw!important;padding:0 12px 20px!important;overflow-x:hidden!important}.active-settings .mobile-page-title,.active-settings .settings-menu>h2,.active-settings .settings-content-head,.active-settings .field-settings-head{display:none!important}.active-settings .settings-saas{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;display:block!important;overflow-x:hidden!important}.active-settings .settings-menu{width:100%!important;max-width:100%!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:0 0!important;border:0!important;border-radius:0!important;margin:0 0 12px!important;padding:0!important;position:static!important;overflow:visible!important}.active-settings .settings-menu-list{scroll-snap-type:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;display:grid!important;overflow:visible!important}.active-settings .settings-menu-list button{color:#111827!important;text-align:center!important;white-space:normal!important;background:#fff!important;border:1px solid #e8ebf0!important;border-radius:18px!important;justify-content:center!important;align-items:center!important;width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0 8px!important;display:flex!important;overflow:hidden!important;box-shadow:0 8px 20px #0f172a0f!important}.active-settings .settings-menu-list button strong{text-overflow:ellipsis!important;white-space:nowrap!important;letter-spacing:-.03em!important;max-width:100%!important;font-size:12px!important;font-weight:900!important;line-height:1!important;display:block!important;overflow:hidden!important}.active-settings .settings-menu-list button.active{color:#fff!important;background:#101827!important;border-color:#101827!important;box-shadow:0 12px 24px #10182738!important}.active-settings .settings-content{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;display:block!important;overflow-x:hidden!important}.active-settings .settings-card,.active-settings .settings-content>.panel{background:#fff!important;border:1px solid #e8ebf0!important;border-radius:24px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:14px!important;display:block!important;overflow:hidden!important;box-shadow:0 14px 34px #0f172a14!important}.active-settings .settings-card>h2,.active-settings .settings-card .section-title h2{letter-spacing:-.04em!important;color:#101827!important;margin:0 0 14px!important;font-size:19px!important;line-height:1.1!important}.active-settings .settings-card .section-title{border-bottom:1px solid #eef1f5!important;grid-template-columns:1fr!important;gap:10px!important;margin:0 0 14px!important;padding:0 0 12px!important;display:grid!important}.active-settings .settings-card .section-title .ghost,.active-settings .settings-card button.ghost,.active-settings .settings-card button.primary,.active-settings .settings-save-row .primary{border-radius:16px!important;width:100%!important;min-width:0!important;min-height:46px!important;font-size:14px!important;font-weight:900!important}.active-settings .compact-form,.active-settings .config-list,.active-settings .field-settings-table,.active-settings .template-editor{grid-template-columns:1fr!important;gap:12px!important;width:100%!important;min-width:0!important;max-width:100%!important;display:grid!important;overflow:hidden!important}.active-settings .settings-card label,.active-settings .logo-upload-control{width:100%!important;min-width:0!important;max-width:100%!important;display:block!important;overflow:hidden!important}.active-settings .settings-card label>span,.active-settings .logo-upload-control>span{text-overflow:ellipsis!important;white-space:nowrap!important;color:#596274!important;letter-spacing:.09em!important;text-transform:uppercase!important;max-width:100%!important;margin:0 0 7px!important;font-size:10px!important;font-weight:950!important;display:block!important;overflow:hidden!important}.active-settings .settings-card input:not([type=checkbox]),.active-settings .settings-card select,.active-settings .settings-card textarea{color:#111827!important;background:#fff!important;border:1px solid #e4e7ed!important;border-radius:17px!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:48px!important;margin:0!important;padding:0 14px!important;font-size:15px!important;font-weight:800!important;line-height:1.2!important;display:block!important;overflow:hidden!important;box-shadow:inset 0 1px #0f172a05!important}.active-settings .settings-card textarea{resize:vertical!important;min-height:128px!important;padding:12px 14px!important}.active-settings .logo-upload-row{background:#fbfcfe!important;border:1px solid #eef1f5!important;border-radius:22px!important;grid-template-columns:70px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;width:100%!important;max-width:100%!important;margin:0 0 14px!important;padding:12px!important;display:grid!important;overflow:hidden!important}.active-settings .logo-preview{border-radius:18px!important;width:70px!important;min-width:70px!important;height:70px!important;overflow:hidden!important}.active-settings .logo-preview img{object-fit:contain!important;width:100%!important;height:100%!important}.active-settings .logo-upload-control input[type=file]{border-radius:14px!important;width:100%!important;max-width:100%!important;min-height:42px!important;padding:9px!important;font-size:12px!important;font-weight:800!important;overflow:hidden!important}.active-settings .logo-upload-row .ghost{grid-column:1/-1!important}.active-settings .field-config-row{background:#fbfcfe!important;border:1px solid #eef1f5!important;border-radius:20px!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:12px!important;display:grid!important;overflow:hidden!important}.active-settings .field-config-row:before{content:none!important;display:none!important}.active-settings .field-config-row .field-label-input,.active-settings .field-config-row select,.active-settings .field-config-row .order-input{grid-column:1/-1!important}.active-settings .settings-switches{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;display:grid!important;overflow:hidden!important}.active-settings .settings-switches .toggle,.active-settings .config-list .toggle,.active-settings .compact-form .toggle{background:#fff!important;border:1px solid #e6eaf0!important;border-radius:15px!important;justify-content:flex-start!important;align-items:center!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:42px!important;margin:0!important;padding:8px 10px!important;display:flex!important;overflow:hidden!important}.active-settings .settings-card input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;accent-color:#111827!important;border-radius:4px!important;flex:0 0 17px!important;width:17px!important;min-width:17px!important;max-width:17px!important;height:17px!important;min-height:17px!important;max-height:17px!important;margin:0!important;padding:0!important}.active-settings .settings-switches .toggle span,.active-settings .config-list .toggle span,.active-settings .compact-form .toggle span{text-overflow:ellipsis!important;white-space:nowrap!important;color:#111827!important;flex:auto!important;min-width:0!important;margin:0!important;font-size:11px!important;font-weight:900!important;line-height:1.1!important;overflow:hidden!important}.active-settings .settings-save-row{z-index:20!important;width:calc(100% + 28px)!important;padding:12px 14px calc(12px + env(safe-area-inset-bottom))!important;-webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important;background:#fffffff5!important;border-top:1px solid #eef1f5!important;margin:16px -14px -14px!important;position:sticky!important;bottom:0!important}}@media (width<=380px){.active-settings{padding-inline:10px!important}.active-settings .settings-menu-list button strong{font-size:11px!important}.active-settings .logo-upload-row{grid-template-columns:62px minmax(0,1fr)!important;gap:10px!important}.active-settings .logo-preview{width:62px!important;min-width:62px!important;height:62px!important}}@media (width<=820px){.estimate-flow .estimate-lines .line-row{border-radius:20px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-areas:"product product product""days cost gst""total total total"!important;align-items:stretch!important;gap:10px!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:14px!important;display:grid!important;overflow:hidden!important}.estimate-flow .estimate-lines .line-row>.product-inputs{grid-area:product!important;width:100%!important;min-width:0!important;max-width:100%!important}.estimate-flow .estimate-lines .line-row>.field-days{grid-area:days!important}.estimate-flow .estimate-lines .line-row>.field-cost{grid-area:cost!important}.estimate-flow .estimate-lines .line-row>.field-gst{grid-area:gst!important}.estimate-flow .estimate-lines .line-row>.mobile-line-field{grid-template-rows:auto 44px!important;gap:7px!important;width:100%!important;min-width:0!important;max-width:100%!important;display:grid!important;overflow:hidden!important}.estimate-flow .estimate-lines .line-row>.mobile-line-field>span{text-overflow:ellipsis!important;white-space:nowrap!important;color:#374151!important;letter-spacing:.06em!important;text-transform:uppercase!important;width:100%!important;max-width:100%!important;font-size:10px!important;font-weight:950!important;line-height:1.1!important;display:block!important;overflow:hidden!important}.estimate-flow .estimate-lines .line-row>.mobile-line-field input{text-align:center!important;box-sizing:border-box!important;border-radius:16px!important;width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;min-height:44px!important;padding:0 8px!important;font-size:15px!important;font-weight:900!important}.estimate-flow .estimate-lines .line-row>.mobile-total-chip{box-sizing:border-box!important;background:#0f172a!important;border-radius:17px!important;grid-area:total!important;justify-content:space-between!important;align-items:center!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:48px!important;margin:0!important;padding:10px 14px!important;display:flex!important}.estimate-flow .estimate-lines .line-row>.mobile-total-chip>span,.estimate-flow .estimate-lines .line-row>.mobile-total-chip>strong{color:#fff!important;white-space:nowrap!important}.estimate-flow .estimate-lines .line-row>.mobile-total-chip>span{letter-spacing:.08em!important;text-transform:uppercase!important;font-size:11px!important;font-weight:950!important}.estimate-flow .estimate-lines .line-row>.mobile-total-chip>strong{font-size:18px!important;font-weight:950!important}}@media (width<=380px){.estimate-flow .estimate-lines .line-row{grid-template-columns:1fr 1fr!important;grid-template-areas:"product product""days cost""gst gst""total total"!important}}@media (width<=820px){.estimate-flow .estimate-lines .line-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-areas:"product product product""days cost gst""total total total"!important;gap:10px 8px!important}.estimate-flow .estimate-lines .line-row>.mobile-line-field{grid-template-rows:auto 42px!important;width:100%!important;min-width:0!important}.estimate-flow .estimate-lines .line-row>.mobile-line-field>span{letter-spacing:.04em!important;white-space:nowrap!important;font-size:9.5px!important}.estimate-flow .estimate-lines .line-row>.mobile-line-field input{height:42px!important;min-height:42px!important;padding:0 6px!important;font-size:14px!important}}@media (width<=380px){.estimate-flow .estimate-lines .line-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-areas:"product product product""days cost gst""total total total"!important;column-gap:6px!important}.estimate-flow .estimate-lines .line-row>.mobile-line-field input{padding:0 4px!important;font-size:13px!important}}@media (width<=720px){.dashboard-shell{background:radial-gradient(circle at 0 0,#d719200d,#0000 24rem),linear-gradient(#fbf7ef 0%,#f7f3ec 100%)!important}.mobile-page-title h1,h1,h2,.section-title h2,.settings-panel h2,.documents-shell h2,.summary-card>h2{font-weight:700!important}label span,.quotation-form-stack label>span,.compact-form label>span,.form-grid label>span,.mobile-line-field>span,.mobile-total-chip>span,.amount-words,.helper,.document-card span,.document-card small,.settings-menu-list button span,.field-settings-head,.line-head{font-weight:400!important}button,.sidebar button,.tabbar button,.view-toggle button,.pill,.status{font-weight:550!important}.mobile-total-chip strong,.total-row strong,.doc-main strong,.doc-amount strong{font-weight:650!important}}.edit-modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#11182785;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.edit-modal-card{background:#f7f8fa;border-radius:26px;grid-template-rows:auto minmax(0,1fr) auto;width:min(1480px,100vw - 32px);max-height:94dvh;display:grid;overflow:hidden;box-shadow:0 34px 100px #0000004d}.edit-modal-head,.edit-modal-actions{background:#fff;border-bottom:1px solid #e8eaef;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.edit-modal-head h2{letter-spacing:-.03em;margin:0 0 4px;font-size:18px}.edit-modal-head span{color:#6b7280;font-size:12px;font-weight:800}.edit-modal-scroll{gap:12px;min-width:0;padding:16px;display:grid;overflow:hidden auto}.edit-modal-scroll *,.edit-modal-scroll :before,.edit-modal-scroll :after{box-sizing:border-box;min-width:0}.edit-modal-scroll .panel{border-radius:22px;padding:18px}.edit-modal-scroll .panel h2{letter-spacing:-.03em;font-size:17px}.edit-modal-scroll label,.edit-modal-scroll input,.edit-modal-scroll textarea,.edit-modal-scroll select,.edit-modal-scroll button{font-size:13px}.edit-modal-scroll input,.edit-modal-scroll textarea,.edit-modal-scroll select{border-radius:14px;min-height:44px;padding:11px 12px}.edit-modal-scroll textarea{min-height:54px}.edit-modal-scroll .line-panel{box-shadow:0 12px 34px #1118270f}.edit-modal-scroll .line-panel>div{overflow-x:hidden}.edit-modal-scroll .line-head,.edit-modal-scroll .line-row{grid-template-columns:112px minmax(260px,1fr) 72px 96px 74px 102px 54px;gap:8px;width:100%;min-width:0}.edit-modal-scroll .estimate-lines .line-head,.edit-modal-scroll .estimate-lines .line-row{grid-template-columns:minmax(340px,1fr) 76px 104px 76px 112px 54px;min-width:0}.edit-modal-scroll .line-row{border-radius:18px;padding:10px}.edit-modal-scroll .product-inputs{gap:8px}.edit-modal-scroll .product-inputs.stacked textarea{min-height:52px}.edit-modal-scroll .image-box{height:70px;font-size:11px}.edit-modal-scroll .upload-small,.edit-modal-scroll .delete-row{border-radius:14px;min-height:44px;font-size:12px}.edit-modal-scroll .delete-row{width:44px;min-width:44px}.edit-modal-scroll .summary-card{overflow:hidden}.edit-modal-scroll .summary-card h2{font-size:28px}.edit-modal-scroll .summary-grid{width:100%;overflow:hidden}.edit-modal-scroll .total-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;display:grid}.edit-modal-scroll .total-row strong{white-space:nowrap;text-align:right}.edit-modal-actions{border-top:1px solid #e8eaef;border-bottom:0;justify-content:flex-end}.edit-modal-actions button{border-radius:16px;min-width:166px;min-height:48px;font-size:13px}@media (width<=1180px){.edit-modal-scroll .line-head{display:none}.edit-modal-scroll .line-row,.edit-modal-scroll .estimate-lines .line-row{grid-template-columns:minmax(0,1fr) 76px 96px 76px 102px 48px}.edit-modal-scroll .line-row .image-cell{display:none}}@media (width<=820px){.edit-modal-backdrop{place-items:stretch stretch;padding:0}.edit-modal-card{border-radius:0;width:100%;height:100dvh;max-height:100dvh}.edit-modal-head,.edit-modal-actions{padding:14px}.edit-modal-actions{grid-template-columns:1fr;display:grid}.edit-modal-actions button{width:100%}.edit-modal-scroll{padding:12px}.edit-modal-scroll .line-row,.edit-modal-scroll .estimate-lines .line-row{grid-template-columns:1fr}.edit-modal-scroll .line-row .image-cell{display:block}body:has(.edit-modal-backdrop){overflow:hidden!important}.edit-modal-backdrop{z-index:1000!important;-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important;background:#0f172a9e!important;padding:0!important;display:block!important;inset:0!important}.edit-modal-card{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;box-shadow:none!important;background:#f4f6f9!important;border-radius:0!important;grid-template-rows:auto minmax(0,1fr) auto!important;display:grid!important;position:fixed!important;inset:0!important;overflow:hidden!important}.edit-modal-head{z-index:3!important;min-height:64px!important;padding:calc(env(safe-area-inset-top,0px) + 12px) 16px 12px!important;background:#fffffffa!important;border-bottom:1px solid #e2e8f0eb!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;display:flex!important;position:relative!important;box-shadow:0 8px 24px #0f172a14!important}.edit-modal-head h2{letter-spacing:-.04em!important;margin:0 0 2px!important;font-size:18px!important;line-height:1.1!important}.edit-modal-head span{text-overflow:ellipsis!important;white-space:nowrap!important;max-width:210px!important;font-size:11px!important;display:block!important;overflow:hidden!important}.edit-modal-head .ghost{border-radius:14px!important;width:auto!important;min-width:76px!important;min-height:42px!important;padding:0 14px!important;font-size:13px!important}.edit-modal-scroll{-webkit-overflow-scrolling:touch!important;background:#f4f6f9!important;width:100%!important;min-width:0!important;max-width:100vw!important;height:100%!important;padding:12px 12px 150px!important;display:block!important;overflow:hidden auto!important}.edit-modal-scroll *,.edit-modal-scroll :before,.edit-modal-scroll :after{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}.edit-modal-scroll .panel{background:#fff!important;border-radius:24px!important;width:100%!important;max-width:100%!important;margin:0 0 14px!important;padding:16px!important;overflow:hidden!important;box-shadow:0 12px 30px #0f172a14!important}.edit-modal-scroll .panel h2,.edit-modal-scroll .section-title h2{letter-spacing:-.04em!important;margin:0 0 12px!important;font-size:18px!important;line-height:1.15!important}.edit-modal-scroll .quotation-form-layout,.edit-modal-scroll .estimate-form-layout,.edit-modal-scroll .quotation-form-stack,.edit-modal-scroll .quotation-form-stack.compact-side,.edit-modal-scroll .form-grid{background:0 0!important;border:0!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;max-width:100%!important;padding:0!important;display:grid!important}.edit-modal-scroll label{width:100%!important;max-width:100%!important;display:block!important;overflow:hidden!important}.edit-modal-scroll label>span{text-overflow:ellipsis!important;white-space:nowrap!important;color:#4b5563!important;letter-spacing:.08em!important;text-transform:uppercase!important;margin:0 0 6px!important;font-size:10px!important;font-weight:950!important;line-height:1.1!important;display:block!important;overflow:hidden!important}.edit-modal-scroll input,.edit-modal-scroll textarea,.edit-modal-scroll select{border-radius:17px!important;width:100%!important;max-width:100%!important;min-height:48px!important;padding:0 14px!important;font-size:15px!important;font-weight:800!important}.edit-modal-scroll textarea{min-height:88px!important;padding:12px 14px!important}.edit-modal-scroll .line-panel{padding:14px!important}.edit-modal-scroll .line-panel>div,.edit-modal-scroll .line-table{width:100%!important;max-width:100%!important;overflow:visible!important}.edit-modal-scroll .line-head{display:none!important}.edit-modal-scroll .line-row{background:#fbfcfe!important;border:1px solid #eef1f5!important;border-radius:20px!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:12px!important;display:grid!important;overflow:hidden!important}.edit-modal-scroll .line-row .image-cell{background:#f7f9fc!important;border-radius:18px!important;grid-template-columns:96px minmax(0,1fr)!important;align-items:stretch!important;gap:10px!important;width:100%!important;min-height:96px!important;padding:10px!important;display:grid!important;overflow:hidden!important}.edit-modal-scroll .line-row .image-cell>span,.edit-modal-scroll .line-row .image-cell>img{object-fit:cover!important;border-radius:16px!important;grid-row:1/span 2!important;width:96px!important;height:96px!important}.edit-modal-scroll .mini-upload{text-align:center!important;background:#fff!important;border-radius:16px!important;align-self:center!important;place-items:center!important;min-height:48px!important;display:grid!important}.edit-modal-scroll .text-danger{border-radius:14px!important;min-height:40px!important}.edit-modal-scroll .product-inputs,.edit-modal-scroll .product-inputs.stacked{grid-template-columns:1fr!important;gap:10px!important;width:100%!important;display:grid!important}.edit-modal-scroll .mobile-line-field{grid-template-rows:auto 44px!important;gap:6px!important;width:100%!important;display:grid!important}.edit-modal-scroll .line-row:not(.estimate-lines .line-row) .mobile-line-field,.edit-modal-scroll .line-row>.mobile-line-field{max-width:100%!important}.edit-modal-scroll .estimate-lines .line-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-areas:"product product product""days cost gst""total total total"!important;gap:10px 8px!important}.edit-modal-scroll .estimate-lines .product-inputs{grid-area:product!important}.edit-modal-scroll .estimate-lines .field-days{grid-area:days!important}.edit-modal-scroll .estimate-lines .field-cost{grid-area:cost!important}.edit-modal-scroll .estimate-lines .field-gst{grid-area:gst!important}.edit-modal-scroll .estimate-lines .mobile-total-chip{grid-area:total!important}.edit-modal-scroll .mobile-line-field input{text-align:center!important;height:44px!important;min-height:44px!important;padding:0 8px!important;font-size:14px!important}.edit-modal-scroll .mobile-total-chip{background:#0f172a!important;border-radius:17px!important;justify-content:space-between!important;align-items:center!important;height:auto!important;min-height:48px!important;padding:10px 14px!important;display:flex!important}.edit-modal-scroll .mobile-total-chip span,.edit-modal-scroll .mobile-total-chip strong{color:#fff!important;white-space:nowrap!important}.edit-modal-scroll .delete-row{display:none!important}.edit-modal-scroll .line-footer-actions{justify-content:flex-end!important;gap:10px!important;padding-top:10px!important;display:flex!important}.edit-modal-scroll .line-footer-actions .ghost{border-radius:999px!important;flex:auto!important;min-height:48px!important}.edit-modal-scroll .line-footer-actions .mobile-footer-delete{place-items:center!important;width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;display:grid!important}.edit-modal-scroll .summary-card.final-step{gap:10px!important;padding:16px!important;display:grid!important}.edit-modal-scroll .summary-card.final-step>h2{color:#fff!important;text-align:center!important;background:#0f172a!important;border-radius:24px!important;margin:0!important;padding:22px 12px!important;font-size:34px!important;line-height:1!important;display:block!important}.edit-modal-scroll .summary-grid{grid-template-columns:1fr!important;gap:10px!important;display:grid!important}.edit-modal-scroll .total-row{border-radius:16px!important;min-height:48px!important;padding:10px 14px!important}.edit-modal-actions{z-index:4!important;padding:12px 16px calc(14px + env(safe-area-inset-bottom))!important;background:#fffffffa!important;border-top:1px solid #e2e8f0f5!important;grid-template-columns:1fr!important;gap:10px!important;display:grid!important;position:relative!important;box-shadow:0 -10px 28px #0f172a14!important}.edit-modal-actions button{border-radius:17px!important;width:100%!important;min-width:0!important;min-height:50px!important;font-size:14px!important;font-weight:950!important}}@media (width<=380px){.edit-modal-scroll .estimate-lines .line-row{column-gap:6px!important}.edit-modal-scroll .estimate-lines .mobile-line-field input{padding:0 4px!important;font-size:13px!important}.edit-modal-scroll .line-row .image-cell{grid-template-columns:82px minmax(0,1fr)!important}.edit-modal-scroll .line-row .image-cell>span,.edit-modal-scroll .line-row .image-cell>img{width:82px!important;height:82px!important}}@media (width<=820px){.edit-modal-scroll .line-table:not(.estimate-lines) .line-row{background:#fff!important;border-radius:16px!important;grid-template-columns:58px minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:"image product product product""qty price gst total"!important;align-items:stretch!important;gap:8px!important;padding:10px!important;display:grid!important;position:relative!important;overflow:hidden!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.image-cell{background:#f8fafc!important;border:1px dashed #dbe2ea!important;border-radius:14px!important;grid-area:image!important;grid-template-columns:1fr!important;place-items:center!important;width:58px!important;min-width:58px!important;min-height:78px!important;padding:0!important;display:grid!important;position:relative!important;overflow:hidden!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.image-cell img{object-fit:cover!important;border-radius:14px!important;width:100%!important;height:100%!important;min-height:78px!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.image-cell>span,.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.image-cell .text-danger{display:none!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.image-cell .mini-upload{color:#0000!important;min-height:0!important;box-shadow:none!important;background:0 0!important;border:0!important;place-items:center!important;padding:0!important;display:grid!important;position:absolute!important;inset:0!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.image-cell .mini-upload:before{content:"📷"!important;color:#64748b!important;font-size:22px!important;line-height:1!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.product-inputs{grid-area:product!important;gap:7px!important;min-width:0!important;display:grid!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.product-inputs input,.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.product-inputs textarea{border-radius:13px!important;height:auto!important;min-height:36px!important;padding:8px 10px!important;font-size:13px!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.product-inputs textarea{min-height:38px!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.field-qty{grid-area:qty!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.field-price{grid-area:price!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.field-gst{grid-area:gst!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.mobile-total-chip{grid-area:total!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.mobile-line-field{grid-template-rows:auto 36px!important;gap:4px!important;min-width:0!important;display:grid!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.mobile-line-field span,.edit-modal-scroll .estimate-lines .line-row>.mobile-line-field span{white-space:nowrap!important;text-overflow:ellipsis!important;letter-spacing:.04em!important;text-transform:uppercase!important;font-size:9.5px!important;font-weight:950!important;line-height:1.1!important;display:block!important;overflow:hidden!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.mobile-line-field input{text-align:center!important;border-radius:13px!important;width:100%!important;height:36px!important;min-height:36px!important;padding:0 6px!important;font-size:13px!important}.edit-modal-scroll .line-table:not(.estimate-lines) .line-row>.mobile-total-chip{text-align:center!important;background:#111827!important;border-radius:15px!important;place-items:center!important;min-height:50px!important;padding:7px 6px!important;display:grid!important}.edit-modal-scroll .estimate-lines .line-row{background:#fff!important;border-radius:16px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-areas:"product product product""days cost gst""total total total"!important;gap:8px!important;padding:10px!important;display:grid!important;overflow:hidden!important}.edit-modal-scroll .estimate-lines .line-row>.product-inputs{grid-area:product!important}.edit-modal-scroll .estimate-lines .line-row>.field-days{grid-area:days!important}.edit-modal-scroll .estimate-lines .line-row>.field-cost{grid-area:cost!important}.edit-modal-scroll .estimate-lines .line-row>.field-gst{grid-area:gst!important}.edit-modal-scroll .estimate-lines .line-row>.mobile-total-chip{grid-area:total!important}.edit-modal-scroll .estimate-lines .line-row>.mobile-line-field{grid-template-rows:auto 42px!important;gap:6px!important;min-width:0!important;display:grid!important}.edit-modal-scroll .estimate-lines .line-row>.mobile-line-field input{text-align:center!important;border-radius:15px!important;height:42px!important;min-height:42px!important;padding:0 6px!important;font-size:14px!important;font-weight:900!important}.edit-modal-scroll .estimate-lines .line-row>.mobile-total-chip{background:#111827!important;border-radius:17px!important;justify-content:space-between!important;align-items:center!important;min-height:48px!important;padding:10px 14px!important;display:flex!important}.edit-modal-scroll .mobile-total-chip span,.edit-modal-scroll .mobile-total-chip strong{color:#fff!important;white-space:nowrap!important}.edit-modal-scroll .delete-row,.edit-modal-scroll .summary-card.final-step>h2{display:none!important}.edit-modal-scroll .summary-card.final-step{background:linear-gradient(#fff 0%,#f8fafc 100%)!important;border-radius:22px!important;padding:14px!important}.edit-modal-scroll .summary-card.final-step .summary-grid{grid-template-columns:1fr!important;gap:8px!important;display:grid!important}.edit-modal-scroll .summary-card.final-step .total-row{border-radius:15px!important;grid-template-columns:minmax(0,1fr) auto!important;min-height:44px!important;padding:10px 12px!important;display:grid!important}.edit-modal-scroll .summary-card.final-step .total-row.grand{color:#fff!important;background:linear-gradient(135deg,#0f172a,#111827)!important;min-height:54px!important}.edit-modal-scroll .summary-card.final-step .total-row.grand span,.edit-modal-scroll .summary-card.final-step .total-row.grand strong{color:#fff!important}}.sales-quote-options textarea{resize:vertical;min-height:120px}.zoho-item-suggestions{gap:8px;margin-top:14px;display:grid}.crm-input-wrap .zoho-suggestions{z-index:1000;background:#fff;border:1px solid #94a3b873;border-radius:12px;width:100%;min-width:0;max-height:min(340px,50vh);padding:8px;position:absolute;top:calc(100% + 6px);left:0;overflow:hidden;box-shadow:0 16px 36px #0f172a2e}.zoho-suggestions>strong{color:#6b7280;text-transform:uppercase;letter-spacing:.06em;padding:2px 4px 7px;font-size:12px;display:block}.zoho-suggestions>div,.zoho-item-suggestions{flex-wrap:wrap;gap:8px;display:flex}.zoho-suggestions>div{overscroll-behavior:contain;gap:4px;max-height:280px;display:grid;overflow-y:auto}.zoho-suggestion-message{color:#667085;padding:10px 8px;font-size:12px;line-height:1.4;display:block}.zoho-suggestion-message.is-error{color:#b42318}.zoho-suggestions button,.zoho-item-suggestions button{color:#111827;text-align:left;cursor:pointer;background:#fff;border:1px solid #94a3b84d;border-radius:12px;padding:9px 12px;box-shadow:0 6px 18px #0f172a0d}.zoho-suggestions button{width:100%;box-shadow:none;border:0;border-radius:8px;flex:none}.zoho-suggestions button span,.zoho-item-suggestions button{font-weight:800}.zoho-suggestions button small,.zoho-item-suggestions button small{color:#6b7280;margin-top:3px;font-size:11px;font-weight:600;display:block}.zoho-suggestions button:hover,.zoho-suggestions button:focus-visible,.zoho-item-suggestions button:hover{background:#fff7f7;border-color:#dc2626;outline:none}.dashboard-shell,.dashboard-shell :where(:not(h1):not(h2):not(h3):not(strong)),.dashboard-shell input,.dashboard-shell textarea,.dashboard-shell select,.dashboard-shell option,.dashboard-shell button,.dashboard-shell label,.dashboard-shell label span,.dashboard-shell p,.dashboard-shell small,.dashboard-shell td,.dashboard-shell th,.dashboard-shell .line-head span,.dashboard-shell .total-row,.dashboard-shell .amount-words,.dashboard-shell .status,.dashboard-shell .record-card,.dashboard-shell .doc-main span,.dashboard-shell .doc-amount span,.dashboard-shell .mobile-total-chip span,.dashboard-shell .zoho-suggestions,.dashboard-shell .zoho-item-suggestions,.dashboard-shell .config-list,.dashboard-shell .settings-card{font-weight:400!important}.dashboard-shell input::placeholder,.dashboard-shell textarea::placeholder{color:#737373!important;font-weight:400!important}.dashboard-shell h1,.dashboard-shell .desktop-page-title h1,.dashboard-shell .mobile-page-title h1{letter-spacing:-.04em;font-weight:700!important}.dashboard-shell h2,.dashboard-shell h3,.dashboard-shell .section-title h2,.dashboard-shell .settings-card h2,.dashboard-shell .edit-modal-card h2{letter-spacing:-.02em;font-weight:600!important}.dashboard-shell label>span,.dashboard-shell .line-head,.dashboard-shell .line-head span,.dashboard-shell .field-settings-head,.dashboard-shell .field-settings-head span{font-weight:600!important}.dashboard-shell .logo-block strong,.dashboard-shell .mobile-brand-bar strong,.dashboard-shell .summary-card strong,.dashboard-shell .total-row strong,.dashboard-shell .grand strong,.dashboard-shell .doc-main strong,.dashboard-shell .doc-amount strong,.dashboard-shell .mobile-total-chip strong,.dashboard-shell .auto-number-field input{font-weight:500!important}.dashboard-shell nav button,.dashboard-shell nav button span,.dashboard-shell .tabbar button,.dashboard-shell .view-toggle button,.dashboard-shell .documents-toolbar button,.dashboard-shell .stack-actions button,.dashboard-shell .primary,.dashboard-shell .ghost,.dashboard-shell .loading-button,.dashboard-shell .mini-actions button{font-weight:400!important}.dashboard-shell nav button.active,.dashboard-shell nav button.active span,.dashboard-shell .tabbar button.active,.dashboard-shell .view-toggle button.active{font-weight:500!important}.dashboard-shell textarea,.dashboard-shell .sales-quote-options textarea{line-height:1.55;font-weight:400!important}.dashboard-shell{--dash-bg:#f6f7f8;--dash-surface:#fff;--dash-surface-solid:#fff;--dash-border:#e2e5e9;--dash-ink:#202329;--dash-muted:#6b717b;--dash-soft:#f3f4f6;--dash-red:#c8202f;--dash-focus:#c8202f1f;min-height:100vh;color:var(--dash-ink);background:var(--dash-bg);grid-template-columns:224px minmax(0,1fr);font-family:Poppins,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;line-height:1.4}.dashboard-shell:before{display:none}.dashboard-shell .sidebar{z-index:20;box-sizing:border-box;width:224px;height:100dvh;color:var(--dash-ink);border-right:1px solid var(--dash-border);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;align-self:start;padding:18px 12px;position:fixed;top:0;left:0;overflow-y:auto}.dashboard-shell .logo-block{border-bottom:1px solid #edf0f2;gap:10px;margin:0 0 10px;padding:4px 8px 17px}.dashboard-shell .logo{border:1px solid var(--dash-border);width:40px;height:40px;box-shadow:none;background:#fff;border-radius:10px;overflow:hidden}.dashboard-shell .logo-block strong{color:var(--dash-ink);letter-spacing:0;font-weight:600!important}.dashboard-shell .logo-block span{color:var(--dash-muted);margin-top:1px;font-size:12px}.dashboard-shell .sidebar nav{gap:3px}.dashboard-shell .sidebar button{color:#555b65;background:0 0;border:0;border-radius:8px;min-height:42px;padding:0 11px;transition:background .15s,color .15s;font-weight:600!important}.dashboard-shell .sidebar button:hover{color:var(--dash-ink);background:#f5f6f7;transform:none}.dashboard-shell .sidebar button.active{color:var(--dash-ink);box-shadow:inset 3px 0 var(--dash-red);background:#f5f6f7;font-weight:600!important}.dashboard-shell .sidebar button.active:after{display:none}.dashboard-shell .nav-icon{filter:none;opacity:.72}.dashboard-shell .workspace{grid-column:2;min-width:0;padding:18px 20px 28px}.dashboard-shell .topbar{max-width:1440px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;gap:12px;margin:0 auto 14px;padding:0 2px}.dashboard-shell h1{letter-spacing:-.025em;font-size:clamp(24px,3vw,30px);line-height:1.15;font-weight:700!important}.dashboard-shell h2{letter-spacing:-.01em;font-size:17px;line-height:1.25;font-weight:600!important}.dashboard-shell h3{letter-spacing:0;font-size:15px;line-height:1.3;font-weight:600!important}.dashboard-shell .eyebrow,.dashboard-shell .kicker{color:var(--dash-red);letter-spacing:.08em;margin-bottom:3px;font-size:10px;font-weight:500!important}.dashboard-shell .page-grid,.dashboard-shell .estimate-layout,.dashboard-shell .settings-grid{gap:12px}.dashboard-shell .page-grid{grid-template-columns:minmax(0,1fr) 300px}.dashboard-shell .panel,.dashboard-shell .settings-menu,.dashboard-shell .settings-content-head,.dashboard-shell .edit-modal-card,.dashboard-shell .documents-module{border:1px solid var(--dash-border);-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;border-radius:12px;padding:16px;box-shadow:0 1px 2px #10182809}.dashboard-shell .panel{position:relative;overflow:visible}.dashboard-shell .panel:before{display:none}.dashboard-shell .section-title{gap:10px;margin-bottom:12px}.dashboard-shell .panel>.section-title,.dashboard-shell .settings-card>h2,.dashboard-shell .template-editor>h2,.dashboard-shell .edit-modal-head{border-bottom:1px solid #eceef1;margin-left:0;margin-right:0;padding:0 0 10px}.dashboard-shell .panel>.section-title:after,.dashboard-shell .settings-card>h2:after,.dashboard-shell .template-editor>h2:after{display:none}.dashboard-shell .panel>h2{margin-bottom:12px!important}.dashboard-shell .form-grid{align-items:start;gap:10px 12px}.dashboard-shell label{align-content:start;gap:4px;min-width:0}.dashboard-shell .form-grid>label,.dashboard-shell .quotation-form-stack>label,.dashboard-shell .compact-form>label,.dashboard-shell .template-editor>label,.dashboard-shell .settings-card>label:not(.toggle):not(.logo-upload-control){box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.dashboard-shell label>span{align-items:center;min-height:18px;line-height:18px;display:flex}.dashboard-shell label>span,.dashboard-shell .line-head,.dashboard-shell .field-settings-head{color:var(--dash-muted);font-size:12px;font-weight:600!important}.dashboard-shell input:not([type=checkbox]):not([type=radio]):not([type=file]),.dashboard-shell select,.dashboard-shell .search{height:40px;min-height:40px;color:var(--dash-ink);box-shadow:none;background:#fff;border:1px solid #d9dde3;border-radius:8px;padding:8px 11px;font-size:14px;transition:border-color .15s,box-shadow .15s;font-weight:400!important}.dashboard-shell textarea{color:var(--dash-ink);box-shadow:none;background:#fff;border:1px solid #d9dde3;border-radius:8px;min-height:76px;padding:8px 11px;font-size:14px;transition:border-color .15s,box-shadow .15s;font-weight:400!important}.dashboard-shell input:hover,.dashboard-shell textarea:hover,.dashboard-shell select:hover{background:#fff;border-color:#bcc2ca}.dashboard-shell input:focus,.dashboard-shell textarea:focus,.dashboard-shell select:focus,.dashboard-shell .search:focus{box-shadow:0 0 0 3px var(--dash-focus);background:#fff;border-color:#b45a63;outline:0}.dashboard-shell :focus-visible{outline-offset:2px;outline:2px solid #c75a65}.dashboard-shell ::placeholder{color:#a0a5ad;opacity:1}.dashboard-shell button{min-height:42px;box-shadow:none;border-radius:8px;transition:background .15s,border-color .15s,color .15s;font-weight:500!important}.dashboard-shell button:not(:disabled):active{transform:none}.dashboard-shell .primary{color:#fff;background:var(--dash-red);box-shadow:none;border:1px solid #b91f2d}.dashboard-shell .primary:not(:disabled):hover{box-shadow:none;filter:none;background:#ad1b28;transform:none}.dashboard-shell .ghost,.dashboard-shell .icon-button,.dashboard-shell .mini-actions button,.dashboard-shell .tabbar button,.dashboard-shell .view-toggle button{color:#41464f;box-shadow:none;background:#fff;border:1px solid #dfe2e6}.dashboard-shell .ghost:not(:disabled):hover,.dashboard-shell .icon-button:not(:disabled):hover,.dashboard-shell .mini-actions button:not(:disabled):hover{color:var(--dash-ink);background:#f7f8f9;border-color:#babfc7;transform:none}.dashboard-shell .header-actions,.dashboard-shell .actions,.dashboard-shell .mini-actions{gap:7px}.dashboard-shell .primary,.dashboard-shell .ghost{padding:0 14px}.dashboard-shell .full{margin-top:12px}.dashboard-shell .tabbar,.dashboard-shell .view-toggle{background:#f3f4f6;border:1px solid #e1e4e8;border-radius:9px;gap:3px;padding:3px}.dashboard-shell .tabbar button.active,.dashboard-shell .view-toggle button.active,.dashboard-shell .settings-menu-list button.active{color:var(--dash-ink);background:#fff;border-color:#d8dce1;box-shadow:0 1px 2px #0000000d}.dashboard-shell .pill,.dashboard-shell .status,.dashboard-shell .placeholder-strip code{color:#9e1b28;background:#fff7f8;border:1px solid #f0d5d8;border-radius:999px;min-height:26px;padding:4px 8px;font-weight:400!important}.dashboard-shell .line-table,.dashboard-shell .records,.dashboard-shell .field-list,.dashboard-shell .config-list{gap:7px}.dashboard-shell .line-head{letter-spacing:.04em;padding:0 9px}.dashboard-shell .line-row,.dashboard-shell .record-card,.dashboard-shell .field-list article,.dashboard-shell .config-list button,.dashboard-shell .category-card,.dashboard-shell .field-config-row{box-shadow:none;background:#fff;border:1px solid #e5e7eb}.dashboard-shell .line-row{border-radius:9px;gap:8px;padding:8px}.dashboard-shell .line-row:hover,.dashboard-shell .record-card:hover,.dashboard-shell .category-card:hover{box-shadow:none;border-color:#d4d8de;transform:none}.dashboard-shell .product-inputs{gap:7px}.dashboard-shell .record-card,.dashboard-shell .field-list article,.dashboard-shell .config-list button{border-radius:9px;gap:10px;padding:11px}.dashboard-shell .category-card{border-radius:10px;gap:4px;min-height:88px;padding:14px}.dashboard-shell .category-card small{margin-top:3px}.dashboard-shell .compact-form,.dashboard-shell .quotation-form-stack{align-content:start;gap:10px}.dashboard-shell .compact-form{margin-top:12px}.dashboard-shell .empty{border-radius:9px;padding:18px}.dashboard-shell .upload-box{border-radius:8px;min-height:60px}.dashboard-shell .helper,.dashboard-shell .amount-words{margin-top:9px;line-height:1.4}.dashboard-shell .summary-card,.dashboard-shell .quote-flow .summary-card{color:var(--dash-ink);border-color:var(--dash-border);background:#fff;box-shadow:0 1px 2px #10182809}.dashboard-shell .summary-card h2,.dashboard-shell .quote-flow .summary-card h2{color:var(--dash-ink);text-shadow:none;margin-bottom:12px;font-size:17px}.dashboard-shell .quote-flow .summary-card>.section-title{border-bottom-color:#eceef1}.dashboard-shell .total-row,.dashboard-shell .quote-flow .summary-card .total-row{color:#626872;box-shadow:none;background:0 0;border-bottom:1px solid #eceef1;padding:9px 0;font-weight:400!important}.dashboard-shell .total-row strong,.dashboard-shell .quote-flow .summary-card .total-row strong{color:var(--dash-ink);font-weight:400!important}.dashboard-shell .total-row.grand,.dashboard-shell .quote-flow .summary-card .total-row.grand{color:var(--dash-ink);box-shadow:none;background:#fff8f8;border:1px solid #eed7da;border-radius:8px;margin-top:4px;padding:11px 10px}.dashboard-shell .total-row.grand strong{color:#a81c29;font-weight:600!important}.dashboard-shell .summary-card .amount-words,.dashboard-shell .summary-card .helper,.dashboard-shell .quote-flow .summary-card .amount-words{color:var(--dash-muted)}.dashboard-shell .expense-combobox{width:100%;position:relative}.dashboard-shell .expense-combobox>input{width:100%;padding-right:40px}.dashboard-shell .expense-dropdown-toggle{z-index:2;color:#737983;width:38px;min-width:38px;min-height:40px;box-shadow:none;background:0 0;border:0;border-left:1px solid #eceef1;border-radius:0 7px 7px 0;padding:0;font-size:17px;line-height:1;position:absolute;top:1px;right:1px}.dashboard-shell .expense-dropdown-toggle:hover,.dashboard-shell .expense-dropdown-toggle:focus-visible{color:#9f2732;background:#fff7f7}.dashboard-shell .expense-dropdown-toggle[aria-expanded=true] span{display:inline-block;transform:rotate(180deg)}.dashboard-shell .line-row.has-open-expense-picker{z-index:30;position:relative}.dashboard-shell .line-table,.dashboard-shell .line-row,.dashboard-shell .product-inputs{overflow:visible}.dashboard-shell .crm-input-wrap .zoho-suggestions,.dashboard-shell .expense-combobox .zoho-item-suggestions{z-index:1000;background:#fff;border:1px solid #d9dde3;border-radius:9px;grid-template-columns:1fr;gap:0;width:100%;max-height:min(300px,45vh);margin:0;padding:5px;display:grid;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 10px 24px #1018281f}.dashboard-shell .expense-combobox .estimate-expense-suggestions{overscroll-behavior:contain;scrollbar-gutter:stable;animation:.14s ease-out both expense-popover-in}.dashboard-shell .estimate-expense-suggestions button+button{border-top:1px solid #f0f1f3}.dashboard-shell .estimate-expense-suggestions button span,.dashboard-shell .estimate-expense-suggestions button small{display:block}.dashboard-shell .estimate-expense-suggestions button span{color:#25282d;font-weight:500!important}.dashboard-shell .estimate-expense-suggestions button small{color:#7a8089;margin-top:2px;font-size:11px}@keyframes expense-popover-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.dashboard-shell .product-inputs.stacked .line-item-description{white-space:nowrap;overflow:hidden;resize:none!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:8px 11px!important}.dashboard-shell .crm-input-wrap,.dashboard-shell .crm-company-input{height:40px;min-height:40px}.dashboard-shell .crm-input-wrap{width:100%}.dashboard-shell .crm-company-field{grid-template-rows:18px 40px}.dashboard-shell .zoho-suggestions>div,.dashboard-shell .zoho-item-suggestions{grid-template-columns:1fr;gap:0;width:100%;display:grid}.dashboard-shell .zoho-suggestions button,.dashboard-shell .zoho-item-suggestions button{width:100%;min-height:42px;color:var(--dash-ink);box-shadow:none;text-align:left;background:#fff;border:0;border-radius:6px;padding:8px 10px;display:block;font-weight:400!important}.dashboard-shell .zoho-suggestions button span,.dashboard-shell .zoho-item-suggestions button,.dashboard-shell .zoho-suggestions button small,.dashboard-shell .zoho-item-suggestions button small{font-weight:400!important}.dashboard-shell .zoho-suggestions button:hover,.dashboard-shell .zoho-suggestions button:focus-visible,.dashboard-shell .zoho-item-suggestions button:hover,.dashboard-shell .zoho-item-suggestions button:focus-visible{color:#8e1722;background:#fff3f4;border-color:#0000;outline:none}.dashboard-shell .zoho-suggestions>strong,.dashboard-shell .crm-lookup-badge{font-weight:500!important}.dashboard-shell,.dashboard-shell *{font-family:Poppins,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif!important}.dashboard-shell p,.dashboard-shell small,.dashboard-shell td,.dashboard-shell input,.dashboard-shell textarea,.dashboard-shell select,.dashboard-shell option,.dashboard-shell code,.dashboard-shell .helper,.dashboard-shell .amount-words,.dashboard-shell .muted,.dashboard-shell .empty,.dashboard-shell .record-card span,.dashboard-shell .category-card small,.dashboard-shell .zoho-suggestion-message{font-weight:400!important}.dashboard-shell input::placeholder,.dashboard-shell textarea::placeholder{font-family:Poppins,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif!important;font-weight:400!important}.dashboard-shell button,.dashboard-shell .eyebrow,.dashboard-shell .kicker,.dashboard-shell .crm-lookup-badge{font-weight:500!important}.dashboard-shell h1,.dashboard-shell h1 *{font-weight:700!important}.dashboard-shell h2,.dashboard-shell h3,.dashboard-shell h2 *,.dashboard-shell h3 *,.dashboard-shell label>span,.dashboard-shell th,.dashboard-shell .line-head,.dashboard-shell .line-head span,.dashboard-shell .field-settings-head,.dashboard-shell .field-settings-head span,.dashboard-shell .settings-menu-list strong,.dashboard-shell .category-card>strong,.dashboard-shell .sidebar nav button,.dashboard-shell .sidebar nav button span,.dashboard-shell .sidebar nav button.active,.dashboard-shell .sidebar nav button.active span{font-weight:600!important}.dashboard-shell .zoho-suggestions button,.dashboard-shell .zoho-suggestions button span,.dashboard-shell .zoho-suggestions button small,.dashboard-shell .zoho-item-suggestions button,.dashboard-shell .zoho-item-suggestions button span,.dashboard-shell .zoho-item-suggestions button small,.dashboard-shell .total-row,.dashboard-shell .total-row span,.dashboard-shell .total-row strong{font-weight:400!important}.dashboard-shell .total-row.grand span,.dashboard-shell .total-row.grand strong,.dashboard-shell .mobile-total-chip strong,.dashboard-shell .doc-main strong,.dashboard-shell .doc-amount strong{font-weight:600!important}@media (width<=1040px) and (width>=721px){.dashboard-shell{grid-template-columns:1fr}.dashboard-shell .sidebar{width:auto;height:auto;min-height:0;padding:10px 14px;position:static}.dashboard-shell .workspace{grid-column:1}.dashboard-shell .sidebar nav{grid-template-columns:repeat(4,minmax(140px,1fr))}}@media (width<=720px){.dashboard-shell{background:#f6f7f8;font-size:14px;display:block;overflow-x:clip}.dashboard-shell .workspace{width:100%;min-width:0;padding:10px 10px 22px}.dashboard-shell .topbar{box-shadow:none;background:0 0;border-radius:0;margin-bottom:10px;padding:0}.dashboard-shell h1,.dashboard-shell .mobile-page-title h1{font-size:22px}.dashboard-shell h2{font-size:16px}.dashboard-shell .panel,.dashboard-shell .documents-module{box-shadow:none;border-radius:10px;padding:12px}.dashboard-shell .page-grid,.dashboard-shell .estimate-layout,.dashboard-shell .settings-grid,.dashboard-shell .form-grid{gap:9px}.dashboard-shell .section-title{margin-bottom:10px}.dashboard-shell input:not([type=checkbox]):not([type=radio]):not([type=file]),.dashboard-shell select,.dashboard-shell .search{height:40px;min-height:40px}.dashboard-shell .line-row{padding:8px}.dashboard-shell .sidebar{z-index:90;height:100dvh;position:fixed;top:0;bottom:0;left:0;overflow-y:auto}.dashboard-shell .mobile-brand-bar{border-bottom:1px solid var(--dash-border);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff}}@media (prefers-reduced-motion:reduce){.dashboard-shell *{transition-duration:.01ms!important;animation-duration:.01ms!important}}.dashboard-shell .mobile-menu-button,.dashboard-shell .mobile-menu-backdrop{display:none}.dashboard-shell{--control-height:40px;--control-radius:8px;--control-border:#d9dde3}.dashboard-shell input:not([type=checkbox]):not([type=radio]):not([type=file]),.dashboard-shell select,.dashboard-shell .search{max-height:var(--control-height);height:var(--control-height)!important;min-height:var(--control-height)!important}.dashboard-shell select{height:var(--control-height);min-height:var(--control-height);appearance:none;border-color:var(--control-border);border-radius:var(--control-radius);background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%236b717b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px 16px;padding:8px 40px 8px 11px}.dashboard-shell .expense-dropdown-toggle{width:40px;min-width:40px;height:var(--control-height);min-height:var(--control-height);box-sizing:border-box;place-items:center;padding:0;display:grid;top:0;right:0;transform:none}.dashboard-shell .expense-dropdown-toggle span{text-align:center;transform-origin:50%;width:16px;height:16px;line-height:12px;display:block}.dashboard-shell .expense-dropdown-toggle[aria-expanded=true] span{transform:rotate(180deg)}.dashboard-shell .crm-input-icon{place-items:center;width:40px;height:40px;font-size:18px;display:grid;top:0;right:0;transform:none}.dashboard-shell .line-head,.dashboard-shell .line-row{grid-template-columns:100px minmax(180px,1fr) 62px 86px 62px 108px 44px;align-items:start;width:100%;min-width:0}.dashboard-shell .estimate-lines .line-head,.dashboard-shell .estimate-lines .line-row{grid-template-columns:minmax(220px,1fr) 70px 100px 70px 120px 44px}.dashboard-shell .line-head{align-items:center}.dashboard-shell .mobile-line-field{grid-template-rows:18px var(--control-height);gap:4px}.dashboard-shell .mobile-total-chip,.dashboard-shell .delete-row{min-height:var(--control-height);height:var(--control-height);margin-top:22px}.dashboard-shell .product-inputs.stacked{grid-template-columns:1fr}@media (width<=720px){.dashboard-shell .mobile-menu-button{display:grid}.dashboard-shell:not(.menu-open) .sidebar{pointer-events:none;transform:translate(-105%)}.dashboard-shell.menu-open .sidebar{pointer-events:auto;transform:translate(0)}.dashboard-shell.menu-open .mobile-menu-backdrop{z-index:80;display:block}.dashboard-shell .line-head{display:none}.dashboard-shell .line-row,.dashboard-shell .estimate-lines .line-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px;width:100%;min-width:0}.dashboard-shell .line-row .image-cell,.dashboard-shell .line-row .product-inputs{grid-column:1/-1}.dashboard-shell .line-row .field-gst{grid-column:1}.dashboard-shell .mobile-total-chip{grid-column:2}.dashboard-shell .delete-row{grid-column:2;justify-self:end;margin-top:0}.dashboard-shell .crm-input-wrap .zoho-suggestions,.dashboard-shell .expense-combobox .zoho-item-suggestions{max-width:100%;max-height:min(240px,40vh)}.dashboard-shell .quotation-form-layout,.dashboard-shell .estimate-form-layout{grid-template-columns:minmax(0,1fr)}}@media (width<=820px){:root{--m-pad:clamp(10px,3.1vw,16px);--m-red:#d71920;--m-navy:#111827;--m-line:#e6eaf0}*,:before,:after{box-sizing:border-box}html,body,#root{max-width:100%;overflow-x:hidden}.dashboard-shell{padding-top:calc(env(safe-area-inset-top,0px) + 76px)!important;background:#f5f6f8!important}.workspace{width:100%;min-width:0;overflow:visible;padding:0 var(--m-pad) 24px!important}.dashboard-shell .topbar{overflow:hidden;top:env(safe-area-inset-top,0px)!important;z-index:800!important;justify-content:center!important;height:64px!important;min-height:64px!important;margin:0!important;padding:0 64px!important}.dashboard-shell .mobile-brand-bar{place-items:center!important;width:100%!important;min-width:0!important;display:grid!important}.dashboard-shell .mobile-brand-logo{border-radius:10px;left:var(--m-pad)!important;width:42px!important;min-width:42px!important;height:42px!important;top:50%!important;overflow:hidden!important}.dashboard-shell .mobile-brand-logo img{object-position:center;display:block;object-fit:cover!important;width:100%!important;height:100%!important}.mobile-brand-bar strong{white-space:nowrap;letter-spacing:-.035em!important;font-size:17px!important;line-height:1.05!important}.dashboard-shell .mobile-menu-button{top:calc(env(safe-area-inset-top,0px) + 11px)!important;right:var(--m-pad)!important;z-index:810!important;border-radius:13px!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;font-size:0!important}.mobile-menu-button:before{content:"☰";font-size:20px;line-height:1}.mobile-page-title{margin:0 2px 8px!important;padding:0!important}.mobile-page-title h1{font-size:19px!important;font-weight:700!important;line-height:1.2!important}.page-grid,.quote-flow,.estimate-flow{gap:10px!important}.panel,.quote-flow .panel,.documents-module{min-width:0;border:1px solid var(--m-line)!important;border-radius:17px!important;padding:12px!important;overflow:visible!important;box-shadow:0 5px 18px #0f172a0e!important}.section-title{border-bottom:1px solid #eef1f4;margin:0 0 10px!important;padding:0 0 9px!important}.section-title h2,.documents-module h2{letter-spacing:-.02em!important;font-size:14px!important;line-height:1.25!important}.quotation-form-layout,.estimate-form-layout,.quotation-form-stack,.quotation-form-stack.compact-side,.form-grid,.compact-form{gap:8px!important}label{min-width:0}label>span,.mobile-line-field>span{letter-spacing:.055em!important;margin:0!important;font-size:10px!important;font-weight:650!important;line-height:1.2!important}input:not([type=checkbox]),select,textarea{width:100%;max-width:100%;border:1px solid #dfe4ea!important;border-radius:11px!important;height:42px!important;min-height:42px!important;padding:8px 11px!important;font-size:14px!important;font-weight:500!important;line-height:1.25!important}select,input[type=date]{background-position:right 11px center!important;padding-right:34px!important}textarea,.sales-quote-options textarea{max-height:120px;height:auto!important;min-height:66px!important;padding:10px 11px!important}.crm-company-field>span{align-items:center;gap:7px;min-height:15px;display:flex!important}.crm-lookup-badge{border-radius:99px;align-items:center;min-height:18px;margin:0!important;padding:2px 6px!important;font-size:8px!important;line-height:1!important;display:inline-flex!important}.zoho-suggestions,.zoho-item-suggestions,.expense-options{z-index:300!important;width:min(100%,calc(100vw - 2 * var(--m-pad) - 24px))!important;max-width:calc(100vw - 2 * var(--m-pad) - 24px)!important;border-radius:12px!important;max-height:min(300px,45vh)!important;left:0!important;right:auto!important;overflow:auto!important}.zoho-suggestions button,.zoho-item-suggestions button,.expense-options button{overflow-wrap:anywhere;white-space:normal!important;min-height:44px!important;padding:8px 10px!important}.line-panel{padding-bottom:12px!important}.quote-flow .line-row:not(.estimate-lines .line-row){border:1px solid #e7ebf0;border-radius:15px!important;grid-template-columns:56px repeat(3,minmax(0,1fr))!important;grid-template-areas:"image product product product""qty price gst total"!important;gap:7px!important;padding:10px!important;overflow:visible!important}.quote-flow .line-row:not(.estimate-lines .line-row)>.image-cell{height:76px;border-radius:11px!important;width:56px!important;min-height:76px!important;overflow:visible!important}.quote-flow .line-row:not(.estimate-lines .line-row)>.image-cell .image-picker,.quote-flow .line-row:not(.estimate-lines .line-row)>.image-cell img{border-radius:10px;overflow:hidden;height:74px!important;min-height:74px!important}.camera-badge{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important}.quote-flow .line-row:not(.estimate-lines .line-row)>.product-inputs input,.quote-flow .line-row:not(.estimate-lines .line-row)>.product-inputs textarea{height:34px!important;min-height:34px!important;padding:6px 9px!important;font-size:13px!important}.quote-flow .line-row:not(.estimate-lines .line-row)>.mobile-line-field input{height:38px!important;min-height:38px!important;padding:5px 4px!important;font-size:13px!important}.quote-flow .line-row:not(.estimate-lines .line-row)>.mobile-total-chip{border-radius:11px!important;min-height:52px!important}.line-footer-actions{justify-content:space-between!important}.quote-flow .line-footer-actions .ghost,.estimate-flow .line-footer-actions .ghost{height:44px!important;min-height:44px!important;padding:0 18px!important}.quote-flow .line-footer-actions .mobile-footer-delete,.estimate-flow .line-footer-actions .mobile-footer-delete{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}.estimate-flow .estimate-lines .line-row{border-radius:15px!important;gap:8px!important;padding:10px!important;overflow:visible!important}.estimate-flow .estimate-lines .line-row>.mobile-line-field{grid-template-rows:auto 40px!important;gap:4px!important;overflow:visible!important}.estimate-flow .estimate-lines .line-row>.mobile-line-field input{border-radius:11px!important;height:40px!important;min-height:40px!important;font-size:13px!important}.estimate-flow .estimate-lines .line-row>.mobile-total-chip{border-radius:11px!important;min-height:44px!important;padding:8px 12px!important}.summary-card.final-step{border-radius:17px!important;gap:8px!important;padding:12px!important}.summary-card.final-step .total-row{border-radius:11px!important;min-height:40px!important;padding:8px 10px!important}.summary-card.final-step .total-row.grand{min-height:48px!important}.summary-card.final-step .total-row.grand strong{font-size:18px!important}.summary-card.final-step .stack-actions{grid-template-columns:1fr 1fr!important;gap:8px!important}.summary-card.final-step .stack-actions button{min-width:0!important;min-height:44px!important;padding:0 8px!important;font-size:12px!important}.documents-module{padding:12px!important}.documents-toolbar{align-items:center;grid-template-columns:1fr auto!important;gap:8px!important;display:grid!important}.tabbar,.view-toggle{min-width:0;display:flex!important}.tabbar button,.view-toggle button{min-height:40px!important;padding:0 11px!important;font-size:11px!important}.documents-hero{margin:10px 0!important;padding:0!important}.documents-hero input{height:42px!important}.records,.records-grid,.records-list{grid-template-columns:1fr!important;gap:8px!important;min-width:0!important;display:grid!important}.document-card{border-radius:13px!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:10px!important;display:grid!important;overflow:hidden!important}.doc-main,.doc-amount{min-width:0}.doc-main span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.doc-actions{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;display:grid!important}.doc-actions button{min-width:0!important;min-height:40px!important;padding:0 5px!important;font-size:10px!important}.edit-modal-card{border-radius:17px!important;width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important}.edit-modal-actions{grid-template-columns:1fr 1fr!important;gap:8px!important;display:grid!important}.dashboard-shell .mobile-menu-backdrop{z-index:900!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#37415185!important;border:0!important;border-radius:0!important;width:100vw!important;height:100dvh!important;min-height:100vh!important;inset:0!important}.dashboard-shell.menu-open .mobile-menu-backdrop{display:block!important}.dashboard-shell.menu-open .topbar,.dashboard-shell.menu-open .mobile-menu-button{visibility:hidden!important}.dashboard-shell .sidebar{z-index:910!important;width:min(300px,100vw - 40px)!important;height:100dvh!important;min-height:100vh!important;padding:calc(env(safe-area-inset-top,0px) + 18px) 16px calc(env(safe-area-inset-bottom,0px) + 16px)!important;color:#111827!important;background:#fff!important;border:0!important;border-right:1px solid #d9dee7!important;border-radius:0!important;flex-direction:column!important;display:flex!important;position:fixed!important;inset:0 auto 0 0!important;overflow:hidden!important;transform:translate(-105%)!important;box-shadow:14px 0 38px #0f172a38!important}.dashboard-shell.menu-open .sidebar{pointer-events:auto!important;transform:translate(0)!important}.dashboard-shell .sidebar .logo-block{border-bottom:1px solid #e1e5ea!important;flex:none!important;grid-template-columns:52px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;min-height:76px!important;margin:0 0 14px!important;padding:0 4px 14px!important;display:grid!important;overflow:visible!important}.dashboard-shell .sidebar .logo{width:52px!important;height:52px!important;box-shadow:none!important;background:#fff!important;border-radius:11px!important;padding:4px!important;overflow:hidden!important}.dashboard-shell .sidebar .logo img{object-fit:contain!important;width:100%!important;height:100%!important;display:block!important}.dashboard-shell .sidebar .logo-block>div:last-child{flex-direction:column!important;justify-content:center!important;min-width:0!important;display:flex!important}.dashboard-shell .sidebar .logo-block strong{color:#111827!important;white-space:nowrap!important;font-size:16px!important;font-weight:700!important;line-height:1.25!important;display:block!important;overflow:visible!important}.dashboard-shell .sidebar .logo-block span{color:#667085!important;white-space:nowrap!important;margin:2px 0 0!important;font-size:12px!important;font-weight:500!important;line-height:1.25!important;display:block!important;overflow:visible!important}.dashboard-shell .sidebar nav{flex-direction:column!important;flex:auto!important;gap:7px!important;min-height:0!important;padding:0 0 2px!important;display:flex!important;overflow:hidden auto!important}.dashboard-shell .sidebar nav button{color:#3b4351!important;width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;box-shadow:none!important;white-space:nowrap!important;background:#f5f6f8!important;border:0!important;border-radius:10px!important;flex:0 0 46px!important;padding:0 12px!important;font-size:13px!important;font-weight:600!important;line-height:1.2!important;display:flex!important;overflow:visible!important}.dashboard-shell .sidebar nav button.active{color:#fff!important;box-shadow:none!important;background:#c9151b!important}.dashboard-shell .sidebar nav button.settings-nav{margin-top:auto!important;margin-bottom:max(0px,env(safe-area-inset-bottom,0px))!important}.dashboard-shell .sidebar .nav-icon{color:inherit!important;background:#ffffffbf!important;flex:0 0 26px!important}.dashboard-shell .sidebar button.active .nav-icon{background:#ffffff2e!important}}@media (width<=360px){:root{--m-pad:8px}.topbar{padding-left:68px!important;padding-right:54px!important}.mobile-brand-logo{width:40px!important;height:40px!important}.mobile-brand-bar strong{font-size:15px!important}.panel,.quote-flow .panel,.documents-module{border-radius:15px!important;padding:10px!important}.quote-flow .line-row:not(.estimate-lines .line-row){grid-template-columns:50px repeat(3,minmax(0,1fr))!important;gap:5px!important;padding:8px!important}.quote-flow .line-row:not(.estimate-lines .line-row)>.image-cell{width:50px!important}.mobile-line-field>span{font-size:8.5px!important}.doc-actions{grid-template-columns:1fr 1fr!important}}
