.phone-bill-check-page {
  --phone-bg: #f7f4ec;
  --phone-surface: #ffffff;
  --phone-ink: #1f2933;
  --phone-muted: #5b6773;
  --phone-line: #e3e8e4;
  --phone-line-warm: #d8cfbd;
  --phone-action: #d96c4a;
  --phone-action-dark: #ad4f34;
  --phone-action-soft: #fff1e8;
  --phone-info: #3e6b8a;
  --phone-info-soft: #eef4f8;
  --phone-trust: #2f6e62;
  --phone-trust-soft: #edf6f2;
  --phone-warning-soft: #fff4e8;
  --phone-radius: 14px;
  --phone-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 18px rgba(31, 41, 51, .05);
}

body.phone-bill-check-page {
  background: var(--phone-bg);
  background-size: auto;
}

.phone-check-main {
  width: min(100%, 1080px);
  margin: 0 auto;
  color: var(--phone-ink);
}

.phone-check-main h1,
.phone-check-main h2,
.phone-check-main h3,
.phone-check-main p,
.phone-check-main figure,
.phone-check-main dl,
.phone-check-main dd {
  margin-top: 0;
}

.phone-check-main h1,
.phone-check-main h2,
.phone-check-main h3 {
  color: var(--phone-ink);
  letter-spacing: 0;
}

.phone-check-main a:focus-visible,
.phone-check-main summary:focus-visible {
  outline: 3px solid rgba(62, 107, 138, .42);
  outline-offset: 3px;
  border-radius: 8px;
}

.phone-check-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  align-items: center;
  padding: 0 2px 20px;
  color: var(--phone-muted);
  font-size: 13px;
}

.phone-check-breadcrumb a {
  color: var(--phone-info);
  text-underline-offset: 3px;
}

.phone-check-breadcrumb span[aria-current="page"] {
  color: var(--phone-ink);
  font-weight: 700;
}

.phone-check-hero {
  display: grid;
  grid-template-columns: 1fr;
  padding: 24px 2px 32px;
}

.phone-check-kicker {
  margin-bottom: 8px;
  color: var(--phone-action-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.phone-check-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.28;
}

.phone-check-hero h1 > span {
  display: block;
}

.phone-check-title-amount {
  display: inline;
  color: var(--phone-action-dark);
}

@media (min-width: 901px) {
  .phone-check-title-question {
    white-space: nowrap;
  }
}

.phone-check-lead {
  margin-bottom: 0;
  color: #394651;
  font-size: 17px;
  line-height: 1.85;
}

.phone-check-summary-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: 32px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid var(--phone-line);
  border-left: 4px solid var(--phone-action);
  border-radius: var(--phone-radius);
  background: var(--phone-surface);
  box-shadow: var(--phone-shadow);
}

.phone-check-summary-card + .phone-example-grid {
  margin-top: 24px;
}

.phone-check-answer {
  display: grid;
  gap: 8px;
  padding-right: 32px;
  border-right: 1px solid var(--phone-line);
  color: #394651;
  font-size: 16px;
  line-height: 1.7;
}

.phone-check-answer strong {
  color: var(--phone-ink);
  font-size: 21px;
  line-height: 1.5;
}

.phone-bill-visual {
  min-width: 0;
  margin-bottom: 0;
}

.phone-bill-total {
  margin: 0 0 18px;
  text-align: center;
}

.phone-bill-total span,
.phone-bill-total strong {
  display: block;
}

.phone-bill-total span {
  color: var(--phone-muted);
  font-size: 15px;
}

.phone-bill-total strong {
  margin-top: 2px;
  color: var(--phone-ink);
  font-size: 44px;
  line-height: 1.2;
}

.phone-bill-stack {
  display: flex;
  min-height: 44px;
  overflow: hidden;
  border-radius: 10px;
}

