.hcfb-food-finder,
.hcfb-partner-portal {
    --hcfb-orange: #f26522;
    --hcfb-orange-dark: #c94d12;
    --hcfb-navy: #17324d;
    --hcfb-teal: #166b73;
    --hcfb-ink: #1e2a36;
    --hcfb-muted: #5d6976;
    --hcfb-border: #d7e0e7;
    --hcfb-border-strong: #bdcbd6;
    --hcfb-surface: #ffffff;
    --hcfb-surface-alt: #f5f8fa;
    --hcfb-focus: rgba(242, 101, 34, .24);
    --hcfb-shadow: 0 12px 30px rgba(23, 50, 77, .10);
    width: 100%;
    color: var(--hcfb-ink);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
}

.hcfb-food-finder *,
.hcfb-food-finder *::before,
.hcfb-food-finder *::after,
.hcfb-partner-portal *,
.hcfb-partner-portal *::before,
.hcfb-partner-portal *::after {
    box-sizing: border-box;
}

.hcfb-food-finder button,
.hcfb-food-finder input,
.hcfb-food-finder select,
.hcfb-food-finder textarea,
.hcfb-partner-portal button,
.hcfb-partner-portal input,
.hcfb-partner-portal select,
.hcfb-partner-portal textarea {
    font: inherit;
    letter-spacing: normal;
    text-transform: none;
}

.hcfb-food-finder__header,
.hcfb-partner-portal > header {
    margin: 0 0 1.25rem;
}

.hcfb-food-finder__header h1,
.hcfb-partner-portal > header h2 {
    margin: .15rem 0 .35rem !important;
    color: var(--hcfb-navy);
    font-size: clamp(1.7rem, 3vw, 2.35rem) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    letter-spacing: -.025em !important;
}

.hcfb-food-finder__header p,
.hcfb-partner-portal > header p {
    max-width: 760px;
    margin: 0 !important;
    color: var(--hcfb-muted);
    font-size: 1rem !important;
}

/* Accessibility fix (final pre-commit audit): the local orange
   (var(--hcfb-orange), #f26522) measured ~2.7:1 at this size/weight --
   below AA's 4.5:1 and too small for the large-text exception. This class
   is shared across four surfaces (unified /find-food/, the standalone
   [hcfb_food_finder] shortcode, the partner portal, and the agency login
   screen) -- all four render on a white/light background (--hcfb-surface,
   #fff), confirmed before making this a shared change, so one fix here is
   safe everywhere it's used. Switched to the approved global HCFB navy
   token (var(--wp--preset--color--hcfb-navy), #262760) rather than this
   file's own local --hcfb-navy (#17324d), per instruction to prefer the
   global token when available. Wording/case/size/weight/spacing/layout
   unchanged. */
.hcfb-food-finder__eyebrow {
    color: var(--wp--preset--color--hcfb-navy) !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

/*
 * Two-row layout, not a single five-field row: "What kind of food help are
 * you looking for?" needs real room for its longest option text ("Food
 * Assistance for Low-Income Families") -- fitting it on the same row as
 * search/county/availability at this container's ~1232px width always
 * forces something to truncate (proven while building this; the single-row
 * five-column layout could not fit all five fields' longest values without
 * cutting one off). Splitting search+location onto their own full-width row
 * gives row two's three fields keep the row 100% for themselves, with
 * "food help" getting the visible majority via its column's own fr-share.
 */
.hcfb-food-finder__controls {
    display: grid;
    grid-template-columns: 1fr 1fr 1.6fr 1fr;
    grid-template-areas:
        "search search search geolocation"
        "county category category availability"
        "actions actions actions actions";
    gap: .85rem;
    align-items: end;
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--hcfb-border);
    border-radius: 14px;
    background: var(--hcfb-surface-alt);
}

.hcfb-field--search { grid-area: search; }
.hcfb-field--county { grid-area: county; }
.hcfb-field--category { grid-area: category; }
.hcfb-field--availability { grid-area: availability; }

