:root {
  --fundal: #f5f4f1;
  --card: #ffffff;
  --text: #1a1a19;
  --text-slab: #75756f;
  --text-sters: #a3a39c;
  --linie: #eceae5;
  --verde: #16a34a;
  --verde-inchis: #15803d;
  --verde-clar: #22c55e;
  --verde-fond: #e8f7ee;
  --albastru: #3b82f6;
  --chihlimbar: #f59e0b;
  --mov: #a855f7;
  --rosu: #e11d48;
  --umbra: 0 1px 2px rgba(24,24,20,.05), 0 6px 18px rgba(24,24,20,.045);
  --umbra-erou: 0 8px 26px rgba(22,163,74,.28);
  --raza: 20px;
  --jos: env(safe-area-inset-bottom, 0px);
  --sus: env(safe-area-inset-top, 0px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --fundal: #101113;
    --card: #1a1c1f;
    --text: #ececea;
    --text-slab: #9b9b96;
    --text-sters: #6d6d69;
    --linie: #2a2d31;
    --verde-fond: #16301f;
    --umbra: 0 1px 2px rgba(0,0,0,.4);
    --umbra-erou: 0 8px 26px rgba(0,0,0,.45);
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--fundal);
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  padding-bottom: calc(78px + var(--jos));
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 640; letter-spacing: -0.02em; }

.simboluri { display: none; }
svg use, symbol { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- ANTET ---------- */

.antet {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--fundal);
  padding: 10px 18px 12px;
  padding-top: calc(14px + var(--sus));
}
.antet h1 { font-size: 26px; }
.subtitlu {
  background: none; border: none; padding: 1px 0 0;
  font: inherit; font-size: 13.5px; font-weight: 500;
  color: var(--text-slab); cursor: pointer; display: block;
  letter-spacing: -0.005em;
}
.nav-zile { display: flex; gap: 7px; flex-shrink: 0; }
.buton-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: none;
  background: var(--card);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--umbra);
}
.buton-icon svg { width: 19px; height: 19px; }
.buton-icon:disabled { opacity: .32; }
.buton-icon:active { transform: scale(.93); }

/* ---------- LAYOUT ---------- */

main { padding: 2px 16px 28px; max-width: 620px; margin: 0 auto; }
.vedere { display: none; }
.vedere.activa { display: block; animation: intra .22s ease-out; }
@keyframes intra { from { opacity: 0; transform: translateY(8px); } }

.card {
  background: var(--card);
  border-radius: var(--raza);
  padding: 18px;
  margin-bottom: 12px;
  box-shadow: var(--umbra);
}
.card-centrat { text-align: center; padding: 40px 20px; }
.card-accent { background: var(--verde-fond); box-shadow: none; }
.card-cautare { padding: 12px; margin-bottom: 10px; }

