/* The customizer's own look: plain, high contrast, visible focus, light and dark (its own accessibility: MU12) */
:root { --bg: #f6f6f4; --raised: #ffffff; --text: #1b1c1f; --muted: #50535a; --accent: #2f4fc2; --on-accent: #ffffff;
  --edge: #8a8d94; --focus: #2f4fc2; --bad: #a11d1d; color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #15161a; --raised: #1e2026; --text: #ecedef; --muted: #b4b7be; --accent: #9db0ff; --on-accent: #111216;
    --edge: #7b7f88; --focus: #9db0ff; --bad: #ff9a9a; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.5 system-ui, sans-serif; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 1rem; top: 1rem; background: var(--raised); padding: .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.top { display: flex; justify-content: space-between; align-items: center; padding: .5rem 1rem; border-bottom: 1px solid var(--edge); }
.brand { font-weight: 700; margin: 0; }
main { padding: 1rem; }
h1 { margin: 0 0 .25rem; font-size: 1.5rem; } h2 { font-size: 1.1rem; margin: 1.25rem 0 .5rem; }
.hint { color: var(--muted); font-size: .875rem; margin: .25rem 0; }
.status { min-height: 1.5rem; }
.workspace { display: grid; grid-template-columns: minmax(18rem, 26rem) 1fr; gap: 1rem; align-items: start; }
@media (max-width: 60rem) { .workspace { grid-template-columns: 1fr; } }
.panel { max-height: calc(100vh - 7rem); overflow: auto; padding-right: .5rem; }
.preview iframe { width: 100%; height: calc(100vh - 11rem); min-height: 30rem; border: 1px solid var(--edge); border-radius: .5rem; background: #fff; }
fieldset { border: 1px solid var(--edge); border-radius: .5rem; margin: 0 0 1rem; padding: .75rem; background: var(--raised); }
legend { font-weight: 700; padding: 0 .25rem; }
label { display: block; font-weight: 600; margin-top: .5rem; } label.check { display: flex; gap: .5rem; align-items: center; font-weight: 400; }
input, select, button { font: inherit; color: inherit; }
input[type=number], input[type=text], select { width: 100%; min-height: 2.5rem; padding: .25rem .5rem; border: 1px solid var(--edge); border-radius: .375rem; background: var(--bg); }
input[type=color] { width: 3rem; height: 2.5rem; padding: .125rem; border: 1px solid var(--edge); border-radius: .375rem; background: var(--bg); }
.colours { width: 100%; border-collapse: collapse; font-size: .875rem; }
.colours th, .colours td { padding: .125rem .25rem; text-align: start; border-bottom: 1px solid var(--edge); }
.toolbar { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0; }
button { min-height: 2.5rem; padding: 0 1rem; border: 1px solid var(--edge); border-radius: 999px; background: var(--raised); cursor: pointer; }
button.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
button.quiet, button.link { border: 0; background: none; padding: 0 .25rem; min-height: 0; text-decoration: underline; color: var(--accent); }
button[aria-pressed=true] { background: var(--accent); color: var(--on-accent); }
button:disabled { color: var(--muted); cursor: not-allowed; }
.report li { margin: .25rem 0; } #contrast li { color: var(--bad); }
.mark { font-size: .75rem; font-weight: 700; border: 1px solid var(--edge); border-radius: 999px; padding: 0 .5rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
form.inline { display: inline; }
