/* Model Alerter page (/model-alerter). Standalone: no fixed site header, so undo the global body offset. */
body { padding-top: 0; }

.ma__hero { background: #F4F8FF; padding: 28px 0 64px; }
.ma__topbar { display: flex; align-items: center; margin-bottom: 64px; }
.ma__topbar img { height: 34px; display: block; }
.ma__hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: start; }
.ma__hero h1 { margin: 0 0 20px; font-size: 48px; line-height: 1.15; font-weight: 700; color: #163166; letter-spacing: -0.02em; }
.ma__hero h1 strong { color: #1F67D3; font-weight: inherit; }
.ma__lede { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.6; color: #6B7280; }

.ma__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.ma__stat { background: #fff; border: 1px solid #E8EBEE; border-radius: 12px; padding: 20px; }
.ma__stat-value { display: block; font-size: 32px; line-height: 1.1; font-weight: 700; color: #1F2937; letter-spacing: -0.02em; }
.ma__stat-value--green { color: #01B359; }
.ma__stat-value--small { font-size: 17px; padding-top: 9px; white-space: nowrap; }
.ma__stat-label { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; color: #6B7280; }

.ma__signup { background: #fff; border: 1px solid #E8EBEE; border-radius: 16px; padding: 32px; box-shadow: 0 8px 24px rgba(22, 49, 102, 0.06); }
.ma__signup h2 { margin: 0 0 8px; font-size: 22px; font-weight: 700; color: #1F2937; }
.ma__signup > p { margin: 0 0 24px; font-size: 15px; line-height: 1.5; color: #6B7280; }
.ma__signup input[type="email"] { width: 100%; height: 52px; padding: 0 16px; border: 1px solid #D1D5DB; border-radius: 8px; font: inherit; font-size: 15px; color: #1F2937; outline: none; }
.ma__signup input[type="email"]::placeholder { color: #9CA3AF; }
.ma__signup input[type="email"]:focus { border-color: #1F67D3; box-shadow: 0 0 0 3px rgba(31, 103, 211, 0.15); }
.ma__signup button { width: 100%; height: 52px; margin-top: 12px; border: 0; border-radius: 8px; background: #1F67D3; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s; }
.ma__signup button:hover { background: #1358BF; }
.ma__signup button:disabled { opacity: .6; cursor: default; }
.ma__status { min-height: 20px; margin: 12px 0 0; font-size: 14px; }
.ma__fineprint { margin: 16px 0 0; font-size: 12px; line-height: 1.5; color: #9CA3AF; }
.ma__hp { position: absolute; left: -9999px; }
.ma__sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ma__catalog { padding: 56px 0 96px; }
.ma__catalog h2 { margin: 0 0 24px; font-size: 28px; font-weight: 700; color: #1F2937; letter-spacing: -0.01em; }
.ma__banner { margin-bottom: 20px; padding: 12px 16px; border: 1px solid #FCD9B6; border-radius: 8px; background: #FFF7ED; color: #9A3412; font-size: 14px; }
.ma__toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.ma__search { flex: 1 1 320px; }
.ma__search input { width: 100%; height: 44px; padding: 0 16px 0 44px; border: 1px solid #D1D5DB; border-radius: 8px; font: inherit; font-size: 14px; color: #1F2937; outline: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center; }
.ma__search input:focus { border-color: #1F67D3; box-shadow: 0 0 0 3px rgba(31, 103, 211, 0.15); }
.ma__filters { display: flex; align-items: center; gap: 16px; }
.ma__filters select { height: 44px; padding: 0 40px 0 14px; border: 1px solid #D1D5DB; border-radius: 8px; font: inherit; font-size: 14px; color: #1F2937; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; -webkit-appearance: none; cursor: pointer; }
.ma__check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #374151; cursor: pointer; user-select: none; }
.ma__check input { width: 18px; height: 18px; accent-color: #1F67D3; margin: 0; }
.ma__count { margin: 0 0 0 auto; font-size: 13px; color: #6B7280; }

.ma__table-wrap { border: 1px solid #E8EBEE; border-radius: 12px; overflow: hidden; }
.ma__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ma__table thead th { background: #F9FAFB; padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #6B7280; border-bottom: 1px solid #E8EBEE; }
.ma__table tbody td { padding: 12px 16px; border-bottom: 1px solid #F3F4F6; color: #374151; vertical-align: middle; }
.ma__table tbody tr:last-child td { border-bottom: 0; }
.ma__table tbody tr:hover td { background: #F9FAFB; }
.ma__num, .ma__table thead th.ma__num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ma__model-name { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #1F2937; }
.ma__model-id { display: block; margin-top: 3px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; color: #6B7280; }
.ma__badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #EAF2FF; color: #1F67D3; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

/* Price heat chips: tier 1 (cheapest) to 5 (most expensive), log-scaled per column. */
.ma__chip { display: inline-block; padding: 2px 7px; border-radius: 5px; text-align: right; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ma__chip--free { background: #E6F7EE; color: #037A3E; }
.ma__chip--1 { background: #DCF5E6; color: #037A3E; }
.ma__chip--2 { background: #ECF6D6; color: #4D6B0A; }
.ma__chip--3 { background: #FDF2C4; color: #7A5A00; }
.ma__chip--4 { background: #FDDCC2; color: #8A3A05; }
.ma__chip--5 { background: #F8CFCF; color: #9B1C1C; }
.ma__na { color: #9CA3AF; }
.ma__empty { padding: 48px 16px; text-align: center; color: #6B7280; }

@media (max-width: 960px) {
  .ma__hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ma__hero h1 { font-size: 36px; }
  .ma__stats { grid-template-columns: repeat(2, 1fr); }
  .ma__stat-value--small { white-space: normal; }
}
@media (max-width: 768px) {
  .ma__hero { padding: 20px 0 48px; }
  .ma__topbar { margin-bottom: 40px; }
  .ma__count { margin-left: 0; width: 100%; }
  .ma__table thead { display: none; }
  .ma__table, .ma__table tbody, .ma__table tr, .ma__table td { display: block; }
  .ma__table tr { padding: 8px 0; border-bottom: 1px solid #E8EBEE; }
  .ma__table td { display: flex; justify-content: space-between; gap: 16px; padding: 6px 16px; border: 0; text-align: right; }
  .ma__table td::before { content: attr(data-label); flex: 0 0 auto; font-size: 12px; font-weight: 600; color: #6B7280; text-transform: uppercase; letter-spacing: 0.04em; text-align: left; }
  .ma__table td[data-label="Model"] { display: block; text-align: left; padding-bottom: 8px; }
  .ma__table td[data-label="Model"]::before { display: none; }
}
