@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:400;src:url(./dm-sans-latin-400-normal-CW0RaeGs.woff2) format("woff2"),url(./dm-sans-latin-400-normal-BwCSEQnW.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./dm-sans-latin-500-normal-B9HHJjqV.woff2) format("woff2"),url(./dm-sans-latin-500-normal-Dr3UlScf.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:600;src:url(./dm-sans-latin-600-normal-Aqo67rzb.woff2) format("woff2"),url(./dm-sans-latin-600-normal-BmdmIIQ2.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./dm-sans-latin-700-normal-DvUfVpUG.woff2) format("woff2"),url(./dm-sans-latin-700-normal-CUSSCpQX.woff) format("woff")}@font-face{font-family:Literata;font-style:normal;font-display:swap;font-weight:500;src:url(./literata-latin-500-normal-Dbph1WrK.woff2) format("woff2"),url(./literata-latin-500-normal-B-T_MU67.woff) format("woff")}:root{font-family:DM Sans,sans-serif;color:var(--ink);background:var(--ground);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ground: #f4f2e9;--surface: #fcfbf6;--card: #e7eddf;--ink: #253e33;--muted: #667164;--line: #d7dace;--green: #2c5945;--green-hover: #204433;--on-green: #ffffff;--soft: #e8eadd;--accent: #9d492e;--accent-soft: #f5e6d9;--danger: #a4352c;--focus: #a4542e;--stage-ink: #294b38;--stage-muted: #52674f;--stage-line: #c5d0bc;--shadow: 0 16px 45px #26392d12;color-scheme:light}@media(prefers-color-scheme:dark){:root{--ground: #182b25;--surface: #1f342c;--card: #344c3c;--ink: #eceee2;--muted: #b0bcac;--line: #3d5145;--green: #c7dab4;--green-hover: #d9e8ca;--on-green: #1a3327;--soft: #2b4134;--accent: #efb08c;--accent-soft: #483b2f;--danger: #ffb3a9;--focus: #efb08c;--stage-ink: #eef3df;--stage-muted: #c0cfb5;--stage-line: #5c7154;--shadow: 0 16px 45px #00000024;color-scheme:dark}}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,input,textarea,select{color:inherit}button{border:0}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:4px}::selection{background:var(--green);color:var(--on-green)}input,textarea{caret-color:var(--accent)}*{scrollbar-color:var(--line) transparent;scrollbar-width:thin}svg{flex:none}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}button{touch-action:manipulation}.app{max-width:1360px;margin:0 auto;padding:0 52px}.site-header{height:108px;display:flex;align-items:center;gap:30px;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;font-size:28px;font-weight:700;letter-spacing:-.05em}.brand-period{color:var(--accent)}.brand-mark{display:block;position:relative;width:29px;height:33px}.brand-mark span{position:absolute;width:21px;height:27px;background:var(--green);border-radius:3px;top:4px;left:4px;transform:rotate(-13deg)}.brand-mark span+span{background:var(--ground);border:1.5px solid var(--green);top:0;left:8px;transform:rotate(9deg)}.brand-mark span+span:after{content:"";position:absolute;width:9px;height:1.5px;background:var(--green);top:11px;left:4px}.header-note{font-size:13px;color:var(--muted);padding-left:26px;border-left:1px solid var(--line)}.header-actions{margin-left:auto;display:flex;gap:25px;align-items:center}.button,.text-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:500;background:transparent;line-height:1.35}.button{min-height:43px;padding:11px 17px;border-radius:6px;font-size:13px}.primary{background:var(--green);color:var(--on-green)}.primary:hover:not(:disabled){background:var(--green-hover)}.secondary,.projector-button{background:var(--surface);border:1px solid var(--line)}.secondary:hover:not(:disabled),.projector-button:hover{background:var(--soft)}.text-button{font-size:12px;min-height:32px;padding:5px 0}.text-button:hover:not(:disabled){color:var(--accent)}.icon-button{width:34px;min-height:34px;border-radius:5px}.icon-button:hover:not(:disabled){background:var(--soft)}.help-button{color:var(--muted);font-size:13px}.workspace-heading{margin:39px 0 29px;display:flex;align-items:flex-end;justify-content:space-between;gap:15px}h1{font-family:Literata,Georgia,serif;font-size:clamp(26px,2.7vw,35px);font-weight:500;letter-spacing:-.035em;line-height:1.22}.workspace-heading p{color:var(--muted);font-size:13px;margin-top:9px}.save-status{color:var(--muted);display:inline-flex;align-items:center;gap:7px;font-size:11px;padding-bottom:2px;white-space:nowrap}.status-dot{width:6px;height:6px;background:var(--green);border-radius:50%;display:inline-block;flex:none}.status-dot.warning{background:var(--accent)}.workspace{display:grid;grid-template-columns:320px minmax(0,1fr);gap:30px;align-items:start}.roster-panel{background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:20px 19px 0;min-width:0}.roster-tools{display:flex;align-items:center;justify-content:space-between;margin:-3px -3px 14px 0}.roster-tools h2{font-size:15px;font-weight:600;letter-spacing:-.02em}.select-wrap{position:relative}.select-wrap svg{position:absolute;top:14px;right:11px;pointer-events:none}select{appearance:none;width:100%;border:1px solid var(--line);background:var(--ground);padding:11px 34px 11px 11px;border-radius:5px;font-weight:500;font-size:13px;text-overflow:ellipsis}.roster-meta{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:10px;gap:6px;padding:4px 0 15px}.roster-meta .text-button{font-size:11px}.roster-summary{display:flex;gap:19px;font-size:11px;color:var(--muted);padding:13px 0 19px;border-top:1px solid var(--line)}.roster-summary strong{color:var(--ink);font-size:14px;font-weight:600;margin-right:3px}.list-tabs{display:flex;gap:15px;border-bottom:1px solid var(--line)}.list-tabs button{padding:0 0 11px;min-height:32px;font-size:11px;color:var(--muted);background:none;position:relative;white-space:nowrap}.list-tabs button[aria-pressed=true]{color:var(--ink);font-weight:600}.list-tabs button[aria-pressed=true]:after{content:"";position:absolute;height:2px;background:var(--green);left:0;bottom:-1px;right:0}.list-tabs button span{font-size:9px;margin-left:2px;opacity:.8}.student-list{min-height:228px;max-height:367px;overflow-y:auto;margin:7px -3px 0;padding:0 3px}.student-list ul{list-style:none;margin:0;padding:0}.student-list li{display:flex;align-items:center;gap:9px;min-height:39px}.student-marker{width:23px;height:23px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--soft);color:var(--muted);font-size:10px;flex:none}.student-marker.is-called{color:var(--green);background:var(--soft)}.student-name{font-size:12px;flex:1;overflow-wrap:anywhere;min-width:0}.attendance-button{color:var(--muted);min-height:32px;width:32px;background:transparent;border-radius:4px;display:flex;align-items:center;justify-content:center;flex:none}.attendance-button:hover,.marked-absent{color:var(--accent);background:var(--accent-soft)}.is-absent .student-name{color:var(--muted)}.absent-label{display:block;font-size:9px;color:var(--accent)}.attendance-hint{color:var(--muted);display:flex;align-items:center;gap:6px;font-size:10px;margin:13px 0 16px}.roster-bottom{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;margin:0 -19px;padding:9px 19px}.delete-roster{color:var(--muted)}.delete-roster:hover{color:var(--danger)}.list-empty{min-height:228px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:12px;padding:25px}.picker-column{padding:1px 0 0;min-width:0}.picker-toolbar{display:flex;align-items:center;justify-content:space-between;min-height:33px;margin-bottom:13px}.period-label{display:flex;gap:7px;align-items:center;font-size:12px;font-weight:500;overflow-wrap:anywhere}.picker-toolbar .text-button{color:var(--muted);font-size:11px}.name-stage{background:var(--card);color:var(--stage-ink);border-radius:8px;padding:22px 27px 18px;min-height:321px;display:flex;flex-direction:column;position:relative}.stage-top,.stage-bottom{display:flex;justify-content:space-between;align-items:center;color:var(--stage-muted);font-size:9px;font-weight:600;letter-spacing:.11em;gap:10px}.stage-top{padding-bottom:16px;border-bottom:1px solid var(--stage-line)}.stage-detail{display:flex;gap:4px}.stage-detail span{width:3px;height:3px;border-radius:50%;background:var(--stage-muted)}.name-content{display:flex;align-items:center;justify-content:center;flex:1;text-align:center;padding:24px 0 27px}.ready-content h2{font-family:Literata,Georgia,serif;font-weight:500;font-size:32px;letter-spacing:-.035em}.ready-content p,.turn-caption{color:var(--stage-muted);font-size:12px;margin-top:12px;line-height:1.6}.card-motif{width:81px;height:60px;position:relative;margin:4px auto 21px}.card-motif span{position:absolute;width:45px;height:58px;border:1px solid var(--stage-line);background:var(--ground);border-radius:4px;top:0;left:10px;transform:rotate(-18deg)}.card-motif span:nth-child(2){transform:rotate(13deg);left:28px;top:-2px}.card-motif span:nth-child(3){transform:rotate(-4deg);left:20px;top:4px;display:flex;justify-content:center;align-items:center;color:var(--green)}.stage-bottom{min-height:18px;font-size:8px}.selected-name{font-family:Literata,Georgia,serif;font-size:clamp(40px,5vw,64px);font-weight:500;letter-spacing:-.04em;line-height:1.12;overflow-wrap:anywhere}.turn-intro{font-size:13px;color:var(--stage-muted);margin-bottom:13px}.selected-content{width:100%;animation:deal-in .3s cubic-bezier(.16,1,.3,1) both}@keyframes deal-in{0%{transform:translateY(-9px) rotate(-.7deg);filter:blur(1px)}to{transform:translateY(0);filter:blur(0)}}.draw-controls{margin-top:20px}.draw-button{width:100%;min-height:55px;font-size:15px;gap:12px}.draw-button svg:last-child{margin-left:auto}.draw-button span{margin-right:auto}.draw-button svg:first-child{margin-left:3px}.secondary-controls{display:flex;align-items:center;justify-content:center;gap:22px;margin-top:9px}.secondary-controls .text-button{color:var(--muted);font-size:11px}.secondary-controls>span{width:1px;height:12px;background:var(--line)}.period-progress{margin-top:27px}.progress-caption{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:11px;margin-bottom:10px}.progress-caption>span:first-child{display:flex;align-items:center;gap:7px}.progress-caption>span:last-child{color:var(--muted)}.progress-track{height:5px;border-radius:6px;background:var(--line);overflow:hidden}.progress-track>span{display:block;height:100%;background:var(--green);transition:width .25s ease-out}.picker-footnote{margin-top:12px;color:var(--muted);font-size:10px;line-height:1.6}.empty-footnote{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:24px}.complete-note{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.complete-note p{font-size:11px;color:var(--muted)}.complete-note .text-button{font-size:11px;white-space:nowrap}.sample-badge{display:inline-flex;padding:5px 9px;color:var(--accent);background:var(--accent-soft);border-radius:4px;font-size:10px;margin:0 0 10px}.empty-roster{padding:40px 7px 33px;text-align:center}.empty-icon{color:var(--green);width:49px;height:49px;border-radius:50%;background:var(--soft);display:flex;align-items:center;justify-content:center;margin:0 auto 19px}.empty-roster h3{font-family:Literata,Georgia,serif;font-size:23px;font-weight:500;letter-spacing:-.03em}.empty-roster>p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:12px}.empty-roster .primary{margin-top:25px;width:100%}.or-divider{color:var(--muted);font-size:10px;display:block;margin:20px 0 4px}.sample-link{font-size:12px}.empty-roster .sample-caption{font-size:9px;margin-top:4px}.participation{margin-top:46px;padding-top:28px;border-top:1px solid var(--line)}.participation-header{display:flex;justify-content:space-between;align-items:center;gap:20px}.participation h2{font-family:Literata,Georgia,serif;font-size:24px;font-weight:500;letter-spacing:-.03em}.participation-header p{margin-top:7px;font-size:11px;color:var(--muted)}.range-switch{display:flex;border:1px solid var(--line);border-radius:5px;padding:3px;flex:none}.range-switch button{background:transparent;color:var(--muted);font-size:11px;padding:8px 13px;border-radius:3px;min-height:33px}.range-switch button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0000000d}.counts-meta{margin-top:27px;margin-bottom:10px;color:var(--muted);font-size:10px;display:flex;justify-content:space-between;gap:10px}.counts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:35px}.count-row{display:flex;gap:10px;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:11px 0;font-size:11px;min-width:0}.count-row>span:first-child{overflow-wrap:anywhere}.count-values{display:inline-flex;align-items:center;gap:9px;font-variant-numeric:tabular-nums;flex:none}.count-values strong{font-size:12px;font-weight:600}.pass-count{color:var(--muted);font-size:9px;min-width:40px;text-align:right}.counts-footnote{font-size:10px;color:var(--muted);margin-top:15px}.history-empty{display:flex;gap:17px;align-items:center;justify-content:center;padding:39px 0 15px}.history-empty p{color:var(--muted);font-size:12px;text-align:center}.history-line{width:45px;height:1px;background:var(--line)}.site-footer{margin-top:43px;border-top:1px solid var(--line);padding:22px 0 25px;color:var(--muted);font-size:10px}.footer-top{display:flex;justify-content:space-between;gap:15px}.footer-top>span,.footer-top a{display:inline-flex;align-items:center;gap:6px}.footer-dot{padding:0 6px}.site-footer>p{font-size:9px;margin-top:12px}.dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:12px;width:min(460px,calc(100% - 32px));padding:0;max-height:calc(100dvh - 40px);box-shadow:var(--shadow)}.dialog-wide{width:min(520px,calc(100% - 32px))}.dialog::backdrop{background:#0c211b9c}.dialog-body{padding:27px}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.dialog h2{font-family:Literata,Georgia,serif;font-size:27px;font-weight:500;letter-spacing:-.03em}.dialog p{font-size:13px;line-height:1.7;color:var(--muted)}.dialog .dialog-intro{margin-bottom:22px}form label{display:flex;justify-content:space-between;font-size:12px;font-weight:600;margin:18px 0 8px;gap:10px}.label-note{font-size:10px;font-weight:400;color:var(--muted)}input:not([type=checkbox]),textarea{display:block;background:var(--ground);border:1px solid var(--line);border-radius:5px;padding:12px;width:100%;font-size:13px}textarea{resize:vertical;min-height:140px;line-height:1.8}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}.dialog .field-help{font-size:10px;margin-top:8px}.dialog .form-error{color:var(--danger);font-size:12px;margin-top:13px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.danger{background:var(--danger);color:var(--surface)}.checkbox-label{display:flex;align-items:center;gap:9px;font-size:12px;margin-top:23px}input[type=checkbox]{accent-color:var(--green);width:17px;height:17px}.help-list{padding-left:19px;font-size:12px;line-height:1.7;color:var(--muted)}.help-list li{padding-left:4px;margin-bottom:13px}.help-list strong{color:var(--ink)}.dialog .privacy-note{font-size:11px;background:var(--soft);border-radius:6px;padding:15px;margin:22px 0}.privacy-note svg{float:left;margin-right:9px;margin-top:1px}.full-width{width:100%}.storage-warning{margin-top:18px;padding:14px 17px;border-radius:5px;background:var(--accent-soft);color:var(--accent);font-size:12px;line-height:1.7}.storage-warning .text-button{margin-left:12px;text-decoration:underline}.recovery-actions{display:flex;flex-direction:column;gap:12px;margin-top:24px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;top:-100px;left:20px;padding:12px;background:var(--green);color:var(--on-green);border-radius:5px;z-index:10}.skip-link:focus{top:12px}#main:focus{outline:none}.projector{max-width:1600px;min-height:100dvh}.projector .site-header{height:83px}.projector .header-note{display:none}.projector .workspace{display:block;max-width:1160px;margin:28px auto}.projector .name-stage{min-height:min(52dvh,620px)}.projector .selected-name{font-size:clamp(48px,9vw,110px)}.projector .ready-content h2{font-size:clamp(32px,5vw,70px)}.projector .name-content p{font-size:18px}.projector .draw-controls{max-width:600px;margin:20px auto 0}.projector .period-progress{max-width:800px;margin:25px auto}.projector-hint{font-size:11px;color:var(--muted)}@media(min-width:1400px){.app{padding:0 64px}.workspace{grid-template-columns:340px minmax(0,1fr);gap:42px}.name-stage{min-height:345px}}@media(max-width:1000px){.app{padding:0 28px}.workspace{grid-template-columns:285px minmax(0,1fr);gap:22px}.header-note{display:none}.counts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.name-stage{padding:19px}.selected-name{font-size:47px}.ready-content h2{font-size:29px}.save-status{font-size:10px}.complete-note{align-items:flex-start;flex-direction:column}}@media(max-width:730px){.app{padding:0 20px}.site-header{height:79px;gap:15px}.brand{font-size:25px}.header-actions{gap:12px}.help-button{width:32px;min-height:38px;padding:0}.help-button span{display:none}.projector-button{font-size:11px;padding:9px 11px;min-height:38px;gap:7px}.workspace-heading{margin-top:29px;margin-bottom:24px;flex-direction:column;align-items:flex-start;gap:15px}h1{font-size:29px}.workspace{display:flex;flex-direction:column;gap:24px}.roster-panel{width:100%;padding:18px 18px 0}.picker-column{width:100%}.empty-roster{padding:12px 0 22px}.empty-roster .empty-icon{display:none}.empty-roster h3{font-size:21px}.empty-roster>p{margin-top:8px}.empty-roster>p br{display:none}.empty-roster .primary{margin-top:17px}.or-divider{margin-top:13px}.roster-panel:has(.empty-roster) .roster-tools{margin-bottom:8px}.roster-summary{padding-bottom:12px}.student-list{min-height:120px;max-height:220px}.student-list li{min-height:41px}.student-name{font-size:13px}.attendance-button{min-height:36px;width:36px}.list-tabs{gap:23px}.list-tabs button{font-size:12px}.attendance-hint{font-size:10px}.roster-bottom{margin:0 -18px;padding:8px 18px}.name-stage{min-height:300px;padding:21px}.selected-name{font-size:clamp(39px,10vw,65px)}.stage-top{font-size:8px}.ready-content h2{font-size:29px}.draw-controls{margin-top:16px}.secondary-controls{gap:21px}.period-progress{margin-top:22px}.participation{margin-top:30px;padding-top:24px}.participation-header{flex-direction:column;align-items:flex-start;gap:17px}.participation h2{font-size:25px}.counts-grid{grid-template-columns:minmax(0,1fr)}.count-row{font-size:12px;padding:12px 0}.counts-meta{margin-top:20px;font-size:9px}.history-empty{padding:28px 0 0}.history-line{display:none}.history-empty p{font-size:11px}.site-footer{margin-top:31px}.footer-top{flex-direction:column;gap:15px}.site-footer>p{line-height:1.8;max-width:300px}.dialog-body{padding:22px}.dialog h2{font-size:25px}.dialog-actions{flex-wrap:wrap}.projector .site-header{height:72px}.projector .site-header .button{font-size:11px;padding:10px}.projector .name-stage{min-height:48dvh}.projector .workspace{margin-top:21px}.projector .selected-name{font-size:clamp(39px,11vw,70px)}.projector .name-content p{font-size:13px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
