.txfva-shell {
  --txfva-surface: #FBF4E8;
  --txfva-surface-soft: #F3EBDC;
  --txfva-border: #e7dccb;
  --txfva-border-strong: #dcc8ab;
  --txfva-ink: #07121e;
  --txfva-muted: #55615d;
  --txfva-accent: #e04f1a;
  --txfva-accent-ink: #c4492d;
  --txfva-shadow: 0 18px 40px rgba(17, 24, 32, 0.06);
  background: linear-gradient(180deg, #FDF8EE 0%, #FBF4E8 24%, #F4ECDC 100%);
  color: var(--txfva-ink);
  padding: clamp(40px, 5vw, 72px) 20px;
}

body.txfva-member-workspace .site-main,
body.txfva-member-login-page .site-main,
body.txfva-member-registration-page .site-main,
body.txfva-public-profile-page .site-main,
body.txfva-directory-page .site-main,
body.txfva-verify-page .site-main {
  padding-top: clamp(44px, 6vw, 84px);
}

body.txfva-home-page .site-main {
  padding-top: 0;
}

body.txfva-member-workspace .site-header a[href*="/dashboard/"],
body.txfva-member-workspace .site-header a[href*="/member-login/"],
body.txfva-member-workspace .site-header a.txfva-header-utility-link,
body.txfva-member-workspace .site-header a[href*="/member-registration/"],
body.txfva-public-profile-page .site-header a[href*="/dashboard/"],
body.txfva-public-profile-page .site-header a[href*="/member-login/"],
body.txfva-member-login-page .site-header a[href*="/member-login/"],
body.txfva-member-login-page .site-header a.txfva-header-utility-link {
  display: none !important;
}

body.txfva-user-logged-in.txfva-member-workspace .menu-item-562,
body.txfva-user-logged-in.txfva-public-profile-page .menu-item-562,
body.txfva-user-logged-in.txfva-directory-page .menu-item-562,
body.txfva-user-logged-in.txfva-verify-page .menu-item-562 {
  display: none !important;
}

body.txfva-member-workspace .txfva-shell,
body.txfva-member-login-page .txfva-shell,
body.txfva-member-registration-page .txfva-shell,
body.txfva-public-profile-page .txfva-shell,
body.txfva-directory-page .txfva-shell,
body.txfva-verify-page .txfva-shell {
  padding-top: clamp(18px, 3vw, 34px);
}

body.txfva-home-page .txfva-shell {
  padding-top: 0;
}

body.txfva-member-workspace .txfva-shell__intro,
body.txfva-member-login-page .txfva-shell__intro,
body.txfva-member-registration-page .txfva-shell__intro,
body.txfva-public-profile-page .txfva-shell__intro,
body.txfva-directory-page .txfva-shell__intro,
body.txfva-verify-page .txfva-shell__intro {
  max-width: 980px;
  margin-bottom: 28px;
}

body.txfva-member-workspace .txfva-shell__intro h1,
body.txfva-member-login-page .txfva-shell__intro h1,
body.txfva-member-registration-page .txfva-shell__intro h1,
body.txfva-public-profile-page .txfva-shell__intro h1,
body.txfva-directory-page .txfva-shell__intro h1,
body.txfva-verify-page .txfva-shell__intro h1 {
  max-width: 14ch;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  text-wrap: balance;
}

body.txfva-member-workspace .txfva-shell__intro h1,
body.txfva-public-profile-page .txfva-shell__intro h1 {
  max-width: 12ch;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.02;
}

body.txfva-member-workspace .txfva-shell__intro p,
body.txfva-member-login-page .txfva-shell__intro p,
body.txfva-member-registration-page .txfva-shell__intro p,
body.txfva-public-profile-page .txfva-shell__intro p,
body.txfva-directory-page .txfva-shell__intro p,
body.txfva-verify-page .txfva-shell__intro p {
  max-width: 46rem;
}

body.txfva-member-login-page .txfva-login-layout {
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

body.txfva-member-login-page .txfva-card--login,
body.txfva-member-login-page .txfva-card--login-note {
  padding: 28px;
}

body.txfva-member-login-page .txfva-card--login #loginform p {
  margin-bottom: 14px;
}

body.txfva-member-login-page .txfva-card--login #loginform label {
  display: block;
  font-weight: 700;
  margin: 0 0 8px;
}

body.txfva-member-login-page .txfva-card--login #loginform input[type="text"],
body.txfva-member-login-page .txfva-card--login #loginform input[type="password"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--txfva-border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 16px;
  background: #fffaf2;
}

body.txfva-member-login-page .txfva-card--login #loginform .login-remember {
  display: flex;
  gap: 8px;
  align-items: center;
}

body.txfva-member-login-page .txfva-card--login #loginform .submit {
  margin-top: 6px;
}

body.txfva-member-login-page .txfva-login__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

body.txfva-member-login-page .txfva-login__eyebrow {
  font-weight: 700;
  margin: 0 0 12px;
}

body.txfva-member-workspace .txfva-shell--invite,
body.txfva-member-login-page .txfva-shell--invite {
  padding-top: 8px;
}

body.txfva-member-workspace .txfva-shell--invite .txfva-shell__intro,
body.txfva-member-login-page .txfva-shell--invite .txfva-shell__intro,
.txfva-shell--invite .txfva-shell__intro {
  max-width: 1200px;
  margin: 0 auto 20px;
}

body.txfva-member-workspace .txfva-shell--invite .txfva-shell__intro h1,
body.txfva-member-login-page .txfva-shell--invite .txfva-shell__intro h1,
.txfva-shell--invite .txfva-shell__intro h1 {
  max-width: 22ch;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.06;
  text-wrap: initial;
}

body.txfva-member-workspace .txfva-shell--invite .txfva-shell__intro p,
body.txfva-member-login-page .txfva-shell--invite .txfva-shell__intro p,
.txfva-shell--invite .txfva-shell__intro p {
  max-width: 64rem;
  font-size: 17px;
}

.txfva-shell--directory .txfva-shell__intro h1,
.txfva-shell--directory .txfva-card h2,
.txfva-shell--directory .txfva-card h3 {
  font-family: var(--display, Georgia, serif);
  letter-spacing: 0;
}

.txfva-shell--directory .txfva-shell__intro h1 {
  line-height: 1.02;
}

.txfva-shell__intro {
  max-width: 780px;
  margin: 0 auto 34px;
}

.txfva-shell__intro--member {
  max-width: none;
  margin-bottom: 0;
}

.txfva-shell__intro--directory {
  max-width: 1040px;
}

.txfva-shell__intro--verify {
  max-width: 920px;
}

.txfva-shell__intro h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.05;
  margin: 0 0 14px;
  color: var(--txfva-ink);
  text-wrap: balance;
}

.txfva-shell__intro p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--txfva-muted);
  margin: 0;
  max-width: 62rem;
}

.txfva-shell--home {
  max-width: none;
  padding-inline: 0;
  background: linear-gradient(180deg, #fbf4e8 0%, #f8efe1 45%, #fbf4e8 100%);
}

.txfva-home-hero,
.txfva-home-section,
.txfva-home-charter,
.txfva-home-directories,
.txfva-home-journal,
.txfva-home-cta {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

.txfva-home-hero {
  position: relative;
  min-height: clamp(560px, 74vw, 760px);
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  margin-bottom: 28px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 216, 188, 0.48), transparent 34%),
    linear-gradient(135deg, #fff0dd 0%, #f7dbc6 42%, #f2cab6 100%);
}

.txfva-home-hero__media,
.txfva-home-hero__media img,
.txfva-home-hero__overlay {
  position: absolute;
  inset: 0;
}

.txfva-home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.txfva-home-hero__overlay {
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.62) 0%, rgba(17, 24, 32, 0.34) 40%, rgba(17, 24, 32, 0.16) 100%),
    linear-gradient(180deg, rgba(255, 244, 230, 0.08) 0%, rgba(17, 24, 32, 0.22) 100%);
}

.txfva-home-hero__content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 24px;
  align-items: end;
  padding: clamp(34px, 4vw, 56px);
}

.txfva-home-hero__copy {
  max-width: 760px;
  color: #fbf4e8;
}

.txfva-home-hero__copy .txfva-kicker {
  color: #fbf4e8;
}

.txfva-home-hero__copy h1 {
  color: #fbf4e8;
  font-size: clamp(54px, 7vw, 106px);
  line-height: 0.92;
  margin: 0 0 18px;
  max-width: 10ch;
  text-wrap: balance;
}

.txfva-home-hero__lede {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: rgba(251, 244, 232, 0.92);
  max-width: 44rem;
  margin: 0 0 26px;
}

.txfva-home-hero__copy .txfva-profile-actions {
  gap: 14px;
}

.txfva-home-hero__copy .txfva-button--secondary {
  background: rgba(251, 244, 232, 0.08);
  color: #fbf4e8;
  border-color: rgba(251, 244, 232, 0.34);
}

.txfva-home-hero__copy .txfva-button--secondary:hover,
.txfva-home-hero__copy .txfva-button--secondary:focus {
  background: rgba(251, 244, 232, 0.15);
  color: #fbf4e8;
}

