:root {
    --ink: #16211d;
    --ink-soft: #52605a;
    --paper: #fbfcf8;
    --surface: #ffffff;
    --tint: #eff5ef;
    --line: #dce5dc;
    --brand: #174f3f;
    --brand-dark: #103b30;
    --lime: #d7f46b;
    --orange: #f3a65a;
    --danger: #a63f3f;
    --shadow: 0 22px 55px rgba(20, 49, 39, .09);
    --radius: 18px;
    --radius-small: 11px;
    --shell: 1180px;
}

[data-bs-theme="dark"] {
    --ink: #e7eee9;
    --ink-soft: #a8b8b0;
    --paper: #0e1512;
    --surface: #16201c;
    --tint: #1b2923;
    --line: #304038;
    --brand: #63d4aa;
    --brand-dark: #103b30;
    --lime: #d7f46b;
    --orange: #ffb56d;
    --danger: #ff8e8e;
    --shadow: 0 22px 55px rgba(0, 0, 0, .3);
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
    scroll-behavior: smooth;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
}

.shell {
    width: min(var(--shell), calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 10px 16px;
    transform: translateY(-150%);
    background: var(--ink);
    color: white;
}

.skip-link:focus {
    transform: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(220, 229, 220, .9);
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    color: var(--ink);
    font-size: 18px;
    font-weight: 750;
    letter-spacing: -.025em;
    text-decoration: none;
}

.brand-mark {
    display: block;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  /*  border-radius: 10px;
    box-shadow: 0 4px 10px rgba(16, 59, 48, .14);*/
}

.primary-nav,
.account-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.primary-nav a,
.account-nav > a:not(.button) {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.primary-nav a:hover,
.account-nav > a:not(.button):hover {
    color: var(--brand);
}

.account-nav {
    justify-content: flex-end;
}

.account-nav form {
    margin: 0;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid var(--brand);
    border-radius: var(--radius-small);
    background: var(--brand);
    color: white;
    cursor: pointer;
    font-weight: 720;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.button:hover {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(243, 166, 90, .55);
    outline-offset: 3px;
}

.button:disabled {
    cursor: wait;
    opacity: .7;
    transform: none;
}

.button-small {
    min-height: 40px;
    padding-inline: 17px;
    font-size: 14px;
}

.button-full {
    width: 100%;
}

.button-secondary {
    border-color: var(--line);
    background: var(--surface);
    color: var(--brand);
}

.button-secondary:hover {
    border-color: var(--brand);
    background: var(--tint);
}

.button-light {
    border-color: var(--lime);
    background: var(--lime);
    color: var(--brand-dark);
}

.button-light:hover {
    border-color: white;
    background: var(--surface);
}

.button-quiet {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    font-size: 14px;
}

.button-quiet:hover {
    background: transparent;
    color: var(--brand);
    transform: none;
}

.hero {
    overflow: hidden;
    padding: 104px 0 96px;
    background:
        radial-gradient(circle at 85% 12%, rgba(215, 244, 107, .3), transparent 26%),
        linear-gradient(140deg, var(--tint) 0%, var(--paper) 58%, color-mix(in srgb, var(--brand) 8%, var(--paper)) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    align-items: center;
    gap: 90px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    text-wrap: pretty;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.08;
    letter-spacing: -.045em;
}

h1 {
    max-width: 800px;
    margin-bottom: 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6.2vw, 5.35rem);
    font-weight: 500;
}

h2 {
    margin-bottom: 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.5vw, 3.1rem);
    font-weight: 500;
}

h3 {
    margin-bottom: 10px;
    font-size: 21px;
}

.hero-intro {
    max-width: 650px;
    margin: 0 0 36px;
    color: var(--ink-soft);
    font-size: 20px;
}

.compact-intro {
    margin-bottom: 0;
}

.hero-search {
    display: flex;
    max-width: 700px;
    gap: 10px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
    box-shadow: 0 18px 50px rgba(23, 79, 63, .1);
}

.hero-search input {
    min-width: 0;
    flex: 1;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
}

.search-hint {
    margin: 12px 0 0 10px;
    color: #74817b;
    font-size: 13px;
}

.hero-contribution-cta {
    display: flex;
    max-width: 700px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding: 16px 18px;
    border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
    border-radius: 14px;
    background: color-mix(in srgb, var(--tint) 72%, var(--surface));
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 700;
}

.hero-contribution-cta .button {
    flex: 0 0 auto;
}

.mission-strip {
    padding: 42px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(215, 244, 107, .13), transparent 30%),
        var(--brand-dark);
    color: white;
}

.mission-strip-content {
    max-width: 920px;
}

.mission-strip .eyebrow {
    margin-bottom: 8px;
    color: var(--lime);
}

.mission-strip h2 {
    margin: 0;
    color: white;
    font-size: clamp(30px, 4vw, 48px);
}

.mission-strip p:last-child {
    max-width: 760px;
    margin: 12px 0 0;
    color: #c8d6cf;
    font-size: 16px;
}

.add-media-nav-cta {
    white-space: nowrap;
}

.hero-panel {
    position: relative;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 24px;
    background: var(--brand-dark);
    color: white;
    box-shadow: var(--shadow);
}

.hero-panel::before {
    position: absolute;
    top: -12px;
    right: 26px;
    width: 54px;
    height: 24px;
    border-radius: 50%;
    background: var(--orange);
    content: "";
    transform: rotate(-7deg);
}

.signal-line {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 34px;
    color: #c8d6cf;
    font-size: 13px;
}

.signal-dot,
.freshness-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 5px rgba(215, 244, 107, .12);
}

