:root{font-family:Montserrat,Arial,sans-serif;color:#121212;background:#f5f4ef;font-synthesis:none;line-height:1.55;--yellow:#f7c90d;--line:#e4e1d7;--muted:#64645b}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:4px}header{background:#121212;color:white;min-height:78px;padding:20px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{text-decoration:none;font-weight:850;letter-spacing:-.5px;font-size:23px;white-space:nowrap}.brand strong{color:var(--yellow)}.brand span{font-size:12px;letter-spacing:.3px;margin-left:10px}.identity{font-size:12px;color:#d1d1c9}.shell{max-width:1440px;margin:auto;padding:32px;display:grid;grid-template-columns:210px minmax(0,1fr);gap:32px}.shell.guest{display:block;max-width:1200px;padding-top:64px}nav{background:white;border-radius:18px;padding:16px;height:fit-content;position:sticky;top:20px;display:grid;gap:8px}.nav-label{font-weight:800;margin-bottom:12px}nav a,nav button{display:block;text-align:left;font-size:13px;text-decoration:none;border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:white;width:100%}nav a:hover,nav button:hover{background:#fff3bb}main{min-width:0}h1{font-size:clamp(28px,3.1vw,42px);line-height:1.14;letter-spacing:-1.1px;margin:12px 0 26px;font-weight:850}h2{font-size:22px;line-height:1.25;letter-spacing:-.5px;margin:0 0 14px;font-weight:800}h3{font-size:17px}p{margin:10px 0 18px}.eyebrow{display:block;font-size:10px;letter-spacing:1px;font-weight:800;color:var(--muted)}.panel{background:white;border-radius:18px;padding:24px;margin-bottom:20px}.muted,figcaption{color:var(--muted);font-size:13px}.button,button{font-family:inherit;font-size:13px;font-weight:700;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border-radius:10px;border:1px solid var(--line);padding:11px 17px;background:white;color:#121212}.button:hover,button:hover{background:#fff3bb}.primary{background:var(--yellow);border-color:var(--yellow)}.primary:hover{background:#ebbc00}.selected{background:#fff3bb}.quiet{background:#f5f4ef}:focus-visible{outline:3px solid #327bc3;outline-offset:3px}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.actions form{margin:0}.page-heading{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:20px}.page-heading h1,.page-heading h2{margin-bottom:0}.page-heading h1{margin-top:8px}.back{display:block;font-size:13px;margin-bottom:20px}.progress-hero{background:#121212;color:white;border-radius:18px;padding:24px;margin-bottom:24px}.progress-hero p{font-size:13px;color:#eeeae0}progress{display:block;width:100%;height:9px;appearance:none;border:0;border-radius:8px;background:#deddd5;overflow:hidden}progress::-webkit-progress-bar{background:#deddd5}progress::-webkit-progress-value{background:var(--yellow)}progress::-moz-progress-bar{background:var(--yellow)}.module{display:flex;gap:20px}.module-num{font-size:24px;font-weight:850;color:#b1b1a6;min-width:38px}.module-body{flex:1;min-width:0}.module h2{margin:8px 0}.module-list{display:grid;gap:0}.lesson-link{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--line);font-size:14px}.lesson-link.panel{padding:20px}.locked{background:#edede6}.lock{white-space:nowrap}.login-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch}.welcome{background:var(--yellow);border-radius:22px;padding:40px;display:flex;flex-direction:column;justify-content:space-between;min-height:520px}.welcome .eyebrow{color:#121212}.welcome h1{font-size:54px;margin:38px 0 14px}.welcome-art{font-size:48px;font-weight:850;letter-spacing:-2px;display:flex;align-items:center;gap:18px;margin:35px 0}.welcome-art span{background:#121212;color:var(--yellow);padding:0 16px;border-radius:16px}.welcome small{font-size:11px;font-weight:700}.login{padding:40px;margin:0}.login h2{margin:25px 0}.login button{width:100%}label{display:grid;font-size:13px;font-weight:600;gap:8px;margin-bottom:18px}input,textarea,select{font:inherit;font-weight:450;color:inherit;border:1px solid #d7d6cd;background:#fff;border-radius:10px;padding:12px;width:100%;min-width:0}textarea{min-height:100px;resize:vertical}.large-text{min-height:280px}input[type=checkbox],input[type=radio]{width:19px;height:19px;accent-color:#121212;flex-shrink:0;margin:0}input[type=file]{font-size:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.answer{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);padding:13px;border-radius:10px;cursor:pointer;font-weight:450;margin-bottom:9px}.answer:has(input:checked){background:#fff3bb;border-color:#e1bc24}.answer input{margin-top:2px}.answer:hover{border-color:#c1ab5b}fieldset{padding:0;border:0;margin:28px 0 32px}legend{font-size:18px;font-weight:750;line-height:1.4}fieldset .muted{margin:10px 0 16px}.prose{white-space:pre-wrap;font-size:16px;line-height:1.85}.media{margin-left:0;margin-right:0}img,video,iframe{max-width:100%;border-radius:12px}figure img{display:block;width:100%;max-height:480px;object-fit:contain;background:#f5f4ef}figcaption{margin-top:14px}video{display:block;width:100%;max-height:520px;background:#121212}iframe{display:block;aspect-ratio:16/9;width:100%;border:0}.question-image{display:block;max-height:280px;margin:12px 0 18px}.notice{padding:16px 20px;background:#fff3bb;border-radius:12px;font-size:14px;margin-bottom:20px}.notice.success{background:#dbf1df}.notice.error{background:#fbe4df}.filters{margin:20px 0}.table-wrap{overflow:auto;background:white;border-radius:16px;margin-bottom:24px}table{border-collapse:collapse;width:100%;font-size:13px;white-space:normal}td,th{padding:18px;text-align:left;border-bottom:1px solid var(--line)}th{font-size:11px;color:var(--muted)}td small{display:block;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.tag{display:inline-block;border-radius:20px;background:#edede6;padding:4px 10px;font-size:11px}.tag.good{background:#dbf1df}details{border:1px solid var(--line);padding:16px;border-radius:12px;margin:18px 0}summary{font-weight:750;cursor:pointer;margin-bottom:16px}footer{display:flex;justify-content:space-between;color:#77776d;font-size:10px;margin:45px 0 10px}
@media(max-width:800px){header{padding:16px;min-height:62px;flex-wrap:wrap;gap:6px}.brand{font-size:20px}.brand span{font-size:10px}.identity{font-size:10px;width:100%}.shell{padding:18px 16px;display:block}.shell.guest{padding:20px 16px}nav{position:static;display:flex;flex-wrap:wrap;margin-bottom:26px;padding:10px;gap:6px}nav .nav-label{display:none}nav a,nav button{width:auto;font-size:11px;padding:9px 10px}nav form{display:flex}.panel{padding:20px;border-radius:16px}.module{gap:12px}.module-num{font-size:18px;min-width:24px}.module h2{font-size:19px}.module .muted{font-size:12px}.lesson-link{align-items:flex-start;flex-direction:column;gap:10px}.lesson-link .button{width:100%}.page-heading{align-items:flex-start;flex-direction:column;gap:16px}.page-heading .button{width:100%}.login-grid{grid-template-columns:1fr}.welcome{padding:26px;min-height:0}.welcome h1{font-size:39px;margin:24px 0 12px}.welcome-art{display:none}.welcome small{margin-top:10px}.login{padding:26px}.form-grid{grid-template-columns:1fr;gap:0}.prose{font-size:15px}.progress-hero{padding:20px}.media{padding:12px}.media h2{padding:7px 8px;font-size:19px}.actions .button,.actions button{min-height:44px}td,th{padding:14px;min-width:105px}h1{letter-spacing:-.6px}legend{font-size:16px}}
.media > img { height: auto; }
