/* Scoped home presentation; the shared schedule styles are also used on exam details. */
.home255-page{--home255-ink:#12364d;--home255-teal:#087c83;--home255-line:#dce8ee}
.home255-hub{clear:both;margin:18px 0 28px;color:var(--home255-ink,#12364d)}
.home255-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0 24px}
.home255-intro small{font:700 10px/1.4 system-ui;letter-spacing:.16em;color:#087c83}
.home255-intro h2{font-size:clamp(19px,2vw,26px);margin:7px 0}.home255-intro p{margin:0;color:#526e7f;font-size:14px}.home255-intro img{width:70px;height:70px;object-fit:contain}
.home255-group{margin-bottom:24px}.home255-group>h3{font-size:16px;display:flex;align-items:center;gap:10px;margin:0 0 13px}.home255-group>h3:before{content:'';width:5px;height:19px;border-radius:4px;background:#079aa0}
.home255-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.home255-tile{appearance:none;width:100%;min-width:0;aspect-ratio:1/1;min-height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;padding:16px 9px;border:1px solid #dce8ee;border-radius:21px;background:#fff;color:#14394f;font-family:inherit;cursor:pointer;box-shadow:0 4px 14px #153c5005;transition:transform .16s,border-color .16s,box-shadow .16s}
.home255-tile:hover{transform:translateY(-3px);border-color:#38a0a7;box-shadow:0 9px 22px #153c5012}.home255-tile strong{font-size:14px;line-height:1.5}.home255-tile small{font-size:11px;line-height:1.6;color:#536f7e;max-width:95%}
.home255-tile-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:#eaf6f6;color:#087c83}.home255-tile svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.home255-tile-lessons{background:linear-gradient(150deg,#123b56,#086f78);border-color:#086f78;color:white}.home255-tile-lessons small{color:#d4eef0}.home255-tile-lessons .home255-tile-icon{background:#ffffff1f;color:white}
.home255-tile-homework .home255-tile-icon,.home255-tile-exams .home255-tile-icon{background:#fff3dc;color:#9b6410}
.home255-tile-results .home255-tile-icon,.home255-tile-teams .home255-tile-icon{background:#f0edfc;color:#6c50a8}
.home255-tile-voice.on{border-color:#cc2852;background:#fff0f3}.home255-tile-voice.on .home255-tile-icon{background:#cc2852;color:#fff}
.home255-dialog{box-sizing:border-box;border:1px solid #dbe6ec;border-radius:23px;padding:0;width:min(840px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:88vh;max-height:88dvh;background:#f8fbfd;color:#12364d;box-shadow:0 24px 80px #102c4660;overflow:auto;font-family:inherit}
.home255-dialog::backdrop{background:#102c4680;backdrop-filter:blur(4px)}.home255-dialog>header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 22px;background:#fff;border-bottom:1px solid #dce8ee}.home255-dialog>header h2{margin:0;font-size:20px}.home255-dialog>header button{flex:none;width:38px;height:38px;border:0;border-radius:12px;background:#eaf0f5;color:#183a50;font-size:25px;cursor:pointer}.home255-dialog-body{padding:22px;line-height:1.9;overflow-wrap:anywhere}.home255-dialog-body .section{margin:0 0 16px}.home255-dialog-body .btn{margin:5px 0}.home255-dialog-body .subscription-state,.home255-dialog-body .sheikh-book-card{margin:0 0 18px;flex-wrap:wrap}.home255-dialog-body .pf182-pillars{grid-template-columns:repeat(3,minmax(0,1fr))}
.home255-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}.home255-links a{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #dce8ee;border-radius:14px;background:#fff;color:#173f56;text-decoration:none;line-height:1.6;font-size:14px}.home255-links a:hover{border-color:#15949a;background:#edf9f8}.home255-links svg{flex:none;width:23px;height:23px;fill:none;stroke:#087c83;stroke-width:1.6}.home255-links a b{margin-inline-start:auto}.home255-links a[href="homework.php"]{background:#087c83;color:#fff}.home255-links a[href="homework.php"] svg{stroke:#fff}
.home255-exam{display:flex;align-items:center;gap:18px;padding:20px!important;margin:15px 0!important;border:1px solid #e7c876!important;border-inline-start:5px solid #d69e27!important;border-radius:20px!important;background:linear-gradient(110deg,#fffaf0,#fff)!important;color:#153c52}.home255-exam-icon{font-size:32px;flex:none}.home255-exam-copy{flex:1;min-width:0}.home255-exam-copy>small{color:#8a5c13;font-size:11px;font-weight:700;letter-spacing:.03em}.home255-exam h2{font-size:20px;margin:5px 0 9px}.home255-exam p{font-size:13px;margin:6px 0}.home255-exam .btn{flex:none}.home255-schedule{display:flex;flex-direction:column;gap:6px;margin:10px 0}.home255-schedule>strong,.home255-exam-day{font-size:19px!important;color:#143e57;font-weight:800}.home255-schedule>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.home255-schedule span{display:inline-flex;gap:8px;align-items:center;color:#526371;font-size:13px}.home255-schedule b{color:#0b6170;font-size:18px;white-space:nowrap}.home255-schedule i{color:#9baeb5}.home255-schedule>small{font-size:11px;color:#607483}
.home255-package-alert{display:block;width:100%;text-align:start;cursor:pointer;padding:13px 17px;background:#fff6e2;border:1px solid #e4c586;border-radius:14px;color:#735015;font:700 14px/1.7 inherit;margin:12px 0}
.home255-ready .dashboard-teacher-hero{display:flex;min-height:0!important;max-width:none;padding:18px 22px!important;margin:15px 0!important;border-radius:20px}.home255-ready .dashboard-teacher-hero .hero-content{padding:0!important;flex:1}.home255-ready .dashboard-teacher-hero h2{font-size:21px!important;line-height:1.5;margin:0!important}.home255-ready .dashboard-teacher-hero .hero-kicker,.home255-ready .dashboard-teacher-hero p,.home255-ready .dashboard-teacher-hero .hero-actions,.home255-ready .dashboard-teacher-hero .hero-meter{display:none}.home255-ready .dashboard-teacher-hero .hero-visual{width:60px!important;height:60px!important;min-height:0!important;flex:0 0 60px;overflow:hidden;border-radius:16px;position:relative!important;inset:auto!important}.home255-ready .dashboard-teacher-hero img{width:100%!important;height:100%!important;object-fit:cover;position:static!important}
.home255-ready .home-badge199{margin:12px 0}.home255-ready .home-badge199 .bd194-card{padding:13px 18px!important;min-height:0}.home255-ready .home-badge199 .bd194-medal{font-size:38px}.home255-ready .home-badge199 .bd194-card strong{font-size:18px}.home255-ready .broadcast-bar{padding:12px 16px!important}.home255-ready .broadcast-bar>span{display:none}
.home255-page .student-support-fab[hidden]{display:none!important}
.home255-tile:focus-visible,.home255-links a:focus-visible,.home255-dialog button:focus-visible,.home255-package-alert:focus-visible{outline:3px solid #e2a52b;outline-offset:3px}
@media(max-width:1200px){.home255-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.home255-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.home255-tile{padding:12px 6px;min-height:133px;border-radius:17px}.home255-tile strong{font-size:13px}.home255-tile small{font-size:10px}.home255-intro img{width:50px;height:50px}.home255-dialog-body{padding:15px}.home255-links{grid-template-columns:1fr}.home255-dialog-body .pf182-pillars{grid-template-columns:1fr}.home255-exam{flex-wrap:wrap;padding:16px!important;gap:10px}.home255-exam-icon{display:none}.home255-exam-copy{flex-basis:100%}.home255-exam .btn{width:100%;text-align:center}.home255-schedule>strong{font-size:17px!important}.home255-schedule b{font-size:17px}.home255-dialog>header{padding:13px 16px}.home255-dialog>header h2{font-size:18px}.home255-dialog-body .daily-wisdom-grid{grid-template-columns:1fr}}
@media(max-width:380px){.home255-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home255-schedule>div{gap:6px}}
@media(prefers-reduced-motion:reduce){.home255-tile{transition:none}.home255-tile:hover{transform:none}}

/* V265: quieter, scoped home; no shared admin/live layout changes. */
.home255-page{background:#f3f7fb}
.home255-page .home255-hub{max-width:1260px;margin-inline:auto}
.home255-page .home255-intro{padding:24px 28px;border:1px solid #dce9ee;border-radius:24px;background:linear-gradient(115deg,#e8f5f2,#fff 70%)}
.home255-page .home255-group{padding:20px;background:#ffffff8c;border:1px solid #e2ebf0;border-radius:24px;margin-bottom:18px}
.home255-page .home255-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.home255-page .home255-tile{aspect-ratio:auto;min-height:140px;border-radius:18px;box-shadow:none}
.home255-page .home255-tile-icon{width:48px;height:48px;border-radius:16px}
.home255-page .home255-group:nth-of-type(3) .home255-tile-icon{background:#f1edfa;color:#7455a3}
.home255-page .home255-group:nth-of-type(4) .home255-tile-icon{background:#eaf3fc;color:#367aa9}
.home255-page .home255-tile small{font-size:10px;line-height:1.5;min-height:30px;display:block}
.home255-page .home255-welcome{display:none!important}
.home265-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;font-size:12px;color:#557183}.home265-footer a{color:#126874;font-weight:700}
.home255-page .student-support-fab,.home255-page .student-book-float{display:none!important}
@media(max-width:1100px){.home255-page .home255-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.home255-page .home255-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.home255-page .home255-group{padding:12px}.home255-page .home255-tile{min-height:116px;padding:10px 5px}.home255-page .home255-intro{padding:18px}.home255-page .home255-tile strong{font-size:12px}.home265-footer{flex-wrap:wrap}}
@media(max-width:380px){.home255-page .home255-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.home255-page [data-chatbot-launcher],.home255-page [data-chatbot-restore]{display:none!important}

/* V266: focus on existing home content, not a duplicate navigation menu. */
.home255-page .home255-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}
.home255-page .home255-tile{min-height:152px;position:relative;overflow:hidden;border-color:transparent}
.home255-page .home255-tile-news{background:#e9f4ff;color:#195788}.home255-page .home255-tile-news .home255-tile-icon{background:#cce6ff;color:#195788}
.home255-page .home255-tile-overdue{background:#fff1e4;color:#8a451a}.home255-page .home255-tile-overdue .home255-tile-icon{background:#ffdcba;color:#8a451a}
.home255-page .home255-tile-missed{background:#fcecf0;color:#963b54}.home255-page .home255-tile-missed .home255-tile-icon{background:#f8d3dd;color:#963b54}
.home255-page .home255-tile-faith{background:#e6f7ef;color:#1d7156}.home255-page .home255-tile-growth{background:#edf3ff;color:#425a9c}.home255-page .home255-tile-star{background:#fff5d9;color:#88621a}
.home255-page .home255-tile-star .home255-tile-icon{background:#f9e5a7;color:#88621a}
.home255-page .home255-tile small{max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:inherit;opacity:.8}
.home255-dialog-body [data-home255-slot=faith] .daily-wisdom-card,.home255-dialog-body [data-home255-slot=growth] .daily-wisdom-card{min-height:220px;position:relative;border-radius:20px;padding:24px;overflow:hidden}
.home255-dialog-body .home255-exam{flex-wrap:wrap}.home255-dialog-body .home255-exam-copy{flex-basis:100%}
.home255-dialog-body .home266-list{display:grid;gap:10px}.home266-item{border:1px solid #dbe7ee;background:white;padding:16px;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:14px;text-decoration:none;color:#17485c}.home266-item b{font-size:14px}.home266-item span{font-size:12px;color:#087c83}
@media(max-width:700px){.home255-page .home255-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home255-page .home255-tile{min-height:135px}}

/* V267: a daily briefing, with editorial content inside purpose-designed dialogs. */
.home255-page .home255-intro{background:transparent;border:0;padding:6px 4px 18px;margin-bottom:6px}.home255-page .home255-intro h2{font-size:26px}
.home255-page .home255-group{background:transparent;border:0;padding:14px 0;margin-bottom:6px}
.home255-page .home255-group>h3{font-size:15px;color:#4b6879;margin-bottom:14px}
.home255-page .home255-tile{border:1px solid #dae6ed;min-height:145px;box-shadow:0 4px 12px #12364d04}
.home255-page .home267-group-0 .home255-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.home255-page .home267-group-1 .home255-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.home255-page .home267-group-2 .home255-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.home255-page .home267-group-2 .home255-tile{min-height:132px;align-items:flex-start;text-align:start;padding:20px 24px}
.home255-page .home267-group-2 .home255-tile-icon{position:absolute;inset-inline-end:22px;top:22px;width:46px;height:46px}
.home255-page .home267-group-2 .home255-tile strong,.home255-page .home267-group-2 .home255-tile small{max-width:calc(100% - 56px)}
.home255-page .home267-group-3{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-top:1px solid #deE7ed;padding-top:20px}.home255-page .home267-group-3>h3{margin:0}.home255-page .home267-group-3 .home255-grid{display:flex;gap:10px;flex-wrap:wrap}.home255-page .home267-group-3 .home255-tile{min-height:0;width:auto;flex-direction:row;padding:9px 16px;border-radius:14px;gap:10px}.home255-page .home267-group-3 .home255-tile small{display:none}.home255-page .home267-group-3 .home255-tile-icon{width:30px;height:30px;background:transparent}.home267-attention:after{content:'';position:absolute;width:9px;height:9px;border-radius:50%;background:#dc8d22;top:12px;inset-inline-end:12px;box-shadow:0 0 0 4px #fcebcf}
.home255-dialog-body blockquote{font-size:clamp(20px,3vw,27px)!important;line-height:2!important;margin:18px 0!important;padding:0!important;text-align:center;white-space:pre-line}.home255-dialog-body .daily-wisdom-card{background:#edf8f3!important;color:#174c42!important;box-shadow:none!important}.home255-dialog-body .daily-wisdom-card.growth{background:#eef3ff!important;color:#344e85!important}.home255-dialog-body .wisdom-orbit{opacity:.15}.home255-dialog-body .weekly-star-card{display:flex;flex-wrap:wrap;justify-content:center;text-align:center;background:linear-gradient(135deg,#fff6d7,#fff)!important;padding:28px!important;border:1px solid #e8d59f!important;border-radius:22px}.home255-dialog-body .weekly-star-card h2{font-size:22px;line-height:1.8}.home255-dialog-body .announcement-card{display:block!important;padding:22px!important;border-radius:18px;border:1px solid #cddfec;background:#eef6ff;color:#153e60}.home255-dialog-body .announcement-card p{line-height:1.9}
.home267-detail-link{font:inherit;text-align:start;padding:16px;border:1px solid #dce8ee;background:white;border-radius:14px;color:#173f56;cursor:pointer}.home267-detail-link:hover{background:#edf9f8}
@media(max-width:850px){.home255-page .home267-group-0 .home255-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home255-page .home267-group-1 .home255-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home255-page .home267-group-2 .home255-grid{grid-template-columns:1fr}.home255-page .home267-group-2 .home255-tile{min-height:108px}.home255-page .home255-intro h2{font-size:22px}}
@media(max-width:480px){.home255-page .home267-group-0 .home255-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V268: explicit foreground colours override older white-on-dark card styles. */
.home255-page.home255-ready .dashboard-teacher-hero.home255-welcome{display:flex!important;background:linear-gradient(120deg,#10364f,#136e78)!important;color:#fff!important;min-height:180px!important;padding:26px 30px!important;gap:24px}
.home255-page.home255-ready .home255-welcome .hero-visual{display:block!important;width:140px!important;height:150px!important;flex:0 0 140px!important;border-radius:22px!important;border:3px solid #ffffff60}
.home255-page.home255-ready .home255-welcome h2{color:#fff!important;font-size:26px!important}.home255-page.home255-ready .home255-welcome .hero-content>p{display:block!important;color:#e0f1f5!important;font-size:14px;line-height:1.9;margin:12px 0 0}
.home255-dialog .weekly-star-card,.home255-dialog .weekly-star-card h2,.home255-dialog .weekly-star-card p,.home255-dialog .weekly-star-card p b{color:#263e50!important;text-shadow:none!important;opacity:1!important}
.home255-dialog .weekly-star-card h2 b{color:#805714!important}.home255-dialog .weekly-star-card small{color:#08706e!important;opacity:1!important;font-weight:700}.home255-dialog .weekly-star-card p span{color:#546373!important;opacity:1!important}.home255-dialog .weekly-star-card p>b{font-size:clamp(22px,4vw,32px)!important;display:block;line-height:1.8}.home255-dialog .weekly-star-badge{background:#f2d789!important;color:#66450a!important;border:2px solid #d4ad52!important}.home255-dialog .weekly-star-crown{background:#f7d56a!important;color:#70520c!important}
.home255-dialog .daily-wisdom-card blockquote{color:#174c42!important;text-shadow:none!important}.home255-dialog .daily-wisdom-card.growth blockquote{color:#344e85!important}.home255-dialog .daily-wisdom-card small{color:#496575!important}.home255-dialog .daily-wisdom-card button{background:#fff!important;color:#155669!important;border:1px solid #a9c5c7!important;padding:10px 16px;border-radius:12px}
.home255-dialog .home255-links a{min-height:64px;border-radius:16px;box-shadow:0 3px 12px #12364d06}.home255-dialog .home255-links a span{color:inherit!important}.home255-dialog .home255-links a[href="homework.php"]{background:#087c83!important;color:white!important}.home255-dialog .home255-links a[href="homework.php"] b{color:white!important}
.home255-dialog-body .announcement-card h3{color:#153e60!important}.home255-dialog-body .announcement-card p{color:#39566b!important}.home268-retry{padding:20px;background:#fff7e7;border:1px solid #e4c68c;border-radius:16px;color:#654c1b}.home268-retry .btn{display:inline-flex;margin:8px!important}.home255-dialog-body [aria-busy=true]{padding:24px;text-align:center;color:#275569;background:#edf5f8;border-radius:16px}
.home255-dialog-body{overscroll-behavior:contain}.home255-dialog-body>*{min-width:0}.home255-dialog-body .weekly-star-card>div{min-width:0;max-width:100%;overflow-wrap:anywhere}
@media(max-width:600px){.home255-page.home255-ready .dashboard-teacher-hero.home255-welcome{padding:20px!important;gap:15px;min-height:150px!important}.home255-page.home255-ready .home255-welcome .hero-visual{width:90px!important;height:110px!important;flex-basis:90px!important}.home255-page.home255-ready .home255-welcome h2{font-size:20px!important}.home255-dialog .weekly-star-card{padding:18px!important}.home255-dialog .weekly-star-card h2{font-size:18px!important}.home255-dialog .weekly-star-card p span{display:block;line-height:1.9}}
