/* Shared owner access surfaces. Scoped away from billing and operator pages. */
.owner-auth-page { --auth-paper:#f7f4ec; --auth-panel:#fffdf8; --auth-ink:#193c2f; --auth-line:#d9ddcf; --auth-brown:#82623f; background:var(--auth-paper); color:var(--auth-ink); }
.owner-auth-page .owner-access-shell,.owner-auth-page .v4-login { width:min(100%,1040px); }
.owner-auth-page .owner-access-card,.owner-auth-page .v4-login-card { border:1px solid var(--auth-line); border-radius:16px; background:var(--auth-panel); box-shadow:0 16px 40px #193c2f0a; overflow:hidden; }
.owner-auth-page .owner-access-fields,.owner-auth-page .v4-login-fields { padding:40px; min-width:0; background:var(--auth-panel); }
.owner-auth-page .owner-access-intro { min-height:0; background-image:none; padding:40px; display:flex; flex-direction:column; justify-content:space-between; gap:32px; background:#193c2f; }
.owner-auth-page .owner-access-intro-copy { background:transparent; padding:0; }
.owner-auth-page .owner-access-intro h2,.owner-auth-page .v4-login-pitch { font-size:36px; line-height:40px; font-weight:600; letter-spacing:-.025em; max-width:16ch; }
.owner-auth-page .owner-access-description { max-width:32ch; font-size:16px; line-height:24px; }
.owner-auth-page .owner-access-fields h1,.owner-auth-page .v4-login-fields h1 { font-size:30px; line-height:36px; font-weight:600; }
.owner-auth-page .owner-step h2 { font-size:20px; line-height:28px; font-weight:600; }
.owner-auth-page .owner-access-kicker { color:#e3d2ac; font-size:12px; line-height:16px; }
.owner-auth-page .owner-access-fields :is(input,select),.owner-auth-page .v4-access input { min-height:48px; border:1px solid #b4c1b3; border-radius:8px; background:#fffdf8; font-size:16px; line-height:24px; }
.owner-auth-page :is(input,select):focus-visible { outline:2px solid #315e48; outline-offset:2px; }
.owner-auth-page .owner-steps { margin:24px 0; gap:12px; }
.owner-auth-page .owner-access-hint,.owner-auth-page .owner-access-status { font-size:14px; line-height:20px; }
.owner-auth-page .site-button { min-height:48px; border-radius:8px; font-size:16px; line-height:24px; font-weight:600; }
.owner-auth-page .site-button:hover:not(:disabled) { background:#244d3b; }
.owner-auth-page .site-button:active:not(:disabled) { transform:translateY(1px); }
.owner-auth-page .site-button:disabled { cursor:wait; }
.owner-auth-page :is(p,li) { text-wrap:pretty; }
.owner-auth-page [role=alert] { padding:12px 16px; border:1px solid #dfc7bd; border-radius:8px; background:#fff4ed; color:#823e28; }
.owner-auth-ledger { padding:24px; background:#244937; border:1px solid #54715a; border-radius:8px; }
.owner-auth-ledger p { margin:0 0 16px; color:#e3d2ac; font-size:12px; line-height:16px; letter-spacing:.08em; text-transform:uppercase; }
.owner-auth-ledger ol { list-style:none; margin:0; padding:0; display:grid; gap:16px; counter-reset:entry; }
.owner-auth-ledger li { counter-increment:entry; display:grid; grid-template-columns:24px 1fr; gap:12px; font-size:14px; line-height:20px; color:#f9f5e9; }
.owner-auth-ledger li::before { content:'0' counter(entry); color:#d9c18c; }
.owner-auth-ledger small { display:block; color:#d6e1d4; font-size:12px; line-height:16px; margin-top:4px; }
.owner-auth-note { margin:0; color:#e0e8da; font-size:14px; line-height:20px; }
.owner-auth-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 24px; margin:24px 0 0; font-size:12px; line-height:16px; color:#596958; }
.owner-auth-footer nav { display:flex; flex-wrap:wrap; gap:16px; }
.owner-auth-footer a { color:#31543f; text-underline-offset:4px; }
.owner-auth-skip { position:fixed; top:8px; left:16px; z-index:100; padding:12px 16px; background:#fffdf8; color:#193c2f; transform:translateY(-200%); }
.owner-auth-skip:focus { transform:translateY(0); }
.owner-auth-field-error { color:#823e28; display:block; font-size:14px; line-height:20px; margin-top:4px; }
.owner-auth-status { font-size:14px; line-height:20px; color:#45634e; }
.owner-auth-status:empty { display:none; }
.owner-auth-recovery .v4-access { width:min(calc(100% - 32px),560px); }
.owner-auth-recovery .v4-access article { border:1px solid var(--auth-line); background:var(--auth-panel); border-radius:16px; padding:32px; }
.owner-auth-recovery h1 { font-size:30px; line-height:36px; font-weight:600; }
.owner-auth-recovery .owner-auth-password { position:relative; display:block; }
.owner-auth-recovery .owner-auth-password input { padding-right:48px; }
.owner-auth-eye { position:absolute; right:4px; top:4px; width:40px; height:40px; display:grid; place-items:center; border:0; background:transparent; border-radius:8px; color:#31543f; cursor:pointer; }
.owner-auth-eye:hover { background:#e8eedf; }
.owner-auth-page .v4-login-intro { border-radius:0; background:#193c2f; }
@media(max-width:700px) {
 .owner-auth-page .owner-access-card,.owner-auth-page .v4-login-card { grid-template-columns:minmax(0,1fr); }
 .owner-auth-page .owner-access-fields,.owner-auth-page .v4-login-fields,.owner-auth-page .owner-access-intro { padding:24px; }
 .owner-auth-page .owner-access-intro { gap:16px; }
 .owner-auth-page .owner-access-intro h2 { font-size:24px; line-height:32px; max-width:none; }
 .owner-auth-page .owner-access-description { max-width:none; }
 .owner-auth-ledger,.owner-auth-note { display:none; }
 .owner-auth-page .v4-login-intro { display:none; }
 .owner-auth-page .owner-access-fields h1,.owner-auth-page .v4-login-fields h1 { font-size:24px; line-height:32px; }
 .owner-auth-footer { align-items:flex-start; }
}
@media(prefers-reduced-motion:reduce) { .owner-auth-page * { scroll-behavior:auto; transition:none; } }
/* Help text may expand password wrappers; keep the eye anchored to the input. */
.owner-auth-page .v4-login { width:min(calc(100% - 32px),1040px); }
.owner-auth-page .v4-login-password button { top:4px; bottom:auto; height:40px; }
.owner-auth-page .owner-access-password button { top:9px; bottom:auto; height:40px; }
.owner-auth-page .v4-login-password input[type="password"] ~ button .v4-eye-slash,
.owner-auth-page .owner-access-password input[type="password"] ~ button .owner-eye-slash { display:none; }
