/* The mentor panel (assets/js/ems-mentor.js), PORTED from MPMA Pathways' final
   coach panel CSS (coach-pop.js, efa8e39, 10-22) rule for rule: the navy band
   with the 72px face, the actions, the tabs (Overview · Messages · Goals ·
   Sessions), the thread, the compose box, the goals, the sessions timeline,
   "From your coach" rows (here: the mentor's action items) and the "Get a
   coach" steps (here: Ask EMS US for a mentor). Rules for the parts EMS does not
   have (choosing among coaches, profiles, texts, the tour) are left out. Only
   the colours differ (EMS navy tokens, --ee-* in ems-edge.css). It opens in
   side-panel.js; its button is one of the right-edge stack (ems-edge.css). */
  .cpop{position:relative;display:flex;flex-direction:column;height:100%;min-height:0}
  .cpop svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
  .cpop-head{display:flex;gap:16px;align-items:center;padding:24px 56px 20px 24px;color:#fff;position:relative;flex:0 0 auto;
    background:linear-gradient(135deg,var(--ee-band) 0%,var(--ems-navy-900) 100%)}
  .cpop-face{width:72px;height:72px;border-radius:50%;background:#fff;color:var(--ee-navy);display:grid;place-items:center;font:700 23px var(--ems-font-ui);flex:0 0 auto;overflow:hidden;
    box-shadow:0 0 0 3px rgba(255,255,255,.3),0 8px 20px rgba(0,0,0,.3);animation:cpFace .5s cubic-bezier(.22,1.3,.36,1) .12s backwards}
  .cpop-face svg{width:34px;height:34px}
  .cpop-face img{width:100%;height:100%;object-fit:cover;display:block;animation:cpFade .35s ease}
  @keyframes cpFace{from{transform:scale(.6);opacity:0}}
  @keyframes cpFade{from{opacity:0}}
  @keyframes cpUp{from{opacity:0;transform:translateY(8px)}}
  .cpop-kick{font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ems-navy-200);font-weight:700}
  .cpop-name{font:700 22px/1.2 var(--ems-font-display);margin:3px 0 2px}
  .cpop-sub{font-size:13.5px;color:var(--ems-navy-100)}
  .cpop-since{font-size:12.5px;color:var(--ems-navy-200);margin-top:5px}
  .cpop-x{position:absolute;top:14px;right:14px;border:0;background:rgba(255,255,255,.12);color:#fff;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;cursor:pointer;
    transition:background .18s,transform .15s}
  .cpop-x:hover{background:rgba(255,255,255,.24);transform:scale(1.06)}
  .cpop-acts{display:flex;flex-wrap:wrap;gap:8px;padding:14px 24px;border-bottom:1px solid #eef0f3;flex:0 0 auto}
  .cpop-booked{display:flex;gap:8px;align-items:center;margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#ecfdf5;border:1px solid #a7f3d0;font-size:13.5px;color:#065f46}
  .cpop-booked b{color:#064e3b}.cpop-booked .cpop-link{margin-left:auto;font-size:13px}
  .cpop-btn{display:inline-flex;align-items:center;gap:7px;border:1px solid #d6dbe1;background:#fff;color:var(--ee-navy);border-radius:999px;padding:8px 15px;font:inherit;font-size:13.5px;font-weight:650;cursor:pointer;text-decoration:none;
    transition:border-color .2s,transform .2s,box-shadow .2s}
  .cpop-btn:hover{border-color:var(--ee-navy);transform:translateY(-1px);box-shadow:0 5px 12px rgba(42,56,144,.1)}
  .cpop-btn.pri{background:var(--ee-navy);color:#fff;border-color:transparent;box-shadow:0 4px 12px rgba(42,56,144,.25)}
  .cpop-btn:disabled{opacity:.55;cursor:default;transform:none}
  .cpop-tabs{display:flex;gap:4px;padding:8px 18px 0;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid #eef0f3;flex:0 0 auto}
  .cpop-tab{border:0;background:none;font:inherit;font-size:14px;font-weight:650;color:#5b6472;padding:10px 12px 12px;cursor:pointer;white-space:nowrap;flex:0 0 auto;border-bottom:3px solid transparent;margin-bottom:-1px;display:inline-flex;gap:7px;align-items:center;
    transition:color .2s,border-color .25s}
  .cpop-tab:hover{color:var(--ee-navy)}
  .cpop-tab[aria-selected="true"]{color:var(--ee-navy);border-bottom-color:var(--ee-navy)}
  .cpop-n{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:10.5px;font-weight:700;line-height:18px;text-align:center}
  .cpop-n.soft{background:#eef2f6;color:var(--ee-navy)}
  .cpop-body{flex:1;min-height:0;overflow-y:auto;padding:18px 24px 18px}
  .cpop-body.cpop-talk{overflow:hidden;display:flex;flex-direction:column;padding-bottom:14px}
  .cpop-pane{display:none}.cpop-pane.on{display:block;animation:cpUp .3s cubic-bezier(.22,1,.36,1)}
  .cpop-pane.on[data-pane="messages"]{display:flex;flex-direction:column;flex:1;min-height:0}
  .cpop-thread{display:flex;flex-direction:column;gap:10px;flex:1;min-height:80px;overflow-y:auto;padding:2px}
  .cpop-msg{max-width:78%;padding:10px 14px;border-radius:16px;font-size:14.5px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
  .cpop-msg.me{align-self:flex-end;background:var(--ee-navy);color:#fff;border-bottom-right-radius:4px}
  .cpop-msg.them{align-self:flex-start;background:#f1f5f9;color:#0f172a;border-bottom-left-radius:4px}
  .cpop-msg.cheer{background:#e6f4ea}
  .cpop-when{font-size:11px;color:#64748b;margin-top:-6px}
  .cpop-when.me{align-self:flex-end}
  .cpop-sys{align-self:center;font-size:11.5px;color:#64748b;background:#f1f5f9;padding:4px 10px;border-radius:10px}
  .cpop-empty{color:#5b6472;font-size:14px;margin:4px 0 8px;line-height:1.55}
  .cpop-starters{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0;flex:0 0 auto}
  #cpopTx{flex:0 0 auto}
  .cpop-link{border:0;background:none;padding:0;font:inherit;text-decoration:underline;cursor:pointer}
  .cpop-chip{border:1px solid #d6dbe1;background:#fff;border-radius:999px;padding:6px 12px;font:inherit;font-size:12.5px;cursor:pointer;color:var(--ee-navy);transition:border-color .2s}
  .cpop-chip:hover{border-color:var(--ee-navy)}
  .cpop-compose{display:flex;gap:6px;align-items:flex-end;margin-top:12px;flex:0 0 auto;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:8px 8px 8px 14px;transition:border-color .15s,background .15s,box-shadow .2s}
  .cpop-compose:focus-within{border-color:#94a3b8;background:#fff;box-shadow:0 6px 20px rgba(15,23,42,.07)}
  .cpop-compose>:not(.cpop-send){flex:1;min-width:0}
  .cpop-compose textarea,.cpop-compose textarea:focus{width:100%;box-sizing:border-box;resize:none;min-height:24px;max-height:140px;border:0 !important;outline:0 !important;box-shadow:none !important;background:transparent !important;border-radius:0;padding:6px 0;font:inherit;font-size:14.5px;line-height:1.5}
  .cpop-send{width:40px;height:40px;border:0;border-radius:11px;background:var(--ee-navy);color:#fff;display:grid;place-items:center;cursor:pointer;flex:0 0 auto;transition:filter .2s,transform .15s}
  .cpop-send:hover{filter:brightness(1.12);transform:translateY(-1px)}
  .cpop-send svg{width:17px;height:17px}
  .cpop-to{display:flex;gap:8px;align-items:center;font-size:13px;margin:0 0 10px;color:#5b6472}
  .cpop-to select{border:1px solid #d6dbe1;border-radius:8px;padding:5px 8px;font:inherit;font-size:13px}
  .cpop-h{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#64748b;margin:4px 0 10px;font-weight:700}
  .cpop-p{font-size:14.5px;line-height:1.6;margin:0 0 12px}
  .cpop-p a{color:var(--ee-navy);font-weight:650}
  .cpop-foot{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;padding:12px 24px 16px;border-top:1px solid #eef0f3;flex:0 0 auto}
  .cpop-foot .cpop-btn{border-color:transparent;background:#f1f5f9}
  .cpop-foot .cpop-btn.pri{background:var(--ee-navy)}
  .cpop-foot .cpop-btn:hover{border-color:var(--ee-navy)}
  /* Get a coach: three steps, three choices, then coaches - all in here */
  .cpop-steps{list-style:none;margin:0 0 20px;padding:0;position:relative}
  .cpop-steps::before{content:"";position:absolute;left:17px;top:20px;bottom:20px;width:2px;background:#e2e8f0}
  .cpop-step{display:flex;gap:14px;align-items:flex-start;padding:8px 0;position:relative;animation:cpUp .4s cubic-bezier(.22,1,.36,1) backwards}
  .cpop-step:nth-child(2){animation-delay:.06s}.cpop-step:nth-child(3){animation-delay:.12s}
  .cpop-dot{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font:700 14px var(--ems-font-ui);flex:0 0 auto;background:#fff;border:2px solid #cbd5e1;color:#94a3b8;position:relative;z-index:1}
  .cpop-step.done .cpop-dot{background:#1e7a45;border-color:#1e7a45;color:#fff}
  .cpop-step.now .cpop-dot{background:var(--ee-navy);border-color:var(--ee-navy);color:#fff;animation:cpRing 2s ease-in-out infinite}
  @keyframes cpRing{0%,100%{box-shadow:0 0 0 0 rgba(42,56,144,.28)}50%{box-shadow:0 0 0 7px rgba(42,56,144,0)}}
  .cpop-st{flex:1;min-width:0;padding-top:2px}
  .cpop-st b{display:block;font-size:15px;color:#0f172a}
  .cpop-step.later .cpop-st b{color:#64748b}
  .cpop-step.now .cpop-st b::after{content:"You are here";margin-left:8px;font:700 10.5px/1 var(--ems-font-ui);letter-spacing:.06em;text-transform:uppercase;color:var(--ee-navy);background:var(--ems-navy-50);padding:3px 7px;border-radius:999px;vertical-align:2px}
  .cpop-st span{font-size:13px;color:#64748b;line-height:1.5}
  @keyframes cpBar{from{transform:scaleX(0)}}
  .cpop-st .cpop-btn{margin-top:10px}
  .cpop-offer{border:1px solid #dbe5ee;border-radius:16px;padding:18px;margin:0 0 18px;background:linear-gradient(170deg,#f3f8fc 0%,#fff 60%);animation:cpUp .45s cubic-bezier(.22,1,.36,1) .1s backwards}
  .cpop-offer h3{margin:0 0 4px;font:700 18px/1.3 var(--ems-font-display);color:#0f172a}
  .cpop-offer>p{margin:0 0 14px;font-size:13.5px;color:#5b6472;line-height:1.5}
  /* Before a match (11-09): quick picks, then their own words; the roadmap folded at the foot. */
  .cpop-picks{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 16px}
  .cpop-picks .cpop-chip{font-size:13px;padding:7px 13px;white-space:normal}
  .cpop-chip[aria-pressed="true"]{background:var(--ee-navy);border-color:var(--ee-navy);color:#fff}
  .cpop-opt{font-weight:500;color:#94a3b8;margin-left:6px;font-size:12px}
  .cpop-fold{border-top:1px solid #eef0f3;padding-top:12px}
  .cpop-fold>summary{cursor:pointer;font:600 13.5px var(--ems-font-ui);color:var(--ee-navy);list-style:none;display:flex;align-items:center;gap:6px}
  .cpop-fold>summary::-webkit-details-marker{display:none}
  .cpop-fold>summary::before{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .2s}
  .cpop-fold[open]>summary::before{transform:rotate(45deg)}
  .cpop-fold .cpop-road{margin-top:12px}
  .cpop-cc-rows{display:flex;flex-direction:column;gap:3px}
  .cpop-cc-rows span{display:flex;gap:7px;align-items:flex-start;font-size:12.5px;color:#475569;line-height:1.4}
  .cpop-cc-rows svg{width:14px;height:14px;margin-top:1px;color:#94a3b8}
  .cpop-more{border:0;background:none;color:var(--ee-navy);font:inherit;font-weight:700;font-size:13.5px;cursor:pointer;padding:6px 0;text-decoration:underline;text-underline-offset:3px}
  /* The relationship: Overview · Messages · Goals · Sessions (Tyler, 7 Oct) */
  .cpop-fcl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
  .cpop-fc{display:flex;gap:12px;align-items:flex-start;border:1px solid #e2e8f0;border-radius:14px;padding:12px 14px;background:#fff}
  .cpop-fc.done{background:#f8fafc}
  .cpop-fc-k{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--ems-navy-50);color:var(--ee-navy);flex:0 0 auto}
  .cpop-fc-t{flex:1;min-width:0}.cpop-fc-t b{display:block;font-size:14.5px;color:#0f172a}.cpop-fc-t small{display:block;font-size:12.5px;color:#64748b}
  .cpop-fc-t p{margin:6px 0 8px;font-size:13.5px;font-style:italic;color:#334155}
  .cpop-fc-t .cpop-row{margin-top:8px}
  .cpop-fc-st{flex:0 0 auto;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;background:var(--ems-navy-50);color:var(--ee-navy)}
  .cpop-fc-st.is-new{background:#fff4dc;color:#8a5a00}.cpop-fc-st.is-done{background:#e7f4ec;color:#1e7a45}
  .cpop-btn.sm{padding:7px 13px;font-size:13px}
  .cpop-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
  .cpop-ov{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #eef0f3;animation:cpUp .35s cubic-bezier(.22,1,.36,1) backwards}
  .cpop-ov:nth-child(2){animation-delay:.04s}.cpop-ov:nth-child(3){animation-delay:.08s}.cpop-ov:nth-child(4){animation-delay:.12s}
  .cpop-ov:last-of-type{border-bottom:0}
  .cpop-ov h3,.cpop-upnext h3{margin:0 0 10px;font:700 15.5px/1.3 var(--ems-font-display);color:#0f172a}
  .cpop-ov-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
  .cpop-ov-h .cpop-more{padding:0;font-size:13px}
  .cpop-ov-sub{margin:-4px 0 10px;font-size:13px;color:#64748b}
  .cpop-ov-empty{background:#f8fafc;border:1px dashed #d6dbe1;border-radius:14px;padding:14px 16px;margin:0 0 12px}
  .cpop-ov-empty b{display:block;font-size:14.5px;margin:0 0 4px;color:#0f172a}
  .cpop-ov-empty p{margin:0 0 10px;font-size:13.5px;line-height:1.55;color:#475569}
  .cpop-ov-empty p:last-child{margin:0}
  .cpop-lede{margin:0 0 14px;font-size:14px;line-height:1.55;color:#475569}
  .cpop-priv{font-size:12.5px;color:#64748b;line-height:1.5;margin:4px 0 0}
  .cpop-g{border:1px solid #e2e8f0;border-radius:14px;padding:12px 14px;margin:0 0 10px;cursor:pointer;background:#fff;transition:border-color .2s,box-shadow .2s,transform .2s}
  .cpop-g:hover,.cpop-g:focus-visible{border-color:var(--ee-navy);box-shadow:0 8px 18px rgba(42,56,144,.08);transform:translateY(-1px);outline:0}
  .cpop-g.ask{background:linear-gradient(170deg,#fff8e6 0%,#fff 70%);border-color:#f6e2ae}
  .cpop-g-top{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
  .cpop-g-top b{font-size:14.5px;color:#0f172a;line-height:1.35}
  .cpop-g-by{font-size:11.5px;font-weight:700;color:#64748b;white-space:nowrap;flex:0 0 auto}
  .cpop-g.ask .cpop-g-by{color:#8a5a00}
  .cpop-g-meta{font-size:12.5px;color:#64748b}
  .cpop-g-new{margin:4px 0 16px}
  .cpop-cheer{display:flex;gap:10px;align-items:flex-start;background:#e9f6ee;border-radius:14px;padding:12px 14px;margin:0 0 16px}
  .cpop-cheer>svg{color:#1e7a45;margin-top:2px}
  .cpop-cheer b{font-size:13px;color:#14532d}.cpop-cheer p{margin:3px 0 6px;font-size:14px;line-height:1.5;color:#0f172a}
  .cpop-said{display:block;width:100%;text-align:left;border:0;background:#f1f5f9;border-radius:16px 16px 16px 4px;padding:12px 14px;font:inherit;cursor:pointer;color:#0f172a;transition:background .2s}
  .cpop-said:hover{background:#e8eef5}
  .cpop-said span{display:block;font-size:14.5px;line-height:1.5}
  .cpop-said small{display:block;margin-top:6px;font-size:12px;color:#64748b;font-weight:650}
  .cpop-last,.cpop-tl-i{display:flex;gap:12px;align-items:flex-start}
  .cpop-last b,.cpop-tl-i b{font-size:14.5px;color:#0f172a}
  .cpop-last p,.cpop-tl-i p{margin:3px 0 0;font-size:14px;line-height:1.55;color:#334155;white-space:pre-wrap}
  .cpop-date{flex:0 0 auto;width:44px;border-radius:10px;background:var(--ems-navy-50);color:var(--ee-navy);text-align:center;padding:5px 0 4px;line-height:1}
  .cpop-date b{display:block;font-size:17px;color:inherit}.cpop-date small{display:block;font-size:10.5px;text-transform:uppercase;letter-spacing:.06em;margin-top:2px}
  .cpop-facts2{margin:0 0 10px}
  .cpop-who{display:flex;gap:12px;align-items:flex-start;padding:8px 0}
  .cpop .cpop-who-ph{width:44px;height:44px;border-radius:50%;flex:0 0 auto;object-fit:cover;display:grid;place-items:center;font:700 15px var(--ems-font-ui);background:var(--ems-navy-50);color:var(--ee-navy)}
  .cpop-who-id{min-width:0;flex:1}.cpop-who-id b{display:block;font-size:14.5px}.cpop-who-id small{display:block;font-size:12.5px;color:#64748b}
  .cpop-who-acts{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:5px}
  .cpop-who-acts .cpop-link{font-size:13px;text-decoration:none}
  .cpop-who-acts .cpop-link:hover{text-decoration:underline}
  .cpop-link.quiet{color:#64748b;font-weight:600}
  .cpop-upnext{background:linear-gradient(170deg,#f3f8fc 0%,#fff 70%);border:1px solid #dbe5ee;border-radius:16px;padding:16px;margin:0 0 20px}
  .cpop-agenda{margin:14px 0 0}
  .cpop-agenda label{display:block;font-size:13px;font-weight:700;color:#334155;margin:0 0 6px}
  .cpop-agenda-row{display:flex;gap:6px}
  .cpop-agenda-row input{flex:1;min-width:0;border:1px solid #cbd5e1;border-radius:10px;padding:8px 11px;font:inherit;font-size:14px;background:#fff}
  .cpop-agenda-row input:focus{outline:0;border-color:var(--ee-navy);box-shadow:0 0 0 3px rgba(42,56,144,.12)}
  .cpop-ag{list-style:none;margin:10px 0 0;padding:0}
  .cpop-ag li{display:flex;gap:7px;align-items:flex-start;font-size:13.5px;padding:3px 0;color:#0f172a}
  .cpop-ag svg{width:14px;height:14px;margin-top:3px;color:#1e7a45}
  .cpop-note{margin:4px 0 0;font-size:12px;color:#64748b}
  .cpop-tl{list-style:none;margin:0;padding:0}
  .cpop-tl-i{padding:0 0 16px;animation:cpUp .35s cubic-bezier(.22,1,.36,1) backwards}
  .cpop-tl-i.note .cpop-date{background:#e9f6ee;color:#1e7a45}
  .cpop-tl-i .cpop-link{font-size:12.5px;margin-top:5px;text-decoration:none}
  .cpop-tl-i .cpop-link:hover{text-decoration:underline}
  .cpop-foot.quiet{justify-content:flex-start;padding:10px 24px 12px}
  .cpop-explore{display:inline-flex;gap:7px;align-items:center;border:0;background:none;padding:4px 0;font:inherit;font-size:13px;font-weight:650;color:#64748b;cursor:pointer;transition:color .2s}
  .cpop-explore:hover{color:var(--ee-navy)}
  .cpop-explore svg{width:15px;height:15px}
  @media (max-width:760px){.cpop-head{padding:20px 52px 16px 18px}.cpop-acts,.cpop-body,.cpop-foot{padding-left:18px;padding-right:18px}.cpop-tabs{padding:8px 8px 0}.cpop-tab{padding:9px 9px 11px;font-size:13.5px}}

  @media (prefers-reduced-motion:reduce){.cpop *{animation:none !important}}

/* ── EMS's own, inside Pathways' panel ── */
.cpop-link{color:var(--ee-navy);font-weight:700}
/* styles.css gives every <nav> a column (the old sidebar): the tabs are a row. */
.cpop-tabs{flex-direction:row}
.cpop-hd{min-width:0}
.cpop-face.is-logo{background:#fff}
.cpop-face.is-logo img{width:54px;height:54px;object-fit:contain}
.cpop-head .cpop-face svg{width:34px;height:34px}
/* The compose box: Pathways' mic (dictation.js) beside Send. */
.cpop-compose>.cpop-mic{flex:0 0 auto}
.cpop-mic{width:34px;height:34px;align-self:center;margin-right:2px;border:1px solid var(--ems-line-2);border-radius:999px;background:#fff;color:var(--ems-mute-2);display:grid;place-items:center;cursor:pointer;opacity:.7;transition:opacity .15s,color .15s,border-color .15s,background .15s}
.cpop-mic:hover,.cpop-mic:focus-visible{opacity:1;color:var(--ee-navy);border-color:var(--ee-navy)}
.cpop .cpop-mic svg{width:16px;height:16px;fill:currentColor;stroke:none}
.cpop-mic.dict-on{opacity:1;color:#fff;background:#c0392b;border-color:#c0392b;animation:dictPulse 1.5s ease-in-out infinite}
.cpop-dict{flex:0 0 auto}
/* Action items from the mentor: Pathways' "From your coach" rows, the key a tick box. */
.cpop-tick{position:relative;cursor:pointer;background:#fff;border:2px solid var(--ems-line-2);color:transparent;transition:background .2s,border-color .2s,color .2s}
.cpop-tick input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.cpop-tick:hover{border-color:var(--ee-navy)}
.cpop-tick:has(input:focus-visible){box-shadow:var(--ems-focus)}
.cpop-tick span{display:grid;place-items:center}
.cpop-tick svg{width:18px;height:18px;stroke-width:2.6}
.cpop-fc.done .cpop-tick{background:#1e7a45;border-color:#1e7a45;color:#fff}
.cpop-fc.done .cpop-fc-t b{color:#64748b;text-decoration:line-through}
.cpop-fc-st.is-new{background:var(--ems-navy-50);color:var(--ee-navy)}
/* The request and family cards: a label, a box, a button. */
.cpop-lab{display:block;font-size:13.5px;font-weight:700;color:#0f172a;margin:0 0 6px}
.sp-panel .cpop-ta{display:block;width:100%;box-sizing:border-box;min-height:110px;border:1px solid #d6dbe1;border-radius:12px;padding:12px 14px;font:inherit;font-size:14.5px;line-height:1.5;resize:vertical;background:#fff}
.sp-panel .cpop-ta:focus{outline:0;border-color:var(--ee-navy);box-shadow:0 0 0 3px rgba(42,56,144,.1)}
.cpop-row-gap{margin-top:12px}
.cpop-status{font-size:13px;color:#64748b}
.cpop-asked{margin:0;padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #e2e8f0;font-size:14px;line-height:1.5}
.cpop-goalform{margin:6px 0 14px}
.sp-panel .cpop-agenda-row input{min-height:0}
.cpop-g[data-goto]{cursor:pointer}
/* Phone: the panel is the whole screen (side-panel.js); the band stays compact. */
@media (max-width:760px){.cpop-face{width:60px;height:60px;font-size:20px}.cpop-name{font-size:19px}.cpop-msg{max-width:88%}.cpop-starters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.cpop-chip{flex:0 0 auto;white-space:nowrap}}

/* The Mentoring Roadmap, in the mentor tab (11-08: My Mentoring moved off the
   left). Same cards as "From your mentor" (.cpop-fc); a tick or a number. */
.cpop-road{margin-top:18px}
.cpop-pane[data-pane="roadmap"] .cpop-road{margin-top:0}
.cpop-road-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.cpop-road-n{font:700 12px var(--ems-font-ui);color:var(--ee-navy);background:var(--ems-navy-50);padding:3px 9px;border-radius:999px}
.cpop-road-lead{margin:0 0 12px;font-size:13.5px;color:#5b6472;line-height:1.5}
.cpop-road-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.cpop-mile{display:flex;gap:12px;align-items:flex-start;border:1px solid #e2e8f0;border-radius:14px;padding:12px 14px;background:#fff;transition:background .2s,border-color .2s}
.cpop-mile.done{background:#f6faf7;border-color:#cfe5d6}
.cpop-mile.done b{color:#64748b;text-decoration:line-through;text-decoration-color:#94a3b8}
.cpop-mile-chk{flex:0 0 auto;padding-top:2px;cursor:pointer}
.cpop-mile-chk input{width:18px;height:18px;accent-color:var(--ee-navy);cursor:pointer}
.cpop-mile-no{flex:0 0 auto;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font:700 12px var(--ems-font-ui);background:var(--ems-navy-50);color:var(--ee-navy)}
.cpop-mile-b{flex:1;min-width:0}
.cpop-mile-b b{display:block;font-size:14.5px;color:#0f172a;margin-bottom:2px}
.cpop-mile-b>span{display:block;font-size:13px;color:#64748b;line-height:1.5}
.cpop-mile-go{margin-top:6px;display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:0;font:600 13px var(--ems-font-ui);color:var(--ee-navy);cursor:pointer}
.cpop-mile-go:hover{text-decoration:underline}
.cpop-mile-go svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ── 11-15 redesign (ems-mentor.js overviewHtml, contract C55) ──────────────
   Who you work with (the band, Message in it), what to do next (ONE focus card
   in a soft navy tint, bigger type), what they last said (beside their to-dos),
   everything else one click deeper. White for ordinary content. */
.cpop-head-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.cpop-btn.cpop-btn-band{background:#fff;color:var(--ee-navy);border-color:transparent;box-shadow:0 4px 14px rgba(8,12,48,.25)}
.cpop-btn.cpop-btn-band:hover{border-color:transparent;background:var(--ems-navy-50)}
.cpop-btn.cpop-btn-ghost{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.35);box-shadow:none}
.cpop-btn.cpop-btn-ghost:hover{background:rgba(255,255,255,.2);border-color:#fff}

.cpop-focus{position:relative;padding:18px 20px 18px;border-radius:18px;border:1px solid var(--ems-navy-100);background:linear-gradient(155deg,var(--ems-navy-50) 0%,#fff 78%);box-shadow:0 1px 2px rgba(22,32,99,.05);animation:cpUp .35s cubic-bezier(.22,1,.36,1) backwards}
.cpop-focus::before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:4px;border-radius:0 4px 4px 0;background:var(--ee-navy)}
.cpop-focus-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px}
.cpop-focus-k{font:750 11.5px/1 var(--ems-font-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--ee-navy)}
.cpop-focus-n{font:650 12.5px var(--ems-font-ui);color:var(--ems-mute-2);white-space:nowrap}
.cpop-focus-t{margin:0 0 4px;font:700 19px/1.3 var(--ems-font-display);color:#0f172a}
.cpop-focus-d{margin:0 0 14px;font-size:14.5px;line-height:1.55;color:#475569}
.cpop-focus .cpop-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.cpop-focus .cpop-selfmark{margin-left:4px;font-size:13.5px;font-weight:650;color:var(--ee-navy);text-decoration:underline;text-underline-offset:3px}
.cpop-focus-msg{display:flex;gap:12px;align-items:flex-start;margin:2px 0 14px}
.cpop-focus-q{margin:0;padding:12px 15px;border-radius:18px 18px 18px 6px;background:#fff;border:1px solid #e3e8f0;font:400 16px/1.5 var(--ems-font-body);color:#0f172a;flex:1;min-width:0}
.cpop-focus-when{font:600 12.5px var(--ems-font-ui);color:var(--ems-mute-2)}
.cpop-focus.is-todo .cpop-fcl{margin:0}
.cpop-fc.is-big{border-color:transparent;background:#fff;box-shadow:0 0 0 1px #e3e8f0}
.cpop-fc.is-big .cpop-fc-t b{font:650 16px/1.4 var(--ems-font-ui)}

.cpop-face-sm{flex:none;width:38px;height:38px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--ems-navy-50);color:var(--ee-navy);font:700 13px var(--ems-font-ui)}
.cpop-face-sm img{width:100%;height:100%;object-fit:cover;display:block}

/* to-dos | latest message, side by side when there is room */
.cpop-duo{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:12px;align-items:start}
.cpop-duo:empty{display:none}
.cpop-duo .cpop-fcl{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.cpop-duo .cpop-fc{padding:10px 12px}
.cpop-more-n{margin:8px 2px 0;font-size:12.5px;color:#64748b}
.cpop-said.cpop-said-face{display:flex;gap:10px;align-items:flex-start;border-radius:16px}
.cpop-said-t{flex:1;min-width:0}

/* With <mentor>: the six milestones, compact; the current one lit */
.cpop-miles{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.cpop-ml{display:flex;gap:11px;align-items:flex-start;padding:8px 8px;border-radius:12px}
.cpop-ml.is-now{background:var(--ems-navy-50)}
.cpop-ml-k{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font:700 11.5px var(--ems-font-ui);background:#eef2f6;color:#64748b}
.cpop-ml.is-done .cpop-ml-k{background:var(--ems-good);color:#fff}
.cpop-ml.is-now .cpop-ml-k{background:var(--ee-navy);color:#fff}
.cpop-ml-k svg{width:13px;height:13px;stroke-width:3}
.cpop-ml-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;padding-top:2px}
.cpop-ml-t b{font:650 14px/1.35 var(--ems-font-ui);color:#0f172a}
.cpop-ml.is-later .cpop-ml-t b{color:#475569;font-weight:600}
.cpop-ml-t small{font:600 12.5px/1.4 var(--ems-font-ui);color:#64748b}
.cpop-ml-t small.is-ok{color:var(--ems-good)}
.cpop-ml-t small.is-part{color:var(--ems-warn)}
.cpop-ml-t .cpop-row{margin-top:8px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}

/* About <mentor>: folded */
.cpop-about{border:1px solid var(--ems-line);border-radius:16px;background:#fff;padding:0 16px}
.cpop-about>summary{display:flex;align-items:center;gap:10px;padding:13px 0;cursor:pointer;list-style:none;font:700 14.5px var(--ems-font-display);color:#0f172a}
.cpop-about>summary::-webkit-details-marker{display:none}
.cpop-about>summary::after{content:"";margin-left:auto;width:8px;height:8px;border-right:2px solid #94a3b8;border-bottom:2px solid #94a3b8;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.cpop-about[open]>summary::after{transform:rotate(-135deg) translateY(-2px)}
.cpop-about>summary svg{color:var(--ee-navy)}
.cpop-about[open]{padding-bottom:14px}
@media (max-width:760px){.cpop-focus{padding:16px}.cpop-focus-t{font-size:17.5px}.cpop-head-acts{margin-top:10px}}

/* Goals from <mentor> (11-16): counted from the member's own records
   (goal-kinds.js), never ticked - a count, a bar, the date. */
.cpop-gls{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.cpop-gl{display:flex;gap:12px;align-items:center;padding:10px 12px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}
.cpop-gl-n{flex:none;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--ems-navy-50);color:var(--ee-navy);font:750 16px/1 var(--ems-font-ui)}
.cpop-gl-n small{font-size:11px;font-weight:650;color:#64748b}
.cpop-gl-n svg{width:18px;height:18px;stroke-width:3}
.cpop-gl.is-done .cpop-gl-n{background:var(--ems-good);color:#fff}
.cpop-gl.is-late .cpop-gl-n{background:#fff4dc;color:#8a5a00}
.cpop-gl-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.cpop-gl-t b{font:650 14.5px/1.35 var(--ems-font-ui);color:#0f172a}
.cpop-gl.is-done .cpop-gl-t b{color:#64748b}
.cpop-gl-t small{font:600 12.5px var(--ems-font-ui);color:#64748b}
.cpop-gl.is-late .cpop-gl-t small{color:#8a5a00}
.cpop-gl-bar{display:block;height:5px;margin-top:3px;border-radius:999px;background:#eef2f6;overflow:hidden}
.cpop-gl-bar i{display:block;height:100%;border-radius:inherit;background:var(--ee-navy);transition:width .5s ease}
.cpop-gl.is-done .cpop-gl-bar i{background:var(--ems-good)}
.cpop-gls.is-big .cpop-gl{border-color:transparent;box-shadow:0 0 0 1px #e3e8f0}
.cpop-gls.is-big .cpop-gl-t b{font-size:16px}
.cpop-focus.is-goal .cpop-focus-d{margin:10px 0 12px}
