:root {
  color-scheme: dark;
  --bg: #061019;
  --bg-alt: #0a1823;
  --panel: rgba(10, 21, 33, 0.78);
  --panel-strong: rgba(8, 17, 26, 0.92);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f8fb;
  --muted: #97a8b9;
  --brand: #1f5683;
  --brand-soft: rgba(71, 145, 208, 0.16);
  --success: #7dd3a4;
  --warning: #f7cc7a;
  --danger: #f2a5a5;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
  --brand-glow: rgba(123, 210, 255, 0.22);
  font-family: "Segoe UI", "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(4, 10, 15, 0.55), rgba(4, 10, 15, 0.92)),
    url("/assets/myte-public-hero-landscape.webp") center center / cover fixed no-repeat;
  color: var(--text);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.page-shell {
  min-height: 100vh;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.login-card,
.panel,
.form-card,
.issued-shell {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.login-card {
  width: min(520px, 100%);
  border-radius: 28px;
  padding: 28px;
}

.login-brand {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.login-brand img,
.sidebar-brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.66rem;
  color: var(--muted);
}

.login-card h1,
.sidebar-brand h1,
.topbar h2,
.panel-title {
  margin: 0;
  letter-spacing: -0.04em;
}

.login-card h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.login-card p,
.subtle,
.panel-kicker,
.meta-text {
  color: var(--muted);
}

.login-form,
.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input {
  width: 100%;
  height: 50px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(7, 15, 24, 0.9);
  color: var(--text);
  padding: 0 16px;
  outline: none;
}

.field input:focus {
  border-color: rgba(123, 185, 236, 0.42);
  box-shadow: 0 0 0 4px rgba(65, 134, 186, 0.12);
}

.button-primary,
.button-secondary,
.button-ghost,
.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 18px;
  transition: 160ms ease;
}

.button-primary {
  background: linear-gradient(135deg, #dcecf9, #8bc6f3);
  color: #061019;
  font-weight: 700;
}

.button-primary:hover,
.action-button:hover {
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: var(--border);
}

.button-ghost,
.action-button.subtle {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.button-ghost:hover,
.button-secondary:hover,
.action-button.subtle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.flash,
.global-flash {
  min-height: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}

.flash.error,
.global-flash.error {
  color: var(--danger);
}

.flash.success,
.global-flash.success {
  color: var(--success);
}

.app-shell {
  --sidebar-width: 324px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  align-items: start;
  position: relative;
}

.app-shell.sidebar-collapsed {
  --sidebar-width: 136px;
}

.sidebar-floating-toggle,
.sidebar-backdrop {
  display: none;
}

.sidebar {
  position: sticky;
  top: 18px;
  min-height: calc(100vh - 36px);
  max-height: calc(100vh - 36px);
  border: 1px solid rgba(154, 212, 250, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(7, 15, 24, 0.97), rgba(11, 23, 35, 0.9)),
    radial-gradient(circle at top, rgba(129, 201, 255, 0.11), transparent 44%);
  backdrop-filter: blur(24px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
}

.sidebar-top {
  display: grid;
  gap: 14px;
}

.sidebar-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.sidebar-brand-copy {
  min-width: 0;
}

.session-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  padding: 18px;
  display: grid;
  gap: 8px;
}

.sidebar-toggle,
.sidebar-floating-toggle {
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(157, 216, 255, 0.16);
  background: linear-gradient(135deg, rgba(31, 86, 131, 0.26), rgba(255, 255, 255, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 20px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  color: var(--text);
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}

.sidebar-toggle {
  display: inline-flex;
}

.sidebar-floating-toggle {
  display: none;
}

.sidebar-toggle:hover,
.sidebar-floating-toggle:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(31, 86, 131, 0.34), rgba(255, 255, 255, 0.12));
}

.sidebar-toggle-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #dff3ff, #87d1ff);
  box-shadow: 0 0 0 6px rgba(123, 210, 255, 0.14);
}

.view-switcher {
  display: grid;
  gap: 12px;
}

.sidebar-section-head {
  display: grid;
  gap: 5px;
}

.nav-list {
  display: grid;
  gap: 10px;
}

.nav-button {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.028);
  color: var(--text);
  padding: 12px;
  text-align: left;
  min-width: 0;
}

.nav-button:hover,
.nav-button.active {
  border-color: rgba(141, 206, 247, 0.2);
  background: linear-gradient(135deg, rgba(31, 86, 131, 0.22), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-icon-shell {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at center, rgba(122, 208, 255, 0.16), rgba(8, 16, 24, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nav-icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.nav-label {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-detail {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.sidebar-action {
  width: 100%;
}

.app-shell.sidebar-collapsed .sidebar {
  align-items: stretch;
}

.app-shell.sidebar-collapsed .sidebar-top {
  justify-items: center;
}

.app-shell.sidebar-collapsed .sidebar-brand {
  justify-content: center;
}

.app-shell.sidebar-collapsed .sidebar-brand-copy,
.app-shell.sidebar-collapsed .session-card,
.app-shell.sidebar-collapsed .sidebar-section-head,
.app-shell.sidebar-collapsed .nav-copy {
  display: none;
}

.app-shell.sidebar-collapsed .sidebar-toggle {
  width: 100%;
  justify-content: center;
}

.app-shell.sidebar-collapsed .nav-button {
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 12px 10px;
}

.app-shell.sidebar-collapsed .nav-icon-shell {
  width: 58px;
  height: 58px;
}

.app-shell.sidebar-collapsed .sidebar-action {
  min-height: 40px;
  padding: 0 10px;
  font-size: 0.83rem;
}

.main-shell {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.topbar {
  border-radius: 28px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.topbar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.segmented {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  gap: 6px;
}

.segmented button {
  min-width: 62px;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 14px;
}

.segmented button.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.global-flash {
  padding: 0 4px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.stats-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 16px;
}

.stat-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(8, 17, 26, 0.84);
  padding: 18px;
}

.stat-card .label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stat-card .value {
  margin-top: 10px;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.layout-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.panel,
.form-card,
.issued-shell {
  border-radius: 26px;
  padding: 22px;
  min-width: 0;
}

.analytics-matrix,
.analytics-live,
.analytics-routes,
.analytics-shapes,
.analytics-keys,
.analytics-users,
.analytics-projects,
.overview-runtime,
.overview-model,
.overview-system,
.overview-queue,
.provider-hero,
.provider-runtime,
.provider-openai,
.feedback-table,
.keys-table,
.keys-create,
.keys-issued {
  grid-column: span 12;
}

.analytics-matrix {
  grid-column: span 7;
}

.analytics-live {
  grid-column: span 5;
}

.analytics-routes,
.analytics-shapes,
.analytics-keys,
.analytics-users,
.analytics-projects {
  grid-column: span 6;
}

.overview-runtime,
.overview-model,
.overview-system,
.overview-queue,
.provider-runtime,
.provider-openai {
  grid-column: span 6;
}

.provider-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(247, 204, 122, 0.16), transparent 34%),
    radial-gradient(circle at 72% 16%, rgba(123, 210, 255, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(8, 17, 26, 0.95), rgba(12, 29, 43, 0.84));
}

.provider-orb {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 24px;
  border: 1px solid rgba(247, 204, 122, 0.36);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.95), rgba(247, 204, 122, 0.42) 18%, transparent 42%),
    linear-gradient(135deg, rgba(31, 86, 131, 0.92), rgba(5, 16, 25, 0.78));
  box-shadow: 0 0 42px rgba(247, 204, 122, 0.22), inset 0 0 28px rgba(123, 210, 255, 0.18);
}

.provider-hero-copy {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
}

.provider-hero-copy p,
.provider-connection-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.provider-recipe-grid {
  display: grid;
  gap: 14px;
}

.provider-env-block {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(247, 204, 122, 0.18);
  border-radius: 18px;
  background: rgba(3, 9, 14, 0.72);
  color: #d8eefc;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.82rem;
  line-height: 1.58;
  white-space: pre-wrap;
  overflow: auto;
}

.provider-connection-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(123, 210, 255, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(6, 16, 25, 0.72);
  padding: 16px;
}

.provider-connection-card.active {
  border-color: rgba(247, 204, 122, 0.34);
  box-shadow: inset 0 0 0 1px rgba(247, 204, 122, 0.08);
}

.provider-card-topline,
.provider-checklist {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.provider-card-topline {
  color: #b8d3ea;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.provider-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--warning);
  box-shadow: 0 0 20px rgba(247, 204, 122, 0.42);
}

.provider-card-title {
  color: #f4f9ff;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.keys-create,
.keys-issued,
.keys-table {
  grid-column: span 12;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  margin-bottom: 16px;
}

.panel-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.panel-title {
  font-size: 1.15rem;
}

.detail-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.detail-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  padding: 14px 16px;
}

.detail-card .title {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-card .value {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.45;
}

.matrix-shell,
.table-shell {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.matrix-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.matrix-table th,
.matrix-table td,
.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
  vertical-align: top;
}

.matrix-table th,
.data-table th {
  position: sticky;
  top: 0;
  background: rgba(9, 19, 28, 0.96);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.data-table td {
  font-size: 0.95rem;
  color: #d9e4ee;
}

.data-table code {
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.8rem;
  color: #b8d3ea;
}

.feedback-comment-cell {
  min-width: 320px;
  white-space: pre-wrap;
  line-height: 1.55;
}

.feedback-room-cell {
  min-width: 260px;
  color: var(--muted);
  line-height: 1.5;
}

.feedback-stage {
  display: grid;
  gap: 18px;
}

.feedback-stage-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 2px 0;
}

.feedback-stage-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #eef7ff;
}

.feedback-stage-copy {
  margin: 8px 0 0;
  max-width: 54rem;
  color: var(--muted);
  line-height: 1.65;
}

.feedback-stage-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
}

.feedback-stage-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #d6e9f6;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feedback-card-list {
  display: grid;
  gap: 14px;
}

.feedback-card {
  border: 1px solid rgba(151, 201, 233, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(118, 191, 228, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(8, 17, 26, 0.98), rgba(6, 13, 21, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 22px 52px rgba(0, 0, 0, 0.16);
  padding: 20px;
}

.feedback-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.feedback-card-grid {
  margin-top: 16px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.feedback-card-panel {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 18px;
}

.feedback-card-label {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.feedback-card-value {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #eef7ff;
}

.feedback-card-signal-shell {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.feedback-signal-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feedback-signal-pill.up {
  color: var(--success);
  border-color: rgba(125, 211, 164, 0.28);
  background: rgba(125, 211, 164, 0.08);
}

.feedback-signal-pill.down {
  color: var(--danger);
  border-color: rgba(242, 165, 165, 0.28);
  background: rgba(242, 165, 165, 0.08);
}

.feedback-signal-pill.comment {
  color: #d4e8f6;
  border-color: rgba(160, 206, 234, 0.22);
  background: rgba(160, 206, 234, 0.08);
}

.feedback-card-room,
.feedback-card-comment {
  margin-top: 10px;
  line-height: 1.7;
}

.feedback-card-room {
  color: #d4e5f2;
}

.feedback-card-comment {
  white-space: pre-wrap;
  color: #f1f6fb;
}

.heat-cell {
  border-radius: 14px;
  text-align: center;
  font-weight: 700;
  min-width: 68px;
}

.heat-cell[data-level="0"] { background: rgba(255, 255, 255, 0.03); color: var(--muted); }
.heat-cell[data-level="1"] { background: rgba(31, 86, 131, 0.22); }
.heat-cell[data-level="2"] { background: rgba(31, 86, 131, 0.35); }
.heat-cell[data-level="3"] { background: rgba(31, 86, 131, 0.52); }
.heat-cell[data-level="4"] { background: rgba(105, 182, 240, 0.58); color: #041118; }

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border);
}

.status-pill.active,
.status-pill.ready,
.status-pill.success {
  color: var(--success);
  border-color: rgba(125, 211, 164, 0.25);
  background: rgba(125, 211, 164, 0.08);
}

.status-pill.disabled,
.status-pill.warning {
  color: var(--warning);
  border-color: rgba(247, 204, 122, 0.26);
  background: rgba(247, 204, 122, 0.08);
}

.status-pill.revoked,
.status-pill.archived,
.status-pill.error {
  color: var(--danger);
  border-color: rgba(242, 165, 165, 0.26);
  background: rgba(242, 165, 165, 0.08);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.action-button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--border);
}

.issued-secret {
  margin-top: 12px;
  border-radius: 18px;
  background: rgba(3, 11, 18, 0.92);
  border: 1px solid var(--border);
  padding: 16px;
  font-family: Consolas, "SFMono-Regular", monospace;
  overflow-wrap: anywhere;
}

.issued-meta {
  margin-top: 12px;
  color: var(--muted);
}

.empty-state {
  border: 1px dashed var(--border-strong);
  border-radius: 18px;
  padding: 18px;
  color: var(--muted);
}

.feedback-empty-state {
  border: 1px solid rgba(120, 169, 198, 0.16);
  border-radius: 24px;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(119, 190, 227, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(8, 17, 26, 0.96), rgba(5, 11, 18, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.feedback-empty-hero {
  display: flex;
  align-items: start;
  gap: 16px;
}

.feedback-empty-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(120, 169, 198, 0.22);
  background: linear-gradient(180deg, rgba(129, 198, 233, 0.18), rgba(129, 198, 233, 0.06));
  color: #d9f3ff;
  font-size: 1.15rem;
  font-weight: 700;
}

.feedback-empty-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #eef7ff;
}

.feedback-empty-copy {
  margin: 8px 0 0;
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.65;
}

.feedback-empty-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.feedback-empty-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  color: #d4e7f4;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feedback-empty-note {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  color: #b6cad8;
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .analytics-matrix,
  .analytics-live,
  .analytics-routes,
  .analytics-shapes,
  .analytics-keys,
  .analytics-users,
  .analytics-projects,
  .overview-runtime,
  .overview-model,
  .overview-system,
  .overview-queue,
  .provider-runtime,
  .provider-openai {
    grid-column: span 12;
  }

  .provider-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .feedback-stage-head,
  .feedback-card-top {
    flex-direction: column;
  }

  .feedback-stage-chips,
  .feedback-card-signal-shell {
    justify-content: start;
    justify-items: start;
  }

  .feedback-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .sidebar-floating-toggle {
    position: fixed;
    left: 12px;
    top: 12px;
    z-index: 40;
    display: inline-flex;
  }

  .sidebar-floating-toggle img {
    width: 24px;
    height: 24px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px;
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    border: 0;
    background: rgba(3, 10, 16, 0.62);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
  }

  .app-shell.sidebar-mobile-open .sidebar-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar {
    position: fixed;
    left: 12px;
    top: 12px;
    bottom: 12px;
    width: min(324px, calc(100vw - 24px));
    min-height: auto;
    max-height: none;
    transform: translateX(calc(-100% - 24px));
    transition: transform 220ms ease;
    z-index: 35;
  }

  .app-shell.sidebar-mobile-open .sidebar {
    transform: translateX(0);
  }

  .sidebar-toggle {
    display: none;
  }

  .main-shell {
    padding-top: 72px;
  }
}

@media (max-width: 760px) {
  .login-shell,
  .app-shell {
    padding: 12px;
  }

  .topbar,
  .panel,
  .form-card,
  .issued-shell,
  .sidebar,
  .login-card {
    border-radius: 22px;
  }

  .topbar {
    padding: 18px;
    flex-direction: column;
    align-items: start;
  }

  .stats-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .nav-button {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .nav-icon-shell {
    width: 50px;
    height: 50px;
  }
}
