/* Sign-in / sign-up: same enamel language as the public site. Loaded after auth-ux.css. */
body.auth-shell { --edge: var(--ink-deep); --btn-tomato: #c93216; background: var(--bg-primary); }
body.auth-shell > header { border-bottom: 1px solid var(--line); background: var(--bg-primary); }
body.auth-shell .logo { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; font-stretch: 90%; color: var(--text-primary); }
body.auth-shell > header nav a { border-radius: 999px; font-weight: 600; }
body.auth-shell > header nav a.active, body.auth-shell > header nav a[aria-current="page"] { background: var(--ink-deep); color: #fff; outline: none; }
body.auth-shell .header-chat-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--btn-tomato); color: #fff; font-weight: 700; text-decoration: none; box-shadow: var(--lift); }
.auth-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--lift-2); }
.auth-title { font-family: var(--font-display); font-weight: 800; font-stretch: 94%; letter-spacing: -.03em; color: var(--text-primary); }
.auth-label { font-weight: 700; color: var(--text-primary); }
.auth-input { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.auth-input:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
.auth-submit { border: 1px solid var(--line); border-radius: 12px; background: var(--btn-tomato); color: #fff; font-weight: 800; box-shadow: var(--lift); transition: transform .18s var(--ease-spring), box-shadow .18s; }
.auth-submit:hover { background: #b22a10; transform: translateY(-1px); box-shadow: var(--lift-2); }
.auth-submit:active { transform: translateY(1px); box-shadow: none; }
.auth-submit--secondary { background: #fff; color: var(--text-primary); }
.auth-submit--secondary:hover { background: var(--saffron-soft); }
.auth-card a { color: var(--text-primary); font-weight: 700; text-underline-offset: 3px; text-decoration-color: var(--tomato); }
.auth-alert { border: 1px solid var(--line); border-radius: 12px; }
body.auth-shell .site-footer { background: var(--ink-deep); color: #e8f0ee; border-top: 0; }
body.auth-shell .site-footer a, body.auth-shell .site-footer span { color: #e8f0ee; }
body.auth-shell .site-footer-group > span { color: var(--saffron); font-weight: 700; }
body.auth-shell .footer-copyright, body.auth-shell .footer-credit, body.auth-shell .footer-credit a { color: #a9bcb8; }
body.auth-shell .site-footer-bottom { border-color: rgba(255,255,255,.14); }
body.auth-shell .site-footer { padding: 2.5rem 0 1.25rem; margin-top: 3rem; }
body.auth-shell .site-footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
body.auth-shell .site-footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
body.auth-shell .site-footer-group { display: grid; align-content: start; gap: .15rem; }
body.auth-shell .site-footer-group > span { margin-bottom: .6rem; }
body.auth-shell .site-footer-group a { min-height: 34px; padding: .15rem 0; font-size: .92rem; text-decoration: none; }
body.auth-shell .site-footer-copy { font: 750 1.6rem/1.15 var(--font-display); color: #fff; max-width: 16ch; margin: 1rem 0; }
@media (max-width: 720px) { body.auth-shell .site-footer-grid { grid-template-columns: 1fr; } }

.logo img { width: 46px !important; height: 46px !important; filter: brightness(0) opacity(.88); }
.logo { font-size: 1.28rem !important; }
:root { --line: rgba(15,35,39,.16); --lift: 0 1px 2px rgba(11,27,30,.06), 0 10px 26px -14px rgba(11,27,30,.28); --lift-2: 0 2px 4px rgba(11,27,30,.08), 0 18px 34px -16px rgba(11,27,30,.34); }
