/* trias-produse: mobile-first, large touch targets, no framework. */
:root {
  --verde: #2f6b3a;
  --verde-inchis: #24532d;
  --crem: #f6f3ec;
  --gri: #6b6b6b;
  --linie: #ddd8cc;
  --rosu: #b23a2f;
  --galben: #b8860b;
  --albastru: #2b5c8a;
}
* { box-sizing: border-box; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--crem);
  color: #222;
  line-height: 1.45;
}
.bara {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; background: var(--verde); color: #fff;
  padding-top: calc(0.75rem + env(safe-area-inset-top));
}
.bara a, .bara .link { color: #fff; text-decoration: none; font-weight: 600; }
.bara nav { display: flex; gap: 1rem; align-items: center; }
.brand { font-size: 1.15rem; }
.link { background: none; border: 0; font: inherit; cursor: pointer; padding: 0.5rem 0; }
.continut { padding: 1rem; max-width: 760px; margin: 0 auto; }
.subsol { padding: 1rem; color: var(--gri); font-size: 0.85rem; text-align: center; }
h1 { font-size: 1.35rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.15rem; margin: 1rem 0 0.5rem; }
h3 { font-size: 1rem; margin: 1rem 0 0.25rem; }
.card { background: #fff; border: 1px solid var(--linie); border-radius: 12px; padding: 1rem; margin-bottom: 1rem; }
.antet { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.inline { display: inline; }
.discret { color: var(--gri); font-size: 0.9rem; }
.gol { padding: 1.5rem; text-align: center; color: var(--gri); }
.detalii { display: block; color: var(--gri); font-size: 0.9rem; }
.nume { display: block; font-weight: 600; }
.lista { list-style: none; margin: 0; padding: 0; }
.rand { background: #fff; border: 1px solid var(--linie); border-radius: 12px; margin-bottom: 0.6rem; }
.rand-link { display: block; padding: 0.9rem 1rem; min-height: 56px; color: inherit; text-decoration: none; }
.rand .discret { display: block; padding: 0 1rem 0.75rem; }
.insigna {
  display: inline-block; margin-top: 0.35rem; padding: 0.15rem 0.6rem; border-radius: 999px;
  font-size: 0.8rem; background: #e8e4da; color: #333;
}
.insigna.goala { background: #f0ede5; color: var(--gri); }
.stare-queued, .stare-photos, .stare-context, .stare-content, .stare-gate, .stare-publishing, .stare-verifying { background: #e3ecf5; color: var(--albastru); }
.stare-awaiting_operator { background: #fff1c9; color: #7a5a00; }
.stare-done { background: #dff0df; color: var(--verde-inchis); }
.stare-flagged { background: #fde9c9; color: #8a4b00; }
.stare-failed { background: #f8dcd9; color: var(--rosu); }
.stare-mare { font-size: 1.05rem; }
.buton {
  display: inline-block; min-height: 48px; padding: 0.7rem 1.2rem; border-radius: 10px; border: 0;
  font: inherit; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer;
}
.buton.principal { background: var(--verde); color: #fff; }
.buton.principal:disabled { background: #9db89f; cursor: default; }
.buton.secundar { background: #fff; color: var(--verde-inchis); border: 2px solid var(--verde); }
.buton.mare { display: block; width: 100%; margin: 0.6rem 0; font-size: 1.05rem; min-height: 56px; }
.formular label { display: block; margin-top: 0.75rem; font-weight: 600; }
.formular input[type="password"], .formular textarea {
  width: 100%; font: inherit; padding: 0.7rem; border: 1px solid var(--linie); border-radius: 10px; margin-top: 0.3rem;
}
.ascuns { display: none; }
.mesaj { padding: 0.7rem 1rem; border-radius: 10px; background: #e3ecf5; color: var(--albastru); }
.mesaj.eroare, .eroare { background: #f8dcd9; color: var(--rosu); }
.mesaj.ok { background: #dff0df; color: var(--verde-inchis); }
.grila { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.6rem; margin: 0.75rem 0; }
.grila img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--linie); background: #fff; }
.poza { margin: 0; }
.poza figcaption { font-size: 0.8rem; color: var(--gri); text-align: center; }
progress { width: 100%; height: 12px; margin-top: 0.5rem; }
.date { display: grid; grid-template-columns: 7rem 1fr; gap: 0.3rem 0.6rem; margin: 0; }
.date dt { color: var(--gri); }
.date dd { margin: 0; }
.descriere { font-size: 0.95rem; }
.descriere h2, .descriere h3 { font-size: 1rem; }
.flaguri li { color: #7a5a00; }
.erori li { color: var(--rosu); font-family: ui-monospace, monospace; font-size: 0.9rem; }
.actiuni form + form { margin-top: 1rem; }
@media (min-width: 700px) {
  .date { grid-template-columns: 9rem 1fr; }
}
