.learn-subnav{display:flex;flex-wrap:wrap;gap:7px;margin:23px 0 30px;justify-content:flex-start}.learn-subnav a{border:1px solid var(--line);border-radius:4px;padding:8px 12px;font-size:12px;color:var(--green)}.learn-subnav a[aria-current=page],.learn-subnav a:hover{background:var(--pale);border-color:var(--green)}.learning-next{display:flex;align-items:center;justify-content:space-between;gap:25px;background:var(--pale);border-left:4px solid var(--green);padding:30px;border-radius:5px;margin:24px 0}.learning-next h2{font-size:34px;margin:0 0 12px}.learning-next p{font-size:14px;color:var(--muted);margin:0;max-width:700px}.learning-next>.btn{flex:none}.learning-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0}.learning-feature{border:1px solid var(--line);border-radius:5px;overflow:hidden;background:#fff;padding-bottom:20px}.learning-feature img{width:100%;height:190px;object-fit:contain;background:var(--paper)}.learning-feature h2,.learning-feature h3{font-size:28px;margin:20px 22px 12px}.learning-feature p{font-size:13px;color:var(--muted);margin:0 22px}.learn-section-title{margin:45px 0 20px}.knowledge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.knowledge-grid article{border:1px solid var(--line);padding:22px;border-radius:5px}.knowledge-grid h3{font-size:25px;margin-bottom:18px}.knowledge-grid .eyebrow{font-size:9px}.knowledge-grid p{font-size:12px;color:var(--muted);margin:14px 0}.knowledge-grid .text-button{font-size:12px}.knowledge-grid small{font-size:11px}.knowledge-meter{height:6px;background:#e7eee8;border-radius:5px;overflow:hidden}.knowledge-meter i{display:block;height:100%;background:#497c63}.knowledge-categories{display:flex;flex-wrap:wrap;gap:5px;margin:13px 0}.knowledge-categories span{background:var(--pale);padding:3px 6px;font-size:10px;border-radius:3px}.learn-notice{padding:23px;background:var(--paper);border:1px solid var(--line);border-radius:5px;color:var(--muted);line-height:1.8;margin:20px 0}.learn-notice h2{font-size:28px;color:var(--ink)}.learn-notice p{font-size:14px}.learn-form{border:1px solid var(--line);background:#fbfcfa;border-radius:5px;padding:26px;margin:25px 0}.learn-form h2{font-size:29px}.learn-form label,.learn-filter label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted);margin-bottom:16px}.learn-form input,.learn-form select,.learn-form textarea{width:100%;font:15px/1.7 Arial,sans-serif;max-width:100%}.learn-form textarea,.learn-answer-draft,#oral-outline{font:15px/1.8 Arial,sans-serif;width:100%;padding:15px;border:1px solid var(--line);border-radius:4px;resize:vertical;color:var(--ink);background:#fff}.learn-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.learn-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 20px;margin:18px 0}.learn-check-grid label,.learn-form .learn-check{display:flex;flex-direction:row;align-items:flex-start;gap:9px;margin:0;font-size:13px;color:var(--ink)}.learn-check-grid input,.learn-check input{width:auto;accent-color:var(--green);margin-top:5px;flex:none}.small-note{font-size:12px;color:var(--muted);line-height:1.8;margin:13px 0}.learn-form-status{font-size:13px;color:var(--green);margin:12px 0 0}.learn-topic-picker{border:1px solid var(--line);background:#fff;padding:15px;margin:15px 0}.learn-topic-picker summary{cursor:pointer;font-size:13px}.learn-sources{margin:18px 0;font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px}.learn-sources summary{cursor:pointer}.learn-sources a{display:block;margin:9px 0;text-decoration:underline}.community-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0}.community-toolbar>label{font-size:12px;color:var(--muted);min-width:200px}.community-toolbar select{display:block;margin-top:7px;max-width:100%;width:100%}.community-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.community-stat-row article{border:1px solid var(--line);border-radius:5px;padding:22px;background:var(--pale)}.community-stat-row strong{display:block;font:40px Georgia,serif;color:var(--green)}.community-stat-row span{font-size:12px;color:var(--muted)}.community-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:5px;margin:25px 0}.community-table{border-collapse:collapse;width:100%;min-width:660px;font-size:13px}.community-table th{background:var(--pale);padding:14px 18px;text-align:left;color:var(--green);font-size:12px}.community-table td{padding:18px;border-top:1px solid var(--line);vertical-align:top}.community-table .is-me{background:#f5f8f2}.community-table summary{cursor:pointer;min-width:220px;font-size:12px}.student-me{font-size:10px;background:var(--green);color:#fff;padding:3px 7px;border-radius:3px;margin-left:9px}.community-topic-list>div{display:grid;grid-template-columns:1fr auto;gap:5px 20px;min-width:260px;margin:15px 0}.community-topic-list small{font-size:10px;color:var(--muted)}.community-topic-list i{grid-column:1/-1;height:5px;background:linear-gradient(to right,#497c63 var(--knowledge),#e9eee6 var(--knowledge));border-radius:3px}.learn-game-config{display:flex;gap:20px;align-items:flex-end;flex-wrap:wrap}.learn-game-config label{margin:0;flex:1;min-width:160px}.learn-game-config .btn{flex:none}.learn-player-progress{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:var(--green);border-bottom:1px solid var(--line);padding:16px 0;margin:20px 0 30px}.learn-player-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:start}.learn-player-grid.text-only{display:block;max-width:850px;margin:auto}.learn-player-grid h2{font-size:32px;line-height:1.25}.learn-player-photo{background:var(--paper);border:1px solid var(--line);padding:15px}.learn-player-photo img{width:100%;height:360px;object-fit:contain}.detail-window{height:400px;overflow:hidden;background:var(--paper);border:1px solid var(--line);border-radius:4px}.detail-window img{width:100%;height:100%;object-fit:cover;transition:transform .65s ease;transform-origin:center}.hotspot-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:30px;align-items:start}.hotspot-frame{padding:0;border:1px solid var(--line);background:var(--paper);position:relative;display:block;max-width:100%;width:fit-content;cursor:crosshair;margin:auto}.hotspot-frame img{max-width:100%;max-height:520px;display:block;width:auto;height:auto}.hotspot-cursor{position:absolute;width:25px;height:25px;transform:translate(-50%,-50%);border-radius:50%;background:#245b4fce;color:white;font:23px/23px Arial;text-align:center;pointer-events:none;box-shadow:0 0 0 2px white}.hotspot-target{position:absolute;border:3px solid #b88636;background:#dcb56c45;pointer-events:none;box-shadow:0 0 0 1px #fff}.hotspot-question{font-size:29px;line-height:1.4;max-width:1000px}.duel-pictures{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:25px 0}.duel-pictures figure{margin:0;border:1px solid var(--line);background:var(--paper);padding:15px}.duel-pictures img{width:100%;height:310px;object-fit:contain}.duel-pictures figcaption{font-size:12px;color:var(--muted);padding:12px 0 0}.learn-finished{text-align:center;border:1px solid var(--line);border-radius:6px;padding:45px;margin:30px 0}.learn-finished h2{font-size:65px}.learn-finished .btn{margin:10px}.learn-filter{display:flex;gap:22px;margin:25px 0}.learn-filter label{flex:1}.learn-filter input,.learn-filter select{width:100%;max-width:100%}.author-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.author-grid>a{border:1px solid var(--line);border-radius:5px;overflow:hidden}.author-grid img{width:100%;height:175px;object-fit:contain;background:var(--paper)}.author-grid>a>div{padding:18px}.author-grid h3{font-size:25px}.author-grid p{font-size:11px;color:var(--muted)}.author-grid small{font-size:10px;color:var(--green)}.author-profile,.path-stop{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;margin:25px 0}.author-profile>div:first-child img,.path-stop>div:first-child img{width:100%;height:410px;object-fit:contain;background:var(--paper);border:1px solid var(--line);padding:15px}.author-profile>div:first-child>p,.path-stop>div:first-child>p{font-size:12px;color:var(--muted);margin:12px 0}.author-biography{font:24px/1.65 Georgia,serif}.author-profile ul{font-size:14px;line-height:1.9;padding-left:20px}.author-works{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.author-works>a{border:1px solid var(--line);padding:18px;border-radius:4px}.author-works img{height:220px;width:100%;object-fit:contain;background:var(--paper)}.author-works h3{font-size:24px;margin-top:18px}.author-works p{font-size:13px;color:var(--muted)}.path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.path-grid>a{border:1px solid var(--line);border-radius:5px;overflow:hidden}.path-grid img{width:100%;height:245px;object-fit:contain;background:var(--paper)}.path-grid>a>div{padding:25px}.path-grid h2{font-size:29px}.path-grid p{font-size:14px;color:var(--muted)}.path-route{display:flex;gap:9px;overflow:auto;margin:25px 0}.path-route>a{border:1px solid var(--line);border-radius:4px;display:block;text-align:center;padding:13px 15px;min-width:135px;font:24px Georgia,serif;flex:1}.path-route .active{background:var(--pale);border-color:var(--green)}.path-route span{display:block;font:11px/1.5 Arial,sans-serif;color:var(--muted);margin-top:6px}.path-stop h2{font-size:32px}.path-stop p{font-size:16px;line-height:1.85}.path-question{padding:20px;background:var(--pale);border-left:3px solid var(--green);margin:25px 0}.path-question h3{font-size:23px;line-height:1.4}.path-question summary{font-size:13px;cursor:pointer;color:var(--green)}.path-question details p{margin-top:15px;font-size:14px}.notebook-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0}.notebook-grid article{border:1px solid var(--line);padding:25px;border-radius:5px}.notebook-grid h3{font-size:28px}.notebook-grid blockquote,.learn-form blockquote{border-left:3px solid var(--gold);background:var(--paper);padding:16px;margin:18px 0;font-size:14px;white-space:pre-line}.notebook-text{white-space:pre-line;font-size:15px;line-height:1.9;margin:18px 0}.notebook-grid summary{font-size:13px;cursor:pointer}.notebook-grid details p{font-size:14px;white-space:pre-line}.notebook-grid .actions{margin-top:22px;font-size:12px}.selection-note{position:fixed;bottom:20px;right:20px;z-index:35;box-shadow:0 4px 20px #173c3030;font-size:13px}.selection-note[hidden]{display:none}.oral-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:35px}.oral-heading h2{font-size:38px;margin:0}.oral-heading output{font:46px Georgia,serif;color:var(--green);flex:none}#oral-player>label{display:block;font-size:13px;margin:20px 0}#oral-player>img{width:100%;height:350px;object-fit:contain;margin:25px 0;background:var(--paper)}.oral-review>details{border:1px solid var(--line);padding:17px;margin:15px 0;border-radius:4px}.oral-review>details>summary{cursor:pointer}.oral-review h3{font-size:26px;margin-top:25px}.oral-review p{font-size:15px;line-height:1.85;margin-top:20px}.practice-new-tools{display:flex;flex-wrap:wrap;gap:12px;margin:25px 0}.learn-answer-draft{margin-bottom:20px}.learn-form .text-button{font-size:12px}.learn-page .feedback{margin-top:20px}
@media(min-width:1101px){.header-inner nav{gap:18px}.header-inner nav a{font-size:13px}.header-inner{gap:20px}}
@media(max-width:1000px){.knowledge-grid,.author-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.learning-feature-grid{gap:15px}.learn-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-next{padding:25px}.hotspot-layout{grid-template-columns:1fr}.hotspot-frame img{max-height:450px}.author-profile,.path-stop{gap:25px}.author-biography{font-size:22px}}
@media(max-width:700px){.learn-subnav{flex-wrap:nowrap;overflow:auto;padding-bottom:10px;justify-content:flex-start;gap:6px}.learn-subnav a{flex:none;font-size:11px;white-space:nowrap}.learning-next{display:block;padding:23px}.learning-next>.btn{margin-top:20px}.learning-next h2{font-size:29px}.learning-feature-grid,.path-grid{grid-template-columns:1fr}.learning-feature img{height:220px}.knowledge-grid,.author-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-grid article{padding:17px}.knowledge-grid h3{font-size:23px}.learn-fields{grid-template-columns:1fr;gap:0}.learn-form{padding:20px}.community-toolbar{display:block}.community-toolbar>label{display:block;margin-top:20px}.community-stat-row{gap:10px}.community-stat-row article{padding:17px 12px}.community-stat-row strong{font-size:32px}.community-stat-row span{font-size:10px}.learn-player-grid,.author-profile,.path-stop{grid-template-columns:1fr}.learn-player-grid{gap:23px}.learn-player-grid h2{font-size:29px}.detail-window{height:340px}.duel-pictures{gap:12px}.duel-pictures img{height:220px}.duel-pictures figure{padding:9px}.duel-pictures figcaption{font-size:10px}.author-works{grid-template-columns:1fr 1fr}.author-grid img{height:155px}.author-grid>a>div{padding:15px}.author-grid h3{font-size:21px}.author-profile>div:first-child img,.path-stop>div:first-child img{height:330px}.learn-filter{display:block}.notebook-grid{grid-template-columns:1fr}.learn-check-grid{grid-template-columns:1fr 1fr;gap:12px}.selection-note{bottom:15px;left:20px;right:20px;max-width:calc(100% - 40px)}.oral-heading h2{font-size:29px}.oral-heading output{font-size:36px}.learn-game-config{display:block}.learn-game-config label{margin-bottom:17px}.learn-game-config .btn{width:100%}.hotspot-question{font-size:24px}.hotspot-frame img{max-height:380px}}
@media(max-width:420px){.knowledge-grid,.author-works{grid-template-columns:1fr}.author-grid{gap:12px}.learn-check-grid{grid-template-columns:1fr}.duel-pictures img{height:175px}.community-stat-row{grid-template-columns:1fr 1fr}.learn-page h1{font-size:37px}}
@media(prefers-reduced-motion:reduce){.detail-window img{transition:none}}

/* Learning navigation stays in the document, independently of the header menu. */
.learn-subnav{position:static;min-width:0;max-width:100%;flex:initial;align-items:stretch}
.learn-page .btn,.learn-page .text-button{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;height:auto;line-height:1.6}
.learn-page .btn{min-height:46px;text-align:center}
.learn-page .actions{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch}
.learn-page .actions>*{min-width:0;max-width:100%}
.learning-next>div{min-width:0;flex:1 1 360px}
.learning-next{flex-wrap:wrap}
.learning-next>.btn{flex:0 1 auto}
.learn-page :is(.answer-options,.answer-option,.learn-notice,.learn-form,.knowledge-grid article){min-width:0}
.learn-page .answer-option{white-space:normal;height:auto;overflow-wrap:anywhere}
.learn-page .chip{white-space:normal;line-height:1.6;height:auto}
.learn-subnav a{display:flex;align-items:center;justify-content:center;min-height:44px;line-height:1.5;text-align:center}
.learn-page :is(.learn-fields,.learn-filter,.learn-player-grid,.author-profile,.path-stop,.oral-heading)>*{min-width:0}
.learn-page :is(h1,h2,h3,p,blockquote,.notebook-text,.learn-form-status,#offline-status,.learn-sources a){overflow-wrap:anywhere}
.learn-page :is(input,select,textarea),#learn-note-form :is(input,select,textarea){min-width:0}
#learning-player,#oral-player{scroll-margin-top:90px}

@media(max-width:700px){
  .learn-subnav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;padding:0;margin:20px 0 24px}
  .learn-subnav a{white-space:normal;font-size:13px;padding:10px 8px}
  .learn-page .actions{align-items:stretch}
  .learn-page .actions>.btn,.learning-next>.btn{width:100%;min-height:48px;text-align:center}
  .learn-page .actions>label{width:100%;font-size:14px}
  .learn-page .actions>label input{display:block;width:100%;margin-top:8px}
  .learn-page :is(.learn-form,.learn-filter,.actions) :is(input,select,textarea),#learn-note-form :is(input,select,textarea){font-size:16px}
  .learn-page .learn-form :is(input:not([type=checkbox]):not([type=hidden]),select),#learn-note-form :is(input:not([type=hidden]),select){min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink)}
  .learn-check-grid label,.learn-form .learn-check{min-height:44px;align-items:center;line-height:1.6}
  .learn-check-grid input,.learn-check input{width:20px;height:20px;margin-top:0}
  .learn-page .learn-topic-picker{padding:12px}
  .learn-topic-picker summary,.learn-sources summary,.path-question summary,.notebook-grid summary{min-height:44px;align-content:center;line-height:1.6}
  .learn-player-progress{flex-wrap:wrap;line-height:1.6;gap:6px 15px}
  .learn-player-photo img{height:auto;max-height:340px;min-height:180px}
  .oral-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}
  .oral-heading h2{flex:1 1 210px}
  .learn-finished{padding:25px 18px}
  .learn-finished h2{font-size:42px}
  .learn-finished .btn{display:flex;margin:12px 0}
  .knowledge-grid,.author-works{grid-template-columns:1fr}
  .knowledge-grid article{padding:20px}
  .knowledge-grid .text-button{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
  .knowledge-grid p{font-size:13px}
  .learn-page .learn-notice{padding:18px}
  .notebook-grid article{padding:20px}
  .notebook-grid .text-button{min-height:44px;display:inline-flex;align-items:center;padding:5px 8px}
  .selection-note{bottom:max(15px,env(safe-area-inset-bottom));white-space:normal;min-height:48px}
  dialog:has(#learn-note-form){max-height:90dvh}
  #learn-note-form{padding:16px;margin:0}
  #learn-note-form .learn-fields{grid-template-columns:1fr;gap:0}
  #learn-note-form>.btn{width:100%;min-height:48px}
}

@media(max-width:370px){
  .learn-page h1{font-size:34px}
  .author-grid{grid-template-columns:1fr}
}

.student-avatar{display:inline-flex;width:42px;height:42px;border-radius:50%;align-items:center;justify-content:center;background:var(--pale);border:1px solid var(--line);overflow:hidden;flex:none;color:var(--green);font:600 14px Arial,sans-serif}.student-avatar img{width:100%;height:100%;object-fit:cover}.student-avatar-large{width:104px;height:104px;font-size:30px}.student-identity{display:flex;align-items:center;gap:12px}.avatar-upload-layout{display:flex;gap:25px;align-items:center}.avatar-upload-layout>div:last-child{flex:1}.avatar-upload-layout label{display:block;font-size:13px;margin-bottom:10px}.avatar-upload-layout input[type=file]{max-width:100%;font-size:13px}.avatar-form .actions{margin-top:15px}@media(max-width:700px){.avatar-upload-layout{align-items:flex-start;flex-direction:column;gap:18px}.student-avatar{width:36px;height:36px}.student-avatar-large{width:90px;height:90px}.student-identity{gap:9px}}
