:root {
    --navy: #0b2f4a;
    --navy-2: #123d59;
    --teal: #1f8a9b;
    --teal-dark: #146878;
    --aqua: #dff4f3;
    --sand: #f4eadc;
    --sand-2: #efe2cf;
    --warm-white: #fffaf3;
    --white: #ffffff;
    --gold: #d9a441;
    --gold-dark: #ad7a20;
    --gold-soft: #fff1cc;
    --coral: #c98b6b;
    --coral-dark: #a96f52;
    --ink: #11263a;
    --muted: #5e7180;
    --line: rgba(11, 47, 74, 0.14);
    --shadow: 0 18px 46px rgba(11, 47, 74, 0.12);
    --shadow-soft: 0 10px 28px rgba(11, 47, 74, 0.09);
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    background: var(--warm-white);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

a {
    color: var(--teal-dark);
    text-decoration: none;
}

a:hover {
    color: var(--navy);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(31, 138, 155, 0.35);
    outline-offset: 3px;
}

h1,
h2,
h3 {
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.04;
    margin: 0 0 0.75rem;
}

h1 {
    font-size: 4.4rem;
}

h2 {
    font-size: 2.45rem;
}

h3 {
    font-size: 1.2rem;
}

p {
    margin: 0 0 1rem;
}

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

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    padding: 0.85rem 0.95rem;
}

textarea {
    resize: vertical;
}

label span {
    display: block;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--navy);
    font-size: 0.88rem;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    max-width: 820px;
}

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link:focus {
    z-index: 100;
    width: auto;
    height: auto;
    clip: auto;
    padding: 0.75rem 1rem;
    background: var(--navy);
    color: var(--white);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 250, 243, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--navy);
    min-width: max-content;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: transparent;
}

.brand-mark img {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.brand-text {
    display: grid;
}

.brand-script {
    color: var(--teal-dark);
    font-family: "Segoe Script", "Brush Script MT", Georgia, serif;
    font-size: 1.45rem;
    line-height: 1;
}

.brand-subtitle {
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 900;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.environment-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.25rem 0.55rem;
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.environment-badge-local {
    background: #eaf7ef;
    border-color: rgba(41, 125, 78, 0.24);
    color: #24693f;
}

.environment-badge-production {
    background: #fff0e8;
    border-color: rgba(169, 81, 42, 0.28);
    color: #9a4b28;
}

.site-nav a {
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 800;
}

.site-nav a.active {
    color: var(--teal-dark);
}

.site-nav .btn.active {
    background: var(--teal-dark);
    color: var(--white);
}

.site-nav .btn,
.site-nav .btn:hover,
.site-nav .btn:focus-visible,
.site-nav .btn.active {
    color: var(--white);
}

.admin-page .site-nav {
    gap: 0.55rem;
}

.admin-page .site-nav a {
    font-size: 0.82rem;
}

.admin-page .environment-badge {
    font-size: 0.66rem;
    padding: 0.2rem 0.45rem;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 0.65rem;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--navy);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid var(--teal);
    border-radius: var(--radius);
    background: var(--teal);
    color: var(--white);
    font-weight: 800;
    padding: 0.85rem 1.25rem;
    min-height: 44px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(31, 138, 155, 0.18);
}

.btn:hover {
    background: var(--teal-dark);
    color: var(--white);
}

.btn-small {
    min-height: 38px;
    padding: 0.58rem 0.9rem;
    font-size: 0.86rem;
}

.btn-outline {
    background: var(--white);
    color: var(--navy);
    border-color: var(--line);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--aqua);
    color: var(--navy);
}

.site-nav .btn-vendor-access,
.site-nav .btn-vendor-access.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    box-shadow: 0 8px 18px rgba(11, 47, 74, 0.16);
}

.site-nav .btn-vendor-access:hover,
.site-nav .btn-vendor-access:focus-visible {
    background: var(--navy-2);
    border-color: var(--navy-2);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow-soft);
}

.btn-featured {
    background: linear-gradient(135deg, #f0bf57, var(--gold));
    border-color: var(--gold-dark);
    color: var(--navy);
    box-shadow: 0 10px 22px rgba(173, 122, 32, 0.22);
}

.btn-featured:hover,
.btn-featured:focus-visible {
    background: linear-gradient(135deg, #e2aa3b, var(--gold-dark));
    border-color: #8d5f16;
    color: var(--navy);
}

.btn-danger {
    background: #a33f34;
    border-color: #a33f34;
}

.btn-danger:hover,
.btn-danger:focus-visible {
    background: #83312a;
    border-color: #83312a;
}

.btn-logout {
    background: #a8463a;
    border-color: #a8463a;
    color: var(--white);
    box-shadow: 0 8px 18px rgba(168, 70, 58, 0.2);
}

.btn-logout:hover,
.btn-logout:focus-visible,
.site-nav a.btn-logout:hover,
.site-nav a.btn-logout:focus-visible {
    background: #84332d;
    border-color: #84332d;
    color: var(--white);
}

.site-nav a.btn-logout {
    color: var(--white);
}

.text-link {
    color: var(--teal-dark);
    font-weight: 800;
}

.eyebrow {
    color: var(--teal-dark);
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.eyebrow.light {
    color: var(--aqua);
}

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg picture,
.hero-bg img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    object-fit: cover;
}

.hero-bg::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 250, 243, 0.92) 0%, rgba(255, 250, 243, 0.72) 45%, rgba(255, 250, 243, 0.18) 100%);
    content: "";
}

.hero-grid {
    position: relative;
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.55fr);
    align-items: center;
    gap: 2.5rem;
    padding: 5.5rem 0;
}

.hero-copy {
    max-width: 710px;
}

.hero-subtitle {
    max-width: 620px;
    color: var(--navy-2);
    font-size: 1.1rem;
}

.search-panel,
.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) minmax(180px, 0.9fr) auto;
    align-items: end;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 900;
}

.hero-proof span {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.25rem 0.7rem;
}

.how-card,
.detail-card,
.sidebar-panel,
.vendor-card,
.category-card,
.card-form,
.admin-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.how-card {
    padding: 2rem;
}

.how-card ol {
    display: grid;
    gap: 1rem;
    list-style: none;
    margin: 1.25rem 0;
    padding: 0;
}

.how-card li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0.85rem;
}

.how-card li > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    font-weight: 900;
}

.how-card p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0.2rem 0 0;
}

.section {
    padding: 4.8rem 0;
}

.section.compact {
    padding: 3.2rem 0;
}

.popular-services-section {
    background:
        linear-gradient(180deg, rgba(255, 250, 243, 1), rgba(244, 234, 220, 0.28));
    border-bottom: 1px solid var(--line);
}

.sand {
    background: var(--sand);
}

#areas {
    scroll-margin-top: 96px;
}

#directory-results {
    scroll-margin-top: 96px;
}

[data-area-results] {
    transition: opacity 140ms ease;
}

[data-area-results].is-loading {
    opacity: 0.62;
    pointer-events: none;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
}

.section-heading.centered {
    display: block;
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.section-heading.centered p:not(.eyebrow) {
    color: var(--muted);
    margin-inline: auto;
    max-width: 660px;
}

.directory-results-heading {
    display: block;
}

.directory-results-heading > div {
    width: 100%;
}

.directory-results-heading .service-filter-pills {
    max-width: none;
    width: 100%;
}

.directory-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.45rem 0.75rem;
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--teal);
    background: rgba(223, 244, 243, 0.62);
    color: var(--navy-2);
    padding: 1rem 1.1rem;
}

.directory-note strong {
    color: var(--navy);
}

.directory-note.action-note {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.directory-note.action-note > div {
    display: grid;
    gap: 0.35rem;
}

.directory-note.action-note .btn {
    white-space: nowrap;
}

.area-filter-strip {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(11, 47, 74, 0.12);
    padding-bottom: 1.25rem;
}

.area-filter-strip h2 {
    margin-bottom: 0.4rem;
}

.area-filter-strip p:not(.eyebrow) {
    color: var(--muted);
    margin-bottom: 0;
}

.area-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.area-filter-list a {
    border: 1px solid rgba(11, 47, 74, 0.14);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 900;
    padding: 0.42rem 0.8rem;
}

.area-filter-list a:hover,
.area-filter-list a.active {
    border-color: rgba(31, 138, 155, 0.42);
    background: var(--aqua);
    color: var(--teal-dark);
}

.area-filter-list a.is-empty {
    border-color: rgba(74, 91, 106, 0.14);
    background: rgba(238, 240, 241, 0.84);
    color: rgba(74, 91, 106, 0.7);
    box-shadow: none;
}

.area-filter-list a.is-empty:hover {
    border-color: rgba(74, 91, 106, 0.28);
    background: rgba(232, 235, 236, 0.96);
    color: var(--navy-2);
}

.area-filter-list a.is-empty.active {
    border-color: rgba(11, 47, 74, 0.28);
    background: rgba(232, 235, 236, 0.96);
    color: var(--navy);
    box-shadow: inset 0 0 0 1px rgba(11, 47, 74, 0.08);
}

.service-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
    max-width: 900px;
}

.service-filter-pills button {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 34px;
    border: 1px solid rgba(11, 47, 74, 0.14);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 850;
    line-height: 1.15;
    padding: 0.34rem 0.68rem;
    transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.service-filter-pills button:hover,
.service-filter-pills button:focus-visible,
.service-filter-pills button.active {
    border-color: rgba(31, 138, 155, 0.42);
    background: var(--aqua);
    color: var(--teal-dark);
}

.service-filter-pills button:focus-visible {
    outline: 3px solid rgba(31, 138, 155, 0.22);
    outline-offset: 2px;
}

.service-filter-pills button.is-empty {
    border-color: rgba(74, 91, 106, 0.14);
    background: rgba(238, 240, 241, 0.84);
    color: rgba(74, 91, 106, 0.76);
    box-shadow: none;
}

.service-filter-pills button.is-empty:hover,
.service-filter-pills button.is-empty:focus-visible {
    border-color: rgba(74, 91, 106, 0.28);
    background: rgba(232, 235, 236, 0.96);
    color: var(--navy-2);
}

.service-filter-pills button.is-empty.active {
    border-color: rgba(11, 47, 74, 0.28);
    background: rgba(232, 235, 236, 0.96);
    color: var(--navy);
    box-shadow: inset 0 0 0 1px rgba(11, 47, 74, 0.08);
}

.service-filter-pills .icon {
    flex: 0 0 auto;
    width: 0.95rem;
    height: 0.95rem;
}

.service-filter-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.3rem;
    height: 1.3rem;
    border-radius: 999px;
    background: rgba(11, 47, 74, 0.08);
    color: currentColor;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0 0.32rem;
}

