/* Customer experience: no platform controls, phone-first forms and navigation. */
[hidden]{display:none!important}.customer-app{--bg:#f7f9f8;--ink:#203c35;--green:#1b574d;--line:#e0e8e4;background:var(--bg);font-size:15px}.customer-app h1{font-size:clamp(28px,3.5vw,38px);letter-spacing:-1px}.customer-app .sidebar{background:white;color:var(--ink);width:248px;border-right:1px solid var(--line);padding:28px 20px}.customer-app .workspace{margin-left:248px;width:calc(100% - 248px);min-width:0}.customer-app .brand-mark{background:#1b574d;color:white}.customer-app .brand-small{color:#6a8176;font-size:10px}.business-switch{margin:30px 0 20px;padding:16px;background:#f3f7f4;border-radius:12px;overflow-wrap:anywhere}.business-switch small{font-size:9px;letter-spacing:1.3px;display:block}.business-switch b{font-size:14px;display:block;margin-top:5px}.customer-app .nav-item{display:flex;align-items:center;gap:12px;color:#60756c;border-radius:10px;padding:14px 12px;min-height:48px}.customer-app .nav-item.active{background:#e9f2ee;color:#1b574d;font-weight:700}.customer-app svg{width:22px;height:22px;flex-shrink:0}.customer-app .sidebar-bottom{border-color:var(--line);font-size:12px}.customer-app .sidebar-bottom p{color:#7a8b82}.customer-app .sidebar-link{color:var(--green)}.customer-app .topbar{position:sticky;top:0;z-index:10;background:#ffffffee;backdrop-filter:blur(14px);height:72px;padding:0 36px;font-size:13px}.role-pill{font-size:11px;background:#eff4f0;padding:6px 10px;border-radius:20px;color:#587164}.customer-app main{padding:32px 36px;max-width:1460px}.customer-app .eyebrow{display:none}.customer-app .page-head{margin-bottom:24px}.customer-app .page-head p{font-size:15px;max-width:620px;line-height:1.7}.customer-app button,.customer-app .button{min-height:44px;border-radius:10px}.customer-app .actions button{display:inline-flex;align-items:center;gap:8px}.start-banner{background:#eaf3ec;border:1px solid #d5e6d9;border-radius:20px;padding:30px;display:grid;grid-template-columns:1fr 220px;gap:25px;align-items:center;margin-bottom:24px}.start-banner h2{font-size:32px;letter-spacing:-1px;margin:20px 0 12px}.start-banner .tag{background:#dcecdf;color:#316445;font-weight:650;font-size:11px}.start-banner p{color:#557261}.start-banner .actions{margin:20px 0 0}.banner-note{border-left:1px solid #c8dece;padding-left:30px}.banner-note>span{font-size:9px;letter-spacing:1px}.banner-note strong{display:block;font-size:29px;margin:12px 0}.banner-note p{font-size:12px}.customer-app .stats{margin:0 0 32px;grid-template-columns:repeat(3,minmax(0,1fr))}.customer-app .stats article{padding:22px;border-radius:14px}.customer-app .stats strong{font-size:26px}.stats strong small{display:inline;font-size:15px;font-weight:400}.stats progress{width:100%;height:6px;border-radius:5px;accent-color:#32775a;margin-top:14px}.text-button{background:transparent!important;border:0;color:var(--green);padding:8px 0;font-size:12px;min-height:40px!important}.text-button.danger{color:#a33}.section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:25px 0 16px}.section-title h2{font-size:19px;margin:0}.customer-app .cards{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px}.customer-app .tool-card{padding:22px;min-height:220px;border-radius:15px;position:relative;display:flex;flex-direction:column;align-items:start;transition:box-shadow .15s,transform .15s}.customer-app .tool-card:hover{box-shadow:0 6px 25px #1b574d0c}.tool-symbol,.archive-icon{width:42px;height:42px;background:#edf5ef;color:#32785b;display:grid;place-items:center;border-radius:11px}.tool-category{position:absolute;right:22px;top:30px;color:#8a9991;font-size:10px}.customer-app .tool-card h2{font-size:18px;margin:18px 0 8px}.customer-app .tool-card p{font-size:13px;line-height:1.7;min-height:0;flex:1;margin-bottom:20px}.card-cta{border-top:1px solid var(--line);padding-top:13px;width:100%;display:flex;justify-content:space-between;color:var(--green);font-size:12px;font-weight:650}.customer-app input,.customer-app select,.customer-app textarea{font-size:16px;min-height:46px;border-radius:9px}.customer-app label{font-size:12px;color:#526c60;margin-bottom:18px}.customer-app .panel{padding:24px;border-radius:16px;min-width:0}.customer-app .editor{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.customer-app .input-row{background:#f7f9f7;border:1px solid var(--line);padding:14px;border-radius:10px;gap:12px;position:relative;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 30px}.input-row label{margin:0}.customer-app .doc-row{grid-template-columns:minmax(0,1.5fr) minmax(0,.6fr) minmax(0,1fr) 30px}.customer-app .doc-row.no-price{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 30px}.customer-app .row-remove{background:white;color:#8a534b;border:1px solid var(--line);padding:0;min-height:32px;width:30px;align-self:end;margin-bottom:7px;font-size:20px}.customer-app .document{font-size:12px;overflow-wrap:anywhere}.customer-app .document table{table-layout:fixed;font-size:11px}.customer-app .document td{overflow-wrap:anywhere}.customer-app .document td:first-child{width:38%}.customer-app .doc-top{gap:12px;flex-wrap:wrap}.customer-app .doc-top strong{font-size:14px}.customer-app .document .primary-result strong{font-size:clamp(24px,3vw,32px)}.editor-tabs{display:none}.bottom-nav{display:none}.archive-list{display:grid;gap:12px;margin-top:22px}.archive-card{display:flex;align-items:center;gap:18px;border:1px solid var(--line);padding:20px;background:white;border-radius:13px;min-width:0}.archive-card>div:nth-child(2){flex:1;min-width:0}.archive-card h2{font-size:16px;margin:5px 0;overflow-wrap:anywhere}.archive-card p{font-size:11px;color:#829189;margin:0}.archive-card .actions{margin:0;flex-shrink:0}.customer-app .empty{text-align:center;background:white;border:1px dashed #c6d7ca;padding:45px 20px}.empty .tool-symbol{margin:0 auto}.customer-app .price{font-size:29px}.signed-out .sidebar,.signed-out .topbar,.signed-out .bottom-nav{display:none!important}.signed-out .workspace{width:100%;margin:0}.signed-out .auth{background:white;padding:32px;border:1px solid var(--line);border-radius:20px;margin:7vh auto;max-width:470px}.signed-out .auth h1{font-size:30px}.signed-out .auth button{width:100%;margin-bottom:12px}.signed-out footer{justify-content:center}.signed-out footer a{margin-left:0}
@media(max-width:1200px){.customer-app .sidebar{width:218px}.customer-app .workspace{margin-left:218px;width:calc(100% - 218px)}.customer-app main{padding:28px 24px}.customer-app .topbar{padding:0 24px}.customer-app .editor{grid-template-columns:1fr}.customer-app .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.customer-app .workspace{margin:0;width:100%}.customer-app .sidebar{width:260px;transform:translateX(-100%);z-index:40}.customer-app .sidebar.open{transform:translateX(0)}.customer-app .mobile-menu{display:block}.customer-app .topbar{padding:0 20px;height:62px}.customer-app main{padding:24px 20px 35px}.bottom-nav:not([hidden]){position:fixed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));left:0;right:0;bottom:0;background:#fffffff5;border-top:1px solid var(--line);padding:7px 8px calc(7px + env(safe-area-inset-bottom));z-index:20;backdrop-filter:blur(12px)}.bottom-nav button{background:none;color:#84958b;display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 0;min-height:52px;border-radius:10px;font-size:10px}.bottom-nav button.active{background:#edf5f0;color:#1b574d;font-weight:750}.bottom-nav svg{width:22px;height:22px}.customer-app .workspace{padding-bottom:78px}.customer-app footer{padding:16px 20px;font-size:11px}.editor-tabs{display:flex;gap:6px;background:#e9eee9;padding:5px;border-radius:12px;margin:0 0 20px;position:sticky;top:62px;z-index:9}.editor-tabs button{flex:1;background:transparent;color:#73867b;font-size:13px}.editor-tabs button.active{background:white;color:#1b574d;box-shadow:0 1px 4px #0001}.customer-app .editor .result{display:none}.customer-app .editor.show-preview .result{display:block}.customer-app .editor.show-preview form{display:none}.customer-app .start-banner{grid-template-columns:1fr 180px}.banner-note{padding-left:20px}.role-pill{font-size:10px}.signed-out .workspace{padding-bottom:0}}
@media(max-width:560px){.customer-app main{padding:20px 16px 24px}.customer-app h1{font-size:27px}.customer-app .page-head p{font-size:14px}.customer-app .topbar{padding:0 16px}.role-pill{display:none}.customer-app .start-banner{grid-template-columns:1fr;padding:24px 20px;border-radius:16px}.start-banner h2{font-size:29px;margin-top:16px}.banner-note{display:none}.start-banner .actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.start-banner .actions button{padding:11px 10px;font-size:12px;justify-content:center}.start-banner svg{width:18px;height:18px}.customer-app .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.customer-app .stats article{padding:17px}.customer-app .stats article:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 20px}.customer-app .stats article:last-child strong{margin:0;font-size:20px}.stats article:last-child progress{grid-column:1/-1;margin-top:7px}.stats strong{font-size:23px!important}.section-title h2{font-size:17px}.section-title .text-button{font-size:11px;white-space:nowrap}.customer-app .cards{grid-template-columns:1fr;gap:12px}.customer-app .tool-card{min-height:0;padding:20px 20px 16px}.customer-app .tool-card h2{margin:12px 0 8px}.customer-app .tool-card p{margin-bottom:15px}.customer-app .panel{padding:20px 16px}.customer-app .grid2{grid-template-columns:1fr;gap:0}.customer-app .doc-row,.customer-app .doc-row.no-price{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 12px}.customer-app .doc-row .item-name{grid-column:1/-1;padding-right:34px}.customer-app .doc-row.no-price label:last-of-type{grid-column:1/-1}.customer-app .input-row{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 12px}.customer-app .input-row label:first-child{grid-column:1/-1;padding-right:34px}.customer-app .input-row label:nth-child(2){grid-column:1/-1}.customer-app .doc-row label:nth-child(2){grid-column:auto}.customer-app .input-row .row-remove{position:absolute;top:13px;right:10px;min-height:28px;width:28px;margin:0}.customer-app .actions{gap:8px}.customer-app #editor>.actions{display:grid;grid-template-columns:1fr 1fr;position:sticky;bottom:82px;background:#fffffff2;padding:12px 0;margin-bottom:0;border-top:1px solid var(--line);z-index:3}.customer-app .archive-card{display:grid;grid-template-columns:40px minmax(0,1fr);padding:16px;gap:12px}.archive-card .actions{grid-column:2;justify-content:start}.customer-app footer span{display:none}.signed-out .auth{padding:25px 20px;margin:3vh auto}.signed-out main{padding:16px}.customer-app .document .doc-top h2{font-size:18px}.customer-app .document .doc-top strong{font-size:12px}.customer-app .document td,.customer-app .document th{padding:9px 4px;font-size:10px}.customer-app .document .totals{max-width:none}.customer-app .result .actions{display:grid;grid-template-columns:1fr 1fr}.customer-app .result .actions button{font-size:11px;padding:10px 6px}.customer-app .document .signatures{white-space:normal}}
@media print{.customer-app #bottom-navigation,.customer-app .editor-tabs{display:none!important}.customer-app .document table{table-layout:auto}.customer-app .document td,.customer-app .document th{font-size:11px;padding:10px}.customer-app .document .signatures{white-space:pre-wrap}}

.customer-app h1{overflow-wrap:anywhere}@media(max-width:900px){.customer-app .sidebar.open~.scrim{display:block;position:fixed;inset:0;background:#16362c66;z-index:35;border-radius:0}}

.ai-draft{margin-bottom:24px}.ai-missing{border-left:3px solid #bd7922;padding-left:10px}.ai-draft textarea{width:100%}.ai-draft table{width:100%}
