/* browse-specific layout on top of shared/base.css */ html, body { height: 100%; margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: var(--font); } body { display: flex; flex-direction: column; min-height: 100vh; } #appMain { flex: 1; display: flex; flex-direction: column; min-height: 0; } /* .empty-state / .empty-state__inner live in shared/base.css. */ /* .hidden lives in shared/base.css; no per-tool override needed. */ /* Read-only banner for the YAML editor — surfaced by preview-yaml.js when the listing's `writable` bit was false. CodeMirror's readOnly mode has no built-in visual signal beyond the disabled caret, so a banner here is the explicit cue. The markdown editor doesn't need one because its read-only mount uses Toast UI's Viewer (no edit toolbar at all). */ .yaml-readonly-banner { background: rgba(220, 53, 69, 0.10); color: var(--text); border-bottom: 1px solid rgba(220, 53, 69, 0.35); padding: 0.4rem 0.7rem; font-size: 0.85rem; display: flex; align-items: center; gap: 0.4rem; }