.template-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.template-card{border:2px solid #dce5ef;border-radius:16px;background:#fff;overflow:hidden}.template-card.selected{border-color:#2365b7;box-shadow:0 0 0 3px #2365b710}.template-select{display:flex;align-items:center;gap:16px;background:transparent;border:0;width:100%;padding:18px;text-align:left;color:#193751}.template-select img{width:92px;height:130px;object-fit:contain;background:#f0f4f9;box-shadow:0 2px 12px #1234;flex:none}.template-select strong,.template-select small,.template-choice{display:block}.template-select small{margin-top:6px;color:#6a7e96}.template-select p{font-size:12px;line-height:1.6;margin:9px 0}.template-choice{font-size:13px;color:#2464a9}.template-look{width:100%;border-top:1px solid #e1e8ef!important;border-radius:0!important;padding:12px!important}.quote-select-label{display:none!important}#filled-preview{display:block;margin:12px 0;width:100%}.quote-preview-dialog{width:min(1100px,95vw);height:92vh;max-width:95vw;max-height:94vh;border:0;border-radius:16px;padding:0;background:#e8edf3;color:#193751;overflow:hidden;box-shadow:0 20px 80px #0b234970}.quote-preview-dialog::backdrop{background:#0a1b34ad}.preview-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:15px 22px;background:#fff;border-bottom:1px solid #cad7e5}.preview-toolbar h2{font-size:19px;margin:0 0 5px}.preview-toolbar p{font-size:12px;line-height:1.5;margin:0;color:#667991}.preview-toolbar button{flex-shrink:0}.preview-body{height:calc(100% - 100px);overflow:auto;padding:12px;overscroll-behavior:contain}.preview-page{max-width:790px;margin:12px auto 25px}.preview-page img{width:100%;display:block;box-shadow:0 4px 20px #11274420}.preview-page figcaption{font-size:13px;color:#526b87;margin-bottom:8px}.preview-loading{padding:30px;text-align:center}.rcdocx-wrapper{padding:12px!important;background:transparent!important}#docx-pages{transform-origin:top left}#docx-pages section.rcdocx{box-shadow:0 4px 20px #11274420;margin:0 auto 20px!important}@media(max-width:1100px){.template-picker{grid-template-columns:1fr}.template-select img{width:72px;height:100px}.template-select p{margin:5px 0}.template-look{text-align:left;padding-left:106px!important}}@media(max-width:600px){.preview-toolbar{padding:12px;gap:8px}.preview-toolbar h2{font-size:16px}.preview-toolbar p{font-size:11px}.preview-toolbar button{font-size:12px;padding:8px!important}.preview-body{height:calc(100% - 126px);padding:6px}.quote-preview-dialog{width:97vw;max-width:97vw}.template-select{gap:12px;padding:14px}.template-select img{width:65px}.template-select strong{font-size:15px}}
