/* Admin surface only. Reuses base.css tokens and components; nothing here is loaded by the public pages. No literal colours -- everything comes from the :root custom properties. */ .admin-table td, .admin-table th { vertical-align: top; } .admin-table select, .admin-table input, .admin-table textarea { font: inherit; font-size: .8rem; color: var(--fg); background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .25rem .45rem; width: 100%; min-width: 6rem; } .admin-table textarea { resize: vertical; } .admin-table select:focus-visible, .admin-table input:focus-visible, .admin-table textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; } .admin-table .admin-del, .admin-table .admin-del input { width: auto; min-width: 0; text-align: center; } .admin-save { cursor: pointer; font-size: .8rem; padding: .4rem .9rem; } /* Progressive enhancement: the Add button is only useful with admin.js, so it stays hidden until that script adds .has-js to . The checkbox is always visible without JS. */ .js-only { display: none; } .has-js .js-only { display: inline-flex; } .admin-actions { display: flex; gap: .5rem; align-items: center; margin-top: .75rem; } .row-remove { cursor: pointer; } .notice-error, .notice pre { margin: .35rem 0 0; white-space: pre-wrap; font: inherit; }