@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Roboto+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface2: #f0f2fa;
  --surface3: #e6e9f5;
  --border: #dde0f0;
  --border2: #c8cde8;
  --text: #080e2c;
  --muted: #5a6187;
  --muted2: #8890b8;
  --navy: #0b1640;
  --navy2: #152059;
  --blue: #1a3bff;
  --blue-mid: #3d5aff;
  --blue-light: #eef0ff;
  --blue-pale: #f5f6ff;
  --lime: #a8ff3e;
  --lime-dim: rgba(168,255,62,0.15);
  --lime-dark: #7acc1a;
  --red: #ff3d3d;
  --red-light: #fff0f0;
  --green: #00c87a;
  --green-light: #edfff7;
  --amber: #ff9500;
  --amber-light: #fff8ee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', sans-serif;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(26,59,255,0.018) 40px,
    rgba(26,59,255,0.018) 41px
  );
  pointer-events: none;
  z-index: 0;
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px;
  background: rgba(247,248,252,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--border);
}

.logo {
  font-family: 'Figtree', sans-serif;
  font-weight: 900; font-size: 1.1rem;
  color: var(--text); text-decoration: none;
  letter-spacing: -0.04em;
  display: flex; align-items: center; gap: 8px;
}
.logo-mark {
  width: 30px; height: 30px;
  background: var(--navy); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 900;
  color: var(--lime); letter-spacing: -0.04em; flex-shrink: 0;
}
.logo span { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-size: 0.8rem; font-weight: 600; color: var(--muted);
  text-decoration: none; padding: 6px 14px; border-radius: 6px;
  transition: all 0.15s; letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--text); background: var(--surface2); }
.nav-links a.active { color: var(--navy); background: var(--surface2); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border2);
  padding: 7px 18px; border-radius: 7px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.8rem; font-weight: 700; cursor: pointer;
  transition: all 0.15s; letter-spacing: -0.01em;
}
.nav-ghost:hover { color: var(--text); border-color: var(--blue); }
.nav-solid {
  background: var(--navy); color: var(--lime);
  border: none; padding: 8px 20px; border-radius: 7px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.8rem; font-weight: 800; cursor: pointer;
  transition: all 0.15s; letter-spacing: -0.03em;
  box-shadow: 0 3px 12px rgba(11,22,64,0.25);
}
.nav-solid:hover { background: var(--navy2); transform: translateY(-1px); }

/* PAGE HEADER */
.page-header {
  position: relative; z-index: 1;
  background: var(--navy);
  padding: 56px 52px 48px;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(168,255,62,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-header-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.page-eyebrow {
  font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--lime); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.page-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--lime); border-radius: 1px; }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900; letter-spacing: -0.05em;
  color: white; line-height: 1.05; margin-bottom: 12px;
}
.page-header h1 .lime { color: var(--lime); }
.page-header p { font-size: 0.95rem; color: rgba(255,255,255,0.55); max-width: 540px; line-height: 1.72; }

/* MAIN CONTENT AREA */
.main-content {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  padding: 48px 52px;
}

/* TOOL GRID LAYOUT */
.tool-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: flex-start;
}

/* PANEL */
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(8,14,44,0.06);
}
.panel-header {
  background: var(--navy);
  padding: 16px 22px;
  display: flex; align-items: center; justify-content: space-between;
}
.panel-title { font-weight: 800; font-size: 0.88rem; color: white; letter-spacing: -0.02em; }
.panel-badge {
  background: var(--lime); color: var(--navy);
  font-size: 0.58rem; font-weight: 900;
  padding: 3px 10px; border-radius: 4px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.panel-body { padding: 22px; }

/* FORM ELEMENTS */
.field { margin-bottom: 18px; }
.field:last-of-type { margin-bottom: 0; }
.field-label {
  font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted2); margin-bottom: 6px; display: block;
}
.field-input-wrap { position: relative; }
.field-prefix {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem; font-weight: 700; color: var(--muted2);
}
.field-suffix {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-family: 'Roboto Mono', monospace;
  font-size: 0.75rem; font-weight: 700; color: var(--muted2);
}
.field-input, .field-select {
  width: 100%;
  background: var(--surface2); border: 1.5px solid var(--border2);
  border-radius: 10px; padding: 11px 14px;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem; font-weight: 700; color: var(--text); outline: none;
  transition: border-color 0.15s;
}
.field-input:focus, .field-select:focus { border-color: var(--blue); background: white; }
.field-input.has-prefix { padding-left: 28px; }
.field-input.has-suffix { padding-right: 40px; }
.field-select { appearance: none; cursor: pointer; }
.field-hint { font-size: 0.68rem; color: var(--muted2); margin-top: 5px; font-weight: 500; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }

