:root { --brand: #0f766e; --ink: #0b1f2a; --muted: #52606d; --line: #e3e8ee; --field: #c9d2dc; --danger: #b42318; --canvas: #f5f7fa; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: var(--canvas); color: var(--ink); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
.card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 8px 24px rgba(11,31,42,.06); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; margin-bottom: 6px; }
.logo { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 9px; background: var(--brand); color: #fff; font-size: 13px; }
section { display: flex; flex-direction: column; gap: 12px; }
h1 { margin: 0; font-size: 22px; }
.tabs { display: flex; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.tabs button { flex: 1; height: 42px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--brand); color: #fff; }
.muted { color: var(--muted); margin: 0; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
input { height: 48px; border: 1px solid var(--field); border-radius: 10px; padding: 0 12px; font: inherit; }
input:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
form { display: flex; flex-direction: column; gap: 12px; }
.btn { height: 50px; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.btn-primary { background: var(--brand); color: #fff; border: 0; }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--field); }
.btn-dark { background: #000; color: #fff; border: 0; }
.btn:disabled { opacity: .6; cursor: wait; }
.sep { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--brand); cursor: pointer; align-self: flex-start; min-height: 32px; }
.legal { font-size: 12px; color: var(--muted); margin: 0; }
.legal a { color: var(--brand); font-weight: 700; }
.message { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: var(--danger); font-weight: 600; font-size: 14px; }
.message.ok { background: #e7f6ec; color: #067647; }
.choices { display: flex; flex-direction: column; gap: 8px; }
[hidden] { display: none !important; }
.pass { position: relative; display: flex; }
.pass input { flex: 1; padding-right: 72px; }
.pass .link { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); align-self: auto; }
