@charset "UTF-8";
/* Help page (help.html) styles. A separate file, not an inline <style>: the public binding sends a
   Content-Security-Policy without 'unsafe-inline' (portal/sftpgo.json), and this static page gets no nonce. */

:root {
  color-scheme: dark light;
  --bg: #0B1220; --surface: #132338; --border: #24344E;
  --text: #F7F7FB; --muted: #8A94A6; --accent: #2757F1; --accent-text: #6E8AFF;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --s8: .5rem; --s12: .75rem; --s16: 1rem; --s24: 1.5rem; --s32: 2rem; --s48: 3rem; --s64: 4rem; --s96: 6rem;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #FFFFFF; --surface: #F5F6FB; --border: #DDE2EC; --text: #132338; --muted: #55607A; --accent-text: #3A58D6; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-style: normal;
       font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.6; }
a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; border-radius: 2px; }
.track { max-width: 1120px; margin: 0 auto; }
.band { padding: clamp(var(--s48), 6vw + 1rem, var(--s96)) var(--s24); }
.band.surface { background: var(--surface); }
.measure > * { max-width: 68ch; }

/* bar: logo left, the language set right; quiet, one hairline below */
.bar { padding: 0 var(--s24); border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.bar .track { height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: var(--s16); }
.bar img { height: 32px; width: auto; aspect-ratio: 891 / 160; display: block; } /* the website's 64px-bar lockup */
.langs { display: flex; gap: var(--s16); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }
.langs a { color: var(--muted); text-decoration: none; padding: var(--s8) 0; position: relative; }
.langs a:hover { color: var(--text); }
html[data-lang="cs"] .langs a[href="#cs"], html[data-lang="sk"] .langs a[href="#sk"], html[data-lang="en"] .langs a[href="#en"] { color: var(--text); }
html[data-lang="cs"] .langs a[href="#cs"]::after, html[data-lang="sk"] .langs a[href="#sk"]::after,
html[data-lang="en"] .langs a[href="#en"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 1px; background: var(--accent);
}

/* one language at a time only once the script has run; without it all three read one after another */
html[data-lang] section.lang { display: none; }
html[data-lang="cs"] #cs, html[data-lang="sk"] #sk, html[data-lang="en"] #en { display: block; }
section.lang + section.lang { border-top: 1px solid var(--border); }

.heading { display: flex; flex-direction: column; gap: var(--s8); align-items: flex-start; margin-bottom: var(--s24); }
.eyebrow { font-size: clamp(.75rem, .7rem + .2vw, .875rem); font-weight: 600; line-height: 1.4; letter-spacing: .08em;
           text-transform: uppercase; color: var(--accent-text); margin: 0; }
h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; margin: 0; max-width: 22ch; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 900; line-height: 1.1; margin: 0; max-width: 28ch; }
.tagline { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem); font-weight: 600; line-height: 1.4; color: var(--accent-text);
           margin: 0 0 var(--s24); max-width: 42ch; }
p { margin: 0 0 var(--s16); }
strong, b { font-weight: 600; }
.muted { color: var(--muted); }

/* numbered steps: index in tabular numerals, hairlines between, no boxes */
ol.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
ol.steps > li { counter-increment: step; display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--s16);
                padding: var(--s24) 0; border-top: 1px solid var(--border); }
ol.steps > li:last-child { border-bottom: 1px solid var(--border); }
ol.steps > li::before { content: counter(step, decimal-leading-zero) " —"; font-variant-numeric: tabular-nums;
                        font-size: .875rem; font-weight: 600; letter-spacing: .08em; color: var(--accent-text); padding-top: .2em; }
ol.steps p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { ol.steps > li { grid-template-columns: 1fr; gap: var(--s8); } }

/* the exact values to pick, and the portal's own (English) labels */
.val { font-weight: 600; color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); padding: 0 .1em; white-space: nowrap; }
.ui { font-weight: 600; white-space: nowrap; }
dl.pick { display: grid; grid-template-columns: max-content 1fr; gap: var(--s8) var(--s24); margin: var(--s12) 0 var(--s16); }
dl.pick dt { color: var(--muted); }
dl.pick dd { margin: 0; }

/* the two folders: label column + text, hairline rows */
.folders { display: grid; gap: 0; margin-top: var(--s8); }
.folders > div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s16); padding: var(--s24) 0; border-top: 1px solid var(--border); }
.folders > div:last-child { border-bottom: 1px solid var(--border); }
.folders h3 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 600; line-height: 1.2; }
.folders p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .folders > div { grid-template-columns: 1fr; gap: var(--s8); } }

.block { margin-top: clamp(var(--s48), 6vw + 1rem, var(--s64)); }
.note { border-left: 2px solid var(--accent); padding-left: var(--s16); color: var(--muted); }
footer { padding: var(--s32) var(--s24); border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
         font-size: .8125rem; color: var(--muted); }

.note.after-steps { margin-top: var(--s24); color: var(--text); }   /* recovery codes: must be read */
