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

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

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

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

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

/* vechime */
.hos-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hos-per { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 10px; align-items: end; padding-bottom: 12px; border-bottom: 1px dashed var(--hos-line); }
.hos-f small { color: var(--hos-ink-3); font-weight: 500; }
.hos-x { width: 44px; height: 46px; border: 1px solid var(--hos-line); border-radius: var(--r-xs, 8px); background: transparent; color: var(--hos-ink-2); font-size: 1.3rem; cursor: pointer; }
.hos-x:hover { color: #ff8a8a; border-color: #ff8a8a; }
.hos-add { justify-self: start; min-height: 44px; padding: 0 14px; border: 1px dashed var(--hos-accent); border-radius: var(--r-xs, 8px); background: transparent; color: var(--hos-accent); font: 600 .92rem/1 var(--f-body, system-ui, sans-serif); cursor: pointer; }
.hos-x:focus-visible, .hos-add:focus-visible { outline: 2px solid var(--hos-accent); outline-offset: 2px; }
.hos-big b { font-size: clamp(1.15rem, 2.6vw, 1.6rem); }
.hos-t { width: 100%; border-collapse: collapse; margin: 4px 0 12px; font-variant-numeric: tabular-nums; }
.hos-t th, .hos-t td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--hos-line); text-align: left; color: var(--hos-ink); vertical-align: top; }
.hos-t td + td, .hos-t th + th { text-align: right; }
.hos-t thead th { color: var(--hos-ink-3); font-size: .8rem; font-weight: 600; }
.hos-t tr.hos-sub td { color: var(--hos-ink-2); }
.hos-t tr.hos-tot td { font-weight: 700; border-bottom: 0; }
@media (max-width: 480px) { .hos-per { grid-template-columns: minmax(0, 1fr) 44px; } .hos-per .hos-f:nth-child(2) { grid-row: 2; } .hos-x { grid-row: 1 / span 2; grid-column: 2; align-self: center; } }
.hos-ul { padding-left: 1.2em; display: grid; gap: 8px; line-height: 1.55; color: var(--hos-ink-2); }
.hos-in .hos-sec-in { margin: 0; color: var(--hos-gold); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.hos-sec .hos-note, .hos-res .hos-note { margin: 0 0 12px; }
.hos-check { display: flex; gap: 10px; align-items: flex-start; color: var(--hos-ink-2); font-size: .95rem; cursor: pointer; }
.hos-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--hos-accent); flex: none; }
.hos-note { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid var(--hos-gold); background: var(--hos-panel-2); color: var(--hos-ink-2); font-size: .92rem; line-height: 1.5; }
.hos-susp:empty { display: none; }
/* ore suplimentare */
.hos-zile .hos-per { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; grid-template-areas: "zi c x" "a b x"; }
.hos-zile .hos-per > :nth-child(1) { grid-area: zi; }
.hos-zile .hos-per > :nth-child(2) { grid-area: a; grid-row: auto; }
.hos-zile .hos-per > :nth-child(3) { grid-area: b; }
.hos-zile .hos-per > :nth-child(4) { grid-area: c; }
.hos-zile .hos-per > .hos-x { grid-area: x; align-self: center; grid-row: auto; grid-column: auto; }
.hos-conf { border-left-color: var(--hos-accent); }
.hos-mut { color: var(--hos-ink-3); font-weight: 400; }
.hos-res .hos-t td:first-child { white-space: normal; }
.hos-res .hos-t td + td, .hos-res .hos-t th + th { white-space: nowrap; padding-left: 8px; }
.hos-in .hos-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .hos-res .hos-t th, .hos-res .hos-t td { font-size: .86rem; padding-right: 4px; } }
