:root {
  --bg: #f5f2ed;
  --surface: #fff;
  --card: #ffffff;
  --border: #e2ddd6;
  --border2: #ccc8c0;
  --ink: #1a1713;
  --ink2: #6b6560;
  --ink3: #9e9890;
  --accent: #e85d2f;
  --accent2: #2b6cb0;
  --accent3: #276749;
  --yellow: #f5a623;
  --shadow: 0 2px 8px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Cabinet Grotesk', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

/* NOISE TEXTURE */
body::after {
  content:'';
  position:fixed;
  inset:0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events:none;
  z-index:9999;
  opacity:.4;
}

/* AdSense overlays must not block navigation (file:// and live site) */
.google-vignette-background,
.google-vignette-container,
#google-vignette,
.google-anno-anchor,
.google-anchor-ad,
ins.adsbygoogle,
[id^="google_ads_iframe"],
iframe[src*="googlesyndication"],
iframe[src*="doubleclick"] {
  pointer-events: none !important;
}

header,
.hero,
.tool-nav-wrap,
footer {
  position: relative;
  z-index: 2;
}

/* ---- HEADER ---- */
header {
  background: var(--ink);
  color: #fff;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--accent);
}

.logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-box {
  background: var(--accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 18px;
}

.nav-categories {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 72vw;
}
.nav-cat {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 100px;
  padding: 5px 12px;
  color: rgba(255,255,255,0.7);
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.nav-cat:hover, .nav-cat.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.nav-cat.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}



.tnav-group[hidden] { display: none; }
.tnav-cat-title {
  padding: 14px 16px 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  background: #fef0eb;
}

/* ---- AD TOP ---- */
.ad-strip {
  background: #fffdf9;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  padding: 10px;
}
.ad-h { width:728px; max-width:100%; height:90px; border:1.5px dashed var(--border2); border-radius:6px; display:flex; align-items:center; justify-content:center; color:var(--ink3); font-family:'JetBrains Mono',monospace; font-size:11px; }
.ad-h::before { content:'[ Google AdSense — 728×90 leaderboard ]'; }

.ad-rect { width:300px; height:250px; border:1.5px dashed var(--border2); border-radius:8px; display:flex; align-items:center; justify-content:center; color:var(--ink3); font-family:'JetBrains Mono',monospace; font-size:10px; text-align:center; }
.ad-rect::before { content:'[ AdSense\A 300×250 ]'; white-space:pre; }

.legal-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 24px 24px 0;
}
.legal-details {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.55;
}
.legal-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}
.legal-details p { margin-top: 10px; }
.legal-details a { color: var(--accent); font-weight: 600; }

/* ---- HERO ---- */
.hero {
  padding: 52px 40px 40px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hero-left h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.0;
  margin-bottom: 12px;
}
.hero-left h1 mark {
  background: var(--accent);
  color: #fff;
  padding: 0 8px;
  border-radius: 4px;
  font-style: normal;
}
.hero-left p {
  color: var(--ink2);
  font-size: 16px;
  max-width: 480px;
  line-height: 1.6;
  font-weight: 500;
}
.hero-stats {
  display: flex;
  gap: 28px;
  flex-shrink: 0;
}
.stat-box {
  text-align: center;
}
.stat-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-lbl {
  font-size: 12px;
  color: var(--ink3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- TOOL NAV SIDEBAR ---- */
.tool-nav-wrap {
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px 24px 60px;
  display: grid;
  grid-template-columns: 190px 1fr 240px;
  gap: 16px;
  align-items: start;
}

.tool-nav {
  position: sticky;
  top: 74px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding-bottom: 8px;
}

.tnav-category {
  padding: 12px 16px 6px;
  font-size: 9px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink3);
  font-weight: 600;
}

.tnav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  width: 100%;
  background: none;
  border: none;
  border-radius: 0;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  box-shadow: none;
}
.tnav-btn:hover { background: var(--bg); color: var(--ink); }
.tnav-btn.active {
  background: #fef0eb;
  color: var(--accent);
  font-weight: 800;
  border-left: 3px solid var(--accent);
  padding-left: 13px;
}

