@font-face{font-family:Forewild;src:url(../assets/FOREWILD-FONT-Regular.ttf) format("truetype");font-style:normal;font-weight:400 800;font-display:swap}:root{font-family:Forewild,Microsoft YaHei UI,Microsoft YaHei,Arial,sans-serif;color:#15171b;background:#f3f5f8;font-synthesis:none;text-rendering:optimizeLegibility;--blue: #1f5fe0;--blue-hover: #164fc5;--blue-soft: #edf3ff;--ink: #15171b;--muted: #697180;--line: #dfe3ea;--line-strong: #c9cfda;--surface: #ffffff;--canvas: #e9edf3}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;height:100%;margin:0}body{overflow:hidden}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{display:flex;flex-direction:column;height:100%;min-height:100%;background:var(--surface)}.app-header{z-index:5;display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr);align-items:center;min-height:64px;padding:0 24px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 1px 4px #131c2d0a}.brand-block{display:flex;align-items:center}.brand-block img{display:block;width:194px;height:46px;object-fit:contain;object-position:left center;filter:grayscale(1) brightness(.28)}.page-title{text-align:center}.page-title h1{margin:0;font-size:20px;font-weight:750;letter-spacing:.02em}.page-title span{display:block;margin-top:2px;color:var(--muted);font-size:10px;letter-spacing:.03em}.header-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px}.primary-button,.text-button{min-height:38px;padding:0 16px;border:0;border-radius:7px;font-size:13px;font-weight:650;transition:background .16s ease,color .16s ease,transform .16s ease}.primary-button{display:inline-flex;align-items:center;gap:8px;color:#fff;background:var(--blue);box-shadow:0 4px 12px #1f5fe033}.primary-button:hover:not(:disabled){background:var(--blue-hover);transform:translateY(-1px)}.primary-button:disabled{cursor:wait;opacity:.55}.primary-button svg,.live-cue svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.text-button{color:var(--muted);background:transparent}.text-button:hover{color:var(--ink);background:#f3f5f8}.workspace{display:grid;grid-template-columns:minmax(640px,56%) minmax(460px,44%);min-height:0;flex:1}.form-pane{display:flex;min-width:0;min-height:0;flex-direction:column;overflow:hidden;background:#fff;scrollbar-width:thin;scrollbar-color:#cbd1dc transparent}.customer-section,.quote-summary{flex:0 0 auto}.service-section{min-height:0;flex:1 1 auto;overflow:auto}.panel-section{padding:19px 22px 20px;border-bottom:1px solid var(--line)}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:14px}.section-heading h2,.quote-summary h2,.preview-heading h2{margin:0;font-size:16px;font-weight:750;line-height:1.3}.section-heading>span,.section-heading div>span,.quote-summary span,.preview-heading span{color:var(--muted);font-size:11px}.form-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:13px 14px}.form-grid .field:nth-child(1){grid-column:span 5}.form-grid .field:nth-child(2){grid-column:span 4}.form-grid .field:nth-child(3){grid-column:span 3}.form-grid .field:nth-child(4),.form-grid .field:nth-child(5),.form-grid .field:nth-child(6){grid-column:span 2}.form-grid .field:nth-child(7),.form-grid .field:nth-child(8){grid-column:span 3}.field{display:flex;min-width:0;flex-direction:column;gap:6px}.field>span,.note-field>span{color:#3b414b;font-size:12px;font-weight:600}.field em{color:#d43f3a;font-style:normal}.field input,.note-field textarea{width:100%;color:var(--ink);background:#fff;border:1px solid var(--line-strong);outline:0;transition:border .14s ease,box-shadow .14s ease}.field input{height:39px;padding:0 11px;border-radius:6px;font-size:12.5px}.field input:focus,.note-field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1f5fe01c}.service-title-row{align-items:center}.service-title-row>div:first-child{display:flex;align-items:baseline;gap:10px}.live-cue{display:flex;align-items:center;gap:6px;color:var(--blue);font-size:11px}.live-cue svg{width:14px;height:14px}.table-wrap{overflow:hidden;border:1px solid var(--line);border-radius:7px}table{width:100%;border-collapse:collapse;table-layout:fixed}th{height:37px;padding:0 10px;color:#3d4552;background:#f5f7fa;border-bottom:1px solid var(--line-strong);font-size:11px;font-weight:700;text-align:left;white-space:nowrap}th:nth-child(1){width:57px;text-align:center}th:nth-child(2){width:93px}th:nth-child(4),th:nth-child(6){width:101px}th:nth-child(5){width:84px}td{height:54px;padding:7px 10px;border-bottom:1px solid var(--line);font-size:11.5px;vertical-align:middle}tbody tr:not(.group-row){cursor:pointer;transition:background .12s ease}tbody tr:not(.group-row):hover{background:#f8faff}tbody tr.selected{background:var(--blue-soft)}tbody tr:last-child td{border-bottom:0}td strong{display:block;overflow:hidden;font-size:11.8px;font-weight:650;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}td small{display:block;overflow:hidden;margin-top:2px;color:var(--muted);font-size:9.8px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.select-cell{text-align:center}input[type=radio],input[type=checkbox]{width:17px;height:17px;margin:0;accent-color:var(--blue);cursor:pointer}.code-cell{color:#303742;font-size:10.8px;font-variant-numeric:tabular-nums}.number-cell{text-align:right;font-variant-numeric:tabular-nums}.payable-cell{font-weight:700}.discount-value{display:inline-flex;min-width:52px;height:28px;align-items:center;justify-content:center;color:#545c68;background:#f4f5f7;border:1px solid #e3e6eb;border-radius:5px;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}.group-row td{height:28px;padding:0 12px;color:var(--muted);background:#fbfcfd;font-size:10px;font-weight:700;letter-spacing:.04em}.note-field{display:flex;flex-direction:column;gap:7px;margin-top:14px}.note-field textarea{min-height:72px;padding:9px 11px;resize:vertical;border-radius:6px;font-size:11.5px;line-height:1.6}.quote-summary{position:relative;z-index:3;margin:0;padding:18px 22px 24px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 18px #1a233412}.summary-heading{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:12px}.summary-values{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:7px;background:#fafbfc}.summary-values>div{position:relative;min-width:0;padding:15px 17px 16px}.summary-values>div+div:before{position:absolute;top:14px;bottom:14px;left:0;width:1px;background:var(--line);content:""}.summary-values span{display:block;margin-bottom:7px}.summary-values strong{display:block;font-size:19px;font-weight:760;font-variant-numeric:tabular-nums}.summary-values .amount-due strong{color:var(--blue);font-size:23px}.preview-pane{display:flex;min-width:0;min-height:0;flex-direction:column;background:var(--canvas);border-left:1px solid var(--line)}.preview-heading{display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:0 20px;background:#fff;border-bottom:1px solid var(--line)}.preview-heading>div:first-child{display:flex;align-items:baseline;gap:9px}.preview-status{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10.5px}.preview-status>span{width:7px;height:7px;border-radius:50%;background:#25a56a;box-shadow:0 0 0 3px #25a56a1f}.preview-status.error{color:#b43b35}.preview-status.error>span{background:#cf4d46;box-shadow:0 0 0 3px #cf4d461f}.preview-stage{position:relative;min-height:0;flex:1;padding:16px;overflow:auto}.preview-document{display:flex;align-items:center;flex-direction:column;gap:24px;min-height:100%}.preview-document figure{width:min(100%,700px);margin:0}.preview-document canvas{display:block;width:100%;height:auto;background:#fff;border:1px solid #d5dae2;box-shadow:0 7px 24px #1c283c21}.preview-document figcaption{margin-top:7px;color:#747c89;font-size:10px;text-align:center}.preview-loading{display:flex;height:100%;align-items:center;justify-content:center;flex-direction:column;gap:9px;color:var(--muted);background:#fff;border:1px solid var(--line)}.preview-loading strong{color:var(--ink);font-size:13px}.preview-loading span{font-size:10.5px}.spinner{width:25px;height:25px;border:2px solid #d9e2f5;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1120px){body{overflow:auto}.app-shell{height:auto;min-height:100vh}.workspace{grid-template-columns:1fr}.form-pane{display:block;overflow:visible}.service-section{overflow:visible}.preview-pane{min-height:820px;border-top:1px solid var(--line);border-left:0}}@media(max-width:760px){.app-header{grid-template-columns:1fr auto;min-height:60px;padding:0 14px}.brand-block img{width:150px}.page-title,.text-button{display:none}.form-grid{grid-template-columns:1fr 1fr}.form-grid .field:nth-child(n){grid-column:span 1}.panel-section,.quote-summary{padding-right:14px;padding-left:14px}.service-title-row,.service-title-row>div:first-child{align-items:flex-start;flex-direction:column}.table-wrap{overflow-x:auto}table{min-width:720px}.summary-values{grid-template-columns:1fr}.summary-values>div+div:before{inset:0 14px auto;width:auto;height:1px}.preview-pane{min-height:680px}.preview-heading>div:first-child{flex-direction:column;gap:2px}}@media(max-width:480px){.form-grid{grid-template-columns:1fr}.primary-button{min-height:36px;padding:0 12px}.preview-stage{padding:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
