/* VPS Radar — warm canvas, precise data, quiet green accents. */
:root {
  --canvas: #f5f7f5;
  --surface: #fff;
  --ink: #1b2b25;
  --muted: #5f6e64;
  --line: #e2e8e3;
  --green: #08785d;
  --green-dark: #12382d;
  --green-soft: #eaf6ef;
  --radius: 16px;
  --shadow: 0 3px 12px #183d2910;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
button,
select,
a,
input {
  touch-action: manipulation;
}
input[type="range"] {
  touch-action: auto;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #209a7b;
  outline-offset: 4px;
}
input:focus-visible,
select:focus-visible {
  outline-offset: 1px;
}
::selection {
  background: #c3ecdb;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button .icon,
a .icon {
  pointer-events: none;
}
button,
a {
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
button:hover:not(:disabled),
a:hover {
  color: var(--green);
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[v-cloak] {
  display: none !important;
}
.container {
  width: calc(100% - 80px);
  max-width: 1400px;
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.mono {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 550;
  min-height: 36px;
  padding: 5px 8px;
  color: var(--muted);
  border-radius: 7px;
}
.text-button:hover {
  background: var(--green-soft);
}
.text-button .icon {
  width: 15px;
  height: 15px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  color: var(--muted);
  flex-shrink: 0;
}
.icon-button:hover {
  background: var(--green-soft);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.button:hover {
  border-color: #aacbbb;
  background: #f4faf6;
}
.button .icon {
  width: 16px;
  height: 16px;
}
.button-primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 2px 3px #133d2910;
}
.button-primary:hover:not(:disabled) {
  background: #09684f;
  color: #fff;
  border-color: #09684f;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #158966;
  border-radius: 50%;
  flex-shrink: 0;
}
.spinning {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Navigation & introduction */
.site-header {
  height: 78px;
  background: #ffffffed;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 52px;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  flex-shrink: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 3px 4px #173d2917);
}
.brand-name {
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.8px;
  line-height: 1.3;
}
.brand-name span {
  font-weight: 400;
  color: #586f62;
}
.brand-caption {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  line-height: 1.6;
}
.header-nav {
  display: flex;
  gap: 28px;
  align-items: stretch;
  align-self: stretch;
}
.nav-item {
  display: flex;
  align-items: center;
  position: relative;
  color: var(--muted);
  font-size: 13px;
  padding: 0 2px;
}
.nav-item.active {
  font-weight: 650;
  color: var(--green);
}
.nav-item.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  border-radius: 3px 3px 0 0;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.sync-status {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #536b5b;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 37px 0 30px;
  min-height: 204px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  margin-bottom: 11px;
}
.hero .eyebrow:before {
  content: "";
  width: 17px;
  height: 1px;
  background: var(--green);
}
.hero h1 {
  font-size: clamp(28px, 2.6vw, 39px);
  letter-spacing: -1.5px;
  line-height: 1.3;
  font-weight: 750;
}
.hero h1 span {
  color: var(--green);
}
.hero-description {
  font-size: 13px;
  color: var(--muted);
  margin-top: 13px;
  letter-spacing: 0.2px;
}
.hero-aside {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  padding-right: 8px;
}
.scan-copy {
  z-index: 1;
}
.scan-copy .eyebrow {
  font-size: 9px;
  color: #768b7c;
  letter-spacing: 1.8px;
  margin: 0 0 8px;
}
.scan-copy .eyebrow:before {
  display: none;
}
.scan-time {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.scan-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.scan-label .icon {
  width: 12px;
  height: 12px;
  margin-right: 3px;
}
.radar-visual {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  position: relative;
  border: 1px solid #d5e4d9;
  background:
    repeating-radial-gradient(
      circle,
      transparent 0,
      transparent 20px,
      #dce8df 21px,
      transparent 22px
    ),
    linear-gradient(90deg, transparent 49.5%, #e0e9e1 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, #e0e9e1 50%, transparent 50.5%);
  opacity: 0.9;
}
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 4deg,
    transparent 0deg,
    transparent 262deg,
    #179b761a 330deg,
    #128d6652 359deg,
    transparent 360deg
  );
  transform: rotate(35deg);
}
.radar-visual:after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #137b59;
  box-shadow: 0 0 0 5px #178c5e13;
  transform: translate(-50%, -50%);
}
.radar-point {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #22a373;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #219b7110;
}
.radar-point.a {
  top: 25px;
  right: 37px;
}
.radar-point.b {
  bottom: 36px;
  left: 31px;
}
.radar-point.c {
  top: 54px;
  left: 17px;
  width: 4px;
  height: 4px;
  background: #84b79a;
}
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 20px 0;
  margin-bottom: 32px;
  box-shadow: 0 2px 3px #193c2803;
}
.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 27px;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border: 0;
}
.stat-label {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 3px;
}
.stat-value {
  font-size: 27px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -1px;
  display: flex;
  gap: 7px;
  align-items: baseline;
}
.stat-value small {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.stat-value.price-stat {
  color: var(--green);
  font-size: 26px;
}
.stat-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #6c8877;
  background: #f4f7f3;
}
.stat-icon .icon {
  width: 19px;
  height: 19px;
}
.stat:nth-child(2) .stat-icon {
  color: var(--green);
  background: #eef7f0;
}
/* Personal scoring rail */
.workspace {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding-bottom: 42px;
}
.sidebar {
  position: sticky;
  top: 100px;
}
.preference-panel {
  background: linear-gradient(155deg, #193d31, #122c24);
  border: 1px solid #284738;
  color: #f0f8f3;
  border-radius: var(--radius);
  padding: 22px 21px 19px;
  box-shadow: 0 8px 22px #1a432010;
  position: relative;
  overflow: hidden;
}
.preference-panel:before {
  content: "";
  position: absolute;
  top: -90px;
  right: -100px;
  width: 220px;
  height: 220px;
  border: 1px solid #ffffff05;
  border-radius: 50%;
  box-shadow:
    0 0 0 24px #ffffff02,
    0 0 0 50px #ffffff02;
  pointer-events: none;
}
.preference-heading {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.preference-heading h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.preference-heading h2 .icon {
  color: #7dd5b4;
  width: 19px;
  height: 19px;
}
.preference-heading .eyebrow {
  font-size: 9px;
  color: #9bb8a8;
  margin-bottom: 9px;
  letter-spacing: 1.6px;
}
.panel-subtitle {
  color: #b3c9bb;
  font-size: 11px;
  margin-bottom: 20px;
}
.mobile-preference-toggle {
  display: none;
}
.preset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 23px;
}
.preset-button {
  border: 1px solid #5c7c655c;
  border-radius: 8px;
  padding: 9px 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
  color: #c7d9cb;
  min-height: 38px;
  background: #ffffff03;
}
.preset-button .icon {
  width: 14px;
  height: 14px;
}
.preset-button:hover {
  background: #ffffff0d;
  color: #fff !important;
  border-color: #6a9478;
}
.preset-button.active {
  background: #d2f2df;
  border-color: #d2f2df;
  color: #194e37;
}
.preset-button.active:hover {
  color: #194e37 !important;
  background: #e0f9e9;
}
.weight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #b7d6be24;
  padding-top: 18px;
  margin-bottom: 18px;
}
.weight-header span {
  font-size: 10px;
  color: #9ebbab;
  letter-spacing: 0.6px;
}
.weight-header .text-button {
  min-height: 24px;
  padding: 0 2px;
  color: #b2cbbb;
  font-size: 10px;
}
.weight-header .text-button:hover {
  background: transparent;
  color: #fff;
}
.weight-header .icon {
  width: 12px;
  height: 12px;
}
.weight-item {
  margin-bottom: 17px;
  --weight-color: #50dbb0;
}
.weight-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #edf5ef;
  cursor: pointer;
}
.weight-name {
  display: flex;
  align-items: center;
  gap: 7px;
}
.weight-name .icon {
  width: 14px;
  height: 14px;
  color: #b1c9bb;
}
.weight-value {
  font-size: 14px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  color: var(--weight-color);
}
.weight-value small {
  font-size: 10px;
  margin-left: 2px;
  opacity: 0.85;
}
.weight-range {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  width: 100%;
  height: 23px;
  margin: 4px 0 0;
  cursor: pointer;
}
.weight-range::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(
    to right,
    var(--weight-color) 0%,
    var(--weight-color) var(--range-fill),
    #45604f var(--range-fill),
    #45604f 100%
  );
  border-radius: 4px;
}
.weight-range::-moz-range-track {
  height: 3px;
  background: #45604f;
  border-radius: 4px;
}
.weight-range::-moz-range-progress {
  height: 3px;
  background: var(--weight-color);
  border-radius: 4px;
}
.weight-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  background: #f2faf4;
  border: 2px solid var(--weight-color);
  box-shadow: 0 0 0 2px #143124;
  border-radius: 50%;
  margin-top: -4px;
  transition: box-shadow 0.15s;
}
.weight-range::-moz-range-thumb {
  width: 8px;
  height: 8px;
  background: #f2faf4;
  border: 2px solid var(--weight-color);
  border-radius: 50%;
}
.weight-range:hover::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px #bde8cd25;
}
.weight-hint {
  font-size: 9px;
  color: #a3bdad;
  margin-top: -1px;
  letter-spacing: 0.1px;
}
.weight-summary {
  display: flex;
  gap: 3px;
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 10px;
  background: #45604f;
}
.weight-summary span {
  transition: width 0.18s;
}
.weight-explanation {
  font-size: 10px;
  color: #a3bdad;
  line-height: 1.9;
}
.weight-explanation.warning {
  color: #ffe1a1;
}
.method-button {
  color: #d3e8db;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid #b7d6be24;
  margin-top: 16px;
  padding: 13px 0 0;
  min-height: 35px;
}
.method-button:hover {
  color: #84e8bf !important;
}
.method-button .icon {
  width: 14px;
  height: 14px;
}
.source-note {
  padding: 22px 10px 0;
  color: var(--muted);
}
.source-note h3 {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 550;
  color: #455d4e;
  margin-bottom: 7px;
}
.source-note h3 .icon {
  width: 15px;
  height: 15px;
}
.source-note p {
  font-size: 11px;
  line-height: 1.9;
}
.source-note button {
  font-size: 11px;
  color: var(--green);
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
}
.source-note .icon {
  width: 13px;
  height: 13px;
}
/* Discover toolbar */
.results {
  min-width: 0;
  scroll-margin-top: 100px;
}
.results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
  min-height: 36px;
}
.result-tabs {
  display: flex;
  align-items: center;
  gap: 21px;
}
.result-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  min-height: 35px;
}
.result-tab .icon {
  width: 16px;
  height: 16px;
}
.result-tab.active {
  color: var(--ink);
  font-weight: 680;
}
.result-tab .count {
  font-size: 10px;
  font-weight: 600;
  background: #e9eeea;
  padding: 1px 7px;
  line-height: 1.8;
  border-radius: 5px;
  color: #5f7066;
  min-width: 24px;
  text-align: center;
}
.result-tab.active .count {
  background: #deeee3;
  color: var(--green);
}
.result-tip {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.result-tip .icon {
  width: 13px;
  height: 13px;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 13px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
  background: #fff;
  border: 1px solid #dce4dc;
  border-radius: 9px;
  flex: 1;
  min-width: 120px;
  height: 43px;
  padding: 0 12px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.search-box:focus-within {
  border-color: #6eb79b;
  box-shadow: 0 0 0 3px #15956d0c;
}
.search-box > .icon {
  width: 17px;
  height: 17px;
  color: #7d8c81;
}
.search-box input {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  height: 100%;
}
.search-box input:focus-visible {
  outline: none;
}
.search-box input::placeholder {
  color: #7d887f;
}
.search-box kbd {
  color: #87968a;
  font-size: 11px;
  background: #f5f7f3;
  border: 1px solid #e3e8e1;
  border-radius: 4px;
  width: 19px;
  text-align: center;
  line-height: 20px;
  font-family: inherit;
}
.clear-search {
  width: 25px;
  height: 30px;
}
.clear-search .icon {
  width: 13px;
  height: 13px;
}
.select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #dce4dc;
  border-radius: 9px;
  background: #fff;
  height: 43px;
  padding: 0 32px 0 12px;
  font-size: 11px;
  color: #485d50;
  cursor: pointer;
  max-width: 100%;
}
.select-wrap > .icon {
  position: absolute;
  right: 10px;
  pointer-events: none;
  width: 13px;
  height: 13px;
  color: #657b6d;
}
.view-switch {
  height: 41px;
  display: flex;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #edf1ec;
  flex-shrink: 0;
}
.view-switch button {
  border-radius: 5px;
  color: #819084;
  width: 33px;
  display: grid;
  place-items: center;
}
.view-switch button.active {
  background: #fff;
  color: var(--green);
  box-shadow: 0 1px 3px #25452915;
}
.view-switch .icon {
  width: 16px;
  height: 16px;
}
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 17px;
  min-height: 43px;
}
.region-filters {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.region-filter {
  padding: 5px 10px;
  min-height: 31px;
  font-size: 11px;
  color: #66786a;
  border: 1px solid transparent;
  border-radius: 6px;
  white-space: nowrap;
}
.region-filter.active {
  background: #e6eee6;
  border-color: #dce6dc;
  color: #244f39;
  font-weight: 550;
}
.region-filter:hover {
  background: #eaf0e8;
}
.extra-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.route-select select {
  height: 31px;
  border: 0;
  background: transparent;
  padding-left: 3px;
  padding-right: 24px;
  font-size: 11px;
  color: var(--muted);
}
.route-select > .icon {
  right: 3px;
  width: 12px;
  height: 12px;
}
.stock-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 11px;
  color: #647365;
  min-height: 31px;
}
.stock-toggle input {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 27px;
  height: 16px;
  border-radius: 10px;
  background: #cad5cb;
  border: 1px solid #bccbbc;
  margin: 0;
  cursor: pointer;
  transition: background 0.15s;
}
.stock-toggle input:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px #19342126;
  transition: transform 0.15s;
}
.stock-toggle input:checked {
  background: var(--green);
  border-color: var(--green);
}
.stock-toggle input:checked:after {
  transform: translateX(10px);
}
.active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 0 14px;
  font-size: 11px;
  color: var(--muted);
}
.filter-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d9e7dc;
  background: #ecf5ed;
  border-radius: 5px;
  font-size: 10px;
  color: #315d41;
  padding: 3px 7px;
  min-height: 28px;
}
.filter-chip .icon {
  width: 11px;
  height: 11px;
}
.clear-filters {
  color: var(--green);
  font-size: 11px;
  min-height: 28px;
  padding: 3px 5px;
}
/* Deal cards: every datum keeps a stable location. */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.deal-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 19px 18px 15px;
  position: relative;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
  animation: card-in 0.3s ease both;
}
.deal-card:hover {
  border-color: #b0cdb9;
  box-shadow: 0 6px 20px #1737230b;
  transform: translateY(-2px);
}
.deal-card.best-match {
  border-color: #9cc9ae;
  box-shadow: 0 2px 10px #1c6c3810;
}
.deal-card.out-of-stock {
  background: #fcfdfb;
}
.card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  min-width: 0;
}
.provider-logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.7px;
  border: 1px solid #21352708;
}
.provider-logo.jade {
  background: #e3f3eb;
  color: #136e54;
}
.provider-logo.blue {
  background: #eaf0fa;
  color: #47669b;
}
.provider-logo.violet {
  background: #efeaf7;
  color: #755a9e;
}
.provider-logo.amber {
  background: #f7efdc;
  color: #7c5a20;
}
.provider-logo.slate {
  background: #eaf0ee;
  color: #46685a;
}
.provider-info {
  min-width: 0;
  flex: 1;
}
.provider-name {
  font-size: 13px;
  font-weight: 680;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}
