/* =====================================================================
   Likteņa matricas kalkulators — dizains 1:1 pēc paraugs.png
   Gaišā tēma (krēms/balts/indigo), kā blmatrica.lv references.
   ===================================================================== */

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

/* GIF kā caurspīdīgs fons VIRSŪ hero tekstam (maģijas efekts) */
.hero-gif-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;        /* aizpilda hero joslu pilnā platumā */
  opacity: 0.4;             /* caurspīdīgs (mobilais) */
  pointer-events: none;
  z-index: 2;               /* virs teksta */
}
@media (min-width: 769px) {
  .hero-gif-bg { opacity: 0.22; }   /* desktopā maigāks */
}

:root {
  --accent: #4841df;       /* indigo akcents */
  --ink: #1a1a1a;
  --muted: #555;
  --hero-bg: #eae6e0;      /* krēmkrāsas augšdaļa */
  --line: #000;
  --cta-bg: #e3e0db;
}

body {
  font-family: "Montserrat", -apple-system, Arial, sans-serif;
  background: #fff;
  color: var(--ink);
  line-height: 1.5;
}

/* ---- Augšējā navigācija ---- */
.calc-topnav {
  background: var(--hero-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
}
.calc-topnav .brand {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid #c9c4ba; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--muted);
}
.calc-topnav .nav-right { display: flex; gap: 1.5rem; font-size: 0.9rem; }
.calc-topnav .nav-right a { color: var(--ink); text-decoration: none; }
.calc-topnav .nav-right a:hover { color: var(--accent); }

/* ---- Hero (virsraksts) — centrēts, fons 100% platuma, GIF virsū ---- */
.calc-hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  text-align: center;
  padding: 3.5rem 1.5rem;
}
.hero-text {
  position: relative;
  z-index: 1;              /* aiz GIF (GIF caurspīdīgs virsū) */
}
.calc-hero h1 {
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.calc-hero p { font-size: 1.05rem; color: var(--muted); margin-top: 0.6rem; }

/* ---- Galvenais konteiners (2 kolonnas) ---- */
.calc-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: center;
}
.calc-left { flex: 0 0 auto; }
.calc-right { flex: 1; max-width: 480px; min-width: 340px; }

/* ---- Ievades lauki ---- */
.calc-inputs { margin-bottom: 1rem; }
.calc-input-row { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.4rem; }
.calc-input-row label { color: var(--accent); font-weight: 700; font-size: 0.95rem; min-width: 130px; }
.calc-input-row input {
  border: none;
  border-bottom: 2px solid var(--accent);
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 700;
  color: var(--ink);
  padding: 2px 4px;
  outline: none;
  background: transparent;
  width: 130px;
}
.calc-input-row input::placeholder { font-weight: 400; color: #aaa; }
.calc-input-row .age-box { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--accent); min-width: 50px; padding: 2px 4px; }

