:root{--ink:#253047;--muted:#81889c;--accent:#7258e9;--line:#e9edf4}body{background:#f6f8fc;color:var(--ink);font-family:'DM Sans',Arial,sans-serif;margin:0}button,input,select{font:inherit}button{cursor:pointer}.studio{display:flex;min-height:100vh}.studio-sidebar{width:244px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:34px 23px 20px;display:flex;flex-direction:column;z-index:4}.studio-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#253047;font-size:22px;letter-spacing:-1px;line-height:1.1}.studio-brand strong{font-weight:800;display:block}.studio-brand small{display:block;letter-spacing:2px;font-size:8px;margin-top:9px;color:#9aa1b2}.brand-symbol{width:43px;height:48px;border-radius:14px 14px 14px 3px;background:#7157e8;color:white;font-size:33px;font-weight:800;text-align:center;line-height:48px}.brand-symbol span{color:#d9d0ff;font-size:22px}.workspace-label{font-size:9px;letter-spacing:1.8px;color:#a2a8b6;margin:49px 12px 18px}.studio-sidebar nav{display:grid;gap:8px}.studio-sidebar nav button{border:0;background:none;text-align:left;padding:14px 12px;border-radius:11px;font-size:12px;font-weight:600;color:#798297;display:flex;align-items:center;gap:13px}.studio-sidebar nav button>span{font-size:19px;width:22px}.studio-sidebar nav button.active{background:#efeafd;color:#7156df}.studio-sidebar nav button:hover{background:#f4f2fc}.sidebar-message{margin-top:auto;background:#f7f5ff;border-radius:16px;padding:20px 16px;color:#70669e}.sidebar-message>span{font-size:27px;color:#b5a5f4}.sidebar-message strong{display:block;font-size:13px;line-height:1.6;white-space:pre-line;margin:8px 0}.sidebar-message p{font-size:10px;line-height:1.7;margin:0;color:#9c96b4}.sidebar-account{display:flex;gap:12px;align-items:center;border-top:1px solid var(--line);padding-top:21px;margin-top:24px;font-size:11px}.sidebar-account small{display:block;color:#9199a9;margin-top:4px}.studio-main{margin-left:244px;width:calc(100% - 244px)}.studio-top{height:84px;padding:0 42px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#9aa1b1}.studio-top b{color:#606b80;font-weight:500;margin-left:8px}.studio-top>div{display:flex;align-items:center;gap:15px}.studio-top select{border:1px solid #e5e8f0;background:#fff;border-radius:8px;padding:9px 12px;font-size:11px;color:#626c80}.prototype-label{font-size:8px;letter-spacing:1.3px;color:#9b92ba}.top-avatar{display:grid;place-items:center;background:#eae4fb;border:4px solid #f7f5ff;border-radius:50%;width:37px;height:37px;color:#7862bd;font-weight:700}.studio-content{max-width:1470px;margin:auto;padding:34px 42px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:20px}.overline{font-size:9px;font-weight:700;letter-spacing:1.3px;color:#9993b1}.page-heading h1{font-family:'Manrope',Arial,sans-serif;font-size:29px;letter-spacing:-1.1px;margin:11px 0;color:#29334a}.page-heading p{font-size:12px;color:#939aae;margin:0}.wave{color:#edb241}.button{background:var(--accent);border:0;border-radius:9px;font-size:12px;padding:13px 19px;color:white;box-shadow:none}.button:hover{filter:brightness(.95)}.button.white{background:white;color:#6250ba}.button.secondary{color:var(--accent);background:#f0edfc}.button.small{padding:9px 13px;font-size:10px}.text-button{border:0;background:none;color:var(--accent);font-size:11px;font-weight:700}.learner-grid{display:grid;grid-template-columns:minmax(0,1fr) 238px;gap:25px}.welcome{background:#7860e5;border-radius:19px;min-height:290px;padding:30px;display:flex;justify-content:space-between;overflow:hidden;position:relative;color:white}.welcome .pill{background:#ffffff20;color:#e5dcff;font-size:8px;letter-spacing:1px}.welcome h2{font-size:31px;letter-spacing:-.9px;line-height:1.25;margin:19px 0 12px;color:white}.welcome p{font-size:11px;line-height:1.7;color:#e2dafd}.welcome-art{width:180px;position:relative;align-self:center;height:205px;flex-shrink:0}.book-shape{position:absolute;inset:35px 0 0 25px;background:#ffc96d;border-radius:9px 19px 19px 9px;transform:rotate(13deg);box-shadow:-9px 5px 0 #eee5dc, -14px 8px 0 #e8a33c;width:120px;height:142px;font-size:58px;color:#a16938;display:flex;align-items:center;justify-content:center;font-weight:800}.book-shape span{position:absolute;bottom:20px;font-size:9px;letter-spacing:2px}.orbit{position:absolute;font-size:48px;right:0;top:0;color:#d4c3ff}.little-star{position:absolute;font-size:58px;left:-8px;bottom:-8px;color:#cfbef8}.hello-bubble{position:absolute;top:3px;left:-6px;background:#fff;border-radius:14px 14px 0 14px;color:#7b60df;padding:12px 20px;transform:rotate(-9deg);font-size:20px;font-weight:800}.learner-rail{display:grid;gap:19px;align-content:start}.profile-box{background:#fff;border:1px solid var(--line);border-radius:17px;text-align:center;padding:25px 12px}.profile-avatar{margin:auto;width:63px;height:63px;border-radius:50%;background:#ffdfb5;color:#9b6d3c;font-size:28px;display:grid;place-items:center;position:relative;border:5px solid #fff4e8}.profile-avatar span{position:absolute;right:-6px;bottom:-5px;font-size:21px;color:#ae89ee}.profile-box h3{margin:13px 0 4px;font-size:18px}.profile-box p{font-size:10px;color:#939aaa}.profile-box .pill{background:#f4f0fd;color:#8b74c4;font-size:9px}.panel{border:1px solid var(--line);box-shadow:none;border-radius:17px}.journey{text-align:center;padding:23px 12px}.journey h3{font-size:14px}.journey .ring{width:135px;height:135px;margin:22px auto 13px;background:conic-gradient(#8acdb7 calc(var(--pct)*1%),#f0edf8 0)}.journey .ring-inner{width:109px;height:109px}.journey p{font-size:10px;color:#969db0}.quote-box{border-radius:16px;background:#fff3dc;padding:23px}.quote-box>span{color:#e9af4d;font-size:28px}.quote-box h3{font-size:17px;line-height:1.45;color:#a27b3d;margin:9px 0}.quote-box p{font-size:9px;color:#b59d7b}.section-title{margin:29px 0 16px}.section-title h2{font-size:17px;letter-spacing:-.3px}.homework-list{display:grid;gap:16px}.homework{border-radius:16px;background:#ece8fb;display:flex;justify-content:space-between;align-items:center;overflow:hidden;min-height:166px;padding:24px;color:#61528c}.homework>div:first-child{flex:1}.homework .overline{color:inherit;opacity:.75;font-size:8px}.homework h3{font-size:19px;letter-spacing:-.5px;margin:13px 0 6px}.homework p{font-size:10px;margin:0 0 18px;opacity:.7}.homework-foot{display:flex;align-items:center;gap:14px}.homework-foot>span{font-size:9px}.homework-art{width:122px;height:116px;margin-left:18px;transform:rotate(5deg);border-radius:10px;overflow:hidden;flex-shrink:0;box-shadow:0 5px 15px #31344b13}.homework-art img{width:100%;height:100%;object-fit:cover}.hw-1{background:#e1f1ee;color:#448579}.hw-2{background:#fff0d7;color:#a37b3d}.bear-face{width:100%;height:100%;background:#deefff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:65px}.bear-face span{font-size:12px;color:#5285ab;font-weight:bold}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:17px;margin:25px 0}.metric{background:white;border:1px solid var(--line);border-radius:14px;padding:22px;display:flex;align-items:center;gap:17px}.metric>span{background:#efeafa;color:#977ad1;border-radius:12px;padding:12px;font-size:23px}.metric strong{font-size:25px;display:block;letter-spacing:-1px}.metric small{display:block;font-size:10px;color:#959caf;margin-top:5px}.resources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.resource{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.resource-art{height:174px;position:relative;background:#ecedfb;padding:16px;text-align:center}.resource-art img{height:100%;width:100%;object-fit:contain;border-radius:6px}.resource-type{position:absolute;left:12px;top:12px;border-radius:5px;background:#fffE;padding:6px 8px;font-size:8px;color:#636d87}.resource-body{padding:19px}.resource-body .overline{font-size:8px}.resource-body h3{font-size:16px;margin:11px 0}.resource-body p{font-size:10px;color:#949bad;min-height:30px;line-height:1.6}.resource-bottom{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:17px}.resource-bottom small{font-size:8px;color:#9299a9}.filters{display:flex;justify-content:space-between;gap:15px;margin:22px 0}.filters>div{display:flex;gap:6px;flex-wrap:wrap}.chip{border:1px solid #e6e8f0;background:white;padding:10px 13px;font-size:10px;color:#8c93a5;border-radius:8px}.chip.chosen{background:var(--accent);color:white;border-color:var(--accent)}.filters input{border:1px solid var(--line);border-radius:8px;padding:10px;width:175px;font-size:11px}.unit-heading{border-radius:17px;background:#e1f2ef;padding:29px;display:flex;align-items:center;justify-content:space-between}.unit-heading h2{font-size:26px;margin:12px 0;color:#45877d}.unit-heading p{font-size:12px;color:#70a097}.unit-number{font-size:80px;line-height:1;color:#a7d2c9;font-weight:800}.category-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:12px;margin-top:19px}.category-grid button{background:white;border:1px solid var(--line);border-radius:12px;padding:20px 8px;color:#657084;font-size:10px}.category-grid button>span{display:block;font-size:26px;margin-bottom:15px;color:#9279d1}.category-grid small{display:block;font-size:8px;margin-top:9px;color:#acb1bd}.story-banner{display:flex;align-items:center;justify-content:space-around;padding:30px;background:#f0e9ff;border-radius:17px;color:#8064ba}.story-banner>span{font-size:70px;color:#c6b1eb}.story-banner h2{font-size:24px;margin:0 0 10px}.story-banner p{font-size:12px}.teacher{--accent:#309e8f}.teacher .studio-sidebar nav button.active{background:#e8f5f1;color:#328e80}.teacher-feature,.admin-feature{border-radius:18px;padding:33px 40px;display:flex;align-items:center;justify-content:space-between;background:#e3f2ee}.teacher-feature h2,.admin-feature h2{font-size:29px;line-height:1.25;letter-spacing:-.7px;margin:13px 0;color:#39796e}.teacher-feature p,.admin-feature p{font-size:12px;line-height:1.7;color:#77a299}.stack-books{width:225px;display:grid;gap:7px;transform:rotate(-8deg);margin:15px 25px}.stack-books span{padding:15px 22px;border-radius:5px;background:#bed9f3;color:#5780a2;font-size:12px;font-weight:700;letter-spacing:2px;box-shadow:4px 5px 0 #fff}.stack-books span:nth-child(2){background:#f6d6a1;color:#a07b41;margin-left:22px}.stack-books span:nth-child(3){background:#bdc7ec;color:#666e98}.class-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.class-card{border:1px solid var(--line);border-radius:14px;text-align:left;background:#fff;padding:24px}.class-symbol{display:block;width:44px;height:44px;border-radius:11px;background:#e6f1ee;color:#4a9c8e;text-align:center;line-height:44px;font-size:21px;font-weight:700;margin-bottom:18px}.class-card h3{font-size:16px;margin:10px 0}.class-card p{font-size:10px;color:#969ead}.class-card p span{float:right}.table-wrap{border:1px solid var(--line);border-radius:13px;background:white;overflow:auto}table{font-size:11px}th{background:#fafbfe;font-size:9px;letter-spacing:1px;padding:17px}td{padding:18px;border-color:#f0f2f7}td small{font-size:10px}.badge{font-size:9px;padding:6px 10px;background:#edf5f2;color:#629288}.admin{--accent:#536bca}.admin .studio-sidebar{background:#24334e;border:0;color:white}.admin .studio-brand{color:white}.admin .studio-sidebar nav button{color:#a4b1ca}.admin .studio-sidebar nav button.active{background:#354663;color:white}.admin .sidebar-message{background:#2d3e5a;color:#c5d1e8}.admin .sidebar-account{border-color:#3a4860}.admin-feature{background:#536bca;color:white}.admin-feature h2{color:white}.admin-feature p{color:#d7dffb}.admin-feature .overline{color:#cbd5ff}.upload-orbit{width:155px;height:155px;background:#ffffff17;border:1px dashed #ffffff65;border-radius:30px;margin-right:50px;font-size:75px;text-align:center;line-height:115px;transform:rotate(8deg)}.upload-orbit span{font-size:13px;display:block;line-height:10px;letter-spacing:3px}.upload-layout{display:grid;grid-template-columns:2fr 1fr;gap:24px}.upload-form{padding:30px}.upload-form h2{font-size:22px;margin:13px 0 25px}.step{font-size:9px;letter-spacing:1.5px;color:#8e9ab9}.dropzone{border:2px dashed #d9def2;background:#f8f9ff;border-radius:14px;display:flex;flex-direction:column;align-items:center;padding:30px;gap:10px;margin-bottom:30px}.dropzone>span{font-size:35px;color:#7b8ece}.dropzone strong{font-size:14px}.dropzone small{font-size:10px;color:#9ba4b9}.dropzone input{font-size:11px;max-width:100%;margin-top:10px}.upload-form .form-grid{margin-top:20px}.field{font-size:11px}.field input,.field select{border-radius:8px;border-color:#e3e7ef;font-size:12px;padding:12px}.upload-form .button{margin-top:20px}.upload-help{padding:29px;height:fit-content}.upload-help h3{font-size:24px;line-height:1.4}.upload-help ol{padding-left:18px;font-size:12px;color:#8e97ac;line-height:2.7}.upload-help p{font-size:11px;line-height:1.8;color:#a0a6b5}.activation{padding:32px}.activation h2{font-size:23px}.activation p{font-size:13px;line-height:1.8}.notice{font-size:11px;background:#f0f3fc;color:#7c89a5;line-height:1.7;border:0;padding:15px;border-radius:9px}.admin-notice{margin-top:25px}footer{font-size:9px;letter-spacing:1px;color:#9ba4b7;margin-top:38px;padding:22px 0 0;border-top:1px solid #e6eaf1}footer span{margin-left:14px;letter-spacing:0}footer small{float:right;font-size:9px;letter-spacing:0}.intro h1{font-size:29px}.intro .eyebrow{font-size:9px}.form-panel{max-width:850px}.empty{grid-column:1/-1;padding:40px;background:#fff;border:1px solid var(--line);border-radius:13px;font-size:12px;color:#8b94a6}#activity-dialog{max-width:96vw}.studio button:focus-visible,.studio a:focus-visible{outline:3px solid #f4be56;outline-offset:3px}
@media(min-width:1600px){.welcome{min-height:330px}.welcome h2{font-size:39px}.welcome-art{margin-right:35px}.homework{min-height:190px}}
@media(max-width:1150px){.studio-sidebar{width:205px;padding:28px 16px}.studio-main{margin-left:205px;width:calc(100% - 205px)}.studio-content{padding:28px}.studio-top{padding:0 28px}.learner-grid{grid-template-columns:minmax(0,1fr) 200px;gap:18px}.welcome{padding:24px}.welcome h2{font-size:27px}.welcome-art{width:130px;transform:scale(.8);margin-right:-15px}.resources{gap:13px}.category-grid{grid-template-columns:repeat(4,1fr)}.resource-body{padding:14px}.resource-bottom{flex-wrap:wrap}}
@media(max-width:850px){.studio-sidebar{width:180px;padding:23px 12px}.studio-main{margin-left:180px;width:calc(100% - 180px)}.studio-brand{font-size:18px}.studio-sidebar nav button{font-size:10px;gap:7px}.studio-content{padding:22px}.studio-top{padding:0 22px}.studio-top>span,.prototype-label{display:none}.studio-top{justify-content:flex-end;height:65px}.learner-grid{grid-template-columns:1fr}.learner-rail{grid-template-columns:1fr 1fr}.quote-box{display:none}.resources,.class-grid{grid-template-columns:repeat(2,1fr)}.upload-layout{grid-template-columns:1fr}.page-heading h1{font-size:25px}.stack-books{width:150px;margin:0}.teacher-feature,.admin-feature{padding:25px}.filters{flex-wrap:wrap}.upload-orbit{margin:0;width:110px;height:135px}}
@media(max-width:600px){.studio{display:block}.studio-sidebar{position:static;width:100%;padding:15px;border-bottom:1px solid var(--line)}.studio-brand{font-size:15px}.brand-symbol{width:32px;height:34px;font-size:23px;line-height:34px}.studio-brand strong{display:inline}.studio-brand small,.workspace-label,.sidebar-message,.sidebar-account{display:none}.studio-sidebar nav{display:flex;overflow:auto;margin-top:16px;gap:4px}.studio-sidebar nav button{flex-shrink:0;padding:9px;font-size:10px}.studio-sidebar nav button>span{display:none}.studio-main{margin:0;width:100%}.studio-top{height:54px;padding:0 18px}.studio-content{padding:21px 17px}.page-heading{align-items:flex-start}.page-heading h1{font-size:24px}.page-heading p{line-height:1.6}.page-heading>.button{font-size:9px;padding:11px;white-space:nowrap}.welcome{min-height:260px}.welcome h2{font-size:27px}.welcome-art{width:90px;margin-left:-20px;transform:scale(.65);transform-origin:right center}.homework{padding:19px}.homework h3{font-size:16px}.homework-art{width:83px;height:100px}.homework-foot{gap:9px;flex-wrap:wrap}.resources,.class-grid{grid-template-columns:1fr}.resource-art{height:210px}.metrics{grid-template-columns:1fr 1fr;gap:10px}.metric{padding:14px;gap:10px}.metric>span{font-size:17px;padding:8px}.metric strong{font-size:21px}.metric small{font-size:8px}.category-grid{grid-template-columns:repeat(2,1fr)}.story-banner{padding:22px}.story-banner>span{font-size:35px}.story-banner h2{font-size:18px}.stack-books{display:none}.teacher-feature h2,.admin-feature h2{font-size:25px}.upload-orbit{width:75px;height:100px;font-size:50px;line-height:76px}.upload-orbit span{font-size:9px}.admin-feature{padding:23px}.upload-form{padding:20px}.learner-rail{gap:12px}.journey{padding:18px 9px}.profile-box{padding:24px 9px}.journey .ring{width:110px;height:110px}.journey .ring-inner{width:88px;height:88px}footer small{float:none;display:block;margin-top:10px}.filters input{width:100%}}
.selected-category{outline:2px solid var(--accent)}.teacher-id-bar{display:flex;align-items:center;gap:24px;padding:18px 22px;background:#e8f5f1;border:1px solid #cde8df;border-radius:13px;margin-bottom:24px}.teacher-id-bar strong{display:block;margin-top:5px;font-size:19px;color:#368778}.teacher-id-bar p{font-size:11px;flex:1;color:#72988f}.admin-forms{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:25px}.admin-forms .panel{padding:25px}.admin-forms .button{margin-top:18px}.class-card ul{padding-left:17px;color:#8490a5;font-size:12px;line-height:2}.registration-page{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:white}.registration-art{background:#eee9fc;padding:65px;position:relative;overflow:hidden}.registration-art>.overline{display:block;margin-top:90px}.registration-art h1{font-size:47px;letter-spacing:-2px;color:#6553a3;line-height:1.2;margin:22px 0}.registration-art p{color:#9a8fbb;line-height:1.8}.registration-art .book-shape{position:relative;inset:auto;margin:65px auto;transform:rotate(-12deg);width:170px;height:210px}.registration-form{max-width:540px;width:100%;padding:45px;margin:auto}.registration-form h1{font-size:29px;margin-top:30px}.registration-form>p{font-size:12px;color:#939aae}.registration-form form{display:grid;gap:14px;margin-top:22px}.registration-hint{font-size:11px;color:#999fb0;line-height:1.7}.registration-form .notice{margin-top:18px}#registration-error{color:#ba4545;font-size:12px;margin:0}.registration-form .set-tabs{margin:20px 0}.teacher-id-bar .pill{font-size:10px}@media(max-width:700px){.admin-forms{grid-template-columns:1fr}.teacher-id-bar{flex-wrap:wrap;gap:10px}.registration-page{grid-template-columns:1fr}.registration-art{display:none}.registration-form{padding:25px}.studio-top>div{gap:8px}.studio-top select{max-width:140px}}
.generated-cover{width:100%;height:100%;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px;background:hsl(var(--cover-hue) 55% 92%);color:hsl(var(--cover-hue) 45% 28%);text-align:center}.generated-cover>span{font-size:58px}.generated-cover strong{font-size:22px;line-height:1.2;overflow-wrap:anywhere}.generated-cover small{font-size:12px}.edit-cover{width:240px;height:170px;margin:20px 0;overflow:hidden;border-radius:16px}.edit-cover img{width:100%;height:100%;object-fit:contain}.content-group{margin-bottom:28px}.cover-tools{display:flex;align-items:center;gap:15px;margin-bottom:20px;flex-wrap:wrap}.danger{color:#a51c38}.button.danger{background:#a51c38;color:white}.delete-dialog{max-width:560px;border:0;border-radius:20px;padding:28px}.delete-dialog::backdrop{background:#17213b99}#activity-frame[hidden]{display:none!important}#tracked-media{display:block;width:100%;max-height:75vh;background:#142036}audio#tracked-media{margin:60px auto;width:85%;background:none}.table-wrap td button{margin:4px}.resource-art img{object-fit:contain}
.learning-progress{width:100%;margin:14px 0}.learning-progress>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:7px}.progress-track{height:9px;border-radius:8px;background:#e9eaf4;overflow:hidden}.progress-track>span{height:100%;display:block;background:#7560d6;border-radius:8px}.is-complete .progress-track>span{background:#219c7c}.is-complete{color:#19775e}.progress-track .unknown-progress{opacity:.3;background:repeating-linear-gradient(45deg,#7560d6,#7560d6 10px,#d8d2f4 10px,#d8d2f4 20px)}.completion-check{position:absolute;right:15px;bottom:15px;border-radius:50%;background:#219c7c;color:white;width:34px;height:34px;display:grid;place-items:center;font-size:23px;box-shadow:0 0 0 4px white}.resource-art{position:relative}.learning-update{margin-bottom:24px}

/* Preschool student presentation */
.student .studio-content{max-width:1280px}
.student .studio-sidebar{background:#fff;color:#344766;border-right:1px solid #e7eaf4}
.student .studio-brand,.student .sidebar-account{color:#344766}
.student .studio-sidebar nav button{color:#586780;min-height:64px;font-size:17px;border-radius:20px;margin-bottom:9px}
.student .studio-sidebar nav button.active{background:#ede8ff;color:#6044c5}
.student .studio-sidebar nav button span{font-size:25px;color:#8468db}
.student .sidebar-message,.student .workspace-label,.student .page-heading .overline,.student .page-heading p,.student footer,.student .unit-heading .overline{display:none}
.student .studio-sidebar nav{margin-top:36px}
.student .studio-top>span{font-size:0}.student .studio-top>span b{font-size:16px}
.student .page-heading h1{font-size:32px}.student .page-heading{margin-bottom:24px}
.child-welcome{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#e6f4f1;border-radius:32px;padding:25px 42px;margin-bottom:30px;overflow:hidden}
.child-welcome h1{font-size:clamp(28px,3vw,40px);line-height:1.2;margin:0 0 12px;color:#284c50}.child-welcome p{font-size:21px;color:#476a6b;margin:0}
.child-mascot{width:225px;flex-shrink:0}.child-mascot svg{display:block;width:100%}
.world-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.world-tile{display:grid;grid-template-columns:78px 1fr 28px;align-items:center;gap:18px;min-height:145px;padding:26px;border:2px solid #fff;border-radius:28px;text-align:left;color:#34405c;box-shadow:0 5px 0 #dfe5ef;cursor:pointer;font:inherit;transition:transform .15s,box-shadow .15s}
.world-tile:hover{transform:translateY(-3px);box-shadow:0 8px 0 #dfe5ef}.world-tile>span{display:grid;place-items:center;background:#ffffffb8;width:78px;height:78px;border-radius:24px;font-size:43px}.world-tile strong{font-size:24px;line-height:1.3}.world-tile i{font-size:27px;font-style:normal}
.world-mint{background:#d9efe9}.world-peach{background:#ffe9da}.world-lilac{background:#eee5ff}.world-sky{background:#dff0fb}
.world-prompt{display:flex;justify-content:center;align-items:center;gap:14px;margin:35px 0;color:#67728a}.world-prompt span{font-size:34px}.world-prompt p{font-size:19px}
.student .resources{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.student .child-resource{border-radius:26px;overflow:hidden}.student .child-resource .resource-art{height:210px;padding:16px;background:#eef0fb}.student .child-resource .resource-art img{width:100%;height:100%;object-fit:contain;border-radius:12px}
.student .child-resource .resource-body{padding:20px;gap:0;min-height:0}.student .child-resource h3{font-size:21px;line-height:1.35;margin:0 0 16px;min-height:0}.student .child-resource .resource-bottom{margin-top:14px;gap:10px;flex-wrap:wrap}.student .child-resource .resource-bottom .button{margin-left:auto;border-radius:18px;font-size:17px;min-height:50px;padding:12px 21px}.student .child-resource .resource-bottom small{font-size:12px}
.child-cover{position:relative;height:100%;width:100%;display:grid;place-items:center;background:#e0efed;border-radius:18px;overflow:hidden}.child-cover>span{font-size:80px;filter:drop-shadow(0 6px 0 #00000009)}.child-cover i{position:absolute;top:18px;right:23px;font-size:30px;color:#ddab43;font-style:normal}.child-cover b{position:absolute;bottom:12px;left:24px;font-size:70px;color:#ffffff}.child-cover-story,.child-cover-book{background:#fff0db}.child-cover-audio{background:#e9e2ff;color:#785ac0}.child-cover-video{background:#dcecff;color:#517eae}.child-cover-extra{background:#ffe4e8}
.student .learning-progress>div:first-child{font-size:13px}.student .learning-progress strong{font-size:13px}.student .completion-check{width:34px;height:34px;font-size:21px}.student .category-grid button{border-radius:22px;min-height:106px}.student .category-grid button small{display:none}.student .category-grid button span{font-size:32px}.student .section-title h2{font-size:23px}.student .unit-heading h2{font-size:25px}
.world-continue .resources{grid-template-columns:minmax(0,420px)}.child-empty{font-size:36px}.child-empty p{font-size:18px}
.student button:focus-visible,.student a:focus-visible{outline:3px solid #4d68ad;outline-offset:4px}
@media(max-width:1100px){.student .resources{grid-template-columns:repeat(2,minmax(0,1fr))}.world-tile{grid-template-columns:60px 1fr 20px;gap:12px;padding:20px}.world-tile>span{width:60px;height:60px;font-size:34px}.world-tile strong{font-size:20px}}
@media(max-width:700px){.child-welcome{padding:22px;gap:5px;border-radius:24px}.child-mascot{width:120px}.child-welcome p{font-size:17px}.world-tiles{gap:14px}.world-tile{display:flex;flex-direction:column;text-align:center;gap:12px;padding:20px 12px;min-height:160px}.world-tile i{display:none}.world-tile strong{font-size:18px}.student .resources{grid-template-columns:1fr}.student .studio-sidebar nav{margin-top:12px}.student .studio-sidebar nav button{font-size:14px;min-height:48px;margin-bottom:0}.student .studio-sidebar nav button span{font-size:20px}.student .child-resource .resource-art{height:230px}}
@media(prefers-reduced-motion:reduce){.world-tile{transition:none}}
.student .world-tile>span{color:#9379d4;font-family:Arial,sans-serif;font-size:45px;background:#ffffffa6}
.unit-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.unit-card{position:relative;border:1px solid #e4e6f3;border-radius:26px;padding:18px;background:white;text-align:left;font:inherit;color:#34405c;cursor:pointer;box-shadow:0 5px 0 #e7eaf2}.unit-card:hover{border-color:#9677db}.unit-cover{height:235px;display:grid;place-items:center;background:#edeafa;border-radius:18px;margin-bottom:18px;overflow:hidden}.unit-cover img{height:100%;width:100%;object-fit:contain;padding:10px}.unit-cover>span{font-size:80px;color:#9677db}.unit-card strong{display:block;font-size:22px;padding-right:25px}.unit-go{position:absolute;bottom:23px;right:20px;color:#9379d4}.unit-back{margin-bottom:20px}
.student [data-account]{cursor:pointer}.student .top-avatar{border:0;font-size:24px}.student .sidebar-account .avatar{font-size:26px}
.account-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:25px}.account-grid .panel{padding:28px}.account-title{display:flex;align-items:center;gap:18px}.account-title>span{font-size:58px}.account-title h2{font-size:25px}.account-details dt{color:#7c849b;font-size:14px;margin-top:18px}.account-details dd{margin:6px 0;overflow-wrap:anywhere;font-size:18px}.account-details dd small{display:block;color:#7c849b;margin-top:5px}.avatar-options{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.avatar-options label{position:relative;cursor:pointer}.avatar-options input{position:absolute;opacity:0}.avatar-options label>span{display:flex;flex-direction:column;align-items:center;padding:10px 3px;border:2px solid #ebe8f7;border-radius:16px}.avatar-options span span{font-size:32px}.avatar-options small{font-size:11px}.avatar-options input:checked+span{background:#eee8ff;border-color:#9677db}.avatar-options input:focus-visible+span{outline:3px solid #4d68ad;outline-offset:2px}.account-grid .field{margin:20px 0 10px}.account-grid button[type=submit]{margin-top:16px}.account-grid p[role=status]{font-size:15px}.student [data-account]:focus-visible{outline:3px solid #4d68ad;outline-offset:3px}
@media(max-width:1050px){.unit-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.account-grid{grid-template-columns:1fr}}
@media(max-width:650px){.unit-cards{grid-template-columns:1fr}.unit-cover{height:260px}}
.unit-cover{display:flex;align-items:center;justify-content:center}.unit-cover img{display:block;min-height:0;min-width:0;max-height:100%;max-width:100%;box-sizing:border-box}
.admin-set-group{margin:32px 0 44px}.admin-set-group>h2{padding:20px 24px;background:#e3f2ef;border-radius:18px;color:#356b65;font-size:25px}.admin-unit-group{margin:24px 0}.admin-unit-group .section-title{margin:16px 4px}.admin-unit-group h3{margin:0;font-size:19px}.admin-content-name{display:flex;align-items:center;gap:14px;min-width:240px}.admin-thumb{flex:0 0 56px;width:56px;height:64px;border-radius:10px;overflow:hidden;background:#edeafa}.admin-thumb img{width:100%;height:100%;object-fit:contain}.admin-thumb .generated-cover{height:64px;min-height:0;padding:0;border-radius:0}.admin-thumb .generated-cover>span{font-size:28px}.admin-thumb .generated-cover strong,.admin-thumb .generated-cover small{display:none}.admin-row-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:230px}
.teacher-id-top{display:flex;flex-direction:column;gap:3px;padding:8px 14px;border:1px solid #d8e9e6;border-radius:14px;background:#eef7f4;color:#367c71;white-space:nowrap}.teacher-id-top small{font-size:11px}.teacher-id-top strong{font-size:14px;letter-spacing:.3px}
.studio-top .logout-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 17px;border:1px solid #ddd6f4;border-radius:14px;background:#f0ecfb;color:#6551a4;font-size:14px;white-space:nowrap}.studio-top .logout-button:hover{background:#e5dcf8}.logout-button span{font-size:19px}
.teacher [data-account]{cursor:pointer}.teacher .top-avatar{border:0;font-size:24px}.teacher .sidebar-account .avatar{font-size:26px}.teacher [data-account]:focus-visible,.logout-button:focus-visible{outline:3px solid #957ad6;outline-offset:3px}
.studio-top>div{flex-wrap:wrap}.studio-top{height:auto;min-height:82px;gap:12px}.teacher .account-grid .panel{color:#34405c}
@media(max-width:700px){.teacher-id-top{padding:6px 9px}.teacher-id-top strong{font-size:12px}.studio-top .logout-button{padding:9px 12px}}
.teacher-set-card>img{width:100%;height:180px;object-fit:contain;border-radius:16px;background:#f1f5fa;margin-bottom:18px}.teacher-set-card{border-color:#cde8e1}.set-cover-preview{width:100%;height:150px;object-fit:contain;border-radius:14px;margin-bottom:15px}.avatar-options img{width:60px;height:60px;display:block;border-radius:50%}.account-title>span>img{width:76px;height:76px;display:block}.sidebar-account .avatar img,.top-avatar img{width:100%;height:100%;border-radius:50%;display:block}.top-avatar{padding:0;overflow:hidden}.avatar-options label>span{padding:8px 2px}.avatar-options{grid-template-columns:repeat(4,minmax(0,1fr))}
/* Shared library and activity selection */
.child-mascot img{width:190px;height:190px;max-width:100%;border-radius:50%}.ebook-set-options{display:flex;flex-wrap:wrap;gap:16px}.ebook-set-options label{display:flex;align-items:center;gap:8px}.ebook-set-options input{width:auto}.assignment-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;grid-column:1/-1;margin-bottom:20px}.assignment-choice{padding:10px;border:2px solid #e4e7f2;border-radius:18px;background:white;color:var(--ink);text-align:left;cursor:pointer}.assignment-choice.selected{border-color:#7354ef;background:#f0ecff}.choice-art{display:block;height:110px;overflow:hidden;border-radius:12px;margin-bottom:10px}.choice-art img{width:100%;height:100%;object-fit:contain}.choice-art .generated-cover{height:110px}.assignment-choice strong{font-size:14px}.studio-sidebar .sidebar-account{margin-top:auto}#activity-surface:fullscreen,#activity-dialog.expanded-player{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;box-sizing:border-box;background:white}#activity-surface:fullscreen iframe,#activity-dialog.expanded-player iframe{flex:1;min-height:0;height:calc(100dvh - 120px)}#activity-dialog header{flex-wrap:wrap;gap:8px}#activity-surface:fullscreen #tracked-media,#activity-dialog.expanded-player #tracked-media{max-height:calc(100dvh - 140px)}

#activity-surface{display:flex;flex-direction:column;width:100%;height:100%}#activity-surface:fullscreen{padding:12px}#activity-surface:fullscreen header{flex-shrink:0}#activity-surface:fullscreen iframe{width:100%}

/* Compact activity toolbar: a single title and two accessible icon controls. */
#activity-dialog header{flex-wrap:nowrap;gap:8px;padding:8px 12px;min-height:56px;border-bottom:1px solid #e8e5f3;background:#fff;flex-shrink:0}
#activity-dialog header>div{flex:1;min-width:0;overflow:hidden}
#activity-dialog header small{display:none}
#activity-dialog #activity-title{font-size:16px;line-height:24px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#29344c}
#activity-dialog header .button{flex:0 0 40px;width:40px;height:40px;padding:0;font-size:0;border:0;border-radius:12px;background:#f0ebff;color:#7354e9;display:inline-flex;align-items:center;justify-content:center}
#activity-dialog header .button:hover{background:#e6ddff}
#activity-dialog header .button::before{content:'';display:block;width:21px;height:21px;background:currentColor;mask-size:contain;mask-position:center;mask-repeat:no-repeat}
#fullscreen-activity::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H3v5m13-5h5v5M3 16v5h5m13-5v5h-5'/%3E%3C/svg%3E")}
#fullscreen-activity[aria-pressed=true]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 8h5V3m8 0v5h5M3 16h5v5m8 0v-5h5'/%3E%3C/svg%3E")}
#close-activity::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4H4v16h5m5-13 5 5-5 5M8 12h11'/%3E%3C/svg%3E")}
#activity-dialog #save-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#activity-surface:fullscreen{padding:0}
#activity-surface:fullscreen iframe,#activity-dialog.expanded-player iframe{height:calc(100dvh - 57px)}
#activity-surface:fullscreen #tracked-media,#activity-dialog.expanded-player #tracked-media{max-height:calc(100dvh - 57px)}
@media(max-width:540px){#activity-dialog header{padding:6px 8px;gap:6px}#activity-dialog #activity-title{font-size:14px}}

.admin-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:24px 0;padding:18px;background:white;border:1px solid var(--line);border-radius:14px}.admin-filters .field{flex:1 1 150px;min-width:0}.admin-filters input,.admin-filters select{width:100%}

.unread-assignments{display:flex;width:100%;align-items:center;gap:12px;border:1px solid #dcd4fa;border-radius:16px;background:#f0ebff;color:#6448c9;padding:15px 18px;margin-bottom:22px;text-align:left}.unread-assignments>span:last-child{margin-left:auto;font-size:13px}.assignment-picker{grid-column:1/-1;border:1px solid var(--line);border-radius:14px;padding:16px;background:#fff}.picker-section h4{margin:16px 0 10px;color:#536878}.picker-section details{border:1px solid #e4e8ee;border-radius:10px;margin:8px 0;overflow:hidden}.picker-section summary{padding:13px;cursor:pointer;background:#f7f9fc;font-weight:700}.picker-section summary small{float:right;color:#8590a0;font-weight:400}.picker-items{max-height:340px;overflow:auto;padding:6px}.picker-item{display:flex;width:100%;align-items:center;gap:12px;padding:8px 10px;background:white;border:1px solid transparent;border-radius:9px;text-align:left;color:var(--ink);margin:3px 0}.picker-item.selected{border-color:#38a28e;background:#eaf6f2}.picker-item:hover{background:#f0f6f8}.picker-thumb{width:48px;height:48px;flex:0 0 48px;overflow:hidden;border-radius:7px;background:#f1f0f9}.picker-thumb img{width:100%;height:100%;object-fit:contain}.picker-thumb .generated-cover{min-height:0;height:48px;padding:3px;font-size:22px}.picker-thumb .generated-cover strong,.picker-thumb .generated-cover small{display:none}.picker-item strong{font-size:13px;display:block}.picker-item small{display:block;margin-top:4px;font-size:11px;color:#7d8998}.picker-check{margin-left:auto;color:#309e8f;font-size:20px}.field[hidden]{display:none!important}@media(max-width:540px){.unread-assignments{flex-wrap:wrap}.unread-assignments>span:last-child{margin-left:0}}

.picker-thumb .generated-cover span{font-size:22px}.picker-thumb .generated-cover h3{display:none}

.homework-group{margin:28px 0 44px}.homework-group>h2{font-size:22px;margin:0 0 15px}.homework-group>h2>span{display:inline-grid;place-items:center;min-width:30px;height:30px;border-radius:50%;background:#e9e3fc;color:#7056c4;font-size:14px;margin-left:7px}.homework-banners{display:grid;gap:30px}.homework-banner{--homework-color:#326f66;--homework-bg:#e2f2ed;display:flex;min-height:210px;overflow:hidden;border-radius:22px;background:var(--homework-bg);color:#34445a;border:1px solid #ffffff;box-shadow:0 4px 14px #29344c08}.homework-tone-1{--homework-color:#885637;--homework-bg:#fbeddf}.homework-tone-2{--homework-color:#6e5594;--homework-bg:#eee8fa}.homework-tone-3{--homework-color:#426e8a;--homework-bg:#e4f0fa}.homework-banner-body{flex:1;min-width:0;padding:22px;display:flex;flex-direction:column;justify-content:space-between;gap:18px}.homework-date{font-size:12px;font-weight:700;background:#ffffff80;color:var(--homework-color);padding:7px 12px;border-radius:20px;align-self:flex-start}.homework-banner h3{font-size:clamp(20px,2.5vw,30px);line-height:1.25;color:#34445a;overflow-wrap:anywhere}.homework-banner-bottom{display:flex;align-items:end;gap:20px}.homework-start{flex-shrink:0;border:0;border-radius:30px;background:white;color:var(--homework-color);padding:12px 20px;font-weight:800;font-size:15px}.homework-banner .learning-progress{flex:1;min-width:0;margin:0}.homework-banner .learning-progress>div{color:var(--homework-color)}.homework-banner .progress-track{background:#ffffff6b;border:1px solid white}.homework-banner .progress-track>span{background:var(--homework-color);opacity:.75}.homework-banner-art{width:28%;flex-shrink:0;background:#ffffff24;display:flex;align-items:center;justify-content:center;padding:18px;border-radius:65px 0 0 65px}.homework-banner-art img{width:100%;max-height:190px;object-fit:contain;border-radius:10px}.homework-banner-art .generated-cover,.homework-banner-art .child-cover{width:100%;height:170px;min-height:0}.homework-empty{padding:16px;color:#7d879b;font-size:13px;border:1px dashed #dce1ed;border-radius:12px}@media(max-width:600px){.homework-banner{min-height:185px}.homework-banner-body{padding:16px;gap:12px}.homework-banner-art{width:25%;padding:8px;border-radius:30px 0 0 30px}.homework-banner-bottom{flex-wrap:wrap;gap:12px}.homework-banner .learning-progress{flex-basis:100%}.homework-date{font-size:10px}.homework-start{font-size:13px;padding:10px 15px}}

@media(max-width:600px){.homework-banners{gap:24px}.homework-group{margin-bottom:36px}}

.category-grid{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:14px}.category-grid button[data-unitcategory]{--tile-bg:#fbeddf;--tile-hover:#f7e4d2;--tile-selected:#f3dcc5;--tile-ink:#885637;background:var(--tile-bg);color:var(--tile-ink);border:2px solid transparent;padding:18px 10px;border-radius:22px;min-height:132px;font-family:Manrope,'DM Sans',sans-serif;font-size:16px;line-height:1.4;font-weight:800;box-shadow:0 3px 10px #28344906;transition:background-color .15s,border-color .15s,box-shadow .15s}
.category-grid button[data-unitcategory=interactive],.category-grid button[data-unitcategory=audio]{--tile-bg:#eee8fa;--tile-hover:#e8e0f5;--tile-selected:#e1d6f1;--tile-ink:#634a89}
.category-grid button[data-unitcategory=dictionary]{--tile-bg:#faf1d9;--tile-hover:#f5eacd;--tile-selected:#f0e2ba;--tile-ink:#6d5823}
.category-grid button[data-unitcategory=video],.category-grid button[data-unitcategory=story]{--tile-bg:#e4f0fa;--tile-hover:#dcebf6;--tile-selected:#d1e3f1;--tile-ink:#3a627d}
.category-grid button[data-unitcategory=extra]{--tile-bg:#e2f2ed;--tile-hover:#d8ece5;--tile-selected:#cce5dc;--tile-ink:#2b6058}
.category-grid button[data-unitcategory]>span{color:inherit;display:block;margin:0 0 12px}
.category-grid button[data-unitcategory] svg{width:40px;height:40px;display:block;margin:auto}
.category-grid button[data-unitcategory] small{display:none}
.category-grid button[data-unitcategory]:hover{background:var(--tile-hover);color:var(--tile-ink);filter:none}
.category-grid button[data-unitcategory].selected-category,.category-grid button[data-unitcategory]:active{background:var(--tile-selected);color:var(--tile-ink);border-color:var(--tile-ink);outline:none;filter:none;box-shadow:0 3px 10px #28344908}
.category-grid button[data-unitcategory]:focus-visible{outline:3px solid var(--tile-ink);outline-offset:4px}
@media(max-width:600px){.category-grid button[data-unitcategory]{font-size:15px;padding:15px 9px}}
@media(prefers-reduced-motion:reduce){.category-grid button[data-unitcategory]{transition:none}}
.student-report-group{margin:22px 0}.student-report-group>h3{font-size:18px;margin:0 0 12px}.picker-section details[open] summary{color:#338677}

/* Soft resource cards, with unobstructed covers and clear section hierarchy. */
.student .resource,.teacher .resource{--card-surface:#eee8fa;--card-ink:#634a89;border:1px solid #e7e4ef;border-radius:26px;box-shadow:0 5px 18px #34445a06;background:#fff;overflow:hidden}
.student .resource:nth-child(4n+2),.teacher .resource:nth-child(4n+2){--card-surface:#e2f2ed;--card-ink:#2b6058}
.student .resource:nth-child(4n+3),.teacher .resource:nth-child(4n+3){--card-surface:#fbeddf;--card-ink:#885637}
.student .resource:nth-child(4n+4),.teacher .resource:nth-child(4n+4){--card-surface:#e4f0fa;--card-ink:#3a627d}
.student .resource .resource-art,.teacher .resource .resource-art{background:var(--card-surface);padding:18px;border-bottom:1px solid #ffffff80}
.student .resource .resource-body,.teacher .resource .resource-body{background:#fffefd;padding:22px}
.student .resource h3,.teacher .resource h3{color:#34445a;font-weight:800;line-height:1.4}
.student .resource .resource-bottom .button,.teacher .resource .resource-bottom .button{background:var(--card-surface);color:var(--card-ink);border:1px solid transparent;border-radius:18px;box-shadow:none}
.student .resource .resource-bottom .button:hover,.teacher .resource .resource-bottom .button:hover{filter:brightness(.98);border-color:var(--card-ink)}
.student .resource .resource-bottom .button:active,.teacher .resource .resource-bottom .button:active{filter:brightness(.95)}
.student .resources,.teacher .resources{gap:24px}
.section-title.unit-contents-title{display:grid;grid-template-columns:1fr;justify-items:center;text-align:center;gap:10px;margin:34px 0 28px;padding:20px 14px;border-radius:20px;background:#f0edf9}
.student .section-title.unit-contents-title h2,.teacher .section-title.unit-contents-title h2{font-size:28px;line-height:1.3;font-weight:800;color:#544678;margin:0}
.unit-contents-title~.content-group>h2,.unit-contents-title~.content-group>h3,.unit-contents-title~.content-group>.section-title h2{font-size:18px;font-weight:700;color:#64718a;margin-bottom:16px}
@media(max-width:600px){.student .section-title.unit-contents-title h2,.teacher .section-title.unit-contents-title h2{font-size:24px}.student .resources,.teacher .resources{gap:20px}}

/* One consistent pastel palette per content type. */
.unit-heading{background:transparent;padding:12px 4px 18px;border-radius:0}.unit-heading h2{margin:0;color:#45877d}.unit-filter-actions{justify-content:flex-end;margin:22px 0}.unit-content-group{background:var(--tile-bg);padding:24px;border-radius:24px;margin:24px 0 30px}.unit-content-group>.section-title h2{color:var(--tile-ink);font-size:20px;font-weight:800}.student .unit-content-group .resource,.teacher .unit-content-group .resource{--card-surface:var(--tile-selected);--card-ink:var(--tile-ink)}
.category-grid button[data-unitcategory=book],.unit-content-group[data-contentcategory=book]{--tile-bg:#fbeddf;--tile-hover:#f7e4d2;--tile-selected:#f3dcc5;--tile-ink:#885637;}
.category-grid button[data-unitcategory=dictionary],.unit-content-group[data-contentcategory=dictionary]{--tile-bg:#faf1d9;--tile-hover:#f5eacd;--tile-selected:#f0e2ba;--tile-ink:#6d5823;}
.category-grid button[data-unitcategory=interactive],.unit-content-group[data-contentcategory=interactive]{--tile-bg:#eee8fa;--tile-hover:#e8e0f5;--tile-selected:#e1d6f1;--tile-ink:#634a89;}
.category-grid button[data-unitcategory=video],.unit-content-group[data-contentcategory=video]{--tile-bg:#e4f0fa;--tile-hover:#dcebf6;--tile-selected:#d1e3f1;--tile-ink:#3a627d;}
.category-grid button[data-unitcategory=story],.unit-content-group[data-contentcategory=story]{--tile-bg:#f8e7ee;--tile-hover:#f3dfe8;--tile-selected:#edd3df;--tile-ink:#864960;}
.category-grid button[data-unitcategory=audio],.unit-content-group[data-contentcategory=audio]{--tile-bg:#eaeafa;--tile-hover:#e2e2f5;--tile-selected:#d9d9ee;--tile-ink:#545482;}
.category-grid button[data-unitcategory=extra],.unit-content-group[data-contentcategory=extra]{--tile-bg:#e2f2ed;--tile-hover:#d8ece5;--tile-selected:#cce5dc;--tile-ink:#2b6058;}

/* Grid children and native form controls must be allowed to shrink on mobile. */
.login{grid-template-columns:minmax(0,1fr)}.login-card{justify-self:center;min-width:0;box-sizing:border-box}.registration-page{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.registration-form,.registration-art{min-width:0;box-sizing:border-box}.login-card form,.registration-form form,.login-card .field,.registration-form .field{min-width:0;max-width:100%}.login-card input,.registration-form input,.registration-form select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.login-card h1,.registration-form h1,.login-card p,.registration-form p{overflow-wrap:anywhere}
@media(max-width:800px){.registration-page{grid-template-columns:minmax(0,1fr);padding:20px 16px;background:var(--paper)}.registration-art{display:none}.registration-form{width:100%;max-width:540px;padding:24px 20px;margin:0 auto;background:white;border-radius:22px;align-self:center}.login{padding:20px 16px}.login-card{width:100%;max-width:440px;padding:28px 22px}.registration-form .set-tabs{flex-wrap:wrap}.login-card input,.registration-form input,.registration-form select{font-size:16px}.unit-content-group{padding:16px;border-radius:20px}}

.unit-content-group{padding-top:14px}.unit-content-group>.section-title{margin-top:0;margin-bottom:18px}.unit-content-group>.section-title h2{margin-top:0;margin-bottom:0}.show-all-content{border-radius:14px;background:#eee8fa!important;color:#634a89!important;padding:12px 18px}.video-link-panel{margin-top:24px}.video-link-panel>p{margin:12px 0 18px;color:#748196}.video-link-panel form>.button{margin-top:20px}.video-assignment-modes{display:flex;gap:12px;margin-bottom:20px}#youtube-assignment-pane[hidden],#library-assignment-pane[hidden]{display:none}#youtube-player-host{width:100%;min-height:250px}#youtube-player-frame{width:100%;height:min(62vh,620px);border:0}#youtube-player-message{padding:12px 18px;color:#634a89;font-size:14px}#youtube-player-message:empty{display:none}#activity-surface:fullscreen #youtube-player-host{flex:1;min-height:0}#activity-surface:fullscreen #youtube-player-frame{height:calc(100dvh - 105px)}

/* YouTube is an option at the end of the activity picker. */
.youtube-picker-option{width:100%;margin-top:16px;background:#f1edfb;color:#634a89;border:1px solid #ded6f1;border-radius:16px;text-align:left}
.youtube-picker-option:hover{background:#e9e2f7}
.youtube-picker-option .picker-thumb{display:grid;place-items:center;background:#e4dcf5;font-size:24px;border-radius:12px}
.video-assignment-dialog{width:min(680px,calc(100vw - 32px));max-height:90dvh;box-sizing:border-box;padding:24px;border:0;border-radius:24px;background:#faf9ff;color:#28334b;overflow:auto}
.video-assignment-dialog::backdrop{background:rgba(35,49,65,.45)}
.video-assignment-dialog>.button{display:block;margin-left:auto}
.video-assignment-dialog .video-link-panel{margin-top:12px}
@media(max-width:600px){.video-assignment-dialog{padding:16px}.video-assignment-dialog .form-grid{grid-template-columns:minmax(0,1fr)}}

.external-video-cover{position:relative;width:100%;height:100%;min-height:80px;background:#deebfa;overflow:hidden;display:grid;place-items:center}
.external-video-cover .video-cover-fallback{position:absolute;color:#507ca8;font-size:48px}
.external-video-cover img,.external-video-cover video{position:relative;width:100%;height:100%;object-fit:contain;pointer-events:none}
.external-video-cover [hidden]{display:none}
/* Shared home and learner progress. */
.student .studio-sidebar,.teacher .studio-sidebar{overflow-y:auto}
.student .sidebar-account,.teacher .sidebar-account{cursor:pointer;border-radius:14px;padding:16px 8px;margin-top:auto}
.sidebar-account:hover{background:#f4f0fb}.profile-arrow{margin-left:auto;font-size:20px;color:#7962ad}
.sidebar-account .teacher-id-top{display:block;border:0;background:none;padding:4px 0;white-space:normal}
.sidebar-account .teacher-id-top strong{font-size:11px;overflow-wrap:anywhere}
.studio-sidebar>.logout-button{margin-top:12px;width:100%;flex-shrink:0}
.sidebar-demo{display:grid;gap:6px;margin-top:12px}
.dashboard-home>h1{margin:0 0 28px}.dashboard-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:36px}
.dashboard-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;min-height:155px;padding:20px;border:2px solid transparent;border-radius:26px;color:#634a89;background:#eee8fa;transition:filter .15s,transform .15s}
.dashboard-tile span{display:block;width:45px;height:45px}.dashboard-tile strong{font-size:20px}.dashboard-tile:hover:not(:disabled){filter:brightness(.98);transform:translateY(-2px)}.dashboard-tile:disabled{opacity:.6;cursor:default}
.tone-peach{background:#fbeddf;color:#885637}.tone-pink{background:#f8e7ee;color:#864960}.tone-mint{background:#e2f2ed;color:#2b6058}
.dashboard-section{padding:22px;background:#efedf8;border-radius:28px;margin:28px 0}.dashboard-section:nth-of-type(even){background:#e8f3ef}.dashboard-section>.section-title{margin:0 0 20px}.dashboard-section>.section-title h2{margin:0;font-size:25px}.dashboard-more{display:flex;justify-content:flex-end;margin-top:22px}
.dashboard-section .unit-cards{margin:0}.dashboard-section .unit-card{background:#fff}
.progress-overview{display:flex;gap:42px;align-items:center;justify-content:center;background:#fff;border-radius:26px;padding:30px;margin-bottom:24px}
.dashboard-donut{width:230px;height:230px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#63b59e 0 var(--amount),#edf1f5 var(--amount) 100%)}
.dashboard-donut>div{width:180px;height:180px;border-radius:50%;background:white;display:flex;flex-direction:column;align-items:center;justify-content:center}
.dashboard-donut strong{font-size:46px;color:#35455f}.dashboard-donut span{font-size:17px;color:#748196}
.dashboard-chart-key{max-width:350px}.dashboard-chart-key p{display:flex;gap:12px;align-items:center}.dashboard-chart-key i{width:14px;height:14px;border-radius:50%;background:#edf1f5}.dashboard-chart-key .key-done{background:#63b59e}.dashboard-chart-key .key-started{background:#b4a1dc}.dashboard-chart-key small{display:block;line-height:1.7;color:#778394;font-size:12px}
.unit-progress-list{display:grid;gap:18px}.unit-progress{background:#fff;border:1px solid #e5e8ef;border-radius:20px;padding:20px}.unit-progress summary{cursor:pointer;display:grid;grid-template-columns:1fr auto;gap:12px}.unit-progress summary strong{font-size:20px}.unit-progress summary:after{content:'Detayları göster ▾';font-size:13px;color:#7354a1}.unit-progress[open] summary:after{content:'Detayları gizle ▴'}
progress{accent-color:#63b59e;max-width:100%;height:12px}.unit-progress summary progress{width:100%;grid-column:1/-1}
.progress-detail-rows>div{padding:18px 0;border-top:1px solid #edf0f4;display:grid;gap:8px}.progress-detail-rows{margin-top:18px}.progress-detail-rows>div>span{font-size:13px;color:#81889c}
#activity-dialog[open]{position:fixed;inset:0;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:0!important;border:0;border-radius:0!important;box-sizing:border-box}
#activity-dialog[open] #activity-surface{height:100%;padding:0}
#activity-dialog[open] #activity-frame{flex:1;min-height:0;width:100%;height:calc(100dvh - 57px)}
#activity-dialog[open] #tracked-media{flex:1;min-height:0;max-height:calc(100dvh - 57px);width:100%;object-fit:contain}
#activity-dialog[open] #youtube-player-host{flex:1;min-height:0;display:flex;flex-direction:column}
#activity-dialog[open] #youtube-player-frame{flex:1;min-height:0;height:calc(100dvh - 90px)}
@media(max-width:900px){.dashboard-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-overview{gap:24px;flex-wrap:wrap}.dashboard-section{padding:18px}}
@media(max-width:600px){.student .sidebar-account,.teacher .sidebar-account{display:flex;margin-top:12px}.studio-sidebar>.logout-button{width:auto;padding:10px 18px}.dashboard-tile{min-height:130px;padding:14px}.dashboard-tile strong{font-size:17px}.dashboard-section{padding:16px;margin:20px 0}.dashboard-chart-key{width:100%}.unit-progress summary{grid-template-columns:1fr}.dashboard-home>h1{font-size:28px}}
/* Mobile app shell. Desktop navigation is retained. */
.mobile-app-header,.mobile-bottom-nav{display:none}
.mobile-menu-sheet{width:min(520px,100%);max-width:100%;max-height:85dvh;margin:auto auto 0;padding:22px 20px calc(20px + env(safe-area-inset-bottom));border:0;border-radius:28px 28px 0 0;background:#faf9ff;color:#35435c;box-sizing:border-box;overflow:auto;overscroll-behavior:contain}
.mobile-menu-sheet::backdrop{background:rgba(32,42,62,.4);backdrop-filter:blur(3px)}
.mobile-sheet-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.mobile-sheet-heading h2{font-size:23px;margin:0}.mobile-menu-close{border:0;background:#eee8fa;color:#634a89;border-radius:50%;width:44px;height:44px;font-size:28px}
.mobile-sheet-profile{display:flex;gap:12px;align-items:center;text-align:left;width:100%;padding:15px;border:1px solid #e6deef;border-radius:20px;background:#f0ebfa;color:#35435c;margin-bottom:18px}
.mobile-sheet-avatar{width:52px;height:52px;flex-shrink:0}.mobile-sheet-avatar img{width:100%;height:100%;border-radius:50%}.mobile-sheet-profile strong{font-size:17px;overflow-wrap:anywhere}.mobile-sheet-profile small{display:block;font-size:12px;margin-top:5px;color:#78698e;overflow-wrap:anywhere}
.mobile-menu-links{display:grid;gap:6px}.mobile-menu-links button{display:flex;align-items:center;gap:14px;width:100%;min-height:50px;border:0;border-radius:14px;background:transparent;text-align:left;padding:12px;color:#536078;font-size:15px}.mobile-menu-links button>span:last-child{margin-left:auto}.mobile-menu-links button[aria-current]{background:#eee8fa;color:#634a89}.mobile-menu-links svg,.mobile-sheet-logout svg{width:23px;height:23px;flex-shrink:0}
.mobile-sheet-logout{display:flex;gap:12px;align-items:center;justify-content:center;width:100%;min-height:48px;margin-top:20px;border:1px solid #e8dce5;background:#f8edf1;color:#98566b;border-radius:16px;font-weight:700}
.mobile-demo-controls{display:grid;gap:8px;margin-top:14px}
@media(max-width:760px){
 .studio.student,.studio.teacher{display:block}
 .student>.studio-sidebar,.teacher>.studio-sidebar{display:none!important}
 .student>.studio-main,.teacher>.studio-main{margin:0;width:100%;min-width:0}
 .student .studio-content,.teacher .studio-content{padding:20px 16px calc(100px + env(safe-area-inset-bottom));min-width:0}
 .mobile-app-header{display:flex;align-items:center;justify-content:space-between;min-height:66px;padding:10px 18px;background:#fff;border-bottom:1px solid #edeaf3;box-sizing:border-box}
 .mobile-wordmark{display:flex;align-items:center;color:#34415b;text-decoration:none;font-size:18px;letter-spacing:-.6px;gap:0}.mobile-wordmark>span{display:grid;place-items:center;width:34px;height:38px;margin-right:8px;border-radius:12px 12px 12px 3px;background:#7960d8;color:white;font-size:25px;font-weight:800;letter-spacing:-2px}
 .mobile-profile{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #e7e0f3;border-radius:24px;background:#f5f1fc;min-width:54px;min-height:44px;color:#7960ad}.mobile-profile>span,.mobile-profile img{display:block;width:34px;height:34px;border-radius:50%}.mobile-profile>svg{width:12px;height:12px}
 .mobile-bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:30;display:grid;grid-template-columns:repeat(var(--nav-count),minmax(0,1fr));gap:2px;padding:8px 6px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #e5dfef;border-radius:20px 20px 0 0;background:#fff;box-shadow:0 -5px 25px rgba(76,60,106,.07)}
 .mobile-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:53px;padding:6px 2px;border:0;border-radius:14px;background:transparent;color:#7b8497;min-width:0}
 .mobile-bottom-nav svg{width:23px;height:23px}.mobile-bottom-nav button>span{font-size:10px;line-height:1.3;font-weight:700;white-space:normal;text-align:center}
 .mobile-bottom-nav [aria-current],.mobile-bottom-nav .current-menu{background:#eee8fa;color:#7051a3}
 .teacher .mobile-bottom-nav [aria-current],.teacher .mobile-bottom-nav .current-menu{background:#e4f3ed;color:#367f71}
 .mobile-bottom-nav button:active,.mobile-menu-links button:active{filter:brightness(.97)}
 .dashboard-home>h1{font-size:26px;margin-bottom:20px}.dashboard-tiles{gap:12px;margin-bottom:24px}.dashboard-tile{min-height:125px;border-radius:23px;gap:12px}.dashboard-tile strong{font-size:17px;line-height:1.3}.dashboard-tile span{width:35px;height:35px}
 .dashboard-section{padding:16px;border-radius:24px}.dashboard-section>.section-title h2{font-size:22px}
 .progress-overview{padding:20px 15px}.dashboard-donut{width:200px;height:200px}.dashboard-donut>div{width:155px;height:155px}
 .student .account-grid,.teacher .account-grid{grid-template-columns:minmax(0,1fr)}
 .student .table-wrap,.teacher .table-wrap{max-width:100%;overflow-x:auto}
 .student .studio-content h1,.teacher .studio-content h1{overflow-wrap:anywhere}
}
.notice-list{display:grid;gap:18px;margin-top:24px}.notice-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px}.notice-item h2,.request-card h2{font-size:21px;margin:10px 0}.notice-item small,.request-card>small{color:#7d8799}.notice-unread{border:2px solid #cec0ed;background:#faf7ff}.notice-actions{display:flex;gap:10px;flex-wrap:wrap}.request-form,.request-card{padding:24px}.request-form .field,.request-card .field{display:block;margin-bottom:16px}.request-form textarea,.request-card textarea{width:100%;box-sizing:border-box;resize:vertical;border:1px solid #dcdfee;border-radius:12px;padding:12px;font:inherit;background:#fff;color:#34415b}.request-message,.request-reply p{white-space:pre-wrap;overflow-wrap:anywhere}.request-reply{padding:18px;background:#e9f4ef;border-radius:16px}.request-card .section-title{margin:0;gap:12px}.request-card h2{overflow-wrap:anywhere}@media(max-width:760px){.notice-item{align-items:stretch;flex-direction:column}.request-form,.request-card,.notice-item{padding:18px}.notice-actions .button{flex:1}}
/* Separate communication from learning and administration navigation. */
.sidebar-communication{border-top:1px solid #e8e1ef;margin-top:18px;padding-top:14px;display:grid;gap:6px}.sidebar-communication>small{padding:4px 12px 8px;color:#8a7f9c;font-size:11px;font-weight:700;letter-spacing:.4px}.studio-sidebar nav button>span:first-child svg{width:22px;height:22px;display:block}.mobile-communication-label{border-top:1px solid #e8e1ef;margin-top:10px;padding:16px 12px 6px;font-size:11px;color:#8a7f9c;font-weight:700}.notice-actions .button{display:flex;align-items:center;justify-content:center;gap:8px}.notice-actions svg{width:21px;height:21px;flex-shrink:0}.notice-item>div:first-child{min-width:0}.notice-item h2{overflow-wrap:anywhere}.mobile-sheet-avatar svg,.mobile-profile>span svg{width:100%;height:100%}
@media(max-width:760px){.studio.admin{display:block}.admin>.studio-sidebar{display:none!important}.admin>.studio-main{margin:0;width:100%;min-width:0}.admin .studio-top{display:none}.admin .studio-content{padding:20px 16px calc(100px + env(safe-area-inset-bottom));min-width:0}.admin .table-wrap{max-width:100%;overflow-x:auto}.admin .studio-content h1{overflow-wrap:anywhere}.admin .form-grid{grid-template-columns:minmax(0,1fr)}.notice-actions .button{font-size:13px;min-height:44px;flex-basis:100%}}
/* Quiet panel chrome and compact communication shortcuts. */
.admin .studio-sidebar{overflow-y:auto}.admin .sidebar-account{margin-top:auto}.admin .sidebar-account>.avatar{display:none}.admin .studio-sidebar>.logout-button{width:100%}
.teacher .sidebar-communication{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:14px}.teacher .sidebar-communication button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-width:0;padding:12px 5px;border-radius:16px;background:#f4f0fa;color:#74618e}.teacher .sidebar-communication button.active{background:#e8e0f4;color:#624788}.teacher .sidebar-communication svg{width:23px;height:23px}.teacher .sidebar-communication .communication-caption{font-size:11px;width:auto;height:auto;margin:0}
.unit-card{padding:0;overflow:hidden;border-radius:28px;box-shadow:0 3px 7px #39455d20;transition:transform .15s,box-shadow .15s}.unit-card:hover{transform:translateY(-2px);box-shadow:0 5px 12px #39455d25}.unit-card .unit-cover{border-radius:0;margin:0;height:auto;aspect-ratio:1.55;background:#eeeafa;padding:16px 20px}.unit-card .unit-cover img{padding:0;width:100%;height:100%;object-fit:contain}.unit-card>strong{padding:18px 52px 20px 24px;font-size:23px;line-height:1.3;background:white}.unit-go{right:24px;bottom:22px;font-size:24px}
.request-form{max-width:820px;margin:0 auto 32px;background:#faf8fe;border:1px solid #e7e0f1;border-radius:24px;padding:28px}.request-form h2{margin:0 0 10px;font-size:23px}.request-intro{color:#737e91;line-height:1.65;margin:0 0 24px}.request-form .field,.request-card .field{font-weight:600;line-height:1.5}.request-form input,.request-form textarea,.request-card textarea{display:block;margin-top:8px;font-weight:400;line-height:1.65;padding:13px 15px;border-radius:14px}.request-form input{width:100%;box-sizing:border-box}.request-form .button{margin-top:8px}.requests-list-title{font-size:24px;margin:32px 0 18px}.request-list{margin-top:0;gap:24px}.request-card{border-radius:24px;padding:28px;border:1px solid #e3e6ef;box-shadow:0 3px 12px #37425905}.request-card .section-title{align-items:flex-start}.request-card h2{font-size:22px;line-height:1.4;margin:0 0 10px}.request-card .badge{flex-shrink:0;font-size:12px;padding:8px 13px}.request-card>small{display:block;margin:0 0 22px}.request-message{background:#f5f3fa;border-radius:16px;padding:18px 20px;margin-bottom:18px;white-space:normal}.request-message>strong,.request-reply>strong{font-size:13px;color:#716386}.request-message p,.request-reply p{font-size:16px;line-height:1.8;margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.request-reply{padding:18px 20px;background:#eaf5f0}.request-reply>strong{color:#3e7b6a}.request-waiting{font-size:14px;color:#788299;padding:4px 0;margin:0}.request-card form{border-top:1px solid #ece8f2;padding-top:20px;margin-top:20px}.uploaded-content-focus{outline:3px solid #a796dc;outline-offset:-3px;background:#f0ebfc!important;scroll-margin:90px}.uploaded-content-focus td{background:transparent!important}
@media(max-width:600px){.request-form,.request-card{padding:20px 16px}.request-card .section-title{flex-wrap:wrap;gap:5px;margin-bottom:10px}.request-message,.request-reply{padding:16px}.request-card h2{font-size:20px}.unit-card>strong{font-size:21px}.unit-card .unit-cover{padding:14px}}

/* Compact, top-aligned unit cards: unequal title lengths must not move covers. */
.unit-cards{gap:20px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.unit-card{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;max-width:320px;width:100%;min-width:0;box-sizing:border-box;border-radius:23px;vertical-align:top}
.unit-card .unit-cover{width:100%;box-sizing:border-box;flex:none;aspect-ratio:1.55;height:auto;padding:14px 18px;background:#e2dcf2}
.unit-card>strong{font-size:17px;line-height:1.4;padding:14px 40px 16px 18px;min-height:76px;box-sizing:border-box;flex:1}
.unit-card .unit-go{font-size:20px;bottom:20px;right:17px}.unit-cover>span{font-size:56px}
.teacher .workspace-label{margin:22px 12px 12px}
.teacher .sidebar-communication{margin-top:10px;padding-top:10px;gap:8px}
.teacher .sidebar-communication button{flex-direction:row;padding:8px;gap:5px;min-height:38px;border-radius:12px}
.teacher .sidebar-communication svg{width:19px;height:19px;flex-shrink:0}
.teacher .sidebar-communication .communication-caption{font-size:10px;line-height:1.2}
.request-form>h2{margin-bottom:22px}
@media(min-width:1400px){.unit-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){.unit-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.unit-cards{grid-template-columns:minmax(0,1fr)}.unit-card{max-width:360px;justify-self:center}.unit-card>strong{font-size:17px}.unit-card .unit-cover{padding:14px 18px}}

/* Teacher communication shortcuts: labeled for assistive tools, icon-only visually. */
.teacher .sidebar-communication{display:flex;justify-content:center;gap:12px}
.teacher .sidebar-communication button{width:42px;height:42px;min-height:42px;flex:0 0 42px;padding:10px;border-radius:50%;background:#e2f2ed;color:#367f71;justify-content:center}
.teacher .sidebar-communication button:hover{background:#d8ebe4;color:#2d7164}
.teacher .sidebar-communication button.active{background:#d5eae2;color:#2d7164;box-shadow:inset 0 0 0 2px #8dbdad}
.teacher .sidebar-communication button:focus-visible{outline:2px solid #367f71;outline-offset:3px}
.teacher .sidebar-communication .communication-caption{display:none}
.teacher .sidebar-communication svg{width:22px;height:22px}

/* Small shortcuts between the teacher profile and sign-out. */
.teacher .studio-sidebar>.sidebar-communication{flex-shrink:0;border-top:0;margin:6px 0 0;padding:0;gap:10px;justify-content:center}
.teacher .studio-sidebar>.sidebar-communication button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;flex:0 0 34px;padding:8px;border:0;cursor:pointer}
.teacher .studio-sidebar>.sidebar-communication svg{width:18px;height:18px;flex-shrink:0}
.account-search{display:block;max-width:480px;margin:0 0 22px}.account-search input{display:block;width:100%;margin-top:8px;box-sizing:border-box}[data-account-row] select{min-width:150px;max-width:280px;padding:10px;border:1px solid #dedfea;border-radius:10px;background:white;color:#34415b}[data-account-note]{display:block;max-width:260px;line-height:1.5;color:#82749b;margin-top:8px}[data-account-row][hidden]{display:none}

.registration-illustration{display:block;width:100%;max-width:480px;height:auto;margin:36px auto 0}.registration-art h1{font-size:clamp(30px,3.2vw,47px)}
/* Clear player actions and compact, responsive upload choices. */
#activity-dialog header .button{width:auto;flex:0 0 auto;min-height:44px;height:auto;padding:10px 14px;font-size:14px;font-weight:750;gap:8px;white-space:nowrap}
#activity-dialog header .button::before{flex-shrink:0}
#activity-dialog #close-activity{background:#dff0e9;color:#25675b}
#activity-dialog #close-activity:hover{background:#d2e9e0}
.admin-add-content{display:flex;justify-content:center;margin:0 0 24px}
.upload-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:28px}
.upload-choice{display:flex;align-items:center;justify-content:center;gap:12px;padding:24px 16px;border:2px solid transparent;border-radius:22px;background:#eee8f8;color:#5f4b85;cursor:pointer;font:inherit}
.upload-choice:nth-child(2){background:#e2f0e9;color:#306b60}.upload-choice:nth-child(3){background:#e2edf8;color:#3b6587}
.upload-choice svg{width:30px;height:30px;flex-shrink:0}.upload-choice.selected{border-color:currentColor}.upload-choice:hover{filter:brightness(.98)}
.upload-choice:focus-visible{outline:3px solid #8261bb;outline-offset:3px}
.mobile-bottom-nav button span{overflow-wrap:anywhere}
@media(max-width:640px){.upload-choices{grid-template-columns:1fr;gap:10px}.upload-choice{padding:16px}.mobile-bottom-nav button span{font-size:10px}#activity-dialog header{flex-wrap:wrap;gap:6px}#activity-dialog header>div{flex:1 0 100%}#activity-dialog header .button{font-size:12px;padding:8px 12px;min-height:40px}#activity-dialog #activity-title{font-size:14px}#activity-dialog header .button::before{width:18px;height:18px}}

/* Keep player actions inside the viewport, including mobile safe areas. */
#activity-dialog #activity-surface{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
#activity-dialog #activity-surface>header{width:100%;max-width:100%;box-sizing:border-box;padding-left:max(20px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}
#activity-dialog #close-activity{margin-right:0}
/* One bounded toolbar row; the player receives exactly the remaining space. */
#activity-dialog[open]{overflow:hidden}
#activity-dialog #activity-surface{display:flex;flex-direction:column;overflow:hidden;min-height:0;height:100%;max-height:100%}
#activity-dialog #activity-surface>header{display:flex;flex-wrap:nowrap;flex:0 0 auto;min-height:52px;gap:8px;padding:6px max(12px,env(safe-area-inset-right)) 6px max(12px,env(safe-area-inset-left))}
#activity-dialog #activity-surface>header>div{flex:1 1 0;min-width:0;overflow:hidden}
#activity-dialog #activity-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#activity-dialog #activity-frame{display:block;flex:1 1 0!important;height:0!important;min-height:0!important;max-height:none;width:100%;max-width:100%;border:0;box-sizing:border-box}
#activity-dialog #tracked-media{flex:1 1 0!important;min-height:0!important;height:0;max-height:none!important;object-fit:contain}
#activity-dialog #youtube-player-host{flex:1 1 0!important;min-height:0!important;overflow:hidden}
#activity-dialog #youtube-player-frame{flex:1 1 0!important;height:0!important;min-height:0!important}
@media(max-width:640px){
 #activity-dialog #activity-surface>header .button{flex:0 0 40px;width:40px;height:40px;min-height:40px;padding:0;font-size:0;gap:0;border-radius:12px}
 #activity-dialog #activity-surface>header .button::before{width:21px;height:21px}
 #activity-dialog #activity-title{font-size:14px;line-height:20px}
}
@media(max-height:500px) and (min-width:641px){
 #activity-dialog #activity-surface>header{min-height:48px;padding-top:4px;padding-bottom:4px}
 #activity-dialog #activity-surface>header .button{min-height:36px;padding:7px 10px;font-size:12px}
 #activity-dialog #activity-title{font-size:14px}
}
/* Inline assignment workflow, shared soft card buttons, editable catalog names. */
.resource .resource-type{display:none}
.teacher .resource .resource-bottom .button{margin-left:auto;border-radius:18px;font-size:17px;min-height:50px;padding:12px 21px}
.assignment-source-group{padding:22px;border-radius:24px;margin-bottom:24px;background:#eaf0fa;color:#344e72}
.assignment-source-group.reinforcement-source{background:#e8f3ec;color:#345e4c}
.assignment-source-group.youtube-source{background:#f0eafa;color:#5b477a}
.assignment-source-group>h2{font-size:26px;font-weight:800;margin:0 0 18px;color:inherit}
.assignment-source-group details{background:#ffffffb8;border-radius:18px;margin:12px 0;overflow:hidden}
.assignment-source-group summary{padding:16px;font-size:18px;font-weight:750;cursor:pointer}
.assignment-content-items{padding:0 14px 14px}.assignment-content-entry{background:white;border-radius:16px;margin:10px 0;overflow:hidden;border:1px solid #e3e7ed}
.assignment-content-row{display:flex;align-items:center;gap:12px;padding:12px;min-width:0}
.assignment-content-row>.picker-thumb{width:54px;height:54px;flex:0 0 54px;border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.assignment-content-row .picker-thumb img{width:100%;height:100%;object-fit:contain}.assignment-content-row .generated-cover{padding:0;min-height:0;width:54px;height:54px}.assignment-content-row .generated-cover strong,.assignment-content-row .generated-cover small{display:none}.assignment-content-row .generated-cover>span{font-size:26px}
.assignment-content-title{flex:1;min-width:0}.assignment-content-title strong{display:block;font-size:16px;overflow-wrap:anywhere}.assignment-content-title small{display:block;font-size:12px;margin-top:4px;color:#748196}
.assignment-row-actions{display:flex;flex-shrink:0;gap:8px}.assignment-row-actions .button{white-space:nowrap}
.inline-assignment-form{padding:18px;border-top:1px solid #e1e7ef;background:#fafbff}.inline-assignment-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.inline-assignment-form [role=status]{font-size:14px;margin:12px 0 0}
.rename-name-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin:12px 0}.rename-name-form .field{margin:0;min-width:0}.rename-name-form input{width:100%;min-width:0;box-sizing:border-box}.rename-name-form [role=status]{grid-column:1/-1;font-size:12px;color:#9d3b51}.editable-unit-list{list-style:none;padding:0}.editable-unit-list li{padding:10px 0;border-top:1px solid #e7e9f1}
@media(max-width:600px){.assignment-source-group{padding:14px}.assignment-source-group>h2{font-size:23px}.assignment-content-row{flex-wrap:wrap;gap:10px}.assignment-content-title{flex-basis:calc(100% - 70px)}.assignment-row-actions{width:100%;justify-content:flex-end}.assignment-row-actions .button{min-height:40px;padding:9px 14px}.inline-assignment-form{padding:14px}.inline-assignment-form .form-grid{grid-template-columns:1fr}.rename-name-form{grid-template-columns:1fr}.rename-name-form button{justify-self:start}}

.assignment-content-entry.is-previewed{border-color:#8f78bd;box-shadow:0 0 0 2px #bda9df66;background:#f7f3ff}
.assignment-content-entry.is-previewed>.assignment-content-row{background:#f1eafa}
.assignment-content-entry.is-previewed:focus{outline:2px solid #8f78bd;outline-offset:3px}
#activity-dialog #activity-surface.immersive-player{position:relative;padding:0;overflow:hidden}
#activity-dialog #activity-surface.immersive-player>header{display:none!important}
#activity-dialog #activity-surface.immersive-player>#activity-frame{flex:1 1 0!important;height:0!important;min-height:0!important;width:100%}
#exit-immersive-player{position:absolute;z-index:100;right:max(12px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:1px solid #ded7ee;border-radius:14px;background:#f5f0ffed;color:#654c8c;box-shadow:0 2px 10px #29344c22;cursor:pointer}
#exit-immersive-player[hidden]{display:none!important}#exit-immersive-player svg{width:24px;height:24px}#exit-immersive-player:hover{background:#eae1f8}#exit-immersive-player:focus-visible{outline:3px solid #8464b5;outline-offset:2px}
/* Preschool guidance and adult tools share the existing flat icon system. */
.listen-help{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:10px;background:#e9e3f6;color:#654a8d;border:0;border-radius:50%;cursor:pointer}.listen-help svg,.child-kind svg{width:24px;height:24px}.listen-help:focus-visible{outline:3px solid #7757a0;outline-offset:3px}
.child-greeting{display:flex;align-items:center;gap:14px;margin-bottom:24px}.child-greeting h1{font-size:clamp(24px,4vw,36px);flex:1;margin:0}.child-home-avatar img{width:76px;height:76px;border-radius:50%}.child-start-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.child-start{padding:20px;border-radius:28px;background:#e4f2ec}.child-start.tone-lilac{background:#eee8f8}.child-start h2{font-size:26px;margin:0 0 18px}.child-start>.button{margin-top:14px}.child-start svg{width:25px;height:25px}.child-explore{margin-top:26px}.child-explore .dashboard-tile{min-height:140px;font-size:20px}
.student .resource-art{position:relative}.child-kind{position:absolute;bottom:10px;left:10px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:#fffefaee;color:#654a8d;border-radius:14px}.student .resource-body>.listen-help{float:right}.child-progress{margin:12px 0;color:#39695b}.child-progress-steps{display:flex;gap:8px;margin-top:10px}.child-progress-steps i{width:23px;height:23px;border:2px solid #9bc4b6;background:#f3faf6;border-radius:50%}.child-progress-steps i.filled{background:#7ab89f}.child-percent{font-size:12px;margin-top:8px}.child-percent summary{cursor:pointer}
.child-achievements{padding:24px;border-radius:26px;background:#e6f3ec}.child-achievements>svg{width:60px;height:60px;color:#4f8b76}.achievement-path{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:16px;margin-top:20px}.achievement-stop{padding:16px;border-radius:20px;background:#f5f6fa;color:#7b8290;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}.achievement-stop svg{width:40px;height:40px}.achievement-stop.finished{background:#cde9dc;color:#356b56}.adult-details{margin:24px 0;padding:18px;border-radius:20px;background:#f3f0f8}.adult-details>summary{font-size:17px;cursor:pointer;font-weight:700}.student .account-grid{grid-template-columns:1fr}.adult-details .panel{margin-top:18px}.student .account-details{margin-top:18px}
.learning-metadata{display:block;color:#4a7267!important;line-height:1.5;margin-top:6px}.previous-assignment{display:block;color:#776595!important}.draft-toolbar,.page-controls,.notice-bulk{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.page-controls{justify-content:center}.notice-select{display:flex;gap:8px;align-items:center}.notice-select input{width:20px;height:20px}.learning-meta-fields{margin-top:22px;border:1px solid #ded9eb;border-radius:18px;padding:16px}.learning-meta-fields legend{font-weight:700}.teacher-content-search{margin:20px 0}.student .unread-assignments{font-size:18px}.child-player-control{min-width:44px!important;min-height:44px!important}.teacher .assignment-content-entry[hidden]{display:none}
@media(max-width:700px){.child-start-grid{grid-template-columns:1fr;gap:18px}.child-start{padding:16px}.child-greeting{gap:10px}.child-home-avatar img{width:58px;height:58px}.child-explore{grid-template-columns:repeat(2,minmax(0,1fr))}.child-explore .dashboard-tile{padding:18px 10px;font-size:17px}.notice-bulk .button{width:100%}}
.child-start-art{display:flex;align-items:center;justify-content:center;height:160px;margin:20px 0;background:#d4e9df;border-radius:24px;color:#4d8c73}.child-start-art svg{width:90px;height:90px}.child-start>.button{background:#cde5d9;color:#2c5d4d}.unread-assignments>svg{width:28px;height:28px;flex-shrink:0}.cover-flat-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#756297}.cover-flat-fallback svg{width:76px;height:76px}

.child-title-icon{display:inline-flex;vertical-align:middle;margin-right:9px}.child-title-icon svg{width:25px;height:25px}.achievement-stop{border:0;font:inherit;cursor:pointer}.achievement-stop:hover{filter:brightness(.98)}.achievement-stop:focus-visible{outline:3px solid #8062ad;outline-offset:3px}

/* Bound the modal to its containing viewport, excluding scrollbar width. */
#activity-dialog[open],#activity-dialog.expanded-player{inset:0!important;width:auto!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;scrollbar-gutter:auto;box-sizing:border-box}
#activity-dialog #activity-surface,#activity-surface:fullscreen{min-width:0!important;max-width:100%!important;width:100%!important;overflow:hidden;box-sizing:border-box}
#activity-dialog #activity-surface>header{min-width:0;max-width:100%;box-sizing:border-box;padding-right:max(20px,env(safe-area-inset-right))!important;padding-left:max(12px,env(safe-area-inset-left))!important}
#activity-dialog #activity-frame,#activity-dialog #tracked-media,#activity-dialog #youtube-player-host,#activity-dialog #youtube-player-frame{min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box}

/* UX iyileştirmeleri · 2026-11-23 */
.dashboard-tile.is-empty{opacity:1;cursor:help;background:#f4f5f8!important;color:#9aa1b1!important;border:2px dashed #dde1ea;filter:none;transform:none}
.dashboard-tile.is-empty span{opacity:.55}
.dashboard-tile.is-empty:hover{filter:none;transform:none;border-color:#c9cfdb}
.tile-empty-note{font-size:12px;font-weight:600;letter-spacing:.2px;color:#9aa1b1;background:#fff;border-radius:999px;padding:3px 10px}
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 28px}
.dashboard-heading h1{margin:0}
.dashboard-primary-action{font-size:15px;padding:13px 22px;border-radius:12px;white-space:nowrap}
.unit-card .unit-lock-hint{display:block;padding:0 18px 16px;font-size:13px;line-height:1.4;color:#8a6d2f;text-align:left}
.teacher .studio-sidebar nav button{font-size:14px;color:#5d6880;padding:13px 12px}
.teacher .studio-sidebar nav button>span:first-child svg{width:22px;height:22px}
.teacher .workspace-label{font-size:10px}
@media(max-width:850px){.teacher .studio-sidebar nav button{font-size:13px}}
@media(max-width:600px){.dashboard-heading{flex-wrap:wrap;margin-bottom:20px}.dashboard-primary-action{font-size:14px;padding:11px 16px}.tile-empty-note{font-size:11px}}
.join-panel{padding:18px 22px;margin:0 0 20px;background:#fff}
.join-panel summary{cursor:pointer;font-weight:700;font-size:15px;color:#2f7d70}
.join-panel p{font-size:14px;line-height:1.6;color:#4f5a70;margin:12px 0 0}
.join-code-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.join-code{font-size:20px;font-weight:800;letter-spacing:1.5px;padding:8px 14px;border-radius:10px;background:#e8f5f1;color:#256e62}
.join-panel .join-note{font-size:12px;color:#8a92a5}
.student-toolbar{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin:0 0 16px}
.student-toolbar .field{display:grid;gap:6px;font-size:12px;color:#6b7489}
.student-search input{min-width:240px}
.student-toolbar input,.student-toolbar select{border:1px solid #dfe3ec;border-radius:9px;padding:10px 12px;font-size:14px;background:#fff}
.student-count{margin-left:auto;font-size:13px;color:#7c849a;padding-bottom:10px}
.student-search-empty{margin-top:12px}
@media(max-width:600px){.student-search input{min-width:0;width:100%}.student-toolbar .field{flex:1 1 100%}.student-count{margin-left:0;padding:0}}
.studio-content h1+.join-panel{margin-top:14px}
@media(max-width:600px){
.table-wrap:has(tr[data-student-name]) thead{display:none}
.table-wrap:has(tr[data-student-name]) table,.table-wrap:has(tr[data-student-name]) tbody{display:block;width:100%}
tr[data-student-name]{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:14px 16px;border-bottom:1px solid #f0f2f7}
tr[data-student-name] td{padding:0;border:0;font-size:13px;color:#6b7489}
tr[data-student-name] td:nth-child(1){grid-column:1;font-size:15px;color:#253047}
tr[data-student-name] td:nth-child(5){grid-column:2;grid-row:1/span 4;align-self:center}
tr[data-student-name] td:nth-child(3)::before{content:'İlerleme: '}
tr[data-student-name] td:nth-child(4)::before{content:'Son çalışma: '}
}
.card-progress{display:grid;gap:6px;margin:12px 0}
.card-progress-bar{height:10px;border-radius:999px;background:#eef1ee;overflow:hidden}
.card-progress-bar>span{display:block;height:100%;border-radius:inherit;background:#7ab89f;transition:width .3s}
.card-progress-label{font-size:13px;font-weight:700;color:#5b6b66}
.card-progress-new .card-progress-label{color:#8a92a5;font-weight:600}
.card-progress-done .card-progress-label{color:#2f8a6f}
.curriculum-assignment-actions{margin-top:16px!important;padding-top:12px;border-top:1px solid #eef0f5}
.curriculum-assignment-actions [data-assignment-op="cancel"]{border:0;background:none;color:#b4545a;font-size:12px;font-weight:600;padding:6px 8px;text-decoration:underline;text-underline-offset:3px}
.curriculum-assignment-actions [data-assignment-op="cancel"]:hover{color:#8f2f36;background:#fdf1f2;border-radius:8px}
.tracking-tabs{display:flex;gap:8px;margin:0 0 20px;flex-wrap:wrap}
.tracking-tabs .chip{font-size:14px;padding:10px 16px;border-radius:10px}
.teacher .tracking-tabs .chip.chosen{background:#309e8f;border-color:#309e8f;color:#fff}
.curriculum-assignment-grid .card-progress-label{display:none}

/* Görevler: son gün ve gecikme durumları · 2026-11-24 */
.due-chip{display:inline-flex;align-items:center;gap:6px;margin:8px 0 2px;padding:4px 10px;border-radius:999px;font-size:13px;font-weight:600;line-height:1.3;background:#EEEDFE;color:#3C3489}
.due-chip.due-soon{background:#FAEEDA;color:#854F0B}
.due-chip.due-overdue{background:#FCEBEB;color:#A32D2D}
.due-chip.due-done{background:#E1F5EE;color:#085041}
.due-chip.due-late-done{background:#FAEEDA;color:#633806}
.badge.status-overdue{background:#FCEBEB;color:#A32D2D}
.badge.status-late-done{background:#FAEEDA;color:#633806}
.badge.status-done{background:#E1F5EE;color:#085041}
.homework-group-overdue>h2{color:#A32D2D}
.homework-group-overdue .resource{border-color:#F09595}
.late-count{color:#A32D2D;font-weight:700}
.due-edit{display:flex;align-items:center;gap:8px;font-size:13px;color:#5f6b80;margin:0 0 8px}
.due-edit input{border:1px solid #dfe3ec;border-radius:8px;padding:6px 8px;font-size:13px}
.curriculum-reinforcement-option{border:0;padding:12px 0 4px;margin:12px 0 0;border-top:1px solid #eef0f5;display:grid;gap:8px}
.curriculum-reinforcement-option legend{font-weight:700;font-size:14px;padding:0}
.curriculum-reinforcement-option small{color:#7c849a;line-height:1.5}
.unread-assignments.unread-late{background:#FCEBEB;color:#A32D2D;border-color:#F09595}
.curriculum-assignment-actions{flex-direction:column;align-items:center}
.curriculum-reinforcement-option{flex:1 0 100%;width:100%}
/* Dil seçici (TR/EN) */
.lang-switch{display:inline-flex;gap:2px;padding:3px;border:1px solid #e3e6ee;border-radius:999px;background:#fff}
.lang-switch button{border:0;background:transparent;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:700;color:#6b6f86;cursor:pointer}
.lang-switch button.active{background:#7354a1;color:#fff}
.login-card{position:relative}
.login-card>.lang-switch{position:absolute;top:20px;right:20px;margin:0}
.login-card>.lang-switch button{padding:5px 10px;font-size:11px}
.registration-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.account-lang{display:flex;align-items:center;gap:10px;font-size:13px;color:#6b6f86}
html[lang=en] .unit-progress summary:after{content:'Show details ▾'}
html[lang=en] .unit-progress[open] summary:after{content:'Hide details ▴'}
html[lang=en] tr[data-student-name] td:nth-child(3)::before{content:'Progress: '}
html[lang=en] tr[data-student-name] td:nth-child(4)::before{content:'Last activity: '}
/* Öğretmenin eklediği video/belge */
.curriculum-cover.cover-teacher{background:#dff1ea;color:#2f6b58}
.curriculum-assignment-grid .resource[data-card-type="teacher"]{--card-surface:#d3ebe1;--card-ink:#2f6b58}
.teacher-owned-tag{display:inline-block;margin:2px 0 8px;padding:3px 9px;border-radius:999px;background:#e3f2ec;color:#2f6b58;font-size:11px;font-weight:700}
.teacher-content-remove{color:#b0413e;font-size:12px}
.teacher-content-dialog{width:min(560px,94vw);padding:26px;border:0;border-radius:20px;background:#fff}
.teacher-content-dialog h2{font-size:20px;margin:0 0 6px}
.teacher-content-where{font-size:13px;color:#5d6478;line-height:1.6;margin:0 0 14px}
.teacher-content-dialog .field{margin-top:14px}
.teacher-content-dialog .field small{color:#6b6f86;font-size:11px;line-height:1.5}
.teacher-content-kind{display:flex;gap:18px;border:0;padding:0;margin:0}
.teacher-content-kind legend{font-size:12px;color:#657e6d;margin-bottom:6px}
.teacher-content-kind label{display:flex;gap:6px;align-items:center;font-size:14px}
.teacher-content-buttons{display:flex;gap:10px;margin-top:16px}
#teacher-content-status{font-size:12px;color:#ac463f;min-height:1em;margin:10px 0 0}
.embed-open-link{display:inline-block;margin:8px 25px 14px;font-size:12px}
.category-grid button[data-unitcategory=teacher],.unit-content-group[data-contentcategory=teacher]{--tile-bg:#e3f3ee;--tile-hover:#d9eee6;--tile-selected:#cbe6dc;--tile-ink:#2f6b58;}
.teacher-image-cover{position:relative;overflow:hidden}
.teacher-image-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tracked-image{display:block;max-width:100%;max-height:min(70vh,760px);margin:0 auto;object-fit:contain;background:#fff}
#activity-dialog header #print-image::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V3h12v6M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2M6 14h12v7H6Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V3h12v6M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2M6 14h12v7H6Z'/%3E%3C/svg%3E")}
/* Ünite tür kutuları: uzun tek kelimelik adlar (ör. "Öğretmenimden") kutudan taşmasın, gerekirse yazı küçülsün. */
.category-grid button[data-unitcategory]{min-width:0}
.category-grid button[data-unitcategory] .tile-label{display:block;font:inherit;line-height:1.25;overflow-wrap:normal;word-break:keep-all;hyphens:manual}
/* Eklediklerim */
.my-content-filters{margin:6px 0 18px}
.chip-count{display:inline-block;margin-left:6px;padding:0 7px;border-radius:999px;background:#ffffffb3;font-size:11px}
.my-content-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.my-content-row{display:grid;grid-template-columns:56px minmax(0,1fr) 90px 100px auto;align-items:center;gap:16px;background:#fff;border:1px solid #e5e8ef;border-radius:16px;padding:12px 16px}
.my-content-icon{position:relative;width:56px;height:56px;border-radius:12px;display:grid;place-items:center;overflow:hidden;background:#dff1ea;color:#2f6b58}
.my-content-icon.cover-video{background:#dcebf7;color:#396683}
.my-content-icon svg{width:28px;height:28px}
.my-content-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.my-content-main{min-width:0}.my-content-main strong{display:block;font-size:15px;overflow-wrap:anywhere}
.my-content-where{display:block;margin-top:4px;color:#6b6f86;font-size:12px}
.my-content-kind,.my-content-tasks{font-size:12px;color:#4d5468}
.my-content-kind{justify-self:start;padding:3px 10px;border-radius:999px;background:#eef1f6;font-weight:700}
.my-content-actions{display:flex;align-items:center;gap:12px}
.my-content-empty p+p{margin-top:6px}
@media(max-width:760px){.my-content-row{grid-template-columns:48px minmax(0,1fr);gap:10px 12px}.my-content-icon{width:48px;height:48px}.my-content-kind,.my-content-tasks{grid-column:2}.my-content-kind{display:inline-block}.my-content-actions{grid-column:1/-1;justify-content:flex-end}}
/* Panel onay penceresi */
.panel-ask{width:min(480px,92vw);padding:28px;border:0;border-radius:22px;background:#fff;box-shadow:0 20px 60px #1f243340;text-align:center}
.panel-ask::backdrop{background:#1f243366}
.panel-ask h2{margin:0 0 8px;font-size:20px;line-height:1.35;color:#1f2433;overflow-wrap:anywhere}
.panel-ask-text{margin:0 0 6px;color:#5d6478;font-size:14px;line-height:1.6}
.panel-ask-input{width:100%;margin-top:10px;padding:12px;border:1px solid #d8deea;border-radius:12px;font:inherit;font-size:15px}
.panel-ask-buttons{display:flex;gap:12px;justify-content:center;margin-top:20px;flex-wrap:wrap}
.panel-ask-buttons .button{min-height:48px;padding:0 22px;font-size:15px}
.panel-ask-danger{background:#e5484d!important;color:#fff!important}
/* Öğretmenin öğrenci kaydı */
.student-register-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.student-register-dialog{width:min(520px,94vw);padding:26px;border:0;border-radius:20px;background:#fff;box-shadow:0 20px 60px #1f243340}
.student-register-dialog::backdrop{background:#1f243366}
.student-register-dialog h2{margin:0 0 6px;font-size:22px}
.student-register-note{margin:0 0 10px;color:#5d6478;font-size:14px;line-height:1.6}
.student-register-dialog .field{margin-top:14px}
.student-register-dialog .field small{color:#6b6f86;font-size:12px;line-height:1.5}
.student-register-pass{display:flex;gap:8px}.student-register-pass input{flex:1;min-width:0;font-family:ui-monospace,Menlo,monospace;font-size:16px}
.student-register-pass .button{white-space:nowrap}
.student-register-code{font-family:ui-monospace,Menlo,monospace;font-size:18px;letter-spacing:3px;text-transform:uppercase}
.student-register-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.student-register-done{text-align:center}
.student-register-check{width:64px;height:64px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;background:#e3f6ea;color:#2f9e44;font-size:34px;font-weight:800}
.student-register-done>p{color:#5d6478;font-size:14px;line-height:1.6}
.student-register-credentials{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;margin:14px 0;padding:16px 18px;border-radius:14px;background:#f4f1fe;text-align:left}
.student-register-credentials dt{color:#6b6f86;font-size:14px}
.student-register-credentials dd{margin:0;font-weight:800;font-size:17px;font-family:ui-monospace,Menlo,monospace;overflow-wrap:anywhere}
.student-register-mail.ok{color:#2f7a45}.student-register-mail.warn{color:#b0413e}
.student-register-done .student-register-buttons{justify-content:center}
/* Ünite geri butonu ve şifre yenileme mesajları */
.studio .text-button.unit-back,.text-button.unit-back{display:inline-flex;align-items:center;gap:8px;min-height:50px;padding:12px 24px 12px 18px;margin-bottom:22px;border:1.5px solid color-mix(in srgb,var(--accent) 35%,#fff);border-radius:14px;background:color-mix(in srgb,var(--accent) 7%,#fff);color:var(--accent);font-size:17px;font-weight:700;box-shadow:0 2px 8px #25304710;transition:background .15s,transform .15s}
.studio .text-button.unit-back:hover{background:color-mix(in srgb,var(--accent) 14%,#fff)}
.text-button.unit-back:active{transform:scale(.97)}
.recovery-done{display:grid;gap:8px;margin:18px 0 4px;padding:16px 18px;border-radius:12px;background:#e9f6ef;border:1px solid #bfe3cf;color:#2f5d48;font-size:13px;line-height:1.55}
.recovery-done strong{font-size:15px;color:#1f7a55}
.recovery-done .recovery-mail{font-weight:700;word-break:break-all;color:#253047}
.recovery-done .text-button{justify-self:start;padding:4px 0;font-size:12px}
#recovery-status.error:empty{display:none}
