/* Neutral staff layout; public component previews load their own CurbCut assets. */
:root { color-scheme: light; font-family: system-ui, sans-serif; color: #17212b; background: #fff; line-height: 1.6; }
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; color: #17212b; background: #fff; }
.navigation-editor .baseline-inline > label { max-width: 100%; min-width: 0; }
.navigation-editor input { width: 100%; min-width: 0; }
.baseline-form { grid-template-columns: minmax(0, 1fr); overflow-wrap: anywhere; }
.baseline-form > * { min-width: 0; }
.baseline-card { min-width: 0; overflow-wrap: anywhere; }
main, .admin-container { max-width: 76rem; margin-inline: auto; padding: 1.5rem; }
header, footer { padding: 1rem 1.5rem; border-block-end: 1px solid #9aa6b2; }
a { color: #124c82; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 3px; }
a, button, input, select, textarea { touch-action: manipulation; }
button, input, select, textarea { font: inherit; }
button, input, select { min-height: 44px; }
button { padding: .5rem .9rem; border: 1px solid #53616f; border-radius: .25rem; background: #edf2f6; color: #17212b; cursor: pointer; }
button:hover { background: #dce6ee; }
button[type=submit] { background: #173e60; border-color: #173e60; color: #fff; }
button[type=submit]:hover { background: #102a41; }
/* Staff controls use a fixed AA palette, independent of a public theme or a
   dark preference saved while trying a component in its isolated iframe. */
.cc-button { background: #173e60; color: #fff; border-color: #173e60; }
.cc-button:hover { background: #102a41; color: #fff; border-color: #102a41; }
.cc-button--secondary, .cc-button--quiet { background: #fff; color: #173e60; border-color: #53616f; }
.cc-button--secondary:hover, .cc-button--quiet:hover { background: #edf2f6; color: #173e60; border-color: #53616f; }
.cc-alert { background: #f4efe0; color: #17212b; border-color: #786021; }
.baseline-admin .cc-heading { color: #17212b; }
.baseline-admin :is(h1, h2, h3, h4, h5, h6) { overflow-wrap: anywhere; }
button:disabled { cursor: default; opacity: .6; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea { display: block; width: 100%; padding: .55rem; border: 1px solid #53616f; border-radius: .2rem; background: #fff; color: #17212b; }
textarea { min-height: 7rem; resize: vertical; }
input[readonly] { background: #f2f4f6 !important; }
label { display: block; font-weight: 650; }
fieldset { min-width: 0; }
legend { font-weight: 700; padding-inline: .4rem; }
:focus-visible { outline: 3px solid #7b3900; outline-offset: 3px; }
[hidden] { display: none !important; }
.admin-field { margin-block-end: 1.4rem; max-width: 48rem; }
.admin-field p { margin: .3rem 0 .5rem; }
.admin-actions { display: flex; align-items: end; gap: .75rem; flex-wrap: wrap; margin-block: 1rem; }
.admin-actions > a { display: inline-flex; align-items: center; min-height: 44px; }
.admin-actions .admin-field { margin: 0; min-width: min(18rem,100%); }
.admin-checkbox { display: flex; align-items: center; gap: .6rem; min-height: 44px; margin-block: .75rem; }
.admin-checkbox input { width: 1.3rem; height: 1.3rem; flex: none; }
.admin-error { border: 3px solid #9b1c20; padding: 1rem; margin-block: 1rem; }
.admin-error h3 { margin-block-start: 0; }
.admin-error a { color: #8a1319; }
.admin-notice { background: #f4efe0; border: 2px solid #786021; padding: 1rem; margin-block: 1rem; }
.admin-notice > a { display: inline-flex; min-height: 44px; align-items: center; margin-inline-end: 1rem; }
.editor-block { border: 1px solid #8593a0; border-radius: .3rem; padding: 1rem; margin: 1.5rem 0; scroll-margin-block: 1rem; }
.editor-list-fields { padding-inline-start: 1.5rem; }
.editor-list-fields li { margin-block: 1rem; }
.editor-list-fields button { margin-block-start: .5rem; }
.editor-table-scroll { max-width: 100%; overflow: auto; padding: .3rem; }
.editor-table-scroll table { border-collapse: collapse; min-width: 100%; }
.editor-table-scroll caption { text-align: start; font-weight: 650; }
.editor-table-scroll th, .editor-table-scroll td { padding: .4rem; border: 1px solid #8593a0; vertical-align: top; min-width: 10rem; }
.editor-table-scroll td:last-child, .editor-table-scroll th:last-child { min-width: 8rem; }
#editor-status { padding-block: .75rem; font-weight: 650; }
@media (max-width: 35rem) { main, .admin-container { padding: 1rem; } .editor-block { padding: .75rem; } .admin-actions { align-items: stretch; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
@media (forced-colors: active) { :focus-visible { outline-color: Highlight; } }
