/* ==========================================================================
   MTN SME Hub, Sales Advisor components (shared across advisor V1/V2/V3)
   Built against the brief's Sales Advisor pillar: progressive survey,
   predictive custom quote with a next-best action, calendar scheduling,
   trackable sales actions, and recovery of abandoned journeys.
   ========================================================================== */

/* ----- Custom quote with line items ----- */
.quote-doc{ border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; background:#fff; box-shadow:var(--shadow); }
.quote-hd{ background:var(--ink); color:#fff; padding:20px 24px; position:relative; overflow:hidden; }
.quote-hd::before{ content:""; position:absolute; top:-70px; right:-50px; width:200px; height:200px; border-radius:50%; background:radial-gradient(circle, rgba(255,197,2,.26) 0%, transparent 70%); }
.quote-hd > *{ position:relative; z-index:1; }
.quote-hd .lbl{ font-size:10px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--yellow); margin-bottom:6px; }
.quote-hd h3{ color:#fff; font-size:19px; margin-bottom:4px; }
.quote-hd .ref{ font-size:11.5px; color:rgba(255,255,255,.55); font-family:ui-monospace,Menlo,monospace; }
.quote-lines{ padding:6px 24px; }
.q-line{ display:grid; grid-template-columns:1fr auto; gap:14px; padding:14px 0; border-bottom:1px solid var(--border); align-items:start; }
.q-line:last-of-type{ border-bottom:none; }
.q-line .nm{ font-size:13.5px; font-weight:700; margin-bottom:3px; }
.q-line .cfg{ font-size:11.5px; color:var(--muted); line-height:1.5; }
.q-line .amt{ text-align:right; white-space:nowrap; }
.q-line .amt b{ font-size:14px; }
.q-line .amt span{ display:block; font-size:10.5px; color:var(--muted-2); }
.q-tot{ background:var(--surface); padding:16px 24px; border-top:1px solid var(--border); }
.q-tot .row{ display:flex; justify-content:space-between; font-size:12.5px; color:var(--muted); padding:3px 0; }
.q-tot .row.big{ font-size:16px; font-weight:800; color:var(--ink); padding-top:9px; margin-top:6px; border-top:1px solid var(--border); }
.q-foot{ padding:14px 24px; font-size:10.5px; color:var(--muted-2); line-height:1.5; border-top:1px solid var(--border); }

/* ----- Next best action ----- */
.nba-box{ display:flex; gap:13px; align-items:flex-start; background:var(--yellow-tint); border:1px solid var(--yellow-tint-2); border-radius:var(--radius-sm); padding:16px 18px; }
.nba-box .ic{ width:34px; height:34px; border-radius:9px; background:var(--yellow); color:var(--ink); display:grid; place-items:center; flex-shrink:0; }
.nba-box b{ display:block; font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; color:var(--yellow-shade); margin-bottom:4px; }
.nba-box p{ font-size:13.5px; font-weight:600; color:var(--ink); line-height:1.5; }

/* ----- Calendar scheduling ----- */
.cal{ border:1px solid var(--border); border-radius:var(--radius); padding:22px 24px; background:#fff; }
.cal .adviser{ display:flex; align-items:center; gap:13px; padding-bottom:16px; margin-bottom:16px; border-bottom:1px solid var(--border); }
.cal .adviser .av{ width:44px; height:44px; border-radius:50%; background:var(--ink); color:var(--yellow); display:grid; place-items:center; font-weight:800; font-size:15px; flex-shrink:0; }
.cal .adviser b{ display:block; font-size:14px; }
.cal .adviser span{ font-size:11.5px; color:var(--muted); }
.cal h5{ font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; color:var(--muted-2); margin-bottom:11px; }
.cal-days{ display:grid; grid-template-columns:repeat(5,1fr); gap:7px; margin-bottom:18px; }
.cal-day{ text-align:center; border:1.5px solid var(--border); border-radius:8px; padding:9px 4px; cursor:pointer; transition:border-color .15s, background .15s; }
.cal-day:hover{ border-color:var(--yellow); }
.cal-day.sel{ background:var(--ink); border-color:var(--ink); color:#fff; }
.cal-day .dw{ font-size:10px; text-transform:uppercase; letter-spacing:.05em; opacity:.65; }
.cal-day .dn{ font-size:16px; font-weight:800; margin-top:2px; }
.cal-times{ display:grid; grid-template-columns:repeat(4,1fr); gap:7px; }
.cal-time{ text-align:center; border:1.5px solid var(--border); border-radius:8px; padding:9px 4px; font-size:12.5px; font-weight:700; cursor:pointer; }
.cal-time:hover{ border-color:var(--yellow); }
.cal-time.sel{ background:var(--yellow); border-color:var(--yellow); }
.cal-time.gone{ opacity:.4; cursor:not-allowed; text-decoration:line-through; }
@media(max-width:640px){ .cal-days{ grid-template-columns:repeat(3,1fr); } .cal-times{ grid-template-columns:repeat(2,1fr); } }

/* ----- Traceable lead / owner assignment ----- */
.lead-card{ border:1px dashed var(--border); border-radius:var(--radius-sm); padding:16px 18px; background:var(--surface); }
.lead-card h5{ font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; color:var(--muted-2); margin-bottom:12px; }
.lead-row{ display:flex; justify-content:space-between; gap:12px; font-size:12.5px; padding:5px 0; }
.lead-row span{ color:var(--muted); }
.lead-row b{ font-weight:700; text-align:right; }
.lead-row .mono{ font-family:ui-monospace,Menlo,monospace; font-size:12px; }

/* ----- Journey recovery ----- */
.recover{ display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); padding:14px 18px; }
.recover p{ font-size:12.5px; color:var(--muted); }
.recover p b{ color:var(--ink); }

/* ----- Trackable action feed ----- */
.track{ border:1px solid var(--border); border-radius:var(--radius-sm); background:#fff; overflow:hidden; }
.track .hd{ background:var(--surface); padding:11px 16px; border-bottom:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; }
.track .hd h5{ font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; color:var(--muted-2); }
.track .hd .dot{ width:7px; height:7px; border-radius:50%; background:#1B8A5A; }
.track ul{ list-style:none; max-height:190px; overflow-y:auto; }
.track li{ padding:9px 16px; border-bottom:1px solid var(--border); font-size:11.5px; color:var(--muted); display:flex; gap:9px; }
.track li:last-child{ border-bottom:none; }
.track li .t{ font-family:ui-monospace,Menlo,monospace; color:var(--muted-2); flex-shrink:0; }
.track li b{ color:var(--ink); font-weight:700; }
.track .empty{ padding:16px; font-size:11.5px; color:var(--muted-2); text-align:center; }

/* ==========================================================================
   ADVISOR V2: conversational
   ========================================================================== */
.chat-shell{ display:grid; grid-template-columns:1fr 380px; gap:24px; align-items:start; }
.chat{ border:1px solid var(--border); border-radius:var(--radius); background:#fff; box-shadow:var(--shadow); display:flex; flex-direction:column; min-height:520px; }
.chat-hd{ display:flex; align-items:center; gap:12px; padding:16px 20px; border-bottom:1px solid var(--border); }
.chat-hd .av{ width:38px; height:38px; border-radius:50%; background:var(--yellow); color:var(--ink); display:grid; place-items:center; font-weight:800; font-size:13px; }
.chat-hd b{ display:block; font-size:14px; }
.chat-hd span{ font-size:11.5px; color:#1B8A5A; font-weight:600; }
.chat-log{ flex:1; padding:20px; display:flex; flex-direction:column; gap:14px; overflow-y:auto; max-height:440px; }
.msg{ max-width:78%; font-size:13.5px; line-height:1.55; padding:12px 15px; border-radius:14px; }
.msg.bot{ background:var(--surface); border:1px solid var(--border); border-bottom-left-radius:4px; align-self:flex-start; }
.msg.me{ background:var(--ink); color:#fff; border-bottom-right-radius:4px; align-self:flex-end; }
.msg.typing{ display:flex; gap:4px; align-items:center; }
.msg.typing i{ width:6px; height:6px; border-radius:50%; background:var(--muted-2); display:inline-block; animation:chatBlink 1.2s infinite; }
.msg.typing i:nth-child(2){ animation-delay:.2s; }
.msg.typing i:nth-child(3){ animation-delay:.4s; }
@keyframes chatBlink{ 0%,60%,100%{ opacity:.25; } 30%{ opacity:1; } }
.chat-reply{ border-top:1px solid var(--border); padding:14px 20px; display:flex; gap:8px; flex-wrap:wrap; }
.reply-chip{ border:1.5px solid var(--border); background:#fff; border-radius:999px; padding:9px 16px; font-family:inherit; font-size:12.5px; font-weight:700; cursor:pointer; color:var(--ink); }
.reply-chip:hover{ border-color:var(--yellow); background:var(--yellow-tint); }
.chat-side{ position:sticky; top:88px; display:flex; flex-direction:column; gap:14px; }
.side-empty{ border:1px dashed var(--border); border-radius:var(--radius); padding:26px 22px; text-align:center; }
.side-empty p{ font-size:12.5px; color:var(--muted-2); line-height:1.6; }
@media(max-width:1000px){ .chat-shell{ grid-template-columns:1fr; } .chat-side{ position:static; } }

/* ==========================================================================
   ADVISOR V3: solutions browser with persistent quote rail
   ========================================================================== */
.browse-shell{ display:grid; grid-template-columns:1fr 340px; gap:24px; align-items:start; }
.sol-filters{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:18px; }
.sol-filter{ border:1.5px solid var(--border); background:#fff; border-radius:999px; padding:8px 16px; font-family:inherit; font-size:12.5px; font-weight:700; cursor:pointer; color:var(--muted); }
.sol-filter:hover{ border-color:var(--yellow); color:var(--ink); }
.sol-filter.on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.sol-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.sol{ border:1px solid var(--border); border-radius:var(--radius); padding:20px; background:#fff; position:relative; overflow:hidden; }
.sol::after{ content:""; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg, var(--yellow) 0%, #FFE066 60%, transparent 100%); }
.sol .cat{ font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:var(--muted-2); margin-bottom:7px; }
.sol h4{ font-size:15px; margin-bottom:7px; }
.sol p{ font-size:12.5px; color:var(--muted); line-height:1.5; margin-bottom:12px; }
.sol .pr{ display:flex; align-items:baseline; gap:5px; margin-bottom:14px; }
.sol .pr b{ font-size:18px; font-weight:800; }
.sol .pr span{ font-size:11px; color:var(--muted); }
.sol .acts{ display:flex; gap:7px; align-items:center; flex-wrap:wrap; }
.add-btn{ border:1.5px solid var(--ink); background:#fff; color:var(--ink); border-radius:8px; padding:8px 14px; font-family:inherit; font-size:12px; font-weight:800; cursor:pointer; }
.add-btn:hover{ background:var(--ink); color:#fff; }
.add-btn.added{ background:var(--yellow); border-color:var(--yellow); color:var(--ink); }
.rail{ position:sticky; top:88px; display:flex; flex-direction:column; gap:14px; }
.rail-quote{ border:1px solid var(--border); border-radius:var(--radius); background:#fff; box-shadow:var(--shadow); overflow:hidden; }
.rail-quote .hd{ background:var(--ink); color:#fff; padding:15px 18px; display:flex; justify-content:space-between; align-items:center; }
.rail-quote .hd h4{ color:#fff; font-size:14px; }
.rail-quote .hd .cnt{ background:var(--yellow); color:var(--ink); font-size:11px; font-weight:800; border-radius:999px; padding:2px 9px; }
.rail-items{ padding:6px 18px; max-height:260px; overflow-y:auto; }
.rail-item{ display:flex; justify-content:space-between; gap:10px; padding:11px 0; border-bottom:1px solid var(--border); font-size:12.5px; align-items:start; }
.rail-item:last-child{ border-bottom:none; }
.rail-item b{ display:block; font-size:12.5px; margin-bottom:2px; }
.rail-item span{ font-size:11px; color:var(--muted); }
.rail-item .rm{ border:none; background:none; color:var(--muted-2); cursor:pointer; font-size:15px; line-height:1; padding:0 2px; }
.rail-item .rm:hover{ color:#C0392B; }
.rail-foot{ padding:16px 18px; border-top:1px solid var(--border); background:var(--surface); }
.rail-foot .tot{ display:flex; justify-content:space-between; font-size:15px; font-weight:800; margin-bottom:13px; }
.rail-empty{ padding:26px 18px; text-align:center; font-size:12.5px; color:var(--muted-2); line-height:1.6; }
@media(max-width:1100px){ .browse-shell{ grid-template-columns:1fr; } .rail{ position:static; } .sol-list{ grid-template-columns:1fr; } }

.rail-item .ri-right{ display:flex; align-items:center; gap:9px; flex-shrink:0; }
.rail-item .ri-right b{ margin-bottom:0; white-space:nowrap; font-size:12.5px; }
.track li .t{ min-width:34px; }
.track li span:last-child{ line-height:1.45; }

/* =====================================================================
   Advisor cockpit: shared by the guided (V1) and assessment (V2) versions.
   ===================================================================== */
  /* ===== Hero ===== */
  .adv-hero{ background:var(--ink); color:#fff; padding:54px 0 58px; position:relative; overflow:hidden; }
  .adv-hero::before{ content:""; position:absolute; top:-160px; right:-100px; width:520px; height:520px; border-radius:50%; background:radial-gradient(circle, rgba(255,197,2,.22) 0%, transparent 70%); }
  .adv-hero::after{ content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size:22px 22px; opacity:.5; pointer-events:none; }
  .adv-hero .wrap{ position:relative; z-index:1; }
  .adv-hero .eyebrow-label{ color:var(--yellow); }
  .adv-hero .eyebrow-label::before{ background:var(--yellow); }
  .adv-hero h1{ color:#fff; font-size:clamp(28px,4vw,42px); max-width:620px; margin:10px 0 14px; }
  .adv-hero p.lede{ color:rgba(255,255,255,.66); font-size:15.5px; max-width:540px; }
  .adv-trust{ display:flex; gap:30px; margin-top:30px; flex-wrap:wrap; }
  .adv-trust > div{ display:flex; align-items:flex-start; gap:10px; max-width:250px; }
  .adv-trust .tk{ width:26px; height:26px; border-radius:7px; background:rgba(255,197,2,.16); color:var(--yellow); display:grid; place-items:center; flex-shrink:0; }
  .adv-trust b{ display:block; color:#fff; font-size:13px; margin-bottom:2px; }
  .adv-trust span{ font-size:11.5px; color:rgba(255,255,255,.5); line-height:1.5; }

  /* ===== Resume banner (journey recovery) ===== */
  .qc-resume{ display:none; background:var(--yellow-tint); border:1px solid var(--yellow-tint-2); border-radius:var(--radius); padding:16px 18px; margin-bottom:20px; align-items:center; gap:16px; }
  .qc-resume.show{ display:flex; }
  .qc-resume .ic{ width:34px; height:34px; border-radius:9px; background:var(--yellow); color:var(--ink-hex); display:grid; place-items:center; flex-shrink:0; }
  .qc-resume p{ flex:1; font-size:13px; color:var(--ink); }
  .qc-resume p b{ display:block; font-size:13.5px; margin-bottom:2px; }
  .qc-resume .acts{ display:flex; gap:8px; flex-shrink:0; }

  /* ===== Cockpit shell ===== */
  .qc{ display:grid; grid-template-columns:1fr 372px; gap:22px; align-items:start; }
  .qc-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); position:relative; overflow:hidden; }
  .qc-card::before{ content:""; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg, var(--yellow) 0%, #FFE066 60%, transparent 100%); }
  .qc-main{ padding:30px 32px 28px; }

  /* progress */
  .qc-prog{ margin-bottom:26px; }
  .qc-segs{ display:flex; gap:5px; margin-bottom:9px; }
  .qc-segs i{ flex:1; height:4px; border-radius:2px; background:var(--surface-2); transition:background .25s; }
  .qc-segs i.on{ background:var(--yellow); }
  .qc-segs i.done{ background:var(--yellow-shade); }
  .qc-prog .pl{ display:flex; justify-content:space-between; font-size:11px; color:var(--muted-2); font-weight:700; letter-spacing:.04em; text-transform:uppercase; }

  /* steps */
  .qc-step{ display:none; }
  .qc-step.active{ display:block; animation:qcIn .28s ease both; }
  @keyframes qcIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
  .qc-step h2{ font-size:clamp(19px,2.2vw,25px); margin-bottom:6px; letter-spacing:-.02em; }
  .qc-step .hint{ font-size:13px; color:var(--muted); margin-bottom:22px; }

  .qc-opts{ display:grid; grid-template-columns:1fr 1fr; gap:11px; }
  .qc-opt{ border:1.5px solid var(--border); border-radius:var(--radius-sm); padding:16px 17px; cursor:pointer; background:#fff; transition:border-color .15s, background .15s, transform .15s; display:flex; gap:13px; align-items:flex-start; text-align:left; }
  .qc-opt:hover{ border-color:var(--yellow); transform:translateY(-2px); }
  .qc-opt.sel{ border-color:var(--yellow); background:var(--yellow-tint); }
  .qc-opt .oi{ width:34px; height:34px; border-radius:9px; background:var(--surface); color:var(--muted); display:grid; place-items:center; flex-shrink:0; transition:background .15s, color .15s; }
  .qc-opt.sel .oi{ background:var(--yellow); color:var(--ink-hex); }
  .qc-opt b{ display:block; font-size:13.5px; margin-bottom:3px; }
  .qc-opt span{ font-size:11.5px; color:var(--muted); line-height:1.5; }

  .qc-fields{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
  .qc-field{ display:block; }
  .qc-field.full{ grid-column:1 / -1; }
  .qc-field label{ font-size:12px; font-weight:700; display:block; margin-bottom:6px; }
  .qc-field input{ width:100%; padding:12px 13px; border:1.5px solid var(--border); border-radius:var(--radius-sm); font-size:13.5px; font-family:inherit; background:var(--surface); outline:none; transition:border-color .15s, background .15s; }
  .qc-field input:focus{ border-color:var(--yellow); background:#fff; }
  .qc-consent{ grid-column:1 / -1; font-size:11.5px; color:var(--muted); line-height:1.55; background:var(--surface); border-radius:var(--radius-sm); padding:12px 14px; }

  .qc-nav{ display:flex; align-items:center; gap:12px; margin-top:24px; }
  .qc-back{ width:40px; height:40px; border-radius:var(--radius-sm); border:1.5px solid var(--border); background:#fff; display:grid; place-items:center; cursor:pointer; color:var(--muted); flex-shrink:0; }
  .qc-back:hover{ border-color:var(--ink); color:var(--ink); }
  .qc-go{ flex:1; padding:13px 20px; border:none; border-radius:var(--radius-sm); background:var(--surface-2); color:var(--muted-2); font-size:14px; font-weight:800; font-family:inherit; cursor:not-allowed; }
  .qc-go.ready{ background:var(--yellow); color:var(--ink-hex); cursor:pointer; box-shadow:0 4px 14px rgba(255,197,2,.35); }
  .qc-go.ready:hover{ background:var(--yellow-shade); }

  /* ===== Vetting pass ===== */
  .qc-vet{ padding:8px 0 4px; }
  .qc-vet h3{ font-size:17px; margin-bottom:4px; }
  .qc-vet .sub{ font-size:12.5px; color:var(--muted); margin-bottom:22px; }
  .qc-check{ display:flex; align-items:center; gap:13px; padding:13px 0; border-bottom:1px solid var(--border); opacity:.35; transition:opacity .3s; }
  .qc-check.on{ opacity:1; }
  .qc-check .cb{ width:24px; height:24px; border-radius:50%; background:var(--surface-2); color:var(--muted-2); display:grid; place-items:center; flex-shrink:0; transition:background .3s, color .3s; }
  .qc-check.on .cb{ background:var(--yellow); color:var(--ink-hex); }
  .qc-check .cl{ flex:1; font-size:13px; font-weight:700; }
  .qc-check .cv{ font-size:12px; color:var(--muted); }

  .qc-grade{ margin-top:22px; border-radius:var(--radius-sm); padding:18px 20px; background:var(--surface); border:1px solid var(--border); display:none; }
  .qc-grade.show{ display:block; animation:qcIn .3s ease both; }
  .qc-grade .gt{ display:flex; align-items:baseline; justify-content:space-between; gap:14px; margin-bottom:12px; }
  .qc-grade .gt b{ font-size:15px; }
  .qc-grade .gt i{ font-style:normal; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; padding:4px 10px; border-radius:5px; }
  .qc-grade.hot .gt i{ background:var(--yellow); color:var(--ink-hex); }
  .qc-grade.warm .gt i{ background:var(--yellow-tint-2); color:var(--yellow-shade); }
  .qc-grade.cool .gt i{ background:var(--surface-2); color:var(--muted); }
  .qc-grade .gbar{ height:7px; border-radius:4px; background:var(--surface-2); overflow:hidden; margin-bottom:10px; }
  .qc-grade .gbar em{ display:block; height:100%; width:0; background:var(--yellow); border-radius:4px; transition:width .8s cubic-bezier(.2,.8,.2,1); }
  .qc-grade p{ font-size:12.5px; color:var(--muted); line-height:1.6; }

  /* ===== Rail: the live quote ===== */
  .qc-rail{ position:sticky; top:20px; }
  .qc-rail-in{ padding:22px 22px 20px; }
  .qc-rail h4{ font-size:13px; text-transform:uppercase; letter-spacing:.09em; color:var(--muted-2); margin-bottom:4px; }
  .qc-rail .qsol{ font-size:17px; font-weight:800; letter-spacing:-.01em; margin-bottom:3px; color:var(--ink); }
  .qc-rail .ref{ font-size:11px; color:var(--muted-2); font-family:monospace; margin-bottom:18px; }

  .qc-meter{ margin-bottom:18px; }
  .qc-meter .mh{ display:flex; justify-content:space-between; font-size:11px; font-weight:700; color:var(--muted); margin-bottom:6px; }
  .qc-meter .mb{ height:5px; border-radius:3px; background:var(--surface-2); overflow:hidden; }
  .qc-meter .mb em{ display:block; height:100%; width:0; background:linear-gradient(90deg, var(--yellow), #FFE066); transition:width .5s ease; }

  .qc-lines{ min-height:120px; }
  .qc-skel{ padding:6px 0; }
  .qc-skel i{ display:block; height:10px; border-radius:5px; background:var(--surface-2); margin-bottom:14px; }
  .qc-skel i:nth-child(2){ width:72%; } .qc-skel i:nth-child(3){ width:84%; } .qc-skel i:nth-child(4){ width:56%; }
  .qc-skel p{ font-size:12px; color:var(--muted-2); margin-top:14px; line-height:1.6; }

  .qc-line{ display:flex; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid var(--border); animation:qcIn .3s ease both; }
  .qc-line .ln{ font-size:12.5px; font-weight:700; line-height:1.4; }
  .qc-line .lc{ font-size:10.5px; color:var(--muted-2); margin-top:3px; line-height:1.45; }
  .qc-line .la{ text-align:right; flex-shrink:0; }
  .qc-line .la b{ display:block; font-size:13px; }
  .qc-line .la span{ font-size:10px; color:var(--muted-2); }

  .qc-tot{ margin-top:16px; padding-top:14px; border-top:2px solid var(--ink); }
  .qc-tot .tr{ display:flex; justify-content:space-between; font-size:12.5px; color:var(--muted); margin-bottom:7px; }
  .qc-tot .tr.big{ margin:12px 0 0; padding-top:12px; border-top:1px solid var(--border); font-size:15px; font-weight:800; color:var(--ink); }
  .qc-tot .tr.big span:last-child{ font-size:21px; }
  .qc-foot{ font-size:10.5px; color:var(--muted-2); line-height:1.6; margin-top:14px; }

  /* tracked activity */
  .qc-log{ margin-top:14px; border-top:1px solid var(--border); padding-top:14px; }
  .qc-log h5{ font-size:10.5px; text-transform:uppercase; letter-spacing:.09em; color:var(--muted-2); margin-bottom:10px; display:flex; align-items:center; gap:7px; }
  .qc-log h5 i{ width:6px; height:6px; border-radius:50%; background:var(--yellow); flex-shrink:0; }
  .qc-log ol{ list-style:none; }
  .qc-log li{ font-size:11px; color:var(--muted); padding:4px 0 4px 13px; position:relative; animation:qcIn .25s ease both; line-height:1.5; }
  .qc-log li::before{ content:""; position:absolute; left:0; top:10px; width:5px; height:5px; border-radius:50%; background:var(--border); }
  .qc-log li b{ color:var(--ink); font-weight:700; }
  .qc-log .none{ font-size:11px; color:var(--muted-2); }

  /* ===== Result / quote document ===== */
  .qc-res{ display:none; }
  .qc-res.show{ display:block; animation:qcIn .3s ease both; }
  .qc-tag{ display:inline-flex; align-items:center; gap:7px; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; color:var(--yellow-shade); background:var(--yellow-tint); border:1px solid var(--yellow-tint-2); padding:5px 11px; border-radius:6px; margin-bottom:14px; }
  .qc-nba{ display:flex; gap:14px; background:var(--ink); color:#fff; border-radius:var(--radius-sm); padding:18px 20px; margin-bottom:18px; }
  .qc-nba .ni{ width:34px; height:34px; border-radius:9px; background:rgba(255,197,2,.16); color:var(--yellow); display:grid; place-items:center; flex-shrink:0; }
  .qc-nba b{ display:block; font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--yellow); margin-bottom:5px; }
  .qc-nba p{ font-size:13px; color:rgba(255,255,255,.72); line-height:1.6; }

  /* calendar */
  .qc-cal{ border:1px solid var(--border); border-radius:var(--radius-sm); padding:20px; margin-bottom:18px; }
  .qc-adv{ display:flex; align-items:center; gap:13px; padding-bottom:16px; margin-bottom:16px; border-bottom:1px solid var(--border); }
  .qc-adv .av{ width:42px; height:42px; border-radius:50%; background:var(--yellow); color:var(--ink-hex); display:grid; place-items:center; font-weight:800; font-size:14px; flex-shrink:0; }
  .qc-adv b{ display:block; font-size:14px; }
  .qc-adv span{ font-size:11.5px; color:var(--muted); }
  .qc-cal h5{ font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted-2); margin:0 0 9px; }
  .qc-days{ display:grid; grid-template-columns:repeat(5,1fr); gap:7px; margin-bottom:18px; }
  .qc-day{ border:1.5px solid var(--border); border-radius:var(--radius-sm); padding:9px 4px; text-align:center; cursor:pointer; transition:border-color .15s, background .15s; }
  .qc-day:hover{ border-color:var(--yellow); }
  .qc-day.sel{ border-color:var(--yellow); background:var(--yellow-tint); }
  .qc-day .dw{ font-size:10px; color:var(--muted-2); font-weight:700; text-transform:uppercase; }
  .qc-day .dn{ font-size:16px; font-weight:800; }
  .qc-times{ display:grid; grid-template-columns:repeat(4,1fr); gap:7px; }
  .qc-time{ border:1.5px solid var(--border); border-radius:var(--radius-sm); padding:9px 4px; text-align:center; font-size:12.5px; font-weight:700; cursor:pointer; transition:border-color .15s, background .15s; }
  .qc-time:hover{ border-color:var(--yellow); }
  .qc-time.sel{ border-color:var(--yellow); background:var(--yellow-tint); }
  .qc-time.gone{ opacity:.34; cursor:not-allowed; text-decoration:line-through; }
  .qc-time.gone:hover{ border-color:var(--border); }

  .qc-recover{ background:var(--surface); border-radius:var(--radius-sm); padding:16px 18px; display:flex; align-items:center; gap:16px; }
  .qc-recover p{ flex:1; font-size:12.5px; color:var(--muted); }
  .qc-recover p b{ color:var(--ink); }

  /* booked */
  .qc-lead{ border:1px solid var(--border); border-radius:var(--radius-sm); padding:20px; margin-bottom:18px; background:var(--surface); }
  .qc-lead h5{ font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted-2); margin-bottom:14px; }
  .qc-lrow{ display:flex; justify-content:space-between; gap:14px; padding:9px 0; border-bottom:1px solid var(--border); font-size:12.5px; }
  .qc-lrow:last-child{ border-bottom:none; }
  .qc-lrow span{ color:var(--muted); }
  .qc-lrow b.mono{ font-family:monospace; }
  .qc-hand{ display:flex; gap:14px; align-items:center; background:var(--yellow-tint); border:1px solid var(--yellow-tint-2); border-radius:var(--radius-sm); padding:18px 20px; }
  .qc-hand .hi{ width:34px; height:34px; border-radius:9px; background:var(--yellow); color:var(--ink-hex); display:grid; place-items:center; flex-shrink:0; }
  .qc-hand div p{ font-size:12.5px; color:var(--muted); line-height:1.55; }
  .qc-hand div b{ display:block; font-size:13.5px; color:var(--ink); margin-bottom:3px; }

  /* ===== Knowledge centre ===== */
  .kc-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
  .kc-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-sm); padding:18px; box-shadow:var(--shadow); transition:box-shadow .15s, transform .15s; }
  .kc-card:hover{ box-shadow:var(--shadow-hover); transform:translateY(-2px); }
  .kc-card .ic{ width:36px; height:36px; border-radius:9px; background:var(--yellow-tint); color:var(--yellow-shade); display:grid; place-items:center; margin-bottom:14px; }
  .kc-card h4{ font-size:13.5px; line-height:1.35; margin-bottom:8px; }
  .kc-card span{ font-size:11.5px; color:var(--muted); }

  @media(max-width:1040px){
    .qc{ grid-template-columns:1fr; }
    .qc-rail{ position:static; top:auto; }
    .kc-grid{ grid-template-columns:repeat(2,1fr); }
  }
  @media(max-width:700px){
    .qc-main{ padding:24px 20px 22px; }
    .qc-opts{ grid-template-columns:1fr; }
    .qc-fields{ grid-template-columns:1fr; }
    .qc-days{ grid-template-columns:repeat(3,1fr); }
    .qc-times{ grid-template-columns:repeat(3,1fr); }
    .adv-trust{ gap:18px; }
    .qc-resume{ flex-wrap:wrap; }
    .qc-recover{ flex-wrap:wrap; }
    .qc-hand{ flex-wrap:wrap; }
  }

/* =====================================================================
   Assessment advisor (V2): readiness scorecard and partner applications.
   ===================================================================== */
.as-score{ margin-bottom:16px; }
.as-dim{ margin-bottom:11px; }
.as-dim .dh{ display:flex; justify-content:space-between; align-items:baseline; font-size:11.5px; margin-bottom:5px; }
.as-dim .dh b{ font-weight:700; color:var(--ink); }
.as-dim .dh span{ font-size:10.5px; color:var(--muted-2); font-weight:700; }
.as-dim .db{ height:6px; border-radius:3px; background:var(--surface-2); overflow:hidden; }
.as-dim .db em{ display:block; height:100%; width:0; border-radius:3px; background:var(--yellow); transition:width .55s cubic-bezier(.2,.8,.2,1); }
.as-dim.weak .db em{ background:var(--yellow-shade); }
.as-dim.pending .dh b{ color:var(--muted-2); }

.as-overall{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:14px 0 0; margin-top:4px; border-top:1px solid var(--border); }
.as-overall span{ font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--muted-2); }
.as-overall b{ font-size:26px; font-weight:800; letter-spacing:-.02em; }

/* verdict panel in the main column */
.as-verdict{ border:1px solid var(--border); border-radius:var(--radius-sm); padding:20px 22px; margin-bottom:18px; background:var(--surface); }
.as-verdict h3{ font-size:17px; margin-bottom:4px; }
.as-verdict p.vs{ font-size:12.5px; color:var(--muted); line-height:1.6; margin-bottom:16px; }
.as-gaps{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.as-gap{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-sm); padding:14px 16px; }
.as-gap .gl{ font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; color:var(--yellow-shade); margin-bottom:6px; }
.as-gap b{ display:block; font-size:13.5px; margin-bottom:4px; }
.as-gap span{ font-size:11.5px; color:var(--muted); line-height:1.5; }

/* partner applications, started and tracked on the Hub */
.as-partners{ margin-bottom:18px; }
.as-partners > h4{ font-size:13px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted-2); margin-bottom:6px; }
.as-partners > p.ph{ font-size:12.5px; color:var(--muted); line-height:1.6; margin-bottom:14px; }
.as-partner{ display:flex; align-items:center; gap:14px; border:1px solid var(--border); border-radius:var(--radius-sm); padding:15px 17px; margin-bottom:9px; background:#fff; transition:border-color .15s; }
.as-partner:hover{ border-color:var(--yellow); }
.as-partner .pi{ width:38px; height:38px; border-radius:9px; background:var(--yellow-tint); color:var(--yellow-shade); display:grid; place-items:center; flex-shrink:0; font-weight:800; font-size:12px; }
.as-partner .pm{ flex:1; min-width:0; }
.as-partner .pm b{ display:block; font-size:13.5px; margin-bottom:3px; }
.as-partner .pm span{ font-size:11.5px; color:var(--muted); line-height:1.5; display:block; }
.as-partner .fit{ font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; padding:3px 8px; border-radius:5px; background:var(--yellow-tint); color:var(--yellow-shade); border:1px solid var(--yellow-tint-2); display:inline-block; margin-top:6px; }
.as-partner .fit.strong{ background:var(--yellow); color:var(--ink-hex); border-color:var(--yellow); }
.as-apply{ border:1.5px solid var(--ink); background:#fff; color:var(--ink); border-radius:var(--radius-sm); padding:9px 15px; font-family:inherit; font-size:12px; font-weight:800; cursor:pointer; flex-shrink:0; }
.as-apply:hover{ background:var(--ink); color:#fff; }
.as-apply.done{ background:var(--yellow-tint); border-color:var(--yellow); color:var(--yellow-shade); cursor:default; }
.as-apply.done:hover{ background:var(--yellow-tint); color:var(--yellow-shade); }

.as-refs{ background:var(--ink); border-radius:var(--radius-sm); padding:16px 18px; margin-bottom:18px; display:none; }
.as-refs.show{ display:block; }
.as-refs h5{ font-size:10.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--yellow); margin-bottom:10px; }
.as-refs .rr{ display:flex; justify-content:space-between; gap:12px; font-size:12px; color:rgba(255,255,255,.72); padding:5px 0; }
.as-refs .rr b{ color:#fff; font-family:monospace; }

@media(max-width:700px){
  .as-gaps{ grid-template-columns:1fr; }
  .as-partner{ flex-wrap:wrap; }
}
