:root {
  color-scheme: dark;
  font-family: "Segoe UI Variable Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 14% 18%, rgba(243, 18, 96, 0.18), transparent 24%),
    radial-gradient(circle at 84% 84%, rgba(244, 114, 182, 0.12), transparent 26%),
    linear-gradient(180deg, #000000 0%, #05050a 100%);
  color: #eceef5;
  --background: #040407;
  --surface-1: rgba(17, 17, 24, 0.82);
  --surface-2: rgba(25, 25, 34, 0.86);
  --surface-3: rgba(38, 38, 50, 0.92);
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text-muted: rgba(236, 238, 245, 0.7);
  --text-soft: rgba(236, 238, 245, 0.45);
  --primary: #f31260;
  --primary-soft: rgba(243, 18, 96, 0.18);
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #f43f5e;
  --info: #38bdf8;
  --shadow-large: 0 30px 60px rgba(0, 0, 0, 0.28), inset 0 0 1px rgba(255, 255, 255, 0.16);
  --shadow-medium: 0 12px 30px rgba(0, 0, 0, 0.26), inset 0 0 1px rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: inherit;
  background: transparent;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.app-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.app-glow {
  pointer-events: none;
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  filter: blur(60px);
}

.app-glow-left {
  top: 4rem;
  left: 2rem;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(243, 18, 96, 0.24) 0%, rgba(243, 18, 96, 0.08) 45%, transparent 76%);
}

.app-glow-right {
  right: 2rem;
  bottom: 2rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.16) 0%, rgba(244, 114, 182, 0.04) 58%, transparent 80%);
}

.page-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: min(1440px, calc(100vw - 2.4rem));
  margin: 0 auto;
  padding: 1.4rem 0 3rem;
}

.hero-card,
.toolbar-card,
.table-card,
.overview-card,
.signal-card,
.platform-card,
.config-banner,
.warning-strip,
.modal-panel {
  border: 1px solid var(--line-soft);
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(22, 22, 30, 0.92), rgba(10, 10, 16, 0.94)),
    rgba(10, 10, 16, 0.9);
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(18px) saturate(145%);
}

.hero-card,
.toolbar-card,
.config-banner,
.warning-strip,
.table-card {
  padding: 1.25rem 1.35rem;
}

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

.hero-copy h1 {
  margin: 0.4rem 0 0.45rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.hero-subtitle,
.section-meta,
.config-banner,
.warning-strip {
  color: var(--text-muted);
}

.eyebrow {
  margin: 0;
  color: #f79abc;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ghost-button,
.primary-button,
.tiny-button,
.icon-button {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #f7f8fb;
  transition: all 180ms ease;
}

.ghost-button,
.primary-button {
  min-height: 2.65rem;
  padding: 0 1rem;
}

.tiny-button {
  min-height: 2rem;
  padding: 0 0.8rem;
  font-size: 0.85rem;
}

.primary-button {
  border-color: rgba(243, 18, 96, 0.36);
  background: linear-gradient(135deg, rgba(243, 18, 96, 0.3), rgba(243, 18, 96, 0.12));
}

.ghost-button:hover,
.primary-button:hover,
.tiny-button:hover,
.icon-button:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.refresh-select-wrap,
.search-box {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.refresh-select-wrap select,
.search-box input,
.priority-input {
  min-height: 2.6rem;
  border: 1px solid var(--line-soft);
  border-radius: 0.95rem;
  padding: 0 0.85rem;
  color: #f7f8fb;
  background: rgba(255, 255, 255, 0.05);
}

.toolbar-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.toolbar-left {
  flex: 1;
  min-width: min(340px, 100%);
}

.search-box input {
  width: min(480px, 100%);
}

.platform-filter {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.platform-chip {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.platform-chip.active {
  color: white;
  border-color: rgba(243, 18, 96, 0.4);
  background: rgba(243, 18, 96, 0.18);
  box-shadow: 0 0 24px rgba(243, 18, 96, 0.16);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.section-heading h2 {
  margin: 0.35rem 0 0;
  font-size: 1.45rem;
}

.overview-grid,
.signal-grid,
.platform-grid {
  display: grid;
  gap: 1rem;
}

.overview-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.signal-grid,
.platform-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.overview-card,
.signal-card,
.platform-card {
  padding: 1rem 1.1rem;
}

.overview-card {
  min-height: 9rem;
}

.overview-card .metric-value {
  margin: 0.65rem 0 0.25rem;
  font-size: 2rem;
  font-weight: 700;
}

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

.signal-card h3,
.platform-card h3 {
  margin: 0;
  font-size: 1rem;
}

.tone-danger {
  border-color: rgba(244, 63, 94, 0.26);
}

.tone-warning {
  border-color: rgba(245, 158, 11, 0.26);
}

.tone-info {
  border-color: rgba(56, 189, 248, 0.24);
}

.signal-count {
  margin: 0.6rem 0 0.35rem;
  font-size: 2rem;
  font-weight: 700;
}

.platform-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.6rem 0 0.95rem;
}

.platform-metrics {
  display: grid;
  gap: 0.5rem;
}

.metric-chip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.95rem;
  padding: 0.7rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
}

.metric-chip-label {
  color: var(--text-muted);
}

.metric-chip-value {
  font-weight: 700;
}

.table-card {
  overflow: hidden;
}

.account-console {
  overflow: hidden;
}

.account-table-head,
.account-row {
  display: grid;
  grid-template-columns:
    minmax(0, 1.28fr)
    minmax(7.2rem, 0.7fr)
    minmax(9.2rem, 0.92fr)
    minmax(0, 1.82fr)
    minmax(12.6rem, 1.04fr)
    minmax(7.6rem, 0.72fr)
    minmax(9rem, 0.88fr);
  gap: 0.64rem;
  align-items: center;
}

.account-table-head {
  padding-bottom: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-table-body {
  display: flex;
  flex-direction: column;
}

.account-table-empty {
  padding: 1.5rem 0.3rem 0.35rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  text-align: center;
}

.account-row {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0);
  transition:
    background-color 220ms ease,
    transform 220ms ease;
}

.account-row:hover {
  background: rgba(255, 255, 255, 0.028);
}

.account-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.012);
}

.account-row:nth-child(odd):hover {
  background: rgba(255, 255, 255, 0.04);
}

.account-row-disabled {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.008);
}

.account-row-disabled:hover,
.account-row-disabled:nth-child(odd):hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.03);
}

