/* Visual refresh: self-contained so the previous design can be restored. */
:root { --ks-ink: #172b36; --ks-muted: #536575; --ks-line: #dfe7ea; --ks-accent: #a64b08; --ks-tint: #fff5e6; }
body { background: #f6f8f9; color: var(--ks-ink); }
body[data-utility-type="su"] { --ks-accent: #036a94; --ks-tint: #edf8ff; }
:where(a, button, select, summary):focus-visible { outline: 3px solid #0284c7; outline-offset: 4px; }
.ks-brand-name { font-size: 16px; letter-spacing: -.5px; }
.ks-brand-name > span { color: #667582; }
.ks-hero { position: relative; overflow: hidden; padding: 38px; margin-bottom: 26px; border: 1px solid var(--ks-line); border-radius: 26px; background: radial-gradient(ellipse at 95% 0%, #fff0d6 0, transparent 55%), #fff; }
.ks-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #596873; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.ks-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #199375; }
.ks-hero h1 { max-width: 660px; margin: 20px 0 14px; font-size: clamp(32px, 4vw, 52px); line-height: 1.09; letter-spacing: -.045em; font-weight: 750; }
.ks-hero h1 span { color: #b9550b; }
.ks-hero-intro { max-width: 560px; color: var(--ks-muted); font-size: 16px; line-height: 1.7; }
.ks-finder { margin-top: 28px; padding: 22px; border: 1px solid var(--ks-line); border-radius: 18px; background: #fff; box-shadow: 0 12px 35px #172b3607; }
.ks-finder-types { display: flex; gap: 8px; border: 0; padding: 0; margin: 0 0 20px; }
.ks-finder-types label { position: relative; cursor: pointer; }
.ks-finder-types input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ks-finder-types span { display: block; border: 1px solid var(--ks-line); border-radius: 10px; padding: 10px 20px; color: var(--ks-muted); font-weight: 650; font-size: 14px; }
.ks-finder-types input:checked + span { color: #954409; border-color: #edbf83; background: #fff5e6; }
.ks-finder-types input[value="su"]:checked + span { color: #036a94; border-color: #8dcde9; background: #edf8ff; }
.ks-finder-types input:focus-visible + span { outline: 3px solid #0284c7; outline-offset: 3px; }
.ks-finder-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.ks-field { display: grid; gap: 7px; color: #445766; font-size: 13px; font-weight: 650; min-width: 0; }
.ks-field select { width: 100%; min-height: 48px; border: 1px solid #c9d5db; border-radius: 10px; background: #f9fbfc; padding: 10px 34px 10px 13px; color: var(--ks-ink); font-size: 16px; font-weight: 500; }
.ks-submit { min-height: 48px; padding: 12px 22px; border-radius: 10px; background: #203b46; color: white; font-size: 14px; font-weight: 650; cursor: pointer; }
.ks-submit:hover { background: #305460; }
.ks-finder-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 17px; color: #657784; font-size: 12px; }
.ks-location { color: #234c60; font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; min-height: 30px; }
.ks-quicklinks { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 21px; font-size: 13px; color: #627481; }
.ks-quicklinks a { background: #fff; border: 1px solid var(--ks-line); border-radius: 8px; padding: 8px 13px; color: #334e5e; }
.ks-quicklinks a:hover { border-color: #9aafb9; }
.ks-region-picker { margin: 18px 0 22px; padding: 17px 20px; border: 1px solid var(--ks-line); border-radius: 15px; background: white; display: flex; align-items: center; gap: 18px; }
.ks-region-picker > div { flex: 1; min-width: 0; }
.ks-region-picker strong { font-size: 14px; }
.ks-region-picker p { font-size: 12px; color: var(--ks-muted); margin-top: 3px; }
.ks-region-picker .ks-field { width: min(100%, 320px); }
.ks-outage { padding: 22px; border: 1px solid var(--ks-line); border-radius: 17px; background: #fff; box-shadow: 0 3px 12px #172b3603; min-width: 0; }
.ks-outage:hover { border-color: #b9cbd3; }
.ks-outage-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.ks-outage-date { font-size: 12px; font-weight: 650; color: #586b78; }
.ks-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 6px; font-size: 11px; font-weight: 700; background: #f0f3f5; color: #52636e; }
.ks-status::before { content: ''; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.ks-status--planned { color: #945008; background: #fff3db; }
.ks-status--ongoing { color: #b52f35; background: #fff0f0; }
.ks-status--completed { color: #157258; background: #eaf7f1; }
.ks-outage h3 { font-size: 17px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.ks-outage h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ks-outage-time { margin: 17px 0 15px; padding: 14px 16px; background: var(--ks-tint); border-radius: 10px; }
.ks-outage-time strong { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.035em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ks-outage-time span { display: block; font-size: 12px; color: #566774; margin-top: 5px; }
.ks-outage-reason { color: #526674; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.ks-outage details { margin-top: 13px; border-top: 1px solid #edf1f3; padding-top: 12px; color: #536575; font-size: 13px; line-height: 1.65; }
.ks-outage summary { cursor: pointer; font-weight: 600; padding: 3px 0; }
.ks-outage details p { margin-top: 9px; }
.ks-outage-source { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 16px; font-size: 12px; color: #617481; }
.ks-outage-source a { text-decoration: underline; text-underline-offset: 3px; }
.ks-date-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border: 1px solid var(--ks-line); background: #edf2f4; border-radius: 12px; width: fit-content; margin-bottom: 24px; }
.ks-date-tabs a { padding: 10px 17px; border-radius: 8px; color: #526674; font-size: 13px; font-weight: 650; }
.ks-date-tabs a[aria-current="page"] { background: white; color: #1d3744; box-shadow: 0 2px 5px #172b360b; }
@media (max-width: 639px) {
    body > main { padding-top: 20px; }
    .ks-brand-name { font-size: 13px; line-height: 1.15; }
    .ks-brand-name > span { display: block; }
    body > header > div:first-child { gap: 8px; }
    body > header > div:first-child > div:last-child { gap: 9px; }
    .ks-hero { padding: 23px 18px; border-radius: 20px; }
    .ks-hero h1 { margin-top: 17px; font-size: 35px; }
    .ks-hero-intro { font-size: 14px; }
    .ks-finder { margin-top: 22px; padding: 16px; }
    .ks-finder-row { grid-template-columns: 1fr; }
    .ks-finder-types { margin-bottom: 16px; }
    .ks-finder-types label { flex: 1; text-align: center; }
    .ks-region-picker { align-items: stretch; flex-direction: column; gap: 12px; padding: 16px; }
    .ks-region-picker .ks-field { width: 100%; }
    .ks-outage { padding: 18px; }
    .ks-date-tabs { width: 100%; }
    .ks-date-tabs a { flex: 1; padding: 10px 5px; text-align: center; }
}
@media (max-width: 374px) { .ks-brand-name { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
