/* ===== DASHBOARD LAYOUT ===== */
#dashboard-view {
  flex-direction: column;
  min-height: 100vh;
  padding: 2rem;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

/* --- Header --- */
.header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.header img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.header h1 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.header-title {
  min-width: 0;
}

.header .tag {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.header-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.header .status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--green);
  white-space: nowrap;
}

.header .status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* --- Health Badge --- */
.health-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-dim);
  cursor: default;
}

.health-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.3s;
}

.health-badge.ok {
  color: var(--green);
}

.health-badge.ok::before {
  background: var(--green);
}

.health-badge.fail {
  color: var(--red);
}

.health-badge.fail::before {
  background: var(--red);
}

.health-badge.checking {
  color: var(--yellow);
}

.health-badge.checking::before {
  background: var(--yellow);
}

.version-link {
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}

.version-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* --- Logout --- */
.btn-logout {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-logout:hover {
  border-color: var(--red);
  color: var(--red);
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 0.65rem 1.25rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text);
}

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

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* --- Stats Grid --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--border-hover);
}

.card .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.card .value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.card .sub {
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 0.2rem;
}

/* --- Budget Bar --- */
.budget-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.budget-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}

.budget-header .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--text-dim);
  font-weight: 600;
}

.budget-header .amount {
  font-size: 0.85rem;
  color: var(--text);
}

.budget-bar {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.budget-bar .fill {
  height: 100%;
  border-radius: 3px;
  transition:
    width 0.5s ease,
    background 0.3s;
  background: var(--green);
  min-width: 0;
}

.budget-bar .fill.warning {
  background: var(--yellow);
}

.budget-bar .fill.danger {
  background: var(--red);
}

.budget-details {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.4rem;
}

/* --- Operations Panel --- */
.operations-panel {
  margin-bottom: 1.5rem;
}

.operations-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.operations-header h2 {
  font-size: 1rem;
  color: var(--text);
}

.operations-mode {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.operations-mode-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--text-dim);
  font-weight: 600;
}

.operations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.operations-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem;
  transition: border-color 0.2s;
}

.operations-card:hover {
  border-color: var(--border-hover);
}

.operations-card-header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.operations-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  overflow-wrap: anywhere;
}

.operations-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.4rem;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dim);
  white-space: nowrap;
}

.operations-pill.ok {
  border-color: var(--green);
  color: var(--green);
}

.operations-pill.warn {
  border-color: var(--yellow);
  color: var(--yellow);
}

.operations-pill.danger {
  border-color: var(--red);
  color: var(--red);
}

.operations-pill.muted {
  color: var(--text-dim);
}

.operations-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.75rem;
}

.operations-metric {
  min-width: 0;
}

.operations-metric-label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.68rem;
  color: var(--text-dim);
}

.operations-metric strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}

.operations-card-sub {
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-dim);
}

.operations-guidance {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.operations-guidance:empty {
  display: none;
}

.operations-guidance-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.operations-guidance-item strong {
  color: var(--text);
}

.operations-guidance-item.warning {
  border-color: var(--yellow);
}

.operations-guidance-item.critical {
  border-color: var(--red);
}

.setup-doctor-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.setup-doctor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.setup-doctor-header h2 {
  font-size: 1rem;
  color: var(--text);
}

.setup-doctor-results {
  display: grid;
  gap: 0.5rem;
}

.setup-doctor-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.setup-doctor-status {
  align-self: start;
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
}

.setup-doctor-row.pass .setup-doctor-status {
  color: var(--green);
  background: rgba(34, 197, 94, 0.12);
}

.setup-doctor-row.warn .setup-doctor-status {
  color: var(--yellow);
  background: rgba(245, 158, 11, 0.12);
}

.setup-doctor-row.fail .setup-doctor-status {
  color: var(--red);
  background: rgba(239, 68, 68, 0.12);
}

.setup-doctor-row.skipped .setup-doctor-status {
  color: var(--text-dim);
  background: rgba(148, 163, 184, 0.12);
}

.setup-doctor-body {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.setup-doctor-body strong {
  color: var(--text);
  font-size: 0.9rem;
}

.setup-doctor-body span,
.setup-doctor-body em {
  color: var(--text-dim);
  font-size: 0.82rem;
  font-style: normal;
}

/* --- Per-Server Budget Overview Items --- */
.guild-budget-overview-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}

.guild-budget-overview-item:last-child {
  border-bottom: none;
}

.gbo-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-weight: 500;
}