.tnav-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* ---- LAYOUT (panels area only, no sidebar — that's in tool-nav-wrap) ---- */
.main-layout {
  display: contents;
}

.panels-area {
  min-width: 0;
  padding-bottom: 60px;
}

/* ---- TOOL PANELS ---- */
.tool-panel { display: none; }
.tool-panel.active { display: block; animation: panelIn .3s ease; }

@keyframes panelIn {
  from { opacity:0; transform:translateY(12px); }
  to   { opacity:1; transform:translateY(0); }
}

.tool-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: visible;
  box-shadow: var(--shadow-lg);
}

.tool-head {
  padding: 22px 28px;
  border-bottom: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #faf9f7 0%, #fff 100%);
}
.tool-head-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
}
.tool-head-title { font-size: 20px; font-weight: 800; letter-spacing: -0.4px; }
.tool-head-sub { font-size: 12px; color: var(--ink2); font-weight: 500; margin-top: 2px; }

.tool-body { padding: 22px 22px; }

/* FORM ELEMENTS */
label.lbl {
  display: block;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink2);
  margin-bottom: 7px;
}
input[type=number], input[type=text], input[type=range], select, textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .18s;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,93,47,0.08); }
input[type=number]::-webkit-inner-spin-button { display:none; }
input[type=range] { padding: 4px 0; background: none; border: none; box-shadow: none; cursor: pointer; }

