.sidebar{width:220px;flex-shrink:0;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;height:100%}@media (max-width: 1099px),(orientation: landscape) and (any-pointer: coarse){.sidebar{width:100%}}.sidebar-header{padding:1rem .9rem .7rem;border-bottom:1px solid var(--border)}.sidebar-title{font-size:.875rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--text-soft)}.sidebar-levels{flex:1 0 8rem;padding:.5rem 0;overflow-y:auto;overflow-x:hidden;min-height:8rem}.sidebar-level{margin-bottom:.1rem}.sidebar-level-btn{width:100%;display:flex;align-items:center;justify-content:space-between;padding:.5rem .9rem;background:none;border:none;cursor:pointer;color:var(--text-mid);transition:background .15s,color .15s;min-height:44px}.sidebar-level-btn:hover{background:var(--teal-pale);color:var(--teal)}.sidebar-level-btn.open{color:var(--teal)}.level-badge{font-size:.875rem;font-weight:700;letter-spacing:.04em}.level-chevron{font-size:.875rem;color:var(--text-soft)}.sidebar-chapters{list-style:none;padding:0 0 .4rem;margin:0}.sidebar-chapter-btn{width:100%;text-align:start;padding:.42rem .9rem .42rem 1.4rem;background:none;border:none;cursor:pointer;font-size:.875rem;color:var(--text-mid);line-height:1.4;transition:color .15s,background .15s;border-left:2px solid transparent;min-height:44px}.sidebar-chapter-btn:hover{color:var(--teal);background:var(--teal-pale)}.sidebar-chapter-btn.active{color:var(--teal);border-left-color:var(--teal);background:var(--teal-pale);font-weight:600}.sidebar-progress{flex-shrink:0;margin:0 .7rem .9rem;padding:.7rem .8rem .75rem;border:1px solid var(--border);border-radius:10px;background:var(--surface);display:flex;flex-direction:column;gap:.55rem}.sidebar-progress-title{font-size:.875rem;font-weight:700;color:var(--text-mid)}.sidebar-progress-row{display:flex;align-items:center;gap:.65rem}.progress-dial{flex-shrink:0}.progress-dial-label{font-size:12px;font-weight:700;fill:var(--text-mid)}.sidebar-progress-text{display:flex;flex-direction:column;line-height:1.25}.sidebar-progress-label{font-size:.875rem;color:var(--text-mid);font-weight:600}.sidebar-progress-count{font-size:.875rem;color:var(--text-soft)}.sidebar-progress-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--border);background:var(--surface);color:var(--text-mid);padding:.42rem .6rem;border-radius:7px;font-size:.875rem;font-weight:600;cursor:pointer;transition:background .15s,color .15s,border-color .15s;min-height:44px}.sidebar-progress-btn:not(:disabled):hover{background:var(--teal-pale);border-color:var(--teal);color:var(--teal)}.sidebar-progress-btn:disabled{cursor:not-allowed;opacity:.7}.sidebar-level-card{flex-shrink:0;margin:0 .7rem .75rem;padding:.75rem .85rem;border:1px solid var(--border);border-radius:10px;background:var(--surface);display:flex;flex-direction:column;gap:.5rem}.student-level-row{display:flex;align-items:center;gap:.5rem;margin-top:.25rem;flex-wrap:wrap}.sidebar-retake-btn{align-self:flex-start;margin-top:.25rem;padding:6px 12px;border:1px solid var(--border);border-radius:7px;background:none;color:var(--teal);font-size:14px;font-weight:600;cursor:pointer;transition:background .15s,color .15s,border-color .15s;min-height:44px}.sidebar-retake-btn:hover:not(:disabled){background:var(--teal-pale);border-color:var(--teal)}.sidebar-retake-btn:disabled{opacity:.6;cursor:default}.sidebar-retake-confirm{display:flex;flex-direction:column;gap:.4rem;margin-top:.25rem}.sidebar-retake-confirm-text{font-size:12px;color:var(--text-muted, #6b7280);line-height:1.35}.sidebar-retake-actions{display:flex;gap:.4rem}.sidebar-retake-btn.danger{color:#fff;background:var(--teal);border-color:var(--teal)}.sidebar-retake-btn.danger:hover:not(:disabled){filter:brightness(.95)}.sidebar-retake-btn.ghost{color:var(--text-muted, #6b7280)}.student-level-badge{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;background:var(--teal);color:#fff;font-weight:700;font-size:14px;letter-spacing:.02em}.student-level-badge.estimating{background:#7b8794}.student-assessment-status{font-size:.875rem;color:var(--text-soft);text-transform:capitalize}.student-roadmap{display:grid;gap:4px;margin-top:.25rem}.student-roadmap-stage{font-size:.875rem;font-weight:700;color:var(--text-mid)}.student-roadmap-focus,.student-roadmap-next{font-size:.875rem;line-height:1.4;color:var(--text-soft)}:root{--pcard-mint: #e8f7f3;--pcard-peach: #fff0e8;--pcard-blue: #eaf4fb;--pcard-lavender: #f2ebfb}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--pcard-mint: #17322c;--pcard-peach: #33241c;--pcard-blue: #17293a;--pcard-lavender: #262138}}:root[data-theme=dark]{--pcard-mint: #17322c;--pcard-peach: #33241c;--pcard-blue: #17293a;--pcard-lavender: #262138}.profiles-screen{height:100dvh;max-height:100dvh;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;background:var(--bg);padding:max(.75rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) max(1.25rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left))}@supports not (height: 100dvh){.profiles-screen{height:100vh;max-height:100vh}}.profiles-topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;max-width:960px;margin:0 auto 1.25rem}.profiles-topbar__logo{height:40px;width:auto}.profiles-topbar__actions{display:flex;align-items:center;gap:.75rem}.profiles-main{width:100%;max-width:960px;margin:0 auto}.eyebrow{margin:0 0 .5rem;color:var(--teal);font-weight:800;font-size:.8rem;letter-spacing:.13em;text-transform:uppercase}.screen-heading{margin:0;color:var(--text);font-weight:800;font-size:clamp(1.9rem,7vw,3rem);line-height:1.05;letter-spacing:-.02em;text-wrap:balance}.screen-lead{margin:.6rem 0 0;color:var(--text-mid);font-size:clamp(1rem,3.5vw,1.25rem);line-height:1.5;max-width:44ch}.profiles-loading{text-align:center;color:var(--text-mid);margin-top:2rem}.profiles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,200px));justify-content:start;gap:.85rem;margin-top:1.5rem}@media (max-width: 599px){.profiles-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.profiles-grid .profile-card{min-height:200px}.profiles-grid .profile-image-wrap{height:128px}.profiles-grid .profile-name{font-size:1rem;line-height:1.4}.profiles-grid .profile-progress{font-size:.875rem}.profiles-grid .profile-type{top:6px;inset-inline-start:6px;padding:0 .4rem;font-size:.875rem}.profiles-grid .profile-lock{top:6px;inset-inline-end:6px}.profiles-topbar{gap:.5rem;flex-wrap:wrap}.profiles-topbar__actions{flex-wrap:wrap;gap:.35rem}}.profile-card{position:relative;width:100%;min-width:0;overflow:hidden;min-height:220px;padding:0 0 .9rem;border:2px solid var(--teal-mid);border-radius:1.15rem;text-align:center;color:var(--text);background:var(--surface);box-shadow:var(--shadow-md);cursor:pointer;font:inherit;transition:transform .16s,border-color .16s,box-shadow .16s}.profile-card:hover{transform:translateY(-3px);border-color:var(--teal-light);box-shadow:var(--shadow-lg)}.profile-card:active{transform:translateY(0)}.profile-card:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.profile-image-wrap{display:block;height:140px;margin-bottom:.75rem;overflow:hidden;background:var(--pcard-mint)}.profile-image-wrap.tint-mint{background:var(--pcard-mint)}.profile-image-wrap.tint-peach{background:var(--pcard-peach)}.profile-image-wrap.tint-blue{background:var(--pcard-blue)}.profile-image-wrap.tint-lavender{background:var(--pcard-lavender)}.profile-image{width:100%;height:100%;object-fit:contain;object-position:center bottom;display:block}.profile-name{display:block;font-size:1.05rem;font-weight:800;color:var(--text);overflow-wrap:anywhere;padding:0 .4rem}.profile-progress{display:block;margin-top:.25rem;color:var(--text-mid);font-size:.82rem}.profile-type,.profile-lock{position:absolute;z-index:2;top:9px;display:grid;place-items:center;border-radius:999px;box-shadow:0 4px 12px #0f3b3a24}.profile-type{inset-inline-start:9px;min-height:26px;padding:0 .65rem;color:var(--teal);font-size:.68rem;font-weight:800;background:#fffffff0}.profile-lock{inset-inline-end:9px;width:30px;height:30px;color:#fff;background:var(--teal)}.profile-lock svg{display:block}.add-profile-card{grid-column:1 / -1;min-height:88px;display:flex;align-items:center;gap:1rem;padding:1.1rem 1.25rem;border:2px dashed var(--teal-light);border-radius:1.15rem;text-align:start;color:var(--text);background:color-mix(in srgb,var(--surface) 78%,transparent);cursor:pointer;font:inherit;transition:border-color .15s,background .15s}.add-profile-card:hover{border-color:var(--teal);background:var(--surface)}.add-profile-card:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.plus-bubble{flex:0 0 auto;width:56px;height:56px;display:grid;place-items:center;border-radius:50%;color:#fff;font-size:2rem;font-weight:300;line-height:1;background:var(--teal)}.add-title{display:block;font-size:1.15rem;font-weight:800}.add-copy{display:block;margin-top:.15rem;color:var(--text-mid);font-size:.9rem}.privacy-note{display:flex;align-items:center;gap:.6rem;margin:1.25rem 2px .5rem;color:var(--text-mid);font-size:.9rem}.privacy-note>span[aria-hidden]{color:var(--teal)}.profile-dialog__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#1a2e2a80;padding:1rem;z-index:50}.profile-dialog__card{width:100%;max-width:360px;background:var(--surface);border-radius:1.25rem;box-shadow:var(--shadow-lg);padding:1.75rem 1.5rem;display:flex;flex-direction:column;gap:.85rem;max-height:90dvh;overflow-y:auto}.profile-dialog__card--wide{max-width:440px}.profile-pin__input{font-size:1.8rem;letter-spacing:.5em;text-align:center;padding:.7rem;border:1px solid var(--teal-mid);border-radius:.75rem;color:var(--text)}.profile-pin__input:focus{outline:none;border-color:var(--teal)}.profile-dialog__actions{display:flex;gap:.75rem;justify-content:flex-end}.profile-dialog__resend{align-self:flex-start;background:none;border:0;padding:.25rem 0;margin:.1rem 0 .25rem;color:var(--teal);font-weight:600;font-size:.85rem;cursor:pointer;text-decoration:underline}.profile-dialog__resend:hover:not(:disabled){color:var(--teal-light)}.profile-dialog__resend:disabled{color:var(--text-soft);cursor:not-allowed;text-decoration:none}.profile-info{color:var(--teal);font-size:.85rem;margin:.15rem 0}.profile-add__type{border:0;padding:0;margin:0}.profile-add__type legend{font-size:.8rem;color:var(--text-mid);margin-bottom:.3rem}.profile-add__type .profile-add__choices{display:flex;gap:1.25rem}.profile-add__type label{display:inline-flex;align-items:center;gap:.45rem;cursor:pointer;color:var(--text)}.profile-add__type input[type=radio]{width:1.05rem;height:1.05rem;margin:0;accent-color:var(--teal);cursor:pointer}.guardian-consent{display:flex;align-items:flex-start;gap:.55rem;cursor:pointer;color:var(--text-mid);line-height:1.35}.guardian-consent input[type=checkbox]{width:1.05rem;height:1.05rem;margin:.15rem 0 0;flex:0 0 auto;accent-color:var(--teal);cursor:pointer}.avatar-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:.6rem;margin-top:.25rem}.avatar-picker__item{min-width:0;border:3px solid transparent;border-radius:1rem;padding:3px;background:none;cursor:pointer;transition:border-color .15s,transform .1s}.avatar-picker__item:hover{border-color:var(--teal-mid)}.avatar-picker__item:active{transform:scale(.96)}.avatar-picker__item:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.avatar-picker__item img{width:100%;height:auto;aspect-ratio:1 / 1;object-fit:cover;border-radius:.8rem;display:block}.avatar-picker__item.is-selected{border-color:var(--teal)}.btn-primary{background:var(--teal);color:#fff;border:0;border-radius:.75rem;padding:.7rem 1.1rem;font-weight:700;cursor:pointer}.btn-primary:hover:not(:disabled){background:var(--teal-light)}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background:var(--teal-pale);color:var(--teal);border:0;border-radius:.75rem;padding:.7rem 1.1rem;font-weight:600;cursor:pointer}.btn-link{background:none;border:0;color:var(--teal);cursor:pointer;text-decoration:underline;font:inherit}.profile-error{color:#c0392b;margin:0;font-size:.85rem}.profile-hint{color:var(--text-mid, #4a6b63);margin:-.25rem 0 0;font-size:.8rem}.profile-switch-chip{display:inline-flex;align-items:center;gap:.5rem;padding:.3rem .6rem .3rem .3rem;border:1px solid var(--teal-mid);border-radius:999px;background:var(--surface);cursor:pointer;font:inherit;color:var(--text)}.profile-switch-chip:hover{border-color:var(--teal)}.profile-switch-chip img,.profile-switch-chip .profile-switch-chip__img,.profile-switch-chip .profile-switch-chip__fallback{width:28px;height:28px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:var(--teal-pale);color:var(--teal);font-weight:700;font-size:.8rem;flex:0 0 auto}.profile-switch-chip__name{font-size:.85rem;font-weight:600;max-width:8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-switch-chip__caret{color:var(--text-mid);font-size:.7rem}.landing-topbar{display:flex;justify-content:flex-end;width:100%;margin-bottom:.5rem}.settings-profile-switch{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem 0;border-bottom:1px solid var(--teal-mid);margin-bottom:1rem}.settings-profile-switch>span{color:var(--text-mid);font-size:.9rem}.profiles-manage-link{display:inline-flex;align-items:center;min-height:44px;margin:0 auto .25rem;padding:.4rem}.settings-manage-link{display:inline-block;margin-top:.5rem}.manage-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.manage-row{display:flex;align-items:center;gap:.75rem;padding:.75rem;border:1px solid var(--teal-mid);border-radius:1rem;background:var(--surface);flex-wrap:wrap}.manage-row__avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;background:var(--teal-pale);flex-shrink:0}.manage-row__meta{display:flex;flex-direction:column;min-width:0;flex:1}.manage-row__name{font-weight:600;overflow-wrap:anywhere}.manage-row__tags{font-size:.78rem;color:var(--text-mid)}.manage-row__actions{display:flex;gap:.75rem;flex-wrap:wrap}.manage-row__remove{color:#c0392b}@media (min-width: 480px){.manage-row__actions{margin-inline-start:auto}}.dashboard{height:100dvh;max-height:100dvh;overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;align-items:center;justify-content:safe center;padding:max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) max(1.25rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left))}@supports not (height: 100dvh){.dashboard{height:100vh;max-height:100vh}}.dashboard__inner{width:100%;max-width:600px;flex-shrink:0}.dashboard__topbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1.5rem}.dashboard__id{display:inline-flex;align-items:center;gap:.55rem;min-width:0;padding:.3rem .85rem .3rem .35rem;border:1px solid var(--teal-mid);border-radius:999px;background:var(--surface)}.dashboard__id-name{font-weight:700;font-size:.95rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:12rem}.dashboard__avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;background:var(--teal-pale);flex:0 0 auto}.journey-card,.stage-card{border:1px solid var(--line);border-radius:1.25rem;background:var(--surface);box-shadow:var(--shadow-md);padding:1.4rem;margin-top:1.1rem}.journey-card h2{margin:0;font-size:1.3rem}.stage-card{background:linear-gradient(145deg,var(--teal-pale),var(--surface) 68%)}.stage-card h2{margin:.4rem 0 1rem;font-size:clamp(1.5rem,6vw,2rem);line-height:1.1;text-wrap:balance}.journey-steps{display:grid;grid-template-columns:repeat(3,1fr);margin-top:1.4rem}.journey-step{position:relative;text-align:center;color:var(--text-soft)}.journey-step:not(:last-child):after{content:"";position:absolute;z-index:0;top:22px;inset-inline-start:60%;width:80%;height:3px;background:var(--teal-mid)}.journey-step.done:not(:last-child):after{background:var(--teal)}.journey-number{position:relative;z-index:1;width:46px;height:46px;margin:0 auto .6rem;display:grid;place-items:center;border:2px solid var(--teal-mid);border-radius:50%;font-size:1.15rem;font-weight:800;background:var(--surface)}.journey-step.done,.journey-step.current{color:var(--text)}.journey-step.done .journey-number{border-color:var(--teal);color:#fff;background:var(--teal)}.journey-step.current .journey-number{border:5px solid var(--teal);color:var(--teal);box-shadow:0 0 0 5px var(--teal-pale)}.journey-label{display:block;font-weight:700;font-size:.9rem}.here-pill{display:inline-block;margin-top:.45rem;padding:.3rem .7rem;border-radius:999px;color:var(--teal);font-size:.78rem;font-weight:800;background:var(--teal-pale)}.dashboard__primary{width:100%;padding:.95rem;font-size:1.05rem;border-radius:.85rem;margin-top:.5rem}.block-button{width:100%}.dashboard__nav{margin-top:1.25rem;text-align:center}@media (min-width: 768px){.profiles-grid{grid-template-columns:repeat(auto-fill,minmax(180px,220px));gap:1.1rem}.profile-card{min-height:260px}.profile-image-wrap{height:180px}.profile-name{font-size:1.2rem}.add-profile-card{grid-column:1 / -1}.dashboard__inner{max-width:720px}.journey-card,.stage-card{padding:1.75rem}.journey-label{font-size:1rem}}@media (min-width: 1024px){.profiles-grid{gap:1.35rem}.dashboard__inner{max-width:860px}.dashboard__primary{min-width:380px}}.avatar-upload{display:flex;flex-direction:column;align-items:center;gap:.9rem;margin:.25rem 0 .5rem}.avatar-upload__frame{width:120px;height:120px;border-radius:50%;overflow:hidden;border:1px solid var(--teal-mid);background:var(--teal-pale);display:grid;place-items:center;flex:0 0 auto}.avatar-upload__img{width:100%;height:100%;object-fit:cover;display:block}.avatar-upload .profile-error,.profile-dialog__card--photo,.profile-dialog__card--photo .auth-title,.profile-dialog__card--photo .auth-subtitle{text-align:center}.preclass{--preclass-teal: #086f66;--preclass-ink: #12322f;--preclass-soft: #526b68;height:100vh;height:100dvh;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;background:#f6f9f8;color:var(--preclass-ink);padding:clamp(16px,3vw,40px);padding-bottom:max(24px,env(safe-area-inset-bottom));font-size:1rem;line-height:1.6}.preclass *,.preclass *:before,.preclass *:after{box-sizing:border-box}.preclass button{font:inherit;cursor:pointer}.preclass button:focus-visible,.preclass a:focus-visible{outline:3px solid #086f66;outline-offset:4px}.preclass__shell{width:100%;max-width:1060px;margin-inline:auto}.preclass__header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:clamp(32px,5vw,64px)}.preclass__brand{display:block;width:clamp(108px,15vw,164px);height:72px;object-fit:contain}.preclass__profile{position:relative;min-width:0}.preclass__profile-trigger{display:flex;align-items:center;gap:10px;min-height:56px;max-width:260px;border:1px solid #e3ece9;border-radius:99px;background:#fff;padding:6px 14px 6px 6px;padding-inline-start:6px;padding-inline-end:14px;color:var(--preclass-ink);box-shadow:0 4px 14px #12322f05}.preclass__profile-trigger>span:not(.preclass__chevron){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.preclass__avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;flex-shrink:0}.preclass__chevron{font-size:1.5rem;line-height:1;flex-shrink:0}.preclass__profile-options{position:absolute;z-index:30;inset-block-start:calc(100% + 10px);inset-inline-end:0;width:min(272px,calc(100vw - 32px));background:#fff;border:1px solid #dce8e4;border-radius:16px;box-shadow:0 14px 40px #12322f20;padding:8px}.preclass__profile-options button{display:block;width:100%;min-height:48px;padding:10px 14px;text-align:start;border:0;border-radius:8px;background:transparent;color:var(--preclass-ink);white-space:normal}.preclass__profile-options button:hover{background:#edf7f3}.preclass__greeting h1{font-size:clamp(1.7rem,3.5vw,2.5rem);font-weight:750;line-height:1.35;margin:0 0 8px;overflow-wrap:anywhere}.preclass__greeting>p{color:var(--preclass-soft);margin:0 0 28px;font-size:1.0625rem}.preclass__main-card{background:#fff;border:1px solid #e3ece9;border-radius:26px;box-shadow:0 8px 28px #12322f07;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);padding:clamp(24px,4vw,44px);gap:36px;align-items:center}.preclass__levels{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:clamp(14px,3vw,32px);text-align:center}.preclass__levels>div{flex:1 1 90px;min-width:0}.preclass__levels>div>span{display:block;color:var(--preclass-soft);font-size:1rem}.preclass__levels strong{font-size:clamp(2.5rem,5vw,4rem);color:#163b47;display:block;line-height:1.3;margin-top:12px}.preclass__levels strong.preclass__target{color:#163b47}.preclass__direction{color:#9aaeaa;font-size:1.8rem;padding-top:30px}.preclass__unknown{font-size:1.3rem;color:var(--preclass-teal);font-weight:650;margin:16px 0}.preclass__focus{padding-inline-start:36px;border-inline-start:1px solid #e3ece9;min-width:0}.preclass__eyebrow{color:var(--preclass-teal);font-size:1rem;font-weight:650;margin:0 0 10px}.preclass__focus h2{font-size:clamp(1.5rem,2.6vw,1.9rem);line-height:1.5;margin:0 0 24px;overflow-wrap:anywhere}.preclass__primary{display:flex;justify-content:center;align-items:center;gap:18px;width:100%;min-height:56px;padding:14px 20px;background:var(--preclass-teal);color:#fff;border:1px solid var(--preclass-teal);border-radius:16px;font-weight:650!important;white-space:normal;box-shadow:0 5px 14px #086f6615}.preclass__primary:hover{background:#055c54}.preclass__duration{display:flex;justify-content:center;align-items:center;gap:7px;text-align:center;color:var(--preclass-soft);font-size:1rem;margin:10px 0 0}.preclass__duration svg{flex-shrink:0}.preclass__saved{font-size:1rem;color:var(--preclass-soft);margin:-8px 0 20px}.preclass__error{font-size:1rem;color:#a33d32;margin-top:16px}.preclass__progress-preview{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px auto 0;padding:22px 28px;border:1px solid #dcece5;border-radius:22px;background:#eef7f3}.preclass__progress-copy{min-width:0}.preclass__progress-copy>p{color:var(--preclass-soft);margin:4px 0;overflow-wrap:anywhere}.preclass__achievement{color:var(--preclass-ink)!important;font-weight:650;display:flex;align-items:center;gap:10px}.preclass__achievement>svg{color:#b65c3f;flex-shrink:0}.preclass__progress-preview>.preclass__text-link{flex-shrink:0}.preclass__text-link{display:inline-flex;gap:10px;align-items:center;justify-content:center;color:var(--preclass-teal);min-height:48px;padding:10px 14px;border:0;background:transparent;font-weight:650!important;text-decoration:underline;text-underline-offset:4px}.preclass__loading{padding-block:48px;max-width:550px}.preclass--kid .preclass__main-card{border-color:#d7ebe2}.preclass__back{margin-inline-start:-14px;margin-bottom:16px}.preclass__report-goal,.preclass__report-summary,.preclass__skill,.preclass__report-empty{background:#fff;border:1px solid #e3ece9;border-radius:22px;padding:24px;min-width:0}.preclass__report-goal h2,.preclass__report-summary h2,.preclass__skill h3{margin:0 0 10px;font-size:1.25rem}.preclass__report-goal>p{font-size:1.25rem;margin:0;overflow-wrap:anywhere}.preclass__report-levels{display:flex;flex-wrap:wrap;gap:20px;margin:16px 0 0}.preclass__report-levels>div{display:flex;gap:10px;align-items:baseline}.preclass__report-levels dt{color:var(--preclass-soft)}.preclass__report-levels dd{color:var(--preclass-teal);font-size:1.5rem;font-weight:700;margin:0}.preclass__skills-heading{font-size:1.4rem;margin:32px 0 16px}.preclass__skills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.preclass__skill h3{display:flex;align-items:center;gap:12px;color:var(--preclass-teal)}.preclass__skill-icon{padding:10px;border-radius:14px;background:#eef7f3;display:inline-flex}.preclass__skill p{margin:10px 0;color:var(--preclass-soft);overflow-wrap:anywhere}.preclass__skill h4{font-size:1rem;margin:20px 0 4px}.preclass__skill h4+p{margin-top:0}.preclass__report-summary{margin-top:24px}.preclass__report-summary>p,.preclass__report-empty>p{color:var(--preclass-soft);margin:8px 0}.preclass__evidence-note{margin:24px 0;color:var(--preclass-soft);font-size:1rem}@media (max-width: 767px){.preclass__header{gap:12px;margin-bottom:32px}.preclass__brand{width:112px;height:62px}.preclass__profile-trigger{max-width:190px}.preclass__main-card{grid-template-columns:minmax(0,1fr);padding:24px;gap:26px}.preclass__focus{padding-inline-start:0;border-inline-start:0;padding-top:26px;border-top:1px solid #e3ece9}.preclass__focus h2{font-size:1.7rem}.preclass__levels strong{font-size:3.4rem}.preclass__skills{grid-template-columns:minmax(0,1fr)}.preclass__progress-preview{flex-direction:column;align-items:stretch;gap:8px;padding:20px}.preclass__progress-preview>.preclass__text-link{align-self:flex-start;padding-inline-start:0}}@media (max-width: 359px){.preclass__header{gap:8px}.preclass__brand{width:88px;height:56px}.preclass__profile-trigger{max-width:170px;gap:6px;padding-inline-end:10px}.preclass__main-card{padding:20px}.preclass__levels{gap:10px}.preclass__levels strong{font-size:2.8rem}}@media (prefers-reduced-motion: reduce){.preclass *{scroll-behavior:auto;transition:none}}.preclass__focus-detail{font-size:1rem;line-height:1.65;color:var(--preclass-soft);overflow-wrap:anywhere;margin:-12px 0 20px}.tutor-picker{display:flex;flex-direction:column;align-items:stretch}.tutor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem;margin:1.25rem 0 .5rem}.tutor-tile{display:flex;flex-direction:column;align-items:center;gap:.6rem;padding:1rem .75rem;border:2px solid var(--card-border, #e2e8e5);border-radius:1.1rem;background:var(--card-bg, #fff);cursor:pointer;transition:border-color .15s,transform .1s,box-shadow .15s}.tutor-tile:hover{transform:translateY(-3px);border-color:var(--teal-light, #7fc9b8);box-shadow:var(--shadow-lg, 0 12px 28px rgba(0, 0, 0, .12))}.tutor-tile:focus-visible{outline:2px solid var(--teal, #0f766e);outline-offset:2px}.tutor-tile.is-selected{border-color:var(--teal, #0f766e);box-shadow:0 0 0 3px color-mix(in srgb,var(--teal, #0f766e) 22%,transparent)}.tutor-tile__frame{position:relative;width:116px;height:116px;border-radius:50%;overflow:hidden;background:var(--pcard-mint, #e8f7f3)}.tutor-tile__frame img{width:100%;height:100%;object-fit:cover;display:block}.tutor-tile__check{position:absolute;inset-block-start:6px;inset-inline-end:6px;width:26px;height:26px;display:grid;place-items:center;color:#fff;background:var(--teal, #0f766e);border-radius:50%;box-shadow:0 1px 4px #00000040}.tutor-tile__name{font-weight:700;font-size:1.05rem;color:var(--ink, #10201c)}.current-tutor-before-class{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;padding:.75rem;border:1px solid #d7e8e3;border-radius:1rem;background:#f0f9f6}.current-tutor-before-class img{border-radius:50%;object-fit:cover;flex-shrink:0}.current-tutor-before-class>div{display:flex;flex-direction:column;text-align:start;gap:.2rem}.current-tutor-before-class>div>span{font-size:.85rem;color:#4d6460}.current-tutor-before-class button{margin-inline-start:auto;min-height:44px}.tutor-tile:disabled{cursor:wait}@media (max-width: 360px){.current-tutor-before-class{flex-wrap:wrap}.current-tutor-before-class button{margin-inline-start:0}}.tutor-picker__cta{margin-top:1.25rem;align-self:stretch}@media (min-width: 700px){.tutor-grid{grid-template-columns:repeat(3,1fr)}.tutor-picker__cta{align-self:center;min-width:260px}}.plp{height:100dvh;max-height:100dvh;background:var(--bg);color:var(--text);display:flex;flex-direction:column;align-items:center;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;font-family:inherit}@supports not (height: 100dvh){.plp{height:100vh;max-height:100vh}}.plp-topbar{width:100%;max-width:460px;display:flex;align-items:center;justify-content:space-between;padding:1.15rem 1.35rem .5rem}.plp-logo{height:52px;width:auto;object-fit:contain}.plp-lang{display:inline-flex;align-items:center;gap:.4rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-pill);padding:.5rem .95rem;font-size:.9rem;font-weight:600;font-family:inherit;color:var(--text);cursor:pointer;box-shadow:var(--shadow-sm);transition:border-color .15s,color .15s}.plp-lang:hover{border-color:var(--teal-mid);color:var(--teal)}.plp-main{width:100%;max-width:460px;flex:1 0 auto;display:flex;flex-direction:column;align-items:center;text-align:center;padding:.75rem 1.35rem calc(2rem + env(safe-area-inset-bottom,0px))}.plp-pill{display:inline-block;background:var(--teal-pale);color:var(--teal);font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:.5rem 1rem;border-radius:var(--radius-pill);margin-top:1rem}[dir=rtl] .plp-pill{letter-spacing:normal;text-transform:none;font-size:.85rem}.plp-title{font-size:clamp(2rem,9.5vw,2.5rem);line-height:1.12;font-weight:700;letter-spacing:-.015em;color:var(--text);margin:1.1rem 0 0;text-wrap:balance}.plp-subtitle{font-size:1.1rem;color:var(--teal);font-weight:500;margin:.85rem 0 0}.plp-hero{position:relative;width:calc(100% + 2.7rem);margin:1.4rem -1.35rem .5rem;height:360px;overflow:hidden;background:#eef3f1 url(/textures/go-migo-background.png) center 30% / cover no-repeat}.plp-hero-img{position:absolute;bottom:0;height:auto;object-fit:contain}.plp-hero-center{left:50%;transform:translate(-50%);height:92%;z-index:2;filter:drop-shadow(0 6px 16px rgba(26,46,42,.18))}.plp-hero-side{height:76%;z-index:1}.plp-hero-left{left:1%}.plp-hero-right{right:1%}.plp-hero-fade{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;pointer-events:none;background:linear-gradient(to bottom,var(--bg) 0%,transparent 18%,transparent 70%,var(--bg) 100%)}.plp-steps{display:flex;align-items:flex-start;justify-content:center;gap:.5rem;width:100%;margin-top:.5rem}.plp-step{display:flex;flex-direction:column;align-items:center;gap:.55rem;flex:0 0 auto}.plp-step-label{font-size:.92rem;font-weight:600;color:var(--text-mid)}.plp-step-arrow{color:var(--text-soft);margin-top:1.1rem;flex:0 0 auto}[dir=rtl] .plp-step-arrow{transform:scaleX(-1)}.plp-step-icon{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;border:1.5px solid var(--border);background:var(--surface);color:var(--teal);box-shadow:var(--shadow-sm)}.plp-plan{display:inline-flex;align-items:center;gap:0;height:64px;padding:0 .85rem;border-radius:var(--radius-pill);border:1.5px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm)}.plp-plan-node{width:15px;height:15px;border-radius:50%;border:2px solid var(--teal-mid);background:var(--surface);position:relative}.plp-plan-node+.plp-plan-node{margin-inline-start:22px}.plp-plan-node+.plp-plan-node:before{content:"";position:absolute;top:50%;inset-inline-end:100%;width:22px;height:2px;background:var(--teal-mid);transform:translateY(-50%)}.plp-plan-done{width:26px;height:26px;border-color:var(--teal);background:var(--teal);color:#fff;display:inline-flex;align-items:center;justify-content:center}.plp-plan-done+.plp-plan-node{margin-inline-start:26px}.plp-plan-done+.plp-plan-node:before{inset-inline-end:100%;width:26px}.plp-ring{position:relative;width:64px;height:64px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:conic-gradient(var(--teal) 0% 70%,var(--teal-mid) 70% 100%)}.plp-ring:before{content:"";position:absolute;width:52px;height:52px;border-radius:50%;background:var(--bg)}.plp-ring-val{position:relative;font-size:.9rem;font-weight:700;color:var(--teal)}.plp-actions{width:100%;display:flex;flex-direction:column;gap:.85rem;margin-top:2rem}.plp-btn{width:100%;padding:1.05rem 1.5rem;border-radius:var(--radius-pill);font-size:1.05rem;font-weight:700;font-family:inherit;cursor:pointer;border:2px solid transparent;transition:background .15s,color .15s,border-color .15s,transform .15s,box-shadow .15s}.plp-btn-primary{background:var(--teal);color:#fff;box-shadow:0 6px 18px #3d786847}.plp-btn-primary:hover{background:var(--teal-light);transform:translateY(-2px);box-shadow:0 10px 26px #3d786859}.plp-btn-outline{background:var(--surface);color:var(--teal);border-color:var(--teal-mid)}.plp-btn-outline:hover{border-color:var(--teal);background:var(--teal-pale)}@media (max-height: 720px){.plp-hero{height:280px}.plp-title{font-size:clamp(1.8rem,8.5vw,2.2rem)}.plp-pill{margin-top:.5rem}}@media (max-width: 360px){.plp-step-arrow{margin-top:.9rem}.plp-plan{padding:0 .6rem}}.notification-settings{width:min(100%,520px);margin:18px auto 8px;padding:16px;border:1px solid #dfe8e5;border-radius:8px;background:#fff;color:#17332d}.notify-heading,.notify-channel,.notify-quiet{display:flex;align-items:center}.notify-heading{gap:8px}.notify-heading h2{margin:0;font-size:1rem;letter-spacing:0}.notify-channels{display:grid;gap:8px;margin-top:14px}.notify-channel{min-height:42px;gap:9px;padding:8px 10px;border:1px solid #e3e9e7;border-radius:6px}.notify-channel span{flex:1}.notify-channel input{width:18px;height:18px;accent-color:#2f8069}.notify-channel small{color:#7d8c88}.notify-channel.unavailable{color:#7d8c88;background:#f7f9f8}.notify-email{width:100%;min-height:42px;box-sizing:border-box;margin-top:10px;padding:9px 11px;border:1px solid #ccd8d4;border-radius:6px;font:inherit}.notify-quiet{gap:8px 12px;margin-top:12px;flex-wrap:wrap}.notify-quiet-label{flex:1;min-width:130px}.notify-quiet-range{display:flex;align-items:center;gap:8px;flex-shrink:0}.notify-quiet-range input{min-height:38px;border:1px solid #ccd8d4;border-radius:6px;padding:6px;font:inherit}.notify-consent{margin:10px 0;color:#667a74;font-size:.82rem}.notify-save{width:100%;min-height:42px;border:0;border-radius:6px;background:#2f8069;color:#fff;font:inherit;font-weight:600;cursor:pointer}.notify-save:disabled{opacity:.55;cursor:default}.notify-result{margin:8px 0 0;text-align:center;font-size:.85rem}@media (max-width: 520px){.notification-settings{padding:13px}.notify-quiet-label{width:100%;flex-basis:100%}}.settings-page{height:100dvh;max-height:100dvh;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;position:relative;background:radial-gradient(circle at 88% 4%,rgba(208,232,227,.65),transparent 32%),radial-gradient(circle at 8% 96%,rgba(245,196,184,.45),transparent 28%),var(--bg);padding:max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}@supports not (height: 100dvh){.settings-page{height:100vh;max-height:100vh}}.settings-shell{width:min(100%,680px);margin:0 auto;padding:24px;border:1px solid var(--border);border-radius:24px;background:#fffffff5;box-shadow:var(--shadow-lg)}.settings-back{min-height:44px;display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:0;border-radius:var(--radius-pill);background:var(--teal-pale);color:var(--teal);font:inherit;font-size:.88rem;font-weight:700;cursor:pointer}.settings-back:hover{background:var(--teal-mid)}.settings-back:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.settings-page[dir=rtl] .settings-back svg{transform:rotate(180deg)}.settings-header{display:flex;align-items:center;gap:16px;margin:22px 0 4px;text-align:start}.settings-header img{width:58px;height:58px;object-fit:contain;flex:none}.settings-header h1{margin:0;color:var(--text);font-size:clamp(1.45rem,4vw,2rem);line-height:1.15}.settings-header p{margin:5px 0 0;color:var(--text-mid);font-size:.92rem;line-height:1.5}.settings-shell .notification-settings{width:100%;margin:22px 0 0;border-radius:14px;box-shadow:none}@media (min-width: 768px){.settings-page{padding-top:max(44px,env(safe-area-inset-top));padding-bottom:max(44px,env(safe-area-inset-bottom))}.settings-shell{padding:32px}}@media (max-width: 520px){.settings-page{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.settings-shell{padding:18px 14px;border-radius:18px}.settings-header{align-items:flex-start;margin-top:18px}.settings-header img{width:48px;height:48px}}:root{--teal: #3d7868;--teal-light: #356f61;--teal-pale: #eaf3f1;--teal-mid: #d0e8e3;--peach: #e8907a;--peach-light: #fdf1ee;--peach-mid: #f5c4b8;--bg: #f7f9f8;--surface: #ffffff;--border: #e2ebe8;--text: #1a2e2a;--text-mid: #4a6b63;--text-soft: #526e65;--shadow-sm: 0 1px 4px rgba(61,120,104,.08);--shadow-md: 0 4px 16px rgba(61,120,104,.12);--shadow-lg: 0 12px 40px rgba(61,120,104,.15);--radius: .75rem;--radius-sm: .5rem;--radius-pill: 999px}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text);height:100vh;overflow:hidden}#root{height:100vh;height:var(--app-vh, 100vh);min-height:0}.landing{height:100dvh;max-height:100dvh;display:flex;background:var(--bg);padding:1rem;position:relative;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}@supports not (height: 100dvh){.landing{height:100vh;max-height:100vh}}.landing:before,.landing:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.landing:before{width:420px;height:420px;background:radial-gradient(circle,#d0e8e380 0%,transparent 70%);top:-120px;right:-100px}.landing:after{width:300px;height:300px;background:radial-gradient(circle,#f5c4b860 0%,transparent 70%);bottom:-80px;left:-80px}.landing-content{display:flex;flex-direction:column;align-items:center;gap:1.1rem;text-align:center;padding:2.5rem 2rem;background:var(--surface);border-radius:1.5rem;box-shadow:var(--shadow-lg);max-width:480px;width:100%;position:relative;z-index:1;margin:auto;flex-shrink:0}.landing-logo{line-height:0}.landing-logo-img{width:220px;height:220px;object-fit:contain}.landing-title{font-size:clamp(1.9rem,7vw,2.8rem);font-weight:800;letter-spacing:-.03em;color:var(--text);line-height:1.1}.landing-title span{color:var(--teal)}.landing-subtitle{font-size:.8rem;font-weight:700;color:var(--teal);letter-spacing:.14em;text-transform:uppercase;background:var(--teal-pale);padding:.3rem .9rem;border-radius:var(--radius-pill)}.landing-desc{font-size:.95rem;color:var(--text-mid);max-width:340px;line-height:1.65}.avatar-picker{display:flex;gap:.75rem;width:100%;margin-top:.25rem}.avatar-card{flex:1;display:flex;flex-direction:column;align-items:center;gap:.3rem;padding:.85rem .75rem;background:var(--surface);border:2px solid var(--border);border-radius:var(--radius);cursor:pointer;transition:border-color .15s,background .15s,transform .15s,box-shadow .15s;font-family:inherit}.avatar-card:hover{border-color:var(--teal-light);transform:translateY(-1px)}.avatar-card.selected{border-color:var(--teal);background:var(--teal-pale);box-shadow:var(--shadow-sm)}.avatar-card-thumb{width:100%;aspect-ratio:1 / 1;object-fit:cover;border-radius:var(--radius-sm);background:var(--teal-pale);margin-bottom:.2rem}.avatar-card-name{font-size:.95rem;font-weight:700;color:var(--text)}.avatar-card-desc{font-size:.78rem;color:var(--text-mid)}.btn-start{margin-top:.5rem;padding:.85rem 2.8rem;font-size:1rem;font-weight:700;border:none;border-radius:var(--radius-pill);background:var(--teal);color:#fff;cursor:pointer;box-shadow:0 4px 16px #3d786859;transition:transform .15s,box-shadow .15s,background .15s;letter-spacing:.01em}.btn-start:hover{background:var(--teal-light);transform:translateY(-2px);box-shadow:0 8px 24px #3d786866}.btn-start:active{transform:scale(.97)}.landing-settings-link{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.5rem .8rem;border:0;border-radius:var(--radius-pill);background:transparent;color:var(--text-mid);font-family:inherit;font-size:.86rem;font-weight:600;cursor:pointer}.landing-settings-link:hover{color:var(--teal);background:var(--teal-pale)}.landing-settings-link:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.class-page{display:flex;min-height:0;height:100vh;height:100dvh;height:var(--class-viewport-height, 100dvh);overflow:hidden;background:var(--bg);position:fixed;top:var(--class-viewport-top, 0px);left:0;right:0;direction:ltr;font-size:1rem;line-height:1.5}.class-page:lang(ar){font-family:Segoe UI,Tahoma,Arial,sans-serif}.class-page button{font-family:inherit}.class-page button:focus-visible{outline:3px solid var(--teal);outline-offset:3px}.sidebar-drawer{flex-shrink:0;height:100%;z-index:50}.sidebar-overlay{display:none}.avatar-panel{position:relative;flex:1;min-width:0;background:#1a2b28;border-radius:0 var(--radius) var(--radius) 0;overflow:hidden;margin:.75rem 0}.speaking-badge{position:absolute;bottom:1.25rem;left:50%;transform:translate(-50%);background:var(--teal);color:#fff;font-size:.875rem;font-weight:600;padding:.28rem .85rem;border-radius:var(--radius-pill);white-space:nowrap;animation:fadeInUp .2s ease;box-shadow:var(--shadow-md)}@keyframes fadeInUp{0%{opacity:0;transform:translate(-50%) translateY(6px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.thinking-badge{position:absolute;bottom:1.25rem;left:50%;transform:translate(-50%);display:flex;gap:.3rem;align-items:center;background:#0000008c;padding:.45rem .9rem;border-radius:var(--radius-pill);box-shadow:var(--shadow-md);animation:fadeInUp .2s ease}.thinking-dot{width:6px;height:6px;border-radius:50%;background:#fff;opacity:.4;animation:thinkingPulse 1.2s ease-in-out infinite}.thinking-dot:nth-child(2){animation-delay:.2s}.thinking-dot:nth-child(3){animation-delay:.4s}@keyframes thinkingPulse{0%,60%,to{opacity:.3;transform:scale(.85)}30%{opacity:1;transform:scale(1.1)}}.right-panel{width:clamp(360px,35vw,480px);flex-shrink:0;display:flex;flex-direction:column;background:var(--surface);border-left:1px solid var(--border);overflow:hidden;min-height:0;min-width:0}.panel-body{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow-x:hidden;overflow-y:auto}.panel-header{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1.1rem;border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0;gap:.5rem}.panel-header-left{display:flex;align-items:center;gap:.45rem;min-width:0}.btn-hamburger{display:none;background:none;border:none;color:var(--text-mid);font-size:1.1rem;cursor:pointer;padding:.1rem .3rem;flex-shrink:0;min-width:44px;min-height:44px}.tutor-name{font-weight:700;font-size:1rem;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ws-dot{width:7px;height:7px;border-radius:50%;background:#d1d5db;flex-shrink:0;transition:background .3s}.ws-dot.connecting{background:#f59e0b;animation:pulse-dot 1s infinite}.ws-dot.ready{background:#22c55e}.ws-dot.error{background:#ef4444}@keyframes pulse-dot{0%,to{opacity:1}50%{opacity:.35}}.ws-label{font-size:.875rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-soft);white-space:nowrap}.btn-end{padding:.4rem .9rem;border-radius:var(--radius-pill);border:1.5px solid #fca5a5;background:#fff5f5;color:#dc2626;font-size:.875rem;font-weight:700;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:background .15s,border-color .15s;min-height:44px}.btn-end:hover{background:#fee2e2;border-color:#ef4444}.chapter-bar{display:flex;align-items:center;gap:.4rem;padding:.45rem 1.1rem;background:var(--surface);border-bottom:1px solid var(--border);flex-shrink:0;overflow:hidden}.chapter-lesson-label{font-size:.875rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-soft);flex-shrink:0}.chapter-name{font-size:.875rem;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.panel-tabs{display:flex;border-bottom:1px solid var(--border);flex-shrink:0;background:var(--surface)}.panel-tab{flex:1;padding:.6rem;border:none;background:none;color:var(--text-soft);font-size:.875rem;font-weight:600;cursor:pointer;letter-spacing:.04em;text-transform:uppercase;transition:color .15s;border-bottom:2px solid transparent;min-height:44px}.panel-tab:hover{color:var(--text-mid)}.panel-tab.active{color:var(--teal);border-bottom-color:var(--teal)}.chat-messages{flex:1;min-height:10rem;flex-shrink:0;overflow-y:auto;padding:1rem 1.1rem;display:flex;flex-direction:column;gap:.65rem;background:var(--bg)}.chat-hint{color:var(--text-soft);font-size:1rem;text-align:center;margin-top:2rem;line-height:1.6}.chat-message-row{display:flex;align-items:flex-start;gap:10px;width:100%}.chat-message-row.user{justify-content:flex-end}.chat-tutor-thumbnail{width:38px;height:38px;flex:0 0 38px;border-radius:50%;object-fit:cover;margin-top:2px}.chat-bubble{min-width:0;overflow-wrap:anywhere;max-width:88%;padding:.6rem .85rem;border-radius:var(--radius);line-height:1.55;box-shadow:var(--shadow-sm)}.chat-bubble.user{align-self:flex-end;background:var(--teal);color:#fff;border-bottom-right-radius:.2rem}.chat-bubble.model{align-self:flex-start;background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:.2rem}.chat-label{display:block;font-size:.875rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.28rem}.chat-bubble.user .chat-label{color:#fff}.chat-bubble.model .chat-label{color:var(--teal)}.chat-bubble.user p{font-size:1rem;color:#fff}.chat-bubble.model p{font-size:1rem;color:var(--text)}.spoken-transcript{unicode-bidi:plaintext;text-align:start;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.caption-partial .spoken-transcript{opacity:.88}.picture-offer-choice{padding:.8rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);line-height:1.6}.picture-offer-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:.5rem}.picture-offer-actions button{min-height:44px;padding:.45rem .9rem;border:1px solid var(--teal);border-radius:.7rem;background:var(--surface);color:var(--teal);font:inherit;cursor:pointer}.picture-offer-actions button:first-child{background:var(--teal);color:#fff}.picture-offer-actions button:disabled{opacity:.6;cursor:default}.lesson-panel{flex:1;display:flex;flex-direction:column;overflow:hidden;background:var(--bg);min-height:10rem;flex-shrink:0}.slide-topics{display:flex;flex-direction:column;gap:.3rem;padding:.8rem 1.1rem;border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0;max-height:40%;overflow-y:auto}.slide-topic-btn{display:flex;align-items:center;gap:.5rem;padding:.48rem .75rem;background:var(--bg);border:1.5px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;text-align:left;font-size:1rem;color:var(--text-mid);transition:all .15s;min-height:44px;flex-wrap:wrap}.slide-topic-btn:hover{background:var(--teal-pale);border-color:var(--teal-mid);color:var(--teal)}.slide-topic-btn.active{background:var(--teal-pale);border-color:var(--teal);color:var(--teal);font-weight:600}.topic-type-badge{font-size:.875rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:.1rem .4rem;border-radius:var(--radius-pill);flex-shrink:0}.type-vocabulary{background:#dcfce7;color:#166534}.type-grammar{background:#ede9fe;color:#6b21a8}.type-communication{background:#dbeafe;color:#1d4ed8}.type-writing{background:#ffedd5;color:#9a3412}.slide-content{flex:1;overflow-y:auto;padding:1rem 1.1rem}.slide-html h2{font-size:1rem;font-weight:700;color:var(--teal);margin-bottom:.6rem}.slide-html p{font-size:1rem;color:var(--text-mid);line-height:1.7}.slide-empty{font-size:1rem;color:var(--text-soft);text-align:center;margin-top:2rem}.panel-footer{display:flex;flex-direction:column;padding:.8rem 1.1rem;padding-bottom:max(.8rem,env(safe-area-inset-bottom,0px));border-top:1px solid var(--border);background:var(--surface);flex:0 1 auto;min-height:0;position:relative;z-index:2}.footer-notices{min-height:0;max-height:30vh;max-height:min(12rem,calc(var(--class-viewport-height, 100dvh) * .3));overflow-y:auto}.lesson-clock{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;flex-wrap:wrap;font-size:.875rem;line-height:1.3;font-variant-numeric:tabular-nums;color:var(--text-mid);min-width:3.2rem}.lesson-clock.ending{color:#946000}.lesson-clock>span+span{font-size:.75rem}.chat-omission{color:#62746f;font-style:italic}.spoken-word{font:inherit}.spoken-word.correct{color:#14724d}.spoken-word.needs_practice{color:#885000;text-decoration:underline dotted;text-underline-offset:.18em}.vad-status{text-align:center;font-size:.78rem;color:var(--text-soft)}.footer-controls{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:.75rem}.mic-indicator{display:flex;align-items:center;gap:.5rem;flex:1;min-width:0}.mic-bar-dot{width:8px;height:8px;border-radius:50%;background:#d1d5db;flex-shrink:0;transition:background .15s}.mic-bar-dot.active{background:var(--teal);animation:pulse-dot .8s infinite}.mic-bar-label{font-size:.875rem;color:var(--text-soft);transition:color .15s;overflow-wrap:anywhere}.mic-indicator:has(.mic-bar-dot.active) .mic-bar-label{color:var(--teal)}.btn-mic-toggle{width:44px;height:44px;border-radius:50%;border:1.5px solid var(--border);background:var(--bg);font-size:1rem;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .15s,border-color .15s,transform .1s;box-shadow:var(--shadow-sm)}.btn-mic-toggle:active{transform:scale(.92)}.btn-mic-toggle:disabled{opacity:.4;cursor:not-allowed}.btn-mic-toggle.on{border-color:var(--teal);background:var(--teal-pale)}.btn-mic-toggle.off{border-color:#fca5a5;background:#fff5f5}.mic-status-overlay{position:absolute;bottom:1.25rem;left:1rem;display:flex;align-items:center;gap:.45rem;font-size:.875rem;font-weight:600;padding:.28rem .75rem;border-radius:var(--radius-pill);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:all .2s}.mic-status-overlay.listening{background:#000000bf;color:#fff}.mic-status-overlay.speaking{background:var(--teal);color:#fff;box-shadow:var(--shadow-md)}.mic-status-overlay.waiting,.mic-status-overlay.loading,.mic-status-overlay.muted,.mic-status-overlay.idle{background:#000000bf;color:#fff}.mic-status-overlay.error{background:#9b3426;color:#fff}.mic-status-dot{width:6px;height:6px;border-radius:50%;background:currentColor}.mic-status-overlay.speaking .mic-status-dot,.mic-status-overlay.waiting .mic-status-dot{animation:pulse-dot .8s infinite}.mic-bar-dot.speaking{background:var(--teal)}.mic-bar-dot.listening{background:var(--teal-light)}.mic-bar-dot.waiting{background:var(--peach);animation:pulse-dot .8s infinite}.mic-bar-dot.error{background:var(--peach)}.mic-bar-dot.muted,.mic-bar-dot.idle,.mic-bar-dot.loading{background:var(--text-soft)}.mic-notice{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-bottom:.5rem;padding:.4rem .7rem;font-size:.875rem;color:var(--text-mid);background:var(--peach-light);border:1px solid var(--peach-mid);border-radius:var(--radius-sm);flex-wrap:wrap;overflow-wrap:anywhere}.mic-notice.ws-lost{color:#7a1f1f;background:#fdecec;border-color:#f3b6b6;font-weight:600}.mic-recover-btn{flex-shrink:0;padding:.3rem .7rem;font-size:.875rem;font-weight:600;color:#fff;background:var(--teal);border:0;border-radius:var(--radius-sm);cursor:pointer;min-height:44px}.mic-recover-btn:hover{background:var(--teal-light)}.dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1a2e2a66;display:flex;align-items:center;justify-content:center;z-index:200;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:1rem}.dialog{background:var(--surface);border:1px solid var(--border);border-radius:1.25rem;padding:1.75rem 2rem;max-width:360px;width:100%;display:flex;flex-direction:column;gap:1.25rem;box-shadow:var(--shadow-lg)}.dialog-title{font-size:1.1rem;font-weight:700;color:var(--text);text-align:center;margin:0}.class-entry-dialog{max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);overflow-y:auto}.dialog-message{font-size:.95rem;color:var(--text);line-height:1.55;text-align:center}.dialog-actions{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}.dialog-btn{padding:.55rem 1.75rem;border-radius:var(--radius-pill);border:none;font-size:.88rem;font-weight:700;cursor:pointer;transition:opacity .15s,transform .1s;min-height:44px}.dialog-btn:hover{opacity:.88}.dialog-btn:active{transform:scale(.97)}.dialog-btn.confirm{background:var(--teal);color:#fff}.dialog-btn.cancel{background:var(--bg);color:var(--text-mid);border:1.5px solid var(--border)}@media (max-width: 1099px){body{overflow:hidden}.class-page{flex-direction:column}.sidebar-drawer{position:fixed;top:0;left:0;height:100%;width:240px;transform:translate(-100%);transition:transform .25s ease;z-index:100;box-shadow:none}.sidebar-drawer.open{transform:translate(0);box-shadow:var(--shadow-lg)}.sidebar-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#1a2e2a59;z-index:99}.btn-hamburger{display:block}.avatar-panel{flex:0 0 clamp(0px,25vh,280px);flex-basis:clamp(0px,calc(var(--class-viewport-height, 100dvh) * .25),280px);height:auto;width:100%;border-radius:0;margin:0}.right-panel{width:100%;flex:1 1 auto;border-left:none;border-top:1px solid var(--border);min-height:0}.panel-header{padding:.65rem .9rem;gap:.5rem;flex-wrap:wrap}.tutor-name{font-size:1rem}.ws-label{display:none}.btn-end{padding:.35rem .7rem}.chapter-bar{padding:.4rem .9rem}.panel-tab{padding:.5rem}.chat-messages{padding:.7rem .9rem}.chat-bubble{padding:.5rem .75rem;max-width:90%}.slide-topics{padding:.65rem .9rem;max-height:35%}.slide-content{padding:.75rem .9rem}.panel-footer{padding:.6rem .9rem;padding-bottom:max(.6rem,env(safe-area-inset-bottom,0px))}}@media (orientation: landscape) and (any-pointer: coarse),(min-width: 700px) and (max-width: 1099px) and (orientation: landscape){.class-page{display:grid;grid-template-columns:minmax(0,40%) minmax(0,60%);grid-template-rows:minmax(0,1fr)}.avatar-panel{grid-column:1;flex:none;width:100%;height:100%;min-height:0;margin:0;border-radius:0}.right-panel{grid-column:2;width:100%;min-width:0;height:100%;border-left:1px solid var(--border);border-top:none}.sidebar-drawer{position:fixed;inset:0 auto 0 0;width:min(320px,80vw);transform:translate(-100%);transition:transform .25s ease;z-index:100}.sidebar-drawer.open{transform:translate(0);box-shadow:var(--shadow-lg)}.sidebar-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#1a2e2a59;z-index:99}.btn-hamburger{display:inline-flex}.session-progress-strip{display:block}}@media (orientation: landscape) and (max-width: 699px){.class-page{display:grid;grid-template-columns:minmax(0,30%) minmax(0,70%);grid-template-rows:minmax(0,1fr)}.avatar-panel{grid-column:1;height:100%;flex:none}.right-panel{grid-column:2;height:100%;min-width:0}.panel-header{flex-wrap:wrap;padding:.4rem .6rem}}@media (max-width: 480px){.landing-content{padding:1.75rem 1.25rem;gap:.85rem}.landing-logo-img{width:140px;height:140px}.landing-desc{font-size:.9rem}.avatar-card{padding:.65rem .5rem}.avatar-card-name{font-size:.88rem}.avatar-card-desc{font-size:.72rem}.btn-start{padding:.8rem 2rem;font-size:.95rem}.dialog{padding:1.25rem}.dialog-message{font-size:1rem}.dialog-btn{padding:.5rem 1.25rem;font-size:.875rem}}.auth-screen{height:100dvh;max-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:safe center;background:var(--bg);padding:max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left));position:relative;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}@supports not (height: 100dvh){.auth-screen{height:100vh;max-height:100vh}}.auth-screen:before,.auth-screen:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.auth-screen:before{width:420px;height:420px;background:radial-gradient(circle,#d0e8e380 0%,transparent 70%);top:-120px;right:-100px}.auth-screen:after{width:300px;height:300px;background:radial-gradient(circle,#f5c4b860 0%,transparent 70%);bottom:-80px;left:-80px}.auth-card{width:100%;max-width:420px;background:var(--surface);border-radius:1.25rem;box-shadow:var(--shadow-lg);padding:2rem 1.75rem;display:flex;flex-direction:column;align-items:stretch;gap:.85rem;position:relative;z-index:1;margin:0;flex-shrink:0}.auth-logo{display:flex;justify-content:center;line-height:0;margin-bottom:.25rem}.auth-logo img{width:84px;height:84px;object-fit:contain}.auth-title{font-size:1.4rem;font-weight:800;text-align:center;color:var(--text);letter-spacing:-.02em}.auth-subtitle{text-align:center;color:var(--text-mid);font-size:.88rem;line-height:1.45;margin-bottom:.5rem}.auth-form{display:flex;flex-direction:column;gap:.85rem}.auth-field{display:flex;flex-direction:column;gap:.3rem}.auth-label{font-size:.78rem;font-weight:600;color:var(--text-mid);letter-spacing:.02em}.auth-field input{font-family:inherit;font-size:.95rem;padding:.7rem .85rem;border:1.5px solid var(--border);border-radius:var(--radius-sm);outline:none;background:var(--surface);color:var(--text);transition:border-color .15s,box-shadow .15s}.auth-field input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #3d78681f}.auth-mobile-row{display:flex;gap:.5rem}.auth-dial{font-family:inherit;font-size:.92rem;padding:.7rem .6rem;border:1.5px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);cursor:pointer;flex:0 0 auto;min-width:100px;max-width:10%}.auth-dial:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px #3d78681f}.auth-mobile-input{flex:1}.auth-error{font-size:.85rem;color:#c0392b;background:#fdecea;border:1px solid #f5c2bd;border-radius:var(--radius-sm);padding:.55rem .75rem}.auth-account-exists{display:grid;gap:.65rem;padding:.85rem;border:1px solid var(--teal-mid);border-radius:12px;background:var(--teal-pale);color:var(--text);text-align:start}.auth-account-exists h2{margin:0;color:var(--teal);font-size:.98rem;line-height:1.3}.auth-account-exists p{margin:0;color:var(--text-mid);font-size:.84rem;line-height:1.5}.auth-account-exists-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.auth-account-exists-primary,.auth-account-exists-secondary{min-height:44px;padding:.55rem .9rem;border-radius:var(--radius-pill);font:inherit;font-size:.84rem;font-weight:700;cursor:pointer}.auth-account-exists-primary{border:1px solid var(--teal);background:var(--teal);color:#fff}.auth-account-exists-secondary{border:1px solid var(--teal);background:var(--surface);color:var(--teal)}.auth-account-exists-primary:hover{background:var(--teal-light)}.auth-account-exists-secondary:hover{background:#fff}.auth-account-exists-primary:focus-visible,.auth-account-exists-secondary:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.auth-submit{margin-top:.25rem;padding:.85rem 1.25rem;font-size:1rem;font-weight:700;font-family:inherit;border:none;border-radius:var(--radius-pill);background:var(--teal);color:#fff;cursor:pointer;box-shadow:0 4px 16px #3d78684d;transition:transform .15s,box-shadow .15s,background .15s,opacity .15s}.auth-submit:hover:not(:disabled){background:var(--teal-light);transform:translateY(-1px)}.auth-submit:active:not(:disabled){transform:scale(.98)}.auth-submit:disabled{opacity:.6;cursor:not-allowed}.auth-toggle{background:none;border:none;color:var(--teal);font-family:inherit;font-size:.88rem;font-weight:600;cursor:pointer;padding:.4rem;margin-top:.25rem}.auth-toggle:hover{text-decoration:underline}@media (max-width: 480px){.auth-card{padding:1.5rem 1.1rem}.auth-title{font-size:1.2rem}.auth-dial{min-width:96px;font-size:.85rem}.auth-account-exists-actions{align-items:stretch;flex-direction:column}.auth-account-exists-primary,.auth-account-exists-secondary{width:100%}}@media (max-height: 680px){.auth-screen{padding-top:max(.75rem,env(safe-area-inset-top));padding-bottom:max(.75rem,env(safe-area-inset-bottom))}.auth-card{margin-block:0}.auth-logo img{width:68px;height:68px}}.lang-switch{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .8rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-pill);color:var(--text-mid);font-family:inherit;font-size:.85rem;font-weight:600;cursor:pointer;box-shadow:var(--shadow-sm);transition:border-color .15s,color .15s,transform .15s}.lang-switch:hover{border-color:var(--teal-light);color:var(--teal);transform:translateY(-1px)}.lang-switch:active{transform:scale(.97)}.lang-switch svg{flex:none}.lang-switch-fixed{position:absolute;top:max(1rem,env(safe-area-inset-top));inset-inline-end:max(1rem,env(safe-area-inset-right));z-index:10}@media (max-width: 480px){.lang-switch-fixed{top:max(.75rem,env(safe-area-inset-top));inset-inline-end:max(.75rem,env(safe-area-inset-right))}.lang-switch{padding:.35rem .65rem;font-size:.8rem}}.schedule-card,.schedule-summary,.schedule-banner{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:.85rem 1rem;margin:.6rem 0;text-align:start}.schedule-card-title{font-weight:600;color:var(--text);margin-bottom:.5rem}.schedule-card-details{display:grid;grid-template-columns:auto 1fr;gap:.2rem .75rem;margin:0;font-size:.9rem}.schedule-card-details>div{display:contents}.schedule-card-details dt{color:var(--text-soft)}.schedule-card-details dd{color:var(--text);margin:0}.schedule-card-actions,.due-lesson-actions,.schedule-summary-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.schedule-btn{border:1px solid var(--border);border-radius:var(--radius-pill);padding:.4rem .9rem;font-size:.85rem;cursor:pointer;background:var(--surface);color:var(--text)}.schedule-btn.confirm,.schedule-btn.start{background:var(--teal);border-color:var(--teal);color:#fff}.schedule-btn:disabled{opacity:.6;cursor:default}.schedule-banner{display:flex;align-items:center;justify-content:space-between;gap:.75rem;border-inline-start:3px solid var(--peach);flex-wrap:wrap}.due-lesson-title{font-weight:600;color:var(--text)}.due-lesson-when{color:var(--text-mid);margin-inline-start:.5rem}.schedule-summary{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.schedule-summary-label{color:var(--text-soft);font-size:.8rem;display:block}.schedule-summary-when{color:var(--text);font-weight:500}