.txfva-home-hero__charter {
  margin-top: 24px;
  max-width: 40rem;
  padding: 18px 20px;
  border: 1px solid rgba(251, 244, 232, 0.18);
  background: rgba(17, 24, 32, 0.22);
  backdrop-filter: blur(4px);
  border-radius: 12px;
}

.txfva-home-hero__charter p {
  margin: 0;
  color: rgba(251, 244, 232, 0.95);
  line-height: 1.65;
}

.txfva-home-hero__panel {
  border-radius: 18px;
  padding: 28px;
  background: rgba(251, 244, 232, 0.94);
  border: 1px solid rgba(231, 220, 203, 0.82);
  box-shadow: 0 24px 50px rgba(7, 18, 30, 0.18);
}

.txfva-home-hero__badge {
  width: clamp(158px, 18vw, 204px);
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  margin: 0 0 18px auto;
  border-radius: 999px;
  color: #fbf4e8;
  background: radial-gradient(circle at 30% 30%, #14202d 0%, #07121e 70%);
  box-shadow: inset 0 0 0 1px rgba(251, 244, 232, 0.18);
}

.txfva-home-hero__badge span,
.txfva-home-hero__badge strong {
  display: block;
  color: #fbf4e8;
}

.txfva-home-hero__badge span {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.txfva-home-hero__badge strong {
  font-family: var(--display, Georgia, serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.05;
}

.txfva-home-hero__panel h2 {
  font-size: clamp(26px, 2.2vw, 36px);
  line-height: 1.04;
  margin-bottom: 10px;
}

.txfva-home-hero__panel p {
  margin: 0;
  color: var(--txfva-muted);
  line-height: 1.6;
}

.txfva-home-section,
.txfva-home-charter,
.txfva-home-journal,
.txfva-home-cta {
  margin-bottom: 42px;
}

.txfva-home-section__intro {
  max-width: 860px;
  margin-bottom: 22px;
}

.txfva-home-section__intro--wide {
  max-width: 980px;
}

.txfva-home-section__intro h2,
.txfva-home-band__intro h2,
.txfva-home-cta__content h2,
.txfva-home-audience-card h2,
.txfva-home-journal-card h3 {
  font-family: var(--display, Georgia, serif);
  letter-spacing: 0;
}

.txfva-home-section__intro h2,
.txfva-home-band__intro h2,
.txfva-home-cta__content h2 {
  font-size: clamp(36px, 4vw, 60px);
  line-height: 0.98;
  margin: 0 0 14px;
  max-width: 14ch;
  text-wrap: balance;
}

.txfva-home-section__intro p,
.txfva-home-band__intro p,
.txfva-home-cta__content p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--txfva-muted);
}

.txfva-home-membership-grid,
.txfva-home-journal-grid,
.txfva-home-directories__grid {
  align-items: stretch;
}

.txfva-home-charter {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.txfva-home-charter__intro,
.txfva-home-charter__body {
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--txfva-border);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--txfva-shadow);
}

.txfva-home-charter__intro h2,
.txfva-home-image-band__caption h3 {
  font-family: var(--display, Georgia, serif);
  letter-spacing: 0;
}

.txfva-home-charter__intro h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.98;
  max-width: 12ch;
}

.txfva-home-charter__intro p {
  margin: 0;
  color: var(--txfva-muted);
  line-height: 1.65;
}

.txfva-home-charter__body {
  display: grid;
  gap: 18px;
}

.txfva-home-charter__statement {
  padding: 18px 18px 6px;
  border-left: 4px solid var(--txfva-accent);
}

.txfva-home-charter__statement p {
  margin: 0;
  color: var(--txfva-ink);
  font-family: var(--display, Georgia, serif);
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.06;
}

.txfva-home-charter__list {
  margin-top: 6px;
}

.txfva-home-membership-card,
.txfva-home-journal-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
}

.txfva-home-membership-card h3,
.txfva-home-journal-card h3 {
  margin: 0;
  font-size: clamp(28px, 2.3vw, 38px);
  line-height: 1.02;
  color: var(--txfva-ink);
}

.txfva-home-membership-card p,
.txfva-home-journal-card p {
  margin: 0;
  color: var(--txfva-muted);
  line-height: 1.65;
}

.txfva-home-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.txfva-home-list li {
  position: relative;
  padding-left: 18px;
  color: var(--txfva-ink);
  font-size: 15px;
  line-height: 1.55;
}

.txfva-home-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--txfva-accent);
}

.txfva-home-charter__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.txfva-home-charter__metric {
  border: 1px solid rgba(220, 200, 171, 0.72);
  border-radius: 12px;
  background: rgba(255, 248, 238, 0.88);
  padding: 14px 16px;
}

.txfva-home-charter__metric strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  color: var(--txfva-ink);
  margin-bottom: 8px;
}

.txfva-home-charter__metric span {
  display: block;
  color: var(--txfva-muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.txfva-home-directories {
  padding: clamp(28px, 4vw, 42px);
  border-radius: 24px;
  background: linear-gradient(180deg, #07121e 0%, #101c2a 100%);
  box-shadow: 0 24px 54px rgba(17, 24, 32, 0.14);
}

.txfva-home-directories .txfva-home-section__intro {
  max-width: 980px;
}

.txfva-home-directories .txfva-home-section__intro .txfva-kicker,
.txfva-home-directories .txfva-home-section__intro h2,
.txfva-home-directories .txfva-home-section__intro p {
  color: #fbf4e8;
}

.txfva-home-directories__card {
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid rgba(251, 244, 232, 0.18);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
}

.txfva-home-directories__card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.txfva-home-directories__caption {
  display: grid;
  gap: 10px;
  padding: 18px 18px 20px;
}

.txfva-home-directories__caption h3 {
  margin: 0;
  font-family: var(--display, Georgia, serif);
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.04;
}

.txfva-home-directories__caption p {
  margin: 0;
  color: var(--txfva-muted);
  line-height: 1.6;
}

.txfva-home-journal-card {
  overflow: hidden;
  padding: 0;
  background: rgba(255, 253, 248, 0.96);
}

.txfva-home-journal-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: #07121e;
}

.txfva-home-journal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.txfva-home-journal-card__body {
  display: grid;
  gap: 10px;
  padding: 20px 22px 22px;
}

.txfva-home-journal-card__body h3 {
  font-size: clamp(24px, 2vw, 32px);
}

.txfva-home-journal-card__body h3 a,
.txfva-home-journal-card__link {
  color: inherit;
  text-decoration: none;
}

.txfva-home-journal-card__link {
  color: var(--txfva-accent);
  font-weight: 700;
}

.txfva-home-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  padding-bottom: clamp(24px, 3vw, 46px);
}

.txfva-home-cta__content {
  max-width: none;
  padding: clamp(30px, 4vw, 42px);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff7eb 0%, #fffdf9 100%);
  border: 1px solid var(--txfva-border);
  box-shadow: var(--txfva-shadow);
}

.txfva-home-cta__aside {
  display: grid;
  gap: 14px;
}

.txfva-home-cta__point {
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--txfva-border);
  box-shadow: var(--txfva-shadow);
}

.txfva-home-cta__point h3 {
  margin: 0 0 8px;
  font-family: var(--display, Georgia, serif);
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.05;
}

.txfva-home-cta__point p {
  margin: 0;
  color: var(--txfva-muted);
  line-height: 1.6;
}

.txfva-dashboard-hero {
  max-width: 1200px;
  margin: 0 auto 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(300px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

.txfva-dashboard-hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98) 0%, rgba(255, 253, 248, 1) 100%);
  border: 1px solid rgba(215, 198, 177, 0.68);
  box-shadow: 0 18px 36px rgba(17, 24, 32, 0.05);
}

.txfva-tabset__head--workspace {
  align-items: end;
}

.txfva-tabset__head--workspace .txfva-card-lead,
.txfva-editor-head .txfva-card-lead,
.txfva-card--workspace > .txfva-tabset__head > div > p:not(.txfva-kicker),
.txfva-card--checklist-panel > .txfva-tabset__head > div > p:not(.txfva-kicker) {
  display: none;
}

.txfva-dashboard-hero__quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.txfva-shell__intro--member h1 {
  max-width: 11ch;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 0.98;
  margin-bottom: 10px;
  text-wrap: balance;
}

.txfva-shell__intro--member p {
  max-width: 36rem;
  font-size: 14px;
  line-height: 1.6;
}

.txfva-member-actions {
  max-width: 1200px;
  margin: 0 auto 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(17, 24, 32, 0.06);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 18px 32px rgba(17, 24, 32, 0.05);
  backdrop-filter: blur(8px);
}

.txfva-card--verify {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 32px);
}

.txfva-member-actions__label {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 10px 0 4px;
  color: #66716c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: none;
}

.txfva-card--gallery {
  overflow: hidden;
}

.txfva-profile-gallery__item.is-hidden {
  display: none;
}

.txfva-profile-gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f5efe3;
}

body.home .txfva-header-utility-link {
  display: inline-flex;
  align-items: center;
  margin-right: 14px;
  color: var(--txfva-ink);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}

@media (max-width: 900px) {
  body.home .txfva-header-utility-link {
    display: none;
  }

  .txfva-shell__intro--member h1 {
    max-width: 100%;
    font-size: clamp(30px, 9vw, 48px);
  }
}

