/* Zile libere legale — doar clase .hzc-*, token-urile site-ului cu fallback. */
.hzc-page {
  --hzc-line: var(--line, #1c2542);
  --hzc-panel: var(--bg-1, #080b17);
  --hzc-panel-2: var(--bg-2, #0b101f);
  --hzc-ink: var(--ink, #f3f6fd);
  --hzc-ink-2: var(--ink-2, #a9b4ce);
  --hzc-ink-3: var(--ink-3, #6f7d9c);
  --hzc-accent: var(--accent, #7c9cff);
  --hzc-ok: var(--mint, #5fd39a);
  --hzc-gold: var(--gold, #f4c667);
  min-width: 0;
}
.hzc-cta:empty { display: none; }
.hzc-cta { margin-top: 18px; }
.hzc-box { margin-top: clamp(24px, 4vw, 40px); padding: clamp(16px, 2.4vw, 24px); border: 1px solid var(--hzc-line); border-radius: var(--r, 18px); background: var(--hzc-panel); }
.hzc-next { margin: 0 0 14px; color: var(--hzc-ink-2); font-size: 1.05rem; line-height: 1.5; }
.hzc-next:empty { display: none; }
.hzc-next b { color: var(--hzc-ok); }
.hzc-dl { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.hzc-nav { margin: 14px 0 0; color: var(--hzc-ink-3); font-size: .92rem; }
.hzc-nav a, .hzc-sec a, .hzc-hint a { color: var(--hzc-accent); }
.hzc-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-xs, 8px);
  background: var(--hzc-accent); color: #05070f; font: 600 .92rem/1.2 var(--f-body, system-ui, sans-serif); text-decoration: none;
}
.hzc-btn-2 { background: transparent; color: var(--hzc-ink); border: 1px solid var(--hzc-line); }
.hzc-btn:hover { filter: brightness(1.08); }
.hzc-btn:focus-visible, .hzc-page a:focus-visible { outline: 2px solid var(--hzc-accent); outline-offset: 2px; }

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

.hzc-scroll { overflow-x: auto; }
.hzc-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hzc-t th, .hzc-t td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--hzc-line); text-align: left; vertical-align: top; color: var(--hzc-ink); }
.hzc-t thead th { color: var(--hzc-ink-3); font-size: .8rem; font-weight: 600; }
.hzc-t td:first-child { white-space: nowrap; font-weight: 600; }
.hzc-t tr.hzc-we td { color: var(--hzc-ink-3); }
.hzc-t tr.hzc-past td { opacity: .55; }
.hzc-t tr.hzc-cur td { color: var(--hzc-ok); }
.hzc-num td + td, .hzc-num th + th { text-align: right; }
.hzc-t tr.hzc-tot td { font-weight: 700; border-bottom: 0; }
.hzc-hint { margin: 10px 0 0; color: var(--hzc-ink-3); font-size: .88rem; line-height: 1.5; }
.hzc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 22px; }
.hzc-cols ul, .hzc-src ul, .hzc-guides ul { padding-left: 1.2em; display: grid; gap: 6px; line-height: 1.5; color: var(--hzc-ink-2); margin: 0; }
.hzc-sec > p { color: var(--hzc-ink-2); line-height: 1.55; }
.hzc-note { margin: 18px 0 0; padding: 10px 12px; border-left: 3px solid var(--hzc-gold); background: var(--hzc-panel-2); color: var(--hzc-ink-2); font-size: .92rem; line-height: 1.5; }
.hzc-an .hzc-dl { margin-top: 16px; }
.hzc-sec details { border-bottom: 1px solid var(--hzc-line); padding: 14px 0; }
.hzc-sec summary { cursor: pointer; font-weight: 600; color: var(--hzc-ink); }
.hzc-sec details p { margin: 10px 0 0; color: var(--hzc-ink-2); line-height: 1.55; }
.hzc-disc { margin-top: 18px; color: var(--hzc-ink-3); font-size: .88rem; }

@media (max-width: 760px) {
  .hzc-big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hzc-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .hzc-t th, .hzc-t td { padding-right: 8px; font-size: .92rem; }
  .hzc-btn { flex: 1 1 100%; justify-content: center; }
}

/* calculator */
.hzc { margin-top: clamp(28px, 4vw, 44px); border: 1px solid var(--hzc-line); border-radius: var(--r, 18px); background: var(--hzc-panel); overflow: hidden; color-scheme: dark; }
.hzc-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--hzc-line); background: var(--hzc-panel-2); overflow-x: auto; }
.hzc-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(--hzc-ink-2); font: 600 .92rem/1.2 var(--f-body, system-ui, sans-serif); cursor: pointer; }
.hzc-tabs button:hover { color: var(--hzc-ink); border-color: var(--hzc-line); }
.hzc-tabs button[aria-selected="true"] { background: var(--hzc-accent); color: #05070f; }
.hzc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.hzc-in { padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 16px; align-content: start; min-width: 0; }
.hzc-res { padding: clamp(18px, 2.4vw, 28px); border-left: 1px solid var(--hzc-line); min-width: 0; }
.hzc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.hzc-f { display: grid; gap: 6px; min-width: 0; }
.hzc-f > span { color: var(--hzc-ink-2); font-size: .88rem; font-weight: 600; }
.hzc-f input, .hzc-f select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--hzc-line); border-radius: var(--r-xs, 8px); background: var(--bg-3, #101728); color: var(--hzc-ink); font: 500 1rem/1.2 var(--f-body, system-ui, sans-serif); }
.hzc-f input:focus-visible, .hzc-f select:focus-visible, .hzc-tabs button:focus-visible, .hzc-share:focus-visible { outline: 2px solid var(--hzc-accent); outline-offset: 2px; }
.hzc-err { margin: 0; color: #ff8a8a; font-weight: 600; }
.hzc-res-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--hzc-ink-2); font-weight: 600; }
.hzc-share { min-height: 40px; padding: 0 14px; border: 1px solid var(--hzc-line); border-radius: var(--r-xs, 8px); background: var(--bg-3, #101728); color: var(--hzc-ink); font: 600 .88rem/1 var(--f-body, system-ui, sans-serif); cursor: pointer; }
.hzc-big { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.hzc-big.hzc-one { grid-template-columns: minmax(0, 1fr); }
.hzc-line { color: var(--hzc-ink-2); line-height: 1.5; margin: 0 0 12px; }
.hzc-res .hzc-sec { margin: 14px 0 6px; color: var(--hzc-gold); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.hzc-list { padding-left: 1.2em; margin: 0; display: grid; gap: 4px; color: var(--hzc-ink-2); }
.hzc-list span { color: var(--hzc-ink-3); }
.hzc-hide { display: none !important; }
@media (max-width: 860px) { .hzc-grid { grid-template-columns: minmax(0, 1fr); } .hzc-res { border-left: 0; border-top: 1px solid var(--hzc-line); } }
@media (max-width: 480px) { .hzc-row { grid-template-columns: minmax(0, 1fr); } .hzc-big { grid-template-columns: minmax(0, 1fr); } }
