:root {
  --color-primary: #1573B7;
  --color-secondary: #2AA9E0;
  --color-dark: #242424;
  --color-white: #FFFFFF;
  --color-background: #F7FAFC;
  --color-border: #E5EAF0;
  --color-muted: #6B7280;
  --color-soft-blue: #EAF6FC;
  --color-soft-gray: #F2F6FA;
  --color-success: #2E7D5B;
  --color-success-bg: #E8F7EF;
  --color-info: #1573B7;
  --color-info-bg: #E7F3FB;
  --color-warning: #9A6A00;
  --color-warning-bg: #FFF5D6;
  --color-orange: #B95C17;
  --color-orange-bg: #FFF0E3;
  --color-danger: #B42318;
  --color-danger-bg: #FDECEC;
  --shadow: 0 18px 45px rgba(21, 115, 183, 0.10);
  --shadow-strong: 0 24px 70px rgba(36, 36, 36, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-background);
  color: var(--color-dark);
  font-size: 14px;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

button:hover {
  transform: translateY(-1px);
}

.hidden {
  display: none !important;
}

.login-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(21, 115, 183, 0.08), rgba(42, 169, 224, 0.05)),
    var(--color-background);
}

.login-panel {
  width: min(1080px, 100%);
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: var(--shadow-strong);
}

.login-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 52px;
}

.login-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  margin-bottom: 24px;
  padding: 0;
  border-radius: 8px;
  background: var(--color-white);
}

.login-logo {
  display: block;
  width: min(230px, 100%);
  height: auto;
}

.brand-icon,
.header-icon {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--color-secondary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-panel h1,
.topbar h1,
.section-heading h2,
.modal-panel h2 {
  margin: 0;
  letter-spacing: 0;
}

.login-panel h1 {
  margin-top: 0;
  color: var(--color-primary);
  font-size: clamp(1.55rem, 2.7vw, 2.1rem);
  line-height: 1.12;
  max-width: 420px;
}

.login-subtitle {
  max-width: 360px;
  margin: 10px 0 26px;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.login-form {
  display: grid;
  gap: 10px;
}

.login-visual {
  position: relative;
  min-height: 100%;
  margin: 0;
  background: var(--color-soft-blue);
}

.login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 115, 183, 0.06), rgba(21, 115, 183, 0.40));
  pointer-events: none;
}

.login-visual img,
.login-visual video {
  width: 100%;
  height: 100%;
  min-height: 620px;
  display: block;
  object-fit: cover;
  object-position: 58% 42%;
}

.login-visual figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}

.login-visual strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.login-visual span {
  display: block;
  margin-top: 3px;
  color: var(--color-dark);
  font-size: 0.9rem;
}

.login-form label {
  color: var(--color-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-dark);
  outline: none;
  padding: 0 14px;
}

input::placeholder {
  color: #9AA4B2;
}

input:focus,
select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(42, 169, 224, 0.18);
}

.login-error {
  min-height: 20px;
  margin: 2px 0;
  color: var(--color-danger);
  font-size: 0.9rem;
}

.primary-button,
.secondary-button,
.ghost-button,
.detail-button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
}

.primary-button {
  color: var(--color-white);
  background: var(--color-primary);
}

.primary-button:hover,
.detail-button:hover {
  background: var(--color-secondary);
}

.secondary-button {
  color: var(--color-primary);
  background: var(--color-white);
  border: 1px solid rgba(21, 115, 183, 0.28);
  padding: 0 14px;
}

.secondary-button:hover {
  color: var(--color-white);
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}

.ghost-button {
  color: var(--color-primary);
  background: var(--color-soft-blue);
  border: 1px solid rgba(21, 115, 183, 0.18);
  padding: 0 14px;
}

