@font-face{font-family:NH;src:url('./nh-handwriting.otf') format('opentype');font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f6f7f3;color:#173e38;font:16px/1.5 Arial,'Noto Sans JP',sans-serif}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}a{color:#155f54}button,.google-button{cursor:pointer;border:1px solid #b9c8c1;background:#fff;border-radius:9px;min-height:44px;padding:10px 15px;font-weight:600;color:#214c43}button:hover{background:#eef5ef}button:disabled{cursor:wait;opacity:.55}button.primary{background:#17685a;border-color:#17685a;color:#fff}button.primary:hover{background:#115346}button.text-button{background:transparent;border-color:transparent}button.danger{background:#a53a32;border-color:#a53a32;color:#fff}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e3ad39;outline-offset:3px}[hidden]{display:none!important}.topbar{min-height:78px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px clamp(20px,4vw,56px);border-bottom:1px solid #d7e2d9}.brand{font:700 28px/1.15 NH,Arial,sans-serif;text-decoration:none;white-space:nowrap}.top-actions{display:flex;gap:22px;align-items:center}.top-actions>a{font-weight:600;text-decoration:none}.language{display:flex;border:1px solid #c7d4cc;border-radius:9px;padding:3px}.language button{border:0;min-height:34px;padding:5px 10px;font-size:14px}.language button[aria-pressed=true]{background:#e4eee6}.skip-link{position:absolute;left:20px;top:-70px;background:#fff;padding:15px;z-index:5}.skip-link:focus{top:10px}main{max-width:1540px;margin:auto;padding:28px clamp(20px,4vw,56px) 70px}h1,h2,h3,h4,p{margin:0}h1{font:700 clamp(30px,3.3vw,44px)/1.15 NH,Arial,sans-serif;letter-spacing:-.02em;margin-bottom:13px}h2{font-size:25px;line-height:1.3}h3{font-size:20px;line-height:1.3}h4{font-size:18px;line-height:1.3}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:16px 0 32px}.page-heading p,.section-heading p,.school-heading p,.jte-panel p,.hint{color:#586f63}.eyebrow{font-size:14px;font-weight:600;color:#577868;margin-bottom:5px}.status:empty{display:none}.status{border-radius:9px;padding:12px 16px;margin-bottom:18px;background:#e2eee3;color:#254f33}.status.error{background:#fff1ed;color:#9d352c;border:1px solid #efc5bb}.status:focus{outline:0}.gate{max-width:540px;text-align:center;margin:80px auto;padding:44px 26px;background:white;border:1px solid #dce4dc;border-radius:18px}.gate p{color:#576d61;margin:20px 0}.gate-actions{display:flex;flex-direction:column;align-items:center;gap:20px}.google-button{color:#1f1f1f;display:inline-flex;align-items:center;gap:15px;text-decoration:none;min-height:48px}.google-button img{object-fit:contain}.signup-link{font-size:15px}.empty-state{border:1px solid #d7e2da;background:#fff;border-radius:17px;text-align:center;padding:56px 25px;max-width:800px;margin:45px auto}.empty-state p{max-width:520px;margin:17px auto 25px;color:#597064}.welcome-mark{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;margin:0 auto 20px;background:#e4f1df;font:42px/1 NH,Arial,sans-serif}.roster-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:34px}.schools-panel h2{font-size:16px;margin-bottom:13px}.schools-panel button{width:100%;text-align:left;margin-bottom:8px;display:flex;flex-direction:column;gap:3px;padding:13px 16px}.schools-panel button span{font-size:13px;font-weight:400;color:#607568}.schools-panel button[aria-current=true]{border-color:#36816a;background:#e5eee5}.school-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.school-heading h2{margin-bottom:6px}.school-heading p{font-size:14px}.button-row{display:flex;flex-wrap:wrap;gap:8px}.button-row button{font-size:14px}.jte-panel{background:#ebf0e6;border:1px solid #d9e3d3;border-radius:12px;padding:20px;display:flex;justify-content:space-between;gap:18px;margin-bottom:30px}.jte-panel>div:first-child{flex:1}.jte-panel p{font-size:14px;margin:7px 0}.jte-panel .button-row{align-content:center;justify-content:flex-end;max-width:280px}.jte-panel code,.student-list code{font-size:16px}.credentials{display:flex;flex-wrap:wrap;gap:7px 23px;margin-top:10px}.credential-label{font-size:12px;display:block;color:#58705f}.credential{font-family:Consolas,'Courier New',monospace;font-size:17px;font-weight:700}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.section-heading p{font-size:14px;margin-top:6px}.class-tabs{display:flex;flex-wrap:wrap;gap:9px;border-bottom:1px solid #dbe2da;padding-bottom:22px;margin-bottom:25px}.class-tabs button{min-width:65px}.class-tabs button[aria-current=true]{background:#1d6557;border-color:#1d6557;color:white}.class-empty{padding:24px;border:1px dashed #b3c5b5;border-radius:10px;margin-bottom:25px}.class-empty p{margin-bottom:15px}.access-panel{background:white;border:1px solid #dce5dc;border-radius:12px;padding:21px;margin:15px 0 24px}.game-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.game-control{padding:15px;border:1px solid #dbe4dc;border-radius:9px}.game-control-heading{margin-bottom:12px}.game-master,.activity-control{display:flex;align-items:center;justify-content:space-between;gap:12px}.game-master{font-size:14px;font-weight:600}.game-hint{font-size:12px;line-height:1.45;color:#64766b;margin:9px 0 12px;min-height:35px}.game-hint.needs-choice{color:#946124}.activity-controls{border-top:1px solid #e4eae2;padding-top:5px}.activity-control{font-size:13px;padding-top:7px}.activity-control>span{max-width:calc(100% - 83px)}.game-control strong{font-size:15px}.game-control button{flex-shrink:0;display:flex;align-items:center;gap:7px;min-width:76px;min-height:37px;font-size:13px;padding:7px 10px}.game-control button::before{content:'';display:inline-block;width:11px;height:11px;border-radius:50%;background:#a3aea5}.game-control button[aria-checked=true]{color:#fff;background:#1d6e56;border-color:#1d6e56}.game-control button[aria-checked=true]::before{background:#c4f1b6}.student-panel{background:white;border:1px solid #dce5dc;border-radius:12px;padding:21px}.student-panel .section-heading{align-items:flex-start}.student-panel .section-heading>div:first-child{max-width:550px}.table-scroll{overflow-x:auto;border:1px solid #dfe7df;border-radius:8px}table{border-collapse:collapse;width:100%;min-width:480px;text-align:left}th{background:#f0f4ed;padding:12px 14px;font-size:13px;color:#506a58}td{padding:11px 14px;border-top:1px solid #e6ece4;font-size:15px}td:first-child{width:90px}td code{font:600 16px/1.4 Consolas,'Courier New',monospace}td:last-child{text-align:right;width:130px}td button{font-size:13px;min-height:34px;padding:7px 10px}.password-state{font-size:13px}.password-state.changed{color:#9c6629}.hint{font-size:13px;margin-top:13px}.busy-row td{text-align:center;padding:26px;color:#5c7163}.form-error{color:#a4362d;margin-top:13px;font-size:14px}.form-error:empty{display:none}dialog{border:1px solid #d3ded4;border-radius:14px;padding:26px;max-width:540px;width:calc(100% - 32px);color:#173e38;box-shadow:0 24px 70px #18372d38}dialog::backdrop{background:#102c265a}.dialog-heading{display:flex;gap:15px;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-heading h2{font-size:25px}.icon-button{border:0;min-height:36px;min-width:36px;font-size:24px;padding:0}.dialog-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:25px}.field{display:block;margin-top:16px}.field>span{display:block;font-weight:600;margin-bottom:7px}.field input,.field select{width:100%;border:1px solid #a9bdac;border-radius:8px;padding:11px 12px;min-height:45px;color:#1c493b;background:#fff}.field small,.form-help{display:block;color:#60766a;font-size:13px;margin-top:7px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.confirmation-copy{line-height:1.7}.noscript{text-align:center;padding:30px}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.roster-layout{grid-template-columns:185px minmax(0,1fr);gap:22px}.school-heading{align-items:flex-start;flex-direction:column}.student-panel .section-heading{flex-direction:column}.jte-panel{flex-direction:column}.jte-panel .button-row{max-width:none;justify-content:flex-start}}
@media(max-width:760px){.topbar{padding:14px 18px;flex-wrap:wrap;gap:14px}.brand{font-size:24px}.top-actions{width:100%;justify-content:space-between;gap:9px}.top-actions>a{font-size:14px}main{padding:20px 16px 45px}.page-heading{align-items:flex-start;flex-direction:column;gap:17px;margin-top:8px}.roster-layout{display:block}.schools-panel{margin-bottom:25px}.schools-panel>div{display:flex;gap:8px;overflow-x:auto}.schools-panel button{width:auto;min-width:155px;max-width:220px;flex-shrink:0}.game-controls{grid-template-columns:1fr}.student-panel,.access-panel,.jte-panel{padding:17px}.gate{margin:25px auto;padding:30px 20px}.class-heading{align-items:flex-start}.class-heading button{font-size:13px;max-width:135px}.button-row button{min-height:44px}.student-panel .button-row{width:100%}.student-panel .button-row button{flex-grow:1}.school-heading .button-row{width:100%}.school-heading .button-row button{flex-grow:1}}
@media print{.topbar,.schools-panel,.button-row,.access-panel,#status,.page-heading>button,.class-tabs,.jte-panel,.class-heading>button{display:none!important}.roster-layout{display:block}.student-panel{border:0}.student-panel td:last-child,.student-panel th:last-child{display:none}.table-scroll{overflow:visible}main{padding:0}}

.game-setup{font-size:12px;line-height:1.5;color:#64766b;margin:13px 0 0}.game-setup a{display:inline-block;font-weight:600;margin-top:4px}

.jte-disclosure{margin-bottom:16px}.jte-disclosure .jte-panel{margin:0;border-radius:0 0 9px 9px}.jte-disclosure>summary,.access-panel>summary{cursor:pointer;color:#244f42;font-weight:650;padding:10px 0}.jte-disclosure>summary{border-bottom:1px solid #cad8cf}.access-panel:not([open]){padding-block:2px}.page-heading{margin-block:8px 16px}.school-heading,.class-heading{margin-bottom:12px}.class-tabs{gap:6px}.table-scroll{max-height:55vh;overflow:auto}.table-scroll thead th{position:sticky;top:0;background:#f5f8f4}.top-actions{flex-wrap:wrap;justify-content:flex-end}@media print{.table-scroll{max-height:none;overflow:visible}}
