/* assets/tools/language-learning.css — Language Learning Time Calculator additions. Loads after
   reading-plan.css (shared shell, reading-* layout), reading-time.css (rt-chips, rt-table,
   rt-reference, rt-guide) and before tool-focus.css (the centred card that opens a result panel).
   Every class is llt-* because the tower sprite's <style> reserves bare names page-wide. */
#llt-workspace [hidden],#llt-storey[hidden]{display:none!important}
.llt-trust{margin:18px 0 0;font-family:var(--mono);font-size:12px;letter-spacing:.06em;color:#a3edcc}
.llt-field select{width:100%;max-width:100%;height:48px;padding:10px 12px;border:1px solid #ffffff24;border-radius:9px;background:#161b23;color:var(--bright);font:inherit;font-size:16px}
.llt-field select:focus{outline:2px solid var(--acc);outline-offset:2px}
.llt-minutes-field{margin-top:22px}
.llt-minutes{display:grid;grid-template-columns:minmax(0,1fr) 84px;gap:12px;align-items:center}
.llt-minutes input[type=range]{height:44px;padding:0;border:0;background:transparent;accent-color:#5CE1A6;cursor:pointer}
.llt-minutes input[type=range]:focus{outline:0}
.llt-minutes input[type=range]:focus-visible{outline:2px solid var(--acc);outline-offset:2px;border-radius:9px}
.llt-minutes input[type=text]{text-align:center}
.llt-group{border:0;padding:0;margin:22px 0 0;min-width:0}
.llt-group legend{font-size:13px;color:var(--mist);display:block;margin-bottom:8px;font-weight:400;padding:0}
.llt-chips-7{grid-template-columns:repeat(7,1fr)}
.llt-chips-5{grid-template-columns:repeat(5,1fr)}
.llt-target{margin:23px 0 0;border-top:1px solid var(--card-border);border-bottom:1px solid var(--card-border)}
.llt-toggle{display:flex;align-items:center;gap:10px;min-height:52px;cursor:pointer;font-size:13px;color:var(--mist)}
.llt-toggle input{width:18px;height:18px;margin:0;accent-color:#5CE1A6;flex:none}
.llt-toggle input:focus-visible{outline:2px solid var(--acc);outline-offset:3px}
.llt-toggle em{margin-left:auto;font-style:normal;font-size:11px;color:var(--dim)}
#llt-target-fields{padding:2px 0 18px}
#llt-show{width:100%;min-height:48px;font-size:14px;padding:14px 10px;box-shadow:none;border-radius:10px;white-space:normal;line-height:1.35;margin-top:24px}
#llt-detail{color:var(--mist);font-size:14px;line-height:1.7;margin:0}
.llt-metrics-2{border-top:0;padding-top:0;margin-top:16px}
.llt-goal{margin-top:16px;padding:18px;border-radius:12px;background:#5ce1a60d;border:1px solid #5ce1a633}
.llt-goal .pht-kicker{margin:0 0 6px}
.llt-goal-headline{font-family:var(--display);font-size:21px;line-height:1.3;letter-spacing:-.02em;color:var(--bright);margin:0;font-weight:800}
.is-stale .llt-goal,.is-stale .llt-chart,.is-stale .llt-compare{opacity:.45}

/* The chart: one line, four marked weeks. Drawn by the page script as inline SVG. */
.llt-chart{margin:16px 0 0;padding:18px 16px 14px;border:1px solid var(--card-border);border-radius:14px;background:#0d1116}
.llt-chart figcaption{font-size:14px;color:var(--ink);margin:0 0 8px}
.llt-chart-svg{display:block;width:100%;height:auto;overflow:visible}
.llt-chart-grid{stroke:#ffffff14;stroke-width:1}
.llt-chart-line{fill:none;stroke:#5CE1A6;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.llt-chart-dot{fill:#07080C;stroke:#5CE1A6;stroke-width:2.5}
.llt-chart-label{fill:#8A94A4;font-family:var(--mono);font-size:10px}
.llt-chart-axis{fill:#8A94A4;font-family:var(--mono);font-size:9px;letter-spacing:.08em;text-transform:uppercase}
.llt-chart-value{fill:#a3edcc;font-family:var(--font);font-size:11px;font-weight:700}
.llt-compare{margin-top:22px}
.llt-compare h3{font-size:14px;font-weight:400;margin:0 0 10px}
.llt-compare .reading-help{margin-top:10px}
.llt-reference p:not(.reading-help){font-size:14px;line-height:1.8;color:var(--muted);max-width:780px}
.llt-reference .rt-reference-table{margin-top:22px}
.llt-reference a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:400px){.llt-chips-7{gap:4px}.llt-chips-5{gap:4px}.llt-minutes{grid-template-columns:minmax(0,1fr) 72px;gap:8px}.llt-chart{padding:14px 10px 12px}}
@media(prefers-reduced-motion:reduce){.llt-chart-line{transition:none}}
