.layout-container {
  display: flex;
  min-height: calc(100vh - 110px);
  margin-top: 110px;
}

.panel {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  max-height: calc(100vh - 110px);
}

.navigation-panel {
  background-color: var(--color-surface);
  border-right: 1px solid var(--color-border);
}

.details-panel {
  background-color: var(--color-surface-alt);
  padding-bottom: 0;
}

.layout-container.has-filters {
  margin-top: 145px;
  min-height: calc(100vh - 145px);
}

.has-filters .panel {
  max-height: calc(100vh - 145px);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .layout-container {
    flex-direction: column;
    margin-top: 8rem;
  }

  .panel {
    padding: 1rem;
    max-height: none;
  }

  .navigation-panel {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .layout-container.has-filters {
    margin-top: 10.5rem;
  }

  .mobile-hidden {
    display: none !important;
  }

  .kbd-overlay {
    display: none !important;
  }
}

/* Keyboard shortcut guide */
.kbd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kbd-guide {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kbd-guide h2 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-heading);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border-light);
}

.kbd-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kbd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.kbd-row dt {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}

.kbd-row dd {
  color: var(--color-text-body);
  font-size: 0.85rem;
}

kbd {
  display: inline-block;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 0.1rem 0.45rem;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--color-secondary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  min-width: 1.5em;
  text-align: center;
}
