.status-page {
  min-height: 100vh;
  --status-blue: #1d74e9;
  --status-blue-dark: #075ec5;
  --status-gold: #c99a3f;
  background:
    linear-gradient(180deg, #eef6ff 0, #f6f8fb 42%, #ffffff 100%);
}

.status-page *,
.status-page *::before,
.status-page *::after {
  box-sizing: border-box;
}

.status-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(217, 226, 236, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(16, 31, 54, 0.12);
  backdrop-filter: blur(18px);
}

.status-brand,
.status-header nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-brand-logo {
  width: min(320px, 40vw);
  min-height: 58px;
  justify-content: flex-start;
  padding: 8px 12px;
  border: 1px solid #d7e7fb;
  border-radius: 8px;
  background: #ffffff;
}

.status-brand-logo img {
  display: block;
  width: min(280px, 100%);
  max-height: 58px;
  object-fit: contain;
}

.status-brand span,
.status-empty span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #0f6fff, #00a5d8);
  font-weight: 950;
}

.status-brand strong {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 950;
}

.status-header nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  color: #27415f;
  background: #f7fbff;
  font-weight: 900;
}

.status-main {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 72px;
}

.status-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #cce1ff;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 255, 0.94)),
    url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1600&q=84") center/cover;
  box-shadow: 0 20px 54px rgba(16, 31, 54, 0.12);
}

.status-hero h1 {
  max-width: 740px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.status-hero p {
  max-width: 620px;
  margin: 10px 0 0;
  color: #40516a;
  font-size: 1.04rem;
  font-weight: 800;
}

.status-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.status-hero-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid #cfe2f8;
  border-radius: 999px;
  padding: 0 12px;
  color: #134ea3;
  background: #f7fbff;
  font-size: 0.82rem;
  font-weight: 900;
}

.status-call {
  display: grid;
  gap: 4px;
  min-width: 210px;
  padding: 16px 18px;
  border: 1px solid #bfe9d9;
  border-radius: 8px;
  color: #143d70;
  background: #fff9ed;
  font-weight: 900;
}

.status-call span {
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 22px;
}

.status-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(16, 31, 54, 0.08);
}

.status-form {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
  padding: 22px;
}

.status-pill,
.status-badge {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 11px;
  color: #8b6723;
  background: #fff5dd;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-form h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.05;
}

.status-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d8e1ee;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 850;
}

.status-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 111, 255, 0.12);
  outline: 0;
}

.status-button,
.status-actions a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--status-blue), var(--status-blue-dark));
  box-shadow: 0 10px 22px rgba(29, 116, 233, 0.24);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.status-message {
  min-height: 22px;
  margin: 0;
  color: #b42318;
  font-weight: 850;
}

.status-form-help {
  display: grid;
  gap: 5px;
  border: 1px solid #cfe2f8;
  border-radius: 8px;
  padding: 13px;
  background: #f7fbff;
}

.status-form-help strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.status-form-help span {
  color: #52627a;
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.4;
}

.status-latest-card {
  display: grid;
  gap: 8px;
  border: 1px solid #d4a849;
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(135deg, #fff9ed, #ffffff);
}

.status-latest-card[hidden] {
  display: none;
}

.status-latest-card > span,
.status-operation-panel span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  color: #8b6723;
  background: #fff5dd;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-latest-card strong {
  color: #143d70;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.status-latest-card p {
  margin: 0;
  color: #5f6f87;
  font-weight: 800;
}

.status-latest-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-latest-card button,
.status-latest-card a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfe2f8;
  border-radius: 8px;
  padding: 0 12px;
  color: #0b5fc4;
  background: #ffffff;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.status-latest-card button {
  border-color: #0f6fff;
  color: #ffffff;
  background: linear-gradient(135deg, var(--status-blue), var(--status-blue-dark));
}

.status-result {
  min-height: 430px;
  padding: 24px;
}

.status-empty {
  display: grid;
  min-height: 380px;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--muted);
  text-align: center;
}

.status-empty strong {
  color: var(--ink);
  font-size: 1.35rem;
}

.status-summary {
  display: grid;
  gap: 18px;
}

.status-summary-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.status-summary h2 {
  margin: 9px 0 4px;
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.status-summary p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.status-operation-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.status-operation-panel article {
  display: grid;
  gap: 7px;
  min-height: 128px;
  border: 1px solid #d7e7fb;
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

.status-operation-panel strong {
  color: #143d70;
  font-size: 1.05rem;
  line-height: 1.2;
}

.status-operation-panel p {
  color: #5f6f87;
  font-size: 0.88rem;
  line-height: 1.38;
}

.status-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.status-mini-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  color: #40516a;
  background: #f1f6fb;
  font-size: 0.78rem;
  font-weight: 900;
}

.status-mini-tags span:first-child {
  color: #074fae;
  background: #eaf3ff;
}

.status-current {
  display: grid;
  gap: 6px;
  min-width: 190px;
  padding: 14px;
  border: 1px solid #cce1ff;
  border-radius: 8px;
  color: #134ea3;
  background: #eef6ff;
}

.status-current span {
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-current strong {
  color: #134ea3;
  font-size: 1.05rem;
}

.status-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.status-facts div {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.status-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-facts dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.status-timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-timeline li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.status-dot {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid #d8e1ee;
  border-radius: 999px;
  color: #667085;
  background: #fff;
  font-weight: 950;
}

.status-timeline li.done .status-dot,
.status-timeline li.active .status-dot {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.status-timeline li.done .status-dot {
  background: #0b8f6d;
  border-color: #0b8f6d;
}

.status-timeline strong {
  display: block;
  color: var(--ink);
}

.status-timeline p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.status-actions a:last-child {
  color: var(--ink);
  background: #f7fbff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.status-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.status-support-grid article {
  display: grid;
  gap: 8px;
  min-height: 220px;
  border: 1px solid #dce7f3;
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
  box-shadow: 0 16px 42px rgba(16, 31, 54, 0.08);
}

.status-support-grid span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  color: #8b6723;
  background: #fff5dd;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-support-grid strong {
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.2;
}

.status-support-grid p {
  margin: 0;
  color: #52627a;
  font-weight: 760;
  line-height: 1.45;
}

.status-support-grid a {
  align-self: end;
  width: fit-content;
  color: #0f6fff;
  font-weight: 950;
}

.status-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 34px;
  border-top: 1px solid #dce7f3;
  padding-top: 18px;
  color: #647287;
  font-weight: 820;
}

.status-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.status-footer a {
  color: #40516a;
  font-weight: 900;
}

@media (max-width: 900px) {
  .status-header,
  .status-brand,
  .status-header nav,
  .status-actions {
    align-items: stretch;
  }

  .status-header,
  .status-hero,
  .status-layout,
  .status-summary-head,
  .status-operation-panel,
  .status-facts,
  .status-support-grid {
    grid-template-columns: 1fr;
  }

  .status-header {
    display: grid;
  }

  .status-header nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .status-header nav a {
    padding: 0 8px;
    font-size: 0.86rem;
  }

  .status-form {
    position: static;
  }

  .status-call {
    min-width: 0;
  }

  .status-support-grid article {
    min-height: 0;
  }
}

@media (max-width: 540px) {
  .status-main,
  .status-header {
    width: min(100% - 20px, 1180px);
  }

  .status-hero,
  .status-form,
  .status-result {
    padding: 18px;
  }

  .status-brand strong {
    font-size: 1.02rem;
  }

  .status-header nav {
    grid-template-columns: 1fr;
  }
}
