/* KADIC Dashboard v6 — utility, brand, nav, sector rail, hero (landing) */

:root {
  --v6-teal: #0B5668;
  --v6-teal-d: #08414F;
  --v6-teal-l: #12708A;
  --v6-green: #087A4D;
  --v6-green-d: #05613C;
  --v6-gold: #D2A62E;
  --v6-gold-d: #A9781F;
  --v6-blue: #347696;
  --v6-charcoal: #26323A;
  --v6-muted: #69757E;
  --v6-line: #E3E6E4;
  --v6-warm: #F7F6F2;
  --v6-wa: #25D366;
}

body.dashboard-v6 {
  font-family: "Poppins", var(--font);
}

/* Inner pages — full browser scale (was 0.8; restored for readable topic pages) */
body.dashboard-v6:has(.main:not(.home-situation)) {
  zoom: 0.85;
}

@media (max-width: 720px) {
  body.dashboard-v6:has(.main:not(.home-situation)) {
    zoom: 0.85;
  }
}

/* ---------- 1. utility strip (matches legacy utilbar colours) ---------- */
.dashboard-v6 .utilbar {
  background: var(--brand-primary);
  color: rgba(255, 255, 255, .88);
  font-size: 11.5px;
  letter-spacing: .01em;
}

.dashboard-v6 .utilbar .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
}

.dashboard-v6 .utilbar__group--left,
.dashboard-v6 .utilbar__group--right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dashboard-v6 .utilbar__group--right {
  margin-left: auto;
}

.dashboard-v6 .utilbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .88);
}

.dashboard-v6 .utilbar a.utilbar__item:hover {
  color: #fff;
}

.dashboard-v6 .utilbar__item svg {
  width: 13px;
  height: 13px;
  opacity: .75;
}

.dashboard-v6 .utilbar__hint {
  opacity: .62;
}

.dashboard-v6 .utilbar__sep {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, .2);
  flex: none;
}

.dashboard-v6 .utilbar__item--telemetry {
  font-size: 11px;
  letter-spacing: .02em;
}

.dashboard-v6 .utilbar__item--telemetry strong {
  color: #fde047;
  font-weight: 750;
  letter-spacing: .06em;
}

.dashboard-v6 .utilbar__feed-badge {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .85);
  font-size: 10.5px;
}

.dashboard-v6 .utilbar__feed-badge svg {
  width: 11px;
  height: 11px;
  color: #38bdf8;
  opacity: 1;
}

.dashboard-v6 .utilbar .lang-toggle--util {
  font-size: 11.5px;
  font-weight: 650;
  gap: 1px;
  border: 0;
  background: none;
  padding: 0;
}

.dashboard-v6 .utilbar .lang-toggle__btn {
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 650;
  color: rgba(255, 255, 255, .72);
  background: none;
  border: 0;
}

.dashboard-v6 .utilbar .lang-toggle__btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.dashboard-v6 .utilbar .lang-toggle__btn.is-active {
  color: #fff;
  font-weight: 700;
  border-bottom: 0;
}

.dashboard-v6 .utilbar .lang-toggle__sep {
  opacity: .45;
  font-size: 10px;
  width: auto;
  height: auto;
  background: none;
  color: rgba(255, 255, 255, .72);
}

/* ---------- 2. brand bar ---------- */
.brandbar {
  background: #fff;
  border-bottom: 1px solid var(--v6-line);
}

.brandbar .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brandbar__lockup {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brandbar__lockup img {
  display: block;
  height: 40px;
  width: auto;
}

.brandbar__lockup img.brandbar__moa {
  height: 54px;
}

.brandbar__lockup img.brandbar__kadic {
  height: 40px;
  max-width: min(220px, 42vw);
}

.brandbar__rule {
  width: 1px;
  height: 38px;
  background: var(--v6-line);
  flex: none;
}

.brandbar__rule--flag {
  width: 4px;
  height: 48px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    #000 0%,
    #000 26%,
    #fff 26%,
    #fff 30%,
    #bb1e2d 30%,
    #bb1e2d 52%,
    #fff 52%,
    #fff 56%,
    #006600 56%,
    #006600 100%
  );
  box-shadow: 0 0 0 1px rgba(13, 27, 19, .08);
}

.brandbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brandbar__wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--v6-wa);
  color: #05391B;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(37, 211, 102, .28);
  transition: transform .15s ease, box-shadow .15s ease;
}

.brandbar__wa:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(37, 211, 102, .34);
}

.brandbar__wa svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.brandbar__wa small {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .04em;
  opacity: .75;
  line-height: 1.1;
}