.hero-stat {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.hero-stat strong {
    display: block;
    color: var(--lime);
    font-family: Georgia, serif;
    font-size: 54px;
    font-weight: 500;
    line-height: 1;
}

.hero-stat span,
.mini-grid span {
    display: block;
    margin-top: 8px;
    color: #b8c8c1;
    font-size: 14px;
}

.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 28px;
}

.mini-grid strong {
    display: block;
    font-size: 18px;
}

.section {
    padding: 88px 0;
}

.section-tint {
    background: var(--tint);
}

.section-heading {
    margin-bottom: 38px;
}

.split-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.centered-heading {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.text-link {
    color: var(--brand);
    font-size: 14px;
    font-weight: 750;
    text-underline-offset: 4px;
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.country-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 19px;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--surface);
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.country-card:hover {
    border-color: #a6b9ac;
    box-shadow: 0 12px 32px rgba(28, 69, 55, .08);
    transform: translateY(-2px);
}

.country-code {
    display: grid;
    width: 42px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--tint);
}

.country-code .fk {
    width: 27px;
    height: 19px;
    margin: 0;
    background-size: 27px 19px;
    box-shadow: 0 1px 3px rgba(16, 59, 48, .16);
}

.country-card strong,
.country-card small {
    display: block;
}

.country-card strong {
    font-size: 15px;
}

.country-card small {
    margin-top: 2px;
    color: var(--ink-soft);
    font-size: 12px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    min-height: 260px;
    padding: 30px;
    border: 1px solid rgba(23, 79, 63, .1);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.feature-number {
    display: inline-block;
    margin-bottom: 48px;
    color: var(--orange);
    font-family: Georgia, serif;
    font-size: 18px;
    font-style: italic;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.cta-section {
    padding: 40px 0 88px;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 50px 56px;
    border-radius: 24px;
    background: var(--brand);
    color: white;
}

.cta-card .eyebrow {
    color: var(--lime);
}

.cta-card h2 {
    max-width: 700px;
    margin-bottom: 0;
}

.page-hero {
    padding: 76px 0 64px;
    background:
        radial-gradient(circle at 85% 12%, rgba(215, 244, 107, .26), transparent 22%),
        var(--tint);
}
main:has(.about-logo-primary) > .page-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

main:has(.about-logo-primary) > .page-hero::after {
    position: absolute;
    top: 50%;
    right: -12%;
    z-index: 0;
    width: min(52vw, 620px);
    aspect-ratio: 1;
    background: url("/brand/mediadatabase-mark.svg") center / contain no-repeat;
    content: "";
    opacity: .045;
    pointer-events: none;
    transform: translateY(-50%) rotate(-8deg);
}

main:has(.about-logo-primary) > .page-hero .hero-grid {
    position: relative;
    z-index: 1;
}

.hero-panel:has(.about-logo-primary) {
    display: grid;
    min-height: 380px;
    place-items: center;
    overflow: hidden;
    padding: 34px;
    border-color: color-mix(in srgb, var(--brand) 18%, var(--line));
    background:
        radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--lime) 26%, var(--surface)) 0%, var(--surface) 60%, var(--tint) 100%);
    color: var(--ink);
    box-shadow: none;
}

.hero-panel:has(.about-logo-primary)::before {
    display: none;
}

.hero-panel:has(.about-logo-primary) > .signal-line,
.hero-panel:has(.about-logo-primary) > .hero-stat,
.hero-panel:has(.about-logo-primary) > .mini-grid {
    display: none;
}

.about-logo-halo {
    position: absolute;
    width: 68%;
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
    border-radius: 50%;
    box-shadow:
        0 0 0 28px color-mix(in srgb, var(--brand) 5%, transparent),
        0 0 0 58px color-mix(in srgb, var(--lime) 8%, transparent);
    transform: rotate(-10deg) scaleY(.78);
}

.about-logo-primary {
    position: relative;
    z-index: 1;
    display: block;
    width: min(72%, 280px);
    height: auto;
    filter: drop-shadow(0 18px 24px rgba(16, 59, 48, .16));
}

.about-logo-caption {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    justify-content: center;
    width: calc(100% - 36px);
    max-width: calc(100% - 36px);
    padding: 9px 14px;
    border: 1px solid rgba(23, 79, 63, .12);
    border-radius: 999px;
    background: rgba(251, 252, 248, .88);
    color: #174f3f;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    backdrop-filter: blur(10px);
}

[data-bs-theme="dark"] main:has(.about-logo-primary) > .page-hero::after {
    opacity: .09;
    filter: brightness(2.2) saturate(.75);
}

