:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
* { box-sizing: border-box; }
body { position: relative; isolation: isolate; margin: 0; min-height: 100vh; padding: 2rem 1rem; display: grid; place-items: center; overflow-x: hidden; background: linear-gradient(90deg,#081019 0%,#142230 52%,#21303d 100%); color: #f5f7f8; line-height: 1.5; }
body::before { position: fixed; z-index: 0; top: 50%; right: clamp(-24rem,-30dvh,-12rem); width: clamp(38rem,88dvh,72rem); aspect-ratio: 1509 / 2048; background: url("/assets/branding/Logo_headOnly_transparent_sides.png") center / contain no-repeat; content: ""; opacity: .28; pointer-events: none; transform: translateY(-53%); -webkit-mask-image: linear-gradient(90deg,transparent 4%,rgb(0 0 0 / 16%) 30%,rgb(0 0 0 / 72%) 65%,#000 88%); mask-image: linear-gradient(90deg,transparent 4%,rgb(0 0 0 / 16%) 30%,rgb(0 0 0 / 72%) 65%,#000 88%); }
.candidate-card { position: relative; z-index: 1; width: min(100%, 32rem); padding: clamp(1.5rem, 5vw, 2.5rem); border: 1px solid #31404d; border-radius: 1rem; background: rgb(21 30 39 / 96%); box-shadow: 0 1.25rem 3rem rgb(0 0 0 / 24%); }
.candidate-conversation-page { width: min(100%, 68rem); background: linear-gradient(rgb(21 30 39 / 90%),rgb(21 30 39 / 90%)),url("/assets/branding/Logo_headOnly_transparent_sides.png") right clamp(-8rem,-9vw,-3rem) center / clamp(24rem,48vw,38rem) auto no-repeat,#151e27; }
.language-switcher { display: flex; justify-content: flex-end; gap: .4rem; flex-wrap: wrap; }
.language-switcher button { min-height: 2.5rem; padding: .35rem .6rem; border-color: transparent; background: transparent; color: #a9b4bd; font-weight: 600; }
.language-switcher button[aria-pressed="true"] { border-color: #ef7d00; color: #f5f7f8; }
.language-switcher button:focus-visible { outline: .18rem solid #ff9d36; outline-offset: .12rem; }
.eyebrow { color: #ef7d00; font-weight: 700; }
h1 { margin: .5rem 0 1.5rem; line-height: 1.25; }
h1 small { color: #a9b4bd; font-size: .55em; font-weight: 500; }
.candidate-name { font-size: 1.25rem; font-weight: 700; overflow-wrap: anywhere; }
button { min-height: 2.75rem; padding: .65rem 1rem; border: 1px solid #ef7d00; border-radius: .65rem; background: #ef7d00; color: #0b1117; font: inherit; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
[hidden] { display: none !important; }
a { color: #ff9d36; overflow-wrap: anywhere; }
.candidate-actions { display: grid; gap: 1rem; }
label { display: block; margin-top: 1rem; }
input { display: block; width: 100%; min-width: 0; min-height: 2.75rem; padding: .65rem; border: 1px solid #546575; border-radius: .5rem; background: #0b1117; color: inherit; font: inherit; }
textarea { display: block; width: 100%; min-width: 0; resize: vertical; padding: .75rem; border: 1px solid #546575; border-radius: .65rem; background: #0b1117; color: inherit; font: inherit; line-height: 1.45; }
textarea:focus { outline: .18rem solid #ff9d36; outline-offset: .12rem; }
#recovery-turnstile { margin: 1.5rem 0; }
.recovery-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#access-message, #logout-message { min-height: 1.5em; color: #a9b4bd; }
.candidate-journey-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 1.25rem; margin-top: 1.5rem; }
.candidate-journey, .candidate-chat { display: grid; min-width: 0; gap: .7rem; padding: 1rem; border: 1px solid #31404d; border-radius: .85rem; background: #101820; }
.candidate-journey h2, .candidate-chat h2 { margin: 0; font-size: 1.15rem; }
.candidate-journey h3 { margin: .2rem 0 0; font-size: 1rem; }
.journey-loading, .journey-empty, #candidate-journey-status { margin: 0; color: #a9b4bd; }
.journey-status { justify-self: start; padding: .2rem .55rem; border-radius: 999px; background: #263746; color: #dce4e9; font-size: .78rem; font-weight: 800; }
.journey-status.ready_for_membership { background: #64410b; color: #ffe2b5; }
.journey-progress { margin: 0; font-size: 1.08rem; font-weight: 800; }
.journey-next-step { margin: 0; color: #dce4e9; }
.journey-next-visit { display: grid; gap: .15rem; padding: .8rem; border-left: .2rem solid #ef7d00; border-radius: .55rem; background: #0b1117; }
.journey-next-visit > span:first-child { color: #a9b4bd; font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.journey-next-visit > span:nth-of-type(2) { color: #ffbe78; font-size: .85rem; }
.journey-cancel-visit { justify-self: start; min-height: 2.25rem; margin-top: .45rem; padding: .4rem .65rem; font-size: .82rem; }
.journey-proposals, .journey-proposal-list { display: grid; gap: .55rem; }
.journey-proposal { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .65rem; border: 1px solid #31404d; border-radius: .65rem; background: #151e27; }
.journey-proposal.selected { border-color: #ef7d00; background: rgb(239 125 0 / 12%); box-shadow: inset .2rem 0 #ef7d00; }
.journey-proposal > div { display: grid; gap: .1rem; min-width: 0; }
.journey-proposal span { color: #a9b4bd; font-size: .8rem; }
.journey-proposal button { flex: 0 0 auto; min-height: 2.35rem; padding: .45rem .65rem; font-size: .82rem; }
.candidate-chat h2 { margin: 0; font-size: 1.15rem; }
.candidate-chat > p { margin: 0; color: #a9b4bd; }
.tryout-chat-thread { display: grid; gap: .65rem; max-height: min(28rem,55vh); padding: .8rem; overflow-y: auto; border: 1px solid #31404d; border-radius: .8rem; background: #0b1117; }
.tryout-unread-divider { display: flex; align-items: center; gap: .5rem; color: #ffb365; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.tryout-unread-divider::before, .tryout-unread-divider::after { height: 1px; flex: 1; background: #7a3f08; content: ""; }
.tryout-chat-message { display: flex; min-width: 0; }
.tryout-chat-message.is-own { justify-content: flex-end; }
.tryout-chat-message.is-other { justify-content: flex-start; }
.tryout-chat-bubble { max-width: min(82%,32rem); padding: .65rem .8rem; border-radius: 1rem; background: #263746; overflow-wrap: anywhere; }
.is-own .tryout-chat-bubble { border-bottom-right-radius: .3rem; background: #7a3f08; }
.is-other .tryout-chat-bubble { border-bottom-left-radius: .3rem; }
.tryout-chat-bubble p { margin: 0; font-size: .88rem; line-height: 1.38; white-space: pre-wrap; }
.tryout-chat-bubble time { display: block; margin-top: .3rem; color: #cad2d8; font-size: .72rem; text-align: right; }
.chat-empty { margin: 1rem; color: #a9b4bd; text-align: center; }
.candidate-message-form { display: grid; gap: .5rem; }
.candidate-message-form label { margin: 0; font-weight: 700; }
.candidate-message-form textarea { min-height: 3.4rem; max-height: 11rem; resize: none; overflow-y: hidden; }
.tryout-shortcut-help { display: block; margin: .15rem 0 0; color: #a9b4bd; font-size: .75rem; font-weight: 400; text-align: right; }
.candidate-message-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.candidate-message-actions span { color: #a9b4bd; font-size: .8rem; }
#candidate-message-status { min-height: 1.5em; margin: 0; color: #a9b4bd; }
.candidate-session-actions { display: grid; justify-items: start; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #31404d; }
.secondary-button { border-color: #546575; background: transparent; color: #f5f7f8; }
@media (max-width: 760px) { .candidate-journey-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { body { padding: 0; place-items: stretch; } .candidate-card { min-height: 100vh; border: 0; border-radius: 0; } .candidate-journey, .candidate-chat { padding: .8rem; } .journey-proposal { align-items: stretch; flex-direction: column; } .journey-proposal button { width: 100%; } .tryout-chat-bubble { max-width: 90%; } }
