/* حاسبة سعودي (hasibasaudi.com) — Clean Human Editorial Design System (RTL)
   Zero AI clutter • Crisp Paper Canvas • Calm Saudi Emerald Accent • Fast Mobile-First */

:root {
  --bg: #f9faf9;
  --surface: #ffffff;
  --surface-soft: #f3f5f4;
  --surface-tint: #eef6f2;
  --ink: #111815;
  --ink-2: #3c4a43;
  --muted: #66756d;
  --line: #e4e9e6;
  --line-strong: #cdd7d2;
  --brand: #0b6b49;
  --brand-hover: #085439;
  --accent: #b88326;
  --accent-soft: #faf5ea;
  --danger: #b42318;
  --danger-soft: #fef3f2;
  --success: #0b7a4b;
  --success-soft: #ecfdf3;
  --shadow-xs: 0 1px 2px rgba(16, 24, 20, 0.04);
  --shadow-sm: 0 2px 6px rgba(16, 24, 20, 0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --container: 1140px;
  --font: 'IBM Plex Sans Arabic', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif;
}

[data-theme="dark"] {
  --bg: #0f1412;
  --surface: #161d1a;
  --surface-soft: #1d2622;
  --surface-tint: #182b23;
  --ink: #eef3f0;
  --ink-2: #c1cec7;
  --muted: #8c9d94;
  --line: #27332d;
  --line-strong: #37483f;
  --brand: #25a777;
  --brand-hover: #2ec28b;
  --accent: #deb056;
  --accent-soft: #282216;
  --danger: #f97066;
  --danger-soft: #2c1615;
  --success: #34d399;
  --success-soft: #122920;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.2);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.28);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.field-group { display: contents; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 4px; }
.num, .result-main, td, .kpi-value, .cd-num { font-variant-numeric: tabular-nums; }

.ico {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: -0.22em;
  flex-shrink: 0;
}
.ico-sm { width: 15px; height: 15px; }
.ico-md { width: 20px; height: 20px; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.06rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-link:hover { color: var(--brand); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; }
.brand-sub { display: block; font-size: 0.7rem; font-weight: 500; color: var(--muted); line-height: 1.2; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.main-nav a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.87rem;
  padding: 7px 10px;
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--surface-soft); color: var(--ink); text-decoration: none; }
.main-nav a.active { background: var(--surface-tint); color: var(--brand); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--line-strong); color: var(--brand); background: var(--surface-soft); }
.menu-toggle { display: none; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 10px 16px 16px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.94rem;
  border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a.active { background: var(--surface-tint); color: var(--brand); text-decoration: none; }

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0 0 12px;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }

/* Hero — Clean & Immediate (Calculator starts above the fold!) */
.hero {
  padding: 24px 0 32px;
  background: var(--bg);
}
.hero-header { max-width: 780px; margin-bottom: 18px; }
h1 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.28;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--ink);
}
.hero-lead {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.68;
}

/* Calm Inline Payout Date Strip */
.countdown-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  margin-bottom: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--ink-2);
}
.countdown-left { display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.countdown-left .ico { color: var(--brand); }
.countdown-left strong { color: var(--ink); }
.countdown-inline-nums {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--brand);
  background: var(--surface-tint);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
}

/* Calculator Two-Column Grid */
.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 20px;
  align-items: start;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-xs);
}
.card-title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-title-left { display: inline-flex; align-items: center; gap: 8px; }
.card-title-left .ico { color: var(--brand); }

/* Tabs */
.tabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: var(--surface-soft);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.tab-btn {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 12px;
  border-radius: 7px;
  cursor: pointer;
}
.tab-btn.active {
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-xs);
}

/* Presets */
.preset-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.preset-chip {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 8px;
  cursor: pointer;
}
.preset-chip:hover { border-color: var(--brand); color: var(--brand); background: var(--surface-tint); }
.preset-chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Form Fields */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.field-hint { font-size: 0.76rem; font-weight: 400; color: var(--muted); }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap input, .field select, .field input[type="date"] {
  width: 100%;
  min-height: 45px;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 600;
}
.input-wrap input { padding-left: 56px; }
.input-unit {
  position: absolute;
  left: 10px;
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--muted);
  pointer-events: none;
}
.input-wrap input:focus, .field select:focus, .field input[type="date"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent);
}
.check-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink);
}
.check-card input { width: 17px; height: 17px; accent-color: var(--brand); flex-shrink: 0; }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 45px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; flex: 1 1 180px; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--surface-tint); }
.btn-sm { min-height: 36px; padding: 6px 13px; font-size: 0.84rem; }

/* Clean Human Editorial Result Sheet (Crisp White + Solid Emerald Top Rule — Zero AI Glow!) */
.result-card {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.result-eyebrow {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
.result-main {
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--brand);
}
.result-currency { font-size: 1rem; font-weight: 600; color: var(--ink-2); }
.result-subnote { font-size: 0.87rem; color: var(--muted); margin-bottom: 16px; }

.result-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.kpi-box {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 13px;
}
.kpi-label { font-size: 0.77rem; color: var(--muted); display: block; margin-bottom: 2px; }
.kpi-value { font-size: 1.02rem; font-weight: 700; color: var(--ink); }

.result-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.result-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  color: var(--ink-2);
  border: 1px solid var(--line-strong);
  min-height: 36px;
  padding: 5px 12px;
  font-size: 0.82rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}
.result-actions .btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--surface-tint); }

/* Breakdown Card */
.breakdown-card {
  margin-top: 14px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.breakdown-list { list-style: none; margin: 0; padding: 0; }
.breakdown-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.breakdown-list li span { color: var(--ink-2); }
.breakdown-list li:last-child { border-bottom: 0; font-weight: 700; font-size: 0.96rem; color: var(--brand); }
.breakdown-list li:last-child span { color: var(--brand); }

.bar-visual {
  display: flex;
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface-soft);
  margin: 10px 0 7px;
}
.bar-seg-net { background: var(--brand); transition: width .25s ease; }
.bar-seg-deduct { background: var(--accent); transition: width .25s ease; }
.bar-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.79rem; color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-left: 5px; vertical-align: middle; }

/* Subtle Related Action Strip */
.next-step-strip {
  margin-top: 12px;
  padding: 12px 15px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-2);
}
.next-step-strip strong { color: var(--ink); }
.next-step-strip a { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--brand); white-space: nowrap; }

/* Ad Containers (Hidden until AdSense ID set) */
.ad-slot-box {
  width: 100%;
  margin: 20px auto;
  padding: 10px 0 12px;
  border-block: 1px solid var(--line);
  text-align: center;
  direction: ltr;
  min-height: 110px;
}
.ad-slot-box::before {
  content: "إعلان";
  display: block;
  direction: rtl;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.ad-slot-box--result { min-height: 120px; margin-top: 18px; }
.ad-slot-box--inarticle { min-height: 260px; margin: 26px 0; }

/* Trust Line */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--muted);
}
.trust-item { display: inline-flex; align-items: center; gap: 6px; }
.trust-item .ico { color: var(--brand); }

/* Sections & Grids */
.section { padding: 44px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.section-head h2 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.58rem); line-height: 1.32; font-weight: 700; }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* Clean Human Tool Cards (No flashy tags or neon boxes!) */
.tool-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  color: var(--ink);
  transition: border-color .15s ease;
}
.tool-card:hover {
  border-color: var(--brand);
  color: var(--ink);
  text-decoration: none;
}
.tool-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.tool-card-head .ico { color: var(--brand); width: 20px; height: 20px; }
.tool-card h3 { margin: 0; font-size: 0.98rem; line-height: 1.38; font-weight: 700; }
.tool-card p { margin: 0; font-size: 0.85rem; color: var(--muted); flex: 1; line-height: 1.62; }
.tool-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  margin-top: 4px;
}

/* Blog Cards */
.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease;
}
.post-card:hover { border-color: var(--brand); }
.post-thumb {
  aspect-ratio: 16 / 9;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.post-meta { font-size: 0.78rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.post-body h3 { margin: 0; font-size: 0.99rem; line-height: 1.44; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--brand); text-decoration: none; }
.post-body p { margin: 0; font-size: 0.86rem; color: var(--muted); flex: 1; line-height: 1.62; }

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin: 16px 0;
}
table { width: 100%; border-collapse: collapse; min-width: 540px; }
th, td { padding: 11px 14px; text-align: right; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
th { background: var(--surface-soft); font-weight: 700; color: var(--ink); font-size: 0.86rem; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--surface-tint); }

/* Article Layout */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 26px;
  align-items: start;
  padding: 20px 0 52px;
}
.article-main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 36px);
}
.article-main h2 {
  font-size: 1.3rem;
  margin: 28px 0 11px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.article-main h2:first-of-type { border-top: 0; padding-top: 0; }
.article-main h3 { font-size: 1.06rem; margin: 20px 0 8px; color: var(--brand); }
.article-main p { margin: 0 0 14px; color: var(--ink-2); font-size: 0.99rem; line-height: 1.82; }
.article-main ul, .article-main ol { padding-right: 20px; margin: 0 0 15px; color: var(--ink-2); }
.article-main li { margin-bottom: 8px; line-height: 1.75; }
.article-hero-img {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  margin: 16px 0 22px;
  overflow: hidden;
}
.callout {
  padding: 15px 18px;
  border-radius: var(--radius-md);
  border-right: 3px solid var(--brand);
  background: var(--surface-soft);
  margin: 20px 0;
  color: var(--ink-2);
  font-size: 0.94rem;
}
.callout.warn { border-right-color: var(--accent); background: var(--accent-soft); }
.callout strong { display: block; margin-bottom: 4px; color: var(--ink); }

/* Clean E-E-A-T Author Bio Box */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  margin-top: 28px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line-strong);
  flex-shrink: 0;
}
.author-meta h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--ink);
}
.author-role {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 8px;
}
.author-meta p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.68;
  color: var(--ink-2);
}
.author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.83rem;
  font-weight: 600;
}
.byline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.byline-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}
.byline-author img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
@media (max-width: 600px) {
  .author-box { flex-direction: column; gap: 12px; }
}

.article-sidebar { position: sticky; top: 82px; display: flex; flex-direction: column; gap: 14px; }
.sidebar-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.sidebar-box h3 { margin: 0 0 10px; font-size: 0.94rem; color: var(--ink); }
.toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.toc-list a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  color: var(--ink-2);
  padding: 4px 6px;
  border-radius: 6px;
}
.toc-list a:hover { background: var(--surface-soft); color: var(--brand); text-decoration: none; }

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
  padding: 12px 18px 16px;
  color: var(--ink-2);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  line-height: 1.75;
}

/* Status Text */
.status-ok {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  background: var(--success-soft); color: var(--success); font-weight: 700; font-size: 0.84rem;
}
.status-no {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  background: var(--danger-soft); color: var(--danger); font-weight: 700; font-size: 0.84rem;
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 44px 0 24px;
  margin-top: 20px;
}
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 26px; }
.footer-col h4 { margin: 0 0 11px; font-size: 0.93rem; color: var(--ink); font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--muted); font-size: 0.88rem; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.filter-bar { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }

/* Responsive */
@media (max-width: 1040px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 980px) {
  .calc-layout, .article-wrap { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  .form-grid, .grid-4, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .card, .result-card { padding: 18px; }
  .result-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { min-height: 58px; }
}

@media print {
  .site-header, .site-footer, .ad-slot-box, .btn-row, .result-actions, .next-step-strip, .mobile-nav, .article-sidebar, .countdown-strip {
    display: none !important;
  }
  body { background: #fff; color: #000; }
  .result-card { border: 1.5px solid #0b6b49 !important; box-shadow: none !important; }
}
