/* SKY.TUTI.LT — user guide page (standalone article layout, same dark theme) */
:root {
  --bg: #0b0e14; --bg2: #11151f; --panel: #141926; --panel2: #1a2032;
  --line: #232b40; --line2: #2e3854; --txt: #dbe4f3; --txt2: #8fa0bd;
  --txt3: #8494b3; --acc: #4da3ff; --acc2: #7fd4a8;   /* 2026-11-11 audit C1: #5f6f8f was 3.47:1 on --panel - WCAG AA fail; base.css fixed this token long ago, guide.css never caught up */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.65;
  background: var(--bg); color: var(--txt);
}
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }

.g-top {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; background: rgba(11,14,20,.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.g-top .g-brand {
  display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600;
  color: var(--txt); text-decoration: none;
}
.g-top .g-brand:hover { text-decoration: none; }
.g-top .g-brand b { color: var(--acc); font-weight: 700; }
.g-top .spacer { flex: 1; }
.g-back {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border-radius: 8px; border: 1px solid var(--line2); background: var(--panel2);
  color: var(--txt); font-size: 13px; font-weight: 600; text-decoration: none;
}
.g-back:hover { border-color: var(--acc); color: var(--acc); text-decoration: none; }

article { max-width: 760px; margin: 0 auto; padding: 34px 22px 60px; }
article h1 { font-size: 30px; line-height: 1.25; margin: 8px 0 10px; letter-spacing: -.3px; }
article h2 { font-size: 21px; margin: 34px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); }
article h3 { font-size: 15.5px; margin: 20px 0 4px; color: var(--txt); }
article p { color: var(--txt2); margin: 10px 0; }
article ul { color: var(--txt2); padding-left: 22px; margin: 10px 0; }
article li { margin: 5px 0; }
article .lede { font-size: 16.5px; color: var(--txt2); }
article code {
  font-family: var(--mono); font-size: 13px; color: var(--txt);
  background: var(--panel2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px;
}
.k { color: var(--acc); font-weight: 600; }

.g-toc {
  border: 1px solid var(--line); background: var(--panel); border-radius: 10px;
  padding: 12px 16px; margin: 18px 0 6px;
}
.g-toc .sn-t {
  display: block; font-size: 11px; color: var(--txt3); text-transform: uppercase;
  letter-spacing: .6px; font-weight: 600; margin-bottom: 6px;
}
.g-toc a {
  display: inline-block; margin: 2px 14px 2px 0; font-size: 13.5px; color: var(--acc);
}
.g-share { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }
.g-share .sn-t {
  display: block; font-size: 11px; color: var(--txt3); text-transform: uppercase;
  letter-spacing: .6px; font-weight: 600; margin-bottom: 8px;
}
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sharer {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line2); background: var(--panel2);
  color: var(--txt); font-size: 12.5px; font-weight: 600; text-decoration: none;
}
.sharer:hover { border-color: var(--acc); color: var(--acc); text-decoration: none; }
.g-foot { margin-top: 30px; font-size: 12.5px; color: var(--txt3); }

/* Mobile audit (2026-11-20): inline <code> holds URL samples with no break
   opportunities (/?airport=EGLL&view=arrivals|departures|tower) — a long
   unbreakable token pushed docs.html 13px past a 375px viewport. Let code
   tokens break anywhere so prose never scrolls the page sideways. */
article code { overflow-wrap: anywhere; }

@media (max-width: 560px) {
  article h1 { font-size: 24px; } article { padding-top: 22px; }
  /* The sticky header row (brand + two pill buttons) is 415px wide and
     overflowed a 375px phone. Stack the brand above the buttons instead. */
  .g-top { flex-wrap: wrap; row-gap: 8px; padding: 10px 14px; }
  .g-top .spacer { display: none; }
  .g-back { height: 30px; padding: 0 10px; font-size: 12px; }
}

/* Consent bar (analytics opt-in) — mirrors index.html's #consentBar,
   restyled for the guide layout since this page has no base.css. */
.g-consent {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 1000; width: min(560px, calc(100vw - 24px));
  display: flex; gap: 14px; align-items: center;
  background: var(--panel); border: 1px solid var(--line2); border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.45); padding: 12px 16px;
}
.g-consent.hidden { display: none; }
.g-consent p { margin: 0; font-size: 12.5px; color: var(--txt2); line-height: 1.5; }
.g-cb-btns { display: flex; flex-direction: column; gap: 6px; flex: 0 0 auto; }
.pbtn {
  height: 32px; padding: 0 14px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--acc); background: var(--acc); color: #06121f;
  font-weight: 700; font-size: 12.5px; white-space: nowrap;
}
.pbtn:hover { filter: brightness(1.1); }
.pbtn.small { height: 30px; padding: 0 12px; }
.pbtn.ghost { background: transparent; color: var(--acc); }
@media (max-width: 560px) {
  .g-consent { flex-direction: column; align-items: stretch; text-align: left; }
  .g-cb-btns { flex-direction: row; }
}

/* Skip link (a11y) — same pattern as the radar page */
.skip-link {
  position: fixed; top: -48px; left: 12px; z-index: 3000;
  background: #4da3ff; color: #04101f; font-weight: 700; font-size: 13px;
  padding: 10px 16px; border-radius: 0 0 10px 10px; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; outline: 2px solid #fff; }
