html, body { margin: 0; }
body { font-family: 'Poppins', system-ui, -apple-system, sans-serif; color: var(--text); font-size: 14px;
  background: radial-gradient(1000px 520px at 85% -10%, var(--blue), transparent), linear-gradient(160deg, var(--navy), var(--slate)); min-height: 100vh; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.stage { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.brand-mark { background: var(--navy); border-radius: 12px; padding: 14px 18px; display: inline-block; }
.brand-mark img { height: 30px; display: block; }
.brand-mark b { color: #fff; letter-spacing: 3px; }
h1 { margin: 6px 0 0; font-size: 24px; color: var(--navy); }

.panel-card { width: 100%; max-width: 380px; background: #fff; border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.panel-card p { margin: 0 0 6px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 500; color: var(--muted); }
input { font: inherit; padding: 9px 12px; border: 1px solid #d5dae1; border-radius: 10px; background: #fff; color: var(--text); }
input:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.btn { font: inherit; font-weight: 500; border: 0; border-radius: 10px; padding: 10px 18px; cursor: pointer; }
.btn.primary { background: var(--teal); color: #fff; }
.btn.primary:hover { background: var(--teal-dark); }
.error { color: var(--neg); min-height: 18px; font-size: 13px; }

.choose { width: 100%; max-width: 760px; background: #fff; border-radius: 22px; padding: 36px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.choose p.muted { margin: 4px 0 24px; }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.app { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--text); background: #fbfcfd; transition: transform .12s, box-shadow .12s, border-color .12s; }
.app:hover, .app:focus-visible { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 10px 28px rgba(0,188,212,.18); outline: none; }
.app h2 { margin: 6px 0 0; font-size: 17px; color: var(--navy); }
.app p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; flex: 1; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--teal); display: grid; place-items: center; }
.ico.alt { background: var(--purple); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.go { color: var(--teal-dark); font-weight: 600; font-size: 13px; }
.link { margin-top: 22px; background: none; border: 0; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; }
