/* Ki a szakim? – közös stílus. Telefonra tervezve, nagyobb képernyőn középre igazítva. */
:root {
  --accent: #0B4FC4;
  --accent-dark: #083A91;
  --accent-soft: #E8EFFC;
  --ink: #16181D;
  --muted: #5B606B;
  --bg: #F5F4F0;
  --card: #FFFFFF;
  --line: #E4E2DC;
  --line-strong: #CFCCC4;
  --star: #B45309;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.45 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #7FA6EA; outline-offset: 2px; }

.page { max-width: 560px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- Fejléc ---------- */
.hero { background: var(--accent); color: #fff; padding: 24px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: #fff; }
.brand:hover { color: #fff; }
.hero h1 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; }

.district-pill { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.16); border-radius: 999px; padding: 0 4px 0 12px; min-height: 40px; }
.district-pill select { background: transparent; border: 0; color: #fff; font-weight: 600; font-size: 14px; padding: 8px 6px; cursor: pointer; }
.district-pill select option { color: var(--ink); }

.topbar { background: var(--card); border-bottom: 1px solid var(--line); padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.topbar-row { display: flex; align-items: center; gap: 4px; }
.back { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--ink); margin-left: -10px; flex-shrink: 0; }
.topbar h1 { margin: 0; font-size: 19px; }
.sub { font-size: 13px; color: var(--muted); }

/* ---------- Tartalom ---------- */
main { padding: 18px 16px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
h2 { margin: 0; font-size: 17px; }

.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 6px 12px; color: var(--ink); min-height: 96px; text-align: center; }
.cat:hover { border-color: var(--accent); color: var(--ink); }
.cat-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.cat-name { font-size: 13px; font-weight: 600; line-height: 1.25; }

.card { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.pro-link { display: flex; gap: 12px; color: var(--ink); }
.pro-link:hover { color: var(--ink); }
.avatar { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.avatar.big { width: 64px; height: 64px; border-radius: 18px; font-size: 22px; font-weight: 800; }
.pro-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pro-name { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.meta { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.meta strong { color: var(--ink); }
.star { color: var(--star); }

.actions { display: flex; gap: 8px; }
.btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 12px; font-size: 15px; font-weight: 600; border: 1.5px solid var(--line-strong); background: var(--card); color: var(--ink); cursor: pointer; padding: 0 14px; }
.btn:hover { border-color: var(--accent); color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.stat { background: var(--bg); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.stat b { font-size: 17px; }
.stat span { font-size: 12px; color: var(--muted); }

.review-head { display: flex; justify-content: space-between; font-size: 13px; gap: 8px; }
.review-body { font-size: 14px; white-space: pre-line; }

.notice { background: var(--card); border: 1.5px dashed var(--line-strong); border-radius: 16px; padding: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.notice strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }

.skeleton { background: linear-gradient(90deg, #ECEAE4 0%, #F4F3EF 50%, #ECEAE4 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 16px; min-height: 96px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

/* ---------- Űrlap ---------- */
details.report { font-size: 14px; }
details.report summary { cursor: pointer; color: var(--muted); padding: 8px 0; min-height: 44px; display: flex; align-items: center; }
form.stack { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
label.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
select.input, textarea.input { border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; background: var(--card); font-weight: 400; font-size: 15px; }
textarea.input { min-height: 80px; resize: vertical; }
.ok { color: #0E6B3C; font-weight: 600; }

footer { padding: 18px 16px 28px; font-size: 12px; color: var(--muted); text-align: center; }
