:root {
  --ink: #0c2340;
  --muted: #5b6d82;
  --line: #d4e0ef;
  --paper: #eef4fb;
  --surface: #f8fbff;
  --brand: #1a4fbf;
  --brand-deep: #0d3a8c;
  --accent: #2ec6f0;
  --aktif: #1a4fbf;
  --historis: #d0891f;
  --kosong: #7a8790;
  --shadow: 0 18px 40px rgba(13, 58, 140, 0.12);
  --radius: 18px;
  --font-display: "Sora", sans-serif;
  --font-body: "Figtree", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -8%, rgba(46, 198, 240, 0.18), transparent 36%),
    radial-gradient(circle at 90% 0%, rgba(26, 79, 191, 0.16), transparent 42%),
    linear-gradient(180deg, #e5eef9 0%, var(--paper) 28%, #f5f8fc 100%);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - 2rem));
  max-width: 100%;
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  backdrop-filter: blur(14px);
  background: rgba(248, 251, 255, 0.88);
  border-bottom: 1px solid rgba(212, 224, 239, 0.9);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand__logo {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.brand span {
  min-width: 0;
}

/* Tabel panjang: jangan disembunyikan animasi reveal */
.table-wrap.reveal,
.related-list.reveal {
  opacity: 1;
  transform: none;
}

.brand__mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

.hero { padding: 2.8rem 0 1.4rem; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.5rem;
  align-items: end;
}

.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.hero__lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40ch;
}

.hero__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}

.btn--pdf {
  background: var(--brand);
  color: #fff;
}

.btn--xls {
  background: #fff;
  color: var(--brand-deep);
  border-color: #b9ccea;
}

.btn--pdf:hover,
.btn--xls:hover {
  transform: translateY(-1px);
}

.btn--sm {
  min-height: 2.05rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.export-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
}

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

.export-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 35, 64, 0.45);
}

.export-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(12, 35, 64, 0.28);
  padding: 1.45rem 1.4rem 1.35rem;
}

.export-modal__close {
  position: absolute;
  top: 0.45rem;
  right: 0.65rem;
  border: 0;
  background: transparent;
  color: #5b6d82;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.export-modal__title {
  margin: 0 1.5rem 0.35rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.export-modal__lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.export-modal__actions {
  display: grid;
  gap: 0.75rem;
}

.export-choice {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid #d4e0ef;
  background: #f8fbff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.export-choice strong {
  font-size: 0.98rem;
  color: var(--brand-deep);
}

.export-choice span {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
}

.export-choice:hover {
  border-color: var(--brand);
  background: #fff;
  transform: translateY(-1px);
}

.export-choice--full {
  background: #0d3a8c;
  border-color: #0d3a8c;
}

.export-choice--full strong,
.export-choice--full span {
  color: #fff;
}

.export-choice--full span {
  color: rgba(255, 255, 255, 0.82);
}

.export-choice--full:hover {
  background: #1a4fbf;
  border-color: #1a4fbf;
}

.export-loading {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(12, 35, 64, 0.55);
  backdrop-filter: blur(2px);
}

.export-loading[hidden] {
  display: none;
}

.export-loading__card {
  width: min(380px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(12, 35, 64, 0.3);
  padding: 1.5rem 1.35rem 1.4rem;
  text-align: center;
}

.export-loading__pct {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #0d3a8c;
  font-variant-numeric: tabular-nums;
}

.export-loading__bar {
  width: 100%;
  height: 10px;
  margin: 0 0 1rem;
  border-radius: 999px;
  background: #e7eef8;
  overflow: hidden;
}

.export-loading__bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1a4fbf, #0d3a8c);
  transition: width 0.25s ease;
}

.export-loading__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.export-loading__text {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

body.export-loading-open {
  overflow: hidden;
}

.hero__panel {
  background-image: linear-gradient(160deg, var(--brand-deep), var(--brand));
  color: #f4f9ff;
  border-radius: calc(var(--radius) + 4px);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero__panel span { opacity: 0.9; }

.section { padding: 1.5rem 0 0.4rem; }

.section__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.section__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  letter-spacing: -0.03em;
}

.section__head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 56ch;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.1rem;
  box-shadow: var(--shadow);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(8, 40, 84, 0.14);
}

.stat__label { color: var(--muted); font-size: 0.88rem; }

.stat__value {
  margin-top: 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}

.stat__meta {
  margin-top: 0.35rem;
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 600;
}

.chart-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  min-width: 0;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.panel h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.panel__hint {
  margin: -0.4rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.chart-wrap {
  position: relative;
  height: 280px;
  width: 100%;
  max-width: 100%;
  cursor: pointer;
  overflow: hidden;
}

.chart-wrap--tall { height: 340px; }
.chart-wrap--source {
  height: 420px;
  cursor: default;
}

.source-card {
  margin-top: 1rem;
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.source-card__label {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.source-card__meta {
  margin: 0.15rem 0 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.source-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.source-card__link:hover {
  background: var(--brand-deep);
}

.source-card__url {
  color: var(--muted);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.chart-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

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

.chart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 35, 64, 0.45);
}

.chart-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(12, 35, 64, 0.28);
  padding: 1.4rem 1.4rem 1.2rem;
}

.chart-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  border: 0;
  background: transparent;
  color: #5b6d82;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.chart-modal__status {
  margin: 0.4rem 0 0;
  color: var(--muted);
  text-align: center;
}

.chart-modal__title {
  margin: 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
}

.chart-modal__source {
  margin: 0.35rem 0 0.9rem;
  color: #555;
  font-size: 0.92rem;
}

.chart-modal__link {
  display: inline-flex;
  margin-top: 0.85rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
}

.chart-modal__link:hover {
  text-decoration: underline;
}

body.modal-open {
  overflow: hidden;
}

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

.bar-item { display: grid; gap: 0.35rem; }

.bar-item__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.bar-item__track {
  height: 10px;
  border-radius: 999px;
  background: #dde8f5;
  overflow: hidden;
}

.bar-item__fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width 900ms cubic-bezier(.2,.7,.2,1);
}

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

table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

table.data th,
table.data td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}

