/* Entrance lives outside the investment workspace. */
body.entry-active { overflow: hidden; }
body.entry-active dialog { visibility: hidden; pointer-events: none; }
.entry-screen { position: fixed; inset: 0; z-index: 20000; background: #fff; color: #282a2d; font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif; }
.entry-screen[hidden], .entry-stage[hidden] { display: none !important; }
.entry-stage { position: absolute; inset: 0; }
.entry-video-stage { background: #111315; }
.entry-video { width: 100%; height: 100%; object-fit: contain; display: block; }
.entry-video-bar { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; gap: 12px; padding: 25px 32px; background: linear-gradient(transparent, #0009); }
.entry-video-bar button { background: #202225b8; border: 1px solid #ffffff59; color: white; border-radius: 999px; padding: 12px 20px; backdrop-filter: blur(10px); cursor: pointer; }
.entry-video-bar button:hover { background: #3b3d40db; border-color: #fff9; }
.entry-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); padding: 15px 25px; border-radius: 999px; background: white; border: 0; color: #282a2d; }
.entry-login-stage { display: grid; place-items: center; padding: 24px; overflow-y: auto; background: #fff; }
.entry-card { width: min(100%, 440px); padding: 42px; border: 1px solid #eee8df; border-radius: 22px; background: white; box-shadow: 0 20px 65px #382b1d0d; }
.entry-logo { display: block; margin: 0 0 15px; color: #282a2d; font-size: 57px; font-weight: 650; line-height: 1; letter-spacing: -3.6px; }
.entry-kicker { margin: 0 0 34px; font-size: 10px; font-weight: 600; letter-spacing: 2px; color: #89603d; }
.entry-card h1 { margin: 0 0 9px; font-size: 27px; letter-spacing: -.7px; font-weight: 600; }
.entry-card p.entry-subtitle { margin: 0 0 29px; font-size: 14px; line-height: 1.6; color: #77716a; }
.entry-form { display: grid; gap: 18px; }
.entry-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 500; color: #514c46; }
.entry-form input { width: 100%; min-width: 0; box-sizing: border-box; padding: 13px 14px; border: 1px solid #ddd6cc; border-radius: 8px; background: #fdfcfa; color: #282a2d; font: inherit; font-size: 16px; }
.entry-submit { width: 100%; padding: 14px; margin-top: 4px; border: 1px solid #89603d; border-radius: 8px; background: #89603d; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.entry-submit:hover:not(:disabled) { background: #775133; box-shadow: 0 4px 12px #89603d26; }
.entry-submit:disabled { opacity: .65; cursor: wait; }
.entry-error { color: #983b32; font-size: 13px; line-height: 1.5; margin: 0; }
.entry-screen :where(button,input):focus-visible { outline: 2px solid #a97d50; outline-offset: 4px; }
.entry-screen :where(button,input) { transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.entry-form input:hover { border-color: #bca88f; }
.entry-form input:focus { border-color: #89603d; box-shadow: 0 0 0 3px #89603d14; outline-offset: 2px; }
.entry-phrase-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; text-align: center; background: #fff; }
.entry-phrase { max-width: 1060px; margin: auto 0; font-size: clamp(34px, 5.1vw, 78px); font-weight: 500; line-height: 1.15; letter-spacing: -.045em; text-wrap: balance; animation: entry-rise 850ms ease both; }
.entry-phrase em { font-style: normal; color: #89603d; }
.entry-phrase-brand { color: #89603d; font-size: 22px; letter-spacing: -1px; font-weight: 600; margin-top: 30px; }
.entry-status { min-height: 22px; margin: 0; font-size: 13px; color: #77716a; }
.entry-retry { margin: 12px 0; }
.entry-screen.is-leaving { opacity: 0; transition: opacity 650ms ease; pointer-events: none; }
.app-shell.entry-hub-reveal { animation: entry-hub 650ms ease both; }
.entry-logout { font-size: 12px; padding: 9px 12px; white-space: nowrap; }
@keyframes entry-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes entry-hub { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:560px) { .entry-card { padding: 30px 24px; } .entry-logo { font-size: 50px; } .entry-video-bar { padding: 18px 14px; } .entry-video-bar button { padding: 10px 13px; font-size: 12px; } .entry-phrase-stage { padding: 28px; } }
@media(prefers-reduced-motion:reduce) { .entry-screen *, .app-shell.entry-hub-reveal { animation: none !important; transition: none !important; } }