.directory-help-cta {
    display: flex;
    justify-content: center;
    margin: -0.35rem 0 1.9rem;
}

.directory-help-button {
    min-width: 178px;
    padding-inline: 1.55rem;
    box-shadow: 0 14px 30px rgba(31, 138, 155, 0.24);
}

.vendor-card[hidden],
.service-filter-empty[hidden] {
    display: none;
}

.service-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
    gap: 0.75rem;
}

.service-row.wrap {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.popular-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
    gap: 1rem;
}

.popular-service-card {
    min-width: 0;
    min-height: 218px;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 0.65rem;
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
    padding: 1.15rem;
    box-shadow: var(--shadow-soft);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.popular-service-card:hover {
    border-color: rgba(31, 138, 155, 0.36);
    box-shadow: var(--shadow);
    color: var(--navy);
    transform: translateY(-2px);
}

.service-icon-bubble {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--aqua);
    color: var(--teal-dark);
}

.service-icon-bubble .icon {
    width: 28px;
    height: 28px;
}

.popular-service-title {
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.08;
}

.popular-service-copy {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.popular-service-action {
    color: var(--teal-dark);
    font-size: 0.86rem;
    font-weight: 900;
}

.popular-services-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.85rem;
    margin-top: 1.4rem;
    color: var(--muted);
    font-weight: 800;
}

.service-icon-card,
.category-card {
    min-width: 0;
    min-height: 124px;
    display: grid;
    place-items: center;
    gap: 0.5rem;
    padding: 1rem;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--navy);
    box-shadow: var(--shadow-soft);
}

.service-icon-card span {
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.icon {
    width: 34px;
    height: 34px;
    color: var(--teal-dark);
}

.vendor-cta-strip {
    background: linear-gradient(135deg, var(--navy), var(--teal-dark));
    color: var(--white);
}

.vendor-cta-inner {
    min-height: 132px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 0;
}

.vendor-cta-strip h2,
.vendor-cta-strip p {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.split,
.content-grid,
.form-layout,
.vendor-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.6fr);
    gap: 2rem;
    align-items: center;
}

.image-callout img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.check-list {
    list-style: none;
    margin: 1.1rem 0 1.5rem;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.55rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0.1rem;
    top: 0.38rem;
    width: 0.45rem;
    height: 0.8rem;
    border: solid var(--teal-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cards-grid,
.category-grid,
.feature-grid,
.resource-grid,
.program-grid,
.metric-grid {
    display: grid;
    gap: 1rem;
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.vendor-results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.vendor-results-grid.vendor-results-count-1 {
    grid-template-columns: minmax(0, 1fr);
}

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

.vendor-results-grid.vendor-results-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.category-card {
    align-content: start;
    justify-items: start;
    min-height: 210px;
    text-align: left;
}

.category-card p,
.vendor-card p,
.small {
    color: var(--muted);
}

.feature-grid {
    grid-template-columns: repeat(3, 1fr);
}

.feature-grid > div {
    padding: 1.5rem;
    border-left: 1px solid var(--line);
}

.feature-grid > div:first-child {
    border-left: 0;
}

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

.resource-grid > div {
    display: grid;
    align-content: start;
    gap: 0.7rem;
    min-height: 300px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 1.25rem;
}

.resource-grid p {
    color: var(--muted);
    margin-bottom: 0;
}

.resource-links {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.15rem;
}

.resource-links a {
    color: var(--teal-dark);
    font-size: 0.88rem;
    font-weight: 900;
}

.shortcut-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.4rem;
    text-align: center;
}

.shortcut-cta p {
    color: var(--muted);
    font-weight: 800;
    margin: 0;
}

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

.program-card {
    min-height: 178px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 1.25rem;
}

.program-card p {
    color: var(--muted);
    margin-bottom: 0.7rem;
}

.program-card p:last-child {
    margin-bottom: 0;
}

.program-price {
    color: var(--teal-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.program-price span {
    color: var(--muted);
    display: inline-block;
    font-family: inherit;
    font-size: 0.95rem;
}

.logo-concept-grid {
    display: grid;
    gap: 1rem;
}

.logo-concept-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
    gap: 1.4rem;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    padding: 1.2rem;
}

.logo-concept-preview {
    display: flex;
    align-items: center;
    min-height: 78px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 243, 0.94);
    padding: 0.75rem 1rem;
}

.logo-concept-preview img {
    display: block;
    width: min(260px, 100%);
    height: auto;
}

.vendor-card {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    min-width: 0;
    padding: 1.4rem;
    border-top: 4px solid rgba(31, 138, 155, 0.34);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.vendor-card:hover {
    border-color: rgba(31, 138, 155, 0.34);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.vendor-card-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.vendor-card-header > div:first-child {
    min-width: 0;
}

.vendor-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.42rem;
    line-height: 1.08;
    margin-bottom: 0.35rem;
    text-wrap: balance;
}

.vendor-card h3 a {
    overflow-wrap: normal;
    word-break: normal;
}

.vendor-location {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.vendor-summary {
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 0;
}

.pill,
.status {
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 28px;
    border-radius: 999px;
    background: var(--aqua);
    color: var(--teal-dark);
    font-size: 0.76rem;
    font-weight: 900;
    padding: 0.2rem 0.6rem;
    white-space: nowrap;
}

.status-pass {
    background: #dff4e6;
    color: #146b35;
}

.status-warn {
    background: #fff1d6;
    color: #8a5518;
}

.status-fail {
    background: #fde2df;
    color: #9b2f24;
}

.status-manual {
    background: #e7ecf7;
    color: #31436b;
}

.listing-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.4rem;
}

.detail-badges {
    justify-content: flex-start;
    margin: 0.9rem 0;
}

.pill-featured {
    background: rgba(201, 139, 107, 0.17);
    color: var(--coral-dark);
}

.pill-sponsored {
    background: rgba(11, 47, 74, 0.1);
    color: var(--navy);
}

.pill-claimed {
    background: rgba(31, 138, 155, 0.13);
    color: var(--teal-dark);
}

.pill-verified {
    background: rgba(37, 111, 73, 0.14);
    color: #256f49;
}

.pill-tier {
    background: rgba(18, 61, 89, 0.12);
    color: var(--navy-2);
}

.pill-availability {
    background: rgba(244, 234, 220, 0.95);
    color: var(--navy);
}

.pill-muted {
    background: #eef1f2;
    color: var(--muted);
}

.featured-example-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
}

.featured-example {
    min-width: 0;
}

.featured-example > h2 {
    margin-bottom: 0.35rem;
}

.featured-example > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 0.94rem;
    margin-bottom: 1rem;
}

.featured-example-card {
    position: relative;
    min-height: 100%;
}

.featured-ribbon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 44px;
    margin: -1.4rem -1.4rem 0.55rem;
    border-radius: var(--radius) var(--radius) 0 0;
    background: linear-gradient(90deg, var(--coral-dark), #d89a75);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    padding: 0 1.2rem;
    text-transform: uppercase;
}

.featured-ribbon span,
.featured-ribbon small {
    position: relative;
    z-index: 1;
}

.featured-ribbon small {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-align: right;
}

.featured-ribbon-classic {
    border: 1px solid rgba(201, 139, 107, 0.34);
    border-top: 0;
    box-shadow: 0 20px 44px rgba(161, 91, 55, 0.18);
}

.featured-ribbon-classic .featured-ribbon {
    min-height: 48px;
    background: linear-gradient(90deg, #a85d38, #d89368);
}

.featured-ribbon-classic::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid rgba(201, 139, 107, 0.18);
    border-radius: var(--radius);
    pointer-events: none;
}

.featured-ribbon-coastal {
    border: 1px solid rgba(31, 138, 155, 0.32);
    border-top: 0;
    background:
        linear-gradient(180deg, rgba(223, 244, 243, 0.4), rgba(255, 255, 255, 0.98));
    box-shadow: 0 18px 42px rgba(31, 138, 155, 0.16);
}

.featured-business-card {
    border: 1px solid rgba(31, 138, 155, 0.32);
    border-top: 0;
    background:
        linear-gradient(180deg, rgba(223, 244, 243, 0.4), rgba(255, 255, 255, 0.98));
    box-shadow: 0 18px 42px rgba(31, 138, 155, 0.16);
}

.featured-ribbon-coastal .featured-ribbon,
.featured-business-card .featured-ribbon {
    background: linear-gradient(90deg, var(--teal-dark), var(--teal));
}

.featured-ribbon-premium {
    border: 1px solid rgba(11, 47, 74, 0.24);
    border-top: 0;
    box-shadow: 0 24px 56px rgba(11, 47, 74, 0.2);
}

.featured-ribbon-premium .featured-ribbon {
    min-height: 62px;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.22), transparent 28%),
        linear-gradient(90deg, var(--navy), var(--teal-dark));
}

.featured-ribbon-premium .vendor-card-header {
    padding-top: 0.1rem;
}

.featured-ribbon-reason {
    border: 1px solid rgba(201, 139, 107, 0.32);
    border-top: 0;
    box-shadow: 0 20px 48px rgba(161, 91, 55, 0.15);
}