.field { margin-bottom: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all .18s;
  border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #d44a1e; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(232,93,47,0.3); }
.btn-ghost { background: none; border: 1.5px solid var(--border); color: var(--ink2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 8px 16px; font-size: 12px; border-radius: 8px; }
.btn-full { width: 100%; }

/* RESULT BOXES */
.result-strip {
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.result-big { font-family: 'JetBrains Mono', monospace; font-size: clamp(20px,3vw,30px); font-weight: 500; color: #fff; }
.result-lbl { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 3px; }
.result-copy { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 7px 14px; color: rgba(255,255,255,0.8); font-size: 12px; cursor: pointer; font-family: 'Cabinet Grotesk',sans-serif; font-weight:700; transition:.18s; }
.result-copy:hover { background: rgba(255,255,255,0.18); }

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.result-cell {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
}
.result-cell .val { font-family: 'JetBrains Mono',monospace; font-size: 18px; font-weight: 500; color: var(--accent); }
.result-cell .lbl2 { font-size: 11px; color: var(--ink3); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.06em; }

/* COLOR BADGES */
.badge { display:inline-block; padding:3px 10px; border-radius:100px; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; }
.badge-green { background:#dcfce7; color:#166534; }
.badge-yellow { background:#fef9c3; color:#854d0e; }
.badge-red { background:#fee2e2; color:#991b1b; }
.badge-blue { background:#dbeafe; color:#1e40af; }

/* RANGE STYLED */
input[type=range] {
  -webkit-appearance: none;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  width: 100%;
  padding: 0;
  border: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(232,93,47,0.3);
}

/* PROGRESS BAR */
.progress-wrap { background: var(--border); border-radius: 4px; height: 8px; margin: 8px 0; overflow:hidden; }
.progress-fill { height: 100%; border-radius: 4px; transition: width .4s ease, background .4s; }

/* PASSWORD */
.pw-display {
  background: var(--ink);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.pw-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: #fff;
  word-break: break-all;
  line-height: 1.4;
  flex: 1;
}
.pw-strength {
  display: flex;
  gap: 4px;
  margin-top: 10px;
}
.pw-dot { flex:1; height:4px; border-radius:2px; background: var(--border); transition:.3s; }

/* CHECKBOXES */
.checkbox-group { display: flex; flex-wrap: wrap; gap: 8px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all .15s;
  user-select: none;
}
.checkbox-label:hover { border-color: var(--accent); }
.checkbox-label input { width:14px; height:14px; accent-color: var(--accent); }
.checkbox-label.checked { border-color: var(--accent); background: rgba(232,93,47,0.04); }

/* IMAGE DROP */
.drop-zone {
  border: 2px dashed var(--border2);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  background: var(--bg);
}
.drop-zone:hover, .drop-zone.dragover { border-color: var(--accent); background: rgba(232,93,47,0.03); }
.drop-icon { font-size: 40px; margin-bottom: 12px; }
.drop-text { font-size: 15px; font-weight: 700; color: var(--ink2); }
.drop-sub { font-size: 12px; color: var(--ink3); margin-top: 4px; }
#imgPreview { max-width: 100%; border-radius: 10px; border: 1.5px solid var(--border); margin-top: 16px; display:none; }

/* CURRENCY TABLE */
.currency-table { width:100%; border-collapse:collapse; margin-top:16px; }
.currency-table th { text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:0.07em; color:var(--ink3); padding:8px 12px; border-bottom:1.5px solid var(--border); font-family:'JetBrains Mono',monospace; }
.currency-table td { padding:10px 12px; border-bottom:1px solid var(--border); font-size:14px; }
.currency-table tr:hover td { background:var(--bg); }
.flag { margin-right: 6px; }
.rate-val { font-family:'JetBrains Mono',monospace; font-weight:500; color:var(--accent); }

/* BMI METER */
.bmi-meter {
  position:relative;
  height:20px;
  border-radius:10px;
  background: linear-gradient(to right, #3b82f6 0%, #22c55e 40%, #f59e0b 65%, #ef4444 100%);
  margin: 16px 0 8px;
  overflow:hidden;
}
.bmi-needle {
  position:absolute;
  top:-2px; bottom:-2px;
  width:3px;
  background:#1a1713;
  border-radius:2px;
  transition: left .5s ease;
  box-shadow: 0 0 0 2px #fff;
}
.bmi-labels { display:flex; justify-content:space-between; font-size:10px; color:var(--ink3); font-family:'JetBrains Mono',monospace; }

/* LOAN CHART */
.loan-bar-wrap { margin-top: 20px; }
.loan-bar-row { display:flex; align-items:center; gap:10px; margin-bottom:10px; font-size:13px; }
.loan-bar-fill { height:10px; border-radius:5px; }
.loan-bar-lbl { min-width:110px; color:var(--ink2); font-weight:600; }
.loan-bar-val { font-family:'JetBrains Mono',monospace; font-size:12px; color:var(--ink); margin-left:auto; }

/* SIDEBAR */
.sidebar { display:flex; flex-direction:column; gap:20px; position:sticky; top:82px; }

.side-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.side-title {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink3);
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.tip-row {
  display:flex; align-items:flex-start; gap:10px;
  padding:12px 16px;
  border-bottom:1px solid var(--border);
  font-size:12px; line-height:1.5; color:var(--ink2);
}
.tip-row:last-child { border:none; }
.tip-icon { font-size:16px; flex-shrink:0; }

/* BANK COMPARISON */
.bank-type-tabs { display:flex; gap:8px; margin-bottom:24px; }
.bank-type-tab { flex:1; padding:10px; border:1.5px solid var(--border); border-radius:10px; background:var(--surface); font-family:'Cabinet Grotesk',sans-serif; font-size:13px; font-weight:700; color:var(--ink2); cursor:pointer; text-align:center; transition:all .15s; }
.bank-type-tab.active { background:var(--ink); color:#fff; border-color:var(--ink); }

.bank-params { background:var(--bg); border:1.5px solid var(--border); border-radius:12px; padding:20px; margin-bottom:24px; }

.compare-table-wrap { overflow-x:auto; margin-bottom:28px; }
.compare-table { width:100%; border-collapse:collapse; }
.compare-table th { background:var(--ink); color:#fff; padding:9px 10px; font-size:10px; text-transform:uppercase; letter-spacing:0.06em; font-family:'JetBrains Mono',monospace; text-align:left; white-space:nowrap; }
.compare-table th:first-child { border-radius:10px 0 0 0; }
.compare-table th:last-child { border-radius:0 10px 0 0; }
.compare-table td { padding:10px 10px; border-bottom:1px solid var(--border); font-size:12px; vertical-align:middle; }
.compare-table tr:hover td { background:#faf9f7; }
.compare-table tr.best-row td { background:#f0fdf4; }
.compare-table tr.best-row td:first-child { border-left:3px solid #22c55e; }
.bank-logo-cell { display:flex; align-items:center; gap:10px; }
.bank-dot { width:32px; height:32px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:12px; color:#fff; flex-shrink:0; }
.best-badge { display:inline-block; background:#22c55e; color:#fff; font-size:9px; font-weight:800; padding:2px 6px; border-radius:100px; text-transform:uppercase; letter-spacing:0.08em; margin-left:6px; }
.wm-scenario-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(168px,1fr)); gap:10px; margin-bottom:4px; }
.wm-scenario-card { border:1.5px solid var(--border); border-radius:12px; padding:14px 14px 12px; cursor:pointer; background:var(--surface); transition:border-color .15s, box-shadow .15s, background .15s; }
.wm-scenario-card:hover { border-color:var(--accent); box-shadow:var(--shadow); }
.wm-scenario-card.active { border-color:var(--accent); background:#fffbeb; box-shadow:0 0 0 3px rgba(217,119,6,.15); }
.wm-scenario-card .wm-sc-icon { font-size:22px; margin-bottom:6px; }
.wm-scenario-card .wm-sc-title { font-size:13px; font-weight:800; color:var(--ink); line-height:1.35; margin-bottom:4px; }
.wm-scenario-card .wm-sc-desc { font-size:11px; color:var(--ink3); line-height:1.5; }
.wm-channel-card { background:var(--surface); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; }
.wm-channel-card strong { display:block; font-size:13px; margin-bottom:4px; color:var(--ink); }
.wm-channel-card span { font-size:12px; color:var(--ink2); line-height:1.6; }
.custom-bank-row { background:#fffdf9; }

.add-bank-form { background:var(--bg); border:1.5px dashed var(--border2); border-radius:12px; padding:20px; margin-bottom:24px; }
.add-bank-form .row4 { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }

/* BANK REVIEWS */
.bank-reviews-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; margin-top:4px; }
.bank-review-card { background:var(--surface); border:1.5px solid var(--border); border-radius:14px; overflow:hidden; box-shadow:var(--shadow); }
.brc-header { padding:16px 18px 12px; display:flex; align-items:center; gap:12px; border-bottom:1px solid var(--border); background:var(--bg); }
.brc-logo { width:40px; height:40px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:14px; color:#fff; flex-shrink:0; }
.brc-name { font-size:15px; font-weight:800; }
.brc-type { font-size:11px; color:var(--ink3); font-weight:500; }
.brc-body { padding:14px 18px; }
.star-row { display:flex; align-items:center; gap:8px; margin-bottom:8px; }
.stars { display:flex; gap:2px; }
.star { font-size:14px; }
.star-label { font-size:11px; color:var(--ink3); font-family:'JetBrains Mono',monospace; flex:1; }
.star-score { font-size:11px; font-weight:700; font-family:'JetBrains Mono',monospace; color:var(--ink); }
.brc-opinion { font-size:12px; color:var(--ink2); line-height:1.6; margin-top:12px; padding-top:12px; border-top:1px solid var(--border); }
.brc-verdict { display:inline-block; margin-top:10px; font-size:11px; font-weight:700; padding:4px 10px; border-radius:100px; }
.verdict-good { background:#dcfce7; color:#166534; }
.verdict-ok { background:#fef9c3; color:#854d0e; }
.verdict-bad { background:#fee2e2; color:#991b1b; }

.nav-cat { text-decoration: none; }
.tnav-btn { text-decoration: none; }
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
}
footer a { color: rgba(255,255,255,0.5); text-decoration:none; }
footer a:hover { color:#fff; }

@media(max-width:1200px) {
  .tool-nav-wrap { grid-template-columns: 190px 1fr; max-width:100%; }
  .sidebar { display:none; }
}
@media(max-width:720px) {
  .tool-nav-wrap { grid-template-columns: 1fr; padding: 0 16px; }
  .tool-nav { position:static; display:flex; flex-direction:row; flex-wrap:wrap; gap:4px; padding:10px; border-radius:12px; }
  .tnav-cat-title { display:none; }
  .tnav-group { display:contents; }
  .tnav-group[hidden] { display:none; }
  .tnav-category { display:none; }
  .tnav-divider { display:none; }
  .tnav-btn { width:auto; padding:6px 12px; font-size:12px; border-radius:100px; border:1.5px solid var(--border); background:var(--surface); border-left:1.5px solid var(--border); }
  .tnav-btn.active { background:var(--ink); color:#fff; border-color:var(--ink); padding-left:12px; }
  .sidebar { display:none; }
  .hero { flex-direction:column; align-items:flex-start; padding:32px 20px 24px; }
  .hero-stats { gap:16px; }
  header { padding: 0 16px; }
  .row2, .row3 { grid-template-columns:1fr; }
}
@media(max-width:900px) {
  header { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 10px; }
  .nav-categories { max-width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
}
@media(max-width:480px) {
  h1 { font-size:36px !important; }
  .nav-cat { font-size: 11px; padding: 5px 10px; }
}