.titlu-card { font-size: 17px; margin-bottom: 4px; }
.cap-card { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.cap-card h2 { font-size: 17px; }
.cap-sectiune {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 22px 4px 10px;
}
.cap-sectiune h2 { font-size: 17px; }
.valoare-mica { font-size: 13.5px; color: var(--text-slab); font-weight: 500; }
.ajutor { color: var(--text-slab); font-size: 13.5px; margin: 8px 0 0; line-height: 1.5; }
.ajutor.subsol { padding: 6px 4px 10px; color: var(--text-sters); font-size: 12.5px; }
.etaj { display: block; margin-top: 14px; }
.lista-sfat { margin: 10px 0 0; padding-left: 19px; color: var(--text-slab); font-size: 14px; }
.lista-sfat li { margin-bottom: 7px; }

/* ---------- CARDUL PRINCIPAL ---------- */

.erou {
  background: linear-gradient(158deg, #22c55e 0%, #16a34a 52%, #15803d 100%);
  border-radius: 26px;
  padding: 26px 20px 18px;
  margin-bottom: 12px;
  color: #fff;
  box-shadow: var(--umbra-erou);
  text-align: center;
}
.inel-container { position: relative; width: 178px; height: 178px; margin: 0 auto; }
.inel { width: 100%; height: 100%; transform: rotate(-90deg); }
.inel circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.inel-fundal { stroke: rgba(255,255,255,.26); }
.inel-progres {
  stroke: #fff;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset .7s cubic-bezier(.3,.9,.3,1);
}
.inel-progres.depasit { stroke: #fecdd3; }
.inel-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.inel-text strong { font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.inel-text span { font-size: 12.5px; opacity: .82; margin-top: 5px; font-weight: 500; }

.erou-jos {
  display: flex; align-items: center; justify-content: center;
  gap: 26px; margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 14px;
}
.erou-jos > div { display: flex; flex-direction: column; }
.erou-jos strong { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.erou-jos span { font-size: 11.5px; opacity: .8; }
.erou-linie { width: 1px; height: 26px; background: rgba(255,255,255,.24); }

/* ---------- MACRONUTRIENȚI ---------- */

.macrouri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 12px; }
.macro-card {
  background: var(--card);
  border-radius: 17px;
  padding: 14px 12px 13px;
  box-shadow: var(--umbra);
}
.macro-val { font-size: 13px; color: var(--text-slab); }
.macro-val strong { font-size: 22px; color: var(--text); font-weight: 660; letter-spacing: -0.03em; margin-right: 1px; }
.macro-nume { font-size: 12px; color: var(--text-slab); margin: 1px 0 9px; font-weight: 500; }
.macro-rest { font-size: 11.5px; color: var(--text-sters); margin-top: 7px; }

.bara { height: 6px; background: var(--linie); border-radius: 99px; overflow: hidden; }
.bara-umplere { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .55s cubic-bezier(.3,.9,.3,1); }
[data-macro="proteine"] .bara-umplere { background: var(--albastru); }
[data-macro="carbo"]    .bara-umplere { background: var(--chihlimbar); }
[data-macro="grasimi"]  .bara-umplere { background: var(--mov); }
.bara-umplere.peste { background: var(--rosu) !important; }

/* ---------- PAHARE DE APĂ ---------- */

/* grilă, nu flex-wrap: altfel paharele de pe ultimul rând se lățesc */
.pahare { display: grid; gap: 7px; }
.pahar {
  width: 100%;
  aspect-ratio: 1;
  display: grid; place-items: center;
  border: none;
  background: var(--fundal);
  color: var(--text-sters);
  border-radius: 13px;
  cursor: pointer;
  transition: background .2s, color .2s, transform .12s;
}
.pahar svg { width: 21px; height: 21px; }
.pahar.plin { background: #e0f2fe; color: #0284c7; }
.pahar.plin svg use { fill: currentColor; stroke: currentColor; }
.pahar:active { transform: scale(.9); }
@media (prefers-color-scheme: dark) {
  .pahar.plin { background: #0c2b3f; color: #38bdf8; }
}

/* ---------- BUTOANE ---------- */

.buton {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 15px 18px;
  border: none;
  border-radius: 15px;
  font: inherit;
  font-weight: 620;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.buton .ico { width: 19px; height: 19px; flex-shrink: 0; }
.buton.principal { background: var(--verde); color: #fff; box-shadow: 0 4px 14px rgba(22,163,74,.26); }
.buton.principal:active { background: var(--verde-inchis); transform: scale(.985); }
.buton.secundar { background: var(--card); color: var(--text); box-shadow: var(--umbra); }
.card .buton.secundar { background: var(--fundal); box-shadow: none; }
.buton.pericol { background: transparent; color: var(--rosu); box-shadow: inset 0 0 0 1.5px var(--rosu); }
.buton.text { background: none; color: var(--text-slab); font-weight: 550; }
.buton:disabled { opacity: .45; pointer-events: none; }
.buton + .buton { margin-top: 9px; }
.rand-butoane { display: flex; gap: 9px; align-items: stretch; }
.rand-butoane > * { flex: 1; margin-top: 0 !important; }
.actiuni-rapide { margin-top: 18px; }

.cerc-mare {
  width: 74px; height: 74px; margin: 4px auto 16px;
  display: grid; place-items: center;
  background: var(--verde-fond); color: var(--verde);
  border-radius: 50%;
}
.cerc-mare svg { width: 33px; height: 33px; }
.card-camera { text-align: center; padding: 26px 18px 18px; }
.card-camera h2 { font-size: 19px; }
.card-camera .ajutor { margin-bottom: 18px; }

/* ---------- CÂMPURI ---------- */

.camp {
  width: 100%;
  padding: 13px 15px;
  border: none;
  box-shadow: inset 0 0 0 1.5px var(--linie);
  border-radius: 13px;
  background: var(--fundal);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.card .camp { background: var(--fundal); }
.camp:focus { outline: none; box-shadow: inset 0 0 0 2px var(--verde); }
.camp-cautare { font-size: 16.5px; padding: 14px 16px; box-shadow: none; }
label { font-size: 13px; color: var(--text-slab); font-weight: 550; }
label .camp { margin-top: 6px; }
.grila-formular { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }

/* ---------- MESE ---------- */

.masa {
  background: var(--card);
  border-radius: 17px;
  padding: 11px 14px 11px 11px;
  margin-bottom: 8px;
  box-shadow: var(--umbra);
  display: flex;
  align-items: center;
  gap: 12px;
}
.masa-poza {
  width: 50px; height: 50px;
  border-radius: 13px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--fundal);
}
.masa-simbol {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--fundal);
  font-size: 24px;
  flex-shrink: 0;
}
.masa-info { flex: 1; min-width: 0; }
.masa-nume {
  font-weight: 590; font-size: 15px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.masa-detalii {
  font-size: 12.5px; color: var(--text-slab); margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.masa-kcal { font-weight: 680; font-size: 16px; white-space: nowrap; letter-spacing: -0.02em; }
.masa-kcal small { font-weight: 500; font-size: 11px; color: var(--text-sters); display: block; text-align: right; }
.masa-sterge {
  background: none; border: none; color: var(--text-sters);
  font-size: 20px; cursor: pointer; padding: 2px 0 2px 4px; line-height: 1;
  flex-shrink: 0;
}
.gol {
  text-align: center; color: var(--text-slab);
  padding: 30px 18px; font-size: 14px;
  background: var(--card); border-radius: var(--raza);
  box-shadow: var(--umbra);
}

/* ---------- CĂUTARE ALIMENTE ---------- */

.chipsuri { display: flex; gap: 7px; overflow-x: auto; margin-bottom: 12px; padding: 2px 0 4px; }
.chipsuri::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  padding: 8px 15px;
  border-radius: 99px;
  border: none;
  background: var(--card);
  color: var(--text-slab);
  font: inherit;
  font-size: 13.5px; font-weight: 520;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--umbra);
}
.chip.activ { background: var(--text); color: var(--fundal); }

.aliment {
  display: flex; align-items: center; gap: 12px;
  background: var(--card);
  padding: 12px 15px 12px 11px;
  border-radius: 16px;
  margin-bottom: 8px;
  cursor: pointer;
  box-shadow: var(--umbra);
}
.aliment:active { transform: scale(.99); }
.aliment-simbol {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--fundal); font-size: 20px; flex-shrink: 0;
}
.aliment-info { flex: 1; min-width: 0; }
.aliment-nume { font-size: 14.5px; font-weight: 560; }
.aliment-macro { font-size: 12.5px; color: var(--text-slab); margin-top: 1px; }
.aliment-kcal { font-weight: 640; font-size: 15px; white-space: nowrap; letter-spacing: -0.02em; }
.aliment-kcal small { display: block; font-weight: 500; font-size: 10.5px; color: var(--text-sters); text-align: right; }

/* ---------- CAMERĂ ---------- */

.previzualizare {
  width: 100%;
  max-height: 44vh;
  object-fit: cover;
  border-radius: 16px;
  background: var(--fundal);
  margin-bottom: 14px;
  display: block;
}

.rotitor {
  width: 38px; height: 38px; margin: 0 auto 18px;
  border: 3px solid var(--linie);
  border-top-color: var(--verde);
  border-radius: 50%;
  animation: roteste .8s linear infinite;
}
@keyframes roteste { to { transform: rotate(360deg); } }

.rand-aliment {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--linie);
}
.rand-aliment:last-of-type { border-bottom: none; }
.rand-aliment-info { flex: 1; min-width: 0; }
.rand-aliment-nume { font-size: 14.5px; font-weight: 570; }
.rand-aliment-sub { font-size: 12.5px; color: var(--text-slab); margin-top: 2px; }
.cantitate { display: flex; align-items: center; gap: 4px; }
.cantitate input {
  width: 62px; padding: 8px 9px; font-size: 14px; font-weight: 550;
  border: none; box-shadow: inset 0 0 0 1.5px var(--linie); border-radius: 10px;
  background: var(--fundal); color: var(--text);
  text-align: right;
}
.cantitate small { color: var(--text-sters); font-size: 12px; width: 15px; }

.semn {
  display: inline-block;
  font-size: 10px; font-weight: 640;
  padding: 2px 7px; border-radius: 6px;
  margin-left: 7px; vertical-align: 2px;
  letter-spacing: .01em;
}
.semn-mare  { background: var(--verde-fond); color: var(--verde); }
.semn-medie { background: #fef3c7; color: #92400e; }
.semn-mica  { background: #ffe4e6; color: var(--rosu); }
@media (prefers-color-scheme: dark) {
  .semn-medie { background: #3a2e0c; color: #fbbf24; }
  .semn-mica  { background: #3d1420; color: #fb7185; }
}

.total-rand {
  display: flex; justify-content: space-between; align-items: baseline;
  font-weight: 700; font-size: 19px; letter-spacing: -0.02em;
  padding-top: 15px; margin-top: 6px;
  border-top: 2px solid var(--linie);
}

/* ---------- SFATURI ---------- */

.sfat {
  background: var(--card);
  border-radius: 17px;
  padding: 15px 16px 15px 17px;
  margin-bottom: 9px;
  box-shadow: var(--umbra);
  position: relative;
  overflow: hidden;
}
.sfat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--text-sters); }
.sfat-bine::before        { background: var(--verde); }
.sfat-avertisment::before { background: var(--chihlimbar); }
.sfat-alerta::before      { background: var(--rosu); }
.sfat-info::before        { background: var(--albastru); }
.sfat h3 { font-size: 15px; margin-bottom: 4px; }
.sfat p { margin: 0; font-size: 14px; color: var(--text-slab); line-height: 1.52; }

/* ---------- PROFIL ---------- */

.rezultat-rand {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--linie);
  font-size: 14.5px;
}
.rezultat-rand:last-child { border-bottom: none; padding-bottom: 0; }
.rezultat-rand span:first-child { color: var(--text-slab); }
.rezultat-rand strong { font-weight: 620; text-align: right; }
.insigna { font-size: 12px; padding: 3px 9px; border-radius: 7px; font-weight: 600; }
.insigna.bine { background: var(--verde-fond); color: var(--verde); }
.insigna.avertisment { background: #fef3c7; color: #92400e; }
.insigna.alerta { background: #ffe4e6; color: var(--rosu); }
@media (prefers-color-scheme: dark) {
  .insigna.avertisment { background: #3a2e0c; color: #fbbf24; }
  .insigna.alerta { background: #3d1420; color: #fb7185; }
}

.grafic { display: flex; align-items: flex-end; gap: 3px; height: 88px; margin-top: 16px; }
.grafic-bara { flex: 1; background: var(--verde); border-radius: 4px 4px 2px 2px; min-height: 4px; opacity: .9; }
.grafic-etichete { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-slab); margin-top: 7px; }

/* ---------- BARA DE JOS ---------- */

.bara-jos {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid var(--linie);
  padding-bottom: var(--jos);
  z-index: 30;
}
.tab {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 10px 2px 8px;
  border: none; background: none;
  color: var(--text-sters);
  font: inherit; font-size: 10.5px; font-weight: 550;
  cursor: pointer;
  transition: color .18s;
}
.tab svg { width: 23px; height: 23px; }
.tab.activ { color: var(--verde); }
.tab.activ svg use { stroke-width: 2.1; }
.tab:active { transform: scale(.94); }

/* ---------- MODAL ---------- */

.fundal-modal {
  position: fixed; inset: 0;
  background: rgba(15,15,12,.5);
  z-index: 50;
  display: flex; align-items: flex-end;
  animation: estompeaza .2s ease-out;
  backdrop-filter: blur(3px);
}
@keyframes estompeaza { from { opacity: 0; } }
.modal {
  background: var(--card);
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  border-radius: 26px 26px 0 0;
  padding: 10px 18px calc(20px + var(--jos));
  max-height: 90vh;
  overflow-y: auto;
  animation: urca .26s cubic-bezier(.2,.85,.3,1);
}
@keyframes urca { from { transform: translateY(100%); } }
.modal::before {
  content: ""; display: block;
  width: 38px; height: 4px; border-radius: 99px;
  background: var(--linie); margin: 0 auto 16px;
}
.modal h2 { font-size: 20px; margin-bottom: 3px; }
.modal .sub { color: var(--text-slab); font-size: 13.5px; margin: 0 0 16px; }
.portii { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.portie {
  padding: 9px 14px; border-radius: 99px; border: none;
  background: var(--fundal); color: var(--text);
  font: inherit; font-size: 13.5px; font-weight: 530;
  cursor: pointer;
}
.portie.aleasa { background: var(--verde); color: #fff; }
.caseta-total {
  background: var(--fundal);
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 16px;
}
.caseta-total .total-rand { border: none; padding: 0; margin: 0; }

/* ---------- CĂUTARE CU SCANARE ---------- */

.rand-cautare { display: flex; gap: 9px; align-items: stretch; }
.rand-cautare .camp-cautare { flex: 1; }
.buton-patrat {
  width: 48px; flex-shrink: 0;
  display: grid; place-items: center;
  border: none; border-radius: 13px;
  background: var(--verde-fond); color: var(--verde);
  cursor: pointer;
}
.buton-patrat svg { width: 23px; height: 23px; }
.buton-patrat:active { transform: scale(.94); }

.video-scaner {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 16px;
  background: #000;
  margin-bottom: 6px;
}

/* ---------- SEGMENTE ---------- */

.segmente {
  display: flex; gap: 4px;
  background: var(--card);
  border-radius: 13px;
  padding: 4px;
  margin-bottom: 12px;
  box-shadow: var(--umbra);
}
.segmente button {
  flex: 1;
  padding: 9px;
  border: none; border-radius: 10px;
  background: none; color: var(--text-slab);
  font: inherit; font-size: 14px; font-weight: 570;
  cursor: pointer;
}
.segmente button.activ { background: var(--verde); color: #fff; }

.link-mic {
  background: none; border: none;
  color: var(--verde); font: inherit;
  font-size: 13.5px; font-weight: 570;
  cursor: pointer; padding: 0;
}

/* ---------- BARA MESEI COMPUSE ---------- */

.bara-cos {
  position: fixed;
  bottom: calc(70px + var(--jos));
  left: 12px; right: 12px;
  max-width: 596px;
  margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  background: var(--text);
  color: var(--fundal);
  border-radius: 16px;
  padding: 11px 12px 11px 15px;
  z-index: 29;
  box-shadow: 0 8px 26px rgba(0,0,0,.28);
  animation: intra .22s ease-out;
}
.bara-cos .ico { width: 21px; height: 21px; flex-shrink: 0; }
.cos-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cos-text strong { font-size: 14px; font-weight: 600; }
.cos-text span { font-size: 12px; opacity: .7; }
.buton-cos {
  border: none; border-radius: 11px;
  background: var(--verde); color: #fff;
  font: inherit; font-size: 13.5px; font-weight: 620;
  padding: 9px 15px; cursor: pointer;
  flex-shrink: 0;
}

/* ---------- GRAFICUL PE ZILE ---------- */

.grafic-zile {
  position: relative;
  display: flex; align-items: flex-end; gap: 3px;
  margin: 6px 0 14px;
  padding-bottom: 18px;
}
.col-zi {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  height: 100%;
  position: relative;
}
.col-bara {
  width: 100%;
  background: var(--verde);
  border-radius: 4px 4px 2px 2px;
  min-height: 2px;
}
.col-bara.peste { background: var(--chihlimbar); }
.col-bara.goala { background: var(--linie); }
.col-zi span {
  position: absolute; bottom: -17px;
  font-size: 10px; color: var(--text-sters);
}
.linia-tinta {
  position: absolute; left: 0; right: 0;
  border-top: 1.5px dashed var(--text-sters);
  opacity: .55;
  margin-bottom: 18px;
}

/* ---------- MOTIVUL UNEI RECOMANDĂRI ---------- */

.motiv-recomandare {
  font-size: 12px;
  color: var(--verde);
  margin-top: 4px;
  line-height: 1.4;
}
@media (prefers-color-scheme: dark) { .motiv-recomandare { color: #4ade80; } }

/* ---------- ECRAN DE AVARIE ---------- */

.ecran-avarie {
  position: fixed; inset: 0;
  z-index: 100;
  background: var(--fundal);
  padding: 28px 22px;
  padding-top: calc(60px + var(--sus));
  overflow-y: auto;
}
.ecran-avarie h2 { font-size: 22px; margin-bottom: 12px; }
.ecran-avarie p { font-size: 15px; color: var(--text-slab); line-height: 1.55; margin: 0 0 16px; }
.ecran-avarie .detaliu { font-size: 13px; color: var(--text-sters); word-break: break-word; }
.ecran-avarie .buton { margin-bottom: 16px; }

/* ---------- NOTIFICARE ---------- */

.notificare {
  position: fixed;
  bottom: calc(90px + var(--jos));
  left: 50%; transform: translateX(-50%);
  background: #1a1a19;
  color: #fff;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 550;
  z-index: 60;
  max-width: 88vw;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0,0,0,.3);
  animation: intra .22s ease-out;
}
.notificare.eroare { background: var(--rosu); }
