.insights-page{min-height:var(--insights-min-height);display:flex;flex-direction:column;gap:var(--space-xl)}.insights-page>*{min-width:0}.insight-heading{display:flex;justify-content:space-between;align-items:center;gap:var(--space-lg);flex-wrap:wrap}.insight-heading h1{font-size:var(--text-h1)}.insights-page p,.insights-page small{color:var(--text-secondary)}.insight-panel,.insight-empty{padding:var(--space-xl);border:var(--border-width) solid var(--border);border-radius:var(--radius-lg);background:var(--bg-surface);min-width:0}.insight-panel h2{margin-bottom:var(--space-md)}.insight-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-md)}.insight-metrics article{display:flex;flex-direction:column;gap:var(--space-md);padding:var(--space-lg);border-radius:var(--radius-lg);background:var(--bg-surface)}.insight-metrics strong,.insight-metrics .odometer{line-height:1.2;min-height:1.2em;font-size:var(--text-h1);font-family:var(--font-display)}.insight-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-lg)}.calendar-scroll{overflow-x:auto;overscroll-behavior-x:contain;padding:var(--space-sm) 0}.study-calendar{width:100%;min-width:var(--stats-calendar-width);display:block}.study-calendar path{cursor:pointer}[data-heat="0"]{fill:var(--bg-elevated);background:var(--bg-elevated)}[data-heat="1"]{fill:color-mix(in srgb,var(--accent) 25%,var(--bg-surface));background:color-mix(in srgb,var(--accent) 25%,var(--bg-surface))}[data-heat="2"]{fill:color-mix(in srgb,var(--accent) 45%,var(--bg-surface));background:color-mix(in srgb,var(--accent) 45%,var(--bg-surface))}[data-heat="3"]{fill:color-mix(in srgb,var(--accent) 70%,var(--bg-surface));background:color-mix(in srgb,var(--accent) 70%,var(--bg-surface))}[data-heat="4"]{fill:var(--accent);background:var(--accent)}.study-calendar [data-calendar-selection]{fill:none;pointer-events:none;stroke:var(--text-primary);stroke-width:2}.study-calendar text,.insight-chart text,.accuracy-chart text{fill:var(--text-secondary);font-family:var(--font-body);font-size:var(--text-caption)}.calendar-controls{display:flex;align-items:center;justify-content:center;gap:var(--space-sm)}.calendar-controls label{display:flex;align-items:center;gap:var(--space-sm)}.calendar-controls input{min-height:var(--touch-target);min-width:0;padding:var(--space-sm);background:var(--bg-elevated);color:var(--text-primary);border:var(--border-width) solid var(--border);border-radius:var(--radius-sm)}.calendar-detail{margin-block:var(--space-md)}.heat-legend{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-xs);color:var(--text-secondary)}.heat-legend i{width:var(--space-md);height:var(--space-md);border-radius:var(--radius-sm)}.cefr-progress{display:grid;gap:var(--space-lg);margin-block:var(--space-lg)}.cefr-progress article>div:first-child{display:flex;justify-content:space-between;gap:var(--space-sm)}.cefr-track{position:relative;height:var(--space-sm);border-radius:var(--radius-full);background:var(--bg-elevated);overflow:hidden;margin-block:var(--space-sm)}.cefr-track i,.cefr-track b{position:absolute;inset:0;transform-origin:left;background:var(--level-color)}.cefr-track i{opacity:.35}.cefr-progress [data-level=A1]{--level-color: var(--cefr-a1)}.cefr-progress [data-level=A2]{--level-color: var(--cefr-a2)}.cefr-progress [data-level=B1]{--level-color: var(--cefr-b1)}.cefr-progress [data-level=B2]{--level-color: var(--cefr-b2)}.cefr-progress [data-level=C1]{--level-color: var(--cefr-c1)}.cefr-progress [data-level=C2]{--level-color: var(--cefr-c2)}.insight-range{display:flex;gap:var(--space-xs)}.insight-chart,.accuracy-chart{width:100%;display:block}.insight-chart rect{fill:var(--accent)}.accuracy-chart path{fill:none;stroke:var(--accent);stroke-width:3}.accuracy-chart .chart-guide{stroke:var(--border);stroke-width:1}.accuracy-chart circle{fill:var(--accent)}.stability-bin{display:grid;grid-template-columns:1fr 2fr auto;gap:var(--space-sm);align-items:center;margin-block:var(--space-lg)}.stability-bin div{height:var(--space-sm);background:var(--bg-elevated);border-radius:var(--radius-full);overflow:hidden}.stability-bin i{display:block;height:100%;background:var(--accent);transform-origin:left}.insight-panel summary{min-height:var(--touch-target);cursor:pointer;padding-block:var(--space-md)}.forecast-details{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(12em,1fr));gap:var(--space-md)}.forecast-details li{display:flex;justify-content:space-between;gap:var(--space-md)}@media(max-width:767px){.insight-panel,.insight-empty{padding:var(--space-md)}.insight-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-columns{grid-template-columns:1fr}.calendar-controls label{flex-direction:column}}.universe-panel{width:100%;max-width:100%;min-width:0;align-self:stretch}.universe-map{color-scheme:dark;--bg-primary: var(--universe-night);--bg-surface: var(--universe-surface);--bg-elevated: var(--universe-surface);--text-primary: var(--universe-ink);--text-secondary: var(--universe-muted);--text-muted: var(--universe-muted);--border: var(--universe-border);--accent: var(--fluid-amber);--on-accent: var(--paper-ink);--universe-background: var(--universe-night);color:var(--text-primary);position:relative;height:var(--universe-height);overflow:hidden;isolation:isolate;contain:layout paint style;border:var(--border-width) solid var(--border);border-radius:var(--radius-xl);background:var(--universe-background);background-image:radial-gradient(ellipse at 53% 55%,color-mix(in srgb,var(--accent) 14%,var(--transparent)),var(--transparent) 60%),radial-gradient(ellipse at 65% 50%,color-mix(in srgb,var(--fluid-violet) 18%,var(--transparent)),var(--transparent) 75%);box-shadow:var(--shadow-lg)}.stats-history{display:flex;flex-direction:column;gap:var(--space-xl);min-width:0}.stats-history-placeholder{min-height:var(--stats-history-estimate)}.universe-map>canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:calc(-1 * var(--space-xs))}.universe-map>canvas:active{cursor:grabbing}.universe-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.universe-constellation{position:absolute;left:0;top:0;pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:var(--space-xs);min-width:var(--touch-target);min-height:var(--touch-target);padding-inline:var(--space-sm);border:var(--border-width) solid var(--transparent);border-radius:var(--radius-full);background:var(--transparent);color:var(--text-secondary);font:500 var(--text-caption) var(--font-body);white-space:nowrap;cursor:pointer;transition:opacity var(--duration-normal)}.universe-constellation[hidden]{display:none}.universe-constellation{color:var(--constellation-color)}.universe-constellation:nth-child(1){--constellation-color: var(--universe-topic-0)}.universe-constellation:nth-child(2){--constellation-color: var(--universe-topic-1)}.universe-constellation:nth-child(3){--constellation-color: var(--universe-topic-2)}.universe-constellation:nth-child(4){--constellation-color: var(--universe-topic-3)}.universe-constellation:nth-child(5){--constellation-color: var(--universe-topic-4)}.universe-constellation:nth-child(6){--constellation-color: var(--universe-topic-5)}.universe-constellation:nth-child(7){--constellation-color: var(--universe-topic-6)}.universe-constellation:nth-child(8){--constellation-color: var(--universe-topic-7)}.universe-constellation:nth-child(9){--constellation-color: var(--universe-topic-8)}.universe-constellation:nth-child(10){--constellation-color: var(--universe-topic-9)}.universe-constellation:nth-child(11){--constellation-color: var(--universe-topic-10)}.universe-constellation:nth-child(12){--constellation-color: var(--universe-topic-11)}.universe-constellation:nth-child(13){--constellation-color: var(--universe-topic-12)}.universe-constellation:nth-child(14){--constellation-color: var(--universe-topic-13)}.universe-constellation:nth-child(15){--constellation-color: var(--universe-topic-14)}.universe-constellation:nth-child(16){--constellation-color: var(--universe-topic-15)}.universe-constellation:nth-child(17){--constellation-color: var(--universe-topic-16)}.universe-constellation:nth-child(18){--constellation-color: var(--universe-topic-17)}.universe-constellation:nth-child(19){--constellation-color: var(--universe-topic-18)}.universe-constellation i{width:var(--space-xs);height:var(--space-xs);border-radius:var(--radius-full);background:currentColor;box-shadow:0 0 var(--space-mobile) currentColor}.universe-constellation:hover,.universe-constellation:focus-visible,.universe-constellation[data-active=true]{color:var(--text-primary);background:var(--bg-surface);border-color:var(--accent)}.universe-topbar{position:absolute;inset:var(--space-lg) var(--space-lg) auto;display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-md);pointer-events:none}.universe-signal{padding:var(--space-sm) var(--space-mobile);background:var(--bg-surface);background:color-mix(in srgb,var(--bg-surface) 75%,var(--transparent));border-radius:var(--radius-md)}.universe-signal .type-eyebrow{font-size:var(--text-eyebrow);letter-spacing:var(--tracking-universe);color:var(--text-secondary)}.universe-signal p{font-size:var(--text-caption);margin-top:var(--space-xs)}.universe-signal strong{font:600 var(--text-h3) var(--font-display);color:var(--text-primary)}.universe-filters{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--space-sm);pointer-events:auto;max-width:65%}.universe-filters label{min-width:0}.universe-filters input,.universe-filters select{min-width:0;max-width:100%;min-height:var(--touch-target);border:var(--border-width) solid var(--border);border-radius:var(--radius-full);padding:var(--space-sm) var(--space-mobile);font:400 var(--text-ipa) var(--font-body);background:var(--bg-surface);color:var(--text-primary)}.universe-filters input{width:var(--universe-search-width)}.universe-bottom{position:absolute;inset:auto var(--space-lg) var(--space-md);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-mobile)}.universe-legend,.universe-controls{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-sm)}.universe-legend{gap:var(--space-md);font-size:var(--text-caption);color:var(--text-secondary)}.universe-legend span{display:flex;align-items:center;gap:var(--space-xs)}.universe-legend i{width:var(--space-sm);height:var(--space-sm);border-radius:var(--radius-full);background:var(--text-secondary)}.universe-legend [data-state=learning]{background:var(--fluid-azure)}.universe-legend [data-state=mastered]{background:var(--fluid-sage)}.universe-legend [data-state=starred]{background:var(--accent)}.universe-controls .button{background:var(--bg-surface);border-color:var(--border);box-shadow:var(--shadow-sm)}.universe-controls .universe-footprints{font-size:var(--text-caption);padding-inline:var(--space-mobile)}.universe-match{position:absolute;left:var(--space-lg);bottom:var(--space-2xl);font-size:var(--text-caption);pointer-events:none}.universe-loading{position:absolute;inset:40% var(--space-lg) auto;text-align:center;color:var(--text-secondary)}.universe-loading .button{margin-top:var(--space-md)}.universe-word-list{position:absolute;inset:var(--universe-list-inset) var(--space-lg) var(--space-3xl);overflow:auto;overscroll-behavior:contain}.universe-word-list>p{margin-bottom:var(--space-md);font-size:var(--text-caption)}.universe-word-list ul{padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-mobile)}.universe-word-list li button{width:100%;min-height:var(--touch-target);padding:var(--space-mobile);display:grid;gap:var(--space-xs);text-align:left;border:var(--border-width) solid var(--border);border-radius:var(--radius-sm);color:var(--text-primary);background:var(--bg-surface);cursor:pointer;overflow-wrap:anywhere}.universe-word-list li span{font-size:var(--text-caption);color:var(--text-secondary)}.universe-pagination{display:flex;justify-content:center;align-items:center;gap:var(--space-md);margin-top:var(--space-md)}@media(max-width:767px){.universe-map{height:var(--universe-mobile-height);border-radius:var(--radius-lg)}.universe-topbar{inset:var(--space-mobile) var(--space-mobile) auto;flex-direction:column;gap:var(--space-sm)}.universe-signal{padding:var(--space-xs) var(--space-sm)}.universe-signal .type-eyebrow{display:none}.universe-signal strong{font-size:var(--text-body)}.universe-filters{max-width:100%;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:var(--space-xs)}.universe-filters select,.universe-filters input{width:100%;font-size:var(--text-body)}.universe-search{grid-column:1/-1}.universe-bottom{inset:auto var(--space-mobile) var(--space-mobile);justify-content:center;gap:var(--space-sm)}.universe-controls{gap:var(--space-xs);justify-content:center}.universe-footprint-label{display:none}.universe-legend{gap:var(--space-mobile)}.universe-match{left:var(--space-mobile);bottom:var(--space-3xl);font-size:var(--text-eyebrow)}.universe-constellation{font-size:var(--text-caption)}.universe-word-list{inset:var(--universe-mobile-list-inset) var(--space-mobile) var(--space-3xl)}.universe-word-list ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
