@font-face {
    font-family: Manrope;
    src: url(manrope.ttf?v=2) format("truetype");
    font-weight: 200 800;
    font-display: swap;
}

:root {
    --canvas: #f2f5f8;
    --surface: #fff;
    --ink: #18283d;
    --muted: #4d6077;
    --line: #dee6ee;
    --navy: #14263a;
    --deep: #101d2f;
    --accent: #beff8d;
    --accent-ink: #144732;
    --link: #17564a;
    --radius: 20px;
    --shadow: 0 12px 30px rgba(23, 49, 78, .07);
    --ease: cubic-bezier(.25, .78, .25, 1);
    --motion-quick: .31s;
    --motion-panel: .39s;
    --font: Manrope, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html:has(body.portal) { scroll-padding-top: 1rem; }
.portal {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font: 500 1rem/1.58 var(--font);
}
.portal a { color: var(--link); text-underline-offset: .2em; }
.portal :focus-visible { outline: 3px solid #3b72b4; outline-offset: 4px; }
.portal :is(select, input[type="search"], input[type="date"], input[type="time"], summary):focus-visible {
    outline: 2px solid var(--link);
    outline-offset: 2px;
}
.portal h1, .portal h2, .portal h3, .portal p { margin: 0; }
.portal h1, .portal h2, .portal h3 { font-weight: 800; line-height: 1.14; overflow-wrap: anywhere; }
.portal h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); letter-spacing: -.06em; }
.portal h2 { font-size: clamp(1.65rem, 3.1vw, 2.6rem); letter-spacing: -.05em; }
.portal h3 { font-size: 1.2rem; letter-spacing: -.031em; }
.portal svg.ui-icon { flex: none; display: inline-block; width: 1.3em; height: 1.3em; vertical-align: middle; }
.shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 3rem; }
.muted { color: var(--muted); }
.eyeline { color: var(--link); font-weight: 800; letter-spacing: .04em; font-size: .92rem; }

