/* Edition overview. Full license terms are expanded by default. */
.price-platforms { margin-top: 10px; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.plan-free {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  padding: 23px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.plan-free-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}
.plan-free h3 { font-size: 17px; font-weight: 600; }
.plan-free .cmp-price { margin: 0; font-size: 28px; }
.plan-free .tax { display: none; }
.plan-free-copy { flex: 1; font-size: 14px; line-height: 1.65; }
.plan-free-limit { margin-top: 3px; color: var(--text-2); font-size: 13px; }
.plan-free > .btn { flex: none; padding: 10px 19px; font-size: 13px; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}
.plan-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 29px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
}
.plan-card-rec {
  border-color: rgba(94, 160, 230, 0.55);
  background: linear-gradient(155deg, rgba(94, 160, 230, 0.075), transparent 70%), var(--bg-2);
  box-shadow: inset 0 2px 0 var(--accent);
}
.plan-head { position: relative; min-height: 137px; }
.plan-head h3 { font-size: 17px; font-weight: 600; letter-spacing: var(--heading-tracking); }
.plan-head .cmp-price { margin: 22px 0 8px; font-size: clamp(30px, 3vw, 40px); }
.plan-head .cmp-price .tax { display: inline; margin-left: 6px; font-size: 11px; }
.plan-head .cmp-early { display: flex; flex-wrap: wrap; gap: 3px 8px; margin: 0; }
.plan-head .cmp-early b { font-weight: 500; }
.plan-quota { margin: 4px 0 0; font-size: 12px; line-height: 1.45; color: var(--text-2); }
.plan-rec {
  position: absolute;
  top: -8px;
  right: -8px;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(94, 160, 230, 0.12);
  color: var(--accent-hi);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
}
.plan-facts { padding-top: 19px; border-top: 1px solid var(--line); }
.plan-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan-facts > div + div { margin-top: 7px; }
.plan-facts dt { color: var(--text-2); font-size: 13px; }
.plan-facts dd { font-size: 14px; font-weight: 600; white-space: nowrap; }
.plan-term { margin-top: 18px; color: var(--text-2); font-size: 13px; line-height: 1.85; }
/* 用统一字重强调购买范围，否定词与限制条件一起保留。 */
.plan-term strong, .plan-free-limit strong, .fall-t td strong { color: var(--text); font-weight: 600; }
.plan-card .plan-buy { margin-top: auto; padding: 10px 12px; font-size: 13px; }
.plan-card .plan-term + .plan-buy { margin-top: 24px; }
.plan-card .plan-term { flex: 1; }
.price-details { margin-top: 27px; border-bottom: 1px solid var(--line-2); }
.price-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0 23px;
  color: var(--text-2);
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}
.price-details > summary::-webkit-details-marker { display: none; }
.price-details > summary::after {
  content: '';
  width: 8px;
  height: 8px;
  margin: 0 4px 5px 0;
  flex: none;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.price-details[open] > summary::after { margin-top: 8px; transform: rotate(225deg); }
.price-details > summary:hover { color: var(--text); }
.price-details[open] { padding-bottom: 30px; }
.price-details .cmp-scroll { margin-top: 0; }
.price-details .cmp-hint { margin-top: 0; margin-bottom: 10px; }
.price-details .fall { margin-top: 32px; }
.price-details .fall-h { font-size: clamp(18px, 2vw, 23px); line-height: 1.45; }
.price-details .cmp-notes { color: var(--text-2); }

/* 标签页用途与插件介绍留在价格详情中。 */
.price-feature-note { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.price-feature-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.price-feature-heading h3 { font-family: var(--font-body); font-size: 18px; line-height: 1.5; font-weight: 600; letter-spacing: 0; }
.price-feature-facts { display: grid; gap: 17px; margin-top: 22px; }
.price-feature-facts > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; font-size: 14px; line-height: 1.85; }
.price-feature-facts dt { color: var(--text); font-weight: 500; }
.price-feature-facts dd { color: var(--text-2); text-wrap: pretty; }
.plugin-facts > div { grid-template-columns: 180px minmax(0, 1fr); }
.plugin-name { display: block; margin-top: 3px; color: var(--text-dim); font-family: var(--font-mono); font-size: 11px; font-weight: 400; }
.price-plugin-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 18px; }
.price-plugin-footer p { color: var(--text-2); font-size: 13px; line-height: 1.8; }
.price-plugin-footer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent-hi); font-size: 13px; }
.price-plugin-footer a:hover { color: var(--text); }
@media (max-width: 600px) {
  .price-feature-facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .price-feature-facts { gap: 20px; }
}

@media (min-width: 1001px) {
  html[data-lang="en"] .plan-head { min-height: 151px; }
  html[data-lang="en"] .plan-rec { top: -21px; right: -11px; }
}
@media (max-width: 1000px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .plan-head { min-height: 132px; }
  .plan-free { flex-wrap: wrap; gap: 14px 24px; }
  .plan-free-copy { flex-basis: calc(100% - 180px); }
  .plan-free > .btn { margin-left: auto; }
}
@media (max-width: 600px) {
  .plan-free { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 17px 12px; padding: 23px 0; }
  .plan-free-heading { gap: 13px; }
  .plan-free .cmp-price { font-size: 26px; }
  .plan-free-copy { grid-column: 1 / -1; grid-row: 2; font-size: 13px; }
  .plan-free-limit { margin-top: 7px; font-size: 13px; }
  .plan-free > .btn { padding: 9px 14px; font-size: 12px; }
  .plan-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 24px; }
  .plan-card { padding: 24px 21px 21px; }
  .plan-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 16px; min-height: 0; }
  .plan-head h3 { font-size: 18px; }
  .plan-head .cmp-price { margin: 0; font-size: 31px; text-align: right; }
  .plan-head .cmp-price .tax { display: block; margin: 4px 0 0; font-size: 10px; }
  .plan-head .cmp-early { grid-column: 2; justify-content: flex-end; margin-top: 7px; font-size: 11px; }
  .plan-head .plan-quota { grid-column: 2; margin-top: 3px; text-align: right; font-size: 11px; }
  .plan-rec { top: 31px; left: 0; right: auto; width: fit-content; font-size: 10px; }
  .plan-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; padding-top: 15px; }
  .plan-facts > div { display: block; }
  .plan-facts > div + div { margin-top: 0; }
  .plan-facts dt { font-size: 12px; }
  .plan-facts dd { margin-top: 3px; font-size: 15px; }
  .plan-term { margin-top: 13px; font-size: 13px; line-height: 1.8; }
  .plan-card .plan-term + .plan-buy { margin-top: 18px; }
  .price-details { margin-top: 17px; }
  .price-details > summary { font-size: 13px; padding-bottom: 20px; }
}
@media (prefers-contrast: more) {
  .plan-card, .plan-free, .price-details { border-color: var(--text-2); }
  .plan-card-rec { border-color: var(--accent-hi); }
  .plan-facts { border-color: var(--text-dim); }
  .plan-head .cmp-early, .plan-head .cmp-price .tax { color: var(--text-2); }
}
