/* J.A.R.V.I.S. website theme – the palette of the Jarvis HUD (Sources/jarvis/index.html :root) in the technical
   "matrix" style of aino.sk: dark base, light-blue + white, Space Grotesk / Inter / JetBrains Mono (self-hosted).
   Colours live only here as custom properties; the rest of the file references them. */
:root {
  /* Dark theme – the DEFAULT, always (the owner's decision on 11 Oct 2026): a lighter dark blue than the Jarvis HUD;
     the hero keeps the darker --bg-2 with its grid, the sections below are lighter (--bg) with a faint grid of their own.
     The light palette (same owner, "otoč tmavé na svetlé") lives under [data-theme="light"] – a visitor's choice (☀ in the footer). */
  --bg: #1a3148;
  --bg-2: #12263f;
  --panel: rgba(34, 66, 100, .8);
  --panel-solid: #24435f;
  --line: rgba(76, 201, 240, .3);
  --line-strong: rgba(76, 201, 240, .55);
  --cyan: #4cc9f0;
  --cyan-soft: #9be4ff;
  --cyan-rgb: 76, 201, 240;
  --text: #eaf4fa;
  --text-rgb: 234, 244, 250;
  --text-2: #b7cad8;
  --muted: #8aa6bb;
  --amber: #f2b84b;
  --red: #ff5d6c;
  --green: #3ddc97;
  --violet: #b48cff;
  --gradient: linear-gradient(135deg, #2aa7d8 0%, #4cc9f0 55%, #9be4ff 100%);
  --btn-text: #03121c;
  --header-bg: rgba(18, 38, 63, .9);
  --footer-bg: rgba(0, 0, 0, .18);
  --window-bar: rgba(0, 0, 0, .35);
  --overlay: rgba(3, 6, 10, .95);
  --term-bg: rgba(5, 12, 20, .85);
  --radius: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --shadow-rgb: 0, 0, 0;
  --max: 1120px;
  /* one colour per service – the Architecture map and the Services cards share them (owner's wish 12 Oct 2026) */
  --svc-claude: #4cc9f0;
  --svc-wake: #ff5d6c;
  --svc-gmail: #ff8a5b;
  --svc-calendar: #3ddc97;
  --svc-obsidian: #b48cff;
  --svc-weather: #5eb9ff;
  --svc-reminders: #f2b84b;
  --svc-media: #ff6fb5;
  --svc-windows: #8fb3ff;
  --svc-apps: #6ee7b7;
  --svc-web: #22d3ee;
  --svc-voice: #ffd166;
  --svc-app: #c7d2e3;
  --svc-dictation: #a3e635;
  --svc-home: #d9a066;
  --svc-identity: #f0abfc;
  --svc-speaker: #2dd4bf;
  --font-display: "Space Grotesk", "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, "Courier New", monospace;
}

/* Light theme – the visitor's choice (☀ in the footer, localStorage "jarvis.theme" = "light") */
:root[data-theme="light"] {
  --bg: #eef7fc;
  --bg-2: #e3f2fa;
  --panel: rgba(255, 255, 255, .82);
  --panel-solid: #ffffff;
  --line: rgba(13, 27, 44, .14);
  --line-strong: rgba(26, 154, 208, .55);
  --cyan: #1a9ad0;
  --cyan-soft: #137fb0;
  --cyan-rgb: 26, 154, 208;
  --text: #0d1b2c;
  --text-rgb: 13, 27, 44;
  --text-2: #2f4a63;
  --muted: #5f7d94;
  --amber: #d9951a;
  --red: #e0404f;
  --green: #1f9e6a;
  --violet: #7a4fd6;
  --gradient: linear-gradient(135deg, #0d1b2c 0%, #1a3350 60%, #24476d 100%);
  --btn-text: #eaf4fa;
  --header-bg: rgba(238, 247, 252, .9);
  --footer-bg: rgba(13, 27, 44, .04);
  --window-bar: rgba(13, 27, 44, .08);
  --overlay: rgba(10, 20, 32, .92);
  --term-bg: #0d1b2c;
  --shadow: 0 14px 40px rgba(13, 27, 44, .14);
  --shadow-rgb: 13, 27, 44;
  /* darker service colours so icons and tags stay readable on white */
  --svc-claude: #1a9ad0;
  --svc-wake: #e0404f;
  --svc-gmail: #e2602f;
  --svc-calendar: #1f9e6a;
  --svc-obsidian: #7a4fd6;
  --svc-weather: #1f8fe0;
  --svc-reminders: #c98a12;
  --svc-media: #d6388a;
  --svc-windows: #4b78d8;
  --svc-apps: #1f9c7a;
  --svc-web: #0e9fb8;
  --svc-voice: #c99a00;
  --svc-app: #5b6b80;
  --svc-dictation: #5f8f0e;
  --svc-home: #9a6a2f;
  --svc-identity: #b23fc4;
  --svc-speaker: #0d9488;
}

/* Variable fonts from Google Fonts, served from this origin (CSP font-src 'self'). latin-ext = á č ď é ľ ň ô š ť ž ä ö ü ß. */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/SpaceGrotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/SpaceGrotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/Inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/Inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/JetBrainsMono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/JetBrainsMono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Faint grid under the whole page (dark theme only) – continues the hero grid the owner likes */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(var(--cyan-rgb), .045) 1px, transparent 1px) 0 0 / 48px 48px,
              linear-gradient(90deg, rgba(var(--cyan-rgb), .045) 1px, transparent 1px) 0 0 / 48px 48px; }
