:root {
  --forest: #123b32;
  --forest-2: #1f594b;
  --mint: #dcebe4;
  --paper: #f5f2e9;
  --card: #fffdf8;
  --ink: #17312c;
  --muted: #66756f;
  --line: #d8ddd7;
  --amber: #b86b13;
  --amber-soft: #fff0d2;
  --red: #9d3f2d;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(72, 139, 113, .17), transparent 28rem),
    linear-gradient(145deg, #f7f4ec, #eeeee8);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.operator-shell { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 56px; }
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; }
a { color: var(--forest-2); font-size: 13px; font-weight: 750; text-decoration: none; }
a:hover { text-decoration: underline; }
.signout-link {
  width: auto;
  padding: 0;
  color: var(--forest-2);
  background: transparent;
  font-size: 13px;
}
.signout-link:hover:not(:disabled) { color: var(--forest); background: transparent; text-decoration: underline; }
.operator-card {
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid rgba(18, 59, 50, .13);
  border-radius: 24px;
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 24px 70px rgba(34, 63, 54, .12);
}
.operator-mark { display: flex; gap: 6px; margin-bottom: 24px; }
.operator-mark span { width: 9px; height: 28px; border-radius: 8px; background: var(--forest); transform: rotate(18deg); }
.operator-mark span:nth-child(2) { height: 40px; background: #3a806b; }
.operator-mark span:nth-child(3) { height: 22px; background: #d9982f; }
.eyebrow, .label { margin: 0; color: var(--forest-2); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
h1 { max-width: 590px; margin: 12px 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(35px, 7vw, 58px); line-height: .98; letter-spacing: -.035em; }
.lede { max-width: 590px; margin: 0 0 32px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.identity-row { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; }
.identity-row span { color: var(--muted); }
.job-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 24px 0; padding: 20px; border-radius: 14px; background: #f0f3ef; }
.job-card strong { display: block; margin: 8px 0 4px; font-size: 20px; }
.job-card p { margin: 0; color: var(--muted); font-size: 12px; }
.job-badge { flex: 0 0 auto; padding: 8px 10px; border-radius: 999px; background: #dfe7e2; color: var(--forest); font-size: 10px; font-weight: 900; }
.job-badge.queued, .job-badge.running { background: var(--amber-soft); color: var(--amber); }
.job-badge.failed { background: #f7dfd8; color: var(--red); }
.job-badge.succeeded { background: var(--mint); color: var(--forest); }
button {
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--forest);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
button span { margin-right: 8px; font-size: 20px; }
button:hover:not(:disabled) { background: var(--forest-2); }
button:disabled { cursor: not-allowed; opacity: .45; }
form label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; }
form input {
  width: 100%;
  margin-bottom: 12px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: white;
  font: inherit;
}
form input:focus { border-color: var(--forest-2); outline: 3px solid rgba(58, 128, 107, .15); }
.login-shell { max-width: 620px; }
.login-card h1 { font-size: clamp(38px, 8vw, 64px); }
.form-error { min-height: 20px; margin: 0 0 8px; color: var(--red); font-size: 12px; }
.safety-note { margin: 13px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
#operatorToast { position: fixed; right: 24px; bottom: 24px; max-width: 340px; padding: 13px 16px; border-radius: 10px; color: white; background: var(--forest); opacity: 0; transform: translateY(12px); transition: .2s ease; pointer-events: none; }
#operatorToast.show { opacity: 1; transform: none; }
#operatorToast.error { background: var(--red); }
@media (max-width: 600px) {
  header { margin-bottom: 24px; }
  .operator-shell { width: min(100% - 20px, 760px); padding-top: 16px; }
  .operator-card { border-radius: 18px; }
  .identity-row, .job-card { align-items: flex-start; flex-direction: column; }
}
