
.cgn-template-library{margin:12px 0 24px;padding:14px;border:1px solid #d5dce6;border-radius:10px;background:#f8fafc}
.cgn-template-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cgn-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:440px;overflow-y:auto;padding:3px}
.cgn-template-grid button{display:block;padding:0!important;overflow:hidden;border-radius:8px;text-align:left;min-width:0}
.cgn-template-grid button[hidden]{display:none}
.cgn-template-grid img{display:block;width:100%;height:auto;aspect-ratio:1000/740;background:#11121c}
.cgn-template-grid strong,.cgn-template-grid span{display:block;padding:4px 7px;font-size:12px;line-height:1.35}
.cgn-template-grid span{font-size:10px;color:#536078}
.cgn-template-editor{margin-top:16px;padding:14px;background:#fff;border:2px solid #175aa4;border-radius:8px}
.cgn-template-editor input{width:100%;font-size:18px!important}
.cgn-template-editor small{display:block;font-size:11px;letter-spacing:normal}
.cgn-template-editor button{margin:5px 5px 0 0}
.cgn-template-native-hidden,.cgn-template-active .cgn-trace,.cgn-template-active .cgn-font-picker,.cgn-template-active .cgn-chips[aria-label="color options"]{display:none!important}
.cgn-template-active .cgn-studio .cgn-presets{display:none}
@media(max-width:480px){.cgn-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:360px}.cgn-template-tools{grid-template-columns:1fr}}

