.cookbook-shell {
width: min(1180px, 100%);
margin: 0 auto;
padding: 20px 16px 32px;
display: grid;
grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
gap: 18px;
}
.cookbook-rail {
border-right: 1px solid #2c3640;
padding-right: 14px;
min-height: calc(100vh - 96px);
}
.search-label {
display: block;
color: var(--muted);
font-size: 0.85rem;
margin-bottom: 6px;
}
#cookbook-search {
width: 100%;
min-height: 38px;
border: 1px solid #40505e;
border-radius: 6px;
background: #0d1117;
color: var(--fg);
padding: 8px 10px;
}
.cookbook-tree {
margin-top: 14px;
display: flex;
flex-direction: column;
gap: 12px;
}
.book-title,
.chapter-title {
margin: 0;
color: var(--muted);
font-size: 0.85rem;
font-weight: 700;
}
.chapter-title {
margin-top: 8px;
color: #c7d0da;
}
.recipe-list {
list-style: none;
padding: 0;
margin: 6px 0 0;
display: flex;
flex-direction: column;
gap: 4px;
}
.recipe-button {
width: 100%;
min-height: 34px;
border: 1px solid transparent;
border-radius: 6px;
background: transparent;
color: var(--fg);
text-align: left;
padding: 7px 9px;
cursor: pointer;
}
.recipe-button:hover,
.recipe-button.selected {
border-color: #4aa3ff;
background: #17212c;
}
.recipe-pane {
min-width: 0;
}
.recipe-pane h1 {
margin: 0 0 10px;
font-size: 1.6rem;
}
.purpose {
color: #d9e2ec;
max-width: 76ch;
}
.purpose h2 {
font-size: 1.05rem;
margin: 0 0 8px;
}
.purpose p {
margin: 0 0 10px;
}
.recipe-actions {
display: flex;
gap: 8px;
margin: 14px 0 10px;
flex-wrap: wrap;
}
.recipe-actions button {
min-height: 36px;
border: 1px solid #40505e;
border-radius: 6px;
background: #16202a;
color: var(--fg);
padding: 7px 12px;
cursor: pointer;
}
.recipe-actions button:hover {
border-color: var(--accent);
}
.setup-block {
margin: 0;
padding: 12px;
border: 1px solid #2c3640;
border-radius: 6px;
background: #0d1117;
overflow-x: auto;
}
.results-panel {
margin-top: 12px;
padding: 10px 12px;
border: 1px solid #2c3640;
border-radius: 6px;
background: #121922;
}
.result-row {
margin: 4px 0;
}
.pass {
color: #7ee787;
font-weight: 700;
}
.fail {
color: #ff938a;
font-weight: 700;
}
.recipe-footer {
margin-top: 14px;
border-top: 1px solid #2c3640;
padding-top: 10px;
}
.recipe-footer button {
border: 0;
background: transparent;
color: var(--accent);
padding: 0;
cursor: pointer;
}
.empty-state {
color: var(--muted);
margin: 0;
}
@media (max-width: 760px) {
.cookbook-shell {
grid-template-columns: 1fr;
}
.cookbook-rail {
min-height: auto;
border-right: 0;
border-bottom: 1px solid #2c3640;
padding-right: 0;
padding-bottom: 14px;
}
}