.featured-ribbon-reason .featured-ribbon {
    background: linear-gradient(90deg, var(--coral-dark), #c98b6b 62%, var(--teal-dark));
}

.featured-context {
    margin: -0.1rem 0 0.2rem;
    border-left: 4px solid var(--coral-dark);
    background: rgba(255, 250, 243, 0.96);
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 850;
    padding: 0.7rem 0.85rem;
}

.featured-context strong {
    color: var(--navy);
}

.status-muted {
    background: #eef1f2;
    color: var(--muted);
}

.status-open {
    background: var(--aqua);
    color: var(--teal-dark);
}

.tag-list,
.area-cloud,
.area-list,
.card-actions,
.stacked-actions,
.admin-actions,
.lead-meta,
.checkbox-row,
.vendor-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.vendor-contact-row {
    align-items: center;
    justify-content: flex-start;
    margin-top: -0.15rem;
    width: 100%;
}

.vendor-contact-row a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--teal-dark);
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1.2;
    min-height: 30px;
}

.vendor-contact-row a + a {
    margin-left: auto;
}

.vendor-contact-row .icon {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    color: currentColor;
}

.tag-list span,
.tag-list a,
.area-cloud a,
.area-list a {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.32rem 0.7rem;
}

.tag-list .service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.tag-list .service-tag .icon {
    flex: 0 0 auto;
    width: 0.9rem;
    height: 0.9rem;
    color: var(--teal-dark);
}

.tag-list .service-tag span {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    padding: 0;
}

.card-actions {
    margin-top: auto;
}

.page-hero {
    background:
        linear-gradient(135deg, rgba(223, 244, 243, 0.95), rgba(255, 250, 243, 0.95)),
        url("../img/hero-beach-aerial.webp") center / cover no-repeat;
    border-bottom: 1px solid var(--line);
    padding: 5rem 0;
}

.compact-hero {
    padding: 4rem 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.services-hero {
    background:
        linear-gradient(135deg, rgba(255, 250, 243, 0.76), rgba(223, 244, 243, 0.62)),
        url("../img/hero-beach-aerial.webp") center / cover no-repeat;
}

.services-search-panel {
    max-width: 900px;
    margin-top: 1.5rem;
}

.service-search-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem;
}

.service-search-notice p {
    margin: 0.35rem 0 0;
}

.service-search-notice .btn {
    flex: 0 0 auto;
}

.request-hero {
    background:
        linear-gradient(135deg, rgba(255, 250, 243, 0.76), rgba(223, 244, 243, 0.62)),
        url("../img/hero-beach-aerial.webp") center / cover no-repeat;
}

.request-hero.has-area-image {
    background:
        linear-gradient(90deg, rgba(11, 47, 74, 0.9) 0%, rgba(11, 47, 74, 0.68) 54%, rgba(11, 47, 74, 0.36) 100%),
        var(--request-hero-image, url("../img/hero-beach-aerial.webp")) var(--request-hero-position, center center) / cover no-repeat;
}

.request-hero.has-area-image h1,
.request-hero.has-area-image p,
.request-hero.has-area-image .eyebrow {
    color: var(--white);
}

.request-hero.has-area-image h1 {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.26);
}

.request-hero.has-area-image p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.9);
}

.service-hero {
    background:
        linear-gradient(135deg, rgba(255, 250, 243, 0.78), rgba(223, 244, 243, 0.64)),
        url("../img/hero-beach-aerial.webp") center / cover no-repeat;
}

.area-hero {
    height: 500px;
    min-height: 0;
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(11, 47, 74, 0.9) 0%, rgba(11, 47, 74, 0.68) 54%, rgba(11, 47, 74, 0.36) 100%),
        var(--area-hero-image, url("../img/hero-beach-aerial.webp")) var(--area-hero-position, center center) / cover no-repeat;
    color: var(--white);
    padding: 0;
}

.area-hero .container {
    box-sizing: border-box;
    height: 100%;
    padding-top: 112px;
}

.area-hero h1,
.area-hero p,
.area-hero .eyebrow {
    color: var(--white);
}

.area-hero h1 {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.26);
}

.area-hero p:not(.eyebrow) {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.area-hero .btn-outline {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.95);
    color: var(--navy);
}

.area-hero .btn-outline:hover {
    background: var(--aqua);
    border-color: var(--aqua);
}

.hero-photo-credit {
    margin-top: 1.25rem;
    font-size: 0.84rem;
}

.area-hero .hero-photo-credit,
.area-hero .hero-photo-credit a {
    color: rgba(255, 255, 255, 0.86);
}

.area-hero .hero-photo-credit a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.service-hero .icon {
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
}

.vendor-hero {
    background:
        linear-gradient(135deg, rgba(11, 47, 74, 0.9), rgba(31, 138, 155, 0.78)),
        url("../img/hero-beach-aerial.webp") center / cover no-repeat;
}

.vendor-hero h1,
.vendor-hero p,
.vendor-hero .eyebrow {
    color: var(--white);
}

.vendor-detail-hero {
    background: linear-gradient(135deg, var(--warm-white), var(--aqua));
}

.vendor-detail-hero.has-vendor-photo {
    background: var(--vendor-hero-image) var(--vendor-hero-position, center) / var(--vendor-hero-size, cover) no-repeat;
}

.vendor-detail-hero.has-vendor-photo .vendor-detail-grid > div:first-child h1,
.vendor-detail-hero.has-vendor-photo .vendor-detail-grid > div:first-child p,
.vendor-detail-hero.has-vendor-photo .vendor-detail-grid > div:first-child .eyebrow,
.vendor-detail-hero.has-vendor-photo .vendor-detail-grid > div:first-child .tag-list a {
    color: var(--white);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.44);
}

.vendor-detail-hero.has-vendor-photo .tag-list a {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.12);
}

.vendor-detail-hero.has-vendor-photo .detail-card {
    background: rgba(255, 255, 255, 0.94);
}

.vendor-detail-hero.has-vendor-photo .detail-card p,
.vendor-detail-hero.has-vendor-photo .detail-card strong {
    color: var(--ink);
}

.vendor-detail-hero.has-vendor-photo .detail-card .source-disclaimer {
    color: var(--muted);
}

.vendor-detail-hero.has-vendor-photo .listing-badges .pill {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
}

.vendor-detail-hero.has-vendor-photo .listing-badges .pill-claimed {
    color: var(--teal-dark);
}

.detail-card,
.sidebar-panel {
    padding: 1.4rem;
}

.source-disclaimer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    padding-top: 1rem;
}

.vendor-disclaimer-section {
    padding-top: 0;
}

.vendor-bottom-disclaimer {
    border-top: 1px solid rgba(11, 47, 74, 0.1);
    color: rgba(94, 113, 128, 0.82);
    font-size: 0.82rem;
    margin: 0;
    padding-top: 1rem;
}

.sidebar-divider {
    border-top: 1px solid var(--line);
    margin: 1.2rem 0;
}

.content-grid {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) 330px;
}

.content-main {
    font-size: 1.05rem;
}

.form-layout {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.card-form {
    display: grid;
    gap: 1rem;
    min-width: 0;
    padding: 1.35rem;
}

.request-context-card,
.claim-business-card,
.claim-access-note {
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(223, 244, 243, 0.72), rgba(255, 255, 255, 0.92));
    padding: 1.15rem;
}

.request-context-card h2,
.claim-business-card h2,
.claim-access-note h2 {
    margin-bottom: 0.45rem;
}

.request-context-card p:last-child,
.claim-business-card p:last-child,
.claim-access-note .check-list {
    margin-bottom: 0;
}

.claim-access-note {
    background: var(--white);
}

.pricing-options {
    display: grid;
    gap: 0.85rem;
    border: 0;
    margin: 0;
    padding: 0;
}

.pricing-options[hidden] {
    display: none;
}

.pricing-options legend {
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.pricing-options p {
    color: var(--muted);
    margin: 0;
}

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

.pricing-card {
    position: relative;
    display: grid;
    align-content: start;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 0.45rem;
    min-height: 178px;
    border: 1px solid rgba(11, 47, 74, 0.14);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    padding: 1rem;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.pricing-card:hover,
.pricing-card:has(input:checked),
.pricing-card.is-selected {
    border-color: rgba(31, 138, 155, 0.55);
    box-shadow: var(--shadow-soft);
    transform: translateY(-1px);
}

.pricing-card input {
    position: absolute;
    top: 0.95rem;
    right: 0.95rem;
    width: auto;
    accent-color: var(--teal-dark);
}

.pricing-badge {
    align-self: end;
    margin-top: auto;
    width: max-content;
    border-radius: 999px;
    background: rgba(201, 139, 107, 0.16);
    color: var(--coral-dark);
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.18rem 0.55rem;
}

.pricing-label {
    color: var(--teal-dark);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.pricing-card strong {
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    line-height: 1;
    padding-right: 1.35rem;
}

.pricing-summary {
    align-self: start;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.35;
}

.listing-claim-box {
    display: grid;
    gap: 0.8rem;
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: var(--radius);
    background: rgba(223, 244, 243, 0.28);
    padding: 1rem;
}

.featured-upgrade-card {
    display: grid;
    gap: 0.75rem;
    border: 1px solid rgba(11, 47, 74, 0.14);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(223, 244, 243, 0.82), rgba(255, 250, 243, 0.92));
    padding: clamp(1rem, 2vw, 1.25rem);
}

.vendor-portal-shell .metric-grid + .featured-upgrade-card {
    margin-bottom: 1.35rem;
}

.featured-upgrade-card h2,
.featured-upgrade-card h3 {
    margin-bottom: 0;
}

.featured-upgrade-card p {
    color: var(--muted);
    margin: 0;
}

.featured-upgrade-card .featured-upgrade-scope {
    color: var(--ink);
    font-weight: 800;
}

.featured-upgrade-card strong {
    color: var(--navy);
}

.featured-upgrade-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.1rem;
}

.featured-upgrade-card .featured-upgrade-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    border: 1px solid var(--gold-dark);
    border-radius: 999px;
    background: linear-gradient(135deg, #f0bf57, var(--gold));
    color: var(--navy);
    box-shadow: 0 8px 18px rgba(173, 122, 32, 0.22);
    font-weight: 900;
    line-height: 1.35;
    padding: 0.55rem 0.8rem;
    overflow-wrap: anywhere;
}

.sidebar-panel .featured-upgrade-card {
    margin-top: 1rem;
}

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

.vendor-request-fieldset {
    display: grid;
    gap: 0.75rem;
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.74);
    margin: 0;
    padding: 1rem;
}

.vendor-request-fieldset legend {
    color: var(--navy);
    font-weight: 900;
    padding-right: 0.45rem;
}

