/* JobOps control-plane pages. PX baseline: keyboard-operable controls,
   always-drawn focus, reflow, non-color state meaning, dark/light/system
   themes via custom properties + prefers-color-scheme + explicit choice.
   Values speak the Lambda-Phi token language (profile.css / pi.css), light
   base with dark overrides — this file keeps its original convention. */
:root {
  color-scheme: light dark;
  --bg: #F2F0E9; --panel: #FAF8F3; --ink: #171B24; --muted: #5E6778;
  --line: #DED9CC; --accent: #2E6FE0; --accent-ink: #FBFAF6;
  --focus: #1D4FA8; --danger: #A63A28; --ok: #1E7A4C;
  font-size: 16px;
}
:root[data-theme="dark"] { --bg: #0A0E17; --panel: #111725; --ink: #EDEFF5;
  --muted: #8A93A8; --line: #232C40; --accent: #4F8DF5; --accent-ink: #05070C;
  --focus: #A9C6FF; --danger: #F0A99B; --ok: #8FE3B4; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0A0E17; --panel: #111725;
    --ink: #EDEFF5; --muted: #8A93A8; --accent: #4F8DF5; --accent-ink: #05070C;
    --line: #232C40; --focus: #A9C6FF; --danger: #F0A99B; --ok: #8FE3B4; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 1rem/1.55 'Archivo', system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: grid; place-items: start center; }
main { width: min(26rem, calc(100vw - 2rem)); margin: 12vh 0 3rem; }
h1 { font: 500 1.6rem/1.2 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  letter-spacing: 0.01em; margin: 0 0 0.25rem; }
h2 { margin: 0; font-size: 1.1rem; }
p  { margin: 0.4rem 0; }
.sub { color: var(--muted); margin-bottom: 1.6rem; }
.panel { background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.5rem; }
.panel-stacked { margin-top: 1rem; }
label { display: block; font-weight: 550; margin: 1rem 0 0.3rem; }
input { width: 100%; padding: 0.65rem 0.75rem; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font: inherit; }
button, .button { display: inline-block; width: 100%; margin-top: 1.1rem;
  padding: 0.7rem 1rem; border-radius: 8px; border: 1px solid transparent;
  background: var(--accent); color: var(--accent-ink); font: inherit;
  font-weight: 600; cursor: pointer; text-align: center;
  text-decoration: none; }
button.quiet { background: transparent; color: var(--accent);
  border-color: var(--line); font-weight: 550; }
:is(a, button, input, select):focus-visible { outline: 2px solid var(--focus);
  outline-offset: 2px; border-radius: 8px; }
.status { border: 1px solid var(--line); border-radius: 8px;
  padding: 0.75rem 0.9rem; margin: 1rem 0 0; }
.status strong { text-transform: capitalize; }
.note { color: var(--muted); font-size: 0.92rem; }
.error { color: var(--danger); font-weight: 550; }
.okmsg { color: var(--ok); font-weight: 550; }
[hidden] { display: none !important; }
fieldset { border: 0; padding: 0; margin: 1.4rem 0 0; }
legend { font-weight: 550; padding: 0; margin-bottom: 0.2rem; }
.theme { display: flex; gap: 0.5rem; margin-top: 1.4rem; }
.theme button { width: auto; flex: 1; margin-top: 0; padding: 0.45rem 0.5rem;
  background: transparent; color: var(--ink); border-color: var(--line);
  font-weight: 500; }
.theme button[aria-pressed="true"] { border-color: var(--accent);
  color: var(--accent); font-weight: 650; }
header.app { display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 1rem; gap: 1rem; flex-wrap: wrap; }
header.app button { width: auto; margin-top: 0; }

/* a text-shaped button inside a sentence (the sign-in page's browser reset) */
button.linklike { display: inline; width: auto; margin: 0; padding: 0; border: 0;
  background: none; color: var(--accent); font: inherit; font-weight: 550;
  text-decoration: underline; cursor: pointer; }
.reset-note { margin-top: 1.2rem; }
