.detail-page {
  padding: 29px 0 48px;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  color: var(--muted, #51627a);
  font-size: 13px;
  font-weight: 650;
}

.detail-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.detail-breadcrumb svg {
  flex: none;
  color: #8194ae;
}

.detail-breadcrumb [aria-current] {
  color: var(--ink, #101d31);
  font-weight: 750;
}

.detail-page a:not(.detail-btn):hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-bottom: 26px;
}

.detail-hero h1 {
  margin: 0;
  font-size: clamp(37px, 4.1vw, 59px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
}

.detail-description {
  max-width: 68ch;
  margin: 12px 0 0;
  color: var(--muted, #51627a);
  font-size: 16px;
  line-height: 1.65;
}

.detail-description a,
.detail-link,
.detail-table a {
  color: #214ccc;
  font-weight: 800;
}

.detail-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 11px;
  padding: 5px 9px;
  border-radius: 7px;
  background: #e9efff;
  color: #214ac6;
  font-size: 12px;
  font-weight: 800;
}

.detail-label svg {
  flex: none;
}

.detail-badge {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid #d7e5ff;
  border-radius: 13px;
  background: #eaf1ff;
  color: #214fcf;
}

.detail-badge div {
  display: grid;
  gap: 2px;
}

.detail-badge small {
  color: #465d82;
  font-size: 11px;
  font-weight: 750;
}

.detail-badge strong,
.detail-badge a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 18px;
  font-weight: 800;
}

.detail-code-art {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  align-content: center;
  flex: 0 0 355px;
  flex-wrap: wrap;
  gap: 10px;
  height: 170px;
  overflow: hidden;
  isolation: isolate;
  padding-left: 24px;
  border: 1px solid #d7e5ff;
  border-radius: 18px;
  color: #1c49cc;
  background:
    repeating-radial-gradient(circle at 82% 50%, transparent 0 23px, #afc5f9 24px 24.75px),
    linear-gradient(90deg, #a6c5ef38 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(#a6c5ef38 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(119deg, #e0ebff, #f0f6ff);
}

.detail-code-art::before {
  position: absolute;
  top: 19%;
  left: 82%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2457ef;
  box-shadow: 0 0 0 4px #ffffffcf;
  content: "";
}

.detail-code-art small {
  color: #405eae;
  font-size: clamp(19px, 2.5vw, 32px);
  font-weight: 750;
}

.detail-code-art strong {
  font-size: clamp(62px, 7vw, 93px);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 1;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.detail-tags span,
.detail-prefix-chip {
  padding: 4px 8px;
  border: 1px solid #dce8ff;
  border-radius: 7px;
  background: #eef4ff;
  color: #36537a;
  font-size: 12px;
  font-weight: 650;
}

.detail-tags strong {
  color: #264bb1;
  font-weight: 800;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 23px;
}

.detail-grid > div {
  min-width: 0;
}

.detail-panel,
.detail-stats > div {
  border: 1px solid var(--line, #dce5f2);
  border-radius: 16px;
  background: #fff;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  margin: 0 0 25px;
}

.detail-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 19px;
}

.detail-stats strong {
  color: #214ccc;
  font-size: clamp(23px, 2.2vw, 31px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}

.detail-stats span {
  color: var(--muted, #51627a);
  font-size: 13px;
  font-weight: 750;
}

.detail-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px 20px;
  margin: 0 0 14px;
}

.detail-section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: -.047em;
  line-height: 1.15;
}

.detail-section-heading p {
  margin: 6px 0 0;
  color: var(--muted, #51627a);
  font-size: 13px;
  font-weight: 650;
}

.detail-overflow {
  max-width: 100%;
  overflow-x: auto;
  border-radius: 15px;
}

.detail-overflow:focus-visible {
  outline: 2px solid #2457ef;
  outline-offset: -2px;
}

.detail-table {
  width: 100%;
  min-width: 530px;
  border-collapse: collapse;
  text-align: left;
  color: #3a506d;
  font-size: 14px;
  font-weight: 650;
}

.detail-table th {
  min-height: 45px;
  padding: 12px 20px;
  background: #f8faff;
  color: #4e607a;
  font-size: 12px;
  font-weight: 800;
}

.detail-table td {
  height: 52px;
  padding: 12px 20px;
  border-top: 1px solid #e4ecf6;
}

.detail-table .detail-numeric {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.detail-table td.detail-numeric,
.detail-table td strong {
  color: var(--ink, #101d31);
  font-weight: 800;
}

.detail-row-title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 155px;
  color: var(--ink, #101d31);
  font-weight: 780;
}

.detail-row-title svg {
  flex: none;
  color: #4e6bc0;
}

.detail-cell-prefixes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.detail-cell-prefixes .detail-prefix-chip {
  color: #2550bb;
  white-space: nowrap;
}

.detail-icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 10px;
  color: var(--blue, #2457ef);
  background: #edf3ff;
}

.detail-phone {
  padding: 22px;
}

.detail-phone h2,
.detail-number-list h2 {
  margin: 12px 0 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.detail-phone p,
.detail-number-list p {
  margin: 5px 0 15px;
  color: var(--muted, #51627a);
  font-size: 14px;
  line-height: 1.55;
}

.detail-phone form {
  display: grid;
  gap: 9px;
}

.detail-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid #ccd9ee;
  border-radius: 9px;
  color: var(--ink, #101d31);
  background: #fff;
  font: inherit;
  font-size: 14px;
}

.detail-input::placeholder {
  color: #586b86;
}

.detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 45px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #fff;
  background: var(--blue, #2457ef);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.detail-btn:hover {
  background: #1945cc;
}

.detail-btn:focus-visible,
.detail-input:focus-visible,
.detail-page a:focus-visible,
.detail-page summary:focus-visible {
  outline: 2px solid #2457ef;
  outline-offset: 3px;
}

.detail-note {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-top: 15px;
  padding: 13px 16px;
  border: 1px solid #d8e6fd;
  border-radius: 12px;
  background: #eaf1ff;
  color: #335272;
  font-size: 13px;
  line-height: 1.5;
}

.detail-note svg {
  flex: none;
  color: #2355dc;
}

.detail-note strong {
  color: #1e3a63;
  font-weight: 800;
}

.detail-note p {
  margin: 3px 0 0;
}

.detail-list-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.detail-list-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 62px;
  padding: 9px 14px;
  border: 1px solid var(--line, #dce5f2);
  border-radius: 12px;
  background: #fff;
  font-weight: 800;
}

.detail-list-nav [aria-current] {
  border-color: #9eb7fb;
  background: #f1f5ff;
  color: #214ad0;
}

.detail-list-nav a > svg {
  margin-left: auto;
  flex: none;
  color: #4d6999;
}

.detail-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line, #dce5f2);
}

.detail-filter .detail-input {
  max-width: 380px;
}

.detail-empty {
  margin: 0;
  padding: 20px;
  color: var(--muted, #51627a);
  font-size: 14px;
  line-height: 1.6;
}

.detail-pages {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 13px 20px;
  border-top: 1px solid var(--line, #dce5f2);
  color: var(--muted, #51627a);
  font-size: 13px;
  font-weight: 650;
}

.detail-pages a,
.detail-more summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #214ccc;
  font-weight: 800;
}

.detail-more {
  margin-top: 13px;
}

.detail-more summary {
  cursor: pointer;
  padding: 6px 2px;
  font-size: 13px;
}

.detail-more[open] summary {
  margin-bottom: 10px;
}

.detail-number-list {
  margin: 0 0 22px;
  padding: 17px 20px;
}

.detail-number-list h2 {
  margin-top: 0;
}

.detail-digits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.detail-callback {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 13px 17px;
  border: 1px solid var(--line, #dce5f2);
  border-radius: 13px;
  background: #edf3ff;
}

.detail-callback strong {
  display: block;
  font-weight: 800;
}

.detail-callback p {
  margin: 2px 0 0;
  color: var(--muted, #51627a);
  font-size: 13px;
}

.detail-callback a {
  margin-left: auto;
  white-space: nowrap;
}

.detail-extra {
  margin: 22px 0 0;
}

@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 15px;
  }

  .detail-code-art {
    flex-basis: 260px;
    height: 150px;
  }

  .detail-phone {
    padding: 15px;
  }
}

@media (max-width: 760px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-page {
    padding: 22px 0 36px;
  }

  .detail-hero {
    flex-direction: column;
    align-items: start;
    gap: 15px;
  }

  .detail-code-art {
    width: 100%;
    max-width: 355px;
    flex-basis: auto;
    height: 122px;
  }
}

@media (max-width: 510px) {
  .detail-filter,
  .detail-section-heading,
  .detail-callback {
    flex-wrap: wrap;
  }

  .detail-filter {
    padding: 12px;
  }

  .detail-callback a {
    margin-left: 0;
  }

  .detail-list-nav {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .detail-list-nav a {
    min-height: 44px;
    padding: 5px 10px;
  }

  .detail-list-nav .detail-icon {
    width: 30px;
    height: 30px;
  }

  .detail-table th,
  .detail-table td {
    padding-inline: 12px;
  }

  .detail-stats {
    gap: 8px;
  }

  .detail-stats > div {
    padding: 11px;
  }
}

.detail-row-icon {
  width: 31px;
  height: 31px;
  border-radius: 8px;
}

.detail-pages > div {
  display: flex;
  gap: 15px;
}

.detail-prefix-list {
  padding: 15px;
}

.detail-suffix-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.detail-suffix-fields legend,
.detail-final-pair label {
  margin-bottom: 8px;
  color: var(--muted, #51627a);
  font-size: 13px;
  font-weight: 700;
}

.detail-digits label {
  position: relative;
  cursor: pointer;
}

.detail-digits label input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.detail-digits label span {
  display: grid;
  place-items: center;
  min-width: 41px;
  min-height: 36px;
  border: 1px solid #dce8ff;
  border-radius: 7px;
  background: #edf3ff;
  color: #2350d1;
  font-size: 14px;
  font-weight: 800;
}

.detail-digits label input:checked + span {
  border-color: #2457ef;
  background: #2457ef;
  color: white;
}

.detail-digits label input:focus-visible + span {
  outline: 2px solid #2457ef;
  outline-offset: 3px;
}

.detail-final-pair {
  margin-top: 15px;
}

.detail-final-pair label {
  display: block;
}

.detail-final-pair > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-final-pair input {
  width: 76px;
}

.detail-range-end,
.detail-locality {
  display: block;
  margin-top: 2px;
  color: var(--muted, #51627a);
  font-size: 12px;
}

@media (max-width: 510px) {
  .detail-digits {
    gap: 5px;
  }

  .detail-digits label span {
    min-width: 34px;
    min-height: 34px;
  }
}

.detail-back {
  display: inline-flex;
  transform: rotate(180deg);
}

.detail-code-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 6px;
}

.detail-code-links a {
  color: #244bb8;
  font-weight: 730;
  font-variant-numeric: tabular-nums;
}

.detail-prefix-list .detail-code-links a {
  min-width: 49px;
  padding: 5px 9px;
  border: 1px solid #dce8ff;
  border-radius: 7px;
  background: #eef4ff;
  text-align: center;
}

.detail-code-group + .detail-code-group {
  border-top: 1px solid var(--line, #dce5f2);
}

.detail-code-group-heading {
  padding: 13px 18px;
  color: var(--ink, #101d31);
  font-size: 15px;
  font-weight: 800;
}

.detail-code-group-heading a {
  color: #214ccc;
}

.detail-code-group-more {
  margin: 0;
  border-top: 1px solid var(--line, #dce5f2);
}

.detail-code-group-more > summary {
  padding: 12px 19px;
}

.detail-coverage-caption {
  margin: 9px 0;
  color: var(--muted, #51627a);
  font-size: 13px;
}

.detail-coverage-caption-inset {
  padding-inline: 19px;
}

@media (max-width: 600px) {
  .detail-table,
  .detail-table tbody {
    display: block;
    min-width: 0;
  }

  .detail-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .detail-table tbody tr {
    display: block;
    padding: 8px 13px;
    border-top: 1px solid #e4ecf6;
  }

  .detail-table tbody tr:first-child {
    border-top: 0;
  }

  .detail-table tbody td {
    display: block;
    height: auto;
    min-height: 0;
    padding: 4px 0;
    border-top: 0;
    white-space: normal;
  }

  .detail-table td[data-label] {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    gap: 12px;
    text-align: right;
  }

  .detail-table td[data-label]::before {
    content: attr(data-label);
    color: var(--muted, #51627a);
    font-size: 12px;
    font-weight: 650;
    text-align: left;
  }

  .detail-table td.detail-mobile-wide {
    display: block;
    text-align: left;
  }

  .detail-table td.detail-mobile-wide::before {
    display: block;
    margin-bottom: 4px;
  }
}

.detail-plain-masks {
  color: var(--muted, #51627a);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.detail-archive-relations {
  padding: 0 20px 16px;
  color: var(--muted, #51627a);
  font-size: 14px;
}

.detail-archive-relations ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.detail-archive-relations a {
  color: #214ccc;
  font-weight: 800;
}
