/* Teacher phone home (/teacher) + board code page (/board). 29 Sep 2026. hCDN ignores ?v= — rename on change. Only /brand tokens. */
[hidden]{display:none!important}
.th{max-width:720px}
.th-hi{margin-bottom:18px}
.th-hi h1{margin-top:4px}
.th-h{margin:30px 0 10px}
.th-note{margin:-4px 0 12px}

/* board code card */
.th-board{display:flex;flex-direction:column;gap:14px;border:2px solid var(--vio-s)}
.th-board h2{font-size:19px}
.th-board p{margin-top:6px;font-size:14.5px}
.th-code{text-align:center;padding:6px 0 2px}
.th-digits{display:flex;justify-content:center;gap:10px}
.th-digits span{width:58px;height:72px;display:grid;place-items:center;font:800 40px/1 "Lexend",sans-serif;color:var(--ink);background:var(--sun-s);border:2px solid var(--sun);border-radius:14px}
.th-left{margin-top:10px}
.th-code.old .th-digits span{opacity:.35}
.th-done{background:var(--mint-s);color:var(--mint-ink);border-radius:12px;padding:12px 14px;font-size:15px}
.th-tick{font-weight:800}
.th-board .btn{width:100%}

/* prep */
.th-sub{margin-bottom:18px}
.th-sub-h{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:15px}
.th-dot{width:10px;height:10px;border-radius:50%;background:var(--acc)}
.th-ch{padding:16px 18px;margin-bottom:10px;border-left:4px solid var(--acc)}
.th-ch summary{display:flex;gap:10px;align-items:flex-start;cursor:pointer;list-style:none}
.th-ch summary::-webkit-details-marker{display:none}
.th-ch summary b{display:block;font-size:16px;line-height:1.3}
.th-ch summary small{display:block;font-size:12px}
.th-st{background:var(--vio-s);color:var(--vio-d)}
.th-meta{font-size:13.5px;color:var(--muted);margin-top:10px}
.th-draft{background:var(--sun-s);color:var(--sun-ink);border-radius:10px;padding:8px 12px;margin-top:10px}
.th-part{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px;margin:16px 0 6px}
.th-pk{width:22px;height:22px;border-radius:6px;display:grid;place-items:center;background:var(--vio);color:#fff;font-size:12px}
.th-topics{list-style:none}
.th-topics li{display:flex;gap:10px;align-items:flex-start;padding:7px 0;border-top:1px solid var(--line);font-size:14px;line-height:1.4}
.th-n{flex:0 0 22px;color:var(--muted);font-weight:700;font-size:13px}
.th-p{flex:0 0 auto;font-size:12px;font-weight:700;color:var(--vio-d);background:var(--vio-s);border-radius:999px;padding:2px 8px}
.th-rest{margin:-2px 0 0 4px}
.th-inst{display:flex;gap:12px;align-items:center;margin-top:24px}

/* /board — big keys for a touch panel */
.bd{width:100%;max-width:440px;text-align:center}
.bd p{margin:8px 0 16px}
.bd-in{width:100%;text-align:center;font:800 44px/1 "Lexend",sans-serif;letter-spacing:.4em;padding:14px 0 14px .4em;border:2px solid var(--line2);border-radius:14px;color:var(--ink);background:#fff}
.bd-in:focus{outline:none;border-color:var(--vio)}
.bd-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}
.bd-keys button{min-height:64px;font:700 26px/1 "Lexend",sans-serif;border:2px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);cursor:pointer}
.bd-keys button:active{background:var(--vio-s)}
.bd-keys .bd-go{background:var(--vio);border-color:var(--vio);color:#fff;font-size:20px}
.bd-keys .bd-del{font-size:22px;color:var(--muted)}
.bd-mine{display:flex;gap:8px;align-items:center;justify-content:center;margin-top:16px;font-size:14px;color:var(--muted)}
.bd-student{color:#fff;opacity:.85;font-size:14px}
