.dashboard-shell {
  display: grid;
  gap: 48px;
}

.debug-toolbar {
  display: grid;
  gap: 16px;
  width: 1049px;
  margin: 0 0 32px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(64, 64, 64, 0.18);
}

.debug-toolbar-copy {
  display: grid;
  gap: 4px;
}

.debug-toolbar-copy strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--color-text);
}

.debug-toolbar-copy span {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.2px;
  color: #6c6c6c;
}

.debug-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.debug-toolbar-button {
  min-width: 0;
  padding: 8px 16px;
  height: 36px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.panel-table {
  overflow: hidden;
  background: transparent;
  padding: 0;
}

.table-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  align-items: center;
  margin-bottom: 48px;
  padding: 0;
  width: 1049px;
}

.search-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 330px;
  min-width: 330px;
  height: 40px;
  padding: 10px 22px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--color-border);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--color-text);
}

.search-field input::placeholder {
  color: var(--color-placeholder);
}

.search-icon {
  color: var(--color-placeholder);
}

.logs-stack {
  display: grid;
  gap: 48px;
  padding: 0;
  width: 1049px;
}

.log-panel {
  overflow: hidden;
  width: 1049px;
}

.log-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 16px;
  background: #e6e6e6;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}

.log-panel-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

.log-panel-icon {
  color: #6e6e6e;
}

.log-panel-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.log-panel-body {
  min-height: 96px;
  background: #ffffff;
  border-radius: 0 0 16px 16px;
}

.logs-page-grid {
  display: grid;
  gap: 24px;
}

.logs-page-shell {
  display: grid;
  gap: 48px;
  width: 1049px;
}

.logs-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  width: 1049px;
  margin-top: -2px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  height: 40px;
  padding: 10px 20px;
  border-radius: 20px;
  background: #e6e6e6;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1;
}

.filter-pill-admin {
  width: 178px;
}

.filter-pill-access {
  width: 120px;
}

.filter-pill.is-active {
  background: #dcdcdc;
}

.logs-search-field {
  margin-left: 0;
}

.log-reader {
  width: 1049px;
  min-height: 723px;
  overflow: hidden;
}

.log-reader-header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  background: #404040;
  color: #ffffff;
  border-radius: 16px 16px 0 0;
}

.log-reader-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

.log-reader-body {
  min-height: 679px;
  padding: 10px 16px;
  background: #ffffff;
  border-radius: 0 0 16px 16px;
}

.log-reader-content {
  margin: 0;
  white-space: pre-wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.4px;
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.page-header .page-subtitle {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.3px;
  color: #5c5c5c;
}

.settings-copy {
  max-width: 72ch;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 960px) {
  .debug-toolbar {
    width: auto;
  }

  .table-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .logs-toolbar {
    width: auto;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .logs-page-shell,
  .log-reader {
    width: auto;
  }

  .search-field {
    min-width: 0;
  }
}
