:root {
  --ink: #252728;
  --muted: #6e7376;
  --line: #d8d6d1;
  --line-strong: #c5c1ba;
  --paper: #f7f7f5;
  --panel: #ffffff;
  --hero: #626463;
  --accent: #2e7767;
  --accent-dark: #215c50;
  --accent-soft: #e5f0ec;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; min-height: 100vh; background: var(--paper); }
.login-shell { min-height: 100vh; display: grid; grid-template-rows: 65px minmax(0, 1fr); }
.login-header {
  display: flex; align-items: center; gap: 10px; padding: 9px 22px;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.035);
}
.login-brand-mark { width: 38px; height: 38px; display: inline-flex; flex: 0 0 38px; }
.login-brand-mark svg { display: block; width: 100%; height: 100%; }
.elegant-tree-ring { fill: transparent; stroke: #2e7767; stroke-width: 2.2; }
.elegant-tree-trunk, .elegant-tree-roots { fill: none; stroke: #465b53; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.elegant-tree-crown circle { fill: #e5f0ec; stroke: #2e7767; stroke-width: 1.4; }
.login-brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.login-brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.login-brand-copy small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.login-stage {
  min-height: 0; display: grid; place-items: center; padding: 32px 20px;
  background: linear-gradient(180deg, #f7f7f5 0%, #eeefec 100%);
}
.login-card {
  width: min(410px, 100%); background: #fff; border: 1px solid var(--line);
  border-radius: 11px; padding: 34px; box-shadow: 0 15px 42px rgba(31,38,36,.12);
}
.login-card-logo { width: 66px; height: 66px; display: block; margin: 0 auto 16px; }
.login-card-logo svg { width: 100%; height: 100%; display: block; }
.login-card h1 { margin: 0; text-align: center; font-family: Georgia, "Times New Roman", serif; font-size: 31px; }
.subtitle { color: var(--muted); margin: 8px auto 24px; line-height: 1.42; text-align: center; max-width: 310px; }
label { display: block; margin-top: 15px; color: var(--ink); font-size: 13px; font-weight: 750; }
input { width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
input:focus { outline: 3px solid rgba(46,119,103,.18); border-color: var(--accent); }
button { width: 100%; margin-top: 22px; padding: 12px 14px; border: 1px solid var(--accent-dark); border-radius: 8px; background: var(--accent); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
button:hover { background: var(--accent-dark); }
.note { margin: 19px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.error { padding: 10px 12px; border-radius: 8px; background: #f7e8e7; border: 1px solid #e5c8c5; color: #8a3333; font-size: 13px; }
@media (max-width: 520px) { .login-header { padding-inline: 15px; } .login-stage { padding: 20px 14px; } .login-card { padding: 27px 21px; } }
