:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17231e;
  background: #edf1ee;
  font-synthesis: none;
  --green: #0e4a37;
  --green-soft: #e7f2ec;
  --line: #d8e0db;
  --muted: #68756e;
  --red: #a12b37;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input { font: inherit; }
.boot { min-height: 100vh; display: grid; place-items: center; }
.boot-mark, .login-mark { display: grid; place-items: center; background: var(--green); color: white; font-weight: 850; }
.boot-mark { width: 42px; height: 42px; border-radius: 12px; animation: pulse 1.1s ease-in-out infinite alternate; }
@keyframes pulse { to { transform: scale(.93); opacity: .68; } }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 292px minmax(0, 1fr); background: #f6f8f6; }
.login-intro { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; padding: 34px 32px; background: #0b3f2f; color: #fff; }
.login-intro::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, transparent 6%, #000 75%); }
.login-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 780; letter-spacing: -.025em; }
.login-mark { width: 34px; height: 34px; border-radius: 9px; background: #fff; color: var(--green); }
.login-intro-copy { position: relative; z-index: 1; margin-top: auto; padding-bottom: 30px; }
.login-intro-copy > span, .login-kicker { font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.login-intro-copy > span { color: #a9d2bf; }
.login-intro-copy h2 { margin: 12px 0 8px; font-size: 25px; line-height: 1.12; letter-spacing: -.035em; }
.login-intro-copy p { margin: 0; color: #b9d1c5; font-size: 13px; line-height: 1.55; }
.login-intro > small { position: relative; z-index: 1; color: #93b7a6; font-size: 10px; }
.login-panel { display: grid; align-content: center; justify-items: center; padding: 56px; }
.login-card { width: min(408px, 100%); }
.login-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--green); }
.login-kicker svg { width: 15px; height: 15px; }
.login-card h1 { margin: 0 0 10px; font-size: 36px; line-height: 1.08; letter-spacing: -.045em; }
.login-card > p { max-width: 380px; margin: 0 0 32px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.login-help { width: min(408px, 100%); margin: 22px 0 0; color: #7b8780; font-size: 11px; text-align: center; }
.workspace-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.workspace-picker button { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: inherit; text-align: left; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.workspace-picker button strong { font-size: 14px; }
.workspace-picker button span { color: var(--muted); font-size: 11px; }
.workspace-picker button:hover { border-color: #93aa9e; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(16,50,35,.06); }
.workspace-picker button:focus-visible { outline: 3px solid rgba(14,74,55,.14); outline-offset: 2px; }
.login-card label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 650; }
.login-card input { width: 100%; padding: 12px; border: 1px solid #cbd4ce; border-radius: 10px; outline: none; }
.login-card input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(14,74,55,.1); }
.sign-in { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; padding: 0 17px; border: 0; border-radius: 9px; background: var(--green); color: #fff; font-size: 13px; font-weight: 750; cursor: pointer; transition: background .16s ease, transform .16s ease, box-shadow .16s ease; }
.sign-in svg { width: 17px; height: 17px; }
.sign-in:hover { background: #0a3d2d; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(14,74,55,.18); }
.sign-in:focus-visible { outline: 3px solid rgba(14,74,55,.18); outline-offset: 3px; }
.sign-in:disabled { opacity: .6; cursor: wait; }
.login-meta { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 16px; color: #7b8780; font-size: 10px; }
.login-meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2c9169; box-shadow: 0 0 0 3px #e5f2eb; }
.login-error { min-height: 18px; margin: 12px 0 0; color: var(--red); font-size: 12px; text-align: center; }
@media (max-width: 840px) {
  .login-shell { grid-template-columns: 1fr; grid-template-rows: 88px minmax(0, 1fr); background: #fff; }
  .login-intro { min-height: 88px; padding: 26px 28px; }
  .login-intro-copy, .login-intro > small { display: none; }
  .login-panel { align-content: start; padding: 64px 24px 40px; }
}
@media (max-width: 520px) {
  .login-panel { padding: 52px 22px 32px; }
  .login-card h1 { font-size: 32px; }
  .workspace-picker { grid-template-columns: 1fr; }
}
