/* Ascent — employee screens. Axis design language (axis.css tokens),
   simplified for beginners: big tap targets, one thing per screen, warm. */

.eshell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--canvas); }
.etopbar { height: 56px; flex: none; display: flex; align-items: center; gap: 11px; padding: 0 16px; width: 100%; max-width: 520px; margin: 0 auto; }
.ebrand-mark { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--indigo-500), var(--indigo-700));
  box-shadow: 0 2px 8px rgba(79,70,229,.35), inset 0 1px 0 rgba(255,255,255,.25); }
.ebrand-mark svg { width: 17px; height: 17px; }
.ebrand-name { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.etop-spacer { flex: 1; }
.eicon-btn { width: 38px; height: 38px; border-radius: var(--r-md); color: var(--text-2); display: grid; place-items: center; }
.eicon-btn:hover { background: var(--surface-hover); color: var(--ink-2); }

.estage { flex: 1; display: flex; flex-direction: column; width: 100%; max-width: 520px; margin: 0 auto; padding: 4px 16px 26px; }
.ecard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-2xl); box-shadow: var(--shadow-md);
  padding: 26px 22px; flex: 1; display: flex; flex-direction: column; animation: fadeIn .3s ease; }

.eprogress { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eprogress .bar { flex: 1; height: 7px; border-radius: 99px; background: var(--surface-hover); overflow: hidden; }
.eprogress .bar > i { display: block; height: 100%; border-radius: 99px; background: var(--primary); transition: width .5s cubic-bezier(.2,.7,.2,1); }

.q-title { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); margin: 2px 0 8px; }
.q-body { font-size: 15.5px; color: var(--text-2); line-height: 1.55; margin: 0 0 6px; white-space: pre-line; }
.espacer { flex: 1; min-height: 14px; }

.opts { display: flex; flex-direction: column; gap: 11px; margin-top: 10px; }
.opt { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; font-size: 16px; font-weight: 600;
  color: var(--ink-2); background: var(--surface); border: 1.5px solid var(--border-2); border-radius: var(--r-xl);
  padding: 16px; box-shadow: var(--shadow-xs); transition: border-color .14s, background .14s, box-shadow .14s; }
.opt:hover { border-color: var(--indigo-300); background: var(--surface-2); }
.opt.sel { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-hover); box-shadow: 0 0 0 3px var(--ring); }
.opt > span:first-child { flex: 1; }
.opt .tk { width: 22px; height: 22px; border-radius: 99px; border: 2px solid var(--border-2); display: grid; place-items: center; color: #fff; flex: none; transition: .14s; }
.opt.sel .tk { background: var(--primary); border-color: var(--primary); }
.opt .tk svg { width: 13px; height: 13px; opacity: 0; stroke-width: 3; }
.opt.sel .tk svg { opacity: 1; }

.ebtn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 54px;
  border-radius: var(--r-lg); font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em;
  background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); margin-top: 18px;
  transition: background .15s, transform .05s; }
.ebtn:hover { background: var(--primary-hover); }
.ebtn:active { transform: translateY(1px); }
.ebtn:disabled { opacity: .55; cursor: not-allowed; }
.ebtn.ghost { background: var(--surface); color: var(--primary); border: 1.5px solid var(--border-2); box-shadow: var(--shadow-xs); }
.ebtn.ghost:hover { background: var(--surface-2); border-color: var(--indigo-300); }

.einput, .etextarea { width: 100%; font-family: inherit; font-size: 16.5px; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--border-2); border-radius: var(--r-lg); padding: 14px 15px; outline: none;
  transition: border-color .14s, box-shadow .14s; }
.einput:focus, .etextarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.etextarea { min-height: 120px; resize: none; line-height: 1.5; }

.sentence { background: var(--primary-soft); border: 1.5px dashed var(--indigo-300); border-radius: var(--r-lg);
  padding: 16px 18px; font-size: 18px; font-weight: 600; line-height: 1.5; color: var(--ink-2); margin-bottom: 14px; }
.ehint { font-size: 12.5px; color: var(--text-3); margin-top: 10px; }

