:root{font-family:PingFang SC,Microsoft YaHei,sans-serif;color:#1f2937;--font-policy-body: "SimSun", "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;--font-policy-title: "SimHei", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;--font-policy-number: "Times New Roman", "Georgia", "SFMono-Regular", "Consolas", monospace;background:radial-gradient(circle at top,rgba(247,198,66,.24),transparent 35%),linear-gradient(180deg,#f7f4ec,#ece5d5)}*{box-sizing:border-box}body{margin:0;min-width:320px}a{color:inherit;text-decoration:none}button,input{font:inherit}.page-shell{min-height:100vh;padding:32px 20px}.quote-page{background:linear-gradient(180deg,#faf5e9eb,#f1e9d6f5),radial-gradient(circle at top left,rgba(0,157,103,.08),transparent 35%)}.quote-page,.quote-page .quote-card,.quote-page .quote-result,.quote-page .quote-form,.quote-page .quote-summary,.quote-page .quote-sheet,.quote-page .quote-panel{font-family:var(--font-policy-body);font-size:14px;line-height:1.75;color:#2b2b2b}.quote-page .quote-card{border:1px solid rgba(58,47,28,.16);border-radius:10px;background:#fffdf8f2;box-shadow:0 4px 14px #4435180a}.quote-page .quote-panel,.quote-page .quote-item-card,.quote-page .result-panel,.quote-page .quote-preview-sheet{border-radius:4px;border-color:#3a2f1c24;box-shadow:none}.quote-page .editor-panel,.quote-page .quote-item-card,.quote-page .quote-preview-sheet{padding:16px}.quote-page .quote-title,.quote-page .quote-section-title,.quote-page .sheet-title,.quote-page .sheet-section-title,.quote-page .section-header-row h2,.quote-page h2{font-family:var(--font-policy-title);font-weight:600;letter-spacing:.5px}.quote-page .sheet-title{font-size:28px}.quote-page .quote-form label,.quote-page .quote-label,.quote-page .summary-label,.quote-page .result-panel strong,.quote-page .sheet-recipient,.quote-page .sheet-desc,.quote-page .sheet-period-row,.quote-page .sheet-reminder,.quote-page .sheet-company{font-family:var(--font-policy-body);font-weight:500}.quote-page .amount,.quote-page .premium-value,.quote-page .total-price,.quote-page .quote-total,.quote-page .quote-money,.quote-page .quote-number,.quote-page .quote-value,.quote-page .summary-value,.quote-page .sheet-table td:last-child,.quote-page .sheet-date-row,.quote-page input[type=number]{font-family:var(--font-policy-number);font-variant-numeric:tabular-nums;font-weight:700}.quote-page .total-price,.quote-page .quote-total{font-size:22px}.quote-page .summary-row,.quote-page .summary-row td,.quote-page .summary-label,.quote-page .summary-value{font-weight:700}.quote-page .quote-table,.quote-page .sheet-table{font-family:var(--font-policy-body)}.quote-page .quote-row,.quote-page .quote-label,.quote-page .quote-value,.quote-page .summary-row,.quote-page .summary-label,.quote-page .summary-value{font-size:14px;line-height:1.75}.quote-page .quote-sheet{width:210mm;max-width:100%;min-height:297mm;margin:0 auto;padding:14mm 12mm;border:1px solid rgba(30,30,30,.16);border-radius:0;background:#fff;color:#202020;box-shadow:0 2px 8px #0000000a}.quote-page .quote-sheet-body{padding:0 6mm}.quote-page .quote-sheet-header,.quote-page .sheet-header{display:grid;gap:7px;margin-bottom:10px}.quote-page .quote-logo{width:210px;max-width:100%;margin:0}.quote-page .quote-sheet-title,.quote-page .sheet-title{margin-top:2px;text-align:center;font-size:28px;line-height:1.25}.quote-page .quote-sheet-divider,.quote-page .sheet-divider{width:100%;height:1px;background:#7f7f7f}.quote-page .quote-sheet-paragraph,.quote-page .sheet-recipient,.quote-page .sheet-desc,.quote-page .sheet-period-row,.quote-page .sheet-reminder,.quote-page .sheet-company{font-size:12px;line-height:1.5;font-weight:400}.quote-page .sheet-recipient{margin-top:4px}.quote-page .sheet-desc{margin:4px 0 8px 2em}.quote-page .quote-sheet-section-title,.quote-page .sheet-section-title{margin-left:2em}.quote-page .quote-sheet-section{margin-top:8px}.quote-page .quote-sheet-section-title,.quote-page .sheet-section-title{margin-top:0;margin-bottom:6px;font-size:16px;line-height:1.4}.quote-page .sheet-basic-grid,.quote-page .sheet-info-list,.quote-page .sheet-period-row{margin-left:2em}.quote-page .sheet-basic-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2px 28px;margin-top:0;margin-bottom:6px}.quote-page .sheet-basic-grid p,.quote-page .sheet-info-list p{margin:0;font-size:12px;line-height:1.45}.quote-page .sheet-period-row{margin-top:2px}.quote-page .sheet-info-list{display:grid;gap:2px}.quote-page .quote-label{font-weight:500}.quote-page .quote-value{font-weight:400}.quote-page .quote-sheet-table,.quote-page .sheet-table{width:100%;margin-top:8px;border-collapse:collapse;table-layout:fixed;border:1px solid #333}.quote-page .quote-sheet-table th,.quote-page .quote-sheet-table td,.quote-page .sheet-table th,.quote-page .sheet-table td{border:1px solid #333;padding:5px 8px;font-size:12px;line-height:1.35;vertical-align:middle;background:#fff}.quote-page .quote-sheet-table thead th,.quote-page .sheet-table thead th{text-align:center;font-family:var(--font-policy-title);font-weight:600}.quote-page .quote-sheet-table th:first-child,.quote-page .quote-sheet-table td:first-child,.quote-page .sheet-table th:first-child,.quote-page .sheet-table td:first-child{width:49%}.quote-page .quote-sheet-table th:nth-child(2),.quote-page .quote-sheet-table td:nth-child(2),.quote-page .sheet-table th:nth-child(2),.quote-page .sheet-table td:nth-child(2){width:11%}.quote-page .quote-sheet-table th:nth-child(3),.quote-page .quote-sheet-table td:nth-child(3),.quote-page .sheet-table th:nth-child(3),.quote-page .sheet-table td:nth-child(3){width:24%}.quote-page .quote-sheet-table th:nth-child(4),.quote-page .quote-sheet-table td:nth-child(4),.quote-page .sheet-table th:nth-child(4),.quote-page .sheet-table td:nth-child(4){width:16%}.quote-page .quote-sheet-table td:first-child,.quote-page .quote-sheet-table td:nth-child(2),.quote-page .quote-sheet-table td:nth-child(3),.quote-page .sheet-table td:first-child,.quote-page .sheet-table td:nth-child(2),.quote-page .sheet-table td:nth-child(3){text-align:center}.quote-page .quote-sheet-table td:last-child,.quote-page .sheet-table td:last-child{text-align:right;padding-right:10px}.quote-page .summary-row td{font-weight:700}.quote-page .extra-table{margin-top:14px}.quote-page .quote-sheet-footer{margin-top:12px}.quote-page .sheet-reminder{margin-top:10px;font-size:11px}.quote-page .sheet-company{margin-top:6px}.quote-page .quote-sheet-date,.quote-page .sheet-date-row{display:flex;justify-content:flex-end;margin-top:10px;font-size:12px}@page{size:A4 portrait;margin:14mm 12mm}@media print{body,.quote-page{background:#fff}.quote-page .quote-card{border:none;box-shadow:none;background:transparent;padding:0;max-width:none}.quote-page .heading-row,.quote-page .template-tabs,.quote-page .editor-grid,.quote-page .quote-result,.quote-page .section-header-row,.quote-page .history-list,.quote-page .status-text,.quote-page .upload-input,.quote-page .upload-preview-card,.quote-page .result-block,.quote-page .action-row,.quote-page .secondary-link,.quote-page .primary-button,.quote-page .primary-link,.quote-page .editor-panel:not(.quote-sheet){display:none!important}.quote-page .quote-sheet{width:auto;max-width:none;min-height:auto;margin:0;padding:0;border:none;box-shadow:none}}.card{max-width:860px;margin:0 auto;padding:32px;border:1px solid rgba(70,52,22,.12);border-radius:24px;background:#fffcf4e6;box-shadow:0 20px 60px #4435181a}.quote-card{display:grid;gap:24px}.quote-workbench{max-width:1240px;display:grid;gap:24px}.heading-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.eyebrow{margin:0 0 8px;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#8a6b2d}h1,h2,p{margin:0}.intro{margin-top:12px;color:#5a5f6b}.home-actions,.action-row,.template-tabs{display:flex;flex-wrap:wrap;gap:12px}.template-tab{padding:10px 18px;border-radius:999px;border:1px solid rgba(70,52,22,.18);background:#fffcf4a6;cursor:pointer}.template-tab.active{background:#0f9d67;border-color:#0f9d67;color:#fff}.editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.editor-panel{display:grid;gap:16px;padding:20px;border-radius:20px;background:#ffffffb8;border:1px solid rgba(70,52,22,.1)}.section-header-row{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.primary-link,.secondary-link,.primary-button{display:inline-flex;align-items:center;justify-content:center;width:fit-content;padding:12px 18px;border:none;border-radius:999px;cursor:pointer}.primary-link,.primary-button{background:#b45309;color:#fffdf8}.secondary-link{border:1px solid rgba(70,52,22,.18);background:transparent}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.form-grid label{display:grid;gap:8px;color:#4b5563}.date-control-group{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:center}.policy-date-group{grid-template-columns:auto minmax(0,1fr)}.form-grid input[type=number],.form-grid input[type=date],.form-grid input[type=text]{width:100%;padding:12px 14px;border:1px solid rgba(107,114,128,.3);border-radius:14px;background:#fff}.date-today-button{white-space:nowrap}.checkbox-field{display:flex;align-items:center;gap:10px;padding-top:30px}.checkbox-field.compact{padding-top:0}.result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.ocr-panel{display:grid;gap:12px}.quote-item-card{display:grid;gap:12px;padding:16px;border-radius:16px;background:#ffffffb8;border:1px solid rgba(107,114,128,.15)}.result-grid label{display:grid;gap:8px;color:#4b5563}.result-grid input[type=number],.result-grid input[type=text],.result-grid select,.upload-input{width:100%;padding:12px 14px;border:1px solid rgba(107,114,128,.3);border-radius:14px;background:#fff}.form-grid select,.form-grid input[type=number],.form-grid input[type=text],.form-grid input[type=date]{width:100%}.result-panel{display:grid;gap:10px;padding:20px;border-radius:18px;background:#fff7e8;border:1px solid rgba(180,83,9,.16)}.upload-card{display:grid;gap:20px}.upload-preview-card{padding:12px;border-radius:18px;background:#ffffffb8;border:1px solid rgba(107,114,128,.15)}.upload-preview-image{display:block;width:100%;max-height:320px;object-fit:contain;border-radius:12px;background:#fff}.status-text{color:#5a5f6b}.result-block{padding:20px;border-radius:18px;background:#f8fafc;border:1px solid rgba(15,23,42,.08);white-space:pre-wrap;word-break:break-word}.warnings-block{margin-top:16px}.warnings-list{margin:10px 0 0;padding-left:18px}.history-list{display:grid;gap:10px}.history-item{display:grid;grid-template-columns:110px 100px minmax(120px,1fr) minmax(120px,1fr);gap:12px;align-items:center;width:100%;padding:14px 16px;border-radius:14px;border:1px solid rgba(107,114,128,.2);background:#fff;text-align:left;cursor:pointer}.history-page-list{gap:12px}.history-item-card{grid-template-columns:110px 100px minmax(120px,1fr) minmax(120px,1fr) 140px;cursor:default}.inline-checkbox{display:flex;align-items:center;gap:10px}.quote-preview-sheet{padding:36px 42px;border-radius:12px;background:#fff;color:#161616;border:1px solid rgba(0,0,0,.12);box-shadow:0 18px 50px #00000014}.quote-preview-scroll{width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding-bottom:4px}.sheet-header{display:grid;gap:10px;margin-bottom:10px}.quote-logo{width:min(100%,360px);display:block;margin:0 0 4px}.sheet-title{margin:0;text-align:center;font-size:36px;font-weight:700}.sheet-divider{width:100%;height:1.5px;background:#85b58d}.sheet-recipient,.sheet-desc,.sheet-period-row,.sheet-reminder,.sheet-company{font-size:18px;line-height:1.7}.sheet-section-title{margin-top:14px;font-size:22px;font-weight:700}.sheet-basic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 24px;margin:8px 0}.sheet-basic-grid p,.sheet-info-list p{margin:0;font-size:18px;line-height:1.6}.sheet-table{width:100%;margin-top:12px;border-collapse:collapse;table-layout:fixed}.sheet-table th,.sheet-table td{border:1px solid #2a2a2a;padding:8px 10px;font-size:16px;text-align:center;vertical-align:middle;word-break:break-word}.sheet-table th:first-child,.sheet-table td:first-child{width:42%}.sheet-table th:nth-child(2),.sheet-table td:nth-child(2){width:16%}.sheet-table th:nth-child(3),.sheet-table td:nth-child(3){width:24%}.summary-row td{font-weight:700}.extra-table,.sheet-reminder{margin-top:18px}.sheet-company{margin-top:4px}.sheet-date-row{display:flex;justify-content:flex-end;margin-top:24px;font-size:18px;line-height:1.7}@media (max-width: 640px){.page-shell{padding:16px 10px 24px}.card{padding:16px;border-radius:16px}.heading-row{flex-direction:column;align-items:stretch}.heading-row .action-row,.template-tabs,.action-row{width:100%}.heading-row .action-row .secondary-link,.action-row .secondary-link,.action-row .primary-button{flex:1 1 0;width:100%}.template-tab{flex:1 1 calc(33.333% - 8px);min-width:88px;text-align:center;padding:10px 12px}.editor-panel{padding:14px}.editor-grid,.sheet-basic-grid{grid-template-columns:1fr}.form-grid,.result-grid,.info-grid{grid-template-columns:1fr;gap:12px}.date-control-group,.policy-date-group{grid-template-columns:1fr;gap:8px}.date-today-button,.secondary-link,.primary-button{justify-content:center}.checkbox-field{padding-top:8px}.history-item{grid-template-columns:1fr;gap:6px;padding:12px 14px}.history-item-card{grid-template-columns:1fr}.quote-preview-scroll{margin:0 -2px}.quote-preview-sheet,.quote-page .quote-sheet{width:210mm;min-width:210mm;max-width:none;margin:0}.result-panel{padding:14px 16px}.upload-preview-image{max-height:220px}.quote-page .quote-sheet-body{padding:0 5mm}.quote-page .quote-sheet-header,.quote-page .sheet-header{gap:6px;margin-bottom:8px}.quote-page .quote-logo{width:150px}.quote-page .quote-sheet-title,.quote-page .sheet-title{font-size:24px}.quote-page .quote-sheet-section-title,.quote-page .sheet-section-title{font-size:15px}.quote-page .quote-sheet-paragraph,.quote-page .sheet-recipient,.quote-page .sheet-desc,.quote-page .sheet-period-row,.quote-page .sheet-reminder,.quote-page .sheet-company,.quote-page .sheet-basic-grid p,.quote-page .sheet-info-list p,.quote-page .quote-sheet-table th,.quote-page .quote-sheet-table td,.quote-page .sheet-table th,.quote-page .sheet-table td,.quote-page .quote-sheet-date,.quote-page .sheet-date-row{font-size:11px}.quote-page .quote-sheet-table th,.quote-page .quote-sheet-table td,.quote-page .sheet-table th,.quote-page .sheet-table td{padding:4px 6px}.quote-page .sheet-desc,.quote-page .quote-sheet-section-title,.quote-page .sheet-section-title,.quote-page .sheet-basic-grid,.quote-page .sheet-info-list,.quote-page .sheet-period-row{margin-left:1.4em}}
