/* Customer portal rules on top of the console design system (ui/console.css). Only what the console does not already provide. */
.credit-pill{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 12px;border:1px solid var(--line-strong);border-radius:999px;color:var(--text);text-decoration:none;font-size:13px;background:var(--surface)}
.credit-pill:hover{border-color:var(--brand)}.credit-pill .i{color:var(--brand)}
.auth-stack{width:min(420px,100%);display:grid;gap:14px}
.auth-brand{display:flex;align-items:center;justify-content:center;gap:10px;font-weight:700;font-size:17px;color:var(--text);text-decoration:none;margin-bottom:4px}
.auth-stack .auth-card{width:100%}
.code{font:600 28px var(--font-m);letter-spacing:.4em;text-align:center}

/* compatibility for older page markup */
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px;align-items:start}
.grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px}
.card .head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.card .head h2{margin:0}
.stat>span{display:block;color:var(--muted);font-size:12.5px;font-weight:500}
.stat>b{display:block;font-size:26px;font-weight:700;letter-spacing:-.02em;margin-top:6px;line-height:1.1}
.stat.on{border-color:var(--brand)}.stat.warn>b{color:var(--warn)}
.wrap{max-width:none;padding:0}
.btn.danger{background:var(--surface);color:var(--bad);border-color:var(--line-strong)}
.inline{margin:6px 12px 0 0}

/* brand mark and generated illustrations (white backgrounds, shown on a white tile so dark mode stays tidy) */
.brand-img{width:28px;height:28px;border-radius:8px;display:block;flex:none}
.auth-brand .brand-img{width:30px;height:30px;border-radius:9px}
.auth-split{display:grid;grid-template-columns:1fr;gap:32px;align-items:center;width:min(980px,100%);justify-items:center}
.auth-art{display:none}
@media (min-width:900px){
  .auth-split{grid-template-columns:1.1fr 1fr}
  .auth-art{display:block;width:100%}
  .art-tile{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:var(--shadow-sm)}
  .art-tile img{display:block;width:100%;height:auto}
}
.art{display:block;width:100%;max-width:220px;height:auto;margin:0 auto 8px;background:#fff;border-radius:14px;padding:8px}
.art.sm{max-width:150px}
.illus{display:grid;justify-items:center;text-align:center;gap:6px;padding:10px 0 6px}
.illus h2,.illus h3{margin:0;font-size:16px}.illus p{margin:0;max-width:48ch}
.welcome{display:grid;grid-template-columns:1.25fr 1fr;gap:24px;align-items:center;background:linear-gradient(120deg,var(--brand-soft),var(--surface) 70%);border:1px solid var(--line);border-radius:var(--r-lg);padding:24px 26px;margin:0 0 18px}
.welcome h2{margin:0 0 6px;font-size:21px;letter-spacing:-.01em}.welcome p{color:var(--muted);margin:0 0 16px;max-width:52ch}
.welcome img{display:block;width:100%;height:auto;border-radius:12px;background:#fff}
@media (max-width:760px){.welcome{grid-template-columns:1fr}}

.auth-points{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:10px}
.auth-points li{position:relative;padding-left:26px;color:var(--muted);font-size:14px}
.auth-points li::before{content:"";position:absolute;left:3px;top:.45em;width:11px;height:6px;border:2px solid var(--accent);border-top:0;border-right:0;transform:rotate(-45deg)}