.txfva-member-actions__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(17, 24, 32, 0.12);
  border-radius: 999px;
  background: #fffaf2;
  color: var(--txfva-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.txfva-member-actions__item--ghost {
  margin-left: auto;
  background: transparent;
}

.txfva-member-actions__item:hover,
.txfva-member-actions__item:focus {
  border-color: var(--txfva-accent);
  color: var(--txfva-ink);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(17, 24, 32, 0.06);
}

.txfva-member-actions__item--active {
  background: #111820;
  border-color: var(--txfva-ink);
  color: #fffaf2;
}

.txfva-member-actions__item--active:hover,
.txfva-member-actions__item--active:focus {
  color: #fffaf2;
}

.txfva-shell--dashboard .txfva-card,
.txfva-shell--dashboard .txfva-stat {
  box-shadow: 0 16px 32px rgba(17, 24, 32, 0.045);
}

.txfva-shell--dashboard .txfva-grid--2 > .txfva-card,
.txfva-shell--dashboard .txfva-grid--2 > .txfva-stat {
  height: 100%;
}

.txfva-shell--dashboard {
  padding-top: 18px;
}

.txfva-shell--dashboard .txfva-dashboard-hero {
  display: block;
  margin-bottom: 12px;
}

.txfva-shell--dashboard .txfva-shell__intro--member {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: minmax(220px, 0.64fr) minmax(0, 1.36fr);
  gap: 8px 24px;
  align-items: center;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(215, 198, 177, 0.72);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(17, 24, 32, 0.04);
}

.txfva-shell--dashboard .txfva-shell__intro--member .txfva-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.txfva-shell--dashboard .txfva-shell__intro--member h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
}

.txfva-shell--dashboard .txfva-shell__intro--member .txfva-chip-list {
  margin: 0;
}

.txfva-shell--dashboard .txfva-shell__intro--member p:not(.txfva-kicker) {
  grid-column: 1 / -1;
  max-width: 70rem;
  margin: 2px 0 0;
  font-size: 14px;
}

.txfva-dashboard-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(230px, 1.45fr) repeat(5, minmax(74px, 0.55fr));
  gap: 8px;
  min-height: 124px;
  margin-top: 8px;
}

.txfva-dashboard-gallery__item {
  position: relative;
  overflow: hidden;
  min-height: 124px;
  margin: 0;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 8px;
  background: #efe5d7;
}

.txfva-dashboard-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 124px;
  object-fit: cover;
}

.txfva-dashboard-gallery__item--hero,
.txfva-dashboard-gallery__item--hero img {
  min-height: 148px;
}

.txfva-dashboard-gallery__item figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(17, 24, 32, 0.72);
  color: #fffaf2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.txfva-dashboard-gallery__item.is-hidden {
  display: none;
}

.txfva-shell--dashboard .txfva-card--workspace {
  margin-top: 12px;
}

.txfva-shell--dashboard .txfva-workspace-panel > .txfva-grid + .txfva-card,
.txfva-shell--dashboard .txfva-workspace-panel > .txfva-card + .txfva-grid,
.txfva-shell--dashboard .txfva-workspace-panel > .txfva-grid + .txfva-grid {
  margin-top: 18px;
}

.txfva-kicker {
  color: var(--txfva-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.txfva-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

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

.txfva-grid--single {
  grid-template-columns: 1fr;
}

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

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

.txfva-card,
.txfva-stat {
  background: var(--txfva-surface);
  border: 1px solid var(--txfva-border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--txfva-shadow);
}

.txfva-document-preview {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.txfva-document-preview__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--txfva-border);
  border-radius: 8px;
  background: #fffaf2;
  color: var(--txfva-ink);
  text-decoration: none;
}

.txfva-document-preview__item strong {
  font-size: 15px;
}

.txfva-document-preview__item span {
  color: var(--txfva-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.txfva-document-preview__item:hover,
.txfva-document-preview__item:focus {
  border-color: var(--txfva-accent);
  box-shadow: 0 10px 24px rgba(17, 24, 32, 0.06);
}

.txfva-editor-head h2,
.txfva-card--workspace h2,
.txfva-card--health h2,
.txfva-card--guide h2,
.txfva-card--upgrade-panel h2 {
  text-wrap: balance;
}

.txfva-card--intro {
  max-width: 1200px;
  margin: 0 auto 22px;
}

.txfva-shell--invite .txfva-card--intro {
  margin-bottom: 18px;
}

.txfva-card h2 {
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.16;
  margin: 0 0 10px;
  color: var(--txfva-ink);
}

.txfva-card-lead {
  color: var(--txfva-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 14px;
}

.txfva-card--profile-panel h2,
.txfva-card--profile-section h2,
.txfva-card--gallery h2 {
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.16;
}

.txfva-card--health h2,
.txfva-card--checklist-panel h2,
.txfva-card--editor h2 {
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.18;
}

.txfva-detail-list {
  display: grid;
  gap: 12px;
}

.txfva-detail-list__row {
  display: grid;
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #efe3d1;
}

.txfva-detail-list__row:first-child {
  padding-top: 0;
  border-top: 0;
}

.txfva-detail-list__label {
  color: #55615d;
  font-size: 14px;
  font-weight: 700;
}

.txfva-detail-list__value {
  color: var(--txfva-ink);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

.txfva-review-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.txfva-review-card {
  border: 1px solid var(--txfva-border);
  border-radius: 8px;
  background: var(--txfva-surface-soft);
  padding: 18px 20px;
}

.txfva-review-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.2;
  color: var(--txfva-ink);
}

.txfva-review-list {
  margin: 0;
}

.txfva-review-list__row {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #efe3d1;
}

.txfva-review-list__row:first-child {
  border-top: 0;
  padding-top: 0;
}

.txfva-review-list dt,
.txfva-review-list dd {
  margin: 0;
}

.txfva-review-list dt {
  color: #55615d;
  font-size: 14px;
  font-weight: 700;
}

.txfva-review-list dd {
  color: var(--txfva-ink);
  font-size: 15px;
  line-height: 1.5;
}

.txfva-review-confirm {
  margin-top: 20px;
}

.txfva-upgrade-card {
  background: var(--txfva-surface-soft);
  border: 1px solid var(--txfva-border);
  border-radius: 8px;
  padding: 20px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.txfva-upgrade-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.06;
  color: var(--txfva-ink);
}

.txfva-upgrade-card p {
  margin: 0;
}

.txfva-card--health,
.txfva-card--checklist,
.txfva-card--editor {
  max-width: 1200px;
  margin: 0 auto;
}

.txfva-health-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.txfva-health-head h2 {
  margin-bottom: 8px;
  max-width: 12ch;
}

.txfva-health-score {
  min-width: 118px;
  min-height: 118px;
  border-radius: 50%;
  border: 1px solid var(--txfva-border);
  background: radial-gradient(circle at top, #fffaf2 0%, #f4ead9 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.txfva-health-score strong {
  color: var(--txfva-ink);
  font-size: 34px;
  line-height: 1;
}

.txfva-health-score span {
  margin-top: 8px;
  color: #55615d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.txfva-health-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.txfva-health-metric {
  border: 1px solid #efe3d1;
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--txfva-surface-soft);
}

.txfva-health-metric strong {
  display: block;
  color: var(--txfva-ink);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 8px;
}

.txfva-health-metric span {
  color: #55615d;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

.txfva-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.txfva-checklist li {
  border: 1px solid #efe3d1;
  border-radius: 8px;
  background: var(--txfva-surface-soft);
  padding: 14px 16px;
}

.txfva-checklist--urgent li {
  background: #fff6f2;
  border-color: #efcdbf;
}

.txfva-checklist strong {
  display: block;
  color: var(--txfva-ink);
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.txfva-checklist span,
.txfva-empty-note {
  color: #55615d;
  font-size: 14px;
  line-height: 1.6;
}

.txfva-card--checklist-panel {
  max-width: 1200px;
  margin: 20px auto 0;
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98) 0%, rgba(255, 253, 248, 1) 100%);
}

.txfva-card--workspace {
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98) 0%, rgba(255, 253, 248, 1) 100%);
}

.txfva-tabset__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.txfva-tabset__head--workspace {
  margin-bottom: 18px;
}

.txfva-tabset__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.txfva-editor-tab,
.txfva-tabset__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d7c6b1;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.96);
  color: var(--txfva-ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.txfva-editor-tab:hover,
.txfva-editor-tab:focus,
.txfva-tabset__tab:hover,
.txfva-tabset__tab:focus {
  border-color: rgba(224, 79, 26, 0.55);
  background: #fffaf2;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(17, 24, 32, 0.06);
}

.txfva-editor-tab.is-active,
.txfva-tabset__tab.is-active {
  background: #111820;
  border-color: var(--txfva-ink);
  color: #fffaf2;
}

.txfva-tabset__panel[hidden],
.txfva-editor-section[hidden] {
  display: none !important;
}

.txfva-card--editor {
  margin-top: 16px;
  padding: 24px;
}

.txfva-workspace-panel + .txfva-workspace-panel {
  margin-top: 0;
}

.txfva-card--guide {
  background: linear-gradient(180deg, rgba(255, 249, 240, 0.95) 0%, rgba(255, 253, 248, 1) 100%);
  padding: 22px;
}

.txfva-workspace-steps,
.txfva-guide-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: #31403b;
  font-size: 15px;
  line-height: 1.7;
}

.txfva-workspace-steps li,
.txfva-guide-list li {
  margin-bottom: 10px;
}

.txfva-setup-manager {
  display: grid;
  gap: 16px;
}

.txfva-setup-manager__item {
  margin: 0;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid var(--txfva-border);
  border-radius: 8px;
  background: #fffaf2;
}

.txfva-setup-manager__item legend {
  padding: 0 8px;
  color: var(--txfva-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.txfva-setup-manager__item label {
  display: grid;
  gap: 6px;
  color: var(--txfva-ink);
  font-size: 13px;
  font-weight: 800;
}

.txfva-setup-manager__full,
.txfva-setup-manager__checkbox {
  grid-column: 1 / -1;
}

.txfva-setup-manager__checkbox {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.txfva-setup-config-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.txfva-setup-config-list h3 {
  margin: 0;
  font-size: 18px;
}

.txfva-setup-config {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid var(--txfva-border);
  border-radius: 8px;
  background: #fffaf2;
}

.txfva-setup-config span {
  color: var(--txfva-muted);
  font-size: 14px;
  line-height: 1.5;
}

.txfva-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #efe3d1;
}

.txfva-editor-head h2 {
  margin-bottom: 0;
}

.txfva-editor-head p,
.txfva-editor-head .txfva-card-lead {
  margin-top: 6px;
  max-width: 44rem;
}

.txfva-card--upgrade-panel {
  margin-top: 20px;
}

.txfva-compliance-form {
  margin-top: 14px;
}

.txfva-compliance-log {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #efe3d1;
}

.txfva-compliance-log__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.txfva-compliance-log__item {
  padding: 16px 18px;
  border: 1px solid #e7dccb;
  border-radius: 8px;
  background: #fffaf3;
}

.txfva-compliance-log__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.txfva-choice-card__meta {
  display: block;
  margin-top: 6px;
  color: #66716c;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.txfva-card--upgrade-panel > .txfva-grid {
  margin-top: 10px;
}

.txfva-editor-media {
  width: min(280px, 32%);
  flex-shrink: 0;
}

.txfva-editor-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.txfva-editor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid #efe3d1;
  border-radius: 10px;
  background: rgba(255, 250, 242, 0.72);
}

.txfva-editor-section {
  scroll-margin-top: 90px;
}

.txfva-editor-section {
  border: 1px solid rgba(215, 198, 177, 0.72);
  border-radius: 10px;
  padding: 22px;
  margin-top: 0;
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.92) 0%, rgba(255, 253, 248, 1) 100%);
  box-shadow: 0 10px 24px rgba(17, 24, 32, 0.04);
}

