/* Audience: an adult learning to read between lessons. */
:root {
  --bg:#f5f8f4;
  --ink:#203d2d;
  --muted:#566f60;
  --green:#174f3a;
  --line:#dce7de;
  --surface:#fff;
  --focus:#8cbd8c
}
html {
  scroll-padding-bottom:100px
}
body {
  font-size:15px;
  background:var(--bg);
  color:var(--ink)
}
button,a,input,textarea,select {
  touch-action:manipulation
}
a {
  color:inherit
}
button,a {
  scroll-margin:20px 0 105px
}
h1,h2,h3 {
  text-wrap:balance
}
p {
  text-wrap:pretty
}
main:focus,h1:focus {
  outline:none
}
.app {
  max-width:1500px;
  grid-template-columns:210px minmax(0,1fr)
}
.app>aside {
  padding:34px 18px 24px;
  background:var(--bg)
}
main {
  padding:0 44px;
  min-width:0
}
header {
  height:84px
}
.brand {
  font-size:30px;
  letter-spacing:-1.2px
}
.tagline {
  font-size:11px;
  margin:14px 0 42px;
  color:var(--muted)
}
nav {
  display:grid;
  gap:9px
}
nav a {
  display:flex;
  align-items:center;
  gap:13px;
  text-decoration:none;
  min-height:48px;
  padding:12px 15px;
  border-radius:12px;
  color:#55735e;
  font-size:14px;
  line-height:1.4
}
nav a:hover {
  background:#eaf2e9
}
nav a.active {
  background:#e1edde;
  color:#194d31;
  font-weight:700
}
.nuri-nav img {
  width:24px;
  height:26px;
  object-fit:contain
}
.nav-icon {
  width:21px;
  height:21px
}
.profile {
  text-decoration:none;
  font-size:13px;
  min-height:64px
}
.profile small {
  font-size:11px
}
.sidebar-bottom {
  padding:20px 12px 25px
}
.sidebar-bottom b {
  font-size:12px;
  font-weight:500
}
.sidebar-bottom p {
  font-size:11px;
  line-height:1.7
}
.breadcrumbs {
  font-size:12px;
  color:#5d7565
}
.breadcrumbs b {
  color:#3e624b
}
.mobile-brand {
  display:none
}
.language {
  margin-left:auto;
  min-height:44px;
  gap:11px;
  font-size:12px;
  padding:10px 13px;
  border-radius:12px;
  background:white;
  border-color:var(--line)
}
.language-dot {
  height:7px;
  width:7px;
  border-radius:50%;
  background:#548d5e;
  box-shadow:0 0 0 3px #edf4eb
}
.small-chevron {
  width:13px;
  height:13px
}
.skip-link {
  position:fixed;
  left:18px;
  top:-100px;
  background:#174f3a;
  color:white;
  z-index:20;
  padding:13px 20px;
  border-radius:9px
}
.skip-link:focus {
  top:15px
}
#view {
  padding:34px 0 38px;
  min-height:calc(100vh - 154px)
}
.ui-icon {
  width:22px;
  height:22px;
  flex-shrink:0
}
.primary,.secondary {
  min-height:48px;
  padding:13px 21px;
  border-radius:12px;
  font-size:14px;
  line-height:1.5;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px
}
.primary {
  background:#245c3d
}
.primary:hover:not(:disabled) {
  background:#17472e
}
.secondary {
  background:#f6faf4;
  color:#2e5c3b;
  border:1px solid #cbdccc
}
.secondary:hover:not(:disabled) {
  background:#e8f2e3
}
.button-link {
  text-decoration:none
}
.quiet-link,.text-button {
  border:0;
  background:none;
  color:#346d43;
  text-decoration:none;
  font-size:13px;
  min-height:44px;
  padding:10px 0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1.5;
  cursor:pointer
}
.quiet-link:hover,.text-button:hover {
  color:#17462c;
  text-decoration:underline;
  text-underline-offset:4px
}
.intro {
  margin-bottom:28px
}
.intro h1 {
  font-size:31px;
  line-height:1.25;
  letter-spacing:-1px;
  margin:0 0 12px
}
.intro p {
  font-size:14px;
  line-height:1.75;
  max-width:620px;
  color:var(--muted)
}
.home-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:27px
}
.today-date {
  font-size:12px;
  color:#5d7864;
  margin:0 0 10px;
  text-transform:capitalize
}
.home-heading h1 {
  margin:0;
  font-size:34px;
  font-weight:600;
  letter-spacing:-1.1px
}
.reading-focus {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:#4a7455
}
.reading-focus .ui-icon {
  width:18px;
  height:18px
}
.reader-dashboard {
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(255px,1fr);
  gap:28px;
  align-items:start
}
.reader-primary,.reader-secondary {
  min-width:0
}
.reading-hero {
  position:relative;
  overflow:hidden;
  background:#174f3a;
  color:#f4faf0;
  border-radius:24px;
  padding:30px;
  min-height:345px
}
.lesson-meta {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  color:#d1e5c5;
  position:relative;
  z-index:2
}
.lesson-meta .ui-icon {
  width:17px;
  height:17px
}
.reading-hero h2 {
  font-size:24px;
  line-height:1.35;
  font-weight:500;
  letter-spacing:-.6px;
  max-width:65%;
  margin:22px 0 8px;
  position:relative;
  z-index:2
}
.hero-reading {
  font-family:'Noto Naskh Arabic',Manrope,sans-serif;
  font-size:45px;
  line-height:1.65;
  max-width:62%;
  text-align:start;
  margin:4px 0 6px;
  position:relative;
  z-index:2
}
.hero-reading:lang(en),.hero-reading:lang(es) {
  font-family:Manrope,sans-serif;
  font-size:29px;
  line-height:1.5;
  padding:10px 0
}
.reading-hero>p {
  font-size:13px;
  line-height:1.8;
  color:#d1e2c7;
  max-width:62%;
  margin:6px 0 23px;
  position:relative;
  z-index:2
}
.reading-hero .primary {
  background:#ddeeca;
  color:#174f3a;
  position:relative;
  z-index:2;
  font-size:14px;
  min-height:49px
}
.reading-hero .primary:hover {
  background:#eff9df
}
.reading-hero .primary .ui-icon {
  width:19px
}
.reader-nuri {
  position:absolute;
  bottom:30px;
  right:15px;
  width:36%;
  height:auto;
  object-fit:contain;
  max-height:245px
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:13px;
  min-width:0
}
.section-heading h2 {
  font-size:16px;
  font-weight:600;
  line-height:1.5;
  margin:0
}
.section-heading>span {
  color:#5c7864;
  font-size:12px
}
.own-material {
  margin-top:27px
}
.own-material .section-heading {
  margin-bottom:10px
}
.material-actions {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}
.material-actions button {
  display:flex;
  align-items:center;
  gap:11px;
  min-height:92px;
  padding:19px 16px;
  background:white;
  border:1px solid #dee8dc;
  border-radius:16px;
  text-align:left;
  color:#315f3e
}
.material-actions button:hover {
  background:#edf5e9;
  border-color:#bfd3b8
}
.material-actions button>.ui-icon:first-child {
  width:24px;
  height:24px
}
.material-actions button>.ui-icon:last-child {
  margin-left:auto;
  width:16px;
  height:16px;
  color:#66866a
}
.material-actions b {
  display:block;
  font-size:13px;
  font-weight:600
}
.material-actions small {
  display:block;
  font-size:11px;
  margin-top:6px;
  color:#5c7863;
  line-height:1.5
}
.cancelled-note {
  display:flex;
  align-items:start;
  gap:11px;
  padding:23px 3px 0;
  color:#52775b
}
.cancelled-note>.ui-icon {
  width:19px;
  height:19px;
  margin-top:4px
}
.cancelled-note p {
  font-size:12px;
  line-height:1.8;
  margin:0
}
.cancelled-note span {
  color:#607969;
  font-size:11px
}
.goal-preview {
  background:#eaf1e3;
  border-radius:19px;
  padding:23px 24px
}
.goal-preview>.section-heading h2 {
  font-size:13px;
  color:#4b6d4f;
  font-weight:500
}
.goal-preview>p {
  font-size:21px;
  font-weight:500;
  line-height:1.5;
  letter-spacing:-.4px;
  margin:16px 0 22px;
  overflow-wrap:anywhere
}
.goal-foot {
  border-top:1px solid #d5e1cd;
  padding-top:17px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}