:root[data-theme="light"] body::before { display: none; }

a { color: var(--cyan); }
a:hover { color: var(--cyan-soft); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 12px; font-weight: 600; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 18px; }
p { margin: 0 0 14px; }
code { font-family: var(--font-mono); background: rgba(var(--cyan-rgb), .1); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.muted { color: var(--muted); font-size: 14px; }
.version { font-family: var(--font-mono); color: var(--text-2); font-size: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Buttons ---- */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; padding: 11px 22px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--gradient); color: var(--btn-text); box-shadow: 0 8px 24px rgba(var(--cyan-rgb), .28); }
.btn-primary:hover { color: var(--btn-text); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(var(--cyan-rgb), .42); }
.btn-ghost { background: rgba(var(--cyan-rgb), .06); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--text); border-color: var(--cyan); background: rgba(var(--cyan-rgb), .14); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.header-row-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 6px; }
.header-row-nav { display: flex; justify-content: center; padding-bottom: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; justify-self: start; }
.logo img { display: block; border-radius: 50%; box-shadow: 0 0 14px rgba(var(--cyan-rgb), .5); }
.logo-text { font-family: var(--font-mono); font-size: 17px; letter-spacing: .28em; color: var(--cyan); text-shadow: 0 0 12px rgba(var(--cyan-rgb), .55); }
.header-auth { display: flex; gap: 8px; justify-self: center; }
.lang-switch { display: flex; gap: 6px; justify-self: end; }
.lang-switch a { font-family: var(--font-mono); color: var(--muted); text-decoration: none; font-size: 12px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; }
.lang-switch a.active { color: var(--btn-text); background: var(--cyan); border-color: var(--cyan); }
.lang-switch a:not(.active):hover { border-color: var(--cyan); color: var(--cyan); }
.main-nav { display: flex; gap: 22px; flex-wrap: wrap; row-gap: 6px; justify-content: center; }
.main-nav a { font-family: var(--font-mono); color: var(--text-2); text-decoration: none; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.main-nav a:hover { color: var(--cyan); }

/* ---- Hero: orb in the centre, demo conversation beside it, copy and screenshot below ---- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(var(--cyan-rgb), .14), transparent 55%), var(--bg-2); }
.hero-grid { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(var(--cyan-rgb), .13) 1px, transparent 1px) 0 0 / 48px 48px,
              linear-gradient(90deg, rgba(var(--cyan-rgb), .13) 1px, transparent 1px) 0 0 / 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 85%); }
.hero-inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 48px 20px 56px; display: grid; gap: 36px; justify-items: center; }
.hero-stage { display: grid; grid-template-columns: auto minmax(0, 440px); gap: 28px; align-items: center; width: 100%; max-width: 880px; }
.orb-wrap { position: relative; width: 300px; height: 300px; justify-self: center; }
.orb-canvas { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; transform: translate(-50%, -50%); pointer-events: none; }
.orb-logo { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; transform: translate(-50%, -50%); border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 71%); mask-image: radial-gradient(circle, #000 58%, transparent 71%);
  filter: drop-shadow(0 0 28px rgba(var(--cyan-rgb), .55)); }
.hero-chat { font-family: var(--font-mono); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px 14px; box-shadow: var(--shadow); min-height: 190px; backdrop-filter: blur(4px); }
.hero-chat-bar { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .22em; color: var(--cyan); text-transform: uppercase; border-bottom: 1px dashed var(--line); padding-bottom: 8px; margin-bottom: 10px; transition: color .4s ease; }
.hero-chat-bar.state-listening { color: var(--red); }
.hero-chat-bar.state-thinking { color: var(--amber); }
.hero-chat-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.hero-chat-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; line-height: 1.5; }
.hero-chat-q { color: var(--text-2); }
.hero-chat-q::before { content: "> "; color: var(--muted); }
.hero-chat-a { color: var(--text); padding-left: 14px; border-left: 2px solid var(--cyan); }
.hero-chat-lines .typing::after { content: "▌"; color: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-copy { text-align: center; max-width: 720px; }
.hero-kicker { font-family: var(--font-mono); color: var(--cyan); letter-spacing: .22em; text-transform: uppercase; font-size: 12px; margin-bottom: 12px; }
.hero-lead { font-size: 18px; color: var(--text-2); margin: 0 auto 22px; max-width: 620px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 14px; color: var(--muted); font-size: 13px; }
.hero-shot { margin: 0; width: 100%; max-width: 980px; }
.window-frame { background: var(--panel-solid); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow), 0 0 80px rgba(var(--cyan-rgb), .16); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--window-bar); border-bottom: 1px solid var(--line); }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); opacity: .6; }
.window-bar span:first-child { background: var(--red); }
.window-bar span:nth-child(2) { background: var(--amber); }
.window-bar span:nth-child(3) { background: var(--green); }
.window-bar em { margin-left: 10px; font: 11px var(--font-mono); font-style: normal; color: var(--muted); letter-spacing: .08em; }
.window-frame img { display: block; width: 100%; height: auto; }

/* ---- Sections ---- */
main { display: block; }
.section { max-width: var(--max); margin: 0 auto; padding: 56px 20px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; /* heading stays below the sticky header on #anchor links */ }
.section:last-of-type { border-bottom: none; }
.section-narrow { max-width: 640px; }
.section-lead { color: var(--text-2); font-size: 16px; max-width: 760px; margin-bottom: 26px; }

/* Services: icon tile, name, tag, one-line description (the reference grid) */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.service-card { --c: var(--cyan); background: var(--panel); border: 1px solid var(--line); border-top: 3px solid color-mix(in srgb, var(--c) 70%, transparent); border-radius: var(--radius); padding: 24px 18px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.service-card:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); transform: translateY(-3px); box-shadow: var(--shadow), 0 0 30px color-mix(in srgb, var(--c) 22%, transparent); }
.service-card h3 { margin: 0; font-size: 17px; }
.service-card p { color: var(--text-2); font-size: 14px; margin: 0; }
.service-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 14px; align-items: center; justify-content: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 18%, transparent); margin-bottom: 4px; }
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; padding: 2px 9px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); }
.tag-llm { color: var(--cyan); border-color: rgba(var(--cyan-rgb), .45); background: rgba(var(--cyan-rgb), .1); }
.tag-local { color: var(--green); border-color: color-mix(in srgb, var(--green) 45%, transparent); background: color-mix(in srgb, var(--green) 10%, transparent); }
.tag-google { color: var(--red); border-color: color-mix(in srgb, var(--red) 45%, transparent); background: color-mix(in srgb, var(--red) 10%, transparent); }
.tag-notes { color: var(--violet); border-color: color-mix(in srgb, var(--violet) 45%, transparent); background: color-mix(in srgb, var(--violet) 10%, transparent); }
.tag-data { color: var(--cyan-soft); border-color: color-mix(in srgb, var(--cyan-soft) 45%, transparent); background: color-mix(in srgb, var(--cyan-soft) 8%, transparent); }
.tag-media { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 45%, transparent); background: color-mix(in srgb, var(--amber) 10%, transparent); }
.tag-system { color: var(--text-2); border-color: color-mix(in srgb, var(--text-2) 40%, transparent); background: color-mix(in srgb, var(--text-2) 8%, transparent); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 18px; }
.gallery-item { margin: 0; }
.gallery-open { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel-solid); cursor: zoom-in; position: relative; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.gallery-open img { display: block; width: 100%; height: auto; transition: transform .35s ease; }
.gallery-open:hover, .gallery-open:focus-visible { border-color: var(--cyan); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(var(--cyan-rgb), .22); outline: none; }
.gallery-open:hover img { transform: scale(1.03); }
.gallery-zoom { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--panel-solid); color: var(--cyan); display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; opacity: 0; transition: opacity .2s ease; }
.gallery-open:hover .gallery-zoom { opacity: 1; }
.gallery-item figcaption { padding: 10px 4px 0; font-size: 13px; color: var(--text-2); }
/* "second brain and live activity": a screenshot beside its text, sides swapped on every other row */
.insight-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 34px; }
.insight-row:nth-of-type(even) .insight-picture { order: 2; }
.insight-text h3 { margin: 0 0 10px; font-size: 24px; }
.insight-text p { color: var(--text-2); margin: 0 0 14px; }
.insight-text ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text-2); }
.insight-text li::marker { color: var(--cyan); }
@media (max-width: 900px) {
  .insight-row { grid-template-columns: 1fr; gap: 16px; }
  .insight-row:nth-of-type(even) .insight-picture { order: 0; }
}

