/* OS Author v2.27: the calm studio.
   One clear area at a time. A grey ground, white sheets for the thing you work on, words instead of icon-and-word,
   one blue button per area, and status said in words and colour (green done, amber needs you). */
html.calm{
  --bg:#F4F5F7; --panel:#FFFFFF; --sunk:#F4F5F7; --ink:#121826; --muted:#5B6474; --faint:#8A93A2; --line:#E6E8EC; --line-2:#DDE1E7;
  --blue:#1F4FD8; --blue-2:#163BA8; --blue-soft:#EEF2FC; --ok:#1E7B4F; --ok-soft:#E7F3EC; --warn:#B45309; --warn-soft:#FDF3E6; --bad:#B42318;
  --f:"Figtree","Segoe UI",system-ui,-apple-system,sans-serif; --r:12px; --e1:none;
}
html.calm body{background:var(--bg);color:var(--ink);font:15px/1.5 var(--f)}
html.calm a{color:var(--blue)}
html.calm a:hover{color:var(--blue-2)}
html.calm .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* words, not icon and word: calm.js marks buttons and links that have words; their icon goes */
html.calm .ti>svg.ic,html.calm .ti>span>svg.ic:first-child{display:none!important}
html.calm :is(h1,h2,h3,h4)>svg.ic{display:none}