.txfva-editor-section:first-of-type {
  border-top: 1px solid rgba(215, 198, 177, 0.72);
  padding-top: 24px;
  margin-top: 0;
}

.txfva-editor-section__head {
  max-width: 760px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1e6d7;
}

.txfva-editor-section__head h3 {
  margin: 0 0 6px;
  color: var(--txfva-ink);
  font-size: 20px;
  line-height: 1.2;
}

.txfva-editor-section__head p {
  margin: 0;
  color: #55615d;
  font-size: 14px;
  line-height: 1.55;
}

.txfva-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.txfva-form-row--full {
  grid-column: 1 / -1;
}

.txfva-media-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.txfva-media-preview__item {
  margin: 0;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #efe7d9;
}

.txfva-media-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.txfva-hero-picker {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #efe3d1;
}

.txfva-hero-picker__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.txfva-hero-picker__option {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
  border: 1px solid #e7dccb;
  border-radius: 8px;
  background: #fffaf2;
  cursor: pointer;
}

.txfva-hero-picker__option:has(input:checked) {
  border-color: rgba(224, 79, 26, 0.6);
  box-shadow: 0 12px 24px rgba(17, 24, 32, 0.08);
}

.txfva-hero-picker__option input {
  margin: 0;
}

.txfva-hero-picker__media {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  background: #efe7d9;
}

.txfva-hero-picker__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.txfva-hero-picker__label {
  color: var(--txfva-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.txfva-form-actions--editor {
  max-width: none;
  margin-top: 28px;
  justify-content: flex-start;
}

.txfva-shell--dashboard .txfva-dashboard-form .txfva-form-row {
  padding: 16px;
  border: 1px solid #efe3d1;
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.55);
}

.txfva-shell--dashboard .txfva-dashboard-form .txfva-form-row label {
  display: block;
  margin-bottom: 8px;
  color: #31403b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.txfva-shell--dashboard .txfva-dashboard-form .txfva-form-row input:not([type="checkbox"]):not([type="radio"]),
.txfva-shell--dashboard .txfva-dashboard-form .txfva-form-row select,
.txfva-shell--dashboard .txfva-dashboard-form .txfva-form-row textarea {
  background: #fffdf9;
}

.txfva-card p,
.txfva-list li,
.txfva-stat__label {
  color: var(--txfva-muted);
  font-size: 15px;
  line-height: 1.6;
}

.txfva-stat__label {
  display: block;
  color: #66716c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.txfva-list {
  margin: 0;
  padding-left: 18px;
}

.txfva-stat__value {
  display: block;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--txfva-ink);
  margin-top: 10px;
}

.txfva-stat__value--text {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.3;
}

.txfva-stat {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.9) 0%, rgba(255, 253, 248, 1) 100%);
}

.txfva-header-utility-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  margin-right: 12px;
  border: 1px solid #111820;
  border-radius: 8px;
  background: #fffaf2;
  color: var(--txfva-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.txfva-header-utility-link:hover,
.txfva-header-utility-link:focus {
  color: var(--txfva-ink);
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(17, 24, 32, 0.08);
}

body.txfva-user-logged-out header .txfva-header-utility-link {
  margin-left: 12px;
}

header.is-sticky,
.site-header.is-sticky {
  background-color: #ebe4d6 !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
}

.txfva-filterbar {
  max-width: 1200px;
  margin: 0 auto 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.txfva-directory-stats {
  margin-bottom: 20px;
}

.txfva-card--directory-filters {
  max-width: 1200px;
  margin: 0 auto 24px;
  background: rgba(255, 253, 248, 0.96);
}

.txfva-directory-form__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.txfva-directory-form__head h2 {
  margin-bottom: 0;
}

.txfva-directory-form__summary {
  margin: 0;
  color: var(--txfva-muted);
  font-size: 15px;
  line-height: 1.55;
}

.txfva-directory-form__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.txfva-form-actions--directory {
  max-width: none;
  margin-top: 8px;
}

.txfva-directory-grid {
  align-items: start;
}

.txfva-directory-card {
  padding: 0;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.txfva-directory-card:hover,
.txfva-directory-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--txfva-border-strong);
  box-shadow: 0 20px 40px rgba(17, 24, 32, 0.09);
}

.txfva-directory-card__media {
  aspect-ratio: 16 / 9;
  background: #efe7d9;
  border-bottom: 1px solid var(--txfva-border);
}

.txfva-directory-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.txfva-directory-card__body {
  padding: 22px 22px 24px;
  display: grid;
  gap: 14px;
}

.txfva-directory-card__body h2 {
  margin-bottom: 0;
}

.txfva-directory-card__body > p:last-of-type {
  margin-bottom: 0;
}

.txfva-directory-card__top {
  display: grid;
  gap: 8px;
}

.txfva-directory-card__summary {
  margin: 0;
  min-height: 4.8em;
}

.txfva-directory-card__actions {
  margin-top: 2px;
}

.txfva-chip-list--compact {
  margin-top: 14px;
  margin-bottom: 0;
}

.txfva-directory-hub {
  align-items: stretch;
}

.txfva-directory-hub-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.96) 0%, rgba(255, 253, 248, 1) 100%);
  padding: 0;
  overflow: hidden;
}

.txfva-directory-hub-card__media {
  aspect-ratio: 16 / 9;
  background: #efe7d9;
  border-bottom: 1px solid var(--txfva-border);
}

.txfva-directory-hub-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.txfva-directory-hub-card > p,
.txfva-directory-hub-card > h2 {
  padding-left: 22px;
  padding-right: 22px;
}

.txfva-directory-hub-card > p:last-child {
  margin-top: 18px;
  padding-bottom: 24px;
}

body.txfva-directory-page .txfva-shell__intro--directory {
  max-width: 980px;
}

body.txfva-directory-page .txfva-shell__intro--directory h1 {
  max-width: 13ch;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 0.98;
}

.txfva-card--empty {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 32px;
}

.txfva-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d7c6b1;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.96);
  color: var(--txfva-ink);
  font-size: 14px;
  font-weight: 600;
}

.txfva-chip--block {
  width: fit-content;
  margin-bottom: 8px;
}

/* Verified accent — the "Verified TXFVA member" and "Verified Supplier" chips. */
.txfva-chip--verified {
  border-color: #2f6f4f;
  background: rgba(47, 111, 79, 0.12);
  color: #1f4d37;
}

.txfva-chip--verified .txfva-chip__star {
  margin-right: 6px;
  color: #2f6f4f;
  font-weight: 700;
}

