.template-cover-media{display:block;position:relative;overflow:hidden}.template-cover-media>:is(img,video){object-fit:cover;opacity:0;pointer-events:none;border-radius:0;width:100%;height:100%;max-height:none;transition:opacity .2s;position:absolute;inset:0}.template-cover-media>[data-ready=true]{opacity:1}@media (prefers-reduced-motion:reduce){.template-cover-media>:is(img,video){transition:none}}.showcase--expanded .showcase-section--all{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px 12px;display:grid}.showcase--compact.showcase--expanded .showcase-topline{grid-area:1/1;min-width:0;margin:0}.showcase--expanded .template-filter-toolbar{display:contents}.showcase--expanded .template-category-picker{--chip-menu-anchor-gap:var(--generator-dropdown-gap);grid-area:1/3;justify-self:end}.showcase--expanded .template-type-filters{grid-area:1/2}.template-type-filters .filter-segment-count{inline-size:3ch}.showcase--expanded .showcase-gallery{grid-column:1/-1;min-width:0}.showcase--expanded .template-filter-reset:focus-visible,.showcase--expanded .template-type-filters button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (width>=1100px){.showcase--expanded .showcase-section--all{row-gap:55px}}@media (width<=820px){.showcase--expanded .showcase-section--all{grid-template-columns:minmax(0,1fr) auto;gap:12px 10px}.showcase--expanded .template-category-picker{grid-column:2;max-width:160px}.showcase--expanded .template-type-filters{grid-area:2/1/auto/-1}.showcase--expanded .template-type-filters button{flex:1 1 0;gap:5px;padding-inline:3px;font-size:12px}}@media (width<=620px){.showcase--expanded .showcase-gallery{margin-top:8px}}.showcase--expanded .template-filter-reset{border:1px solid var(--border);background:var(--surface-soft);color:var(--foreground);font:inherit;border-radius:9px;padding:8px 12px;font-size:12px}.showcase--expanded .template-category-groups{gap:32px;display:grid}.showcase--expanded .template-category-heading{align-items:baseline;gap:10px;margin:0 0 14px;display:flex}.showcase--expanded .template-category-heading h3{color:var(--foreground);margin:0;font-size:18px;font-weight:600;line-height:1.4}.showcase--expanded .template-category-heading>span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.showcase--expanded .template-category-group .showcase-grid{margin:0}@media (width<=620px){.showcase--expanded .template-category-groups{gap:26px}.showcase--expanded .template-category-heading{gap:8px;margin-bottom:12px}.showcase--expanded .template-category-heading h3{font-size:16px}}.showcase--expanded .template-category-group[hidden],.showcase--expanded .template-category-group .showcase-grid>li[hidden]{display:none}.template-catalog-loader{width:max-content;height:auto;box-shadow:none;pointer-events:none;background:0 0;border:0;outline:0;place-items:center;margin:0;padding:0;display:grid;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.showcase--expanded .template-category-picker{flex:none;width:180px;min-width:0;max-width:100%;position:relative}.showcase--expanded .template-category-picker .chip-button{width:180px;max-width:100%;min-height:var(--workspace-filter-height);border:1px solid var(--border);background:var(--surface-soft);color:var(--foreground);box-shadow:none;font:inherit;border-radius:9px;align-items:center;gap:8px;margin:0;padding:5px 11px;font-size:13px;font-weight:400;display:inline-flex}.showcase--expanded .template-category-picker .chip-button:hover,.showcase--expanded .template-category-picker .chip-button[aria-expanded=true]{border-color:color-mix(in srgb, var(--foreground) 15%, var(--border));background:var(--surface-soft);color:var(--foreground)}.showcase--expanded .template-category-picker .chip-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.showcase--expanded .template-category-picker .chip-label{text-align:left;flex:1;min-width:0}.showcase--expanded .template-category-picker .chip-label>span:first-child{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.showcase--expanded .template-category-picker .chip-label-sizer{display:none}.showcase--expanded .template-category-picker .chip-tooltip{inset-inline:auto 0}.showcase--expanded .template-category-picker .chip-caret{stroke-width:1.7px;width:16px;height:16px;color:var(--muted);margin-left:5px;transform:rotate(180deg)}.showcase--expanded .template-category-picker .chip-button[aria-expanded=true] .chip-caret{transform:none}.showcase--expanded .template-category-picker .chip-menu{box-sizing:border-box;width:260px;min-width:0;max-width:calc(100vw - 32px);max-height:min(400px, 52dvh, var(--chip-menu-available-height,52dvh));border:1px solid var(--border);background:var(--surface);z-index:30;transform:translateX(var(--chip-menu-offset-x,0px));border-radius:12px;flex-direction:column;gap:0;padding:6px;display:flex;overflow:hidden;box-shadow:0 12px 32px #0004}.showcase--expanded .template-category-picker .chip[data-menu-placement=below]>.chip-menu{top:calc(100% + var(--generator-dropdown-gap) + var(--chip-menu-below-offset,0px));bottom:auto}.showcase--expanded .template-category-picker .chip-menu-sizer{display:none}.showcase--expanded .template-category-picker .chip-menu-search{border:0;border-bottom:1px solid var(--border);color:var(--muted);background:0 0;border-radius:0;flex:none;align-items:center;gap:8px;margin:0 4px 6px;padding:0 4px;display:flex}.showcase--expanded .template-category-picker .chip-menu-search input{width:100%;min-width:0;min-height:34px;box-shadow:none;color:var(--foreground);font:inherit;background:0 0;border:0;outline:0;margin:0;padding:0;font-size:13px}.showcase--expanded .template-category-picker .chip-menu-search:focus-within{border-color:color-mix(in srgb, var(--accent) 45%, var(--border))}.showcase--expanded .template-category-picker .chip-menu-options{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--border) transparent;grid-auto-rows:max-content;gap:2px;min-height:0;display:grid;overflow-y:auto}.showcase--expanded .template-category-picker .chip-menu-options button{border-radius:7px;width:100%;min-height:34px;padding:7px 28px 7px 10px;font-family:inherit;font-size:13px;line-height:1.4}.showcase--expanded .template-category-picker .chip-menu-options button[aria-pressed=true]{background:color-mix(in srgb, var(--foreground) 6%, var(--surface))}.showcase--expanded .template-category-picker .chip-menu-options button[aria-pressed=true]:after{content:"";background:var(--accent);border-radius:50%;width:5px;height:5px;top:50%;right:11px;transform:translateY(-50%)}.showcase--expanded .template-category-picker .chip-menu-empty{color:var(--muted);margin:18px 10px;font-size:12px}.showcase--expanded .template-category-picker .chip[data-menu-placement=above]>.chip-menu{bottom:calc(100% + var(--generator-dropdown-gap) + var(--chip-menu-above-offset,0px))}.showcase--expanded .template-category-picker .control-backdrop{z-index:29;background:var(--generator-dropdown-scrim);-webkit-backdrop-filter:var(--generator-dropdown-blur);backdrop-filter:var(--generator-dropdown-blur);border:0;padding:0;position:fixed;inset:0}.showcase--expanded .template-category-picker .chip-button[aria-expanded=true]{z-index:30;position:relative}@media (width<=820px){.showcase--expanded .template-category-picker{width:160px}.showcase--expanded .template-category-picker .chip-button{width:100%}.showcase--expanded .template-category-picker .chip-menu{left:auto;right:0}}