.hcfb-field--geolocation {
    display: grid !important;
    grid-area: geolocation;
    gap: .38rem;
}

.hcfb-field-spacer {
    display: block;
    height: 1.06rem;
}

.hcfb-button--geolocation {
    justify-content: center;
    gap: .4rem;
    border: 1px solid var(--hcfb-border-strong) !important;
    background: var(--hcfb-surface) !important;
    color: var(--hcfb-teal) !important;
    white-space: nowrap;
}

.hcfb-button--geolocation:hover {
    border-color: var(--hcfb-teal) !important;
    background: var(--hcfb-surface-alt) !important;
}

.hcfb-button--geolocation__icon {
    font-size: 1.05rem;
    line-height: 1;
}

.hcfb-status--location {
    min-height: 0;
    margin: 0 0 -.15rem !important;
    padding: 0 .1rem;
    color: var(--hcfb-teal) !important;
    font-size: .86rem !important;
}

.hcfb-status--location:empty {
    display: none;
}

.hcfb-field,
.hcfb-food-finder label,
.hcfb-partner-portal label {
    display: grid !important;
    min-width: 0;
    gap: .38rem;
    margin: 0 !important;
    color: var(--hcfb-navy);
    font-size: .9rem !important;
    font-weight: 750 !important;
    line-height: 1.3 !important;
}

.hcfb-control-wrap {
    position: relative;
    display: block;
    min-width: 0;
}

.hcfb-control-wrap--search::before {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: .9rem;
    width: 18px;
    height: 18px;
    border: 2px solid #72808d;
    border-radius: 50%;
    content: "";
    pointer-events: none;
    transform: translateY(-56%);
}

.hcfb-control-wrap--search::after {
    position: absolute;
    z-index: 1;
    top: calc(50% + 5px);
    left: 1.82rem;
    width: 7px;
    height: 2px;
    border-radius: 2px;
    background: #72808d;
    content: "";
    pointer-events: none;
    transform: rotate(45deg);
    transform-origin: left center;
}

.hcfb-control-wrap--select::after {
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 8px;
    height: 8px;
    border-right: 2px solid #64717d;
    border-bottom: 2px solid #64717d;
    content: "";
    pointer-events: none;
    transform: translateY(-68%) rotate(45deg);
}

.hcfb-food-finder input,
.hcfb-food-finder select,
.hcfb-partner-portal input,
.hcfb-partner-portal select,
.hcfb-partner-portal textarea {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: .72rem .85rem !important;
    border: 1px solid var(--hcfb-border-strong) !important;
    border-radius: 9px !important;
    outline: 0 !important;
    background: var(--hcfb-surface) !important;
    box-shadow: none !important;
    color: var(--hcfb-ink) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
}

.hcfb-food-finder input[type="search"] {
    padding-left: 2.75rem !important;
    -webkit-appearance: none;
    appearance: none;
}

.hcfb-food-finder select,
.hcfb-partner-portal select {
    padding-right: 2.5rem !important;
    -webkit-appearance: none;
    appearance: none;
    background-image: none !important;
}

.hcfb-food-finder input::placeholder,
.hcfb-partner-portal input::placeholder,
.hcfb-partner-portal textarea::placeholder {
    color: #77838f !important;
    opacity: 1;
}

.hcfb-food-finder input:focus,
.hcfb-food-finder select:focus,
.hcfb-partner-portal input:focus,
.hcfb-partner-portal select:focus,
.hcfb-partner-portal textarea:focus {
    border-color: var(--hcfb-orange) !important;
    box-shadow: 0 0 0 4px var(--hcfb-focus) !important;
}

.hcfb-food-finder__actions {
    display: flex;
    grid-area: actions;
    gap: .55rem;
    align-items: center;
    justify-content: flex-end;
}

.hcfb-button,
.hcfb-food-finder button,
.hcfb-partner-portal button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 50px !important;
    margin: 0 !important;
    padding: .75rem 1.1rem !important;
    border: 1px solid transparent !important;
    border-radius: 9px !important;
    cursor: pointer;
    box-shadow: none !important;
    font-size: .95rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.hcfb-button:hover,
