:root {
  --ink: #10262B;
  --ink-soft: #355055;
  --muted: #60757A;
  --teal: #0F6E68;
  --bg: #F5F9F8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink-soft);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
a { color: var(--teal); text-decoration: none; }
.hlavicka {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 760px; width: 100%; margin: 0 auto; padding: 18px 16px 6px;
}
.znacka { font-family: 'Source Serif 4', Georgia, serif; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.znacka span { color: var(--teal); font-weight: 500; }
.zpet { font-size: .9rem; }
.zpet:hover { text-decoration: underline; }
.obsah {
  flex: 1; display: flex; flex-direction: column;
  max-width: 760px; width: 100%; margin: 0 auto; padding: 10px 16px 20px;
}
h1 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: clamp(1.5rem, 4vw, 2rem); color: var(--ink); line-height: 1.2; }
.perex { margin: 6px 0 16px; line-height: 1.5; }
.chat { flex: 1; min-height: 520px; height: calc(100vh - 190px); }
@media (max-width: 600px) {
  .hlavicka { padding-top: 12px; }
  .obsah { padding: 4px 0 0; }
  h1, .perex { padding: 0 16px; }
  .chat { min-height: 0; height: calc(100dvh - 150px); }
}
