@layer components{.templates_library__TxkV_{max-width:1400px;margin:auto}.templates_heading__Jl3Kr{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.templates_heading__Jl3Kr h1{font-size:clamp(28px,3vw,42px);font-weight:600;letter-spacing:-.055em}.templates_heading__Jl3Kr>a{display:flex;gap:8px;align-items:center;min-height:44px;font-size:12px;color:var(--muted-foreground)}.templates_toolbar__71inU{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.templates_filters__ELe3W{display:flex;gap:5px}.templates_filters__ELe3W button{min-height:44px;padding:0 17px}.templates_search__eMNVC{display:flex;align-items:center;gap:9px;border:1px solid var(--border);background:var(--card);border-radius:var(--radius);padding:0 13px;min-height:44px;color:var(--muted-foreground)}.templates_search__eMNVC input{width:180px;min-width:0}.templates_search__eMNVC:focus-within{outline:2px solid var(--ring);outline-offset:2px}.templates_grid__A3FcU{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.templates_card__hMjbG{padding:0;overflow:hidden;cursor:pointer;align-self:start;content-visibility:auto;contain-intrinsic-size:auto 200px}@media (hover:hover) and (pointer:fine){.templates_card__hMjbG:hover{filter:drop-shadow(0 10px 12px color-mix(in oklch,var(--foreground) 9%,transparent))}}.templates_thumbnail__FEtC9{width:100%;overflow:hidden}.templates_generatedArtwork__ZYyZi{display:flex;gap:9px;align-items:center;justify-content:center;padding:0;aspect-ratio:auto;overflow:hidden}.templates_generatedArtwork__ZYyZi>.screenshot-preview{width:calc((100% - 18px) / 3);flex-shrink:0;border-radius:var(--radius)}.templates_empty__GvzGa{text-align:center;padding:60px 20px;color:var(--muted-foreground)}.templates_empty__GvzGa button{min-height:44px;text-decoration:underline;margin-top:8px}.templates_modal__rJ89V{width:min(1120px,100%);max-height:calc(100dvh - 48px)}.templates_dialog__tB1y1{position:relative;outline:none;display:flex;flex-direction:column;max-height:inherit}.templates_preview__TSsKL{background:transparent;padding:0;overflow:auto;min-height:180px;flex:1;overscroll-behavior:contain}.templates_preview__TSsKL>div{display:flex;align-items:center;justify-content:center;gap:14px;width:max-content;min-width:100%;height:100%;min-height:240px}.templates_catalogPreview__0_InJ{display:block;height:clamp(240px,46vh,400px);width:auto;max-width:none;flex-shrink:0}.templates_preview__TSsKL:focus-visible{outline:2px solid var(--ring);outline-offset:-3px}.templates_appPicker__BMBoK{display:grid;gap:12px;flex:0 0 auto;padding:16px 16px 0;background:var(--card);max-height:28dvh;overflow:auto}.templates_appPicker__BMBoK:empty{display:none}.templates_dialogFooter__hDQ0c{position:relative;z-index:3;flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:20px;padding:16px;background:var(--card)}.templates_dialogFooter__hDQ0c>button{pointer-events:auto}.templates_editButton__SCHh2{display:flex;align-items:center;gap:20px;justify-content:center;min-height:46px;padding:0 22px}.templates_error__DUpYm{padding:12px 24px;color:var(--destructive);font-size:12px;background:var(--muted)}.templates_error__DUpYm button{min-height:44px;text-decoration:underline;margin-left:12px}.templates_dialog__tB1y1 [data-slot=collapsible-trigger]:focus-visible,.templates_dialog__tB1y1 button:focus-visible,.templates_library__TxkV_ button:focus-visible{outline:2px solid var(--ring);outline-offset:3px}@media (max-width:1100px){.templates_grid__A3FcU{grid-template-columns:repeat(2,minmax(0,1fr))}.templates_modal__rJ89V{max-height:calc(100dvh - 36px)}}@media (max-width:700px){.templates_heading__Jl3Kr{margin-bottom:20px;gap:12px}.templates_heading__Jl3Kr h1{font-size:29px}.templates_heading__Jl3Kr>a{font-size:11px;white-space:nowrap}.templates_toolbar__71inU{align-items:stretch;flex-direction:column;gap:12px}.templates_filters__ELe3W{justify-content:space-between}.templates_filters__ELe3W button{padding:0 15px;flex:1}.templates_search__eMNVC input{width:100%}.templates_grid__A3FcU{grid-template-columns:1fr;gap:14px}.templates_modal__rJ89V{max-height:calc(100dvh - 16px)}.templates_preview__TSsKL{padding:0;min-height:180px}.templates_preview__TSsKL>div{justify-content:flex-start;gap:12px;min-height:180px}.templates_catalogPreview__0_InJ{height:clamp(230px,44vh,380px)}.templates_dialogFooter__hDQ0c{padding:12px;gap:10px}.templates_editButton__SCHh2{padding-inline:18px}.templates_error__DUpYm{padding:10px 16px}}@media (max-width:360px){.templates_grid__A3FcU{grid-template-columns:1fr}.templates_heading__Jl3Kr h1{font-size:25px}}}