.brandbar__wa span strong {
  display: block;
  font-weight: 600;
  line-height: 1.15;
}

.brandbar__register {
  background: var(--v6-teal);
  color: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
}

.brandbar__register:hover {
  background: var(--v6-teal-d);
}

.brandbar__login {
  border: 1px solid var(--v6-line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
}

.brandbar__login:hover {
  border-color: var(--v6-teal);
  color: var(--v6-teal);
}

.brandbar__toggle {
  display: none;
  border: 1px solid var(--v6-line);
  border-radius: 10px;
  padding: 8px 10px;
}

.brandbar__toggle svg {
  width: 20px;
  height: 20px;
}

/* ---------- 3. menu bar ---------- */
.menubar {
  background: #fff;
  border-bottom: 1px solid var(--v6-line);
  position: relative;
  z-index: 40;
}

.menubar .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}

.menubar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 52px;
}

.menubar__nav .nav__link,
.menubar__nav .nav__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 15px;
  height: 52px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--v6-charcoal);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.menubar__nav .nav__link.is-active,
.menubar__nav .nav__trigger.is-active {
  color: var(--v6-green);
  border-bottom-color: var(--v6-green);
  font-weight: 600;
}

.menubar__nav .nav__link.is-active::after,
.menubar__nav .nav__trigger.is-active::after {
  display: none;
}

.menubar__nav .nav__link:hover,
.menubar__nav .nav__trigger:hover {
  color: var(--v6-teal);
}

.menubar__nav > .nav__link .nav__icon,
.menubar__nav .nav__trigger > .nav__icon {
  display: none;
}

.menubar__nav .nav__chev {
  width: 10px;
  height: 10px;
  opacity: .55;
}

.menubar__nav .nav__drop {
  position: relative;
  height: 52px;
  display: flex;
  align-items: center;
}

.menubar__nav .nav__menu {
  position: absolute;
  top: 100%;
  left: 6px;
  min-width: 236px;
  background: #fff;
  border: 1px solid var(--v6-line);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(11, 86, 104, .14);
  padding: 8px;
  display: none;
  z-index: 50;
}

.menubar__nav .nav__drop.is-open .nav__menu,
.menubar__nav .nav__drop:hover .nav__menu,
.menubar__nav .nav__drop:focus-within .nav__menu {
  display: block;
}

.menubar__nav .nav__menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--v6-charcoal);
}

.menubar__nav .nav__menu a .nav__icon {
  width: 14px;
  height: 14px;
  flex: none;
  opacity: .62;
  color: var(--v6-muted);
}

.menubar__nav .nav__menu a:hover .nav__icon {
  opacity: .9;
  color: var(--v6-teal);
}

.menubar__nav .nav__menu a:hover {
  background: var(--v6-warm);
  color: var(--v6-teal);
}

.menubar__nav .nav__menu--wide {
  min-width: 248px;
}

.menubar__nav .nav__menu--scroll {
  max-height: min(72vh, 520px);
  overflow-y: auto;
}

.menubar__nav .nav__menu .nav__grp {
  padding: 8px 12px 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--v6-muted);
}

.menubar__nav .nav__menu .nav__grp:not(:first-child) {
  margin-top: 4px;
  border-top: 1px solid var(--v6-line);
  padding-top: 10px;
}

.menubar__nav .nav__menu .nav__sub a {
  padding-left: 30px;
  font-size: 12px;
  font-weight: 500;
}

.menubar__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-width: 0;
}

.menubar__tv {
  border: 1px solid var(--v6-line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--v6-muted);
  flex: none;
}

.menubar__tv svg {
  width: 15px;
  height: 15px;
}

.menubar__tv:hover:not(:disabled) {
  border-color: var(--v6-teal);
  color: var(--v6-teal);
}

.menubar__tv:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.menubar.is-stuck {
  position: sticky;
  top: 0;
  box-shadow: 0 4px 18px rgba(11, 86, 104, .08);
}

/* ---------- 4. sector filter rail ---------- */
.sector-rail {
  background: var(--v6-warm);
  border-bottom: 1px solid var(--v6-line);
}

.sector-rail .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
}

.sector-rail__chips {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sector-rail__lbl {
  font-size: 12px;
  color: var(--v6-muted);
  margin-right: 6px;
}

.sector-rail__chip {
  border: 1px solid var(--v6-line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--v6-charcoal);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: .15s;
}

.sector-rail__chip i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  display: block;
  flex: none;
}

.sector-rail__chip:hover {
  border-color: var(--v6-teal);
}

.sector-rail__chip.is-on {
  background: var(--v6-teal);
  border-color: var(--v6-teal);
  color: #fff;
}

