/* ---------------------------------------------
   Veeva Engage (HCP app) — interactive portfolio demo
   Inside the phone: colours, type and layout measured from the 2022 App Store
   screenshots (375 × 812 pt, notched iPhone). Outside: the portfolio's tokens.
--------------------------------------------- */
.en {
  --s: 0.82;
  --en-navy: #233d6e;
  --en-navy-2: #2a4a85;
  --en-blue: #3d9bd6;
  --en-ios-blue: #007aff;
  --en-accept: #008fd2;
  --en-green: #5f8b00;
  --en-red: #e41b1b;
  --en-orange: #f8981b;
  --en-bg: #f8f8f8;
  --en-line: #e6e6ea;
  --en-ink: #111;
  --en-grey: #6e6e73;
  --en-yellow: #ffdf98;
  --en-bubble: #e5e5ea;
  --en-brand: #6d9a00;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

/* ---------- Guide (portfolio side) ---------- */
.en-guide h2 { margin-bottom: 0.4em; }
.en-guide__intro { color: var(--color-text-muted); max-width: 44ch; margin-bottom: 2rem; }
.en-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-border); }
.en-step { border-bottom: 1px solid var(--color-border); }
.en-step button { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 2rem 1fr; gap: 0 0.75rem; padding: 1rem 0; cursor: pointer; }
.en-step button:focus-visible { outline: 2px solid var(--color-text); outline-offset: 4px; }
.en-step__mark { width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1.5px solid var(--color-border); display: grid; place-items: center; font-size: 0.8rem; color: var(--color-text-muted); transition: background .25s, border-color .25s, color .25s; }
.en-step__title { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; }
.en-step__body { grid-column: 2; color: var(--color-text-muted); font-size: 0.95rem; max-width: 44ch; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.en-step__body > span { overflow: hidden; }
.en-step.is-active .en-step__body { grid-template-rows: 1fr; }
.en-step.is-active .en-step__body > span { padding-top: 0.4rem; }
.en-step.is-active .en-step__mark { border-color: var(--color-text); color: var(--color-text); }
.en-step.is-done .en-step__mark { background: var(--color-text); border-color: var(--color-text); color: var(--color-bg); }
.en-guide__note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--color-text-muted); }
.en-guide__note button { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.en-guide__note button:focus-visible { outline: 2px solid var(--color-text); outline-offset: 2px; }

/* ---------- Device: 375 × 812 pt, scaled as one piece ---------- */
.en-device-col { display: flex; flex-direction: column; align-items: center; }
.en-device { position: relative; width: calc(375px * var(--s) + 24px); padding: 12px; border-radius: 54px; background: #1d1d1f; box-shadow: 0 0 0 1px #3a3a3c inset, 0 30px 60px -20px rgba(43, 39, 36, 0.35); }
.en-viewport { position: relative; width: calc(375px * var(--s)); height: calc(812px * var(--s)); border-radius: 42px; overflow: hidden; background: #fff; }
.en-screen {
  position: absolute; top: 0; left: 0; width: 375px; height: 812px;
  transform: scale(var(--s)); transform-origin: 0 0;
  background: var(--en-bg); color: var(--en-ink);
  font: 400 15px/1.3 "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased; display: flex; flex-direction: column;
}
.en-screen * { box-sizing: border-box; }
.en [hidden] { display: none !important; }
.en-screen .en-view { padding: 0; margin: 0; }
.en-screen :focus-visible { outline: 2px solid var(--en-blue); outline-offset: 2px; }
.en-notch { position: absolute; left: 50%; top: -4px; width: 210px; height: 34px; margin-left: -105px; background: #1d1d1f; border-radius: 0 0 20px 20px; z-index: 9; pointer-events: none; }
.en-status { position: absolute; top: 0; left: 0; right: 0; height: 44px; padding: 0 22px 0 32px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 600; color: #fff; z-index: 8; pointer-events: none; }
.en-status.is-dark { color: #000; }
.en-status__icons { display: flex; gap: 5px; align-items: center; }
.en-home { position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #000; z-index: 8; pointer-events: none; }

.en-views { position: relative; flex: 1; min-height: 0; }
.en-view { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--en-bg); visibility: hidden; opacity: 0; transform: translateX(20px); transition: opacity .22s ease, transform .22s ease, visibility 0s .22s; }
.en-view.is-current { visibility: visible; opacity: 1; transform: none; transition: opacity .22s ease, transform .22s ease; }
.en-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding-bottom: 24px; }
.en-scroll::-webkit-scrollbar { display: none; }

/* Navy headers */
.en-hero { flex: none; background: linear-gradient(180deg, #2a4a85 0%, var(--en-navy) 100%); color: #fff; position: relative; }
.en-hero--home { height: 132px; padding: 0 17px; display: flex; align-items: flex-end; padding-bottom: 18px; }
.en-wordmark { font-size: 34px; font-weight: 500; letter-spacing: -0.5px; line-height: 1; }
.en-hero__bar { position: absolute; top: 44px; left: 0; right: 0; height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 8px; }
.en-iconbtn { all: unset; box-sizing: border-box; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; color: inherit; }
.en-verteo { display: flex; align-items: center; gap: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1; color: #fff; }
.en-verteo small { display: block; font-family: "Inter", sans-serif; font-size: 6.5px; letter-spacing: 1.6px; text-align: right; margin-top: 1px; }
.en-verteo--green { color: #555; }
.en-verteo--green svg path { fill: #6da832; }

/* Home */
.en-h { font-size: 18px; font-weight: 600; margin: 18px 16px 10px; }
.en-card { margin: 0 16px 8px; background: #fff; border-radius: 8px; border: 1px solid #ececef; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.en-meet { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 46px 1fr 44px; gap: 16px; align-items: center; width: calc(100% - 32px); margin: 0 16px 8px; padding: 15px; background: #fff; border-radius: 8px; border: 1px solid #ececef; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.en-meet__when { font-size: 17px; font-weight: 600; line-height: 21px; }
.en-meet__time { font-size: 14px; font-weight: 600; line-height: 18px; }
.en-meet__who { font-size: 14px; line-height: 18px; }
.en-camcircle { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--en-blue); color: #fff; }
.en-camcircle.is-off { background: transparent; color: #c5c5c7; }
.en-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 16px; color: #fff; flex: none; }
.en-avatar--sm { width: 32px; height: 32px; font-size: 12px; }
.en-avatar--xs { width: 30px; height: 30px; font-size: 11px; }
.en-avatar--xl { width: 168px; height: 168px; font-size: 54px; border: 4px solid rgba(255,255,255,.15); }
.en-a1 { background: #c98a5b; } .en-a2 { background: #5b7fa6; } .en-a3 { background: #8a6bb0; } .en-a4 { background: #4f9a8a; } .en-a5 { background: #b5646f; }
.en-act { padding: 14px 16px 16px; }
.en-act__top { display: flex; justify-content: space-between; font-size: 14px; color: #222; margin-bottom: 10px; }
.en-act__body { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.en-act__name { font-size: 17px; font-weight: 600; line-height: 22px; }
.en-act__sub { font-size: 14px; line-height: 18px; display: flex; align-items: center; gap: 6px; }
.en-act__sub b { font-weight: 600; }
.en-star { width: 14px; height: 14px; border-radius: 50%; background: var(--en-orange); display: inline-grid; place-items: center; color: #fff; font-size: 9px; }
.en-act__btns { display: flex; gap: 9px; margin-top: 12px; }
.en-pillbtn { all: unset; box-sizing: border-box; cursor: pointer; height: 32px; padding: 0 16px; border-radius: 16px; display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; color: #fff; }
.en-pillbtn--green { background: var(--en-green); }
.en-pillbtn--red { background: var(--en-red); padding: 0 15px; }
.en-pillbtn--outline { background: #fff; color: var(--en-blue); border: 1.5px solid var(--en-blue); }
.en-calicon { width: 46px; height: 46px; border-radius: 50%; background: #f1f1f3; display: grid; place-items: center; color: #222; }
.en-act.is-leaving { animation: en-leave .4s ease forwards; }
@keyframes en-leave { to { opacity: 0; transform: translateX(-16px); } }
.en-empty { margin: 0 16px; padding: 16px; font-size: 14px; color: var(--en-grey); text-align: center; }

/* Meeting detail */
.en-hero--meet { height: 201px; }
.en-bigcam { position: absolute; left: 50%; top: 137px; width: 127px; height: 127px; margin-left: -63.5px; border-radius: 50%; background: var(--en-blue); display: grid; place-items: center; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.12); z-index: 2; }
.en-meetwhen { margin-top: 74px; text-align: center; }
.en-meetwhen strong { display: block; font-size: 22px; font-weight: 600; line-height: 27px; }
.en-meetwhen span { display: block; font-size: 17px; font-weight: 600; margin-top: 2px; }
.en-repcard { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; width: calc(100% - 32px); margin: 28px 16px 16px; padding: 15px; background: #fff; border-radius: 8px; border: 1px solid #ececef; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.en-repcard strong { font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.en-repcard > span:last-child > span { display: block; font-size: 14px; line-height: 17px; }
.en-bigbtn { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; width: calc(100% - 32px); height: 47px; margin: 0 16px 9px; border-radius: 24px; font-size: 17px; font-weight: 600; }
.en-bigbtn--blue { background: var(--en-blue); color: #fff; }
.en-bigbtn--outline { background: #fff; color: var(--en-blue); border: 1.5px solid var(--en-blue); }
.en-meetid { text-align: center; color: #8a8a8e; font-size: 14px; line-height: 22px; margin-top: 18px; }

/* In meeting */
.en-call { background: #111 !important; color: #fff; }
.en-call__tile { position: absolute; inset: 44px 0 150px; display: grid; place-items: center; }
.en-call__tile .en-avatar { width: 120px; height: 120px; font-size: 40px; }
.en-call__name { position: absolute; left: 16px; bottom: 160px; font-size: 14px; background: rgba(0,0,0,.45); padding: 4px 10px; border-radius: 12px; }
.en-call__self { position: absolute; right: 16px; top: 64px; width: 96px; height: 132px; border-radius: 10px; background: #2b2b2f; display: grid; place-items: center; font-size: 12px; color: #aaa; text-align: center; }
.en-call__self.is-on { background: linear-gradient(160deg, #4b5d7c, #2c3a55); color: #fff; }
.en-call__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; display: flex; justify-content: center; gap: 22px; padding-top: 24px; background: #1c1c1e; }
.en-callbtn { all: unset; cursor: pointer; display: grid; justify-items: center; gap: 6px; font-size: 12px; width: 70px; text-align: center; }
.en-callbtn i { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #3a3a3c; }
.en-callbtn[aria-pressed="true"] i { background: #fff; color: #111; }
.en-callbtn--leave i { background: #e5342b; }
.en-callbanner { position: absolute; left: 12px; right: 12px; top: 210px; background: #fff; color: #111; border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.35); transform: translateY(-12px); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.en-callbanner.is-on { opacity: 1; transform: none; pointer-events: auto; }
.en-callbanner p { margin: 0; font-size: 14px; line-height: 19px; flex: 1; }
.en-callbanner .en-pillbtn { background: var(--en-accept); }

/* Chat */
.en-hero--chat { height: 89px; }
.en-hero--chat > .en-iconbtn { position: absolute; left: 2px; top: 44px; height: 45px; }
.en-chathead { all: unset; cursor: pointer; position: absolute; left: 44px; top: 44px; height: 45px; display: flex; align-items: center; gap: 10px; }
.en-chathead strong { display: block; font-size: 17px; font-weight: 600; }
.en-chathead [data-thread-role] { display: block; font-size: 13px; opacity: .9; }
.en-thread { flex: 1; overflow-y: auto; background: #fff; padding: 16px 16px 10px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: none; }
.en-thread::-webkit-scrollbar { display: none; }
.en-stamp { align-self: center; font-size: 12px; color: #8a8a8e; margin: 4px 0; }
.en-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; }
.en-msg--me { justify-content: flex-end; }
.en-bub { max-width: 270px; padding: 9px 14px; border-radius: 18px; font-size: 17px; line-height: 21px; background: var(--en-bubble); }
.en-msg--me .en-bub { background: var(--en-yellow); }
.en-msg--them .en-avatar { margin-bottom: 1px; }
.en-msg--spacer { padding-left: 38px; }
.en-sys { align-self: center; font-size: 13px; color: #8a8a8e; text-align: center; padding: 6px 12px; }
.en-compose { flex: none; background: var(--en-bg); padding: 8px 12px 30px; border-top: 1px solid var(--en-line); }
.en-chip { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 10px; border-radius: 16px; background: #fff; border: 1px solid #e3e3e6; font-size: 14px; margin-bottom: 8px; }
.en-input { display: flex; align-items: center; height: 36px; border-radius: 18px; border: 1px solid #d6d6da; background: #fff; padding: 0 4px 0 14px; }
.en-input input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; background: transparent; color: var(--en-ink); min-width: 0; }
.en-input input::placeholder { color: #a0a0a5; }
.en-send { all: unset; cursor: pointer; width: 30px; height: 30px; display: grid; place-items: center; color: #8a8a8e; }
.en-send.is-ready { color: var(--en-blue); }

/* Large-title list screens (Chat, Meetings, Me) */
.en-title { flex: none; padding: 52px 16px 10px; display: flex; justify-content: space-between; align-items: flex-end; background: #fff; border-bottom: 1px solid var(--en-line); }
.en-title h3 { font-family: inherit; font-size: 32px; font-weight: 700; margin: 0; letter-spacing: -0.4px; }
.en-textbtn { all: unset; cursor: pointer; color: var(--en-ios-blue); font-size: 16px; display: inline-flex; align-items: center; gap: 5px; padding-bottom: 6px; }
.en-chatrow { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 10px 46px 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 12px 16px 12px 8px; background: #fff; border-bottom: 1px solid var(--en-line); }
.en-chatrow__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--en-ios-blue); }
.en-chatrow__dot.is-read { background: transparent; }
.en-chatrow strong { display: block; font-size: 16px; font-weight: 600; }
.en-chatrow small { display: block; font-size: 13px; color: var(--en-grey); }
.en-chatrow p { margin: 2px 0 0; font-size: 14px; color: #3a3a3c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 210px; }
.en-chatrow time { align-self: start; font-size: 13px; color: var(--en-grey); padding-top: 3px; }

.en-seg { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 16px; background: #eeeef0; border-radius: 9px; padding: 2px; }
.en-seg button { all: unset; cursor: pointer; text-align: center; height: 30px; line-height: 30px; font-size: 14px; font-weight: 500; border-radius: 7px; }
.en-seg button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 600; }
.en-group { padding: 14px 16px 6px; font-size: 14px; font-weight: 600; color: var(--en-grey); }
.en-mrow { display: grid; grid-template-columns: 70px 1fr 44px; gap: 10px; align-items: center; background: #fff; padding: 12px 16px; border-bottom: 1px solid var(--en-line); }
.en-mrow time, .en-mrow--btn time { font-size: 15px; font-weight: 600; }
.en-mrow strong, .en-mrow--btn strong { display: block; font-size: 15px; font-weight: 600; }
.en-mrow > span:nth-child(2) > span, .en-mrow--btn > span:nth-child(2) > span { display: block; font-size: 14px; color: var(--en-grey); }
.en-mrow .en-camcircle, .en-mrow--btn .en-camcircle { width: 38px; height: 38px; }
.en-mrow--btn { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 70px 1fr 44px; gap: 10px; align-items: center; background: #fff; padding: 12px 16px; border-bottom: 1px solid var(--en-line); }

.en-me { background: #fff; padding: 18px 16px; border-bottom: 1px solid var(--en-line); display: flex; align-items: center; gap: 14px; }
.en-me strong { display: block; font-size: 20px; font-weight: 600; }
.en-me > span:last-child > span { display: block; font-size: 14px; color: var(--en-grey); }
.en-me .en-textbtn { padding: 0; margin-top: 6px; font-size: 15px; }
.en-list { margin-top: 14px; background: #fff; border-top: 1px solid var(--en-line); }
.en-li { all: unset; box-sizing: border-box; cursor: pointer; display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 52px; padding: 10px 16px; border-bottom: 1px solid var(--en-line); font-size: 16px; }
.en-li small { display: block; font-size: 13px; color: var(--en-grey); margin-top: 2px; }
.en-li svg { color: #c4c4c7; flex: none; }
.en-li--danger { color: #e5342b; }
.en-version { text-align: center; font-size: 12px; color: #a0a0a5; margin-top: 18px; }

/* Rep profile */
.en-hero--profile { height: 451px; text-align: center; }
.en-profile__avatar { padding-top: 90px; }
.en-profile__avatar .en-avatar { margin: 0 auto; }
.en-connected { all: unset; cursor: pointer; position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: -14px; height: 30px; padding: 0 16px; border-radius: 15px; background: var(--en-orange); color: #fff; font-size: 15px; font-weight: 500; }
.en-profile__name { font-size: 22px; font-weight: 600; margin-top: 8px; }
.en-profile__role { font-size: 14px; font-weight: 600; margin-top: 2px; }
.en-profile__co { font-size: 14px; }
.en-round { display: flex; justify-content: center; gap: 43px; margin-top: 14px; }
.en-roundbtn { all: unset; cursor: pointer; display: grid; justify-items: center; gap: 4px; font-size: 13px; }
.en-roundbtn i { width: 48px; height: 48px; border-radius: 50%; background: #526790; display: grid; place-items: center; }
.en-section-row { background: #fff; display: flex; justify-content: space-between; align-items: center; min-height: 50px; padding: 0 16px; border-bottom: 1px solid var(--en-line); }
.en-section-row h4 { font-size: 17px; font-weight: 600; margin: 0; }
.en-section-row .en-textbtn { padding: 0; color: var(--en-blue); font-size: 17px; }
.en-notes { background: #fff; padding: 0 16px 14px; border-bottom: 1px solid var(--en-line); }
.en-notes textarea { width: 100%; min-height: 70px; border: 1px solid #d6d6da; border-radius: 8px; padding: 10px; font: inherit; font-size: 15px; resize: none; }
.en-notes__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.en-note { font-size: 15px; line-height: 20px; padding: 2px 0 6px; }
.en-note small { display: block; font-size: 12px; color: var(--en-grey); }
.en-sec-h { font-size: 17px; font-weight: 600; margin: 18px 16px 10px; }
.en-medcard { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 16px; gap: 14px; align-items: center; width: calc(100% - 32px); margin: 0 16px 14px; padding: 16px 14px; background: #fff; border-radius: 8px; border: 1px solid #ececef; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.en-medcard strong { display: block; font-size: 17px; font-weight: 600; }
.en-medcard > span:nth-child(2) > span { display: block; font-size: 14px; }
.en-pill-icon { width: 44px; height: 44px; border-radius: 50%; background: #6c9900; display: grid; place-items: center; color: #fff; }

/* Sign for samples */
.en-sign { background: var(--en-bg); }
.en-sign__bar { display: flex; align-items: center; justify-content: center; position: relative; height: 50px; margin-top: 76px; }
.en-sign__bar .en-iconbtn { position: absolute; left: 8px; color: var(--en-ios-blue); }
.en-sign h3 { font-family: inherit; font-size: 30px; font-weight: 700; margin: 20px 24px 22px; letter-spacing: -0.3px; }
.en-sign__card { position: relative; margin: 0 16px; height: 139px; background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.08); touch-action: none; }
.en-sign__date { position: absolute; left: 24px; top: 26px; font-size: 13px; color: #555; }
.en-sign__x { position: absolute; left: 28px; bottom: 26px; color: var(--en-orange); font-size: 36px; line-height: 1; font-weight: 300; pointer-events: none; }
.en-sign__line { position: absolute; left: 96px; right: 24px; bottom: 26px; border-top: 2px solid #f89c24; pointer-events: none; }
.en-sign__hint { position: absolute; left: 96px; right: 24px; bottom: 40px; text-align: center; color: #b0b0b5; font-size: 14px; pointer-events: none; transition: opacity .2s; }
.en-sign__card.has-ink .en-sign__hint { opacity: 0; }
.en-sign__card canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 12px; cursor: crosshair; }
.en-sign__card.is-locked { opacity: .65; }
.en-sign__card.is-locked canvas { pointer-events: none; }
.en-accept { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: calc(100% - 32px); margin: 16px 16px 0; height: 53px; line-height: 53px; text-align: center; border-radius: 6px; background: var(--en-accept); color: #fff; font-size: 18px; font-weight: 600; }
.en-accept[aria-disabled="true"] { background: #9cc8e3; cursor: not-allowed; }
.en-sign__status { margin: 16px 24px 0; font-size: 14px; color: #555; text-align: center; min-height: 1.2em; }
.en-sign__clear { all: unset; cursor: pointer; display: block; margin: 12px auto 0; color: var(--en-ios-blue); font-size: 15px; }

/* Brand profile */
.en-hero--brand { height: 156px; background: linear-gradient(135deg, #8cc400 0%, #6d9a00 70%); }
.en-brand__name { position: absolute; left: 16px; bottom: 14px; }
.en-brand__name strong { display: block; font-size: 28px; font-weight: 500; line-height: 30px; }
.en-brand__name span { display: block; font-size: 20px; line-height: 24px; }
.en-brandrow { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 24px 1fr 14px; gap: 14px; align-items: center; width: 100%; min-height: 56px; padding: 10px 18px 10px 16px; background: #fff; border-bottom: 1px solid var(--en-line); }
.en-brandrow strong { display: block; font-size: 17px; font-weight: 600; }
.en-brandrow small { display: block; font-size: 14px; color: #777; margin-top: 1px; }
.en-brandrow small.is-link { color: var(--en-blue); }
.en-brandrow > svg:first-child { color: #739e0d; }
.en-brandrow > svg:last-child { color: #8a8a8e; }
.en-gap { height: 8px; background: var(--en-bg); }

/* Tab bar (2021–22: Home / Chat / Meetings / Me) */
.en-tabs { flex: none; height: 83px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; padding-top: 8px; background: #fff; border-top: 1px solid var(--en-line); }
.en-tab { all: unset; cursor: pointer; position: relative; display: grid; justify-items: center; gap: 3px; font-size: 11px; color: #8a8a8e; }
.en-tab[aria-selected="true"] { color: var(--en-blue); }
.en-tab__badge { position: absolute; top: -3px; left: 50%; margin-left: 6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #e5342b; color: #fff; font-size: 11px; font-weight: 600; line-height: 17px; text-align: center; }

/* Sheet */
.en-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.35); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; z-index: 5; }
.en-scrim.is-open { opacity: 1; visibility: visible; transition: opacity .25s; }
.en-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; background: #fff; border-radius: 12px 12px 0 0; height: 70%; display: flex; flex-direction: column; transform: translateY(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.en-sheet.is-open { transform: none; }
.en-sheet__head { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; height: 54px; padding: 0 14px; border-bottom: 1px solid var(--en-line); }
.en-sheet__head strong { text-align: center; font-size: 17px; font-weight: 600; }
.en-sheet__head .en-textbtn { padding: 0; }
.en-sheet__head .en-textbtn:last-child { justify-self: end; font-weight: 600; }
.en-sheet__head .en-textbtn[aria-disabled="true"] { color: #b0b0b5; cursor: default; }
.en-sheet__body { flex: 1; overflow-y: auto; padding-bottom: 30px; }
.en-sheet__group { padding: 14px 16px 6px; font-size: 14px; font-weight: 600; color: var(--en-grey); background: var(--en-bg); }
.en-pick { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--en-line); cursor: pointer; }
.en-pick input { position: absolute; opacity: 0; pointer-events: none; }
.en-pick__box { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #c4c4c7; display: grid; place-items: center; }
.en-pick__box svg { opacity: 0; }
.en-pick:has(input:checked) .en-pick__box { background: var(--en-ios-blue); border-color: var(--en-ios-blue); }
.en-pick:has(input:checked) .en-pick__box svg { opacity: 1; }
.en-pick:has(input:focus-visible) { outline: 2px solid var(--en-blue); outline-offset: -2px; }
.en-pick strong { display: block; font-size: 16px; font-weight: 500; }
.en-pick small { display: block; font-size: 13px; color: var(--en-grey); }

/* Toast */
.en-toast { position: absolute; left: 50%; bottom: 104px; transform: translate(-50%, 12px); max-width: 330px; text-align: center; background: rgba(28,28,30,.92); color: #fff; font-size: 15px; padding: 10px 16px; border-radius: 22px; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; z-index: 10; }
.en-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Design-note pins on the bezel + caption */
.en-pins { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.en-pin { all: unset; box-sizing: border-box; pointer-events: auto; cursor: pointer; position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; display: grid; place-items: center; background: #2b2724; color: #faf7f2; font: 600 12px/1 "Inter", sans-serif; box-shadow: 0 0 0 2px #1d1d1f; transition: transform .15s, background .15s; }
.en-pin:hover, .en-pin.is-active { transform: scale(1.15); background: var(--en-orange); color: #2b2724; }
.en-pin:focus-visible { outline: 2px solid var(--en-blue); outline-offset: 3px; }
.en-pins.is-off { display: none; }
.en-notes-cap { width: calc(375px * var(--s) + 24px); margin-top: 1rem; }
.en-notes-cap__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.8rem; color: var(--color-text-muted); }
.en-notes-cap__toggle { all: unset; cursor: pointer; position: relative; width: 34px; height: 20px; border-radius: 10px; background: var(--color-border); transition: background .2s; }
.en-notes-cap__toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.en-notes-cap__toggle[aria-checked="true"] { background: var(--color-text); }
.en-notes-cap__toggle[aria-checked="true"]::after { transform: translateX(14px); }
.en-notes-cap__toggle:focus-visible { outline: 2px solid var(--color-text); outline-offset: 3px; }
.en-notes-cap__text { display: flex; gap: 0.6rem; margin: 0.6rem 0 0; min-height: 4.2em; font-size: 0.9rem; line-height: 1.45; color: var(--color-text); }
.en-notes-cap__num { flex: none; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--color-text); color: var(--color-bg); font-size: 0.72rem; font-weight: 600; display: grid; place-items: center; margin-top: 0.05rem; }
.en-notes-cap.is-off .en-notes-cap__text { visibility: hidden; }

/* "Who it's for" palette for this page */
.cs-people--engage { --ill-wash: #dce6f3; --ill-accent: #3d9bd6; }

@media (max-width: 860px) {
  .en { grid-template-columns: 1fr; }
  .en-device-col { order: -1; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .en *, .en *::before, .en *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}

/* Meetings tab (rebuilt: rows with their own Join, documented status labels) */
.en-mrow2 { display: grid; grid-template-columns: 1fr 44px; gap: 10px; align-items: center; background: #fff; padding: 0 16px 0 0; border-bottom: 1px solid var(--en-line); }
.en-mrow2__main { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: center; padding: 12px 0 12px 16px; min-height: 64px; }
.en-mrow2__main:focus-visible, .en-mrow2 .en-camcircle:focus-visible { outline: 2px solid var(--en-blue); outline-offset: 2px; }
.en-mrow2 time { font-size: 15px; font-weight: 600; }
.en-mrow2 strong { font-size: 15px; font-weight: 600; }
.en-mrow2 .en-mstatus { font-style: normal; font-size: 15px; font-weight: 600; color: #2e8540; margin-left: 4px; }
.en-mrow2__main > span > span { display: block; font-size: 14px; color: var(--en-grey); margin-top: 1px; }
.en-mrow2 button.en-camcircle { all: unset; box-sizing: border-box; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--en-blue); color: #fff; }
.en-mstat-icon { width: 44px; height: 44px; display: grid; place-items: center; color: #2e8540; }
.en-mstat-icon--wait { color: #b57600; }
.en-sheet--join { height: auto; }
.en-join { padding: 18px 18px 34px; display: flex; flex-direction: column; gap: 10px; }
.en-join label { font-size: 15px; font-weight: 600; }
.en-join input { height: 46px; border: 1px solid #c7c7cc; border-radius: 8px; padding: 0 12px; font: inherit; font-size: 17px; letter-spacing: 1px; }
.en-join input:focus { outline: 2px solid var(--en-blue); outline-offset: 0; border-color: transparent; }
.en-join p { margin: 0 0 6px; font-size: 13px; color: var(--en-grey); }
.en-join__btn { all: unset; box-sizing: border-box; cursor: pointer; height: 48px; border-radius: 24px; text-align: center; line-height: 48px; background: var(--en-blue); color: #fff; font-size: 16px; font-weight: 600; }
.en-join__btn[aria-disabled="true"] { background: #b8cde6; cursor: not-allowed; }
.en-join__btn:focus-visible { outline: 2px solid var(--en-blue); outline-offset: 3px; }

/* Meetings tab in the 2022 app style (navy header like Home, white meeting cards) */
.en-hero--meetings { justify-content: space-between; }
.en-wordmark--title { font-size: 30px; font-weight: 600; letter-spacing: -0.3px; }
.en-herojoin { all: unset; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 16px; background: rgba(255,255,255,.14); color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.en-herojoin:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.en-scroll--grey { background: #f4f4f6; }
.en-scroll--grey .en-seg { margin-top: 14px; background: #e6e6ea; }
.en-meet2 { display: grid; grid-template-columns: 1fr 44px; gap: 12px; align-items: center; margin: 0 16px 8px; padding: 0 15px 0 0; background: #fff; border-radius: 8px; border: 1px solid #ececef; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.en-meet2__main { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; padding: 15px 0 15px 15px; }
.en-meet2__main:focus-visible, .en-meet2 button.en-camcircle:focus-visible { outline: 2px solid var(--en-blue); outline-offset: 2px; border-radius: 8px; }
.en-meet2 button.en-camcircle { all: unset; box-sizing: border-box; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--en-blue); color: #fff; }
.en-mloc { width: 44px; height: 44px; display: grid; place-items: center; color: #8a8a8e; }
.en-mchip { display: inline-block; margin-top: 6px; padding: 2px 8px; line-height: 16px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.en-mchip--ok { background: #e3f3e6; color: #2e8540; }
.en-mchip--wait { background: #fff1d6; color: #9a6400; }
/* Guide tags: which steps are Katie's work */
.en-tag { display: inline-block; margin-left: .4rem; padding: 1px 8px; border-radius: 10px; font-family: var(--font-body); font-size: .7rem; font-weight: 600; vertical-align: 3px; letter-spacing: .02em; }
.en-tag--mine { background: var(--color-text); color: var(--color-bg); }
.en-tag--ctx { border: 1px solid var(--color-border); color: var(--color-text-muted); }
.en-notes-cap__text.is-context { color: var(--color-text-muted); font-style: italic; }
