 .member-profile-photo { width:96px; height:96px; object-fit:cover; border-radius:8px; }
 .tv-member-photo { width:48px; height:48px; object-fit:cover; border-radius:8px; float:left; margin-right:12px; }
 #member-photo-review .text-link { display:block; overflow-wrap:anywhere; }
 #member-photo-review { text-align:center; }
 #member-photo-review .member-profile-photo { display:block; margin:16px auto; border-radius:50%; border:3px solid var(--yellow); }
 #member-photo-review .text-link { margin:10px auto; }
 #photo-approval-form { display:flex; flex-direction:column; gap:14px; max-width:360px; margin:20px auto 0; text-align:left; }
 #photo-approval-form .button { align-self:center; margin-top:4px; }
 @media (max-width:600px) { .tv-member-photo { width:32px; height:32px; margin-right:6px; } }
:root {
  --bg: #111211;
  --surface: #191b19;
  --surface-2: #222522;
  --line: #343734;
  --text: #f6f7f2;
  --muted: #a5aaa2;
  --yellow: #ffd700;
  --green: #b4d7a1;
  --red: #f29889;
  --display: "Barlow Condensed", "Impact", sans-serif;
  --body: "Manrope", "Segoe UI", sans-serif;
  color-scheme: dark;
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 700;
}
h1,
h2 {
  font-family: var(--display);
}
button {
  color: inherit;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke-width: 1.7;
}
button svg,
a svg {
  vertical-align: middle;
}
a,
button {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 5px;
}
::selection {
  background: var(--yellow);
  color: #111;
}
[hidden] {
  display: none !important;
}
.muted {
  color: var(--muted);
}
.yellow-text {
  color: var(--yellow);
}
.outline-text {
  color: var(--muted);
}
.eyebrow,
.section-index {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow {
  margin-bottom: 18px;
}
.eyebrow svg {
  width: 16px;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.status-dot.offline {
  background: var(--red);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 54px;
  padding: 15px 24px;
  color: #111;
  background: var(--yellow);
  border: 1px solid var(--yellow);
  font-size: 13px;
  font-weight: 800;
  border-radius: 2px;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.button:hover {
  background: #ffe442;
  border-color: #ffe442;
}
.button svg {
  width: 19px;
}
.button.small {
  min-height: 42px;
  padding: 10px 16px;
  gap: 12px;
  font-size: 12px;
}
.button.secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}
.button.secondary:hover {
  background: var(--surface-2);
  border-color: #636763;
}
.button.dark {
  color: var(--text);
  background: #111;
  border-color: #111;
}
.button.danger {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.button.danger:hover {
  background: #d84530;
  border-color: #d84530;
}
.button.full {
  width: 100%;
  justify-content: space-between;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 0;
}
.text-link:hover {
  color: var(--yellow);
}
.icon-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 1px solid var(--line);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}
.icon-btn:hover {
  background: var(--surface-2);
  color: var(--yellow);
}
.icon-btn.danger:hover {
  color: var(--red);
  border-color: rgba(242, 152, 137, 0.5);
}
.icon-btn svg {
  width: 16px;
  height: 16px;
}
.badge {
  font-size: 10px;
  font-weight: 800;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 3px;
  line-height: 1.4;
}
.badge.green {
  background: #26362a;
  color: #b9dfa7;
}
.badge.yellow {
  background: #3b3618;
  color: #ffe44d;
}
.badge.red {
  background: #3c2723;
  color: #f7a497;
}
.badge.neutral {
  background: #2a2d2a;
  color: #bdc2ba;
}
.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  margin: 18px 0;
  font-size: 13px;
  line-height: 1.65;
  border-left: 3px solid;
  overflow-wrap: anywhere;
}
.alert.error {
  background: #33221f;
  color: #ffb5a9;
  border-color: #ee9181;
}
.alert.success {
  background: #243224;
  color: #c5e1b7;
  border-color: #a6cf93;
}
.feedback-dialog {
  position: fixed;
  max-width: min(440px, calc(100vw - 32px));
  width: 100%;
  padding: 24px;
  border: 1px solid #555b50;
  border-radius: 6px;
  background: #1b1d1a;
  color: #f3f5ef;
  box-shadow: 0 24px 80px #0009;
}
.feedback-dialog::backdrop { background: #000b; }
.feedback-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.feedback-heading h2 { margin: 0; font-size: 20px; }
.feedback-dialog .alert { margin: 20px 0; }
.feedback-dialog > form:last-child { display: flex; justify-content: flex-end; }
.confirmation-actions { display: flex; justify-content: flex-end; gap: 8px; }
.install-banner {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(560px, calc(100% - 32px));
  padding: 12px 14px 12px 18px;
  border: 1px solid #555b50;
  border-radius: 6px;
  background: #1b1d1a;
  color: #f3f5ef;
  box-shadow: 0 12px 36px #0009;
}
.install-banner p { flex: 1; margin: 0; font-size: 14px; line-height: 1.4; }
.install-banner .button, .install-banner .icon-btn { flex: none; }
@media (max-width: 400px) {
  .install-banner { gap: 8px; padding: 10px; }
  .install-banner p { font-size: 12px; }
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 16px;
  background: var(--yellow);
  color: #111;
}
.skip-link:focus {
  top: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}
.brand > span {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
}
.brand > span > span {
  display: block;
  font: 8px var(--body);
  font-weight: 700;
  margin-top: 5px;
}
.brand b {
  color: var(--yellow);
  margin: 0 4px;
}
.public-header {
  height: 88px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.public-header nav {
  display: flex;
  gap: 35px;
  font-size: 12px;
  font-weight: 600;
  color: #c0c4bc;
}
.public-header nav a:hover {
  color: var(--yellow);
}
.header-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  border: 1px solid #777b71;
  padding: 13px 16px;
  font-size: 11px;
  font-weight: 800;
}
.header-cta:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.hero {
  position: relative;
  min-height: 620px;
  height: calc(100svh - 164px);
  max-height: 800px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 54%;
  z-index: -3;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(9, 11, 10, 0.89) 0%,
      rgba(9, 11, 10, 0.7) 35%,
      rgba(9, 11, 10, 0.1) 80%
    ),
    linear-gradient(0deg, rgba(9, 11, 10, 0.9), transparent 30%);
  z-index: -2;
}
.hero-content {
  padding: 45px 6% 100px;
  animation: rise-in 0.7s ease both;
}
.hero .eyebrow {
  font-size: 10px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: 120px;
  font-weight: 800;
  line-height: 0.88;
  margin: 0 0 28px;
  max-width: 850px;
}
.hero h1 span {
  color: var(--yellow);
}
.hero-description {
  font-size: 14px;
  line-height: 1.9;
  color: #d5d9d0;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 28px;
}
.hero-secondary {
  background: none;
  color: inherit;
  border: 0;
  border-bottom: 1px solid #92988c;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
}
.hero-secondary:hover {
  color: var(--yellow);
}
@media (display-mode: standalone) {
  #install-app { display: none; }
}
.hero-side-label {
  position: absolute;
  right: 3%;
  top: 20%;
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 800;
  color: #eee;
}
.hero-bottom {
  position: absolute;
  bottom: 24px;
  left: 6%;
  right: 6%;
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 10px;
  font-weight: 700;
}
.hero-bottom b {
  color: var(--yellow);
  margin-right: 12px;
}
.hero-location {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c6cdc1;
  margin-left: auto;
}
.hero-location svg {
  width: 15px;
}
.photo-credit {
  position: absolute;
  bottom: -15px;
  right: 0;
  font-size: 8px;
  color: #d0d0c9;
  font-weight: 400;
}
.statement-band {
  min-height: 62px;
  background: var(--yellow);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 25px;
  padding: 14px 4%;
  overflow: hidden;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
  white-space: nowrap;
}
.statement-band svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}
.section-wrap {
  padding: 88px 6%;
}
.progress-section {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 90px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 15% 80%, #20251c 0, transparent 60%);
}
.progress-intro h2 {
  font-size: 66px;
  line-height: 0.96;
  margin-bottom: 22px;
}
.progress-intro > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.privacy-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: #afb7a7;
  margin-top: 28px;
}
.member-account-link { margin-top: 22px; color: var(--yellow); }
.privacy-note svg {
  width: 15px;
  height: 15px;
}
.progress-tool {
  align-self: center;
  padding: 28px;
  background: #1d201c;
  border: 1px solid #3b4036;
  border-top: 3px solid var(--yellow);
  border-radius: 3px;
}
.progress-tool > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.progress-tool > p:last-child {
  margin: 18px 0 0;
}
.tool-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.tool-heading h3 {
  font-size: 19px;
  margin: 0;
}
.live-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  font-weight: 800;
  color: #c2cbb9;
}
.live-label .status-dot {
  background: var(--green);
  width: 5px;
  height: 5px;
}
.lookup-fields {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  color: #c5c9c1;
}
input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #3d4139;
  border-radius: 3px;
  background: #121411;
  color: var(--text);
  padding: 12px 13px;
  min-height: 46px;
  font-size: 13px;
}
input::placeholder,
textarea::placeholder {
  color: #73796f;
}
textarea {
  resize: vertical;
}
input[type="checkbox"] {
  accent-color: var(--yellow);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0;
}
input[type="file"] {
  font-size: 12px;
  padding: 10px;
  max-width: 100%;
}
input::file-selector-button {
  border: 0;
  border-radius: 2px;
  background: #363c30;
  color: var(--text);
  padding: 8px 10px;
  margin-right: 12px;
  cursor: pointer;
}
.tool-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
  font-size: 9px;
  color: var(--muted);
}
.tool-foot > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tool-foot svg {
  width: 12px;
  height: 12px;
}
.demo-hint {
  color: #c8cfbd;
}
.lookup-result {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
}
.result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.result-heading h3 {
  margin: 0;
  font-size: 17px;
}
.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0;
}
.result-stats > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-right: 1px solid var(--line);
  padding-left: 18px;
}
.result-stats > div:first-child {
  padding-left: 0;
}
.result-stats > div:last-child {
  border: 0;
}
.result-stats strong {
  font-family: var(--display);
  font-size: 43px;
  color: var(--yellow);
}
.result-stats span {
  font-size: 10px;
  color: var(--muted);
}
.membership-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 10px;
}
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
}
.section-title h2 {
  font-size: 48px;
  line-height: 1.08;
  margin: 0;
}
.section-title > .text-link {
  margin-bottom: 4px;
  white-space: nowrap;
}
.services-section {
  background: #161816;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.services-grid article {
  border-top: 1px solid #515549;
  padding-top: 24px;
  min-width: 0;
}
.service-top {
  display: flex;
  justify-content: space-between;
  color: #727969;
  margin-bottom: 45px;
  font-size: 12px;
}
.service-top svg {
  width: 30px;
  height: 30px;
  color: var(--yellow);
}
.services-grid h3 {
  font-family: var(--display);
  font-size: 29px;
  margin-bottom: 16px;
}
.services-grid p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 320px;
  min-height: 70px;
}
.service-tag {
  font-size: 9px;
  font-weight: 700;
  color: #cdd3c5;
}
.plans-section {
  background: #1b201a;
}
.plans-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.plans-list article {
  border-top: 2px solid var(--yellow);
  padding-top: 20px;
  min-width: 0;
}
.plans-list h3 {
  font-family: var(--display);
  font-size: 25px;
  margin: 0 0 16px;
}
.plans-list strong {
  display: block;
  font-size: 32px;
  color: var(--yellow);
}
.plans-list strong small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.plans-list p, .plans-list article > small {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.plans-benefits {
  margin-top: 30px;
  font-weight: 700;
  color: var(--yellow);
}
.community-section {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  border-top: 1px solid var(--line);
}
.community-intro h2 {
  font-size: 56px;
  line-height: 1.05;
}
.community-intro > p:not(.eyebrow) {
  line-height: 1.8;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 30px;
}
.community-ranking {
  align-self: center;
}
.community-ranking .section-heading {
  margin-top: 0;
}
.community-row {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.community-place {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  color: #77806d;
  width: 30px;
}
.community-row:first-of-type .community-place {
  color: var(--yellow);
}
.member-avatar {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2b3126;
  color: #c2cdb6;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.community-name {
  font-weight: 700;
  flex: 1;
  font-size: 15px;
}
.community-name small {
  display: block;
  font-weight: 400;
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.community-row > strong {
  font: 600 34px var(--display);
  text-align: center;
}
.community-row > strong small {
  display: block;
  font: 8px var(--body);
  color: var(--muted);
}
.community-row > svg {
  margin-left: 12px;
  color: var(--yellow);
  width: 19px;
}
.ranking-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  margin-top: 23px;
  color: #b9c4af;
}
.ranking-note svg {
  width: 14px;
}
.join-band {
  background: var(--yellow);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 55px;
  padding-bottom: 55px;
}
.join-band h2 {
  font-size: 76px;
  line-height: 0.92;
  margin: 0;
}
.join-band h2 span {
  color: #111;
  -webkit-text-stroke: 1px #111;
  -webkit-text-fill-color: transparent;
}
.join-band .eyebrow {
  font-size: 10px;
}
.join-band .button {
  min-width: 290px;
}
.location-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 10px;
  font-weight: 600;
}
.location-link svg {
  width: 14px;
  height: 14px;
}
.public-footer {
  padding: 36px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.public-footer > .brand > span {
  font-size: 20px;
}
.public-footer > .brand img {
  width: 38px;
  height: 38px;
}
.public-footer > span {
  font-size: 10px;
  color: var(--muted);
}
.public-footer > div {
  display: flex;
  gap: 22px;
  align-items: center;
}
.public-footer .text-link {
  font-size: 10px;
}
.auth-body {
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 15% 55%, #282d20 0, transparent 65%), #111211;
}
.auth-main {
  min-height: calc(100svh - 88px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 100px;
  padding: 65px 9%;
}
.auth-intro h1 {
  font-size: 96px;
  line-height: 0.95;
  margin-bottom: 36px;
}
.auth-intro h1 span {
  color: var(--yellow);
}
.auth-intro > p:last-child {
  color: var(--muted);
  font-size: 12px;
}
.auth-form {
  max-width: 440px;
  width: 100%;
}
.auth-form h2 {
  font-family: var(--display);
  font-size: 46px;
  margin: 20px 0 8px;
}
.auth-form h1 {
  font-size: 40px;
}
.auth-form > p {
  line-height: 1.8;
  font-size: 13px;
}
.auth-form form {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin-top: 32px;
}
.auth-form .form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 26px;
}
.form-note svg {
  width: 13px;
  height: 13px;
}
.account-main {
  padding: 70px 24px;
  display: flex;
  justify-content: center;
}
.account-main .text-link {
  margin-top: 26px;
}
.admin-body {
  background: #131513;
}
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 240px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  padding: 30px 20px;
  background: #10120f;
  z-index: 10;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: #737b66 #10120f;
}
.sidebar > * { flex-shrink: 0; }
.sidebar { transition:transform 220ms ease, visibility 220ms; }
.admin-workspace { transition:margin-left 220ms ease; }
.sidebar-toggle { flex-shrink: 0; }
.admin-top > span { margin-right: auto; }
.admin-body.sidebar-collapsed .sidebar { transform: translateX(-100%); visibility: hidden; }
.admin-body.sidebar-collapsed .admin-workspace { margin-left: 0; }
@media (max-width: 900px) {
  .admin-body.sidebar-collapsed .sidebar { display: none; }
  .sidebar, .admin-workspace { transition:none; }
}
@media (prefers-reduced-motion: reduce) {
  .sidebar, .admin-workspace { transition:none; }
}
.sidebar .brand {
  gap: 9px;
}
.sidebar .brand img {
  width: 35px;
  height: 35px;
}
.sidebar .brand > span {
  font-size: 22px;
}
.sidebar .brand > span > span {
  font-size: 7px;
}
.sidebar-label {
  font-size: 8px;
  color: #767f6c;
  font-weight: 800;
  margin: 52px 14px 20px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sidebar nav > a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  padding: 13px 12px;
  color: #a7afa0;
  border-radius: 3px;
  line-height: 1.5;
}
.sidebar nav > a svg {
  width: 17px;
  height: 17px;
}
.sidebar nav > a:hover {
  color: #fff;
  background: #1c211a;
}
.sidebar nav > a.active {
  background: #2a2d19;
  color: var(--yellow);
  box-shadow: inset 2px 0 0 var(--yellow);
}
.sidebar-tv {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 35px 8px 20px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
}
.sidebar-tv > svg:last-child {
  width: 14px;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.sidebar-bottom > a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
}
.sidebar-bottom > a > svg {
  width: 24px;
  height: 24px;
  color: #a8b09e;
}
.sidebar-bottom small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.sidebar-bottom .icon-btn {
  border: 0;
  width: 26px;
  min-width: 26px;
}
.admin-workspace {
  margin-left: 240px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
  font-size: 10px;
  font-weight: 600;
}
.admin-top > .top-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aeb6a4;
  font-size: 9px;
  white-space: nowrap;
}
.top-status .status-dot {
  width: 5px;
  height: 5px;
  background: var(--green);
}
.top-status time {
  margin-left: 17px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.admin-main {
  padding: 36px 34px 55px;
  max-width: 1600px;
  width: 100%;
  margin: auto;
  flex: 1;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 35px;
}
.page-heading .eyebrow {
  font-size: 8px;
  color: var(--muted);
  margin-bottom: 9px;
}
.page-heading h1 {
  font-size: 39px;
  margin: 0;
  line-height: 1.1;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  margin-bottom: 32px;
  background: #191d17;
}
.metrics > article {
  padding: 20px 20px 23px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.metrics > article:last-child {
  border: 0;
}
.metrics article > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  color: #b1baa7;
}
.metrics svg {
  width: 16px;
  height: 16px;
  color: #788469;
}
.metrics article > strong {
  font: 600 48px var(--display);
  display: block;
  margin: 12px 0;
}
.metrics article > small {
  font-size: 8px;
  color: #8c9782;
  line-height: 1.6;
  display: block;
}
.rate-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 190px) minmax(140px, 190px) minmax(0, 1fr);
  align-items: end;
  gap: 18px;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}
