/* Fonturi găzduite local, nu de la Google.
   Motivul nu e viteza, ci sinceritatea: scriem pe fiecare pagină că nu se trimit
   date nicăieri, iar <link>-ul către fonts.googleapis.com trimitea la Google
   adresa IP și User-Agent-ul fiecărui vizitator, la fiecare încărcare de pagină.
   Păstrate doar subseturile latin și latin-ext (acoperă ă â î ș ț) și doar
   greutățile folosite efectiv în styles.css. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/Fraunces-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/Fraunces-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/IBMPlexMono-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/IBMPlexSans-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/IBMPlexSans-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/IBMPlexSans-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/IBMPlexSans-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/IBMPlexSans-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/IBMPlexSans-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Netto — sistem de design comun tuturor paginilor */
:root {
  --paper: #FAF9F5;
  --card: #FFFFFF;
  --ink: #1C2B2E;
  --muted: #5A6B68;
  --line: #E2E2D8;
  --accent: #1F7A5C;
  --accent-soft: #E7F1EC;
  --amber: #8A6410;
  --amber-soft: #F7EFDC;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111B18;
    --card: #18251F;
    --ink: #E7EFE9;
    --muted: #9BB0A8;
    --line: #2A3A32;
    --accent: #52C69B;
    --accent-soft: #1C332A;
    --amber: #D9B05C;
    --amber-soft: #322A18;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- navigație ---------- */
.nav {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: .7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -.01em;
}
.nav-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-size: .9rem;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: .2rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}
/* Pe ecrane mici bara ar mânca o treime din ecran dacă ar rămâne lipită sus. */
@media (max-width: 640px) {
  .nav { position: static; }
  .nav-inner { gap: .5rem .9rem; padding: .6rem 1rem; }
  .brand { font-size: 1.15rem; }
  .nav-links { gap: .55rem .85rem; font-size: .82rem; }
  .wrap { padding-top: 1.6rem; }
}

/* ---------- structură ---------- */
.wrap { max-width: 46rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.wrap.wide { max-width: 60rem; }

h1 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5.5vw, 2.8rem);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -.015em;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
  line-height: 1.2;
  margin: 2.5rem 0 .5rem;
  text-wrap: balance;
}
h3 { font-size: 1.05rem; font-weight: 600; margin: 1.6rem 0 .3rem; }
p, li { margin: .75rem 0; }
ul, ol { padding-left: 1.2rem; }
a { color: var(--accent); text-underline-offset: 2px; }
strong { font-weight: 600; }

.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .35rem;
}
.tagline { color: var(--muted); font-size: 1.08rem; margin-top: .7rem; }
.updated { color: var(--muted); font-size: .85rem; margin: .3rem 0 0; }

/* ---------- formulare ---------- */
.form { display: grid; gap: .9rem; margin-top: 1.8rem; }
label.field { display: grid; gap: .3rem; font-size: .85rem; color: var(--muted); }
.inputwrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 .8rem;
}
.inputwrap:focus-within { border-color: var(--accent); }
.inputwrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
  font: 600 1.15rem var(--mono);
  padding: .65rem 0;
}
.check { display: flex; gap: .55rem; align-items: center; color: var(--muted); font-size: .92rem; }
.check input { accent-color: var(--accent); width: 1.1rem; height: 1.1rem; }

/* ---------- carduri și rezultate ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-top: 1rem;
}
.card.hero { border-color: var(--accent); border-width: 2px; }
.card.accent { background: var(--accent-soft); border-color: var(--accent); }
.card.amber { background: var(--amber-soft); border-color: var(--amber); }
.card h3:first-child, .card .eyebrow:first-child { margin-top: 0; }

.big {
  font: 700 2.4rem var(--mono);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.small { color: var(--muted); font-size: .9rem; margin: .35rem 0 0; }

.rows { display: grid; gap: .35rem; margin-top: .7rem; }
.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  font-size: .95rem;
}
.row span:first-child { color: var(--muted); min-width: 0; }
.row b {
  font-family: var(--mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.row.total { border-top: 1px solid var(--line); padding-top: .45rem; margin-top: .2rem; }
.row.total span:first-child { color: var(--ink); font-weight: 600; }
.row.total b { color: var(--amber); }

/* ---------- bare de plafon ---------- */
.bar { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; margin: .6rem 0 .4rem; }
.bar > div { height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width .25s ease; }
.bar > div.warn { background: var(--amber); }