.phone-bill-stack span {
  display: grid;
  place-items: center;
  min-width: 8px;
  padding: 0 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.phone-bill-stack .is-service { background: var(--phone-action); }
.phone-bill-stack .is-device { background: var(--phone-info); }
.phone-bill-stack .is-call { background: var(--phone-trust); }
.phone-bill-stack .is-option { background: #8a6a4f; }

.phone-bill-legend {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 8px 12px;
  margin: 18px 0 0;
  font-size: 15px;
}

.phone-bill-legend div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 6px;
}

.phone-bill-legend dt,
.phone-bill-legend dd {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.phone-bill-legend dt::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
}

.phone-bill-legend dt.is-service::before { background: var(--phone-action); }
.phone-bill-legend dt.is-device::before { background: var(--phone-info); }
.phone-bill-legend dt.is-call::before { background: var(--phone-trust); }
.phone-bill-legend dt.is-option::before { background: #8a6a4f; }

.phone-bill-legend dd {
  min-width: 6ch;
  margin-bottom: 0;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.phone-check-section {
  padding: 46px 2px;
}

.phone-check-section + .phone-check-section {
  border-top: 1px solid rgba(216, 207, 189, .74);
}

.phone-check-section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.phone-check-section h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3.2vw, 33px);
  line-height: 1.35;
}

.phone-check-section-head > p:last-child {
  margin-bottom: 0;
  color: var(--phone-muted);
  line-height: 1.75;
}

.phone-example-grid,
.phone-decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.phone-example-card,
.phone-decision-grid article {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--phone-line);
  border-radius: var(--phone-radius);
  background: var(--phone-surface);
  box-shadow: var(--phone-shadow);
}

.phone-example-label,
.phone-decision-grid article > span {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 28px;
  margin-bottom: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.phone-example-label {
  background: var(--phone-action-soft);
  color: var(--phone-action-dark);
}

.phone-example-card h3,
.phone-decision-grid h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.45;
}

.phone-example-card dl {
  display: grid;
  gap: 5px;
  margin-bottom: 16px;
}

.phone-example-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid #edf0ed;
  color: #43515c;
  font-size: 16px;
}

.phone-example-card dd {
  margin-bottom: 0;
  color: var(--phone-ink);
  font-weight: 800;
}

.phone-decision-grid article > p {
  margin-bottom: 0;
  color: var(--phone-muted);
  font-size: 16px;
  line-height: 1.7;
}

.phone-example-result {
  margin: auto -8px -8px;
  padding: 11px 12px;
  border-radius: 9px;
  background: var(--phone-action-soft);
  color: var(--phone-action-dark);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}

.phone-example-note {
  margin: 16px 0 0;
  color: var(--phone-muted);
  font-size: 13px;
  line-height: 1.65;
}

.phone-point-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--phone-line);
  border-radius: var(--phone-radius);
  background: var(--phone-surface);
  box-shadow: var(--phone-shadow);
}

.phone-point-panel article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 20px;
}

.phone-point-panel article:nth-child(odd) { border-right: 1px solid var(--phone-line); }
.phone-point-panel article:nth-child(n+3) { border-top: 1px solid var(--phone-line); }

.phone-point-panel article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--phone-action);
  color: #fff;
  font-weight: 900;
}

.phone-point-panel h3 {
  margin-bottom: 4px;
  font-size: 18px;
  line-height: 1.45;
}

.phone-point-panel p {
  margin-bottom: 0;
  color: var(--phone-muted);
  font-size: 16px;
  line-height: 1.7;
}

.phone-decision-grid article {
  border-top-width: 5px;
}

.phone-decision-grid .is-keep { border-top-color: var(--phone-trust); }
.phone-decision-grid .is-change { border-top-color: var(--phone-info); }
.phone-decision-grid .is-compare { border-top-color: var(--phone-action); }

.phone-decision-grid .is-keep > span { background: var(--phone-trust-soft); color: var(--phone-trust); }
.phone-decision-grid .is-change > span { background: var(--phone-info-soft); color: var(--phone-info); }
.phone-decision-grid .is-compare > span { background: var(--phone-action-soft); color: var(--phone-action-dark); }

