.course-banner{display:flex;align-items:center;gap:25px;background:#edeefd;border:1px solid #dedef6;border-radius:14px;padding:25px 28px;margin-bottom:30px}.course-banner>div{flex:1}.course-banner h2{margin-bottom:8px}.course-banner p{margin:0;font-size:12px}.course-banner .btn{flex-shrink:0}.course-intro{display:grid;grid-template-columns:1.5fr 1fr;gap:40px;padding:35px;background:#5d43cc;color:#f5f6fe}.course-intro h2{font-size:29px;line-height:1.4;margin:16px 0}.course-intro p{color:#6b6b7a;font-size:13px}.course-intro .tag{background:#ffffff12;color:#dcdcfa;font-size:12px;letter-spacing:1px}.course-intro .btn{background:#ffd466;color:#2b2751}.course-numbers{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-content:center}.course-numbers b{display:block;font-size:35px;font-weight:500;color:#ffd466}.course-numbers span{font-size:13px;color:#6b5dcf;line-height:1.6;display:block;max-width:135px}.course-how{display:flex;justify-content:space-between;gap:15px;padding:23px 8px;color:#5442b1;font-size:13px}.unit-group{margin:25px 0 36px}.unit-group>h2{font-size:20px;margin-bottom:19px}.unit-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.unit-card{display:flex;gap:17px;text-align:left;align-items:flex-start;padding:24px;background:#fcfcfe;border:1px solid #e2e2ee;border-radius:12px;transition:transform .15s,border-color .15s}.unit-card:hover{transform:translateY(-2px);border-color:#a3a0ee}.unit-card>div{flex:1;min-width:0}.unit-number{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:10px;background:#eeeefc;color:#5948b8;font-size:12px;flex-shrink:0}.unit-card small{font-size:12px;color:#6455c6}.unit-card h3{font-size:16px;line-height:1.5;margin:5px 0 7px}.unit-card p{font-size:13px;margin-bottom:16px}.unit-card>span:last-child{color:#6b5dcf}.unit-meter{height:4px;border-radius:3px;background:#eeeef7;overflow:hidden;margin-bottom:9px}.unit-meter i{display:block;height:100%;background:#9590ea}.unit-progress-label{font-size:12px;color:#6353c4;line-height:1.7;display:block}.course-reference{margin-top:30px}.course-reference details{border-top:1px solid #e6e7f1;padding:16px 0}.course-reference summary{font-weight:600;font-size:14px;cursor:pointer;line-height:1.6}.course-reference p{margin-top:13px}.course-reference dl{display:grid;grid-template-columns:1fr 2.5fr;gap:12px 25px;font-size:12px;line-height:1.8}.course-reference dt{font-weight:600}.course-reference dd{margin:0;color:#4e3baa}.course-reference a{text-decoration:underline}.unit-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.unit-study-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px}.unit-main{display:grid;gap:22px;min-width:0}.unit-main .card{padding:30px}.unit-main .eyebrow{margin-bottom:16px}.unit-main p{font-size:13px}.unit-side{align-self:start;position:sticky;top:20px;display:grid;gap:20px}.unit-side p{font-size:13px}.unit-side h2{font-size:20px;line-height:1.5}.unit-side .btn{font-size:13px;margin-top:15px;padding-inline:10px}.learning-goals{padding-left:20px;color:#4e3baa;font-size:13px;line-height:2}.grammar-block{padding:22px 0;border-top:1px solid #e6e7f1}.grammar-block h3{font-size:16px}.english-example{padding:16px;border-radius:8px;background:#f2f2fc;font-size:15px;line-height:1.9;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#2b2751}.listen-example{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;padding:8px 11px;background:#ebecfa;color:#4e3baa;border-radius:7px;font-size:14px;min-height:36px;cursor:pointer}.listen-example span{font-size:12px}.listen-example:hover{background:#dfe0fc}.common-mistake{padding:20px 22px;background:#f0f1fa;border-radius:10px}.common-mistake b{font-size:12px;color:#7c6335}.common-mistake p{margin:10px 0 0;font-size:12px}.common-mistake del{color:#82634f}.common-mistake strong{font-weight:600;color:#4e3baa}.vocabulary-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.vocabulary-grid>div{padding:16px 0;border-bottom:1px solid #e8e8f2;display:flex;align-items:center;justify-content:space-between;gap:10px}.vocabulary-grid strong{display:block;font-weight:500;font-size:15px}.vocabulary-grid small{font-size:13px;display:block;color:#5e4dbe;margin-top:5px;line-height:1.6}.vocabulary-grid .listen-example span{display:none}.pronunciation{margin-top:23px;padding:20px;background:#eeeef4;border-radius:9px}.pronunciation h3{color:#635470}.pronunciation>span{font-size:13px}.pronunciation .listen-example{background:#e2e2ee;color:#685577;margin-top:10px}.dialogue-lines{margin-top:20px}.dialogue-line{display:flex;gap:12px;align-items:flex-start;padding:17px 0;border-bottom:1px solid #e8e8f2}.dialogue-line>div{flex:1}.dialogue-line p{font-size:15px;margin-bottom:4px;color:#2b2751;line-height:1.7}.dialogue-line small{font-size:13px;color:#5e4dbe;line-height:1.7}.speaker-label{width:25px;height:25px;display:flex;align-items:center;justify-content:center;background:#eeeff9;color:#5847b8;border-radius:50%;font-size:12px;flex-shrink:0}.dialogue-line .listen-example span{display:none}.drill-detail{padding:15px 0;border-bottom:1px solid #e8e8f2}.drill-detail summary{font-size:13px;line-height:1.9;cursor:pointer}.drill-detail summary>span:first-child{color:#695acc;margin-right:7px}.drill-answer{padding:15px 0 3px}.drill-answer>p:first-child{color:#2b2751;font-weight:500;font-size:15px}.unit-main details p{margin-top:14px}.reading-text{font-size:17px!important;line-height:2;color:#2b2751}.unit-main summary{cursor:pointer;font-size:12px;line-height:1.8;color:#4e3baa}.unit-buttons{margin:20px 0}.dictation-key{margin-top:24px}.dictation-key ol{padding-left:20px}.dictation-key li{padding:8px 0;font-size:13px;line-height:1.8}.dictation-key .listen-example{margin-left:10px}.mission{background:#efeffb}.mission h3{margin-top:25px}.mission .check-label{font-size:12px;font-weight:400;margin:12px 0}.exercise-context{background:#f0f1f9;padding:12px 20px;border-radius:8px;margin:10px 0 20px;text-align:left;font-size:12px}.exercise-context p{font-size:14px;color:#4e3baa;line-height:1.9}.exercise-context summary{cursor:pointer;color:#4e3baa}
@media(max-width:1150px){.unit-study-layout{grid-template-columns:minmax(0,1fr) 225px}.unit-main .card{padding:24px}.course-intro{gap:25px;padding:27px}.course-intro h2{font-size:25px}.unit-card{padding:19px;gap:12px}.unit-card h3{font-size:14px}.course-banner{padding:22px}.english-example{flex-wrap:wrap}.unit-main .card-title{align-items:flex-start}.unit-main .card-title h2{line-height:1.5}.unit-main .card-title .listen-example span{display:none}}
@media(max-width:900px){.unit-study-layout{grid-template-columns:1fr}.unit-side{position:static;grid-row:1;display:block}.unit-side>section:last-child{display:none}.unit-side .card{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.unit-side .eyebrow,.unit-side h2,.unit-side p,.unit-side .text-btn{display:none}.unit-side label{margin:0;font-size:13px}.unit-side select{width:130px;margin:0}.unit-side .btn{width:auto;margin:0;flex:1}.unit-main .card-title .listen-example span{display:inline}.course-banner{flex-direction:column;align-items:flex-start;gap:16px}.unit-grid{gap:12px}.unit-card{padding:18px}.unit-number{width:28px;height:28px}.course-intro{grid-template-columns:1fr}.course-numbers{grid-template-columns:repeat(4,1fr);gap:15px}.course-intro h2{max-width:550px}.course-how{font-size:12px;gap:10px}.unit-top{margin-bottom:20px}.page-heading>.btn{font-size:12px;padding:12px;max-width:200px}}
@media(max-width:620px){.course-banner{padding:20px;margin-bottom:25px}.course-banner h2{font-size:19px;line-height:1.5}.course-banner p{font-size:13px}.course-banner .eyebrow{line-height:1.7}.course-intro{padding:23px;gap:23px}.course-intro h2{font-size:23px}.course-intro p{font-size:12px}.course-intro .btn{font-size:13px;text-align:left}.course-numbers{grid-template-columns:1fr 1fr;gap:18px}.course-numbers b{font-size:30px}.course-numbers span{font-size:12px;max-width:none}.course-how{display:grid;grid-template-columns:1fr 1fr;padding-inline:0;gap:14px}.unit-grid{grid-template-columns:1fr}.unit-card{padding:20px;gap:15px}.unit-card h3{font-size:15px}.unit-progress-label{font-size:12px}.unit-group{margin-top:20px}.course-reference dl{grid-template-columns:1fr;gap:5px;font-size:12px}.course-reference dd{margin-bottom:14px}.course-reference summary{font-size:13px}.course-reference p{font-size:12px}.unit-top .tag{font-size:12px}.unit-main .card{padding:21px}.unit-main .card h2{font-size:19px}.unit-main p{font-size:12px}.unit-main .eyebrow{font-size:12px}.learning-goals{font-size:12px}.vocabulary-grid{grid-template-columns:1fr}.vocabulary-grid strong{font-size:15px}.unit-main .card-title .listen-example span{display:none}.unit-main .page-heading .btn{max-width:none}.unit-study-layout{gap:16px}.unit-side .card{padding:17px;gap:13px}.unit-side .btn{min-width:100%;font-size:13px;min-height:42px}.unit-main .listen-example span{font-size:12px}.english-example{font-size:14px}.dialogue-line{gap:9px}.dialogue-line p{font-size:14px}.dialogue-line small{font-size:12px}.reading-text{font-size:16px!important}.drill-detail summary{font-size:12px}.drill-answer>p:first-child{font-size:14px}.unit-buttons .btn{font-size:13px}.page-heading:has(+.course-intro),.unit-top+.page-heading{flex-direction:column;align-items:flex-start}.page-heading:has(+.course-intro)>.btn,.unit-top+.page-heading>.btn{max-width:none}.mission .check-label{font-size:13px}.nav-item{font-size:11px}.breadcrumb strong{display:inline-block;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.course-reference .fine{overflow-wrap:anywhere}}

.alphabet-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(95px,1fr));gap:8px}.alphabet-grid .listen-example{flex-direction:column;font-size:20px;padding:10px}


.course-categories{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:15px}.course-category-description{font-size:13px;margin-bottom:20px;color:#4e3baa}.personal-lessons-empty{max-width:680px;padding:30px}.personal-lessons-empty p{margin:15px 0 22px}.course-banner>div{flex:1;min-width:0}.course-banner{flex-wrap:wrap}.course-banner .btn{white-space:normal;text-align:left}
.personal-creation-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;margin:24px 0 36px}
.personal-creation-grid form{display:grid;gap:16px}
.personal-creation-grid textarea{box-sizing:border-box;width:100%;max-width:100%;resize:vertical;min-height:120px;padding:14px;border:1px solid var(--line,#dddddd);border-radius:12px;font:inherit;color:inherit;background:var(--surface,#ffffff)}
.personal-creation-grid textarea:focus-visible{outline:2px solid var(--green,#644cd5);outline-offset:2px}

.personal-levels{border:1px solid var(--line,#dddddd);border-radius:12px;padding:14px;margin:0;min-width:0}
.personal-levels legend{font-weight:600;padding:0 6px}
.personal-level-pills{display:flex;flex-wrap:wrap;gap:16px}
.personal-levels label{display:flex;align-items:center;gap:6px;cursor:pointer}
.personal-levels input{width:auto;margin:0}
.personal-feedback{min-height:1.5em;margin-bottom:0;overflow-wrap:anywhere}
.personal-feedback.error{color:#9c3434}
.personal-plan .btn{margin-top:20px}
.personal-plan li{margin:8px 0}
@media(max-width:800px){.personal-creation-grid{grid-template-columns:minmax(0,1fr)}}
/* Guided shadowing (shadowing-guided.js): the lesson screen hides typing and help; the end screen pairs model and learner. */
.lesson-controls .control[hidden],.answer-form[hidden]{display:none}
.story-why{margin:-6px 0 14px;max-width:560px}
.story-note{font-size:12px;line-height:1.7;color:#503dac;margin:6px 0 0}
.story-questions{margin:12px 0 0;padding-left:22px;display:grid;gap:8px;font-size:13px}
.story-questions small{display:block;color:#5a5a64}
.shg-end{max-width:720px;margin:0 auto;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:24px 24px 18px}
.shg-end .eyebrow{margin:0;justify-content:center}
.shg-end h1{margin:0}
.shg-end>p{margin:0;max-width:540px}
.shg-end .button-wrap{justify-content:center}
.shg-end .btn .icon{width:16px;height:16px}
.shg-list{list-style:none;margin:4px 0 0;padding:0;width:100%;display:grid;gap:6px;text-align:left}
.shg-list li{display:flex;align-items:center;gap:12px;border:1px solid var(--border);border-radius:12px;padding:10px 14px;background:#fcfcfe;transition:background-color .2s}
.shg-list li.current{background:#f2f2fc;border-color:#d3d3f0}
.shg-list li>div:first-child{flex:1;min-width:0}
.shg-list p{margin:0;font-family:'Archivo',sans-serif;font-size:16px;line-height:1.45;color:#26224c}
.shg-list small{display:block;font-size:12px;color:#575865}
.shg-pair{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.shg-pair .text-btn{font-size:12px;font-weight:600}
.shg-pair .text-btn .icon{width:15px;height:15px}
.shg-pair .fine{margin:0}
.shg-fine{margin:4px 0 0;max-width:520px}
@media(max-width:620px){.shg-end{padding:18px 14px 14px}.shg-list li{flex-direction:column;align-items:flex-start}.shg-pair{justify-content:flex-start}}

/* ===== Estúdio: each course is an album, each unit a track ===== */
/* Content type: one segmented control. Courses: a ladder of steps. */
.course-nav-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;margin-bottom:28px}
.course-categories{display:inline-flex;gap:4px;padding:4px;margin:0;border-radius:999px;background:var(--surface);border:1px solid var(--line)}
.course-segment{min-height:42px;padding:0 20px;border-radius:999px;background:transparent;font-size:14px;font-weight:600;color:var(--ink-2);transition:background .15s,color .15s}
.course-segment:hover{color:var(--ink);background:var(--violet-soft)}
.course-segment[aria-pressed="true"]{background:var(--violet);color:#fff}
.course-category-description{margin:0;font-family:var(--mono);font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
.course-ladder{position:relative;display:grid;grid-template-columns:repeat(var(--steps),minmax(0,1fr));gap:8px;margin-bottom:6px}
.course-ladder[data-category="regular"]::before{content:'';position:absolute;top:25px;left:calc(50% / var(--steps));right:calc(50% / var(--steps));height:3px;border-radius:2px;background:var(--line)}
.course-step{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 4px 4px;background:none;text-align:center;border-radius:16px}
.step-dot{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--surface);border:2px solid #d6d8e6;font-family:var(--mono);font-size:16px;color:var(--ink);transition:transform .15s,border-color .15s}
.course-step:hover .step-dot{transform:scale(1.06);border-color:#b9b0ff}
.course-step[aria-pressed="true"] .step-dot{background:var(--violet);border-color:var(--violet);color:#fff;box-shadow:0 0 0 6px var(--violet-soft)}
.course-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(200px,100%),1fr));gap:10px;margin-bottom:6px}
.course-card{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:76px;padding:14px 16px;border-radius:18px;background:var(--surface);border:1.5px solid var(--line);text-align:left;transition:border-color .15s,background .15s}
.course-card:hover{border-color:#c9c1ff}
.course-card strong{font-size:16px;font-weight:650;line-height:1.3;color:var(--ink)}
.course-card small{font-family:var(--mono);font-size:12px;letter-spacing:.4px;color:var(--muted)}
.course-card[aria-pressed="true"]{background:var(--violet-soft);border-color:var(--violet)}
.course-card[aria-pressed="true"] small{color:var(--violet-deep)}
.step-name{font-size:14px;line-height:1.3;color:var(--ink-2)}
.course-step[aria-pressed="true"] .step-name{font-weight:700;color:var(--ink)}
.step-mine{font-family:var(--mono);font-size:11px;letter-spacing:.8px;padding:2px 8px;border-radius:999px;background:var(--sun-soft);color:#6b4b00}
.course-ladder-caption{display:none;margin:12px 0 0;text-align:center;font-size:14px;color:var(--ink-2)}
.course-ladder-caption strong{color:var(--ink)}
@media(max-width:620px){
 .course-nav-head{margin-bottom:20px}
 .course-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
 .course-segment{padding:0 6px;font-size:13px;text-align:center}
 .course-ladder{gap:0;padding:0 4px}.course-ladder[data-category="regular"]::before{top:22px}
 .step-dot{width:44px;height:44px;font-size:14px}
 .step-name,.step-mine{display:none}
 .course-ladder-caption{display:block}
 .course-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.course-card{padding:12px 14px;min-height:72px}.course-card strong{font-size:15px}.course-card small{font-family:inherit;letter-spacing:0}
}
.course-album{display:flex;flex-wrap:wrap;align-items:center;gap:24px 34px;margin:28px 0 24px}
.album-info{flex:1 1 360px;min-width:0}
.album-info h1{font-size:clamp(30px,3.6vw,44px);line-height:1.1;margin:8px 0 10px}
.album-info p{font-size:15px;max-width:640px}
.album-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.album-actions .btn svg{width:15px;height:15px}
.course-intro{background:var(--surface);color:var(--ink);border:1px solid var(--line)}
.course-intro h2{color:var(--ink)}.course-intro p{color:var(--ink-2)}
.course-intro .tag{background:var(--sun-soft);color:#6b4b00}
.course-numbers b{color:var(--violet);font-weight:700}.course-numbers span{color:var(--ink-2)}
.course-how{color:var(--muted);font-family:var(--mono);font-size:12px;letter-spacing:.5px}
.unit-group{margin:32px 0 8px}
.unit-group>h2{font-family:var(--mono);font-stretch:100%;font-size:13px;font-weight:500;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.unit-grid{grid-template-columns:repeat(auto-fill,minmax(min(360px,100%),1fr));gap:4px 18px}
.unit-card{align-items:center;gap:14px;min-height:66px;padding:10px 14px;background:transparent;border:1px solid transparent;border-radius:16px}
.unit-card:hover{background:var(--surface);border-color:var(--line);transform:none}
.unit-card[data-state="current"]{background:var(--violet-soft);border-color:#d8d0ff}
.unit-number{width:28px;height:auto;background:none;border-radius:0;justify-content:flex-start;font-family:var(--mono);font-size:13px;color:var(--muted)}
.unit-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.unit-text strong{font-size:16px;font-weight:650;color:var(--ink)}
.unit-card .unit-text small{font-size:13px;color:var(--muted)}
.unit-card[data-state="current"] .unit-text small{color:var(--violet-deep);font-weight:600}
.unit-card>.unit-status{width:30px;height:30px;display:grid;place-items:center;flex-shrink:0;color:var(--mint);border-radius:50%}
.unit-status svg{width:30px;height:30px}
.unit-card[data-state="done"]>.unit-status{background:var(--mint-soft)}.unit-card[data-state="done"] .unit-status svg{width:15px;height:15px}
.ring-track{fill:none;stroke:var(--line);stroke-width:3}.ring-fill{fill:none;stroke:var(--violet);stroke-width:3;stroke-linecap:round}
/* The unit's activities around the ring: one arc each, filled when done. */
.ring-arc{fill:none;stroke:#e1e2ee;stroke-width:4}.ring-arc.on{stroke:var(--mint)}.unit-card[data-state="current"] .ring-arc:not(.on){stroke:#d8d0ff}
.eq{display:flex;align-items:flex-end;gap:3px;height:18px}
.eq i{width:4px;border-radius:2px;background:var(--violet);transform-origin:bottom;animation:eq .9s ease-in-out infinite}
.eq i:nth-child(1){height:11px}.eq i:nth-child(2){height:18px;animation-duration:.7s;animation-delay:-.3s}.eq i:nth-child(3){height:9px;animation-duration:1.1s;animation-delay:-.5s}
@keyframes eq{50%{transform:scaleY(.45)}}
.mini-player{position:sticky;bottom:16px;z-index:3;display:flex;align-items:center;gap:12px;max-width:560px;margin:26px auto 0;padding:10px 10px 10px 12px;border-radius:22px;background:var(--ink);color:#fff;box-shadow:0 18px 40px -18px rgba(29,27,58,.65);overflow:hidden}
.mini-face .friend-avatar.large{width:44px;height:44px;display:block}
.mini-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.mini-text strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-text small{font-size:12px;color:#cfccec}
.mini-play{width:48px;height:48px;border-radius:50%;background:var(--sun);color:var(--ink);display:grid;place-items:center;flex-shrink:0;transition:transform .15s}
.mini-play:hover{transform:scale(1.06)}.mini-play svg{width:18px;height:18px}
.mini-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.15)}.mini-progress i{display:block;height:100%;background:var(--sun)}
@media(max-width:620px){.mini-player{bottom:calc(84px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.eq i{animation:none}}

/* ===== Estúdio: Minhas aulas. The learner's lessons first, then a short creator. ===== */
.personal-list{margin-top:4px}
.personal-creation-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px;margin:20px 0 36px}
.personal-creator{padding:28px;border-radius:26px}
.personal-creator h2{font-size:24px;letter-spacing:-.5px;margin:8px 0 18px}
.personal-creation-grid form{gap:16px}
.personal-creation-grid textarea{min-height:128px;padding:16px 18px;border:1.5px solid var(--line);border-radius:18px;font-size:16px;line-height:1.5;color:var(--ink);background:var(--bg)}
.personal-creation-grid textarea:focus-visible{outline:3px solid #8f7bff;outline-offset:2px;background:var(--surface)}
.personal-examples{display:flex;flex-wrap:wrap;gap:8px}
.personal-example{min-height:38px;padding:7px 14px;border-radius:999px;background:var(--violet-soft);color:var(--violet-deep);font-size:13px;font-weight:600;text-align:left;transition:background .15s,color .15s}
.personal-example:hover{background:var(--violet);color:#fff}
.personal-levels{border:0;padding:0;margin:0}
.personal-levels legend{padding:0;margin-bottom:10px;font-size:14px;font-weight:650;color:var(--ink)}
.personal-levels legend span{font-weight:400;color:var(--muted)}
.personal-level-pills{display:flex;flex-wrap:wrap;gap:8px}
.personal-levels label{position:relative;margin:0;display:block}
.personal-levels input{position:absolute;opacity:0;width:1px;height:1px}
.personal-levels label span{display:grid;place-items:center;min-width:52px;height:44px;padding:0 12px;border-radius:999px;border:1.5px solid var(--line);background:var(--surface);font-family:var(--mono);font-size:14px;color:var(--ink-2);transition:background .15s,border-color .15s}
.personal-levels label:hover span{border-color:#c9c1ff}
.personal-levels input:checked+span{background:var(--violet);border-color:var(--violet);color:#fff}
.personal-levels input:focus-visible+span{outline:3px solid #8f7bff;outline-offset:2px}
.personal-levels .fine{margin:10px 0 0}
.personal-plan{padding:28px;border-radius:26px;background:var(--sun-soft);border-color:transparent}
.personal-steps{list-style:none;counter-reset:step;margin:14px 0 0;padding:0;display:grid;gap:18px}
.personal-steps li{counter-increment:step;display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:14px;row-gap:3px}
.personal-steps li::before{content:counter(step);grid-row:span 2;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--surface);font-family:var(--mono);font-size:14px;color:var(--ink)}
.personal-steps strong{font-size:16px;color:var(--ink)}
.personal-steps span{font-size:14px;line-height:1.5;color:var(--ink-2)}
@media(max-width:900px){.personal-creation-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:620px){.personal-creator,.personal-plan{padding:20px}.personal-creator h2{font-size:21px}.personal-submit .btn{flex:1 1 100%}.personal-level-pills{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.personal-levels label span{min-width:0;padding:0}}

/* Minhas aulas: the creator, step by step: describe, get an idea, mark the levels, create. */
.personal-eyebrow{display:inline-flex;align-items:center;gap:8px}.personal-eyebrow .spark{width:17px;height:17px}
.personal-creator h2{margin:10px 0 6px}
.personal-lead{font-size:16px;color:var(--ink-2);margin:0 0 20px}
.personal-field label,.personal-ideas>p{display:block;margin:0 0 10px;font-size:15px;font-weight:650;color:var(--ink)}
.personal-field .fine{margin:8px 0 0}
.personal-ideas{display:grid;gap:0}
.personal-example{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;background:var(--surface);border:1.5px solid var(--line);color:var(--ink);font-size:14px}
.personal-example:hover{background:var(--violet-soft);border-color:#c9c1ff;color:var(--ink)}
.personal-levels{border-top:1px solid var(--line);border-radius:0;padding-top:20px}
.personal-levels-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px}
.personal-levels-head legend{float:left;margin:0;font-size:15px;font-weight:650;color:var(--ink)}
.personal-levels-head span{font-family:var(--mono);font-size:12px;color:var(--muted)}
.personal-submit{width:100%;min-height:56px;font-size:16px;gap:10px}.personal-submit .spark{width:20px;height:20px}
.personal-note{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;font-size:13px;color:var(--muted);text-align:center}.personal-note svg{width:15px;height:15px;flex-shrink:0}

/* ===== Estúdio: the lesson page. Three steps in order, then the material in tabs. ===== */
.unit-top{margin-bottom:14px}
.unit-hero{margin-bottom:22px}.unit-hero h1{font-size:clamp(30px,3.4vw,42px);line-height:1.08;margin:6px 0 0}
.unit-sequence{list-style:none;margin:0 0 28px;padding:0;display:flex;flex-wrap:wrap;gap:16px 34px;align-items:stretch}
.seq-step{position:relative;flex:1 1 260px;min-width:0;display:flex;flex-direction:column;gap:10px;padding:22px;border-radius:28px}
.seq-step:not(:last-child)::after{content:'→';position:absolute;right:-27px;top:50%;transform:translateY(-50%);font-size:20px;color:#9a9dbb}
.seq-oral{flex-grow:1.35;color:#fff;background:var(--violet) radial-gradient(110% 120% at 10% 0%,#7c66ff 0%,transparent 58%)}
.seq-story{background:var(--violet-soft)}
.seq-talk{background:var(--sun)}
.seq-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-family:var(--mono);font-size:12px;letter-spacing:1.2px}
.seq-oral .seq-head{color:#ffdc7a}.seq-story .seq-head{color:var(--violet-deep)}.seq-talk .seq-head{color:var(--ink)}
.seq-badge{font-size:11px;letter-spacing:.6px;padding:3px 9px;border-radius:999px}
.seq-badge.now{background:var(--sun);color:var(--ink)}.seq-talk .seq-badge.now{background:var(--surface)}
.seq-badge.done{background:var(--mint-soft);color:#0b6e53}
.seq-step h2{font-size:24px;line-height:1.12;margin:0}.seq-oral h2{color:#fff;font-size:28px}
.seq-progress{display:flex;gap:3px}.seq-progress i{flex:1;height:6px;border-radius:3px;background:rgba(255,255,255,.22)}.seq-progress i.on{background:var(--sun)}
.seq-meta{margin:0;font-size:13px;color:var(--ink-2)}.seq-oral .seq-meta{color:#e6e0ff}
.seq-quote-text{margin:0;padding:10px 12px;border-radius:14px;background:var(--surface);font-size:14px;line-height:1.5;color:var(--ink)}
.seq-friend{display:flex;align-items:center;gap:14px}.seq-friend>div{display:flex;flex-direction:column;gap:4px;min-width:0}.seq-talk .seq-friend h2{font-size:19px}.seq-face .friend-avatar.large{width:56px;height:56px;display:block}
.seq-step>.btn,.seq-actions{margin-top:auto}
.seq-actions{display:flex;flex-direction:column;gap:8px}.seq-actions .btn{width:100%}
.btn.seq-cta{background:var(--sun);color:var(--ink);min-height:52px}.btn.seq-cta:hover{background:#ffd666}
.seq-talk .btn.secondary{background:rgba(255,255,255,.75);border-color:transparent}
/* The unit's activities (unit-activities.js): its score beside the title and, in each step, one row per activity with what was done. */
.unit-hero-row{display:flex;align-items:flex-end;justify-content:space-between;gap:14px 32px;flex-wrap:wrap}
.unit-score{display:flex;flex-direction:column;gap:8px;flex:0 1 260px;min-width:200px;padding-bottom:6px}
.unit-score span{font-family:var(--mono);font-size:12px;letter-spacing:1.2px;color:var(--violet-deep)}
.act-bar{display:flex;gap:4px}.act-bar i{flex:1;height:8px;border-radius:4px;background:#dcdcec}.act-bar i.on{background:var(--mint)}
.seq-acts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.act{width:100%;display:flex;align-items:center;gap:10px;padding:9px 12px 9px 10px;border-radius:14px;background:rgba(255,255,255,.6);text-align:left;color:var(--ink)}
button.act:hover{background:var(--surface)}
.act-mark{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;color:var(--muted)}
.act-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.act-text strong{font-size:14px;font-weight:650;line-height:1.25}
.act-text small{font-size:12px;color:var(--ink-2)}
.act-go{flex-shrink:0;display:grid;place-items:center;color:var(--violet)}
.act[data-state="done"] .act-mark,.act[data-state="just"] .act-mark{background:var(--mint-soft);color:#0b6e53}
.act[data-state="done"] .act-text small,.act[data-state="just"] .act-text small{color:#0b6e53}
.act[data-state="done"] .act-go{color:var(--muted)}
.act[data-state="todo"] .act-mark,.act[data-state="partial"] .act-mark{border:1.5px dashed #a9a6c9}
.act[data-state="partial"] .act-mark::after{content:'';width:8px;height:8px;border-radius:50%;background:#a9a6c9}
.act[data-state="next"]{background:var(--surface);box-shadow:inset 0 0 0 2px var(--violet)}
.act[data-state="next"] .act-mark{background:var(--violet);color:#fff}
.seq-oral .act{background:rgba(255,255,255,.1);color:#fff}.seq-oral button.act:hover{background:rgba(255,255,255,.16)}
.seq-oral .act-text small{color:#e6e0ff}.seq-oral .act[data-state="done"] .act-text small{color:#a8f0d8}
.seq-oral .act-go,.seq-oral .act[data-state="done"] .act-go{color:#ffdc7a}
.seq-oral .act[data-state="todo"] .act-mark,.seq-oral .act[data-state="partial"] .act-mark{border-color:rgba(255,255,255,.55)}
.seq-oral .act[data-state="partial"] .act-mark::after{background:rgba(255,255,255,.7)}
.seq-oral .act[data-state="next"]{background:rgba(255,255,255,.16);box-shadow:inset 0 0 0 2px var(--sun)}
.seq-oral .act[data-state="next"] .act-mark{background:var(--sun);color:var(--ink)}
.seq-talk .act{background:rgba(255,255,255,.55)}
.seq-badge.count{background:rgba(255,255,255,.75);color:var(--violet-deep)}.seq-oral .seq-badge.count{background:rgba(255,255,255,.18);color:#fff}
.tab-acts{margin:14px 0 4px}.tab-acts+.story-why{margin-top:10px}.tab-acts .act{background:var(--bg)}.tab-acts .act[data-state="next"]{background:var(--surface)}
.tab-status{display:inline-flex;align-items:center;gap:8px;width:fit-content;margin:0;padding:6px 12px 6px 8px;border-radius:999px;background:var(--mint-soft);color:#0b6e53;font-size:13px;font-weight:600}
.tab-status[data-state="partial"]{padding-left:12px;background:var(--violet-soft);color:var(--violet-deep)}
.tab-status .act-mark{width:20px;height:20px;background:var(--surface);color:#0b6e53}
.unit-tabs{display:flex;gap:4px;padding:4px;margin-bottom:18px;border-radius:999px;background:var(--surface);border:1px solid var(--line);width:fit-content;max-width:100%;overflow-x:auto}
.unit-tab{flex-shrink:0;min-height:42px;padding:0 20px;border-radius:999px;background:transparent;font-size:14px;font-weight:600;color:var(--ink-2);white-space:nowrap}
.unit-tab:hover{color:var(--ink);background:var(--violet-soft)}
.unit-tab[aria-selected="true"]{background:var(--violet);color:#fff}
.unit-panel{display:grid;gap:20px;max-width:900px}.unit-panel[hidden]{display:none}
.unit-panel .card{padding:28px}
@media(max-width:900px){.seq-step:not(:last-child)::after{display:none}.unit-sequence{gap:14px}}
@media(max-width:620px){.seq-step{flex-basis:100%;padding:18px;border-radius:24px}.seq-oral h2{font-size:24px}.unit-tabs{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;border-radius:22px}.unit-tab{white-space:normal;padding:0 8px;text-align:center}.unit-tab:last-child:nth-child(odd){grid-column:1/-1}.unit-panel .card{padding:20px}}

/* ===== Estúdio: the course page shows the units right away; the rest is in tabs. ===== */
.course-album{flex-wrap:nowrap;align-items:flex-end;justify-content:space-between;gap:16px 28px;margin:24px 0 18px}
.course-album .album-info h1{margin-bottom:0}
.album-continue{flex-shrink:0;min-height:48px;padding:0 22px}.album-continue svg{width:15px;height:15px}
.course-tabs{display:flex;gap:4px;padding:4px;margin-bottom:18px;border-radius:999px;background:var(--surface);border:1px solid var(--line);width:fit-content;max-width:100%}
.course-tab{min-height:40px;padding:0 20px;border-radius:999px;background:transparent;font-size:14px;font-weight:600;color:var(--ink-2);white-space:nowrap}
.course-tab:hover{color:var(--ink);background:var(--violet-soft)}
.course-tab[aria-selected="true"]{background:var(--ink);color:#fff}
.course-panel[hidden]{display:none}
.course-panel>.unit-group:first-child{margin-top:4px}
.course-description{font-size:15px;color:var(--ink-2);margin:0 0 16px}
.course-guide{margin-bottom:16px}
@media(max-width:620px){
 .course-album{flex-direction:column;align-items:stretch;margin:18px 0 14px}.course-album .album-info{flex:none}
 .course-album .album-info h1{font-size:26px;line-height:1.15}
 .album-continue{width:100%}
 .course-tabs{width:100%}.course-tab{flex:1;min-width:0;padding:0 6px;font-size:13px}
}

/* ===== Estúdio: the end of the shadowing as a player. ===== */
.shg-end{max-width:1040px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start;padding:0;background:none;border:0;text-align:left}
.shg-main-col,.shg-side{display:flex;flex-direction:column;gap:14px;min-width:0}
.shg-player{display:flex;flex-direction:column;align-items:center;gap:12px;padding:22px 24px;border-radius:30px;color:#fff;text-align:center;background:var(--violet) radial-gradient(110% 80% at 50% 0%,#7c66ff 0%,transparent 62%)}
.shg-player .friend-call-stage{margin:0 auto;padding:6px}.shg-player .friend-avatar.xl{width:88px;height:88px}
.shg-label{font-family:var(--mono);font-size:11px;letter-spacing:1.2px;color:#ffdc7a}
.shg-player h1{margin:0;color:#fff;font-size:28px;letter-spacing:-.5px}
.shg-none{margin:0;font-size:13px;color:#e6e0ff}
.shg-now{width:100%;padding:14px 16px;border-radius:20px;background:rgba(255,255,255,.12)}
.shg-now>span{font-family:var(--mono);font-size:11px;letter-spacing:1px;color:#ffdc7a}
.shg-now p{margin:4px 0 2px;color:#fff;font-size:21px;font-weight:650;line-height:1.3}.shg-now small{display:block;font-size:13px;color:#e6e0ff}
.shg-track{display:flex;gap:3px;width:100%}.shg-track i{flex:1;height:5px;border-radius:3px;background:rgba(255,255,255,.22)}.shg-track i.done{background:var(--sun)}.shg-track i.now{background:#fff}
.shg-controls{display:flex;align-items:center;gap:18px}
.shg-controls .shg-btn{width:48px;height:48px;background:rgba(255,255,255,.16);color:#fff}
.shg-controls .shg-btn[data-shadow-end="prev"] .icon{transform:none}
.shg-main{display:flex;flex-direction:column;align-items:center;gap:4px;background:transparent;color:#fff;font-size:12px}
.shg-main .icon{box-sizing:content-box;width:26px;height:26px;padding:20px;border-radius:50%;background:var(--sun);color:var(--ink)}
.shg-modes{display:flex;gap:4px;padding:4px;border-radius:999px;background:rgba(255,255,255,.14)}
.shg-modes button{min-height:34px;padding:0 14px;border-radius:999px;background:transparent;color:#fff;font-size:13px;font-weight:600}
.shg-modes button[aria-checked="true"]{background:#fff;color:var(--violet)}
.shg-btn{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;padding:0}.shg-btn .icon{width:15px;height:15px}.shg-btn:disabled{opacity:.4}
.shg-actions{display:flex;gap:10px;flex-wrap:wrap}.shg-actions .btn{flex:1;border-radius:999px}
.shg-next{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px 18px;border-radius:24px;background:var(--sun)}
.shg-next>div:not(.shg-next-actions){flex:1 1 200px;display:flex;flex-direction:column;gap:2px}.shg-next strong{font-size:16px}.shg-next span{font-size:13px;color:#3d3a52}
.shg-next-actions{display:flex;gap:8px;flex-basis:100%}.shg-next-actions .btn{border-radius:999px;min-height:42px}.shg-next .btn.secondary{background:rgba(255,255,255,.75);border-color:transparent}
.shg-end .shg-list{margin:0;padding:8px 14px;border-radius:24px;background:var(--surface);border:1px solid var(--line);gap:0}
.shg-end .shg-list li{gap:10px;padding:10px 8px;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}
.shg-end .shg-list li:first-child{border-top:0}
.shg-end .shg-list li.current{background:var(--violet-soft);border-radius:14px;border-color:transparent}
.shg-n{font-family:var(--mono);font-size:12px;color:var(--muted);width:20px;flex-shrink:0}
.shg-end .shg-list p{font-size:15px;font-weight:600}
.shg-end .shg-pair{flex-wrap:nowrap;gap:6px;align-items:center}
.shg-pair .shg-btn[data-shadow-end="model"]{background:var(--violet-soft);color:var(--violet)}
.shg-pair .shg-btn[data-shadow-end="mine"]{background:var(--sun-soft);color:#8a5a00}
.shg-pair .shg-btn[data-shadow-end="compare"]{background:var(--mint-soft);color:#0b6e53}
.shg-empty{font-size:11px;color:var(--muted);width:70px;text-align:center}
.shg-end .shg-fine{margin:0;font-size:12px;color:var(--muted)}
@media(max-width:900px){.shg-end{grid-template-columns:1fr}}
@media(max-width:620px){.shg-player{padding:18px 16px;border-radius:26px}.shg-player h1{font-size:24px}.shg-now p{font-size:18px}.shg-modes button{padding:0 10px}
 .shg-end .shg-list li{flex-direction:row;align-items:center}.shg-end .shg-list small{display:none}.shg-end .shg-list p{font-size:14px}}
.shg-end .shg-list li>div:first-child{flex:none}.shg-end .shg-list li>div:not(.shg-pair){flex:1 1 auto;min-width:0}
.shg-actions .btn{white-space:nowrap}
@media(max-width:620px){.shg-actions .btn{font-size:14px;padding-inline:12px}}