.account-primary,
.account-cell,
.account-actions {
  min-width: 0;
}

.account-primary,
.account-type-panel,
.account-status-panel,
.account-actions {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.badge-row,
.account-meta-row,
.account-action-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.account-name {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}

.account-subnote,
.subcopy,
.mono-meta,
.account-cell-note {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
  word-break: break-word;
}

.mono-meta {
  font-family: "Cascadia Mono", Consolas, monospace;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.72rem;
  border-radius: 999px;
  padding: 0 0.68rem;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.badge-platform { background: rgba(56, 189, 248, 0.14); color: #9bdcff; }
.badge-type { background: rgba(255, 255, 255, 0.08); color: #eef0f6; }
.badge-active { background: rgba(34, 197, 94, 0.16); color: #7fe2a4; }
.badge-inactive { background: rgba(148, 163, 184, 0.16); color: #cbd5e1; }
.badge-error { background: rgba(244, 63, 94, 0.15); color: #fda4af; }
.badge-warning { background: rgba(245, 158, 11, 0.16); color: #fcd34d; }
.badge-danger { background: rgba(243, 18, 96, 0.16); color: #f79abc; }
.badge-info { background: rgba(56, 189, 248, 0.16); color: #93c5fd; }

.account-summary-stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.56rem;
}

.account-summary {
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.35;
  word-break: break-word;
}

.account-progress,
.account-stats-panel,
.account-usage-panel {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.95rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  padding: 0.48rem 0.56rem;
}

.account-progress {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.18rem;
}

.account-progress-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.36rem;
}

.account-progress-label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
}

.account-progress-value {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 600;
}

.account-progress-track {
  position: relative;
  width: 100%;
  height: 0.3rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.account-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  transition:
    width 300ms ease,
    background-color 300ms ease,
    opacity 300ms ease;
}

.account-progress-five-hour .account-progress-fill {
  background: linear-gradient(90deg, rgba(243, 18, 96, 0.92), rgba(244, 114, 182, 0.95));
  box-shadow: 0 0 12px rgba(243, 18, 96, 0.2);
}

.account-progress-seven-day .account-progress-fill {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(243, 18, 96, 0.75));
  box-shadow: 0 0 10px rgba(243, 18, 96, 0.12);
}

.account-progress-generic .account-progress-fill {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.84), rgba(243, 18, 96, 0.76));
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.14);
}

.account-progress-empty .account-progress-fill {
  opacity: 0.35;
}

.account-progress-meta {
  color: var(--text-soft);
  font-size: 0.68rem;
  line-height: 1.2;
}

.account-usage-grid,
.account-stats-grid {
  display: grid;
  gap: 0.3rem 0.46rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-usage-item,
.account-stats-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.account-stats-item-wide {
  grid-column: 1 / -1;
}

.account-usage-label,
.account-stats-label,
.account-priority-label {
  color: var(--text-soft);
  font-size: 0.64rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.account-usage-item strong,
.account-stats-item strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.74rem;
  line-height: 1.28;
  word-break: break-word;
}

.account-stats-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.45rem;
}

.account-stats-request-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.22rem 0.34rem;
}

.account-stats-request-detail {
  color: var(--text-muted);
  font-size: 0.62rem;
  line-height: 1.28;
  white-space: nowrap;
}

.account-stats-empty {
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.4;
}

.account-stats-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.account-priority-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.28rem;
  --priority-control-height: 1.88rem;
  --priority-control-radius: 0.68rem;
}

.account-priority-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.36rem;
}

.account-priority-meta {
  color: var(--text-soft);
  font-size: 0.6rem;
  line-height: 1.2;
  text-align: right;
}

.account-priority-input-row {
  display: grid;
  grid-template-columns: 1.46rem minmax(0, 1fr) 1.46rem;
  gap: 0.24rem;
  align-items: center;
}

