:root{font-family:Yu Gothic,Hiragino Kaku Gothic ProN,Noto Sans JP,system-ui,sans-serif;color:#253536;background:#f3f9fa;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #253536;--muted: #6e7e7f;--line: #dce8e8;--teal: #0f988a;--teal-dark: #08756b;--orange: #df7b25;--green: #5b943c;--red: #ca493e;--blue: #24649b;--card: #ffffff;--shadow: 0 18px 50px rgba(39, 79, 78, .08)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea{font:inherit}button,label,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid rgba(15,152,138,.3);outline-offset:3px}.app-shell{min-height:100vh}.site-header{height:78px;padding:0 clamp(22px,5vw,76px);display:flex;justify-content:space-between;align-items:center;background:#ffffffed;border-bottom:1px solid #e3eded}.brand{display:inline-flex;align-items:center;gap:12px}.brand-logo{display:block;width:44px;height:44px;object-fit:contain}.brand b{display:block;font-size:15px;letter-spacing:.04em}.brand small{display:block;font-size:9px;color:var(--teal);text-transform:uppercase;letter-spacing:.16em;margin-top:2px}.header-meta{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:12px}.secure-chip{padding:8px 12px;border-radius:999px;color:#397068;background:#edf8f5}.secure-chip span{color:#38b890;font-size:9px;margin-right:4px}.account-menu{position:relative}.account-trigger{display:flex;align-items:center;gap:6px;max-width:240px;padding:8px 10px;border:0;border-radius:9px;color:var(--ink);background:transparent;cursor:pointer}.account-trigger:hover,.account-trigger[aria-expanded=true]{background:#edf7f5}.account-trigger span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-dropdown{position:absolute;z-index:20;top:calc(100% + 8px);right:0;min-width:160px;padding:7px;border:1px solid var(--line);border-radius:11px;background:#fff;box-shadow:0 14px 35px #1e3d3d29}.account-dropdown button{width:100%;padding:10px 12px;border:0;border-radius:7px;color:var(--ink);background:transparent;text-align:left;font-size:12px;font-weight:800;cursor:pointer}.account-dropdown button:hover{background:#edf7f5}.header-logout,.text-button{padding:0;border:0;color:var(--teal-dark);background:transparent;font-size:12px;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.header-logout{white-space:nowrap}.profile-dialog{width:min(520px,calc(100% - 28px));padding:0;border:0;border-radius:20px;color:var(--ink);background:#fff;box-shadow:0 24px 80px #193a3947}.profile-dialog::backdrop{background:#152a2a7a;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.profile-form{display:grid;gap:22px;padding:clamp(24px,5vw,38px)}.profile-form h2{margin:0;font-size:28px}.profile-form h2+p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.7}.profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-fields label{display:grid;gap:7px;font-size:12px;font-weight:800}.profile-fields input{width:100%;height:48px;padding:0 13px;border:1px solid #cbdada;border-radius:10px;color:var(--ink);background:#fbfdfd}.profile-actions{display:flex;justify-content:flex-end;gap:10px}.role-tabs{width:min(1180px,calc(100% - 40px));margin:18px auto 0;display:flex;gap:6px}.role-tabs a{border:0;background:transparent;color:var(--muted);padding:9px 16px;border-radius:999px;cursor:pointer;font-weight:700;text-decoration:none}.role-tabs a.active{background:#daf1ed;color:var(--teal-dark)}.audit-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:24px;color:var(--muted);font-size:13px}.audit-pagination .button{min-width:124px}.audit-pagination .button:disabled{opacity:.45;cursor:not-allowed}.audit-table td{overflow-wrap:anywhere}.main-content,.admin-page{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:54px 0 80px}.hero{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:42px}.eyebrow{margin:0 0 10px;color:var(--teal);font-size:11px;font-weight:800;letter-spacing:.18em}.hero h1,.admin-heading h1,.submitted-state h1{margin:0;font-size:clamp(34px,4vw,58px);line-height:1.25;letter-spacing:.03em}.hero>div:first-child>p:last-child,.admin-heading p:last-child{color:var(--muted);margin:18px 0 0;font-size:14px}.lesson-date{min-width:280px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px;box-shadow:var(--shadow)}.lesson-date label{display:block;font-weight:700;font-size:13px;margin-bottom:9px}.lesson-date input{width:100%;border:0;border-bottom:2px solid #cbdada;padding:8px 2px;color:var(--ink)}.required{display:inline-block;margin-left:5px;padding:2px 6px;border-radius:999px;background:#e8f5f3;color:var(--teal-dark);font-size:9px;vertical-align:middle}fieldset{min-width:0;margin:0;padding:0;border:0}.condition-card,.form-section,.submit-card{background:var(--card);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.condition-card{padding:28px clamp(20px,5vw,64px) 30px;margin-bottom:26px}.condition-card legend{float:left;width:100%;font-weight:800;font-size:20px}.condition-card>p{clear:both;padding-top:8px;margin:0 0 22px;color:var(--muted);font-size:13px}.condition-options{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;max-width:720px;margin:0 auto}.condition-options label{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px 5px 10px;border:1px solid transparent;border-radius:16px;color:var(--muted);cursor:pointer;transition:.16s ease}.condition-options label:hover{background:#f6fbfb;transform:translateY(-2px)}.condition-options label.selected{border-color:#92d6cd;background:#effaf8;color:var(--ink);font-weight:800}.condition-options input{position:absolute;opacity:0}.condition-face{display:block;width:64px;height:64px;overflow:visible;flex:0 0 auto}.form-section{padding:clamp(24px,4vw,50px);margin-bottom:26px}.section-heading{display:flex;align-items:center;gap:18px;margin-bottom:34px}.section-heading p{margin:0 0 3px;color:var(--teal);font-size:11px;font-weight:800;letter-spacing:.14em}.section-heading h2{margin:0;font-size:clamp(21px,2.5vw,30px)}.section-heading.post p{color:var(--orange)}.step-number{font-family:Georgia,serif;color:var(--teal);font-size:40px;line-height:1;padding-right:17px;border-right:1px solid #cfe0df}.post .step-number{color:var(--orange)}.tdms-layout{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(320px,.72fr);gap:34px;align-items:start}.scales-column{display:grid;gap:22px}.tdms-scale{position:relative;padding:18px 22px 20px;border-radius:16px;border:1px solid #e2ebeb;background:#fcfefe;overflow:hidden}.tdms-scale legend{float:left;width:100%;text-align:center;font-size:18px;font-weight:800;margin-bottom:6px}.tdms-scale legend strong{font-size:24px;color:var(--teal)}.character-row{clear:both;height:72px;display:grid;grid-template-columns:repeat(5,1fr);padding:0 4.5%;align-items:end}.tdms-character{display:block;justify-self:center;width:68px;height:72px;background-image:url(/assets/tdms-original.png);background-size:1372px 887px;background-repeat:no-repeat}.energy-0{background-position:-165px -204px}.energy-1{background-position:-268px -202px}.energy-2{background-position:-366px -196px}.energy-3{background-position:-466px -196px}.energy-4{background-position:-562px -194px}.relaxation-0{background-position:-164px -550px}.relaxation-1{background-position:-267px -550px}.relaxation-2{background-position:-365px -550px}.relaxation-3{background-position:-465px -550px}.relaxation-4{background-position:-561px -550px}.scale-line{height:10px;margin:-2px 2.5% 0;border-bottom:2px solid #243133;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(10% - 1px),#657172 calc(10% - 1px),#657172 10%)}.scale-options{display:grid;grid-template-columns:repeat(11,1fr)}.scale-options label{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;cursor:pointer}.scale-number{font-size:12px;color:var(--muted)}.scale-options input{position:absolute;bottom:0;opacity:0}.radio-ring{width:22px;height:22px;border-radius:50%;border:3px solid #52afc4;background:#fff;transition:.12s ease}.scale-options input:checked+.radio-ring{border-width:6px;box-shadow:inset 0 0 0 3px #fff;background:#52afc4}.scale-options label:hover .radio-ring{transform:scale(1.08)}.scale-descriptions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-top:12px;font-size:11px;font-weight:800;line-height:1.4;text-align:center}.scale-descriptions span:nth-child(1){text-align:left;color:var(--blue)}.scale-descriptions.relaxation span:nth-child(1){color:var(--red)}.scale-descriptions span:nth-child(2){align-self:center;color:#6a7273}.scale-descriptions span:nth-child(3){text-align:right;color:var(--orange)}.scale-descriptions.relaxation span:nth-child(3){color:var(--green)}.chart-card{margin:0;padding:18px;border-radius:18px;background:#f8fbfb;border:1px solid #e1ecec}.chart-card figcaption{display:flex;justify-content:space-between;align-items:center;gap:12px}.chart-card figcaption span{color:var(--muted);font-size:11px}.legend-cell{display:inline-block;width:9px;height:9px;margin:0 3px 0 10px;transform:rotate(45deg);border:1px solid white;box-shadow:0 0 0 1px #25353614}.legend-cell.pre{background:#119bb5}.legend-cell.post{background:#f28a2d}.chart-wrap{position:relative;max-width:410px;margin:6px auto 0}.chart-wrap>.tdms-chart{width:100%;display:block;overflow:visible}.tdms-chart line{stroke:#ffffffd9;stroke-width:1.3}.tdms-chart line.axis{stroke:#fff;stroke-width:2}.axis-label{fill:#687273;font-size:13px;font-weight:700}.mood-label{font-size:10px;font-weight:800}.mood-label.relaxed{fill:var(--green)}.mood-label.lively{fill:var(--orange)}.mood-label.lazy{fill:var(--blue)}.mood-label.irritated{fill:var(--red)}.tdms-selection .selection-cell,.tdms-selection .selection-outline{stroke:#fff;stroke-width:2.5;stroke-linejoin:round}.tdms-selection .pre-cell{fill:#119bb5}.tdms-selection .post-cell{fill:#f28a2d}.tdms-selection .selection-half{stroke:none}.tdms-selection .selection-outline{fill:none}.tdms-selection .selection-divider{stroke:#fff;stroke-width:2}.chart-character{position:absolute;display:block;width:60px;height:58px;z-index:2;overflow:visible;filter:drop-shadow(0 2px 1px rgba(37,53,54,.08))}.chart-relaxed{left:1.5%;top:4%}.chart-lively{right:.5%;top:4%}.chart-lazy{left:.5%;bottom:1.5%}.chart-irritated{right:.5%;bottom:1.5%}.chart-card>p{margin:4px 0 0;color:var(--muted);text-align:center;font-size:11px}.text-question{margin-top:28px;padding-top:26px;border-top:1px dashed #cbdcdc}.text-question>label{display:block;font-weight:800;font-size:17px}.text-question>p{margin:7px 0 13px;color:var(--muted);font-size:12px}.text-question textarea{width:100%;min-height:120px;resize:vertical;padding:16px;border:1px solid #cddddd;border-radius:12px;color:var(--ink);line-height:1.8;background:#fbfdfd;transition:border .12s,box-shadow .12s}.text-question textarea:focus{border-color:var(--teal);box-shadow:0 0 0 4px #0f988a14;outline:0}.text-meta{display:flex;justify-content:space-between;gap:12px;margin-top:6px;min-height:20px;color:var(--muted);font-size:10px}.questions-grid .text-question:first-child{margin-top:10px}.field-error{display:block;color:#b83333;font-size:11px;font-weight:700;margin-top:7px}.has-error{border-color:#e8a4a4}.student-home{max-width:980px}.student-home-heading{margin-bottom:28px}.student-home-heading h1,.entry-heading h1{margin:0;font-size:clamp(34px,5vw,52px)}.student-home-heading p:last-child,.entry-heading p:last-child{margin:12px 0 0;color:var(--muted)}.notice.success{margin-bottom:22px;color:#23685f;background:#e4f5f1}.calendar-card,.selected-day-card{padding:clamp(20px,4vw,38px);border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow)}.calendar-header{display:grid;grid-template-columns:46px 1fr 46px;align-items:center;margin-bottom:20px}.calendar-header h2{margin:0;text-align:center;font-size:clamp(20px,3vw,28px)}.calendar-header button{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;color:var(--teal-dark);background:#f4f9f8;font-size:28px;cursor:pointer}.calendar-header button:hover{background:#e5f5f2}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.calendar-weekdays{margin-bottom:7px;color:var(--muted);text-align:center;font-size:11px;font-weight:800}.calendar-weekdays span:first-child{color:#c34f47}.calendar-weekdays span:last-child{color:#3873a8}.calendar-grid button,.calendar-empty{min-height:66px;border-radius:12px}.calendar-grid button{position:relative;display:grid;place-items:center;border:1px solid #e4eded;color:var(--ink);background:#fbfdfd;font-weight:800;cursor:pointer;transition:.14s ease}.calendar-grid button:hover{border-color:#8fcfc6;transform:translateY(-1px)}.calendar-grid button.today:after{content:"今日";position:absolute;left:50%;bottom:5px;transform:translate(-50%);color:var(--teal-dark);font-size:8px;font-weight:800}.calendar-grid button.pre-saved{border-color:#edc087;color:#8b5417;background:#fff4e4}.calendar-grid button.submitted{border-color:var(--teal);color:#fff;background:var(--teal)}.calendar-grid button.submitted.today:after{color:#fff}.calendar-grid button.selected{outline:3px solid rgba(15,152,138,.24);outline-offset:2px}.calendar-grid button i{position:absolute;top:6px;right:8px;font-style:normal;font-size:10px}.calendar-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:16px;margin-top:18px;color:var(--muted);font-size:11px}.calendar-legend span{display:inline-flex;align-items:center;gap:7px}.legend-status{width:12px;height:12px;border-radius:4px}.legend-status.pre{border:1px solid #edc087;background:#fff4e4}.legend-status.submitted{background:var(--teal)}.selected-day-card{margin-top:22px}.selected-day-title p{margin:0 0 5px;color:var(--muted);font-size:11px;font-weight:800}.selected-day-title h2{margin:0 0 24px;font-size:clamp(22px,3vw,30px)}.completed-message{display:flex;align-items:center;gap:10px;padding:13px 16px;margin:-8px 0 18px;border-radius:12px;color:var(--teal-dark);background:#e7f6f3}.completed-message span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;color:#fff;background:var(--teal)}.student-actions{display:grid;grid-template-columns:1fr 1fr;gap:16px}.student-actions article{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:3px 14px;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fbfdfd}.student-actions article.complete{background:#f1f9f7}.student-actions article>div p{margin:0 0 2px;color:var(--teal);font-size:9px;font-weight:900;letter-spacing:.12em}.student-actions article h3{margin:0;font-size:18px}.student-actions article small{color:var(--muted);line-height:1.5}.student-actions article .button{grid-column:1 / -1;margin-top:14px}.action-number{grid-row:1;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:#fff;background:var(--teal);font-weight:900}.action-number.post,.post-button{background:var(--orange)}.post-button:hover{background:#c8671c}.back-to-calendar{margin-bottom:22px;padding:0;border:0;color:var(--teal-dark);background:transparent;font-weight:800;cursor:pointer}.entry-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:34px}.entry-step{padding:10px 14px;border-radius:999px;color:var(--teal-dark);background:#e3f5f2;font-size:12px;font-weight:900}.entry-step.post{color:#9a561b;background:#fff0df}.post-tdms-heading{margin:34px 0 20px;padding-top:30px;border-top:1px dashed #cbdcdc}.post-tdms-heading p{margin:0 0 4px;color:var(--orange);font-size:11px;font-weight:800;letter-spacing:.14em}.post-tdms-heading h2{margin:0;font-size:clamp(21px,2.5vw,30px)}.submit-card{padding:30px 36px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px 36px}.submit-card h2{margin:0 0 8px}.submit-card p:last-child{margin:0;color:var(--muted);font-size:12px}.button{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:0 22px;border:0;border-radius:12px;font-weight:800;text-decoration:none;cursor:pointer;transition:.16s ease}.button.primary{background:var(--teal);color:#fff;box-shadow:0 8px 20px #0f988a33}.button.primary:hover{background:var(--teal-dark);transform:translateY(-1px)}.button:disabled{opacity:.48;cursor:not-allowed;transform:none}.button.secondary{background:#e8f4f2;color:var(--teal-dark)}.button.export{background:var(--ink);color:#fff}.notice{padding:14px 18px;border-radius:12px;font-size:13px}.notice.locked{display:flex;align-items:center;gap:14px;background:#ebf7f4;color:#23685f;margin:-20px 0 26px}.notice.locked>span{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#a9ded6}.notice.locked p{margin:3px 0 0;font-size:11px}.notice.error{background:#fff0f0;color:#a92d2d;grid-column:1 / -1}.notice.info{margin:18px 0;background:#edf7fb;color:#286276}footer{padding:34px 0 0;text-align:center;color:#94a3a3;font-size:10px}.center-state,.submitted-state{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px;text-align:center}.center-state h1{margin:36px 0 5px}.center-state p,.submitted-state>p:not(.eyebrow){color:var(--muted)}.loader{width:34px;height:34px;margin-top:34px;border:3px solid #d7e8e5;border-top-color:var(--teal);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.success-icon{width:72px;height:72px;display:grid;place-items:center;border-radius:50%;background:#d8f1ec;color:var(--teal);font-size:38px;margin-bottom:24px}.immutable-note{margin-top:20px;padding:12px 18px;border-radius:10px;background:#fff5e7;color:#99611d;font-size:12px;font-weight:700}.admin-page{padding-top:46px}.admin-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:34px}.admin-heading h1{font-size:42px}.daily-status-card{padding:clamp(22px,4vw,34px);margin-bottom:24px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}.daily-status-header{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}.daily-status-header h2{margin:0;font-size:clamp(22px,3vw,30px)}.daily-status-header h2+p{margin:8px 0 0;color:var(--muted);font-size:12px}.daily-status-header label{flex:0 0 190px;color:var(--muted);font-size:11px;font-weight:800}.daily-status-header input{width:100%;height:44px;margin-top:7px;padding:0 11px;border:1px solid #cfdddd;border-radius:9px;color:var(--ink);background:#fff}.daily-status-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.daily-status-list{min-width:0;padding:18px;border:1px solid var(--line);border-radius:15px;background:#fbfdfd}.daily-status-list.complete{border-color:#cde8e2;background:#f4fbf9}.daily-status-list.pending{border-color:#eddfcb;background:#fffaf3}.daily-status-list h3{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;font-size:16px}.daily-status-list h3 b{padding:5px 9px;border-radius:999px;color:var(--teal-dark);background:#dff2ee;font-size:11px}.daily-status-list.pending h3 b{color:#945d18;background:#ffebcd}.daily-status-list ul{max-height:330px;margin:0;padding:0;overflow:auto;list-style:none}.daily-status-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 2px;border-top:1px solid rgba(110,126,127,.14)}.daily-status-list li>span{min-width:0}.daily-status-list li b,.daily-status-list li small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.daily-status-list li b{font-size:13px}.daily-status-list li small{margin-top:3px;color:var(--muted);font-size:10px}.daily-status-list time{color:var(--teal-dark);font-size:11px;font-weight:800}.daily-status-list em{flex:0 0 auto;padding:5px 8px;border-radius:999px;color:#9a641b;background:#fff0d6;font-size:9px;font-style:normal;font-weight:800}.daily-empty{margin:0;padding:24px 6px 8px;color:var(--muted);font-size:12px;text-align:center}.daily-loader{margin:45px auto}.filter-card{display:grid;grid-template-columns:minmax(180px,1fr) 180px 180px auto;align-items:end;gap:14px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:16px}.filter-card label{color:var(--muted);font-size:11px;font-weight:700}.filter-card input{width:100%;height:43px;margin-top:6px;padding:0 11px;border:1px solid #cfdddd;border-radius:9px;color:var(--ink)}.results-summary{margin:24px 2px 12px;color:var(--muted);font-size:12px}.results-summary b{color:var(--ink);font-size:24px;margin-right:4px}.table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}table{width:100%;min-width:1030px;border-collapse:collapse;font-size:12px}th{padding:14px;text-align:left;color:#778687;background:#f5f9f9;font-size:10px;letter-spacing:.06em}td{padding:16px 14px;border-top:1px solid #e7eeee;vertical-align:top}td small,.metric,.delta{display:block}td small{max-width:190px;margin-top:4px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}.metric,.delta{white-space:nowrap;margin-bottom:5px}.metric.orange{color:#b9671f}.metric.green{color:#4f8337}details{position:relative}summary{color:var(--teal-dark);font-weight:800;cursor:pointer;white-space:nowrap}details[open] dl{display:block}details dl{position:absolute;right:0;z-index:5;width:420px;max-height:330px;overflow:auto;margin:8px 0 0;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 16px 40px #1e3d3d2e}dt{font-weight:800;color:var(--teal-dark)}dd{margin:4px 0 14px;white-space:pre-wrap;line-height:1.6}.admin-loader{margin:70px auto}.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(360px,.9fr) minmax(480px,1.1fr);background:#fff}.auth-brand-panel{position:relative;min-height:100vh;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(34px,6vw,86px);color:#fff;background:linear-gradient(145deg,#08756b,#0d9889 58%,#70c9ba);overflow:hidden}.auth-brand-panel:before,.auth-brand-panel:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.16);border-radius:50%}.auth-brand-panel:before{width:430px;height:430px;right:-210px;top:-100px}.auth-brand-panel:after{width:620px;height:620px;left:-360px;bottom:-390px}.auth-brand,.auth-brand-panel>div{position:relative;z-index:1}.auth-brand{display:flex;align-items:center;gap:13px}.auth-brand .brand-logo{width:50px;height:50px;padding:3px;border-radius:15px;background:#ffffffeb}.auth-brand b,.auth-brand small{display:block}.auth-brand b{font-size:18px}.auth-brand small{margin-top:3px;font-size:9px;letter-spacing:.18em;text-transform:uppercase;opacity:.8}.auth-brand-panel .eyebrow{color:#c9fff4}.auth-brand-panel h1{margin:0;font-size:clamp(36px,5vw,62px);line-height:1.35}.auth-brand-panel h1+p{max-width:520px;margin-top:24px;line-height:1.8;opacity:.85}.auth-form-panel{display:grid;place-items:center;padding:clamp(28px,6vw,90px);background:#f8fbfb}.auth-card{width:min(100%,480px);display:grid;gap:11px;padding:clamp(30px,5vw,54px);border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow)}.auth-card h2{margin:0 0 4px;font-size:clamp(28px,4vw,42px)}.auth-card>p:not(.eyebrow):not(.auth-help){margin:0 0 16px;color:var(--muted);line-height:1.7;font-size:13px}.auth-card label{margin-top:7px;font-size:12px;font-weight:800}.auth-card input{width:100%;height:50px;padding:0 14px;border:1px solid #cbdada;border-radius:11px;color:var(--ink);background:#fbfdfd}.auth-submit{width:100%;margin-top:13px}.auth-help,.input-hint{color:var(--muted);font-size:10px;line-height:1.6}.auth-help{margin:5px 0 0;text-align:center}.auth-card .text-button{margin-top:5px;justify-self:center}.legal-consent{padding:14px;border:1px solid var(--line);border-radius:11px;background:#f5faf9}.legal-consent p{margin:0 0 12px;font-size:12px;line-height:1.8}.legal-consent a{color:var(--teal-dark)}.legal-consent label{display:flex;align-items:flex-start;gap:10px;line-height:1.7;cursor:pointer}.auth-card .legal-consent input{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;accent-color:var(--teal)}.accounts-page{padding-top:38px}.import-card,.credential-card{padding:clamp(24px,4vw,38px);margin-bottom:24px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}.import-copy{display:flex;align-items:flex-start;gap:16px}.account-role-picker{margin:0 0 28px;padding:0;border:0}.account-role-picker legend{margin-bottom:10px;font-weight:800}.account-role-picker>div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.account-role-picker label{display:grid;gap:4px;min-width:0;padding:16px;border:1px solid var(--line);border-radius:12px;cursor:pointer}.account-role-picker label.selected{border-color:var(--teal);background:#eefaf8;box-shadow:inset 0 0 0 1px var(--teal)}.account-role-picker input{position:absolute;opacity:0;pointer-events:none}.account-role-picker small,.muted-label{color:var(--muted);font-size:12px}.account-counts{display:flex;flex-wrap:wrap;gap:24px}.import-copy h2,.credential-card h2{margin:0 0 8px}.import-copy p,.credential-card p,.import-actions p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.step-badge{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--teal);font-weight:900}.file-picker{display:flex;align-items:center;gap:16px;margin:24px 0 18px}.file-picker input{position:absolute;width:1px;height:1px;opacity:0}.file-picker b{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.roster-input{display:grid;gap:9px;margin-top:24px}.roster-input label{font-size:13px;font-weight:800}.roster-input p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.roster-input textarea{width:100%;min-height:200px;resize:vertical;padding:16px;border:1px solid #cbdada;border-radius:12px;background:#fbfdfd;color:var(--ink);font-family:ui-monospace,monospace;font-size:13px;line-height:1.8;tab-size:4}.roster-input textarea:focus{border-color:var(--teal)}.roster-input textarea:disabled{opacity:.65}.import-preview{display:flex;flex-wrap:wrap;gap:12px;padding:17px;margin-bottom:18px;border-radius:12px;background:#f4f9f9;color:var(--muted);font-size:12px}.import-preview span{padding-right:12px;border-right:1px solid var(--line)}.import-preview b{color:var(--ink);font-size:20px}.import-preview .invalid,.import-preview .invalid b{color:var(--red)}.import-actions{display:flex;align-items:center;gap:18px}.credential-card{display:grid;grid-template-columns:1fr auto;gap:20px;border-color:#e9cc80;background:#fffaf0}.credential-card .eyebrow{color:#9c6d08}.credential-preview{grid-column:1 / -1;display:grid;gap:6px;padding:16px;border:1px dashed #dfc888;border-radius:12px;background:#fff}.credential-preview code{font-size:12px;overflow-wrap:anywhere}.credential-preview small{color:var(--muted)}.account-table table{min-width:900px}.status-pill{display:inline-block;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800}.status-pill.pending{color:#9a641b;background:#fff0d6}.status-pill.ready{color:#287064;background:#e1f4ef}.status-pill.inactive{color:#8a4540;background:#fbe6e4}.account-actions{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.text-button.danger{color:#a33c35;white-space:nowrap}.empty-state{padding:50px;color:var(--muted);text-align:center}.page-with-footer{min-height:100vh;display:flex;flex-direction:column}.page-with-footer>:first-child{flex:1}.home-link{color:inherit;text-decoration:none}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px max(24px,calc((100vw - 1180px)/2));border-top:1px solid var(--line);color:var(--muted);background:#fff;font-size:12px}.site-footer nav{display:flex;flex-wrap:wrap;gap:18px}.site-footer a{color:var(--teal-dark)}.legal-page{width:min(820px,calc(100% - 40px));margin:0 auto;padding:58px 0 80px}.legal-page h1{margin:0 0 24px;font-size:clamp(34px,5vw,52px)}.draft-notice{padding:16px 18px;margin-bottom:36px;border:1px solid #e8ce8b;border-radius:12px;color:#76580f;background:#fff9e9;line-height:1.7}.legal-sections{display:grid;gap:28px}.legal-sections section{padding-bottom:24px;border-bottom:1px solid var(--line)}.legal-sections h2{margin:0 0 10px;font-size:20px}.legal-sections p{margin:0;color:var(--muted);line-height:1.9}.legal-updated{margin:32px 0 0;color:var(--muted);font-size:12px}.legal-back{display:inline-flex;margin-top:24px}@media(max-width:1000px){.tdms-layout{grid-template-columns:1fr}.tdms-layout>.chart-card{width:100%;max-width:520px;margin:0 auto}.filter-card{grid-template-columns:1fr 1fr}.auth-page{grid-template-columns:1fr}.auth-brand-panel{min-height:290px;padding:32px}.auth-brand-panel>div:nth-child(2){margin-top:45px}.auth-brand-panel h1{font-size:34px}.auth-brand-panel h1 br{display:none}}@media(max-width:700px){.site-header{height:68px;padding:0 18px}.secure-chip{display:none}.header-meta{gap:9px}.account-trigger{max-width:125px;padding:7px}.profile-fields,.daily-status-columns{grid-template-columns:1fr}.profile-actions .button{flex:1;padding:0 12px}.main-content,.admin-page{width:min(100% - 24px,1180px);padding-top:34px}.hero,.admin-heading{display:block}.hero h1{font-size:36px}.lesson-date{margin-top:24px;min-width:0}.condition-card{padding:24px 14px}.condition-options{gap:2px}.condition-options label{padding:8px 1px;font-size:10px}.condition-face{width:52px;height:52px}.form-section{padding:24px 12px;border-radius:18px}.section-heading{align-items:flex-start;gap:12px}.step-number{font-size:31px}.tdms-scale{padding:16px 5px}.tdms-scale legend{font-size:15px}.tdms-scale legend strong{font-size:20px}.character-row{height:60px;padding:0 1%}.tdms-character{transform:scale(.72)}.scale-line{margin-left:4.5%;margin-right:4.5%}.scale-number{font-size:10px}.radio-ring{width:19px;height:19px;border-width:2px}.scale-descriptions{font-size:9px}.chart-card{padding:10px 4px}.text-question{padding-left:5px;padding-right:5px}.calendar-card,.selected-day-card{padding:18px 12px;border-radius:18px}.calendar-weekdays,.calendar-grid{gap:3px}.calendar-grid button,.calendar-empty{min-height:48px;border-radius:9px}.student-actions{grid-template-columns:1fr}.entry-heading{align-items:flex-start}.submit-card{padding:25px 20px;grid-template-columns:1fr}.submit-button{width:100%}.admin-heading .button{margin-top:20px}.daily-status-header{display:grid;gap:18px}.daily-status-header label{width:100%}.filter-card{grid-template-columns:1fr}details dl{position:fixed;left:12px;right:12px;bottom:12px;width:auto}.auth-brand-panel{min-height:250px}.auth-form-panel{padding:20px 12px 44px}.auth-card{padding:27px 20px;border-radius:18px}.import-actions,.file-picker{align-items:stretch;flex-direction:column}.account-role-picker>div{grid-template-columns:1fr}.credential-card{grid-template-columns:1fr}.credential-preview{grid-column:1}.site-footer{align-items:flex-start;flex-direction:column;padding:20px 18px}}@media(max-width:480px){.site-header .brand>span{display:none}.account-trigger{max-width:120px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
