/* Desktop landing and the local step-by-step lesson builder. */
body.site-v17.unified { background:#f3f1e9; padding-top:78px; }
.unified .site-header[data-nav-visible=true] { left:16px; right:16px; top:5px; height:59px; border-radius:17px; border:0; background:#fbf9f2; }
.unified .site-header .header-inner { width:calc(100% - 34px); max-width:1580px; gap:22px; }
.unified .site-header .brand picture { width:218px; height:58px; }
.unified .site-header .unav { gap:clamp(9px,1.25vw,21px); }
.unified .unav .direct-builder { color:#9b4329; }
.unified.site-v17 .site-header .button--coral,.unified .ws-primary,.unified.site-v17 .hero-actions .button--coral,.unified.site-v17 .campus-footer .button--coral { background:#b75232; color:#fff; border:1px solid #ad4d30; box-shadow:none; }
.unified.site-v17 .site-header .button--coral:hover,.unified .ws-primary:hover,.unified.site-v17 .hero-actions .button--coral:hover,.unified.site-v17 .campus-footer .button--coral:hover { background:#974027; }
.unified { --landing-width:min(1560px, calc(100% - 64px)); --landing-radius:42px; }
.unified .uni-hero { width:var(--landing-width); margin:16px auto 0; background:linear-gradient(115deg,#faf8ef,#eff2e8); border:1px solid #d6dfd1; border-radius:var(--landing-radius); box-shadow:0 5px #dfe3d9; }
.unified .hero-interior { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.02fr); align-items:center; gap:clamp(24px,3vw,54px); min-height:clamp(395px,32vw,488px); padding:clamp(25px,2.7vw,45px) clamp(29px,4vw,66px); }
.unified .hero-interior .hero-copy { padding:0; max-width:none; }
.unified .hero-interior .overline { font:800 clamp(16px,1.27vw,20px)/1.25 Nunito,Arial,sans-serif; color:#497c72; margin:0 0 16px; }
.unified .hero-copy h1 { color:#173f36; font:900 clamp(37px,4.05vw,64px)/1.055 Nunito,Arial,sans-serif; letter-spacing:-.039em; margin:0; }
.unified .hero-copy h1 strong { color:inherit; font:inherit; }
.unified .hero-copy .intro-copy { max-width:540px; font-size:clamp(16px,1.28vw,20px); color:#51685d; line-height:1.45; margin:17px 0 0; text-wrap:pretty; }
.unified .hero-copy .share-promise { color:#85412b; font-size:clamp(15px,1.18vw,18px); font-weight:900; margin:12px 0 0; border-left:3px solid #d59068; padding-left:11px; line-height:1.35; }
.unified .hero-copy .hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:21px 0 0; }
.unified.site-v17 .hero-actions .button { min-height:46px; padding:11px 21px; font-size:16px; }
.unified.site-v17 .hero-actions .button--cream { color:#8a3c24; background:#fffaf0; border:1px solid #cd987a; }
.unified.site-v17 .hero-actions .button--cream:hover { background:#f7e7d7; }
.unified .hero-interior { grid-template-columns:minmax(0,1.18fr) minmax(0,1fr); min-height:clamp(465px,40vw,635px); }
.unified .hero-copy h1 strong { color:#b65332; }
.unified .hero-copy .intro-copy { max-width:57ch; }
#main>.hero-role-slot[hidden] { display:none; }
.hero-role-slot { width:var(--landing-width); max-width:none; margin:32px auto 0; min-height:calc(100svh - 70px); box-sizing:border-box; scroll-margin-top:75px; padding:32px 0; outline:0; }
.role-invitation { text-align:center; }
.role-invitation h2 { margin:0; font:900 clamp(30px,3.2vw,48px)/1.06 Nunito,Arial,sans-serif; color:#214a3e; letter-spacing:-.034em; }
.role-invitation p { margin:9px auto 0; color:#516759; font-size:clamp(15px,1.13vw,19px); }
.hero-role-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(10px,1.35vw,23px); }
.unified.site-v17 .hero-actions .button { min-height:55px; padding:12px 27px; font-size:clamp(16px,1.5vw,21px); }
.role-key {
  --wash:#d5e6d4; --paper:#eef5e7; --edge:#bbcfb8; --ink:#244c3f; --delay:.1s;
  position:relative; min-width:0; display:grid; grid-template-rows:minmax(0,1fr) auto; aspect-ratio:0.86;
  padding:clamp(12px,1.35vw,24px);
  border:1px solid var(--edge); border-radius:clamp(17px,1.5vw,25px);
  background:radial-gradient(ellipse at 76% 8%,var(--paper) 12%,transparent 75%),var(--wash);
  color:var(--ink); text-decoration:none; text-align:left;
}
.role-key--family { --wash:#f2d9bd; --paper:#fff3e2; --edge:#e3c6a8; --ink:#68432c; --delay:.22s; }
.role-key--teacher { --wash:#cee2e7; --paper:#edf4f2; --edge:#b7cfd1; --ink:#285269; --delay:.46s; }
.role-key--solo { --wash:#e3dbe8; --paper:#f6eff5; --edge:#cdc1d4; --ink:#584962; --delay:.34s; }
.role-art { display:grid; place-items:center; min-height:0; padding:1px 8px 4px; }
.role-art img { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
.role-copy { display:grid; align-content:start; gap:4px; }
.role-copy strong { font:900 clamp(15px,1.43vw,23px)/1.13 Nunito,Arial,sans-serif; letter-spacing:-.025em; text-wrap:balance; }
.role-copy span { font:650 clamp(13px,.97vw,16px)/1.22 Nunito,Arial,sans-serif; text-wrap:pretty; }
.role-key:is(:hover,:focus-visible,[aria-current=true]) { border-color:var(--ink); }
.role-key:focus-visible, .footer-resource:focus-visible { outline:3px solid currentColor; outline-offset:3px; }
@keyframes role-arrive { 0%,100% { transform:translateY(0); } 48% { transform:translateY(2px); } }
@media (prefers-reduced-motion:no-preference) {
  .role-key { transition:transform .18s ease,box-shadow .18s ease; animation:role-arrive .5s var(--delay) backwards; }
  .role-art img { transition:transform .24s ease-out; }
  .role-key:is(:hover,:focus-visible) { transform:translateY(-2px); box-shadow:0 6px 14px #21453414; }
  .role-key:is(:hover,:focus-visible) img { transform:translateY(-1px) scale(1.025); }
  .role-key:active { transform:translateY(1px); box-shadow:none; }
}
.semantic-unit { white-space:nowrap; }
.semantic-unit [role=tooltip] { white-space:normal; }
.unified .hero-copy .click-chip {
  display:inline-block; padding:0 .45em .04em; border-radius:999px;
  background:#d6eaee; color:#296272; line-height:1.1; text-decoration:none;
  box-shadow:inset 0 -2px #a6c9d1;
}
.click-chip:is(:hover,:focus-visible) { filter:brightness(.94); }
.unified .switch-rail { background:#eceee4; padding:5px; gap:5px; }
.unified .switch-option { min-height:39px; padding:9px 16px; font-size:15px; }
.unified .selection-line { background:#375c50; }
.unified .catalog { margin-top:22px; }.unified .catalog .section-lead { margin-bottom:18px; }
.unified .catalog>.wrap>.switch-rail { margin:0 0 23px; }
.unified .solution-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.unified .solution-table { padding:18px 24px; }.unified .solution-table h3 { margin-bottom:7px; }
.unified .solution-table ul { list-style:none; }
.unified .solution-table li a { padding:9px 10px; margin-inline:-3px; font-size:16px; font-weight:750; line-height:1.4; }
.unified .solution-table li a:hover { background:#f0f1e8; }
.unified .feature-grid li { padding:9px 0; }.unified .feature-grid li a { display:inline-block; padding:4px 7px; margin-left:-3px; }
.unified .feature-grid li p { margin:1px 4px 4px; }
.unified .solution-table summary { padding:7px; }
.unified .catalog[data-role]:not([data-role=""]) .solution-table>ul { display:block; }
.review-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr)); gap:15px; }
.review-card,.student-card,.student-quiz,.student-diagram,.student-video,.student-media figure { border-radius:18px; border:1px solid #d6dfd0; background:#fafaf1; padding:17px 20px; }
.review-card small,.student-card small,.ws-preview-label { display:block; font-weight:850; font-size:13px; color:#6e503a; margin:0 0 7px; }
.review-card summary,.student-original summary { cursor:pointer; color:#365e4f; font-size:14px; font-weight:850; padding:7px 0; }
.studio-panel pre,.source-lines { white-space:pre-wrap; overflow-wrap:anywhere; }
.studio-panel pre { font:650 15px/1.45 Nunito,Arial,sans-serif; background:#fffef8; padding:10px; border:1px solid #e0e3d5; border-radius:10px; max-height:260px; overflow:auto; }
.ws-bottom { justify-content:flex-end; margin-top:20px; }.student-original { margin:12px 0; }
.student-lesson { display:grid; gap:15px; }.student-lesson>h2 { font-size:clamp(26px,2.3vw,36px); }
.studio-panel .student-card h3 { font-size:21px; margin:2px 0 6px; }.student-card p { margin:0; line-height:1.5; }
.student-diagram ol { display:flex; flex-wrap:wrap; gap:12px; margin:0; padding:0; counter-reset:step; list-style:none; }
.student-diagram li { position:relative; counter-increment:step; display:flex; align-items:center; gap:7px; padding:7px 13px; border-radius:14px; background:#e1eade; color:#264a3a; }
.student-diagram li::before { content:counter(step); color:#8e4328; font-weight:900; font-variant-numeric:tabular-nums; }
.student-media { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr)); gap:15px; }.student-media:empty { display:none; }
.student-media figure { margin:0; }.student-media img,.student-media video { width:100%; height:clamp(180px,16vw,255px); object-fit:contain; border-radius:10px; background:#f4f0e5; }.student-media figcaption { font-size:14px; margin-top:5px; color:#506657; }
.student-quiz p { margin:7px 0; }.student-quiz button { display:block; margin:7px 0; padding:10px 14px; border:1px solid #bdcbbc; border-radius:12px; background:white; color:#254a3b; text-align:left; }
.student-quiz button:hover,.student-quiz button[aria-pressed=true] { background:#e7edde; }.student-quiz [role=status],.studio-status { color:#59432e; font-weight:800; }.studio-status:empty { margin:0; }
.studio-status:not(:empty) { margin:14px 0 0; padding:10px 14px; border-left:3px solid #c27e55; background:#fff4e8; }
@media(prefers-reduced-motion:reduce){.guided-studio * { scroll-behavior:auto!important; transition:none!important; }}

.video-frame { position:relative; }
.video-frame .play-clip { position:absolute; bottom:48px; right:12px; border:1px solid #fff; background:#a8492c; color:white; padding:7px 14px; border-radius:999px; font-size:14px; font-weight:800; }
.video-frame .play-clip::before { content:'▶'; margin-right:6px; }

.budget-chart { display:grid; gap:7px; margin-top:16px; max-width:630px; }.budget-chart label { display:grid; grid-template-columns:90px minmax(80px,1fr) 55px; align-items:center; gap:12px; color:#405a4c; }.budget-chart meter { width:100%; accent-color:#b75839; }.budget-chart b { text-align:right; }
.student-diagram li+li::after { content:""; position:absolute; width:10px; height:1px; left:-11px; background:#829787; }

.ws-evidence { display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin:0 0 14px; font-size:14px; color:#586d5d; }.ws-evidence span { padding:4px 9px; border-radius:8px; background:#f3efdf; color:#654a36; }

/* Desktop canvas follows the existing /demo/ course rail, lesson card and arrow tutorial. */
.unified .guided-studio { width:calc(100% - 40px); max-width:1560px; padding:0; margin:4px auto 40px; background:none; border:0; border-radius:0; scroll-margin-top:78px; }
.studio-sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); }
.studio-step-arrow { font:28px/1 Nunito,Arial,sans-serif; color:#b3c7bd; }
.studio-canvas { min-height:645px; border:1px solid #dedfd2; border-radius:30px; padding:21px 25px; background:#fffdf7; position:relative; }
.studio-canvas .course-rail { display:flex; align-items:stretch; width:max-content; max-width:100%; margin:0 auto; border:1px solid #d1dfd4; border-radius:19px; background:#e8eddf; overflow:auto; }
.studio-canvas .course-tab { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:5px; border:0; border-right:1px solid #ced9ce; border-radius:0; background:#f6f6ed; color:#183d35; width:260px; min-width:190px; min-height:68px; text-align:left; padding:10px 17px; }
.studio-canvas .course-tab[aria-pressed=true] { background:#e8eddf; }
.studio-canvas .course-tab:first-child { border-radius:18px 0 0 18px; }
.studio-canvas .course-tab strong { font-size:17px; font-weight:900; line-height:1.25; }
.studio-canvas .course-tab small { color:#687970; font-size:13px; font-weight:800; }
.studio-canvas .course-add { display:flex; align-items:center; justify-content:center; flex:none; gap:15px; border:0; border-radius:0 18px 18px 0; background:#397c8a; color:#fff; min-height:68px; min-width:66px; padding:10px 18px; }
.studio-canvas .course-add:first-child { border-radius:18px; }
.studio-canvas .course-add span { font:900 38px/.9 Nunito,Arial,sans-serif; }
.studio-canvas .course-add strong { font-size:17px; font-weight:900; }
.studio-board { min-height:458px; padding-top:24px; position:static; }
.studio-lesson-node { width:270px; margin-left:calc(50% - 245px); }
.studio-canvas .lesson-card { width:270px; border:1px solid #dedfd2; border-radius:20px; background:#fffdf7; box-shadow:0 4px #dfe5da; overflow:hidden; }
.studio-canvas .lesson-cover { display:block; height:137px; background:#f8f6ec; overflow:hidden; }
.studio-canvas .lesson-cover img { width:100%; height:100%; object-fit:contain; }
.studio-canvas .lesson-content { padding:13px 16px 16px; }
.studio-canvas .lesson-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.studio-canvas .lesson-meta p { margin:0; font-size:11px; font-weight:800; color:#4a675b; }
.studio-canvas .lesson-xp { background:none; border:0; color:#b36a30; font-size:17px; font-weight:1000; padding:2px; white-space:nowrap; }
.studio-canvas .lesson-xp small { font-size:12px; }
.studio-canvas .lesson-title-row { position:relative; min-height:54px; margin:0 0 8px; padding-right:36px; }
.studio-canvas .lesson-title-row h4 { margin:0; font-size:21px; font-weight:900; line-height:1.15; color:#173f35; }
.studio-canvas .lesson-reward { position:absolute; top:0; right:-3px; padding:0; width:38px; height:38px; border:0; background:none; }
.studio-canvas .lesson-reward svg { width:100%; height:100%; }
.studio-canvas .lesson-card-tools { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:34px; margin:0 0 14px; }
.studio-canvas .lesson-edit { width:34px; height:34px; padding:7px; border:0; border-radius:9px; background:#eff3eb; color:#4c7564; }
.studio-canvas .lesson-test { display:flex; align-items:center; justify-content:center; gap:5px; margin-left:auto; padding:7px 9px; border:1px solid #c6dcc2; border-radius:9px; background:#deecdc; color:#3e6f4e; font:900 13px/1.3 Nunito,Arial,sans-serif; }
.studio-canvas .lesson-test svg { width:16px; height:16px; }
.studio-canvas .lesson-action { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:42px; margin:0; border:0; border-radius:11px; padding:10px 12px; background:#397c8a; color:white; font:900 16px/1.3 Nunito,Arial,sans-serif; }
.studio-canvas .lesson-action svg { width:17px; height:17px; }
.studio-empty-lesson { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; width:270px; height:240px; margin-left:calc(50% - 245px); border:1px dashed #cbd7c6; border-radius:20px; color:#7e9384; font-size:14px; }
.studio-empty-lesson svg { width:43px; height:43px; opacity:.6; }
.studio-empty-space { height:310px; }
.studio-add-lesson { display:flex; align-items:center; justify-content:center; gap:10px; position:absolute; top:260px; left:calc(50% + 48px); width:190px; min-height:52px; padding:11px 16px; background:#eff2e8; border:0; border-radius:12px; color:#5a786b; font:800 15px/1.2 Nunito,Arial,sans-serif; }
.studio-add-lesson span { font-size:23px; }
.studio-empty-lesson+.studio-add-lesson { top:395px; left:calc(50% - 245px); width:270px; }
.studio-guide { display:flex; align-items:flex-start; gap:12px; position:absolute; width:330px; box-sizing:border-box; padding:15px 17px; background:#fffefa; border:1px solid #d3decc; border-radius:16px; box-shadow:0 8px 22px #2b443309; z-index:2; }
.studio-guide-number { display:grid; place-items:center; flex:none; width:31px; height:31px; border-radius:50%; background:#397c8a; color:#fff; font-size:16px; font-weight:900; }
.studio-guide h3 { margin:0 0 6px; font-size:19px; font-weight:900; line-height:1.2; color:#173e35; }
.studio-guide p { margin:0; font-size:14px; font-weight:800; line-height:1.4; color:#68776d; }
.studio-guide-arrow { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:2; }
.studio-canvas-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:6px 3px 2px; }
.studio-direct { color:#64796a; font:800 13px Nunito,Arial,sans-serif; text-decoration:none; padding:8px 0; }
.studio-share { border:0; border-radius:12px; background:#c45c3d; color:white; padding:13px 25px; font:900 16px Nunito,Arial,sans-serif; }
.studio-canvas button { cursor:pointer; transition:background-color .16s,outline-color .16s; }
.studio-canvas :is(.course-add,.lesson-action):hover { background:#2b6572; }
.studio-canvas .studio-share:hover { background:#a84a30; }
.studio-canvas :is(.lesson-edit,.lesson-test,.studio-add-lesson):hover { background:#dce8d6; }
.studio-panel { box-sizing:border-box; width:min(920px,calc(100vw - 100px)); max-width:none; max-height:calc(100vh - 80px); margin:auto; padding:0; border:1px solid #d3dcce; border-radius:25px; background:#fffdf5; color:#173e35; box-shadow:0 20px 100px #173e3533; }
.studio-panel::backdrop { background:#233e334d; }
.studio-panel-header { display:flex; align-items:center; justify-content:space-between; gap:24px; position:sticky; top:0; padding:22px 28px 18px; border-bottom:1px solid #e1e5d7; background:#fffdf5; z-index:2; }
.studio-panel-header h3 { margin:0; font:900 25px/1.15 Nunito,Arial,sans-serif; }
.studio-panel-close { flex:none; width:33px; height:33px; padding:0; border:0; border-radius:50%; background:#c85648; color:white; font:800 25px/1 Nunito,Arial,sans-serif; }
.studio-panel-body { padding:24px 28px; }
.studio-panel-lead { margin:0 0 20px; font-size:16px; line-height:1.45; color:#5b7161; }
.studio-field { display:grid; gap:6px; margin:15px 0; color:#4d6a55; font-weight:800; font-size:14px; }
.studio-panel :is(input:not([type=radio]):not([type=file]):not([type=range]),textarea) { box-sizing:border-box; width:100%; border:1px solid #c3d1be; border-radius:11px; background:#fffefa; color:#244b36; padding:10px 12px; font:700 16px/1.5 Nunito,Arial,sans-serif; }
.studio-panel textarea { resize:vertical; min-height:60px; }
.studio-panel-actions { display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:12px; margin-top:24px; }
.studio-panel-actions>span { flex-basis:100%; text-align:right; color:#7b816c; font-size:13px; }
.studio-panel .ws-primary,.studio-panel .ws-secondary { padding:11px 18px; border-radius:12px; font:900 15px/1.3 Nunito,Arial,sans-serif; }
.studio-panel .ws-primary { background:#397c8a; color:white; border:1px solid #397c8a; }
.studio-panel .ws-secondary { background:#f3f3e8; color:#506e58; border:1px solid #cfd9c6; }
.studio-panel .ws-primary:hover { background:#2c6875; }
.studio-panel .ws-primary:disabled { background:#e5e9df; border-color:#d9dfd2; color:#87927d; }
.studio-panel .studio-answer { display:flex; align-items:center; gap:12px; margin:10px 0; }
.studio-answer input[type=radio] { accent-color:#397c8a; width:21px; height:21px; }
.studio-reward-choice { display:flex; flex-direction:column; align-items:center; gap:12px; margin:10px auto; border:1px solid #c5d6bd; border-radius:20px; padding:25px 35px; background:#eaf0df; color:#355e43; }
.studio-reward-choice>span { color:#c58c38; font-size:48px; }
.studio-reward-choice strong { font-size:20px; font-weight:900; }
.studio-reward-choice small { color:#698065; }
.studio-xp { display:flex; align-items:center; gap:25px; padding:25px 0; }
.studio-xp input { flex:1; accent-color:#397c8a; }
.studio-xp output { color:#a86e30; font-size:28px; font-weight:900; }
.studio-share-preview { display:flex; align-items:center; gap:20px; background:#edf2e4; border:1px solid #d1dec8; border-radius:18px; padding:24px; margin-bottom:20px; }
.studio-share-preview svg { width:42px; height:42px; color:#397c8a; }
.studio-share-preview strong,.studio-share-preview span { display:block; }
.studio-share-preview strong { font-size:21px; font-weight:900; margin-bottom:6px; }
.studio-share-preview span { font-size:14px; color:#657b68; }
.studio-panel .student-lesson h2 { margin-top:0; font-size:29px; }
.studio-panel .review-card label { display:grid; gap:7px; font-size:14px; font-weight:800; margin:12px 0; }
.studio-panel .review-card { background:#f6f5e9; }
.studio-panel [role=status]:not(:empty) { color:#8f442c; background:#fff0e0; padding:10px 14px; border-radius:10px; }
.studio-status { margin:0; }
.studio-status:not(:empty) { margin:12px 0; padding:12px 18px; background:#fff0df; color:#8b482e; border-radius:12px; }
.studio-canvas :focus-visible,.studio-panel :focus-visible { outline:3px solid #c47b48; outline-offset:4px; }
@media(prefers-reduced-motion:reduce) { .studio-canvas * { transition:none!important; } }
.studio-panel-notice:empty { display:none; }
.studio-canvas .reward-art--unassigned { filter:grayscale(1); opacity:.55; }
.studio-reward-choice .reward-art { width:85px; height:85px; }
.unified .guided-studio { margin-bottom:max(40px,calc(100vh - 720px)); }
.studio-guide { pointer-events:none; }

/* Material conversation. Each toolbar action adds a prepared example to the feed. */
.studio-panel { width:min(830px,calc(100vw - 100px)); }
.studio-panel-header { min-height:62px; padding:20px 66px 17px 25px; border-bottom:1px solid #e5e6d9; }
.studio-panel-header h3 { font-size:23px; }
.studio-panel-close { position:absolute; top:14px; right:14px; width:32px; height:32px; font-size:25px; }
.studio-panel[data-panel=materials] .studio-panel-body { padding:0 22px 17px; }
.studio-chat-context { display:flex; align-items:center; gap:10px; padding:14px 2px 10px; color:#74806f; font-size:13px; font-weight:750; }
.studio-demo-label { display:inline-flex; align-items:center; padding:4px 9px; border-radius:999px; color:#7d5b2e; background:#f6e5bd; font:900 11px Nunito,Arial,sans-serif; }
.studio-chat-feed { min-height:240px; max-height:340px; overflow:auto; padding:12px 5px 16px; background:#f8f6ed; border:1px solid #e5e5d6; border-radius:17px; scroll-behavior:auto; }
.studio-chat-welcome { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:210px; gap:12px; color:#496c5a; }
.studio-chat-welcome>svg { width:35px; height:35px; color:#91aa95; }
.studio-chat-welcome strong { font-size:19px; font-weight:900; }
.studio-chat-welcome>span { font-size:14px; color:#87917c; }
.studio-chat-entry { display:flex; align-items:flex-start; gap:12px; position:relative; margin:0 10px 12px 45px; padding:13px 34px 13px 13px; border:1px solid #d6e1db; background:#edf4ef; border-radius:16px 16px 4px 16px; }
.studio-chat-entry:last-child { margin-bottom:0; }
.studio-entry-icon { width:36px; height:39px; flex:none; padding:8px; border-radius:10px; }
.studio-entry-icon svg { width:100%; height:100%; }
.studio-entry-copy { min-width:0; flex:1; }
.studio-entry-copy>small { display:block; color:#7a8979; font-size:10px; font-weight:850; margin:0 0 4px; }
.studio-entry-copy>strong { display:block; font-size:14px; line-height:1.3; color:#315444; }
.studio-entry-copy p { margin:7px 0 0; color:#687a66; font-size:13px; line-height:1.45; white-space:pre-wrap; }
.studio-entry-copy img,.studio-entry-copy video { display:block; width:100%; height:150px; object-fit:contain; border-radius:10px; margin-top:9px; background:#fffdf3; }
.studio-chat-entry>button { position:absolute; right:9px; top:8px; padding:0; width:23px; height:23px; border:0; border-radius:50%; background:#e2eade; color:#799079; font:800 18px/1 Nunito,Arial,sans-serif; }
.studio-chat-edit { margin:10px 3px; color:#6a7e69; font-size:12px; }
.studio-chat-edit summary { width:max-content; cursor:pointer; }
.studio-chat-edit textarea { margin-top:10px; }
.studio-material-toolbar { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; padding:4px 2px 13px; }
.studio-material-toolbar button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; min-height:75px; padding:10px 5px; border:1px solid transparent; border-radius:13px; font:850 12px Nunito,Arial,sans-serif; cursor:pointer; transition:transform .15s,filter .15s; }
.studio-material-toolbar button:hover { transform:translateY(-3px); filter:brightness(.97); }
.studio-material-toolbar button:focus-visible { outline:2px solid #ad774f; outline-offset:3px; }
.studio-material-toolbar button[aria-pressed=true] { border-color:currentColor; }
.studio-material-toolbar svg { width:24px; height:24px; }
.entry-example { color:#a76b2d; background:#f9edce; }
.entry-text { color:#537f55; background:#e6eedc; }
.entry-file { color:#477e98; background:#e0eef5; }
.entry-link { color:#856aa2; background:#ede5f5; }
.entry-image { color:#b67949; background:#f8e7d9; }
.entry-video { color:#a36076; background:#f4e1e8; }
.studio-material-footer { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:13px 2px 0; border-top:1px solid #e2e4d5; }
.studio-material-footer>span { color:#8a8f79; font-size:12px; font-weight:800; }
.studio-panel .studio-material-footer .ws-primary { padding:12px 23px; border:0; border-radius:12px; background:#c45e3f; color:#fff; }
.studio-panel .studio-material-footer .ws-primary:hover { background:#aa4f35; }
.studio-panel .studio-material-footer .ws-primary:disabled { background:#ebe8dc; color:#a29e8b; }
.studio-lesson-gallery { width:270px; margin-left:calc(50% - 245px); }
.studio-lesson-gallery .studio-lesson-node { margin:0; }
.studio-canvas[data-multiple=true] .studio-lesson-gallery { display:grid; grid-template-columns:repeat(3,270px); justify-content:center; gap:22px; width:auto; margin:0 auto; }
.studio-canvas[data-multiple=true] .studio-board { min-height:0; padding-bottom:175px; }
.studio-canvas[data-multiple=true] .studio-add-lesson { top:29px; left:auto; right:28px; width:160px; min-height:48px; }
.studio-canvas[data-multiple=true] .lesson-card { height:365px; }
.studio-canvas[data-multiple=true] .lesson-content { display:flex; flex:1; flex-direction:column; }
.studio-canvas[data-multiple=true] .lesson-card-tools { margin-top:auto; }
.studio-canvas .studio-lesson-node[data-active=true] .lesson-card { border-color:#bacfbe; }
.studio-processing { display:flex; flex-direction:column; align-items:center; text-align:center; padding:7px 36px 30px; }
.studio-processing-art { position:relative; width:265px; height:170px; margin:12px 0; }
.studio-processing-art img { width:240px; height:160px; object-fit:contain; }
.studio-processing-art i { display:grid; place-items:center; position:absolute; width:33px; height:40px; padding:7px; background:#f3e9ca; border-radius:6px; box-shadow:0 2px 4px #63734618; color:#6a896d; animation:studio-card-process 1.5s ease-in-out infinite; }
.studio-processing-art i:nth-of-type(1) { left:21px; top:28px; animation-delay:0s; }
.studio-processing-art i:nth-of-type(2) { left:50px; top:8px; animation-delay:.15s; }
.studio-processing-art i:nth-of-type(3) { left:78px; top:27px; animation-delay:.3s; }
.studio-processing-art svg { width:100%; height:100%; }
.studio-processing-label { font-size:22px; font-weight:900; margin:0 0 19px; }
.studio-processing-meter { width:100%; max-width:400px; height:8px; border-radius:999px; overflow:hidden; background:#e4e8dc; }
.studio-processing-meter span { display:block; width:100%; height:100%; transform:scaleX(0); transform-origin:left; background:#6a9682; border-radius:inherit; }
.studio-processing output { font-size:13px; color:#6b8671; font-weight:850; margin-top:8px; }
.studio-processing ol { display:flex; gap:20px; margin:24px 0 0; padding:0; list-style:none; font-size:12px; color:#9ba38e; }
.studio-processing li[data-done=true] { color:#4c7d57; }
@keyframes studio-card-process { 0%,100%{transform:translateY(0) rotate(-8deg)} 50%{transform:translateY(-9px) rotate(2deg)} }
@media(prefers-reduced-motion:reduce){.studio-processing-art i{animation:none}.studio-material-toolbar button{transition:none;transform:none}.studio-chat-feed{scroll-behavior:auto}}
.studio-panel[data-paused=true] .studio-processing-art i { animation-play-state:paused; }
/* Override the older editorial-dialog shell only for the embedded constructor. */
.unified.starts dialog.studio-panel { box-sizing:border-box; width:min(830px,calc(100vw - 100px)); max-height:calc(100vh - 72px); margin:auto; padding:0; border-radius:25px; }
.unified .studio-panel .studio-panel-header { box-sizing:border-box; height:64px; min-height:64px; padding:17px 65px 17px 25px; }
.unified .studio-panel .studio-panel-header h3 { margin:0; font:900 23px/1.2 Nunito,Arial,sans-serif; }
.unified .studio-panel .studio-panel-close { display:grid; place-items:center; top:14px; right:14px; }
.unified .studio-panel .studio-entry-copy p { margin:7px 0 0; font-size:13px; line-height:1.45; }

/* Presentation copy and a deliberate introduction before the first action. */
.unified .hero-copy .knowledge-copy { width:min(calc(100% + 5vw),595px); max-width:none; color:#51685d; font-size:clamp(16px,1.28vw,20px); line-height:1.45; margin:9px 0 0; }
.unified .second-brain { position:relative; display:inline-block; color:#397c8a; font-weight:900; border-bottom:1px dotted #6b9c8c; }
.second-brain>span { display:none; position:absolute; z-index:5; left:0; top:calc(100% + 9px); width:290px; padding:15px 17px; border:1px solid #c7d8c3; border-radius:17px; background:#fffefa; color:#4c6959; font-size:14px; box-shadow:0 5px 20px #153d3012; }
.second-brain:is(:hover,:focus-visible)>span { display:block; }
.unified .hero-copy .share-promise { border:0; padding:0; color:#8c432b; font-size:clamp(20px,1.7vw,27px); font-weight:900; margin-top:19px; }
.unified .guided-studio { scroll-margin-top:115px; }
.studio-introduction { min-height:480px; display:grid; place-items:center; }
.studio-intro { text-align:center; padding:50px 25px; }
.studio-intro .overline { margin:0 0 17px; color:#668775; font-size:17px; }
.studio-intro h2 { margin:0; font:900 clamp(32px,3.3vw,48px)/1.12 Nunito,Arial,sans-serif; letter-spacing:-.03em; color:#173f36; }
.studio-intro>p:not(.overline) { margin:21px 0 26px; color:#64806d; font-size:19px; line-height:1.5; }
.studio-start-button { border:0; border-radius:15px; padding:13px 42px; color:white; background:#c45e3f; font:900 19px Nunito,Arial,sans-serif; }
.studio-start-button:hover { background:#aa4d33; }
.studio-course-note { position:absolute; top:24px; left:24px; max-width:230px; padding:12px 17px; border:1.5px solid #b8cebb; border-radius:25px; background:#fffefa; color:#56745f; }
.studio-course-note strong,.studio-course-note span { display:block; }
.studio-course-note strong { font-size:14px; color:#355842; margin-bottom:4px; }
.studio-course-note span { font-size:12px; line-height:1.45; }
.studio-course-note::before,.studio-course-note::after { content:''; position:absolute; border:1.5px solid #b8cebb; border-radius:50%; background:#fffefa; }
.studio-course-note::before { width:11px; height:11px; right:-20px; top:32px; }.studio-course-note::after { width:6px; height:6px; right:-33px; top:42px; }
.studio-guide { border:1.5px solid #adc4b0; border-radius:27px; box-shadow:none; padding:16px 19px; }
.studio-thought-dot { fill:#fffefa; stroke:#adc4b0; stroke-width:1.7; }
.studio-guide-path { display:none; }
.studio-canvas[data-multiple=true] .studio-lesson-gallery { display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:center; gap:20px; max-width:1100px; }
.studio-canvas[data-multiple=true] .studio-add-lesson { position:static; align-self:center; flex:none; width:120px; height:138px; min-height:0; display:flex; flex-direction:column; justify-content:center; gap:13px; border:1px dashed #b8cbb6; border-radius:21px; background:#eff3e8; padding:14px; }
.studio-canvas[data-multiple=true] .studio-add-lesson>span { font-size:36px; color:#668c74; }.studio-canvas[data-multiple=true] .studio-add-lesson strong { font-size:14px; color:#66846d; }
.studio-lesson-node { flex:0 0 270px; }

/* A white text field, one link row and separate attachment positions. */
.unified .studio-panel[data-panel=materials] .studio-panel-body { padding:20px 24px 17px; }
.studio-source-text { position:relative; }
.unified .studio-panel .studio-source-text textarea { display:block; height:155px; min-height:100px; padding:16px 36px 16px 18px; border:1px solid #c6d1c3; border-radius:17px; background:#fff; color:#344c3d; font:700 16px/1.4 Nunito,Arial,sans-serif; resize:vertical; }
.studio-source-text>button,.studio-source-link>button,.studio-source-attachment>button { position:absolute; top:7px; right:7px; width:23px; height:23px; padding:0; border:0; border-radius:50%; background:#f0f1e8; color:#82967f; font:800 18px/1 Nunito,Arial,sans-serif; }
.studio-source-slots { display:flex; align-items:stretch; gap:13px; margin:14px 0 19px; }
.studio-source-slot,.studio-source-attachment { position:relative; width:calc((100% - 26px)/3); min-height:125px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:10px 12px; border:1px dashed #c7d3c2; border-radius:15px; background:transparent; }
.studio-source-slot>img { width:40px; height:40px; object-fit:contain; opacity:.32; }.studio-source-slot>span { font-size:12px; color:#a2af99; }
.studio-source-attachment { border-style:solid; background:#fff; }.studio-source-attachment>img { width:55px; height:65px; object-fit:contain; }.studio-source-attachment>.source-preview-image,.studio-source-attachment>video { width:100%; height:82px; object-fit:contain; border-radius:8px; }
.studio-source-attachment>span { max-width:100%; font-size:11px; color:#687a65; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.studio-source-link { display:flex; align-items:center; position:relative; gap:11px; margin:12px 0 0; padding:10px 35px 10px 13px; border:1px solid #d3d9cc; border-radius:12px; background:#fff; }
.studio-source-link>img { width:34px; height:34px; object-fit:contain; }.studio-source-link>div { flex:1; min-width:0; }
.unified .studio-panel .studio-source-link input { padding:0; border:0; background:none; border-radius:0; font-size:13px; line-height:1.2; color:#547f91; }.studio-source-link span { display:block; margin-top:4px; color:#93a18c; font-size:11px; }
.unified .studio-material-toolbar { margin:1px 0 6px; padding:0; gap:8px; }
.unified .studio-material-toolbar button { min-height:87px; padding:3px 4px 8px; background:none; border:1px solid transparent; border-radius:15px; color:#59735c; }
.unified .studio-material-toolbar button>img { width:62px; height:62px; object-fit:contain; }.unified .studio-material-toolbar button>span { font-size:12px; }
.unified .studio-material-toolbar button:hover { background:#f4f3e9; }.unified .studio-material-toolbar button[aria-pressed=true] { border-color:#cedbc8; background:#f7f9f1; }
.studio-flying-material { position:fixed; width:48px; height:48px; object-fit:contain; z-index:20; pointer-events:none; }

/* The real reader, card editor and test editor are scoped to this local presentation. */
body[data-studio-showcase=true] { --font-ui:Nunito,Arial,sans-serif; --font-display:Nunito,Arial,sans-serif; --font-nunito:Nunito; --ink:#34424b; --muted:#6d7c7c; --surface:#fffdf7; --surface-alt:#eaf0f2; --border:#b7c6bf; --primary:#397c8a; --primary-press:#2b6571; --info:#397c8a; --canvas:#fff8e9; --reader-paper:#fff8e9; --radius-card:22px; --radius-outer:24px; --radius-pill:999px; --font-size:17px; --text-sm:14px; --text-base:17px; --text-lg:19px; --text-xl:23px; --text-2xl:29px; --text-3xl:36px; --space-px:1px; --space-1:4px; --space-2:8px; --space-3:12px; --space-4:18px; --space-5:24px; --space-6:28px; --space-7:36px; --space-8:42px; --z-dialog:1100; }
.unified.starts dialog.studio-native-dialog { position:fixed; width:calc(100vw - 56px); max-width:1480px; height:calc(100vh - 56px); max-height:none; padding:0; margin:auto; border:1px solid #9cafaa; border-radius:25px; overflow:hidden; color:#34424b; background:#fff8e9; }
.studio-native-dialog::backdrop { background:#243c426b; }
.studio-native-host { width:100%; height:100%; }
body[data-studio-showcase=true] .studio-native-host>.rdr-shell { position:relative!important; inset:auto!important; transform:none!important; width:100%!important; height:100%!important; max-height:none!important; border:0!important; border-radius:0!important; box-shadow:none!important; background:#fff8e9!important; }
body[data-studio-showcase=true] .studio-native-host>.rdr-shell .rdr-main { padding:28px 35px!important; background:#fff8e9!important; }
body[data-studio-showcase=true] .studio-native-host>.rdr-shell .rdr-col { width:100%!important; max-width:1050px!important; margin:0 auto!important; }
body[data-studio-showcase=true] .studio-native-host>.rdr-shell .rdr-part { background:#fffef9!important; padding:25px 29px!important; border:1px solid #c1cec6!important; border-radius:24px!important; margin-bottom:23px!important; }
body[data-studio-showcase=true] .rdr-part .le-body { font:700 18px/1.55 Nunito,Arial,sans-serif!important; }
body[data-studio-showcase=true] .rdr-part .le-body :is(h1,h2) { font:900 30px/1.2 Nunito,Arial,sans-serif!important; margin:0 0 18px!important; }
body[data-studio-showcase=true] .rdr-part .le-body img { width:auto; max-width:100%; max-height:260px; object-fit:contain; margin:12px auto 20px; border-radius:15px; }
body[data-studio-showcase=true] .rdr-help-btn { font:800 14px Nunito,Arial,sans-serif; min-height:40px; box-shadow:none; }
body[data-studio-showcase=true] .rdr-continue { font:850 15px Nunito,Arial,sans-serif; min-height:42px; box-shadow:none; }
.studio-real-editor { display:flex; flex-direction:column; width:100%; height:100%; color:#34424b; background:#fff8e9; }
.studio-real-editor>header { display:flex; align-items:center; justify-content:space-between; position:relative; min-height:78px; padding:15px 65px 15px 25px; border-bottom:1px solid #b7c6bf; background:#edf3f3; }.studio-real-editor>header small { color:#788a8b; font-size:12px; }.studio-real-editor>header h2 { margin:4px 0 0; font:900 24px Nunito,Arial,sans-serif; }
.studio-real-editor-body { display:flex; min-height:0; flex:1; }.studio-real-editor-body>nav { flex:none; width:215px; padding:22px 13px; background:#e3edef; border-right:1px solid #b7c6bf; overflow:auto; }.studio-real-editor-body>nav button { display:flex; align-items:flex-start; gap:10px; width:100%; padding:11px; border:1px solid transparent; border-radius:12px; background:none; text-align:left; color:#4e6b72; font:800 14px/1.4 Nunito,Arial,sans-serif; margin-bottom:8px; }.studio-real-editor-body>nav button[aria-pressed=true] { background:#dce8d0; border-color:#b5c7ad; }.studio-real-editor-body>nav span { color:#90a09c; font-size:11px; }
.studio-real-editor-body>main { flex:1; min-width:0; padding:20px 30px 30px; overflow:auto; }.studio-real-editor .ls2-card-stack { max-width:960px; margin:auto; }.studio-real-editor .ls2-card-paper { padding:24px!important; border:1px solid #bdcbc3; border-radius:24px; background:#fffefa; }.studio-real-editor .ls2-card-paper .le-body { font:700 18px/1.55 Nunito,Arial,sans-serif; }.studio-real-editor .ls2-card-paper img { max-height:230px; object-fit:contain; margin:auto; }
.studio-real-editor .ls2-card-stack[data-single=true] .ls2-card-delete { display:none; }
.studio-real-editor>footer { display:flex; justify-content:flex-end; gap:13px; padding:13px 22px; border-top:1px solid #b7c6bf; background:#edf3f3; }.studio-real-editor>footer button { border:1px solid #a5bcb7; border-radius:12px; padding:10px 17px; font:850 15px Nunito,Arial,sans-serif; }.studio-real-editor>footer .ws-primary { background:#397c8a; color:white; }
body[data-studio-showcase=true] .studio-native-host>.lesson-test-editor { height:100%; padding:25px 35px; background:#fff8e9; overflow:auto; }
body[data-studio-showcase=true] .studio-native-host .lesson-test-editor h2 { font:900 27px Nunito,Arial,sans-serif; }
body[data-studio-showcase=true] .studio-native-host .lesson-test-editor input,body[data-studio-showcase=true] .studio-native-host .lesson-test-editor textarea { font:700 17px/1.45 Nunito,Arial,sans-serif; padding:12px 14px; }
.unified.starts .studio-panel .studio-source-link input { border:0!important; border-radius:0!important; padding:0!important; box-shadow:none!important; background:none!important; }
body[data-studio-showcase=true] .ui-action { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:39px; padding:9px 15px; border:1px solid #b5c6c3; border-radius:12px; background:#edf3f3; color:#45616a; font:800 15px/1.3 Nunito,Arial,sans-serif; cursor:pointer; box-shadow:none; }
body[data-studio-showcase=true] .ui-action svg { width:17px; height:17px; }
body[data-studio-showcase=true] :is(.ui-action--info,.ui-action--accent,.rdr-continue,.academy-assessment-primary) { background:#397c8a; color:white; border-color:#397c8a; box-shadow:none; }
body[data-studio-showcase=true] .ui-action:disabled { opacity:.45; cursor:default; }
body[data-studio-showcase=true] .ui-action:not(:disabled):hover { filter:brightness(.94); }
body[data-studio-showcase=true] .ui-dialog-close { display:grid; place-items:center; width:32px; height:32px; min-height:32px; padding:6px; border:0; border-radius:50%; background:#c85648; color:white; }
body[data-studio-showcase=true] .ui-dialog-close svg { width:18px; height:18px; }
.studio-real-editor .ls2-selection-ai { display:none; }
body[data-studio-showcase=true] .rdr-help-btn { background:#edf3f3; }
body[data-studio-showcase=true]>.rdr-shell:not([data-embedded=true]) { position:fixed!important; inset:28px!important; z-index:100000!important; width:calc(100vw - 56px)!important; height:calc(100vh - 56px)!important; max-height:none!important; background:#fff8e9!important; border:1px solid #afc2bb; border-radius:24px!important; overflow:hidden; box-shadow:0 18px 55px #173e352b; }
body[data-studio-showcase=true]>.rdr-shell .rdr-main { background:#fff8e9; }
body[data-studio-showcase=true] .lesson-test-editor :is(input,textarea) { font:700 17px/1.45 Nunito,Arial,sans-serif; }
.studio-real-editor .ProseMirror:focus { outline:none!important; box-shadow:none!important; }
.studio-real-editor .ls2-card-paper:focus-within { box-shadow:none!important; }
.studio-native-backdrop { position:fixed; inset:0; z-index:99999; background:#243c426b; }
.studio-processing-art i { background:none; box-shadow:none; padding:0; }
.studio-processing-art i img { width:100%; height:100%; object-fit:contain; }

/* One stable desktop stage, with nearby explanations and explicit action arrows. */
.unified .studio-canvas { box-sizing:border-box; height:760px; min-height:760px; padding:24px; display:flex; flex-direction:column; }
.unified .studio-canvas.studio-introduction { display:grid; place-items:center; height:760px; min-height:760px; }
.studio-course-row { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; min-height:94px; flex:none; gap:44px; }
.studio-course-row .course-rail { grid-column:2; margin:0; max-width:650px; }
.studio-course-row .studio-course-note { position:relative; inset:auto; grid-column:3; width:218px; max-width:none; padding:10px 14px; justify-self:start; box-sizing:border-box; }
.studio-course-note::before,.studio-course-note::after { display:none; }
.studio-course-note>i { position:absolute; left:-40px; top:50%; display:flex; align-items:center; gap:3px; transform:translateY(-50%); }
.studio-course-note>i b { display:block; border:1px solid #acc5ae; border-radius:50%; background:#fffefa; width:4px; height:4px; }
.studio-course-note>i b:nth-child(2) { width:6px; height:6px; }.studio-course-note>i b:nth-child(3) { width:8px; height:8px; }.studio-course-note>i b:nth-child(4) { width:10px; height:10px; }
.unified .studio-canvas .studio-board { flex:1; min-height:0; padding-top:26px; }
.studio-empty-group { width:270px; margin:0 auto; display:flex; flex-direction:column; gap:23px; align-items:center; }
.studio-empty-group .studio-empty-lesson { margin:0; width:270px; height:230px; box-sizing:border-box; }
.studio-empty-group .studio-add-lesson { position:static; margin:0; width:270px; min-height:54px; border-radius:14px; background:#c45e3f; color:#fff; }
.studio-empty-group .studio-add-lesson:hover { background:#aa4b31; }
.unified .studio-canvas .studio-lesson-gallery { display:flex; flex-wrap:nowrap; justify-content:center; align-items:flex-start; width:auto; max-width:none; margin:0 auto; gap:18px; }
.studio-lesson-gallery .studio-lesson-node { margin:0; }
.unified .studio-canvas .studio-lesson-gallery .studio-add-lesson { position:static; flex:0 0 104px; align-self:center; width:104px; height:116px; min-height:0; padding:12px; display:flex; flex-direction:column; gap:8px; border:1px dashed #aac2af; border-radius:18px; background:#f0f3e8; color:#54735e; }
.unified .studio-canvas .studio-lesson-gallery .studio-add-lesson strong { font-size:13px; }.unified .studio-canvas .studio-lesson-gallery .studio-add-lesson span { font-size:30px; }
.studio-guide { width:310px; border:1px solid #d3c6b4; border-radius:20px; padding:14px 16px; gap:11px; }
.studio-guide-number { background:#c45e3f; }.studio-guide h3 { font-size:18px; }.studio-guide p { font-size:13px; line-height:1.45; }
.studio-guide-arrow { z-index:2; overflow:visible; }.studio-guide-arrow path { fill:none; stroke:#c45e3f; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.studio-step-arrow { color:#c45e3f; }
.studio-canvas-footer { flex:none; min-height:46px; }.studio-demo-caption { font:800 12px Nunito,Arial,sans-serif; color:#81907c; }

/* Demo sources remain small attachments below one white text surface. */
.unified .studio-panel[data-panel=materials] { width:780px; }
.unified .studio-panel .studio-source-text textarea { height:134px; min-height:134px; resize:none; padding:13px 35px 13px 15px; font-size:14px; line-height:1.45; }
.studio-source-slots { justify-content:flex-start; gap:10px; margin:12px 0 16px; }
.studio-source-slot,.studio-source-attachment { flex:none; box-sizing:border-box; width:96px; min-height:0; height:84px; padding:8px; gap:3px; border-radius:12px; background:none; border-style:dashed; }
.studio-source-slot>img,.studio-source-attachment>img { width:40px; height:42px; object-fit:contain; }
.studio-source-attachment>.source-preview-image { width:62px; height:48px; object-fit:contain; }
.studio-source-attachment>span,.studio-source-slot>span { font-size:10px; width:100%; text-align:center; }
.studio-source-attachment>button { top:3px; right:3px; width:16px; height:16px; font-size:13px; background:#f5f5ed; }
.studio-mini-poster { position:relative; width:62px; height:46px; }.studio-mini-poster>img:first-child { width:100%; height:100%; object-fit:contain; }.studio-mini-poster>img:last-child { position:absolute; width:23px; height:23px; left:20px; top:12px; filter:drop-shadow(0 1px 2px #36574e77); }
.unified .studio-material-toolbar { display:flex; justify-content:space-between; gap:7px; padding:0; margin:4px 0 9px; }
.unified .studio-material-toolbar button { flex:0 0 76px; box-sizing:border-box; width:76px; min-height:78px; padding:5px 0; gap:4px; border:0; border-radius:10px; background:transparent; }
.unified .studio-material-toolbar button>img { width:48px; height:48px; }.unified .studio-material-toolbar button>span { font-size:11px; }
.unified .studio-material-toolbar button[aria-pressed=true] { background:transparent; border:0; color:#a04c31; }
.unified .studio-material-toolbar button:hover { background:#f1f2e8; }
.studio-material-footer { margin-top:8px; }.studio-material-footer>span { font-size:12px; }

/* Processing shows four deliberate stages; motion pauses when the page is hidden. */
.studio-processing { padding:8px 0 22px; }.studio-processing-label { font:900 31px/1.25 Nunito,Arial,sans-serif; margin:10px 0 16px; color:#214f45; }
.studio-processing-art { width:210px; height:210px; margin:20px 0; }
.studio-orbit-ring { position:absolute; inset:17px; border:3px solid #e3e9dd; border-top:4px solid #c45e3f; border-right:4px solid #397c8a; border-radius:50%; animation:studio-orbit 2.3s linear infinite; }
.studio-processing-art img.studio-orbit-center { position:absolute; width:96px; height:96px; top:57px; left:57px; }
.studio-processing-art i { width:42px; height:42px; animation:studio-orbit-bob 1.6s ease-in-out infinite; }
.studio-processing-art i:nth-of-type(1) { left:4px; top:45px; }.studio-processing-art i:nth-of-type(2) { left:157px; top:42px; animation-delay:.4s; }.studio-processing-art i:nth-of-type(3) { left:89px; top:167px; animation-delay:.8s; }
.studio-processing ol { display:flex; flex-wrap:wrap; justify-content:center; gap:20px; padding:0; list-style:none; font-size:13px; }
.studio-processing li::before { content:'○'; padding-right:5px; }.studio-processing li[data-done=true]::before { content:'✓'; color:#397c8a; }
@keyframes studio-orbit { to { transform:rotate(360deg); } }@keyframes studio-orbit-bob { 50% { transform:translateY(-9px) rotate(8deg); } }
.studio-panel[data-paused=true] .studio-orbit-ring { animation-play-state:paused; }
@media(prefers-reduced-motion:reduce){.studio-orbit-ring,.studio-processing-art i{animation:none!important;}}

/* A selected lesson presentation uses the shared reader shell and shared card surface. */
body[data-studio-showcase=true] .studio-demo-part>h2 { font:900 29px/1.2 Nunito,Arial,sans-serif; margin:10px 0 17px; color:#344b4d; }
body[data-studio-showcase=true] .studio-demo-part .studio-rich-card { font:700 17px/1.55 Nunito,Arial,sans-serif!important; }
body[data-studio-showcase=true] .studio-rich-card h3 { font:900 19px/1.3 Nunito,Arial,sans-serif!important; margin:18px 0 8px; color:#4e6c64; }
body[data-studio-showcase=true] .studio-rich-card p { margin:0 0 12px; }
body[data-studio-showcase=true] .studio-rich-card ul { margin:7px 0 14px; padding-left:23px; }.studio-rich-card li { padding-left:2px; margin:5px 0; }.studio-rich-card li::marker { color:#c45e3f; }
body[data-studio-showcase=true] .studio-rich-card img.studio-rich-illustration { float:right; width:165px; height:145px; max-height:145px; object-fit:contain; margin:0 0 15px 22px; border:0; border-radius:12px; }
.studio-demo-help { clear:both; margin-top:24px; padding-top:16px; border-top:1px solid #dce2d6; }
body[data-studio-showcase=true] .studio-demo-help .rdr-help-row { display:flex; width:100%; gap:9px; flex-wrap:wrap; align-items:center; }
body[data-studio-showcase=true] .studio-demo-help .rdr-continue { margin-left:auto!important; border-radius:12px; padding:11px 18px; background:#397c8a; color:white; cursor:pointer; border:1px solid #397c8a; }
body[data-studio-showcase=true] .studio-demo-help .rdr-help-btn { cursor:pointer; padding:9px 13px; border:1px solid #c2cfc9; border-radius:12px; }
.studio-help-answer { margin-top:20px; padding:15px 18px; border-left:3px solid #c98850; background:#f5edda; font:700 15px/1.5 Nunito,Arial,sans-serif; }.studio-help-answer p { margin:6px 0 0; }
.studio-visual-card { font:700 17px/1.5 Nunito,Arial,sans-serif; }.studio-visual-card>p { margin:0 0 22px; }
.studio-reader-flow { display:flex; padding:0; margin:24px 0 30px; list-style:none; gap:28px; }.studio-reader-flow li { display:flex; flex:1; position:relative; gap:10px; align-items:center; border:1px solid #c1ceba; border-radius:15px; padding:15px; background:#e6eedb; font-size:15px; }.studio-reader-flow li+li::before { content:'→'; position:absolute; left:-24px; color:#c45e3f; font-size:23px; }.studio-reader-flow li>span { color:#b35a38; font-size:23px; font-weight:900; }
.studio-reader-chart { display:grid; gap:15px; padding:22px 0; }.studio-reader-chart h3,.studio-practice-check h3 { font-size:20px; margin:0 0 7px; }.studio-reader-chart>div { display:grid; grid-template-columns:150px minmax(0,1fr) 80px; align-items:center; gap:15px; font-size:15px; }.studio-reader-chart>div>div { height:19px; border-radius:6px 9px 5px 8px; background:#e9ece1; overflow:hidden; }.studio-reader-chart i { display:block; height:100%; border-radius:6px 9px 5px 8px; }.studio-reader-chart strong { text-align:right; }.studio-reader-takeaway,.studio-practice-check { padding:19px; background:#eaf0ec; border-radius:15px; margin-top:22px; }.studio-reader-takeaway p { margin:6px 0 0; }
.studio-video-transcript { margin-top:14px; font:700 15px/1.5 Nunito,Arial,sans-serif; color:#667b6e; }.studio-video-transcript summary { cursor:pointer; }.studio-video-transcript li { margin:9px 0; }

body[data-studio-showcase=true] .lesson-test-editor>details,body[data-studio-showcase=true] .lesson-test-editor-question-list,body[data-studio-showcase=true] .lesson-test-editor>footer>div:first-child,body[data-studio-showcase=true] .lesson-test-editor>footer>div:last-child>button:disabled { display:none; }
body[data-studio-showcase=true] .lesson-test-editor>footer { justify-content:flex-end; }

/* Shared desktop walkthrough: the real control and its nearby explanation. */
.studio-tour-note { position:fixed; width:310px; box-sizing:border-box; padding:16px 18px; color:#314c43; border:1px solid #c9d4be; border-radius:20px; background:#fffef8; box-shadow:0 12px 35px #203d3426; pointer-events:auto; font:700 14px/1.5 Nunito,Arial,sans-serif; }
.studio-tour-note>header { display:flex; align-items:center; gap:10px; }.studio-tour-note>header>span { display:grid; place-items:center; min-width:35px; height:35px; padding:0 3px; box-sizing:border-box; border-radius:50%; background:#c45e3f; color:white; font-size:13px; font-weight:900; }.studio-tour-note>header>strong { font-size:18px; line-height:1.25; }
.studio-tour-note>p { margin:11px 0 13px; }.studio-tour-note>footer { display:flex; align-items:center; justify-content:space-between; gap:9px; }
.studio-tour-hide,.unified .studio-tour-hide { border:0; padding:0; background:none; color:#7d8d7c; font:800 11px/1.3 Nunito,Arial,sans-serif; cursor:pointer; text-align:left; }
.studio-guide .studio-tour-hide { margin-top:8px; }.studio-guide.studio-external-tour { z-index:12002; }
.studio-canvas:has(.studio-external-tour) .studio-guide-arrow { z-index:12001; }
.studio-light-button,body[data-studio-showcase=true] .studio-light-button,.unified .studio-light-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 18px; border:1px solid #b8cfb0; border-radius:13px; background:#e1eddc; color:#416c4f; box-shadow:none; font:900 15px/1.35 Nunito,Arial,sans-serif; cursor:pointer; text-decoration:none; }
.studio-light-button:hover,.unified .studio-light-button:hover { background:#d3e5cc; }.studio-light-button:disabled { opacity:.45; cursor:default; }.studio-light-button[aria-pressed=true] { border-color:#789b72; background:#d9e8d1; }
.studio-quiet-button { border:0; padding:8px; background:none; color:#678372; font:800 13px/1.3 Nunito,Arial,sans-serif; cursor:pointer; }

/* The primary action follows the lesson row, with a small, consistent gap. */
.unified .studio-canvas,.unified .studio-canvas.studio-introduction { height:clamp(650px,calc(100vh - 150px),760px); min-height:650px; }
.unified .studio-canvas .studio-board { flex:0 0 auto; }
.studio-canvas-footer { width:min(100%,968px); min-height:46px; margin:24px auto 0; padding:0; }
.studio-canvas .studio-share { margin-left:auto; }
.studio-guide { padding:13px 16px; }.studio-guide h3 { font-size:17px; }.studio-guide p { font-size:12px; }
.unified .studio-panel[data-panel=materials] { width:min(900px,calc(100vw - 80px)); }
.unified .studio-material-toolbar button { flex:0 0 108px; width:108px; min-height:115px; padding:7px 0; gap:7px; border:0!important; border-radius:0!important; background:none!important; outline:none; box-shadow:none!important; }
.unified .studio-material-toolbar button>img { width:82px; height:82px; transition:transform .18s; }.unified .studio-material-toolbar button>span { font-size:13px; }
.unified .studio-material-toolbar button:hover { transform:none; filter:none; background:none; }.unified .studio-material-toolbar button:hover>img { transform:translateY(-3px) scale(1.05); }.unified .studio-material-toolbar button:focus-visible>img { outline:2px solid #397c8a; outline-offset:4px; }

/* Lessons retain their reading surface and gain illustrations with a concrete visual explanation. */
.studio-card-visual { clear:both; display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:25px; margin:24px 0 5px; padding:20px; border-top:1px solid #d9e1d2; border-bottom:1px solid #d9e1d2; background:#f5f7ed; border-radius:16px; }
.studio-card-visual small { color:#7d8d76; font-size:12px; }.studio-card-visual ol { list-style:none; padding:0!important; margin:9px 0!important; }.studio-card-visual li { display:flex; align-items:center; gap:8px; font-size:14px; }.studio-card-visual li span { color:#6c8f5f; }.studio-card-visual figure { min-width:0; margin:0; }.studio-card-visual figcaption { color:#86937d; text-align:center; font-size:11px; }.studio-card-visual .ac-ig-press-chart { height:150px; }

/* A question uses the same white authored card as the lesson, with its own internal scroll. */
.studio-guided-test { color:#344b4d; font:700 17px/1.5 Nunito,Arial,sans-serif; }
.studio-test-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }.studio-test-heading small { color:#81918b; font-size:12px; }.studio-test-heading h2 { margin:5px 0 0; font:900 28px/1.2 Nunito,Arial,sans-serif; }
.studio-question-scroll { max-height:calc(100vh - 355px); min-height:280px; overflow:auto; padding:3px 8px 8px 3px; scrollbar-gutter:stable; }
.studio-guided-test label { display:block; font-size:15px; font-weight:850; }
.studio-guided-test :is(input,textarea) { width:100%; box-sizing:border-box; border:1px solid #c5d1c6; border-radius:14px; background:#fff; color:#3f554d; padding:12px 15px; font:700 17px/1.5 Nunito,Arial,sans-serif; box-shadow:none; }
.studio-guided-test textarea { display:block; resize:vertical; min-height:90px; margin-top:7px; }
.studio-test-options { margin:23px 0; padding:0; border:0; }.studio-test-options legend { font-size:15px; font-weight:850; margin-bottom:10px; }.studio-test-options>div { display:flex; gap:12px; align-items:center; margin:10px 0; }.studio-test-options button { flex:none; width:36px; height:36px; border-radius:50%; border:1px solid #a8c2a1; color:#76946b; background:#f1f6ed; font:900 17px Nunito,Arial,sans-serif; cursor:pointer; }.studio-test-options button[aria-checked=true] { background:#dfecd7; border:2px solid #7ba36b; color:#4e7844; }
.studio-question-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:19px; padding-top:16px; border-top:1px solid #dce2d6; }.studio-question-footer>span { color:#91a18c; font-size:12px; }

/* Delivery, results and the second brain are consecutive views of the same desktop scene. */
.studio-journey-host { width:100%; height:100%; min-height:0; }.studio-journey { display:flex; flex-direction:column; height:100%; color:#344e46; --font-ui:Nunito,Arial,sans-serif; --editorial-green:#608767; --editorial-gold:#c48a44; --micro-ink:#344e46; --ink:#344e46; --surface:#fffef9; --muted:#7c8b79; --border:#c6d4bf; --success:#608767; --info:#397c8a; --warning:#c48a44; --primary-press:#b36949; --text-sm:14px; --text-base:16px; --text-lg:20px; --space-2:8px; --space-3:12px; --space-4:16px; --space-5:20px; --space-6:24px; --font-nunito:Nunito; --micro-paper:#fffef9; }
.studio-journey-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; flex:none; padding:6px 8px 19px; border-bottom:1px solid #e1e6d9; margin-bottom:20px; }.studio-journey-heading small { color:#7d947f; font-size:12px; font-weight:850; }.studio-journey-heading h2 { margin:5px 0 0; font:900 29px/1.2 Nunito,Arial,sans-serif; }.studio-journey-heading>div:last-child { display:flex; gap:10px; }
.studio-journey-content { flex:0 1 auto; min-height:0; overflow:auto; scrollbar-gutter:stable; }
.studio-journey-footer { display:flex; align-items:center; justify-content:space-between; gap:18px; flex:none; margin:21px 0 0; padding-top:15px; border-top:1px solid #e0e6d6; }.studio-journey-footer>span { color:#8a9a80; font:750 12px/1.4 Nunito,Arial,sans-serif; max-width:60%; }.studio-journey-footer>button { margin-left:auto; }
.studio-share-methods { display:flex; justify-content:center; gap:16px; margin:2px 0 22px; }
.studio-delivery { width:min(850px,100%); margin:auto; }.studio-delivery-course { display:flex; align-items:center; gap:22px; padding:15px 18px; border:1px solid #d4decd; border-radius:20px; margin:15px 0 23px; background:#fbfcf5; }.studio-delivery-course>img { width:160px; height:115px; object-fit:contain; }.studio-delivery-course h3 { font-size:23px; margin:6px 0; }.studio-delivery-course p,.studio-delivery-course small { color:#7b9175; font-size:14px; margin:0; }
.studio-link-share { display:grid; grid-template-columns:1fr auto; gap:13px; align-items:end; }.studio-link-share>label { font-size:14px; font-weight:800; }.studio-link-share input { display:block; width:100%; box-sizing:border-box; padding:12px; margin-top:7px; border:1px solid #c5d3bf; border-radius:12px; background:#fff; color:#648073; font-size:14px; }.studio-link-share p { grid-column:1/-1; color:#8b9b80; font-size:12px; margin:2px 0; }
.studio-share-people { display:flex; align-items:center; flex-wrap:wrap; gap:13px 22px; padding:12px 0; }.studio-share-people h3 { width:100%; font-size:17px; margin:0 0 4px; }.studio-share-people label { display:flex; align-items:center; gap:9px; font:800 14px Nunito,Arial,sans-serif; }.studio-share-people input,.studio-graph-selection input { accent-color:#719267; width:17px; height:17px; }.studio-share-people>button { margin-left:auto; }
.studio-person-avatar { display:grid; place-items:center; flex:none; width:33px; height:33px; border-radius:50%; background:#e7eddd; color:#7d9369; font:900 15px Nunito,Arial,sans-serif; }
.studio-sample-label { margin:0 0 12px; color:#8b9a80; font-size:12px; }
.studio-recipient-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:19px; max-width:1020px; margin:auto; }.studio-recipient-card { border:1px solid #ced9c7; border-radius:20px; background:#fffefa; overflow:hidden; }.studio-recipient-card>img { width:100%; height:140px; object-fit:contain; background:#f5f7ee; }.studio-recipient-card>div { padding:16px; }.studio-recipient-card h3 { font:900 20px/1.25 Nunito,Arial,sans-serif; margin:10px 0; min-height:50px; }.studio-recipient-card small,.studio-recipient-card p { font-size:12px; color:#87997e; }.studio-recipient-card .studio-light-button { width:100%; box-sizing:border-box; }.studio-recipient-quiz { border:1px solid #d3dec8; border-radius:18px; padding:20px; margin:20px auto; max-width:900px; background:#fffefa; }.studio-recipient-quiz>button { display:flex; margin:9px 0; }.studio-recipient-quiz h3 { font-size:20px; }
.studio-report-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin:2px 0 18px; }.studio-report-metrics>article { display:flex; flex-direction:column; align-items:center; gap:6px; border:1px solid #d5dfcf; border-radius:18px; background:#fffefa; padding:10px; }.studio-report-metrics svg { width:115px; height:115px; }.studio-report-metrics strong { font-size:13px; }
.studio-report-grid { display:grid; grid-template-columns:300px minmax(0,1fr); gap:25px; }.studio-report-people h3 { font-size:17px; margin:8px 0 12px; }.studio-report-people>button { display:flex; align-items:center; gap:11px; width:100%; text-align:left; border:1px solid transparent; border-radius:13px; padding:10px 12px; background:none; color:#5c765d; margin-bottom:4px; cursor:pointer; }.studio-report-people>button[aria-pressed=true] { background:#edf3e5; border-color:#ccdac3; }.studio-report-people>button>span:nth-child(2) { flex:1; }.studio-report-people strong,.studio-report-people small { display:block; }.studio-report-people strong { font:850 14px Nunito,Arial,sans-serif; }.studio-report-people small { margin-top:3px; color:#91a087; font-size:11px; }.studio-report-people b { font-size:14px; }
.studio-report-chart { padding:16px 20px; border:1px solid #d3ddcd; border-radius:20px; background:#fffefa; min-width:0; }.studio-report-chart-tabs { display:flex; gap:9px; }.studio-report-chart-tabs>button { font-size:12px; padding:7px 10px; }.studio-report-chart h3 { margin:16px 0 5px; font-size:17px; }.studio-report-chart .ac-ig-press-chart { height:175px; }.studio-report-chart p { margin:7px 0 0; font-size:12px; color:#819277; }
.studio-capture-explanation>img { width:100px; height:100px; object-fit:contain; }.studio-capture-explanation h3 { font:900 28px/1.2 Nunito,Arial,sans-serif; margin:15px 0; }.studio-capture-explanation p,.studio-capture-explanation li { font:750 16px/1.6 Nunito,Arial,sans-serif; color:#829178; }.studio-capture-explanation ol { padding-left:22px; }
.studio-library-document { padding:22px; border:1px solid #d2deca; border-radius:18px; background:#fffefa; overflow:auto; }.studio-library-document small { color:#9aa88d; font-size:11px; }.studio-library-document h3 { font:900 23px/1.3 Nunito,Arial,sans-serif; margin:12px 0 16px; }.studio-library-document p { font:750 15px/1.6 Nunito,Arial,sans-serif; color:#6f866a; white-space:pre-line; }
@media(prefers-reduced-motion:reduce){.studio-material-toolbar button>img { transition:none; }}
.unified .studio-canvas .studio-board { padding-bottom:0; }
.studio-canvas:has(.studio-external-tour) .studio-canvas-footer { position:relative; z-index:12002; }
.studio-journey-footer { position:relative; z-index:12002; }
.studio-recipient-cards { grid-template-columns:repeat(3,270px); justify-content:center; }
.studio-recipient-cards>.studio-recipient-card { border:0; border-radius:0; background:none; overflow:visible; }
.studio-recipient-cards>.studio-recipient-card>div { padding:0; }
.studio-journey { --danger:#b77252; --editorial-red-pencil:#b77252; --editorial-red:#b77252; --font-display:Nunito,Arial,sans-serif; }
.studio-report-metrics .ac-ig-press-diagram { width:115px!important; height:115px!important; min-width:115px; padding:0!important; box-sizing:border-box; }
.studio-report-metrics .ac-ig-press-diagram>svg { width:115px!important; height:115px!important; }
.studio-canvas-footer { width:100%; }
.studio-guide.studio-external-tour { z-index:12004; }
.studio-canvas-footer>.studio-light-button { margin-left:auto; }.studio-canvas-footer>.studio-light-button+.studio-share { margin-left:0; }
.unified .studio-material-toolbar button:focus-visible>img { outline:none; }.unified .studio-material-toolbar button:focus-visible>span { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:5px; }
.studio-guide { pointer-events:auto; }
.studio-journey-footer .studio-share:disabled { background:#e3e7dc; color:#95a18e; cursor:default; }
.studio-canvas[data-guide-target=share] .studio-guide { width:390px; padding:10px 14px; }
.studio-canvas[data-guide-target=share] .studio-guide h3 { font:900 16px/1.2 Nunito,Arial,sans-serif!important; margin:0 0 5px!important; }
.studio-canvas[data-guide-target=share] .studio-guide p { font:750 12px/1.35 Nunito,Arial,sans-serif!important; margin:0!important; }
.studio-canvas[data-guide-target=share] .studio-tour-hide { font:800 10px/1.2 Nunito,Arial,sans-serif!important; margin-top:6px; }
.studio-tour-hide,.unified .studio-tour-hide { min-height:0!important; height:auto!important; }
.studio-guide>div { min-width:0; flex:1; }

/* Attention belongs to the actual element. The dimmer has no holes or borders. */
.studio-tour-layer { display:contents; }
.studio-tour-positioned { position:relative!important; inset:auto!important; }
.studio-tour-active,.studio-tour-preserve { z-index:12020!important; }
.studio-guide.studio-external-tour,.studio-tour-note { z-index:12040!important; }
.studio-native-dialog:focus,.studio-native-dialog:focus-visible { outline:none!important; }
body[data-studio-showcase=true] button:focus:not(:focus-visible) { outline:none!important; box-shadow:none!important; }
.studio-canvas .lesson-edit { display:grid; place-items:center; width:40px; height:40px; padding:0; background:none!important; border:0; border-radius:12px; box-shadow:none; }
.studio-canvas .lesson-edit>img { width:30px; height:30px; object-fit:contain; }
.studio-tour-note:has(header:not(:has(span))) { border:1px solid #d4ddca; padding:14px 17px; }
.studio-tour-note:has(header:not(:has(span))) header strong { color:#486c50; font-size:19px; }

/* One white authored surface in the editor; the shared hidden image probe stays hidden. */
.studio-real-editor { background:#fff8e9; position:relative; }
.studio-real-editor>header { min-height:76px; flex:none; box-sizing:border-box; background:#fff8e9; border-bottom:1px solid #d9e0d4; }
.studio-real-editor-body { overflow:hidden; }
.studio-real-editor-body>nav { background:#fff8e9; border-right:1px solid #e0e4d8; }
.studio-real-editor-body>main { background:#fff8e9; padding:20px 28px 28px; overflow:auto; scrollbar-gutter:stable; }
.studio-real-editor .ls2-card-paper { padding:0!important; border:1px solid #ccd7c7!important; border-radius:22px!important; box-shadow:none!important; background:#fffef9!important; }
.studio-real-editor .ls2-card-paper::after { display:none!important; }
.studio-real-editor .ls2-card-cap,.studio-real-editor .ls2-card-actions { display:none; }
.studio-real-editor .ls2-card-editor .ProseMirror { padding:26px!important; min-height:0!important; color:#34424b; }
.studio-real-editor .ls2-card-paper>.ls2-image-budget.rdr-shell { position:absolute!important; inset:0 auto auto -1px!important; height:auto!important; min-height:0!important; width:calc(100% + 2px)!important; visibility:hidden!important; pointer-events:none!important; z-index:-1; }
.studio-real-editor>footer { position:relative; flex:none; background:#fff8e9; border-top:1px solid #d9e0d4; padding:14px 22px; min-height:70px; box-sizing:border-box; }
.studio-real-editor>footer .ws-primary { white-space:nowrap; background:#e1eddc; border-color:#b8cfb0; color:#416c4f; }
.studio-real-editor>footer .ws-secondary { background:#f3f4e9; border-color:#cbd5c3; color:#526f58; }

/* Lesson figures are rendered as generated illustrations, with live, readable captions. */
.studio-lesson-visual { margin:0; clear:both; }
.studio-lesson-visual>img { display:block; width:100%; height:270px; object-fit:contain; }
.studio-lesson-visual>figcaption { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; padding:13px 0 23px; border-bottom:1px solid #dfe6d7; text-align:center; }
.studio-lesson-visual>figcaption>div { display:flex; flex-direction:column; gap:7px; }
.studio-lesson-visual>figcaption strong { font:900 26px/1.2 Nunito,Arial,sans-serif; color:#c07845; }
.studio-lesson-visual>figcaption span { font:800 16px/1.4 Nunito,Arial,sans-serif; color:#5c7962; }
.studio-visual-explanation { margin:20px 0 0; font:750 17px/1.55 Nunito,Arial,sans-serif; color:#71836f; }
body[data-studio-showcase=true] .studio-rich-card ul { list-style:disc!important; padding-left:25px!important; }
body[data-studio-showcase=true] .studio-rich-card ol { list-style:decimal!important; padding-left:25px!important; }
body[data-studio-showcase=true] .studio-rich-card li { display:list-item!important; padding-left:4px!important; margin:7px 0!important; }

/* Processing is led by the operation and the changing explanation, not by a large spinner. */
.studio-panel[data-panel=processing] { width:min(980px,calc(100vw - 80px)); }
.studio-processing { width:100%; box-sizing:border-box; padding:20px 6px 25px; gap:0; }
.studio-process-heading { display:flex; align-items:flex-start; gap:23px; width:100%; min-height:118px; text-align:left; }
.studio-process-number { font:900 68px/1 Nunito,Arial,sans-serif; color:#c4814c; min-width:95px; }
.studio-process-heading .studio-processing-label { display:block; margin:0 0 12px; font:900 clamp(28px,2.4vw,38px)/1.2 Nunito,Arial,sans-serif; color:#2f554a; }
.studio-processing-detail { margin:0; font:750 19px/1.5 Nunito,Arial,sans-serif; color:#819178; }
.studio-processing .studio-processing-art { flex:none; width:150px; height:150px; margin:15px auto 18px; }
.studio-processing .studio-orbit-ring { inset:12px; border-width:2px; }
.studio-processing .studio-orbit-center { width:70px!important; height:70px!important; left:40px!important; top:40px!important; }
.studio-processing .studio-processing-art i { width:31px; height:31px; }
.studio-processing .studio-processing-art i:nth-of-type(1) { left:0; top:37px; }.studio-processing .studio-processing-art i:nth-of-type(2) { left:122px; top:32px; }.studio-processing .studio-processing-art i:nth-of-type(3) { left:60px; top:121px; }
.studio-process-progress { width:100%; display:flex; align-items:center; justify-content:center; gap:22px; margin:0 0 24px; }
.studio-process-progress .studio-processing-meter { flex:1; max-width:none; width:auto; height:9px; }
.studio-process-progress output { min-width:100px; font:900 42px/1.1 Nunito,Arial,sans-serif; color:#5d805d; }
.studio-processing ol { width:100%; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:0; text-align:left; }
.studio-processing li { color:#9ca98f; font:850 18px/1.35 Nunito,Arial,sans-serif; padding-top:14px; border-top:3px solid #e1e8d8; }
.studio-processing li::before { content:none!important; }.studio-processing li>span { display:block; font-size:27px; margin-bottom:6px; }
.studio-processing li[data-active=true] { color:#bc7047; border-color:#c4814c; }.studio-processing li[data-done=true] { color:#6f8e69; border-color:#96b080; }

/* Public constructor navigation and illuminated walkthrough. */
.studio-canvas .course-tab:only-child { border:0; border-radius:18px; }
.kb-workspace { background:#fffdf6; border:1px solid #d2dccd; border-radius:30px; color:#244c40; }
.studio-tour-note::after { content:''; position:absolute; width:11px; height:11px; background:#fffef8; border:solid #c9d4be; transform:rotate(45deg); pointer-events:none; }
.studio-tour-note[data-pointer=up]::after { left:calc(var(--pointer-x) - 6px); top:-6px; border-width:1px 0 0 1px; }
.studio-tour-note[data-pointer=down]::after { left:calc(var(--pointer-x) - 6px); bottom:-6px; border-width:0 1px 1px 0; }
.studio-tour-note[data-pointer=left]::after { top:45%; left:-6px; border-width:0 0 1px 1px; }
.studio-tour-note[data-pointer=right]::after { top:45%; right:-6px; border-width:1px 1px 0 0; }
.unified.starts dialog:is(.studio-panel,.studio-native-dialog)::backdrop { background:transparent; }
.studio-journey:has(.studio-reports) { --ink:#264e43; --micro-ink:#527065; --surface:#fffdf5; --primary-press:#397c8a; --academy-accent-teal:#397c8a; --academy-accent-green:#729664; --editorial-paper:#f8f6e9; }
.studio-report-metrics>article { align-items:center; flex-direction:row; text-align:left; gap:12px; padding:17px 12px; }
.studio-report-metrics img { width:clamp(72px,7.2vw,110px); height:100px; object-fit:contain; }
.studio-report-metrics strong { color:#254e42; font-size:clamp(25px,2.4vw,40px); }
.studio-report-metrics h3 { margin:1px 0 4px; font-size:17px; }
.studio-report-metrics small,.kb-workspace small { color:#5d766a; }
.result-lines { display:grid; gap:8px; }
.result-lines>div>div:first-child { display:flex; align-items:center; justify-content:space-between; font-size:15px; }
.result-lines .ac-ig-press-progress { width:100%; }
.kb-workspace { padding:30px clamp(28px,3.4vw,64px); font:700 16px/1.45 Nunito,Arial,sans-serif; }
.kb-workspace header,.kb-workspace footer,.kb-trail,.kb-tags,.kb-actions { display:flex; align-items:center; gap:12px; }
.kb-workspace>header { justify-content:space-between; padding-bottom:20px; border-bottom:1px solid #dde5d6; }
.kb-workspace h2 { margin:2px 0; font-size:36px; letter-spacing:-.035em; }
.kb-workspace h3 { margin:5px 0 10px; line-height:1.22; }
.kb-workspace p { margin:6px 0; }
.kb-workspace button { cursor:pointer; font-family:inherit; }
.kb-trail { padding:0; list-style:none; font-size:14px; color:#728273; }
.kb-trail li+li::before { content:'→'; margin-right:12px; color:#c88455; }
.kb-trail li[aria-current] { color:#285e50; font-weight:900; }
.kb-handset { display:flex; flex-direction:column; aspect-ratio:9 / 18.5; padding:12px 12px 8px; border-radius:42px; border:6px solid #315d56; background:#f6f5e9; box-shadow:inset 0 0 0 2px #e3e4cc,3px 6px 0 #93aa94,0 18px 26px #27483a1a; }
.kb-phone-status { display:flex; justify-content:space-between; align-items:center; margin:0 13px 7px; font-size:11px; }
.kb-phone-status i { width:60px; height:12px; border-radius:15px; background:#264c44; }
.kb-handset header { padding:3px 8px 9px; border-bottom:1px solid #cddbc6; }
.kb-handset header img { width:45px; height:45px; object-fit:contain; }
.kb-handset header strong,.kb-handset header small { display:block; }
.kb-handset header small { font-size:12px; }
.kb-handset > * { flex:none; }
.kb-handset .kb-messages { flex:1 1 0; min-height:0; overflow:auto; padding:8px 4px; background:linear-gradient(150deg,#eef1df,#f8f4e9); scrollbar-width:thin; }
.kb-in,.kb-out { width:fit-content; max-width:88%; box-sizing:border-box; background:#fffef7; border:1px solid #dce2d0; border-radius:16px 16px 16px 4px; margin:6px 0; padding:8px 12px; font-size:14px; white-space:pre-line; }
.kb-out { margin-left:auto; background:#dcece0; border-radius:16px 16px 4px 16px; }
.kb-compose { display:block; margin:9px 0; font-size:12px; }
.kb-compose textarea,.kb-library-grid input { box-sizing:border-box; width:100%; padding:8px 11px; border-radius:12px; background:#fffdf7; color:#244c40; border:1px solid #bdcebd; font:inherit; }
.kb-compose textarea { display:block; resize:vertical; min-height:46px; max-height:96px; }
.kb-phone-tools { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(40px,max-content); justify-content:center; gap:3px; }
.kb-phone-tools button { min-height:46px; display:grid; align-content:center; justify-items:center; gap:1px; background:none; border:0; padding:2px 0; }
.kb-phone-tools img { width:32px; height:32px; object-fit:contain; }
.kb-phone-tools small { font:800 10px Nunito,Arial,sans-serif; }
.kb-phone-tools button[aria-pressed=true] small { color:#a1512f; }
.kb-send { width:100%; border:0; padding:10px; margin-top:8px; background:#397c8a; color:white; border-radius:14px; font-size:15px; font-weight:900; }
.kb-send:disabled { background:#e2e5d8; color:#7e8b7e; cursor:default; }
.kb-home-indicator { display:block; width:75px; height:4px; border-radius:8px; background:#71867b; margin:10px auto 0; }
.kb-guide { margin:18px 0; padding:16px 24px; border:1px solid #acc9b9; border-radius:18px 24px 24px 8px; }
.kb-guide>span,.kb-graph-detail>small { font-size:12px; font-weight:900; color:#427c67; }
.kb-guide h3 { font-size:21px; }
.kb-attachment { display:flex; align-items:center; gap:9px; line-height:1.25; }
.kb-attachment img { width:36px; height:36px; object-fit:contain; }
.kb-tags,.kb-actions { flex-wrap:wrap; margin:12px 0; gap:7px; }
.kb-tags button,.kb-map-tag { border:1px solid #c3d4be; border-radius:20px; background:#ecf3e2; color:#3c6750; padding:5px 11px; font:800 13px Nunito,Arial,sans-serif; }
.kb-tags button[aria-pressed=true],.kb-map-tag[aria-pressed=true] { background:#397c75; color:white; }
.kb-list button,.kb-map-doc { width:100%; padding:9px 12px; background:#fffdf7; border-radius:13px; border:1px solid #d3ddca; text-align:left; color:#325447; margin-bottom:6px; font:800 14px Nunito,Arial,sans-serif; }
.kb-list button[aria-pressed=true],.kb-map-doc[aria-pressed=true] { background:#e3eedc; border-color:#9cba9d; }
.kb-source { max-height:260px; overflow:auto; white-space:pre-line; }
.kb-source img { height:80px; object-fit:contain; }
.kb-workspace footer { justify-content:flex-end; margin:18px 0 0; }
.kb-map { position:relative; border-radius:20px; background:#f5f6e9; width:100%; }
.kb-map svg { position:absolute; inset:0; width:100%; height:100%; }
.kb-map path { fill:none; stroke:#77a69a; stroke-width:2.5px; }
.kb-map [data-match=false] { opacity:.32; }
.kb-map button { position:absolute; transform:translateY(-50%); margin:0; }
.kb-map-doc { left:3%; width:26%; }.kb-map-tag { left:72%; }
.kb-graph-detail,.kb-artifacts { margin:14px 0; }.kb-graph-detail>strong { display:block; }
.kb-artifacts article { white-space:pre-line; font-size:14px; }.kb-artifacts details { margin-top:8px; }
.guided-studio .studio-canvas { isolation:isolate; }
.studio-canvas[data-guide-hidden=true] :is(.studio-guide,.studio-guide-arrow),
.guided-studio:has(.studio-panel[open]) .studio-canvas :is(.studio-guide,.studio-guide-arrow) { visibility:hidden; }
.kb-handset { background:linear-gradient(145deg,#fff7e0,#e8f2e7 62%,#f9f5e4); }
.studio-report-metrics .result-dial { flex:none; position:relative; width:clamp(122px,10.7vw,166px); aspect-ratio:1; }
.studio-report-metrics .result-dial .ac-ig-press-diagram,.studio-report-metrics .result-dial .ac-ig-press-diagram>svg { width:100%!important; height:100%!important; min-width:0!important; }
.studio-report-metrics .result-dial img { position:absolute; width:45%; height:45%; top:27.5%; left:27.5%; object-fit:contain; }
.result-dial .ac-ig-press-diagram-rule { display:none; }
.studio-report-metrics>article { padding:8px 10px; gap:5px; }
.result-lines .ac-ig-press-progress { margin-block:-6px; }
.result-lines { gap:3px; }
.studio-report-grid .studio-report-chart { padding-block:10px; }
.studio-report-chart h3 { margin:8px 0 4px; }
.report-instruction { color:#3d5d4d; }
.report-instruction strong,.report-instruction span { display:block; }
.report-instruction strong { font-size:15px; }
.report-instruction span { font-size:13px; max-width:760px; }
@media(prefers-reduced-motion:reduce){.studio-reports[data-report-step] :is(.result-dial,.studio-report-people>button,.studio-report-chart-tabs){animation:none;}}

.unified .studio-canvas.studio-journey-canvas:has(.studio-reports) { height:auto; min-height:0; }
.studio-journey-host:has(.studio-reports),.studio-journey:has(.studio-reports) { height:auto; }
.studio-journey:has(.studio-reports) .studio-journey-content { overflow:visible; }

.studio-training-tools { display:flex; align-items:center; gap:18px; width:max-content; margin:0 auto 12px; padding:6px 8px 6px 23px; border-radius:30px; border:1px solid #d2dbca; background:#faf8ed; color:#33574b; font:900 15px Nunito,Arial,sans-serif; }
.studio-training-tools[hidden] { display:none; }
.studio-training-tools .studio-restart { border:1px solid #cbd6c7; border-radius:22px; background:#fffdf7; color:#426c59; font:800 14px Nunito,Arial,sans-serif; padding:9px 14px; cursor:pointer; }
.landing-story.wrap { margin:clamp(44px,5vw,86px) auto; scroll-margin-top:82px; }
.landing-story:focus,#studio-library:focus { outline:none; }
#studio-library { scroll-margin-top:82px; }

.story-heading { justify-content:flex-start!important; gap:15px!important; }
.story-heading>img { width:65px;height:65px;object-fit:contain; }
.kb-workspace.story-lab,.kb-workspace.landing-chat,.kb-workspace.standalone-report { height:auto; padding:25px clamp(22px,2.8vw,48px); }
.kb-phone-tools small { font-size:11px; } .kb-phone-tools button { border-radius:14px; transition:transform .18s; }
.kb-phone-tools button:hover { transform:translateY(-3px); }
.kb-out { animation:kb-arrival .4s ease-out; }
@keyframes kb-arrival { from { opacity:.2; transform:translateY(7px); } }
.kb-bench { min-width:0; padding:18px; background:#f5f7ed; border:1px solid #c6d6c2; border-radius:26px; }
.kb-bench>header { justify-content:space-between; } .kb-bench>header h3 { font-size:22px;margin:0; }
.kb-bench>header span,.kb-folders small,.kb-doc-meta small { color:#617866; font-size:12px; }
.kb-live-hint { display:flex;align-items:center;gap:12px;margin:12px 0;padding:10px 14px;border-radius:17px;background:#e6f1e6;color:#355e50; }
.kb-live-hint img { width:52px;height:52px;object-fit:contain; } .kb-live-hint strong { font-size:16px; }
.kb-live-hint p { margin:2px 0;font-size:14px;line-height:1.42; }
.kb-live-hint progress { width:min(100%,310px); height:7px; accent-color:#51896e; }
.kb-worktop { display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0; }
.kb-worktop label { flex:1 1 165px; } .kb-worktop input { width:100%; box-sizing:border-box;background:#fffef8;border:1px solid #c9d6c3;border-radius:14px;padding:9px 12px;font:700 14px Nunito,Arial,sans-serif; }
.kb-mode { display:flex; align-items:center;gap:4px; }
.kb-mode button { display:flex;align-items:center;gap:6px;padding:3px 10px;border:1px solid transparent;border-radius:14px;background:transparent;color:#476b59;font-weight:850; }
.kb-mode button[aria-pressed=true] { border-color:#b7cfb9;background:#e2eddf; }
.kb-mode img { width:32px; height:32px; object-fit:contain; }
.kb-shelf { display:grid;grid-template-columns:minmax(170px,30%) minmax(0,1fr);gap:12px; }
.kb-folders { min-width:0; } .kb-folders>div+div { margin-top:15px; }
.kb-folders h4 { margin:4px 0 5px;font-size:14px;display:flex;align-items:center;gap:7px; }.kb-folders h4 img { width:32px;height:32px;object-fit:contain; }
.kb-folders button { background:transparent;color:#3c5c4b;width:100%;border:0;border-radius:11px;text-align:left;padding:6px 7px; }
.kb-folders button[aria-pressed=true] { background:#dcead9; }
.kb-folders .kb-attachment { font-size:13px; } .kb-folders .kb-attachment img { width:28px;height:30px; } .kb-attachment strong { overflow-wrap:anywhere; }
.kb-desk { min-width:0; }
.kb-desk .kb-source,.kb-empty { background:#fffef8; border:1px solid #d2ddc9;border-radius:16px;box-sizing:border-box;padding:17px; min-height:230px;max-height:395px;overflow:auto; }
.kb-doc-meta { display:flex;align-items:center;gap:9px; }.kb-doc-meta img { width:36px;height:36px;object-fit:contain; }
.kb-doc-body { white-space:normal;font-size:14px;line-height:1.47; }.kb-doc-body h4 { margin:13px 0 3px; }
.kb-desk .kb-map { background:#fffdf5;border:1px solid #d5decb; }
.kb-desk .kb-map-doc { width:47%;left:2%;padding:5px;font-size:12px; }.kb-desk .kb-map-doc img {width:22px;height:25px;}
.kb-desk .kb-map-tag { left:66%;max-width:32%;padding:4px 7px;overflow-wrap:anywhere;font-size:12px; }
.kb-bench>.kb-tags { margin-bottom:0; }
.standalone-report .studio-reports { margin-top:18px; }
@media(prefers-reduced-motion:reduce){.kb-out,.kb-phone-tools button { animation:none;transition:none; }}
.story-lab .kb-doc-art { float:right;width:min(39%,155px);margin:0 0 10px 12px;height:110px;object-fit:contain; }
.kb-story-steps { list-style:none;display:flex;align-items:center;justify-content:center;gap:18px;padding:0;margin:15px auto 0;color:#718375;font-size:13px; }
.kb-story-steps li { display:flex;align-items:center;gap:6px; }
.kb-story-steps li span { display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e7eddf; }
.kb-story-steps li[data-complete=true] span { background:#cee5d2;color:#295645; }
.kb-story-steps li[aria-current] { color:#9f4e2c;font-weight:900; } .kb-story-steps li[aria-current] span { background:#c35f3d;color:white; }
.kb-task { padding:6px 0;border:0;margin:5px 0 0;display:flex;gap:6px; }
.kb-task legend { color:#4a6857;font-size:12px; }
.kb-task button { border:1px solid #bdceba;background:#fffdf6;color:#466856;font:800 12px Nunito,Arial,sans-serif;border-radius:12px;padding:7px 9px; }
.kb-task button[aria-pressed=true] { background:#d6eada;border-color:#8eaf99; }
.kb-send { display:flex;align-items:center;justify-content:center;gap:10px; } .kb-send img {width:24px;height:24px;object-fit:contain;}
.kb-processing-strip { display:flex;flex-wrap:wrap;gap:12px;list-style:none;padding:0;margin:8px 0 0; }
.kb-processing-strip li {display:flex;align-items:center;gap:3px;font-size:11px;color:#6e7d70;}
.kb-processing-strip img {width:22px;height:22px;object-fit:contain;}
.kb-processing-strip li[aria-current] {color:#9f4e2c;font-weight:900;}
.kb-processing-strip li[data-complete=true] {color:#365e44;}


#role-demo[hidden], #role-demo [hidden], .unified .catalog[hidden] { display:none!important; }
#role-demo { scroll-margin-top:76px; }
.demo-section-menu { scroll-margin-top:76px; }
.unified .demo-section-menu.wrap {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px;
  width:fit-content; max-width:var(--landing-width); margin:0 auto; padding:30px 0 30px;
}
.demo-section-menu button {
  display:flex; align-items:center; justify-content:space-between; gap:10px; min-width:0;
  padding:5px 14px; border:1px solid #cbd8c7; border-radius:14px;
  background:#faf9f2; color:#355a4d; cursor:pointer; text-align:left; font-family:Nunito,Arial,sans-serif;
}
.demo-section-menu strong { font-size:15px; font-weight:900; line-height:1.15; }
.demo-section-menu b { font-size:.72em; font-variant-numeric:tabular-nums; vertical-align:.1em; margin-right:.18em; color:#628171; }
.demo-section-menu img { width:31px; height:31px; object-fit:contain; }
.demo-section-menu button:hover { background:#e9f0e4; }
.demo-section-menu button[aria-pressed=true] { background:#285548; color:#fffdf2; border-color:#285548; }
.demo-section-menu button[aria-pressed=true] b { color:#c3dfc4; }
.demo-section-menu button:focus-visible { outline:3px solid #42766a; outline-offset:2px; }
#role-demo>.wrap:not(.demo-section-menu) { width:var(--landing-width); max-width:none; margin:0 auto 38px; }
.demo-introduction,.unified .studio-canvas.studio-introduction {
  display:grid; place-items:center; min-height:clamp(370px,37vw,510px); height:auto;
  background:#fffdf7; border:1px solid #d6ddcf; border-radius:32px;
}
#role-demo .studio-intro { max-width:720px; margin:auto; padding:42px 35px; }
#role-demo .studio-intro p:not(.overline) { max-width:54ch; margin:18px auto 24px; text-wrap:pretty; }
#role-demo .studio-intro h2 { text-wrap:balance; }
.demo-knowledge-intro { grid-template-columns:1.1fr 1fr; gap:2%; padding:25px; }
.demo-knowledge-intro .studio-intro { text-align:left; }
.demo-knowledge-intro .kb-story-cover {
  display:grid; place-items:center; align-content:center; width:100%; height:100%; min-height:0;
  padding:24px; margin:0; background:#204d40; color:#fffbed; border-radius:24px;
}
.kb-story-cover .knowledge-copy h2 { margin:0; color:#fffbed; font:900 clamp(26px,2.3vw,39px)/1.08 Nunito,Arial,sans-serif; text-align:center; }
.kb-story-cover h2 span { display:block; }
.kb-story-cover>img { width:100%; height:clamp(130px,15vw,225px); object-fit:contain; }

/* Keep the active desktop stage clear of the fixed navigation. */
#role-demo:not([hidden]) { padding-bottom:80px; }
#role-demo[data-finished=true]:not([hidden]) { padding-bottom:38px; }
#role-demo>.wrap:not(.demo-section-menu) { min-height:calc(100svh - 80px); scroll-margin-top:66px; margin-bottom:0; }
#role-demo :is(.demo-introduction,.studio-introduction,.landing-chat,.standalone-report,.story-lab) { min-height:calc(100svh - 100px); box-sizing:border-box; }
#role-demo .studio-introduction .studio-intro { margin:auto; }
.unified #guided-studio:focus { outline:none; }
@media(prefers-reduced-motion:no-preference) {
  #role-demo:not([hidden]) { animation:campus-copy-in .45s ease-out; }
}
.kb-filing-note h3:focus,.kb-result-note p:focus { outline:none; }
.story-lab>.story-heading { gap:10px!important; padding-bottom:12px; }
.story-lab>.story-heading img { width:48px; height:45px; }
.story-lab>.story-heading h2 { font-size:clamp(26px,2.2vw,36px); }
.story-lab>.story-heading .studio-restart { margin-left:auto; padding:8px 15px; border:1px solid #cbd6c7; border-radius:20px; background:#faf9f2; color:#426352; font-size:14px; font-weight:800; }
.story-lab .kb-story-steps { padding:0; margin:14px 0 4px; }
.kb-workspace.story-lab { padding:clamp(15px,2.1vh,28px) clamp(20px,2.5vw,40px) 20px; }
.story-lab .kb-lab-grid {
  --phone-width:clamp(234px,min(21vw,calc(48vh - 118px)),310px);
  display:grid; align-items:start; container-type:inline-size; position:relative; isolation:isolate; padding-top:10px;
  grid-template-columns:var(--phone-width) minmax(0,1fr); gap:clamp(22px,3.6vw,65px);
}
.story-lab .kb-handset { grid-area:1 / 1; width:var(--phone-width); box-sizing:border-box; transform:translateX(0); z-index:1; }
.story-lab[data-kb-stage=capture] .kb-handset { transform:translateX(calc((100cqw - var(--phone-width)) / 2)); }
.story-lab .kb-phone-guide { width:clamp(185px,21cqw,310px); margin:0; }
.kb-phone-guide .studio-light-button { margin:12px 8px 0 0; }
.kb-phone-guide .studio-tour-hide { display:inline-block; }
.kb-show-guide { position:absolute; left:5%; top:40%; }
.story-lab .kb-bench { grid-area:1 / 2; align-self:start; }
.story-lab .kb-bench>header { display:flex; justify-content:space-between; }
.kb-result-note,.kb-filing-note { display:flex; align-items:flex-start; gap:12px; margin:12px 0 18px; }
.kb-filing-note h3,.kb-result-note p,.kb-filing-note p { margin:0; }
.kb-filing-note,.kb-result-note { padding:12px 15px; border:1px solid #d3c6b4; border-radius:20px; background:#fffefa; }
.kb-filing-note p { margin-top:6px; }
.kb-filing progress { display:block; width:100%; height:8px; accent-color:#49866c; margin:12px 0 20px; }
.kb-arrivals { display:grid; gap:7px; min-height:72px; margin-bottom:15px; }
.kb-arrivals>div,.kb-arrivals h4 { display:flex; align-items:center; gap:12px; margin:0; }
.kb-arrivals>div { padding:8px 12px; background:#fffdf6; border-radius:12px; }
.kb-arrivals>div small { margin-left:auto; }
.kb-arrivals h4 img { width:32px; height:30px; object-fit:contain; }
.kb-filing-map { max-height:290px; overflow:auto; margin-bottom:12px; }
.kb-filing-map .kb-map-doc { width:44%; }
.kb-filing-map .kb-map button:disabled { opacity:1; color:#36594a; cursor:default; }
.story-lab .kb-next-story { display:flex; justify-content:space-between; gap:20px; border-top:1px solid #d7ded0; padding-top:16px; }
.kb-next-story p { font-size:15px; max-width:70ch; }
.kb-share-result { padding:14px; border:1px solid #cbd9c8; border-radius:14px; background:#fffdf7; }
.kb-share-result label { display:grid; gap:5px; font-weight:800; }
.kb-share-result input { width:100%; padding:8px; margin-bottom:8px; }
.kb-share-result a,.kb-share-result [role=status] { margin-left:10px; }
#knowledge-share { max-width:900px; margin:0 auto; }
#knowledge-share article>a { display:block; width:fit-content; margin:8px 0; }
#knowledge-share article,#knowledge-share details { border-top:1px solid #d7ded0; padding:16px 0; }
#knowledge-share p { white-space:pre-line; overflow-wrap:anywhere; }
@media(prefers-reduced-motion:no-preference) {
  .story-lab:not([data-kb-stage=capture]) .kb-handset { transition:transform .65s cubic-bezier(.2,.74,.25,1); }
  .kb-filing { animation:campus-copy-in .35s .22s ease-out both; }
  .kb-arrivals>div,.kb-filing-map { animation:campus-copy-in .35s ease-out; }
}
.story-lab .kb-phone-tools { grid-template-columns:repeat(5,minmax(0,1fr)); grid-auto-columns:auto; }
.story-lab .kb-phone-tools small { font-size:clamp(9px,1.65vh,11px); }
.story-lab .kb-phone-tools button:nth-child(4) small { font-size:clamp(8px,1.25vh,10px); }
.story-lab .kb-compose textarea { resize:none; }
.story-lab .kb-messages { min-height:40px; }
.story-lab .kb-filing-map .kb-map-doc { left:2%; width:47%; }
.story-lab .kb-filing-map .kb-map-tag { left:66%; }
.story-lab .kb-filing-action { margin-top:10px; }
.story-lab .kb-library-actions { margin:14px 0 0; }
.story-lab .kb-desk .kb-source,.story-lab .kb-folders,.story-lab .kb-map-frame { max-height:clamp(220px,34vh,350px); overflow:auto; }
.story-lab .kb-desk .kb-source,.story-lab .kb-empty { min-height:220px; }

.kb-workspace.agent-story { display:flex; flex-direction:column; padding:clamp(20px,3vw,44px); }
.agent-story .agent-heading { justify-content:flex-start; gap:16px; padding-bottom:17px; }
.agent-heading h2 { font-size:clamp(27px,2.7vw,42px); }
.agent-heading p { margin:4px 0 0; color:#5c7064; font-size:14px; }
.agent-avatar { display:grid; place-items:center; width:64px; height:64px; border:1px solid #d1ddcc; border-radius:22px; background:#e8f0e1; flex:none; }
.agent-avatar img { width:52px; height:52px; object-fit:contain; }
.agent-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(200px,26%); gap:clamp(14px,2.3vw,36px); margin-top:20px; }
.agent-conversation { min-width:0; border:1px solid #cdd9c9; border-radius:23px; background:#f1f3e9; }
.agent-feed { display:flex; flex-direction:column; gap:14px; padding:20px; height:clamp(225px,42vh,490px); overflow:auto; scroll-padding:18px; }
.agent-reply,.agent-you { padding:13px 16px; border-radius:17px 17px 17px 5px; background:#fffefa; border:1px solid #d4decf; max-width:90%; width:fit-content; }
.agent-reply p,.agent-you p { margin:4px 0; overflow-wrap:anywhere; }
.agent-reply strong { font-weight:900; }
.agent-reply ol { margin:8px 0; padding-left:21px; }
.agent-reply li+li { margin-top:6px; }
.agent-reply .agent-detail { color:#4d6e5c; }
.agent-you { align-self:flex-end; border:0; background:#d8e9df; border-radius:17px 17px 5px 17px; }
.agent-you small { font-size:12px; }
.agent-progress { display:flex; align-items:center; gap:8px; color:#4d6b5b; }
.agent-progress i { background:#b76541; width:8px; height:8px; border-radius:50%; }
.agent-image-reply { display:grid; grid-template-columns:minmax(125px,1fr) minmax(0,1.55fr); gap:15px; width:min(100%,685px); }
.agent-image-reply figure { margin:0; min-width:0; }
.agent-reply figure img { display:block; width:100%; height:auto; border-radius:13px; }
.agent-reply figcaption { display:flex; flex-wrap:wrap; align-items:center; column-gap:12px; margin-top:8px; font-size:13px; }
.agent-reply figcaption a { text-decoration:underline; text-underline-offset:3px; }
.agent-composer { padding:12px; margin:0; border-top:1px solid #cdd9c9; border-radius:0 0 22px 22px; background:#fffefa; }
.agent-composer textarea { width:100%; padding:9px 11px; resize:vertical; max-height:160px; min-height:58px; background:#fafbf4; border:1px solid #c4d4c2; border-radius:12px; font:inherit; color:#25483d; }
.agent-controls { display:flex; align-items:center; flex-wrap:wrap; gap:8px 15px; margin-top:7px; }
.agent-controls label { display:flex; align-items:center; gap:6px; font-size:13px; }
.agent-controls select { color:#2c5145; font:inherit; border:1px solid #c5d5c4; border-radius:8px; background:#edf4e8; padding:6px 8px; }
.agent-controls button { margin-left:auto; }
.agent-story button.studio-share:disabled { opacity:.6; cursor:default; }
.agent-source { display:flex; align-items:center; gap:9px; margin-top:13px; color:#536c5c; font-size:13px; line-height:1.25; }
.agent-source img { width:32px; height:30px; object-fit:contain; }
.agent-story .agent-footer { margin-top:auto; padding-top:16px; }
@media(prefers-reduced-motion:no-preference) {
  .agent-reply,.agent-you { animation:campus-copy-in .28s ease-out; }
  .agent-progress i { animation:studio-ripple-out 1s ease-out 3; }
}

.studio-playable-video { display:block; width:100%; max-height:46vh; margin:0 auto; background:#faf7ee; border-radius:18px; }


/* Keep the introductory capsule fully below the fixed header after the role is selected. */
.unified #role-demo .studio-canvas.studio-introduction {
  height:auto; min-height:clamp(340px,calc(100svh - 108px),820px);
}
#role-demo > #guided-studio:has(.studio-introduction) { scroll-margin-top:70px; }
@media(prefers-reduced-motion:no-preference) {
  #role-demo:not([hidden]) { animation-name:studio-section-reveal; }
  @keyframes studio-section-reveal { from { opacity:.72; } to { opacity:1; } }
}

.studio-course-row .studio-course-note { color:#5b675e; border-color:#d8d2c5; border-radius:17px; background:#fffefa; }
.studio-course-note strong { color:#25463b; }
.studio-course-note>i b { border-color:#b1a494; }
.studio-tour-layer[hidden] { display:none; }
@media(prefers-reduced-motion:no-preference) {
  @keyframes studio-ripple-out { from { transform:scale(.48); opacity:.92; } to { transform:scale(1); opacity:0; } }
}
.studio-material-heading { display:flex; justify-content:space-between; align-items:baseline; gap:20px; margin-bottom:13px; }
.studio-material-heading p { margin:0; color:#4e6559; font-size:14px; }
.studio-material-heading .studio-tour-hide { flex:none; }
.studio-material-guide {
  display:flex; align-items:flex-start; gap:11px; min-height:77px; padding:11px 14px;
  border:1px solid #d9c7b7; border-radius:15px; background:#fffefa; color:#26463b;
}
.studio-material-guide[hidden] { display:none; }
.studio-material-guide h4 { margin:0 0 3px; font:900 16px/1.2 Nunito,Arial,sans-serif; }
.studio-material-guide p { margin:0; font:750 14px/1.4 Nunito,Arial,sans-serif; color:#50675a; }
.unified .studio-material-toolbar { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); margin:13px 0; }
.unified .studio-material-toolbar button {
  position:relative; width:100%; min-height:80px; padding:8px 3px 3px; gap:5px;
  border:1px solid transparent!important; border-radius:12px!important;
}
.unified .studio-material-toolbar button>img { width:44px; height:44px; }
.unified .studio-material-toolbar button>span { font-size:13px; }
.studio-material-toolbar button>b {
  position:absolute; top:4px; left:6px; display:grid; place-items:center;
  width:20px; height:20px; border-radius:50%; background:#efece4; color:#465f52; font-size:11px;
}
.studio-material-toolbar .studio-tour-active>b { background:#a84c36; color:#fff; }
.unified .studio-material-toolbar button[aria-pressed=true] {
  border-color:#ded8cd!important; background:#f5f2e9!important; color:#3a5c50;
}
.unified .studio-material-toolbar button:focus-visible { outline:2px solid #426d64; outline-offset:2px; }
.unified .studio-panel .studio-source-text textarea { min-height:94px; height:94px; }
.studio-source-link .studio-linked-material { font-size:14px; color:#355d51; text-underline-offset:3px; }

.role-art { padding:4px 0 16px; }
.role-copy { min-height:4em; }
.demo-section-menu button:disabled { background:#eeeee8; color:#656b65; border-color:#d5d7cf; cursor:default; }
.demo-section-menu button:disabled img { filter:grayscale(1); opacity:.55; }
.demo-section-menu button:disabled b { color:inherit; }
.demo-lock-note { margin:-17px auto 18px; text-align:center; color:#59675e; font-size:14px; }
.unified .studio-canvas:is([data-guide-target=add-course],[data-guide-target=add-lesson]) { position:relative; }
.studio-canvas[data-guide-target=add-course] .studio-course-row,
.studio-canvas[data-guide-target=add-lesson] .studio-empty-group {
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:max-content; min-height:0;
}
.studio-canvas[data-guide-target=add-course] .studio-course-row { display:block; }
.studio-canvas[data-guide-target=add-lesson] .studio-board { position:static; }
.unified .studio-empty-group .studio-add-lesson {
  display:grid; place-items:center; width:70px; height:70px; padding:0; min-height:0; border-radius:50%; border:1px solid #356975;
  background:#397b8c; color:white; font:600 44px/1 Nunito,Arial,sans-serif;
}
.unified .studio-empty-group .studio-add-lesson:hover { background:#2e6676; }
.studio-canvas:is([data-guide-target=add-course],[data-guide-target=add-lesson]) .studio-canvas-footer { margin-top:auto; }

.studio-real-editor .studio-real-editor-body>main { display:flex; flex-direction:column; min-height:0; padding:0; overflow:hidden; scrollbar-gutter:auto; }
.studio-real-editor .studio-format .studio-format-toggle,.demo-section-menu button.phone-reset { display:none; }
.studio-format-main { display:contents; }
.studio-format-dock { z-index:5; flex:none; padding:14px clamp(12px,2vw,28px) 10px; }
.studio-real-editor .studio-format {
  display:flex; align-items:center; justify-content:center; width:min(100%,840px); max-width:100%; min-height:47px; margin:auto;
  padding:5px 10px; gap:7px; border:1px solid #bdcdc1; border-radius:22px; background:#fffefa;
  box-shadow:0 5px 16px #23453719; overflow:visible; flex-wrap:wrap;
}
.studio-format-group { display:flex; align-items:center; gap:2px; border-left:1px solid #dce3da; padding-left:6px; }
.studio-format select { border:0; background:#eef4eb; color:#345849; font:800 14px Nunito,Arial,sans-serif; padding:7px 9px; border-radius:12px; }
.studio-real-editor .studio-format button { display:grid; place-items:center; border:0; border-radius:11px; width:34px; height:34px; background:transparent; color:#365b50; }
.studio-real-editor .studio-format button:is(:hover,[aria-pressed=true]):enabled { background:#d9ebe1; color:#1b4c3d; }
.studio-real-editor .studio-format button:disabled { opacity:.38; }
.studio-card-scroll { flex:1; min-height:0; overflow:hidden; padding:8px clamp(16px,2vw,34px) 20px; }
.studio-real-editor .studio-card-scroll :is(.ls2-card-stack,.ls2-card-unit,.ls2-card-paper) { display:block; height:100%; min-height:0; }
.studio-card-scroll .ls2-card-stack { min-width:0; width:100%; max-width:960px; margin:0 auto; }
.studio-real-editor .studio-card-scroll .ls2-card-paper { overflow:hidden; }
.studio-real-editor .studio-card-scroll .ls2-card-editor { height:100%; overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable both-edges; }
.studio-card-scroll .ls2-card-unit,.studio-card-scroll .ls2-card-paper { min-width:0; max-width:100%; box-sizing:border-box; }
.studio-real-editor .ls2-card-paper { border-radius:28px!important; }
.studio-canvas .lesson-edit { width:44px; height:44px; border-radius:14px; }
.studio-canvas .lesson-edit:focus-visible { outline:2px solid #356f78; outline-offset:2px; }
.studio-canvas .lesson-edit:hover img { transform:rotate(-5deg); }
.studio-reader-help-key { margin:12px 0; color:#3f6356; }
.studio-reader-help-key summary { display:flex; align-items:center; gap:7px; cursor:pointer; width:fit-content; font:800 14px Nunito,Arial,sans-serif; list-style:none; }
.studio-reader-help-key summary::-webkit-details-marker { display:none; }
.studio-reader-help-key summary span { display:grid; place-items:center; width:22px; height:22px; border:1px solid #9cb6a7; border-radius:50%; }
.studio-reader-help-key dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:10px 0 14px; }
.studio-reader-help-key dl>div { padding:10px 13px; border:1px solid #d5dfcf; border-radius:15px; background:#f5f7ef; }
.studio-reader-help-key dt { font-weight:900; }
.studio-reader-help-key dd { margin:3px 0 0; font-size:14px; }

.unified #role-demo .studio-canvas.studio-introduction { min-height:clamp(300px,calc(100svh - 255px),730px); }
.unified .studio-empty-group .studio-add-lesson>span[aria-hidden] { font-size:40px; line-height:1; }

/* Desktop hero layout. */
.unified .uni-hero { position:relative; isolation:isolate; overflow:hidden; background:#f8f5eb; }

.unified .hero-interior { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(25px,3.7vw,64px); align-items:center; min-height:clamp(512px,43vw,680px); padding:clamp(28px,3.8vw,66px) clamp(34px,4vw,70px) clamp(74px,6vw,105px); }
.unified .hero-interior .hero-copy { width:100%; }
.unified .hero-copy .overline { margin:0 0 14px; font-weight:850; color:#42756a; }
.unified .hero-copy h1 { font-size:clamp(36px,4.05vw,65px); }
.unified .hero-copy .knowledge-copy { width:100%; }
.role-invitation { margin-bottom:clamp(24px,3.4vh,40px); }

/* Size the actual capsule to the available desktop height. Long stories scroll inside it. */
#role-demo { --stage-room:min(880px,calc(100dvh - 94px)); --stage-clearance:calc((100dvh - var(--stage-room)) / 2 + 56px); }
#role-demo>section.wrap:not([hidden]) { margin-top:var(--stage-clearance); }
.unified #role-demo .studio-canvas,
.unified #role-demo .demo-introduction,
.unified #role-demo .kb-workspace:is(.standalone-report,.landing-chat,.story-lab) {
  height:var(--stage-room); min-height:0; box-sizing:border-box;
}
#role-demo .kb-workspace:is(.standalone-report,.landing-chat,.story-lab) { overflow-y:auto; overscroll-behavior-y:auto; scrollbar-gutter:stable both-edges; }
#role-demo>.wrap:not(.demo-section-menu) { min-height:0; }
#role-demo .studio-training-tools { margin:calc((100dvh - var(--stage-room)) / 2 + 16px) auto 0; padding:0; border:0; background:transparent; }
#role-demo .studio-canvas-footer { justify-content:flex-end; }
#role-demo .studio-canvas:not(.studio-introduction) { padding:clamp(12px,2vh,24px); }
#role-demo .studio-canvas .studio-course-row { min-height:clamp(74px,10.5vh,100px); }
#role-demo .studio-canvas .studio-board { padding-top:clamp(10px,2vh,24px); }
#role-demo .studio-canvas .lesson-cover { height:clamp(62px,calc(25vh - 98px),137px); }
#role-demo .studio-canvas .lesson-title-row { min-height:clamp(44px,6.5vh,65px); }
#role-demo .studio-canvas .studio-course-note { padding:8px 12px; }
#role-demo .studio-canvas .studio-lesson-gallery .lesson-content { padding:clamp(8px,1.25vh,14px) 15px; }
#role-demo .studio-canvas .studio-canvas-footer { margin-top:auto; }

#role-demo .studio-canvas .studio-lesson-gallery .lesson-card { height:auto; }
#role-demo .studio-canvas .studio-lesson-gallery .lesson-content { display:grid; grid-template-rows:auto auto auto auto; gap:clamp(4px,.9vh,10px); }
#role-demo .studio-canvas .studio-lesson-gallery :is(.lesson-meta,.lesson-card-tools,.lesson-title-row) { margin:0; }
#role-demo .studio-canvas .studio-lesson-gallery .lesson-title-row { height:clamp(46px,6.6vh,65px); }
#role-demo .studio-canvas[data-multiple=true] .studio-guide { width:clamp(335px,32vw,444px); padding:10px 14px; }
#role-demo .studio-course-row .studio-course-note { width:clamp(215px,20vw,286px); }



#role-demo .kb-workspace>.story-heading,#role-demo .kb-workspace>.agent-heading {
  position:sticky; top:0; z-index:3; background:#fffdf6;
}

/* A single dark studio spans the copy and the product film. */
.unified .uni-hero {
  background:radial-gradient(ellipse at 78% 42%,#183d38 0%,transparent 42%),
    linear-gradient(112deg,#142f2b,#0c2120 60%,#0b1d1e);
  border-color:#183833; box-shadow:0 4px 0 #d4dcd2;
}
.unified .uni-hero::after {
  content:""; position:absolute; z-index:-1; inset:auto -12% -132px -5%; height:230px; pointer-events:none;
  border-radius:50%; transform:rotate(-4deg);
  box-shadow:0 -1px #8dad9f24,0 -7px #88b2a51a,0 -15px #8ab2a416,0 -26px #89b4a20f,0 -40px #a0b4a10e;
}
.unified .hero-interior {
  padding:clamp(24px,2.7vw,44px) clamp(22px,2.7vw,42px) clamp(32px,3.5vw,56px) clamp(32px,4.4vw,72px);
  gap:clamp(10px,1.6vw,27px); grid-template-columns:minmax(0,.95fr) minmax(0,1.08fr);
}
.unified .hero-copy h1 {color:#f7f7e9;}
.unified .hero-copy h1 strong {color:#ff9668;}
.unified .hero-copy .overline {color:#a6c9b9;}
.unified .hero-copy :is(.intro-copy,.knowledge-copy) {color:#c1d2c9;}
.unified .hero-copy .second-brain {color:#b6e2d5; border-color:#92b9aa;}
.unified .hero-copy .share-promise {color:#f4ede0;}
.unified .hero-copy .click-chip {color:#d1f0e4; background:#264f44; box-shadow:none; border-color:#49725f;}
.unified.site-v17 .hero-actions .button--coral {color:#301e16; background:#ff9668; border-color:#ff9668;}
.unified.site-v17 .hero-actions .button--coral:hover {color:#301e16; background:#ffae88; border-color:#ffae88;}

.creation-reader-text {white-space:pre-wrap;overflow-wrap:anywhere;}

/* A single memo becomes two concrete practice questions. All copy stays flat and legible. */
.academy-story {
  min-width:0; margin:0; position:relative; isolation:isolate; container-type:inline-size;
  font-family:Nunito,Arial,sans-serif;
}
.academy-story-art {position:relative;width:100%;height:clamp(177px,18.7vw,296px);}
.academy-story-art img {
  position:absolute;left:50%;top:0;transform:translateX(-50%);display:block;width:auto;max-width:100%;height:100%;object-fit:contain;
  mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent),linear-gradient(to bottom,transparent,#000 6%,#000 85%,transparent);mask-composite:intersect;
}
.academy-story-example {
  position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  gap:clamp(18px,4.4cqw,34px);align-items:center;margin:0 auto;
}
.academy-story-source,.academy-story-lesson {position:relative; z-index:1; box-sizing:border-box;}
.academy-story-label {display:block;font:850 clamp(12px,2.1cqw,16px)/1.25 Nunito,Arial,sans-serif;}
.academy-story-source {
  padding:clamp(13px,2.6cqw,20px);border:1px solid #557468;border-radius:13px 13px 13px 3px;
  background:linear-gradient(125deg,#20463d,#18372f);box-shadow:0 3px 0 #122d27;
}
.academy-story-source .academy-story-label {color:#b6cfc1;}
.academy-story-source p {margin:8px 0 0;color:#fcf4e4;font:750 clamp(15px,2.8cqw,20px)/1.4 Nunito,Arial,sans-serif;}
.academy-story-source mark {
  padding:0 .06em;color:inherit;font-weight:900;background:linear-gradient(transparent 70%,#da89587d 70%);
  box-decoration-break:clone;-webkit-box-decoration-break:clone;border-radius:2px;
}
.academy-story-lesson {
  background:linear-gradient(130deg,#fffdf2,#f6f1e1);color:#203f33;
  border:1px solid #ebe3c9;border-radius:16px;box-shadow:0 3px 0 #d7d6bd,0 7px 0 -2px #789184,0 16px 30px -10px #071a1591;
  padding:clamp(14px,2.7cqw,22px);
}
.academy-story-lesson .academy-story-label {color:#55725f;}
.academy-story-lesson h2 {margin:4px 0 8px;color:#1e4033;font:900 clamp(19px,3.55cqw,26px)/1.1 Nunito,Arial,sans-serif;letter-spacing:-.028em;}
.academy-story-task {margin:0;color:#4d6555;font:750 clamp(13px,2.3cqw,16px)/1.3 Nunito,Arial,sans-serif;}
.academy-story-lesson ol {list-style:none;display:grid;gap:8px;margin:12px 0;padding:0;}
.academy-story-lesson li {position:relative;isolation:isolate;padding-left:13px;color:#264536;font:800 clamp(14px,2.52cqw,18px)/1.3 Nunito,Arial,sans-serif;}
.academy-story-lesson li::before {content:"";position:absolute;left:0;top:.5em;width:5px;height:5px;border-radius:50%;background:#bd5b34;}
.academy-story-lesson li {display:grid;}
.academy-story-lesson li>span {grid-area:1/1;align-self:center;}
.academy-story-lesson .story-seed {opacity:0;color:#9a4a2d;font-weight:900;}
.academy-story-lesson em {font-style:normal;color:#96482e;}
.academy-story [data-result="budget"] em,.academy-story [data-result="budget"] .story-seed {color:#2c6c60;}
.academy-story [data-key="budget"] {background:linear-gradient(transparent 70%,#86c7af73 70%);}
.academy-story [data-path="budget"] .trace-ink {stroke:#a5e3cc;}
.academy-story-delivery {display:flex;align-items:center;gap:7px;padding-top:10px;border-top:1px solid #ccd4c0;color:#3c6552;font:850 clamp(12px,2.1cqw,15px)/1.3 Nunito,Arial,sans-serif;}
.academy-link-glyph {position:relative;display:inline-block;width:19px;height:18px;flex:none;}
.academy-link-glyph::before,.academy-link-glyph::after {content:"";position:absolute;width:11px;height:6px;border:1.8px solid currentColor;box-sizing:border-box;border-radius:6px;transform:rotate(-43deg);}
.academy-link-glyph::before {top:4px;left:7px;}.academy-link-glyph::after {top:9px;left:1px;}
.academy-story-traces {position:absolute;z-index:0;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;}
.academy-story-traces path {fill:none;stroke-linecap:round;vector-effect:non-scaling-stroke;}
.academy-story-traces .trace-base {stroke:#628879;stroke-width:1.4;}
.academy-story-traces .trace-ink {stroke:#fca66e;stroke-width:2.6;stroke-dasharray:1;stroke-dashoffset:1;}
@media(prefers-reduced-motion:no-preference){
}
.studio-tour-note::after {display:none;}
.studio-course-note>i {display:none;}

body[data-studio-showcase=true] .studio-reader-layout {display:flex;flex-direction:column;height:100%;min-height:0;}
body[data-studio-showcase=true] .studio-reader-layout>.rdr-shell {position:relative!important;inset:auto!important;transform:none!important;flex:1;min-height:0!important;height:auto!important;width:100%!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
.studio-reader-layout .rdr-main>.rdr-col {width:100%;max-width:1000px;margin-inline:auto;}
.studio-reader-dock {position:relative;z-index:4;flex:none;background:#fffdf6;border-top:1px solid #d9dfd1;padding:12px clamp(16px,2vw,32px);box-shadow:0 -5px 16px #273d3008;}
.studio-reader-actions {display:flex;align-items:center;justify-content:space-between;gap:18px;}
.studio-help-options {display:flex;align-items:stretch;gap:6px;flex-wrap:wrap;}
.studio-help-options button {padding:7px 12px;text-align:left;background:#f3f5ec;border:1px solid #ced9c9;border-radius:11px;color:#254c40;cursor:pointer;}
.studio-help-options button:is(:hover,[aria-pressed=true]) {background:#e2eddf;border-color:#96b3a0;}
.studio-help-options b,.studio-help-options small {display:block;font-family:Nunito,Arial,sans-serif;}
.studio-help-options b {font-size:14px;font-weight:900;}
.studio-help-options small {font-size:11px;color:#516758;margin-top:1px;}
.studio-reader-next {display:flex;align-items:center;justify-content:flex-end;gap:12px;color:#516959;font:750 13px/1.35 Nunito,Arial,sans-serif;}
.studio-reader-next span {max-width:190px;}
.studio-primary,.studio-send-link {padding:11px 19px;border:1px solid;border-radius:12px;font:850 15px/1.3 Nunito,Arial,sans-serif;cursor:pointer;}
.studio-reader-dock .studio-help-answer {margin:0 0 10px;padding:8px 13px;border-left:3px solid #669380;max-height:17vh;overflow:auto;}
.studio-reader-dock .studio-help-answer p {margin:2px 0;}
.studio-video-placeholder {margin:12px 0;display:flex;align-items:center;justify-content:center;gap:clamp(16px,4vw,56px);padding:22px;background:linear-gradient(120deg,#f6f4e7,#e5efe5);border:1px solid #d0dcce;border-radius:23px;}
.studio-video-placeholder>img {width:min(39%,310px);height:clamp(130px,26vh,238px);object-fit:contain;}
.studio-video-placeholder figcaption {display:grid;gap:6px;max-width:310px;color:#395949;}
.studio-video-placeholder figcaption img {width:43px;height:43px;object-fit:contain;}
.studio-video-placeholder strong {font:900 clamp(19px,2vw,30px)/1.16 Nunito,Arial,sans-serif;}
.studio-video-placeholder span {font-size:15px;}
.studio-real-editor .studio-format {width:fit-content;max-width:100%;min-height:0;gap:4px;padding:5px 7px;border-radius:16px;}
.studio-real-editor .studio-format button {width:30px;height:30px;}
.studio-real-editor .studio-format button.studio-ai-action {display:inline-flex;align-items:center;gap:5px;width:auto;padding:0 11px;color:#814023;background:#fae6cf;font:850 13px Nunito,Arial,sans-serif;}
.studio-real-editor .studio-ai-action svg {flex:none;}
.studio-real-editor .studio-format-dock {padding:9px 14px 4px;}
.studio-real-editor>footer {justify-content:flex-end;align-items:center;gap:15px;min-height:56px;padding:9px 20px;}
.studio-real-editor>footer span {color:#57705f;font:750 13px Nunito,Arial,sans-serif;}
.studio-canvas .lesson-meta {position:relative;}
.studio-journey[data-journey-stage=share] .studio-delivery {width:min(100%,850px);max-width:none;margin:0;align-self:start;justify-self:start;display:block;}
.studio-journey[data-journey-stage=share] .studio-journey-content {display:block;padding-top:clamp(20px,4vh,42px);}
.studio-link-line {display:flex;align-items:flex-end;gap:12px;}
.studio-link-line label {display:grid;gap:7px;flex:1;min-width:0;font-weight:850;color:#355b4b;}
.studio-link-line input {box-sizing:border-box;width:100%;height:45px;padding:0 13px;color:#284c40;background:#fffef9;border:1px solid #c5d4c2;border-radius:12px;font:700 15px Nunito,Arial,sans-serif;}
.studio-send-status {color:#58705e;font-size:13px;line-height:1.4;margin:10px 0;}
.studio-send-link span {margin-right:5px;}
body.unified :is(.ws-primary,.studio-primary,.studio-start-button,.studio-share,.studio-send-link,[data-save-question],.lesson-action,.rdr-continue),
body.unified .studio-real-editor>footer .ws-primary,
body.unified.site-v17 .hero-actions .button--coral {
  background:#b34f30!important;color:#fff!important;border-color:#ab492c!important;
}
body.unified :is(.ws-primary,.studio-primary,.studio-start-button,.studio-share,.studio-send-link,[data-save-question],.lesson-action,.rdr-continue):is(:hover,:focus-visible):enabled,
body.unified .studio-real-editor>footer .ws-primary:hover,
body.unified.site-v17 .hero-actions .button--coral:hover {background:#8f3e25!important;color:#fff!important;border-color:#8f3e25!important;}
body.unified :is(.ws-primary,.studio-primary,.studio-start-button,.studio-share,[data-save-question]):disabled {background:#e9e6db!important;color:#817d70!important;border-color:#ddd9cd!important;cursor:default;}
/* The tall viewport still frames the desktop stage; only the delivery form has a surface. */
.unified #guided-studio .studio-journey-canvas:has([data-journey-stage=share]) {background:transparent;border-color:transparent;box-shadow:none;}
.studio-journey-host:has([data-journey-stage=share]) {display:grid;align-items:center;}
.studio-journey[data-journey-stage=share] {height:auto;width:min(100%,910px);margin-inline:auto;box-sizing:border-box;padding:clamp(20px,2.6vw,36px);border:1px solid #ccd8c9;border-radius:26px;background:#fffdf6;box-shadow:0 4px 0 #dbe1d5;}
.studio-journey[data-journey-stage=share] .studio-journey-content {padding-top:5px;overflow:visible;}
.studio-reader-next .studio-primary {box-shadow:inset 0 1px #ffffff33,0 2px 0 #813c27;}

/* Annotation artwork lives in the same top layer as the active dialog. */
.studio-tour-layer {display:block;position:fixed;inset:0;z-index:12035;pointer-events:none}
.studio-tour-layer[hidden]{display:none}
.studio-tour-layer .studio-tour-note{position:absolute;width:min(395px,36vw);pointer-events:auto}
@media(prefers-reduced-motion:no-preference){}
.studio-native-host .studio-reader-dock{margin:20px 0 0;padding:16px 0 0;border:0;border-top:1px solid #d9dfd1;background:transparent;box-shadow:none}
.reader-thought{position:relative;display:table;margin:0 0 14px 18px;padding:10px 16px;background:white;border:1px solid #c9d5c9;border-radius:19px;font:750 14px/1.45 Nunito,sans-serif;color:#365347}
.reader-thought:after,.reader-thought:before{content:'';position:absolute;border-radius:50%;background:white;border:1px solid #b5c8bb;left:8px;bottom:-6px;width:8px;height:8px}
.reader-thought:after{left:1px;bottom:-10px;width:4px;height:4px}
.studio-reader-dock .studio-reader-actions{gap:15px;flex-wrap:wrap}
.studio-reader-dock .studio-help-options button:hover,.studio-reader-dock .studio-help-options button[aria-pressed=true]{background:#f7e4c8;border-color:#ab572f}
.studio-reward-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:16px auto;max-width:750px}
.studio-reward-gallery>div,.studio-reward-gallery .studio-reward-choice{display:grid;place-items:center;gap:5px;padding:8px 4px;width:auto;min-width:0;margin:0;border:1px solid #d7ded0;border-radius:15px;background:#f7f7ed}
.studio-reward-gallery i{width:clamp(35px,4.7vw,68px);aspect-ratio:1;background:url(reward-gallery.avif) no-repeat;background-size:1000% 100%}
.studio-reward-gallery strong,.studio-reward-gallery .studio-reward-choice strong{font-size:13px}
.studio-journey[data-journey-stage=recipient]{gap:0}.studio-journey[data-journey-stage=recipient] .studio-journey-content{padding-block:0;scroll-padding-block:0;overscroll-behavior:auto}
.studio-journey .studio-recipient{padding-top:12px}
.studio-report-metrics .metric-trigger{display:flex;align-items:center;gap:12px;justify-content:center;flex-wrap:wrap;background:transparent;border:0;color:inherit;width:100%;height:100%;border-radius:inherit}
.metric-trigger .result-dial{transition:transform .18s ease}.metric-trigger:is(:hover,:focus-visible) .result-dial{transform:scale(1.06)}.metric-trigger[aria-pressed=true]{outline:2px solid #a34f31}.metric-detail{margin:6px auto;text-align:center;color:#38574b}
#role-demo .story-lab .knowledge-stage{position:relative;display:grid;gap:16px;align-content:center;justify-items:center;margin:auto;width:100%;min-height:0}
#role-demo .story-lab[data-kb-stage=capture] .knowledge-stage{grid-template-columns:minmax(230px,340px) minmax(290px,380px);justify-content:center;align-items:center;column-gap:clamp(48px,6vw,100px)}
.knowledge-stage>.kb-handset{grid-column:2;grid-row:1;width:100%;max-width:350px;min-height:340px;height:min(530px,62vh);box-sizing:border-box}
.knowledge-stage .kb-phone-tools{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;padding-block:6px}
.knowledge-stage .kb-phone-tools button{grid-column:span 2;min-width:0}.knowledge-stage .kb-phone-tools button:nth-last-child(-n+2){grid-column:span 3}
.knowledge-guide{display:flex;gap:12px;align-items:flex-start;text-align:left;align-self:center;width:min(100%,620px);padding:15px 20px;background:white;border:1px solid #d6c9b7;border-radius:20px;color:#234639;box-sizing:border-box}
.knowledge-guide strong{font-size:18px}.knowledge-guide p{font-size:14px;line-height:1.45;margin:5px 0}.knowledge-guide footer{display:flex;gap:14px;align-items:center}
[data-kb-stage=capture] .knowledge-guide{grid-column:1;grid-row:1}.knowledge-guide .studio-guide-number{flex:none}
.knowledge-library{width:100%;max-width:1260px;border:1px solid #cbd7c9;border-radius:20px;background:#fffefa;overflow:hidden}
.knowledge-library>header,.knowledge-library>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 22px;background:#f4f6ec}
.knowledge-library h3{margin:0;color:#274b3f}.knowledge-library header>div+div{display:flex;gap:6px}.knowledge-library header button[aria-pressed=true]{background:#264e40;color:white}
.knowledge-columns{display:grid;grid-template-columns:minmax(210px,28%) 1fr;min-height:245px}
.knowledge-columns>.kb-folders{max-height:none;overflow:auto;background:#f6f6ed;padding:15px 10px;border-right:1px solid #d8e1d4}
.knowledge-columns summary{font-weight:900;cursor:pointer;padding:5px 8px}.knowledge-columns .kb-folders button{width:100%;padding:5px 10px;margin:2px 0}.knowledge-columns .kb-folders img{width:24px;height:24px;object-fit:contain}
.knowledge-page{min-width:0;padding:16px 24px}.knowledge-page article{max-width:78ch;max-height:clamp(160px,31vh,360px);overflow:auto;font:650 15px/1.6 Nunito,sans-serif;color:#3e554d}
.knowledge-page article h3{font-size:24px;margin:4px 0 12px}.knowledge-page article h4{margin:.6em 0 .15em}.knowledge-page article p{margin:.32em 0}.knowledge-page article img{float:right;max-height:120px;max-width:35%;object-fit:contain}
.knowledge-tags{display:flex;flex-wrap:wrap;gap:6px;padding-top:10px}.knowledge-tags button{border:0;border-radius:10px;padding:4px 9px;background:#e6efe5;color:#2a5947;font-weight:750}
.knowledge-loading,.knowledge-result{width:min(560px,100%);margin:25px auto;text-align:center;color:#284b3d}.knowledge-loading h3,.knowledge-result h3{font-size:30px;margin:.35em 0}.knowledge-loading progress{width:70%;accent-color:#547c64;margin:12px}
.knowledge-orbit{position:relative;width:100px;height:100px;margin:16px auto}.knowledge-orbit i{position:absolute;top:50%;left:50%;width:8px;height:8px;border-radius:50%;background:#548d76;transform:rotate(var(--turn)) translateX(36px)}
.knowledge-orbit i:nth-child(3n){background:#cc743c}.knowledge-result img{width:60px}.knowledge-result ol{text-align:left;background:#f1f4e9;border-radius:16px;padding:12px 45px}
@media(prefers-reduced-motion:no-preference){.knowledge-orbit{animation:kb-orbit 3s linear infinite}@keyframes kb-orbit{to{transform:rotate(1turn)}}}
#role-demo .knowledge-stage>.knowledge-library,#role-demo .knowledge-stage>.knowledge-result{display:block;padding:0;grid-template-columns:none}
#role-demo .knowledge-library{background:#fffefa}.knowledge-library>header{border-bottom:1px solid #d4ddcd}
.knowledge-library>header small,.knowledge-page article>small,.knowledge-loading>small{color:#587263;font-weight:800}
.knowledge-columns .kb-folders details{margin-bottom:10px}.knowledge-columns .kb-folders summary{border-bottom:1px solid #dce6d8;margin-bottom:4px}.knowledge-columns .kb-folders button[aria-pressed=true]{background:#dcead9}
#role-demo .knowledge-stage .kb-phone-tools{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px}
#role-demo .knowledge-stage .kb-phone-tools button{width:auto;min-width:0;min-height:36px}#role-demo .knowledge-stage .kb-phone-tools small{font-size:11px}
#role-demo .story-lab[data-kb-stage=sending] .knowledge-stage{grid-template-columns:minmax(230px,340px) minmax(290px,380px);justify-content:center;column-gap:clamp(48px,6vw,100px)}
.phone-dust{grid-column:2;grid-row:1;align-self:stretch;justify-self:stretch;position:relative;pointer-events:none}.phone-dust i{position:absolute;width:5px;height:5px;border-radius:50%;background:#729e88}.phone-dust i:nth-child(3n){background:#dca477}
@media(prefers-reduced-motion:no-preference){[data-kb-stage=sending] .kb-handset{animation:kb-handset-leave .46s both}.phone-dust i{animation:kb-phone-dust .46s ease-out both}@keyframes kb-handset-leave{to{opacity:0;transform:scale(.96)}}@keyframes kb-phone-dust{from{opacity:0}25%{opacity:1}to{transform:translate(var(--dx),var(--dy));opacity:0}}}
.studio-journey .studio-journey-heading{margin-bottom:0}.studio-reader-dock .reader-thought{margin-bottom:24px}.studio-native-host .studio-reader-dock .studio-reader-actions{justify-content:space-between}
.studio-reward-gallery .studio-reward-choice{order:1}.studio-reward-gallery>div:nth-child(n+7){order:2}
.studio-panel .studio-reward-guide{margin:30px auto 0;width:min(650px,100%);padding:10px 14px}.studio-reward-guide .studio-tour-hide{display:block}
@media(prefers-reduced-motion:no-preference){}
.studio-material-guide+.studio-material-toolbar,.studio-material-guide+.studio-material-footer{margin-top:28px}
/* The reader fits media to the visible page. In the demo editor the resize handle owns an authored width. */
.studio-real-editor .ls2-card-stack img[data-authored-width]{max-width:100%!important;max-height:none!important;height:auto!important}
#role-demo .studio-canvas .studio-recipient-card .lesson-card{height:auto;min-height:0}
#role-demo .studio-recipient-card .lesson-content{display:grid;grid-template-rows:auto auto 1fr auto;gap:5px;padding:9px 14px}
#role-demo .studio-recipient-card :is(.lesson-meta,.lesson-card-tools,.lesson-title-row){margin:0}
#role-demo .studio-recipient-card .lesson-title-row{min-height:48px;height:auto}
#role-demo .studio-recipient-cards{align-items:stretch}
#role-demo .studio-recipient-card{display:grid}

/* Guided steps stay in the top layer; explanatory notes carry a thought trail. */
html body .tour-callout:not(.tour-visible){display:none!important}
html body .tour-callout.tour-visible{position:fixed!important;inset:var(--tour-y,0px) auto auto var(--tour-x,0px)!important;display:flex!important;align-items:flex-start;gap:9px;width:max-content!important;max-width:min(290px,30vw)!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:11px 14px!important;overflow:visible!important;box-sizing:border-box;transform:none!important;border:1px solid #d7c6ae;border-radius:16px;background:#fffdf8;color:#294a3d;box-shadow:0 5px 18px #40342412;pointer-events:auto;line-height:1.35}
html body .studio-tour-note.tour-callout.tour-visible{display:block!important}
.tour-callout::backdrop{background:transparent;pointer-events:none}
.tour-callout .studio-guide-number,.studio-tour-note.tour-callout header span{min-width:24px;width:24px;height:24px;font-size:12px;border-radius:50%}
html body .tour-callout :is(h3,h4,strong,header strong){margin:0!important;font-size:15px!important;line-height:1.22!important}
html body .tour-callout p{margin:4px 0!important;font:700 12px/1.38 Nunito,sans-serif!important;color:#4d6254}
html body .tour-callout footer{display:flex;gap:9px;align-items:center;margin:5px 0 0!important;padding:0!important;border:0}
html body .tour-callout .studio-light-button{padding:4px 10px;min-height:26px;font-size:12px}
html body .tour-callout .studio-tour-hide{font-size:10px!important;padding:2px 0!important;margin:1px 0!important}
.tour-pointer{position:absolute;width:32px;height:14px;fill:#a65431;overflow:visible;pointer-events:none;transform-origin:0 50%}
[data-placement=left]>.tour-pointer{left:100%;top:calc(var(--tour-joint) - 7px)}
[data-placement=right]>.tour-pointer{left:0;top:calc(var(--tour-joint) - 7px);transform:rotate(180deg)}
[data-placement=top]>.tour-pointer{left:var(--tour-joint);top:calc(100% - 7px);transform:rotate(90deg)}
[data-placement=bottom]>.tour-pointer{left:var(--tour-joint);top:-7px;transform:rotate(-90deg)}
html body .tour-control{outline:2px solid #b36743!important;outline-offset:2px;box-shadow:0 0 0 5px #f0d3ad58}
.reader-thought,.tour-explanation{position:relative;display:table;background:#fff;border:1px solid #c9d5c9;border-radius:17px;padding:9px 15px;color:#425f4f;font:750 14px/1.4 Nunito,sans-serif}
.studio-course-note:before,.tour-explanation:before,.reader-thought:before{content:'';position:absolute;left:-17px;bottom:-20px;width:35px;height:27px;border:0;border-radius:0;background:radial-gradient(circle at 28px 5px,#fff 4px,#a5bcab 4.5px 5.5px,transparent 6px),radial-gradient(circle at 17px 12px,#fff 3px,#a5bcab 3.5px 4.4px,transparent 5px),radial-gradient(circle at 8px 18px,#fff 2px,#a5bcab 2.4px 3.1px,transparent 3.6px),radial-gradient(circle at 2px 23px,#a5bcab 1.3px,transparent 2px);pointer-events:none}
.reader-thought:after,.tour-callout:after,.tour-callout:before{display:none!important}
#role-demo .demo-introduction .studio-intro{width:100%;max-width:none}
#role-demo .demo-introduction .studio-intro h2{max-width:none;width:auto;white-space:nowrap;font-size:clamp(32px,3.4vw,55px);letter-spacing:-.035em}
#role-demo .studio-canvas.studio-journey-canvas{height:auto!important;min-height:0!important;overflow:visible;max-height:none!important}
#role-demo .studio-canvas:has([data-journey-stage=share]){background:transparent;border:0;box-shadow:none}
.studio-journey-host:has([data-journey-stage]){height:auto}
#role-demo .studio-journey[data-journey-stage]{height:auto;min-height:0;gap:0}
#role-demo .studio-journey[data-journey-stage=share]{width:min(610px,100%);padding:clamp(19px,2vw,32px);margin:55px auto 25px;background:#fffdf7}
.delivery-compact{text-align:center}.delivery-compact h2{font:950 clamp(23px,2.3vw,33px)/1.1 Nunito,sans-serif;letter-spacing:-.035em;margin:0}
.delivery-compact p{font-size:15px;margin:8px auto 15px;max-width:52ch;line-height:1.45}
.delivery-address{display:flex;gap:7px}.delivery-address input{min-width:0;flex:1;border:1px solid #cad5c7;border-radius:13px;background:#f7f6ed;padding:9px 12px;font:700 13px Nunito,sans-serif;color:#3b584b;text-overflow:ellipsis}
#role-demo [data-journey-stage]>.studio-journey-footer{margin:14px 0 0;padding:0;border:none;justify-content:flex-end}
#role-demo [data-journey-stage=recipient]>.studio-journey-heading{border:0;padding:0;margin:0}
.student-explanation{margin:8px 0 20px 14px}
.exam-item{border:1px solid #d6dfd3;background:#fffdf7;border-radius:18px;padding:16px 20px;text-align:left;scroll-margin:12px}
.exam-item h3{margin:5px 0 12px;font-size:clamp(17px,1.5vw,22px)}.exam-item>small{color:#617b6b;font-weight:800}
.exam-sequence{display:grid;gap:14px}.exam-options{display:grid;gap:6px}.exam-options button{display:flex;align-items:center;gap:11px;text-align:left;padding:10px 14px;background:#f5f5ec;border:1px solid #d4ddcd;border-radius:11px;color:#304d41;font:750 15px/1.4 Nunito,sans-serif}
.exam-options i{width:16px;height:16px;flex:none;border:1px solid #a2b5a4;border-radius:5px;font:800 14px/14px Nunito,sans-serif;text-align:center;color:#fff}
.exam-options [data-answer-state=correct] i{background:#537f5b}.exam-options [data-answer-state=retry]{border-color:#c67852}.exam-feedback{font-size:14px;color:#456953}
.studio-guided-test .tour-explanation{margin:5px 0 23px 12px}.studio-guided-test .studio-question-footer{justify-content:flex-end}
.exam-popup,.metric-popup{max-width:min(550px,85vw);max-height:84vh;padding:23px 28px;border:1px solid #b9cbb7;border-radius:23px;background:#fffcf4;color:#244637}
.exam-popup::backdrop,.metric-popup::backdrop{background:#15342e55}.exam-popup>.studio-panel-close,.metric-popup>.studio-panel-close{float:right}

/* The phone is a portrait device, independent of the explanatory overlay. */
#role-demo .story-lab{display:flex;flex-direction:column;gap:0}
#role-demo .story-lab .story-heading{position:static;flex:none;margin:0 0 9px;padding:0 0 10px}
#role-demo .story-lab .story-heading>img,#role-demo .standalone-report .story-heading>img{width:clamp(32px,4.8vh,52px);height:auto}
#role-demo .story-lab .knowledge-stage{flex:1;display:block;position:relative;min-height:0;margin:0}
#role-demo .story-lab:is([data-kb-stage=capture],[data-kb-stage=sending]) .knowledge-stage{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr);place-items:center;align-content:center;container-type:size}
#role-demo .knowledge-stage>.kb-handset{grid-area:1/1;height:min(100cqh,640px);width:auto;max-width:none;min-height:0;max-height:none;aspect-ratio:9/18.5;margin:0;box-sizing:border-box;padding:9px 10px 6px;border-radius:clamp(28px,4vh,42px)}
#role-demo .kb-handset .kb-messages{min-height:0;overflow-y:auto}
#role-demo .knowledge-stage .kb-phone-tools{grid-template-columns:repeat(6,minmax(0,1fr))!important;display:grid!important;gap:2px;padding:3px}
#role-demo .knowledge-stage .kb-phone-tools button{grid-column:span 2;padding:1px;min-height:0}
#role-demo .knowledge-stage .kb-phone-tools button:nth-last-child(-n+2){grid-column:span 3}
#role-demo .knowledge-stage .kb-phone-tools button img{width:clamp(17px,2.8vh,26px);height:clamp(17px,2.8vh,26px)}
#role-demo .knowledge-stage .kb-phone-tools small{font:800 10px/1.1 Nunito,sans-serif}
#role-demo .kb-handset .kb-send{margin-top:3px;padding:6px;font-size:clamp(11px,1.65vh,15px);white-space:nowrap}
#role-demo .kb-handset .kb-out{font-size:12px;max-width:94%}#role-demo .kb-handset .kb-attachment img{width:20px;height:20px}
#role-demo .knowledge-stage .phone-dust{grid-area:1/1;width:min(40%,285px);height:90%;justify-self:center;align-self:center}
#role-demo .library-spread{display:flex;flex-direction:column;height:100%;width:100%;min-height:0;background:none;border:0}
#role-demo .library-spread .knowledge-columns{min-height:0;flex:1;grid-template-columns:minmax(205px,26%) 1fr}
#role-demo .library-spread .kb-folders{min-height:0;max-height:none;overflow-y:auto;background:transparent;border-right:1px solid #cbd5c7;padding:12px 16px 15px 0}
#role-demo .library-spread .knowledge-page{display:flex;flex-direction:column;min-height:0;padding:12px clamp(18px,3vw,45px);overflow:auto}
#role-demo .library-spread .knowledge-page article{max-height:none;overflow:visible;font-size:clamp(15px,1.15vw,18px);line-height:1.58}
.library-switch{display:flex;gap:4px;margin-left:auto;background:#eef1e5;padding:4px;border-radius:15px}
.library-switch button{background:transparent;border:0;padding:7px 13px;border-radius:11px;color:#436352;font:800 14px Nunito,sans-serif}
.library-switch [aria-pressed=true]{background:#315a48;color:#fff}.story-heading .library-switch+.studio-restart{margin-left:2px}
.library-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0 0;border-top:1px solid #e0e5d7}
.explain-control{position:relative;cursor:help;padding:7px 14px;background:#e9eedf;border-radius:11px;font-weight:800;color:#47624d}
.explain-control .tour-explanation{display:none;position:absolute;z-index:4;left:10px;bottom:calc(100% + 9px);margin:0;width:245px}
.explain-control:is(:hover,:focus,:focus-within) .tour-explanation{display:block}
.atlas{flex:1;isolation:isolate;position:relative;min-height:200px;overflow:hidden;border-radius:16px;background:radial-gradient(ellipse at 24% 34%,#3f5241 0%,transparent 33%),radial-gradient(ellipse at 78% 24%,#1d594c 0%,transparent 38%),radial-gradient(ellipse at 50% 79%,#203e51 0%,transparent 40%),#102e2c;color:#e4efd9}
.atlas-canvas{width:100%;height:100%;position:absolute;inset:0;touch-action:none}.atlas-edge{stroke:#73a497;stroke-opacity:.51;stroke-width:.9;vector-effect:non-scaling-stroke}.atlas-edge[data-lit=true]{stroke:#ffcf8e;stroke-opacity:1;stroke-width:2}
.atlas-hit{fill:transparent;stroke:none}.atlas-node{cursor:grab;outline:none}.atlas-node:active{cursor:grabbing}.atlas-halo{fill:currentColor;opacity:.15}.atlas-dot{fill:currentColor}.atlas-node[data-lit=true] .atlas-halo,.atlas-node:focus-visible .atlas-halo{opacity:.48}
.atlas-node text{font:800 12px Nunito,sans-serif;fill:#f6efdc;paint-order:stroke;stroke:#183d34;stroke-width:4px;pointer-events:none}
.atlas-caption{position:absolute;bottom:8px;left:12px;right:12px;width:fit-content;max-width:calc(100% - 24px);font-size:12px;background:#123731dc;padding:4px 10px;border-radius:10px;color:#f6f3de;pointer-events:none}
@media(prefers-reduced-motion:no-preference){.atlas-node[data-lit=true] .atlas-halo{animation:atlas-light 1.4s ease-in-out infinite alternate}@keyframes atlas-light{to{opacity:.23}}}

#role-demo .kb-workspace.standalone-report{display:flex;flex-direction:column;overflow:visible;height:var(--stage-room);padding:clamp(12px,2.1vh,24px) clamp(18px,2.4vw,38px)}
#role-demo .standalone-report .story-heading{flex:none;position:static;margin:0;padding:0 0 8px}
#role-demo .standalone-report .studio-reports{margin:0;min-height:0;flex:1;display:flex;flex-direction:column;gap:clamp(8px,1.7vh,20px)}
#role-demo .studio-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;flex:none;margin:clamp(8px,2.1vh,22px) 0 0}
#role-demo .studio-report-metrics .metric-trigger{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;justify-content:center;align-content:center;align-items:center;column-gap:clamp(7px,1.1vw,18px);row-gap:4px;width:100%;height:auto;text-align:center;border:0;background:transparent;box-shadow:none;padding:3px 0;color:#214b3e;border-radius:10px}
#role-demo .metric-trigger .result-dial{grid-column:1;grid-row:1;width:clamp(55px,9.5vh,90px);height:clamp(55px,9.5vh,90px)}
#role-demo .metric-trigger strong{grid-column:2;grid-row:1;align-self:center;font-size:clamp(20px,2.3vw,34px);white-space:nowrap}
#role-demo .metric-trigger>span{grid-column:1 / -1;grid-row:2;font-weight:850;font-size:14px}
#role-demo .studio-report-grid{min-height:0;flex:1;display:grid;grid-template-columns:minmax(190px,24%) 1fr;gap:20px;align-items:start;overflow:visible}
#role-demo .studio-report-grid>div,#role-demo .studio-report-grid>.studio-report-chart{padding:10px 14px}
#role-demo .studio-report-people>button{padding:4px 7px;min-height:0;margin:3px 0;line-height:1.2}
#role-demo .studio-report-chart h3,#role-demo .studio-report-people h3{margin:4px 0 7px;font-size:17px}
#role-demo .result-lines{margin:0;gap:7px}#role-demo .result-lines>div{margin:0;padding:0}
#role-demo .studio-report-chart-tabs button{min-height:0;font-size:13px;padding:5px 11px}
#role-demo .standalone-report .studio-journey-footer{flex:none;margin:7px 0 0;padding:0;border:0}
.metric-popup{width:370px}.metric-popup .result-dial{width:82px;height:82px;position:relative;margin-bottom:12px}
.metric-popup .result-dial>div,.metric-popup .result-dial svg{width:100%!important;height:100%!important}.metric-popup .result-dial img{position:absolute;inset:27.5%;width:45%;height:45%}
.metric-popup h2{font-size:24px}.metric-popup ul{padding:0;list-style:none}.metric-popup li{display:flex;justify-content:space-between;padding:8px 0;border-top:1px solid #d9e3d6}

#role-demo .academy-chat{display:grid;grid-template-columns:minmax(175px,22%) 1fr;height:var(--stage-room);padding:0;overflow:hidden;min-height:0}
.chat-history{background:#f1f1e7;padding:clamp(14px,2.5vw,32px);border-right:1px solid #d7ddcc;overflow:auto}
.chat-brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:950}.chat-brand img{width:43px;height:43px;object-fit:contain}
.chat-new,.chat-history-item{display:block;width:100%;text-align:left;border:0;border-radius:11px;font:800 14px Nunito,sans-serif;padding:9px 12px;color:#365649}
.chat-new{margin:20px 0;background:#fffdf6;border:1px solid #d1daca}.chat-history h3{font-size:12px;color:#67806c;margin:15px 8px 6px}
.chat-history-item{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:transparent}.chat-history-item[aria-current=page]{background:#dce6d6}
.chat-room{min-width:0;min-height:0;display:flex;flex-direction:column;padding:18px clamp(18px,3vw,45px);background:#fffdf7}
.chat-room>header,.chat-room>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:none}.chat-room>footer{justify-content:flex-end;margin-top:10px}
.chat-room>header small{font-size:12px;color:#748777}.chat-stream{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;padding:12px 2px}
.chat-welcome{margin:auto;text-align:center;max-width:440px;color:#355a49}.chat-welcome img{width:72px;height:72px;object-fit:contain}.chat-welcome h2{font-size:clamp(28px,3vw,42px);margin:5px 0;line-height:1.1}.chat-welcome p{font-size:15px;margin:0;line-height:1.45}
.chat-turn{width:min(100%,710px);margin:0 auto 8px}.chat-from-you{width:fit-content;max-width:85%;margin:0 0 10px auto;border-radius:17px 17px 5px 17px;padding:9px 15px;background:#e7efdf;font:750 15px/1.5 Nunito,sans-serif}
.chat-turn .agent-reply{max-width:95%;background:transparent;border:0;box-shadow:none;padding:8px}.chat-turn .agent-reply figure img{max-height:150px;object-fit:contain}
#role-demo .academy-composer{align-self:center;width:min(100%,720px);margin:0;flex:none;background:transparent;padding:0;border:0}
#role-demo .academy-input-frame{display:block;width:100%;box-sizing:border-box;padding:9px 11px;background:#fff;border:1px solid #c3d1c3;border-radius:20px;box-shadow:0 4px 15px #2743310c}
#role-demo .academy-message-input{width:100%;min-height:34px;max-height:90px;box-sizing:border-box;padding:6px 8px;resize:none;border:0;outline:none!important;background:transparent;color:#264a3e;font:700 15px/1.45 Nunito,sans-serif}
.chat-segment{display:flex;align-items:center;gap:2px;padding:2px;background:#f0f2e9;border-radius:10px}
.chat-segment button{background:transparent;color:#52695c;border:0;padding:4px 7px;border-radius:8px;font:800 12px Nunito,sans-serif}
.chat-segment [aria-pressed=true]{background:#fffdf7;color:#254637;box-shadow:0 1px 3px #263d3022}
.chat-send{display:grid;place-items:center;background:#254f40;color:#fff;border-radius:50%;width:34px;height:34px;border:0}.chat-send:disabled{opacity:.44}
#role-demo .studio-canvas .studio-lesson-gallery .lesson-title-row{height:auto;min-height:clamp(46px,6.6vh,65px)}
#role-demo .studio-canvas .lesson-title-row h4{height:auto;line-height:1.12;font-size:clamp(17px,1.45vw,22px)}
.student-explanation{align-self:flex-start;width:fit-content;max-width:64ch}
#role-demo [data-journey-stage=recipient]>.studio-journey-heading>div{display:block}
.hint-tool{position:relative;display:inline-flex}.hint-tool>.tour-explanation{position:absolute;display:none;z-index:7;right:0;top:calc(100% + 10px);margin:0;width:210px;max-width:30vw;pointer-events:none}
.hint-tool:not(:has(.tour-control)):is(:hover,:focus-within)>.tour-explanation{display:block}
.atlas-minipage{fill:none;stroke:#183e36;stroke-width:1;pointer-events:none}
#role-demo .delivery-compact h2.tour-control{outline:0!important;box-shadow:none}
.delivery-compact:has(.tour-control) [data-copy-course]{border-color:#b6794d}
#role-demo .knowledge-stage .kb-phone-tools{grid-auto-flow:row!important;grid-auto-columns:auto;justify-content:stretch;row-gap:5px}
#role-demo .knowledge-stage .kb-phone-tools button{min-width:0;overflow:hidden}
#role-demo .metric-trigger .result-dial{border-radius:50%}
#role-demo .knowledge-stage>.studio-quiet-button{position:absolute;left:0;bottom:0}

@media(prefers-reduced-motion:no-preference){.exam-item+.exam-item{animation:exam-next-card .28s ease-out both}@keyframes exam-next-card{from{opacity:.45;transform:translateY(12px)}to{opacity:1;transform:none}}}

.atlas-tooltip{width:fit-content;max-width:100%;max-height:46px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:auto;padding:4px 9px;border-radius:8px;background:#fffae9;color:#224637;text-align:center;font:800 12px/1.25 Nunito,sans-serif;box-sizing:border-box;box-shadow:0 2px 8px #172c2633}
.chat-welcome img{display:block;margin-inline:auto}
#role-demo .studio-report-grid>.studio-report-chart{background:transparent;border:0;border-left:1px solid #dbe2d3;border-radius:0}
#role-demo .result-lines .ac-ig-press-progress>.ac-ig-press-track{min-height:24px;height:clamp(26px,4.4vh,42px)!important}
#role-demo .result-lines .ac-ig-press-svg{height:100%!important}
#role-demo .result-lines .ac-ig-press-progress{min-height:0;margin:0}
.studio-reader-dock .reader-thought strong{margin-right:5px}

@media (min-width:1024px) {
  .unified .hero-role-slot { min-height:0; padding-bottom:0; }
  .unified #role-demo .demo-section-menu { padding:28px 0; margin-inline:auto; }
  #role-demo .demo-section-menu button { justify-content:center; }
  #role-demo > section.wrap:not([hidden]) { margin-top:0; }
  #role-demo > section.wrap:not([hidden]) ~ section.wrap:not([hidden]) { margin-top:26px; }
  #role-demo #guided-studio { margin-bottom:34px; }
  #role-demo { --stage-room:min(850px,calc(100dvh - 148px)); }
  #role-demo .studio-training-tools:not([hidden]) {
    display:flex; align-items:center; gap:clamp(6px,.8vw,14px); width:fit-content; max-width:calc(100% - 24px); box-sizing:border-box;
    position:relative; z-index:1; margin:0 auto -1px; padding:5px 7px 5px 12px;
    background:#edf1e5; border:1px solid #ccd7c5; border-bottom-color:#fffdf7; border-radius:17px 17px 0 0;
  }
  #role-demo .studio-training-tools .studio-restart { flex:none; padding:5px 12px; font-size:13px; white-space:nowrap; }
  #role-demo .studio-training-tools .studio-restart:disabled { opacity:.5; }
  .studio-training-tools ol { display:flex; align-items:center; flex-wrap:wrap; justify-content:center; list-style:none; gap:clamp(3px,.6vw,9px); padding:0; margin:0; }
  .studio-training-tools li { display:flex; align-items:center; gap:4px; color:#506958; white-space:nowrap; }
  .studio-training-tools li b { display:grid; place-items:center; width:21px; height:21px; border:1px solid #b8cab9; border-radius:50%; font:800 12px Nunito,sans-serif; }
  .studio-training-tools li span { font:800 clamp(12px,.9vw,14px)/1.2 Nunito,sans-serif; }
  .studio-training-tools li.is-past b { background:#d4e5d6; }
  .studio-training-tools li[aria-current] { padding:3px 9px 3px 4px; border-radius:20px; color:#fff7e6; background:#315c4a; }
  .studio-training-tools li[aria-current] b { border-color:#8fae9c; }
  #role-demo .studio-course-row { column-gap:38px; }
  #role-demo .studio-course-row .studio-course-note::before {
    display:block; left:auto; right:100%; top:50%; bottom:auto; width:38px; height:18px; transform:translateY(-50%);
    background:radial-gradient(circle at 30px 8px,#fffefa 4px,#9eb7a4 4.5px 5.5px,transparent 6px),
      radial-gradient(circle at 17px 10px,#fffefa 2.8px,#9eb7a4 3px 4px,transparent 4.5px),
      radial-gradient(circle at 6px 11px,#fffefa 1.6px,#9eb7a4 2px 2.8px,transparent 3px);
  }
  #role-demo .student-course-row { margin:0 auto 18px; width:100%; }
  #role-demo .student-course-row .course-tab { min-width:180px; max-width:265px; text-align:left; }
  #role-demo .student-course-row .course-tab small:first-child { margin:0 0 4px; }
  #role-demo #guided-studio .studio-canvas {
    height:auto; min-height:clamp(490px,calc(100svh - 255px),730px)!important;
  }
  #role-demo #guided-studio .studio-canvas[data-multiple=true] { justify-content:center; }
  #role-demo .studio-canvas[data-multiple=true] .studio-board { flex:none; padding-bottom:0; }
  #role-demo .studio-canvas[data-multiple=true] .studio-canvas-footer { width:min(100%,848px); margin:12px auto 0; }
  #role-demo #guided-studio .studio-journey-canvas:has([data-journey-stage=share]) {
    justify-content:center; background:#fffdf7; border:1px solid #dedfd2;
  }
  #role-demo .studio-journey[data-journey-stage=share] {
    width:min(100%,840px); margin:0 auto; padding:0; background:transparent; border:0; border-radius:0; box-shadow:none;
  }
  #role-demo .delivery-compact h2 { font-size:clamp(32px,3.15vw,48px); }
  #role-demo .delivery-compact p { text-wrap:balance; max-width:65ch; margin:16px auto 24px; font-size:clamp(16px,1.3vw,20px); }
  #role-demo .studio-journey-canvas { justify-content:center; }
  #role-demo .studio-journey[data-journey-stage=recipient] { margin:0 auto; }
  body:has(.studio-native-dialog[open]) #guided-studio .studio-guide { visibility:hidden; }
  html:has(.studio-native-dialog[open]),body:has(.studio-native-dialog[open]) { overflow:hidden; overscroll-behavior:none; }
  .studio-native-dialog .rdr-main { overscroll-behavior:contain; }
  .studio-native-dialog .rdr-col>.rdr-part+.rdr-part { margin-top:22px; }
  .studio-reader-actions .studio-help-options button { border-radius:999px; padding:8px 15px; }
  .studio-reader-dock .reader-thought { margin-left:0; }
  .studio-native-dialog .studio-card-scroll { overflow:auto; overscroll-behavior:contain; }
  .studio-real-editor .studio-card-scroll :is(.ls2-card-stack,.ls2-card-unit,.ls2-card-paper,.ls2-card-editor) { height:auto!important; max-height:none!important; min-height:0!important; overflow:visible; }
  .studio-real-editor .ls2-card-editor .ProseMirror { padding:clamp(14px,2vh,23px)!important; }
  .studio-real-editor .ls2-card-editor .ProseMirror img { max-height:clamp(70px,15vh,150px); width:auto; object-fit:contain; }
  .unified.starts dialog.studio-native-dialog:has(.studio-guided-test) { width:min(calc(100vw - 52px),1240px); height:min(680px,calc(100dvh - 36px)); }
  .studio-native-host:has(.studio-guided-test) { height:100%; display:flex; flex-direction:column; }
  body[data-studio-showcase=true] .studio-native-host>.rdr-shell:has(.studio-guided-test) {
    flex:1 1 0; height:auto!important; min-height:0!important;
  }
  body[data-studio-showcase=true] .studio-native-host>.rdr-shell .rdr-main:has(.studio-guided-test) { padding:clamp(16px,2.2vw,30px)!important; }
  body[data-studio-showcase=true] .studio-native-host>.rdr-shell .rdr-col:has(.studio-guided-test) { max-width:none!important; }
  body[data-studio-showcase=true] .studio-native-host>.rdr-shell .rdr-part:has(.studio-guided-test) { margin:0!important; padding:clamp(20px,2.4vw,34px)!important; }
  .rdr-main:has(.studio-guided-test) .rdr-space { display:none; }
  .exam-navigation {
    display:flex; align-items:center; justify-content:space-between; flex:none; gap:16px;
    padding:10px clamp(20px,2.2vw,30px); border-top:1px solid #d8dfce; background:#fffdf6;
  }
  .exam-navigation button { flex:none; }
  .exam-page-buttons { display:flex; align-items:center; gap:8px; }
  .exam-options [data-answer-state=retry] i { background:#a95639; border-color:#a95639; }
  .exam-navigation p { margin:0; color:#8b4128; }
  .studio-reader-dock.studio-author-advance { display:flex; justify-content:flex-end; }
  .studio-guided-test[data-author-preview] .studio-test-heading { justify-content:space-between; }
  body[data-studio-showcase=true] .studio-native-host .rdr-main > .rdr-col:has([data-author-preview]) { margin-block:auto; }
  .studio-question-count { color:#51705f; font-size:16px; }
  .studio-question-preview h2 { font-size:clamp(20px,1.9vw,28px); line-height:1.25; margin:0 0 16px; }
  .studio-question-preview ul { list-style:disc; margin:0; padding-left:1.5em; }
  .studio-question-preview li { margin:.45em 0; padding-left:.15em; color:#395a49; }
  .studio-guided-test[data-author-preview] .exam-sequence .exam-item { border:0; padding:0; background:transparent; }
  .studio-exam-generation { display:grid; justify-items:center; gap:12px; text-align:center; padding:clamp(18px,5vh,54px) 0; }
  .studio-exam-generation :is(h2,p) { margin:0; }
  .studio-exam-generation progress { width:min(100%,400px); height:12px; appearance:none; border:0; border-radius:20px; overflow:hidden; background:#e3e9dc; accent-color:#46715b; }
  .studio-exam-generation progress::-webkit-progress-bar { background:#e3e9dc; }
  .studio-exam-generation progress::-webkit-progress-value { background:#46715b; }
  .studio-exam-generation progress::-moz-progress-bar { background:#46715b; }
  .exam-current h3:focus { outline:none; }
  @media(prefers-reduced-motion:no-preference) {
    .exam-current { animation:exam-card-enter .18s ease-out; }
    .exam-current[data-back=true] { --exam-entry:-12px; }
    @keyframes exam-card-enter { from { opacity:.8; transform:translateX(var(--exam-entry,12px)); } }
  }
  .studio-guided-test .studio-test-options { margin:12px 0; }
  .studio-guided-test .studio-test-options>div { margin:6px 0; }
  .studio-guided-test .studio-test-question textarea,.studio-guided-test .studio-test-explanation textarea {
    min-height:46px; height:46px; padding:7px 12px; font-size:16px;
  }
  .studio-guided-test .studio-test-options input { padding:7px 12px; font-size:16px; }
  .exam-popup[open]:has(.exam-navigation) {
    display:flex; flex-direction:column; box-sizing:border-box; overflow:hidden;
    width:min(90vw,920px); max-width:none; max-height:calc(100dvh - 44px);
  }
  .exam-popup .student-exam-body { min-height:0; overflow:auto; overscroll-behavior:contain; }
  .exam-popup:has(.exam-navigation)>h2 { margin:0 46px 16px 0; }
  .exam-popup:has(.exam-navigation)>.studio-panel-close { position:absolute; top:12px; right:14px; }
  .exam-popup .exam-navigation { margin-top:12px; padding:12px 0 0; }
  .studio-guided-test .studio-test-heading { gap:12px; margin-bottom:22px; }
  .studio-test-heading .exam-edit-hint { margin:0 18px 0 auto; padding:9px 14px; font-size:14px; }
  .studio-test-heading .exam-edit-hint::before {
    inset:50% auto auto 100%; width:30px; height:14px; transform:translateY(-50%);
    background:radial-gradient(circle at 5px 7px,#fff 3.5px,#9eb7a4 4px 5px,transparent 5.5px),
      radial-gradient(circle at 17px 7px,#fff 2px,#9eb7a4 2.5px 3.5px,transparent 4px),
      radial-gradient(circle at 27px 7px,#9eb7a4 1.8px,transparent 2.2px);
  }
  .studio-guided-test .exam-item { padding:clamp(16px,1.8vw,26px); }
  .studio-guided-test .exam-options button { font-size:clamp(16px,1.2vw,18px); padding:12px 15px; }
  #role-demo .story-lab[data-kb-stage=sorting] .knowledge-stage { display:grid; grid-template-columns:minmax(0,1fr); place-items:center; align-content:center; }
  #role-demo .knowledge-loading { width:min(100%,690px); margin:0 auto; }
  #role-demo .knowledge-orbit { animation-duration:6s; }
  #role-demo .knowledge-loading p { width:100%; max-width:none; margin:14px 0; font-size:clamp(16px,1.25vw,19px); line-height:1.5; }
  .hint-tool>.tour-explanation::before { bottom:100%; left:auto; right:24px; transform:rotate(180deg); }
  .explain-control>.tour-explanation::before { left:16px; }
  #role-demo .story-heading>.studio-restart { display:none; }
  #role-demo .knowledge-stage>.kb-handset { height:min(calc(100cqh - 16px),620px); }
  #role-demo .knowledge-stage .kb-phone-tools { grid-template-columns:repeat(5,minmax(0,1fr))!important; gap:2px; padding:6px 2px; }
  #role-demo .knowledge-stage .kb-phone-tools button:nth-child(n) { grid-column:auto; aspect-ratio:1; border-radius:12px; display:grid; place-items:center; }
  #role-demo .knowledge-stage .kb-phone-tools button img { width:86%; height:auto; aspect-ratio:1; }
  #role-demo .kb-phone-tools small { display:none; }
  #role-demo .kb-phone-tools button[aria-pressed=true] { background:#d0e3d5; box-shadow:inset 0 0 0 1px #89ad95; }
  #role-demo .kb-send:enabled img { filter:brightness(0) invert(1); }
  #role-demo .library-spread .kb-folders { padding:8px 14px 12px 8px; scrollbar-gutter:auto; }
  #role-demo .kb-folders details { overflow:visible; }
  #role-demo .metric-trigger .result-dial { width:clamp(90px,9vw,140px); height:auto; aspect-ratio:1; }
  #role-demo .standalone-report { min-height:var(--stage-room); height:auto!important; }
  #role-demo .standalone-report .studio-reports { flex:none; }
  #role-demo .standalone-report .studio-journey-footer { margin-top:18px; }
  #role-demo .result-lines .ac-ig-press-progress>.ac-ig-press-track,
  #role-demo .result-lines .ac-ig-press-svg { height:60px!important; }
  #role-demo .result-lines .ac-ig-press-progress { height:60px; max-height:none; }
  .atlas-particles { background:radial-gradient(ellipse at 30% 22%,#1a5949,transparent 54%),radial-gradient(ellipse at 86% 80%,#185142,transparent 56%),#092f29; }
  .atlas-thread { stroke:#a6d7b5; stroke-width:1.65; stroke-opacity:.62; stroke-linecap:round; stroke-dasharray:.35 4.2; pointer-events:none; }
  .atlas-thread[data-lit=true] { stroke:#ffcf91; stroke-opacity:1; stroke-width:2; }
  .atlas-file-rim { fill:#1e5144; stroke:currentColor; stroke-width:1; stroke-dasharray:1.4 1.1; }
  .atlas-particles .atlas-minipage { stroke:#f4f1cc; stroke-width:.72; transform:scale(2.65); }
  .atlas-dust { fill:none; stroke:#c3dfad; stroke-width:1.8; stroke-linecap:round; opacity:.76; pointer-events:none; }
  .atlas-particles .atlas-node text { font-size:15px; }
  @media(prefers-reduced-motion:no-preference) {
    .atlas-thread { animation:atlas-grains 3s linear infinite; animation-delay:var(--phase); }
    @keyframes atlas-grains { to { stroke-dashoffset:-18.2; } }
  }
}

@media(min-width:1024px) {
  .studio-reader-dock .reader-thought { width:max-content; max-width:min(480px,100%); box-sizing:border-box; }
  .studio-reader-dock .reader-thought::before { left:calc(var(--thought-tip,25px) - 18px); transform:scaleX(-1); }
  .unified.starts dialog.studio-native-dialog:has(.studio-real-editor) {
    width:min(calc(100vw - 44px),1160px); height:fit-content; max-height:calc(100dvh - 32px);
  }
  .studio-native-host:has(.studio-real-editor),.studio-real-editor { height:auto; }
  .studio-real-editor { max-height:calc(100dvh - 34px); }
  .studio-real-editor-body,.studio-real-editor .studio-card-scroll { flex:0 1 auto; }
  /* Keep the hidden reader measurement from adding scroll space beneath a short card. */
  .studio-real-editor .ls2-card-paper>.ls2-image-budget.rdr-shell { max-height:100%; overflow:clip; }
  .studio-real-editor-body>nav { width:clamp(165px,16vw,200px); }
  .studio-real-editor .studio-card-scroll { padding-bottom:14px; }
  .studio-real-editor>header { padding:7px 62px 7px 22px; min-height:56px; }
  .studio-real-editor>footer { min-height:48px; padding-block:5px; }
  .studio-real-editor .ProseMirror .node-image { float:right; max-width:22%; margin:0 0 8px 16px; }
  .studio-real-editor .ls2-card-editor .ProseMirror :is(p,li,blockquote) { font:650 clamp(15px,1.9vh,18px)/1.42 Nunito,sans-serif; }
  .studio-real-editor .ls2-card-editor .ProseMirror :is(h2,h3,p,ul,li,blockquote) { margin-block:5px; }
  .studio-real-editor .ls2-card-editor .ProseMirror blockquote { padding:6px 10px; }
  .studio-real-editor .ls2-card-editor .ProseMirror { display:flow-root; }
  .studio-real-editor .ls2-card-editor .ProseMirror img { max-height:clamp(64px,12vh,116px)!important; }
}

/* A reader opened on a phone remains usable after rotating a tablet across the desktop breakpoint. */
#academy-preview-v17 .unified dialog.studio-native-dialog:has(.phone-reader) {position:fixed;inset:0;width:min(calc(100% - 16px),620px);height:min(720px,calc(100dvh - 16px));max-width:none;max-height:none;box-sizing:border-box;overflow:hidden;margin:auto;padding:0;border-radius:18px;background:#fffdf6}
#academy-preview-v17 .unified .studio-native-host:has(.phone-reader),#academy-preview-v17 .unified .phone-reader {height:100%;min-height:0;width:100%}
#academy-preview-v17 .unified .phone-reader {display:flex;flex-direction:column;min-height:0}
#academy-preview-v17 .unified .phone-reader header {position:relative;padding:14px 55px 12px 16px;border-bottom:1px solid #d7decf;background:#f5f2e6}
#academy-preview-v17 .unified .phone-reader header strong {display:block;line-height:1.2}
#academy-preview-v17 .unified .phone-close {position:absolute;right:9px;top:9px;min-height:42px;width:42px;border:0;border-radius:50%;background:#b85338;color:white;font:850 25px/1 Nunito,sans-serif}
#academy-preview-v17 .unified .phone-reader-body {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 16px}
#academy-preview-v17 .unified .phone-reader-body h2 {font-size:25px;margin:7px 0 14px}
#academy-preview-v17 .unified .phone-reader article {line-height:1.55;font-size:16px;overflow-wrap:anywhere}
#academy-preview-v17 .unified .phone-reader article img {display:block;width:auto;max-width:100%;height:auto;max-height:165px;margin:0 auto 12px}
#academy-preview-v17 .unified .phone-reader article :is(p,ul,blockquote,h3) {margin:0 0 12px;white-space:normal}
#academy-preview-v17 .unified .phone-reader article ul {padding-left:22px}
#academy-preview-v17 .unified .phone-reader footer {display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 14px max(10px,env(safe-area-inset-bottom));border-top:1px solid #d7decf}
#academy-preview-v17 .unified .phone-reader small {display:block;color:#576f60;font-size:13px;font-weight:850}
#academy-preview-v17 .unified .phone-reader :is(.studio-share,.studio-light-button) {min-height:44px}

.agent-toolbar {display:flex;align-items:center;gap:8px;min-height:38px}
.agent-toolbar small {color:#52695c;font-size:12px}
.agent-toolbar .chat-send {margin-left:auto}
.agent-settings {display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#285446;cursor:pointer}
.agent-settings[aria-expanded=true] {background:#e4eadc}
#role-demo .academy-input-frame,#role-demo .assistant-compose {position:relative}
#role-demo .agent-answer-options {position:absolute;z-index:4;inset:auto auto calc(100% + 8px) 0;display:grid;gap:8px;width:max-content;max-width:100%;padding:10px;border:1px solid #ccd8c7;border-radius:15px;background:#fffdf6;box-shadow:0 7px 22px #263d3026}
#role-demo .agent-answer-options[hidden] {display:none}
.agent-options {display:grid;grid-template-columns:54px 1fr;align-items:center;gap:6px;color:#365e4f;font-size:13px;font-weight:800}
.agent-options .chat-segment button {min-height:38px;cursor:pointer}
.agent-example-label {display:block;margin-bottom:4px;color:#657465;font-size:12px}
.chat-room>footer,.phone-assistant>footer {min-height:38px}
