.public-header {
    --header-ink: #1d392f;
    --header-accent: #bc5335;
    --header-hover: #edf5ef;
    position: relative;
    z-index: 25;
    color: var(--header-ink);
}
.public-header-standard { position: sticky; top: 0; }
.public-header-service {
    --header-ink: #fff;
    --header-accent: #ffc39f;
    --header-hover: #ffffff18;
    background: #326858;
}
.public-header-scenic {
    --header-ink: #fff;
    --header-accent: #ffc39f;
    --header-hover: #ffffff25;
    background: linear-gradient(#102c27a6, #102c2726);
}
.public-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 60px;
    padding: 5px clamp(12px, 4vw, 24px);
}
.public-header-standard .public-header-row { width: min(1240px, 100%); margin-inline: auto; }
.public-header-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    font-size: clamp(1.05rem, 5vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
}
.public-header-brand > span > span { color: var(--header-accent); }
.public-header-brand img { width: clamp(25px, 7vw, 32px); height: auto; flex: 0 0 auto; border-radius: 50%; }
.public-header-actions { display: flex; align-items: center; flex-shrink: 0; gap: 2px; }
.public-header-actions > details { margin: 0; }
.public-header-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    color: inherit;
    list-style: none;
    cursor: pointer;
}
.public-header-icon::-webkit-details-marker { display: none; }
.public-header-icon::marker { content: ""; }
.public-header-icon:hover, .public-header-actions > details[open] > summary { background: var(--header-hover); }
.public-header-icon svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.public-header-popover {
    position: absolute;
    inset: calc(100% + 5px) clamp(12px, 4vw, 24px) auto auto;
    z-index: 2;
    width: min(270px, calc(100% - 24px));
    max-height: min(70dvh, 440px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #dbe8df;
    border-radius: 15px;
    background: #fff;
    color: #1d392f;
    box-shadow: 0 12px 30px #173e3426;
}
.public-header-popover > strong { display: block; padding: 8px 12px 0; font-size: .91rem; }
.public-header-popover > a, .public-header-signout {
    display: flex;
    align-items: center;
    min-height: 42px;
    width: 100%;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: .85rem;
    text-align: start;
    text-decoration: none;
}
.public-header-popover form { margin: 0; }
.public-header-popover > a:hover, .public-header-signout:hover { background: #edf5ef; }
.public-header-popover button { cursor: pointer; }
.public-header-popover .public-header-languages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
    padding: 9px 10px 5px;
    border-top: 1px solid #e4eee7;
    font-size: .85rem;
    font-weight: 650;
}
.public-header-languages > div { display: flex; gap: 4px; }
.public-header-languages button {
    min-height: 42px;
    min-width: 44px;
    padding: 5px 8px;
    border: 1px solid #dae7de;
    border-radius: 8px;
    background: #f6faf7;
    color: #285749;
    font: inherit;
}
.public-header-languages button[aria-pressed="true"] { border-color: #2c6051; background: #2c6051; color: #fff; }
.public-header :is(a, button, summary):focus-visible { outline: 2px solid #dc885c; outline-offset: 2px; }
@media (max-width: 340px) {
    .public-header-brand { gap: 5px; }
    .public-header-actions { gap: 0; }
}