.hcfb-food-finder button:hover,
.hcfb-partner-portal button:hover {
    transform: translateY(-1px);
}

.hcfb-button--primary,
.hcfb-food-finder .hcfb-button--primary,
.hcfb-partner-portal .hcfb-button--primary {
    background: var(--hcfb-orange) !important;
    color: #fff !important;
}

.hcfb-button--primary:hover,
.hcfb-food-finder .hcfb-button--primary:hover,
.hcfb-partner-portal .hcfb-button--primary:hover {
    background: var(--hcfb-orange-dark) !important;
}

.hcfb-button--secondary,
.hcfb-food-finder .hcfb-button--secondary {
    border-color: var(--hcfb-border-strong) !important;
    background: var(--hcfb-surface) !important;
    color: var(--hcfb-navy) !important;
}

.hcfb-button:focus-visible,
.hcfb-food-finder button:focus-visible,
.hcfb-partner-portal button:focus-visible {
    outline: 3px solid var(--hcfb-focus) !important;
    outline-offset: 2px;
}

/*
 * <summary> (View hours / Learn more disclosures) is natively focusable and
 * keyboard-activatable but isn't a <button>, so the shared button rule above
 * never applied to it -- confirmed via computed style that it previously
 * had no visible focus indicator at all. Same treatment as buttons above.
 */
.hcfb-food-finder summary:focus-visible {
    outline: 3px solid var(--hcfb-focus) !important;
    outline-offset: 2px;
    border-radius: 3px;
}

.hcfb-button:disabled,
.hcfb-food-finder button:disabled,
.hcfb-partner-portal button:disabled {
    cursor: wait;
    opacity: .7;
    transform: none;
}

.hcfb-food-finder__summary {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: .7rem .1rem;
}

.hcfb-status {
    margin: 0 !important;
    color: var(--hcfb-muted) !important;
    font-size: .98rem !important;
    font-weight: 600 !important;
}

.hcfb-food-finder[aria-busy="true"] .hcfb-status::before {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: .45rem;
    border: 2px solid var(--hcfb-border-strong);
    border-top-color: var(--hcfb-orange);
    border-radius: 50%;
    content: "";
    vertical-align: -1px;
    animation: hcfb-spin .7s linear infinite;
}

@keyframes hcfb-spin {
    to { transform: rotate(360deg); }
}

.hcfb-food-finder__view-toggle {
    display: none;
    overflow: hidden;
    border: 1px solid var(--hcfb-border-strong);
    border-radius: 9px;
    background: var(--hcfb-surface);
}

.hcfb-food-finder__view-toggle button {
    min-height: 38px !important;
    padding: .5rem .85rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--hcfb-navy) !important;
    font-size: .84rem !important;
}

.hcfb-food-finder__view-toggle button[aria-pressed="true"] {
    background: var(--hcfb-navy) !important;
    color: #fff !important;
}

.hcfb-food-finder__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 1rem;
    align-items: stretch;
}

.hcfb-food-finder__panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--hcfb-border);
    border-radius: 14px;
    background: var(--hcfb-surface);
    box-shadow: var(--hcfb-shadow);
}

.hcfb-food-finder__map {
    width: 100%;
    min-height: 620px;
    background: #e8eef2;
}

.hcfb-food-finder__results-panel {
    max-height: 620px;
}

.hcfb-food-finder__results {
    display: grid;
    gap: .75rem;
    align-content: start;
    height: 100%;
    max-height: 620px;
    padding: .85rem;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-color: var(--hcfb-border-strong) transparent;
}