[data-bs-theme="dark"] .hero-panel:has(.about-logo-primary) {
    border-color: rgba(215, 244, 107, .22);
    background: radial-gradient(circle at 50% 42%, #eff6df 0%, #d7e6ca 58%, #aecbad 100%);
}

@media (max-width: 980px) {
    .hero-panel:has(.about-logo-primary) {
        max-width: 560px;
        min-height: 330px;
    }

    main:has(.about-logo-primary) > .page-hero::after {
        right: -160px;
        width: 480px;
    }
}

@media (max-width: 520px) {
    .hero-panel:has(.about-logo-primary) {
        min-height: 280px;
        padding: 24px;
    }

    .about-logo-primary {
        width: min(72%, 210px);
    }

    .about-logo-caption {
        bottom: 14px;
        font-size: 11px;
    }
}

.compact-hero h1 {
    margin-bottom: 0;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
}

.directory-search {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(220px, .45fr) auto;
    align-items: end;
    gap: 12px;
    max-width: 980px;
    margin-top: 38px;
}

.country-select-control {
    position: relative;
}

.country-select-control > .fk {
    position: absolute;
    top: 50%;
    left: 13px;
    z-index: 1;
    margin: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.country-select-control > .fk:not(.d-none) + select {
    padding-left: 45px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field label {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.field input,
.field select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--ink);
}

.field small,
.form-legal {
    color: var(--ink-soft);
    font-size: 12px;
}

.field > span {
    color: var(--danger);
    font-size: 12px;
}

.search-button {
    min-width: 120px;
}

.directory-section {
    min-height: 500px;
}

.results-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.results-heading h2 {
    margin: 0;
    font-family: inherit;
    font-size: 28px;
    font-weight: 730;
    letter-spacing: -.03em;
}

.result-list {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.result-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 22px 25px;
    border-bottom: 1px solid var(--line);
}

.result-card:last-child {
    border-bottom: 0;
}

.result-monogram {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 13px;
    background: var(--tint);
    color: var(--brand);
    font-family: Georgia, serif;
    font-size: 22px;
}

.result-meta,
.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 6px;
}

.result-flag {
    align-self: center;
    margin-right: 2px;
    box-shadow: 0 1px 2px rgba(16, 59, 48, .15);
}

.profile-country {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}

.profile-country .fk {
    margin: 0;
}

.result-meta span,
.profile-tags span {
    padding: 3px 8px;
    border-radius: 99px;
    background: var(--tint);
    color: var(--brand);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.result-content h3 {
    margin: 0 0 3px;
    font-size: 19px;
    letter-spacing: -.025em;
}

.result-content h3 a {
    text-decoration: none;
}

.result-content h3 a:hover {
    color: var(--brand);
}

.result-content p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.result-arrow {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: var(--brand);
    text-decoration: none;
}

.result-arrow:hover {
    background: var(--tint);
}

.pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-top: 26px;
    color: var(--ink-soft);
    font-size: 14px;
}

.pagination a {
    color: var(--brand);
    font-weight: 700;
}

.pagination a:last-child {
    justify-self: end;
}

.empty-state {
    padding: 70px 20px;
    border: 1px dashed #bdcabf;
    border-radius: var(--radius);
    text-align: center;
}

.empty-icon {
    display: grid;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--tint);
    color: var(--brand);
    font-size: 28px;
}

.empty-state h2 {
    margin-bottom: 8px;
    font-family: inherit;
    font-size: 26px;
    font-weight: 720;
}

.empty-state p {
    margin: 0 0 24px;
    color: var(--ink-soft);
}


.results-heading-actions,
.empty-state-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.profile-hero {
    padding: 48px 0 58px;
    background: var(--tint);
}

.back-link {
    display: inline-block;
    margin-bottom: 34px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.profile-heading {
    display: flex;
    align-items: center;
    gap: 26px;
}

.profile-monogram {
    position: relative;
    display: grid;
    width: 94px;
    height: 94px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 24px;
    background: var(--brand);
    color: var(--lime);
    font-family: Georgia, serif;
    font-size: 42px;
    overflow: hidden;
}

.profile-logo > span {
    display: grid;
    position: absolute;
    inset: 0;
    place-items: center;
}

.profile-logo > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    background: #fff;
    object-fit: contain;
}

.profile-heading h1 {
    margin-bottom: 5px;
    font-family: inherit;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    font-weight: 760;
    letter-spacing: -.05em;
}

.profile-heading p {
    margin: 0;
    color: var(--ink-soft);
}

.profile-section {
    padding-top: 60px;
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: start;
    gap: 30px;
}

.profile-main {
    display: grid;
    gap: 20px;
}

.content-card,
.contact-card,
.freshness-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.content-card {
    padding: 32px;
}

.content-card h2,
.contact-card h2 {
    font-family: inherit;
    font-size: 25px;
    font-weight: 740;
    letter-spacing: -.035em;
}

.profile-description {
    max-width: 780px;
    margin-bottom: 0;
    color: var(--ink-soft);
    white-space: pre-line;
}

.muted {
    color: var(--ink-soft);
}

