/* Discovery refresh: artwork first, calm chrome, accessible mobile navigation. */
body.home-mode .topbar{height:76px;padding:0 24px;gap:18px}
body.home-mode #home-workspace{height:calc(100dvh - 76px);grid-template-columns:214px minmax(0,1fr)}
.h-sidebar{padding:25px 14px 20px;border-right:1px solid var(--line)}
.h-workspace-label{padding:0 8px 25px}.h-workspace-avatar{border-radius:12px;width:35px;height:35px}
#h-nav button{min-height:43px;border-radius:11px;gap:12px;font-size:13px}
.h-main{padding:30px 38px 56px;max-width:none;scrollbar-gutter:stable;overflow-x:hidden}
.h-main>*{max-width:1360px;margin-left:auto;margin-right:auto}
.h-section{margin-top:38px}.h-section-header{margin-bottom:19px;align-items:center;gap:16px}
.h-section-header h2{font-size:21px;letter-spacing:-.5px;font-weight:650;margin:0}
.h-section-header p{font-size:12px;margin:7px 0 0;line-height:1.5;color:var(--muted)}
.h-section-header .quiet-button{font-size:12px;white-space:nowrap;padding:8px 0;min-height:40px}
.h-discovery-hero{padding:38px 42px 28px;text-align:center;border-radius:24px;background:radial-gradient(ellipse at 0 0,color-mix(in srgb,var(--studio-primary) 20%,transparent),transparent 60%),radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--studio-highlight) 22%,transparent),transparent 60%);position:relative;border:1px solid color-mix(in srgb,var(--studio-primary) 12%,var(--line))}
.h-discovery-hero h1{font-size:clamp(28px,3.1vw,45px);line-height:1.2;margin:14px 0 24px;letter-spacing:-1.4px;font-weight:650;background:linear-gradient(95deg,var(--studio-fg),var(--studio-primary) 50%,var(--studio-highlight));background-clip:text;-webkit-background-clip:text;color:transparent}
.h-discovery-hero .h-eyebrow{font-size:9px;letter-spacing:2.5px;color:var(--muted)}
.h-discovery-hero>p{font-size:12px;color:var(--muted);margin:18px 0 0}
.h-discovery-search{max-width:730px;margin:0 auto;display:flex;align-items:center;gap:14px;border:1px solid color-mix(in srgb,var(--studio-primary) 42%,var(--line));background:var(--studio-input);border-radius:16px;padding:10px 12px 10px 22px;box-shadow:0 9px 28px color-mix(in srgb,var(--studio-primary) 12%,transparent)}
.h-discovery-search:focus-within{outline:2px solid var(--studio-ring);outline-offset:3px}
.h-discovery-search>span,.h-template-search-wrap>span{font-size:29px;line-height:1;color:var(--muted)}
.h-discovery-search input{width:100%;min-width:0;height:44px;background:transparent;border:0;outline:none;color:var(--studio-fg);font-size:15px;box-shadow:none}
.h-discovery-search input::placeholder{color:var(--muted);opacity:.8}
.h-discovery-search button{border:0;border-radius:11px;width:42px;height:42px;flex:none;background:var(--studio-primary);color:var(--studio-on-primary);font-size:23px;cursor:pointer}
.h-project-grid{gap:22px;grid-template-columns:repeat(auto-fill,minmax(208px,1fr));margin:0}
.h-project-card{background:transparent;border:0;border-radius:0;box-shadow:none;position:relative;overflow:visible}
.h-project-card:hover{box-shadow:none;border-color:transparent;transform:none}
.h-project-visual{height:auto;aspect-ratio:1.25;border-radius:17px;background:color-mix(in srgb,var(--studio-fg) 5%,var(--studio-surface));border:1px solid var(--line);overflow:visible;position:relative}
.h-project-open{width:100%;height:100%;padding:15px;border-radius:17px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.h-project-open>svg,.h-project-open>img{width:100%;height:100%;max-height:none;object-fit:contain;display:block;filter:drop-shadow(0 3px 7px #0002)}
.h-project-info{padding:12px 0 0}.h-project-title{font-size:14px;font-weight:600;line-height:1.5;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0}
.h-project-info>small{font-size:10px;margin-top:2px}.h-project-footer{padding-top:6px;gap:6px;color:var(--muted)}
.h-project-footer>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.h-star{font-size:17px;min-width:28px}
.h-select{left:10px;top:10px;z-index:2}.h-select input{width:18px;height:18px}
.h-kind{left:11px;bottom:9px;top:auto;font-size:8px;letter-spacing:.5px;background:var(--studio-surface);color:var(--muted);padding:3px 7px;border:1px solid var(--line);border-radius:6px}
.h-project-menu{position:absolute;right:9px;top:9px;z-index:4}
.h-project-menu summary{width:34px;height:34px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--studio-sidebar) 90%,transparent);border:1px solid var(--line);color:var(--studio-fg);font-size:23px;line-height:1;cursor:pointer;box-shadow:0 3px 8px #0002}
.h-project-menu summary::-webkit-details-marker{display:none}.h-project-menu[open]{z-index:10}.h-project-menu>div{right:0;top:41px;bottom:auto;min-width:165px;padding:6px;position:absolute;border-radius:12px;border:1px solid var(--line);box-shadow:0 9px 28px #0003;background:var(--studio-sidebar)}
.h-project-menu button{font-size:12px;min-height:39px;width:100%;text-align:left;border-radius:7px}
.h-project-strip{display:flex;overflow-x:auto;gap:19px;padding:0 0 12px;scroll-snap-type:x proximity;scrollbar-width:thin}
.h-project-strip .h-project-card{width:210px;min-width:210px;scroll-snap-align:start}.h-project-strip .h-project-visual{aspect-ratio:1.35}
.h-project-strip .h-empty{flex:1;min-height:155px;width:100%;padding:24px}.h-empty>span{font-size:26px}.h-empty h3{font-size:18px}.h-empty p{font-size:12px;max-width:420px}
.h-home-storage{display:none}.h-project-strip .h-select{display:none}
.h-project-controls{display:grid;grid-template-columns:minmax(180px,1fr) 160px 180px 42px;gap:11px;margin-bottom:23px;padding:0;border:0;background:transparent}
.h-project-controls .search-input,.h-project-controls select{height:47px;border-radius:13px;font-size:12px;background:var(--studio-input);border:1px solid var(--line)}
.h-project-controls select{padding:0 13px}.h-project-controls .search-input{padding:0 16px}
.h-list .h-project-card{display:grid;grid-template-columns:110px 1fr;gap:18px;border-bottom:1px solid var(--line);padding-bottom:17px}.h-list .h-project-visual{height:86px;aspect-ratio:auto}.h-list .h-project-info{padding-top:5px}.h-list .h-project-menu summary{width:28px;height:28px}.h-list .h-project-open{padding:7px}
.h-start-section{margin-top:30px}.h-format-rail{display:grid;grid-template-columns:repeat(8,minmax(75px,1fr));gap:14px}
.h-format-choice{display:flex;flex-direction:column;align-items:center;gap:12px;background:transparent;border:0;padding:5px 0;cursor:pointer;color:var(--studio-fg);min-width:0;border-radius:16px}
.h-format-choice>span{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,color-mix(in srgb,var(--format-color) 85%,white),var(--format-color));color:white;box-shadow:inset 0 1px 0 #fff4,0 5px 15px color-mix(in srgb,var(--format-color) 15%,transparent);transition:transform .18s}
.h-format-choice svg{width:31px;height:31px;stroke-width:1.9}.h-format-choice strong{font-size:11px;font-weight:550;white-space:nowrap}.h-format-choice:hover>span{transform:translateY(-4px)}
.h-quick-section{margin-top:31px}.h-quick-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.h-quick-tools>button{background:var(--studio-card);border:1px solid var(--line);padding:16px;border-radius:15px;display:flex;align-items:center;gap:13px;cursor:pointer;text-align:left;color:var(--studio-fg);transition:border-color .15s}
.h-quick-tools>button:hover{border-color:var(--studio-primary)}.h-quick-tools>button>span{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;flex:none}.h-quick-tools svg{width:25px;height:25px}.h-tool-photo{background:#75b2df26;color:#68a8e4}.h-tool-video{background:#c97ac826;color:#bf77d2}.h-tool-import{background:#76b99626;color:#61af92}
.h-quick-tools strong{font-size:12px;font-weight:600;display:block}.h-quick-tools small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.h-quick-tools b{margin-left:auto;font-weight:400;color:var(--muted)}
.h-collection-heading{padding:6px 0 5px;margin-bottom:25px}.h-collection-heading h1,.h-library-heading h1{font-size:36px;line-height:1.14;letter-spacing:-1.2px;margin:12px 0}.h-collection-heading p{font-size:13px;color:var(--muted)}
.h-template-search-wrap{display:flex;align-items:center;gap:12px;background:var(--studio-input);border:1px solid var(--line);padding:0 17px;border-radius:15px;margin-bottom:21px;max-width:730px}.h-template-search-wrap:focus-within{outline:2px solid var(--studio-ring);outline-offset:2px}.h-template-search-wrap .h-template-search{height:53px;margin:0;padding:0;border:0;background:transparent;font-size:13px;box-shadow:none;outline:0}
.h-categories{gap:9px;margin-bottom:25px;flex-wrap:nowrap;overflow-x:auto;padding:3px 1px 8px;scrollbar-width:thin}.h-categories button{border-radius:30px;padding:9px 16px;font-size:11px;min-height:37px;white-space:nowrap;border:1px solid var(--line);background:transparent;color:var(--muted)}.h-categories button.active{background:var(--studio-primary);border-color:var(--studio-primary);color:var(--studio-on-primary)}
.h-template-grid{display:block;columns:4;column-gap:21px}.h-template-card{display:inline-block;break-inside:avoid;width:100%;margin:0 0 25px;background:transparent;border:0;border-radius:0;text-align:left;padding:0;box-shadow:none;vertical-align:top;color:var(--studio-fg)}
.h-template-card:hover{transform:none;border-color:transparent;box-shadow:none}.h-template-art{height:auto;min-height:0;max-height:none;width:100%;padding:0;border-radius:15px;overflow:hidden;background:var(--studio-surface);position:relative;box-shadow:0 3px 14px #0001;border:1px solid var(--line)}
.h-template-art>svg{width:100%;height:100%;max-height:none;display:block;object-fit:contain}.h-template-card>strong{font-size:12px;display:block;margin:10px 0 4px;padding:0;line-height:1.4;font-weight:600}.h-template-card>small{display:block;color:var(--muted);font-size:10px;line-height:1.5;padding:0}
.h-use-template{position:absolute;bottom:10px;left:10px;right:10px;padding:10px;border-radius:9px;background:var(--studio-sidebar);color:var(--studio-fg);font-size:11px;text-align:center;opacity:0;transform:translateY(5px);transition:.15s;box-shadow:0 4px 14px #0002;pointer-events:none}.h-template-card:hover .h-use-template,.h-template-card:focus-visible .h-use-template{opacity:1;transform:none}
.h-curated-grid{columns:auto;display:flex;overflow-x:auto;gap:19px;padding-bottom:10px;align-items:start;scroll-snap-type:x proximity}.h-curated-grid .h-template-card{width:205px;min-width:205px;margin-bottom:0;scroll-snap-align:start}.h-curated-grid .h-template-art{height:256px;aspect-ratio:auto!important;background:color-mix(in srgb,var(--studio-fg) 4%,var(--studio-surface))}.h-curated-grid .h-template-art>svg{object-fit:contain}
.h-folders{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:25px;align-items:start}.h-folder-card{display:flex;flex-direction:column;align-items:stretch;padding:0;background:transparent;border:0;border-radius:0;gap:0;text-align:left;box-shadow:none;color:var(--studio-fg);min-width:0}.h-folder-card:hover{background:transparent;transform:none;box-shadow:none}.h-folder-card>strong{font-size:14px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:13px 0 3px}.h-folder-card>small{font-size:11px;color:var(--muted)}
.h-folder-art{position:relative;height:155px;isolation:isolate}.h-folder-tab{position:absolute;top:0;left:0;width:44%;height:30px;border-radius:17px 20px 0 0;background:var(--folder-tone)}.h-folder-paper{position:absolute;top:14px;left:6px;right:5px;height:97px;border-radius:13px;background:color-mix(in srgb,var(--folder-tone) 35%,white);transform:rotate(-2deg)}.h-folder-paper.second{top:21px;left:9px;background:#faf5ff;transform:rotate(1deg)}
.h-folder-front{position:absolute;top:32px;bottom:0;left:0;right:0;overflow:hidden;border-radius:15px;background:linear-gradient(165deg,color-mix(in srgb,var(--folder-tone) 75%,white),var(--folder-tone));box-shadow:0 6px 16px color-mix(in srgb,var(--folder-tone) 15%,transparent);display:grid;place-items:center;transition:transform .18s}.h-folder-card:hover .h-folder-front{transform:translateY(-3px)}
.h-folder-cover{height:98px;max-width:75%;display:flex;align-items:center;justify-content:center}.h-folder-cover>svg{height:100%;width:auto;max-width:100%;border-radius:6px;filter:drop-shadow(0 2px 4px #0002)}.h-folder-cover>img{height:100%;max-width:100%;object-fit:contain;border-radius:5px}.h-folder-cover>svg[viewBox="0 0 24 24"]{width:38px;height:38px;color:#fff9;filter:none}
.h-first-folder{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;border:1px dashed var(--line);border-radius:18px;padding:30px;gap:10px;background:transparent}.h-first-folder>span>svg{width:29px;height:29px;color:var(--muted)}.h-first-folder h3{font-size:16px;margin:0}.h-first-folder p{font-size:12px;color:var(--muted);margin:0;text-align:center}.h-first-folder button{margin-top:8px}
.h-mobile-nav,.h-floating-create{display:none}
@media(min-width:1700px){.h-template-grid:not(.h-curated-grid){columns:5}}
@media(max-width:1160px){.h-main{padding:26px 25px 45px}.h-template-grid:not(.h-curated-grid){columns:3}.h-format-rail{gap:8px}.h-format-choice>span{width:58px;height:58px}.h-quick-tools>button{padding:13px 11px;gap:9px}.h-quick-tools>button>span{width:35px;height:35px}.h-quick-tools small{font-size:9px}}
@media(max-width:950px) and (min-width:731px){body.home-mode #home-workspace{grid-template-columns:178px minmax(0,1fr)}.h-main{padding:25px 21px 45px}.h-discovery-hero{padding:27px 20px 25px}.h-discovery-hero h1{font-size:31px}.h-format-rail{grid-template-columns:repeat(4,1fr);gap:17px}.h-quick-tools{grid-template-columns:1fr}.h-template-grid:not(.h-curated-grid){columns:2}.h-project-controls{grid-template-columns:1fr 42px}.h-project-controls select{grid-row:2}.h-project-controls #h-layout{grid-row:1;grid-column:2}.h-project-controls #h-project-sort{grid-column:2;width:165px;justify-self:end}.h-project-controls #h-project-type{width:160px}.h-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:730px){
  body.home-mode .topbar{height:66px;padding:0 17px;gap:8px;position:relative;z-index:8}
  body.home-mode .brand img{width:31px;height:31px}.brand-wordmark strong{font-size:17px}.brand-wordmark small{font-size:6px;letter-spacing:1.35px}
  body.home-mode .h-top-actions{gap:7px;margin-left:auto}.h-top-actions .h-local-pill,.h-top-actions #h-create{display:none}.h-top-actions #h-import{height:35px;width:35px;padding:8px;min-height:35px;border-radius:10px}.h-top-actions .h-action-label{display:none}
  body.home-mode .appearance-trigger{width:35px;height:35px;padding:8px;border-radius:10px}.appearance-trigger>span{display:none}
  body.home-mode #home-workspace{height:calc(100dvh - 66px);display:block;overflow:hidden;position:relative}.h-sidebar{display:none}
  .h-main{height:100%;width:100%;padding:22px 17px calc(110px + env(safe-area-inset-bottom));overflow:auto;scrollbar-gutter:auto}
  .h-discovery-hero{margin:-22px -17px 0;padding:27px 17px 25px;border-radius:0;border:0;background:radial-gradient(ellipse at 0 0,color-mix(in srgb,var(--studio-primary) 18%,transparent),transparent 70%),radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--studio-highlight) 20%,transparent),transparent 70%)}
  .h-discovery-hero .h-eyebrow{font-size:7px;letter-spacing:1.75px}.h-discovery-hero h1{font-size:27px;letter-spacing:-1px;margin:17px 0 24px;white-space:normal}.h-discovery-hero>p{font-size:10px;margin-top:15px}
  .h-discovery-search{padding:8px 9px 8px 15px;gap:8px;border-radius:16px;text-align:left}.h-discovery-search input{height:42px;font-size:12px}.h-discovery-search button{height:34px;width:34px;font-size:20px;border-radius:9px}.h-discovery-search>span{font-size:25px}
  .h-section{margin-top:29px}.h-section-header{margin-bottom:16px;gap:10px;align-items:start}.h-section-header h2{font-size:18px;letter-spacing:-.3px}.h-section-header p{font-size:10px;margin-top:5px;max-width:260px}.h-section-header .quiet-button{font-size:11px;padding:0;min-height:30px}
  .h-project-strip{gap:14px;margin-right:-17px;padding-right:17px;padding-bottom:8px}.h-project-strip .h-project-card{width:166px;min-width:166px}.h-project-strip .h-project-visual{aspect-ratio:1.3}
  .h-project-card .h-project-open{padding:13px;border-radius:15px}.h-project-visual{border-radius:15px}.h-project-title{font-size:12px}.h-project-info{padding-top:10px}.h-project-info>small{font-size:9px}.h-project-footer>span{font-size:9px}.h-star{min-width:22px;font-size:15px;padding:0}
  .h-project-grid:not(.h-project-strip){grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.h-project-menu{right:7px;top:7px}.h-project-menu summary{width:31px;height:31px;font-size:21px}.h-project-menu>div{min-width:147px}.h-project-menu button{min-height:42px;font-size:11px}.h-select{top:8px;left:8px}.h-kind{font-size:7px;bottom:8px;padding:2px 5px;left:9px}
  .h-project-controls{grid-template-columns:1fr 42px;gap:10px;margin-bottom:23px}.h-project-controls input{grid-row:1;grid-column:1}.h-project-controls #h-layout{grid-row:1;grid-column:2}.h-project-controls select{grid-row:2;width:100%;max-width:none}.h-project-controls #h-project-type{grid-column:1;width:54%;min-width:140px}.h-project-controls #h-project-sort{grid-column:1/-1;justify-self:end;width:43%;min-width:147px}.h-project-controls .search-input{font-size:12px;height:53px}.h-project-controls select{height:38px;font-size:10px;padding:0 9px;border-radius:22px}
  .h-list:not(.h-project-strip){grid-template-columns:1fr}.h-list .h-project-card{grid-template-columns:90px 1fr}.h-list .h-project-visual{height:79px}.h-list .h-project-open{padding:8px}
  .h-start-section{margin-top:25px}.h-format-rail{display:grid;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:76px;gap:18px 14px;overflow-x:auto;scrollbar-width:none;padding:3px 1px 9px;margin-right:-17px;scroll-snap-type:x proximity}.h-format-choice{scroll-snap-align:start;gap:10px}.h-format-choice>span{width:66px;height:66px}.h-format-choice strong{font-size:10px}.h-format-choice svg{width:31px;height:31px}
  .h-quick-tools{display:flex;gap:11px;overflow-x:auto;margin-right:-17px;padding:0 17px 8px 0}.h-quick-tools>button{min-width:225px;padding:14px;gap:12px}.h-quick-tools>button>span{width:38px;height:38px}.h-quick-tools strong{font-size:12px}.h-quick-tools small{font-size:10px}
  .h-collection-heading{padding:4px 0 0;margin-bottom:26px}.h-collection-heading h1,.h-library-heading h1{font-size:29px;margin:13px 0;letter-spacing:-.8px}.h-collection-heading p{font-size:12px}.h-template-section .h-section-header p{max-width:280px}
  .h-template-grid:not(.h-curated-grid){columns:2;column-gap:14px}.h-template-card{margin-bottom:22px}.h-template-art{border-radius:13px}.h-template-card>strong{font-size:11px;margin-top:9px}.h-template-card>small{font-size:9px}.h-use-template{display:none}.h-categories{margin-bottom:21px;margin-right:-17px;padding-right:17px;gap:8px}.h-categories button{font-size:10px;padding:8px 12px;min-height:36px}.h-template-search-wrap{padding:0 13px;margin-bottom:17px}.h-template-search-wrap .h-template-search{font-size:12px;height:51px}
  .h-curated-grid{gap:15px;margin-right:-17px;padding-right:17px}.h-curated-grid .h-template-card{width:195px;min-width:195px}.h-curated-grid .h-template-art{height:244px}
  .h-folders{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 15px}.h-folder-art{height:125px}.h-folder-front{top:27px;border-radius:14px}.h-folder-tab{height:24px;border-radius:15px 16px 0 0}.h-folder-cover{height:78px}.h-folder-card>strong{font-size:12px;margin-top:11px}.h-folder-card>small{font-size:10px}.h-first-folder{padding:25px 16px}.h-first-folder h3{font-size:15px}.h-first-folder p{font-size:11px}
  .h-folder-actions{display:flex;gap:7px;flex-direction:column}.h-folder-actions .quiet-button{font-size:10px;min-height:23px}.h-storage-note{font-size:10px;line-height:1.6;margin-top:25px}
  .h-mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:50;height:calc(68px + env(safe-area-inset-bottom));padding:6px 4px calc(6px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--studio-sidebar) 95%,transparent);border-top:1px solid var(--line);backdrop-filter:blur(18px)}
  .h-mobile-nav button{background:transparent;border:0;border-radius:10px;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;min-width:0;padding:5px 0}.h-mobile-nav svg{width:23px;height:23px;stroke-width:1.7}.h-mobile-nav span{font-size:9px;line-height:1.2}.h-mobile-nav button.active{color:var(--studio-primary);background:color-mix(in srgb,var(--studio-primary) 9%,transparent)}
  .h-floating-create{display:grid;place-items:center;position:fixed;right:18px;bottom:calc(86px + env(safe-area-inset-bottom));width:51px;height:51px;z-index:40;border:1px solid #fff2;border-radius:50%;background:var(--studio-primary);color:var(--studio-on-primary);font-size:30px;font-weight:300;line-height:1;box-shadow:0 5px 24px color-mix(in srgb,var(--studio-primary) 28%,transparent);cursor:pointer}
  #toast{bottom:calc(85px + env(safe-area-inset-bottom));max-width:calc(100vw - 90px)}
}
@media(prefers-reduced-motion:reduce){.h-format-choice>span,.h-folder-front,.h-use-template{transition:none}}
[data-headline-motion="false"] .h-format-choice>span,[data-headline-motion="false"] .h-folder-front,[data-headline-motion="false"] .h-use-template{transition:none}

/* Arrange featured templates across the first row instead of burying them in CSS columns. */
.h-template-grid:not(.h-curated-grid){--gallery-columns:4;columns:auto;display:grid;grid-template-columns:repeat(var(--gallery-columns),minmax(0,1fr));align-items:start;gap:21px}
.h-template-column{min-width:0;display:flex;flex-direction:column}.h-template-column .h-template-card{flex:none}
body.home-mode :is(.h-discovery-search,.h-template-search-wrap) input{background:transparent;border:0;padding:0;box-shadow:none;border-radius:0}
body.home-mode .h-categories{scrollbar-width:none}.h-categories::-webkit-scrollbar{display:none}
@media(min-width:1700px){.h-template-grid:not(.h-curated-grid){--gallery-columns:5}}
@media(max-width:1160px){.h-template-grid:not(.h-curated-grid){--gallery-columns:3}}
@media(max-width:950px){.h-template-grid:not(.h-curated-grid){--gallery-columns:2}}
@media(max-width:730px){.h-template-grid:not(.h-curated-grid){gap:14px}}
.h-folder-card>.h-folder-art{flex:0 0 155px;min-height:155px}
#h-home-search,#h-template-search{background:transparent;border:0;border-radius:0;box-shadow:none}
.h-discovery-search,.h-template-search-wrap{background:color-mix(in srgb,var(--studio-bg) 88%,var(--studio-card))}
.h-project-strip .h-empty{min-height:130px;padding:22px;gap:9px}.h-project-strip .h-empty>span{display:none}.h-project-strip .h-empty h3{font-size:17px;margin:0}.h-project-strip .h-empty p{margin:0 0 8px}
@media(max-width:730px){.h-folder-card>.h-folder-art{flex-basis:125px;min-height:125px}.h-project-strip .h-empty{min-height:140px;padding:20px 15px}.h-project-strip .h-empty h3{font-size:16px}.h-project-strip .h-empty p{font-size:11px}}
html[data-glass=off] .h-mobile-nav{backdrop-filter:none;background:var(--studio-sidebar)}
html[data-aura-lift=off] .h-format-choice:hover>span,html[data-aura-lift=off] .h-folder-card:hover .h-folder-front{transform:none}
html[data-hover-edges=off] .h-quick-tools>button:hover{border-color:var(--line)}
html[data-headline-motion=on] .h-discovery-hero h1{background-size:200% 100%;animation:frame-title-flow 14s ease-in-out infinite}
@keyframes frame-title-flow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@media(prefers-reduced-motion:reduce){html[data-headline-motion=on] .h-discovery-hero h1{animation:none}}
.h-list .h-project-menu>div{right:auto;left:0}
.h-section-header>div:first-child{min-width:0}.h-section-header h2{overflow-wrap:anywhere}
.h-project-scopes{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:-1px 0 18px;padding:2px 0 4px}
.h-project-scopes button{white-space:nowrap;min-height:36px;padding:7px 13px;border:1px solid var(--line);border-radius:22px;background:transparent;color:var(--muted);font-size:11px;cursor:pointer}
.h-project-scopes button.active{background:var(--studio-primary);border-color:var(--studio-primary);color:var(--studio-on-primary)}
@media(max-width:730px){.h-main .h-project-grid:not(.h-project-strip) .h-select{opacity:1}.h-project-scopes button{font-size:10px}}

/* Illustrated discovery and original editorial collections. */
.h-mini-rail{display:flex;overflow-x:auto;gap:23px;scroll-snap-type:x proximity;scrollbar-width:thin;padding:3px 0 13px}
.h-mini-format{flex:0 0 112px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:11px;border:0;background:none;color:var(--studio-fg);text-align:center;cursor:pointer;padding:0;scroll-snap-align:start}
.h-mini-art{width:104px;height:104px;border-radius:22px;display:grid;place-items:center;background:var(--tile-color);position:relative;isolation:isolate;overflow:hidden;transition:transform .18s}
.h-mini-art:before{content:'';position:absolute;width:76%;height:71%;border-radius:6px;background:#ffffff60;transform:rotate(-13deg);z-index:-1;left:11px;top:17px}
.h-mini-art>svg{width:75%;height:79%;transform:rotate(7deg);filter:drop-shadow(0 3px 3px #0003);border-radius:4px}
.h-mini-format>strong{font-size:12px;font-weight:600;line-height:1.5}.h-mini-format>small{font-size:10px;color:var(--muted);line-height:1.5}
.h-mini-format:hover .h-mini-art{transform:translateY(-3px)}
.h-category-rail .h-mini-art{width:110px;height:110px;border-radius:22px}.h-category-rail .h-mini-format{flex-basis:118px}
.h-collection-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.h-collection-tile{padding:24px 18px;min-height:180px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(130deg,color-mix(in srgb,var(--collection-color) 16%,var(--studio-card)),var(--studio-surface));text-align:left;color:var(--studio-fg);display:flex;position:relative;isolation:isolate;overflow:hidden;cursor:pointer;min-width:0}
.h-collection-tile>span{display:flex;flex-direction:column;gap:13px;max-width:58%;z-index:2;min-width:0}.h-collection-tile small{font-size:8px;letter-spacing:1.5px;color:var(--muted);font-weight:700}.h-collection-tile strong{font-size:19px;line-height:1.25;font-weight:600;letter-spacing:-.5px}.h-collection-tile b{font-size:10px;font-weight:500;margin-top:auto;line-height:1.5}
.h-collection-covers{position:absolute;right:-16px;top:31px;width:47%;height:165px;pointer-events:none}.h-collection-covers>div{position:absolute;left:0;top:0;width:90px;height:140px;transform:rotate(-12deg);filter:drop-shadow(0 5px 9px #0003)}.h-collection-covers>div:nth-child(2){transform:rotate(9deg);left:47px;top:17px}.h-collection-covers svg{width:100%;height:100%;border-radius:6px;overflow:hidden}
.h-collection-tile:hover{border-color:var(--studio-primary)}
.h-main[data-section=templates] .h-collection-heading{padding:0;margin:0 0 23px}.h-main[data-section=templates] .h-collection-heading h1{font-size:33px;line-height:1.2;margin:8px 0 0;letter-spacing:-1px}.h-main[data-section=templates] .h-template-section{margin-top:0}
.h-template-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 205px;gap:14px;margin-bottom:16px}.h-template-toolbar .h-template-search-wrap{margin:0}.h-template-toolbar select{border:1px solid var(--line);border-radius:14px;padding:0 13px;font-size:12px;min-width:0;height:53px;background:var(--studio-input);color:var(--studio-fg)}
.h-result-count{font-size:11px;color:var(--muted);margin:0 0 17px}.h-no-templates{grid-column:1/-1;display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:24px;border:1px dashed var(--line);border-radius:14px;font-size:13px}
.h-tool-photo>img{width:100%;height:100%;object-fit:cover;border-radius:12px}
html[data-aura-lift=off] .h-mini-format:hover .h-mini-art{transform:none}html[data-hover-edges=off] .h-collection-tile:hover{border-color:var(--line)}
@media(max-width:1160px){.h-collection-tile{padding:22px 15px}.h-collection-tile strong{font-size:17px}.h-collection-covers{right:-37px}}
@media(max-width:950px){.h-collection-rail{display:flex;overflow-x:auto;padding:0 0 10px;scroll-snap-type:x proximity}.h-collection-tile{flex:0 0 305px;scroll-snap-align:start}.h-collection-covers{right:-8px}}
@media(max-width:730px){
 .h-mini-rail{gap:16px;margin-right:-17px;padding-right:17px}.h-mini-format{flex-basis:92px}.h-mini-art{width:88px;height:88px;border-radius:20px}.h-mini-format>strong{font-size:11px}.h-mini-format>small{font-size:9px}
 .h-category-rail .h-mini-art{width:94px;height:94px}.h-category-rail .h-mini-format{flex-basis:100px}
 .h-collections .h-section-header{display:block}.h-collections .h-section-header>p{margin:6px 0 0}.h-collection-rail{margin-right:-17px;padding-right:17px}.h-collection-tile{min-height:172px;flex-basis:291px}
 .h-main[data-section=templates] .h-collection-heading{margin-bottom:22px}.h-main[data-section=templates] .h-collection-heading h1{font-size:28px}.h-main[data-section=templates] .h-collection-heading .h-eyebrow{font-size:8px}
 .h-template-toolbar{grid-template-columns:1fr;gap:10px}.h-template-toolbar select{height:38px;font-size:11px;border-radius:20px;justify-self:start;width:185px}.h-result-count{font-size:10px;margin-bottom:16px}.h-no-templates{font-size:12px;padding:20px}
}
@media(prefers-reduced-motion:reduce){.h-mini-art{transition:none}}
html[data-headline-motion=off] .h-mini-art{transition:none}