.account-priority-step-button {
  min-width: 0;
  min-height: var(--priority-control-height);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--priority-control-radius);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 800;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.account-priority-step-button:hover:not(:disabled) {
  border-color: rgba(243, 18, 96, 0.28);
  background: rgba(243, 18, 96, 0.12);
  color: rgba(255, 255, 255, 0.96);
  transform: translateY(-1px);
}

.account-priority-step-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.account-priority-input {
  width: 100%;
  min-height: var(--priority-control-height);
  text-align: center;
}

.action-switch-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
}

.switch-label {
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.switch {
  position: relative;
  width: 3rem;
  height: 1.7rem;
  border: none;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.3);
}

.switch::after {
  content: "";
  position: absolute;
  top: 0.14rem;
  left: 0.14rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: white;
  transition: transform 180ms ease;
}

.switch.enabled {
  background: rgba(34, 197, 94, 0.44);
}

.switch.enabled::after {
  transform: translateX(1.3rem);
}

.loading-inline {
  opacity: 0.55;
  pointer-events: none;
}

.warning-strip,
.config-banner {
  font-size: 0.92rem;
  line-height: 1.6;
}

.warning-strip {
  border-color: rgba(245, 158, 11, 0.25);
}

.config-banner {
  border-color: rgba(56, 189, 248, 0.25);
}

.toast-root {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.toast {
  min-width: 260px;
  max-width: min(92vw, 360px);
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line-soft);
  background: rgba(12, 12, 18, 0.92);
  box-shadow: var(--shadow-medium);
}

.toast.success { border-color: rgba(34, 197, 94, 0.28); }
.toast.error { border-color: rgba(244, 63, 94, 0.28); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(1080px, calc(100vw - 1.4rem));
  max-height: calc(100vh - 2rem);
  margin: 1rem auto;
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.3rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-header h3 {
  margin: 0.35rem 0 0;
  font-size: 1.4rem;
}

.modal-body {
  padding: 1.15rem 1.3rem 1.3rem;
  overflow: auto;
  max-height: calc(100vh - 8rem);
}

.icon-button {
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.2rem;
}

.modal-placeholder {
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
}

.stats-grid,
.stats-breakdown-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 1rem;
}

.stats-card,
.history-card,
.breakdown-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.95rem 1rem;
}

.stats-card-value {
  margin-top: 0.55rem;
  font-size: 1.7rem;
  font-weight: 700;
}

.history-list,
.breakdown-list {
  display: grid;
  gap: 0.7rem;
}

.history-item,
.breakdown-item {
  display: grid;
  gap: 0.45rem;
}

.history-item-head,
.breakdown-item-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.history-bar {
  height: 0.52rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.history-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(243, 18, 96, 0.9), rgba(247, 154, 188, 0.92));
}

@media (max-width: 1240px) {
  .account-table-head,
  .account-row {
    grid-template-columns:
      minmax(0, 1.18fr)
      minmax(6.8rem, 0.64fr)
      minmax(8rem, 0.82fr)
      minmax(0, 1.56fr)
      minmax(11.6rem, 0.96fr)
      minmax(7.1rem, 0.66fr)
      minmax(8.4rem, 0.78fr);
  }
}

@media (max-width: 980px) {
  .page-shell {
    width: min(100vw - 1rem, 1440px);
    padding-top: 0.8rem;
  }

  .hero-card,
  .toolbar-card {
    flex-direction: column;
    align-items: stretch;
  }

  .account-table-head {
    display: none;
  }

  .account-row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .account-priority-head,
  .account-stats-footer {
    align-items: flex-start;
  }
}

.page-frame {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100vw - 1rem));
  margin: 0 auto;
  padding: 1.4rem 0 3rem;
}

.page-stack {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.shell-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.15rem;
  background:
    linear-gradient(180deg, rgba(16, 16, 20, 0.9), rgba(10, 10, 14, 0.86)),
    rgba(12, 12, 16, 0.92);
  box-shadow: var(--shadow-medium);
  padding: 1.2rem;
  backdrop-filter: blur(20px) saturate(140%);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
}

.section-header-main {
  min-width: 0;
}

.section-header-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2vw, 2.45rem);
  line-height: 1.02;
}

.section-header-title-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.section-header p {
  margin: 0.65rem 0 0;
  max-width: 58rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-header p:empty {
  display: none;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.refresh-select {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem 0.85rem;
  color: var(--text-muted);
}

.refresh-select select {
  border: 0;
  background: transparent;
  color: var(--text-main);
  outline: none;
}

.button {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 1rem;
  cursor: pointer;
  transition:
    transform 300ms ease,
    background-color 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease,
    color 300ms ease,
    opacity 300ms ease;
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.button-primary {
  border-color: rgba(243, 18, 96, 0.24);
  background: linear-gradient(135deg, rgba(243, 18, 96, 0.94), rgba(244, 114, 182, 0.92));
  color: white;
  box-shadow: 0 12px 28px rgba(243, 18, 96, 0.2);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  box-shadow: var(--shadow-small);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.06);
  background: transparent;
  color: var(--text-muted);
}

.button-primary:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-1px);
}

