@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary-dark: #004d71;
  --primary-bg: #005a84;
  --accent: #00a3c4;
  --accent-bright: #00d2c4;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --border-color: #cbd5e1;
  --bg-light: #f8fafc;
  --purple-bg: #f5f3ff;
  --purple-text: #6d28d9;
  --teal-bg: #f0fdfa;
  --teal-text: #0f766e;
  --yellow-bg: #fefce8;
  --yellow-text: #a16207;
  --red-bg: #fff1f2;
  --red-text: #be123c;
  --critical: #be123c;
  --serious: #a16207;
  --moderate: #6d28d9;
  --minor: #0f766e;
  font-family: "Lexend", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: #ffffff;
  color: var(--text-dark);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

input,
select {
  min-height: 40px;
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text-dark);
  padding: 8px 12px;
}

input:focus,
select:focus,
button:focus-visible {
  outline: 3px solid rgba(0, 163, 196, 0.22);
  border-color: var(--accent);
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.auth-pending .app-shell {
  display: none;
}

.login-footer {
  position: relative;
  background: #ffffff;
}

.app-footer {
  margin-top: auto;
}

.footer-stripe {
  background: linear-gradient(100deg, #ff3700, #ffe500 16.66%, #ff3700 50%, #ffe500 66.66%, #ff3700);
  background-size: 200% 100%;
  background-repeat: repeat;
  animation: scrollGradientUltraSmooth 5s linear infinite;
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: none !important;
}

.login-footer-content {
  max-width: 1900px;
  margin: 0 auto;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 44px;
  color: #073348;
  font-size: 12px;
  font-weight: 650;
}

.login-footer-content img {
  width: 75px;
  height: auto;
}

.login-footer-content a {
  color: #073348;
}

.header {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px max(40px, calc((100vw - 1900px) / 2 + 40px));
  position: relative;
  border-bottom: none !important;
  background: #ffffff;
}

.header::after {
  content: "";
  background: linear-gradient(100deg, #6794ff, #06ffe7 16.66%, #6794ff 50%, #06ffe7 66.66%, #6794ff);
  background-size: 200% 100%;
  background-repeat: repeat;
  animation: scrollGradientUltraSmooth 5s linear infinite;
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-bottom: none !important;
}

@keyframes scrollGradientUltraSmooth {
  0% {
    background-position: 100% 0%;
  }

  100% {
    background-position: 0% 0%;
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.logo img {
  display: block;
  width: 95px;
  margin-bottom: 11px;
  height: auto;
}

.logo strong {
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-dark);
}

.org-select {
  width: auto;
  min-width: 170px;
}

.menu-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  font-size: 15px;
}

.menu-dot-grid {
  pointer-events: none;
  width: 22px;
  height: 22px;
  display: grid;
  grid-template-columns: repeat(3, 5px);
  grid-template-rows: repeat(3, 5px);
  gap: 3px 3px;
  justify-content: center;
  align-content: center;
}

.menu-dot-grid span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.menu-wrap {
  position: relative;
}

.app-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(380px, calc(100vw - 32px));
  padding: 17px 20px 21px;
  border: 1px solid #d8e2ee;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(10px);
  z-index: 20;
}

.app-menu[hidden] {
  display: none;
}

.toolkit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.toolkit-header h2 {
  color: #7b858c;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 800;
}

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px 18px;
}

.toolkit-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #d8e2ee;
}

.menu-logout-button {
  min-height: 36px;
  border: 1px solid #d8e2ee;
  border-radius: 6px;
  background: #ffffff;
  color: var(--primary-dark);
  padding: 0 14px;
  font-weight: 700;
}

.menu-logout-button:hover,
.menu-logout-button:focus-visible {
  background: #f0f4f8;
}

.menu-logout-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.tool-item {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #050505;
  text-align: center;
  font-size: 16px;
  line-height: 1.1;
}

.tool-item.active,
.tool-item:hover,
.tool-item:focus {
  outline: none;
  background: #f0f4f8;
}

.tool-icon {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #166f88;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.tool-icon.account {
  border-radius: 50%;
  background: #d7eef2;
  border: 4px solid #87b8c4;
  font-size: 23px;
}

.tool-icon.wcag {
  background: #e9f5f6;
  color: #145f7c;
}

