:root {
  --bg: #0a0c12;
  --surface: #141822;
  --raised: #1e2430;
  --text1: rgba(255, 255, 255, 0.96);
  --text2: rgba(255, 255, 255, 0.58);
  --text3: rgba(255, 255, 255, 0.34);
  --line: rgba(255, 255, 255, 0.07);
  --blue: #718cff;
  --control: #ff9f78;
  --combined: #8fb3ff;
  --near: #68e0b5;
  --middle: #ffc878;
  --far: #dd9cff;
  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, monospace;
}
* {
  box-sizing: border-box;
}
body,
html {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text1);
  font: 14px/1.55 var(--font);
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    55% 35%at 50%0,
    rgba(91, 108, 255, 0.18),
    transparent 72%
  );
}
button,
input {
  font: inherit;
}
.page {
  position: relative;
  z-index: 1;
  max-width: 1880px;
  margin: auto;
  padding: 0 24px 56px;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0-24px;
  padding: 14px 24px;
  background: rgba(10, 12, 18, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 16px;
  font-weight: 750;
  white-space: nowrap;
}
.nav {
  display: flex;
  gap: 4px;
  overflow: auto;
}
.hero p,
.nav a {
  color: var(--text2);
}
.nav a {
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav a.active {
  background: rgba(113, 140, 255, 0.16);
  color: #aab9ff;
}
.spacer {
  flex: 1;
}
.freshness {
  color: var(--text3);
  font: 11px var(--mono);
  white-space: nowrap;
}
.hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  padding: 38px 0 22px;
}
.eyebrow {
  font: 700 11px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
}
h1 {
  margin: 7px 0 8px;
  font-size: 31px;
}
.hero p {
  margin: 0;
}
.field input,
.toolbar {
  border: 1px solid var(--line);
}
.group-toggles {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.scope-controls,
.comparison-sort-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.scope-controls > span,
.comparison-sort-controls > span {
  margin-right: 3px;
  color: var(--text3);
  font-size: 11px;
}
.scope-toggle,
.comparison-sort-toggle {
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text3);
  cursor: pointer;
}
.scope-toggle.active,
.comparison-sort-toggle.active {
  background: rgba(113, 140, 255, .15);
  border-color: rgba(113, 140, 255, .32);
  color: #aab9ff;
}
.scope-controls select {
  height: 34px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--raised);
  color: var(--text1);
}
.scope-controls select:disabled {
  opacity: .4;
}
.group-toggles > span {
  margin-right: 3px;
  color: var(--text3);
  font-size: 11px;
}
.group-toggle {
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text3);
  cursor: pointer;
}
.group-toggle.active {
  background: rgba(113, 140, 255, .15);
  border-color: rgba(113, 140, 255, .32);
  color: #aab9ff;
}
.group-toggle.control.active { color: var(--control); }
.group-toggle.combined.active { color: var(--combined); }
.group-toggle.near.active { color: var(--near); }
.group-toggle.middle.active { color: var(--middle); }
.group-toggle.far.active { color: var(--far); }
.toolbar {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
  background: var(--surface);
  border-radius: 16px;
}
.field {
  display: grid;
  gap: 5px;
  flex: 1;
  max-width: 520px;
}
.field label {
  color: var(--text3);
  font-size: 11px;
}
.field input {
  height: 42px;
  padding: 0 13px;
  border-radius: 11px;
  outline: 0;
  background: var(--raised);
  color: var(--text1);
}
.ghost,
.primary {
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.primary {
  border: 0;
  background: #f4f4f8;
  color: #090a0d;
}
.ghost {
  border: 1px solid var(--line);
  background: 0 0;
  color: var(--text2);
}
.ghost:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--text2);
}
.summary strong {
  font: 750 18px var(--mono);
  color: var(--text1);
}
.summary .right {
  margin-left: auto;
  color: var(--text3);
  font: 11px var(--mono);
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
}
.bot-table {
  min-width: 2500px;
}
.bot-row,
.table-head {
  display: grid;
  grid-template-columns: 104px 148px 108px 112px 112px 108px 108px 165px minmax(
      235px,
      1fr
    ) minmax(285px, 1.15fr) minmax(330px, 1.3fr) 560px;
  gap: 0;
}
.tier-table {
  min-width: 2240px;
}
.tier-table .bot-row,
.tier-table .table-head {
  grid-template-columns: 104px 148px 108px 112px 112px 108px 108px 165px minmax(
      245px,
      1fr
    ) minmax(300px, 1.2fr) minmax(355px, 1.4fr) 170px;
}
.table-head {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #202530;
  color: var(--text3);
  font-size: 11px;
}
.bot-row > div,
.table-head > div {
  padding: 11px 12px;
  border-right: 1px solid var(--line);
}
.bot-row > div:last-child,
.table-head > div:last-child {
  border-right: 0;
}
.bot-row {
  min-height: 150px;
  border-top: 1px solid var(--line);
  transition: background 0.16s;
}
.bot-row:hover {
  background: rgba(255, 255, 255, 0.018);
}
.cover {
  width: 80px;
  height: 112px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--raised);
}
.cover-button {
  display: block;
  padding: 0;
  border: 0;
  color: inherit;
  cursor: zoom-in;
}
.cover img,
.empty b {
  display: block;
}
.cover-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  text-align: center;
  color: var(--text3);
  font-size: 10px;
  padding: 8px;
}
.bot-id {
  font: 11px/1.5 var(--mono);
  word-break: break-all;
}
.copy {
  display: inline-block;
  margin-top: 8px;
  color: #9eadff;
  text-decoration: none;
  font-size: 11px;
}
.name {
  font-weight: 700;
}
.metric {
  color: #aab9ff;
  font: 750 16px var(--mono);
}
.metric-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.source-ratio {
  color: rgba(255, 255, 255, 0.48);
  font: 10px/1.25 var(--mono);
  white-space: nowrap;
}
.source-ratio.ratio-good {
  color: #5ee6a8;
}
.source-ratio.ratio-low {
  color: #ff747f;
}
.metric.count {
  color: var(--text1);
}
.metric.empty-value,
.pager span,
.sub {
  color: var(--text3);
}
.sub {
  margin-top: 6px;
  font: 10px/1.5 var(--mono);
}
.text {
  max-height: 112px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text2);
  font-size: 12px;
  scrollbar-width: thin;
}
.actions {
  display: grid;
  align-content: start;
  gap: 8px;
}
.tier-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  min-height: 48px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text1);
  text-decoration: none;
}
.tier-card.near {
  color: var(--near);
}
.tier-card.middle {
  color: var(--middle);
}
.tier-card.far {
  color: var(--far);
}
.tier-card.zero {
  opacity: 0.42;
  pointer-events: none;
}
.tier-card-head {
  display: grid;
}
.tier-card-head b {
  color: var(--text1);
  font: 700 11px var(--mono);
}
.tier-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  color: var(--text3);
  font-size: 9px;
}
.tier-metrics span {
  display: grid;
}
.tier-metrics b {
  color: var(--text1);
  font: 700 11px var(--mono);
}
.detail-button {
  margin-top: 6px;
  border: 0;
  background: 0 0;
  color: #9eadff;
  text-align: left;
  padding: 0;
  cursor: pointer;
}
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.pager span {
  font: 11px var(--mono);
}
.pager-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text3);
  font-size: 11px;
}
.pager-jump input {
  width: 64px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: var(--raised);
  color: var(--text1);
  text-align: center;
  font: 12px var(--mono);
}
.empty {
  padding: 80px 20px;
  text-align: center;
  color: var(--text3);
}
.empty b {
  margin-bottom: 5px;
  font-size: 16px;
}
.back,
.block div,
.empty b {
  color: var(--text2);
}
.back,
.tier-badge {
  border-radius: 999px;
}
.back {
  text-decoration: none;
  padding: 7px 11px;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.tier-badge {
  padding: 6px 10px;
  background: var(--raised);
  font: 700 11px var(--mono);
}
.tier-badge.near {
  color: var(--near);
}
.tier-badge.middle {
  color: var(--middle);
}
.tier-badge.far {
  color: var(--far);
}
.overlay {
  display: none;
  position: fixed;
  z-index: 100;
  inset: 0;
  background: #05070bd9;
  backdrop-filter: blur(10px);
}
.block span,
.overlay.show {
  display: block;
}
.drawer {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(760px, 96vw);
  overflow: auto;
  padding: 24px;
  background: #141822;
  border-left: 1px solid var(--line);
}
.drawer-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.drawer-head h2 {
  margin: 4px 0;
}
.close {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--raised);
  color: var(--text1);
  font-size: 22px;
  cursor: pointer;
}
.drawer-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  margin-top: 18px;
}
.block,
.drawer-cover {
  border-radius: 12px;
  background: var(--raised);
}
.drawer-cover {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.cover img,
.drawer-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.block {
  margin-bottom: 10px;
  padding: 13px;
}
.block span {
  margin-bottom: 6px;
  color: var(--text3);
  font-size: 10px;
}
.block div {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
}
.loading {
  opacity: 0.7;
}

/* Capacity-board style comparison tables */
.compare-table,
.tier-detail-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.compare-table {
  min-width: 0;
}
.tier-detail-table {
  min-width: 2240px;
}
.compare-table th,
.compare-table td,
.tier-detail-table th,
.tier-detail-table td {
  padding: 11px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
.compare-table th,
.compare-table td {
  padding: 8px 4px;
}
.compare-table th,
.tier-detail-table th {
  position: sticky;
  top: 0;
  z-index: 6;
  background: #202530;
  color: var(--text3);
  font-size: 11px;
  white-space: nowrap;
}
.compare-table .group-head th {
  height: 42px;
  text-align: center;
  vertical-align: middle;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.compare-table .metric-head th {
  top: 42px;
  white-space: normal;
  line-height: 1.2;
  font-size: 10px;
}
.compare-table th[rowspan="2"] {
  top: 0;
}
.compare-table th:nth-child(n+3),
.compare-table td:nth-child(n+3) {
  width: auto;
  text-align: right;
}
.compare-table th:first-child,
.compare-table td:first-child {
  width: 52px;
  padding: 5px 6px;
}
.compare-table th:nth-child(2),
.compare-table td:nth-child(2) {
  width: 104px;
  padding-left: 6px;
  padding-right: 6px;
}
.source-group { color: #aab9ff !important; }
.control-group { color: var(--control) !important; }
.combined-group { color: var(--combined) !important; }
.near-group { color: var(--near) !important; }
.middle-group { color: var(--middle) !important; }
.far-group { color: var(--far) !important; }
th[data-sort] {
  cursor: pointer;
  user-select: none;
}
th[data-sort]:after {
  content: "↕";
  margin-left: 5px;
  color: var(--text3);
}
th[data-sort]:hover,
th[data-sort].active-sort {
  color: var(--text1);
  background: #29303d;
}
th[data-sort].active-sort.sort-desc:after {
  content: "↓";
  color: var(--blue);
}
th[data-sort].active-sort.sort-asc:after {
  content: "↑";
  color: var(--blue);
}
.compare-table tbody tr:hover,
.tier-detail-table tbody tr:hover {
  background: rgba(255,255,255,.022);
}
.compare-table .sticky-cover,
.compare-table .sticky-id {
  position: sticky;
  z-index: 4;
  background: var(--surface);
}
.compare-table thead .sticky-cover,
.compare-table thead .sticky-id {
  z-index: 9;
  background: #202530;
}
.compare-table .sticky-cover { left: 0; }
.compare-table .sticky-id { left: 52px; }
.compare-table .cover {
  width: 40px;
  height: 56px;
  border-radius: 6px;
}
.compare-table .sticky-id .bot-id {
  white-space: nowrap;
  word-break: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}
.source-table-wrap {
  overflow-x: hidden;
}
.compare-table .metric {
  font-size: 11px;
  letter-spacing: -.02em;
}
.compare-table.hide-middle.hide-far.hide-combined .source-col .metric,
.compare-table.hide-middle.hide-far.hide-combined .control-col .metric,
.compare-table.hide-middle.hide-far.hide-combined .near-col .metric {
  font-size: 15px;
  line-height: 1.35;
}
.compare-table.hide-middle.hide-far.hide-combined .source-col,
.compare-table.hide-middle.hide-far.hide-combined .control-col,
.compare-table.hide-middle.hide-far.hide-combined .near-col {
  padding-left: 10px;
  padding-right: 10px;
}
.compare-table.hide-source .source-group,
.compare-table.hide-source .source-col,
.compare-table.hide-control .control-group,
.compare-table.hide-control .control-col,
.compare-table.hide-combined .combined-group,
.compare-table.hide-combined .combined-col,
.compare-table.hide-near .near-group,
.compare-table.hide-near .near-col,
.compare-table.hide-middle .middle-group,
.compare-table.hide-middle .middle-col,
.compare-table.hide-far .far-group,
.compare-table.hide-far .far-col {
  display: none;
}
.bot-id-link {
  display: block;
  color: #9eadff;
  text-decoration: none;
}
.image-preview {
  display: none;
  position: fixed;
  z-index: 120;
  inset: 0;
  place-items: center;
  padding: 28px;
  background: rgba(5, 7, 11, .9);
  backdrop-filter: blur(10px);
}
.image-preview.show { display: grid; }
.image-preview img {
  display: block;
  max-width: min(760px, 92vw);
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 28px 90px rgba(0,0,0,.55);
}
.image-preview .close {
  position: fixed;
  top: 18px;
  right: 18px;
}
.tier-cell {
  cursor: pointer;
  transition: background .15s;
}
.tier-cell:hover { background: rgba(255,255,255,.055); }
.tier-cell.control .metric { color: var(--control); }
.tier-cell.combined .metric { color: var(--combined); }
.tier-cell.near .metric { color: #8ed8ff; }
.tier-cell.near .metric-stack { gap: 6px; }
.tier-cell.near .source-ratio { font-size: 9px; }
.tier-cell.middle .metric { color: var(--middle); }
.tier-cell.far .metric { color: var(--far); }
.tier-cell.zero { opacity: .38; }
.tier-detail-table th:nth-child(1),
.tier-detail-table td:nth-child(1) { width: 52px; padding: 5px 6px; }
.tier-detail-table th:nth-child(2),
.tier-detail-table td:nth-child(2) { width: 104px; padding-left: 6px; padding-right: 6px; }
.tier-detail-table .cover {
  width: 40px;
  height: 56px;
  border-radius: 6px;
}
.tier-detail-table td:nth-child(2) .bot-id {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tier-detail-table th:nth-child(n+3):nth-child(-n+7),
.tier-detail-table td:nth-child(n+3):nth-child(-n+7) { width: 108px; text-align: right; }
.tier-detail-table th:nth-child(8),
.tier-detail-table td:nth-child(8) { width: 170px; }
.tier-detail-table th:nth-child(9),
.tier-detail-table td:nth-child(9) { width: 260px; }
.tier-detail-table th:nth-child(10),
.tier-detail-table td:nth-child(10) { width: 300px; }
.tier-detail-table th:nth-child(11),
.tier-detail-table td:nth-child(11) { width: 360px; }
.tier-detail-table th:nth-child(12),
.tier-detail-table td:nth-child(12) { width: 170px; }

/* Two-group detail comparison. Cards mirror the Emochi web discovery surface. */
.tier-compare-page { max-width: 1500px; }
.tier-compare-hero { padding-bottom: 18px; }
.selection-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text2);
  font-size: 12px;
}
.selection-toolbar strong { color: #aab9ff; font: 750 16px var(--mono); }
.selection-toolbar .primary,
.selection-toolbar .ghost { height: 34px; padding: 0 14px; }
.selection-toolbar .selection-status { margin-left: auto; color: #5ee6a8; }
.dual-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.compare-pane {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.pane-toolbar {
  display: grid;
  grid-template-columns: minmax(108px, .7fr) minmax(150px, 1fr) auto;
  gap: 8px;
  align-items: end;
  padding: 13px;
  background: #1d222d;
  border-bottom: 1px solid var(--line);
}
.pane-toolbar label {
  display: grid;
  gap: 4px;
  color: var(--text3);
  font-size: 10px;
}
.pane-toolbar select,
.sort-order {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  color: var(--text1);
  padding: 0 10px;
}
.sort-order { cursor: pointer; white-space: nowrap; }
.pane-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 43px;
  padding: 9px 13px;
  color: var(--text3);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.pane-summary strong { color: var(--text1); font: 750 17px var(--mono); }
.pane-summary span:last-child { margin-left: auto; text-align: right; }
.bot-card-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-height: 420px;
  padding: 10px;
}
.bot-card-list > .empty { grid-column: 1 / -1; }
.website-bot-card {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0f1117;
}
.website-bot-card.selected {
  border-color: rgba(113,140,255,.75);
  box-shadow: 0 0 0 2px rgba(113,140,255,.16);
}
.website-card-select {
  position: absolute;
  z-index: 5;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(8,10,15,.82);
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.website-card-select input { margin: 0; accent-color: var(--blue); }
.website-card-status {
  position: absolute;
  z-index: 5;
  top: 8px;
  right: 8px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 159, 120, .38);
  border-radius: 999px;
  background: rgba(58, 24, 18, .86);
  color: #ffb092;
  font-size: 10px;
  backdrop-filter: blur(8px);
}
.website-card-visual {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #111;
  color: #fff;
  cursor: zoom-in;
  grid-row: 1 / 3;
}
.website-card-visual:disabled { cursor: default; }
.website-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.website-card-visual:hover img { transform: scale(1.035); }
.website-card-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 78px 10px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.88));
  color: #fff;
  text-align: left;
  text-shadow: 0 1px 3px #000;
}
.website-card-count {
  color: rgba(255,255,255,.9);
  font-size: 8px;
}
.website-card-count:before { content: "◌"; margin-right: 3px; }
.website-card-title {
  margin-top: 1px;
  overflow: hidden;
  font-size: 11px;
  line-height: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.website-card-description {
  display: -webkit-box;
  height: 28px;
  overflow: hidden;
  color: rgba(255,255,255,.72);
  font-size: 8px;
  line-height: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.website-card-tags { display: flex; gap: 4px; height: 16px; margin-top: 5px; overflow: hidden; }
.website-card-tag {
  overflow: hidden;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.72);
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.website-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--text3);
}
.website-card-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.website-card-data > div {
  min-width: 0;
  padding: 8px 9px;
  background: #171a22;
}
.website-card-data span {
  display: block;
  margin-bottom: 2px;
  color: var(--text3);
  font-size: 9px;
}
.website-card-data .metric { font-size: 13px; }
.website-card-data .production-time { grid-column: 1 / -1; }
.website-card-data .production-time b {
  color: var(--text2);
  font: 10px var(--mono);
}
.open-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  color: #aab9ff;
  font-size: 10px;
  text-decoration: none;
}
.open-bot span { overflow: hidden; font: 9px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.open-bot b { flex: none; font-size: 10px; }
.pane-pager { margin: 0; padding: 13px; border-top: 1px solid var(--line); }
.pane-pager .ghost { height: 34px; padding: 0 14px; }
@media (max-width: 850px) {
  .page {
    padding-left: 14px;
    padding-right: 14px;
  }
  .topbar {
    margin: 0-14px;
    padding: 12px 14px;
    flex-wrap: wrap;
  }
  .nav {
    order: 3;
    width: 100%;
  }
  .hero,
  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .toolbar {
    align-items: stretch;
  }
  .group-toggles {
    margin-left: 0;
    flex-wrap: wrap;
  }
  .field {
    max-width: none;
  }
  .freshness {
    display: none;
  }
  .drawer-grid {
    grid-template-columns: 1fr;
  }
  .drawer-cover {
    max-width: 260px;
  }
  .dual-compare { grid-template-columns: 1fr; }
  .pane-toolbar { grid-template-columns: 1fr 1fr; }
  .sort-order { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .website-bot-card { grid-template-columns: 126px minmax(0, 1fr); }
  .website-card-copy { padding: 48px 7px 7px; }
  .website-card-title { font-size: 9px; line-height: 13px; }
  .website-card-description { height: 24px; font-size: 7px; line-height: 12px; }
  .website-card-data { grid-template-columns: 1fr; }
  .website-card-data .production-time { grid-column: auto; }
}