.gbo-tag {
  font-size: 0.6rem;
  color: var(--text-dim);
  background: var(--border);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0;
  vertical-align: middle;
  margin-left: 0.25rem;
}

.gbo-cost {
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.gbo-limit {
  font-size: 0.7rem;
  color: var(--text-dim);
  opacity: 0.6;
}

.gbo-bar {
  width: 60px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.gbo-bar .fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.gbo-bar .fill.warning {
  background: var(--yellow);
}

.gbo-bar .fill.danger {
  background: var(--red);
}

.gbo-exceeded {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0;
  white-space: nowrap;
}

/* --- Bar Chart --- */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 80px;
  padding: 0 1.25rem 0.5rem;
}

.bar-chart .bar {
  flex: 1;
  min-width: 8px;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  transition: height 0.3s;
  cursor: pointer;
  position: relative;
  opacity: 0.7;
}

.bar-chart .bar:hover {
  opacity: 1;
}

.bar-chart .bar:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.65rem;
  white-space: nowrap;
  color: var(--text);
  z-index: 10;
}

/* --- Log Filters --- */
.log-filters {
  display: flex;
  gap: 0.5rem;
  padding: 0 1.25rem 0.5rem;
  overflow-x: auto;
}

.log-filter-btn {
  padding: 0.3rem 0.75rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.log-filter-btn:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.log-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.log-row-error td {
  background: rgba(240, 71, 71, 0.04);
}

.log-detail-cell,
.log-error-text {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.log-error-text {
  color: var(--text);
}

.log-suggestion {
  margin-top: 0.2rem;
  max-width: 260px;
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.35;
}

.log-diagnostics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  min-width: 150px;
}

.log-diagnostic-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.4rem;
  max-width: 100%;
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.prefs-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 0.75rem 0 1rem;
}

.prefs-tools input,
.prefs-tools select {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.prefs-tools select {
  flex: 0 1 17rem;
}

.prefs-tools input:focus,
.prefs-tools select:focus {
  border-color: var(--accent);
  background: var(--surface);
}

.prefs-tools input::placeholder {
  color: var(--text-dim);
}

.user-prefs-table th:first-child,
.user-prefs-table td:first-child {
  width: 2.5rem;
}

.user-prefs-table th:last-child,
.user-prefs-table td:last-child {
  width: 1%;
  white-space: nowrap;
}

.user-prefs-table .mono {
  overflow-wrap: anywhere;
}

.user-prefs-selected-server {
  margin-top: 0;
}

.user-prefs-guild-heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 700;
}

.user-prefs-guild-heading img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex-shrink: 0;
}

.user-prefs-guild-id {
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.user-identity {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  min-width: 0;
}

.user-identity-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.user-identity-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.user-identity-name,
.user-identity-id {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Dashboard shell --- */
#dashboard-view {
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
}

#dashboard-view.active {
  display: flex;
  align-items: stretch;
}

.dashboard-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 248px;
  height: 100vh;
  margin: 0;
  padding: 1.25rem 1rem;
  border-right: 1px solid #252531;
  border-bottom: 0;
  background: #131319;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  box-shadow: 12px 0 32px rgba(0, 0, 0, 0.12);
}

.sidebar-brandline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #252531;
  color: #5f5f73;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sidebar-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #f4f4f7;
}

.sidebar-wordmark::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
}

.sidebar-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding-bottom: 1.25rem;
}

.sidebar-avatar {
  position: relative;
  flex: 0 0 auto;
}

.sidebar-avatar .sidebar-presence {
  position: absolute;
  right: -1px;
  bottom: 1px;
  width: 10px;
  height: 10px;
  border: 2px solid #131319;
  border-radius: 50%;
  background: var(--green);
}

.sidebar-identity .header-title {
  overflow: hidden;
}