/* buttons: one strong blue action, everything else quiet */
html.calm .b{height:40px;padding:0 16px;border-radius:10px;border:0;background:#E9ECF0;color:var(--ink);font-weight:600;font-size:14.5px;box-shadow:none}
html.calm .b:hover{background:#E0E4EA}
html.calm .b.pri{background:var(--blue);color:#fff}
html.calm .b.pri:hover{background:var(--blue-2)}
html.calm .b.ghost{background:transparent;color:#334155;font-weight:500}
html.calm .b.ghost:hover{background:#ECEEF2;color:var(--ink)}
html.calm .b.sm{height:32px;padding:0 12px;font-size:13.5px;border-radius:8px}
html.calm .b.icon{width:40px;padding:0}
html.calm .b.sm.icon{width:32px}
html.calm .b.danger{color:var(--bad)}
html.calm button.link{color:var(--blue);text-decoration:none;font-weight:500}
html.calm button.link:hover{color:var(--blue-2);text-decoration:underline}
html.calm input,html.calm select,html.calm textarea{font-family:var(--f)}

/* ---------- the top bar: words only ---------- */
html.calm .top.ctop{height:64px;padding:0 40px;gap:32px;background:transparent;border:0;box-shadow:none}
html.calm .cbrand{font-size:16px;font-weight:700;letter-spacing:-.01em;color:var(--ink);text-decoration:none}
html.calm .mnav{display:flex;gap:28px;font-size:15px;flex-wrap:wrap}
html.calm .mnav a,html.calm .cset{color:var(--muted);text-decoration:none;font-size:15px}
html.calm .mnav a:hover,html.calm .cset:hover{color:var(--ink)}
html.calm .mnav a.on,html.calm .cset.on{color:var(--ink);font-weight:600}
html.calm .avatar{width:36px!important;height:36px!important;border-radius:50%!important;background:var(--ink)!important;color:#fff!important;font-weight:600;font-size:14px;padding:0!important}
html.calm .inst-tag{font-size:14px;color:var(--muted)}
html.calm .inst-tag img{height:26px}

/* inside a course: a path, a few words, one blue button */
html.calm .top.etop{height:60px;padding:0 24px;gap:14px;background:#fff;border-bottom:1px solid #ECEEF2;box-shadow:none}
html.calm .crumb{font-size:14.5px;color:var(--muted);text-decoration:none;white-space:nowrap}
html.calm .crumb:hover{color:var(--ink)}
html.calm .crumb-s{color:#C5CAD3}
html.calm .etop .title{flex:1;min-width:120px;display:flex;align-items:center;gap:12px}
html.calm .etop .title input,html.calm .etop .ctname{font-size:16px;font-weight:600;border:0;background:transparent;color:var(--ink);padding:6px 8px;margin-left:-8px;border-radius:8px;min-width:0;flex:1}
html.calm .etop .title input:hover{background:#F4F5F7}
html.calm .etop .title input:focus{background:#F4F5F7;outline:none}
html.calm .etop .save{font-size:13.5px;color:var(--faint);white-space:nowrap}
html.calm .etop .acts{gap:4px}
html.calm .etop .acts .b.pri{margin-left:8px}
html.calm .etop .cnt{background:var(--warn);color:#fff;border-radius:999px;font-size:11.5px;min-width:18px;height:18px;padding:0 5px;margin-left:6px}
html.calm .etop .cnav.in{gap:12px}

/* ---------- pages: a centred column on the grey ground ---------- */
html.calm .calm-page{display:flex;justify-content:center;padding:48px 24px 64px}
html.calm .calm-page h1{margin:0;font-size:32px;font-weight:600;letter-spacing:-.03em;line-height:1.15}
html.calm .dash{max-width:1040px;padding-top:40px}
html.calm .dash-head h1{font-size:32px;font-weight:600;letter-spacing:-.03em}
html.calm .dash-head p{font-size:15px;color:var(--muted)}
html.calm .card,html.calm .psec,html.calm .panel{box-shadow:none;border:0;border-radius:16px}
html.calm .muted{color:var(--muted)}

/* home */
html.calm .hm2{width:100%;max-width:920px;display:flex;flex-direction:column;gap:56px;padding-top:24px}
html.calm .hm2 h1{font-size:40px;line-height:1.1}
html.calm .hm2>h1{margin-bottom:-28px}
html.calm .hm2-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html.calm .hm2-c{display:flex;flex-direction:column;gap:10px;padding:32px;border-radius:20px;background:#fff;border:0;text-align:left;font:inherit;color:var(--ink);text-decoration:none;min-height:220px;cursor:pointer}
html.calm .hm2-c:hover{box-shadow:0 0 0 2px var(--blue);color:var(--ink)}
html.calm .hm2-c b{font-size:26px;font-weight:600;letter-spacing:-.02em}
html.calm .hm2-c>span{font-size:16px;color:var(--muted);line-height:1.5;max-width:30ch}
html.calm .hm2-c em{margin-top:auto;display:flex;gap:8px;flex-wrap:wrap;font-style:normal}
html.calm .hm2-c em i{font-style:normal;font-size:13.5px;color:var(--muted);padding:6px 12px;border-radius:999px;background:#F4F5F7}
html.calm .hm2-cont{display:flex;flex-direction:column;gap:2px}
html.calm .hm2-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px}
html.calm .hm2-h h2{margin:0;font-size:15px;font-weight:600;color:var(--muted)}
html.calm .hm2-h a{font-size:14px;text-decoration:none}
html.calm .wrow{display:grid;grid-template-columns:minmax(0,1fr) 220px 120px;gap:16px;align-items:center;padding:16px 18px;border-radius:12px;text-decoration:none;color:var(--ink)}
html.calm .wrow:hover{background:#fff;color:var(--ink)}
html.calm .wt{font-size:16px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.calm .wk,html.calm .we{font-size:14px;color:var(--muted)}
html.calm .we{text-align:right}

/* one resource */
html.calm .rs{width:100%;max-width:1040px;display:flex;flex-wrap:wrap;gap:40px}
html.calm .rk-list{flex:0 1 240px;display:flex;flex-direction:column;align-items:stretch;gap:2px;text-align:left}
html.calm .rk-list p{margin:0 14px 8px;font-size:13px;font-weight:600;color:#6B7280}
html.calm .rk-list button{display:block;width:100%;text-align:left;padding:12px 14px;border-radius:10px;border:0;background:transparent;font:inherit;color:#334155;cursor:pointer}
html.calm .rk-list button:hover{background:#E9ECF0;color:var(--ink)}
html.calm .rk-list button.on{background:#fff;color:var(--ink)}
html.calm .rk-list b{display:block;font-size:15px;font-weight:500}
html.calm .rk-list button.on b{font-weight:600}
html.calm .rk-list small{display:block;font-size:13px;color:var(--faint);margin-top:1px}
html.calm .rs-m{flex:1 1 420px;min-width:0;max-width:600px;display:flex;flex-direction:column;gap:24px;padding-top:12px}
html.calm .rs-m h1{font-size:34px}
html.calm .rs-m textarea{width:100%;border:0;border-radius:14px;background:#fff;padding:16px 18px;font:18px/1.5 var(--f);color:var(--ink);resize:vertical;box-sizing:border-box}
html.calm .rs-m textarea:focus,html.calm .rk-title input:focus{outline:2px solid var(--blue);outline-offset:0}
html.calm .rk-title{display:flex!important;flex-direction:column;gap:8px;font-size:14px;color:var(--muted);height:auto!important;background:none!important;padding:0!important}
html.calm .rk-title input{height:46px!important;width:100%;box-sizing:border-box;border:0;border-radius:12px;background:#fff;padding:0 16px;font:16px var(--f);color:var(--ink)}
html.calm .rs-go{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:4px}
html.calm .rs-go .b.pri{height:50px;padding:0 26px;border-radius:12px;font-size:16px}
html.calm .rs-go .muted{font-size:14px}

/* my work: a plain list */
html.calm .mw{width:100%;max-width:1040px;display:flex;flex-direction:column;gap:24px}
html.calm .mw-h{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
html.calm .mw-h h1{flex:1}
html.calm .mw-h .b.pri{height:44px;padding:0 22px;border-radius:12px;font-size:15px}
html.calm .mw-h .link{font-size:14.5px;color:var(--muted)}
html.calm .mw-f{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
html.calm .mw-tabs{display:flex;gap:20px}
html.calm .mw-tabs button{border:0;background:none;padding:0 0 6px;font:15px var(--f);color:var(--muted);border-bottom:2px solid transparent;cursor:pointer}
html.calm .mw-tabs button:hover{color:var(--ink)}
html.calm .mw-tabs button.on{color:var(--ink);font-weight:600;border-bottom-color:var(--ink)}
html.calm .mw-f input{margin-left:auto;width:240px;height:40px;border-radius:10px;border:0;background:#fff;padding:0 14px;font:15px var(--f)}
html.calm .mw-list{background:#fff;border-radius:16px;padding:6px 0}
html.calm .mw-r{display:grid;grid-template-columns:minmax(0,1fr) 130px 220px 100px 40px;gap:16px;align-items:center;padding:14px 16px 14px 24px;border-top:1px solid #EEF0F3;font-size:14.5px;color:var(--muted)}
html.calm .mw-r:hover{background:#FAFAFB}
html.calm .mw-r.mw-hd{border-top:0;padding-top:12px;padding-bottom:10px;font-size:13px;color:#6B7280}
html.calm .mw-r.mw-hd:hover{background:none}
html.calm .mw-r>span:nth-child(4){text-align:right}
html.calm .mw-r .ok{color:var(--ok);font-weight:500}
html.calm .mw-r .warn{color:var(--warn);font-weight:500}
html.calm .mw-n{display:flex;flex-direction:column;gap:2px;text-decoration:none;color:var(--ink);min-width:0}
html.calm .mw-n:hover{color:var(--blue)}
html.calm .mw-n b{font-size:16px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.calm .mw-n small{font-size:13.5px;color:#6B7280}
html.calm .mw-more{width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:var(--faint);display:grid;place-items:center;opacity:0}
html.calm .mw-r:hover .mw-more,html.calm .mw-more:focus-visible,html.calm .mw-more[aria-expanded="true"]{opacity:1}
html.calm .mw-more:hover{background:#ECEEF2;color:var(--ink)}
html.calm .mw-empty{padding:40px 24px;display:flex;flex-direction:column;gap:4px;color:var(--muted)}
html.calm .mw-empty b{color:var(--ink);font-size:16px;font-weight:600}
html.calm #plans:empty{display:none}

/* settings: plain rows on one sheet */
html.calm .sett{width:100%;max-width:860px;display:flex;flex-direction:column;gap:24px}
html.calm .sheet{background:#fff;border-radius:16px;overflow:hidden}
html.calm .srow{display:block;border-top:1px solid #EEF0F3;text-decoration:none;color:var(--ink)}
html.calm .sheet>.srow:first-child{border-top:0}
html.calm .srow>summary,html.calm a.srow{display:grid;grid-template-columns:200px minmax(0,1fr) auto;gap:20px;align-items:center;padding:20px 24px;cursor:pointer;list-style:none}
html.calm .srow>summary::-webkit-details-marker{display:none}
html.calm .srow b{font-size:16px;font-weight:600}
html.calm .srow span{font-size:15px;color:var(--muted)}
html.calm .srow em{font-style:normal;font-size:15px;color:var(--blue)}
html.calm .srow:hover>summary,html.calm a.srow:hover{background:#FAFAFB}
html.calm details.srow[open]{background:#FAFAFB}
html.calm details.srow[open] em{color:var(--muted);font-size:0}
html.calm details.srow[open] em::after{content:"Close";font-size:15px}
html.calm .srow-b{padding:0 24px 24px 244px;max-width:780px}
html.calm .srow-b .psec{background:transparent;padding:0;margin:0}
html.calm .srow-b .fs{display:flex;flex-direction:column;gap:14px;max-width:420px}

/* forms everywhere: quiet labels, white fields */
html.calm .fld label{font-size:13.5px;color:var(--muted);font-weight:500}
html.calm .fld input,html.calm .fld select,html.calm .fld textarea{border-color:#E3E6EB;border-radius:10px}
html.calm .fld input,html.calm .fld select{min-height:42px}

/* ---------- the editor: outline, the screen, one panel ---------- */
html.calm .ed.st22{background:var(--bg)}
html.calm .ed.st22 .rail{background:transparent!important;border:0!important}
html.calm .ed.st22 .rl{color:var(--muted)!important;background:transparent}
html.calm .ed.st22 .rl:hover{background:#ECEEF2!important;color:var(--ink)!important}
html.calm .ed.st22 .rl.on{background:#fff!important;color:var(--ink)!important;font-weight:600}
html.calm .ed.st22 .rl.on::before{display:none}
@media (min-width:1241px){
  html.calm .ed.st22:not(.ol-closed):not(.full)>.rail{background:var(--bg)!important;border:0!important;height:60px;padding:12px 14px}
  html.calm .ed.st22:not(.ol-closed):not(.full)>.rail .rl>svg{display:none}
  html.calm .ed.st22:not(.ol-closed):not(.full)>.rail .rl{min-height:36px;padding:0 12px;font-size:14px}
  html.calm .ed.st22:not(.ol-closed):not(.full)>.outline{padding-top:64px}
}
html.calm .outline{background:var(--bg)!important;border-right:0!important}
html.calm .o-scr,html.calm .o-sess{border-radius:9px}
html.calm .o-scr{color:#334155;font-size:14.5px}
html.calm .o-scr:hover{background:#ECEEF2}
html.calm .o-row.sel .o-scr,html.calm .o-scr.sel,html.calm .o-scr.on{background:#fff!important;color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(18,24,38,.06)}
html.calm .o-scr .ty{display:none}
html.calm .o-sess .n{background:var(--ink)}
html.calm .o-scrs{border-left-color:transparent;margin-left:6px}
html.calm .o-row>svg.ic,html.calm .o-scr>svg.ic{opacity:.45}
html.calm .ed.st22 .prev,html.calm .prev{background:var(--bg)!important;background-image:none!important;border-right:0!important}
html.calm .prev-bar{background:transparent!important;border-bottom:0!important}
html.calm .prev-bar .seg{background:#E9ECF0;border:0;border-radius:10px;padding:4px}
html.calm .prev-bar .seg button{border:0;border-radius:7px;background:transparent;color:var(--muted);font-weight:500}
html.calm .prev-bar .seg button.on,html.calm .prev-bar .seg button[aria-pressed="true"]{background:#fff;color:var(--ink);font-weight:600}
html.calm .frame{box-shadow:0 1px 2px rgba(18,24,38,.05),0 30px 60px -30px rgba(18,24,38,.35)!important}
html.calm .ed.st22 .form{background:#fff;border-left:1px solid #ECEEF2!important}
html.calm .f-head h2{font-size:19px;font-weight:600;letter-spacing:-.01em}
html.calm .f-head .sub{font-size:13.5px;color:var(--muted)}
html.calm .tabs{background:#fff;border-top:1px solid #ECEEF2}

/* ---------- pop-ups: a plain title, the content, the actions ---------- */
html.calm .modal{border-radius:18px;border:0;box-shadow:0 30px 80px -30px rgba(18,24,38,.45)}
html.calm .modal-h{border-bottom:0;padding:22px 26px 4px}
html.calm .modal-h h3{font-size:20px;font-weight:600;letter-spacing:-.02em}
html.calm .modal-b{padding:12px 26px 24px}
html.calm .modal-f{border-top:1px solid #EEF0F3;background:#FAFAFB;border-radius:0 0 18px 18px;padding:14px 26px}
html.calm .as-lead{background:transparent!important;border:0!important;padding:0 0 4px!important;color:var(--muted)}
html.calm .as-lead>svg{display:none}
html.calm .note{background:transparent;color:var(--muted);border:0;padding:0 0 4px;font-size:13.5px}
html.calm .menu{border:0;border-radius:12px;box-shadow:0 20px 50px -20px rgba(18,24,38,.4),0 0 0 1px rgba(18,24,38,.05)}
html.calm .menu button,html.calm .menu a{font-size:14.5px;border-radius:8px}
html.calm .menu .lbl{font-size:12.5px;color:var(--faint);text-transform:none;letter-spacing:0}
html.calm .toast{border-radius:12px;font-family:var(--f)}

/* Add: three groups of sketches */
html.calm .add3-modal .modal{width:min(1040px,100%)!important;background:var(--bg)}
html.calm .add3-modal .modal-h{padding:28px 32px 0}
html.calm .add3-modal .modal-h h3{font-size:30px;letter-spacing:-.03em}
html.calm .add3-modal .modal-b{padding:6px 32px 32px}
html.calm .add3-w{margin:0 0 26px;font-size:14px;color:#6B7280}
html.calm .add3-g{margin-bottom:28px}
html.calm .add3-g h4{margin:0 0 12px;font-size:14px;font-weight:600;color:var(--muted)}
html.calm .add3{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
html.calm .add3-t{display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:16px;background:#fff;border:0;text-align:left;font:inherit;color:var(--ink);cursor:pointer}
html.calm .add3-t:hover,html.calm .add3-t:focus-visible{box-shadow:0 0 0 2px var(--blue)}
html.calm .add3-t b{font-size:16px;font-weight:600}
html.calm .add3-f{margin:4px 0 0;font-size:15px;color:var(--muted)}
html.calm .sk{height:96px;border-radius:10px;background:#F4F5F7;display:flex;flex-direction:column;justify-content:center;gap:7px;padding:14px;box-sizing:border-box}
html.calm .sk i{display:block}
html.calm .sk .l{height:7px;border-radius:4px;background:#D9DEE6}
html.calm .sk .l.dk{height:9px;background:var(--ink)}
html.calm .sk .l.lt{background:rgba(255,255,255,.4)}
html.calm .sk .w3{width:25%}html.calm .sk .w5{width:45%}html.calm .sk .w6{width:60%}html.calm .sk .w7{width:70%}html.calm .sk .w8{width:80%}html.calm .sk .w9{width:90%}
html.calm .sk.mk-watch{background:#172338;align-items:center}
html.calm .sk .sun{width:28px;height:28px;border-radius:50%;background:#F2B713}
html.calm .sk.mk-video{background:#000;align-items:center}
html.calm .sk .play{width:0;height:0;border-left:18px solid #fff;border-top:11px solid transparent;border-bottom:11px solid transparent}
html.calm .sk .opt{height:16px;border-radius:6px;background:#fff}
html.calm .sk .opt.on{box-shadow:inset 0 0 0 2px var(--blue)}
html.calm .sk .opt.ok{box-shadow:inset 4px 0 0 var(--ok)}
html.calm .sk.mk-flip,html.calm .sk.mk-story,html.calm .sk.mk-coach{flex-direction:row;align-items:center;gap:8px}
html.calm .sk.mk-coach{flex-direction:column;align-items:stretch}
html.calm .sk .card{flex:1;height:64px;border-radius:8px;background:#fff}
html.calm .sk .card.b{background:var(--blue)}
html.calm .sk .face{width:36px;height:36px;border-radius:50%;background:#CBD8F6;flex:none}
html.calm .sk .bub{height:24px;border-radius:10px 10px 10px 3px;background:#fff;flex:1}
html.calm .sk .bub.me{background:#CBD8F6;border-radius:10px 10px 3px 10px;margin-left:30%}
html.calm .sk.mk-coach .bub.co{margin-right:30%}
html.calm .sk.mk-game{background:var(--ink);justify-content:flex-end}
html.calm .sk .bar{height:12px;border-radius:4px;background:rgba(255,255,255,.25)}
html.calm .sk .pb{height:14px;border-radius:5px;background:#D9DEE6}
html.calm .sk .pb.on{background:var(--blue)}
html.calm .sk .box{height:38px;border-radius:8px;background:#fff}
@media (max-width:820px){html.calm .add3{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* the course window and older pickers, quieter */
html.calm .pk-card{border:0;background:#F7F8FA;box-shadow:none}
html.calm .pk-card:hover{background:#fff;box-shadow:0 0 0 2px var(--blue)}
html.calm .pl-door{border:0;background:#fff}
html.calm .pl-door:hover{box-shadow:0 0 0 2px var(--blue)}
html.calm .pl-door>svg{display:none}
html.calm .badge{border-radius:999px;font-weight:500}
html.calm .vseg{background:#E9ECF0;border:0}
html.calm .tbl th{font-weight:500;color:#6B7280;font-size:13px}
html.calm .tile{border:0;box-shadow:none;border-radius:16px}
html.calm .gd-box,html.calm .guide{box-shadow:0 12px 32px -16px rgba(13,27,46,.35)}

/* phones */
@media (max-width:820px){
  html.calm .top.ctop{padding:0 16px;gap:16px;height:auto;min-height:56px;flex-wrap:wrap}
  html.calm .mnav{gap:16px;order:3;width:100%;padding-bottom:10px;overflow-x:auto;flex-wrap:nowrap}
  html.calm .calm-page{padding:24px 16px 48px}
  html.calm .hm2{gap:36px;padding-top:0}
  html.calm .hm2 h1{font-size:30px}
  html.calm .hm2>h1{margin-bottom:-16px}
  html.calm .hm2-two{grid-template-columns:1fr}
  html.calm .hm2-c{min-height:0;padding:24px}
  html.calm .wrow{grid-template-columns:minmax(0,1fr) auto}
  html.calm .wrow .wk{display:none}
  html.calm .mw-r{grid-template-columns:minmax(0,1fr) auto 32px;padding-left:16px}
  html.calm .mw-r>span:nth-child(2),html.calm .mw-r>span:nth-child(4){display:none}
  html.calm .mw-more{opacity:1}
  html.calm .mw-f input{margin-left:0;width:100%}
  html.calm .mw-h .link{display:none}
  html.calm .mw-h h1{font-size:28px}
  html.calm .srow>summary,html.calm a.srow{grid-template-columns:1fr auto;gap:4px 16px}
  html.calm .srow>summary span,html.calm a.srow span{grid-column:1;grid-row:2}
  html.calm .srow em{grid-column:2;grid-row:1/3}
  html.calm .srow-b{padding:0 16px 20px}
  html.calm .top.etop{padding:0 12px;gap:8px}
}
@media (prefers-reduced-motion:reduce){html.calm *{transition:none!important}}

/* the outline reads like a document's contents: session names, screen names, "Add to this session" */
html.calm .o-view .vseg{display:none}
html.calm .o-view{justify-content:flex-end;margin-bottom:2px}
html.calm .o-fold{opacity:.5}
html.calm .o-fold:hover{opacity:1}
html.calm .o-row .o-tools{opacity:0;transition:opacity .12s}
html.calm .o-row:hover .o-tools,html.calm .o-row:focus-within .o-tools{opacity:1}
html.calm .o-tools .b.sm.icon{width:28px;height:28px;color:var(--faint)}
html.calm .o-tools .b.sm.icon:hover{color:var(--ink)}
html.calm .o-tools .b.danger:hover{color:var(--bad)}
html.calm .o-sess,html.calm .o-sess.on{background:transparent!important;color:var(--ink)!important;font-weight:600;font-size:14px;box-shadow:none!important}
html.calm .o-sess .n{background:transparent!important;color:var(--ink)!important;width:auto!important;min-width:0!important;padding:0!important;font-weight:600}
html.calm .o-sess .n{height:auto!important;line-height:inherit!important;display:inline!important;border-radius:0!important}
html.calm .o-sess .n::after{content:"."}
html.calm .o-srow.sel .o-sess .t{color:var(--blue)}
html.calm .o-chev{opacity:.4}
html.calm .o-add{margin:2px 0 14px}
html.calm .ed.st22 .o-add .b{border:0!important;background:transparent!important;color:var(--blue)!important;font-weight:500!important;font-size:14px;justify-content:flex-start!important;padding:0 12px!important;height:34px!important;width:auto!important}
html.calm .o-add .b:hover{background:#ECEEF2!important}
html.calm #addsess{color:var(--muted)!important}

/* fields in pop-ups: one plain white box each */
html.calm .modal :is(.fld input,.fld select,.fld textarea){border:1px solid #E3E6EB!important;box-shadow:none!important;background:#fff;border-radius:10px;padding:8px 12px;font-size:15px}
html.calm .modal .fld input,html.calm .modal .fld select{height:42px;padding-top:0;padding-bottom:0}
html.calm .modal :is(.fld input,.fld select,.fld textarea):focus{border-color:var(--blue)!important;outline:none}
html.calm .mp-brief{border:0!important;background:#F4F5F7!important;border-radius:14px}
html.calm .cv-fit.ai{background:transparent;border:0;padding:0;color:var(--muted)}
html.calm .cv-fit.ai>svg{display:none}
html.calm[data-mode="simple"] .ed.st22>.outline{padding-top:12px!important}

/* making a course from material: the steps are words in a line, green when done, dark for here */
html.calm .plan .dash-head .muted a{text-decoration:none}
html.calm .pl-title{font-size:30px!important;font-weight:600;letter-spacing:-.03em;border:0!important;background:transparent!important;padding:4px 0!important}
html.calm .pl-steps{gap:22px;margin:4px 0 24px;border-bottom:3px solid #E9ECF0;padding-bottom:12px}
html.calm .pl-steps li{flex:none}
html.calm .pl-steps button{border:0!important;background:transparent!important;padding:0!important;font-size:14.5px;color:#9AA2AF;gap:0}
html.calm .pl-steps .n,html.calm .pl-steps button svg{display:none}
html.calm .pl-steps li.done button{color:var(--ok)}
html.calm .pl-steps li.on button{color:var(--ink)!important;font-weight:600}
html.calm .pl-steps li.off button{opacity:1}
html.calm .pl-doors .pl-door{background:#F4F5F7;border-radius:14px;padding:22px}
html.calm .pl-doors .pl-door:hover{background:#fff}
html.calm .pl-doors .pl-door b{font-size:17px}

/* v2.28: the module syllabus reads like a document: one white sheet, plain headings, lists you type into */
html.calm .sy{background:#fff;border-radius:8px;box-shadow:0 1px 2px rgba(18,24,38,.06),0 20px 40px -24px rgba(18,24,38,.22);padding:44px 56px;max-width:920px;margin:0 auto;display:flex;flex-direction:column;gap:30px}
html.calm .sy-k{margin:0;font-size:13px;font-weight:600;color:#6B7280}
html.calm .sy-h p.muted{margin:4px 0 0;font-size:14.5px}
html.calm .sy h3{margin:0;font-size:19px;font-weight:600;letter-spacing:-.01em}
html.calm .sy h4{margin:0;font-size:15px;font-weight:600}
html.calm .sy-help{margin:2px 0 10px;font-size:13.5px}
html.calm .sy textarea#sycomp{width:100%;box-sizing:border-box;border:0;border-left:3px solid var(--blue);background:#F7F8FA;border-radius:0 10px 10px 0;padding:12px 16px;font:17px/1.5 var(--f);color:var(--ink);resize:vertical}
html.calm .sy-models{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
html.calm .sy-m{display:flex;flex-direction:column;gap:4px;text-align:left;padding:14px 16px;border-radius:12px;border:1px solid #E3E6EB;background:#fff;font:inherit;color:var(--ink);cursor:pointer}
html.calm .sy-m:hover{border-color:#C9CFD8}
html.calm .sy-m.on{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue);background:var(--blue-soft)}
html.calm .sy-m b{font-size:15px;font-weight:600}
html.calm .sy-m span{font-size:13.5px;color:var(--muted);line-height:1.45}
html.calm .sy-sess{border-top:1px solid #EEF0F3;padding-top:26px;display:flex;flex-direction:column;gap:14px}
html.calm .sy-sh{display:flex;align-items:center;gap:12px}
html.calm .sy-n{font-size:13px;font-weight:600;color:#6B7280;white-space:nowrap}
html.calm .sy-t{flex:1;min-width:0;border:0;background:transparent;font:600 21px var(--f);letter-spacing:-.02em;color:var(--ink);padding:4px 8px;margin-left:-8px;border-radius:8px}
html.calm .sy-t:hover,html.calm .sy-t:focus{background:#F4F5F7;outline:none}
html.calm .sy-min{font-size:14px;color:var(--muted);white-space:nowrap}
html.calm .sy-min input{width:52px;height:34px;border:1px solid #E3E6EB;border-radius:8px;text-align:center;font:14px var(--f)}
html.calm .sy-why{margin:-6px 0 0;font-size:13.5px}
html.calm .sy-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
html.calm .sy-list{margin:0;padding:0 0 0 22px;display:flex;flex-direction:column;gap:4px}
html.calm .sy-list li{padding-left:2px}
html.calm .sy-list li::marker{color:var(--faint);font-size:14px}
html.calm .sy-list li{position:relative}
html.calm .sy-list textarea{display:block;width:100%;box-sizing:border-box;border:0;border-bottom:1px solid transparent;border-radius:0;background:transparent;font:15px/1.45 var(--f);color:var(--ink);padding:6px 28px 6px 2px;resize:none;overflow:hidden;min-height:0}
html.calm .sy-list textarea:hover{border-bottom-color:#E3E6EB}
html.calm .sy-list textarea:focus{outline:none;border-bottom-color:var(--blue)}
html.calm .sy-x{position:absolute;right:0;top:4px;width:24px;height:24px;border:0;border-radius:6px;background:transparent;color:var(--faint);font-size:18px;line-height:1;opacity:0;cursor:pointer}
html.calm .sy-list li:hover .sy-x,html.calm .sy-x:focus-visible{opacity:1}
html.calm .sy-x:hover{background:#F1F3F5;color:var(--bad)}
html.calm .sy-add,html.calm .sy-adds{margin-top:6px;font-size:14px!important;align-self:flex-start}
html.calm .sy-pts summary{cursor:pointer;font-size:14px;color:var(--muted)}
html.calm .sy-pts[open] summary{margin-bottom:10px}
html.calm .sy-foot{max-width:920px;margin:18px auto 0;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
@media (max-width:820px){html.calm .sy{padding:24px 18px}html.calm .sy-two{grid-template-columns:1fr;gap:18px}}

/* v2.28: the session plan: the model's steps down the left, the chosen activities beside each */
html.calm .sp{background:#fff;border-radius:16px;margin:0 0 18px}
html.calm .sp>summary{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding:18px 22px;cursor:pointer;list-style:none}
html.calm .sp>summary::-webkit-details-marker{display:none}
html.calm .sp-k{font-size:13px;font-weight:600;color:#6B7280}
html.calm .sp>summary b{font-size:16px;font-weight:600}
html.calm .sp>summary .muted{font-size:14px}
html.calm .sp>summary em{margin-left:auto;font-style:normal;color:var(--blue);font-size:14.5px}
html.calm .sp[open]>summary em{font-size:0}
html.calm .sp[open]>summary em::after{content:"Close";font-size:14.5px;color:var(--muted)}
html.calm .sp:not(:has(em:not(:empty)))>summary em::after{content:none}
html.calm .sp-b{padding:0 22px 22px;display:flex;flex-direction:column;gap:12px}
html.calm .sp-obj{background:#F7F8FA;border-radius:12px;padding:12px 16px;font-size:14.5px}
html.calm .sp-obj ol{margin:4px 0 0;padding-left:20px}
html.calm .sp-model{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--muted);flex-wrap:wrap}
html.calm .sp-model select{height:40px;border:1px solid #E3E6EB;border-radius:10px;padding:0 12px;font:15px var(--f);color:var(--ink);background:#fff}
html.calm .sp-s{margin:0;font-size:13.5px}
html.calm .sp-evs{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column}
html.calm .sp-ev{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:16px;align-items:center;padding:12px 0;border-top:1px solid #EEF0F3}
html.calm .sp-ev.empty .sp-el{opacity:.6}
html.calm .sp-el{display:flex;gap:12px;align-items:flex-start}
html.calm .sp-i{flex:none;width:24px;height:24px;border-radius:50%;background:#F1F3F5;color:#5B6474;font-size:12.5px;font-weight:600;display:grid;place-items:center;margin-top:1px}
html.calm .sp-el b{display:block;font-size:15px;font-weight:600}
html.calm .sp-el small{display:block;font-size:13px;color:var(--muted);line-height:1.4}
html.calm .sp-acts{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
html.calm .sp-a{display:inline-flex;align-items:center;gap:2px;height:34px;padding:0 4px 0 12px;border-radius:999px;background:var(--blue-soft);color:#1A3FA8;font-size:14px;font-weight:500}
html.calm .sp-a button{width:24px;height:24px;border:0;border-radius:50%;background:transparent;color:#5571C9;font-size:16px;line-height:1;cursor:pointer}
html.calm .sp-a button:hover{background:#DCE4FA;color:#1A3FA8}
html.calm .sp-add{height:34px;padding:0 14px;border-radius:999px;border:1px dashed #C9CFD8;background:#fff;color:var(--muted);font:500 14px var(--f);cursor:pointer}
html.calm .sp-add:hover{border-color:var(--blue);color:var(--blue)}
html.calm .sp-in{font-size:13.5px;font-style:italic}
html.calm .sp-miss{margin:0;font-size:13.5px;color:var(--warn)}
html.calm .sp-reset{align-self:flex-start;font-size:13.5px!important}
html.calm .sp-go{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:6px 0 24px}
html.calm .sp-go .b.pri{height:48px;padding:0 22px;border-radius:12px;font-size:15.5px}
html.calm .sp-go .muted{font-size:14px}
@media (max-width:820px){html.calm .sp-ev{grid-template-columns:1fr;gap:8px}}
html.calm .sl-ev{margin:0 0 8px;font-size:12.5px;font-weight:600;color:var(--blue)}
@media (max-width:820px){
  html.calm .pl-steps{gap:14px}
  html.calm .pl-steps .l{display:inline!important}
  html.calm .pl-title{font-size:24px!important;width:100%}
}

/* v2.29: Start, one page: what you want, your material, the analysis if you like */
html.calm .st2,html.calm .qa2{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:22px}
html.calm .st2 h2{margin:0;font-size:28px;font-weight:600;letter-spacing:-.025em}
html.calm .st2 h3{margin:0 0 10px;font-size:16px;font-weight:600}
html.calm .st2-q p{margin:6px 0 14px;font-size:15px}
html.calm #plask{width:100%;box-sizing:border-box;border:0;border-radius:14px;background:#fff;padding:16px 18px;font:18px/1.5 var(--f);color:var(--ink);resize:none;min-height:120px}
html.calm #plask:focus{outline:2px solid var(--blue)}
html.calm .st2-src{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-direction:column;gap:6px}
html.calm .st2-src li{display:flex;align-items:baseline;gap:10px;background:#fff;border-radius:10px;padding:12px 16px}
html.calm .st2-src b{font-weight:500}
html.calm .st2-src .link{margin-left:auto;font-size:13.5px!important;color:var(--muted)!important}
html.calm .st2-drop{display:flex!important;flex-direction:row!important;align-items:center;gap:14px;flex-wrap:wrap;border:1.5px dashed #CBD1DA!important;background:transparent!important;border-radius:14px!important;padding:16px 18px!important;text-align:left!important}
html.calm .st2-drop>svg{display:none}
html.calm .st2-drop .b{margin-left:auto}
html.calm .st2-drop.over{border-color:var(--blue)!important;background:var(--blue-soft)!important}
html.calm .st2-d{background:#fff;border-radius:14px;padding:14px 18px}
html.calm .st2-m .st2-d{margin-top:10px;background:transparent;padding:0}
html.calm .st2-d>summary{cursor:pointer;font-weight:600;font-size:15px}
html.calm .st2-m .st2-d>summary{font-weight:500;color:var(--blue);font-size:14.5px}
html.calm .st2-d[open]>summary{margin-bottom:12px}
html.calm .st2-d textarea{width:100%;box-sizing:border-box;border:1px solid #E3E6EB;border-radius:10px;padding:10px 12px;font:15px/1.45 var(--f);resize:none}
html.calm .st2-an-l{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:14px}
html.calm .st2-an-l label{display:flex;flex-direction:column;gap:2px;margin-bottom:6px}
html.calm .st2-an-l label b{font-weight:500}
html.calm .st2-an-l small{font-size:13px}
html.calm .st2-go{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
html.calm .st2-go .b.pri{height:50px;padding:0 24px;border-radius:12px;font-size:16px}
html.calm .st2-go .b.pri:disabled{background:#E4E7EC;color:#8A93A2}
html.calm .st2-go .muted{font-size:14px}
html.calm .st2-more{background:transparent;padding:0}
html.calm .st2-more>summary{color:var(--muted);font-weight:500;font-size:14px}

/* v2.29: the assistant's questions, like a short conversation */
html.calm .qa2-you{background:#fff;border-radius:14px;padding:16px 20px;border-left:3px solid var(--ink)}
html.calm .qa2-you small{font-size:12.5px;font-weight:600;color:#6B7280}
html.calm .qa2-you p{margin:4px 0 6px;font-size:16px;line-height:1.5}
html.calm .qa2-you .muted{font-size:13.5px}
html.calm .qa2-lead{margin:6px 0 0;font-size:20px;font-weight:500;letter-spacing:-.01em;line-height:1.4}
html.calm .qa2-l{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px}
html.calm .qa2-q{background:#fff;border-radius:14px;padding:18px 20px;display:flex;flex-direction:column;gap:8px}
html.calm .qa2-q label{font-size:17px;font-weight:600;line-height:1.4}
html.calm .qa2-q>small{font-size:13.5px;margin-top:-4px}
html.calm .qa2-opts{display:flex;flex-wrap:wrap;gap:8px}
html.calm .qa2-o{height:36px;padding:0 14px;border-radius:999px;border:1px solid #E3E6EB;background:#fff;font:500 14px var(--f);color:#334155;cursor:pointer}
html.calm .qa2-o:hover{border-color:var(--blue);color:var(--blue)}
html.calm .qa2-o.on{background:var(--ink);border-color:var(--ink);color:#fff}
html.calm .qa2-q textarea{width:100%;box-sizing:border-box;border:0;border-bottom:2px solid #E3E6EB;border-radius:0;padding:8px 0;font:16px/1.45 var(--f);color:var(--ink);resize:none;background:transparent}
html.calm .qa2-q textarea:focus{outline:none;border-bottom-color:var(--ink)}
html.calm .sl-foot{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}
html.calm .sl-foot .muted{font-size:14px;margin-right:auto}
html.calm .sl-foot .b.pri{height:48px;padding:0 22px;border-radius:12px;font-size:15.5px}
html.calm .sl-foot a{text-decoration:none}

/* v2.29: the module workspace. Full screen: the conversation on the left, the build on the right.
   Before anything is sent, only the prompt box shows, in the middle, like the opening of a chat. */
html.calm.ws2-on,html.calm.ws2-on body{height:100%;overflow:hidden}
html.calm .ws2{position:fixed;inset:0;display:flex;flex-direction:column;background:var(--bg);z-index:5}
html.calm .ws2-h{height:56px;flex:none;display:flex;align-items:center;gap:12px;padding:0 20px;background:#fff;border-bottom:1px solid #ECEEF2}
html.calm .ws2-x{font-size:14.5px;color:var(--muted);text-decoration:none;white-space:nowrap}
html.calm .ws2-x:hover{color:var(--ink)}
html.calm .ws2-t{min-width:120px;max-width:420px;flex:0 1 420px;border:0;background:transparent;font:600 16px var(--f);color:var(--ink);padding:6px 8px;border-radius:8px}
html.calm .ws2-t:hover,html.calm .ws2-t:focus{background:#F4F5F7;outline:none}
html.calm .ws2-h .save{font-size:13px;color:var(--faint)}
html.calm .ws2-h .pl-ai{font-size:12px}
html.calm .ws2-tabs{display:flex;gap:4px;align-items:center}
html.calm .ws2-tabs a,html.calm .ws2-tabs span{height:36px;display:inline-flex;align-items:center;padding:0 14px;border-radius:9px;font-size:14.5px;text-decoration:none;color:var(--muted)}
html.calm .ws2-tabs a:hover{background:#F1F3F5;color:var(--ink)}
html.calm .ws2-tabs a.on{background:#EEF0F3;color:var(--ink);font-weight:600}
html.calm .ws2-tabs .off{color:#B8BEC8;cursor:default}
html.calm .ws2-tabs .ws2-open{margin-left:8px;background:var(--blue);color:#fff;font-weight:600}
html.calm .ws2-tabs .ws2-open:hover{background:var(--blue-2);color:#fff}
html.calm .ws2-b{flex:1;min-height:0;display:grid;grid-template-columns:minmax(360px,440px) minmax(0,1fr);position:relative}
html.calm .ws2-b.drop::after{content:"Drop to add as material";position:absolute;inset:12px;border:2px dashed var(--blue);border-radius:18px;background:rgba(238,242,252,.85);display:grid;place-items:center;font-size:20px;font-weight:600;color:var(--blue);z-index:3;pointer-events:none}
html.calm .ws2-chat{display:flex;flex-direction:column;min-height:0;background:#fff;border-right:1px solid #ECEEF2}
html.calm .ws2-log{flex:1;min-height:0;overflow-y:auto;padding:20px 18px 8px;display:flex;flex-direction:column;gap:14px}
html.calm .ws2-job:empty{display:none}
html.calm .ws2-bar{margin:0 18px 8px;position:relative;height:30px;border-radius:8px;background:#F1F3F5;overflow:hidden;font-size:12.5px;color:var(--muted)}
html.calm .ws2-bar span{position:relative;z-index:1;display:block;padding:7px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.calm .ws2-bar i{position:absolute;left:0;top:0;bottom:0;background:#DCE4FA;transition:width .4s}
html.calm .ws2-comp{flex:none;padding:8px 14px 14px}
html.calm .ws2-build{min-height:0;overflow-y:auto;padding:24px 28px 48px}
html.calm .ws2-build .sy,html.calm .ws2-build .sy-foot{max-width:none}
/* before anything is sent: the same two columns; the prompt box is a little larger */
html.calm .m-hello{padding-top:8vh}
html.calm .m-big{font-size:26px;font-weight:600;letter-spacing:-.025em;line-height:1.2;margin-bottom:12px!important}
html.calm .ws2-b.first .cp textarea{font-size:16px}
html.calm .cp-more{justify-content:flex-start!important;margin-top:10px!important}
html.calm .m .cp-an{margin-top:14px;background:#F7F8FA;border-radius:14px;padding:12px 14px}
html.calm .m .cp-an>summary{text-align:left}
html.calm .m .cp-an[open]{padding:14px}
html.calm .m .cp-an .st2-an-l{padding-left:18px;gap:12px}
html.calm .m .cp-an textarea{background:#fff}
/* the prompt box */
html.calm .cp{background:#fff;border-radius:22px;border:1px solid #E3E6EB;box-shadow:0 1px 2px rgba(18,24,38,.04),0 16px 40px -24px rgba(18,24,38,.25);padding:10px 10px 8px 16px}
html.calm .cp:focus-within{border-color:#C9D2E6}
html.calm .ws2-chat:not(.x) .ws2-comp .cp{border-radius:18px;box-shadow:none}
html.calm .cp textarea{display:block;width:100%;box-sizing:border-box;border:0;resize:none;background:transparent;font:17px/1.5 var(--f);color:var(--ink);padding:8px 0;outline:none;max-height:40vh}
html.calm .ws2-b:not(.empty) .cp textarea{font-size:15px}
html.calm .cp-files{list-style:none;margin:4px 0 4px;padding:0;display:flex;flex-wrap:wrap;gap:6px;max-height:132px;overflow-y:auto}
html.calm .cp-files li{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 4px 0 6px;border-radius:10px;background:#F4F5F7;font-size:13.5px;max-width:100%}
html.calm .cp-ext{font-size:10.5px;font-weight:700;letter-spacing:.02em;color:#fff;background:var(--ink);border-radius:5px;padding:3px 5px}
html.calm .cp-n{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.calm .cp-files button{width:24px;height:24px;border:0;border-radius:6px;background:transparent;color:var(--faint);font-size:16px;cursor:pointer}
html.calm .cp-files button:hover{background:#E6E9EE;color:var(--bad)}
html.calm .cp-bar{display:flex;align-items:center;gap:4px}
html.calm .cp-i{width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#5B6474;display:grid;place-items:center;cursor:pointer}
html.calm .cp-i svg{width:20px;height:20px}
html.calm .cp-i:hover:not(:disabled){background:#F1F3F5;color:var(--ink)}
html.calm .cp-i:disabled{opacity:.35;cursor:default}
html.calm .cp-i.on{background:#FDECEC;color:var(--bad)}
html.calm .cp-h{margin-left:6px;font-size:13px;color:var(--faint);flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.calm .cp-go{width:40px;height:40px;border:0;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;cursor:pointer}
html.calm .cp-go svg{width:20px;height:20px}
html.calm .cp-go:hover{background:#000}
html.calm .cp-go:disabled{background:#D5DAE1}
html.calm .cp-more{display:flex;gap:18px;align-items:flex-start;justify-content:center;flex-wrap:wrap;margin-top:16px;font-size:14px}
html.calm .cp-an>summary{cursor:pointer;color:var(--blue);font-weight:500;list-style:none;text-align:center}
html.calm .cp-an>summary::-webkit-details-marker{display:none}
html.calm .cp-an[open]{flex-basis:100%;background:#fff;border-radius:16px;padding:16px 18px;text-align:left}
html.calm .cp-an[open]>summary{margin-bottom:10px;text-align:left}
html.calm .cp-an textarea{width:100%;box-sizing:border-box;border:1px solid #E3E6EB;border-radius:10px;padding:8px 12px;font:15px/1.45 var(--f);resize:none}
html.calm .cp-more>.link{color:var(--muted)!important;font-size:14px!important}
/* messages */
html.calm .m{max-width:100%;font-size:15px;line-height:1.5}
html.calm .m p{margin:0 0 8px}
html.calm .m p:last-child{margin-bottom:0}
html.calm .m.me{align-self:flex-end;max-width:88%;background:#F1F3F5;border-radius:16px 16px 4px 16px;padding:12px 14px}
html.calm .m-files{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px}
html.calm .m-files li{font-size:12.5px;background:#fff;border-radius:6px;padding:3px 8px;color:var(--muted)}
html.calm .m.ai{padding:2px 2px}
html.calm .m-who{display:block;font-size:12.5px;font-weight:600;color:var(--blue);margin-bottom:4px}
html.calm .m .qa2-l{margin:10px 0}
html.calm .m .qa2-q{background:#F7F8FA;padding:14px 14px 10px;gap:6px}
html.calm .m .qa2-q label{font-size:15px}
html.calm .m .qa2-q textarea{font-size:15px;padding:6px 0;min-height:0}
html.calm .m .qa2-o{height:32px;font-size:13.5px;padding:0 12px}
html.calm .m-act{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px}
html.calm .m-act .muted{font-size:13px}
html.calm .m-act .link{font-size:13.5px!important}
/* the build column before there is anything */
html.calm .bx-empty{max-width:560px;margin:8vh auto 0;display:flex;flex-direction:column;gap:22px}
html.calm .bx-empty h2{margin:0;font-size:24px;font-weight:600;letter-spacing:-.02em}
html.calm .bx-steps{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:2px;counter-reset:b}
html.calm .bx-steps li{counter-increment:b;display:grid;grid-template-columns:30px 1fr;column-gap:12px;padding:12px 0;color:var(--faint)}
html.calm .bx-steps li::before{content:counter(b);grid-row:1/3;width:26px;height:26px;border-radius:50%;background:#E9ECF0;color:#8A93A2;font-size:13px;font-weight:600;display:grid;place-items:center}
html.calm .bx-steps b{font-weight:600;font-size:15px}
html.calm .bx-steps span{font-size:13.5px}
html.calm .bx-steps li.on{color:var(--ink)}
html.calm .bx-steps li.on::before{background:var(--blue);color:#fff}
html.calm .bx-steps li.done{color:var(--muted)}
html.calm .bx-steps li.done::before{content:"✓";background:var(--ok-soft);color:var(--ok)}
html.calm .bx-sk{background:#fff;border-radius:12px;padding:22px;display:flex;flex-direction:column;gap:12px}
html.calm .bx-sk i{display:block;height:10px;border-radius:5px;background:linear-gradient(90deg,#EEF0F3,#F6F7F9,#EEF0F3);background-size:200% 100%;animation:bxs 1.6s linear infinite}
@keyframes bxs{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){html.calm .bx-sk i{animation:none}}
@media (max-width:900px){
  html.calm .ws2-b{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(0,1fr)}
  html.calm .ws2-chat{border-right:0;border-bottom:1px solid #ECEEF2}
  html.calm .ws2-h .pl-ai,html.calm .ws2-h .save{display:none}
  html.calm .cp-hero h1{font-size:28px}
  html.calm .ws2-build{padding:16px}
}
html.calm .ws2-b:not(.first) .cp-files{flex-wrap:nowrap;overflow-x:auto;max-height:none}
html.calm .ws2-b:not(.first) .cp-files li{height:30px;font-size:12.5px;flex:none}
html.calm .ws2-chat,html.calm .ws2-build{min-width:0}
html.calm .m-hello{padding-top:4vh}
@media (max-width:900px){
  html.calm .ws2-h{gap:6px;padding:0 10px;overflow:hidden}
  html.calm .ws2-t{flex:1 1 auto;min-width:0;font-size:15px}
  html.calm .ws2-h .crumb-s{display:none}
  html.calm .ws2-tabs a,html.calm .ws2-tabs span{padding:0 8px;font-size:13.5px}
  html.calm .ws2-tabs .ws2-open{display:none}
  html.calm .ws2-b{overflow:hidden}
}

/* v2.29.2: the first page is one prompt in the middle, like a chat app; the two columns come after */
html.calm .ws2-b.first{grid-template-columns:1fr}
html.calm .ws2-b.first .ws2-build,html.calm .ws2-b.first .ws2-log,html.calm .ws2-b.first .ws2-next{display:none}
html.calm .ws2-b.first .ws2-chat{background:var(--bg);border:0;overflow-y:auto;align-items:center}
html.calm .ws2-b.first .ws2-comp{width:min(760px,100%);box-sizing:border-box;padding:6vh 20px 12vh;margin:auto 0}
html.calm .cp-hero{text-align:center;margin-bottom:28px}
html.calm .cp-hero h1{margin:0;font-size:38px;font-weight:600;letter-spacing:-.03em;line-height:1.15}
html.calm .cp-hero p{margin:12px auto 0;max-width:52ch;font-size:16px;color:var(--muted);line-height:1.5}
html.calm .ws2-b.first .cp{border-radius:24px;padding:12px 12px 10px 18px;box-shadow:0 1px 2px rgba(18,24,38,.04),0 24px 60px -30px rgba(18,24,38,.35)}
html.calm .ws2-b.first .cp textarea{font-size:17px;min-height:84px}
html.calm .ws2-b.first .cp-more{justify-content:center!important}
/* the steps across the top */
html.calm .ws2-steps{list-style:none;margin:0 0 0 auto;padding:0;display:flex;align-items:center;gap:2px}
html.calm .ws2-steps li{display:flex;align-items:center}
html.calm .ws2-steps li+li::before{content:"";width:18px;height:1px;background:#D9DEE6;margin:0 4px}
html.calm .ws2-steps a,html.calm .ws2-steps li>span{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 10px;border-radius:9px;font-size:14px;color:#9AA2AF;text-decoration:none}
html.calm .ws2-steps a{color:var(--muted)}
html.calm .ws2-steps a:hover{background:#F1F3F5;color:var(--ink)}
html.calm .ws2-steps .n{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:600;background:#EEF0F3;color:#8A93A2}
html.calm .ws2-steps li.done .n{background:var(--ok-soft);color:var(--ok)}
html.calm .ws2-steps li.on>*{color:var(--ink);font-weight:600}
html.calm .ws2-steps li.on .n{background:var(--blue);color:#fff}
html.calm .ws2-b.first~* ,html.calm .ws2:has(.ws2-b.first) .ws2-steps{visibility:hidden}
/* the next action under the conversation */
html.calm .ws2-next:empty{display:none}
html.calm .ws2-next{flex:none;padding:10px 14px 2px;display:flex;flex-direction:column;gap:6px;border-top:1px solid #F0F2F5}
html.calm .ws2-go{width:100%;height:48px!important;border-radius:12px!important;font-size:15px!important;justify-content:center}
html.calm .ws2-go:disabled{background:#E4E7EC;color:#8A93A2}
html.calm .ws2-next small{font-size:12.5px;color:var(--faint);text-align:center}
html.calm .m-who em{font-style:normal;font-weight:500;color:var(--faint);margin-left:6px}
/* step 2: the question form on the right */
html.calm .fq{background:#fff;border-radius:8px;box-shadow:0 1px 2px rgba(18,24,38,.06),0 20px 40px -24px rgba(18,24,38,.22);padding:40px 52px;max-width:860px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
html.calm .fq h2{margin:0;font-size:26px;font-weight:600;letter-spacing:-.025em}
html.calm .fq>p.muted{margin:0 0 6px;font-size:15px}
html.calm .fq-l{margin:0;padding:0;list-style:none;display:flex;flex-direction:column}
html.calm .fq-q{display:flex;flex-direction:column;gap:8px;padding:20px 0;border-top:1px solid #EEF0F3}
html.calm .fq-q label{font-size:17px;font-weight:600;line-height:1.4}
html.calm .fq-q>small{font-size:13.5px;margin-top:-4px}
html.calm .fq-q textarea{width:100%;box-sizing:border-box;border:0;border-bottom:2px solid #E3E6EB;padding:8px 0;font:16px/1.45 var(--f);color:var(--ink);resize:none;background:transparent}
html.calm .fq-q textarea:focus{outline:none;border-bottom-color:var(--ink)}
html.calm .fq-more{border-top:1px solid #EEF0F3;padding-top:16px}
html.calm .fq-more>summary{cursor:pointer;font-size:15px;color:var(--blue);font-weight:500}
html.calm .fq-foot{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-top:20px;border-top:1px solid #EEF0F3}
html.calm .fq-foot .b.pri{height:48px;padding:0 24px;border-radius:12px;font-size:15.5px}
@media (max-width:900px){html.calm .fq{padding:22px 18px}html.calm .ws2-steps li>*{padding:0 4px;font-size:0}html.calm .ws2-steps .n{font-size:12px}html.calm .ws2-steps li+li::before{width:8px}}

/* v2.29.3: change it yourself, or ask OS Author */
html.calm .sy-ask{background:#F7F8FA;border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:8px}
html.calm .sy-ask label{font-size:15px;font-weight:600}
html.calm .sy-ask-r{display:flex;gap:10px;align-items:flex-end}
html.calm .sy-ask textarea{flex:1;min-width:0;border:1px solid #E3E6EB;border-radius:12px;background:#fff;padding:11px 14px;font:15px/1.45 var(--f);resize:none;min-height:46px;box-sizing:border-box}
html.calm .sy-ask textarea:focus{outline:none;border-color:var(--blue)}
html.calm .sy-ask .b.pri{height:46px;border-radius:12px;white-space:nowrap}
html.calm .sy-ask small{font-size:13px}
html.calm .sy-last{margin:2px 0 0;font-size:13.5px;color:var(--ok)}
html.calm .sl-done{margin:8px 0 0;font-size:13px;color:var(--ok);background:var(--ok-soft);border-radius:8px;padding:6px 10px}
html.calm #slapply{background:var(--blue);color:#fff}

/* v2.29.4: less on screen. Title and steps on top; finished steps fold; one screen at a time */
html.calm .ws2-h .save:not(.err),html.calm .ws2-h .pl-ai{display:none}
html.calm.ws2-on #nia,html.calm.ws2-on .nia{display:none!important}
html.calm .m-done{border-radius:10px}
html.calm .m-done>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;font-size:14px;color:var(--muted)}
html.calm .m-done>summary::-webkit-details-marker{display:none}
html.calm .m-done>summary:hover{background:#F4F5F7;color:var(--ink)}
html.calm .m-tick{width:20px;height:20px;border-radius:50%;background:var(--ok-soft);color:var(--ok);display:grid;place-items:center;font-size:11px;flex:none}
html.calm .m-done[open]>summary{color:var(--ink)}
html.calm .m-done-b{display:flex;flex-direction:column;gap:12px;padding:6px 0 10px 10px;margin-left:10px;border-left:2px solid #EEF0F3}
html.calm .m-qa{font-size:13.5px;display:flex;flex-direction:column;gap:2px;padding:0 4px}
html.calm .m-qa b{font-weight:500;color:var(--muted)}
html.calm .ws2-log{gap:10px}
html.calm .ws2-next{border-top:0;padding-top:6px}
html.calm .cp-src{border:0;background:#F1F3F5;border-radius:999px;height:30px;padding:0 12px;font:500 13px var(--f);color:var(--muted);cursor:pointer}
html.calm .cp-src:hover{background:#E6E9EE;color:var(--ink)}
html.calm .cp-srow{display:flex;align-items:center;gap:12px;padding:6px 10px;font-size:14px}
html.calm .cp-srow span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.calm .cp-srow button{border:0;background:none;color:var(--muted);font:13px var(--f);cursor:pointer;padding:4px 6px;border-radius:6px}
html.calm .cp-srow button:hover{color:var(--bad);background:#FDECEC}
/* syllabus: plainer */
html.calm .sy{gap:24px}
html.calm .sy-title{margin:2px 0 0;font-size:28px;font-weight:600;letter-spacing:-.025em}
html.calm .sy-ask{background:transparent;padding:0}
html.calm .sy-ask textarea{background:#F7F8FA;border-color:transparent}
html.calm .sy-ask .b{height:46px;border-radius:12px}
html.calm .sy-line{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:15px;padding:12px 0;border-top:1px solid #EEF0F3;border-bottom:1px solid #EEF0F3}
html.calm .sy-line>span:first-child{color:var(--muted)}
html.calm .sy-line b{font-weight:600}
html.calm .sy-line .link{font-size:14.5px!important}
html.calm .sy-foot2{justify-content:center;gap:24px}
html.calm .sy-foot2 .link{color:var(--muted)!important;font-size:14px!important}
/* sessions: one screen at a time */
html.calm .ws2-build .pl-tabs{border-bottom:1px solid #E6E8EC;margin-bottom:14px;gap:4px;overflow-x:auto;flex-wrap:nowrap}
html.calm .ws2-build .pl-tabs a{white-space:nowrap;font-size:14px;padding:8px 10px}
html.calm .ws2-build .pl-tabs .badge{font-size:11px;padding:0 6px;min-width:0}
html.calm .sv2-bar{display:flex;align-items:center;gap:12px;margin-bottom:14px}
html.calm .sv2-t{font-size:14px;color:var(--muted);white-space:nowrap}
html.calm .sv2-bar .sl-prog{width:140px;flex:none}
html.calm .sv2{display:grid;grid-template-columns:64px minmax(0,1fr);gap:18px;align-items:start}
html.calm .sv2-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;position:sticky;top:0}
html.calm .sv2-list button{width:100%;height:34px;border:0;border-radius:9px;background:transparent;font:500 13.5px var(--f);color:var(--muted);cursor:pointer;position:relative}
html.calm .sv2-list button:hover{background:#ECEEF2;color:var(--ink)}
html.calm .sv2-list button.on{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(18,24,38,.08)}
html.calm .sv2-list button.ok{color:var(--ok)}
html.calm .sv2-list button.ok::after{content:"✓";position:absolute;right:6px;font-size:10px}
html.calm .sv2-list button.cm::after{content:"";position:absolute;right:7px;top:8px;width:6px;height:6px;border-radius:50%;background:var(--warn)}
html.calm .sv2-m{background:#fff;border-radius:16px;padding:22px 26px 18px;display:flex;flex-direction:column;gap:16px;max-width:820px}
html.calm .sv2-k{margin:0;font-size:13px;font-weight:600;color:#6B7280;display:flex;gap:10px;flex-wrap:wrap}
html.calm .sv2-k span{color:var(--blue);font-weight:500}
html.calm .sv2-slide{max-width:520px;width:100%}
html.calm .sv2-d{margin:0;display:flex;flex-direction:column;gap:10px}
html.calm .sv2-r{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px}
html.calm .sv2-r dt{font-size:13px;color:#6B7280;padding-top:2px}
html.calm .sv2-r dd{margin:0;font-size:15px;line-height:1.5}
html.calm .sv2-r dd p{margin:0 0 4px}
html.calm .sv2-act{display:flex;gap:10px;align-items:flex-start;padding-top:14px;border-top:1px solid #EEF0F3}
html.calm .sv2-act .sl-ok{height:44px;padding:0 22px;border-radius:12px;background:var(--ok);color:#fff;font-weight:600;flex:none}
html.calm .sv2-act .sl-ok:hover{background:#17653F}
html.calm .sv2-act .sl-ok.on{background:var(--ok-soft);color:var(--ok)}
html.calm .sv2-act textarea{flex:1;min-width:0;min-height:44px;box-sizing:border-box;border:1px solid #E3E6EB;border-radius:12px;padding:11px 14px;font:15px/1.45 var(--f);resize:none}
html.calm .sv2-act textarea:focus{outline:none;border-color:var(--blue)}
html.calm .sv2-nav{display:flex;justify-content:space-between;align-items:center;font-size:14px}
html.calm .sv2-nav .link{font-size:14.5px!important}
html.calm .sv2-nav .link:disabled{color:#C5CAD3!important;cursor:default;text-decoration:none!important}
html.calm .sv2-nav .muted{font-size:13px}
@media (max-width:900px){html.calm .sv2{grid-template-columns:1fr}html.calm .sv2-list{flex-direction:row;overflow-x:auto;position:static}html.calm .sv2-list button{width:44px;flex:none}html.calm .sv2-r{grid-template-columns:1fr;gap:2px}html.calm .sv2-m{padding:16px}}
html.calm .sv2-list button.ch{color:var(--blue)}
html.calm .sv2-list button.ch::after{content:"";position:absolute;right:7px;top:8px;width:6px;height:6px;border-radius:50%;background:var(--blue)}
html.calm .ws2-build .pl-tabs .badge{display:none}

/* v2.29.5: the syllabus as a Word-style document */
html.calm .sy-bar{display:flex;align-items:center;gap:12px;max-width:860px;margin:0 auto 12px}
html.calm .sy-bar .link{font-size:14px!important;color:var(--muted)!important}
html.calm .ws2-build>#plbody>.sy-ask,html.calm #plbody>.sy-ask{max-width:860px;margin:0 auto 14px}
html.calm .sy-docv{max-width:860px;padding:56px 64px;border-radius:4px;gap:0;font-family:var(--f)}
html.calm .wd{color:#1E2532}
html.calm .wd-k{margin:0;font-size:12.5px;font-weight:600;letter-spacing:.02em;color:#6B7280}
html.calm .wd-t{margin:6px 0 4px;font-size:30px;font-weight:700;letter-spacing:-.02em;line-height:1.2}
html.calm .wd-by{margin:0 0 30px;font-size:13.5px;color:#6B7280;padding-bottom:18px;border-bottom:2px solid #121826}
html.calm .wd h2{margin:30px 0 12px;font-size:18px;font-weight:700;color:#121826}
html.calm .wd h3{margin:22px 0 8px;font-size:15px;font-weight:600;display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
html.calm .wd h3 span{font-size:12.5px;font-weight:500;color:var(--blue)}
html.calm .wd-p{margin:0 0 6px;font-size:14px;color:#5B6474}
html.calm .wd-tb{width:100%;border-collapse:collapse;font-size:14px;line-height:1.45}
html.calm .wd-tb th,html.calm .wd-tb td{border:1px solid #CBD2DC;padding:9px 12px;text-align:left;vertical-align:top}
html.calm .wd-tb thead th{background:#EEF2F7;font-weight:600;font-size:13px;color:#2B3443}
html.calm .wd-kv th{width:170px;background:#F4F6F9;font-weight:600;font-size:13.5px;color:#2B3443}
html.calm .wd-tb .n{width:52px;text-align:center;white-space:nowrap}
html.calm .wd-tb ol,html.calm .wd-tb ul{margin:0;padding-left:18px}
html.calm .wd-tb li{margin:0 0 3px}
html.calm .wd-tb tr.tot td{font-weight:600;background:#F8F9FB}
html.calm .wd-st thead th{background:#F4F6F9}
@media (max-width:900px){html.calm .sy-docv{padding:22px 16px}html.calm .wd-tb{font-size:13px}html.calm .wd-tb th,html.calm .wd-tb td{padding:6px 7px}}
/* the preview */
html.calm .pv{display:flex;flex-direction:column;gap:12px;height:100%}
html.calm .pv-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html.calm .pv-bar b{font-size:17px}
html.calm .pv-bar .muted{font-size:14px}
html.calm .pv-bar select{height:36px;border:1px solid #E3E6EB;border-radius:9px;padding:0 10px;font:14px var(--f);max-width:260px;background:#fff}
html.calm .pv-bar .vseg button{height:30px;padding:0 12px;border:0;border-radius:7px;background:transparent;font:500 13.5px var(--f);color:var(--muted)}
html.calm .pv-bar .vseg button.on{background:#fff;color:var(--ink)}
html.calm .pv-stage{flex:1;min-height:560px;display:flex;justify-content:center;align-items:flex-start}
html.calm .pv-stage iframe{border:0;background:#fff;box-shadow:0 1px 2px rgba(18,24,38,.06),0 30px 60px -30px rgba(18,24,38,.35)}
html.calm .pv-stage.phone iframe{width:390px;height:min(760px,calc(100vh - 170px));border-radius:28px}
html.calm .pv-stage.desktop iframe{width:100%;height:calc(100vh - 170px);border-radius:12px}
html.calm .ws2-alt{align-self:center;font-size:13.5px!important;color:var(--muted)!important;padding:2px 0}
html.calm .ws2-alt:hover{color:var(--blue)!important}
html.calm .cp-more{gap:22px}
html.calm .sv2-pairs{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
html.calm .sv2-pairs li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:baseline;padding:6px 10px;border-radius:8px;background:#F7F8FA;font-size:14px}
html.calm .sv2-pairs span{color:#5B6474;font-style:italic}
html.calm .sv2-pairs b{font-weight:600}
html.calm .cp-rd{font-size:11.5px;color:var(--faint);margin-left:2px}
html.calm .cp-rd.ok{color:var(--ok);font-size:12px}
html.calm .wr-dot{font-size:12px;color:var(--faint);font-style:italic}

/* v2.29.7: review on the real screen: list, the screen as learners see it, then what they hear and do */
html.calm .sv3{display:grid;grid-template-columns:56px 360px minmax(0,1fr);gap:20px;align-items:start}
html.calm .sv3-play{position:sticky;top:0;display:flex;flex-direction:column;gap:8px}
html.calm .sv3-play iframe{width:360px;height:min(680px,calc(100vh - 200px));border:0;border-radius:26px;background:#fff;box-shadow:0 1px 2px rgba(18,24,38,.06),0 26px 50px -28px rgba(18,24,38,.35)}
html.calm .sv3-info{max-width:none;padding:20px 22px;gap:12px}
html.calm .sv3-t{margin:-4px 0 0;font-size:19px;font-weight:600;letter-spacing:-.01em;line-height:1.3}
html.calm .sv3-info .sv2-r{grid-template-columns:120px minmax(0,1fr)}
@media (max-width:1280px){html.calm .sv3{grid-template-columns:52px minmax(0,1fr)}html.calm .sv3-play{grid-column:2}html.calm .sv3-info{grid-column:2}html.calm .sv3-play iframe{width:100%;max-width:400px}}
@media (max-width:900px){html.calm .sv3{grid-template-columns:1fr}html.calm .sv3-play,html.calm .sv3-info{grid-column:1}}
html.calm .sy-org{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;max-width:860px;margin:0 auto 14px;font-size:14.5px;color:var(--muted)}
html.calm .sy-org b{color:var(--ink);font-weight:600}
html.calm .sy-org .link{font-size:14px!important}
html.calm .sy-org-s{margin:0 6px;color:#C5CAD3}
html.calm .fq-sg{font-size:13px;color:var(--blue)}
html.calm .fq-org{border-top:1px solid #EEF0F3}

/* v2.29.7: Home is one prompt box, like the module workspace */
html.calm .hm3{width:100%;max-width:760px;display:flex;flex-direction:column;gap:14px;padding-top:6vh;position:relative}
html.calm .hm3.drop::after{content:"Drop to add as material";position:absolute;inset:-12px;border:2px dashed var(--blue);border-radius:20px;background:rgba(238,242,252,.85);display:grid;place-items:center;font-size:18px;font-weight:600;color:var(--blue)}
html.calm .hm3 .cp-hero{margin-bottom:12px}
html.calm .hm3-cp{border-radius:24px;padding:12px 12px 10px 18px;box-shadow:0 1px 2px rgba(18,24,38,.04),0 24px 60px -30px rgba(18,24,38,.35)}
html.calm .hm3-cp textarea{display:block;width:100%;box-sizing:border-box;border:0;resize:none;background:transparent;font:17px/1.5 var(--f);color:var(--ink);padding:8px 0;outline:none;min-height:84px}
html.calm .hm3-more{display:flex;justify-content:center;flex-wrap:wrap;gap:22px;font-size:14px}
html.calm .hm3-more a,html.calm .hm3-more .link{color:var(--muted)!important;font-size:14px!important;text-decoration:none}
html.calm .hm3-more a:hover,html.calm .hm3-more .link:hover{color:var(--blue)!important}
html.calm .hm3 .hm2-cont{margin-top:7vh}
@media (max-width:820px){html.calm .hm3{padding-top:0}html.calm .hm3-more{gap:14px}}

/* v2.29.7: a calmer studio. Item tools appear when you point at an item; the AI helpers are one quiet line; fields sit on white */
html.calm .item-h [data-a]{opacity:0;transition:opacity .12s}
html.calm .item-h:hover [data-a],html.calm .item-h:focus-within [data-a],html.calm .item.open>.item-h [data-a]{opacity:1}
html.calm .item{border-color:#ECEEF2!important;border-radius:12px!important;box-shadow:none!important}
html.calm .item-h .num{background:transparent!important;color:var(--faint)!important}
html.calm .md-cta{background:transparent!important;border:0!important;padding:0!important;margin:6px 0 12px!important;display:flex;gap:4px;flex-wrap:wrap}
html.calm .md-cta>span{display:none}
html.calm .md-cta .b{background:transparent;color:var(--blue);font-weight:500;padding:0 8px;height:32px}
html.calm .md-cta .b:hover{background:var(--blue-soft)}
html.calm .md-cta .b>svg{display:none}
html.calm .modal .probs{background:transparent!important;border:0!important;padding:0!important;color:var(--warn)}
html.calm .modal .f-tabs,html.calm .modal .ftabs{border-bottom:1px solid #EEF0F3}
html.calm .modal .lb,html.calm .modal .fld>label{font-weight:500;color:var(--muted);font-size:13.5px}
html.calm .modal .sub{color:var(--faint)}
html.calm .modal-b details>summary{color:var(--ink);font-weight:500}
html.calm .sp-acts{flex-wrap:wrap}
html.calm .sp-what{flex-basis:100%;margin:6px 0 0;padding:0 0 0 2px;list-style:none;display:flex;flex-direction:column;gap:2px}
html.calm .sp-what li{font-size:13px;color:#5B6474;line-height:1.4;padding-left:14px;position:relative}
html.calm .sp-what li::before{content:"";position:absolute;left:2px;top:.6em;width:5px;height:5px;border-radius:50%;background:#C5CAD3}
html.calm .qa2-o{height:auto!important;min-height:36px;white-space:normal;text-align:left;line-height:1.35;padding:7px 14px!important;max-width:100%}

/* v2.29.8: a longer AI video made from short shots */
.fm{display:flex;flex-direction:column;gap:14px;min-width:0}
.fm-steps{display:flex;gap:6px;list-style:none;margin:0;padding:0;counter-reset:fs;font-size:13.5px;color:var(--muted,#6B7280);flex-wrap:wrap}
.fm-steps li{counter-increment:fs;display:flex;align-items:center;gap:6px;padding:5px 12px 5px 6px;border-radius:999px;background:var(--sunk,#F1F3F6)}
.fm-steps li::before{content:counter(fs);width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#fff;font-weight:600;font-size:12px}
.fm-steps li.on{background:#E8EEFC;color:#163BA8;font-weight:600}.fm-steps li.on::before{background:#1F4FD8;color:#fff}
.fm-steps li.ok::before{content:'✓';background:#DCEFE4;color:#1E7B4F}
.fm-intro{display:flex;gap:10px;margin:0;padding:10px 12px;background:var(--sunk,#F1F3F6);border-radius:10px;font-size:13.5px;line-height:1.45;color:var(--muted,#5B6474)}
.fm-intro svg{width:18px;height:18px;flex:none;color:#1F4FD8}
.fm-chk{display:flex;gap:8px;align-items:center;margin-top:26px;font-weight:500}
.fm-foot{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end;padding-top:6px;border-top:1px solid #EEF0F3}
.fm-foot .chk{display:flex;gap:6px;align-items:center;font-size:13.5px;margin-right:auto}
.fm-left{font-size:13px;color:var(--muted,#6B7280);margin-right:auto}
.fm-foot .chk+.b,.fm-left+.b{margin-left:0}
.fm-look{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;font-size:14px;padding:10px 12px;border:1px solid #E3E7EE;border-radius:10px}
.fm-look span{flex:1;min-width:200px;color:#374151}
.fm-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;max-height:52vh;overflow:auto}
.fm-shot{display:grid;grid-template-columns:56px minmax(0,1fr) 180px;gap:12px;padding:10px 12px;border:1px solid #E3E7EE;border-radius:12px;background:#fff}
.fm-n{display:flex;flex-direction:column;gap:2px}.fm-n b{font-size:18px}.fm-n small{font-size:12px;color:var(--muted,#6B7280)}
.fm-f{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fm-f label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--muted,#6B7280);font-weight:600}
.fm-f textarea{font:14px/1.4 inherit;font-weight:400;color:#121826;border:1px solid #E3E7EE;border-radius:8px;padding:7px 9px;resize:vertical}
.fm-t{display:flex;flex-direction:column;gap:8px;align-items:stretch}.fm-t select{height:34px;border-radius:8px;border:1px solid #E3E7EE;font-size:13px}.fm-t span{display:flex;gap:4px;justify-content:flex-end}
.fm-state{display:flex;gap:8px;align-items:center;margin:0;font-weight:600}.fm-state svg{width:18px;height:18px}.fm-state.ok{color:#1E7B4F}
.fm-state svg.lucide-loader,.fm-cell.making svg{animation:fmspin 1.2s linear infinite}@keyframes fmspin{to{transform:rotate(360deg)}}
.fm-bar{height:6px;background:#EEF0F3;border-radius:999px;overflow:hidden}.fm-bar i{display:block;height:100%;background:#1F4FD8;transition:width .4s}
.fm-film{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px;align-items:start}
.fm-film video{width:100%;border-radius:12px;background:#000}
.fm-use{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.fm-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;max-height:46vh;overflow:auto}
.fm-cell{border:1px solid #E3E7EE;border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.fm-cell.failed{border-color:#F3C9C0}
.fm-th{position:relative;aspect-ratio:16/9;background:#F1F3F6;display:grid;place-items:center;color:#9AA3B2}
.fm-th video{width:100%;height:100%;object-fit:cover;display:block}
.fm-th b{position:absolute;left:8px;top:6px;background:rgba(18,24,38,.75);color:#fff;font-size:12px;border-radius:6px;padding:1px 7px}
.fm-say{margin:0;padding:8px 10px 4px;font-size:12.5px;line-height:1.4;color:#374151;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fm-cell .gm-err{margin:0 10px 6px;font-size:12px}
.fm-redo{padding:0 10px 10px;font-size:13px}.fm-redo summary{cursor:pointer;color:#1F4FD8;font-weight:600}
.fm-redo textarea{width:100%;margin:6px 0;font:13px/1.4 inherit;border:1px solid #E3E7EE;border-radius:8px;padding:6px 8px;box-sizing:border-box}
@media (max-width:760px){.fm-shot{grid-template-columns:1fr}.fm-f{grid-template-columns:1fr}.fm-t{flex-direction:row;justify-content:space-between}.fm-film{grid-template-columns:1fr}}

/* v2.29.9: build a session step by step */
.gd{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:16px;padding-bottom:24px}
.gd-h h2{margin:2px 0 12px;font-size:24px;letter-spacing:-.02em}
.gd-steps{list-style:none;margin:0;padding:0;display:flex;gap:6px;flex-wrap:wrap}
.gd-steps button{display:flex;align-items:center;gap:6px;border:1px solid #E3E7EE;background:#fff;border-radius:999px;padding:4px 12px 4px 4px;font:inherit;font-size:13px;color:#5B6474;cursor:pointer;max-width:220px}
.gd-steps .n{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#F1F3F6;font-size:12px;font-weight:600;flex:none}
.gd-steps .l{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-steps li.on button{border-color:#1F4FD8;color:#163BA8;font-weight:600;background:#F2F5FD}.gd-steps li.on .n{background:#1F4FD8;color:#fff}
.gd-steps li.ok .n{background:#DCEFE4;color:#1E7B4F}
.gd-card{background:#fff;border:1px solid #E3E7EE;border-radius:16px;padding:22px 24px;display:flex;flex-direction:column;gap:12px}
.gd-k{margin:0;font-size:13px;font-weight:600;color:#1F4FD8}
.gd-q{margin:0;font-size:21px;line-height:1.3;letter-spacing:-.01em}
.gd-help{margin:-4px 0 0;font-size:14px}
.gd-sug{background:#F5F7FC;border:1px solid #DDE5F7;border-radius:12px;padding:12px 14px}
.gd-sug-h{display:flex;align-items:center;gap:8px;font-size:13.5px;color:#163BA8}.gd-sug-h svg{width:16px;height:16px}
.gd-sug p{margin:8px 0 0;font-size:14.5px;line-height:1.5;color:#253046}
.gd-l{font-weight:600;font-size:14px;margin-top:4px}
.gd-card textarea{font:15px/1.5 inherit;border:1px solid #D7DDE6;border-radius:10px;padding:10px 12px;resize:vertical;width:100%;box-sizing:border-box}
.gd-card textarea:focus{outline:2px solid #1F4FD8;outline-offset:1px;border-color:transparent}
.gd-acts-h{display:flex;gap:10px;align-items:baseline;margin-top:6px;font-size:14px}
.gd-acts{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}
.gd-act{display:flex;flex-direction:column;gap:2px;text-align:left;border:1.5px solid #E3E7EE;background:#fff;border-radius:12px;padding:10px 12px;font:inherit;cursor:pointer}
.gd-act b{font-size:14px}.gd-act small{font-size:12.5px;color:#6B7280;line-height:1.35}
.gd-act.on{border-color:#1F4FD8;background:#F2F5FD}.gd-act.on b::before{content:'✓ ';color:#1F4FD8}
.gd-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.gd-f{display:flex;flex-direction:column;gap:6px}.gd-f label{display:flex;gap:6px;align-items:center;font-weight:600;font-size:14px}.gd-f label svg{width:16px;height:16px}
.gd-res{border-top:1px solid #EEF0F3;padding-top:12px;display:flex;flex-direction:column;gap:8px}
.gd-res-b{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.gd-link{display:flex;gap:6px;flex:1;min-width:240px}.gd-link input{flex:1;height:34px;border:1px solid #D7DDE6;border-radius:8px;padding:0 10px;font:14px inherit;min-width:0}
.gd-files{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.gd-files li{display:flex;gap:8px;align-items:center;font-size:14px;padding:6px 10px;background:#F7F8FA;border-radius:8px}.gd-files li svg{width:16px;height:16px;color:#5B6474;flex:none}.gd-files li span,.gd-files li a{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gd-foot{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.gd-alt{display:flex;gap:18px;flex-wrap:wrap;justify-content:flex-end;font-size:14px}
.gd-wait p{display:flex;gap:8px;align-items:center}.gd-wait svg{animation:fmspin 1.2s linear infinite}
.m-skip{margin:2px 0 2px auto;font-size:12.5px;color:#9AA3B2;text-align:right}
@media (max-width:760px){.gd-two{grid-template-columns:1fr}.gd-card{padding:16px}}
html.calm .gd-h,.gd-h{display:block!important}.gd-h .sy-k{margin:0}

/* v2.30: main content planner */
.mc{display:flex;flex-direction:column;gap:12px}
.mc-q{display:flex;flex-direction:column;gap:2px;font-size:14.5px}
.mc-types{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px}
.mc-type{display:flex;flex-direction:column;gap:3px;text-align:left;border:1.5px solid #E3E7EE;background:#fff;border-radius:12px;padding:10px 12px;font:inherit;cursor:pointer}
.mc-type b{font-size:14.5px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.mc-type small{font-size:12.5px;color:#5B6474}.mc-type em{font-style:normal;font-size:12px;color:#8A93A3}
.mc-type.on{border-color:#1F4FD8;background:#F2F5FD}
.mc-sg{font-size:11px;font-weight:600;color:#163BA8;background:#DDE5F7;border-radius:999px;padding:1px 8px}
.mc-bar{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:14px;color:#374151;border-top:1px solid #EEF0F3;padding-top:12px}
.mc-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.mc-ch{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;border:1px solid #E3E7EE;border-radius:14px;padding:14px;background:#fff}
.mc-n{width:30px;height:30px;border-radius:50%;background:#0B1F4B;color:#fff;display:grid;place-items:center;font-weight:700;font-size:14px}
.mc-b{display:flex;flex-direction:column;gap:8px;min-width:0}
.mc-b h4{margin:2px 0 0;font-size:16px}.mc-b>p{margin:-4px 0 0;font-size:13.5px}
.mc-sug{display:flex;gap:8px;align-items:flex-start;background:#F5F7FC;border:1px solid #DDE5F7;border-radius:10px;padding:8px 10px;font-size:13.5px;line-height:1.45;color:#253046}
.mc-sug svg{width:15px;height:15px;color:#1F4FD8;flex:none;margin-top:2px}.mc-sug span{flex:1}
.mc-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13.5px}
.mc-row label{display:flex;gap:6px;align-items:center;font-weight:600}.mc-row label svg{width:15px;height:15px;color:#5B6474}
.mc-row select{height:32px;border:1px solid #D7DDE6;border-radius:8px;padding:0 8px;font:13.5px inherit;background:#fff}
.mc-why{color:#6B7280;font-size:12.5px}
.mc-pics{margin-top:4px}
/* v2.30: video script */
.vs{border:1px solid #E3E7EE;border-radius:12px;background:#FAFBFD;padding:10px 12px;display:flex;flex-direction:column;gap:8px}
.vs-h{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:14px}.vs-h b{display:flex;gap:6px;align-items:center}.vs-h b svg{width:16px;height:16px}
.vs-t{display:flex;flex-direction:column;gap:6px;overflow-x:auto}
.vs-r{display:grid;grid-template-columns:40px minmax(150px,1.2fr) minmax(150px,1.2fr) minmax(110px,.8fr) 64px 64px;gap:6px;align-items:start;min-width:600px}
.vs-hd{font-size:12px;font-weight:600;color:#6B7280}
.vs-r textarea,.vs-r input{font:13px/1.4 inherit;border:1px solid #D7DDE6;border-radius:8px;padding:6px 8px;width:100%;box-sizing:border-box;background:#fff;resize:vertical}
.vs-r.warn textarea,.vs-r.warn input{border-color:#E8B54A}
.vs-n{display:flex;flex-direction:column;gap:1px;padding-top:4px}.vs-n small{font-size:11px;color:#8A93A3}
.vs-tools{display:flex;gap:2px}
.vs-f{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.vs-issues{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:13px;color:#8A4B00}
.vs-issues li{display:flex;gap:6px;align-items:flex-start}.vs-issues svg{width:14px;height:14px;flex:none;margin-top:2px}
.vs-ok{margin:0;display:flex;gap:6px;align-items:center;font-size:13px;color:#1E7B4F}.vs-ok svg{width:14px;height:14px}
.vs-empty{margin:0;font-size:13px}

/* v2.30.1: scene editor. Left: scenes and what can be added. Top: arrange. Middle: the canvas and its narration. Right: the element. */
body.cvx-on{overflow:hidden}
body.cvx-on .modal-wrap,body.pge-on .modal-wrap{z-index:2100}body.cvx-on .toast,body.pge-on .toast{z-index:2200}
.cvx{position:fixed;inset:0;z-index:2000;background:#E9EDF3;display:flex;flex-direction:column;font-size:14px;color:#121826}
.cvx-h{height:52px;flex:none;display:flex;align-items:center;gap:10px;padding:0 14px;background:#fff;border-bottom:1px solid #E3E7EE}
.cvx-h>b{display:flex;gap:8px;align-items:center;font-size:15px}.cvx-h>b svg{width:18px;height:18px}
.cvx-h .muted{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.cvx-top{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;padding:6px 14px;background:#fff;border-bottom:1px solid #E3E7EE}
.cvx-tg{display:flex;align-items:center;gap:2px}
.cvx-tg+.cvx-tg{padding-left:14px;border-left:1px solid #EEF0F3}
.cvx-tl{font-size:12px;font-weight:600;color:#5B6474;margin-right:6px}
.cvx-top .b.on{background:#E8EEFC;color:#1F4FD8}
.cvx-top .b:disabled{opacity:.35}
.cvx-num{display:flex;align-items:center;gap:3px;font-size:12px;font-weight:600;color:#5B6474;margin-right:4px}
.cvx-num input{width:54px;font:13px inherit;border:1px solid #D7DDE6;border-radius:7px;padding:4px 6px}
.cvx-colb{display:flex;gap:4px;align-items:center}
.cvx-dot{display:block;width:18px;height:18px;border-radius:50%;box-shadow:0 0 0 1px #D7DDE6}
.cvx-b{flex:1;min-height:0;display:grid;grid-template-columns:236px minmax(0,1fr) 312px}
.cvx-left,.cvx-side{background:#fff;overflow:auto;min-height:0}
.cvx-left{border-right:1px solid #E3E7EE}.cvx-side{border-left:1px solid #E3E7EE}
.cvx-fold{border-bottom:1px solid #EEF0F3}
.cvx-fold>summary{list-style:none;display:flex;align-items:center;gap:8px;padding:11px 14px;font-weight:700;font-size:13.5px;cursor:pointer;user-select:none}
.cvx-fold>summary::-webkit-details-marker{display:none}
.cvx-fold>summary::after{content:"";margin-left:auto;width:7px;height:7px;border-right:2px solid #8A93A3;border-bottom:2px solid #8A93A3;rotate:-45deg;transition:rotate .15s}
.cvx-fold[open]>summary::after{rotate:45deg}
.cvx-fold>summary svg{width:16px;height:16px;color:#5B6474;flex:none}
.cvx-fold>summary small{font-weight:500;color:#6B7280}
.cvx-fold-b{padding:2px 14px 14px;display:flex;flex-direction:column;gap:12px}
.cvx-strip{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;max-height:44vh;overflow:auto}
.cvx-th{position:relative;display:grid;grid-template-columns:18px 1fr;gap:6px;cursor:pointer;border-radius:10px;padding:5px;border:2px solid transparent}
.cvx-th.on{border-color:#1F4FD8;background:#F2F5FD}.cvx-th.drop{border-style:dashed;border-color:#1F4FD8}
.cvx-thn{font-size:12px;font-weight:600;color:#5B6474;padding-top:2px}
.cvx-thv{pointer-events:none;border-radius:6px;overflow:hidden;background:#0E2A47;min-height:40px;--on-stage:#EAF2FB;--stage:#0E2A47;--stage-muted:#9FB3C8;--hl:#F5B544;--brand:#5B8CFF}
.cvx-thv .xcv{border-radius:0}
.cvx-thm{position:absolute;right:6px;top:6px;display:flex;gap:2px}.cvx-thm button{width:24px;height:24px;border:0;border-radius:6px;background:rgba(255,255,255,.92);display:grid;place-items:center;cursor:pointer}.cvx-thm svg{width:13px;height:13px}
.cvx-lib{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;aspect-ratio:16/9;color:#C9D5F3;font-size:11px;text-align:center;padding:6px}.cvx-lib svg{width:18px;height:18px}
.cvx-grp{border:1px solid #E3E7EE;border-radius:10px;overflow:hidden}
.cvx-grp+.cvx-grp{margin-top:-6px}
.cvx-grp>summary{list-style:none;display:flex;align-items:center;gap:9px;padding:9px 10px;cursor:pointer;font-weight:600;font-size:13.5px}
.cvx-grp>summary::-webkit-details-marker{display:none}
.cvx-grp>summary svg{width:17px;height:17px;color:#1F4FD8;flex:none}
.cvx-grp>summary small{margin-left:auto;font-weight:500;color:#8A93A3;font-size:12px}
.cvx-grp[open]>summary{background:#F2F5FD}
.cvx-lis{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px}
.cvx-lis.many{max-height:300px;overflow:auto}
.cvx-li{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:64px;padding:8px 4px;border:1px solid #E3E7EE;border-radius:8px;background:#fff;font:12px/1.2 inherit;text-align:center;cursor:pointer;color:#121826}
.cvx-li:hover{border-color:#1F4FD8;background:#F7F9FE}
.cvx-li svg{width:20px;height:20px;color:#3A4558}
.cvx-main{min-width:0;min-height:0;display:flex;flex-direction:column}
.cvx-stage-wrap{flex:1;min-height:220px;display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto}
.cvx-stage{position:relative;background:#0E2A47;border-radius:14px;padding:14px;box-sizing:content-box;--on-stage:#EAF2FB;--stage:#0E2A47;--stage-muted:#9FB3C8;--hl:#F5B544;--brand:#5B8CFF;--f-mono:ui-monospace,monospace}
.cvx-stage .xcv{outline:1px dashed rgba(255,255,255,.25);user-select:none;touch-action:none;overflow:visible}
.cvx-stage .xcv-el{cursor:move}
.cvx-stage .xcv-el:hover{outline:1px solid rgba(255,255,255,.45)}
.cvx-sel{position:absolute;outline:2px solid #5B8CFF;pointer-events:none;z-index:999}
.cvx-selk{position:absolute;left:-2px;bottom:100%;margin-bottom:4px;background:#5B8CFF;color:#fff;font-size:11px;font-weight:600;padding:1px 6px;border-radius:4px;white-space:nowrap}
.cvx-sel i{position:absolute;width:12px;height:12px;background:#fff;border:2px solid #5B8CFF;border-radius:3px;pointer-events:auto;box-sizing:border-box}
.cvx-sel .h-nw{left:-7px;top:-7px;cursor:nwse-resize}.cvx-sel .h-ne{right:-7px;top:-7px;cursor:nesw-resize}.cvx-sel .h-sw{left:-7px;bottom:-7px;cursor:nesw-resize}.cvx-sel .h-se{right:-7px;bottom:-7px;cursor:nwse-resize}
.cvx-sel .h-n{left:calc(50% - 6px);top:-7px;cursor:ns-resize}.cvx-sel .h-s{left:calc(50% - 6px);bottom:-7px;cursor:ns-resize}.cvx-sel .h-e{right:-7px;top:calc(50% - 6px);cursor:ew-resize}.cvx-sel .h-w{left:-7px;top:calc(50% - 6px);cursor:ew-resize}
.cvx-guides-in{position:absolute;inset:0;pointer-events:none;z-index:998}.cvx-guides-in .gx{position:absolute;top:0;bottom:0;width:0;border-left:1px dashed #FF5FA2}.cvx-guides-in .gy{position:absolute;left:0;right:0;height:0;border-top:1px dashed #FF5FA2}
.cvx-stage [contenteditable="true"]{outline:none;cursor:text;background:rgba(91,140,255,.18);user-select:text}
.cvx-bub{position:absolute;z-index:1000;display:flex;gap:8px;align-items:flex-start;background:#fff;border-radius:10px;padding:8px 10px;box-shadow:0 12px 28px -10px rgba(0,0,0,.5),0 0 0 2px #5B8CFF}
.cvx-bubi{color:#1F4FD8;padding-top:3px}.cvx-bubi svg{width:16px;height:16px}
.cvx-bub textarea{flex:1;border:0;outline:0;resize:none;font:14.5px/1.45 inherit;color:#121826;padding:0;min-height:22px;background:none}
.cvx-conv{background:#fff;border:1px solid #E3E7EE;border-radius:14px;padding:28px;display:flex;flex-direction:column;gap:10px;max-width:640px;margin:24px auto}
.cvx-conv h3{margin:0;font-size:18px}.cvx-conv-b{display:flex;gap:10px;flex-wrap:wrap}
.cvx-narr{flex:none;background:#fff;border-top:1px solid #E3E7EE;border-bottom:0}
.cvx-narr[open]{max-height:40%;display:flex;flex-direction:column}
.cvx-narr>.cvx-fold-b{overflow:auto;min-height:0}
.cvx-narr>summary small{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cvx-narr textarea#cvxcap{font:15px/1.45 inherit;border:1px solid #D7DDE6;border-radius:8px;padding:8px 10px}
.cvx-nl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.cvx-nl li{display:grid;grid-template-columns:24px 170px minmax(0,1fr) auto;gap:8px;align-items:start;padding:6px;border-radius:10px;border:1px solid transparent}
.cvx-nl li.on{border-color:#C9D6F7;background:#F5F8FE}
.cvx-nn{width:22px;height:22px;margin-top:6px;border-radius:50%;background:#0B1F4B;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:700}
.cvx-nk{display:flex;gap:6px;align-items:center;min-width:0;margin-top:2px;padding:6px 8px;border:1px solid #E3E7EE;border-radius:8px;background:#fff;font:12.5px inherit;font-weight:600;cursor:pointer;text-align:left;color:#121826}
.cvx-nk:hover{border-color:#1F4FD8}
.cvx-nk svg{width:14px;height:14px;flex:none;color:#5B6474}.cvx-nk span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cvx-nl textarea{width:100%;box-sizing:border-box;font:14.5px/1.45 inherit;border:1px solid #D7DDE6;border-radius:8px;padding:7px 10px;resize:none;overflow:hidden;min-height:36px}
.cvx-nl textarea:focus{border-color:#1F4FD8;outline:2px solid #C9D6F7}
.cvx-nt{display:flex;gap:2px;margin-top:2px}
.cvx-capf{background:#0E2A47;color:#EAF2FB;border-radius:10px;padding:10px 14px;display:flex;flex-direction:column;gap:6px}
.cvx-capf b{font-size:13px}.cvx-capf .muted{color:#9FB3C8;font-size:12.5px}
.cvx-capf p{margin:0;font-size:15px;line-height:1.5}
.cvx-side .cvx-fold-b textarea#cvxsay{font:15px/1.5 inherit;border:1px solid #D7DDE6;border-radius:8px;padding:9px 11px;resize:none;overflow:hidden;min-height:96px}
.cvx-side .cvx-fold-b textarea#cvxsay:focus{border-color:#1F4FD8;outline:2px solid #C9D6F7}
.cvx-f{display:flex;flex-direction:column;gap:6px}.cvx-f label,.cvx-f .lb{font-weight:600;font-size:13px}
.cvx-f textarea,.cvx-f input[type=text],.cvx-f input[type=search],.cvx-f select{font:14px inherit;border:1px solid #D7DDE6;border-radius:8px;padding:7px 9px}
.cvx-2{flex-direction:row;align-items:center;gap:14px;justify-content:space-between}.cvx-2 .chk{display:flex;gap:6px;align-items:center}
.cvx-seg{display:flex;border:1px solid #D7DDE6;border-radius:8px;overflow:hidden}.cvx-seg.wrap{flex-wrap:wrap}
.cvx-seg button{flex:1;border:0;background:#fff;padding:6px 8px;font:13px inherit;cursor:pointer;display:grid;place-items:center}.cvx-seg button+button{border-left:1px solid #D7DDE6}
.cvx-seg button.on{background:#1F4FD8;color:#fff}.cvx-seg svg{width:15px;height:15px}
.cvx-sw{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.cvx-sw button,.cvx-cust{width:26px;height:26px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #D7DDE6;cursor:pointer;box-sizing:border-box;padding:0}
.cvx-sw button.on,.cvx-cust.on{box-shadow:0 0 0 2px #1F4FD8}
.cvx-cust{position:relative;background:conic-gradient(#E04848,#F5B544,#38A848,#14808F,#5B8CFF,#B8457A,#E04848);overflow:hidden}
.cvx-cust input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.sw-ink{background:#EAF2FB}.sw-muted{background:#9FB3C8}.sw-hl{background:#F5B544}.sw-brand{background:#5B8CFF}.sw-white{background:#fff}.sw-dark{background:#0E2A47}
.sw-none{background:linear-gradient(135deg,#fff 45%,#E04848 45% 55%,#fff 55%)}
.cvx-pop{position:absolute;top:calc(100% + 6px);left:0;z-index:5;background:#fff;border:1px solid #E3E7EE;border-radius:10px;box-shadow:0 10px 24px -12px rgba(0,0,0,.3);display:flex;flex-direction:column;gap:6px;padding:10px;min-width:220px}
.cvx-pop small{font-weight:600;color:#5B6474}
.cvx-menu{position:relative}
.cvx-icons{display:grid;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:4px;max-height:200px;overflow:auto}
.cvx-icons button{height:34px;border:1px solid #EEF0F3;background:#fff;border-radius:8px;display:grid;place-items:center;cursor:pointer}.cvx-icons button:hover{border-color:#1F4FD8}.cvx-icons svg{width:18px;height:18px}
.cvx-vf{display:flex;flex-direction:column;gap:10px}
.cvx-tip{margin:12px 14px;font-size:13px;color:#5B6474;display:flex;gap:6px;align-items:flex-start;line-height:1.45}.cvx-tip svg{width:15px;height:15px;flex:none;margin-top:2px}
.cvx-playing{display:flex;flex-direction:column;gap:10px}
.cvx-playing .xcv{outline:0}
.cvx-cap{margin:0;color:#EAF2FB;text-align:center;font-size:14px;line-height:1.4;max-width:100%}
.cvx-prog{display:block;height:3px;background:#F5B544;border-radius:3px;transform-origin:left;animation:cvxProg linear both}
.cvx-stop{align-self:center}
@keyframes cvxProg{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.cvx-card{display:grid;grid-template-columns:120px 1fr;gap:12px;align-items:center;padding:8px 0}
.cvx-card>div:last-child{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.cvx-card small{font-size:12.5px}
.cvx-mini{border-radius:8px;overflow:hidden;background:#0E2A47;pointer-events:none;--on-stage:#EAF2FB;--stage:#0E2A47;--stage-muted:#9FB3C8;--hl:#F5B544;--brand:#5B8CFF}
.cvx-conv-l{margin:8px 0 0}.cvx-conv-l .link{display:inline-flex;gap:6px;align-items:center;font-size:13.5px}.cvx-conv-l svg{width:15px;height:15px}
@media (max-width:1100px){.cvx-b{grid-template-columns:200px minmax(0,1fr) 270px}.cvx-nl li{grid-template-columns:24px 120px minmax(0,1fr) auto}}
@media (max-width:860px){.cvx-b{grid-template-columns:minmax(0,1fr);overflow:auto}.cvx-left,.cvx-side{border:0;border-bottom:1px solid #E3E7EE;max-height:none}.cvx-nl li{grid-template-columns:24px minmax(0,1fr)}.cvx-nl li textarea{grid-column:1/-1}.cvx-nt{grid-column:1/-1}}
/* the designed scene's own drawing rules, for the editor (the player has the same in player.css) */
.cvx .xcv-wrap,.cvx-card .xcv-wrap{display:flex;justify-content:center;align-items:center;width:100%}
.cvx .xcv,.cvx-card .xcv{position:relative;width:100%;container-type:inline-size;overflow:hidden;border-radius:10px}
.cvx .xcv-el,.cvx-card .xcv-el{position:absolute;box-sizing:border-box;display:flex;align-items:center}
.cvx .xcv-text,.cvx-card .xcv-text{line-height:1.25;overflow-wrap:anywhere;align-items:flex-start}.cvx .xcv-text>span,.cvx-card .xcv-text>span{display:block;width:100%}.cvx .xcv-text p,.cvx-card .xcv-text p{margin:0}
.cvx .xcv-text ul,.cvx-card .xcv-text ul,.cvx .xcv-text ol,.cvx-card .xcv-text ol{margin:0;padding-left:1.4em;width:100%;display:flex;flex-direction:column;gap:.45em}
.cvx .xcv-text blockquote,.cvx-card .xcv-text blockquote{margin:0;padding-left:.8em;border-left:.25em solid var(--hl);font-style:italic;width:100%}
.cvx .xcv-t-label>span,.cvx-card .xcv-t-label>span{display:inline-block;width:auto}
.cvx .xcv-image img,.cvx-card .xcv-image img,.cvx .xcv-video video,.cvx-card .xcv-video video{width:100%;height:100%;display:block}
.cvx .xcv-ph,.cvx-card .xcv-ph{width:100%;height:100%;display:grid;place-items:center;border:2px dashed var(--stage-muted);border-radius:1.5cqw;color:var(--stage-muted)}.cvx .xcv-ph svg,.cvx-card .xcv-ph svg{width:22%;height:auto;max-height:60%}
.cvx .xcv-icon,.cvx-card .xcv-icon{justify-content:center}.cvx .xcv-icon svg,.cvx-card .xcv-icon svg{width:70%;height:70%}
.cvx .xcv-arrow,.cvx-card .xcv-arrow,.cvx .xcv-shape,.cvx-card .xcv-shape{align-items:center}
.cvx .xcv-shaft,.cvx-card .xcv-shaft{position:absolute;left:0;right:1.2cqw;top:50%;translate:0 -50%}
.cvx .xcv-head,.cvx-card .xcv-head{position:absolute;right:0.4cqw;top:50%;width:2.6cqw;height:2.6cqw;border-style:solid;rotate:45deg;translate:0 -50%;box-sizing:border-box}
.cvx .xcv-vis,.cvx-card .xcv-vis{align-items:flex-start;overflow:hidden}.cvx .xcv-vin,.cvx-card .xcv-vin{transform-origin:0 0;flex:none}
.cvx .xcv-model model-viewer,.cvx-card .xcv-model model-viewer{width:100%;height:100%}
.cvx .xcv-ph,.cvx-card .xcv-ph{--stage-muted:#9FB3C8}
.cvx-playing .xcv-el{--an1:xcvRise;--an2:none;--an3:none}
.cvx-playing .xcv-el[style*="--d"]{animation:var(--an1) .6s cubic-bezier(.2,.8,.2,1) var(--d) both,var(--an2) 1.1s ease-in-out calc(var(--d) + .75s) 1 none,var(--an3) .5s ease-in var(--x,9999s) 1 forwards}
.cvx-playing .xcv-el.xcv-fx-fade{--an1:xcvFade}.cvx-playing .xcv-el.xcv-fx-pop{--an1:xcvPop}.cvx-playing .xcv-el.xcv-fx-left{--an1:xcvLeft}.cvx-playing .xcv-el.xcv-fx-right{--an1:xcvRight}.cvx-playing .xcv-el.xcv-fx-zoom{--an1:xcvZoom}.cvx-playing .xcv-el.xcv-fx-draw{--an1:xcvDraw}.cvx-playing .xcv-el.xcv-fx-none{--an1:xcvNone}
.cvx-playing .xcv-el.xcv-em-pulse{--an2:xcvPulse}.cvx-playing .xcv-el.xcv-em-grow{--an2:xcvGrow}.cvx-playing .xcv-el.xcv-em-glow{--an2:xcvGlow}.cvx-playing .xcv-el.xcv-em-shake{--an2:xcvShake}.cvx-playing .xcv-el.xcv-em-bounce{--an2:xcvBounce}
.cvx-playing .xcv-el.xcv-ex-fade{--an3:xcvOutFade}.cvx-playing .xcv-el.xcv-ex-shrink{--an3:xcvOutShrink}.cvx-playing .xcv-el.xcv-ex-left{--an3:xcvOutLeft}.cvx-playing .xcv-el.xcv-ex-down{--an3:xcvOutDown}
@keyframes xcvRise{from{opacity:0;translate:0 12%}to{opacity:1;translate:0 0}}
@keyframes xcvFade{from{opacity:0}to{opacity:1}}
@keyframes xcvNone{from{opacity:1}to{opacity:1}}
@keyframes xcvPop{0%{opacity:0;scale:.6}70%{opacity:1;scale:1.06}100%{opacity:1;scale:1}}
@keyframes xcvZoom{from{opacity:0;scale:1.25}to{opacity:1;scale:1}}
@keyframes xcvLeft{from{opacity:0;translate:-14% 0}to{opacity:1;translate:0 0}}
@keyframes xcvRight{from{opacity:0;translate:14% 0}to{opacity:1;translate:0 0}}
@keyframes xcvDraw{from{clip-path:inset(-20% 100% -20% 0)}to{clip-path:inset(-20% 0 -20% 0)}}
@keyframes xcvPulse{0%,100%{scale:1}50%{scale:1.07}}
@keyframes xcvGrow{0%,100%{scale:1}40%,60%{scale:1.15}}
@keyframes xcvGlow{0%,100%{filter:none}50%{filter:drop-shadow(0 0 1.2cqw var(--hl))}}
@keyframes xcvShake{0%,100%{translate:0 0}20%,60%{translate:-2% 0}40%,80%{translate:2% 0}}
@keyframes xcvBounce{0%,100%{translate:0 0}30%{translate:0 -10%}60%{translate:0 0}75%{translate:0 -4%}}
@keyframes xcvOutFade{to{opacity:0}}
@keyframes xcvOutShrink{to{opacity:0;scale:.6}}
@keyframes xcvOutLeft{to{opacity:0;translate:-20% 0}}
@keyframes xcvOutDown{to{opacity:0;translate:0 20%}}
@media (prefers-reduced-motion:reduce){.cvx-playing .xcv-el{animation-duration:.01s!important}}
.vs-fld .vs-h>b{display:none}.vs-r{grid-template-columns:40px minmax(150px,1.2fr) minmax(150px,1.2fr) minmax(110px,.8fr) 72px 64px}

/* v2.31: Simple mode's four activities */
html.calm .add4{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
html.calm .add4-t{display:flex;gap:16px;align-items:center;padding:14px;border-radius:16px;background:#fff;border:0;text-align:left;font:inherit;color:var(--ink);cursor:pointer}
html.calm .add4-t:hover,html.calm .add4-t:focus-visible{box-shadow:0 0 0 2px var(--blue)}
html.calm .add4-t .sk{flex:0 0 132px;height:88px}
html.calm .add4-x{display:flex;flex-direction:column;gap:4px}
html.calm .add4-x b{font-size:17px;font-weight:650}
html.calm .add4-x span{font-size:14px;color:var(--muted);line-height:1.45}
html.calm .sk.mk-pic{flex-direction:column}
html.calm .sk.mk-pic .sun{border-radius:6px;width:44px;height:26px;background:#CBD8F6}
@media (max-width:720px){html.calm .add4{grid-template-columns:minmax(0,1fr)}html.calm .add4-t .sk{flex-basis:100px;height:72px}}
body.cvx-on .rec-wrap,body.pge-on .rec-wrap{z-index:2150}
.pgf{display:flex;flex-direction:column;gap:10px;align-items:flex-start}

/* v2.31: the page editor */
body.pge-on{overflow:hidden}
.pge{position:fixed;inset:0;z-index:2000;background:#EEF1F5;display:flex;flex-direction:column;color:#0F2338;font-size:14px}
.pge-h{height:52px;flex:none;display:flex;align-items:center;gap:10px;padding:0 16px;background:#fff;border-bottom:1px solid #E3E7EE}
.pge-h>b{display:flex;gap:8px;align-items:center;font-size:15px}.pge-h>b svg{width:18px;height:18px}
.pge-h .muted{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.pge-bar{flex:none;min-height:50px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:7px 16px;background:#fff;border-bottom:1px solid #E3E7EE;position:relative}
.pge-g{display:flex;align-items:center;gap:2px}
.pge-g+.pge-g{padding-left:12px;border-left:1px solid #EEF0F3}
.pge-hint{display:flex;gap:8px;align-items:center;color:#5B6474;font-size:14px}.pge-hint svg{width:16px;height:16px}
.pge-tb{width:36px;height:36px;border:0;border-radius:8px;background:transparent;display:grid;place-items:center;color:#2B3445;cursor:pointer}
.pge-tb:hover{background:#F0F3F8}.pge-tb.on{background:#E3EAFB;color:#1F4FD8}
.pge-tb svg{width:18px;height:18px}
.pge-sel{font:14px inherit;border:1px solid #D7DDE6;border-radius:8px;padding:6px 8px;background:#fff;min-height:36px}
.pge-l{font-size:12px;font-weight:600;color:#5B6474;margin-right:6px}
.pge-segs{display:flex;border:1px solid #D7DDE6;border-radius:8px;overflow:hidden}
.pge-seg{border:0;background:#fff;padding:7px 11px;font:600 13px inherit;cursor:pointer;min-height:34px}.pge-seg+.pge-seg{border-left:1px solid #D7DDE6}
.pge-seg.on{background:#1F4FD8;color:#fff}
.pge-alt{gap:8px}.pge-alt label{font-size:12px;font-weight:600;color:#5B6474;white-space:nowrap}
.pge-alt input{font:14px inherit;border:1px solid #D7DDE6;border-radius:8px;padding:6px 9px;width:min(280px,46vw)}
.pge-link{position:absolute;left:16px;top:calc(100% + 6px);z-index:5;display:flex;gap:8px;align-items:center;background:#fff;border:1px solid #D7DDE6;border-radius:12px;box-shadow:0 12px 30px -14px rgba(0,0,0,.35);padding:8px}
.pge-link[hidden]{display:none}
.pge-link input{font:14px inherit;border:1px solid #D7DDE6;border-radius:8px;padding:7px 9px;width:min(320px,60vw)}
.pge-scroll{flex:1;min-height:0;overflow:auto;padding:28px 16px 80px}
.pge-page.pgb{max-width:760px;margin:0 auto;background:#fff;border-radius:18px;box-shadow:0 1px 2px rgba(15,35,56,.06),0 10px 30px -18px rgba(15,35,56,.25);padding:36px 56px 28px;gap:2px;--ink:#0F2338;--muted:#56677D;--brand:#1F4FD8;--surface:#fff;--line:#D3DDE9}
.pge-b{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);gap:4px;margin:0 -28px 0 -36px;padding:6px 28px 6px 4px;border-radius:12px}
.pge-b:hover{background:#F7F9FC}.pge-b.on{background:#F3F6FD;box-shadow:inset 0 0 0 1.5px #C9D6F7}
.pge-b.drag{opacity:.4}
.pge-side{display:flex;align-items:flex-start;padding-top:4px}
.pge-grip{width:24px;height:28px;border:0;background:transparent;border-radius:6px;color:#9AA4B2;cursor:grab;display:grid;place-items:center;opacity:0}
.pge-b:hover .pge-grip,.pge-b.on .pge-grip,.pge-grip:focus-visible{opacity:1}.pge-grip svg{width:16px;height:16px}
.pge-body{min-width:0}
.pge-tools{position:absolute;right:6px;top:-16px;display:none;gap:2px;background:#fff;border:1px solid #E3E7EE;border-radius:10px;padding:2px;box-shadow:0 6px 16px -10px rgba(0,0,0,.3);z-index:2}
.pge-b.on .pge-tools,.pge-b:hover .pge-tools,.pge-b:focus-within .pge-tools{display:flex}
.pge-tools button{width:30px;height:30px;border:0;background:transparent;border-radius:7px;display:grid;place-items:center;cursor:pointer;color:#2B3445}
.pge-tools button:hover{background:#F0F3F8}.pge-tools button:disabled{opacity:.3}
.pge-tools svg{width:15px;height:15px}
.pge [contenteditable]{outline:none;min-height:1.4em;border-radius:6px;cursor:text}
.pge [contenteditable]:focus{box-shadow:0 0 0 2px #C9D6F7}
.pge [contenteditable]:empty::before{content:attr(data-ph);color:#9AA4B2;pointer-events:none}
.pge .pgb-h{margin:0}
.pge .pgb-text:empty::before{display:block}
.pge figcaption[contenteditable]{min-height:1.3em}
.pge .pgb-fig{margin:4px 0}
.pge-mw{position:relative}
.pge-mw img,.pge-mw video{display:block;width:100%;border-radius:14px}
.pge-mw img.rd{border-radius:50%;aspect-ratio:1;object-fit:cover}
.pge-rz{position:absolute;right:-7px;bottom:-7px;width:18px;height:18px;border-radius:50%;background:#fff;border:3px solid #1F4FD8;cursor:nwse-resize;display:none;box-sizing:border-box}
.pge-b.on .pge-rz,.pge-b:hover .pge-rz{display:block}
.pge .pgb-fig.al-right .pge-rz{right:auto;left:-7px;cursor:nesw-resize}
.pge-empty{all:unset;box-sizing:border-box;width:100%;min-height:170px;border:2px dashed #C3CDDA;border-radius:14px;background:#F8FAFC;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;color:#2B3445;text-align:center;padding:18px}
.pge-empty:hover,.pge-empty:focus-visible{border-color:#1F4FD8;background:#F3F6FD}
.pge-empty svg{width:28px;height:28px;color:#1F4FD8}.pge-empty b{font-size:15px}.pge-empty span{font-size:13px;color:#5B6474}
.pge-ins{position:relative;height:14px;margin:0 -12px}
.pge-insb{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:26px;height:26px;border-radius:50%;border:1px solid #D7DDE6;background:#fff;display:grid;place-items:center;cursor:pointer;opacity:0;color:#1F4FD8;z-index:3}
.pge-insb svg{width:15px;height:15px}
.pge-ins:hover .pge-insb,.pge-insb:focus-visible,.pge-ins:has(.pge-insm:not([hidden])) .pge-insb{opacity:1}
.pge-ins:hover::before,.pge-ins.drop::before{content:"";position:absolute;left:12px;right:12px;top:50%;border-top:2px solid #C9D6F7}
.pge-ins.drop::before{border-color:#1F4FD8}
.pge-insm{position:absolute;left:50%;top:calc(50% + 18px);transform:translateX(-50%);z-index:6;display:flex;gap:4px;background:#fff;border:1px solid #E3E7EE;border-radius:12px;box-shadow:0 12px 30px -14px rgba(0,0,0,.35);padding:6px}
.pge-insm[hidden]{display:none}
.pge-insm button{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:72px;padding:8px 6px;border:0;background:transparent;border-radius:8px;font:600 12px inherit;cursor:pointer;color:#2B3445}
.pge-insm button:hover,.pge-insm button:focus-visible{background:#F0F3F8}.pge-insm svg{width:18px;height:18px;color:#1F4FD8}
.pge-addrow{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:18px;padding-top:16px;border-top:1px dashed #E3E7EE}
.pge-addrow>span{font-size:13px;font-weight:600;color:#5B6474;margin-right:4px}
.pge-src{display:flex;flex-direction:column;gap:10px;min-width:min(420px,80vw)}
.pge-src .b{justify-content:flex-start}
/* the learner look, inside the editor (the player has the same in player.css) */
.pgb{display:flex;flex-direction:column}
.pgb-h{color:var(--ink);line-height:1.2;letter-spacing:-.01em}.pgb-h.l2{font-size:28px;font-weight:800}.pgb-h.l3{font-size:21px;font-weight:700}
.pgb .al-center{text-align:center}.pgb .al-right{text-align:right}
.pgb-text{font-size:17px;line-height:1.65;color:var(--ink)}.pgb-text p{margin:0 0 .65em}.pgb-text p:last-child{margin-bottom:0}
.pgb-text ul,.pgb-text ol{margin:0 0 .65em;padding-left:1.4em}.pgb-text li{margin:.2em 0}
.pgb-text a{color:var(--brand);text-decoration:underline}
.pgb-text mark{background:rgba(245,181,68,.45);color:inherit;border-radius:3px;padding:0 2px}
.pgb-note{display:flex;gap:12px;align-items:flex-start;border-radius:14px;padding:14px 16px;background:#EEF3FD;border:1px solid #C9D6F7}
.pgb-note.tone-tip{background:#EAF5EF;border-color:#B9DEC8}.pgb-note.tone-warn{background:#FFF4E2;border-color:#F0D29C}
.pgb-note-i{flex:none;color:#1F4FD8;padding-top:3px}.pgb-note.tone-tip .pgb-note-i{color:#2E8B57}.pgb-note.tone-warn .pgb-note-i{color:#9A5B00}.pgb-note-i svg{width:20px;height:20px}
.pgb-note .pgb-text{flex:1;font-size:16px}
.pgb-fig{width:var(--w,100%);max-width:100%;display:flex;flex-direction:column;gap:6px}
.pgb-fig.al-center{margin-left:auto!important;margin-right:auto!important}.pgb-fig.al-right{margin-left:auto!important}.pgb-fig.al-full{width:100%}
.pgb-fig figcaption{font-size:14px;color:var(--muted);line-height:1.45}.pgb-fig.al-center figcaption{text-align:center}
@media (max-width:720px){.pge-page.pgb{padding:24px 18px 20px}.pge-b{margin:0 -10px 0 -14px;padding:6px 10px 6px 2px;grid-template-columns:22px minmax(0,1fr)}.pge-alt input{width:100%}}
/* v2.31: the voice of each scene, in the scene editor */
.cvx-voice{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;background:#FFF6E6;border:1px solid #F0D29C;color:#4A2E00}
.cvx-voice.ok{background:#EAF5EF;border-color:#B9DEC8;color:#1D5E3C}
.cvx-voice>svg{width:18px;height:18px;flex:none}
.cvx-vt{flex:1 1 220px;font-size:13.5px;font-weight:600}
.cvx-thn{display:flex;flex-direction:column;align-items:center;gap:4px}
.cvx-tha svg{width:12px;height:12px;color:#B26B00}.cvx-tha.ok svg{color:#2E8B57}
@media (max-width:720px){.pge-h>b{white-space:nowrap}.pge-h .muted{display:none}.pge-b:hover .pge-tools,.pge-b:focus-within .pge-tools{display:none}.pge-b.on .pge-tools{display:flex;top:4px}.pge-b.on{padding-top:42px}.pge-grip{opacity:1}}
/* v2.32: the page editor's tools pop up by the block; word colours; two columns; Improve with AI */
.pge-bar.float{position:absolute;z-index:30;min-height:0;border:1px solid #D7DDE6;border-radius:12px;box-shadow:0 14px 34px -14px rgba(15,35,56,.42);padding:5px 8px;gap:4px 8px;animation:pgePop .14s ease}
.pge-bar.idle{display:none}
@keyframes pgePop{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.pge-bar.float{animation:none}}
.pge-bar.float .pge-g+.pge-g{padding-left:8px}
.pge [data-tip]{position:relative}
.pge [data-tip]:hover::after,.pge [data-tip]:focus-visible::after{content:attr(data-tip);position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%);background:#0F2338;color:#fff;font:600 12px/1.2 inherit;padding:5px 8px;border-radius:6px;white-space:nowrap;z-index:60;pointer-events:none}
.pge-tb:disabled{opacity:.35;cursor:default}
.pge-tb2{display:flex;flex-direction:column;gap:1px;height:36px;padding-top:4px}
.pge-tb2 svg{width:16px;height:16px}
.pge-chip{display:block;width:16px;height:4px;border-radius:2px;border:1px solid #C3CDDA;background:#0F2338}
.pge-tbw{width:auto;padding:0 6px;display:flex;gap:2px}.pge-car{width:10px;height:10px}
.pge-scope{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:999px;background:#F0F3F8;color:#5B6474;font-size:11px;font-weight:700;white-space:nowrap}
.pge-scope:empty{display:none}.pge-scope.sel{background:#E3EAFB;color:#1F4FD8}
.pge-row{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-top:6px;margin-top:2px;border-top:1px solid #EEF0F3}
.pge-sw{width:26px;height:26px;border-radius:7px;border:1px solid rgba(15,35,56,.18);cursor:pointer;padding:0;flex:none}
.pge-sw:hover{box-shadow:0 0 0 2px #fff,0 0 0 4px #9DB4F0}.pge-sw:focus-visible{outline:3px solid #F5B544;outline-offset:2px}
.pge-sw.none{background:linear-gradient(135deg,#fff 45%,#C2552B 46%,#C2552B 54%,#fff 55%)!important}
.pge-sw.prev{cursor:default}.pge-sw.prev:hover{box-shadow:none}
.pge-sep{width:1px;height:22px;background:#E3E7EE;margin:0 4px}
.pge-code{width:190px;font:13px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;border:1px solid #D7DDE6;border-radius:8px;padding:6px 9px}
.pge-pill{border:1px solid #D7DDE6;background:#fff;border-radius:8px;padding:5px 12px;cursor:pointer;font:600 13px inherit;color:#0F2338;min-height:34px}
.pge-pill:hover{background:#F0F3F8}
.pge-ai{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 10px;border:0;border-radius:8px;background:#F1EDFD;color:#3E2C86;font:600 13px inherit;cursor:pointer}
.pge-ai:hover{background:#E6DEFB}.pge-ai svg{width:15px;height:15px}
.pge-aihint{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;padding:10px 12px;border-radius:12px;background:#FAF8FF;border:1px solid #E6DEFB;color:#3E2C86;font-size:13px;line-height:1.45}
.pge-aihint>span{flex:1 1 240px}.pge-aib{background:#6D4ED8!important;color:#fff!important;border-color:#6D4ED8!important}
.pge-sub{margin:6px 0 0;font-size:12px;color:#5B6474}
.pge-note2{font-size:12px;color:#5B6474}
.pge-hg{display:flex;gap:2px;padding:0 6px;margin:0 2px;border-left:1px solid #EEF0F3}
.pge-h .pge-tb svg{width:17px;height:17px}
.pge-page.pge-two{display:grid;grid-template-columns:minmax(0,var(--r,55fr)) 18px minmax(0,var(--r2,45fr));gap:0 10px;max-width:1100px;align-items:center}
.pge-page.pge-two.med-left{grid-template-columns:minmax(0,var(--r2,45fr)) 18px minmax(0,var(--r,55fr))}
.pge-page.pge-two.med-left .pge-m{order:-1}.pge-page.pge-two.med-left .pge-dv{order:0}.pge-page.pge-two.med-left .pge-c{order:1}
.pge-page.pge-two .pge-addrow{grid-column:1/-1}
.pge-c,.pge-m{min-width:0;display:flex;flex-direction:column}
.pge-m .pge-b{margin:0;padding:6px 4px}
.pge-dv{align-self:stretch;width:18px;border:0;background:transparent;cursor:col-resize;display:grid;place-items:center;padding:0;touch-action:none}
.pge-dv i{width:4px;height:64px;border-radius:4px;background:#C3CDDA}.pge-dv:hover i,.pge-dv.on i{background:#1F4FD8}
.pge-dv:focus-visible{outline:3px solid #F5B544;outline-offset:2px;border-radius:6px}
@media (max-width:760px){.pge-page.pge-two,.pge-page.pge-two.med-left{grid-template-columns:1fr}.pge-dv{display:none}}
.pge .pgb-tiles li{outline:none}
/* v2.32: the lesson parts in the outline */
.o-part{display:flex;align-items:center;gap:8px;margin:8px 0 2px;padding:2px 8px;font-size:11px;font-weight:700;letter-spacing:.02em;color:var(--pc,#1F4FD8)}
.o-part::before{content:"";width:3px;height:14px;border-radius:2px;background:var(--pc,#1F4FD8)}
.o-part span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pge-c .pge-b{margin-right:0;padding-right:6px}
.pge-dv{position:relative;z-index:3}
/* v2.32: Improve with AI, the review */
.imp{position:fixed;inset:0;z-index:2050;background:#EEF1F5;display:flex;flex-direction:column;color:#0F2338;font-size:14px}
.imp-h{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 16px;background:#fff;border-bottom:1px solid #E3E7EE}
.imp-h>b{display:flex;align-items:center;gap:8px;font-size:15px;color:#3E2C86}.imp-h>b svg{width:18px;height:18px}
.imp-steps{display:flex;align-items:center;gap:8px;font-size:13px;color:#5B6474}.imp-steps .on{color:#1F4FD8;font-weight:700}
.imp-body{flex:1;min-height:0;overflow:auto;padding:20px 16px 48px}
.imp-opts{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start;justify-content:center}
.imp-card{background:#fff;border-radius:16px;padding:20px;box-sizing:border-box;flex:1 1 300px;max-width:400px;display:flex;flex-direction:column;gap:14px;box-shadow:0 1px 2px rgba(15,35,56,.06)}
.imp-txt{flex:1 1 520px;max-width:760px}
.imp-txt textarea{min-height:52vh;font:15px/1.6 inherit;border:1px solid #D7DDE6;border-radius:12px;padding:12px 14px;resize:vertical}
.imp-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.imp .lbl{display:block;font-size:13px;font-weight:700;margin-bottom:6px}
.imp .fld{margin:0}.imp .help{font-size:12px;color:#5B6474;margin:6px 0 0;line-height:1.5}
.imp-chips{display:flex;flex-wrap:wrap;gap:6px}
.imp-chip{border:1px solid #D7DDE6;background:#fff;border-radius:8px;padding:7px 11px;font:600 13px inherit;color:#0F2338;cursor:pointer;min-height:34px}
.imp-chip:hover{background:#F0F3F8}.imp-chip.on{background:#1F4FD8;border-color:#1F4FD8;color:#fff}
.imp-go{min-height:46px;font-size:15px;background:#6D4ED8!important;border-color:#6D4ED8!important}
.imp-list{max-width:1100px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.imp-note{display:flex;gap:8px;align-items:center;margin:0;padding:10px 14px;border-radius:12px;background:#FFF4E2;color:#5A3A00}.imp-note svg{width:16px;height:16px;flex:none}
.imp-sum{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;background:#fff;border-radius:14px;padding:12px 16px}
.imp-page{background:#fff;border-radius:16px;padding:16px;display:flex;flex-wrap:wrap;gap:18px;box-shadow:0 1px 2px rgba(15,35,56,.06)}
.imp-l{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:8px}
.imp-r{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:8px}
.imp-n{width:24px;height:24px;border-radius:7px;background:#EEF3FD;color:#1F4FD8;display:grid;place-items:center;font-size:12px;font-weight:700}
.imp-prev{aspect-ratio:16/10;border:1px solid #E3E7EE;border-radius:12px;padding:18px;display:flex;gap:14px;align-items:center;box-sizing:border-box;overflow:hidden}
.imp-prev>div:first-child{flex:1 1 55%;min-width:0}.imp-prev b{display:block;font-size:17px;font-weight:800;line-height:1.25;margin-bottom:8px}
.imp-prev ul{margin:0;padding-left:1.1em;font-size:13px;line-height:1.45}
.imp-tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px;counter-reset:t}
.imp-tiles li{counter-increment:t;background:#EEF3FD;border-radius:10px;padding:34px 10px 10px;position:relative;font-size:12px;font-weight:600;line-height:1.35}
.imp-tiles li::before{content:counter(t);position:absolute;left:10px;top:8px;width:20px;height:20px;border-radius:50%;background:#1F4FD8;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:800}
.imp-tiles li:nth-child(4n+2){background:#E8F5EC}.imp-tiles li:nth-child(4n+2)::before{background:#15803D}
.imp-tiles li:nth-child(4n+3){background:#FBF0E4}.imp-tiles li:nth-child(4n+3)::before{background:#A1530B}
.imp-pic{flex:1 1 45%;align-self:stretch;border-radius:10px;background:#E6EEF8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px;text-align:center;font-size:12px;color:#3A4A5E}
.imp-pic svg{width:28px;height:28px;color:#1F4FD8}
.imp-dur{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;font-size:12px;font-weight:600;color:#1F4FD8;background:#EEF3FD;border-radius:999px;padding:5px 10px}.imp-dur svg{width:14px;height:14px}
.imp-acts{display:flex;gap:4px;justify-content:flex-end;flex-wrap:wrap}
.imp-in{font:14px/1.5 inherit;border:1px solid #D7DDE6;border-radius:10px;padding:8px 10px;width:100%;box-sizing:border-box;resize:vertical}
.imp-title{font-weight:700}
.imp-look{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.imp-look .lbl{margin:0 4px 0 0}
.imp-why{display:flex;gap:6px;align-items:center;margin:0;font-size:12px;color:#3E2C86;background:#FAF8FF;border-radius:8px;padding:6px 10px;align-self:flex-start}.imp-why svg{width:13px;height:13px}
.imp-src{margin:0;background:#F5F8FD;border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.55;color:#3A4A5E}
.imp-check{display:flex;flex-wrap:wrap;align-items:center;gap:10px;border:1px dashed #B9A8F0;background:#FAF8FF;border-radius:14px;padding:12px 16px}
.imp-check.off{border-color:#D7DDE6;background:#fff;opacity:.75}.imp-check>div{flex:1 1 300px}
.imp-ai{font-size:11px;font-weight:700;color:#6D4ED8;background:#F1EDFD;border-radius:6px;padding:2px 6px}
.imp-cwhy{display:block;font-size:12px;color:#6D4ED8;margin-top:2px}
/* v2.33: Add, one step at a time */
.af-wrap{position:fixed;inset:0;z-index:2040;background:rgba(15,35,56,.38);display:grid;place-items:center;padding:16px;box-sizing:border-box}
.af{width:min(760px,100%);max-height:min(860px,calc(100vh - 32px));background:#fff;border-radius:18px;display:flex;flex-direction:column;box-shadow:0 24px 60px rgba(15,35,56,.28);color:#0F2338;font-size:14px;animation:af-in .22s ease-out}
.af.af-back{animation-name:af-back}
@keyframes af-in{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
@keyframes af-back{from{opacity:0;transform:translateX(-18px)}to{opacity:1;transform:none}}
.af-h{flex:none;display:flex;align-items:flex-start;gap:10px;padding:18px 18px 8px}
.af-t{flex:1;min-width:0}.af-t h3{margin:2px 0 0;font-size:19px;font-weight:800;letter-spacing:-.01em}.af-t p{margin:4px 0 0;color:#5B6474;font-size:13px}
.af-x{flex:none;width:34px;height:34px;border-radius:10px;border:0;background:transparent;color:#3A4A5E;display:grid;place-items:center;cursor:pointer}
.af-x:hover{background:#F0F3F8}.af-x:disabled{opacity:.35;cursor:default}.af-x svg{width:18px;height:18px}
.af-dots{display:flex;gap:5px;align-self:center}.af-dots i{width:7px;height:7px;border-radius:50%;background:#D7DDE6}.af-dots i.on{background:#1F4FD8;width:18px;border-radius:4px}.af-dots i.done{background:#8FA8EA}
.af-b{flex:1;min-height:0;overflow:auto;padding:8px 18px 18px;display:flex;flex-direction:column;gap:12px}
.af-f{flex:none;display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:12px 18px;border-top:1px solid #EEF1F5}
.af-f .muted{margin-right:auto}
.af-kinds{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}
.af-kinds.af-three{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
.af-kind{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;border:1px solid #E3E7EE;background:#fff;border-radius:14px;padding:14px;cursor:pointer;font:inherit;color:inherit;transition:border-color .12s,box-shadow .12s,transform .12s}
.af-kind:hover,.af-kind:focus-visible{border-color:#1F4FD8;box-shadow:0 4px 14px rgba(31,79,216,.12);transform:translateY(-1px)}
.af-kind b{font-size:14px}.af-kind>span:last-child{font-size:12px;color:#5B6474;line-height:1.4}
.af-kind.sm{padding:12px}
.af-ico{width:36px;height:36px;border-radius:10px;background:#EEF3FD;color:#1F4FD8;display:grid;place-items:center;flex:none}.af-ico svg{width:19px;height:19px}
.af-kind[data-kind="act"] .af-ico,.af-kind[data-kind="quiz"] .af-ico,.af-kind[data-kind="reflect"] .af-ico{background:#E8F5EC;color:#15803D}
.af-kind[data-kind="video"] .af-ico,.af-kind[data-kind="audio"] .af-ico{background:#FBF0E4;color:#A1530B}
.af-more{margin:2px 0 0;font-size:13px;color:#5B6474}
.af-in{font:14px/1.5 inherit;border:1px solid #D7DDE6;border-radius:10px;padding:9px 12px;width:100%;box-sizing:border-box;color:inherit;background:#fff;resize:vertical}
.af-in:focus{outline:2px solid #1F4FD8;outline-offset:-1px;border-color:transparent}
.af-title{font-size:17px;font-weight:700}
.af-ta{min-height:min(42vh,360px);font-size:15px;line-height:1.6}
.af-ok{border-color:#86C79B;background:#F3FBF5}
.af-ai{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.af-ai-l{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#6D4ED8;margin-right:2px}.af-ai-l svg{width:15px;height:15px}
.af-wc{margin-left:auto;font-size:12px;color:#5B6474}
.af-chips{display:flex;flex-wrap:wrap;gap:6px}
.af-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #D7DDE6;background:#fff;border-radius:999px;padding:6px 12px;font:600 13px inherit;color:#0F2338;cursor:pointer;min-height:32px}
.af-chip svg{width:14px;height:14px}.af-chip:hover:not(:disabled){background:#F0F3F8}.af-chip:disabled{opacity:.45;cursor:default}
.af-chip.on{background:#1F4FD8;border-color:#1F4FD8;color:#fff}
.af-ai .af-chip{border-color:#D9D0F7;color:#3E2C86}.af-ai .af-chip:hover:not(:disabled){background:#F6F3FE}
.af-opts{display:flex;flex-direction:column;gap:8px}
.af-opt{border:1px solid #E3E7EE;border-radius:14px;overflow:hidden;transition:border-color .12s,background .12s}
.af-opt.on{border-color:#1F4FD8;background:#F7F9FE}
.af-opt-h{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;border:0;background:transparent;text-align:left;font:inherit;color:inherit;cursor:pointer}
.af-ot{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.af-ot b{font-size:14px}.af-ot span{font-size:12px;color:#5B6474;line-height:1.45}
.af-sw{flex:none;width:36px;height:22px;border-radius:999px;background:#D7DDE6;position:relative;transition:background .15s}
.af-sw i{position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform .15s}
.af-opt.on .af-sw{background:#1F4FD8}.af-opt.on .af-sw i{transform:translateX(14px)}
.af-rad{flex:none;width:18px;height:18px;border-radius:50%;border:2px solid #B8C2D1;box-sizing:border-box}
.af-opt.on .af-rad{border:6px solid #1F4FD8}
.af-opt-b{padding:0 14px 14px 62px;display:flex;flex-direction:column;gap:8px;animation:af-open .18s ease-out}
@keyframes af-open{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.af-srcs{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}
.af-src{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:96px;border:1.5px dashed #B8C2D1;background:#FAFBFD;border-radius:14px;font:600 13px inherit;color:#0F2338;cursor:pointer;padding:12px;text-align:center}
.af-src:hover,.af-src:focus-visible{border-color:#1F4FD8;border-style:solid;background:#F4F7FE}.af-src svg{width:22px;height:22px;color:#1F4FD8}
.af-opt-b .af-src{min-height:70px}
.af-pic{position:relative;margin:0;border-radius:14px;overflow:hidden;background:#EEF1F5;display:grid;place-items:center;max-height:340px}
.af-pic img,.af-pic video{display:block;max-width:100%;max-height:340px;object-fit:contain}
.af-chg{position:absolute;right:10px;top:10px;display:inline-flex;align-items:center;gap:6px;border:0;border-radius:999px;padding:6px 12px;background:rgba(255,255,255,.92);font:600 12px inherit;color:#0F2338;cursor:pointer;box-shadow:0 2px 8px rgba(15,35,56,.18)}.af-chg svg{width:14px;height:14px}
.af-aud{position:relative;margin:0;display:flex;align-items:center;gap:12px;background:#FBF0E4;border-radius:14px;padding:16px;padding-right:110px}.af-aud>svg{width:24px;height:24px;color:#A1530B;flex:none}.af-aud audio{flex:1;min-width:0}
.af-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.af-lbl{font-size:13px;font-weight:700}
.af-note{display:flex;align-items:center;gap:8px;margin:0;font-size:12.5px;color:#3A4A5E;line-height:1.5}.af-note svg{width:15px;height:15px;flex:none;color:#15803D}
.af-li{display:flex;gap:6px;align-items:center}
.af-tick{flex:none;width:34px;height:34px;border-radius:10px;border:1.5px solid #D7DDE6;background:#fff;color:transparent;display:grid;place-items:center;cursor:pointer}.af-tick svg{width:16px;height:16px}
.af-tick.on{background:#15803D;border-color:#15803D;color:#fff}
.af-ideas{display:flex;flex-wrap:wrap;gap:6px}
.af-idea{border:1px solid #E3E7EE;background:#FAFBFD;border-radius:10px;padding:8px 11px;font:13px/1.4 inherit;color:#0F2338;cursor:pointer;text-align:left}.af-idea:hover{border-color:#1F4FD8;background:#F4F7FE}
.af-looks{gap:8px}
.af-anim{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.af-anprev{width:220px;aspect-ratio:16/10;border-radius:10px;overflow:hidden;background:#0F2338}
.af-anprev img{width:100%;height:100%;object-fit:cover;display:block}
.af-an-zoom{animation:af-zoom 4s ease-in-out infinite alternate}
.af-an-pan{animation:af-pan 5s ease-in-out infinite alternate}
.af-an-fade{animation:af-fade 2.6s ease-out infinite}
.af-an-reveal{animation:af-reveal 2.6s ease-out infinite}
@keyframes af-zoom{from{transform:scale(1)}to{transform:scale(1.18)}}
@keyframes af-pan{from{transform:scale(1.2) translateX(-7%)}to{transform:scale(1.2) translateX(7%)}}
@keyframes af-fade{0%{opacity:0}60%,100%{opacity:1}}
@keyframes af-reveal{0%{clip-path:inset(0 100% 0 0)}70%,100%{clip-path:inset(0 0 0 0)}}
@media (prefers-reduced-motion:reduce){.af,.af-opt-b,.af-anprev img{animation:none!important}}
@media (max-width:560px){.af-wrap{padding:0;place-items:end stretch}.af{border-radius:18px 18px 0 0;max-height:94vh}.af-opt-b{padding-left:14px}.af-kinds{grid-template-columns:1fr 1fr}}
/* v2.33: the walk-through editor */
.af-tw{width:min(1180px,100%);max-height:calc(100vh - 32px)}
.tw-b{flex:1;min-height:0;display:flex;gap:16px;padding:8px 18px 18px;overflow:auto;flex-wrap:wrap}
.tw-l{flex:1 1 520px;min-width:0}.tw-r{flex:1 1 280px;max-width:380px;display:flex;flex-direction:column;gap:8px}
.tw-stage{position:relative;border-radius:12px;overflow:hidden;background:#0F2338;cursor:crosshair;user-select:none;touch-action:none;max-height:70vh;margin:0 auto}
.tw-stage img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}
.tw-box{position:absolute;border:2.5px solid #fff;border-radius:8px;box-shadow:0 0 0 1px rgba(15,35,56,.5),0 0 0 9999px rgba(15,35,56,.0);cursor:move;box-sizing:border-box}
.tw-box.on{border-color:#FFC83D;box-shadow:0 0 0 1px rgba(15,35,56,.6),0 0 0 9999px rgba(15,35,56,.35)}
.tw-box span{position:absolute;left:-12px;top:-12px;width:24px;height:24px;border-radius:50%;background:#1F4FD8;color:#fff;display:grid;place-items:center;font:800 12px system-ui}
.tw-box.on span{background:#FFC83D;color:#0F2338}
.tw-box i{position:absolute;right:-7px;bottom:-7px;width:14px;height:14px;border-radius:4px;background:#fff;border:2px solid #1F4FD8;cursor:nwse-resize}
.tw-step{display:flex;gap:10px;align-items:flex-start;border:1px solid #E3E7EE;border-radius:12px;padding:10px;cursor:pointer}
.tw-step.on{border-color:#1F4FD8;background:#F7F9FE;cursor:default}
.tw-n{flex:none;width:24px;height:24px;border-radius:50%;background:#EEF3FD;color:#1F4FD8;display:grid;place-items:center;font-size:12px;font-weight:800}
.tw-step.on .tw-n{background:#1F4FD8;color:#fff}
.tw-f{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.tw-f b{font-size:13.5px;padding-top:3px}
.tw-acts{display:flex;justify-content:flex-end;gap:2px}
.tw-ai{align-self:flex-start;border-color:#D9D0F7;color:#3E2C86}
/* v2.33: Improve with AI as a storyboard that plays */
.imp-sb{display:grid;grid-template-columns:230px minmax(0,1fr) 360px;gap:16px;align-items:start;padding:16px}
.sb-strip{display:flex;flex-direction:column;gap:6px;position:sticky;top:0;max-height:calc(100vh - 110px);overflow:auto;padding-right:2px}
.sb-th{display:flex;gap:8px;align-items:flex-start;text-align:left;border:1px solid transparent;background:#fff;border-radius:12px;padding:9px;cursor:pointer;font:inherit;color:inherit}
.sb-th:hover{border-color:#C9D4EA}.sb-th.on{border-color:#1F4FD8;box-shadow:0 0 0 2px rgba(31,79,216,.15)}
.sb-tt{min-width:0;display:flex;flex-direction:column;gap:2px}.sb-tt b{font-size:13px;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.sb-tt span{font-size:11.5px;color:#5B6474}
.sb-strip .imp-check{padding:8px 10px;gap:6px;font-size:12px;border-radius:12px}.sb-strip .imp-check>div{flex:1 1 100%}.sb-strip .imp-cwhy{display:none}
.sb-main{min-width:0;display:flex;flex-direction:column;gap:10px}
.sb-stage{aspect-ratio:16/10;background:#fff;border-radius:16px;box-shadow:0 1px 2px rgba(15,35,56,.06),0 10px 30px rgba(15,35,56,.08);overflow:hidden}
.sb-page{height:100%;box-sizing:border-box;padding:6% 7%;display:flex;gap:5%;align-items:center;animation:sb-in .45s ease-out}
@keyframes sb-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.sb-page>div:first-child{flex:1 1 55%;min-width:0}
.sb-page h4{margin:0 0 14px;font-size:clamp(18px,2.4vw,28px);font-weight:800;line-height:1.2;letter-spacing:-.01em}
.sb-page ul{margin:0;padding-left:1.1em;font-size:clamp(13px,1.4vw,17px);line-height:1.55}
.sb-page .imp-tiles li{font-size:clamp(11px,1.1vw,14px)}
.sb-page li{transition:opacity .4s ease,transform .4s ease}
.sb-stage.playing li{opacity:0;transform:translateY(8px)}.sb-stage li.in{opacity:1!important;transform:none!important}
.sb-page .imp-pic{height:80%}
.sb-ctl{display:flex;align-items:center;gap:8px}
.sb-bar{flex:1;height:4px;border-radius:2px;background:#DDE3EC;overflow:hidden}.sb-bar i{display:block;height:100%;width:0;background:#1F4FD8;transition:width .1s linear}
.sb-pos{font-size:12px;white-space:nowrap}
.sb-cap{margin:0;background:#0F2338;color:#B9C4D4;border-radius:12px;padding:12px 16px;font-size:14px;line-height:1.6}
.sb-cap span.on{color:#fff;background:rgba(255,200,61,.18);border-radius:4px;box-shadow:0 0 0 2px rgba(255,200,61,.18)}
.sb-sum{margin:0;font-size:12px}
.sb-side{position:sticky;top:0}.sb-side .imp-page{flex-direction:column;gap:8px;padding:16px}
.sb-side .lbl{margin:4px 0 0}
@media (max-width:1100px){.imp-sb{grid-template-columns:200px minmax(0,1fr)}.sb-side{grid-column:1/-1;position:static}}
@media (max-width:700px){.imp-sb{grid-template-columns:1fr}.sb-strip{position:static;flex-direction:row;overflow-x:auto;max-height:none}.sb-th{min-width:160px}}
@media (prefers-reduced-motion:reduce){.sb-page,.sb-page li{animation:none;transition:none}}
/* v2.34: Preview next to Share, Add as the starting point, tips folded away */
.b.sec{background:#fff!important;border:1px solid #C9D2E0!important;color:#0F2338!important}
.b.sec:hover{background:#F0F3F8!important}
html[data-ui="new"] .acts #pvfull{margin-right:2px}
html[data-ui="new"] .modal-wrap.tips-on .modal-b :is(.help,.note,.as-lead,.st-lead,p.sub){display:revert!important}
html[data-ui="new"] .modal-wrap:not(.tips-on) .modal-b :is(.help,.note,.as-lead,.st-lead,p.sub){display:none!important}
.tips-b{margin-left:auto;margin-right:4px;display:inline-flex;align-items:center;gap:6px}.tips-b svg{width:15px;height:15px}
.tips-b[aria-pressed="true"]{background:#FFF6DA!important;color:#5A3A00!important}
html[data-ui="new"] .o-add2{margin:6px 0 14px;padding:0 6px}
html[data-ui="new"] .ed.st22 .o-add2 .o-addb{width:100%;height:40px!important;justify-content:center!important;background:#1F4FD8!important;color:#fff!important;border:0!important;border-radius:10px!important;font-weight:700!important;font-size:14px;gap:6px}
html[data-ui="new"] .ed.st22 .o-add2 .o-addb:hover{background:#1A43B8!important}
.addhero{position:absolute;left:0;right:0;bottom:22px;display:flex;justify-content:center;pointer-events:none;z-index:6}
.addhero>*{pointer-events:auto}
.ah-fab{height:46px!important;padding:0 22px!important;border-radius:999px!important;font-size:15px!important;font-weight:700!important;box-shadow:0 8px 22px rgba(31,79,216,.32);gap:8px;display:inline-flex;align-items:center}
.ah-fab svg{width:18px;height:18px}
.addhero.empty{top:0;bottom:0;align-items:center;background:rgba(238,241,245,.82);backdrop-filter:blur(2px)}
.ah-card{background:#fff;border-radius:18px;padding:24px;width:min(560px,calc(100% - 32px));box-shadow:0 18px 44px rgba(15,35,56,.16);box-sizing:border-box}
.ah-card h3{margin:0;font-size:20px;font-weight:800;color:#0F2338}.ah-card p{margin:6px 0 16px;color:#5B6474;font-size:14px}
.ah-kinds{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.ah-kinds button{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 6px;border:1px solid #E3E7EE;border-radius:14px;background:#fff;font:600 13px inherit;color:#0F2338;cursor:pointer;text-align:center}
.ah-kinds button:hover,.ah-kinds button:focus-visible{border-color:#1F4FD8;background:#F4F7FE}
.ah-kinds svg{width:22px;height:22px;color:#1F4FD8}
@media (max-width:560px){.ah-kinds{grid-template-columns:repeat(2,1fr)}}
.ed .prev{position:relative}
/* v2.34: Preview as a learner */
.pvw{position:fixed;inset:0;z-index:2060;background:#E9EDF3;display:flex;flex-direction:column}
.pvw-h{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#fff;border-bottom:1px solid #E3E7EE;flex-wrap:wrap}
.pvw-h>b{display:flex;align-items:center;gap:8px;font-size:15px;color:#0F2338}.pvw-h>b svg{width:16px;height:16px;color:#1F4FD8}
.pvw-h .seg{display:flex;background:#EEF1F5;border-radius:10px;padding:3px}
.pvw-h .seg button{border:0;background:transparent;border-radius:8px;padding:6px 10px;font:600 13px inherit;color:#3A4A5E;cursor:pointer;display:inline-flex;align-items:center;gap:4px}
.pvw-h .seg button.on{background:#fff;color:#0F2338;box-shadow:0 1px 2px rgba(15,35,56,.12)}.pvw-h .seg svg{width:15px;height:15px}
.pvw-b{flex:1;min-height:0;display:grid;place-items:center;padding:18px}
.pvw-f{background:#fff;box-shadow:0 16px 40px rgba(15,35,56,.18);overflow:hidden}
.pvw-f.phone{width:min(400px,100%);height:min(820px,100%);border-radius:28px}
.pvw-f.desk{width:min(1200px,100%);height:100%;border-radius:12px}
.pvw-f iframe{width:100%;height:100%;border:0;display:block}
html.calm .ah-kinds .ti>svg.ic,html.calm .ah-fab.ti>svg.ic,html.calm .o-addb.ti>svg.ic{display:inline-block!important}
.addhero:not(.empty){justify-content:flex-end;padding-right:24px}
/* v2.35: the slide, with Add below it in the middle and the pages along the bottom, as in Canva */
html[data-ui="new"] .ed .prev-stage{flex-direction:column;align-items:center;justify-content:center;gap:12px}
html[data-ui="new"] .ed .prev-stage>.frame{flex:none;transform-origin:top center}
html[data-ui="new"] .frame.desk{border-radius:10px;box-shadow:0 1px 2px rgba(15,35,56,.08),0 12px 32px rgba(15,35,56,.12)}
.pgunder{flex:none;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;z-index:4}
.pgunder .b{height:40px!important;padding:0 18px!important;border-radius:10px!important;font-weight:700!important;display:inline-flex;align-items:center;gap:6px}
.pgunder .b svg{width:16px;height:16px}
html.calm .pgunder .ti>svg.ic,html.calm .pgbar .ti>svg.ic,html.calm .af-feat svg.ic{display:inline-block!important}
.pgunder.empty{flex-direction:column;gap:10px;background:#fff;border-radius:16px;padding:16px 18px;box-shadow:0 8px 24px rgba(15,35,56,.10);width:min(720px,100%);box-sizing:border-box}
.pu-t{font-size:16px;font-weight:800;color:#0F2338}
.pgunder.empty .ah-kinds{grid-template-columns:repeat(8,1fr);width:100%}
.pgunder.empty .ah-kinds button{padding:10px 4px;font-size:12px;gap:6px}
.pgunder.empty .ah-kinds svg{width:20px;height:20px}
@media (max-width:1100px){.pgunder.empty .ah-kinds{grid-template-columns:repeat(4,1fr)}}
.pu-ai{background:#6D4ED8!important;border-color:#6D4ED8!important}
.pgbar{flex:none;border-top:1px solid #E3E7EE;background:#fff;padding:10px 14px}
.pg-row{display:flex;gap:10px;align-items:flex-start;overflow-x:auto;scrollbar-width:thin;padding:2px}
.pg-th{flex:none;display:flex;flex-direction:column;align-items:center;gap:4px;border:0;background:none;padding:0;cursor:pointer;font:inherit}
.pg-card{position:relative;width:128px;aspect-ratio:16/9;border-radius:8px;background:#F4F6F9;border:2px solid #E3E7EE;overflow:hidden;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.pg-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.35}
.pg-tt{position:relative;padding:0 8px;font-size:10.5px;font-weight:700;line-height:1.25;color:#0F2338;text-align:center;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pg-ic{position:absolute;left:5px;top:4px;color:#8A94A6}.pg-ic svg{width:11px;height:11px}
.pg-n{font-size:11px;color:#5B6474;font-weight:600}
.pg-th:hover .pg-card{border-color:#9DB2E8}.pg-th.on .pg-card{border-color:#1F4FD8;box-shadow:0 0 0 2px rgba(31,79,216,.18)}.pg-th.on .pg-n{color:#1F4FD8}
.pg-plus{flex:none;width:72px;aspect-ratio:16/18;align-self:flex-start;height:72px;border:2px dashed #B8C2D1;border-radius:8px;background:#fff;color:#1F4FD8;display:grid;place-items:center;cursor:pointer}
.pg-plus:hover{border-color:#1F4FD8;background:#F4F7FE}.pg-plus svg{width:22px;height:22px}
/* v2.35: Build with AI, first in Add */
.af-feat{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border:1.5px solid #D9D0F7;background:linear-gradient(180deg,#FAF8FF,#F3EFFE);border-radius:16px;padding:14px 16px;cursor:pointer;font:inherit;color:#0F2338}
.af-feat:hover,.af-feat:focus-visible{border-color:#6D4ED8;box-shadow:0 4px 14px rgba(109,78,216,.16)}
.af-feat .af-ico{background:#6D4ED8;color:#fff}.af-feat>svg{width:18px;height:18px;color:#6D4ED8;flex:none}
.af-or{display:flex;align-items:center;gap:10px;color:#8A94A6;font-size:12px}.af-or::before,.af-or::after{content:"";flex:1;height:1px;background:#E3E7EE}
.af-file{display:flex;align-items:center;gap:10px;border:1px solid #D7DDE6;border-radius:12px;padding:10px 12px;background:#FAFBFD}
.af-file>svg{width:20px;height:20px;color:#1F4FD8;flex:none}.af-file>span{flex:1;min-width:0;display:flex;flex-direction:column}.af-file b{font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.af-file small{font-size:12px;color:#5B6474}
.af-drop{min-height:64px;flex-direction:row}
.af-paste{align-self:flex-start;font-size:13px}
.af-sub{margin-top:-4px}
.imp-pic.has{padding:0;overflow:hidden;background:#000}.imp-pic.has img{width:100%;height:100%;object-fit:cover;display:block}
.pgunder.open{position:relative;padding-top:14px}
.pu-x{position:absolute;right:8px;top:8px;width:28px;height:28px}
.pgunder.open{padding-right:40px}
/* v2.36: activity settings in the Add window */
.af-set{display:flex;flex-direction:column;gap:8px;border-top:1px solid #EEF1F5;margin-top:4px;padding-top:12px}
.af-set-h{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:800;color:#3A4A5E}.af-set-h svg{width:15px;height:15px}
.af-pair>svg{width:16px;height:16px;color:#8A94A6;flex:none}
/* v2.36: the full toolbar in text boxes inside windows */
.rte{position:relative}
.rte-bar{align-items:center}
.rte-sep{width:1px;height:18px;background:#D7DDE6;margin:0 4px}
.rte-a{font-weight:800;border-bottom:3px solid #B42318;line-height:1}
.rte-hl{font-weight:800;background:#FFF1A8;padding:0 3px;border-radius:3px}
.rte-pop{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px;border-bottom:1px solid #E3E7EE;background:#fff}
.rte-sw{width:22px;height:22px;border-radius:50%;border:1px solid rgba(15,35,56,.18);cursor:pointer;padding:0}
.rte-sw.none{background:linear-gradient(135deg,#fff 45%,#B42318 46%,#B42318 54%,#fff 55%)!important}
.rte-code{width:150px;border:1px solid #D7DDE6;border-radius:8px;padding:5px 8px;font:13px inherit}
.rte-ok,.rte-pop [data-sz]{border:1px solid #D7DDE6;background:#fff;border-radius:8px;padding:4px 10px;cursor:pointer;font:inherit;font-size:13px}
/* v2.37: pre-test and post-test choices; the cover card in the page bar */
.tst{display:flex;flex-direction:column;gap:10px;max-width:640px}
.tst-o{display:flex;gap:12px;align-items:flex-start;border:1px solid #E3E7EE;border-radius:14px;padding:14px 16px;cursor:pointer;background:#fff}
.tst-o:has(input:checked){border-color:#1F4FD8;background:#F7F9FE}
.tst-o input{width:18px;height:18px;margin-top:2px;accent-color:#1F4FD8;flex:none}
.tst-o span{display:flex;flex-direction:column;gap:3px}.tst-o b{font-size:14.5px}.tst-o small{font-size:13px;color:#5B6474;line-height:1.45}
.tst-o.sub{margin-left:30px}.tst-o.sub.off{opacity:.5;cursor:default}
.pg-cv .pg-card{background:linear-gradient(135deg,#1F4FD8,#6D4ED8)}.pg-cv .pg-tt{color:#fff}.pg-cv .pg-ic{color:rgba(255,255,255,.8)}.pg-cv .pg-card img{opacity:.45}
.pg-sess{flex:none;align-self:center;writing-mode:vertical-rl;transform:rotate(180deg);font-size:10.5px;font-weight:700;color:#8A94A6;max-height:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-left:1px solid #E3E7EE;padding-left:6px}
.nohead .f-head h2{display:none}.nohead .f-head{margin-bottom:8px}

/* v2.42: white label. An institution's own logo and name in the studio bar and side menu */
html.calm .wl-brand{display:inline-flex;align-items:center;gap:10px;min-width:0;color:var(--ink);text-decoration:none;font-size:16px;font-weight:700}
html.calm .wl-brand img{max-height:30px;max-width:120px;object-fit:contain;display:block}
html.calm .wl-brand span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.calm .sd-top .wl-brand img{max-height:26px;max-width:96px}
.wl-pow{margin:6px 12px 4px;font-size:12px;color:var(--muted)}

/* v2.43: the studio side menu, in the calm look (no coloured edge highlight) */
html.calm .side{background:#fff;border-right:1px solid var(--line)}
html.calm .sd-top{height:64px;border-bottom:0}
html.calm .side a.on{background:var(--blue-soft,#eaf1fd);color:var(--ink);font-weight:600}
html.calm .side a.on::before{display:none}
html.calm .side a{height:42px;font-size:15px}
html.calm .sd-g{border-bottom:0;margin-bottom:4px}
html.calm .sd-new{display:flex;align-items:center;justify-content:center;gap:8px;height:44px;margin:4px 12px 10px;border-radius:12px;background:var(--ink);color:#fff;font-weight:600;text-decoration:none}
html.calm .sd-new:hover{filter:brightness(1.2);background:var(--ink)}
html.calm .sd-new svg{width:18px;height:18px}
html.side-min .sd-new span{display:none}
html.side-min .sd-new{margin:4px 10px 10px}
html.calm #root.has-side .top.side-top{min-height:56px;background:transparent;border-bottom:0}
html.calm .side-top .st-title{font-weight:600}
html.gb-full .side,html.gb-full .side-top{display:none}
html.gb-full #root.has-side{padding-left:0}
html.calm .side .sd-new{width:auto;color:#fff}
html.calm .side a:not(.sd-new){color:var(--ink)}
html.calm .side a:not(.sd-new) svg{color:var(--muted)}

/* v2.43: the studio menu, quiet like Notion: text rows, the current page in medium weight on a soft grey */
html.calm .side a:not(.sd-new){height:34px;font-size:14.5px;font-weight:400;color:var(--muted);border-radius:8px}
html.calm .side a:not(.sd-new):hover{background:#f4f5f7;color:var(--ink)}
html.calm .side a.on:not(.sd-new){background:#eceff3;color:var(--ink);font-weight:550}
html.calm .side a:not(.sd-new) svg{width:17px;height:17px;opacity:.8}
html.calm .side a.on:not(.sd-new) svg{opacity:1}
html.calm .sd-g{gap:1px;padding-bottom:8px;margin-bottom:6px}
html.calm .sd-acc{border-top:1px solid var(--line);padding-top:6px}
html.calm .sd-acc>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;height:34px;padding:0 10px;border-radius:8px;cursor:pointer;font-size:12.5px;font-weight:600;color:var(--muted)}
html.calm .sd-acc>summary::-webkit-details-marker{display:none}
html.calm .sd-acc>summary:hover{color:var(--ink)}
html.calm .sd-acc>summary svg{width:15px;height:15px;transition:transform .15s}
html.calm .sd-acc:not([open])>summary svg{transform:rotate(-90deg)}
html.side-min .sd-acc>summary{display:none}

/* v2.44.1: an institution's logo in the studio menu follows its brand guide: at least 120px wide on a white ground,
   with clear space; the name sits below it, not beside it */
html.calm .side{background:#fff}
html.calm .sd-top:has(.wl-brand){height:auto;align-items:flex-start;padding:22px 12px 16px 16px}
html.calm .sd-top .wl-brand{flex-direction:column;align-items:flex-start;gap:30px}
html.calm .sd-top .wl-brand img{width:124px;max-width:none;max-height:none;height:auto}
html.calm .sd-top .wl-brand span{display:flex;flex-direction:column;font-size:14.5px;font-weight:700;line-height:1.3}
html.calm .sd-top .wl-brand small{font-size:12px;font-weight:400;color:var(--muted)}
html.side-min .sd-top .wl-brand img{width:40px;object-fit:cover;object-position:left}
html.side-min .sd-top .wl-brand span{display:none}
