body { --panel-space: 1rem; font-family: "Schibsted Grotesk", system-ui, sans-serif; }
.brand img { content: url("/brand/palia-logo.svg"); }
@media (prefers-color-scheme: dark) { .brand img { content: url("/brand/palia-logo-negative.svg"); } }
.header-row nav, .status-bar, .form-inline { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.status-bar { padding-block: 1rem; }
.status-bar #indicator { flex: 1; }
.control-grid, .settings-grid, .metrics, .diff { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.control-card, .metric { background: var(--surface, Canvas); border: 1px solid var(--line, GrayText); border-radius: var(--radius, .8rem); padding: 1.15rem; margin-bottom: 1rem; }
.control-card { scroll-margin-top: 1rem; }
.control-card h3 { margin-block: .9rem .35rem; }
.control-card p + p { margin-top: .45rem; }
.control-card form, #advanced { display: grid; gap: .7rem; margin-top: .75rem; }
label { display: grid; gap: .28rem; font-weight: 600; }
label.check { display: flex; align-items: center; gap: .55rem; min-height: 2.75rem; font-weight: 450; }
input, select, textarea, button { font: inherit; }
input:not([type=checkbox]), select, textarea, button { min-height: 2.75rem; color: var(--text, CanvasText); background: var(--surface, Canvas); border: 1px solid var(--control-border, GrayText); border-radius: .5rem; padding: .42rem .65rem; max-width: 100%; }
input[type=checkbox] { width: 1.1rem; height: 1.1rem; flex: none; accent-color: var(--link); }
button.primary { background: var(--hero-action, #c5f0e4); color: var(--hero-ink, #143d39); justify-self: start; font-weight: 700; }
button:disabled { opacity: .62; cursor: default; }
.status-message { padding: .75rem; background: var(--surface-selected, Canvas); border-radius: .5rem; }
.detail-header .eyebrow { margin: 0 0 .25rem; }
.metric strong, #schedule strong { display:block; }
.metric span, .muted { color: var(--muted, GrayText); font-size: .9rem; }
.detail-row { padding: .65rem 0; border-bottom: 1px solid var(--line, GrayText); }
.detail-row summary { min-height: 2.75rem; cursor: pointer; font-weight: 660; padding: .45rem .2rem; }
.diff > div { padding: .75rem; border: 1px solid var(--line, GrayText); border-radius: .5rem; }
.diff pre, pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.diff del { background: light-dark(#fbe4e3, #512822); color: var(--text); }
.diff ins { background: var(--surface-selected); color: var(--text); }
fieldset { min-width: 0; border: 1px solid var(--line, GrayText); border-radius: .5rem; padding: .5rem .75rem; }
code { overflow-wrap: anywhere; }
ul { padding-inline-start: 1.2rem; }
.wordy { max-width: 80ch; }
@media (max-width: 35em) { .header-row { align-items: start; flex-direction: column; padding-block: .35rem; } }
.control-card, .control-grid > *, .settings-grid > *, .metrics > *, .diff > *, form, label, details { min-width: 0; }
label > :is(select, textarea, input:not([type=checkbox])) { width: 100%; min-width: 0; }
.form-inline input { flex: 1 1 14rem; min-width: 0; }