.ecenter { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ebig-emoji { font-size: 46px; margin-bottom: 4px; }
.ehello { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 4px 0; }
.esub { font-size: 14.5px; color: var(--text-2); margin-bottom: 22px; max-width: 320px; }
.namebtns { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.namebtn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 18px; border-radius: var(--r-xl);
  background: var(--surface); border: 1.5px solid var(--border-2); box-shadow: var(--shadow-xs);
  font-size: 18px; font-weight: 700; color: var(--ink-2); transition: .14s; }
.namebtn:hover { border-color: var(--indigo-300); background: var(--surface-2); }

.pindots { display: flex; gap: 13px; justify-content: center; margin: 20px 0 24px; }
.pindots i { width: 15px; height: 15px; border-radius: 99px; background: var(--border-2); transition: .14s; }
.pindots i.on { background: var(--primary); }
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; width: 100%; max-width: 300px; margin: 0 auto; }
.pinkey { height: 62px; border-radius: var(--r-lg); background: var(--surface); border: 1.5px solid var(--border-2);
  box-shadow: var(--shadow-xs); font-size: 23px; font-weight: 700; color: var(--ink-2); transition: .12s; }
.pinkey:hover { border-color: var(--indigo-300); background: var(--surface-2); }
.pinkey:active { transform: translateY(1px); background: var(--primary-soft); }
.eerr { color: var(--red-600); font-weight: 600; font-size: 13px; min-height: 18px; margin-top: 4px; }

.streak { display: inline-flex; align-items: center; gap: 8px; background: var(--amber-50); color: var(--amber-700);
  border: 1px solid rgba(245,158,11,.25); border-radius: 999px; padding: 8px 15px; font-weight: 700; font-size: 13.5px; margin: 8px 0 2px; }
.newmsg { width: 100%; margin-top: 14px; padding: 15px; border-radius: var(--r-lg); border: 1.5px solid var(--indigo-200);
  background: var(--primary-soft); color: var(--primary-hover); font-weight: 700; font-size: 14.5px;
  display: flex; align-items: center; gap: 9px; justify-content: center; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }

.chatwrap { display: flex; flex-direction: column; flex: 1; }
.chatlist { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 8px 2px; min-height: 220px; max-height: 56vh; }
.cmsg { display: flex; }
.cmsg.them { justify-content: flex-end; }
.cmsg.helper { justify-content: flex-start; }
.cbubble { max-width: 82%; padding: 12px 15px; border-radius: 16px; font-size: 15.5px; line-height: 1.45; white-space: pre-line; }
.cmsg.them .cbubble { background: var(--primary); color: #fff; border-bottom-right-radius: 5px; }
.cmsg.helper .cbubble { background: var(--surface); color: var(--ink-2); border: 1px solid var(--border); border-bottom-left-radius: 5px; box-shadow: var(--shadow-xs); }
.ctyping { font-size: 13px; color: var(--text-3); font-style: italic; padding: 4px 2px; }
.chatinput { display: flex; gap: 8px; align-items: center; padding-top: 12px; border-top: 1px solid var(--border); }
.chatinput .einput { flex: 1; }
.csend { height: 50px; padding: 0 18px; border-radius: var(--r-lg); background: var(--primary); color: #fff; font-weight: 700; font-size: 15px; flex: none; }
.csend:hover { background: var(--primary-hover); }

.finish-emoji { font-size: 62px; text-align: center; margin: 6px 0 2px; }
.link-back { font-size: 13.5px; font-weight: 600; color: var(--text-2); padding: 6px 4px; align-self: flex-start; }
.link-back:hover { color: var(--ink-2); }

/* ---- employee dashboard supplements (used inside the Axis shell) ---- */
.helper-badge { border-radius: 999px; color: #fff; flex: none; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--indigo-500), var(--indigo-700)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.skill-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.skill-row .sl { width: 150px; font-size: 13px; color: var(--text-2); flex: none; }
.skill-row .sn { width: 36px; text-align: right; font-weight: 700; font-size: 13px; color: var(--ink-2); }
.quote-task { background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--primary);
  border-radius: var(--r-md); padding: 12px 14px; font-size: 14px; color: var(--ink-2); line-height: 1.5; white-space: pre-line; }
/* chat fills the panel inside the shell */
.helper-view .chatlist { max-height: 58vh; }
