:root {
  color-scheme: light dark;
  --background: #f4f7fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #566176;
  --border: #c9d2e2;
  --accent: #1557b0;
  --accent-text: #ffffff;
  --danger-bg: #fff0f0;
  --danger: #8b1515;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #11151d;
    --surface: #1c2330;
    --text: #f4f7fb;
    --muted: #c6cfde;
    --border: #536079;
    --accent: #8bbaff;
    --accent-text: #0a2345;
    --danger-bg: #401b1b;
    --danger: #ffd1d1;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font-family: system-ui, sans-serif; line-height: 1.5; }
.site-header { min-height: 64px; padding: 12px max(20px, calc((100% - 960px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
.brand { color: var(--text); font-size: 1.35rem; font-weight: 750; text-decoration: none; }
.shell { width: min(100% - 32px, 960px); margin: 40px auto; }
.card { max-width: 720px; padding: clamp(20px, 5vw, 40px); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 8px 30px rgb(0 0 0 / 8%); }
.narrow { max-width: 520px; margin-inline: auto; }
form { display: grid; gap: 12px; margin-block: 20px; }
label { font-weight: 650; }
input, button, select { width: 100%; min-height: 44px; border-radius: 8px; font: inherit; }
input, select { padding: 10px 12px; color: var(--text); background: var(--surface); border: 1px solid var(--border); }
button { padding: 10px 16px; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-text); font-weight: 700; cursor: pointer; }
button.secondary { background: transparent; color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.error { max-width: 720px; margin: 0 auto 20px; padding: 16px; color: var(--danger); background: var(--danger-bg); border: 1px solid currentColor; border-radius: 10px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 8px; background: var(--accent); color: var(--accent-text); font-weight: 700; text-decoration: none; }
.button.secondary { background: transparent; color: var(--text); border: 2px solid var(--accent); }
.page-heading, .actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.job-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.job-grid .card { padding: 24px; }
dl { display: grid; grid-template-columns: minmax(100px, 1fr) 2fr; gap: 8px 16px; }
dt { color: var(--muted); font-weight: 650; } dd { margin: 0; }
.check { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 8px; } .check input { width: 24px; }
.warning { padding: 14px; border-left: 4px solid #b05a00; background: color-mix(in srgb, #ffb347 18%, var(--surface)); }
.step { color: var(--muted); font-weight: 700; }
.actions { justify-content: flex-start; }.actions form { margin: 0; }.actions button, .actions .button { width: auto; }
.danger { background: #a11b1b; border-color: #a11b1b; color: white; }
@media (max-width: 540px) { .shell { width: min(100% - 20px, 960px); margin-block: 20px; } .site-header { align-items: flex-start; flex-direction: column; } }
