/* Auth/modal values from frozen review-candidate-v1/app/styles.css.
   Rem equivalents preserve approved sizing while supporting enlarged default text. */
:root { color-scheme: dark; --gold: #e4b777; --ink: #f5e8d7; --terracotta: #d29379; font-family: Inter, system-ui, -apple-system, sans-serif; }
* { box-sizing: border-box; }
html { background: #070c0e; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; color: var(--ink); background: radial-gradient(ellipse at 50% 0, #33271b, #0b1011 59%, #060909); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
:focus-visible { outline: 2px solid #f7d18a; outline-offset: 2px; }
h1, h2, p { margin-top: 0; }
[hidden] { display: none !important; }
.phone { width: 100%; max-width: 430px; height: 100svh; position: relative; isolation: isolate; overflow: hidden; background: #070e0f url('/assets/ochre-valley-ledger-horizon.png') center/cover no-repeat; }
.phone::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(to bottom, #02050666, #02050629 40%, #020506e8 100%); }
.phone::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 29px #0008; pointer-events: none; z-index: 20; }
.brand-center { position: absolute; z-index: 2; top: 10.1%; left: 0; right: 0; text-align: center; }
.brand-title { margin: 0; font: 700 4.0625rem/1.5 Amita, serif; color: #e7b56b; text-shadow: 0 2px 14px #000; }
.brand-center p { margin: -4px 0 0; color: #f8cd82; font-size: .9375rem; }
.brand-ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; opacity: .94; }
.brand-ornament::before, .brand-ornament::after { content: ''; width: 33px; height: 1px; background: linear-gradient(to right, transparent, #d9a452); }
.brand-ornament::after { transform: rotate(180deg); }
.brand-ornament span { font-size: .9375rem; color: #e8b75e; }
.auth-card { position: absolute; left: 22px; right: 22px; bottom: 65px; background: #081012e8; border: 1px solid #ad864d; border-radius: 18px; padding: 21px 20px; backdrop-filter: blur(12px); }
.auth-card h2 { font-size: 1.1875rem; text-align: center; margin: 1px 0 18px; }
.auth-card .field { margin-bottom: 12px; }
.auth-card .gold-button { margin: 5px 0; }
.password-control { position: relative; }
.field .password-control input { padding-right: 52px; }
.password-toggle { position: absolute; right: 5px; top: 0; height: 44px; min-width: 44px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #d9ba8c; }
.password-toggle svg { width: 18px; height: 18px; }
.text-button { border: 0; background: none; color: #f2c484; padding: 7px 2px; font-size: .6875rem; display: block; margin: 10px auto 0; }
.modal-shade { position: absolute; z-index: 18; inset: 32px 0 0; background: #000b; display: grid; place-items: center; padding: 16px; }
.modal { width: 100%; max-height: min(75svh, 100%); overflow: auto; background: linear-gradient(#1b292a, #0b1517); border: 1px solid #b68a54; border-radius: 18px; padding: 18px; box-shadow: 0 22px 60px #000d; }
.micro { font-size: .5625rem; color: #d7b888; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.modal h1 { margin: 6px 0 8px; font-size: 1.1875rem; }
.modal p { color: #d6baa0; font-size: .6875rem; line-height: 1.6; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field { display: grid; gap: 6px; margin-bottom: 13px; }
.field label { font-size: .6875rem; font-weight: 600; color: #ead6bd; }
.field input { width: 100%; min-width: 0; min-height: 44px; background: #101a1b; color: #f6e8d6; border: 1px solid #866b47; border-radius: 9px; padding: 10px 11px; font-size: .75rem; }
.field input:focus { border-color: #eac189; }
.field input:disabled { color: #b09c82; background: #182223; }
.gold-button { width: 100%; min-height: 49px; background: linear-gradient(#f3ce8b, #ce9246); color: #27190b; border: 1px solid #ffda94; border-radius: 11px; font-weight: 700; font-size: .8125rem; }
.outline-button { min-height: 39px; border: 1px solid #b8925f; border-radius: 10px; background: #243032; color: #f0d4aa; padding: 8px 13px; font-size: .6875rem; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
#error { color: var(--terracotta); }
#error:empty { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 600px) { .phone { height: min(932px, calc(100svh - 52px)); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