.button-primary:hover {
  box-shadow: 0 16px 32px rgba(243, 18, 96, 0.24);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.toolbar-icon-button {
  min-width: 2.7rem;
  padding: 0;
  font-size: 1.02rem;
  line-height: 1;
}

.switch {
  --switch-width: 2.8rem;
  --switch-padding: 0.12rem;
  --switch-thumb-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: var(--switch-width);
  min-width: var(--switch-width);
  height: 1.48rem;
  padding: var(--switch-padding);
  border: 1px solid rgba(243, 18, 96, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(243, 18, 96, 0.03)),
    rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.switch::after {
  display: none;
}

.switch:hover:not(:disabled) {
  border-color: rgba(243, 18, 96, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(243, 18, 96, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.switch-checked {
  border-color: rgba(243, 18, 96, 0.3);
  background:
    linear-gradient(135deg, rgba(243, 18, 96, 0.58), rgba(244, 114, 182, 0.4)),
    rgba(243, 18, 96, 0.22);
  box-shadow: 0 10px 24px rgba(243, 18, 96, 0.18);
}

.switch-track {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
}

.switch-thumb {
  display: block;
  width: var(--switch-thumb-size);
  height: var(--switch-thumb-size);
  flex: 0 0 auto;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86) 52%, rgba(225, 225, 235, 0.82));
  box-shadow:
    0 6px 16px rgba(7, 7, 12, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms ease;
}

.switch-checked .switch-thumb {
  transform: translateX(calc(var(--switch-width) - (var(--switch-padding) * 2) - var(--switch-thumb-size)));
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.98), rgba(255, 235, 245, 0.94) 54%, rgba(255, 214, 233, 0.86));
}

.switch:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  box-shadow: none;
  transform: none;
}

.page-status-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.page-status-chip {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.48rem 0.82rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.page-status-label {
  margin-right: 0.45rem;
  color: var(--text-soft);
}

.page-status-chip strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
}

.page-status-action {
  min-height: 2.35rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
}

.error-panel,
.warning-panel {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.error-panel-title {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-panel-body {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.warning-panel {
  border-color: rgba(245, 165, 36, 0.18);
  background:
    linear-gradient(180deg, rgba(31, 22, 11, 0.94), rgba(21, 16, 9, 0.9)),
    rgba(21, 16, 9, 0.9);
}

.overview-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 0.95fr);
}

.overview-card,
.signal-card {
  min-height: 100%;
}

.overview-card {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.overview-pool-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  width: min(100%, 12.5rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.22rem;
  overflow: hidden;
}

.overview-pool-switch-indicator {
  position: absolute;
  top: 0.22rem;
  left: 0.22rem;
  width: calc((100% - 0.44rem) / 2);
  height: calc(100% - 0.44rem);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(243, 18, 96, 0.88), rgba(244, 114, 182, 0.78));
  box-shadow: 0 10px 22px rgba(243, 18, 96, 0.22);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.overview-pool-switch-indicator-team {
  transform: translateX(100%);
}

.overview-pool-button {
  position: relative;
  z-index: 1;
  min-height: 2.2rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 220ms ease;
}

.overview-pool-button-active {
  color: white;
}

.overview-card-head,
.signal-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.overview-card-eyebrow,
.signal-card-eyebrow {
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.overview-card h3,
.signal-card h3 {
  margin: 0.38rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
}

.overview-card-heading {
  flex: 1;
  min-width: 0;
}

.overview-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-width: 0;
}

.overview-card-time {
  min-width: 11rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.78rem 0.9rem;
  text-align: right;
}

.overview-card-time span {
  display: block;
  color: var(--text-soft);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.overview-card-time strong {
  display: block;
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  line-height: 1.4;
}

.overview-meta-strip {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
}

.overview-meta-chip {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.78rem 0.9rem;
}

.overview-meta-chip-primary {
  background:
    linear-gradient(135deg, rgba(243, 18, 96, 0.18), rgba(243, 18, 96, 0.05)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(243, 18, 96, 0.16);
}

.overview-meta-chip-success {
  border-color: rgba(23, 201, 100, 0.14);
  background:
    linear-gradient(135deg, rgba(23, 201, 100, 0.12), rgba(23, 201, 100, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.overview-meta-chip-danger {
  border-color: rgba(227, 75, 161, 0.18);
  background:
    linear-gradient(135deg, rgba(227, 75, 161, 0.12), rgba(227, 75, 161, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.overview-meta-label {
  display: block;
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.overview-meta-chip strong {
  display: block;
  margin-top: 0.34rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1rem;
  font-weight: 700;
}

.overview-meta-value {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.overview-meta-value-success {
  color: var(--success);
}

.overview-meta-value-danger {
  color: rgba(255, 214, 239, 0.94);
}

.overview-meta-value-dot {
  display: block;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.overview-meta-value-dot-success {
  background: var(--success);
  box-shadow: 0 0 10px rgba(23, 201, 100, 0.35);
}

.overview-meta-value-dot-danger {
  background: rgba(227, 75, 161, 0.95);
  box-shadow: 0 0 10px rgba(227, 75, 161, 0.35);
}

.overview-empty-note {
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
  padding: 0.82rem 0.9rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.overview-metric-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.overview-metric-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
  padding: 0.72rem 0.78rem;
}

.overview-metric-icon {
  position: relative;
  display: flex;
  width: 2.65rem;
  height: 2.65rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.95rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: white;
  isolation: isolate;
}

.overview-metric-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  z-index: -1;
}

.overview-metric-five-hour-icon::before {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(243, 18, 96, 0.34), rgba(244, 114, 182, 0.12));
  border-color: rgba(243, 18, 96, 0.18);
}

.overview-metric-seven-day-icon::before {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(243, 18, 96, 0.12));
  border-color: rgba(255, 255, 255, 0.12);
}

.overview-metric-body {
  min-width: 0;
}

.overview-metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.overview-metric-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 700;
}

.overview-metric-value {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: right;
}

.overview-metric-bar {
  position: relative;
  width: 100%;
  height: 0.42rem;
  margin-top: 0.48rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.overview-metric-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  height: 100%;
  border-radius: inherit;
}

.overview-metric-five-hour .overview-metric-bar-fill {
  background: linear-gradient(90deg, rgba(243, 18, 96, 0.94), rgba(244, 114, 182, 0.94));
  box-shadow: 0 0 14px rgba(243, 18, 96, 0.24);
}

.overview-metric-seven-day .overview-metric-bar-fill {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.64), rgba(243, 18, 96, 0.7));
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
}

.overview-metric-meta {
  margin-top: 0.38rem;
  color: var(--text-soft);
  font-size: 0.74rem;
  line-height: 1.35;
}

.signal-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow: hidden;
  min-height: 0;
}

.signal-card-body {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  gap: 0.8rem;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.signal-card-count {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.42rem 0.7rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.signal-notice {
  border: 1px solid rgba(245, 165, 36, 0.16);
  border-radius: 1rem;
  background: rgba(245, 165, 36, 0.08);
  padding: 0.82rem 0.9rem;
  color: rgba(255, 225, 179, 0.92);
  font-size: 0.82rem;
  line-height: 1.6;
}

.signal-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.signal-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.025);
  padding: 0.72rem 0.78rem;
}

.signal-row-icon {
  display: inline-flex;
  width: 2.05rem;
  height: 2.05rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.78rem;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(243, 18, 96, 0.3), rgba(227, 75, 161, 0.12));
  border: 1px solid rgba(243, 18, 96, 0.16);
  color: rgba(255, 214, 239, 0.94);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.signal-row-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 700;
}

.signal-row-count {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 700;
}

.signal-empty {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  text-align: center;
}

.credential-shell {
  overflow: hidden;
  padding: 0;
}

.credential-shell-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.92rem 1rem;
}

.credential-shell-header h3 {
  margin: 0;
  font-size: 0.98rem;
}

.credential-shell-heading {
  min-width: 0;
  flex: 1;
}

.credential-shell-title-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.credential-shell-count {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.credential-search-field {
  display: flex;
  width: min(100%, 18rem);
  min-width: 0;
  min-height: 2.25rem;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  padding: 0 0.78rem;
}

.credential-search-icon {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  color: var(--text-soft);
}

.credential-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  outline: none;
}

.credential-shell-toolbar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.credential-sort-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.credential-sort-button {
  min-height: 2.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0 0.92rem;
  cursor: pointer;
}

.credential-sort-button-active {
  color: white;
  border-color: rgba(243, 18, 96, 0.2);
  background: linear-gradient(135deg, rgba(243, 18, 96, 0.18), rgba(244, 114, 182, 0.12));
  box-shadow: 0 10px 22px rgba(243, 18, 96, 0.14);
}

.credential-batch-delete-button {
  min-height: 2rem;
  border-color: rgba(227, 75, 161, 0.2);
  color: rgba(255, 214, 239, 0.94);
  font-size: 0.78rem;
  padding: 0 0.86rem;
}

.credential-table {
  display: flex;
  flex-direction: column;
}

.credential-table-empty {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  text-align: center;
}

.credential-table-head,
.credential-row {
  display: grid;
  grid-template-columns:
    minmax(0, 1.26fr)
    minmax(5rem, 0.58fr)
    minmax(5rem, 0.58fr)
    minmax(0, 1.84fr)
    minmax(11.8rem, 0.98fr)
    minmax(6.6rem, 0.66fr)
    minmax(6rem, 0.58fr);
  gap: 0.58rem;
  align-items: center;
  padding: 0.72rem 1rem;
}

.credential-table-head {
  color: var(--text-soft);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credential-row {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0);
}

.credential-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.015);
}

.credential-row-disabled {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.008);
}

.credential-primary {
  min-width: 0;
}

.credential-name {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}

.credential-subnote {
  margin-top: 0.24rem;
  color: var(--text-soft);
  font-size: 0.72rem;
  line-height: 1.35;
}

.credential-file {
  margin-top: 0.22rem;
  color: var(--text-soft);
  font-size: 0.72rem;
  line-height: 1.35;
  word-break: break-all;
}

.credential-cell,
.credential-summary {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
}

.credential-summary-stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.62rem;
}

.credential-progress {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.18rem;
}

.credential-progress-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.36rem 0.55rem;
}