.sector-rail__chip[data-sector="crop"] i {
  background: var(--v6-green);
}

.sector-rail__chip[data-sector="livestock"] i {
  background: var(--v6-gold-d);
}

.sector-rail__chip[data-sector="fisheries"] i {
  background: var(--v6-blue);
}

.sector-rail__chip[data-sector="all"] i {
  background: linear-gradient(135deg, var(--v6-green) 33%, var(--v6-gold-d) 33% 66%, var(--v6-blue) 66%);
}

.scope-select {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border: 1px solid var(--v6-line);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 500;
  background: #fff;
  white-space: nowrap;
  flex: none;
}

.scope-select--compact {
  background: var(--v6-warm);
  gap: 0;
  transition: box-shadow 0.25s ease;
}

.scope-select--compact.is-county {
  box-shadow: 0 0 0 1px rgba(11, 86, 104, 0.06);
}

.scope-select__label {
  color: var(--v6-charcoal);
}

.scope-select__track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  flex: none;
  isolation: isolate;
}

.scope-select__glider {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  border-radius: 999px;
  background: var(--v6-teal);
  box-shadow: 0 1px 4px rgba(11, 86, 104, 0.22);
  transform: translateX(0);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}

.scope-select.is-county .scope-select__glider {
  transform: translateX(100%);
}

.scope-select__mode {
  display: inline-flex;
  align-items: stretch;
  border-radius: 999px;
  overflow: hidden;
  background: var(--v6-warm);
  border: 1px solid var(--v6-line);
}

.scope-select__mode-btn {
  position: relative;
  z-index: 1;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  padding: 6px 11px;
  border: 0;
  background: transparent;
  color: var(--v6-muted);
  cursor: pointer;
  line-height: 1.15;
  transition: color 0.22s ease;
}

.scope-select__mode-btn.is-active {
  color: #fff;
}

.scope-select__mode-btn:focus-visible {
  outline: 2px solid var(--v6-teal);
  outline-offset: 2px;
  border-radius: 999px;
}

.scope-select__county-wrap {
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
  pointer-events: none;
  transition:
    max-width 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease,
    padding 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.scope-select.is-county .scope-select__county-wrap {
  max-width: 9.5rem;
  opacity: 1;
  padding: 0 3px 0 7px;
  margin-left: 1px;
  pointer-events: auto;
  border-left: 1px solid rgba(11, 86, 104, 0.12);
}

.scope-select select {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--v6-teal);
  border: 0;
  background: #fff;
  border-radius: 999px;
  padding: 5px 22px 5px 9px;
  cursor: pointer;
  min-width: 0;
  width: 100%;
  max-width: 9rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%230B5668' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  text-overflow: ellipsis;
}

.scope-select select:disabled {
  cursor: not-allowed;
}

.menubar__scope {
  flex: none;
  min-width: 0;
}

.sector-rail__scope {
  background: #fff;
}

.dashboard-hero__viz--photo {
  padding: 0;
  background: #0d4f61;
  justify-content: center;
}

.dashboard-hero__viz--photo .dashboard-hero__photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 172px;
  min-height: 0;
  object-fit: cover;
  object-position: 72% center;
}

/* ---------- 5. hero ---------- */
.dashboard-hero {
  margin-top: 0;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(103deg, var(--v6-teal-d) 0%, var(--v6-teal) 46%, #166F86 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1.12fr);
  align-items: stretch;
  position: relative;
}

.dashboard-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 86% -10%, rgba(255, 255, 255, .09), transparent 42%),
    radial-gradient(circle at 40% 130%, rgba(8, 122, 77, .30), transparent 46%);
}

.dashboard-hero__main {
  padding: 11px 24px 7px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 138px;
  align-self: stretch;
  justify-content: flex-start;
  gap: 0;
}

.dashboard-hero__msg {
  flex: 1;
  animation: v6MsgIn .55s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

.dashboard-hero__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  padding: 2px 0 4px;
}

@keyframes v6MsgIn {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: none; }
}

.dashboard-hero__msg:not(:has(.dashboard-hero__facts)) {
  padding-bottom: 0;
}

.dashboard-hero__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: none;
  margin-top: 0;
  padding-top: 0;
}

.dashboard-hero__dots {
  display: flex;
  gap: 7px;
}

.dashboard-hero__dots button {
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .28);
  padding: 0;
  transition: .25s;
}

.dashboard-hero__dots button.is-on {
  background: var(--v6-gold);
  width: 32px;
}

.dashboard-hero__dots button:hover {
  background: rgba(255, 255, 255, .5);
}

