@font-face{font-family:GrowArabic;src:url('/assets/NotoSansArabic-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:GrowArabic;src:url('/assets/NotoSansArabic-Bold.ttf') format('truetype');font-style:normal;font-weight:600 900;font-display:swap}
:root{--ink:#1e342c;--muted:#718078;--green:#174d3e;--green-mid:#2b6d52;--green-soft:#eaf1e8;--bg:#f7f8f3;--card:#fff;--line:#e3e8df;--gold:#e9c675;--gold-soft:#fff5d9;--red:#ae433c;--radius:20px;--shadow:0 10px 35px #213b2d08;font-family:GrowArabic,system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button{border:0}button,a{touch-action:manipulation}a{color:var(--green-mid);text-decoration:none}input,textarea,select{width:100%;min-height:48px;padding:11px 14px;border:1px solid #d9e0d5;border-radius:12px;background:#fff;color:var(--ink);outline:none}input:focus,textarea:focus,select:focus{border-color:var(--green-mid);box-shadow:0 0 0 3px #2b6d5214}textarea{resize:vertical;min-height:116px}input[type=checkbox]{width:20px;min-height:20px;height:20px;accent-color:var(--green)}input[type=file]{padding:12px;font-size:12px}button:focus-visible,a:focus-visible{outline:3px solid #c49a4b;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:27px;letter-spacing:-.8px;line-height:1.6;margin-bottom:7px}h2{font-size:18px;line-height:1.7;margin-bottom:13px}h3{font-size:15px;line-height:1.8;margin-bottom:7px}p{line-height:1.9}small,.small{font-size:12px;line-height:1.8}.muted{color:var(--muted)}.ltr{direction:ltr;text-align:start}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;top:-100px;background:#fff;z-index:100;padding:12px}.skip:focus{top:0}.icon{width:22px;height:22px;flex-shrink:0;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.icon.small{width:17px;height:17px}.app-shell{max-width:1180px;margin:auto;min-height:100dvh}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;padding:16px 32px;border-bottom:1px solid var(--line);gap:12px}.brand{display:flex;align-items:center;gap:10px;color:var(--green)}.brand img{width:45px;height:45px}.brand strong{font-family:system-ui,sans-serif;font-size:23px;letter-spacing:2px}.brand small{display:block;font-size:10px;letter-spacing:0}.top-actions{display:flex;align-items:center;gap:9px}.icon-btn{width:43px;height:43px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;color:var(--green);background:transparent;position:relative}.icon-btn:hover{background:var(--green-soft)}.dot{position:absolute;width:7px;height:7px;border-radius:50%;background:var(--red);top:9px;right:8px;border:2px solid var(--bg)}.avatar{width:46px;height:46px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:var(--green-soft);color:var(--green);font-weight:700;flex-shrink:0}.avatar.small{width:38px;height:38px;border-radius:12px}.main{padding:30px 32px 118px;max-width:100%;min-height:calc(100dvh - 86px)}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:25px}.page-head p{margin-bottom:0;font-size:13px}.eyebrow{font-size:11px;color:var(--green-mid);margin-bottom:4px;letter-spacing:.4px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:45px;padding:10px 17px;border-radius:13px;font-size:13px;font-weight:600;background:var(--green);color:#fff;white-space:nowrap}.btn:hover{background:#22624c}.btn.secondary{background:var(--green-soft);color:var(--green)}.btn.outline{border:1px solid var(--line);background:white;color:var(--green)}.btn.danger{background:#fbecea;color:var(--red)}.btn.small{min-height:35px;padding:6px 12px;font-size:11px;border-radius:10px}.btn.full{width:100%}.btn.text{background:transparent;padding-inline:0;color:var(--green)}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:14px}.section{margin-top:29px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:12px}.section-head h2{margin:0}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}.hero{background:var(--green);color:#fff;border-radius:25px;padding:28px;position:relative;overflow:hidden;min-height:175px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:0;text-align:start;width:100%}.hero:after{content:'';position:absolute;width:210px;height:210px;border:1px solid #ffffff19;border-radius:50%;inset-inline-end:-70px;top:-100px;pointer-events:none}.hero p{color:#cbded1;font-size:13px;margin-bottom:9px}.hero strong{font-family:GrowArabic,system-ui,sans-serif;font-size:46px;line-height:1.4;display:block}.hero span{font-size:12px;color:#e0e9e1}.hero .hero-icon{width:73px;height:73px;background:#ffffff0d;display:grid;place-items:center;border:1px solid #ffffff19;border-radius:22px;color:var(--gold)}.hero-icon .icon{width:34px;height:34px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.stat{padding:20px;border-radius:18px;background:#fff;border:1px solid var(--line);text-align:start;color:var(--ink);min-height:107px;position:relative;box-shadow:var(--shadow)}.stat:hover{border-color:#b8cdb5;transform:translateY(-1px)}.stat strong{font-size:26px;display:block;margin:5px 0}.stat span{font-size:12px;color:var(--muted)}.stat .status-dot{position:absolute;inset-inline-end:17px;top:21px;width:8px;height:8px;background:#5a9069;border-radius:50%}.stat.inactive .status-dot{background:#a3ada5}.stat.pending .status-dot{background:#c5a45c}.stat.stage{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:90px}.stat.stage span{color:var(--green);font-family:system-ui,sans-serif;letter-spacing:.1px;font-weight:600;font-size:14px}.metric-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:19px}.metric-strip>div{padding:15px 8px;text-align:center;border-inline-end:1px solid var(--line)}.metric-strip>div:last-child{border:0}.metric-strip strong{font-size:20px;display:block}.metric-strip span{font-size:10px;color:var(--muted)}.nav{position:fixed;bottom:0;inset-inline:0;background:#ffffffef;backdrop-filter:blur(18px);border-top:1px solid var(--line);z-index:20;padding:8px 14px max(10px,env(safe-area-inset-bottom));display:flex;justify-content:center;gap:8px}.nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:69px;max-width:140px;flex:1;padding:8px 9px;color:#8a958d;font-size:10px;border-radius:14px;line-height:1.8}.nav a[aria-current=page]{background:var(--green-soft);color:var(--green);font-weight:600}.nav .icon{width:23px;height:23px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 16px}.search{position:relative;flex:1;min-width:160px}.search input{padding-inline-start:43px;background:#fff}.search>.icon{position:absolute;top:13px;inset-inline-start:13px;color:#9ba69b}.filter-select{width:auto;min-width:130px;max-width:200px;font-size:12px}.tabs{display:flex;gap:7px;border:0;flex-wrap:wrap;margin-bottom:19px}.tab{padding:9px 17px;border-radius:12px;background:#ebeee6;color:#6b7c6f;font-size:12px;min-height:40px}.tab[aria-selected=true]{background:var(--green);color:#fff}.list{display:grid;gap:12px}.person{width:100%;display:flex;align-items:center;gap:13px;text-align:start;color:var(--ink);padding:17px;border:1px solid var(--line);background:#fff;border-radius:18px;cursor:pointer}.person .name{font-size:14px;font-weight:600;display:block}.person .sub{font-size:11px;color:var(--muted);display:block;margin-top:4px}.person .grow{flex:1;min-width:0}.person .arrow{color:#a3b2a3}.badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.badge{font-size:10px;line-height:1.6;display:inline-flex;padding:4px 9px;border-radius:8px;background:var(--green-soft);color:#416951;align-items:center;gap:4px}.badge.gray{background:#eef0ec;color:#7c897b}.badge.gold{background:var(--gold-soft);color:#947126}.badge.red{background:#fcefeb;color:var(--red)}.badge.stage{font-family:system-ui,sans-serif}.empty{padding:38px 23px;text-align:center;background:#fff;border:1px dashed #d5dfd1;border-radius:20px;color:var(--muted)}.empty .icon{width:37px;height:37px;color:#b3c5b0;margin-bottom:13px}.empty h3{color:var(--ink);font-size:14px}.empty p{font-size:12px;max-width:340px;margin:0 auto 15px}.empty .btn{margin-top:5px}.lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.lesson-card{display:flex;flex-direction:column;position:relative;padding:20px;background:#fff;border-radius:20px;border:1px solid var(--line);color:var(--ink);text-align:start;box-shadow:var(--shadow);min-width:0}.lesson-card .cover{height:92px;background:#edf1e5;border-radius:14px;display:flex;align-items:center;justify-content:space-between;padding:18px;margin-bottom:17px;position:relative;overflow:hidden;color:var(--green-mid)}.cover .icon{width:36px;height:36px}.cover .number{font-size:27px;color:#85a07d}.lesson-card:nth-child(3n+2) .cover{background:#f7f0df;color:#9f8244}.lesson-card:nth-child(3n+3) .cover{background:#e9eff0;color:#617b80}.lesson-card h3{font-size:14px;margin-bottom:6px}.lesson-card p{font-size:11px;color:var(--muted);line-height:1.8;margin-bottom:12px}.lesson-card .bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between}.lesson-card .bottom .icon{width:18px}.detail-header{display:flex;align-items:center;gap:16px}.detail-header h1{font-size:22px;margin:0}.detail-header .avatar{width:64px;height:64px;font-size:22px;border-radius:20px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:19px 0}.info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;font-size:13px}.info dt{color:var(--muted);font-size:11px;margin-bottom:5px}.info dd{margin:0;overflow-wrap:anywhere}.note{padding:17px;border:1px solid var(--line);border-radius:15px;background:#fff;margin-top:10px}.note.prayer{background:#fffcf3;border-color:#eee4ca}.note .body{white-space:pre-wrap;font-size:13px;line-height:2;margin-bottom:10px}.note .meta{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:10px;gap:8px}.note .actions{display:flex;gap:6px}.timeline{border-inline-start:1px solid #d9e2d3;padding-inline-start:16px;margin-inline-start:7px}.timeline-item{position:relative;padding:0 0 18px;font-size:12px}.timeline-item:before{content:'';position:absolute;inset-inline-start:-20px;top:8px;width:7px;height:7px;background:#95b38e;border-radius:50%}.timeline-item small{color:var(--muted);font-size:10px;display:block}.assignment{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:14px;padding:15px;margin-bottom:10px}.assignment a{font-size:13px;font-weight:600}.assignment .actions{display:flex;gap:7px;flex-shrink:0}.progress-line{height:6px;border-radius:20px;background:#e9eee5;overflow:hidden;margin:13px 0}.progress-line span{height:100%;display:block;background:#709266;border-radius:20px}.asset{padding:14px;border:1px solid var(--line);border-radius:15px;margin:12px 0;background:#fbfcf9}.asset .file-name{font-size:12px;overflow-wrap:anywhere}.asset .icon{color:#748b69}.asset audio,.asset video{width:100%;display:block;margin-top:12px;border-radius:12px;max-height:350px}.asset img{width:100%;max-height:450px;object-fit:contain;display:block;margin-top:14px;border-radius:10px;background:#f0f2ed}.prose{white-space:pre-wrap;line-height:2.1;font-size:14px;overflow-wrap:anywhere}.back{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);margin-bottom:20px}.chat-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.chat-top h1{font-size:18px}.translator{display:inline-flex;gap:7px;align-items:center;padding:8px 12px;background:#eceee7;color:#85907d;border-radius:12px;font-family:system-ui,sans-serif;font-size:11px;min-height:39px}.translator[aria-pressed=true]{background:#f6db8f;color:#725b14}.translator .light{width:6px;height:6px;border-radius:50%;background:currentColor}.chat-log{min-height:330px;display:flex;flex-direction:column;gap:13px;padding:18px 0 12px}.bubble{max-width:83%;padding:13px 17px;border-radius:18px;background:#fff;border:1px solid var(--line);align-self:flex-start;overflow-wrap:anywhere;position:relative}.bubble.mine{align-self:flex-end;background:var(--green);color:white;border-color:transparent;border-end-end-radius:5px}.bubble.theirs{border-end-start-radius:5px}.bubble .message-body{white-space:pre-wrap;font-size:13px;line-height:2}.bubble .message-meta{display:flex;align-items:center;gap:8px;font-size:9px;margin-top:7px;opacity:.66}.bubble .message-meta .icon{width:14px;height:14px}.bubble .original{font-size:9px;color:inherit;background:transparent;text-decoration:underline;padding:0}.bubble .translation-error{font-size:9px;color:#a67d2f;margin-top:7px}.bubble.mine .translation-error{color:#f6d48b}.bubble .asset{background:#ffffff0c;color:inherit;border-color:#ffffff24;padding:9px;margin-bottom:0}.bubble.theirs .asset{border-color:var(--line)}.bubble .asset .file-name{font-size:10px}.bubble .asset .btn{font-size:10px;min-height:30px}.composer{display:flex;gap:8px;align-items:flex-end;position:sticky;bottom:90px;z-index:5;background:var(--bg);padding:12px 0 8px}.composer textarea{min-height:46px;max-height:140px;height:49px;font-size:13px;border-radius:15px;resize:none}.composer .icon-btn{background:#fff;border:1px solid var(--line);width:45px;height:47px;flex-shrink:0}.composer .send{background:var(--green);color:#fff;border:0}.composer .recording{color:#b4403a;background:#fce5e1;animation:pulse 1s infinite}.attachment-bar{display:flex;align-items:center;justify-content:space-between;font-size:11px;padding:8px 10px;background:var(--gold-soft);border-radius:10px}.meeting{background:#fff;border:1px solid var(--line);border-radius:18px;padding:19px}.date-box{width:55px;height:64px;background:#eef2e8;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0}.date-box strong{font-size:22px}.date-box small{font-size:9px}.meeting .title{font-size:14px;font-weight:600}.meeting .sub{font-size:11px;color:var(--muted);margin-top:4px}.meeting .row.actions{margin-top:15px;flex-wrap:wrap;gap:7px}.notice{padding:15px 17px;border-radius:14px;background:var(--gold-soft);font-size:12px;line-height:1.9;color:#83672c}.notice.error{background:#faebe8;color:var(--red)}.notice.info{background:#edf2eb;color:#527248}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field{display:block;margin-bottom:16px;min-width:0}.field>span{display:block;font-size:12px;font-weight:600;margin-bottom:7px}.field .help{font-size:10px;color:var(--muted);line-height:1.7;margin-top:6px}.field.full{grid-column:1/-1}.field.inline{display:flex;align-items:center;gap:9px;font-size:12px}.field.inline span{margin:0}.field input,.field select,.field textarea{font-size:13px}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px;flex-wrap:wrap}.form-error{font-size:12px;color:var(--red);line-height:1.8;margin-bottom:12px}.sheet-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:21px}.sheet-header h2{margin:0}.sheet-content{max-height:65dvh;overflow:auto;padding:2px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 0;border-bottom:1px solid var(--line)}.settings-row:last-child{border:0}.settings-row strong{font-size:13px}.settings-row p{font-size:11px;color:var(--muted);margin:2px 0 0}.settings-row select{max-width:135px;font-size:12px}.notifications .notice-item{padding:16px;border-bottom:1px solid var(--line);font-size:12px;display:flex;align-items:flex-start;gap:10px}.notice-item.unread{background:#f3f6ee}.notice-item small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.login-wrap{min-height:100dvh;display:grid;place-items:center;padding:30px 20px;background:radial-gradient(ellipse at 80% 15%,#e6eddb,transparent 50%),var(--bg)}.login-card{max-width:420px;width:100%}.login-card .brand{margin-bottom:42px;justify-content:center}.login-card .brand img{width:64px;height:64px}.login-card .brand strong{font-size:33px;letter-spacing:4px}.login-card h1{text-align:center;font-size:25px}.login-card>.muted{text-align:center;font-size:12px;margin-bottom:30px}.login-card form{background:white;border:1px solid var(--line);border-radius:25px;padding:30px;box-shadow:0 15px 60px #294a2910}.login-card footer{font-size:10px;color:var(--muted);text-align:center;line-height:1.9;margin-top:25px}.login-lang{display:flex;justify-content:center;margin:20px auto 0;gap:10px}.login-lang button{background:transparent;color:var(--muted);font-size:11px;padding:5px 12px}.login-lang button[aria-pressed=true]{color:var(--green);font-weight:600;text-decoration:underline;text-underline-offset:5px}.boot{min-height:80dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:var(--green)}.spinner{display:inline-block;width:24px;height:24px;border:2px solid #d6dfd0;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}.loading{display:grid;place-items:center;min-height:200px}.toast{position:fixed;bottom:103px;left:50%;transform:translate(-50%,16px);max-width:calc(100% - 36px);background:#193a30;color:#fff;padding:12px 20px;border-radius:13px;font-size:12px;line-height:1.8;z-index:80;opacity:0;visibility:hidden;transition:.2s;box-shadow:0 8px 30px #0002;text-align:center}.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}.toast.error{background:#96493f}dialog{width:min(600px,calc(100% - 30px));max-height:88dvh;padding:25px;border:0;border-radius:24px;color:var(--ink);background:var(--bg);box-shadow:0 24px 100px #0003}dialog::backdrop{background:#0c211b88;backdrop-filter:blur(3px)}dialog.pdf-dialog{width:min(1000px,calc(100% - 20px));height:90dvh}.pdf-frame{width:100%;height:calc(100% - 85px);border:1px solid var(--line);border-radius:12px;background:#fff}.divider{height:1px;background:var(--line);margin:21px 0}.count{font-family:system-ui,sans-serif;min-width:19px;height:19px;padding:0 5px;border-radius:30px;background:var(--green);color:#fff;font-size:10px;display:inline-flex;align-items:center;justify-content:center}.toggle-control{display:flex;gap:10px;align-items:center;font-size:12px}.selected-options{display:grid;gap:8px;max-height:240px;overflow:auto;padding:10px;border:1px solid var(--line);border-radius:12px}.selected-options label{display:flex;gap:10px;align-items:center;font-size:12px;padding:7px}.section-subtitle{font-size:11px;color:var(--muted);line-height:1.8}.badge-content{display:flex;align-items:center;gap:6px}.attendance-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;font-size:12px;border-bottom:1px solid var(--line)}.ellipsis{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.link-row{display:flex;align-items:center;gap:10px;padding:16px 0;font-size:13px;color:var(--green)}.inline-link{color:var(--green);font-size:12px;text-decoration:underline;text-underline-offset:3px}.page-error{text-align:center;padding:40px 20px}.page-error h2{font-size:17px}.page-error p{color:var(--muted);font-size:12px}.login-password{position:relative}.login-password input{padding-inline-end:46px}.login-password button{position:absolute;inset-inline-end:3px;top:3px}.reading-note{font-size:11px;color:var(--muted);line-height:1.9}.time-label{white-space:nowrap}.page-max{max-width:780px;margin:auto}.footer-note{text-align:center;font-size:10px;color:#a0a99c;margin:25px 0 0}.inline-progress{font-size:11px;color:var(--green);margin:10px 0}.conversation-preview{color:var(--muted);font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;margin-top:5px}.filter-chip{display:flex;align-items:center;gap:7px;font-size:11px;color:#5b7559;background:#e8efdf;padding:8px 12px;border-radius:10px;margin-bottom:15px;width:fit-content}.upload-list{margin-top:12px}.upload-item{font-size:11px;display:flex;justify-content:space-between;gap:10px;padding:8px 0;color:var(--muted)}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.6}}@media(min-width:820px){.main{max-width:970px;margin:auto}.nav{position:sticky;bottom:0;max-width:820px;margin:-90px auto 0;border:1px solid var(--line);border-bottom:0;border-radius:24px 24px 0 0}.hero strong{font-size:54px}.home-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:23px}.home-grid>.section{margin:0}.lesson-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.student-list{grid-template-columns:repeat(2,minmax(0,1fr))}.conversation-list{max-width:760px;margin:auto}.login-card{max-width:440px}}
@media(max-width:560px){h1{font-size:23px}.topbar{height:75px;padding:12px 20px}.main{padding:24px 18px 112px}.brand img{width:39px;height:39px}.brand strong{font-size:21px}.brand small{font-size:9px}.hero{padding:22px;min-height:159px}.hero strong{font-size:43px}.hero .hero-icon{width:60px;height:60px;border-radius:18px}.page-head{gap:10px;margin-bottom:21px}.page-head .btn{font-size:11px;padding:8px 12px;min-height:40px}.page-head .btn .icon{width:17px;height:17px}.stats{gap:8px}.stat{padding:15px 12px;min-height:100px}.stat strong{font-size:25px}.stat span{font-size:11px}.stat .status-dot{inset-inline-end:12px;top:18px;width:6px;height:6px}.stat.stage{padding:15px 12px;flex-direction:column;align-items:flex-start;gap:0;min-height:94px}.stat.stage span{font-size:13px}.stat.stage strong{font-size:25px}.metric-strip strong{font-size:18px}.metric-strip span{font-size:9px}.section{margin-top:25px}.section-head h2{font-size:16px}.card{padding:18px}.lesson-grid{gap:10px}.lesson-card{padding:12px;border-radius:17px}.lesson-card .cover{height:78px;padding:13px;margin-bottom:12px}.lesson-card h3{font-size:12px}.lesson-card p{font-size:10px}.cover .icon{width:29px;height:29px}.lesson-card .bottom .badge{font-size:9px;padding:4px 6px}.detail-grid{grid-template-columns:1fr}.person{padding:14px;gap:10px}.person .name{font-size:13px}.nav{gap:2px;padding-inline:7px}.nav a{min-width:0;font-size:9px;padding:8px 5px}.nav .icon{width:22px;height:22px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.filter-select{min-width:110px;max-width:140px}.toolbar{gap:8px}.search input{font-size:12px}.detail-header .avatar{width:54px;height:54px;font-size:18px}.detail-header h1{font-size:19px}.assignment{padding:12px;gap:8px}.assignment a{font-size:11px}.assignment .btn{font-size:10px;padding:6px 9px}.bubble{max-width:90%;padding:12px 14px}.composer{gap:6px}.composer .icon-btn{width:39px;height:45px;border-radius:13px}.composer textarea{font-size:12px}.chat-top h1{font-size:16px}.chat-top .avatar{width:37px;height:37px}.translator{font-size:10px;padding:8px 9px}.login-card form{padding:24px}.login-card .brand{margin-bottom:32px}.sheet-content{max-height:67dvh}dialog{padding:21px 18px;border-radius:21px}.info{gap:12px}.time-label{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

dialog.grow-reader[open]{position:fixed;inset:0;margin:0;box-sizing:border-box;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;display:flex;flex-direction:column;padding:0}
.grow-reader .sheet-header{flex:none}.grow-reader .sheet-header h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.grow-reader .sheet-content{flex:1;min-height:0;max-height:none;padding:0;display:flex;flex-direction:column;overflow:hidden}
.reader-toolbar{order:1;flex:none;display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;padding:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}.reader-toolbar input{width:4em;padding:5px;text-align:center}.reader-view{flex:1;min-height:0;overflow:auto;background:#dadbd8;padding:0}.reader-view canvas{display:block;margin:4px auto;background:white}

.grow-reader .sheet-header[hidden]{display:none}
