/* Earthy Glass 1.5 — scoped to the home and monthly panels; existing classroom styles remain intact. */
body.home-canvas,body.glass-theme.home-canvas,body.dark.glass-theme.home-canvas{background:#dce0d6!important;color:#1d2c20!important;font-family:'Work Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}
body.home-canvas::before,body.home-canvas::after{display:none!important}
body.home-canvas .main-content,body.glass-theme.home-canvas .main-content{width:100%!important;max-width:none!important;margin:0!important;padding:12px 14px 0!important;box-sizing:border-box}
body.home-canvas .main-area{background:transparent!important}
.eg-earth-home{--ink:#223125;--muted:#536052;--olive:#41583a;--glass:rgba(247,248,239,.42);color:var(--ink);font-family:'Work Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;position:relative;isolation:isolate;min-height:calc(100dvh - 55px);padding:18px clamp(20px,3.1vw,56px) 12px;box-sizing:border-box;border:1px solid rgba(255,255,255,.84);border-radius:20px;overflow:hidden;background:linear-gradient(135deg,#e8e9e0 0%,#d9e0d6 45%,#e6e6d7 100%);box-shadow:0 8px 36px #43504412}
.eg-earth-home::before{content:'';position:absolute;z-index:-2;inset:-35px;background:linear-gradient(90deg,rgba(232,237,225,.82),rgba(236,239,225,.46)),url('assets/atelier-library.webp') center 48%/cover no-repeat;filter:blur(18px);opacity:.76;pointer-events:none}
.eg-earth-home::after{content:'';position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 10% 24%,#f5f3e8c9,transparent 42%),radial-gradient(ellipse at 80% 90%,#bfcbb98c,transparent 65%);pointer-events:none}
.eg-earth-home button,.eg-earth-home select,.eg-earth-home a,.eg-glass button{font-family:inherit;color:inherit;font-weight:500;text-transform:none;letter-spacing:normal;line-height:1.25;cursor:pointer;box-sizing:border-box}
.eg-earth-home button:focus-visible,.eg-earth-home select:focus-visible,.eg-earth-home a:focus-visible,.eg-glass button:focus-visible{outline:2px solid #497348;outline-offset:3px}
.eg-glass{color:#25332a;background:linear-gradient(140deg,rgba(255,255,250,.52),rgba(243,246,239,.23));border:1px solid rgba(255,255,255,.83);border-radius:16px;box-shadow:0 7px 22px rgba(44,55,39,.10),inset 0 1px 1px rgba(255,255,255,.65);-webkit-backdrop-filter:blur(22px) saturate(140%);backdrop-filter:blur(22px) saturate(140%)}
.eg-home-header{display:grid;grid-template-columns:1fr minmax(0,1.9fr) 1fr;align-items:center;gap:18px;min-height:54px;margin-bottom:16px}
.eg-faith{font-size:clamp(16px,1.5vw,24px);text-align:left;line-height:1.5;color:#344734;white-space:nowrap}
.eg-wordmark{display:flex;gap:13px;justify-content:center;align-items:center;font-size:clamp(21px,2.45vw,40px);letter-spacing:-.045em;font-weight:500;white-space:nowrap;color:#22382b}
.eg-wordmark b{font-weight:650;color:#956d26}.eg-wordmark-icon{width:39px;height:46px;display:grid;place-items:center;border-right:1px solid #56674f50;padding-right:12px;box-sizing:content-box}.eg-wordmark-icon svg{height:43px;width:36px}
.eg-home-date{display:flex;align-items:center;gap:9px;justify-content:flex-end;font-size:12px;white-space:nowrap}.eg-home-date time{display:block;font-weight:600;font-size:12px}.eg-home-date select{font-size:12px;background:transparent;border:0;padding:2px 0;max-width:145px;color:#40503c}.eg-home-date button{width:35px;height:35px;display:grid;place-items:center;border:1px solid #fff8;background:#ffffff4f;border-radius:9px}
.eg-home-nav{display:flex;justify-content:center;align-items:center;gap:4px;padding:5px;width:max-content;max-width:100%;margin:0 auto;position:relative;z-index:2;border-radius:15px}.eg-home-nav button{display:flex;align-items:center;gap:8px;background:transparent;border:0;border-radius:9px;white-space:nowrap;padding:10px clamp(9px,1.2vw,21px);font-size:14px}.eg-home-nav button:hover,.eg-home-nav button.is-active{background:#fcfdf9a8;box-shadow:0 2px 7px #43504318,inset 0 1px 1px white}.eg-home-nav button.is-active{font-weight:650}
.eg-home-hero{min-height:clamp(280px,23vw,410px);display:grid;grid-template-columns:44% 56%;position:relative;margin:8px -12px 15px;align-items:center;isolation:isolate}.eg-hero-scene{position:absolute;z-index:-1;inset:0 0 0 36%;background:url('assets/earthy-classroom.webp') center/cover no-repeat;mask-image:linear-gradient(to right,transparent 0%,#000 22%,#000 94%,transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 22%,#000 94%,transparent 100%);border-radius:12px;box-shadow:none}.eg-home-hero:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#e8ece0e6 0%,#e8ece094 32%,transparent 60%);pointer-events:none}
.eg-hero-copy{padding:20px 18px 22px clamp(20px,3.1vw,55px);max-width:650px}.eg-kicker{font-size:11px;font-weight:600;letter-spacing:.19em;color:#384a34;display:flex;align-items:center;gap:12px}.eg-kicker:before{content:'';width:26px;height:2px;background:#af8a40}.eg-hero-copy h1{font-size:clamp(32px,3.35vw,58px)!important;line-height:1.07!important;letter-spacing:-.052em!important;font-weight:580!important;margin:14px 0!important;color:#263a28!important;text-transform:none!important}.eg-hero-copy p{font-size:clamp(15px,1.17vw,19px)!important;line-height:1.45;color:#35453a!important;max-width:540px;margin:0 0 23px!important}.eg-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.eg-hero-actions button{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 17px;border-radius:11px;font-size:14px;white-space:nowrap}.eg-primary{background:linear-gradient(160deg,#6d8056,#334933);color:#fff!important;border:1px solid #f5f9e8a6;box-shadow:0 4px 12px #33493326}.eg-primary:hover{background:#425e3e}
.eg-home-metrics{display:grid;grid-template-columns:repeat(5,1fr) 1.3fr;margin:0 0 20px;padding:12px 10px;border-radius:14px}.eg-home-metrics button{display:flex;align-items:center;justify-content:center;gap:12px;padding:4px 10px;text-align:left;background:none;border:none;border-right:1px solid #53634e28;min-width:0}.eg-home-metrics button:last-child{border:0}.eg-home-metrics button:hover{background:#fff5;border-radius:6px}.eg-home-metrics svg{flex-shrink:0;color:#344c34}.eg-home-metrics button span{font-size:12px;display:block;min-width:0;color:#344034}.eg-home-metrics strong{display:block;font-size:19px;line-height:1.3;font-weight:620;color:#1f3527;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.eg-home-metrics .eg-metric-title{font-size:13px}
.eg-home-panels{display:grid;grid-template-columns:minmax(235px,.92fr) minmax(340px,1.25fr) minmax(290px,1fr);gap:18px;align-items:stretch}.eg-home-panels>section,.eg-report-grid>section{padding:19px 20px;min-width:0;box-sizing:border-box;min-height:275px}.eg-panel-title{display:flex;align-items:center;gap:10px;color:#25332a}.eg-panel-title svg{color:#ad8538;flex-shrink:0}.eg-panel-title h2{font:600 clamp(15px,1.22vw,20px)/1.3 'Work Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;letter-spacing:-.025em!important;color:#25332a!important;margin:0!important}.eg-period{display:block;font-size:11px;margin:6px 0 13px;color:#536253}.eg-leading{text-align:center}.eg-leading .eg-panel-title{text-align:left}.eg-leading .eg-period{text-align:left}.eg-class-award{width:140px;margin:8px auto 7px;display:grid;justify-items:center;padding:14px 14px 11px;border:1px solid #d9bd7c;border-radius:14px;background:radial-gradient(ellipse at 50% 0%,#fffdf0,#efdcaa 86%);box-shadow:0 6px 20px #ab85422a,inset 0 1px 2px #fff}.eg-class-crown{color:#ac7d24;line-height:1}.eg-class-award strong{font-size:52px;letter-spacing:-.05em;line-height:1.2;color:#273e2a;font-weight:650}.eg-class-award span{font-size:12px;font-weight:550;color:#735624}.eg-leading-total{font-size:21px;font-weight:650;color:#283c2b}.eg-leading-total span{font-size:12px;font-weight:450;color:#52614f}.eg-podium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:161px;align-items:center}.eg-podium-student{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;min-width:0;border-right:1px solid #66745c26;padding:3px 5px}.eg-podium-student:last-child{border:0}.eg-podium-avatar{width:76px;height:76px;position:relative;display:grid;place-items:center;border-radius:50%;background:#f7f6ec8c;border:2px solid #fff;box-shadow:0 3px 8px #3c4c3520;margin-bottom:4px}.eg-podium-avatar>svg,.eg-podium-avatar>img{width:63px;height:63px;object-fit:contain}.eg-podium-avatar>span:not(.eg-medal){font-size:40px;line-height:1}.eg-medal{position:absolute;top:-5px;left:-8px;font-size:14px;font-weight:650;border-radius:50%;height:26px;width:26px;display:grid;place-items:center;z-index:1;border:1px solid #fff}.eg-medal-1{background:linear-gradient(135deg,#fff0b5,#e0b85c);color:#584216}.eg-medal-2{background:linear-gradient(135deg,#f7f8f8,#c7cbd0);color:#394143}.eg-medal-3{background:linear-gradient(135deg,#ffdfb1,#cf9561);color:#693e19}.eg-podium-student strong{font-size:14px;line-height:1.2;color:#233327;overflow-wrap:anywhere}.eg-podium-student small{font-size:12px;color:#536253}.eg-podium-points{display:flex;align-items:center;gap:5px;font-weight:600;font-size:12px;border:1px solid #fff9;padding:5px 9px;border-radius:7px;white-space:nowrap}.eg-text-link{display:flex;align-items:center;justify-content:center;gap:7px;margin:8px auto 0;padding:4px 5px;border:0;background:none!important;font-size:12px;color:#36543a!important}.eg-empty-leader{display:grid;justify-items:center;gap:10px;text-align:center;padding:18px 9px;font-size:13px;color:#536253;grid-column:1/-1}.eg-empty-leader svg{color:#a38442}.eg-empty-leader strong{color:#344c34;font-size:15px}
.eg-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:12px}.eg-quick-grid button{min-height:69px;background:#ffffff3d;border:1px solid #ffffff9c;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px 3px;color:#304534;font-size:10.5px;text-align:center;overflow-wrap:anywhere}.eg-quick-grid button svg{width:23px;height:23px;flex-shrink:0}.eg-quick-grid button:hover{background:#fff9;box-shadow:0 2px 7px #3f4c3220}.eg-quick-grid button:first-child{background:#dcebc6a6;border-color:#98b88b;color:#28432b;font-weight:600}
.eg-home-bottom{display:flex;justify-content:flex-end;align-items:center;gap:18px;color:#52614f;font-size:11px;padding:16px 0 0}.eg-home-bottom>span{margin-right:auto}.eg-home-bottom a,.eg-home-bottom button{display:flex;gap:5px;align-items:center;background:transparent;border:0;text-decoration:none;font-size:11px}.eg-home-bottom a:hover,.eg-home-bottom button:hover{text-decoration:underline}.eg-report-grid{display:grid;grid-template-columns:1fr 1.6fr;gap:14px;margin-bottom:18px}.eg-report-list h2{margin:14px 0;font-size:19px}.eg-report-row{display:grid;grid-template-columns:2fr 1fr 100px;gap:8px;border-bottom:1px solid #a8b7a840;padding:10px 0}.eg-report-row strong{text-align:right}
body.home-canvas .footer-note{color:#4d5e50!important;margin:0!important;padding:8px 20px!important}
@media(min-width:1600px){.eg-home-panels>section{min-height:300px}.eg-quick-grid button{min-height:76px}.eg-home-hero{min-height:390px}}
@media(max-width:1200px){.eg-home-header{grid-template-columns:1fr 2fr}.eg-faith{display:none}.eg-wordmark{justify-content:flex-start;grid-column:1/2;font-size:25px}.eg-home-nav{width:100%;overflow-x:auto;justify-content:flex-start}.eg-home-nav button{padding:10px 12px}.eg-home-panels{grid-template-columns:1fr 1.4fr}.eg-quick{grid-column:1/-1}.eg-quick-grid{grid-template-columns:repeat(6,1fr)}.eg-home-metrics{grid-template-columns:repeat(3,1fr);gap:8px}.eg-home-metrics button:nth-child(3){border:0}.eg-hero-copy{padding-left:20px}}
@media(max-width:680px){.eg-earth-home{padding:13px;min-height:0;border-radius:12px}.eg-home-header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.eg-wordmark{font-size:22px;gap:8px}.eg-wordmark-icon{width:25px;height:30px;padding-right:7px}.eg-wordmark-icon svg{height:30px;width:25px}.eg-home-date{width:100%;justify-content:space-between}.eg-home-hero{display:block;min-height:0;margin:10px 0}.eg-hero-copy{padding:20px 10px;position:relative;z-index:1}.eg-hero-scene{position:relative;inset:auto;height:180px;mask-image:none;-webkit-mask-image:none;border-radius:10px}.eg-home-hero:after{display:none}.eg-home-metrics{grid-template-columns:repeat(2,1fr);padding:8px 4px}.eg-home-metrics button{justify-content:flex-start;gap:7px}.eg-home-metrics button:nth-child(3){border-right:1px solid #53634e28}.eg-home-metrics button:nth-child(even){border:0}.eg-home-metrics strong{font-size:15px}.eg-home-panels,.eg-report-grid{grid-template-columns:1fr;gap:12px}.eg-quick{grid-column:auto}.eg-quick-grid{grid-template-columns:repeat(3,1fr)}.eg-home-panels>section{min-height:0;padding:15px}.eg-home-bottom{flex-wrap:wrap;gap:9px}.eg-home-bottom>span{width:100%}.eg-report-row{grid-template-columns:1fr 1fr 66px;font-size:12px}}
/* Keep the full workspace within a typical classroom display. */
.eg-earth-home::after{background:url('assets/earthy-foliage.webp') left top/auto 200px no-repeat,radial-gradient(ellipse at 10% 24%,#f5f3e8c9,transparent 42%),radial-gradient(ellipse at 80% 90%,#bfcbb98c,transparent 65%)}
.eg-home-hero{min-height:clamp(260px,20vw,340px);margin-top:8px;margin-bottom:12px}.eg-home-hero:after{background:linear-gradient(90deg,#e8ece0b0 0%,#e8ece058 29%,transparent 60%);mask-image:linear-gradient(to right,transparent 0%,#000 12%,#000 72%,transparent 100%)}
.eg-home-panels>section{min-height:245px;padding:16px 18px}.eg-quick-grid{gap:6px;margin-top:10px}.eg-quick-grid button{min-height:59px;font-size:11px}.eg-home-metrics{margin-bottom:16px;padding:10px}.eg-home-bottom{padding-top:12px}
@media(min-width:1600px){.eg-home-hero{min-height:320px}.eg-home-panels>section{min-height:250px}.eg-quick-grid button{min-height:61px}}
@media(max-width:680px){.eg-home-hero{min-height:0}.eg-earth-home::after{background:radial-gradient(ellipse at 10% 24%,#f5f3e8c9,transparent 42%)}.eg-home-panels>section{min-height:0}}

@media(min-width:1201px){.eg-faith{padding-left:44px;font-size:clamp(15px,1.25vw,21px)}.eg-wordmark{font-size:clamp(25px,2.2vw,36px)}}
/* 1.6 Reference edition — edge-to-edge scene and optical glass. Only home layout is changed. */
body.home-canvas,body.glass-theme.home-canvas,body.dark.glass-theme.home-canvas{background:#d0d7c7!important;color:#14291c!important}
body.home-canvas .main-content,body.glass-theme.home-canvas .main-content{padding:0!important}
.eg-earth-home{--ink:#1c2c20;min-height:100dvh;border:0;border-radius:0;padding:0 clamp(22px,3.7vw,64px) 22px;background:#dce1d3 url('assets/reference-earth.webp') center/100% 100% no-repeat;box-shadow:none;isolation:isolate}
.eg-earth-home::before{inset:0;background:linear-gradient(180deg,#203d2a3d 0%,#203d2a15 14%,transparent 26%,#eef0e42b 56%,#dce3d233 100%);filter:none;opacity:1;z-index:-1}
.eg-earth-home::after{inset:0;background:url('assets/leaf-top.webp') left top/auto clamp(150px,16vw,250px) no-repeat,url('assets/leaf-low-left.webp') left bottom/auto 32% no-repeat,url('assets/leaf-low-right.webp') right bottom/auto 32% no-repeat;z-index:0;pointer-events:none}
.eg-earth-home>header,.eg-earth-home>nav,.eg-earth-home>section,.eg-home-panels,.eg-home-bottom{position:relative;z-index:1}
.eg-home-header{grid-template-columns:1fr 2.35fr 1fr;min-height:90px;gap:12px;margin:0;padding:4px 0 0;color:#fff;box-sizing:border-box}
.eg-faith{color:#fff!important;padding-left:clamp(10px,3.6vw,60px);font-size:clamp(16px,1.25vw,23px);text-shadow:0 1px 5px #172c22aa;display:block}
.eg-wordmark{font-size:clamp(23px,2.44vw,41px);font-weight:450;letter-spacing:-.045em;color:#fff;text-shadow:0 1px 4px #1d302850;gap:18px;white-space:nowrap}
.eg-wordmark b{color:#e9bd69;font-weight:600}.eg-wordmark-icon{width:42px;height:54px;border-color:#ffffff88;padding-right:18px}.eg-wordmark-icon svg{height:54px;width:42px}
.eg-home-date{color:#fff;gap:10px}.eg-home-date select,.eg-home-date time{color:#fff!important}.eg-home-date select{background:#40553f77!important}.eg-home-date select option{color:#203526;background:#f3f4ed}.eg-home-date button{color:white;border-color:#ffffff45;background:#566b4877;border-radius:13px}
.eg-glass{background:linear-gradient(140deg,rgba(255,255,252,.44),rgba(243,246,239,.18));border:1px solid #ffffffa8;box-shadow:0 7px 25px #3d503b13,inset 0 1px 1px #ffffff7a;-webkit-backdrop-filter:blur(18px) saturate(125%);backdrop-filter:blur(18px) saturate(125%)}
.eg-home-nav{width:84%;max-width:1280px;min-height:58px;justify-content:space-between;padding:5px 14px;border-radius:32px;background:linear-gradient(135deg,#ffffff29,#ffffff12);box-shadow:inset 0 1px 1px #ffffff80,0 5px 14px #203e2b1c;color:white;border-color:#ffffff65}
.eg-home-nav button{border-radius:24px;color:#fff;gap:9px;font-size:14px;font-weight:500;padding:10px clamp(8px,1.06vw,19px);min-height:42px}.eg-home-nav button:hover,.eg-home-nav button.is-active{background:#f7f8f3e3;color:#15291b;box-shadow:inset 0 1px 1px #fff,0 2px 8px #34412b20}
.eg-home-hero{margin:0 calc(-1 * clamp(22px,3.7vw,64px)) 0;min-height:clamp(320px,20.8vw,355px);grid-template-columns:44% 56%;align-items:center;isolation:isolate}
.eg-hero-scene{inset:0 0 0 39%;background:url('assets/reference-classroom.webp') right center/cover no-repeat;border-radius:0;mask-image:linear-gradient(to right,transparent,#000 11%);-webkit-mask-image:linear-gradient(to right,transparent,#000 11%)}
.eg-home-hero:after{inset:0;background:linear-gradient(90deg,#f3f2e7ba 0%,#eaece16b 27%,transparent 49%);mask-image:none;z-index:-1}
.eg-hero-copy{padding:21px 15px 22px clamp(45px,7.1vw,122px);max-width:unset}.eg-kicker{font-size:12px;letter-spacing:.28em;color:#283b29}.eg-kicker:before{width:30px;background:#b58725}.eg-hero-copy h1{font-size:clamp(39px,3.1vw,53px)!important;font-weight:510!important;line-height:1.055!important;letter-spacing:-.048em!important;margin:19px 0 14px!important;color:#233821!important}.eg-hero-copy p{font-size:clamp(15px,1.24vw,20px)!important;line-height:1.32!important;max-width:510px;margin:0 0 24px!important;color:#26382a!important}.eg-hero-actions{gap:15px}.eg-hero-actions button{border-radius:30px;padding:12px 20px;font-size:14px;min-height:46px}.eg-hero-actions .eg-primary{background:linear-gradient(155deg,#87956a,#384a31);box-shadow:inset 0 1px 3px #fff7,0 6px 14px #344b3428}
.eg-home-metrics{min-height:78px;margin:0 0 24px;border-radius:27px;grid-template-columns:repeat(5,1fr) 1.18fr;padding:12px 9px;background:linear-gradient(110deg,#ffffff4d,#f4f6ed43)}.eg-home-metrics button{gap:14px;padding:0 10px}.eg-home-metrics svg{width:30px;height:30px;color:#1c3826}.eg-home-metrics button span{font-size:13px;color:#182b20}.eg-home-metrics strong{font-size:22px;font-weight:600}.eg-home-metrics .eg-metric-title{font-size:14px;font-weight:500}
.eg-home-panels{grid-template-columns:minmax(0,1fr) minmax(0,1.30fr) minmax(0,1fr);gap:22px}.eg-home-panels>section{min-height:286px;padding:21px 25px 15px;border-radius:25px;background:linear-gradient(125deg,#fffef657,#f5f8ed24);box-shadow:inset 0 1px 1px #ffffffb0,0 10px 30px #41503a16}.eg-panel-title{gap:10px;white-space:normal}.eg-panel-title h2{font-size:clamp(15px,1.28vw,21px)!important;letter-spacing:-.035em!important;font-weight:600!important;color:#14281c!important}.eg-panel-title svg{width:28px;height:28px;color:#b78a26}.eg-all-classes{font-size:12px;white-space:nowrap;color:#405142}.eg-home-panels .eg-period{margin:4px 0 5px;font-size:10px;opacity:.9}
.eg-class-award{position:relative;width:clamp(210px,19.5vw,315px);height:clamp(150px,12.7vw,207px);margin:0 auto;padding:0;display:block;background:url('assets/monthly-laurel.svg') center/contain no-repeat;border:0;border-radius:0;box-shadow:none}.eg-class-award strong{position:absolute;left:0;right:0;top:27%;font-size:clamp(43px,4.2vw,70px);line-height:1.1;font-weight:650;color:#183724;letter-spacing:-.06em}.eg-class-award span{position:absolute;left:0;right:0;top:68%;font-size:clamp(13px,1.07vw,18px);color:#493616;font-weight:600}.eg-leading-total{font-size:16px;margin-top:-3px;line-height:1.1}.eg-leading-total span{font-size:11px}
.eg-podium-grid{min-height:180px;gap:5px}.eg-podium-student{padding:10px 6px 5px;gap:5px}.eg-podium-avatar{width:clamp(66px,6.05vw,97px);height:clamp(66px,6.05vw,97px);border:3px solid #fff;box-shadow:0 4px 10px #303c2a29;background:#fff9}.eg-podium-avatar>svg,.eg-podium-avatar>img{width:90%;height:90%}.eg-medal{width:34px;height:34px;top:-5px;left:-12px;font-size:18px;box-shadow:0 1px 3px #635d3940}.eg-podium-student strong{font-size:clamp(12px,1.07vw,18px);font-weight:600}.eg-podium-student small{font-size:14px;color:#1e3327}.eg-podium-points{border-radius:22px;margin-top:7px;font-size:15px;min-width:86px;justify-content:center;padding:6px 8px}.eg-text-link{margin:5px auto 0;font-size:11px}
.eg-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:16px}.eg-quick-grid button{min-height:78px;border-radius:15px;background:linear-gradient(135deg,#ffffff5c,#f4f4ea33);border-color:#ffffffac;color:#182c1e;box-shadow:inset 0 1px 2px #ffffff7f;gap:7px;font-size:clamp(10px,.77vw,13px);font-weight:500}.eg-quick-grid button:first-child{background:#f6faec75;border-color:#fff;color:#182c1e;font-weight:600}.eg-quick-grid button svg{width:29px;height:29px;stroke-width:1.65}.eg-all-tools{margin-top:12px}.eg-home-bottom{padding-top:12px;color:#435341}.eg-home-bottom>span{font-size:11px}
body.home-canvas .footer-note{padding:4px 20px!important}
@media(min-width:1201px){.eg-home-header{min-height:92px}.eg-home-hero{min-height:clamp(310px,20.7vw,352px)}.eg-home-panels>section{min-height:clamp(260px,17.7vw,298px)}}
@media(max-width:1200px){.eg-home-header{grid-template-columns:1fr 2fr;min-height:76px}.eg-faith{display:none}.eg-wordmark{font-size:25px;justify-content:flex-start}.eg-home-nav{width:100%;overflow-x:auto;justify-content:flex-start}.eg-home-metrics{grid-template-columns:repeat(3,1fr);gap:8px}.eg-home-panels{grid-template-columns:1fr 1.25fr}.eg-quick{grid-column:1/-1}.eg-quick-grid{grid-template-columns:repeat(8,1fr)}.eg-hero-copy{padding-left:5vw}.eg-hero-copy h1{font-size:clamp(31px,3.8vw,45px)!important}.eg-all-classes{display:none}}
@media(max-width:680px){.eg-earth-home{padding:0 12px 15px}.eg-earth-home::after{background:url('assets/leaf-top.webp') left top/auto 130px no-repeat}.eg-home-header{display:flex;flex-wrap:wrap;gap:6px;padding:12px 0}.eg-wordmark{font-size:clamp(18px,5vw,24px);gap:7px;white-space:normal}.eg-wordmark-icon{height:32px;width:25px;padding-right:7px}.eg-wordmark-icon svg{width:25px;height:32px}.eg-home-date{width:100%;justify-content:space-between}.eg-home-nav{min-height:0;padding:4px;border-radius:16px}.eg-home-nav button{min-height:35px;padding:8px;font-size:12px}.eg-home-hero{margin:0 -12px;display:block;min-height:0}.eg-hero-copy{padding:20px 22px}.eg-hero-copy h1{font-size:33px!important}.eg-hero-actions{gap:7px}.eg-hero-actions button{padding:10px 12px;font-size:12px}.eg-hero-scene{position:relative;inset:auto;height:170px;mask-image:none;-webkit-mask-image:none;background-size:cover}.eg-home-metrics{grid-template-columns:repeat(2,1fr);min-height:0;padding:8px;border-radius:17px;margin:12px 0;gap:9px}.eg-home-metrics strong{font-size:16px}.eg-home-metrics svg{width:23px;height:23px}.eg-home-metrics button span{font-size:11px}.eg-home-metrics button{gap:7px;justify-content:flex-start}.eg-home-panels{grid-template-columns:1fr;gap:12px}.eg-home-panels>section{padding:15px;min-height:0;border-radius:18px}.eg-quick{grid-column:auto}.eg-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.eg-quick-grid button{min-height:72px;font-size:10px}.eg-class-award{height:165px}.eg-home-bottom{flex-wrap:wrap;gap:9px}.eg-podium-points{min-width:0;font-size:12px}.eg-podium-grid{min-height:140px}}
/* Soft transitions and reference proportions, final polish. */
.eg-earth-home::before{background:linear-gradient(180deg,#203d2a15 0%,transparent 24%,#eef0e41a 56%,#dce3d211 100%)}
.eg-home-header .eg-home-date select#homeClassSelect{color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:500!important;background:transparent!important}
.eg-home-header .eg-home-date select#homeClassSelect option{color:#1c3320!important;-webkit-text-fill-color:#1c3320!important}
.eg-home-hero:after{background:linear-gradient(90deg,#f3f2e74f 0%,#eaece12b 27%,transparent 49%)}
.eg-home-panels>section{background:linear-gradient(125deg,#fffef64a,#f5f8ed31);box-shadow:inset 0 1px 1px #ffffffa0,0 9px 27px #41503a12}
.eg-quick-grid button{font-size:clamp(10px,.72vw,12px);overflow-wrap:normal;word-break:normal;letter-spacing:-.025em}
@media(min-width:1201px){.eg-home-panels>section{min-height:0!important;height:clamp(270px,17.6vw,290px);padding-top:18px;padding-bottom:12px}.eg-class-award{height:clamp(145px,11.3vw,188px)}.eg-podium-grid{min-height:0}.eg-podium-student{padding-top:6px;padding-bottom:3px}.eg-podium-avatar{width:clamp(68px,5.65vw,91px);height:clamp(68px,5.65vw,91px)}.eg-podium-points{margin-top:5px}.eg-quick-grid{margin-top:13px;gap:9px}.eg-quick-grid button{min-height:72px}.eg-home-bottom{padding-top:9px}}

/* Studio 1.7: optical glass, continuous photographic environment, joined faith/brand. */
.eg-earth-home{background:#dce1d3 url('assets/liquid-earth.webp') center/100% 100% no-repeat;--glass:rgba(255,255,255,.17)}
.eg-earth-home::before{background:radial-gradient(ellipse at 13% 31%,rgba(255,253,240,.38),transparent 43%),radial-gradient(ellipse at 42% 89%,rgba(255,250,223,.30),transparent 55%);z-index:-1;opacity:1}
.eg-earth-home::after{background:url('assets/leaf-top.webp') left top/auto clamp(170px,17vw,275px) no-repeat,url('assets/leaf-low-left.webp') left bottom/auto 34% no-repeat,url('assets/leaf-low-right.webp') right bottom/auto 34% no-repeat}
.eg-home-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(15px,2vw,32px);align-items:center;min-height:92px;padding:4px 0 0}
.eg-brand-cluster{display:flex;align-items:center;justify-content:center;gap:clamp(15px,1.6vw,26px);min-width:0}
.eg-earth-home .eg-faith{display:block!important;flex-shrink:0;white-space:nowrap;padding:0!important;line-height:1.65;font-family:'Arabic Typesetting','Traditional Arabic','Amiri','Noto Naskh Arabic',serif!important;font-size:clamp(26px,2.35vw,39px)!important;font-weight:400;letter-spacing:0;color:#fffdf3!important;text-shadow:0 1px 3px #21302280;margin:0}
.eg-wordmark{font-size:clamp(23px,2.37vw,39px);gap:16px;justify-content:flex-start;letter-spacing:-.042em;font-weight:450;color:#fffdf7}
.eg-wordmark b{font-weight:570;color:#f1ce87}.eg-wordmark-icon{border-color:#ffffff8c;padding-right:16px;flex-shrink:0}
.eg-home-date{gap:10px}.eg-home-date time{font-size:13px;font-weight:550}.eg-home-date button{background:rgba(255,255,255,.1);border:1px solid #ffffff66;box-shadow:inset 0 1px 1px #ffffff45}
/* A real backdrop-filter samples the same continuous photographic background. */
.eg-earth-home .eg-glass{background:linear-gradient(125deg,rgba(255,255,255,.23),rgba(255,255,255,.07) 49%,rgba(255,255,255,.16));border:1px solid rgba(255,255,255,.69);box-shadow:inset 0 1px 1px rgba(255,255,255,.64),inset 0 -1px 1px rgba(255,255,255,.22),0 8px 22px rgba(40,53,37,.085);-webkit-backdrop-filter:blur(16px) saturate(125%);backdrop-filter:blur(16px) saturate(125%)}
.eg-earth-home .eg-home-nav{background:linear-gradient(180deg,rgba(255,255,255,.19),rgba(255,255,255,.07));border-color:#ffffff70;box-shadow:inset 0 1px 1px #ffffff70,0 8px 18px #20362914;min-height:58px}
.eg-home-nav button.is-active,.eg-home-nav button:hover{background:linear-gradient(165deg,#ffffffe0,#ffffff8a);box-shadow:inset 0 1px 1px #fff,0 3px 8px #273d3220}
.eg-home-hero{isolation:auto;position:relative;z-index:1;overflow:visible}
.eg-hero-scene{inset:-16px 0 -24px 39%;background-size:cover;mask-image:linear-gradient(90deg,transparent 0%,#000 14%),linear-gradient(180deg,transparent 0%,#000 8%,#000 89%,transparent 100%);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 14%),linear-gradient(180deg,transparent 0%,#000 8%,#000 89%,transparent 100%);-webkit-mask-composite:source-in;z-index:-1}
.eg-home-hero:after{background:linear-gradient(90deg,rgba(247,247,236,.27),rgba(247,247,236,.13) 26%,transparent 49%);z-index:-1}
.eg-hero-copy h1{font-weight:520!important;color:#253724!important;letter-spacing:-.047em!important}.eg-hero-copy p{color:#26362a!important}
.eg-hero-actions .eg-primary{background:linear-gradient(160deg,#8b9c72,#41583b);box-shadow:inset 0 1px 1px #ffffffac,0 5px 14px #344b3420}
.eg-earth-home .eg-home-metrics{position:relative;z-index:2;border-radius:25px;background:linear-gradient(120deg,#ffffff3b,#ffffff16 55%,#ffffff30);-webkit-backdrop-filter:blur(19px) saturate(125%);backdrop-filter:blur(19px) saturate(125%)}
.eg-earth-home .eg-home-panels>section{border-radius:23px;background:linear-gradient(132deg,#ffffff35,#ffffff12 58%,#ffffff28);box-shadow:inset 0 1px 1px #ffffffa0,inset 0 -1px 1px #ffffff25,0 8px 24px #263f2910}
.eg-earth-home .eg-quick-grid button,.eg-earth-home .eg-quick-grid button:first-child{background:linear-gradient(145deg,#ffffff3d,#ffffff13);border:1px solid #ffffff91;box-shadow:inset 0 1px 1px #ffffff60;border-radius:13px;color:#162b1d;font-weight:500}
.eg-earth-home .eg-quick-grid button:hover{background:#ffffff7a;box-shadow:inset 0 1px 1px #fff,0 4px 9px #41523b18}
.eg-podium-avatar{background:#ffffff5a;box-shadow:0 3px 8px #303c2a24;border-color:#ffffffdb}
@media(max-width:1200px){.eg-home-header{grid-template-columns:minmax(0,1fr) auto;min-height:78px;gap:12px}.eg-brand-cluster{gap:13px;justify-content:flex-start}.eg-earth-home .eg-faith{font-size:clamp(22px,2.5vw,30px)!important}.eg-wordmark{font-size:clamp(19px,2.45vw,29px);gap:10px}.eg-wordmark-icon{width:30px;height:42px;padding-right:10px}.eg-wordmark-icon svg{width:30px;height:42px}}
@media(max-width:850px){.eg-home-header{display:flex;flex-wrap:wrap;justify-content:space-between;padding:12px 0;gap:8px}.eg-brand-cluster{width:100%;justify-content:center;flex-wrap:wrap;gap:8px 12px}.eg-earth-home .eg-faith{font-size:26px!important}.eg-wordmark{font-size:24px;white-space:normal}.eg-home-date{width:100%;justify-content:space-between}.eg-hero-scene{inset:0 0 0 39%}}
@media(max-width:680px){.eg-brand-cluster{flex-direction:column;gap:0;align-items:center}.eg-earth-home .eg-faith{font-size:29px!important;line-height:1.35}.eg-wordmark{font-size:clamp(19px,5.1vw,25px);gap:8px}.eg-home-header{padding:10px 0}.eg-earth-home .eg-home-nav{min-height:0;border-radius:15px}.eg-hero-scene{position:relative;inset:auto;mask-image:linear-gradient(180deg,transparent,#000 12%,#000 91%,transparent);-webkit-mask-image:linear-gradient(180deg,transparent,#000 12%,#000 91%,transparent);-webkit-mask-composite:source-over;mask-composite:add;height:180px}.eg-home-hero{isolation:isolate}.eg-earth-home .eg-home-metrics,.eg-earth-home .eg-home-panels>section{border-radius:18px}.eg-earth-home{background-size:auto 100%;background-position:center}}
/* The light field itself supplies the hero contrast; avoid a rectangular overlay seam. */
.eg-home-hero:after{background:none}
.eg-earth-home .eg-home-panels>section{background:linear-gradient(132deg,#ffffff43,#ffffff17 58%,#ffffff2b);-webkit-backdrop-filter:blur(19px) saturate(115%);backdrop-filter:blur(19px) saturate(115%)}

/* Studio 1.7.1 — responsive full-height composition. Home only. */
@media (min-width: 1201px) {
  .eg-earth-home {
    --home-unit: clamp(.85px, min(.06068vw, .10776dvh), 3px);
    --home-gutter: clamp(28px, 3.7vw, 150px);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0 var(--home-gutter) calc(12 * var(--home-unit));
    gap: 0;
  }
  .eg-earth-home .eg-home-header {flex:0 0 auto; min-height:calc(92 * var(--home-unit));gap:calc(16 * var(--home-unit));}
  .eg-earth-home .eg-brand-cluster {gap:calc(24 * var(--home-unit));}
  .eg-earth-home .eg-faith {font-size:calc(35 * var(--home-unit))!important;}
  .eg-earth-home .eg-wordmark {font-size:calc(39 * var(--home-unit));gap:calc(15 * var(--home-unit));}
  .eg-earth-home .eg-wordmark-icon {width:calc(42 * var(--home-unit));height:calc(54 * var(--home-unit));padding-right:calc(16 * var(--home-unit));}
  .eg-earth-home .eg-wordmark-icon svg {width:100%;height:100%;}
  .eg-earth-home .eg-home-date {gap:calc(10 * var(--home-unit));}
  .eg-earth-home .eg-home-date time,.eg-earth-home .eg-home-date select {font-size:calc(13 * var(--home-unit))!important;}
  .eg-earth-home .eg-home-date select {max-width:calc(145 * var(--home-unit));}
  .eg-earth-home .eg-home-date button {width:calc(38 * var(--home-unit));height:calc(38 * var(--home-unit));}
  .eg-earth-home .eg-home-date svg {width:calc(24 * var(--home-unit));height:calc(24 * var(--home-unit));}
  .eg-earth-home .eg-home-nav {flex:0 0 auto;width:84%;max-width:none;min-height:calc(58 * var(--home-unit));padding:calc(5 * var(--home-unit)) calc(14 * var(--home-unit));border-radius:calc(30 * var(--home-unit));gap:calc(4 * var(--home-unit));}
  .eg-earth-home .eg-home-nav button {min-height:calc(42 * var(--home-unit));font-size:calc(14 * var(--home-unit));padding:calc(8 * var(--home-unit)) calc(12 * var(--home-unit));gap:calc(8 * var(--home-unit));border-radius:calc(22 * var(--home-unit));}
  .eg-earth-home .eg-home-nav svg {width:calc(23 * var(--home-unit));height:calc(23 * var(--home-unit));flex-shrink:0;}
  .eg-earth-home .eg-home-hero {flex:1 0 auto;min-height:calc(340 * var(--home-unit));margin:0 calc(-1 * var(--home-gutter));grid-template-columns:40% 60%;isolation:isolate;}
  .eg-earth-home .eg-hero-scene {inset:0 0 0 39%;background-size:contain;background-position:right bottom;mask-image:linear-gradient(to right,transparent 0%,#000 12%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 12%);mask-composite:add;-webkit-mask-composite:source-over;}
  .eg-earth-home .eg-hero-copy {padding:calc(22 * var(--home-unit)) calc(16 * var(--home-unit)) calc(22 * var(--home-unit)) 7.1vw;}
  .eg-earth-home .eg-kicker {font-size:calc(12 * var(--home-unit));gap:calc(12 * var(--home-unit));}
  .eg-earth-home .eg-hero-copy h1 {font-size:calc(53 * var(--home-unit))!important;margin:calc(19 * var(--home-unit)) 0 calc(14 * var(--home-unit))!important;}
  .eg-earth-home .eg-hero-copy p {font-size:calc(20 * var(--home-unit))!important;max-width:calc(530 * var(--home-unit));margin:0 0 calc(24 * var(--home-unit))!important;}
  .eg-earth-home .eg-hero-actions {gap:calc(15 * var(--home-unit));}
  .eg-earth-home .eg-hero-actions button {font-size:calc(15 * var(--home-unit));min-height:calc(46 * var(--home-unit));padding:calc(10 * var(--home-unit)) calc(19 * var(--home-unit));border-radius:calc(25 * var(--home-unit));gap:calc(9 * var(--home-unit));}
  .eg-earth-home .eg-hero-actions svg {width:calc(21 * var(--home-unit));height:calc(21 * var(--home-unit));flex-shrink:0;}
  .eg-earth-home .eg-home-metrics {flex:0 0 auto;min-height:calc(78 * var(--home-unit));margin:0 0 calc(24 * var(--home-unit));padding:calc(10 * var(--home-unit));border-radius:calc(24 * var(--home-unit));}
  .eg-earth-home .eg-home-metrics button {gap:calc(14 * var(--home-unit));padding:0 calc(9 * var(--home-unit));}
  .eg-earth-home .eg-home-metrics svg {width:calc(30 * var(--home-unit));height:calc(30 * var(--home-unit));}
  .eg-earth-home .eg-home-metrics button span {font-size:calc(14 * var(--home-unit));}
  .eg-earth-home .eg-home-metrics strong {font-size:calc(22 * var(--home-unit));}
  .eg-earth-home .eg-home-metrics .eg-metric-title {font-size:calc(15 * var(--home-unit));}
  .eg-earth-home .eg-home-panels {flex:0 0 auto;gap:calc(22 * var(--home-unit));}
  .eg-earth-home .eg-home-panels>section {display:flex;flex-direction:column;height:auto;min-height:calc(278 * var(--home-unit))!important;padding:calc(20 * var(--home-unit)) calc(25 * var(--home-unit)) calc(14 * var(--home-unit));border-radius:calc(23 * var(--home-unit));}
  .eg-earth-home .eg-panel-title {gap:calc(10 * var(--home-unit));}
  .eg-earth-home .eg-panel-title h2 {font-size:calc(21 * var(--home-unit))!important;}
  .eg-earth-home .eg-panel-title svg {width:calc(28 * var(--home-unit));height:calc(28 * var(--home-unit));}
  .eg-earth-home .eg-all-classes {font-size:calc(12 * var(--home-unit));}
  .eg-earth-home .eg-period {font-size:calc(11 * var(--home-unit));margin:calc(4 * var(--home-unit)) 0 calc(6 * var(--home-unit));}
  .eg-earth-home .eg-class-award {flex:1 0 auto;width:calc(295 * var(--home-unit));max-width:100%;height:calc(180 * var(--home-unit));}
  .eg-earth-home .eg-class-award strong {font-size:calc(65 * var(--home-unit));}
  .eg-earth-home .eg-class-award span {font-size:calc(17 * var(--home-unit));}
  .eg-earth-home .eg-leading-total {font-size:calc(17 * var(--home-unit));margin-top:0;}
  .eg-earth-home .eg-leading-total span {font-size:calc(12 * var(--home-unit));}
  .eg-earth-home .eg-podium-grid {flex:1 0 auto;gap:calc(5 * var(--home-unit));}
  .eg-earth-home .eg-podium-student {gap:calc(5 * var(--home-unit));padding:calc(6 * var(--home-unit));}
  .eg-earth-home .eg-podium-avatar {width:calc(88 * var(--home-unit));height:calc(88 * var(--home-unit));margin-bottom:calc(4 * var(--home-unit));}
  .eg-earth-home .eg-medal {width:calc(34 * var(--home-unit));height:calc(34 * var(--home-unit));font-size:calc(18 * var(--home-unit));left:calc(-12 * var(--home-unit));top:calc(-5 * var(--home-unit));}
  .eg-earth-home .eg-podium-student strong {font-size:calc(17 * var(--home-unit));}
  .eg-earth-home .eg-podium-student small {font-size:calc(14 * var(--home-unit));}
  .eg-earth-home .eg-podium-points {font-size:calc(15 * var(--home-unit));min-width:calc(86 * var(--home-unit));padding:calc(5 * var(--home-unit)) calc(9 * var(--home-unit));margin-top:calc(5 * var(--home-unit));}
  .eg-earth-home .eg-quick-grid {flex:1 0 auto;gap:calc(9 * var(--home-unit));margin-top:calc(16 * var(--home-unit));}
  .eg-earth-home .eg-quick-grid button {font-size:calc(12 * var(--home-unit));min-height:calc(72 * var(--home-unit));gap:calc(7 * var(--home-unit));border-radius:calc(13 * var(--home-unit));}
  .eg-earth-home .eg-quick-grid button svg {width:calc(29 * var(--home-unit));height:calc(29 * var(--home-unit));}
  .eg-earth-home .eg-text-link {font-size:calc(11 * var(--home-unit));margin-top:calc(7 * var(--home-unit));}
  .eg-earth-home .eg-home-bottom {flex:0 0 auto;padding-top:calc(10 * var(--home-unit));gap:calc(18 * var(--home-unit));}
  .eg-earth-home .eg-home-bottom>span,.eg-earth-home .eg-home-bottom a,.eg-earth-home .eg-home-bottom button {font-size:calc(11 * var(--home-unit));}
}
/* Avoid cropping the artwork on tablets and phones as well. */
@media(max-width:1200px){.eg-earth-home .eg-hero-scene{background-size:contain;background-position:right bottom;}}
@media(max-width:680px){.eg-earth-home .eg-hero-scene{height:auto;aspect-ratio:972/339;background-size:contain;background-position:center bottom;mask-image:none;-webkit-mask-image:none;}}
@media(min-width:1201px){
 .eg-earth-home .eg-hero-scene{inset:auto 0 0 auto;width:min(61%,calc(975 * var(--home-unit)));height:auto;aspect-ratio:972/339;max-height:100%;background-position:right bottom;background-size:100% 100%;mask-image:linear-gradient(90deg,transparent 0%,#000 15%),linear-gradient(180deg,transparent 0%,#000 5%,#000 97%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 15%),linear-gradient(180deg,transparent 0%,#000 5%,#000 97%,transparent 100%);mask-composite:intersect;-webkit-mask-composite:source-in;}
}
