/* SnipeWise — eBay-inspired light theme
   Visual language borrowed from ebay.com: white surfaces, ink text,
   eBay blue (#3665f3) CTAs, pill search, category strip, promo banners. */

:root {
  --sw-css: ok; /* watchdog marker: the inline script in index.html probes this to detect a failed stylesheet load */
  --blue: #3665f3;
  --blue-dark: #2b4fc4;
  --blue-tint: #e8efff;
  --red: #e53238;
  --red-dark: #c41f25;
  --red-tint: #fdeceb;
  --yellow: #f5af02;
  --yellow-tint: #fff6dd;
  --green: #86b817;
  --green-dark: #5f8a0e;
  --green-tint: #f0f7e2;
  --ink: #191919;
  --muted: #707070;
  --line: #e0e0e0;
  --line-soft: #eeeeee;
  --bg: #f7f7f7;
  --card: #ffffff;
  --input-border: #8f8f8f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Market Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ============ utility top bar (like eBay's) ============ */
.util-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 6px 20px;
  background: var(--card);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  flex-wrap: wrap;
}
.util-left, .util-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.util-btn {
  background: none !important;
  border: none !important;
  color: var(--ink) !important;
  font-size: 12px !important;
  padding: 4px 2px !important;
  border-radius: 0 !important;
  cursor: pointer;
  white-space: nowrap;
}
.util-btn:hover { color: var(--blue) !important; text-decoration: underline; }

/* ============ main header: wordmark + pill search ============ */
.main-head {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 20px;
  background: var(--card);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-soft);
}
.brand {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1.5px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.brand-dark { color: var(--ink); }
.brand-blue { color: var(--blue); }

.search-bar {
  flex: 1;
  max-width: 720px;
  display: flex;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 3px 3px 3px 18px;
  background: #fff;
  gap: 8px;
}
.search-icon { color: var(--muted); font-size: 18px; flex-shrink: 0; }
.search-bar input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  min-width: 0;
  background: transparent;
  color: var(--ink);
  padding: 8px 0;
}
.search-bar .btn.primary { flex-shrink: 0; }

/* ============ category strip ============ */
.cat-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 20px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 60;
}
.cat-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  padding: 10px 12px;
}
.cat-nav a:hover { color: var(--blue); text-decoration: underline; }
.cat-nav a.active {
  color: var(--blue);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--blue);
}

/* Dashboard tabs: exactly one panel visible at a time. */
main > section.card { display: none; }
main > section.card.active { display: block; }

/* ============ status pill ============ */
.pill {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--line-soft);
  color: var(--muted);
  white-space: nowrap;
}
.pill.ok { background: var(--green-tint); color: var(--green-dark); }
.pill.warn { background: var(--yellow-tint); color: #8a6100; }
.pill.err { background: var(--red-tint); color: var(--red-dark); }

/* ============ layout ============ */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 22px;
}
.card h2 { margin: 0 0 10px; font-size: 19px; font-weight: 700; }
.card h3 { margin: 14px 0 8px; font-size: 15px; }
.count { color: var(--muted); font-weight: 400; font-size: 15px; }

.row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }

/* ============ inputs ============ */
input[type="text"], input[type="number"], select {
  background: #fff;
  border: 1px solid var(--input-border);
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}
input[type="text"] { min-width: 200px; }
input:focus, select:focus { outline: 2px solid var(--blue); border-color: var(--blue); }

label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
label input, label select { min-width: 110px; }

