:root {
  --bg: #fbfbfd;
  --surface: #fff;
  --surface-soft: #f6f6fa;
  --ink: #303444;
  --ink-strong: #171b2c;
  --muted: #656c7d;
  --muted-strong: #51586c;
  --line: #e7e8ef;
  --line-strong: #cfd2de;
  --blue: #4b4be2;
  --blue-dark: #3636bd;
  --blue-light: #f1f1ff;
  --violet: #6556dc;
  --cyan: #009cbd;
  --green: #13875d;
  --green-light: #edf9f3;
  --amber: #946414;
  --amber-light: #fff8e8;
  --red: #c34a65;
  --red-light: #fff0f3;
  --shadow: none;
  --sidebar-width: 0px;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.65; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { outline: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
button:disabled { opacity: .4; cursor: not-allowed; }
input::placeholder, textarea::placeholder { color: #677383; }
svg { display: block; width: 18px; height: 18px; flex-shrink: 0; }
::selection { color: #fff; background: #426ff0; }
h1, h2, h3, h4, p { margin-top: 0; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 11px; }
.align-right { text-align: right; }
.unit { color: var(--muted); font-size: 11px; }
.app-shell { min-height: 100vh; }

.workspace { min-width: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 39px; padding: 9px 16px; border: 1px solid #dfe1e9; border-radius: 8px; background: #fff; color: #454b60; font-size: 13px; font-weight: 550; line-height: 1.45; white-space: nowrap; transition: color .18s, background .18s, transform .18s, border-color .18s, box-shadow .18s; }
.button:hover { border-color: #a5c4ad; color: var(--blue); box-shadow: 0 4px 14px #245a3508; }
.button svg { width: 15px; height: 15px; }
.button-primary { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 2px 3px #20214a0a; font-weight: 600; }
.button-primary:hover { border-color: var(--blue-dark); color: #fff; background: var(--blue-dark); transform: translateY(-1px); box-shadow: none; }
.button-quiet { background: #fff; border-color: #dfe1e9; color: #50566b; }
.button-quiet:hover { background: #fff; color: var(--blue); }
.button-small { min-height: 32px; padding: 6px 11px; font-size: 11px; }
.text-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; }
.text-button:hover { color: var(--blue); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 8px; color: var(--muted-strong); background: var(--surface); }
.icon-button:hover { color: var(--blue); border-color: #a5c4ad; }
.icon-button svg { width: 16px; height: 16px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; padding-top: 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 13px; color: #6c7185; font-size: 10px; line-height: 1.3; font-weight: 650; letter-spacing: 1.7px; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 5px; height: 5px; flex-shrink: 0; border-radius: 1px; background: #9398ab; box-shadow: none; }
.eyebrow > span { display: none; }
h1 { margin-bottom: 10px; color: var(--ink-strong); font-size: 40px; line-height: 1.25; letter-spacing: -1.4px; font-weight: 650; }
.page-description { margin-bottom: 0; color: #61748d; font-size: 13px; line-height: 1.9; }
.heading-actions { display: flex; align-items: center; gap: 8px; padding-bottom: 3px; flex-shrink: 0; }
.status-dot { display: inline-block; width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: currentColor; }

.metric-card { position: relative; padding: 20px 24px 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow); }
.metric-label { position: relative; margin-bottom: 8px; color: #60738a; font-size: 11px; }
.metric-value { color: #1b355b; font: 600 32px/1.1 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.metric-value small, .metric-value .unit { margin-left: 4px; color: #637387; font-size: 12px; letter-spacing: 0; font-weight: 400; }
.metric-foot { display: flex; align-items: center; gap: 5px; margin-top: 9px; color: #627489; font-size: 10px; line-height: 1.6; }
.metric-accent { color: var(--blue); }
.metric-icon { position: absolute; top: 0; right: 0; color: #637389; }
.metric-icon svg { width: 15px; height: 15px; }

.sponsor-banner { display: flex; align-items: center; justify-content: space-between; gap: 28px; position: relative; min-height: 108px; margin-bottom: 24px; padding: 18px 26px; border: 1px solid #d9d7f2; border-radius: 12px; background: linear-gradient(110deg, #f3f2ff, #fafaff 63%, #eeedff); overflow: hidden; }
.sponsor-banner::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: #625cdb; }
.sponsor-copy { position: relative; z-index: 2; min-width: 0; }
.sponsor-label { display: block; width: max-content; margin-bottom: 8px; color: #6b65a0; font-size: 8px; letter-spacing: 1.5px; }
.sponsor-banner .sponsor-label { margin-bottom: 8px; color: #69648d; font-size: 9px; letter-spacing: .3px; }
.banner-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.banner-monogram { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid #5b56d5; border-radius: 11px; background: #625cdb; color: #fff; font: 650 23px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.sponsor-copy h3 { margin: 0 0 3px; color: #36335f; font-size: 24px; font-weight: 650; line-height: 1.2; letter-spacing: -.8px; }
.sponsor-copy p { margin: 0; color: #62667f; font-size: 12px; line-height: 1.6; }
.sponsor-banner > .button { position: relative; z-index: 3; min-height: 42px; padding: 10px 17px; border-color: #5d57d2; background: #5d57d2; color: #fff; font-size: 12px; }
.sponsor-banner > .button:hover { background: #4b46bc; border-color: #4b46bc; color: #fff; }
.sponsored-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
.sponsored-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 22px; border: 1px solid #dbdff1; border-radius: 13px; background: #f9f7ff; }
.sponsored-card h3 { margin: 0 0 9px; color: #3a416b; font-size: 18px; }
.sponsored-card p { color: #677188; font-size: 12px; }
.sponsored-card .row-action { margin-top: auto; }

/* Dense comparison data stays legible inside quiet white panels. */
.data-section { margin-bottom: 32px; scroll-margin-top: 99px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 15px; }
.section-title { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink-strong); font-size: 22px; line-height: 1.5; font-weight: 650; letter-spacing: -.5px; }
.count-badge, .section-title .count { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 7px; border: 1px solid #d8e3f7; border-radius: 5px; background: #eff4ff; color: #5171ac; font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0; }
.section-note { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.section-date { display: inline-flex; align-items: center; gap: 6px; color: #61738d; font-size: 10px; white-space: nowrap; }
.section-date svg { width: 12px; height: 12px; }
.table-panel { border: 1px solid #e1e3ec; border-radius: 14px; background: #fff; box-shadow: 0 10px 40px #3c6b9c05; overflow: hidden; }
.toolbar { display: flex; align-items: center; gap: 12px; }
.table-panel > .toolbar { padding: 22px 22px 16px; }
.toolbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search-field { display: flex; align-items: center; gap: 9px; width: 310px; min-height: 40px; padding: 0 12px; border: 1px solid #e1e3ec; border-radius: 8px; background: #fff; color: #657386; transition: border-color .18s, box-shadow .18s, background .18s; }
.search-field:focus-within { border-color: #83b594; background: #fff; box-shadow: 0 0 0 3px #137b560a; }
.search-field svg { width: 15px; height: 15px; }
.search-field input { width: 100%; min-width: 0; padding: 9px 0; border: 0; outline: none; background: transparent; color: #353a4d; font-size: 13px; }
.search-field input:focus-visible { outline: none; }
.filter-select { min-width: 132px; max-width: 230px; height: 39px; padding: 0 32px 0 12px; border: 1px solid #e1e3ec; border-radius: 8px; background-color: #fff; color: #51586c; font-size: 12px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='m3 4.5 3 3 3-3' stroke='%23758aaa' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 12px; background-position: right 11px center; }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.table-panel > .filter-row { padding: 0 22px 20px; }
.filter-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.filter-chip { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 5px 10px; border: 1px solid transparent; border-radius: 6px; background: none; color: #646b7f; font-size: 12px; line-height: 1.6; white-space: nowrap; transition: color .18s, background .18s, border-color .18s; }
.filter-chip:hover { color: var(--blue); background: #f3f7ff; }
.filter-chip.active { border-color: #dcdcf7; background: #f1f1ff; color: var(--blue); }
.segmented { display: inline-flex; flex-shrink: 0; align-items: center; gap: 2px; padding: 3px; border: 1px solid #e0e8f2; border-radius: 8px; background: #f4f7fb; }
.segmented button { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 27px; padding: 4px 10px; border: 0; border-radius: 5px; background: none; color: #647389; font-size: 10px; }
.segmented button.active { color: #325ba7; background: #fff; box-shadow: 0 1px 5px #3c65961c; }
.table-wrap { width: 100%; overflow: auto; scrollbar-width: thin; scrollbar-color: #b6c8e5 #f4f8fd; }
.table-panel > .table-wrap { border-top: 1px solid #e5ecf5; }
.table-panel.table-wrap { border: 1px solid #dce6f3; }
table.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; text-align: left; }
.station-table { min-width: 1140px; }
.model-table { min-width: 1020px; }
.price-table { min-width: 900px; }
.data-table th { height: 48px; padding: 12px 16px; border-bottom: 1px solid #e8e9f0; background: #f8f8fb; color: #62697d; font-size: 12px; font-weight: 500; }
.data-table td { height: 72px; padding: 14px 16px; border-bottom: 1px solid #eff0f5; color: #434a60; font-size: 13px; }
.data-table th:first-child, .data-table td:first-child { padding-left: 24px; }
.data-table th:last-child, .data-table td:last-child { padding-right: 24px; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background .15s; }
.data-table tbody tr:hover { background: #f7faff; }
.data-table tbody tr.selected { background: #f1f1ff; }
.sort-button { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: inherit; font-size: inherit; font-weight: inherit; }
.sort-button:hover, .sort-button.is-sorted { color: var(--blue); }
.sort-button span { font-size: 10px; opacity: .8; }
.sort-button svg { width: 11px; height: 11px; }
.rank-cell { width: 64px; color: #667385 !important; font: 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace !important; text-align: center; }
.rank-number { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid transparent; border-radius: 7px; }
.rank-number.rank-top { color: var(--blue-dark); background: #edf3ff; border-color: #cfe2d4; font-weight: 600; }
.provider-cell { display: flex; align-items: center; gap: 11px; min-width: 168px; }
.provider-avatar { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border: 1px solid hsl(var(--avatar-hue, 220) 45% 87%); border-radius: 9px; background: hsl(var(--avatar-hue, 220) 70% 96%); color: hsl(var(--avatar-hue, 220) 40% 32%); font-size: 12px; font-weight: 650; }
.provider-avatar.avatar-small { width: 31px; height: 31px; border-radius: 8px; font-size: 10px; }
.provider-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.provider-avatar svg { width: 18px; height: 18px; }
.provider-name { display: block; max-width: 240px; margin: 0 0 3px; padding: 0; border: 0; background: none; color: #242938; font-size: 14px; line-height: 1.5; font-weight: 600; text-align: left; text-overflow: ellipsis; overflow: hidden; }
button.provider-name:hover, .provider-name a:hover { color: var(--blue); }
.provider-domain { display: block; color: #697084; font-size: 11px; line-height: 1.6; }
.provider-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; max-width: 192px; }
.tag { display: inline-flex; align-items: center; justify-content: center; gap: 3px; padding: 2px 6px; border: 1px solid #e7e8ef; border-radius: 5px; background: #f8f8fb; color: #61697b; font-size: 10px; line-height: 1.5; font-weight: 400; }
.tag-provider { padding: 3px 8px; color: #625ba5; background: #f4f2ff; border-color: #e2ddfa; font-size: 10px; }
.tag-subtle { color: #667385; background: #f8fafe; border-color: #e6ecf5; }
.tag.orange, .tag.sponsored { color: #956625; border-color: #f0dfbb; background: #fffaed; }
.tag.green { color: #397e5a; border-color: #cee9d8; background: #f0faf4; }
.tag.purple, .tag.blue, .tag.featured { color: #6c5baa; border-color: #e0d9f6; background: #f7f4ff; }
.payment-cell { min-width: 148px; }
.payment-methods { display: flex; flex-wrap: wrap; gap: 5px; min-width: 126px; max-width: 180px; }
.payment-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 5px; border: 1px solid #dce6f3; border-radius: 5px; background: #f7f9fd; color: #5e738e; font-size: 10.5px; line-height: 1.4; white-space: nowrap; }
.payment-alipay { color: #1474b9; border-color: #d1e9fb; background: #f0f9ff; }
.payment-wechat { color: #238155; border-color: #d2ebdc; background: #f2fbf5; }
.payment-card { color: #526bb0; border-color: #dce3f7; background: #f4f6ff; }
.payment-paypal { color: #3268a9; border-color: #d5e6f7; background: #f2f8ff; }
.payment-crypto { color: #906d1d; border-color: #eddfb6; background: #fffaf0; }
.payment-other { color: #63728a; }
.payment-empty { color: #687281; font-size: 11px; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border: 1px solid transparent; border-radius: 5px; font-size: 10px; line-height: 1.6; white-space: nowrap; }
.status-ok, .status-badge.ok { color: #20815d; border-color: #d2eede; background: #f0faf4; }
.status-error, .status-badge.warning { color: #946414; border-color: #f0e0ba; background: #fffaed; }
.status-down, .status-badge.down { color: #b5445f; border-color: #f3d9e1; background: #fff2f5; }
.status-unknown, .status-badge.unknown { color: #647388; border-color: #e0e7f1; background: #f6f8fc; }
.uptime-value { color: #3e7965; font-size: 12px; font-variant-numeric: tabular-nums; }
.uptime-value > span { margin-left: 2px; color: #61766f; font-size: 9px; }
.uptime-bar { display: block; width: 91px; height: 3px; margin-top: 7px; border-radius: 2px; background: #e9f1ee; overflow: hidden; }
.uptime-bar span { display: block; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #5ab99b, #33a6ad); }
.price-text { color: #2d4567; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.price-text small { font-family: inherit; font-size: 9px; color: #637389; }
.row-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 10px; border: 1px solid #e3e5ed; border-radius: 6px; color: #656b83; background: #fff; font-size: 11px; line-height: 1.45; }
.row-action:hover { border-color: #a5c4ad; background: #f1f1ff; color: var(--blue); }
.row-action svg { width: 11px; height: 11px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.table-panel > .pagination { padding: 16px 23px; border-top: 1px solid #e6edf7; }
.pagination-info { color: #667385; font-size: 11px; }
.pagination-info strong { color: #5a7496; font-weight: 500; }
.page-buttons { display: flex; align-items: center; gap: 4px; }
.page-buttons button { display: inline-flex; align-items: center; justify-content: center; min-width: 29px; height: 29px; padding: 4px 7px; border: 1px solid transparent; border-radius: 6px; color: #60748e; background: none; font-size: 10px; }
.page-buttons button:hover { color: var(--blue); background: #f1f1ff; }
.page-buttons button.active { color: #fff; background: var(--blue); border-color: var(--blue); font-weight: 600; }
.page-buttons button svg { width: 12px; height: 12px; }
.page-buttons > span { padding: 0 4px; color: #677385; font-size: 11px; }
.source-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 16px; padding: 12px 0; color: #657386; font-size: 10px; line-height: 1.9; }
.source-note > svg { width: 13px; height: 13px; margin-top: 3px; color: #60728c; }
.source-note a { display: inline-flex; align-items: center; gap: 4px; margin-left: 5px; color: #5d71a6; white-space: nowrap; }
.source-note a:hover { color: var(--blue); }
.source-note a svg { display: inline; width: 10px; height: 10px; }
.method-note { display: flex; align-items: flex-start; gap: 8px; padding: 15px 0 0; color: #637388; font-size: 11px; line-height: 1.9; }
.method-note > svg { width: 13px; height: 13px; margin-top: 4px; color: #62738f; }
.method-note p { margin: 0; }

.featured-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-bottom: 34px; }
.featured-model-card { display: block; position: relative; min-height: 182px; padding: 24px 26px; overflow: hidden; border: 1px solid #e2e3ed; border-radius: 12px; background: #fff; box-shadow: var(--shadow); transition: border-color .18s, transform .18s; }
.featured-model-card:nth-child(2) { background: #fff; border-color: #e2e3ed; }
.featured-model-card:nth-child(3) { background: #fff; border-color: #e2e3ed; }
.featured-model-card:hover { border-color: #b7b9df; transform: none; }
.model-provider { display: flex; align-items: center; gap: 7px; margin-bottom: 15px; color: #67718d; font-size: 10px; }
.model-provider-dot { width: 5px; height: 5px; border-radius: 50%; background: #8b7cd9; }
.featured-model-card .model-provider .tag { margin-left: auto; color: #6c7187; font-size: 8px; background: #fff8; border-color: #dbe0ef; }
.featured-model-card h3 { margin: 0 0 21px; color: #293e63; font-size: 20px; line-height: 1.4; font-weight: 600; letter-spacing: -.45px; }
.model-card-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.model-card-bottom > div > span { display: block; margin-bottom: 3px; color: #677285; font-size: 9px; }
.model-card-bottom strong { display: block; color: #5c62ac; font: 500 19px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.model-card-bottom strong small { color: #6a7285; font-size: 9px; font-weight: 400; }
.featured-arrow { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid #cbd7f0; border-radius: 50%; color: #5971a4; background: #fff9; }
.featured-arrow svg { width: 13px; height: 13px; }
.model-name { margin-bottom: 4px; color: #304766; font-size: 13px; font-weight: 600; }
.ability-score { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; padding: 3px 7px; border: 1px solid #e0dcf7; border-radius: 5px; background: #f6f3ff; color: #7560a8; font: 11px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.relay-count { color: #5b7398; font-size: 12px; font-variant-numeric: tabular-nums; }
.price-model-picker { display: flex; flex-direction: column; gap: 8px; max-width: 650px; }
.field-label { color: #5f738e; font-size: 11px; }
.model-select { width: 100%; min-height: 51px; padding: 12px 40px 12px 16px; border: 1px solid #cbdafa; border-radius: 10px; background-color: #fff; box-shadow: 0 3px 15px #245cf505; color: #3e5c8d; font-size: 14px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='m3 4.5 3 3 3-3' stroke='%236e88b3' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 13px; background-position: right 16px center; }
.price-quick-links { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 13px 0 25px; }
.price-quick-links .filter-chip { border-color: #dce5f4; background: #fff9; color: #61738e; font-size: 10px; }
.price-quick-links .filter-chip.active { border-color: #c5d8ff; color: var(--blue); background: #edf3ff; }
.comparison-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-bottom: 32px; }
.comparison-summary .metric-card { min-height: 133px; padding: 23px 25px; }
.comparison-summary .metric-card:last-child { background: linear-gradient(125deg, #eef4ff, #f3fcff); border-color: #d5e3ff; }
.comparison-summary .metric-card:last-child .metric-value { color: var(--blue); }
.group-name { display: block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; color: #5d7393; font-size: 12px; }
.lowest-price { color: var(--blue); }
.price-low-label { display: inline-flex; margin-left: 7px; padding: 1px 5px; border-radius: 3px; background: #edf3ff; color: var(--blue); font-size: 8px; vertical-align: 2px; }
.active-station-filter { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 22px; border-top: 1px solid #e0e6f4; background: #f6f5ff; color: #746b9d; font-size: 11px; }
.active-station-filter button { padding: 0; border: 0; background: none; color: #6b5fbd; font-size: 10px; }

.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-bottom: 24px; }
.partner-card { padding: 27px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.partner-number { display: block; margin-bottom: 19px; color: #67738a; font: 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.partner-card h3 { margin: 0 0 12px; color: #334b70; font-size: 18px; font-weight: 600; }
.partner-card p { min-height: 45px; margin-bottom: 16px; color: #62738b; font-size: 12px; line-height: 1.9; }
.partner-price { display: flex; align-items: baseline; gap: 4px; min-height: 38px; margin-top: 4px; color: var(--blue-dark); font-size: 27px; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums; letter-spacing: -.6px; }
.partner-price small { color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.partner-price-consult { font-size: 20px; letter-spacing: 0; }
.partner-card > .row-action { display: flex; justify-content: space-between; width: 100%; margin-top: 27px; padding: 14px 0 0; border: 0; border-top: 1px solid #e4eaf5; border-radius: 0; color: #5b729e; background: none; }
.principles-panel { padding: 29px 31px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.principles-panel > h2 { margin: 0 0 22px; color: #365173; font-size: 19px; font-weight: 600; }
.principles-panel > p { max-width: 850px; color: #61738c; font-size: 12px; line-height: 1.9; }
.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.principle-grid > div { position: relative; padding-left: 28px; }
.principle-grid > div > svg { position: absolute; top: 2px; left: 0; width: 16px; height: 16px; color: #52778e; }
.principle-grid h3 { margin: 0 0 7px; color: #4e698a; font-size: 13px; font-weight: 550; }
.principle-grid p { margin: 0; color: #637388; font-size: 11px; line-height: 1.9; }
.method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin-bottom: 24px; }
.method-card { padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.method-number { display: block; margin-bottom: 19px; color: #65728d; font: 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.method-card h2 { margin: 0 0 15px; color: #355072; font-size: 19px; font-weight: 600; }
.method-card p { margin-bottom: 13px; color: #62738a; font-size: 12px; line-height: 2; }
.method-card p:last-child { margin-bottom: 0; }
.method-card > a { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; color: #5e71a0; font-size: 11px; }
.method-card > a svg { width: 11px; height: 11px; }
.admin-data-notes { margin-bottom: 25px; }
.admin-data-notes > summary { color: #54719d; font-size: 13px; font-weight: 600; cursor: pointer; }
.admin-data-notes[open] > summary { margin-bottom: 20px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.admin-data-notes > .method-grid { margin-bottom: 0; }

/* Forms, search and owner controls follow the same accessible light palette. */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 25px; background: #1a315f60; backdrop-filter: blur(10px); animation: backdropIn .15s ease-out; }
.modal { width: min(650px, 100%); max-height: calc(100dvh - 50px); border: 1px solid #d7e3f4; border-radius: 18px; background: #fff; box-shadow: 0 25px 100px #16396826; overflow: auto; animation: modalIn .18s ease-out; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 27px 29px 22px; border-bottom: 1px solid #e6edf7; background: linear-gradient(110deg, #f9fbff, #f4f9ff); }
.modal-header .eyebrow { margin-bottom: 7px; color: #5e7394; font-size: 8px; letter-spacing: 1.8px; }
.modal-header .eyebrow::before { box-shadow: none; }
.modal-header h2 { margin: 0; color: #2c466b; font-size: 23px; letter-spacing: -.6px; font-weight: 600; }
.modal-header p { margin: 5px 0 0; color: #647289; font-size: 11px; }
.modal-close { display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 31px; flex-shrink: 0; border: 1px solid #dce5f3; border-radius: 8px; background: #fff; color: #62738a; }
.modal-close:hover { color: var(--blue); border-color: #acc5f6; }
.modal-close svg { width: 14px; height: 14px; }
.modal-body { padding: 25px 29px 29px; }
.form-intro { margin-bottom: 22px; color: #62738c; font-size: 12px; line-height: 1.9; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 17px; }
.form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-field-full, .form-field.full, .form-field.span-2 { grid-column: 1 / -1; }
.form-field > span, .form-field > label { color: #60738e; font-size: 11px; }
.form-field em { margin-left: 4px; color: #ab586e; font-size: 10px; font-style: normal; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #d9e3f2; border-radius: 8px; background: #f9fbfe; color: #385474; font-size: 12px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #91b4fb; background: #fff; box-shadow: 0 0 0 3px #245cf50a; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #667284; }
.form-field textarea { min-height: 90px; resize: vertical; }
.form-hint { margin: 15px 0 0; color: #657286; font-size: 10px; }
.form-error { margin: 13px 0 0; padding: 10px 12px; border: 1px solid #f1d3dd; border-radius: 7px; background: #fff3f6; color: #ad576f; font-size: 11px; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; padding-top: 21px; border-top: 1px solid #e5ecf6; }
.station-detail-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.station-detail-heading > .provider-avatar { width: 47px; height: 47px; border-radius: 13px; font-size: 16px; }
.station-detail-heading .provider-domain { margin-bottom: 5px; font-size: 11px; }
.station-detail-heading > a { margin-left: auto; font-size: 11px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-bottom: 24px; }
.detail-stat { padding: 16px; border: 1px solid #dfe8f6; border-radius: 11px; background: #f5f8fe; }
.detail-stat span { display: block; color: #62728c; font-size: 10px; }
.detail-stat strong { display: block; margin-top: 8px; color: #5572a4; font-size: 23px; font-weight: 550; }
.modal-section-title { margin: 0 0 12px; color: #5b7396; font-size: 12px; font-weight: 600; }
.detail-list { display: grid; grid-template-columns: 90px 1fr; gap: 11px 16px; margin: 0 0 20px; font-size: 11px; line-height: 1.9; }
.detail-list dt { color: #647389; }
.detail-list dd { margin: 0; color: #5c7394; overflow-wrap: anywhere; }
.station-modal .method-note { padding: 12px 14px; border: 1px solid #e0e9f7; border-radius: 8px; background: #f8fafe; color: #637388; font-size: 10px; }
.station-modal .price-quick-links { margin-bottom: 0; }
.search-modal .search-field { width: 100%; min-height: 45px; }
.search-modal .search-field input { font-size: 13px; }
.global-results { margin-top: 18px; }
.global-results > h3 { margin: 19px 0 8px; padding: 0 7px; color: #63738b; font-size: 10px; font-weight: 500; }
.global-results > p { color: #637388; font-size: 12px; }
.global-result { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 8px; border: 0; border-radius: 8px; background: none; text-align: left; }
.global-result:hover { background: #f2f7ff; }
.global-result > span:nth-child(2) { min-width: 0; }
.global-result strong { display: block; color: #54739c; font-size: 12px; font-weight: 550; }
.global-result small { display: block; margin-top: 3px; color: #657388; font-size: 10px; }
.global-result > svg { width: 13px; height: 13px; margin-left: auto; color: #62738b; }
.model-result-icon { display: flex; align-items: center; justify-content: center; width: 31px; height: 31px; border: 1px solid #dbe5f8; border-radius: 8px; background: #f3f6ff; color: #5f7292; }
.model-result-icon svg { width: 15px; height: 15px; }
.lead-message { min-width: 250px; max-width: 500px; margin: 0 0 5px; color: #5e738f; font-size: 12px; line-height: 1.9; white-space: normal; overflow-wrap: anywhere; }
.explainer h3 { margin: 20px 0 9px; color: #5673a0; font-size: 14px; }
.explainer h3:first-child { margin-top: 0; }
.explainer p { margin: 0; color: #62728b; font-size: 12px; line-height: 1.9; }
.toast { position: fixed; z-index: 150; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100vw - 36px); padding: 13px 19px; border: 1px solid #ccdeff; border-radius: 11px; color: #486d9f; background: #f9fcfff5; backdrop-filter: blur(12px); box-shadow: 0 8px 50px #34587c26; font-size: 12px; animation: toastIn .18s ease-out; }
.toast svg { width: 15px; height: 15px; color: var(--blue); }
.loading-state, .empty-state { padding: 60px 20px; color: #637289; font-size: 12px; text-align: center; }
.loading-spinner { width: 25px; height: 25px; margin: 0 auto 14px; border: 2px solid #dce7f9; border-top-color: #4a7af1; border-radius: 50%; animation: spin .8s linear infinite; }
.empty-state > svg { width: 32px; height: 32px; margin: 0 auto 14px; color: #667286; }
.empty-state strong, .empty-state h3 { display: block; margin-bottom: 7px; color: #5d7495; font-size: 14px; font-weight: 550; }
.empty-state p { margin-bottom: 15px; color: #647288; font-size: 12px; }
.sync-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-bottom: 27px; }
.sync-overview .metric-card { padding: 23px 25px; min-height: 134px; }
.sync-overview .metric-value { font-size: 27px; letter-spacing: -.8px; }
.sync-overview .metric-card:first-child { border-color: #d1e2ff; background: #f3f7ff; }
.sync-overview .metric-card:first-child .metric-value { color: var(--blue); }
.sync-overview .metric-card:nth-child(2) .metric-value { color: #7469aa; }
.sync-state { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 14px 16px; border: 1px solid #d4ebdf; border-radius: 9px; background: #f2fbf6; color: #447c62; }
.sync-state > svg { width: 18px; height: 18px; }
.sync-state > strong { font-size: 13px; font-weight: 550; }
.sync-state.is-running { border-color: #dbd7f7; background: #f8f5ff; color: #7b69a1; }
.sync-state.is-failed { border-color: #f1d7df; background: #fff4f6; color: #9d5f71; }
.sync-panel .detail-list { grid-template-columns: 105px 1fr; gap: 12px 18px; padding: 0 3px 19px; margin-bottom: 19px; border-bottom: 1px solid #e5ecf6; }
.sync-panel .form-intro { margin: 0; font-size: 11px; }
.sync-panel .form-error { margin-bottom: 17px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(9px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toastIn { from { opacity: 0; bottom: 21px; } to { opacity: 1; bottom: 28px; } }

@media (max-width: 1100px) {
  .search-field { width: 270px; }
  .filter-select { min-width: 120px; }
}
@media (max-width: 900px) {
  .metric-icon { display: none; }
  .toolbar { flex-wrap: wrap; }
  .toolbar > .search-field { min-width: 230px; flex: 1; }
  .toolbar-actions { gap: 7px; }
  .filter-select { min-width: 115px; }
  .filter-chip { padding-right: 8px; padding-left: 8px; font-size: 10px; }
  .segmented button { min-width: 42px; padding-right: 7px; padding-left: 7px; }
  .featured-model-card { padding: 22px 20px; }
  .featured-model-card h3 { font-size: 17px; }
  .model-card-bottom strong { font-size: 17px; }
  .model-card-bottom strong small { display: block; margin-top: 3px; font-size: 8px; }
  .partner-grid { gap: 11px; }
  .partner-card { padding: 23px 20px; }
  .partner-card h3 { font-size: 17px; }
  .partner-card p { min-height: 65px; font-size: 11px; }
  .principle-grid { gap: 18px; }
  .sync-overview .metric-card { padding: 21px 20px; }
  .sync-overview .metric-value { font-size: 22px; }
}
@media (max-width: 760px) {
  .page-heading { gap: 18px; margin-bottom: 28px; padding-top: 6px; }
  h1 { font-size: 33px; }
  .page-description { font-size: 12px; max-width: 480px; }
  .heading-actions .button { font-size: 11px; padding: 8px 11px; }
  .metric-foot { min-height: 27px; font-size: 8px; flex-wrap: wrap; gap: 0 4px; }
  .section-title { font-size: 18px; }
  .section-note, .section-date { font-size: 9px; }
  .table-panel { border-radius: 12px; }
  .table-panel > .toolbar { padding: 18px 18px 14px; }
  .table-panel > .filter-row { padding: 0 18px 18px; flex-wrap: wrap; gap: 11px; }
  .toolbar > .search-field { flex-basis: 100%; }
  .toolbar-actions { width: 100%; margin-left: 0; }
  .toolbar-actions .filter-select { flex: 1; max-width: none; }
  .filter-row .segmented { margin-left: auto; }
  .featured-models { gap: 11px; }
  .featured-model-card { padding: 20px 17px; }
  .featured-model-card h3 { font-size: 16px; }
  .featured-model-card .model-provider .tag { display: none; }
  .model-card-bottom strong { font-size: 16px; }
  .featured-arrow { width: 25px; height: 25px; }
  .comparison-summary, .sync-overview { gap: 10px; }
  .comparison-summary .metric-card { padding: 19px 17px; }
  .comparison-summary .metric-value { font-size: 27px; }
  .comparison-summary .metric-foot { font-size: 9px; min-height: auto; }
  .sync-overview .metric-value { font-size: 20px; }
  .partner-grid { gap: 10px; }
  .partner-card { padding: 20px 17px; }
  .partner-card h3 { font-size: 15px; }
  .partner-card p { font-size: 10px; }
  .principle-grid { gap: 17px; }
  .principle-grid > div { padding-left: 24px; }
  .principle-grid h3 { font-size: 12px; }
  .principle-grid p { font-size: 10px; }
  .method-grid { gap: 14px; }
  .method-card { padding: 24px; }
  .method-card h2 { font-size: 17px; }
}
@media (max-width: 560px) {
  .page-heading { align-items: flex-start; gap: 12px; margin-bottom: 26px; }
  h1 { font-size: 31px; letter-spacing: -1px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.7px; }
  .page-description { font-size: 11px; }
  .heading-actions { padding-top: 29px; }
  .heading-actions .button { font-size: 9px; padding: 6px 8px; min-height: 31px; }
  .heading-actions .button svg { width: 12px; height: 12px; }
  .heading-actions .button-quiet { display: none; }
  .metric-icon { display: block; }
  .metric-icon svg { width: 13px; height: 13px; }
  .section-heading { align-items: flex-start; gap: 12px; margin-bottom: 14px; }
  .section-title { font-size: 18px; }
  .section-title .count-badge { font-size: 9px; min-height: 19px; }
  .section-note { font-size: 8px; }
  .section-date { margin-top: 5px; font-size: 8px; }
  .section-date svg { width: 10px; height: 10px; }
  .table-panel > .toolbar { padding: 16px 14px 13px; gap: 8px; }
  .search-field { min-height: 38px; padding-right: 10px; padding-left: 10px; }
  .search-field input { font-size: 11px; }
  .toolbar-actions { gap: 7px; }
  .filter-select { height: 35px; min-width: 0; font-size: 10px; padding-left: 10px; padding-right: 26px; background-position: right 8px center; }
  .table-panel > .filter-row { padding: 0 14px 15px; gap: 11px; }
  .filter-chips { gap: 2px; }
  .filter-chip { padding: 4px 7px; font-size: 9px; }
  .segmented button { min-height: 25px; min-width: 42px; font-size: 9px; }
  .data-table th { font-size: 10px; padding: 12px 15px; }
  .data-table td { height: 77px; padding: 15px 15px; font-size: 11px; }
  .data-table th:first-child, .data-table td:first-child { padding-left: 17px; }
  .data-table th:last-child, .data-table td:last-child { padding-right: 17px; }
  .rank-cell { width: 56px; }
  .table-panel > .pagination { padding: 14px 13px; gap: 10px; }
  .pagination-info { font-size: 8px; }
  .page-buttons { gap: 1px; }
  .page-buttons button { min-width: 24px; height: 27px; font-size: 9px; padding: 4px 5px; }
  .page-buttons > span { font-size: 9px; padding: 0 3px; }
  .featured-models { grid-template-columns: 1fr; gap: 10px; margin-bottom: 28px; }
  .featured-model-card { min-height: 146px; padding: 20px 21px 19px; }
  .featured-model-card .model-provider { font-size: 9px; margin-bottom: 11px; }
  .featured-model-card .model-provider .tag { display: block; }
  .featured-model-card h3 { font-size: 21px; margin-bottom: 14px; }
  .model-card-bottom { align-items: center; }
  .model-card-bottom > div { display: flex; align-items: center; gap: 9px; }
  .model-card-bottom > div > span { margin: 0; font-size: 9px; }
  .model-card-bottom strong { font-size: 18px; }
  .model-card-bottom strong small { display: inline; font-size: 8px; margin: 0; }
  .featured-arrow { width: 28px; height: 28px; }
  .comparison-summary, .sync-overview { grid-template-columns: 1fr; gap: 9px; margin-bottom: 27px; }
  .comparison-summary .metric-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 7px 20px; min-height: auto; padding: 18px 20px; border-radius: 11px; }
  .comparison-summary .metric-label { margin: 0; padding-right: 20px; font-size: 10px; }
  .comparison-summary .metric-value { grid-column: 2; grid-row: 1 / 3; font-size: 29px; }
  .comparison-summary .metric-foot { margin: 0; font-size: 8px; }
  .comparison-summary .metric-icon { display: none; }
  .sync-overview .metric-card { min-height: 112px; padding: 20px 22px; }
  .sync-overview .metric-value { font-size: 28px; }
  .sync-panel .detail-list { grid-template-columns: 91px 1fr; gap: 11px 12px; }
  .price-quick-links { gap: 5px; margin-top: 11px; margin-bottom: 20px; }
  .price-quick-links .filter-chip { font-size: 8px; padding: 4px 7px; }
  .model-select { min-height: 47px; font-size: 12px; }
  .method-note { font-size: 10px; }
  .sponsor-banner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px; }
  .sponsor-copy { max-width: 100%; }
  .sponsor-copy h3 { font-size: 25px; }
  .sponsor-copy p { font-size: 12px; }
  .banner-brand { gap: 12px; }
  .sponsor-banner > .button { margin-left: 54px; }
  .sponsored-cards { grid-template-columns: 1fr; gap: 10px; }
  .sponsored-card { padding: 21px; }
  .partner-grid, .principle-grid, .method-grid { grid-template-columns: 1fr; }
  .partner-grid { gap: 11px; }
  .partner-card { padding: 24px; }
  .partner-number { font-size: 11px; margin-bottom: 15px; }
  .partner-card h3 { font-size: 19px; }
  .partner-card p { min-height: auto; font-size: 11px; }
  .partner-card > .row-action { margin-top: 23px; }
  .principles-panel { padding: 24px; }
  .principles-panel > h2 { font-size: 18px; }
  .principle-grid { gap: 22px; }
  .principle-grid h3 { font-size: 13px; }
  .principle-grid p { font-size: 11px; }
  .method-grid { gap: 12px; }
  .method-card { padding: 26px; }
  .method-card h2 { font-size: 19px; }
  .method-card p { font-size: 11px; }
  .modal-backdrop { padding: 12px; }
  .modal { max-height: calc(100dvh - 24px); border-radius: 14px; }
  .modal-header { padding: 23px 22px 20px; gap: 15px; }
  .modal-header h2 { font-size: 22px; }
  .modal-body { padding: 23px 22px 25px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-field-full, .form-field.full, .form-field.span-2 { grid-column: auto; }
  .form-field input, .form-field select, .form-field textarea { font-size: 13px; padding: 11px 12px; }
  .form-intro { font-size: 11px; }
  .form-actions { margin-top: 21px; }
  .detail-grid { gap: 7px; }
  .detail-stat { padding: 14px 12px; }
  .detail-stat span { font-size: 9px; }
  .detail-stat strong { font-size: 20px; }
  .detail-list { grid-template-columns: 77px 1fr; gap: 10px 12px; font-size: 10px; }
  .station-detail-heading { gap: 10px; }
  .station-detail-heading > a { padding: 6px 8px; font-size: 9px; }
  .toast { bottom: 20px; padding: 12px 16px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Editorial layout: one navigation row, real model links and restrained surfaces. */
.sidebar { position: sticky; top: 0; z-index: 45; display: flex; align-items: center; gap: 30px; height: 76px; padding: 0 max(40px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid #e8e9ef; background: #fffffff2; backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { position: relative; width: 27px; height: 29px; flex-shrink: 0; }
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; width: 10px; height: 25px; border-radius: 2px; transform: skewY(-23deg); }
.brand-mark::before { left: 0; top: 4px; background: #24283a; }
.brand-mark::after { left: 15px; top: 0; background: var(--blue); }
.brand-name { display: block; color: #1d2233; font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.9px; }
.brand-caption, .nav-label, .nav-trailing, .sidebar-bottom { display: none; }
#main-nav { display: flex; align-items: center; gap: 26px; margin-inline: auto; align-self: stretch; }
.nav-item { position: relative; display: flex; align-items: center; gap: 7px; color: #6b7082; font-size: 13px; white-space: nowrap; }
.nav-item::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: transparent; }
.nav-item:hover, .nav-item.active { color: #24283b; }
.nav-item.active { font-weight: 600; }
.nav-item.active::after { background: var(--blue); }
.nav-icon { display: none; }
.desktop-header-actions { display: flex; align-items: center; gap: 12px; }
.desktop-header-actions .button { min-height: 35px; padding: 7px 12px; font-size: 12px; }
.global-search-button { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; min-height: 34px; border: 1px solid #e5e6ee; border-radius: 7px; background: #fafafd; color: #62687b; font-size: 12px; }
.global-search-button > span[data-icon] { display: flex; }
.global-search-button svg { width: 14px; height: 14px; }
.global-search-button kbd { margin-left: 10px; padding: 1px 4px; border: 1px solid #e2e4eb; border-radius: 3px; background: #fff; color: #6b7084; font-family: inherit; font-size: 10px; line-height: 1.6; }
.global-search-button:hover { border-color: #bfc2d4; color: #252a3d; }
.workspace { min-width: 0; }
.topbar { display: none; }
.mobile-menu-button { display: none; }
.main { max-width: 1320px; margin: 0 auto; padding: 0 40px 48px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; padding-top: 56px; }
.page-description { max-width: 680px; font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 0; }
.heading-actions { display: flex; gap: 8px; flex-shrink: 0; }
.signal-hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr); align-items: center; gap: 72px; padding: 46px 0 30px; margin: 0; }
.hero-copy { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 16px; color: #6c7084; font-size: 10px; letter-spacing: 2.1px; }
.hero-copy .eyebrow::before { display: none; }
.hero-copy h1 { margin: 0 0 18px; color: #1a1e2e; font-size: clamp(40px, 4.3vw, 58px); font-weight: 650; letter-spacing: -2px; line-height: 1.17; }
.token-word { color: var(--blue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 500; letter-spacing: -3px; }
.hero-copy > p { margin: 0 0 22px; font-size: 15px; line-height: 1.9; color: #686d80; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.hero-actions .button { min-height: 43px; padding: 10px 19px; font-size: 13px; }
.hero-secondary-link { display: inline-flex; align-items: center; gap: 8px; color: #5e6479; font-size: 13px; }
.hero-secondary-link svg { width: 15px; height: 15px; }
.hero-secondary-link:hover { color: var(--blue); }
.hero-shortcuts { min-width: 0; padding-left: 32px; border-left: 1px solid #e6e7ee; }
.shortcut-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 6px; }
.shortcut-heading > span { color: #444a5e; font-size: 13px; font-weight: 600; }
.shortcut-heading > small { font: 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .8px; color: #6d7081; }
.model-shortcut { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid #e9eaf0; }
.model-shortcut > span { min-width: 0; }
.model-shortcut small { display: block; margin-bottom: 5px; color: #6d7080; font-size: 10px; line-height: 1.2; letter-spacing: .2px; }
.model-shortcut strong { display: block; color: #373c50; font-size: 14px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; transition: color .15s; }
.model-shortcut > svg { width: 15px; height: 15px; color: #6d707e; transition: color .15s, transform .15s; }
.model-shortcut:hover strong, .model-shortcut:hover > svg { color: var(--blue); }
.model-shortcut:hover > svg { transform: translateX(3px); }
.shortcut-all { display: flex; align-items: center; gap: 7px; width: max-content; max-width: 100%; padding-top: 15px; color: #656a80; font-size: 11px; }
.shortcut-all svg { width: 13px; height: 13px; }
.shortcut-all:hover { color: var(--blue); }
.directory-stats { display: flex; align-items: center; gap: 0; padding: 18px 0; margin-bottom: 29px; border-top: 1px solid #e5e6ef; border-bottom: 1px solid #e5e6ef; }
.directory-stats > .metric-card { display: flex; align-items: baseline; gap: 12px; padding: 0 38px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.directory-stats > .metric-card:first-child { padding-left: 0; }
.directory-stats > .metric-card + .metric-card { border-left: 1px solid #dfe1eb; }
.directory-stats .metric-label { order: 2; margin: 0; color: #6d7081; font-size: 12px; }
.directory-stats .metric-value { color: #353a50; font-size: 23px; font-weight: 550; letter-spacing: -.7px; line-height: 1; }
.directory-stats .metric-value small { margin-left: 2px; font-size: 14px; color: #53596d; font-weight: 400; }
.directory-stats .metric-icon, .directory-stats .metric-foot { display: none; }
.partner-stage { margin: 0 0 34px; }
.partner-stage-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 20px; }
.partner-stage-head > div { display: flex; align-items: center; gap: 12px; }
.partner-stage-head h2 { margin: 0; color: #5e6377; font-size: 12px; font-weight: 500; }
.partner-stage-caption { color: #6d707e; font: 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .7px; }
.partner-stage-head .row-action { padding: 0; border: 0; font-size: 11px; color: #6c7085; background: none; }
.partner-stage-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) repeat(2, minmax(0, 1fr)); border: 1px solid #e4e5ee; border-radius: 10px; background: #fff; overflow: hidden; }
.partner-spotlight { min-width: 0; padding: 14px 19px 13px; border-top: 3px solid #d4d7e1; }
.partner-spotlight + .partner-spotlight { border-left: 1px solid #e7e8ef; }
.partner-ad-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; color: #6c7081; font-size: 9px; line-height: 1.4; }
.partner-position-1 { border-top-color: #b9934e; background: linear-gradient(125deg, #fff7e4, #fffdf6 65%, #f7edd5); }
.partner-position-1 .partner-brand h3 { color: #654d26; font-size: 19px; }
.partner-position-1 .partner-brand > span { color: #79571f; border-color: #dac48e; background: #f4e7c6; }
.partner-position-1 .partner-bottom a { color: #6a4a17; border-color: #d8bb79; background: #f3e3ba; font-weight: 600; }
.partner-position-2 { border-top-color: #9ba8bb; background: linear-gradient(125deg, #f1f4f9, #fcfdff 70%, #eef1f6); }
.partner-position-2 .partner-brand h3 { color: #424d60; }
.partner-position-2 .partner-brand > span { color: #586579; border-color: #cdd5e1; background: #e9edf4; }
.partner-position-2 .partner-bottom a { color: #4d5d76; border-color: #d4dce8; background: #edf0f6; }
.partner-position-3 { border-top-color: #b98d70; background: linear-gradient(125deg, #faf3ed, #fffdfa 75%); }
.partner-position-3 .partner-brand h3 { color: #71513d; }
.partner-position-3 .partner-brand > span { color: #88583c; border-color: #dfc6b5; background: #f2e6dd; }
.partner-position-3 .partner-bottom a { color: #805739; border-color: #e1cbb9; background: #f7ece4; }
.partner-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.partner-brand > span { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex-shrink: 0; border: 1px solid #e5e6ef; border-radius: 6px; background: #f8f8fc; color: #51576f; font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.partner-brand > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; min-width: 0; }
.partner-brand h3 { margin: 0; color: #3c4054; font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -.3px; }
.partner-brand small { color: #6c7083; font-size: 10px; line-height: 1.4; }
.partner-description { margin: 0; color: #6c7083; font-size: 11px; line-height: 1.7; }
.partner-bottom { display: flex; justify-content: flex-end; margin-top: 7px; }
.partner-bottom > span { display: none; }
.partner-bottom a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid transparent; border-radius: 6px; color: #676c82; font-size: 11px; line-height: 1.4; }
.partner-bottom a:hover { color: var(--blue); }
.partner-bottom svg { width: 12px; height: 12px; }
.partner-demo { margin: 8px 0 0; color: #6c7082; font-size: 9px; line-height: 1.7; }
.partner-hero { min-height: 0; margin: 0 0 28px; padding: 32px 0; border-top: 1px solid #e4e5ee; border-bottom: 1px solid #e4e5ee; background: none; }
.partner-hero > div { max-width: 700px; }
.partner-hero h2 { margin: 0 0 18px; color: #252b3e; font-size: 36px; line-height: 1.5; font-weight: 600; letter-spacing: -1px; }
.partner-hero p { max-width: 620px; color: #6b7184; font-size: 14px; line-height: 1.9; }
.page-footer { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; width: calc(100% - 80px); max-width: 1240px; margin: 0 auto; padding: 25px 0 30px; border-top: 1px solid #e4e5ee; color: #6b7084; font-size: 11px; }
.page-footer > div { display: flex; align-items: center; gap: 14px; }
.page-footer strong { color: #4c5268; font-size: 13px; font-weight: 600; letter-spacing: -.3px; }
.page-footer > div > span { font-size: 11px; }
.page-footer nav { display: flex; align-items: center; gap: 19px; }
.page-footer nav a:hover { color: var(--blue); }
.page-footer > p { grid-column: 1/-1; margin: 0; color: #6b7181; font-size: 10px; }
@media (max-width: 1100px) {
  .sidebar { gap: 23px; padding-right: 32px; padding-left: 32px; }
  #main-nav { gap: 21px; }
  .brand-name { font-size: 20px; }
  .global-search-button > span:not([data-icon]), .global-search-button kbd { display: none; }
  .global-search-button { justify-content: center; width: 33px; padding: 0; }
  .main { padding-right: 32px; padding-left: 32px; }
  .signal-hero { gap: 42px; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); padding-top: 44px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-copy > p { font-size: 14px; }
  .hero-shortcuts { padding-left: 24px; }
  .page-footer { width: calc(100% - 64px); }
  .partner-brand small { display: none; }
}
@media (max-width: 900px) {
  .sidebar { position: fixed; z-index: 45; top: 64px; bottom: 0; left: -300px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 280px; height: auto; padding: 27px 24px; visibility: hidden; border-right: 1px solid #e4e5ed; transition: left .2s, visibility .2s; }
  .sidebar .brand { margin-bottom: 30px; }
  .sidebar .brand-name { font-size: 21px; }
  #main-nav { flex-direction: column; align-self: auto; align-items: stretch; gap: 6px; margin: 0; }
  .nav-item { min-height: 46px; padding: 10px 12px; border-radius: 7px; font-size: 14px; }
  .nav-item::after { display: none; }
  .nav-item.active { background: #f1f1ff; color: var(--blue); }
  .nav-icon { display: inline-flex; }
  .nav-icon svg { width: 16px; height: 16px; }
  .desktop-header-actions { display: none; }
  body.nav-open .sidebar { left: 0; visibility: visible; box-shadow: 22px 0 60px #24284414; }
  body.nav-open::after { content: ''; position: fixed; z-index: 40; inset: 64px 0 0; background: #2226392b; backdrop-filter: none; pointer-events: none; }
  .topbar { position: sticky; z-index: 46; top: 0; display: flex; align-items: center; min-height: 64px; padding: 12px 28px; gap: 12px; border-bottom: 1px solid #e7e8ef; background: #fffffff5; backdrop-filter: blur(16px); }
  .mobile-menu-button { display: inline-flex; flex-shrink: 0; }
  .breadcrumb { display: flex; margin-right: auto; }
  .breadcrumb > a { color: #2b3044; font-size: 17px; font-weight: 650; letter-spacing: -.7px; }
  .breadcrumb > strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .topbar-actions { display: flex; align-items: center; gap: 8px; }
  .topbar-actions .button { min-height: 34px; padding: 7px 10px; font-size: 11px; }
  .main { padding-right: 28px; padding-left: 28px; }
  .signal-hero { gap: 30px; grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr); padding-top: 38px; }
  .hero-copy h1 { font-size: 39px; letter-spacing: -1.5px; }
  .token-word { letter-spacing: -2px; }
  .hero-copy > p { font-size: 13px; }
  .hero-actions { gap: 16px; }
  .hero-actions .button, .hero-secondary-link { font-size: 12px; }
  .hero-shortcuts { padding-left: 20px; }
  .shortcut-heading > small { display: none; }
  .model-shortcut strong { font-size: 13px; }
  .directory-stats > .metric-card { padding: 0 28px; }
  .partner-spotlight { padding: 13px 15px; }
  .partner-brand h3 { font-size: 16px; }
  .page-footer { width: calc(100% - 56px); }
}
@media (max-width: 680px) {
  .signal-hero { display: block; padding-top: 38px; padding-bottom: 26px; }
  .hero-copy h1 { font-size: clamp(35px, 7vw, 45px); line-height: 1.22; }
  .hero-copy .eyebrow { margin-bottom: 16px; font-size: 9px; }
  .hero-copy > p { margin-bottom: 22px; font-size: 14px; }
  .hero-shortcuts { display: none; }
  .directory-stats { justify-content: space-between; margin-bottom: 25px; padding: 17px 0; }
  .directory-stats > .metric-card { flex-direction: column; gap: 5px; padding: 0 20px; }
  .directory-stats > .metric-card:first-child { padding-left: 0; }
  .directory-stats > .metric-card:last-child { padding-right: 0; }
  .directory-stats .metric-value { font-size: 23px; }
  .directory-stats .metric-label { font-size: 11px; }
  .partner-stage { margin-bottom: 29px; }
  .partner-stage-caption { display: none; }
  .partner-stage-grid { grid-template-columns: 1fr; }
  .partner-spotlight { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 13px 16px; }
  .partner-spotlight + .partner-spotlight { border-left: 0; }
  .partner-ad-label { grid-column: 1/-1; margin-bottom: 7px; font-size: 9px; }
  .partner-brand { margin-bottom: 3px; }
  .partner-brand h3 { font-size: 17px; }
  .partner-brand small { display: inline; }
  .partner-description { grid-column: 1; font-size: 11px; }
  .partner-bottom { grid-column: 2; grid-row: 2/4; align-self: center; margin: 0; }
  .partner-bottom a { width: 44px; height: 36px; overflow: hidden; font-size: 0; justify-content: center; border: 1px solid #e4e5ee; border-radius: 6px; }
  .partner-bottom svg { width: 14px; height: 14px; }
  .page-heading { padding-top: 34px; }
  .page-footer { grid-template-columns: 1fr; gap: 14px; }
  .page-footer > div { justify-content: space-between; }
  .page-footer nav { gap: 22px; }
}
@media (max-width: 560px) {
  .topbar { padding-right: 17px; padding-left: 17px; gap: 9px; }
  .breadcrumb > a { font-size: 16px; }
  .topbar-actions .button { font-size: 10px; padding: 7px 8px; gap: 4px; }
  .topbar-actions .button svg { display: none; }
  .main { padding: 0 18px 34px; }
  .hero-copy h1 { font-size: clamp(32px, 8.8vw, 42px); letter-spacing: -1.3px; }
  .hero-copy > p { font-size: 13px; }
  .hero-actions .button { min-height: 41px; padding: 10px 15px; font-size: 12px; }
  .hero-secondary-link { gap: 5px; font-size: 12px; }
  .section-title { font-size: 21px; }
  .section-note { font-size: 11px; }
  .section-heading > .row-action { font-size: 10px; }
  .data-table th { font-size: 11px; padding: 12px 15px; }
  .data-table td { min-height: 70px; padding: 14px 15px; font-size: 13px; }
  .provider-name { font-size: 14px; }
  .provider-domain { font-size: 11px; }
  .tag { font-size: 10px; }
  .search-field input { font-size: 13px; }
  .filter-select { font-size: 11px; }
  .filter-chip { font-size: 11px; }
  .payment-badge { font-size: 10.5px; }
  .pagination-info { font-size: 10px; }
  .page-footer { width: calc(100% - 36px); }
}
@media (min-width: 901px) { body.nav-open::after { display: none; } }

/* Public help and application follow-up use the established site palette. */
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 2000; padding: 10px 16px; border-radius: 8px; background: var(--ink-strong); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.privacy-content { max-width: 880px; margin-bottom: 30px; }
.privacy-section { margin-bottom: 16px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.privacy-section h2 { margin: 0 0 12px; color: var(--ink-strong); font-size: 18px; }
.privacy-section p, .privacy-section li { color: var(--muted-strong); font-size: 13px; line-height: 1.95; }
.privacy-section ul { padding-left: 21px; }
.privacy-section a, .form-hint a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.request-confirmation { padding: 4px 0 0; }
.request-confirmation p { color: var(--muted-strong); font-size: 13px; line-height: 1.9; }
.confirmation-id { display: block; margin: 20px 0 12px; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); color: var(--ink-strong); font: 600 clamp(13px,3.7vw,19px)/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; user-select: all; }
.confirmation-copy-status { display: block; min-height: 1.8em; color: var(--green); font-size: 12px; }
.admin-lead-toolbar, .admin-lead-filters, .admin-lead-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-lead-toolbar { justify-content: space-between; margin-bottom: 18px; }
.admin-lead-status { min-width: 115px; }
.admin-lead-notes { width: 240px; min-width: 170px; max-width: 100%; }
.admin-lead-notes textarea { min-height: 68px; }
.admin-lead-actions { min-width: 240px; max-width: 320px; align-items: flex-start; }
.admin-lead-actions .form-error { width: 100%; white-space: normal; }
.admin-lead-actions .button { min-height: 32px; padding: 6px 11px; font-size: 12px; }
.admin-status-summary { color: var(--muted-strong); font-size: 12px; line-height: 1.8; }
.data-load-state { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted-strong); }
.page-footer nav { flex-wrap: wrap; }
@media (max-width: 680px) {
  .privacy-section { padding: 21px 19px; }
  .privacy-section h2 { font-size: 16px; }
  .admin-lead-toolbar { align-items: flex-start; }
  .admin-lead-filters { width: 100%; }
}