.rate-calculator h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 15px;
}
.rate-calculator h2 svg {
  width: 18px;
  height: 18px;
  color: var(--yellow);
}
.rate-calculator p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.rate-calculator .button {
  margin-top: 14px;
}
.rate-history-heading {
  flex-wrap: wrap;
}
.rate-history-heading .button {
  margin-left: auto;
}
.rate-result {
  min-width: 0;
  display: grid;
  gap: 8px;
}
.rate-result span {
  color: var(--muted);
  font-size: 11px;
}
.rate-result output {
  color: var(--yellow);
  font: 600 27px var(--display);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}
.data-section {
  margin-top: 28px;
  min-width: 0;
}
.dashboard-grid .data-section {
  margin-top: 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 20px;
}
.section-heading h2 {
  font-family: var(--body);
  font-size: 15px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-heading h2 svg {
  width: 17px;
  color: var(--yellow);
}
.section-heading .text-link {
  font-size: 9px;
  gap: 5px;
}
.section-heading .text-link svg {
  width: 14px;
}
.section-heading > .muted {
  font-size: 10px;
}
.report-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.trainer-chart {
  position: relative;
  height: 320px;
  margin-bottom: 16px;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--line);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  text-align: left;
}
th {
  font-size: 9px;
  font-weight: 500;
  color: #969f8d;
  background: #1a1e18;
}
td,
th {
  padding: 16px 13px;
  border-bottom: 1px solid #2a3026;
  white-space: nowrap;
}
td {
  color: #cbd2c3;
}
td strong {
  font-weight: 600;
  color: #e5eadf;
}
td small {
  display: block;
  font-size: 9px;
  color: #8e9983;
  margin-top: 5px;
}
td small.usd-equiv,
.metrics article > small.usd-equiv {
  font-size: 16px;
}
tbody tr:hover {
  background: #1b2018;
}
td .badge {
  font-size: 8px;
}
td .icon-btn {
  width: 29px;
  height: 29px;
  min-width: 29px;
}
.empty {
  text-align: center;
  padding: 38px 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.mini-ranking {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.mini-ranking li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 12px;
  border-bottom: 1px solid #2a3026;
  font-size: 11px;
}
.mini-ranking .rank-number {
  font-family: var(--display);
  font-size: 19px;
  color: #758066;
  width: 22px;
}
.mini-ranking li:first-child {
  background: #272b19;
}
.mini-ranking li:first-child .rank-number {
  color: var(--yellow);
}
.mini-ranking li > strong {
  margin-left: auto;
  color: var(--yellow);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.mini-ranking li > strong small {
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
}
.import-strip {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: #23281c;
  border: 1px solid #414b30;
}
.strip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #343e26;
  color: var(--yellow);
  flex-shrink: 0;
}
.import-strip h3 {
  font-size: 14px;
  margin-bottom: 6px;
}
.import-strip p {
  font-size: 10px;
  color: #b2bea5;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}
.import-strip .button {
  margin-left: auto;
  flex-shrink: 0;
}
.recovery-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.recovery-list > a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.recovery-list small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
}
.recovery-list svg:last-child {
  margin-left: auto;
  width: 15px;
}
.admin-footer {
  padding: 22px 34px;
  border-top: 1px solid var(--line);
  font-size: 8px;
  color: #7c8970;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}
.admin-footer span {
  font-weight: 400;
}
.search-field {
  position: relative;
  max-width: 380px;
  flex: 1;
}
.search-field input {
  padding-left: 38px;
  font-size: 11px;
  background: #1a1e17;
  min-height: 46px;
}
.search-field > svg {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 16px;
  height: 16px;
  color: #859476;
}
.member-toolbar {
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-end;
}
.member-filters { display: flex; flex: 1 1 700px; min-width: 0; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.member-filters > .button { min-height: 46px; }
.member-sort-direction { width: 46px; height: 46px; flex: 0 0 46px; }
.table-sort { display: inline-flex; align-items: center; gap: 5px; color: inherit; text-decoration: none; white-space: nowrap; }
.table-sort:hover { color: #c4d69a; }
.table-sort svg { width: 13px; height: 13px; flex: 0 0 13px; opacity: .72; }
.member-toolbar .search-field {
  flex: 1 1 230px;
  min-width: 0;
}
.member-toolbar .search-field::before {
  content: 'Buscar miembros';
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #c5c9c1;
}
.member-toolbar .search-field > svg {
  top: auto;
  bottom: 15px;
}
.membership-status-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  font-size: 11px;
}
.membership-status-field select {
  min-height: 46px;
  min-width: 150px;
}
.membership-status-field input[type="date"] {
  min-height: 46px;
  min-width: 150px;
}
.member-toolbar > .button {
  margin-left: auto;
}
.member-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 18px 0; font-size: 11px; color: var(--muted); }
.member-pagination > div { display: flex; gap: 8px; }
.members-scroll #members-table th:last-child,
.members-scroll #members-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 1;
  background: #1a1e18;
  box-shadow: -8px 0 16px #0b0d0a99;
}
.member-actions {
  min-width: 94px;
}
.member-actions .icon-btn + .icon-btn {
  margin-left: 6px;
}
.member-toggle-form { display: inline-flex; margin: 0 0 0 6px; }
#members-table tbody tr.member-disabled td:not(.member-actions) { opacity: .5; }
.payment-correction summary, .date-correction summary { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; color: #c4d69a; font-size: 11px; white-space: nowrap; }
.payment-correction summary svg, .date-correction summary svg { width: 13px; height: 13px; }
.payment-correction-form, .date-correction-form { display: grid; gap: 10px; }
.date-correction-form { min-width: 220px; }
.payment-correction-form label, .date-correction-form label { display: grid; gap: 5px; font-size: 11px; }
.payment-correction-form input,
.payment-correction-form select,
.payment-correction-form textarea,
.date-correction-form input,
.date-correction-form textarea { width: 100%; min-width: 0; }
.payment-correction-form .muted { margin: 0; font-size: 10px; line-height: 1.5; }
.payment-correction-dialog { width: min(600px, calc(100% - 32px)); }
.admin-form-dialog {
  width: min(920px, calc(100% - 32px));
  max-width: none;
  max-height: min(860px, calc(100dvh - 32px));
  padding: 24px;
  overflow: auto;
  border: 1px solid #555b50;
  border-radius: 6px;
  color: #f3f5ef;
  background: #1b1d1a;
  box-shadow: 0 24px 80px #0009;
}
.admin-form-dialog::backdrop { background: #000b; }
.admin-form-dialog .dialog-close { position: sticky; top: 0; z-index: 2; float: right; }
.admin-form-dialog .form-section { clear: both; margin: 0; padding: 0; border: 0; }
.admin-form-dialog .section-heading { padding-right: 50px; }
.admin-form-dialog .form-grid { max-width: none; }
.admin-form-dialog .table-scroll { max-width: 100%; }
.streak {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: #e1cd61;
}
.streak svg {
  width: 15px;
  height: 15px;
}
.form-section {
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 28px;
  scroll-margin-top: 28px;
}
.trainer-admin-list article {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.trainer-admin-list img { width: 64px; height: 64px; object-fit: cover; }
.trainer-admin-list article > div { flex: 1; min-width: 0; display: grid; gap: 5px; }
.trainer-admin-list small { overflow-wrap: anywhere; }
.trainer-admin-list .badge { width: max-content; }
.trainers-section { padding-top: 72px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.trainers-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), min(100%, 280px))); justify-content: center; gap: 24px; }
.trainers-list article { min-width: 0; }
.trainers-list img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.trainers-list article > div { padding: 14px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.trainers-list h3 { margin: 0; font-family: var(--display); font-size: 24px; }
.trainers-list a { display: inline-flex; align-items: center; gap: 5px; color: var(--yellow); font-size: 12px; }
.trainers-list a svg { width: 16px; height: 16px; }
.form-section.first {
  margin-top: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
  max-width: 950px;
}
.form-grid > .wide,
.form-actions {
  grid-column: 1/-1;
}
.member-picker {
  min-width: 0;
}
.member-picker label {
  display: block;
  margin-bottom: 6px;
}
.member-picker input {
  margin-bottom: 14px;
}
.form-actions {
  padding-top: 3px;
}
.form-section .table-scroll {
  margin-top: 28px;
}
.check-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1.7;
  min-height: 38px;
}
.payment-method-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
fieldset {
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 3px;
  margin: 0;
}
legend {
  font-size: 11px;
  padding: 0 8px;
}
.agreement-fieldset {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  grid-column: 1 / -1;
}
.agreement-fieldset legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.agreement-fieldset > p,
.agreement-fieldset > small {
  grid-column: 1 / -1;
  margin: 0;
}
.agreement-fieldset label[hidden] {
  display: none;
}
.day-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.upload-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  padding: 30px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.upload-section h2 {
  font-size: 42px;
  margin: 16px 0;
}
.upload-section p {
  font-size: 11px;
  line-height: 1.8;
}
.upload-section .text-link {
  color: var(--yellow);
  margin-top: 15px;
  font-size: 11px;
}
.file-field {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px;
  border: 1px dashed #5c6a4c;
  background: #1a2016;
  margin-bottom: 16px;
  text-align: center;
}
.file-field > svg {
  color: var(--yellow);
  width: 28px;
  height: 28px;
}
.file-field input {
  background: transparent;
}
.announcement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.announcement-card {
  background: #1d2219;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-width: 0;
}
.announcement-card > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  gap: 10px;
}
.announcement-card h3 {
  font: 600 26px/1.1 var(--display);
  overflow-wrap: anywhere;
}
.announcement-card p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.announcement-card footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 9px;
  color: #cbd7bb;
  margin-top: auto;
}
.tv-body {
  height: 100svh;
  overflow: hidden;
  background: #10130e;
}
.tv-screen {
  height: 100%;
  display: grid;
  grid-template-rows: 96px minmax(0, 1fr) 62px 3px;
}
.tv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 20px 3%;
  border-bottom: 1px solid #37402f;
}
.tv-header-center {
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #aebb9e;
}
.tv-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.tv-clock time {
  font: 600 34px var(--display);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.tv-clock > span {
  color: #9eac8e;
  font-size: 10px;
}
.tv-stage {
  min-height: 0;
  overflow: hidden;
  position: relative;
  background: linear-gradient(
    120deg,
    transparent 45%,
    #1b2214 45%,
    #141a10 75%,
    transparent 75%
  );
}
.tv-ranking-layout {
  display: grid;
  grid-template-columns: 0.75fr 2fr;
  height: 100%;
  padding: 32px 3%;
  gap: 45px;
  animation: rise-in 0.5s ease both;
}
.tv-ranking-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.tv-ranking-intro > .eyebrow {
  font-size: 9px;
  color: #becaaf;
}
.tv-ranking-intro h1 {
  font-size: 68px;
  font-weight: 700;
  line-height: 0.94;
  margin-bottom: 30px;
}
.tv-ranking-intro h1 > span {
  display: block;
}
.tv-subtitle {
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}
.tv-month {
  font-size: 10px;
  color: var(--muted);
}
.tv-intro-line {
  height: 3px;
  width: 45px;
  background: var(--yellow);
  margin: 20px 0;
}
.tv-ranking-intro > .muted {
  font-size: 11px;
  line-height: 1.8;
  max-width: 225px;
  margin: 0;
}
.tv-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(var(--board-rows, 5), minmax(0, 1fr));
  grid-auto-flow: column;
  gap: 10px 16px;
  min-height: 0;
}
.tv-board.sparse { grid-template-columns: minmax(0, 1fr); }
.tv-board.sparse .tv-rank-identity h2 { font-size: clamp(20px, 2.2vw, 36px); }
.tv-board.sparse .tv-rank-identity span { font-size: clamp(9px, 1vw, 14px); }
.tv-board.sparse .tv-rank-number { font-size: clamp(24px, 2.6vw, 44px); width: clamp(25px, 3vw, 48px); }
.tv-board.sparse .tv-rank-score strong { font-size: clamp(40px, 4vw, 70px); }
.tv-rank-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #1f2719;
  border: 1px solid #35402b;
  padding: 12px 16px;
  min-width: 0;
  overflow: hidden;
}
.tv-rank-row.leader {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #10130b;
}
.tv-rank-number {
  font: 500 25px var(--display);
  color: #90a17d;
  flex-shrink: 0;
  width: 25px;
}
.leader .tv-rank-number {
  color: #6e6212;
}
.tv-rank-identity {
  min-width: 0;
  flex: 1;
}
.tv-rank-identity h2 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  margin: 0 0 7px;
  overflow-wrap: anywhere;
}
.tv-rank-identity span {
  font-size: 9px;
  color: #a7b797;
  display: block;
}
.leader .tv-rank-identity span {
  color: #685d18;
}
.tv-rank-score {
  text-align: right;
  flex-shrink: 0;
}
.tv-rank-score strong {
  font: 600 40px/1 var(--display);
  display: block;
  color: var(--yellow);
}
.tv-rank-score small {
  font-size: 7px;
  color: #a7b797;
  font-weight: 700;
}
.leader .tv-rank-score strong,
.leader .tv-rank-score small {
  color: #111;
}
.tv-empty {
  grid-column: 1/-1;
  grid-row: 1/-1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c6d4b7;
  font: 500 42px var(--display);
}
.tv-birthday {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.8fr);
  gap: 45px;
  padding: 34px 5%;
  background: radial-gradient(circle at 18% 22%, #38411e 0 2px, transparent 3px), linear-gradient(115deg, #171d12 0 37%, #242c19 37% 100%);
  background-size: 34px 34px, auto;
  animation: rise-in 0.5s ease both;
}
.tv-birthday-intro { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.tv-birthday-intro .eyebrow { color: #ced9bd; font-size: 9px; }
.tv-birthday-intro h1 { font-size: 78px; line-height: .9; margin: 18px 0 10px; }
.tv-birthday-intro > strong { color: var(--yellow); font: 600 28px/1.05 var(--display); max-width: 300px; }
.tv-birthday-intro .tv-month { margin-top: 22px; }
.tv-birthday-intro .muted { font-size: 11px; line-height: 1.8; max-width: 280px; margin-top: 20px; }
.tv-birthday-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--birthday-rows, 5), minmax(0, 1fr)); gap: 12px; min-height: 0; }
.tv-birthday-board.couple { grid-template-columns: minmax(0, 1fr); }
.tv-birthday-board.sparse .tv-birthday-date { width: clamp(55px, 6vw, 96px); flex-basis: clamp(55px, 6vw, 96px); }
.tv-birthday-board.sparse .tv-birthday-date strong { font-size: clamp(42px, 4.5vw, 78px); }
.tv-birthday-board.sparse .tv-birthday-name p { font-size: clamp(8px, .9vw, 12px); }
.tv-birthday-board.sparse .tv-birthday-name h2 { font-size: clamp(20px, 2.4vw, 36px); }
.tv-birthday-board.couple .tv-birthday-card { justify-content: center; gap: clamp(16px, 3vw, 40px); }
.tv-birthday-board.couple .tv-birthday-date { width: clamp(64px, 8vw, 120px); flex-basis: clamp(64px, 8vw, 120px); }
.tv-birthday-board.couple .tv-birthday-date strong { font-size: clamp(48px, 6vw, 96px); }
.tv-birthday-board.couple .tv-birthday-name { flex: 0 1 360px; max-width: 60%; }
.tv-birthday-board.couple .tv-birthday-name h2 { font-size: clamp(24px, 3.2vw, 50px); }
.tv-birthday-card { min-width: 0; display: flex; align-items: center; gap: 18px; padding: 14px 18px; background: #161c12e8; border: 1px solid #465337; overflow: hidden; }
.tv-birthday-date { width: 62px; flex: 0 0 62px; text-align: center; border-right: 1px solid #536044; padding-right: 17px; }
.tv-birthday-date strong { display: block; color: var(--yellow); font: 600 42px/1 var(--display); }
.tv-birthday-date span { display: block; color: #adba9e; font-size: 8px; margin-top: 5px; }
.tv-birthday-name { min-width: 0; flex: 1; }
.tv-birthday-name p { color: #aebd9d; font-size: 7px; font-weight: 800; margin-bottom: 6px; }
.tv-birthday-name h2 { font-family: var(--body); font-size: 18px; line-height: 1.15; overflow-wrap: anywhere; max-height: 2.3em; overflow: hidden; }
.tv-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 3%;
  border-top: 1px solid #37402f;
  font-size: 8px;
  font-weight: 700;
}
.tv-footer > div:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}
.tv-footer-motto {
  color: #a5b693;
}
.tv-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}
.tv-controls > .icon-btn {
  width: 29px;
  min-width: 29px;
  height: 29px;
}
.tv-controls > #tv-position {
  margin-right: 10px;
  color: #aebf9c;
}
.tv-controls .icon-btn svg {
  width: 14px;
  height: 14px;
}
.tv-footer .badge {
  font-size: 7px;
}
.tv-screen > progress {
  appearance: none;
  width: 100%;
  height: 3px;
  border: 0;
  background: #303a26;
}
.tv-screen > progress::-webkit-progress-bar {
  background: #303a26;
}
.tv-screen > progress::-webkit-progress-value {
  background: var(--yellow);
}
.tv-screen > progress::-moz-progress-bar {
  background: var(--yellow);
}
.fullscreen-needed {
  border-color: var(--yellow);
  color: var(--yellow);
}
.tv-announcement {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  isolation: isolate;
  padding: 36px 7%;
  overflow: hidden;
  animation: rise-in 0.5s ease both;
}
.tv-announcement-image {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  opacity: 0.65;
}
.tv-announcement:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #11190ced 0%,
    #11190cc9 45%,
    #11190c26 100%
  );
  z-index: -2;
}
.tv-announcement-content {
  max-width: 850px;
  min-width: 0;
}
.tv-announcement .eyebrow {
  color: var(--yellow);
}
.tv-announcement h1 {
  font-size: 86px;
  font-weight: 700;
  line-height: 0.97;
  overflow-wrap: anywhere;
  max-width: 900px;
  margin: 0 0 26px;
  text-transform: uppercase;
}
.tv-announcement-copy {
  font-size: 19px;
  line-height: 1.6;
  max-width: 750px;
  overflow-wrap: anywhere;
  color: #d4deca;
}
.tv-offer {
  display: inline-block;
  color: #111;
  background: var(--yellow);
  font-size: 20px;
  padding: 14px 24px;
  margin: 10px 0 20px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.tv-announcement-sign {
  font-size: 10px;
  margin-top: 20px;
  color: #b3c19f;
}
.tv-announcement.product .tv-announcement-image {
  object-fit: contain;
  width: 45%;
  height: 80%;
  left: auto;
  right: 3%;
  top: 10%;
  opacity: 0.55;
}
.tv-announcement.product .tv-announcement-content {
  max-width: 62%;
}
.tv-loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7%;
  height: 100%;
}
.tv-loading h1 {
  font-size: 70px;
  line-height: 1;
}
.tv-loading > p:last-child {
  color: var(--muted);
}
.error-page {
  padding: 15vh 10%;
  max-width: 850px;
}
.error-page h1 {
  font-size: 50px;
}
.error-page p {
  line-height: 1.8;
  color: var(--muted);
}
.error-page a {
  color: var(--yellow);
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1700px) {
  .hero-content {
    padding-left: 8%;
  }
  .hero h1 {
    font-size: 150px;
  }
  .section-wrap {
    padding-left: 8%;
    padding-right: 8%;
  }
  .tv-screen {
    grid-template-rows: 125px minmax(0, 1fr) 80px 4px;
  }
  .tv-ranking-layout {
    padding: 48px 4%;
    gap: 65px;
  }
  .tv-ranking-intro h1 {
    font-size: 100px;
  }
  .tv-rank-row {
    padding: 18px 25px;
    gap: 22px;
  }
  .tv-rank-number {
    font-size: 37px;
    width: 40px;
  }
  .tv-rank-identity h2 {
    font-size: 24px;
  }
  .tv-rank-identity span {
    font-size: 13px;
  }
  .tv-rank-score strong {
    font-size: 58px;
  }
  .tv-rank-score small {
    font-size: 10px;
  }
  .tv-ranking-intro > .eyebrow,
  .tv-month,
  .tv-ranking-intro > .muted {
    font-size: 14px;
  }
  .tv-subtitle {
    font-size: 15px;
  }
  .tv-announcement h1 {
    font-size: 112px;
  }
  .tv-announcement-content {
    max-width: 1200px;
  }
  .tv-announcement-copy {
    font-size: 27px;
    max-width: 950px;
  }
  .tv-header-center {
    font-size: 14px;
  }
  .tv-footer {
    font-size: 11px;
  }
  .tv-birthday-intro h1 { font-size: 108px; }
  .tv-birthday-intro > strong { font-size: 38px; }
  .tv-birthday-name h2 { font-size: 26px; }
  .tv-birthday-date strong { font-size: 58px; }
}
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 104px;
  }
  .hero {
    min-height: 590px;
  }
  .progress-section,
  .community-section {
    gap: 45px;
  }
  .section-title h2 {
    font-size: 40px;
  }
  .section-title > .text-link {
    white-space: normal;
  }
  .sidebar {
    width: 205px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .sidebar .brand > span {
    font-size: 20px;
  }
  .sidebar .brand img {
    width: 32px;
    height: 32px;
  }
  .admin-workspace {
    margin-left: 205px;
  }
  .admin-main {
    padding: 28px 24px 40px;
  }
  .admin-top {
    padding: 0 24px;
  }
  .metrics > article {
    padding: 17px 14px;
  }
  .metrics article > span {
    font-size: 9px;
  }
  .rate-calculator {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .announcement-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tv-ranking-layout {
    gap: 25px;
  }
  .tv-ranking-intro h1 {
    font-size: 55px;
  }
  .tv-rank-row {
    padding: 10px;
    gap: 9px;
  }
  .tv-rank-identity h2 {
    font-size: 14px;
  }
  .tv-rank-score strong {
    font-size: 34px;
  }
  .tv-rank-number {
    font-size: 22px;
    width: 20px;
  }
  .tv-rank-identity span {
    font-size: 8px;
  }
  .tv-announcement h1 {
    font-size: 70px;
  }
  .tv-announcement-copy {
    font-size: 17px;
  }
  .tv-footer-motto {
    display: none;
  }
  .tv-birthday { gap: 25px; padding-left: 4%; padding-right: 4%; }
  .tv-birthday-intro h1 { font-size: 58px; }
  .tv-birthday-intro > strong { font-size: 23px; }
}
@media (max-width: 900px) {
  .public-header {
    height: 76px;
    padding: 0 5%;
    gap: 20px;
  }
  .public-header nav {
    gap: 20px;
    font-size: 11px;
  }
  .public-header .brand > span {
    font-size: 20px;
  }
  .public-header .brand img {
    width: 37px;
    height: 37px;
  }
  .header-cta {
    padding: 10px;
    font-size: 9px;
    gap: 12px;
  }
  .hero h1 {
    font-size: 88px;
  }
  .hero {
    min-height: 575px;
  }
  .hero-content {
    padding-bottom: 90px;
  }
  .section-wrap {
    padding: 65px 6%;
  }
  .progress-section {
    gap: 35px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .progress-intro h2 {
    font-size: 56px;
  }
  .progress-tool {
    padding: 22px;
  }
  .lookup-fields {
    grid-template-columns: 1fr;
  }
  .progress-intro > p:not(.eyebrow) {
    font-size: 12px;
  }
  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .services-grid {
    gap: 24px;
  }
  .services-grid h3 {
    font-size: 24px;
  }
  .community-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .community-intro h2 {
    font-size: 52px;
  }
  .community-ranking {
    max-width: 650px;
    width: 100%;
  }
  .join-band h2 {
    font-size: 64px;
  }
  .public-footer {
    flex-wrap: wrap;
  }
  .public-footer > span {
    order: 3;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }
  .auth-main {
    gap: 55px;
    padding: 65px 6%;
    grid-template-columns: 1fr 1fr;
  }
  .auth-intro h1 {
    font-size: 70px;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 18px 24px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }
  .sidebar .brand {
    margin-right: auto;
  }
  .sidebar-label,
  .sidebar-tv {
    display: none;
  }
  .sidebar nav {
    order: 3;
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    gap: 6px;
    padding-bottom: 3px;
  }
  .sidebar nav > a {
    flex-shrink: 0;
    padding: 10px;
    font-size: 10px;
    gap: 7px;
  }
  .sidebar-bottom {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .sidebar-bottom > a {
    font-size: 9px;
  }
  .sidebar-bottom > a > svg {
    display: none;
  }
  .admin-workspace {
    margin-left: 0;
  }
  .admin-top {
    height: 50px;
  }
  .admin-main {
    padding: 28px 24px 40px;
  }
  .admin-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .metrics article > span {
    font-size: 10px;
  }
  .recovery-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .tv-screen {
    grid-template-rows: 76px minmax(0, 1fr) 55px 3px;
  }
  .tv-header .brand > span {
    font-size: 21px;
  }
  .tv-header .brand img {
    width: 33px;
    height: 33px;
  }
  .tv-header-center {
    display: none;
  }
  .tv-ranking-layout {
    grid-template-columns: 0.7fr 2fr;
    padding: 22px 3%;
    gap: 18px;
  }
  .tv-ranking-intro h1 {
    font-size: 44px;
  }
  .tv-rank-identity h2 {
    font-size: 12px;
  }
  .tv-rank-row {
    gap: 7px;
    padding: 9px;
  }
  .tv-rank-score strong {
    font-size: 28px;
  }
  .tv-rank-score small {
    font-size: 6px;
  }
  .tv-rank-number {
    font-size: 18px;
    width: 17px;
  }
  .tv-board {
    gap: 7px;
  }
  .tv-announcement h1 {
    font-size: 54px;
  }
  .tv-announcement-copy {
    font-size: 15px;
  }
  .tv-offer {
    font-size: 17px;
  }
  .tv-clock time {
    font-size: 27px;
  }
}
@media (max-width: 600px) {
  .plans-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .public-header {
    height: 72px;
    gap: 10px;
  }
  .public-header nav {
    display: none;
  }
  .public-header .brand > span {
    font-size: 21px;
  }
  .public-header .brand > span > span {
    font-size: 7px;
  }
  .public-header .brand img {
    width: 35px;
    height: 35px;
  }
  .header-cta {
    font-size: 8px;
    gap: 7px;
    padding: 10px;
  }
  .header-cta svg {
    width: 15px;
    height: 15px;
  }
  .hero {
    height: calc(100svh - 120px);
    min-height: 550px;
    max-height: 760px;
    align-items: center;
  }
  .hero-image {
    object-position: 65% 50%;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #090b0aeb, #090b0a60),
      linear-gradient(0deg, #090b0acc, transparent 60%);
  }
  .hero-content {
    padding: 35px 6% 95px;
    width: 100%;
  }
  .hero .eyebrow {
    font-size: 8px;
    margin-bottom: 28px;
  }
  .hero h1 {
    font-size: 78px;
    line-height: 0.91;
    margin-bottom: 24px;
  }
  .hero h1 span {
    display: block;
  }
  .hero-description {
    font-size: 12px;
    line-height: 1.9;
  }
  .hero-actions {
    gap: 20px;
    margin-top: 25px;
  }
  .hero .button {
    padding: 13px 17px;
    font-size: 11px;
    min-height: 49px;
    gap: 15px;
  }
  .hero-secondary {
    font-size: 10px;
    gap: 8px;
  }
  .hero-secondary svg {
    width: 14px;
  }
  .hero-side-label {
    display: none;
  }
  .hero-bottom {
    bottom: 28px;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 8px;
  }
  .hero-location {
    font-size: 8px;
    margin-left: 0;
    width: 100%;
  }
  .hero-location svg {
    width: 11px;
    height: 11px;
  }
  .hero-bottom b {
    margin-right: 5px;
  }
  .photo-credit {
    font-size: 7px;
    bottom: -15px;
  }
  .statement-band {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 16px;
    justify-content: space-between;
    gap: 12px;
  }
  .statement-band > span:nth-of-type(2),
  .statement-band > svg:last-of-type {
    display: none;
  }
  .statement-band .band-last {
    display: block;
  }
  .statement-band svg {
    width: 17px;
    height: 17px;
  }
  .section-wrap {
    padding: 52px 6%;
  }
  .progress-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .progress-intro h2 {
    font-size: 57px;
  }
  .progress-intro h2 br {
    display: block;
  }
  .progress-intro .eyebrow {
    font-size: 9px;
    margin-bottom: 12px;
  }
  .progress-intro .privacy-note {
    margin-top: 20px;
  }
  .progress-tool {
    padding: 22px 20px;
  }
  .tool-heading h3 {
    font-size: 18px;
  }
  .lookup-fields {
    grid-template-columns: 1.3fr 1fr;
    gap: 12px;
  }
  .lookup-fields label {
    font-size: 9px;
  }
  .lookup-fields input {
    font-size: 11px;
    padding: 11px 10px;
  }
  .progress-tool .button {
    font-size: 11px;
    min-height: 48px;
  }
  .tool-foot {
    font-size: 8px;
  }
  .section-title h2 {
    font-size: 38px;
    line-height: 1.05;
  }
  .section-title .eyebrow {
    font-size: 8px;
  }
  .section-title > .text-link {
    font-size: 11px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .service-top {
    margin-bottom: 20px;
  }
  .services-grid h3 {
    font-size: 30px;
    margin-bottom: 12px;
  }
  .services-grid p {
    max-width: 100%;
    min-height: 0;
    font-size: 12px;
  }
  .service-tag {
    font-size: 8px;
  }
  .services-grid article {
    padding-top: 20px;
  }
  .community-intro h2 {
    font-size: 47px;
  }
  .community-intro > .eyebrow {
    font-size: 9px;
  }
  .community-row {
    gap: 12px;
    padding: 18px 0;
  }
  .community-place {
    font-size: 23px;
    width: 24px;
  }
  .member-avatar {
    width: 33px;
    height: 33px;
    font-size: 14px;
  }
  .community-name {
    font-size: 13px;
  }
  .community-name small {
    font-size: 8px;
  }
  .community-row > strong {
    font-size: 30px;
  }
  .community-row > svg {
    margin-left: 3px;
    width: 17px;
  }
  .community-ranking .eyebrow {
    font-size: 9px;
    margin: 0;
  }
  .community-ranking .badge {
    font-size: 7px;
  }
  .community-ranking .section-heading {
    gap: 8px;
  }
  .ranking-note {
    font-size: 8px;
  }
  .join-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .join-band h2 {
    font-size: 75px;
  }
  .join-band > div:last-child {
    width: 100%;
  }
  .join-band .button {
    width: 100%;
    min-width: 0;
    font-size: 12px;
  }
  .location-link {
    font-size: 9px;
  }
  .public-footer {
    padding: 30px 6%;
    gap: 22px;
  }
  .public-footer > .brand > span {
    font-size: 18px;
  }
  .public-footer > .brand img {
    width: 32px;
    height: 32px;
  }
  .public-footer > div {
    width: 100%;
    justify-content: space-between;
  }
  .public-footer > span {
    font-size: 9px;
  }
  .auth-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 6% 60px;
    min-height: 0;
  }
  .auth-intro h1 {
    font-size: 58px;
    margin-bottom: 20px;
  }
  .auth-intro .eyebrow {
    font-size: 8px;
  }
  .auth-intro > p:last-child {
    display: none;
  }
  .auth-form h2 {
    font-size: 39px;
    margin-top: 12px;
  }
  .auth-form .section-index {
    font-size: 9px;
  }
  .auth-form {
    max-width: none;
  }
  .auth-body .public-header > .text-link {
    font-size: 9px;
    gap: 5px;
  }
  .auth-body .public-header > .text-link svg {
    width: 14px;
  }
  .account-main {
    padding: 40px 6%;
  }
  .account-main h1 {
    font-size: 36px;
  }
  .sidebar {
    padding: 16px;
    gap: 18px;
  }
  .sidebar .brand img {
    width: 30px;
    height: 30px;
  }
  .sidebar .brand > span {
    font-size: 20px;
  }
  .sidebar nav {
    gap: 5px;
  }
  .sidebar nav > a {
    font-size: 10px;
  }
  .sidebar-bottom > a > span {
    max-width: 85px;
    overflow-wrap: anywhere;
  }
  .sidebar-bottom .icon-btn {
    width: 28px;
    min-width: 28px;
  }
  .admin-top {
    padding: 0 16px;
    font-size: 8px;
  }
  .admin-top > span > .muted {
    display: none;
  }
  .admin-top .top-status {
    font-size: 8px;
  }
  .top-status time {
    margin-left: 7px;
  }
  .admin-main {
    padding: 25px 16px 35px;
  }
  .page-heading {
    margin-bottom: 25px;
    gap: 10px;
    align-items: flex-end;
  }
  .page-heading h1 {
    font-size: 32px;
  }
  .page-heading .eyebrow {
    font-size: 7px;
    max-width: 200px;
  }
  .page-heading > .button {
    font-size: 9px;
    padding: 9px;
    gap: 6px;
    min-height: 36px;
    white-space: nowrap;
  }
  .page-heading > .button > svg:first-child {
    width: 14px;
  }
  .page-heading > .button > svg:last-child {
    display: none;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 24px;
  }
  .rate-calculator {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .rate-result output {
    font-size: 24px;
  }
  .metrics > article {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }
  .metrics > article:nth-child(2) {
    border-right: 0;
  }
  .metrics > article:nth-child(3) {
    border-bottom: 0;
  }
  .metrics article > span {
    font-size: 10px;
  }
  .metrics article > strong {
    font-size: 43px;
    margin: 10px 0;
  }
  .metrics article > small {
    font-size: 8px;
  }
  .section-heading h2 {
    font-size: 13px;
  }
  .section-heading > .muted {
    font-size: 8px;
    text-align: right;
  }
  .section-heading .text-link {
    font-size: 8px;
  }
  .section-heading {
    gap: 10px;
  }
  .dashboard-grid {
    gap: 25px;
  }
  .import-strip {
    flex-wrap: wrap;
    padding: 18px;
    gap: 14px;
  }
  .import-strip > div:nth-child(2) {
    flex: 1;
    min-width: 0;
  }
  .import-strip h3 {
    font-size: 12px;
  }
  .import-strip p {
    font-size: 9px;
    line-height: 1.7;
  }
  .import-strip .button {
    width: 100%;
    margin: 4px 0 0;
    font-size: 11px;
  }
  .recovery-list {
    grid-template-columns: 1fr;
  }
  .admin-footer {
    padding: 20px 16px;
    font-size: 7px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .form-section {
    margin-top: 30px;
    padding-top: 24px;
  }
  .form-actions .button {
    width: 100%;
  }
  .section-heading > .button {
    font-size: 9px;
    padding: 10px;
    gap: 6px;
    white-space: nowrap;
  }
  .section-heading > .button svg {
    width: 14px;
  }
  .search-field input {
    font-size: 10px;
    padding-left: 31px;
  }
  .search-field > svg {
    left: 9px;
    width: 13px;
  }
  .member-toolbar .search-field {
    flex-basis: 100%;
    max-width: none;
  }
  .member-filters { flex-basis: 100%; }
  .membership-status-field {
    flex: 1 1 100%;
  }
  .membership-status-field select,
  .membership-status-field input[type="date"] {
    flex: 1;
    min-width: 0;
  }
  .member-toolbar > .button { margin-left: 0; }
  .members-scroll { overflow-x: visible; }
  #members-table, #members-table tbody { display: block; }
  #members-table thead { display: none; }
  #members-table tbody tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }
  #members-table tbody tr[hidden] { display: none; }
  #members-table td { min-width: 0; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
  #members-table td::before { display: block; margin-bottom: 4px; color: var(--muted); font-size: 9px; }
  #members-table td:first-child { grid-column: 1 / 3; grid-row: 1; }
  #members-table td:nth-child(2) { grid-column: 1; grid-row: 2; }
  #members-table td:nth-child(2)::before { content: 'Tipo'; }
  #members-table td:nth-child(3) { grid-column: 2; grid-row: 2; }
  #members-table td:nth-child(3)::before { content: 'Sexo'; }
  #members-table td:nth-child(4) { grid-column: 3; grid-row: 2; }
  #members-table td:nth-child(4)::before { content: 'Nacimiento'; }
  #members-table td:nth-child(5) { grid-column: 1 / -1; grid-row: 3; }
  #members-table td:nth-child(5)::before { content: 'Cuenta'; }
  #members-table td:nth-child(6) { grid-column: 1; grid-row: 4; }
  #members-table td:nth-child(6)::before { content: 'Biometrico'; }
  #members-table td:nth-child(7) { grid-column: 2; grid-row: 4; }
  #members-table td:nth-child(7)::before { content: 'Este mes'; }
  #members-table td:nth-child(8) { grid-column: 3; grid-row: 4; }
  #members-table td:nth-child(8)::before { content: 'Racha'; }
  #members-table td:nth-child(9) { grid-column: 1; grid-row: 5; }
  #members-table td:nth-child(9)::before { content: 'Mensualidad'; }
  #members-table td:nth-child(10) { grid-column: 2 / 4; grid-row: 5; }
  #members-table td:nth-child(10)::before { content: 'Vencimiento'; }
  .members-scroll #members-table td.member-actions {
    grid-column: 2 / 4;
    grid-row: 1;
    justify-self: end;
    position: static;
    min-width: 84px;
    background: none;
    box-shadow: none;
    white-space: nowrap;
  }
  .admin-form-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    padding: 16px;
  }
  .admin-form-dialog .section-heading { display: block; padding-right: 44px; }
  .admin-form-dialog .section-heading > .muted { display: block; margin-top: 8px; line-height: 1.5; text-align: left; }
  .upload-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 5px 0 30px;
  }
  .upload-section h2 {
    font-size: 38px;
  }
  .announcement-grid {
    grid-template-columns: 1fr;
  }
  .announcement-card h3 {
    font-size: 30px;
  }
  .day-options {
    gap: 18px;
  }
  .tv-screen {
    grid-template-rows: 70px minmax(0, 1fr) 70px 3px;
  }
  .tv-header {
    padding: 12px 4%;
    gap: 10px;
  }
  .tv-header .brand > span {
    font-size: 20px;
  }
  .tv-header .brand img {
    width: 28px;
    height: 28px;
  }
  .tv-header .brand > span > span {
    font-size: 6px;
  }
  .tv-clock time {
    font-size: 25px;
  }
  .tv-clock > span {
    font-size: 8px;
  }
  .tv-ranking-layout {
    display: flex;
    flex-direction: column;
    padding: 16px 4%;
    gap: 15px;
  }
  .tv-ranking-intro {
    flex: 0 0 auto;
  }
  .tv-ranking-intro > .eyebrow {
    font-size: 7px;
    margin-bottom: 8px;
  }
  .tv-ranking-intro h1 {
    font-size: 34px;
    margin: 0 0 8px;
    line-height: 1;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .tv-ranking-intro > .tv-subtitle {
    display: none;
  }
  .tv-ranking-intro .tv-month {
    margin: 0;
    font-size: 8px;
  }
  .tv-intro-line,
  .tv-ranking-intro > .muted {
    display: none;
  }
  .tv-board {
    flex: 1;
    min-height: 0;
    gap: 7px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(var(--mobile-board-rows, 10), minmax(0, 1fr));
  }
  .tv-rank-row {
    padding: 4px 11px;
    gap: 12px;
  }
  .tv-rank-identity h2 {
    font-size: 12px;
    margin: 0;
  }
  .tv-rank-identity span {
    font-size: 7px;
    margin-top: 3px;
  }
  .tv-rank-number {
    font-size: 18px;
    width: 21px;
  }
  .tv-rank-score {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .tv-rank-score strong {
    font-size: 25px;
  }
  .tv-rank-score small {
    font-size: 6px;
  }
  .tv-footer {
    padding: 8px 4%;
    flex-wrap: wrap;
    gap: 7px;
    align-content: center;
    font-size: 7px;
  }
  .tv-footer > div:first-child {
    width: 100%;
    gap: 6px;
  }
  .tv-footer .status-dot {
    width: 5px;
    height: 5px;
  }
  .tv-controls {
    margin-left: auto;
    gap: 6px;
  }
  .tv-controls > .icon-btn {
    width: 25px;
    min-width: 25px;
    height: 25px;
  }
  .tv-controls .icon-btn svg {
    width: 12px;
    height: 12px;
  }
  .tv-controls > #tv-position {
    font-size: 7px;
  }
  .tv-announcement {
    padding: 26px 6%;
  }
  .tv-announcement h1 {
    font-size: 48px;
    margin-bottom: 22px;
  }
  .tv-announcement .eyebrow {
    font-size: 8px;
  }
  .tv-announcement-copy {
    font-size: 14px;
    line-height: 1.7;
  }
  .tv-announcement-content {
    max-width: 100%;
  }
  .tv-announcement.product .tv-announcement-content {
    max-width: 100%;
  }
  .tv-announcement.product .tv-announcement-image {
    width: 80%;
    opacity: 0.2;
  }
  .tv-offer {
    font-size: 17px;
    padding: 12px 18px;
  }
  .tv-announcement-sign {
    font-size: 8px;
  }
  .tv-loading h1 {
    font-size: 48px;
  }
  .tv-loading .eyebrow {
    font-size: 9px;
  }
  .tv-birthday { display: flex; flex-direction: column; gap: 14px; padding: 15px 4%; }
  .tv-birthday-intro { flex: 0 0 auto; }
  .tv-birthday-intro .eyebrow, .tv-birthday-intro .muted { display: none; }
  .tv-birthday-intro h1 { display: inline; font-size: 32px; margin: 0 8px 0 0; }
  .tv-birthday-intro > strong { display: inline; font-size: 18px; }
  .tv-birthday-intro .tv-month { margin: 5px 0 0; font-size: 8px; }
  .tv-birthday-board { flex: 1; width: 100%; grid-template-columns: 1fr; grid-template-rows: repeat(var(--birthday-mobile-rows, 10), minmax(0, 1fr)); gap: 5px; }
  .tv-birthday-card { padding: 4px 10px; gap: 10px; }
  .tv-birthday-date { width: 43px; flex-basis: 43px; padding-right: 9px; }
  .tv-birthday-date strong { font-size: 26px; }
  .tv-birthday-date span, .tv-birthday-name p { font-size: 6px; }
  .tv-birthday-name h2 { font-size: 12px; max-height: 2.3em; }
}
@media (max-height: 700px) and (min-width: 601px) {
  .tv-screen {
    grid-template-rows: 72px minmax(0, 1fr) 48px 3px;
  }
  .tv-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .tv-ranking-layout {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .tv-ranking-intro h1 {
    font-size: 50px;
    margin-bottom: 20px;
  }
  .tv-rank-row {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .tv-rank-identity h2 {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .tv-rank-score strong {
    font-size: 30px;
  }
  .tv-announcement h1 {
    font-size: 56px;
    margin-bottom: 16px;
  }
  .tv-announcement-copy {
    font-size: 16px;
  }
  .tv-offer {
    padding: 9px 18px;
    margin: 0 0 12px;
  }
  .tv-announcement-sign {
    margin-top: 8px;
  }
  .tv-birthday { padding-top: 18px; padding-bottom: 18px; }
  .tv-birthday-intro h1 { font-size: 55px; }
  .tv-birthday-card { padding-top: 6px; padding-bottom: 6px; }
}
@media (max-height: 720px) and (max-width: 600px) {
  .tv-ranking-intro h1 {
    font-size: 28px;
    margin-bottom: 5px;
  }
  .tv-ranking-layout {
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 10px;
  }
  .tv-rank-row {
    padding-top: 2px;
    padding-bottom: 2px;
  }
  .tv-rank-identity span {
    display: none;
  }
  .tv-rank-score strong {
    font-size: 22px;
  }
  .tv-board {
    gap: 4px;
  }
  .tv-announcement h1 {
    font-size: 36px;
  }
  .tv-announcement-copy {
    font-size: 12px;
  }
  .tv-announcement-sign {
    margin-top: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.trainer-euro-calculator {
  grid-template-columns: minmax(0, 1.1fr) minmax(120px, 160px) minmax(120px, 160px) minmax(130px, 180px) minmax(0, 1fr);
  margin-bottom: 28px;
}
.trainer-month-picker {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.trainer-month-picker label {
  display: grid;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
}
.trainer-month-picker input {
  min-height: 42px;
  padding: 8px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 2px;
}
.trainer-override-details summary,
.trainer-pay-details summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.trainer-override-details summary svg,
.trainer-pay-details summary svg {
  width: 14px;
  height: 14px;
}
.trainer-override-form,
.trainer-pay-form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  min-width: 230px;
}
.trainer-override-form label,
.trainer-pay-form label {
  display: grid;
  gap: 4px;
  font-size: 11px;
}
.trainer-override-form input:not([type="checkbox"]),
.trainer-override-form select,
.trainer-pay-form input,
.trainer-pay-form select {
  padding: 7px 9px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 2px;
  font-size: 12px;
}
@media (max-width: 1100px) {
  .trainer-euro-calculator {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .trainer-euro-calculator {
    grid-template-columns: 1fr;
  }
}

.trainer-tiers-wrapper {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 4px;
}
.trainer-tiers-wrapper .section-heading h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.trainer-tiers-list {
  display: grid;
  gap: 10px;
}
.trainer-tier-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: flex-end;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 4px;
}
.trainer-tier-row label {
  display: grid;
  gap: 4px;
  font-size: 11px;
}
.trainer-tier-row input {
  padding: 7px 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 2px;
  font-size: 13px;
}
.trainer-tier-row .remove-tier-btn {
  height: 35px;
  align-self: flex-end;
  color: var(--red, #f87171);
}
@media (max-width: 768px) {
  .trainer-tier-row {
    grid-template-columns: 1fr;
  }
}

.trainer-pay-dialog {
  width: min(540px, calc(100% - 32px));
  max-height: min(90vh, 740px);
  overflow-y: auto;
}
.trainer-pay-dialog-summary {
  grid-column: 1 / -1;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.trainer-pay-dialog-summary > div {
  display: grid;
  gap: 2px;
}
.trainer-pay-dialog-summary .muted {
  font-size: 11px;
}
.trainer-pay-amount-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.trainer-pay-amount-row input {
  flex: 1;
}
.trainer-pay-modal-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.trainer-pay-calculator-box {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trainer-pay-calc-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}
.trainer-pay-calc-title svg {
  vertical-align: text-bottom;
  margin-right: 4px;
}
.trainer-pay-rate-tag {
  font-size: 11px;
  color: var(--yellow);
  background: rgba(255, 215, 0, 0.1);
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  font-weight: 600;
}
.trainer-pay-calc-inputs {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.trainer-pay-calc-inputs .trainer-calc-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.trainer-pay-calc-inputs .trainer-calc-field > span {
  font-size: 11px;
  font-weight: 600;
  min-height: 28px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 6px;
  line-height: 1.25;
}
.trainer-calc-arrow {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  user-select: none;
  margin-top: 34px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trainer-calc-field .input-with-symbol {
  display: flex;
  align-items: center;
  position: relative;
  height: 42px;
}
.trainer-calc-field .currency-symbol {
  position: absolute;
  left: 10px;
  font-weight: 700;
  color: var(--muted);
  pointer-events: none;
  font-size: 13px;
}
.trainer-calc-field input {
  width: 100%;
  height: 42px;
  padding-left: 32px;
  font-size: 15px;
  font-weight: 700;
  box-sizing: border-box;
}
.trainer-calc-field small {
  margin-top: 6px;
  line-height: 1.25;
}
.trainer-pay-calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.trainer-pay-calc-actions .button {
  font-size: 11px;
  padding: 5px 9px;
}
.trainer-pay-live-summary {
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}
.trainer-live-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.green-text {
  color: var(--green);
}
.red-text {
  color: var(--red);
}
@media (max-width: 520px) {
  .trainer-pay-calc-inputs {
    flex-direction: column;
    align-items: stretch;
  }
  .trainer-pay-calc-inputs .trainer-calc-field > span {
    min-height: 0;
    margin-bottom: 4px;
  }
  .trainer-calc-arrow {
    align-self: center;
    margin-top: 0;
    height: auto;
    transform: rotate(90deg);
  }
}

.payment-movements-table th,
.payment-movements-table td {
  padding: 12px 8px;
}
.payment-movements-table td small.usd-equiv {
  font-size: 11px;
}
.payment-movements-table td:nth-child(3),
.payment-movements-table td:nth-child(4),
.payment-movements-table td:nth-child(8),
.payment-movements-table td:nth-child(10) {
  white-space: normal;
  line-height: 1.35;
}
.payment-movements-table td:nth-child(3) {
  min-width: 140px;
  max-width: 210px;
}
.payment-movements-table td:nth-child(4) {
  min-width: 130px;
  max-width: 190px;
}



