.qe,.qd{--qe-ink: #2e2c29;--qe-muted: #68645e;--qe-line: #ddd8d1;--qe-accent: #a34a31;width:100%;min-width:0;color:var(--qe-ink);font-variant-numeric:tabular-nums}.qe-heading,.qe-section-title,.qe-line-heading,.qe-actions,.qd-controls,.qd-buttons{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.qe-heading{margin:2px 0 20px}.qe-heading h1{margin:0;font-size:clamp(1.8rem,3vw,2.4rem);letter-spacing:-.045em;line-height:1.12}.qe-ref{color:var(--qe-muted)}.qe-fields{display:grid;gap:18px;min-width:0;padding:0;margin:0;border:0}.qe-card,.qd-paper{background:#fff;border:1px solid var(--qe-line);border-radius:14px}.qe-card{min-width:0;padding:clamp(16px,2.3vw,26px)}.qe-card h2{font-size:1.05rem;margin:0 0 18px;line-height:1.2}.qe-section-title,.qe-line-heading,.qd-controls{justify-content:space-between}.qe-section-title h2{margin:0}.qe-line-heading{margin-bottom:12px}.qe-line-heading h3{margin:0;font-size:.85rem;color:var(--qe-accent)}.qe-form-grid,.qe-bottom{display:grid;gap:16px;grid-template-columns:1fr 1fr}.qe label{display:grid;align-content:start;gap:6px;font-size:.81rem;font-weight:600;color:#47443e}.qe input,.qe textarea,.qd-state select{box-sizing:border-box;width:100%;min-width:0;border:1px solid #cbc6be;background:#fff;border-radius:6px;font:inherit;font-size:.89rem;font-weight:400;line-height:1.4;padding:9px 11px;color:var(--qe-ink)}.qe input{min-height:40px}.qe input::placeholder,.qe textarea::placeholder{color:#79766f}.qe textarea{min-height:40px;resize:vertical}.qe :is(button,input,textarea):focus-visible,.qd :is(button,select):focus-visible{outline:2px solid #93452e;outline-offset:2px}.qe-btn{display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:8px 14px;border:1px solid var(--qe-line);border-radius:7px;background:#fff;color:var(--qe-ink);cursor:pointer;font:inherit;font-size:.84rem;font-weight:650}.qe-btn:hover{border-color:#a9998e;background:#faf8f5}.qe-primary{background:var(--qe-accent);border-color:var(--qe-accent);color:#fff}.qe-primary:hover{background:#8d3d28;border-color:#8d3d28}.qe button:disabled,.qd button:disabled{cursor:default;opacity:.45}.qe-line{padding:18px 0;border-bottom:1px solid var(--qe-line)}.qe-remove{padding:4px 0 4px 8px;background:none;border:0;cursor:pointer;color:var(--qe-muted);font-size:.78rem}.qe-remove:hover:enabled{color:#a03728}.qe-measures{display:grid;grid-template-columns:minmax(90px,2fr) repeat(2,minmax(60px,.7fr)) minmax(84px,1fr) minmax(90px,auto);align-items:end;gap:12px;margin-top:12px}.qe-line-amount{align-self:stretch;display:grid;align-content:space-between;justify-items:end;font-size:.82rem}.qe-line-amount>span{color:var(--qe-muted)}.qe-line-amount strong{align-self:center;line-height:39px}.qe-add{margin-top:18px;border-style:dashed}.qe-catalog,.qe-inline-results{border:1px solid var(--qe-line);border-radius:9px;background:#fff}.qe-catalog{margin-top:14px;padding:14px;background:#faf8f5}.qe-catalog .qe-suggestions{margin-top:10px}.qe-desc-wrap{position:relative}.qe-inline-results{position:absolute;inset:calc(100% + 3px) 0 auto;z-index:4;box-shadow:0 9px 28px #30302c20;padding:4px}.qe-suggestions{overflow-y:auto;max-height:250px;padding:0;margin:0;list-style:none}.qe-suggestions li+li{border-top:1px solid var(--qe-line)}.qe-suggestions button{display:flex;justify-content:space-between;align-items:start;gap:12px;padding:10px;background:transparent;border:none;width:100%;text-align:left;font:inherit;font-size:.85rem;color:var(--qe-ink);cursor:pointer}.qe-suggestions button:hover{background:#f1ece5}.qe-suggestions small{display:block;color:var(--qe-muted);font-size:.7rem;margin-top:3px}.qe-suggestion-rate{flex-shrink:0;text-align:right}.qe-no-results{font-size:.86rem;margin:12px 0 0}.qe-bottom{grid-template-columns:1.35fr 1fr}.qe-totals>div,.qd-financials dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:.88rem;margin:10px 0}.qe-totals>div{align-items:center}.qe label.qe-tax{display:flex;align-items:center;font-size:.84rem;font-weight:400}.qe-tax input{width:68px}.qe-totals .qe-grand,.qd-totals .qd-grand{border-top:1px solid var(--qe-line);padding-top:12px;font-weight:700;font-size:1.08rem}.qe-actions{justify-content:flex-end}.qe-error{margin:12px 0;background:#fff1ec;color:#943722;border:1px solid #e6b7aa;border-radius:7px;padding:12px}.qe-sr-only{position:absolute;height:1px;width:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.qd{max-width:1150px;margin:0 auto}.qd-controls{margin:0 auto 18px}.qd-buttons{gap:8px}.qd-email-dialog{width:min(450px,calc(100% - 28px));padding:clamp(16px,4vw,25px);border:1px solid var(--qe-line);border-radius:12px;background:#fff;color:var(--qe-ink);box-shadow:0 20px 64px #27241f38}.qd-email-dialog::backdrop{background:#25221e66}.qd-email-dialog form{display:grid;gap:15px}.qd-email-dialog h2{margin:0;font-size:1.2rem}.qd-email-dialog label{display:grid;gap:6px;font-size:.85rem;font-weight:600}.qd-email-dialog :is(input,select){width:100%;min-width:0;min-height:40px;padding:8px 10px;border:1px solid #cbc6be;border-radius:6px;background:#fff;color:var(--qe-ink);font:inherit;font-weight:400}.qd-email-dialog p{margin:0;color:var(--qe-muted);font-size:.85rem;line-height:1.45}.qd-pdf-share{display:grid;justify-items:start;gap:9px;min-width:0;padding:12px;border:1px solid var(--qe-line);border-radius:8px;background:#faf8f5;overflow-wrap:anywhere}.qd-pdf-share label{width:100%;min-width:0}.qd-pdf-share input[type=file]{font-size:.85rem}.qd-pdf-share .qd-share-error{color:#943722}.qd-email-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.qd-state{display:flex;align-items:center;gap:7px;color:var(--qe-muted);font-size:.8rem}.qd-state select{padding:7px;min-height:38px;width:auto}.qd-paper{padding:clamp(20px,4.5vw,62px);border-top:4px solid var(--qe-accent)}.qd-letterhead,.qd-parties{display:flex;justify-content:space-between;gap:16px}.qd-letterhead{padding-bottom:24px;border-bottom:1px solid var(--qe-line);align-items:center}.qd-brand{display:flex;align-items:center;gap:11px;font-size:.9rem;font-weight:750;letter-spacing:.14em}.qd-brand img{width:44px;height:44px;border-radius:4px}.qd-type{text-align:right}.qd-type h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(1.9rem,3.6vw,2.9rem);margin:0 0 3px;letter-spacing:-.04em}.qd-type span{color:var(--qe-muted);font-size:.84rem}.qd-parties{padding:24px 0 18px}.qd-parties>div:first-child{max-width:65%}.qd-parties>div:last-child{text-align:right}.qd-paper h2{text-transform:uppercase;font-size:.68rem;letter-spacing:.11em;color:var(--qe-muted);font-weight:700;margin:0 0 6px}.qd-paper p{margin:0;white-space:pre-line;font-size:.91rem}.qd-paper p+h2{margin-top:12px}.qd-paper strong+p{margin-top:5px}.qd-project{margin:0 0 15px}.qd-project p{font-weight:600}.qd-capitalize{text-transform:capitalize}.qd-paper{overflow-wrap:anywhere}.qd-item-table{overflow-x:auto}.qd-paper table{border-collapse:collapse;width:100%;min-width:450px;font-size:.84rem}.qd-paper th,.qd-paper td{padding:10px 6px;border-bottom:1px solid var(--qe-line);text-align:left;vertical-align:top}.qd-paper th:nth-child(n+5),.qd-paper td:nth-child(n+5),.qd-paper th:nth-child(3),.qd-paper td:nth-child(3){text-align:right}.qd-paper thead th{font-size:.74rem;color:var(--qe-muted);border-top:1px solid var(--qe-line);font-weight:600}.qd-paper td:nth-child(2){white-space:pre-line;width:48%}.qd-paper td:nth-child(n+5){white-space:nowrap}.qd-section-row th{color:var(--qe-accent);background:#faf6f1;font-size:.8rem}.qd-financials{display:flex;align-items:start;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:20px}.qd-section-summary{width:min(100%,280px)}.qd-section-summary dl{margin:0}.qd-section-summary div{color:var(--qe-muted)}.qd-financials dd{margin:0;text-align:right}.qd-totals{width:min(100%,290px);margin:0 0 0 auto}.qd-grand{color:var(--qe-accent)}.qd-notes{border-top:1px solid var(--qe-line);padding-top:18px;margin-top:22px}.qd-notes p{line-height:1.55}@media(max-width:850px){.qe-measures{grid-template-columns:repeat(4,minmax(0,1fr))}.qe-measures label:first-child{grid-column:span 2}.qe-line-amount{grid-column:span 3}.qe-bottom{grid-template-columns:1fr}}@media(max-width:610px){.qe-form-grid{grid-template-columns:1fr}.qe-measures{grid-template-columns:repeat(2,minmax(0,1fr))}.qe-line-amount{grid-column:auto}.qe-catalog{padding:8px}.qd-brand{flex-direction:column;align-items:start;font-size:.72rem}.qd-controls{align-items:start}.qd-buttons{justify-content:flex-start}.qd-buttons .qe-btn{padding:7px 10px;font-size:.77rem}.qd-totals{width:100%}}@media print{@page{size:A4;margin:15mm}html,body,#root{min-height:0!important;background:#fff!important}.sales-sidebar,.sales-topbar,.qd-controls,.qe-error{display:none!important}#root :where(div,main,section):has(.qd-paper){display:block!important;height:auto!important;min-height:0!important;max-width:none!important;width:auto!important;overflow:visible!important;margin:0!important;padding:0!important;background:#fff!important}.qd-paper{border:0;border-top:2px solid #a34a31;padding:10px 0 0;border-radius:0;box-shadow:none}.qd-item-table{overflow:visible}.qd-paper table{min-width:0;font-size:9pt}.qd-paper thead{display:table-header-group}.qd-paper tr{break-inside:avoid}.qd-section-row{break-after:avoid}.qd-financials{display:flex;flex-wrap:nowrap}.qd-totals{width:55%;max-width:280px;break-inside:avoid}.qd-notes h2{break-after:avoid}.qd-brand{flex-direction:row;align-items:center}}.qe-specs{margin:12px 0 18px}.qe-specs summary{width:fit-content;cursor:pointer;color:#405b4e;font-size:.86rem;font-weight:600}.qe-spec-fields{display:grid;gap:16px;margin-top:14px}.qe-lettered-list{min-width:0;margin:0;padding:10px 0 0;border:0;border-top:1px solid var(--qe-line)}.qe-lettered-list legend{padding:0 8px 0 0;font-size:.9rem;font-weight:650;font-style:italic}.qe-lettered-row{display:grid;grid-template-columns:minmax(28px,max-content) minmax(0,1fr) auto;align-items:start;gap:8px;margin-bottom:8px}.qe-lettered-marker{padding-top:10px;color:var(--qe-muted);font-size:.85rem;font-style:italic}.qe-lettered-row textarea{field-sizing:content}.qe-lettered-row .qe-remove{min-height:40px}.qe-add-detail{margin-left:36px;min-height:32px;padding:5px 10px}.qe label.qe-stamp-option{display:flex;flex-direction:row;align-items:center;gap:9px;cursor:pointer}.qe .qe-stamp-option input{width:17px;height:17px;min-height:0;accent-color:#315447}.pp-preview{width:100%;min-width:0;position:relative;color:#121212}.pp-pages{width:210mm;margin:0 auto}.pp-sheet{position:relative;width:210mm;min-height:297mm;box-sizing:border-box;margin:0 auto 18px;background:#fff;box-shadow:0 2px 9px #312a2014,0 0 0 1px #e5e1dc;font-family:Calibri,Segoe UI,Arial,sans-serif;color:#090909;font-variant-numeric:lining-nums;overflow-wrap:anywhere}.pp-cover{position:relative;height:297mm;overflow:hidden}.pp-cover img{width:100%;height:100%;display:block}.pp-cover>div{position:absolute;display:flex;align-items:center;justify-content:center;line-height:1.13;text-align:center;overflow:hidden;white-space:pre-line;color:#231f20}.pp-cover-title{left:51.5%;top:33.4%;width:42%;height:3.8%;font-size:25pt;font-style:italic}.pp-cover-customer{left:52%;top:36.9%;width:43.5%;height:4.5%;font-size:14.2pt}.pp-cover-address{left:28%;top:43%;width:70%;height:4.2%;font-size:10pt}.pp-cover-project{left:7%;top:48.2%;width:86%;height:5.9%;color:#939598;font-size:25pt;font-weight:700}.pp-body{padding:28pt 5.5pt 18pt}.pp-business{display:flex;justify-content:space-between;min-height:94pt;padding:0 9pt;align-items:flex-start;font-size:12pt;line-height:15.8pt}.pp-business img{width:204pt;height:52pt;object-fit:contain;margin:9pt 15pt 0 6pt}.pp-project-title{background:#7c7c7c;text-align:center;color:#fff;font-size:16.19pt;line-height:18pt;padding:1.6pt 4pt}.pp-meta{display:grid;grid-template-columns:65.4% 34.6%;font-size:10.9pt;line-height:15.3pt;min-height:76.5pt}.pp-meta>div{padding-left:9pt}.pp-address{white-space:pre-line}.pp-boq{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%}.pp-boq th{background:#7c7c7c;color:#fff;text-align:center;border-right:4pt solid white;font-weight:400;padding:1pt 0;font-size:13.8pt;line-height:16pt}.pp-boq th:last-child{border-right:0}.pp-boq tr{break-inside:avoid}.pp-boq td{vertical-align:middle;text-align:center;font-size:10.76pt;border-right:4pt solid #f4f5f6;border-bottom:4pt solid #f4f5f6;padding:4pt 2pt;line-height:1.2}.pp-boq tbody tr:first-child td{border-top:4pt solid #f4f5f6}.pp-boq td:last-child{border-right-width:1pt}.pp-boq td:nth-last-child(-n+2){text-align:right}.pp-boq .pp-description{padding:4pt 8pt;text-align:left}.pp-description b{font-size:11.95pt;line-height:14.5pt}.pp-description p{margin:2pt 0;white-space:pre-line;font-size:10pt;line-height:13pt}.pp-description h3{font:italic 600 10.76pt/14pt Segoe UI,Calibri,sans-serif;margin:6pt 0 3pt 14pt}.pp-description ol{counter-reset:detail;margin:0;padding:0 0 0 9pt;list-style:none}.pp-description li{position:relative;counter-increment:detail;margin:0;padding:2.8pt 0;font-size:7.77pt;line-height:9.2pt}.pp-description li:before{content:"(" counter(detail,lower-alpha) ")";position:absolute;width:15pt;white-space:nowrap;text-align:right;right:calc(100% + 4pt);top:2.8pt;font-style:italic}.pp-totals{margin:0}.pp-totals>div{display:grid;grid-template-columns:67.1% 32.9%;break-inside:avoid}.pp-totals dt{text-align:center;font-weight:700;font-size:11.5pt;border-right:4pt solid #fff;background:#d8d9d9}.pp-totals dd{background:#fde696;text-align:right;font-size:13pt;margin:0}.pp-totals :is(dt,dd){display:flex;align-items:center;min-height:28.7pt;padding:4pt}.pp-totals dt{justify-content:center}.pp-totals dd{justify-content:flex-end}.pp-signoff{padding:10pt 18pt 0 27pt}.pp-signoff p{font-size:13pt;line-height:17pt;margin:0 0 6pt}.pp-signatories{display:grid;grid-template-columns:42% 28% 30%}.pp-signature{display:flex;flex-direction:column;align-items:center;justify-content:end;min-height:178pt;color:#808285;font-size:13.5pt;text-align:center}.pp-signature img{display:block;width:145pt;height:145pt;object-fit:contain}.pp-signature span{line-height:18pt}.pp-contact{color:#696b70;font-size:12.5pt;line-height:17.5pt;margin-top:4pt}.pp-notes{padding:8pt 27pt 2pt}.pp-notes h3{font-size:11pt;margin:0 0 3pt}.pp-notes p{font-size:10pt;line-height:14pt;margin:0;white-space:pre-line}.pp-probe{position:absolute;top:0;left:0;width:210mm;visibility:hidden;pointer-events:none;z-index:-1;contain:layout style}.pp-probe .pp-sheet{position:relative;margin:0;min-height:0}@media screen{.pp-preview{overflow:clip;padding:1px}}@media print{@page{size:A4 portrait;margin:0}html,body,#root{background:#fff!important}.sales-shell,.sales-main,.sales-content,.qd,.pp-preview,.pp-pages{display:block!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important}.pp-pages{zoom:1!important}.pp-probe,.qd-controls,.qe-error{display:none!important}.pp-sheet{position:relative;margin:0;box-shadow:none;min-height:296.8mm;break-before:page;print-color-adjust:exact;-webkit-print-color-adjust:exact}.pp-sheet:first-child{break-before:auto}.pp-cover{height:296.9mm}.pp-signoff{break-inside:avoid}}.pp-page-number{position:absolute;right:12pt;bottom:7pt;color:#a7a9ac;background:#fff;text-align:right;min-width:9pt;font-size:7pt}.pp-closing [hidden]{display:none!important}.account-link{display:flex;align-items:center;flex:1;min-width:0;gap:9px;padding:6px;margin-left:-4px;border-radius:7px}.account-link:hover,.account-link[aria-current=page]{background:#41423b}.account-link[aria-current=page] .user-avatar{box-shadow:inset 0 0 0 1px #ffcd18}.account-page{display:grid;min-width:0;gap:22px}.account-cover{display:flex;align-items:center;gap:20px;padding:clamp(20px,3.6vw,42px);border-radius:11px;background:linear-gradient(110deg,#211f20 42%,#40372a);color:#fffdf5;box-shadow:inset 4px 0 #ffcd18}.account-cover img{flex:none;border-radius:8px}.account-cover h1{margin:0;font:500 clamp(28px,3vw,42px)/1.05 Georgia,serif}.account-cover p{margin:10px 0 0;color:#e1d8c9;line-height:1.55;font-size:13px}.account-logout{flex:none;margin-left:auto;border-color:#fff5;background:transparent;color:#fffdf5;white-space:nowrap}.account-logout:hover:enabled{border-color:#fffdf5;background:#ffffff1a}.account-logout:disabled{opacity:.65;cursor:default}.account-logout-error{margin:0}.account-profile{width:min(100%,820px)}.account-profile-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 18px;padding:10px 16px;border-bottom:1px solid var(--edge)}.account-switch{display:flex;flex-wrap:wrap;gap:4px}.account-switch button{padding:8px 11px;font-size:13px;color:var(--graphite);background:none;border:1px solid transparent;border-radius:6px}.account-switch button[aria-pressed=true]{background:#fff4cb;border-color:#efdca1;color:#503b12}.account-switch button:hover:enabled{border-color:#d7c89e}.account-profile-body{padding:clamp(16px,2.6vw,28px)}.account-details{display:grid;gap:16px;margin:0}.account-details div{display:grid;grid-template-columns:minmax(110px,27%) minmax(0,1fr);gap:8px 14px}.account-details dt{font-size:13px;color:var(--quiet)}.account-details dd{margin:0;font-size:14px;overflow-wrap:anywhere}.account-edit{display:grid;gap:15px;max-width:490px}.account-edit label{display:grid;gap:6px;font-size:13px;font-weight:600}.account-edit input{width:100%;padding:9px 11px;border:1px solid var(--edge);border-radius:6px;background:#fff;color:var(--graphite)}.account-edit-actions{display:flex;gap:8px;flex-wrap:wrap}.account-notice{margin:16px 0 0;color:#3c6853;font-size:13px}.account-history{min-width:0}.account-history p.records-empty{margin:0}.account-history-action{white-space:nowrap}@media(max-width:850px){.account-link{margin-left:0}.account-link .user-avatar{display:grid}}@media(max-width:480px){.account-page{gap:15px}.account-cover{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px}.account-cover img{width:40px;height:40px}.account-logout{grid-column:2;justify-self:start;margin-left:0}.account-details div{grid-template-columns:minmax(0,1fr);gap:4px}}.sales-shell{--rust:#a34a31;--graphite:#302e2a;--quiet:#6e6b64;--edge:#e5e1d9;--paper:#fffefa;display:grid;grid-template-columns:216px minmax(0,1fr);min-height:100vh;background:#f7f6f2;color:var(--graphite);font-family:Inter,Segoe UI,sans-serif}.sales-shell button,.sales-shell select{cursor:pointer;font:inherit}.sales-shell a:hover{text-decoration:none}.sales-shell a:focus-visible,.sales-shell button:focus-visible,.sales-shell input:focus-visible,.sales-shell select:focus-visible{outline:3px solid #b76a4e;outline-offset:3px}.sales-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:#211f20;color:#fff;padding:28px 14px 18px}.studio-brand{color:#fff;display:flex;align-items:center;gap:11px;margin:2px 8px 42px}.studio-brand .studio-mark{width:37px;height:37px;object-fit:contain}.studio-brand .studio-wordmark{width:calc(100% - 48px);max-width:130px;height:auto;object-fit:contain}.account-name small{display:block;font:12px/1.6 Inter,Segoe UI,sans-serif;color:#c0c4ba;letter-spacing:.1px}.sales-sidebar nav{display:grid;gap:6px}.sales-sidebar nav a{padding:13px 15px;display:flex;align-items:center;gap:12px;color:#d0d1cb;font-size:14px;border-radius:7px;font-weight:500}.sales-sidebar nav a:hover,.sales-sidebar nav a.current{background:#41423b;color:#fff}.sales-sidebar nav a.current{box-shadow:inset 3px 0 #ffcd18}.sales-sidebar nav a.current svg{color:#ffcd18}.account-block{margin-top:auto;border-top:1px solid #464740;padding:20px 3px 0;display:flex;align-items:center;gap:10px}.user-avatar{width:34px;height:34px;background:#53564c;border-radius:50%;color:#faf3e5;display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}.account-name{min-width:0;flex:1}.account-name strong{font-size:13px;color:#f0f0eb;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-name small{font-size:11px}.logout-action{background:none;border:0;color:#d3d5cc;padding:6px}.sales-main,.sales-content{min-width:0}.sales-topbar{height:65px;border-bottom:1px solid var(--edge);background:#fffefa;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 clamp(18px,3vw,52px);font-size:12px;color:var(--quiet)}.sales-topbar div,.workspace-date{display:flex;align-items:center;gap:10px}.sales-topbar strong{color:var(--graphite);font-weight:600}.crumb-separator{color:#b8b5ad}.sales-content{max-width:1510px;margin:0 auto;padding:32px clamp(18px,3vw,52px) 44px}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:25px}.workspace-heading h1{font-family:Georgia,Times New Roman,serif;font-size:clamp(30px,3vw,44px);font-weight:500;letter-spacing:-1.6px;line-height:1.12;margin:0}.workspace-heading p{margin:8px 0 0;color:var(--quiet);font-size:14px}.sales-cta{background:#ffcd18;color:#242021;border:1px solid #e6b812;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;padding:11px 16px;font-size:13px;font-weight:600;white-space:nowrap}.sales-cta:hover{background:#f5bd12}.sales-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.metric,.sales-panel{background:var(--paper);border:1px solid var(--edge);border-radius:10px}.metric{padding:18px 20px;display:grid;gap:10px;color:var(--graphite);font-weight:400;min-width:0}.metric:hover{border-color:#cdb9a7}.metric-title{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600}.metric-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:7px}.metric-copper .metric-icon{color:#984629;background:#f7e7dc}.metric-amber .metric-icon{color:#856314;background:#f5efdc}.metric-sage .metric-icon{color:#416753;background:#e6eee6}.metric-slate .metric-icon{color:#536577;background:#e8edf0}.metric strong{font-size:clamp(22px,2.25vw,34px);line-height:1.2;letter-spacing:-1.3px;font-weight:580;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.metric small,.sales-filters>span{font-size:12px;color:var(--quiet)}.dashboard-charts{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,1fr);gap:18px;margin:0 0 20px}.panel-heading{padding:19px 21px 13px;display:flex;align-items:center;gap:8px;justify-content:space-between}.panel-heading h2{font-size:17px;letter-spacing:-.4px;font-weight:630;margin:0}.panel-heading>svg{color:#8b8173}.sales-panel select{border:1px solid var(--edge);border-radius:5px;padding:6px 8px;background:#fffefa;color:var(--graphite);font-size:12px}.sales-legend{padding:0 21px;display:flex;gap:15px;color:var(--quiet);font-size:11px}.sales-legend span:before{content:"";display:inline-block;height:7px;width:7px;background:#bd7454;border-radius:2px;margin-right:6px}.sales-legend span:nth-child(2):before{background:#617b6a}.sales-plot{display:flex;height:158px;margin:18px 22px 34px 15px;gap:8px;font-size:10px;color:var(--quiet)}.axis-labels{display:flex;flex-direction:column;justify-content:space-between;text-align:right;min-width:26px}.bars-area{display:flex;align-items:stretch;justify-content:space-around;gap:2px;flex:1;min-width:0;border-bottom:1px solid var(--edge);position:relative;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),var(--edge) calc(25% - 1px),var(--edge) 25%)}.bars-group{position:relative;flex:1;display:flex;align-items:flex-end;justify-content:center;gap:3px}.bars-group i{background:#bd7454;width:24%;max-width:22px;border-radius:3px 3px 0 0}.bars-group i:nth-child(2){background:#617b6a}.bars-group small{position:absolute;bottom:-20px;font-size:10px}.plot-empty{position:absolute;top:42%;left:50%;transform:translate(-50%);white-space:nowrap;background:var(--paper);padding:5px 8px;z-index:1}.pipeline-panel{padding-bottom:15px}.pipeline-row{display:grid;align-items:center;grid-template-columns:8px 1fr auto minmax(48px,auto);gap:9px;margin:0 21px;padding:10px 0;border-bottom:1px solid var(--edge);color:var(--graphite);font-size:13px;font-weight:500}.pipeline-row>span:last-child{text-align:right;color:var(--quiet);margin-left:7px}.stage-name,.sales-status{text-transform:capitalize}.pipeline-dot{width:7px;height:7px;border-radius:50%;background:currentColor}.status-draft{color:#6a685e;background-color:#eeece7}.status-sent{color:#526b82;background-color:#e6edf3}.status-accepted,.status-paid{color:#3c6853;background-color:#e5eee6}.status-invoiced{color:#875740;background-color:#f3e6dc}.status-unpaid{color:#89631e;background-color:#f7efd9}.pipeline-dot{background:currentColor}.text-action{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--rust);font-weight:630}.pipeline-panel>.text-action{margin:14px 21px 0}.sales-table-wrap{overflow-x:auto}.sales-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.sales-table th,.sales-table td{border-top:1px solid var(--edge);padding:13px 14px;vertical-align:middle}.sales-table th:first-child,.sales-table td:first-child{padding-left:21px}.sales-table th{background:#f8f7f3;color:var(--quiet);font-size:11px;font-weight:600;white-space:nowrap}.sales-table td strong{font-weight:550}.sales-table td small{display:block;color:var(--quiet);margin-top:3px}.sales-table .sales-money{font-weight:600;white-space:nowrap}.record-id{display:inline-flex;align-items:center;gap:7px;color:var(--rust);white-space:nowrap}.sales-status{font-size:11px;font-weight:600;border-radius:20px;padding:4px 9px}.records-empty{min-height:120px;text-align:center;border-top:1px solid var(--edge);color:var(--quiet);padding:26px;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;font-size:13px}.records-empty svg{color:#ad927d}.sales-filters{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:18px 21px}.sales-search{display:flex;align-items:center;gap:8px;flex:1;max-width:370px;border:1px solid var(--edge);border-radius:6px;padding:6px 11px;color:var(--quiet);background:#fff}.sales-search input{border:0;min-width:0;width:100%;padding:4px 0;font-size:13px;color:var(--graphite)}.workspace-error{padding:20px}.library-table td:first-child{line-height:1.5;min-width:230px}@media(max-width:1100px){.sales-shell{grid-template-columns:185px minmax(0,1fr)}.metric{padding:15px 13px}.dashboard-charts{grid-template-columns:minmax(0,1.35fr) minmax(220px,1fr)}}@media(max-width:850px){.sales-shell{grid-template-columns:minmax(0,1fr)}.sales-sidebar{position:static;height:auto;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;flex-wrap:wrap}.studio-brand{margin:0}.studio-brand .studio-mark{width:30px;height:30px}.studio-brand .studio-wordmark{width:104px}.account-name,.user-avatar{display:none}.sales-sidebar nav{display:flex;gap:2px}.sales-sidebar nav a{font-size:12px;padding:9px;gap:6px}.sales-sidebar nav a.current{box-shadow:none}.account-block{margin:0;padding:0;border:0}.sales-topbar{height:45px}.sales-content{padding-top:24px}.sales-metrics{gap:8px}}@media(max-width:620px){.sales-sidebar nav{order:3;width:100%;justify-content:space-between}.sales-sidebar nav a{font-size:11px}.workspace-date{font-size:10px}.sales-content{padding:20px 13px}.workspace-heading{align-items:flex-start;flex-wrap:wrap;gap:13px}.workspace-heading h1{font-size:32px}.sales-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-charts{grid-template-columns:minmax(0,1fr)}.metric-title{font-size:12px}.sales-plot{height:130px}.sales-cta{padding:10px 12px}.sales-table td{padding:12px}.sales-topbar{padding:0 14px}}@media print{.sales-sidebar,.sales-topbar{display:none!important}.sales-shell,.sales-main,.sales-content{display:block!important;min-height:0;width:100%;max-width:none;margin:0;padding:0;background:#fff}}:root{color:#1f2523;background:#f7f5f1;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #1f2523;--muted: #65716c;--line: #ddd8cf;--field: #fbfaf7;--brand: #8a6a35;--brand-deep: #5d4724;--accent: #2f6657;--error: #b3261e;--card: rgba(255, 255, 255, .94)}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0}button,input{font:inherit}a{color:var(--brand-deep);font-weight:700;text-decoration:none}a:hover{text-decoration:underline}.auth-shell{position:relative;display:grid;min-height:100vh;place-items:center;overflow:hidden;padding:40px 20px;background:linear-gradient(115deg,#f7f5f1f2,#eff2ece6),radial-gradient(circle at 18% 12%,rgba(47,102,87,.12),transparent 30%),#f7f5f1}.auth-ambient{position:absolute;inset:0;pointer-events:none}.material-panel{position:absolute;border:1px solid rgba(138,106,53,.16);box-shadow:0 24px 80px #36312714}.stone-panel{top:8%;right:10%;width:min(360px,38vw);height:min(520px,58vh);background:linear-gradient(135deg,#fff6,#d8d2c726),repeating-linear-gradient(90deg,rgba(31,37,35,.04) 0 1px,transparent 1px 18px);border-radius:6px;transform:rotate(5deg)}.timber-panel{bottom:7%;left:7%;width:min(300px,42vw);height:min(430px,48vh);background:linear-gradient(90deg,#8a6a3524,#2f665714),repeating-linear-gradient(0deg,transparent 0 22px,rgba(93,71,36,.08) 22px 23px);border-radius:6px;transform:rotate(-7deg)}.line-panel{left:50%;top:50%;width:min(720px,84vw);height:min(520px,72vh);border-color:#2f665721;border-radius:8px;transform:translate(-50%,-50%) rotate(-2deg)}.auth-card{position:relative;z-index:1;width:min(100%,440px);padding:34px;border:1px solid rgba(221,216,207,.92);border-radius:8px;background:var(--card);box-shadow:0 22px 70px #28241d24;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand-header{aspect-ratio:2.85;background:#211f20;border-radius:6px;overflow:hidden}.brand-signature{display:block;height:100%;width:100%;object-fit:cover;object-position:center 47%}.auth-title-block h1,.auth-title-block p,.auth-switch,.field-error{margin:0}.auth-title-block{margin:26px 0 22px}.auth-title-block h1{color:var(--ink);font-size:clamp(1.7rem,4vw,2.08rem);line-height:1.1;letter-spacing:0}.auth-title-block p{margin-top:8px;color:var(--muted);font-size:.96rem;line-height:1.5}.auth-form{display:grid;gap:16px}.field-group{display:grid;gap:7px}.field-group label{color:var(--ink);font-size:.9rem;font-weight:700}.field-group input,.password-control{width:100%;min-height:48px;border:1px solid #d8d3ca;border-radius:8px;background:var(--field);color:var(--ink);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.field-group input{padding:0 15px;outline:0}.field-group input:focus,.password-control:focus-within{border-color:var(--accent);background:#fff;box-shadow:0 0 0 4px #2f66571a}.password-control{display:flex;align-items:center;padding-right:6px}.password-control input{min-height:46px;border:0;background:transparent;box-shadow:none}.password-control input:focus{box-shadow:none}.icon-button{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer}.icon-button:hover,.icon-button:focus-visible{background:#2f665717;color:var(--accent);outline:0}.icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.field-error{color:var(--error);font-size:.82rem;line-height:1.35}.input-error,.password-control.input-error{border-color:var(--error)}.form-options{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:2px;color:var(--muted);font-size:.9rem}.checkbox-row{display:inline-flex;align-items:center;gap:8px;min-width:max-content;cursor:pointer}.checkbox-row input{width:17px;height:17px;accent-color:var(--accent)}.primary-button{width:100%;min-height:50px;margin-top:4px;border:0;border-radius:8px;background:#ffcd18;color:#242021;cursor:pointer;font-weight:800;box-shadow:0 5px 12px #4d3b001f}.primary-button:hover,.primary-button:focus-visible{background:#f5bd12;outline-offset:3px}.primary-button:disabled{cursor:wait;opacity:.7}.form-message{margin:0;padding:11px 13px;border:1px solid;border-radius:8px;font-size:.88rem;line-height:1.4}.form-error{border-color:#b3261e40;background:#fff4f3;color:var(--error)}.form-success{border-color:#2f665740;background:#f0f8f5;color:#235447}.route-loading,.temporary-dashboard{display:grid;min-height:100vh;place-items:center;padding:20px;background:#f7f5f1;color:var(--muted)}.temporary-dashboard-panel{width:min(100%,440px);padding:34px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 22px 70px #28241d24}.temporary-dashboard-panel h1{margin:32px 0 24px;color:var(--ink);font-size:1.65rem;letter-spacing:0}.auth-switch{margin-top:24px;color:var(--muted);text-align:center;font-size:.95rem}@media(max-width:560px){.auth-shell{align-items:start;padding:22px 14px}.auth-card{padding:24px 18px}.form-options{align-items:flex-start;flex-direction:column;gap:10px}}