.lightbox-overlay { position: fixed; inset: 0; background: var(--overlay); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 1000; }
.lightbox-overlay[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: min(92vw, 1400px); text-align: center; }
.lightbox-img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 8px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.lightbox-caption { color: var(--text-2); font-size: 14px; margin: 12px 0 0; }
.lightbox-close, .lightbox-nav { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .15); border-radius: 50%; cursor: pointer; line-height: 1; font-family: inherit; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(var(--cyan-rgb), .35); }
.lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 26px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.step { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step-num { flex-shrink: 0; font-family: var(--font-mono); font-size: 22px; color: var(--cyan); text-shadow: 0 0 12px rgba(var(--cyan-rgb), .55); line-height: 1.1; }
.step-body h3 { margin: 2px 0 6px; font-size: 17px; }
.step-body p { margin: 0; font-size: 14px; color: var(--text-2); }
.requirements { background: rgba(var(--cyan-rgb), .05); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.requirements h3 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.requirements ul { margin: 0 0 10px; padding-left: 20px; }
.requirements li { margin-bottom: 4px; font-size: 15px; }

/* Terminal log of one question */
/* The terminal is a "screen": dark in both themes, with the HUD colours of the app */
.term { font: 14px/1.6 var(--font-mono); background: var(--term-bg); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 18px 20px; overflow-x: auto; color: #b7cad8; box-shadow: var(--shadow), inset 0 0 60px rgba(76, 201, 240, .05); margin: 0; }
.t-dim { color: #7f9bb0; }
.t-tag { color: #4cc9f0; }
.t-q { color: #f2b84b; }
.t-a { color: #3ddc97; }
.t-tool { color: #b48cff; }
.t-cursor { color: #4cc9f0; animation: blink 1s steps(1) infinite; }

/* State dots before section headings – the colours of the Jarvis HUD states (listening red, thinking amber, idle cyan) */
#zaznam h2::before, #architektura h2::before, #bezpecnost h2::before, #faq h2::before, #licencia h2::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin: 0 12px 3px 0; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
#bezpecnost h2::before { background: var(--red); box-shadow: 0 0 10px var(--red); }
#faq h2::before, #licencia h2::before { background: var(--amber); box-shadow: 0 0 10px var(--amber); }

/* Architecture: the service map of the Jarvis HUD – Jarvis in the centre, one coloured node per service */
.arch-map { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: var(--shadow); }
.arch-map svg { display: block; width: 100%; height: auto; max-width: 820px; margin: 0 auto; font-family: var(--font-mono); overflow: visible; }
.arch-node { --c: var(--cyan); cursor: default; }
.arch-link { stroke: var(--c); stroke-width: 1.5; opacity: .3; transition: opacity .4s ease, stroke-width .4s ease; }
.arch-halo { fill: var(--c); opacity: 0; transition: opacity .4s ease; }
.arch-dot { fill: color-mix(in srgb, var(--c) 16%, var(--panel-solid)); stroke: var(--c); stroke-width: 1.5; transition: stroke-width .3s ease, fill .3s ease; }
.arch-icon { color: var(--c); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.arch-label { fill: var(--text-2); font-size: 12px; letter-spacing: .06em; text-anchor: middle; text-transform: uppercase; transition: fill .3s ease; }
.arch-node.active .arch-link, .arch-node.hover .arch-link { opacity: 1; stroke-width: 2.5; }
.arch-node.active .arch-halo, .arch-node.hover .arch-halo { opacity: .22; }
.arch-node.active .arch-dot, .arch-node.hover .arch-dot { stroke-width: 3; fill: color-mix(in srgb, var(--c) 32%, var(--panel-solid)); }
.arch-node.active .arch-label, .arch-node.hover .arch-label { fill: var(--c); }
.arch-core-glow { fill: var(--cyan); opacity: .18; }
.arch-core-ring { fill: var(--panel-solid); stroke: var(--cyan); stroke-width: 1.5; }
.arch-core-label { fill: var(--cyan); font-size: 13px; letter-spacing: .3em; text-anchor: middle; }
.arch-map figcaption { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; align-items: center; margin-top: 10px; font-size: 13px; color: var(--muted); }
.arch-legend { display: flex; gap: 14px; flex-wrap: wrap; font: 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.arch-legend-item { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); transition: color .3s ease; }
.arch-legend-item i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid currentColor; }
.arch-legend-item[data-where="local"] i { background: var(--green); border-color: var(--green); }
.arch-legend-item[data-where="claude"] i { background: var(--cyan); border-color: var(--cyan); }
.arch-legend-item[data-where="google"] i { background: var(--red); border-color: var(--red); }
.arch-legend-item[data-where="web"] i { background: var(--amber); border-color: var(--amber); }
.arch-legend-item.on { color: var(--text); }
.arch-node[data-where="local"] .arch-dot { stroke-dasharray: none; }
.arch-node[data-where="google"] .arch-link, .arch-node[data-where="claude"] .arch-link, .arch-node[data-where="web"] .arch-link { stroke-dasharray: 5 4; } /* leaves the PC */
.arch-note { margin: 18px 0 0; }

/* Security cards */
.sec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sec-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.sec-card code { font-size: 11px; color: var(--amber); }
.sec-card h3 { margin: 8px 0 6px; font-size: 17px; }
.sec-card p { margin: 0; font-size: 14px; color: var(--text-2); }

/* FAQ */
.faq { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; }
.faq p { margin: 8px 0 0; color: var(--text-2); font-size: 15px; }

/* Contact */
.contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.contact-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0 0 14px; align-items: baseline; }
.contact-list dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 17px; }
.contact-soon { margin: 0; }

/* Legal */
.legal-doc h2 { font-size: 18px; margin: 28px 0 8px; }
.legal-doc .legal-meta { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px; font-size: 14px; }
.legal-doc .legal-meta p { margin: 4px 0; }
.legal-doc p, .legal-doc li { font-size: 15px; color: var(--text-2); }
.legal-doc b { color: var(--text); }

.cookie-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.cookie-table th, .cookie-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-table th { background: rgba(var(--cyan-rgb), .08); color: var(--text-2); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; }

/* ---- Cookie consent ---- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: 14px 16px; background: var(--panel-solid); border-top: 1px solid var(--line-strong); box-shadow: 0 -10px 40px rgba(var(--shadow-rgb), .3); }
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { max-width: var(--max); margin: 0 auto; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-banner-text { flex: 1 1 420px; font-size: 14px; }
.cookie-banner-text strong { display: block; margin-bottom: 2px; font-family: var(--font-display); }
.cookie-banner-text p { margin: 0; color: var(--text-2); }
.cookie-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-modal { position: fixed; inset: 0; z-index: 1100; background: var(--overlay); display: flex; align-items: center; justify-content: center; padding: 20px; }
.cookie-modal[hidden] { display: none; }
.cookie-modal-card { position: relative; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; background: var(--panel-solid); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: var(--shadow); padding: 26px; }
.cookie-modal-card h2 { font-size: 22px; margin-right: 40px; }
.cookie-modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(var(--text-rgb), .08); color: var(--text); font-size: 22px; cursor: pointer; }
.cookie-modal-close:hover { background: rgba(var(--cyan-rgb), .3); }
.cookie-category { border-top: 1px solid var(--line); padding: 12px 0; }
.cookie-category-head { display: flex; align-items: center; gap: 10px; }
.cookie-category-head label { font-weight: 600; flex: 1; }
.cookie-category-head input { width: 20px; height: 20px; accent-color: var(--cyan); }
.cookie-always { font-family: var(--font-mono); font-size: 11px; color: var(--green); }
.cookie-category p { margin: 6px 0 0; font-size: 13px; color: var(--text-2); }
.cookie-modal-note { margin-top: 12px; }
.cookie-modal-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin-top: 16px; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 26px 20px 30px; text-align: center; font-size: 13px; color: var(--muted); background: var(--footer-bg); }
.theme-toggle { background: none; border: 1px solid var(--line); border-radius: 6px; color: var(--text-2); cursor: pointer; font: inherit; padding: 2px 8px; }
.theme-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.site-footer p { margin: 0 0 8px; }
.site-footer .sep { margin: 0 6px; opacity: .6; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer .muted { max-width: 760px; margin: 10px auto 0; font-size: 12px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .hero-chat { width: 100%; max-width: 480px; }
  .arch-map { padding: 10px 6px 10px; }
  .arch-map svg { font-size: 14px; }
  .arch-label { font-size: 15px; }
}
@media (max-width: 600px) {
  .header-row-top { grid-template-columns: 1fr auto; }
  .logo { grid-column: 1; grid-row: 1; }
  .logo-text { font-size: 14px; letter-spacing: .2em; }
  .lang-switch { grid-column: 2; grid-row: 1; justify-self: end; }
  .header-auth { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 11px; }
  .hero-inner { padding: 32px 16px 40px; gap: 28px; }
  .orb-wrap { width: 220px; height: 220px; }
  .orb-canvas { width: 380px; height: 380px; }
  .orb-logo { width: 150px; height: 150px; }
  .section { padding: 40px 16px; }
  .contact-list { grid-template-columns: 1fr; gap: 2px 0; }
  .contact-list dd { margin-bottom: 10px; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 24px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 8px; right: 8px; }
  .lightbox-overlay { padding: 12px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions button { flex: 1 1 auto; }
}

/* ---- Accounts, licences, reviews, downloads, admin (phase 1b; ported from deyemonitor.sk, colours via our tokens) ---- */
.user-menu { position: relative; justify-self: center; }
.user-menu-toggle { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--panel); cursor: pointer; list-style: none; font: 600 13px var(--font-display); white-space: nowrap; color: var(--text); }
.user-menu-toggle::-webkit-details-marker { display: none; }
.user-menu-toggle:hover { border-color: var(--cyan); }
.user-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--gradient); color: var(--btn-text); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex-shrink: 0; }
.user-name { max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
.user-menu-dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 220px; background: var(--panel-solid); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; z-index: 60; }
.user-menu-divider { height: 1px; background: var(--line); margin: 6px 4px; }
.user-menu-heading { padding: 6px 10px 2px; font: 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.user-menu-dropdown a, .user-menu-dropdown button { display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: 8px; border: none; background: none; font: inherit; font-size: 13px; text-decoration: none; color: var(--text); cursor: pointer; }
.user-menu-dropdown a:hover, .user-menu-dropdown button:hover { background: rgba(var(--cyan-rgb), .12); color: var(--cyan); }
.section-subheading { margin-top: 40px; }

/* Forms (server-side validation only) */
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; max-width: 560px; }
.form-field { margin-bottom: 14px; display: flex; flex-direction: column; gap: 5px; }
.form-field label { font-size: 13px; color: var(--text-2); }
.form-field input, .form-field textarea, .form-field select, .reject-form input, .filter-form input, .filter-form select { background: rgba(var(--shadow-rgb), .25); color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 15px; }
:root[data-theme="light"] .form-field input, :root[data-theme="light"] .form-field textarea, :root[data-theme="light"] .form-field select, :root[data-theme="light"] .reject-form input, :root[data-theme="light"] .filter-form input, :root[data-theme="light"] .filter-form select { background: #fff; }
.form-field input:focus, .form-field textarea:focus, .reject-form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(var(--cyan-rgb), .2); }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field-inline { flex-direction: row; align-items: center; gap: 8px; }
.form-field-inline input { width: 18px; height: 18px; accent-color: var(--cyan); }
.form-field-inline label { font-size: 14px; color: var(--text); }
.form-field-consent { align-items: flex-start; }
.form-field-consent input { flex: none; margin-top: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.field-hint { font-size: 12px; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; }
.form-success { color: var(--green); font-weight: 600; }
.form-error, .validation-summary-errors { color: var(--red); font-weight: 600; }
.validation-summary-errors ul { margin: 0 0 12px; padding-left: 18px; }
.validation-summary-valid { display: none; }
.form-warning { color: var(--amber); font-weight: 600; }
.form-footnote { margin-top: 16px; }
.notice { background: color-mix(in srgb, var(--amber) 10%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; }
.notice p:last-child { margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.btn-danger { background: color-mix(in srgb, var(--red) 15%, transparent); color: var(--red); border-color: color-mix(in srgb, var(--red) 50%, transparent); }
.btn-danger:hover { background: color-mix(in srgb, var(--red) 28%, transparent); color: var(--red); }
.btn-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* Licence page */
.license-card { background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 24px; }
.license-card + .license-card { margin-top: 12px; }
.license-approved { border-color: color-mix(in srgb, var(--green) 50%, transparent); }
.license-rejected { border-color: color-mix(in srgb, var(--red) 50%, transparent); }
.license-status-line { font-size: 15px; }
.license-status-label { color: var(--text-2); }
.license-code code { font-size: 24px; font-weight: 700; letter-spacing: 2px; padding: 10px 18px; border-color: var(--line-strong); background: rgba(var(--cyan-rgb), .1); }
.note { margin: 0 0 14px; padding: 10px 14px; border-left: 3px solid var(--cyan); background: rgba(var(--cyan-rgb), .08); border-radius: 0 8px 8px 0; white-space: pre-line; }
.device-limit-note { display: inline-block; margin: 4px 0 12px; padding: 6px 12px; border-radius: 999px; font: 600 13px var(--font-mono); color: var(--amber); background: color-mix(in srgb, var(--amber) 12%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 35%, transparent); }
.device-limit-note strong { color: var(--text); }
.device-usage { display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 700; color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); border: 1px solid color-mix(in srgb, var(--green) 35%, transparent); }
.device-usage-full { color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, transparent); border-color: color-mix(in srgb, var(--amber) 45%, transparent); }
.device-list { list-style: none; padding: 0; margin: 8px 0; }
.device-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.email-confirm-box { margin: 8px 0 16px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent); background: color-mix(in srgb, var(--amber) 8%, transparent); }
.email-confirm-box p { margin: 0 0 8px; }
.copy-btn { margin-left: 6px; padding: 2px 8px; font: 12px/1.4 var(--font-mono); border-radius: 6px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); cursor: pointer; vertical-align: middle; }
.copy-btn:hover { color: var(--text); border-color: var(--cyan); }
.copy-btn.copied { color: var(--green); border-color: var(--green); }

/* Reviews */
.stars { color: var(--amber); letter-spacing: 1px; white-space: nowrap; }
.review-summary { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 16px 0 22px; }
.review-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.review-card header { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.review-card time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.review-card p { margin: 0; font-size: 14px; color: var(--text-2); white-space: pre-line; }
.pagination { display: flex; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.pagination a, .pagination .active { min-width: 36px; text-align: center; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--text); font-family: var(--font-mono); }
.pagination .active { background: var(--cyan); border-color: var(--cyan); color: var(--btn-text); }
.star-input { border: none; padding: 0; margin: 0 0 14px; }
.star-input legend { font-size: 13px; color: var(--text-2); padding: 0; margin-bottom: 4px; }
.star-input-row { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-input label { font-size: 32px; line-height: 1; color: var(--muted); cursor: pointer; }
.star-input input:checked ~ label, .star-input-row:hover label, .star-input label:hover ~ label { color: var(--amber); }
.star-input-row:hover label:hover ~ label { color: var(--amber); }
.star-input-row:hover label:not(:hover):not(:hover ~ label) { color: var(--muted); }
.star-input input:focus-visible + label { outline: 2px solid var(--cyan); border-radius: 4px; }

/* Changelog (/historia-zmien): a HUD timeline – a line on the left, one dot per version, the newest one glowing */
.changelog { list-style: none; margin: 0 0 28px; padding: 0 0 0 26px; border-left: 2px solid var(--line); max-width: 860px; }
.changelog-entry { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 14px; scroll-margin-top: 90px; }
.changelog-entry::before { content: ""; position: absolute; left: -34px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--panel-solid); border: 2px solid var(--cyan); }
.changelog-entry:first-child { border-color: var(--line-strong); }
.changelog-entry:first-child::before { background: var(--cyan); box-shadow: 0 0 12px rgba(var(--cyan-rgb), .7); }
.changelog-entry header { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 6px; }
.changelog-version { margin: 0; font: 600 17px var(--font-mono); letter-spacing: .04em; color: var(--cyan); }
.changelog-entry time { color: var(--muted); font: 13px var(--font-mono); }
.changelog-latest { font: 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 2px 9px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--cyan); background: rgba(var(--cyan-rgb), .1); }
.changelog-entry ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 14px; }
.changelog-entry li + li { margin-top: 3px; }

/* Guides (/navody): download-grid/download-card cards with numbered steps, plus a jump list and a number badge */
.guide-index { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 22px; }
.guide-index a { font: 13px var(--font-mono); padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--text-2); text-decoration: none; }
.guide-index a:hover { color: var(--cyan); border-color: var(--line-strong); }
.guide-card { scroll-margin-top: 90px; }
.guide-card h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.guide-number { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font: 600 14px var(--font-mono); color: var(--cyan); border: 1px solid var(--line-strong); background: rgba(var(--cyan-rgb), .1); }
.guide-card li + li { margin-top: 4px; }
.guide-manuals { display: flex; gap: 10px; flex-wrap: wrap; }

/* Downloads */
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 18px; }
.download-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.download-card ul, .download-card ol { padding-left: 18px; color: var(--text-2); font-size: 14px; margin: 0 0 16px; flex: 1; }
.download-card p { color: var(--text-2); font-size: 14px; }
.download-card .sha { font-size: 11px; word-break: break-all; }

