.guide-panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: var(--nebula-spacing-lg);
  background: var(--nebula-color-overlay);
}

.guide-panel-overlay[hidden] {
  display: none !important;
}

.guide-panel-sheet {
  width: min(560px, 94vw);
  max-height: min(80vh, 640px);
  display: flex;
  flex-direction: column;
  gap: var(--nebula-spacing-md);
}

.guide-panel-sheet-head {
  margin: 0;
}

.guide-panel-sheet-title {
  margin: 0 0 var(--nebula-spacing-xs);
}

.guide-panel-sheet-desc {
  margin: 0;
}

.guide-panel-sheet-body {
  flex: 1;
  min-height: 120px;
}

.guide-panel-search-input {
  width: 100%;
  min-height: 52px;
  padding: 0 var(--nebula-spacing-md);
  border-radius: var(--nebula-radius-md);
  border: 1px solid var(--nebula-color-border-mid);
  background: var(--nebula-color-panel-alt);
  color: var(--nebula-color-text);
  font-size: 18px;
}

.guide-panel-search-input:focus {
  outline: 2px solid var(--nebula-color-accent);
  outline-offset: 2px;
}

.guide-panel-hint {
  margin-top: var(--nebula-spacing-md);
}

.guide-panel-placeholder-card {
  padding: var(--nebula-spacing-lg);
  border-radius: var(--nebula-radius-md);
  border: 1px solid var(--nebula-color-border);
  background: var(--nebula-color-panel-alt);
}

.guide-panel-placeholder-title {
  margin: 0 0 var(--nebula-spacing-sm);
  font-size: 18px;
  font-weight: 700;
}

.guide-panel-placeholder-note {
  margin: var(--nebula-spacing-md) 0 0;
  font-size: 12px;
  color: var(--nebula-color-muted);
}

.guide-panel-close {
  align-self: flex-end;
  min-height: 48px;
  padding: 0 var(--nebula-spacing-lg);
  border: none;
  border-radius: var(--nebula-radius-pill);
  background: var(--nebula-color-panel-alt);
  color: var(--nebula-color-text);
  font-weight: 600;
  cursor: pointer;
}

.guide-panel-close.is-focused {
  border: 2px solid var(--nebula-color-accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