.goal-foot>span {
  color:#527358;
  font-size:11px
}
.goal-foot a {
  display:grid;
  place-items:center;
  min-width:44px;
  min-height:44px;
  border-radius:50%;
  border:1px solid #c4d6ba;
  color:#477449;
  text-decoration:none
}
.goal-foot a:hover {
  background:#d7e8cb
}
.goal-foot .ui-icon {
  width:19px;
  height:19px
}
.evidence-preview {
  padding:22px 3px 21px;
  margin-top:12px;
  border-bottom:1px solid var(--line)
}
.evidence-preview h2,.recent-entry h2 {
  font-size:14px
}
.evidence-line {
  display:flex;
  align-items:center;
  gap:15px;
  margin-top:17px
}
.evidence-line strong {
  font-size:30px;
  font-weight:500;
  letter-spacing:-1px;
  min-width:34px;
  font-variant-numeric:tabular-nums
}
.evidence-line span {
  font-size:12px;
  line-height:1.6;
  color:#527158;
  max-width:185px
}
.evidence-help {
  color:#5b7562;
  font-size:12px;
  line-height:1.8;
  margin:17px 0 0
}
.recent-entry {
  padding:17px 3px 0
}
.recent-entry>p {
  font-size:12px;
  line-height:1.9;
  color:#5b7563;
  margin:8px 0
}
.note-date {
  color:#607765;
  font-size:11px
}
.note-preview {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  overflow-wrap:anywhere
}
.library-tabs {
  display:flex;
  gap:6px;
  background:#e9f0e5;
  padding:5px;
  border-radius:13px;
  width:fit-content;
  margin-bottom:25px
}
.library-tabs a {
  min-width:115px;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#506d54;
  font-size:14px;
  border-radius:9px;
  padding:10px 20px
}
.library-tabs a[aria-current] {
  background:#fff;
  color:#224f32;
  box-shadow:0 2px 3px #2c4f3610
}
.library-heading {
  margin:0 0 22px
}
.library-heading>p {
  font-size:13px;
  color:#56715b;
  margin:0
}
.note-list {
  display:grid;
  gap:17px;
  max-width:820px
}
.saved-note {
  border:1px solid var(--line);
  border-radius:16px;
  background:white;
  padding:23px 25px;
  content-visibility:auto;
  contain-intrinsic-size:auto 170px
}
.saved-note>div {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px
}
.note-type {
  font-size:13px;
  font-weight:600;
  color:#3e6347
}
.saved-note time {
  font-size:12px;
  color:#617969
}
.saved-note p {
  font-size:14px;
  line-height:1.9;
  white-space:pre-wrap;
  margin:18px 0 0;
  overflow-wrap:anywhere
}
.library-empty {
  border-top:1px solid var(--line);
  padding:44px 0 30px;
  max-width:520px
}
.library-empty>.ui-icon {
  width:31px;
  height:31px;
  color:#578862
}
.library-empty h2 {
  font-size:21px;
  font-weight:500;
  margin:21px 0 12px
}
.library-empty p {
  font-size:14px;
  line-height:1.8;
  color:#56725f;
  max-width:420px
}
.word-section {
  max-width:770px;
  margin-bottom:30px;
  background:white;
  border:1px solid var(--line);
  padding:23px 25px;
  border-radius:16px
}
.word-section .section-heading {
  margin-bottom:10px
}
.word-row {
  gap:20px
}
.word-row>div {
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0
}
.word-row .ar {
  font-weight:500;
  font-size:30px;
  overflow-wrap:anywhere
}
.word-row>span {
  font-size:14px;
  color:#4f7157;
  overflow-wrap:anywhere
}
.word-row small {
  font-size:12px;
  color:#5f7966
}
.word-review {
  margin-top:22px
}
.empty-guidance {
  font-size:14px;
  line-height:1.9;
  max-width:530px;
  color:#57715e;
  margin:20px 0
}
.path-goal {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  padding:25px 28px;
  background:#e7efdf;
  border-radius:18px;
  margin-bottom:28px
}
.path-goal>div {
  min-width:0
}
.path-goal span {
  font-size:13px;
  color:#4f7053
}
.path-goal h2 {
  font-size:24px;
  font-weight:500;
  letter-spacing:-.5px;
  line-height:1.5;
  margin:10px 0;
  overflow-wrap:anywhere
}
.path-goal p {
  font-size:13px;
  color:#557359;
  margin:0
}
.path-goal>a {
  white-space:nowrap;
  flex-shrink:0;
  background:#f8fbf3
}
.path-metrics {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin:0 0 31px
}
.path-metrics>div {
  border-bottom:1px solid var(--line);
  padding:10px 0 20px;
  display:flex;
  flex-direction:column;
  gap:12px
}
.path-metrics strong {
  font-size:38px;
  font-weight:500;
  letter-spacing:-1.2px;
  font-variant-numeric:tabular-nums
}
.path-metrics strong small {
  font-size:19px;
  color:#66806b;
  font-weight:400;
  letter-spacing:0
}
.path-metrics>div>span {
  font-size:13px;
  line-height:1.7;
  max-width:200px;
  color:#55745c
}
.path-section {
  margin-top:24px;
  max-width:850px;
  background:white;
  border:1px solid var(--line);
  border-radius:16px;
  padding:25px 28px
}
.path-section h2 {
  font-size:17px;
  font-weight:600;
  line-height:1.5;
  margin:0
}
.activity-week {
  display:flex;
  gap:12px;
  justify-content:space-between;
  margin-top:25px
}
.activity-day {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  flex:1
}
.activity-day>span {
  font-size:12px;
  color:#5e7864
}
.activity-day>div {
  width:42px;
  height:42px;
  border-radius:13px;
  display:grid;
  place-items:center;
  color:#547259;
  background:#f1f6ed;
  font-size:13px;
  font-variant-numeric:tabular-nums
}
.activity-day>div.current {
  border:1px solid #91b485
}
.activity-day>div.done {
  background:#dfeecf;
  color:#306b38
}
.activity-day .ui-icon {
  width:19px;
  height:19px
}
.reading-checklist>div {
  display:flex;
  align-items:center;
  gap:17px;
  padding:18px 0;
  border-bottom:1px solid #e8eee5
}
.reading-checklist>div:last-child {
  border:0;
  padding-bottom:2px
}
.reading-tick {
  width:26px;
  height:26px;
  border:1px solid #b8ccaf;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex-shrink:0
}
.reading-tick.is-done {
  border:0;
  background:#e1efd8;
  color:#2e6e38
}
.reading-tick .ui-icon {
  width:17px;
  height:17px
}
.reading-checklist b {
  font-family:'Noto Naskh Arabic',Manrope,sans-serif;
  font-size:26px;
  font-weight:500;
  line-height:1.7;
  display:block
}
.reading-checklist small {
  font-size:12px;
  color:#5c7864;
  display:block;
  margin-top:3px
}
.attempt-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:20px 0 5px;
  font-size:13px
}
.attempt-row time,.attempt-row small {
  color:#5d7864
}
.content-narrow {
  max-width:790px
}
.card {
  border-radius:17px;
  padding:26px
}
.card label {
  font-size:14px;
  margin:19px 0 10px
}
.card label:first-child {
  margin-top:0
}
input,textarea,select {
  font-size:16px!important;
  line-height:1.7;
  border-color:#b6cbb6;
  border-radius:11px;
  padding:13px 15px
}
textarea {
  min-height:150px
}
input::placeholder,textarea::placeholder {
  color:#627c68
}
.form-actions {
  display:flex;
  align-items:center;
  gap:25px;
  margin-top:24px;
  flex-wrap:wrap
}
.form-help {
  font-size:13px;
  line-height:1.8;
  color:#57735d;
  margin:20px 0 0
}
.lesson-back {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:#47704f;
  font-size:13px;
  text-decoration:none;
  padding:6px 0;
  margin:-12px 0 14px
}
.lesson-step {
  display:flex;
  justify-content:space-between;
  gap:15px;
  font-size:13px;
  color:#56745b
}
.lesson-step+ .progress-track {
  margin:20px 0 24px;
  background:#e5eedf;
  height:5px
}
.lesson-step+ .progress-track>div {
  background:#609559
}
.lesson-prompt {
  font-size:15px;
  color:#4f7057;
  line-height:1.8;
  margin:0
}
.reading-question {
  font-family:'Noto Naskh Arabic',Manrope,sans-serif;
  font-size:48px;
  line-height:1.9;
  padding:31px 12px 29px;
  text-align:center;
  color:#264c33;
  overflow-wrap:anywhere
}
.reading-question:lang(en),.reading-question:lang(es) {
  font-family:Manrope,sans-serif;
  font-size:30px;
  line-height:1.6;
  padding:38px 12px
}
.reading-answers {
  display:grid;
  gap:12px
}
.answer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-align:left;
  font-size:15px;
  line-height:1.6;
  padding:16px 18px;
  min-height:58px;
  border-radius:12px;
  border-color:#bdceba;
  background:#fbfdf9;
  color:#355d3c
}
.answer:disabled {
  opacity:1;
  cursor:default
}
.answer .ui-icon {
  width:21px;
  height:21px
}
.answer.correct {
  background:#e2f0d8;
  border-color:#76a563
}
.answer.wrong {
  border-color:#bf8b76;
  background:#f7e9e0
}
.answer-feedback {
  font-size:14px;
  line-height:1.9;
  color:#466f50;
  margin:22px 0 0
}
.answer-feedback:empty {
  margin:0
}
.lesson-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px
}
.lesson-hint {
  padding:15px 19px;
  background:#f0f6e9;
  border-radius:12px;
  margin-top:7px;
  color:#56735b;
  font-size:14px;
  line-height:1.9
}
.lesson-hint>span {
  display:flex;
  gap:17px;
  align-items:center
}
.lesson-hint b {
  font-family:'Noto Naskh Arabic',Manrope,sans-serif;
  font-size:25px;
  font-weight:500
}
.complete {
  padding:22px 12px
}
.complete h2 {
  font-size:27px;
  letter-spacing:-.5px;
  font-weight:500;
  margin:12px 0 18px
}
.complete p {
  font-size:15px
}
.complete .completion-context {
  font-size:14px;
  color:#57755d;
  line-height:1.9;
  max-width:410px;
  margin:0 auto 25px
}
.complete>.quiet-link {
  display:flex;
  margin:12px auto 0
}
.nuri-intro .eyebrow,.nuri-greeting .eyebrow {
  display:none
}
.nuri-greeting {
  padding:18px 24px;
  min-height:135px;
  background:#eaf2e4;
  gap:20px;
  margin-bottom:23px
}
.nuri-greeting>img {
  width:85px;
  height:104px;
  margin-bottom:-18px;
  align-self:end
}
.nuri-greeting h2 {
  font-size:21px;
  line-height:1.4;
  margin:0 0 9px
}
.nuri-greeting p {
  font-size:13px;
  line-height:1.8;
  max-width:410px
}
.service-status {
  font-size:12px;
  padding:9px 12px;
  min-height:36px
}
.workbench {
  padding:25px
}
.input-modes {
  gap:5px;
  padding-bottom:19px
}
.input-modes button {
  min-height:48px;
  font-size:12px;
  gap:7px;
  padding:11px 8px;
  color:#466b4f
}
.input-modes button[aria-pressed=true] {
  background:#e5efdc;
  color:#284f32
}
.workbench-title h2 {
  font-size:20px;
  margin:25px 0 12px
}
.workbench-title p {
  font-size:14px;
  line-height:1.8;
  color:#54725a
}
.workbench label {
  font-size:14px
}
.workbench textarea {
  min-height:137px;
  background:#fbfdf9
}
.connection-note {
  font-size:12px;
  line-height:1.8;
  color:#56715d;
  margin-top:18px
}
.compose-actions .text-button {
  font-size:13px
}
.nuri-error {
  font-size:14px;
  color:#93533c
}
.dropzone {
  min-height:186px;
  border-color:#829e7b;
  border-radius:14px;
  background:#f3f8ee
}
.dropzone b {
  font-size:15px
}
.dropzone small {
  font-size:13px;
  color:#536f59
}
.dropzone em {
  font-size:12px;
  color:#5e7864
}
.file-link {
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px!important
}
.audio-boundary {
  font-size:12px;
  line-height:1.9
}
.voice-area>b {
  font-size:16px
}
.voice-area p {
  font-size:13px;
  line-height:1.8
}
.record-stop {
  min-height:48px;
  font-size:14px
}
.attachment-label span {
  font-size:13px
}
.transcript-step .eyebrow,.micro-exercise .eyebrow {
  font-size:13px;
  letter-spacing:0;
  font-weight:600;
  color:#3f684a
}
.transcript-step p,.transcript-step small {
  font-size:13px
}
.feedback-card {
  padding:26px
}
.feedback-heading b {
  font-size:15px
}
.feedback-heading small {
  font-size:12px
}
.feedback-heading .badge {
  font-size:11px;
  letter-spacing:0
}
.feedback-card h2 {
  font-size:23px;
  font-weight:500;
  line-height:1.5
}
.feedback-summary,.translation {
  font-size:14px;
  line-height:1.8
}
.result-label {
  font-size:12px;
  letter-spacing:0;
  font-weight:500;
  color:#58735d
}
.original-text {
  font-size:23px;
  line-height:1.8
}
.corrected-text {
  font-size:33px;
  line-height:1.8
}
.result-subtitle {
  font-size:16px!important;
  margin-top:28px!important
}
.correction p {
  font-size:14px;
  line-height:1.9
}
.result-words span {
  font-size:14px
}
.result-words small {
  font-size:12px
}
.micro-exercise p {
  font-size:14px;
  line-height:1.9
}
.micro-exercise .text-button {
  font-size:13px
}
.next-step,.uncertainty,.demo-warning {
  font-size:13px;
  line-height:1.9
}
.tutor-aside .eyebrow {
  font-size:12px;
  letter-spacing:0;
  font-weight:500
}
.tutor-aside h3 {
  font-size:16px
}
.tutor-steps b {
  font-size:13px
}
.tutor-steps p {
  font-size:12px
}
.tutor-steps li>span {
  font-size:11px;
  color:#456b4c
}
.nuri-principles h3 {
  font-size:14px
}
.nuri-principles p,.local-note p {
  font-size:12px;
  line-height:1.9
}
.badge {
  font-size:12px
}
footer {
  padding:21px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#5d7864
}
footer>span {
  font-size:14px;
  letter-spacing:0!important;
  font-weight:600
}
footer>p {
  font-size:11px;
  margin:0
}
dialog {
  padding:30px;
  border-radius:21px;
  max-width:460px;
  overscroll-behavior:contain
}
dialog h2 {
  font-size:25px;
  line-height:1.3;
  letter-spacing:-.5px;
  margin:8px 0 15px
}
dialog p,dialog small {
  font-size:14px;
  line-height:1.9;
  color:#57735d
}
dialog small {
  font-size:12px
}
.close {
  min-width:44px;
  min-height:44px;
  margin:-12px -12px 0 0
}
.language-choice {
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:15px;
  padding:13px 16px;
  background:#f6faf1;
  border-color:#dbe7d5
}
.language-choice>span {
  font-size:18px
}
#toast {
  font-size:14px;
  line-height:1.6;
  max-width:calc(100% - 36px);
  width:max-content;
  box-shadow:0 6px 30px #193c2320
}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline:2px solid #2e743f;
  outline-offset:4px
}
.reading-hero button:focus-visible {
  outline-color:#e1f6c4
}
.file-input:focus-visible {
  outline:2px solid #2e743f
}
.material-actions span {
  min-width:0
}
.goal-preview,.path-goal,.saved-note,.word-section {
  overflow-wrap:anywhere
}
[hidden] {
  display:none!important
}
@media(min-width:1400px) {
  main {
    padding:0 58px
  }
  .reading-hero {
    min-height:355px;
    padding:32px
  }
  .reading-hero h2 {
    font-size:26px
  }
  .reader-nuri {
    max-height:260px;
    bottom:28px
  }
}
@media(max-width:1150px) {
  .app {
    grid-template-columns:185px minmax(0,1fr)
  }
  .app>aside {
    padding:30px 13px 22px
  }
  main {
    padding:0 29px
  }
  .reader-dashboard {
    grid-template-columns:1fr
  }
  .reader-secondary {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:23px;
    align-items:start
  }
  .goal-preview {
    grid-row:span 2
  }
  .evidence-preview {
    margin-top:0;
    padding-top:0
  }
  .recent-entry {
    grid-column:2;
    padding-top:0
  }
  .reading-hero {
    min-height:335px
  }
  .reading-hero h2 {
    font-size:26px;
    max-width:65%
  }
  .hero-reading {
    font-size:46px
  }
  .reader-nuri {
    right:25px;
    width:32%;
    max-height:250px
  }
  .material-actions {
    gap:15px
  }
  .own-material {
    margin-top:26px
  }
  .home-heading h1 {
    font-size:32px
  }
  .reading-focus {
    display:none
  }
  .tutor-layout {
    grid-template-columns:1fr
  }
  .tutor-aside {
    display:none
  }
}
@media(max-width:760px) {
  .app {
    display:block
  }
  .app>.app-sidebar {
    position:fixed;
    top:auto;
    bottom:0;
    left:0;
    right:0;
    z-index:8;
    height:calc(76px + env(safe-area-inset-bottom,0px));
    padding:7px 12px calc(7px + env(safe-area-inset-bottom,0px));
    border-top:1px solid #dce6d8;
    border-right:0;
    background:#fbfdf8f5;
    backdrop-filter:blur(16px)
  }
  .app-sidebar>.brand,.app-sidebar>.tagline,.app-sidebar>.sidebar-bottom,.app-sidebar>.profile {
    display:none
  }
  .app-sidebar nav {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:6px
  }
  .app-sidebar nav a {
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    padding:7px 4px;
    min-height:59px;
    border-radius:12px;
    font-size:11px;
    line-height:1.2
  }
  .app-sidebar nav a>span {
    font-size:11px
  }
  .app-sidebar nav a.active {
    background:#e5efdc;
    color:#215534
  }
  .app-sidebar .nuri-nav img {
    width:25px;
    height:26px;
    margin:0
  }
  .app-sidebar .nav-icon {
    width:22px;
    height:22px
  }
  main {
    padding:0 24px calc(86px + env(safe-area-inset-bottom,0px));
    max-width:760px;
    margin:auto
  }
  header {
    height:75px;
    gap:15px
  }
  .breadcrumbs {
    display:none
  }
  .mobile-brand {
    display:inline-flex;
    align-items:center;
    gap:4px;
    font-size:27px;
    font-weight:800;
    letter-spacing:-1px;
    text-decoration:none;
    color:#1c4b31;
    min-height:44px
  }
  .mobile-brand span {
    color:#63a25d;
    font-size:25px
  }
  .language {
    font-size:13px;
    gap:10px;
    min-height:44px
  }
  .language-dot {
    width:6px;
    height:6px
  }
  .small-chevron {
    width:12px
  }
  #view {
    padding:27px 0 30px;
    min-height:calc(100vh - 225px)
  }
  .home-heading {
    margin-bottom:22px
  }
  .today-date {
    font-size:12px;
    margin-bottom:8px
  }
  .home-heading h1 {
    font-size:30px;
    letter-spacing:-1px
  }
  .reader-dashboard {
    gap:25px
  }
  .reading-hero {
    padding:27px;
    min-height:329px;
    border-radius:22px
  }
  .reading-hero h2 {
    font-size:25px;
    max-width:65%;
    margin:22px 0 6px
  }
  .hero-reading {
    max-width:62%;
    font-size:46px;
    line-height:1.65
  }
  .reading-hero>p {
    font-size:13px;
    max-width:62%;
    margin-top:6px;
    margin-bottom:21px
  }
  .reader-nuri {
    right:13px;
    bottom:30px;
    width:34%;
    max-height:225px
  }
  .reader-secondary {
    gap:21px
  }
  .own-material {
    margin-top:23px
  }
  .section-heading h2 {
    font-size:16px
  }
  .section-heading .quiet-link {
    font-size:12px
  }
  .material-actions button {
    min-height:90px;
    padding:17px 15px;
    gap:10px
  }
  .material-actions b {
    font-size:14px
  }
  .material-actions small {
    font-size:11px
  }
  .cancelled-note {
    padding-top:20px
  }
  .goal-preview {
    padding:22px
  }
  .goal-preview>p {
    font-size:20px
  }
  .evidence-line strong {
    font-size:29px
  }
  .intro h1 {
    font-size:28px
  }
  .intro p {
    font-size:14px;
    max-width:100%
  }
  .nuri-intro {
    display:block
  }
  .service-status {
    display:inline-flex;
    margin-top:17px;
    font-size:12px
  }
  .nuri-greeting {
    min-height:133px;
    padding:19px 20px;
    gap:18px
  }
  .nuri-greeting>img {
    width:79px;
    height:101px;
    margin-left:-2px;
    margin-bottom:-19px
  }
  .nuri-greeting h2 {
    font-size:20px;
    line-height:1.4
  }
  .nuri-greeting p {
    font-size:13px
  }
  .workbench {
    padding:24px
  }
  .input-modes {
    gap:4px
  }
  .input-modes button {
    font-size:12px;
    padding:10px 5px;
    flex-direction:column;
    gap:5px;
    min-height:62px
  }
  .input-modes button span {
    font-size:17px
  }
  .workbench-title h2 {
    font-size:20px
  }
  .compose-actions {
    flex-wrap:wrap;
    gap:12px
  }
  .compose-actions .primary {
    font-size:13px;
    min-height:48px;
    padding:12px 17px
  }
  .compose-actions .text-button {
    font-size:13px
  }
  .connection-note {
    font-size:12px
  }
  .library-tabs {
    margin-bottom:22px
  }
  .library-tabs a {
    font-size:14px;
    min-width:110px
  }
  .library-heading {
    gap:15px;
    flex-wrap:wrap
  }
  .library-heading>p {
    font-size:13px
  }
  .library-heading .primary {
    font-size:13px;
    padding:12px 17px;
    min-height:46px
  }
  .saved-note {
    padding:22px
  }
  .saved-note p {
    font-size:14px
  }
  .path-goal {
    align-items:start;
    padding:23px;
    flex-direction:column;
    gap:18px
  }
  .path-goal h2 {
    font-size:23px
  }
  .path-goal .secondary {
    font-size:13px;
    padding:10px 16px;
    min-height:44px
  }
  .path-metrics {
    gap:14px;
    margin-bottom:25px
  }
  .path-metrics strong {
    font-size:32px
  }
  .path-metrics strong small {
    font-size:16px
  }
  .path-metrics>div>span {
    font-size:12px;
    line-height:1.8
  }
  .path-section {
    padding:23px
  }
  .path-section .section-heading {
    align-items:start;
    flex-wrap:wrap;
    gap:5px
  }
  .path-section .section-heading h2 {
    font-size:16px
  }
  .path-section .section-heading>span {
    font-size:11px
  }
  .activity-week {
    gap:8px
  }
  .activity-day>div {
    width:38px;
    height:40px
  }
  .activity-day>span {
    font-size:11px
  }
  .path-section h2 {
    font-size:16px
  }
  .attempt-row {
    font-size:12px;
    gap:10px;
    flex-wrap:wrap
  }
  .reading-checklist b {
    font-size:25px
  }
  .reading-checklist small {
    font-size:12px
  }
  .word-section {
    padding:22px
  }
  .card {
    padding:23px
  }
  .form-actions {
    gap:13px;
    align-items:center
  }
  .form-actions .primary {
    font-size:14px
  }
  .lesson-prompt {
    font-size:14px
  }
  .lesson-step {
    font-size:12px
  }
  .reading-question {
    font-size:45px;
    padding:24px 3px;
    line-height:1.9
  }
  .reading-question:lang(en),.reading-question:lang(es) {
    font-size:27px;
    padding:28px 4px
  }
  .answer {
    font-size:14px;
    min-height:57px
  }
  .lesson-actions {
    gap:11px
  }
  .lesson-actions .primary,.lesson-actions .secondary {
    font-size:13px;
    min-height:48px
  }
  .answer-feedback {
    font-size:14px
  }
  .lesson-hint {
    font-size:14px
  }
  .complete {
    padding:18px 5px
  }
  .complete h2 {
    font-size:25px
  }
  .completion-nuri {
    width:114px;
    height:124px
  }
  .feedback-card {
    padding:23px
  }
  .feedback-card h2 {
    font-size:22px
  }
  .result-words {
    gap:10px
  }
  .result-words>div {
    padding:14px
  }
  .result-words b {
    font-size:25px
  }
  .result-words span {
    font-size:13px
  }
  .original-text {
    font-size:22px
  }
  .next-step,.uncertainty,.demo-warning {
    font-size:13px
  }
  .result-actions {
    gap:10px
  }
  .result-actions .primary,.result-actions .secondary {
    font-size:13px;
    min-height:48px
  }
  footer {
    padding:17px 0
  }
  footer>span {
    display:block;
    font-size:13px
  }
  footer>p {
    font-size:11px
  }
  #toast {
    bottom:94px;
    padding:13px 18px;
    max-width:calc(100% - 32px)
  }
  .dropzone {
    min-height:186px
  }
  .dropzone b {
    font-size:14px
  }
  .dropzone small {
    font-size:12px
  }
}
@media(max-width:480px) {
  main {
    padding-left:20px;
    padding-right:20px
  }
  .home-heading h1 {
    font-size:29px
  }
  .reading-hero {
    padding:24px;
    min-height:349px
  }
  .reading-hero h2 {
    max-width:68%;
    font-size:22px;
    line-height:1.4
  }
  .hero-reading {
    font-size:39px;
    max-width:66%;
    line-height:1.85
  }
  .hero-reading:lang(en),.hero-reading:lang(es) {
    font-size:25px;
    line-height:1.5
  }
  .reading-hero>p {
    max-width:64%;
    font-size:12px;
    line-height:1.9
  }
  .reader-nuri {
    width:35%;
    right:7px;
    bottom:31px;
    max-height:177px
  }
  .reading-hero .primary {
    font-size:13px;
    min-height:47px;
    padding:12px 16px;
    gap:9px
  }
  .lesson-meta {
    font-size:11px;
    gap:6px
  }
  .reader-secondary {
    display:block
  }
  .goal-preview {
    border-radius:17px
  }
  .goal-preview>p {
    font-size:22px;
    line-height:1.5;
    max-width:300px
  }
  .goal-foot {
    padding-top:10px
  }
  .goal-foot>span {
    font-size:12px
  }
  .evidence-preview {
    padding:18px 3px 22px;
    margin-top:9px
  }
  .evidence-line {
    margin-top:14px
  }
  .evidence-line span {
    max-width:none;
    font-size:13px
  }
  .recent-entry {
    padding-top:18px
  }
  .recent-entry>p {
    font-size:13px
  }
  .material-actions {
    gap:10px
  }
  .material-actions button {
    padding:17px 13px;
    min-height:108px;
    flex-wrap:wrap;
    gap:10px;
    position:relative;
    align-content:start
  }
  .material-actions button>.ui-icon:first-child {
    width:23px;
    height:23px
  }
  .material-actions button>.ui-icon:last-child {
    position:absolute;
    right:13px;
    top:20px;
    width:15px;
    height:15px
  }
  .material-actions button>span {
    width:100%
  }
  .material-actions b {
    font-size:13px
  }
  .material-actions small {
    font-size:11px;
    line-height:1.6;
    margin-top:5px
  }
  .cancelled-note p {
    font-size:12px
  }
  .cancelled-note span {
    font-size:11px
  }
  .section-heading .quiet-link {
    font-size:12px
  }
  .intro h1 {
    font-size:27px
  }
  .intro p {
    font-size:14px;
    line-height:1.8
  }
  .nuri-greeting {
    padding:19px 16px;
    gap:13px
  }
  .nuri-greeting h2 {
    font-size:18px
  }
  .nuri-greeting p {
    font-size:12px;
    line-height:1.8
  }
  .nuri-greeting>img {
    width:75px;
    height:96px
  }
  .workbench {
    padding:20px
  }
  .input-modes button {
    font-size:11px;
    min-height:62px;
    padding:10px 4px
  }
  .workbench-title h2 {
    font-size:19px
  }
  .workbench-title p {
    font-size:13px;
    line-height:1.9
  }
  .compose-actions {
    align-items:stretch;
    justify-content:space-between
  }
  .compose-actions .primary {
    padding:12px 14px;
    font-size:12px
  }
  .compose-actions .text-button {
    font-size:12px
  }
  .feedback-card {
    padding:21px
  }
  .feedback-heading small {
    font-size:11px
  }
  .feedback-card h2 {
    font-size:21px
  }
  .feedback-summary {
    font-size:13px
  }
  .correction p {
    font-size:13px
  }
  .card {
    padding:21px
  }
  .path-metrics {
    gap:12px
  }
  .path-metrics>div {
    padding-bottom:17px
  }
  .path-metrics strong {
    font-size:31px
  }
  .path-metrics>div>span {
    font-size:11px;
    line-height:1.8
  }
  .path-goal {
    padding:22px
  }
  .path-goal h2 {
    font-size:22px
  }
  .path-section {
    padding:21px
  }
  .activity-week {
    gap:5px
  }
  .activity-day>div {
    width:32px;
    height:36px;
    font-size:12px;
    border-radius:10px
  }
  .activity-day>span {
    font-size:11px
  }
  .reading-question {
    font-size:40px;
    line-height:1.9;
    padding:25px 0
  }
  .reading-checklist b {
    font-size:24px
  }
  .attempt-row {
    align-items:baseline
  }
  .lesson-step {
    font-size:12px
  }
  .answer {
    font-size:14px;
    padding:14px 15px
  }
  .answer-feedback {
    font-size:13px;
    line-height:2
  }
  .lesson-actions {
    display:grid;
    grid-template-columns:1fr
  }
  .lesson-actions .secondary {
    min-height:46px
  }
  .form-actions {
    align-items:stretch;
    flex-direction:column;
    gap:8px
  }
  .form-actions .quiet-link {
    min-height:44px
  }
  .saved-note {
    padding:21px
  }
  .saved-note>div {
    align-items:start
  }
  .saved-note p {
    font-size:14px
  }
  .library-heading .primary {
    font-size:13px
  }
  .language-choice {
    font-size:15px
  }
  dialog {
    padding:27px
  }
}
@media(max-width:359px) {
  main {
    padding-left:15px;
    padding-right:15px
  }
  .reading-hero {
    padding:21px
  }
  .reading-hero h2 {
    font-size:21px
  }
  .hero-reading {
    font-size:36px
  }
  .reader-nuri {
    max-height:156px;
    right:4px;
    bottom:40px
  }
  .reading-hero>p {
    font-size:12px;
    max-width:65%
  }
  .reading-hero .primary {
    font-size:12px;
    padding:12px 14px
  }
  .section-heading h2 {
    font-size:15px
  }
  .section-heading .quiet-link {
    font-size:11px
  }
  .material-actions b {
    font-size:12px
  }
  .material-actions small {
    font-size:10px
  }
  .app-sidebar nav a>span {
    font-size:10px
  }
  .nuri-greeting h2 {
    font-size:17px
  }
  .nuri-greeting>img {
    width:62px;
    height:85px
  }
  .input-modes button {
    font-size:10px
  }
  .path-section {
    padding:18px
  }
  .activity-day>div {
    width:30px;
    height:34px
  }
  .reading-question {
    font-size:36px
  }
  .path-metrics strong {
    font-size:29px
  }
  .path-metrics>div>span {
    font-size:11px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
.today-date {
  text-transform:none
}
.today-date::first-letter {
  text-transform:uppercase
}
@media(max-width:760px) {
  .nuri-greeting {
    min-height:82px;
    padding:13px 18px;
    margin-bottom:20px;
    gap:15px
  }
  .nuri-greeting>img {
    width:57px;
    height:70px;
    margin-bottom:-13px
  }
  .nuri-greeting h2 {
    font-size:18px;
    margin:0;
    line-height:1.45
  }
  .nuri-greeting p {
    display:none
  }
}
/* Three library sections fit small Telegram WebViews. */
@media(max-width:600px){.library-tabs{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.library-tabs a{min-width:0;padding:10px 6px}}
