.notebook {max-width: 54rem; margin-inline:auto}
.notebook-tools {display:flex;align-items:end;gap:1rem; flex-wrap:wrap; margin:1rem 0 1.5rem}
.notebook-tools[hidden] {display:none}
.notebook-tools label {flex:1 1 12rem}
.notebook-tools input,.notebook-tools select {display:block;width:100%; min-height:44px}
.notebook-results,.notebook-ref span {font-size:.9rem}
.notebook-results {margin:1.25rem 0}
.notebook-list {display:grid;gap:1rem}
.notebook-list>.button {justify-self:start}
.notebook-card {--ink-mark:#c08926;border:1px solid #d9ddce; border-inline-start:4px solid var(--ink-mark);border-radius:14px;padding:clamp(1rem,3vw,1.7rem);background:#fffef8;min-width:0;overflow-wrap:anywhere}
.notebook-card[data-color="sage"] {--ink-mark:#729671}
.notebook-card[data-color="rose"] {--ink-mark:#b76f7b}
.notebook-card[data-color="blue"] {--ink-mark:#6486ab}
.notebook-card blockquote {margin:.9rem 0;font-family:Georgia,serif;font-size:1.18rem;line-height:1.6;max-height:15rem;overflow:auto;white-space:pre-line}
.notebook-ref,.notebook-pages {display:flex;align-items:center;gap:1rem;justify-content:space-between}
.notebook-ref {color:#394f42}
.notebook-note {white-space:pre-wrap;color:#3c483e}
.notebook-pages {margin-top:1.5rem}
.library-header .top {min-height:68px;gap:12px;flex-wrap:wrap}
.library-header .brand {margin-right:auto}
.library-header .library-link {font-size:.92rem;color:inherit;min-height:44px;display:inline-flex;align-items:center}
.library-page .library-chapter {max-width:49rem;margin-inline:auto}
.library-breadcrumb {display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;margin-bottom:1.5rem;font-size:.9rem}
.library-breadcrumb a {color:inherit}
.library-page .library-tools {display:flex;gap:1rem;flex-wrap:wrap;align-items:center;margin-block:1rem 2rem}
.library-page .library-tools a {min-height:44px;display:inline-flex;align-items:center}
@media(max-width:500px){.library-header .top {gap:.65rem}.library-header .library-link {font-size:.8rem}.library-header .brand {font-size:1.25rem}}