.credential-progress-label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 700;
}

.credential-progress-value {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 600;
}

.credential-progress-track {
  position: relative;
  width: 100%;
  height: 0.3rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.credential-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.credential-progress-five-hour .credential-progress-fill {
  background: linear-gradient(90deg, rgba(243, 18, 96, 0.92), rgba(244, 114, 182, 0.95));
}

.credential-progress-seven-day .credential-progress-fill {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(243, 18, 96, 0.75));
}

.credential-progress-generic .credential-progress-fill {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.84), rgba(243, 18, 96, 0.76));
}

.credential-progress-empty .credential-progress-fill {
  opacity: 0.35;
}

.credential-progress-meta {
  color: var(--text-soft);
  font-size: 0.68rem;
  line-height: 1.2;
}

.credential-stats-panel,
.credential-usage-panel {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.95rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  padding: 0.48rem 0.56rem;
}

.credential-stats-panel-button {
  width: 100%;
  text-align: left;
  border-color: rgba(255, 255, 255, 0.07);
}

.credential-stats-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
}

.credential-stats-grid,
.credential-usage-grid {
  display: grid;
  gap: 0.3rem 0.46rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.credential-stats-item,
.credential-usage-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.credential-stats-item-wide {
  grid-column: 1 / -1;
}

.credential-stats-label,
.credential-usage-label,
.credential-priority-label {
  color: var(--text-soft);
  font-size: 0.64rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.credential-stats-item strong,
.credential-usage-item strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.7rem;
  line-height: 1.28;
}

.credential-stats-request-line {
  display: flex;
  align-items: baseline;
  gap: 0.22rem 0.34rem;
}

.credential-stats-request-detail,
.credential-stats-meta {
  color: var(--text-muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.credential-stats-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.48rem;
}

.credential-stats-total {
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.credential-stats-outcomes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.18rem 0.3rem;
  font-size: 0.71rem;
  line-height: 1.32;
}

.credential-stats-outcomes-muted {
  color: var(--text-muted);
}

.credential-stats-outcome-success {
  color: rgba(187, 247, 208, 0.94);
}

.credential-stats-outcome-failed {
  color: rgba(253, 164, 175, 0.94);
}

.credential-stats-outcome-separator {
  color: var(--text-muted);
}

.credential-stats-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.42rem;
}

.credential-stats-bottom-item {
  min-width: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.71rem;
  line-height: 1.3;
  white-space: nowrap;
}

.credential-stats-empty,
.credential-summary {
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.4;
}

.credential-summary-error {
  color: rgba(255, 214, 233, 0.9);
}

.credential-priority-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
}