/* Supplier-directory explainer — how Verified Supplier is earned. */
.txfva-directory-note {
  max-width: 60ch;
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 3px solid var(--txfva-ember, #c85a2b);
  background: rgba(255, 250, 242, 0.7);
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in oklab, var(--txfva-ink, #1a1a1a) 78%, transparent);
}

.txfva-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.txfva-stepper {
  max-width: 1200px;
  margin: 0 auto 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 10px 24px rgba(17, 24, 32, 0.04);
}

.txfva-stepper__item,
.txfva-button {
  min-height: 46px;
  border-radius: 2px;
  border: 1px solid #d7c6b1;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.txfva-stepper__item {
  background: #fffaf2;
  color: var(--txfva-ink);
}

.txfva-stepper__item.is-active {
  background: #07121e;
  color: #ffffff;
  border-color: #07121e;
}

.txfva-stepper__item:hover,
.txfva-stepper__item:focus,
.txfva-button:hover,
.txfva-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(17, 24, 32, 0.07);
}

.txfva-form-preview {
  display: grid;
  gap: 14px;
}

.txfva-form-row label {
  display: block;
  margin-bottom: 6px;
  color: var(--txfva-ink);
  font-size: 14px;
  font-weight: 600;
}

.txfva-form-row input,
.txfva-form-row select,
.txfva-form-row textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d7c6b1;
  border-radius: 6px;
  background: #ffffff;
  color: var(--txfva-ink);
  font-size: 15px;
}

.txfva-form-row input:focus,
.txfva-form-row select:focus,
.txfva-form-row textarea:focus {
  outline: none;
  border-color: rgba(224, 79, 26, 0.6);
  box-shadow: 0 0 0 4px rgba(224, 79, 26, 0.12);
}

.txfva-form-row select[multiple] {
  min-height: 130px;
}

.txfva-form-row {
  margin-bottom: 16px;
}

.txfva-form-row.is-invalid input,
.txfva-form-row.is-invalid select,
.txfva-form-row.is-invalid textarea,
.txfva-form-row.is-invalid .txfva-choice-grid {
  border-color: #d74d2f;
  box-shadow: 0 0 0 3px rgba(215, 77, 47, 0.12);
}

.txfva-card--editor .txfva-choice-grid {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.txfva-choice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.txfva-choice-actions__button {
  padding: 8px 12px;
  border: 1px solid #d7c6b1;
  border-radius: 999px;
  background: #fffaf2;
  color: var(--txfva-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.txfva-choice-actions__button:hover,
.txfva-choice-actions__button:focus {
  border-color: rgba(224, 79, 26, 0.55);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(17, 24, 32, 0.06);
}

.txfva-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.txfva-choice-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d7c6b1;
  border-radius: 8px;
  background: var(--txfva-surface-soft);
  color: var(--txfva-ink);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.txfva-choice-card input {
  width: auto;
  min-height: 0;
  margin-top: 3px;
}

.txfva-choice-card span {
  font-weight: 600;
}

.txfva-choice-card:hover,
.txfva-choice-card:focus-within {
  border-color: rgba(224, 79, 26, 0.55);
  background: #fffaf2;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(17, 24, 32, 0.06);
}

.txfva-field-error {
  margin-top: 8px;
  color: #b33517;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.txfva-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--txfva-ink);
}

.txfva-checkbox input {
  width: auto;
  min-height: 0;
  margin-top: 4px;
}

.txfva-note {
  margin-top: 10px;
  color: #55615d;
  font-size: 14px;
}

.txfva-alert {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid #e7dccb;
  box-shadow: 0 10px 24px rgba(17, 24, 32, 0.04);
}

.txfva-alert--success {
  background: #eef6ef;
  border-color: #bcd6c0;
}

.txfva-alert--error {
  background: #fff2ef;
  border-color: #efc4b8;
}

.txfva-required {
  color: #e04f1a;
}

.txfva-form-actions {
  max-width: 1200px;
  margin: 22px auto 0;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.txfva-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.txfva-button--primary {
  background: var(--txfva-accent-ink);
  color: #ffffff;
  border-color: var(--txfva-accent-ink);
}

.txfva-button--secondary {
  background: #ffffff;
  color: var(--txfva-ink);
}

.txfva-profile-hero {
  max-width: 1200px;
  margin: 0 auto 24px;
  min-height: clamp(430px, 45vw, 560px);
  padding: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #111820 0%, #223140 100%);
  position: relative;
  display: flex;
  isolation: isolate;
  align-items: flex-end;
  box-shadow: 0 24px 48px rgba(17, 24, 32, 0.16);
  overflow: hidden;
}

.txfva-profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 18, 30, 0.72) 0%, rgba(7, 18, 30, 0.56) 40%, rgba(7, 18, 30, 0.18) 74%, rgba(7, 18, 30, 0.05) 100%),
    linear-gradient(0deg, rgba(7, 18, 30, 0.38) 0%, rgba(7, 18, 30, 0.08) 48%, rgba(7, 18, 30, 0.00) 100%);
  pointer-events: none;
}

.txfva-profile-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: none;
  opacity: 1;
  transform: none;
}

.txfva-profile-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 44px;
}

.txfva-profile-hero__content h1,
.txfva-profile-hero__content p {
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(7, 18, 30, 0.45);
}

.txfva-profile-hero__content .txfva-chip,
.txfva-chip--hero {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(7, 18, 30, 0.48);
  backdrop-filter: blur(3px);
  box-shadow: 0 10px 24px rgba(7, 18, 30, 0.18);
}

.txfva-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.txfva-payment-panel {
  margin: 22px 0;
}

.txfva-payment-panel__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 18px;
}

.txfva-payment-panel__amount {
  border: 1px solid var(--txfva-border);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.78);
  padding: 22px;
}

.txfva-payment-panel__amount span,
.txfva-payment-panel__amount em,
.txfva-muted {
  display: block;
  color: var(--txfva-muted);
}

.txfva-payment-panel__amount strong {
  display: block;
  margin: 6px 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.98;
  color: var(--txfva-ink);
}

.txfva-card--gallery {
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 24px;
}

.txfva-card--profile-overview,
.txfva-card--profile-setups,
.txfva-card--profile-contact,
.txfva-card--profile-permits {
  max-width: 1200px;
  margin: 20px auto 0;
}

.txfva-card--profile-contact {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.txfva-card--profile-contact h2,
.txfva-card--profile-permits h2 {
  margin-bottom: 0;
}

.txfva-profile-contact__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.txfva-detail-list--profile-contact,
.txfva-detail-list--profile-permits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}

.txfva-profile-socials--compact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
}

.txfva-profile-overview__head {
  margin-bottom: 16px;
}

.txfva-profile-overview__head h2 {
  margin-bottom: 0;
}

.txfva-profile-overview__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: flex-start;
  margin: 8px 0 0;
  color: var(--txfva-muted);
  font-size: 13px;
  line-height: 1.5;
}

.txfva-profile-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.txfva-profile-tag:not(:last-child)::after {
  content: "/";
  color: rgba(85, 97, 93, 0.45);
}

.txfva-detail-list--profile-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}

.txfva-detail-list--profile-overview .txfva-detail-list__row {
  min-width: 0;
}

.txfva-profile-section__head {
  margin-bottom: 16px;
}

.txfva-profile-section__head h2 {
  margin-bottom: 0;
}

.txfva-setup-config-list--profile {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.txfva-setup-config-list--profile .txfva-setup-config {
  min-height: 100%;
}

.txfva-profile-info-column {
  min-width: 0;
}

.txfva-profile-info-column h2 {
  margin-bottom: 14px;
}

.txfva-profile-permit-status {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(215, 198, 177, 0.72);
}

.txfva-profile-permit-status strong {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--txfva-muted);
}

.txfva-profile-permit-status div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.txfva-profile-permit-status span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(215, 198, 177, 0.82);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.74);
  color: var(--txfva-ink);
  font-size: 13px;
  font-weight: 700;
}

.txfva-card--profile-section {
  max-width: 1200px;
  margin: 20px auto 0;
}

.txfva-card--profile-section .txfva-detail-list,
.txfva-card--profile-panel .txfva-detail-list {
  margin-top: 14px;
}

.txfva-profile-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 24px;
  align-items: start;
}

.txfva-profile-section__layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.txfva-grid--single > .txfva-card,
.txfva-profile-section__layout--single > .txfva-profile-section__main {
  max-width: 880px;
}

.txfva-profile-section__main .txfva-detail-list {
  max-width: none;
}

.txfva-profile-section__aside {
  border: 1px solid var(--txfva-border);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.72);
  padding: 18px;
}

.txfva-profile-section__aside p {
  margin: 0 0 10px;
}

.txfva-profile-socials {
  margin-top: 20px;
}

.txfva-profile-socials p {
  margin: 0 0 10px;
}

.txfva-profile-gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  grid-auto-flow: row dense;
}

.txfva-profile-gallery--count-1 {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.txfva-profile-gallery--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.txfva-profile-gallery__item {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #fffaf2;
  border: 1px solid rgba(215, 198, 177, 0.72);
  box-shadow: none;
  position: relative;
  display: block;
}

.txfva-profile-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background: #fffaf2;
}