.tool-icon.toolbar {
  width: 39px;
  height: 31px;
  border-radius: 5px;
  background: #d9f2f3;
  color: #117985;
  font-size: 23px;
}

.tool-icon.document {
  background: #e7f6ec;
  color: #33865a;
}

.tool-icon.guardian {
  background: #dff5f3;
  color: #198b91;
}

.tool-icon.mobile {
  background: #e9f4ff;
  color: #e67b1f;
}

.tool-icon.evidence {
  background: #e9f7ee;
  color: #2d8a5b;
}

.tool-icon.reports {
  background: #f4effa;
  color: #7656a5;
}

.tool-icon.audits {
  background: #fff7ed;
  color: #b45309;
}

.tool-icon.integrations {
  background: #e7f5fb;
  color: #126799;
}

.tool-icon.extensions {
  background: #e8f6fb;
  color: #116fa3;
}

.tool-icon.developer {
  background: #eef2ff;
  color: #1f4f86;
  font-size: 14px;
}

.tool-icon.landscape {
  background: #eef8ec;
  color: #4d8a32;
}

.tool-icon.media {
  background: #f0f9ff;
  color: #0369a1;
}

.tool-icon.support {
  background: #eef8ff;
  color: #075985;
}

.hero-banner {
  background: var(--primary-bg);
  color: #ffffff;
  padding: 40px max(40px, calc((100vw - 1900px) / 2 + 40px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.breadcrumbs {
  font-size: 14px;
  opacity: 0.82;
  margin-bottom: 15px;
}

.hero-title {
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 10px;
  font-weight: 650;
}

.scanned-pages {
  font-size: 18px;
  margin-bottom: 15px;
  opacity: 0.92;
}

.manage-link {
  display: inline-block;
  border: 0;
  background: transparent;
  color: var(--accent-bright);
  text-decoration: underline;
  margin-bottom: 20px;
  padding: 0;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
}

.hero-preview {
  width: 280px;
  flex: 0 0 280px;
  background: #ffffff;
  padding: 5px;
  border-radius: 6px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.preview-top {
  background: #002244;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 11px;
  border-radius: 4px 4px 0 0;
}

.preview-body {
  height: 118px;
  background: var(--bg-light);
  padding: 18px;
}

.preview-line {
  height: 9px;
  width: 58%;
  border-radius: 5px;
  background: #cbd5e1;
  margin-bottom: 10px;
}

.preview-line.long {
  width: 86%;
}

.preview-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.preview-card-row div {
  height: 36px;
  border-radius: 6px;
  background: #e2e8f0;
}

.tabs-container {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  padding: 0 max(40px, calc((100vw - 1900px) / 2 + 40px));
  background: #ffffff;
}

.tab {
  padding: 20px 40px;
  font-weight: 650;
  color: var(--primary-dark);
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
}

.tab.active {
  border-bottom-color: var(--accent);
}

.main-content {
  width: 100%;
  padding: 40px;
  max-width: 1900px;
  margin: 0 auto;
}

.coming-soon {
  min-height: 420px;
  display: grid;
  place-items: center;
}

.coming-soon h1 {
  color: var(--primary-dark);
  font-size: 32px;
  line-height: 1.2;
  font-weight: 650;
}

.notification-box {
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.status-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  font-family: Georgia, serif;
}

.notification-text h2 {
  color: var(--primary-dark);
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.notification-text p {
  color: var(--text-dark);
  line-height: 1.5;
}

.status-ok {
  color: var(--teal-text) !important;
}

.status-error {
  color: var(--red-text) !important;
}

.scan-panel {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 24px;
  background: #ffffff;
  margin-bottom: 30px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

.field.span-2 {
  grid-column: span 2;
}

.field span,
.toggle span {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.form-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.toggle input {
  width: 18px;
  min-height: 18px;
}

.form-actions,
.filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.primary-button,
.secondary-button {
  min-height: 42px;
  border-radius: 6px;
  padding: 0 16px;
  font-weight: 700;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--primary-bg);
  background: var(--primary-bg);
  color: #ffffff;
}

.secondary-button {
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--primary-dark);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-bottom: 30px;
}

.journey-card,
.results-panel,
.json-panel {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: #ffffff;
}

.journey-card {
  padding: 30px;
}

.card-title {
  font-size: 15px;
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.card-subtitle {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 30px;
}

.progress-section {
  display: flex;
  align-items: center;
  gap: 30px;
}

.circle-progress {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0%, #e2e8f0 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.circle-progress::before {
  content: attr(data-value);
  position: absolute;
  width: 56px;
  height: 96px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-dark);
}

.bar-progress-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bar-label-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.bar-label-row h3 {
  color: var(--primary-dark);
  font-size: 14px;
}

.bar-percentage {
  color: var(--primary-bg);
  font-size: 12px;
  font-weight: 800;
}

.bar-bg {
  background: #e2e8f0;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 6px;
}

.bar-fill.secondary {
  background: #d9383a;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-content: start;
}

.metric-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.metric-card.unique {
  background: var(--red-bg);
  border-color: #ffe4e6;
  color: var(--red-text);
}

.metric-card.todo {
  background: var(--yellow-bg);
  border-color: #fef08a;
  color: var(--yellow-text);
}

.metric-card.progress {
  background: var(--purple-bg);
  border-color: #ddd6fe;
  color: var(--purple-text);
}

.metric-card.cant-fix {
  background: var(--teal-bg);
  border-color: #ccfbf1;
  color: var(--teal-text);
}

.metric-title {
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 15px;
}

.metric-value {
  font-size: 32px;
  font-weight: 800;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 30px;
  align-items: start;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
}

.panel-header.compact {
  min-height: 64px;
}

.panel-header h2 {
  color: var(--primary-dark);
  font-size: 20px;
}

.panel-header p,
.panel-header span {
  color: var(--text-light);
  font-size: 14px;
  margin-top: 4px;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  background: var(--bg-light);
}

th:nth-child(1) { width: 120px; }
th:nth-child(2) { width: 210px; }
th:nth-child(3) { width: 250px; }

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 20px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

.badge.critical { background: var(--critical); }
.badge.serious { background: var(--serious); }
.badge.moderate { background: var(--moderate); }
.badge.minor { background: var(--minor); }

.target,
.rule {
  overflow-wrap: anywhere;
  color: var(--text-dark);
}

.empty-cell {
  color: var(--text-light);
  text-align: center;
  height: 120px;
  vertical-align: middle;
}

#jsonOutput {
  margin: 0;
  padding: 18px;
  height: 520px;
  overflow: auto;
  color: #0f172a;
  background: var(--bg-light);
  border-radius: 0 0 12px 12px;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

@media (max-width: 1024px) {
  .dashboard-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-preview {
    display: none;
  }
}

@media (max-width: 680px) {
  .header,
  .hero-banner,
  .main-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header,
  .form-row,
  .panel-header,
  .progress-section {
    align-items: stretch;
    flex-direction: column;
  }

  .header-right,
  .form-actions {
    width: 100%;
  }

  .app-menu {
    right: -20px;
    width: calc(100vw - 24px);
    padding: 24px 18px 30px;
    border-radius: 24px;
  }

  .toolkit-header h2 {
  font-size: 17px;
  }

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

  .tool-item {
    min-height: 140px;
    font-size: 22px;
  }

  .tool-icon {
    width: 62px;
    height: 62px;
    font-size: 34px;
  }

  .tool-icon.toolbar {
    width: 92px;
    height: 48px;
    font-size: 32px;
  }

  .tabs-container {
    padding: 0 20px;
    overflow-x: auto;
  }

  .tab {
    padding: 18px 22px;
    white-space: nowrap;
  }

  .field-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .field.span-2 {
    grid-column: span 1;
  }

  th:nth-child(3),
  td:nth-child(3) {
    display: none;
  }
}

/* Accessibility toolkit menu redesign */
.app-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(370px, calc(100vw - 24px));
  max-height: calc(100vh - 78px);
  overflow-y: auto;
  padding: 19px 24px 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(245, 253, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 42%, rgba(252, 248, 255, 0.98) 100%);
  box-shadow: 0 18px 38px rgba(7, 51, 72, 0.24);
  backdrop-filter: blur(12px);
  z-index: 60;
}

.app-menu[hidden] {
  display: none;
}

.toolkit-header {
  display: block;
  margin-bottom: 14px;
}

.toolkit-header h2 {
  color: #073348;
  font-size: 17px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

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

.tool-item {
  min-height: 95px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 10px;
  background: var(--tool-bg, #edf8fb);
  color: #050505;
  text-align: center;
  font-size: 15px;
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 6px 12px rgba(7, 51, 72, 0.04);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.tool-item.active,
.tool-item:hover,
.tool-item:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 9px 18px rgba(7, 51, 72, 0.13);
}

.tool-account,
.tool-toolbar,
.tool-landscape {
  --tool-bg: linear-gradient(135deg, #eff8fd 0%, #edf7f6 100%);
}

.tool-wcag,
.tool-reports,
.tool-developer {
  --tool-bg: linear-gradient(135deg, #f2f0ff 0%, #eeeefd 100%);
}

.tool-document,
.tool-evidence {
  --tool-bg: linear-gradient(135deg, #dcf6ec 0%, #ecfbf7 100%);
}

.tool-guardian,
.tool-extensions {
  --tool-bg: linear-gradient(135deg, #d6f4f2 0%, #e8f8ff 100%);
}

.tool-mobile,
.tool-media {
  --tool-bg: linear-gradient(135deg, #e5f4ff 0%, #dff2ff 100%);
}

.tool-audits {
  --tool-bg: linear-gradient(135deg, #fff1df 0%, #ffe8d2 100%);
}

.tool-integrations {
  --tool-bg: linear-gradient(135deg, #dff2ff 0%, #edf9ff 100%);
}

.tool-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #073348;
  font-size: 0;
  font-weight: 800;
  line-height: 1;
  text-shadow: none;
}

.tool-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tool-icon.toolbar {
  width: 56px;
  height: 36px;
}

.tool-icon.developer {
  width: 41px;
  height: 41px;
  font-size: 0;
}

.toolkit-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #cfeaf2;
}

.menu-logout-button {
  min-height: 36px;
  min-width: 88px;
  border: 0;
  border-radius: 6px;
  background: #073b63;
  color: #ffffff;
  padding: 0 15px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: inset -5px -5px 0 rgba(255, 255, 255, 0.1), 0 6px 10px rgba(7, 51, 72, 0.14);
}

.menu-logout-button:hover,
.menu-logout-button:focus-visible {
  background: #0a4d7f;
}

.menu-logout-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

@media (max-width: 760px) {
  .app-menu {
    right: -20px;
    width: calc(100vw - 24px);
    padding: 18px 16px 20px;
    border-radius: 18px;
  }

  .toolkit-header h2 {
  font-size: 17px;
    white-space: normal;
  }

  .toolkit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .tool-item {
    min-height: 95px;
    font-size: 15px;
  }

  .tool-icon {
    width: 39px;
    height: 39px;
  }

  .tool-icon.toolbar {
    width: 56px;
    height: 36px;
  }

  .toolkit-actions {
    margin-top: 16px;
    padding-top: 14px;
  }

  .menu-logout-button {
    min-height: 36px;
    min-width: 88px;
    font-size: 15px;
  }
}

.support-hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 14px;
  width: min(360px, 100%);
}

.support-ticket-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  padding: 20px;
}

.support-ticket-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.support-ticket-card strong {
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
}

.support-panel[hidden] {
  display: none;
}

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

.support-stat,
.resource-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
}

.support-stat {
  display: grid;
  gap: 8px;
}

.support-stat span,
.support-stat small {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 700;
}

.support-stat strong {
  color: var(--primary-dark);
  font-size: 34px;
  line-height: 1;
}

.results-panel {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
}

.panel-header h2,
.resource-card h2 {
  color: var(--primary-dark);
  font-size: 20px;
}

.panel-header p,
.resource-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 5px;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  background: var(--bg-light);
}

td strong,
td span {
  display: block;
}

td span {
  color: var(--text-light);
  margin-top: 4px;
}

.status-pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.high {
  background: var(--red-bg);
  color: var(--red-text);
}

.status-pill.medium {
  background: var(--yellow-bg);
  color: var(--yellow-text);
}

.status-pill.low,
.status-pill.ready {
  background: var(--teal-bg);
  color: var(--teal-text);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.resource-card {
  display: grid;
  align-content: start;
  gap: 16px;
}

.status-list {
  display: grid;
}

.status-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.status-list div:last-child {
  border-bottom: 0;
}

@media (max-width: 900px) {
  .support-summary,
  .resource-grid {
    grid-template-columns: 1fr;
  }
}