.dashboard-hero__eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .11em;
  color: var(--v6-gold);
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 8px;
  text-transform: uppercase;
}

.dashboard-hero__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--v6-green);
  box-shadow: 0 0 0 4px rgba(8, 122, 77, .35);
}

.dashboard-hero__headnum {
  font-size: clamp(40px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--v6-gold);
  margin: 0;
  max-width: 100%;
  text-wrap: balance;
  font-variant-numeric: tabular-nums;
}

.dashboard-hero__headnum em {
  font-style: normal;
  color: #fff;
  font-weight: 600;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -.02em;
  margin-left: 0.34em;
}

.dashboard-hero__headline {
  font-size: clamp(14px, 1.18vw, 16.5px);
  font-weight: 450;
  color: rgba(232, 244, 247, .72);
  margin: 0;
  max-width: 100%;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-hero__text {
  font-size: 11.5px;
  color: #AFCCD6;
  max-width: 58ch;
  line-height: 1.42;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dashboard-hero__facts {
  display: flex;
  gap: 0;
  margin-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 9px;
}

.dashboard-hero__facts div {
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, .16);
}

.dashboard-hero__facts div:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.dashboard-hero__facts b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}

.dashboard-hero__facts span {
  display: block;
  font-size: 9.5px;
  color: #9FC0CA;
  margin-top: 3px;
}

.dashboard-hero__source {
  font-size: 9.5px;
  color: #8FB2BD;
}

.dashboard-hero__viz {
  position: relative;
  overflow: hidden;
  z-index: 2;
  background: linear-gradient(165deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .04) 100%);
  border-left: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 8px 14px 6px;
  text-align: left;
  min-height: 138px;
  align-self: stretch;
}

.dashboard-hero__viz--chart {
  padding: 7px 12px 5px;
  justify-content: center;
}

.dashboard-hero__viz .viz-head {
  flex: none;
  margin-bottom: 4px;
}

.dashboard-hero__viz--chart .viz-head {
  margin-bottom: 0;
  line-height: 1.15;
}

.dashboard-hero__viz--chart .viz-head--single {
  margin-bottom: 2px;
  text-align: center;
  width: 100%;
}

.dashboard-hero__viz--chart .viz-head--single .viz-h {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  line-height: 1.28;
  text-align: center;
  max-width: 36ch;
  margin-inline: auto;
}

.dashboard-hero__viz .viz-h {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--v6-gold);
  margin-bottom: 2px;
}

.dashboard-hero__viz .viz-t {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
  line-height: 1.25;
}

.dashboard-hero__viz--chart .viz-t {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
}

.dashboard-hero__viz .viz-body {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 0;
}

.dashboard-hero__viz--chart .viz-body {
  flex: 0 1 auto;
  align-items: flex-start;
}

.dashboard-hero__viz .viz-cap {
  font-size: 10px;
  color: #9FC0CA;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.dashboard-hero__viz .viz-legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.dashboard-hero__viz .viz-legend div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  color: #DCEAEE;
}

.dashboard-hero__viz .viz-legend i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex: none;
}

.dashboard-hero__viz .viz-legend span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-hero__viz .viz-legend b {
  font-weight: 600;
  color: #fff;
}

.dashboard-hero__viz .viz-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.dashboard-hero__viz .viz-bar {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: #DCEAEE;
}

.dashboard-hero__viz .viz-bar > span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-hero__viz .viz-bar .tr {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .16);
  overflow: hidden;
}

.dashboard-hero__viz .viz-bar .fl {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--v6-gold);
}

.dashboard-hero__viz .viz-bar b {
  font-weight: 600;
  color: #fff;
  font-size: 10.5px;
}

.dashboard-hero__viz .viz-ring {
  position: relative;
  width: 108px;
  height: 108px;
  flex: none;
}

