.price-page { background: #f6f8fb; --price-border: #e0e6ef; --price-muted: #536078; }
.price-hero {
  background: linear-gradient(118deg, #f8fbff 12%, #eaf2ff 100%);
  padding-block: clamp(35px, 6vw, 74px) clamp(30px, 5vw, 62px);
  border-bottom: 1px solid #e1e9f6;
}
.price-hero-inner { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.price-hero h1 { font-size: clamp(2.3rem, 5.3vw, 4.2rem); margin-block: 14px 10px; }
.price-hero h1 span { color: var(--blue); }
.price-intro { color: var(--price-muted); font-size: clamp(1rem, 2vw, 1.13rem); }
.price-overview {
  flex: none; align-self: end; display: grid; grid-template-columns: auto auto; gap: 20px;
  padding: 14px 20px; margin: 0; border: 1px solid #d9e5f7; border-radius: 16px; background: #ffffffa3;
}
.price-overview dt, .price-checked { color: var(--price-muted); font-size: .88rem; }
.price-overview dd { margin: 0; font-size: 1.15rem; font-weight: 760; font-variant-numeric: tabular-nums; }
.price-overview small { margin-inline-start: 2px; font-size: .8em; }
.price-content { padding-block: 28px 52px; }
.price-source-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 15px; }
.price-source-bar > span { color: var(--price-muted); font-size: .9rem; }
.price-source-bar .price-ranges button { min-height: 40px; }
.price-dashboard { display: grid; grid-template-columns: minmax(0, 2.08fr) minmax(275px, 1fr); gap: 16px; align-items: start; }
.price-panel { padding: clamp(16px, 2.5vw, 26px); border: 1px solid var(--price-border); border-radius: 20px; background: #fff; }
.price-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.price-panel h2 { font-size: 1.29rem; margin-bottom: 0; }
.price-panel :is(input, select) { width: 100%; min-height: 42px; border: 1px solid #cbd6e4; border-radius: 10px; background: #fff; padding: 7px 11px; color: var(--ink); }
.price-select { position: relative; min-width: 0; }
.price-panel-head .price-select { width: min(100%, 15rem); }
.price-select select { appearance: none; padding-right: 31px; text-overflow: ellipsis; }
.price-select::after {
  content: ''; position: absolute; width: 7px; height: 7px; right: 13px; bottom: 19px;
  border: solid var(--price-muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
  pointer-events: none;
}
.price-feature {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-block: 18px 15px;
  padding: clamp(13px, 2.5vw, 19px); border-radius: 14px; background: #f3f7fd;
}
.price-feature h3 { margin-block: 2px 4px; font-size: clamp(1.12rem, 2vw, 1.38rem); }
.price-category { color: #145990; font-size: .86rem; font-weight: 710; }
.price-spec, .price-feature time, .price-model-value time { color: var(--price-muted); font-size: .88rem; }
.price-feature-value { flex: none; text-align: right; font-variant-numeric: tabular-nums; }
.price-feature-value strong { display: block; color: #0f4d91; font-size: clamp(1.17rem, 2.6vw, 1.85rem); line-height: 1.32; }
.price-chart-controls { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-block: 12px 9px; }
.price-ranges { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: #eef2f8; }
.price-ranges button { min-height: 34px; border: 0; border-radius: 7px; padding: 3px 10px; color: #4c5b73; background: transparent; font-size: .88rem; }
.price-ranges button[aria-pressed="true"] { background: #fff; color: #135891; font-weight: 730; box-shadow: 0 1px 3px #10275421; }
.price-ranges button:hover { color: var(--blue); }
.price-legend { color: var(--price-muted); font-size: .88rem; white-space: nowrap; }
.price-legend::before { content: ''; display: inline-block; vertical-align: .13em; width: 12px; height: 3px; margin-right: 6px; border-radius: 2px; background: var(--blue); }
.price-plot { border: 1px solid #edf0f5; border-radius: 12px; overflow: hidden; }
.price-plot canvas { display: block; width: 100%; height: clamp(188px, 24vw, 242px); }
.price-chart-status { font-size: .88rem; color: var(--price-muted); margin-top: 8px; }
.price-records { margin-block: 10px 12px; }
.price-records summary { cursor: pointer; font-size: .9rem; font-weight: 680; color: #104f86; }
.price-records > div { max-height: 205px; overflow: auto; }
.price-records table { width: 100%; border-collapse: collapse; text-align: left; font-size: .88rem; }
.price-records :is(td, th) { padding: 6px 8px; border-bottom: 1px solid var(--price-border); }
.price-records th { color: var(--price-muted); }
.price-shop-link { display: inline-block; }
.price-insights { display: grid; gap: 16px; }
.price-insight h2 { display: flex; align-items: center; gap: 9px; }
.price-insight-icon {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: #e9f2ff; color: #07569b; font-size: 1rem; font-weight: 750;
}
.price-insight:nth-child(2) .price-insight-icon { background: #e9f7ef; color: #14673e; }
.price-insight-sub { color: var(--price-muted); font-size: .9rem; margin-top: 7px; }
.price-ranking { max-height: 256px; overflow: auto; list-style: none; padding: 0; margin-top: 12px; }
.price-empty { padding: 11px 12px; border: 1px dashed #d3deec; border-radius: 10px; color: var(--price-muted); font-size: .9rem; background: #f8fafd; }
.price-ranking-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--price-border); }
.price-ranking-item button { padding: 4px; margin-left: 2px; background: none; color: #124f87; border: 0; font-weight: 690; text-align: left; }
.price-ranking-item button:hover { text-decoration: underline; }
.price-ranking-item strong { flex: none; font-size: .88rem; color: #104f86; }
.price-insight:nth-child(2) .price-ranking-item strong { color: #14673e; }
.price-catalog { margin-top: 16px; }
.price-catalog h2 span { margin-inline-start: 5px; color: #125693; font-size: .88rem; letter-spacing: 0; }
.price-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .5fr) minmax(0, .5fr); gap: 12px; margin-block: 15px 14px; }
.price-filters label { display: grid; gap: 3px; color: var(--price-muted); font-size: .9rem; font-weight: 650; }
.price-models { padding: 0; list-style: none; }
.price-model {
  display: grid; align-items: center; grid-template-columns: 64px minmax(0, 1fr) max-content max-content;
  gap: 10px 15px; padding: 12px 0; border-top: 1px solid var(--price-border);
}
.price-model-copy { grid-column: 2; }
.price-thumb { grid-column: 1; grid-row: 1; display: grid; place-items: center; width: 64px; height: 54px; border-radius: 8px; background: var(--canvas); }
.price-thumb img { width: 90%; height: 47px; object-fit: contain; }
.price-model h3 { margin-block: 2px; font-size: 1.02rem; }
.price-model h3 a { text-decoration: none; }
.price-model h3 a:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--blue); }
.price-model p { color: var(--price-muted); font-size: .87rem; }
.price-model-value { text-align: right; font-variant-numeric: tabular-nums; }
.price-model-value :is(strong, span, time) { display: block; }
.price-model .button { min-height: 39px; padding-inline: 13px; }
.price-more { display: flex; margin: 14px auto 0; }
.price-footnote { margin-top: 17px; color: var(--price-muted); font-size: .87rem; }
.price-footnote p + p { margin-top: 5px; }
#price-chart-title { scroll-margin-top: 8px; }

@media (max-width: 850px) {
  .price-dashboard { grid-template-columns: minmax(0, 1fr); }
  .price-insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .price-hero-inner { display: grid; gap: 17px; }
  .price-overview { justify-self: start; }
  .price-insights { grid-template-columns: minmax(0, 1fr); }
  .price-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-filters > :first-child { grid-column: 1 / -1; }
  .price-model { grid-template-columns: 44px minmax(0, 1fr) max-content; gap: 4px 9px; }
  .price-thumb { width: 44px; height: 42px; }
  .price-thumb img { height: 36px; }
  .price-model .button { grid-column: 2 / -1; justify-self: end; }
  .price-model-value strong { font-size: .88rem; }
  .price-model-value time { font-size: .78rem; }
}
@media (max-width: 340px) {
  .price-feature { display: grid; }
  .price-feature-value { text-align: left; }
  .price-page .price-chart-controls { flex-wrap: wrap; }
}
