.gx-template-panel,.gx-template-library{padding:24px;margin:24px 0;border:1px solid var(--gx-line,#dddcdf);border-radius:16px;background:#fff;color:var(--gx-ink,#111116);font-family:Jost,Inter,sans-serif;line-height:1.6}
.gx-template-kicker{color:var(--gx-violet-deep,#443acc);font-size:12px;font-weight:600;letter-spacing:.08em}
.gx-template-panel h2,.gx-template-library h2{margin:8px 0 12px;font-size:clamp(23px,3vw,30px);line-height:1.2}
.gx-template-panel label,.gx-template-library label{display:block;font-weight:600;margin:16px 0 8px}
.gx-template-panel select,.gx-template-library input{display:block;width:100%;max-width:640px;min-height:46px;padding:10px 12px;border:1px solid var(--gx-line,#dddcdf);border-radius:8px;font:inherit;background:#fff;color:inherit}
.gx-template-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;margin:8px 0;border-radius:9px;background:var(--gx-violet-deep,#443acc);color:#fff!important;text-decoration:none!important;font-weight:600}
.gx-template-button:hover{background:var(--gx-ink,#111116)}
.gx-template-panel :focus-visible,.gx-template-library :focus-visible{outline:3px solid var(--gx-violet,#5b51f5);outline-offset:3px}
.gx-template-note,.gx-template-card p{font-size:14px;color:var(--gx-muted,#60606b)}
.gx-template-login{padding:16px;background:var(--gx-paper,#f9f8f5);border-radius:10px}
.gx-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px;margin-top:18px}
.gx-template-card{padding:18px;border:1px solid var(--gx-line,#dddcdf);border-radius:12px;min-width:0}
.gx-template-card h3{font-size:18px;line-height:1.35;margin:0;overflow-wrap:anywhere}
.gx-template-panel [hidden],.gx-template-library [hidden]{display:none!important}
@media(max-width:600px){.gx-template-panel,.gx-template-library{padding:18px}.gx-template-button{width:100%}}

.gx-template-item-action{clear:both;padding:10px 0 0;font-family:Jost,Inter,sans-serif}
.gx-template-item-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:9px 14px;border:1px solid var(--gx-violet-deep,#443acc);border-radius:8px;color:var(--gx-violet-deep,#443acc)!important;background:#fff;text-decoration:none!important;font-size:14px;font-weight:600;line-height:1.4}
.gx-template-item-button:hover{background:var(--gx-violet-deep,#443acc);color:#fff!important}
.gx-template-item-button:focus-visible{outline:3px solid var(--gx-violet,#5b51f5);outline-offset:3px}
.gx-template-item-pending{font-size:13px;color:var(--gx-muted,#60606b)}
