#section-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0 40px;flex-shrink:0;border-bottom:1px solid var(--line);background:#fff}#section-nav button{border:0;border-bottom:3px solid transparent;background:none;display:flex;align-items:center;gap:10px;text-align:left;padding:13px 12px;font-size:13px;color:var(--muted)}#section-nav button[aria-current=true]{color:var(--green);border-bottom-color:var(--green);font-weight:750;background:#f2f6f2}#section-nav button span{font-size:11px;color:var(--green)}#chapter-name{font-size:13px}#page-kind{font-size:11px}.step-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:10px}.step-actions #previous-action{width:37px;height:37px;display:grid;place-items:center;border:1px solid var(--line);background:white;border-radius:3px}.step-actions #start-motion{min-height:37px;min-width:160px;justify-content:center;font-size:12px}#phases button[aria-current=step]{background:#eaf2ed}#phases button.done{border-bottom-color:#70a991;color:var(--green)}#motion-status{min-width:120px}.visual-heading{min-height:25px}#theory{scrollbar-gutter:stable}#diagram{margin-top:2px}
@media (min-width:1200px){#theory{max-height:calc(100dvh - 275px)}#diagram{height:calc(100dvh - 565px);min-height:250px;max-height:480px}.learning-layout{gap:35px}}
@media (max-width:680px){#section-nav{padding:0 10px}#section-nav button{padding:10px 5px;gap:5px;font-size:10px;line-height:1.5}#section-nav button span{font-size:9px}.top{height:45px}#reader,body[data-kind=motion] #reader{padding-top:15px}.step-actions #start-motion{min-width:165px}.step-actions{justify-content:space-between}#motion-status{font-size:10px;min-width:110px}#chapter-name{font-size:10px}#page-kind{font-size:9px}#diagram{aspect-ratio:620/720}}
