.app-shell,.learning-preview{--surface:#211b2e;--surface-hover:#2b243a;--learning-track:#3b324b}.app-shell .sidebar{overscroll-behavior:contain;overflow-y:auto}.app-shell .sidebar-bottom .language-switcher{display:block}.app-shell .sidebar-bottom .language-trigger,.app-shell .sidebar-bottom .premium-link,.app-shell .sidebar-bottom>.nav-item{box-sizing:border-box;border:1px solid #0000;border-radius:10px;justify-content:flex-start;align-items:center;gap:12px;width:100%;min-height:47px;padding:0 14px;font-size:12px;display:flex}.app-shell .sidebar-bottom .language-trigger>svg:first-child,.app-shell .sidebar-bottom .premium-link>svg:first-child,.app-shell .sidebar-bottom>.nav-item>svg:first-child{flex:0 0 18px}.app-shell .primary-button,.app-dialog .primary-button{background:var(--primary);color:#251632;border-radius:10px;min-height:48px;padding:12px 18px;font-size:13px;font-weight:650}.app-shell .primary-button:hover:not(:disabled),.app-dialog .primary-button:hover:not(:disabled){background:#d5a5ff;transform:translateY(-1px)}.app-shell .secondary-button,.app-dialog .secondary-button{border-color:var(--border);background:#ffffff04;border-radius:10px;min-height:44px}.app-shell .secondary-button:hover:not(:disabled),.app-dialog .secondary-button:hover:not(:disabled){border-color:var(--primary);background:#c78bff12}.app-shell .primary-button:focus-visible,.app-shell .secondary-button:focus-visible,.app-dialog .primary-button:focus-visible,.app-dialog .secondary-button:focus-visible{outline:2px solid var(--foreground);outline-offset:3px}.app-shell .content-card{background:var(--surface);border-color:#ffffff0a;border-radius:15px;padding:8px}.app-shell .content-card:hover{border-color:#c78bff70;transform:translateY(-2px)}.app-shell .content-card .card-image{aspect-ratio:16/9;border-radius:10px;height:auto}.app-shell .content-card .card-image:after{display:none}.app-shell .content-card .card-copy{padding:12px 2px 1px}.app-shell .card-copy h3{margin:0;font-size:15px;font-weight:550;line-height:1.5}.app-shell .card-copy>p{margin-top:4px;font-size:11px;line-height:1.6}.app-shell .learning-card-description{-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.app-shell .editorial-lesson-card{color:var(--foreground);text-decoration:none;display:block}.app-shell .content-card:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.app-shell .learning-card-metadata{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;font-size:11px;display:flex}.app-shell .learning-level-chip{color:var(--foreground);background:#ffffff14;border-radius:999px;padding:3px 8px;font-size:11px}.app-shell .content-card .card-footer{border:0;margin:10px 0;padding:0}.app-shell .content-card .card-footer span{font-size:10px}.app-shell .learning-progress-meter{appearance:none;background:var(--learning-track);width:100%;height:4px;color:var(--progress-accent,var(--primary));border:0;border-radius:999px;display:block;overflow:hidden}.app-shell .learning-progress-meter::-webkit-progress-bar{background:var(--learning-track);border-radius:999px}.app-shell .learning-progress-meter::-webkit-progress-value{background:var(--progress-accent,var(--primary));border-radius:999px}.app-shell .learning-progress-meter::-moz-progress-bar{background:var(--progress-accent,var(--primary));border-radius:999px}:is(.app-shell,.learning-preview) .transcript-panel,:is(.app-shell,.learning-preview) .context-panel,:is(.app-shell,.learning-preview) .sentence{border-radius:12px;padding:12px}:is(.app-shell,.learning-preview) .sentence.is-active{background:#c78bff09;border-color:#c78bff55}:is(.app-shell,.learning-preview) .sentence>p{font-size:18px;line-height:2.3}:is(.app-shell,.learning-preview) .word-tone-noun{--word-tone:var(--pink)}:is(.app-shell,.learning-preview) .word-tone-verb{--word-tone:#b4acff}:is(.app-shell,.learning-preview) .word-tone-particle{--word-tone:var(--gold)}:is(.app-shell,.learning-preview) .word-tone-adjective{--word-tone:var(--mint)}:is(.app-shell,.learning-preview) .word-tone-other{--word-tone:var(--primary)}:is(.app-shell,.learning-preview) .learning-word{background:color-mix(in srgb, var(--word-tone) 14%, var(--surface));min-height:44px;color:color-mix(in srgb, var(--word-tone) 75%, white);border:1px solid #0000;border-radius:6px;margin:2px 1px;padding:3px 6px;transition:background .14s,border-color .14s}:is(.app-shell,.learning-preview) .learning-word:hover{border-color:color-mix(in srgb, var(--word-tone) 55%, transparent);background:color-mix(in srgb, var(--word-tone) 24%, var(--surface))}:is(.app-shell,.learning-preview) .learning-word.word-selected{border-color:var(--word-tone);background:color-mix(in srgb, var(--word-tone) 30%, var(--surface));box-shadow:inset 0 -2px 0 var(--word-tone);color:var(--foreground)}:is(.app-shell,.learning-preview) .full-transcript .learning-word.word-unhighlighted{color:var(--foreground);background:0 0;margin-inline:0;padding-inline:2px}:is(.app-shell,.learning-preview) .full-transcript .learning-word.word-unhighlighted:hover{border-color:var(--muted);background:color-mix(in srgb, var(--foreground) 8%, transparent)}:is(.app-shell,.learning-preview) .full-transcript .learning-word.word-unhighlighted.word-selected{border-color:var(--foreground);background:color-mix(in srgb, var(--foreground) 12%, transparent);box-shadow:inset 0 -2px 0 var(--foreground)}:is(.app-shell,.learning-preview) .learning-word:focus-visible{outline:2px solid var(--foreground);outline-offset:3px}:is(.app-shell,.learning-preview) .word-tone-legend{color:var(--muted);flex-wrap:wrap;gap:8px 14px;padding:10px 20px;font-size:10px;display:flex}:is(.app-shell,.learning-preview) .word-tone-legend span{align-items:center;gap:5px;display:inline-flex}:is(.app-shell,.learning-preview) .word-tone-legend span:before{content:"";background:var(--word-tone);border-radius:50%;width:6px;height:6px}.app-shell .word-panel .primary-button{width:100%}.app-shell .learning-goal-card{--progress-accent:var(--gold);background:var(--surface);border:1px solid #ffffff0a;border-radius:15px;align-self:start;padding:18px}.app-shell .learning-goal-heading{align-items:center;gap:10px;display:flex}.app-shell .learning-goal-icon{color:#35223d;background:var(--gold);border-radius:50%;flex-shrink:0;place-items:center;width:38px;height:38px;display:grid}.app-shell .learning-goal-heading h2{font-size:14px;font-weight:600;line-height:1.5}.app-shell .learning-goal-heading p{color:var(--muted);margin-top:3px;font-size:10px;line-height:1.6}.app-shell .learning-goal-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0;padding:0;list-style:none;display:grid}.app-shell .learning-goal-steps li{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:7px;font-size:9px;display:flex}.app-shell .learning-goal-check{background:var(--learning-track);border-radius:8px;place-items:center;width:26px;height:26px;display:grid}.app-shell .learning-goal-check.is-complete{color:#35223d;background:var(--gold)}.app-shell .learning-goal-summary{color:var(--muted);justify-content:space-between;align-items:center;margin-top:12px;font-size:10px;display:flex}.app-shell .learning-goal-summary strong{color:var(--gold);font-size:12px}.app-shell .learning-goal-card.is-complete .learning-goal-icon{animation:.45s ease-out learning-achievement}.app-shell .stats-grid>div,.app-shell .journey-stop{background:var(--surface);border-radius:15px}.app-shell .journey-stops{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))}.app-shell .achievement-progress,.app-shell .achievement-earned-date{color:var(--muted);grid-column:2;font-size:10px}.app-shell .achievement-progress{gap:8px;margin-top:12px;display:grid}.app-shell .achievement-earned-date{margin-top:8px;display:block}.app-shell .journey-stop{border:1px solid var(--border);min-width:0;padding:20px}.app-shell .journey-note>svg{color:var(--gold)}.app-shell .learning-sidebar-cards{align-self:start;gap:16px;min-width:0;display:grid}.app-shell .learning-streak-card{--progress-accent:var(--gold);background:var(--surface);border:1px solid #ffe17a22;border-radius:15px;padding:18px}.app-shell .learning-streak-heading{align-items:center;gap:10px;display:flex}.app-shell .learning-streak-flame{color:#35223d;background:var(--gold);border-radius:50%;flex-shrink:0;place-items:center;width:38px;height:38px;display:grid}.app-shell .learning-streak-heading h2{font-size:14px;font-weight:600}.app-shell .learning-streak-heading p,.app-shell .learning-streak-status,.app-shell .learning-streak-loading,.app-shell .learning-streak-error{color:var(--muted);font-size:11px;line-height:1.6}.app-shell .learning-streak-count{flex-wrap:wrap;align-items:baseline;gap:8px;margin:16px 0 6px;display:flex}.app-shell .learning-streak-count strong{color:var(--gold);font-size:36px;line-height:1}.app-shell .learning-streak-count>span{color:var(--foreground);font-size:12px}.app-shell .learning-streak-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:16px 0;padding:0;list-style:none;display:grid}.app-shell .learning-streak-days time{color:var(--muted);flex-direction:column;align-items:center;gap:7px;font-size:9px;display:flex}.app-shell .learning-streak-day-check{background:var(--learning-track);border:1px solid #0000;border-radius:8px;place-items:center;width:24px;height:24px;display:grid}.app-shell .learning-streak-days .is-complete .learning-streak-day-check{color:#35223d;background:var(--gold)}.app-shell .learning-streak-days .is-today .learning-streak-day-check{border-color:var(--gold)}.app-shell .learning-streak-days .is-today .learning-streak-day-label{color:var(--gold)}.app-shell .learning-streak-target{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:4px 8px;margin-bottom:8px;font-size:10px;display:flex}.app-shell .learning-streak-target strong{color:var(--foreground);font-weight:500}.app-shell .learning-streak-best{color:var(--gold);align-items:center;gap:6px;margin-top:12px;font-size:10px;display:flex}.app-shell .learning-streak-milestones{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.app-shell .learning-streak-milestones>span{color:var(--gold);background:#ffe17a12;border-radius:6px;align-items:center;gap:4px;padding:4px 6px;font-size:10px;display:inline-flex}.app-shell .learning-streak-rule{color:var(--muted);margin-top:12px;font-size:9px;line-height:1.6}.app-shell .learning-streak-loading,.app-shell .learning-streak-error{margin-top:16px}.app-shell .learning-streak-error .text-button{margin-top:8px}.app-shell .journey-streak{width:100%;margin-bottom:24px}@keyframes learning-achievement{50%{transform:scale(1.1)}}@media (max-width:760px){.app-shell .import-strip .primary-button{flex-basis:100%;width:100%;margin-left:0}@media (min-width:761px) and (max-width:1000px){.app-shell .learning-sidebar-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}}@media (prefers-reduced-motion:reduce){.app-shell .learning-goal-card.is-complete .learning-goal-icon{animation:none}.app-shell .learning-word{transition:none}}.lesson-completed-indicator{color:#187044;align-items:center;gap:7px;margin-top:12px;font-size:.85rem;font-weight:650;display:inline-flex}