.vendor-request-fieldset .field-hint {
    margin-top: 0;
}

.vendor-request-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.vendor-request-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    min-height: 42px;
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    padding: 0.55rem 0.65rem;
    transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.vendor-request-option:hover,
.vendor-request-option:has(input:checked) {
    border-color: rgba(31, 138, 155, 0.5);
    background: rgba(223, 244, 243, 0.38);
    box-shadow: 0 10px 24px rgba(11, 47, 74, 0.08);
}

.vendor-request-option input {
    flex: 0 0 auto;
    width: auto;
    margin-top: 0.18rem;
    accent-color: var(--teal-dark);
}

.vendor-request-option span {
    color: var(--ink);
    display: inline;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.other-services-field textarea {
    min-height: 92px;
}

.other-services-field .field-hint {
    margin-bottom: 0;
}

.vendor-thanks-section {
    min-height: 70vh;
    display: grid;
    align-items: center;
}

.vendor-thanks-panel {
    display: grid;
    gap: 1rem;
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(223, 244, 243, 0.72), rgba(255, 255, 255, 0.95));
    box-shadow: var(--shadow-soft);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.vendor-thanks-panel h1 {
    margin-bottom: 0;
}

.thanks-lead {
    color: var(--navy);
    font-size: 1.12rem;
    font-weight: 800;
    margin: 0;
}

.thanks-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0.25rem 0;
}

.thanks-summary div {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 0.8rem;
}

.thanks-summary dt {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.thanks-summary dd {
    color: var(--navy);
    font-weight: 900;
    margin: 0.2rem 0 0;
}

.form-note {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
}

.seo-copy {
    max-width: 920px;
}

.services-seo-copy {
    max-width: var(--container);
}

.seo-copy p {
    color: var(--muted);
}

.seo-copy.compact-copy {
    border-top: 1px solid var(--line);
    margin-top: 1.4rem;
    padding-top: 1.4rem;
}

.field-hint {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 400;
    margin-top: 0.35rem;
}

.recaptcha-field {
    display: grid;
    justify-items: start;
    margin: 1rem 0 0;
    min-width: 0;
    min-height: 105px;
    overflow: hidden;
    width: 100%;
}

.recaptcha-status {
    min-height: 1.35em;
    margin: 0.4rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.recaptcha-field.is-complete .recaptcha-status {
    color: #16734d;
}

.recaptcha-field.has-error .recaptcha-status {
    color: #b34336;
}

.btn.is-submitting,
button.is-submitting,
input[type="submit"].is-submitting {
    cursor: wait;
    opacity: 0.78;
}

button.is-submitting::before,
.btn.is-submitting::before {
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    margin-right: 0.55em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    content: "";
    vertical-align: -0.1em;
    animation: submit-button-spin 0.7s linear infinite;
}

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

.quick-choice-panel {
    display: grid;
    gap: 0.55rem;
    border: 1px solid rgba(11, 47, 74, 0.1);
    border-radius: var(--radius);
    background: rgba(223, 244, 243, 0.32);
    padding: 0.9rem;
}

.quick-choice-panel > span {
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 900;
}

.quick-choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.quick-choice-btn {
    width: auto;
    min-height: 36px;
    border: 1px solid rgba(11, 47, 74, 0.14);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 800;
    padding: 0.35rem 0.7rem;
}

.quick-choice-btn:hover,
.quick-choice-btn.active {
    border-color: rgba(31, 138, 155, 0.42);
    background: var(--aqua);
    color: var(--teal-dark);
}

.two-col,
.three-col {
    display: grid;
    gap: 1rem;
}

.two-col {
    grid-template-columns: repeat(2, 1fr);
}

.three-col {
    grid-template-columns: 1.3fr 0.5fr 0.8fr;
}

.notice {
    border-radius: var(--radius);
    margin-bottom: 1rem;
    padding: 1rem;
}

.notice.success {
    background: var(--aqua);
    border: 1px solid rgba(31, 138, 155, 0.25);
}

.notice.info {
    background: rgba(11, 47, 74, 0.05);
    border: 1px solid rgba(11, 47, 74, 0.12);
}

.notice.error {
    background: #fff1ed;
    border: 1px solid rgba(169, 63, 52, 0.24);
}

.compact-pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.checkout-form-container {
    max-width: 1040px;
}

.payment-method-card {
    align-content: center;
    justify-items: center;
    grid-template-rows: auto;
    min-height: 122px;
    padding: 1.35rem;
}

.payment-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    min-height: 52px;
    width: 100%;
}

.payment-logo {
    display: block;
    width: auto;
    max-width: min(230px, 92%);
    height: 52px;
    object-fit: contain;
}

.payment-logo-stripe {
    height: 50px;
}

.payment-logo-paypal {
    height: 52px;
}

.checkout-summary-list {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    margin: 0 0 1.25rem;
    overflow: hidden;
}

.checkout-summary-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
}

.checkout-summary-list div:last-child {
    border-bottom: 0;
}

.checkout-summary-list .checkout-total {
    background: #eef7f8;
    color: var(--navy);
    font-weight: 900;
}

.checkout-success-card {
    display: grid;
    gap: 1rem;
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.1rem, 2.5vw, 1.65rem);
}

.checkout-business-callout {
    border: 1px solid rgba(31, 138, 155, 0.26);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(223, 244, 243, 0.92), rgba(255, 250, 243, 0.96));
    padding: clamp(1rem, 2.5vw, 1.35rem);
}

.checkout-business-callout span,
.checkout-success-summary span {
    display: block;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.checkout-business-callout strong {
    display: block;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4.4vw, 3.35rem);
    line-height: 1;
    margin-top: 0.35rem;
    overflow-wrap: anywhere;
}

.checkout-business-callout p {
    color: var(--muted);
    font-weight: 800;
    margin: 0.65rem 0 0;
}

.checkout-success-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.checkout-success-summary div {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 0.9rem;
}

.checkout-success-summary strong {
    display: block;
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.25;
    margin-top: 0.25rem;
    overflow-wrap: anywhere;
}

.checkout-success-summary p {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
    margin: 0.35rem 0 0;
}

.checkout-next-panel {
    border: 1px solid rgba(201, 139, 107, 0.28);
    border-radius: var(--radius);
    background: rgba(255, 250, 243, 0.86);
    padding: clamp(1rem, 2.4vw, 1.35rem);
}

.checkout-next-panel h2 {
    margin-bottom: 0.55rem;
}

.checkout-next-panel p:not(.eyebrow) {
    color: var(--ink);
    margin: 0.55rem 0 0;
}

.checkout-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.1rem;
}

.claim-verification-card {
    max-width: 760px;
}

.claim-verification-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.claim-verification-summary div {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 0.75rem;
}

.claim-verification-summary span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.claim-verification-summary strong {
    display: block;
    color: var(--navy);
    overflow-wrap: anywhere;
}

.claim-verification-instructions {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(11, 47, 74, 0.04);
    margin: 1rem 0;
    padding: 1rem;
}

.claim-verification-instructions h2 {
    font-size: 1.35rem;
}

.claim-verification-instructions pre {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    margin: 0.5rem 0 0;
    overflow-x: auto;
    padding: 0.75rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.policy-layout {
    align-items: start;
}

.policy-content {
    display: grid;
    gap: 1.05rem;
}

.policy-content h2 {
    margin: 1rem 0 0;
}

.policy-content p {
    margin: 0;
}

.policy-updated {
    color: var(--muted);
    font-size: 0.92rem;
}

.policy-sidebar a {
    display: inline-block;
}

.launch-gate-page {
    background:
        linear-gradient(135deg, rgba(255, 250, 243, 0.9), rgba(223, 244, 243, 0.82)),
        url("../img/hero-beach-aerial.webp") center / cover fixed;
}

.launch-gate-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 3rem 0;
}

.launch-gate-wrap {
    display: flex;
    justify-content: center;
}

.launch-gate-panel {
    width: min(100%, 680px);
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.launch-gate-brand {
    display: inline-flex;
    margin-bottom: 1.25rem;
}

.launch-gate-panel h1 {
    margin-bottom: 0.8rem;
    overflow-wrap: anywhere;
}

.launch-gate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.25rem 0 0.75rem;
}

@media (max-width: 1120px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 78px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 0.8rem;
    }
}

input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
    opacity: 0.68;
}

.empty-state {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
}

.empty-state-split {
    padding: 0;
    overflow: hidden;
    text-align: left;
}

.empty-state-header {
    background: linear-gradient(135deg, rgba(255, 250, 243, 0.96), rgba(223, 244, 243, 0.52));
    border-bottom: 1px solid var(--line);
    padding: 1.35rem 1.5rem;
    text-align: center;
}

.empty-state-header h3 {
    margin-bottom: 0;
}

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

.empty-path {
    display: grid;
    align-content: start;
    gap: 0.7rem;
    min-height: 238px;
    padding: 1.6rem;
}

.empty-path + .empty-path {
    border-left: 1px solid var(--line);
}

.empty-path h4 {
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    line-height: 1.12;
    margin: 0;
}

.empty-path p:not(.eyebrow) {
    color: var(--muted);
    margin: 0;
}

.empty-path .btn {
    justify-self: start;
    margin-top: 0.35rem;
}

.vendor-path {
    background: rgba(223, 244, 243, 0.22);
}

.area-cloud {
    margin-top: 2rem;
}

.simple-list {
    padding-left: 1.2rem;
}

.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.78);
    padding: 3rem 0 1.25rem;
}

.site-footer h2,
.site-footer .brand-script,
.site-footer .brand-subtitle {
    color: var(--white);
}

.site-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 0.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(0, 0.75fr));
    gap: 2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 2rem;
    padding-top: 1rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom p + p {
    margin-top: 0.65rem;
}

.footer-owner-contact {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
}

.site-footer .footer-owner-contact a {
    display: inline;
    margin-bottom: 0;
    color: var(--aqua);
    font-weight: 800;
}

.site-footer .footer-owner-contact a:hover,
.site-footer .footer-owner-contact a:focus-visible {
    color: var(--white);
}

.admin-shell {
    padding: 3.5rem 0;
}

.metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-bottom: 1.5rem;
}

.metric-grid div {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow-soft);
}

.metric-grid span {
    display: block;
    color: var(--teal-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.metric-grid p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-weight: 800;
}

.billing-metric-grid p {
    margin: 0 0 0.55rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: start;
}

.admin-grid.wide-left {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
}

.admin-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.admin-filter-tabs a {
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
    padding: 0.45rem 0.75rem;
    text-decoration: none;
}

.admin-filter-tabs a.active,
.admin-filter-tabs a:hover,
.admin-filter-tabs a:focus-visible {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: var(--white);
}

.billing-summary-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 0 1rem;
}

.billing-summary-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
    padding: 0.35rem 0.65rem;
}

.billing-summary-strip strong {
    color: var(--navy);
    font-size: 1rem;
}

.admin-card {
    padding: 1.25rem;
}

.admin-card-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.launch-status-card {
    margin-top: 1rem;
}

.mini-list {
    display: grid;
    gap: 1rem;
}

.mini-list article {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

.mini-list article:first-child {
    border-top: 0;
    padding-top: 0;
}

.mini-list span,
.table-sub {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
}

.table-wrap {
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.billing-table th,
.billing-table td {
    vertical-align: top;
}

.billing-id,
.billing-provider-label,
.billing-amount,
.billing-linked-name {
    color: var(--navy);
    font-weight: 900;
}

.billing-amount {
    white-space: nowrap;
}

.billing-linked-cell {
    min-width: 220px;
}

.billing-linked-name {
    display: inline-block;
    color: var(--teal-dark);
    line-height: 1.25;
}

.billing-linked-name-muted {
    color: var(--muted);
}

.billing-plan-list {
    display: inline-block;
    max-width: 360px;
    line-height: 1.35;
}

.email-debug-preview {
    display: grid;
    gap: 1rem;
}

.email-preview-frame {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f6f9fa;
    padding: 1rem;
}

.email-template {
    max-width: 760px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid rgba(11, 47, 74, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    color: var(--ink);
    overflow: hidden;
}

.email-template-header {
    background: linear-gradient(135deg, var(--navy), var(--teal-dark));
    color: var(--white);
    padding: 1.4rem;
}

.email-template-header h1,
.email-template-header p,
.email-template-header .eyebrow {
    color: var(--white);
}

.email-template-header p:last-child,
.email-template-panel p:last-child {
    margin-bottom: 0;
}

.email-template-panel {
    display: grid;
    gap: 0.85rem;
    padding: 1.4rem;
    border-top: 1px solid var(--line);
}

.email-template-panel h2 {
    margin-bottom: 0;
}

.email-template-pitch {
    background: rgba(223, 244, 243, 0.28);
}

.email-detail-list {
    display: grid;
    gap: 0.65rem;
    margin: 0;
}

.email-detail-list div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 0.75rem;
    border-top: 1px solid rgba(11, 47, 74, 0.08);
    padding-top: 0.65rem;
}

.email-detail-list div:first-child {
    border-top: 0;
    padding-top: 0;
}

.email-detail-list dt {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.email-detail-list dd {
    margin: 0;
}

.email-debug-list .active {
    border-left: 4px solid var(--teal);
    padding-left: 0.85rem;
}

.plain-email {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

.verification-review-panel {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
    padding-top: 1rem;
}

.verification-review-panel h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.verification-review-panel p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
}

.verification-signal-list {
    display: grid;
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.verification-signal {
    border: 1px solid var(--line);
    border-left-width: 4px;
    border-radius: 8px;
    display: grid;
    gap: 0.2rem;
    padding: 0.7rem 0.8rem;
}

.verification-signal strong {
    color: var(--navy);
    font-size: 0.9rem;
}

.verification-signal span {
    color: var(--muted);
    font-size: 0.88rem;
}

.verification-signal-match {
    border-left-color: var(--teal);
    background: rgba(223, 244, 243, 0.55);
}

.verification-signal-warning {
    border-left-color: #a94b34;
    background: #fff6f2;
}

.verification-signal-neutral {
    border-left-color: #a4b5bf;
    background: rgba(246, 249, 250, 0.75);
}

.plain-email summary {
    color: var(--navy);
    cursor: pointer;
    font-weight: 900;
}

.plain-email pre {
    white-space: pre-wrap;
    word-break: break-word;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f6f9fa;
    color: var(--ink);
    padding: 1rem;
}

.actions-col {
    width: 210px;
}

.inline-form {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.15rem;
}

.inline-admin-form {
    display: flex;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.admin-form {
    max-width: 980px;
}

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

.admin-check-grid fieldset {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid;
    gap: 0.4rem;
    margin: 0;
    padding: 1rem;
}

.admin-check-grid legend {
    color: var(--navy);
    font-weight: 900;
}

.checkbox-row label,
.check-inline,
.admin-check-grid label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--ink);
    font-weight: 700;
}

.checkbox-row input,
.check-inline input,
.admin-check-grid input {
    width: auto;
}

.auth-wrap {
    display: grid;
    min-height: 58vh;
    place-items: center;
}

.auth-card {
    width: min(440px, 100%);
}

.login-page {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(255, 250, 243, 0.94), rgba(223, 244, 243, 0.78)),
        url("../img/hero-beach-aerial.webp") center / cover fixed no-repeat;
}

.login-page .site-header {
    position: static;
    background: rgba(255, 250, 243, 0.9);
}

.login-section {
    padding: 5rem 0;
}

.login-section .auth-wrap {
    min-height: calc(100vh - 78px - 10rem);
}

.login-card {
    gap: 0.95rem;
    padding: 1.6rem;
}

.login-card h1 {
    font-size: 2.45rem;
    margin-bottom: 0;
}

.login-intro {
    color: var(--muted);
    margin: -0.35rem 0 0.2rem;
}

.password-requirements {
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: var(--radius);
    background: rgba(246, 249, 250, 0.82);
    padding: 0.85rem;
}

.password-requirements p {
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 900;
    margin: 0 0 0.45rem;
    text-transform: uppercase;
}

.password-requirements ul {
    display: grid;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.password-rule {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.password-rule-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    text-transform: lowercase;
}

.password-rule.is-invalid .password-rule-icon {
    background: #a93f34;
}

.password-rule.is-valid {
    color: #24693f;
}

.password-rule.is-valid .password-rule-icon {
    background: #2a7d4e;
}

.auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.auth-actions .btn {
    min-width: 132px;
}

.auth-forgot {
    color: var(--teal-dark);
    font-size: 0.9rem;
    font-weight: 900;
}

.admin-list {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.admin-list > *,
.lead-card,
.lead-card .admin-card-head > * {
    min-width: 0;
}

.lead-card {
    box-shadow: var(--shadow-soft);
    scroll-margin-top: 92px;
    overflow-wrap: anywhere;
}

.claim-card-action-required {
    border: 2px solid var(--gold-dark);
    background: linear-gradient(135deg, rgba(255, 241, 204, 0.42), var(--white) 42%);
    box-shadow: 0 16px 36px rgba(173, 122, 32, 0.18);
}

.claim-card-statuses {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.claim-action-badge,
.claim-review-summary.has-items {
    border-color: var(--gold-dark);
    background: linear-gradient(135deg, #f0bf57, var(--gold));
    color: var(--navy);
}

.claim-review-summary {
    display: grid;
    justify-items: center;
    min-width: 150px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 0.8rem 1rem;
    text-align: center;
}

.claim-review-summary strong {
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    line-height: 1;
}

.claim-review-summary span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 900;
}

.claim-review-summary.has-items span {
    color: var(--navy);
}

.claim-review-decision {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 -1.25rem 1.15rem;
    border-top: 1px solid rgba(173, 122, 32, 0.45);
    border-bottom: 1px solid rgba(173, 122, 32, 0.45);
    background: var(--gold-soft);
    padding: 1rem 1.25rem;
}

.claim-review-decision h3,
.claim-review-decision p {
    margin-bottom: 0;
}

.claim-review-decision h3 {
    font-size: 1.35rem;
}

.claim-review-decision .eyebrow {
    margin-bottom: 0.2rem;
}

.claim-review-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.lead-meta {
    margin-bottom: 1rem;
}

.lead-meta span {
    color: var(--muted);
    font-size: 0.92rem;
}

.lead-routing-panel,
.lead-routing-empty {
    margin: 1rem 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f7fbfc;
}

.lead-routing-empty {
    color: var(--muted);
    padding: 0.9rem 1rem;
}

.lead-routing-head {
    padding: 1rem 1.1rem;
}

.lead-routing-head h3,
.lead-routing-head .eyebrow {
    margin-bottom: 0;
}

.lead-offer-list {
    border-top: 1px solid var(--line);
}

.lead-offer-row {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 1rem;
    padding: 1rem 1.1rem;
}

.lead-offer-row + .lead-offer-row {
    border-top: 1px solid var(--line);
}

.lead-offer-row > div {
    display: grid;
    align-content: start;
    gap: 0.25rem;
}

.lead-offer-row span {
    color: var(--muted);
    font-size: 0.83rem;
}

.lead-offer-activity {
    justify-items: start;
}

.lead-offer-activity .lead-offer-status {
    color: var(--navy);
}

.lead-offer-status.status-unlocked {
    border-color: #72b99e;
    background: #e9f7f0;
    color: #17664f;
}

.lead-offer-status.status-expired {
    border-color: #d9a8a0;
    background: #fff0ed;
    color: #8f3027;
}

.lead-access-shell {
    display: grid;
    gap: 1rem;
}

.lead-access-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.lead-access-card-head,
.lead-customer-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.lead-access-card-head {
    padding: 1.5rem;
}

.lead-access-card-head h2,
.lead-customer-panel-head h2,
.lead-reveal-panel h2 {
    margin-bottom: 0;
}

.lead-access-badge {
    flex: 0 0 auto;
    border: 1px solid var(--teal);
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.45rem 0.7rem;
}

.lead-access-badge.complimentary {
    border-color: var(--gold-dark);
    background: var(--gold-soft);
    color: var(--navy);
}

.lead-access-badge.success {
    border-color: #72b99e;
    background: #e9f7f0;
    color: #17664f;
}

.lead-access-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.lead-access-details.preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.lead-access-details > div {
    min-width: 0;
    padding: 1rem 1.5rem;
}

.lead-access-details > div + div {
    border-left: 1px solid var(--line);
}

.lead-access-details dt {
    margin-bottom: 0.3rem;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.lead-access-details dd {
    overflow-wrap: anywhere;
    margin: 0;
    color: var(--navy);
    font-weight: 800;
}

.lead-customer-panel,
.lead-reveal-panel {
    padding: 1.5rem;
}

.lead-customer-panel {
    background: #f7fcfa;
}

.lead-customer-panel .lead-access-details {
    margin: 1rem -1.5rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.lead-customer-panel .lead-message-detail {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
}

.lead-reveal-panel {
    background: var(--teal-soft);
}

.lead-reveal-panel.claim-required {
    border-top: 1px solid var(--gold-dark);
    background: var(--gold-soft);
}

.lead-reveal-panel form {
    margin: 1rem 0 0.75rem;
}

.lead-reveal-panel .small,
.lead-access-note {
    margin: 0.85rem 0 0;
    color: var(--muted);
}

@media (max-width: 700px) {
    .lead-offer-row {
        grid-template-columns: 1fr;
    }

    .lead-access-card-head,
    .lead-customer-panel-head {
        align-items: stretch;
        flex-direction: column;
    }

    .lead-access-badge {
        align-self: flex-start;
    }

    .lead-access-details,
    .lead-access-details.preview {
        grid-template-columns: 1fr;
    }

    .lead-access-details > div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }
}

.vendor-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1rem;
    align-items: start;
}

.vendor-profile-main {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.vendor-profile-sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 96px;
}

.vendor-editor-toolbar {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 250, 243, 0.96);
    padding: 1.4rem 0;
}

.vendor-editor-toolbar-inner,
.inline-editor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.vendor-editor-toolbar h1,
.inline-editor-head h2 {
    margin-bottom: 0.25rem;
}

.vendor-editor-toolbar p,
.inline-editor-head p {
    margin-bottom: 0;
}

.editor-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.editor-toolbar-panel {
    display: grid;
    justify-items: end;
    gap: 0.75rem;
    min-width: min(100%, 420px);
}

.editor-health-card {
    display: grid;
    gap: 0.25rem;
    width: min(100%, 360px);
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
    padding: 0.75rem;
}

.editor-health-card span,
.selection-count {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.editor-health-card strong {
    color: var(--navy);
}

.editor-health-meter {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(11, 47, 74, 0.1);
}

.editor-health-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--teal);
}

.vendor-editor-notices {
    display: grid;
    gap: 0.75rem;
    padding: 1rem 0;
}

.photo-save-status {
    margin-bottom: 0;
}

.photo-upload-status {
    margin: 0;
}

.vendor-editor-hero,
.vendor-editor-section {
    position: relative;
}

.editor-floating-button,
.editor-inline-button,
.editor-card-button,
.editor-close-button,
.clear-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border: 1px solid rgba(11, 47, 74, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
    padding: 0.52rem 0.75rem;
    box-shadow: var(--shadow-soft);
}

.editor-floating-button[hidden],
.editor-inline-button[hidden],
.editor-card-button[hidden],
.editor-close-button[hidden],
.clear-hero-button[hidden] {
    display: none;
}

.editor-floating-button:disabled,
.editor-inline-button:disabled,
.editor-card-button:disabled,
.editor-close-button:disabled,
.clear-hero-button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.editor-floating-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
}

.vendor-editor-hero.is-editing-hero > .container,
.vendor-editor-hero.is-editing-hero .hero-edit-button {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.hero-edit-modal {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.hero-edit-modal[hidden] {
    display: none;
}

.hero-edit-card {
    width: min(100%, 520px);
    border: 1px solid rgba(11, 47, 74, 0.14);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 70px rgba(5, 22, 34, 0.28);
}

.hero-edit-card .hero-crop-controls {
    grid-template-columns: 1fr;
}

.hero-edit-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.hero-edit-actions .btn {
    margin-left: auto;
}

.clear-hero-button {
    border-color: rgba(163, 63, 52, 0.22);
    color: #a33f34;
}

.clear-hero-button:not(:disabled):hover {
    background: #fff1ed;
}

.hero-change-photo-link {
    border: 0;
    background: transparent;
    color: var(--teal-dark);
    cursor: pointer;
    font-weight: 900;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.editor-inline-button {
    margin-bottom: 0.85rem;
}

.editor-card-button {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
}

.editable-card-stack {
    display: grid;
    align-content: start;
    gap: 0.65rem;
}

.card-top-edit-button {
    position: static;
    justify-self: start;
    margin: 0;
}

.editable-card {
    position: relative;
}

.inline-editor-panel {
    border-block: 1px solid rgba(11, 47, 74, 0.1);
    background: rgba(223, 244, 243, 0.22);
    padding: 2rem 0;
}

.inline-editor-panel[hidden] {
    display: none;
}

.inline-editor-panel .card-form + .card-form {
    margin-top: 1rem;
}

.media-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 1rem;
    align-items: start;
}

.media-panel-head,
.photo-library-head,
.side-card-head,
.form-save-bar {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.media-panel-head h2,
.photo-library-head h3,
.media-hero-copy h3,
.side-card-head h2 {
    margin-bottom: 0.25rem;
}

.media-panel-head h2 {
    font-size: 1.75rem;
}

.photo-library-head h3,
.media-hero-copy h3 {
    font-size: 1.35rem;
}

.side-card-head h2 {
    font-size: 1.35rem;
}

.media-panel-head p,
.photo-library-head p,
.media-hero-copy p,
.side-card-head p {
    margin-bottom: 0;
}

.media-library-panel,
.upload-dock-panel,
.professional-profile-form {
    display: grid;
    gap: 1rem;
}

.upload-dock-panel {
    position: sticky;
    top: 96px;
}

.media-hero-summary {
    display: grid;
    grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255, 250, 243, 0.96), rgba(223, 244, 243, 0.34));
    padding: 0.85rem;
}

.media-hero-frame {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    border-radius: var(--radius);
    background: rgba(11, 47, 74, 0.08);
}

.media-hero-frame img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.media-hero-placeholder {
    display: grid;
    height: 100%;
    min-height: 180px;
    place-items: center;
    color: var(--muted);
    font-weight: 900;
}

.media-hero-copy {
    display: grid;
    align-content: center;
    gap: 0.75rem;
    min-width: 0;
}

.media-hero-actions,
.upload-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
}

.photo-library-head {
    align-items: end;
    border-top: 1px solid rgba(11, 47, 74, 0.1);
    padding-top: 0.25rem;
}

.photo-library-empty {
    border: 1px dashed rgba(31, 138, 155, 0.38);
    border-radius: var(--radius);
    background: rgba(223, 244, 243, 0.18);
    color: var(--muted);
    padding: 1.2rem;
    text-align: center;
}

.photo-library-empty[hidden],
.gallery-manager-grid[hidden],
.photo-settings-bar[hidden] {
    display: none;
}

.compact-empty {
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    max-width: 520px;
    margin: 0 auto;
    padding: 1.2rem;
}

.compact-empty p {
    margin-bottom: 0;
}

.gallery-empty-add-button {
    min-width: 150px;
    background: var(--teal);
    color: var(--white);
}

.gallery-empty-add-button:hover,
.gallery-empty-add-button:focus-visible {
    color: var(--white);
    background: var(--teal-dark);
}

.compact-readiness {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.vendor-form-section {
    display: grid;
    gap: 1rem;
    border-top: 1px solid rgba(11, 47, 74, 0.1);
    padding-top: 1.15rem;
}

.vendor-form-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.profile-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 1rem;
    align-items: start;
}

.profile-editor-main,
.profile-editor-aside {
    display: grid;
    gap: 1rem;
}

.profile-editor-aside {
    position: sticky;
    top: 96px;
}

.editor-section-card,
.editor-side-card {
    display: grid;
    gap: 1rem;
    border: 1px solid rgba(11, 47, 74, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    padding: 1rem;
}

.editor-side-card {
    align-content: start;
}

.selection-panel-grid {
    display: grid;
    gap: 1rem;
}

.check-chip-set {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    border: 1px solid rgba(11, 47, 74, 0.1);
    border-radius: var(--radius);
    padding: 1rem;
}

.check-chip-set legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--navy);
    font-weight: 900;
}

.check-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.check-chip input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.check-chip span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    border: 1px solid rgba(11, 47, 74, 0.14);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 900;
    padding: 0.38rem 0.7rem;
}

