:root {
  --panel-radius: 16px;
  --panel-radius-sm: 12px;
  --panel-border: var(--vscode-panel-border, var(--vscode-widget-border, transparent));
  --panel-muted: var(--vscode-descriptionForeground, var(--vscode-foreground));
  --panel-bg: var(--vscode-sideBar-background, var(--vscode-editor-background));
  --panel-surface: var(--vscode-editorWidget-background, var(--vscode-editor-background));
  --panel-surface-alt: var(--vscode-sideBarSectionHeader-background, var(--vscode-editor-background));
  --panel-surface-hover: var(--vscode-list-hoverBackground, var(--vscode-editor-hoverHighlightBackground, var(--vscode-editor-background)));
  --panel-accent: var(--vscode-textLink-foreground, var(--vscode-focusBorder));
  --panel-accent-strong: var(--vscode-button-background, var(--vscode-focusBorder));
  --panel-accent-foreground: var(--vscode-button-foreground, var(--vscode-editor-background));
  --panel-badge-bg: var(--vscode-badge-background, var(--vscode-button-secondaryBackground, var(--vscode-editorWidget-background)));
  --panel-badge-fg: var(--vscode-badge-foreground, var(--vscode-button-secondaryForeground, var(--vscode-foreground)));
  --panel-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

html,
body {
  min-height: 100%;
  min-width: 40px
}

body.cookbook-body {
  padding: 16px;
  background: var(--panel-bg);
  color: var(--vscode-foreground);
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button:focus-visible {
  outline: 1px solid var(--vscode-focusBorder);
  outline-offset: 2px;
}

.cookbook-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card,
.cookbook-card {
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  background: var(--panel-surface);
  box-shadow: var(--panel-shadow);
}

.hero-card {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  padding: 18px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--panel-accent);
}

.hero-card h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--vscode-foreground);
}

.hero-card p,
.section-header p,
.status-hint {
  margin: 0;
  color: var(--panel-muted);
  line-height: 1.45;
}

.section-badge {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-label,
.section-badge {
  background: var(--panel-badge-bg);
  color: var(--panel-badge-fg);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.cookbook-card {
  padding: 16px;
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-badge {
  margin-bottom: 10px;
}

.section-header h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--vscode-foreground);
}

.recipe-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recipe-list-item {
  margin: 0;
}

.recipe-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  background: var(--vscode-input-background, var(--panel-surface));
  color: var(--vscode-foreground);
  text-align: left;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.recipe-action:hover {
  cursor: pointer;
  transform: translateY(-1px);
  border-color: var(--vscode-focusBorder, var(--panel-border));
  background: var(--panel-surface-hover);
}

.recipe-label {
  font-weight: 600;
  line-height: 1.35;
}

.recipe-meta {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--panel-accent-strong);
  color: var(--panel-accent-foreground);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.recipe-action:hover .recipe-meta {
  background: var(--vscode-button-hoverBackground, var(--panel-accent-strong));
}

@media (max-width: 720px) {
  .hero-card {
    grid-template-columns: 1fr;
  }
}

