:root {
  --fg: #161616;
  --muted: #60646c;
  --soft: #858994;
  --line: #e7e8ec;

  --accent: #ED7728;
  --accent-dark: #c45f1d;
  --accent-soft: #fff3ea;
  --accent-border: #f5c8a9;

  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;

  --shadow-sm: 0 8px 22px rgba(20, 24, 33, 0.06);
  --shadow-md: 0 18px 46px rgba(20, 24, 33, 0.09);

  --radius: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(237,119,40,.12), transparent 28rem),
    linear-gradient(180deg, #fafbfe 0%, var(--bg) 320px, var(--bg) 100%);
  color: var(--fg);
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
}

.page {
  width: min(1180px, calc(100% - 32px));
  min-height: 100%;
  margin: 0 auto;
  padding: 22px 0 calc(120px + env(safe-area-inset-bottom));
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  padding: 14px 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 850;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--accent);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 0 0 5px rgba(237,119,40,.13);
}

.header-links {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.header-links a {
  text-decoration: none;
}

.header-links a:hover {
  color: var(--accent-dark);
}

/* ============================================================
   Layout
   ============================================================ */

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.content-column {
  display: grid;
  gap: 22px;
}

.sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
  position: static !important;
  top: auto !important;
  align-self: start;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  padding-bottom: calc(120px + env(safe-area-inset-bottom));
}

.sidebar > :last-child {
  margin-bottom: calc(120px + env(safe-area-inset-bottom));
}

/* ============================================================
   Universal cards
   ============================================================ */

.featured,
.blog-feed,
.profile-card,
.side-card,
.single-post,
.topic-item,
.content-card {
  border: 1px solid rgba(231, 232, 236, 0.95);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
}

/* Hoofdcontentkaart: subtiele glow alleen linksboven */
.content-card,
.featured,
.single-post {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 0, rgba(237,119,40,.12) 0%, rgba(237,119,40,.07) 13rem, rgba(237,119,40,0) 24rem),
    #fff;
  box-shadow: var(--shadow-md);
}

.content-card::before,
.featured::before,
.single-post::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
}

