/* Shared public template picker, loaded after the marketing template styles. */
.ws-template-catalog .ws-template-card { display:block; width:100%; padding:0; border:0; background:transparent; color:#132440; font:inherit; text-align:left; cursor:pointer; }
.ws-template-catalog .ws-template-card .ws-example-preview { display:block; overflow:hidden; border:1px solid #dce6f5; border-radius:18px; background:#edf3fa; }
.ws-template-catalog .ws-template-card img { display:block; width:100%; height:auto; aspect-ratio:1.44; object-fit:cover; object-position:top; transform:none; }
.ws-template-catalog .ws-template-card-name { display:block; padding:16px 0 4px; font-size:18px; font-weight:750; line-height:1.4; letter-spacing:-.02em; }
.ws-template-catalog .ws-example-card,.ws-template-catalog .ws-example-card:hover { background:transparent; border:0; border-radius:0; box-shadow:none; transform:none; }
.ws-template-catalog .ws-template-card:hover .ws-template-card-name { color:#175be6; }
.ws-template-catalog .ws-template-card:focus-visible { outline:3px solid #2563eb; outline-offset:4px; border-radius:18px; }
.ws-template-detail { box-sizing:border-box; width:min(1040px,calc(100% - 48px)); height:min(616px,calc(100dvh - 64px)); max-width:none; max-height:none; margin:auto; padding:0; overflow:hidden; border:1px solid #e0e8f5; border-radius:22px; background:#fff; color:#14243f; box-shadow:0 30px 100px #102a5240; font-family:var(--w-font-body,Manrope,system-ui,sans-serif); text-align:left; }
.ws-template-detail::backdrop { background:#e4e8efd1; backdrop-filter:blur(8px); }
.ws-template-detail * { box-sizing:border-box; }
.ws-template-detail-layout { display:grid; grid-template-columns:minmax(0,1.19fr) minmax(0,1fr); height:100%; }
.ws-template-detail-stage { position:relative; min-width:0; min-height:0; overflow:hidden; padding:22px; background:#fff; }
.ws-template-screenshot { width:100%; height:100%; overflow:auto; overscroll-behavior:contain; border:1px solid #dce5f2; border-radius:14px; background:#fff; }
.ws-template-screenshot img { display:block; width:100%; height:auto; }
.ws-template-detail iframe { display:block; width:100%; height:100%; border:1px solid #dce5f2; border-radius:14px; background:#fff; }
.ws-template-live-status { position:absolute; top:28px; left:28px; right:28px; margin:0; padding:12px 16px; border-radius:10px; background:#eff5ff; color:#214d94; font-size:14px; }
.ws-template-detail-info { min-width:0; overflow:auto; padding:72px 40px 36px; border-left:1px solid #e3eaf4; }
.ws-template-detail .ws-template-detail-info h2 { margin:0 0 24px; max-width:none; color:#182030; font-weight:400; text-align:left; letter-spacing:normal; text-wrap:wrap; }
.ws-template-detail-name { display:block; font:400 clamp(30px,3.5vw,46px)/1.1 Georgia,serif; letter-spacing:-.035em; overflow-wrap:anywhere; }
.ws-template-detail-subtitle { display:block; margin-top:8px; color:#5a5d64; font:400 20px/1.4 var(--w-font-body,Manrope,system-ui,sans-serif); letter-spacing:normal; }
.ws-template-detail-info h2::after { content:''; display:block; width:50px; height:2px; margin-top:22px; background:#2773dc; }
.ws-template-detail .ws-template-description { margin:0 0 22px; color:#515963; font-size:14px; line-height:1.8; }
.ws-template-detail .ws-template-tags { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 36px; padding:0; list-style:none; }
.ws-template-tags li { padding:7px 12px; border-radius:999px; background:#edf4ff; color:#2357ac; font-size:12px; line-height:1.4; }
.ws-template-detail-actions { display:grid; gap:12px; }
.ws-template-detail-actions :is(button,a) { display:flex; justify-content:center; align-items:center; min-height:56px; padding:12px 18px; border:1px solid #c8d7ee; border-radius:8px; background:#fff; color:#235bce; font-family:inherit; font-size:15px; font-weight:550; line-height:1.4; text-decoration:none; text-align:center; cursor:pointer; }
.ws-template-detail-actions .ws-template-select { background:#2563eb; color:white; border-color:#2563eb; }
.ws-template-detail-actions svg { width:24px; height:24px; flex:none; margin-right:12px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.ws-template-detail .ws-template-detail-note { display:flex; align-items:flex-start; gap:8px; margin:36px 0 0; color:#626975; font-size:12px; line-height:1.6; }
.ws-template-detail .ws-template-detail-note svg { width:20px; height:20px; flex:none; fill:none; stroke:currentColor; stroke-width:1.3; stroke-linecap:round; stroke-linejoin:round; }
.ws-template-live-button:hover { background:#eff5ff; }
.ws-template-detail-actions .ws-template-select:hover { background:#194dcd; }
.ws-template-detail-close { position:absolute; z-index:2; top:20px; right:20px; display:grid; place-items:center; width:40px; height:40px; padding:0; border:1px solid #dce5f2; border-radius:50%; background:#fff; color:#42546f; font:400 28px/1 system-ui,sans-serif; cursor:pointer; }
.ws-template-detail :is(button,a,[tabindex]):focus-visible { outline:3px solid #2563eb; outline-offset:-3px; }
.ws-template-detail [hidden] { display:none!important; }
html:has(.ws-template-detail[open]) { overflow:hidden; }
@media(max-width:800px) {
 .ws-template-detail { width:calc(100% - 20px); height:calc(100dvh - 24px); border-radius:20px; overflow:auto; }
 .ws-template-detail-layout { grid-template-columns:minmax(0,1fr); height:auto; }
 .ws-template-detail-stage { height:48dvh; min-height:240px; padding:12px; padding-top:56px; }
 .ws-template-detail-info { padding:28px; border-left:0; border-top:1px solid #e3eaf4; overflow:visible; }
 .ws-template-detail .ws-template-detail-info h2 { margin:0 0 20px; }
 .ws-template-detail-name { font-size:34px; }
 .ws-template-detail-subtitle { font-size:18px; }
 .ws-template-detail .ws-template-detail-note { margin-top:28px; }
 .ws-template-detail .ws-template-tags { margin-bottom:24px; }
 .ws-template-live-status { top:62px; left:20px; right:20px; }
}
@media(prefers-reduced-motion:no-preference) { .ws-template-detail[open] { animation:template-detail-arrive .18s ease-out; } @keyframes template-detail-arrive { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } } }
