/* ==========================================================================
   HelYou24.com — Indian Income Tax Computation Platform
   Clean, High-Trust FinTech & Tax Editorial Design System
   Optimized for Core Web Vitals, Accessibility, Print A4 & AdSense Compliance
   ========================================================================== */

:root {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-navy: #0f2942;
  --bg-navy-light: #1e3a5f;
  --bg-navy-tint: #eef4fa;
  --accent: #0f766e;
  --accent-hover: #115e59;
  --accent-tint: #f0fdfa;
  --accent-border: #99f6e4;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;
  --amber-text: #92400e;
  --text-primary: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --border-strong: #cbd5e1;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-paper: 0 8px 28px rgba(15, 41, 66, 0.10);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  font-size: 15.5px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bg-navy);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-logo:hover {
  color: var(--bg-navy);
}

.brand-logo .domain-tld {
  color: var(--accent);
  font-weight: 700;
}

.brand-tagline {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: -2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--bg-navy);
  background-color: var(--bg-subtle);
}

.nav-cta {
  background-color: var(--bg-navy);
  color: #ffffff !important;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  margin-left: 6px;
}

.nav-cta:hover {
  background-color: var(--bg-navy-light);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  cursor: pointer;
  color: var(--bg-navy);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ==========================================================================
   Hero & Trust Strip
   ========================================================================== */
.hero-compact {
  background: linear-gradient(180deg, #ffffff 0%, #f1f6fb 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 26px 0 22px;
}

.hero-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-title {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--bg-navy);
  letter-spacing: -0.025em;
  line-height: 1.22;
  margin-bottom: 6px;
}

.hero-subtitle {
  color: var(--text-body);
  font-size: 0.96rem;
  max-width: 740px;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bg-navy);
  background-color: #ffffff;
  border: 1px solid var(--border-strong);
  padding: 4px 11px;
  border-radius: 999px;
}

.trust-pill svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   Pure JSON-to-Computation Upload & Result Studio
   ========================================================================== */
.workspace-section {
  padding: 26px 0 40px;
}

.upload-stage-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 2px dashed #64748b;
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.18s ease;
}

.upload-stage-card.dragover {
  border-color: var(--accent);
  background-color: var(--accent-tint);
  transform: translateY(-1px);
}

.upload-icon-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--bg-navy-tint);
  color: var(--bg-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.upload-stage-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--bg-navy);
  margin-bottom: 6px;
}

.upload-stage-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 20px;
}

.result-stage {
  max-width: 880px;
  margin: 0 auto;
}

.options-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.inline-edit-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.inline-edit-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bg-navy);
}

.inline-edit-group input[type="text"] {
  padding: 6px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.84rem;
  min-width: 220px;
}

.studio-grid {
  display: block;
}

/* Editor Panel */
.editor-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.panel-header {
  background: var(--bg-navy);
  color: #ffffff;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-header h2 {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* JSON Dropzone */
.json-upload-box {
  margin: 14px;
  padding: 15px;
  border: 1.5px dashed #64748b;
  border-radius: var(--radius-md);
  background-color: var(--bg-navy-tint);
  text-align: center;
  transition: all 0.15s ease;
}

.json-upload-box.dragover {
  border-color: var(--accent);
  background-color: var(--accent-tint);
}

.json-upload-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bg-navy);
  margin-bottom: 4px;
}

.json-upload-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.upload-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
}

.btn-navy {
  background-color: var(--bg-navy);
  color: #ffffff;
}

.btn-navy:hover {
  background-color: var(--bg-navy-light);
  color: #ffffff;
}

.btn-outline {
  background-color: #ffffff;
  color: var(--bg-navy);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
}

.btn-sm {
  padding: 6px 10px;
  font-size: 0.78rem;
}

.status-toast {
  margin: 0 14px 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  display: none;
}

.status-toast.show {
  display: block;
}

.status-toast.success {
  background-color: var(--accent-tint);
  color: #065f46;
  border: 1px solid var(--accent-border);
}

.status-toast.error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Assessment Year Switcher Tabs */
.ay-tabs-wrap {
  padding: 0 14px 12px;
  border-bottom: 1px solid var(--border-light);
}

.ay-tabs-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}

.ay-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.ay-tab {
  padding: 8px 6px;
  border: 1px solid var(--border-strong);
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.ay-tab span {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
}

.ay-tab.active {
  background: var(--bg-navy);
  color: #ffffff;
  border-color: var(--bg-navy);
}

.ay-tab.active span {
  color: #cbd5e1;
}

/* Multi-Year Auto Scaling Box */
.auto-scale-box {
  margin: 12px 14px;
  padding: 11px 12px;
  background-color: var(--amber-bg);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-sm);
}

.auto-scale-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber-text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scale-controls {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.scale-controls select,
.scale-controls input {
  padding: 5px 8px;
  border: 1px solid #d97706;
  border-radius: 4px;
  font-size: 0.78rem;
  font-family: inherit;
  background: #ffffff;
}

/* Accordion Sections inside Editor */
.form-accordion {
  border-top: 1px solid var(--border-light);
}

.acc-item {
  border-bottom: 1px solid var(--border-light);
}

.acc-trigger {
  width: 100%;
  background: #ffffff;
  border: none;
  padding: 11px 14px;
  text-align: left;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--bg-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.acc-trigger:hover {
  background-color: var(--bg-subtle);
}

.acc-body {
  padding: 4px 14px 14px;
  display: none;
}

.acc-item.open .acc-body {
  display: block;
}

.acc-arrow {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.15s ease;
}

.acc-item.open .acc-arrow {
  transform: rotate(180deg);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.field-full {
  grid-column: 1 / -1;
}

.field-group label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 3px;
}

.field-group input,
.field-group select {
  width: 100%;
  padding: 7px 9px;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.83rem;
  color: var(--text-primary);
  background-color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.field-group input:focus,
.field-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.14);
}

.mono-input {
  font-family: var(--font-mono) !important;
  text-transform: uppercase;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

.toggle-row label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  margin: 0;
}

.toggle-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* ==========================================================================
   Right Panel — Live A4 CA Computation Preview
   ========================================================================== */
.preview-panel {
  min-width: 0;
}

.preview-toolbar {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 11px 15px;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 72px;
  z-index: 40;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.toolbar-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bg-navy);
  background: var(--bg-navy-tint);
  border: 1px solid #bfdbfe;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.paper-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.a4-sheet {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-paper);
  padding: 26px 30px;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  color: #111827;
  font-size: 12.2px;
  line-height: 1.36;
  font-variant-numeric: tabular-nums;
  overflow-x: auto;
}

/* CA Sheet Styles inside Preview */
.ca-doc-header {
  border: 1.5px solid #1e3a5f;
  background-color: #f4f7fb;
  padding: 8px 12px;
  margin-bottom: 10px;
}

.ca-doc-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 5px;
  margin-bottom: 5px;
  gap: 8px;
}

.ca-doc-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f2942;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.ca-ay-badge {
  font-size: 12px;
  font-weight: 700;
  color: #0f2942;
  background: #e2e8f0;
  padding: 2px 9px;
  border: 1px solid #94a3b8;
  white-space: nowrap;
}

.ca-doc-sub {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #334155;
  flex-wrap: wrap;
  gap: 6px;
}

.ca-info-grid {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
  font-size: 11.4px;
}

.ca-info-grid td {
  border: 1px solid #94a3b8;
  padding: 4px 7px;
  vertical-align: middle;
}

.ca-info-grid td.lbl {
  background-color: #f8fafc;
  font-weight: 700;
  color: #1e293b;
  width: 18%;
  white-space: nowrap;
}

.ca-info-grid td.val {
  width: 32%;
  color: #0f172a;
}

.ca-sec-bar {
  background-color: #1e3a5f;
  color: #ffffff;
  font-weight: 700;
  font-size: 11.5px;
  padding: 4.5px 9px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-top: 8px;
}

.ca-sub-bar {
  background-color: #e8eef5;
  color: #0f2942;
  font-weight: 700;
  font-size: 11.4px;
  padding: 5px 9px;
  border: 1px solid #94a3b8;
  border-bottom: none;
  margin-top: 12px;
  text-transform: uppercase;
}

.ca-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.ca-table th {
  background-color: #e8eef5;
  color: #0f2942;
  border: 1px solid #64748b;
  padding: 5px 8px;
  font-weight: 700;
  text-align: left;
}

.ca-table td {
  border-left: 1px solid #94a3b8;
  border-right: 1px solid #94a3b8;
  border-bottom: 1px solid #e2e8f0;
  padding: 4px 8px;
}

.ca-table tr.head-row td {
  background-color: #f8fafc;
  font-weight: 700;
  color: #0f2942;
  border-top: 1px solid #94a3b8;
  border-bottom: 1px solid #cbd5e1;
}

.ca-table tr.indent td:first-child {
  padding-left: 22px;
}

.ca-table tr.indent2 td:first-child {
  padding-left: 34px;
  color: #334155;
  font-size: 11px;
}

.ca-table tr.subtotal td {
  font-weight: 700;
  background-color: #f8fafc;
  border-top: 1px solid #64748b;
  border-bottom: 1px solid #64748b;
}

.ca-table tr.grandtotal td {
  font-weight: 800;
  font-size: 12.2px;
  background-color: #e8eef5;
  color: #0f2942;
  border-top: 1.5px solid #1e3a5f;
  border-bottom: 3px double #1e3a5f;
  padding-top: 6px;
  padding-bottom: 6px;
}

.ca-sched {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.3px;
}

.ca-sched th {
  background-color: #f1f5f9;
  color: #1e293b;
  border: 1px solid #94a3b8;
  padding: 5px 7px;
  font-weight: 700;
}

.ca-sched td {
  border: 1px solid #94a3b8;
  padding: 4.5px 7px;
}

.ca-sched tr.tot td {
  font-weight: 700;
  background-color: #f8fafc;
}

.ca-cont-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1.5px solid #1e3a5f;
  padding-bottom: 5px;
  margin-bottom: 8px;
  font-size: 11.4px;
  font-weight: 700;
  color: #0f2942;
  flex-wrap: wrap;
}

.ca-verif {
  border: 1px solid #64748b;
  background-color: #fafbfc;
  padding: 11px 13px;
  margin-top: 14px;
  font-size: 11.2px;
  line-height: 1.45;
}

.ca-verif-title {
  font-weight: 700;
  color: #0f2942;
  text-transform: uppercase;
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 3px;
  margin-bottom: 6px;
}

.ca-sig-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 24px;
}

.ca-sheet-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 6px;
  border-top: 1px solid #e2e8f0;
  font-size: 10.5px;
  color: #64748b;
}

.r { text-align: right !important; }
.c { text-align: center !important; }
.l { text-align: left !important; }
.bold { font-weight: 700 !important; }

/* ==========================================================================
   Editorial Content, Tables, Callouts & FAQs (SEO & AdSense Value)
   ========================================================================== */
.content-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 48px 0;
}

.page-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f1f6fb 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 36px 0 30px;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.breadcrumb a {
  color: var(--text-body);
  font-weight: 500;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--bg-navy);
  letter-spacing: -0.025em;
  line-height: 1.22;
  margin-bottom: 8px;
}

.meta-byline {
  font-size: 0.83rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.prose {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.72;
}

.prose h2 {
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--bg-navy);
  margin: 32px 0 12px;
  letter-spacing: -0.015em;
}

.prose h3 {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 22px 0 8px;
}

.prose p {
  margin-bottom: 14px;
}

.prose ul, .prose ol {
  margin: 0 0 16px 22px;
}

.prose li {
  margin-bottom: 7px;
}

.editorial-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 22px 0 28px;
}

.feature-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}

.feature-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--bg-navy);
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin: 0;
}

.data-table-wrap {
  overflow-x: auto;
  margin: 18px 0 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.data-table th {
  background: var(--bg-navy);
  color: #ffffff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
}

.data-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border-light);
  background: #ffffff;
}

.data-table tr:nth-child(even) td {
  background: var(--bg-page);
}

.callout-box {
  background: var(--bg-navy-tint);
  border-left: 4px solid var(--bg-navy);
  padding: 15px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-size: 0.93rem;
}

/* FAQ Accordion */
.faq-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #ffffff;
  overflow: hidden;
}

.faq-item summary {
  padding: 14px 18px;
  font-weight: 700;
  color: var(--bg-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 18px 15px;
  color: var(--text-body);
  font-size: 0.94rem;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

/* Contact Page Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  margin-top: 18px;
}

.card-box {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.contact-form .form-row {
  margin-bottom: 14px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-navy);
  color: #cbd5e1;
  padding: 44px 0 26px;
  margin-top: auto;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: inline-block;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1060px) {
  .studio-grid {
    grid-template-columns: 1fr;
  }
  .preview-toolbar {
    position: static;
  }
  .editorial-grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .mobile-menu-btn {
    display: inline-block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-strong);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open {
    display: flex;
  }
  .nav-cta {
    margin-left: 0;
    text-align: center;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .a4-sheet {
    padding: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Print A4 Mode — Prints ONLY the Clean 2-Page Computation Sheet
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 10mm 11mm;
  }
  body {
    background: #ffffff !important;
  }
  .site-header,
  .hero-compact,
  .upload-stage-card,
  .options-bar,
  .editor-panel,
  .preview-toolbar,
  .content-section,
  .site-footer {
    display: none !important;
  }
  .workspace-section,
  .container,
  .studio-grid,
  .preview-panel {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    display: block !important;
  }
  .paper-stack {
    gap: 0 !important;
  }
  .a4-sheet {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    max-width: 100% !important;
    page-break-after: always;
  }
  .a4-sheet:last-child {
    page-break-after: auto;
  }
}

/* ==========================================================================
   SEO Table of Contents, E-E-A-T Byline, Cookie Consent & PDF Viewer Modal
   ========================================================================== */
.eeat-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin: 16px 0 22px;
  font-size: 0.82rem;
  color: #475569;
}

.eeat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
}

.toc-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #0f766e;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 22px 0 28px;
}

.toc-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f2942;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.toc-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 6px 24px;
  font-size: 0.88rem;
}

.toc-list a {
  color: #0f4c81;
  text-decoration: none;
  font-weight: 600;
}

.toc-list a:hover {
  color: #0f766e;
  text-decoration: underline;
}

.example-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 20px 22px;
  margin: 20px 0;
  box-shadow: 0 1px 3px rgba(15, 41, 66, 0.05);
}

.example-card h3 {
  margin-top: 0 !important;
  color: #0f2942;
}

/* Cookie Consent Banner (AdSense GDPR / Consent Compliance) */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 960px;
  margin: 0 auto;
  background: #0f2942;
  color: #f8fafc;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 14px 20px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 9990;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.35);
  font-size: 0.84rem;
  line-height: 1.5;
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner a {
  color: #5eead4;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-actions {
    justify-content: flex-end;
  }
}

/* In-Page PDF Viewer Modal */
.pdf-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.pdf-modal-backdrop.open {
  display: flex;
}

.pdf-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 980px;
  height: 90vh;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.pdf-modal-header {
  background: #0f2942;
  color: #ffffff;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pdf-modal-title {
  font-weight: 700;
  font-size: 0.92rem;
}

.pdf-modal-frame {
  flex: 1;
  width: 100%;
  border: none;
  background: #cbd5e1;
}

/* ==========================================================================
   Financial Calculators (EMI, SIP, SWP) & CMA Data Maker Studio Styles
   ========================================================================== */
.calc-hub-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 41, 66, 0.06);
  overflow: hidden;
  max-width: 1080px;
  margin: 0 auto;
}

.calc-tabs {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid #cbd5e1;
  overflow-x: auto;
}

.calc-tab-btn {
  flex: 1;
  min-width: 175px;
  padding: 15px 18px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.calc-tab-btn:hover {
  color: #0f2942;
  background: #e2e8f0;
}

.calc-tab-btn.active {
  background: #ffffff;
  color: #0f766e;
  border-bottom-color: #0f766e;
}

.calc-pane {
  display: none;
  padding: 26px;
}

.calc-pane.active {
  display: block;
}

.preset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.preset-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #1e293b;
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-pill:hover {
  border-color: #0f766e;
  color: #0f766e;
}

.preset-pill.active {
  background: #0f2942;
  color: #ffffff;
  border-color: #0f2942;
}

.calc-two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 860px) {
  .calc-two-col {
    grid-template-columns: 1fr;
  }
  .calc-pane {
    padding: 18px;
  }
}

.slider-field {
  margin-bottom: 18px;
}

.slider-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.slider-head label {
  font-size: 0.87rem;
  font-weight: 700;
  color: #1e293b;
}

.num-input-box {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 10px;
  gap: 5px;
}

.num-input-box:focus-within {
  border-color: #0f766e;
  background: #ffffff;
}

.num-input-box span {
  font-size: 0.84rem;
  font-weight: 700;
  color: #64748b;
}

.num-input-box input {
  border: none;
  background: transparent;
  width: 112px;
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f2942;
  outline: none;
}

.range-slider {
  width: 100%;
  accent-color: #0f766e;
  cursor: pointer;
  height: 6px;
}

.result-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
}

.primary-kpi {
  text-align: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed #cbd5e1;
}

.primary-kpi-lbl {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
}

.primary-kpi-val {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.95rem;
  font-weight: 800;
  color: #0f766e;
  margin-top: 4px;
}

.kpi-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.kpi-mini {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 13px;
}

.kpi-mini-lbl {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
}

.kpi-mini-val {
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  font-weight: 700;
  color: #0f2942;
  margin-top: 3px;
}

.split-bar-track {
  height: 12px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  display: flex;
  margin: 10px 0 8px;
}

.split-bar-p {
  background: #0f2942;
  height: 100%;
  transition: width 0.25s ease;
}

.split-bar-i {
  background: #0f766e;
  height: 100%;
  transition: width 0.25s ease;
}

.split-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 16px;
}

.dot-navy,
.dot-teal {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 5px;
}
.dot-navy { background: #0f2942; }
.dot-teal { background: #0f766e; }

.schedule-box {
  margin-top: 26px;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.schedule-scroll {
  max-height: 430px;
  overflow: auto;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
  font-variant-numeric: tabular-nums;
}

.schedule-table thead th {
  position: sticky;
  top: 0;
  background: #0f2942;
  color: #ffffff;
  padding: 10px 12px;
  text-align: right;
  font-weight: 700;
  z-index: 2;
}

.schedule-table thead th:first-child,
.schedule-table tbody td:first-child {
  text-align: left;
}

.schedule-table tbody td {
  padding: 8px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: right;
  color: #1e293b;
}

.schedule-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

/* CMA Data Maker Studio Grid */
.cma-studio-wrap {
  max-width: 1140px;
  margin: 0 auto;
}

.cma-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(15, 41, 66, 0.04);
}

.cma-card-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f2942;
  margin: 0 0 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cma-input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 13px;
}

.cma-year-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.cma-year-table th {
  background: #1e3a5f;
  color: #ffffff;
  padding: 9px 10px;
  text-align: right;
  font-weight: 700;
}

.cma-year-table th:first-child {
  text-align: left;
  width: 34%;
}

.cma-year-table td {
  border: 1px solid #cbd5e1;
  padding: 6px 8px;
  text-align: right;
}

.cma-year-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #1e293b;
  background: #f8fafc;
}

.cma-year-table input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 5px 7px;
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.83rem;
  color: #0f2942;
}

.cma-year-table input:focus {
  border-color: #0f766e;
  outline: none;
  background: #f0fdfa;
}

.hub-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.hub-tool-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.hub-tool-card:hover {
  border-color: #0f766e;
  transform: translateY(-2px);
}

/* ============================================================================
   v6 SYSTEMATIC SILO ARCHITECTURE, BREADCRUMBS & MULTI-TOOL ORGANIZATION
   ============================================================================ */