.credential-priority-head {
  display: none;
}

.credential-priority-input-row {
  display: grid;
  grid-template-columns: 1.46rem minmax(0, 1fr) 1.46rem;
  gap: 0.24rem;
  align-items: center;
}

.credential-priority-step-button {
  min-height: 1.82rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.66rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 800;
}

.credential-priority-input {
  width: 100%;
  min-height: 1.82rem;
  text-align: center;
}

.credential-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.credential-delete-button {
  min-width: 2rem;
  min-height: 1.78rem;
  padding: 0;
  line-height: 1;
}

.credential-delete-icon {
  width: 0.96rem;
  height: 0.96rem;
  display: block;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.36rem 0.68rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-pill-danger {
  border-color: rgba(227, 75, 161, 0.24);
  background: var(--danger-soft);
  color: rgba(255, 214, 239, 0.94);
}

.status-pill-warning {
  border-color: rgba(245, 165, 36, 0.22);
  background: rgba(245, 165, 36, 0.12);
  color: var(--warning);
}

.status-pill-success {
  border-color: rgba(23, 201, 100, 0.2);
  background: rgba(23, 201, 100, 0.12);
  color: var(--success);
}

.status-pill-pool-team {
  border-color: rgba(109, 188, 177, 0.24);
  background: rgba(109, 188, 177, 0.1);
  color: rgba(188, 232, 226, 0.96);
}

.status-pill-pool-plus {
  border-color: rgba(176, 139, 192, 0.24);
  background: rgba(176, 139, 192, 0.11);
  color: rgba(224, 204, 234, 0.96);
}

.status-pill-pool-free {
  border-color: rgba(120, 159, 207, 0.24);
  background: rgba(120, 159, 207, 0.11);
  color: rgba(202, 219, 243, 0.96);
}

.status-pill-neutral {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

.page-toast-layer {
  position: fixed;
  top: 1.15rem;
  left: 50%;
  z-index: 30;
  pointer-events: none;
  transform: translateX(-50%);
}

.page-toast {
  min-width: 16rem;
  max-width: min(32rem, calc(100vw - 2rem));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.page-toast-success {
  border-color: rgba(23, 201, 100, 0.2);
  background:
    linear-gradient(180deg, rgba(14, 35, 24, 0.94), rgba(9, 21, 16, 0.9)),
    rgba(9, 21, 16, 0.9);
}

.page-toast-error {
  border-color: rgba(227, 75, 161, 0.2);
  background:
    linear-gradient(180deg, rgba(39, 16, 28, 0.94), rgba(22, 10, 17, 0.9)),
    rgba(22, 10, 17, 0.9);
}

.delete-error-modal-panel {
  width: min(860px, calc(100vw - 1.4rem));
}

.create-account-modal-panel {
  width: min(960px, calc(100vw - 1.4rem));
}

.log-modal-panel {
  width: min(960px, calc(100vw - 1.4rem));
}

.settings-modal-panel {
  width: min(1040px, calc(100vw - 1.4rem));
}

.create-account-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.create-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.create-account-field,
.create-account-toggle {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
  padding: 0.9rem;
}

.create-account-field-full {
  grid-column: 1 / -1;
}

.create-account-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 700;
}

.create-account-help {
  color: var(--text-soft);
  font-size: 0.75rem;
  line-height: 1.5;
}

.create-account-input,
.create-account-textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.94);
  outline: none;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.create-account-input {
  min-height: 2.85rem;
  padding: 0 0.9rem;
}

.create-account-textarea {
  min-height: 10rem;
  padding: 0.8rem 0.9rem;
  resize: vertical;
}

.create-account-input:focus,
.create-account-textarea:focus {
  border-color: rgba(243, 18, 96, 0.26);
  box-shadow: 0 0 0 3px rgba(243, 18, 96, 0.12);
}

.create-account-toggle {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  cursor: pointer;
}

.create-account-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.create-account-toggle-box {
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.32rem;
  background: rgba(255, 255, 255, 0.04);
}

.create-account-toggle input:checked + .create-account-toggle-box {
  border-color: rgba(243, 18, 96, 0.3);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.96) 0.14rem, rgba(243, 18, 96, 0.98) 0.18rem, rgba(243, 18, 96, 0.98) 0.46rem, transparent 0.5rem),
    rgba(243, 18, 96, 0.1);
  box-shadow: 0 0 12px rgba(243, 18, 96, 0.16);
}

