/* v1.6: constatările (app/findings.js), fișele de conduită și statisticile pauzelor (app/office/conduct.js, breaks.js). Compact, fără derulare laterală. */
.fx { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fx.hall { padding: 12px 14px 90px; }
.fx-h { font-size: 19px; margin: 2px 0 4px; display: flex; align-items: center; gap: 6px; }
.fx-who { font-weight: 650; color: var(--text-weak); margin-top: -4px; }
.fx-small { font-size: 12.5px; margin: 0; }
.fx-people { display: flex; flex-direction: column; gap: 6px; }
.fx-person { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; min-width: 0; }
.fx-person b { display: block; }
.fx-person small { color: var(--text-weak); font-size: 12px; }
.fx-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.fx-type { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; font: inherit; min-height: 56px; min-width: 0; }
.fx-type:hover { border-color: var(--brand); background: var(--brand-soft); }
.fx-type .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--amber-bg); color: var(--amber-text); display: flex; align-items: center; justify-content: center; flex: none; }
.fx-type.poz .ic { background: var(--green-bg); color: var(--green-text); }
.fx-type b { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.fx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-chip { border: 1px solid var(--border-strong); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; text-align: left; line-height: 1.3; max-width: 100%; }
.fx-chip.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); font-weight: 650; }
.fx-tm { display: flex; gap: 6px; align-items: flex-start; min-width: 0; }
.fx-tm > :first-child { flex: 1; min-width: 0; }
.fx-big { font-size: 15.5px; }
.fx-mic { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border-strong); background: #fff; font: inherit; font-weight: 650; font-size: 13px; cursor: pointer; color: var(--text); touch-action: none; user-select: none; -webkit-user-select: none; }
.fx-mic.sm { height: 32px; padding: 0 9px; }
.fx-mic.on { background: #c8241c; border-color: #c8241c; color: #fff; animation: fxpulse 1.2s infinite; }
@keyframes fxpulse { 50% { box-shadow: 0 0 0 6px rgba(200, 36, 28, .18); } }
.fx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 10px; }
.fx-photos { display: flex; flex-direction: column; gap: 8px; }
.fx-thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-thumb { position: relative; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.fx-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fx-thumb button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fx-bottom { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; padding-top: 6px; }
.fx.hall .fx-bottom { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--border); z-index: 20; }
.fx.hall .fx-bottom .btn { flex: 1; }
.fx-card { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.fx-card-h { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.fx-card-h small { color: var(--text-faint); }
.fx-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fx-ok { color: var(--green-text); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.fx-quote { padding: 8px 12px; border-left: 3px solid var(--brand); background: var(--bg-soft); border-radius: 0 8px 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.fx-acks { display: flex; flex-direction: column; gap: 8px; }
.fx-ack { padding: 14px 16px; border-radius: 12px; border: 2px solid var(--border-strong); background: #fff; font: inherit; font-size: 16px; font-weight: 650; text-align: left; cursor: pointer; }
.fx-ack.green.on { border-color: var(--green); background: var(--green-bg); color: var(--green-text); }
.fx-ack.amber.on { border-color: var(--amber); background: var(--amber-bg); color: var(--amber-text); }
.fx-ack.red.on { border-color: var(--red); background: var(--red-bg); color: var(--red-text); }
.fx-strip { display: flex; flex-wrap: wrap; gap: 4px; }
.fx-strip img { object-fit: cover; border-radius: 6px; border: 1px solid var(--border); display: block; }
.fx-docs { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 12.5px; }
.fx-clip { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; }
.fx-clip2 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fx-poz { color: var(--green-text); }
.fx-detail { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.kv-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; font-size: 13px; }
.kv-row > span { color: var(--text-weak); }
/* fișele și statisticile */
.cd-cats { margin: 4px 0 8px; }
.cd-cmp { display: flex; flex-wrap: wrap; gap: 10px; }
.cd-cmp > div { flex: 1 1 200px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; display: flex; flex-direction: column; }
.cd-cmp span { font-size: 12px; color: var(--text-weak); }
.cd-twin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 8px 0; }
.cd-bars { border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; background: #fff; min-width: 0; margin: 8px 0; }
.cd-twin .cd-bars { margin: 0; }
.cd-bars-t { font-size: 12.5px; font-weight: 650; color: var(--text-weak); margin-bottom: 6px; }
.cd-bars-row { display: flex; align-items: flex-end; gap: 3px; height: 110px; }
.cd-bar { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; }
.cd-bar i { display: block; width: 100%; background: var(--brand); border-radius: 3px 3px 0 0; min-height: 1px; opacity: .8; }
.cd-bar small { font-size: 10px; color: var(--text-faint); white-space: nowrap; overflow: hidden; max-width: 100%; }
.cd-finds { display: flex; flex-direction: column; gap: 8px; }
.cd-find { border: 1px solid var(--border); border-left: 3px solid var(--amber); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cd-find.poz { border-left-color: var(--green); }
.cd-find-h { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.cd-find-h .muted { font-size: 12px; }
.brk-stats { display: flex; flex-direction: column; gap: 8px; }
.brk-stats .seg { flex-wrap: wrap; max-width: 100%; }
.brk-stats .seg button + button { border-left: 1px solid var(--border); }
/* dosarul juridic al recunoașterii faciale */
.bio-legal { display: flex; flex-direction: column; gap: 6px; }
.bio-legal-k { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 8px 0; border-top: 1px solid var(--border-soft); }
.bio-legal-k .ok { color: var(--green); } .bio-legal-k .no { color: var(--red); } .bio-legal-k .opt { color: var(--text-faint); }
.bio-legal-k ul { margin: 4px 0 0; padding-left: 16px; font-size: 12.5px; }
.bio-legal-k li { margin: 2px 0; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .fx-grid { grid-template-columns: minmax(0, 1fr); }
  .fx-types { grid-template-columns: minmax(0, 1fr); }
  .cd-twin { grid-template-columns: minmax(0, 1fr); }
  .kv-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fx-ack { font-size: 15px; padding: 12px; }
}
/* salariatul: constatările mele, nota explicativă (portal, chioșc) */
.fe-list { display: flex; flex-direction: column; gap: 10px; }
.fe-card { display: flex; flex-direction: column; gap: 8px; }
.fe-h { display: flex; flex-direction: column; } .fe-h small { color: var(--text-weak); }
.fe-t { white-space: pre-wrap; overflow-wrap: anywhere; }
.fe-s { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 14px; color: var(--text-weak); }
.fe-a { display: flex; flex-wrap: wrap; gap: 8px; }
.fe-ne { display: flex; flex-direction: column; gap: 10px; }
.fe-ne.big .fx-chip { font-size: 16px; padding: 10px 14px; }
.fe-ne.big textarea, .fe-ne.big .inp { font-size: 17px; }
