/* Mercadito Amelia — generated file. Do not edit directly. */

/* Source: resources/css/tokens.css */
:root {
    --brand-950: #061a35;
    --brand-900: #082d59;
    --brand-800: #0d447d;
    --brand-700: #175d9e;
    --brand-600: #2174bd;

    --accent-700: #d94e00;
    --accent-600: #ef6108;
    --accent-500: #ff7417;
    --accent-100: #fff0e6;

    --white: #ffffff;
    --gray-50: #f7f9fc;
    --gray-100: #eef2f7;
    --gray-200: #dde4ed;
    --gray-300: #c8d1dd;
    --gray-500: #69778a;
    --gray-700: #344156;
    --gray-900: #111827;

    --success-700: #146c3d;
    --success-100: #e9f8ef;
    --warning-700: #9a5a00;
    --warning-100: #fff5dc;
    --danger-700: #b52f2f;
    --danger-100: #fff0f0;

    --font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --container: 76rem;
    --content-narrow: 48rem;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.35rem;
    --radius-xl: 1.75rem;
    --radius-pill: 999px;

    --shadow-card:
        0 1px 2px rgb(6 26 53 / 0.04),
        0 10px 28px rgb(6 26 53 / 0.07);

    --shadow-hover:
        0 18px 42px rgb(6 26 53 / 0.12);

    --shadow-elevated:
        0 24px 64px rgb(6 26 53 / 0.18);

    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;

    --header-height: 4.5rem;
    --bottom-navigation-height: 4.75rem;
}


/* Source: resources/css/base.css */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    color-scheme: light;
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 20rem;
    min-height: 100vh;
    background: var(--gray-50);
    color: var(--gray-900);
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
    font: inherit;
}

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

input,
textarea,
select {
    color: inherit;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--brand-950);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2rem, 8vw, 3.8rem);
}

h2 {
    font-size: clamp(1.35rem, 5vw, 2rem);
}

h3 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--space-4);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgb(23 93 158 / 0.25);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

::selection {
    background: var(--accent-100);
    color: var(--brand-950);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: var(--space-4);
    left: var(--space-4);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    background: var(--brand-950);
    color: var(--white);
    transform: translateY(-180%);
    transition: transform var(--transition-fast);
}

.skip-link:focus {
    transform: translateY(0);
}
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* Source: resources/css/layout.css */
.app-shell {
    min-height: 100vh;
    padding-bottom:
        calc(
            var(--bottom-navigation-height)
            + 2rem
            + env(safe-area-inset-bottom)
        );
}

.app-main {
    width: min(
        calc(100% - 2rem),
        var(--container)
    );
    margin-inline: auto;
    padding-block: var(--space-4) var(--space-12);
}

.app-drawer {
    position: fixed;
    z-index: 200;
    inset: 0;
}

.app-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(6 26 53 / 0.52);
    backdrop-filter: blur(3px);
}

.app-drawer__panel {
    position: relative;
    width: min(19rem, calc(100% - 3rem));
    height: 100%;
    padding:
        max(var(--space-5), env(safe-area-inset-top))
        var(--space-5)
        var(--space-5);
    background: var(--white);
    box-shadow: var(--shadow-elevated);
}

.app-drawer__panel header {
    display: flex;
    min-height: 3.5rem;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    border-bottom: 1px solid var(--gray-200);
}

.app-drawer__panel header strong {
    color: var(--brand-950);
}

.app-drawer__panel header button {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 50%;
}

.app-drawer__panel header button:hover {
    background: var(--gray-100);
}

.app-drawer__panel header svg {
    width: 1.25rem;
}

.app-drawer__panel nav {
    display: grid;
    gap: var(--space-2);
    margin-top: var(--space-5);
}

.app-drawer__panel nav a {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    font-weight: 750;
}

.app-drawer__panel nav a:hover {
    background: var(--gray-100);
    color: var(--brand-900);
}

.offline-banner {
    position: fixed;
    z-index: 300;
    right: var(--space-4);
    bottom:
        calc(
            var(--bottom-navigation-height)
            + 2rem
            + env(safe-area-inset-bottom)
        );
    left: var(--space-4);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    background: var(--brand-950);
    box-shadow: var(--shadow-elevated);
    color: var(--white);
    font-size: 0.875rem;
    text-align: center;
}

.app-drawer__install {
    display: flex;
    width: 100%;
    min-height: 3rem;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border: 1px solid rgb(8 45 89 / 0.12);
    border-radius: var(--radius-sm);
    background: rgb(8 45 89 / 0.05);
    color: var(--brand-900);
    font: inherit;
    font-weight: 800;
    text-align: left;
}

.app-drawer__install:hover {
    border-color: rgb(8 45 89 / 0.22);
    background: rgb(8 45 89 / 0.09);
}

.app-drawer__install:disabled {
    cursor: wait;
    opacity: 0.6;
}

.app-drawer__install svg {
    width: 1.2rem;
    height: 1.2rem;
    flex: 0 0 auto;
    stroke-width: 2;
}

.app-flow--focused .app-shell {
    padding-bottom: 0;
}

.app-flow--focused .app-main {
    width: min(calc(100% - 1rem), 46rem);
    padding-block: 0.85rem calc(1rem + env(safe-area-inset-bottom));
}


/* Source: resources/css/components/header.css */
.app-header {
    position: sticky;
    z-index: 100;
    top: 0;
    height: var(--header-height);
    border-bottom: 1px solid rgb(221 228 237 / 0.84);
    background: rgb(255 255 255 / 0.96);
    backdrop-filter: blur(18px);
}

.app-header__inner {
    position: relative;
    display: grid;
    width: min(
        calc(100% - 2rem),
        var(--container)
    );
    height: 100%;
    margin-inline: auto;
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
    align-items: center;
}

.app-header__menu,
.app-header__messages {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 50%;
    color: var(--brand-900);
    transition: background-color var(--transition-fast);
}

.app-header__menu:hover,
.app-header__messages:hover {
    background: var(--gray-100);
}

.app-header__menu svg,
.app-header__messages svg {
    width: 1.4rem;
    height: 1.4rem;
    stroke-width: 2;
}

.app-header__brand {
    display: flex;
    min-width: 0;
    height: 3.4rem;
    align-items: center;
    justify-content: center;
    padding-inline: var(--space-3);
}

.app-header__brand img {
    width: auto;
    max-width: 10.5rem;
    max-height: 3rem;
    object-fit: contain;
}

.app-header__messages {
    position: relative;
}

.app-header__desktop-navigation {
    display: none;
}

.app-header__flow-close,
.app-header__flow-spacer {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
}

.app-header__flow-close {
    border-radius: 50%;
    color: var(--brand-900);
}

.app-header__flow-close:hover {
    background: var(--gray-100);
}

.app-header__flow-close svg {
    width: 1.35rem;
    height: 1.35rem;
    stroke-width: 2;
}
@media (min-width: 64rem) {
    .app-flow--focused .app-header__inner {
        display: grid;
        grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
    }

    .app-flow--focused .app-header__brand {
        order: initial;
        justify-content: center;
    }
}


/* Source: resources/css/components/search-bar.css */
.home-search {
    display: grid;
    justify-items: center;
    padding-top: var(--space-2);
    text-align: center;
}

.home-location {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    gap: var(--space-3);
    padding:
        var(--space-2)
        var(--space-3)
        var(--space-2)
        var(--space-2);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-pill);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.home-location__icon {
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-100);
    color: var(--accent-700);
}

.home-location__icon svg {
    width: 1.1rem;
}

.home-location__copy {
    display: grid;
    min-width: 7rem;
    text-align: left;
    line-height: 1.12;
}

.home-location__copy small {
    color: var(--gray-500);
    font-size: 0.68rem;
}

.home-location__copy strong {
    overflow: hidden;
    color: var(--brand-950);
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-location__action {
    padding: 0.4rem 0.68rem;
    border-radius: var(--radius-pill);
    background: var(--gray-100);
    color: var(--brand-800);
    font-size: 0.72rem;
    font-weight: 800;
}

.home-search__heading {
    margin-top: var(--space-6);
}

.home-search__heading p {
    margin-bottom: var(--space-2);
    color: var(--accent-600);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-search__heading h1 {
    margin-bottom: 0;
}

.search-box {
    display: grid;
    width: min(100%, var(--content-narrow));
    margin-top: var(--space-5);
    gap: var(--space-3);
}

.search-box__field {
    display: grid;
    min-height: 4.15rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    border: 2px solid var(--brand-900);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow:
        0 0 0 5px rgb(8 45 89 / 0.05),
        var(--shadow-card);
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.search-box__field:focus-within {
    border-color: var(--accent-600);
    box-shadow:
        0 0 0 5px rgb(239 97 8 / 0.1),
        var(--shadow-hover);
}

.search-box__search-icon {
    display: grid;
    padding-left: var(--space-4);
    place-items: center;
    color: var(--brand-800);
}

.search-box__search-icon svg {
    width: 1.4rem;
}

.search-box input {
    height: 4rem;
    min-width: 0;
    padding-inline: var(--space-3);
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 0.95rem;
}

.search-box input::placeholder {
    color: var(--gray-500);
}

.search-box__voice {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    margin-right: var(--space-2);
    place-items: center;
    border-radius: 50%;
    background: var(--accent-100);
    color: var(--accent-700);
    transition:
        background-color var(--transition-fast),
        transform var(--transition-fast);
}

.search-box__voice:hover {
    background: #ffe2d0;
    transform: scale(1.04);
}

.search-box__voice svg {
    width: 1.3rem;
}

.search-box__submit {
    min-height: 3.45rem;
    border-radius: var(--radius-md);
    background: var(--accent-600);
    box-shadow: 0 12px 28px rgb(239 97 8 / 0.24);
    color: var(--white);
    font-weight: 850;
    transition:
        background-color var(--transition-fast),
        transform var(--transition-fast);
}

.search-box__submit:hover {
    background: var(--accent-700);
    transform: translateY(-1px);
}

/* Search-first copy: one action, no directory language */
.home-search__heading {
    order: 1;
    max-width: 38rem;
    margin-top: 0;
}

.home-search__heading h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(2rem, 8vw, 3.4rem);
    line-height: 0.98;
    text-wrap: balance;
}

.home-search__heading p {
    margin: 0;
    color: var(--gray-700);
    font-size: clamp(0.95rem, 3.7vw, 1.08rem);
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.5;
    text-transform: none;
}

.home-location {
    order: 2;
    margin-top: 1.15rem;
}

.search-box {
    order: 3;
    margin-top: 1.15rem;
}

.search-box__help {
    max-width: 36rem;
    margin-inline: auto;
    text-align: center;
}


/* Source: resources/css/components/category-slider.css */
.category-slider {
    margin-top: var(--space-8);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-4);
}

.section-heading p {
    margin-bottom: var(--space-1);
    color: var(--accent-600);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading > a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: var(--space-2);
    color: var(--brand-800);
    font-size: 0.8rem;
    font-weight: 800;
}

.section-heading > a svg {
    width: 1rem;
}

.category-slider__track {
    display: flex;
    margin:
        var(--space-4)
        calc(var(--space-4) * -1)
        0;
    gap: var(--space-3);
    overflow-x: auto;
    padding:
        var(--space-2)
        var(--space-4)
        var(--space-4);
    scroll-padding-inline: var(--space-4);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.category-slider__track::-webkit-scrollbar {
    display: none;
}

.category-chip {
    display: grid;
    min-width: 6.2rem;
    flex: 0 0 6.2rem;
    justify-items: center;
    gap: var(--space-2);
    scroll-snap-align: start;
    text-align: center;
}

.category-chip__icon {
    display: grid;
    width: 4rem;
    height: 4rem;
    place-items: center;
    border: 1px solid var(--gray-200);
    border-radius: 1.25rem;
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

.category-chip:hover .category-chip__icon {
    border-color: rgb(239 97 8 / 0.35);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.category-chip__icon img {
    width: 2.25rem;
    height: 2.25rem;
    object-fit: contain;
}

.category-chip > span:last-child {
    color: var(--brand-950);
    font-size: 0.78rem;
    font-weight: 750;
}


/* Source: resources/css/components/promo-banner.css */
.provider-promo {
    position: relative;
    display: grid;
    min-height: 15rem;
    margin-top: var(--space-6);
    overflow: hidden;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(
            circle at 100% 0,
            rgb(255 116 23 / 0.26),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            var(--brand-800),
            var(--brand-950)
        );
    box-shadow: var(--shadow-elevated);
    color: var(--white);
}

.provider-promo__content {
    position: relative;
    z-index: 2;
    padding: var(--space-6);
}

.provider-promo__content > p {
    margin-bottom: var(--space-2);
    color: #ffd8bf;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.provider-promo h2 {
    max-width: 22rem;
    margin-bottom: var(--space-3);
    color: var(--white);
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.08;
    text-wrap: balance;
}

.provider-promo__content > span {
    display: block;
    max-width: 27rem;
    color: rgb(255 255 255 / 0.8);
    font-size: 0.84rem;
    line-height: 1.5;
}

.provider-promo__actions {
    display: grid;
    margin-top: var(--space-5);
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: var(--space-2);
}

.provider-promo__primary,
.provider-promo__secondary {
    display: inline-flex;
    min-width: 0;
    min-height: 2.85rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
    font-weight: 850;
    white-space: nowrap;
}

.provider-promo__primary {
    gap: var(--space-2);
    padding-inline: var(--space-4);
    background: var(--accent-600);
    box-shadow: 0 10px 24px rgb(0 0 0 / 0.18);
    color: var(--white);
}

.provider-promo__primary:hover {
    background: var(--accent-700);
}

.provider-promo__primary svg {
    width: 0.95rem;
    flex: 0 0 auto;
}

.provider-promo__secondary {
    padding-inline: var(--space-3);
    border: 1px solid rgb(255 255 255 / 0.42);
    color: var(--white);
}

.provider-promo__secondary:hover {
    background: rgb(255 255 255 / 0.1);
}

.provider-promo__media {
    height: 9rem;
    overflow: hidden;
    background: var(--gray-200);
}

.provider-promo__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

@media (min-width: 34rem) {
    .provider-promo {
        min-height: 15rem;
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(11rem, 0.8fr);
    }

    .provider-promo__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .provider-promo__media {
        height: 100%;
        min-height: 15rem;
    }
}

@media (min-width: 48rem) {
    .provider-promo__content {
        padding: var(--space-8);
    }

    .provider-promo h2 {
        max-width: 28rem;
    }
}


/* Source: resources/css/components/listing-card.css */
.featured-listings {
    margin-top: var(--space-8);
}

.featured-listings__track {
    display: flex;
    margin:
        var(--space-3)
        calc(var(--space-4) * -1)
        0;
    gap: var(--space-3);
    overflow-x: auto;
    padding:
        var(--space-2)
        var(--space-4)
        var(--space-5);
    scroll-padding-inline: var(--space-4);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.featured-listings__track::-webkit-scrollbar {
    display: none;
}

.listing-card {
    width: 13.75rem;
    min-width: 13.75rem;
    flex: 0 0 13.75rem;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-card);
    scroll-snap-align: start;
    transition:
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

.listing-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.listing-card__media {
    position: relative;
    display: block;
    height: 7.75rem;
    overflow: hidden;
    background: var(--gray-100);
}

.listing-card__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-card__badge {
    position: absolute;
    top: var(--space-2);
    left: var(--space-2);
    max-width: calc(100% - 3.75rem);
    overflow: hidden;
    padding: 0.28rem 0.5rem;
    border-radius: var(--radius-pill);
    background: rgb(255 255 255 / 0.94);
    box-shadow: 0 3px 10px rgb(6 26 53 / 0.12);
    color: var(--success-700);
    font-size: 0.6rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.listing-card__favorite {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.94);
    box-shadow: 0 3px 10px rgb(6 26 53 / 0.12);
    color: var(--brand-900);
}

.listing-card__favorite svg {
    width: 1rem;
}

.listing-card__favorite.is-active {
    background: var(--accent-600);
    color: var(--white);
}

.listing-card__favorite.is-active svg {
    fill: currentColor;
}

.listing-card__body {
    padding: var(--space-3);
}

.listing-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    color: var(--gray-500);
    font-size: 0.62rem;
    font-weight: 700;
}

.listing-card__rating {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.15rem;
    color: var(--brand-900);
}

.listing-card__rating svg {
    width: 0.75rem;
    color: var(--accent-500);
}

.listing-card h3 {
    margin: 0.4rem 0;
    font-size: 0.84rem;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.listing-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.listing-card__location {
    margin-bottom: 0.55rem;
    overflow: hidden;
    color: var(--gray-500);
    font-size: 0.66rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listing-card__price {
    display: flex;
    margin-bottom: 0;
    align-items: baseline;
    flex-wrap: wrap;
    gap: var(--space-1);
}

.listing-card__price strong {
    color: var(--brand-950);
    font-size: 0.86rem;
}

.listing-card__price span {
    color: var(--gray-500);
    font-size: 0.62rem;
}

@media (min-width: 48rem) {
    .listing-card {
        width: 15rem;
        min-width: 15rem;
        flex-basis: 15rem;
    }

    .listing-card__media {
        height: 8.5rem;
    }
}

@media (min-width: 64rem) {
    .featured-listings__track {
        display: grid;
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
        margin-inline: 0;
        overflow: visible;
        padding-inline: 0;
    }

    .listing-card {
        width: 100%;
        min-width: 0;
    }
}


/* Source: resources/css/components/bottom-navigation.css */
.bottom-navigation {
    position: fixed;
    z-index: 120;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    min-height:
        calc(
            var(--bottom-navigation-height)
            + env(safe-area-inset-bottom)
        );
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    padding:
        var(--space-2)
        max(var(--space-2), env(safe-area-inset-right))
        max(var(--space-2), env(safe-area-inset-bottom))
        max(var(--space-2), env(safe-area-inset-left));
    border-top: 1px solid var(--gray-200);
    background: rgb(255 255 255 / 0.97);
    box-shadow: 0 -12px 32px rgb(6 26 53 / 0.08);
    backdrop-filter: blur(18px);
}

.bottom-navigation__item {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 3.45rem;
    place-items: center;
    align-content: center;
    gap: 0.15rem;
    border-radius: var(--radius-sm);
    color: var(--gray-500);
    font-size: 0.67rem;
    font-weight: 750;
}

.bottom-navigation__item:hover,
.bottom-navigation__item.is-active {
    color: var(--brand-900);
}

.bottom-navigation__item.is-active::before {
    position: absolute;
    top: 0;
    width: 1.4rem;
    height: 0.2rem;
    border-radius: var(--radius-pill);
    background: var(--accent-600);
    content: "";
}

.bottom-navigation__item svg {
    width: 1.3rem;
    height: 1.3rem;
}

.bottom-navigation__item--primary {
    align-self: start;
    min-height: 4rem;
    margin-top: -1.15rem;
    border: 0.3rem solid var(--white);
    border-radius: 1.35rem;
    background: var(--accent-600);
    box-shadow: 0 10px 24px rgb(239 97 8 / 0.25);
    color: var(--white);
}

.bottom-navigation__item--primary:hover,
.bottom-navigation__item--primary.is-active {
    background: var(--accent-700);
    color: var(--white);
}

.bottom-navigation__item--primary.is-active::before {
    display: none;
}


/* Source: resources/css/components/wizard.css */
.wizard-card {
    display: grid;
    margin-top: var(--space-6);
    scroll-margin-top:
        calc(var(--header-height) + var(--space-4));
    padding: var(--space-5);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.wizard-eyebrow {
    margin-bottom: var(--space-2);
    color: var(--accent-600);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wizard-card h2 {
    max-width: 34rem;
    margin-bottom: var(--space-3);
    text-wrap: balance;
}

.wizard-helper {
    max-width: 38rem;
    margin-bottom: 0;
    color: var(--gray-700);
    font-size: 0.88rem;
}

.wizard-card--thinking {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: var(--space-4);
}

.wizard-card--thinking h2 {
    margin-bottom: var(--space-1);
    font-size: 1.15rem;
}

.wizard-card--thinking p:last-child {
    margin-bottom: 0;
    color: var(--gray-500);
    font-size: 0.8rem;
}

.wizard-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--gray-200);
    border-top-color: var(--accent-600);
    border-radius: 50%;
    animation: wizard-spin 0.8s linear infinite;
}

.wizard-question {
    margin-top: var(--space-5);
    padding: var(--space-4);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--gray-50);
}

.wizard-question h3 {
    margin-bottom: var(--space-4);
    font-size: 1.05rem;
    text-wrap: balance;
}

.wizard-choices {
    display: grid;
    gap: var(--space-2);
}

.wizard-choice {
    min-height: 3.2rem;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--brand-900);
    font-size: 0.84rem;
    font-weight: 800;
    text-align: left;
    transition:
        border-color var(--transition-fast),
        background-color var(--transition-fast),
        transform var(--transition-fast);
}

.wizard-choice:hover {
    border-color: var(--brand-700);
    background: rgb(23 93 158 / 0.06);
    transform: translateY(-1px);
}

.wizard-actions {
    display: grid;
    margin-top: var(--space-5);
    gap: var(--space-2);
}

.wizard-primary-action,
.wizard-secondary-action {
    display: inline-flex;
    min-height: 3.15rem;
    align-items: center;
    justify-content: center;
    padding-inline: var(--space-5);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 850;
}

.wizard-primary-action {
    background: var(--accent-600);
    box-shadow: 0 10px 24px rgb(239 97 8 / 0.2);
    color: var(--white);
}

.wizard-primary-action:hover {
    background: var(--accent-700);
}

.wizard-secondary-action {
    width: fit-content;
    margin-top: var(--space-4);
    border: 1px solid var(--brand-700);
    background: var(--white);
    color: var(--brand-900);
}

.wizard-secondary-action:hover {
    background: var(--gray-100);
}

.wizard-card--error {
    border-color: rgb(181 47 47 / 0.2);
    background: var(--danger-100);
}

.wizard-card--error h2 {
    color: var(--danger-700);
}

.wizard-card--error > p:not(.wizard-eyebrow) {
    color: var(--danger-700);
}

@media (min-width: 36rem) {
    .wizard-choices,
    .wizard-actions {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

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

/* Instant search — focused Shazam-like discovery state */
body.search-is-resolving {
    overflow: hidden;
}

[data-search-experience].is-resolving .resolution-panel {
    position: fixed;
    z-index: 500;
    inset: 0;
    display: grid;
    overflow-y: auto;
    place-items: center;
    padding:
        calc(1.25rem + env(safe-area-inset-top))
        1.25rem
        calc(1.25rem + env(safe-area-inset-bottom));
    background:
        radial-gradient(
            circle at 50% 42%,
            rgb(255 116 23 / 0.16),
            transparent 32%
        ),
        linear-gradient(155deg, #fff 0%, #f5f8fc 100%);
    overscroll-behavior: contain;
}

.wizard-search-stage {
    position: relative;
    display: grid;
    width: min(100%, 35rem);
    min-height: min(38rem, calc(100dvh - 3rem));
    align-content: center;
    justify-items: center;
    gap: 1.5rem;
    text-align: center;
}

.wizard-search-stage__cancel {
    position: absolute;
    top: 0;
    right: 0;
    min-height: 2.75rem;
    padding-inline: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-pill);
    background: rgb(255 255 255 / 0.86);
    color: var(--gray-700);
    font-size: 0.82rem;
    font-weight: 800;
}

.wizard-search-radar {
    position: relative;
    display: grid;
    width: 13rem;
    height: 13rem;
    place-items: center;
}

.wizard-search-radar > span {
    position: absolute;
    inset: 0;
    border: 2px solid rgb(239 97 8 / 0.32);
    border-radius: 50%;
    animation: mercadito-search-pulse 1.9s ease-out infinite;
}

.wizard-search-radar > span:nth-child(2) {
    animation-delay: 0.5s;
}

.wizard-search-radar > span:nth-child(3) {
    animation-delay: 1s;
}

.wizard-search-radar > div {
    position: relative;
    z-index: 2;
    display: grid;
    width: 7.4rem;
    height: 7.4rem;
    place-items: center;
    padding: 1rem;
    border: 1px solid rgb(239 97 8 / 0.22);
    border-radius: 50%;
    background: var(--white);
    box-shadow:
        0 1.5rem 4rem rgb(6 26 53 / 0.16),
        0 0 0 0.55rem rgb(255 255 255 / 0.62);
    transition:
        border-color var(--transition),
        transform var(--transition);
}

.wizard-search-stage.is-resolved .wizard-search-radar > div {
    border-color: rgb(22 131 74 / 0.36);
    transform: scale(1.04);
}

.wizard-search-stage.is-resolved .wizard-search-radar > span {
    border-color: rgb(22 131 74 / 0.32);
}

.wizard-search-radar img {
    width: 100%;
    height: auto;
}

.wizard-search-stage__copy {
    display: grid;
    justify-items: center;
}

.wizard-search-stage__copy h2 {
    max-width: 31rem;
    margin-bottom: 0.7rem;
    font-size: clamp(1.9rem, 7vw, 3.25rem);
    text-wrap: balance;
}

.wizard-search-stage__copy > p:not(.wizard-eyebrow) {
    max-width: 30rem;
    margin-bottom: 0.8rem;
    color: var(--gray-700);
    font-size: clamp(0.95rem, 3.5vw, 1.08rem);
}

.wizard-search-stage__copy strong {
    display: block;
    max-width: min(100%, 28rem);
    overflow: hidden;
    color: var(--brand-900);
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wizard-search-stage__steps {
    display: flex;
    gap: 0.45rem;
}

.wizard-search-stage__steps i {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--gray-300);
    transition:
        width var(--transition),
        background-color var(--transition);
}

.wizard-search-stage__steps i.is-active {
    width: 1.7rem;
    border-radius: var(--radius-pill);
    background: var(--accent-600);
}

.wizard-search-stage.is-resolved .wizard-search-stage__steps i.is-active {
    background: var(--success);
}

@keyframes mercadito-search-pulse {
    0% {
        opacity: 0;
        transform: scale(0.45);
    }

    25% {
        opacity: 0.85;
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wizard-search-radar > span {
        animation: none;
        opacity: 0.45;
    }
}

/* Commercial-intent clarification */
.wizard-card--clarification {
    max-width: 42rem;
    margin-inline: auto;
}

.wizard-choices--commercial-intent {
    margin-top: 1.25rem;
}

.wizard-choice--intent {
    display: grid;
    gap: 0.25rem;
    min-height: 4.5rem;
}

.wizard-choice--intent strong {
    color: var(--brand-950);
    font-size: 0.95rem;
}

.wizard-choice--intent span {
    color: var(--gray-600);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
}

@media (min-width: 48rem) {
    .wizard-choices--commercial-intent {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* R24 — in-place semantic refinement */
.wizard-refinement {
    margin-top: 1rem;
}

.wizard-refinement__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: stretch;
}

.wizard-refinement__input {
    width: 100%;
    min-height: 3.25rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.9rem;
    background: #fff;
    color: var(--brand-950);
    padding: 0.75rem 0.95rem;
    font: inherit;
    font-size: 0.95rem;
    outline: none;
}

.wizard-refinement__input:focus {
    border-color: var(--accent-500);
    box-shadow: 0 0 0 3px rgb(247 103 7 / 0.12);
}

@media (max-width: 35rem) {
    .wizard-refinement__row {
        grid-template-columns: minmax(0, 1fr);
    }

    .wizard-refinement__input,
    .wizard-refinement__row .wizard-primary-action {
        min-height: 44px;
    }
}


/* Source: resources/css/pages/home.css */
.home-page {
    width: 100%;
    max-width: 54rem;
    margin-inline: auto;
}

.home-page h1,
.home-page h2,
.home-page h3 {
    text-wrap: balance;
}

.home-search {
    padding-top: 0;
}

.home-search__heading {
    margin-top: var(--space-5);
}

.home-discovery {
    transition:
        opacity var(--transition-normal),
        transform var(--transition-normal);
}

[data-search-experience].is-resolving .home-discovery {
    display: none;
}

[data-search-experience].is-resolving .home-search__heading {
    display: none;
}

[data-search-experience].is-resolving .home-location {
    display: none;
}

[data-search-experience].is-resolving .home-search {
    position: sticky;
    z-index: 20;
    top: calc(var(--header-height) + var(--space-2));
    padding: var(--space-3);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: rgb(247 249 252 / 0.96);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
}

[data-search-experience].is-resolving .search-box {
    margin-top: 0;
}

.resolution-panel {
    display: contents;
}

.search-box__voice {
    display: none;
}

@media (max-width: 35.99rem) {
    [data-search-experience].is-resolving .search-box__submit {
        min-height: 3rem;
    }
}

[data-search-experience].is-resolving [data-search-discovery] {
    display: none;
}

.search-page.is-resolving > .page-intro {
    display: none;
}


/* Source: resources/css/pages/public.css */
.page-intro {
    max-width: 46rem;
    margin-bottom: var(--space-8);
}

.page-intro .eyebrow,
.eyebrow {
    margin-bottom: var(--space-2);
    color: var(--accent-700);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-intro h1 {
    margin-bottom: var(--space-4);
}

.page-intro > p:not(.eyebrow) {
    max-width: 40rem;
    color: var(--gray-700);
}

.page-intro small {
    color: var(--gray-500);
}

.search-page {
    width: 100%;
    max-width: 62rem;
    margin-inline: auto;
}

.search-page .home-search {
    padding: var(--space-6);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.search-page .home-search__heading {
    margin-top: var(--space-5);
}

.search-page .home-search__heading h1 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
}

.search-box__help {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--gray-500);
    font-size: 0.76rem;
    text-align: left;
}

.categories-page,
.results-page,
.not-found-page {
    width: 100%;
    max-width: 72rem;
    margin-inline: auto;
}

.category-directory {
    display: grid;
    gap: var(--space-5);
}

.category-group {
    padding: var(--space-5);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.category-group > header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--gray-200);
}

.category-group h2 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.category-group > header a {
    flex: 0 0 auto;
    color: var(--brand-700);
    font-size: 0.78rem;
    font-weight: 800;
}

.category-group ul {
    display: grid;
    margin: var(--space-4) 0 0;
    padding: 0;
    gap: var(--space-2);
    list-style: none;
}

.category-group li a {
    display: flex;
    min-height: 2.9rem;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    font-size: 0.88rem;
    font-weight: 700;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast);
}

.category-group li a:hover {
    background: var(--gray-100);
    color: var(--brand-900);
    transform: translateX(2px);
}

.results-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-4);
    align-items: start;
    margin-bottom: var(--space-6);
}

.results-header h1 {
    margin-bottom: var(--space-2);
}

.results-header p:last-child {
    margin-bottom: 0;
    color: var(--gray-500);
}

.results-header p a {
    color: var(--brand-700);
    font-weight: 750;
}

.back-link {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-card);
    color: var(--brand-900);
    font-size: 1.3rem;
}

.results-count {
    color: var(--gray-500);
    font-size: 0.84rem;
    font-weight: 700;
}

.results-grid {
    display: grid;
    gap: var(--space-4);
}

.service-result-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-4);
    padding: var(--space-5);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.service-result-card__icon {
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    place-items: center;
    border-radius: var(--radius-md);
    background: var(--accent-100);
    color: var(--accent-700);
}

.service-result-card__icon svg {
    width: 1.5rem;
}

.service-result-card__provider {
    margin-bottom: var(--space-1);
    color: var(--accent-700);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-result-card h2 {
    margin-bottom: var(--space-2);
    font-size: 1.15rem;
}

.service-result-card__description {
    margin-bottom: var(--space-3);
    color: var(--gray-700);
    font-size: 0.88rem;
}

.service-result-card__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    color: var(--gray-500);
    font-size: 0.8rem;
}

.service-result-card__meta strong {
    color: var(--brand-950);
    font-size: 0.9rem;
}

.empty-state,
.not-found-page {
    display: grid;
    max-width: 42rem;
    margin-inline: auto;
    justify-items: center;
    padding: clamp(2rem, 7vw, 4rem);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.empty-state-icon,
.not-found-page__icon {
    display: grid;
    min-width: 4rem;
    min-height: 4rem;
    margin-bottom: var(--space-4);
    place-items: center;
    border-radius: var(--radius-lg);
    background: var(--accent-100);
    color: var(--accent-700);
    font-size: 1.2rem;
    font-weight: 900;
}

.not-found-page__icon {
    padding-inline: var(--space-3);
}

.empty-state p,
.not-found-page > p:not(.eyebrow) {
    max-width: 34rem;
    color: var(--gray-700);
}

.page-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.primary-button,
.secondary-button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding-inline: var(--space-5);
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
    font-weight: 850;
}

.primary-button {
    background: var(--accent-600);
    color: var(--white);
}

.primary-button:hover {
    background: var(--accent-700);
}

.secondary-button {
    border: 1px solid var(--brand-700);
    background: var(--white);
    color: var(--brand-900);
}

.secondary-button:hover {
    background: var(--gray-100);
}

@media (min-width: 44rem) {
    .category-directory,
    .results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.offline-page {
    display: grid;
    min-height: 100vh;
    min-height: 100dvh;
    place-items: center;
    padding:
        max(var(--space-6), env(safe-area-inset-top))
        var(--space-4)
        max(var(--space-6), env(safe-area-inset-bottom));
    background:
        radial-gradient(
            circle at top,
            rgb(255 128 0 / 0.12),
            transparent 44%
        ),
        var(--gray-50);
}

.offline-page__card {
    display: grid;
    width: min(100%, 32rem);
    justify-items: center;
    padding: clamp(1.75rem, 7vw, 3rem);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.offline-page__logo {
    width: 5.5rem;
    height: 5.5rem;
    margin-bottom: var(--space-4);
    border-radius: 1.25rem;
}

.offline-page__eyebrow {
    margin-bottom: var(--space-2);
    color: var(--accent-700);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.offline-page h1 {
    margin-bottom: var(--space-3);
}

.offline-page__card > p:not(.offline-page__eyebrow) {
    max-width: 25rem;
    margin-bottom: var(--space-5);
    color: var(--gray-700);
}

/* Instant results */
.instant-results {
    max-width: 66rem;
}

.instant-results__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.instant-results__header h1 {
    margin-bottom: 0.45rem;
    font-size: clamp(2rem, 7vw, 4rem);
    text-wrap: balance;
}

.instant-results__header p:last-child {
    margin: 0;
    color: var(--gray-700);
    font-weight: 700;
}

.instant-results__summary {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgb(239 97 8 / 0.2);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #fff7f1, #fff);
}

.instant-results__summary > div {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.instant-results__summary strong {
    color: var(--accent-700);
    font-size: 2rem;
    line-height: 1;
}

.instant-results__summary span {
    color: var(--brand-950);
    font-weight: 850;
}

.instant-results__summary p {
    margin: 0;
    color: var(--gray-700);
    font-size: 0.86rem;
}

.instant-results__grid {
    display: grid;
    gap: 1rem;
}

.instant-provider-card {
    display: grid;
    gap: 1rem;
    padding: 1.15rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.instant-provider-card > header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
}

.instant-provider-card__icon {
    display: grid;
    width: 2.9rem;
    height: 2.9rem;
    place-items: center;
    border-radius: 0.9rem;
    background: var(--accent-100);
    color: var(--accent-700);
}

.instant-provider-card__icon svg {
    width: 1.4rem;
}

.instant-provider-card header p {
    margin: 0 0 0.15rem;
    color: var(--accent-700);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.instant-provider-card h2 {
    margin: 0;
    font-size: clamp(1.15rem, 4.5vw, 1.45rem);
}

.instant-provider-card__status {
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-pill);
    background: rgb(22 131 74 / 0.1);
    color: var(--success);
    font-size: 0.7rem;
    font-weight: 900;
}

.instant-provider-card__facts {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.75rem 0;
    border-block: 1px solid var(--gray-100);
    color: var(--gray-700);
    font-size: 0.84rem;
}

.instant-provider-card__facts strong {
    color: var(--brand-950);
}

.instant-provider-card__description {
    margin: 0;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.instant-provider-card__actions,
.instant-results__actions {
    display: grid;
    gap: 0.65rem;
}

.instant-provider-card__actions .primary-button,
.instant-provider-card__actions .secondary-button,
.instant-results__actions .primary-button,
.instant-results__actions .secondary-button {
    width: 100%;
    min-height: 3rem;
}

.instant-results__marketplace,
.instant-results__empty {
    display: grid;
    gap: 1rem;
    margin-top: 1.2rem;
    padding: 1.2rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.instant-results__marketplace h2,
.instant-results__empty h2 {
    margin-bottom: 0.55rem;
    font-size: clamp(1.45rem, 5vw, 2rem);
}

.instant-results__marketplace p:not(.eyebrow),
.instant-results__empty p:not(.eyebrow) {
    margin: 0;
    color: var(--gray-700);
}

.instant-results__marketplace > .primary-button {
    width: 100%;
    min-height: 3.15rem;
}

.instant-results__empty > span {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 1rem;
    background: var(--accent-100);
    color: var(--accent-700);
    font-weight: 900;
}

@media (min-width: 44rem) {
    .instant-results__summary,
    .instant-results__marketplace,
    .instant-results__empty {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .instant-provider-card__actions,
    .instant-results__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .instant-results__marketplace > .primary-button {
        width: auto;
        min-width: 15rem;
    }
}

@media (max-width: 32rem) {
    .instant-provider-card > header {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .instant-provider-card__status {
        grid-column: 2;
        width: fit-content;
    }
}

/* Primary search no longer behaves as a category directory */
.search-page--focused {
    max-width: 48rem;
}

.search-page--focused .home-search {
    padding: clamp(1.25rem, 5vw, 2.25rem);
}

.instant-provider-card--no-vector > header {
    grid-template-columns: minmax(0, 1fr) auto;
}

@media (max-width: 32rem) {
    .instant-provider-card--no-vector > header {
        grid-template-columns: minmax(0, 1fr);
    }

    .instant-provider-card--no-vector .instant-provider-card__status {
        grid-column: 1;
    }
}

/* Provider identity image R1 */
.instant-provider-card__identity {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 0.7rem;
}

.instant-provider-card__identity > div {
    min-width: 0;
}

.instant-provider-card__avatar {
    display: grid;
    flex: 0 0 3.25rem;
    width: 3.25rem;
    height: 3.25rem;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--brand-100, #e8f0ff);
    color: var(--brand-800);
    font-size: 1rem;
}

.instant-provider-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* R25 — one coherent empty state; no duplicated zero-summary block. */
.instant-results__empty--single {
    grid-template-columns: minmax(0, 1fr);
}

.instant-results__empty--single > div {
    min-width: 0;
}

@media (min-width: 44rem) {
    .instant-results__empty--single {
        grid-template-columns: minmax(0, 1fr);
    }

    .instant-results__empty--single .instant-results__actions {
        max-width: 46rem;
    }
}


/* Source: resources/css/pages/identity.css */
.app-header__account {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 50%;
    color: var(--brand-900);
    font-weight: 800;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast);
}

.app-header__account:hover,
.app-header__account.is-active {
    background: var(--gray-100);
    color: var(--accent-700);
}

.app-header__account svg {
    width: 1.4rem;
    height: 1.4rem;
    stroke-width: 2;
}

.app-header__account span {
    display: none;
}

.identity-shell,
.account-shell {
    width: min(calc(100% - 2rem), 68rem);
    margin-inline: auto;
    padding-block: clamp(1.5rem, 4vw, 4rem) 6rem;
}

.identity-shell {
    display: grid;
    min-height: calc(100vh - var(--header-height) - 7rem);
    place-items: start center;
}

.identity-card {
    width: min(100%, 34rem);
    padding: clamp(1.25rem, 4vw, 2.25rem);
    border: 1px solid var(--gray-200);
    border-radius: clamp(1rem, 3vw, 1.5rem);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.identity-card--wide {
    width: min(100%, 46rem);
}

.identity-card--centered {
    text-align: center;
}

.identity-card__intro {
    margin-bottom: 1.5rem;
}

.identity-card__intro h1,
.account-hero h1 {
    margin: 0.35rem 0 0.55rem;
    color: var(--brand-950);
    font-size: clamp(1.75rem, 5vw, 2.6rem);
    line-height: 1.08;
}

.identity-card__intro p,
.account-hero p,
.account-card p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.65;
}

.identity-eyebrow {
    color: var(--accent-700);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.identity-form {
    display: grid;
    gap: 1rem;
}

.identity-form__grid {
    display: grid;
    gap: 1rem;
}

.identity-field {
    display: grid;
    gap: 0.45rem;
    color: var(--brand-950);
    font-size: 0.9rem;
    font-weight: 750;
}

.identity-field input,
.identity-field select {
    width: 100%;
    min-height: 3.1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.75rem;
    background: var(--white);
    color: var(--brand-950);
    font: inherit;
    font-weight: 550;
}

.identity-field input:focus,
.identity-choice:has(input:focus-visible) {
    outline: 3px solid rgb(239 97 8 / 0.2);
    outline-offset: 2px;
    border-color: var(--accent-600);
}

.identity-field small {
    color: var(--gray-500);
    font-size: 0.78rem;
    font-weight: 550;
}

.identity-field__error {
    color: #a32020 !important;
}

.identity-choice-group {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.identity-choice-group legend {
    margin-bottom: 0.55rem;
    color: var(--brand-950);
    font-size: 0.9rem;
    font-weight: 800;
}

.identity-choice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.9rem;
    cursor: pointer;
    transition:
        border-color var(--transition-fast),
        background-color var(--transition-fast);
}

.identity-choice:has(input:checked) {
    border-color: var(--accent-600);
    background: rgb(255 247 240);
}

.identity-choice input {
    margin-top: 0.2rem;
    accent-color: var(--accent-600);
}

.identity-choice span,
.identity-choice small {
    display: block;
}

.identity-choice strong {
    color: var(--brand-950);
}

.identity-choice small {
    margin-top: 0.25rem;
    color: var(--gray-600);
    line-height: 1.45;
}

.identity-entry-plan-note {
    display: grid;
    gap: 0.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgb(239 97 8 / 0.2);
    border-radius: 0.9rem;
    background: rgb(255 247 240 / 0.78);
    color: var(--brand-950);
}

.identity-entry-plan-note[hidden] {
    display: none;
}

.identity-entry-plan-note strong {
    font-size: 0.9rem;
}

.identity-entry-plan-note span {
    color: var(--gray-600);
    font-size: 0.82rem;
    line-height: 1.5;
}

.identity-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    justify-content: space-between;
}

.identity-form__actions a,
.identity-card__footer a,
.account-card a {
    color: var(--brand-800);
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.identity-button {
    display: inline-flex;
    min-height: 2.85rem;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.8rem;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.identity-button--primary {
    background: var(--accent-600);
    color: var(--white);
}

.identity-button--primary:hover {
    background: var(--accent-700);
}

.identity-button--secondary {
    border-color: var(--gray-300);
    background: var(--white);
    color: var(--brand-900);
}

.identity-button--full {
    width: 100%;
}

.identity-alert {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.8rem;
    line-height: 1.5;
}

.identity-alert--error {
    border: 1px solid #efb4b4;
    background: #fff1f1;
    color: #841d1d;
}

.identity-alert--success {
    border: 1px solid #9bd2b0;
    background: #effbf3;
    color: #145b2f;
}

.identity-alert--warning {
    border: 1px solid #efca7a;
    background: #fff9e9;
    color: #6d4c00;
}

.identity-card__footer,
.identity-note {
    margin: 1.25rem 0 0;
    color: var(--gray-600);
    font-size: 0.88rem;
    line-height: 1.55;
    text-align: center;
}

.identity-result-icon {
    display: grid;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    place-items: center;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 900;
}

.identity-result-icon.is-success {
    background: #e4f7eb;
    color: #126233;
}

.identity-result-icon.is-error {
    background: #fff0f0;
    color: #a32020;
}

.account-hero {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding: clamp(1.25rem, 4vw, 2rem);
    border-radius: 1.4rem;
    background:
        linear-gradient(135deg, rgb(8 45 89 / 0.98), rgb(20 84 134 / 0.95));
    color: var(--white);
}

.account-hero h1,
.account-hero p,
.account-hero .identity-eyebrow {
    color: inherit;
}

.account-hero .identity-button--secondary {
    border-color: rgb(255 255 255 / 0.35);
    background: rgb(255 255 255 / 0.12);
    color: var(--white);
}

.account-hero--provider {
    background:
        linear-gradient(135deg, #0b355d, #086b70);
}

.account-grid {
    display: grid;
    gap: 1rem;
}

.account-card {
    padding: 1.2rem;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    background: var(--white);
    box-shadow: 0 8px 24px rgb(6 26 53 / 0.05);
}

.account-card h2 {
    margin: 0 0 0.65rem;
    color: var(--brand-950);
    font-size: 1.05rem;
}

.account-card form,
.account-card .identity-button {
    margin-top: 1rem;
}

.account-card--muted,
.account-card--pending {
    background: var(--gray-50);
}

.account-details {
    display: grid;
    gap: 0.8rem;
    margin: 0;
}

.account-details div {
    display: grid;
    gap: 0.15rem;
}

.account-details dt {
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.account-details dd {
    margin: 0;
    color: var(--brand-950);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.provider-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.provider-summary article {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.9rem;
    background: var(--white);
}

.provider-summary span {
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 750;
}

.provider-summary strong {
    color: var(--brand-950);
    font-size: 0.95rem;
}

.status-pill {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.7rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #fff1e7;
    color: #9b4200;
    font-size: 0.7rem;
    font-weight: 850;
    text-transform: uppercase;
}

.bottom-navigation {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 48rem) {
    .identity-form__grid,
    .account-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-hero {
        flex-direction: row;
        align-items: center;
    }

    .app-header__inner {
        grid-template-columns: 2.75rem auto minmax(0, 1fr) auto;
        gap: 1rem;
    }

    .app-header__account {
        display: inline-flex;
        width: auto;
        padding-inline: 0.9rem;
        gap: 0.45rem;
        border-radius: 999px;
    }

    .app-header__account span {
        display: inline;
    }
}

@media (max-width: 36rem) {
    .provider-summary {
        grid-template-columns: 1fr;
    }
}

/* Fast enrollment R1 */
.identity-shell--fast {
    align-items: flex-start;
}

.identity-card--fast {
    width: min(100%, 31rem);
}

.identity-form--fast {
    gap: 0.85rem;
}

.identity-fast-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 1rem;
}

.identity-fast-trust span {
    padding: 0.55rem 0.4rem;
    border-radius: 0.7rem;
    background: var(--gray-050, #f7f9fc);
    color: var(--gray-600);
    font-size: 0.7rem;
    font-weight: 750;
    text-align: center;
}

@media (max-width: 30rem) {
    .identity-fast-trust {
        grid-template-columns: 1fr;
    }
}

/* Fast enrolment role and plan selection — 0.7.3 FIX2 */
.identity-role-choice,
.account-plan-picker {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.identity-role-choice legend,
.account-plan-picker legend {
    margin-bottom: 0.25rem;
    font-weight: 800;
    color: var(--ink-strong, #171717);
}

.identity-role-card,
.account-plan-picker label,
.identity-plan-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.identity-role-card input,
.account-plan-picker input,
.identity-plan-option input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.identity-role-card > span,
.account-plan-picker label > span,
.identity-plan-option > span {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line-soft, #d9dde3);
    border-radius: 0.9rem;
    background: var(--surface, #fff);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.identity-role-card > span strong,
.account-plan-picker label > span strong,
.identity-plan-option > span strong {
    color: var(--ink-strong, #171717);
}

.identity-role-card > span small,
.account-plan-picker label > span small,
.identity-plan-option > span small {
    color: var(--ink-muted, #667085);
    line-height: 1.4;
}

.identity-role-card input:checked + span,
.account-plan-picker input:checked + span,
.identity-plan-option input:checked + span {
    border-color: var(--brand, #e36b16);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, #e36b16) 16%, transparent);
}

.identity-role-card input:focus-visible + span,
.account-plan-picker input:focus-visible + span,
.identity-plan-option input:focus-visible + span {
    outline: 3px solid color-mix(in srgb, var(--brand, #e36b16) 28%, transparent);
    outline-offset: 2px;
}

.identity-plan-choice {
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid var(--line-soft, #d9dde3);
    border-radius: 1rem;
    background: var(--surface-muted, #f8f9fb);
}

.identity-plan-choice[hidden] {
    display: none;
}

.identity-plan-choice__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.identity-plan-choice__heading h2 {
    margin: 0.15rem 0 0;
    font-size: 1rem;
}

.identity-plan-choice__heading > small {
    max-width: 13rem;
    text-align: right;
    color: var(--ink-muted, #667085);
}

.identity-plan-choice__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.identity-plan-option > span {
    height: 100%;
    align-content: start;
}

.identity-plan-option > span b {
    font-size: 0.78rem;
    color: var(--brand, #e36b16);
}

.identity-plan-option > span em {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-style: normal;
    color: var(--ink-muted, #667085);
}

.identity-plan-option--default > span::before {
    content: "Predeterminado";
    justify-self: start;
    padding: 0.15rem 0.45rem;
    border-radius: 99px;
    background: color-mix(in srgb, var(--brand, #e36b16) 12%, white);
    color: var(--brand, #e36b16);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.account-provider-activation {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.account-plan-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-plan-picker legend {
    grid-column: 1 / -1;
}

@media (max-width: 720px) {
    .identity-plan-choice__heading {
        align-items: start;
        flex-direction: column;
        gap: 0.3rem;
    }

    .identity-plan-choice__heading > small {
        max-width: none;
        text-align: left;
    }

    .identity-plan-choice__grid,
    .account-plan-picker {
        grid-template-columns: 1fr;
    }
}


/* Source: resources/css/pages/commercial.css */
.commercial-hero {
    width: min(calc(100% - 2rem), 72rem);
    margin-inline: auto;
    padding: clamp(2rem, 6vw, 5rem) 0 2rem;
    text-align: center;
}

.commercial-hero h1 {
    max-width: 18ch;
    margin: 0.45rem auto 0.8rem;
    color: var(--brand-950);
    font-size: clamp(2rem, 6vw, 3.75rem);
    line-height: 1.02;
}

.commercial-hero p {
    max-width: 52rem;
    margin: 0 auto;
    color: var(--gray-600);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
}

.plan-grid,
.managed-grid {
    display: grid;
    width: min(calc(100% - 2rem), 72rem);
    margin-inline: auto;
    gap: 1rem;
}

.plan-card,
.managed-card,
.managed-scope,
.managed-callout {
    border: 1px solid var(--gray-200);
    border-radius: 1.25rem;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.plan-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
}

.plan-card--featured {
    border-color: var(--accent-600);
    box-shadow: 0 18px 40px rgb(8 45 89 / 0.14);
}

.plan-card > header,
.plan-card > footer {
    padding: 1.25rem;
}

.plan-card > header h2,
.managed-card h2,
.managed-scope h2,
.managed-callout h2 {
    margin: 0.45rem 0 0.6rem;
    color: var(--brand-950);
}

.plan-card > header p,
.managed-card p,
.managed-callout p,
.managed-scope p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.65;
}

.plan-card__facts {
    display: grid;
    margin: 0;
    padding: 0 1.25rem 1rem;
}

.plan-card__facts div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    padding: 0.7rem 0;
    border-top: 1px solid var(--gray-100);
}

.plan-card__facts dt {
    color: var(--gray-600);
}

.plan-card__facts dd {
    margin: 0;
    color: var(--brand-950);
    font-weight: 800;
}

.plan-card > footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gray-50);
}

.plan-card > footer span {
    color: var(--gray-600);
}

.plan-card > footer strong {
    color: var(--brand-950);
}

.managed-callout {
    display: grid;
    width: min(calc(100% - 2rem), 72rem);
    margin: 1.5rem auto 0;
    gap: 1rem;
    align-items: center;
    padding: clamp(1.25rem, 4vw, 2rem);
}

.managed-grid {
    margin-bottom: 1.5rem;
}

.managed-card {
    padding: clamp(1.25rem, 4vw, 2rem);
}

.managed-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.25rem 0 0;
}

.managed-card dl div {
    padding: 0.8rem;
    border-radius: 0.8rem;
    background: var(--gray-50);
}

.managed-card dt {
    color: var(--gray-500);
    font-size: 0.78rem;
}

.managed-card dd {
    margin: 0.2rem 0 0;
    color: var(--brand-950);
    font-weight: 800;
}

.managed-scope {
    width: min(calc(100% - 2rem), 72rem);
    margin: 0 auto;
    padding: clamp(1.25rem, 4vw, 2rem);
}

.managed-scope__grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.managed-scope__grid article {
    padding: 1rem;
    border-radius: 0.9rem;
    background: var(--gray-50);
}

.managed-scope h3 {
    margin: 0 0 0.45rem;
    color: var(--brand-950);
}

.commercial-contract-note {
    width: min(calc(100% - 2rem), 72rem);
    margin: 1.25rem auto 6rem;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.9rem;
    background: var(--gray-50);
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.55;
}

@media (min-width: 48rem) {
    .plan-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }

    .managed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .managed-callout {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .managed-scope__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* Provider onboarding and dashboard */
.provider-onboarding,
.provider-onboarding *,
.provider-onboarding *::before,
.provider-onboarding *::after {
    min-width: 0;
}

.provider-onboarding {
    width: 100%;
    max-width: 46rem;
    margin-inline: auto;
    padding-block: 0 1rem;
}

.provider-onboarding__header {
    display: block;
}

.provider-onboarding__heading {
    display: grid;
    gap: 0.35rem;
}

.provider-onboarding__header h1 {
    margin: 0;
    font-size: clamp(1.55rem, 7vw, 2.35rem);
}

.provider-onboarding__header p {
    max-width: 38rem;
    margin: 0;
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.45;
}

.provider-onboarding__step {
    width: fit-content;
    padding: 0.32rem 0.62rem;
    border-radius: 999px;
    background: var(--accent-100);
    color: var(--accent-700);
    font-size: 0.73rem;
    font-weight: 850;
}

.provider-onboarding__progress {
    height: 0.32rem;
    margin: 0.85rem 0 1rem;
    overflow: hidden;
    border-radius: 999px;
    background: var(--gray-200);
}

.provider-onboarding__progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--accent-600);
    transition: width var(--transition-normal);
}

.provider-onboarding__card {
    width: 100%;
    padding: clamp(0.9rem, 4vw, 1.5rem);
    border: 1px solid var(--gray-200);
    border-radius: 1.1rem;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.provider-onboarding__section {
    display: grid;
    gap: 0.8rem;
}

.provider-onboarding__section + .provider-onboarding__section {
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.provider-onboarding__section-heading {
    display: grid;
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
}

.provider-onboarding__section-heading > span {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-900);
    color: var(--white);
    font-size: 0.76rem;
    font-weight: 850;
}

.provider-onboarding__section-heading h2 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: -0.015em;
}

.provider-onboarding__section-heading p {
    margin: 0.2rem 0 0;
    color: var(--gray-600);
    font-size: 0.82rem;
    line-height: 1.4;
}

.identity-choice-group--compact {
    gap: 0.55rem;
}

.identity-choice--compact {
    min-height: 0;
    gap: 0.65rem;
    padding: 0.75rem 0.8rem;
    border-radius: 0.8rem;
}

.identity-choice--compact input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.12rem;
}

.identity-choice--compact strong {
    font-size: 0.95rem;
}

.identity-choice--compact small {
    margin-top: 0.12rem;
    font-size: 0.78rem;
    line-height: 1.35;
}

.provider-onboarding__actions {
    margin-top: 0.1rem;
}

.provider-onboarding__actions .identity-button {
    min-width: 8rem;
}

.provider-plan-limit {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.72rem 0.85rem;
    border-radius: 0.8rem;
    background: var(--gray-50);
}

.provider-plan-limit span {
    color: var(--gray-600);
    font-size: 0.8rem;
    font-weight: 750;
}

.provider-plan-limit strong {
    color: var(--brand-950);
    font-size: 0.86rem;
}

.provider-category-list {
    display: grid;
    gap: 0.65rem;
}

.provider-category {
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: 0.9rem;
    background: var(--white);
}

.provider-category[open] {
    border-color: rgb(239 97 8 / 0.45);
    box-shadow: 0 8px 24px rgb(6 26 53 / 0.05);
}

.provider-category summary {
    list-style: none;
}

.provider-category summary::-webkit-details-marker {
    display: none;
}

.provider-category summary label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    padding: 0.85rem;
    cursor: pointer;
}

.provider-category summary input,
.provider-specialty input,
.provider-terms input {
    width: auto;
    margin-top: 0.15rem;
    accent-color: var(--accent-600);
}

.provider-category summary span,
.provider-category summary small {
    display: block;
}

.provider-category summary strong {
    color: var(--brand-950);
}

.provider-category summary small {
    margin-top: 0.15rem;
    color: var(--gray-500);
    font-size: 0.76rem;
}

.provider-specialty-grid {
    display: grid;
    gap: 0.45rem;
    padding: 0 0.85rem 0.85rem;
}

.provider-specialty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.6rem;
    align-items: start;
    padding: 0.7rem;
    border-radius: 0.7rem;
    background: var(--gray-50);
    color: var(--brand-950);
    cursor: pointer;
}

.provider-specialty:has(input:checked) {
    background: var(--accent-100);
}

.provider-category-limit-message {
    margin: 0;
    padding: 0.75rem 0.85rem;
    border-radius: 0.75rem;
    background: #fff9e9;
    color: #6d4c00;
    font-size: 0.84rem;
    line-height: 1.45;
}

.provider-terms {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
    color: var(--gray-700);
    font-size: 0.86rem;
    line-height: 1.45;
}

.provider-coverage-disclosure {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 0.9rem;
    background: var(--gray-50);
}

.provider-coverage-disclosure[open] {
    background: var(--white);
}

.provider-coverage-disclosure summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.8rem;
    list-style: none;
    cursor: pointer;
}

.provider-coverage-disclosure summary::-webkit-details-marker {
    display: none;
}

.provider-coverage-disclosure summary span,
.provider-coverage-disclosure summary strong,
.provider-coverage-disclosure summary small {
    display: block;
}

.provider-coverage-disclosure summary strong {
    color: var(--brand-950);
    font-size: 0.9rem;
}

.provider-coverage-disclosure summary small {
    margin-top: 0.1rem;
    color: var(--gray-500);
    font-size: 0.75rem;
}

.provider-coverage-disclosure__action {
    color: var(--brand-800);
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
}

.provider-coverage-disclosure__body {
    display: grid;
    gap: 0.65rem;
    padding: 0 0.8rem 0.8rem;
}

.provider-coverage-search input {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.75rem;
    background: var(--white);
    color: var(--brand-950);
    font: inherit;
    font-size: 0.88rem;
}

.provider-coverage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    max-height: 19rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.15rem;
}

.provider-coverage-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.6rem;
    align-items: start;
    padding: 0.65rem 0.7rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    background: var(--white);
    cursor: pointer;
}

.provider-coverage-option:has(input:checked) {
    border-color: rgb(239 97 8 / 0.5);
    background: var(--accent-100);
}

.provider-coverage-option.is-primary {
    border-color: rgb(23 93 158 / 0.35);
    background: rgb(23 93 158 / 0.07);
}

.provider-coverage-option input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.1rem;
    accent-color: var(--accent-600);
}

.provider-coverage-option span,
.provider-coverage-option strong,
.provider-coverage-option small {
    display: block;
}

.provider-coverage-option strong {
    overflow-wrap: anywhere;
    color: var(--brand-950);
    font-size: 0.9rem;
}

.provider-coverage-option small {
    margin-top: 0.08rem;
    color: var(--gray-500);
    font-size: 0.74rem;
}

.provider-coverage-empty {
    margin: 0;
    padding: 0.7rem;
    border-radius: 0.7rem;
    background: var(--gray-50);
    color: var(--gray-600);
    font-size: 0.82rem;
    text-align: center;
}

.provider-panel,
.provider-panel *,
.provider-panel *::before,
.provider-panel *::after {
    min-width: 0;
}

.provider-panel {
    width: min(calc(100% - 1.25rem), 62rem);
    padding-top: 1rem;
}

.provider-panel__header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    background: var(--white);
}

.provider-panel__identity {
    display: grid;
    gap: 0.3rem;
}

.provider-panel__status-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    color: var(--gray-600);
    font-size: 0.74rem;
    font-weight: 750;
}

.provider-panel__status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--brand-900);
}

.provider-panel__status::before {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: var(--gray-400);
    content: "";
}

.provider-panel__status.is-active::before {
    background: #1a8f50;
}

.provider-panel__status.is-pending::before {
    background: #d57b00;
}

.provider-panel__header h1 {
    margin: 0;
    color: var(--brand-950);
    font-size: clamp(1.45rem, 5vw, 2rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.provider-panel__header p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.84rem;
    line-height: 1.4;
}

.provider-panel__header-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.45rem;
    align-items: center;
}

.provider-panel__button {
    display: inline-flex;
    min-height: 2.45rem;
    align-items: center;
    justify-content: center;
    padding: 0.58rem 0.78rem;
    border: 1px solid var(--accent-600);
    border-radius: 0.7rem;
    background: var(--accent-600);
    color: var(--white);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
}

.provider-panel__button:hover {
    background: var(--accent-700);
    color: var(--white);
}

.provider-panel__button--secondary {
    border-color: var(--gray-300);
    background: var(--white);
    color: var(--brand-900);
}

.provider-panel__button--secondary:hover {
    border-color: var(--brand-300, var(--gray-400));
    background: var(--gray-50);
    color: var(--brand-900);
}

.provider-panel__menu {
    position: relative;
}

.provider-panel__menu summary {
    display: inline-flex;
    min-height: 2.45rem;
    align-items: center;
    padding: 0.58rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.7rem;
    color: var(--brand-900);
    font-size: 0.78rem;
    font-weight: 850;
    list-style: none;
    cursor: pointer;
}

.provider-panel__menu summary::-webkit-details-marker {
    display: none;
}

.provider-panel__menu[open] summary {
    background: var(--gray-50);
}

.provider-panel__menu > div {
    position: absolute;
    z-index: 40;
    top: calc(100% + 0.4rem);
    right: 0;
    display: grid;
    width: 12.5rem;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: 0.8rem;
    background: var(--white);
    box-shadow: 0 16px 36px rgb(6 26 53 / 0.15);
}

.provider-panel__menu a,
.provider-panel__menu button {
    display: block;
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 0;
    background: transparent;
    color: var(--brand-900);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 750;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.provider-panel__menu a:hover,
.provider-panel__menu button:hover {
    background: var(--gray-50);
}

.provider-panel__menu form {
    margin: 0;
    border-top: 1px solid var(--gray-100);
}

.provider-panel__summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 0.75rem;
}

.provider-panel__summary > a,
.provider-panel__summary > article {
    display: grid;
    gap: 0.08rem;
    padding: 0.72rem 0.78rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.8rem;
    background: var(--white);
    color: inherit;
    text-decoration: none;
}

.provider-panel__summary > a:hover {
    border-color: rgb(239 97 8 / 0.45);
    background: #fffaf6;
}

.provider-panel__summary span {
    color: var(--gray-500);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.provider-panel__summary strong {
    color: var(--brand-950);
    font-size: 1.15rem;
    line-height: 1.1;
}

.provider-panel__summary small {
    color: var(--gray-600);
    font-size: 0.7rem;
}

.provider-panel__next-action {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 0.75rem;
    padding: 0.9rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.9rem;
    background: var(--brand-950);
    color: var(--white);
}

.provider-panel__next-action.is-neutral {
    background: var(--brand-950);
}

.provider-panel__next-action.is-accent {
    border-color: var(--accent-600);
    background: linear-gradient(135deg, #a84500, var(--accent-600));
}

.provider-panel__next-action.is-warning {
    border-color: #e8bc62;
    background: #fff8e5;
    color: #654500;
}

.provider-panel__next-action > div > span {
    display: block;
    margin-bottom: 0.18rem;
    color: inherit;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.78;
}

.provider-panel__next-action h2 {
    margin: 0;
    color: inherit;
    font-size: 1.05rem;
}

.provider-panel__next-action p {
    margin: 0.22rem 0 0;
    color: inherit;
    font-size: 0.8rem;
    line-height: 1.45;
    opacity: 0.82;
}

.provider-panel__next-action form {
    margin: 0;
}

.provider-panel__next-action .provider-panel__button {
    width: 100%;
    border-color: var(--white);
    background: var(--white);
    color: var(--brand-950);
}

.provider-panel__next-action.is-warning .provider-panel__button {
    border-color: var(--accent-600);
    background: var(--accent-600);
    color: var(--white);
}

.provider-panel__section {
    margin-bottom: 0.75rem;
    padding: 0.95rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.9rem;
    background: var(--white);
}

.provider-panel__section-heading {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.provider-panel__section-heading span {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--gray-500);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.provider-panel__section-heading h2 {
    margin: 0;
    color: var(--brand-950);
    font-size: 1.05rem;
    line-height: 1.15;
}

.provider-panel__section-heading > a {
    flex: 0 0 auto;
    color: var(--brand-800);
    font-size: 0.78rem;
    font-weight: 850;
    text-decoration: none;
}

.provider-panel__section-heading > a:hover {
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.provider-panel__empty {
    display: grid;
    gap: 0.18rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: var(--gray-50);
}

.provider-panel__empty strong {
    color: var(--brand-950);
    font-size: 0.86rem;
}

.provider-panel__empty span {
    color: var(--gray-600);
    font-size: 0.76rem;
    line-height: 1.4;
}

.provider-panel__opportunity-list {
    display: grid;
    gap: 0.45rem;
}

.provider-panel__opportunity-list > a {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.68rem 0.72rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.72rem;
    color: inherit;
    text-decoration: none;
}

.provider-panel__opportunity-list > a:hover {
    border-color: rgb(239 97 8 / 0.45);
    background: #fffaf6;
}

.provider-panel__opportunity-list span {
    display: grid;
    gap: 0.12rem;
}

.provider-panel__opportunity-list strong {
    color: var(--brand-950);
    font-size: 0.84rem;
}

.provider-panel__opportunity-list small {
    color: var(--gray-600);
    font-size: 0.72rem;
}

.provider-panel__opportunity-list em {
    flex: 0 0 auto;
    padding: 0.25rem 0.45rem;
    border-radius: 999px;
    background: var(--accent-100);
    color: var(--accent-700);
    font-size: 0.66rem;
    font-style: normal;
    font-weight: 850;
}

.provider-panel__secondary-grid {
    display: grid;
    gap: 0;
}

.provider-panel__details {
    display: grid;
    gap: 0.55rem;
    margin: 0;
}

.provider-panel__details div {
    display: grid;
    gap: 0.12rem;
}

.provider-panel__details dt {
    color: var(--gray-500);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.provider-panel__details dd {
    margin: 0;
    color: var(--brand-950);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.provider-panel__category-list {
    display: grid;
    gap: 0.45rem;
}

.provider-panel__category-list article {
    padding: 0.7rem;
    border-radius: 0.72rem;
    background: var(--gray-50);
}

.provider-panel__category-list strong {
    color: var(--brand-950);
    font-size: 0.86rem;
}

.provider-panel__category-list p {
    margin: 0.18rem 0 0;
    color: var(--gray-600);
    font-size: 0.76rem;
    line-height: 1.4;
}

.provider-panel__plan-suggestion {
    display: grid;
    gap: 0.75rem;
    padding: 0.9rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.9rem;
    background: var(--gray-50);
}

.provider-panel__plan-suggestion > div > span {
    color: var(--gray-500);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.provider-panel__plan-suggestion h2 {
    margin: 0.18rem 0 0.28rem;
    color: var(--brand-950);
    font-size: 0.95rem;
}

.provider-panel__plan-suggestion p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.78rem;
    line-height: 1.4;
}

@media (min-width: 40rem) {
    .identity-choice-group--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .provider-specialty-grid,
    .provider-coverage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 48rem) {
    .provider-panel__summary {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .provider-panel__next-action,
    .provider-panel__plan-suggestion {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .provider-panel__next-action .provider-panel__button {
        width: auto;
    }

    .provider-panel__secondary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
}

@media (max-width: 39.99rem) {
    .provider-onboarding__card {
        padding: 0.85rem;
        border-radius: 0.95rem;
        box-shadow: 0 1px 2px rgb(6 26 53 / 0.04);
    }

    .provider-onboarding__actions {
        position: sticky;
        z-index: 30;
        bottom: 0;
        margin: 0.2rem -0.85rem -0.85rem;
        padding: 0.75rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom));
        border-top: 1px solid var(--gray-200);
        background: rgb(255 255 255 / 0.97);
        box-shadow: 0 -10px 24px rgb(6 26 53 / 0.07);
        backdrop-filter: blur(12px);
    }

    .provider-onboarding__actions .identity-button {
        flex: 1 1 10rem;
    }

    .provider-onboarding__actions a {
        font-size: 0.8rem;
    }

    .provider-panel__header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .provider-panel__header-actions {
        width: 100%;
        align-self: stretch;
    }

    .provider-panel__header-actions > .provider-panel__button {
        flex: 1 1 auto;
    }

    .provider-panel__menu {
        flex: 0 0 auto;
    }
}

.provider-email-gate {
    width: min(100%, 34rem);
    margin-inline: auto;
    gap: 1rem;
}

.provider-email-gate p {
    margin: 0;
    color: var(--gray-650, var(--gray-600));
    line-height: 1.6;
}

.provider-email-gate form {
    width: 100%;
}

.provider-email-gate small {
    display: block;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Fast provider onboarding, smart trade search and radius coverage R1 */
.provider-fast-profile {
    display: grid;
    gap: 1rem;
}

.provider-avatar-picker {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem;
    border: 1px dashed var(--gray-300);
    border-radius: 1rem;
    background: var(--gray-050, #f8fafc);
    cursor: pointer;
}

.provider-avatar-picker__preview {
    display: grid;
    flex: 0 0 4.5rem;
    width: 4.5rem;
    height: 4.5rem;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--brand-100, #e8f0ff);
    color: var(--brand-800);
    font-size: 1.4rem;
}

.provider-avatar-picker__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-avatar-picker > span:last-of-type {
    display: grid;
    min-width: 0;
    gap: 0.15rem;
}

.provider-avatar-picker small {
    color: var(--gray-600);
}

.provider-avatar-picker input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.provider-profile-kind {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    padding: 0;
    border: 0;
}

.provider-profile-kind legend {
    grid-column: 1 / -1;
    margin-bottom: 0.15rem;
    color: var(--brand-950);
    font-weight: 800;
}

.provider-profile-kind label {
    position: relative;
}

.provider-profile-kind input {
    position: absolute;
    opacity: 0;
}

.provider-profile-kind span {
    display: grid;
    height: 100%;
    gap: 0.2rem;
    padding: 0.75rem;
    border: 1px solid var(--gray-250, var(--gray-200));
    border-radius: 0.8rem;
    background: var(--white);
    cursor: pointer;
}

.provider-profile-kind input:checked + span {
    border-color: var(--brand-600);
    background: var(--brand-050, #f3f7ff);
    box-shadow: 0 0 0 2px rgb(36 92 196 / 0.1);
}

.provider-profile-kind small {
    color: var(--gray-600);
    font-size: 0.72rem;
}

.provider-legacy-company-notice {
    grid-column: 1 / -1;
    display: grid;
    gap: 0.3rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--gray-250, var(--gray-200));
    border-radius: 0.85rem;
    background: var(--gray-050, #f8fafc);
}

.provider-legacy-company-notice strong {
    color: var(--brand-950);
}

.provider-legacy-company-notice small {
    color: var(--gray-600);
    line-height: 1.5;
}

.provider-origin-radius {
    display: grid;
    gap: 1rem;
    padding-top: 0.25rem;
}

.provider-onboarding__section-heading--plain {
    grid-template-columns: 1fr;
}

.provider-radius-control {
    display: grid;
    gap: 0.65rem;
    padding: 0.9rem;
    border-radius: 0.9rem;
    background: var(--gray-050, #f8fafc);
}

.provider-radius-control > span {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.provider-radius-control b {
    color: var(--brand-700);
    white-space: nowrap;
}

.provider-radius-control input[type="range"] {
    width: 100%;
    accent-color: var(--brand-600);
}

.provider-radius-control small {
    color: var(--gray-600);
}

.provider-trade-search {
    display: grid;
    gap: 0.75rem;
}

.provider-trade-results {
    display: grid;
    gap: 0.5rem;
}

.provider-trade-result {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.15rem 0.75rem;
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.8rem;
    background: var(--white);
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.provider-trade-result strong,
.provider-trade-result span {
    min-width: 0;
}

.provider-trade-result span {
    grid-column: 1;
    color: var(--gray-600);
    font-size: 0.76rem;
}

.provider-trade-result b {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    color: var(--brand-700);
    font-size: 0.76rem;
}

.provider-trade-results__empty,
.provider-selected-trades__empty {
    margin: 0;
    padding: 0.8rem;
    border-radius: 0.75rem;
    background: var(--gray-050, #f8fafc);
    color: var(--gray-600);
    font-size: 0.8rem;
}

.provider-selected-trades {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.provider-selected-trade {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 100%;
    padding: 0.45rem 0.55rem 0.45rem 0.7rem;
    border-radius: 999px;
    background: var(--brand-100, #e8f0ff);
    color: var(--brand-900);
    font-size: 0.75rem;
    font-weight: 750;
}

.provider-selected-trade > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.provider-selected-trade button {
    display: grid;
    width: 1.4rem;
    height: 1.4rem;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.8);
    color: inherit;
    cursor: pointer;
}

.provider-category-fallback {
    border-top: 1px solid var(--gray-200);
    padding-top: 0.75rem;
}

.provider-category-fallback > summary {
    color: var(--brand-700);
    font-weight: 800;
    cursor: pointer;
}

.provider-category-fallback > p {
    color: var(--gray-600);
    font-size: 0.78rem;
}

@media (min-width: 42rem) {
    .provider-fast-profile {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
    }

    .provider-avatar-picker {
        width: 12rem;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 30rem) {
    .provider-profile-kind {
        grid-template-columns: 1fr;
    }
}

.provider-verification-reminder {
    align-items: center;
    background: color-mix(in srgb, var(--color-primary, #2456d6) 7%, #fff);
    border: 1px solid color-mix(in srgb, var(--color-primary, #2456d6) 22%, transparent);
    border-radius: 18px;
    display: grid;
    gap: 12px;
    grid-template-columns: auto 1fr auto;
    margin: 0 auto 18px;
    max-width: 920px;
    padding: 14px 16px;
}

.provider-verification-reminder > span {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    font-size: 1.15rem;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.provider-verification-reminder p,
.provider-verification-reminder small {
    display: block;
    margin: 3px 0 0;
}

.provider-verification-reminder form {
    margin: 0;
}

@media (max-width: 680px) {
    .provider-verification-reminder {
        align-items: start;
        grid-template-columns: auto 1fr;
    }

    .provider-verification-reminder form {
        grid-column: 1 / -1;
    }

    .provider-verification-reminder button {
        width: 100%;
    }
}

.provider-panel__identity {
    align-items: center;
    display: flex;
}

.provider-panel__identity-copy {
    display: grid;
    gap: 0.3rem;
}

.provider-panel__avatar {
    align-items: center;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 58px;
    height: 58px;
    justify-content: center;
    overflow: hidden;
    width: 58px;
}

.provider-panel__avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.provider-panel__avatar b {
    color: var(--brand-900);
    font-size: 1.35rem;
}

/* Selfie and resilient profile image controls — 0.7.3 FIX2 */
.provider-avatar-picker__content {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.provider-avatar-picker__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.provider-avatar-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--line-soft, #d9dde3);
    border-radius: 0.75rem;
    background: var(--surface, #fff);
    color: var(--ink-strong, #171717);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.provider-avatar-action--camera {
    border-color: var(--brand, #e36b16);
    background: var(--brand, #e36b16);
    color: #fff;
}

.provider-avatar-action input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.provider-avatar-action:focus-within {
    outline: 3px solid color-mix(in srgb, var(--brand, #e36b16) 24%, transparent);
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .provider-avatar-picker__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .provider-avatar-action {
        width: 100%;
    }
}


/* R28 — Administración de plataforma */
.page-context--admin .app-main {
    width: 100%;
    max-width: none;
    padding: 0;
    background: #f3f6fa;
}

.page-context--admin .institutional-footer {
    display: none;
}

.admin-shell {
    display: grid;
    grid-template-columns: 16.5rem minmax(0, 1fr);
    min-height: calc(100vh - var(--header-height));
    background: #f3f6fa;
}

.admin-sidebar {
    position: sticky;
    top: var(--header-height);
    align-self: start;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.4rem 1rem;
    background: var(--brand-950);
    color: var(--white);
}

.admin-sidebar__brand {
    display: grid;
    gap: 0.2rem;
    padding: 0.5rem 0.65rem 1rem;
    border-bottom: 1px solid rgb(255 255 255 / 0.12);
}

.admin-sidebar__brand span,
.admin-sidebar__account span,
.admin-sidebar__account small {
    color: rgb(255 255 255 / 0.66);
}

.admin-sidebar__brand strong {
    font-size: 1.15rem;
}

.admin-nav {
    display: grid;
    gap: 0.25rem;
}

.admin-nav a {
    padding: 0.72rem 0.8rem;
    border-radius: 0.7rem;
    color: rgb(255 255 255 / 0.82);
    text-decoration: none;
    font-weight: 700;
}

.admin-nav a:hover,
.admin-nav a.is-active {
    background: rgb(255 255 255 / 0.12);
    color: var(--white);
}

.admin-sidebar__account {
    margin-top: auto;
    display: grid;
    gap: 0.15rem;
    padding: 0.9rem 0.65rem;
    border-top: 1px solid rgb(255 255 255 / 0.12);
    overflow-wrap: anywhere;
}

.admin-content {
    min-width: 0;
    width: 100%;
    padding: clamp(1rem, 2vw, 2rem);
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.admin-topbar h1,
.admin-card h2 {
    margin: 0;
    color: var(--brand-950);
}

.admin-topbar h1 {
    margin-top: 0.25rem;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.admin-eyebrow {
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-back,
.admin-card header a {
    color: var(--brand-700);
    font-weight: 800;
    text-decoration: none;
}

.admin-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.admin-kpis article,
.admin-card {
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    background: var(--white);
    box-shadow: 0 8px 28px rgb(6 26 53 / 0.05);
}

.admin-kpis article {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
}

.admin-kpis span,
.admin-kpis small,
.admin-request span,
.admin-request small,
.admin-table small,
.admin-card > p {
    color: var(--gray-500);
}

.admin-kpis strong {
    color: var(--brand-950);
    font-size: 1.75rem;
}

.admin-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-card {
    min-width: 0;
    overflow: hidden;
    margin-bottom: 1rem;
}

.admin-card > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--gray-100);
}

.admin-card > p,
.admin-empty {
    margin: 0;
    padding: 1.25rem;
}

.admin-pending-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-pending-summary div {
    display: grid;
    gap: 0.25rem;
    padding: 1.35rem;
    text-align: center;
}

.admin-pending-summary div + div {
    border-left: 1px solid var(--gray-100);
}

.admin-pending-summary strong {
    color: var(--brand-950);
    font-size: 2rem;
}

.admin-plan-bars {
    display: grid;
}

.admin-plan-bars div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1.1rem;
    border-top: 1px solid var(--gray-100);
}

.admin-plan-bars div:first-child {
    border-top: 0;
}

.admin-count {
    min-width: 2rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: var(--accent-100);
    color: var(--accent-700);
    text-align: center;
    font-weight: 900;
}

.admin-request-list {
    display: grid;
}

.admin-request {
    display: grid;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border-top: 1px solid var(--gray-100);
}

.admin-request:first-child {
    border-top: 0;
}

.admin-request > div:first-child {
    display: grid;
    gap: 0.15rem;
}

.admin-actions,
.admin-reject-form,
.admin-enterprise-approve,
.admin-admin-form,
.admin-search {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.admin-reject-form input,
.admin-enterprise-approve input,
.admin-admin-form input,
.admin-search input {
    min-height: 2.65rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.65rem;
    background: var(--white);
    color: var(--gray-900);
}

.admin-enterprise-approve label,
.admin-admin-form label {
    display: grid;
    gap: 0.35rem;
    color: var(--gray-700);
    font-size: 0.85rem;
    font-weight: 700;
}

.admin-button {
    min-height: 2.65rem;
    padding: 0.62rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.admin-button--primary {
    background: var(--accent-600);
    color: var(--white);
}

.admin-button--ghost {
    border-color: var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
}

.admin-alert {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.8rem;
    font-weight: 700;
}

.admin-alert--success {
    background: var(--success-100);
    color: var(--success-700);
}

.admin-alert--error {
    background: var(--danger-100);
    color: var(--danger-700);
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.admin-table {
    width: 100%;
    min-width: 46rem;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.8rem 0.9rem;
    border-bottom: 1px solid var(--gray-100);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--gray-500);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-table td {
    color: var(--gray-700);
    font-size: 0.9rem;
}

.admin-table td strong,
.admin-table td small {
    display: block;
}

.admin-status {
    display: inline-flex;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.78rem;
    font-weight: 800;
}

.admin-capabilities {
    max-width: 24rem;
    overflow-wrap: anywhere;
}

.admin-search {
    margin-bottom: 1rem;
}

.admin-search input {
    width: min(100%, 26rem);
}

@media (max-width: 920px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        min-height: auto;
        padding: 0.85rem;
    }

    .admin-sidebar__brand,
    .admin-sidebar__account {
        display: none;
    }

    .admin-nav {
        display: flex;
        gap: 0.35rem;
        overflow-x: auto;
        scrollbar-width: thin;
        padding-bottom: 0.2rem;
    }

    .admin-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .admin-kpis,
    .admin-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .admin-content {
        padding: 0.8rem;
    }

    .admin-topbar {
        align-items: flex-start;
    }

    .admin-kpis,
    .admin-grid-2 {
        grid-template-columns: 1fr;
    }

    .admin-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-actions,
    .admin-reject-form,
    .admin-enterprise-approve,
    .admin-admin-form,
    .admin-search {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-reject-form input,
    .admin-enterprise-approve input,
    .admin-admin-form input,
    .admin-search input,
    .admin-button {
        width: 100%;
    }
}


/* Source: resources/css/pages/requests.css */
.request-flow,
.request-index,
.request-detail {
    width: min(calc(100% - 2rem), 68rem);
    margin-inline: auto;
    padding-block: clamp(1.25rem, 4vw, 3rem) 7rem;
}

.request-flow {
    max-width: 58rem;
}

.request-flow__header,
.request-detail__header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
}

.request-flow__header h1,
.request-detail__header h1,
.request-index__hero h1 {
    margin: 0.35rem 0 0.65rem;
    color: var(--brand-950);
    font-size: clamp(1.8rem, 6vw, 3rem);
}

.request-flow__header p,
.request-detail__header p,
.request-index__hero p {
    max-width: 44rem;
    margin: 0;
    color: var(--gray-600);
    line-height: 1.6;
}

.request-flow__step {
    flex: 0 0 auto;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: var(--brand-900);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 850;
}

.request-flow__progress {
    height: 0.35rem;
    margin: 1rem 0 1.25rem;
    overflow: hidden;
    border-radius: 999px;
    background: var(--gray-200);
}

.request-flow__progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--accent-600);
}

.request-flow__progress-bar--50 {
    width: 50%;
}

.request-flow__progress-bar--100 {
    width: 100%;
}

.request-flow__card,
.request-match-form {
    padding: clamp(1rem, 4vw, 2rem);
    border: 1px solid var(--gray-200);
    border-radius: 1.25rem;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.request-flow__classification {
    grid-template-columns: 1fr;
}

.request-flow__actions {
    margin-top: 0.5rem;
}

.request-summary-card {
    margin-bottom: 1rem;
    padding: clamp(1rem, 4vw, 1.5rem);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    background: var(--gray-50);
}

.request-summary-card span {
    color: var(--accent-700);
    font-size: 0.78rem;
    font-weight: 850;
}

.request-summary-card h2 {
    margin: 0.35rem 0 0.6rem;
    color: var(--brand-950);
    font-size: 1.25rem;
}

.request-summary-card p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.6;
}

.request-summary-card--compact p {
    display: none;
}

.request-match-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 0.9rem;
    background: var(--gray-50);
}

.request-match-toolbar strong {
    color: var(--brand-950);
}

.request-match-toolbar span {
    color: var(--gray-600);
    font-size: 0.82rem;
}

.request-match-grid,
.request-list,
.opportunity-list,
.notification-list {
    display: grid;
    gap: 0.85rem;
}

.request-match-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    background: var(--white);
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.request-match-card:has(input:checked) {
    border-color: var(--accent-600);
    box-shadow: 0 12px 28px rgb(239 97 8 / 0.12);
}

.request-match-card.is-invited {
    background: var(--gray-50);
    cursor: default;
}

.request-match-card > input {
    width: auto;
    margin-top: 0.25rem;
    accent-color: var(--accent-600);
}

.request-match-card__body {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.request-match-card__topline {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.request-match-card__topline strong {
    color: var(--brand-950);
}

.request-match-card__topline em,
.opportunity-card dl dd {
    color: var(--accent-700);
    font-style: normal;
    font-weight: 900;
}

.request-match-card small,
.request-match-card p {
    margin: 0;
    color: var(--gray-600);
}

.request-match-card ul,
.opportunity-reasons {
    display: grid;
    gap: 0.25rem;
    margin: 0;
    padding-left: 1.15rem;
    color: var(--gray-700);
    font-size: 0.84rem;
}

.request-match-card__privacy {
    color: var(--brand-800);
    font-size: 0.76rem;
    font-weight: 800;
}

.request-category-limit-message {
    margin: 1rem 0 0;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    background: #fff9e9;
    color: #6d4c00;
    font-size: 0.88rem;
}

.request-index__hero {
    margin-bottom: 1rem;
}

.request-list-card,
.opportunity-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.request-list-card h2,
.opportunity-card h2 {
    margin: 0.45rem 0 0.3rem;
    color: var(--brand-950);
    font-size: 1.05rem;
}

.request-list-card p,
.opportunity-card p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.86rem;
}

.request-list-card dl,
.opportunity-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0;
}

.request-list-card dl div,
.opportunity-card dl div {
    padding: 0.7rem;
    border-radius: 0.75rem;
    background: var(--gray-50);
}

.request-list-card dt,
.opportunity-card dt {
    color: var(--gray-500);
    font-size: 0.7rem;
    font-weight: 750;
}

.request-list-card dd,
.opportunity-card dd {
    margin: 0.2rem 0 0;
    color: var(--brand-950);
    font-weight: 850;
}

.request-list-card > a,
.opportunity-card > a {
    color: var(--brand-800);
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.opportunity-card.is-unread {
    border-color: rgb(239 97 8 / 0.5);
}

.request-detail__header {
    margin-bottom: 1rem;
}

.request-detail__grid {
    display: grid;
    gap: 1rem;
}

.request-detail__grid .account-card > p {
    color: var(--gray-700);
    line-height: 1.65;
}

.request-invitation-list {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.request-invitation-list > div,
.notification-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.8rem;
    background: var(--gray-50);
}

.request-invitation-list span,
.notification-card span {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.request-invitation-list strong,
.notification-card strong {
    color: var(--brand-950);
}

.request-invitation-list small,
.notification-card small {
    color: var(--gray-600);
}

.request-invitation-list em,
.notification-card em {
    flex: 0 0 auto;
    color: var(--accent-700);
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 850;
}


.notification-card {
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.notification-card.is-unread {
    border-color: rgb(239 97 8 / 0.5);
    background: #fffaf6;
}

@media (min-width: 42rem) {
    .request-flow__classification,
    .request-detail__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .request-match-grid,
    .request-list,
    .opportunity-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 36rem) {
    .request-flow__header,
    .request-detail__header {
        align-items: flex-start;
    }

    .request-match-card__topline,
    .request-invitation-list > div,
    .notification-card {
        align-items: flex-start;
    }
}

.request-match-card.is-preferred {
    border-color: var(--accent-500);
    box-shadow: 0 0 0 3px rgb(239 97 8 / 0.1);
}

.request-match-card__preferred {
    display: inline-flex;
    width: fit-content;
    margin-top: 0.5rem;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-pill);
    background: var(--accent-100);
    color: var(--accent-700);
    font-size: 0.72rem;
    font-weight: 900;
}

.identity-alert--info {
    border-color: rgb(23 93 158 / 0.2);
    background: rgb(23 93 158 / 0.06);
    color: var(--brand-900);
}

/* Opportunity responses + proposals R1 */

.opportunity-response,
.customer-lifecycle {
    display: grid;
    gap: 1rem;
}

.opportunity-response__summary,
.lifecycle-snapshot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.opportunity-response__summary article,
.lifecycle-snapshot article {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
    padding: 0.85rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.9rem;
    background: var(--white);
}

.opportunity-response__summary span,
.lifecycle-snapshot span {
    color: var(--gray-500);
    font-size: 0.72rem;
    font-weight: 800;
}

.opportunity-response__summary strong,
.lifecycle-snapshot strong {
    overflow-wrap: anywhere;
    color: var(--brand-950);
    font-size: 0.92rem;
}

.response-card {
    display: grid;
    gap: 1rem;
    padding: clamp(1rem, 4vw, 1.5rem);
    border: 1px solid var(--gray-200);
    border-radius: 1.15rem;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.response-card--primary {
    border-color: rgb(23 93 158 / 0.26);
}

.response-card--submitted {
    border-color: rgb(22 131 74 / 0.28);
    background: #fbfffc;
}

.response-card--secondary {
    box-shadow: none;
}

.response-card--secondary summary {
    color: var(--brand-900);
    font-weight: 850;
    cursor: pointer;
}

.response-card__heading,
.proposal-card__topline {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    justify-content: space-between;
}

.response-card__heading h2,
.proposal-card__topline h3 {
    margin: 0.25rem 0 0;
    color: var(--brand-950);
    font-size: clamp(1.25rem, 5vw, 1.75rem);
}

.response-card__heading > span,
.response-card__time {
    flex: 0 0 auto;
    color: var(--accent-700);
    font-size: 0.76rem;
    font-weight: 850;
}

.proposal-form,
.clarification-form {
    display: grid;
    gap: 0.9rem;
}

.proposal-form__price,
.responsible-response-grid {
    display: grid;
    gap: 0.8rem;
}

.identity-field textarea,
.identity-field select {
    width: 100%;
    min-width: 0;
    padding: 0.78rem 0.9rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.75rem;
    background: var(--white);
    color: var(--brand-950);
    font: inherit;
    font-weight: 550;
}

.identity-field textarea {
    resize: vertical;
    line-height: 1.5;
}

.identity-field textarea:focus,
.identity-field select:focus {
    border-color: var(--accent-600);
    outline: 3px solid rgb(239 97 8 / 0.2);
    outline-offset: 2px;
}

.field-error {
    color: var(--danger) !important;
    font-weight: 750 !important;
}

.proposal-form__submit {
    width: 100%;
    min-height: 3.2rem;
}

.response-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 0;
}

.response-facts div {
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: var(--gray-50);
}

.response-facts dt {
    color: var(--gray-500);
    font-size: 0.7rem;
    font-weight: 800;
}

.response-facts dd {
    margin: 0.2rem 0 0;
    color: var(--brand-950);
    font-size: 0.86rem;
    font-weight: 800;
}

.clarification-thread,
.proposal-list {
    display: grid;
    gap: 0.8rem;
}

.clarification-thread > article,
.proposal-card {
    display: grid;
    gap: 0.65rem;
    padding: 0.95rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.9rem;
    background: var(--gray-50);
}

.clarification-thread p,
.proposal-card p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.6;
}

.clarification-thread__answer {
    display: grid;
    gap: 0.35rem;
    padding: 0.8rem;
    border-left: 3px solid var(--brand-700);
    border-radius: 0 0.65rem 0.65rem 0;
    background: var(--white);
}

.clarification-thread--customer form {
    display: grid;
    gap: 0.7rem;
}

.proposal-card.is-muted {
    opacity: 0.72;
}

.proposal-card__topline > div > span {
    color: var(--brand-700);
    font-size: 0.8rem;
    font-weight: 850;
}

.proposal-card__privacy {
    color: var(--brand-800);
    font-size: 0.76rem;
    font-weight: 800;
}

.text-action {
    width: fit-content;
    color: var(--brand-800);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.text-action--danger {
    color: var(--danger);
}

.request-list-card__alert {
    padding: 0.65rem 0.75rem;
    border-radius: 0.7rem;
    background: #fff8e8;
    color: #725000;
    font-size: 0.8rem;
    font-weight: 800;
}

@media (min-width: 42rem) {
    .opportunity-response__summary,
    .lifecycle-snapshot {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .proposal-form__price,
    .responsible-response-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .response-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 36rem) {
    .response-card__heading,
    .proposal-card__topline {
        align-items: flex-start;
    }

    .response-card__time {
        display: none;
    }
}

/* Award + controlled contact release R1 */
.award-card {
    display: grid;
    gap: 1rem;
    padding: 1.1rem;
    border: 1px solid var(--color-border, #d8dee8);
    border-radius: 1rem;
    background: var(--color-surface, #fff);
}

.award-card.is-active {
    border-color: rgba(18, 121, 82, 0.34);
    box-shadow: 0 10px 30px rgba(18, 121, 82, 0.08);
}

.award-card.is-cancelled {
    background: #f7f8fa;
}

.award-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.award-card__heading h2,
.award-card p {
    margin: 0;
}

.award-contact {
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
    border-radius: 0.85rem;
    background: #edf8f3;
}

.award-contact a {
    width: fit-content;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.award-contact small,
.proposal-award-form small {
    color: var(--color-text-muted, #667085);
}

.award-card__reason {
    padding: 0.85rem;
    border-radius: 0.75rem;
    background: #fff;
}

.award-cancel {
    border-top: 1px solid var(--color-border, #d8dee8);
    padding-top: 0.9rem;
}

.award-cancel summary {
    cursor: pointer;
    font-weight: 700;
}

.award-cancel form,
.proposal-award-form {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.proposal-card__privacy--released {
    background: #edf8f3;
    color: #116642;
}

@media (max-width: 640px) {
    .award-card__heading {
        align-items: stretch;
        flex-direction: column;
    }

    .award-card__heading .status-pill {
        width: fit-content;
    }
}

.fulfillment-card {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid var(--color-border, #d8dee8);
    border-radius: 1rem;
    background: #fff;
}

.fulfillment-card__heading,
.fulfillment-summary,
.fulfillment-actions,
.fulfillment-section,
.fulfillment-panel form,
.fulfillment-confirm {
    display: grid;
    gap: 0.85rem;
}

.fulfillment-card__heading {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.fulfillment-card__heading h2,
.fulfillment-section h3,
.fulfillment-list p,
.fulfillment-timeline p {
    margin: 0;
}

.fulfillment-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fulfillment-summary article {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
    padding: 0.8rem;
    border-radius: 0.8rem;
    background: #f6f8fb;
}

.fulfillment-summary span,
.fulfillment-list small,
.fulfillment-timeline small,
.fulfillment-incident span {
    color: var(--color-text-muted, #667085);
    font-size: 0.82rem;
}

.fulfillment-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.fulfillment-actions form,
.fulfillment-panel,
.fulfillment-confirm,
.fulfillment-list article {
    display: grid;
    gap: 0.75rem;
    padding: 0.9rem;
    border: 1px solid var(--color-border, #d8dee8);
    border-radius: 0.85rem;
    background: #fbfcfe;
}

.fulfillment-panel summary {
    cursor: pointer;
    font-weight: 800;
}

.fulfillment-panel--incident {
    border-color: rgba(180, 83, 9, 0.3);
    background: #fffaf2;
}

.fulfillment-list,
.fulfillment-timeline {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
}

.fulfillment-list article {
    list-style: none;
}

.fulfillment-incident.is-open {
    border-color: rgba(180, 83, 9, 0.35);
}

.fulfillment-incident.is-resolved {
    opacity: 0.8;
}

.fulfillment-timeline {
    list-style: none;
}

.fulfillment-timeline li {
    display: grid;
    grid-template-columns: 0.75rem minmax(0, 1fr);
    gap: 0.7rem;
}

.fulfillment-timeline li > span {
    width: 0.65rem;
    height: 0.65rem;
    margin-top: 0.3rem;
    border-radius: 999px;
    background: var(--color-primary, #f97316);
}

.fulfillment-timeline li > div {
    display: grid;
    gap: 0.25rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
}

@media (max-width: 700px) {
    .fulfillment-card__heading,
    .fulfillment-summary,
    .fulfillment-actions {
        grid-template-columns: 1fr;
    }

    .fulfillment-card__heading .status-pill {
        width: fit-content;
    }
}


/* Source: resources/css/responsive.css */
@media (min-width: 34rem) {
    .app-main,
    .app-header__inner {
        width: min(
            calc(100% - 2.5rem),
            var(--container)
        );
    }

    .search-box {
        grid-template-columns: minmax(0, 1fr) 8rem;
        align-items: stretch;
    }

    .search-box__submit {
        min-width: 8rem;
        padding-inline: var(--space-5);
    }
}

@media (min-width: 48rem) {
    .app-main,
    .app-header__inner {
        width: min(
            calc(100% - 3rem),
            var(--container)
        );
    }

    .home-page {
        max-width: 56rem;
    }

    .category-slider__track {
        margin-inline: 0;
        padding-inline: 0;
    }
}

@media (min-width: 64rem) {
    .app-shell {
        padding-bottom: 0;
    }

    .app-main {
        padding-block: var(--space-8) var(--space-16);
    }

    .app-header__inner {
        display: flex;
        justify-content: space-between;
    }

    .app-header__menu {
        display: none;
    }

    .app-header__brand {
        order: 1;
        justify-content: flex-start;
        padding-inline: 0;
    }

    .app-header__desktop-navigation {
        display: flex;
        order: 2;
        align-items: center;
        gap: var(--space-2);
    }

    .app-header__desktop-navigation a {
        padding: 0.55rem var(--space-4);
        border-radius: var(--radius-pill);
        color: var(--gray-700);
        font-size: 0.85rem;
        font-weight: 750;
    }

    .app-header__desktop-navigation a:hover,
    .app-header__desktop-navigation a.is-active {
        background: rgb(8 45 89 / 0.08);
        color: var(--brand-900);
    }

    .app-header__messages {
        order: 3;
    }

    .bottom-navigation {
        display: none;
    }

    .home-page {
        max-width: 62rem;
    }

    .home-search__heading {
        margin-top: var(--space-8);
    }

    .category-slider__track {
        justify-content: center;
    }

    .offline-banner {
        right: var(--space-6);
        bottom: var(--space-6);
        left: auto;
        max-width: 28rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* Source: resources/css/pages/h3-workspace.css */
/* H3.3 — Intelligent onboarding, provider workspace and unified home */

body {
    background:
        radial-gradient(circle at 12% 0%, rgb(239 97 8 / 0.055), transparent 24rem),
        var(--gray-50);
}

.app-main {
    width: min(calc(100% - 2rem), 78rem);
}

/* Header and navigation */
.app-header {
    height: 4.75rem;
    border-bottom-color: rgb(8 45 89 / 0.09);
    box-shadow: 0 1px 0 rgb(255 255 255 / 0.8);
}

.app-header__inner {
    width: min(calc(100% - 2rem), 78rem);
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
}

.app-header__brand {
    height: 3.6rem;
}

.app-header__brand img {
    max-width: 9.75rem;
    max-height: 3.15rem;
}

.app-header__account {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid rgb(8 45 89 / 0.1);
    border-radius: 50%;
    background: var(--white);
    color: var(--brand-900);
}

.app-header__account svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2;
}

.app-header__account span {
    display: none;
}

.app-header__flow-context {
    display: none;
}

.app-drawer__section-label {
    margin: 1rem 0 0.2rem;
    padding-inline: var(--space-4);
    color: var(--gray-500);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.app-drawer__panel nav a {
    min-height: 2.9rem;
    display: flex;
    align-items: center;
}

/* Bottom navigation: calm, four clear destinations */
.bottom-navigation {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: 0.4rem;
}

.bottom-navigation__item {
    min-height: 3.8rem;
    border-radius: 0.8rem;
    font-size: 0.65rem;
}

.bottom-navigation__item.is-active {
    background: rgb(8 45 89 / 0.06);
}

.bottom-navigation__item.is-active::before {
    top: 0.15rem;
    width: 1.1rem;
    height: 0.16rem;
}

.bottom-navigation__item svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 1.9;
}

/* Unified home/search */
.home-page {
    max-width: none;
}

.home-hero {
    display: grid;
    gap: 1rem;
}

.home-hero__search-card {
    min-width: 0;
    padding: clamp(1.5rem, 5vw, 3.25rem);
    border: 1px solid rgb(8 45 89 / 0.1);
    border-radius: clamp(1.35rem, 4vw, 2rem);
    background:
        linear-gradient(135deg, rgb(255 255 255 / 0.99), rgb(247 249 252 / 0.94)),
        var(--white);
    box-shadow: 0 22px 60px rgb(6 26 53 / 0.09);
}

.home-search {
    justify-items: stretch;
    padding: 0;
    text-align: left;
}

.home-search__heading {
    max-width: 46rem;
    margin: 0;
}

.home-search__eyebrow,
.home-section-kicker,
.home-section-heading > span,
.home-hero__provider > div > span {
    display: inline-flex;
    margin-bottom: 0.75rem;
    color: var(--accent-700);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.home-search__heading h1 {
    max-width: 43rem;
    margin-bottom: 1rem;
    font-size: clamp(2.35rem, 6vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.052em;
}

.home-search__heading p {
    max-width: 42rem;
    color: var(--gray-700);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
}

.search-box {
    width: 100%;
    max-width: 52rem;
    grid-template-columns: 1fr !important;
    margin-top: 1.75rem;
    gap: 0.75rem;
}

.search-box__field {
    min-height: 4.75rem;
    border: 1px solid rgb(8 45 89 / 0.25);
    border-radius: 1.15rem;
    box-shadow:
        0 0 0 4px rgb(8 45 89 / 0.035),
        0 12px 32px rgb(6 26 53 / 0.075);
}

.search-box__field:focus-within {
    border-color: var(--accent-600);
    box-shadow:
        0 0 0 4px rgb(239 97 8 / 0.1),
        0 14px 36px rgb(6 26 53 / 0.1);
}

.search-box input {
    height: 4.6rem;
    font-size: 1rem;
}

.search-box__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0.75rem;
}

.home-location {
    order: initial;
    min-width: 0;
    min-height: 3.6rem;
    margin: 0;
    box-shadow: none;
}

.search-box__submit {
    min-width: 10.5rem;
    min-height: 3.6rem;
    padding-inline: 1.4rem;
    border-radius: 0.95rem;
}

.search-box__help {
    margin: 0;
    color: var(--gray-500);
    font-size: 0.78rem;
    text-align: left;
}

.home-search__assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.15rem;
    margin-top: 1rem;
    color: var(--gray-700);
    font-size: 0.78rem;
    font-weight: 750;
}

.home-search__assurances span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.home-search__assurances svg {
    width: 1rem;
    height: 1rem;
    color: var(--success-700);
    stroke-width: 2.4;
}

.home-hero__provider {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.45rem;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 100% 0%, rgb(239 97 8 / 0.34), transparent 12rem),
        var(--brand-950);
    color: var(--white);
    box-shadow: 0 18px 44px rgb(6 26 53 / 0.17);
}

.home-hero__provider-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 1rem;
    background: rgb(255 255 255 / 0.11);
    color: #ffad75;
}

.home-hero__provider-icon svg {
    width: 1.45rem;
    height: 1.45rem;
    stroke-width: 1.8;
}

.home-hero__provider > div > span {
    margin-bottom: 0.35rem;
    color: #ffad75;
}

.home-hero__provider strong {
    display: block;
    font-size: 1.25rem;
    line-height: 1.2;
}

.home-hero__provider p {
    margin: 0.6rem 0 1rem;
    color: rgb(255 255 255 / 0.72);
    font-size: 0.88rem;
}

.home-hero__provider a {
    display: inline-flex;
    min-height: 2.8rem;
    align-items: center;
    justify-content: center;
    padding-inline: 1rem;
    border-radius: 0.8rem;
    background: var(--accent-600);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 850;
}

.home-discovery {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.home-how,
.home-provider-callout {
    padding: clamp(1.5rem, 4vw, 2.6rem);
    border: 1px solid rgb(8 45 89 / 0.09);
    border-radius: 1.6rem;
    background: var(--white);
}

.home-section-heading {
    max-width: 44rem;
}

.home-section-heading h2,
.home-provider-callout h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.7rem, 4vw, 2.55rem);
}

.home-section-heading p,
.home-provider-callout p {
    color: var(--gray-700);
}

.home-how__steps {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.home-how__steps article {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.1rem;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    background: var(--gray-50);
}

.home-how__steps article > span {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border-radius: 0.8rem;
    background: var(--brand-950);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 900;
}

.home-how__steps h3 {
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.home-how__steps p {
    margin: 0;
    color: var(--gray-700);
    font-size: 0.86rem;
}

.home-provider-callout {
    display: grid;
    gap: 1.25rem;
    background:
        linear-gradient(135deg, rgb(8 45 89 / 0.035), rgb(239 97 8 / 0.04)),
        var(--white);
}

.home-provider-callout__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.home-provider-callout__actions a {
    color: var(--brand-900);
    font-size: 0.84rem;
    font-weight: 850;
}

.home-provider-callout__actions .home-provider-callout__primary {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding-inline: 1.15rem;
    border-radius: 0.85rem;
    background: var(--brand-950);
    color: var(--white);
}

[data-search-experience].is-resolving .home-hero {
    display: block;
}

[data-search-experience].is-resolving .home-hero__search-card {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

[data-search-experience].is-resolving .home-search {
    position: sticky;
    z-index: 20;
    top: calc(var(--header-height) + 0.5rem);
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    background: rgb(247 249 252 / 0.96);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
}

[data-search-experience].is-resolving .home-search__assurances,
[data-search-experience].is-resolving .search-box__help {
    display: none;
}

/* Guided onboarding */
.app-flow--focused .app-main {
    width: min(calc(100% - 1rem), 78rem);
    padding-block: 1rem calc(1.25rem + env(safe-area-inset-bottom));
}

.provider-onboarding--guided {
    max-width: none;
    margin: 0;
}

.provider-verification-reminder {
    max-width: 78rem;
    margin: 0 auto 0.85rem;
    border-color: rgb(23 93 158 / 0.2);
    background: #f2f7fd;
}

.provider-verification-reminder__icon {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 0.8rem;
    background: var(--white);
    color: var(--brand-800);
}

.provider-verification-reminder__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.provider-onboarding__workspace {
    display: grid;
    gap: 1rem;
}

.provider-onboarding__rail {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid rgb(8 45 89 / 0.1);
    border-radius: 1.25rem;
    background: var(--brand-950);
    color: var(--white);
}

.provider-onboarding__rail-heading > span,
.provider-onboarding__plan-note > span {
    display: block;
    margin-bottom: 0.3rem;
    color: #ffad75;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.provider-onboarding__rail-heading strong {
    font-size: 1.1rem;
    line-height: 1.25;
}

.provider-onboarding__steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.provider-onboarding__steps li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.65rem;
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 0.9rem;
    color: rgb(255 255 255 / 0.62);
}

.provider-onboarding__steps li > span {
    display: grid;
    width: 1.9rem;
    height: 1.9rem;
    place-items: center;
    border-radius: 0.65rem;
    background: rgb(255 255 255 / 0.1);
    font-size: 0.72rem;
    font-weight: 900;
}

.provider-onboarding__steps li strong,
.provider-onboarding__steps li small {
    display: block;
}

.provider-onboarding__steps li strong {
    color: inherit;
    font-size: 0.78rem;
}

.provider-onboarding__steps li small {
    display: none;
}

.provider-onboarding__steps li.is-current {
    border-color: rgb(255 145 63 / 0.55);
    background: rgb(239 97 8 / 0.17);
    color: var(--white);
}

.provider-onboarding__steps li.is-current > span,
.provider-onboarding__steps li.is-complete > span {
    background: var(--accent-600);
    color: var(--white);
}

.provider-onboarding__plan-note,
.provider-onboarding__privacy-note {
    display: none;
}

.provider-onboarding__main {
    min-width: 0;
}

.provider-onboarding__header {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.provider-onboarding__heading {
    max-width: 49rem;
}

.provider-onboarding__heading h1 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.85rem, 5vw, 3rem);
}

.provider-onboarding__heading p {
    margin: 0;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.provider-onboarding__save-state {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.4rem;
    color: var(--success-700);
    font-size: 0.75rem;
    font-weight: 800;
}

.provider-onboarding__save-state svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2.5;
}

.provider-onboarding--guided .provider-onboarding__card {
    padding: clamp(1rem, 3vw, 1.6rem);
    border: 1px solid rgb(8 45 89 / 0.1);
    border-radius: 1.35rem;
    box-shadow: 0 16px 42px rgb(6 26 53 / 0.075);
}

.provider-guided-grid,
.provider-service-grid {
    display: grid;
    gap: 1rem;
}

.provider-guided-fields {
    display: grid;
    gap: 1rem;
}

.provider-guided-section {
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    background: var(--white);
}

.provider-guided-section > header {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.provider-guided-section > header > span {
    display: grid;
    width: 2.1rem;
    height: 2.1rem;
    place-items: center;
    border-radius: 0.7rem;
    background: var(--brand-950);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 900;
}

.provider-guided-section h2 {
    margin-bottom: 0.2rem;
    font-size: 1.05rem;
}

.provider-guided-section header p {
    margin: 0;
    color: var(--gray-500);
    font-size: 0.8rem;
}

.provider-onboarding--guided .provider-fast-profile {
    display: grid;
    gap: 0.9rem;
}

.provider-onboarding--guided .provider-avatar-picker {
    padding: 0.85rem;
    border-radius: 0.95rem;
    background: var(--gray-50);
}

.identity-field--prominent input {
    min-height: 3.4rem;
    font-size: 1rem;
    font-weight: 700;
}

.provider-profile-preview,
.provider-publish-summary {
    padding: 1.15rem;
    border: 1px solid rgb(8 45 89 / 0.1);
    border-radius: 1.1rem;
    background:
        linear-gradient(145deg, rgb(8 45 89 / 0.035), rgb(239 97 8 / 0.035)),
        var(--white);
}

.provider-profile-preview__label,
.provider-publish-summary__label {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--accent-700);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.provider-profile-preview__identity {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.provider-profile-preview__identity > span {
    display: grid;
    width: 3.4rem;
    height: 3.4rem;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--brand-950);
    color: var(--white);
}

.provider-profile-preview__identity img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-profile-preview__identity h2 {
    margin-bottom: 0.2rem;
    font-size: 1.05rem;
}

.provider-profile-preview__identity p {
    margin: 0;
    color: var(--gray-500);
    font-size: 0.78rem;
}

.provider-profile-preview dl,
.provider-publish-summary dl {
    display: grid;
    gap: 0.7rem;
    margin: 1rem 0;
}

.provider-profile-preview dl div,
.provider-publish-summary dl div {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.65rem;
}

.provider-profile-preview dt,
.provider-publish-summary dt {
    color: var(--gray-500);
    font-size: 0.73rem;
}

.provider-profile-preview dd,
.provider-publish-summary dd {
    margin: 0;
    color: var(--brand-950);
    font-size: 0.78rem;
    font-weight: 750;
}

.provider-profile-preview__insight,
.provider-publish-summary__protection {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    padding: 0.75rem;
    border-radius: 0.8rem;
    background: rgb(23 93 158 / 0.07);
    color: var(--brand-800);
    font-size: 0.75rem;
}

.provider-profile-preview__insight svg,
.provider-publish-summary__protection svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    margin-top: 0.1rem;
}

.provider-service-assistant {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: var(--brand-950);
    color: var(--white);
}

.provider-service-assistant__intro {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.provider-service-assistant__mark {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.85rem;
    background: rgb(255 255 255 / 0.1);
    color: #ffad75;
}

.provider-service-assistant__mark svg {
    width: 1.25rem;
    height: 1.25rem;
}

.provider-service-assistant__intro span {
    display: block;
    margin-bottom: 0.2rem;
    color: #ffad75;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.provider-service-assistant__intro h2 {
    margin-bottom: 0.25rem;
    color: var(--white);
    font-size: 1.2rem;
}

.provider-service-assistant__intro p {
    margin: 0;
    color: rgb(255 255 255 / 0.7);
    font-size: 0.8rem;
}

.provider-onboarding--guided .provider-plan-limit {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 0.8rem;
    background: rgb(255 255 255 / 0.06);
}

.provider-onboarding--guided .provider-plan-limit span,
.provider-onboarding--guided .provider-plan-limit strong {
    color: var(--white);
    font-size: 0.75rem;
}

.provider-service-builder {
    min-width: 0;
}

.identity-field--assistant {
    gap: 0.5rem;
}

.provider-trade-search__field {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: 4rem;
    border: 1px solid rgb(8 45 89 / 0.22);
    border-radius: 1rem;
    background: var(--white);
    box-shadow: 0 10px 28px rgb(6 26 53 / 0.07);
}

.provider-trade-search__field:focus-within {
    border-color: var(--accent-600);
    box-shadow: 0 0 0 4px rgb(239 97 8 / 0.1);
}

.provider-trade-search__field svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 1rem;
    color: var(--brand-800);
}

.provider-trade-search__field input {
    min-height: 3.8rem;
    border: 0;
    box-shadow: none;
    font-size: 1rem;
}

.provider-selected-service-section {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    background: var(--gray-50);
}

.provider-selected-service-section > header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.provider-selected-service-section header span {
    color: var(--gray-500);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.provider-selected-service-section h3 {
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
}

.provider-selected-service-section header > strong {
    color: var(--brand-800);
    font-size: 0.72rem;
}

.provider-onboarding--guided .provider-selected-trade {
    border-color: rgb(23 93 158 / 0.16);
    background: var(--white);
}

.provider-onboarding--guided .provider-category-fallback {
    margin-top: 1rem;
    border: 1px dashed var(--gray-300);
    border-radius: 0.9rem;
    background: transparent;
}

.provider-publish-summary h2 {
    margin-bottom: 0.35rem;
    font-size: 1.15rem;
}

.provider-onboarding__terms {
    margin-top: 1rem;
    padding: 0.9rem;
    border-radius: 0.9rem;
    background: var(--gray-50);
}

.provider-onboarding--guided .provider-onboarding__actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

/* Provider workspace */
.app-context--provider .app-main {
    width: min(calc(100% - 1rem), 80rem);
}

.provider-workspace {
    display: grid;
    gap: 1rem;
    max-width: 80rem;
    margin-inline: auto;
}

.provider-workspace__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.provider-workspace__identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.85rem;
}

.provider-workspace__avatar {
    display: grid;
    width: 3.4rem;
    height: 3.4rem;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--brand-950);
    color: var(--white);
    box-shadow: var(--shadow-card);
}

.provider-workspace__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-workspace__overline {
    display: block;
    color: var(--accent-700);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.provider-workspace__identity h1 {
    margin: 0.1rem 0 0.2rem;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.provider-workspace__identity p {
    margin: 0;
    overflow: hidden;
    color: var(--gray-500);
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.provider-workspace__top-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.provider-workspace__ghost-action {
    display: none;
    min-height: 2.75rem;
    align-items: center;
    padding-inline: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.8rem;
    background: var(--white);
    color: var(--brand-900);
    font-size: 0.78rem;
    font-weight: 800;
}

.provider-workspace__menu {
    position: relative;
}

.provider-workspace__menu summary {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid var(--gray-200);
    border-radius: 0.8rem;
    background: var(--white);
    cursor: pointer;
    list-style: none;
}

.provider-workspace__menu summary::-webkit-details-marker {
    display: none;
}

.provider-workspace__menu summary svg {
    width: 1.2rem;
    height: 1.2rem;
}

.provider-workspace__menu > div {
    position: absolute;
    z-index: 30;
    top: calc(100% + 0.45rem);
    right: 0;
    display: grid;
    width: 14rem;
    padding: 0.4rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.9rem;
    background: var(--white);
    box-shadow: var(--shadow-elevated);
}

.provider-workspace__menu a,
.provider-workspace__menu button {
    display: flex;
    width: 100%;
    min-height: 2.65rem;
    align-items: center;
    padding-inline: 0.8rem;
    border-radius: 0.65rem;
    color: var(--gray-700);
    font-size: 0.78rem;
    font-weight: 750;
    text-align: left;
}

.provider-workspace__menu a:hover,
.provider-workspace__menu button:hover {
    background: var(--gray-100);
    color: var(--brand-900);
}

.provider-workspace__menu form {
    margin: 0;
}

.provider-workspace__navigation {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    padding: 0.35rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.95rem;
    background: var(--white);
    scrollbar-width: none;
}

.provider-workspace__navigation::-webkit-scrollbar {
    display: none;
}

.provider-workspace__navigation a {
    display: inline-flex;
    min-height: 2.5rem;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.4rem;
    padding-inline: 0.85rem;
    border-radius: 0.7rem;
    color: var(--gray-500);
    font-size: 0.77rem;
    font-weight: 800;
}

.provider-workspace__navigation a.is-active {
    background: var(--brand-950);
    color: var(--white);
}

.provider-workspace__navigation a span {
    display: grid;
    min-width: 1.2rem;
    height: 1.2rem;
    place-items: center;
    border-radius: 999px;
    background: var(--accent-600);
    color: var(--white);
    font-size: 0.62rem;
}

.provider-workspace__layout {
    display: grid;
    gap: 1rem;
}

.provider-workspace__main,
.provider-workspace__aside {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 1rem;
}

.provider-today-card {
    display: grid;
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: 0.9rem;
    padding: clamp(1.1rem, 3vw, 1.5rem);
    border: 1px solid rgb(8 45 89 / 0.1);
    border-radius: 1.25rem;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.provider-today-card__icon {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border-radius: 0.9rem;
    background: rgb(23 93 158 / 0.08);
    color: var(--brand-800);
}

.provider-today-card__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.provider-today-card > div > span {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--accent-700);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.provider-today-card h2 {
    margin-bottom: 0.4rem;
    font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.provider-today-card p {
    margin: 0;
    color: var(--gray-700);
    font-size: 0.86rem;
}

.provider-today-card > a {
    grid-column: 1 / -1;
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding-inline: 1rem;
    border-radius: 0.85rem;
    background: var(--brand-950);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 850;
}

.provider-today-card--urgent {
    border-color: rgb(239 97 8 / 0.25);
    background: linear-gradient(135deg, #fff, #fff6f0);
}

.provider-today-card--urgent .provider-today-card__icon {
    background: var(--accent-100);
    color: var(--accent-700);
}

.provider-today-card--urgent > a,
.provider-today-card--active > a {
    background: var(--accent-600);
}

.provider-opportunities-card,
.provider-profile-health,
.provider-quick-stats,
.provider-business,
.provider-plan-context {
    border: 1px solid rgb(8 45 89 / 0.1);
    border-radius: 1.25rem;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.provider-opportunities-card {
    padding: 1.1rem;
}

.provider-opportunities-card > header,
.provider-profile-health > header,
.provider-business__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.provider-opportunities-card header span,
.provider-profile-health header > div > span,
.provider-business__heading > div > span {
    color: var(--gray-500);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.provider-opportunities-card h2,
.provider-profile-health h2,
.provider-business h2 {
    margin: 0.2rem 0 0;
    font-size: 1.15rem;
}

.provider-opportunities-card header > a {
    color: var(--brand-800);
    font-size: 0.76rem;
    font-weight: 850;
}

.provider-opportunities-card__empty {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.95rem;
    background: var(--gray-50);
}

.provider-opportunities-card__empty > span {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.8rem;
    background: var(--white);
    color: var(--brand-800);
}

.provider-opportunities-card__empty svg {
    width: 1.2rem;
    height: 1.2rem;
}

.provider-opportunities-card__empty strong {
    display: block;
    font-size: 0.87rem;
}

.provider-opportunities-card__empty p {
    margin: 0.25rem 0 0;
    color: var(--gray-500);
    font-size: 0.78rem;
}

.provider-opportunities-card__list {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.8rem;
}

.provider-opportunities-card__list > a {
    display: grid;
    grid-template-columns: 0.55rem minmax(0, 1fr) auto 1.2rem;
    align-items: center;
    gap: 0.7rem;
    min-height: 4.2rem;
    padding: 0.7rem;
    border-radius: 0.85rem;
}

.provider-opportunities-card__list > a:hover {
    background: var(--gray-50);
}

.provider-opportunities-card__state {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--gray-300);
}

.provider-opportunities-card__state.is-new {
    background: var(--accent-600);
    box-shadow: 0 0 0 4px rgb(239 97 8 / 0.1);
}

.provider-opportunities-card__copy {
    min-width: 0;
}

.provider-opportunities-card__copy strong,
.provider-opportunities-card__copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.provider-opportunities-card__copy strong {
    color: var(--brand-950);
    font-size: 0.85rem;
}

.provider-opportunities-card__copy small {
    margin-top: 0.2rem;
    color: var(--gray-500);
    font-size: 0.72rem;
}

.provider-opportunities-card__list em {
    color: var(--accent-700);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 850;
}

.provider-opportunities-card__list svg {
    width: 1rem;
    height: 1rem;
    color: var(--gray-500);
}

.provider-profile-health {
    padding: 1rem;
}

.provider-profile-health__status {
    display: inline-flex;
    min-height: 1.8rem;
    align-items: center;
    padding-inline: 0.65rem;
    border-radius: 999px;
    background: var(--warning-100);
    color: var(--warning-700);
    font-size: 0.65rem;
    font-weight: 850;
}

.provider-profile-health__status.is-active {
    background: var(--success-100);
    color: var(--success-700);
}

.provider-profile-health__bar {
    height: 0.45rem;
    margin: 0.9rem 0;
    overflow: hidden;
    border-radius: 999px;
    background: var(--gray-100);
}

.provider-profile-health__bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand-700), var(--accent-600));
}

.provider-profile-health ul {
    display: grid;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.provider-profile-health li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--gray-500);
    font-size: 0.75rem;
}

.provider-profile-health li svg {
    width: 1rem;
    height: 1rem;
    padding: 0.1rem;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-500);
}

.provider-profile-health li.is-complete {
    color: var(--gray-700);
}

.provider-profile-health li.is-complete svg {
    background: var(--success-100);
    color: var(--success-700);
}

.provider-profile-health > a {
    display: inline-flex;
    margin-top: 0.9rem;
    color: var(--brand-800);
    font-size: 0.75rem;
    font-weight: 850;
}

.provider-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0.4rem;
}

.provider-quick-stats article {
    min-width: 0;
    padding: 0.75rem;
    border-radius: 0.85rem;
}

.provider-quick-stats span,
.provider-quick-stats strong {
    display: block;
}

.provider-quick-stats span {
    min-height: 2.2rem;
    color: var(--gray-500);
    font-size: 0.65rem;
    line-height: 1.25;
}

.provider-quick-stats strong {
    margin-top: 0.25rem;
    color: var(--brand-950);
    font-size: 1rem;
}

.provider-business {
    padding: 1.1rem;
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

.provider-business__heading p {
    display: none;
    max-width: 28rem;
    margin: 0;
    color: var(--gray-500);
    font-size: 0.78rem;
}

.provider-business__grid {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}

.provider-business__grid article {
    display: grid;
    grid-template-columns: 2.65rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.95rem;
    background: var(--gray-50);
}

.provider-business__icon {
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    place-items: center;
    border-radius: 0.8rem;
    background: var(--white);
    color: var(--brand-800);
}

.provider-business__icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.provider-business__grid article > div {
    min-width: 0;
}

.provider-business__grid article > div > span {
    color: var(--gray-500);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.provider-business__grid h3 {
    margin: 0.15rem 0;
    overflow: hidden;
    font-size: 0.87rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.provider-business__grid p {
    margin: 0;
    overflow: hidden;
    color: var(--gray-500);
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.provider-business__grid article > a {
    color: var(--brand-800);
    font-size: 0.72rem;
    font-weight: 850;
}

.provider-plan-context {
    display: grid;
    gap: 0.8rem;
    padding: 1.1rem;
    background:
        linear-gradient(135deg, rgb(8 45 89 / 0.025), rgb(239 97 8 / 0.045)),
        var(--white);
}

.provider-plan-context span {
    color: var(--accent-700);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.provider-plan-context h2 {
    margin: 0.25rem 0 0.35rem;
    font-size: 1.1rem;
}

.provider-plan-context p {
    margin: 0;
    color: var(--gray-500);
    font-size: 0.78rem;
}

.provider-plan-context > a {
    display: inline-flex;
    min-height: 2.8rem;
    align-items: center;
    justify-content: center;
    padding-inline: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.8rem;
    color: var(--brand-800);
    font-size: 0.77rem;
    font-weight: 850;
}

/* Responsive */
@media (max-width: 33.99rem) {
    .search-box__meta {
        grid-template-columns: 1fr;
    }

    .search-box__submit {
        width: 100%;
    }

    .home-search__heading h1 {
        font-size: clamp(2.1rem, 12vw, 3.15rem);
    }

    .provider-onboarding__steps li {
        grid-template-columns: 1.8rem minmax(0, 1fr);
        padding: 0.55rem;
    }

    .provider-onboarding__steps li > span {
        width: 1.7rem;
        height: 1.7rem;
    }

    .provider-profile-preview dl div,
    .provider-publish-summary dl div {
        grid-template-columns: 4.6rem minmax(0, 1fr);
    }

    .provider-quick-stats {
        grid-template-columns: 1fr;
    }

    .provider-quick-stats article {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .provider-quick-stats span {
        min-height: 0;
    }
}

@media (min-width: 48rem) {
    .app-main,
    .app-header__inner {
        width: min(calc(100% - 3rem), 78rem);
    }

    .home-hero__search-card {
        padding: 3rem;
    }

    .home-how__steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-how__steps article {
        grid-template-columns: 1fr;
        align-content: start;
    }

    .home-provider-callout {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .provider-onboarding__header {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .provider-onboarding__save-state {
        margin-bottom: 0.25rem;
    }

    .provider-guided-grid,
    .provider-service-grid {
        grid-template-columns: minmax(0, 1fr) 18rem;
        align-items: start;
    }

    .provider-profile-preview,
    .provider-publish-summary {
        position: sticky;
        top: calc(var(--header-height) + 1rem);
    }

    .provider-service-assistant {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .provider-onboarding--guided .provider-plan-limit {
        min-width: 12rem;
        display: grid;
        gap: 0.1rem;
    }

    .provider-workspace__ghost-action {
        display: inline-flex;
    }

    .provider-workspace__layout {
        grid-template-columns: minmax(0, 1fr) 19rem;
    }

    .provider-today-card {
        grid-template-columns: 3rem minmax(0, 1fr) auto;
        align-items: center;
    }

    .provider-today-card > a {
        grid-column: auto;
        min-width: 10rem;
    }

    .provider-business__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .provider-business__grid article {
        grid-template-columns: 2.65rem minmax(0, 1fr);
    }

    .provider-business__grid article > a {
        grid-column: 2;
    }

    .provider-business__heading p {
        display: block;
    }

    .provider-plan-context {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

@media (min-width: 64rem) {
    .app-header__inner {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 2rem;
    }

    .app-header__brand {
        order: 0;
        justify-content: flex-start;
    }

    .app-header__desktop-navigation {
        display: flex;
        order: 0;
        justify-content: center;
        gap: 0.15rem;
    }

    .app-header__desktop-navigation a {
        padding: 0.65rem 0.9rem;
        font-size: 0.8rem;
    }

    .app-header__desktop-navigation .app-header__provider-link {
        margin-left: 0.3rem;
        border: 1px solid rgb(8 45 89 / 0.13);
        background: var(--white);
    }

    .app-header__account {
        display: inline-flex;
        width: auto;
        min-width: 6.6rem;
        height: 2.75rem;
        gap: 0.45rem;
        padding-inline: 0.9rem;
        border-radius: 0.85rem;
    }

    .app-header__account span {
        display: inline;
        font-size: 0.78rem;
        font-weight: 800;
    }

    .app-header--focused .app-header__inner {
        grid-template-columns: 2.75rem auto minmax(0, 1fr);
    }

    .app-header--focused .app-header__brand {
        justify-content: flex-start;
    }

    .app-header__flow-context {
        display: grid;
        justify-self: end;
        text-align: right;
    }

    .app-header__flow-context small {
        color: var(--gray-500);
        font-size: 0.65rem;
    }

    .app-header__flow-context strong {
        color: var(--brand-950);
        font-size: 0.8rem;
    }

    .home-hero {
        grid-template-columns: minmax(0, 1fr) 20rem;
        align-items: stretch;
        gap: 1.25rem;
    }

    .home-hero__provider {
        align-content: space-between;
        flex-direction: column;
        padding: 1.6rem;
    }

    .home-discovery {
        grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
        align-items: stretch;
    }

    .home-provider-callout {
        grid-template-columns: 1fr;
        align-content: space-between;
    }

    .provider-onboarding__workspace {
        grid-template-columns: 17rem minmax(0, 1fr);
        align-items: start;
        gap: 1.25rem;
    }

    .provider-onboarding__rail {
        position: sticky;
        top: calc(var(--header-height) + 1rem);
        gap: 1.4rem;
        padding: 1.4rem;
    }

    .provider-onboarding__steps {
        grid-template-columns: 1fr;
    }

    .provider-onboarding__steps li {
        padding: 0.8rem;
    }

    .provider-onboarding__steps li small {
        display: block;
        margin-top: 0.15rem;
        font-size: 0.66rem;
    }

    .provider-onboarding__plan-note,
    .provider-onboarding__privacy-note {
        display: block;
        padding-top: 1rem;
        border-top: 1px solid rgb(255 255 255 / 0.12);
    }

    .provider-onboarding__plan-note strong {
        display: block;
        font-size: 1.05rem;
    }

    .provider-onboarding__plan-note p {
        margin: 0.35rem 0 0;
        color: rgb(255 255 255 / 0.62);
        font-size: 0.72rem;
    }

    .provider-onboarding__privacy-note {
        display: flex;
        align-items: flex-start;
        gap: 0.55rem;
        color: rgb(255 255 255 / 0.66);
        font-size: 0.7rem;
    }

    .provider-onboarding__privacy-note svg {
        width: 1rem;
        height: 1rem;
        flex: 0 0 auto;
    }

    .provider-onboarding--guided .provider-onboarding__card {
        padding: 1.5rem;
    }
}


/* Registration entry — one account, clear first intent */
.identity-entry {
    width: 100%;
    min-height: calc(100dvh - var(--app-header-height, 4rem));
    padding: clamp(1rem, 3vw, 2.5rem);
    background:
        radial-gradient(circle at 8% 12%, rgb(239 111 26 / 0.10), transparent 28rem),
        linear-gradient(145deg, #f6f8fb 0%, #ffffff 54%, #f8f4ef 100%);
}

.identity-entry__layout {
    display: grid;
    width: min(100%, 72rem);
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid rgb(8 45 89 / 0.10);
    border-radius: clamp(1.25rem, 3vw, 2rem);
    background: var(--white);
    box-shadow: 0 28px 80px rgb(8 45 89 / 0.12);
}

.identity-entry__story {
    position: relative;
    display: grid;
    align-content: space-between;
    gap: 2rem;
    min-height: 100%;
    padding: clamp(1.4rem, 4vw, 3rem);
    overflow: hidden;
    background:
        radial-gradient(circle at 105% -5%, rgb(239 111 26 / 0.35), transparent 20rem),
        linear-gradient(145deg, #071d34 0%, #0a3158 58%, #124d80 100%);
    color: var(--white);
}

.identity-entry__story::after {
    position: absolute;
    right: -5rem;
    bottom: -8rem;
    width: 21rem;
    height: 21rem;
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 3rem rgb(255 255 255 / 0.035),
        0 0 0 7rem rgb(255 255 255 / 0.025);
    content: '';
    pointer-events: none;
}

.identity-entry__brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 0.7rem;
    color: var(--white);
    text-decoration: none;
}

.identity-entry__brand > span {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 0.8rem;
    background: var(--accent-600, #ef6f1a);
    font-weight: 950;
}

.identity-entry__brand strong {
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}

.identity-entry__story-copy {
    position: relative;
    z-index: 1;
    max-width: 31rem;
}

.identity-entry__story .identity-eyebrow {
    color: #ffb27e;
}

.identity-entry__story-copy h1 {
    max-width: 13ch;
    margin: 0.55rem 0 0.9rem;
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.65rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.identity-entry__story-copy p {
    max-width: 38rem;
    margin: 0;
    color: rgb(255 255 255 / 0.72);
    font-size: 0.95rem;
    line-height: 1.65;
}

.identity-entry__benefits {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.75rem;
}

.identity-entry__benefits article {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 0.75rem;
    border: 1px solid rgb(255 255 255 / 0.09);
    border-radius: 0.9rem;
    background: rgb(255 255 255 / 0.055);
    backdrop-filter: blur(8px);
}

.identity-entry__benefits article > span {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    border-radius: 0.75rem;
    background: rgb(255 255 255 / 0.09);
    color: #ffb27e;
}

.identity-entry__benefits svg {
    width: 1.2rem;
    height: 1.2rem;
}

.identity-entry__benefits strong,
.identity-entry__benefits small {
    display: block;
}

.identity-entry__benefits strong {
    margin-bottom: 0.15rem;
    color: var(--white);
    font-size: 0.79rem;
}

.identity-entry__benefits small,
.identity-entry__privacy {
    color: rgb(255 255 255 / 0.6);
    font-size: 0.7rem;
    line-height: 1.45;
}

.identity-entry__privacy {
    position: relative;
    z-index: 1;
    margin: 0;
}

.identity-entry__card.identity-card--fast {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(1.4rem, 4vw, 2.75rem);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.identity-entry__card .identity-card__intro h2 {
    margin: 0.3rem 0 0.45rem;
    color: var(--brand-950);
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    line-height: 1.05;
}

.identity-entry__card .identity-card__intro p {
    max-width: 34rem;
    margin: 0;
    color: var(--gray-600);
    line-height: 1.55;
}

.identity-role-choice__grid {
    display: grid;
    gap: 0.65rem;
}

.identity-entry .identity-role-card > span {
    grid-template-columns: 2.2rem minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    min-height: 4.5rem;
    padding: 0.8rem;
    border-radius: 0.9rem;
}

.identity-entry .identity-role-card svg {
    width: 1.25rem;
    height: 1.25rem;
}

.identity-entry .identity-role-card > span > svg {
    box-sizing: content-box;
    padding: 0.48rem;
    border-radius: 0.65rem;
    background: var(--gray-50);
    color: var(--brand-800);
}

.identity-entry .identity-role-card b {
    display: grid;
    gap: 0.18rem;
    font-weight: inherit;
}

.identity-entry .identity-role-card input:checked + span > svg {
    background: rgb(239 111 26 / 0.1);
    color: var(--accent-700, #c95000);
}

.identity-entry-plan-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgb(239 111 26 / 0.2);
    border-radius: 0.85rem;
    background: rgb(239 111 26 / 0.06);
}

.identity-entry-plan-note[hidden] {
    display: none;
}

.identity-entry-plan-note > span {
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
    background: var(--accent-600, #ef6f1a);
    color: var(--white);
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.identity-entry-plan-note strong,
.identity-entry-plan-note small {
    display: block;
}

.identity-entry-plan-note strong {
    color: var(--brand-950);
    font-size: 0.79rem;
}

.identity-entry-plan-note small {
    margin-top: 0.12rem;
    color: var(--gray-600);
    font-size: 0.68rem;
    line-height: 1.4;
}

.identity-entry__fields {
    display: grid;
    gap: 0.75rem;
}

.identity-entry__submit {
    display: inline-flex;
    min-height: 3.15rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.identity-entry__submit svg {
    width: 1.15rem;
    height: 1.15rem;
}

.identity-entry .identity-fast-trust span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.identity-entry .identity-fast-trust b {
    display: grid;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--brand-800);
    font-size: 0.6rem;
}

/* Coverage radius is a visible, guided decision rather than a raw input. */
.provider-radius-control {
    display: grid;
    gap: 0.65rem;
    padding: 0.85rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.9rem;
    background: var(--gray-50);
}

.provider-radius-control > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--gray-700);
    font-size: 0.78rem;
}

.provider-radius-control > span b {
    color: var(--brand-950);
}

.provider-radius-control input[type='range'] {
    width: 100%;
    accent-color: var(--accent-600, #ef6f1a);
}

/* Plans remain available, but secondary and calm during controlled launch. */
.plan-grid {
    gap: 1.15rem;
}

.plan-card {
    position: relative;
    border-radius: 1.4rem;
    box-shadow: 0 18px 55px rgb(8 45 89 / 0.08);
}

.plan-card--featured::before {
    position: absolute;
    inset: 0.7rem 0.7rem auto auto;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: var(--accent-600, #ef6f1a);
    color: var(--white);
    content: 'Hasta 4 categorías';
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.plan-card > footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.25rem 1rem;
    align-items: end;
}

.plan-card > footer small {
    grid-column: 1 / -1;
    color: var(--gray-500);
    line-height: 1.4;
}

@media (min-width: 42rem) {
    .identity-role-choice__grid,
    .identity-entry__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .identity-entry__fields .identity-field--phone {
        grid-column: 1 / -1;
    }
}

@media (min-width: 62rem) {
    .identity-entry__layout {
        grid-template-columns: minmax(22rem, 0.82fr) minmax(34rem, 1.18fr);
    }

    .identity-entry__story {
        min-height: 46rem;
    }
}

@media (max-width: 61.99rem) {
    .identity-entry__story-copy h1 {
        max-width: 18ch;
    }

    .identity-entry__benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .identity-entry__benefits article {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 44rem) {
    .identity-entry {
        padding: 0;
        background: var(--white);
    }

    .identity-entry__layout {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .identity-entry__story {
        min-height: auto;
        padding: 1.15rem 1rem 1.3rem;
        border-radius: 0 0 1.35rem 1.35rem;
    }

    .identity-entry__story-copy h1 {
        max-width: 15ch;
        font-size: 2rem;
    }

    .identity-entry__benefits {
        grid-template-columns: 1fr;
    }

    .identity-entry__benefits article:nth-child(n + 2) {
        display: none;
    }

    .identity-entry__privacy {
        display: none;
    }

    .identity-entry__card.identity-card--fast {
        padding: 1.25rem 1rem 6rem;
    }

    .identity-entry .identity-fast-trust {
        grid-template-columns: 1fr;
    }
}

/* H3.3 FIX3 — stronger contrast, explicit progress and calmer request behavior */
.provider-onboarding--guided {
    --h3-ink: #171a1f;
    --h3-graphite: #252a31;
    --h3-orange: #e65f12;
    --h3-amber: #f3a327;
    --h3-sand: #f4ede2;
    --h3-warm-white: #fffdf9;
    --h3-border: #d8c9b5;
    color: var(--h3-ink);
}

.provider-onboarding--guided::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 5%, rgb(230 95 18 / 0.13), transparent 24rem),
        linear-gradient(180deg, #f8f2e9 0%, #f3eee7 48%, #f7f8fa 100%);
}

.provider-onboarding__rail {
    border: 1px solid rgb(255 255 255 / 0.08);
    background:
        radial-gradient(circle at 100% 0%, rgb(243 163 39 / 0.24), transparent 15rem),
        linear-gradient(165deg, #252a31 0%, #15181d 100%);
    color: #fff;
    box-shadow: 0 22px 54px rgb(18 20 24 / 0.2);
}

.provider-onboarding__rail-heading > span,
.provider-onboarding__plan-note > span {
    color: #ffc36c;
}

.provider-onboarding__steps li {
    border-color: rgb(255 255 255 / 0.14);
    background: rgb(255 255 255 / 0.055);
}

.provider-onboarding__steps li strong {
    color: #fff;
}

.provider-onboarding__steps li small {
    color: rgb(255 255 255 / 0.67);
}

.provider-onboarding__steps li.is-current {
    border-color: rgb(243 163 39 / 0.85);
    background: linear-gradient(135deg, rgb(230 95 18 / 0.25), rgb(243 163 39 / 0.08));
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.04);
}

.provider-onboarding__steps li.is-current > span,
.provider-onboarding__steps li.is-complete > span {
    background: linear-gradient(135deg, var(--h3-orange), var(--h3-amber));
    color: #1a1a1a;
}

.provider-onboarding__plan-note,
.provider-onboarding__privacy-note {
    border-color: rgb(255 255 255 / 0.13);
    background: rgb(255 255 255 / 0.07);
}

.provider-onboarding--guided .provider-onboarding__card,
.provider-step-success,
.provider-verification-reminder--clear {
    border: 1px solid var(--h3-border);
    background: var(--h3-warm-white);
    box-shadow: 0 18px 42px rgb(40 34 27 / 0.1);
}

.provider-verification-reminder--clear {
    position: relative;
    overflow: hidden;
    border-left: 0.32rem solid var(--h3-orange);
    background:
        linear-gradient(110deg, rgb(255 247 234 / 0.98), rgb(255 253 249 / 0.98));
}

.provider-verification-reminder--clear::after {
    content: "";
    position: absolute;
    right: -3rem;
    top: -4rem;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background: rgb(243 163 39 / 0.13);
}

.provider-verification-reminder__kicker {
    display: block;
    margin-bottom: 0.2rem;
    color: #9c3d08;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.provider-verification-reminder small.is-success {
    color: #166534;
    font-weight: 750;
}

.provider-verification-reminder small.is-warning {
    color: #92400e;
    font-weight: 750;
}

.provider-step-success,
.provider-publication-state,
.provider-next-step-note {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
}

.provider-step-success {
    margin-bottom: 1rem;
    border-color: #a7d8b8;
    background: #f1fbf4;
}

.provider-step-success > span,
.provider-publication-state > span,
.provider-next-step-note > span {
    display: grid;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    font-weight: 900;
}

.provider-step-success > span,
.provider-publication-state.is-ready > span {
    background: #1f7a45;
    color: #fff;
}

.provider-publication-state {
    margin-bottom: 1rem;
    border: 1px solid #e4c07d;
    background: #fff8e9;
}

.provider-publication-state.is-ready {
    border-color: #a7d8b8;
    background: #f1fbf4;
}

.provider-publication-state.is-pending > span,
.provider-next-step-note > span {
    background: linear-gradient(135deg, var(--h3-orange), var(--h3-amber));
    color: #1b1b1b;
}

.provider-step-success strong,
.provider-publication-state strong,
.provider-next-step-note strong {
    display: block;
    color: var(--h3-ink);
}

.provider-step-success p,
.provider-publication-state p,
.provider-next-step-note p {
    margin: 0.2rem 0 0;
    color: #535860;
    line-height: 1.5;
}

.provider-next-step-note {
    margin-top: 1rem;
    border: 1px solid #e6c99d;
    background: #fff9ef;
}

.provider-onboarding--guided .identity-field input,
.provider-onboarding--guided .identity-field select,
.provider-onboarding--guided .provider-trade-search__field,
.provider-onboarding--guided .provider-radius-control {
    border-color: #c9b89f;
    background: #fff;
}

.provider-onboarding--guided .identity-field input:focus,
.provider-onboarding--guided .identity-field select:focus,
.provider-onboarding--guided .provider-trade-search__field:focus-within {
    border-color: var(--h3-orange);
    box-shadow: 0 0 0 4px rgb(230 95 18 / 0.12);
}

.provider-onboarding--guided .identity-button--primary {
    border-color: #c84c08;
    background: linear-gradient(135deg, #e65f12, #f39b22);
    color: #171717;
    box-shadow: 0 12px 24px rgb(230 95 18 / 0.22);
}

.provider-onboarding--guided .identity-button--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 30px rgb(230 95 18 / 0.29);
}

.provider-onboarding--guided button:disabled,
.provider-onboarding--guided .identity-button:disabled {
    cursor: wait;
    opacity: 0.62;
    transform: none;
}

.provider-submit-status {
    min-height: 1.1rem;
    color: #7a3a11;
    font-size: 0.78rem;
    font-weight: 800;
}

.provider-trade-search__status {
    min-height: 1.25rem;
    margin: 0.5rem 0 0;
    color: #646970;
    font-size: 0.78rem;
    font-weight: 700;
}

.provider-trade-search__status[data-state="loading"] {
    color: #9c3d08;
}

.provider-trade-search__status[data-state="success"] {
    color: #166534;
}

.provider-trade-search__status[data-state="warning"] {
    color: #9a3412;
}

.provider-avatar-picker {
    border-color: #d0b892 !important;
    background: linear-gradient(135deg, #fffaf2, #fff) !important;
}

.provider-avatar-picker__preview {
    border: 3px solid #fff;
    outline: 2px solid rgb(230 95 18 / 0.32);
    box-shadow: 0 8px 20px rgb(31 34 40 / 0.15);
}

.provider-avatar-action {
    border-color: #bf7a3f;
    background: #fff;
    color: #7d330a;
}

.provider-profile-preview,
.provider-publish-summary {
    border-color: #cab89d;
    background:
        radial-gradient(circle at 100% 0%, rgb(243 163 39 / 0.12), transparent 12rem),
        #fff;
}

@media (max-width: 61.99rem) {
    .provider-onboarding__rail {
        background: linear-gradient(135deg, #252a31, #181b20);
    }

    .provider-verification-reminder--clear,
    .provider-step-success {
        margin-inline: 0;
    }

    .provider-onboarding__actions {
        align-items: stretch;
    }

    .provider-submit-status {
        order: 2;
        text-align: center;
    }
}

/* H3.3 FIX6 — registration copy, legibility and header containment */
html,
body {
    max-width: 100%;
}

html {
    overflow-x: hidden;
}

body {
    min-width: 0;
    overflow-x: clip;
}

.app-header,
.app-header__inner,
.app-header__inner > *,
.app-header__brand,
.app-header__desktop-navigation,
.app-header__account {
    min-width: 0;
}

.app-header {
    width: 100%;
    max-width: 100%;
}

.app-header__inner {
    box-sizing: border-box;
    width: min(calc(100% - 2rem), 78rem);
    max-width: calc(100% - 2rem);
    margin-inline: auto;
}

.app-header__brand {
    max-width: 10rem;
    padding-inline: 0;
}

.app-header__brand img {
    display: block;
    max-width: 100%;
}

.app-header__desktop-navigation {
    max-width: 100%;
}

.app-header__account {
    justify-self: end;
    flex: 0 0 auto;
    white-space: nowrap;
}

.identity-entry__story-copy p,
.identity-entry__card .identity-card__intro p {
    font-size: 1rem;
}

.identity-entry__benefits strong {
    font-size: 0.9rem;
    line-height: 1.35;
}

.identity-entry__benefits small,
.identity-entry__privacy,
.identity-entry-plan-note small,
.identity-entry .identity-field > small,
.identity-entry .identity-note,
.identity-entry .identity-card__footer {
    font-size: 0.875rem;
    line-height: 1.5;
}

.identity-entry-plan-note strong,
.identity-entry .identity-field > span {
    font-size: 0.9rem;
    line-height: 1.35;
}

.identity-entry .identity-fast-trust span {
    min-width: 0;
    padding: 0.65rem 0.55rem;
    font-size: 0.82rem;
    line-height: 1.35;
}

.identity-entry .identity-fast-trust em {
    min-width: 0;
    overflow-wrap: anywhere;
    font-style: normal;
}

@media (min-width: 64rem) {
    .app-header__inner {
        width: min(calc(100% - 3rem), 78rem);
        max-width: calc(100% - 3rem);
        grid-template-columns:
            minmax(8rem, auto)
            minmax(0, 1fr)
            minmax(6.6rem, auto);
        gap: clamp(0.75rem, 2vw, 2rem);
    }

    .app-header__desktop-navigation {
        flex-wrap: nowrap;
        justify-self: center;
    }

    .app-header__desktop-navigation a {
        white-space: nowrap;
    }
}

@media (max-width: 70rem) and (min-width: 64rem) {
    .app-header__inner {
        gap: 0.75rem;
    }

    .app-header__desktop-navigation a {
        padding-inline: 0.65rem;
    }
}

@media (max-width: 44rem) {
    .app-header__inner {
        width: min(calc(100% - 1.25rem), 78rem);
        max-width: calc(100% - 1.25rem);
    }

    .identity-entry__story-copy p,
    .identity-entry__card .identity-card__intro p {
        font-size: 0.95rem;
    }

    .identity-entry__benefits small,
    .identity-entry-plan-note small,
    .identity-entry .identity-field > small,
    .identity-entry .identity-note,
    .identity-entry .identity-card__footer {
        font-size: 0.82rem;
    }
}

/* H3.3 FIX7 — compact mobile registration and unobstructed form */
.app-flow--registration .app-shell,
.app-flow--registration .app-main {
    padding-bottom: 0;
}

@media (max-width: 44rem) {
    .identity-entry__story {
        gap: 0.85rem;
        padding: 0.9rem 1rem 1rem;
    }

    .identity-entry__brand {
        gap: 0.55rem;
    }

    .identity-entry__brand > span {
        width: 2.15rem;
        height: 2.15rem;
        border-radius: 0.7rem;
        font-size: 0.9rem;
    }

    .identity-entry__brand strong {
        font-size: 0.86rem;
    }

    .identity-entry__story-copy h1 {
        max-width: 16ch;
        margin: 0.35rem 0 0.55rem;
        font-size: 1.82rem;
        line-height: 1.02;
    }

    .identity-entry__story-copy p {
        max-width: 31rem;
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .identity-entry__benefits {
        gap: 0.5rem;
    }

    .identity-entry__benefits article {
        grid-template-columns: 2rem minmax(0, 1fr);
        align-items: center;
        gap: 0.65rem;
        padding: 0.62rem 0.72rem;
        border-radius: 0.8rem;
    }

    .identity-entry__benefits article > span {
        width: 2rem;
        height: 2rem;
        border-radius: 0.65rem;
    }

    .identity-entry__benefits svg {
        width: 1.05rem;
        height: 1.05rem;
    }

    .identity-entry__benefits strong {
        margin-bottom: 0.05rem;
        font-size: 0.84rem;
        line-height: 1.3;
    }

    .identity-entry__benefits small {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .identity-entry__card.identity-card--fast {
        padding: 1.1rem 1rem calc(2rem + env(safe-area-inset-bottom));
    }
}


/* Source: resources/css/pages/h4-unified.css */
/* H4 FINAL — Mercadito Amelia unified visual system */

:root {
    --h4-page-max: 76rem;
    --h4-content-max: 68rem;
    --h4-header-height: 5rem;
    --h4-mobile-gutter: 1rem;
    --h4-desktop-gutter: 2rem;
    --h4-surface-border: rgb(8 45 89 / 0.10);
    --h4-soft-blue: #f1f5fa;
    --h4-ink: #071d3a;
    --h4-muted: #59687b;
    --h4-shadow: 0 16px 45px rgb(6 26 53 / 0.08);
    --h4-shadow-strong: 0 24px 60px rgb(6 26 53 / 0.13);
}

html,
body {
    overflow-x: clip;
}

body {
    background:
        linear-gradient(180deg, #ffffff 0, #f7f9fc 12rem, #f5f7fb 100%);
    color: var(--h4-ink);
}

body,
button,
input,
textarea,
select {
    letter-spacing: normal;
}

h1,
h2,
h3,
h4 {
    color: var(--h4-ink);
    letter-spacing: -0.035em;
}

p {
    color: var(--h4-muted);
}

.app-shell {
    padding-bottom: calc(var(--bottom-navigation-height) + 1.25rem + env(safe-area-inset-bottom));
}

.app-main {
    width: min(calc(100% - 2rem), var(--h4-page-max));
    padding-block: 1.5rem 3rem;
}

/* Header */
.app-header {
    height: var(--h4-header-height);
    border-bottom: 1px solid var(--h4-surface-border);
    background: rgb(255 255 255 / 0.97);
    box-shadow: 0 5px 18px rgb(6 26 53 / 0.035);
}

.app-header__inner {
    width: min(calc(100% - 2rem), var(--h4-page-max));
    grid-template-columns: 3rem minmax(0, 1fr) 3rem;
}

.app-header__menu,
.app-header__account,
.app-header__flow-close {
    width: 3rem;
    height: 3rem;
    border: 1px solid rgb(8 45 89 / 0.10);
    border-radius: 1rem;
    background: #fff;
}

.app-header__menu:hover,
.app-header__account:hover,
.app-header__flow-close:hover {
    border-color: rgb(8 45 89 / 0.18);
    background: var(--h4-soft-blue);
}

.app-header__brand {
    height: 4.25rem;
    padding: 0;
}

.app-header__brand img {
    width: auto;
    max-width: 7.25rem;
    max-height: 3.75rem;
}

.app-header__desktop-navigation a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    padding-inline: 1rem;
    border-radius: 0.9rem;
    color: #405066;
    font-size: 0.9rem;
    font-weight: 750;
}

.app-header__desktop-navigation a:hover,
.app-header__desktop-navigation a.is-active {
    background: #eef3f8;
    color: var(--brand-950);
}

.app-header__desktop-navigation .app-header__provider-link {
    border: 1px solid rgb(8 45 89 / 0.13);
    background: #fff;
}

.app-header__account {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    justify-content: center;
    color: var(--brand-900);
}

/* Drawer */
.app-drawer__panel {
    width: min(21rem, calc(100% - 2.5rem));
    padding-inline: 1.25rem;
}

.app-drawer__panel header {
    min-height: 4.75rem;
}

.app-drawer__brand {
    display: flex;
    align-items: center;
}

.app-drawer__brand img {
    width: auto;
    max-width: 7.5rem;
    max-height: 3.75rem;
}

.app-drawer__panel nav {
    gap: 0.25rem;
    margin-top: 1rem;
}

.app-drawer__section-label {
    margin-top: 1.1rem;
    color: #738094;
    font-size: 0.69rem;
}

.app-drawer__panel nav a {
    min-height: 3.25rem;
    padding: 0.8rem 0.95rem;
    border-radius: 0.85rem;
    font-size: 1rem;
    font-weight: 720;
}

/* Bottom navigation */
.bottom-navigation {
    min-height: calc(4.75rem + env(safe-area-inset-bottom));
    padding: 0.45rem max(0.6rem, env(safe-area-inset-right)) max(0.45rem, env(safe-area-inset-bottom)) max(0.6rem, env(safe-area-inset-left));
    border-top-color: rgb(8 45 89 / 0.09);
    box-shadow: 0 -10px 30px rgb(6 26 53 / 0.07);
}

.bottom-navigation__item {
    min-height: 3.75rem;
    gap: 0.25rem;
    border-radius: 1rem;
    font-size: 0.72rem;
    font-weight: 760;
}

.bottom-navigation__item svg {
    width: 1.4rem;
    height: 1.4rem;
}

.bottom-navigation__item.is-active {
    background: #edf3f8;
}

/* Home */
.page-context--home .app-main {
    padding-top: 1.25rem;
}

.home-page,
.home-hero {
    width: 100%;
    max-width: none;
}

.home-hero {
    display: grid;
    gap: 1rem;
    align-items: stretch;
}

.home-hero__search-card {
    min-width: 0;
    padding: clamp(1.35rem, 3.6vw, 3rem);
    border: 1px solid var(--h4-surface-border);
    border-radius: clamp(1.35rem, 2.8vw, 2rem);
    background: #fff;
    box-shadow: var(--h4-shadow);
}

.home-search {
    display: block;
    padding: 0;
    text-align: left;
}

.home-search__assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin: 0 0 1rem;
    color: #435269;
    font-size: 0.82rem;
    font-weight: 760;
}

.home-search__assurances span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.home-search__assurances svg {
    width: 1.05rem;
    height: 1.05rem;
    color: var(--success-700);
    stroke-width: 2.4;
}

.home-search__heading {
    max-width: 46rem;
    margin: 0;
}

.home-search__eyebrow,
.home-section-kicker,
.home-section-heading > span,
.home-hero__provider > div > span {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--accent-700);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.085em;
    text-transform: uppercase;
}

.home-search__heading h1 {
    max-width: 43rem;
    margin: 0 0 0.75rem;
    font-size: clamp(2.6rem, 5.5vw, 4.65rem);
    line-height: 0.98;
}

.home-search__heading p {
    max-width: 41rem;
    margin: 0;
    color: #445267;
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    line-height: 1.55;
}

.search-box {
    width: 100%;
    max-width: none;
    margin-top: 1.35rem;
    gap: 0.7rem;
}

.search-box__field {
    min-height: 4.5rem;
    border: 1.5px solid rgb(8 45 89 / 0.28);
    border-radius: 1.1rem;
    background: #fff;
    box-shadow: 0 0 0 4px rgb(8 45 89 / 0.035);
}

.search-box__field:focus-within {
    border-color: var(--accent-600);
    box-shadow: 0 0 0 4px rgb(239 97 8 / 0.11), 0 14px 36px rgb(6 26 53 / 0.08);
}

.search-box input {
    height: 4.4rem;
    font-size: 1rem;
}

.search-box__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
}

.home-location {
    min-height: 3.65rem;
    margin: 0;
    border-radius: 1rem;
    box-shadow: none;
}

.search-box__submit {
    min-width: 10.75rem;
    min-height: 3.65rem;
    border-radius: 1rem;
    box-shadow: 0 12px 24px rgb(239 97 8 / 0.20);
}

.search-box__help {
    margin: 0;
    color: #6b788b;
    font-size: 0.8rem;
    text-align: left;
}

.home-hero__provider {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(155deg, #071d3a 0%, #0a3565 100%);
    box-shadow: var(--h4-shadow-strong);
}

.home-hero__provider strong {
    display: block;
    margin-top: 0.1rem;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.15;
}

.home-hero__provider p {
    margin: 0.7rem 0 1rem;
    color: rgb(255 255 255 / 0.78);
    font-size: 0.93rem;
    line-height: 1.5;
}

.home-hero__provider a {
    min-height: 3rem;
    padding-inline: 1.1rem;
}

.home-discovery {
    gap: 1rem;
    margin-top: 1rem;
}

.home-how,
.home-provider-callout {
    border-color: var(--h4-surface-border);
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgb(6 26 53 / 0.04);
}

.home-how__steps article {
    background: #f8fafc;
}

/* Shared page headers */
.account-hero,
.commercial-hero,
.request-index__hero {
    display: grid;
    gap: 1rem;
    align-items: end;
    padding: clamp(1.4rem, 3vw, 2.25rem);
    border: 1px solid var(--h4-surface-border);
    border-radius: 1.55rem;
    background: #fff;
    box-shadow: var(--h4-shadow);
}

.account-hero h1,
.commercial-hero h1,
.request-index__hero h1 {
    margin-bottom: 0.55rem;
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.account-hero p,
.commercial-hero p,
.request-index__hero p {
    max-width: 44rem;
    margin: 0;
    color: var(--h4-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.identity-eyebrow {
    color: var(--accent-700);
    font-size: 0.73rem;
    letter-spacing: 0.085em;
}

.identity-button,
.primary-button,
.secondary-button,
.search-box__submit,
.provider-today-card > a {
    min-height: 3.1rem;
    border-radius: 0.9rem;
    font-weight: 820;
}

.identity-button--primary,
.primary-button,
.search-box__submit {
    background: var(--accent-600);
    color: #fff;
}

.identity-button--secondary,
.secondary-button {
    border: 1px solid rgb(8 45 89 / 0.16);
    background: #fff;
    color: var(--brand-900);
}

.identity-alert {
    border-radius: 1rem;
    font-size: 0.92rem;
}

/* Provider workspace */
.provider-workspace {
    display: grid;
    gap: 1rem;
}

.provider-workspace__topbar {
    padding: 1rem 0.25rem;
}

.provider-workspace__identity {
    align-items: center;
}

.provider-workspace__avatar {
    width: 4.75rem;
    height: 4.75rem;
    border-radius: 1.25rem;
    box-shadow: 0 8px 24px rgb(6 26 53 / 0.10);
}

.provider-workspace__overline {
    color: var(--accent-700);
}

.provider-workspace__identity h1 {
    margin-bottom: 0.2rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.provider-workspace__welcome-copy {
    margin-bottom: 0.25rem !important;
    color: #405066 !important;
    font-size: 0.95rem;
}

.provider-workspace__navigation {
    padding: 0.45rem;
    border: 1px solid var(--h4-surface-border);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 6px 18px rgb(6 26 53 / 0.035);
}

.provider-workspace__navigation a {
    min-height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
}

.provider-workspace__layout {
    gap: 1rem;
}

.provider-workspace__main,
.provider-workspace__aside {
    gap: 1rem;
}

.provider-today-card,
.provider-opportunities-card,
.provider-profile-health,
.provider-quick-stats,
.provider-business,
.provider-plan-context,
.request-list-card,
.opportunity-card,
.response-card,
.proposal-form,
.plan-card,
.account-card,
.empty-state {
    border: 1px solid var(--h4-surface-border);
    border-radius: 1.35rem;
    background: #fff;
    box-shadow: 0 10px 30px rgb(6 26 53 / 0.055);
}

.provider-today-card {
    padding: clamp(1.25rem, 3vw, 1.8rem);
}

.provider-today-card h2 {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.provider-opportunities-card,
.provider-profile-health,
.provider-business,
.provider-plan-context {
    padding: 1.25rem;
}

.provider-quick-stats article {
    background: #f6f8fb;
}

.provider-business__grid > article {
    border-color: var(--h4-surface-border);
    background: #f8fafc;
}

/* Requests and opportunities */
.request-index,
.request-detail,
.opportunity-response,
.account-shell {
    width: min(100%, var(--h4-content-max));
    margin-inline: auto;
}

.request-list,
.opportunity-list {
    gap: 1rem;
    margin-top: 1rem;
}

.request-list-card,
.opportunity-card {
    padding: 1.25rem;
}

.request-list-card h2,
.opportunity-card h2 {
    margin: 0.6rem 0 0.35rem;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    line-height: 1.12;
}

.request-list-card dl,
.opportunity-card dl,
.response-facts {
    gap: 0.65rem;
}

.request-list-card dl > div,
.opportunity-card dl > div,
.response-facts > div {
    border-radius: 0.95rem;
    background: #f6f8fb;
}

.status-pill {
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 850;
}

.request-detail__header {
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid var(--h4-surface-border);
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: var(--h4-shadow);
}

.request-detail__header h1 {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    line-height: 1.02;
}

.proposal-form {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.proposal-form h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.identity-field {
    gap: 0.45rem;
}

.identity-field > span,
.identity-field > strong {
    color: var(--h4-ink);
    font-size: 0.95rem;
    font-weight: 780;
}

.identity-field input,
.identity-field textarea,
.identity-field select,
.proposal-form input,
.proposal-form textarea,
.proposal-form select {
    min-height: 3.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.95rem;
    background: #fff;
    font-size: 1rem;
}

.identity-field textarea,
.proposal-form textarea {
    min-height: 8rem;
}

/* Plans */
.page-context--plans .app-main {
    width: min(calc(100% - 2rem), 70rem);
}

.plan-grid {
    gap: 1rem;
}

.plan-card {
    overflow: hidden;
    padding: 1.5rem;
}

.plan-card--featured {
    border: 2px solid var(--accent-600);
    box-shadow: 0 20px 50px rgb(239 97 8 / 0.13);
}

.plan-card h2 {
    font-size: 2rem;
}

.plan-card__facts > div {
    border-color: #e4e9f0;
}

.managed-callout {
    border-radius: 1.35rem;
}

/* Account */
.account-grid {
    gap: 1rem;
}

.account-card {
    padding: 1.35rem;
}

/* Mobile */
@media (max-width: 47.99rem) {
    .app-main {
        width: min(calc(100% - 1.25rem), var(--h4-page-max));
        padding-top: 0.85rem;
    }

    .page-context--home .app-main {
        width: 100%;
        padding-top: 0;
    }

    .page-context--home .home-page {
        padding-inline: 0.65rem;
    }

    .app-header__inner {
        width: min(calc(100% - 1.25rem), var(--h4-page-max));
    }

    .app-header__brand img {
        max-width: 6.5rem;
        max-height: 3.45rem;
    }

    .home-hero__search-card {
        padding: 1.25rem 1rem 1.15rem;
        border-radius: 0 0 1.5rem 1.5rem;
        border-top: 0;
    }

    .home-search__assurances {
        margin-bottom: 0.8rem;
        font-size: 0.78rem;
    }

    .home-search__heading h1 {
        max-width: 20rem;
        font-size: clamp(2.45rem, 12vw, 3.4rem);
    }

    .home-search__heading p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .search-box {
        margin-top: 1rem;
    }

    .search-box__field {
        min-height: 4rem;
    }

    .search-box input {
        height: 3.9rem;
    }

    .search-box__meta {
        grid-template-columns: 1fr;
    }

    .home-location,
    .search-box__submit {
        width: 100%;
        min-height: 3.5rem;
    }

    .search-box__help {
        font-size: 0.78rem;
    }

    .home-hero__provider {
        margin-inline: 0.35rem;
        padding: 1.2rem;
    }

    .home-discovery {
        margin-inline: 0.35rem;
    }

    .home-how,
    .home-provider-callout {
        padding: 1.25rem;
    }

    .provider-workspace__topbar {
        align-items: flex-start;
    }

    .provider-workspace__avatar {
        width: 4rem;
        height: 4rem;
    }

    .provider-workspace__identity h1 {
        font-size: 2rem;
    }

    .provider-workspace__welcome-copy {
        max-width: 18rem;
    }

    .provider-workspace__navigation {
        display: none;
    }

    .provider-today-card,
    .provider-opportunities-card,
    .provider-profile-health,
    .provider-business,
    .provider-plan-context,
    .request-list-card,
    .opportunity-card,
    .response-card,
    .proposal-form,
    .plan-card,
    .account-card,
    .empty-state {
        border-radius: 1.2rem;
    }

    .account-hero,
    .commercial-hero,
    .request-index__hero {
        padding: 1.25rem;
        border-radius: 1.25rem;
    }

    .request-detail__header h1 {
        font-size: 2.45rem;
    }

    .opportunity-card h2,
    .request-list-card h2 {
        overflow-wrap: anywhere;
    }
}

/* Desktop */
@media (min-width: 64rem) {
    .app-shell {
        padding-bottom: 0;
    }

    .app-main {
        padding-block: 2rem 4rem;
    }

    .app-header__inner {
        display: grid;
        grid-template-columns: 10rem minmax(0, 1fr) 10rem;
        gap: 1rem;
    }

    .app-header__brand {
        justify-content: flex-start;
    }

    .app-header__brand img {
        max-width: 7.5rem;
    }

    .app-header__desktop-navigation {
        display: flex;
        justify-content: center;
    }

    .app-header__account {
        justify-self: end;
        width: auto;
        min-width: 7.5rem;
        padding-inline: 1rem;
        border-radius: 0.9rem;
    }

    .app-header__account span {
        display: inline;
        font-size: 0.86rem;
        font-weight: 780;
    }

    .home-hero {
        grid-template-columns: minmax(0, 2.45fr) minmax(17rem, 0.85fr);
    }

    .home-hero__provider {
        min-height: 100%;
    }

    .home-discovery {
        grid-template-columns: minmax(0, 2fr) minmax(18rem, 0.9fr);
    }

    .home-provider-callout {
        align-content: start;
    }

    .account-hero,
    .commercial-hero,
    .request-index__hero {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .provider-workspace__layout {
        grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 0.75fr);
    }
}

/* H4 PANEL FIRST — account, provider panel and opportunity workspace */
.app-header__brand img {
    max-width: 8.25rem;
    max-height: 4rem;
}

.account-shell--workspace {
    width: min(100%, 72rem);
}

.account-overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--h4-surface-border);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 10px 30px rgb(6 26 53 / 0.05);
}

.account-overview__identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.9rem;
}

.account-overview__avatar {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 1rem;
    background: var(--brand-950);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 900;
}

.account-overview h1 {
    margin: 0.1rem 0 0.2rem;
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    line-height: 1.05;
}

.account-overview p {
    max-width: 40rem;
    margin: 0;
    color: var(--h4-muted);
    font-size: 0.95rem;
}

.account-overview__logout {
    flex: 0 0 auto;
    margin: 0;
}

.account-link-button {
    min-height: 2.75rem;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--h4-surface-border);
    border-radius: 0.8rem;
    background: #fff;
    color: var(--brand-900);
    font-size: 0.82rem;
    font-weight: 800;
}

.account-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.account-quick-actions a {
    display: inline-flex;
    min-width: 0;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--h4-surface-border);
    border-radius: 0.9rem;
    background: #fff;
    color: var(--brand-900);
    font-size: 0.88rem;
    font-weight: 800;
    text-align: center;
}

.account-quick-actions a.is-primary {
    border-color: var(--accent-600);
    background: var(--accent-600);
    color: #fff;
}

.account-workspace-grid {
    display: grid;
    gap: 1rem;
}

.account-workspace-main,
.account-workspace-side {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 1rem;
}

.account-card--provider-focus {
    padding: clamp(1.35rem, 3vw, 2rem);
}

.account-card__kicker {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--accent-700);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-card--provider-focus h2,
.account-card--compact h2 {
    margin: 0 0 0.55rem;
    color: var(--h4-ink);
}

.account-card--provider-focus h2 {
    font-size: clamp(1.55rem, 3vw, 2rem);
}

.account-card--provider-focus > p,
.account-card--compact > p {
    margin: 0;
    color: var(--h4-muted);
    line-height: 1.55;
}

.account-plan-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: #f5f8fb;
}

.account-plan-line span {
    color: var(--h4-muted);
    font-size: 0.86rem;
}

.account-plan-line strong {
    color: var(--brand-950);
}

.account-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1rem;
}

.account-actions-grid .identity-button {
    width: 100%;
    min-width: 0;
    margin: 0;
    white-space: normal;
    text-align: center;
}

.account-actions-grid .identity-button:first-child {
    grid-column: 1 / -1;
}

.account-provider-activation {
    display: grid;
    gap: 1rem;
    margin-top: 1.2rem;
}

.account-provider-activation .identity-button {
    width: 100%;
    margin: 0;
    white-space: normal;
    text-align: center;
}

.account-entry-plan {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgb(239 97 8 / 0.22);
    border-radius: 1rem;
    background: #fff8f3;
}

.account-entry-plan__badge {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    padding-inline: 0.65rem;
    border-radius: 999px;
    background: var(--accent-600);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.account-entry-plan strong {
    display: block;
    color: var(--h4-ink);
    font-size: 0.95rem;
}

.account-entry-plan p {
    margin: 0.25rem 0 0;
    color: var(--h4-muted);
    font-size: 0.87rem;
    line-height: 1.45;
}

.account-card--compact {
    padding: 1.2rem;
}

.account-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.account-status {
    flex: 0 0 auto;
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    background: #eef2f6;
    color: #526174;
    font-size: 0.72rem;
    font-weight: 850;
}

.account-status.is-ok {
    background: #e8f7ef;
    color: #17663b;
}

.account-status.is-pending {
    background: #fff3e8;
    color: #9a4300;
}

.account-details--rows {
    gap: 0;
    margin-top: 0.7rem;
}

.account-details--rows div {
    grid-template-columns: minmax(6rem, 0.7fr) minmax(0, 1.3fr);
    gap: 0.75rem;
    padding-block: 0.7rem;
    border-top: 1px solid #edf1f5;
}

.account-details--rows dt {
    align-self: center;
}

.account-details--rows dd {
    text-align: right;
}

.account-card--compact form,
.account-card--compact .identity-button {
    width: 100%;
    margin-top: 0.85rem;
}

.account-card--security {
    background: #f8fafc;
    box-shadow: none;
}

.account-text-link {
    display: inline-flex;
    margin-top: 0.8rem;
    color: var(--brand-800);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.provider-workspace {
    gap: 0.85rem;
}

.provider-workspace__topbar {
    padding: 0.4rem 0.1rem 0.65rem;
}

.provider-workspace__identity h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.provider-workspace__welcome-copy {
    font-size: 0.9rem;
}

.provider-workspace__navigation {
    max-width: 46rem;
}

.provider-workspace__navigation a {
    min-width: 7.25rem;
}

.provider-today-card {
    grid-template-columns: 2.6rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    padding: 1.15rem 1.2rem;
}

.provider-today-card__icon {
    width: 2.6rem;
    height: 2.6rem;
}

.provider-today-card h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

.provider-today-card p {
    font-size: 0.9rem;
}

.provider-today-card > a {
    grid-column: auto;
    min-width: 10.5rem;
    min-height: 2.9rem;
    white-space: nowrap;
}

.provider-opportunities-card,
.provider-profile-health,
.provider-business,
.provider-plan-context {
    padding: 1.1rem;
}

.provider-opportunities-card__list > a {
    min-height: 4rem;
    padding-block: 0.75rem;
}

.provider-opportunities-card__copy strong {
    font-size: 0.95rem;
}

.provider-quick-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.provider-quick-stats article {
    min-width: 0;
    padding: 0.85rem;
}

.provider-quick-stats span {
    font-size: 0.72rem;
}

.provider-quick-stats strong {
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.provider-business__grid article {
    min-width: 0;
}

.request-index__hero--compact {
    padding: 1.25rem 1.4rem;
}

.request-index__hero--compact h1 {
    font-size: clamp(1.9rem, 4vw, 2.65rem);
}

.opportunity-card {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 1rem;
}

.opportunity-card > div,
.opportunity-card dl {
    min-width: 0;
}

.opportunity-card dl {
    min-width: 15rem;
}

.opportunity-card > a {
    min-width: 9.5rem;
    text-align: center;
    white-space: nowrap;
}

.request-detail__header--compact {
    align-items: start;
    padding: 1.25rem 1.4rem;
}

.request-detail__header--compact h1 {
    max-width: 48rem;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.08;
}

.opportunity-response__summary {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.response-card--primary {
    padding: 1.25rem;
}

.proposal-form {
    padding: 0;
    box-shadow: none;
    border: 0;
}

@media (min-width: 64rem) {
    .app-header__inner {
        grid-template-columns: 12rem minmax(0, 1fr) 12rem;
    }

    .app-header__brand img {
        max-width: 9.5rem;
    }

    .account-workspace-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(19rem, 0.75fr);
    }
}

@media (max-width: 63.99rem) {
    .provider-today-card {
        grid-template-columns: 2.6rem minmax(0, 1fr);
    }

    .provider-today-card > a {
        grid-column: 1 / -1;
        width: 100%;
    }

    .opportunity-card {
        grid-template-columns: 1fr;
    }

    .opportunity-card dl,
    .opportunity-card > a {
        min-width: 0;
        width: 100%;
    }

    .opportunity-response__summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 47.99rem) {
    .app-header__brand img {
        max-width: 7.35rem;
        max-height: 3.75rem;
    }

    .account-overview {
        align-items: flex-start;
        padding: 1rem;
    }

    .account-overview__avatar {
        width: 3.1rem;
        height: 3.1rem;
    }

    .account-overview h1 {
        font-size: 1.75rem;
    }

    .account-overview p {
        font-size: 0.88rem;
    }

    .account-overview__logout {
        position: absolute;
        right: 1rem;
    }

    .account-link-button {
        min-height: 2.5rem;
        padding-inline: 0.7rem;
        font-size: 0.76rem;
    }

    .account-quick-actions {
        grid-template-columns: 1fr;
    }

    .account-quick-actions a {
        justify-content: flex-start;
        min-height: 2.85rem;
        padding-inline: 1rem;
    }

    .account-actions-grid {
        grid-template-columns: 1fr;
    }

    .account-actions-grid .identity-button:first-child {
        grid-column: auto;
    }

    .account-entry-plan {
        grid-template-columns: 1fr;
    }

    .account-entry-plan__badge {
        justify-self: start;
    }

    .account-details--rows div {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .account-details--rows dd {
        text-align: left;
    }

    .provider-workspace__identity {
        align-items: flex-start;
    }

    .provider-workspace__avatar {
        width: 3.65rem;
        height: 3.65rem;
    }

    .provider-workspace__identity h1 {
        font-size: 1.75rem;
    }

    .provider-today-card {
        padding: 1rem;
    }

    .provider-quick-stats {
        grid-template-columns: 1fr;
    }

    .provider-quick-stats article {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .request-index__hero--compact {
        padding: 1rem;
    }

    .request-index__hero--compact .identity-button {
        width: 100%;
    }

    .opportunity-response__summary {
        grid-template-columns: 1fr;
    }
}


/* Source: resources/css/pages/h4-focused-responsive.css */
/* H4 Focused Responsive Corrections R2
   Scope: clean mobile search, compact provider workspace, operational opportunities,
   and calm onboarding actions. This file intentionally overrides earlier H4 rules. */

.provider-opportunities-heading__back {
    display: inline-flex;
    width: fit-content;
    color: var(--brand-800);
    font-weight: 800;
    text-decoration: none;
}

.provider-opportunities-heading__back:hover {
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.provider-onboarding__error {
    display: grid;
    gap: 0.18rem;
}

.provider-onboarding__error small {
    opacity: 0.62;
}

@media (max-width: 47.99rem) {
    :root {
        --h4-header-height: 4.5rem;
    }

    /* Shared mobile frame */
    .app-main {
        padding-top: 0.75rem;
    }

    .app-header__inner {
        grid-template-columns: 2.65rem minmax(0, 1fr) 2.65rem;
        min-height: var(--h4-header-height);
    }

    .app-header__menu,
    .app-header__account,
    .app-header__flow-close {
        width: 2.65rem;
        height: 2.65rem;
        border-radius: 0.85rem;
    }

    .app-header__brand {
        height: 3.65rem;
    }

    .app-header__brand img {
        width: auto;
        max-width: 6.4rem;
        max-height: 3.2rem;
    }

    .bottom-navigation {
        min-height: calc(4rem + env(safe-area-inset-bottom));
        padding: 0.3rem 0.4rem env(safe-area-inset-bottom);
    }

    .bottom-navigation__item {
        min-height: 3.2rem;
        gap: 0.14rem;
        border-radius: 0.85rem;
        font-size: 0.64rem;
    }

    .bottom-navigation__item svg {
        width: 1.2rem;
        height: 1.2rem;
    }

    /* Home/Search — remove the presentation layer and expose the search immediately. */
    .page-context--home .home-page {
        padding-inline: 0.8rem;
    }

    .page-context--home .home-hero {
        display: block;
        margin: 0;
    }

    .page-context--home .home-hero__search-card {
        padding: 0.65rem 0 0.8rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .page-context--home .home-search__assurances,
    .page-context--home .home-search__eyebrow,
    .page-context--home .home-search__heading p,
    .page-context--home .search-box__help {
        display: none;
    }

    .page-context--home .home-search__heading h1 {
        max-width: none;
        margin: 0 0 0.65rem;
        font-size: clamp(2.1rem, 10vw, 2.65rem);
        line-height: 0.98;
        letter-spacing: -0.035em;
    }

    .page-context--home .search-box {
        margin-top: 0;
        gap: 0.55rem;
    }

    .page-context--home .search-box__field {
        min-height: 3.45rem;
        border: 1.5px solid rgb(8 45 89 / 0.2);
        border-radius: 1rem;
        box-shadow: 0 0 0 3px rgb(239 97 8 / 0.06);
    }

    .page-context--home .search-box__search-icon {
        margin-left: 0.85rem;
    }

    .page-context--home .search-box input {
        min-width: 0;
        height: 3.35rem;
        padding-inline: 0.65rem;
        font-size: 0.94rem;
    }

    .page-context--home .search-box input::placeholder {
        color: #7b8797;
        opacity: 1;
    }

    .page-context--home .search-box__meta {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.5rem;
    }

    .page-context--home .home-location,
    .page-context--home .search-box__submit {
        min-height: 3rem;
        border-radius: 0.9rem;
    }

    .page-context--home .home-location {
        padding-inline: 0.7rem;
    }

    .page-context--home .home-location__copy small {
        font-size: 0.58rem;
    }

    .page-context--home .home-location__copy strong {
        font-size: 0.76rem;
    }

    .page-context--home .search-box__submit {
        min-width: 6.4rem;
        padding-inline: 0.9rem;
        font-size: 0.82rem;
        box-shadow: none;
    }

    .page-context--home .home-hero__provider,
    .page-context--home .home-discovery {
        margin-top: 0.75rem;
    }

    /* Provider workspace — one navigation only and operational content first. */
    .provider-workspace {
        gap: 0.7rem;
    }

    .provider-workspace__topbar {
        min-height: 0;
        padding: 0 0 0.65rem;
        border-bottom: 1px solid var(--h4-surface-border);
    }

    .provider-workspace__identity {
        gap: 0.65rem;
    }

    .provider-workspace__avatar {
        width: 3rem;
        height: 3rem;
        border-radius: 0.85rem;
    }

    .provider-workspace__overline {
        margin-bottom: 0.15rem;
        font-size: 0.62rem;
    }

    .provider-workspace__identity h1 {
        margin: 0;
        font-size: 1.35rem;
        line-height: 1.05;
    }

    .provider-workspace__welcome-copy {
        margin-top: 0.22rem;
        font-size: 0.74rem;
        line-height: 1.3;
    }

    .provider-workspace__navigation {
        display: none !important;
    }

    .provider-workspace__layout {
        gap: 0.7rem;
    }

    .provider-today-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.65rem;
        align-items: center;
        padding: 0.9rem;
        border-radius: 1rem;
    }

    .provider-today-card__icon,
    .provider-today-card p {
        display: none;
    }

    .provider-today-card > div > span {
        display: block;
        margin-bottom: 0.15rem;
        font-size: 0.62rem;
    }

    .provider-today-card h2 {
        margin: 0;
        font-size: 1.15rem;
        line-height: 1.08;
    }

    .provider-today-card > a {
        grid-column: auto;
        min-width: 5.7rem;
        min-height: 2.55rem;
        margin: 0;
        padding-inline: 0.8rem;
        border-radius: 0.8rem;
        font-size: 0.76rem;
        white-space: nowrap;
    }

    .provider-opportunities-card,
    .provider-profile-health,
    .provider-business,
    .provider-plan-context {
        padding: 0.9rem;
        border-radius: 1rem;
    }

    .provider-opportunities-card > header {
        display: flex;
        min-width: 0;
        align-items: center;
        justify-content: space-between;
        gap: 0.7rem;
    }

    .provider-opportunities-card > header h2 {
        margin: 0;
        font-size: 1.15rem;
    }

    .provider-opportunities-card > header > a {
        flex: 0 0 auto;
        max-width: none;
        font-size: 0.72rem;
        white-space: nowrap;
    }

    .provider-opportunities-card__list > a {
        grid-template-columns: 0.45rem minmax(0, 1fr) auto 0.85rem;
        gap: 0.5rem;
        min-height: 3.45rem;
        padding-block: 0.55rem;
    }

    .provider-opportunities-card__copy strong {
        font-size: 0.82rem;
    }

    .provider-opportunities-card__copy small,
    .provider-opportunities-card__list em {
        font-size: 0.66rem;
    }

    .provider-quick-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .provider-quick-stats article {
        min-width: 0;
        padding: 0.7rem;
    }

    .provider-quick-stats span {
        font-size: 0.64rem;
    }

    .provider-quick-stats strong {
        font-size: 1rem;
    }

    /* Opportunities — no decorative hero, just a compact working header. */
    .provider-opportunities-heading {
        display: flex;
        align-items: flex-start;
        gap: 0.8rem;
        margin: 0 0 0.7rem;
        padding: 0 0 0.65rem;
        border: 0;
        border-bottom: 1px solid var(--h4-surface-border);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        color: var(--h4-ink);
    }

    .provider-opportunities-heading > div {
        min-width: 0;
    }

    .provider-opportunities-heading__back {
        flex: 0 0 auto;
        margin-top: 0.22rem;
        font-size: 0.72rem;
    }

    .provider-opportunities-heading h1 {
        margin: 0 0 0.18rem;
        color: inherit;
        font-size: 1.55rem;
        line-height: 1.05;
    }

    .provider-opportunities-heading p {
        margin: 0;
        color: #657286;
        font-size: 0.76rem;
        line-height: 1.35;
    }

    .opportunity-list {
        gap: 0.65rem;
    }

    .opportunity-card {
        gap: 0.65rem;
        padding: 0.9rem;
        border-radius: 1rem;
    }

    .opportunity-card h2 {
        margin-block: 0.45rem 0.18rem;
        font-size: 1.08rem;
        line-height: 1.1;
    }

    .opportunity-card > div > p {
        font-size: 0.76rem;
    }

    .opportunity-card dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .opportunity-card dl > div {
        min-width: 0;
        padding: 0.62rem;
    }

    .opportunity-card dt {
        font-size: 0.62rem;
    }

    .opportunity-card dd {
        font-size: 0.88rem;
        overflow-wrap: anywhere;
    }

    .opportunity-card > a {
        min-height: 2.55rem;
        border-radius: 0.8rem;
        font-size: 0.78rem;
    }

    /* Onboarding — calm step, compact media block and normal action bar. */
    .app-flow--focused .app-main {
        width: min(calc(100% - 0.9rem), 64rem);
        padding-top: 0.55rem;
    }

    .provider-verification-reminder,
    .provider-onboarding__rail,
    .provider-profile-preview,
    .provider-next-step-note {
        display: none !important;
    }

    .provider-onboarding__workspace,
    .provider-guided-grid {
        display: block;
    }

    .provider-onboarding__header {
        gap: 0.35rem;
        margin-bottom: 0.55rem;
    }

    .provider-onboarding__heading h1 {
        margin-bottom: 0.2rem;
        font-size: 1.45rem;
        line-height: 1.06;
    }

    .provider-onboarding__heading p {
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .provider-onboarding__save-state {
        font-size: 0.66rem;
    }

    .provider-onboarding__error {
        margin-bottom: 0.6rem;
        padding: 0.68rem 0.75rem;
        border-radius: 0.75rem;
    }

    .provider-onboarding__error strong {
        font-size: 0.82rem;
    }

    .provider-onboarding__error span {
        font-size: 0.74rem;
        line-height: 1.35;
    }

    .provider-onboarding__error small {
        font-size: 0.6rem;
    }

    .provider-onboarding--guided .provider-onboarding__card {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .provider-guided-section {
        padding: 0.8rem;
        border-radius: 0.9rem;
        background: #fff;
        box-shadow: 0 10px 24px rgb(6 26 53 / 0.06);
    }

    .provider-guided-section > header {
        grid-template-columns: 1.8rem minmax(0, 1fr);
        gap: 0.5rem;
        margin-bottom: 0.65rem;
    }

    .provider-guided-section > header > span {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.68rem;
    }

    .provider-guided-section h2 {
        font-size: 0.95rem;
    }

    .provider-guided-section header p {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .provider-onboarding--guided .provider-avatar-picker {
        display: grid;
        grid-template-columns: 3.9rem minmax(0, 1fr);
        align-items: center;
        gap: 0.65rem;
        padding: 0.65rem;
    }

    .provider-avatar-picker__preview {
        width: 3.9rem;
        height: 3.9rem;
        flex-basis: 3.9rem;
    }

    .provider-avatar-picker__content {
        min-width: 0;
        gap: 0.2rem;
    }

    .provider-avatar-picker__content > strong {
        font-size: 0.88rem;
    }

    .provider-avatar-picker__content > small {
        font-size: 0.66rem;
        line-height: 1.3;
    }

    .provider-avatar-picker__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .provider-avatar-action {
        min-width: 0;
        min-height: 2.25rem;
        padding: 0.5rem 0.65rem;
        border-radius: 0.65rem;
        font-size: 0.7rem;
        line-height: 1.1;
    }

    .provider-onboarding--guided .provider-onboarding__actions {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
        margin-top: 0.65rem;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .provider-onboarding__actions .identity-button {
        width: 100%;
        min-height: 2.75rem;
        padding: 0.65rem 0.9rem;
        border-radius: 0.8rem;
        font-size: 0.84rem;
        line-height: 1.15;
        white-space: normal;
    }

    .provider-onboarding__actions > a {
        order: 2;
        align-self: center;
        font-size: 0.74rem;
    }

    .provider-onboarding__actions .provider-submit-status {
        order: 3;
        min-height: 0;
        font-size: 0.66rem;
        text-align: center;
    }
}

/* H4 Responsive Unified R3
   Final mobile corrections for one coherent UI, no overlap and no page zoom. */

html {
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

button,
a,
input,
select,
textarea,
label {
    touch-action: manipulation;
}

.app-main,
.account-shell,
.provider-workspace,
.request-detail,
.provider-onboarding,
.provider-opportunities,
.provider-workspace__layout,
.account-workspace-grid {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.account-overview,
.account-card,
.provider-today-card,
.provider-opportunities-card,
.provider-profile-health,
.request-detail__header,
.opportunity-response__summary > article,
.response-card,
.provider-guided-section {
    border: 1px solid var(--h4-surface-border);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 28px rgb(6 26 53 / 0.055);
}

.request-detail__header-main,
.request-detail__header-main > *,
.provider-today-card > div,
.provider-opportunities-card > header,
.provider-opportunities-card__copy,
.account-overview__identity,
.account-overview__identity > div {
    min-width: 0;
}

.request-detail__meta-row {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.55rem;
}

.request-detail__meta-row .identity-eyebrow {
    margin: 0;
}

.request-detail__meta-row .status-pill {
    max-width: 11rem;
    flex: 0 1 auto;
    border-radius: 999px;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
}

@media (max-width: 47.99rem) {
    :root {
        --h4-header-height: 4.5rem;
    }

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        min-width: 0;
    }

    .app-shell {
        width: 100%;
        min-width: 0;
    }

    .app-main {
        width: 100%;
        max-width: 100%;
        padding: 0.75rem 0.75rem calc(5rem + env(safe-area-inset-bottom));
        overflow: hidden;
    }

    .app-flow--focused .app-main {
        width: 100%;
        max-width: 100%;
        padding-inline: 0.75rem;
        padding-bottom: calc(1.2rem + env(safe-area-inset-bottom));
        overflow: visible;
    }

    .app-header__inner {
        width: 100%;
        max-width: 100%;
        padding-inline: 0.75rem;
        box-sizing: border-box;
    }

    .bottom-navigation {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .bottom-navigation__item {
        min-width: 0;
        padding-inline: 0.2rem;
    }

    .bottom-navigation__item span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Account: logout participates in layout and never covers the name. */
    .account-overview {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.8rem;
        width: 100%;
        padding: 1rem;
        overflow: hidden;
    }

    .account-overview__identity {
        display: grid;
        grid-template-columns: 3rem minmax(0, 1fr);
        align-items: start;
        gap: 0.75rem;
    }

    .account-overview__avatar {
        width: 3rem;
        height: 3rem;
        border-radius: 0.85rem;
    }

    .account-overview h1 {
        margin: 0.08rem 0 0.25rem;
        font-size: clamp(1.45rem, 7.5vw, 1.8rem);
        line-height: 1.05;
        overflow-wrap: anywhere;
    }

    .account-overview p {
        font-size: 0.86rem;
        line-height: 1.4;
    }

    .account-overview__logout {
        position: static !important;
        inset: auto !important;
        display: flex;
        width: 100%;
        margin: 0;
        justify-content: flex-start;
    }

    .account-link-button {
        width: auto;
        min-height: 2.4rem;
        padding: 0.5rem 0.75rem;
        border-radius: 0.75rem;
        font-size: 0.78rem;
    }

    .account-quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .account-quick-actions a {
        min-height: 2.8rem;
        justify-content: center;
        padding: 0.65rem 0.55rem;
        font-size: 0.79rem;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .account-quick-actions a.is-primary {
        grid-column: 1 / -1;
    }

    .account-card--provider-focus,
    .account-card--compact {
        padding: 1rem;
    }

    .account-card--provider-focus h2 {
        font-size: 1.45rem;
        line-height: 1.08;
    }

    /* Provider panel: content first, no horizontal escape. */
    .provider-workspace {
        width: 100%;
        overflow: hidden;
    }

    .provider-workspace__topbar {
        width: 100%;
        padding-inline: 0;
        overflow: hidden;
    }

    .provider-workspace__identity {
        display: grid;
        grid-template-columns: 3rem minmax(0, 1fr);
        width: 100%;
    }

    .provider-workspace__identity h1,
    .provider-workspace__welcome-copy,
    .provider-workspace__identity p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .provider-today-card {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 0.55rem;
        padding: 1rem;
        overflow: hidden;
    }

    .provider-today-card__icon {
        display: none;
    }

    .provider-today-card p {
        display: block;
        margin: 0.3rem 0 0;
        font-size: 0.82rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .provider-today-card h2 {
        font-size: 1.28rem;
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .provider-today-card > a {
        grid-column: 1;
        width: 100%;
        min-width: 0;
        min-height: 2.75rem;
        margin-top: 0.2rem;
        white-space: normal;
    }

    .provider-opportunities-card {
        width: 100%;
        overflow: hidden;
    }

    .provider-opportunities-card > header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
        gap: 0.5rem;
    }

    .provider-opportunities-card > header > a {
        max-width: 5.2rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .provider-opportunities-card__list > a {
        grid-template-columns: 0.4rem minmax(0, 1fr) auto;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .provider-opportunities-card__list > a > svg:last-child {
        display: none;
    }

    .provider-opportunities-card__copy strong,
    .provider-opportunities-card__copy small {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Opportunity detail: compact hierarchy, normal badge, readable summary. */
    .request-detail {
        display: grid;
        gap: 0.75rem;
        width: 100%;
        overflow: hidden;
    }

    .request-detail__header--compact {
        display: block;
        width: 100%;
        padding: 1rem;
        overflow: hidden;
    }

    .request-detail__meta-row {
        align-items: flex-start;
    }

    .request-detail__meta-row .status-pill {
        max-width: 8.6rem;
        padding: 0.45rem 0.6rem;
        font-size: 0.68rem;
        line-height: 1.15;
    }

    .request-detail__header--compact h1 {
        max-width: 100%;
        margin: 0;
        font-size: clamp(2rem, 10vw, 2.65rem);
        line-height: 0.98;
        letter-spacing: -0.045em;
        overflow-wrap: anywhere;
    }

    .request-detail__header--compact p {
        margin: 0.75rem 0 0;
        font-size: 0.92rem;
        line-height: 1.35;
    }

    .request-detail > .identity-alert {
        margin: 0;
        padding: 0.85rem 0.9rem;
        border-radius: 0.9rem;
        font-size: 0.86rem;
        line-height: 1.4;
    }

    .opportunity-response__summary {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
        width: 100%;
    }

    .opportunity-response__summary > article {
        min-width: 0;
        padding: 0.85rem;
    }

    .opportunity-response__summary > article:nth-child(2) {
        grid-column: 1 / -1;
    }

    .opportunity-response__summary span {
        font-size: 0.68rem;
    }

    .opportunity-response__summary strong {
        font-size: 0.86rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .response-card,
    .response-card--primary {
        width: 100%;
        padding: 1rem;
        overflow: hidden;
    }

    .proposal-form,
    .proposal-form__price {
        width: 100%;
        min-width: 0;
    }

    .proposal-form__price {
        grid-template-columns: 1fr;
    }

    .proposal-form .identity-field,
    .proposal-form input,
    .proposal-form select,
    .proposal-form textarea {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .proposal-form input,
    .proposal-form select,
    .proposal-form textarea {
        font-size: 1rem;
    }

    /* Onboarding: actions belong to the document flow and never cover content. */
    .provider-onboarding,
    .provider-onboarding__workspace,
    .provider-onboarding__card,
    .provider-guided-section,
    .provider-avatar-picker {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .provider-onboarding__heading h1 {
        font-size: 1.75rem;
        line-height: 1.02;
        overflow-wrap: anywhere;
    }

    .provider-onboarding--guided .provider-avatar-picker {
        grid-template-columns: 4.2rem minmax(0, 1fr);
        overflow: hidden;
    }

    .provider-avatar-picker__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .provider-avatar-action {
        width: 100%;
        white-space: normal;
    }

    .provider-onboarding--guided .provider-onboarding__actions,
    .provider-onboarding__actions {
        position: static !important;
        inset: auto !important;
        z-index: auto !important;
        display: grid !important;
        grid-template-columns: 1fr;
        width: 100%;
        margin: 0.75rem 0 0;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .provider-onboarding__actions .identity-button {
        width: 100%;
        min-height: 3rem;
        padding: 0.7rem 0.9rem;
        border-radius: 0.85rem;
        font-size: 0.9rem;
        line-height: 1.15;
    }

    .provider-onboarding__actions > a {
        order: 2;
        justify-self: center;
        padding: 0.45rem;
        font-size: 0.8rem;
    }

    .provider-onboarding__actions .provider-submit-status {
        order: 3;
    }
}


/* Source: resources/css/pages/h4-home-search-clean.css */
/*
 * Mercadito VNext H4 — Home Search Clean R4
 * Scope: public home only.
 * The home is a search tool, not a presentation page.
 */

.page-context--home .home-page--search-only {
    width: 100%;
    max-width: 72rem;
    min-height: calc(100svh - var(--header-height) - 2rem);
    margin-inline: auto;
}

.page-context--home .home-hero--search-only {
    display: block;
    width: 100%;
    margin: 0;
}

.page-context--home .home-page--search-only .home-hero__search-card {
    width: min(100%, 56rem);
    margin-inline: auto;
    padding: clamp(3.25rem, 9vh, 6.75rem) clamp(0.5rem, 2vw, 1.25rem) clamp(2rem, 5vh, 3.5rem);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-context--home .home-page--search-only .home-search {
    display: block;
    padding: 0;
    text-align: center;
}

.page-context--home .home-page--search-only .home-search__assurances,
.page-context--home .home-page--search-only .home-search__eyebrow,
.page-context--home .home-page--search-only .home-search__heading p,
.page-context--home .home-page--search-only .search-box__help {
    display: none;
}

.page-context--home .home-page--search-only .home-search__heading {
    max-width: none;
    margin: 0;
}

.page-context--home .home-page--search-only .home-search__heading h1 {
    max-width: none;
    margin: 0;
    color: var(--brand-950);
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-align: center;
}

.page-context--home .home-page--search-only .search-box {
    width: min(100%, 50rem);
    margin: clamp(1.35rem, 3vh, 2rem) auto 0;
    gap: 0.75rem;
}

.page-context--home .home-page--search-only .search-box__field {
    min-height: 4.2rem;
    border: 1px solid #d4dbe5;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgb(6 26 53 / 0.04), 0 4px 14px rgb(6 26 53 / 0.06);
}

.page-context--home .home-page--search-only .search-box__field:hover {
    border-color: #c2ccd8;
    box-shadow: 0 1px 2px rgb(6 26 53 / 0.04), 0 6px 18px rgb(6 26 53 / 0.08);
}

.page-context--home .home-page--search-only .search-box__field:focus-within {
    border-color: var(--accent-600);
    box-shadow: 0 0 0 3px rgb(239 97 8 / 0.09), 0 6px 18px rgb(6 26 53 / 0.08);
}

.page-context--home .home-page--search-only .search-box__search-icon {
    padding-left: 1.25rem;
    color: #56657a;
}

.page-context--home .home-page--search-only .search-box input {
    height: 4.05rem;
    padding-inline: 0.8rem;
    font-size: 1rem;
}

.page-context--home .home-page--search-only .search-box input::placeholder {
    color: #748195;
    opacity: 1;
}

.page-context--home .home-page--search-only .search-box__meta {
    display: grid;
    width: min(100%, 46rem);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    margin-inline: auto;
}

.page-context--home .home-page--search-only .home-location {
    min-width: 0;
    min-height: 3.35rem;
    margin: 0;
    border: 1px solid #e0e5ec;
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
}

.page-context--home .home-page--search-only .search-box__submit {
    min-width: 10.5rem;
    min-height: 3.35rem;
    border-radius: 999px;
    box-shadow: none;
}

.page-context--home .home-page--search-only .home-future-slot {
    min-height: clamp(8rem, 20vh, 15rem);
}

.page-context--home .home-page--search-only.is-resolving .home-hero__search-card {
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
}

@media (max-width: 47.99rem) {
    .page-context--home .app-main {
        padding-top: 0.75rem;
    }

    .page-context--home .home-page--search-only .home-hero__search-card {
        padding: clamp(1.25rem, 4vh, 2.25rem) 0 1.5rem;
    }

    .page-context--home .home-page--search-only .home-search__heading h1 {
        font-size: clamp(1.85rem, 8.5vw, 2.4rem);
        line-height: 1.03;
    }

    .page-context--home .home-page--search-only .search-box {
        margin-top: 1.15rem;
        gap: 0.6rem;
    }

    .page-context--home .home-page--search-only .search-box__field {
        min-height: 3.7rem;
    }

    .page-context--home .home-page--search-only .search-box input {
        height: 3.55rem;
        min-width: 0;
        font-size: 1rem;
    }

    .page-context--home .home-page--search-only .search-box__meta {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.5rem;
    }

    .page-context--home .home-page--search-only .home-location,
    .page-context--home .home-page--search-only .search-box__submit {
        min-height: 3.1rem;
    }

    .page-context--home .home-page--search-only .home-location {
        padding-inline: 0.65rem;
    }

    .page-context--home .home-page--search-only .home-location__copy {
        min-width: 0;
    }

    .page-context--home .home-page--search-only .search-box__submit {
        min-width: 7.4rem;
        padding-inline: 0.9rem;
    }

    .page-context--home .home-page--search-only .home-future-slot {
        min-height: 5rem;
    }
}

@media (max-width: 22rem) {
    .page-context--home .home-page--search-only .search-box__meta {
        grid-template-columns: 1fr;
    }

    .page-context--home .home-page--search-only .search-box__submit {
        width: 100%;
    }
}


/* Source: resources/css/pages/h4-home-activity-r12.css */
/*
 * Mercadito VNext H4 — Home Regional Activity R12
 * Scope: public home only.
 * Search remains primary; regional adjudicated history gives the home life.
 */

.page-context--home .home-page--activity-r12 {
    max-width: 68rem;
    min-height: auto;
    padding-bottom: 1rem;
}

.page-context--home
.home-page--activity-r12
.home-hero__search-card {
    width: min(100%, 58rem);
    padding-top: clamp(2.4rem, 6vh, 4.8rem);
    padding-bottom: 1.4rem;
}

.page-context--home
.home-page--activity-r12
.home-search__heading p {
    display: block;
    max-width: 42rem;
    margin: 0.65rem auto 0;
    color: #66758a;
    font-size: clamp(0.9rem, 1.7vw, 1.02rem);
    line-height: 1.45;
}

.page-context--home
.home-page--activity-r12
.search-box {
    width: min(100%, 52rem);
}

.page-context--home
.home-page--activity-r12
.search-box__field {
    border-color: #ef6108;
    box-shadow:
        0 1px 2px rgb(6 26 53 / 0.04),
        0 7px 20px rgb(6 26 53 / 0.07);
}

.page-context--home
.home-page--activity-r12
.search-box__meta--location-r12 {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: stretch;
}

.page-context--home .home-location-selector {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #dce3eb;
    border-radius: 1.1rem;
    background: #fff;
    box-shadow: 0 5px 16px rgb(8 45 89 / 0.045);
}

.page-context--home .home-location-selector__field {
    display: grid;
    min-width: 0;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.7rem;
    cursor: pointer;
}

.page-context--home
.home-location-selector__field
+ .home-location-selector__field {
    border-left: 1px solid #e0e6ee;
}

.page-context--home .home-location-selector__icon {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border-radius: 999px;
    background: #fff2e9;
    color: #ef6108;
}

.page-context--home .home-location-selector__icon svg {
    width: 1.15rem;
    height: 1.15rem;
    stroke-width: 1.8;
}

.page-context--home .home-location-selector__copy {
    display: grid;
    min-width: 0;
    gap: 0.05rem;
    text-align: left;
}

.page-context--home .home-location-selector__copy small {
    color: #728095;
    font-size: 0.58rem;
    font-weight: 720;
    line-height: 1.1;
}

.page-context--home .home-location-selector__copy select {
    width: 100%;
    min-width: 0;
    height: 1.65rem;
    padding: 0 1.6rem 0 0;
    border: 0;
    background-color: transparent;
    color: #102b4b;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.2;
    text-overflow: ellipsis;
    cursor: pointer;
    outline: 0;
}

.page-context--home
.home-location-selector__field:focus-within {
    background: #f8fafc;
    box-shadow: inset 0 0 0 2px rgb(239 97 8 / 0.12);
}

.page-context--home
.home-page--activity-r12
.search-box__submit {
    min-width: 10.5rem;
    min-height: 3.85rem;
    border-radius: 1.1rem;
    background: #ef6108;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 7px 18px rgb(239 97 8 / 0.14);
}

.page-context--home
.home-page--activity-r12
.search-box__submit:hover {
    background: #dc5400;
}

.page-context--home
.home-page--activity-r12
.search-box__help--location-r12 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0.05rem 0 0;
    color: #647389;
    font-size: 0.66rem;
    line-height: 1.35;
    text-align: left;
}

.page-context--home .home-activity {
    width: min(calc(100% - 1rem), 58rem);
    margin: 0 auto 2rem;
    overflow: hidden;
    border: 1px solid #d9e1e9;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 14px 36px rgb(8 45 89 / 0.055);
}

.page-context--home .home-activity__header {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid #e0e6ed;
}

.page-context--home .home-activity__header-icon {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border-radius: 999px;
    background: #eef5fd;
    color: #1768bd;
}

.page-context--home .home-activity__header-icon svg {
    width: 1.35rem;
    height: 1.35rem;
    stroke-width: 1.8;
}

.page-context--home .home-activity__header h2 {
    margin: 0;
    color: #0c294a;
    font-size: 1.05rem;
    line-height: 1.15;
}

.page-context--home .home-activity__header p {
    margin: 0.25rem 0 0;
    color: #647287;
    font-size: 0.68rem;
    line-height: 1.35;
}

.page-context--home .home-activity__list {
    display: grid;
}

.page-context--home .home-activity-row {
    display: grid;
    min-width: 0;
    grid-template-columns: 2.8rem minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.78rem 1rem;
    background: #fff;
}

.page-context--home
.home-activity-row
+ .home-activity-row {
    border-top: 1px solid #e4e9ef;
}

.page-context--home .home-activity-row__icon {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border-radius: 999px;
    background: #f3f6fa;
}

.page-context--home .home-activity-row__icon img {
    width: 1.55rem;
    height: 1.55rem;
    object-fit: contain;
}

.page-context--home .home-activity-row__main {
    display: grid;
    min-width: 0;
    gap: 0.2rem;
}

.page-context--home .home-activity-row__main strong {
    overflow: hidden;
    color: #102b4b;
    font-size: 0.77rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-context--home .home-activity-row__main span {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.25rem;
    overflow: hidden;
    color: #64748b;
    font-size: 0.63rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-context--home .home-activity-row__main span svg {
    width: 0.8rem;
    height: 0.8rem;
    flex: 0 0 auto;
    stroke-width: 1.8;
}

.page-context--home .home-activity-row__status {
    display: inline-flex;
    min-height: 1.85rem;
    align-items: center;
    gap: 0.3rem;
    padding-inline: 0.6rem;
    border-radius: 999px;
    background: #eaf9ef;
    color: #0a8e49;
    font-size: 0.62rem;
    font-weight: 900;
    white-space: nowrap;
}

.page-context--home .home-activity-row__status svg {
    width: 0.9rem;
    height: 0.9rem;
    stroke-width: 2;
}

.page-context--home .home-activity-row__time {
    color: #66758a;
    font-size: 0.64rem;
    font-weight: 720;
    white-space: nowrap;
}

.page-context--home .home-activity__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-top: 1px solid #e0e6ed;
    background: #fafbfd;
}

.page-context--home .home-activity__footer p {
    margin: 0;
    color: #647287;
    font-size: 0.62rem;
}

.page-context--home .home-activity__more {
    display: inline-flex;
    min-height: 2.35rem;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding-inline: 0.8rem;
    border: 1px solid #aebdce;
    border-radius: 0.75rem;
    background: #fff;
    color: #123a67;
    font-size: 0.68rem;
    font-weight: 900;
    cursor: pointer;
}

.page-context--home .home-activity__more:hover {
    border-color: #ef6108;
    color: #b84400;
}

.page-context--home .home-activity__more:disabled {
    cursor: wait;
    opacity: 0.62;
}

.page-context--home .home-activity__more svg {
    width: 0.9rem;
    height: 0.9rem;
    stroke-width: 2;
}


.page-context--home
[data-search-experience].is-resolving
.home-activity {
    display: none;
}

@media (max-width: 47.99rem) {
    .page-context--home .app-main {
        padding-top: 0.35rem;
    }

    .page-context--home
    .home-page--activity-r12
    .home-hero__search-card {
        padding: 1.55rem 0.25rem 1rem;
    }

    .page-context--home
    .home-page--activity-r12
    .home-search__heading h1 {
        font-size: clamp(2rem, 9vw, 2.55rem);
        line-height: 1.02;
    }

    .page-context--home
    .home-page--activity-r12
    .home-search__heading p {
        margin-top: 0.55rem;
        padding-inline: 0.35rem;
        font-size: 0.75rem;
    }

    .page-context--home
    .home-page--activity-r12
    .search-box {
        margin-top: 1.05rem;
    }

    .page-context--home
    .home-page--activity-r12
    .search-box__field {
        min-height: 3.85rem;
    }

    .page-context--home
    .home-page--activity-r12
    .search-box input {
        height: 3.7rem;
        font-size: 0.92rem;
    }

    .page-context--home
    .home-page--activity-r12
    .search-box__meta--location-r12 {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.45rem;
    }

    .page-context--home .home-location-selector {
        border-radius: 0.95rem;
    }

    .page-context--home .home-location-selector__field {
        grid-template-columns: 1.8rem minmax(0, 1fr);
        gap: 0.4rem;
        padding: 0.45rem 0.48rem;
    }

    .page-context--home .home-location-selector__icon {
        width: 1.8rem;
        height: 1.8rem;
    }

    .page-context--home .home-location-selector__icon svg {
        width: 0.95rem;
        height: 0.95rem;
    }

    .page-context--home .home-location-selector__copy small {
        font-size: 0.5rem;
    }

    .page-context--home .home-location-selector__copy select {
        height: 1.4rem;
        padding-right: 1.05rem;
        font-size: 0.66rem;
    }

    .page-context--home
    .home-page--activity-r12
    .search-box__submit {
        min-width: 7.2rem;
        min-height: 3.55rem;
        padding-inline: 0.75rem;
        border-radius: 0.95rem;
        font-size: 0.68rem;
    }

    .page-context--home
    .home-page--activity-r12
    .search-box__help--location-r12 {
        padding-left: 0.15rem;
        font-size: 0.57rem;
    }

    .page-context--home .home-activity {
        width: calc(100% - 0.5rem);
        margin-bottom: 1rem;
        border-radius: 1rem;
    }

    .page-context--home .home-activity__header {
        grid-template-columns: 2.2rem minmax(0, 1fr);
        gap: 0.6rem;
        padding: 0.85rem;
    }

    .page-context--home .home-activity__header-icon {
        width: 2.2rem;
        height: 2.2rem;
    }

    .page-context--home .home-activity__header h2 {
        font-size: 0.92rem;
    }

    .page-context--home .home-activity__header p {
        font-size: 0.58rem;
    }

    .page-context--home .home-activity-row {
        grid-template-columns: 2.35rem minmax(0, 1fr) auto;
        gap: 0.55rem;
        padding: 0.7rem 0.75rem;
    }

    .page-context--home .home-activity-row__icon {
        width: 2.35rem;
        height: 2.35rem;
    }

    .page-context--home .home-activity-row__icon img {
        width: 1.35rem;
        height: 1.35rem;
    }

    .page-context--home .home-activity-row__main strong {
        font-size: 0.69rem;
    }

    .page-context--home .home-activity-row__main span {
        font-size: 0.56rem;
    }

    .page-context--home .home-activity-row__status {
        min-height: 1.65rem;
        padding-inline: 0.48rem;
        font-size: 0.54rem;
    }

    .page-context--home .home-activity-row__time {
        grid-column: 2 / -1;
        justify-self: end;
        margin-top: -0.35rem;
        font-size: 0.54rem;
    }

    .page-context--home .home-activity__footer {
        padding: 0.7rem 0.75rem;
    }

    .page-context--home .home-activity__footer p {
        font-size: 0.55rem;
    }

    .page-context--home .home-activity__more {
        min-height: 2.15rem;
        padding-inline: 0.65rem;
        font-size: 0.59rem;
    }
}

@media (max-width: 24rem) {
    .page-context--home
    .home-page--activity-r12
    .search-box__meta--location-r12 {
        grid-template-columns: 1fr;
    }

    .page-context--home
    .home-page--activity-r12
    .search-box__submit {
        width: 100%;
    }

    .page-context--home .home-activity__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .page-context--home .home-activity__more {
        width: 100%;
    }
}

/*
 * R12 FIX2 — Search resolution focus
 * Recent activity is secondary content. When the search wizard is visible,
 * the feed must not compete visually with the clarification/result card.
 */
.page-context--home
.home-page--activity-r12
> .resolution-panel:not([hidden])
+ .home-activity {
    display: none;
}


/* Source: resources/css/pages/h4-request-auto-classification-r13.css */
/*
 * Mercadito VNext H4 — Request Auto Classification R13
 * Scope: request creation step 1 only.
 */

.request-auto-classification {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgb(8 45 89 / 0.14);
    border-radius: 0.9rem;
    background: #fff;
}

.request-auto-classification__check {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    border-radius: 0.7rem;
    background: #0a2b50;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 950;
}

.request-auto-classification__copy {
    min-width: 0;
}

.request-auto-classification__copy small,
.request-auto-classification__copy strong,
.request-auto-classification__copy > span {
    display: block;
}

.request-auto-classification__copy small {
    color: #d94f00;
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.request-auto-classification__copy strong {
    margin-top: 0.12rem;
    overflow-wrap: anywhere;
    color: #0b2948;
    font-size: 0.86rem;
}

.request-auto-classification__copy > span {
    margin-top: 0.08rem;
    overflow-wrap: anywhere;
    color: #5c6b7e;
    font-size: 0.64rem;
}

.request-auto-classification__change {
    min-height: 2.25rem;
    padding-inline: 0.72rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #173650;
    font: inherit;
    font-size: 0.64rem;
    font-weight: 850;
    cursor: pointer;
}

.request-auto-classification__change:hover,
.request-auto-classification__change:focus-visible {
    border-color: #ef6108;
    color: #b64300;
    outline: none;
}

.request-flow__classification[hidden] {
    display: none !important;
}

@media (max-width: 36rem) {
    .request-auto-classification {
        grid-template-columns: 2.25rem minmax(0, 1fr);
    }

    .request-auto-classification__check {
        width: 2.25rem;
        height: 2.25rem;
    }

    .request-auto-classification__change {
        grid-column: 2;
        width: fit-content;
    }
}


/* Source: resources/css/pages/h4-request-flow-2step-r14.css */
/*
 * Mercadito VNext H4 — Request Flow 2-Step R14
 */

.request-flow .request-auto-classification {
    margin-block: 0.2rem 1rem;
}

.request-location {
    display: grid;
    gap: 0.55rem;
}

.request-location__resolved {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid #ccd7e3;
    border-radius: 0.9rem;
    background: #fff;
}

.request-location__icon {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border-radius: 0.7rem;
    background: #fff3eb;
    color: #ef6108;
    font-size: 1.1rem;
    font-weight: 950;
}

.request-location__resolved small,
.request-location__resolved strong,
.request-location__resolved div > span {
    display: block;
}

.request-location__resolved small {
    color: #68788b;
    font-size: 0.62rem;
    font-weight: 800;
}

.request-location__resolved strong {
    margin-top: 0.05rem;
    color: #0a2b50;
    font-size: 0.86rem;
}

.request-location__resolved div > span {
    margin-top: 0.05rem;
    color: #566a80;
    font-size: 0.65rem;
}

.request-location__resolved button {
    min-height: 2.25rem;
    padding-inline: 0.75rem;
    border: 1px solid #c9d4df;
    border-radius: 999px;
    background: #fff;
    color: #173650;
    font: inherit;
    font-size: 0.64rem;
    font-weight: 850;
    cursor: pointer;
}

.request-location__resolved button:hover,
.request-location__resolved button:focus-visible {
    border-color: #ef6108;
    color: #b64300;
    outline: none;
}

.request-location__manual[hidden],
.request-location__resolved[hidden] {
    display: none !important;
}

.request-location > small {
    color: #65768a;
    font-size: 0.62rem;
}

.request-empty-result .empty-state-icon {
    display: none;
}

@media (max-width: 42rem) {
    .request-location__resolved {
        grid-template-columns: 2.4rem minmax(0, 1fr);
    }

    .request-location__resolved button {
        grid-column: 2;
        width: fit-content;
    }
}


/* Source: resources/css/pages/h4-plans-weight.css */
/*
 * Mercadito VNext H4 — Plans Growth Experience R6
 * Scope: /planes only.
 * Approved direction: elegant, useful and visually mature plan comparison.
 */

.page-context--plans {
    --plans-ink: #071f40;
    --plans-navy: #0a376c;
    --plans-blue: #1f5da8;
    --plans-orange: #f4620a;
    --plans-orange-deep: #d94f00;
    --plans-orange-soft: #fff2e8;
    --plans-paper: #ffffff;
    --plans-warm: #fffaf6;
    --plans-border: #dbe3ed;
    --plans-muted: #647287;
    --plans-disabled: #9aa4b2;
}

.page-context--plans .app-main {
    width: min(calc(100% - 2rem), 78rem);
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
    padding-bottom: clamp(2rem, 5vw, 4rem);
}

.page-context--plans .plans-growth {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: clamp(1.5rem, 3.5vw, 3rem) clamp(0rem, 1vw, 0.75rem) 1rem;
    isolation: isolate;
}

.page-context--plans .plans-growth::before,
.page-context--plans .plans-growth::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.page-context--plans .plans-growth::before {
    top: 1.5rem;
    left: -9rem;
    width: 19rem;
    height: 19rem;
    background:
        radial-gradient(circle, rgb(244 98 10 / 0.09), transparent 67%);
}

.page-context--plans .plans-growth::after {
    top: -7rem;
    right: -9rem;
    width: 22rem;
    height: 22rem;
    border: 1px solid rgb(244 98 10 / 0.18);
    box-shadow:
        0 0 0 2.5rem rgb(244 98 10 / 0.035),
        0 0 0 5rem rgb(244 98 10 / 0.025);
}

.page-context--plans .plans-growth__intro {
    width: min(100%, 58rem);
    margin-inline: auto;
    text-align: center;
}

.page-context--plans .plans-growth__intro h1 {
    margin: 0;
    color: var(--plans-ink);
    font-size: clamp(2.35rem, 5.6vw, 4.65rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.page-context--plans .plans-growth__intro h1 span {
    color: var(--plans-orange);
}

.page-context--plans .plans-growth__lead {
    max-width: 48rem;
    margin: 1rem auto 0;
    color: #263d5d;
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    font-weight: 700;
    line-height: 1.45;
    text-wrap: balance;
}

.page-context--plans .plans-growth__support {
    max-width: 43rem;
    margin: 0.7rem auto 0;
    color: var(--plans-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    text-wrap: balance;
}

.page-context--plans .plans-growth__grid {
    display: grid;
    width: min(100%, 72rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: stretch;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.page-context--plans .plans-growth-card {
    position: relative;
    display: grid;
    min-width: 0;
    grid-template-rows: auto 1fr auto auto;
    overflow: hidden;
    padding: clamp(1.35rem, 2.4vw, 1.8rem);
    border: 1px solid var(--plans-border);
    border-radius: 1.55rem;
    background:
        linear-gradient(180deg, rgb(255 255 255 / 0.98), #fff);
    box-shadow:
        0 22px 48px rgb(7 31 64 / 0.08),
        0 2px 8px rgb(7 31 64 / 0.04);
}

.page-context--plans .plans-growth-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 0.25rem;
    background: #d9e3f0;
    content: '';
}

.page-context--plans .plans-growth-card--pro {
    border-color: rgb(244 98 10 / 0.6);
    background:
        radial-gradient(circle at 50% 0%, rgb(244 98 10 / 0.1), transparent 35%),
        linear-gradient(180deg, #fffaf6, #fff);
    box-shadow:
        0 28px 60px rgb(244 98 10 / 0.14),
        0 3px 12px rgb(7 31 64 / 0.06);
    transform: translateY(-0.45rem);
}

.page-context--plans .plans-growth-card--pro::before {
    height: 0.32rem;
    background: var(--plans-orange);
}

.page-context--plans .plans-growth-card--enterprise::before {
    background: var(--plans-navy);
}

.page-context--plans .plans-growth-card__header {
    min-height: 12.2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e6ebf1;
    text-align: center;
}

.page-context--plans .plans-growth-card__eyebrow {
    display: inline-flex;
    gap: 0.42rem;
    align-items: center;
    justify-content: center;
    min-height: 1.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #edf3fb;
    color: var(--plans-navy);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.page-context--plans .plans-growth-card__eyebrow svg {
    width: 1rem;
    height: 1rem;
}

.page-context--plans .plans-growth-card--pro .plans-growth-card__eyebrow {
    background: var(--plans-orange-soft);
    color: var(--plans-orange-deep);
}

.page-context--plans .plans-growth-card h2 {
    margin: 0.9rem 0 0;
    color: var(--plans-ink);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.page-context--plans .plans-growth-card__benefit {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
    margin: 0.7rem auto 0;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    background: #fff0e4;
    color: var(--plans-orange-deep);
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.3;
}

.page-context--plans .plans-growth-card__benefit svg {
    width: 0.95rem;
    height: 0.95rem;
}

.page-context--plans .plans-growth-card__summary {
    max-width: 29rem;
    margin: 0.75rem auto 0;
    color: var(--plans-muted);
    font-size: 0.92rem;
    line-height: 1.52;
    text-wrap: balance;
}

.page-context--plans .plans-growth-card__features {
    display: grid;
    align-content: start;
    gap: 0.2rem;
    margin: 0;
    padding: 1.1rem 0 1.2rem;
    list-style: none;
}

.page-context--plans .plans-growth-card__features li {
    display: grid;
    min-width: 0;
    grid-template-columns: 2rem minmax(0, 1fr) 1.45rem;
    gap: 0.65rem;
    align-items: center;
    min-height: 2.65rem;
    padding: 0.38rem 0;
    color: #233b5c;
    font-size: 0.88rem;
    line-height: 1.3;
}

.page-context--plans .plans-growth-card__feature-icon,
.page-context--plans .plans-growth-card__feature-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.page-context--plans .plans-growth-card__feature-icon {
    width: 2rem;
    height: 2rem;
    background: #edf4fd;
    color: var(--plans-blue);
}

.page-context--plans .plans-growth-card--pro .plans-growth-card__feature-icon {
    background: #fff0e4;
    color: var(--plans-orange);
}

.page-context--plans .plans-growth-card__feature-icon svg {
    width: 1.05rem;
    height: 1.05rem;
}

.page-context--plans .plans-growth-card__feature-state {
    width: 1.35rem;
    height: 1.35rem;
    background: #eaf2fd;
    color: var(--plans-blue);
}

.page-context--plans .plans-growth-card__feature-state svg {
    width: 0.82rem;
    height: 0.82rem;
}

.page-context--plans .plans-growth-card__features li.is-unavailable {
    color: var(--plans-disabled);
}

.page-context--plans .plans-growth-card__features li.is-unavailable > span:nth-child(2) {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.page-context--plans .plans-growth-card__features li.is-unavailable .plans-growth-card__feature-icon,
.page-context--plans .plans-growth-card__features li.is-unavailable .plans-growth-card__feature-state {
    background: #f0f2f5;
    color: #a8afb9;
}

.page-context--plans .plans-growth-card__review-note {
    display: grid;
    grid-template-columns: 1.4rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
    margin: 0 0 1rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid #cbdcf1;
    border-radius: 0.85rem;
    background: #f1f6fc;
    color: var(--plans-navy);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
}

.page-context--plans .plans-growth-card__review-note svg {
    width: 1.4rem;
    height: 1.4rem;
}

.page-context--plans .plans-growth-card__footer {
    align-self: end;
}

.page-context--plans .plans-growth-card__cta {
    display: inline-flex;
    width: 100%;
    min-height: 3.6rem;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1rem;
    border: 2px solid var(--plans-navy);
    border-radius: 0.9rem;
    background: #fff;
    color: var(--plans-navy);
    font-family: var(--font-display, Georgia, serif);
    font-size: 1rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.page-context--plans .plans-growth-card__cta svg {
    width: 1.15rem;
    height: 1.15rem;
}

.page-context--plans .plans-growth-card--pro .plans-growth-card__cta {
    border-color: var(--plans-orange);
    background: linear-gradient(135deg, var(--plans-orange), #ff7a18);
    color: #fff;
    box-shadow: 0 12px 28px rgb(244 98 10 / 0.22);
}

.page-context--plans .plans-growth-card--enterprise .plans-growth-card__cta {
    border-color: var(--plans-navy);
    background: linear-gradient(135deg, var(--plans-navy), var(--plans-ink));
    color: #fff;
    box-shadow: 0 12px 28px rgb(7 31 64 / 0.17);
}

.page-context--plans .plans-growth__note {
    display: flex;
    width: min(100%, 54rem);
    gap: 0.75rem;
    align-items: flex-start;
    justify-content: center;
    margin: 1.6rem auto 0;
    color: #55657a;
    text-align: left;
}

.page-context--plans .plans-growth__note > svg {
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.12rem;
    color: var(--plans-navy);
}

.page-context--plans .plans-growth__note p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.5;
}

.page-context--plans .plans-growth__note p span {
    display: block;
    margin-top: 0.2rem;
    color: #788496;
    font-size: 0.78rem;
}

@media (hover: hover) and (pointer: fine) {
    .page-context--plans .plans-growth-card:hover {
        transform: translateY(-0.35rem);
        box-shadow:
            0 28px 62px rgb(7 31 64 / 0.12),
            0 3px 10px rgb(7 31 64 / 0.05);
    }

    .page-context--plans .plans-growth-card--pro:hover {
        transform: translateY(-0.75rem);
        box-shadow:
            0 32px 70px rgb(244 98 10 / 0.18),
            0 3px 12px rgb(7 31 64 / 0.06);
    }

    .page-context--plans .plans-growth-card__cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgb(7 31 64 / 0.14);
    }
}

@media (max-width: 63.99rem) {
    .page-context--plans .plans-growth__grid {
        width: min(100%, 46rem);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-context--plans .plans-growth-card--enterprise {
        grid-column: 1 / -1;
        width: min(100%, 24rem);
        justify-self: center;
    }
}

@media (max-width: 47.99rem) {
    .page-context--plans .app-main {
        width: min(calc(100% - 1rem), 40rem);
        padding-top: 0.5rem;
    }

    .page-context--plans .plans-growth {
        padding-top: 1.4rem;
    }

    .page-context--plans .plans-growth::before,
    .page-context--plans .plans-growth::after {
        opacity: 0.55;
    }

    .page-context--plans .plans-growth__intro h1 {
        font-size: clamp(2.25rem, 11vw, 3.25rem);
    }

    .page-context--plans .plans-growth__lead {
        margin-top: 0.85rem;
        font-size: 1rem;
    }

    .page-context--plans .plans-growth__support {
        font-size: 0.9rem;
    }

    .page-context--plans .plans-growth__grid {
        width: min(100%, 30rem);
        grid-template-columns: 1fr;
        gap: 0.9rem;
        margin-top: 1.6rem;
    }

    .page-context--plans .plans-growth-card,
    .page-context--plans .plans-growth-card--enterprise {
        width: 100%;
        grid-column: auto;
        padding: 1.25rem;
        border-radius: 1.25rem;
        transform: none;
    }

    .page-context--plans .plans-growth-card--pro {
        order: -1;
    }

    .page-context--plans .plans-growth-card__header {
        min-height: 0;
        padding-bottom: 1rem;
    }

    .page-context--plans .plans-growth-card h2 {
        font-size: 2.5rem;
    }

    .page-context--plans .plans-growth-card__features {
        padding-block: 0.85rem 1rem;
    }

    .page-context--plans .plans-growth-card__features li {
        min-height: 2.45rem;
        font-size: 0.86rem;
    }

    .page-context--plans .plans-growth__note {
        width: min(100%, 30rem);
        margin-top: 1.2rem;
        padding-inline: 0.35rem;
    }
}

@media (max-width: 22rem) {
    .page-context--plans .plans-growth-card__features li {
        grid-template-columns: 1.85rem minmax(0, 1fr) 1.25rem;
        gap: 0.5rem;
    }

    .page-context--plans .plans-growth-card__feature-icon {
        width: 1.85rem;
        height: 1.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-context--plans .plans-growth-card,
    .page-context--plans .plans-growth-card__cta {
        transition: none;
    }
}


/* Source: resources/css/pages/h4-provider-panel-modern-r7.css */
/*
 * Mercadito VNext H4 — Provider Panel Modern R7
 * Scope: /panel/comercial dashboard only.
 * Goal: one visual ecosystem, clear hierarchy, no foreign blue buttons.
 */

.page-context--provider .provider-workspace {
    --provider-panel-border: rgb(8 45 89 / 0.11);
    --provider-panel-border-strong: rgb(8 45 89 / 0.16);
    --provider-panel-muted: #667386;
    --provider-panel-surface: #ffffff;
    --provider-panel-soft: #f6f8fb;
    --provider-panel-warm: #fff7f1;
    --provider-panel-warm-strong: #fff0e5;
    width: 100%;
    max-width: 82rem;
    gap: 1.05rem;
    overflow-x: clip;
}

.page-context--provider .provider-workspace__topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    min-height: 7.4rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid var(--provider-panel-border);
    border-radius: 1.25rem;
    background:
        radial-gradient(
            circle at 100% 0,
            rgb(239 97 8 / 0.07),
            transparent 16rem
        ),
        var(--provider-panel-surface);
    box-shadow:
        0 1px 2px rgb(8 45 89 / 0.03),
        0 12px 34px rgb(8 45 89 / 0.055);
}

.page-context--provider .provider-workspace__identity {
    align-items: center;
    gap: 1rem;
}

.page-context--provider .provider-workspace__avatar {
    width: 4.35rem;
    height: 4.35rem;
    border: 1px solid rgb(8 45 89 / 0.12);
    border-radius: 1.1rem;
    background: #fff;
    box-shadow: 0 8px 24px rgb(8 45 89 / 0.08);
}

.page-context--provider .provider-workspace__avatar b {
    color: var(--brand-950);
    font-size: 1.45rem;
}

.page-context--provider .provider-workspace__overline {
    margin-bottom: 0.15rem;
    color: var(--accent-700);
    font-size: 0.69rem;
    letter-spacing: 0.095em;
}

.page-context--provider .provider-workspace__identity h1 {
    max-width: 44rem;
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.03;
    letter-spacing: -0.025em;
}

.page-context--provider .provider-workspace__welcome-copy {
    margin-top: 0.35rem;
    color: #3f4e62;
    font-size: 0.9rem;
    line-height: 1.35;
}

.page-context--provider
.provider-workspace__identity
> div
> p:last-child {
    margin-top: 0.28rem;
    color: var(--provider-panel-muted);
    font-size: 0.76rem;
}

.page-context--provider .provider-workspace__top-actions {
    align-self: start;
    padding-top: 0.1rem;
}

.page-context--provider .provider-workspace__ghost-action,
.page-context--provider .provider-workspace__menu summary {
    min-height: 2.65rem;
    border: 1px solid var(--provider-panel-border-strong);
    border-radius: 0.85rem;
    background: rgb(255 255 255 / 0.92);
    color: var(--brand-950);
    box-shadow: 0 1px 2px rgb(8 45 89 / 0.035);
}

.page-context--provider .provider-workspace__ghost-action {
    display: inline-flex;
    padding-inline: 1rem;
    font-size: 0.76rem;
    font-weight: 850;
}

.page-context--provider .provider-workspace__ghost-action:hover,
.page-context--provider .provider-workspace__menu summary:hover {
    border-color: rgb(239 97 8 / 0.35);
    background: var(--provider-panel-warm);
    color: var(--accent-700);
}

.page-context--provider .provider-workspace__menu > div {
    border-color: var(--provider-panel-border);
    border-radius: 1rem;
}

.page-context--provider .provider-workspace__menu a:hover,
.page-context--provider .provider-workspace__menu button:hover {
    background: var(--provider-panel-warm);
    color: var(--accent-700);
}

/* Segmented navigation: no foreign filled-blue button. */
.page-context--provider .provider-workspace__navigation {
    width: fit-content;
    max-width: 100%;
    gap: 0.3rem;
    padding: 0.32rem;
    border: 1px solid var(--provider-panel-border);
    border-radius: 0.95rem;
    background: #f0f3f7;
    box-shadow: inset 0 1px 2px rgb(8 45 89 / 0.035);
}

.page-context--provider .provider-workspace__navigation a {
    position: relative;
    min-width: 7rem;
    min-height: 2.55rem;
    justify-content: center;
    padding-inline: 0.95rem;
    border: 1px solid transparent;
    border-radius: 0.72rem;
    color: #536174;
    font-size: 0.77rem;
    font-weight: 850;
}

.page-context--provider .provider-workspace__navigation a:hover {
    color: var(--brand-950);
}

.page-context--provider .provider-workspace__navigation a.is-active {
    border-color: rgb(239 97 8 / 0.2);
    background: #fff3eb;
    color: var(--brand-950);
    box-shadow:
        0 1px 2px rgb(8 45 89 / 0.04),
        inset 0 -2px 0 var(--accent-600);
}

.page-context--provider
.provider-workspace__navigation
a.is-active::before {
    width: 0.36rem;
    height: 0.36rem;
    margin-right: 0.1rem;
    border-radius: 50%;
    background: var(--accent-600);
    content: "";
}

.page-context--provider .provider-workspace__navigation a span {
    background: var(--accent-600);
}

.page-context--provider .provider-workspace__layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 0.72fr);
    gap: 1rem;
}

.page-context--provider .provider-workspace__main,
.page-context--provider .provider-workspace__aside {
    gap: 1rem;
}

/* Primary operational action. */
.page-context--provider .provider-today-card {
    position: relative;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-height: 7.25rem;
    padding: 1.15rem 1.2rem 1.15rem 1.35rem;
    overflow: hidden;
    border: 1px solid rgb(239 97 8 / 0.22);
    border-radius: 1.2rem;
    background:
        linear-gradient(100deg, #fff 0%, #fffaf7 68%, #fff3ea 100%);
    box-shadow:
        0 1px 2px rgb(8 45 89 / 0.03),
        0 12px 28px rgb(8 45 89 / 0.05);
}

.page-context--provider .provider-today-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.28rem;
    background: var(--accent-600);
    content: "";
}

.page-context--provider .provider-today-card__icon {
    width: 3rem;
    height: 3rem;
    border: 1px solid rgb(239 97 8 / 0.14);
    border-radius: 0.95rem;
    background: var(--provider-panel-warm-strong);
    color: var(--accent-700);
}

.page-context--provider .provider-today-card > div > span {
    margin-bottom: 0.18rem;
    font-size: 0.65rem;
    letter-spacing: 0.09em;
}

.page-context--provider .provider-today-card h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.08;
}

.page-context--provider .provider-today-card p {
    max-width: 42rem;
    margin-top: 0.32rem;
    color: #4c596a;
    font-size: 0.82rem;
    line-height: 1.4;
}

.page-context--provider .provider-today-card > a {
    grid-column: auto;
    min-width: 10.5rem;
    min-height: 2.9rem;
    border-radius: 0.82rem;
    background: var(--accent-600);
    color: #fff;
    box-shadow: 0 8px 18px rgb(239 97 8 / 0.16);
    font-size: 0.78rem;
}

.page-context--provider .provider-today-card > a:hover {
    background: var(--accent-700);
    transform: translateY(-1px);
}

/* Shared dashboard surfaces. */
.page-context--provider .provider-opportunities-card,
.page-context--provider .provider-profile-health,
.page-context--provider .provider-quick-stats,
.page-context--provider .provider-business,
.page-context--provider .provider-plan-context {
    border: 1px solid var(--provider-panel-border);
    border-radius: 1.2rem;
    background: var(--provider-panel-surface);
    box-shadow:
        0 1px 2px rgb(8 45 89 / 0.025),
        0 10px 28px rgb(8 45 89 / 0.04);
}

.page-context--provider .provider-opportunities-card,
.page-context--provider .provider-profile-health,
.page-context--provider .provider-business,
.page-context--provider .provider-plan-context {
    padding: 1.1rem 1.15rem;
}

.page-context--provider .provider-opportunities-card > header,
.page-context--provider .provider-profile-health > header,
.page-context--provider .provider-business__heading {
    align-items: center;
}

.page-context--provider .provider-opportunities-card header span,
.page-context--provider .provider-profile-health header > div > span,
.page-context--provider .provider-business__heading > div > span {
    color: #6f7c8c;
    font-size: 0.65rem;
    letter-spacing: 0.085em;
}

.page-context--provider .provider-opportunities-card h2,
.page-context--provider .provider-profile-health h2,
.page-context--provider .provider-business h2 {
    margin-top: 0.16rem;
    color: var(--brand-950);
    font-size: 1.12rem;
}

.page-context--provider .provider-opportunities-card header > a,
.page-context--provider .provider-profile-health > a,
.page-context--provider .provider-business__grid article > a {
    color: var(--accent-700);
    font-weight: 850;
    text-decoration: none;
}

.page-context--provider .provider-opportunities-card header > a:hover,
.page-context--provider .provider-profile-health > a:hover,
.page-context--provider .provider-business__grid article > a:hover {
    text-decoration: underline;
    text-underline-offset: 0.18rem;
}

.page-context--provider .provider-opportunities-card__list {
    gap: 0;
    margin-top: 0.65rem;
}

.page-context--provider .provider-opportunities-card__list > a {
    min-height: 4.35rem;
    padding: 0.72rem 0.55rem;
    border-top: 1px solid rgb(8 45 89 / 0.075);
    border-radius: 0;
}

.page-context--provider
.provider-opportunities-card__list
> a:first-child {
    border-top: 0;
}

.page-context--provider .provider-opportunities-card__list > a:hover {
    border-radius: 0.8rem;
    background: var(--provider-panel-soft);
}

.page-context--provider .provider-opportunities-card__copy strong {
    font-size: 0.87rem;
}

.page-context--provider .provider-opportunities-card__copy small {
    color: #718094;
    font-size: 0.71rem;
}

.page-context--provider .provider-opportunities-card__list em {
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    background: var(--provider-panel-warm);
    color: var(--accent-700);
    font-size: 0.63rem;
}

.page-context--provider .provider-profile-health {
    background:
        linear-gradient(180deg, #fff 0%, #fcfdfd 100%);
}

.page-context--provider .provider-profile-health__status {
    min-height: 1.7rem;
    font-size: 0.62rem;
}

.page-context--provider .provider-profile-health__bar {
    height: 0.35rem;
    margin: 0.78rem 0 0.9rem;
}

.page-context--provider .provider-profile-health__bar i {
    background: linear-gradient(
        90deg,
        var(--accent-600),
        #f79a48
    );
}

.page-context--provider .provider-profile-health ul {
    gap: 0.42rem;
}

.page-context--provider .provider-profile-health li {
    font-size: 0.72rem;
}

.page-context--provider .provider-profile-health > a {
    margin-top: 0.8rem;
}

.page-context--provider .provider-quick-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.42rem;
    padding: 0.42rem;
    background: #fff;
}

.page-context--provider .provider-quick-stats article {
    min-height: 5.3rem;
    padding: 0.72rem 0.75rem;
    border: 1px solid rgb(8 45 89 / 0.065);
    border-radius: 0.9rem;
    background: var(--provider-panel-soft);
}

.page-context--provider .provider-quick-stats span {
    min-height: 2rem;
    color: #6b788a;
    font-size: 0.63rem;
    line-height: 1.24;
}

.page-context--provider .provider-quick-stats strong {
    margin-top: 0.2rem;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
}

.page-context--provider .provider-business__heading p {
    display: block;
    max-width: 31rem;
    color: #677487;
    line-height: 1.4;
}

.page-context--provider .provider-business__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.85rem;
}

.page-context--provider .provider-business__grid article {
    grid-template-columns: 2.55rem minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    align-items: center;
    gap: 0.35rem 0.75rem;
    min-height: 8.4rem;
    padding: 0.9rem;
    border: 1px solid var(--provider-panel-border);
    border-radius: 1rem;
    background: #fbfcfe;
}

.page-context--provider .provider-business__grid article:hover {
    border-color: rgb(239 97 8 / 0.2);
    background: #fffdfb;
    box-shadow: 0 8px 20px rgb(8 45 89 / 0.04);
}

.page-context--provider .provider-business__icon {
    width: 2.55rem;
    height: 2.55rem;
    border: 1px solid rgb(8 45 89 / 0.08);
    background: #fff;
    color: var(--brand-800);
}

.page-context--provider .provider-business__grid h3 {
    margin: 0.12rem 0;
    font-size: 0.86rem;
}

.page-context--provider .provider-business__grid p {
    font-size: 0.69rem;
}

.page-context--provider .provider-business__grid article > a {
    grid-column: 2;
    justify-self: start;
    font-size: 0.71rem;
}

.page-context--provider .provider-plan-context {
    align-items: center;
    border-color: rgb(239 97 8 / 0.14);
    background:
        linear-gradient(105deg, #fff 0%, #fffaf6 100%);
}

.page-context--provider .provider-plan-context > a {
    border-color: rgb(239 97 8 / 0.22);
    background: #fff;
    color: var(--accent-700);
}

.page-context--provider .provider-plan-context > a:hover {
    background: var(--provider-panel-warm);
}

/* Tablet and mobile app behavior. */
@media (max-width: 63.99rem) {
    .page-context--provider .provider-workspace__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-context--provider .provider-workspace__aside {
        grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
        align-items: stretch;
    }

    .page-context--provider .provider-profile-health,
    .page-context--provider .provider-quick-stats {
        min-height: 100%;
    }
}

@media (max-width: 47.99rem) {
    .page-context--provider .app-main {
        width: min(calc(100% - 0.85rem), 82rem);
        padding-top: 0.65rem;
    }

    .page-context--provider .provider-workspace {
        gap: 0.72rem;
    }

    .page-context--provider .provider-workspace__topbar {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.75rem;
        min-height: 0;
        padding: 0.9rem;
        border-radius: 1rem;
    }

    .page-context--provider .provider-workspace__identity {
        align-items: flex-start;
        gap: 0.72rem;
    }

    .page-context--provider .provider-workspace__avatar {
        width: 3.35rem;
        height: 3.35rem;
        border-radius: 0.9rem;
    }

    .page-context--provider .provider-workspace__identity h1 {
        font-size: 1.45rem;
    }

    .page-context--provider .provider-workspace__welcome-copy {
        margin-top: 0.25rem;
        font-size: 0.77rem;
    }

    .page-context--provider
    .provider-workspace__identity
    > div
    > p:last-child {
        font-size: 0.68rem;
        white-space: normal;
    }

    .page-context--provider .provider-workspace__top-actions {
        width: 100%;
        justify-content: flex-end;
        padding: 0;
    }

    .page-context--provider .provider-workspace__ghost-action {
        display: inline-flex;
        min-height: 2.45rem;
        padding-inline: 0.8rem;
        font-size: 0.7rem;
    }

    .page-context--provider .provider-workspace__menu summary {
        width: 2.45rem;
        height: 2.45rem;
        min-height: 2.45rem;
    }

    .page-context--provider .provider-workspace__navigation {
        display: none !important;
    }

    .page-context--provider .provider-workspace__layout,
    .page-context--provider .provider-workspace__aside {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.72rem;
    }

    .page-context--provider .provider-today-card {
        grid-template-columns: 2.65rem minmax(0, 1fr);
        gap: 0.75rem;
        min-height: 0;
        padding: 0.9rem;
        border-radius: 1rem;
    }

    .page-context--provider .provider-today-card__icon {
        display: grid;
        width: 2.65rem;
        height: 2.65rem;
    }

    .page-context--provider .provider-today-card p {
        display: block;
        margin-top: 0.28rem;
        font-size: 0.73rem;
    }

    .page-context--provider .provider-today-card h2 {
        font-size: 1.22rem;
    }

    .page-context--provider .provider-today-card > a {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        min-height: 2.75rem;
        margin-top: 0.1rem;
        font-size: 0.75rem;
    }

    .page-context--provider .provider-opportunities-card,
    .page-context--provider .provider-profile-health,
    .page-context--provider .provider-business,
    .page-context--provider .provider-plan-context {
        padding: 0.9rem;
        border-radius: 1rem;
    }

    .page-context--provider .provider-quick-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .page-context--provider .provider-quick-stats article {
        min-height: 4.65rem;
        padding: 0.62rem;
    }

    .page-context--provider .provider-quick-stats span {
        min-height: 1.7rem;
        font-size: 0.57rem;
    }

    .page-context--provider .provider-quick-stats strong {
        font-size: 0.92rem;
    }

    .page-context--provider .provider-business__heading {
        align-items: flex-start;
    }

    .page-context--provider .provider-business__heading p {
        display: none;
    }

    .page-context--provider .provider-business__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.55rem;
    }

    .page-context--provider .provider-business__grid article {
        grid-template-columns: 2.4rem minmax(0, 1fr) auto;
        grid-template-rows: auto;
        min-height: 0;
        padding: 0.75rem;
    }

    .page-context--provider .provider-business__grid article > a {
        grid-column: auto;
        align-self: center;
    }

    .page-context--provider .provider-plan-context {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-context--provider .provider-plan-context > a {
        width: 100%;
    }
}

@media (max-width: 24rem) {
    .page-context--provider .provider-workspace__ghost-action {
        max-width: 10rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .page-context--provider .provider-quick-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-context--provider .provider-quick-stats article {
        display: flex;
        min-height: 0;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .page-context--provider .provider-quick-stats span {
        min-height: 0;
    }

    .page-context--provider .provider-business__grid article {
        grid-template-columns: 2.4rem minmax(0, 1fr);
    }

    .page-context--provider .provider-business__grid article > a {
        grid-column: 2;
    }
}


/* CSP-safe profile completion widths. */
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--0 { width: 0%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--5 { width: 5%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--10 { width: 10%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--15 { width: 15%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--20 { width: 20%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--25 { width: 25%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--30 { width: 30%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--35 { width: 35%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--40 { width: 40%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--45 { width: 45%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--50 { width: 50%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--55 { width: 55%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--60 { width: 60%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--65 { width: 65%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--70 { width: 70%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--75 { width: 75%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--80 { width: 80%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--85 { width: 85%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--90 { width: 90%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--95 { width: 95%; }
.page-context--provider .provider-profile-health__bar .provider-profile-health__bar-value--100 { width: 100%; }


/* Source: resources/css/pages/h4-provider-opportunities-modern-r8.css */
/*
 * Mercadito VNext H4 — Provider Opportunities Modern R8
 * Scope: /panel/comercial/oportunidades only.
 * One-column operational list, clear hierarchy and responsive cards.
 */

.page-context--provider .provider-opportunities-page {
    width: min(100%, 74rem);
    margin-inline: auto;
    padding-block: 0 6rem;
    overflow-x: clip;
}

.page-context--provider .provider-opportunities-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1.5rem;
    padding: 1.35rem 1.45rem;
    border: 1px solid rgb(8 45 89 / 0.11);
    border-radius: 1.25rem;
    background:
        radial-gradient(
            circle at 100% 0,
            rgb(239 97 8 / 0.075),
            transparent 15rem
        ),
        #fff;
    box-shadow:
        0 1px 2px rgb(8 45 89 / 0.025),
        0 12px 32px rgb(8 45 89 / 0.05);
}

.page-context--provider
.provider-opportunities-hero__copy {
    min-width: 0;
}

.page-context--provider
.provider-opportunities-hero__back {
    display: inline-flex;
    width: fit-content;
    min-height: 2rem;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
    color: #526175;
    font-size: 0.74rem;
    font-weight: 850;
    text-decoration: none;
}

.page-context--provider
.provider-opportunities-hero__back:hover {
    color: var(--accent-700);
}

.page-context--provider
.provider-opportunities-hero
.identity-eyebrow {
    display: block;
    margin: 0 0 0.25rem;
    color: var(--accent-700);
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.095em;
    text-transform: uppercase;
}

.page-context--provider
.provider-opportunities-hero h1 {
    max-width: 44rem;
    margin: 0;
    color: var(--brand-950);
    font-size: clamp(1.8rem, 3.5vw, 2.65rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.page-context--provider
.provider-opportunities-hero p {
    max-width: 42rem;
    margin: 0.45rem 0 0;
    color: #5f6d80;
    font-size: 0.88rem;
    line-height: 1.45;
}

.page-context--provider
.provider-opportunities-hero__summary {
    display: grid;
    min-width: 9.5rem;
    min-height: 5.25rem;
    align-content: center;
    justify-items: center;
    padding: 0.85rem 1rem;
    border: 1px solid rgb(239 97 8 / 0.14);
    border-radius: 1rem;
    background: #fff7f1;
    text-align: center;
}

.page-context--provider
.provider-opportunities-hero__summary strong {
    color: var(--brand-950);
    font-size: 1.65rem;
    line-height: 1;
}

.page-context--provider
.provider-opportunities-hero__summary span {
    max-width: 7.5rem;
    margin-top: 0.35rem;
    color: #667487;
    font-size: 0.67rem;
    font-weight: 800;
    line-height: 1.25;
}

.page-context--provider
.provider-opportunities-list {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.8rem;
    margin-top: 0.9rem;
}

.page-context--provider
.provider-opportunity-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(25rem, auto);
    align-items: center;
    gap: 1.2rem;
    min-width: 0;
    padding: 1.15rem 1.2rem;
    border: 1px solid rgb(8 45 89 / 0.11);
    border-radius: 1.15rem;
    background: #fff;
    box-shadow:
        0 1px 2px rgb(8 45 89 / 0.025),
        0 10px 26px rgb(8 45 89 / 0.04);
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.page-context--provider
.provider-opportunity-card:hover {
    border-color: rgb(239 97 8 / 0.24);
    box-shadow:
        0 1px 2px rgb(8 45 89 / 0.03),
        0 14px 32px rgb(8 45 89 / 0.065);
    transform: translateY(-1px);
}

.page-context--provider
.provider-opportunity-card.is-unread {
    position: relative;
    overflow: hidden;
    border-color: rgb(239 97 8 / 0.24);
    background:
        linear-gradient(100deg, #fff 0%, #fffdfb 72%, #fff7f1 100%);
}

.page-context--provider
.provider-opportunity-card.is-unread::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.25rem;
    background: var(--accent-600);
    content: "";
}

.page-context--provider
.provider-opportunity-card__main {
    min-width: 0;
    padding-left: 0.15rem;
}

.page-context--provider
.provider-opportunity-card__status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.page-context--provider
.provider-opportunity-card .status-pill {
    display: inline-flex;
    min-height: 1.65rem;
    align-items: center;
    padding-inline: 0.62rem;
    border: 1px solid rgb(239 97 8 / 0.16);
    background: #fff1e7;
    color: var(--accent-700);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.page-context--provider
.provider-opportunity-card__attention {
    color: #6c7889;
    font-size: 0.64rem;
    font-weight: 800;
}

.page-context--provider
.provider-opportunity-card h2 {
    max-width: 46rem;
    margin: 0.58rem 0 0.28rem;
    color: var(--brand-950);
    font-size: clamp(1.18rem, 2vw, 1.52rem);
    line-height: 1.14;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
}

.page-context--provider
.provider-opportunity-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: #6b788a;
    font-size: 0.76rem;
    line-height: 1.35;
}

.page-context--provider
.provider-opportunity-card__actions {
    display: grid;
    grid-template-columns: minmax(14rem, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}

.page-context--provider
.provider-opportunity-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    min-width: 0;
    margin: 0;
}

.page-context--provider
.provider-opportunity-card__facts > div {
    min-width: 0;
    padding: 0.72rem 0.78rem;
    border: 1px solid rgb(8 45 89 / 0.065);
    border-radius: 0.85rem;
    background: #f6f8fb;
}

.page-context--provider
.provider-opportunity-card__facts dt {
    color: #6f7b8c;
    font-size: 0.61rem;
    font-weight: 850;
}

.page-context--provider
.provider-opportunity-card__facts dd {
    margin: 0.2rem 0 0;
    color: var(--brand-950);
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.05;
    text-transform: capitalize;
    overflow-wrap: anywhere;
}

.page-context--provider
.provider-opportunity-card__facts > div:first-child dd {
    color: var(--accent-700);
}

.page-context--provider
.provider-opportunity-card__facts small {
    display: block;
    margin-top: 0.26rem;
    color: #7a8696;
    font-size: 0.56rem;
    line-height: 1.25;
}

.page-context--provider
.provider-opportunity-card__cta {
    display: inline-flex;
    min-width: 10.5rem;
    min-height: 2.85rem;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding-inline: 1rem;
    border: 1px solid var(--accent-600);
    border-radius: 0.82rem;
    background: var(--accent-600);
    color: #fff;
    box-shadow: 0 8px 18px rgb(239 97 8 / 0.15);
    font-size: 0.73rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.page-context--provider
.provider-opportunity-card__cta:hover {
    background: var(--accent-700);
    color: #fff;
    transform: translateY(-1px);
}

.page-context--provider
.provider-opportunity-card__cta span:last-child {
    font-size: 1rem;
    line-height: 1;
}

.page-context--provider
.provider-opportunities-empty {
    margin-top: 0.9rem;
    padding: 2rem 1.25rem;
    border: 1px solid rgb(8 45 89 / 0.1);
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 10px 28px rgb(8 45 89 / 0.04);
}

.page-context--provider
.provider-opportunities-empty > a {
    display: inline-flex;
    min-height: 2.65rem;
    align-items: center;
    justify-content: center;
    margin-top: 0.8rem;
    padding-inline: 1rem;
    border: 1px solid rgb(8 45 89 / 0.14);
    border-radius: 0.8rem;
    background: #fff;
    color: var(--brand-950);
    font-size: 0.74rem;
    font-weight: 850;
    text-decoration: none;
}

@media (max-width: 69rem) {
    .page-context--provider
    .provider-opportunity-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-context--provider
    .provider-opportunity-card__actions {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (max-width: 47.99rem) {
    .page-context--provider
    .provider-opportunities-page {
        width: 100%;
        padding: 0 0 calc(5rem + env(safe-area-inset-bottom));
    }

    .page-context--provider
    .provider-opportunities-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.9rem;
        border-radius: 1rem;
    }

    .page-context--provider
    .provider-opportunities-hero__back {
        min-height: 1.8rem;
        margin-bottom: 0.35rem;
        font-size: 0.68rem;
    }

    .page-context--provider
    .provider-opportunities-hero h1 {
        font-size: 1.55rem;
    }

    .page-context--provider
    .provider-opportunities-hero p {
        margin-top: 0.32rem;
        font-size: 0.75rem;
    }

    .page-context--provider
    .provider-opportunities-hero__summary {
        display: flex;
        min-width: 0;
        min-height: 0;
        align-items: center;
        justify-content: flex-start;
        gap: 0.45rem;
        padding: 0.55rem 0.7rem;
        border-radius: 0.75rem;
        text-align: left;
    }

    .page-context--provider
    .provider-opportunities-hero__summary strong {
        font-size: 1.1rem;
    }

    .page-context--provider
    .provider-opportunities-hero__summary span {
        max-width: none;
        margin: 0;
        font-size: 0.62rem;
    }

    .page-context--provider
    .provider-opportunities-list {
        gap: 0.65rem;
        margin-top: 0.65rem;
    }

    .page-context--provider
    .provider-opportunity-card {
        gap: 0.8rem;
        padding: 0.9rem;
        border-radius: 1rem;
    }

    .page-context--provider
    .provider-opportunity-card h2 {
        margin-top: 0.48rem;
        font-size: 1.12rem;
        line-height: 1.12;
    }

    .page-context--provider
    .provider-opportunity-card__meta {
        font-size: 0.7rem;
    }

    .page-context--provider
    .provider-opportunity-card__actions {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.65rem;
    }

    .page-context--provider
    .provider-opportunity-card__facts {
        gap: 0.45rem;
    }

    .page-context--provider
    .provider-opportunity-card__facts > div {
        padding: 0.62rem;
        border-radius: 0.75rem;
    }

    .page-context--provider
    .provider-opportunity-card__facts dd {
        font-size: 0.88rem;
    }

    .page-context--provider
    .provider-opportunity-card__facts small {
        display: none;
    }

    .page-context--provider
    .provider-opportunity-card__cta {
        width: 100%;
        min-width: 0;
        min-height: 2.7rem;
        font-size: 0.74rem;
    }
}

@media (max-width: 22rem) {
    .page-context--provider
    .provider-opportunity-card__facts {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* Source: resources/css/pages/h4-proposal-form-preview-r10.css */
/*
 * Mercadito VNext H4 — Proposal Form Preview R10
 * Scope: provider opportunity proposal only.
 */

.page-context--provider .proposal-workspace {
    padding: 1.25rem;
    border: 1px solid rgb(8 45 89 / 0.12);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 14px 36px rgb(8 45 89 / 0.055);
}

.page-context--provider .proposal-workspace__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-context--provider .proposal-workspace__heading h2 {
    margin: 0.2rem 0 0;
    color: #082442;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.page-context--provider .proposal-workspace__heading p {
    max-width: 42rem;
    margin: 0.35rem 0 0;
    color: #506075;
}

.page-context--provider .proposal-workspace__privacy {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    padding-inline: 0.75rem;
    border: 1px solid #b9dfca;
    border-radius: 999px;
    background: #f6fffa;
    color: #176b43;
    font-size: 0.67rem;
    font-weight: 900;
    white-space: nowrap;
}

.page-context--provider .proposal-distance {
    display: grid;
    grid-template-columns: 2.7rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem 1rem;
    margin-bottom: 1rem;
    padding: 0.95rem;
    border: 1px solid #d6dee8;
    border-radius: 1rem;
    background: #f7f9fc;
}

.page-context--provider .proposal-distance--near,
.page-context--provider .proposal-distance--outside {
    border-color: #efbd9c;
    background: #fffaf6;
}

.page-context--provider .proposal-distance__icon {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    border-radius: 0.8rem;
    background: #0a2b50;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
}

.page-context--provider .proposal-distance > div > span {
    display: block;
    color: #d94f00;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-context--provider .proposal-distance > div > strong {
    display: block;
    margin-top: 0.18rem;
    color: #102844;
    font-size: 0.95rem;
}

.page-context--provider .proposal-distance p {
    margin: 0.22rem 0 0;
    color: #536276;
    font-size: 0.72rem;
}

.page-context--provider .proposal-distance dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(6rem, 1fr));
    gap: 0.45rem;
    margin: 0;
}

.page-context--provider .proposal-distance dl > div {
    padding: 0.55rem 0.65rem;
    border: 1px solid #d9e1ea;
    border-radius: 0.72rem;
    background: #fff;
}

.page-context--provider .proposal-distance dt {
    color: #657387;
    font-size: 0.56rem;
    font-weight: 850;
}

.page-context--provider .proposal-distance dd {
    margin: 0.15rem 0 0;
    color: #102844;
    font-size: 0.8rem;
    font-weight: 900;
}

.page-context--provider .proposal-distance > small {
    grid-column: 2 / -1;
    color: #68768a;
    font-size: 0.6rem;
}

.page-context--provider .proposal-workspace__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.72fr);
    gap: 1rem;
    align-items: start;
}

.page-context--provider .proposal-form--guided {
    gap: 0.8rem;
}

.page-context--provider .proposal-step {
    min-width: 0;
    margin: 0;
    padding: 1rem;
    border: 1px solid #d8e0e9;
    border-radius: 1rem;
    background: #fff;
}

.page-context--provider .proposal-step legend {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0;
    color: #102844;
    font-size: 0.9rem;
    font-weight: 900;
}

.page-context--provider .proposal-step legend > span {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    place-items: center;
    border-radius: 0.55rem;
    background: #0a2b50;
    color: #fff;
    font-size: 0.68rem;
}

.page-context--provider .proposal-step > p {
    margin: 0.35rem 0 0.8rem 2.35rem;
    color: #5b697c;
    font-size: 0.72rem;
}

.page-context--provider .proposal-price-modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.page-context--provider .proposal-price-modes label {
    position: relative;
    cursor: pointer;
}

.page-context--provider .proposal-price-modes input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.page-context--provider .proposal-price-modes label > span {
    display: block;
    min-height: 4.6rem;
    padding: 0.85rem;
    border: 1px solid #cdd6e1;
    border-radius: 0.9rem;
    background: #f7f9fb;
}

.page-context--provider .proposal-price-modes strong,
.page-context--provider .proposal-price-modes small {
    display: block;
}

.page-context--provider .proposal-price-modes strong {
    color: #173650;
    font-size: 0.82rem;
}

.page-context--provider .proposal-price-modes small {
    margin-top: 0.25rem;
    color: #667487;
    font-size: 0.66rem;
}

.page-context--provider
.proposal-price-modes
input:checked
+ span {
    border-color: #ef6108;
    background: #fff;
    box-shadow:
        inset 0 -3px 0 #ef6108,
        0 5px 15px rgb(8 45 89 / 0.05);
}

.page-context--provider .proposal-money-input {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-width: 0;
    border: 1px solid #bcc7d4;
    border-radius: 0.8rem;
    background: #fff;
}

.page-context--provider .proposal-money-input:focus-within {
    border-color: #ef6108;
    box-shadow: 0 0 0 3px rgb(239 97 8 / 0.1);
}

.page-context--provider .proposal-money-input > span {
    padding-left: 0.8rem;
    color: #536276;
    font-weight: 900;
}

.page-context--provider .proposal-money-input input {
    border: 0 !important;
    box-shadow: none !important;
}

.page-context--provider .proposal-price-check {
    margin-top: 0.65rem;
    padding: 0.6rem 0.7rem;
    border-radius: 0.7rem;
    background: #f2f5f8;
    color: #516074;
    font-size: 0.67rem;
    font-weight: 800;
}

.page-context--provider .proposal-price-check.is-ready {
    background: #f1fbf6;
    color: #176b43;
}

.page-context--provider .proposal-price-check.is-warning {
    background: #fff4ed;
    color: #a43d00;
}

.page-context--provider .proposal-form__rules {
    padding: 0.85rem;
    border: 1px solid #d5dde7;
    border-radius: 0.9rem;
    background: #f7f9fb;
}

.page-context--provider .proposal-form__rules strong {
    color: #102844;
    font-size: 0.76rem;
}

.page-context--provider .proposal-form__rules ul {
    display: grid;
    gap: 0.28rem;
    margin: 0.45rem 0 0;
    padding-left: 1rem;
    color: #526176;
    font-size: 0.68rem;
}

.page-context--provider .proposal-distance-confirmation {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem;
    border: 1px solid #efbd9c;
    border-radius: 0.9rem;
    background: #fffaf6;
    color: #71330e;
    font-size: 0.72rem;
    font-weight: 800;
}

.page-context--provider .proposal-preview-card {
    position: sticky;
    top: 1rem;
    padding: 1rem;
    border: 1px solid #d2dae5;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 30px rgb(8 45 89 / 0.055);
}

.page-context--provider .proposal-preview-card h3 {
    margin: 0.2rem 0 0;
    color: #102844;
    font-size: 1.05rem;
}

.page-context--provider .proposal-preview-card__request {
    margin: 0.35rem 0 0;
    color: #566579;
    font-size: 0.72rem;
}

.page-context--provider .proposal-preview-card__price {
    margin: 0.85rem 0;
    padding: 0.8rem;
    border-radius: 0.85rem;
    background: #0a2b50;
}

.page-context--provider .proposal-preview-card__price small,
.page-context--provider .proposal-preview-card__price strong {
    display: block;
    color: #fff;
}

.page-context--provider .proposal-preview-card__price small {
    opacity: 0.75;
    font-size: 0.62rem;
}

.page-context--provider .proposal-preview-card__price strong {
    margin-top: 0.2rem;
    font-size: 1.25rem;
}

.page-context--provider .proposal-preview-card dl {
    display: grid;
    gap: 0.45rem;
    margin: 0;
}

.page-context--provider .proposal-preview-card dl > div {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid #e2e7ee;
}

.page-context--provider .proposal-preview-card dt {
    color: #667487;
    font-size: 0.64rem;
}

.page-context--provider .proposal-preview-card dd {
    margin: 0;
    color: #173650;
    font-size: 0.67rem;
    font-weight: 850;
    text-align: right;
}

.page-context--provider .proposal-preview-card > section {
    margin-top: 0.8rem;
}

.page-context--provider .proposal-preview-card > section strong {
    color: #102844;
    font-size: 0.68rem;
}

.page-context--provider .proposal-preview-card > section p {
    margin: 0.3rem 0 0;
    color: #536276;
    font-size: 0.68rem;
    line-height: 1.45;
    white-space: pre-line;
}

.page-context--provider .proposal-preview-card > small {
    display: block;
    margin-top: 0.9rem;
    color: #68768a;
    font-size: 0.58rem;
    line-height: 1.4;
}

.page-context--provider .proposal-preview-dialog {
    width: min(calc(100% - 2rem), 44rem);
    max-height: calc(100svh - 2rem);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 24px 80px rgb(4 24 48 / 0.3);
}

.page-context--provider .proposal-preview-dialog::backdrop {
    background: rgb(4 24 48 / 0.62);
    backdrop-filter: blur(3px);
}

.page-context--provider .proposal-preview-dialog__content {
    padding: 1.1rem;
}

.page-context--provider .proposal-preview-dialog__content > header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #dce3eb;
}

.page-context--provider .proposal-preview-dialog__content h3 {
    margin: 0.15rem 0 0;
    color: #102844;
    font-size: 1.3rem;
}

.page-context--provider .proposal-preview-dialog__content header p {
    margin: 0.25rem 0 0;
    color: #59687b;
    font-size: 0.7rem;
}

.page-context--provider
.proposal-preview-dialog__content
header
> button {
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid #d3dbe5;
    border-radius: 0.75rem;
    background: #fff;
    color: #173650;
    font-size: 1.2rem;
    cursor: pointer;
}

.page-context--provider .proposal-final-preview {
    display: grid;
    gap: 0.8rem;
    padding: 1rem 0;
}

.page-context--provider .proposal-final-preview__title span,
.page-context--provider .proposal-final-preview__title strong,
.page-context--provider .proposal-final-preview__title small {
    display: block;
}

.page-context--provider .proposal-final-preview__title span {
    color: #d94f00;
    font-size: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
}

.page-context--provider .proposal-final-preview__title strong {
    margin-top: 0.2rem;
    color: #102844;
    font-size: 1.05rem;
}

.page-context--provider .proposal-final-preview__title small {
    margin-top: 0.2rem;
    color: #667487;
}

.page-context--provider .proposal-final-preview__price {
    padding: 0.9rem;
    border-radius: 0.85rem;
    background: #0a2b50;
}

.page-context--provider .proposal-final-preview__price small,
.page-context--provider .proposal-final-preview__price strong {
    display: block;
    color: #fff;
}

.page-context--provider .proposal-final-preview__price strong {
    margin-top: 0.2rem;
    font-size: 1.35rem;
}

.page-context--provider .proposal-final-preview dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 0;
}

.page-context--provider .proposal-final-preview dl > div,
.page-context--provider .proposal-final-preview > section {
    padding: 0.75rem;
    border: 1px solid #d9e1ea;
    border-radius: 0.8rem;
    background: #f8fafc;
}

.page-context--provider .proposal-final-preview dt,
.page-context--provider .proposal-final-preview h4 {
    margin: 0;
    color: #667487;
    font-size: 0.62rem;
}

.page-context--provider .proposal-final-preview dd,
.page-context--provider .proposal-final-preview p {
    margin: 0.25rem 0 0;
    color: #102844;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: pre-line;
}

.page-context--provider .proposal-final-preview footer {
    color: #58677a;
    font-size: 0.62rem;
}

.page-context--provider .proposal-preview-dialog__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    padding-top: 0.9rem;
    border-top: 1px solid #dce3eb;
}

@media (max-width: 63.99rem) {
    .page-context--provider .proposal-workspace__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-context--provider .proposal-preview-card {
        position: static;
        order: -1;
    }
}

@media (max-width: 47.99rem) {
    .page-context--provider .proposal-workspace {
        padding: 0.85rem;
        border-radius: 1rem;
    }

    .page-context--provider .proposal-workspace__heading {
        display: grid;
        gap: 0.6rem;
    }

    .page-context--provider .proposal-workspace__privacy {
        width: fit-content;
    }

    .page-context--provider .proposal-distance {
        grid-template-columns: 2.45rem minmax(0, 1fr);
        padding: 0.8rem;
    }

    .page-context--provider .proposal-distance__icon {
        width: 2.45rem;
        height: 2.45rem;
    }

    .page-context--provider .proposal-distance dl,
    .page-context--provider .proposal-distance > small {
        grid-column: 1 / -1;
    }

    .page-context--provider .proposal-distance dl {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .page-context--provider .proposal-distance dl > div {
        padding: 0.5rem;
    }

    .page-context--provider .proposal-step {
        padding: 0.8rem;
    }

    .page-context--provider .proposal-step > p {
        margin-left: 0;
    }

    .page-context--provider .proposal-price-modes,
    .page-context--provider .proposal-form__price,
    .page-context--provider .proposal-final-preview dl {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-context--provider .proposal-preview-card {
        display: none;
    }

    .page-context--provider .proposal-form__submit {
        width: 100%;
    }

    .page-context--provider .proposal-preview-dialog {
        width: calc(100% - 0.75rem);
        max-height: calc(100svh - 0.75rem);
        border-radius: 1rem;
    }

    .page-context--provider .proposal-preview-dialog__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .page-context--provider
    .proposal-preview-dialog__actions
    .identity-button {
        width: 100%;
    }
}


/* Source: resources/css/pages/h4-adaptive-quote-identity-r11.css */
/*
 * Mercadito VNext H4 — Adaptive Quote Identity R11
 * Scope: opportunity quote form only.
 */

.page-context--provider .proposal-detected-kind {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid #cfd9e5;
    border-radius: 0.85rem;
    background: #fff;
}

.page-context--provider .proposal-detected-kind > span {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.6rem;
    background: #0a2b50;
    color: #fff;
    font-weight: 900;
}

.page-context--provider .proposal-detected-kind strong,
.page-context--provider .proposal-detected-kind small {
    display: block;
}

.page-context--provider .proposal-detected-kind strong {
    color: #102844;
    font-size: 0.78rem;
}

.page-context--provider .proposal-detected-kind small {
    margin-top: 0.15rem;
    color: #607085;
    font-size: 0.64rem;
}

.page-context--provider .proposal-choice-group + .proposal-choice-group {
    margin-top: 0.8rem;
}

.page-context--provider .proposal-choice-group > strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #183652;
    font-size: 0.72rem;
}

.page-context--provider .proposal-choice-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.page-context--provider .proposal-choice-chips label {
    position: relative;
    cursor: pointer;
}

.page-context--provider .proposal-choice-chips input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.page-context--provider .proposal-choice-chips span {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    padding: 0.45rem 0.7rem;
    border: 1px solid #c9d3df;
    border-radius: 999px;
    background: #f7f9fb;
    color: #34475e;
    font-size: 0.66rem;
    font-weight: 800;
}

.page-context--provider
.proposal-choice-chips
input:checked
+ span {
    border-color: #ef6108;
    background: #ef6108;
    color: #fff;
    box-shadow: 0 4px 12px rgb(239 97 8 / 0.14);
}

.page-context--provider
.proposal-choice-chips
input:focus-visible
+ span {
    outline: 3px solid rgb(239 97 8 / 0.18);
    outline-offset: 2px;
}

.page-context--provider .proposal-detail-optional {
    margin-top: 0.85rem;
}

.page-context--provider .proposal-detail-optional > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.page-context--provider .proposal-detail-optional > span small {
    color: #6a788a;
    font-size: 0.58rem;
    font-weight: 700;
}

.page-context--provider .proposal-step--optional textarea,
.page-context--provider .proposal-detail-optional textarea {
    min-height: 6rem;
}

.page-context--provider .proposal-provider-identity {
    display: grid;
    grid-template-columns: 2.8rem minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #dce3eb;
}

.page-context--provider .proposal-provider-identity__avatar,
.page-context--provider .proposal-final-provider__avatar {
    display: grid;
    overflow: hidden;
    place-items: center;
    border: 1px solid #d5dde7;
    border-radius: 0.75rem;
    background: #f3f6f9;
    color: #0a2b50;
    font-size: 1rem;
    font-weight: 950;
}

.page-context--provider .proposal-provider-identity__avatar {
    width: 2.8rem;
    height: 2.8rem;
}

.page-context--provider .proposal-provider-identity__avatar img,
.page-context--provider .proposal-final-provider__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-context--provider .proposal-provider-identity small,
.page-context--provider .proposal-provider-identity strong,
.page-context--provider .proposal-provider-identity span {
    display: block;
    overflow-wrap: anywhere;
}

.page-context--provider .proposal-provider-identity small {
    color: #6b798b;
    font-size: 0.55rem;
}

.page-context--provider .proposal-provider-identity strong {
    margin-top: 0.1rem;
    color: #102844;
    font-size: 0.76rem;
}

.page-context--provider .proposal-provider-identity span {
    margin-top: 0.08rem;
    color: #5c6b7e;
    font-size: 0.58rem;
}

.page-context--provider .proposal-kind-pill {
    display: inline-flex;
    margin-top: 0.75rem;
    padding: 0.28rem 0.55rem;
    border: 1px solid #f0bd9b;
    border-radius: 999px;
    background: #fff;
    color: #b64300;
    font-size: 0.56rem;
    font-weight: 900;
}

.page-context--provider .proposal-preview-card p,
.page-context--provider .proposal-preview-card dd,
.page-context--provider .proposal-final-preview p,
.page-context--provider .proposal-final-preview dd {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.page-context--provider .proposal-final-provider {
    display: grid;
    grid-template-columns: 3.1rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem;
    border: 1px solid #d7e0e9;
    border-radius: 0.85rem;
    background: #f8fafc;
}

.page-context--provider .proposal-final-provider__avatar {
    width: 3.1rem;
    height: 3.1rem;
}

.page-context--provider .proposal-final-provider small,
.page-context--provider .proposal-final-provider strong,
.page-context--provider .proposal-final-provider span {
    display: block;
    overflow-wrap: anywhere;
}

.page-context--provider .proposal-final-provider small {
    color: #6b798b;
    font-size: 0.57rem;
}

.page-context--provider .proposal-final-provider strong {
    margin-top: 0.12rem;
    color: #102844;
    font-size: 0.82rem;
}

.page-context--provider .proposal-final-provider span {
    margin-top: 0.08rem;
    color: #59697d;
    font-size: 0.61rem;
}

.page-context--provider .proposal-final-provider em {
    padding: 0.3rem 0.55rem;
    border: 1px solid #f0bd9b;
    border-radius: 999px;
    color: #b64300;
    font-size: 0.56rem;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.page-context--provider
.proposal-form--guided
select {
    min-height: 3.25rem;
    padding-inline: 0.8rem 2.3rem;
    border: 1px solid #bcc7d4;
    border-radius: 0.8rem;
    background-color: #fff;
    color: #102844;
    font-weight: 750;
}

.page-context--provider
.proposal-form--guided
select:focus {
    border-color: #ef6108;
    box-shadow: 0 0 0 3px rgb(239 97 8 / 0.1);
    outline: 0;
}

@media (max-width: 47.99rem) {
    .page-context--provider .proposal-choice-chips {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-context--provider .proposal-choice-chips span {
        justify-content: center;
        text-align: center;
    }

    .page-context--provider .proposal-final-provider {
        grid-template-columns: 2.8rem minmax(0, 1fr);
    }

    .page-context--provider .proposal-final-provider__avatar {
        width: 2.8rem;
        height: 2.8rem;
    }

    .page-context--provider .proposal-final-provider em {
        grid-column: 1 / -1;
        width: fit-content;
    }
}


/* Source: resources/css/pages/h4-provider-onboarding-modern-r9.css */
/* Provider Onboarding Modern R9 */
.page-context--provider .provider-onboarding--guided{width:min(100%,78rem);margin-inline:auto;overflow-x:clip}.page-context--provider .provider-onboarding__workspace{grid-template-columns:14rem minmax(0,1fr);gap:1rem}.page-context--provider .provider-onboarding__rail{position:sticky;top:calc(var(--header-height) + 1rem);align-self:start;padding:1rem;border:1px solid rgb(8 45 89 / .11);border-radius:1.1rem;background:#fff;box-shadow:0 10px 28px rgb(8 45 89 / .045);color:var(--brand-950)}.page-context--provider .provider-onboarding__rail-heading>span{color:var(--accent-700)}.page-context--provider .provider-onboarding__rail-heading strong{color:var(--brand-950);font-size:1rem;line-height:1.2}.page-context--provider .provider-onboarding__steps li{border:1px solid rgb(8 45 89 / .08);border-radius:.85rem;background:#f6f8fb;color:#596779}.page-context--provider .provider-onboarding__steps li.is-current{border-color:rgb(239 97 8 / .24);background:#fff3eb;color:var(--brand-950);box-shadow:inset 3px 0 0 var(--accent-600)}.page-context--provider .provider-onboarding__steps li.is-current>span{background:var(--accent-600);color:#fff}.page-context--provider .provider-onboarding__plan-note{border-top:1px solid rgb(8 45 89 / .08);background:transparent}.page-context--provider .provider-onboarding__privacy-note{border:1px solid rgb(8 45 89 / .08);border-radius:.8rem;background:#f6f8fb;color:#5c697a}.page-context--provider .provider-onboarding__header{align-items:end;margin-bottom:.75rem;padding:.2rem .2rem 0}.page-context--provider .provider-onboarding__heading h1{font-size:clamp(1.85rem,3.5vw,2.6rem);line-height:1.03;letter-spacing:-.035em}.page-context--provider .provider-onboarding__heading p{max-width:42rem;color:#5f6d80}.page-context--provider .provider-onboarding__save-state{border:1px solid rgb(25 135 84 / .16);border-radius:999px;background:#effaf4;color:#167348;padding:.5rem .7rem}.page-context--provider .provider-onboarding__card{border:1px solid rgb(8 45 89 / .11);border-radius:1.2rem;background:#fff;box-shadow:0 12px 32px rgb(8 45 89 / .05)}.page-context--provider .provider-guided-grid{grid-template-columns:minmax(0,1fr) 18rem;gap:1rem}.page-context--provider .provider-guided-fields{gap:.8rem}.page-context--provider .provider-guided-section{padding:1rem;border:1px solid rgb(8 45 89 / .09);border-radius:1rem;background:#fbfcfe}.page-context--provider .provider-guided-section>header>span{background:var(--brand-950);color:#fff}.page-context--provider .provider-guided-section h2{font-size:1rem}.page-context--provider .provider-fast-profile{grid-template-columns:12rem minmax(0,1fr);gap:.85rem}.page-context--provider .provider-avatar-picker{border-color:rgb(8 45 89 / .12);border-radius:.9rem;background:#fff}.page-context--provider .provider-profile-preview{position:sticky;top:calc(var(--header-height) + 1rem);align-self:start;border:1px solid rgb(239 97 8 / .18);border-radius:1rem;background:#fffaf6;box-shadow:none}.page-context--provider .provider-profile-preview__label{color:var(--accent-700)}.page-context--provider .provider-radius-control{display:grid;gap:.7rem;padding:.9rem;border:1px solid rgb(8 45 89 / .1);border-radius:.9rem;background:#fff}.page-context--provider .provider-radius-control__heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.page-context--provider .provider-radius-control__heading>span{display:grid;gap:.15rem}.page-context--provider .provider-radius-control__heading strong{font-size:.82rem}.page-context--provider .provider-radius-control__heading small{color:#6c788a;font-size:.67rem}.page-context--provider .provider-radius-control__heading b{padding:.42rem .62rem;border-radius:999px;background:#fff1e7;color:var(--accent-700);font-size:.78rem;white-space:nowrap}.page-context--provider .provider-radius-presets{display:flex;flex-wrap:wrap;gap:.4rem}.page-context--provider .provider-radius-presets button{min-height:2.2rem;padding:0 .72rem;border:1px solid rgb(8 45 89 / .12);border-radius:999px;background:#fff;color:#526175;font-size:.68rem;font-weight:850}.page-context--provider .provider-radius-presets button:hover,.page-context--provider .provider-radius-presets button.is-active{border-color:var(--accent-600);background:#fff1e7;color:var(--accent-700)}.page-context--provider .provider-radius-slider{display:block}.page-context--provider .provider-radius-slider input{width:100%;accent-color:var(--accent-600)}.page-context--provider .provider-radius-scale{display:flex;justify-content:space-between;color:#7a8696;font-size:.6rem}.page-context--provider [data-radius-save-note]{color:#5f6d80;font-size:.68rem}.page-context--provider .provider-onboarding__actions{position:static;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.8rem;margin-top:.9rem;padding:0;border:0;background:transparent;box-shadow:none}.page-context--provider .provider-onboarding__actions .identity-button--primary{min-width:11rem;background:var(--accent-600);box-shadow:0 8px 18px rgb(239 97 8 / .14)}.page-context--provider .provider-submit-status{color:#657286;font-size:.68rem;text-align:right}@media(max-width:63.99rem){.page-context--provider .provider-onboarding__workspace{grid-template-columns:minmax(0,1fr)}.page-context--provider .provider-onboarding__rail{position:static;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.8rem}.page-context--provider .provider-onboarding__steps{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.page-context--provider .provider-onboarding__plan-note,.page-context--provider .provider-onboarding__privacy-note{display:none}.page-context--provider .provider-guided-grid{grid-template-columns:minmax(0,1fr)}.page-context--provider .provider-profile-preview{position:static}}@media(max-width:47.99rem){.page-context--provider .provider-onboarding--guided{width:100%}.page-context--provider .provider-onboarding__rail{padding:.75rem;border-radius:.95rem}.page-context--provider .provider-onboarding__rail-heading strong{font-size:.88rem}.page-context--provider .provider-onboarding__steps li{padding:.55rem}.page-context--provider .provider-onboarding__header{align-items:flex-start}.page-context--provider .provider-onboarding__save-state{font-size:.62rem}.page-context--provider .provider-onboarding__card{padding:.75rem;border-radius:1rem}.page-context--provider .provider-guided-section{padding:.78rem}.page-context--provider .provider-fast-profile{grid-template-columns:minmax(0,1fr)}.page-context--provider .provider-radius-control__heading{align-items:flex-start}.page-context--provider .provider-radius-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.page-context--provider .provider-radius-presets button{width:100%;padding:0 .35rem}.page-context--provider .provider-onboarding__actions{grid-template-columns:minmax(0,1fr);padding-top:.7rem}.page-context--provider .provider-onboarding__actions>a{order:3;text-align:center}.page-context--provider .provider-onboarding__actions .identity-button--primary{width:100%;min-width:0}.page-context--provider .provider-submit-status{order:2;min-height:1rem;text-align:center}}

/* Source: resources/css/pages/h4-provider-onboarding-contrast-r9-fix2.css */
/*
 * Mercadito VNext H4 — Provider Onboarding Contrast R9 FIX2
 * Visual-only correction. R9 coverage and save logic remain unchanged.
 */

.page-context--provider {
    background: #f3f6f9;
}

.page-context--provider .app-main {
    background: #f3f6f9;
}

.page-context--provider .provider-onboarding--guided {
    color: #102844;
}

.page-context--provider .provider-onboarding__rail {
    border-color: #d7dee8;
    background: #ffffff;
    color: #102844;
    box-shadow: 0 10px 28px rgb(8 45 89 / 0.055);
}

.page-context--provider .provider-onboarding__rail-heading > span,
.page-context--provider .provider-onboarding__plan-note > span,
.page-context--provider .provider-onboarding__heading .identity-eyebrow,
.page-context--provider .provider-profile-preview__label {
    color: #d94f00;
}

.page-context--provider .provider-onboarding__rail-heading strong,
.page-context--provider .provider-onboarding__plan-note strong,
.page-context--provider .provider-onboarding__heading h1,
.page-context--provider .provider-guided-section h2,
.page-context--provider .provider-guided-section label,
.page-context--provider .provider-avatar-picker strong,
.page-context--provider .provider-profile-preview strong,
.page-context--provider .provider-profile-preview dt,
.page-context--provider .provider-profile-preview dd,
.page-context--provider .provider-radius-control__heading strong {
    color: #0a2645;
}

.page-context--provider .provider-onboarding__heading p,
.page-context--provider .provider-guided-section p,
.page-context--provider .provider-guided-section small,
.page-context--provider .provider-avatar-picker p,
.page-context--provider .provider-profile-preview p,
.page-context--provider .provider-profile-preview small,
.page-context--provider .provider-radius-control__heading small,
.page-context--provider [data-radius-save-note],
.page-context--provider .provider-submit-status {
    color: #4d5d72;
}

.page-context--provider .provider-onboarding__steps li {
    border-color: #d7dee8;
    background: #f5f7fa;
    color: #314157;
}

.page-context--provider .provider-onboarding__steps li strong {
    color: #20334d;
}

.page-context--provider .provider-onboarding__steps li small {
    color: #5d6b7d;
}

.page-context--provider .provider-onboarding__steps li.is-current {
    border-color: #ef6108;
    background: #ffffff;
    color: #0a2645;
    box-shadow:
        inset 4px 0 0 #ef6108,
        0 5px 14px rgb(8 45 89 / 0.06);
}

.page-context--provider .provider-onboarding__steps li.is-current > span {
    background: #ef6108;
    color: #ffffff;
}

.page-context--provider .provider-onboarding__plan-note {
    border-top-color: #d7dee8;
}

.page-context--provider .provider-onboarding__plan-note p {
    color: #4e5d70;
}

.page-context--provider .provider-onboarding__privacy-note {
    border-color: #d7dee8;
    background: #f2f5f8;
    color: #34455b;
}

.page-context--provider .provider-onboarding__save-state {
    border-color: #add9c0;
    background: #ffffff;
    color: #146c43;
    box-shadow: 0 2px 8px rgb(20 108 67 / 0.06);
}

.page-context--provider .provider-onboarding__card,
.page-context--provider .provider-guided-section,
.page-context--provider .provider-avatar-picker,
.page-context--provider .provider-profile-preview,
.page-context--provider .provider-radius-control {
    background: #ffffff;
}

.page-context--provider .provider-onboarding__card {
    border-color: #d5dde7;
    box-shadow:
        0 1px 2px rgb(8 45 89 / 0.025),
        0 14px 34px rgb(8 45 89 / 0.055);
}

.page-context--provider .provider-guided-section {
    border-color: #d9e0e8;
}

.page-context--provider .provider-guided-section > header > span {
    background: #0a2b50;
    color: #ffffff;
}

.page-context--provider .provider-avatar-picker {
    border-color: #cfd7e2;
}

.page-context--provider
.provider-onboarding--guided
input[type="text"],
.page-context--provider
.provider-onboarding--guided
input[type="search"],
.page-context--provider
.provider-onboarding--guided
select,
.page-context--provider
.provider-onboarding--guided
textarea {
    border-color: #bcc7d4;
    background: #ffffff;
    color: #102844;
}

.page-context--provider
.provider-onboarding--guided
input[type="text"]:focus,
.page-context--provider
.provider-onboarding--guided
input[type="search"]:focus,
.page-context--provider
.provider-onboarding--guided
select:focus,
.page-context--provider
.provider-onboarding--guided
textarea:focus {
    border-color: #ef6108;
    box-shadow: 0 0 0 3px rgb(239 97 8 / 0.11);
}

.page-context--provider .provider-avatar-picker .identity-button--secondary {
    border-color: #d55a12;
    background: #ffffff;
    color: #a93d00;
}

.page-context--provider .provider-profile-preview {
    border-color: #cfd7e2;
    box-shadow: 0 8px 22px rgb(8 45 89 / 0.045);
}

.page-context--provider .provider-profile-preview__note {
    border: 1px solid #d7e0ea;
    background: #f1f5f9;
    color: #24415f;
}

.page-context--provider .provider-radius-control {
    border-color: #cfd7e2;
}

.page-context--provider .provider-radius-control__heading b {
    border: 1px solid #f0b58e;
    background: #ffffff;
    color: #bd4500;
}

.page-context--provider .provider-radius-presets button {
    border-color: #c7d0dc;
    background: #ffffff;
    color: #34455b;
}

.page-context--provider .provider-radius-presets button:hover,
.page-context--provider .provider-radius-presets button.is-active {
    border-color: #ef6108;
    background: #ef6108;
    color: #ffffff;
    box-shadow: 0 4px 12px rgb(239 97 8 / 0.15);
}

.page-context--provider .provider-radius-scale {
    color: #657387;
}

.page-context--provider
.provider-onboarding__actions
.identity-button--primary {
    background: #ef6108;
    color: #ffffff;
}

.page-context--provider
.provider-onboarding__actions
.identity-button--primary:hover {
    background: #d95000;
}

.page-context--provider .provider-onboarding__actions > a {
    color: #173b62;
}

.page-context--provider .provider-onboarding__error {
    border-color: #d99494;
    background: #fffafa;
    color: #7f1d1d;
}

.page-context--provider
.provider-onboarding--guided::before,
.page-context--provider
.provider-onboarding--guided::after {
    display: none;
}

@media (max-width: 47.99rem) {
    .page-context--provider {
        background: #f3f6f9;
    }

    .page-context--provider .provider-onboarding__rail,
    .page-context--provider .provider-onboarding__card,
    .page-context--provider .provider-guided-section,
    .page-context--provider .provider-profile-preview {
        background: #ffffff;
    }
}


/* Source: resources/css/pages/h4-mobile-launch-r19.css */
/*
 * Mercadito VNext H4 — Mobile Launch UX R19
 * Scope: final mobile ergonomics without changing business logic.
 * - fixed navigation never covers actionable content;
 * - home search/location controls remain readable at 360–412 px;
 * - category directory is compact and searchable;
 * - completed lifecycle history uses progressive disclosure;
 * - primary touch targets meet a 44 px minimum.
 */

.categories-page--compact {
    --category-control-height: 3rem;
}

.category-directory-tools {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.category-directory-search {
    display: grid;
    min-height: var(--category-control-height);
    grid-template-columns: 1.35rem minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    padding: 0 0.9rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.9rem;
    background: var(--white);
    box-shadow: 0 4px 14px rgb(6 26 53 / 0.05);
}

.category-directory-search:focus-within {
    border-color: var(--accent-600);
    box-shadow: 0 0 0 3px rgb(239 97 8 / 0.1);
}

.category-directory-search svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--brand-700);
}

.category-directory-search input {
    width: 100%;
    min-width: 0;
    height: calc(var(--category-control-height) - 2px);
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--brand-950);
    font: inherit;
    font-size: 1rem;
}

.category-directory-tools__status,
.category-directory-empty {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.78rem;
}

.category-directory-empty {
    padding: 1rem;
    border: 1px dashed var(--gray-300);
    border-radius: 0.9rem;
    background: var(--gray-50);
    text-align: center;
}

.category-group {
    padding: 0;
    overflow: clip;
}

.category-group__summary {
    display: flex;
    min-height: 3.65rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    list-style: none;
}

.category-group__summary::-webkit-details-marker {
    display: none;
}

.category-group__summary-copy {
    display: grid;
    min-width: 0;
    gap: 0.15rem;
}

.category-group__title {
    color: var(--brand-950);
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.2;
}

.category-group__summary small {
    color: var(--gray-500);
    font-size: 0.72rem;
    font-weight: 650;
}

.category-group__chevron {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--brand-800);
    font-size: 1.05rem;
    transition: transform var(--transition-fast);
}

.category-group[open] .category-group__chevron {
    transform: rotate(180deg);
}

.category-group__body {
    padding: 0 0.75rem 0.75rem;
    border-top: 1px solid var(--gray-200);
}

.category-group__all {
    display: flex;
    min-height: 2.9rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.7rem;
    color: var(--brand-800);
    font-size: 0.82rem;
    font-weight: 850;
}

.category-group__body ul {
    margin-top: 0.25rem;
}

.request-terminal-history,
.opportunity-terminal-history,
.fulfillment-history-disclosure {
    overflow: clip;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    background: var(--white);
}

.request-terminal-history > summary,
.opportunity-terminal-history > summary,
.fulfillment-history-disclosure > summary {
    display: grid;
    min-height: 3.6rem;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    list-style: none;
    color: var(--brand-900);
    font-weight: 850;
}

.request-terminal-history > summary::-webkit-details-marker,
.opportunity-terminal-history > summary::-webkit-details-marker,
.fulfillment-history-disclosure > summary::-webkit-details-marker {
    display: none;
}

.request-terminal-history > summary::after,
.opportunity-terminal-history > summary::after,
.fulfillment-history-disclosure > summary::after {
    content: "+";
    color: var(--accent-700);
    font-size: 1.25rem;
}

.request-terminal-history[open] > summary::after,
.opportunity-terminal-history[open] > summary::after,
.fulfillment-history-disclosure[open] > summary::after {
    content: "−";
}

.request-terminal-history__body,
.opportunity-terminal-history__body,
.fulfillment-history-disclosure__body {
    display: grid;
    gap: 1rem;
    padding: 0 1rem 1rem;
    border-top: 1px solid var(--gray-200);
}

.fulfillment-history-disclosure {
    box-shadow: none;
}

@media (min-width: 44rem) {
    .categories-page--compact .category-directory-tools {
        width: min(100%, 38rem);
    }

    .categories-page--compact .category-directory {
        align-items: start;
    }
}

@media (max-width: 47.99rem) {
    :root {
        --mobile-bottom-nav-clearance: calc(5.75rem + env(safe-area-inset-bottom));
    }

    html {
        scroll-padding-bottom: var(--mobile-bottom-nav-clearance);
    }

    body:not(.app-flow--focused):not(.app-flow--registration) .app-main {
        padding-bottom: var(--mobile-bottom-nav-clearance);
    }

    .bottom-navigation {
        min-height: calc(4.35rem + env(safe-area-inset-bottom));
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 0.35rem 0.35rem max(0.35rem, env(safe-area-inset-bottom));
    }

    .bottom-navigation__item {
        min-height: 3.55rem;
        padding-inline: 0.15rem;
        font-size: 0.67rem;
    }

    .app-header__menu,
    .app-header__account,
    .app-header__flow-close {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .identity-button,
    .primary-button,
    .secondary-button,
    .account-link-button,
    .page-actions > a,
    .page-actions > button {
        min-height: 44px;
    }

    .text-action {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
    }

    .award-contact a {
        display: flex;
        min-height: 44px;
        align-items: center;
    }

    /* Home: search, location and submit are three clear touch zones. */
    .page-context--home .home-page--activity-r12 .search-box__meta--location-r12,
    .page-context--home .home-page--search-only .search-box__meta,
    .page-context--home .search-box__meta {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.6rem;
    }

    .page-context--home .home-location-selector {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 1rem;
    }

    .page-context--home .home-location-selector__field {
        min-height: 3.35rem;
        grid-template-columns: 2rem minmax(0, 1fr);
        gap: 0.45rem;
        padding: 0.5rem 0.6rem;
    }

    .page-context--home .home-location-selector__icon {
        width: 2rem;
        height: 2rem;
    }

    .page-context--home .home-location-selector__copy small {
        font-size: 0.62rem;
        line-height: 1.1;
    }

    .page-context--home .home-location-selector__copy select {
        height: 1.65rem;
        padding-right: 1rem;
        font-size: 0.84rem;
        line-height: 1.2;
    }

    .page-context--home .home-page--activity-r12 .search-box input,
    .page-context--home .home-page--search-only .search-box input,
    .page-context--home .search-box input {
        font-size: 1rem;
    }

    .page-context--home .home-page--activity-r12 .search-box__submit,
    .page-context--home .home-page--search-only .search-box__submit,
    .page-context--home .search-box__submit {
        width: 100%;
        min-width: 0;
        min-height: 3.25rem;
        padding-inline: 1rem;
        border-radius: 1rem;
        font-size: 0.9rem;
    }

    /* Categories: one category per row, collapsed until the user needs it. */
    .categories-page--compact .page-intro--categories {
        margin-bottom: 1rem;
    }

    .categories-page--compact .page-intro--categories h1 {
        margin-bottom: 0.55rem;
        font-size: clamp(1.75rem, 8vw, 2.15rem);
    }

    .categories-page--compact .page-intro--categories > p:not(.eyebrow) {
        margin-bottom: 0.45rem;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .categories-page--compact .category-directory {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .categories-page--compact .category-group {
        border-radius: 0.9rem;
        box-shadow: none;
    }

    .categories-page--compact .category-group__summary {
        min-height: 3.55rem;
        padding: 0.7rem 0.85rem;
    }

    .categories-page--compact .category-group__body {
        padding: 0.4rem 0.55rem 0.65rem;
    }

    .categories-page--compact .category-group li a,
    .categories-page--compact .category-group__all {
        min-height: 44px;
        padding: 0.55rem 0.65rem;
    }

    /* Terminal screens: current outcome first, history on demand. */
    .request-detail.is-terminal,
    .opportunity-response.is-terminal {
        gap: 0.75rem;
    }

    .request-detail.is-terminal .lifecycle-snapshot,
    .opportunity-response.is-terminal .opportunity-response__summary,
    .fulfillment-card.is-terminal .fulfillment-summary {
        gap: 0.45rem;
    }

    .request-detail.is-terminal .lifecycle-snapshot article,
    .opportunity-response.is-terminal .opportunity-response__summary article,
    .fulfillment-card.is-terminal .fulfillment-summary article {
        padding: 0.65rem;
    }

    .request-terminal-history,
    .opportunity-terminal-history,
    .fulfillment-history-disclosure {
        border-radius: 0.9rem;
    }

    .request-terminal-history__body,
    .opportunity-terminal-history__body,
    .fulfillment-history-disclosure__body {
        padding: 0.75rem;
    }
}

@media (max-width: 23rem) {
    .page-context--home .home-location-selector {
        grid-template-columns: 1fr;
    }

    .page-context--home .home-location-selector__field + .home-location-selector__field {
        border-top: 1px solid var(--gray-200);
    }
}

@media (max-width: 47.99rem) {
    /* High-specificity launch overrides: older provider/home modules use
       page-context selectors, so generic 44px rules are not sufficient. */
    .page-context--provider .provider-workspace__ghost-action,
    .page-context--provider .provider-opportunities-hero__back,
    .page-context--provider .provider-opportunity-card__cta,
    .page-context--home .home-activity__more,
    .request-list-card > a,
    .opportunity-card > a,
    .page-context--provider .provider-onboarding summary,
    .page-context--provider .provider-onboarding button,
    .page-context--provider .provider-onboarding .identity-button,
    .page-context--provider .provider-onboarding__actions > a,
    .page-context--provider .provider-onboarding--guided .provider-radius-presets button {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
    }

    .page-context--provider .provider-workspace__menu summary {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .page-context--provider .provider-opportunity-card__cta,
    .request-list-card > a,
    .opportunity-card > a {
        width: 100%;
    }

    .page-context--provider .provider-onboarding summary {
        width: 100%;
    }

    .page-context--provider .provider-onboarding__actions > a {
        justify-content: center;
        padding-block: 0.55rem;
    }
}


/* Source: resources/css/pages/h4-legal-footer-r20.css */
/* Mercadito Amelia — Institutional footer + legal pages R20.1 */

.institutional-footer {
    margin-top: auto;
    border-top: 1px solid rgb(8 45 89 / 0.09);
    background: linear-gradient(
        180deg,
        rgb(255 255 255 / 0.96) 0%,
        rgb(248 250 253 / 0.98) 100%
    );
}

.institutional-footer__inner {
    width: min(calc(100% - 2rem), var(--container));
    margin-inline: auto;
    padding: 1.4rem 0 1.15rem;
    display: grid;
    grid-template-columns: minmax(18rem, 1fr) minmax(22rem, auto);
    grid-template-areas:
        "brand links"
        "disclaimer disclaimer"
        "copyright copyright";
    column-gap: clamp(2rem, 5vw, 4.5rem);
    row-gap: 0.6rem;
}

.institutional-footer__brand {
    grid-area: brand;
    display: grid;
    align-content: start;
    gap: 0.25rem;
    min-width: 0;
}

.institutional-footer__brand strong {
    color: var(--brand-950);
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 850;
}

.institutional-footer__brand p,
.institutional-footer__disclaimer,
.institutional-footer__copyright {
    margin: 0;
    color: #66758a;
}

.institutional-footer__brand p {
    max-width: 30rem;
    font-size: 0.82rem;
    line-height: 1.5;
}

.institutional-footer__links {
    grid-area: links;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: end;
    align-content: start;
    gap: 0.1rem 1.4rem;
    margin: 0;
}

.institutional-footer__links a {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    color: var(--brand-900);
    font-size: 0.82rem;
    line-height: 1.3;
    font-weight: 760;
    text-decoration: none;
    white-space: nowrap;
}

.institutional-footer__links a:hover,
.institutional-footer__links a:focus-visible {
    color: var(--accent-700);
    text-decoration: underline;
    text-underline-offset: 0.18rem;
}

.institutional-footer__disclaimer {
    grid-area: disclaimer;
    max-width: 72rem;
    margin-top: 0.05rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgb(8 45 89 / 0.07);
    font-size: 0.78rem;
    line-height: 1.55;
}

.institutional-footer__copyright {
    grid-area: copyright;
    color: #7c8897;
    font-size: 0.75rem;
    line-height: 1.45;
}

.legal-shell {
    width: min(100%, 56rem);
    margin-inline: auto;
    padding-bottom: 1rem;
}

.legal-hero {
    padding: clamp(1.1rem, 3vw, 2rem) 0 1.35rem;
    border-bottom: 1px solid rgb(8 45 89 / 0.09);
}

.legal-hero__eyebrow {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--accent-700);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-hero h1 {
    margin: 0;
    max-width: 46rem;
    color: var(--brand-950);
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

.legal-hero p {
    max-width: 44rem;
    margin: 0.8rem 0 0;
    color: #596a80;
    font-size: 0.96rem;
    line-height: 1.65;
}

.legal-hero__updated {
    display: inline-block;
    margin-top: 0.8rem;
    color: #7a8797;
    font-size: 0.68rem;
    font-weight: 700;
}

.legal-content {
    display: grid;
    gap: 0;
}

.legal-content > section {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgb(8 45 89 / 0.07);
}

.legal-content > section:last-child {
    border-bottom: 0;
}

.legal-content h2 {
    margin: 0 0 0.55rem;
    color: var(--brand-950);
    font-size: 1rem;
    line-height: 1.3;
}

.legal-content p {
    max-width: 50rem;
    margin: 0.45rem 0 0;
    color: #53647a;
    font-size: 0.88rem;
    line-height: 1.72;
}

@media (max-width: 63.99rem) {
    .institutional-footer__inner {
        grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.9fr);
        column-gap: 2rem;
    }

    .institutional-footer__links {
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch;
    }

    .institutional-footer__links a {
        white-space: normal;
    }
}

@media (max-width: 47.99rem) {
    body:not(.app-flow--focused):not(.app-flow--registration) .app-main {
        padding-bottom: 1.25rem;
    }

    .institutional-footer__inner {
        width: min(calc(100% - 1.5rem), var(--container));
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "brand"
            "links"
            "disclaimer"
            "copyright";
        gap: 0.55rem;
        padding-top: 1.15rem;
        padding-bottom: calc(1.2rem + env(safe-area-inset-bottom));
    }

    body:not(.app-flow--focused):not(.app-flow--registration)
        .institutional-footer__inner {
        padding-bottom: calc(
            var(--mobile-bottom-nav-clearance, 5.75rem)
            + 0.85rem
        );
    }

    .institutional-footer__brand {
        gap: 0.2rem;
    }

    .institutional-footer__brand strong {
        font-size: 0.98rem;
    }

    .institutional-footer__brand p {
        max-width: 25rem;
        font-size: 0.82rem;
    }

    .institutional-footer__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 0.1rem 0.75rem;
        padding-top: 0.15rem;
    }

    .institutional-footer__links a {
        min-height: 44px;
        font-size: 0.82rem;
        white-space: normal;
    }

    .institutional-footer__disclaimer {
        margin-top: 0.1rem;
        padding-top: 0.7rem;
        font-size: 0.78rem;
    }

    .institutional-footer__copyright {
        font-size: 0.75rem;
    }

    .legal-hero {
        padding-top: 0.85rem;
    }

    .legal-hero p {
        font-size: 0.9rem;
    }

    .legal-content > section {
        padding: 1rem 0;
    }

    .legal-content p {
        font-size: 0.84rem;
        line-height: 1.68;
    }
}

@media (max-width: 25rem) {
    .institutional-footer__links {
        grid-template-columns: minmax(0, 1fr);
    }
}




/* Mercadito R29 — Pro -> Empresa upgrade */
.page-context--provider .provider-category-limit-message > span{display:block}
.page-context--provider .provider-category-upgrade-link,.page-context--provider .provider-plan-upgrade-link{display:inline-flex;align-items:center;margin-top:.45rem;color:var(--accent-700);font-weight:800;text-decoration:none}
.page-context--provider .provider-category-upgrade-link:hover,.page-context--provider .provider-plan-upgrade-link:hover{text-decoration:underline}

/* Enterprise marketplace product editor R30 */
.product-marketplace__header {
    align-items: flex-start;
}

.product-marketplace__grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .72fr);
    align-items: start;
}

.product-marketplace-form {
    display: grid;
    gap: 18px;
}

.product-editor-section {
    padding: clamp(20px, 3vw, 30px);
}

.product-editor-section__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.product-editor-section__header > span {
    display: inline-grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #062a50;
    color: #fff;
    font-weight: 800;
    font-size: .78rem;
}

.product-editor-section__header h2,
.product-editor-section__header p {
    margin: 0;
}

.product-editor-section__header h2 {
    margin-top: 3px;
}

.product-editor-section__header p:last-child {
    margin-top: 5px;
    color: #5d6f82;
}

.product-category-picker__control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.product-category-picker__control > input[type="search"] {
    width: 100%;
    min-height: 54px;
    border: 1px solid #cbd7e3;
    border-radius: 16px;
    padding: 0 16px;
    background: #fff;
    color: #08294a;
    font: inherit;
    font-weight: 650;
}

.product-category-picker__control > input[type="search"]:focus {
    outline: 3px solid rgba(245, 91, 0, .12);
    border-color: #f45b00;
}

.product-category-picker > small,
.product-location-picker > small {
    display: block;
    margin-top: 7px;
    color: #607286;
}

.product-category-picker > small[data-state="success"] {
    color: #17643b;
}

.product-category-picker > small[data-state="warning"] {
    color: #9d3f00;
}

.product-category-results {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.product-category-results:empty {
    display: none;
}

.product-category-results__heading {
    color: #68798a;
    font-weight: 750;
}

.product-category-result {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 13px 15px;
    border: 1px solid #d8e1e9;
    border-radius: 14px;
    background: #fff;
    color: #08294a;
    text-align: left;
    cursor: pointer;
}

.product-category-result:hover,
.product-category-result:focus-visible {
    border-color: #f45b00;
    box-shadow: 0 0 0 3px rgba(245, 91, 0, .08);
    outline: none;
}

.product-category-result span {
    display: grid;
    gap: 2px;
}

.product-category-result small {
    color: #697c90;
}

.product-category-result b {
    color: #e95400;
    white-space: nowrap;
    font-size: .83rem;
}

.product-category-results__empty {
    margin: 0;
    padding: 12px 14px;
    border: 1px dashed #d8e1e9;
    border-radius: 12px;
    color: #68798a;
}

.product-media-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 12px;
}

.product-media-slot {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #d8e1e9;
    border-radius: 18px;
    background: #fbfcfd;
}

.product-media-slot--primary {
    border-color: #f4c4a6;
    background: #fffaf7;
}

.product-media-slot.is-removing {
    opacity: .55;
}

.product-media-slot__preview {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 13px;
    background: #eef3f7;
    color: #7b8c9d;
    font-size: 2rem;
}

.product-media-slot--primary .product-media-slot__preview {
    aspect-ratio: 16 / 10;
}

.product-media-slot__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-media-slot > small {
    min-height: 34px;
    color: #68798a;
    line-height: 1.35;
}

.product-media-slot__action {
    justify-content: center;
    cursor: pointer;
}

.product-media-slot__action.is-required {
    border-color: #c93c1c;
    box-shadow: 0 0 0 3px rgba(201, 60, 28, .1);
}

.product-media-remove {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #6d7781;
    font-size: .84rem;
}

.product-spec-list {
    display: grid;
    gap: 10px;
}

.product-spec-row {
    display: grid;
    grid-template-columns: minmax(160px, .75fr) minmax(0, 1.4fr);
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
    background: #f7f9fb;
}

.product-spec-row[hidden] {
    display: none;
}

.product-spec-row .identity-field {
    margin: 0;
}

.product-choice-group {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    padding: 0;
    border: 0;
}

.product-choice-group legend {
    margin-bottom: 8px;
    color: #08294a;
    font-weight: 800;
}

.product-choice-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 15px;
    border: 1px solid #d8e1e9;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}

.product-choice-card:has(input:checked) {
    border-color: #f45b00;
    background: #fff9f5;
    box-shadow: 0 0 0 2px rgba(244, 91, 0, .07);
}

.product-choice-card input {
    margin-top: 3px;
}

.product-choice-card span {
    display: grid;
    gap: 2px;
}

.product-choice-card strong {
    color: #08294a;
}

.product-choice-card small {
    color: #68798a;
}

.product-choice-group--delivery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-choice-group--delivery legend,
.product-choice-group--delivery .product-choice-group__error {
    grid-column: 1 / -1;
}

.product-choice-group__error {
    color: #a53d1d;
    font-weight: 700;
}

.product-inline-unit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-inline-unit input {
    max-width: 130px;
}

.product-inline-unit b {
    color: #53677b;
}

.product-lead-time[hidden] {
    display: none;
}

.product-location-picker > input[list] {
    width: 100%;
    min-height: 54px;
    border: 1px solid #cbd7e3;
    border-radius: 16px;
    padding: 0 16px;
    background: #fff;
    color: #08294a;
    font: inherit;
    font-weight: 650;
}

.product-publish-actions {
    position: sticky;
    bottom: 12px;
    z-index: 6;
    padding: 12px;
    border: 1px solid #dfe6ed;
    border-radius: 18px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 12px 34px rgba(5, 32, 58, .12);
    backdrop-filter: blur(12px);
}

.product-marketplace__side {
    position: sticky;
    top: 88px;
}

.product-quality-card__score {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 8px 0;
    color: #08294a;
}

.product-quality-card__score strong {
    font-size: 2.35rem;
    line-height: 1;
}

.product-quality-card__score span {
    color: #6a7b8d;
}

.product-quality-card__bar {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9eef3;
}

.product-quality-card__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #f45b00;
    transition: width .2s ease;
}

.product-quality-checks {
    display: grid;
    gap: 7px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.product-quality-checks li {
    color: #718192;
}

.product-quality-checks li::before {
    content: '○';
    margin-right: 8px;
}

.product-quality-checks li.is-complete {
    color: #17643b;
    font-weight: 700;
}

.product-quality-checks li.is-complete::before {
    content: '✓';
}

.product-publication-list__row dt {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-publication-list__row dt img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
    background: #eef2f6;
}

.product-publication-list__row dt span {
    display: grid;
    gap: 3px;
}

.product-marketplace-help {
    border-color: #e7edf2;
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.instant-provider-card__product-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 16px;
    background: #eef2f5;
}

.instant-provider-card__product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instant-provider-card__delivery {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.instant-provider-card__delivery span {
    padding: 6px 9px;
    border-radius: 999px;
    background: #f2f5f8;
    color: #40576d;
    font-size: .82rem;
    font-weight: 700;
}

@media (max-width: 980px) {
    .product-marketplace__grid {
        grid-template-columns: 1fr;
    }

    .product-marketplace__side {
        position: static;
    }
}

@media (max-width: 720px) {
    .product-media-grid,
    .product-choice-group--delivery,
    .product-spec-row {
        grid-template-columns: 1fr;
    }

    .product-category-picker__control {
        grid-template-columns: 1fr;
    }

    .product-media-slot--primary .product-media-slot__preview,
    .product-media-slot__preview {
        aspect-ratio: 16 / 10;
    }

    .product-publish-actions {
        bottom: 8px;
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* Enterprise marketplace product publishing and public detail R30 */
.product-media-slot__optimization {
    display: block;
    min-height: 1.2em;
    margin-top: 0.45rem;
    font-size: 0.76rem;
}

.product-media-slot__optimization[data-state="loading"] {
    opacity: 0.72;
}

.product-media-slot__optimization[data-state="success"] {
    font-weight: 700;
}

.product-media-slot__optimization[data-state="error"] {
    font-weight: 700;
}

.marketplace-product-detail {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 72px;
}

.marketplace-product-detail__crumbs {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
    font-size: 0.86rem;
}

.marketplace-product-detail__crumbs a {
    text-decoration: none;
}

.marketplace-product-detail__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.75fr);
    gap: 24px;
    align-items: start;
}

.marketplace-product-gallery,
.marketplace-product-buybox,
.marketplace-product-detail__panel {
    background: #fff;
    border: 1px solid var(--border-soft, #dce4ec);
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(14, 36, 61, 0.06);
}

.marketplace-product-gallery {
    padding: 18px;
}

.marketplace-product-gallery__main {
    display: grid;
    place-items: center;
    min-height: 430px;
    overflow: hidden;
    border-radius: 16px;
    background: #f6f8fb;
}

.marketplace-product-gallery__main img {
    width: 100%;
    height: min(58vw, 540px);
    max-height: 540px;
    object-fit: contain;
}

.marketplace-product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 112px));
    gap: 10px;
    margin-top: 12px;
}

.marketplace-product-gallery__thumb {
    aspect-ratio: 1 / 1;
    padding: 3px;
    overflow: hidden;
    border: 1px solid #d8e2eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.marketplace-product-gallery__thumb.is-active {
    outline: 2px solid #f45b05;
    outline-offset: 1px;
}

.marketplace-product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.marketplace-product-buybox {
    position: sticky;
    top: 18px;
    padding: 26px;
}

.marketplace-product-buybox h1 {
    margin: 0.3rem 0 0.7rem;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    line-height: 1.04;
}

.marketplace-product-buybox__summary {
    margin: 0 0 1.15rem;
    line-height: 1.55;
}

.marketplace-product-buybox__price {
    margin: 0.8rem 0;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 800;
}

.marketplace-product-buybox__signals,
.marketplace-product-buybox__delivery {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.8rem 0;
}

.marketplace-product-buybox__signals span,
.marketplace-product-buybox__delivery span {
    padding: 0.48rem 0.7rem;
    border: 1px solid #dbe3eb;
    border-radius: 999px;
    background: #f7f9fb;
    font-size: 0.82rem;
    font-weight: 700;
}

.marketplace-product-buybox__delivery span {
    background: #fff7f1;
    border-color: #ffd7be;
}

.marketplace-product-buybox__location,
.marketplace-product-buybox__seller {
    margin: 1rem 0;
    line-height: 1.45;
}

.marketplace-product-buybox__cta {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1.1rem;
}

.marketplace-product-detail__content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 20px;
    margin-top: 24px;
}

.marketplace-product-detail__panel {
    padding: 26px;
}

.marketplace-product-detail__panel h2 {
    margin: 0.25rem 0 1rem;
}

.marketplace-product-detail__description {
    margin: 0;
    line-height: 1.7;
}

.marketplace-product-specifications {
    display: grid;
    margin: 0;
}

.marketplace-product-specifications > div,
.marketplace-product-detail__facts > div {
    display: grid;
    grid-template-columns: minmax(120px, 0.42fr) minmax(0, 0.58fr);
    gap: 1rem;
    padding: 0.82rem 0;
    border-bottom: 1px solid #e7edf2;
}

.marketplace-product-specifications > div:last-child,
.marketplace-product-detail__facts > div:last-child {
    border-bottom: 0;
}

.marketplace-product-specifications dt,
.marketplace-product-detail__facts dt {
    font-weight: 700;
}

.marketplace-product-specifications dd,
.marketplace-product-detail__facts dd {
    margin: 0;
}

.marketplace-product-detail__facts {
    margin: 0;
}

@media (max-width: 900px) {
    .marketplace-product-detail__hero,
    .marketplace-product-detail__content {
        grid-template-columns: 1fr;
    }

    .marketplace-product-buybox {
        position: static;
    }
}

@media (max-width: 600px) {
    .marketplace-product-detail {
        width: min(100% - 20px, 1180px);
        padding-top: 14px;
    }

    .marketplace-product-gallery,
    .marketplace-product-buybox,
    .marketplace-product-detail__panel {
        border-radius: 16px;
    }

    .marketplace-product-gallery {
        padding: 10px;
    }

    .marketplace-product-gallery__main {
        min-height: 280px;
    }

    .marketplace-product-gallery__main img {
        height: 78vw;
        max-height: 390px;
    }

    .marketplace-product-buybox,
    .marketplace-product-detail__panel {
        padding: 18px;
    }

    .marketplace-product-specifications > div,
    .marketplace-product-detail__facts > div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}

/* Marketplace product search catalogue R30.2
 * Product results are retail catalogue cards, never full-width provider cards.
 */
.marketplace-results {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 72px;
}

.marketplace-results__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    margin-bottom: 18px;
}

.marketplace-results__back {
    margin-top: 2px;
}

.marketplace-results__header .eyebrow {
    margin: 0 0 5px;
}

.marketplace-results__header h1 {
    max-width: 780px;
    margin: 0;
    color: var(--brand-950);
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.marketplace-results__header h1 span {
    color: var(--accent-700);
}

.marketplace-results__context {
    margin: 8px 0 0;
    color: var(--gray-700);
    font-size: .9rem;
}

.marketplace-results__meta {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 20px;
    color: var(--gray-700);
    font-size: .88rem;
}

.marketplace-results__meta strong {
    color: var(--brand-950);
    font-size: 1.1rem;
}

.marketplace-results__meta-location {
    color: var(--gray-600);
}

.marketplace-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
    justify-content: start;
    align-items: stretch;
    gap: 18px;
}

.marketplace-product-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 8px 24px rgb(4 24 48 / .07);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.marketplace-product-card:hover {
    transform: translateY(-2px);
    border-color: #cfd9e4;
    box-shadow: 0 14px 32px rgb(4 24 48 / .1);
}

.marketplace-product-card__media {
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 4 / 3;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-100);
    background: #f7f9fb;
}

.marketplace-product-card__media img {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
    transition: transform .2s ease;
}

.marketplace-product-card:hover .marketplace-product-card__media img {
    transform: scale(1.02);
}

.marketplace-product-card__no-image {
    color: var(--gray-500);
    font-size: .78rem;
    font-weight: 700;
}

.marketplace-product-card__verified {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    border: 1px solid rgb(22 131 74 / .18);
    border-radius: 999px;
    background: rgb(255 255 255 / .94);
    color: var(--success);
    font-size: .66rem;
    font-weight: 900;
    box-shadow: 0 4px 12px rgb(4 24 48 / .08);
}

.marketplace-product-card__body {
    display: grid;
    gap: 10px;
    padding: 14px;
}

.marketplace-product-card__seller {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--gray-600);
    font-size: .72rem;
    line-height: 1.3;
}

.marketplace-product-card__seller span:first-child {
    min-width: 0;
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.marketplace-product-card__seller span:last-child {
    flex: 0 0 auto;
}

.marketplace-product-card h2 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
}

.marketplace-product-card h2 a {
    color: var(--brand-950);
    text-decoration: none;
}

.marketplace-product-card h2 a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.marketplace-product-card__description {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--gray-700);
    font-size: .82rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.marketplace-product-card__commercial {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding-top: 2px;
}

.marketplace-product-card__commercial strong {
    color: var(--brand-950);
    font-size: 1.2rem;
    letter-spacing: -.02em;
}

.marketplace-product-card__commercial span {
    color: var(--gray-600);
    font-size: .72rem;
    font-weight: 700;
    text-align: right;
}

.marketplace-product-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.marketplace-product-card__badges span {
    padding: 5px 7px;
    border-radius: 999px;
    background: #f1f5f8;
    color: #42566d;
    font-size: .68rem;
    font-weight: 750;
}

.marketplace-product-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 8px;
    margin-top: 2px;
}

.marketplace-product-card__actions .primary-button,
.marketplace-product-card__actions .secondary-button {
    width: 100%;
    min-height: 40px;
    padding-inline: 10px;
    font-size: .78rem;
}

.marketplace-results__compare {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding: 18px 20px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: #f8fafc;
}

.marketplace-results__compare h2 {
    margin: 2px 0 4px;
    color: var(--brand-950);
    font-size: 1.1rem;
}

.marketplace-results__compare p {
    margin: 0;
    color: var(--gray-700);
    font-size: .82rem;
}

.marketplace-results__compare > .secondary-button {
    flex: 0 0 auto;
}

@media (max-width: 720px) {
    .marketplace-results {
        width: min(100% - 20px, 1180px);
        padding-top: 18px;
    }

    .marketplace-results__header {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .marketplace-results__back {
        width: 42px;
    }

    .marketplace-results__header h1 {
        font-size: clamp(1.55rem, 8vw, 2rem);
    }

    .marketplace-product-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .marketplace-product-card {
        max-width: none;
    }

    .marketplace-product-card__media {
        aspect-ratio: 16 / 10;
    }

    .marketplace-results__compare {
        display: grid;
        grid-template-columns: 1fr;
    }

    .marketplace-results__compare > .secondary-button {
        width: 100%;
    }
}

/* ==========================================================================
   R31 — Mercadito Marketplace Retail UI
   Public retail surfaces: home, product catalogue and product detail.
   ========================================================================== */

.retail-home,
.retail-results,
.retail-detail {
    --retail-ink: #0f172a;
    --retail-muted: #64748b;
    --retail-line: #e2e8f0;
    --retail-soft: #f7f8fa;
    --retail-blue: #082d59;
    --retail-blue-2: #0b3b72;
    --retail-orange: #f26722;
    --retail-orange-2: #d94f0b;
    --retail-green: #0f8b55;
    --retail-card-shadow: 0 4px 18px rgb(15 23 42 / .07);
    --retail-card-shadow-hover: 0 12px 30px rgb(15 23 42 / .12);
}

.retail-home {
    width: min(1240px, calc(100% - 28px));
    margin: 0 auto;
    padding: 24px 0 70px;
}

.retail-home-hero {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(500px, 1.22fr);
    align-items: center;
    gap: 34px;
    min-height: 310px;
    padding: 34px 40px;
    border: 1px solid #dbe4ee;
    border-radius: 24px;
    background:
        radial-gradient(circle at 7% 0%, rgb(242 103 34 / .11), transparent 32%),
        linear-gradient(135deg, #f9fbfd 0%, #ffffff 54%, #f3f7fb 100%);
    box-shadow: 0 14px 45px rgb(8 45 89 / .08);
}

.retail-home-hero__content {
    max-width: 470px;
}

.retail-home-hero__eyebrow {
    margin: 0 0 10px;
    color: var(--retail-orange-2);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.retail-home-hero__content h1 {
    margin: 0;
    color: var(--retail-blue);
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    line-height: .98;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.retail-home-hero__content > p:last-child {
    max-width: 430px;
    margin: 18px 0 0;
    color: #526174;
    font-size: .98rem;
    line-height: 1.55;
}

.retail-home-hero__search {
    min-width: 0;
}

.retail-home .home-search {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.retail-home .home-search__assurances {
    display: flex;
    margin-bottom: 12px;
    gap: 16px;
    color: #526174;
    font-size: .72rem;
    font-weight: 750;
}

.retail-home .home-search__assurances span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.retail-home .home-search__assurances svg {
    width: 15px;
    height: 15px;
    color: var(--retail-green);
}

.retail-home .home-search__heading {
    margin-bottom: 14px;
}

.retail-home .home-search__eyebrow {
    display: none;
}

.retail-home .home-search__heading h2 {
    margin: 0 0 5px;
    color: var(--retail-ink);
    font-size: 1.05rem;
    letter-spacing: -.015em;
}

.retail-home .home-search__heading p {
    margin: 0;
    color: var(--retail-muted);
    font-size: .79rem;
}

.retail-home .search-box {
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 26px rgb(15 23 42 / .08);
}

.retail-home .search-box__field {
    min-height: 58px;
    border: 0;
    border-bottom: 1px solid #edf1f5;
    border-radius: 0;
    background: #fff;
}

.retail-home .search-box__field input {
    font-size: 1rem;
    font-weight: 650;
}

.retail-home .search-box__meta--location-r12 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.retail-home .home-location-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.retail-home .home-location-selector__field {
    min-height: 43px;
    border: 0;
    background: #f7f9fb;
}

.retail-home .search-box__submit {
    min-width: 120px;
    min-height: 45px;
    padding: 0 20px;
    border-radius: 12px;
    background: var(--retail-orange);
    box-shadow: none;
    font-size: .82rem;
    font-weight: 900;
}

.retail-home .search-box__submit:hover {
    background: var(--retail-orange-2);
}

.retail-home .search-box__help {
    margin: 7px 5px 0;
    color: #7a8796;
    font-size: .68rem;
}

.retail-shelf {
    margin-top: 34px;
}

.retail-shelf__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.retail-shelf__heading p {
    margin: 0 0 3px;
    color: var(--retail-orange-2);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.retail-shelf__heading h2 {
    margin: 0;
    color: var(--retail-ink);
    font-size: 1.35rem;
    letter-spacing: -.025em;
}

.retail-shelf__heading > a,
.retail-shelf__heading > span {
    color: #526174;
    font-size: .76rem;
    font-weight: 800;
}

.retail-shelf__heading > a {
    color: var(--retail-blue-2);
}

.retail-category-strip,
.retail-product-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 3px 2px 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.retail-category {
    display: grid;
    width: 118px;
    min-width: 118px;
    min-height: 128px;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 12px 8px;
    border: 1px solid var(--retail-line);
    border-radius: 16px;
    background: #fff;
    color: var(--retail-ink);
    font-size: .73rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    scroll-snap-align: start;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.retail-category:hover {
    border-color: #b8c8da;
    box-shadow: var(--retail-card-shadow);
    transform: translateY(-2px);
}

.retail-category__icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 50%;
    background: #f3f6f9;
}

.retail-category__icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.retail-product-card {
    width: 248px;
    min-width: 248px;
    overflow: hidden;
    border: 1px solid var(--retail-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--retail-card-shadow);
    scroll-snap-align: start;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.retail-product-card:hover {
    border-color: #c6d2df;
    box-shadow: var(--retail-card-shadow-hover);
    transform: translateY(-2px);
}

.retail-product-card__media {
    position: relative;
    display: grid;
    aspect-ratio: 1 / .82;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid #eef2f6;
    background: #fff;
}

.retail-product-card__media img {
    width: 100%;
    height: 100%;
    padding: 14px;
    object-fit: contain;
    transition: transform .18s ease;
}

.retail-product-card:hover .retail-product-card__media img {
    transform: scale(1.025);
}

.retail-product-card__placeholder {
    color: #94a3b8;
    font-size: .72rem;
    font-weight: 750;
}

.retail-product-card__enterprise {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border: 1px solid #dbe9e1;
    border-radius: 999px;
    background: rgb(255 255 255 / .96);
    color: #087443;
    box-shadow: 0 3px 10px rgb(15 23 42 / .06);
    font-size: .61rem;
    font-weight: 900;
}

.retail-product-card__enterprise > span {
    display: grid;
    width: 14px;
    height: 14px;
    place-items: center;
    border-radius: 50%;
    background: #0d8b54;
    color: #fff;
    font-size: .55rem;
}

.retail-product-card__body {
    display: grid;
    gap: 7px;
    padding: 13px 14px 14px;
}

.retail-product-card__seller {
    margin: 0;
    overflow: hidden;
    color: #64748b;
    font-size: .65rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.retail-product-card__seller span {
    color: #8491a1;
    font-weight: 650;
}

.retail-product-card h3 {
    min-height: 2.45em;
    margin: 0;
    font-size: .9rem;
    font-weight: 750;
    line-height: 1.28;
}

.retail-product-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--retail-ink);
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.retail-product-card__summary {
    display: -webkit-box;
    min-height: 2.5em;
    margin: 0;
    overflow: hidden;
    color: #69778a;
    font-size: .7rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.retail-product-card__price {
    margin: 2px 0 0;
    color: #111827;
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: -.025em;
}

.retail-product-card__signals {
    display: grid;
    gap: 3px;
    color: #526174;
    font-size: .67rem;
    font-weight: 700;
}

.retail-product-card__signal--delivery {
    color: #087443;
    font-weight: 850;
}

.retail-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
    padding-top: 9px;
    border-top: 1px solid #eef2f6;
    color: #7b8795;
    font-size: .64rem;
    font-weight: 700;
}

.retail-product-card__footer a {
    color: var(--retail-blue-2);
    font-weight: 900;
}

.retail-trust-bar {
    display: grid;
    margin-top: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--retail-line);
    border-radius: 16px;
    background: #fff;
}

.retail-trust-bar > div {
    display: grid;
    gap: 3px;
    padding: 18px 20px;
}

.retail-trust-bar > div + div {
    border-left: 1px solid var(--retail-line);
}

.retail-trust-bar strong {
    color: var(--retail-ink);
    font-size: .78rem;
}

.retail-trust-bar span {
    color: #718096;
    font-size: .68rem;
    line-height: 1.4;
}

.retail-business-cta {
    display: flex;
    margin-top: 34px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 24px 28px;
    border-radius: 20px;
    background: var(--retail-blue);
    color: #fff;
}

.retail-business-cta p {
    margin: 0 0 3px;
    color: #ffb687;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.retail-business-cta h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1.3rem;
}

.retail-business-cta span {
    color: rgb(255 255 255 / .72);
    font-size: .75rem;
}

.retail-business-cta > a {
    flex: 0 0 auto;
    padding: 11px 17px;
    border-radius: 10px;
    background: var(--retail-orange);
    color: #fff;
    font-size: .76rem;
    font-weight: 900;
}

/* Product search catalogue */
.retail-results {
    width: min(1240px, calc(100% - 28px));
    margin: 0 auto;
    padding: 26px 0 72px;
}

.retail-results__top {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--retail-line);
}

.retail-results__back,
.retail-results__search-again {
    color: #506176;
    font-size: .75rem;
    font-weight: 800;
}

.retail-results__search-again {
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
    color: var(--retail-blue-2);
}

.retail-results__title {
    min-width: 0;
}

.retail-results__title p {
    margin: 0 0 2px;
    color: var(--retail-orange-2);
    font-size: .63rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.retail-results__title h1 {
    margin: 0;
    color: var(--retail-ink);
    font-size: clamp(1.45rem, 2.8vw, 2.1rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.retail-results__title > span {
    display: block;
    margin-top: 4px;
    color: #718096;
    font-size: .72rem;
}

.retail-results__assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 15px 0 18px;
    color: #5c6b7d;
    font-size: .69rem;
    font-weight: 750;
}

.retail-results__assurances b {
    color: #0c8b54;
}

.retail-results__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 248px);
    justify-content: start;
    gap: 18px;
}

.retail-results__grid .retail-product-card {
    width: 248px;
    min-width: 0;
}

.retail-results__request {
    display: flex;
    margin-top: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 20px;
    border: 1px solid var(--retail-line);
    border-radius: 14px;
    background: #f8fafc;
}

.retail-results__request > div {
    display: grid;
    gap: 2px;
}

.retail-results__request strong {
    color: var(--retail-ink);
    font-size: .8rem;
}

.retail-results__request span {
    color: #718096;
    font-size: .69rem;
}

.retail-results__request > a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
    color: var(--retail-blue-2);
    font-size: .72rem;
    font-weight: 850;
}

.retail-empty {
    display: grid;
    max-width: 640px;
    margin: 48px auto;
    place-items: center;
    padding: 38px;
    border: 1px solid var(--retail-line);
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.retail-empty__icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
    place-items: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--retail-blue);
    font-size: 1.5rem;
}

.retail-empty h2 {
    margin: 0;
    color: var(--retail-ink);
    font-size: 1.25rem;
}

.retail-empty p {
    max-width: 480px;
    margin: 9px 0 18px;
    color: #64748b;
    font-size: .8rem;
}

.retail-empty > div:last-child {
    display: flex;
    gap: 8px;
}

/* Premium product detail */
.retail-detail {
    width: min(1240px, calc(100% - 28px));
    margin: 0 auto;
    padding: 20px 0 72px;
}

.retail-detail__crumbs {
    display: flex;
    margin-bottom: 16px;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: #718096;
    font-size: .68rem;
}

.retail-detail__crumbs a {
    color: #526174;
}

.retail-detail__main {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr);
    gap: 26px;
    align-items: start;
}

.retail-gallery {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
}

.retail-gallery__stage,
.retail-gallery__empty {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    min-height: 510px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--retail-line);
    border-radius: 18px;
    background: #fff;
}

.retail-gallery__stage img {
    width: 100%;
    height: 100%;
    max-height: 510px;
    padding: 28px;
    object-fit: contain;
}

.retail-gallery__thumbs {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.retail-gallery__thumb {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #d7dee7;
    border-radius: 10px;
    background: #fff;
}

.retail-gallery__thumb.is-active {
    border: 2px solid var(--retail-blue-2);
}

.retail-gallery__thumb img {
    width: 100%;
    height: 100%;
    padding: 5px;
    object-fit: contain;
}

.retail-gallery__empty {
    grid-column: 1 / -1;
    color: #94a3b8;
    font-size: .8rem;
}

.retail-buybox {
    position: sticky;
    top: calc(var(--header-height, 64px) + 14px);
    padding: 22px;
    border: 1px solid var(--retail-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgb(15 23 42 / .08);
}

.retail-buybox__seller {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.retail-buybox__verified {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #0d8b54;
    color: #fff;
    font-size: .75rem;
    font-weight: 900;
}

.retail-buybox__seller > div {
    display: grid;
}

.retail-buybox__seller small {
    color: #7b8795;
    font-size: .61rem;
}

.retail-buybox__seller strong {
    color: var(--retail-ink);
    font-size: .76rem;
}

.retail-buybox__seller span:last-child {
    color: #0b7b4c;
    font-size: .61rem;
    font-weight: 800;
}

.retail-buybox__condition {
    margin: 0 0 5px;
    color: #6f7d8d;
    font-size: .67rem;
    font-weight: 750;
}

.retail-buybox h1 {
    margin: 0;
    color: var(--retail-ink);
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.retail-buybox__summary {
    margin: 9px 0 0;
    color: #657386;
    font-size: .78rem;
    line-height: 1.45;
}

.retail-buybox__price {
    margin: 20px 0 16px;
    color: #0b1220;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -.04em;
}

.retail-buybox__delivery-card {
    display: grid;
    gap: 8px;
    padding: 13px 14px;
    border-radius: 12px;
    background: #f4f8f6;
}

.retail-buybox__delivery-card > div {
    display: grid;
    gap: 2px;
}

.retail-buybox__delivery-card strong {
    color: #087443;
    font-size: .78rem;
}

.retail-buybox__delivery-card span,
.retail-buybox__delivery-card small {
    color: #657386;
    font-size: .67rem;
}

.retail-buybox__fulfillment {
    display: grid;
    gap: 7px;
    margin: 14px 0;
    color: #46576b;
    font-size: .72rem;
    font-weight: 750;
}

.retail-buybox__fulfillment b {
    color: #0d8b54;
}

.retail-buybox__cta {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 11px;
    background: var(--retail-orange);
    color: #fff;
    font-size: .82rem;
    font-weight: 900;
}

.retail-buybox__cta:hover {
    background: var(--retail-orange-2);
}

.retail-buybox__notice {
    margin: 10px 3px 0;
    color: #8491a1;
    font-size: .61rem;
    line-height: 1.4;
}

.retail-detail__information {
    display: grid;
    margin-top: 28px;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 20px;
}

.retail-info-panel {
    padding: 22px;
    border: 1px solid var(--retail-line);
    border-radius: 16px;
    background: #fff;
}

.retail-info-panel h2 {
    margin: 0 0 14px;
    color: var(--retail-ink);
    font-size: 1.15rem;
}

.retail-info-panel > p {
    margin: 0;
    color: #58687b;
    font-size: .79rem;
    line-height: 1.65;
}

.retail-specs {
    margin: 0;
}

.retail-specs > div,
.retail-facts > div {
    display: grid;
    grid-template-columns: minmax(130px, .4fr) minmax(0, .6fr);
    gap: 18px;
    padding: 11px 0;
    border-top: 1px solid #edf1f5;
}

.retail-specs > div:first-child,
.retail-facts > div:first-child {
    border-top: 0;
}

.retail-specs dt,
.retail-facts dt {
    color: #738195;
    font-size: .7rem;
}

.retail-specs dd,
.retail-facts dd {
    margin: 0;
    color: #253247;
    font-size: .72rem;
    font-weight: 750;
}

.retail-info-panel--delivery {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.retail-facts {
    margin: 0;
}

.retail-related {
    margin-top: 34px;
}

.retail-related > header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.retail-related header p {
    margin: 0 0 3px;
    color: var(--retail-orange-2);
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.retail-related h2 {
    margin: 0;
    color: var(--retail-ink);
    font-size: 1.3rem;
}

.retail-related header > a {
    color: var(--retail-blue-2);
    font-size: .72rem;
    font-weight: 850;
}

@media (min-width: 1100px) {
    .retail-product-strip {
        display: grid;
        grid-template-columns: repeat(4, 248px);
        justify-content: start;
        overflow: visible;
    }

    .retail-category-strip {
        display: grid;
        grid-template-columns: repeat(10, minmax(0, 1fr));
        overflow: visible;
    }

    .retail-category {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 960px) {
    .retail-home-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 28px;
    }

    .retail-home-hero__content {
        max-width: 680px;
    }

    .retail-detail__main {
        grid-template-columns: 1fr;
    }

    .retail-buybox {
        position: static;
    }

    .retail-detail__information {
        grid-template-columns: 1fr;
    }

    .retail-info-panel--delivery {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 720px) {
    .retail-home,
    .retail-results,
    .retail-detail {
        width: min(100% - 20px, 1240px);
    }

    .retail-home {
        padding-top: 12px;
    }

    .retail-home-hero {
        gap: 20px;
        padding: 22px 16px;
        border-radius: 18px;
    }

    .retail-home-hero__content h1 {
        font-size: clamp(1.9rem, 10vw, 2.65rem);
    }

    .retail-home-hero__content > p:last-child {
        font-size: .86rem;
    }

    .retail-home .home-search__assurances {
        flex-wrap: wrap;
        gap: 8px 14px;
    }

    .retail-home .search-box {
        padding: 8px;
        border-radius: 15px;
    }

    .retail-home .search-box__field {
        min-height: 54px;
    }

    .retail-home .search-box__meta--location-r12 {
        grid-template-columns: 1fr;
    }

    .retail-home .home-location-selector {
        grid-template-columns: 1fr 1fr;
    }

    .retail-home .search-box__submit {
        width: 100%;
    }

    .retail-shelf {
        margin-top: 26px;
    }

    .retail-shelf__heading {
        align-items: center;
    }

    .retail-shelf__heading h2 {
        font-size: 1.15rem;
    }

    .retail-category-strip,
    .retail-product-strip {
        margin-right: -10px;
        margin-left: -10px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .retail-product-card {
        width: 214px;
        min-width: 214px;
    }

    .retail-product-card__body {
        padding: 11px 12px 12px;
    }

    .retail-trust-bar {
        grid-template-columns: 1fr;
    }

    .retail-trust-bar > div + div {
        border-top: 1px solid var(--retail-line);
        border-left: 0;
    }

    .retail-business-cta {
        display: grid;
        padding: 20px;
    }

    .retail-business-cta > a {
        width: 100%;
        text-align: center;
    }

    .retail-results {
        padding-top: 14px;
    }

    .retail-results__top {
        grid-template-columns: 1fr auto;
        gap: 10px;
    }

    .retail-results__back {
        grid-column: 1 / -1;
    }

    .retail-results__title h1 {
        font-size: 1.55rem;
    }

    .retail-results__assurances {
        display: grid;
        gap: 6px;
    }

    .retail-results__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .retail-results__grid .retail-product-card {
        width: 100%;
    }

    .retail-results__grid .retail-product-card__summary {
        display: none;
    }

    .retail-results__grid .retail-product-card__enterprise {
        font-size: .55rem;
    }

    .retail-results__grid .retail-product-card__seller {
        font-size: .59rem;
    }

    .retail-results__grid .retail-product-card h3 {
        font-size: .78rem;
    }

    .retail-results__grid .retail-product-card__price {
        font-size: 1.05rem;
    }

    .retail-results__grid .retail-product-card__signals {
        font-size: .6rem;
    }

    .retail-results__request {
        display: grid;
    }

    .retail-results__request > a {
        width: 100%;
        text-align: center;
    }

    .retail-detail {
        padding-top: 12px;
    }

    .retail-detail__crumbs {
        white-space: nowrap;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .retail-gallery {
        grid-template-columns: 1fr;
    }

    .retail-gallery__stage,
    .retail-gallery__empty {
        grid-column: 1;
        min-height: 340px;
    }

    .retail-gallery__stage img {
        max-height: 340px;
        padding: 18px;
    }

    .retail-gallery__thumbs {
        grid-column: 1;
        grid-row: 2;
        flex-direction: row;
    }

    .retail-gallery__thumb {
        width: 58px;
        height: 58px;
    }

    .retail-buybox {
        padding: 18px;
    }

    .retail-buybox h1 {
        font-size: 1.45rem;
    }

    .retail-buybox__price {
        font-size: 1.7rem;
    }

    .retail-info-panel {
        padding: 18px;
    }

    .retail-specs > div,
    .retail-facts > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}

@media (max-width: 430px) {
    .retail-results__grid {
        grid-template-columns: 1fr;
    }

    .retail-results__grid .retail-product-card {
        width: min(100%, 320px);
    }
}


/* Source: resources/css/pages/marketplace-retail-r31-3.css */
/* ==========================================================================
   R31.3 — Marketplace Retail Visual Polish
   Visual-only refinement. No commercial, search or data contract changes.
   ========================================================================== */

.retail-home,
.retail-results,
.retail-detail,
.retail-product-card {
    font-family: var(--font-family);
}

/* Product cards: denser retail shelf, stronger product image, less brochure. */
.retail-product-card {
    width: 236px;
    min-width: 236px;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgb(15 23 42 / .065);
}

.retail-product-card:hover {
    box-shadow: 0 10px 24px rgb(15 23 42 / .11);
    transform: translateY(-1px);
}

.retail-product-card__media {
    aspect-ratio: 4 / 3;
    border-bottom-color: #edf1f5;
}

.retail-product-card__media img {
    padding: 5px 7px;
    transform: scale(1.02);
}

.retail-product-card:hover .retail-product-card__media img {
    transform: scale(1.045);
}

.retail-product-card__enterprise {
    top: 8px;
    left: 8px;
    padding: 4px 7px;
    font-size: .59rem;
}

.retail-product-card__body {
    gap: 6px;
    padding: 11px 13px 12px;
}

.retail-product-card__seller {
    font-size: .64rem;
}

.retail-product-card h3 {
    min-height: 2.42em;
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.22;
}

.retail-product-card__summary {
    min-height: 0;
    font-size: .68rem;
    line-height: 1.35;
}

.retail-product-card--shelf .retail-product-card__summary,
.retail-product-card--related .retail-product-card__summary {
    display: none;
}

.retail-product-card__price {
    margin-top: 3px;
    font-size: 1.22rem;
    line-height: 1;
}

.retail-product-card__signals {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px 9px;
    min-height: 2.2em;
    font-size: .64rem;
    line-height: 1.25;
}

.retail-product-card__signal--delivery::before {
    content: "✓";
    margin-right: 3px;
    font-weight: 950;
}

.retail-product-card__footer {
    margin-top: 1px;
    padding-top: 8px;
}

.retail-product-card__footer a {
    text-decoration: none;
}

.retail-results__grid {
    grid-template-columns: repeat(auto-fill, 236px);
    gap: 16px;
}

.retail-results__grid .retail-product-card {
    width: 236px;
}

/* Product detail: gallery supports the product instead of dominating page. */
.retail-detail {
    width: min(1180px, calc(100% - 28px));
    padding-top: 16px;
}

.retail-detail__crumbs {
    margin-bottom: 13px;
}

.retail-detail__main {
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .72fr);
    gap: 22px;
}

.retail-gallery {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
}

.retail-gallery__stage,
.retail-gallery__empty {
    min-height: 0;
    height: clamp(390px, 34vw, 460px);
    border-radius: 16px;
}

.retail-gallery__stage img {
    max-height: none;
    padding: 14px 18px;
    transform: scale(1.02);
}

.retail-gallery__thumbs {
    gap: 8px;
}

.retail-gallery__thumb {
    width: 64px;
    height: 64px;
    border-radius: 9px;
}

.retail-gallery__thumb img {
    padding: 4px;
}

/* Buybox: faster scan order — seller, product, price, availability, action. */
.retail-buybox {
    top: calc(var(--header-height, 64px) + 12px);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgb(15 23 42 / .075);
}

.retail-buybox__seller {
    gap: 9px;
    margin-bottom: 10px;
}

.retail-buybox__verified {
    width: 28px;
    height: 28px;
}

.retail-buybox__seller small {
    font-size: .6rem;
}

.retail-buybox__seller strong {
    font-size: .78rem;
    line-height: 1.15;
}

.retail-buybox__seller span:last-child {
    margin-top: 1px;
    font-size: .6rem;
}

.retail-buybox__condition {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 6px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #526174;
    font-size: .62rem;
}

.retail-buybox h1 {
    font-size: clamp(1.42rem, 2.25vw, 1.78rem);
    line-height: 1.1;
    letter-spacing: -.03em;
}

.retail-buybox__summary {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    font-size: .74rem;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.retail-buybox__price {
    margin: 16px 0 13px;
    font-size: 1.9rem;
    line-height: 1;
}

.retail-buybox__delivery-card {
    gap: 6px;
    padding: 11px 12px;
    border: 1px solid #e3eee8;
    border-radius: 11px;
    background: #f5f9f7;
}

.retail-buybox__delivery-card strong {
    font-size: .76rem;
}

.retail-buybox__delivery-card span,
.retail-buybox__delivery-card small {
    font-size: .64rem;
}

.retail-buybox__fulfillment {
    gap: 5px;
    margin: 11px 0 12px;
    font-size: .69rem;
}

.retail-buybox__cta {
    min-height: 46px;
    border-radius: 10px;
    font-size: .78rem;
    text-decoration: none;
}

.retail-buybox__notice {
    margin-top: 8px;
    font-size: .58rem;
    line-height: 1.35;
}

.retail-detail__information {
    margin-top: 22px;
    grid-template-columns: minmax(0, 1.4fr) minmax(290px, .6fr);
    gap: 18px;
}

.retail-info-panel {
    padding: 20px;
    border-radius: 14px;
}

.retail-info-panel h2 {
    margin-bottom: 12px;
    font-size: 1.08rem;
}

.retail-info-panel > p {
    font-size: .77rem;
    line-height: 1.6;
}

.retail-specs > div,
.retail-facts > div {
    padding: 9px 0;
}

/* Desktop shelves: five familiar retail cards without stretching a lone card. */
@media (min-width: 1100px) {
    .retail-product-strip {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
    }

    .retail-product-strip .retail-product-card {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 960px) {
    .retail-detail__main {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .retail-gallery__stage,
    .retail-gallery__empty {
        height: clamp(350px, 48vw, 430px);
    }

    .retail-buybox {
        position: static;
        width: min(100%, 680px);
    }
}

@media (max-width: 720px) {
    .retail-product-card {
        width: 206px;
        min-width: 206px;
    }

    .retail-product-card__media {
        aspect-ratio: 1 / .86;
    }

    .retail-product-card__media img {
        padding: 4px 5px;
    }

    .retail-results__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .retail-results__grid .retail-product-card {
        width: 100%;
    }

    .retail-detail__main {
        gap: 13px;
    }

    .retail-gallery {
        gap: 8px;
    }

    .retail-gallery__stage,
    .retail-gallery__empty {
        height: clamp(285px, 60vw, 340px);
        min-height: 0;
        border-radius: 14px;
    }

    .retail-gallery__stage img {
        max-height: none;
        padding: 9px 10px;
    }

    .retail-gallery__thumb {
        width: 54px;
        height: 54px;
    }

    .retail-buybox {
        width: 100%;
        padding: 16px;
        border-radius: 14px;
    }

    .retail-buybox h1 {
        font-size: 1.35rem;
    }

    .retail-buybox__summary {
        -webkit-line-clamp: 3;
    }

    .retail-buybox__price {
        margin: 14px 0 12px;
        font-size: 1.62rem;
    }

    .retail-detail__information {
        margin-top: 15px;
        gap: 12px;
    }

    .retail-info-panel {
        padding: 16px;
    }
}

@media (max-width: 430px) {
    .retail-results__grid {
        grid-template-columns: 1fr;
    }

    .retail-results__grid .retail-product-card {
        width: min(100%, 340px);
        justify-self: center;
    }
}

/* Source: resources/css/pages/home-category-catalog-r31-4.css */
/*
 * R31.4 — Search-first restore + governed category icon catalog.
 * Scope: public home only. Search behavior is unchanged.
 */

/* Search returns to Mercadito's original clean identity. */
.retail-home .retail-home-hero {
    display: block;
    min-height: 0;
    padding: clamp(46px, 7vw, 78px) 0 34px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.retail-home .retail-home-hero__content {
    display: none;
}

.retail-home .retail-home-hero__search {
    width: min(100%, 920px);
    margin-inline: auto;
}

.retail-home .home-search {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}

.retail-home .home-search__assurances,
.retail-home .home-search__eyebrow {
    display: none;
}

.retail-home .home-search__heading {
    max-width: none;
    margin: 0;
    text-align: center;
}

.retail-home .home-search__heading h1,
.retail-home .home-search__heading h2 {
    max-width: none;
    margin: 0;
    color: #0c294a;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: -.035em;
    text-align: center;
}

.retail-home .home-search__heading p {
    display: block;
    max-width: 660px;
    margin: 10px auto 0;
    color: #66758a;
    font-size: clamp(.88rem, 1.5vw, 1rem);
    line-height: 1.45;
    text-align: center;
}

.retail-home .search-box {
    display: grid;
    width: min(100%, 840px);
    margin: 24px auto 0;
    padding: 0;
    gap: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.retail-home .search-box__field {
    min-height: 66px;
    border: 1.5px solid #ef6108;
    border-radius: 999px;
    background: #fff;
    box-shadow:
        0 1px 2px rgb(6 26 53 / .04),
        0 7px 20px rgb(6 26 53 / .07);
}

.retail-home .search-box__field:hover {
    border-color: #dc5a0d;
}

.retail-home .search-box__field:focus-within {
    border-color: #d95400;
    box-shadow:
        0 0 0 4px rgb(239 97 8 / .10),
        0 9px 24px rgb(6 26 53 / .08);
}

.retail-home .search-box__field input {
    min-width: 0;
    height: 64px;
    font-size: 1rem;
    font-weight: 650;
}

.retail-home .search-box__meta--location-r12 {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 10px;
    margin-top: 0;
}

.retail-home .home-location-selector {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    gap: 0;
    border: 1px solid #dce3eb;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 5px 16px rgb(8 45 89 / .045);
}

.retail-home .home-location-selector__field {
    display: grid;
    min-width: 0;
    min-height: 61px;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 8px 11px;
    border: 0;
    background: #fff;
}

.retail-home
.home-location-selector__field
+ .home-location-selector__field {
    border-left: 1px solid #e0e6ee;
}

.retail-home .home-location-selector__icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 999px;
    background: #fff2e9;
    color: #ef6108;
}

.retail-home .home-location-selector__copy {
    display: grid;
    min-width: 0;
    gap: 2px;
    text-align: left;
}

.retail-home .home-location-selector__copy small {
    display: block;
    color: #728095;
    font-size: .62rem;
    font-weight: 750;
    line-height: 1;
}

.retail-home .home-location-selector__copy select {
    width: 100%;
    min-width: 0;
    height: 26px;
    padding: 0 22px 0 0;
    border: 0;
    background-color: transparent;
    color: #102b4b;
    font-size: .8rem;
    font-weight: 850;
    text-overflow: ellipsis;
    outline: 0;
}

.retail-home .search-box__submit {
    min-width: 170px;
    min-height: 61px;
    padding: 0 22px;
    border-radius: 17px;
    background: #ef6108;
    color: #fff;
    font-size: .82rem;
    font-weight: 900;
    box-shadow: 0 7px 18px rgb(239 97 8 / .14);
}

.retail-home .search-box__help {
    display: block;
    margin: -2px 0 0 5px;
    color: #647389;
    font-size: .66rem;
    line-height: 1.35;
    text-align: left;
}

/* Clear separation between search and marketplace catalog. */
.retail-home .retail-shelf--categories {
    margin-top: 18px;
    padding-top: 30px;
    border-top: 1px solid #e4e9ef;
}

/*
 * Categories are a horizontal retail rail, never a squeezed 10-column grid.
 * Every card owns its width; long names are contained in a fixed 3-line zone.
 */
.retail-home .retail-category-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 154px;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3px 2px 13px;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.retail-home .retail-category {
    box-sizing: border-box;
    display: grid;
    width: 154px;
    min-width: 154px;
    min-height: 154px;
    grid-template-rows: 62px minmax(3.45em, auto);
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 13px 10px 12px;
    overflow: hidden;
    border: 1px solid #dfe6ee;
    border-radius: 16px;
    background: #fff;
    color: #102b4b;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    scroll-snap-align: start;
}

.retail-home .retail-category__icon {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #edf1f5;
    border-radius: 50%;
    background: #f7f9fb;
}

.retail-home .retail-category__icon img {
    display: block;
    width: 42px;
    height: 42px;
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
}

.retail-home .retail-category__name {
    box-sizing: border-box;
    display: -webkit-box;
    width: 100%;
    min-width: 0;
    min-height: 3.45em;
    max-height: 3.45em;
    margin: 0;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
    line-height: 1.15;
    text-align: center;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media (max-width: 720px) {
    .retail-home .retail-home-hero {
        padding: 30px 0 24px;
    }

    .retail-home .home-search__heading h1,
    .retail-home .home-search__heading h2 {
        font-size: clamp(1.9rem, 9vw, 2.5rem);
    }

    .retail-home .home-search__heading p {
        padding-inline: 8px;
        font-size: .82rem;
    }

    .retail-home .search-box {
        margin-top: 19px;
        gap: 10px;
    }

    .retail-home .search-box__field {
        min-height: 62px;
    }

    .retail-home .search-box__field input {
        height: 60px;
        font-size: .94rem;
    }

    .retail-home .search-box__meta--location-r12 {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .retail-home .home-location-selector__field {
        min-height: 58px;
    }

    .retail-home .search-box__submit {
        width: 100%;
        min-height: 54px;
    }

    .retail-home .retail-category-strip {
        grid-auto-columns: 136px;
        gap: 10px;
        margin-right: -14px;
        padding-right: 14px;
    }

    .retail-home .retail-category {
        width: 136px;
        min-width: 136px;
        min-height: 150px;
        grid-template-rows: 58px minmax(3.6em, auto);
        padding: 12px 8px 11px;
        font-size: .68rem;
        line-height: 1.2;
    }

    .retail-home .retail-category__icon {
        width: 56px;
        height: 56px;
    }

    .retail-home .retail-category__icon img {
        width: 39px;
        height: 39px;
        max-width: 39px;
        max-height: 39px;
    }

    .retail-home .retail-category__name {
        min-height: 3.6em;
        max-height: 3.6em;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .retail-home .home-location-selector {
        grid-template-columns: 1fr;
        overflow: visible;
        gap: 8px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .retail-home .home-location-selector__field {
        border: 1px solid #dce3eb;
        border-radius: 15px;
        box-shadow: 0 3px 10px rgb(8 45 89 / .035);
    }

    .retail-home
    .home-location-selector__field
    + .home-location-selector__field {
        border-left: 1px solid #dce3eb;
    }
}

/* Source: resources/css/pages/home-category-grid-r31-4-3.css */
/*
 * R31.4.3 — Category Grid Responsive
 * Visual-only correction for Categorías populares.
 */
.retail-home .retail-category-strip {
    display: grid;
    width: 100%;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
    padding: 2px 0 8px;
    scroll-snap-type: none;
    overscroll-behavior: auto;
    scrollbar-width: none;
}
.retail-home .retail-category-strip::-webkit-scrollbar { display: none; }
.retail-home .retail-category {
    box-sizing: border-box;
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 164px;
    grid-template-rows: 66px auto;
    place-items: center;
    align-content: center;
    gap: 11px;
    padding: 15px 13px 14px;
    overflow: hidden;
    border: 1px solid #dfe6ee;
    border-radius: 17px;
    background: #fff;
    color: #102b4b;
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.22;
    text-align: center;
    scroll-snap-align: none;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.retail-home .retail-category:hover {
    border-color: #ccd7e3;
    box-shadow: 0 8px 22px rgb(10 39 70 / .07);
    transform: translateY(-1px);
}
.retail-home .retail-category__icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #edf1f5;
    border-radius: 50%;
    background: #f7f9fb;
}
.retail-home .retail-category__icon img {
    display: block;
    width: 44px;
    height: 44px;
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
}
.retail-home .retail-category__name {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 0;
    max-height: none;
    margin: 0;
    overflow: visible;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
    line-height: 1.22;
    text-align: center;
    text-overflow: clip;
    -webkit-box-orient: initial;
    -webkit-line-clamp: unset;
}
@media (max-width: 1120px) {
    .retail-home .retail-category-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
    .retail-home .retail-category { min-height: 160px; }
}
@media (max-width: 860px) {
    .retail-home .retail-category-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}
@media (max-width: 620px) {
    .retail-home .retail-category-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 0;
        padding: 2px 0 6px;
    }
    .retail-home .retail-category {
        min-height: 150px;
        grid-template-rows: 58px auto;
        gap: 9px;
        padding: 12px 9px 11px;
        font-size: .71rem;
        line-height: 1.2;
    }
    .retail-home .retail-category__icon { width: 56px; height: 56px; }
    .retail-home .retail-category__icon img { width: 39px; height: 39px; max-width: 39px; max-height: 39px; }
    .retail-home .retail-category__name { line-height: 1.2; }
}
@media (max-width: 360px) {
    .retail-home .retail-category-strip { gap: 8px; }
    .retail-home .retail-category { min-height: 148px; padding-inline: 7px; font-size: .68rem; }
}

/* Source: resources/css/pages/home-activity-slider-r31-4-4.css */
/*
 * R31.4.4 — Compact Horizontal Activity Slider
 *
 * Only the recent-activity presentation changes.
 * The feed API, location behavior, category catalog and search contracts
 * remain unchanged.
 */

.page-context--home .home-activity {
    width: 100%;
    margin: 0 0 1.35rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-context--home .home-activity__header {
    display: grid;
    grid-template-columns: 2.3rem minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
    padding: 0 0 .72rem;
    border: 0;
}

.page-context--home .home-activity__header-icon {
    width: 2.3rem;
    height: 2.3rem;
}

.page-context--home .home-activity__heading {
    min-width: 0;
}

.page-context--home .home-activity__header h2 {
    font-size: .98rem;
}

.page-context--home .home-activity__header p {
    margin-top: .2rem;
    font-size: .64rem;
}

.page-context--home .home-activity__slider-controls {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.page-context--home .home-activity__slider-button {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    padding: 0;
    border: 1px solid #cdd8e4;
    border-radius: 999px;
    background: #fff;
    color: #123a67;
    box-shadow: 0 3px 10px rgb(8 45 89 / .04);
    cursor: pointer;
}

.page-context--home .home-activity__slider-button:hover:not(:disabled) {
    border-color: #ef6108;
    color: #c84e06;
}

.page-context--home .home-activity__slider-button:disabled {
    cursor: default;
    opacity: .35;
}

.page-context--home .home-activity__slider-button svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
}

.page-context--home .home-activity__list {
    display: grid;
    width: 100%;
    grid-auto-flow: column;
    grid-auto-columns: clamp(14.5rem, 23vw, 16.75rem);
    gap: .75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .1rem .1rem .55rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
}

.page-context--home .home-activity__list::-webkit-scrollbar {
    display: none;
}

.page-context--home .home-activity-row {
    box-sizing: border-box;
    display: grid;
    min-width: 0;
    min-height: 6.65rem;
    grid-template-columns: 2.45rem minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    gap: .42rem .6rem;
    padding: .78rem .82rem;
    overflow: hidden;
    border: 1px solid #dfe6ee;
    border-radius: .95rem;
    background: #fff;
    box-shadow: 0 5px 15px rgb(8 45 89 / .035);
    scroll-snap-align: start;
}

.page-context--home
.home-activity-row
+ .home-activity-row {
    border-top: 1px solid #dfe6ee;
}

.page-context--home .home-activity-row__icon {
    width: 2.45rem;
    height: 2.45rem;
    grid-column: 1;
    grid-row: 1 / span 2;
}

.page-context--home .home-activity-row__icon img {
    width: 1.4rem;
    height: 1.4rem;
}

.page-context--home .home-activity-row__main {
    grid-column: 2 / -1;
    grid-row: 1;
    align-self: center;
    gap: .17rem;
}

.page-context--home .home-activity-row__main strong {
    font-size: .73rem;
}

.page-context--home .home-activity-row__main span {
    font-size: .59rem;
}

.page-context--home .home-activity-row__status {
    min-height: 1.55rem;
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    padding-inline: .48rem;
    font-size: .54rem;
}

.page-context--home .home-activity-row__status svg {
    width: .78rem;
    height: .78rem;
}

.page-context--home .home-activity-row__time {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    font-size: .55rem;
}

.page-context--home .home-activity__footer {
    min-height: 2.3rem;
    padding: .35rem .08rem 0;
    border: 0;
    background: transparent;
}

.page-context--home .home-activity__footer p {
    font-size: .58rem;
}

.page-context--home .home-activity__more {
    min-height: 2rem;
    padding-inline: .7rem;
    border-radius: 999px;
    font-size: .59rem;
}

@media (max-width: 47.99rem) {
    .page-context--home .home-activity {
        width: 100%;
        margin-bottom: 1rem;
        border-radius: 0;
    }

    .page-context--home .home-activity__header {
        grid-template-columns: 2.15rem minmax(0, 1fr);
        gap: .55rem;
        padding: 0 0 .65rem;
    }

    .page-context--home .home-activity__header-icon {
        width: 2.15rem;
        height: 2.15rem;
    }

    .page-context--home .home-activity__header h2 {
        font-size: .88rem;
    }

    .page-context--home .home-activity__header p {
        font-size: .57rem;
    }

    .page-context--home .home-activity__slider-controls {
        display: none;
    }

    .page-context--home .home-activity__list {
        grid-auto-columns: min(82vw, 17rem);
        gap: .65rem;
        margin-right: -.55rem;
        padding-right: .55rem;
    }

    .page-context--home .home-activity-row {
        min-height: 6.3rem;
        grid-template-columns: 2.3rem minmax(0, 1fr) auto;
        padding: .7rem .72rem;
    }

    .page-context--home .home-activity-row__icon {
        width: 2.3rem;
        height: 2.3rem;
    }

    .page-context--home .home-activity-row__main strong {
        font-size: .68rem;
    }

    .page-context--home .home-activity-row__main span {
        font-size: .54rem;
    }

    .page-context--home .home-activity-row__status {
        min-height: 1.5rem;
        font-size: .51rem;
    }

    .page-context--home .home-activity-row__time {
        grid-column: 3;
        grid-row: 2;
        margin: 0;
        font-size: .51rem;
    }

    .page-context--home .home-activity__footer {
        flex-direction: row;
        align-items: center;
        padding: .3rem 0 0;
    }

    .page-context--home .home-activity__more {
        width: auto;
    }
}

@media (max-width: 24rem) {
    .page-context--home .home-activity__footer {
        flex-direction: row;
        align-items: center;
    }

    .page-context--home .home-activity__more {
        width: auto;
    }
}

/* Source: resources/css/pages/home-commercial-balance-r31-5.css */
/*
 * R31.5 — Home Commercial Balance
 *
 * Search and category icon contracts are frozen. This pass balances paid
 * commercial exposure and vertical density on the public home.
 */

/* Slightly denser category grid without reintroducing clipping. */
.retail-home .retail-category {
    min-height: 140px;
    grid-template-rows: 54px auto;
    gap: 8px;
    padding: 11px 12px 10px;
    font-size: .73rem;
}

.retail-home .retail-category__icon {
    width: 54px;
    height: 54px;
}

.retail-home .retail-category__icon img {
    width: 38px;
    height: 38px;
    max-width: 38px;
    max-height: 38px;
}

/* Enterprise products become an adaptive horizontal retail shelf. */
.retail-home .retail-shelf--products {
    margin-top: 28px;
}

.retail-home .retail-product-strip {
    display: grid;
    width: 100%;
    grid-auto-flow: column;
    grid-auto-columns: 236px;
    justify-content: start;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 1px 10px;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
}

.retail-home .retail-product-strip::-webkit-scrollbar {
    display: none;
}

.retail-home .retail-product-strip.is-single {
    display: block;
    width: min(100%, 610px);
    overflow: visible;
}

.retail-home
.retail-product-strip.is-single
.retail-product-card--shelf {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: 225px minmax(0, 1fr);
}

.retail-home
.retail-product-strip.is-single
.retail-product-card__media {
    height: 100%;
    min-height: 250px;
    aspect-ratio: auto;
    border-right: 1px solid #edf1f5;
    border-bottom: 0;
}

.retail-home
.retail-product-strip.is-single
.retail-product-card__body {
    align-content: center;
    padding: 16px 17px;
}

.retail-home
.retail-product-strip.is-single
.retail-product-card--shelf
.retail-product-card__summary {
    display: -webkit-box;
    min-height: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* PRO receives a real home shelf, backed only by active Pro subscriptions. */
.retail-shelf--pros {
    margin-top: 28px;
}

.retail-shelf__heading--pros {
    align-items: center;
}

.retail-shelf__subheading {
    display: block;
    margin-top: 4px;
    color: #6f7f93;
    font-size: .68rem;
    line-height: 1.4;
}

.retail-rail-controls {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.retail-rail-controls button {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 1px solid #cdd8e4;
    border-radius: 999px;
    background: #fff;
    color: #123a67;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.retail-rail-controls button:hover:not(:disabled) {
    border-color: #ef6108;
    color: #c84e06;
}

.retail-rail-controls button:disabled {
    cursor: default;
    opacity: .32;
}

.retail-pro-strip {
    display: grid;
    width: 100%;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 42px) / 4);
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 1px 10px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
}

.retail-pro-strip::-webkit-scrollbar {
    display: none;
}

.retail-pro-card {
    box-sizing: border-box;
    display: grid;
    min-width: 0;
    min-height: 174px;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto;
    gap: 6px;
    padding: 14px;
    overflow: hidden;
    border: 1px solid #dfe6ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 15px rgb(8 45 89 / .035);
    scroll-snap-align: start;
}

.retail-pro-card__top {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    color: #102b4b;
    text-decoration: none;
}

.retail-pro-card__avatar {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e4eaf0;
    border-radius: 50%;
    background: #f3f6f9;
    color: #123a67;
    font-size: 1rem;
    font-weight: 900;
}

.retail-pro-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.retail-pro-card__identity {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.retail-pro-card__identity strong {
    overflow: hidden;
    color: #102b4b;
    font-size: .82rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.retail-pro-card__badge {
    width: max-content;
    padding: 3px 7px;
    border-radius: 999px;
    background: #fff1e8;
    color: #d95508;
    font-size: .56rem;
    font-weight: 950;
    letter-spacing: .05em;
}

.retail-pro-card__specialty,
.retail-pro-card__location,
.retail-pro-card__summary {
    margin: 0;
}

.retail-pro-card__specialty {
    overflow: hidden;
    color: #1f3b5a;
    font-size: .7rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.retail-pro-card__location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6d7d91;
    font-size: .62rem;
}

.retail-pro-card__location svg {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    stroke-width: 1.8;
}

.retail-pro-card__summary {
    display: -webkit-box;
    overflow: hidden;
    color: #6b7a8e;
    font-size: .64rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.retail-pro-card__cta {
    align-self: end;
    color: #123f72;
    font-size: .65rem;
    font-weight: 900;
    text-decoration: none;
}

/* Exactly four activity cards on desktop: no accidental half-card. */
@media (min-width: 64rem) {
    .page-context--home .home-activity__list {
        grid-auto-columns: calc((100% - 2.25rem) / 4);
    }
}

@media (min-width: 48rem) and (max-width: 63.99rem) {
    .page-context--home .home-activity__list {
        grid-auto-columns: calc((100% - 1.5rem) / 3);
    }

    .retail-pro-strip {
        grid-auto-columns: calc((100% - 28px) / 3);
    }
}

/* CTA now represents both paid growth paths without adding another block. */
.retail-business-cta {
    margin-top: 26px;
    padding: 20px 24px;
}

.page-context--home .app-main {
    padding-bottom: 1.5rem;
}

@media (max-width: 620px) {
    .retail-home .retail-category {
        min-height: 134px;
        grid-template-rows: 50px auto;
        gap: 7px;
        padding: 10px 8px 9px;
    }

    .retail-home .retail-category__icon {
        width: 50px;
        height: 50px;
    }

    .retail-home .retail-category__icon img {
        width: 35px;
        height: 35px;
        max-width: 35px;
        max-height: 35px;
    }

    .retail-home .retail-product-strip.is-single {
        width: 100%;
    }

    .retail-home
    .retail-product-strip.is-single
    .retail-product-card--shelf {
        display: block;
        width: min(100%, 330px);
    }

    .retail-home
    .retail-product-strip.is-single
    .retail-product-card__media {
        min-height: 0;
        aspect-ratio: 4 / 3;
        border-right: 0;
        border-bottom: 1px solid #edf1f5;
    }

    .retail-pro-strip {
        grid-auto-columns: min(82vw, 17.5rem);
        gap: 10px;
        margin-right: -12px;
        padding-right: 12px;
    }

    .retail-rail-controls {
        display: none;
    }

    .retail-pro-card {
        min-height: 164px;
        padding: 13px;
    }
}

/* Source: resources/css/pages/home-life-r31-5-3.css */
/*
 * R31.5.3 — Home Life & Adaptive Density
 *
 * Product, PRO and activity presentation react to real content volume.
 * Search, category grid/icon catalog, paid-plan eligibility and APIs are
 * intentionally untouched.
 */

.retail-home .retail-shelf--products {
    margin-top: 22px;
}

.retail-home .retail-shelf--pros {
    margin-top: 18px;
}

.page-context--home .home-activity {
    margin-top: 14px;
    margin-bottom: .9rem;
}

.retail-home .retail-product-strip.is-single {
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: visible;
}

.retail-home
.retail-product-strip.is-single
.retail-product-card--shelf {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(270px, 34%) minmax(0, 1fr);
    border-color: #d8e2ec;
    box-shadow: 0 10px 30px rgb(8 45 89 / .075);
}

.retail-home
.retail-product-strip.is-single
.retail-product-card__media {
    min-height: 258px;
}

.retail-home
.retail-product-strip.is-single
.retail-product-card__body {
    align-content: center;
    padding: 22px 26px;
}

.retail-home
.retail-product-strip.is-single
.retail-product-card--shelf h3 {
    max-width: 42rem;
    font-size: clamp(1rem, 1.7vw, 1.3rem);
    line-height: 1.2;
}

.retail-home
.retail-product-strip.is-single
.retail-product-card__summary {
    max-width: 44rem;
    margin-top: 8px;
    font-size: .73rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
}

.retail-home
.retail-product-strip.is-single
.retail-product-card__price {
    margin-top: 10px;
    font-size: 1.35rem;
}

.retail-home
.retail-product-strip.is-single
.retail-product-card__signals {
    margin-top: 7px;
}

.retail-home
.retail-product-strip.is-single
.retail-product-card__footer {
    margin-top: 12px;
}

.retail-home .retail-product-strip.is-multiple {
    grid-auto-columns: 248px;
}

.retail-pro-strip.is-static {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    justify-content: start;
    overflow: visible;
    padding-bottom: 2px;
    scroll-snap-type: none;
}

.retail-pro-strip.is-static.has-1 {
    width: min(100%, 370px);
    grid-template-columns: minmax(0, 370px);
}

.retail-pro-strip.is-static.has-2 {
    width: min(100%, 760px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.retail-pro-strip.is-static.has-3 {
    width: min(100%, 1030px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.retail-pro-strip.is-static.has-4 {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.retail-pro-card {
    min-height: 150px;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto;
    gap: 5px;
    padding: 13px 14px 12px;
    transition:
        transform .16s ease,
        border-color .16s ease,
        box-shadow .16s ease;
}

.retail-pro-card:hover {
    border-color: #cbd8e5;
    box-shadow: 0 9px 24px rgb(8 45 89 / .075);
    transform: translateY(-1px);
}

.retail-pro-card__summary {
    -webkit-line-clamp: 1;
}

.retail-pro-card__cta {
    margin-top: 2px;
}

.retail-rail-controls[hidden],
.page-context--home .home-activity__slider-controls[hidden] {
    display: none !important;
}

.page-context--home .home-activity__header {
    padding-bottom: .58rem;
}

.page-context--home .home-activity__list {
    padding-bottom: .36rem;
}

.page-context--home .home-activity__footer {
    min-height: 2rem;
    padding-top: .2rem;
}

.retail-business-cta {
    margin-top: 18px;
}

.page-context--home .app-main {
    padding-bottom: .7rem;
}

@media (max-width: 63.99rem) {
    .retail-home
    .retail-product-strip.is-single
    .retail-product-card--shelf {
        grid-template-columns: minmax(230px, 38%) minmax(0, 1fr);
    }

    .retail-pro-strip.is-static.has-3,
    .retail-pro-strip.is-static.has-4 {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .retail-home .retail-shelf--products {
        margin-top: 18px;
    }

    .retail-home .retail-shelf--pros {
        margin-top: 16px;
    }

    .retail-home
    .retail-product-strip.is-single
    .retail-product-card--shelf {
        display: block;
        width: 100%;
    }

    .retail-home
    .retail-product-strip.is-single
    .retail-product-card__media {
        min-height: 0;
        aspect-ratio: 16 / 10;
        border-right: 0;
        border-bottom: 1px solid #edf1f5;
    }

    .retail-home
    .retail-product-strip.is-single
    .retail-product-card__body {
        padding: 15px 16px;
    }

    .retail-pro-strip.is-static,
    .retail-pro-strip.is-static.has-1,
    .retail-pro-strip.is-static.has-2,
    .retail-pro-strip.is-static.has-3,
    .retail-pro-strip.is-static.has-4 {
        display: grid;
        width: 100%;
        grid-auto-flow: column;
        grid-auto-columns: min(82vw, 17.5rem);
        grid-template-columns: none;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        margin-right: -12px;
        padding-right: 12px;
        padding-bottom: 7px;
        scroll-snap-type: x proximity;
    }

    .retail-pro-strip.is-static .retail-pro-card {
        scroll-snap-align: start;
    }

    .retail-pro-card {
        min-height: 146px;
    }

    .page-context--home .home-activity {
        margin-top: 12px;
        margin-bottom: .7rem;
    }

    .retail-business-cta {
        margin-top: 14px;
    }
}

/* R31.5.3.3 — Provider city instant autocomplete */
.provider-location-combobox__control {
    position: relative;
}

.provider-location-combobox__control > input[type="search"] {
    width: 100%;
}

.provider-location-combobox datalist {
    display: none;
}

.provider-origin-suggestions {
    position: absolute;
    z-index: 90;
    top: calc(100% + 0.35rem);
    right: 0;
    left: 0;
    display: grid;
    max-height: 17rem;
    overflow-y: auto;
    padding: 0.35rem;
    border: 1px solid #d5dee8;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 16px 38px rgb(8 45 89 / 0.16);
    overscroll-behavior: contain;
}

.provider-origin-suggestions[hidden] {
    display: none !important;
}

.provider-origin-suggestion {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.25rem 0.8rem;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.62rem 0.75rem;
    border-radius: 0.62rem;
    cursor: pointer;
    transition:
        background-color 0.12s ease,
        color 0.12s ease;
}

.provider-origin-suggestion strong {
    min-width: 0;
    overflow: hidden;
    color: #102a43;
    font-size: 0.84rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.provider-origin-suggestion span {
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.2;
    white-space: nowrap;
}

.provider-origin-suggestion:hover,
.provider-origin-suggestion.is-active {
    background: #fff2e9;
}

.provider-origin-suggestion:hover strong,
.provider-origin-suggestion.is-active strong {
    color: #9a3d0b;
}

.provider-origin-suggestion.is-empty {
    display: block;
    cursor: default;
    color: #64748b;
    font-size: 0.78rem;
}

@media (max-width: 620px) {
    .provider-origin-suggestions {
        max-height: 14rem;
        border-radius: 0.75rem;
    }

    .provider-origin-suggestion {
        min-height: 3rem;
        padding: 0.72rem 0.7rem;
    }
}

/* Source: resources/css/pages/onboarding-mobile-polish-r31-5-3-4.css */
/*
 * R31.5.3.4 — Onboarding Mobile Polish
 *
 * Scope:
 * - /cuenta/plan/pro presentation
 * - /panel/comercial/onboarding mobile density
 *
 * No search, catalog, eligibility or persistence logic is changed.
 */

/* Both focused commercial flows keep the product UI typography. */
.page-context--onboarding .provider-onboarding,
.page-context--onboarding .provider-onboarding button,
.page-context--onboarding .provider-onboarding input,
.page-context--onboarding .provider-onboarding select,
.page-context--onboarding .provider-onboarding textarea,
.page-context--pro-activation .app-main {
    font-family: var(--font-family);
}

/* Pro activation is a focused decision, not a normal browsing page. */
.page-context--pro-activation .app-main {
    width: min(calc(100% - 1rem), 42rem);
}

.page-context--pro-activation .plans-growth__grid {
    width: 100%;
}

.page-context--pro-activation .plans-growth-card {
    min-width: 0;
}

.page-context--pro-activation .plans-growth-card h2 {
    max-width: none;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

/* Onboarding mobile: give the task the full viewport instead of a nested card. */
@media (max-width: 47.99rem) {
    .page-context--onboarding .app-main {
        width: 100%;
        padding: 0.55rem 0.7rem 1.25rem;
    }

    .page-context--onboarding .app-shell {
        padding-bottom: calc(0.8rem + env(safe-area-inset-bottom));
    }

    .page-context--onboarding .bottom-navigation,
    .page-context--pro-activation .bottom-navigation {
        display: none !important;
    }

    .page-context--onboarding .provider-onboarding--guided {
        width: 100%;
        max-width: none;
        margin: 0;
        overflow: visible;
    }

    .page-context--onboarding .provider-onboarding__workspace {
        display: block;
        width: 100%;
    }

    /* The desktop progress rail wastes almost one third of the first viewport. */
    .page-context--onboarding .provider-onboarding__rail {
        display: none !important;
    }

    .page-context--onboarding .provider-onboarding__main {
        width: 100%;
        min-width: 0;
    }

    .page-context--onboarding .provider-onboarding__header {
        display: grid;
        gap: 0.55rem;
        align-items: start;
        margin: 0 0 0.7rem;
        padding: 0.1rem 0.15rem 0;
    }

    .page-context--onboarding .provider-onboarding__heading {
        min-width: 0;
    }

    .page-context--onboarding .provider-onboarding__heading h1 {
        max-width: none;
        margin-bottom: 0.35rem;
        font-size: clamp(1.65rem, 7.4vw, 2rem);
        line-height: 1.08;
        letter-spacing: -0.025em;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
        text-wrap: pretty;
    }

    .page-context--onboarding .provider-onboarding__heading p {
        margin: 0;
        max-width: 38rem;
        font-size: 0.86rem;
        line-height: 1.45;
    }

    .page-context--onboarding .provider-onboarding__save-state {
        justify-self: start;
        min-height: 2rem;
        padding: 0.38rem 0.6rem;
        font-size: 0.65rem;
    }

    .page-context--onboarding .provider-onboarding__card {
        width: 100%;
        padding: 0.8rem !important;
        border: 1px solid #d7e0e9 !important;
        border-radius: 1rem !important;
        background: #fff !important;
        box-shadow: 0 8px 24px rgb(8 45 89 / 0.055) !important;
    }

    .page-context--onboarding .provider-publication-state {
        gap: 0.55rem;
        padding: 0.7rem;
        border-radius: 0.8rem;
    }

    .page-context--onboarding .provider-publication-state strong {
        font-size: 0.82rem;
        line-height: 1.3;
    }

    .page-context--onboarding .provider-publication-state p {
        margin-top: 0.15rem;
        font-size: 0.73rem;
        line-height: 1.4;
    }

    /* Assistant: compact informational header instead of a large dark block. */
    .page-context--onboarding .provider-service-assistant {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.65rem;
        margin-bottom: 0.75rem;
        padding: 0.8rem;
        border: 1px solid rgb(239 97 8 / 0.18);
        border-radius: 0.9rem;
        background:
            linear-gradient(135deg, #fff8f2, #ffffff 72%);
        color: #102844;
    }

    .page-context--onboarding .provider-service-assistant__intro {
        gap: 0.6rem;
    }

    .page-context--onboarding .provider-service-assistant__mark {
        width: 2.2rem;
        height: 2.2rem;
        border: 1px solid rgb(239 97 8 / 0.16);
        border-radius: 0.7rem;
        background: #fff0e6;
        color: var(--accent-700);
    }

    .page-context--onboarding .provider-service-assistant__intro > div {
        min-width: 0;
    }

    .page-context--onboarding .provider-service-assistant__intro span {
        margin-bottom: 0.08rem;
        color: var(--accent-700);
        font-size: 0.61rem;
    }

    .page-context--onboarding .provider-service-assistant__intro h2 {
        margin-bottom: 0.16rem;
        color: var(--brand-950);
        font-size: 1rem;
        line-height: 1.2;
    }

    .page-context--onboarding .provider-service-assistant__intro p {
        color: #59697c;
        font-size: 0.73rem;
        line-height: 1.4;
    }

    .page-context--onboarding
    .provider-onboarding--guided
    .provider-plan-limit {
        display: flex;
        width: 100%;
        min-width: 0;
        gap: 0.5rem;
        align-items: center;
        justify-content: space-between;
        padding: 0.6rem 0.7rem;
        border: 1px solid #e1e7ee;
        border-radius: 0.75rem;
        background: #f6f8fb;
    }

    .page-context--onboarding
    .provider-onboarding--guided
    .provider-plan-limit span {
        color: #667386;
        font-size: 0.7rem;
    }

    .page-context--onboarding
    .provider-onboarding--guided
    .provider-plan-limit strong {
        color: var(--brand-950);
        font-size: 0.73rem;
        text-align: right;
    }

    .page-context--onboarding .provider-service-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.75rem;
    }

    .page-context--onboarding .provider-service-builder {
        min-width: 0;
    }

    .page-context--onboarding .provider-trade-search {
        display: grid;
        gap: 0.45rem;
    }

    .page-context--onboarding .provider-trade-search__field {
        min-height: 3.2rem;
        border-radius: 0.85rem;
    }

    .page-context--onboarding .provider-trade-search__field input {
        min-width: 0;
        font-size: 1rem;
    }

    .page-context--onboarding .provider-trade-search__status {
        margin: 0;
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .page-context--onboarding .provider-trade-results {
        gap: 0.5rem;
    }

    /*
     * Result title gets a complete first row.
     * Category and action share the second row.
     * This removes the three-column squeeze seen at 360–412 px.
     */
    .page-context--onboarding .provider-trade-result {
        display: grid;
        width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.32rem 0.65rem;
        align-items: center;
        padding: 0.78rem 0.82rem;
        border: 1px solid #d9e1ea;
        border-radius: 0.9rem;
        background: #fff;
        box-shadow: 0 3px 10px rgb(8 45 89 / 0.035);
    }

    .page-context--onboarding .provider-trade-result strong {
        grid-column: 1 / -1;
        grid-row: 1;
        min-width: 0;
        color: var(--brand-950);
        font-size: 0.95rem;
        font-weight: 850;
        line-height: 1.22;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .page-context--onboarding .provider-trade-result span {
        grid-column: 1;
        grid-row: 2;
        min-width: 0;
        color: #6b7889;
        font-size: 0.7rem;
        line-height: 1.25;
        overflow-wrap: normal;
        word-break: normal;
    }

    .page-context--onboarding .provider-trade-result b {
        grid-column: 2;
        grid-row: 2;
        align-self: center;
        min-height: 2rem;
        padding: 0.35rem 0.62rem;
        border-radius: 999px;
        background: #fff0e6;
        color: var(--accent-700);
        font-size: 0.7rem;
        font-weight: 900;
        line-height: 1;
        white-space: nowrap;
    }

    .page-context--onboarding .provider-selected-service-section {
        margin-top: 0.75rem;
        padding: 0.75rem;
        border-radius: 0.85rem;
    }

    .page-context--onboarding
    .provider-selected-service-section > header {
        display: grid;
        gap: 0.28rem;
        align-items: start;
        margin-bottom: 0.6rem;
    }

    .page-context--onboarding
    .provider-selected-service-section header > strong {
        justify-self: start;
        padding: 0.28rem 0.5rem;
        border-radius: 999px;
        background: #eef3f8;
        font-size: 0.65rem;
    }

    .page-context--onboarding .provider-selected-trades {
        gap: 0.35rem;
    }

    .page-context--onboarding .provider-selected-trade {
        max-width: 100%;
        padding: 0.42rem 0.48rem 0.42rem 0.62rem;
        font-size: 0.7rem;
    }

    .page-context--onboarding .provider-category-limit-message {
        margin-top: 0.65rem;
        padding: 0.72rem 0.76rem;
        border: 1px solid #f1dfac;
        border-radius: 0.8rem;
        background: #fffaf0;
        color: #694d08;
        font-size: 0.78rem;
        line-height: 1.42;
    }

    .page-context--onboarding .provider-category-upgrade-link {
        min-height: 2.2rem !important;
        margin-top: 0.5rem;
        padding: 0.42rem 0.65rem;
        border-radius: 999px;
        background: #fff0e6;
        color: var(--accent-700);
        text-decoration: none;
    }

    .page-context--onboarding .provider-category-fallback {
        margin-top: 0.7rem;
        border-radius: 0.85rem;
    }

    .page-context--onboarding .provider-category-fallback > summary {
        padding: 0.7rem 0.75rem;
        font-size: 0.78rem;
    }

    .page-context--onboarding .provider-category-fallback > p {
        margin: 0;
        padding: 0 0.75rem 0.65rem;
        font-size: 0.7rem;
    }

    .page-context--onboarding .provider-publish-summary {
        display: none;
    }

    .page-context--onboarding .provider-onboarding__terms {
        margin-top: 0.75rem;
        padding: 0.7rem;
        border: 1px solid #e0e6ed;
        border-radius: 0.8rem;
        background: #f8fafc;
        font-size: 0.74rem;
        line-height: 1.4;
    }

    .page-context--onboarding .provider-onboarding__actions {
        gap: 0.5rem !important;
        margin-top: 0.7rem !important;
    }

    .page-context--onboarding
    .provider-onboarding__actions
    .identity-button--primary {
        min-height: 3rem;
        border-radius: 0.85rem;
        font-size: 0.86rem;
    }

    /* Pro activation: force a readable single-column decision card. */
    .page-context--pro-activation .app-main {
        width: 100%;
        padding: 0.65rem 0.7rem 1.2rem;
    }

    .page-context--pro-activation .plans-growth {
        width: 100%;
        padding-top: 0.65rem;
    }

    .page-context--pro-activation .plans-growth__grid {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.75rem;
        margin-top: 0.8rem;
    }

    .page-context--pro-activation .plans-growth-card,
    .page-context--pro-activation .plans-growth-card--pro,
    .page-context--pro-activation .plans-growth-card--enterprise {
        width: 100%;
        min-width: 0;
        grid-column: auto;
        padding: 1rem;
        border-radius: 1rem;
        transform: none;
    }

    .page-context--pro-activation .plans-growth-card__header {
        min-height: 0;
        padding-bottom: 0.8rem;
        text-align: left;
    }

    .page-context--pro-activation .plans-growth-card__eyebrow {
        min-height: 1.7rem;
        padding: 0.3rem 0.6rem;
        font-family: var(--font-family);
        font-size: 0.64rem;
    }

    .page-context--pro-activation .plans-growth-card h2 {
        width: 100%;
        max-width: none;
        margin-top: 0.65rem;
        font-family: var(--font-family);
        font-size: clamp(1.65rem, 7.5vw, 2rem);
        font-weight: 850;
        line-height: 1.08;
        letter-spacing: -0.025em;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
        text-wrap: pretty;
    }

    .page-context--pro-activation .plans-growth-card__summary {
        max-width: none;
        margin: 0.45rem 0 0;
        font-size: 0.82rem;
        line-height: 1.45;
        text-align: left;
    }

    .page-context--pro-activation .plans-growth-card__benefit {
        margin: 0.55rem 0 0;
        font-family: var(--font-family);
    }

    .page-context--pro-activation .plans-growth-card__features {
        padding-block: 0.7rem 0.8rem;
    }

    .page-context--pro-activation .plans-growth-card__features li {
        grid-template-columns: 1.8rem minmax(0, 1fr) 1.25rem;
        gap: 0.5rem;
        min-height: 2.35rem;
        font-family: var(--font-family);
        font-size: 0.8rem;
    }

    .page-context--pro-activation .plans-growth-card__cta {
        min-height: 3rem;
        border-radius: 0.8rem;
        font-family: var(--font-family);
        font-size: 0.86rem;
    }
}

/* Source: resources/css/pages/pro-activation-mobile-fix-r31-5-3-4-1.css */
/*
 * R31.5.3.4.1 — Pro Activation Mobile Layout Fix
 *
 * /cuenta/plan/pro reuses Plans classes but its internal markup does not
 * share the public three-plan card structure. On mobile the content can
 * remain constrained to a min-content grid column.
 *
 * Route-scoped hard reset only.
 */
@media (max-width: 47.99rem) {
    .page-context--pro-activation .plans-growth,
    .page-context--pro-activation .plans-growth__grid,
    .page-context--pro-activation .plans-growth__grid > *,
    .page-context--pro-activation .plans-growth-card,
    .page-context--pro-activation .plans-growth-card > *,
    .page-context--pro-activation .plans-growth-card form,
    .page-context--pro-activation .plans-growth-card form > *,
    .page-context--pro-activation .plans-growth-card__header,
    .page-context--pro-activation .plans-growth-card__footer {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        grid-column: 1 / -1 !important;
    }

    .page-context--pro-activation .plans-growth__grid {
        display: block !important;
        margin: 0 !important;
    }

    .page-context--pro-activation .plans-growth-card {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden;
        padding: 1rem !important;
    }

    .page-context--pro-activation .plans-growth-card > * + * {
        margin-top: 0.75rem;
    }

    .page-context--pro-activation .plans-growth-card__header {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 0 0.85rem !important;
        text-align: left !important;
    }

    .page-context--pro-activation .plans-growth-card__header > * {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .page-context--pro-activation .plans-growth-card__eyebrow {
        display: inline-flex !important;
        width: auto !important;
        max-width: max-content !important;
        margin: 0 !important;
    }

    .page-context--pro-activation .plans-growth-card h1,
    .page-context--pro-activation .plans-growth-card h2,
    .page-context--pro-activation .plans-growth-card h3 {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0.65rem 0 0 !important;
        font-family: var(--font-family) !important;
        font-size: clamp(1.75rem, 7.2vw, 2.1rem) !important;
        font-weight: 850 !important;
        line-height: 1.08 !important;
        letter-spacing: -0.03em !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
        white-space: normal !important;
        text-align: left !important;
        text-wrap: pretty;
    }

    .page-context--pro-activation .plans-growth-card__summary,
    .page-context--pro-activation .plans-growth-card p {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        font-family: var(--font-family) !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
        white-space: normal !important;
        text-align: left !important;
    }

    .page-context--pro-activation .plans-growth-card__summary {
        margin-top: 0.5rem !important;
        color: #59697c;
        font-size: 0.86rem !important;
        line-height: 1.5 !important;
    }

    .page-context--pro-activation .plans-growth-card__benefit {
        display: inline-flex !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0.65rem 0 0 !important;
        white-space: normal !important;
    }

    .page-context--pro-activation .plans-growth-card__features {
        display: grid !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0.7rem 0 !important;
    }

    .page-context--pro-activation .plans-growth-card__features li {
        width: 100% !important;
        min-width: 0 !important;
        grid-template-columns: 1.8rem minmax(0, 1fr) 1.25rem !important;
    }

    .page-context--pro-activation .plans-growth-card__review-note {
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 0.75rem !important;
    }

    .page-context--pro-activation .plans-growth-card__footer {
        display: block !important;
        margin: 0 !important;
    }

    .page-context--pro-activation .plans-growth-card__cta,
    .page-context--pro-activation .plans-growth-card button,
    .page-context--pro-activation .plans-growth-card input[type="submit"] {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}

/* Source: resources/css/pages/pro-activation-real-dom-fix-r31-5-3-4-2.css */
/*
 * R31.5.3.4.2 — Pro Activation Real DOM Fix
 *
 * Root cause:
 * The generic mobile account rule reserves a 3rem first column for an
 * account avatar:
 *
 *   .account-overview__identity {
 *       grid-template-columns: 3rem minmax(0, 1fr);
 *   }
 *
 * /cuenta/plan/pro has no .account-overview__avatar. Its only child is the
 * text block, so the whole title/summary lands in the 3rem column.
 *
 * This override is route-scoped and targets the actual pro-activation DOM.
 */
@media (max-width: 47.99rem) {
    .page-context--pro-activation .account-overview__identity {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .page-context--pro-activation .account-overview__identity > div {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .page-context--pro-activation .account-overview h1 {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0.2rem 0 0.45rem !important;
        font-family: var(--font-family) !important;
        font-size: clamp(1.7rem, 7.2vw, 2rem) !important;
        font-weight: 850 !important;
        line-height: 1.08 !important;
        letter-spacing: -0.025em !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
        white-space: normal !important;
        text-wrap: pretty;
    }

    .page-context--pro-activation .account-overview p {
        width: 100% !important;
        max-width: 34rem !important;
        min-width: 0 !important;
        margin: 0 !important;
        font-family: var(--font-family) !important;
        font-size: 0.86rem !important;
        line-height: 1.48 !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
        white-space: normal !important;
    }

    .page-context--pro-activation .account-overview {
        width: 100% !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.7rem !important;
        padding: 1rem !important;
    }

    .page-context--pro-activation .account-link-button {
        justify-self: start;
        width: auto !important;
        max-width: 100%;
    }

    .page-context--pro-activation .account-workspace-grid,
    .page-context--pro-activation .account-workspace-main,
    .page-context--pro-activation .account-workspace-side,
    .page-context--pro-activation .account-card {
        width: 100%;
        max-width: none;
        min-width: 0;
    }
}

/* Source: resources/css/pages/enterprise-public-profile-r32-1.css */
/* R32.1 — Public Enterprise Profile */
.enterprise-public-profile {
    width: min(calc(100% - 2rem), 74rem);
    margin: 0 auto;
    padding: 1.25rem 0 3.5rem;
    color: var(--brand-950);
}

.enterprise-public-profile__back {
    margin-bottom: 0.85rem;
}

.enterprise-public-profile__back a {
    display: inline-flex;
    align-items: center;
    min-height: 2.6rem;
    padding: 0 0.9rem;
    border: 1px solid rgb(8 45 89 / 0.12);
    border-radius: 999px;
    background: #fff;
    color: var(--brand-950);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.enterprise-public-profile__hero {
    display: grid;
    gap: 1rem;
    padding: clamp(1rem, 2.3vw, 1.6rem);
    border: 1px solid rgb(8 45 89 / 0.11);
    border-radius: 1.3rem;
    background: #fff;
    box-shadow: 0 18px 45px rgb(8 45 89 / 0.065);
}

.enterprise-public-profile__identity {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.enterprise-public-profile__avatar {
    display: grid;
    width: 5rem;
    height: 5rem;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgb(8 45 89 / 0.1);
    border-radius: 1.15rem;
    background: #f7f9fc;
    color: var(--accent-700);
    font-size: 1.8rem;
    font-weight: 900;
}

.enterprise-public-profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.enterprise-public-profile__eyebrow,
.enterprise-public-profile__section-head p,
.enterprise-service-card__category {
    margin: 0;
    color: var(--accent-700);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.enterprise-public-profile h1 {
    margin: 0.22rem 0 0;
    font-family: var(--font-family);
    font-size: clamp(2rem, 4.8vw, 3.6rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.045em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.enterprise-public-profile__public-name,
.enterprise-public-profile__summary {
    max-width: 46rem;
    margin: 0.5rem 0 0;
    color: #59697c;
    line-height: 1.55;
}

.enterprise-public-profile__public-name {
    color: var(--brand-950);
    font-weight: 800;
}

.enterprise-public-profile__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.enterprise-public-profile__signals span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.72rem;
    border-radius: 999px;
    background: #f3f7f8;
    color: #3e5064;
    font-size: 0.72rem;
    font-weight: 800;
}

.enterprise-public-profile__signals span:first-child {
    background: #eef8f2;
    color: #176a45;
}

.enterprise-public-profile__privacy {
    margin: 0;
    padding-top: 0.85rem;
    border-top: 1px solid rgb(8 45 89 / 0.08);
    color: #68778a;
    font-size: 0.75rem;
    line-height: 1.45;
}

.enterprise-public-profile__section {
    margin-top: 1.1rem;
    padding: clamp(1rem, 2vw, 1.4rem);
    border: 1px solid rgb(8 45 89 / 0.1);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 12px 35px rgb(8 45 89 / 0.045);
}

.enterprise-public-profile__section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.enterprise-public-profile__section-head h2 {
    margin: 0.18rem 0 0;
    font-family: var(--font-family);
    font-size: clamp(1.35rem, 2.7vw, 2rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.enterprise-public-profile__section-head > span {
    color: #6a7788;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.enterprise-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.enterprise-service-card {
    display: grid;
    gap: 0.65rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgb(8 45 89 / 0.1);
    border-radius: 1rem;
    background: #fbfcfe;
}

.enterprise-service-card h3 {
    margin: 0;
    font-family: var(--font-family);
    font-size: 1.05rem;
    line-height: 1.2;
}

.enterprise-service-card > p:not(.enterprise-service-card__category) {
    margin: 0;
    color: #59697c;
    font-size: 0.8rem;
    line-height: 1.5;
}

.enterprise-service-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.7rem;
    border-top: 1px solid rgb(8 45 89 / 0.08);
}

.enterprise-service-card footer span {
    color: #6b7889;
    font-size: 0.69rem;
}

.enterprise-service-card footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0 0.85rem;
    border-radius: 0.75rem;
    background: var(--accent-600);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.enterprise-public-profile__product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.instant-provider-card__company-link {
    color: inherit;
    text-decoration: none;
}

.instant-provider-card__company-link:hover,
.instant-provider-card__company-link:focus-visible {
    color: var(--accent-700);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

@media (max-width: 63.99rem) {
    .enterprise-public-profile__product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 47.99rem) {
    .enterprise-public-profile {
        width: 100%;
        padding: 0.7rem 0.7rem 2rem;
    }

    .enterprise-public-profile__hero,
    .enterprise-public-profile__section {
        border-radius: 1rem;
    }

    .enterprise-public-profile__identity {
        grid-template-columns: 3.75rem minmax(0, 1fr);
        gap: 0.75rem;
        align-items: start;
    }

    .enterprise-public-profile__avatar {
        width: 3.75rem;
        height: 3.75rem;
        border-radius: 0.9rem;
        font-size: 1.35rem;
    }

    .enterprise-public-profile h1 {
        font-size: clamp(1.65rem, 8vw, 2.1rem);
        line-height: 1.07;
    }

    .enterprise-public-profile__section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .enterprise-service-grid,
    .enterprise-public-profile__product-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .enterprise-service-card footer {
        align-items: stretch;
        flex-direction: column;
    }

    .enterprise-service-card footer a {
        width: 100%;
    }
}

/* R32.2 — Enterprise identity unification */
.retail-buybox__seller-link {
    color: inherit;
    text-decoration: none;
}
.retail-buybox__seller-link strong {
    color: inherit;
}
.retail-buybox__seller-link:hover strong,
.retail-buybox__seller-link:focus-visible strong {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.14em;
}
