@font-face { font-family: "Lora"; src: url("/assets/Lora-55fe588b.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/assets/NunitoSans-eb88894a.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

.career-shell { height: var(--career-height, 100dvh); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.career-header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 3vw, 2rem); }
.career-header-actions { display: flex; align-items: center; gap: .35rem; }
.career-header-link { min-height: 44px; padding: .4rem .85rem; border-radius: 999px; font-size: .875rem; font-weight: 600; color: #373b32; }
.career-header-link:hover { background: #e7ebdf; }
.career-header-link:disabled { opacity: .45; cursor: default; }
.career-brand { display: inline-flex; align-items: center; gap: .6rem; font: 500 1.65rem Lora, serif; text-decoration: none; }
.career-brand img { height: 36px; width: auto; }
.career-main { flex: 1 1 0; min-height: 0; overflow: hidden; }
.career-conversation, .career-plan { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: clamp(1.3rem, 4vh, 3rem) max(1.2rem, calc((100vw - 760px) / 2)); }
.career-plan { background: #f2f0e7; }
.career-plan h2 { margin: 1rem 0 .6rem; font-size: 2rem; }
.career-welcome { padding: clamp(1rem, 4vh, 3rem) 0 1rem; max-width: 39rem; }
.career-welcome h1 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); line-height: 1.25; text-wrap: balance; letter-spacing: -.025em; margin: .85rem 0; }
.career-shell:not([data-has-messages=true]):not([data-voice-focus=true]):not([data-avatar-prototype=true]):has(#career-map[hidden]) {
  .career-main { flex: 0 1 auto; margin-top: auto; overflow-y: auto; }
  .career-conversation { height: auto; padding-top: 1rem; padding-bottom: 1.5rem; }
  .career-welcome { max-width: 38rem; margin-inline: auto; padding: 0; text-align: center; }
  .career-welcome h1 { margin: 0; }
  .career-dock { margin-bottom: auto; padding-bottom: 2rem; }
}
.career-control { font-size: .8rem; color: #596150; margin: .5rem 0; }
.career-control:has([data-control-takeover]:not([hidden])) { padding: .7rem 1rem; border: 1px solid #aebba8; border-radius: .5rem; background: #e7ebdf; color: #373b32; }
.career-more { font-size: .875rem; color: #373b32; }
.career-more summary { min-height: 44px; display: flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.career-more p { padding-bottom: .8rem; color: #596150; }
.career-dock { flex: 0 0 auto; border: 0; padding: .7rem max(.9rem, env(safe-area-inset-right)) max(.7rem, env(safe-area-inset-bottom)); --dock-base: .5rem; background: #faf6ef; }
.career-dock-inner { max-width: 720px; margin: auto; }
.career-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.career-status { font-size: .8rem; color: #596150; margin: .35rem 0; }
.career-reconnect { min-height: 44px; padding: .35rem .85rem; border: 1px solid #4e6048; border-radius: 999px; color: #373b32; font-size: .8rem; font-weight: 600; }
.career-reconnect:hover { background: #e7ebdf; }
.career-composer { display: flex; align-items: end; gap: .3rem; border: 1px solid #7b8674; border-radius: 27px; background: #fffdf8; padding: .55rem .7rem .55rem 1.1rem; }
.career-composer:focus-within { outline: 2px solid #4e6048; outline-offset: 1px; }
.career-composer textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 7rem; resize: none; outline: none; border: 0; background: transparent; padding: .65rem .5rem .65rem 0; color: #373b32; }
.career-composer textarea::placeholder { color: #596150; opacity: 1; }
.career-send { width: 44px; height: 44px; flex-shrink: 0; background: #4e6048; color: #faf6ef; border-radius: 50%; font-size: 1.5rem; }
.career-pause { min-height: 44px; padding: 0 .6rem; font-size: .8rem; }
.career-voice-row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; flex: 1; }
.career-voice-info { display: flex; align-items: center; gap: .5rem; margin-right: auto; font-size: .75rem; }
.career-voice-controls { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.career-voice-controls button { min-height: 44px; padding: .4rem .7rem; border-radius: .4rem; font-size: .8rem; }
.career-language { display: flex; gap: .5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: .95rem; min-height: 44px; color: #373b32; }
.career-language select { min-height: 44px; border: 1px solid #aebba8; border-radius: .5rem; background: #fffdf8; color: #373b32; padding: .35rem .6rem; }
.career-menu-action { display: flex; align-items: center; width: 100%; min-height: 44px; text-align: left; color: #373b32; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.career-skip { position: fixed; top: -100px; left: 1rem; z-index: 50; background: #faf6ef; padding: .8rem; }
.career-skip:focus { top: .5rem; }
.career-shell [hidden] { display: none !important; }
.career-shell[data-voice-focus=true] .career-conversation > :not(.career-welcome):not(.career-control) { display: none; }
.career-shell :is(a, button, summary, select, textarea, input):focus-visible,
.career-panel :is(a, button, summary, select, textarea, input):focus-visible { outline: 2px solid #4e6048; outline-offset: 2px; }
@media (max-width: 600px) {
  .career-header { padding: .65rem 1.1rem; }
  .career-brand { font-size: 1.35rem; }
  .career-brand img { height: 30px; }
  .career-conversation, .career-plan { padding: 1rem 1.4rem; }
  .career-welcome { padding-top: .5rem; }
  .career-welcome h1 { font-size: 1.5rem; }
  .career-dock { padding: .5rem .9rem max(.7rem, env(safe-area-inset-bottom)); }
  .career-status { font-size: .75rem; }
  .career-voice-info { flex: 1 1 auto; }
  .career-voice-controls { gap: .2rem; }
  .career-voice-controls button { padding: .3rem .4rem; }
  .career-language select { max-width: 11rem; }
}

.career-authority { flex: 0 0 auto; padding: 0 max(1.2rem, calc((100vw - 760px) / 2)); }
.career-authority .career-control { margin: .2rem 0; }
.career-control:has([data-control-status][data-quiet=true]) { margin: 0; min-height: 0; height: 0; overflow: hidden; }

/* LiveAvatar keeps its compact status display in focused mode. */
.career-shell[data-avatar-prototype=true][data-voice-focus=true]:has(#career-map[hidden]) .career-voice-info { position: absolute; top: calc(50% - 9rem); left: 50%; transform: translateX(-50%); width: min(32rem, calc(100% - 2.5rem)); flex-direction: column; gap: 1.25rem; margin: 0; text-align: center; font-size: 1rem; }
.career-shell[data-avatar-prototype=true][data-voice-focus=true]:has(#career-map[hidden]) .career-voice-info [data-app--career-session-target=avatar] { width: 3.5rem; height: 3.5rem; }
.career-shell[data-avatar-prototype=true][data-voice-focus=true]:has(#career-map[hidden]) [data-app--career-session-target=coachActivity] { font: 500 clamp(1.5rem, 4vw, 2.25rem)/1.3 Lora, serif; }
.career-shell[data-avatar-prototype=true][data-voice-focus=true]:has(#career-map[hidden]) [data-app--career-session-target=microphone] { margin-top: .5rem; }
/* A short viewport (including an on-screen keyboard) needs the compact dock. */
@media (max-height: 560px) {
  .career-shell[data-avatar-prototype=true][data-voice-focus=true]:has(#career-map[hidden]) .career-voice-info { position: static; transform: none; width: auto; flex-direction: row; gap: .5rem; margin-right: auto; text-align: left; font-size: .75rem; }
  .career-shell[data-avatar-prototype=true][data-voice-focus=true]:has(#career-map[hidden]) .career-voice-info [data-app--career-session-target=avatar] { width: .75rem; height: .75rem; }
  .career-shell[data-avatar-prototype=true][data-voice-focus=true]:has(#career-map[hidden]) [data-app--career-session-target=coachActivity] { font: inherit; }
  .career-shell[data-avatar-prototype=true][data-voice-focus=true]:has(#career-map[hidden]) [data-app--career-session-target=microphone] { margin-top: 0; }
}

/* Fixed conversation shell; only the conversation and menu scroll. */
html:has(.career-shell), body:has(.career-shell) { height: 100%; overflow: hidden; }
.career-icon { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; }
.career-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.career-icon:hover { background: #e7ebdf; }
.career-send:hover { background: #3f503a; }
.career-icon:disabled { opacity: .45; cursor: default; }
.career-dictate[aria-pressed=true] { background: #e7ebdf; box-shadow: inset 0 0 0 2px #4e6048; }
.career-dictation-waveform { display: flex; align-items: center; gap: 3px; height: 28px; padding: 0 .35rem; align-self: center; flex-shrink: 0; }
.career-dictation-waveform span { display: block; width: 3px; height: 8px; border-radius: 999px; background: #4e6048; animation: career-waveform 1.1s ease-in-out infinite; }
.career-dictation-waveform span:nth-child(2) { animation-delay: .12s; height: 14px; }
.career-dictation-waveform span:nth-child(3) { animation-delay: .24s; height: 22px; }
.career-dictation-waveform span:nth-child(4) { animation-delay: .36s; height: 16px; }
.career-dictation-waveform span:nth-child(5) { animation-delay: .48s; height: 24px; }
.career-dictation-waveform span:nth-child(6) { animation-delay: .6s; height: 14px; }
.career-dictation-waveform span:nth-child(7) { animation-delay: .72s; height: 10px; }
@keyframes career-waveform {
  0%, 100% { transform: scaleY(.45); opacity: .65; }
  50% { transform: scaleY(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .career-dictation-waveform span { animation: none; opacity: .9; }
}
.career-conversation, .career-plan, .career-panel-body, .career-composer textarea { scrollbar-width: none; }
.career-conversation::-webkit-scrollbar, .career-plan::-webkit-scrollbar, .career-panel-body::-webkit-scrollbar, .career-composer textarea::-webkit-scrollbar { display: none; }
.career-panel { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(440px, 100%); height: var(--career-height, 100dvh); max-height: var(--career-height, 100dvh); max-width: 100%; padding: 0; border: 0; border-left: 1px solid #d9ddcf; color: #373b32; background: #faf6ef; }
.career-panel[open] { display: flex; flex-direction: column; }
.career-panel::backdrop { background: #252c2545; }
.career-panel-heading { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; border-bottom: 1px solid #d9ddcf; }
.career-panel-heading h2 { font-size: 1.5rem; }
.career-panel-body { display: grid; gap: .75rem; align-content: start; overflow-y: auto; scroll-padding-block: .5rem; overscroll-behavior: contain; padding: 1.5rem; min-height: 0; }
.career-panel-navigation { display: grid; gap: .5rem; }
.career-panel-navigation button { text-align: left; padding: .8rem 0; font-size: 1.15rem; min-height: 44px; }
.career-live-controls { display: flex; gap: .4rem; align-items: center; margin-bottom: .5rem; }
.career-shell[data-voice-state=off]:not([data-paused=true]):not([data-session-started=true]) .career-live-controls,
.career-shell[data-voice-state=text] .career-voice-info { display: none; }
.career-shell[data-avatar-prototype=false][data-has-messages=true] .career-welcome { display: none; }
.career-shell[data-avatar-prototype=true][data-has-messages=true] .career-welcome {
  padding-top: 0;
  > p { display: none; }
  h1 { font-size: 1.3rem; }
}
.career-shell[data-voice-focus=true]:has(#career-map[hidden]) .career-welcome { visibility: hidden; }
.career-shell[data-voice-focus=true] .career-conversation > #conversation-proposals { display: block; }
.career-shell[data-avatar-prototype=false]:is([data-voice-state=off], [data-voice-state=connecting]) .career-voice-info,
.career-status[data-quiet=true],
.career-authority [data-control-status][data-quiet=true],
.career-dictation-feedback [data-quiet=true] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; padding: 0; }
.career-status-row:has(.career-status[data-quiet=true]):has(.career-reconnect[hidden]),
.career-dictation-feedback:has([data-quiet=true]):has(button[hidden]) { margin: 0; min-height: 0; height: 0; overflow: hidden; }
.career-dictation-feedback { display: flex; gap: .7rem; align-items: center; justify-content: space-between; font-size: .8rem; color: #373b32; }
.career-dictation-feedback:has(span:empty) { display: none; }
.career-dictation-feedback button { min-height: 44px; text-decoration: underline; }
.career-dictation-feedback span { padding: .5rem 0; }
.career-transcript { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .8rem; }
.career-transcript [data-speaker=user] { align-self: flex-end; max-width: 85%; border-radius: 20px 20px 4px 20px; }
.career-transcript [data-speaker]:not([data-speaker=user]) { background: transparent; padding-left: 0; padding-right: 0; }
.career-shell[data-voice-state=unverified] [data-app--career-session-target=coachActivity] { display: none; }

.career-pathway-toast, .career-orb, .career-voice-back, .career-captions, .career-voice-icon { display: none; }
.career-shell[data-avatar-prototype=false][data-voice-focus=true]:has(#career-map[hidden]) {
  .career-composer, .career-pause, .career-voice-controls [data-voice-focus-control] { display: none; }
  .career-voice-back { display: inline-flex; align-items: center; }
  .career-conversation { display: grid; position: relative; place-items: center; padding: 0 1rem; }
  .career-conversation > :not(.career-orb) { display: none; }
  .career-conversation > .sr-only, .career-conversation > .career-pathway-toast { display: block; position: absolute; }
  .career-pathway-toast:not(:empty) {
    display: block; position: absolute; top: 1rem; max-width: min(32rem, 90%); max-height: 24%; overflow-y: auto;
    border-radius: 1rem; padding: .65rem 1rem; background: #e7ebdf; color: #373b32; text-align: center;
  }
  .career-orb {
    display: block; width: min(19rem, 50vw, 44dvh); aspect-ratio: 1;
    border-radius: 48% 52% 57% 43% / 44% 50% 50% 56%;
    background: radial-gradient(ellipse at 33% 24%, #f4eed8, transparent 52%),
                radial-gradient(ellipse at 73% 65%, #819777, transparent 60%),
                linear-gradient(145deg, #d4d9bc, #607458 78%, #4e6048);
    box-shadow: inset -.7rem -1rem 2rem #485d4533, 0 1rem 3rem #4e60481a;
    animation: career-orb-breathe 5s ease-in-out infinite alternate;
  }
  .career-orb[data-interrupted=true] { display: grid; place-items: center; }
  .career-orb[data-interrupted=true] svg { display: block; }
  .career-orb[data-state=speaking] { outline: 2px solid #91a18a; outline-offset: 6px; animation-duration: 1.3s; }
  .career-orb[data-state=muted] { filter: grayscale(1); animation: none; }
  .career-orb[data-state=reconnecting] { opacity: .45; animation: none; }
  .career-voice-info { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .career-voice-row, .career-live-controls { display: flex; justify-content: center; }
  .career-voice-controls { gap: 1rem; }
  .career-voice-controls button:not([data-voice-focus-control]) {
    display: grid; place-items: center; width: 3.5rem; height: 3.5rem; padding: 0;
    border: 1px solid #aebba8; border-radius: 50%; background: #fffdf8; color: #373b32;
  }
  .career-voice-controls button[aria-pressed=true] { background: #4e6048; color: #fffdf8; }
  .career-voice-controls button.career-end { background: #764c43; color: white; }
  .career-voice-icon { display: block; width: 1.4rem; }
  .career-voice-controls button span { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .career-dock { padding-bottom: max(4vh, env(safe-area-inset-bottom)); }
  &:has(.career-captions[aria-pressed=true]) .career-transcript {
    display: block; position: absolute; bottom: 0; max-height: 22%; overflow-y: auto;
    width: min(37rem, 90%); text-align: center; margin: 0;
  }
  .career-transcript > :not([data-voice-caption]) { display: none; }
  .career-transcript > [data-voice-caption] { display: block; max-width: 100%; }
}
@keyframes career-orb-breathe {
  to { transform: scale(1.055) rotate(5deg); border-radius: 55% 45% 48% 52% / 54% 42% 58% 46%; }
}
@media (prefers-reduced-motion: reduce) {
  .career-shell[data-avatar-prototype=false][data-voice-focus=true]:has(#career-map[hidden]) .career-orb { animation: none; }
}

.career-pathway-strip { display: flex; gap: .65rem; padding: .4rem clamp(1rem, 3vw, 2rem); overflow-x: auto; flex: 0 0 auto; }
.career-ask-pathway { min-height: 44px; padding: .5rem 1rem; border: 1px dashed #899780; border-radius: .75rem; color: #4e6048; font-size: .85rem; }
.career-pathways-panel { width: min(38rem, 100%); }
@media (max-width: 640px) {
  .career-pathways-panel { inset: auto 0 0; width: 100%; height: min(85dvh, 50rem); border-radius: 1rem 1rem 0 0; }
}
.career-pathway-card { flex: 0 0 16rem; display: grid; gap: .2rem; text-align: left; padding: .75rem 1rem; border-radius: .75rem; background: #e7ebdf; }
.career-fit { display: flex; gap: 2px; height: .3rem; border-radius: 1rem; overflow: hidden; }
.career-fit i { background: var(--color-pankey-olive); }
.career-fit i:nth-child(2) { background: var(--color-pankey-ochre-ink); }
.career-fit i:nth-child(3) { background: var(--color-pankey-clay); }
.career-pathway-detail { border-bottom: 1px solid #d9ddcf; padding: .7rem 0 1.3rem; overflow-wrap: anywhere; }
.career-pathway-detail > p { margin-top: .4rem; font-size: .9rem; }
.career-pathway-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.career-pathway-actions button { min-height: 44px; padding: .4rem .75rem; text-decoration: underline; }
.career-pathway-actions form button { color: #faf6ef; background: #4e6048; border-radius: .5rem; text-decoration: none; }
.career-reply { background: #e7ebdf; border-radius: .75rem; padding: .75rem 1rem; margin-bottom: .5rem; overflow-wrap: anywhere; }
.career-reply form, .career-reply [data-aside-choices] { display: flex; flex-wrap: wrap; gap: .5rem; }
.career-reply button { min-height: 44px; padding-inline: .5rem; text-decoration: underline; }
.career-new-pathway { display: block; margin-block: .6rem; min-height: 44px; border: 1px solid #aebba8; border-radius: .6rem; padding: .6rem 1rem; font-weight: 600; text-align: left; }
.career-edit-fact > summary { min-height: 32px; padding-block: .4rem; font-size: .8rem; font-weight: 500; color: #4e6048; text-decoration: underline; }
.career-pathways-panel .career-panel-body { grid-template-columns: minmax(0, 1fr); overflow-wrap: anywhere; }
