.lab-page{max-width:1150px;margin:auto;padding:30px 32px 20px}.lab-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:40px;gap:20px}.lab-page h1{font-size:43px;margin:14px 0}.intro{font-size:14px;color:#8e819e;line-height:1.8;max-width:650px}.steps{display:grid;grid-template-columns:repeat(4,1fr);padding:0;list-style:none;border:1px solid #e5ddef;border-radius:12px;background:#fff;overflow:hidden;margin:30px 0}.steps li{font-size:11px;color:#aa9bb9;padding:19px 16px;border-right:1px solid #eee8f4;display:flex;gap:10px;align-items:center}.steps li:last-child{border:0}.steps li.active{background:#ede6fa;color:#7757bc}.step-panel{max-width:820px;margin:0 auto}.step-panel h2{font-size:25px;margin:12px 0 24px}.step-panel textarea{min-height:100px;font-family:inherit;font-size:13px}.step-panel label{font-size:12px}.fields{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.fields label{min-width:0}.guidance{padding:16px;border-radius:10px;border:1px solid #e5dcef;background:#f9f6ff;font-size:12px;color:#81679c;line-height:1.8;margin:20px 0}.planner-actions{display:flex;justify-content:flex-end;gap:15px;margin:20px auto;max-width:820px}.planner-actions .secondary-button{width:auto}.choices{display:flex;flex-wrap:wrap;gap:10px}.choices label{display:flex;align-items:center;gap:8px;border:1px solid #e7dfef;padding:12px;border-radius:9px;margin:0;font-size:12px;line-height:1.6}.choices input{width:auto;margin:0;flex-shrink:0}.choices input:checked{accent-color:#7757d8}.lab-page fieldset{border:0;padding:0;margin:0 0 25px}.lab-page legend{font-size:12px;font-weight:600;margin-bottom:15px}.skill-category{margin:20px 0}.skill-category h3{font-size:13px;margin:0 0 12px}.lab-page .muted{font-size:11px}.result-header{display:flex;align-items:center;justify-content:space-between;margin:45px 0 20px;gap:20px}.result-header h2{font-size:25px;margin:12px 0}.result-header button{width:auto}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.summary-tile{padding:20px;background:#fff;border:1px solid #e6deef;border-radius:11px}.summary-tile strong{font-size:25px;font-weight:500;display:block;margin-bottom:8px}.summary-tile span{font-size:11px;color:#9a8ca6}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.result-grid .panel{min-width:0}.observation{padding:13px;border:1px solid #e9e2ef;border-left:3px solid #b7a4d2;border-radius:8px;margin:12px 0}.observation.gap{border-left-color:#cc8652;background:#fff9ef}.observation strong{font-size:12px;display:block}.observation p{font-size:11px;margin:8px 0;line-height:1.7}.observation small{color:#ab9ab7;font-size:9px}.required-item{border-bottom:1px solid #ece6f1;padding:15px 0}.required-item strong{font-size:12px}.required-item p{margin:8px 0 0;font-size:11px;line-height:1.7}.lab-page #sources a{display:block;font-size:10px;margin:12px 0;overflow-wrap:anywhere;line-height:1.7}.lab-page #sources p{font-size:10px}.lab-footer{font-size:10px;color:#a698b1;text-align:center;margin:40px 0 15px}.result-grid .panel h3{font-size:14px;margin:25px 0 0}.quotation-meta{font-size:11px;color:#9787a3;line-height:1.8}.lab-page .line-item{font-size:12px}.lab-page .check-label span{float:none}.lab-page button:disabled{opacity:.45}.lab-page #download{width:auto;margin-top:15px}.lab-page #purchase-button{margin-top:10px}@media(max-width:700px){.lab-page{padding:20px 16px}.lab-page h1{font-size:34px}.lab-header{margin-bottom:30px}.steps{grid-template-columns:1fr 1fr}.steps li{font-size:10px;padding:13px}.fields,.result-grid{grid-template-columns:1fr}.summary-grid{grid-template-columns:1fr 1fr}.step-panel{padding:21px}.lab-header .brand{font-size:23px}.result-header{align-items:flex-start}.result-header h2{font-size:21px}.result-header button{font-size:9px}.choices{gap:8px}.choices label{padding:10px;font-size:11px}}@media print{#planner,.lab-header,.steps,#notice,#error,.planner-actions,#purchase,#download,#edit,.lab-footer{display:none!important}.lab-page{padding:0}.result-grid{display:block}.panel{break-inside:avoid}.summary-grid{grid-template-columns:repeat(4,1fr)}}

/* ── Autopilot ── */
.lab-page .status-badge{background:#ffffffb8}
.autopilot{position:relative;margin:28px 0 22px;padding:28px;border-radius:22px;border:1px solid transparent;background:linear-gradient(#ffffffeb,#ffffffeb) padding-box,linear-gradient(135deg,#c4b1f4,#9ddcec,#ecb8e8) border-box;box-shadow:0 20px 60px #5a3fa01a;backdrop-filter:blur(14px)}
.pilot-head{display:flex;gap:16px;align-items:center;margin-bottom:18px}
.pilot-head h2{font-size:24px;font-weight:500;letter-spacing:-.6px;margin:8px 0 0}
.pilot-log:not(:empty){max-height:420px;overflow-y:auto;padding:4px 2px 6px;margin-bottom:12px}
.pilot-log .message{font-size:13px}
.pilot-notes{margin:12px 0 0;padding-left:18px;font-size:11px;color:#8a7a9c;line-height:1.7;white-space:normal}
.pilot-question{margin:12px 0 0;padding:10px 12px;border-radius:10px;background:#f4effe;color:#5d43a0;font-size:12px;font-weight:550;white-space:normal}
.understood{margin:4px 0 16px;padding:14px 16px;border-radius:14px;background:#fbf9ff;border:1px solid #ece5f7}
.understood .eyebrow{margin-bottom:10px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.understood .legend{letter-spacing:0;font-weight:400;color:#a58d63;display:inline-flex;align-items:center;gap:6px}
.understood .legend i{width:14px;height:10px;border:1px dashed #e0bf86;background:#fffaf0;border-radius:4px;display:inline-block}
.pilot-composer textarea{font-size:14px}
.prompt-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.manual-panel{margin:10px 0 0;border:1px solid #e8e1f1;border-radius:16px;background:#ffffffb8;padding:0 18px}
.manual-panel>summary{cursor:pointer;padding:16px 0;display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px;color:#6e54a8;font-weight:550;list-style:none}
.manual-panel>summary::-webkit-details-marker{display:none}
.manual-panel>summary:before{content:'⚙';margin-right:4px}
.manual-panel>summary span{margin-right:auto}
.manual-panel>summary small{font-size:10px;color:#a99cb8;font-weight:400}
.manual-panel[open]{padding-bottom:10px}
.manual-panel .steps{margin-top:4px}
@media(max-width:700px){.autopilot{padding:20px 16px}.pilot-head h2{font-size:20px}.manual-panel>summary small{display:none}}
@media print{.autopilot,.manual-panel{display:none!important}}

/* ── Autopilot motion ── */
.autopilot{background:linear-gradient(#ffffffeb,#ffffffeb) padding-box,linear-gradient(90deg,#c4b1f4,#9ddcec,#ecb8e8,#c4b1f4) border-box;background-size:100% 100%,300% 100%;animation:rise .7s cubic-bezier(.2,.8,.2,1) both,border-flow 9s linear infinite}
.autopilot.busy{animation:rise .7s cubic-bezier(.2,.8,.2,1) both,border-flow 1.6s linear infinite}
.lab-page>h1,.lab-page>.intro,.lab-page>.eyebrow,.lab-page>#notice{animation:rise .6s cubic-bezier(.2,.8,.2,1) both}
.lab-page>.intro{animation-delay:.08s}.lab-page>#notice{animation-delay:.16s}
.pilot-question{animation:pop .45s .2s both}
.pilot-notes li{animation:rise .4s both}
.pilot-notes li:nth-child(2){animation-delay:.08s}.pilot-notes li:nth-child(3){animation-delay:.16s}.pilot-notes li:nth-child(4){animation-delay:.24s}
.understood:not([hidden]){animation:rise .45s both}
#results.reveal .result-header,#results.reveal #ai,#results.reveal>.panel{animation:rise .6s cubic-bezier(.2,.8,.2,1) both}
#results.reveal #ai{animation-delay:.08s}
.summary-tile,.observation,.required-item,#quotation .line-item,#quotation .total-line{animation:rise .5s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(.15s + var(--i,0) * 60ms)}
.summary-tile{transition:transform .2s,box-shadow .2s}
.summary-tile:hover{transform:translateY(-3px);box-shadow:0 12px 30px #5a3fa01a}
.manual-panel[open]>form,.manual-panel[open]>.steps{animation:rise .4s both}

/* ── Shop comparisons ── */
.ready-grid,.course-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.ready-card,.course-card{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid #e6deef;border-radius:12px;background:#fff;animation:rise .45s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 70ms)}
.ready-card strong,.course-card strong{font-size:13px;color:#3d2f6b}
.ready-price{font-size:20px;font-weight:600;color:#3d2f6b}
.ready-card small,.course-card small{font-size:10px;color:#9a8ca6}
.course-card span{font-size:12px;color:#6e54a8}

/* ── Course picker ── */
.picker{margin:0 0 16px;padding:14px 16px;border-radius:14px;background:#fbf9ff;border:1px solid #ece5f7}
.picker-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.picker .legend{letter-spacing:0;font-weight:400;color:#a99cb8;margin-left:8px}
.picker-group{margin:8px 0}
.picker-group small{display:block;font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#9a8bb8;margin-bottom:6px}
.picker-row{display:flex;flex-wrap:wrap;gap:7px}
.pick,.tier{border:1px solid #e1d6f4;background:#fff;color:#6e54a8;border-radius:20px;padding:7px 13px;font-size:11px;transition:transform .15s,background .2s,border-color .2s,box-shadow .2s;animation:pop .35s both;animation-delay:calc(var(--i,0) * 35ms)}
.pick:hover,.tier:hover{transform:translateY(-1px);border-color:#b9a2e6}
.pick[aria-pressed="true"],.tier[aria-pressed="true"]{background:linear-gradient(135deg,#7757d8,#22a7c9);border-color:transparent;color:#fff;box-shadow:0 6px 16px #7757d833}
.pick[aria-pressed="true"]:before{content:'✓ '}
.pick.nope{animation:nope .35s}
@keyframes nope{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.tier-toggle{display:flex;gap:4px;padding:3px;border-radius:22px;background:#f1ecfb}
.tier-toggle .tier{animation:none;border:0;background:none}
.course-card.selected{border-color:#a78bfa;box-shadow:0 0 0 3px #8b5cf61a}
.course-pick{margin:6px 0 0;font-size:11px}
.course-count{font-size:10px;margin:4px 0 0}
.course-count input{margin-top:4px;padding:6px 8px}
.course-browse{display:flex;gap:10px;align-items:flex-end;margin-top:14px;flex-wrap:wrap}
.course-browse label{flex:1;min-width:220px;margin:0}
.course-browse .secondary-button{width:auto;padding:10px 14px}
.tier-toggle .tier[aria-pressed="true"]{background:linear-gradient(135deg,#7757d8,#22a7c9);color:#fff}

.live-course-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.live-course-heading h2{margin:10px 0}.live-course-browser #live-course-list{max-height:520px;overflow:auto;padding:8px 4px;margin:20px 0}.live-course-browser .course-card strong{font-size:13px;line-height:1.6}.live-course-browser .course-card p{margin:0}.live-course-browser .course-count{margin-top:auto}.live-course-browser input[type=search]{width:100%}@media(max-width:700px){.live-course-heading{align-items:flex-start;flex-direction:column}}
/* Embedded: compact layout in the host's colours (Skillvation navy/blue); the host supplies the title. */
body.embedded{--ink:#0b2545;--purple:#2563eb;--purple-dark:#1d4ed8;--line:#e2e8f0;background:#fff;font-family:"Plus Jakarta Sans",Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.embedded .lab-page{max-width:none;padding:18px 22px 8px}
body.embedded .lab-header,body.embedded .lab-page>.eyebrow,body.embedded .lab-page>h1,body.embedded .intro,body.embedded .lab-footer{display:none}
body.embedded #notice{margin:0 0 14px;padding:8px 12px;font-size:11px;border-radius:8px;background:#f8fafc;color:#64748b;border:1px solid var(--line)}
body.embedded .autopilot{margin:0 0 14px;padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:none;backdrop-filter:none;animation:none}
body.embedded .pilot-head{margin-bottom:14px;gap:12px}
body.embedded:before{display:none}
body.embedded .mascot-slot{width:72px}
body.embedded .mascot-slot .mascot{width:72px;height:auto;filter:none}
body.embedded .mascot-bubble:before{border-color:var(--line)}
body.embedded .pilot-head .eyebrow,body.embedded .picker .eyebrow,body.embedded .understood .eyebrow{color:#64748b}
body.embedded .pilot-head h2{font-size:19px;font-weight:700;letter-spacing:-.3px;color:var(--ink)}
body.embedded .mascot-bubble{border-color:var(--line);color:#334155;box-shadow:none;font-size:12px}
body.embedded .picker,body.embedded .understood{background:#f8fafc;border-color:var(--line)}
body.embedded .picker .legend,body.embedded .picker-group small{color:#94a3b8}
body.embedded .pick,body.embedded .tier{border-color:#cbd5e1;color:var(--ink);font-weight:600}
body.embedded .pick:hover,body.embedded .tier:hover{border-color:var(--purple)}
body.embedded .pick[aria-pressed="true"],body.embedded .tier[aria-pressed="true"],body.embedded .tier-toggle .tier[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:none}
body.embedded .tier-toggle{background:#eef2f7}
body.embedded .chip{background:#eff6ff;border-color:#dbeafe;color:var(--ink)}
body.embedded .composer{border-color:#cbd5e1;border-radius:12px;box-shadow:none}
body.embedded .composer:focus-within{border-color:var(--purple);box-shadow:0 0 0 3px #2563eb1f}
body.embedded .composer-bottom button{background:#f4742b}
body.embedded .composer-bottom .mic-button{background:#eff6ff;color:var(--purple)}
body.embedded .prompt-chips button{border-color:var(--line);background:#fff;color:#334155}
body.embedded .prompt-chips button:hover{border-color:var(--purple);color:var(--purple)}
body.embedded .manual-panel{background:#fff;border-color:var(--line);border-radius:12px}
body.embedded .manual-panel>summary{color:var(--ink)}
body.embedded .steps{border-color:var(--line)}
body.embedded .steps li.active{background:#eff6ff;color:var(--purple)}
body.embedded .panel{border-color:var(--line);border-radius:12px;padding:20px;margin:14px 0}
body.embedded .panel h2,body.embedded .result-header h2{color:var(--ink);font-weight:700}
body.embedded .result-header{margin:22px 0 12px}
body.embedded .summary-tile{border-color:var(--line)}
body.embedded .secondary-button{background:#fff;border-color:#cbd5e1;color:var(--ink)}
body.embedded .primary-button{background:var(--ink)}
body.embedded .primary-button:hover{background:var(--purple)}
@media(max-width:700px){body.embedded .lab-page{padding:12px 12px 6px}body.embedded .mascot-slot{display:none}body.embedded .autopilot{padding:14px}}
/* In the shop's popup the cart is the review, quotation and checkout: Kalpana's results report is hidden
   (the shop moves to the cart as soon as the plan is ready), and so are courses, which the shop cart cannot sell. */
body.embedded #results,body.embedded #live-course-browser{display:none!important}
/* Plan by budget */
.budget-plan{margin:0 0 22px;padding:22px 24px;border-radius:18px;background:#ffffffd9;border:1px solid #e8e1f1}
.budget-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}
.budget-head h2{font-size:20px;font-weight:550;margin:8px 0 6px}
.budget-head .muted{margin:0;max-width:520px}
.budget-form label{margin-bottom:6px}
.budget-input{display:flex;gap:8px}
.budget-input input{margin:0;width:190px}
.budget-input .primary-button{white-space:nowrap}
.budget-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.budget-grid:not(:empty){margin-top:18px}
.budget-card{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid #e3daf5;border-radius:14px;background:#fff;animation:rise .45s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 70ms)}
.budget-card h3{font-size:15px;margin:2px 0 0}
.budget-card .budget-skills{font-size:11px;color:var(--muted);line-height:1.6;margin:0}
.budget-card .budget-price{font-size:22px;font-weight:600;letter-spacing:-.5px;margin-top:auto;padding-top:6px}
.budget-card .muted{margin:0}
.budget-card .primary-button{margin-top:6px}
#budget-note{margin:12px 0 0}
body.embedded .budget-plan{background:#fff;border-color:var(--line);border-radius:14px;padding:18px 20px;margin:0 0 14px}
body.embedded .budget-head h2{font-size:17px;font-weight:700;color:var(--ink)}
body.embedded .budget-head .eyebrow{color:#64748b}
body.embedded .budget-input input{border-color:#cbd5e1}
body.embedded .budget-card{border-color:var(--line);border-radius:12px}
body.embedded .budget-card .eyebrow{color:#f4742b}
body.embedded .budget-card h3,body.embedded .budget-card .budget-price{color:var(--ink)}
body.embedded .budget-card .primary-button{background:#f4742b}
body.embedded .budget-card .primary-button:hover{background:#dc6420}
@media(max-width:700px){.budget-input{flex-direction:column}.budget-input input{width:100%}}
.budget-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:8px;min-height:18px}
#budget-words{font-size:11px;color:var(--muted)}
.budget-gst{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:11px;white-space:nowrap}
.budget-gst input{width:auto;margin:0}
.budget-quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.budget-quick button{border:1px solid #e1d6f4;background:#fff;color:#6e54a8;border-radius:16px;padding:5px 11px;font-size:11px}
.budget-quick button:hover{border-color:var(--purple)}
.budget-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.budget-badge{font-size:9px;font-weight:650;letter-spacing:.3px;color:var(--green);background:#ebf5ef;border:1px solid #dfede5;border-radius:12px;padding:3px 8px;white-space:nowrap}
.budget-card .budget-left{font-size:11px;font-weight:600;color:var(--green);margin:0}
.budget-items{font-size:11px;color:var(--muted)}
.budget-items summary{cursor:pointer;color:var(--purple);font-weight:550}
.budget-items ul{margin:6px 0 0;padding-left:16px;max-height:160px;overflow-y:auto;line-height:1.7}
body.embedded .budget-quick button{border-color:#cbd5e1;color:var(--ink)}
body.embedded .budget-quick button:hover{border-color:var(--purple);color:var(--purple)}
body.embedded .budget-items summary{color:var(--purple)}
/* Guided mode: confirmation before planning */
.pilot-confirm{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:4px 0 16px;padding:14px 16px;border-radius:14px;background:#ebf5ef;border:1px solid #cfe6d8}
.pilot-confirm strong{display:block;font-size:13px;color:#1f5f4a}
.pilot-confirm span{font-size:11px;color:#4f7a68}
.pilot-confirm:not([hidden]){animation:rise .45s both}
body.embedded .pilot-confirm .primary-button{background:#f4742b}
body.embedded .pilot-confirm .primary-button:hover{background:#dc6420}
/* Level comparison, product review and CBSE warning */
.tier-area{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.link-button{background:none;border:0;padding:0;font-size:11px;color:var(--purple);text-decoration:underline;text-underline-offset:3px}
.tier-columns{margin-top:6px}
#tier-dialog{width:min(1100px,96vw);max-height:92vh}
.cmp-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
.cmp-card{display:flex;flex-direction:column;gap:4px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}
.cmp-card.current{border-color:var(--purple);box-shadow:0 0 0 2px #7757d81f}
.cmp-card h3{font-size:20px;margin:2px 0 0}
.cmp-price{font-size:24px;font-weight:700;letter-spacing:-.5px}
.cmp-sub{font-size:11px;color:var(--muted);margin:0}
.cmp-summary{font-size:12px;font-weight:600;color:var(--green);margin:6px 0 8px;line-height:1.5}
.cmp-card button{margin-top:auto}
.cmp-title{font-size:15px;margin:22px 0 8px}
.cmp-table{display:grid;grid-template-columns:170px repeat(var(--cols),minmax(0,1fr));border:1px solid var(--line);border-radius:12px;overflow:hidden}
.cmp-head{font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--muted);background:#f8fafc;padding:10px 12px;border-bottom:1px solid var(--line)}
.cmp-row-label{font-size:12px;font-weight:700;padding:12px;border-bottom:1px solid var(--line);background:#fcfcfe}
.cmp-row-label.shared{color:var(--muted)}
.cmp-cell{padding:10px 12px;border-bottom:1px solid var(--line);border-left:1px solid var(--line)}
.cmp-cell.current{background:#fbfaff}
.cmp-items{display:flex;flex-wrap:wrap;gap:5px}
.cmp-item,.cmp-add{font-size:11px;line-height:1.3;padding:4px 8px;border-radius:12px}
.cmp-item{background:#f1f5f9;color:#334155}
.cmp-add{background:#e7f6ee;color:#1f6b4c;font-weight:600}
.cmp-more{font-size:11px;padding:4px 8px;border-radius:12px;background:none;border:1px dashed #cbd5e1;color:var(--purple)}
.cmp-plus{font-size:10px;color:var(--muted);margin:0 0 6px}
.cmp-none{font-size:11px;color:var(--muted);margin:0;font-style:italic}
body.embedded .cmp-card.current{border-color:var(--ink);box-shadow:0 0 0 2px #0b25451a}
body.embedded .cmp-card .primary-button{background:#f4742b}
@media(max-width:760px){.cmp-cards{grid-template-columns:1fr}.cmp-table{grid-template-columns:1fr}.cmp-head{display:none}.cmp-row-label{border-top:2px solid var(--line)}.cmp-cell{border-left:0}.cmp-cell::before{content:attr(data-tier);display:block;font-size:10px;font-weight:700;color:var(--muted);margin-bottom:4px}}
.pilot-review{margin:4px 0 16px;padding:16px 18px;border-radius:14px;background:#fff;border:1px solid var(--line)}
.pilot-review:not([hidden]){animation:rise .45s both}
.review-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}
.review-head h3{font-size:16px;margin:6px 0 0}
.review-head .secondary-button{width:auto}
.review-lines{max-height:320px;overflow-y:auto;border-top:1px solid var(--line)}
.review-line{display:grid;grid-template-columns:1fr auto auto;gap:4px 14px;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px;animation:rise .35s both;animation-delay:calc(var(--i,0) * 30ms)}
.review-line .review-qty{color:var(--muted)}
.review-line .review-amount{font-weight:600;text-align:right;white-space:nowrap}
.review-line small{grid-column:1/-1;font-size:10px;color:#9b6c32}
.review-line.course .review-amount{color:var(--muted)}
.review-totals{margin-top:8px}
.review-total{display:flex;justify-content:space-between;font-size:12px;padding:4px 0;color:var(--muted)}
.review-total.strong{font-size:16px;font-weight:700;color:var(--ink);padding-top:8px}
#review-go{margin-top:10px;width:100%}
#cbse-dialog{width:min(520px,94vw)}
#cbse-dialog-text{font-size:13px;line-height:1.7;color:var(--ink)}
body.embedded .link-button{color:var(--purple)}
body.embedded .tier-column.current{border-color:var(--ink);box-shadow:0 0 0 2px #0b25451a}
body.embedded .tier-column .primary-button,body.embedded #review-go,body.embedded #cbse-dialog-back{background:#f4742b}
body.embedded .pilot-review .eyebrow,body.embedded #cbse-dialog .eyebrow,body.embedded #tier-dialog .eyebrow{color:#64748b}
@media(max-width:700px){.tier-area{align-items:flex-start}}
/* Level per skill area */
.skill-levels{margin-top:12px;padding-top:12px;border-top:1px dashed #e2d9f3;display:flex;flex-direction:column;gap:6px}
.skill-levels-head{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;margin-bottom:2px}
.skill-levels-head .legend{font-size:10px;color:#a99cb8}
.skill-level-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:6px 10px;border-radius:10px;background:#fff;border:1px solid #ece5f7}
.skill-level-name{font-size:12px;font-weight:600}
.skill-level-toggle{display:flex;gap:3px;padding:3px;border-radius:18px;background:#f1ecfb}
.skill-level-toggle .tier{padding:4px 10px;font-size:10px;animation:none}
.skill-level-toggle .tier:disabled{opacity:.35;cursor:not-allowed;text-decoration:line-through}
body.embedded .skill-levels{border-top-color:var(--line)}
body.embedded .skill-level-row{border-color:var(--line)}
body.embedded .skill-level-toggle{background:#eef2f7}
/* Chat box sits right under the conversation; summary and pickers follow. */
#autopilot #pilot-examples{margin-bottom:16px}
/* SkillShop theme inside the Design My Lab popup: the shop's colours (--tg-theme-primary, secondary,
   heading colour) and fonts (Poppins headings, Inter text), one scroll area and a calm chat. */
body.embedded{--ink:#161439;--purple:#5751E1;--purple-dark:#4741c9;--accent:#FFC224;--line:#e6e6ef;font-family:Inter,"Plus Jakarta Sans",ui-sans-serif,system-ui,sans-serif;color:#4b4a5e}
body.embedded h1,body.embedded h2,body.embedded h3,body.embedded .eyebrow,body.embedded .primary-button,body.embedded .secondary-button,body.embedded .message .speaker{font-family:Poppins,Inter,ui-sans-serif,system-ui,sans-serif}
body.embedded .pilot-head h2{color:var(--ink);font-weight:600}
body.embedded .pilot-head .eyebrow{color:var(--purple)}
body.embedded .pilot-log:not(:empty){max-height:none;overflow:visible}
body.embedded .message{font-size:13px;line-height:1.7;margin-bottom:14px}
body.embedded .message.user{margin-left:18%;padding:11px 15px;border:1px solid #e3e1fb;border-radius:16px 16px 4px 16px;background:#f2f1fd;color:var(--ink);box-shadow:none}
body.embedded .message.assistant{padding:14px 16px;border:1px solid var(--line);border-radius:4px 16px 16px 16px;background:#fff;color:#33324a;box-shadow:0 4px 14px #16143909}
body.embedded .message .speaker{margin-bottom:6px;color:var(--purple);font-size:10px;font-weight:600;letter-spacing:.8px}
body.embedded .message.thinking>div{background:linear-gradient(90deg,#8d8ab0 0%,#5751E1 45%,#8d8ab0 60%);background-size:250% 100%;-webkit-background-clip:text;background-clip:text}
body.embedded .pilot-question{border-left:3px solid var(--accent);border-radius:8px;background:#fff8e1;color:#5c4400;font-weight:600}
body.embedded .composer-bottom button,body.embedded .composer-bottom .composer-actions button{background:var(--purple);border-radius:50%}
body.embedded .composer-bottom .composer-actions button:hover{background:var(--purple-dark)}
body.embedded .composer-bottom .composer-actions .mic-button{border:1px solid #e3e1fb;background:#f2f1fd;color:var(--purple)}
body.embedded .composer:focus-within{border-color:var(--purple);box-shadow:0 0 0 3px #5751e11f}
body.embedded .primary-button{border-radius:30px;background:var(--purple);font-weight:600}
body.embedded .primary-button:hover{background:var(--ink)}
body.embedded .secondary-button{border-radius:30px}
body.embedded .chip{border-color:#e3e1fb;background:#f2f1fd;color:var(--ink)}
body.embedded .pick[aria-pressed="true"],body.embedded .tier[aria-pressed="true"],body.embedded .tier-toggle .tier[aria-pressed="true"]{border-color:var(--purple);background:var(--purple)}
body.embedded .pick:hover,body.embedded .tier:hover,body.embedded .prompt-chips button:hover{border-color:var(--purple);color:var(--purple)}
body.embedded .steps li.active{background:#f2f1fd;color:var(--purple)}
body.embedded .pilot-confirm{border-color:#e3e1fb;background:#f8f7ff}
