/* ETEP Flights — the tokens of www.etep.com (src/styles/global.css), an application layout:
   a navy rail on the left, the work on the right. */
@font-face { font-family: 'Manrope Variable'; src: url('/assets/fonts/manrope.woff2') format('woff2-variations'); font-weight: 200 800; font-display: swap; 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: 'Manrope Variable'; src: url('/assets/fonts/manrope-ext.woff2') format('woff2-variations'); font-weight: 200 800; font-display: swap; 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 Variable'; src: url('/assets/fonts/space-grotesk.woff2') format('woff2-variations'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url('/assets/fonts/space-mono.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --bg: #eef2f8; --surface: #ffffff; --ink: #0b1422; --body: #36424f; --muted: #5d6877; --line: #e1e7f0;
  --accent: #0a5bd0; --accent-fill: #0d7bff; --navy: #0a1626; --input-bg: #f4f7fb;
  --ok: #1d8a4e; --warn: #a8620a; --bad: #c2362b; --row-hover: #f4f7fc;
  --bar: #2a78d6; --bar-2: #9cc1ef;
  --font-display: 'Space Grotesk Variable', 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Manrope Variable', 'Manrope', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0a0f1a; --surface: #121a2b; --ink: #eaf0f8; --body: #c6d0dd; --muted: #97a4b8; --line: #26324a;
    --accent: #3f97ff; --accent-fill: #3f97ff; --navy: #060b15; --input-bg: #0d1524;
    --ok: #4fd18b; --warn: #f2b84b; --bad: #ff8a7a; --row-hover: #172238; --bar: #3987e5; --bar-2: #2b4f80;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0a0f1a; --surface: #121a2b; --ink: #eaf0f8; --body: #c6d0dd; --muted: #97a4b8; --line: #26324a;
  --accent: #3f97ff; --accent-fill: #3f97ff; --navy: #060b15; --input-bg: #0d1524;
  --ok: #4fd18b; --warn: #f2b84b; --bad: #ff8a7a; --row-hover: #172238; --bar: #3987e5; --bar-2: #2b4f80;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--body); font: 15px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
h1, h2, h3 { color: var(--ink); font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.noscript { padding: 40px; text-align: center; }
.boot { min-height: 100vh; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* buttons and fields */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn--primary { background: var(--accent-fill); border-color: var(--accent-fill); color: #fff; }
.btn--primary:hover { color: #fff; filter: brightness(1.08); }
.btn--danger { color: var(--bad); }
.btn--danger:hover { border-color: var(--bad); color: var(--bad); }
.btn[disabled] { opacity: 0.55; cursor: default; }
.link { padding: 0; border: 0; background: none; color: var(--accent); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.field > span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.input { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--input-bg); color: var(--ink); font-size: 15px; }
textarea.input { min-height: 90px; resize: vertical; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--body); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent-fill); }

/* sign-in */
.signin { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.signin__card { width: min(440px, 100%); padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 10px 40px rgba(13, 30, 60, 0.08); }
.signin__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.signin__logo img { flex: none; }
.signin__etep { height: 30px; width: auto; }
:root[data-theme='dark'] .signin__etep { filter: brightness(0) invert(1); }
.signin__card h1 { font-size: 28px; line-height: 1.15; }
.signin__lead { margin: 10px 0 22px; }
.signin form { display: grid; gap: 14px; }
.signin__code { font-family: var(--font-mono); font-size: 26px; letter-spacing: 0.3em; text-align: center; }
.signin__err { margin: 0; color: var(--bad); font-size: 14px; }
.signin__err:empty { display: none; }
.signin__foot { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.signin__tools { position: fixed; top: 16px; right: 16px; display: flex; gap: 8px; }
.btn--icon { padding: 9px; }
.btn--icon svg { width: 18px; height: 18px; }

/* application shell */
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 20px 14px; background: var(--navy); color: #c9d4e3; }
.rail__logo { display: flex; align-items: center; gap: 10px; padding: 4px 10px 20px; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.rail__logo img { flex: none; width: 32px; height: 32px; }
.rail__logo .rail__etep { width: auto; height: 22px; filter: brightness(0) invert(1); }
.rail__logo span { color: #7fb5ff; }
.rail__add { margin: 0 4px 14px; justify-content: center; }
.rail a.nav { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: #c9d4e3; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.rail a.nav:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.rail a.nav[aria-current='page'] { background: rgba(63, 151, 255, 0.18); color: #fff; }
.rail svg { flex: none; width: 18px; height: 18px; }
.rail__spacer { flex: 1; }
.rail__user { display: flex; align-items: center; gap: 8px; padding: 10px 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12.5px; color: #8fa3bf; overflow-wrap: anywhere; }
.rail button.nav { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: none; color: #c9d4e3; font-weight: 600; font-size: 14.5px; cursor: pointer; text-align: left; }
.rail button.nav:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.main { min-width: 0; padding: 28px clamp(16px, 3vw, 36px) 48px; }
.ph { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 20px; }
.ph h1 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.1; }
.ph__count { margin-left: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); letter-spacing: 0; }
.ph__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.note { margin: -8px 0 18px; font-size: 13px; color: var(--muted); max-width: 90ch; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 16px; }
.filters .input { width: auto; min-width: 150px; padding: 7px 10px; font-size: 14px; }
.filters .input[type='search'] { min-width: 220px; }

/* tables */
.tblw { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr[data-id] { cursor: pointer; }
tbody tr[data-id]:hover td { background: var(--row-hover); }
tr.grp td { padding: 14px 12px 6px; background: none; font-weight: 700; color: var(--ink); cursor: default; }
tr.grp td small { margin-left: 10px; font-weight: 400; color: var(--muted); }
.route { font-family: var(--font-mono); font-size: 13px; color: var(--ink); white-space: nowrap; }
.tag { display: inline-block; margin: 0 4px 2px 0; padding: 1px 8px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-size: 12px; font-weight: 600; }
.pill { display: inline-block; padding: 1px 9px; border-radius: 99px; font-size: 12.5px; font-weight: 700; color: var(--state, var(--muted)); background: color-mix(in srgb, var(--state, var(--muted)) 13%, transparent); white-space: nowrap; }
.ok { --state: var(--ok); } .warn { --state: var(--warn); } .bad { --state: var(--bad); }
.empty { padding: 40px 24px; text-align: center; color: var(--muted); }
.empty h2 { margin-bottom: 8px; font-size: 20px; }

/* uploads */
.drop { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; background: color-mix(in srgb, var(--navy) 70%, transparent); color: #fff; font-family: var(--font-display); font-size: 26px; }
.drop.is-on { display: grid; }
.ups { display: grid; gap: 6px; margin-bottom: 16px; }
.ups:empty { display: none; }
.up { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13.5px; }
.up b { color: var(--ink); overflow-wrap: anywhere; }

/* drawer (one flight, one aircraft, one person) */
.veil { position: fixed; inset: 0; z-index: 40; background: rgba(6, 11, 21, 0.35); }
.drawer { position: fixed; z-index: 41; top: 0; right: 0; bottom: 0; width: min(520px, 100vw); overflow-y: auto; padding: 24px 26px 40px; background: var(--surface); border-left: 1px solid var(--line); box-shadow: -10px 0 40px rgba(6, 11, 21, 0.18); }
.drawer__x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 18px; cursor: pointer; }
.drawer h2 { padding-right: 40px; font-size: 22px; }
.drawer section { margin-top: 22px; }
.drawer h3 { margin-bottom: 10px; font-size: 15px; }
.drawer form { display: grid; gap: 14px; }
.drawer__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 14px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); }
.facts div { padding: 10px 12px; background: var(--surface); }
.facts dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.ldg { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.ldg li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; }
.crew { display: grid; gap: 8px; }
.crew__row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 34px; gap: 8px; }
.crew__row .input { padding: 7px 10px; font-size: 14px; }
.crew__x { border: 1px solid var(--line); border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }

/* insights */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 12px; margin-bottom: 18px; }
.tile { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.tile dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tile dd { margin: 6px 0 0; font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.tile small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 14px; margin-bottom: 18px; }
.card { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); min-width: 0; }
.card h2 { margin-bottom: 4px; font-size: 16px; }
.card p.muted { margin: 0 0 10px; font-size: 13px; }
.chart { display: block; width: 100%; height: auto; }
.chart text { fill: var(--muted); font: 10.5px var(--font-mono); }
.chart .grid { stroke: var(--line); }
.chart .bar { fill: var(--bar); }
.chart .lim { stroke: var(--bad); stroke-dasharray: 4 4; }
.chart .dot-ok { fill: var(--ok); } .chart .dot-bad { fill: var(--bad); } .chart .dot-na { fill: var(--muted); }

/* account */
.acc { display: grid; gap: 14px; max-width: 760px; }
.acc .card p { margin: 0 0 12px; }

/* toast */
.toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; translate: -50% 0; padding: 10px 18px; border-radius: 99px; background: var(--navy); color: #fff; font-size: 14px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25); }
.toast[hidden] { display: none; }

@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .rail { position: sticky; z-index: 30; height: auto; flex-direction: row; flex-wrap: nowrap; align-items: center; overflow-x: auto; padding: 8px 10px; }
  .rail__logo { padding: 4px 8px; }
  .rail__logo span, .rail__logo .rail__etep, .rail__spacer, .rail__user { display: none; }
  .rail__add { margin: 0 6px; }
  .rail a.nav, .rail button.nav { width: auto; padding: 8px 10px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.nowrap { white-space: nowrap; }

/* filter chips of the alerts */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.chip { padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.chip b { margin-left: 4px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip[aria-pressed='true'] { border-color: var(--accent-fill); background: var(--accent-fill); color: #fff; }
.chip[aria-pressed='true'] b { color: #fff; }

/* training record */
.dots { display: inline-flex; gap: 4px; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); opacity: 0.45; }
.dot.ok { background: var(--ok); opacity: 1; }
.dot.bad { background: var(--bad); opacity: 1; }
.cmts { display: grid; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.cmt__item { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; }
.cmt__by { margin: 0 0 4px; font-size: 12.5px; color: var(--muted); }
.cmt__text { margin: 0; white-space: pre-wrap; color: var(--ink); }
.cmt { display: grid; gap: 8px; }
.cmt textarea { min-height: 70px; }
.cmt .btn { justify-self: start; }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-top: 10px; }
.share__url { flex: 1 1 220px; font-family: var(--font-mono); font-size: 12.5px; }
.ldg li .link { margin-left: auto; }
.shared { width: min(560px, 100%); }

/* engine trends: one colour per cylinder */
:root { --c0: #2a78d6; --c1: #d9822b; --c2: #2e9e5b; --c3: #c2362b; --c4: #7a5cc7; --c5: #8a6d3b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) { --c0: #5aa2f0; --c1: #f0a45a; --c2: #5cc98a; --c3: #ff8a7a; --c4: #a98ff0; --c5: #c9a46b; } }
:root[data-theme='dark'] { --c0: #5aa2f0; --c1: #f0a45a; --c2: #5cc98a; --c3: #ff8a7a; --c4: #a98ff0; --c5: #c9a46b; }
.chart.lines path { fill: none; stroke-width: 2; }
.chart .s0 { stroke: var(--c0); } .chart circle.s0 { fill: var(--c0); stroke: none; }
.chart .s1 { stroke: var(--c1); } .chart circle.s1 { fill: var(--c1); stroke: none; }
.chart .s2 { stroke: var(--c2); } .chart circle.s2 { fill: var(--c2); stroke: none; }
.chart .s3 { stroke: var(--c3); } .chart circle.s3 { fill: var(--c3); stroke: none; }
.chart .s4 { stroke: var(--c4); } .chart circle.s4 { fill: var(--c4); stroke: none; }
.chart .s5 { stroke: var(--c5); } .chart circle.s5 { fill: var(--c5); stroke: none; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--body); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend .sw { width: 14px; height: 3px; border-radius: 2px; }
.legend .sw.s0 { background: var(--c0); } .legend .sw.s1 { background: var(--c1); } .legend .sw.s2 { background: var(--c2); }
.legend .sw.s3 { background: var(--c3); } .legend .sw.s4 { background: var(--c4); } .legend .sw.s5 { background: var(--c5); }

/* storage used */
.meter { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 12%, transparent); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: inherit; background: var(--accent-fill); }

/* map of points (map.ts) */
.pmap { position: relative; overflow: hidden; border-radius: 14px; background: var(--input-bg); touch-action: none; }
.pmap__tiles, .pmap__cv { position: absolute; inset: 0; }
.pmap__tile { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 0.25s; user-select: none; }
.pmap__tile.is-in { opacity: 1; }
:root[data-theme='dark'] .pmap__tiles { filter: brightness(0.75) contrast(1.05); }
.pmap__ctrl { position: absolute; top: 10px; right: 10px; display: grid; gap: 6px; }
.pmap__ctrl button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 18px; cursor: pointer; }
.pmap__attr { position: absolute; right: 0; bottom: 0; margin: 0; padding: 2px 6px; background: rgba(255, 255, 255, 0.85); color: #333; font-size: 10.5px; border-top-left-radius: 6px; }
.pmap__attr a { color: #2a5db0; }
.pmap__ask { position: absolute; inset: auto 16px 16px 16px; z-index: 2; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 8px 30px rgba(6, 11, 21, 0.18); }
.pmap__ask p { margin: 0; }
.pmap__info { position: absolute; z-index: 3; top: 12px; left: 12px; width: min(340px, calc(100% - 24px)); padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 8px 30px rgba(6, 11, 21, 0.18); }
.pmap__info[hidden] { display: none; }
.pmap__info p { margin: 0 0 8px; }
.dotk { width: 11px; height: 11px; border-radius: 50%; }
.dotk.dia { border-radius: 2px; transform: rotate(45deg) scale(0.85); }

/* suggestions: the flight and files joined */
.fbx { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; }
.fbx a { color: var(--accent); }

/* three fields on a row (maintenance, titles) */
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .row3 { grid-template-columns: 1fr; } }

/* reports: on screen like a sheet, on paper the sheet alone */
.report { max-width: 1040px; }
.report:not(:empty) { margin-top: 18px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.report__head { margin-bottom: 18px; }
.report__head h2 { margin: 4px 0 6px; font-size: 22px; }
.report__head p { margin: 0 0 4px; }
.report h3 { margin: 22px 0 8px; font-size: 15px; }
.report table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.report th, .report td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.report th.num, .report td.num { text-align: right; }
.report__foot { margin-top: 22px; font-size: 12px; }
@media print {
  @page { size: A4 landscape; margin: 12mm; }
  .rail, .noprint, .toast { display: none !important; }
  .shell { display: block; }
  .main { padding: 0 !important; }
  .report:not(:empty) { border: 0; padding: 0; margin: 0; background: #fff; color: #000; }
  .report th, .report td { border-color: #bbb; }
}

/* a mission's checklist */
.mcheck { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }

/* the rail in sections that fold */
.rail { overflow-y: auto; scrollbar-width: thin; }
.rail__grp { display: grid; gap: 2px; margin-bottom: 6px; }
.rail__sec { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8fa3bf; cursor: pointer; list-style: none; border-radius: 8px; }
.rail__sec::-webkit-details-marker { display: none; }
.rail__sec::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.15s; margin-right: 2px; }
.rail__grp:not([open]) > .rail__sec::after { transform: rotate(-45deg); }
.rail__sec:hover { color: #fff; }
.rail__sec:focus-visible { outline: 2px solid #3f97ff; outline-offset: 1px; }
@media (max-width: 860px) {
  .rail__grp { display: contents; }
  .rail__sec { display: none; }
}

/* an element marked hidden stays hidden, whatever display its class gives it (forms of the account page, fields of the titles page) */
[hidden] { display: none !important; }

/* Statistics (administrators): a bar per day beside the figure */
.stcell { width: 28%; min-width: 80px; }
.stbar { display: block; height: 8px; min-width: 2px; border-radius: 4px; }
.stbar--a { background: var(--accent); }
.stbar--f { background: color-mix(in srgb, var(--accent) 45%, var(--muted)); }

/* landing score, where the points go, records and badges (09/11/2026) */
.pill.sc { min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; cursor: help; }
.lostl { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.lostl li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(60px, 1fr) 46px; align-items: center; gap: 10px; font-size: 13.5px; }
.lostl b { text-align: right; font-variant-numeric: tabular-nums; }
.lostl__bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.lostl__bar i { display: block; height: 100%; border-radius: 4px; background: var(--warn); }
.sech { margin: 26px 0 12px; font-size: 20px; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 12px; }
.badge { --tier: var(--muted); display: flex; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); min-width: 0; }
.badge[data-tier='0'] { opacity: 0.72; }
.badge[data-tier='1'] { --tier: #b06a2c; } .badge[data-tier='2'] { --tier: #7f8a99; } .badge[data-tier='3'] { --tier: #c99a17; }
.badge[data-tier='4'] { --tier: var(--accent); } .badge[data-tier='5'] { --tier: var(--ok); }
.badge__medal { position: relative; flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--tier); background: color-mix(in srgb, var(--tier) 14%, transparent); }
.badge__medal svg { width: 26px; height: 26px; }
.badge__medal b { position: absolute; right: -4px; bottom: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; font-size: 11.5px; line-height: 20px; text-align: center; color: #fff; background: var(--tier); }
.badge__medal b:empty { display: none; }
.badge__body { min-width: 0; flex: 1; }
.badge h3 { margin: 0; font-size: 14.5px; }
.badge__val { margin: 4px 0 2px; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.badge p { margin: 0; font-size: 12.5px; }
.badge__bar { height: 6px; margin: 8px 0 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.badge__bar i { display: block; height: 100%; border-radius: 3px; background: var(--tier); }
.badge[data-tier='0'] .badge__bar i { background: var(--accent); }

/* the space of the offer in the rail (09/11/2026) */
.gauge { --g: var(--ok); display: grid; gap: 5px; margin: 0 4px 14px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 12px; color: var(--body); text-decoration: none; font-size: 12.5px; }
.gauge.warn { --g: var(--warn); } .gauge.bad { --g: var(--bad); }
.gauge:hover { border-color: color-mix(in srgb, var(--g) 50%, var(--line)); }
.gauge__t { font-variant-numeric: tabular-nums; }
.gauge__bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.gauge__bar i { display: block; height: 100%; border-radius: 3px; background: var(--g); }
.gauge__s { color: var(--g); font-weight: 600; }
@media (max-width: 860px) { .gauge { display: none; } }

/* your year of flying (09/11/2026) */
.ybars .bar { fill: var(--accent-fill); }
.ybars text { font-size: 11px; }
.pmap__hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 10px; }
.pmap__hd h2 { margin: 0; }
.pmap__base { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.pmap__base > span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.pmap__base .input { width: auto; padding: 6px 10px; font-size: 14px; }
.pmap__box { position: relative; }

/* the challenges of the month (09/11/2026) */
.chal { margin-bottom: 22px; }
.chal__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px; margin-top: 10px; }
.chal__c { --tier: var(--accent); padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.chal__c[data-met='1'] { --tier: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.chal__c h3 { margin: 0; font-size: 14.5px; }
.chal__c p { margin: 0; font-size: 12.5px; }
.chal__c .badge__val { margin: 6px 0 2px; }

/* the airfields passport (09/11/2026) */
.stamps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 14px; }
.stamp { --ink: #1f5fbf; display: grid; justify-items: center; align-content: center; gap: 2px; aspect-ratio: 1; padding: 10px; border: 3px solid var(--ink); border-radius: 50%; outline: 1px solid var(--ink); outline-offset: -9px; color: var(--ink); text-align: center; background: color-mix(in srgb, var(--ink) 5%, var(--surface)); }
.stamp[data-ink='1'] { --ink: #b33a3a; } .stamp[data-ink='2'] { --ink: #2e7d4f; } .stamp[data-ink='3'] { --ink: #6b45a8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .stamp { --ink: #6aa8ff; } :root:not([data-theme='light']) .stamp[data-ink='1'] { --ink: #ff8a7a; } :root:not([data-theme='light']) .stamp[data-ink='2'] { --ink: #5cc98a; } :root:not([data-theme='light']) .stamp[data-ink='3'] { --ink: #b49cf5; } }
:root[data-theme='dark'] .stamp { --ink: #6aa8ff; } :root[data-theme='dark'] .stamp[data-ink='1'] { --ink: #ff8a7a; } :root[data-theme='dark'] .stamp[data-ink='2'] { --ink: #5cc98a; } :root[data-theme='dark'] .stamp[data-ink='3'] { --ink: #b49cf5; }
.stamp b { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.04em; }
.stamp span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.stamp small { font-family: var(--font-mono); font-size: 11px; }
.stamp i { font-style: normal; font-size: 10.5px; opacity: 0.8; }

/* the logbook (09/11/2026) */
.lb table { font-size: 12.5px; }
.lb th { white-space: normal; font-size: 10px; }
.lb td { white-space: nowrap; }
.lb td:last-child { white-space: normal; min-width: 140px; }
.lb .lb__tot td { font-weight: 700; border-top: 2px solid var(--line); }
@media print { .lb table { font-size: 9pt; } .lb th { font-size: 7.5pt; } }

/* the gauge sits in the rail, navy in both themes: the rail's own colours (09/11/2026, remark of Mathieu) */
.rail .gauge { --g: #4fd18b; border-color: rgba(255, 255, 255, 0.14); color: #c9d4e3; }
.rail .gauge.warn { --g: #f2b84b; } .rail .gauge.bad { --g: #ff8a7a; }
.rail .gauge:hover { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.rail .gauge__bar { background: rgba(255, 255, 255, 0.14); }

/* the logbook brought in (09/11/2026): imported lines, the mapping of a file's columns */
.lb tr.lb__in td:first-child { box-shadow: inset 3px 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
.lb__imports { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
.li__map { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 12px; }
.li__map .input { padding: 7px 10px; font-size: 13.5px; }

/* the pilot's photo (09/11/2026) */
.av { flex: none; border-radius: 50%; object-fit: cover; background: var(--input-bg); }
.av--i { display: inline-grid; place-items: center; color: #fff; font-weight: 700; letter-spacing: 0.02em; background: color-mix(in srgb, var(--accent) 70%, #0a1626); }
.phc { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.phc .av { width: 96px; height: 96px; }
/* an aircraft's photo (photo.ts): beside its registration, in its form, and where it is chosen for a booking */
.acph { flex: none; width: 60px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--input-bg); }
.acph--s { width: 36px; height: 24px; border-radius: 4px; }
.acreg { display: inline-flex; align-items: center; gap: 10px; }
.acphf { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.acphf__v { flex: none; display: grid; place-items: center; width: 150px; height: 100px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--input-bg); color: var(--muted); }
.acphf__v img { width: 100%; height: 100%; object-fit: cover; }
.acphf__v svg { width: 34px; height: 34px; }
.acphf > div { flex: 1; min-width: 180px; }
.acphf p { margin: 0 0 10px; font-size: 13px; }
.acphf__b { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.acpick { display: flex; gap: 10px; overflow-x: auto; padding: 3px 3px 8px; scroll-snap-type: x proximity; }
.acpick__b { flex: none; display: grid; gap: 2px; width: 138px; padding: 0 0 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--body); font: inherit; text-align: left; cursor: pointer; scroll-snap-align: start; }
.acpick__b > b, .acpick__b > small { padding: 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acpick__b > b { margin-top: 6px; }
.acpick__b > small { min-height: 1.3em; color: var(--muted); font-size: 11.5px; }
.acpick__ph { display: grid; place-items: center; aspect-ratio: 3 / 2; background: var(--input-bg); color: var(--muted); }
.acpick__ph img { width: 100%; height: 100%; object-fit: cover; }
.acpick__ph svg { width: 30px; height: 30px; }
.acpick__b:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.acpick__b[aria-pressed="true"] { border-color: var(--accent-fill); box-shadow: 0 0 0 2px var(--accent-fill); }
.acpick__b:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.who { display: inline-flex; align-items: center; gap: 10px; }
ul.ldg li > .av { margin-right: 4px; }
.avpick { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.avpick__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.avpick__b { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: 11.5px; line-height: 1.25; text-align: center; cursor: pointer; transition: transform 0.15s, border-color 0.15s; }
.avpick__b img { width: 64px; height: 64px; border-radius: 50%; }
.avpick__b:hover { transform: translateY(-2px); border-color: var(--accent); }
.avpick__b:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.avpick__b[aria-pressed='true'] { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent); }
@media (prefers-reduced-motion: reduce) { .avpick__b { transition: none; } .avpick__b:hover { transform: none; } }

/* the club's planning (09/11/2026): a day of the fleet and the instructors */
.pl__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 6px 0 12px; }
.pl__nav .input { width: auto; padding: 7px 10px; }
.pl__day { font-family: var(--font-display); font-size: 17px; }
.pl__day::first-letter { text-transform: uppercase; }
.pl { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.pl__row { display: flex; min-width: max-content; border-bottom: 1px solid var(--line); }
.pl__row:last-of-type { border-bottom: 0; }
.pl__lab { position: sticky; left: 0; z-index: 2; flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; width: 168px; padding: 8px 10px; background: var(--surface); border-right: 1px solid var(--line); font-size: 13px; }
.pl__lab small { color: var(--muted); font-size: 11.5px; }
.pl__lab .pill { font-size: 10.5px; padding: 1px 6px; }
.pl__lab--p { flex-wrap: nowrap; }
.pl__lab--p b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl__row--head { position: sticky; top: 0; z-index: 3; background: var(--surface); }
.pl__hours { display: flex; flex: none; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }
.pl__hours span { flex: none; padding: 6px 0 4px 4px; border-left: 1px solid var(--line); }
.pl__sec { position: sticky; left: 0; padding: 6px 10px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); border-bottom: 1px solid var(--line); }
.pl__lane { position: relative; flex: none; min-height: 44px; cursor: copy; background-image: repeating-linear-gradient(to right, color-mix(in srgb, var(--line) 90%, transparent) 0 1px, transparent 1px var(--hour)), repeating-linear-gradient(to right, color-mix(in srgb, var(--line) 40%, transparent) 0 1px, transparent 1px var(--slot)); }
.pl__b { position: absolute; top: calc(50% - 15px); height: 30px; display: flex; align-items: center; padding: 0 7px; border: 1px solid transparent; border-radius: 7px; color: #fff; font: inherit; font-size: 12px; text-align: left; cursor: pointer; overflow: hidden; }
.pl__b span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl__b:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.k-flight { background: #2a78d6; } .k-lesson { background: #2e8b57; } .k-ground { background: #7a5bd0; } .k-block { background: #8c95a3; } .k-absence { background: #b0b7c3; color: #1f2a37; }
.pl__b.k-block, .pl__b.k-absence { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 6px, transparent 6px 12px); }
.pl__b.is-tent, .pl__dot.is-tent { background-color: transparent; color: var(--ink); border: 1.5px dashed currentColor; background-image: repeating-linear-gradient(135deg, color-mix(in srgb, currentColor 14%, transparent) 0 6px, transparent 6px 12px); }
.pl__b.is-tent.k-flight, .pl__dot.is-tent.k-flight { color: #2a78d6; } .pl__b.is-tent.k-lesson, .pl__dot.is-tent.k-lesson { color: #2e8b57; } .pl__b.is-tent.k-ground { color: #7a5bd0; }
.pl__b.is-mine { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--ink); }
.pl__nowwrap { position: absolute; top: 0; bottom: 0; left: 168px; pointer-events: none; }
.pl__now { position: absolute; top: 0; bottom: 0; width: 2px; background: #e5484d; }
.pl__legend { margin: 10px 0 0; }
.pl__dot { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; }
.pl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pl__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pl__list li .pl__dot { flex: none; }
.pl__acts { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pl__wait { margin-bottom: 14px; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.pl__check { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--input-bg); }
.pl__check p { margin: 0 0 4px; }
.pl__warn { color: #b8541a; }
.pl__warns { margin: 0 0 12px; padding-left: 18px; color: #b8541a; font-size: 13.5px; }
@media (max-width: 640px) { .pl__lab { width: 116px; } .pl__nowwrap { left: 116px; } .pl__day { font-size: 15px; } }

/* closing a booking; the weather of the airfield over the planning (09/11/2026) */
.pl__b.is-done { opacity: 0.72; }
.pl__b.is-done span::before { content: '✓ '; font-weight: 700; }
.pl__b.has-wx::after { content: ''; position: absolute; top: 3px; right: 3px; width: 7px; height: 7px; border-radius: 50%; background: #f5a623; box-shadow: 0 0 0 1.5px var(--surface); }
.pl__row--wx .pl__lab small { color: var(--muted); }
.pl__wx { display: flex; flex: none; }
.wx__c { flex: none; display: flex; align-items: center; justify-content: center; gap: 2px; height: 34px; border-left: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; color: var(--ink); position: relative; }
.wx__c b { font-weight: 700; }
.wx__c small { font-size: 9.5px; color: #b8541a; }
.wx__c.is-wind { background: color-mix(in srgb, #f5a623 22%, transparent); }
.wx__c.is-rain { background-image: linear-gradient(color-mix(in srgb, #3f97ff 26%, transparent), color-mix(in srgb, #3f97ff 26%, transparent)); }
.wx__arr { width: 12px; height: 12px; flex: none; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wx__rain { position: absolute; right: 3px; bottom: 1px; font-style: normal; font-size: 9px; color: #1f5fbf; }
:root[data-theme='dark'] .wx__rain { color: #7db4ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .wx__rain { color: #7db4ff; } }
.wx__tint { position: absolute; top: 0; bottom: 0; }
.wx__tint.is-wind { background: color-mix(in srgb, #f5a623 9%, transparent); }
.wx__tint.is-rain { background-image: repeating-linear-gradient(115deg, color-mix(in srgb, #3f97ff 13%, transparent) 0 2px, transparent 2px 9px); }
.wx__key.is-wind { background: color-mix(in srgb, #f5a623 45%, transparent); }
.wx__key.is-rain { background: color-mix(in srgb, #3f97ff 45%, transparent); }
.wx__alerts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 12px; padding: 10px 14px; border: 1px solid color-mix(in srgb, #f5a623 55%, var(--line)); border-radius: 12px; background: color-mix(in srgb, #f5a623 9%, var(--surface)); font-size: 13.5px; }
.wx__src { margin: 8px 0 0; font-size: 12px; }
.pl__close { border-color: color-mix(in srgb, #2e8b57 45%, var(--line)); }

/* the pilots' accounts (09/11/2026) */
.ac__bal { margin: 4px 0 10px; } .ac__bal .pill { font-size: 22px; padding: 4px 14px; font-family: var(--font-display); }
.ac__deb { color: #b33a3a; } .ac__cred { color: #2e7d4f; }
:root[data-theme='dark'] .ac__deb { color: #ff8a7a; } :root[data-theme='dark'] .ac__cred { color: #5cc98a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .ac__deb { color: #ff8a7a; } :root:not([data-theme='light']) .ac__cred { color: #5cc98a; } }
tr.ac__rev td { opacity: 0.6; }
.ac__num { width: 110px; padding: 6px 8px; text-align: right; }
.ac__who { display: grid; gap: 6px; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; max-height: 260px; overflow: auto; }
.ac__who legend { padding: 0 4px; font-size: 13px; color: var(--muted); }
.ac__top { margin: 4px 0 6px; align-items: end; }
.ac__top .field { max-width: 220px; }

/* the week of the planning (09/11/2026): a column a day, the hours down */
.pl__seg { display: inline-flex; }
.pl__seg .btn { border-radius: 0; }
.pl__seg .btn:first-child { border-radius: 999px 0 0 999px; } .pl__seg .btn:last-child { border-radius: 0 999px 999px 0; margin-left: -1px; }
.pl__seg .btn[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pl__nav select.input { width: auto; padding: 7px 10px; }
.plw { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.plw__grid { display: grid; grid-template-columns: 52px repeat(7, minmax(112px, 1fr)); min-width: 836px; }
.plw__corner { border-bottom: 1px solid var(--line); }
.plw__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 8px 8px 6px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.plw__h b::first-letter { text-transform: uppercase; }
.plw__h span { color: var(--muted); font-size: 12px; }
.plw__h.is-today b, .plw__h.is-today span { color: var(--accent); }
.plw__wx { display: inline-flex; align-items: center; gap: 2px; width: 100%; padding: 1px 4px; border-radius: 6px; font-family: var(--font-mono); font-size: 10.5px; text-transform: none; }
.plw__wx.is-wind { background: color-mix(in srgb, #f5a623 22%, transparent); }
.plw__wx.is-rain { background: color-mix(in srgb, #3f97ff 22%, transparent); }
.plw__wx small { color: #b8541a; font-size: 9.5px; } .plw__wx i { margin-left: auto; font-style: normal; color: #1f5fbf; }
:root[data-theme='dark'] .plw__wx i { color: #7db4ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .plw__wx i { color: #7db4ff; } }
.plw__times { display: flex; flex-direction: column; }
.plw__times span { flex: none; padding: 2px 6px 0 0; text-align: right; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); border-top: 1px solid var(--line); }
.plw__col { position: relative; border-left: 1px solid var(--line); cursor: copy; background-image: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--line) 90%, transparent) 0 1px, transparent 1px var(--hh)); }
.plw__col.is-today { background-color: color-mix(in srgb, var(--accent) 4%, transparent); }
.plw__b { position: absolute; left: 3px; right: 3px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 2px 6px; border: 1px solid transparent; border-radius: 7px; color: #fff; font: inherit; font-size: 11.5px; line-height: 1.25; text-align: left; cursor: pointer; overflow: hidden; z-index: 1; }
.plw__b small { font-family: var(--font-mono); font-size: 10px; opacity: 0.9; }
.plw__b span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.plw__b.is-tent { background-color: transparent; color: var(--ink); border: 1.5px dashed currentColor; background-image: repeating-linear-gradient(135deg, color-mix(in srgb, currentColor 14%, transparent) 0 6px, transparent 6px 12px); }
.plw__b.is-tent.k-flight { color: #2a78d6; } .plw__b.is-tent.k-lesson { color: #2e8b57; } .plw__b.is-tent.k-ground { color: #7a5bd0; }
.plw__b.is-done { opacity: 0.72; } .plw__b.is-done span::before { content: '✓ '; font-weight: 700; }
.plw__b.is-mine { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--ink); }
.plw__b:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.plw__b.k-block, .plw__b.k-absence { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 6px, transparent 6px 12px); }
.wx__vt { position: absolute; left: 0; right: 0; pointer-events: none; }
.wx__vt.is-wind { background: color-mix(in srgb, #f5a623 10%, transparent); }
.wx__vt.is-rain { background-image: repeating-linear-gradient(115deg, color-mix(in srgb, #3f97ff 14%, transparent) 0 2px, transparent 2px 9px); }
.plw__now { position: absolute; left: 0; right: 0; height: 2px; background: #e5484d; z-index: 2; pointer-events: none; }

/* ── inside the Android application (html.in-app, set by app.ts): a slim header, the rail as a full-screen menu,
   room for the application's own bar at the bottom ── */
.apphead { display: none; }
html.in-app .shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
html.in-app .apphead { display: flex; position: sticky; top: 0; z-index: 40; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; background: var(--navy); color: #fff; }
html.in-app .apphead__logo { display: flex; }
html.in-app .apphead__logo img { width: 30px; height: 30px; }
html.in-app .apphead__t { flex: 1; min-width: 0; font-family: var(--font-display); font-size: 18px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.in-app .apphead__btn { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; }
html.in-app .apphead__add { background: var(--accent-fill); }
html.in-app .apphead__btn svg { width: 22px; height: 22px; }
html.in-app .rail { display: none; }
html.in-app .rail.is-open { display: flex; position: fixed; inset: 0; z-index: 2147483100; height: auto; flex-direction: column; flex-wrap: nowrap; align-items: stretch; overflow-x: hidden; overflow-y: auto; padding: calc(14px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom)); }
html.in-app .rail.is-open .rail__grp { display: grid; }
html.in-app .rail.is-open .rail__sec { display: flex; }
html.in-app .rail.is-open .rail__logo .rail__etep, html.in-app .rail.is-open .rail__user, html.in-app .rail.is-open .gauge { display: flex; }
html.in-app .rail.is-open a.nav, html.in-app .rail.is-open button.nav { width: 100%; padding: 12px; white-space: normal; font-size: 16px; }
html.in-app .rail.is-open .rail__add { display: none; }
html.in-app .rail__close { align-self: flex-end; display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: -42px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; }
html.in-app .main { padding: 18px 14px 24px; }
html.in-app .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }

/* the technical log of an aircraft, the risk before a flight, the instructors' availability (10/11/2026) */
button.pl__def { border: 0; font: inherit; font-size: 10.5px; font-weight: 700; cursor: pointer; }
td button.pl__def { font-size: 12.5px; }
.pl__row.is-grounded .pl__lane::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(135deg, transparent 0 9px, color-mix(in srgb, var(--bad) 13%, transparent) 9px 11px); }
.pl__av { position: absolute; top: 3px; bottom: 3px; border-radius: 7px; background: color-mix(in srgb, var(--ok) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 40%, transparent); pointer-events: none; }
.plw__av { position: absolute; left: 2px; right: 2px; border-radius: 7px; background: color-mix(in srgb, var(--ok) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 40%, transparent); pointer-events: none; }
.pl__dot.pl__avkey { background: color-mix(in srgb, var(--ok) 30%, transparent); box-shadow: inset 0 0 0 1px var(--ok); }
.pl__avhint { margin: -2px 0 0; font-size: 13px; color: var(--ok); }
.acpick__g { position: absolute; top: 6px; left: 6px; font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px; color: #fff; background: var(--bad); }
.acpick__b { position: relative; }
.df { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.df__i { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.df__h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.df__t { margin: 6px 0 0; white-space: pre-wrap; color: var(--ink); }
.df__act { margin: 6px 0 0; font-size: 13.5px; }
.df__btns { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.df__btns select { max-width: 220px; }
.df__form { display: grid; gap: 10px; margin: 12px 0 6px; }
.df__sec { margin: 18px 0 8px; font-size: 16px; display: flex; gap: 8px; align-items: center; }
.df__old summary, .df__inclose summary { cursor: pointer; color: var(--accent); font-size: 14px; }
.df__inclose { border: 1px dashed var(--line); border-radius: 10px; padding: 8px 12px; }
.df__sev, .rk__q { border: 0; padding: 0; margin: 0; min-width: 0; }
.df__sev { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.df__sev legend, .rk__q legend { font-size: 13px; color: var(--muted); padding: 0; margin-bottom: 6px; }
.df__opt, .rk__opt { display: flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; cursor: pointer; font-size: 14px; background: var(--input-bg); }
.df__opt input, .rk__opt input { margin: 0; accent-color: var(--accent); }
.df__opt:has(input:checked), .rk__opt:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.df__opt--ground:has(input:checked) { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, var(--surface)); }
.rk { display: grid; gap: 16px; margin-top: 10px; }
.rk__s { display: grid; gap: 10px; }
.rk__s h3 { margin: 0; font-size: 15px; }
.rk__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 14px; }
.rk__facts li { display: flex; gap: 8px; align-items: baseline; }
.rk__facts li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); transform: translateY(-1px); }
.rk__facts li.is-bad::before { background: var(--warn); }
.rk__opts { display: flex; gap: 6px; flex-wrap: wrap; }
.rk__q small { display: block; margin-top: 4px; }
.rk__meter { position: sticky; bottom: 0; z-index: 1; border-radius: 12px; padding: 10px 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 -6px 16px rgba(11, 20, 34, 0.08); }
.rk__meter p, .rk__sum p { margin: 0 0 4px; }
.rk__meter.is-low, .rk__sum.is-low { border-color: color-mix(in srgb, var(--ok) 60%, var(--line)); }
.rk__meter.is-medium, .rk__sum.is-medium { border-color: color-mix(in srgb, var(--warn) 60%, var(--line)); }
.rk__meter.is-high, .rk__sum.is-high { border-color: color-mix(in srgb, var(--bad) 60%, var(--line)); }
.rk__sum { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; }
.rk__rel { color: var(--ok); font-weight: 600; }
@media (max-width: 520px) { .df__sev { grid-template-columns: minmax(0, 1fr); } }

/* the sign-in page in two halves (10/11/2026): the sky of the flights, always night blue; the form on the page's own ground */
.signin--split { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: 100vh; padding: 0; place-items: stretch; }
.signin__hero { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 44px clamp(28px, 4.5vw, 64px); color: #dbe7f8;
  background: radial-gradient(120% 70% at 0% 0%, #0f5fc4 0%, #0b3474 42%, #071c3f 78%, #06142d 100%); }
.signin__sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.signin__brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.signin__brand .signin__etep { height: 28px; width: auto; filter: brightness(0) invert(1); }
.signin__pitch { max-width: 30rem; }
.signin__pitch h2 { margin: 0 0 14px; color: #fff; font-family: var(--font-display); font-size: clamp(32px, 3.3vw, 46px); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
.signin__pitch p { margin: 0 0 22px; color: #a9c0e2; font-size: 16px; line-height: 1.55; max-width: 36ch; }
.signin__pitch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.signin__pitch li { display: flex; gap: 12px; align-items: baseline; color: #d3e1f5; font-size: 15px; }
.signin__pitch li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #3f97ff; box-shadow: 0 0 0 4px rgba(63, 151, 255, 0.18); transform: translateY(-2px); }
.signin__legal { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 12px; color: #7f98bd; }
.signin__dot { width: 7px; height: 7px; border-radius: 50%; background: #4fd18b; box-shadow: 0 0 0 3px rgba(79, 209, 139, 0.2); }
.signin__side { position: relative; display: grid; place-items: center; padding: 72px 20px 40px; background: var(--bg); }
.signin--split .signin__card { width: min(420px, 100%); border: 0; background: transparent; box-shadow: none; padding: 0; }
.signin--split .signin__card h1 { font-size: 32px; }
.signin--split .signin__tools { position: absolute; top: 16px; right: 16px; }
.signin--split .btn--primary[type='submit'] { width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .signin--split { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .signin__hero { padding: 20px 20px 22px; gap: 14px; }
  .signin__pitch h2 { font-size: 26px; margin: 0; }
  .signin__pitch p, .signin__pitch ul, .signin__legal { display: none; }
  .signin__side { place-items: start center; padding: 64px 16px 32px; }
}
@media (prefers-reduced-motion: reduce) { .signin__dot { box-shadow: none; } }
.signin__hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(62% 40% at 26% 54%, rgba(6, 20, 45, 0.6), rgba(6, 20, 45, 0) 72%); }
@media (max-width: 900px) { .signin__hero::after { background: linear-gradient(rgba(6, 20, 45, 0.25), rgba(6, 20, 45, 0.45)); } }

/* hour packages and members' categories (10/11/2026) */
.pk__list, .pk__offers { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.pk { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; }
.pk.is-off { opacity: 0.6; }
.pk__h, .pk__f { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; justify-content: space-between; font-size: 14px; }
.pk__bar { height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 14%, transparent); overflow: hidden; }
.pk__bar i { display: block; height: 100%; background: var(--accent-fill); border-radius: 99px; }
.pk__offers li { display: flex; gap: 12px; align-items: center; justify-content: space-between; border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; }
.pk__offers li div { display: grid; gap: 2px; }
.pk__offers li span { font-size: 13px; }
.pk__ed { display: grid; grid-template-columns: minmax(0, 1fr) 80px auto auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.pk__ed--p, .pk__head { grid-template-columns: minmax(0, 1.6fr) 70px 100px 70px minmax(0, 1fr) auto; }
.pk__head { display: grid; gap: 8px; font-size: 12px; color: var(--muted); }
.pk__ac summary { cursor: pointer; font-size: 13px; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk__ac .check { font-size: 13px; }
@media (max-width: 640px) { .pk__ed, .pk__ed--p { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pk__head { display: none; } }

/* the club's flight safety (10/11/2026) */
.sf__lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sf__lessons li { border-left: 3px solid var(--accent-fill); padding: 4px 0 4px 14px; }
.sf__lessons h3 { margin: 2px 0 6px; font-size: 16px; }
.sf__lessons p:last-child { margin: 0; white-space: pre-wrap; }
.sf__fb { display: inline-block; margin-top: 4px; font-size: 13.5px; color: var(--body); }
.sf__body { white-space: pre-wrap; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--input-bg); color: var(--ink); }
.sf__lbl { margin: 0 0 8px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.sf__mx { border-collapse: separate; border-spacing: 3px; width: 100%; table-layout: fixed; font-size: 12px; }
.sf__mx th { font-weight: 700; color: var(--ink); text-align: center; padding: 2px; }
.sf__mx th small { display: block; font-weight: 500; color: var(--muted); font-size: 10px; line-height: 1.2; overflow-wrap: anywhere; }
.sf__mx tbody th { text-align: left; width: 22%; }
.sf__cell { width: 100%; min-height: 32px; border: 0; border-radius: 6px; font: 700 12px var(--font-mono); cursor: pointer; color: var(--ink); }
.sf__cell.is-ok { background: color-mix(in srgb, var(--ok) 22%, var(--surface)); }
.sf__cell.is-warn { background: color-mix(in srgb, var(--warn) 24%, var(--surface)); }
.sf__cell.is-bad { background: color-mix(in srgb, var(--bad) 26%, var(--surface)); }
.sf__cell[aria-pressed='true'] { outline: 3px solid var(--ink); outline-offset: -3px; }
.sf__act { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 140px auto auto; gap: 6px; align-items: center; margin-bottom: 6px; }
.sf__mgr { margin-top: 14px; } .sf__mgr summary { cursor: pointer; color: var(--accent); }
.sf__mgrs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0; }
@media (max-width: 640px) { .sf__act { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* the life of the club: announcements and documents (10/11/2026) */
.cl__news { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cl__news li { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.cl__news li.is-pin { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.cl__news h3 { margin: 2px 0 6px; font-size: 17px; display: flex; gap: 8px; align-items: center; }
.cl__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-fill); flex: none; }
.cl__body { margin: 0; white-space: pre-wrap; color: var(--ink); }
.cl__meta { margin: 8px 0 0; font-size: 12.5px; }
.cl__toread { margin-bottom: 14px; }

/* before the flight: checklist, mass and balance (10/11/2026) */
.pf__sum { margin: 0 0 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.pf__ck { display: grid; gap: 8px; margin-top: 10px; }
.pf__it { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.pf__it.is-crit .check span { font-weight: 600; }
.pf__it small.pill { font-size: 10.5px; padding: 0 6px; }
.pf__wb { display: grid; gap: 10px; }
.pf__rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pf__st { grid-template-columns: minmax(0, 1fr) 90px 90px auto; }
.wb__out p { margin: 0 0 6px; }
.wb__chart { width: 100%; height: auto; display: block; margin: 6px 0; }
.wb__grid { stroke: var(--line); stroke-width: 1; }
.wb__tx { fill: var(--muted); font: 11px var(--font-body); }
.wb__tx--m { fill: var(--bad); }
.wb__mtow { stroke: var(--bad); stroke-width: 1; stroke-dasharray: 4 3; }
.wb__env { fill: color-mix(in srgb, var(--ok) 14%, transparent); stroke: var(--ok); stroke-width: 1.5; }
.wb__path { stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 3; }
.wb__pt { stroke: var(--surface); stroke-width: 2; }
.wb__pt.is-to, .wb__k.is-to { fill: var(--accent-fill); background: var(--accent-fill); }
.wb__pt.is-ldg, .wb__k.is-ldg { fill: var(--warn); background: var(--warn); }
.wb__k.is-env { background: color-mix(in srgb, var(--ok) 30%, transparent); box-shadow: inset 0 0 0 1px var(--ok); }
@media (max-width: 520px) { .pf__it { grid-template-columns: minmax(0, 1fr); } }

/* the dashboard of a club (10/11/2026): series colours validated (dataviz validator) on the app's light and dark surfaces */
:root { --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --s5: #e87ba4; --s6: #6250d6; }
:root[data-theme='dark'] { --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --s6: #9085e9; }
.dbts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 16px; }
.dbt { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); display: grid; gap: 2px; }
.dbt span { font-size: 12.5px; color: var(--muted); }
.dbt b { font-family: var(--font-display); font-size: 26px; color: var(--ink); font-variant-numeric: tabular-nums; }
.dbt small { font-size: 12.5px; color: var(--body); }
.dbt.is-warn { border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); }
.dbt.is-bad { border-color: color-mix(in srgb, var(--bad) 60%, var(--line)); }
.dbcard { margin-top: 16px; }
.dbcards { margin-top: 16px; }
.dbc__svg { width: 100%; height: auto; display: block; }
.dbc__grid { stroke: var(--line); stroke-width: 1; }
.dbc__base { stroke: color-mix(in srgb, var(--muted) 60%, var(--line)); stroke-width: 1; }
.dbc__tx { fill: var(--muted); font: 11px var(--font-body); font-variant-numeric: tabular-nums; }
.dbc { cursor: default; }
.dbc:hover { opacity: 0.82; }
.dbc.s1, .dbk.s1 { fill: var(--s1); background: var(--s1); } .dbc.s2, .dbk.s2 { fill: var(--s2); background: var(--s2); } .dbc.s3, .dbk.s3 { fill: var(--s3); background: var(--s3); }
.dbc.s4, .dbk.s4 { fill: var(--s4); background: var(--s4); } .dbc.s5, .dbk.s5 { fill: var(--s5); background: var(--s5); } .dbc.s6, .dbk.s6 { fill: var(--s6); background: var(--s6); }
.dbc__legend { margin-top: 6px; }
.dbc__tbl { margin-top: 8px; } .dbc__tbl summary { cursor: pointer; color: var(--accent); font-size: 13.5px; }
.dbu, .dbr { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dbu li { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.dbu__bar { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--s1) 14%, transparent); overflow: hidden; }
.dbu__bar i { display: block; height: 100%; background: var(--s1); border-radius: 99px; }
.dbr li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 6px; font-size: 14px; }

/* flights followed live (10/11/2026) */
.lv__late { border-color: color-mix(in srgb, var(--bad) 45%, var(--line)); margin-bottom: 16px; }
.lv__opts { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 10px; }
.lvp { max-width: 980px; margin: 0 auto; padding: 20px 16px 40px; }
.lvp__hd { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 20px; color: var(--accent); margin-bottom: 18px; }
.lvp h1 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 8px; }
.lvp__facts { margin: 0 0 14px; }
.lvp__note { font-size: 12.5px; margin-top: 10px; }

/* the METAR and the TAF of the club's airfield (10/11/2026) */
.wx__obs { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--surface); }
.wx__obs summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.wx__obs pre { margin: 8px 0 0; font: 12.5px/1.5 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.wx__obs p { margin: 6px 0 0; font-size: 12px; }
.wx__obs--in { margin: 0; }

/* training: pace, lesson reports, ICAO competencies (10/11/2026) */
.tr__bar { display: inline-block; width: 90px; vertical-align: middle; margin-right: 6px; }
.tr__cbl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tr__cbl li { display: grid; grid-template-columns: minmax(0, 1fr) 140px 34px; gap: 10px; align-items: center; font-size: 14px; }
.tr__cb { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--s1) 14%, transparent); overflow: hidden; }
.tr__cb i { display: block; height: 100%; background: var(--s1); border-radius: 99px; }
.tr__form { display: grid; gap: 10px; }
.tr__ex { display: grid; gap: 6px; }
.tr__row { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 14px; }
.tr__row--c { grid-template-columns: minmax(0, 1fr) 70px; }
.tr__g { padding-top: 6px; padding-bottom: 6px; }
@media (max-width: 560px) { .tr__row { grid-template-columns: minmax(0, 1fr) 70px; } .tr__row input { grid-column: 1 / -1; } .tr__cbl li { grid-template-columns: minmax(0, 1fr) 80px 30px; } }
@media print { .rail, .apphead, .ph__actions, .drawer, .veil { display: none !important; } .shell { display: block !important; } .main { padding: 0 !important; } }
/* the logbook on the whole width of the screen (it shares .report, limited for the printed reports) (10/11/2026, remark of Mathieu) */
.report.lb { max-width: none; }
/* the links to the VAC charts of the SIA (10/11/2026) */
.vac { margin: 4px 0 0; font-size: 13px; }
.vac a { white-space: nowrap; }