/* ============ buttons (eBay pill CTAs) ============ */
.btn {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover { background: var(--blue-tint); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn.danger { color: var(--red-dark); border-color: var(--red); background: #fff; }
.btn.danger:hover { background: var(--red-tint); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink); font-weight: 400; }
.btn.ghost:hover { background: var(--line-soft); color: var(--blue); }
.btn.small { padding: 6px 14px; font-size: 12px; }
.btn:disabled { opacity: 0.5; cursor: wait; }

/* ============ SSO buttons (auth view) ============ */
.sso-buttons { display: flex; flex-direction: column; gap: 10px; }
.btn.sso {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; border-radius: 8px; font-weight: 500;
}
.btn.sso-google { background: #fff; border-color: #dadce0; color: #1f1f1f; }
.btn.sso-google:hover { background: #f6fafe; }
.btn.sso-facebook { background: #1877f2; border-color: #1877f2; color: #fff; }
.btn.sso-facebook:hover { background: #166fe5; }
.sso-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted, #6b7280); font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
}
.sso-divider::before, .sso-divider::after {
  content: ""; flex: 1; border-top: 1px solid var(--line);
}
.hidden { display: none !important; }

/* ============ banners (eBay promo blocks) ============ */
.banner {
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.banner b { font-weight: 700; }
.banner.dry { background: var(--yellow-tint); border-color: var(--yellow); color: #5c4300; }
.banner.live { background: var(--red-tint); border-color: var(--red); color: #7a1f22; }
.banner.upgrade {
  background: linear-gradient(100deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-color: var(--blue-dark);
  color: #fff;
}
.banner.upgrade b { color: #fff; }
.banner.trial, .banner.invite { background: var(--green-tint); border-color: var(--green); color: #3d5a00; }
.banner.trial b, .banner.invite b { color: #2c4400; }

.error {
  color: var(--red-dark);
  background: var(--red-tint);
  border: 1px solid var(--red);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 10px;
  font-size: 13px;
}

/* ============ item preview (eBay listing style) ============ */
.preview {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.preview img {
  width: 140px; height: 140px; object-fit: cover;
  border-radius: 4px; border: 1px solid var(--line-soft);
}
.preview-info { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.preview-title { font-weight: 700; font-size: 16px; }
.preview-meta { color: var(--muted); font-size: 13px; }

/* ============ snipe rows ============ */
.snipe-list { display: flex; flex-direction: column; gap: 10px; }
.snipe {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 14px;
}
.snipe:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.thumb {
  width: 72px; height: 72px; object-fit: cover;
  border-radius: 4px; border: 1px solid var(--line-soft); flex-shrink: 0;
}
.snipe-main { flex: 1; min-width: 0; }
.snipe-title {
  font-weight: 700; font-size: 15px; margin-bottom: 6px;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.snipe-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); align-items: center; }
.snipe-meta b { color: var(--ink); }
.cd { color: var(--red); font-weight: 700; font-variant-numeric: tabular-nums; }
.detail {
  margin-top: 8px; font-size: 12px; color: var(--muted);
  background: var(--bg); border-radius: 6px; padding: 6px 10px;
}
.actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ============ badges ============ */
.badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--line-soft);
  color: var(--muted);
  white-space: nowrap;
}
.b-active { background: var(--blue-tint); color: var(--blue-dark); }
.b-fired { background: var(--yellow-tint); color: #8a6100; }
.b-won { background: var(--green-tint); color: var(--green-dark); }
.b-error { background: var(--red-tint); color: var(--red-dark); }
.b-skipped { background: var(--yellow-tint); color: #8a6100; }

/* ============ groups ============ */
.group { background: #fff; border: 1px solid var(--line-soft); border-radius: 8px; padding: 14px; margin-top: 10px; }
.group-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; font-weight: 600; }
.group-head .btn { margin-left: auto; }
.group-members { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.chip {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px; font-size: 13px;
  display: inline-flex; gap: 6px; align-items: center;
}

.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ============ eBay-style footer ============ */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.footer-cols {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h4 { margin: 0 0 10px; font-size: 13px; color: var(--ink); }
.footer-col a {
  display: block; color: var(--muted); text-decoration: none;
  font-size: 13px; padding: 3px 0;
}
.footer-col a:hover { color: var(--blue); text-decoration: underline; }
.footer-legal {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px 28px;
  border-top: 1px solid var(--line-soft);
  margin-top: 16px;
  text-align: center;
}
.footer-legal p { font-size: 12px; color: var(--muted); margin: 4px 0; }

/* ============ modal overlay ============ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(25, 25, 25, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
}
.modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  padding: 28px;
  max-width: 440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal h2 { margin: 0; font-size: 20px; }
.modal p { margin: 0; }
.modal input { width: 100%; }
.modal code { background: var(--bg); padding: 2px 6px; border-radius: 4px; }
.addr-row { display: flex; gap: 8px; align-items: stretch; }
.addr-row .btn { flex-shrink: 0; }
.addr-row code {
  flex: 1; word-break: break-all; font-size: 13px; line-height: 1.5;
  padding: 10px 12px; border-radius: 8px; background: var(--bg);
  border: 1px dashed var(--line);
}
#cryptoStatus.done { color: var(--green, #1a7f37); font-weight: 600; }
#cryptoStatus.dead { color: var(--red, #c0392b); font-weight: 600; }

/* ============ auth view (eBay sign-in style) ============ */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg);
}
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  padding: 36px 40px;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}
.auth-card p { margin: 0; }
.auth-brand { font-size: 34px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; }
.auth-hello { font-size: 24px; font-weight: 700; margin: 4px 0 0; }
.auth-tabs { display: flex; gap: 24px; justify-content: center; border-bottom: 1px solid var(--line); }
.auth-tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  padding: 10px 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.auth-tab.active { color: var(--ink); border-bottom-color: var(--blue); }
.auth-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.auth-form input { width: 100%; padding: 13px 14px; }
.auth-form .btn.primary { width: 100%; padding: 13px; font-size: 16px; }
/* v1.26.0: Terms-of-Service agreement checkbox on the signup form. */
.terms-check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.4; cursor: pointer; }
.terms-check input { width: auto; padding: 0; margin-top: 3px; accent-color: #0064d2; flex-shrink: 0; }
.terms-check a { color: #0064d2; }
.linklike {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 13px;
  cursor: pointer;
  padding: 4px;
  font-family: inherit;
}
.linklike:hover { text-decoration: underline; }

/* ============ pricing ============ */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  text-align: center;
}
.price-card.featured { border: 2px solid var(--blue); }
.price-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-name { font-weight: 700; font-size: 14px; }
.price-amount { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.price-per { font-size: 12px; color: var(--muted); }
.price-card .btn { margin-top: 6px; padding: 8px 12px; font-size: 13px; }

/* ============ credit stats ============ */
.credit-stats { display: flex; gap: 12px; margin: 12px 0; flex-wrap: wrap; }
.credit-stat {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 150px;
}
.credit-stat-label { font-size: 12px; color: var(--muted); }
.credit-stat-value { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }

/* ============ ledger ============ */
.ledger-list { display: flex; flex-direction: column; }
.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}
.ledger-row .ledger-amount.pos { color: var(--green-dark); font-weight: 700; }
.ledger-row .ledger-amount.neg { color: var(--red-dark); font-weight: 700; }
.ledger-date { color: var(--muted); font-size: 12px; }

/* ============ language picker ============ */
.lang-picker {
  background: transparent;
  color: var(--ink);
  border: none;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 2px;
}
.lang-picker:focus { outline: 2px solid var(--blue); }

/* ============ API key rows ============ */
.api-key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}
.api-key-meta { color: var(--muted); font-size: 12px; }

/* ============ referral rewards ============ */
.ref-reward {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}
#referralRewards { margin-top: 8px; }

/* ============ trial consent ============ */
.trial-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.45;
}
.trial-consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  flex-shrink: 0;
  cursor: pointer;
}

/* ============ medium screens (tablets) ============ */
@media (max-width: 1000px) {
  .pricing { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* ============ small screens (phones) ============ */
@media (max-width: 700px) {
  .main-head { flex-wrap: wrap; gap: 12px; padding: 12px 14px; }
  .brand { font-size: 26px; }
  .search-bar { flex: 1 1 100%; max-width: none; order: 3; }
  .util-bar { padding: 6px 14px; }
  .cat-nav { padding: 0 10px; }
  main { padding: 14px; gap: 12px; }
  .card { padding: 16px; }
  .preview { flex-direction: column; }
  .preview img { width: 100%; height: auto; max-height: 220px; }
  .snipe { flex-direction: column; }
  .snipe .thumb { width: 100%; height: auto; max-height: 160px; }
  .actions { width: 100%; }
  .actions .btn { flex: 1; }
  .auth-card { padding: 28px 22px; }
  input[type="text"] { min-width: 0; flex: 1 1 100%; }
  label { flex: 1 1 100%; }
  /* comfortable touch targets on phones */
  .btn { min-height: 44px; }
  .auth-tab { padding: 12px 4px; }
  .api-key-row { flex-direction: column; align-items: stretch; }
}
@media (max-width: 420px) {
  .pricing { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .addr-row { flex-direction: column; }
  .addr-row .btn { width: 100%; }
  .ledger-row { flex-direction: column; gap: 2px; }
  .auth-card { padding: 24px 18px; }
}

/* ============ admin console (v1.9.0, eBay-style header) ============ */
.admin-tag {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  background: #111; color: #fff; border-radius: 4px; padding: 3px 8px; vertical-align: middle;
}
.admin-wrap { max-width: 1100px; margin: 0 auto; padding: 20px 16px 60px; }
.admin-nav a.active {
  color: var(--blue); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue);
}
.admin-section { display: flex; flex-direction: column; gap: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.stat-label { font-size: 12px; color: var(--muted, #6b7280); text-transform: uppercase; letter-spacing: .5px; }
.stat-value { font-size: 24px; font-weight: 700; margin: 4px 0; }
.stat-sub { font-size: 12px; color: var(--muted, #6b7280); }
.admin-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.panel h3 { margin: 0 0 12px; font-size: 15px; }
.panel h4 { margin: 18px 0 8px; font-size: 14px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bars { display: flex; align-items: flex-end; gap: 4px; min-height: 150px; padding-top: 24px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; }
.bar-val { font-size: 10px; color: var(--muted, #6b7280); height: 14px; white-space: nowrap; }
.bar { width: 70%; max-width: 34px; background: #3665f3; border-radius: 3px 3px 0 0; min-height: 2px; }
.bar-label { font-size: 10px; color: var(--muted, #6b7280); margin-top: 4px; }
.bar-stacked { width: 70%; max-width: 34px; display: flex; flex-direction: column; border-radius: 3px 3px 0 0; overflow: hidden; }
.seg-page { background: #3665f3; }
.seg-api { background: #a8c0fa; }
.legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.sw-page { background: #3665f3; }
.sw-api { background: #a8c0fa; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted, #6b7280); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 9px 10px; border-bottom: 1px solid #f0f0f0; white-space: nowrap; }
.admin-table tr.clickable { cursor: pointer; }
.admin-table tr.clickable:hover td { background: #f6f8ff; }
.admin-table .ref { font-family: monospace; font-size: 12px; color: var(--muted, #6b7280); max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.pos { color: #0a7d2c; font-weight: 600; }
.neg { color: #c81e1e; font-weight: 600; }
.admin-search { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; min-width: 220px; }
.pager { margin-top: 12px; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 6px; font-size: 14px; }
.adjust-form { display: flex; gap: 8px; flex-wrap: wrap; }
.adjust-form input[type="number"] { width: 280px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.adjust-form input[type="text"] { flex: 1; min-width: 160px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
@media (max-width: 700px) {
  .admin-panels { grid-template-columns: 1fr; }
  .admin-nav a { padding: 10px 10px; font-size: 14px; }
  .adjust-form input[type="number"] { width: 100%; }
}

/* admin 2FA setup (v1.9.0) */
.totp-secret {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px; letter-spacing: 2px; word-break: break-all;
  background: #f4f6fb; border: 1px dashed #b9c6e8; border-radius: 8px;
  padding: 12px 14px; margin: 10px 0; text-align: center; user-select: all;
}

/* Main Page welcome + pricing model (v2.1): big, bold, clear */
.welcome-line { font-size: 1.05rem; line-height: 1.55; margin: 8px 0; }
.welcome-hi { font-weight: 800; font-size: 1.15rem; }
.how-title { font-weight: 800; font-size: 1.1rem; margin: 14px 0 6px; }
.pricing-model {
  list-style: none; margin: 0 0 14px; padding: 0;
  font-size: 1rem; font-weight: 700; line-height: 1.6;
}
.pricing-model li {
  background: #f4f7ff; border: 1px solid #d7e2fb; border-radius: 10px;
  padding: 12px 14px; margin: 10px 0;
}
.pricing-model .opt-title { color: #0b5fff; }
@media (max-width: 700px) {
  .pricing-model { font-size: 1rem; }
}
.trial-start {
  background: #f4f7ff; border: 2px solid #0b5fff; border-radius: 12px;
  padding: 16px; margin: 14px 0;
}
.trial-start h3 { margin: 0 0 8px; color: #0b5fff; }
.btn.big { font-size: 1.05rem; padding: 12px 22px; }

/* v1.23.0: review modal star ratings + main-page AI Agent Friendly section */
.review-dims { display: flex; flex-direction: column; gap: 10px; }
.dim-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dim-label { font-weight: 600; font-size: 14px; }
.stars { display: flex; gap: 2px; }
.star {
  background: none; border: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: #d3d8e3; padding: 2px;
}
.star.on { color: #f5a623; }
.star:hover { transform: scale(1.15); }
#reviewText {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 14px; font-family: inherit; resize: vertical;
}
.agent-friendly {
  background: #f4f7ff; border: 2px solid #0b5fff; border-radius: 12px;
  padding: 16px; margin: 14px 0;
}
.agent-friendly h3 { margin: 0 0 8px; color: #0b5fff; }
.agent-points { margin: 10px 0; padding-left: 20px; }
.agent-points li { margin: 6px 0; }
.agent-score { font-weight: 600; color: #0b5fff; margin: 8px 0 0; }