.create-account-toggle-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.18rem;
}

.create-account-inline-note {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 0.9rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.create-account-results {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.create-result-summary {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.95rem;
}

.create-result-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.create-result-summary-title {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.95rem;
  font-weight: 700;
}

.create-result-summary-subtitle {
  margin-top: 0.28rem;
  color: var(--text-soft);
  font-size: 0.76rem;
}

.create-result-summary-count {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.create-result-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.create-result-chip {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.45rem 0.82rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.create-result-chip-success {
  border-color: rgba(34, 197, 94, 0.18);
  background: rgba(34, 197, 94, 0.08);
  color: rgba(190, 255, 214, 0.94);
}

.create-result-chip-danger {
  border-color: rgba(244, 63, 94, 0.18);
  background: rgba(244, 63, 94, 0.08);
  color: rgba(255, 201, 213, 0.94);
}

.create-result-list {
  display: flex;
  max-height: min(44vh, 24rem);
  flex-direction: column;
  gap: 0.75rem;
  overflow: auto;
  padding-right: 0.18rem;
}

.create-result-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.85rem 0.9rem;
}

.create-result-item-success {
  border-color: rgba(34, 197, 94, 0.18);
  background: rgba(34, 197, 94, 0.05);
}

.create-result-item-error {
  border-color: rgba(244, 63, 94, 0.18);
  background: rgba(244, 63, 94, 0.05);
}

.create-result-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.create-result-item-head strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.86rem;
  line-height: 1.45;
}

.create-result-item-status {
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.create-result-item-meta {
  margin-top: 0.3rem;
  color: var(--text-soft);
  font-size: 0.74rem;
  line-height: 1.45;
}

.create-result-item-message {
  margin-top: 0.42rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  line-height: 1.55;
}

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

.log-modal-title {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.98rem;
  font-weight: 700;
}

.log-modal-description {
  margin: 0.32rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.log-list {
  display: flex;
  max-height: min(60vh, 36rem);
  flex-direction: column;
  gap: 0.8rem;
  overflow: auto;
  padding-right: 0.18rem;
}

.log-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
  padding: 0.9rem 0.95rem;
}

.log-item-success {
  border-color: rgba(34, 197, 94, 0.16);
  background: rgba(34, 197, 94, 0.05);
}

.log-item-error {
  border-color: rgba(244, 63, 94, 0.16);
  background: rgba(244, 63, 94, 0.05);
}

.log-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.log-item-main {
  min-width: 0;
}

.log-item-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.24rem;
}

.log-item-action,
.log-item-outcome {
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.log-item-action {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
}

.log-item-outcome {
  border: 1px solid rgba(243, 18, 96, 0.18);
  background: rgba(243, 18, 96, 0.08);
  color: rgba(255, 219, 235, 0.96);
}

.log-item-name {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  line-height: 1.45;
}

.log-item-time {
  color: var(--text-soft);
  font-size: 0.76rem;
  white-space: nowrap;
}

.log-item-meta {
  margin-top: 0.38rem;
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.5;
}

.log-item-message {
  margin-top: 0.46rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  line-height: 1.55;
}

.log-item-detail {
  margin-top: 0.34rem;
  color: var(--text-muted);
  font-size: 0.77rem;
  line-height: 1.55;
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.settings-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
  padding: 1rem;
}

.settings-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.settings-card-head-compact {
  margin-bottom: 0.85rem;
}

.settings-card-title {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-weight: 700;
}

.settings-card-note {
  margin: 0.34rem 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.settings-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.42rem;
}

.settings-field-full {
  grid-column: 1 / -1;
}

.settings-field-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 700;
}

.settings-field-note {
  color: var(--text-soft);
  font-size: 0.74rem;
  line-height: 1.55;
}

.settings-input,
.settings-textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.94);
  outline: none;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.settings-input {
  min-height: 2.85rem;
  padding: 0 0.9rem;
}

.settings-textarea {
  min-height: 8.8rem;
  padding: 0.8rem 0.9rem;
  resize: vertical;
}

.settings-input:focus,
.settings-textarea:focus {
  border-color: rgba(243, 18, 96, 0.26);
  box-shadow: 0 0 0 3px rgba(243, 18, 96, 0.12);
}

.settings-alert-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 1fr);
  gap: 1rem;
}