.check-chip input:checked + span {
    border-color: rgba(31, 138, 155, 0.45);
    background: var(--aqua);
    color: var(--teal-dark);
}

.compact-location-row {
    grid-template-columns: 1fr 0.55fr 0.75fr;
}

.form-save-bar {
    align-items: center;
    border-top: 1px solid rgba(11, 47, 74, 0.1);
    color: var(--muted);
    font-weight: 800;
    padding-top: 1rem;
}

.professional-profile-form {
    max-width: none;
}

.form-section-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.form-section-head h2,
.vendor-profile-sidebar h2,
.vendor-portal-card h2 {
    font-size: 1.45rem;
    margin-bottom: 0.35rem;
}

.form-section-head p {
    color: var(--muted);
    margin: 0;
}

.character-count {
    display: inline-flex;
    width: max-content;
    border-radius: 999px;
    background: rgba(11, 47, 74, 0.06);
    padding: 0.18rem 0.55rem;
}

.character-count.is-near-limit {
    background: rgba(201, 139, 107, 0.18);
    color: var(--coral-dark);
}

.character-count.is-over-limit {
    background: #fff1ed;
    color: #a33f34;
}

.upload-panel {
    display: grid;
    gap: 0.45rem;
    border: 1px dashed rgba(31, 138, 155, 0.42);
    border-radius: var(--radius);
    background: rgba(223, 244, 243, 0.2);
    padding: 1rem;
}

.upload-panel input {
    border: 0;
    background: transparent;
    padding: 0;
}