/* Admin */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--text); }
.tile:hover { border-color: var(--cyan); color: var(--text); }
.tile-highlight { border-color: var(--amber); }
.tile-value { font: 600 32px var(--font-display); color: var(--cyan); }
.tile-highlight .tile-value { color: var(--amber); }
.tile-label { font-size: 13px; color: var(--text-2); }
.table-wrap { overflow-x: auto; margin: 0 0 24px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { background: rgba(var(--cyan-rgb), .08); color: var(--text-2); font-weight: 600; }
.review-text-cell { max-width: 420px; white-space: pre-line; }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; }
.admin-actions form { display: flex; gap: 6px; }
.reject-form input { padding: 6px 10px; font-size: 13px; min-width: 200px; }
.badge { display: inline-block; font: 700 11px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--btn-text); background: var(--amber); border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: middle; }
.filter-form { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin: 8px 0 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.filter-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-2); }
.filter-form input[type=search] { min-width: 220px; }
.filter-form .filter-check { flex-direction: row; align-items: center; gap: 6px; }
.filter-form .filter-buttons { display: flex; gap: 8px; }
.detail-table th { width: 180px; text-align: left; color: var(--text-2); font-weight: 600; }
.news-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 22px 0 28px; }
.news-actions .form-card { max-width: none; }
.news-actions h2 { margin-top: 0; font-size: 18px; }
.news-preview { margin: 0 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.news-preview summary { cursor: pointer; padding: 10px 14px; font-weight: 600; }
.news-preview iframe { display: block; width: 100%; height: 1400px; border: 0; border-top: 1px solid var(--line); }
/* ---- PRO edition: price list, order form, order page, administration (ported from deyemonitor.sk) ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pricing-card h3 { margin-top: 0; }
.pricing-card-free { border-color: var(--line-strong); }
.pricing-card-pro { border-color: var(--amber); }
.pricing-card .pricing-free { color: var(--green); font: 800 40px/1.1 var(--font-display); letter-spacing: .02em; margin: 4px 0 12px; }
.pricing-card .pricing-price { font: 700 30px var(--font-display); color: var(--amber); margin: 4px 0 2px; }
.pricing-card .pricing-price span { font: 400 14px var(--font-body); color: var(--text-2); }
.pricing-card .pricing-alt { margin: 0 0 10px; color: var(--text-2); }
.pricing-card .pricing-plus { margin: 8px 0 0; font-weight: 600; }
.pricing-card .pricing-list { margin: 8px 0 14px; padding-left: 20px; color: var(--text-2); }
.pricing-card .pricing-list li { margin: 4px 0; }
.pricing-card .pricing-cta { margin-top: auto; padding-top: 6px; }
.pricing-sub { font-size: 20px; margin: 36px 0 12px; }
.pricing-compare th[scope="row"] { background: none; color: var(--text); font-weight: 400; }
.pricing-compare td { color: var(--text-2); }
.pro-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; margin-bottom: 14px; }
.pro-detail { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.pro-detail h4 { margin: 0 0 8px; font: 600 17px/1.2 var(--font-display); }
.pro-detail p { margin: 0 0 8px; color: var(--text-2); font-size: 15px; }
.pro-detail p:last-child { margin-bottom: 0; }
.pro-detail b { color: var(--text); }
.pricing-planned { margin: 0 0 8px; padding-left: 20px; color: var(--text-2); }
.order-features { margin: 0 0 18px; padding-left: 20px; color: var(--text-2); }
.order-features li { margin: 4px 0; }
.order-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0 0 18px; max-width: 560px; }
.order-package { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); cursor: pointer; }
.order-package:has(input:checked) { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(var(--cyan-rgb), .18); }
.order-package input { accent-color: var(--cyan); width: 18px; height: 18px; }
.order-package-name { font-weight: 700; color: var(--text); }
.order-package-price { font: 700 26px var(--font-display); color: var(--amber); }
.order-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0 12px; }
.order-billing:not(:has(#IsCompany:checked)) .order-company-fields { display: none; }
.order-consent { align-items: flex-start; }
.order-consent input { flex: 0 0 auto; margin-top: 2px; }
/* the label column never takes more than 45 %: a long label wraps instead of squeezing the value (390 px, DE) */
.order-details { display: grid; grid-template-columns: fit-content(45%) minmax(0, 1fr); gap: 6px 16px; margin: 0 0 18px; }
.order-details dt { color: var(--text-2); }
.order-details dd { margin: 0; overflow-wrap: anywhere; }
.status-pill { display: inline-block; white-space: nowrap; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 35%, transparent); }
.status-pill-ok { color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); border-color: color-mix(in srgb, var(--green) 35%, transparent); }
.pay-box { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; padding: 18px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.pay-details { flex: 1 1 280px; min-width: 0; }
.pay-details h2 { margin-top: 0; }
/* The QR code needs a white quiet zone in both themes, like a printed code. */
.pay-qr { flex: 0 0 auto; width: 200px; max-width: 100%; padding: 8px; background: #fff; border-radius: 8px; }
.pay-qr svg { display: block; width: 100%; height: auto; }
.order-list { padding-left: 20px; }
.order-list li { margin: 6px 0; }
.license-pro { margin-top: 12px; }
.admin-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; margin: 0 0 20px; }
.admin-columns .form-card { max-width: none; }
.admin-columns form { margin: 0 0 10px; }
.cross-border { margin: 12px 0 18px; max-width: none; }
.cross-border-warn { border-color: var(--amber); }
.cross-border-over { border-color: var(--red); }
.cross-border-bar { display: inline-block; width: 120px; height: 8px; border-radius: 4px; background: var(--line); vertical-align: middle; overflow: hidden; }
.cross-border-bar > span { display: block; height: 100%; background: var(--amber); }
@media (max-width: 600px) {
  .user-menu { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .form-row { grid-template-columns: 1fr; }
}