/* RANGE SLIDER */
.field-range {
  width: 100%; margin-top: 8px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  height: 5px; border-radius: 3px;
  background: linear-gradient(to right, var(--blue) 0%, var(--blue) 30%, var(--surface3) 30%, var(--surface3) 100%);
  outline: none;
}
.field-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px;
  border-radius: 50%; background: var(--navy);
  border: 3px solid white; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
}

/* RESULTS */
.results-panel {
  background: var(--navy); border-radius: 12px;
  padding: 18px; margin-bottom: 16px;
}
.result-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.result-row:last-child { border-bottom: none; }
.result-label { font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.45); }
.result-val {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem; font-weight: 700; color: white;
}
.result-val.lime { color: var(--lime); font-size: 1.1rem; }
.result-val.red  { color: #ff7070; }
.result-val.green { color: #4dffb0; }
.result-val.amber { color: #ffb347; }

/* BUTTONS */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--lime) 0%, #c8f542 100%);
  color: var(--navy); border: none; padding: 14px; border-radius: 10px;
  font-family: 'Figtree', sans-serif;
  font-weight: 900; font-size: 0.92rem; cursor: pointer;
  transition: all 0.15s; letter-spacing: -0.02em;
  box-shadow: 0 4px 16px rgba(168,255,62,0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(168,255,62,0.4); }

.btn-secondary {
  background: transparent; color: var(--muted);
  border: 1.5px solid var(--border2);
  padding: 10px 20px; border-radius: 8px;
  font-family: 'Figtree', sans-serif;
  font-weight: 700; font-size: 0.82rem; cursor: pointer;
  transition: all 0.15s; letter-spacing: -0.01em;
}
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }

.btn-navy {
  background: var(--navy); color: var(--lime);
  border: none; padding: 12px 24px; border-radius: 9px;
  font-family: 'Figtree', sans-serif;
  font-weight: 800; font-size: 0.86rem; cursor: pointer;
  transition: all 0.15s; letter-spacing: -0.02em;
}
.btn-navy:hover { background: var(--navy2); }

/* RISK SCORE */
.risk-score-display {
  background: var(--navy); border-radius: 14px;
  padding: 22px; text-align: center; margin-bottom: 16px;
}
.risk-score-num {
  font-family: 'Roboto Mono', monospace;
  font-size: 3.5rem; font-weight: 700;
  line-height: 1; letter-spacing: -0.05em;
}
.risk-score-label { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.risk-score-desc { font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.5); margin-top: 6px; }
.risk-score-bar {
  height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.1);
  margin: 12px 0 8px; overflow: hidden;
}
.risk-score-fill { height: 100%; border-radius: 3px; transition: width 0.5s ease; }