.modern-upload-panel {
    min-height: 156px;
    place-items: center;
    text-align: center;
    cursor: pointer;
    transition: border-color 140ms ease, background 140ms ease;
}

.modern-upload-panel:hover,
.modern-upload-panel:focus-within,
.modern-upload-panel.is-drag-over {
    border-color: rgba(31, 138, 155, 0.72);
    background: rgba(223, 244, 243, 0.36);
}

.modern-upload-panel > span {
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 900;
}

.modern-upload-panel strong {
    color: var(--muted);
    font-size: 0.9rem;
}

.modern-upload-panel input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.modern-upload-panel::after {
    content: "Choose photos";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid var(--teal);
    border-radius: var(--radius);
    background: var(--teal);
    color: var(--white);
    font-size: 0.86rem;
    font-weight: 900;
    padding: 0.45rem 0.85rem;
    box-shadow: 0 8px 18px rgba(31, 138, 155, 0.18);
}

.photo-upload-form .btn:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.photo-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    min-height: 42px;
    border-radius: 999px;
    background: var(--aqua);
    color: var(--teal-dark);
    font-size: 0.82rem;
    font-weight: 900;
    padding: 0.45rem 0.8rem;
    white-space: nowrap;
}

.upload-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 0.8rem;
}

.upload-preview-grid[hidden] {
    display: none;
}

.upload-preview-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(11, 47, 74, 0.1);
    border-radius: var(--radius);
    background: var(--white);
}

.upload-preview-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: rgba(11, 47, 74, 0.06);
}

.upload-preview-card span {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.55rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-preview-card small {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0 0.55rem 0.55rem;
}

.danger-check {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 800;
}

.danger-check {
    color: #a33f34;
}

.gallery-manager-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.9rem;
}

.gallery-manager-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

.gallery-manager-card.is-hero {
    grid-column: 1 / -1;
    border-color: rgba(31, 138, 155, 0.72);
    box-shadow: 0 0 0 3px rgba(31, 138, 155, 0.14), var(--shadow-soft);
}

.gallery-manager-card.is-marked-remove {
    border-color: rgba(163, 63, 52, 0.38);
    opacity: 0.72;
}

.gallery-image-select {
    cursor: pointer;
}

.gallery-image-frame {
    position: relative;
    display: block;
    overflow: hidden;
    background: rgba(11, 47, 74, 0.06);
}

.gallery-manager-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: rgba(11, 47, 74, 0.06);
}

.gallery-manager-card.is-hero img {
    aspect-ratio: 16 / 7;
}

.hero-choice-label {
    position: absolute;
    right: 0.7rem;
    bottom: 0.7rem;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.28rem 0.65rem;
    box-shadow: var(--shadow-soft);
}

.gallery-manager-card.is-hero .hero-choice-label {
    background: var(--teal);
    color: var(--white);
}

.gallery-card-body {
    display: grid;
    gap: 0.75rem;
    padding: 0.85rem;
}

.caption-field textarea {
    min-height: 78px;
    resize: vertical;
}

.gallery-card-kicker {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    border-radius: 999px;
    background: var(--aqua);
    color: var(--teal-dark);
    font-size: 0.76rem;
    font-weight: 900;
    padding: 0.16rem 0.55rem;
}

.gallery-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.remove-photo-button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border: 1px solid rgba(11, 47, 74, 0.14);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 900;
    padding: 0.38rem 0.7rem;
}

.remove-photo-button span {
    color: #a33f34;
}

.remove-photo-button input:checked + span {
    border-color: rgba(163, 63, 52, 0.38);
    background: #fff1ed;
}

.photo-settings-bar {
    position: static;
    display: flex;
    justify-content: flex-end;
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    padding: 0.75rem;
    box-shadow: var(--shadow-soft);
}

.hero-crop-tool {
    display: grid;
    gap: 1rem;
    border: 1px solid rgba(11, 47, 74, 0.1);
    border-radius: var(--radius);
    background: rgba(223, 244, 243, 0.2);
    padding: 1rem;
}

.hero-crop-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.hero-crop-tool[hidden] {
    display: none;
}

.hero-crop-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.hero-crop-controls input {
    padding-inline: 0;
}

.readiness-list {
    display: grid;
    gap: 0.7rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.readiness-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--muted);
    font-weight: 800;
}

.readiness-list span {
    width: 0.85rem;
    height: 0.85rem;
    border: 2px solid rgba(94, 113, 128, 0.36);
    border-radius: 999px;
}

.readiness-list li.complete {
    color: var(--navy);
}

.readiness-list li.complete span {
    border-color: var(--teal-dark);
    background: var(--teal-dark);
    box-shadow: inset 0 0 0 2px var(--white);
}

.vendor-gallery-section {
    padding: 1.35rem 0 3.4rem;
    scroll-margin-top: 92px;
    transition: background 160ms ease;
}

.vendor-gallery-section.is-managing-gallery {
    background: rgba(223, 244, 243, 0.2);
}

.vendor-gallery-section.is-managing-gallery > .section-edit-button {
    display: none;
}

.photo-settings-form {
    display: none;
}

.gallery-management-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 auto 1rem;
    max-width: 980px;
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    padding: 0.95rem;
    box-shadow: var(--shadow-soft);
}

.gallery-management-toolbar[hidden] {
    display: none;
}

.gallery-management-toolbar h2 {
    margin-bottom: 0.25rem;
    font-size: 1.55rem;
}

.gallery-management-toolbar p {
    margin-bottom: 0;
}

.gallery-management-actions,
.gallery-photo-actions,
.photo-config-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.gallery-management-actions {
    flex: 0 0 auto;
    justify-content: flex-end;
}

.gallery-management-actions .editor-inline-button {
    margin-bottom: 0;
}

.gallery-status {
    max-width: 980px;
    margin: 0 auto 1rem;
}

.vendor-photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
    gap: 0.9rem;
    justify-content: center;
    margin: 0 auto;
    max-width: 980px;
}

.vendor-photo-gallery-grid figure {
    display: grid;
    gap: 0.55rem;
    align-content: start;
    margin: 0;
}

.vendor-photo-gallery-grid figure.is-gallery-hero {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 760px);
}

.vendor-photo-thumb {
    display: block;
    width: 100%;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.vendor-photo-gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.vendor-photo-gallery-grid figure.is-gallery-hero img {
    aspect-ratio: 16 / 7;
}

.gallery-photo-actions {
    display: none;
    justify-content: center;
}

.vendor-gallery-section.is-managing-gallery .gallery-photo-actions {
    display: flex;
}

.gallery-configure-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 150px);
    min-height: 34px;
    border: 1px solid rgba(11, 47, 74, 0.16);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.35rem 0.7rem;
    box-shadow: var(--shadow-soft);
}

.gallery-configure-button:hover,
.gallery-configure-button:focus-visible {
    border-color: rgba(31, 138, 155, 0.42);
    color: var(--teal-dark);
}

.editor-modal-open,
.photo-lightbox-open {
    overflow: hidden;
}

.editor-media-modal {
    position: fixed;
    inset: 0;
    z-index: 980;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.editor-media-modal[hidden] {
    display: none;
}

.editor-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(5, 22, 34, 0.58);
    cursor: pointer;
}

.editor-modal-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    width: min(100%, 760px);
    max-height: min(88vh, 760px);
    overflow: auto;
    border: 1px solid rgba(11, 47, 74, 0.12);
    border-radius: var(--radius);
    background: var(--warm-white);
    padding: 1rem;
    box-shadow: 0 24px 70px rgba(5, 22, 34, 0.32);
}

.photo-upload-dialog {
    width: min(100%, 640px);
}

.editor-modal-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.editor-modal-head h2 {
    margin-bottom: 0.25rem;
    font-size: 1.85rem;
}

.editor-modal-head p {
    margin-bottom: 0;
}

.photo-config-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.photo-config-preview {
    overflow: hidden;
    border-radius: var(--radius);
    background: rgba(11, 47, 74, 0.06);
}

.photo-config-preview img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.photo-config-fields {
    display: grid;
    gap: 0.85rem;
}

.photo-config-fields textarea {
    min-height: 128px;
}

.photo-config-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 900;
}

.photo-config-meta span:first-child {
    border-radius: 999px;
    background: var(--aqua);
    color: var(--teal-dark);
    padding: 0.18rem 0.55rem;
}

.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.photo-lightbox[hidden] {
    display: none;
}

.photo-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(5, 22, 34, 0.78);
    cursor: pointer;
}

.photo-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 980px);
    max-height: min(88vh, 820px);
    display: grid;
    gap: 0.85rem;
}

.photo-lightbox-dialog img {
    width: 100%;
    max-height: calc(88vh - 92px);
    object-fit: contain;
    border-radius: var(--radius);
    background: var(--ink);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.photo-lightbox-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
    cursor: pointer;
    font-weight: 900;
}

.photo-lightbox-dialog p {
    width: max-content;
    max-width: min(100%, 760px);
    justify-self: center;
    margin: 0;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    font-weight: 800;
    padding: 0.7rem 0.9rem;
    text-align: center;
}

.vendor-portal-shell .section-heading {
    align-items: center;
}

.vendor-portal-card {
    display: grid;
    gap: 1rem;
}

.vendor-business-switcher {
    margin-bottom: 1.5rem;
}

.vendor-business-list {
    display: grid;
    gap: 0.75rem;
}

.vendor-business-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(11, 47, 74, 0.1);
    border-radius: var(--radius);
    background: var(--white);
    padding: 0.9rem 1rem;
}

.vendor-business-list article.active {
    border-color: var(--teal);
    background: rgba(223, 244, 243, 0.34);
}

.vendor-business-list strong,
.vendor-business-list span {
    display: block;
}

.vendor-business-list span {
    color: var(--muted);
    font-size: 0.9rem;
}

.vendor-business-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.vendor-detail-list {
    display: grid;
    gap: 0.8rem;
    margin: 0;
}

.vendor-detail-list div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 0.8rem;
    border-top: 1px solid rgba(11, 47, 74, 0.08);
    padding-top: 0.8rem;
}

.vendor-detail-list div:first-child {
    border-top: 0;
    padding-top: 0;
}

