/* pass.xport.app.br: the page around the Pass card. Same tokens as xport.app.br. */
:root { --bg: #0a0a0a; --card: #151515; --line: #262626; --text: #e7e7e7; --muted: #9a9a9a; --dim: #6b6b6b; --green: #10b981; --red: #f87171; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap, footer .wrap { width: min(760px, 100% - 32px); margin-inline: auto; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.lang { font-size: 13px; color: var(--muted); text-decoration: none; border: 1px solid #333; border-radius: 999px; padding: 4px 12px; }
.lang:hover { color: var(--text); border-color: #555; }
main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 48px; padding: 48px 16px; }
footer { border-top: 1px solid var(--line); padding: 20px 0; color: var(--muted); font-size: 13px; }
footer a { color: var(--muted); }

/* what the Pass is, under the sign-in */
.about { width: min(400px, 100%); text-align: center; }
.about h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.about p { margin: 0 0 24px; font-size: 14px; color: var(--muted); }
.systems { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; text-align: left; }
.systems li { display: flex; }
.systems a { flex: 1; display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-decoration: none; }
.systems a:hover { border-color: #3a3a3a; }
.systems img { flex: none; width: 40px; height: 40px; border-radius: 9px; }
.systems span { display: grid; font-size: 12px; line-height: 1.35; color: var(--muted); }
.systems b { font-size: 14px; color: var(--text); }

/* pages that reuse the Pass card: create, forgot, done */
.xpass .xp-card h1 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; text-align: center; }
.xpass .terms { margin: 0; font-size: 12px; line-height: 1.5; color: var(--dim); }
.xpass .terms a { color: var(--muted); }

/* the Pass itself, signed in */
.pass { width: min(480px, 100%); padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.who { display: flex; align-items: center; gap: 16px; }
.who h1 { margin: 0; font-size: 22px; line-height: 1.3; }
.who p { margin: 0; }
.avatar { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #ef4444, #f59e0b 50%, #10b981); color: #140a02; font-size: 20px; font-weight: 700; }
.muted { color: var(--muted); font-size: 14px; }
.banner { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; background: #0f1f19; border: 1px solid #1d5a40; color: #7ee2b3; font-size: 14px; line-height: 1.45; }
.facts { margin: 20px 0 0; border: 1px solid var(--line); border-radius: 10px; }
.facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; text-align: right; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.facts dd a { margin-left: 8px; font-weight: 400; color: var(--green); }
.pass h2 { margin: 24px 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.pass .systems a { background: #0f0f0f; }
.pass input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #3a3a3a; border-radius: 8px; background: #0f0f0f; color: var(--text); font: inherit; font-size: 15px; }
.pass input:focus { outline: none; border-color: var(--green); }
.pass button { height: 44px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--green); color: #052e1a; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.pass button:disabled { opacity: .6; cursor: progress; }
.pass button.ghost { background: transparent; color: var(--text); border: 1px solid #3a3a3a; font-weight: 600; }
.pass button.red { background: #b91c1c; color: #fff; }
.pass #signout { width: 100%; margin-top: 24px; }
.inline { display: grid; gap: 12px; margin: 16px 0 0; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #111; }
.inline .row { display: flex; justify-content: flex-end; gap: 8px; }
.inline.danger { border-color: rgba(248, 113, 113, .35); }
.inline.danger h2 { margin: 0; font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--text); }
.inline.danger p { margin: 0; font-size: 14px; line-height: 1.5; color: #cfcfcf; }
.pass .error { margin: 0; font-size: 14px; color: var(--red); }
.quiet { margin: 16px 0 0; text-align: center; font-size: 13px; }
.quiet a { color: var(--dim); }
.quiet a:hover { color: var(--red); }
@media (max-width: 420px) { .systems { grid-template-columns: 1fr; } .facts > div { flex-direction: column; gap: 4px; } .facts dd { text-align: left; } .facts dd a { margin: 0 8px 0 0; } }