.hcfb-location-card {
    position: relative;
    display: grid;
    gap: .75rem;
    margin: 0 !important;
    padding: 1rem !important;
    border: 1px solid var(--hcfb-border) !important;
    border-radius: 11px !important;
    background: var(--hcfb-surface) !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hcfb-location-card:hover,
.hcfb-location-card:focus-within,
.hcfb-location-card.is-selected {
    border-color: var(--hcfb-orange) !important;
    box-shadow: 0 8px 20px rgba(23, 50, 77, .10) !important;
    transform: translateY(-1px);
}

.hcfb-location-card__heading {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    justify-content: space-between;
}

.hcfb-location-card__heading > div {
    min-width: 0;
}

.hcfb-location-card h3 {
    margin: 0 !important;
    color: var(--hcfb-navy) !important;
    font-size: 1.18rem !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    letter-spacing: -.01em !important;
}

.hcfb-location-card__organization {
    margin: 0 !important;
    color: var(--hcfb-muted) !important;
    font-size: .91rem !important;
    line-height: 1.35 !important;
}

.hcfb-location-card__details {
    display: grid;
    gap: .5rem;
}

.hcfb-location-card__detail {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: .45rem;
    align-items: start;
    margin: 0 !important;
    color: var(--hcfb-ink) !important;
    font-size: .94rem !important;
    line-height: 1.4 !important;
}

.hcfb-location-card__detail-icon {
    color: var(--hcfb-orange);
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
}

.hcfb-location-card__address {
    line-height: 1.35 !important;
}

.hcfb-location-card__detail--distance {
    color: var(--hcfb-teal) !important;
    font-weight: 700 !important;
}

.hcfb-location-card__detail--distance .hcfb-location-card__detail-icon {
    color: var(--hcfb-teal);
}

.hcfb-location-card a {
    color: var(--hcfb-teal) !important;
    font-weight: 750 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.hcfb-location-card__programs {
    display: grid;
    gap: .45rem;
}

.hcfb-location-card__programs-label {
    margin: 0 !important;
    color: var(--hcfb-navy) !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
}

.hcfb-program-list {
    display: grid !important;
    gap: .55rem;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.hcfb-program-list .hcfb-program-item {
    display: grid;
    gap: .42rem;
    margin: 0 !important;
    padding: .7rem !important;
    border: 1px solid #cfe0e3;
    border-radius: 9px;
    background: #f7fbfb;
    color: var(--hcfb-ink);
    font-size: .84rem !important;
    line-height: 1.3 !important;
}

.hcfb-program-item__category {
    margin: 0 !important;
    color: var(--hcfb-orange) !important;
    font-size: .72rem !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
}

.hcfb-program-item__topline {
    display: flex;
    gap: .55rem;
    align-items: flex-start;
    justify-content: space-between;
}

.hcfb-program-item__names {
    display: grid;
    min-width: 0;
    gap: .1rem;
}

.hcfb-program-item__names > strong {
    min-width: 0;
    color: #225c62;
    font-size: .88rem;
    font-weight: 800;
}

.hcfb-program-item__official-name {
    color: var(--hcfb-muted);
    font-size: .76rem;
    font-weight: 600;
}

.hcfb-program-item__explanation {
    margin: 0 !important;
    color: var(--hcfb-ink) !important;
    font-size: .8rem !important;
}

.hcfb-program-item__next {
    margin: 0 !important;
    color: var(--hcfb-muted) !important;
    font-size: .79rem !important;
}

.hcfb-program-learn-more {
    margin: 0;
}

.hcfb-program-learn-more summary {
    width: fit-content;
    cursor: pointer;
    color: var(--hcfb-teal);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hcfb-program-learn-more p {
    margin: .45rem 0 0 !important;
    color: var(--hcfb-ink) !important;
    font-size: .8rem !important;
    line-height: 1.4 !important;
}

.hcfb-location-card__status,
.hcfb-availability-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    max-width: 175px;
    padding: .28rem .48rem;
    border: 1px solid #d2dce4;
    border-radius: 999px;
    background: #f2f5f7;
    color: var(--hcfb-muted);
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.hcfb-location-card__status--open_now,
.hcfb-availability-badge--open_now {
    border-color: #99d5af;
    background: #eaf8ef;
    color: #176a38;
}

.hcfb-location-card__status--opens_later,
.hcfb-availability-badge--opens_later {
    border-color: #f2cc8b;
    background: #fff7e8;
    color: #85520b;
}

.hcfb-location-card__status--closed_today,
.hcfb-location-card__status--closed_for_today,
.hcfb-availability-badge--closed_today,
.hcfb-availability-badge--closed_for_today {
    border-color: #d5dce2;
    background: #f4f6f8;
    color: #536170;
}

.hcfb-location-card__status--call_for_hours,
.hcfb-location-card__status--schedule_varies,
.hcfb-availability-badge--call_for_hours,
.hcfb-availability-badge--schedule_varies {
    border-color: #bdd4e7;
    background: #eef6fc;
    color: #255f88;
}

.hcfb-program-schedule {
    margin: 0;
}

.hcfb-program-schedule summary {
    width: fit-content;
    cursor: pointer;
    color: var(--hcfb-teal);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hcfb-program-schedule ul {
    display: grid !important;
    gap: .35rem;
    margin: .55rem 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.hcfb-program-schedule li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .15rem .6rem;
    margin: 0 !important;
    padding: 0 0 .35rem !important;
    border: 0 !important;
    border-bottom: 1px solid #dfe9ea !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--hcfb-ink) !important;
    font-size: .77rem !important;
    font-weight: 600 !important;
}

.hcfb-program-schedule li:last-child {
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

.hcfb-program-schedule li small {
    grid-column: 1 / -1;
    color: var(--hcfb-muted);
    font-size: .72rem;
}

.hcfb-program-schedule .hcfb-schedule-exception {
    color: #85520b !important;
}

.hcfb-location-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    padding-top: .1rem;
}

.hcfb-location-card__action {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: .55rem .78rem;
    border: 1px solid var(--hcfb-border-strong);
    border-radius: 8px;
    background: var(--hcfb-surface);
    color: var(--hcfb-navy) !important;
    font-size: .84rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
}

.hcfb-location-card__action--primary {
    border-color: var(--hcfb-orange);
    background: var(--hcfb-orange);
    color: #fff !important;
}

/* .hcfb-location-card a (above) sets a teal underlined link color for
   in-card links generally; it outranks .hcfb-location-card__action--primary
   alone (class+element vs. single class), so the orange primary CTA needs
   this card-qualified override to keep its white, non-underlined text. */
.hcfb-location-card .hcfb-location-card__action--primary {
    color: #fff !important;
    text-decoration: none !important;
}

.hcfb-results-message {
    display: grid;
    place-items: center;
    min-height: 250px;
    padding: 2rem 1.25rem;
    text-align: center;
}

.hcfb-results-message__inner {
    max-width: 360px;
}

.hcfb-results-message h3 {
    margin: 0 0 .35rem !important;
    color: var(--hcfb-navy) !important;
    font-size: 1.18rem !important;
    font-weight: 800 !important;
}

.hcfb-results-message p {
    margin: 0 !important;
    color: var(--hcfb-muted) !important;
    font-size: .94rem !important;
}

.hcfb-results-message--error h3 {
    color: #9b2c2c !important;
}

.hcfb-map-popup {
    min-width: 180px;
}

.hcfb-map-popup strong {
    color: var(--hcfb-navy);
    font-size: .95rem;
}

.hcfb-map-popup p {
    margin: .25rem 0 0;
    color: var(--hcfb-muted);
    font-size: .82rem;
}

.hcfb-partner-portal {
    padding: 1.25rem;
    border: 1px solid var(--hcfb-border);
    border-radius: 14px;
    background: var(--hcfb-surface);
    box-shadow: var(--hcfb-shadow);
}

.hcfb-portal-section {
    margin: 0 0 1rem;
    padding: 1rem;
    border: 1px solid var(--hcfb-border);
    border-radius: 11px;
    background: var(--hcfb-surface-alt);
}

.hcfb-portal-section h3 {
    margin: 0 0 .8rem !important;
    color: var(--hcfb-navy) !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
}

.hcfb-portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}

.hcfb-partner-summary {
    margin: 1rem 0 !important;
}

.hcfb-partner-portal textarea {
    min-height: 120px !important;
    resize: vertical;
}

@media (max-width: 1050px) {
    /*
     * Below this width there isn't room for county/category/availability to
     * share a row without truncating "Food Assistance for Low-Income
     * Families" again -- stack every control into one column instead of
     * fighting for pixels a second time.
     */
    .hcfb-food-finder__controls {
        grid-template-columns: 1fr;
        grid-template-areas:
            "search"
            "geolocation"
            "county"
            "category"
            "availability"
            "actions";
    }

    .hcfb-field-spacer {
        display: none;
    }

    .hcfb-button--geolocation {
        width: fit-content;
    }

    .hcfb-food-finder__actions {
        justify-content: flex-end;
    }

    .hcfb-food-finder__layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
    }
}

@media (max-width: 820px) {
    .hcfb-portal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hcfb-food-finder__layout {
        grid-template-columns: 1fr;
    }

    .hcfb-food-finder__map,
    .hcfb-food-finder__results-panel,
    .hcfb-food-finder__results {
        min-height: 430px;
        max-height: 430px;
    }
}

@media (max-width: 640px) {
    .hcfb-food-finder {
        font-size: 15px;
    }

    .hcfb-food-finder__header h1,
    .hcfb-partner-portal > header h2 {
        font-size: 1.72rem !important;
    }

    .hcfb-food-finder__controls {
        gap: .72rem;
        padding: .85rem;
    }

    .hcfb-button--geolocation {
        width: 100%;
    }

    .hcfb-food-finder__actions {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .hcfb-food-finder__actions .hcfb-button--primary {
        width: 100%;
    }

    .hcfb-food-finder__summary {
        padding: .65rem 0;
    }

    .hcfb-food-finder__view-toggle {
        display: flex;
        flex: 0 0 auto;
    }

    .hcfb-food-finder[data-mobile-view="list"] .hcfb-food-finder__map-panel,
    .hcfb-food-finder[data-mobile-view="map"] .hcfb-food-finder__results-panel {
        display: none;
    }

    .hcfb-food-finder__map,
    .hcfb-food-finder__results-panel,
    .hcfb-food-finder__results {
        min-height: 420px;
        max-height: none;
    }

    .hcfb-food-finder__results {
        padding: .65rem;
    }

    .hcfb-location-card {
        padding: .9rem !important;
    }

    .hcfb-portal-grid {
        grid-template-columns: 1fr;
    }

    .hcfb-partner-portal {
        padding: .9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hcfb-food-finder *,
    .hcfb-partner-portal * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Agency login and multi-organization partner portal. */
.hcfb-partner-portal__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.25rem; }
.hcfb-partner-organization { display: grid; gap: .35rem; min-width: 250px; }
.hcfb-partner-organization > span { font-size: .82rem; font-weight: 750; color: #17324a; }
.hcfb-partner-organization select { width: 100%; min-height: 44px; border: 1px solid #b9cbd8; border-radius: 8px; background: #fff; }
.hcfb-agency-login { max-width: 520px; margin: 2rem auto; padding: 1.5rem; border: 1px solid #cfdae2; border-radius: 14px; background: #fff; box-shadow: 0 14px 34px rgba(19, 50, 74, .08); }
.hcfb-agency-login h2 { margin-top: .25rem; color: #17324a; }
.hcfb-agency-login form { display: grid; gap: .85rem; }
.hcfb-agency-login form p { margin: 0; }
.hcfb-agency-login label { display: block; margin-bottom: .3rem; font-weight: 700; color: #17324a; }
.hcfb-agency-login input[type="text"],
.hcfb-agency-login input[type="password"] { width: 100%; min-height: 46px; border: 1px solid #b9cbd8; border-radius: 8px; }
.hcfb-agency-login input[type="submit"] { min-height: 44px; padding: 0 1.2rem; border: 0; border-radius: 8px; background: #f26423; color: #fff; font-weight: 800; cursor: pointer; }

@media (max-width: 700px) {
  .hcfb-partner-portal__header { display: grid; align-items: stretch; }
  .hcfb-partner-organization { min-width: 0; }
}