.content-card > *,
.featured > *,
.single-post > * {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Featured
   ============================================================ */

.featured {
  min-height: 290px;
  padding: 34px;
}

.featured-top {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 14px;
}

.eyebrow,
.side-label {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.featured-top .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: var(--accent-soft);
}

.featured-top .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.meta,
.topic-date {
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 750;
}

.featured h1 {
  max-width: 790px;
  margin: 0 0 16px;
  color: var(--fg);
  font-size: clamp(2.3rem, 5.2vw, 4.6rem);
  line-height: .98;
  letter-spacing: -0.055em;
}

.featured .muted {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.featured-link,
.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: none;
}

.featured-link:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ============================================================
   Blog feed
   ============================================================ */

.blog-feed {
  padding: 26px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading .eyebrow {
  margin-bottom: 6px;
}

.section-heading h2 {
  margin: 0 0 6px;
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.section-intro,
.muted {
  color: var(--muted);
}

.section-intro {
  margin: 0;
}

.topic-list {
  display: grid;
  gap: 14px;
}

.topic-item {
  display: block;
  position: relative;
  padding: 18px 18px 18px 20px;
  border-radius: 18px;
  background: var(--surface);
  color: var(--fg);
  text-decoration: none;
  transition:
    border-color .16s ease,
    box-shadow .16s ease,
    transform .16s ease,
    background .16s ease;
}

.topic-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 999px;
  background: rgba(237,119,40,.28);
  transition: background .16s ease;
}

.topic-item:hover {
  border-color: rgba(237,119,40,.32);
  box-shadow: 0 12px 28px rgba(20, 24, 33, 0.08);
  transform: translateY(-1px);
  background: #fffdfb;
}

.topic-item:hover::before {
  background: var(--accent);
}

.topic-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 8px;
}

.topic-item h3 {
  margin: 0 0 7px;
  color: var(--fg);
  font-size: 1.12rem;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.topic-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.topic-main-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.topic-main-link:hover h3,
a.topic-item:hover h3 {
  color: var(--accent-dark);
}

.feed-item.is-hidden {
  display: none;
}

/* ============================================================
   Badges & tags
   ============================================================ */

.topic-category,
.source-badge,
.tag,
.mini-tags span,
.type-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 850;
}

.topic-category {
  color: var(--accent-dark);
}

.topic-category::before {
  content: "•";
  margin-right: 7px;
  color: #c9cbd2;
}

.source-badge,
.type-badge {
  padding: 3px 8px;
  font-weight: 900;
}

.source-badge.langenoten {
  border: 1px solid #dddfe5;
  background: #f8f8fa;
  color: var(--muted);
}

.source-badge.personal {
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.type-badge.article {
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.type-badge.discussion {
  border: 1px solid #d9dde6;
  background: #f5f6f9;
  color: var(--muted);
}

.type-badge.topic {
  border: 1px solid #d9dde6;
  background: #fafafd;
  color: var(--soft);
}

.type-badge.personal {
  border: 1px solid #d8e6dc;
  background: #f0faf3;
  color: #2f6f3e;
}

.tags,
.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags {
  margin-top: 12px;
}

.topic-item .tags {
  margin-top: 18px;
}

.tag,
.mini-tags span {
  padding: 4px 8px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

a.tag {
  text-decoration: none;
}

a.tag:hover {
  transform: translateY(-1px);
}

a.tag.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.mini-tags span {
  border-color: #e5e6eb;
  background: #fafafd;
  color: var(--muted);
}

/* ============================================================
   Sidebar
   ============================================================ */

.profile-card,
.side-card {
  padding: 24px;
}

.profile-card {
  background:
    radial-gradient(circle at 0 0, rgba(237,119,40,.10) 0%, rgba(237,119,40,.05) 9rem, rgba(237,119,40,0) 17rem),
    #fff;
}

.profile-identity {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 12px 0 18px;
}

.profile-portrait {
  display: block;
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  object-fit: cover;
  background: var(--accent-soft);
  box-shadow: 0 10px 24px rgba(237,119,40,.14);
}

.profile-card h2,
.profile-identity h2 {
  margin: 0 0 5px;
  color: var(--fg);
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.profile-card .tagline,
.profile-identity .tagline {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.profile-card p {
  color: var(--fg);
  line-height: 1.68;
}

.profile-card a.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(237,119,40,.2);
}

.profile-card a.button:hover {
  background: var(--accent-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.profile-link.profile-row,
.profile-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.profile-link {
  color: inherit;
  text-decoration: none;
  border-radius: 16px;
  transition:
    background .16s ease,
    transform .16s ease;
}

.profile-link:hover {
  background: rgba(237,119,40,.055);
  transform: translateY(-1px);
}

.profile-link:hover h3 {
  color: var(--accent-dark);
}

.avatar-img,
.profile-row .avatar-img {
  display: block;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  object-fit: cover;
  background: var(--accent-soft);
}

.profile-link > div {
  display: grid;
  gap: 1px;
}

.profile-row h3 {
  margin: 0;
  line-height: 1.05;
  font-size: 1rem;
}

.profile-row p,
.side-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.3;
  font-size: 0.92rem;
}

.side-post-list {
  display: grid;
  gap: 10px;
}

.side-post-link {
  display: grid;
  gap: 3px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.side-post-link:last-child {
  border-bottom: 0;
}

.side-post-link strong {
  color: var(--fg);
  font-size: .98rem;
  line-height: 1.25;
}

.side-post-link span {
  color: var(--muted);
  font-size: .82rem;
}

.side-post-link:hover strong {
  color: var(--accent-dark);
}

/* ============================================================
   Buttons
   ============================================================ */

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.button.primary,
.post-source-action .button,
.source-button {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(237,119,40,.2);
}

.button.primary:hover,
.post-source-action .button:hover,
.source-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.load-more-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  margin: 18px auto 0;
  padding: 0 18px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition:
    background .16s ease,
    border-color .16s ease,
    transform .16s ease;
}

.load-more-button:hover {
  border-color: rgba(237,119,40,.48);
  background: #ffe7d5;
  transform: translateY(-1px);
}

.load-more-button[hidden] {
  display: none;
}

/* ============================================================
   Single post / page detail
   ============================================================ */

.single-post {
  padding: 38px 42px;
}

.single-post .eyebrow {
  margin-bottom: 16px;
}

.single-post h1 {
  max-width: 840px;
  margin: 24px 0 18px;
  color: var(--fg);
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  line-height: .95;
  letter-spacing: -0.06em;
}

.single-post .tags {
  margin-top: 14px;
}

.single-post-meta {
  margin-top: 12px;
}

.single-post-body {
  max-width: 760px;
  margin-top: 34px;
  color: var(--fg);
  font-size: 1.08rem;
  line-height: 1.75;
}

.single-post-body p {
  margin: 0 0 1.15em;
}

.single-post-body h2,
.single-post-body h3,
.single-post-body h4 {
  color: var(--fg);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.single-post-body h2 {
  margin: 2.1rem 0 .8rem;
  font-size: 1.8rem;
}

.single-post-body h3 {
  margin: 1.65rem 0 .7rem;
  font-size: 1.35rem;
}

.single-post-body ul,
.single-post-body ol {
  margin: 0 0 1.35em;
  padding-left: 1.45em;
}

.single-post-body li {
  margin: .36em 0;
}

.single-post-body a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.single-post-body blockquote {
  margin: 1.5em 0;
  padding: 1em 1.2em;
  border-left: 4px solid rgba(237,119,40,.45);
  border-radius: 12px;
  color: var(--fg);
  background: var(--accent-soft);
}

.single-post-body hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.single-post-body img {
  max-width: 100%;
  border-radius: 16px;
}

/* Subtiele codeblokken */
.single-post-body code {
  padding: .14em .36em;
  border: 1px solid rgba(237,119,40,.14);
  border-radius: 7px;
  background: rgba(237,119,40,.08);
  color: var(--accent-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
}

.single-post-body pre {
  overflow-x: auto;
  margin: 1.45em 0;
  padding: 16px;
  border: 1px solid rgba(237,119,40,.16);
  border-radius: 16px;
  background: #f8f3ee;
  color: #2e3642;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

.single-post-body pre code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  line-height: 1.65;
}

.post-source-action {
  margin: 28px 0 0;
}

.post-source-action.bottom {
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.post-source-action.bottom::before {
  content: "Meepraten of het originele topic bekijken?";
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 700;
}

.source-button {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.post-back {
  margin-top: 38px;
}

.post-back a {
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: none;
}

.post-back a:hover {
  text-decoration: underline;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 24px 4px calc(42px + env(safe-area-inset-bottom));
  color: var(--soft);
  font-size: .9rem;
  font-weight: 750;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(237,119,40,.16);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 960px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 680px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 15px;
  }

  .page {
    width: 100%;
    max-width: 100%;
    padding: 0 0 calc(120px + env(safe-area-inset-bottom));
    margin: 0;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 22px 20px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background:
      linear-gradient(90deg, rgba(237,119,40,.12), rgba(255,255,255,0) 72%),
      #fff;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .header-links {
    flex-wrap: wrap;
    gap: 18px;
    font-size: 1rem;
  }

  .main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    padding: 16px;
  }

  .content-column,
  .sidebar {
    width: 100%;
    min-width: 0;
  }

  .featured,
  .blog-feed,
  .profile-card,
  .side-card,
  .single-post,
  .content-card {
    width: 100%;
    min-width: 0;
    border-radius: 18px;
  }

  .featured,
  .single-post {
    min-height: 0;
    padding: 24px 22px 24px 26px;
  }

  .featured::before,
  .single-post::before,
  .content-card::before {
    width: 5px;
  }

  .featured-top,
  .topic-meta-row {
    gap: 8px;
  }

  .featured h1,
  .single-post h1 {
    max-width: 100%;
    margin-top: 18px;
    font-size: clamp(2rem, 12vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
  }

  .featured .muted {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.65;
  }

  .blog-feed {
    padding: 22px;
  }

  .section-heading h2 {
    font-size: 1.65rem;
  }

  .section-intro {
    max-width: 100%;
    line-height: 1.55;
  }

  .topic-list {
    gap: 12px;
  }

  .topic-item {
    width: 100%;
    min-width: 0;
    padding: 16px 16px 16px 18px;
    border-radius: 16px;
    overflow: hidden;
  }

  .topic-item h3 {
    font-size: 1.08rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .topic-item p {
    font-size: 0.98rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .topic-date,
  .topic-category,
  .source-badge,
  .type-badge {
    font-size: 0.74rem;
    white-space: normal;
  }

  .tags {
    max-width: 100%;
    overflow: hidden;
  }

  .tag {
    max-width: 100%;
    font-size: 0.74rem;
    overflow-wrap: anywhere;
  }

  .profile-card,
  .side-card {
    padding: 22px;
  }

  .profile-identity {
    align-items: center;
  }

  .profile-portrait {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
  }

  .profile-card h2 {
    font-size: 1.45rem;
  }

  .profile-card .tagline {
    font-size: 0.95rem;
  }

  .single-post-body {
    max-width: 100%;
    margin-top: 26px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .footer {
    padding: 10px 16px 24px;
  }
}
.status-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.status-table th,
.status-table td {
  padding: .85rem .75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.status-table th {
  color: var(--muted);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.status-group {
  display: block;
  margin-top: .15rem;
  color: var(--muted);
  font-size: .85rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .22rem .55rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: capitalize;
}

.status-online {
  background: #e9f8ef;
  color: #16733a;
  border: 1px solid #bde8ca;
}

.status-offline {
  background: #fff0ef;
  color: #a0342b;
  border: 1px solid #f1c0ba;
}

/* Status metrics met blokbars */
.metric {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 110px;
}

.metric-value {
  font-size: 0.95rem;
  line-height: 1.2;
}

.metric-sub {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.35;
}

.metric-bar {
  width: 100%;
  height: 0.5rem;
  background: #f1ede7;
  border: 1px solid rgba(237, 119, 40, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.metric-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ed7728 0%, #f4a261 100%);
  border-radius: 999px;
  min-width: 0;
}

.status-table {
  table-layout: fixed;
}

.status-table th:nth-child(1),
.status-table td:nth-child(1) {
  width: 15%;
}

.status-table th:nth-child(2),
.status-table td:nth-child(2) {
  width: 14%;
}

.status-table th:nth-child(3),
.status-table td:nth-child(3) {
  width: 20%;
}

.status-table th:nth-child(4),
.status-table td:nth-child(4) {
  width: 25%;
}

.status-table th:nth-child(5),
.status-table td:nth-child(5),
.status-table th:nth-child(6),
.status-table td:nth-child(6) {
  width: 13%;
}

.status-table td {
  word-break: normal;
}

.metric {
  min-width: 0;
}

.metric-bar {
  max-width: 100%;
}

.status-uptime,
.status-checks {
  display: block;
  margin-top: .25rem;
  font-size: .74rem;
  line-height: 1.25;
  color: var(--muted);
}

.status-uptime {
  font-weight: 700;
  color: #475569;
}

.status-checks {
  font-size: .7rem;
}

/* ============================================================
   Mobiele weergave statuspagina
   ============================================================ */

@media (max-width: 700px) {
  .status-table-wrap {
    overflow-x: visible;
  }

  .status-table,
  .status-table thead,
  .status-table tbody,
  .status-table th,
  .status-table td,
  .status-table tr {
    display: block;
    width: 100%;
  }

  .status-table {
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
  }

  .status-table thead {
    display: none;
  }

  .status-table tbody {
    display: grid;
    gap: 14px;
  }

  .status-table tr {
    margin: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
  }

  .status-table td {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 12px;
    padding: 8px 0;
    border: 0;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
  }

  .status-table td::before {
    content: attr(data-label);
    font-weight: 800;
    color: var(--muted);
  }

  .status-table td:first-child {
    display: block;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 4px;
  }

  .status-table td:first-child::before {
    display: none;
  }

  .status-table td:first-child strong {
    display: block;
    font-size: 1.15rem;
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .status-table .status-pill {
    display: inline-flex;
    width: fit-content;
  }

  .status-table .metric {
    min-width: 0;
  }

  .status-table .metric-bar {
    width: 100%;
    max-width: 180px;
  }

  .status-table .metric-sub {
    max-width: 100%;
  }
}