.card-heading,
.plan-line {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.member-badge {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 99px;
    background: var(--lime);
    color: var(--brand-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 30px;
    margin: 8px 0 0;
}

.details-grid div {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.details-grid dt {
    margin-bottom: 5px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.details-grid dd {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-weight: 620;
}

.details-grid a {
    color: var(--brand);
    overflow-wrap: anywhere;
}

.profile-sidebar {
    display: grid;
    gap: 14px;
}
.pressport-ad {
    --pressport-primary: #4f176f;
    --pressport-secondary: #8d43b6;
    --pressport-accent: #f0c8ff;
    position: relative;
    isolation: isolate;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(240, 200, 255, .34);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 100% 0, rgba(240, 200, 255, .3), transparent 35%),
        linear-gradient(145deg, var(--pressport-primary), var(--pressport-secondary));
    color: white;
    box-shadow: 0 20px 46px rgba(79, 23, 111, .25);
}

.pressport-ad-orbit {
    position: absolute;
    z-index: -1;
    right: -68px;
    bottom: -85px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 50%;
}

.pressport-ad-orbit::before,
.pressport-ad-orbit::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    content: "";
}

.pressport-ad-orbit::before {
    inset: 22px;
}

.pressport-ad-orbit::after {
    inset: 48px;
}

.pressport-ad-brand {
    margin-bottom: 30px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 11px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 20px rgba(36, 8, 52, .14);
}

.pressport-ad-brand img {
    display: block;
    width: min(201px, 100%);
    height: auto;
}

.pressport-ad-eyebrow {
    margin: 0 0 10px;
    color: var(--pressport-accent);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.pressport-ad h2 {
    max-width: 300px;
    margin-bottom: 13px;
    font-family: inherit;
    font-size: clamp(1.55rem, 2.4vw, 1.9rem);
    font-weight: 780;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.pressport-ad-copy {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.58;
}

.pressport-ad-benefits {
    display: grid;
    gap: 9px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.pressport-ad-benefits li {
    position: relative;
    padding-left: 22px;
    color: rgba(255, 255, 255, .93);
    font-size: 13px;
    font-weight: 660;
}

.pressport-ad-benefits li::before {
    position: absolute;
    left: 0;
    color: var(--pressport-accent);
    content: "✓";
    font-weight: 900;
}

.pressport-ad-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    padding: 12px 15px;
    border-radius: 11px;
    background: white;
    color: var(--pressport-primary);
    font-size: 13px;
    font-weight: 820;
    line-height: 1.25;
    box-shadow: 0 10px 24px rgba(36, 8, 52, .18);
}

.pressport-ad-cta:hover {
    color: var(--pressport-primary);
    transform: translateY(-1px);
}

.pressport-ad > small {
    display: block;
    margin-top: 13px;
    color: rgba(255, 255, 255, .65);
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
}


.contact-card {
    padding: 28px;
}

.contact-card p:not(.eyebrow) {
    margin: 0 0 24px;
    color: var(--ink-soft);
}

.contact-card > small {
    display: block;
    margin-top: 14px;
    color: var(--ink-soft);
    font-size: 11px;
    text-align: center;
}

.locked-card {
    background:
        radial-gradient(circle at 100% 0, rgba(215, 244, 107, .24), transparent 32%),
        var(--surface);
}

.lock-icon {
    display: grid;
    width: 34px;
    height: 34px;
    margin-bottom: 25px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand);
    color: var(--lime);
    font-size: 9px;
}

.secondary-action {
    display: block;
    margin-top: 16px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.freshness-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
}

.freshness-card strong,
.freshness-card span {
    display: block;
}

.freshness-card strong {
    font-size: 13px;
}

.freshness-card span {
    color: var(--ink-soft);
    font-size: 11px;
}

.reveal-result {
    display: none;
    margin-top: 14px;
    padding: 13px;
    border-radius: 9px;
    overflow-wrap: anywhere;
    font-size: 14px;
    text-align: center;
}

.reveal-result:not(:empty) {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reveal-result a {
    color: var(--brand);
    font-weight: 800;
}

.reveal-result small {
    color: var(--ink-soft);
}

.reveal-success {
    background: var(--tint);
}

.reveal-error {
    background: color-mix(in srgb, var(--danger) 12%, var(--surface));
    color: var(--danger);
}

.auth-section {
    display: grid;
    min-height: calc(100vh - 72px);
    padding: 60px 20px 90px;
    place-items: center;
    background:
        radial-gradient(circle at 20% 10%, rgba(215, 244, 107, .24), transparent 28%),
        var(--tint);
}

.auth-card {
    width: min(100%, 470px);
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.auth-card-wide {
    width: min(100%, 570px);
}

.auth-brand {
    margin-bottom: 42px;
}

.auth-card h1 {
    margin-bottom: 10px;
    font-family: inherit;
    font-size: 32px;
    font-weight: 770;
    letter-spacing: -.04em;
}

.auth-intro {
    margin: 0 0 28px;
    color: var(--ink-soft);
}

.stack-form {
    display: grid;
    gap: 18px;
}

.two-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.form-row-between .text-link {
    flex: 0 0 auto;
    font-size: 13px;
}

.check-field {
    display: flex;
    align-items: start;
    gap: 9px;
    color: var(--ink-soft);
    font-size: 13px;
}

.check-field input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    margin: .18rem 0 0;
    accent-color: var(--brand);
}

.validation-summary {
    color: var(--danger);
    font-size: 13px;
}

.validation-summary:empty {
    display: none;
}

.validation-summary ul {
    margin: 0;
    padding-left: 18px;
}

.form-legal {
    margin: -4px 0 0;
    text-align: center;
}

.auth-switch {
    margin: 26px 0 0;
    color: var(--ink-soft);
    font-size: 13px;
    text-align: center;
}

.auth-switch a {
    color: var(--brand);
    font-weight: 750;
}

.account-settings-section {
    min-height: auto;
}

.account-settings-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.content-card > p:not(.eyebrow),
.plan-line p {
    color: var(--ink-soft);
}

.plan-line {
    margin-bottom: 22px;
}

.plan-line h2 {
    margin-bottom: 6px;
}

.plan-line p {
    margin: 0;
}

.pricing-hero {
    padding-bottom: 110px;
}

.pricing-hero h1 {
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(2.8rem, 5.6vw, 5rem);
}

.pricing-hero .hero-intro {
    margin-right: auto;
    margin-left: auto;
}

.pricing-section {
    padding-top: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 18px;
    margin-top: -62px;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 16px 40px rgba(28, 69, 55, .06);
}
.price-card-current {
    border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--brand) 9%, transparent),
        0 16px 40px rgba(28, 69, 55, .08);
}


.price-card-featured {
    border-color: var(--brand);
    background: var(--brand);
    color: white;
    transform: translateY(-10px);
}

.price-card-featured .eyebrow {
    color: var(--lime);
}

.price-card-featured p:not(.eyebrow),
.price-card-featured .price span {
    color: #c6d4ce;
}

.price-card h2 {
    margin-bottom: 18px;
    font-family: inherit;
    font-size: 28px;
    font-weight: 760;
}

.price-card p {
    color: var(--ink-soft);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0 0 16px;
}

.price strong {
    color: inherit;
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: 500;
}

.price span {
    color: var(--ink-soft);
    font-size: 13px;
}

.feature-list {
    display: grid;
    flex: 1;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    font-size: 14px;
}

.feature-list li::before {
    position: absolute;
    left: 0;
    color: var(--orange);
    content: "✓";
    font-weight: 850;
}

.popular-label {
    position: absolute;
    top: -13px;
    right: 22px;
    padding: 6px 11px;
    border-radius: 99px;
    background: var(--lime);
    color: var(--brand-dark);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.current-plan-label {
    background: var(--brand);
    color: white;
}

.price-current-plan {
    cursor: default;
    opacity: .78;
}


.pricing-note {
    margin-top: 35px;
    color: var(--ink-soft);
    font-size: 13px;
    text-align: center;
}

.pricing-note strong {
    color: var(--ink);
}

.prose-shell {
    max-width: 780px;
}

.prose {
    color: var(--ink-soft);
}

.prose h2 {
    margin-top: 42px;
    color: var(--ink);
    font-family: inherit;
    font-size: 23px;
    font-weight: 740;
}

.notice {
    padding: 18px 20px;
    border: 1px solid #bfd1c2;
    border-radius: var(--radius-small);
    background: var(--tint);
    color: var(--brand-dark);
}

.notice-error {
    border-color: #e9bebe;
    background: color-mix(in srgb, var(--danger) 12%, var(--surface));
    color: var(--danger);
}

.notice-warning {
    border-color: #e3c59f;
    background: color-mix(in srgb, var(--orange) 14%, var(--surface));
    color: #68471f;
}

.error-card {
    text-align: center;
}

.error-code {
    display: block;
    margin-bottom: 18px;
    color: var(--orange);
    font-family: Georgia, serif;
    font-size: 42px;
    font-style: italic;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

main {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
    padding: 60px 0 26px;
    border-top: 1px solid var(--line);
    background: var(--tint);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.brand-footer {
    margin-bottom: 15px;
}

.footer-grid p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 26px;
}

.footer-links a {
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 46px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: #7c8882;
    font-size: 11px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .hero-panel {
        max-width: 560px;
    }

    .country-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .profile-grid {
        grid-template-columns: minmax(0, 1fr) 310px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .price-card-featured {
        transform: none;
    }
}

@media (max-width: 760px) {
    .shell {
        width: min(100% - 28px, var(--shell));
    }

    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .primary-nav {
        display: none;
    }

    .account-nav {
        gap: 14px;
    }

    .account-nav > a:first-child {
        display: none;
    }

    .hero {
        padding: 70px 0;
    }

    h1 {
        font-size: clamp(2.8rem, 13vw, 4.3rem);
    }

    .hero-search {
        flex-direction: column;
    }

    .hero-search input {
        min-height: 50px;
    }

    .hero-contribution-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-contribution-cta .button,
    .add-media-nav-cta {
        width: 100%;
    }

    .country-grid,
    .feature-grid,
    .account-grid {
        grid-template-columns: 1fr;
    }

    .country-grid {
        gap: 10px;
    }

    .split-heading,
    .cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .cta-card {
        padding: 34px 28px;
    }

    .directory-search {
        grid-template-columns: 1fr;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        grid-row: 1;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .pricing-hero {
        padding-bottom: 95px;
    }
}

@media (max-width: 520px) {
    .brand > span:last-child {
        display: none;
    }

    .brand.auth-brand > span:last-child,
    .brand.brand-footer > span:last-child {
        display: inline;
    }

    .section {
        padding: 64px 0;
    }

    .hero-panel,
    .content-card,
    .contact-card,
    .auth-card,
    .price-card {
        padding: 24px;
    }

    .profile-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-monogram {
        width: 72px;
        height: 72px;
        border-radius: 18px;
        font-size: 32px;
    }

    .two-fields {
        grid-template-columns: 1fr;
    }

    .result-card {
        grid-template-columns: auto 1fr;
        padding: 18px;
    }

    .result-arrow {
        display: none;
    }

    .pagination {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .pagination span {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
    }

    .footer-grid {
        flex-direction: column;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Public knowledge profile and moderated contribution flow */
.profile-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 34px;
    color: var(--ink-soft);
    font-size: 13px;
}

.profile-breadcrumbs a,
.community-card a,
.text-link {
    color: var(--brand);
    font-weight: 700;
}

.knowledge-card h2 {
    margin-bottom: 18px;
}

.fact-grid dd {
    color: var(--ink);
}

.taxonomy-group + .taxonomy-group {
    margin-top: 24px;
}

.taxonomy-group h3 {
    margin: 0 0 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.taxonomy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.taxonomy-tags li {
    padding: 7px 11px;
    border-radius: 99px;
    background: var(--tint);
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 700;
}

.taxonomy-tags-soft li {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink-soft);
}

.profile-article-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-article-list li {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
    line-height: 1.45;
}

.profile-article-list time,
.profile-article-list li > span:first-of-type {
    color: var(--ink-soft);
    font-size: 12px;
    white-space: nowrap;
}

.profile-article-list a {
    color: var(--ink);
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.profile-article-list a:hover {
    color: var(--brand);
    text-decoration: underline;
}

.contribution-callout {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 28px 30px;
    overflow: hidden;
    border: 1px solid var(--brand);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 100% 0, rgba(215, 244, 107, .19), transparent 38%),
        var(--brand-dark);
    color: white;
    box-shadow: 0 18px 42px rgba(16, 59, 48, .2);
}

.contribution-callout::after {
    position: absolute;
    right: -45px;
    bottom: -65px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    content: "";
}

.contribution-callout .eyebrow {
    color: var(--lime);
}

.contribution-callout h2 {
    margin-bottom: 5px;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    letter-spacing: -.035em;
}

.contribution-callout p:not(.eyebrow) {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
}

.contribution-callout-mark {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 15px;
    background: var(--lime);
    color: var(--brand-dark);
    font-size: 30px;
    font-weight: 650;
}

.contribution-cta {
    position: relative;
    z-index: 1;
    gap: 12px;
    min-width: 190px;
    border-color: var(--lime);
    background: var(--lime);
    color: var(--brand-dark);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

.contribution-cta:hover {
    border-color: white;
    background: var(--surface);
    color: var(--brand-dark);
}

.community-card {
    border-color: rgba(23, 79, 63, .3);
    background: linear-gradient(135deg, rgba(215, 244, 107, .18), var(--surface) 72%);
}

.community-mark {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--lime);
    color: var(--brand-dark);
    font-size: 20px;
    font-weight: 800;
}

.community-card a {
    display: block;
    font-size: 11px;
}

.narrow-shell {
    max-width: 900px;
}

.contribution-hero {
    padding-bottom: 72px;
}

.contribution-hero h1 {
    max-width: 780px;
}

.contribution-section {
    background: var(--paper);
}

.contribution-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    gap: 30px;
}

.contribution-form {
    display: grid;
    gap: 20px;
}

.contribution-allowance {
    display: grid;
    gap: 5px;
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line));
    border-left: 4px solid var(--brand);
    border-radius: 12px;
    background: color-mix(in srgb, var(--tint) 74%, var(--surface));
}

.contribution-allowance strong {
    color: var(--brand-dark);
}

.contribution-allowance span {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.5;
}

.contribution-allowance a {
    color: var(--brand);
    font-weight: 800;
}

.form-section-card {
    display: grid;
    min-width: 0;
    gap: 20px;
    margin: 0;
}

.form-section-card legend {
    float: left;
    width: 100%;
    margin-bottom: 22px;
    font-family: inherit;
    font-size: 24px;
    font-weight: 760;
    letter-spacing: -.035em;
}

.form-section-card legend + * {
    clear: both;
}

.field textarea {
    width: 100%;
    padding: 13px 14px;
    resize: vertical;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    line-height: 1.5;
}

.field textarea:focus,
.field input:focus,
.field select:focus {
    border-color: var(--brand);
    outline: 3px solid rgba(0, 105, 72, .12);
}

.three-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.field-label {
    color: var(--ink) !important;
    font-size: 13px !important;
    font-weight: 700;
}

.section-help {
    margin: -8px 0 2px;
    color: var(--ink-soft);
    font-size: 13px;
}

.checkbox-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
    max-height: 240px;
    padding: 8px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}

.checkbox-panel-tall {
    max-height: 360px;
}

.region-options {
    max-height: 440px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}

.region-option-group + .region-option-group {
    border-top: 1px solid var(--line);
}

.region-option-group > strong {
    position: sticky;
    top: 0;
    z-index: 1;
    display: block;
    padding: 9px 12px;
    background: var(--tint);
    color: var(--brand-dark);
    font-size: 12px;
    letter-spacing: .035em;
}

.region-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 12px;
    padding: 9px 12px 12px;
}

.region-options-empty {
    margin: 0;
    padding: 18px;
    color: var(--ink-soft);
    font-size: 13px;
}

.region-options[aria-busy="true"] {
    opacity: .72;
}

.checkbox-group {
    display: grid;
    align-content: start;
    gap: 0;
    padding: 4px 6px;
}

.checkbox-group > strong {
    margin: 2px 0 3px;
    color: var(--ink-soft);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

label.check-option {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    align-items: start;
    column-gap: 8px;
    min-width: 0;
    padding: 1px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.28;
}

.check-option input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    min-height: 1rem;
    padding: 0;
    margin: .12rem 0 0;
    border-radius: 3px;
    accent-color: var(--brand);
}

.check-option span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.captcha-challenge {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px;
    align-items: end;
    gap: 18px;
    padding: 18px;
    border: 1px solid #b7c9ba;
    border-radius: var(--radius-small);
    background: var(--tint);
}

.captcha-prompt p,
.captcha-prompt strong {
    margin: 0;
}

.captcha-prompt p {
    color: var(--ink-soft);
    font-size: 12px;
}

.captcha-prompt strong {
    display: block;
    margin-top: 3px;
    color: var(--brand-dark);
    font-size: 25px;
    font-variant-numeric: tabular-nums;
    letter-spacing: .16em;
}

.captcha-answer {
    gap: 4px;
}

.captcha-answer input {
    background: var(--surface);
}

.evidence-card {
    border-color: #b7c9ba;
}

.signed-in-contributor,
.privacy-note {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.confirm-field {
    align-items: start;
}

.field-error {
    color: var(--danger);
    font-size: 12px;
}

.contribution-submit {
    justify-self: start;
}

.contribution-aside {
    position: relative;
}

.sticky-card {
    position: sticky;
    top: 92px;
}

.review-steps {
    display: grid;
    gap: 20px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.review-steps li {
    display: flex;
    gap: 12px;
}

.review-steps li > span {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--brand);
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.review-steps strong,
.review-steps small {
    display: block;
}

.review-steps small {
    margin-top: 3px;
    color: var(--ink-soft);
    line-height: 1.45;
}

.status-banner {
    display: grid;
    gap: 4px;
    margin-bottom: 20px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.status-success {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    border: 2px solid color-mix(in srgb, var(--brand) 58%, var(--line));
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--brand) 20%, var(--surface)),
        color-mix(in srgb, var(--brand) 9%, var(--surface))
    );
    box-shadow: 0 12px 30px color-mix(in srgb, var(--brand) 16%, transparent);
}

.status-success::before {
    content: "\2713";
    display: grid;
    width: 44px;
    height: 44px;
    grid-column: 1;
    grid-row: 1 / span 8;
    place-items: center;
    border-radius: 50%;
    background: var(--brand);
    color: var(--paper);
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
}

.status-success > * {
    grid-column: 2;
}

.status-success > strong {
    color: var(--ink);
    font-size: 1.08rem;
    line-height: 1.35;
}

.status-banner span,
.status-banner small {
    color: var(--ink-soft);
}

.bot-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 980px) {
    .contribution-layout {
        grid-template-columns: 1fr;
    }

    .sticky-card {
        position: static;
    }

    .contribution-aside {
        order: -1;
    }
}

@media (max-width: 700px) {
    .region-option-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 700px) {
    .contribution-callout {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: stretch;
    }

    .contribution-cta {
        grid-column: 1 / -1;
        width: 100%;
    }

    .three-fields,
    .checkbox-panel {
        grid-template-columns: 1fr;
    }

    .captcha-challenge {
        grid-template-columns: 1fr;
    }
}
/* Protected contribution fields and member media library */
.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.reveal-inline-button {
    padding: 3px 9px;
    border: 1px solid rgba(0, 105, 72, .28);
    border-radius: 999px;
    background: rgba(0, 105, 72, .07);
    color: var(--brand);
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.4;
    cursor: pointer;
}

.reveal-inline-button:hover {
    border-color: var(--brand);
    background: rgba(0, 105, 72, .12);
}

.reveal-inline-button:disabled {
    cursor: default;
    opacity: .7;
}

.compact-reveal-result {
    min-height: 0;
    margin: 0;
    font-size: 12px;
}

.logo-upload-control {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.logo-upload-preview {
    display: grid;
    width: 112px;
    height: 82px;
    place-items: center;
    overflow: hidden;
    border: 1px dashed #afbeb3;
    border-radius: 9px;
    background: var(--surface);
    color: var(--ink-soft);
    font-size: 11px;
    text-align: center;
}

.logo-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-upload-control input[type="file"] {
    min-height: auto;
    padding: 9px;
}


.dashboard-section {
    padding-top: 44px;
}

.dashboard-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.dashboard-create-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
}

.dashboard-library {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.dashboard-list-nav {
    position: sticky;
    top: 92px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.dashboard-list-heading,
.dashboard-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dashboard-list-heading {
    padding: 22px;
    border-bottom: 1px solid var(--line);
}

.dashboard-list-heading h2,
.dashboard-section-heading h2 {
    margin: 0;
    font-size: 24px;
}

.dashboard-list-heading > span {
    display: grid;
    min-width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 750;
}

.dashboard-list-link,
.dashboard-list-row {
    min-height: 50px;
    border-bottom: 1px solid var(--line);
}

.dashboard-list-link,
.dashboard-list-row > a {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 18px;
    color: var(--ink);
    text-decoration: none;
}

.dashboard-list-row {
    display: flex;
    align-items: stretch;
}

.dashboard-list-link:hover,
.dashboard-list-row:hover,
.dashboard-list-link.is-active,
.dashboard-list-row.is-active {
    background: color-mix(in srgb, var(--brand) 11%, var(--surface));
    color: var(--brand);
}

.dashboard-list-row form {
    display: flex;
    align-items: center;
    padding-right: 10px;
}

.dashboard-list-row button,
.favorite-list-tags button {
    display: grid;
    width: 26px;
    height: 26px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1;
}

.dashboard-list-row button:hover,
.favorite-list-tags button:hover {
    background: color-mix(in srgb, var(--danger) 12%, var(--surface));
    color: var(--danger);
}

.dashboard-library-content {
    min-width: 0;
}

.dashboard-section-heading {
    margin-bottom: 16px;
}

.favorite-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.favorite-media-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.favorite-media-heading {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.favorite-media-heading .fk {
    margin-top: 5px;
}

.favorite-media-heading h3 {
    margin: 0 0 3px;
    font-size: 18px;
}

.favorite-media-heading h3 a {
    color: var(--ink);
    text-decoration: none;
}

.favorite-media-heading h3 a:hover {
    color: var(--brand);
}

.favorite-media-heading p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 12px;
}

.favorite-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.favorite-list-tags > div {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 5px 3px 9px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand) 11%, var(--surface));
    color: var(--brand);
    font-size: 11px;
    font-weight: 700;
}

.favorite-list-tags form {
    display: inline-flex;
    margin: 0;
}

.favorite-list-tags button {
    width: 20px;
    height: 20px;
    font-size: 14px;
}

.dashboard-headline-heading {
    margin-top: 42px;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
}

.live-indicator i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, .12);
}