.sidebar-identity h1,
.sidebar-identity .tag {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-identity h1 {
  font-size: 1rem;
}

.primary-nav {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 0.35rem;
  margin: 0;
  padding-top: 1rem;
  border: 0;
  border-top: 1px solid #252531;
  overflow: visible;
  counter-reset: sidebar-page;
}

.sidebar-nav-label,
.sidebar-footer-label {
  color: #5f5f73;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sidebar-nav-label {
  margin: 0 0.65rem 0.35rem;
}

.primary-nav .tab-btn {
  counter-increment: sidebar-page;
  width: 100%;
  min-height: 2.75rem;
  padding: 0 0.7rem;
  border: 1px solid transparent;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 1.55rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem;
  text-align: left;
  color: #7f7f93;
}

.primary-nav .tab-btn::before {
  content: '0' counter(sidebar-page);
  color: #515164;
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}

.primary-nav .tab-btn::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: transparent;
}

.primary-nav .tab-btn:hover {
  border-color: #252531;
  background: rgba(255, 255, 255, 0.025);
}

.primary-nav .tab-btn.active {
  border-color: #2b2b37;
  background: #1a1a22;
  box-shadow: inset 2px 0 var(--accent);
  color: #f4f4f7;
}

.primary-nav .tab-btn.active::before {
  color: var(--accent);
}

.primary-nav .tab-btn.active::after {
  background: var(--accent);
}

.sidebar-footer {
  display: grid;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #252531;
}

.dashboard-sidebar .header-meta {
  order: initial;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.75rem;
  border: 1px solid #252531;
  border-radius: 8px;
  background: #0f0f14;
  display: grid;
  gap: 0;
}

.sidebar-status-row {
  min-height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sidebar-status-row + .sidebar-status-row {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #20202a;
}

.sidebar-status-name {
  color: #68687c;
  font-size: 0.72rem;
  font-weight: 600;
}

.dashboard-sidebar .status,
.dashboard-sidebar .health-badge {
  font-size: 0.78rem;
}

.sidebar-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
}

.sidebar-actions .version-link,
.sidebar-actions .btn-logout {
  min-height: 2.25rem;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.dashboard-sidebar .btn-logout {
  width: 100%;
}

.dashboard-main {
  display: flex;
  flex-direction: column;
  width: calc(100% - 248px);
  max-width: 1440px;
  min-height: 100vh;
  min-width: 0;
  margin-left: 248px;
  padding: 1.75rem 2rem 3rem;
}

.mobile-main-nav,
.mobile-secondary-nav,
.mobile-activity-list {
  display: none;
}

#tab-overview.active {
  display: flex;
  flex-direction: column;
}

#tab-overview .operations-panel {
  order: 1;
}
#tab-overview .setup-doctor-panel {
  order: 2;
}
#tab-overview .budget-card {
  order: 3;
}
#tab-overview .grid {
  order: 4;
}
#tab-overview .refresh-note {
  order: 5;
}

.secondary-nav {
  display: flex;
  gap: 0.25rem;
  min-height: 2.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.secondary-nav-btn {
  padding: 0 0.9rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-dim);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.secondary-nav-btn:hover,
.secondary-nav-btn.active {
  color: var(--text);
}

.secondary-nav-btn.active {
  border-bottom-color: var(--accent);
}

.activity-panel,
.access-panel {
  display: none;
}

.activity-panel.active,
.access-panel.active {
  display: block;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.section-actions {
  display: flex;
  gap: 0.5rem;
}

.mobile-activity-row {
  border-bottom: 1px solid var(--border);
}

.mobile-activity-row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.6rem 0.75rem;
  color: var(--text);
  cursor: pointer;
}

.mobile-activity-row summary::after {
  content: '+';
  color: var(--text-dim);
  font-weight: 700;
}

.mobile-activity-row[open] summary::after {
  content: '-';
}

.mobile-activity-row dl {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0 0.75rem 0.85rem;
}

.mobile-activity-row dl div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0.75rem;
}

.mobile-activity-row dt,
.mobile-activity-row dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.76rem;
}

.mobile-activity-row dt {
  color: var(--text-dim);
}

.user-identity-name {
  color: var(--text);
  font-weight: 600;
}

.user-identity-id {
  color: var(--text-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
}
