/* Raport KDC Termice: stilul aplicației. Culorile și fonturile vin din Fișa utilajului (app.css, f02ddc7),
   așezarea din macheta aprobată (05.11.2026). */
:root {
  --bg: #E2E5E8; --panel: #F1F3F4; --paper: #FFFFFF;
  --ink: #121519; --ink-2: #48505A; --ink-3: #5E6771;
  --line: #C4CAD0; --line-strong: #767F88;
  --accent: #F2B400; --accent-edge: #B98A00; --accent-tint: #FFF4CC; --on-accent: #111213;
  --pen: #1C3FAA; --pen-tint: #E2E8FA;
  --miss: #B3261E; --miss-tint: #FBE3E0; --ok: #1E6B35; --ok-tint: #DDF1E2;
  --f-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Barlow", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-text); font-size: 16px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--pen); }
[hidden] { display: none !important; }

.cap { background: var(--ink); color: #fff; padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.cap .eticheta { font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.cap h1 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 28px; line-height: 1.1; }
.cap .sub { font-size: 15px; color: #D3D8DC; }
.cap .rand { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.cap .zi { display: flex; gap: 6px; }
.cap .zi button { min-width: 44px; min-height: 40px; border-radius: 10px; border: 1px solid #454B52; background: #1F2328; color: #fff; }

nav.taburi { display: flex; gap: 4px; padding: 6px 8px; background: var(--panel); border-bottom: 1px solid var(--line); overflow-x: auto; }
nav.taburi button { flex: 1 0 auto; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid transparent; background: transparent; font-weight: 600; color: var(--ink-2); }
nav.taburi button[aria-current="page"] { background: var(--paper); border-color: var(--line); color: var(--ink); }

main { max-width: 760px; margin: 0 auto; padding: 12px 12px 120px; display: flex; flex-direction: column; gap: 12px; }
main.lat { max-width: 1240px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.card h2 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 21px; }
.card h3 { margin: 0; font-size: 16px; }
.mic { font-size: 14px; color: var(--ink-3); }
.nota { padding: 10px 12px; border-radius: 12px; background: var(--pen-tint); color: var(--pen); font-weight: 600; font-size: 15px; }
.nota.rau { background: var(--miss-tint); color: var(--miss); }
.nota.bine { background: var(--ok-tint); color: var(--ok); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 6px 12px; border-radius: 10px; border: 2px solid var(--line); background: var(--paper); font-weight: 600; font-size: 15px; text-align: left; }
.chip.mare { font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.chip[aria-pressed="true"] { background: var(--accent-tint); border-color: var(--accent-edge); }
.chip.punctat { border-style: dashed; border-color: var(--line-strong); color: var(--ink-2); background: transparent; }
.ore { display: flex; gap: 6px; }
.ore .chip { flex: 1; text-align: center; font-family: var(--f-display); font-weight: 700; font-size: 20px; padding: 0; }

label.camp { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-3); }
input[type="text"], input[type="tel"], input[type="number"], input[type="password"], input[type="date"], input[type="month"], select, textarea {
  min-height: 46px; padding: 8px 12px; border-radius: 10px; border: 2px solid var(--line); background: var(--paper); font-size: 16px; color: var(--ink); width: 100%;
}
textarea { resize: vertical; line-height: 1.35; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 3px solid var(--pen); outline-offset: 1px; }
.bifa { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; color: var(--ink); }
.bifa input { width: 22px; height: 22px; margin: 0; }

.buton { min-height: 48px; padding: 0 16px; border-radius: 12px; border: 2px solid var(--line-strong); background: var(--paper); font-weight: 700; font-size: 16px; }
.buton.principal { border-color: var(--accent-edge); background: var(--accent); color: var(--on-accent); font-family: var(--f-display); font-size: 21px; }
.buton.albastru { border-color: var(--pen); color: var(--pen); }
.buton.punctat { border-style: dashed; color: var(--ink-2); background: transparent; }
.buton-link { display: flex; align-items: center; justify-content: center; text-decoration: none; color: inherit; }
.buton.link { border: none; background: transparent; color: var(--pen); text-decoration: underline; font-weight: 600; min-height: 44px; }
.butoane { display: flex; gap: 8px; flex-wrap: wrap; }
.butoane > * { flex: 1 1 140px; }

.jos { position: fixed; left: 0; right: 0; bottom: 0; background: var(--panel); border-top: 1px solid var(--line); padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); }
.jos .interior { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.rezumat { font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.mesaj { font-size: 15px; }
.mesaj.eroare { color: var(--miss); font-weight: 600; }
.mesaj.atentie { color: #A64B06; }

.linie-titlu { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pastila { display: inline-block; padding: 3px 10px; border-radius: 8px; font-size: 14px; font-weight: 700; background: var(--panel); color: var(--ink-2); }
.pastila.trimis { background: var(--accent-tint); color: #6B4E00; }
.pastila.validat { background: var(--ok-tint); color: var(--ok); }
.pastila.lipsa, .pastila.inapoi { background: var(--miss-tint); color: var(--miss); }
.pastila.liber { background: var(--pen-tint); color: var(--pen); }
.om { display: flex; flex-direction: column; gap: 6px; }
.om .rand-sus { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.om .lucrare { font-size: 15px; }
.om .lucrare b { font-weight: 700; }
.om .detalii { font-size: 15px; color: var(--ink-2); }

.tabel { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 900px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--bg); text-align: left; vertical-align: top; }
th { background: var(--panel); position: sticky; top: 0; }
td.n, th.n { text-align: right; white-space: nowrap; }
.propus { color: var(--pen); }
.grupe { display: flex; flex-wrap: wrap; gap: 12px; }
.grupe .card { flex: 1 1 260px; min-width: 0; }
.total { font-family: var(--f-display); font-weight: 700; font-size: 22px; }

.intrare { max-width: 420px; margin: 40px auto; padding: 0 12px; }
.pin { letter-spacing: .3em; font-size: 22px; text-align: center; }
.ascuns-vizual { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
