:root{color:#18212d;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#eef3f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.45}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}img,svg{display:block}#root{min-height:100svh}:root{--bg:#eef3f5;--panel:#fff;--panel-strong:#f8fbfc;--ink:#18212d;--muted:#61717f;--line:#d8e2e8;--brand:#0e7c86;--brand-strong:#075865;--accent:#efb844;--danger:#b33a3a;--shadow:0 18px 45px #1f2f3b1f}.shell{background:linear-gradient(180deg, #0e7c861f, transparent 280px), var(--bg);min-height:100svh}.is-loading{place-items:center;padding:24px;display:grid}.app-header{justify-content:space-between;align-items:center;gap:16px;max-width:1440px;margin:0 auto;padding:20px 22px 14px;display:flex}.brand-lockup{align-items:center;gap:14px;min-width:0;display:flex}.brand-mark,.brand-logo{background:var(--brand-strong);box-shadow:var(--shadow);color:#fff;object-fit:cover;border:3px solid #fff;border-radius:999px;flex:none;place-items:center;width:58px;height:58px;font-weight:800;display:grid}.brand-lockup h1,.section-title h2{color:var(--ink);margin:0;font-size:1.35rem;line-height:1.1}.eyebrow{color:var(--brand-strong);letter-spacing:.08em;text-transform:uppercase;margin:0 0 4px;font-size:.75rem;font-weight:800}.status-pill,.badge{color:var(--brand-strong);white-space:nowrap;background:#e3f4f4;border:1px solid #bee2e3;border-radius:999px;padding:8px 12px;font-size:.82rem;font-weight:700}.workspace{grid-template-columns:190px minmax(0,1fr);gap:18px;max-width:1680px;margin:0 auto;padding:0 22px 28px;display:grid}.nav-rail{box-shadow:var(--shadow);background:#ffffffb8;border:1px solid #d8e2e8d9;border-radius:8px;align-self:start;gap:6px;padding:8px;display:grid;position:sticky;top:14px}.nav-item{color:var(--muted);text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:10px;min-height:46px;padding:0 12px;display:flex}.nav-item svg{width:20px;height:20px}.nav-short{display:none}.nav-item.is-active{background:var(--brand);color:#fff;font-weight:800}.view{gap:18px;min-width:0;display:grid}.section-title{justify-content:space-between;align-items:center;gap:16px;display:flex}.section-title p:last-child{color:var(--muted);margin:6px 0 0}.panel,.metric{background:var(--panel);box-shadow:var(--shadow);border:1px solid #d8e2e8f2;border-radius:8px}.panel{min-width:0;padding:16px}.metric-grid,.mini-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;display:grid}.mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{gap:8px;min-height:98px;padding:16px;display:grid}.metric span{color:var(--muted);font-size:.82rem;font-weight:700}.metric strong{color:var(--ink);overflow-wrap:anywhere;font-size:1.55rem;line-height:1.1}.split-layout{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:18px;display:grid}.catalog-layout{grid-template-columns:minmax(320px,.58fr) minmax(0,1.42fr);align-items:start;gap:18px;display:grid}.quote-layout{grid-template-columns:230px minmax(560px,1fr) 300px;align-items:start;gap:18px;display:grid}.panel-heading,.line-toolbar,.form-actions,.button-cluster,.totals-band{justify-content:space-between;align-items:center;gap:10px;display:flex}.panel-heading{margin-bottom:14px}.panel-heading h2,.line-toolbar strong{margin:0;font-size:1rem}.line-toolbar span,.muted,.list-row span,.quote-button small{color:var(--muted)}.list-stack,.catalog-list,.quote-list{gap:10px;display:grid}.list-row{background:var(--panel-strong);border:1px solid var(--line);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.row-main{color:inherit;text-align:left;background:0 0;border:0;flex:1;gap:4px;min-width:0;padding:0;display:grid}.row-end{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.field{gap:6px;display:grid}.field span{color:var(--muted);font-size:.8rem;font-weight:800}input,select,textarea,.search-input{color:var(--ink);background:#fff;border:1px solid #cbd8df;border-radius:7px;width:100%;min-height:42px;padding:9px 11px}textarea{resize:vertical;min-height:92px}.full-span{grid-column:1/-1}.primary-button,.secondary-button,.ghost-button,.danger-button,.icon-button,.segmented button,.file-button{border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 13px;font-weight:800;text-decoration:none;display:inline-flex}.primary-button{background:var(--brand);color:#fff}.secondary-button,.ghost-button,.segmented button{border-color:var(--line);color:var(--brand-strong);background:#fff}.danger-button{color:var(--danger);background:#fff2f2;border-color:#f0caca}.icon-button{border-color:var(--line);color:var(--muted);background:#fff;flex:none;width:42px;padding:0}.icon-button.danger{color:var(--danger)}.primary-button svg,.secondary-button svg,.danger-button svg,.icon-button svg{width:18px;height:18px}.segmented{background:#dce8ed;border-radius:8px;gap:6px;width:fit-content;padding:5px;display:inline-flex}.segmented button{min-height:38px}.segmented .is-active{background:var(--brand);color:#fff}.logo-uploader{background:var(--panel-strong);border:1px solid var(--line);border-radius:8px;align-items:center;gap:12px;padding:12px;display:flex}.logo-uploader img,.logo-uploader div{background:var(--brand-strong);color:#fff;object-fit:cover;border-radius:999px;place-items:center;width:70px;height:70px;font-weight:900;display:grid}.quote-button{background:var(--panel-strong);border:1px solid var(--line);color:var(--ink);text-align:left;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;min-height:66px;padding:10px;display:flex}.quote-button span{gap:4px;display:grid}.quote-button.is-active{border-color:var(--brand);box-shadow:inset 4px 0 0 var(--brand)}.quote-editor{gap:14px;display:grid}.quote-editor .form-grid{gap:10px 12px}.quote-editor textarea{min-height:58px}.quote-editor-head{border:1px solid var(--line);background:linear-gradient(135deg,#f8fbfc,#e7f3f4);border-radius:8px;justify-content:space-between;align-items:center;gap:14px;padding:14px;display:flex}.quote-editor-head h3,.quote-editor-head p{margin:6px 0 0}.quote-editor-head h3{font-size:1.25rem}.quote-editor-head>strong{color:var(--brand-strong);text-align:right;font-size:1.35rem}.module-strip,.filter-chips{flex-wrap:wrap;gap:8px;display:flex}.module-strip button,.filter-chips button{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:999px;min-height:34px;padding:0 12px;font-size:.82rem;font-weight:800}.module-strip button.is-active,.filter-chips button.is-active{background:var(--brand);border-color:var(--brand);color:#fff}.template-hint,.form-note{color:#5f4a16;background:#fff8e6;border:1px solid #f0d999;border-radius:8px;gap:4px;padding:11px 12px;display:grid}.template-hint span,.form-note span{font-size:.84rem}.line-table{gap:8px;display:grid;overflow-x:auto}.line-head,.line-row{grid-template-columns:minmax(180px,1.7fr) 88px 78px 108px 108px 118px 42px;align-items:center;gap:8px;min-width:760px;display:grid}.line-head{color:var(--muted);font-size:.78rem;font-weight:900}.line-row output{color:var(--ink);text-align:right;font-weight:900}.quick-lines{gap:8px;margin-top:14px;display:grid}.quick-line{grid-template-columns:minmax(120px,1fr) 82px 110px 120px;gap:8px;display:grid}.quick-line output{text-align:right;align-self:center;font-weight:900}.quote-assistant{gap:14px;max-height:calc(100svh - 116px);display:grid;position:sticky;top:14px;overflow:auto}.compact-heading{align-items:flex-start;margin-bottom:0}.compact-heading p{margin:5px 0 0}.compact-chips{max-height:112px;padding-bottom:2px;overflow:auto}.quick-add-section{gap:8px;display:grid}.quick-add-section h3{margin:0;font-size:.9rem}.quick-add-item{background:var(--panel-strong);border:1px solid var(--line);color:var(--ink);text-align:left;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;min-height:52px;padding:9px 10px;display:flex}.quick-add-item span{gap:2px;min-width:0;display:grid}.quick-add-item small{color:var(--muted)}.quick-add-item b{color:var(--brand-strong);white-space:nowrap}.totals-band{color:#fff;background:#172033;border-radius:8px;flex-wrap:wrap;padding:13px 14px}.totals-band strong{color:var(--accent);font-size:1.15rem}.empty-state{background:var(--panel);box-shadow:var(--shadow);text-align:center;border-radius:8px;place-items:center;gap:12px;max-width:380px;padding:32px;display:grid}.empty-state svg{color:var(--brand);width:38px;height:38px}.empty-text{text-align:center;margin:8px 0}.compact-catalog-form{position:sticky;top:14px}.catalog-row{grid-template-columns:minmax(0,1fr) 132px 42px;display:grid}.inline-price{gap:3px;display:grid}.inline-price span{color:var(--muted);font-size:.72rem;font-weight:900}.inline-price input{text-align:right;min-height:36px;padding:6px 8px}@media (width<=1160px){.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.split-layout,.quote-layout,.catalog-layout{grid-template-columns:1fr}.quote-list{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-assistant,.compact-catalog-form{max-height:none;position:static}.quote-assistant{order:-1}}@media (width<=780px){.app-header{flex-direction:column;align-items:flex-start;padding:14px 14px 10px}.workspace{flex-direction:column-reverse;padding:0 12px 90px;display:flex}.nav-rail{z-index:20;border-radius:0;grid-template-columns:repeat(6,minmax(0,1fr));padding:7px;position:fixed;inset:auto 0 0}.nav-item{flex-direction:column;justify-content:center;gap:3px;min-height:58px;padding:0 2px;font-size:.68rem}.nav-item svg{width:18px;height:18px}.nav-full{display:none}.nav-short{display:inline}.section-title{flex-direction:column;align-items:stretch}.metric-grid,.mini-grid,.form-grid,.quote-list{grid-template-columns:1fr}.panel{padding:13px}.panel-heading,.form-actions,.line-toolbar{flex-direction:column;align-items:stretch}.button-cluster,.primary-button,.secondary-button,.danger-button,.file-button{width:100%}.quick-line{grid-template-columns:1fr 74px 96px}.quick-line output{grid-column:1/-1}.status-pill{white-space:normal}.quote-editor-head{flex-direction:column;align-items:flex-start}.quote-editor-head>strong{text-align:left}.catalog-row{grid-template-columns:1fr}.inline-price input{text-align:left}}@media (width<=430px){.brand-lockup h1{font-size:1.08rem}.brand-mark,.brand-logo{width:48px;height:48px}.metric{min-height:88px}.metric strong{font-size:1.32rem}.nav-item span{white-space:nowrap}}
