/* ==========================================================================
   EuroPráca – dizajnový systém
   Mobil-first, červeno-čierny. Červená (#C8102E) len na akcie a logo.
   Tokeny v :root, tmavý režim cez prefers-color-scheme. Žiadne inline štýly (CSP).
   Prehľad tried: app/views/VIEW-GUIDE.md
   ========================================================================== */

/* ---------- 1. Písmo (vlastné súbory, bez externých služieb) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-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: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-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;
}

/* ---------- 2. Tokeny ---------- */
:root {
  color-scheme: light;
  --red: #C8102E;
  --red-dark: #A30D25;
  --red-soft: #FBE9EC;
  --ink: #111111;
  --ink-2: #2B2B2F;
  --muted: #64646B;
  --line: #E2E2E6;
  --line-strong: #C7C7CE;
  --bg: #F6F6F7;
  --card: #FFFFFF;
  --card-2: #F9F9FA;
  --dark: #111111;            /* čierne pásy: hero, band, päta, cookie lišta */
  --on-dark: #FFFFFF;
  --on-dark-muted: #B9B9C1;
  --inv: #111111;             /* „obrátené“ prvky: tmavé tlačidlo, aktívny segment, TOP značka */
  --on-inv: #FFFFFF;
  --ok: #1B7F4C;
  --ok-bg: #E6F5EC;
  --warn: #8A5A00;
  --warn-bg: #FFF4D6;
  --err: #B3122B;
  --err-bg: #FDEBEE;
  --info: #1F4FA3;
  --info-bg: #EAF1FD;
  --r: 12px;
  --r-sm: 8px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 6px 20px rgba(17, 17, 17, .06);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --select-arrow: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --apple-bg: #000000;
  --apple-fg: #FFFFFF;
  --eye: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --eye-off: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --red: #D4163A;
    --red-dark: #B7102F;
    --red-soft: #3A141B;
    --ink: #F2F2F3;
    --ink-2: #D9D9DD;
    --muted: #A2A2AA;
    --line: #2E2E34;
    --line-strong: #46464E;
    --bg: #121214;
    --card: #1C1C20;
    --card-2: #232328;
    --dark: #0A0A0B;
    --on-dark-muted: #A9A9B1;
    --inv: #F2F2F3;
    --on-inv: #111111;
    --ok: #52C584;
    --ok-bg: #132B1E;
    --warn: #E6B553;
    --warn-bg: #332A12;
    --err: #FF7187;
    --err-bg: #3A151B;
    --info: #8FB4F3;
    --info-bg: #17243A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .35);
    --apple-bg: #FFFFFF;
    --apple-fg: #000000;
    --select-arrow: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23F2F2F3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}