.txfva-profile-gallery__item.is-hidden {
  display: none;
}

.txfva-empty-card {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid var(--txfva-border);
  border-radius: 8px;
  background: var(--txfva-surface);
  box-shadow: var(--txfva-shadow);
  color: var(--txfva-ink);
}

@media (max-width: 900px) {
  .txfva-grid--2,
  .txfva-grid--3,
  .txfva-grid--4 {
    grid-template-columns: 1fr;
  }

  .txfva-home-hero,
  .txfva-home-section,
  .txfva-home-charter,
  .txfva-home-directories,
  .txfva-home-journal,
  .txfva-home-cta {
    width: min(100%, calc(100% - 24px));
  }

  .txfva-home-hero {
    min-height: 0;
    border-radius: 0 0 12px 12px;
  }

  .txfva-home-hero__content {
    grid-template-columns: 1fr;
    align-items: end;
    padding: 28px 18px;
  }

  .txfva-home-hero__copy h1 {
    max-width: 8ch;
    font-size: clamp(42px, 13vw, 68px);
  }

  .txfva-home-hero__lede {
    font-size: 17px;
  }

  .txfva-home-hero__panel {
    padding: 22px;
  }

  .txfva-home-hero__badge {
    margin-left: 0;
  }

  .txfva-home-section__intro h2,
  .txfva-home-cta__content h2 {
    max-width: 11ch;
    font-size: clamp(34px, 10vw, 46px);
  }

  .txfva-home-membership-card h3,
  .txfva-home-journal-card h3,
  .txfva-home-directories__caption h3 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .txfva-home-charter {
    width: min(100%, calc(100% - 24px));
    grid-template-columns: 1fr;
  }

  .txfva-home-charter__metrics,
  .txfva-home-cta {
    grid-template-columns: 1fr;
  }

  .txfva-dashboard-hero {
    grid-template-columns: 1fr;
  }

  .txfva-shell--dashboard .txfva-shell__intro--member {
    grid-template-columns: 1fr;
  }

  .txfva-dashboard-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 0;
  }

  .txfva-dashboard-gallery__item,
  .txfva-dashboard-gallery__item img,
  .txfva-dashboard-gallery__item--hero,
  .txfva-dashboard-gallery__item--hero img {
    min-height: 104px;
  }

  .txfva-dashboard-gallery__item--hero {
    grid-column: span 2;
  }

  .txfva-member-actions__label {
    width: 100%;
    min-height: 0;
    padding: 0 0 4px;
  }

  .txfva-member-actions__item--ghost {
    margin-left: 0;
  }

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

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

  .txfva-choice-grid {
    grid-template-columns: 1fr;
  }

  .txfva-review-list__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .txfva-shell__intro h1 {
    font-size: 36px;
  }

  .txfva-profile-hero {
    min-height: 360px;
  }

  .txfva-profile-hero::before {
    background:
      linear-gradient(0deg, rgba(7, 18, 30, 0.9) 0%, rgba(7, 18, 30, 0.64) 56%, rgba(7, 18, 30, 0.18) 100%);
  }

  .txfva-profile-hero__content {
    padding: 30px 22px;
  }

  .txfva-member-actions,
  .txfva-stepper {
    padding: 10px;
  }

  .txfva-checklist {
    grid-template-columns: 1fr;
  }

  .txfva-profile-gallery {
    grid-template-columns: 1fr;
  }

  .txfva-profile-overview__head,
  .txfva-detail-list--profile-overview,
  .txfva-card--profile-contact,
  .txfva-profile-contact__body,
  .txfva-detail-list--profile-contact,
  .txfva-detail-list--profile-permits {
    grid-template-columns: 1fr;
  }

  .txfva-setup-config-list--profile {
    grid-template-columns: 1fr;
  }

  .txfva-profile-overview__tags {
    justify-content: flex-start;
  }

  .txfva-profile-section__layout {
    grid-template-columns: 1fr;
  }

  .txfva-payment-panel__grid {
    grid-template-columns: 1fr;
  }

  .txfva-health-head,
  .txfva-editor-head {
    flex-direction: column;
  }

  .txfva-card--workspace,
  .txfva-card--editor {
    padding: 22px;
  }

  .txfva-health-score,
  .txfva-editor-media {
    width: 100%;
  }

  .txfva-health-metrics,
  .txfva-editor-grid,
  .txfva-media-preview {
    grid-template-columns: 1fr;
  }

  .txfva-compliance-log__list {
    grid-template-columns: 1fr;
  }

  .txfva-hero-picker__grid {
    grid-template-columns: 1fr;
  }

  .txfva-detail-list__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .txfva-stat {
    min-height: 0;
  }

  body.txfva-member-workspace .site-main,
  body.txfva-member-login-page .site-main,
  body.txfva-member-registration-page .site-main,
  body.txfva-public-profile-page .site-main,
  body.txfva-directory-page .site-main,
  body.txfva-verify-page .site-main {
    padding-top: 40px;
  }

  body.txfva-member-login-page .txfva-shell__intro h1,
  body.txfva-member-registration-page .txfva-shell__intro h1,
  body.txfva-public-profile-page .txfva-shell__intro h1,
  body.txfva-directory-page .txfva-shell__intro h1,
  body.txfva-verify-page .txfva-shell__intro h1 {
    max-width: 11ch;
    font-size: clamp(34px, 9vw, 52px);
    line-height: 1.02;
  }

  .txfva-header-utility-link {
    min-height: 42px;
    padding: 0 14px;
    margin: 8px 10px 0 0;
    font-size: 13px;
  }
}

/* Member verification (/verify) */
.txfva-verify {
  max-width: 640px;
  margin: 0 auto;
}

.txfva-verify__form {
  margin: 0 0 20px;
}

.txfva-verify__form label {
  display: block;
  font-weight: 600;
  color: var(--txfva-ink);
  margin: 0 0 8px;
}

.txfva-verify__controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.txfva-verify__controls input {
  flex: 1 1 240px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--txfva-border-strong);
  border-radius: 10px;
  background: var(--txfva-surface);
  color: var(--txfva-ink);
  font-size: 16px;
}

.txfva-verify__controls input:focus {
  outline: none;
  border-color: var(--txfva-accent);
  box-shadow: 0 0 0 3px rgba(224, 79, 26, 0.15);
}

.txfva-verify__result {
  border: 1px solid var(--txfva-border);
  border-left: 5px solid var(--txfva-border-strong);
  border-radius: 14px;
  background: var(--txfva-surface);
  box-shadow: var(--txfva-shadow);
  padding: 22px 24px;
}

.txfva-verify__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 6px;
}

.txfva-verify__business {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  color: var(--txfva-ink);
}

.txfva-verify__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  background: #eef1f0;
  color: var(--txfva-muted);
}

.txfva-verify__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.txfva-verify__note {
  margin: 0 0 16px;
  color: var(--txfva-muted);
  font-size: 15px;
  line-height: 1.6;
}

.txfva-verify__actions {
  margin: 18px 0 0;
}

/* Tone: verified / good standing */
.txfva-verify__result--verified {
  border-left-color: #2f7d4f;
  background: #f2f9f4;
}
.txfva-verify__badge--verified {
  background: #dff0e4;
  color: #226a41;
}

/* Tone: pending */
.txfva-verify__result--pending {
  border-left-color: #b7871f;
  background: #fdf7e8;
}
.txfva-verify__badge--pending {
  background: #f7ebcf;
  color: #8a6410;
}

/* Tone: expired */
.txfva-verify__result--expired {
  border-left-color: #b4471f;
  background: #fbf1ec;
}
.txfva-verify__badge--expired {
  background: #f4ddd2;
  color: #96371a;
}

/* Tone: not found / no membership */
.txfva-verify__result--none {
  border-left-color: var(--txfva-border-strong);
}

.txfva-verify__state {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--txfva-ink);
}

@media (max-width: 540px) {
  .txfva-verify__head {
    align-items: flex-start;
  }
  .txfva-verify__business {
    font-size: 20px;
  }
}

