/* Production layer: sign in, account menu, full viewport app, real slip image. Uses the app's own tokens. */
.proto.prod { position: fixed; inset: 0; display: block; background: var(--paper); }
.prod-screen { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.pbar, .win-bar, .phone-top, .present-ctrl, .proto-row, .proto-btn, .proto-tag, .dev-sizer > .dev > .win-bar { display: none !important; }

.auth { min-height: 100dvh; display: grid; place-items: center; padding: 24px max(16px, env(safe-area-inset-left, 0px)); background: var(--paper); color: var(--ink); font-family: var(--f-ui); }
.auth-card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px 24px; box-shadow: var(--shadow); }
.auth-card.wide { max-width: 560px; }
.auth-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.auth-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font: 700 18px/28px var(--f-ui); text-decoration: none; margin-bottom: 16px; }
.auth-top .auth-brand { margin-bottom: 0; }
.auth-card .lp-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--leaf); color: var(--leaf-ink); font-weight: 700; }
.auth h1 { margin: 0 0 8px; font: 700 24px/32px var(--f-display); text-wrap: balance; }
.auth-sub { margin: 0 0 16px; color: var(--ink-2); font-size: 16px; line-height: 24px; text-wrap: pretty; }
.auth-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 16px 0; background: var(--paper-2); border-radius: 12px; }
.auth-seg button { min-height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font: 600 14px var(--f-ui); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.auth-seg button.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.auth form { display: grid; gap: 4px; margin-top: 16px; }
.auth label { margin-top: 8px; font: 600 14px/20px var(--f-ui); color: var(--ink-2); }
.auth input { min-height: 48px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--card-2); color: var(--ink); font: 400 16px var(--f-ui); }
.auth input:focus-visible, .auth-seg button:focus-visible, .auth-go:focus-visible, .auth-switch button:focus-visible, .acct-btn:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }
.auth input[aria-invalid="true"] { border-color: var(--chili); }
.auth-err { min-height: 24px; margin: 8px 0 0; color: var(--chili); font-size: 14px; line-height: 20px; }
.auth-go { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--leaf); color: var(--leaf-ink); font: 600 16px var(--f-ui); text-decoration: none; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
.auth-go:hover { background: var(--leaf-hover); }
.auth-go:active { transform: scale(.98); }
.auth-go:disabled { opacity: .6; cursor: progress; }
.auth-fine, .auth-switch { margin: 16px 0 0; color: var(--ink-3); font-size: 14px; line-height: 20px; text-wrap: pretty; }
.auth-fine a { color: var(--leaf); font-weight: 600; }
.auth-switch button { border: 0; background: none; color: var(--leaf); font: 600 14px var(--f-ui); cursor: pointer; padding: 4px; }
.vh-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.vh-list button { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-2); color: var(--ink); font: 600 16px var(--f-ui); text-align: left; cursor: pointer; }
.vh-list small { color: var(--ink-3); font-weight: 500; }
.vh-form { margin-top: 24px; }

.acct { position: relative; }
.acct-btn { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 40px; padding: 4px 8px; border: 0; border-radius: 12px; background: transparent; color: inherit; font: 600 14px var(--f-ui); cursor: pointer; text-align: left; }
.acct-btn:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.acct-btn .avatar { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9999px; background: var(--leaf); color: var(--leaf-ink); font-weight: 700; }
.acct-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-pop { position: absolute; z-index: 40; bottom: calc(100% + 8px); left: 0; min-width: 240px; padding: 12px; display: grid; gap: 4px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); color: var(--ink); box-shadow: var(--shadow-lg); }
.auth-top .acct-pop { bottom: auto; top: calc(100% + 8px); left: auto; right: 0; }
.acct-id { margin: 0; color: var(--ink-3); font-size: 12px; line-height: 16px; overflow-wrap: anywhere; }
.acct-cr { margin: 0 0 4px; font-size: 14px; }
.acct-link, .acct-out { display: block; padding: 8px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 500 14px var(--f-ui); text-align: left; text-decoration: none; cursor: pointer; }
.acct-link:hover, .acct-out:hover { background: var(--paper-2); }
.acct-out { color: var(--chili); }

.slip-real { display: grid; place-items: center; min-height: 160px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-2); }
.slip-real img { display: block; max-width: 100%; max-height: 420px; border-radius: 8px; }

.ven-right .acct-btn { min-height: 36px; width: auto; }
.ven-right .acct-pop { bottom: auto; top: calc(100% + 8px); left: auto; right: 0; }
.ven-right .acct-name { max-width: 120px; }
@container app (max-width: 520px) { .ven-right .acct-name { display: none; } }
.org-side .acct-btn { color: var(--shell-ink, #F2F2EE); }


.ven-scroll { overflow-x: hidden; }

