*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#faf6ec;color:#173628;font:16px/1.45 system-ui,sans-serif}header{padding:14px clamp(16px,6vw,68px);background:#104332;color:white;display:flex;align-items:center;justify-content:space-between}main{max-width:780px;margin:0 auto;padding:clamp(16px,5vw,40px)}section{padding:clamp(16px,4vw,30px);background:#fffdf7;border:1px solid #ddd7c5;border-radius:14px}h1{font-size:clamp(28px,5vw,43px);letter-spacing:-.05em;line-height:1.1;margin:0}p{margin:8px 0 14px}form{display:grid;gap:10px}label{display:grid;gap:5px;font-weight:600}input,button{padding:9px 12px;min-height:42px;border-radius:8px;border:1px solid #a1b5a8;font:inherit;color:#173628}input{max-width:100%;min-width:0;background:#fff}button{background:#104332;color:white;font-weight:700;justify-self:start;cursor:pointer}button:disabled{opacity:.6;cursor:wait}header button{border-color:#b2c9bb}article{display:flex;gap:10px;align-items:end;justify-content:space-between;flex-wrap:wrap;border-top:1px solid #efeadb;padding:12px 0}article form{display:flex;align-items:end;gap:6px;flex-wrap:wrap}article input{width:100px}#student-goal{font-size:24px}#status{color:#3a5648}
main{max-width:1380px}
#login{max-width:540px;margin:auto}
.learning{margin-top:22px}
.learning h2{margin:0 0 7px}
.learning-notice,.learning-summary{font-size:13px}
.learning-controls{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px}
.learning-controls button[aria-pressed=false]{background:#fffdf7;color:#104332}
.learning-controls select{min-height:42px;max-width:100%;border:1px solid #a1b5a8;border-radius:8px;background:#fff;color:#173628;padding:6px;font:inherit}
.learning-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;color:#162b20}
.learning-table th,.learning-table td{padding:4px;overflow-wrap:anywhere;text-align:left}
.learning-table th{background:#e6eee1;font-size:11px}
.learning-table th:first-child{width:18%}
.learning-table th:nth-child(8){width:9%}
.learning-table td:first-child{font-weight:700}
.learning-table input,.learning-table select{width:100%;min-width:0;min-height:32px;padding:3px;font:inherit;color:#173628;border:1px solid #a1b5a8;border-radius:5px;background:#fff}
.learning-table [data-done=true]{background:#e2f1e4;color:#145337;font-weight:700}
.learning-table .learning-dates td{background:#f2efe3;border-bottom:1px solid #ded6c3;font-size:10px}
.learning-table [data-tone]:not([data-tone=""]){display:inline-block;border-radius:4px;padding:2px 3px;font-weight:700}
.learning-table [data-tone="3"]{background:#f5dce4;color:#721d39}
.learning-table [data-tone="7"]{background:#f5e7ab;color:#624300}
.learning-table [data-tone="14"]{background:#deebfa;color:#143e73}
.learning-table [data-tone="21"]{background:#dbefe0;color:#124c36}
.learning-reviews{list-style:none;padding:0}
.learning-reviews li{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;border-bottom:1px solid #ded6c3;padding:8px 0}
@media(max-width:740px){
  .learning-table,.learning-table tbody{display:block}
  .learning-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .learning-table tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:7px;gap:3px}
  .learning-table td:first-child{grid-column:1/-1}
  .learning-table td[data-label]::before{content:attr(data-label);display:block;font-size:10px;font-weight:700}
  .learning-table .learning-dates td:empty{display:none}
  .learning-table .learning-dates{background:#f2efe3;margin-bottom:8px}
}
@media(max-width:400px){.learning-table tr{grid-template-columns:repeat(2,minmax(0,1fr))}}