.settings-threshold-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.settings-threshold-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.9rem;
}

.settings-threshold-title {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.88rem;
  font-weight: 700;
}

.settings-risk-panel {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.settings-risk-chip {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(243, 18, 96, 0.16);
  border-radius: 999px;
  background: rgba(243, 18, 96, 0.08);
  padding: 0.4rem 0.75rem;
  color: rgba(255, 223, 238, 0.96);
  font-size: 0.76rem;
  font-weight: 700;
}

.settings-risk-note {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.settings-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.settings-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.settings-switch-track {
  --settings-switch-width: 2.85rem;
  --settings-switch-padding: 0.12rem;
  --settings-switch-thumb-size: 0.96rem;
  display: inline-flex;
  width: var(--settings-switch-width);
  min-width: var(--settings-switch-width);
  height: 1.52rem;
  align-items: center;
  padding: var(--settings-switch-padding);
  border: 1px solid rgba(243, 18, 96, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(243, 18, 96, 0.03)),
    rgba(255, 255, 255, 0.04);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.settings-switch-thumb {
  display: block;
  width: var(--settings-switch-thumb-size);
  height: var(--settings-switch-thumb-size);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86) 52%, rgba(225, 225, 235, 0.82));
  box-shadow:
    0 6px 16px rgba(7, 7, 12, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms ease;
}

.settings-switch input:checked + .settings-switch-track {
  border-color: rgba(243, 18, 96, 0.3);
  background:
    linear-gradient(135deg, rgba(243, 18, 96, 0.58), rgba(244, 114, 182, 0.4)),
    rgba(243, 18, 96, 0.22);
  box-shadow: 0 10px 24px rgba(243, 18, 96, 0.18);
}

.settings-switch input:checked + .settings-switch-track .settings-switch-thumb {
  transform: translateX(calc(var(--settings-switch-width) - (var(--settings-switch-padding) * 2) - var(--settings-switch-thumb-size)));
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.98), rgba(255, 235, 245, 0.94) 54%, rgba(255, 214, 233, 0.86));
}

.settings-switch-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 700;
}

.settings-switch-compact .settings-switch-label {
  font-size: 0.76rem;
}

.delete-error-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.delete-error-modal-title {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 700;
}

.delete-error-modal-description {
  margin: 0.3rem 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.delete-error-modal-count {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.45rem 0.8rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.delete-error-select-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.delete-error-link-button {
  border: 0;
  background: transparent;
  color: rgba(255, 214, 239, 0.94);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.delete-error-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-height: min(50vh, 26rem);
  overflow: auto;
  padding-right: 0.2rem;
}

.delete-error-option {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 0.78rem;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
  padding: 0.78rem 0.86rem;
  cursor: pointer;
}

.delete-error-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.delete-error-option-active {
  border-color: rgba(243, 18, 96, 0.2);
  background: rgba(243, 18, 96, 0.08);
}

.delete-error-option-box {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  margin-top: 0.08rem;
}

.delete-error-option-check {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 0.18rem;
  background: transparent;
}

.delete-error-option-active .delete-error-option-check {
  background: rgba(243, 18, 96, 0.96);
  box-shadow: 0 0 10px rgba(243, 18, 96, 0.25);
}

.delete-error-option-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.24rem;
}

.delete-error-option-title {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
}

.delete-error-option-meta {
  color: var(--text-soft);
  font-size: 0.75rem;
}

.delete-error-empty {
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  text-align: center;
}

.token-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (max-width: 1180px) {
  .credential-table-head,
  .credential-row {
    grid-template-columns:
      minmax(0, 1.18fr)
      minmax(4.7rem, 0.52fr)
      minmax(4.7rem, 0.52fr)
      minmax(0, 1.62fr)
      minmax(10.9rem, 0.94fr)
      minmax(6.2rem, 0.62fr)
      minmax(4.8rem, 0.54fr);
  }
}

@media (max-width: 980px) {
  .page-frame {
    width: min(100vw - 1rem, 1440px);
    padding-top: 0.8rem;
  }

  .section-header,
  .credential-shell-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header-title-row {
    align-items: flex-start;
  }

  .section-header-title-meta,
  .page-status-inline {
    width: 100%;
  }

  .toolbar {
    width: 100%;
    flex-wrap: wrap;
  }

  .create-account-grid {
    grid-template-columns: 1fr;
  }

  .settings-grid,
  .settings-alert-grid,
  .settings-threshold-grid {
    grid-template-columns: 1fr;
  }

  .create-account-field-full {
    grid-column: auto;
  }

  .log-modal-toolbar,
  .log-item-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .signal-card {
    overflow: visible;
  }

  .signal-card-body {
    overflow-y: visible;
    padding-right: 0;
  }

  .credential-table-head {
    display: none;
  }

  .credential-row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}