/* ---------- 3. Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.site-main { flex: 1 0 auto; }
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.2; letter-spacing: -.015em; font-weight: 800; color: var(--ink); overflow-wrap: anywhere; }
h1 { font-size: clamp(26px, 5vw, 40px); }
h2 { font-size: clamp(21px, 3.2vw, 27px); }
h3 { font-size: 18px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin: 0 0 4px; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
b, strong { font-weight: 700; }
small { font-size: 14px; }
code, .iban { font-family: var(--mono); }
code { font-size: .93em; background: var(--card-2); padding: 1px 5px; border-radius: 4px; }
.iban { font-size: 18px; font-weight: 700; letter-spacing: .04em; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.hero :focus-visible, .band :focus-visible, .foot :focus-visible, .cookie :focus-visible { outline-color: #fff; }
::selection { background: var(--red); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--inv); color: var(--on-inv); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- 4. Rozloženie ---------- */
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.page { padding-top: 24px; padding-bottom: 40px; }
.section { margin: 0 0 36px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px 16px; flex-wrap: wrap; margin: 0 0 16px; }
.section-head h2, .section-head h1 { margin: 0; }
.narrow { max-width: 680px; }
.narrow-c { max-width: 680px; margin-left: auto; margin-right: auto; }
.lead { font-size: 18px; color: var(--ink-2); line-height: 1.5; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row-between { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.grid-2, .grid-3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.jobs-layout { display: grid; gap: 16px; }
.detail-grid { display: grid; gap: 16px; align-items: start; }
.acc-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .page { padding-top: 32px; padding-bottom: 56px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .jobs-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
  .acc-grid { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 24px; }
  .side-card { position: sticky; top: 16px; }
}

/* ---------- 5. Hlavička a menu (na mobile zabalené, bez JS) ---------- */
.site-head { background: var(--card); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; padding: 6px 0; text-decoration: none; }
.logo-svg { height: 30px; width: auto; display: block; }
.l-ink { fill: var(--ink); }
.l-red { fill: var(--red); }
.nav { order: 3; width: calc(100% + 32px); display: flex; flex-wrap: nowrap; gap: 2px; margin: 0 -16px; padding: 5px 12px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nav::-webkit-scrollbar { display: none; }
@media (max-width: 480px) {
  .nav { gap: 0; padding: 5px 10px; }
  .nav a { font-size: 14px; padding: 0 6px; }
}
.nav a, .nav-acc > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.nav a:hover, .nav-acc > a:hover { color: var(--ink); background: var(--bg); }
.nav a[aria-current="page"], .nav-acc > a[aria-current="page"]:not(.btn) { color: var(--ink); box-shadow: inset 0 -3px 0 var(--red); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.nav-acc { display: flex; align-items: center; justify-content: flex-end; gap: 4px; flex-wrap: wrap; }
.nav-acc form { margin: 0; }
.nav-acc .btn { padding-left: 14px; padding-right: 14px; }
@media (min-width: 900px) {
  .head { gap: 8px 16px; }
  .nav { order: 0; width: auto; margin: 0 auto 0 12px; padding: 0; overflow: visible; }
  .nav a, .nav-acc > a { padding: 0 12px; font-size: 16px; }
}

/* ---------- 6. Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 9px 20px;
  border: 2px solid var(--red); border-radius: var(--r-sm);
  background: var(--red); color: #fff;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
  text-decoration: none; text-align: center; white-space: nowrap; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--card-2); border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--inv); border-color: var(--inv); color: var(--on-inv); }
.btn-dark:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--on-inv); }
.btn-white { background: #fff; border-color: #fff; color: #111; }
.btn-white:hover { background: #ECECEE; border-color: #ECECEE; color: #111; }
.btn-lg { min-height: 52px; padding: 12px 28px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 6px 14px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn.is-done { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-ghost.is-done { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; min-height: 44px; }
.link-btn:hover { color: var(--red); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
@media (max-width: 479px) {
  .form-actions .btn:not(.btn-sm) { flex: 1 1 auto; }
}

/* ---------- 7. Formuláre ---------- */
label { display: block; font-weight: 600; margin-bottom: 6px; }
.field { margin: 0 0 18px; min-width: 0; }
.req { color: var(--red); font-weight: 800; }
input:not([type]), input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"],
input[type="url"], input[type="search"], input[type="date"], select, textarea {
  display: block; width: 100%; min-height: 48px; padding: 10px 14px; margin: 0;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--card); color: var(--ink);
  font: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
input:not([type]):focus, input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="tel"]:focus, input[type="number"]:focus,
input[type="url"]:focus, input[type="search"]:focus, input[type="date"]:focus, select:focus, textarea:focus {
  outline: 3px solid transparent; outline-offset: 0;
  border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft);
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); }
select { appearance: none; -webkit-appearance: none; background-image: var(--select-arrow); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px 16px; padding-right: 40px; cursor: pointer; }
select[multiple] { background-image: none; padding-right: 14px; min-height: 120px; }
textarea { min-height: 140px; resize: vertical; }
/* Prihlásenie cez Google a Apple: vzhľad podľa ich pravidiel (Google biele s farebným G; Apple čierne, v tmavom vzhľade biele) */
.ext-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: var(--muted); font-size: 14px; }
.ext-or::before, .ext-or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.ext-btns { display: grid; gap: 10px; }
.ext-btns form { margin: 0; }
.btn-ext { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; padding: 10px 16px; border-radius: var(--r-sm); font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.btn-ext svg { flex: none; }
.btn-google { background: #FFFFFF; color: #1F1F1F; border: 1px solid #747775; }
.btn-google:hover { background: #F7F8F8; }
.btn-apple { background: var(--apple-bg); color: var(--apple-fg); border: 1px solid var(--apple-bg); }
.btn-apple:hover { opacity: .88; }
/* Heslo s okom (app.js č. 11): ikona je maska, farbu berie z textu, takže sedí v svetlom aj tmavom vzhľade */
.pw-wrap { position: relative; display: block; }
.pw-wrap > input { padding-right: 52px; }
.pw-wrap > input::-ms-reveal, .pw-wrap > input::-ms-clear { display: none; }
.pw-eye { position: absolute; top: 2px; right: 2px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--muted); cursor: pointer; }
.pw-eye:hover { color: var(--ink); }
.pw-eye::before { content: ''; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--eye) center / contain no-repeat; mask: var(--eye) center / contain no-repeat; }
.pw-eye[aria-pressed="true"]::before { -webkit-mask-image: var(--eye-off); mask-image: var(--eye-off); }
input[type="file"] { display: block; width: 100%; padding: 12px; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--card-2); color: var(--ink-2); font: inherit; font-size: 15px; cursor: pointer; }
input[type="file"]::file-selector-button { font: inherit; font-weight: 700; font-size: 14px; min-height: 36px; padding: 6px 12px; margin-right: 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--card); color: var(--ink); cursor: pointer; }
input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--red); cursor: pointer; }
.check, .radios label { display: flex; align-items: flex-start; gap: 12px; margin: 0; min-height: 44px; padding: 8px 0; font-weight: 500; cursor: pointer; }
.check input, .radios input { margin-top: 2px; }
.radios { display: flex; flex-direction: column; }
.radios-row { display: flex; flex-wrap: wrap; gap: 0 20px; }
.consents { background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 16px; margin: 0 0 18px; }
.consents .check { border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 15px; }
.consents .check:last-child { border-bottom: 0; }
.consents .check .hint { margin-top: 2px; }
.err { background: var(--err-bg); color: var(--err); border: 1px solid var(--err-bg); border-left: 4px solid var(--err); border-radius: var(--r-sm); padding: 12px 16px; margin: 0 0 18px; font-weight: 600; }
.err ul { margin: 0; padding-left: 18px; }
.err li { margin: 2px 0; }
.hint { display: block; color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 6px; line-height: 1.45; }
label .hint { margin-top: 2px; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend { display: block; padding: 0; margin: 0 0 8px; font-weight: 700; }
.form-grid { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
.form-grid .span-2 { grid-column: 1 / -1; }
.input-row { display: flex; gap: 8px; align-items: flex-start; }
.input-row > :first-child { flex: 1 1 auto; min-width: 0; }
.count { font-size: 13px; color: var(--muted); text-align: right; margin-top: 4px; }
.count.over { color: var(--err); font-weight: 700; }
input[type="range"] { width: 100%; margin: 12px 0 6px; padding: 0; accent-color: var(--red); cursor: pointer; background: transparent; border: 0; min-height: 28px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.range-head label { margin: 0; }
.range-out { font-weight: 700; white-space: nowrap; }
.range-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.seg { position: relative; display: flex; border: 1px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; background: var(--card); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.seg label { flex: 1 1 0; margin: 0; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 6px 8px; font-size: 14px; font-weight: 600; text-align: center; cursor: pointer; border-left: 1px solid var(--line); user-select: none; color: var(--ink-2); }
.seg label:first-of-type { border-left: 0; }
.seg input:checked + label { background: var(--inv); color: var(--on-inv); }
.seg input:focus-visible + label { box-shadow: inset 0 0 0 3px var(--red); }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 8. Karty ponúk ---------- */
.job-list { display: grid; gap: 12px; margin: 0 0 8px; padding: 0; list-style: none; }
.job-list > li { margin: 0; }
.job { position: relative; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); transition: border-color .15s; }
.job:hover { border-color: var(--ink); }
.job-top { border-color: var(--ink); box-shadow: var(--shadow), inset 0 0 0 1px var(--ink); }
.job-main { min-width: 0; }
.job-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 6px; }
.job-title { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.job-title a { text-decoration: none; color: var(--ink); }
.job-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.job:hover .job-title a { color: var(--red); }
.top-tag { display: inline-block; background: var(--inv); color: var(--on-inv); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; line-height: 1.3; }
.loc { margin: 0 0 4px; color: var(--ink-2); font-weight: 600; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.loc .dot, .dot { color: var(--muted); font-weight: 400; }
.firm-line { margin: 0 0 10px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.verified, .newfirm { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); line-height: 1.5; white-space: nowrap; }
.verified { background: var(--ok-bg); color: var(--ok); }
.verified::before { content: "✓"; }
.newfirm { background: var(--card-2); color: var(--muted); border: 1px solid var(--line); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { margin: 0; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); background: var(--card-2); border: 1px solid var(--line); color: var(--ink-2); line-height: 1.3; }
.tag.ok { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.job-side { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.pay { margin: 0; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.rate { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.per { font-size: 13px; color: var(--muted); font-weight: 600; }
.when { margin: 0; font-size: 13px; color: var(--muted); }
.go { position: relative; z-index: 1; }
@media (min-width: 640px) {
  .job { grid-template-columns: minmax(0, 1fr) auto; padding: 20px; }
  .job-side { flex-direction: column; align-items: flex-end; justify-content: flex-start; border-top: 0; padding-top: 0; min-width: 150px; text-align: right; }
  .pay { flex-direction: column; align-items: flex-end; gap: 2px; }
  .rate { font-size: 28px; }
  .go { margin-top: auto; }
}

/* Vlajky čistým CSS (bez obrázkov). Pomer 4:3. */
.flag { display: inline-block; width: 20px; height: 15px; border-radius: 3px; background: var(--line-strong); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); vertical-align: -2px; flex: none; }
.flag-lg { width: 28px; height: 21px; border-radius: 4px; }
.flag-DE { background: linear-gradient(#000 0 33.4%, #DD0000 33.4% 66.7%, #FFCE00 66.7%); }
.flag-AT { background: linear-gradient(#ED2939 0 33.4%, #fff 33.4% 66.7%, #ED2939 66.7%); }
.flag-NL { background: linear-gradient(#AE1C28 0 33.4%, #fff 33.4% 66.7%, #21468B 66.7%); }
.flag-LU { background: linear-gradient(#ED2939 0 33.4%, #fff 33.4% 66.7%, #00A1DE 66.7%); }
.flag-HU { background: linear-gradient(#CE2939 0 33.4%, #fff 33.4% 66.7%, #477050 66.7%); }
.flag-SK { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Cpath fill='%23fff' d='M0 0h900v200H0z'/%3E%3Cpath fill='%230B4EA2' d='M0 200h900v200H0z'/%3E%3Cpath fill='%23EE1C25' d='M0 400h900v200H0z'/%3E%3Cpath fill='%23fff' d='m269.993 459.98-3.906-1.867c-25.267-12.173-56.294-30.4-81.294-58.133-25-27.733-43.8-65.307-43.8-114.24 0-93.6 4.52-136.68 4.52-136.68l.84-8.067h247.28l.84 8.067s4.534 43.093 4.534 136.68c0 48.933-18.8 86.507-43.814 114.24-25 27.733-56.026 45.96-81.293 58.133Z'/%3E%3Cpath fill='%23EE1C25' d='M270 450c-49.38-23.76-120-70.94-120-164.25S154.46 150 154.46 150h231.07S390 192.44 390 285.75 319.37 426.24 270 450'/%3E%3Cpath fill='%23fff' d='M280.56 261.28c13.36.22 39.45.74 62.67-7.03 0 0-.61 8.31-.61 17.99 0 9.67.61 17.98.61 17.98-21.3-7.12-47.61-7.27-62.67-7.08v51.54h-21.12v-51.54c-15.07-.2-41.37-.04-62.68 7.08 0 0 .62-8.3.62-17.98s-.62-17.99-.62-17.99c23.23 7.77 49.31 7.25 62.68 7.03v-32.37c-12.19-.1-29.74.48-49.6 7.12 0 0 .62-8.3.62-17.98s-.62-17.98-.62-17.98c19.83 6.62 37.36 7.22 49.54 7.11-.62-20.5-6.6-46.33-6.6-46.33s12.3.96 17.22.96c4.92 0 17.21-.96 17.21-.96s-5.97 25.83-6.6 46.33c12.18.1 29.72-.49 49.55-7.11 0 0-.62 8.3-.62 17.98 0 9.67.62 17.98.62 17.98-19.86-6.64-37.42-7.22-49.6-7.12v32.37'/%3E%3Cpath fill='%230B4EA2' d='M270 329.1c-24.87 0-38.19 34.46-38.19 34.46s-7.4-16.34-27.68-16.34c-13.73 0-23.82 12.2-30.25 23.5 24.97 39.7 64.8 64.2 96.11 79.28 31.32-15.07 71.16-39.58 96.13-79.28-6.43-11.3-16.52-23.5-30.25-23.5a30.52 30.52 0 0 0-27.69 16.34s-13.32-34.46-38.19-34.46Z'/%3E%3C/svg%3E") 0 50% / cover no-repeat; }
.flag-PL { background: linear-gradient(#fff 0 50%, #DC143C 50%); }
.flag-ES { background: linear-gradient(#AA151B 0 25%, #F1BF00 25% 75%, #AA151B 75%); }
.flag-BE { background: linear-gradient(90deg, #000 0 33.4%, #FAE042 33.4% 66.7%, #ED2939 66.7%); }
.flag-FR { background: linear-gradient(90deg, #0055A4 0 33.4%, #fff 33.4% 66.7%, #EF4135 66.7%); }
.flag-IT { background: linear-gradient(90deg, #009246 0 33.4%, #fff 33.4% 66.7%, #CE2B37 66.7%); }
.flag-IE { background: linear-gradient(90deg, #169B62 0 33.4%, #fff 33.4% 66.7%, #FF883E 66.7%); }
.flag-CH { background: linear-gradient(#fff, #fff) 50% 50% / 14% 62.5% no-repeat, linear-gradient(#fff, #fff) 50% 50% / 47% 18.75% no-repeat, #D52B1E; }
.flag-SE { background: linear-gradient(#FECC00, #FECC00) 33% 0 / 14% 100% no-repeat, linear-gradient(#FECC00, #FECC00) 0 50% / 100% 18% no-repeat, #006AA7; }
.flag-DK { background: linear-gradient(#fff, #fff) 33% 0 / 14% 100% no-repeat, linear-gradient(#fff, #fff) 0 50% / 100% 18% no-repeat, #C8102E; }
.flag-FI { background: linear-gradient(#002F6C, #002F6C) 33% 0 / 16% 100% no-repeat, linear-gradient(#002F6C, #002F6C) 0 50% / 100% 22% no-repeat, #fff; }
.flag-NO { background: linear-gradient(#00205B, #00205B) 33% 0 / 8% 100% no-repeat, linear-gradient(#00205B, #00205B) 0 50% / 100% 12% no-repeat, linear-gradient(#fff, #fff) 33% 0 / 18% 100% no-repeat, linear-gradient(#fff, #fff) 0 50% / 100% 24% no-repeat, #BA0C2F; }
.flag-CZ { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cpath fill='%23fff' d='M0 0h40v15H0z'/%3E%3Cpath fill='%23D7141A' d='M0 15h40v15H0z'/%3E%3Cpath fill='%2311457E' d='M0 0l20 15L0 30z'/%3E%3C/svg%3E") 50% 50% / 100% 100% no-repeat; }
.flag-GB { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3CclipPath id='t'%3E%3Cpath d='M20 15h20v15zv15H0zH0V0zV0h20z'/%3E%3C/clipPath%3E%3Cpath fill='%23012169' d='M0 0h40v30H0z'/%3E%3Cpath stroke='%23fff' stroke-width='6' d='M0 0l40 30m0-30L0 30'/%3E%3Cpath stroke='%23C8102E' stroke-width='4' clip-path='url%28%23t%29' d='M0 0l40 30m0-30L0 30'/%3E%3Cpath stroke='%23fff' stroke-width='10' d='M20 0v30M0 15h40'/%3E%3Cpath stroke='%23C8102E' stroke-width='6' d='M20 0v30M0 15h40'/%3E%3C/svg%3E") 50% 50% / 100% 100% no-repeat; }

/* ---------- 9. Filtre ---------- */
.filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; }
.tf-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; overflow: hidden; pointer-events: none; }
.tf-btn { width: 100%; margin: 0; }
.tf-toggle:focus-visible + .tf-btn { outline: 3px solid var(--red); outline-offset: 2px; }
.tf-toggle:checked + .tf-btn, .filters.open .tf-btn { background: var(--card-2); border-color: var(--ink); }
.filters-form { display: none; padding-top: 16px; }
.filters:has(.tf-toggle:checked) .filters-form, .filters.open .filters-form { display: block; }
.filters-title { font-size: 16px; margin: 0 0 12px; }
.filters .field { margin-bottom: 14px; }
.filters .check { min-height: 40px; padding: 6px 0; }
.filters .form-actions { flex-direction: column; align-items: stretch; margin-top: 4px; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin: 0 0 12px; }
.results-head h2 { margin: 0; font-size: 18px; }
.results-head .muted { font-size: 14px; }
@media (min-width: 900px) {
  .filters { position: sticky; top: 16px; padding: 20px; max-height: calc(100vh - 32px); overflow: auto; }
  .tf-btn { display: none; }
  .filters-form { display: block; padding-top: 0; }
}

/* ---------- 10. Hero (úvod) a čierny pás podstránok ---------- */
.hero { background: var(--dark); color: var(--on-dark); padding: 40px 0 32px; }
.hero .wrap { display: grid; gap: 20px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--red); border-radius: 2px; }
.hero h1 { color: #fff; margin: 0; max-width: 24ch; font-size: clamp(30px, 6vw, 52px); letter-spacing: -.025em; }
.hero .lead { color: var(--on-dark-muted); max-width: 60ch; margin: 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; color: var(--on-dark-muted); font-size: 14px; }
.hero-stats li { margin: 0; }
.hero-stats b { color: #fff; font-size: 18px; margin-right: 4px; }
.search { background: var(--card); color: var(--ink); border-radius: var(--r); padding: 12px; display: grid; gap: 10px; grid-template-columns: 1fr; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.search .field { margin: 0; }
.search select { background-color: var(--bg); border-color: transparent; }
.search .btn { min-height: 48px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.quick li { margin: 0; }
.quick a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r-pill); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.quick a:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.quick .n { color: var(--on-dark-muted); font-weight: 500; }
.band { background: var(--dark); color: var(--on-dark); padding: 32px 0; }
.band h1 { color: #fff; margin: 0; }
.band p { color: var(--on-dark-muted); margin: 8px 0 0; max-width: 60ch; }
.band .btn { margin-top: 16px; }
@media (min-width: 720px) {
  .hero { padding: 56px 0 44px; }
  .search { grid-template-columns: 1fr 1fr auto; padding: 10px; align-items: end; }
  .band { padding: 40px 0; }
}

/* ---------- 11. Kroky, otázky, panely, záložky, dlaždice ---------- */
.steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.step { position: relative; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 20px 20px 72px; counter-increment: step; }
.step::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--ink-2); }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 8px; padding: 0 16px; }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; font-size: 20px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details > :not(summary) { margin: 0 0 14px; color: var(--ink-2); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin: 0 0 16px; box-shadow: var(--shadow); min-width: 0; }
.panel > :first-child { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin: 0 0 14px; }
.panel-head h2, .panel-head h3 { margin: 0; }
.panel-plain { box-shadow: none; }
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin: 0 0 20px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"], .tabs a { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 12px 14px; min-height: 48px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; text-decoration: none; }
.tabs [role="tab"]:hover, .tabs a:hover { color: var(--ink); }
.tabs [aria-selected="true"], .tabs [aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
[role="tabpanel"][hidden] { display: none; }
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin: 0 0 20px; }
.tile { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; color: inherit; text-decoration: none; min-width: 0; }
a.tile:hover { border-color: var(--ink); color: inherit; }
.tile .n { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.tile .t { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.tile.warn .n { color: var(--warn); }
.tile.red .n { color: var(--err); }
.tile.ok .n { color: var(--ok); }
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .panel { padding: 24px; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 12. Tabuľky, štítky, oznamy ---------- */
.tbl { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 16px; -webkit-overflow-scrolling: touch; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl th { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--card-2); white-space: nowrap; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--card-2); }
.tbl-nowrap td, .tbl-nowrap th { white-space: nowrap; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .actions { white-space: nowrap; text-align: right; }
.tbl form { display: inline; margin: 0; }
.tbl .btn-sm + .btn-sm { margin-left: 4px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; line-height: 1.4; background: var(--card-2); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.pill.wait { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.pill.red { background: var(--err-bg); color: var(--err); border-color: transparent; }
.notice { background: var(--card-2); border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: var(--r-sm); padding: 12px 16px; margin: 0 0 16px; }
.notice.red { border-left-color: var(--red); background: var(--red-soft); }
.notice.ok { border-left-color: var(--ok); background: var(--ok-bg); }
.notice.warn { border-left-color: var(--warn); background: var(--warn-bg); }
.notice.info { border-left-color: var(--info); background: var(--info-bg); }
.notice p { margin: 0; }
.notice p + p { margin-top: 6px; }
.notice .btn { margin-top: 10px; }
.kv { display: grid; grid-template-columns: 1fr; gap: 2px 16px; margin: 0 0 16px; }
.kv dt { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0; }
.kv dd { margin: 0 0 12px; overflow-wrap: anywhere; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 20px; }
.fact { background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; min-width: 0; }
.fact b { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
.prose { white-space: pre-line; line-height: 1.65; overflow-wrap: anywhere; }
@media (min-width: 560px) {
  .kv { grid-template-columns: minmax(140px, max-content) 1fr; gap: 10px 20px; }
  .kv dt { font-size: inherit; text-transform: none; letter-spacing: 0; color: var(--ink-2); }
  .kv dd { margin: 0; }
  .facts { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 13. Cenník, kredity, účet ---------- */
.free-card { background: var(--card); border: 2px solid var(--red); border-radius: var(--r); padding: 20px; display: grid; gap: 8px; margin: 0 0 16px; }
.free-card .big { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.free-card p { margin: 0; color: var(--ink-2); }
.free-card .btn { justify-self: start; }
.packs { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 12px 0 24px; }
.pack { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 20px 20px; display: flex; flex-direction: column; gap: 6px; text-align: center; min-width: 0; }
.pack.best { border: 2px solid var(--red); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: var(--r-pill); white-space: nowrap; letter-spacing: .02em; }
.pack h3 { margin: 0; font-size: 18px; }
.pack .price { font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: 6px 0 2px; }
.pack .credits { color: var(--ink-2); font-weight: 700; }
.pack .per-credit { font-size: 13px; color: var(--muted); }
.pack form, .pack > .btn { margin-top: auto; padding-top: 12px; }
.pack .btn { width: 100%; }
.consent-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.consent-row:last-child { border-bottom: 0; }
.consent-row .consent-text { flex: 1 1 auto; min-width: 0; }
.consent-row .consent-text b { display: block; }
.consent-row .consent-text .hint { margin-top: 2px; }
.consent-row noscript .btn { margin-top: 8px; }
.switch { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 0; cursor: pointer; font-weight: 500; min-height: 44px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.switch-track { flex: none; width: 48px; height: 28px; border-radius: var(--r-pill); background: var(--line-strong); position: relative; transition: background .15s; margin-top: 2px; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.switch input:checked + .switch-track { background: var(--red); }
.switch input:checked + .switch-track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--red); outline-offset: 2px; }
.switch input:disabled + .switch-track { opacity: .5; }
.switch-text { padding-top: 4px; }
.danger { background: var(--card); border: 1px solid var(--err); border-radius: var(--r); padding: 20px; margin: 24px 0 0; }
.danger h2, .danger h3 { color: var(--err); margin-top: 0; }
.danger .btn { background: var(--err); border-color: var(--err); }
.share-list { list-style: none; margin: 0 0 16px; padding: 12px 16px; background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r-sm); display: grid; gap: 6px; }
.share-list li { display: flex; gap: 10px; align-items: baseline; margin: 0; }
.share-list li::before { content: "✓"; color: var(--ok); font-weight: 800; flex: none; }
.share-list b { display: inline-block; min-width: 110px; color: var(--muted); font-weight: 600; font-size: 14px; }
.note-box { background: var(--warn-bg); border: 1px solid rgba(138, 90, 0, .22); border-radius: var(--r-sm); padding: 12px 16px; margin: 0 0 16px; white-space: pre-line; overflow-wrap: anywhere; }
.note-box b { display: block; margin-bottom: 4px; white-space: normal; }
@media (min-width: 560px) {
  .packs { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .packs { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 14. Právne texty ---------- */
.legal { max-width: 760px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin: 0 auto 24px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { line-height: 1.65; }
.legal ul, .legal ol { padding-left: 22px; }
.legal .tldr { background: var(--card-2); border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: var(--r-sm); padding: 14px 16px; margin: 0 0 20px; }
.legal .tldr::before { content: "Stručne"; display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.legal .tldr p:last-child, .legal .tldr ul:last-child { margin-bottom: 0; }
.legal .tbl { font-size: 14px; }
.legal .tbl th { text-transform: none; letter-spacing: 0; font-size: 13px; }
@media (min-width: 720px) {
  .legal { padding: 32px 40px; }
}

/* ---------- 15. Správy, cookie lišta, stránkovanie, prázdne stavy ---------- */
.flashes { padding-top: 16px; }
.flash { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: var(--r-sm); margin: 0 0 10px; font-weight: 600; border: 1px solid transparent; }
.flash::before { flex: none; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; font-size: 13px; font-weight: 800; line-height: 1; }
.flash-ok { background: var(--ok-bg); color: var(--ok); }
.flash-ok::before { content: "✓"; }
.flash-err { background: var(--err-bg); color: var(--err); }
.flash-err::before { content: "!"; }
.flash-info { background: var(--info-bg); color: var(--info); }
.flash-info::before { content: "i"; }
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--dark); color: var(--on-dark); padding: 12px 0; padding-bottom: calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px rgba(0, 0, 0, .25); }
.cookie-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cookie p { margin: 0; flex: 1 1 190px; font-size: 13px; line-height: 1.45; color: var(--on-dark-muted); }
.cookie .btn { font-size: 15px; }
.cookie a { color: #fff; }
.cookie form { margin: 0; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 24px 0 8px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 600; color: var(--ink); }
.pagination a:hover { border-color: var(--ink); color: var(--ink); }
.pagination [aria-current="page"] { background: var(--inv); color: var(--on-inv); border-color: var(--inv); }
.pagination .pg-gap, .pagination .is-off { border-color: transparent; background: transparent; color: var(--muted); }
.pagination .pg-info { width: 100%; min-height: 0; border: 0; background: none; font-size: 13px; color: var(--muted); font-weight: 500; padding-top: 4px; }
.empty { border: 2px dashed var(--line-strong); border-radius: var(--r); padding: 32px 20px; text-align: center; color: var(--muted); }
.empty h2, .empty h3 { color: var(--ink); margin: 0 0 8px; }
.empty p { margin: 0 0 12px; }
.empty .btn { margin-top: 4px; }
.success { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 20px; text-align: center; max-width: 620px; margin: 0 auto; }
.success::before { content: "✓"; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); font-size: 32px; font-weight: 800; margin: 0 auto 16px; }
.success h1, .success h2 { margin: 0 0 8px; }
.success p { color: var(--ink-2); max-width: 50ch; margin: 0 auto 10px; }
.success .form-actions { justify-content: center; margin-top: 16px; }

/* ---------- 16. Lišta dole na mobile (tlačidlo „Mám záujem“) ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 10px; background: var(--card); border-top: 1px solid var(--line); padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px rgba(0, 0, 0, .08); }
.mobile-bar .btn { flex: 1 1 auto; }
.mobile-bar .mb-rate { font-weight: 800; font-size: 18px; white-space: nowrap; }
.mobile-bar .mb-rate small { font-weight: 600; color: var(--muted); font-size: 12px; }
body:has(.mobile-bar) { padding-bottom: 76px; }
body:has(.mobile-bar) .cookie { bottom: 72px; }
@media (min-width: 720px) {
  .mobile-bar { display: none; }
  body:has(.mobile-bar) { padding-bottom: 0; }
  body:has(.mobile-bar) .cookie { bottom: 0; }
}

/* ---------- 17. Päta ---------- */
.foot { background: var(--dark); color: var(--on-dark-muted); margin-top: 48px; padding: 40px 0 24px; font-size: 14px; }
.foot .logo-svg { height: 24px; }
.foot .l-ink { fill: #fff; }
.foot-grid { display: grid; gap: 24px; }
.foot-brand a { display: inline-block; }
.foot-brand p { margin: 12px 0 0; max-width: 42ch; line-height: 1.6; }
.foot-brand .foot-social a { display: inline-flex; align-items: center; min-height: 40px; color: #fff; font-weight: 600; }
.foot-links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.foot-links li { margin: 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 40px; color: #fff; text-decoration: none; font-weight: 600; }
.foot-links a:hover, .foot-links a[aria-current="page"] { text-decoration: underline; color: #fff; }
.foot-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; line-height: 1.6; }
.foot-legal p { margin: 0 0 6px; }
.foot-legal a { color: #fff; }
@media (min-width: 560px) {
  .foot-links ul { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
  .foot-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 40px; }
}

/* ---------- 18. Tlač, menej pohybu ---------- */
@media print {
  .site-head, .foot, .cookie, .mobile-bar, .filters, .pagination, .btn, .skip, .flashes, .tf-btn { display: none !important; }
  body { background: #fff; color: #000; display: block; }
  .page { padding: 0; }
  .job, .panel, .legal, .tbl, .tile { box-shadow: none; border-color: #bbb; break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  .hero, .band { background: none; color: #000; padding: 0 0 16px; }
  .hero h1, .band h1 { color: #000; }
  .hero .search, .hero .quick { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Logo firmy pri inzeráte */
.firm-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; background: #fff; border: 1px solid var(--line, #e5e5e5); padding: 2px; flex: none; }
.firm-logo-lg { width: 44px; height: 44px; border-radius: 8px; padding: 3px; }
.logo-preview { margin: 0 0 12px; }
.logo-preview img { display: block; max-width: 160px; max-height: 160px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--line, #e5e5e5); padding: 8px; }

/* Menu účtu po prihlásení (rozbaľovacie, funguje aj bez JS) */
.acc-menu { position: relative; }
.acc-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 6px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink); user-select: none; }
.acc-menu > summary::-webkit-details-marker { display: none; }
.acc-menu > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 2px; }
.acc-menu[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.acc-menu > summary:hover { background: var(--bg); }
.acc-ico { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 15px; }
.acc-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .acc-name { display: none; } .acc-menu > summary { padding-right: 10px; } }
.acc-pop { position: absolute; right: 0; top: calc(100% + 8px); width: 280px; max-width: calc(100vw - 24px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md, 12px); box-shadow: 0 12px 32px rgba(0, 0, 0, .28); padding: 8px; z-index: 50; }
.acc-who { margin: 0; padding: 8px 10px 10px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.acc-who b { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.acc-who span { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.acc-pop ul { list-style: none; margin: 0; padding: 6px 0; }
.acc-pop ul + ul { border-top: 1px solid var(--line); }
.acc-pop li a { display: flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.acc-pop li a:hover, .acc-pop li a:focus-visible { background: var(--bg); color: var(--ink); }
.acc-pop .acc-help a { font-weight: 500; font-size: 14px; color: var(--muted); }
.acc-pop .logout-form { border-top: 1px solid var(--line); padding-top: 8px; }

/* Prepínač jazyka SK / CZ v hlavičke */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: var(--r-sm); text-decoration: none; font-weight: 700; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.lang-switch:hover { color: var(--ink); background: var(--bg); }

/* Mobilná aplikácia EuroPráca: bez predaja kreditov (pravidlá App Store / Google Play) */
body.in-app .no-app { display: none !important; }
/* Tlačidlo Registrácia v hlavičke: biely text na červenom (inak ho prebije farba odkazov menu) */
.nav-acc > a.btn { color: #fff; }

/* Fotky ubytovania a pracoviska pri inzeráte */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); }
.photo-item { display: flex; flex-direction: column; gap: 6px; }
.photo-item input[name="reason"] { width: 100%; }
/* Zdieľanie ponuky a WhatsApp */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.share .small { flex-basis: 100%; }
.btn-wa { border-color: var(--ok); color: var(--ok); }
/* Odpovede uchádzača na otázky firmy */
.ans-yes { color: var(--ok); }
.ans-no { color: var(--red); }
/* Skryté pole proti robotom */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Zdieľanie a WhatsApp: na mobile hneď pod štítkami, na počítači v bočnom paneli */
@media (min-width: 900px) { .m-only { display: none !important; } }
@media (max-width: 899px) { .d-only { display: none !important; } }
.back-link { margin: 0 0 12px; font-size: 14px; }
/* pre koho je ponuka: zaškrtávanie krajín vo formulári, vlajky v inzeráte */
.origin-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; }
.origins { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.origin-note { margin: -4px 0 16px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--card-2); border: 1px solid var(--line); font-size: 14px; }
.origin-note .flag { margin-right: 4px; }
.origin-note a { font-weight: 600; }
/* automaticky preložený inzerát: poznámka s odkazom na originál */
.tr-note { display: inline-block; margin: 0 0 16px; padding: 5px 10px; border-radius: var(--r-sm); background: var(--info-bg); color: var(--info); font-size: 14px; }
.tr-note a { color: inherit; font-weight: 600; }
.back-link a { color: var(--muted); text-decoration: none; }
.back-link a:hover { color: var(--ink); text-decoration: underline; }
/* Úvod: 3 kroky a dôvera */
.hero-steps { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 20px; padding: 0; list-style: none; color: var(--on-dark-muted); font-size: 15px; }
.hero-steps li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.hero-steps b { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--on-dark-muted); }
.hero-trust li { margin: 0; }
.hero-trust li::before { content: "✓ "; color: #5ad08f; font-weight: 800; }
.hero-trust a { color: #fff; }
/* Plagát inzerátu (vlastný obrázok firmy) */
.poster { margin: 0; }
.poster img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: var(--r-sm); border: 1px solid var(--line); }
/* Výber jazyka v hlavičke */
.flag-UA { background: linear-gradient(#0057B7 0 50%, #FFD700 50%); }
.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; cursor: pointer; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu ul { position: absolute; left: 0; top: calc(100% + 4px); z-index: 60; min-width: 170px; margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
.lang-menu li { margin: 0; }
.lang-menu a { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 15px; }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--bg); }