.dashboard-hero__viz .viz-ring .val {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dashboard-hero__viz .viz-ring .val b {
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.dashboard-hero__viz .viz-ring .val span {
  font-size: 8px;
  letter-spacing: .1em;
  color: var(--v6-gold);
  font-weight: 600;
  margin-top: 3px;
}

.dashboard-hero__viz .viz-split {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-hero__viz .viz-split .row b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.dashboard-hero__viz .viz-split .row span {
  font-size: 10px;
  color: #9FC0CA;
}

.dashboard-hero__viz .viz-split .tr {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .16);
  margin-top: 5px;
  overflow: hidden;
}

.dashboard-hero__viz .viz-split .fl {
  display: block;
  height: 10px;
  border-radius: 5px;
}

.dashboard-hero__viz .viz-body--chart {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
}

.dashboard-hero__viz--chart .viz-body--chart {
  min-height: 96px;
}

.dashboard-hero__viz .viz-trend {
  flex: 1;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  justify-content: center;
}

.dashboard-hero__viz .viz-trend svg {
  width: 100%;
  height: auto;
  max-height: none;
  min-height: 88px;
  overflow: visible;
  touch-action: none;
}

.dashboard-hero__viz--chart .viz-trend svg {
  min-height: 94px;
}

.hero-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: flex-end;
  padding: 2px 4px 0;
  font-size: 10px;
  line-height: 1.25;
}

.hero-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 600;
  color: #e8f4f7;
  background: rgba(8, 48, 60, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 3px 8px;
}

.hero-chart-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.hero-trend-tooltip {
  position: absolute;
  z-index: 20;
  pointer-events: none;
  background: rgba(8, 48, 60, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #D2A62E;
  border-radius: 8px;
  padding: 6px 11px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 12px rgba(210, 166, 46, 0.25);
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.12s ease;
  will-change: transform, left, top;
}

.hero-trend-tooltip__year {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9FC0CA;
}

.hero-trend-tooltip__val {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.hero-trend-tooltip__unit {
  font-size: 11px;
  font-weight: 600;
  color: #D2A62E;
}

.hero-trend-tooltip__sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-variant-numeric: tabular-nums;
}

.hero-trend-tooltip__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
}

.hero-trend-tooltip__row b {
  color: #fff;
  font-weight: 700;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .brandbar .shell {
    flex-wrap: wrap;
    gap: 14px;
  }

  .brandbar__actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .brandbar__login {
    display: none;
  }

  .menubar .shell {
    min-height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .menubar__nav {
    height: 42px;
    overflow-x: auto;
  }

  .menubar__right {
    justify-content: flex-start;
  }

  .sector-rail .shell {
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .sector-rail__chips {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

@media (max-width: 1180px) {
  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .dashboard-hero__viz {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .dashboard-hero__viz--photo .dashboard-hero__photo {
    min-height: 0;
    max-height: 200px;
    object-position: 65% center;
  }
}

@media (max-width: 760px) {
  .dashboard-v6 .utilbar .shell {
    min-height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 10.5px;
    flex-wrap: wrap;
    gap: 6px 14px;
  }

  .brandbar__lockup img {
    height: 32px;
  }

  .brandbar__lockup img.brandbar__moa {
    height: 40px;
  }

  .brandbar__lockup img.brandbar__kadic {
    height: 32px;
    max-width: min(180px, 48vw);
  }

  .brandbar__rule--flag {
    width: 3px;
    height: 36px;
  }

  .brandbar__wa {
    flex: 1 1 100%;
    justify-content: center;
  }

  .brandbar__register {
    flex: 1;
    text-align: center;
  }

  .brandbar__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .dashboard-hero__facts {
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
  }

  .dashboard-hero__facts div {
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
  }

  .dashboard-hero__facts b {
    font-size: 17px;
  }

  .dashboard-hero__facts span {
    margin-top: 0;
  }

  .dashboard-hero__headnum {
    font-size: 44px;
  }

  .dashboard-hero__headnum em {
    font-size: 24px;
  }
}

@media (max-width: 720px) {
  .menubar .shell {
    position: relative;
  }

  .menubar__nav {
    display: none;
    flex-direction: column;
    height: auto;
    width: 100%;
    padding-bottom: 8px;
  }

  .menubar.is-open .menubar__nav {
    display: flex;
  }

  .menubar__nav .nav__link,
  .menubar__nav .nav__trigger {
    height: 44px;
    width: 100%;
  }

  .menubar__nav .nav__drop {
    height: auto;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 1320px) {
  .menubar__nav .nav__link,
  .menubar__nav .nav__trigger {
    padding: 0 10px;
    font-size: 13px;
  }

  .menubar__tv {
    padding: 7px 9px;
    gap: 0;
    font-size: 0;
    line-height: 0;
  }

  .menubar__tv svg {
    width: 16px;
    height: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-hero__msg {
    animation: none !important;
  }

  .scope-select__glider,
  .scope-select__county-wrap {
    transition: none !important;
  }
}

/* =========================================================
   TV MODE — 1920 x 1080 stage
   ========================================================= */
#tvView {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0A1F14;
  display: none;
  place-items: center;
  overflow: hidden;
}

body.tv #tvView {
  display: grid;
}

body.tv {
  overflow: hidden;
}

body.tv > *:not(#tvView):not(.tv-controls):not(#sector-rail):not(#kadic-one-pair) {
  display: none !important;
}

body.tv #sector-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 220;
  background: rgba(7, 27, 16, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
}

body.tv #sector-rail .sector-rail__lbl {
  color: rgba(255, 255, 255, .62);
}

body.tv #sector-rail .sector-rail__chip {
  color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  cursor: pointer;
}

body.tv #sector-rail .sector-rail__chip:hover {
  background: rgba(255, 255, 255, .14);
}

body.tv #sector-rail .sector-rail__chip.is-on {
  color: #fff;
  background: rgba(27, 94, 58, .88);
  border-color: rgba(232, 194, 74, .45);
}

body.tv:not(.tv-standalone) .tv-chips {
  display: none;
}

body.tv:not(.tv-standalone) #tvView {
  padding-top: 56px;
}

.tv-source-controls {
  display: none !important;
}

/* Standalone /tv-mode page: stage fits the viewport, letterbox is styled. */
.tv-standalone,
.tv-standalone #tvView {
  background: #071B10;
}

