/* Public Gallery only; the same paper, sage and type used by the revised application. */
body:has(.gallery-workspace) > .topbar { display:none; }
.gallery-workspace { --gallery-paper:#f7f4ed; --gallery-card:#fffcf5; --gallery-pale:#e8ebdf; --gallery-green:#51674f; --gallery-ink:#303a31; --gallery-muted:#62675d; --gallery-rust:#aa5b41; --gallery-line:#d8d7c9; min-height:100vh; background:var(--gallery-paper); color:var(--gallery-ink); font:400 18px/1.6 "Treasury Runtime Inter",sans-serif; }
.gallery-workspace :where(h1,h2,h3,p) { margin:0; }
.gallery-workspace :where(h1,h2,h3) { font-family:"Treasury Runtime Lora",Georgia,serif; font-weight:400; line-height:1.3; }
.gallery-workspace h1 { font-size:48px; }
.gallery-workspace h2 { font-size:30px; }
.gallery-workspace h3 { font-size:26px; }
.gallery-workspace :where(a,button):focus-visible { outline:2px solid var(--gallery-rust); outline-offset:4px; }
.gallery-workspace .gallery-shell { max-width:1600px; margin-inline:auto; padding-inline:64px; }
.gallery-workspace .gallery-header { display:flex; align-items:center; justify-content:space-between; min-height:88px; gap:28px; }
.gallery-workspace .gallery-brand { display:flex; align-items:center; gap:12px; font:400 23px/1.3 "Treasury Runtime Lora",Georgia,serif; }
.gallery-workspace .gallery-brand img { flex:none; }
.gallery-workspace .gallery-header nav { display:flex; align-items:center; gap:36px; }
.gallery-workspace .gallery-header a:hover { text-decoration:underline; text-underline-offset:4px; }
.gallery-workspace .gallery-header [aria-current="page"] { font-weight:600; color:var(--gallery-green); }
.gallery-workspace .gallery-nav-rule { width:1px; height:18px; background:var(--gallery-line); }
.gallery-workspace .gallery-rule { width:100%; height:1px; background:var(--gallery-line); }
.gallery-workspace .gallery-introduction { display:flex; flex-direction:column; gap:16px; padding-block:42px 36px; }
.gallery-workspace .gallery-eyebrow { color:var(--gallery-rust); font-size:15px; font-weight:600; }
.gallery-workspace .gallery-introduction > p:last-child { max-width:760px; color:var(--gallery-muted); line-height:1.7; }
.gallery-workspace .gallery-content { display:flex; flex-direction:column; padding-bottom:56px; }
.gallery-workspace .gallery-community-empty { display:flex; align-items:center; gap:22px; padding:28px 32px; border:1px solid var(--gallery-line); border-radius:8px; background:var(--gallery-pale); }
.gallery-workspace .gallery-empty-symbol { display:grid; place-items:center; width:56px; height:56px; flex:none; border-radius:50%; background:var(--gallery-paper); }
.gallery-workspace .gallery-community-empty h2 { font-size:25px; color:var(--gallery-green); }
.gallery-workspace .gallery-community-empty p { margin-top:8px; color:var(--gallery-muted); font-size:17px; }
.gallery-workspace .gallery-collection { min-width:0; }
.gallery-workspace .gallery-collection-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:28px; margin-bottom:28px; }
.gallery-workspace .gallery-collection-heading h2 { margin-top:10px; }
.gallery-workspace .gallery-collection-heading > p { max-width:445px; font-size:16px; color:var(--gallery-muted); }
.gallery-workspace .gallery-story-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.gallery-workspace .gallery-story-card { min-width:0; display:flex; flex-direction:column; background:var(--gallery-card); border:1px solid var(--gallery-line); border-radius:8px; overflow:hidden; }
.gallery-workspace .gallery-live-card { transition:border-color .16s ease,box-shadow .16s ease; }
.gallery-workspace .gallery-live-card:hover { border-color:var(--gallery-green); box-shadow:0 8px 24px #303a3110; }
.gallery-workspace .gallery-live-card:hover .gallery-read-link { text-decoration:underline; text-underline-offset:4px; }
.gallery-workspace .gallery-story-cover { position:relative; aspect-ratio:3/2; min-height:0; overflow:hidden; background:var(--gallery-pale); }
.gallery-workspace .gallery-story-cover > img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; }
.gallery-workspace .gallery-missing-cover { display:grid; place-items:center; height:100%; color:var(--gallery-green); }
.gallery-workspace .gallery-missing-cover :where(svg,img) { width:48px; height:48px; }
.gallery-workspace .gallery-story-body { display:flex; flex-direction:column; gap:14px; flex:1; min-width:0; padding:26px; overflow-wrap:anywhere; }
.gallery-workspace .gallery-story-type { font-size:15px; color:var(--gallery-rust); }
.gallery-workspace .gallery-story-description { font-size:17px; line-height:1.65; color:var(--gallery-muted); }
.gallery-workspace .gallery-story-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; color:var(--gallery-green); font-size:15px; padding-block:6px 12px; }
.gallery-workspace .gallery-story-meta span + span { border-left:1px solid var(--gallery-line); padding-left:16px; }
.gallery-workspace .gallery-story-footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin-top:auto; border-top:1px solid var(--gallery-line); padding-top:18px; color:var(--gallery-muted); font-size:15px; }
.gallery-workspace .gallery-read-link { color:var(--gallery-green); font-weight:600; }
.gallery-workspace .gallery-footer { padding-bottom:28px; }
.gallery-workspace .gallery-footer > div:last-child { display:flex; justify-content:space-between; gap:24px; padding-top:20px; color:var(--gallery-muted); font-size:16px; }
.gallery-workspace .gallery-footer p:last-child { font-family:"Treasury Runtime Lora",Georgia,serif; color:var(--gallery-green); }
@media (max-width:1199px) {
 .gallery-workspace .gallery-shell { padding-inline:40px; }
 .gallery-workspace .gallery-story-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:899px) {
 .gallery-workspace .gallery-shell { padding-inline:28px; }
 .gallery-workspace .gallery-collection-heading { flex-wrap:wrap; gap:16px; }
 .gallery-workspace .gallery-collection-heading > p { max-width:100%; }
 .gallery-workspace .gallery-story-body { padding:22px; }
}
@media (max-width:599px) {
 .gallery-workspace .gallery-shell { padding-inline:22px; }
 .gallery-workspace .gallery-header { min-height:112px; flex-wrap:wrap; padding-block:22px; gap:20px; }
 .gallery-workspace .gallery-brand { font-size:22px; }
 .gallery-workspace .gallery-header nav { width:100%; justify-content:flex-end; gap:24px; }
 .gallery-workspace h1 { font-size:38px; }
 .gallery-workspace h2 { font-size:28px; }
 .gallery-workspace .gallery-introduction { padding-block:30px; }
 .gallery-workspace .gallery-content { gap:36px; padding-bottom:40px; }
 .gallery-workspace .gallery-community-empty { padding:24px; align-items:flex-start; gap:16px; }
 .gallery-workspace .gallery-empty-symbol { width:44px; height:44px; }
 .gallery-workspace .gallery-community-empty h2 { font-size:23px; }
 .gallery-workspace .gallery-story-grid { grid-template-columns:1fr; }
 .gallery-workspace .gallery-footer > div:last-child { flex-direction:column; gap:12px; }
}
@media (prefers-reduced-motion:reduce) { .gallery-workspace .gallery-live-card { transition:none; } }