.breadcrumb-bar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 0;
  font-size: 0.8rem;
  color: #64748b;
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb-trail a {
  color: #0f2942;
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb-trail a:hover {
  color: #0f766e;
  text-decoration: underline;
}

.silo-badge-pill {
  background: #ecfdf5;
  color: #0f766e;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.74rem;
  font-weight: 700;
}

/* Categorized Tool Directory on Home Page */
.silo-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 960px) {
  .silo-directory-grid {
    grid-template-columns: 1fr;
  }
}

.silo-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 3px 12px rgba(15, 41, 66, 0.04);
}

.silo-box-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.silo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #0f2942;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.silo-box-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f2942;
  margin: 0;
}

.silo-box-sub {
  font-size: 0.76rem;
  color: #64748b;
  margin: 0;
}

.silo-tool-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.silo-tool-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f2942;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  transition: all 0.15s ease;
}

.silo-tool-link:hover {
  background: #f0fdfa;
  border-color: #0f766e;
  color: #0f766e;
}

.silo-tool-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  white-space: nowrap;
}

/* Grouped Calculator Switcher (Systematic Category Bar) */
.calc-group-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  align-items: center;
  justify-content: space-between;
}

.calc-group-cluster {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.calc-group-label {
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #64748b;
  margin-right: 4px;
}

.subtool-btn {
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  font-size: 0.83rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.subtool-btn:hover {
  border-color: #0f2942;
  color: #0f2942;
}

.subtool-btn.active {
  background: #0f2942;
  color: #ffffff;
  border-color: #0f2942;
  box-shadow: 0 2px 8px rgba(15, 41, 66, 0.18);
}

/* Old vs New Tax Regime Side-by-Side Comparison */
.regime-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

@media (max-width: 640px) {
  .regime-compare-grid {
    grid-template-columns: 1fr;
  }
}

.regime-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 14px;
}

.regime-card.recommended {
  border-color: #0f766e;
  background: #f0fdfa;
}

.winner-banner {
  background: #0f2942;
  color: #ffffff;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* On-Page Systematic Jump Navigation */
.jump-nav-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.jump-nav-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f2942;
  margin-right: 4px;
}

.jump-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f2942;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 4px 11px;
  text-decoration: none;
}

.jump-pill:hover {
  border-color: #0f766e;
  color: #0f766e;
  background: #f0fdfa;
}

/* Bank Loan Document Checklist Cards */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

@media (max-width: 720px) {
  .checklist-grid {
    grid-template-columns: 1fr;
  }
}

.checklist-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 15px 16px;
}

.checklist-card h3 {
  margin: 0 0 8px !important;
  font-size: 0.96rem !important;
  color: #0f2942;
}

.checklist-card ul {
  margin: 0 !important;
  padding-left: 18px !important;
  font-size: 0.85rem;
  line-height: 1.55;
}

/* ============================================================================
   v7 ZERO-BACKLINK FEATURED SNIPPET BOXES & HIGH-RPM ADSENSE ZERO-CLS SLOTS
   ============================================================================ */
.snippet-answer-box {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-left: 4px solid #0f766e;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 14px 0 20px;
  font-size: 0.94rem;
  line-height: 1.62;
  color: #0f172a;
}

.snippet-answer-box strong {
  color: #0f2942;
}

/* AdSense High-Viewability Zero-CLS Placement Container
   Remains 100% hidden (`hidden` attribute) during initial AdSense site review so
   zero empty space appears; remove `hidden` after approval for max RPM & 0.00 CLS. */
.ad-slot-zone[hidden] {
  display: none !important;
}

.ad-slot-zone {
  margin: 30px auto;
  max-width: 970px;
  min-height: 280px;
  padding: 10px 12px 14px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ad-slot-label {
  font-size: 0.66rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
  font-weight: 600;
}

/* Internal PageRank Mesh Strip (Replaces Need for External Backlinks) */
.internal-mesh-box {
  margin-top: 32px;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
}

.internal-mesh-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f2942;
  margin: 0 0 12px;
}

.internal-mesh-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.internal-mesh-links a {
  display: block;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #0f2942;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.internal-mesh-links a:hover {
  border-color: #0f766e;
  background: #f0fdfa;
  color: #0f766e;
}




