*{box-sizing:border-box}html{background:#f7f7f7;color:#080808;font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible{outline:2px solid #387fb9;outline-offset:2px}#app{width:min(100%,600px);margin:auto;min-height:100dvh;container-type:inline-size;position:relative;--header:#1d4475;--accent:#387fb9;--background:#f7f7f7;--radius:9px;--text-scale:1;background:var(--background);font-size:calc(4cqw * var(--text-scale))}header{background:var(--header);color:white;position:sticky;top:0;z-index:30}.dashboard-header{height:27.65cqw;padding:1.65cqw 4.75cqw 0}.header-actions{height:10.5cqw;display:flex;align-items:center;justify-content:space-between}.pill,.profile{border:.2cqw solid #c8e5ef;background:#9caec0;box-shadow:0 1.8cqw 3cqw #102f5129;border-radius:7cqw}.pill{height:10.5cqw;padding:0 3.6cqw;font-size:4.15cqw;color:#07182e}.profile{display:flex;align-items:center;gap:1.3cqw;height:10.5cqw;padding:.8cqw 1cqw .8cqw .9cqw;color:#effbff;font-size:3.5cqw}.avatar{display:grid;place-items:center;overflow:hidden;flex:none;width:7.1cqw;height:7.1cqw;border-radius:50%;font-size:3cqw;background:linear-gradient(140deg,#c5c4c0,#7a8492);border:.15cqw solid #d4e5ef}.avatar img{width:100%;height:100%;object-fit:cover}.account-wrap{position:relative;z-index:40}.account-menu{position:absolute;right:0;top:calc(100% + 1cqw);width:58cqw;max-height:60cqw;overflow:auto;background:white;color:#333;border:1px solid #ddd;border-radius:2cqw;box-shadow:0 2cqw 6cqw #0002;padding:1cqw}.account-menu button{width:100%;display:flex;align-items:center;gap:2cqw;border:0;background:white;padding:1.5cqw;text-align:left;font-size:3.5cqw;border-radius:1cqw}.account-menu button:hover{background:#f3f6f9}.checkmark{margin-left:auto;color:var(--accent)}h1{font-size:8cqw;letter-spacing:-.18cqw;line-height:1.1;margin:3.7cqw 0 0;font-weight:700}main{padding-bottom:22cqw;background:white;min-height:calc(100dvh - 14cqw)}h2{font-size:4cqw;font-weight:400;color:#676767;line-height:1.2;margin:0}.dashboard-main{padding:0 1.5cqw 22cqw;background:var(--background)}.section-heading{display:flex;justify-content:space-between;align-items:center;padding:2.75cqw 1.2cqw 4.1cqw}.semester{border:0;background:none;color:#676767;font-size:4cqw;display:flex;gap:1.5cqw;align-items:center}.chevron{width:1.1cqw;height:1.1cqw;border-right:.16cqw solid;border-bottom:.16cqw solid;transform:rotate(45deg);margin-right:1cqw}.course-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.4cqw 3.5cqw}.course-card{padding:0;border:.22cqw solid #d4d4d4;border-radius:calc(var(--radius) * 1.1);overflow:hidden;text-align:left;background:white;height:40.5cqw;display:flex;flex-direction:column}.course-art{height:24.8cqw;flex:none;position:relative;isolation:isolate;width:100%;background:linear-gradient(135deg,color-mix(in srgb,var(--art-color),black 27%),var(--art-color));overflow:hidden}.back-art{position:absolute;width:119%;height:145%;left:-10%;top:-21%;color:#000;opacity:.15;stroke-width:8}.score{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:white;font-size:17cqw;line-height:1;font-weight:700;letter-spacing:-.7cqw;padding-bottom:.8cqw}.front-art{position:absolute;width:62%;height:82%;left:19%;top:9%;color:white;stroke-width:3}.course-name{flex:1;display:flex;align-items:center;font-size:calc(4.05cqw * var(--text-scale));line-height:1.3;padding:1.8cqw 2.1cqw;letter-spacing:-.055cqw}.dashboard-main section+section{margin-top:3.5cqw}.section-label{padding:0 1.2cqw;margin-bottom:4.2cqw}.assignment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.3cqw}.assignment-card{padding:0;border:.22cqw solid #d4d4d4;border-radius:2.3cqw;background:white;text-align:left;overflow:hidden}.assignment-card>div{height:10.6cqw;position:relative;overflow:hidden;background:linear-gradient(150deg,color-mix(in srgb,var(--art-color),black 20%),var(--art-color))}.assignment-card svg{position:absolute;width:110%;height:210%;left:-5%;top:-57%;color:white;opacity:.25;stroke-width:5}.assignment-card strong{display:block;font-size:3.45cqw;padding:4.2cqw 2.1cqw 2.4cqw;line-height:1.1}.attendance-panel{border-radius:2.5cqw;background:white;overflow:hidden}.attendance-row{border:0;background:white;width:100%;text-align:left;position:relative;display:flex;align-items:center;min-height:12.95cqw;padding:1.1cqw 1.2cqw;gap:1.2cqw}.attendance-row:after{content:'';position:absolute;height:.23cqw;background:#e6e6e6;left:3.8cqw;right:3.8cqw;bottom:0}.course-badge{width:7.6cqw;height:7.6cqw;flex:none;overflow:hidden;border-radius:50%;background:var(--art-color)}.course-badge svg{width:160%;height:140%;margin:-15% -30%;color:#000;opacity:.15;stroke-width:8}.attendance-text{display:flex;flex-direction:column;gap:1.3cqw}.attendance-text strong{font-size:4.05cqw;color:#303030;line-height:1.1}.attendance-text>span{font-size:3.6cqw;color:#6c6c6c;line-height:1.1;letter-spacing:-.05cqw}.attendance-row time{position:absolute;right:1.2cqw;top:1.3cqw;color:#999;font-size:2.9cqw}.show-all{width:100%;background:white;border:0;border-top:.22cqw solid #e6e6e6;color:var(--accent);font-size:4.3cqw;height:11.3cqw}.bulletin-panel{height:23.8cqw;border-radius:2.5cqw;background:white;display:grid;place-items:center;font-size:4.5cqw;color:#999}.bottom-bar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,600px);z-index:40;height:19.6cqw;padding:1cqw 4.9cqw 0;background:#ffffffed;backdrop-filter:blur(16px);box-shadow:0 -1cqw 5cqw #00000004}nav{height:14cqw;border-radius:9cqw;display:flex;padding:.4cqw .9cqw;background:#fdfdfd;box-shadow:0 2cqw 5cqw #00000008}nav button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border:0;background:none;border-radius:8cqw;gap:.35cqw;padding:.5cqw 0;color:#191919}nav button.selected{background:#ececec;color:var(--accent);flex:1.25}nav span{font-size:2.55cqw;letter-spacing:.03cqw}.selected span{font-weight:600}.nav-icon{width:6.6cqw;height:6.6cqw;stroke-width:1.65}.home-indicator{width:35.5cqw;height:1.2cqw;background:black;border-radius:3cqw;margin:1.8cqw auto 0}.compact-header{height:13.1cqw}.compact-top{height:13.1cqw;display:flex;align-items:center;justify-content:center;position:relative;padding:0 4.75cqw}.center-title{text-align:center;line-height:1.15;max-width:65%;font-size:4cqw}.center-title small{display:block;color:#a1b2c5;font-size:2.9cqw}.compact-top>.account-wrap{position:absolute;right:4.75cqw;top:1.2cqw}.compact-top .profile{padding:.5cqw}.compact-top .profile>span:first-child{display:none}.compact-top .avatar{width:8cqw;height:8cqw}.compact-top .profile{height:10cqw}.back{position:absolute;left:4.75cqw;top:1.2cqw;width:10.5cqw;padding:2cqw;display:grid;place-items:center}.back svg{width:100%;height:100%;stroke-width:2.5}.today{position:absolute;left:4.75cqw;top:0;font-size:4cqw}.detail-header{padding:0}.detail-header h1{padding:1.8cqw 4.75cqw 2.5cqw;margin:0;font-size:8cqw;overflow-wrap:anywhere}.detail-header .term-tabs{border-top:1px solid #0001}.term-tabs{display:flex;justify-content:flex-end;gap:3cqw;padding:2cqw;height:10.5cqw;background:var(--header)}.term-tabs button{border:0;background:none;color:white;font-size:3.8cqw;border-radius:1.3cqw;padding:0 2cqw}.term-tabs .chosen{background:var(--accent)}.detail-terms{justify-content:center;gap:3cqw}.detail-terms button{min-width:12cqw}.teacher-panel{padding:4.7cqw 2.3cqw;background:#d9e8ee}.teacher-card{background:white;border-radius:1cqw;min-height:24cqw;box-shadow:0 1cqw 2cqw #0002;padding:4cqw 2.3cqw;display:flex;align-items:center;gap:2.4cqw}.teacher-initials{width:13cqw;height:13cqw;background:#f1f1f1;border-radius:50%;display:grid;place-items:center;color:#444;font-size:4.5cqw;flex:none}.teacher-info{min-width:0;line-height:1.15}.teacher-info>span{display:block;color:#999;font-size:2.9cqw}.teacher-info strong{display:block;font-weight:400;font-size:4cqw;color:#333}.teacher-info small{display:block;color:#999;font-size:2.6cqw;margin-top:.3cqw}.email-button{margin-left:auto;display:grid;place-items:center;width:9.5cqw;height:9.5cqw;border-radius:50%;background:#f1f1f1;color:var(--accent);flex:none;padding:2cqw}.email-button svg{width:100%;height:100%;stroke-width:1.5}.grade-summary{position:relative;text-align:center;padding-top:8cqw;color:#333;font-size:3.6cqw}.progress-label{position:absolute;left:50%;top:0;transform:translate(-50%,-50%);border-radius:.8cqw;background:#dc8334;color:white;font-size:2.6cqw;padding:1cqw 2.3cqw;white-space:nowrap}.grade-summary>strong{display:block;font-weight:400;font-size:9.5cqw;line-height:1.25;margin-top:.8cqw}.absence-summary{display:flex;justify-content:space-between;padding:4.5cqw 3.6cqw;color:#333;font-size:3.7cqw}.absence-summary span:last-child{color:#999}.segment-control{margin:0 3.6cqw 1.5cqw;border-radius:7cqw;background:#eee;display:flex;padding:.4cqw;height:7.5cqw}.segment-control button{flex:1;border:0;border-radius:7cqw;background:none;font-size:3.1cqw;font-weight:500}.segment-control button.chosen{background:white}.detail-records{border-top:1px solid #ddd;padding:0 3.8cqw}.detail-records h3{font-size:4cqw;color:#909090;margin:6.5cqw 1cqw 2.5cqw;font-weight:600}.assignment-row{border:0;border-bottom:1px solid #ddd;background:white;width:100%;display:flex;align-items:center;gap:2cqw;text-align:left;padding:1cqw 0 2cqw;color:#333;font-size:4cqw}.assignment-row strong{font-weight:600}.assignment-row small{display:block;color:#999;font-size:3.1cqw;margin-top:.7cqw}.assignment-score{margin-left:auto;text-align:right;flex:none}.row-arrow{color:#bfbfbf;font-size:5cqw;font-weight:400}.collected i{display:inline-block;width:2.3cqw;height:2.3cqw;background:#4d9c32;border-radius:50%;margin-right:1cqw}.teacher-comment{margin:0 4cqw 4cqw;font-size:3.2cqw;color:#666;white-space:pre-wrap}.attendance-total{display:flex;justify-content:space-between;padding:4cqw 0}.grade-table{width:100%;border-collapse:collapse;table-layout:fixed;color:#383838}.grade-table th{font-weight:400;background:#e0e0e0;height:6cqw;font-size:2.9cqw}.grade-table td{border:1px solid #ddd;height:13.6cqw;text-align:center;font-size:3.6cqw}.grade-table td:first-child{font-size:2.9cqw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grade-table td:nth-child(2){text-align:left;padding:2.2cqw;font-size:4cqw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grade-table small{display:block;color:#999;font-size:3cqw;font-weight:400;margin-top:.6cqw}.grade-table .empty-row td{height:17cqw}.grade-table tr[data-class]{cursor:pointer}.month{background:#f7f7f7;text-align:center}.month h2{font-size:4cqw;padding:5.5cqw 0 4cqw;color:#333;font-weight:600}.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.weekdays span{font-size:2.9cqw;height:4cqw;color:#333}.weekdays span:first-child,.weekdays span:last-child{color:#999}.calendar-grid button{border:0;border-top:1px solid #ddd;background:none;height:12.5cqw;font-size:4.3cqw;color:#333;position:relative}.calendar-grid button:nth-child(7n),.calendar-grid button:nth-child(7n+1){color:#777}.calendar-grid b{display:inline-grid;place-items:center;width:6.5cqw;height:6.5cqw;font-weight:400;border-radius:50%}.calendar-grid .day-selected b{background:var(--accent);color:white}.calendar-grid i{position:absolute;width:1.2cqw;height:1.2cqw;background:#999;border-radius:50%;bottom:2cqw;left:46%}.calendar-handle{height:7.5cqw;border-block:1px solid #ddd;display:grid;place-items:center;background:#f7f7f7}.calendar-handle span{width:7cqw;height:1.3cqw;background:#ccc;border-radius:8px}.no-items{height:80cqw;display:grid;place-items:center;color:#999;font-size:4.5cqw}.schedule-date{background:var(--header);text-align:center;padding:.8cqw;color:white;font-size:3.6cqw}.schedule-date span{background:var(--accent);border-radius:40px;padding:0 3.5cqw}.timeline{position:relative;height:157cqw;background:white}.timeline:before{content:'';position:absolute;left:12%;top:0;bottom:0;border-left:1px solid #ddd}.schedule-card{position:absolute;left:12%;right:0;display:block;width:88%;border:0;background:#f2f2f2;border-left:2px solid #bbb;padding:1.3cqw 2cqw;font-size:4cqw;color:#333;text-align:left;overflow:hidden}.schedule-card strong{font-weight:400;display:block}.schedule-card small{display:block;font-size:3cqw;color:#666;margin-top:.6cqw}.hour-line{position:absolute;left:8.5%;width:3.5%;border-top:1px solid #ddd}.hour-line span{position:absolute;right:100%;transform:translateY(-50%);width:8.5cqw;text-align:center;font-size:2.9cqw;color:#333;background:white}.page-dots{font-size:3cqw;text-align:center;color:#333;height:4cqw}.page-dots span{color:#999}.more-row{height:12.4cqw;width:100%;border:0;background:white;display:flex;align-items:center;position:relative;gap:4.5cqw;padding:0 4.5cqw;font-size:4cqw}.more-row:after{content:'';height:1px;background:#ddd;position:absolute;bottom:0;left:15%;right:5%}.more-row svg{width:6cqw;height:6cqw;color:#609dcc;stroke-width:1.5}.more-row .row-arrow{margin-left:auto}.prose{padding:5cqw;font-size:3.5cqw;line-height:1.6;color:#454545}.prose h2{color:#333;font-size:4cqw;font-weight:600;margin:0 0 2cqw}.prose p+h2{margin-top:5cqw}.inline-school{display:inline;padding:0;border:0;background:none;font:inherit;color:inherit;text-decoration:none}.record-row{display:block;width:100%;background:white;color:#444;text-align:left;border:0;border-bottom:1px solid #ddd;padding:3cqw 0;font-size:3.5cqw}.record-row strong{display:block}.record-row small{display:block;color:#999}.record-row time{font-size:3cqw;color:#999}.record-row p{margin:.5cqw 0}.empty-state{padding:8cqw 4cqw;text-align:center;color:#999;font-size:4cqw}.editing .course-card{outline:2px dashed var(--accent);outline-offset:-4px}.editor{padding:4cqw;font-size:3.3cqw;background:#f7f7f7}.editor-intro p{margin:0 0 2cqw}.editor button,.prose>button,.chat-info button{border:1px solid #ddd;border-radius:1.5cqw;padding:2cqw;background:white;margin:.5cqw;color:#333}.primary,.editor button.primary{background:var(--accent);color:white;border:0;border-radius:1.5cqw;padding:2.3cqw 3.5cqw}.editor-form{background:white;border:1px solid #e3e3e3;border-radius:2cqw;padding:3cqw;margin:4cqw 0;display:flex;flex-direction:column;gap:2cqw}.editor-form h2{color:#333;font-size:4cqw;font-weight:600}.editor-form label{display:flex;flex-direction:column;gap:1cqw;color:#666}.editor-form input,.editor-form select,.editor-form textarea{width:100%;min-width:0;border:1px solid #ccc;border-radius:1cqw;padding:2cqw;color:#333;background:white}.editor-form input[type=checkbox]{width:auto;align-self:flex-start}.editor-form input[type=color]{height:9cqw;padding:.5cqw}.editor-form textarea{min-height:20cqw;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:2cqw}.editor .danger{color:#b22}.editable-record{display:flex;align-items:center;justify-content:space-between;background:white;padding:1cqw;border-bottom:1px solid #ddd}.error,.form-error{color:#b22}#notice{margin-top:3cqw}.chat-shell{padding:3cqw;font-size:3.5cqw}.chat-info{display:flex;flex-wrap:wrap;gap:1cqw;align-items:center;border-bottom:1px solid #ddd;padding-bottom:2cqw}.chat-info>strong{width:100%;font-size:4.5cqw}.chat-info>span{font-size:2.9cqw;color:#777;width:100%}.chat-messages{max-height:75dvh;min-height:45cqw;overflow:auto;padding:3cqw 0;display:flex;flex-direction:column;gap:3cqw}.message{padding:3cqw;max-width:92%;border-radius:2cqw;background:#f1f3f5;align-self:flex-start;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{align-self:flex-end;background:#e0edf7}.message small{font-weight:600;color:#666}.message p{margin:1cqw 0 0;line-height:1.5}.chat-welcome{padding:4cqw;color:#777;line-height:1.6}.chat-welcome h2{font-size:5cqw;color:#333}#chat-form{display:flex;flex-wrap:wrap;gap:2cqw;padding:3cqw 0}#chat-form textarea{width:100%;border:1px solid #ccc;border-radius:2cqw;padding:3cqw;min-height:20cqw;resize:vertical}#chat-form .form-error{width:100%}.chat-photo{display:block;font-size:3cqw;color:#666}.chat-photo input{display:block;max-width:100%;font-size:3cqw;margin-top:1cqw}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
