/* Component styles: isolated from the editor shell. All states use fill, color or underline. */
.ct-gp-summary{display:flex;align-items:center;gap:16px;padding:15px;background:#f7f7f7;border-radius:10px;min-height:112px}.ct-gp-summary-art{flex:0 0 54px;height:108px;border-radius:5px;background:#eeece8;overflow:hidden;display:grid;place-items:center;font-size:24px;color:#96938c}.ct-gp-summary-art img{display:block;width:100%;height:100%;object-fit:cover}.ct-gp-summary-copy{flex:1;min-width:0}.ct-gp-summary-copy small{display:block;color:#777e84;font-size:11px;margin-bottom:4px}.ct-gp-summary-copy strong{display:block;font-size:15px;font-weight:600}.ct-gp-summary-copy p{font-size:12px;color:#777e84;margin:5px 0 0}.ct-gp-summary-view{font-size:12px;padding:0;min-height:26px;text-decoration:underline;text-underline-offset:3px}.ct-gp-open{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;margin-top:12px;min-height:46px;background:#ff416c;color:#fff;border-radius:7px;font-weight:600}.ct-gp-open:hover{background:#ec315d;color:white}.ct-gp-open:focus-visible{background:#d82752;color:white}.ct-gp-open #catalog-count{font-size:12px;background:#ffffff30;border-radius:5px;padding:2px 6px}.ct-gp-open .ct-gp-arrow{margin-left:auto;font-size:20px;font-weight:400}.ct-gp-open .ct-gp-grid-icon{font-size:23px;font-weight:400}.ct-gp-open{padding:0 15px}/* Three full greeting samples keep their portrait composition at every width. */
.ct-gp-teasers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 0}
.ct-gp-teaser{display:flex;flex-direction:column;width:100%;padding:0;text-align:left;min-width:0;background:transparent;border-radius:7px;overflow:hidden;position:relative}
.ct-gp-teaser-art{display:block;width:100%;aspect-ratio:1/2;overflow:hidden;border-radius:7px;background:#f5f4f2}
.ct-gp-teaser img{width:100%;height:100%;object-fit:cover;display:block}
.ct-gp-teaser-name{display:block;font-size:11px;line-height:1.45;font-weight:600;margin-top:8px;padding:0 2px;overflow-wrap:anywhere}
.ct-gp-teaser:hover .ct-gp-teaser-name,.ct-gp-teaser:focus-visible .ct-gp-teaser-name{color:#cd2950;text-decoration:underline;text-underline-offset:3px}
.ct-gp-teaser:focus-visible{background:#fff0f3}
.ct-gp-summary{outline:0}
.ct-gp-summary-actions{display:grid;grid-template-columns:1fr;align-items:start;justify-items:start;gap:0;margin-top:6px;padding:0}
.ct-gp-summary-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px;min-width:0}
.ct-gp-summary-meta small{margin-bottom:0}
.ct-gp-summary-meta .ct-gp-summary-demo{font-size:11px;min-height:28px;padding:0;flex:none}
.ct-gp-summary-meta .ct-gp-summary-demo:hover,.ct-gp-summary-meta .ct-gp-summary-demo:focus-visible{background:transparent;color:#555d67;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.ct-gp-summary-edit,.ct-gp-summary-demo,.ct-gp-summary-clear{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;min-height:36px;margin:0;padding:5px 0;border-radius:4px;background:transparent;font-size:12px;font-weight:600;max-width:100%;text-align:left;line-height:1.4;text-decoration:none}
.ct-gp-summary-edit{color:#c72f53;min-width:0}
.ct-gp-summary-demo{color:#555d67;font-weight:400}
.ct-gp-summary-clear{color:#747880;font-size:12px;font-weight:400}
.ct-gp-summary-actions button:hover{background:transparent;color:#ab2042;text-decoration:none}
.ct-gp-summary-actions button:focus-visible{background:#ffe1e9;color:#a61e3d;text-decoration:none}
.ct-gp-summary-edit svg,.ct-gp-summary-clear svg,.ct-gp-summary-demo svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.ct-gp-summary-art{height:108px}
.ct-greeting-setting.ct-greeting-has-selection .ct-gp-open{background:#f2f2f4;color:#45464c}
.ct-greeting-setting.ct-greeting-has-selection .ct-gp-open:hover,.ct-greeting-setting.ct-greeting-has-selection .ct-gp-open:focus-visible{background:#ffe8ee;color:#cd2950}
.ct-greeting-setting.ct-greeting-has-selection #catalog-count{background:#e5e5e8;color:#606068}
@media(max-width:460px){.ct-gp-teasers{gap:9px}.ct-gp-teaser-name{font-size:10px}.ct-gp-summary{gap:12px;padding:14px}.ct-gp-summary-edit,.ct-gp-summary-clear{font-size:11px}}
.ct-gp-dialog{--ct-gp-accent:#ff416c;color:#252525;width:min(1120px,calc(100vw - 56px));height:min(900px,calc(100dvh - 56px));max-width:none;max-height:none;margin:auto;padding:0;background:#fff;border-radius:16px;overflow:hidden;font:14px/1.45 'Open Sans',sans-serif}.ct-gp-dialog::backdrop{background:rgba(27,23,25,.38)}.ct-gp-dialog button,.ct-gp-dialog input{border:0;outline:0;box-shadow:none;font:inherit}.ct-gp-dialog button{min-height:40px}.ct-gp-catalog-view,.ct-gp-detail-view{height:100%;display:flex;flex-direction:column;min-height:0}.ct-gp-header{display:flex;justify-content:space-between;align-items:flex-start;padding:26px 30px 18px;gap:20px}.ct-gp-header h2{font-size:26px;line-height:1.25;margin:0 0 7px;font-weight:600}.ct-gp-header p{font-size:13px;color:#7c7c81;margin:0}.ct-gp-close{flex:0 0 40px;width:40px;height:40px;border-radius:8px;background:#f5f5f5!important;color:#7b7e85!important;font:30px/1 Arial!important;display:grid;place-items:center;padding:0}.ct-gp-close:hover,.ct-gp-close:focus-visible{background:#ffe5ec!important;color:#b8254b!important}.ct-gp-tools{padding:0 30px 19px}.ct-gp-filters{display:flex;gap:8px;flex-wrap:wrap;margin-top:0}.ct-gp-filters button{border-radius:6px;background:#f5f5f6;padding:0 15px;min-height:36px;white-space:nowrap;font-size:13px}.ct-gp-filters button[aria-pressed=true]{background:#ffe8ee;color:#cd2950;font-weight:600}.ct-gp-filters button:focus-visible{background:#ffdae4;text-decoration:underline;text-underline-offset:4px}.ct-gp-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 30px 26px;scrollbar-width:thin;scrollbar-color:#cfcfd3 transparent}.ct-gp-none{width:100%;display:flex;align-items:center;text-align:left;gap:12px;padding:13px 16px;background:#f7f7f7;border-radius:8px}.ct-gp-none-icon{background:#ececee;color:#7f8188;width:38px;height:42px;display:grid;place-items:center;border-radius:5px;font-size:21px}.ct-gp-none strong{display:block;font-size:13px;font-weight:600}.ct-gp-none small{display:block;font-size:12px;color:#85858b;margin-top:3px}.ct-gp-none-state{margin-left:auto;font-size:12px;color:#ca2f53}.ct-gp-none.is-selected{background:#fff0f3}.ct-gp-result-count{font-size:12px;color:#80818a;margin:22px 0 14px}.ct-gp-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px 16px}.ct-gp-card{min-width:0;position:relative}.ct-gp-card-button{display:block;width:100%;padding:0;text-align:left;border-radius:9px;background:transparent}.ct-gp-card-art{display:block;aspect-ratio:1/2;background:#f4f3f1;border-radius:9px;overflow:hidden;position:relative}.ct-gp-card-art img{display:block;width:100%;height:100%;object-fit:cover}.ct-gp-card-button:hover .ct-gp-card-name{color:#ce2d52}.ct-gp-card-button:focus-visible .ct-gp-card-name{text-decoration:underline;text-underline-offset:4px;color:#ce2d52}.ct-gp-card-button:focus-visible{background:#fff0f3}.ct-gp-card-name{display:block;font-size:13px;font-weight:600;line-height:1.4;margin:10px 0 4px;overflow-wrap:anywhere}.ct-gp-card-kind{display:block;color:#85858c;font-size:11px}.ct-gp-selected-badge{position:absolute;top:9px;right:9px;z-index:1;border-radius:5px;color:#fff;background:#ff416c;font-size:10px;padding:5px 7px}.ct-gp-card.is-selected .ct-gp-card-name{color:#ce2d52}.ct-gp-card.is-selected .ct-gp-card-button{background:#fff0f3}.ct-gp-card.is-selected .ct-gp-card-name,.ct-gp-card.is-selected .ct-gp-card-kind{padding-left:7px;padding-right:7px}.ct-gp-card.is-selected .ct-gp-card-kind{padding-bottom:8px}.ct-gp-missing{height:100%;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;padding:15px;color:#9b9790;font-size:12px;background:#f1f0ed}.ct-gp-missing b{font-size:30px;font-weight:400}.ct-gp-empty{text-align:center;padding:35px 16px 50px;color:#777a82}.ct-gp-empty>span{font-size:40px}.ct-gp-empty h3{color:#252525;font-size:20px;margin:8px 0}.ct-gp-empty p{max-width:300px;margin:0 auto 20px}.ct-gp-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fafafa;padding:14px 30px}.ct-gp-footer p{font-size:12px;color:#808189;margin:0}.ct-gp-footer strong{font-weight:600;color:#35353c}.ct-gp-soft{padding:0 20px;border-radius:7px;background:#f0f0f2;color:#53535d}.ct-gp-soft:hover,.ct-gp-soft:focus-visible{background:#ffe8ee;color:#ca2c51}.ct-gp-more{display:block;margin:28px auto 0}.ct-gp-detail-header{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;gap:16px;padding:18px 30px}.ct-gp-detail-header .ct-gp-back{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0;color:#777a82;font-size:13px;line-height:20px}.ct-gp-detail-header svg{display:block;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ct-gp-back svg{width:16px;height:16px}.ct-gp-detail-header .ct-gp-close svg{width:20px;height:20px}.ct-gp-detail-scroll{flex:1;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px;overflow:hidden;padding:0 30px 20px}.ct-gp-detail-title{font-size:22px;font-weight:600;line-height:1.25;text-align:center;margin:0;overflow-wrap:anywhere}.ct-gp-detail-title:focus-visible{text-decoration:none}.ct-gp-detail-heading{display:grid;justify-items:center;gap:2px;min-width:0}.ct-gp-effect-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0 12px;min-width:0}.ct-gp-dialog .ct-gp-preview-effect{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 10px;border-radius:6px;background:transparent;color:#626772;font-size:12px;text-decoration:none}.ct-gp-preview-effect svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.ct-gp-dialog .ct-gp-preview-effect:hover,.ct-gp-dialog .ct-gp-preview-effect:focus-visible{background:#ffe8ee;color:#c72f53;text-decoration:none}.ct-gp-effect-status{color:#777a82;font-size:11px;text-align:center;max-width:100%}.ct-gp-detail-art{background:#f5f4f2;border-radius:12px;display:flex;align-items:center;justify-content:center;min-height:0;min-width:0;overflow:hidden;padding:12px;container-type:size}.ct-gp-detail-art>img,.ct-gp-detail-art>.ct-gp-missing,.ct-gp-detail-art>.ct-gp-none-art{box-sizing:border-box;flex:none;width:min(100cqw,50cqh);height:min(100cqh,200cqw);min-height:0;max-width:100%;max-height:100%;border-radius:8px}.ct-gp-detail-art img{display:block;object-fit:cover}.ct-gp-detail-art .ct-gp-none-art{display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fff;color:#171717;font-size:18px;line-height:1.45;text-align:center;padding:16px}.ct-gp-detail-footer{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:16px 30px;background:#fafafa;gap:20px}.ct-gp-detail-nav{display:flex;align-items:center;gap:14px;color:#8a8b92;font-size:12px}.ct-gp-detail-nav .ct-gp-soft{padding:0;width:42px;font-size:20px}.ct-gp-primary{background:#ff416c;color:#fff;min-height:46px!important;padding:0 30px;border-radius:7px;font-weight:600!important}.ct-gp-primary:hover,.ct-gp-primary:focus-visible{background:#dc2a53;color:white}.ct-gp-primary:disabled{background:#efedf0;color:#838189;opacity:1}.ct-gp-dialog :focus-visible{text-decoration:underline;text-underline-offset:4px}.ct-gp-dialog h2:focus{outline:0;text-decoration:none}.ct-gp-dialog input:focus-visible{text-decoration:none}
@media(max-width:1050px){.ct-gp-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.ct-gp-dialog{width:100vw;height:100dvh;border-radius:0}.ct-gp-header{padding:22px 18px 16px;gap:8px}.ct-gp-header h2{font-size:22px}.ct-gp-header p{font-size:12px}.ct-gp-tools{padding:0 18px 16px}.ct-gp-filters{gap:7px;flex-wrap:nowrap;overflow-x:auto;margin-left:-18px;margin-right:-18px;padding:0 18px 3px;scrollbar-width:none}.ct-gp-filters button{padding:0 12px;font-size:12px}.ct-gp-scroll{padding:0 18px 24px}.ct-gp-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 12px}.ct-gp-footer{padding:12px 18px;gap:8px}.ct-gp-footer p{font-size:11px}.ct-gp-footer .ct-gp-soft{padding:0 18px;flex:none}.ct-gp-card-name{font-size:12px}.ct-gp-card-kind{font-size:10px}.ct-gp-selected-badge{top:6px;right:6px;font-size:9px}.ct-gp-detail-header{padding:12px 20px}.ct-gp-detail-scroll{padding:0 20px 14px;gap:12px}.ct-gp-detail-title{font-size:20px}.ct-gp-detail-art{padding:8px}.ct-gp-detail-footer{padding:12px 18px;gap:10px;flex-wrap:wrap}.ct-gp-detail-nav{gap:10px}.ct-gp-primary{flex:1;padding:0 15px;font-size:13px!important}.ct-gp-none{padding:11px 12px}.ct-gp-none-state{font-size:11px}.ct-gp-detail-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
@media(max-width:460px){.ct-gp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.ct-gp-card-name{font-size:13px}.ct-gp-card-kind{font-size:11px}.ct-gp-detail-nav{width:100%;justify-content:center}.ct-gp-primary{width:100%}}
@media(min-width:1051px){.ct-gp-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}

/* Cards open their content editor directly. */
.ct-gp-card-action{display:flex;align-items:center;gap:6px;min-height:30px;margin-top:6px;color:#c72f53;font-size:12px;font-weight:600}
.ct-gp-card-action svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ct-gp-card.is-selected .ct-gp-card-kind{padding-bottom:0}
.ct-gp-card.is-selected .ct-gp-card-action{padding:0 7px 5px}
@media(max-width:700px){.ct-gp-card-action{font-size:11px;gap:5px}}

/* Keep the lower tap cue visible in this taller source thumbnail. */
.ct-gp-card-art img[src$="/zaglu7.webp"],.ct-gp-teaser-art img[src$="/zaglu7.webp"],.ct-gp-summary-art img[src$="/zaglu7.webp"],.ct-gp-detail-art img[src$="/zaglu7.webp"]{object-position:center bottom}

/* Demo remains a small static window, including on mobile. */
.ct-gp-dialog.is-demo-preview{width:min(390px,calc(100vw - 32px));height:min(700px,calc(100dvh - 80px));border-radius:16px}
.is-demo-preview .ct-gp-detail-header{padding:16px 18px;gap:12px}
.is-demo-preview .ct-gp-detail-title{font-size:17px;text-align:left;line-height:1.35}
.is-demo-preview .ct-gp-detail-art{flex:1;min-height:0;margin:0 18px;padding:10px}
.is-demo-preview .ct-gp-detail-footer{padding:14px 18px;display:block;background:transparent}
.is-demo-preview .ct-gp-primary{width:100%;font-size:12px!important;padding:0 12px}