.phone-check-cta-area {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
}

.phone-check-cta-intro {
  margin-bottom: 14px;
  color: #394651;
  font-weight: 800;
  line-height: 1.7;
}

.phone-check-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 520px);
  min-height: 56px;
  padding: 12px 20px;
  border: 1px solid var(--phone-action);
  border-radius: 12px;
  background: var(--phone-action);
  box-shadow: 0 8px 18px rgba(173, 79, 52, .18);
  color: #fff;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

.phone-check-primary-cta:hover {
  border-color: var(--phone-action-dark);
  background: var(--phone-action-dark);
}

.phone-check-cta-note {
  margin: 10px 0 0;
  color: var(--phone-muted);
  font-size: 13px;
}

.phone-check-condition-note {
  margin: 13px 0 0;
  color: var(--phone-muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.phone-check-faq-section,
.phone-check-related-section {
  max-width: 820px;
  margin: 0 auto;
}

.phone-check-faq-list {
  display: grid;
  gap: 9px;
}

.phone-check-faq-list details {
  border: 1px solid var(--phone-line);
  border-radius: 12px;
  background: var(--phone-surface);
}

.phone-check-faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 50px 14px 16px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.5;
  list-style: none;
}

.phone-check-faq-list summary::-webkit-details-marker { display: none; }

.phone-check-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 17px;
  color: var(--phone-info);
  font-size: 22px;
  font-weight: 600;
  transform: translateY(-50%);
}

.phone-check-faq-list details[open] summary::after { content: "−"; }

.phone-check-faq-list details > div {
  padding: 0 40px 16px 16px;
  color: var(--phone-muted);
  font-size: 16px;
  line-height: 1.75;
}

.phone-check-faq-list details p { margin-bottom: 0; }

.phone-check-related-list {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--phone-line);
  border-radius: 12px;
  background: var(--phone-surface);
  list-style: none;
}

.phone-check-related-list li + li { border-top: 1px solid var(--phone-line); }

.phone-check-related-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 13px 16px;
  color: var(--phone-ink);
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
}

.phone-check-related-list a:hover { background: var(--phone-info-soft); }

.phone-check-related-list a span:last-child {
  color: var(--phone-info);
  font-size: 18px;
}

@media (max-width: 900px) {
  .phone-check-summary-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .phone-check-answer {
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--phone-line);
  }

  .phone-example-grid,
  .phone-decision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .phone-check-breadcrumb {
    padding: 0 0 16px;
  }

  .phone-check-hero {
    padding: 20px 0 28px;
  }

  .phone-check-hero h1 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .phone-check-lead {
    font-size: 16px;
    line-height: 1.8;
  }

  .phone-check-summary-card {
    gap: 20px;
    padding: 22px 18px;
  }

  .phone-check-summary-card + .phone-example-grid {
    margin-top: 20px;
  }

  .phone-check-answer {
    padding-bottom: 20px;
  }

  .phone-bill-total strong { font-size: 34px; }

  .phone-check-section {
    padding: 40px 0;
  }

  .phone-point-panel {
    grid-template-columns: 1fr;
  }

  .phone-point-panel article:nth-child(odd) { border-right: 0; }
  .phone-point-panel article:nth-child(n+2) { border-top: 1px solid var(--phone-line); }

  .phone-example-card,
  .phone-decision-grid article {
    padding: 18px 16px;
  }
}

@media (max-width: 420px) {
  .phone-check-breadcrumb {
    font-size: 12px;
  }

  .phone-check-hero h1 {
    font-size: 29px;
  }

  .phone-bill-legend {
    grid-template-columns: 1fr;
  }

  .phone-bill-stack span {
    overflow: hidden;
    padding-inline: 2px;
    font-size: 10px;
  }

  .phone-point-panel article {
    padding: 16px;
  }

  .phone-check-primary-cta {
    min-height: 54px;
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-check-main *,
  .phone-check-main *::before,
  .phone-check-main *::after {
    scroll-behavior: auto !important;
  }
}