.favorite-headline-list {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
}

.favorite-headline-list article {
    padding: 20px 22px;
    background: var(--surface);
}

.favorite-headline-list article > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 700;
}

.favorite-headline-list h3 {
    margin: 7px 0 0;
    font-size: 19px;
    line-height: 1.3;
}

.favorite-headline-list h3 a {
    color: var(--ink);
    text-decoration: none;
}

.favorite-headline-list h3 a:hover {
    color: var(--brand);
}

.favorite-headline-list p {
    margin: 7px 0 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.dashboard-empty {
    text-align: center;
}

.dashboard-empty h3 {
    margin-top: 0;
}

.compact-empty {
    padding: 24px;
}

.status-error {
    border-color: rgba(180, 35, 24, .25);
    background: color-mix(in srgb, var(--danger) 12%, var(--surface));
    color: var(--danger);
}

@media (max-width: 991.98px) {
    .dashboard-library {
        grid-template-columns: 1fr;
    }

    .dashboard-list-nav {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .dashboard-summary-grid,
    .favorite-media-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-create-form,
    .logo-upload-control {
        grid-template-columns: 1fr;
    }
}

/* Global color-theme controls */
.theme-picker-toggle {
    display: inline-flex;
    min-width: 82px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-color: transparent;
}

.theme-picker-icon {
    width: 1rem;
    line-height: 1;
    text-align: center;
}

.theme-picker .dropdown-item.active,
.theme-picker .dropdown-item:active {
    background: var(--tint);
    color: var(--brand);
}

.user-menu-toggle {
    display: inline-flex;
    max-width: 260px;
    align-items: center;
    gap: 7px;
    border-color: transparent;
}

.theme-picker-toggle:hover,
.theme-picker-toggle:focus-visible,
.theme-picker-toggle:active,
.theme-picker-toggle.show,
.user-menu-toggle:hover,
.user-menu-toggle:focus-visible,
.user-menu-toggle:active,
.user-menu-toggle.show {
    border-color: transparent !important;
}

.user-menu-toggle > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-icon {
    flex: 0 0 auto;
}

.user-menu-dropdown {
    min-width: 280px;
    padding-block: 8px;
}

.user-menu-identity {
    display: grid;
    gap: 2px;
    padding: 6px 16px;
}

.user-menu-identity span {
    color: var(--ink);
    font-weight: 750;
}

.user-menu-identity small,
.user-menu-allowance small {
    overflow-wrap: anywhere;
    color: var(--ink-soft);
}

.user-menu-allowance {
    display: grid;
    gap: 2px;
    color: var(--ink);
}

.account-danger-zone {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.account-danger-zone h2 {
    margin: 0 0 8px;
    color: var(--danger);
    font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.account-danger-zone > p:not(.eyebrow) {
    color: var(--ink-soft);
}

.button-danger {
    border-color: #a63f3f;
    background: #a63f3f;
    color: #fff;
}

.button-danger:hover {
    border-color: #842f2f;
    background: #842f2f;
}

.account-delete-confirm:disabled {
    cursor: not-allowed;
    opacity: .55;
}

#deleteProfileModal .modal-content {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
}

#deleteProfileModal .modal-header,
#deleteProfileModal .modal-footer {
    border-color: var(--line);
}

[data-bs-theme="dark"] .search-hint,
[data-bs-theme="dark"] .footer-bottom {
    color: var(--ink-soft);
}

[data-bs-theme="dark"] .taxonomy-tags li,
[data-bs-theme="dark"] .captcha-prompt strong,
[data-bs-theme="dark"] .notice:not(.notice-error):not(.notice-warning) {
    color: var(--brand);
}

[data-bs-theme="dark"] .notice-warning {
    color: var(--orange);
}

[data-bs-theme="dark"] .site-header {
    border-bottom-color: var(--line) !important;
}

[data-bs-theme="dark"] .brand-mark {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .32);
}

[data-bs-theme="dark"] .form-control::file-selector-button {
    color: var(--ink);
    background: var(--tint);
}
/* Heart-and-list favorites workflow */
.profile-heading-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.result-card {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
}

.media-favorite-heart {
    position: relative;
    z-index: 2;
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink-soft);
    cursor: pointer;
    transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}

