/* The dashboard's sign-in: the console's welcome, in the dashboard's name. A soft ground with a
   blue glow at the top, the mark and a greeting; the button only once a tap is needed. */
:root {
  color-scheme: light dark;
  --bg: #f1f3f8; --text: #141b27; --muted: #5d6879; --blue: #2f6fe4; --red: #d43f3f;
  --glow: rgba(47, 111, 228, 0.14); --work: #f2a900; --on-work: #201600;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f141d; --text: #e4e9f1; --muted: #93a0b4; --blue: #4b82ec; --red: #ec6b6b; --glow: rgba(75, 130, 236, 0.24); }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; overflow-x: clip; }
body { background: var(--bg); color: var(--text); font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(130% 55% at 50% -5%, var(--glow), transparent 72%); }
main { min-height: 100vh; min-height: 100svh; max-width: 440px; margin: 0 auto; display: flex; flex-direction: column;
  justify-content: space-between; gap: 32px;
  padding: calc(env(safe-area-inset-top) + 15vh) max(16px, env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 28px) max(16px, env(safe-area-inset-left)); }
.welcome { text-align: center; animation: arrive 520ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.mark { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 26px; display: grid; place-items: center;
  background: linear-gradient(180deg, #3d7bf7, #2563eb 55%, #1d4fd8);
  box-shadow: 0 20px 48px -14px rgba(37, 99, 235, 0.8), inset 0 1px 0 #ffffff40; }
.mark svg { width: 64px; height: 64px; }
.asking .mark { animation: breathe 2.4s ease-in-out infinite; }
.title { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.hello { font-size: 17px; margin: 6px 0 0; color: var(--muted); }
.actions { display: grid; gap: 10px; animation: arrive 360ms ease-out both; }
.note { margin: 0 0 4px; color: var(--muted); font-size: 15px; text-align: center; }
button { font: inherit; font-weight: 600; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 0; width: 100%;
  background: var(--blue); color: white; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:active, button.working { background: var(--work); color: var(--on-work); }
button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.message { margin: 0; text-align: center; color: var(--red); font-size: 15px; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } }
@keyframes breathe { 50% { transform: scale(1.045); } }
@media (prefers-reduced-motion: reduce) { .welcome, .actions, .asking .mark { animation: none; } }
