:root { --ink: #e8eeec; --muted: #b7c4c0; --line: rgba(255,255,255,.14); }
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Candara, sans-serif;
  color: var(--ink);
}
.stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}
.card {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0,0,0,.4);
}
.aside, .pane { padding: 36px 32px; }
.aside { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 460px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.02em; }
.mark {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: Georgia, serif; font-size: 22px; color: #fff;
}
.aside h1, .pane h2 {
  font-family: Palatino, Georgia, serif;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 18px 0 10px;
}
.aside h1 { font-size: clamp(32px, 4vw, 44px); max-width: 12ch; }
.aside p { margin: 0; color: var(--muted); line-height: 1.5; max-width: 28ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: .04em;
}
.pane h2 { font-size: 32px; margin-top: 0; }
.muted { margin: 0; color: var(--muted); line-height: 1.45; }
.field {
  display: flex; align-items: center; gap: 10px;
  height: 48px; margin-top: 14px; padding: 0 12px;
  border-radius: 14px; overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
}
.field svg, .peek svg, .captcha button svg { width: 18px; height: 18px; flex: 0 0 auto; }
.field input, .captcha input {
  flex: 1; width: auto; min-width: 0; height: 100%; border: 0; background: transparent;
  color: #fff; font: inherit; padding: 0; outline: none;
  color-scheme: dark;
}
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field input:-webkit-autofill:active {
  -webkit-text-fill-color: #e8eeec;
  caret-color: #e8eeec;
  transition: background-color 9999s ease-out 0s;
}
.field input::placeholder, .captcha input::placeholder { color: #9aaba6; }
.peek {
  width: 32px; height: 32px; padding: 0; border: 0; background: transparent;
  color: inherit; display: grid; place-items: center; cursor: pointer;
}
.captcha { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.captcha img {
  width: 152px; height: 48px; object-fit: contain; object-position: center;
  border-radius: 14px; border: 1px solid var(--line); background: #f4f7f6; flex: 0 0 auto;
}
.captcha button {
  width: 48px; height: 48px; flex: 0 0 48px; margin: 0; padding: 0; border-radius: 14px;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.08); color: inherit; border: 1px solid var(--line);
}
.captcha input {
  flex: 1; min-width: 0;
  height: 48px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,.06); padding: 0 12px;
  letter-spacing: .16em; text-transform: uppercase;
}
.captcha button:hover, .peek:hover { color: #fff; }
button[type="submit"] {
  width: 100%; min-height: 50px; margin-top: 18px; border: 0; border-radius: 14px;
  font: inherit; font-weight: 700; cursor: pointer;
}
.banner { border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-top: 14px; }
.banner { background: rgba(159,18,57,.18); color: #fecdd3; }
.banner.ok { background: rgba(4,120,87,.2); color: #a7f3d0; }
.banner.warn { background: rgba(124,74,3,.22); color: #fde68a; }
.fine { margin: 16px 0 0; text-align: center; color: #8ea09b; font-size: 12px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

body.agency {
  background:
    radial-gradient(540px 320px at 12% 8%, rgba(14,143,130,.45), transparent 60%),
    radial-gradient(480px 280px at 90% 100%, rgba(232,201,138,.16), transparent 55%),
    #071614;
}
body.agency .card { background: rgba(7, 22, 20, .72); backdrop-filter: blur(16px); }
body.agency .aside { background: linear-gradient(180deg, rgba(14,143,130,.22), rgba(7,22,20,.2)); }
body.agency .mark { background: #0e8f82; }
body.agency .aside h1 em { font-style: normal; color: #e8c98a; }
body.agency button[type="submit"] { background: #0e8f82; color: #fff; }
body.agency button[type="submit"]:hover { background: #0b756b; }
body.agency .field { background: #16302c; }
body.agency .field:focus-within, body.agency .captcha input:focus { border-color: #0e8f82; }
body.agency .field input:-webkit-autofill,
body.agency .field input:-webkit-autofill:hover,
body.agency .field input:-webkit-autofill:focus,
body.agency .field input:-webkit-autofill:active {
  box-shadow: 0 0 0 1000px #16302c inset;
  -webkit-box-shadow: 0 0 0 1000px #16302c inset;
}

body.operator {
  background:
    radial-gradient(520px 300px at 88% 0%, rgba(232,201,138,.28), transparent 58%),
    radial-gradient(460px 280px at 0% 100%, rgba(70,88,120,.35), transparent 60%),
    #10131a;
}
body.operator .card { grid-template-columns: 1.08fr .92fr; background: rgba(16, 19, 26, .78); backdrop-filter: blur(16px); }
body.operator .aside { order: 2; background: linear-gradient(200deg, rgba(232,201,138,.16), rgba(16,19,26,.1)); }
body.operator .mark { background: #c6a15a; color: #1a1408; }
body.operator .aside h1 em { font-style: normal; color: #e8c98a; }
body.operator button[type="submit"] { background: #e8c98a; color: #1a1408; }
body.operator button[type="submit"]:hover { background: #f3ddb0; }
body.operator .field { background: #1b212b; }
body.operator .field:focus-within, body.operator .captcha input:focus { border-color: #e8c98a; }
body.operator .field input:-webkit-autofill,
body.operator .field input:-webkit-autofill:hover,
body.operator .field input:-webkit-autofill:focus,
body.operator .field input:-webkit-autofill:active {
  box-shadow: 0 0 0 1000px #1b212b inset;
  -webkit-box-shadow: 0 0 0 1000px #1b212b inset;
}

@media (max-width: 800px) {
  .card, body.operator .card { grid-template-columns: 1fr; }
  .aside, body.operator .aside { order: 0; min-height: 0; padding: 24px 22px 8px; }
  .pane { padding: 8px 22px 24px; }
  .aside h1 { font-size: 32px; }
  .captcha { flex-wrap: wrap; }
  .captcha input { flex: 1 1 140px; }
}