.media-favorite-heart:hover {
    border-color: color-mix(in srgb, #dc3545 46%, var(--line));
    background: color-mix(in srgb, #dc3545 8%, var(--surface));
    color: #dc3545;
    transform: translateY(-1px);
}

.media-favorite-heart:focus-visible {
    outline: 3px solid color-mix(in srgb, #dc3545 32%, transparent);
    outline-offset: 3px;
}

.media-favorite-heart svg {
    width: 21px;
    height: 21px;
    overflow: visible;
    fill: transparent;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.media-favorite-heart.is-favorite {
    border-color: color-mix(in srgb, #dc3545 38%, var(--line));
    background: color-mix(in srgb, #dc3545 10%, var(--surface));
    color: #dc3545;
}

.media-favorite-heart.is-favorite svg {
    fill: currentColor;
    animation: favorite-heart-pop .34s ease-out;
}

.media-favorite-heart-profile {
    display: inline-flex;
    width: auto;
    min-width: 104px;
    height: 48px;
    gap: 8px;
    margin-left: auto;
    padding: 0 17px;
    font-size: 13px;
    font-weight: 780;
}

.favorite-modal-content {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.favorite-modal-lists {
    display: grid;
    gap: 8px;
    max-height: min(330px, 42vh);
    overflow: auto;
}

.favorite-list-option {
    display: grid;
    grid-template-columns: 1.1rem minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--paper);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.favorite-list-option:hover,
.favorite-list-option:has(input:checked) {
    border-color: color-mix(in srgb, var(--brand) 58%, var(--line));
    background: color-mix(in srgb, var(--brand) 8%, var(--surface));
}

.favorite-list-option .form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
}

.favorite-list-option span,
.favorite-list-option strong,
.favorite-list-option small {
    display: block;
    min-width: 0;
}

.favorite-list-option strong {
    overflow: hidden;
    color: var(--ink);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.favorite-list-option small,
.favorite-modal-empty {
    color: var(--ink-soft);
    font-size: 11px;
}

.favorite-modal-empty {
    margin: 0;
    padding: 16px;
    border: 1px dashed var(--line);
    border-radius: 11px;
    text-align: center;
}

@keyframes favorite-heart-pop {
    0% { transform: scale(.72); }
    58% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

[data-bs-theme="dark"] .button-light:hover,
[data-bs-theme="dark"] .contribution-cta:hover {
    background: #fff;
    color: #103b30;
}

@media (max-width: 520px) {
    .result-card {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .media-favorite-heart-profile {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .media-favorite-heart,
    .media-favorite-heart.is-favorite svg {
        animation: none;
        transition: none;
    }
}