/* Standalone branded pages (login, errors). Tokens match clinixa-devops/design/assets/clinixa.css */
:root { --primary: #0f9d8a; --primary-600: #0b8574; --bg: #f5f7f9; --surface: #fff; --border: #e3e8ec; --text: #0f1d24; --text-2: #50606a; --text-3: #7d8b93; --danger: #dc2626; }
@media (prefers-color-scheme: dark) { :root { --bg: #0d1418; --surface: #141d22; --border: #26343b; --text: #e8eef1; --text-2: #a7b4bb; } }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; font-weight: 600; }
.clx-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); }
.clx-hero { background: linear-gradient(150deg, var(--primary) 0%, #0b6f63 55%, #164e63 100%); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.clx-hero h1 { font-size: 34px; line-height: 1.15; margin: 0 0 12px; max-width: 460px; letter-spacing: -.02em; }
.clx-hero p { opacity: .85; max-width: 420px; font-size: 15px; }
.clx-hero ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; font-size: 14.5px; }
.clx-hero li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: rgb(255 255 255 / 18%); font-size: 12px; }
.clx-brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 18px; }
.clx-brand img { width: 36px; height: 36px; border-radius: 10px; }
.clx-panel { background: var(--surface); display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.clx-panel h2 { font-size: 22px; margin: 0 0 4px; }
.clx-sub { color: var(--text-2); margin: 0 0 24px; }
.clx-field { margin-bottom: 14px; }
.clx-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.clx-input { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: 15px; background: var(--surface); color: var(--text); }
.clx-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgb(15 157 138 / 18%); }
.clx-btn { width: 100%; padding: 12px; border: 0; border-radius: 8px; background: var(--primary); color: #fff; font: inherit; font-weight: 650; font-size: 15px; cursor: pointer; }
.clx-btn:hover { background: var(--primary-600); }
.clx-btn[disabled] { opacity: .65; cursor: progress; }
.clx-row { display: flex; justify-content: space-between; align-items: center; margin: -4px 0 18px; font-size: 13px; }
.clx-msg { min-height: 20px; margin-top: 12px; font-size: 13.5px; }
.clx-msg.err { color: var(--danger); }
.clx-msg.ok { color: var(--primary); }
.clx-foot { margin-top: 28px; color: var(--text-3); font-size: 12.5px; }
.clx-center { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.clx-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 36px; max-width: 460px; width: 100%; text-align: center; box-shadow: 0 2px 10px rgb(15 29 36 / 6%); }
.clx-card .code { font-size: 56px; font-weight: 800; color: var(--primary); letter-spacing: -.03em; line-height: 1; }
.clx-card h1 { font-size: 20px; margin: 12px 0 6px; }
.clx-card .clx-brand { justify-content: center; margin-bottom: 24px; }
.clx-card .clx-btn { display: inline-block; width: auto; padding: 10px 18px; margin-top: 18px; }
.clx-card .clx-btn:hover { color: #fff; }
[hidden] { display: none !important; }
@media (max-width: 860px) { .clx-page { grid-template-columns: 1fr; } .clx-hero { display: none; } .clx-panel { padding: 32px 24px; } }
