.sidebar-nav {
  min-height: 0;
  overflow-y: auto;
}
.sidebar-foot {
  flex: none;
}
.sheet-link-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}
.sheet-link-button > span:nth-child(2) {
  display: grid;
  flex: 1;
}
.sheet-link-button strong {
  font-size: 12px;
}
.sheet-link-button small {
  font-size: 9px;
  color: var(--muted);
}
.sheet-link-button > .icon {
  width: 16px;
}
.support-sidebar {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.support-report-modal .modal-card {
  width: min(620px, calc(100% - 24px));
}
.support-report-modal .modal-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
}
.support-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  margin: 4px 0 14px;
  border-radius: 12px;
  background: #eff8f5;
  color: #087f5b;
}
.support-privacy-note .icon {
  width: 19px;
  flex: none;
}
.support-privacy-note span {
  display: grid;
}
.support-privacy-note strong {
  font-size: 10px;
}
.support-privacy-note small {
  font-size: 8px;
  color: #4f786d;
}
.support-hero {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 34px;
  margin-bottom: 17px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--brand), #0f766e);
  color: #fff;
}
.support-hero h2 {
  font-size: 30px;
  margin: 5px 0;
}
.support-hero p {
  max-width: 700px;
  margin: 0;
  color: #d7e8e5;
}
.support-list-panel {
  padding: 0;
  overflow: hidden;
}
.support-list-panel > .panel-head {
  padding: 20px 22px 0;
  margin-bottom: 12px;
}
.support-list-panel > .panel-head > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.support-list-panel > .panel-head .eyebrow,
.support-list-panel > .panel-head h2 {
  margin: 0;
  line-height: 1.25;
}
.support-list {
  display: grid;
}
.support-list > a {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}
.support-list > a:last-child {
  border-bottom: 0;
}
.support-list > a > span:nth-child(2) {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
}
.support-list strong {
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.support-list small {
  display: block;
  font-size: 8px;
  line-height: 1.4;
  color: var(--muted);
}
.support-list > a > .icon {
  width: 16px;
  color: #8a9aad;
}
.support-severity {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #edf3fb;
  color: var(--brand);
}
.support-severity .icon {
  width: 20px;
}
.severity-critical,
.severity-high {
  background: #fff0f0;
  color: #b42318;
}
.severity-normal {
  background: #fff7df;
  color: #96630a;
}
.severity-low {
  background: #edf7f4;
  color: #087f5b;
}
.support-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}
.support-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(380px, 1.2fr);
  gap: 17px;
  align-items: start;
}
.support-detail-grid h2,
.admin-detail-main .support-description + h2 {
  margin: 6px 0;
}
.support-description {
  font-size: 12px;
  line-height: 1.7;
  color: #44556a;
}
.support-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.support-meta span {
  display: grid;
  padding: 11px;
  border-radius: 11px;
  background: #f4f7fb;
  min-width: 0;
}
.support-meta small {
  font-size: 7px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.support-meta strong {
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.support-conversation {
  display: grid;
  gap: 10px;
}
.support-message {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fafbfd;
}
.support-message.from-support {
  background: #eef5ff;
  border-color: #d3e4f5;
}
.support-message.internal {
  background: #fff8e8;
  border-color: #f1ddb0;
}
.support-message strong {
  font-size: 10px;
}
.support-message p {
  margin: 5px 0;
  font-size: 10px;
  line-height: 1.55;
}
.support-message small {
  font-size: 7px;
  color: var(--muted);
}
.support-conversation form {
  display: grid;
  gap: 9px;
  padding-top: 8px;
}
.support-diagnostics {
  display: grid;
  margin: 12px 0;
}
.support-diagnostics div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.support-diagnostics dt {
  font-size: 8px;
  color: var(--muted);
}
.support-diagnostics dd {
  margin: 0;
  font-size: 8px;
  font-weight: 750;
  text-align: right;
  overflow-wrap: anywhere;
}
.health-filter {
  grid-template-columns: minmax(220px, 1fr) auto auto;
}
.health-filter label select {
  padding-left: 38px;
}
.health-event-panel {
  padding: 0;
  overflow: hidden;
}
.health-event-panel > .panel-head {
  padding: 20px 22px 0;
}
.health-event-list {
  display: grid;
}
.health-event-list article {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
}
.health-event-list article > div {
  display: grid;
}
.health-event-list strong {
  font-size: 11px;
}
.health-event-list p {
  font-size: 9px;
  color: #526174;
  margin: 3px 0;
}
.health-event-list small {
  font-size: 7px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .support-detail-grid {
    grid-template-columns: 1fr;
  }
  .health-filter {
    grid-template-columns: 1fr 1fr;
  }
  .health-filter label {
    grid-column: 1/-1;
  }
}
@media (max-width: 680px) {
  .support-report-modal .modal-card {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-height: 92dvh;
    overflow: auto;
    border-radius: 22px 22px 0 0;
    padding: 20px 16px calc(18px + env(safe-area-inset-bottom));
  }
  .support-hero {
    min-height: 0;
    display: grid;
    padding: 22px 19px;
    border-radius: 18px;
  }
  .support-hero h2 {
    font-size: 24px;
  }
  .support-hero p {
    font-size: 9px;
  }
  .support-hero .btn {
    width: 100%;
  }
  .support-list-panel {
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .support-list-panel > .panel-head {
    padding: 17px 12px 2px;
    margin-bottom: 10px;
  }
  .support-list > a {
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    padding: 12px;
  }
  .support-list > a > .status {
    display: none;
  }
  .support-severity {
    width: 38px;
    height: 38px;
  }
  .support-toolbar {
    align-items: stretch;
  }
  .support-toolbar .btn {
    flex: 1;
    padding: 8px;
    font-size: 9px;
  }
  .support-meta {
    grid-template-columns: 1fr;
  }
  .support-detail-grid .panel {
    padding: 16px;
  }
  .admin-support-list small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .health-event-panel {
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 0;
  }
  .health-event-list article {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 12px;
  }
  .health-event-list article form {
    grid-column: 2;
  }
  .health-grid {
    grid-template-columns: 1fr !important;
  }
}
