/* Klacska hibabejelentő – önálló, keretrendszer nélküli megjelenés. */
:root {
  --green: #0c6352;
  --dark: #163e35;
  --ink: #20332e;
  --muted: #6a7873;
  --line: #e1e7e3;
  --paper: #ffffff;
  --background: #f4f6f4;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--background);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--green); }
button, input, select, textarea { font: inherit; }
button, input, select, textarea { border: 1px solid #cdd8d2; border-radius: 7px; padding: 11px 13px; }
button { background: white; color: var(--ink); cursor: pointer; font-weight: 600; }
button:hover { background: #edf3ef; }
button:disabled { cursor: not-allowed; opacity: .5; }
button.primary { background: var(--green); color: white; border-color: var(--green); }
button.primary:hover { background: var(--dark); }
:focus-visible { outline: 3px solid #75b5a1; outline-offset: 3px; }
input, select, textarea { background: white; color: var(--ink); min-width: 0; width: 100%; }
textarea { resize: vertical; line-height: 1.6; }
input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--green); }
label { display: flex; flex-direction: column; gap: 9px; font-size: 14px; font-weight: 600; }
h1 { margin: 6px 0 10px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.7px; }
h2 { margin: 0; font-size: 18px; }
h3 { font-size: 16px; }
p { color: var(--muted); line-height: 1.65; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 244px; background: white; border-right: 1px solid var(--line); padding: 34px 22px 22px; display: flex; flex-direction: column; }
.brand { font-size: 37px; font-weight: 900; font-style: italic; letter-spacing: -2px; text-decoration: none; }
.brand small { display: block; font-size: 10px; letter-spacing: 2.5px; font-style: normal; margin-top: 5px; }
.nav-caption { font-size: 10px; letter-spacing: 1.4px; margin: 46px 0 15px; }
nav { display: grid; gap: 8px; }
nav button { text-align: left; border: 0; font-size: 14px; padding: 14px 11px; }
nav button.active { background: #e9f3ed; color: var(--green); }
.safety { padding: 18px 15px; background: #f3f6f3; border-radius: 9px; margin-top: 38px; font-size: 12px; }
.safety p { margin: 8px 0 0; }
.account { margin-top: auto; padding-top: 25px; display: grid; gap: 6px; font-size: 13px; overflow-wrap: anywhere; }
.account span { color: var(--muted); font-size: 12px; }
.account a { margin-top: 9px; }
.workspace { margin-left: 244px; }
.topbar { height: 74px; display: flex; justify-content: space-between; align-items: center; padding: 0 38px; border-bottom: 1px solid var(--line); background: white; font-size: 12px; color: var(--muted); gap: 20px; }
.topbar b { margin-left: 12px; font-weight: 500; color: var(--ink); }
main { max-width: 1450px; padding: 35px 38px 50px; margin: auto; }
.heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.heading p { margin: 0; font-size: 14px; }
p.eyebrow { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.8px; margin-bottom: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.stat { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: white; }
.stat span { font-size: 12px; color: var(--muted); }
.stat strong { display: block; font-size: 32px; margin-top: 12px; font-weight: 600; }
.panel { background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.panel-heading { padding: 21px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.panel-heading button { font-size: 12px; }
.filters { padding: 0 24px 24px; display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 12px; align-items: end; }
.filters label { font-size: 12px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th { text-align: left; color: var(--muted); font-size: 11px; background: #fafbf9; font-weight: 600; white-space: nowrap; }
th, td { border-bottom: 1px solid var(--line); padding: 17px 22px; }
td small { display: block; color: var(--muted); margin-top: 7px; }
.report-link { border: none; padding: 0; background: transparent; text-align: left; }
.report-link small { margin: 0 0 5px; color: var(--green); font-size: 10px; }
.badge { display: inline-block; font-size: 11px; background: #eef1ef; border-radius: 5px; padding: 6px 9px; white-space: nowrap; }
.badge.new { background: #e7f2ec; color: #216443; }
.badge.progress { background: #eaf1fa; color: #3d6090; }
.badge.waiting { background: #fff3df; color: #86641c; }
.badge.critical, .badge.high { background: #fff0ea; color: #a34129; }
.empty { text-align: center; padding: 55px 20px; }
.empty > span { font-size: 34px; color: #7b9f8c; }
.empty p { max-width: 450px; margin: auto; font-size: 13px; }
.panel-footer { padding: 16px 24px; font-size: 11px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 35px; }
.steps div { display: grid; grid-template-columns: 35px 1fr; gap: 7px 13px; font-size: 13px; }
.steps b { grid-row: span 2; color: #8b9c92; font-size: 20px; }
.steps span { color: var(--muted); font-size: 12px; }
.notice, .message { border: 1px solid #e7d5a6; background: #fffaf0; color: #665221; padding: 16px 19px; border-radius: 8px; font-size: 13px; line-height: 1.65; margin: 0 0 24px; }
.message { border-color: #e6b5ae; background: #fff2ef; color: #863b2e; }
.message.success { border-color: #a7caba; background: #ebf7f0; color: #24583e; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
.wide { grid-column: 1 / -1; }
.form-section { margin-bottom: 22px; padding: 26px; }
.form-section h2 { margin-bottom: 25px; }
.form-section h2 > span { color: #8ba595; font-size: 13px; margin-right: 10px; }
.form-section > p { font-size: 13px; }
.checklist label { display: grid; grid-template-columns: 1fr 220px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
fieldset { margin: 0 0 20px; padding: 15px; border: 1px solid var(--line); border-radius: 6px; min-width: 0; }
legend { font-weight: 600; font-size: 14px; }
.wheel-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 13px 0; font-size: 12px; }
.wheel-row label { flex-direction: row; align-items: center; font-size: 11px; font-weight: 400; gap: 4px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: flex-end; margin: 20px 0; }
.actions p { margin-right: auto; font-size: 12px; max-width: 450px; }
dl { margin: 0 0 22px; }
dt { color: var(--muted); font-size: 12px; margin-bottom: 7px; }
dd { margin: 0; font-weight: 600; font-size: 14px; }
.preserve { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.timeline { padding: 25px; }
.timeline li { line-height: 1.8; margin-bottom: 15px; font-size: 13px; }
.timeline small { display: block; color: var(--muted); }
.print-value { display: none; }
footer { border-top: 1px solid var(--line); padding: 22px 38px; display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; gap: 16px; }
@media (max-width: 1100px) {
  .sidebar { width: 215px; }
  .workspace { margin-left: 215px; }
  main { padding: 25px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .sidebar { position: static; width: 100%; padding: 20px; border-right: 0; }
  .brand { font-size: 29px; }
  .nav-caption, .safety { display: none; }
  nav { display: flex; flex-wrap: wrap; margin-top: 17px; gap: 4px; }
  nav button { font-size: 12px; padding: 11px; }
  .account { padding-top: 14px; grid-template-columns: 1fr auto; }
  .account a { margin: 0; grid-row: 1 / 3; grid-column: 2; align-self: center; }
  .workspace { margin-left: 0; }
  .topbar { padding: 14px 20px; height: auto; flex-wrap: wrap; gap: 8px; }
  main { padding: 24px 16px; }
  .heading { align-items: flex-start; flex-direction: column; }
  .heading p { font-size: 13px; }
  .stats { gap: 10px; }
  .stat { padding: 17px; }
  .filters { padding: 0 16px 20px; }
  .filters label:first-child { grid-column: 1 / -1; }
  .filters button { grid-column: 1 / -1; }
  .panel-heading { padding: 20px 16px; }
  .panel-heading h2 { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .form-section { padding: 20px 16px; }
  .checklist label { grid-template-columns: 1fr; gap: 9px; }
  .actions button { width: 100%; }
  footer { padding: 20px; flex-direction: column; }
}
@media print {
  @page { size: A4; margin: 14mm; }
  body { background: white; color: black; }
  .no-print, button, footer { display: none !important; }
  .workspace { margin: 0; }
  main { padding: 0; max-width: none; }
  .panel { border: 1px solid #ccc; break-inside: avoid; margin-bottom: 14px; }
  .form-section { padding: 15px; }
  h1 { font-size: 25px; }
  h2 { font-size: 17px; }
  .grid { grid-template-columns: 1fr 1fr; }
  textarea { display: none; }
  .print-value { display: block; white-space: pre-wrap; overflow-wrap: anywhere; font-weight: 400; }
  input, select { border: none; padding: 5px 0; appearance: none; opacity: 1; }
  .heading { margin-bottom: 20px; }
  .checklist label { grid-template-columns: 1fr 200px; }
}
/* Saját fiókok és belépőoldalak. */
.auth-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(100%, 470px); background: white; border: 1px solid var(--line); padding: 34px; border-radius: 12px; box-shadow: 0 12px 40px #163e3508; }
.auth-card .brand { display: block; margin-bottom: 35px; }
.auth-card h1 { font-size: 27px; }
.auth-card p { font-size: 14px; }
.auth-card form { display: grid; gap: 20px; margin-top: 28px; }
.auth-card button { width: 100%; }
.auth-card > a { display: inline-block; margin-top: 20px; }
.reset-button { font-size: 11px; margin-top: 8px; }
.audit-panel { margin-top: 25px; }
#security-list { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .account #account-link { grid-row: 3; grid-column: 1 / -1; }
  .auth-card { padding: 25px; }
}
