/* Calculator indemnizație creștere copil — doar clase .hic-*, token-urile site-ului cu fallback. */
.hic-page {
  --hic-line: var(--line, #1c2542);
  --hic-panel: var(--bg-1, #080b17);
  --hic-panel-2: var(--bg-2, #0b101f);
  --hic-field: var(--bg-3, #101728);
  --hic-ink: var(--ink, #f3f6fd);
  --hic-ink-2: var(--ink-2, #a9b4ce);
  --hic-ink-3: var(--ink-3, #6f7d9c);
  --hic-accent: var(--accent, #7c9cff);
  --hic-ok: var(--mint, #5fd39a);
  --hic-bad: #ff8a8a;
  --hic-gold: var(--gold, #f4c667);
  min-width: 0;
}
.hic-cta:empty { display: none; }
.hic-cta { margin-top: 18px; }

.hic {
  margin-top: clamp(28px, 4vw, 44px);
  border: 1px solid var(--hic-line); border-radius: var(--r, 18px);
  background: var(--hic-panel); overflow: hidden; box-shadow: var(--shadow-3, none);
  color-scheme: dark;
}
.hic-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--hic-line); background: var(--hic-panel-2); overflow-x: auto; }
.hic-tabs button {
  flex: 1 0 auto; min-height: 44px; padding: 0 16px; border: 1px solid transparent; border-radius: var(--r-xs, 8px);
  background: transparent; color: var(--hic-ink-2); font: 600 .92rem/1.2 var(--f-body, system-ui, sans-serif); cursor: pointer;
}
.hic-tabs button:hover { color: var(--hic-ink); border-color: var(--hic-line); }
.hic-tabs button[aria-selected="true"] { background: var(--hic-accent); color: #05070f; }

.hic-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.hic-in { padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 16px; align-content: start; min-width: 0; }
.hic-res { padding: clamp(18px, 2.4vw, 28px); border-left: 1px solid var(--hic-line); min-width: 0; }
.hic-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.hic-f { display: grid; gap: 6px; min-width: 0; }
.hic-f > span { color: var(--hic-ink-2); font-size: .88rem; font-weight: 600; }
.hic-f input, .hic-f select {
  width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--hic-line); border-radius: var(--r-xs, 8px);
  background: var(--hic-field); color: var(--hic-ink); font: 500 1rem/1.2 var(--f-body, system-ui, sans-serif);
}
.hic-f input#hic-suma { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hic-f input:focus-visible, .hic-f select:focus-visible, .hic-check input:focus-visible, .hic-btn:focus-visible, .hic-tabs button:focus-visible {
  outline: 2px solid var(--hic-accent); outline-offset: 2px;
}
.hic-check { display: flex; gap: 10px; align-items: flex-start; color: var(--hic-ink-2); font-size: .95rem; line-height: 1.4; cursor: pointer; }
.hic-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--hic-accent); flex: none; }
.hic-hint { margin: 0; color: var(--hic-ink-3); font-size: .85rem; line-height: 1.45; }
.hic-err { margin: 0; color: var(--hic-bad); font-weight: 600; }

.hic-res-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--hic-ink-2); font-weight: 600; }
.hic-btn {
  min-height: 40px; padding: 0 14px; border: 1px solid var(--hic-line); border-radius: var(--r-xs, 8px);
  background: var(--hic-field); color: var(--hic-ink); font: 600 .88rem/1 var(--f-body, system-ui, sans-serif); cursor: pointer;
}
.hic-btn:hover { border-color: var(--hic-accent); }

.hic-big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.hic-big > div { padding: 12px 14px; border: 1px solid var(--hic-line); border-radius: var(--r-xs, 8px); background: var(--hic-panel-2); min-width: 0; }
.hic-big span { display: block; color: var(--hic-ink-3); font-size: .8rem; font-weight: 600; }
.hic-big b { display: block; margin-top: 4px; color: var(--hic-ink); font-size: clamp(1.05rem, 2.2vw, 1.4rem); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.hic-big > div:first-child b { color: var(--hic-ok); }

.hic-t { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.hic-t caption { text-align: left; padding-bottom: 6px; color: var(--hic-gold); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.hic-t th, .hic-t td { padding: 8px 0; border-bottom: 1px solid var(--hic-line); vertical-align: top; }
.hic-t th { text-align: left; font-weight: 500; color: var(--hic-ink); padding-right: 12px; }
.hic-t th small { display: block; color: var(--hic-ink-3); font-size: .8rem; margin-top: 2px; }
.hic-t td { text-align: right; white-space: nowrap; color: var(--hic-ink); }
.hic-t tr.hic-sub th, .hic-t tr.hic-sub td { color: var(--hic-ink-2); }
.hic-t tr.hic-tot th, .hic-t tr.hic-tot td { font-weight: 700; border-bottom: 0; }
.hic-share-line { margin: 0 0 10px; color: var(--hic-ink-2); font-size: .92rem; }
.hic-note { margin: 8px 0 0; padding: 10px 12px; border-left: 3px solid var(--hic-gold); background: var(--hic-panel-2); color: var(--hic-ink-2); font-size: .9rem; line-height: 1.45; }

.hic-about, .hic-faq, .hic-src, .hic-guides { margin-top: clamp(32px, 5vw, 56px); }
.hic-about ul, .hic-src ul, .hic-guides ul { padding-left: 1.2em; display: grid; gap: 8px; line-height: 1.55; color: var(--hic-ink-2); }
.hic-guides a { color: var(--hic-accent); }
.hic-faq details { border-bottom: 1px solid var(--hic-line); padding: 14px 0; }
.hic-faq summary { cursor: pointer; font-weight: 600; color: var(--hic-ink); }
.hic-faq p { margin: 10px 0 0; color: var(--hic-ink-2); line-height: 1.55; }
.hic-disc { margin-top: 18px; color: var(--hic-ink-3); font-size: .88rem; }

@media (max-width: 860px) {
  .hic-grid { grid-template-columns: minmax(0, 1fr); }
  .hic-res { border-left: 0; border-top: 1px solid var(--hic-line); }
}
@media (max-width: 480px) {
  .hic-row { grid-template-columns: minmax(0, 1fr); }
  .hic-big { grid-template-columns: minmax(0, 1fr); }
  .hic-big > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
  .hic-big b { margin-top: 0; }
  .hic-tabs button { padding: 0 10px; font-size: .85rem; }
}

/* cost: tabelul pe luni, mărire */
.hic-in .hic-sec { margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--hic-line); color: var(--hic-gold); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.hic-in details summary { cursor: pointer; color: var(--hic-ink-2); font-weight: 600; }
.hic-in details[open] summary { margin-bottom: 12px; }
.hic-in details > div { display: grid; gap: 14px; }
.hic-t.hic-luni th, .hic-t.hic-luni td { padding: 6px 0; font-size: .92rem; }
.hic-t.hic-luni thead th { color: var(--hic-ink-3); font-weight: 600; font-size: .8rem; }
.hic-t.hic-luni td + td { padding-left: 10px; }
.hic-hide { display: none !important; }
.hic-luni12 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hic-luni12 input { font-size: .95rem; }
@media (max-width: 480px) { .hic-luni12 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