/* ---------- duel PFA vs SRL ---------- */
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: .9rem; }
@media (max-width: 560px) { .duel { grid-template-columns: 1fr; } }
.duel .card { margin-top: 0; }
.duel .val { font: 700 1.5rem var(--mono); font-variant-numeric: tabular-nums; }
.duel .card.winner { border-color: var(--accent); border-width: 2px; }
.verdict { font-weight: 700; color: var(--accent); font-size: 1.05rem; }

/* ---------- tabele ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 1.2rem 0; background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th {
  text-align: left;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
  font-weight: 600;
  padding: .7rem .85rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td { padding: .6rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: none; }
td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- casete de conținut ---------- */
.callout {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 10px 10px 0;
  padding: .9rem 1.1rem;
  margin: 1.4rem 0;
}
.callout.amber { border-left-color: var(--amber); background: var(--amber-soft); }
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

details.qa { border-top: 1px solid var(--line); padding: .3rem 0; }
details.qa summary { cursor: pointer; font-weight: 600; padding: .7rem 0; list-style-position: outside; }
details.qa summary:hover { color: var(--accent); }
details.qa[open] summary { color: var(--accent); }
details.qa p { margin-top: 0; color: var(--muted); }

/* ---------- carduri de navigare ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .9rem; margin: 1.4rem 0; }
a.tile {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: var(--ink);
}
a.tile:hover { border-color: var(--accent); }
a.tile b { display: block; color: var(--accent); margin-bottom: .2rem; }
a.tile span { font-size: .88rem; color: var(--muted); }

/* ---------- apel la acțiune ---------- */
.cta { margin-top: 2rem; background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 12px; padding: 1.1rem 1.25rem; }
.cta p { margin: 0; }
.cta p + p { margin-top: .7rem; }
.cta b { color: var(--accent); }
.cta-link {
  display: inline-block;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
}
.cta-link:hover { opacity: .8; }
a:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- subsol ---------- */
footer.site {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  background: var(--card);
}
footer.site .inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.6rem 1.25rem 2.2rem;
  display: grid;
  gap: .7rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 1rem; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- bloc de surse și ipoteze ---------- */
.surse {
  margin-top: 1.6rem;
  padding: .9rem 1.1rem;
  border: 1px dashed var(--line);
  border-radius: 10px;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.55;
}
.surse p { margin: .4rem 0; }
.surse p:first-child { margin-top: 0; }
.surse p:last-child { margin-bottom: 0; }
.surse strong { color: var(--ink); }

/* ---------- meniu compact pe tabletă ----------
   La 9 intrări, bara ocupa două rânduri și rămânea lipită sus, mâncând
   ecranul. Sub 1000px devine derulabilă pe orizontală, pe un singur rând. */
@media (min-width: 641px) and (max-width: 1000px) {
  .nav-inner { gap: 1rem; }
  .nav-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    font-size: .85rem;
    gap: .9rem;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
}

/* Pe ecrane mici bara nu mai stă lipită sus și devine un singur rând derulabil:
   nouă linkuri pe două rânduri mâncau o treime din ecranul telefonului. */
@media (max-width: 640px) {
  .nav { position: static; }
  .nav-inner { padding: .55rem 1.25rem; gap: .5rem; }
  .nav-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: .85rem;
    font-size: .8rem;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
  .brand { font-size: 1.2rem; }
}

