.template-card{position:relative}.template-zoom-trigger{position:absolute;right:12px;top:12px;width:34px;height:34px;display:grid;place-items:center;padding:0;border:1px solid var(--border-strong);border-radius:5px;background:#fff;color:var(--brand-navy);font-size:24px;line-height:1;cursor:pointer;box-shadow:0 2px 6px var(--shadow);z-index:1}.template-zoom-trigger:hover{background:var(--tint-cyan)}.template-zoom-trigger:focus-visible,.template-zoom-heading button:focus-visible{outline:3px solid var(--brand-magenta);outline-offset:3px}.template-zoom-dialog{width:min(1000px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);padding:20px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--text);box-sizing:border-box;overflow:auto}.template-zoom-dialog::backdrop{background:#01205499}.template-zoom-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.template-zoom-heading h2{margin:0;font-size:20px}.template-zoom-heading button{width:38px;height:38px;flex-shrink:0;padding:0;display:grid;place-items:center;border:1px solid var(--border-strong);background:#fff;color:var(--brand-navy);border-radius:4px;font-size:26px;cursor:pointer}.template-zoom-dialog>img{display:block;width:100%;height:auto;max-height:calc(100dvh - 145px);object-fit:contain;background:var(--surface);border:1px solid var(--border)}@media(max-width:580px){.template-zoom-dialog{padding:14px}.template-zoom-heading h2{font-size:17px}.template-zoom-trigger{width:40px;height:40px}}
