/* 15 Oct 2026: neutral black and charcoal (was navy #0A0E1A / #121829) with a soft grey-white glow instead of the indigo one -
   the user asked for the theme's black and grey on the session-timeout, 404, error and no-access pages */
/* =====================================================================================================================
   OneBook status pages - session timeout (SessionExpire.aspx), not found (FileNotFound.htm), no access (NoAccess.htm),
   something went wrong (GenericErrorPage.htm). The sign-in page's "trade desk" language (onebook-trade.css): ink field,
   one indigo accent, Inter Tight + IBM Plex Mono, sharp corners, the faint grid and a departure-board panel.
   Self-contained: the static pages must render even when the application itself is failing.
   ===================================================================================================================== */
:root {
    --obs-ink: #0B0C0F;
    --obs-ink-2: #17181C;
    --obs-line: rgba(255, 255, 255, .12);
    --obs-text: #FFFFFF;
    --obs-muted: rgba(255, 255, 255, .62);
    --obs-faint: rgba(255, 255, 255, .42);
    --obs-accent: #7C66F0;
    --obs-gold: #F5A623;
    --obs-live: #2BD576;
    --obs-warn: #FF8A65;
    --obs-display: "Inter Tight", "Inter", "Segoe UI", system-ui, sans-serif;
    --obs-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --obs-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.obs {
    min-height: 100vh; display: flex; flex-direction: column;
    background: var(--obs-ink); color: var(--obs-text); font-family: var(--obs-body); font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden; position: relative;
}
/* the sign-in page's grid, faded towards the bottom */
body.obs::before {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background-image: linear-gradient(var(--obs-line) 1px, transparent 1px), linear-gradient(90deg, var(--obs-line) 1px, transparent 1px);
    background-size: 64px 64px; opacity: .45;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 55%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 55%, transparent 100%);
}
body.obs::after {
    content: ""; position: fixed; right: -12vw; top: -18vw; width: 60vw; height: 60vw; pointer-events: none; z-index: 0;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .09), transparent 70%);
}
.obs-mono { font-family: var(--obs-mono); letter-spacing: .02em; }
:where(.obs) a { color: inherit; }   /* :where - zero specificity, so it never beats .obs-btn's own colours */
.obs-wrap { position: relative; z-index: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---- top bar */
.obs-top { position: relative; z-index: 1; border-bottom: 1px solid var(--obs-line); }
.obs-top .obs-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.obs-logo { display: inline-flex; text-decoration: none; }
.obs-logo svg { width: 156px; height: auto; display: block; }
.obs-tag { font-family: var(--obs-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--obs-faint); }

/* ---- main */
.obs-main { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; padding: 64px 0 72px; }
.obs-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: center; }
.obs-kicker {
    display: inline-flex; align-items: center; gap: 12px; margin: 0;
    font-family: var(--obs-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--obs-muted);
}
.obs-dot { width: 8px; height: 8px; background: var(--obs-gold); box-shadow: 0 0 0 4px rgba(245, 166, 35, .18); }
.obs-dot--warn { background: var(--obs-warn); box-shadow: 0 0 0 4px rgba(255, 138, 101, .18); }
.obs-dot--live { background: var(--obs-live); box-shadow: 0 0 0 4px rgba(43, 213, 118, .18); }
.obs-h1 {
    font-family: var(--obs-display); font-weight: 600; font-size: clamp(40px, 5.2vw, 76px); line-height: 1;
    letter-spacing: -.035em; margin: 22px 0 22px; color: #fff;
}
.obs-h1 em { font-style: normal; color: var(--obs-muted); }
.obs-lede { max-width: 560px; margin: 0; font-size: 17.5px; line-height: 1.65; color: var(--obs-muted); }
.obs-lede strong { color: #fff; font-weight: 600; }
.obs-list { margin: 22px 0 0; padding: 0; list-style: none; max-width: 560px; border-top: 1px solid var(--obs-line); }
.obs-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--obs-line); color: var(--obs-muted); font-size: 15px; }
.obs-list li b { font-family: var(--obs-mono); font-weight: 500; font-size: 12px; color: var(--obs-faint); padding-top: 3px; }
.obs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.obs-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 26px;
    font-family: var(--obs-display); font-weight: 600; font-size: 15.5px; letter-spacing: -.005em; text-decoration: none;
    border: 1px solid #fff; background: #fff; color: var(--obs-ink); cursor: pointer; white-space: nowrap;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.obs-btn svg { width: 16px; height: 16px; transition: transform .25s ease; }
.obs-btn:hover { background: var(--obs-accent); border-color: var(--obs-accent); color: #fff; }
.obs-btn:hover svg { transform: translateX(3px); }
.obs-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .32); }
.obs-btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }
.obs-btn:focus-visible, :where(.obs) a:focus-visible { outline: 2px solid var(--obs-gold); outline-offset: 3px; }

/* ---- departure board */
.obs-board { border: 1px solid var(--obs-line); background: rgba(23, 24, 28, .72); backdrop-filter: blur(2px); font-family: var(--obs-mono); font-size: 13px; }
.obs-board-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--obs-line); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--obs-faint); }
.obs-code { padding: 26px 18px 22px; border-bottom: 1px solid var(--obs-line); display: flex; gap: 6px; }
.obs-code span {
    display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 84px; position: relative;
    background: #111215; border: 1px solid rgba(255, 255, 255, .1);
    font-family: var(--obs-display); font-weight: 600; font-size: 52px; letter-spacing: -.02em; color: #fff;
}
.obs-code span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
.obs-code span.flip { animation: obs-flip .6s cubic-bezier(.2, .7, .1, 1) both; }
@keyframes obs-flip { 0% { transform: rotateX(90deg); opacity: .2; } 100% { transform: none; opacity: 1; } }
.obs-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--obs-line); }
.obs-row:last-child { border-bottom: 0; }
.obs-row[hidden] { display: none; }
.obs-row dt { color: var(--obs-faint); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding-top: 2px; }
.obs-row dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.obs-row dd a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.obs-row dd a:hover { text-decoration-color: #fff; }
.obs-row .warn { color: var(--obs-warn); }
.obs-row .live { color: var(--obs-live); }
.obs-note { margin: 18px 0 0; padding: 12px 14px; border-left: 2px solid var(--obs-live); background: rgba(43, 213, 118, .08); color: #fff; font-size: 14.5px; max-width: 560px; }
.obs-note[hidden] { display: none; }

/* ---- footer */
.obs-foot { position: relative; z-index: 1; border-top: 1px solid var(--obs-line); }
.obs-foot .obs-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 18px; font-family: var(--obs-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--obs-faint); }
.obs-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.obs-foot a { text-decoration: none; }
.obs-foot a:hover { color: #fff; }

@media (max-width: 960px) {
    .obs-grid2 { grid-template-columns: 1fr; gap: 40px; }
    .obs-board { max-width: 520px; }
}
@media (max-width: 560px) {
    .obs-wrap { padding: 0 16px; }
    .obs-top .obs-wrap { height: 64px; }
    .obs-logo svg { width: 132px; }
    .obs-tag { display: none; }
    .obs-main { padding: 40px 0 48px; }
    .obs-lede { font-size: 16px; }
    .obs-actions .obs-btn { flex: 1 1 100%; }
    .obs-code span { width: 52px; height: 70px; font-size: 42px; }
    .obs-row { grid-template-columns: 92px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .obs-code span.flip { animation: none; } .obs-btn, .obs-btn svg { transition: none; } }