.provider-location {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 1px;
  min-width: 0;
}
.provider-location .icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}
.provider-location span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bookmark-button {
  width: 30px;
  height: 32px;
  margin-right: -4px;
  color: #8b978c;
}
.bookmark-button .icon {
  width: 17px;
  height: 17px;
}
.bookmark-button.saved {
  color: var(--green);
  background: #eaf6ed;
}
.bookmark-button.saved .icon {
  fill: #12805e13;
}
.plan-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.6;
  min-height: 36px;
  font-size: 11px;
  color: #627166;
  text-align: left;
  padding: 0;
  margin: 0 0 11px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.plan-name:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.route-badge {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.6;
  white-space: nowrap;
  background: #f0f3ee;
  color: #687764;
  border: 1px solid #e7ece3;
}
.route-badge.premium {
  background: #f2edfa;
  color: #7555a2;
  border-color: #e8e1f5;
}
.route-badge.optimized {
  background: #eaf3f9;
  color: #456e8d;
  border-color: #dceaf4;
}
.stock-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #50775d;
  white-space: nowrap;
}
.stock-badge .status-dot {
  width: 4px;
  height: 4px;
}
.stock-badge.unavailable {
  color: #9d692b;
}
.stock-badge.unavailable .status-dot {
  background: #b08753;
}
.match-badge {
  margin-left: auto;
  color: #216e43;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.match-badge .icon {
  width: 11px;
  height: 11px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 17px;
  flex-wrap: wrap;
}
.price-number {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -1px;
  line-height: 1.2;
  color: #1b3224;
}
.price-number .currency {
  font-size: 17px;
  font-weight: 500;
  vertical-align: baseline;
  margin-right: 1px;
}
.price-period {
  font-size: 10px;
  color: #768474;
  white-space: nowrap;
}
.price-monthly {
  font-size: 10px;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}
