.tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;margin-top:8px}.tool-card{display:flex;align-items:center;gap:16px;background:var(--bg);border:1px solid var(--border);border-radius:20px;padding:24px 20px;cursor:pointer;text-align:right;font-family:inherit;transition:box-shadow .15s ease,transform .1s ease,border-color .15s ease;box-shadow:0 4px 14px #3333330d}.tool-card:hover:not(:disabled){box-shadow:0 8px 28px #3333331a;border-color:var(--accent);transform:translateY(-2px)}.tool-card:active:not(:disabled){transform:translateY(0)}.tool-card--disabled{opacity:.45;cursor:default}.tool-card-icon{font-size:32px;flex-shrink:0;width:52px;height:52px;display:flex;align-items:center;justify-content:center;background:var(--lilac-bg);border-radius:14px}.tool-card-body{flex:1}.tool-card-title{font-size:16px;font-weight:800;color:var(--text);margin-bottom:4px}.tool-card-desc{font-size:13px;color:var(--text-muted);line-height:1.45}.tool-card-arrow{font-size:18px;color:var(--accent-hover);flex-shrink:0}.bc-page{padding:28px 40px 80px;max-width:1200px;margin:0 auto}.bc-back{display:inline-flex;align-items:center;gap:6px;background:none;border:none;cursor:pointer;font-family:inherit;font-size:13px;color:var(--text-muted);margin-bottom:18px;padding:0}.bc-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:16px;flex-wrap:wrap}.bc-title{font-size:22px;font-weight:800;color:var(--text);margin:0}.bc-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.bc-upload-zone{border:2px dashed var(--divider);border-radius:20px;padding:48px 32px;text-align:center;cursor:pointer;transition:border-color .15s,background .15s;background:var(--bg);margin-bottom:28px}.bc-upload-zone:hover,.bc-upload-zone--drag{border-color:var(--accent-hover);background:var(--lilac-bg)}.bc-upload-icon{font-size:36px;margin-bottom:12px}.bc-upload-text{font-size:15px;font-weight:700;color:var(--text);margin-bottom:4px}.bc-upload-sub{font-size:13px;color:var(--text-muted)}.bc-images{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.bc-thumb{position:relative;width:100px;height:80px;border-radius:12px;overflow:hidden;border:1px solid var(--border)}.bc-thumb-remove{position:absolute;top:4px;left:4px;width:20px;height:20px;background:#0000008c;color:#fff;border:none;border-radius:50%;cursor:pointer;font-size:12px;display:flex;align-items:center;justify-content:center;line-height:1}.bc-progress{display:flex;align-items:center;gap:12px;padding:16px 20px;background:var(--lilac-bg);border-radius:12px;margin-bottom:24px;font-size:14px;color:var(--text-muted)}.bc-spinner{width:18px;height:18px;border:2px solid var(--divider);border-top-color:var(--accent-hover);border-radius:50%;animation:bc-spin .7s linear infinite;flex-shrink:0}@keyframes bc-spin{to{transform:rotate(360deg)}}.bc-table-wrap{background:var(--bg);border:1px solid var(--border);border-radius:20px;overflow:hidden;box-shadow:0 4px 18px #3333330d;margin-bottom:20px}.bc-table{width:100%;border-collapse:collapse}.bc-table th{text-align:right;font-size:11px;font-weight:700;color:var(--text-muted);background:var(--lilac-bg);padding:12px 14px;white-space:nowrap}.bc-table td{padding:10px 14px;border-top:1px solid var(--border-row);font-size:13px;color:var(--text);vertical-align:middle}.bc-swatch-cell{width:52px}.bc-swatch{width:36px;height:36px;border-radius:8px;border:1px solid rgba(0,0,0,.08);display:block;cursor:pointer;position:relative}.bc-swatch input[type=color]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;height:100%;cursor:pointer}.bc-cell-input{border:1px solid transparent;background:transparent;border-radius:8px;padding:5px 8px;font-size:13px;font-family:inherit;color:var(--text);width:100%;transition:border-color .12s,background .12s;text-align:right;direction:ltr}.bc-cell-input:focus{outline:none;border-color:var(--accent);background:var(--lilac-bg)}.bc-mono{font-family:SF Mono,Fira Mono,monospace;font-size:12px;color:var(--text-muted)}.bc-a11y{display:flex;gap:4px;flex-wrap:wrap}.bc-badge{display:inline-flex;align-items:center;gap:3px;font-size:10px;font-weight:700;padding:3px 7px;border-radius:6px;white-space:nowrap}.bc-badge--pass{background:#d4f5df;color:#1a6635}.bc-badge--fail{background:#fcdde0;color:#8b1d29}.bc-row-del{background:none;border:none;cursor:pointer;color:var(--text-faint);font-size:16px;padding:4px 8px;border-radius:6px;transition:color .12s,background .12s}.bc-row-del:hover{color:var(--danger);background:#fcdde0}.bc-add-row{display:flex;align-items:center;gap:10px;padding:14px 18px;border-top:1px solid var(--border-row)}.bc-add-picker{width:34px;height:34px;border-radius:8px;border:1px solid var(--border);cursor:pointer;padding:2px}.bc-add-label{font-size:13px;color:var(--text-muted)}.bc-projects{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:var(--bg);border:1px solid var(--border);border-radius:14px;padding:12px 16px;margin-bottom:20px}.bc-projects-label{font-size:13px;color:var(--text-muted);white-space:nowrap}.bc-project-input{border:1px solid var(--divider);border-radius:8px;padding:7px 10px;font-size:13px;font-family:inherit;color:var(--text);background:var(--bg);outline:none;text-align:right}.bc-project-input:focus{border-color:var(--accent)}.bc-project-select{border:1px solid var(--divider);border-radius:8px;padding:7px 10px;font-size:13px;font-family:inherit;color:var(--text);background:var(--bg);outline:none;cursor:pointer}.bc-empty{text-align:center;padding:48px 20px;color:var(--text-muted);font-size:14px}.bc-back{background:none;border:none;cursor:pointer;color:var(--text-muted);font-size:13px;padding:4px 0 12px;display:block;transition:color .15s}.bc-back:hover{color:var(--text)}.bc-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.bc-title{margin:0;font-size:22px}.bc-actions{display:flex;gap:8px}.bc-images{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.bc-thumb{position:relative;width:80px;height:60px;border-radius:10px;overflow:hidden;border:1px solid var(--border)}.bc-thumb img{width:100%;height:100%;object-fit:cover}.bc-thumb-remove{position:absolute;top:3px;right:4px;background:#0000008c;color:#fff;border:none;border-radius:50%;width:18px;height:18px;font-size:10px;line-height:18px;text-align:center;cursor:pointer;padding:0}.bc-merge-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:var(--bg);border:1px solid var(--border);border-radius:14px;padding:12px 18px;margin-bottom:18px}.bc-merge-label{font-size:13px;color:var(--text);white-space:nowrap;min-width:220px}.bc-merge-slider{flex:1;min-width:120px;accent-color:var(--accent);cursor:pointer}.bc-merge-hint{font-size:12px;color:var(--text-muted);white-space:nowrap}.bc-progress{display:flex;align-items:center;gap:12px;padding:14px 0;color:var(--text-muted);font-size:14px}.bc-spinner{width:20px;height:20px;border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.bc-vars-btn{font-size:11px;padding:4px 9px;border:1px solid var(--border);border-radius:7px;cursor:pointer;background:var(--bg);color:var(--text-muted);transition:background .15s,color .15s;margin-right:6px}.bc-vars-btn:hover,.bc-vars-btn--open{background:var(--accent-light, #ede9fe);color:var(--accent);border-color:var(--accent)}.bc-row-del{background:none;border:none;cursor:pointer;color:var(--text-muted);font-size:14px;padding:2px 4px;border-radius:5px;transition:color .15s}.bc-row-del:hover{color:#e53e3e}.bc-vars-row td{padding:12px 18px 18px!important;background:var(--bg-subtle, #f8f7ff);border-bottom:1px solid var(--border-row)}.bc-vars-grid{display:flex;gap:10px;flex-wrap:wrap}.bc-var-item{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:58px}.bc-var-swatch{width:42px;height:42px;border-radius:10px;border:1px solid rgba(0,0,0,.1);box-shadow:0 1px 4px #00000014}.bc-var-label{font-size:10px;color:var(--text-muted);text-align:center;line-height:1.2}.bc-var-hex{font-size:10px;font-family:monospace;color:var(--text);text-align:center}.bc-mono{font-family:monospace}.btn-danger{background:#fff0f0;color:#c53030;border:1px solid #feb2b2}.btn-danger:hover{background:#fed7d7}.btn-ghost{background:none;border:1px solid var(--border);color:var(--text-muted)}.btn-ghost:hover{background:var(--bg-subtle, #f5f5f5);color:var(--text)}.bc-a11y-visual{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}.bc-a11y-sample{display:flex;flex-direction:column;align-items:center;border-radius:8px;padding:4px 7px;min-width:40px;cursor:help;gap:2px}.bc-a11y-letter{font-size:16px;font-weight:700;line-height:1}.bc-a11y-badge-mini{font-size:9px;font-weight:700;letter-spacing:.3px;padding:1px 3px;border-radius:3px;background:#ffffff40}.bc-a11y-badge-mini.pass{color:#22c55e}.bc-a11y-badge-mini.fail{color:#f87171}.bc-a11y-rec{font-size:10px;color:var(--text-muted);white-space:nowrap}.bc-images-section{margin-bottom:16px}.bc-eyedropper-bar{margin-bottom:8px}.bc-eyedropper-btn{background:var(--bg);border:1px dashed var(--border);border-radius:10px;padding:7px 14px;font-size:13px;cursor:pointer;color:var(--text-muted);transition:all .15s}.bc-eyedropper-btn:hover{border-color:var(--accent);color:var(--accent)}.bc-eyedropper-btn--active{background:var(--accent-light, #ede9fe);border-color:var(--accent);color:var(--accent);font-weight:600}.bc-thumb--eyedropper{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-light, #ede9fe)}.bc-thumb{flex-direction:column;height:auto}.bc-thumb img{width:100%;height:80px;object-fit:cover;display:block}.bc-thumb-info{padding:3px 5px;background:var(--bg);display:flex;flex-direction:column;gap:1px}.bc-thumb-name{font-size:9px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:90px}.bc-thumb-size{font-size:9px;color:var(--text-muted)}.bc-reidentify-btn{background:none;border:1px solid var(--border);border-radius:6px;cursor:pointer;font-size:13px;padding:2px 6px;color:var(--text-muted);flex-shrink:0;transition:color .15s,border-color .15s}.bc-reidentify-btn:hover{color:var(--accent);border-color:var(--accent)}.bc-a11y-ratio{font-size:9px;font-family:monospace;color:inherit;opacity:.75;text-align:center}.bc-a11y-sample{padding:4px 5px;min-width:46px}.brand-book-frame{display:block;width:100%;border:0;background:#e9e8ee}.dc-page{max-width:1040px;margin:0 auto;padding:24px 20px 64px}.dc-header{margin-bottom:20px}.dc-header-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.dc-back{color:var(--text-muted);text-decoration:none;font-size:14px}.dc-back:hover{color:var(--accent-hover)}.dc-header-title{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.dc-title{font-size:26px;margin:0}.dc-sub{color:var(--text-muted);font-size:14px}.dc-progress{display:flex;align-items:center;gap:12px;margin:14px 0}.dc-progress-bar{flex:1;height:8px;background:var(--lilac-bg);border-radius:8px;overflow:hidden}.dc-progress-fill{height:100%;background:var(--accent);border-radius:8px;transition:width .25s ease}.dc-progress-text{font-size:13px;color:var(--text-muted);white-space:nowrap}.dc-steps{display:flex;gap:8px;flex-wrap:wrap}.dc-step{padding:8px 16px;border-radius:999px;border:1px solid var(--border);color:var(--text-muted);text-decoration:none;font-size:14px}.dc-step:hover{border-color:var(--accent)}.dc-step--active{background:var(--lilac-bg);border-color:var(--accent);color:var(--text);font-weight:600}.dc-save{font-size:13px;color:var(--text-faint);min-height:18px}.dc-save--saved{color:#4f8a5b}.dc-save--error{color:var(--danger)}.dc-layout{display:grid;grid-template-columns:230px 1fr;gap:24px;align-items:start}.dc-stages{position:sticky;top:16px;display:flex;flex-direction:column;gap:4px}.dc-stage{display:block;width:100%;text-align:right;padding:10px 12px;border:0;background:transparent;border-radius:12px;font-family:inherit;font-size:14px;cursor:pointer;color:var(--text-muted)}.dc-stage:hover{background:var(--lilac-hover)}.dc-stage--active{background:var(--lilac-bg);color:var(--text);font-weight:600}.dc-stage--done .dc-stage-title:after{content:" ✓";color:#4f8a5b}.dc-stage-head{display:flex;justify-content:space-between;gap:8px}.dc-stage-count{font-size:12px;color:var(--text-faint);font-weight:400;margin-inline-start:8px}.dc-stage-name{font-size:22px;margin:0 0 4px}.dc-stage .dc-stage-title{font-size:14px}.dc-stage-desc,.dc-stage-hint{color:var(--text-muted);font-size:14px;margin:0 0 16px}.dc-main{min-width:0}.dc-question{background:var(--bg);border:1px solid var(--border);border-radius:18px;padding:20px;margin-bottom:16px;box-shadow:0 4px 14px #3333330a}.dc-question-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px}.dc-question-num{flex-shrink:0;width:28px;height:28px;border-radius:50%;background:var(--lilac-bg);color:var(--accent-hover);display:grid;place-items:center;font-size:13px;font-weight:700}.dc-question-num--small{width:22px;height:22px;font-size:11px;margin-inline-end:8px}.dc-question-text{font-size:17px;font-weight:600;line-height:1.5}.dc-question-hint{color:var(--text-muted);font-size:13px;margin-top:4px;font-weight:400}.dc-question-tag{font-size:12px;color:var(--accent-hover);background:var(--lilac-bg);padding:2px 8px;border-radius:8px;margin-inline-start:8px}.dc-textarea{width:100%;box-sizing:border-box;min-height:84px;resize:none;overflow:hidden;border:1px solid var(--border);border-radius:14px;padding:12px 14px;font-family:inherit;font-size:15px;line-height:1.6;background:#fff;color:var(--text)}.dc-textarea:focus,.dc-other:focus,.dc-doc-heading:focus,.dc-doc-body:focus{outline:2px solid var(--accent);outline-offset:1px}.dc-choices{display:flex;flex-direction:column;gap:12px}.dc-chips,.dc-answer-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}.dc-chip{border:1px solid var(--border);background:#fff;border-radius:999px;padding:8px 16px;font-family:inherit;font-size:14px;cursor:pointer;color:var(--text)}.dc-chip:hover{border-color:var(--accent)}.dc-chip--on{background:var(--lilac-bg);border-color:var(--accent);font-weight:600}.dc-chip--static{cursor:default}.dc-other{border:1px dashed var(--divider);border-radius:999px;padding:8px 16px;font-family:inherit;font-size:14px;background:#fff;min-width:200px}.dc-other--on{border-style:solid;border-color:var(--accent);background:var(--lilac-bg)}.dc-add-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.dc-count{font-size:13px;color:var(--text-muted)}.dc-count--warn{color:var(--danger)}.dc-nav-buttons{display:flex;justify-content:space-between;gap:12px;margin-top:24px;flex-wrap:wrap}.dc-nav-buttons--center{justify-content:center}.dc-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fff6e5;border:1px solid #F3DDA8;border-radius:14px;padding:12px 16px;margin-bottom:20px;font-size:14px}.dc-banner--ok{background:#eef8f0;border-color:#cbe6d1}.dc-note{background:var(--lilac-bg);border-radius:12px;padding:10px 14px;margin-bottom:16px;font-size:14px}.dc-note--error,.dc-error{background:#fdecee;color:var(--danger-hover)}.dc-error{padding:10px 14px;border-radius:12px;margin-top:16px}.dc-summary-stage{margin-bottom:20px;padding:20px}.dc-summary-stage-title{font-size:19px;margin:0 0 12px}.dc-summary-row{display:grid;grid-template-columns:1fr 1.4fr auto;gap:16px;padding:12px 0;border-top:1px solid var(--border-row);align-items:start}.dc-summary-q{font-weight:600;font-size:14px}.dc-answer-text{margin:0;white-space:pre-wrap;line-height:1.6}.dc-missing{color:var(--danger);font-size:14px}.dc-done-edit{margin-bottom:12px}.dc-start{margin-bottom:28px;padding:24px}.dc-start-title{font-size:20px;margin:0 0 6px}.dc-lead{color:var(--text-muted);margin:0 0 16px}.dc-kinds{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:16px}.dc-kind{text-align:right;border:1px solid var(--border);background:#fff;border-radius:16px;padding:16px;cursor:pointer;font-family:inherit}.dc-kind:hover{border-color:var(--accent)}.dc-kind--on{background:var(--lilac-bg);border-color:var(--accent)}.dc-kind-title{display:block;font-weight:700;font-size:16px}.dc-kind-text{display:block;color:var(--text-muted);font-size:13px;margin-top:4px}.dc-start-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-bottom:16px}.dc-row-link{color:inherit;font-weight:600;text-decoration:none}.dc-row-link:hover{color:var(--accent-hover)}.dc-tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin-bottom:14px}.dc-tab{border:0;background:transparent;font-family:inherit;font-size:15px;padding:10px 18px;cursor:pointer;color:var(--text-muted);border-bottom:3px solid transparent}.dc-tab--active{color:var(--text);font-weight:700;border-bottom-color:var(--accent)}.dc-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:14px}.dc-toolbar-spacer{flex:1}.dc-empty-briefs{padding:32px;text-align:center}.dc-doc{background:#fff;border:1px solid var(--border);border-radius:18px;padding:24px}.dc-doc--client{border-color:var(--accent)}.dc-doc-help{color:var(--text-muted);font-size:13px;margin-top:0}.dc-doc-warn{color:#9a6b00;font-size:13px}.dc-doc-section{margin-bottom:20px}.dc-doc-heading{width:100%;box-sizing:border-box;border:1px solid transparent;border-radius:10px;font-family:inherit;font-size:18px;font-weight:700;padding:6px 8px;background:transparent}.dc-doc-heading:hover{border-color:var(--border)}.dc-doc-body{width:100%;box-sizing:border-box;min-height:60px;resize:none;overflow:hidden;border:1px solid var(--border);border-radius:12px;padding:10px 12px;font-family:inherit;font-size:15px;line-height:1.7}.dc-doc-body--empty{background:#fafaf6}.dbrief-sheet{background:#f4f2ee;min-height:100vh;padding:20px}.dbrief-toolbar{max-width:794px;margin:0 auto 16px;display:flex;justify-content:space-between;align-items:center;font-size:14px}.dbrief{max-width:794px;margin:0 auto;background:#fff;padding:56px 64px;box-sizing:border-box;color:var(--text);line-height:1.7;box-shadow:0 4px 24px #33333314}.dbrief-header{margin-bottom:32px;padding-bottom:20px;border-bottom:1px solid var(--border)}.dbrief-logo{height:36px;margin-bottom:24px;display:block}.dbrief-internal-tag{font-size:12px;color:var(--text-faint);margin-bottom:12px}.dbrief-title{font-size:30px;margin:0 0 6px}.dbrief-meta{color:var(--text-muted);font-size:14px}.dbrief-section{margin-bottom:24px;break-inside:avoid}.dbrief-heading{font-size:19px;margin:0 0 8px}.dbrief-p{margin:0 0 10px;white-space:pre-wrap}.dbrief-list{margin:0 0 10px;padding-inline-start:22px}.dbrief--client .dbrief-header{border-bottom:0;background:var(--lilac-bg);margin:-56px -64px 32px;padding:40px 64px 28px}.dbrief--client .dbrief-heading{color:var(--accent-hover)}.dbrief--client .dbrief-section{border-inline-start:4px solid var(--accent);padding-inline-start:16px}.dbrief-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:40px;padding-top:16px;border-top:1px solid var(--divider);color:var(--text-footer);font-size:13px}@media(max-width:860px){.dc-layout{grid-template-columns:1fr}.dc-stages{position:static;flex-direction:row;overflow-x:auto}.dc-stage{white-space:nowrap;width:auto}.dc-summary-row{grid-template-columns:1fr}}@page{size:A4;margin:0}@media print{.dbrief-sheet{background:#fff;padding:0}.dbrief-toolbar{display:none}.dbrief{box-shadow:none;max-width:none;padding:18mm}.dbrief--client .dbrief-header{margin:-18mm -18mm 24px;padding:18mm 18mm 20px}.dbrief,.dbrief-header{-webkit-print-color-adjust:exact;print-color-adjust:exact}}@font-face{font-family:Discovery FS;src:url(/assets/DiscoveryFS-Light-6lAqA6eP.woff2) format("woff2"),url(/assets/DiscoveryFS-Light-DdI42HRl.woff) format("woff");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Discovery FS;src:url(/assets/DiscoveryFS-Medium-CoifZj1o.woff2) format("woff2"),url(/assets/DiscoveryFS-Medium-Df3WRL7F.woff) format("woff");font-weight:600 800;font-style:normal;font-display:swap}:root{--bg: #FFFEFA;--text: #333333;--text-muted: #666666;--text-faint: #8A8A8A;--text-faint-2: #7A7A7A;--text-footer: #9C97B8;--border: #EDEBE3;--border-row: #F2F0E9;--lilac-bg: #F0EEFF;--lilac-hover: #FBFAFF;--lilac-border: #E4E0FB;--accent: #BAAFF9;--accent-hover: #978DF7;--divider: #DCD7F5;--danger: #E4626F;--danger-hover: #D14453}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font-family:Discovery FS,Segoe UI,Arial,sans-serif;min-height:100vh}#root{min-height:100vh}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:var(--lilac-bg);border-radius:8px}button{font-family:inherit}a{color:inherit}.quote-title-input{font-size:20px;font-weight:800;color:var(--text);border:none;background:transparent;outline:none;padding:6px 4px;border-radius:10px;width:100%;max-width:480px;font-family:inherit}.quote-title-input:hover,.quote-title-input:focus{background:var(--lilac-hover)}.topbar{display:flex;align-items:center;justify-content:space-between;padding:18px 40px;border-bottom:1px solid var(--border);background:var(--bg);position:sticky;top:0;z-index:20}.topbar-left{display:flex;align-items:center;gap:14px}.logo{display:flex;align-items:center;text-decoration:none}.logo img{height:22px;width:auto;display:block}.divider-v{width:1px;height:24px;background:var(--border)}.title-input{font-size:15px;font-weight:600;color:var(--text);border:none;background:transparent;outline:none;min-width:260px;padding:6px 10px;border-radius:10px;font-family:inherit}.title-input:hover{background:#f7f6ff}.topbar-right{display:flex;align-items:center;gap:10px}.topbar-nav{display:flex;align-items:center;gap:4px;margin-inline-start:8px}.topbar-nav a{font-size:13.5px;font-weight:600;color:var(--text-muted);text-decoration:none;padding:8px 12px;border-radius:10px}.topbar-nav a:hover{background:var(--lilac-bg)}.topbar-nav a.active{background:var(--lilac-bg);color:var(--text)}.avatar{width:34px;height:34px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:var(--text);flex:none}.user-name{font-size:13px;color:var(--text-faint-2)}.logout-btn{border:none;background:transparent;cursor:pointer;font-size:13px;color:var(--text-faint-2);font-family:inherit;padding:6px 8px;border-radius:8px}.logout-btn:hover{background:var(--lilac-bg);color:var(--text)}.layout{display:flex;gap:24px;padding:28px 40px 60px;align-items:flex-start}.main-col{flex:1 1 70%;min-width:0;display:flex;flex-direction:column;gap:22px}.type-tabs{display:flex;gap:8px;background:var(--lilac-bg);padding:6px;border-radius:16px;width:fit-content}.type-tab{border:none;cursor:pointer;padding:10px 22px;border-radius:12px;font-size:14px;font-weight:700;transition:all .15s ease;background:transparent;color:var(--text-muted)}.type-tab:hover{background:var(--lilac-border)}.type-tab.active{background:var(--text);color:#fff}.type-tab.active:hover{background:var(--text)}.scope-card{background:var(--bg);border:1px solid var(--border);border-radius:20px;overflow:hidden;box-shadow:0 6px 20px #3333330d}.scope-scroll{overflow-x:auto}.scope-header{display:flex;align-items:center;padding:14px 26px;background:var(--lilac-bg);font-size:12px;font-weight:700;color:var(--text-muted);min-width:860px}.col-title{flex:1 1 34%;text-align:right}.col-complexity{flex:0 0 320px;text-align:center}.col-hours{flex:0 0 100px;text-align:center}.col-qty{flex:0 0 140px;text-align:center}.col-actions{flex:0 0 40px}.item-row{display:flex;align-items:center;padding:18px 26px;border-top:1px solid var(--border-row);transition:background .12s ease;min-width:860px}.item-row:hover{background:var(--lilac-hover)}.item-info{flex:1 1 34%;min-width:0;padding-left:16px}.item-title{font-size:15px;font-weight:700;color:var(--text)}.item-desc{font-size:12.5px;color:var(--text-faint);margin-top:3px}.complexity-col{flex:0 0 320px;display:flex;justify-content:center}.complexity-group{display:flex;width:230px;height:38px;border-radius:12px;border:1.5px solid var(--lilac-border);overflow:hidden;background:var(--lilac-hover)}.complexity-btn{flex:1 1 0;height:38px;border:none;border-left:1px solid var(--lilac-border);cursor:pointer;font-size:14px;font-weight:700;transition:all .12s ease;background:transparent;color:#a29cc7}.complexity-btn:last-child{border-left:none}.complexity-btn.active{background:var(--accent);color:var(--text)}.hours-col{flex:0 0 100px;text-align:center;font-size:14px;font-weight:700;color:var(--text-muted)}.qty-col{flex:0 0 140px;display:flex;justify-content:center}.qty-group{display:flex;align-items:center;background:var(--lilac-bg);border-radius:10px;overflow:hidden}.qty-btn{border:none;background:transparent;width:30px;height:30px;font-size:16px;font-weight:700;color:var(--text);cursor:pointer}.qty-btn:hover{background:var(--lilac-border)}.qty-value{width:32px;text-align:center;font-size:14px;font-weight:700;color:var(--text)}.actions-col{flex:0 0 40px;display:flex;justify-content:center}.item-remove-btn{border:none;background:transparent;width:28px;height:28px;border-radius:8px;font-size:13px;color:var(--text-faint);cursor:pointer;transition:all .12s ease}.item-remove-btn:hover{background:var(--danger);color:#fff}.editor-toolbar-row{display:flex;justify-content:flex-end}.add-item-row{display:flex;align-items:center;gap:10px;padding:14px 26px;border-top:1px solid var(--border-row);min-width:820px}.add-item-row-open select,.add-item-row-open input{border:1px solid var(--divider);background:var(--bg);border-radius:10px;padding:8px 12px;font-size:13.5px;font-family:inherit;color:var(--text);outline:none}.add-item-row-open select:focus,.add-item-row-open input:focus{border-color:var(--accent-hover)}.add-item-row-open select{min-width:220px}.add-item-row-open input{flex:1 1 200px;min-width:140px}.hint{font-size:12px;color:#a8a8a8;padding:0 6px}.sidebar{flex:0 0 30%;min-width:290px;position:sticky;top:96px}.sidebar-card{background:var(--lilac-bg);border-radius:20px;padding:26px;display:flex;flex-direction:column;gap:20px;box-shadow:0 10px 30px #978df72e}.sidebar-title{font-size:16px;font-weight:800;color:var(--text)}.field{display:flex;flex-direction:column;gap:8px}.field label{font-size:13px;font-weight:600;color:var(--text-muted)}.field input,.field select,.field textarea{border:1px solid var(--divider);background:var(--bg);border-radius:12px;padding:10px 14px;font-size:15px;font-weight:700;color:var(--text);outline:none;width:100%;text-align:right;font-family:inherit}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent-hover)}.hr{height:1px;background:var(--divider)}.switch-field{display:flex;align-items:center;justify-content:space-between;gap:12px}.switch-field label{font-size:13px;font-weight:600;color:var(--text-muted)}.switch{position:relative;display:inline-block;width:42px;height:24px;flex:0 0 auto}.switch input{opacity:0;width:0;height:0}.switch-track{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--divider);border-radius:999px;transition:background .15s;cursor:pointer}.switch-track:before{content:"";position:absolute;top:3px;right:3px;width:18px;height:18px;background:#fff;border-radius:50%;transition:transform .15s;box-shadow:0 1px 3px #0003}.switch input:checked+.switch-track{background:var(--accent-hover)}.switch input:checked+.switch-track:before{transform:translate(-18px)}.switch input:focus-visible+.switch-track{outline:2px solid var(--accent-hover);outline-offset:2px}.segmented{display:flex;border:1px solid var(--divider);border-radius:12px;overflow:hidden}.segmented button{flex:1;border:none;background:var(--bg);padding:9px 8px;font-size:13.5px;font-weight:700;color:var(--text-muted);cursor:pointer;font-family:inherit}.segmented button.active{background:var(--accent-hover);color:#fff}.segmented button:not(:last-child){border-left:1px solid var(--divider)}.totals{display:flex;flex-direction:column;gap:10px}.totals-row{display:flex;justify-content:space-between;font-size:13.5px;color:var(--text-muted)}.grand-total{display:flex;flex-direction:column;gap:4px}.grand-total-label{font-size:13px;font-weight:600;color:var(--text-muted)}.grand-total-value{font-size:32px;font-weight:800;color:var(--text);line-height:1.2}.pdf-btn{margin-top:6px;border:none;cursor:pointer;background:var(--text);color:#fff;font-size:15px;font-weight:800;padding:16px 20px;border-radius:14px;transition:background .15s ease,transform .05s ease;width:100%}.pdf-btn:hover{background:var(--accent-hover);color:var(--bg)}.pdf-btn:active{transform:scale(.98)}.pdf-btn:disabled{opacity:.5;cursor:not-allowed}.disclaimer{font-size:11.5px;color:var(--text-footer);text-align:center}@media(max-width:900px){.topbar{padding:14px 20px;flex-wrap:wrap;gap:10px}.layout{flex-direction:column;padding:20px 20px 40px}.main-col,.sidebar{flex:1 1 auto;width:100%;min-width:0}.sidebar{position:static}}.ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}.type-tab:disabled{opacity:.45;cursor:not-allowed}.type-tab:disabled:hover{background:transparent}.qty-btn:disabled{opacity:.35;cursor:not-allowed}.qty-btn:disabled:hover{background:transparent}.scope-form{padding:6px 0 10px}.scope-form-header{padding:22px 28px 6px}.scope-form-title{margin:0;font-size:18px;font-weight:800;color:var(--text)}.scope-form-note{margin:6px 0 0;font-size:12.5px;line-height:1.6;color:var(--text-faint);max-width:70ch}.scope-section{padding:18px 28px;border-top:1px solid var(--border-row);display:flex;flex-direction:column;gap:14px}.scope-form-header+.scope-section{margin-top:14px}.scope-section-title{margin:0;font-size:12px;font-weight:800;letter-spacing:.02em;color:var(--text-muted)}.scope-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.scope-row-label{flex:1 1 auto;min-width:0}.scope-row-title{font-size:15px;font-weight:700;color:var(--text)}.scope-row-hint{margin-top:3px;font-size:12.5px;color:var(--text-faint);line-height:1.5}.scope-row-control{flex:0 0 auto}.scope-stepper .qty-value{width:40px}.scope-inline{display:flex;align-items:center;gap:10px}.scope-choices{display:grid;gap:10px}.scope-choice{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:13px 15px;text-align:right;font-family:inherit;background:var(--lilac-hover);border:1.5px solid var(--lilac-border);border-radius:14px;cursor:pointer;color:var(--text);transition:border-color .12s ease,background .12s ease,box-shadow .12s ease}.scope-choice:hover{border-color:var(--accent);background:var(--lilac-bg)}.scope-choice.active{border-color:var(--accent-hover);background:var(--lilac-bg);box-shadow:0 0 0 3px #978df738}.scope-choice:focus-visible,.scope-chip:focus-visible{outline:2px solid var(--accent-hover);outline-offset:2px}.scope-choice-title{font-size:14px;font-weight:800}.scope-choice-hint{font-size:12px;color:var(--text-faint);line-height:1.4}.scope-tag{display:inline-block;margin-inline-start:8px;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:700;background:#fff1d6;color:#8a5a00;vertical-align:middle}.scope-choice .scope-tag{margin-inline-start:0;margin-top:2px}.scope-chips{display:flex;flex-wrap:wrap;gap:10px}.scope-chip{display:inline-flex;align-items:center;gap:9px;padding:9px 15px;font-family:inherit;font-size:14px;font-weight:700;color:var(--text);background:var(--lilac-hover);border:1.5px solid var(--lilac-border);border-radius:999px;cursor:pointer;transition:border-color .12s ease,background .12s ease}.scope-chip:hover{border-color:var(--accent)}.scope-chip.active{border-color:var(--accent-hover);background:var(--lilac-bg)}.scope-chip-box{width:18px;height:18px;flex:none;display:inline-flex;align-items:center;justify-content:center;border:1.5px solid var(--divider);border-radius:6px;background:var(--bg);font-size:12px;line-height:1;color:#fff}.scope-chip.active .scope-chip-box{background:var(--accent-hover);border-color:var(--accent-hover)}.scope-inline-note{margin:0;padding:10px 14px;font-size:12.5px;line-height:1.55;color:#8a5a00;background:#fff8e8;border-radius:12px}.scope-empty{padding:28px;text-align:center;color:var(--text-faint);font-size:14px}.scope-breakdown{padding-bottom:8px}.scope-breakdown .scope-form-header{padding-bottom:14px}.scope-table-scroll{overflow-x:auto}.scope-breakdown-table{width:100%;border-collapse:collapse;font-size:13.5px;min-width:520px}.scope-breakdown-table th{padding:11px 28px;text-align:right;font-size:12px;font-weight:700;color:var(--text-muted);background:var(--lilac-bg)}.scope-breakdown-table td{padding:12px 28px;border-top:1px solid var(--border-row);color:var(--text)}.scope-breakdown-table .num{text-align:left;white-space:nowrap;color:var(--text-muted);font-weight:600}.scope-breakdown-table th:not(:first-child){text-align:left}.scope-breakdown-table tr.is-custom td{background:#fffbf1}.scope-breakdown-table tfoot td{font-weight:800;color:var(--text);background:var(--lilac-hover);border-top:1.5px solid var(--lilac-border)}.scope-breakdown-table tfoot .num{color:var(--text)}.is-updating{transition:opacity .15s ease}.scope-breakdown.is-updating .scope-table-scroll,.sidebar-card.is-updating .scope-summary,.sidebar-card.is-updating .totals,.sidebar-card.is-updating .grand-total{opacity:.55}.scope-summary{display:flex;flex-direction:column;gap:10px}.scope-summary-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:13.5px;color:var(--text-muted)}.scope-summary-row strong{color:var(--text);font-size:14px}.scope-summary-sub{margin-top:-6px;font-size:12px;color:var(--text-faint)}.scope-recommended{display:flex;flex-direction:column;gap:6px;align-items:flex-start;padding:14px 16px;border-radius:14px;background:var(--bg);border:1px solid var(--divider)}.scope-recommended-label{font-size:12.5px;font-weight:700;color:var(--text-muted)}.scope-recommended-value{font-size:28px;font-weight:800;line-height:1.15;color:var(--text)}.confidence-badge{display:inline-block;padding:3px 11px;border-radius:999px;font-size:12px;font-weight:800}.confidence-badge.high{background:#e1f3e8;color:#1d6a3e}.confidence-badge.medium{background:#fff1d6;color:#8a5a00}.confidence-badge.low{background:#fce4e7;color:#a3293a}.scope-warning{padding:10px 13px;border-radius:12px;font-size:12.5px;line-height:1.55;color:#8a5a00;background:#fff1d6}.accuracy{position:relative;display:flex;align-items:center;gap:8px;align-self:stretch}.help-tip{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:none;border-radius:50%;font-size:12px;font-weight:800;color:var(--text-muted);background:var(--lilac-bg);border:1px solid var(--lilac-border);cursor:help}.help-tip:focus-visible{outline:2px solid var(--accent-hover);outline-offset:2px}.help-tip-text{display:none;position:absolute;z-index:5;top:calc(100% + 8px);inset-inline:0;padding:10px 12px;border-radius:12px;background:var(--text);color:#fff;font-size:12px;font-weight:500;line-height:1.55;text-align:right;box-shadow:0 8px 24px #0000002e}.help-tip:hover .help-tip-text,.help-tip:focus .help-tip-text,.help-tip:focus-within .help-tip-text{display:block}.price-alert{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;background:#fdecee;border:1px solid #F3B9C0;border-radius:12px;color:#8e2230}.price-alert-icon{flex:none;margin-top:1px;color:#c2394a}.price-alert-title{font-size:14px;font-weight:800;line-height:1.35}.price-alert-text{margin-top:3px;font-size:12.5px;line-height:1.55;color:#a3293a}.final-price-manual{display:flex;flex-direction:column;gap:10px;align-items:stretch}.money-input{display:flex;align-items:center;gap:8px;border:1px solid var(--divider);background:var(--bg);border-radius:12px;padding:0 14px}.money-input:focus-within{border-color:var(--accent-hover)}.money-input span{font-weight:800;color:var(--text-muted)}.field .money-input input{border:none;padding:10px 0;background:transparent;text-align:left;font-size:18px}.field .reason-input{font-size:13.5px;font-weight:600}.final-price-note{font-size:12.5px;line-height:1.5;color:var(--text-muted)}.final-price-note.warn{color:#a3293a;font-weight:700}.final-price-note.faint{color:var(--text-faint)}.final-price .btn{align-self:flex-start}.model-badge{display:inline-block;margin-inline-start:8px;padding:1px 9px;border-radius:999px;font-size:11px;font-weight:700;background:var(--lilac-bg);color:var(--accent-hover);vertical-align:middle}.settings-switch{align-items:flex-start;justify-content:flex-start;gap:14px}.settings-switch-text{font-size:13px;line-height:1.6;color:var(--text-muted)}@media(max-width:900px){.scope-row{flex-direction:column;align-items:flex-start;gap:10px}.scope-choices{grid-template-columns:1fr!important}.scope-form-header,.scope-section{padding-inline:18px}}.branding-core summary{cursor:pointer;font-size:14px;font-weight:700;color:var(--text)}.branding-core-list{margin:10px 0 0;padding-inline-start:22px;font-size:13.5px;line-height:1.8;color:var(--text-muted)}.branding-empty{padding:14px 16px;border-radius:12px;background:var(--lilac-hover);border:1px dashed var(--lilac-border);font-size:13.5px;color:var(--text-faint)}.branding-product{display:flex;flex-direction:column;gap:12px;padding:16px 18px;border:1.5px solid var(--lilac-border);border-radius:16px;background:var(--bg)}.branding-product-head{display:flex;align-items:center;gap:8px}.scope-text-input{border:1px solid var(--divider);background:var(--bg);border-radius:12px;padding:10px 14px;font-family:inherit;font-size:14px;font-weight:600;color:var(--text);outline:none;text-align:right}.scope-text-input::placeholder{font-family:inherit;font-weight:400;color:var(--text-faint)}.scope-text-input:focus{border-color:var(--accent-hover)}.scope-text-input[aria-invalid=true]{border-color:#e5a3ac}.branding-product-name{flex:1 1 auto;min-width:0;font-size:15px;font-weight:700}.branding-field-label{font-size:12.5px;font-weight:800;color:var(--text-muted);margin-top:2px}.branding-unit-label{width:190px;max-width:100%}.branding-note{font-size:13.5px;width:100%}.branding-check{display:flex;align-items:flex-start;gap:10px;padding:10px 14px;border-radius:12px;background:#fff8e8;cursor:pointer;font-size:13.5px}.branding-check input{margin-top:4px}.branding-check .scope-row-hint{display:block;color:#8a5a00}@media(max-width:900px){.branding-product .scope-choices{grid-template-columns:1fr!important}.branding-product-head{flex-wrap:wrap}}.corp-fixed{display:inline-block;align-self:flex-start;padding:7px 14px;border-radius:999px;background:var(--lilac-bg);border:1px solid var(--lilac-border);font-size:13px;font-weight:700;color:var(--text)}.corp-rule{margin:0}.corp-kind{display:flex;flex-direction:column;gap:12px;padding:14px 16px;border-radius:16px;border:1.5px solid var(--lilac-border);background:var(--bg)}.corp-kind-header{display:flex;align-items:flex-start;gap:12px}.corp-kind-text{flex:1 1 auto;min-width:0}.corp-tag{flex:none;display:inline-block;padding:3px 12px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.corp-tag-unique{background:var(--lilac-bg);color:var(--accent-hover)}.corp-tag-template{background:#e6f0ff;color:#2b5aa8}.corp-tag-simple{background:#efefef;color:#555}.corp-tag-feature{background:#e1f3e8;color:#1d6a3e}.corp-kind-unique{border-inline-start:5px solid var(--accent)}.corp-kind-template{border-inline-start:5px solid #8FB3E6}.corp-kind-simple{border-inline-start:5px solid #BDBDBD}.corp-kind-feature{border-inline-start:5px solid #7CC59A}.corp-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;border-radius:12px;background:var(--lilac-hover)}.corp-row-wide{flex-direction:column;align-items:stretch;gap:10px}.corp-row-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.corp-name{flex:1 1 220px;min-width:0}.corp-kind-select{flex:0 0 auto;min-width:150px}.corp-row-note{flex-basis:100%}.corp-toggles{display:flex;flex-wrap:wrap;gap:8px 18px}.corp-toggle{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:700;color:var(--text);cursor:pointer}@media(max-width:900px){.corp-row-wide .scope-choices{grid-template-columns:1fr!important}}.catalog-number{width:140px;flex:none;text-align:center;font-variant-numeric:tabular-nums}.scope-accordions{display:flex;flex-direction:column;border-top:1px solid var(--border-row);overflow-anchor:none}.scope-accordion{border-bottom:1px solid var(--border-row)}.scope-accordion-title{margin:0;font-size:inherit}.scope-accordion-head{width:100%;display:flex;align-items:baseline;gap:12px;padding:16px 28px;background:transparent;border:0;cursor:pointer;text-align:start;font:inherit;color:var(--text);transition:background-color .16s ease}.scope-accordion-head:hover{background:var(--lilac-hover)}.scope-accordion.open .scope-accordion-head{background:var(--lilac-bg)}.scope-accordion-chevron{flex:none;width:14px;text-align:center;color:var(--accent-hover);font-size:13px}.scope-accordion-name{flex:none;font-size:15px;font-weight:800}.scope-accordion-summary{animation:scope-fade-in var(--collapse-ms) ease;flex:1 1 auto;min-width:0;font-size:13px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scope-accordion-body{padding-bottom:6px}.scope-accordion-question{padding:14px 28px 0;font-size:16px;font-weight:800;color:var(--accent-hover)}.scope-more{margin:4px 28px;border:1px dashed var(--lilac-border);border-radius:12px;padding:4px 14px}.scope-more-head{display:flex;align-items:baseline;gap:8px;width:100%;background:transparent;border:0;cursor:pointer;text-align:start;font:inherit;font-size:13.5px;font-weight:700;padding:8px 0;color:var(--text)}.scope-more-head .scope-chevron{color:var(--accent-hover);font-size:12px;width:12px}.scope-more-body>.scope-section{padding-inline:0}.scope-more-body>.scope-section:first-child{border-top:0}@media(max-width:760px){.scope-accordion-head{padding-inline:18px;flex-wrap:wrap}.scope-accordion-summary{white-space:normal;flex-basis:100%}.scope-accordion-question{padding-inline:18px}.scope-more{margin-inline:18px}}:root{--collapse-ms: .24s}.collapsible{display:grid;grid-template-rows:0fr;transition:grid-template-rows var(--collapse-ms) cubic-bezier(.4,0,.2,1)}.collapsible[data-state=opening],.collapsible[data-state=open]{grid-template-rows:1fr}.collapsible-inner{min-height:0;overflow:hidden}.collapsible[data-state=open]>.collapsible-inner{overflow:visible}.scope-chevron{display:inline-block;transition:transform var(--collapse-ms) cubic-bezier(.4,0,.2,1)}.scope-accordion.open>.scope-accordion-title .scope-chevron,.scope-more.open>.scope-more-head .scope-chevron{transform:rotate(-90deg)}@keyframes scope-fade-in{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.collapsible,.scope-chevron,.scope-accordion-head{transition:none}.scope-accordion-summary{animation:none}}:root{--wizard-pad: 32px;--wizard-section-pad: 26px;--wizard-section-gap: 22px;--wizard-control-gap: 18px;--wizard-helper-gap: 6px;--wizard-rail-width: 264px;--wizard-active-bg: var(--text);--wizard-marker: 26px}.scope-card.wizard{display:grid;grid-template-columns:var(--wizard-rail-width) minmax(0,1fr);align-items:start;overflow:visible}.wizard-top{grid-column:1 / -1;display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:10px 14px;width:100%;padding:20px var(--wizard-pad) 18px;border:0;border-bottom:1px solid var(--border-row);background:var(--bg);border-start-start-radius:20px;border-start-end-radius:20px;font:inherit;color:var(--text);text-align:start}.wizard-top-text{font-size:14px;font-weight:800}.wizard-top-title{display:none}.wizard-top-percent{font-size:14px;font-weight:800;color:var(--accent-hover);font-variant-numeric:tabular-nums}.wizard-top .scope-chevron{display:none}.wizard-progress{grid-column:1 / -1;display:block;height:6px;border-radius:99px;background:var(--lilac-bg);overflow:hidden}.wizard-progress>span{display:block;height:100%;border-radius:99px;background:var(--accent-hover);transition:width var(--collapse-ms) cubic-bezier(.4,0,.2,1)}.wizard-steps{align-self:stretch;background:var(--lilac-hover);border-inline-end:1px solid var(--border-row);border-end-start-radius:20px}.wizard-steps-inner{position:sticky;top:88px;padding:22px 16px 26px}.wizard-rail{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.wizard-step{width:100%;display:grid;grid-template-columns:var(--wizard-marker) minmax(0,1fr) auto;column-gap:14px;align-items:start;padding:13px 14px;border:1px solid transparent;border-radius:14px;background:transparent;cursor:pointer;text-align:start;font:inherit;color:var(--text-muted);transition:background-color .16s ease,color .16s ease,border-color .16s ease}.wizard-step:hover{background:var(--lilac-bg)}.wizard-step:focus-visible{outline:2px solid var(--accent-hover);outline-offset:2px}.wizard-step.current,.wizard-step.current:hover{background:var(--wizard-active-bg);border-color:var(--wizard-active-bg);color:#fff}.wizard-marker{width:var(--wizard-marker);height:var(--wizard-marker);border-radius:50%;border:1.5px solid var(--divider);background:var(--bg);display:grid;place-items:center;font-size:12px;font-weight:800;line-height:1;color:var(--text-faint);transition:background-color .16s ease,border-color .16s ease,color .16s ease}.wizard-step.seen .wizard-marker{background:var(--accent);border-color:var(--accent);color:var(--text)}.wizard-step.current .wizard-marker{background:#fff;border-color:#fff;color:var(--text)}.wizard-step-text{display:flex;flex-direction:column;min-width:0}.wizard-step-title{min-height:var(--wizard-marker);display:flex;align-items:center;font-size:14px;font-weight:700;line-height:1.3}.wizard-step.seen .wizard-step-title{color:var(--text)}.wizard-step.current .wizard-step-title{color:#fff}.wizard-step-summary{margin-top:1px;font-size:12px;line-height:1.5;color:var(--text-faint);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.wizard-step-flag{align-self:start;margin-top:3px;white-space:nowrap;padding:2px 8px;border-radius:999px;font-size:10.5px;font-weight:800;color:#a3293a;background:#fce4e7}.wizard-panel{min-width:0;display:flex;flex-direction:column}.wizard-head{padding:30px var(--wizard-pad) 12px}.wizard-title{margin:0;font-size:20px;font-weight:800;color:var(--text);outline:none;scroll-margin-top:96px}.wizard-question{margin:6px 0 0;font-size:14.5px;font-weight:700;color:var(--accent-hover)}.wizard-intro{margin:0;padding:4px var(--wizard-pad) 14px;font-size:13px;line-height:1.7;color:var(--text-faint);max-width:70ch}.wizard-body{display:flex;flex-direction:column;animation:wizard-in .2s ease}.wizard-body>.scope-section:first-child{border-top:0}.wizard-body .scope-section{padding:var(--wizard-section-pad) var(--wizard-pad);gap:var(--wizard-control-gap)}.wizard-body .scope-section-title{margin-bottom:2px}.wizard-body .scope-choices{gap:14px}.wizard-body .scope-row{gap:24px;padding-block:4px}.wizard-body .corp-toggle{padding-block:3px}.wizard-body .branding-field-label{margin-top:6px}.wizard-body .corp-row,.wizard-body .scope-inline-note{margin-block:2px}.wizard-body .scope-more{margin:8px var(--wizard-pad);padding:6px 18px}.wizard-body .scope-more-head{padding-block:12px}.wizard-body .scope-more-body>.scope-section{padding-block:22px}.scope-subgroups{display:flex;flex-direction:column;padding-block:6px 10px}.scope-subgroup{display:flex;flex-direction:column;gap:var(--wizard-control-gap)}.scope-subgroup+.scope-subgroup{margin-top:var(--wizard-section-gap);padding-top:var(--wizard-section-gap);border-top:1px solid var(--border-row)}.scope-subgroup-title{margin-bottom:calc(var(--wizard-helper-gap) * -1);font-size:13px;font-weight:800;color:var(--text-muted)}.scope-subgroup>.scope-row-hint,.scope-subgroup>.scope-inline-note,.scope-subgroup>.final-price-note{margin-top:calc(var(--wizard-helper-gap) - var(--wizard-control-gap))}.scope-subgroup .scope-row{padding-block:0}.scope-subgroup .scope-row-hint{margin-top:var(--wizard-helper-gap)}.scope-subgroup .scope-row-title{line-height:1.4}.scope-subgroup .corp-toggle{padding-block:0;line-height:1.5}@keyframes wizard-in{0%{opacity:0;transform:translate(-8px)}to{opacity:1;transform:none}}.wizard-footer{position:sticky;bottom:0;z-index:2;display:flex;align-items:center;gap:12px;padding:18px var(--wizard-pad);margin-top:12px;background:var(--bg);border-top:1px solid var(--border-row);border-end-end-radius:20px;border-end-start-radius:20px}.wizard-footer-gap{flex:1 1 auto}.branding-core-group{display:flex;flex-direction:column;gap:10px}.branding-core-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}.branding-core-chips li{padding:6px 14px;border-radius:999px;font-size:13px;color:var(--text-muted);background:var(--lilac-hover);border:1px solid var(--border-row)}.wizard-summary{padding:8px var(--wizard-pad) 28px;display:flex;flex-direction:column;gap:20px}.wizard-summary .scope-section{padding-inline:0}.wizard-summary-service{display:flex;align-items:baseline;gap:10px;font-size:14px}.wizard-summary-label{font-size:12px;font-weight:700;color:var(--text-faint)}.wizard-price{display:flex;flex-direction:column;gap:14px;padding:20px 22px;border-radius:16px;background:var(--lilac-bg);transition:opacity .16s ease}.wizard-price.is-updating{opacity:.6}.wizard-price dl{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}.wizard-price dt{font-size:12px;font-weight:600;color:var(--text-muted)}.wizard-price dd{margin:3px 0 0;font-size:15px;font-weight:800}.wizard-price .wizard-price-main dd{font-size:22px}.wizard-price .wizard-price-reason{font-size:12px;font-weight:600;color:var(--text-muted)}.wizard-price-note{margin:0;font-size:11.5px;color:var(--text-faint)}.wizard-summary .scope-warning ul{margin:6px 0;padding-inline-start:18px}.wizard-groups{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.wizard-group{width:100%;display:flex;flex-direction:column;gap:10px;padding:16px 18px;border:1px solid var(--border);border-radius:14px;background:var(--bg);cursor:pointer;text-align:start;font:inherit;color:var(--text);transition:border-color .16s ease,background-color .16s ease}.wizard-group:hover{border-color:var(--accent-hover);background:var(--lilac-hover)}.wizard-group:focus-visible{outline:2px solid var(--accent-hover);outline-offset:2px}.wizard-group-head{display:flex;align-items:center;gap:10px;font-size:14.5px}.wizard-group-edit{margin-inline-start:auto;font-size:12px;font-weight:700;color:var(--accent-hover)}.wizard-group-lines{display:flex;flex-wrap:wrap;gap:8px}.wizard-chip{padding:4px 12px;border-radius:999px;font-size:12px;color:var(--text-muted);background:var(--lilac-bg)}.wizard-link{padding:0;border:0;background:none;font:inherit;font-weight:800;color:var(--accent-hover);text-decoration:underline;cursor:pointer}.wizard-sidebar{flex:0 0 30%;min-width:290px;position:sticky;top:96px;max-height:calc(100vh - 112px);overflow-y:auto;scrollbar-width:thin;padding:4px 14px 28px;margin:-4px -14px -28px}.wizard-sidebar .sidebar{position:static;flex:none;min-width:0}.price-bar{display:none}@media(max-width:1100px){:root{--wizard-pad: 20px;--wizard-section-pad: 22px}.scope-card.wizard{grid-template-columns:minmax(0,1fr)}.wizard-top{cursor:pointer;padding-block:16px 14px}.wizard-top-title{display:inline}.wizard-top .scope-chevron{display:inline-block;grid-row:1;grid-column:3;color:var(--accent-hover)}.wizard-top{grid-template-columns:1fr auto auto}.wizard-top[aria-expanded=true] .scope-chevron{transform:rotate(-90deg)}.wizard-steps{display:grid;grid-template-rows:0fr;visibility:hidden;background:var(--bg);border:0;border-radius:0;transition:grid-template-rows var(--collapse-ms) cubic-bezier(.4,0,.2,1),visibility 0s linear var(--collapse-ms)}.wizard-steps[data-open=true]{grid-template-rows:1fr;visibility:visible;transition-delay:0s}.wizard-steps-inner{position:static;min-height:0;overflow:hidden;padding:0 14px}.wizard-rail{padding:12px 0 14px}.wizard-head{padding-top:24px}}@media(max-width:900px){.layout:has(.price-bar){padding-bottom:110px}.price-bar{display:flex;align-items:center;gap:10px;position:fixed;inset-inline:0;bottom:0;z-index:50;padding:10px 16px;background:var(--bg);border-top:1px solid var(--border);box-shadow:0 -6px 20px #33333314}.price-bar-price{display:flex;flex-direction:column;margin-inline-end:auto;line-height:1.25}.price-bar-label{font-size:11px;color:var(--text-faint)}.wizard-footer{bottom:57px;padding-block:14px}.wizard-sidebar{position:fixed;inset-inline:0;top:auto;bottom:57px;z-index:55;width:auto;min-width:0;max-height:78vh;margin:0;padding:14px;background:var(--bg);border-start-start-radius:20px;border-start-end-radius:20px;box-shadow:0 -10px 30px #3333332e;transform:translateY(110%);visibility:hidden;transition:transform var(--collapse-ms) ease,visibility 0s linear var(--collapse-ms)}.wizard-sidebar.sheet-open{transform:none;visibility:visible;transition-delay:0s}.wizard-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:52;background:#33333359}}@media(prefers-reduced-motion:reduce){.wizard-body{animation:none}.wizard-step,.wizard-marker,.wizard-group,.wizard-price,.wizard-progress>span,.wizard-steps,.wizard-sidebar{transition:none}}.page{padding:28px 40px 60px;max-width:1100px;margin:0 auto}.page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}.page-title{font-size:22px;font-weight:800;color:var(--text);margin:0}.page-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.search-input{border:1px solid var(--divider);background:var(--bg);border-radius:12px;padding:10px 14px;font-size:14px;color:var(--text);outline:none;font-family:inherit;min-width:220px;text-align:right}.search-input:focus{border-color:var(--accent-hover)}.filters-row{margin-bottom:18px}.date-range-field{display:flex;align-items:center;gap:6px;border:1px solid var(--divider);background:var(--bg);border-radius:12px;padding:0 10px;color:var(--text-muted);font-size:13px}.date-range-field input[type=date]{border:none;background:transparent;padding:10px 2px;font-size:13px;color:var(--text);outline:none;font-family:inherit}.btn{border:none;cursor:pointer;font-family:inherit;font-size:14px;font-weight:700;padding:10px 20px;border-radius:12px;transition:background .15s ease,transform .05s ease}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.btn-primary{background:var(--text);color:#fff}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-secondary{background:var(--lilac-bg);color:var(--text)}.btn-secondary:hover:not(:disabled){background:var(--lilac-border)}.btn-danger{background:transparent;color:var(--danger)}.btn-danger:hover:not(:disabled){background:var(--danger);color:#fff}.btn-ghost{background:transparent;color:var(--text-muted)}.btn-ghost:hover:not(:disabled){background:var(--lilac-bg)}.btn-small{padding:7px 14px;font-size:13px;border-radius:10px}.card{background:var(--bg);border:1px solid var(--border);border-radius:20px;box-shadow:0 6px 20px #3333330d}.data-table{width:100%;border-collapse:collapse}.data-table th{text-align:right;font-size:12px;font-weight:700;color:var(--text-muted);background:var(--lilac-bg);padding:14px 20px}.data-table th:first-child{border-top-right-radius:20px}.data-table th:last-child{border-top-left-radius:20px}.data-table td{padding:16px 20px;border-top:1px solid var(--border-row);font-size:14px;color:var(--text)}.data-table tbody tr{transition:background .12s ease;cursor:default}.data-table tbody tr.clickable{cursor:pointer}.data-table tbody tr.clickable:hover{background:var(--lilac-hover)}.data-table .cell-muted{color:var(--text-faint);font-size:12.5px}.data-table .cell-actions{display:flex;gap:6px;justify-content:flex-end}.empty-state{padding:60px 20px;text-align:center;color:var(--text-faint);font-size:14px}.status-badge{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;font-size:12px;font-weight:700}.status-badge.draft{background:var(--lilac-bg);color:var(--text-muted)}.status-badge.sent{background:#fff2cc;color:#8a6d00}.status-badge.accepted{background:#dcf5e3;color:#1e7a3d}.status-badge.declined{background:#fce1e3;color:#b23b45}.quote-status-select{border:1px solid var(--divider);background:var(--bg);border-radius:10px;padding:6px 10px;font-size:13px;font-weight:700;color:var(--text);font-family:inherit}.form-row{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.form-row label{font-size:13px;font-weight:600;color:var(--text-muted)}.form-row input,.form-row textarea,.form-row select{border:1px solid var(--divider);background:var(--bg);border-radius:12px;padding:10px 14px;font-size:14px;color:var(--text);outline:none;font-family:inherit;text-align:right;width:100%}.form-row input:focus,.form-row textarea:focus,.form-row select:focus{border-color:var(--accent-hover)}.form-actions{display:flex;gap:10px;justify-content:flex-start;margin-top:18px}.form-error{color:var(--danger);font-size:13px;margin-top:-6px;margin-bottom:14px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#33333359;display:flex;align-items:center;justify-content:center;z-index:50;padding:20px}.modal{background:var(--bg);border-radius:20px;padding:26px;width:100%;max-width:440px;box-shadow:0 20px 50px #33333340}.modal-title{font-size:17px;font-weight:800;color:var(--text);margin:0 0 18px}.email-send-modal{max-width:560px}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--lilac-bg);padding:20px}.auth-card{background:var(--bg);border-radius:20px;padding:36px;width:100%;max-width:380px;box-shadow:0 10px 30px #978df72e}.auth-logo{display:block;height:32px;width:auto;margin:0 auto 24px}.auth-submit{width:100%;margin-top:6px}.auth-switch{text-align:center;font-size:13.5px;color:var(--text-muted);margin-top:18px}.auth-switch a{color:var(--accent-hover);font-weight:700;text-decoration:none}.loading-state{padding:60px 20px;text-align:center;color:var(--text-faint);font-size:14px}.settings-form{max-width:480px}@media print{.topbar{position:static}.qty-btn,.complexity-btn:not(.active){display:none}.complexity-group{border:none;background:none;width:auto;justify-content:center}.complexity-btn.active{border:none;background:none;color:var(--text);flex:none;width:auto;padding:0 8px}.qty-group{background:none}.pdf-btn,.type-tabs,.topbar-nav,.logout-btn,.save-btn,.quote-status-select{display:none}.layout{padding:0 24px 24px}.sidebar{position:static}}.proposal-screen{background:#e9e7e2;min-height:100vh;padding:32px 0}.proposal-toolbar{max-width:210mm;margin:0 auto 16px;padding:0 4mm;display:flex;justify-content:space-between;align-items:center}.proposal-toolbar .btn{font-family:inherit}.proposal-edit-hint{max-width:210mm;margin:0 auto 12px;padding:8px 4mm;font-size:12.5px;color:var(--text-footer);background:var(--lilac-bg);border:1px solid var(--lilac-border);border-radius:8px;text-align:center}.proposal-doc{max-width:210mm;margin:0 auto}.proposal-doc.edit-mode [contenteditable=true]{border-radius:3px;cursor:text}.proposal-doc.edit-mode [contenteditable=true]:hover{outline:1px dashed var(--accent-hover);outline-offset:2px}.proposal-doc.edit-mode [contenteditable=true]:focus{outline:2px solid var(--accent-hover);outline-offset:2px;background:var(--lilac-hover)}.proposal-page{background:var(--bg);width:210mm;min-height:297mm;margin:0 auto 24px;box-shadow:0 2px 16px #0000001f;display:flex;flex-direction:column;overflow:hidden}.proposal-page-body{flex:1;padding:14mm 16mm 8mm}.proposal-footer{display:flex;justify-content:center;gap:18px;align-items:center;background:var(--lilac-bg);color:var(--text-footer);font-size:11px;padding:8px 16mm;border-top:1px solid var(--lilac-border)}.proposal-footer span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.proposal-cover-photo{position:relative;height:130mm;background:linear-gradient(135deg,var(--accent) 0%,var(--accent-hover) 100%);background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:flex-end}.proposal-cover-scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:#0009}.proposal-cover-logo{position:absolute;top:10mm;right:10mm;width:34mm}.proposal-cover-logo img{width:100%;display:block;filter:brightness(0) invert(1)}.proposal-cover-overlay{position:relative;z-index:1;padding:0 10mm 8mm;color:#fff}.proposal-cover-overlay h1{margin:0 0 5mm;max-width:70%;font-size:28pt;font-weight:600;line-height:1.2}.proposal-cover-meta{display:flex;justify-content:space-between;font-size:16pt;color:#fff}.proposal-cover-content{padding:10mm 16mm 8mm}.proposal-cover-hello{padding-bottom:6mm;margin-bottom:6mm;border-bottom:1px solid var(--border)}.proposal-cover-hello h2{font-size:22px;margin:0}.proposal-section-heading{font-size:15px;font-weight:600;margin:7mm 0 2mm}.proposal-section-body{font-size:12.5px;line-height:1.75;color:var(--text);white-space:pre-wrap}.proposal-title-bar{background:var(--lilac-bg);border:1px solid var(--lilac-border);border-radius:6px;padding:5mm 6mm;font-size:16px;font-weight:600;margin-bottom:6mm;text-align:center}.proposal-price-box{display:flex;justify-content:space-between;align-items:center;background:var(--text);color:#fff;border-radius:6px;padding:6mm 8mm;margin-bottom:8mm}.proposal-price-box .label{font-size:12px;opacity:.75}.proposal-price-box .price{font-size:24px;font-weight:600}.proposal-price-box .total{text-align:left}.proposal-price-box .total .price{color:var(--accent)}.proposal-scope-item{margin-bottom:5mm}.proposal-scope-item .heading{font-weight:600;font-size:13px;margin-bottom:1mm}.proposal-scope-item .body{font-size:12px;line-height:1.7;color:var(--text-muted);white-space:pre-wrap}.proposal-payment-list{list-style:none;padding:0;margin:0 0 6mm}.proposal-payment-list li{font-size:12.5px;line-height:1.8;margin-bottom:2mm}.proposal-payment-list b{font-weight:600}.proposal-box{background:var(--lilac-bg);border:1px solid var(--lilac-border);border-radius:6px;padding:6mm 7mm;margin-bottom:6mm}.proposal-box .box-title{font-weight:600;font-size:13.5px;margin-bottom:3mm;text-align:center}.proposal-box p{font-size:12px;line-height:1.7;margin:0 0 2mm}.proposal-unpriced{break-inside:avoid;padding:4mm 7mm;margin-bottom:4mm}.proposal-timeline-row{display:flex;gap:4mm;padding:3mm 0;border-bottom:1px solid var(--border-row)}.proposal-timeline-row:last-child{border-bottom:none}.proposal-timeline-row .phase{font-weight:600;font-size:12.5px;flex:0 0 46mm}.proposal-timeline-row .body{font-size:11.5px;color:var(--text-muted);line-height:1.65}.proposal-divider{border:none;border-top:2px solid var(--divider);margin:8mm 0}.proposal-purple-box{background:var(--lilac-bg);border:1px solid var(--divider);border-radius:6px;padding:6mm 7mm;margin-bottom:8mm}.proposal-purple-box .box-title{font-weight:600;font-size:14px;text-align:center;margin-bottom:4mm}.proposal-numbered-list{list-style:none;counter-reset:item;padding:0;margin:0}.proposal-numbered-list li{counter-increment:item;font-size:12px;line-height:1.75;margin-bottom:3mm;padding-right:6mm;position:relative}.proposal-numbered-list li:before{content:counter(item) ".";position:absolute;right:0;font-weight:600}.proposal-legal-title{font-size:15px;font-weight:600;margin:0 0 5mm}.proposal-signature-box{background:var(--lilac-bg);border:1px solid var(--lilac-border);border-radius:6px;padding:8mm;margin-top:10mm}.proposal-signature-box .box-title{font-weight:600;font-size:15px;text-align:center;margin-bottom:8mm}.proposal-signature-field{display:flex;gap:3mm;font-size:13px;margin-bottom:6mm;border-bottom:1px solid var(--border);padding-bottom:2mm}.proposal-signature-field b{flex:0 0 auto}.proposal-closing-note{font-size:12px;line-height:1.75;color:var(--text-muted);margin-top:6mm;white-space:pre-wrap}.proposal-closing-line{text-align:center;font-size:17px;font-weight:600;margin-top:24mm}@media print{@page{size:A4;margin:0}html,body{background:#fff}.proposal-screen{background:#fff;padding:0}.proposal-toolbar,.proposal-edit-hint{display:none}[contenteditable]{outline:none!important;background:none!important}.proposal-page{box-shadow:none;margin:0;page-break-after:always;width:auto;min-height:297mm}.proposal-page:last-child{page-break-after:auto}}.proposal-product-list{margin-top:3mm}.proposal-product-list-title{font-weight:600;font-size:12px;margin-bottom:1mm}.proposal-product-line{font-size:12px;line-height:1.7;color:var(--text-muted);break-inside:avoid}.proposal-product-lines.two-columns{column-count:2;column-gap:10mm}.proposal-structure-group{margin-top:3mm}.proposal-compact .proposal-timeline-row{padding:2mm 0}.proposal-compact .proposal-divider{margin:5mm 0}.proposal-compact .proposal-box{margin-bottom:4mm}.proposal-structure-groups{display:grid;grid-template-columns:1fr 1fr;gap:0 10mm}.proposal-structure-groups .proposal-structure-group{margin-top:2.5mm}.proposal-structure-groups .proposal-structure-group.wide{grid-column:1 / -1}.proposal-dense .proposal-page-body{padding-top:11mm}.proposal-dense .proposal-scope-item{margin-bottom:3.5mm}.proposal-dense .proposal-scope-item .body,.proposal-dense .proposal-product-line{line-height:1.55}.proposal-dense .proposal-price-box{padding:4.5mm 8mm;margin-bottom:4mm}.proposal-tight .proposal-scope-item .body,.proposal-tight .proposal-product-line{font-size:11px;line-height:1.45}.proposal-tight .proposal-structure-groups .proposal-structure-group{margin-top:1.5mm}.proposal-tight .proposal-scope-item{margin-bottom:3mm}.proposal-structure-groups.proposal-structure-columns{display:block;column-count:2;column-gap:10mm}.proposal-structure-columns .proposal-structure-group{break-inside:avoid;margin-top:2.5mm}.proposal-structure-columns .proposal-product-lines.two-columns{column-count:1}.proposal-process-dense .proposal-timeline-row{padding:1.5mm 0}.proposal-process-dense .proposal-timeline-row .body{line-height:1.55}.proposal-process-dense .proposal-divider{margin:4mm 0}.proposal-process-dense .proposal-box{margin-bottom:3mm;padding:4.5mm 7mm}.proposal-process-dense .proposal-payment-list{margin-bottom:4mm}.proposal-legal-dense .proposal-numbered-list li{line-height:1.65;margin-bottom:2mm}.proposal-legal-dense .proposal-purple-box{padding:4.5mm 7mm;margin-bottom:5mm}.proposal-legal-dense .proposal-legal-title{margin-bottom:3mm}.proposal-tight .proposal-page-body{padding-bottom:4mm}.proposal-tight .proposal-footer{margin-bottom:4mm}@media print{.proposal-dense .proposal-page-body{break-after:avoid}.proposal-dense .proposal-footer{break-before:avoid}.proposal-dense .proposal-price-box{break-inside:avoid}}.proposal-tighter .proposal-page-body{padding-top:8mm}.proposal-tighter .proposal-title-bar{margin-bottom:4mm}.proposal-tighter .proposal-scope-item .body,.proposal-tighter .proposal-product-line{font-size:10.5px;line-height:1.35}.proposal-tighter .proposal-scope-item{margin-bottom:2.2mm}.proposal-tighter .proposal-structure-columns .proposal-structure-group{margin-top:1.2mm}.proposal-tighter .proposal-price-box{padding:3.5mm 8mm;margin-bottom:2mm}@media print{.proposal-dense .proposal-scope-item{break-inside:avoid}.proposal-dense .proposal-scope-item:nth-last-of-type(1){break-after:avoid}.proposal-dense .proposal-price-box{break-before:avoid}}.ai-chat-page{padding:28px 40px 40px;max-width:760px;margin:0 auto;height:calc(100vh - 68px);display:flex;flex-direction:column}.ai-chat-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.ai-chat-header .page-title{flex:1;text-align:center}.ai-chat-manual-link{font-size:13px;color:var(--text-muted);text-decoration:none;white-space:nowrap}.ai-chat-manual-link:hover{color:var(--accent-hover)}.ai-chat-body{flex:1;display:flex;flex-direction:column;min-height:0;padding:20px;gap:14px}.ai-chat-messages{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:4px}.ai-chat-bubble{max-width:78%;padding:11px 16px;border-radius:16px;font-size:14px;line-height:1.6;white-space:pre-wrap}.ai-chat-bubble.assistant{align-self:flex-start;background:var(--lilac-bg);color:var(--text);border-bottom-left-radius:4px}.ai-chat-bubble.user{align-self:flex-end;background:var(--text);color:#fff;border-bottom-right-radius:4px}.ai-chat-typing{color:var(--text-muted);font-style:italic}.ai-chat-error{margin:0}.ai-chat-input-row{display:flex;gap:10px;align-items:flex-end;border-top:1px solid var(--divider);padding-top:14px}.ai-chat-input-row textarea{flex:1;resize:none;border:1px solid var(--divider);background:var(--bg);border-radius:12px;padding:10px 14px;font-size:14px;font-family:inherit;color:var(--text);outline:none;text-align:right;max-height:120px}.ai-chat-input-row textarea:focus{border-color:var(--accent-hover)}.ai-chat-modal{max-width:600px;display:flex;flex-direction:column;max-height:80vh}.ai-chat-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.ai-chat-modal-header .modal-title{margin:0}.ai-chat-modal-messages{max-height:50vh;padding:4px}.new-quote-choice-options{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.new-quote-choice-option{display:flex;flex-direction:column;gap:4px;align-items:flex-start;text-align:right;border:1px solid var(--divider);background:var(--bg);border-radius:14px;padding:14px 16px;cursor:pointer;font-family:inherit;transition:border-color .15s ease,background .15s ease}.new-quote-choice-option:hover{border-color:var(--accent-hover);background:var(--lilac-hover)}.new-quote-choice-title{font-size:14.5px;font-weight:700;color:var(--text)}.new-quote-choice-desc{font-size:12.5px;color:var(--text-muted);line-height:1.5}.ai-scope-page .ai-chat-messages{gap:12px}.ai-chat-retry{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff1d6;color:#8a5a00}.ai-review{align-self:stretch;padding:20px 22px;display:flex;flex-direction:column;gap:16px;border:1px solid var(--divider)}.ai-review-head h2{margin:2px 0 4px;font-size:20px}.ai-review-head p{margin:0;font-size:13px;line-height:1.55;color:var(--text-muted)}.ai-review-kicker{font-size:12px;font-weight:800;color:var(--accent-hover)}.ai-review-groups{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.ai-review-groups li{display:flex;flex-direction:column;gap:6px}.ai-review-groups strong{font-size:13px}.ai-review-chips{display:flex;flex-wrap:wrap;gap:6px}.ai-review-price{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border-radius:14px;background:var(--lilac-bg)}.ai-review-price dl{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px 18px}.ai-review-price dt{font-size:12px;color:var(--text-muted)}.ai-review-price dd{margin:2px 0 0;font-size:15px;font-weight:700}.ai-review-price .main dd{font-size:22px;font-weight:800}.ai-review-notes{display:flex;flex-direction:column;gap:10px}.ai-review-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.ai-review-actions-note{font-size:12.5px;color:var(--text-muted)}.ai-note{padding:10px 14px;border-radius:12px;font-size:12.5px;line-height:1.55}.ai-note h4{margin:0 0 2px;font-size:13px}.ai-note p{margin:0 0 4px}.ai-note ul{margin:4px 0 0;padding-inline-start:18px}.ai-note-assumptions{background:transparent;border:1px dashed var(--divider);color:var(--text-muted)}.ai-note-assumptions summary{cursor:pointer;color:var(--text)}.ai-note-assumptions summary strong{font-size:13px}.ai-note-assumptions p{margin:6px 0 8px}.ai-note-count{color:var(--text-muted)}.ai-note-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}.ai-note-clarify{background:var(--lilac-bg);color:var(--text);border-inline-start:3px solid var(--accent-hover)}.ai-note-adjustments{background:transparent;border:1px dashed var(--divider);color:var(--text-muted)}.ai-note-adjustments h4{color:var(--text)}.ai-summary-notes{display:flex;flex-direction:column;gap:10px}.ai-summary-notes-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}@media(max-width:720px){.ai-chat-page.ai-scope-page{padding:16px;height:auto;min-height:calc(100vh - 68px)}.ai-review{padding:16px}}.ai-review-anchor{align-self:stretch;scroll-margin-top:8px}.ai-edit-modal{max-width:640px;display:flex;flex-direction:column;max-height:88vh;gap:12px}.ai-edit-messages{flex:1;min-height:160px;max-height:56vh;overflow-y:auto}.ai-edit-preview{align-self:stretch;display:flex;flex-direction:column;gap:12px;padding:14px 16px;border:1px solid var(--divider);border-radius:14px;background:var(--card-bg, #fff)}.ai-edit-preview h4{margin:0 0 4px;font-size:13px}.ai-edit-diff{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.ai-edit-line{display:flex;gap:10px;align-items:baseline;font-size:13.5px;line-height:1.5}.ai-edit-sign{flex:none;width:18px;height:18px;border-radius:50%;display:inline-grid;place-items:center;font-size:12px;font-weight:800;background:var(--lilac-bg);color:var(--accent-hover)}.ai-edit-line.added .ai-edit-sign{background:#e3f6ea;color:#1c7c43}.ai-edit-line.removed .ai-edit-sign{background:#fde8e8;color:#b3261e}.ai-edit-price{padding:12px 14px;border-radius:12px;background:var(--lilac-bg)}.ai-edit-price dl{margin:6px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px 16px}.ai-edit-price dt{font-size:12px;color:var(--text-muted)}.ai-edit-price dd{margin:2px 0 0;font-size:14px;font-weight:700}.ai-edit-delta{margin-inline-start:8px;font-size:12px;font-weight:800}.ai-edit-delta.up{color:#b3261e}.ai-edit-delta.down{color:#1c7c43}.ai-edit-final{margin:6px 0 0;font-size:12.5px;line-height:1.55}.ai-edit-final.manual{padding:8px 10px;border-radius:10px;background:#fff;border:1px solid var(--lilac-border, var(--divider))}.ai-edit-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid var(--divider);padding-top:12px}.ai-edit-trigger{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ai-edit-trigger-note{font-size:12.5px;color:var(--text-muted)}
