.web-prices {
  --plan-ink: #0a2540;
  --plan-border: #c8d4de;
  --plan-wash: #e9f0f5;
  --plan-soft: #f5f8fb;
  --plan-price: #ad3525;
}

.web-prices .web-plan-index { padding-block: 32px 6px; }
.web-prices .web-plan-index h2 { font-size: clamp(1.45rem, 2.5vw, 2.25rem); font-weight: 700; }
.web-prices .web-plan-compare-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 9px; }
.web-prices .web-plan-compare-links a { color: var(--plan-ink); text-decoration: underline; text-underline-offset: .25em; padding-block: 5px; }
.web-prices .web-plan-compare-links a::before { content: '›'; margin-inline-end: .45em; color: var(--plan-price); }
.web-prices :is(#monthly-plan, #buyout-plan) .heading { margin-bottom: 16px; }
.web-prices #monthly-plan .lp-direct-notice { margin-block: 14px 20px; }
.web-prices :is(#monthly-plan, #buyout-plan) > .wrap > .note { font-size: .9375rem; margin-bottom: 14px; }

.web-prices .web-plan-comparison { margin-block: 16px 12px; min-width: 0; color: var(--plan-ink); }
.web-prices .web-plan-comparison .price-section-heading { margin-bottom: 10px; }
.web-prices .web-plan-comparison h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.web-prices .web-plan-comparison :is(.price-section-heading p, .buyout-comparison-help) {
  margin-top: 7px;
  font-size: .9375rem;
  line-height: 1.6;
}
.web-prices .web-plan-comparison .comparison-scroll-help { display: none; margin: 5px 0 8px; }
.web-prices .monthly-update-guide {
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid var(--plan-border);
  border-radius: 6px;
  background: var(--plan-soft);
  font-size: .9375rem;
  line-height: 1.6;
}
.web-prices .monthly-update-guide strong { display: block; font-weight: 700; }
.web-prices :is(#monthly-plan, #buyout-plan) .web-plan-comparison .compare-table-wrap {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--plan-border);
  border-radius: 7px;
  background: #fff;
}
.web-prices .web-plan-comparison .compare-table {
  width: 100%;
  min-width: 55rem;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .9375rem;
  line-height: 1.55;
}
.web-prices #monthly-comparison .compare-table { min-width: 64rem; }
.web-prices .archive-monthly-comparison { max-width: 100%; overflow-x: auto; }
.web-prices .archive-monthly-comparison table { min-width: 64rem; }
.web-prices .archive-monthly-comparison:focus-visible { outline: 3px solid #22629a; outline-offset: 3px; }
@media (max-width: 1170px) {
  .web-prices #monthly-comparison .comparison-scroll-help { display: block; }
}
.web-prices .web-plan-comparison caption { padding: 9px 14px; text-align: left; font-size: .9375rem; background: #fff; }
.web-prices .web-plan-comparison :is(th, td) {
  padding: 11px 13px;
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
  border-inline-end: 1px solid var(--plan-border);
  border-block-end: 1px solid var(--plan-border);
}
.web-prices .web-plan-comparison :is(th, td):last-child { border-inline-end: 0; }
.web-prices .web-plan-comparison tbody tr:last-child > * { border-block-end: 0; }
.web-prices .web-plan-comparison thead th { background: #dfeaf2; font-weight: 700; }
.web-prices .web-plan-comparison thead th:first-child { width: 9rem; }
@media (max-width: 360px) {
  .web-prices #monthly-comparison thead th:first-child { width: 7rem; }
}
.web-prices .web-plan-comparison tbody tr:nth-child(even) td { background: #f7f9fb; }
.web-prices .web-plan-comparison tr > th:first-child {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background: var(--plan-wash);
  box-shadow: 1px 0 var(--plan-border);
}
.web-prices .web-plan-comparison thead tr > th:first-child { background: #dfeaf2; }
.web-prices .web-plan-comparison tbody tr:first-child td {
  color: var(--plan-price);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  white-space: nowrap;
}
.web-prices .web-plan-comparison thead :is(.recommend-badge, small) { display: block; font-size: .8rem; }
.web-prices :is(.compare-table-wrap, .plan-scope-details > summary):focus-visible {
  outline: 3px solid #22629a;
  outline-offset: 3px;
}

.web-prices :is(#monthly-plan, #buyout-plan) .plan-scope-details,
.web-prices :is(#monthly-plan, #buyout-plan) .plan-scope-details[open] {
  border: 1px solid var(--plan-border);
  border-radius: 7px;
  background: #fff;
  padding: 0;
  margin-block: 12px 0;
  text-align: left;
}
.web-prices :is(#monthly-plan, #buyout-plan) .plan-scope-details > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 6px;
  background: var(--plan-soft);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  text-align: left;
}
.web-prices :is(#monthly-plan, #buyout-plan) .plan-scope-details[open] > summary {
  border-radius: 6px 6px 0 0;
  border-bottom: 1px solid var(--plan-border);
  background: var(--plan-wash);
}
.web-prices :is(#monthly-plan, #buyout-plan) .plan-scope-details > summary::after {
  content: '';
  display: block;
  flex: 0 0 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin: -4px 4px 0 8px;
}
.web-prices :is(#monthly-plan, #buyout-plan) .plan-scope-details[open] > summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}
.web-prices .plan-scope-details .legacy-detail { font-size: .975rem; line-height: 1.7; }
.web-prices :is(#monthly-plan, #buyout-plan) .plan-scope-details > div { padding: clamp(10px, 1.5vw, 20px); }
.web-prices .monthly-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(14px, 2vw, 26px);
  color: var(--plan-ink);
}
.web-prices .monthly-detail-layout h3 { font-size: clamp(1.25rem, 1.8vw, 1.625rem); margin: 0 0 6px; }
.web-prices .monthly-common { background: var(--plan-soft); padding: 16px; border-radius: 6px; }
.web-prices .monthly-common > p + p { margin-top: 8px; }
.web-prices .monthly-common-terms { margin: 12px 0; border: 1px solid var(--plan-border); border-radius: 5px; overflow: hidden; }
.web-prices .monthly-common-terms > div { display: grid; grid-template-columns: minmax(7rem, .8fr) minmax(0, 1.5fr); }
.web-prices .monthly-common-terms > div + div { border-top: 1px solid var(--plan-border); }
.web-prices .monthly-common-terms dt { padding: 10px; font-weight: 700; background: var(--plan-wash); }
.web-prices .monthly-common-terms dd { margin: 0; padding: 10px; background: #fff; overflow-wrap: anywhere; }
.web-prices .monthly-common-terms dd b { display: block; color: var(--plan-ink); }
.web-prices .monthly-common-terms > div:first-child b { color: var(--plan-price); font-size: 1.25rem; }
.web-prices .monthly-common-terms dd p + p { margin-top: 6px; }
.web-prices .monthly-common-terms .note { font-size: inherit; line-height: inherit; }
.web-prices .monthly-card-panel .plan-tax { font-size: .9375rem; margin-bottom: 10px; }
.web-prices :is(.renewal-plan-cards, .buyout-scope-grid) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}
.web-prices :is(.renewal-plan-cards, .buyout-scope-grid) > article {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--plan-border);
  border-radius: 6px;
  overflow: hidden;
  overflow-wrap: anywhere;
  padding: 14px;
}
.web-prices .renewal-plan-card > .plan-label {
  margin: -14px -14px 8px;
  padding: 8px 14px;
  background: var(--plan-wash);
  font-size: 1.075rem;
  font-weight: 700;
}
.web-prices .renewal-plan-card .monthly-recommendation { display: inline; margin-inline-start: 8px; font-size: .8rem; }
.web-prices .renewal-plan-card .plan-price,
.web-prices .buyout-scope-grid .buyout-card-price { font-size: 1.2rem; color: var(--plan-price); font-weight: 700; margin-bottom: 6px; }
.web-prices .renewal-plan-card .plan-price strong { font-size: inherit; }
.web-prices .renewal-plan-card .plan-highlights { list-style: none; padding: 0; border-bottom: 1px solid var(--plan-border); margin-bottom: 10px; padding-bottom: 7px; }
.web-prices .renewal-plan-card .plan-card-caption { font-weight: 700; margin-bottom: 5px; }
.web-prices .plan-scope-details :is(.plan-features, .buyout-card-list, .plan-detail-benefits, .web-line-option ul) { list-style: disc; padding-inline-start: 1.2em; margin-block: 8px; }
.web-prices .renewal-plan-card .plan-summary + .plan-summary { margin-top: 8px; }
.web-prices .plan-scope-details :is(.web-line-option, .plan-detail-notes, .buyout-plan-intro) { margin-block: 18px 0; padding: 15px; border: 1px solid var(--plan-border); border-radius: 6px; background: var(--plan-soft); }
.web-prices .plan-scope-details :is(.plan-detail-notes, .web-line-option) p + p { margin-top: 8px; }
.web-prices .plan-scope-details .web-line-option .line-option-price { color: var(--plan-price); display: block; margin-top: 8px; }
.web-prices .plan-scope-details .line-option-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.web-prices .plan-scope-details .line-option-links a { text-decoration: underline; text-underline-offset: .2em; }
.web-prices .plan-scope-details .buyout-scope-grid { margin-top: 14px; }
.web-prices .plan-scope-details .buyout-scope-grid h4 { font-size: 1rem; margin-top: 10px; }
.web-prices .plan-scope-details .buyout-card-link { text-decoration: underline; }

@media (max-width: 1060px) {
  .web-prices .web-plan-comparison .comparison-scroll-help { display: block; }
  .web-prices .renewal-plan-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .web-prices .web-plan-index { padding-block: 26px 4px; }
  .web-prices .monthly-detail-layout,
  .web-prices .buyout-scope-grid { grid-template-columns: minmax(0, 1fr); }
  .web-prices .monthly-common { padding: 12px; }
  .web-prices .monthly-common-terms > div { grid-template-columns: minmax(0, 1fr); }
  .web-prices .monthly-common-terms :is(dt, dd) { padding: 8px; }
  .web-prices .web-plan-comparison :is(th, td) { padding: 9px 10px; }
}