table.data th {
  background: #e8f0fa;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

table.data tbody tr {
  cursor: pointer;
  transition: background 180ms ease;
}

table.data tbody tr:hover { background: #eef5fc; }

table.data tbody tr.is-sub-kelompok { cursor: pointer; }

table.data tbody tr.is-kelompok { cursor: pointer; }

table.data tbody tr.is-sub { cursor: pointer; }

table.data tbody tr.is-sub[hidden],
table.data tbody tr.is-sub-kelompok[hidden],
table.data tbody tr.is-kelompok[hidden] {
  display: none !important;
}

.data-name {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
}

.data-name__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.data-kind {
  display: inline-block;
  width: fit-content;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
  background: #e8f2fb;
  border-radius: 4px;
  padding: 0.12rem 0.45rem;
}

.is-sub-kelompok .data-kind {
  color: #3d5f86;
  background: #f2f6fb;
}

.data-parent-ref {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

table.data--kelompok tbody tr.is-sub-kelompok td.td-primary {
  padding-left: calc(0.65rem + (var(--depth, 1) * 1.15rem));
}

table.data--kelompok tbody tr.is-kelompok td.td-primary {
  padding-left: 0.65rem;
}

tr.is-open .data-toggle__icon {
  transform: rotate(90deg) translateX(1px);
}

.data-toggle {
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  border: 1px solid #c5d4e6;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  padding: 0;
}

.data-toggle__icon {
  width: 0;
  height: 0;
  border-left: 5px solid var(--brand);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: translateX(1px);
}

tr.is-open .data-toggle__icon {
  transform: rotate(90deg) translateX(1px);
}

.data-sub-count {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.td-sub {
  color: var(--ink);
  font-weight: 500;
}

.data-sub-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

tbody tr.is-sub td.td-primary {
  padding-left: 2rem;
}

.link-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(26, 79, 191, 0.1);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease;
}

.link-icon:hover {
  background: rgba(26, 79, 191, 0.18);
  transform: translateY(-1px);
}

.link-icon svg { flex-shrink: 0; }

.td-action {
  width: 1%;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge--aktif { background: rgba(11, 107, 203, 0.14); color: var(--aktif); }
.badge--historis { background: rgba(208, 137, 31, 0.16); color: var(--historis); }
.badge--kosong { background: rgba(122, 135, 144, 0.16); color: var(--kosong); }

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.3;
  background: none;
  border: none;
}

.crumb a {
  color: var(--brand);
  font-weight: 700;
}

.crumb a:hover {
  text-decoration: underline;
}

.crumb__sep {
  color: #8a9bb0;
  font-weight: 500;
}

.crumb__current {
  color: var(--ink);
  font-weight: 600;
}

.detail-hero { padding: 2.2rem 0 1rem; }

.detail-hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
}

.detail-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.kpi small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.source-box {
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #eaf2fb;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.source-box a { color: var(--brand); font-weight: 600; }

.related-list { display: grid; gap: 0.55rem; }

.related-item {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: background 180ms ease, transform 180ms ease;
}

.related-item:hover {
  background: #eef5fc;
  transform: translateX(3px);
}

.site-footer {
  margin-top: 3rem;
  padding: 1.6rem 0 2.2rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 920px) {
  .hero__grid,
  .chart-grid,
  .detail-hero__grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { max-width: none; }

  .hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.85rem;
    margin-top: 1.35rem;
  }

  .btn {
    min-height: 2.7rem;
    padding: 0.65rem 1.15rem;
  }

  .container {
    width: calc(100% - 1.5rem);
  }

  .hero {
    padding: 1.6rem 0 0.6rem;
  }

  .detail-hero {
    padding: 1.4rem 0 0.4rem;
  }

  .section {
    padding: 1.35rem 0 0.2rem;
  }

  .section__head {
    margin-bottom: 1rem;
  }

  .stat-grid,
  .chart-grid,
  .detail-kpis {
    gap: 1rem;
  }

  .brand__logo {
    width: 2.2rem;
    height: 2.2rem;
  }

  .brand span {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .detail-kpis {
    grid-template-columns: 1fr;
  }

  .related-list {
    gap: 0.85rem;
  }

  .related-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .chart-wrap {
    height: 240px;
  }

  .chart-wrap--tall {
    height: 280px;
  }

  .chart-wrap--source {
    height: 320px;
  }

  .chart-modal {
    padding: 0.5rem;
  }

  .chart-modal__dialog {
    padding: 1.1rem 0.9rem 1rem;
    max-height: calc(100vh - 1rem);
  }

  .panel {
    padding: 1rem;
  }

  .source-box {
    margin-top: 1rem;
  }
}

/* Tabel → kartu di mobile */
@media (max-width: 760px) {
  .table-wrap {
    overflow: visible;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    margin-top: 0.35rem;
  }

  table.data {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  table.data thead {
    display: none;
  }

  table.data tbody {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
  }

  table.data tbody tr {
    display: block;
    margin: 0;
    padding: 1.05rem 1.05rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(13, 58, 140, 0.08);
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  }

  table.data tbody tr:hover {
    background: #f3f8ff;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(13, 58, 140, 0.12);
  }

  table.data tbody tr + tr {
    margin-top: 0;
  }

  table.data td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(212, 224, 239, 0.95);
    font-size: 0.92rem;
  }

  table.data td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  table.data td::before {
    content: attr(data-label);
    flex: 0 0 38%;
    max-width: 9.5rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.35;
    padding-top: 0.12rem;
  }

  table.data td > * {
    text-align: right;
  }

  table.data td.td-primary {
    display: block;
    padding-top: 0;
    padding-bottom: 0.8rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
    text-align: left;
  }

  table.data tbody tr.is-sub td.td-primary {
    padding-left: 0;
    font-weight: 500;
  }

  table.data td.td-primary::before {
    display: none;
  }

  table.data td.td-primary > * {
    text-align: left;
  }

  .data-name {
    align-items: flex-start;
  }

  .data-toggle {
    margin-top: 0.15rem;
  }

  table.data td.td-primary strong {
    display: block;
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    line-height: inherit;
  }

  table.data td.td-num {
    justify-content: flex-start;
    gap: 0.5rem;
    padding-top: 0;
    padding-bottom: 0.45rem;
    border-bottom: none;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
  }

  table.data td.td-num::before {
    content: "No.";
    flex: none;
    max-width: none;
    letter-spacing: 0;
    text-transform: none;
    font-size: inherit;
    padding-top: 0;
  }

  table.data td code {
    word-break: break-all;
    text-align: right;
  }

  table.data td.td-action {
    display: flex;
    justify-content: flex-end;
    width: auto;
    padding-top: 0.85rem;
    border-bottom: none;
  }

  table.data td.td-action::before {
    display: none;
  }

  table.data td.td-action .link-icon {
    width: 100%;
    justify-content: center;
  }
}