.top {
    position: relative;
    z-index: 2;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.topline { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 1.25rem; }
.portal a.wordmark {
    display: inline-flex;
    flex: 0 0 auto;
    width: 180px;
    max-width: 100%;
}
.wordmark img { display: block; width: 100%; height: auto; }
.top-nav { display: flex; align-items: center; gap: .18rem; min-width: 0; }
.top-nav :is(a, summary) {
    display: flex;
    align-items: center;
    gap: .36rem;
    padding: .55rem .44rem;
    color: var(--muted);
    text-decoration: none;
    font-weight: 800;
    font-size: .94rem;
    white-space: nowrap;
    border-radius: 10px;
    transition: background var(--motion-quick) var(--ease), color var(--motion-quick) var(--ease);
}
.top-nav :is(a[aria-current], a:hover, .nav-submenu[data-active] > summary, .nav-submenu[open] > summary, summary:hover) { color: var(--ink); background: #e9f3ef; }
.nav-link-label { display: inline-flex; align-items: center; gap: .37em; }
.portal .top-nav .ui-icon { width: 1em; height: 1em; }
.portal .top-nav > a > .ui-icon { display: none; }
.nav-submenu { position: relative; }
.nav-submenu > summary { list-style: none; cursor: pointer; }
.nav-submenu > summary::-webkit-details-marker { display: none; }
.nav-submenu > summary > .ui-icon { transition: transform var(--motion-quick) var(--ease); }
.nav-submenu[open] > summary > .ui-icon { transform: rotate(180deg); }
.nav-submenu > ul { display: grid; gap: .12rem; margin: 0; padding: .25rem; list-style: none; }
.nav-submenu[open] > ul { animation: submenu-enter var(--motion-panel) var(--ease) both; }
@keyframes submenu-enter {
    from { opacity: 0; transform: translateY(-.38rem); }
    to { opacity: 1; transform: translateY(0); }
}
@supports selector(details::details-content) {
    .nav-submenu::details-content {
        opacity: 0;
        transition: opacity var(--motion-panel) var(--ease), content-visibility var(--motion-panel) allow-discrete;
    }
    .nav-submenu[open]::details-content { opacity: 1; }
    .sheet-content .nav-submenu::details-content {
        block-size: 0;
        overflow: clip;
        interpolate-size: allow-keywords;
        transition: block-size var(--motion-panel) var(--ease), opacity var(--motion-panel) var(--ease), content-visibility var(--motion-panel) allow-discrete;
    }
    .sheet-content .nav-submenu[open]::details-content { block-size: auto; }
}
.top-nav .nav-submenu > ul { min-width: max-content; background: var(--surface); border-radius: 12px; }
.top-nav .nav-submenu li > a { min-height: 40px; }
@media (min-width: 1081px) {
    .top-nav .nav-submenu > ul {
        position: absolute;
        top: calc(100% + .35rem);
        right: 0;
        z-index: 1;
        border: 1px solid var(--line);
        box-shadow: 0 10px 28px rgba(23, 49, 78, .14);
    }
}
.header-actions { display: flex; align-items: center; gap: .4rem; }
.header-primary-actions { display: flex; align-items: stretch; gap: .4rem; }
.header-primary-actions .btn { white-space: nowrap; }
.topline--guest .header-primary-actions .btn { padding-inline: .7rem; font-size: .88rem; }
.portal .header-create-account { background: var(--accent); color: var(--accent-ink); }
.portal .header-create-account:is(:hover, [aria-current]) { background: #a8ed78; }
.portal .header-sign-in { border-color: #798a9e; color: var(--navy); }
.portal .header-sign-in:is(:hover, [aria-current]) { background: #e9f3ef; border-color: #417b6b; }
.btn, .icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45em;
    min-height: 46px;
    padding: .67rem 1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font: 800 .96rem/1.22 var(--font);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--motion-quick) var(--ease), color var(--motion-quick) var(--ease), border-color var(--motion-quick) var(--ease), transform var(--motion-quick) var(--ease);
}
.btn:active, .icon-button:active { transform: scale(.985); }
.portal .top-action, .portal .btn.primary { background: var(--navy); color: white; }
.portal .top-action:hover, .portal .btn.primary:hover { background: #244865; }
.portal .btn.secondary, .icon-button { background: white; color: var(--ink); border-color: var(--line); }
.portal .btn.secondary:hover, .icon-button:hover { background: #edf7f3; border-color: #9dbeb2; }
.icon-button { width: 46px; padding: 0; }
.tab-bar, .menu-trigger { display: none; }

.hero-wrap { padding-top: 2rem; }
.hero {
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    gap: .75rem;
}
.hero-main { display: grid; grid-template-rows: minmax(min-content,1fr) auto; gap: inherit; min-width: 0; }
.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: clamp(1rem, 2.4vw, 1.65rem);
    background: linear-gradient(125deg,#f1ffe0,#dff4d4);
    color: var(--navy);
    border-radius: 24px;
}
.portal .hero-copy h2 { font-size: clamp(1.55rem, 2.55vw, 2.15rem); }
.hero-copy > p { margin-top: .25rem; }
.hero-visual { position: relative; min-height: 100%; margin: 0; border-radius: 28px; isolation: isolate; overflow: hidden; background: #d2d9dd; }
.hero-visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero-visual figcaption { position: absolute; right: 14px; bottom: 13px; margin-left: 14px; }
.portal .photo-credit {
    display: inline-block;
    padding: .25em .6em;
    background: rgba(16, 29, 47, .86);
    color: #fff;
    font-size: .78rem;
    text-decoration: none;
    border-radius: 8px;
}
.portal .photo-credit:hover { text-decoration: underline; }
.hero-search {
    display: flex;
    gap: .25rem;
    width: 100%;
    max-width: 28rem;
    margin-top: .65rem;
    padding: 5px;
    border-radius: 15px;
    background: white;
}
.portal .hero-search input[type="search"] { border: 0; padding: .48rem .57rem; }
.portal .hero-search input[type="search"]:focus-visible { outline-offset: -2px; outline-width: 1px; }
.hero-search .btn { min-height: 43px; background: var(--accent); color: var(--deep); }
.hero-search .btn:hover { background: #d0ffae; }
.portal .hero-advertise {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: .65rem; min-width: 0; padding: clamp(1.4rem,3.65vw,3.65rem);
    background: radial-gradient(ellipse at bottom right,#234a42,transparent 70%),var(--navy);
    color: #fff; border-radius: 28px; text-decoration: none;
    transition: box-shadow var(--motion-quick) var(--ease);
}
.portal .hero-advertise:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.hero-advertise-icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 14px; color: var(--accent); background: #193e31; }
.portal .hero-advertise h1 { font-size: clamp(2.55rem,5.6vw,5.5rem); font-weight: 800; line-height: .99; letter-spacing: -.07em; }
.hero-advertise h1 span { display: block; color: var(--accent); }
.hero-advertise-cta {
    display: inline-flex; align-items: center; gap: .4em; min-height: 44px; margin-top: .25rem;
    padding: .42rem .75rem; border-radius: 10px; background: var(--accent); color: var(--deep);
    font-size: .94rem; font-weight: 800;
}
.hero-advertise:hover .hero-advertise-cta { background: #d0ffae; }
.hero-advertise-cta .ui-icon { width: 1em; height: 1em; }
.advertise-placements { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .75rem; margin-block: .85rem; }
.advertise-placement, .advertise-request { padding: clamp(.85rem,2.4vw,1.6rem); }
.portal .advertise-placement h2 { font-size: 1.38rem; margin-block: .34rem; }
.advertise-placement > .ui-icon { color: var(--link); }
.advertise-request { max-width: 51rem; margin-inline: auto; }
.portal .advertise-request h2 { margin-bottom: .4rem; }

.shortcuts { position: relative; isolation: isolate; padding-block: 1.85rem .6rem; }
.shortcuts-watermark { position: absolute; inset: 0 0 auto auto; z-index: -1; color: #1d5b51; opacity: .09; pointer-events: none; overflow: clip; }
.shortcuts-watermark svg.ui-icon { width: clamp(8rem,24vw,16rem); height: auto; aspect-ratio: 1; transform: rotate(17deg); stroke-width: .55; }
.section-title { display: flex; justify-content: space-between; align-items: flex-end; gap: .9rem; margin-bottom: 1.1rem; }
.section-title > a { flex: none; }
.section-title p { margin-top: .35rem; }
.shortcut-grid, .category-grid, .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.cards { row-gap: 1.15rem; }
.shortcut-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.portal a.shortcut {
    display: block;
    height: 100%;
    padding: 1.1rem;
    color: var(--ink);
    background: linear-gradient(155deg, var(--tile), var(--tile-end));
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
}
.shortcut-publish { --tile: #dcffad; --tile-end: #c9f394; --tile-icon: #174928; }
.shortcut-business { --tile: #eff1ff; --tile-end: #e4e8fc; --tile-icon: #3c4386; }
.shortcut-transport { --tile: #ebf7ff; --tile-end: #ddecfc; --tile-icon: #225b8d; }
.shortcut-information { --tile: #fff8e8; --tile-end: #fbebce; --tile-icon: #805520; }
.shortcut-advertise { --tile: #edfbe2; --tile-end: #daf2c7; --tile-icon: #285837; }
@media (min-width: 768px) and (max-width: 980px) { .shortcut-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shortcut-top { display: flex; align-items: center; justify-content: space-between; gap: .35rem; color: var(--tile-icon); }
.portal .shortcut-top > svg.ui-icon { width: 30px; height: 30px; padding: 5px; border: 1px solid currentColor; border-radius: 50%; }
.shortcut-icon, .category-icon, .card-icon, .page-icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: var(--link);
    background: #e9f4f0;
}
.shortcut-icon { background: var(--tile-icon); color: #fff; width: 50px; height: 50px; }
.portal .shortcut-icon .ui-icon { width: 28px; height: 28px; }
.shortcut h3 { margin-top: .72rem; font-size: 1.34rem; line-height: 1.15; }
.shortcut p { margin-top: .22rem; color: var(--muted); line-height: 1.38; }
.portal a.shortcut, .portal a.category, .portal a.card-link { transition: transform var(--motion-quick) var(--ease), box-shadow var(--motion-quick) var(--ease), border-color var(--motion-quick) var(--ease); }
@media (hover: hover) {
    .portal a.shortcut:hover, .portal a.category:hover, .portal a.card-link:hover { transform: translateY(-2px); border-color: #adbdcb; box-shadow: var(--shadow); }
}
.portal a.shortcut:active, .portal a.category:active, .portal a.card-link:active { transform: scale(.987); }
.market-home { padding-top: 0; }
.portal a.category {
    display: flex;
    align-items: center;
    gap: .67rem;
    min-height: 70px;
    padding: .67rem .85rem;
    color: var(--ink);
    border: 1px solid var(--line);
    background: white;
    border-radius: 15px;
    text-decoration: none;
}
.category > strong { flex: 1; line-height: 1.25; }
.category > .ui-icon { color: var(--muted); width: 1.1em; height: 1.1em; }
.category:nth-child(even) .category-icon { background: #edf0fc; color: #3b4b8a; }
.cards.recent { margin-top: 1rem; }
.local-band { background: #eaf0f5; border-block: 1px solid var(--line); }

.chips { display: flex; flex-wrap: wrap; gap: .44rem; margin-bottom: 1rem; }
.chips a {
    display: inline-flex;
    align-items: center;
    gap: .33rem;
    min-height: 42px;
    padding: .46em .68em;
    color: var(--ink);
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-weight: 800;
    font-size: .92rem;
    line-height: 1.3;
    text-decoration: none;
    transition: background var(--motion-quick) var(--ease), border-color var(--motion-quick) var(--ease);
}
.chips a:hover { background: #e9f6ee; border-color: #97b2a7; }
.chips .ui-icon { color: var(--link); }
.card { display: flex; flex-direction: column; min-width: 0; }
.portal a.card-link {
    display: block;
    flex: 1 0 auto;
    overflow: hidden;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    text-decoration: none;
    border-radius: var(--radius);
}
.card-body { padding: 1rem; }
.card-body h3 { margin-block: .6rem .34rem; }
.card-body p:not(.place) { color: var(--muted); margin-top: .45rem; }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .43rem; font-size: .9rem; font-weight: 800; color: var(--link); }
.card-meta:last-child { margin-top: .75rem; justify-content: space-between; }
.card-icon { width: 36px; height: 36px; border-radius: 10px; }
.card-photo { display: block; width: 100%; height: 192px; object-fit: cover; }
.place { display: flex; align-items: center; gap: .24rem; color: var(--link); font-weight: 800; font-size: .92rem; }
.place .ui-icon { width: 1.08em; height: 1.08em; }

.page-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.1rem;
    margin-bottom: 1.25rem;
}
.page-title p { margin-top: .48rem; color: var(--muted); }
.page-icon { width: 52px; height: 52px; margin-bottom: .65rem; border-radius: 14px; font-size: 1.32rem; }
.filter-panel {
    display: grid;
    gap: .65rem;
    padding: .88rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.catalog-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; }
.portal label { display: block; color: var(--ink); font-size: 1rem; font-weight: 800; }
.portal input:not([type="checkbox"]), .portal select, .portal textarea {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: .52rem .6rem;
    color: var(--ink);
    background-color: white;
    border: 1px solid #c6d3df;
    border-radius: 10px;
    font: 600 1rem/1.32 var(--font);
}
.portal select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%23344a62' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");
    background-size: 20px;
    background-position: right .55rem center;
    background-repeat: no-repeat;
    padding-right: 1.85rem;
}
.portal textarea { resize: vertical; }
.portal label :is(input:not([type="checkbox"]), textarea, select) { margin-top: .23rem; }
.portal input[type=checkbox] { width: 1.15em; height: 1.15em; flex: none; accent-color: var(--link); }
.portal :is(input, textarea)::placeholder { color: #556a80; opacity: 1; }
.filter-options summary, .trip-stops summary { min-height: 43px; cursor: pointer; font-weight: 800; }
.filter-options summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .48rem;
    list-style: none;
    color: var(--link);
}
.filter-options summary > span { display: flex; gap: .45em; align-items: center; }
.filter-options summary::-webkit-details-marker { display: none; }
.filter-options summary > .ui-icon { transition: transform var(--motion-quick) var(--ease); }
.filter-options[open] summary > .ui-icon { transform: rotate(180deg); }
.filter-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; gap: .57rem; padding-top: .4rem; }
.section-title.compact { align-items: center; margin-block: 1.24rem .78rem; }
.section-title.compact h2 { font-size: 1.25rem; letter-spacing: -.035em; }
.section-title.compact > a { font-weight: 800; }
.empty, .surface {
    padding: clamp(.9rem, 3vw, 1.65rem);
    color: var(--ink);
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.empty p, .town p { margin-top: .44rem; color: var(--muted); }
.town h2 { font-size: 1.45rem; }
.town .chips { margin-block: .8rem 0; }
.town .eyeline { color: var(--link); margin: 0 0 .4rem; }
.surface + .muted, .cards + .muted { margin-top: 1rem; }
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .7rem; margin-top: 1.35rem; }

.crumb { display: flex; flex-wrap: wrap; gap: .42rem; margin-bottom: .9rem; font-weight: 800; }
.detail-main { display: grid; grid-template-columns: 2fr 1fr; gap: .9rem; }
.detail-main h1 { margin: .18em 0 .28em; font-size: clamp(2rem, 4.6vw, 3.5rem); }
.detail-main h2, .comments h2 { margin-block: .85rem .39rem; font-size: 1.64rem; }
.detail-main .surface p + p { margin-top: .55rem; }
.detail-photo { display: block; width: 100%; max-height: 490px; object-fit: contain; background: #e9eff3; margin-top: .8rem; border-radius: 13px; }
.entry-banner { position: relative; display: grid; align-items: end; isolation: isolate; overflow: hidden; min-height: clamp(15rem,30vw,26rem); border-radius: 15px; background: var(--navy); }
.entry-banner img, .entry-banner::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.entry-banner img { z-index: -2; object-fit: cover; }
.entry-banner::after { content: ""; z-index: -1; background: linear-gradient(180deg,#101d2f05 5%,#101d2f91 44%,#101d2ff9 100%); }
.entry-banner-copy { padding: clamp(.75rem,2.75vw,1.6rem); color: #fff; }
.entry-banner-copy .eyeline { color: #d3ffb4; }
.entry-banner-copy .place { color: #ecf2f9; }
.entry-banner.business-entry-banner::after { background: linear-gradient(42deg,#0c1928fc 8%,#0e1d2cd9 31%,#0e1d2c8c 55%,#0e1d2c0d 90%); }
.business-entry-banner .entry-banner-copy { padding-top: clamp(4rem,10vw,7rem); max-width: 66ch; }
.business-entry-banner .entry-banner-copy h2 { color: #e7ffd1; margin-top: .72rem; }
.portal a.business-card-link.has-business-photo { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; min-height: clamp(225px,24vw,300px); background: #17293a; color: white; }
.business-card-image, .business-card-link.has-business-photo::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.business-card-link.has-business-photo::after { content: ""; background: linear-gradient(42deg,#0c1928 7%,#0e1d2cde 30%,#0e1d2c88 54%,#0e1d2c08 90%); }
.has-business-photo .card-body { padding-top: 2.7rem; }
.has-business-photo :is(h3,.place,.card-body > p,.card-meta) { color: #fff; }
.has-business-photo .card-meta > span:last-child { color: #eaffd6; }
.business-card-credit { font-size: .78rem; line-height: 1.4; padding: .4rem .45rem .1rem; overflow-wrap: anywhere; }
.business-hours { display: grid; gap: .1rem; font-size: .9rem; }
.business-profile-links { display: flex; flex-wrap: wrap; gap: .4rem .7rem; font-size: .87rem; }
.entry-credit, .google-card-attribution { font-size: .78rem; color: var(--muted); padding-top: .32rem; }
.google-card-attribution { padding: .1rem .85rem .55rem; }
.google-score { font-weight: 800; color: #584017; background: #fff3d8; border-radius: 6px; display: inline-flex; align-items: center; flex-wrap: wrap; gap: .22rem; padding: .18rem .4rem; width: fit-content; font-size: .82rem; }
.google-score[hidden] { display: none; }
.google-brand { white-space: nowrap; }
.info-box address { font-style: normal; padding-block: .25rem; }
.entry-map { border: 0; width: 100%; min-height: 225px; border-radius: 11px; }
.google-reviews { margin-top: .9rem; }
.google-reviews > p, .google-reviews > a { margin-top: .45rem; }
.google-review-list { display: grid; gap: .35rem; margin-top: .6rem; }
.info-box { align-self: start; display: grid; gap: .58rem; }
.info-box h2 { margin-top: 0; }
.info-box .small-link { min-width: 0; padding-block: .3rem; }
.listing-request-links { display: grid; padding-top: .4rem; border-top: 1px solid var(--line); }
.listing-request-links a { display: flex; align-items: center; gap: .42em; min-height: 44px; }
.listing-request-links .ui-icon { flex-shrink: 0; }
.listing-contact-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.preserve { white-space: pre-wrap; overflow-wrap: anywhere; }
.comments { margin-top: .9rem; }
.comment { padding-block: .65rem; border-bottom: 1px solid var(--line); }
.comment h3 { margin-bottom: .28rem; }
.reply { margin-top: .54rem; padding: .57rem .65rem; border-left: 4px solid #44856e; background: #e9f3ef; }
.form-surface { max-width: 750px; margin: 0 auto; }
.form-surface h1 { margin-bottom: .68rem; }
.form-surface > p { margin-bottom: .55rem; }
.portal-form { display: grid; gap: .64rem; margin-top: .84rem; }
.portal-form .btn { justify-self: start; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .63rem; }
.portal label.check { display: flex; gap: .4rem; align-items: flex-start; }
.close-form { margin: .68rem 0; }
.flash { padding: .55rem .65rem; border-radius: 11px; background: #e2f2e9; color: #144732; margin-bottom: .72rem !important; }
.flash.error { background: #f8e3e6; color: #751c30; }

.transit-hero { position: relative; overflow: hidden; padding: 1.3rem 1.55rem 1.48rem; color: #fff; background: var(--navy); border-radius: var(--radius); margin-bottom: .73rem; }
.transit-heading { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.transit-heading > .page-icon { margin: 0; background: var(--accent); color: var(--deep); }
.transit-hero h1 { font-size: clamp(2rem, 6.3vw, 3.6rem); }
.transit-hero p { max-width: 49ch; margin-top: .45rem; color: #e3ebf4; }
.section-banner { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.portal .section-banner-action { color: var(--navy); background: var(--accent); flex-shrink: 0; }
.portal .section-banner-action:hover { background: #dcffbe; }
.section-banner-action:focus-visible { outline-color: var(--accent); outline-offset: 3px; }
.transit-filter {
    --link: var(--accent);
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(145px, .7fr) auto;
    align-items: end;
    background: #31363e;
    border-color: #31363e;
    color: #f6f8fa;
    color-scheme: dark;
}
.portal .transit-filter label { color: inherit; }
.portal .transit-filter :is(select, input[type="date"], input[type="time"], .swap) {
    background-color: #414751;
    border-color: #737e8b;
    color: #f6f8fa;
}
.portal .transit-filter select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%23eef2f6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");
}
.portal .transit-filter .swap { width: 48px; padding-inline: 0; }
.portal .transit-filter .swap:hover { background-color: #525a66; }
.portal .transit-filter .transit-submit { background: var(--accent); color: var(--deep); }
.portal .transit-filter .transit-submit:hover { background: #d0ffae; }
.portal .transit-filter :focus-visible { outline-color: var(--accent); }
.transit-chips { margin: .85rem 0 1.3rem; }
.bus-results { display: grid; gap: .8rem; }
.trip-list { display: grid; gap: .6rem; }
.trip { padding: .75rem .95rem; background: white; border: 1px solid var(--line); border-radius: 16px; }
.trip.next { background: #f6fcf8; border-color: #419364; box-shadow: inset 0 0 0 1px #419364; }
.trip .next-label { display: table; margin-bottom: .48rem; border-radius: 9px; padding: .22rem .4rem; background: #e5f4e9; color: var(--accent-ink); font-weight: 800; }
.trip-history { padding: .18rem .65rem; }
.trip-history > summary { display: flex; align-items: center; justify-content: space-between; gap: .4rem; min-height: 48px; padding: .24rem .18rem; font-weight: 800; list-style: none; cursor: pointer; }
.trip-history > summary::-webkit-details-marker { display: none; }
.trip-history > summary > .ui-icon { transition: transform var(--motion-quick) var(--ease); }
.trip-history[open] > summary > .ui-icon { transform: rotate(180deg); }
.trip-history-count { display: inline-block; margin-inline-start: .25em; padding-inline: .5em; border-radius: 1em; background: #eaf0f5; color: var(--muted); font-size: .82em; }
.trip-history > .trip-list { padding-block: .26rem .52rem; }
.trip-row { display: grid; grid-template-columns: 1fr 1fr minmax(108px, .45fr); gap: .65rem; }
.trip-row + .trip-row { border-top: 1px solid var(--line); margin-top: .55rem; padding-top: .55rem; }
.trip-time { display: block; font-size: 1.53rem; letter-spacing: -.06em; font-weight: 800; font-variant-numeric: tabular-nums; }
.trip-row a, .trip-row small { display: block; line-height: 1.35; overflow-wrap: anywhere; }
.trip-row small { margin-top: .16rem; }
.line-badge { display: inline-flex; align-items: center; gap: .22em; padding: .18em .48em; background: #e4eff9; color: #214f76; border-radius: 9px; font-weight: 800; }
.trip-stops { color: var(--muted); border-top: 1px solid var(--line); margin-top: .45rem; padding-top: .23rem; }
.trip-stops summary { align-content: center; }
.trip-stops :is(ul, ol) { margin: .05rem 0 .4rem; padding-left: 1.25rem; }
.transport-source { margin-block: .83rem 1.45rem !important; }
.bus-search-options { display: flex; flex-wrap: wrap; gap: .45rem 1rem; grid-column: 1 / -1; }
.bus-search-options label { display: inline-flex; align-items: center; gap: .4rem; }
.portal .bus-search-options input[type="time"] { width: auto; margin: 0; }
.portal .bus-search-options input[type="checkbox"] { width: 1.1em; height: 1.1em; margin: 0; accent-color: var(--accent); }
.trip-overview { padding-block: .25rem .45rem; color: var(--muted); font-size: .9rem; }
.bus-reservation { padding-top: .35rem; font-size: .9rem; color: var(--muted); }
.bus-directory + .bus-directory { margin-top: 1.8rem; }
.bus-stop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)); align-items: start; gap: .55rem; }
.bus-stop-group { padding: .4rem .65rem; }
.bus-stop-group summary { display: flex; gap: .33rem; align-items: center; min-height: 43px; font-weight: 800; list-style: none; cursor: pointer; }
.bus-stop-group summary::-webkit-details-marker { display: none; }
.bus-stop-group summary svg:last-child { margin-inline-start: auto; transition: transform var(--motion-quick) var(--ease); }
.bus-stop-group[open] summary svg:last-child { transform: rotate(180deg); }
.bus-stop-group ul { display: grid; gap: .36rem; padding-left: 1rem; margin-block: .3rem .45rem; }
.bus-stop-group small { display: block; color: var(--muted); }
.bus-coverage { margin-top: .65rem; }

.footer { border-top: 4px solid #beff8d; background: radial-gradient(ellipse at 0 0,#35404e,transparent 68%), linear-gradient(128deg,#1e263e 12%,#34305b 100%); color: #fff; padding-block: 2.1rem .8rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr) minmax(0, 1fr) minmax(155px, 205px); gap: clamp(.8rem, 2vw, 1.5rem); }
.footer-grid nav { display: grid; justify-items: start; align-content: start; gap: .3rem; }
.footer-grid nav h2 { margin: .15rem 0 .44rem; color: #e0ffba; font-size: 1.13rem; letter-spacing: -.025em; }
.footer-grid nav a { display: inline-flex; gap: .42em; align-items: center; }
.footer-grid nav .ui-icon { color: #cfc5ff; }
.portal .footer :is(a, button[data-cookie-open]) { color: #f2eeff; text-decoration: none; }
.portal .footer :is(a, button[data-cookie-open]):hover { color: #dfffab; text-decoration: underline; }
.portal .footer .wordmark { width: 196px; }
.footer-grid p { color: #dedbed; margin-top: .58rem; max-width: 28ch; }
.portal .footer a.footer-publish,
.portal .footer a.footer-publish:focus-visible { color: #000; background: #beff8d; margin-top: .75rem; }
.portal .footer a.footer-publish:hover { color: #000; background: #dbffbe; text-decoration: none; }
.footer-grid .footer-social { gap: 0; margin-top: .8rem; }
.footer-grid .footer-social a { min-height: 40px; font-size: .9rem; font-weight: 700; }
.footer-grid .footer-social .ui-icon { color: #beff8d; }
.footer-leader {
    display: grid;
    align-self: start;
    gap: .44rem;
    padding: .6rem;
    border: 1px solid #ffffff36;
    border-radius: 14px;
    background: #ffffff0b;
    transition: border-color var(--motion-quick) var(--ease), background var(--motion-quick) var(--ease);
}
.portal .footer a.footer-leader:hover { background: #ffffff17; border-color: #beff8d8c; text-decoration: none; }
.footer-leader-label { display: grid; gap: .12rem; color: #dedbed; font-size: .82rem; line-height: 1.32; }
.footer-leader-label strong { color: #e0ffba; font-size: .96rem; }
.footer-leader img { display: block; width: 100%; height: auto; border-radius: 5px; background: #fff; }
.footer-leader-link { display: inline-flex; align-items: center; gap: .22em; color: #e0ffba; font-size: .82rem; font-weight: 800; line-height: 1.32; }
.footer-leader:hover .footer-leader-link { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #fff4; margin-top: 1.5rem; padding-block: .8rem .35rem; display: flex; justify-content: space-between; gap: .36rem 1.2rem; flex-wrap: wrap; color: #dedbed; font-size: .86rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .45rem .9rem; }
.footer button[data-cookie-open] { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }
.footer :focus-visible { outline-color: #caff9e; }

.town-atlas { position: relative; margin-top: 1rem; padding: clamp(.6rem,2vw,1.25rem); color: #f2f7f2; background: #192d2c; border-radius: var(--radius); }
.town-atlas-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem; padding: .28rem .18rem .82rem; }
.town-atlas h2, .town-gallery-heading h2, .town-profile-links h2 { font-size: clamp(1.42rem,3.7vw,2.15rem); }
.town-atlas-heading p, .town-map-hint { color: #cadbd0; margin-top: .2rem; font-size: .9rem; }
.town-map-hint { display: none; margin: 0 .18rem .55rem; }
.town-map-frame { overflow: auto; border: 1px solid #648176; border-radius: .85rem; scrollbar-color: #c6f48c #243e36; }
.town-map-canvas { display: grid; min-width: 870px; }
.town-map-image, .town-map-drawing { grid-area: 1 / 1; display: block; width: 100%; height: auto; }
.town-map-image { align-self: stretch; object-fit: fill; }
.town-map-outside { fill: #122326; fill-opacity: .56; }
.town-map-boundary { fill: #ddf2b7; fill-opacity: .13; stroke: #edffb6; stroke-width: 2.5; stroke-dasharray: 7 4; stroke-linejoin: round; }
.town-north { fill: #fff; filter: drop-shadow(0 1px 4px #0f211b); font-size: 15px; font-weight: 800; }
.town-marker { cursor: pointer; }
.town-marker line { stroke: #f8fae9; stroke-width: 1.6; }
.town-marker-target { fill: #101e1b; fill-opacity: .6; stroke: #fff; stroke-width: 1.4; }
.town-marker-dot { fill: #e6ffae; pointer-events: none; }
.town-marker rect { fill: #f7f9ee; stroke: #bacd9c; stroke-width: 1; }
.town-marker text { fill: #15312a; font-size: 15px; font-weight: 800; pointer-events: none; }
.town-marker.is-seat rect, .town-marker:is(:hover,:focus-visible,.is-selected) rect { fill: #cbff8b; stroke: #18352a; stroke-width: 2; }
.town-marker:is(:hover,:focus-visible,.is-selected) line { stroke: #cfff87; stroke-width: 3; }
.town-marker:is(:hover,:focus-visible,.is-selected) .town-marker-dot { fill: #c5ff74; stroke: #152a20; stroke-width: 1.5; }
.town-map-credits { display: flex; justify-content: space-between; margin: .65rem .15rem .05rem; gap: .3rem 1rem; flex-wrap: wrap; font-size: .75rem; color: #e5eee6; }
.town-map-credits i { display: inline-block; width: 17px; margin-right: .35rem; border-top: 2px dashed #edffb6; vertical-align: middle; }
.town-map-credits a { color: #e5fdb7; }
.town-map-preview { position: absolute; z-index: 1; width: min(450px,calc(100% - 1.4rem)); display: grid; grid-template-columns: minmax(75px,115px) minmax(0,1fr) auto; gap: .5rem; align-items: center; padding: .6rem; border-radius: .8rem; color: #182d27; background: #fffef4; border: 1px solid #9ba789; box-shadow: 0 8px 25px #13241f70; }
.town-map-preview[hidden] { display: none; }
.town-map-preview img { width: 100%; object-fit: cover; aspect-ratio: 8 / 5; height: auto; border-radius: .45rem; }
.town-map-preview strong { font-size: 1.16rem; }
.town-map-preview p { font-size: .87rem; }
.town-map-preview .icon-button { align-self: start; grid-column: 3; grid-row: 1; }
.town-map-preview .primary { grid-column: 2 / -1; justify-self: start; }
.town-gallery-heading { margin: 1.8rem 0 .75rem; scroll-margin-top: 110px; }
.town-gallery-heading p { color: var(--muted); }
.town-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; }
.town-photo-card { min-width: 0; }
.town-photo-card a { display: grid; grid-template-columns: minmax(0,1fr); isolation: isolate; overflow: hidden; position: relative; border-radius: var(--radius); background: #192d2c; min-height: 245px; color: #fff; text-decoration: none; }
.town-photo-card img, .town-photo-card a::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.town-photo-card a::after { content: ""; background: linear-gradient(180deg,#10191405 25%,#111d17c9 61%,#111d17 100%); }
.town-photo-card a:hover img { transform: scale(1.045); }
@media (prefers-reduced-motion: no-preference) { .town-photo-card img { transition: transform .38s ease; } }
.town-card-copy { align-self: end; padding: 2.4rem 2.4rem .9rem .9rem; }
.town-card-copy span { color: #edffc5; font-size: .82rem; }
.town-card-copy h3 { color: white; margin: .15rem 0 .2rem; font-size: clamp(1.13rem,2.65vw,1.63rem); }
.town-card-copy p { color: #f2f6ef; font-size: .86rem; line-height: 1.4; }
.town-card-arrow { position: absolute; right: .7rem; bottom: .8rem; display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 50%; color: #172e23; background: #d9ff9d; }
.town-gallery-credits { color: var(--muted); font-size: .78rem; margin: .65rem .05rem 0; }
.town-profile .crumb { margin-bottom: .75rem; }
.town-profile-hero { display: grid; min-height: clamp(320px,47vw,480px); isolation: isolate; overflow: hidden; position: relative; border-radius: var(--radius); background: #192d2c; }
.town-profile-hero img, .town-profile-hero::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.town-profile-hero::after { content: ""; background: linear-gradient(180deg,#141b16 0%,transparent 14%,#14231a58 50%,#101b16 100%); }
.town-profile-title { align-self: end; padding: clamp(1rem,4vw,2rem); color: white; }
.town-profile-title span { display: inline-flex; align-items: center; gap: .3em; color: #e5fdb7; }
.town-profile-title h1 { color: #fff; margin: .24rem 0 .35rem; font-size: clamp(2.4rem,6vw,4.5rem); }
.town-facts { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.6rem; padding: .9rem; margin-top: .95rem; }
.town-facts div { display: grid; gap: .12rem; }
.town-facts strong { font-size: 1.15rem; }
.town-facts div a { font-size: .81rem; }
.town-profile-story { margin-top: 1rem; padding: clamp(.9rem,3vw,1.6rem); }
.town-profile-story h2 { font-size: clamp(1.45rem,3vw,2rem); }
.town-profile-story p { max-width: 75ch; margin-top: .7rem; }
.town-profile-story a { display: inline-flex; align-items: center; gap: .4em; margin-top: .7rem; }
.town-profile-links p { margin-top: .65rem; }
.town-profile-links .chips { margin-top: .55rem; }
.portal main { isolation: isolate; position: relative; }
.portal-watermark { position: absolute; z-index: -1; pointer-events: none; user-select: none; top: 11%; right: 0; max-width: 100%; overflow: hidden; white-space: nowrap; font-weight: 800; font-size: clamp(3rem,10vw,9rem); letter-spacing: -.075em; color: #14263a; opacity: .034; }
.portal-watermark-bottom { top: auto; bottom: 3%; right: auto; left: 0; }
.brand-guide-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,330px),1fr)); gap: .9rem; margin-top: .9rem; }
.brand-guide-panel { padding: clamp(.8rem,2.2vw,1.4rem); }
.brand-guide-panel h2 { margin-bottom: .55rem; font-size: 1.5rem; }
.brand-guide-panel p + p { margin-top: .5rem; }
.brand-guide-panel p + a { display: inline-block; margin-top: .5rem; }
.brand-guide-panel a + a { display: block; margin-top: .45rem; }
.brand-lockup { display: flex; padding: .8rem; background: #eef4ef; border-radius: .75rem; margin-bottom: .65rem; }
.portal .brand-lockup .wordmark { width: 230px; }
.brand-colors { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; margin: .6rem 0; }
.brand-colors dt { font-weight: 800; }
.brand-colors dd { margin-inline-start: 0; color: var(--muted); }
.brand-colors i { display: block; height: 2rem; border-radius: .4rem; border: 1px solid var(--line); }
.brand-color-navy { background: #14263a; }
.brand-color-ink { background: #18283d; }
.brand-color-lime { background: #beff8d; }
.brand-color-paper { background: #f2f5f8; }
.brand-component-examples { display: flex; flex-wrap: wrap; gap: .42rem; margin-bottom: .6rem; }

.history-banner { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(270px,43vw,430px); border-radius: var(--radius); overflow: hidden; color: white; background: #39291f; }
.history-banner img, .history-banner::after { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.history-banner img { object-position: center 43%; }
.history-banner::after { content: ""; background: linear-gradient(38deg,#22180ff7 17%,#382419ab 45%,#38241924 80%); }
.history-banner > div { padding: clamp(.92rem,4vw,2.3rem); }
.history-banner p:first-child { color: #ffe3aa; font-weight: 800; }
.history-banner h1 { color: white; margin: .18rem 0 .32rem; font-size: clamp(2.3rem,6vw,4.6rem); }
.history-caption { font-size: .78rem; margin: .43rem 0 1.2rem; }
.history-filters { margin: .6rem 0 .85rem; }
.history-filters [aria-current], .market-service-chips [aria-current] { color: #fff; background: var(--navy); border-color: var(--navy); }
.history-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,295px),1fr)); gap: .85rem; }
.portal .history-card a { display: block; color: inherit; text-decoration: none; height: 100%; }
.history-card { overflow: hidden; }
.history-card-image { position: relative; }
.history-card-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #e8e1d2; }
.history-card-image span { position: absolute; bottom: .45rem; right: .45rem; padding: .16rem .42rem; color: white; border-radius: .3rem; background: #2c1e17e8; font-size: .71rem; }
.history-card-copy { padding: .75rem .8rem .9rem; }
.history-card-copy h3 { margin-block: .28rem; font-size: 1.3rem; }
.history-card-copy p:last-child { color: var(--muted); }
.history-card a:hover h3 { text-decoration: underline; }
.history-collections { margin-top: 1.05rem; padding: .9rem; }
.history-collections h2 { font-size: 1.3rem; margin-bottom: .28rem; }
.history-collections .chips { margin-top: .62rem; }
.history-article .history-figure img { aspect-ratio: auto; width: 100%; max-height: 560px; object-fit: contain; background: #ede7dd; }
.history-photo-gallery { display: grid; gap: .8rem; }
.associations-banner { min-height: clamp(245px,33vw,350px); background: var(--navy); }
.associations-banner::after { background: linear-gradient(45deg,#101d2ff2 15%,#101d2fa8 49%,#132b261a 90%); }
.associations-banner p:first-child { color: #d6ffb2; }
.associations-filter { display: grid; grid-template-columns: minmax(180px,1.3fr) minmax(0,1fr) minmax(0,1fr) auto; gap: .5rem; align-items: end; padding: .7rem; margin: .9rem 0; }
.associations-filter label { display: grid; gap: .18rem; font-weight: 800; min-width: 0; }
.associations-filter label :is(input,select) { width: 100%; min-height: 43px; }
.associations-reset { margin-bottom: .5rem; }
.associations-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,325px),1fr)); gap: .67rem; }
.association-card { overflow: hidden; }
.portal .association-card > a { display: grid; grid-template-rows: auto 1fr; height: 100%; color: var(--ink); text-decoration: none; }
.portal .association-card > a:focus-visible { outline-offset: -4px; }
.association-card-photo { display: block; width: 100%; height: clamp(130px,16vw,176px); object-fit: cover; }
.association-card-copy { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .56rem; padding: .67rem; }
.portal .association-card a:hover h3 { text-decoration: underline; }
.association-card h3 { margin: .22rem 0 .12rem; }
.association-card p { color: var(--muted); font-size: .81rem; }
.association-icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: .6rem; background: #e6f3e8; color: #214935; }
.association-card:nth-child(3n + 2) .association-icon { background: #f4e9de; color: #623716; }
.association-card:nth-child(3n + 3) .association-icon { background: #e6efff; color: #314867; }
.association-detail-banner { min-height: clamp(260px,40vw,430px); background: var(--navy); }
.association-detail-banner::after { background: linear-gradient(38deg,#101d2ff7 13%,#101d2fbc 50%,#101d2f24 94%); }
.association-detail-banner h1 { font-size: clamp(1.85rem,5vw,3.9rem); }
.association-detail-banner p:first-child { color: var(--accent); }
.portal .association-cover-credit { margin-block: .35rem .65rem; font-size: .84rem; color: var(--muted); }
@media (max-width: 800px) { .associations-filter { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .associations-filter { grid-template-columns: 1fr; } }

.portal a.market-category-photo { display: flex; align-items: end; min-height: clamp(135px,20vw,195px); position: relative; overflow: hidden; isolation: isolate; color: white; background: var(--navy); border: 0; }
.market-category-photo img, .market-category-photo::after { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.market-category-photo::after { content: ""; background: linear-gradient(38deg,#101d2ff5 12%,#12263ca5 42%,#12263c0a 80%); }
.portal a.market-category-photo > .ui-icon { color: #e8f5ef; }
.portal a.market-category-photo > strong { margin-bottom: .29rem; font-size: 1.05rem; }
.market-service-chips { margin-block: .65rem; }
.feed-progress { min-height: 1px; text-align: center; color: var(--muted); }
.feed-progress [data-feed-status]:not(:empty) { padding-block: .65rem .2rem; }
.feed-progress button:not([hidden]), .feed-progress noscript a { margin-block: .4rem; }
.info-home { padding-top: .3rem; }
.portal .info-mobile-transit { display: none; }
@media (max-width: 767px) {
    .portal .info-mobile-transit {
        display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .55rem;
        margin-top: 1rem; padding: .65rem .8rem; background: var(--tile); color: var(--ink);
        text-decoration: none;
    }
    .info-mobile-transit strong, .info-mobile-transit small { display: block; }
    .info-mobile-transit strong { font-size: 1.12rem; }
    .info-mobile-transit small { color: var(--muted); }
    .info-mobile-transit > .ui-icon { color: var(--tile-icon); }
}
.info-tiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin-top: 1rem; }
.info-tile { overflow: hidden; }
.portal .info-tile > a { position: relative; display: grid; min-height: 220px; align-items: end; isolation: isolate; color: #fff; text-decoration: none; background: var(--navy); }
.info-tile > a > :is(img, div) { grid-area: 1 / 1; }
.info-tile img, .info-tile a::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.info-tile a::after { content: ""; background: linear-gradient(32deg,#122139fa 14%,#14263abd 47%,#14263a27 84%); }
.info-tile a > div { position: relative; padding: 1rem 2.3rem 1rem 1rem; }
.info-tile :is(h2,h3) { font-size: clamp(1.24rem,3vw,1.87rem); margin: .35rem 0 .15rem; }
.info-tile p { color: #f0f6ff; }
.info-tile a > div > .ui-icon { position: absolute; bottom: 1.2rem; right: .65rem; }
.info-tile a:hover :is(h2,h3) { text-decoration: underline; }
.info-nav { margin-block: .75rem; }
.info-nav [aria-current] { color: white; background: var(--navy); border-color: var(--navy); }
.info-highlight { display: flex; justify-content: space-between; gap: .75rem 1.5rem; align-items: center; flex-wrap: wrap; padding: clamp(.85rem,3vw,1.5rem); margin: .9rem 0 1.2rem; background: #e9f5ec; }
.info-highlight > div { flex: 1 1 420px; }
.info-highlight h2, .info-group h2 { font-size: clamp(1.4rem,3vw,2rem); margin-block: .2rem .35rem; }
.pharmacy-guard { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); overflow: hidden; margin-block: .9rem 1.5rem; }
.pharmacy-guard-copy {
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .55rem;
    padding: clamp(1rem,3.2vw,2.15rem); background: var(--navy); color: #fff;
}
.portal .pharmacy-guard-copy h2 { color: inherit; font-size: clamp(1.5rem,3.3vw,2.7rem); line-height: 1.05; }
.pharmacy-guard-status {
    display: inline-flex; align-items: center; gap: .35rem; padding: .23rem .58rem;
    border-radius: 8px; background: var(--accent); color: var(--deep); font-weight: 800;
}
.pharmacy-guard-address, .pharmacy-guard-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.pharmacy-guard-actions { margin-top: .2rem; }
.portal .pharmacy-guard-source, .portal .pharmacy-guard-source a { color: #dbf2e4; }
.pharmacy-guard-source { font-size: .86rem; }
.pharmacy-guard-map { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; background: #dfe8e3; }
@media (max-width: 767px) {
    .pharmacy-guard { grid-template-columns: minmax(0,1fr); }
    .pharmacy-guard-map { min-height: 260px; }
}
.info-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); gap: .75rem; margin-top: .7rem; }
.info-card { display: grid; justify-items: start; align-content: start; gap: .35rem; padding: .8rem; }
.info-card a, .agenda-event a { font-weight: 800; overflow-wrap: anywhere; }
.info-compact-filter { display: flex; align-items: end; gap: .5rem; max-width: 100%; }
.info-compact-filter label { display: grid; gap: .15rem; font-weight: 800; min-width: 0; }
.info-compact-filter select { max-width: 100%; min-height: 43px; }
.info-group { margin-block: 1.2rem; scroll-margin-top: 6rem; }
.info-training-detail { display: grid; gap: 1rem; max-width: 58rem; padding: clamp(.85rem,3vw,1.6rem); }
.portal .info-training-detail h2 { font-size: clamp(1.22rem,2.7vw,1.65rem); margin-bottom: .38rem; }
.info-training-detail section p + p { margin-top: .45rem; }
.info-training-facts {
    display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr)); gap: .65rem;
    margin: 0; padding: .75rem; border-radius: 14px; background: #e9f5ec;
}
.info-training-facts dt { font-weight: 800; }
.info-training-facts dd { margin: 0; }
.info-training-contact a { overflow-wrap: anywhere; }
.info-sources { font-size: .85rem; color: var(--muted); margin-top: .75rem !important; }
.info-admissions { margin-bottom: 1.2rem; padding: .7rem .85rem; }
.info-admissions summary { min-height: 38px; cursor: pointer; font-weight: 800; }
.plan-filter-panel { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(150px,100%),1fr)); gap: .75rem; align-items: end; padding: 1rem; margin-block: 1rem; }
.plan-filter-panel label { display: grid; gap: .25rem; min-width: 0; font-weight: 750; }
.plan-filter-panel :is(input:not([type=checkbox]),select) { width: 100%; min-width: 0; min-height: 44px; padding: .5rem; border: 1px solid var(--line); border-radius: .6rem; font: inherit; }
.plan-filter-panel .plan-check { min-height: 44px; display: flex; align-items: center; gap: .4rem; }
.plan-filter-panel .plan-check input { flex: 0 0 auto; }
.plan-facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(135px,100%),1fr)); gap: .6rem; margin-block: .9rem; }
.plan-facts > div { background: #fff; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: .65rem; }
.plan-facts dt { font-weight: 750; }
.plan-facts dd { margin: .15rem 0 0; overflow-wrap: anywhere; }
.plan-day { margin-block: 1rem; scroll-margin-top: 5rem; }
.plan-day > h3 { margin-bottom: .45rem; }
.agenda-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem .85rem; }
.agenda-event h4 { margin-block: .15rem; font-size: clamp(1.05rem,2.5vw,1.42rem); }
.plan-stack { padding-block: .65rem; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.festival-activities { display: grid; gap: .55rem; margin-block: .55rem; padding: 0; list-style: none; }
.festival-activities li { display: flex; align-items: baseline; gap: .6rem; }
.festival-activities time { flex: 0 0 auto; font-weight: 800; font-variant-numeric: tabular-nums; }
@media print {
    body:has(.festival-program) { color: #000; background: #fff; }
    body:has(.festival-program) :is(header.top,.footer,.mobile-nav,.portal-watermark,.crumb,.plan-actions,.plan-banner,.town-gallery-credits,.chips,[data-cookie-open],#cookie-notice,#cookie-preferences) { display: none !important; }
    .festival-program { max-width: none; padding: 0; width: auto; }
    .festival-program :is(.transit-hero,.surface,.plan-facts > div) { background: #fff !important; color: #000 !important; box-shadow: none !important; border: 0; }
    .festival-program .transit-hero :is(h1,p) { color: #000 !important; }
    .festival-program :is(.info-list,.plan-facts) { display: block; }
    .festival-program .info-card { break-inside: avoid; margin-block: .5rem; padding: .2rem; }
    .festival-program .info-card a[href*=".ics"] { display: none; }
}
.plan-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: .9rem; }
.plan-filters { flex-wrap: wrap; }
.plan-banner { display: block; width: 100%; height: auto; max-height: 390px; object-fit: cover; border-radius: var(--radius, 12px); }
.plan-stops { display: grid; gap: .7rem; padding-left: 1.65rem; }
.plan-stops li::marker { color: var(--navy); font-size: 1.15em; font-weight: 800; }
.plan-stops h3 { font-size: clamp(1.05rem,2.5vw,1.42rem); margin-block: .15rem; }
.job-description { white-space: pre-line; overflow-wrap: anywhere; }
.agenda-events { display: grid; gap: .7rem; }
.agenda-event { display: grid; grid-template-columns: auto minmax(0,1fr); gap: .7rem; padding: clamp(.7rem,2vw,1.1rem); }
.agenda-date { display: grid; align-content: center; align-self: start; justify-items: center; min-width: 58px; min-height: 62px; padding: .25rem; color: var(--ink); background: #e1f3e6; border-radius: .65rem; line-height: 1.2; }
.agenda-date strong { font-size: 1.5rem; }
.agenda-date span { font-size: .75rem; text-transform: uppercase; }
.agenda-event h3 { margin-block: .15rem; font-size: clamp(1.05rem,2.5vw,1.42rem); }
.agenda-event .agenda-when { font-weight: 800; margin-bottom: .2rem; }
.agenda-event a { display: inline-block; margin-top: .35rem; }
@media (max-width: 600px) { .info-tiles { grid-template-columns: 1fr; } }
.ad-slot.ad-yulymar {
    --yd-paper: #f8f6f2;
    --yd-ink: #292929;
    --yd-pink: #ec287e;
    --yd-pink-dark: #b51458;
    --yd-rose: #fbe9ef;
    --yd-line: #e4e0da;
    padding: 0;
    border: 1px solid var(--yd-line);
    border-top: 4px solid var(--yd-pink);
    border-radius: var(--radius);
    background: linear-gradient(120deg, var(--yd-paper) 50%, var(--yd-rose));
    text-align: start;
}
.portal .ad-yulymar > a {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(.85rem, 3vw, 2.35rem);
    padding: clamp(.9rem, 3vw, 2.15rem);
    color: var(--yd-ink);
    text-decoration: none;
    border-radius: inherit;
}
.ad-yulymar-copy { display: grid; justify-items: start; gap: .54rem; }
.ad-yulymar .ad-yulymar-copy small {
    margin: 0;
    padding: .14em .58em;
    border-radius: 20px;
    background: var(--yd-rose);
    color: var(--yd-pink-dark);
    font-weight: 800;
}
.ad-yulymar img.ad-yulymar-logo { width: min(100%, 216px); height: auto; margin: .2rem 0 .05rem; }
.ad-yulymar-copy strong {
    color: var(--yd-ink);
    font-size: clamp(1.52rem, 3.3vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -.046em;
}
.ad-yulymar-summary { max-width: 49ch; color: #51494e; line-height: 1.45; }
.ad-yulymar-cta {
    display: inline-flex;
    align-items: center;
    gap: .32em;
    min-height: 44px;
    margin-top: .18rem;
    padding: .48em .98em;
    border-radius: 30px;
    background: var(--yd-pink-dark);
    color: #fff;
    font-size: .93rem;
    font-weight: 800;
    transition: background var(--motion-quick) var(--ease);
}
.ad-yulymar a:is(:hover, :focus-visible) .ad-yulymar-cta { background: #941044; }
.ad-yulymar img.ad-yulymar-art {
    width: 100%;
    height: auto;
    max-height: 272px;
    margin: 0;
    aspect-ratio: 3 / 2;
    border: 1px solid var(--yd-line);
    border-radius: 14px;
    object-fit: cover;
}
.portal .ad-yulymar-compact > a { grid-template-columns: minmax(0, 1fr); padding: .9rem; gap: .74rem; }
.ad-yulymar-compact .ad-yulymar-copy strong { font-size: 1.38rem; }
.ad-yulymar-compact img.ad-yulymar-art { max-height: 146px; }
@media (max-width: 670px) {
    .portal .ad-yulymar > a { grid-template-columns: minmax(0, 1fr); }
    .ad-yulymar img.ad-yulymar-art { max-height: 175px; }
}
.ad-digital-cta { display: flex; align-items: center; gap: .2em; color: #c8ff94; font-weight: 800; }
.ad-slot.ad-home-banner {
    padding: 0;
    margin-bottom: 1.1rem;
    border: 0;
    background: radial-gradient(ellipse at top right, #285c68, transparent 75%), var(--navy);
}
.portal .ad-home-banner > a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(.7rem, 2vw, 1.5rem);
    padding: clamp(.8rem, 2vw, 1.4rem);
    color: #fff;
    text-decoration: none;
}
.ad-home-visual { display: grid; width: clamp(3.1rem, 8vw, 5rem); aspect-ratio: 1; place-items: center; border-radius: 14px; overflow: hidden; background: #c7ffd1; color: #143832; }
.portal .ad-home-visual .ui-icon { width: 55%; height: 55%; }
.ad-home-visual img { width: 100%; height: 100%; object-fit: cover; }
.ad-home-copy { display: grid; justify-items: start; gap: .25rem; }
.ad-home-copy small { padding: .13rem .44rem; border-radius: 6px; background: #e1f7f4; color: #153b39; font-weight: 800; }
.ad-home-copy strong { color: #fff; font-size: clamp(1.25rem, 2.9vw, 2rem); line-height: 1.1; }
.ad-home-banner a:hover .ad-digital-cta { text-decoration: underline; }
@media (max-width: 610px) {
    .ad-home-banner > a .ad-digital-cta { grid-column: 2; }
    .ad-home-visual { align-self: start; }
    .portal .ad-home-banner > a { grid-template-columns: auto minmax(0, 1fr); }
}
@media (max-width: 950px) {
    .town-map-hint { display: block; }
    .town-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 570px) {
    .town-gallery { grid-template-columns: 1fr; }
    .town-map-canvas { min-width: 1000px; }
    .town-map-frame { max-height: min(570px,74svh); }
    .town-map-preview { grid-template-columns: minmax(0,1fr) auto; gap: .4rem; }
    .town-map-preview img { display: none; }
    .town-map-preview .primary { grid-column: 1; grid-row: 2; }
    .town-map-preview .icon-button { grid-column: 2; grid-row: 1; }
}
.skip-link { position: fixed; z-index: 20; left: 12px; top: -70px; padding: .5rem; background: white; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.sr-only, .portal label.trap, .portal .contact-form .honeypot { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.editorial-body { max-width: 850px; }
.editorial-body :is(h2, h3) { margin: .9em 0 .43em; }
.editorial-body p { margin: .62em 0; }
.editorial-body img { max-width: 100%; height: auto; }
.editorial-body figure { margin-inline: 0; }
.editorial-body figcaption { color: var(--muted); }
.portal .form-card { margin-top: 1rem; }
.portal .contact-form { display: grid; gap: .62rem; }

.menu-sheet {
    position: fixed;
    inset: auto 0 0;
    width: min(100%, 540px);
    max-width: none;
    max-height: min(86dvh, 790px);
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 24px 24px 0 0;
    color: var(--ink);
    background: white;
    box-shadow: 0 -14px 65px rgba(11, 27, 48, .22);
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity var(--motion-panel) var(--ease), transform var(--motion-panel) var(--ease), display var(--motion-panel) allow-discrete, overlay var(--motion-panel) allow-discrete;
}
.menu-sheet[open] { opacity: 1; transform: translateY(0); }
.menu-sheet::backdrop { background: rgba(14, 26, 43, .54); opacity: 0; transition: opacity var(--motion-panel) var(--ease), display var(--motion-panel) allow-discrete, overlay var(--motion-panel) allow-discrete; }
.menu-sheet[open]::backdrop { opacity: 1; }
@starting-style {
    .menu-sheet[open] { opacity: 0; transform: translateY(1.25rem); }
    .menu-sheet[open]::backdrop { opacity: 0; }
}
html:has(.menu-sheet[open]) { overflow: hidden; }
.sheet-content { padding: .9rem .8rem max(1rem, env(safe-area-inset-bottom)); }
.sheet-heading { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.sheet-heading h2 { font-size: 1.45rem; }
.sheet-content nav { display: grid; gap: .18rem; }
.sheet-content nav :is(a, summary) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .42rem;
    min-height: 49px;
    padding: .36rem .52rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    border-radius: 11px;
}
.sheet-content .nav-link-label { gap: .53rem; }
.sheet-content nav :is(a[aria-current], a:hover, .nav-submenu[data-active] > summary, .nav-submenu[open] > summary, summary:hover) { background: #e9f5ee; color: var(--accent-ink); }
.sheet-content .nav-submenu > ul { margin-inline-start: .95rem; border-inline-start: 1px solid var(--line); }
.sheet-content .nav-submenu li > a { justify-content: flex-start; font-size: .94rem; }
.sheet-action { width: 100%; margin-top: .7rem; }

@media (max-width: 1440px) {
    .shell { width: calc(100% - 44px); }
    .topline { gap: .55rem; }
}
@media (max-width: 900px) {
    .transit-filter { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); }
}
@media (max-width: 767px) {
    html:has(body.portal) { font-size: 130%; scroll-padding-bottom: 84px; }
    .portal { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .shell { width: calc(100% - 24px); }
    .section { padding-block: 1.35rem; }
    .topline { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 68px; gap: .26rem; padding-block: 8px; }
    .portal .top .wordmark { width: 172px; }
    .header-actions { gap: 6px; }
    .header-actions :is(.btn, .icon-button) { min-height: 46px; font-size: .92rem; }
    .header-actions .top-action { padding: .4rem .46rem; gap: .18em; }
    .top-nav { grid-column: 1 / -1; flex-wrap: wrap; width: 100%; padding-bottom: .16rem; }
    .has-menu .top-nav { display: none; }
    .has-menu .menu-trigger { display: inline-flex; }
    .tab-bar {
        position: fixed;
        z-index: 3;
        inset: auto 0 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-items: stretch;
        min-height: 68px;
        padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
        background: white;
        border-top: 1px solid var(--line);
        box-shadow: 0 -4px 18px rgba(23, 49, 78, .08);
    }
    .tab-bar a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-height: 58px;
        font-size: .9rem;
        line-height: 1.18;
        letter-spacing: -.025em;
        color: var(--muted);
        font-weight: 800;
        text-decoration: none;
        transition: color var(--motion-quick) var(--ease);
    }
    .tab-bar a[aria-current] { color: var(--accent-ink); }
    .tab-icon { display: grid; place-items: center; width: 48px; height: 30px; border-radius: 12px; }
    .tab-bar a[aria-current] .tab-icon { background: #dcf6e5; }
    .tab-icon > .ui-icon { width: 23px; height: 23px; }
    .hero-wrap { padding-top: 12px; }
    .hero { grid-template-columns: 1fr; gap: 8px; }
    .hero-main { grid-template-rows: auto auto; }
    .hero-copy { padding: .86rem .85rem .94rem; border-radius: 20px; }
    .portal .hero-advertise { border-radius: 20px; gap: .5rem; padding: 1rem .85rem; }
    .portal .hero-advertise h1 { font-size: clamp(2.15rem,11.4vw,3.9rem); }
    .hero-advertise-icon { width: 2.25rem; height: 2.25rem; }
    .advertise-placements { grid-template-columns: minmax(0,1fr); }
    .hero-search { margin-top: .65rem; max-width: none; }
    .hero-search .btn { min-width: 48px; min-height: 47px; padding: .27rem .5rem; }
    .hero-search .btn span { display: none; }
    .hero-visual { min-height: clamp(140px, 37vw, 260px); border-radius: 17px; }
    .hero-visual img { object-position: 53% 52%; }
    .hero-visual figcaption { right: 9px; bottom: 8px; }
    .portal .photo-credit { font-size: .82rem; }
    .shortcuts { padding-top: 1.12rem; }
    .shortcut-grid, .category-grid, .cards { gap: 8px; }
    .cards { row-gap: .85rem; }
    .shortcut-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shortcut-advertise { grid-column: 1 / -1; }
    .portal a.shortcut { padding: .57rem; }
    .shortcut h3 { font-size: 1.08rem; margin-top: .48rem; hyphens: auto; }
    .shortcut p { margin-top: .17rem; line-height: 1.25; }
    .shortcut-icon { width: 41px; height: 41px; }
    .shortcut-icon .ui-icon { width: 25px; height: 25px; }
    .section-title { flex-wrap: wrap; align-items: flex-start; gap: .55rem; margin-bottom: .68rem; }
    .section-title h2 { font-size: 1.65rem; }
    .market-home { padding-top: 0; }
    .category-grid, .cards, .detail-main, .field-grid { grid-template-columns: 1fr; }
    .portal a.category { min-height: 63px; }
    .card-body { padding: .76rem; }
    .card-body h3 { font-size: 1.17rem; margin-block: .43rem .27rem; }
    .card-body .place, .card-meta { font-size: .95rem; }
    .page-title { flex-wrap: wrap; align-items: flex-start; gap: .72rem; }
    .page-title h1, .form-surface h1 { font-size: clamp(2.03rem, 9.4vw, 3.3rem); }
    .page-title p { margin-top: .35rem; }
    .filter-panel { padding: .6rem; }
    .filter-fields { grid-template-columns: 1fr; }
    .portal :is(input:not([type="checkbox"]), select), .portal .btn { min-height: 50px; }
    .portal label { line-height: 1.38; }
    .portal .catalog-search input { min-height: 51px; }
    .catalog-search .btn { width: 51px; padding-inline: 0; }
    .catalog-search .btn > span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
    .chips a { min-height: 46px; font-size: .96rem; }
    .detail-main h1 { font-size: clamp(1.97rem, 9vw, 2.9rem); }
    .detail-main h2, .comments h2 { font-size: 1.43rem; }
    .detail .info-box { gap: .48rem; }
    .transit-hero { padding: .75rem; }
    .section-banner { align-items: flex-start; flex-direction: column; }
    .transit-heading { gap: .39rem; }
    .transit-heading > .page-icon { width: 44px; height: 44px; }
    .transit-filter { grid-template-columns: minmax(0, 1fr) auto; }
    .transit-filter .destination, .transit-filter .date-field, .transit-filter .transit-submit { grid-column: 1 / -1; }
    .trip { padding: .52rem .62rem; }
    .trip-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .44rem; }
    .trip-service { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .36rem; }
    .trip-row small { margin: 0; font-size: .91rem; }
    .trip-time { font-size: 1.42rem; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
    .footer-brand-block { grid-column: 1 / -1; margin-bottom: .4rem; }
    .footer-grid nav a { min-width: 0; max-width: 100%; min-height: 40px; font-size: .87rem; overflow-wrap: anywhere; }
    .footer-leader {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, min(41%, 145px)) minmax(0, 1fr);
        align-items: center;
        gap: .2rem .68rem;
        width: min(100%, 440px);
        padding: .48rem;
    }
    .footer-leader img { grid-area: 1 / 1 / span 2; }
    .footer-leader-label { align-self: end; }
    .footer-leader-link { align-self: start; }
    .portal .cookie-notice { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
    .portal .topline:not(.topline--guest) .top-action { width: 46px; }
    .portal .topline:not(.topline--guest) .top-action > span { display: none; }
}
@media (max-width: 355px) {
    .shortcut h3 { font-size: 1rem; }
    .footer-grid nav a { gap: .3em; font-size: .83rem; }
    .portal .footer-grid nav .ui-icon { width: 1.05em; height: 1.05em; }
}
@media (prefers-reduced-motion: no-preference) {
    html:has(body.portal) { scroll-behavior: smooth; }
    @view-transition { navigation: auto; }
    ::view-transition { pointer-events: none; }
    ::view-transition-old(root) { animation: .21s var(--ease) both page-out; }
    ::view-transition-new(root) { animation: .34s var(--ease) both page-in; }
}
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .portal *, .portal *::before, .portal *::after { animation-duration: 0s !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
    .nav-submenu::details-content { transition: none; }
}


.news-home { padding-block: 1.85rem 1.6rem; }
.news-kicker {
    display: flex;
    align-items: center;
    gap: .35em;
    margin-bottom: .36rem !important;
    color: var(--link);
    font-weight: 800;
}
.news-grid, .news-archive { display: grid; gap: .85rem; }
.news-grid { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); }
.news-archive { grid-template-columns: repeat(3,minmax(0,1fr)); }
.news-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color var(--motion-quick) var(--ease), box-shadow var(--motion-quick) var(--ease);
}
.news-card:hover { border-color: #9ab6ad; box-shadow: var(--shadow); }
.news-grid .news-lead { grid-row: span 2; }
.news-cover { display: block; width: 100%; height: clamp(160px, 20vw, 250px); object-fit: cover; object-position: center; }
.news-card:not(.news-lead) .news-cover { height: 160px; }
.news-card-body { display: grid; align-content: start; flex: 1; gap: .48rem; padding: 1rem 1.1rem; }
.news-archive .news-card-body { min-height: 10.5rem; }
.news-card h3 { font-size: 1.28rem; }
.news-lead h3 { font-size: clamp(1.35rem, 2.8vw, 2.1rem); }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a:hover { color: var(--link); text-decoration: underline; }
.news-meta { display: flex; flex-wrap: wrap; gap: .23rem .62rem; align-items: center; color: var(--muted); font-size: .86rem; }
.news-meta > span { color: var(--link); font-weight: 800; }
.news-summary { color: var(--muted); line-height: 1.43; }
.news-credit { font-size: .88rem; margin-top: .2rem !important; }
.news-card-visual { display: block; position: relative; }
.news-lead .news-card-visual { flex: 1 0 auto; min-height: clamp(280px,27vw,370px); }
.news-lead .news-cover { position: absolute; inset: 0; height: 100%; }
.news-lead .news-card-body { flex: 0 0 auto; }
.news-teaser { color: var(--muted); line-height: 1.5; }
.portal .news-read { display: inline-flex; align-items: center; gap: .32em; justify-self: start; min-height: 38px; font-weight: 800; text-decoration: none; }
.portal .news-read:hover { text-decoration: underline; }
.news-card-visual > span { position: absolute; right: .4rem; bottom: .42rem; max-width: calc(100% - .8rem); background: #142234ee; color: #fff; border-radius: 6px; padding: .12rem .33rem; font-size: .66rem; }
.news-article { margin-inline: auto; }
.news-article h1 { font-size: clamp(2rem,4.5vw,3.4rem); }
.news-article .news-intro { font-size: 1.13rem; font-weight: 700; color: var(--muted); }
.news-article figure img { display: block; width: 100%; max-height: 430px; object-fit: cover; border-radius: 14px; }
.news-article figcaption { margin-top: .3rem; }
.spotlight { display: grid; align-content: end; min-height: 22rem; }
.spotlight::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #101d2f08 8%, #101d2fb8 48%, #101d2f 100%); }
.spotlight img { z-index: -2; inset: 0; }
.portal .spotlight { color: #fff; text-decoration: none; background: #15283e; }
.portal .spotlight:focus-visible { outline-offset: 4px; }
.spotlight-copy { display: grid; justify-items: start; gap: .46rem; padding: clamp(.9rem,3.3vw,2rem); }
.spotlight-label { display: inline-flex; align-items: center; gap: .4em; color: #192839; background: #beff8d; border-radius: 7px; padding: .25em .55em; font-weight: 800; font-size: .87rem; }
.spotlight-title { font-size: clamp(1.7rem,3.6vw,3rem); font-weight: 800; letter-spacing: -.048em; line-height: 1.09; text-wrap: balance; }
.spotlight-meta { font-size: .82rem; color: #e8f0f6; }
.spotlight-more { font-size: .94rem; font-weight: 800; display: inline-flex; gap: .3em; align-items: center; color: #d8ffb9; }
.spotlight:hover .spotlight-more { text-decoration: underline; }
.news-carousel { margin-block: 1rem 1.35rem; }
.news-carousel-slides { overflow: hidden; border-radius: var(--radius); background: var(--deep); }
.news-carousel-slide {
    position: relative;
    z-index: 0;
    display: grid;
    align-content: end;
    min-height: clamp(320px, 37vw, 475px);
    color: white;
    animation: news-slide-in var(--motion-panel) var(--ease) both;
    isolation: isolate;
}
@keyframes news-slide-in { from { opacity: .65; } to { opacity: 1; } }
.news-carousel-slide > img, .news-carousel-slide::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.news-carousel-slide > img { object-fit: cover; z-index: -2; }
.news-carousel-slide::after { content: ""; z-index: -1; background: linear-gradient(32deg,#101d2f 10%,#101d2fe8 35%,#101d2f74 68%,#101d2f22 100%); }
.news-carousel-copy { padding: clamp(1rem, 4vw, 2.5rem); max-width: 780px; }
.news-carousel-copy h2 { margin: .45rem 0; font-size: clamp(1.68rem, 4vw, 3.6rem); text-wrap: balance; color: white; }
.news-carousel-copy h2 a { text-decoration: none; color: inherit; }
.news-carousel-copy h2 a:hover { text-decoration: underline; }
.news-carousel-summary { max-width: 57ch; color: #edf4f9; }
.news-carousel-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .42rem .92rem; padding-top: .55rem; color: #e7eff6; font-size: .85rem; }
.portal .news-carousel-meta a { color: var(--accent); text-decoration: none; }
.portal .news-carousel-meta a:hover { text-decoration: underline; }
.news-carousel-credit { position: absolute; top: .65rem; right: .65rem; padding: .2em .55em; max-width: calc(100% - 1.3rem); border-radius: 6px; font-size: .73rem; background: #101d2fda; }
.news-carousel-controls { display: flex; justify-content: space-between; align-items: start; gap: .4rem; padding: .55rem 0; }
.news-carousel-categories { display: flex; flex-wrap: wrap; gap: .32rem; }
.news-carousel-categories button {
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: .38rem .65rem;
    min-height: 44px;
    color: var(--ink);
    background: white;
    font: 800 .9rem/1.25 var(--font);
    cursor: pointer;
}
.news-carousel-categories button[aria-pressed="true"] { color: white; background: var(--navy); border-color: var(--navy); }
.news-carousel-toggle[data-playing="true"] svg:last-child,
.news-carousel-toggle[data-playing="false"] svg:first-child { display: none; }
@media (max-width: 767px) {
    .news-carousel-slide { min-height: 380px; }
    .news-carousel-slide::after { background: linear-gradient(180deg,#101d2f12 2%,#101d2fb8 32%,#101d2f 87%); }
    .news-carousel-copy { padding: 1.3rem .75rem .86rem; }
}
.reading-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 310px); align-items: start; gap: 1rem; }
.reading-layout .editorial-body { max-width: none; width: 100%; min-width: 0; overflow-wrap: anywhere; }
.reading-layout > .editorial-body { grid-area: 1 / 1; }
.reading-layout .editorial-body > h2 { font-size: clamp(1.4rem,2.9vw,2rem); }
.reading-layout .editorial-body :is(h2,h3,h4)[id] { scroll-margin-top: 1.05rem; }
.reading-sidebar { position: sticky; top: 1rem; display: grid; gap: .75rem; min-width: 0; }
.reading-layout > .reading-sidebar { grid-area: 1 / 2; }
.reading-sidebar :is(.article-toc,.reading-recent) { padding: .83rem; }
.article-toc summary { cursor: pointer; font-weight: 800; }
.article-toc summary .ui-icon { vertical-align: -.22em; margin-right: .17em; }
.article-toc ol { padding-inline-start: 1.33rem; margin: .45rem 0 0; }
.article-toc li { margin-block: .25rem; }
.article-toc a { display: inline-block; padding: .2em .3em; border-radius: 5px; overflow-wrap: anywhere; }
.article-toc a[aria-current="location"] { background: #e1f2e7; color: #194b35; font-weight: 800; }
.article-toc-links { max-height: 35vh; overflow-y: auto; }
.reading-recent h2 { font-size: 1.12rem; }
.reading-recent ul { padding: 0; list-style: none; margin: .55rem 0; }
.reading-recent li { border-bottom: 1px solid var(--line); padding: .4rem 0; }
.reading-recent a, .article-toc a { font-size: .9rem; }
.ad-slot { background: white; border-radius: 12px; border: 1px solid var(--line); margin-block: .8rem; padding: .68rem; text-align: center; }
.ad-slot small { display: block; color: var(--muted); font-size: .76rem; margin-bottom: .3rem; }
.ad-slot img { display: block; width: auto; max-width: 100%; max-height: 230px; margin: 0 auto .3rem; object-fit: contain; }
.ad-slot.ad-demo { --ad-bg: #3a2331; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: stretch; position: relative; padding: 0; overflow: hidden; color: white; border: 0; border-radius: var(--radius); background: var(--ad-bg); text-align: start; }
.ad-slot.ad-jamon { --ad-bg: #48271c; }
.ad-slot.ad-bar { --ad-bg: #203d35; }
.ad-slot.ad-demo img { width: 100%; height: 100%; max-height: 250px; min-height: 145px; object-fit: cover; margin: 0; }
.ad-demo-copy { align-self: center; padding: clamp(.75rem,3vw,1.4rem); }
.ad-demo small { display: flex; flex-wrap: wrap; gap: .4rem .55rem; align-items: center; color: #fff4ea; font-size: .72rem; margin: .65rem 0 0; }
.ad-demo small b { color: #251a0d; background: #ffe8b6; padding: .22rem .48rem; border-radius: .25rem; }
.ad-demo p + p { margin-top: .28rem; color: #fff7ed; }
.ad-demo strong { font-size: clamp(1.16rem,2.6vw,1.62rem); line-height: 1.2; }
.reading-sidebar > .ad-demo { grid-template-columns: 1fr; }
.reading-sidebar > .ad-demo img { max-height: 150px; }
.news-ad-label { display: inline-block; padding: .14em .5em; border-radius: 5px; background: #fee7a9; color: #5b3804; }
.news-ad-card .news-meta > span { color: var(--muted); }
.news-ad-cover { display: grid; place-items: center; background: linear-gradient(135deg, #13263b, #275f54); color: var(--accent); }
.portal .news-ad-cover .ui-icon { width: 3.4rem; height: 3.4rem; }
.cookie-policy { padding: clamp(.8rem,3vw,1.45rem); }
.cookie-policy .cookie-table-scroll table { min-width: 590px; width: 100%; border-collapse: collapse; }
.cookie-policy .cookie-table-scroll :is(th, td) { padding: .5rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.portal .cookie-notice > p { font-size: .89rem; line-height: 1.5; }
.portal .cookie-notice-owner { font-size: .78rem; }
.portal .cookie-equal-actions button, .portal .cookie-configure { font-size: .89rem; }
@media (max-width: 767px) {
    .portal .cookie-notice { inset-inline: 12px; bottom: calc(77px + env(safe-area-inset-bottom)); width: auto; max-height: calc(100dvh - 95px); padding: .78rem; overflow: auto; }
}
.reading-sidebar > .ad-slot { margin: 0; }
@media (max-width: 900px) {
    .reading-layout { grid-template-columns: minmax(0,1fr); }
    .reading-sidebar { position: static; display: contents; }
    .reading-layout > .editorial-body { grid-row: 2; }
    .reading-sidebar > .article-toc { grid-row: 1; }
    .reading-sidebar > .ad-slot { grid-row: 3; }
}
.article-sources { margin-top: 1.1rem; padding: .85rem 1rem; border-radius: 12px; background: #e9f4f0; }
.article-sources h2 { margin: 0; font-size: 1.3rem; }
.article-sources ul { margin: .5rem 0 0; padding-left: 1.14rem; }
.services-home { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.services-home h2 { font-size: clamp(1.44rem,3vw,2.2rem); }
.services-home p { margin-top: .35rem; color: var(--muted); }
@media (min-width: 768px) and (max-width: 1080px) {
    .top-nav { flex-wrap: wrap; }
    .has-menu .top-nav { display: none; }
    .has-menu .menu-trigger { display: inline-flex; }
}
@media (max-width: 767px) {
    .spotlight { min-height: clamp(245px,78vw,345px); }
    .spotlight-title { font-size: clamp(1.44rem,6.8vw,1.95rem); }
    .news-home { padding-block: 1.18rem .95rem; }
    .news-grid, .news-archive { grid-template-columns: 1fr; gap: .45rem; }
    .news-grid .news-lead { grid-row: auto; }
    .news-card-body { padding: .7rem .77rem; }
    .news-cover { height: clamp(148px, 43vw, 240px); }
    .news-lead .news-card-visual { min-height: clamp(196px,58vw,350px); }
    .news-lead h3, .news-card h3 { font-size: 1.22rem; }
    .ad-slot.ad-demo { grid-template-columns: 1fr; }
    .ad-slot.ad-demo img { max-height: 160px; }
    .services-home { flex-wrap: wrap; gap: .62rem; }
}
.portal .account-link {
    position: relative;
    width: 46px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(145deg,#efffdc,#bdf0b7);
    border-color: #9bcba2;
    color: #154834;
}
.portal .account-link::after {
    content: "";
    position: absolute;
    inset: auto .12rem .12rem auto;
    width: 12px;
    height: 12px;
    border: 2px solid #dcfad4;
    border-radius: 50%;
    background: #137b4f;
}
.portal .account-link:is(:hover, [aria-current]) { background: #c0f4af; border-color: #3a8c67; }
.portal .account-link .ui-icon { width: 1.6rem; height: 1.6rem; }
.sheet-content .menu-profile-icon { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; color: var(--accent-ink); background: #d8f4da; }
.sheet-content .menu-profile-icon .ui-icon { width: 1.35rem; height: 1.35rem; }
.member-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1rem; }
.member-profile-links { margin-top: .8rem; }
.member-profile-links a { display: inline-flex; align-items: center; gap: .38rem; }
.listing-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,12rem),1fr));
    gap: .65rem;
    margin-block: .75rem;
}
.listing-gallery a { display: block; max-width: 19rem; border-radius: 12px; overflow: hidden; background: var(--canvas); }
.listing-gallery img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.listing-verified { display: inline-flex; align-items: center; width: fit-content; gap: .28em; padding: .2em .55em; border: 1px solid #a1cdb5; border-radius: 999px; background: #e3f5e9; color: #14553d; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.listing-verified .ui-icon { width: 1.1em; height: 1.1em; }
.portal .listing-byline { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: .5rem; color: var(--muted); }
.member-list, .member-profile { padding: 1.25rem; min-width: 0; }
.member-email { overflow-wrap: anywhere; }
.portal .member-profile h2 { margin-bottom: .38rem; }
.member-listing { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; padding: .85rem 0; border-top: 1px solid var(--line, #d6e1eb); }
.member-listing h3, .member-listing p { margin: 0; }
.member-listing .location-actions { margin-block: 0; }
.member-delete summary { padding: .55rem .65rem; border: 1px solid #e3cbd0; border-radius: 10px; color: #982b3c; font-weight: 800; cursor: pointer; }
.member-delete form { display: grid; justify-items: start; gap: .55rem; margin-top: .55rem; }
.portal .member-delete button { background: #a63246; border-color: #a63246; color: white; }
.portal .member-delete button:hover { background: #852436; }
.listing-location { min-width: 0; padding: 1rem; border: 1px solid var(--line, #d6e1eb); border-radius: .85rem; }
.listing-location legend { font-weight: 800; }
.listing-location p { margin: .35rem 0; }
.listing-location .ui-icon, .listing-map .ui-icon { width: 1em; height: 1em; vertical-align: -.13em; }
.location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .5rem 0; }
.location-actions [hidden] { display: none; }
.listing-map { margin-top: .65rem; }
.listing-map summary, .member-profile summary { cursor: pointer; font-weight: 800; }
.listing-map iframe:not([src]) { display: none; }
.member-code-fallback > summary { cursor: pointer; font-weight: 800; padding-block: .65rem; }
@media (min-width: 768px) and (max-width: 1170px) {
    .topline--guest .top-nav { flex-wrap: wrap; }
    .has-menu .topline--guest .top-nav { display: none; }
    .has-menu .topline--guest .menu-trigger { display: inline-flex; }
}
@media (max-width: 767px) {
    .member-list, .member-profile { padding: .85rem; }
    .has-menu .header-primary-actions :is(.top-action,.account-link),
    .has-menu .topline:not(.topline--guest) .header-primary-actions { display: none; }
    .topline--guest .header-actions { display: contents; }
    .topline--guest .menu-trigger { grid-area: 1 / 2; justify-self: end; }
    .topline--guest .header-primary-actions {
        grid-area: 2 / 1 / auto / -1;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .has-menu .topline--guest .header-primary-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .topline--guest .header-primary-actions .btn {
        font-size: .8rem;
        padding: .28rem .18rem;
        gap: .2em;
        white-space: normal;
    }
    .topline--guest .top-nav { grid-row: 3; }
}
@media (max-width: 430px) {
    .portal .topline--guest .header-primary-actions .ui-icon { display: none; }
}
