.template-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:17px 0 24px}.template-option{cursor:pointer;background:#101e2a;border:2px solid #315061;border-radius:16px;overflow:hidden;color:#fff;text-align:left;padding:0;transition:border-color .15s}.template-option[aria-checked="true"]{border-color:#52e3f1;box-shadow:0 0 0 2px #52e3f122}.template-option .swatch{height:105px;padding:14px 12px;display:flex;flex-direction:column;justify-content:center;gap:5px}.template-option .swatch b{font-family:Georgia,serif;font-size:20px}.template-option .swatch i{width:75%;height:9px;border-radius:10px;background:#ffffff55}.template-option .option-copy{padding:11px;font-size:13px}.template-option .option-copy small{display:block;color:#afbfcb;margin-top:2px}.template-preview{background:var(--template-bg,#142f3a);color:var(--template-fg,#fff);padding:19px;border-radius:15px;margin-top:18px;text-align:center;border:1px solid var(--template-accent,#6bddef);min-height:410px}.template-preview h2{font-size:30px;line-height:1.08;overflow-wrap:anywhere;margin:16px 0}.template-preview p{color:inherit;font-size:14px;opacity:.88}.template-preview .template-logo{font-weight:900;letter-spacing:.14em;font-size:12px;margin:0 auto 9px}.template-preview .template-logo img{max-height:70px;max-width:130px;object-fit:contain}.template-image{min-height:85px;border-radius:12px;background:linear-gradient(130deg,#ffffff27,#00000016);margin:10px 0;background-position:center;background-size:cover}.template-eyebrow{font-size:10px;letter-spacing:.2em;font-weight:800;opacity:.85}.template-button{background:var(--template-accent,#6bddef);color:#0b1216;border-radius:9px;padding:12px;margin:18px 0;font-weight:900}.template-about{border-top:1px solid #ffffff50;padding:19px 0;text-align:left}.template-about strong{font-size:17px}.template-editor{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr);align-items:start}.template-editor aside{position:sticky;top:15px}.template-option:focus-visible{outline:2px solid #fff;outline-offset:3px}@media(max-width:900px){.template-options{grid-template-columns:repeat(2,minmax(0,1fr))}.template-editor{grid-template-columns:1fr}.template-editor aside{position:static}}@media(max-width:490px){.template-option .swatch{height:80px}.template-option .option-copy{font-size:11px}.template-options{gap:7px}}
/* Flexible, compact custom color controls */
.cv-template-palette{padding:12px;border:1px solid #345363;border-radius:13px;margin:10px 0;background:#0d2230}.cv-template-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cv-template-color-grid .field{min-width:0}.cv-template-color-grid input[type=color]{height:42px;width:100%;padding:4px;border-radius:10px;cursor:pointer}.template-preview h2{color:var(--template-heading,var(--template-fg))}.template-preview .template-button{background:var(--template-button,var(--template-accent));color:var(--template-bg);border:1px solid var(--template-accent)}.template-preview .template-about{background:var(--template-panel,transparent);border-radius:10px;padding:14px}.template-options{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:720px){.template-options{grid-template-columns:repeat(2,minmax(0,1fr))}.template-option .swatch{height:70px;padding:10px}.template-option .swatch b{font-size:15px}.template-option .option-copy{padding:8px;font-size:12px}}

/* Never reserve a placeholder photo/logo when the business has not uploaded it. */
.template-preview .template-image[hidden],.template-preview .template-logo[hidden]{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;}
