/* Brand-only overrides; account forms, permissions and billing stay in New API. */
@font-face{font-family:Inter;src:url('/apiluma-assets/fonts/inter-latin-wght-normal.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root:not(.dark){--primary:#087f73!important;--primary-foreground:#fff!important;--ring:#087f73!important;--sidebar-primary:#087f73!important;--sidebar-primary-foreground:#fff!important;--sidebar-accent:#e7f4f0!important;--sidebar-accent-foreground:#172b29!important;--background:#f7f9f8!important;--foreground:#172b29!important}
body{font-family:Inter,'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif}
/* Account pages share one hierarchy; console styles remain scoped above. */
.apiluma-auth-shell{min-height:100svh;height:auto;background:#f7f9f8;color:#172b29;color-scheme:light;--background:#fff;--foreground:#172b29;--muted-foreground:#62736f;--input:#cbd7d2;--border:#dde5e2;--primary:#087f73;--primary-foreground:#fff;--ring:#087f73}
.apiluma-auth-shell>a{top:24px;left:32px;gap:10px}
.apiluma-auth-shell>a img{border-radius:0;object-fit:contain}
.apiluma-auth-shell{grid-template-columns:minmax(0,1fr)}
.apiluma-auth-canvas,.apiluma-auth-frame,.apiluma-auth-card,.apiluma-auth-providers,.apiluma-auth-providers>div{min-width:0}
.apiluma-auth-canvas{width:100%;max-width:none;margin:0;padding:144px 32px 40px;min-height:100dvh;align-items:flex-start;justify-content:center}
.apiluma-auth-frame{width:440px;max-width:100%;padding:0;margin:0}
.apiluma-auth-card{background:#fff;border:1px solid #dde5e2;border-radius:16px;padding:32px;box-shadow:0 8px 24px rgba(23,43,41,.04)}
.apiluma-auth-header{margin:0 0 24px!important;text-align:left}
.apiluma-auth-header h2{font-size:28px;line-height:36px;letter-spacing:-.6px;text-align:left;font-weight:600;margin:0}
.apiluma-auth-header>p:not(.apiluma-auth-description){display:none}
.apiluma-auth-description{margin:8px 0 0!important;font-size:14px;line-height:1.6;color:#62736f}
.apiluma-auth-card form{gap:16px;margin:0!important}
.apiluma-auth-card [data-slot="form-label"]{font-size:14px;line-height:20px;color:#172b29}
.apiluma-auth-card input:not([type="checkbox"]):not([type="radio"]){height:48px;border-radius:8px;padding:12px 14px;background:#fff;border-color:#b8c8c1;font-size:16px;line-height:24px;color:#172b29}
.apiluma-auth-card input[name="password"],.apiluma-auth-card input[name="confirmPassword"]{padding-right:48px!important}
.apiluma-auth-card input::placeholder{color:#7d8b85;opacity:1}
.apiluma-auth-card input[aria-invalid="true"]{border-color:var(--destructive,#b42318)}
.apiluma-auth-card button[type="submit"]{height:48px;min-height:48px;border-radius:8px;margin-top:8px;font-size:15px;font-weight:600;background:#087f73;color:#fff}
.apiluma-auth-card button[type="submit"] .lucide-log-in{display:none}
.apiluma-auth-card button[type="submit"]:hover{background:#06675d}
.apiluma-auth-card .apiluma-password-toggle{width:44px;height:44px;right:2px;color:#62736f}
.apiluma-auth-card .apiluma-password-toggle svg{width:20px;height:20px}
.apiluma-auth-card a[href="/forgot-password"]{font-size:13px;line-height:20px;padding:4px 0 4px 8px;top:-4px;color:#087f73}
.apiluma-auth-providers{margin:0!important;padding:0!important;display:flex;flex-direction:column;gap:0}
.apiluma-auth-providers>*{margin:0!important}
.apiluma-auth-card .apiluma-google-button{height:48px;border:1px solid #747775;border-radius:8px;background:#fff;color:#1f1f1f;font-size:14px;font-weight:500;gap:10px;padding:0 12px;box-shadow:none}
.apiluma-google-button::before{content:"";display:block;width:20px;height:20px;flex:0 0 20px;background:url('/apiluma-assets/google-g.png') center/contain no-repeat}
.apiluma-auth-card .apiluma-google-button:hover{background:#f8faf9;border-color:#5c625f}
.apiluma-google-hint{margin:8px 0 0!important;font-size:13px;line-height:20px;color:#62736f;text-align:left}
.apiluma-google-hint[hidden]{display:none}
.apiluma-auth-divider{margin:24px 0 8px!important;color:#62736f}
.apiluma-auth-divider span.bg-background{background:#fff;font-size:12px;padding:0 12px;color:#62736f;letter-spacing:0;text-transform:none}
.apiluma-auth-divider span.border-t{border-color:#e1e8e4}
.apiluma-auth-switch{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;padding-top:0;margin:14px 0 0!important;font-size:14px;color:#62736f;line-height:24px}
.apiluma-auth-switch a{display:inline-flex;align-items:center;min-height:44px;color:#087f73;font-weight:600;text-decoration:none}
.apiluma-auth-switch a:hover,.apiluma-auth-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.apiluma-auth-reset-hint{font-size:13px;line-height:20px;color:#62736f;margin:12px 0 0!important;text-align:left}
.apiluma-password-hint{font-size:13px;line-height:20px;color:#62736f;margin:0}
.apiluma-auth-error{margin:0;padding:10px 12px;color:#a12d25;background:#fff4f2;border:1px solid #f2cbc5;border-radius:8px;font-size:13px;line-height:20px;overflow-wrap:anywhere}
.apiluma-auth-footer{display:flex;justify-content:center;align-items:center;gap:24px;margin:10px 0 0!important;font-size:12px;color:#62736f}
.apiluma-auth-footer a{display:inline-flex;align-items:center;min-height:44px}
.apiluma-auth-shell a:focus-visible{outline:2px solid #087f73;outline-offset:4px;border-radius:3px}
@media(max-width:640px){.apiluma-auth-shell>a{left:16px;top:16px}.apiluma-auth-canvas{padding:88px 16px 24px}.apiluma-auth-card{padding:24px 20px}.apiluma-auth-header h2{font-size:26px;line-height:34px}}
@media(prefers-reduced-motion:reduce){.apiluma-auth-shell *{scroll-behavior:auto!important;transition:none!important}}
