:root {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a;
  background-color: #e2e8f0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.2), transparent 48%), #e2e8f0;
  color: inherit;
}

.shell-root {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.shell-card {
  width: min(1200px, 100%);
  min-height: calc(100vh - 3rem);
  background: #ffffff;
  border-radius: 32px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
}

.shell-sidebar {
  background: #f9fafb;
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.shell-brand h1 {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: 0.2rem;
}

.shell-brand__eyebrow {
  margin: 0 0 0.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: #64748b;
}

.shell-brand__subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: #475467;
  text-transform: uppercase;
}

.shell-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #0f766e;
}

.shell-status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
}

.shell-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.shell-nav__item {
  border: none;
  background: transparent;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 0.9rem;
  text-align: left;
  border-radius: 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.shell-nav__item.is-active {
  background: linear-gradient(135deg, #0f172a, #111827);
  color: #f8fafc;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.35);
}

.shell-nav__item:not(.is-active):hover {
  background: rgba(15, 23, 42, 0.08);
}

.shell-sidebar__note {
  margin-top: auto;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.4;
}

.shell-main-section {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.shell-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.shell-header__meta {
  margin: 0;
  font-size: 0.85rem;
  color: #475467;
}

.shell-header__pill {
  font-weight: 600;
  color: #0f172a;
}

.shell-header__subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: #0f172a;
}

.shell-header__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.shell-header__actions button {
  border: 1px solid #cbd5f5;
  background: #fff;
  color: #1f2937;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.shell-header__actions button:hover {
  border-color: #0f172a;
}

.shell-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
}

.shell-main {
  margin-top: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}

.shell-main__fallback {
  margin: 0;
  font-weight: 600;
  color: #475467;
}

.shell-panel {
  background: #fff;
  border-radius: 24px;
  padding: 1.4rem 1.6rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.shell-panel h2 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
}

.shell-panel p {
  margin: 0;
  color: #475467;
}

.shell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.shell-card-callout {
  border-radius: 20px;
  padding: 1rem;
  background: #f1f5f9;
  border: 1px dashed #cbd5f5;
}

.shell-grid strong {
  font-size: 0.95rem;
}

.shell-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.shell-chip {
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  background: #f8fafc;
}

.shell-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.shell-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.shell-overlay__panel {
  width: min(480px, 90%);
  background: #fff;
  border-radius: 28px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}

.shell-overlay__panel header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.shell-overlay__subtitle {
  margin: 0.35rem 0 0;
  color: #475467;
  font-size: 0.9rem;
}

.shell-overlay__panel p {
  margin: 1rem 0;
  color: #475467;
}

.shell-overlay__panel button {
  border: none;
  background: #0f172a;
  color: #fff;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
}

@media (max-width: 900px) {
  .shell-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .shell-main-section {
    width: 100%;
  }
}
