/* One finished job, with the next real work card already waiting behind it. */
.phone-screen { --contact-spacing: 82px; }
.side-narrative .ask-proposition p { font-size: clamp(44px,4.45vw,64px); line-height: 1.08; letter-spacing: -.055em; }
.scene--brief { z-index: 3; }
.scene--workflow { z-index: 2; }
.scene--brief, .scene--workflow { mask-image: linear-gradient(90deg,transparent,#000 9%,#000 88%,transparent); }
.job-composition, .scene--workflow .workflow-composition { position: absolute; top: 13%; left: 7%; right: 7%; height: 74%; max-height: 420px; }
.job-card { position: relative; isolation: isolate; height: 100%; padding: 20px; display: flex; flex-direction: column; transform-origin: 50% 75%; }
.job-card::before { content: ''; position: absolute; z-index: -2; inset: 0; border: 1px solid transparent; border-radius: 25px; background: linear-gradient(155deg,#111315,#070809 65%,#050506) padding-box,linear-gradient(145deg,#ffffff45,#ffffff12 45%,#ffffff07) border-box; opacity: var(--card-surface,1); }
.job-card::after { content: ''; position: absolute; z-index: -1; inset: 1px; border-radius: 24px; pointer-events: none; background: linear-gradient(150deg,#c1e2cb16,#b8d9c30b); opacity: var(--send-tint,0); }
.card-action { position: absolute; z-index: 6; top: 7.5%; left: 50%; display: grid; place-items: center; min-width: 112px; height: 46px; padding: 0 25px; border-radius: 999px; background: #f0f1ec; color: #171b18; font-size: 17px; letter-spacing: -.025em; line-height: 1; box-shadow: 0 5px 24px #0005; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%,8px) scale(.94); }
.job-status { display: flex; align-items: center; justify-content: center; gap: 7px; flex: 0 0 22px; margin: 0 0 19px; color: #bdc2c6; font-size: 13px; letter-spacing: -.02em; }
.job-status-indicator { position: relative; display: block; flex: 0 0 14px; width: 14px; height: 14px; }
.job-status-spinner { position: absolute; inset: 1px; border: 1px solid #383f44; border-top-color: #d0d7db; border-radius: 50%; opacity: 0; animation: job-search-spin 1.1s linear infinite; animation-play-state: paused; }
.job-composition.is-discovering .job-status-spinner { animation-play-state: running; }
.job-done { position: absolute; inset: 0; width: 14px; height: 14px; fill: none; stroke: #dbe6df; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes job-search-spin { to { transform: rotate(360deg); } }
.job-contacts { position: relative; flex: 0 0 110px; list-style: none; margin: 0; padding: 0; }
.job-contact { position: absolute; left: 50%; top: 0; width: 82px; text-align: center; transform-origin: 50% 34px; }
.job-profile { display: block; border-radius: 8px; }
.scene--brief:not([inert]) .job-profile { pointer-events: auto; }
.job-profile:hover .job-contact-name { color: #fff; }
.job-avatar { display: block; width: 64px; height: 64px; margin: 0 auto 10px; overflow: hidden; border-radius: 50%; background: #1b1f22; box-shadow: inset 0 0 0 1px #ffffff16; transform-origin: 50% 50%; }
.job-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.job-contact-info { display: block; }
.job-contact-name { display: flex; justify-content: center; align-items: center; gap: 5px; color: #e1e4e5; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.profile-x { width: 9px; height: 9px; color: #929ba2; }
.job-contact-role { display: block; margin-top: 3px; color: #8f98a0; font-size: 10px; line-height: 1.3; }
.job-draft { display: flex; flex-direction: column; flex: 1; min-height: 0; margin-top: 10px; padding-top: 16px; border-top: 1px solid #ffffff14; }
.job-draft-heading { display: flex; align-items: center; gap: 7px; flex-shrink: 0; margin: 0 0 16px; }
.job-draft-heading img { width: 17px; height: 17px; flex-shrink: 0; object-fit: contain; }
.job-draft-heading h3 { margin: 0; color: #e0e3e5; font-weight: 400; font-size: 13px; letter-spacing: -.025em; }
.job-draft-tag { margin-left: auto; color: #8f98a0; font-size: 10px; }
.job-email-window { flex: 1; min-height: 0; overflow: hidden; mask-image: linear-gradient(#000 0%,#000 85%,transparent 100%); }
.job-email-window.is-scrolled { mask-image: linear-gradient(transparent 0%,#000 12%,#000 85%,transparent 100%); }
.job-email-window.is-at-end { mask-image: linear-gradient(transparent 0%,#000 12%,#000 100%); }
.job-email-window:not(.has-overflow) { mask-image: none; }
.job-email-body { padding-bottom: 3px; }
.job-draft p { margin: 0 0 12px; color: #b9c0c6; font-size: 14px; line-height: 1.6; letter-spacing: -.012em; }
.job-draft .job-draft-greeting { color: #e0e3e5; }
.scene--workflow .workflow-card { height: 100%; padding: 24px 20px; transform-origin: 50% 0; border-radius: 25px; background: linear-gradient(155deg,#141719,#070809 65%,#050506) padding-box,linear-gradient(145deg,#ffffff6b,#ffffff1a 45%,#ffffff09) border-box; }
.workflow-status { font-size: 23px; }
.workflow-step { grid-template-columns: 22px minmax(0,1fr) auto; gap: 10px; min-height: 90px; }
.workflow-step:last-child { min-height: 54px; }
.workflow-marker { width: 22px; height: 22px; }
.workflow-step:not(:last-child)::after { left: 11px; top: 29px; }
.workflow-task h3 { font-size: 15px; line-height: 1.4; }
.workflow-provider { font-size: 11.5px; }
.workflow-provider img { width: 15px; height: 15px; }
.workflow-state { font-size: 10.5px; }
.scene--orb .request-copy { max-width: 280px; font-size: 20px; line-height: 1.45; }
.request-word { display: inline-block; }
.scene--orb .request-line { width: 280px; }
.scene--orb .speaking-agent { display: none; }
.reader-job { --contact-spacing: 82px; position: relative; top: auto; left: auto; right: auto; height: auto; max-height: none; max-width: 350px; margin: 36px auto 0; }
.reader-job .job-card { height: auto; }
.reader-job .job-contact:nth-child(1) { transform: translate(calc(-50% - var(--contact-spacing)),0); }
.reader-job .job-contact:nth-child(2) { transform: translate(-50%,0); }
.reader-job .job-contact:nth-child(3) { transform: translate(calc(-50% + var(--contact-spacing)),0); }
.reader-job .job-draft { text-align: left; }
.reader-job .job-email-window { overflow: visible; mask-image: none; }
@media (max-width:760px) {
  .side-narrative .ask-proposition p { font-size: clamp(34px,9.5vw,40px); }
  .phone-screen, .reader-job { --contact-spacing: 73px; }
  .job-composition, .scene--workflow .workflow-composition { top: 12%; }
  .job-card { padding: 18px 16px; }
  .job-contact { width: 73px; }
  .job-contact-name { font-size: 12px; }
  .job-avatar { width: 58px; height: 58px; margin-bottom: 9px; }
  .job-status { margin-bottom: 17px; font-size: 12px; }
  .job-contacts { flex-basis: 103px; }
  .job-draft { margin-top: 6px; padding-top: 13px; }
  .job-draft-heading { margin-bottom: 13px; }
  .job-draft-heading h3 { font-size: 12px; }
  .job-draft p { font-size: 13px; }
  .reader-job { top: auto; left: auto; right: auto; height: auto; }
}
.is-compact .job-composition, .is-compact .scene--workflow .workflow-composition { top: 11%; height: 70%; }
.is-compact .scene--workflow .workflow-composition { max-height: 310px; }
.is-compact .phone-screen { --contact-spacing: 68px; }
.is-compact .card-action { top: 6%; min-width: 105px; height: 43px; font-size: 16px; }
.is-compact .job-card { padding: 16px 14px; }
.is-compact .job-status { margin-bottom: 14px; }
.is-compact .job-contacts { flex-basis: 94px; }
.is-compact .job-avatar { width: 52px; height: 52px; margin-bottom: 8px; }
.is-compact .job-contact { width: 68px; }
.is-compact .job-contact-name { font-size: 11px; }
.is-compact .job-contact-role { font-size: 9px; }
.is-compact .job-draft { margin-top: 3px; padding-top: 11px; }
.is-compact .job-draft-heading { margin-bottom: 10px; }
.is-compact .job-draft p, .is-compact-roster .job-draft p { font-size: 12px; margin-bottom: 10px; }
.is-compact .scene--workflow .workflow-card { padding: 20px 16px; }
.is-compact .workflow-status { font-size: 21.5px; margin-bottom: 22px; }
.is-compact .workflow-step { min-height: 73px; }
.is-compact .workflow-step:last-child { min-height: 54px; }
.is-compact .workflow-task h3 { font-size: 14.5px; }
.is-compact .scene--orb .request-copy { font-size: 19px; }
.is-flow .reader-job { top: auto; height: auto; }
@media (prefers-reduced-motion:reduce) {
  .job-email-window, .job-email-window.is-scrolled, .job-email-window.is-at-end { mask-image: none; }
  .job-composition.is-discovering .job-status-spinner { animation: none; }
}