.card-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 12px 0;
  border-top: 1px solid #edf0e9;
  border-bottom: 1px solid #edf0e9;
  gap: 7px;
  margin-bottom: 10px;
}
.spec {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.spec-value {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #344c3a;
  white-space: nowrap;
}
.spec-value .icon {
  width: 13px;
  height: 13px;
  color: #7e9582;
}
.spec-label {
  font-size: 9px;
  color: #748573;
  letter-spacing: 0.15px;
}
.network-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #637764;
  min-height: 22px;
  margin-bottom: 13px;
  flex-wrap: wrap;
}
.network-line .icon {
  width: 13px;
  height: 13px;
  color: #829780;
}
.network-line .separator {
  color: #c2ccc0;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.score-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  text-align: left;
  min-height: 38px;
  flex-shrink: 0;
}
.score-number {
  font-size: 24px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.9px;
  color: #18724b;
  font-variant-numeric: tabular-nums;
}
.score-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 8px;
  color: #6c806b;
  letter-spacing: 0.3px;
}
.score-bar {
  width: 42px;
  height: 3px;
  background: #e8eee4;
  border-radius: 2px;
  overflow: hidden;
}
.score-bar span {
  display: block;
  height: 100%;
  background: #75ae85;
  border-radius: 2px;
  transition: width 0.25s;
}
.source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid #dde6d9;
  background: #f4f7ef;
  border-radius: 6px;
  min-height: 33px;
  color: #395d37;
  font-size: 10px;
  white-space: nowrap;
  font-weight: 550;
}
.source-link:hover {
  background: #e6f1e2;
  border-color: #b4d0ad;
}
.source-link .icon {
  width: 13px;
  height: 13px;
}
.list-view {
  grid-template-columns: 1fr;
}
.list-view .deal-card {
  display: grid;
  grid-template-columns: minmax(170px, 1.2fr) minmax(145px, 1fr) minmax(
      140px,
      1fr
    );
  column-gap: 22px;
  padding: 18px 20px;
  align-items: center;
}
.list-view .card-top {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 8px;
}
.list-view .plan-name {
  grid-column: 1;
  grid-row: 2 / span 2;
  margin: 0;
  min-height: 30px;
  font-size: 10px;
}
.list-view .card-tags {
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 7px;
}
.list-view .match-badge {
  display: none;
}
.list-view .price-row {
  grid-column: 3;
  grid-row: 1;
  margin-bottom: 6px;
}
.list-view .price-number {
  font-size: 24px;
}
.list-view .price-monthly {
  display: none;
}
.list-view .card-specs {
  grid-column: 2;
  grid-row: 2;
  margin-bottom: 0;
  padding: 6px 0;
  border: 0;
}
.list-view .network-line {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  font-size: 9px;
}
.list-view .card-bottom {
  grid-column: 3;
  grid-row: 2 / span 2;
}
.list-view .score-number {
  font-size: 21px;
}
.list-view .score-meta {
  font-size: 8px;
}
.results-footnote {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #748371;
  padding: 27px 0 0;
}
.results-footnote .icon {
  width: 13px;
  height: 13px;
}
.results-footnote span {
  text-align: center;
}
.error-banner {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #ead8b5;
  background: #fff9ed;
  color: #775821;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  margin-bottom: 16px;
}
.error-banner > .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.error-banner span {
  flex: 1;
}
.error-banner button {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  min-height: 32px;
  color: #775821;
  text-decoration: underline;
}
.empty-state {
  padding: 62px 20px 65px;
  text-align: center;
  border: 1px dashed #cddcce;
  border-radius: 14px;
  background: #fcfdfb;
  min-height: 300px;
}
.empty-icon {
  width: 59px;
  height: 59px;
  background: #edf3eb;
  border: 1px solid #e1eade;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #648761;
  margin: 0 auto 18px;
}
.empty-icon .icon {
  width: 25px;
  height: 25px;
}
.empty-state h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 12px;
  color: var(--muted);
  max-width: 320px;
  margin: 0 auto 20px;
  line-height: 1.9;
}
.skeleton {
  padding: 22px 18px;
  min-height: 340px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.skeleton-line {
  height: 12px;
  margin-bottom: 17px;
  border-radius: 5px;
  background: linear-gradient(90deg, #edf1e9, #f7f9f4, #edf1e9);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease infinite;
}
.skeleton-line.short {
  width: 48%;
}
.skeleton-line.title {
  height: 31px;
  width: 75%;
  margin-bottom: 30px;
}
.skeleton-line.price {
  height: 37px;
  width: 55%;
  margin-top: 24px;
}
.skeleton-line.block {
  height: 65px;
  width: 100%;
}
.skeleton-line.footer {
  height: 30px;
  margin-top: 20px;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Dialogs & utility states */
.detail-dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0;
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 64px);
  color: var(--ink);
  box-shadow: 0 28px 100px #0c261c30;
  overflow: auto;
  background: #fff;
}
.detail-dialog::backdrop {
  background: #142b2270;
  backdrop-filter: blur(5px);
}
.modal-open {
  overflow: hidden;
}
.dialog-header {
  padding: 23px 25px 19px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}
.dialog-header .eyebrow {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: var(--green);
  margin-bottom: 5px;
}
.dialog-header h2 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.dialog-header .icon-button {
  background: #f2f5ef;
}
.dialog-content {
  padding: 24px 26px;
}
.dialog-plan {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 16px;
}
.dialog-plan .provider-logo {
  width: 46px;
  height: 46px;
  font-size: 17px;
  border-radius: 12px;
}
.dialog-plan h3 {
  font-size: 15px;
  font-weight: 650;
}
.dialog-plan p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.dialog-description {
  font-size: 12px;
  color: #5b6f5e;
  line-height: 1.9;
  margin-bottom: 21px;
}
.detail-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f7ef;
  border: 1px solid #dfebd9;
  padding: 16px 18px;
  border-radius: 11px;
  gap: 12px;
  margin-bottom: 22px;
}
.detail-price .price-number {
  font-size: 33px;
}
.detail-price p {
  font-size: 10px;
  color: #657b60;
  margin-top: 5px;
}
.detail-price .score-number {
  font-size: 35px;
  text-align: right;
}
.detail-price .score-label {
  font-size: 10px;
  color: #657b60;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
  margin: 0 0 22px;
}
.detail-grid > div {
  min-width: 0;
}
.detail-grid .wide {
  grid-column: 1 / -1;
}
.detail-grid dt {
  font-size: 10px;
  color: #6e7e6e;
  margin-bottom: 3px;
}
.detail-grid dd {
  font-size: 12px;
  margin: 0;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.promo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 23px;
  padding: 12px 14px;
  border: 1px dashed #b8d3ad;
  border-radius: 9px;
  background: #fafdf7;
}
.promo-row .icon {
  color: var(--green);
  width: 17px;
  height: 17px;
}
.promo-row span {
  font-size: 11px;
  color: var(--muted);
}
.promo-row code {
  font-size: 13px;
  color: var(--green);
  user-select: all;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.promo-row button {
  margin-left: auto;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  min-height: 28px;
}
.section-label {
  font-size: 12px;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.section-label span {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.breakdown-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  margin-bottom: 12px;
}
.breakdown-name {
  width: 75px;
  flex-shrink: 0;
  color: #4b6250;
}
.breakdown-track {
  height: 5px;
  flex: 1;
  background: #edf2e8;
  border-radius: 5px;
  overflow: hidden;
}
.breakdown-track span {
  display: block;
  height: 100%;
  background: #61a47e;
  border-radius: 5px;
}
.breakdown-value {
  width: 60px;
  text-align: right;
  color: #31634b;
  font-variant-numeric: tabular-nums;
}
.dialog-fineprint {
  font-size: 10px;
  line-height: 1.9;
  color: #71816e;
  margin-top: 17px;
}
.dialog-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 25px;
  border-top: 1px solid var(--line);
  background: #f8faf5;
}
.dialog-actions .updated-at {
  font-size: 10px;
  color: var(--muted);
}
.method-intro {
  font-size: 13px;
  line-height: 1.9;
  color: #58705d;
  margin-bottom: 21px;
}
.method-step {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 23px;
}
.step-number {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #e0eadc;
  background: #f2f7ef;
  border-radius: 8px;
  flex-shrink: 0;
  color: var(--green);
  font-size: 11px;
  font-weight: 650;
}
.method-step h3 {
  font-size: 13px;
  margin-bottom: 4px;
}
.method-step p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}
.formula {
  padding: 15px;
  border: 1px solid #dce9d5;
  background: #f1f7ee;
  border-radius: 9px;
  font-size: 12px;
  text-align: center;
  color: #3b6544;
  font-weight: 550;
  margin-bottom: 18px;
}
.source-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.source-item {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px;
}
.source-item > .icon {
  color: var(--green);
  width: 19px;
  height: 19px;
}
.source-item div {
  flex: 1;
}
.source-item strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
}
.source-item small {
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.source-item .external-icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.source-item:hover {
  background: #f4f9f0;
  border-color: #b4ccaa;
}
.toast-region {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  z-index: 60;
  max-width: calc(100vw - 32px);
}
.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 8px 35px #102d2126;
  border: 1px solid #385544;
  border-radius: 11px;
  padding: 12px 17px;
  background: #19372a;
  color: #f1f8f0;
  font-size: 12px;
  animation: toast-in 0.2s ease;
  overflow-wrap: anywhere;
}
.toast > .icon {
  width: 18px;
  height: 18px;
  color: #8be5b4;
  flex-shrink: 0;
}
.toast.error > .icon {
  color: #ffd092;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.site-footer {
  border-top: 1px solid #e1e7de;
  background: #f2f5ef;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 550;
  color: #5c725a;
}
.footer-brand img {
  width: 23px;
  height: 23px;
  opacity: 0.8;
}
.footer-note {
  font-size: 10px;
  color: #71816c;
  text-align: right;
  line-height: 1.9;
}
.footer-note strong {
  font-weight: 500;
  color: #506e52;
}
#boot-state {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #466449;
  font-size: 14px;
}
#boot-state img {
  width: 56px;
  height: 56px;
}
#boot-state small {
  font-size: 11px;
  color: var(--muted);
}
/* Comfortable reading at desktop density. */
.stat-label {
  font-size: 12px;
}
.stat-value {
  font-size: 29px;
}
.stat-value.price-stat {
  font-size: 28px;
}
.hero-description {
  font-size: 14px;
}
.panel-subtitle {
  font-size: 12px;
}
.preset-button {
  font-size: 12px;
}
.weight-label {
  font-size: 12px;
}
.weight-hint {
  font-size: 10px;
}
.weight-explanation {
  font-size: 11px;
}
.weight-header span {
  font-size: 11px;
}
.method-button {
  font-size: 12px;
}
.search-box input {
  font-size: 13px;
}
.select-wrap select {
  font-size: 12px;
}
.region-filter,
.route-select select,
.stock-toggle {
  font-size: 12px;
}
.provider-name {
  font-size: 14px;
}
.provider-location {
  font-size: 11px;
}
.plan-name {
  font-size: 12px;
  min-height: 39px;
}
.route-badge,
.stock-badge,
.match-badge {
  font-size: 10px;
}
.price-number {
  font-size: 30px;
}
.price-period,
.price-monthly {
  font-size: 11px;
}
.spec-value {
  font-size: 12px;
}
.spec-label {
  font-size: 10px;
}
.network-line {
  font-size: 11px;
}
.score-meta {
  font-size: 9px;
}
.source-link {
  font-size: 11px;
  min-height: 36px;
}
@media (min-width: 901px) {
  .sidebar {
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd9ce transparent;
    padding-bottom: 4px;
  }
}
/* Secondary text retains WCAG AA contrast on tinted surfaces. */
.mobile-preference-toggle:hover:not(:disabled) {
  color: #e0f5e8;
  background: #ffffff08;
}
.detail-price .score-number {
  color: #18724b;
}
.scan-copy .eyebrow {
  color: #586f5d;
}
.region-filter,
.stock-toggle {
  color: #5c7061;
}
.price-period,
.spec-label,
.score-meta,
.results-footnote,
.footer-note,
.dialog-fineprint,
.detail-grid dt,
.detail-price p,
.detail-price .score-label {
  color: #5e6f5b;
}
.route-badge {
  color: #566d55;
}
.search-box input::placeholder {
  color: #637367;
}
.search-box kbd {
  color: #5c705f;
}
.bookmark-button {
  color: #6a806b;
}
/* A real small-screen layout, not a squeezed desktop table. */
@media (min-width: 1600px) {
  .workspace {
    grid-template-columns: 274px minmax(0, 1fr);
    gap: 30px;
  }
  .deal-card {
    padding: 22px 21px 18px;
  }
  .deal-grid {
    gap: 19px;
  }
}
@media (max-width: 1190px) {
  .container {
    width: calc(100% - 56px);
  }
  .workspace {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 22px;
  }
  .preference-panel {
    padding: 20px 18px;
  }
  .deal-grid:not(.list-view) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-inner {
    gap: 35px;
  }
  .hero-aside {
    gap: 13px;
  }
  .radar-visual {
    width: 110px;
    height: 110px;
  }
  .hero h1 {
    font-size: 33px;
  }
  .stat {
    padding: 0 22px;
  }
  .result-tip {
    display: none;
  }
  .filter-row {
    flex-wrap: wrap;
    gap: 7px;
  }
  .extra-filters {
    margin-left: auto;
  }
  .list-view .deal-card {
    column-gap: 14px;
    grid-template-columns: minmax(145px, 1fr) minmax(130px, 1fr);
  }
  .list-view .card-top {
    grid-column: 1;
    grid-row: 1;
  }
  .list-view .plan-name {
    grid-column: 1;
    grid-row: 2;
  }
  .list-view .card-tags {
    grid-column: 1;
    grid-row: 3;
    margin-top: 8px;
  }
  .list-view .card-specs {
    grid-column: 2;
    grid-row: 2;
  }
  .list-view .network-line {
    grid-column: 2;
    grid-row: 3;
  }
  .list-view .price-row {
    grid-column: 2;
    grid-row: 1;
  }
  .list-view .card-bottom {
    grid-column: 1 / -1;
    grid-row: 4;
    border-top: 1px solid var(--line);
    margin-top: 12px;
    padding-top: 10px;
  }
  .list-view .price-monthly {
    display: block;
  }
}
@media (max-width: 900px) {
  .header-inner {
    gap: 32px;
  }
  .header-actions {
    gap: 12px;
  }
  .sync-status {
    display: none;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-aside {
    padding: 0;
  }
  .radar-visual {
    display: none;
  }
  .stats-strip {
    margin-bottom: 23px;
  }
  .stat {
    padding: 0 20px;
  }
  .stat-icon {
    display: none;
  }
  .workspace {
    display: flex;
    flex-direction: column;
    gap: 23px;
  }
  .sidebar {
    position: static;
    width: 100%;
  }
  .preference-panel {
    padding: 16px 20px;
  }
  .preference-panel:before {
    display: none;
  }
  .preference-heading {
    margin-bottom: 0;
  }
  .preference-heading .eyebrow {
    font-size: 8px;
    margin-bottom: 4px;
  }
  .preference-heading h2 {
    font-size: 14px;
  }
  .preference-heading h2 .icon {
    width: 17px;
    height: 17px;
  }
  .panel-subtitle {
    display: none;
  }
  .mobile-preference-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c5e6d4;
    border: 1px solid #547b6155;
    border-radius: 7px;
    padding: 8px 10px;
    font-size: 11px;
    min-height: 38px;
  }
  .mobile-preference-toggle .icon {
    width: 15px;
    height: 15px;
    transition: transform 0.2s;
  }
  .preference-panel.expanded .mobile-preference-toggle .icon {
    transform: rotate(180deg);
  }
  .preference-body {
    display: none;
    margin-top: 21px;
  }
  .preference-panel.expanded .preference-body {
    display: block;
  }
  .preset-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 15px;
  }
  .weight-header {
    margin-bottom: 14px;
    padding-top: 13px;
  }
  .weight-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 25px;
  }
  .weight-summary {
    margin-top: 0;
  }
  .method-button {
    margin-top: 10px;
    padding-top: 10px;
  }
  .source-note {
    display: none;
  }
  .results {
    width: 100%;
  }
  .results-heading {
    margin-bottom: 14px;
  }
  .result-tip {
    display: flex;
  }
  .deal-grid:not(.list-view) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .deal-card {
    padding: 17px 14px 14px;
  }
  .price-number {
    font-size: 25px;
  }
  .price-monthly {
    font-size: 9px;
  }
  .card-specs {
    gap: 4px;
  }
  .spec-value {
    font-size: 10px;
    gap: 3px;
  }
  .source-link {
    padding: 7px 8px;
    font-size: 9px;
  }
  .filter-row {
    flex-wrap: nowrap;
  }
  .extra-filters {
    margin-left: 0;
  }
  .list-view .deal-card {
    grid-template-columns: minmax(160px, 1.1fr) minmax(140px, 1fr) minmax(
        150px,
        1fr
      );
  }
  .list-view .card-top {
    grid-column: 1;
    grid-row: 1;
  }
  .list-view .plan-name {
    grid-column: 1;
    grid-row: 2 / span 2;
  }
  .list-view .card-tags {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }
  .list-view .card-specs {
    grid-column: 2;
    grid-row: 2;
  }
  .list-view .network-line {
    grid-column: 2;
    grid-row: 3;
  }
  .list-view .price-row {
    grid-column: 3;
    grid-row: 1;
  }
  .list-view .price-monthly {
    display: none;
  }
  .list-view .card-bottom {
    grid-column: 3;
    grid-row: 2 / span 2;
    margin: 0;
    padding: 0;
    border: 0;
  }
}
@media (max-width: 720px) {
  .container {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 66px;
  }
  .header-inner {
    gap: 20px;
  }
  .brand-mark {
    width: 35px;
    height: 35px;
  }
  .brand-name {
    font-size: 18px;
  }
  .brand-caption {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .brand {
    gap: 8px;
  }
  .header-nav {
    gap: 18px;
  }
  .nav-item {
    font-size: 11px;
  }
  .header-actions .button {
    font-size: 11px;
    min-height: 35px;
    padding: 7px 10px;
  }
  .hero {
    padding: 30px 0 24px;
    gap: 12px;
    min-height: auto;
    align-items: flex-start;
  }
  .hero h1 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.8px;
    margin-bottom: 10px;
  }
  .hero-description {
    font-size: 11px;
    line-height: 1.9;
    max-width: 370px;
    margin-top: 12px;
  }
  .hero-aside {
    display: none;
  }
  .stats-strip {
    padding: 17px 0;
    margin-bottom: 20px;
  }
  .stat {
    padding: 0 15px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-value {
    font-size: 24px;
    gap: 4px;
  }
  .stat-value.price-stat {
    font-size: 23px;
  }
  .stat-value small {
    font-size: 9px;
  }
  .workspace {
    gap: 22px;
    padding-bottom: 30px;
  }
  .deal-grid:not(.list-view) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .deal-card {
    padding: 18px 16px 15px;
  }
  .provider-name {
    font-size: 13px;
  }
  .price-number {
    font-size: 27px;
  }
  .source-link {
    font-size: 10px;
  }
  .price-monthly {
    font-size: 9px;
  }
  .card-specs {
    gap: 6px;
  }
  .spec-value {
    font-size: 11px;
    gap: 5px;
  }
  .view-switch {
    display: none;
  }
  .filter-row {
    flex-wrap: wrap;
  }
  .extra-filters {
    margin-left: auto;
  }
  .result-tip {
    font-size: 9px;
  }
  .result-tabs {
    gap: 19px;
  }
  .result-tab {
    font-size: 15px;
  }
  .result-tab .icon {
    width: 14px;
    height: 14px;
  }
  .weight-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-inner {
    padding: 21px 0;
    gap: 14px;
  }
  .footer-note {
    font-size: 9px;
  }
  .list-view {
    grid-template-columns: 1fr;
  }
  .list-view .deal-card {
    grid-template-columns: minmax(160px, 1fr) minmax(140px, 1fr);
    padding: 18px;
  }
  .list-view .card-top {
    grid-column: 1;
    grid-row: 1;
  }
  .list-view .plan-name {
    grid-column: 1;
    grid-row: 2;
  }
  .list-view .card-tags {
    grid-column: 1;
    grid-row: 3;
    margin-top: 6px;
  }
  .list-view .card-specs {
    grid-column: 2;
    grid-row: 2;
  }
  .list-view .network-line {
    grid-column: 2;
    grid-row: 3;
  }
  .list-view .price-row {
    grid-column: 2;
    grid-row: 1;
  }
  .list-view .card-bottom {
    grid-column: 1 / -1;
    grid-row: 4;
    border-top: 1px solid var(--line);
    margin-top: 12px;
    padding-top: 10px;
  }
}
@media (max-width: 480px) {
  .container {
    width: calc(100% - 32px);
  }
  .header-inner {
    gap: 12px;
  }
  .header-nav {
    display: none;
  }
  .brand-caption {
    letter-spacing: 1.4px;
  }
  .header-actions .button {
    font-size: 10px;
    padding: 7px 9px;
  }
  .header-actions .button .icon {
    width: 14px;
    height: 14px;
  }
  .hero {
    padding: 22px 0 18px;
  }
  .hero h1 {
    font-size: 26px;
    line-height: 1.3;
  }
  .hero h1 span {
    display: block;
  }
  .hero-description {
    font-size: 11px;
    max-width: 315px;
    line-height: 1.85;
    margin-top: 9px;
  }
  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    row-gap: 0;
    border-radius: 12px;
  }
  .stat {
    padding: 12px 19px;
    min-height: 76px;
  }
  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(3) {
    border-right: 1px solid var(--line);
  }
  .stat-icon {
    display: grid;
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }
  .stat-icon .icon {
    width: 16px;
    height: 16px;
  }
  .stat-value,
  .stat-value.price-stat {
    font-size: 25px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-value small {
    font-size: 9px;
  }
  .preference-panel {
    padding: 14px 16px;
    border-radius: 12px;
  }
  .preference-heading h2 {
    font-size: 13px;
    gap: 7px;
  }
  .mobile-preference-toggle {
    font-size: 10px;
    gap: 5px;
    padding: 6px 8px;
  }
  .preference-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  .preset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .preset-button {
    font-size: 11px;
  }
  .weight-items {
    gap: 4px 18px;
  }
  .weight-label {
    font-size: 10px;
  }
  .weight-value {
    font-size: 13px;
  }
  .weight-name {
    gap: 4px;
  }
  .weight-name .icon {
    width: 12px;
    height: 12px;
  }
  .weight-hint {
    font-size: 8px;
  }
  .results-heading {
    margin-bottom: 13px;
    min-height: 32px;
  }
  .result-tab {
    font-size: 14px;
    gap: 5px;
    min-height: 32px;
  }
  .result-tabs {
    gap: 17px;
  }
  .result-tab .count {
    font-size: 9px;
    min-width: 20px;
    padding: 1px 5px;
  }
  .result-tip {
    display: none;
  }
  .toolbar {
    gap: 8px;
    margin-bottom: 9px;
  }
  .search-box {
    height: 41px;
    padding: 0 11px;
    gap: 7px;
  }
  .search-box input {
    font-size: 11px;
  }
  .search-box kbd {
    display: none;
  }
  .select-wrap:not(.route-select) select {
    height: 41px;
    font-size: 10px;
    padding-left: 9px;
    padding-right: 26px;
    max-width: 126px;
  }
  .select-wrap > .icon {
    right: 8px;
    width: 12px;
    height: 12px;
  }
  .filter-row {
    padding-bottom: 14px;
    gap: 6px;
    align-items: center;
  }
  .region-filters {
    gap: 2px;
    width: 100%;
  }
  .region-filter {
    font-size: 10px;
    padding: 5px 11px;
    min-height: 32px;
  }
  .extra-filters {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }
  .stock-toggle {
    font-size: 10px;
    padding-left: 7px;
    gap: 7px;
  }
  .route-select select {
    font-size: 10px;
    height: 30px;
    padding-left: 8px;
  }
  .deal-grid:not(.list-view),
  .list-view {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .deal-card {
    padding: 20px 20px 17px;
    border-radius: 13px;
  }
  .card-top {
    margin-bottom: 12px;
    gap: 11px;
  }
  .provider-logo {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .provider-name {
    font-size: 15px;
  }
  .provider-location {
    font-size: 11px;
    margin-top: 2px;
  }
  .provider-location .icon {
    width: 12px;
    height: 12px;
  }
  .bookmark-button {
    width: 34px;
    height: 36px;
  }
  .bookmark-button .icon {
    width: 18px;
    height: 18px;
  }
  .plan-name {
    font-size: 12px;
    min-height: 0;
    margin-bottom: 12px;
    -webkit-line-clamp: 2;
  }
  .card-tags {
    margin-bottom: 15px;
    gap: 9px;
  }
  .route-badge {
    font-size: 10px;
  }
  .stock-badge {
    font-size: 10px;
  }
  .match-badge {
    font-size: 10px;
  }
  .price-number {
    font-size: 32px;
  }
  .price-number .currency {
    font-size: 20px;
  }
  .price-monthly {
    font-size: 11px;
  }
  .price-period {
    font-size: 11px;
  }
  .card-specs {
    padding: 13px 0;
    gap: 13px;
    margin-bottom: 11px;
  }
  .spec-value {
    font-size: 12px;
    gap: 7px;
  }
  .spec-value .icon {
    width: 15px;
    height: 15px;
  }
  .spec-label {
    font-size: 10px;
  }
  .network-line {
    font-size: 11px;
    gap: 8px;
    margin-bottom: 16px;
  }
  .network-line .icon {
    width: 14px;
    height: 14px;
  }
  .score-number {
    font-size: 27px;
  }
  .score-meta {
    font-size: 9px;
  }
  .score-bar {
    width: 46px;
  }
  .source-link {
    font-size: 11px;
    padding: 9px 13px;
    min-height: 38px;
  }
  .source-link .icon {
    width: 14px;
    height: 14px;
  }
  .results-footnote {
    font-size: 9px;
    padding-top: 20px;
    align-items: flex-start;
  }
  .results-footnote .icon {
    margin-top: 2px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 9px;
    text-align: center;
  }
  .footer-note {
    text-align: center;
  }
  .footer-brand {
    font-size: 11px;
  }
  .detail-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 28px);
    border-radius: 16px;
  }
  .dialog-header {
    padding: 19px 19px 15px;
  }
  .dialog-header h2 {
    font-size: 18px;
  }
  .dialog-content {
    padding: 20px;
  }
  .dialog-actions {
    padding: 15px 19px;
  }
  .dialog-actions .updated-at {
    font-size: 9px;
    max-width: 140px;
  }
  .dialog-actions .button {
    font-size: 11px;
  }
  .detail-price {
    padding: 15px;
  }
  .detail-price .price-number {
    font-size: 29px;
  }
  .detail-price .score-number {
    font-size: 30px;
  }
  .list-view .deal-card {
    display: block;
    padding: 20px;
  }
  .list-view .card-top {
    margin-bottom: 12px;
  }
  .list-view .plan-name {
    font-size: 12px;
    margin-bottom: 12px;
    min-height: 0;
  }
  .list-view .card-tags {
    margin-bottom: 15px;
    margin-top: 0;
  }
  .list-view .price-row {
    margin-bottom: 17px;
  }
  .list-view .price-number {
    font-size: 32px;
  }
  .list-view .price-monthly {
    display: block;
  }
  .list-view .card-specs {
    padding: 13px 0;
    border-top: 1px solid #edf0e9;
    border-bottom: 1px solid #edf0e9;
    margin-bottom: 11px;
  }
  .list-view .network-line {
    font-size: 11px;
    margin-bottom: 16px;
  }
  .list-view .card-bottom {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .list-view .score-number {
    font-size: 27px;
  }
  .list-view .score-meta {
    font-size: 9px;
  }
  .empty-state {
    padding: 45px 16px;
  }
  .toast {
    font-size: 11px;
    padding: 12px 15px;
  }
  .error-banner {
    font-size: 11px;
    gap: 7px;
    padding: 10px 11px;
  }
  .error-banner button {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