.tv-standalone #tvView {
  display: grid;
  width: 100vw;
  height: 100dvh;
  animation: tvViewIn .6s ease both;
}

.tv-standalone #tvView::before {
  content: "";
  position: absolute;
  inset: -60px;
  z-index: 0;
  background-image: var(--tv-bg, none);
  background-size: cover;
  background-position: center;
  filter: blur(34px) brightness(.42) saturate(1.15);
}

.tv-standalone #tvView::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 100% at 50% 50%, transparent 42%, rgba(4, 18, 10, .72) 100%);
}

.tv-standalone .tvstage {
  z-index: 1;
  border-radius: 8px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55);
}

@keyframes tvViewIn {
  from { opacity: 0; transform: scale(.985); }
  to { opacity: 1; transform: none; }
}

@keyframes tvCardIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.tv-standalone .tv-layer > * {
  animation: tvCardIn .5s cubic-bezier(.22, .61, .36, 1) both;
}

.tv-standalone #tvHead { animation-delay: .04s; }
.tv-standalone #tvChain { animation-delay: .08s; }
.tv-standalone #tvBandHead { animation-delay: .12s; }
.tv-standalone #tvBand { animation-delay: .16s; }
.tv-standalone #tvReach { animation-delay: .2s; }
.tv-standalone #tvShare { animation-delay: .24s; }
.tv-standalone #tvRank { animation-delay: .28s; }
.tv-standalone #tvPhoto { animation: none; }

/* Floating controls — quiet by default, reachable on hover. */
.tv-controls {
  position: fixed;
  z-index: 210;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .22;
  transition: opacity .25s ease;
}

.tv-controls:hover,
.tv-controls:focus-within {
  opacity: 1;
}

.tv-controls button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 28, 17, .72);
  backdrop-filter: blur(10px);
  font: 500 12.5px/1 'Poppins', sans-serif;
  transition: background .2s ease, border-color .2s ease;
}

.tv-controls button:hover {
  background: rgba(9, 40, 24, .95);
  border-color: rgba(232, 194, 74, .6);
}

.tv-controls svg {
  width: 15px;
  height: 15px;
}

.tv-standalone.is-fullscreen #tv-fullscreen {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .tv-standalone #tvView,
  .tv-standalone .tv-layer > *,
  .tv-bg {
    animation: none !important;
  }

  #tvReach .fl,
  #tvRank .r .fl,
  #tvShare .rg circle[data-len] {
    transition: none !important;
  }
}

.tvstage {
  /* Absolute centring: an oversized grid item is start-aligned by the browser,
     which throws the scaled stage off-centre. */
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1920px;
  height: 1080px;
  flex: none;
  transform: translate(-50%, -50%) scale(var(--tvs, 1));
  transform-origin: center center;
  font-family: 'Poppins', sans-serif;
  /* Matches the design's metrics; the site-wide 1.55 overflows fixed-height cards. */
  line-height: 1.45;
  color: #1E2B22;
  overflow: hidden;
  background: #1B3A24 center/cover no-repeat;
}

/* Persistent photo layer: a very slow pan keeps a static wall display alive
   (and helps against burn-in) without ever moving the data. */
.tv-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--tv-photo, none) center/cover no-repeat;
  animation: tvKenBurns 64s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes tvKenBurns {
  from { transform: scale(1.045) translate3d(-.6%, -.4%, 0); }
  to { transform: scale(1.09) translate3d(.7%, .5%, 0); }
}

.tv-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* The outgoing slide, dissolving above the incoming one. */
.tv-ghost {
  z-index: 9;
  pointer-events: none;
  transition: opacity .8s ease, transform .8s ease;
}

.tv-ghost.is-out {
  opacity: 0;
  transform: scale(1.015);
}

