:root{--seen-utility-right:32px;--seen-utility-top:24px;--seen-utility-width:160px;--seen-utility-gap:16px}
.seen-utility-rail{position:fixed;top:max(var(--seen-utility-top),env(safe-area-inset-top));right:max(var(--seen-utility-right),env(safe-area-inset-right));width:var(--seen-utility-width);display:grid;gap:var(--seen-utility-gap);z-index:1000}
.seen-utility-rail>button{position:static!important;width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;padding:8px 12px!important;box-sizing:border-box!important;border:3px solid #171716!important;border-radius:18px!important;background:var(--cream,#fff3dc)!important;color:#171716!important;box-shadow:4px 4px 0 var(--seen-city-accent,#ff654b)!important;font:900 13px Arial,sans-serif!important;display:flex!important;align-items:center!important;justify-content:center!important;white-space:normal!important}
.seen-utility-rail>button:hover{background:var(--seen-city-accent,#ff654b)!important}
.seen-utility-rail>button:focus-visible{outline:3px solid currentColor;outline-offset:4px}
.seen-header--with-ask .seen-brandline{padding-right:calc(var(--seen-utility-width) + var(--seen-utility-right) + 16px)!important}
.seen-ai-panel.seen-ai-panel,.seen-ai-panel.seen-ai-panel[open],.seen-utility-panel.seen-utility-panel{position:fixed;left:auto!important;right:max(var(--seen-utility-right),env(safe-area-inset-right))!important;top:var(--seen-ask-panel-top,84px)!important;bottom:auto!important;width:min(520px,calc(100vw - var(--seen-utility-right)*2))!important;max-width:none!important;max-height:min(75dvh,calc(100dvh - var(--seen-ask-panel-top,84px) - 16px))!important;border-radius:24px!important;margin:0!important;box-sizing:border-box}
.seen-ai-panel.seen-ai-panel{overflow:hidden}.seen-ai-panel-body{overflow-y:auto}
.seen-utility-panel.seen-utility-panel{top:var(--seen-menu-top,204px)!important;max-height:calc(100dvh - var(--seen-menu-top,204px) - 16px)!important;overflow-y:auto;padding:18px!important}
.seen-utility-panel .seen-dialog-title{margin-bottom:12px;padding-bottom:12px}.seen-utility-panel h2{font-size:1.5rem!important;margin:0}.seen-utility-panel h3{font-size:.9rem;margin:18px 0 8px}.seen-utility-panel nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.seen-utility-panel nav a{min-height:44px;display:flex;align-items:center;padding:8px!important;font-size:1rem!important;overflow-wrap:anywhere}.seen-utility-note{font-size:.8rem;line-height:1.4}
body:has(.seen-ai-panel[open]) .seen-utility-rail>button:not(.seen-ai-launcher),body:has(#seen-cities[open]) .seen-utility-explore{visibility:hidden}
body{padding-bottom:0!important}.seen-bottom{display:none!important}
@media(min-width:768px) and (max-width:1024px){:root{--seen-utility-right:24px;--seen-utility-top:20px;--seen-utility-width:144px}}
@media(max-width:767px){:root{--seen-utility-right:16px;--seen-utility-top:16px;--seen-utility-width:128px}.seen-utility-rail>button{font-size:11px!important}.seen-header--with-ask .seen-city-name{display:none!important}.seen-utility-panel.seen-utility-panel{width:calc(100vw - 32px)!important}}
@media(prefers-reduced-motion:reduce){.seen-ai-panel,.seen-utility-panel,.seen-utility-rail>button{transition:none!important;animation:none!important}}
body:has(.seen-ai-panel[open]) .seen-logo-link{height:44px;display:flex;align-items:center}body:has(.seen-ai-panel[open]) .seen-logo-link img{height:40px!important;max-height:40px!important;width:auto!important}
/* One quiet page-return action; no dock or duplicate menus. */
.seen-utility-top{position:fixed;right:max(var(--seen-utility-right),env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));min-width:64px;min-height:44px;padding:8px 12px;border:3px solid #171716;border-radius:18px;background:var(--cream,#fff3dc);color:#171716;box-shadow:4px 4px 0 var(--seen-city-accent,#ff654b);font:900 13px Arial,sans-serif;z-index:999;cursor:pointer}
.seen-utility-top:hover{background:var(--seen-city-accent,#ff654b)}.seen-utility-top:focus-visible{outline:3px solid currentColor;outline-offset:4px}
#explore-neighborhoods{scroll-margin-top:180px}#explore-neighborhoods nav{display:flex;flex-wrap:wrap;gap:12px}#explore-neighborhoods a{min-height:44px;display:inline-flex;align-items:center}
body:has(dialog[open]) .seen-utility-top{visibility:hidden}
/* Compact TOP label with a full 44px keyboard and touch target. */
.seen-utility-top{width:56px;min-width:56px;height:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:11px}
.seen-utility-top::before{content:"";position:absolute;inset:9px 0;border:2px solid #171716;border-radius:10px;background:var(--cream,#fff3dc);box-shadow:2px 2px 0 var(--seen-city-accent,#ff654b);z-index:-1}
.seen-utility-top:hover{background:transparent}.seen-utility-top:hover::before{background:var(--seen-city-accent,#ff654b)}
/* Edition navigation shares the publication rail, with TOP below all four controls. */
body:has(#seen-cities[open]) .seen-utility-city-menu,body:has(#seen-explore[open]) .seen-utility-city-menu{visibility:hidden}
#seen-city-menu nav a[aria-current="page"]{background:var(--seen-city-accent,#ff654b)}
/* Compact rail keeps edition controls clear of the masthead divider in Safari. */
:root{--seen-utility-width:144px;--seen-utility-gap:10px}
.seen-utility-rail>button{height:40px!important;min-height:40px!important;padding:6px 8px!important;border-width:2px!important;border-radius:15px!important;font-size:11px!important;box-shadow:3px 3px 0 var(--seen-city-accent,#ff654b)!important}
@media(min-width:768px) and (max-width:1024px){:root{--seen-utility-width:132px}}
@media(max-width:767px){:root{--seen-utility-width:120px;--seen-utility-gap:8px}.seen-utility-rail>button{font-size:10px!important}}
.seen-utility-top,body:has(.seen-utility-city-menu) .seen-utility-top{top:auto!important;bottom:max(16px,env(safe-area-inset-bottom))!important}
/* Compact editorial menu: grouped columns rather than long stacked sections. */
#seen-explore.seen-utility-panel{width:min(760px,calc(100vw - var(--seen-utility-right)*2))!important}
#seen-explore[open]{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 20px;align-content:start}
#seen-explore>.seen-dialog-title{grid-column:1/-1;margin:0!important;padding:0 0 12px!important}
#seen-explore>section{margin:0!important;padding:0!important;min-height:0!important;border:0!important;width:auto!important}
#seen-explore>section h3{margin:0 0 8px!important;padding:0!important}
#seen-explore>section nav{display:grid!important;grid-template-columns:1fr!important;gap:4px!important;margin:0!important;padding:0!important}
#seen-explore>section nav a{margin:0!important;padding:8px!important;min-height:44px!important;font-size:14px!important;line-height:1.25!important}
@media(max-width:479px){#seen-explore[open]{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}}
@media(max-width:340px){#seen-explore[open]{grid-template-columns:1fr}}
/* Edition menu stays compact; every section, including People and 411, gets a cell. */
#seen-city-menu.seen-utility-panel{width:min(480px,calc(100vw - var(--seen-utility-right)*2))!important;overflow-y:auto!important}
#seen-city-menu>nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px 12px!important;margin:0!important;padding:0!important}
#seen-city-menu>nav>a{min-width:0!important;min-height:44px!important;margin:0!important;padding:7px 8px!important;font-size:13px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:normal!important}
#seen-city-menu>.seen-dialog-title{margin:0 0 10px!important;padding:0 0 10px!important}
@media(min-width:1025px){#seen-city-menu.seen-utility-panel{width:min(560px,calc(100vw - 64px))!important}#seen-city-menu>nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
/* Publication footer replaces every inherited city-edition footer layout. */
footer.seen-publication{display:block!important;grid-template-columns:none!important;gap:0!important;width:100%!important;max-width:none!important;box-sizing:border-box;padding:30px 24px 32px!important}
footer.seen-publication>.seen-publication-inner{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,2fr)!important;gap:24px!important;width:100%!important;max-width:1220px!important;margin:0 auto!important;padding:0!important;align-items:start!important}
footer.seen-publication .seen-publication-inner>div{min-width:0;margin:0!important;padding:0!important}
footer.seen-publication nav[aria-label="Publication navigation"]{display:flex!important;flex-wrap:wrap!important;gap:12px 24px!important;margin:0!important;padding:0!important;align-items:center!important}
footer.seen-publication nav[aria-label="Publication navigation"] a{display:inline-block!important;width:auto!important;margin:0!important;padding:0!important;white-space:normal!important}
footer.seen-publication>.seen-update{display:block!important;width:100%!important;max-width:1220px!important;margin:20px auto 0!important}
@media(max-width:640px){footer.seen-publication>.seen-publication-inner{grid-template-columns:minmax(0,1fr)!important}}
.seen-saved-utility.seen-discovery{max-width:1220px;margin:16px auto!important;padding:0 16px!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.seen-saved-utility.seen-discovery>summary{padding:10px 0!important;min-height:44px;font-size:12px!important}
