:root {
  color-scheme: light;
  --navy: #091a2b;
  --blue: #1667d9;
  --blue-dark: #0d4ca5;
  --ice: #edf5ff;
  --ink: #142235;
  --muted: #66758a;
  --line: #dbe4ee;
  --white: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f5f8fc; color: var(--ink); }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.brand-panel { padding: 8vw; color: var(--white); background: radial-gradient(circle at 20% 15%, #2678e7 0, transparent 35%), linear-gradient(145deg, #0b2948, #071522 72%); display: flex; flex-direction: column; justify-content: space-between; }
.brand-mark, .mini-mark { display: grid; place-items: center; background: var(--blue); color: white; font-weight: 800; letter-spacing: .08em; }
.brand-mark { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 18px 35px #00183180; }
.brand-panel h1 { max-width: 580px; margin: .25rem 0 1rem; font-size: clamp(2.7rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.045em; }
.eyebrow { margin: 0 0 .75rem; color: #66aaff; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lead { max-width: 520px; margin: 0; color: #bcd0e5; font-size: 1.1rem; line-height: 1.65; }
.login-panel { display: grid; place-items: center; padding: 3rem; }
.card { width: min(100%, 420px); padding: 2.8rem; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 24px 70px #10294a16; }
.card h2 { margin: .1rem 0 .4rem; font-size: 2rem; letter-spacing: -.03em; }
.muted { margin: 0 0 2rem; color: var(--muted); }
.login-form { display: grid; gap: .65rem; }
.login-form label { margin-top: .65rem; font-size: .88rem; font-weight: 700; }
.login-form input { width: 100%; padding: .9rem 1rem; border: 1px solid #c8d3df; border-radius: 10px; font: inherit; outline: none; transition: .2s; }
.login-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px #1667d91a; }
.login-form button, .button-secondary { border: 0; border-radius: 10px; font: inherit; font-weight: 750; cursor: pointer; }
.login-form button { margin-top: 1.25rem; padding: .95rem; color: white; background: var(--blue); }
.login-form button:hover { background: var(--blue-dark); }
.alert { padding: .8rem 1rem; border-radius: 8px; color: #8a1c1c; background: #fff0f0; font-size: .9rem; }
.topbar { min-height: 72px; padding: 0 clamp(1.5rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; color: white; background: var(--navy); }
.topbar-brand, .user-menu { display: flex; align-items: center; gap: 1rem; font-weight: 700; }
.mini-mark { width: 38px; height: 38px; border-radius: 10px; font-size: .72rem; }
.button-secondary { padding: .65rem 1rem; color: white; background: #ffffff18; }
.dashboard { max-width: 1100px; margin: auto; padding: clamp(3rem, 8vw, 7rem) 2rem; }
.dashboard h1 { margin: .2rem 0 .7rem; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.045em; }
.dark { color: var(--muted); }
.status-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.status-card { padding: 1.4rem; display: flex; align-items: center; gap: 1rem; border: 1px solid var(--line); border-radius: 16px; background: white; }
.status-link { color: inherit; text-decoration: none; transition: .2s; }
.status-link:hover { border-color: #9bbce4; transform: translateY(-2px); }
.status-card p { margin: .25rem 0 0; color: var(--muted); }
.status-dot { width: 12px; height: 12px; flex: 0 0 auto; border-radius: 50%; background: #17a66b; box-shadow: 0 0 0 5px #17a66b1c; }
.status-dot.pending { background: #e09a27; box-shadow: 0 0 0 5px #e09a271c; }
@media (max-width: 760px) {
  .login-shell { grid-template-columns: 1fr; }
  .brand-panel { min-height: 38vh; padding: 3rem 2rem; }
  .brand-panel h1 { font-size: 2.7rem; }
  .login-panel { padding: 1.5rem; }
  .card { padding: 2rem; }
  .status-grid { grid-template-columns: 1fr; }
  .topbar-brand { font-size: 0; }
}