.tv-ghost * {
  animation: none !important;
  transition: none !important;
}

#tvReach .fl,
#tvRank .r .fl {
  transition: width .95s cubic-bezier(.22, .61, .36, 1);
}

#tvShare .rg circle[data-len] {
  transition: stroke-dashoffset 1.2s cubic-bezier(.22, .61, .36, 1);
}

.tvstage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(96deg, rgba(10, 40, 24, .52) 0%, rgba(10, 40, 24, .18) 42%, rgba(10, 40, 24, .02) 68%);
}

.tvstage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(120% 90% at 50% 108%, rgba(8, 32, 19, .55), transparent 60%);
}

.tv-title {
  position: absolute;
  z-index: 5;
  left: 53px;
  top: 45px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 34px 0 8px;
  border-radius: 30px;
  background: rgba(28, 74, 42, .94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .34);
  cursor: pointer;
}

.tv-title .back {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 19px;
  line-height: 1;
}

.tv-title b {
  font-size: 29px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.tv-title b em {
  font-style: normal;
  color: #E8C24A;
  font-weight: 700;
}

.tv-chips {
  position: absolute;
  z-index: 5;
  left: 53px;
  top: 145px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}

.tv-chips .lb {
  font-size: 14px;
  color: #7A8781;
  padding-right: 2px;
}

.tv-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 16px;
  border-radius: 19px;
  font-size: 14.5px;
  font-weight: 600;
  color: #26323A;
  background: #fff;
  border: 1px solid #E6E9E5;
  cursor: pointer;
  font-family: inherit;
}

.tv-chip i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  display: block;
}

.tv-chip.on {
  background: #1B5E3A;
  border-color: #1B5E3A;
  color: #fff;
}

.tv-powered {
  position: absolute;
  z-index: 5;
  right: 46px;
  top: 52px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.tv-powered span {
  font-size: 13px;
  letter-spacing: .16em;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

.tv-powered img {
  height: 62px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35));
}

.tv-note {
  position: absolute;
  z-index: 5;
  left: 53px;
  top: 206px;
  background: rgba(232, 194, 74, .95);
  color: #3E2E05;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}

.tvc {
  position: absolute;
  z-index: 4;
  overflow: hidden;
  background: rgba(244, 242, 233, .94);
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .26);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
}

.tvc-lbl {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  color: #77857D;
}

#tvHead {
  left: 46px;
  top: 218px;
  width: 475px;
  height: 211px;
}

#tvHead h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 600;
  color: #22332A;
  letter-spacing: -.01em;
}

#tvHead .n {
  font-size: 62px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  color: #1B5E3A;
  margin-top: 4px;
}

#tvHead .c {
  font-size: 15.5px;
  color: #5C6B62;
  margin-top: 6px;
}

#tvHead .chips {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

#tvHead .chips span {
  background: #E8C24A;
  border-radius: 18px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #3E2E05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 215px;
}

#tvChain {
  left: 541px;
  top: 218px;
  width: 553px;
  height: 211px;
  /* Glass panel so the opaque tiles read as separate cards, as in the design. */
  background: rgba(247, 246, 236, .30);
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 26px;
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .22);
  padding: 18px 22px;
}

#tvChain h4 {
  margin: 0 0 11px;
  padding-left: 16px;
  text-align: left;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .05em;
  color: #078856;
}

#tvChain .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex: 1;
}

#tvChain .t {
  background: #E6EBDF;
  border-radius: 17px;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

#tvChain .t > div:first-child {
  flex: 1;
  min-width: 0;
}

#tvChain .t .nm {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
  color: #657767;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#tvChain .t .vl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1px;
}

#tvChain .t .vl i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
}

#tvChain .t .vl b {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #193A27;
  letter-spacing: -.02em;
}

#tvChain .t .pc {
  flex: none;
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 700;
  color: #078856;
  white-space: nowrap;
}

#tvBandHead {
  position: absolute;
  z-index: 4;
  left: 58px;
  top: 448px;
  right: 820px;
  display: flex;
  align-items: center;
  gap: 20px;
}

#tvBandHead h4 {
  margin: 0;
  font-size: 23px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

#tvBandHead .ln {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .5);
}

#tvBand {
  position: absolute;
  z-index: 4;
  left: 46px;
  top: 490px;
  width: 1062px;
  height: 212px;
  background: rgba(30, 70, 42, .94);
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .30);
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  overflow: hidden;
}

#tvBand .wv {
  position: absolute;
  inset: 0;
  opacity: .30;
  pointer-events: none;
}

