@charset "UTF-8";
:root{--teal:#0f9a9e;--accent:#0a7377;--deep:#075457;--pale:#edf7f7;--wash:#f4f7f8;--ink:#22292e;--sub:#5a656c;--line:#e1e8ea;--muted:#849296;--paper:#fff;--font:"Noto Sans JP","Yu Gothic","Meiryo",sans-serif;--num:"Jost","Segoe UI",sans-serif;--radius:14px;--shadow:0 12px 35px #123e4812}
*{box-sizing:border-box}body{margin:0;background:var(--wash);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.7}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:var(--accent)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #53b7ba;outline-offset:3px}button{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:.025em;line-height:1.5}h2{font-size:18px;line-height:1.6}h3{font-size:15px}small,.small{font-size:12px}img{max-width:100%}svg{vertical-align:middle}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.muted{color:var(--sub)}.teal{color:var(--accent)}.nowrap{white-space:nowrap}.pre{white-space:pre-wrap;overflow-wrap:anywhere}.number{font-family:var(--num);font-variant-numeric:tabular-nums}.skip-link{position:fixed;top:-60px;left:12px;z-index:1000;background:white;padding:10px}.skip-link:focus{top:10px}.boot{min-height:80vh;display:grid;place-content:center;gap:24px;text-align:center;color:var(--sub)}.boot img{width:150px;margin:auto}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:10px 16px;min-height:42px;background:white;font-weight:600;text-decoration:none;line-height:1.4;white-space:nowrap;transition:background .16s,transform .16s}.btn:hover{background:var(--pale);border-color:#b6d9d9}.btn.primary{background:var(--accent);border-color:var(--accent);color:white}.btn.primary:hover{background:var(--deep)}.btn.soft{background:var(--pale);color:var(--accent);border-color:transparent}.btn.ghost{background:transparent;border-color:transparent;color:var(--sub)}.btn.small{min-height:34px;padding:7px 11px;font-size:12px}.icon-btn{display:inline-grid;place-items:center;width:40px;height:40px;background:transparent;border:1px solid transparent;border-radius:9px;color:var(--sub);position:relative}.icon-btn:hover{background:var(--pale);color:var(--accent)}.text-btn{background:none;border:0;padding:0;color:var(--accent);font-weight:600;text-align:left}.text-btn:hover{text-decoration:underline}.badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;line-height:1.5;padding:4px 8px;border-radius:5px;font-weight:600;white-space:nowrap;background:#f0f3f4;color:#55666c}.badge.good{background:#e5f3f1;color:#116d62}.badge.pending{background:#f7efe0;color:#86641c}.badge.outline{background:transparent;border:1px solid #a8cecc;color:var(--accent)}.badge.danger{background:#f8ebeb;color:#a54545}.dot{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block}.tag{font-size:11px;background:var(--wash);border:1px solid var(--line);border-radius:5px;padding:2px 7px;color:var(--sub)}.avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:var(--pale);color:var(--accent);font-weight:600;flex:none}.avatar.large{width:56px;height:56px;font-size:22px;border-radius:15px}.avatar.round{border-radius:50%}.row{display:flex;align-items:center;gap:12px}.spread{display:flex;align-items:center;justify-content:space-between;gap:16px}.wrap{flex-wrap:wrap}.stack{display:grid;gap:16px}.stack.compact{gap:10px}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.full{width:100%}.mt{margin-top:24px}.mb{margin-bottom:20px}.grow{flex:1;min-width:0}.empty{padding:44px 24px;text-align:center;color:var(--sub)}.empty .icon{width:30px;height:30px;color:#8ab6b7;margin-bottom:12px}.error{color:#a33e3e;background:#fff1f1;border:1px solid #e9c8c8;padding:12px 16px;border-radius:8px;margin:12px 0}.notice{padding:12px 16px;border-radius:9px;background:var(--pale);color:var(--deep);font-size:12px;border:1px solid #d8eaea}.notice.warning{background:#fbf6ea;border-color:#eee2bd;color:#7e6523}.divider{height:1px;background:var(--line);margin:20px 0}
/* Navigation */
.sidebar{width:236px;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);z-index:30;display:flex;flex-direction:column;padding:31px 18px 18px}.brand{padding:0 15px 27px;text-decoration:none;display:block}.brand img{width:118px;height:34px;object-fit:contain;object-position:left}.brand-sub{display:block;font-family:var(--num);font-size:10px;letter-spacing:.28em;margin-top:10px;color:var(--sub)}.workspace-select{margin:0 4px 24px;padding:12px;border:1px solid var(--line);border-radius:10px}.workspace-select .icon{width:17px}.workspace-select b{font-size:12px}.workspace-select small{font-size:10px}.nav-caption{font-family:var(--num);font-size:10px;letter-spacing:.18em;color:var(--muted);padding:0 17px;margin:11px 0}.nav{display:grid;gap:5px}.nav a{display:flex;align-items:center;gap:12px;color:var(--sub);padding:12px 15px;border-radius:9px;text-decoration:none;font-size:13px;font-weight:500;position:relative;white-space:nowrap}.nav a:hover{background:#f7fafa;color:var(--accent)}.nav a.active{background:var(--pale);color:var(--accent);font-weight:700}.nav a.active:before{position:absolute;content:"";left:0;top:14px;bottom:14px;width:3px;border-radius:4px;background:var(--teal)}.nav .icon{width:19px;height:19px}.nav-count{margin-left:auto;background:#dbeeee;border-radius:5px;font-family:var(--num);font-size:11px;min-width:19px;text-align:center}.sidebar-foot{margin-top:auto;padding:20px 12px 0}.sidebar-foot .support{display:flex;align-items:center;gap:10px;color:var(--sub);text-decoration:none;font-size:12px;margin-bottom:18px}.sidebar-foot .caption{font-size:10px;color:var(--muted);letter-spacing:.03em}.shell{margin-left:236px;min-height:100vh}.topbar{height:78px;padding:0 38px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px}.breadcrumb{font-size:12px;color:var(--sub);display:flex;align-items:center;gap:12px}.breadcrumb span:last-child{color:var(--ink);font-weight:600}.topbar-search{margin-left:auto;position:relative;max-width:250px}.topbar-search input{padding:8px 30px 8px 35px;border:1px solid var(--line);background:var(--wash);border-radius:8px;width:100%;font-size:12px}.topbar-search .icon{position:absolute;left:10px;top:11px;width:16px;height:16px;color:var(--muted)}.top-user{display:flex;gap:10px;align-items:center;padding-left:17px;border-left:1px solid var(--line)}.top-user b{display:block;font-size:12px}.top-user small{font-size:10px;color:var(--sub)}.menu-button{display:none}.notif-count{position:absolute;top:3px;right:2px;min-width:15px;height:15px;border-radius:50%;background:var(--accent);color:white;font:10px/15px var(--num)}.demo-strip{padding:6px 38px;border-bottom:1px solid #d6e9e8;background:#eef8f6;display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:11px;color:var(--accent)}.demo-strip select{border:0;background:transparent;color:var(--accent);font-size:11px;padding:2px 6px;max-width:180px}.content{max-width:1500px;padding:32px 38px 60px;margin:auto}.eyebrow{font-family:var(--num);font-size:10px;letter-spacing:.2em;font-weight:600;color:var(--accent);margin-bottom:8px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:26px}.page-head p{color:var(--sub);font-size:12px;margin-top:8px}.date-chip{padding:8px 13px;border:1px solid var(--line);background:white;border-radius:8px;font-size:12px;color:var(--sub)}.hero{border:1px solid #cee5e4;background:linear-gradient(110deg,#eff9f7 0%,#f3f9f8 69%,#e5f3f1 100%);padding:29px 30px;border-radius:14px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;margin-bottom:23px}.hero h1{font-size:27px;line-height:1.7;letter-spacing:.04em;font-weight:600}.hero p{font-size:12px;color:var(--sub);margin-top:10px}.hero .hero-art{position:relative;align-self:stretch;min-width:160px;display:flex;align-items:center;justify-content:center;margin-right:20px}.hero-art:before,.hero-art:after{content:"";position:absolute;border:1px solid #aacfcbaa;border-radius:50%;width:160px;height:160px}.hero-art:after{width:118px;height:118px}.hero-art .icon{width:49px;height:49px;color:#208889;stroke-width:1}.hero-art .art-dot{position:absolute;top:9px;right:14px;height:10px;width:10px;border-radius:50%;background:var(--teal)}.hero-actions{margin-top:18px}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.kpi{background:white;border:1px solid var(--line);border-radius:12px;padding:19px 20px}.kpi-top{display:flex;justify-content:space-between;color:var(--sub);font-size:12px;align-items:center}.kpi-top .icon{width:17px;color:#6c9698}.kpi-value{font:300 37px/1.2 var(--num);color:var(--deep);margin:12px 0 7px;letter-spacing:-.03em}.kpi-value small{font:12px var(--font);letter-spacing:0;color:var(--sub);margin-left:6px}.kpi-foot{font-size:10px;color:var(--sub)}.progress{height:4px;border-radius:8px;background:#e7eeee;overflow:hidden;margin-top:11px}.progress span{display:block;height:100%;border-radius:8px;background:var(--teal)}.grid-main{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:22px}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);min-width:0;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 23px 17px}.panel-head h2{font-size:15px}.panel-head small{font-size:10px;color:var(--sub)}.panel-body{padding:0 23px 23px}.panel-body.padded{padding:23px}.panel-foot{padding:13px 23px;border-top:1px solid var(--line);background:#fcfdfd;font-size:11px;color:var(--sub)}.table-scroll{overflow:auto}.data-table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}.data-table th{font-size:10px;color:var(--sub);font-weight:500;padding:12px 21px;background:#fafcfc;border-block:1px solid var(--line)}.data-table td{padding:16px 21px;border-bottom:1px solid #edf1f2;font-size:12px}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fafdfc}.data-table .time{font:500 14px var(--num);color:var(--ink)}.data-table .student-cell{display:flex;align-items:center;gap:9px}.data-table .student-cell .avatar{width:29px;height:29px;border-radius:8px;font-size:11px}.data-table .student-cell small{font-size:10px;color:var(--sub)}.focus-item{padding:14px 0;display:flex;gap:12px;border-top:1px solid var(--line)}.focus-item:first-child{padding-top:0;border:0}.focus-item h3{font-size:12px;margin-bottom:4px}.focus-item p{font-size:11px;color:var(--sub);line-height:1.8}.focus-mark{color:var(--accent);background:var(--pale);width:30px;height:30px;display:grid;place-items:center;border-radius:8px;flex:none}.focus-mark .icon{width:16px}.mini-request{border:1px solid var(--line);border-radius:10px;padding:14px;margin-bottom:12px}.mini-request:last-child{margin-bottom:0}.mini-request b{font-size:12px}.mini-request p{font-size:11px;color:var(--sub);margin:6px 0}.report-item{display:block;width:100%;text-align:left;padding:16px 0;border:0;border-top:1px solid var(--line);background:none}.report-item:first-child{border:0;padding-top:0}.report-item:hover b{color:var(--accent)}.report-item .meta{font-size:10px;color:var(--sub);margin-bottom:6px}.report-item b{font-size:12px;display:block;margin-bottom:4px}.report-item .excerpt{font-size:11px;color:var(--sub);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.activity{display:flex;gap:11px;border-bottom:1px solid var(--line);padding:14px 0}.activity:last-child{border:0}.activity:first-child{padding-top:0}.activity p{font-size:11px}.activity small{font-size:10px;color:var(--sub)}.section-label{font-size:12px;color:var(--sub);margin-bottom:12px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px;flex-wrap:wrap}.filter-tabs{display:flex;gap:4px;background:#eaf0f1;padding:4px;border-radius:8px}.filter-tabs button{border:0;background:none;padding:7px 14px;border-radius:5px;font-size:12px;color:var(--sub)}.filter-tabs button.active{background:white;color:var(--accent);box-shadow:0 1px 3px #163e4310}.field{display:grid;gap:6px;font-size:12px;color:var(--sub)}.field>span,.field>label{font-weight:600}.field input,.field select,.field textarea,.input{background:white;border:1px solid #d4dfe1;border-radius:8px;padding:10px 12px;width:100%;color:var(--ink);font-size:13px;line-height:1.7;min-width:0}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--teal)}textarea{resize:vertical}.field textarea{min-height:110px}.field small{font-weight:400;color:var(--sub);font-size:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.span-two{grid-column:1/-1}.form-actions{display:flex;gap:10px;justify-content:flex-end;padding-top:18px}.check-row{display:flex;gap:9px;align-items:flex-start;font-size:12px;color:var(--sub)}input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent);flex:none;margin-top:3px}.inline-field{display:flex;align-items:center;gap:8px}.inline-field input,.inline-field select{padding:7px 10px;width:auto;max-width:240px}.select-small{border:1px solid var(--line);border-radius:7px;padding:8px 12px;background:white;color:var(--sub);font-size:12px}
/* Writing */
.compose-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px}.lesson-list{display:grid;gap:9px}.lesson-card{border:1px solid var(--line);background:white;border-radius:10px;padding:13px;text-align:left;display:block;width:100%}.lesson-card:hover{border-color:#9bc5c5}.lesson-card.active{background:var(--pale);border-color:#8dc9c7;box-shadow:inset 3px 0 0 var(--accent)}.lesson-card b{font-size:12px}.lesson-card .meta{font-size:10px;color:var(--sub);margin-top:6px}.lesson-card .badge{font-size:9px;margin-top:9px}.step-line{display:flex;gap:0;align-items:center;margin-bottom:23px;padding:16px 20px;background:white;border:1px solid var(--line);border-radius:10px}.step-line span{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--sub);flex:1}.step-line b{display:grid;place-items:center;background:var(--pale);color:var(--accent);width:25px;height:25px;border-radius:50%;font:12px var(--num)}.step-line .active{color:var(--accent);font-weight:600}.step-line .active b{background:var(--accent);color:white}.record-row{display:flex;align-items:center;gap:18px;background:var(--pale);padding:18px 20px;border-radius:11px;margin-bottom:18px}.mic-button{width:64px;height:64px;border-radius:50%;border:1px solid #afd3d1;background:white;color:var(--accent);display:grid;place-items:center;flex:none;transition:box-shadow .2s}.mic-button .icon{width:27px;height:27px}.mic-button.recording{background:var(--accent);color:white;animation:pulse 1.8s infinite}.record-row b{font-size:13px}.record-row p{font-size:11px;color:var(--sub);margin-top:5px}.editor{min-height:320px!important;line-height:1.95!important;font-size:13px!important}.note-editor{min-height:150px!important}.editor-tools{display:flex;justify-content:space-between;align-items:center;padding:10px 0;font-size:11px;color:var(--sub);gap:10px;flex-wrap:wrap}.previous-report{margin-top:18px;border-top:1px solid var(--line);padding-top:17px}.previous-report summary{font-size:12px;font-weight:600;cursor:pointer}.previous-report p{font-size:11px;color:var(--sub);margin-top:10px}.save-bar{padding:18px 23px;background:#fbfdfd;border-top:1px solid var(--line);display:flex;align-items:center;gap:12px;flex-wrap:wrap}.save-bar .check-row{flex:1}.missing-list{padding:11px 13px;background:#fbf6e9;border-radius:8px;color:#7f662d;font-size:11px;margin-top:12px}.student-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.student-card{background:white;border:1px solid var(--line);border-radius:12px;padding:22px;text-align:left;cursor:pointer;transition:box-shadow .2s,border-color .2s}.student-card:hover{border-color:#99c9c7;box-shadow:var(--shadow)}.student-card h3{font-size:16px}.student-card .goal{font-size:11px;color:var(--sub);padding:15px 0;border-bottom:1px solid var(--line);margin-bottom:15px;min-height:62px}.student-card .stat{font-size:11px;color:var(--sub)}.student-card .stat b{font:25px var(--num);color:var(--accent);margin-left:7px}.student-card .card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:13px;font-size:10px;color:var(--sub)}.student-header{display:flex;align-items:center;gap:18px;background:white;padding:25px;border:1px solid var(--line);border-radius:14px;margin-bottom:22px}.student-header h1{font-size:23px}.student-header p{font-size:12px;color:var(--sub)}.chart{width:100%;height:190px;display:block;overflow:visible}.chart text{font-family:var(--font);font-size:10px;fill:var(--sub)}.score-row{display:flex;gap:15px;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.score-row:last-child{border:0}.score-row b{margin-left:auto;font-family:var(--num);font-size:19px;color:var(--accent)}
/* Calendar */
.calendar-wrap{overflow:auto}.week-grid{display:grid;grid-template-columns:65px repeat(7,minmax(95px,1fr));min-width:800px}.week-cell{min-height:90px;padding:8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.week-cell.head{min-height:auto;text-align:center;padding:14px 8px;font-size:11px;background:#fafcfc;color:var(--sub)}.week-cell.head b{font:19px var(--num);display:block;color:var(--ink)}.week-cell.today{background:#f0f8f7}.week-cell.time{font:11px var(--num);color:var(--sub);background:#fafcfc;padding-top:17px;text-align:center}.calendar-lesson{padding:8px;border:1px solid #cce1df;border-left:3px solid var(--teal);border-radius:6px;background:#eff8f6;font-size:10px;text-align:left;width:100%;margin-bottom:6px;white-space:normal;color:var(--deep)}.calendar-lesson b{display:block;font-size:11px}.calendar-lesson small{font-size:9px;display:block}.month-grid{display:grid;grid-template-columns:repeat(7,1fr)}.month-grid .weekday{text-align:center;padding:12px;font-size:11px;background:#f8fbfb;border-bottom:1px solid var(--line);color:var(--sub)}.month-day{min-height:105px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px;font:13px var(--num)}.month-day.today{background:#f0f8f7}.month-day.dim{color:#c4cdd0}.event-pill{display:block;font:9px var(--font);padding:4px 6px;background:#e8f4f1;border-radius:3px;margin-top:5px;overflow:hidden;color:var(--deep);word-break:break-all}.event-pill.closed{background:#f0eeee;color:#6f6262}.request-row{padding:17px 0;border-bottom:1px solid var(--line)}.request-row:last-child{border:0}.request-row h3{font-size:12px}.request-row p{font-size:11px;color:var(--sub);margin-top:4px}.chat-layout{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:540px}.chat-people{border-right:1px solid var(--line);padding:12px}.chat-person{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;padding:12px;background:none;border-radius:8px;font-size:12px}.chat-person.active{background:var(--pale);color:var(--accent)}.chat-main{display:flex;flex-direction:column;min-width:0}.chat-head{padding:17px 22px;border-bottom:1px solid var(--line);font-weight:600;font-size:13px}.chat-history{flex:1;padding:22px;min-height:300px;max-height:430px;overflow:auto;background:#fcfdfd}.chat-message{max-width:85%;margin-bottom:18px}.chat-message.mine{margin-left:auto;text-align:right}.chat-message .bubble{background:var(--pale);border-radius:0 10px 10px 10px;padding:13px 16px;font-size:12px;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;display:inline-block}.chat-message.mine .bubble{background:#e7f0f2;border-radius:10px 0 10px 10px}.chat-message small{font-size:9px;display:block;color:var(--sub);margin-bottom:5px}.chat-form{border-top:1px solid var(--line);padding:15px;display:flex;gap:12px;align-items:flex-end}.chat-form textarea{min-height:60px;max-height:140px}.parent-summary{background:var(--deep);color:white;padding:30px;border-radius:14px;display:flex;gap:20px;align-items:center;margin-bottom:24px}.parent-summary .avatar{background:#ffffff18;color:white}.parent-summary h1{font-size:24px}.parent-summary p{font-size:12px;opacity:.8}.parent-summary .eyebrow{color:#b9e0dc}.parent-report{padding:24px;margin-bottom:18px}.parent-report h2{font-size:16px}.report-content{white-space:pre-wrap;font-size:13px;line-height:2;color:#3d4e52;overflow-wrap:anywhere;margin:20px 0}.settings-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px}.template-card{padding:15px;border:1px solid var(--line);border-radius:9px;margin-bottom:12px}.template-card h3{font-size:13px}.template-card p{font-size:11px;color:var(--sub);margin-top:5px}.notification{padding:15px 0;border-bottom:1px solid var(--line)}.notification p{font-size:12px;margin-top:5px}.notification small{font-size:10px;color:var(--sub)}
/* Sign-in and dialogs */
.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:white}.login-story{background:#eaf6f3;padding:55px clamp(28px,6vw,90px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story>img{width:135px;height:39px;object-fit:contain;object-position:left}.login-story h1{font-size:clamp(27px,3vw,43px);line-height:1.65;font-weight:600;margin:20px 0}.login-story p{font-size:13px;color:var(--sub);max-width:340px;line-height:2}.login-graphic{display:flex;gap:14px;margin:36px 0}.login-graphic span{width:80px;height:100px;background:#ffffffa0;border:1px solid #c8e2dc;border-radius:12px;display:grid;place-items:center;color:var(--accent);transform:rotate(-6deg)}.login-graphic span:nth-child(2){transform:translateY(-10px) rotate(2deg)}.login-graphic span:nth-child(3){transform:rotate(9deg)}.login-graphic .icon{width:32px;height:32px;stroke-width:1.2}.login-story .copyright{font:10px var(--num);letter-spacing:.12em;color:var(--accent)}.login-form-wrap{padding:60px 35px;display:flex;align-items:center;justify-content:center}.login-form{width:360px;max-width:100%}.login-form h2{font-size:24px;margin-bottom:6px}.login-form>p{font-size:12px;color:var(--sub);margin-bottom:30px}.login-form form{display:grid;gap:18px}.login-form .demo-box{margin-top:28px;padding:20px;background:var(--wash);border:1px solid var(--line);border-radius:12px}.demo-box>p{font-size:11px;margin-bottom:12px;color:var(--sub)}.demo-roles{display:grid;gap:8px}.demo-roles .btn{font-size:12px;justify-content:space-between}.login-foot{margin-top:25px;font-size:10px;color:var(--sub);text-align:center}.overlay{position:fixed;inset:0;background:#15383d66;z-index:90;display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(3px)}.dialog{background:white;box-shadow:0 25px 90px #143c4633;border:1px solid #dde9e9;border-radius:16px;width:600px;max-width:100%;max-height:90vh;overflow:auto}.dialog.wide{width:800px}.dialog-head{padding:22px 25px;position:sticky;top:0;background:white;z-index:1;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:19px}.dialog-body{padding:24px 25px}.toast{position:fixed;bottom:26px;left:calc(50% + 90px);transform:translateX(-50%);background:var(--deep);color:white;padding:13px 22px;border-radius:10px;box-shadow:var(--shadow);z-index:110;display:flex;align-items:center;gap:10px;max-width:90vw;font-size:13px;animation:toast-in .2s}.toast.error-toast{background:#943e3e}.help-step{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}.help-step b.step-number{font:300 29px var(--num);color:var(--accent);min-width:35px}.help-step h3{font-size:14px}.help-step p{font-size:12px;color:var(--sub);margin-top:5px}.loading-inline{color:var(--sub);font-size:12px}.spinner{display:inline-block;width:16px;height:16px;border:2px solid #9bceca;border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}.mobile-scrim{display:none}.footer-note{font-size:10px;color:var(--muted);margin-top:24px;text-align:right}.print-only{display:none}.login-switch{margin-top:15px;font-size:12px;text-align:center}
/* Form and view integration */
.form-full{grid-column:1/-1}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}fieldset.field{border:1px solid var(--line);border-radius:8px;padding:14px}fieldset .check-row input{width:auto}.modal-open{overflow:hidden}.report-meta{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.report-meta p{font-size:12px;color:var(--sub)}.report-meta .badge{margin-left:auto}.template-item{padding:13px 0;border-bottom:1px solid var(--line)}.template-item b{font-size:13px}.week-scroll{overflow:auto}.week-grid{grid-template-columns:repeat(7,minmax(135px,1fr));min-width:945px}.week-day{border-right:1px solid var(--line);min-height:280px}.week-day:last-child{border:0}.week-day h3{padding:15px 10px;background:#fafcfc;border-bottom:1px solid var(--line);font-size:11px;text-align:center}.week-day.today h3{background:var(--pale);color:var(--accent)}.week-lessons{padding:10px}.calendar-lesson .number{font-size:13px}.calendar-lesson .number small{display:inline;font-size:9px}.calendar-lesson .badge{display:inline-block;margin-top:7px;font-size:9px}.month-weekday{text-align:center;padding:12px;font-size:11px;border-bottom:1px solid var(--line);background:#fafcfc;color:var(--sub)}.month-day.outside{color:#b7c4c5;background:#fafcfc}.event-chip{display:block;width:100%;font:10px/1.6 var(--font);padding:5px;border:0;border-radius:4px;background:#e7f3ef;color:var(--deep);text-align:left;margin-top:6px;overflow-wrap:anywhere}.event-chip.closed{background:#f2eeee;color:#756666}.event-chip.test{background:#f6f0df;color:#80652a}.chat-sidebar{border-right:1px solid var(--line);padding:12px;min-width:0}.chat-sidebar .panel-head{padding:10px 8px 18px}.chat-contact{display:flex;align-items:center;gap:10px;width:100%;padding:13px 10px;text-align:left;border:0;border-radius:8px;background:none}.chat-contact.active{background:var(--pale);color:var(--accent)}.chat-contact>span:last-child{min-width:0}.chat-contact b{display:block;font-size:12px}.chat-contact small{display:block;max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:var(--sub);margin-top:4px}.message{max-width:85%;margin-bottom:22px}.message.mine{margin-left:auto;text-align:right}.message .bubble{background:var(--pale);border-radius:0 10px 10px 10px;padding:13px 16px;font-size:12px;text-align:left;display:inline-block}.message.mine .bubble{background:#e7f0f2;border-radius:10px 0 10px 10px}.message-meta{font-size:9px;color:var(--sub);margin-bottom:5px}.chat-compose{display:flex;gap:12px;align-items:flex-end;padding:15px;border-top:1px solid var(--line)}.chat-compose textarea{max-height:160px}.login-brand{background:#eaf6f3;padding:55px clamp(30px,6vw,90px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;position:relative}.login-brand>img{width:140px;margin-bottom:65px}.login-brand h1{font-size:clamp(28px,3vw,43px);line-height:1.7;margin:12px 0 20px;font-weight:600}.login-brand p{font-size:13px;line-height:2;color:var(--sub)}.login-brand>small{font-size:11px;color:var(--accent);margin-top:35px}.login-art{width:140px;height:140px;border:1px solid #bddad5;border-radius:50%;display:grid;place-items:center;margin:35px 0 0;position:relative}.login-art:before{content:"";position:absolute;width:103px;height:103px;border:1px solid #bddad5;border-radius:50%}.login-art .icon{width:40px;height:40px;stroke-width:1.2;color:var(--accent)}.login-page>.login-form{width:auto;padding:50px 35px;display:grid;place-items:center}.login-form-inner{max-width:380px;width:100%}.demo-login-grid{display:grid;gap:9px}.demo-login-grid .btn{justify-content:space-between}.login-form .footer-note{text-align:center}.login-form #auth-error:empty{display:none}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{box-shadow:0 0 0 12px #0a737715}}@keyframes toast-in{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
@media(min-width:1700px){.content{padding-top:40px}.hero{min-height:200px}.kpi{padding:23px}.grid-main{grid-template-columns:1.9fr 1fr}}
@media(max-width:1200px){.sidebar{width:210px;padding-inline:13px}.shell{margin-left:210px}.content{padding:27px 25px 50px}.topbar{padding-inline:25px}.demo-strip{padding-inline:25px}.grid-main{grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr)}.student-grid{grid-template-columns:repeat(2,1fr)}.topbar-search{max-width:200px}.hero h1{font-size:24px}.hero-art{min-width:110px!important;margin:0!important}.hero-art:before{width:130px;height:130px}.hero-art:after{width:90px;height:90px}.kpi{padding:16px}.kpi-top{font-size:11px}.data-table td,.data-table th{padding-inline:15px}.compose-grid{grid-template-columns:225px minmax(0,1fr)}}
@media(max-width:980px){.grid-main,.settings-grid{grid-template-columns:1fr}.grid-two{gap:18px}.topbar-search{display:none}.kpis{gap:10px}.top-user{margin-left:auto}.content{padding-inline:22px}.hero{padding:24px}.hero-art{display:none!important}.compose-grid{grid-template-columns:1fr}.lesson-list{display:flex;overflow:auto;padding-bottom:10px}.lesson-card{min-width:180px;width:180px}.compose-grid aside .panel{border:0;background:none}.compose-grid aside .panel-head{padding:0 0 12px}.compose-grid aside .panel-body{padding:0}.compose-grid aside .previous-report{display:none}.month-day{min-height:90px}.chat-layout{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:236px}.sidebar.open{transform:none}.mobile-scrim.open{display:block;position:fixed;inset:0;background:#1b383951;z-index:25}.shell{margin-left:0}.menu-button{display:inline-grid}.topbar{padding:0 15px;height:64px;gap:10px}.breadcrumb{font-size:11px}.breadcrumb .crumb-home{display:none}.top-user{padding-left:8px;gap:7px}.top-user .avatar{width:31px;height:31px;font-size:11px}.top-user .identity{display:none}.demo-strip{padding:5px 17px;font-size:10px}.demo-strip .demo-long{display:none}.content{padding:24px 16px 45px}.page-head{align-items:flex-start;margin-bottom:20px;gap:12px}.page-head h1{font-size:23px}.page-head .date-chip{display:none}.page-head p{font-size:11px}.hero{padding:23px;margin-bottom:18px}.hero h1{font-size:23px}.hero p{font-size:11px}.hero-actions .btn{font-size:12px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:19px}.kpi{padding:16px}.kpi-value{font-size:34px;margin:9px 0 6px}.kpi-foot{font-size:9px}.grid-two,.student-grid,.settings-grid{grid-template-columns:1fr;gap:17px}.grid-main{gap:17px}.panel-head{padding:18px 18px 14px}.panel-body{padding:0 18px 18px}.panel-body.padded{padding:18px}.panel-foot{padding:12px 18px}.data-table th,.data-table td{padding:13px 14px}.data-table .student-cell .avatar{display:none}.data-table .small-screen-hide{display:none}.btn{padding:10px 13px;font-size:12px}.icon-btn{width:36px;height:36px}.form-grid{grid-template-columns:1fr}.span-two{grid-column:auto}.step-line{padding:13px 12px;gap:6px}.step-line span{gap:6px;font-size:10px}.step-line b{height:21px;width:21px}.record-row{padding:15px;gap:13px}.mic-button{width:54px;height:54px}.record-row p{font-size:10px}.record-row b{font-size:12px}.save-bar{padding:16px 18px}.save-bar .check-row{flex-basis:100%}.student-header{padding:20px;flex-wrap:wrap}.student-header h1{font-size:21px}.student-header .actions{width:100%;margin-top:6px}.calendar-wrap{border-radius:0}.month-day{padding:6px;min-height:75px;font-size:12px}.event-pill{font-size:8px;padding:3px}.month-grid .weekday{padding:9px}.chat-layout{grid-template-columns:1fr}.chat-people{border-right:0;border-bottom:1px solid var(--line);display:flex;overflow:auto;gap:6px}.chat-person{width:auto;min-width:130px;font-size:11px;padding:8px}.chat-person .avatar{width:28px;height:28px;font-size:11px}.chat-history{padding:17px;max-height:400px}.chat-message{max-width:92%}.chat-form{padding:12px;gap:8px}.chat-form .btn{padding-inline:12px}.parent-summary{padding:23px;gap:15px}.parent-summary h1{font-size:21px}.parent-summary .avatar{height:45px;width:45px}.parent-report{padding:20px}.report-content{font-size:12px}.login-page{grid-template-columns:1fr}.login-story{padding:27px 25px;min-height:220px}.login-story>img{width:112px;height:32px}.login-story h1{font-size:25px;margin:15px 0 8px}.login-story p,.login-graphic,.login-story .copyright{display:none}.login-form-wrap{padding:30px 24px 45px;align-items:start}.login-form h2{font-size:23px}.overlay{padding:13px}.dialog{max-height:93vh;border-radius:12px}.dialog-head{padding:17px 20px}.dialog-head h2{font-size:17px}.dialog-body{padding:20px}.toast{left:50%;font-size:12px;padding:12px 17px;bottom:18px}.toolbar{gap:12px}.filter-tabs{overflow:auto;max-width:100%}.filter-tabs button{white-space:nowrap;padding-inline:11px}.footer-note{text-align:center}.student-card .goal{min-height:auto}.actions{gap:8px}}
@media(max-width:760px){.chat-sidebar{border-right:0;border-bottom:1px solid var(--line);display:flex;overflow:auto;gap:5px}.chat-sidebar .panel-head{display:none}.chat-contact{width:auto;min-width:145px}.chat-contact small{max-width:90px}.chat-contact .avatar{width:30px;height:30px}.chat-main>.panel-head{flex-wrap:wrap;gap:5px}.chat-compose{padding:12px;gap:8px}.message{max-width:94%}.event-chip{font-size:9px;padding:3px}.month-weekday{padding:9px}.month-day{min-width:0}.login-brand{padding:28px;min-height:230px}.login-brand>img{width:115px;margin-bottom:15px}.login-brand .eyebrow,.login-brand p,.login-brand>small,.login-art{display:none}.login-brand h1{font-size:25px;margin:8px 0}.login-page>.login-form{padding:32px 25px}.page-head>.btn{white-space:normal;flex:none;max-width:135px}.report-meta{gap:14px}.student-header .grow{min-width:170px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white;font-size:11px}.sidebar,.topbar,.demo-strip,.btn,.icon-btn,.toolbar,.skip-link,#toast-root,.no-print,.save-bar{display:none!important}.shell{margin:0}.content{padding:0;max-width:none}.panel{break-inside:avoid;border:1px solid #ccd9d9}.page-head{margin:0 0 20px}.grid-main,.grid-two{display:block}.grid-main>.stack,.grid-two>.panel{margin-bottom:15px}.hero{background:white;border:0;padding:0}.hero-art{display:none!important}.overlay{position:static;background:white;padding:0;display:block}.dialog{border:0;box-shadow:none;width:auto;max-height:none;overflow:visible}.dialog-head{position:static}.dialog-body{padding:10px 0}.modal-open #app{display:none}.print-only{display:block}.report-content{font-size:11px}.footer-note{display:none}.student-grid{grid-template-columns:repeat(2,1fr)}@page{size:A4;margin:16mm}}
