.template-shell{padding:24px 0 40px}.template-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.template-note{margin-bottom:18px}.template-paper{max-width:900px;margin:0 auto;background:#fff;color:#111;border:1px solid rgba(0,0,0,.14);border-radius:18px;padding:34px;box-shadow:0 18px 45px rgba(23,38,31,.09)}.template-paper h1{font-size:28px;line-height:1.15;text-align:center;margin:0 0 18px}.template-paper h2{font-size:19px;margin:24px 0 10px}.template-paper p,.template-paper li,.template-paper td,.template-paper th{color:#111}.template-paper .muted{color:#555;font-size:13px}.template-paper .field{display:inline-block;min-width:150px;min-height:1.5em;border-bottom:1px solid #333;padding:0 4px}.template-paper .field.block{display:block;width:100%;min-height:42px;border:1px solid #777;border-radius:6px;padding:8px;margin:6px 0 10px}.template-paper .field.tall{min-height:86px}.template-paper [contenteditable=true]:focus{outline:2px solid rgba(47,125,90,.35);outline-offset:2px}.template-table{width:100%;border-collapse:collapse;margin:10px 0 18px}.template-table th,.template-table td{border:1px solid #555;padding:8px;vertical-align:top}.template-table th{background:#f2f2f2;font-size:13px}.signature-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:28px}.template-actions-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.template-copy-status{font-size:13px;color:var(--muted);align-self:center}@media(max-width:620px){.template-shell{padding-top:10px}.template-paper{padding:20px 16px;border-radius:14px}.template-paper h1{font-size:23px}.signature-grid{grid-template-columns:1fr;gap:16px}.template-table{font-size:12px}.template-table th,.template-table td{padding:6px}.template-toolbar .btn{flex:1;justify-content:center}}@media print{.header,.footer,.template-toolbar,.template-note,.skip-link{display:none!important}body{background:#fff!important}.container{width:100%!important}.template-shell{padding:0}.template-paper{max-width:none;border:0;border-radius:0;padding:0;box-shadow:none}.template-paper [contenteditable=true]{outline:none!important}.template-table tr{break-inside:avoid}}