/* ---------- lista de așteptare ---------- */
.lista { display: grid; gap: .8rem; margin-top: 1rem; }
.lista .field { color: var(--muted); }
.lista input[type="email"],
.lista select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font: 500 1rem var(--sans);
  padding: .65rem .8rem;
}
.lista input[type="email"]:focus,
.lista select:focus { outline: 0; border-color: var(--accent); }
.lista button {
  justify-self: start;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--paper);
  font: 600 1rem var(--sans);
  padding: .7rem 1.4rem;
  cursor: pointer;
}
.lista button:hover:not(:disabled) { opacity: .9; }
.lista button:disabled { opacity: .55; cursor: default; }
.lista .small { margin: 0; }
/* Câmp-capcană pentru boți: scos din pagină fără display:none, pe care unii îl detectează. */
.capcana {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lista-stare { margin: 0; font-size: .92rem; }
.lista-stare:empty { display: none; }
.lista-stare.ok { color: var(--accent); font-weight: 600; }
.lista-stare.eroare { color: var(--amber); font-weight: 600; }

.nav-links a.accent { color: var(--accent); font-weight: 600; }

/* Câmpurile trimestriale stau pe un rând pe desktop, două pe telefon. */
.trimestre { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
@media (max-width: 640px) { .trimestre { grid-template-columns: repeat(2, 1fr); } }
.trimestre .inputwrap input { font-size: 1rem; }

/* ---------- validare ---------- */
.inputwrap.nevalid { border-color: var(--amber); }
.inputwrap.nevalid:focus-within { border-color: var(--amber); }
.eroare-camp {
  margin: .25rem 0 0;
  font-size: .82rem;
  color: var(--amber);
  font-weight: 500;
}
/* Valorile de pornire sunt exemple; marcajul dispare când omul scrie ale lui. */
label.field .eticheta { display: flex; align-items: baseline; gap: .45rem; }
.exemplu {
  font-size: .68rem;
  font-style: normal;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 .35rem;
}
label.field.editat .exemplu, .form.golit .exemplu { display: none; }
.actiuni-form { margin: 0; }
.reset {
  border: 1px solid var(--line);
  background: none;
  color: var(--muted);
  border-radius: 8px;
  padding: .35rem .7rem;
  font: 500 .82rem var(--sans);
  cursor: pointer;
}
.reset:hover { color: var(--ink); border-color: var(--muted); }

/* Textul ajutător de sub o bifă, aliniat cu eticheta. */
.check { align-items: flex-start; }
.check input { margin-top: .15rem; flex: none; }
.check .ajutor {
  display: block;
  font-style: normal;
  font-size: .82rem;
  color: var(--muted);
  margin-top: .15rem;
}

/* Puntea dintre rezultat și produs. */
.punte {
  margin-top: .75rem;
  padding: .9rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 10px 10px 0;
}
.punte p { margin: 0; font-size: .95rem; }
.punte p + p { margin-top: .5rem; }

/* ---------- accesibilitate ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--paper);
  padding: .6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 10;
}
.skip:focus { left: 0; }
/* Focus vizibil pe tot ce se poate atinge cu tastatura. */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.inputwrap:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.inputwrap input:focus-visible { outline: none; }
/* Ținte tactile de cel puțin 44px pe ecrane cu deget, nu cu mouse. */
@media (pointer: coarse) {
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .footer a, footer.site nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .lista button, .reset { min-height: 44px; }
  .check { min-height: 44px; }
  details.qa summary { min-height: 44px; display: flex; align-items: center; }
}
/* Bara de navigație: „Aplicația" rămâne vizibilă și când restul se derulează. */
@media (max-width: 640px) {
  .nav-inner { position: relative; padding-right: 6.2rem; }
  .nav-links { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a.accent {
    position: absolute;
    right: 1rem;
    top: .6rem;
    background: var(--accent);
    color: var(--paper);
    padding: .3rem .7rem;
    border-radius: 999px;
    font-size: .8rem;
  }
}
table caption {
  caption-side: top;
  text-align: left;
  font-size: .85rem;
  color: var(--muted);
  padding-bottom: .5rem;
}

/* ---------- monitorul „cât pot cheltui” ---------- */
.monitor-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 780px) { .monitor-grid { grid-template-columns: 1fr; } }
.monitor-grid .card { margin-top: 1rem; }
.fel { display: flex; gap: 1.2rem; }
.fel .check { margin: 0; }
.big.negativ { color: var(--amber); }

label.field select,
label.field input[type="date"],
label.field input[type="text"]:not(.inputwrap input) {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font: 500 1rem var(--sans);
  padding: .6rem .8rem;
}

.plafon { border-top: 1px solid var(--line); padding: .9rem 0; }
.plafon:first-child { border-top: 0; }
.plafon-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.plafon-cap b { font: 600 1rem var(--mono); font-variant-numeric: tabular-nums; }
.plafon-cap b.avertisment { color: var(--amber); }
.plafon .small { margin: .35rem 0 0; }
.plafon .alerta { color: var(--amber); font-weight: 500; }

.miscare {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .8rem;
  align-items: center;
  padding: .7rem 0;
  border-top: 1px solid var(--line);
}
.miscare:first-child { border-top: 0; }
.miscare .small { color: var(--muted); }
.miscare .suma { font: 600 1rem var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.miscare.incasare .suma { color: var(--accent); }
.miscare.cheltuiala .suma { color: var(--muted); }
.sterge {
  border: 1px solid var(--line);
  background: none;
  color: var(--muted);
  border-radius: 8px;
  padding: .3rem .6rem;
  font: 500 .8rem var(--sans);
  cursor: pointer;
}
.sterge:hover { color: var(--amber); border-color: var(--amber); }

button.principal {
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--paper);
  font: 600 1rem var(--sans);
  padding: .7rem 1.4rem;
  cursor: pointer;
}
button.principal:hover { opacity: .9; }
.actiuni-form { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.reset.periculos:hover { color: var(--amber); border-color: var(--amber); }

/* Tipărirea trebuie să dea un rezumat, nu o copie a interfeței. */
@media print {
  .nav, .site, .cta, .punte, .skip, .actiuni-form, #m-formular, .surse { display: none !important; }
  .card { break-inside: avoid; border-color: #999; }
  a[href^="/"]::after { content: ""; }
}

/* ---------- panoul principal al monitorului ---------- */
.card.panou { padding: 1.3rem 1.4rem; }
.panou-rand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .45rem 0;
}
.panou-rand span { color: var(--muted); }
.panou-rand b {
  font: 600 1.25rem var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.panou-rand b.rezerva { color: var(--amber); }
.panou-rand.principal {
  border-top: 1px solid var(--line);
  margin-top: .35rem;
  padding-top: .8rem;
}
.panou-rand.principal span { color: var(--ink); font-weight: 600; }
.panou-rand.principal b.big { font-size: clamp(1.8rem, 6vw, 2.4rem); }
.card.panou .small { margin: .8rem 0 0; }
#m-prag { color: var(--ink); }
.form.sold { margin-top: .8rem; max-width: 22rem; }
.form.sold .small { margin: 0; }
.crestere { color: var(--amber); font-weight: 500; }

/* ---------- termene ---------- */
.termen { border-top: 1px solid var(--line); padding: .9rem 0; }
.termen:first-child { border-top: 0; }
.termen-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.termen-cap b { font: 600 1rem var(--mono); font-variant-numeric: tabular-nums; }
.termen-cap .alerta { color: var(--amber); font-weight: 600; }
.termen-titlu { display: block; margin-top: .3rem; }
.termen .small { margin: .3rem 0 0; }
.termen .temei { color: var(--muted); font-size: .78rem; }

/* ---------- simulare în limbaj obișnuit ---------- */
.exemple { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.exemplu-intrebare {
  border: 1px dashed var(--line);
  background: none;
  color: var(--muted);
  border-radius: 999px;
  padding: .25rem .7rem;
  font: 400 .82rem var(--sans);
  cursor: pointer;
}
.exemplu-intrebare:hover { color: var(--accent); border-color: var(--accent); border-style: solid; }
.clarificare {
  margin-top: .8rem;
  padding: .8rem 1rem;
  background: var(--amber-soft);
  border-left: 3px solid var(--amber);
  border-radius: 0 10px 10px 0;
}
.clarificare p { margin: 0 0 .5rem; font-size: .95rem; }
.optiuni { display: flex; flex-wrap: wrap; gap: .5rem; }
.optiuni .ales { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.simulare-rezultat {
  margin-top: .9rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent-soft);
}
.simulare-rezultat p { margin: 0; }
.simulare-rezultat p + p { margin-top: .45rem; }
.simulare-rezultat .alerta { color: var(--amber); font-weight: 600; }
.neinteles { color: var(--muted); }
