:root {
  --bg: #f6f6f3;
  --card: #ffffff;
  --text: #1f2328;
  --muted: #6b7078;
  --line: #e2e2dc;
  --accent: #2f5d50;
  --accent-text: #ffffff;
  --danger: #a33a2b;
  --missing: #ffe58a;
  --check: #ffd2b0;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
header { display: flex; align-items: center; gap: 24px; padding: 12px 24px; background: var(--card); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand { font-weight: 700; color: var(--accent); text-decoration: none; }
nav { display: flex; align-items: center; gap: 16px; flex: 1; flex-wrap: wrap; }
nav a { color: var(--text); text-decoration: none; }
nav a:hover { color: var(--accent); }
.who { margin-left: auto; color: var(--muted); font-size: 14px; }
main { max-width: 1100px; margin: 0 auto; padding: 24px 16px 64px; }
h1 { margin: 8px 0 16px; font-size: 26px; }
h2 { font-size: 19px; margin: 0 0 12px; }
h3 { font-size: 16px; margin: 16px 0 6px; }
a { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin: 16px 0; }
.narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .grid { grid-template-columns: 1fr; } }
form label { display: block; margin: 0 0 14px; font-weight: 500; }
input, select, textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: #fff; }
input[type=file] { padding: 6px; }
textarea { resize: vertical; }
button, .button { display: inline-block; padding: 10px 18px; border: 0; border-radius: 6px; background: var(--accent); color: var(--accent-text); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.button.secondary, button.secondary { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
button.danger { background: #fff; color: var(--danger); border: 1px solid var(--danger); font-weight: 500; }
button.link { background: none; color: var(--muted); padding: 0; font-weight: 400; }
form.inline { display: inline; }
table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; color: var(--muted); font-weight: 600; }
.flash { padding: 10px 12px; border-radius: 6px; }
.flash.error { background: #fbe9e6; color: var(--danger); }
.flash.ok { background: #e6f3ee; color: var(--accent); }
.badge { font-size: 13px; padding: 2px 8px; border-radius: 10px; background: #eee; }
.badge.kesz { background: #e6f3ee; color: var(--accent); }
.badge.fut, .badge.varakozik { background: #fff4d6; }
.badge.hiba { background: #fbe9e6; color: var(--danger); }
.summary { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin: 16px 0; }
.summary > div { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 18px; }
.summary b { display: block; font-size: 26px; }
.summary span { color: var(--muted); font-size: 14px; }
.summary .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; border: 0; background: none; padding: 0; }
.issues { list-style: none; padding: 0; margin: 0; }
.issues li { border-left: 4px solid var(--line); padding: 6px 10px; margin: 0 0 10px; }
.issues li.magas { border-color: var(--danger); }
.issues li.kozepes { border-color: #d99a2b; }
mark.missing { background: var(--missing); padding: 0 2px; }
mark.check { background: var(--check); padding: 0 2px; }
.doc p { text-align: justify; }
.progress .bar { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; }
.progress .bar div { height: 100%; width: 30%; background: var(--accent); animation: slide 1.6s ease-in-out infinite; }
@keyframes slide { 0% { margin-left: -30%; } 100% { margin-left: 100%; } }
pre { white-space: pre-wrap; font: 14px/1.5 ui-monospace, monospace; background: #fafaf7; padding: 12px; border-radius: 6px; }
pre.sample { max-height: 500px; overflow: auto; }
details summary { cursor: pointer; font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.chapter-title { font-weight: 600; }
.project-footer { margin-top: 32px; display: grid; gap: 12px; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
td.num, th.num { text-align: right; white-space: nowrap; }
.badge.online { background: #e6f3ee; color: var(--accent); }
.badge.tiltva { background: #fbe9e6; color: var(--danger); }
.badge.online, .badge.tiltva, td.when { white-space: nowrap; }
.actions-cell { min-width: 230px; }
.actions-cell form { display: flex; gap: 6px; align-items: center; margin: 0 0 6px; }
.actions-cell input { width: 140px; margin: 0; padding: 4px 6px; display: inline-block; }
.actions-cell button { padding: 4px 10px; font-size: 13px; }

/* Több minta kijelölése */
fieldset.samples label.check { display: flex; align-items: center; gap: 8px; font-weight: normal; margin: 4px 0; }
fieldset.samples label.check input { width: auto; margin: 0; }

/* Tervlapból kivágott ábra a leírásban */
figure.abra { margin: 12px 0; text-align: center; }
figure.abra img { max-width: 100%; max-height: 520px; border: 1px solid #ddd; background: #fff; }

/* Márka, próba-sáv, előfizetés */
.brand small { font-weight: 400; opacity: .6; font-size: .75em; margin-left: 4px; }
.trial-banner { background: #fff4d6; border-bottom: 1px solid #f0d58a; padding: 8px 16px; text-align: center; font-size: 14px; }
.trial-banner a { font-weight: 600; margin-left: 6px; }
.hp { position: absolute; left: -9999px; }
label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: normal; }
label.check input { width: auto; margin-top: 4px; }
.welcome { border-left: 4px solid var(--accent); }
.welcome ol { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 8px 0 12px; }
.plan-card { display: grid; gap: 6px; border: 1.5px solid #ddd; border-radius: 8px; padding: 14px; cursor: pointer; font-weight: normal; position: relative; }
.plan-card.featured { border-color: var(--accent); }
.plan-card input { position: absolute; top: 14px; right: 14px; width: auto; margin: 0; }
.plan-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.plan-name { font-weight: 700; font-size: 1.1em; }
.plan-price { font-weight: 600; }
.plan-card ul { margin: 4px 0 0; padding-left: 1.1em; font-size: 14px; color: #555; }
.legal h2 { font-size: 1.1em; margin-top: 18px; }