.ghost-button:hover {
  color: var(--color-white);
  background: var(--color-primary);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  padding: 22px;
  background: var(--color-white);
  border-right: 1px solid var(--color-border);
  box-shadow: 10px 0 30px rgba(21, 115, 183, 0.05);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-icon {
  display: none;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.sidebar-logo {
  display: block;
  width: min(190px, 100%);
  height: auto;
}

.sidebar-footer span {
  display: block;
  color: var(--color-muted);
  font-size: 0.82rem;
  margin-top: 3px;
}

.sidebar nav {
  display: grid;
  gap: 8px;
}

.sidebar a {
  color: var(--color-dark);
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  text-align: left;
  font-size: 1rem;
  font-weight: 400;
  line-height: normal;
}

.sidebar a.active,
.sidebar a:hover {
  color: var(--color-white);
  background: var(--color-primary);
  border-left-color: var(--color-secondary);
}

.sidebar-footer {
  display: block;
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 8px;
  background: var(--color-soft-blue);
}

.sidebar-footer strong {
  color: var(--color-primary);
}

.dashboard {
  min-width: 0;
  padding: 9px 8px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.topbar-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.topbar h1 {
  color: var(--color-primary);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.company-name {
  color: var(--color-primary);
  font-weight: 900;
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 12px;
  margin-bottom: 12px;
}

.executive-summary,
.timeline-card,
.chart-panel,
.area-strip,
.technologies-section,
.assets-section,
.metric-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.executive-summary {
  border-left: 5px solid var(--color-primary);
}

.executive-summary,
.timeline-card,
.area-strip,
.technologies-section,
.assets-section {
  padding: 9px 8px;
}

.section-heading h2 {
  color: var(--color-dark);
}

.executive-summary p {
  color: var(--color-dark);
  line-height: 1.5;
}

.progress-block {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.progress-block > div:first-child {
  display: flex;
  justify-content: space-between;
  color: var(--color-muted);
  font-weight: 800;
}

.progress-block strong {
  color: var(--color-primary);
}

.progress-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-soft-gray);
  border: 1px solid var(--color-border);
}

.progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width 450ms ease;
}

.timeline {
  display: grid;
  gap: 7px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 18px;
  gap: 8px;
  align-items: center;
}

.timeline-date {
  color: var(--color-primary);
  font-weight: 900;
  font-size: 0.86rem;
}

.timeline-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--color-soft-gray);
  overflow: hidden;
}

.timeline-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.timeline-item strong {
  color: var(--color-dark);
  font-size: 0.86rem;
  text-align: right;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.metric-card {
  padding: 12px;
  border-top: 3px solid var(--color-secondary);
}

.metric-card span {
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  color: var(--color-primary);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
}

.metric-card small {
  color: var(--color-muted);
}

.area-strip {
  margin-bottom: 12px;
}

.technologies-section {
  margin-bottom: 12px;
}

.area-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.area-card {
  min-height: 70px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-soft-blue);
}

.area-card strong {
  display: block;
  margin-top: 8px;
  color: var(--color-primary);
  font-size: 1.15rem;
}

.area-card span {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.technology-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.technology-card {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
}

.technology-card h3 {
  margin: 8px 0;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.technology-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.35;
  font-size: 0.84rem;
}

.tech-status {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--color-primary);
  background: var(--color-soft-blue);
  font-size: 0.75rem;
  font-weight: 900;
}

.tech-backup-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, #f59e0b 15%, transparent);
  color: #d97706;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 6px;
  border: 1px solid color-mix(in srgb, #f59e0b 35%, transparent);
}

.technology-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.technology-card dl div {
  padding: 8px;
  border-radius: 8px;
  background: var(--color-soft-gray);
}