/* ---- SVG matrica ---- */
.matrix-svg { width: 560px; max-width: 100%; height: auto; display: block; }
.matrix-svg text.val { font-family: Arial, sans-serif; font-weight: 700; text-anchor: middle; dominant-baseline: central; fill: #000; }
.matrix-svg text.age { font-family: Arial, sans-serif; fill: #333; }

/* ---- Apakšējie skaitļi (dzimtas spēks, kods, mērķi) ---- */
.calc-bottom { margin-top: 1.5rem; }
.calc-bottom-row { display: flex; gap: 2.5rem; align-items: baseline; margin-bottom: 1.2rem; flex-wrap: wrap; }
.calc-bottom-row .lbl { font-weight: 700; }
.calc-bottom-row .val { border-bottom: 1.5px solid #000; min-width: 60px; text-align: center; font-weight: 700; padding: 0 6px; }

.goals { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.goal-col { font-size: 0.85rem; }
.goal-col .goal-title { color: var(--accent); font-weight: 700; margin-bottom: 0.6rem; line-height: 1.3; }
.goal-pair { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.goal-pair .pair-lbl { font-weight: 700; min-width: 46px; }
.circle-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #000;
  font-weight: 700; font-size: 0.95rem;
}
.goal-pair-brace { display: flex; align-items: center; gap: 0.4rem; }
.goal-result { margin-left: 0.3rem; }

/* ---- Veselības karte (tabula, gaišā tēma 1:1 pēc references) ---- */
.health-title { color: var(--accent); font-weight: 700; font-size: 1.7rem; text-align: center; margin-bottom: 1.2rem; letter-spacing: 0.02em; }
.health-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  font-family: inherit;
}
/* Noapaļotie stūri bez overflow:hidden (lai tooltip var izkļūt ārpus tabulas) */
.health-table thead th:first-child { border-top-left-radius: 6px; }
.health-table thead th:last-child  { border-top-right-radius: 6px; }
.health-table tr.total td:first-child { border-bottom-left-radius: 6px; }
.health-table tr.total td:last-child  { border-bottom-right-radius: 6px; }

/* Galvene */
.health-table thead th {
  background: #f2f2f4; color: #2b2b2b; font-weight: 600;
  font-size: 0.95rem; text-align: left; padding: 1rem 0.9rem;
  border-bottom: 1px solid #e3e3e6;
}
.health-table thead th.hc-num { text-align: center; }
.health-table thead th.hc-bar { width: 6px; padding: 0; }

/* Krāsainā kreisās malas josla ar numuru */
.hc-bar {
  width: 34px; padding: 0; text-align: center; vertical-align: middle;
  color: #fff; font-weight: 700; font-size: 1rem;
}

/* Čakras nosaukums + apraksts */
.hc-name { padding: 0.85rem 0.9rem; vertical-align: middle; }
.ch-title { display: block; font-weight: 700; font-size: 1.02rem; color: #1f1f24; }
.ch-help {
  position: relative;
  display: inline-block; margin-left: 0.35rem; width: 1.05em; height: 1.05em;
  line-height: 1.05em; text-align: center; border-radius: 50%;
  border: 1.5px solid currentColor; font-size: 0.72rem; font-weight: 700;
  vertical-align: middle; cursor: help;
}

/* Tooltip — balta kaste ar ēnu un bultiņu (kā references) */
.ch-tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 240px;
  background: #fff; color: #2b2b2b;
  font-size: 0.92rem; font-weight: 400; line-height: 1.4; text-align: left;
  padding: 0.85rem 1rem; border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 50;
}
/* Bultiņa apakšā, kas norāda uz ikonu */
.ch-tip::after {
  content: ""; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent; border-top-color: #fff;
  filter: drop-shadow(0 3px 2px rgba(0,0,0,0.06));
}
/* Rādīšana: hover (desktops) vai .open klase (pieskāriens, JS pārvaldīts) */
.ch-help:hover .ch-tip,
.ch-help.open .ch-tip {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.ch-sub { display: block; font-size: 0.84rem; color: #8b8b92; margin-top: 0.15rem; }

/* Skaitļu kolonnas */
.hc-num {
  text-align: center; vertical-align: middle; font-size: 1.25rem;
  color: #2b2b2b; padding: 0.85rem 0.6rem;
}

/* Rindas + zebra */
.health-table tbody tr { border-bottom: 1px solid #ececef; }
.health-table tbody tr:nth-child(even) { background: #f6f6f8; }
.health-table tbody tr:nth-child(odd)  { background: #ffffff; }

/* KOPĀ (Result) rinda */
.health-table tr.total { background: #f2f2f4; border-top: 2px solid #d9d9dd; }
.health-table tr.total .hc-bar { background: #c2c2c8; }
.health-table tr.total .hc-num { font-weight: 700; }

/* ---- CTA bloks ---- */
.calc-cta {
  max-width: 760px; margin: 1rem auto 4rem; background: var(--cta-bg);
  text-align: center; padding: 3rem 2rem; border-radius: 2px;
}
.calc-cta p { font-size: 1.05rem; color: #333; margin: 0.3rem 0; }
.calc-cta .cta-btn {
  display: inline-block; margin-top: 1.5rem; padding: 0.9rem 2rem;
  border: 1px solid #999; border-radius: 30px; color: #333; text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; background: #f0eeea;
  transition: background 0.15s;
}
.calc-cta .cta-btn:hover { background: #fff; }

/* ---- PDF poga ---- */
.pdf-row { text-align: center; margin: 1.5rem 0; }
.pdf-btn {
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  padding: 0.8rem 2rem; font-size: 0.95rem; font-family: inherit; cursor: pointer;
  border-radius: 2px; transition: 0.2s;
}
.pdf-btn:hover { background: transparent; color: var(--accent); }

/* ---- Atvērto jautājumu piezīme ---- */
.calc-note { max-width: 1180px; margin: 0 auto 2rem; padding: 0 1.5rem; font-size: 0.8rem; color: #999; }

/* =====================================================================
   PAPILDU FUNKCIJAS — paaudžu līnijas + mērķu kartītes
   Skaitļi nāk no matrica-core.js (verificēti); UI nosaukumi no MATRIX_TASK.md.
   ===================================================================== */
.extra { max-width: 1180px; margin: 0 auto 3rem; padding: 0 1.5rem; }
.extra-title {
  color: var(--accent); font-weight: 700; font-size: 1.5rem;
  text-align: center; margin-bottom: 2rem; letter-spacing: 0.01em;
}

/* Kopīgs aplis (energy circle) */
.ec {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--ink);
  font-weight: 700; font-size: 1.05rem; flex: 0 0 auto;
}
.ec-result {
  width: 52px; height: 52px; font-size: 1.2rem;
  border-width: 2px; background: #f3f2ff;
}

/* Paaudžu līnijas */
.gen-lines {
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center; margin-bottom: 2.5rem;
}
.gen-row { display: flex; align-items: center; gap: 1.2rem; }
.gen-label { font-weight: 700; min-width: 130px; text-align: right; color: var(--muted); }
.gen-circles { display: flex; gap: 0.8rem; }

/* Mērķu kartītes — atsaucīgs grid */
.goal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.goal-card {
  background: #fff; border: 1px solid #ececef; border-radius: 10px;
  padding: 1.3rem 1.2rem; box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: flex; flex-direction: column;
}
.gc-head { font-size: 0.8rem; color: var(--accent); font-weight: 700; letter-spacing: 0.03em; }
.gc-name { font-size: 1.15rem; font-weight: 700; margin: 0.2rem 0 1rem; color: var(--ink); }

.gc-pair { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.4rem; }
.gc-pair-center { justify-content: center; padding: 0.4rem 0; }
.gc-inputs { display: flex; flex-direction: column; gap: 0.5rem; }
.gc-in { display: flex; align-items: center; gap: 0.6rem; }
.gc-in-lbl { font-weight: 700; font-size: 0.85rem; min-width: 56px; color: var(--muted); }
.gc-arrow { font-size: 1.4rem; color: var(--accent); }

.code-row { display: flex; gap: 0.6rem; justify-content: center; margin: 0.6rem 0; }

.gc-desc { font-size: 0.82rem; color: #8b8b92; line-height: 1.4; margin-top: auto; padding-top: 0.8rem; }

/* =====================================================================
   INTERPRETĀCIJAS — kodu nozīmes ar mandalu un tekstu
   ===================================================================== */
.interp { max-width: 1180px; margin: 0 auto 3rem; padding: 0 1.5rem; }
.interp-title {
  color: var(--accent); font-weight: 700; font-size: 1.5rem;
  text-align: center; margin-bottom: 0.4rem;
}
.interp-sub { text-align: center; color: var(--muted); font-size: 0.92rem; margin-bottom: 2rem; }

.interp-cards { display: flex; flex-direction: column; gap: 1.5rem; }

.icard {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  align-items: start;
}
.icard-mandala { text-align: center; }
.icard-mandala img {
  width: 130px; height: auto; display: block; margin: 0 auto 0.6rem;
}
.icard-codebadge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 0.5rem;
  border-radius: 999px; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 1.1rem;
}
.icard-role { font-size: 0.78rem; color: var(--muted); margin-top: 0.4rem; }

.icard-body { min-width: 0; }
.icard-head { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--accent); }
.icard-name { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin: 0.15rem 0 0.8rem; }
.icard-general { font-size: 0.92rem; line-height: 1.55; color: #3a3a3a; margin-bottom: 1rem; }

.icard-block { margin-bottom: 0.8rem; }
.icard-block h4 {
  font-size: 0.82rem; font-weight: 700; margin-bottom: 0.3rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.icard-block.plus  h4 { color: #1f9d55; }
.icard-block.minus h4 { color: #c0392b; }
.icard-block.adv   h4 { color: #4841df; }
.icard-block p, .icard-block ul { font-size: 0.86rem; line-height: 1.5; color: #555; }
.icard-block ul { padding-left: 1.1rem; }
.icard-block li { margin-bottom: 0.2rem; }

.interp-disclaimer {
  margin-top: 2rem; font-size: 0.78rem; color: #999; text-align: center;
  line-height: 1.5; max-width: 720px; margin-left: auto; margin-right: auto;
}

/* ===== LIELĀ ATSKAITE ===== */
.report { max-width: 920px; margin: 0 auto 3rem; padding: 0 1.5rem; }
.report-title {
  text-align: center; color: var(--accent); font-weight: 700;
  font-size: 1.7rem; letter-spacing: 0.02em; margin-bottom: 0.4rem;
}
.report-sub { text-align: center; color: var(--muted); font-size: 0.92rem; margin-bottom: 2rem; }

/* ===== SADAĻU ACCORDION (vienots saraksts) ===== */
.rsec {
  background: #fff; border: 1px solid #e6e3ee;
  border-radius: 10px; margin-bottom: 0.6rem;
  box-shadow: 0 1px 6px rgba(72, 65, 223, 0.05);
  overflow: hidden;
}
/* Galva = klikšķināma rinda */
.rsec-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.4rem; cursor: pointer; user-select: none;
  transition: background 0.15s;
}
.rsec-head:hover { background: #faf9fd; }
.rsec-head h3 { font-size: 1.08rem; font-weight: 700; color: var(--ink); margin: 0; flex: 1; }
/* Ikona labajā malā (▼ izvēršamai / 🔒 maksas) */
.rsec-ico {
  font-size: 0.95rem; color: var(--muted); flex-shrink: 0;
  transition: transform 0.2s;
}
.rsec.open .rsec-ico { transform: rotate(180deg); }
/* Saturs — sākotnēji aizvērts, izveras klikšķinot */
.rsec-body {
  padding: 0 1.4rem; max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.rsec.open .rsec-body { max-height: 8000px; padding: 0.4rem 1.4rem 1.4rem; }

/* Maksas (atslēgtā) rinda — nav klikšķināma */
.rsec.locked .rsec-head { cursor: default; opacity: 0.78; }
.rsec.locked .rsec-head:hover { background: none; }
.rsec.locked .rsec-ico { color: #b6a; }

.rsec-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 999px; white-space: nowrap; flex-shrink: 0;
}
.rsec-badge.free { background: #e6f7ee; color: #1f9d55; }

.rsec-lead {
  font-size: 1rem; color: var(--ink); margin: 1.1rem 0 0.6rem;
  padding-bottom: 0.35rem; border-bottom: 1px solid #eee;
}
.rsec-lead:first-child { margin-top: 0; }
.rsec-lead b { color: var(--accent); }
.rsec-foot { margin-top: 1rem; font-size: 0.95rem; color: var(--muted); }
.rsec-foot b { color: var(--accent); }

.rsec-codes b {
  display: inline-block; min-width: 1.9em; text-align: center;
  background: var(--accent); color: #fff; border-radius: 6px;
  padding: 0.1em 0.4em; font-size: 0.95rem;
}
.rsec-codes i { color: var(--muted); font-style: normal; margin: 0 0.3em; }

/* Maksas sadaļu priekšskatījums — vienā kolonnā kā pārējais accordion */
.rsec-locked-grid { margin-top: 1rem; }

/* ===== PIRKŠANAS POGA (zem sadaļām) ===== */
.paywall {
  margin: 1.6rem auto 0; max-width: 640px; text-align: center;
}
.buy-btn {
  background: linear-gradient(135deg, #e0a316, #c8860f);
  color: #fff; border: none; border-radius: 999px;
  padding: 0.85rem 2rem; font-size: 1.02rem; font-weight: 700;
  font-family: inherit; cursor: pointer; transition: transform 0.12s, box-shadow 0.12s;
  box-shadow: 0 4px 14px rgba(200, 140, 15, 0.35);
}
.buy-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(200, 140, 15, 0.45); }
.buy-btn:disabled { opacity: 0.7; cursor: default; }
.paywall-msg { color: #c0392b; font-size: 0.88rem; min-height: 1em; margin: 0.7rem 0 0; }
.paywall-note { font-size: 0.78rem; color: #998; margin: 0.8rem 0 0; }

.rsec-paid { margin-top: 1.4rem; }
.rsec-badge.paid { background: #fdeecb; color: #a87908; }

/* AI interpretācija */
.rsec-ai { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed #d8d4ea; }
.ai-btn {
  background: linear-gradient(135deg, var(--accent), #7a74ec);
  color: #fff; border: none; border-radius: 999px;
  padding: 0.7rem 1.4rem; font-size: 0.92rem; font-weight: 700;
  font-family: inherit; cursor: pointer; transition: transform 0.12s, box-shadow 0.12s;
  box-shadow: 0 3px 12px rgba(72, 65, 223, 0.25);
}
.ai-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(72, 65, 223, 0.35); }
.ai-btn:disabled { opacity: 0.7; cursor: default; }

.ai-out { margin-top: 1.1rem; }
.ai-out.ai-loading { color: var(--muted); font-style: italic; font-size: 0.92rem; }
.ai-out.ai-error { color: #c0392b; font-size: 0.92rem; }
.ai-out h3, .ai-out h4 { color: var(--accent); margin: 1rem 0 0.4rem; font-size: 1.02rem; }
.ai-out h4 { font-size: 0.95rem; color: #5a55c0; }
.ai-out p { font-size: 0.92rem; line-height: 1.6; color: #3a3a3a; margin-bottom: 0.7rem; }
.ai-out ul { padding-left: 1.2rem; margin-bottom: 0.7rem; }
.ai-out li { font-size: 0.92rem; line-height: 1.5; color: #444; margin-bottom: 0.25rem; }
.ai-out strong { color: var(--ink); }

/* ---- Responsīvs ---- */
@media (max-width: 1000px) {
  .calc-main { flex-direction: column; align-items: center; }
  .calc-left { width: 100%; max-width: 560px; }
  .calc-right { max-width: 560px; width: 100%; }
}
@media (max-width: 640px) {
  .calc-hero h1 { font-size: 1.9rem; }
  .matrix-svg { width: 100%; }
  .calc-topnav { padding: 0.8rem 1rem; }
  .calc-topnav .nav-right { gap: 0.8rem; font-size: 0.78rem; }
  .goals { gap: 1.5rem; }

  /* ---- Veselības karte: sašaurināt, lai tabula ietilpst ekrānā ---- */
  /* Mazākas malas konteinerim → vairāk vietas tabulai, centrēta */
  .calc-main { padding: 2rem 0.75rem 2rem; }
  .calc-right {
    min-width: 0;       /* atļaut tabulai sašaurināties (bija 340px) */
    width: 100%;
    max-width: 100%;
  }

  /* Tabula fiksēta izkārtojuma, lai kolonnas dalās proporcionāli */
  .health-table { table-layout: fixed; }

  /* Saspiest visas šūnas */
  .health-table thead th {
    font-size: 0.7rem;
    padding: 0.6rem 0.25rem;
    text-align: center;       /* skaitļu galvenes centrā */
  }
  .health-table thead th.hc-name { text-align: left; }

  .hc-bar { width: 20px; font-size: 0.8rem; }
  .health-table thead th.hc-bar { width: 20px; }

  .hc-name { padding: 0.6rem 0.4rem; }
  .ch-title { font-size: 0.82rem; }
  .ch-sub   { font-size: 0.66rem; }

  .hc-num {
    font-size: 0.95rem;
    padding: 0.6rem 0.15rem;
  }

  /* Tooltip mobilajā šaurāks, lai neizsprāgst ārpus ekrāna */
  .ch-tip { width: 180px; font-size: 0.82rem; }

  /* Papildu funkcijas — mobilajā */
  .extra { padding: 0 0.9rem; }
  .gen-row { flex-direction: column; gap: 0.5rem; }
  .gen-label { min-width: 0; text-align: center; }
  .ec { width: 40px; height: 40px; font-size: 0.95rem; }
  .ec-result { width: 46px; height: 46px; font-size: 1.05rem; }

  /* Interpretācijas — mobilajā: mandala virs teksta */
  .interp { padding: 0 0.9rem; }
  .icard { grid-template-columns: 1fr; gap: 0.8rem; padding: 1.2rem; }
  .icard-mandala img { width: 110px; }

  /* Lielā atskaite — mobilajā */
  .report { padding: 0 0.9rem; }
  .rsec-head { padding: 0.95rem 1.1rem; }
  .rsec.open .rsec-body { padding: 0.4rem 1.1rem 1.2rem; }
}
