/* Status pages /hetzner-status and /ovh-status (includes/status-page.php). Fonts and neutral colours as on the catalog pages
   (/hetzner-dedicated-servers), the dark stage and the pink accent of ABCD.HOST. See docs/status-pages.md. */
@font-face { font-family: "AbcdInter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("/assets/fonts/catalog/inter-cyrillic-wght-normal.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "AbcdInter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("/assets/fonts/catalog/inter-latin-ext-wght-normal.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: "AbcdInter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("/assets/fonts/catalog/inter-latin-wght-normal.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; }
@font-face { font-family: "AbcdMono"; font-style: normal; font-weight: 500; font-display: swap;
    src: url("/assets/fonts/catalog/jetbrains-mono-latin-500-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }

.stp {
    --bg: #f5f6f8;
    --surface: #fff;
    --surface-2: #f8f9fb;
    --surface-3: #eef0f4;
    --border: #e4e7ec;
    --border-strong: #cfd4dc;
    --ink: #0f1218;
    --ink-2: #465063;
    --ink-3: #687184;
    --accent: #c2185b;
    --accent-text: #b0124f;
    --accent-soft: #fdeef3;
    --glow: 194, 24, 91;
    --ok: #1e7a35;
    --ok-dot: #22a447;
    --ok-soft: #e6f4ea;
    --plan: #2445b5;
    --plan-dot: #3d64e0;
    --plan-soft: #eaf0ff;
    --maint: #9a4a00;
    --maint-dot: #e08a00;
    --maint-soft: #fff3df;
    --inc: #b3261e;
    --inc-dot: #e5483d;
    --inc-soft: #fdecea;
    --info: #465063;
    --info-soft: #eef0f4;
    --stage: #0d1016;
    --stage-2: #161a23;
    --stage-line: rgba(255, 255, 255, 0.11);
    --stage-ink-2: #c3c9d4;
    --stage-ink-3: #959eae;
    --sans: "AbcdInter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: "AbcdMono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-family: var(--sans);
    font-feature-settings: "cv11" 1;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
.stp *, .stp *::before, .stp *::after { box-sizing: border-box; }
.stp :where(h1, h2, h3, h4, p, ul, ol) { margin: 0; padding: 0; list-style: none; font-family: var(--sans); }
.stp a { text-decoration: none; }
.stp section { scroll-margin-top: 90px; }
.stp .mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0; }

/* shared bits */
.stp-bc ol { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; color: var(--ink-3); font-size: 13px; }
.stp-bc li + li::before { content: "/"; margin-right: 4px; color: var(--border-strong); }
.stp-bc a { color: var(--ink-2) !important; }

.stp-dot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ok-dot); }
.stp-dot--planned { background: var(--plan-dot); }
.stp-dot--maintenance { background: var(--maint-dot); }
.stp-dot--incident { background: var(--inc-dot); }
.stp-dot--info { background: #8a93a3; }

.stp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.stp-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.stp-badge--incident { background: var(--inc-soft); color: var(--inc); }
.stp-badge--maintenance { background: var(--maint-soft); color: var(--maint); }
.stp-badge--planned { background: var(--plan-soft); color: var(--plan); }
.stp-badge--info { background: var(--info-soft); color: var(--info); }
.stp-badge--ok { background: var(--ok-soft); color: var(--ok); }
.stp-status { color: var(--ink-3); font-size: 13px; }
.stp-status b { color: var(--ink-2); font-weight: 600; }

.stp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); color: var(--ink) !important; font-size: 14px; font-weight: 650; white-space: nowrap; }
.stp-btn--primary { border-color: var(--accent); background: var(--accent); color: #fff !important; }
.stp-btn--dark { border-color: var(--ink); background: var(--ink); color: #fff !important; }
.stp-btn--ghost-dark { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff !important; }
.stp-link { color: var(--accent-text) !important; font-size: 13px; font-weight: 650; white-space: nowrap; }

.stp-h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 18px !important; font-size: 26px; font-weight: 760; letter-spacing: -0.02em; line-height: 1.2; }
.stp-h2 small { color: var(--ink-3); font-size: 15px; font-weight: 500; letter-spacing: 0; }

.stp-updates { margin: 0; }
.stp-updates summary { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 13px; font-weight: 650; cursor: pointer; list-style: none; }
.stp-updates summary::-webkit-details-marker { display: none; }
.stp-updates summary::after { content: "\f107"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 11px; }
.stp-updates ol { margin-top: 10px !important; padding-left: 14px !important; border-left: 2px solid var(--border); }
.stp-updates li { position: relative; padding: 0 0 10px 12px; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.stp-updates li::before { content: ""; position: absolute; left: -20px; top: 6px; width: 10px; height: 10px; border: 2px solid var(--surface); border-radius: 50%; background: var(--border-strong); }
.stp-updates__when { display: block; color: var(--ink-3); font-size: 12px; }

/* ===================================================================== Variant A: dark console */
.stp-hero { padding: 134px 0 0; }
.stp-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: stretch; padding: 44px 48px; overflow: hidden; border-radius: 28px; color: #fff; isolation: isolate;
    background: radial-gradient(ellipse 55% 75% at 100% 0%, rgba(var(--glow), 0.42), transparent 70%), radial-gradient(ellipse 45% 60% at 0% 100%, rgba(var(--glow), 0.18), transparent 70%), linear-gradient(160deg, var(--stage-2) 0%, var(--stage) 60%); }
.stp-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 25% 20%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 25% 20%, #000, transparent 75%); }
.stp-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px !important; padding: 6px 12px 6px 10px; border: 1px solid var(--stage-line); border-radius: 999px; background: rgba(255,255,255,.05); color: var(--stage-ink-2); font-size: 13px; font-weight: 600; }
.stp-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.stp-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(74,222,128,.5); }
.stp h1 { color: #fff; font-size: 44px; font-weight: 780; line-height: 1.06; letter-spacing: -0.03em; }
.stp h1 span { display: block; margin-top: 6px; background: linear-gradient(90deg, #ff6fa3 0%, #ffb3cf 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stp-lead { max-width: 560px; margin-top: 18px !important; color: var(--stage-ink-2); font-size: 16px; line-height: 1.6; }
.stp-switch { display: inline-flex; gap: 4px; margin-top: 26px; padding: 4px; border: 1px solid var(--stage-line); border-radius: 14px; background: rgba(255,255,255,.04); }
.stp-switch a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; color: var(--stage-ink-2) !important; font-size: 14px; font-weight: 650; }
.stp-switch a[aria-current] { background: #fff; color: var(--ink) !important; }
.stp-mydc { margin-top: 18px; max-width: 520px; }
.stp-mydc label { display: block; margin-bottom: 8px; color: var(--stage-ink-2); font-size: 13px; font-weight: 600; }
.stp-mydc__row { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: #fff; }
.stp-mydc__row i { align-self: center; margin-left: 10px; color: var(--ink-3); }
.stp-mydc input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: var(--mono); font-size: 15px; }
.stp-mydc input::placeholder { color: #8a93a3; }
.stp-mydc button { border: 0; border-radius: 10px; background: var(--accent); color: #fff; padding: 10px 18px; font-size: 14px; font-weight: 700; }
.stp-mydc p { margin-top: 8px !important; color: var(--stage-ink-3); font-size: 12.5px; }

.stp-sum { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--stage-line); border-radius: 20px; background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.stp-sum__state { display: flex; gap: 14px; align-items: center; }
.stp-sum__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; font-size: 20px; }
.stp-sum__icon--incident { background: var(--inc-dot); color: #fff; box-shadow: 0 0 0 6px rgba(229,72,61,.16); }
.stp-sum__icon--ok { background: rgba(34,164,71,.16); color: #5be08a; }
.stp-sum__state b { display: block; color: #fff; font-size: 20px; font-weight: 750; line-height: 1.25; }
.stp-sum__state span { color: var(--stage-ink-3); font-size: 13.5px; }
.stp-sum__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stp-stat { padding: 14px; border: 1px solid var(--stage-line); border-radius: 14px; background: rgba(255,255,255,.03); }
.stp-stat b { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 28px; font-weight: 780; line-height: 1; }
.stp-stat span { display: block; margin-top: 6px; color: var(--stage-ink-3); font-size: 12.5px; font-weight: 600; }
.stp-sum__next { padding: 14px 16px; border-radius: 14px; background: rgba(61,100,224,.14); box-shadow: inset 0 0 0 1px rgba(61,100,224,.35); }
.stp-sum__next small { display: block; color: #9fb4ff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.stp-sum__next b { display: block; margin-top: 4px; color: #fff; font-size: 15px; font-weight: 650; }
.stp-sum__next span { color: var(--stage-ink-2); font-size: 13px; }
.stp-sum__tz { margin-top: auto !important; color: var(--stage-ink-3); font-size: 12px; }
.stp-sum__locs { display: grid; gap: 0; border-top: 1px solid var(--stage-line); }
.stp-sum__locs li { display: grid; grid-template-columns: 10px 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--stage-line); font-size: 13.5px; }
.stp-sum__locs b { color: #fff; font-size: 13.5px; }
.stp-sum__locs span { color: var(--stage-ink-3); }
.stp-sum__locs em { font-style: normal; color: var(--stage-ink-2); font-weight: 600; text-align: right; }

.stp-sec { padding: 48px 0 0; }
.stp-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-3); font-size: 13px; font-weight: 500; }
.stp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.stp-sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 18px; }
.stp-sec__head .stp-h2 { margin: 0 !important; }

.stp-locs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stp-locs--ovh { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stp-loc { display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.stp-loc__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.stp .stp-loc__code { font-family: var(--mono); font-size: 18px; font-weight: 500; }
.stp-loc__city { color: var(--ink-3); font-size: 13px; }
.stp-loc__state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; text-align: right; }
.stp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px; }
.stp-tile { display: grid; place-items: center; height: 34px; border-radius: 9px; background: var(--ok-soft); color: var(--ok); font-family: var(--mono); font-size: 11.5px; font-weight: 500; }
.stp-tile--planned { background: var(--plan-soft); color: var(--plan); box-shadow: inset 0 0 0 1.5px var(--plan-dot); }
.stp-tile--maintenance { background: repeating-linear-gradient(135deg, #ffe7bf 0 6px, #fff3df 6px 12px); color: var(--maint); box-shadow: inset 0 0 0 1.5px var(--maint-dot); }
.stp-tile--incident { background: var(--inc-dot); color: #fff; box-shadow: 0 0 0 3px rgba(229,72,61,.18); }
.stp-units { display: grid; gap: 8px; }
.stp-unit { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-size: 13.5px; font-weight: 650; }
.stp-unit--planned { background: var(--plan-soft); color: var(--plan); }
.stp-unit--maintenance { background: repeating-linear-gradient(135deg, #ffe7bf 0 6px, #fff3df 6px 12px); color: var(--maint); }
.stp-unit--incident { background: var(--inc-soft); color: var(--inc); box-shadow: inset 0 0 0 1.5px var(--inc-dot); }
.stp-loc__foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--border); color: var(--ink-3); font-size: 12.5px; }
.stp-svc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 16px 20px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.stp-svc b { margin-right: 6px; font-size: 14px; align-self: center; }
.stp-svc span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--ink-2); }

.stp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stp-card { position: relative; display: flex; flex-direction: column; padding: 20px 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); overflow: hidden; }
.stp-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--maint-dot); }
.stp-card--incident::before { background: var(--inc-dot); }
.stp-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.stp-card__age { margin-left: auto; color: var(--ink-3); font-size: 13px; font-weight: 600; }
.stp-card h3 { margin-top: 12px !important; font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.stp-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.stp-card__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; color: var(--ink-2); font-size: 13.5px; }
.stp-card__meta b { font-weight: 650; }
.stp-late { color: var(--inc); font-weight: 650; }
.stp-bar { height: 6px; margin-top: 12px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.stp-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--maint-dot), #f5b54a); }
.stp-bar--late i { background: linear-gradient(90deg, var(--maint-dot), var(--inc-dot)); }
.stp-card__text { margin-top: 12px !important; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.stp-card__when { display: block; margin-bottom: 2px; color: var(--ink-3); font-size: 12px; font-weight: 600; }
.stp-card__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 14px; }

.stp-plan { display: grid; gap: 10px; }
.stp-plan__row { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 18px 14px 14px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.stp-cal { display: grid; place-items: center; align-content: center; height: 70px; border-radius: 14px; background: var(--plan-soft); color: var(--plan); text-align: center; line-height: 1.05; }
.stp-cal b { font-size: 26px; font-weight: 780; }
.stp-cal span { font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.stp-cal--today { background: var(--plan-dot); color: #fff; }
.stp-plan__title { font-size: 15.5px; font-weight: 680; line-height: 1.35; }
.stp-plan__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 8px; color: var(--ink-2); font-size: 13.5px; }
.stp-plan__when { font-weight: 650; color: var(--ink); }
.stp-nights { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.stp-nights span { padding: 2px 8px; border-radius: 8px; background: var(--plan-soft); color: var(--plan); font-size: 12px; font-weight: 650; }
.stp-plan__act { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.stp-plan__act .stp-btn { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }

.stp-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stp-info article { padding: 16px 18px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.stp-info h3 { display: flex; gap: 10px; font-size: 14.5px; font-weight: 680; line-height: 1.4; }
.stp-info h3 i { margin-top: 3px; color: var(--ink-3); }
.stp-info p { margin-top: 8px !important; color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.stp-info small { display: block; margin-top: 8px; color: var(--ink-3); font-size: 12px; }

.stp-hist { border: 1px solid var(--border); border-radius: 20px; background: var(--surface); overflow: hidden; }
.stp-hist__day { padding: 10px 20px; background: var(--surface-2); border-top: 1px solid var(--border); color: var(--ink-2); font-size: 13px; font-weight: 700; }
.stp-hist__day:first-child { border-top: 0; }
.stp-hist__row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--border); font-size: 14px; }
.stp-hist__row i { color: var(--ok); }
.stp-hist__row .stp-chip { margin-left: 8px; }
.stp-hist__time { color: var(--ink-3); font-size: 13px; white-space: nowrap; }

.stp-help { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin: 48px 0 64px; padding: 32px 36px; border-radius: 24px; color: #fff;
    background: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(var(--glow), .35), transparent 70%), linear-gradient(160deg, var(--stage-2), var(--stage)); }
.stp-help h2 { color: #fff; font-size: 24px; font-weight: 750; letter-spacing: -0.02em; }
.stp-help p { margin-top: 8px !important; color: var(--stage-ink-2); font-size: 15px; line-height: 1.55; max-width: 620px; }
.stp-help__btns { display: flex; flex-wrap: wrap; gap: 10px; }


/* ===================================================================== timeline */
.stp-gantt { padding: 20px 22px 18px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); }
.stp-gantt__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 14px; }
.stp-gantt__head .stp-h2 { margin: 0 !important; }
.stp-gantt__hint { color: var(--ink-3); font-size: 13px; }
.stp-gantt__scroll { overflow-x: auto; }
.stp-gantt__grid { position: relative; min-width: 860px; }
.stp-gantt__days, .stp-gantt__row { display: grid; grid-template-columns: 124px minmax(0, 1fr); }
.stp-gantt__days > div:last-child { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); }
.stp-gantt__days span { padding: 0 0 8px 6px; color: var(--ink-3); font-size: 12px; font-weight: 600; border-left: 1px solid var(--border); }
.stp-gantt__days span.is-today { color: var(--accent-text); }
.stp-gantt__days span.is-wkd { color: #a1a8b5; }
.stp-gantt__row > b { display: flex; flex-direction: column; justify-content: center; padding: 8px 10px 8px 0; font-size: 13px; font-weight: 700; }
.stp-gantt__row > b small { color: var(--ink-3); font-size: 11.5px; font-weight: 500; }
.stp-gantt__lane { position: relative; height: 46px; border-top: 1px solid var(--border); background-image: linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: calc(100% / 14) 100%; }
.stp-gantt__bar { position: absolute; top: 9px; height: 26px; min-width: 8px; padding: 0 8px; border-radius: 6px; background: var(--plan-soft); box-shadow: inset 0 0 0 1.5px var(--plan-dot); color: var(--plan); font-size: 11.5px; font-weight: 700; line-height: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stp-gantt__bar--maintenance { background: repeating-linear-gradient(135deg, #ffe7bf 0 6px, #fff3df 6px 12px); box-shadow: inset 0 0 0 1.5px var(--maint-dot); color: var(--maint); }
.stp-gantt__bar--incident { background: var(--inc-dot); box-shadow: none; color: #fff; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.stp-gantt__bar--open-left { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.stp-gantt__now { position: absolute; top: 0; bottom: -4px; width: 2px; background: var(--accent); z-index: 2; }
.stp-gantt__now.is-last::after { content: attr(data-now-label); position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); padding: 1px 6px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700; }
.stp-gantt__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 30px; color: var(--ink-3); font-size: 12.5px; }
.stp-gantt__legend span { display: inline-flex; align-items: center; gap: 6px; }

.stp-gantt__bar--done { background: #e4e7ec; box-shadow: none; color: var(--ink-3); }
.stp-gantt__bar--thin { min-width: 6px; padding: 0; border-radius: 4px; }
.stp-gantt__lane .stp-gantt__bar--done.stp-gantt__bar--thin { background: #c9ced8; }
.stp-gantt__bar { text-decoration: none; cursor: pointer; }
.stp-gantt__bar--planned { background: var(--plan-soft); box-shadow: inset 0 0 0 1.5px var(--plan-dot); color: var(--plan); }
.stp-gantt__bar:hover, .stp-gantt__bar:focus-visible { filter: brightness(0.94); outline: 2px solid var(--ink); outline-offset: 1px; z-index: 4; }
.stp-gantt__key { display: inline-block; width: 18px; height: 10px; border-radius: 3px; }
.stp-gantt__key--incident { background: var(--inc-dot); }
.stp-gantt__key--maintenance { background: repeating-linear-gradient(135deg, #ffe7bf 0 4px, #fff3df 4px 8px); box-shadow: inset 0 0 0 1.5px var(--maint-dot); }
.stp-gantt__key--planned { background: var(--plan-soft); box-shadow: inset 0 0 0 1.5px var(--plan-dot); }
.stp-gantt__key--done { background: #e4e7ec; }

/* ===================================================================== page parts */
.stp { padding-bottom: 8px; }
.stp-hero { padding: 134px 0 0; }
.stp-stage__main { min-width: 0; }
.stp-eyebrow a { color: #fff !important; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.stp-pulse--stale { background: #f5b54a; }
.stp-pulse--stale::after { border-color: rgba(245,181,74,.5); }
.stp-sum__icon--maintenance { background: var(--maint-dot); color: #fff; box-shadow: 0 0 0 6px rgba(224,138,0,.16); }
.stp-sum__next { display: block; color: inherit !important; }
.stp-sum__next:hover { box-shadow: inset 0 0 0 1px rgba(61,100,224,.7); }
.stp-sec { padding: 48px 0 0; }
.stp-sec--last { padding-bottom: 0; }
.stp-orig { margin-top: 3px !important; color: var(--ink-3); font-size: 12.5px; line-height: 1.4; overflow-wrap: anywhere; }
.stp-card .stp-orig { margin-top: 4px !important; }
.stp-plan__body { min-width: 0; }
.stp-plan__text { margin-top: 8px !important; color: var(--ink-2); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.stp-nights__label { padding: 2px 0 !important; background: none !important; color: var(--ink-2) !important; }
.stp-anchor { position: absolute; }
.stp-plan__row { position: relative; scroll-margin-top: 96px; }
.stp-card, .stp-info article, .stp-hist__row { scroll-margin-top: 96px; }
.stp-card__text { overflow-wrap: anywhere; }
.stp-hist__row { color: var(--ink) !important; }
.stp-hist__row:hover { background: var(--surface-2); }
.stp-hist__title { min-width: 0; }
.stp-hist__title .stp-orig { display: block; }
.stp-hist__time .stp-badge { margin-right: 4px; padding: 1px 8px; font-size: 11.5px; }
.stp-info h3 span { min-width: 0; }
.stp-info small a { color: var(--accent-text) !important; font-weight: 650; }
.stp-alert { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px !important; padding: 12px 16px; border-radius: 14px; background: var(--maint-soft); color: var(--maint); font-size: 14px; font-weight: 600; }
.stp-alert a { color: inherit !important; text-decoration: underline; }
.stp-changed { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.stp-changed[hidden] { display: none; }
.stp-changed button { border: 0; border-radius: 10px; background: var(--accent); color: #fff; padding: 8px 14px; font-size: 13.5px; font-weight: 700; }
.stp-empty { padding: 18px 20px; border: 1px dashed var(--border-strong); border-radius: 18px; background: var(--surface); color: var(--ink-2); font-size: 14.5px; }
.stp-empty--ok { border-style: solid; border-color: rgba(34,164,71,.3); background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.stp-mydc input:focus { outline: 0; }
.stp-mydc__row:focus-within { box-shadow: 0 0 0 3px rgba(var(--glow), .45); }
.stp-mydc .stp-mydc__result { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 10px !important; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 13.5px; font-weight: 600; }
.stp-mydc__result[hidden] { display: none !important; }
.stp-mydc__result a { color: #ffb3cf !important; text-decoration: underline; text-underline-offset: 3px; }
.stp-mydc__result button { margin-left: auto; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: transparent; color: var(--stage-ink-2); padding: 4px 10px; font-size: 12.5px; font-weight: 600; }
.stp .is-mine { position: relative; z-index: 1; outline: 3px solid var(--accent); outline-offset: 2px; }
.stp-tile.is-mine { outline-width: 2px; outline-offset: 1px; }
.stp-loc.is-mine { outline-offset: 0; }
.stp-faq { margin-top: 8px; }
.stp-faq details { border-top: 1px solid var(--border); }
.stp-faq details:last-of-type { border-bottom: 1px solid var(--border); }
.stp-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 2px; font-size: 16px; font-weight: 680; cursor: pointer; list-style: none; }
.stp-faq summary::-webkit-details-marker { display: none; }
.stp-faq summary::after { content: "\f067"; flex: none; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 12px; color: var(--ink-3); }
.stp-faq details[open] summary::after { content: "\f068"; }
.stp-faq p { max-width: 820px; padding: 0 2px 16px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.stp-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 28px 0 56px; color: var(--ink-3); font-size: 14px; }
.stp-links a { color: var(--accent-text) !important; font-weight: 650; }
.stp-help { margin: 0 0 48px; }
.stp-help__btns { justify-content: flex-end; }
.stp-unit, .stp-tile { cursor: default; }

/* ===================================================================== responsive */
@media (max-width: 1199.98px) {
    .stp-stage { padding: 40px; gap: 28px; }
    .stp-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stp-help { grid-template-columns: minmax(0, 1fr); }
    .stp-help__btns { justify-content: flex-start; }
}
@media (max-width: 991.98px) {
    .stp-stage { grid-template-columns: minmax(0, 1fr); }
    .stp-locs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stp-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
    .stp-hero { padding-top: 116px; }
    .stp > section > .container { padding-left: 12px; padding-right: 12px; }
    .stp-stage { padding: 26px 18px 18px; border-radius: 22px; }
    .stp h1 { font-size: 31px; }
    .stp-lead { font-size: 15px; }
    .stp-eyebrow { align-items: flex-start; font-size: 12px; border-radius: 14px; }
    .stp-eyebrow .stp-pulse { flex: none; margin-top: 4px; }
    .stp-switch { display: flex; }
    .stp-switch a { flex: 1; justify-content: center; }
    .stp-sum { padding: 16px; }
    .stp-sum__state b { font-size: 17px; }
    .stp-stat { padding: 10px; }
    .stp-stat b { font-size: 22px; }
    .stp-stat span { font-size: 11.5px; }
    .stp-sum__locs li { grid-template-columns: 10px 46px minmax(0, 1fr); }
    .stp-sum__locs em { grid-column: 2 / -1; text-align: left; }
    .stp-sec { padding-top: 36px; }
    .stp-h2 { font-size: 22px; }
    .stp-locs, .stp-info { grid-template-columns: minmax(0, 1fr); }
    .stp-locs--ovh { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .stp-locs--ovh .stp-loc { gap: 10px; padding: 14px; border-radius: 16px; }
    .stp-locs--ovh .stp-loc__head { flex-direction: column; gap: 4px; }
    .stp-locs--ovh .stp-loc__state { font-size: 12px; text-align: left; }
    .stp-locs--ovh .stp-unit { flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 10px; font-size: 12.5px; }
    .stp-locs--ovh .stp-unit span + span { font-size: 11.5px; font-weight: 550; }
    .stp-tiles { grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 5px; }
    .stp-tile { height: 30px; font-size: 10.5px; }
    .stp-card { padding: 16px 16px 16px 20px; }
    .stp-card__age { margin-left: 0; width: 100%; }
    .stp-card__foot { flex-wrap: wrap; }
    .stp-plan__row { grid-template-columns: 58px minmax(0, 1fr); align-items: start; gap: 12px; padding: 12px; }
    .stp-cal { height: 58px; }
    .stp-cal b { font-size: 21px; }
    .stp-cal span { font-size: 10px; letter-spacing: 0; }
    .stp-plan__act { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
    .stp-hist__row { grid-template-columns: 18px minmax(0, 1fr); padding: 11px 14px; }
    .stp-hist__time { grid-column: 2; white-space: normal; }
    .stp-hist__row .stp-chip { margin: 6px 6px 0 0; }
    .stp-help { padding: 24px 20px; margin: 0 0 36px; }
    .stp-help__btns .stp-btn { flex: 1 1 100%; }
    .stp-gantt { padding: 16px 0 14px 14px; }
    .stp-gantt__head, .stp-gantt__legend { padding-right: 14px; }
    .stp-gantt__grid { min-width: 760px; }
    .stp-gantt__days, .stp-gantt__row { grid-template-columns: 76px minmax(0, 1fr); }
    .stp-gantt__row > b { position: sticky; left: 0; z-index: 3; background: var(--surface); }
    .stp-faq summary { font-size: 15px; }
}