/* Compliance expiry banner (dashboard) */
.txfva-alert--critical {
  border: 1px solid #e6b0a6;
  border-left: 5px solid #c0392b;
  background: #fbeeeb;
  color: #7a2318;
}
.txfva-expiry-list {
  margin: 10px 0 12px;
  padding-left: 20px;
}
.txfva-expiry-list li {
  margin: 4px 0;
  font-size: 15px;
  line-height: 1.5;
}
.txfva-chip--critical {
  background: #f4ddd2;
  color: #96371a;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Compact login hero — keep the sign-in form near the top, no oversized hero waste */
.txfva-shell--login .txfva-shell__intro--login {
  margin-bottom: 20px;
}
.txfva-shell__intro--login h1 {
  font-size: clamp(26px, 4.5vw, 38px);
  line-height: 1.15;
  margin: 6px 0 8px;
}
.txfva-shell__intro--login p {
  margin: 0;
}

/* ============================================================
   Directory hero — full-bleed image hero so the plugin-rendered directory carries the
   same brand character as the site-theme home hero. Uses the theme's design tokens
   (--ink/--cream/--ember/--display), which load globally on the front end, with literal
   fallbacks in case the directory ever renders without the theme.
   ============================================================ */
.txfva-directory-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(460px, 62vh);
  overflow: hidden;
  background: var(--ink, #0e1a2b);
  /* full-bleed: adapts whether the container is constrained or already full width */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Paint by DOM order (all positioned, z-index auto): image -> scrim -> inner text.
   This is the most reliable layering — no z-index or pseudo-element stacking to fight. */
.txfva-directory-hero__bg,
.txfva-directory-hero__scrim {
  position: absolute;
  inset: 0;
}

.txfva-directory-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.txfva-directory-hero__scrim {
  /* Lighter than before — just enough left/bottom deepening to hold the text, letting
     more of the photo through. */
  background:
    linear-gradient(90deg, rgb(11 18 30 / 0.58) 0%, rgb(11 18 30 / 0.22) 52%, rgb(11 18 30 / 0.04) 100%),
    linear-gradient(0deg, rgb(11 18 30 / 0.42), transparent 52%);
}

.txfva-directory-hero__inner {
  position: relative;
  /* own centering (NOT .txfva-shell — that class carries a cream background that would
     paint over the darkened hero image). Horizontal padding centers a 1280 column. */
  padding: clamp(84px, 12vw, 156px) max(24px, calc((100vw - 1280px) / 2 + 24px)) clamp(40px, 6vw, 64px);
  color: var(--cream, #f4f1ea);
}

.txfva-directory-hero__inner .txfva-kicker {
  color: color-mix(in oklab, var(--ember, #e9743a) 90%, white);
}

.txfva-directory-hero__inner h1 {
  margin: 14px 0 0;
  max-width: 18ch;
  font-family: var(--display, Georgia, serif);
  font-weight: 850;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.02;
  color: var(--cream, #f4f1ea);
}

.txfva-directory-hero__lede {
  margin: 20px 0 0;
  max-width: 60ch;
  color: color-mix(in oklab, var(--cream, #f4f1ea) 82%, transparent);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}

/* Founding member chip — a gold charter mark for the first 25 of each class. */
.txfva-chip--founding {
  border-color: transparent;
  background: linear-gradient(135deg, #b8862b 0%, #e6b155 52%, #b8862b 100%);
  color: #2a1c07;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 20px -10px rgba(184, 134, 43, 0.75);
}

.txfva-chip--founding .txfva-chip__star {
  margin-right: 7px;
  color: #6f4c10;
  font-size: 0.98em;
}

/* ============================================================
   Dashboard: slim identity bar (replaces the marketing hero)
   ============================================================ */
.txfva-shell--dashboard .txfva-dashboard-topbar {
  max-width: 1200px;
  margin: 0 auto 16px;
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(215, 198, 177, 0.72);
  border-radius: 8px;
}
.txfva-dashboard-topbar__hello {
  font-family: var(--display, Georgia, serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink, #17303f);
}
.txfva-dashboard-topbar__chips { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }

/* ============================================================
   Permit Watch — dashboard centerpiece
   ============================================================ */
.txfva-shell--dashboard .txfva-permit-watch { max-width: 1200px; margin: 0 auto 16px; }
.txfva-permit-watch__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.txfva-permit-watch__head h2 { margin: 2px 0 4px; }

.txfva-watch-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.txfva-watch-stat {
  padding: 12px 14px; border: 1px solid var(--line, #e6dcc9);
  border-radius: 8px; background: var(--white, #fff);
}
.txfva-watch-stat strong { display: block; font-family: var(--display, Georgia, serif); font-size: 30px; line-height: 1; color: var(--ink, #17303f); }
.txfva-watch-stat span { display: block; margin-top: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #5a6570); }
.txfva-watch-stat--warn.is-active { border-color: #d69a3a; background: rgba(214,154,58,.10); }
.txfva-watch-stat--warn.is-active strong { color: #915212; }
.txfva-watch-stat--bad.is-active  { border-color: #c0504d; background: rgba(192,80,77,.10); }
.txfva-watch-stat--bad.is-active strong  { color: #9a2626; }
.txfva-watch-stat--miss.is-active { border-color: #b9a894; background: rgba(120,110,95,.10); }
.txfva-watch-stat--miss.is-active strong { color: #6b6152; }

.txfva-watch-table { border: 1px solid var(--line, #e6dcc9); border-radius: 8px; overflow: hidden; background: var(--white, #fff); }
.txfva-watch-row {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(90px, .8fr) minmax(130px, .9fr);
  gap: 10px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line, #ece3d2);
}
.txfva-watch-row:first-child { border-top: 0; }
.txfva-watch-row--head { background: rgba(17,24,32,.03); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted, #5a6570); }
.txfva-watch-row__name { font-weight: 600; color: var(--ink, #17303f); }
.txfva-watch-row__meta { display: block; font-style: normal; font-weight: 400; font-size: 12px; color: var(--muted, #5a6570); }
.txfva-watch-row__date { color: var(--muted, #5a6570); font-variant-numeric: tabular-nums; }

.txfva-watch-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.txfva-watch-chip--ok   { background: rgba(31,122,77,.14);  color: #1a6b43; }
.txfva-watch-chip--warn { background: rgba(214,154,58,.18); color: #915212; }
.txfva-watch-chip--bad  { background: rgba(192,80,77,.16);  color: #9a2626; }
.txfva-watch-chip--info { background: rgba(42,90,160,.14);  color: #2a5aa0; }
.txfva-watch-chip--miss { background: rgba(17,24,32,.06);   color: #55606b; }

@media (max-width: 720px) {
  .txfva-watch-stats { grid-template-columns: repeat(2, 1fr); }
  .txfva-watch-row { grid-template-columns: 1fr auto; }
  .txfva-watch-row__date { grid-column: 1 / -1; font-size: 12px; }
  .txfva-watch-row--head { display: none; }
}

/* ============================================================
   Send documents panel — the vendor's active verb on the opener
   ============================================================ */
.txfva-shell--dashboard .txfva-send-panel { max-width: 1200px; margin: 0 auto 16px; }
.txfva-send-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.txfva-send-panel__head h2 { margin: 2px 0 4px; }
.txfva-send-log { margin-top: 14px; border-top: 1px solid var(--line, #ece3d2); padding-top: 12px; }
.txfva-send-log__title { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted, #5a6570); margin: 0 0 6px; }
.txfva-send-log__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px 16px; flex-wrap: wrap; padding: 9px 0; border-top: 1px solid var(--line, #f0e8d8);
}
.txfva-send-log__row:first-of-type { border-top: 0; }
.txfva-send-log__who strong { color: var(--ink, #17303f); }
.txfva-send-log__event { margin-left: 8px; color: var(--muted, #5a6570); font-size: 13px; }
.txfva-send-log__meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted, #5a6570); flex-wrap: wrap; }
.txfva-send-log__more { margin: 12px 0 0; }

/* Associate upgrade wedge (Permit Watch locked) */
.txfva-permit-watch--locked { border-style: dashed; }
.txfva-watch-upsell { margin-top: 6px; }
.txfva-watch-upsell__anchor {
  padding: 12px 14px; margin: 0 0 12px; border-radius: 8px;
  background: rgba(214,154,58,.12); border: 1px solid rgba(214,154,58,.35);
}
.txfva-watch-upsell__anchor strong { color: var(--ink, #17303f); }

.txfva-dashboard-topbar__id { display: flex; flex-direction: column; gap: 2px; }
.txfva-dashboard-topbar__id .txfva-kicker { margin: 0; }

/* ===== Ink-framed direction (chosen 2026-08-08) — scoped to the Compliance Dashboard ===== */
.txfva-shell--dashboard .txfva-dashboard-topbar {
  background: #07121E;
  border: 1px solid #07121E;
  color: #FBF4E8;
}
.txfva-shell--dashboard .txfva-dashboard-topbar__hello { color: #FBF4E8; }
.txfva-shell--dashboard .txfva-dashboard-topbar__id .txfva-kicker { color: #E9A06B; }
.txfva-shell--dashboard .txfva-dashboard-topbar .txfva-chip {
  background: rgba(255,255,255,.10);
  color: #FBF4E8;
  border: 1px solid rgba(255,255,255,.22);
}
.txfva-shell--dashboard .txfva-button--primary {
  background: #E04F1A;
  border-color: #E04F1A;
  color: #ffffff;
}
.txfva-shell--dashboard .txfva-button--primary:hover {
  background: #c8420f;
  border-color: #c8420f;
}

/* ===== Forms — lifted to match the ink-framed Compliance Dashboard ===== */
.txfva-shell--dashboard .txfva-dashboard-form input:not([type="checkbox"]):not([type="radio"]),
.txfva-shell--dashboard .txfva-dashboard-form select,
.txfva-shell--dashboard .txfva-dashboard-form textarea,
.txfva-shell--dashboard .txfva-permit-manager input,
.txfva-shell--dashboard .txfva-permit-manager select {
  width: 100%; padding: 10px 12px; font: 400 15px Inter, system-ui, sans-serif;
  color: var(--txfva-ink); background: #ffffff; border: 1px solid #DCC8AB; border-radius: 8px;
  transition: border-color .12s, box-shadow .12s;
}
.txfva-shell--dashboard .txfva-dashboard-form input:focus,
.txfva-shell--dashboard .txfva-dashboard-form select:focus,
.txfva-shell--dashboard .txfva-dashboard-form textarea:focus,
.txfva-shell--dashboard .txfva-permit-manager input:focus,
.txfva-shell--dashboard .txfva-permit-manager select:focus {
  outline: none; border-color: #E04F1A; box-shadow: 0 0 0 3px rgba(224,79,26,.15);
}
.txfva-shell--dashboard .txfva-permit-manager {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin-top: 12px;
}
.txfva-shell--dashboard .txfva-permit-manager__item {
  border: 1px solid #E7DCCB; border-radius: 10px; padding: 12px 16px 16px; background: #fffdf9;
}
.txfva-shell--dashboard .txfva-permit-manager__item legend {
  font: 600 11px Inter; text-transform: uppercase; letter-spacing: .06em; color: #E04F1A; padding: 0 6px; margin-left: -6px;
}
.txfva-shell--dashboard .txfva-permit-manager__item label { display: block; margin-top: 10px; }
.txfva-shell--dashboard .txfva-permit-manager__item label span {
  display: block; margin-bottom: 5px; font: 600 12px Inter; color: #55615D;
}

/* Checkbox fields — kill the giant checkbox, lay label beside it */
.txfva-shell--dashboard .txfva-checkbox { display: flex; align-items: center; gap: 10px; }
.txfva-shell--dashboard .txfva-checkbox input[type="checkbox"],
.txfva-shell--dashboard .txfva-setup-manager__checkbox input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px; flex: 0 0 18px; margin: 0; accent-color: #E04F1A;
}
.txfva-shell--dashboard .txfva-checkbox span { font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--txfva-ink); }
.txfva-shell--dashboard .txfva-setup-manager__checkbox { display: flex; align-items: center; gap: 10px; }

/* File uploads — make the plain browser input read as a real upload button */
.txfva-shell--dashboard .txfva-dashboard-form input[type="file"] {
  display: block; width: 100%; padding: 10px 12px; font: 400 14px Inter, system-ui, sans-serif;
  color: #55615D; background: #fffdf9; border: 1px dashed #DCC8AB; border-radius: 8px;
}
.txfva-shell--dashboard .txfva-dashboard-form input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 9px 15px; border: 0; border-radius: 6px;
  background: #07121E; color: #FBF4E8; font: 600 13px Inter; cursor: pointer;
}
.txfva-shell--dashboard .txfva-dashboard-form input[type="file"]::file-selector-button:hover {
  background: #E04F1A;
}
.txfva-shell--dashboard .txfva-dashboard-form input[type="file"]::-webkit-file-upload-button {
  margin-right: 12px; padding: 9px 15px; border: 0; border-radius: 6px;
  background: #07121E; color: #FBF4E8; font: 600 13px Inter; cursor: pointer;
}

/* ===== Count-driven setup section (ink-framed) ===== */
.txfva-shell--dashboard .txfva-setup-count {
  display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap;
  padding: 14px 16px; margin-bottom: 14px; background: #07121E; border-radius: 10px;
}
.txfva-shell--dashboard .txfva-setup-count > label { display: flex; align-items: center; gap: 10px; margin: 0; }
.txfva-shell--dashboard .txfva-setup-count > label > span { font: 600 14px Inter; color: #FBF4E8; text-transform: none; letter-spacing: 0; }
.txfva-shell--dashboard .txfva-setup-count__input {
  width: 72px !important; padding: 8px 10px; font: 600 16px Inter; text-align: center;
  border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: #fff; color: var(--txfva-ink);
}
.txfva-shell--dashboard .txfva-setup-count .txfva-note { margin: 0; color: #E9A06B; font-size: 12px; }
.txfva-shell--dashboard .txfva-setup-count .txfva-note strong { color: #fff; }

.txfva-shell--dashboard .txfva-setup-manager { display: grid; gap: 14px; }
.txfva-shell--dashboard .txfva-setup-manager__item {
  border: 1px solid #E7DCCB; border-left: 3px solid #07121E; border-radius: 10px;
  padding: 12px 16px 16px; background: #fffdf9;
}
.txfva-shell--dashboard .txfva-setup-manager__item.is-extra { border-left-color: #E04F1A; }
.txfva-shell--dashboard .txfva-setup-manager__item legend { font: 600 13px Inter; color: var(--txfva-ink); padding: 0 6px; margin-left: -6px; }
.txfva-shell--dashboard .txfva-setup-extra-tag {
  display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  background: rgba(224,79,26,.14); color: #b23a12; font: 600 11px Inter;
}
.txfva-shell--dashboard .txfva-setup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 10px; }
.txfva-shell--dashboard .txfva-setup-grid > label,
.txfva-shell--dashboard .txfva-setup-full { display: block; margin: 0; }
.txfva-shell--dashboard .txfva-setup-grid > label > span,
.txfva-shell--dashboard .txfva-setup-full > span { display: block; margin-bottom: 5px; font: 600 12px Inter; color: #55615D; text-transform: none; letter-spacing: 0; }
.txfva-shell--dashboard .txfva-setup-full { margin-top: 12px; }
.txfva-shell--dashboard .txfva-setup-manager__checkbox { display: flex; align-items: center; gap: 10px; margin-top: 22px; }

.txfva-shell--dashboard .txfva-setup-photo { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; flex-wrap: wrap; }
.txfva-shell--dashboard .txfva-setup-photo__thumb {
  width: 96px; height: 96px; flex: 0 0 96px; border-radius: 8px; overflow: hidden;
  background: #efe5d7; border: 1px solid #E7DCCB; display: flex; align-items: center; justify-content: center;
}
.txfva-shell--dashboard .txfva-setup-photo__thumb img { width: 100%; height: 100%; object-fit: cover; }
.txfva-shell--dashboard .txfva-setup-photo__thumb.is-empty span { font: 500 12px Inter; color: #a8a090; }
.txfva-shell--dashboard .txfva-setup-photo__field { flex: 1 1 220px; }

/* Member login — give the WP login form the brand font (was falling back to browser default) */
body.txfva-member-login-page .txfva-card--login #loginform,
body.txfva-member-login-page .txfva-card--login #loginform label,
body.txfva-member-login-page .txfva-card--login #loginform input,
body.txfva-member-login-page .txfva-card--login #loginform .button {
  font-family: Inter, system-ui, -apple-system, sans-serif;
}
body.txfva-member-login-page .txfva-card--login #loginform label { font-weight: 600; }

/* Member login — fully self-branded (no Bootstrap, no browser-default dependency) */
body.txfva-member-login-page .txfva-card--login #loginform input[type="submit"],
body.txfva-member-login-page .txfva-card--login #loginform .button {
  display: block; width: 100%; margin-top: 4px;
  background: #E04F1A; color: #fff; border: 1px solid #E04F1A; border-radius: 8px;
  padding: 12px 20px; font: 600 15px Inter, system-ui, sans-serif; line-height: 1.2;
  height: auto; cursor: pointer; text-transform: none; letter-spacing: 0;
  text-shadow: none; box-shadow: none;
}
body.txfva-member-login-page .txfva-card--login #loginform input[type="submit"]:hover,
body.txfva-member-login-page .txfva-card--login #loginform .button:hover { background: #c8420f; border-color: #c8420f; }
body.txfva-member-login-page .txfva-card--login #loginform .login-remember label {
  display: flex; align-items: center; gap: 8px; font-weight: 400;
}
body.txfva-member-login-page .txfva-card--login #loginform .login-remember input[type="checkbox"] {
  width: 18px; height: 18px; min-height: 0; accent-color: #E04F1A;
}

/* ===== Member sign-in — ink-framed treatment ===== */
body.txfva-member-login-page .txfva-shell__intro h1 { font-family: var(--display, Georgia, serif); color: var(--txfva-ink); }
body.txfva-member-login-page .txfva-login-layout { align-items: stretch; }
body.txfva-member-login-page .txfva-card--login {
  background: #fff; border: 1px solid #E7DCCB; border-radius: 12px; padding: 28px;
}
body.txfva-member-login-page .txfva-card--login h2 { font-family: var(--display, Georgia, serif); color: var(--txfva-ink); }
/* the note card becomes the deep-ink brand panel */
body.txfva-member-login-page .txfva-card--login-note {
  background: #07121E; color: #FBF4E8; border: 1px solid #07121E; border-radius: 12px; padding: 28px;
  display: flex; flex-direction: column; justify-content: center;
}
body.txfva-member-login-page .txfva-card--login-note h2,
body.txfva-member-login-page .txfva-card--login-note h3,
body.txfva-member-login-page .txfva-card--login-note strong { color: #FBF4E8; font-family: var(--display, Georgia, serif); }
body.txfva-member-login-page .txfva-card--login-note p { color: #cfc6b6; }
body.txfva-member-login-page .txfva-card--login-note .eyebrow,
body.txfva-member-login-page .txfva-card--login-note .txfva-kicker { color: #E9A06B; }
body.txfva-member-login-page .txfva-card--login-note a { color: #E9A06B; }

/* Brand unification 2026-08-09: two-orange — small labels/links use the AA-safe deeper
   ember. Contextual ink-section rules keep higher specificity and still win. */
.txfva-kicker,
.txfva-home-journal-card__link { color: var(--txfva-accent-ink, #c4492d); }