.score-low .risk-score-num { color: var(--green); }
.score-low .risk-score-fill { background: var(--green); }
.score-medium .risk-score-num { color: var(--amber); }
.score-medium .risk-score-fill { background: var(--amber); }
.score-high .risk-score-num { color: #ff7070; }
.score-high .risk-score-fill { background: #ff7070; }

/* TIMELINE TABLE */
.timeline-table { width: 100%; border-collapse: collapse; }
.timeline-table th {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.58rem; font-weight: 600;
  color: rgba(255,255,255,0.35); text-transform: uppercase;
  letter-spacing: 0.1em; padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-align: left;
}
.timeline-table td {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.75); padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.timeline-table tr:last-child td { border-bottom: none; }
.timeline-table tr.fixed-period td { color: rgba(255,255,255,0.4); }
.timeline-table td.rate-cell { color: var(--lime); }
.timeline-table td.payment-cell { color: white; font-weight: 700; }
.timeline-table td.change-up { color: #ff7070; }
.timeline-table td.change-dn { color: #4dffb0; }

/* CHART AREA */
.chart-container {
  position: relative; height: 220px; margin: 16px 0;
}
canvas.chart { width: 100% !important; height: 100% !important; }

/* AD SLOTS */
.ad-slot {
  background: var(--surface2);
  border: 1px dashed var(--border2);
  border-radius: 10px; padding: 20px;
  text-align: center;
  font-size: 0.7rem; font-weight: 600; color: var(--muted2);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 20px;
}
.ad-slot-banner { height: 90px; display: flex; align-items: center; justify-content: center; }
.ad-slot-rect { height: 250px; display: flex; align-items: center; justify-content: center; }
.ad-slot-sidebar { min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }

/* TABS */
.tabs { display: flex; gap: 4px; margin-bottom: 24px; background: var(--surface2); border-radius: 10px; padding: 4px; }
.tab-btn {
  flex: 1; padding: 8px 14px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  color: var(--muted); border: none;
  background: transparent; cursor: pointer;
  border-radius: 7px; transition: all 0.15s;
  letter-spacing: -0.01em;
}
.tab-btn.active { background: white; color: var(--navy); box-shadow: 0 2px 8px rgba(8,14,44,0.08); }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* COMPARISON GRID */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.compare-card {
  background: var(--surface2); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 16px; text-align: center;
}
.compare-card.winner { background: var(--green-light); border-color: rgba(0,200,122,0.3); }
.compare-card.warning { background: var(--amber-light); border-color: rgba(255,149,0,0.3); }
.compare-card-label { font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted2); margin-bottom: 6px; }
.compare-card.winner .compare-card-label { color: var(--green); }
.compare-card-val {
  font-family: 'Roboto Mono', monospace;
  font-size: 1.6rem; font-weight: 700;
  color: var(--text); line-height: 1; letter-spacing: -0.03em;
}
.compare-card.winner .compare-card-val { color: var(--green); }
.compare-card-sub { font-size: 0.65rem; color: var(--muted2); margin-top: 4px; font-weight: 500; }

/* SHARE BUTTON */
.share-bar {
  display: flex; gap: 8px; margin-top: 16px;
}
.share-btn {
  flex: 1; padding: 10px; border-radius: 8px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.75rem; font-weight: 800; cursor: pointer;
  transition: all 0.15s; letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.share-btn-download {
  background: var(--navy); color: var(--lime); border: none;
}
.share-btn-copy {
  background: var(--surface2); color: var(--muted);
  border: 1.5px solid var(--border2);
}
.share-btn-copy:hover { border-color: var(--navy); color: var(--navy); }

/* INFO CARDS */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.info-card {
  background: var(--surface2); border-radius: 10px;
  padding: 14px; border: 1px solid var(--border);
}
.info-card-label { font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted2); margin-bottom: 4px; }
.info-card-val {
  font-family: 'Roboto Mono', monospace;
  font-size: 1.15rem; font-weight: 700; color: var(--text);
}

/* SECTION DIVIDER */
.section-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 28px 0 20px;
}
.section-divider-label {
  font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted2); white-space: nowrap;
}
.section-divider-line { flex: 1; height: 1px; background: var(--border); }

/* TOOLS GRID (home page) */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tool-card {
  background: white; border: 1px solid var(--border);
  border-radius: 14px; padding: 26px 22px;
  text-decoration: none; color: inherit;
  transition: all 0.2s; cursor: pointer;
  display: block; border-top: 3px solid transparent;
}
.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(8,14,44,0.09);
  border-top-color: var(--blue);
}
.tool-card-icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.tool-card-title { font-size: 0.95rem; font-weight: 800; color: var(--text); margin-bottom: 6px; letter-spacing: -0.02em; }
.tool-card-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.6; font-weight: 400; }
.tool-card-arrow { font-size: 0.75rem; color: var(--blue); font-weight: 700; margin-top: 12px; display: block; }

/* TICKER */
.ticker-bar {
  position: relative; z-index: 1;
  background: var(--navy); padding: 14px 0; overflow: hidden;
}
.ticker-track {
  display: flex; gap: 0;
  animation: ticker 35s linear infinite;
  width: max-content;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: flex; align-items: center; gap: 8px;
  padding: 0 28px; border-right: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}
.ti-label { font-size: 0.62rem; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; }
.ti-rate { font-family: 'Roboto Mono', monospace; font-size: 0.78rem; font-weight: 700; color: var(--lime); }
.ti-change { font-size: 0.6rem; font-weight: 700; }
.ti-up { color: var(--green); }
.ti-dn { color: var(--red); }