.technology-card dt {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.technology-card dd {
  margin: 4px 0 0;
  color: var(--color-primary);
  font-size: 1.35rem;
  font-weight: 900;
}

.charts-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.chart-panel {
  min-width: 0;
  min-height: 270px;
  padding: 12px;
}

.chart-wrap {
  min-width: 0;
  max-width: 100%;
  height: 205px;
  margin-top: 8px;
}

.chart-wrap canvas {
  display: block;
  max-width: 100% !important;
}

.filters {
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) repeat(4, minmax(122px, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.table-card {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
}

table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  background: var(--color-white);
}

th:nth-child(1),
td:nth-child(1) { width: 7%; }

th:nth-child(2),
td:nth-child(2) { width: 16%; }

th:nth-child(3),
td:nth-child(3) { width: 11%; }

th:nth-child(4),
td:nth-child(4) { width: 9%; }

th:nth-child(5),
td:nth-child(5) { width: 9%; }

th:nth-child(6),
td:nth-child(6) { width: 8%; }

th:nth-child(7),
td:nth-child(7) { width: 9%; }

th:nth-child(8),
td:nth-child(8) { width: 9%; }

th:nth-child(9),
td:nth-child(9) { width: 12%; }

th:nth-child(10),
td:nth-child(10) { width: 10%; }

th,
td {
  padding: 9px 8px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
  overflow-wrap: break-word;
}

th {
  color: var(--color-white);
  background: var(--color-primary);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

td {
  color: var(--color-dark);
  font-size: 0.78rem;
  line-height: 1.25;
}

td strong {
  font-size: 0.8rem;
  line-height: 1.18;
}

tbody tr:nth-child(even) {
  background: var(--color-soft-gray);
}

tbody tr:hover {
  background: var(--color-soft-blue);
}

.observation-cell {
  max-width: none;
  color: var(--color-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
  border: 1px solid currentColor;
}

.badge.green {
  color: var(--color-success);
  background: var(--color-success-bg);
}

.badge.blue {
  color: var(--color-info);
  background: var(--color-info-bg);
}

.badge.yellow {
  color: var(--color-warning);
  background: var(--color-warning-bg);
}

.badge.orange {
  color: var(--color-orange);
  background: var(--color-orange-bg);
}

.badge.red {
  color: var(--color-danger);
  background: var(--color-danger-bg);
}

.detail-button {
  color: var(--color-white);
  background: var(--color-primary);
  min-height: 32px;
  padding: 0 8px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 36, 36, 0.45);
}

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: var(--shadow-strong);
}

.modal-panel h2 {
  color: var(--color-primary);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-muted);
  font-weight: 900;
}

.modal-close:hover {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.modal-content {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.detail-item,
.detail-text {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-background);
  color: var(--color-dark);
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.detail-item > span:first-child,
.detail-text > span:first-child {
  display: block;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.detail-item .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 78px;
  margin: 0;
  text-align: center;
}

.evidence-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.empty-state {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.data-note {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.evidence-actions {
  margin-top: 12px;
}

.evidence-folder-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 800;
  text-decoration: none;
}

.evidence-folder-button:hover {
  background: var(--color-secondary);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  padding: 14px 16px;
  border: 1px solid rgba(21, 115, 183, 0.22);
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-strong);
  transition: 220ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .login-panel {
    grid-template-columns: 1fr;
    width: min(640px, 100%);
    min-height: 0;
  }

  .login-content {
    padding: 34px;
  }

  .login-visual {
    order: -1;
    min-height: 240px;
  }

  .login-visual img,
  .login-visual video {
    min-height: 240px;
    max-height: 320px;
    object-position: 62% 38%;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
  }

  .sidebar-brand {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .sidebar nav {
    display: flex;
    flex-wrap: wrap;
  }

  .sidebar-footer {
    display: none;
  }

  .summary-grid,
  .charts-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .technology-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .login-view {
    padding: 18px;
  }

  .dashboard {
    padding: 12px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 9px 8px;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .topbar-actions button {
    flex: 1 1 140px;
  }

  .topbar-title {
    align-items: flex-start;
  }

  .topbar h1 {
    font-size: 1.55rem;
    line-height: 1.1;
  }

  .header-icon {
    width: 34px;
    height: 34px;
  }

  .sidebar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .metrics-grid,
  .technology-cards,
  .filters,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .chart-panel {
    min-height: 310px;
    padding: 9px 8px;
  }

  .chart-wrap {
    height: 245px;
  }

  #areaChart {
    min-height: 245px;
  }

  .login-panel {
    width: 100%;
  }

  .login-content {
    padding: 24px;
  }

  .login-logo {
    width: min(220px, 100%);
  }

  .login-visual,
  .login-visual img,
  .login-visual video {
    min-height: 190px;
  }

  .login-visual figcaption {
    display: none;
  }

  .table-card {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  table {
    min-width: 0;
    background: transparent;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 14px;
  }

  tbody tr,
  tbody tr:nth-child(even),
  tbody tr:hover {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-white);
    box-shadow: var(--shadow);
  }

  td {
    display: block;
    min-width: 0;
    padding: 0;
    border-bottom: 0;
    color: var(--color-dark);
    font-size: 0.88rem;
    line-height: 1.35;
  }

  td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--color-muted);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  td:nth-child(1) {
    order: 1;
    width: auto;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 900;
  }

  td:nth-child(1)::before {
    display: none;
  }

  td:nth-child(2) {
    order: 2;
    grid-column: 1 / -1;
    width: auto;
  }

  td:nth-child(2)::before {
    display: none;
  }

  td:nth-child(2) strong {
    display: block;
    color: var(--color-dark);
    font-size: 1.05rem;
    line-height: 1.2;
  }

  td:nth-child(3) {
    order: 3;
    width: auto;
  }

  td:nth-child(5) {
    order: 4;
    width: auto;
    text-align: right;
  }

  td:nth-child(4) {
    order: 5;
    width: auto;
  }

  td:nth-child(6) {
    order: 6;
    width: auto;
  }

  td:nth-child(7) {
    display: none;
  }

  td:nth-child(8) {
    display: none;
  }

  td:nth-child(9) {
    display: none;
  }

  td:nth-child(10) {
    order: 7;
    grid-column: 1 / -1;
    width: auto;
  }

  td[data-label=""] {
    display: block;
  }

  td[data-label=""]::before {
    display: none;
  }

  .observation-cell {
    max-width: none;
  }

  .detail-button {
    width: 100%;
    min-height: 40px;
    margin-top: 2px;
    font-size: 0.92rem;
  }

  .modal {
    padding: 12px;
    align-items: start;
  }

  .modal-panel {
    width: 100%;
    margin-top: 12px;
    padding: 18px;
  }
}