#tvBand .ic {
  position: relative;
  background: rgba(255, 255, 255, .96);
  border-radius: 14px;
  padding: 12px 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#tvBand .ic h5 {
  /* flex:none stops the flex column squeezing the title and clipping descenders. */
  flex: none;
  margin: 0 0 6px;
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 600;
  color: #22332A;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#tvBand .r {
  border-top: 1px solid #E6E9E5;
  padding: 4px 0;
}

#tvBand .r:first-of-type {
  border-top: 0;
}

#tvBand .rt {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

#tvBand .rt span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #77857D;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#tvBand .rt b {
  font-size: 13.5px;
  font-weight: 700;
  color: #1B5E3A;
  white-space: nowrap;
}

#tvBand .rt b.gold {
  color: #B98C24;
}

#tvBand .d {
  font-size: 10px;
  color: #8A968F;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#tvDots {
  position: absolute;
  z-index: 4;
  left: 46px;
  top: 714px;
  width: 1062px;
  display: flex;
  gap: 8px;
}

#tvDots i {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .30);
}

#tvDots i.on {
  background: #E8C24A;
}

#tvPhoto {
  position: absolute;
  z-index: 3;
  right: 20px;
  top: 150px;
  width: 720px;
  height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

#tvPhoto img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, .46));
  animation: tvPhotoIn .8s cubic-bezier(.22, .9, .3, 1);
}

@keyframes tvPhotoIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

#tvStrap {
  position: absolute;
  z-index: 5;
  right: 46px;
  top: 640px;
  width: 640px;
  height: 54px;
  background: rgba(244, 242, 233, .95);
  border-radius: 27px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 8px 0 26px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .26);
}

#tvStrap span {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: #22332A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#tvStrap b {
  width: 48px;
  height: 38px;
  border-radius: 19px;
  background: #C6D93B;
  color: #2E3A08;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
}

#tvReach {
  left: 46px;
  top: 745px;
  width: 514px;
  height: 284px;
}

#tvShare {
  left: 580px;
  top: 745px;
  width: 525px;
  height: 284px;
}

#tvRank {
  left: 1125px;
  top: 745px;
  width: 749px;
  height: 284px;
}

#tvReach .big {
  font-size: 34px;
  font-weight: 700;
  color: #22332A;
  letter-spacing: -.025em;
  margin-top: 8px;
  line-height: 1;
}

#tvReach .sub {
  font-size: 14px;
  color: #77857D;
  margin-top: 5px;
  margin-bottom: 14px;
}

#tvReach .row {
  margin-bottom: 13px;
}

#tvReach .rt {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

#tvReach .rt span {
  font-size: 14px;
  font-weight: 600;
  color: #3C4A42;
}

#tvReach .rt b {
  font-size: 15px;
  font-weight: 700;
  color: #22332A;
}

#tvReach .tr {
  display: block;
  height: 9px;
  border-radius: 5px;
  background: #DDE1D6;
  margin-top: 7px;
  overflow: hidden;
}

#tvReach .fl {
  display: block;
  height: 9px;
  border-radius: 5px;
}

#tvShare .rings {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

#tvShare .rg {
  position: relative;
  flex: none;
}

#tvShare .rg > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#tvShare .rg b {
  font-size: 22px;
  font-weight: 700;
  color: #22332A;
  line-height: 1;
}

#tvShare .rg span {
  font-size: 13px;
  font-weight: 600;
  color: #5C6B62;
  margin-top: 2px;
}

#tvShare .ft {
  font-size: 13px;
  color: #77857D;
  text-align: center;
}

#tvRank .rrows {
  margin-top: 10px;
}

#tvRank .r {
  display: grid;
  grid-template-columns: 132px 1fr 96px;
  align-items: center;
  gap: 16px;
  margin-bottom: 9px;
}

#tvRank .r > span {
  font-size: 15px;
  font-weight: 600;
  color: #3C4A42;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#tvRank .r .tr {
  display: block;
  height: 11px;
  border-radius: 6px;
  background: #DDE1D6;
  overflow: hidden;
}

#tvRank .r .fl {
  display: block;
  height: 11px;
  border-radius: 6px;
  background: #1B7A43;
}

#tvRank .r b {
  font-size: 15px;
  font-weight: 700;
  color: #22332A;
  text-align: right;
}

#tvRank .r.me .fl {
  background: #E8C24A;
}

#tvRank .r.me > span,
#tvRank .r.me b {
  color: #8A6410;
}

.tv-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, .16);
  z-index: 6;
}

.tv-progress i {
  display: block;
  height: 4px;
  background: #C6D93B;
}

@media (prefers-reduced-motion: reduce) {
  #tvPhoto img {
    animation: none !important;
  }
}
