.creative-studio{overflow-wrap:anywhere;background:var(--bg-main);padding:1.5rem 2rem 2rem}.creative-studio .ai-image-shell{width:100%;margin-inline:auto}.creative-studio .ai-image-heading{min-height:calc(var(--control-height) + 1px);align-items:center;gap:1rem;margin:0}.creative-studio .ai-image-heading h1{font-size:var(--font-title);font-weight:var(--weight-title);letter-spacing:var(--tracking-title);line-height:var(--line-title);margin:0}.workspace-heading-content{gap:.65rem;width:100%;min-width:0;display:grid}.workspace-mode-selector{flex-wrap:wrap;width:fit-content;display:flex}.workspace-mode-selector button{white-space:nowrap;flex:1;min-width:0;padding-inline:.65rem}.workspace-mode-selector button:disabled{opacity:.5;cursor:not-allowed}.video-page-heading:has(.workspace-mode-selector){align-items:flex-start}.image-page-navigation-trigger{max-width:100%;min-height:var(--control-height);color:var(--text-main);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:.45rem;padding:0;display:inline-flex}.image-page-navigation-trigger svg{color:var(--text-muted);flex-shrink:0}.image-page-navigation-trigger:hover svg,.image-page-navigation-trigger[aria-expanded=true] svg{color:var(--text-main)}.creative-studio .model-chip{font-size:var(--font-control-small);background:var(--surface-faint);flex-shrink:0}.workspace-layout{grid-template-columns:minmax(280px,min(32%,400px)) minmax(0,1fr);align-items:start;gap:1.5rem;display:grid}.creative-studio .ai-image-workspace{border:0;grid-template-columns:minmax(0,1fr);grid-auto-rows:max-content;align-items:start;gap:1.25rem;min-height:0}.creative-studio .ai-image-controls,.creative-studio .ai-image-output{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-faint);min-width:0;min-height:0;padding:1.25rem}.creative-studio .ai-image-controls{background:0 0;border:0;border-radius:0;gap:1.25rem;height:auto;padding:0}.creative-studio .creator-fields{gap:1.25rem;min-height:0;padding:0;display:grid;overflow:visible}.workspace-results{border:0;border-inline-start:1px solid var(--line);background:0 0;border-radius:0;gap:1.25rem;min-width:0;padding:0 0 0 1.5rem;display:grid;container:workspace-gallery/inline-size}.workspace-view-tabs{min-height:calc(var(--control-height) + 1px);border-bottom:1px solid var(--line);align-items:stretch;gap:1.25rem;padding:0;display:flex}@media (max-width:1080px){#recent-creations-tab{scroll-margin-top:calc(var(--app-chrome-height,64px) + 8px)}}.workspace-view-tabs[hidden]{display:none}.workspace-template-browser{min-width:0}.workspace-template-browser-heading{z-index:3;border-bottom:1px solid var(--line);background:var(--bg-main);justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding-bottom:.5rem;display:flex;position:sticky;top:0}.workspace-template-browser-heading h2{font-size:var(--font-body);font-weight:var(--control-weight);margin:0}.workspace-template-browser .idea-card[aria-pressed=true]{border-color:var(--selection-border)}.workspace-view-tabs button{min-width:var(--control-height);min-height:var(--control-height);color:var(--text-muted);font-size:var(--font-control);font-weight:var(--control-weight);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:0 auto;padding:.5rem 0;line-height:1.4}.workspace-view-tabs button:hover{color:var(--text-main)}.workspace-view-tabs button[aria-selected=true]{color:var(--text-main);border-bottom-color:currentColor}.workspace-results>[role=tabpanel]{min-width:0}.workspace-results>[role=tabpanel][hidden]{display:none}.workspace-results .workspace-gallery{border:0;padding:0}.workspace-results .workspace-gallery-heading{flex-wrap:wrap}.workspace-guide{overflow-wrap:anywhere;gap:1.75rem;min-width:0;padding:.35rem .1rem;display:grid}.workspace-guide h2,.workspace-guide h3,.workspace-guide h4,.workspace-guide p{margin:0}.workspace-guide h2{margin-top:.65rem;font-size:1.25rem;line-height:1.3}.workspace-guide h3{font-size:var(--font-body);font-weight:700}.workspace-guide h4{font-size:var(--font-control);font-weight:650;line-height:1.5}.workspace-guide p{color:var(--text-muted);font-size:var(--font-control);line-height:1.7}.workspace-guide-intro>p{margin-top:.65rem}.workspace-guide-icon{border:1px solid var(--line);border-radius:var(--radius-small);color:var(--text-main);background:var(--surface-soft);padding:.6rem;display:inline-flex}.workspace-guide-section{gap:.8rem;display:grid}.workspace-guide-use-cases{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.workspace-guide-use-cases>div{border:1px solid var(--line);border-radius:var(--radius-small);background:var(--surface);align-content:start;gap:.45rem;min-width:0;padding:.85rem;display:grid}.workspace-guide-use-cases svg{color:var(--text-soft);margin-bottom:.2rem}.workspace-guide-steps{gap:1rem;margin:0;padding:0;list-style:none;display:grid}.workspace-guide-steps li{align-items:flex-start;gap:.7rem;display:flex}.workspace-guide-steps li>span{border:1px solid var(--line-strong);height:1.8rem;color:var(--text-soft);font-size:var(--font-control-small);border-radius:50%;flex:0 0 1.8rem;place-items:center;font-weight:650;display:grid}.workspace-guide-steps h4{margin-bottom:.3rem}.workspace-guide-faq{gap:0}.workspace-guide-faq h3{margin-bottom:.65rem}.workspace-guide-faq details{border-bottom:1px solid var(--line)}.workspace-guide-faq summary{min-height:var(--control-height);color:var(--text-soft);font-size:var(--font-control);font-weight:var(--control-weight);cursor:pointer;justify-content:space-between;align-items:center;gap:.7rem;padding:.85rem 0;list-style:none;display:flex}.workspace-guide-faq summary::-webkit-details-marker{display:none}.workspace-guide-faq summary svg{flex-shrink:0}.workspace-guide-faq details[open] summary svg{transform:rotate(180deg)}.workspace-guide-faq details p{padding-bottom:1rem}@media (max-width:480px){.workspace-guide-use-cases{grid-template-columns:minmax(0,1fr)}}.creation-masonry,.creation-ideas{margin:0;container:workspace-inspiration/inline-size}.ideas-content{gap:1rem;display:grid}.template-search-sentinel{min-height:1px}.inspiration-grid,.creative-studio .workspace-results .workspace-gallery-grid{--inspiration-min-width:220px;--inspiration-column-count:0;grid-template-columns:repeat(auto-fill, minmax(min(var(--inspiration-min-width), 100%), 1fr));align-items:start;gap:.375rem;min-width:0;display:grid;position:relative}.inspiration-grid[data-masonry=ready]>*{position:absolute}.inspiration-grid>.idea-card,.inspiration-grid>.template-search-card{aspect-ratio:auto;width:100%}.inspiration-grid .template-search-card img{aspect-ratio:auto;height:auto}.idea-card{text-align:left;min-height:44px;font:inherit;cursor:pointer;padding:0;display:block}.idea-card-shell{min-width:0;min-height:44px;position:relative}.idea-card-shell .idea-card{aspect-ratio:auto;width:100%;height:100%;position:absolute;inset:0}.inspiration-grid .idea-card-shell .idea-card img{object-fit:cover;height:100%}.idea-card:disabled{cursor:default;opacity:1}.template-search-card.idea-card:disabled img{transform:none}.inspiration-grid>.idea-card-placeholder{aspect-ratio:3/4;cursor:default}@container workspace-inspiration (max-width:679px){.inspiration-grid{--inspiration-column-count:3;grid-template-columns:repeat(var(--inspiration-column-count), minmax(0, 1fr));gap:.25rem}}@container workspace-gallery (max-width:679px){.creative-studio .workspace-results .workspace-gallery-grid{--inspiration-column-count:2;grid-template-columns:repeat(var(--inspiration-column-count), minmax(0, 1fr));gap:.25rem}}.creation-ideas .inspiration-grid{--inspiration-column-count:2;grid-template-columns:repeat(var(--inspiration-column-count), minmax(0, 1fr));gap:.25rem}@container workspace-inspiration (min-width:672px){.creation-ideas .inspiration-grid{--inspiration-column-count:3;gap:.375rem}}@container workspace-inspiration (max-width:359px){.inspiration-grid{--inspiration-column-count:2}}@container workspace-inspiration (max-width:239px){.inspiration-grid{--inspiration-column-count:1}}@container workspace-gallery (max-width:359px){.creative-studio .workspace-results .workspace-gallery-grid{--inspiration-column-count:2}}@container workspace-gallery (max-width:239px){.creative-studio .workspace-results .workspace-gallery-grid{--inspiration-column-count:1}}.creative-studio .options-panel{gap:1rem;padding-top:0}.reference-image-picker-dialog{width:min(720px,100vw - 2rem)}.reference-image-picker{gap:1rem;padding:1.25rem 1.5rem 1.5rem;display:grid}.reference-picker-actions{flex-wrap:wrap;gap:.6rem;display:flex}.reference-picker-panel[hidden]{display:none}.reference-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;display:grid}.reference-picker-card{aspect-ratio:1;border:1px solid var(--line);border-radius:var(--radius-small);background:var(--surface-faint);cursor:pointer;min-width:0;padding:0;display:block;overflow:hidden}.reference-picker-card:hover{border-color:var(--text-main)}.reference-picker-card img,.reference-picker-card video{object-fit:cover;width:100%;height:100%;display:block}.reference-picker-state{min-height:12rem;color:var(--text-muted);text-align:center;place-items:center;gap:.6rem;display:grid}.reference-picker-state p{max-width:34rem;margin:0}.reference-picker-state .button{margin-top:.2rem}.reference-image-picker .history-materials{padding:0}.reference-image-picker .history-material-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}.reference-image-picker .history-material-card{aspect-ratio:1;border-radius:var(--radius-small)}.creative-studio .output-heading{border:0;gap:.5rem;padding-bottom:.2rem}.creative-studio .output-heading .panel-kicker{color:var(--text-muted);font-size:var(--font-caption);margin:0 0 .3rem}.creative-studio .output-heading h2{font-size:1rem;font-weight:var(--control-weight);line-height:1.4}.creative-studio .generation-canvas{aspect-ratio:auto;border:1px solid var(--line);border-radius:var(--radius-small);background:var(--bg-main);width:100%;height:clamp(240px,100dvh - 26rem,380px);margin-top:1rem;position:relative}.reference-guidance{font-size:var(--font-caption);color:var(--text-muted);margin:.85rem 0 0;line-height:1.65}.creative-studio .canvas-task-state strong{font-size:1rem}.creative-studio .canvas-task-state p{font-size:var(--font-control);line-height:1.6}.creative-studio :is(.field-error,.inline-error,.workspace-banner){font-size:var(--font-caption);line-height:1.6}.creative-studio :is(button,textarea):disabled{cursor:not-allowed}.sidebar-inspiration{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-faint);gap:.65rem;padding:1.1rem;display:grid}.sidebar-inspiration>svg{color:var(--text-soft)}.sidebar-inspiration strong{color:var(--text-main);letter-spacing:-.02em;font-size:.85rem;font-weight:550}.sidebar-inspiration span{color:var(--text-muted);font-size:.72rem;line-height:1.7}.sidebar-inspiration:hover{border-color:var(--control-border-hover);background:var(--control-hover)}.idea-replacement-dialog{border:1px solid var(--line-strong);border-radius:var(--radius);width:min(440px,100% - 2rem);max-height:calc(100dvh - 2rem);color:var(--text-main);background:var(--bg-main);padding:0;box-shadow:0 24px 90px #00000073}.idea-replacement-dialog::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0a0b0ebf}.idea-replacement-dialog h2{letter-spacing:-.035em;margin:0;font-size:1.2rem;font-weight:550;line-height:1.3}.idea-replacement-dialog>.eyebrow{margin:1.25rem 1.5rem .65rem}.idea-replacement-dialog>p:not(.eyebrow){color:var(--text-muted);margin:1.25rem 1.5rem;font-size:.9rem;line-height:1.75}.idea-replacement-actions{flex-wrap:wrap;gap:.65rem;margin:1.5rem;display:flex}.idea-replacement-actions .button{white-space:normal;flex:1;min-height:44px;font-size:.8rem}@media (min-width:1081px){.app-main:has(.workspace-layout){flex-direction:column;height:100dvh;min-height:0;display:flex}.app-main:has(.workspace-layout)>.app-topbar{flex-shrink:0}.app-main:has(.workspace-layout)>#main-content{flex:1;min-height:0;overflow:hidden}.app-main>#main-content>div:has(>.creative-studio .workspace-layout){height:100%;min-height:0}.creative-studio:has(.workspace-layout){height:100%;min-height:0;padding-bottom:0;overflow:hidden}.creative-studio:has(.workspace-layout) .ai-image-shell{flex-direction:column;gap:1rem;height:100%;min-height:0;display:flex}.creative-studio .workspace-layout{flex:1;height:100%;min-height:0}.workspace-layout>:first-child,.workspace-layout>.workspace-results{overscroll-behavior-y:contain;height:100%;min-height:0;padding-bottom:2rem;overflow-y:auto}.workspace-results,.workspace-layout>:first-child{align-content:start}.workspace-results>.workspace-view-tabs{z-index:3;background:var(--bg-main);position:sticky;top:0}}@media (min-width:1081px) and (max-width:1150px){.workspace-layout>:first-child,.workspace-layout>.workspace-results{padding-bottom:1.25rem}}@media (max-width:1150px){.creative-studio{padding:1.25rem}.creative-studio .ai-image-output{padding:1rem}}@media (max-width:959px){.workspace-layout{grid-template-columns:minmax(0,1fr);row-gap:2rem}.workspace-results{border-inline-start:0;padding:0}}@media (max-width:780px){.creative-studio{padding:1rem max(.9rem, env(safe-area-inset-right,0px)) 1.5rem max(.9rem, env(safe-area-inset-left,0px))}.creative-studio .ai-image-heading{gap:.5rem;margin-bottom:0}.creative-studio .ai-image-heading h1{font-size:var(--font-title)}.creative-studio .model-chip{min-height:28px;padding:.3rem .4rem}.creative-studio .model-chip svg{display:none}.creative-studio .generation-canvas{aspect-ratio:1;height:auto}.reference-image-picker{padding:1rem}.reference-picker-grid,.reference-image-picker .history-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:360px){.creative-studio .ai-image-heading h1{font-size:var(--font-title)}.creative-studio .model-chip{display:none}}@media (prefers-reduced-motion:reduce){.idea-card{transition:none}}@media (prefers-reduced-transparency:reduce){.idea-replacement-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}}@media (prefers-contrast:more){.idea-card,.creative-studio .ai-image-controls,.creative-studio .ai-image-output,.workspace-results{border-color:var(--text-muted)}}@media (min-width:781px) and (max-width:1100px){.topbar-context{display:none}.topbar-actions{margin-left:auto}}
.creative-studio.template-search-page{--explore-padding-y:1.5rem;--explore-padding-x:2rem;padding:var(--explore-padding-y) var(--explore-padding-x) 2rem}.template-search-sticky-header{top:var(--template-search-sticky-top,var(--app-chrome-height,0px));z-index:var(--layer-sticky);margin:0 calc(-1 * var(--explore-padding-x)) 1.25rem;padding:.5rem var(--explore-padding-x) .25rem;background:color-mix(in srgb, var(--bg-main) 94%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);position:sticky}:where(body:has(.public-shell)){--template-search-sticky-top:var(--public-header-height,0px)}:where(body:has(.app-shell)){--template-search-sticky-top:var(--app-chrome-height,0px)}.template-search-intro{z-index:var(--layer-base);margin-bottom:.5rem;position:relative}.template-search-intro .explore-tools-nav{min-width:0;max-width:36rem;margin:0 0 1.75rem}.template-search-intro .business-parent-link{justify-content:center}.template-search-intro .business-parent-link>span{flex:0 auto}.template-search-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.template-search-heading :is(h1,h2){font-size:var(--font-title);font-weight:var(--weight-title);letter-spacing:var(--tracking-title);line-height:var(--line-title);margin:0}.template-search-view-all{gap:.5rem;min-width:12rem}.template-search-form{gap:.65rem;min-width:0;margin:0 0 1rem;display:flex}.template-search-input-wrap{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-faint);flex:1;align-items:center;gap:.65rem;min-width:0;padding-left:.8rem;display:flex;position:relative}.template-search-input-wrap>svg{color:var(--text-muted);flex-shrink:0}.template-search-input-wrap input{width:100%;min-width:0;min-height:max(44px, var(--control-height));color:var(--text-main);font:inherit;font-size:var(--font-control);background:0 0;border:0;outline:0}.template-search-clear,.template-search-nav{border-radius:var(--radius-small);width:44px;min-height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.template-search-clear:hover,.template-search-nav:hover{color:var(--text-main);background:var(--control-hover)}.template-search-suggestions{z-index:2;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-raised);margin:0;padding:.4rem;list-style:none;position:absolute;top:calc(100% + .45rem);left:0;right:0;box-shadow:0 8px 24px #0000001f}.template-search-suggestions li{border-radius:var(--radius-small);min-height:44px;color:var(--text-main);cursor:pointer;overflow-wrap:anywhere;align-items:center;gap:.7rem;padding:.5rem .7rem;font-size:.85rem;display:flex}.template-search-suggestions li:hover,.template-search-suggestions li[aria-selected=true]{background:var(--selection-bg)}.template-search-suggestions svg{flex-shrink:0}.ideas-heading>a{color:var(--text-muted);text-underline-offset:.2em;padding-block:.5rem;font-size:.78rem}.template-search-toolbar{align-items:center;gap:.85rem;min-width:0;margin-block:.5rem .85rem;display:flex}.template-search-toolbar .template-search-form{flex:0 22rem;max-width:22rem;margin:0}.template-search-toolbar .template-search-media{flex:none;gap:3px;padding:3px}.template-search-toolbar .template-search-media button{min-width:4.5rem;min-height:40px}.template-search-back{flex-shrink:0;min-width:44px;min-height:44px}.template-search-toolbar.is-keyword-search{margin-block:.5rem}.template-library-title{letter-spacing:0;margin:0 0 .75rem;font-size:1.875rem;line-height:1.15}.is-browse .template-search-toolbar .template-search-form{flex:22rem;max-width:36rem}@media (max-width:780px){.template-library-title{margin-bottom:.625rem;font-size:1.5rem}.is-browse .template-search-toolbar{grid-template-columns:44px minmax(0,1fr);gap:.5rem;display:grid}.is-browse .template-search-toolbar .template-search-form{grid-area:1/2;width:100%;min-width:0;max-width:none}.is-browse .template-search-media{grid-area:2/1/3/-1;justify-self:start}}.template-search-sticky-header.is-keyword-search{margin-top:calc(-1 * var(--explore-padding-y))}.template-search-toolbar.is-keyword-search .template-search-form{flex:1;max-width:none}.template-search-expansion{justify-content:center;margin-top:1.75rem;display:flex}.template-search-expansion .button{min-height:44px}.template-search-form.is-compact{border:1px solid var(--line);border-radius:var(--radius-small);background:var(--surface);gap:0}.is-compact .template-search-input-wrap{background:0 0;border:0}.template-search-submit{border:0;border-left:1px solid var(--line);border-radius:0 var(--radius-small) var(--radius-small) 0;background:var(--surface-soft);color:var(--text-muted);cursor:pointer;flex:0 0 44px;place-items:center;display:grid}.template-search-submit:hover{color:var(--text-main)}.template-search-filters{align-items:center;gap:.75rem;min-width:0;margin-block:.25rem 0;display:flex}.template-search-category-filter{flex:1;min-width:0}.template-search-categories{gap:.5rem;display:flex;overflow-x:auto}.template-search-categories button{min-height:max(44px, var(--control-height));border-radius:var(--radius-small);color:var(--text-muted);font:inherit;font-size:var(--font-control);font-weight:var(--control-weight);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex-shrink:0;padding:.55rem .7rem;line-height:1.45}.template-search-categories button:hover{color:var(--text-main);background:var(--control-hover)}.template-search-categories button[aria-pressed=true]{color:var(--text-main);box-shadow:inset 0 -2px var(--text-main);background:0 0;border-radius:0}.template-search-categories button:disabled{opacity:.6;cursor:default}.template-search-categories.is-scrollable{-webkit-mask-image:linear-gradient(90deg,#0000 0,#000 1.5rem calc(100% - 1.5rem),#0000 100%);mask-image:linear-gradient(90deg,#0000 0,#000 1.5rem calc(100% - 1.5rem),#0000 100%)}.template-search-categories.is-scrollable.is-at-start{-webkit-mask-image:linear-gradient(90deg,#000 0 65%,#0000);mask-image:linear-gradient(90deg,#000 0 65%,#0000)}.template-search-categories.is-scrollable.is-at-end{-webkit-mask-image:linear-gradient(90deg,#0000 0,#000 35%,#000);mask-image:linear-gradient(90deg,#0000 0,#000 35%,#000)}.template-search-categories.is-scrollable.is-at-start.is-at-end{-webkit-mask-image:none;mask-image:none}.template-category-arrows{flex-shrink:0;gap:.35rem;display:flex}.template-category-arrows .icon-button{border-radius:50%;width:44px;height:44px;min-height:44px}.template-category-arrows .icon-button[aria-disabled=true]{opacity:.45;cursor:default}.template-category-arrows .icon-button[aria-disabled=true]:hover{color:var(--text-muted);border-color:var(--line)}.template-search-grid{--template-grid-gap:1rem;--template-card-min:max(168px, calc((100% - 3 * var(--template-grid-gap)) / 4));grid-template-columns:repeat(auto-fill, minmax(min(var(--template-card-min), 100%), 1fr));gap:var(--template-grid-gap);justify-content:start;display:grid}.template-search-card-shell{aspect-ratio:3/4;justify-self:start;width:100%;min-width:0;position:relative}.template-search-card-shell>.template-search-card{width:100%;height:100%;display:block}.template-search-card{font:inherit;text-align:left;cursor:pointer;width:min(100%, var(--template-card-max,100%));min-width:0;color:var(--text-main);border-radius:var(--radius);background:var(--surface-faint);aspect-ratio:3/4;border:0;justify-self:start;padding:0;text-decoration:none;position:relative;overflow:hidden}.template-search-card:hover,.template-search-card-shell:hover>.template-search-card{background:var(--control-hover)}.template-search-card img{aspect-ratio:3/4;object-fit:cover;width:100%;height:100%;transition:transform .22s;display:block}.template-search-card:hover img{transform:scale(1.025)}.template-search-card-copy{opacity:0;color:#fff;background:linear-gradient(#0000,#000000d1);flex-direction:column;gap:.45rem;padding:3rem .8rem .8rem;transition:opacity .16s;display:flex;position:absolute;inset:auto 0 0}.template-search-card:hover .template-search-card-copy,.template-search-card:focus-visible .template-search-card-copy,.template-search-card-shell:hover .template-search-card-copy,.template-search-card-shell:focus-within .template-search-card-copy{opacity:1}.template-search-card-shell .template-search-card-copy{padding-bottom:4.2rem}.template-search-card-copy strong{font-size:var(--font-control);color:#fff;overflow-wrap:anywhere;margin:0;font-weight:550;line-height:1.5}.template-search-card-copy .template-card-action{border-radius:var(--radius-small);text-align:center;color:#fff;font-size:var(--font-control);background:#fff3;padding:.55rem;font-weight:600;display:block}.button.template-card-recreate{z-index:2;inset-inline:.5rem;width:calc(100% - 1rem);min-width:0;padding-inline:.5rem;position:absolute;bottom:.5rem}.template-card-recreate[data-retry]{visibility:visible}.template-search-card-copy small{color:#fffc;font-size:var(--font-caption);margin:0}.template-search-card .template-card-video{object-fit:cover;opacity:0;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.template-search-card .template-card-video.is-playing{opacity:1}.template-search-empty{color:var(--text-muted);text-align:center;border:1px dashed var(--line);border-radius:var(--radius);background:var(--surface-faint);justify-items:center;gap:.65rem;padding:3rem 1rem;display:grid}.template-search-empty h2,.template-search-empty p{margin:0}.template-search-empty h2{color:var(--text-main);font-size:1.1rem}@media (hover:none){.template-search-card-copy{opacity:1;padding-top:1.8rem}}@media (prefers-reduced-motion:reduce){.template-search-card img,.template-search-card-copy,.template-card-recreate{transition:none}.template-search-card:hover img{transform:none}}@media (max-width:1150px){.creative-studio.template-search-page{--explore-padding-y:1.25rem;--explore-padding-x:1.25rem}}@media (max-width:780px),(pointer:coarse){.template-search-input-wrap input{font-size:max(16px,1rem)}}@media (max-width:780px){.creative-studio.template-search-page{--explore-padding-y:.5rem;--explore-padding-x:.75rem}.template-search-sticky-header{margin-bottom:.75rem;padding-top:.25rem}.template-search-intro{margin:0}.template-search-intro .explore-tools-nav{display:none}.template-search-intro .template-search-heading:not(:has(p)) h1{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.template-search-toolbar,.template-search-filters{gap:.5rem;margin-block:.5rem}.template-search-toolbar .template-search-form{flex:1 1 0;max-width:none}.template-search-toolbar .template-search-media{gap:0;padding:0}.template-search-toolbar .template-search-media button{min-width:44px;min-height:44px;padding:.4rem .45rem}.template-search-categories{gap:.25rem}.template-search-categories button{padding-inline:.6rem}.template-category-arrows{display:none}.template-search-grid{--template-grid-gap:.65rem}.template-search-card{width:100%}}.template-search-heading:has(p){flex-wrap:wrap;justify-content:flex-start;gap:.5rem 1rem;padding-block:.5rem}.template-search-heading p{color:var(--text-muted);font-size:var(--font-body);margin:0}.template-search-heading .button{margin-left:auto}@media (max-width:780px){.template-search-heading:has(p){gap:.35rem .75rem}.template-search-heading p{flex-basis:100%;order:3}.template-search-heading .button{font-size:var(--font-control)}}@media (max-width:360px){.template-search-toolbar{flex-wrap:wrap}.template-search-toolbar .template-search-form{flex:1 0 100%}}@media (max-width:640px){.template-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-search-card-copy{padding:.75rem}.template-search-card-shell .template-search-card-copy{padding-bottom:4rem}.template-search-card-copy strong{font-size:.85rem}.template-search-form>button{flex-shrink:0;padding-inline:.8rem}}[data-suspended-home] .template-home-grid{visibility:hidden}.home-filter-space{min-height:max(44px, var(--control-height))}.home-template-placeholder,.home-template-cover{aspect-ratio:3/4;border-radius:var(--radius);background:var(--surface-soft);isolation:isolate;display:block;position:relative;overflow:hidden}.template-poster:before,.home-template-placeholder:before,.home-template-cover:before{content:"";border-radius:inherit;pointer-events:none;background:linear-gradient(129deg,#363739 0%,#2e2f31 19%,#262729 39%,#222325 61%,#28292b 100%);position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffffff0d,inset 0 1px #ffffff1c}.home-template-placeholder:after,.home-template-cover[data-waiting]:after{content:"";pointer-events:none;background:linear-gradient(112deg,#0000 21%,#ffffff03 33%,#ffffff0a 48%,#ffffff04 60%,#0000 74%);animation:3.4s ease-in-out infinite home-cover-glide;position:absolute;inset:0}.template-poster:not(:has(img[data-cover-settled])):after{content:"";pointer-events:none;background:linear-gradient(112deg,#0000 21%,#ffffff03 33%,#ffffff0a 48%,#ffffff04 60%,#0000 74%);animation:3.4s ease-in-out infinite home-cover-glide;position:absolute;inset:0}@keyframes home-cover-glide{0%,10%{transform:translate(-100%)}80%,to{transform:translate(100%)}}.home-template-cover{width:100%;height:100%}.template-search-card .home-template-cover img{transition:opacity .22s ease-out,transform .22s;position:absolute;inset:0}.home-cover-pending{opacity:0}.home-refresh-status{color:var(--text-muted);font-size:var(--font-micro);align-items:center;gap:.4rem;display:inline-flex}.home-refresh-status:before{content:"";border:2px solid var(--line);border-top-color:var(--text-accent);border-radius:50%;width:.8rem;height:.8rem;animation:1.15s linear infinite home-refresh-spin}@keyframes home-refresh-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.home-template-placeholder:after,.home-template-cover[data-waiting]:after{content:none}.template-poster:not(:has(img[data-cover-settled])):after{content:none}.template-search-card .home-template-cover img{transition:none}.home-refresh-status:before{animation:none}}.template-poster{isolation:isolate}.template-poster:before,.template-poster:after{z-index:-1}.home-template-cover:not([data-waiting]):before{opacity:0}.template-poster:has(img[data-cover-settled]):before{opacity:0}.template-poster img[data-cover-waiting]:not([data-cover-settled]){opacity:0}@media (prefers-reduced-motion:no-preference){.home-template-cover:has(img[data-cover-waiting][data-cover-settled=ready]):before{transition:opacity .22s ease-out}.template-poster:has(img[data-cover-waiting][data-cover-settled=ready]):before{transition:opacity .22s ease-out}.template-poster img[data-cover-waiting][data-cover-settled=ready]:not([data-page-cover]){transition:opacity .22s ease-out,transform .22s}}.template-search-card .home-template-cover img[data-cover-settled=ready]:not([data-cover-waiting]){opacity:1;transition:none}.template-cover-contents{display:contents}.page-continuation{text-align:center;position:relative}.page-continuation .template-search-sentinel{pointer-events:none;height:1px;position:absolute;inset:0 0 auto}.page-continuation button[aria-disabled=true]{cursor:default}.browse-pagination-row{justify-content:center;align-items:center;gap:var(--space-3);padding:var(--space-5) 0 var(--space-6);flex-wrap:wrap;display:flex}.browse-pagination-row:before,.browse-pagination-row:after{content:"";background:var(--line);width:clamp(22px,4.8vw,68px);height:1px}.browse-pagination-row[data-failed]:before,.browse-pagination-row[data-failed]:after{display:none}.browse-pagination-status{align-items:center;gap:var(--space-2);min-height:44px;color:var(--text-muted);font-size:.875rem;display:inline-flex}.browse-pagination-spinner{border:2px solid var(--line);border-top-color:var(--text-accent);border-right-color:var(--text-accent);border-radius:50%;width:17px;height:17px;animation:.9s linear infinite home-refresh-spin}@media (max-width:700px){.browse-pagination-row{padding-block:var(--space-4)}}@media (prefers-reduced-motion:reduce){.browse-pagination-spinner{animation:none}}.page-slot{border-radius:var(--radius);background:var(--surface-soft);min-width:0;display:block}.inspiration-grid>.idea-card-placeholder.page-slot{aspect-ratio:3/4}.history-page-slot{aspect-ratio:1}.credit-history-list>.page-row-slot{min-height:4rem}.page-row-slot span{border-radius:var(--radius);background:var(--surface-soft);width:32%;height:.6rem;display:block}@media (prefers-reduced-motion:no-preference){.template-poster img[data-page-cover=waiting],.task-thumbnail img[data-page-cover=waiting]{opacity:0}.template-poster img[data-page-cover=ready]{--page-cover-duration:.22s}.template-poster img[data-page-cover=ready],.task-thumbnail img[data-page-cover=ready]{opacity:1;transition:opacity var(--page-cover-duration,.24s) ease-out, transform .22s ease}.page-row-enter{animation:.14s ease-out page-row-appear}}@keyframes page-row-appear{0%{opacity:0}to{opacity:1}}@media (max-width:780px){.template-search-intro .template-search-heading p{display:none}.template-search-browser .template-search-toolbar,.template-search-browser .template-search-filters{margin-block:.25rem}}@media (min-width:1100px){.app-shell:has(.template-search-page){--sidebar:204px}}.app-shell:has(.template-search-page) .sidebar-link.is-active{color:#fff;box-shadow:none;background:#2b242b}.template-search-page .template-search-heading :is(h1,h2){letter-spacing:0;font-size:36px;font-weight:650;line-height:1.14}.template-search-page .template-search-heading:has(p){align-items:baseline;gap:15px;padding-block:.22rem}.template-search-page .template-search-heading p{color:#b5b2b6;font-weight:450}.template-search-intro .explore-tools-nav{gap:14px;max-width:none;margin-bottom:1.25rem}.template-search-intro .explore-business>.business-parent-link{isolation:isolate;color:#fff5f3;background:#302426;border:1px solid #514043;border-radius:8px;justify-content:flex-start;align-items:center;gap:13px;min-height:104px;padding:20px 26px;font-size:24px;font-weight:600;position:relative;overflow:hidden}.template-search-intro .explore-business:nth-child(2n)>.business-parent-link{background:#242631;border-color:#3f4351}.template-search-intro .explore-business>.business-parent-link:before{z-index:-1;pointer-events:none;content:"";background-image:linear-gradient(90deg, #302426 1%, #3024269e 26%, #1e15190a 70%), var(--explore-poster,none);background-position:50%,50% 17%;background-size:cover;position:absolute;inset:0 0 0 31%}.template-search-intro .explore-business:nth-child(2n)>.business-parent-link:before{background-image:linear-gradient(90deg, #242631 1%, #2426319e 26%, #181a220d 70%), var(--explore-poster,none)}.template-search-intro .explore-business>.business-parent-link svg{stroke-width:1.65px;flex-shrink:0;width:20px;height:20px}.template-search-intro .explore-business>.business-parent-link:hover{border-color:#c49ba7}.template-search-sticky-header{margin-bottom:12px}.template-search-page .template-search-media button[aria-pressed=true]{color:#18191a;box-shadow:none;background:#f1efec}.template-search-page .template-search-categories button[aria-pressed=true]{box-shadow:inset 0 -2px var(--primary)}.template-search-page .template-search-card{border-radius:7px}.template-search-page .template-search-card-copy{display:none}body:has(.template-search-page) .template-detail-dialog .template-detail-heading h3{letter-spacing:0;font-size:32px;font-weight:650;line-height:1.22}body:has(.template-search-page) .template-detail-dialog :is(h3,dt){color:#dfd7dc}body:has(.template-search-page) .template-detail-dialog button.button-primary{color:#fff;background:#bd315e;border-radius:6px}.app-shell:has(.template-search-page) .guest-credit-promotion{box-shadow:none;border-color:#37343b}.app-shell:has(.template-search-page) .guest-credit-promotion button:not([aria-label]):not(:disabled){color:#ffcee0;background:#41343b}@media (max-width:780px){.template-search-page .template-search-heading:has(p){gap:4px;padding-block:.25rem}.template-search-page .template-search-heading h1{font-size:28px}.app-shell:has(.template-search-page) .mobile-home-mark:before{content:"";vertical-align:middle;background:url(/brand/kavevo-mark.svg) 50%/contain no-repeat;width:20px;height:20px;margin-right:3px;display:inline-block}.template-search-sticky-header{margin-bottom:10px}}.template-detail-prompt-label{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.template-detail-prompt-label .icon-button{min-width:44px;min-height:44px}@media (max-width:720px){.template-detail-prompt>p{-webkit-line-clamp:2;white-space:pre-line;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}@media (max-width:780px){.template-detail-copy-body{gap:.65rem}}
.sidebar-business{gap:.2rem;min-width:0;display:grid}.sidebar-nav.studio-nav{grid-template-rows:repeat(3,1fr);row-gap:.87rem}.business-parent-link{min-height:var(--control-height);color:var(--text-main);font-size:var(--font-control);font-weight:var(--control-weight)}.explore-tools-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:42rem;margin-bottom:1.75rem;display:grid}.explore-business+.explore-business{margin-top:0}.explore-business>.business-parent-link{border:1px solid var(--line);border-radius:var(--radius);background:0 0;min-height:88px;padding:1.1rem 1.4rem;font-size:1rem}.explore-business>.business-parent-link:hover{border-color:var(--selection-border)}.business-children{border:0;gap:.3rem;min-width:0;margin:0;padding:0;display:grid}.business-child-link{gap:min(.7rem,11px);min-width:0;min-height:2.5rem;padding-inline:min(.68rem,11px);font-size:.76rem;line-height:1.5}.business-child-link>span,.business-parent-link>span{overflow-wrap:anywhere;min-width:0}.business-child-link svg,.business-parent-link svg{flex-shrink:0}.business-status{border:1px solid var(--line-strong);max-width:100%;color:var(--text-soft);background:var(--surface-faint);border-radius:999px;padding:.25rem .6rem;font-size:.7rem;font-weight:650;line-height:1.4;display:inline-flex}.business-mobile-nav{display:none}@media (max-width:780px){.business-mobile-nav{border-bottom:1px solid var(--line);margin:1rem .9rem 0;padding-bottom:.85rem;display:block}.mobile-tabbar-inner{height:auto;min-height:var(--mobile-tabbar-height)}.mobile-tab{overflow-wrap:anywhere;min-height:44px}}
.studio-segmented{border-radius:var(--radius-small);background:var(--surface-soft);gap:4px;max-width:100%;padding:4px;display:inline-flex}.studio-segmented button,.history-media-filter button{min-height:var(--control-height);color:var(--text-muted);font:inherit;font-size:var(--font-control);font-weight:var(--control-weight);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:.5rem 1rem;display:inline-flex}.studio-segmented button[aria-pressed=true]{color:var(--selection-text);background:var(--selection-bg);box-shadow:0 1px 4px #00000024}.studio-segmented button:hover,.history-media-filter button:hover{color:var(--text-main)}.contact-support-actions{flex-wrap:wrap;justify-content:flex-end;gap:.6rem;display:flex}.contact-support-actions .button{width:auto;min-height:var(--control-height);padding-inline:1.1rem}.contact-support-user-id .button{justify-self:start}.workspace-creation-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-block-end:.75rem;display:flex}.workspace-creation-controls .library-batch-toolbar{min-width:0;margin:0}.workspace-creation-actions{align-items:center;gap:.5rem;max-width:100%;margin-inline-start:auto;display:flex}.workspace-gallery-utilities{flex-shrink:0;align-items:center;gap:.65rem;display:flex}.workspace-history-link{min-height:var(--control-height);border-radius:var(--radius-small);align-items:center;gap:.4rem;padding:.35rem .6rem;text-decoration:none;display:inline-flex}.workspace-history-link:hover{color:var(--text-main);background:var(--control-hover)}@media (min-width:1081px){.workspace-creation-controls .workspace-history-link{display:none}}@media (max-width:1080px){.workspace-creation-actions{display:contents}.workspace-gallery-utilities{flex-basis:100%;order:-1;justify-content:flex-end}.workspace-creation-controls .library-batch-toolbar{margin-inline-start:auto}}.history-library-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.75rem;display:flex}.history-library-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem 1rem;margin-bottom:1.25rem;display:flex}.history-library-meta :is(.media-retention-note,.history-toolbar){margin:0}.history-media-filter[hidden]{display:none}.history-media-filter{gap:.25rem;display:inline-flex}.history-media-filter button[aria-pressed=true]{color:var(--text-main);box-shadow:inset 0 -2px var(--text-main);border-radius:0}.history-toolbar[hidden]{display:none}.history-material-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.history-material-card{aspect-ratio:4/5;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--text-muted);cursor:pointer;place-items:center;padding:0;display:grid;overflow:hidden}.history-material-card img{object-fit:cover;width:100%;height:100%}.history-page .history-task{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);flex-direction:column;align-items:stretch;padding:1rem;display:flex}.history-page .history-result-link{width:100%}.history-page .history-result-link .task-thumbnail{aspect-ratio:4/5}.history-page .history-task-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.history-page .history-task-actions{justify-content:flex-start;margin-top:auto}.history-page .history-task-actions .button{padding-inline:.6rem}.policy-page{padding:clamp(1.25rem,4vw,3.5rem) 1rem 4rem}.policy-page-shell{width:min(820px,100%);margin-inline:auto}.policy-draft-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:clamp(1.25rem,4vw,2.5rem)}.policy-draft-card>h1{font-size:var(--font-title);font-weight:var(--weight-title);letter-spacing:var(--tracking-title);line-height:var(--line-title);margin:.75rem 0}.policy-draft-card>.status-page-lead{font-size:var(--font-body);color:var(--text-muted);line-height:1.65}.policy-sections{gap:1.6rem;margin-top:2rem}.policy-sections h2{color:var(--text-main);font-size:1.1rem}.policy-sections p{font-size:var(--font-body);line-height:1.8}.policy-preview-links a{font-size:var(--font-control)}.pricing-segmented-control{grid-template-columns:repeat(var(--pricing-segment-count,2), minmax(0, 1fr));border:0;gap:0;min-width:min(224px,100%);padding:4px;display:grid;position:relative}.pricing-segment-indicator{width:calc((100% - 8px) / var(--pricing-segment-count,2));background:var(--selection-bg);transform:translateX(calc(var(--pricing-segment-index,0) * 100%));pointer-events:none;border-radius:7px;transition:transform .22s;position:absolute;top:4px;bottom:4px;left:4px;box-shadow:0 1px 4px #0003}.pricing-segmented-control button{border:0;min-height:36px;padding-inline:1rem;font-size:13px;position:relative}.pricing-segmented-control button[aria-pressed=true],.pricing-segmented-control button[aria-pressed=true]:hover{background:0 0}.pricing-plan-card .pricing-card-title{flex-direction:row;align-items:center;gap:.65rem}.pricing-card h2{overflow-wrap:normal;word-break:normal}.pricing-plan-card .pricing-card-labels{justify-content:flex-start}.pricing-card.is-featured{border-color:var(--action-primary)}.pricing-saving,.pricing-interval-saving{background:linear-gradient(90deg, var(--badge-saving-start), var(--badge-saving-end));color:var(--badge-saving-text);font-size:var(--font-caption);border-radius:999px;padding:.2rem .5rem;font-weight:700}.pricing-card-promotion{border:1px solid var(--selection-border);background:var(--selection-bg);color:var(--text-main);border-radius:var(--radius-small);padding:.5rem .7rem;font-weight:600}.pricing-price strong{color:#fff;white-space:nowrap}.animated-price{color:#fff;font-variant-numeric:tabular-nums;display:inline-block}@media (max-width:680px) and (prefers-reduced-motion:no-preference){.animated-price[data-animating=true]{animation:.22s ease-out both pricing-price-update}}@keyframes pricing-price-update{0%{opacity:.5;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}.pricing-refund-link{min-height:var(--control-height);color:var(--text-accent);font:inherit;text-underline-offset:4px;cursor:pointer;background:0 0;border:0;align-items:center;gap:.4rem;padding:0;text-decoration:underline;display:inline-flex}@media (max-width:780px){.history-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.template-search-category-filter{flex:1;width:auto}}@media (prefers-reduced-motion:reduce){.pricing-segment-indicator{transition:none}}.library-batch-toggle{margin-inline-start:auto}.library-batch-toolbar .history-select-loaded{order:-2}.library-batch-toolbar .history-selection-count{order:-1}.history-material-item{min-width:0;position:relative}.history-material-item.is-selected .history-material-card{border-color:var(--selection-border);background:var(--surface-soft)}.history-material-select{z-index:1;border-radius:var(--radius-small);background:var(--surface-raised);cursor:pointer;place-items:center;min-width:44px;min-height:44px;display:grid;position:absolute;top:.3rem;right:.3rem}.history-material-select input{width:20px;height:20px;accent-color:var(--action-primary);cursor:pointer}.history-material-card[aria-pressed=true]{outline:2px solid var(--selection-border);outline-offset:-2px}.task-delete-content .history-material-delete-count{color:var(--text-soft);font-size:var(--font-micro)}@media (max-width:640px){.library-batch-toolbar{align-items:stretch}.library-batch-toolbar .history-selection-count{justify-content:center;align-self:center;align-items:center;min-height:44px;line-height:1.25;display:inline-flex}.library-batch-toolbar .button{flex:auto}}
.video-workspace-editor{grid-auto-rows:max-content;gap:1.25rem;min-width:0;display:grid}.video-workspace .workspace-view-tabs{flex-wrap:wrap;row-gap:0}.video-page-heading{min-height:calc(var(--control-height) + 1px);justify-content:space-between;align-items:center;gap:1rem;margin:0;display:flex}.video-page-heading h1{font-size:var(--font-title);font-weight:var(--weight-title);letter-spacing:var(--tracking-title);line-height:var(--line-title);margin:0}.video-page-heading h1 button{max-width:100%;color:var(--text-main);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:.45rem;padding:0;display:inline-flex}.video-page-heading h1 button svg{color:var(--text-muted);flex-shrink:0}.video-page-heading h1 button:hover svg,.video-page-heading h1 button[aria-expanded=true] svg{color:var(--text-main)}.video-page-heading>.business-status{flex-shrink:0}.video-workspace :is(p,h1,h2,h3,span,dd,a,button){overflow-wrap:anywhere}.video-field-help,.video-field-error{color:var(--text-muted);font-size:var(--font-caption);margin:0;line-height:1.65}.video-field-error{color:var(--danger)}.video-field-label-row{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.4rem;display:flex}.video-field-label-row>span{color:var(--text-muted);font-size:var(--font-caption);font-variant-numeric:tabular-nums}
.app-sidebar{overscroll-behavior-x:none;min-width:0;height:100dvh;min-height:0;z-index:var(--layer-header);flex-direction:column;align-self:flex-start;display:flex;position:sticky;top:0}.sidebar-inner{overscroll-behavior-x:none;overscroll-behavior-y:contain;touch-action:pan-y;flex:1;min-width:0;min-height:0;position:static;overflow:hidden auto}.sidebar-utilities{border-top:1px solid var(--line);flex-shrink:0;gap:.5rem;margin:0 1rem;padding:.85rem 0 1rem;display:grid}.sidebar-utilities .language-select,.sidebar-utilities .language-select select,.sidebar-utilities .pwa-install-trigger{width:100%;min-width:0}.sidebar-utilities .language-select select{min-height:44px}.sidebar-utilities .pwa-install-trigger{justify-content:flex-start}.sidebar-utilities .pwa-install-control .pwa-install-guide{overscroll-behavior:contain;max-height:calc(100dvh - 6rem);inset:auto auto calc(100% + .55rem) 0;overflow-y:auto}.sidebar-utilities .pwa-install-control:has([aria-expanded=true]):before{content:"";width:min(380px,100vw - 2rem);height:.65rem;position:absolute;top:-.65rem;left:0}.sidebar-utilities .pwa-install-guide:before,.mobile-install-slot{display:none}.app-topbar{background:var(--bg-main);-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:0;justify-content:flex-end;min-height:4.25rem}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:.65rem;min-width:0}.sidebar-brand strong{font-size:1.15rem}.sidebar-navigation-section{border-top:1px solid var(--line);margin-top:1rem;padding-top:.8rem}.account-utilities{align-items:center;gap:.65rem;min-width:0;display:flex}.account-menu,.pwa-install-control{position:relative}.topbar-credits,.account-menu-trigger,.account-menu-options-trigger,.pwa-install-control .pwa-install-trigger{border:1px solid var(--line);min-width:44px;min-height:44px;color:var(--text-soft);background:var(--surface);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:.5rem;padding:.55rem .7rem;font-size:.8rem;font-weight:650;display:inline-flex}.topbar-credits{overflow-wrap:anywhere;max-width:14rem}.topbar-purchase-entry{border:1px solid var(--line);min-height:44px;color:var(--text-soft);background:var(--surface);letter-spacing:.08em;border-radius:10px;justify-content:center;align-items:center;gap:.42rem;padding:.55rem .8rem;font-size:.72rem;font-weight:800;display:inline-flex}.topbar-purchase-entry:hover{border-color:var(--line-strong);color:var(--text-main);background:var(--surface-soft)}.topbar-credits>svg{color:var(--text-accent);flex-shrink:0}.topbar-credits-label{color:var(--text-muted);font-weight:500}.account-menu-trigger:hover,.account-menu-options-trigger:hover,.notification-trigger:hover:not(:disabled),.topbar-credits:hover,.pwa-install-control .pwa-install-trigger:hover{background:var(--surface-soft);border-color:var(--line-strong)}.account-menu-trigger[aria-expanded=true],.account-menu-options-trigger[aria-expanded=true],.notification-trigger[aria-expanded=true]:not(:disabled),.pwa-install-trigger[aria-expanded=true]{border-color:var(--line-strong);background:var(--surface-soft)}.account-menu-controls{display:inline-flex}.account-menu-controls.is-guest .account-menu-trigger{border-top-right-radius:0;border-bottom-right-radius:0}.account-menu-controls.is-guest :is(.account-menu-trigger,.account-menu-options-trigger){color:var(--text-main)}.account-menu-options-trigger{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;padding:.5rem}.account-menu-trigger svg{flex-shrink:0}.account-menu-panel,.pwa-install-control .pwa-install-guide{z-index:var(--layer-dropdown);border:1px solid var(--line-strong);background:var(--surface-raised);width:min(340px,100vw - 2rem);color:var(--text-main);border-radius:16px;padding:.75rem;position:absolute;top:calc(100% + .55rem);right:0;box-shadow:0 18px 48px #0000004d}.account-menu-panel{width:min(280px,100vw - 2rem)}.account-menu-panel:before{content:"";height:.6rem;position:absolute;bottom:100%;left:0;right:0}.account-menu-heading{border-bottom:1px solid var(--line);margin-bottom:.35rem;padding:.5rem .6rem .8rem}.account-menu-heading strong{font-size:.95rem}.account-menu-identity{grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:.5625rem;display:grid}.account-menu-identity strong{overflow-wrap:anywhere;min-width:0;color:var(--text-main);font-size:.90625rem;font-weight:650;line-height:1.3125rem}.account-menu-heading p{color:var(--text-muted);margin:.35rem 0 0;font-size:.78rem;line-height:1.6}.account-menu-row{width:100%;min-height:44px;color:var(--text-soft);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:.65rem;padding:.65rem;font-size:.86rem;display:flex}.account-menu-row:hover:not(:disabled){background:var(--surface-soft)}.account-menu-row>svg{flex-shrink:0}.account-menu-row:disabled{cursor:wait;opacity:.6}.account-menu-language-value{color:var(--text-muted);margin-left:auto;font-size:.75rem}.account-menu-row[aria-expanded=true]>svg:last-child{transform:rotate(180deg)}.account-menu-languages{padding:.25rem;overscroll-behavior:contain;background:var(--surface);border-radius:10px;gap:.15rem;max-block-size:min(24rem,48dvh);margin:.15rem 0 .35rem;padding-inline-start:1.9rem;display:grid;overflow-y:auto}.account-menu-languages .account-menu-row{justify-content:space-between}.account-menu-languages [aria-pressed=true]{background:var(--surface-soft);color:var(--text-main);font-weight:650}.account-menu-divider{border-top:1px solid var(--line);margin:.4rem .6rem}.account-menu-error{color:var(--danger);margin:.35rem .65rem;font-size:.8rem;line-height:1.6}.pwa-install-control .pwa-install-guide{width:min(380px,100vw - 2rem);padding:1rem}.pwa-install-control .pwa-install-guide:before{content:"";height:.65rem;position:absolute;top:-.65rem;left:0;right:0}.pwa-guide-heading{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.pwa-guide-heading strong{font-size:1.02rem;line-height:1.4}.pwa-guide-heading .pwa-prompt-close{flex-shrink:0}.pwa-guide-copy{color:var(--text-muted);margin:.25rem 0 1rem;font-size:.84rem;line-height:1.6}.pwa-platform-switch{background:var(--surface);border-radius:10px;gap:.3rem;padding:.25rem;display:flex}.pwa-platform-switch button{min-height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border-radius:7px;flex:1;padding:.4rem;font-size:.76rem}.pwa-platform-switch button[aria-pressed=true]{color:var(--text-main);background:var(--surface-soft);box-shadow:inset 0 0 0 1px var(--line-strong)}.installation-steps,.pwa-install-guide .installation-steps{gap:1rem;margin:1.25rem 0;padding:0;list-style:none;display:grid}.installation-steps li,.pwa-install-guide .installation-steps li{color:var(--text-soft);align-items:flex-start;gap:.7rem;font-size:.86rem;line-height:1.65;display:flex}.installation-step-number{border:1px solid var(--line-strong);height:1.65rem;color:var(--text-main);border-radius:50%;flex:0 0 1.65rem;place-items:center;font-size:.76rem;font-weight:700;display:grid}.pwa-native-install{width:100%;margin-bottom:.7rem}.pwa-guide-link{min-height:44px;color:var(--text-accent);text-underline-offset:4px;align-items:center;font-size:.85rem;text-decoration:underline;display:inline-flex}.installation-page{max-width:1160px;margin:0 auto;padding:clamp(1rem,4vw,3rem)}.installation-page-heading{max-width:650px}.installation-page-heading>svg{color:var(--text-accent)}.installation-page h1{margin:.8rem 0;font-size:clamp(1.75rem,4vw,2.5rem);line-height:1.2}.installation-page-heading p,.installation-page-note{color:var(--text-muted);line-height:1.7}.installation-page-nav{flex-wrap:wrap;gap:.6rem;margin:1.5rem 0;display:flex}.installation-page-nav a{border:1px solid var(--line);border-radius:999px;align-items:center;min-height:44px;padding:.5rem 1rem;font-size:.85rem;display:inline-flex}.installation-page-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.installation-platform-card{border:1px solid var(--line-strong);background:var(--surface);border-radius:16px;min-width:0;padding:1.4rem;scroll-margin-top:7rem}.installation-platform-card>svg{color:var(--text-accent)}.installation-platform-card h2{margin:.75rem 0 1.25rem;font-size:1.15rem}.installation-page-note{margin-top:1.5rem;font-size:.82rem}@media (max-width:1080px){.installation-page-cards{grid-template-columns:1fr}}@media (780px<width<1024px){.app-shell{--sidebar:104px}.sidebar-inner{padding-inline:.45rem}.sidebar-brand{flex-direction:column;gap:.35rem;padding-inline:0}.sidebar-brand strong{font-size:.88rem}.app-sidebar .sidebar-link,.sidebar-utilities .pwa-install-trigger{min-height:max(48px, var(--control-height));text-align:center;overflow-wrap:anywhere;flex-direction:column;justify-content:center;align-items:center;gap:.22rem;padding:.38rem .2rem}.sidebar-section-title{text-align:center;padding-inline:0}.sidebar-utilities{margin-inline:.45rem}}@media (max-width:780px){.app-sidebar{display:none}.sidebar-inner{touch-action:auto;overflow-x:visible}.sidebar-utilities{display:none}.mobile-install-slot:not(:empty){align-items:center;display:inline-flex}.mobile-install-slot .pwa-install-trigger{padding:.5rem}.mobile-install-slot .pwa-install-guide{top:calc(var(--app-topbar-height) + .5rem);right:max(.75rem, env(safe-area-inset-right,0px));left:max(.75rem, env(safe-area-inset-left,0px));width:auto;max-height:calc(100dvh - var(--app-topbar-height) - var(--app-bottom-offset) - 1rem);overscroll-behavior:contain;position:fixed;overflow-y:auto}.app-topbar{justify-content:space-between;align-items:flex-start;gap:.6rem;padding:.6rem .75rem}.mobile-brand{min-height:44px}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:.4rem}.account-utilities{gap:.4rem}.account-trigger-label,.topbar-credits-label,.pwa-install-trigger>span{display:none}.account-menu-trigger,.topbar-credits,.topbar-purchase-entry,.pwa-install-control .pwa-install-trigger{padding:.5rem}.topbar-purchase-entry span{display:inline}.topbar-credits{max-width:10rem;font-size:.76rem}.topbar-actions .notification-trigger,.topbar-actions .promotion-trigger{width:44px;min-height:44px;padding:.5rem}.account-menu-panel{max-height:calc(100dvh - 13rem);position:fixed;top:7.5rem;right:1rem;overflow-y:auto}}@media (max-width:480px){.mobile-brand>span{display:none}}
.app-chrome{z-index:var(--layer-header);background:var(--bg-main);display:block;position:sticky;top:0;box-shadow:0 6px 18px #00000024}.app-chrome .app-topbar{position:static}.back-to-top{z-index:var(--layer-sticky);right:max(.75rem, env(safe-area-inset-right,0px));bottom:max(.75rem, env(safe-area-inset-bottom,0px));border:1px solid var(--line-strong);width:48px;height:48px;color:var(--text-main);background:var(--surface-raised);box-shadow:var(--shadow);cursor:pointer;opacity:0;visibility:hidden;pointer-events:none;border-radius:50%;place-items:center;transition:opacity .16s,transform .16s,visibility .16s;display:grid;position:fixed;transform:translateY(.5rem)}.back-to-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.back-to-top:hover,.back-to-top:active{background:var(--surface-soft)}body:has(.app-shell) .notice-toast-viewport{--notice-toast-top:calc(var(--app-chrome-height,4.35rem) + .5rem)}body:has(.public-shell) .notice-toast-viewport{--notice-toast-top:calc(var(--public-header-height,5.25rem) + .5rem)}body:not(:has(dialog[open],[aria-modal=true])) .public-header:has(.account-menu-panel){z-index:var(--layer-header-menu)}@media (max-width:780px){:root{--app-topbar-height:calc(3.75rem + env(safe-area-inset-top,0px));--app-chrome-height:var(--app-topbar-height);--app-tools-height:3.25rem;--app-tabbar-offset:calc(var(--mobile-tabbar-height) + .32rem + env(safe-area-inset-bottom,0px));--app-bottom-offset:calc(var(--app-tabbar-offset) + 48px + .75rem)}body:has(.app-shell){padding-bottom:0}html:has(.app-shell){scroll-padding-top:calc(var(--app-chrome-height) + .75rem);scroll-padding-bottom:calc(var(--app-bottom-offset) + .75rem)}.app-shell{padding-bottom:calc(var(--app-bottom-offset) + 1rem)}.app-chrome{display:flow-root}body:not(:has(dialog[open],[aria-modal=true])) .app-chrome:has(.account-menu-panel,.pwa-install-guide){z-index:var(--layer-header-menu)}.app-chrome .app-topbar{min-height:calc(3.75rem + env(safe-area-inset-top,0px));padding:calc(.5rem + env(safe-area-inset-top,0px)) max(.75rem, env(safe-area-inset-right,0px)) .5rem max(.75rem, env(safe-area-inset-left,0px));flex-wrap:nowrap;align-items:center;gap:.5rem;position:static}.app-chrome .topbar-actions{flex-wrap:nowrap;flex:1;gap:.25rem}.app-chrome .topbar-actions>:not(.topbar-credits){flex-shrink:0}.app-chrome .topbar-credits{min-width:44px;max-width:8rem}.app-chrome .topbar-credits strong{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.app-chrome .topbar-purchase-entry{width:44px}.app-chrome .topbar-purchase-entry span{display:none}.app-chrome .topbar-purchase-entry.is-public-pricing{width:auto}.app-chrome .topbar-purchase-entry.is-public-pricing span{display:inline}.app-chrome .business-mobile-nav{padding:0 max(.75rem, env(safe-area-inset-right,0px)) .5rem max(.75rem, env(safe-area-inset-left,0px));border:0;margin:0;position:relative}.app-chrome .business-mobile-nav .business-picker-panel{top:calc(100% + .25rem);right:max(.75rem, env(safe-area-inset-right,0px));left:max(.75rem, env(safe-area-inset-left,0px));width:auto;max-height:calc(100dvh - var(--app-topbar-height) - var(--app-tools-height) - var(--app-bottom-offset) - 1rem);overscroll-behavior:contain;box-shadow:var(--shadow);margin:0;position:absolute;overflow-y:auto}.app-chrome .notification-panel,.app-chrome .account-menu-panel{top:calc(var(--app-topbar-height) + .5rem);right:max(.75rem, env(safe-area-inset-right,0px));left:max(.75rem, env(safe-area-inset-left,0px));width:auto;max-height:calc(100dvh - var(--app-topbar-height) - var(--app-bottom-offset) - 1rem);overscroll-behavior:contain;position:fixed}.app-chrome .notification-panel{flex-direction:column;display:flex}.app-chrome .notification-panel-body{flex:1;min-height:0;max-height:none}.app-chrome .notification-panel-header{flex-shrink:0}.app-chrome .account-menu-panel{overflow-y:auto}.app-chrome .notification-refresh,.app-chrome .notification-read-action{min-width:44px;min-height:44px}body:has(.app-shell) .notice-toast-viewport{--notice-toast-top:calc(var(--app-chrome-height) + .5rem);right:max(.75rem, env(safe-area-inset-right,0px));left:max(.75rem, env(safe-area-inset-left,0px));width:auto;max-height:calc(100dvh - var(--app-chrome-height) - var(--app-bottom-offset) - 1rem);overscroll-behavior:contain;overflow-y:auto}body:has(.app-shell) .app-toast-close{min-width:44px;min-height:44px}.mobile-tabbar{padding-left:max(.45rem, env(safe-area-inset-left,0px));padding-right:max(.45rem, env(safe-area-inset-right,0px));position:fixed}body:has(.app-shell) .back-to-top{bottom:calc(var(--app-tabbar-offset) + .75rem)}body:has(.public-shell) .notice-toast-viewport{--notice-toast-top:calc(var(--public-header-height,4.75rem) + .5rem)}body:has(.workspace-prompt-field textarea:focus){--app-tabbar-offset:0px;--app-bottom-offset:0px}body:has(.workspace-prompt-field textarea:focus) .app-shell{padding-bottom:1rem}:is(body:has(.workspace-prompt-field textarea:focus) .mobile-tabbar,body:has(.workspace-prompt-field textarea:focus) .back-to-top){display:none}}.mobile-notice-outlet:empty{display:none}@media (max-width:780px),(pointer:coarse) and (max-width:1080px) and (max-height:500px){.mobile-notice-outlet{top:var(--app-chrome-height,0px);z-index:var(--layer-toast);overscroll-behavior:contain;min-width:0;max-height:35dvh;position:sticky;overflow-y:auto}.public-shell>.mobile-notice-outlet{top:var(--public-header-height,0px)}.mobile-notice-outlet:has(.guest-credit-promotion:not([hidden])){position:static}.mobile-notice-outlet:has(.notice-toast-viewport:not([hidden]),.notice-prompt-slot:not([hidden])){padding:.375rem max(.75rem, env(safe-area-inset-right,0px)) .375rem max(.75rem, env(safe-area-inset-left,0px))}body .mobile-notice-outlet .notice-toast-viewport,body .mobile-notice-outlet .prompt-required-toast{width:100%;max-width:none;max-height:none;position:static;transform:none}}@media (max-width:360px){.app-chrome .topbar-credits>svg{display:none}}@media (prefers-reduced-motion:reduce){.back-to-top{transition:none}}.mobile-create-trigger{font-family:inherit;line-height:inherit;cursor:pointer;background:0 0;border:0}dialog.flow-dialog.mobile-create-sheet{width:100%;max-width:none;max-height:85dvh;padding:10px max(16px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));border-radius:var(--radius-large) var(--radius-large) 0 0;background:var(--surface-raised);color:var(--text-main);overscroll-behavior:contain;border:0;margin:0;position:fixed;inset:auto 0 0;overflow-y:auto}.mobile-create-sheet::backdrop{background:var(--overlay-dialog);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.mobile-create-sheet header,.mobile-create-sheet .create-choice{align-items:center;gap:12px;display:flex}.mobile-create-sheet header h2{margin:0;font-size:1.25rem}.mobile-create-sheet button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0}.mobile-create-sheet header button{place-items:center;min-width:44px;min-height:44px;display:grid}.mobile-create-sheet [data-close]{margin-inline-start:auto}.mobile-create-sheet .create-choice{width:100%;min-height:48px;color:var(--text-main);text-align:start;padding:6px;text-decoration:none}.mobile-create-sheet svg{flex-shrink:0;width:20px;height:20px}.mobile-create-sheet .create-choice svg:last-child{width:16px;color:var(--text-muted);margin-inline-start:auto}