/* TOAST */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--navy); color: var(--lime);
  border: 1px solid rgba(168,255,62,0.25);
  padding: 13px 20px; border-radius: 10px;
  font-size: 0.84rem; font-weight: 700; z-index: 300;
  transform: translateY(60px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  letter-spacing: -0.01em;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* MODAL */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(6,11,26,0.75); backdrop-filter: blur(10px);
  z-index: 200; align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: white; border-radius: 18px; padding: 40px;
  width: 90%; max-width: 540px;
  animation: upIn 0.3s ease; position: relative;
  box-shadow: 0 32px 80px rgba(6,11,26,0.4);
  border: 1px solid var(--border); max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: var(--surface2); border: none; color: var(--muted);
  width: 30px; height: 30px; border-radius: 7px;
  cursor: pointer; font-size: 0.9rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.modal-close:hover { background: var(--red-light); color: var(--red); }

/* FOOTER */
footer {
  position: relative; z-index: 1;
  background: #060b1a; border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 52px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo { font-weight: 900; font-size: 1.05rem; color: white; text-decoration: none; letter-spacing: -0.04em; }
.footer-logo span { color: var(--lime); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 0.75rem; color: rgba(255,255,255,0.3); text-decoration: none; font-weight: 600; transition: color 0.15s; }
.footer-links a:hover { color: white; }
footer p { font-size: 0.7rem; color: rgba(255,255,255,0.2); }

/* ANIMATIONS */
@keyframes upIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,200,122,0.4); }
  50%      { box-shadow: 0 0 0 5px rgba(0,200,122,0); }
}
.proof-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s ease infinite; }

/* REPORT PAGE */
.report-page { max-width: 900px; margin: 0 auto; padding: 40px 52px; }
.report-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 32px; }
.report-chip {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 12px;
  font-size: 0.7rem; font-weight: 700; color: var(--muted);
  font-family: 'Roboto Mono', monospace;
}

/* SHARE IMAGE PREVIEW */
.share-image-preview {
  background: var(--navy); border-radius: 14px;
  padding: 28px; text-align: center;
  border: 1px solid rgba(168,255,62,0.2);
}
.sip-brand { font-size: 0.65rem; font-weight: 800; color: rgba(255,255,255,0.3); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.sip-label { font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.sip-value {
  font-family: 'Roboto Mono', monospace;
  font-size: 2.2rem; font-weight: 700;
  color: var(--lime); letter-spacing: -0.04em;
}
.sip-sub { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 4px; }

/* ADMIN */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 60px); }
.admin-sidebar {
  background: var(--navy); padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.admin-sidebar-title {
  font-size: 0.58rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.3); padding: 0 8px; margin-bottom: 8px;
}
.admin-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px;
  font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.5);
  cursor: pointer; transition: all 0.15s; margin-bottom: 2px;
  text-decoration: none;
}
.admin-nav-item:hover { background: rgba(255,255,255,0.07); color: white; }
.admin-nav-item.active { background: rgba(168,255,62,0.1); color: var(--lime); }
.admin-main { padding: 32px; background: var(--bg); }
.admin-section-title {
  font-size: 1.4rem; font-weight: 900; letter-spacing: -0.04em;
  color: var(--text); margin-bottom: 6px;
}
.admin-section-sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 28px; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted2); padding: 10px 14px;
  border-bottom: 2px solid var(--border); text-align: left;
}
.admin-table td {
  padding: 12px 14px; border-bottom: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text); font-weight: 500;
}
.admin-table tr:hover td { background: var(--surface2); }

.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.admin-stat {
  background: white; border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
}
.admin-stat-label { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted2); margin-bottom: 6px; }
.admin-stat-val { font-family: 'Roboto Mono', monospace; font-size: 1.8rem; font-weight: 700; color: var(--text); letter-spacing: -0.04em; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .main-content { padding: 32px 22px; }
  .tool-layout { grid-template-columns: 1fr; }
  .page-header { padding: 40px 22px 36px; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  footer { padding: 32px 22px; flex-direction: column; align-items: flex-start; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; }
  .report-page { padding: 30px 22px; }
}

@media (max-width: 600px) {
  .tools-grid { grid-template-columns: 1fr; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .admin-stat-grid { grid-template-columns: 1fr; }
}