.vendor-detail-list dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.vendor-detail-list dd {
    margin: 0;
    min-width: 0;
    word-break: break-word;
}

.vendor-detail-list.compact div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
}

.vendor-access-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.vendor-access-grid div {
    display: grid;
    align-content: start;
    gap: 0.25rem;
    min-height: 112px;
    border: 1px solid rgba(11, 47, 74, 0.1);
    border-radius: var(--radius);
    background: rgba(223, 244, 243, 0.22);
    padding: 1rem;
}

.vendor-access-grid strong {
    color: var(--navy);
}

.vendor-access-grid span {
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    h1 {
        font-size: 3.45rem;
    }

    h2 {
        font-size: 2.15rem;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 78px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 0.8rem;
    }

    .hero-grid,
    .split,
    .content-grid,
    .form-layout,
    .vendor-detail-grid,
    .admin-grid,
    .admin-grid.wide-left,
    .vendor-profile-layout,
    .media-workspace,
    .profile-editor-grid,
    .media-hero-summary,
    .gallery-management-toolbar,
    .photo-config-grid {
        grid-template-columns: 1fr;
    }

    .gallery-management-toolbar,
    .editor-modal-head {
        display: grid;
    }

    .editor-modal-head {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .editor-modal-head .editor-close-button {
        justify-self: end;
        width: auto;
    }

    .gallery-management-actions {
        justify-content: start;
    }

    .vendor-profile-sidebar,
    .upload-dock-panel,
    .profile-editor-aside {
        position: static;
    }

    .hero-grid {
        min-height: auto;
    }

    .area-hero {
        height: 520px;
    }

    .area-hero .container {
        padding-top: 96px;
    }

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

    .vendor-results-grid.vendor-results-count-1 {
        grid-template-columns: 1fr;
    }

    .vendor-results-grid.vendor-results-count-2,
    .vendor-results-grid.vendor-results-count-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid,
    .resource-grid,
    .program-grid,
    .featured-example-grid,
    .metric-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid > div {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .feature-grid > div:first-child {
        border-top: 0;
    }
}

@media (max-width: 720px) {
    h1 {
        font-size: 2.55rem;
    }

    h2 {
        font-size: 1.9rem;
    }

    .container {
        width: min(100% - 24px, var(--container));
    }

    .launch-gate-panel {
        padding: 1.25rem;
    }

    .launch-gate-panel h1 {
        font-size: 2.1rem;
    }

    .service-search-notice {
        align-items: stretch;
        flex-direction: column;
    }

    .service-search-notice .btn {
        width: 100%;
    }

    .checkout-success-summary {
        grid-template-columns: 1fr;
    }

    .checkout-success-actions .btn {
        width: 100%;
    }

    .header-inner {
        min-height: 70px;
        gap: 0.5rem;
    }

    .environment-badge {
        max-width: 82px;
        padding: 0.22rem 0.35rem;
        font-size: 0.62rem;
        line-height: 1.05;
        text-align: center;
        white-space: normal;
    }

    .brand-mark {
        display: none;
    }

    .site-nav {
        top: 70px;
    }

    .hero-grid,
    .section,
    .admin-shell {
        padding: 2.8rem 0;
    }

    .page-hero:not(.area-hero):not(.vendor-detail-hero):not(.vendor-hero):not(.services-hero):not(.request-hero):not(.service-hero) {
        background:
            linear-gradient(135deg, rgba(223, 244, 243, 0.95), rgba(255, 250, 243, 0.95)),
            url("../img/hero-beach-aerial-mobile.webp") center / cover no-repeat;
    }

    .services-hero,
    .request-hero {
        background:
            linear-gradient(135deg, rgba(255, 250, 243, 0.76), rgba(223, 244, 243, 0.62)),
            url("../img/hero-beach-aerial-mobile.webp") center / cover no-repeat;
    }

    .service-hero {
        background:
            linear-gradient(135deg, rgba(255, 250, 243, 0.78), rgba(223, 244, 243, 0.64)),
            url("../img/hero-beach-aerial-mobile.webp") center / cover no-repeat;
    }

    .vendor-hero {
        background:
            linear-gradient(135deg, rgba(11, 47, 74, 0.9), rgba(31, 138, 155, 0.78)),
            url("../img/hero-beach-aerial-mobile.webp") center / cover no-repeat;
    }

    .area-hero {
        height: 560px;
        padding: 0;
        background:
            linear-gradient(90deg, rgba(11, 47, 74, 0.9) 0%, rgba(11, 47, 74, 0.68) 54%, rgba(11, 47, 74, 0.36) 100%),
            var(--area-hero-mobile-image, var(--area-hero-image, url("../img/hero-beach-aerial-mobile.webp"))) var(--area-hero-position, center center) / cover no-repeat;
    }

    .request-hero.has-area-image {
        background:
            linear-gradient(90deg, rgba(11, 47, 74, 0.9) 0%, rgba(11, 47, 74, 0.68) 54%, rgba(11, 47, 74, 0.36) 100%),
            var(--request-hero-mobile-image, var(--request-hero-image, url("../img/hero-beach-aerial-mobile.webp"))) var(--request-hero-position, center center) / cover no-repeat;
    }

    .area-hero .container {
        padding-top: 72px;
    }

    .area-hero p:not(.eyebrow) {
        font-size: 1rem;
    }

    .area-hero .hero-actions {
        gap: 0.55rem;
    }

    .area-hero .btn {
        min-height: 42px;
    }

    .area-hero .hero-photo-credit {
        font-size: 0.78rem;
    }

    .search-panel,
    .filter-bar,
    .two-col,
    .three-col,
    .logo-concept-card,
    .admin-check-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .directory-note {
        grid-template-columns: 1fr;
    }

    .directory-note.action-note,
    .pricing-grid,
    .empty-path-grid,
    .thanks-summary,
    .vendor-request-option-grid {
        grid-template-columns: 1fr;
    }

    .directory-note.action-note .btn {
        width: 100%;
    }

    .empty-path + .empty-path {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

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

    .vendor-results-grid {
        grid-template-columns: 1fr;
    }

    .vendor-results-grid.vendor-results-count-1,
    .vendor-results-grid.vendor-results-count-2,
    .vendor-results-grid.vendor-results-count-3 {
        grid-template-columns: 1fr;
    }

    .vendor-cta-inner,
    .section-heading,
    .admin-card-head,
    .form-section-head,
    .vendor-editor-toolbar-inner,
    .inline-editor-head,
    .media-panel-head,
    .photo-library-head,
    .side-card-head,
    .form-save-bar {
        align-items: start;
        flex-direction: column;
    }

    .editor-toolbar-panel {
        justify-items: stretch;
        width: 100%;
    }

    .editor-health-card,
    .editor-toolbar-actions,
    .gallery-management-actions,
    .form-save-bar .btn,
    .photo-config-actions > *,
    .photo-settings-bar .btn,
    .upload-actions .btn {
        width: 100%;
    }

    .editor-toolbar-actions {
        justify-content: stretch;
    }

    .editor-toolbar-actions .btn {
        flex: 1 1 180px;
    }

    .media-hero-actions,
    .photo-config-actions,
    .upload-actions,
    .claim-review-decision,
    .admin-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .media-hero-actions > *,
    .photo-config-actions > *,
    .upload-actions > *,
    .claim-review-actions,
    .claim-review-actions > *,
    .claim-review-actions .btn,
    .admin-actions > *,
    .admin-actions .inline-form,
    .admin-actions .btn,
    .admin-actions select {
        width: 100%;
    }

    .admin-actions .inline-form {
        flex-wrap: wrap;
        margin-inline: 0;
    }

    .vendor-photo-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    }

    .editor-media-modal {
        padding: 0.75rem;
    }

    .editor-modal-dialog {
        max-height: 92vh;
        padding: 0.85rem;
    }

    .gallery-manager-card.is-hero {
        grid-column: auto;
    }

    .gallery-manager-card.is-hero img {
        aspect-ratio: 4 / 3;
    }

    .photo-settings-bar {
        position: static;
    }

    .metric-grid,
    .program-grid,
    .resource-grid,
    .featured-example-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .email-detail-list div {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .vendor-detail-list div,
    .vendor-access-grid {
        grid-template-columns: 1fr;
    }

    .actions-col {
        min-width: 0;
        width: auto;
    }

    .table-wrap {
        overflow: visible;
    }

    .table-wrap table,
    .table-wrap thead,
    .table-wrap tbody,
    .table-wrap tr,
    .table-wrap th,
    .table-wrap td {
        display: block;
        width: 100%;
    }

    .table-wrap thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .table-wrap tbody {
        display: grid;
        gap: 0.85rem;
        padding: 0.85rem;
    }

    .table-wrap tr {
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--white);
        padding: 0.85rem;
    }

    .table-wrap td {
        display: grid;
        grid-template-columns: minmax(82px, 0.34fr) minmax(0, 1fr);
        gap: 0.75rem;
        align-items: start;
        border-bottom: 0;
        padding: 0.45rem 0;
        word-break: break-word;
    }

    .table-wrap td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 0.72rem;
        font-weight: 900;
        text-transform: uppercase;
    }

    .table-wrap td:empty {
        display: none;
    }

    .inline-form {
        margin-left: 0;
    }

    .brand-script {
        font-size: 1.15rem;
    }

    .brand-subtitle {
        font-size: 0.74rem;
    }

    .login-section {
        padding: 3rem 0;
    }

    .login-section .auth-wrap {
        min-height: calc(100vh - 70px - 6rem);
    }

    .auth-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .auth-actions .btn,
    .auth-forgot {
        width: 100%;
    }

    .auth-forgot {
        display: inline-flex;
        justify-content: center;
        min-height: 40px;
        align-items: center;
    }
}

@media (max-width: 380px) {
    .card-form {
        padding: 1rem;
    }
}

@media (max-width: 360px) {
    .recaptcha-field .g-recaptcha {
        width: 274px;
        height: 71px;
        transform: scale(0.9);
        transform-origin: top left;
    }
}

@media (max-width: 340px) {
    .recaptcha-field .g-recaptcha {
        width: 247px;
        height: 64px;
        transform: scale(0.81);
    }
}
