*{box-sizing:border-box}html{scroll-behavior:smooth}body.study-desktop{margin:0;min-height:100vh;color:#163e45;font-family:var(--desktop-font,system-ui,sans-serif);background:#ccdde3;background-image:linear-gradient(135deg,#e5eeee35,#fff1e62b),var(--desktop-wallpaper);background-size:cover;background-position:center;background-attachment:fixed;font-size:14px;line-height:1.5}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #247b80;outline-offset:4px}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:20px;z-index:9;padding:12px;background:white}.skip-link:focus{top:12px}.glass{background:rgba(250,250,241,.79);border:1px solid rgba(255,255,255,.8);box-shadow:0 9px 28px #244a5410;backdrop-filter:blur(20px);border-radius:25px}.desktop-bar{display:flex;align-items:center;gap:24px;padding:12px 32px;background:#eef5f1b8;border-bottom:1px solid #ffffff8c;backdrop-filter:blur(20px)}.desktop-brand{display:flex;align-items:center;gap:11px;min-width:0;font-size:20px;font-weight:750;letter-spacing:.015em}.desktop-brand img{object-fit:contain;flex:none}.desktop-brand span{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desktop-caption{border-left:1px solid #567e8238;padding-left:24px;white-space:nowrap}.desktop-search{display:flex;align-items:center;gap:8px;margin:auto;max-width:390px;flex:1;background:#f9fcfbbd;border:1px solid #ffffff90;border-radius:25px;padding:5px 14px}.desktop-search>span{font-size:25px;line-height:1}.desktop-search input{width:100%;min-width:80px;border:0;background:none;outline-offset:10px;color:#214b52;padding:4px}.desktop-links{display:flex;align-items:center;gap:17px}.desktop-links a{display:flex;align-items:center;gap:7px;font-size:13px;white-space:nowrap}.desktop-links img{object-fit:contain}.desktop-settings{font-size:24px!important}.desktop-layout{max-width:1800px;margin:auto;display:grid;grid-template-columns:minmax(245px,.95fr) minmax(450px,1.65fr) minmax(235px,.85fr);gap:24px;padding:42px 30px 26px;align-items:start}.desktop-left,.desktop-right{display:grid;gap:22px;min-width:0}.clock-calendar{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:23px 19px;min-height:240px}.clock-block{display:flex;flex-direction:column;justify-content:center}.clock-block time{font:600 clamp(42px,4vw,68px)/1.05 Georgia,serif;letter-spacing:-.05em}.clock-block p{margin:10px 0 0;font-family:Georgia,serif;font-size:15px}.clock-zone{font-size:10px;color:#587277;margin-top:4px}.clock-block p.handwritten{font-style:italic;line-height:1.7;color:#63838a;font-size:15px;margin-top:23px}.calendar-block{min-width:0;border-left:1px solid #63818721;padding-left:10px}.calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:3px;margin-bottom:10px}.calendar-nav button{border:0;background:transparent;font-size:22px;padding:0 5px}.calendar-nav strong{font:600 12px Georgia,serif;text-align:center}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;gap:2px;font-size:10px}.calendar-week{color:#72848a;margin-bottom:5px}.calendar-days span{display:grid;place-items:center;aspect-ratio:1;min-height:20px}.calendar-days .is-today{background:#71978c;color:white;border-radius:50%;font-weight:700}.calendar-days .is-weekend{color:#8d685d}.calendar-days .is-today.is-weekend{color:white}.calendar-today{display:block;margin:10px auto 0;border:0;background:transparent;text-decoration:underline;font-size:10px;color:#5e7c80}.desk-note{position:relative;margin:10px 5px 0;padding:38px 28px 30px;min-height:295px;transform:rotate(-1.2deg);border-radius:5px 5px 24px 5px;background:repeating-linear-gradient(transparent 0 32px,#8b9c982c 32px 33px),#fcf3de;box-shadow:5px 12px 22px #35494720}.note-tape{position:absolute;width:100px;height:31px;top:-13px;left:calc(50% - 50px);transform:rotate(5deg);background:#cbd7c2af;backdrop-filter:blur(3px)}.note-label{font-size:10px;letter-spacing:.18em;color:#829080}.note-sun{font-size:65px;color:#c5a25d;line-height:1.2;margin-top:5px}.desk-note p{font:italic 24px/1.65 Georgia,serif;max-width:290px;margin:6px 0 22px}.note-sign{font-size:11px;letter-spacing:.06em;color:#798c7f}.desktop-whisper{font:italic 24px/1.6 Georgia,serif;color:#fff;text-shadow:0 1px 8px #345464;margin:18px 22px;transform:rotate(-7deg)}.desktop-center{min-width:0}.desktop-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.desktop-heading h1{font:600 36px/1.2 Georgia,serif;margin:3px 0 0}.eyebrow{font-size:9px;letter-spacing:.13em;font-weight:700;color:#567472}.quiet-link{font-size:12px;white-space:nowrap}.desktop-lead{margin:8px 0 18px;color:#405f67;font-size:12px}.desktop-resource-group>h2{font:600 22px Georgia,serif;margin:22px 0 12px}.desktop-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.desktop-card{grid-column:span 2;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s;background:#fffdf3c4;min-width:0}.desktop-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px #25494e25}.desktop-card>img{width:100%;height:auto;aspect-ratio:1.05;object-fit:cover;border-radius:22px;display:block;padding:4px}.desktop-card-copy{padding:10px 13px 14px;display:flex;flex-direction:column;flex:1}.desktop-card h3{font:600 19px/1.22 Georgia,serif;margin:1px 0 8px;overflow-wrap:anywhere}.desktop-card p{font-size:12px;line-height:1.55;color:#52696d;margin:0 0 14px}.card-go{display:flex;justify-content:space-between;align-items:center;margin-top:auto;font-size:11px;font-weight:600}.card-go span{font-size:17px}.exam-card{grid-column:span 3;display:grid;grid-template-columns:1fr 40%;min-height:180px;background:#f5e6c9dc}.exam-card>img{grid-column:2;grid-row:1;height:100%;aspect-ratio:auto;border-radius:0 23px 23px 0;padding:0;opacity:.9}.exam-card .desktop-card-copy{grid-column:1;grid-row:1;padding:20px 15px}.exam-card h3{font-size:24px;margin-top:8px}.exam-koge{background:#d4e4d1dd}.exam-kege{background:#d6e5eedd}.daily-widget{padding:20px}.daily-widget>header{display:flex;justify-content:space-between;align-items:center;gap:10px}.daily-widget h2{font:600 22px/1.2 Georgia,serif;margin:0 0 16px}.daily-story{display:block;padding:14px 0;border-top:1px solid #45686928}.daily-story:hover h3{text-decoration:underline;text-underline-offset:3px}.daily-feature{padding-top:0;border:0}.daily-story h3{font:600 17px/1.3 Georgia,serif;margin:10px 0}.daily-story p{font-size:12px;line-height:1.6;color:#50666b;margin:0 0 10px}.daily-source{font-size:10px;line-height:1.4;color:#4b7377}.daily-art{border-radius:15px;min-height:175px;padding:15px;background:radial-gradient(ellipse at 85% 5%,#e4deb6,transparent 50%),linear-gradient(125deg,#b5b79a,#dcc5a2);overflow:hidden}.daily-art>span{font-size:9px;letter-spacing:.13em;padding:5px 8px;border-radius:20px;background:#ebf1dca8}.retro-screen{position:relative;background:#283d3c;color:#c7ddc2;border:13px solid #c9c2a5;border-bottom-width:20px;border-radius:15px;margin:15px auto 8px;max-width:175px;box-shadow:9px 10px 0 #9d978449,inset 0 0 20px #0009;font:21px/1.2 monospace;padding:15px}.retro-screen span{float:right;font-size:16px}.mood-widget{overflow:hidden;padding:8px}.mood-window{height:155px;border-radius:19px;background-image:var(--desktop-wallpaper);background-size:cover;background-position:center bottom}.mood-widget p{display:flex;justify-content:space-between;gap:5px;margin:10px 8px;font:600 15px Georgia,serif}.mood-widget p span{font-size:21px;font-weight:400}.trainer-dock{max-width:1000px;margin:0 auto 20px;padding:14px 23px 17px;background:#edf4f0cf}.dock-heading{display:flex;align-items:center;gap:20px;justify-content:space-between;border-bottom:1px solid #45686920;margin-bottom:13px;padding-bottom:8px}.dock-heading h2{font-size:13px;font-weight:500;margin:0}.dock-heading>span{font:italic 13px Georgia,serif;color:#5f7c81}.dock-items{display:flex;gap:15px;overflow-x:auto;overscroll-behavior-inline:contain;padding:5px 2px 12px;scrollbar-width:thin;scrollbar-color:#83a49a transparent}.dock-item{flex:0 0 83px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:8px;font-size:10px;line-height:1.35}.dock-icon{display:block;width:57px;height:57px;border-radius:17px;background:#d8e8dd;box-shadow:0 4px 10px #42616916;transition:transform .18s}.dock-icon img{width:100%;height:100%;object-fit:cover;border-radius:17px;border:2px solid #ffffff9c}.dock-item:hover .dock-icon{transform:translateY(-5px) scale(1.06)}.desktop-footer{text-align:center;padding:0 20px 20px;color:#365f68;font-size:10px}.empty-search{padding:30px}.search-status{font-size:12px;color:#244b50}.desktop-search:focus-within{background:#fff}.desktop-resource-group[hidden]{display:none}
@media(min-width:1650px){.desktop-layout{gap:30px;padding-top:50px}.clock-calendar{min-height:270px}.desktop-card>img{aspect-ratio:1.12}.desktop-card h3{font-size:21px}.desktop-card p{font-size:13px}.desk-note{min-height:330px}.daily-story p{font-size:13px}}
@media(max-width:1200px){.desktop-caption{display:none}.desktop-layout{grid-template-columns:260px minmax(0,1fr);gap:20px;padding:28px 22px}.desktop-right{grid-column:1/-1;grid-template-columns:2fr 1fr}.daily-widget{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.daily-widget>header{grid-column:1/-1}.daily-widget h2{margin:0}.daily-story{border-top:0;padding:0}.daily-art{min-height:130px}.retro-screen{font-size:15px;margin-bottom:0;padding:10px}.mood-window{height:210px}.clock-calendar{grid-template-columns:1fr}.calendar-block{border-left:0;border-top:1px solid #63818721;padding:15px 0 0}.clock-block time{font-size:64px}.clock-block p.handwritten{display:none}.calendar-days span{min-height:24px}.trainer-dock{margin:0 22px 20px}.desktop-links{gap:12px}.desktop-brand span{max-width:220px}}
@media(max-width:760px){body.study-desktop{background-attachment:scroll}.desktop-bar{padding:12px 16px;gap:12px;flex-wrap:wrap}.desktop-brand{font-size:17px;flex:1}.desktop-brand span{max-width:220px}.desktop-links{margin-left:auto}.desktop-links a:not(.desktop-settings){font-size:0;gap:0}.desktop-links a:not(:has(img)){font-size:11px}.desktop-search{order:3;flex-basis:100%;max-width:none}.desktop-layout{display:flex;flex-direction:column;padding:22px 16px;gap:24px}.desktop-left,.desktop-center,.desktop-right{width:100%}.desktop-left{grid-template-columns:1fr}.clock-calendar{grid-template-columns:1fr 1fr;min-height:210px;padding:20px}.calendar-block{border-top:0;border-left:1px solid #63818721;padding:0 0 0 15px}.clock-block time{font-size:58px}.calendar-days span{min-height:20px}.desk-note,.desktop-whisper{display:none}.desktop-heading h1{font-size:31px}.desktop-cards{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.desktop-card{grid-column:span 1}.desktop-card>img{aspect-ratio:1.3}.desktop-card h3{font-size:19px}.exam-card{grid-column:span 2;min-height:165px}.exam-card>img{aspect-ratio:auto}.desktop-right{grid-template-columns:1fr}.daily-widget{grid-template-columns:1fr}.daily-art{min-height:165px}.daily-story:not(.daily-feature){border-top:1px solid #45686928;padding-top:15px}.daily-widget h2{font-size:23px}.daily-story h3{font-size:19px}.mood-widget{display:none}.trainer-dock{margin:0 16px 18px;padding:14px 16px}.dock-heading>span{display:none}.dock-item{flex-basis:75px}.quiet-link{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
.wallpaper-toggle{padding:8px 15px;justify-self:start;font-size:11px;margin-left:12px}.calendar-nav strong{text-transform:capitalize}

.note-photo{display:block;width:calc(100% + 48px);max-width:none;margin:-24px -24px 16px;height:150px;object-fit:cover}.desk-note{overflow:hidden}.note-tape,.note-sun{display:none}.daily-photo{width:100%;height:180px;object-fit:cover;border-radius:16px}.mood-photo{width:100%;height:170px;object-fit:cover;border-radius:16px}.desktop-caption,.handwritten,.note-sign{white-space:pre-line}

.desktop-heading h1{font-size:var(--desktop-heading-size,36px)}.desktop-lead{font-size:var(--desktop-lead-size,14px)}.desktop-card h3{font-size:var(--desktop-card-size,23px)}

.desktop-wish,.desktop-bottom-wish{font:italic 21px/1.45 Georgia,serif;color:#42646d;text-align:right;white-space:pre-line;transform:rotate(-5deg)}.desktop-wish{padding:0 12px 12px}.desktop-bottom-wish{max-width:1700px;margin:0 auto 20px;padding:0 35px}.desktop-wish:empty,.desktop-bottom-wish:empty{display:none}

.handwritten,.desktop-caption,.note-sign,.desktop-wish,.desktop-bottom-wish{white-space:normal}.desktop-heading h1{font-size:clamp(28px,3vw,var(--desktop-heading-size,36px))}.desktop-card h3{font-size:clamp(17px,1.35vw,var(--desktop-card-size,23px));overflow-wrap:normal}.desk-note p{font-size:21px;line-height:1.45}.note-photo{margin:-38px -28px 16px;width:calc(100% + 56px);height:180px}

.desktop-card h3{hyphens:auto;overflow-wrap:anywhere;font-size:clamp(17px,1.15vw,var(--desktop-card-size,23px))}@media(max-width:760px){.desktop-bottom-wish,.desktop-wish{transform:none}.desktop-heading h1{font-size:30px}}

.desktop-bar{min-height:50px;padding:8px 28px;background:#d9e7ecad;gap:24px;font-family:system-ui,sans-serif}.desktop-brand{font-size:21px;letter-spacing:.02em}.desktop-brand svg{flex:none}.desktop-caption{font-size:14px}.desktop-search{max-width:365px;padding:1px 13px;background:#f3f7faa6}.desktop-settings{border-left:1px solid #567e8260;padding-left:23px;font-size:23px!important}.desktop-links{gap:22px}@media(max-width:760px){.desktop-bar{padding:10px 16px;gap:10px}.desktop-search{max-width:none}.desktop-settings{padding-left:10px}}

.clock-block p.handwritten,.desk-note p,.desktop-whisper,.desktop-wish,.desktop-bottom-wish,.dock-heading>span{font-family:"Segoe Print","Comic Sans MS",cursive;font-style:normal}
/* Desktop work area follows the viewport height. Long teacher content remains
   accessible inside its column instead of pushing the whole desktop down. */
@media (min-width:1280px) and (min-height:700px) {
  body.study-desktop{height:100dvh;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto}
  .desktop-layout{width:100%;height:100%;min-height:0;margin:0 auto;padding:14px 24px 10px;gap:20px;align-items:stretch;grid-template-columns:minmax(260px,1fr) minmax(480px,1.8fr) minmax(255px,.95fr)}
  .desktop-left,.desktop-center,.desktop-right{min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#8eaaa4 transparent;padding:4px;align-content:start;gap:12px}
  .clock-calendar{min-height:0;padding:14px;gap:10px}
  .clock-block time{font-size:clamp(40px,4vw,60px)}
  .clock-block p{font-size:12px;margin-top:6px}
  .clock-block p.handwritten{font-size:12px;line-height:1.5;margin-top:12px}
  .calendar-nav{margin-bottom:3px}.calendar-days span{min-height:16px;aspect-ratio:auto;height:20px}.calendar-today{margin:5px auto 0}
  .desk-note{min-height:0;margin:4px;padding:16px;transform:none}
  .note-photo{margin:-16px -16px 8px;width:calc(100% + 32px);height:clamp(85px,14vh,150px)}
  .desk-note p{font-size:clamp(14px,1.8vh,19px);line-height:1.45;margin:5px 0 9px;max-width:none}
  .note-sign{font-size:10px}.desktop-whisper{font-size:17px;line-height:1.4;margin:5px 15px;transform:none}
  .desktop-heading h1{font-size:clamp(26px,3.5vh,36px)}.desktop-lead{font-size:13px;margin:5px 0 10px}
  .desktop-cards{gap:10px}.desktop-card{border-radius:19px}
  .desktop-card>img{height:clamp(90px,16vh,200px);aspect-ratio:auto;border-radius:17px}
  .desktop-card-copy{padding:8px 10px}.desktop-card h3{font-size:clamp(16px,1.8vh,22px);margin:0 0 5px}
  .desktop-card p{font-size:11px;line-height:1.4;margin:0 0 7px}
  .exam-card{grid-column:span 2;min-height:0;display:flex;flex-direction:column}
  .exam-card>img{height:clamp(60px,10vh,120px);border-radius:17px 17px 0 0}
  .exam-card .desktop-card-copy{padding:8px 10px}.exam-card h3{margin-top:3px}
  .desktop-resource-group>h2{font-size:18px;margin:10px 0 6px}
  .desktop-wish{font-size:15px;line-height:1.4;padding:0 7px;transform:none}
  .daily-widget{padding:12px}.daily-widget h2{font-size:19px;margin:0 0 8px}
  .daily-photo{height:clamp(70px,12vh,140px)}.daily-story{padding:7px 0}.daily-feature{padding-top:0}
  .daily-story h3{font-size:14px;line-height:1.25;margin:6px 0}.daily-story p{font-size:11px;line-height:1.4;margin:0 0 4px}
  .mood-photo{height:clamp(60px,10vh,115px)}.mood-widget p{font-size:12px;margin:5px}
  .trainer-dock{width:calc(100% - 48px);max-width:1752px;margin:0 auto;padding:8px 16px;border-radius:20px}
  .dock-heading{margin-bottom:5px;padding-bottom:4px}.dock-heading>span{font-size:12px}
  .dock-items{flex-wrap:wrap;justify-content:center;gap:8px;padding:3px 0;overflow:visible}
  .dock-item{flex:0 1 85px;font-size:9px;line-height:1.2;gap:4px}.dock-icon{width:38px;height:38px;border-radius:12px}.dock-icon img{border-radius:12px}
  .desktop-bottom-wish{width:100%;max-width:1800px;margin:0 auto;padding:3px 28px;font-size:13px;line-height:1.25;transform:none}.desktop-bottom-wish br{display:none}
  .desktop-footer{padding:0 20px 4px;font-size:9px}
}
/* Keep navigation available even on the scrolling mobile layout. */
.desktop-bar{position:sticky;top:0;z-index:100}
@media (min-width:1280px) and (min-height:700px){
 .desktop-left,.desktop-right{grid-auto-rows:max-content}
 .desktop-card>img{height:clamp(85px,14vh,180px)}
 .daily-photo{height:clamp(65px,10vh,120px)}
 .mood-photo{height:clamp(45px,7vh,95px)}
 .mood-widget{min-height:max-content}
}
@media (min-width:1280px) and (min-height:700px) and (max-height:850px){
 .desktop-left,.desktop-right{gap:8px}
 .note-photo{height:75px}.desk-note{padding:12px}.note-photo{margin:-12px -12px 6px;width:calc(100% + 24px)}
 .desktop-card>img{height:85px}.exam-card>img{height:55px}
 .daily-photo{height:65px}.mood-photo{height:45px}
 .desktop-card-copy,.exam-card .desktop-card-copy{padding:6px 8px}
}
/* Match the approved desktop composition: photographic widgets and asymmetric exams. */
.news-controls{display:flex;gap:5px}.news-controls button{border:0;background:transparent;font-size:22px;line-height:1;color:#40636a;padding:0 5px}
.trainer-dock{position:relative}.dock-all{border:0;background:transparent;cursor:pointer;color:inherit;font:inherit;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:11px}.dock-all>span{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#f9fbff;color:#4e91df;font-size:33px;box-shadow:0 4px 15px #31526419}
.trainer-dialog{width:min(900px,92vw);max-height:85dvh;overflow:auto;border:1px solid white;border-radius:24px;background:#f4f7ef;color:#173f46;padding:24px}.trainer-dialog::backdrop{background:#173d4855;backdrop-filter:blur(5px)}.trainer-dialog header{display:flex;justify-content:space-between;align-items:center}.trainer-dialog header button{border:0;background:transparent;font-size:30px}.trainer-dialog-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:20px}.trainer-dialog-items .dock-item{font-size:12px}
@media(min-width:1280px) and (min-height:700px){
 body.study-desktop{grid-template-rows:50px minmax(0,1fr) auto 25px 14px}
 .desktop-layout{max-width:1920px;padding:clamp(12px,3vh,32px) 26px 12px;grid-template-columns:minmax(280px,1.32fr) minmax(490px,1.9fr) minmax(280px,1fr);gap:20px}
 .desktop-left,.desktop-center,.desktop-right{gap:12px;padding:3px;overflow:auto}
 .glass{background:#fffaf0ce;border-radius:22px;box-shadow:0 8px 20px #3e626015}
 .clock-calendar{height:23vh;min-height:175px;padding:20px;gap:15px}
 .clock-block time{font-size:clamp(48px,6vw,76px)}.clock-block p{font-size:13px}.clock-block p.handwritten{font-size:clamp(12px,1.6vh,17px);margin-top:15px}.clock-zone{font-size:9px;opacity:.7}.calendar-days span{height:clamp(17px,2.5vh,26px)}
 .desk-note{height:33vh;min-height:220px;padding:0;margin:0;border-radius:20px;border:3px solid #ffffffba;background:#f4ead1;position:relative}
 .note-photo{position:absolute;inset:0;margin:0;width:100%;height:100%;object-fit:cover}
 .desk-note p{position:absolute;bottom:15px;left:18%;right:4%;padding:10px 14px;margin:0;font-size:clamp(14px,1.8vh,22px);line-height:1.5;transform:rotate(-7deg);background:#fff3d9d6;border-radius:4px;max-width:none;color:#243f46}
 .note-label{position:absolute;top:10px;left:12px;padding:3px 7px;background:#f9f2debf;border-radius:7px;font-size:9px}.note-sign{position:absolute;bottom:2px;left:12px;font-size:9px;color:#183e42;background:#fff3d9b0}
 .desktop-whisper{font-size:clamp(15px,2vh,22px);line-height:1.5;margin:14px 20px;transform:rotate(-6deg)}
 .desktop-heading h1{font-size:clamp(26px,3.7vh,39px)}.desktop-heading .eyebrow{font-size:8px}.desktop-lead{font-size:11px;margin:2px 0 9px}
 .desktop-cards{gap:12px}.desktop-card{border-radius:21px;background:#fffaf0d6}
 .desktop-card>img{height:19vh;min-height:120px;max-height:250px;border-radius:20px;padding:3px}
 .desktop-card-copy{text-align:center;padding:8px 9px 11px}.desktop-card h3{font-size:clamp(15px,1.8vh,22px);margin:0 0 6px}.desktop-card p{font-size:clamp(10px,1.2vh,14px);line-height:1.4;margin:0 0 4px}.desktop-card:not(.exam-card) .card-go{display:none}
 .desktop-exams{margin-top:12px;grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));height:30vh;min-height:215px}
 .desktop-exams .exam-card{grid-column:auto;position:relative;display:block;min-height:0;isolation:isolate}
 .desktop-exams .exam-vpr{grid-column:1;grid-row:1/span 2}.desktop-exams .exam-koge{grid-column:2;grid-row:1}.desktop-exams .exam-kege{grid-column:2;grid-row:2}
 .desktop-exams .exam-card>img{position:absolute;right:0;top:0;width:48%;height:100%;min-height:0;max-height:none;object-fit:cover;border-radius:0;z-index:-2;padding:0;opacity:.9}
 .desktop-exams .exam-vpr>img{width:100%;opacity:.65;object-position:70% center}
 .desktop-exams .exam-vpr:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,#f5e3bf 15%,#f5e3bf99 60%,transparent)}
 .desktop-exams .desktop-card-copy{height:100%;text-align:left;position:relative;padding:12px 14px;width:68%;background:linear-gradient(90deg,#e4eedcd9,transparent)}
 .desktop-exams .exam-vpr .desktop-card-copy{width:88%;padding:18px;background:none}
 .desktop-exams .exam-kege .desktop-card-copy{background:linear-gradient(90deg,#dcebf3dd,transparent)}
 .desktop-exams h3{font-size:clamp(16px,2vh,25px)}.desktop-exams .eyebrow{font-size:7px;margin-bottom:3px}.desktop-exams .card-go{font-size:11px;margin-top:auto;max-width:170px}
 .desktop-wish{font-size:clamp(13px,1.8vh,20px);line-height:1.3;min-height:3vh;transform:rotate(-5deg)}
 .daily-widget{padding:15px}.daily-widget h2{font-size:clamp(17px,2vh,24px);margin:0 0 10px}
 .daily-photo{height:22vh;min-height:145px;max-height:300px;border-radius:13px;object-position:center}
 .daily-story{padding:0}.daily-story h3{font-size:clamp(16px,1.9vh,22px);line-height:1.2;margin:10px 0}.daily-story p{font-size:clamp(11px,1.3vh,15px);line-height:1.4;margin-bottom:9px}.daily-source{font-size:10px}
 .mood-widget{padding:5px;border-radius:19px}.mood-photo{height:17vh;min-height:100px;max-height:230px;border-radius:14px}.mood-widget p{font-size:clamp(11px,1.35vh,15px);margin:7px}
 .trainer-dock{width:min(780px,62vw);max-width:780px;margin:0 auto;padding:10px 18px 13px;display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:6px 10px;background:#eff2ebc9}
 .dock-heading{grid-column:1/-1;margin:0;padding:0 0 4px}.dock-heading>span{font-size:12px;max-width:230px}.dock-items{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;gap:10px;padding:3px 0 6px;scrollbar-width:thin}.dock-item{flex:0 0 87px;font-size:10px;line-height:1.2}.dock-icon{width:50px;height:50px;border-radius:15px}.dock-icon img{border-radius:15px}.dock-all{align-self:start;margin-top:3px}
 .desktop-bottom-wish{font-size:13px;padding:0 25px;line-height:1.3}.desktop-footer{padding:0;font-size:8px}
}
@media(min-width:1280px) and (max-height:850px) and (min-height:700px){
 .desktop-layout{padding-top:12px;gap:16px}.clock-calendar{padding:13px}.calendar-days span{height:17px}.clock-block time{font-size:52px}.clock-block p.handwritten{font-size:12px;margin-top:10px}
 .desktop-card>img{height:17vh;min-height:110px}.desktop-exams{height:29vh;min-height:200px}.desktop-exams .desktop-card-copy{padding:8px}.desktop-exams .exam-vpr .desktop-card-copy{padding:13px}
 .daily-photo{height:19vh;min-height:120px}.daily-widget{padding:12px}.daily-story h3{font-size:15px;margin:7px 0}.daily-story p{font-size:11px}.mood-photo{height:14vh;min-height:80px}
 .desk-note{height:30vh;min-height:200px}.desktop-whisper{margin:7px 15px;font-size:15px}.dock-icon,.dock-all>span{width:42px;height:42px}.dock-item{font-size:9px}.dock-heading>span{font-size:10px}
}
@media(max-width:1279px){.dock-all{margin:10px auto}.desktop-exams{margin-top:14px}}

.dock-symbol{display:grid;place-items:center;width:100%;height:100%;font:30px system-ui;background:linear-gradient(145deg,#d8f4ec,#86bfb6);border:1px solid #fffd;border-radius:inherit}.dock-item:nth-child(3n+2) .dock-symbol{background:linear-gradient(145deg,#fff0ca,#e7bc65)}.dock-item:nth-child(3n) .dock-symbol{background:linear-gradient(145deg,#e3e7ff,#a5a1e7)}
@media(min-width:1280px) and (min-height:700px){
 .dock-items .dock-item{flex:0 0 calc((100% - 40px)/5)}
 .dock-items .dock-item>span:last-child{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}
 .desktop-exams .exam-koge{background:#d4e4d1dd}.desktop-exams .exam-kege{background:#d6e5eedd}
}
@media(min-width:1280px) and (min-height:700px) and (max-height:950px){
 .desktop-card>img{height:13vh;min-height:90px}.desktop-exams{height:26vh;min-height:190px}
 .daily-photo{height:15vh;min-height:95px}.mood-photo{height:10vh;min-height:65px}
 .desk-note{height:27vh;min-height:190px}.desktop-left,.desktop-right{gap:9px}
 .daily-story h3{font-size:15px}.daily-story p{font-size:11px}.desktop-wish{font-size:13px;min-height:0}
}

/* Large thematic icons: their subjects remain legible without zooming. */
.dock-icon,.dock-all>span{width:72px;height:72px;border-radius:20px;flex-shrink:0}
.dock-icon img{border-radius:20px;border:1px solid #ffffffba;object-fit:cover}
.dock-symbol{font-size:43px}.dock-all>span{font-size:44px}
.trainer-dialog-items .dock-icon{width:88px;height:88px;border-radius:23px}
.trainer-dialog-items .dock-icon img{border-radius:23px}
.trainer-dialog-items{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:24px}
@media(min-width:1280px) and (min-height:700px){.dock-items .dock-item{font-size:11px;gap:7px}.trainer-dock{padding-bottom:10px}.dock-all{font-size:11px}}
@media(min-width:1280px) and (min-height:700px) and (max-height:850px){.daily-photo{height:12vh;min-height:80px}.mood-photo{height:8vh;min-height:55px}.desktop-card>img{height:11vh;min-height:80px}.desktop-exams{height:24vh;min-height:175px}.desk-note{height:24vh;min-height:175px}.desktop-whisper{font-size:14px;margin:4px 15px}}
@media(max-width:760px){.dock-item{flex-basis:90px}.dock-icon,.dock-all>span{width:64px;height:64px}}

/* Narrow sidebars reserve the main workspace for all resource sections. */
@media(min-width:1280px) and (min-height:700px){
 .desktop-layout{grid-template-columns:minmax(250px,.8fr) minmax(0,2.7fr) minmax(250px,.8fr);max-width:2040px;gap:18px;padding-left:20px;padding-right:20px}
 .desktop-left,.desktop-right{padding:5px;grid-auto-rows:max-content}
 .clock-calendar{height:auto;min-height:205px;padding:13px;gap:10px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .clock-block time{font-size:clamp(38px,3vw,58px)}.clock-block p{font-size:11px}.clock-block p.handwritten{font-size:12px;line-height:1.4;margin-top:10px}.calendar-block{padding-left:7px}.calendar-days span{height:18px;min-height:16px}.calendar-nav strong{font-size:10px}.calendar-week,.calendar-days{font-size:9px}
 .desktop-wish,.desktop-whisper{transform:none;overflow-wrap:anywhere;white-space:normal;line-height:1.5;padding:3px 7px;margin:0;font-size:16px}
 .desk-note{height:auto;min-height:25vh;display:flex;flex-direction:column;justify-content:flex-end;padding:100px 10px 9px;overflow:visible;isolation:isolate}
 .note-photo{z-index:-1;border-radius:17px}.note-label{position:absolute;top:8px;left:8px}.desk-note p{position:static;transform:none;font-size:clamp(14px,1.5vh,18px);line-height:1.45;margin:0;padding:9px;background:#fff4dfde;overflow-wrap:anywhere}.note-sign{position:static;font-size:9px;line-height:1.4;margin-top:5px;padding:2px 4px;background:#fff4dfde;overflow-wrap:anywhere}
 .daily-widget{padding:12px}.daily-widget h2{font-size:19px}.daily-photo{height:17vh;min-height:90px}.daily-story h3{font-size:16px;overflow-wrap:anywhere}.daily-story p{font-size:12px;overflow-wrap:anywhere}.daily-source{overflow-wrap:anywhere}.mood-photo{height:12vh;min-height:65px}
 .desktop-exams .desktop-card-copy{width:62%;overflow-wrap:anywhere}.desktop-exams h3{overflow-wrap:anywhere}
 .desktop-center.has-extra-sections .desktop-card>img{height:12vh;min-height:75px}
 .desktop-center.has-extra-sections .desktop-exams{height:19vh;min-height:130px}
 .desktop-center.has-extra-sections .desktop-exams .exam-card>img{height:100%;min-height:0}
 .desktop-center.has-extra-sections .desktop-resource-group~.desktop-resource-group .desktop-card{display:grid;grid-template-columns:32% minmax(0,1fr);min-height:80px}
 .desktop-center.has-extra-sections .desktop-resource-group~.desktop-resource-group .desktop-card>img{height:100%;min-height:80px;max-height:130px;grid-column:1;border-radius:17px 0 0 17px}
 .desktop-center.has-extra-sections .desktop-resource-group~.desktop-resource-group .desktop-card-copy{grid-column:2;text-align:left;padding:8px}
 .desktop-resource-group>h2{margin:9px 0 6px;font-size:19px}
}
@media(min-width:1280px) and (min-height:700px) and (max-height:850px){
 .desktop-layout{gap:12px;padding-top:9px}.desktop-left,.desktop-right{gap:7px}
 .clock-calendar{padding:10px;min-height:185px}.clock-block p.handwritten{font-size:11px}.calendar-days span{height:16px}
 .desk-note{min-height:175px;padding-top:55px}.desktop-wish,.desktop-whisper{font-size:13px}
 .daily-photo{height:11vh;min-height:75px}.daily-story h3{font-size:14px;margin:6px 0}.daily-story p{font-size:11px;line-height:1.35}.daily-widget h2{font-size:17px}.mood-photo{height:7vh;min-height:45px}
 .desktop-center.has-extra-sections .desktop-card>img{height:10vh;min-height:65px}
 .desktop-center.has-extra-sections .desktop-exams{height:18vh;min-height:125px}
 .desktop-center.has-extra-sections .desktop-card-copy{padding:6px 8px}.desktop-center.has-extra-sections .desktop-card h3{font-size:15px}
 .desktop-center.has-extra-sections .desktop-card p{font-size:10px}
}
@media(min-width:1280px) and (min-height:700px) and (max-height:950px){
 .daily-photo{height:10vh;min-height:75px}.mood-photo{height:7vh;min-height:45px}
 .desktop-center.has-extra-sections .desktop-resource-group>h2{margin-top:5px}
 .desktop-center.has-extra-sections .desktop-exams{margin-top:8px}
}
.desktop-bottom-wish{font-size:22px;line-height:1.4;color:#234d58;text-shadow:0 1px 3px #ffffffc9;padding:4px 28px}
@media(min-width:1280px) and (min-height:700px){body.study-desktop{grid-template-rows:50px minmax(0,1fr) auto minmax(39px,auto) 14px}.desktop-bottom-wish{font-size:22px;line-height:1.4;padding:4px 28px}}
@media(max-width:760px){.desktop-bottom-wish{font-size:20px}}

@media(min-width:1280px) and (min-height:700px) and (max-height:850px){.desktop-center.has-extra-sections .desktop-card>img{height:9vh;min-height:60px}.desktop-center.has-extra-sections .desktop-exams{min-height:118px;height:17vh}}
@media(min-width:1280px) and (min-height:700px){.clock-block time{font-size:clamp(30px,2.5vw,48px)}}

/* The main school is first and visually larger than the exam resources. */
@media(min-width:1280px) and (min-height:700px){
 .desktop-cards:has(.school-card){grid-template-columns:1.25fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));height:27vh;min-height:195px}
 .desktop-cards .school-card{grid-column:1;grid-row:1/span 2;border:2px solid #478e91;box-shadow:0 8px 20px #1b626d26;background:#f5fff6eb;display:flex}
 .desktop-center .desktop-cards .school-card>img{height:calc(100% - 72px);min-height:0;max-height:none;flex:1;object-position:center 46%}
 .desktop-cards .school-card .desktop-card-copy{flex:none;padding:8px 14px 10px;text-align:left}
 .desktop-center .desktop-cards .school-card h3{font-size:clamp(23px,2.8vh,32px);color:#076b70}
 .desktop-cards:has(.school-card)>.desktop-card:not(.school-card){grid-column:2;grid-row:auto;display:grid;grid-template-columns:40% minmax(0,1fr)}
 .desktop-center .desktop-cards:has(.school-card)>.desktop-card:not(.school-card)>img{height:100%;min-height:0;max-height:none;border-radius:18px 0 0 18px}
 .desktop-cards:has(.school-card)>.desktop-card:not(.school-card) .desktop-card-copy{text-align:left;justify-content:center;padding:10px}
 .desktop-center .desktop-exams{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr);height:13vh;min-height:100px}
 .desktop-center .desktop-exams .exam-card{grid-column:auto;grid-row:1}
 .desktop-center .desktop-exams .exam-vpr .desktop-card-copy{width:72%;padding:10px}
 .desktop-center .desktop-exams .exam-vpr>img{width:48%;opacity:.9}
 .desktop-exams h3{font-size:clamp(16px,1.8vh,22px)}
}
@media(min-width:1280px) and (min-height:700px) and (max-height:850px){
 .desktop-cards:has(.school-card){height:23vh;min-height:170px}
 .desktop-center .desktop-cards .school-card h3{font-size:23px}
 .desktop-center .desktop-exams{height:12vh;min-height:90px}
 .desktop-center .desktop-exams .desktop-card-copy{padding:7px}
 .desktop-center .desktop-exams h3{font-size:15px}
}
@media(max-width:1279px){.school-card{grid-column:1/-1;border:2px solid #478e91}.school-card h3{color:#076b70;font-size:25px}.school-card>img{max-height:240px;object-fit:cover}}
@media(min-width:1280px) and (min-height:700px){.desktop-center.has-extra-sections .desktop-exams{height:13vh;min-height:108px}.desktop-heading h1{font-size:32px;line-height:1.15}}
@media(min-width:1280px) and (min-height:700px) and (max-height:850px){.desktop-center.has-extra-sections .desktop-exams{height:108px;min-height:108px}.desktop-cards:has(.school-card){height:160px;min-height:160px}.desktop-heading h1{font-size:28px}}
@media(min-width:1280px) and (min-height:700px) and (max-height:850px){.desktop-cards:has(.school-card){height:154px;min-height:154px}}

/* Separate desktop docks free space for large, legible photographic cards. */
.desktop-bottom-row{display:flex;justify-content:center;align-items:stretch;gap:18px;padding:0 24px;margin:0 auto;width:100%;max-width:1550px}
.desktop-bottom-row .trainer-dock{margin:0;min-width:0;flex:1 1 760px}
.development-dock{flex:0 1 390px;padding:12px 16px;min-width:260px;background:#f8f4e8ed}
.development-dock h2{font-size:16px;margin:0 0 10px}.development-items{display:flex;flex-wrap:wrap;gap:12px}.development-item{display:flex;align-items:center;gap:10px;flex:1 1 135px;min-width:0}.development-item img{width:64px;height:64px;border-radius:16px;object-fit:cover;flex:none}.development-item strong{font-size:15px;display:block;overflow-wrap:anywhere}.development-item small{font-size:12px;line-height:1.4;color:#34555a;display:block;margin-top:4px;overflow-wrap:anywhere}
@media(min-width:1280px) and (min-height:700px){
 .desktop-cards:has(.school-card){grid-template-columns:1.4fr 1fr 1fr;grid-template-rows:minmax(0,1fr);height:32vh;min-height:230px}
 .desktop-cards .school-card{grid-column:1;grid-row:1}
 .desktop-cards:has(.school-card)>.desktop-card:not(.school-card){grid-column:auto;grid-row:1;display:flex;flex-direction:column}
 .desktop-center .desktop-cards:has(.school-card)>.desktop-card>img{height:64%;min-height:0;max-height:none;flex:0 0 64%;width:100%;border-radius:18px;padding:4px;object-fit:cover}
 .desktop-cards:has(.school-card)>.desktop-card .desktop-card-copy{flex:1;padding:10px 12px;text-align:center;justify-content:center}
 .desktop-center .desktop-cards .school-card h3{font-size:clamp(23px,2.6vh,30px)}
 .desktop-cards:has(.school-card)>.desktop-card:not(.school-card) .desktop-card-copy{text-align:center;padding:10px 12px}
 .desktop-cards:has(.school-card)>.desktop-card:not(.school-card) h3{font-size:clamp(19px,2.1vh,25px)}
 .desktop-card p{font-size:14px;line-height:1.45;color:#34535a}
 .desktop-center .desktop-exams,.desktop-center.has-extra-sections .desktop-exams{height:17vh;min-height:135px;margin-top:14px}
 .desktop-center .desktop-exams .desktop-card-copy,.desktop-center .desktop-exams .exam-vpr .desktop-card-copy{width:67%;padding:14px;background:linear-gradient(90deg,#f7f2e7f5 65%,#f7f2e7c9)}
 .desktop-center .desktop-exams .exam-koge .desktop-card-copy{background:linear-gradient(90deg,#e1eddcf7 65%,#e1eddcc9)}
 .desktop-center .desktop-exams .exam-kege .desktop-card-copy{background:linear-gradient(90deg,#dfecf4f7 65%,#dfecf4c9)}
 .desktop-center .desktop-exams h3{font-size:21px;line-height:1.25}.desktop-center .desktop-exams p{font-size:14px;line-height:1.4}
 .desktop-lead{font-size:14px;line-height:1.4;margin:5px 0 12px}.desktop-heading .eyebrow,.desktop-exams .eyebrow{font-size:10px;color:#35595e}
 .dock-heading h2{font-size:15px}.dock-heading>span{font-size:13px;color:#31565d}.dock-items .dock-item{font-size:12px;line-height:1.3}
 .dock-items .dock-item>span:last-child{display:block;overflow:visible;-webkit-line-clamp:unset}.dock-items{align-items:start;max-height:170px;overflow:auto}
 .desktop-wish,.desktop-whisper{font-size:18px}.clock-block p.handwritten{font-size:13px}.daily-story p{font-size:13px;color:#34535a}.daily-source{font-size:11px;color:#34535a}
 .mood-widget p{font-size:15px;line-height:1.4}.note-sign{font-size:11px;line-height:1.4}
}
@media(min-width:1280px) and (min-height:700px) and (max-height:850px){
 .desktop-cards:has(.school-card){height:28vh;min-height:200px}.desktop-center .desktop-exams,.desktop-center.has-extra-sections .desktop-exams{height:16vh;min-height:125px}
 .desktop-center .desktop-exams .desktop-card-copy,.desktop-center .desktop-exams .exam-vpr .desktop-card-copy{padding:9px}
 .desktop-center .desktop-exams h3{font-size:18px}.desktop-center .desktop-exams p{font-size:13px}
 .desktop-card p{font-size:13px}.desktop-lead{font-size:13px;margin:3px 0 7px}.desktop-cards:has(.school-card)>.desktop-card:not(.school-card) h3{font-size:18px}
 .desktop-cards:has(.school-card)>.desktop-card .desktop-card-copy{padding:7px 9px}
 .desktop-wish,.desktop-whisper{font-size:15px}.daily-story p{font-size:12px}.dock-heading>span{font-size:12px}
}
@media(max-width:1279px){.desktop-bottom-row{flex-wrap:wrap;margin-bottom:16px}.development-dock{flex:1 1 100%}.desktop-bottom-row .trainer-dock{flex-basis:100%;width:100%}}
@media(max-width:760px){.desktop-bottom-row{padding:0 16px;gap:15px}.development-item{flex-basis:100%}}
@media(min-width:1280px) and (min-height:700px){
 .desktop-bottom-row .trainer-dock{max-width:none;width:auto;flex:1 1 850px}
 .development-dock{flex-basis:330px}
 .desktop-layout{grid-template-columns:minmax(250px,.8fr) minmax(0,2.7fr) minmax(280px,.8fr)}
}

.development-item img{width:72px;height:72px;object-fit:contain;border-radius:20px}.development-item{flex-direction:column;align-items:center;text-align:center;flex-basis:125px}.development-item small{font-size:12px}.development-dock{flex-basis:360px}.development-dock h2{font-size:16px}
@media(min-width:1280px) and (min-height:700px) and (max-height:850px){.desktop-right{gap:5px}.daily-widget{padding:10px}.mood-widget p{margin:4px;font-size:14px}.desktop-wish{padding-top:0;padding-bottom:0}}

.desktop-bar .desktop-links{margin-left:auto}

.development-item img{width:88px;height:88px;object-fit:cover;border-radius:15px;border:2px solid #fff}.development-item strong{font-size:16px}
@media(min-width:1280px) and (min-height:700px){.dock-items .dock-item{flex-basis:calc((100% - 30px)/4)}}
@media(min-width:1280px) and (min-height:700px) and (max-height:950px){.desktop-layout{padding-top:4px;padding-bottom:3px}}
/* Docks must size to their own content, never stretch the workspace. */
.desktop-bottom-row{align-items:start;gap:18px}
.desktop-bottom-row .trainer-dock{align-self:start;align-content:start;grid-template-rows:auto auto;height:auto}
.desktop-bottom-row .development-dock{align-self:start;height:auto}
.development-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:12px}
.development-item{display:flex;min-width:0;gap:7px}.development-item small{display:none}
.development-item strong{font-size:13px;line-height:1.35}.development-item img{width:72px;height:72px;max-width:100%;border-radius:17px}
@media(min-width:1280px) and (min-height:700px){
 .desktop-bottom-row{max-width:1650px}.desktop-bottom-row .trainer-dock{flex:1 1 900px;padding:10px 16px}
 .development-dock{flex:0 0 430px;padding:10px 14px}.development-dock h2{margin-bottom:8px;font-size:15px}
 .dock-heading{padding-bottom:6px;margin-bottom:0;min-height:0}.dock-heading>span{max-width:none}
 .dock-items{height:auto;min-height:0;max-height:none;padding:4px 0 10px;align-items:start}
 .dock-items .dock-item{font-size:11px}.dock-all{margin-top:4px}
}
@media(max-width:1279px){.development-dock{flex-basis:100%}}
@media(max-width:500px){.development-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Individual development shortcuts; a finite dock opens the full trainer list. */
.development-dock{position:relative;top:10px;background:transparent;border:0;box-shadow:none;backdrop-filter:none;padding:16px 0!important}
.development-item strong{color:#163e45;text-shadow:0 1px 3px #fff,0 0 9px #fff;font-size:14px;line-height:1.35}
.development-item img{width:76px;height:76px;box-shadow:0 4px 12px #23454b26}
.dock-items{overflow:visible!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px!important}
.dock-items>.dock-item:nth-child(n+6){display:none}
.dock-items .dock-item{min-width:0;width:auto;flex-basis:auto!important}
@media(min-width:1280px) and (min-height:700px){
 .desktop-left,.desktop-center,.desktop-right{overflow:visible;scrollbar-width:none}
 .desktop-layout{padding-top:24px;padding-bottom:18px;grid-template-columns:minmax(250px,1fr) minmax(0,2.25fr) minmax(280px,1fr);gap:22px}
 .desktop-bottom-row{max-width:1500px;gap:26px}
 .desktop-bottom-row .trainer-dock{max-width:1000px}
 .development-dock{flex:0 0 420px}
 .desktop-center .desktop-exams{height:21vh}
 .desktop-cards:has(.school-card){height:32vh}
 .desktop-whisper{margin-top:18px}
 .daily-photo{height:18vh}.mood-photo{height:12vh}
 .desktop-wish{padding-bottom:10px}
}
@media(min-width:1280px) and (min-height:700px) and (max-height:850px){
 .desktop-layout{padding-top:12px;padding-bottom:8px;gap:16px;grid-template-columns:250px minmax(0,1fr) 280px}
 .desktop-cards:has(.school-card){height:28vh}.desktop-center .desktop-exams{height:19vh}
 .daily-photo{height:12vh}.mood-photo{height:8vh}
 .desktop-whisper{margin-top:8px}
 .development-dock{flex-basis:390px}
}
@media(min-width:1280px) and (min-height:700px){
 .desktop-right{gap:9px}.daily-widget{padding:12px}.daily-photo{height:12vh;min-height:0;max-height:190px}
 .daily-story h3{margin:7px 0}.daily-story p{margin-bottom:6px}
 .mood-photo{height:8vh;min-height:0;max-height:140px}.mood-widget p{margin:5px}
 .desktop-center .desktop-exams{height:24vh;grid-template-columns:1.1fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}
 .desktop-center .desktop-exams .exam-vpr{grid-column:1;grid-row:1/span 2}
 .desktop-center .desktop-exams .exam-koge{grid-column:2;grid-row:1}
 .desktop-center .desktop-exams .exam-kege{grid-column:2;grid-row:2}
 .desktop-center .desktop-exams .desktop-card-copy{padding:10px 12px;width:66%}
 .desktop-center .desktop-exams .exam-vpr .desktop-card-copy{padding:18px;width:65%}
 .desktop-center .desktop-exams h3{margin:0 0 5px;font-size:20px}
 .desktop-center .desktop-exams .eyebrow{display:none}
 .desktop-center .desktop-exams .exam-vpr h3{font-size:24px}
}
@media(min-width:1280px) and (min-height:700px) and (max-height:850px){
 .desktop-right{gap:6px}.daily-widget{padding:10px}.daily-photo{height:10vh}.mood-photo{height:7vh}
 .desktop-center .desktop-exams{height:23vh;gap:9px}
 .desktop-center .desktop-exams .desktop-card-copy{padding:7px 10px}
 .desktop-center .desktop-exams h3{font-size:18px}.desktop-center .desktop-exams p{font-size:12px}
 .desktop-center .desktop-exams .exam-vpr h3{font-size:22px}
}
@media(min-width:1280px) and (min-height:700px) and (max-height:850px){
 .daily-photo{height:55px}.mood-photo{height:35px}
 .desktop-cards:has(.school-card)>.desktop-card:not(.school-card) h3{font-size:17px;overflow-wrap:normal;hyphens:none}
 .desktop-center .desktop-cards:has(.school-card)>.desktop-card>img{height:55%;flex-basis:55%}
 .desktop-cards:has(.school-card)>.desktop-card .desktop-card-copy{padding:7px 8px}
 .development-item strong{font-size:13px;overflow-wrap:normal}
}
@media(min-width:1280px) and (min-height:700px){
 .trainer-dialog{width:min(1100px,92vw)}
 .trainer-dialog-items{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
}
@media(min-width:1280px) and (min-height:700px) and (max-height:850px){.desktop-right{gap:4px}}
@media(min-width:1280px) and (min-height:700px){.desktop-center .desktop-exams{grid-template-columns:1fr 1.15fr}}
@media(min-width:1650px){.clock-block time{font-size:68px}}
@media(max-width:760px){.dock-items{grid-template-columns:repeat(3,minmax(0,1fr))}.dock-items>.dock-item:nth-child(n+4){display:none}}
/* Clearly visible news navigation, with keyboard focus and comfortable targets. */
.news-controls{display:flex;align-items:center;gap:7px;flex:none}
.daily-widget .news-controls button{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:0 0 3px;border:1px solid #398087;border-radius:50%;background:#e0efeb;color:#145d64;font:700 29px/1 system-ui;box-shadow:0 2px 5px #164c5420}
.daily-widget .news-controls button:hover{background:#1b7279;border-color:#1b7279;color:white}
.daily-widget .news-controls button:focus-visible{outline:3px solid #18666e;outline-offset:3px}
.daily-widget>header{margin-bottom:9px}.daily-widget>header h2{margin-bottom:0}
.daily-widget{container-type:inline-size}
@container(max-width:300px){
 .daily-widget>header{gap:6px;margin-bottom:7px}
 .daily-widget>header h2{font-size:17px;line-height:1.2}
 .daily-widget .news-controls{gap:5px}
 .daily-widget .news-controls button{width:30px;height:30px;font-size:26px}
}
@media(min-width:1280px) and (min-height:700px){.desktop-wish{padding-bottom:0}}
@media(min-width:1280px) and (min-height:700px) and (max-height:850px){.desktop-right{gap:2px}}
.daily-widget .daily-photo{object-fit:contain;background:transparent}

/* Photographs fill their frames; note text overlays the photograph. */
.daily-widget .daily-photo,.mood-widget .mood-photo{object-fit:cover;object-position:center;background:#eee9dc;display:block}
.desk-note{display:flex;flex-direction:column;justify-content:flex-start;padding:0;background:#f6f2e8;overflow:hidden}
.desk-note .note-photo{position:static;inset:auto;z-index:auto;display:block;width:100%;max-width:100%;height:0;min-height:0;flex:1 1 auto;margin:0;object-fit:contain;object-position:center;border-radius:0;background:#eee9dc}
.desk-note p{position:static;flex:none;transform:none;margin:0;padding:9px 12px;background:#f6f2e8;font-size:clamp(14px,1.6vh,19px);line-height:1.3}
.desk-note .note-sign:empty{display:none}
.desk-note .note-sign{position:static;padding:0 12px 7px;margin:0;flex:none}

/* Full-card note, matching the supplied reference. */
.desk-note{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;min-height:220px;height:clamp(220px,30vh,340px);padding:0;margin:0;overflow:hidden;border:3px solid #ffffffba;border-radius:24px;background:#d8e1df;transform:none}
.desk-note .note-photo{position:absolute;inset:0;z-index:-2;display:block;width:100%;max-width:none;height:100%;min-height:0;margin:0;object-fit:cover;object-position:center;border-radius:0}
.desk-note::after{content:"";position:absolute;inset:40% 0 0;z-index:-1;background:linear-gradient(transparent,rgba(9,28,29,.46));pointer-events:none}
.desk-note .note-label{position:absolute;top:16px;left:16px;max-width:calc(100% - 32px);padding:5px 12px;border-radius:16px;background:#faf6e9e8;color:#24424a;font:12px/1.35 system-ui,sans-serif;letter-spacing:.03em}
.desk-note p{position:static;flex:none;transform:none;max-width:none;margin:0;padding:55px 24px 22px;background:none;color:white;text-shadow:0 2px 4px #18333390;font-family:"Segoe Print","Comic Sans MS",cursive;font-size:clamp(18px,1.6vw,25px);line-height:1.35}
.desk-note .note-sign{position:static;flex:none;padding:0 24px 14px;margin:0;background:none;color:white;text-shadow:0 1px 3px #183333}
@media(max-width:760px){.desk-note{height:260px}.desk-note p{padding:55px 18px 20px;font-size:21px}}

/* Taller wish card: preserve the complete photograph at its native proportions. */
.mood-widget{height:auto;max-height:none;flex-shrink:0}
.mood-widget .mood-photo{display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center}

/* Keep sidebar content inside the workspace, above the icon docks. */
@media(min-width:1280px) and (min-height:700px){
 .desktop-right{overflow:visible;min-height:0;scrollbar-width:none}
}

/* News photographs remain completely visible within the existing field. */
.daily-widget .daily-photo{display:block;width:100%;object-fit:contain;object-position:center;background:transparent}

/* Native wide news artwork: entire 1440 x 400 banner at its intended ratio. */
.daily-widget .daily-photo{display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:18/5;object-fit:contain;object-position:center;background:transparent}

/* Keep news brief without a scrollable sidebar. */
.desktop-right{overflow:visible;scrollbar-width:none}
.daily-story h3,.daily-story p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.daily-source{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(min-width:1280px) and (min-height:700px) and (max-height:740px){.daily-story h3,.daily-story p{-webkit-line-clamp:1;line-clamp:1}}

/* The primary resource keeps its prominence at every viewport height. */
.desktop-center .desktop-cards .school-card{
 position:relative;grid-column:1/-1;grid-row:auto;min-width:0;
 border:2px solid #16767b;background:linear-gradient(135deg,#17666c,#10484f);
 box-shadow:0 8px 22px #164e5138;
}
.desktop-center .desktop-cards .school-card:hover{box-shadow:0 12px 28px #164e5155}
.desktop-center .desktop-cards .school-card:focus-visible{outline:3px solid #10666c;outline-offset:4px}
.desktop-center .desktop-cards .school-card h3{font-size:clamp(24px,2vw,32px);line-height:1.2;color:#fff;margin:0 0 6px}
.desktop-center .desktop-cards .school-card p{font-size:14px;line-height:1.45;color:#e1f1ee;margin:0}
.desktop-center .desktop-cards .school-card .desktop-card-copy{padding:14px 16px;text-align:center;justify-content:center}
.desktop-center .desktop-cards .school-card>img{flex-shrink:0;height:clamp(160px,22vw,240px);min-height:0;max-height:none;aspect-ratio:auto;object-fit:cover}
@media(min-width:1280px){
 .desktop-center .desktop-cards:has(.school-card){
  grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));
  grid-template-rows:auto;height:auto;min-height:240px;align-items:stretch;
 }
 .desktop-center .desktop-cards:has(.school-card)>.desktop-card{
  grid-column:auto;grid-row:auto;display:flex;flex-direction:column;
 }
 .desktop-center .desktop-cards:has(.school-card)>.desktop-card>img,
 .desktop-center .desktop-cards:has(.school-card)>.desktop-card:not(.school-card)>img{
  width:100%;height:clamp(130px,17vh,190px);min-height:0;max-height:none;
  flex:0 0 auto;aspect-ratio:auto;border-radius:18px;padding:4px;object-fit:cover;
 }
 .desktop-center .desktop-cards:has(.school-card)>.desktop-card .desktop-card-copy{
  flex:1;padding:12px;text-align:center;justify-content:center;
 }
 .desktop-center .desktop-cards:has(.school-card)>.desktop-card:not(.school-card) h3{
  font-size:clamp(17px,1.35vw,23px);overflow-wrap:anywhere;
 }
}

/* Dedicated school column; the whole card remains the entrance. */
.desktop-center .school-resource-layout{display:grid;grid-template-columns:minmax(0,1.12fr) repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.school-resource-layout>h2{grid-column:1/-1}
.desktop-center .school-resource-layout>.desktop-cards:not(.desktop-exams){display:contents}
.desktop-center .school-resource-layout .desktop-cards>.desktop-card{display:flex;flex-direction:column;min-width:0;height:auto;min-height:0;grid-column:auto;grid-row:auto}
.desktop-center .school-resource-layout .desktop-cards>.school-card{grid-column:1;grid-row:span 2;border:2px solid #108d94;box-shadow:0 0 0 2px #ffffffad,0 8px 22px #164e5138}
.desktop-center .school-resource-layout .desktop-cards>.desktop-card>img{position:static;inset:auto;width:100%;height:150px;min-height:0;max-height:none;flex:0 0 auto;aspect-ratio:auto;object-fit:cover;border-radius:18px;padding:5px;opacity:1}
.desktop-center .school-resource-layout .desktop-cards>.school-card>img{height:205px}
.desktop-center .school-resource-layout .desktop-card .desktop-card-copy{position:static;width:100%;min-height:0;padding:12px;flex:1;text-align:left;background:none;justify-content:flex-start}
.desktop-center .school-resource-layout .desktop-card h3{font-size:clamp(18px,1.25vw,24px);line-height:1.15;overflow-wrap:normal;hyphens:auto;margin:0 0 10px}
.desktop-center .school-resource-layout .desktop-card p{font-size:13px;line-height:1.45;margin:0}
.desktop-center .school-resource-layout .school-card .desktop-card-copy{padding:18px 12px;text-align:center;justify-content:center;gap:12px}
.desktop-center .school-resource-layout .school-card h3{font-size:clamp(26px,2.25vw,40px);line-height:1.1;color:white;margin:0}
.desktop-center .school-resource-layout .school-card p{font-size:15px;color:#e1f1ee}
.school-benefits{display:flex;align-items:start;justify-content:space-around;gap:6px;margin-top:18px;color:#b8dddd;width:100%;font:11px/1.35 system-ui,sans-serif}
.school-benefits>span{flex:1;min-width:0}
.school-benefits svg{display:block;width:28px;height:28px;margin:0 auto 7px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.desktop-center .school-resource-layout>.desktop-exams{grid-column:2/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;height:auto;min-height:0;margin:0;gap:10px}
.desktop-center .school-resource-layout .desktop-exams>.exam-card{grid-column:auto;grid-row:auto;flex-direction:column-reverse;justify-content:space-between}
.desktop-center .school-resource-layout .desktop-exams>.exam-card>img{height:100px}
.desktop-center .school-resource-layout .desktop-exams .desktop-card-copy{padding:12px 10px}
.desktop-center .school-resource-layout .desktop-exams h3{font-size:clamp(16px,1.15vw,21px);margin:0 0 8px}
.desktop-center .school-resource-layout .desktop-exams p{font-size:12px}
.desktop-center .school-resource-layout .desktop-exams .eyebrow{display:none}
@media(max-width:700px){
.desktop-layout>.desktop-center{order:-1}
.desktop-center .school-resource-layout{grid-template-columns:repeat(2,minmax(0,1fr))}
.desktop-center .school-resource-layout .desktop-cards>.school-card{grid-column:1/-1;grid-row:auto}
.desktop-center .school-resource-layout .desktop-cards>.school-card>img{height:180px}
.desktop-center .school-resource-layout .desktop-cards>.desktop-card:not(.school-card)>img{height:110px}
.desktop-center .school-resource-layout>.desktop-exams{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}
.desktop-center .school-resource-layout .school-card h3{font-size:30px}
.desktop-center .school-resource-layout .desktop-exams h3{font-size:15px}
.desktop-center .school-resource-layout .desktop-exams p{font-size:11px}
.school-benefits{max-width:330px;align-self:center;margin-top:8px}
}

.desktop-center .school-resource-layout .desktop-cards>.desktop-card:not(.school-card) h3{font-size:clamp(16px,1.1vw,22px);overflow-wrap:normal;word-break:normal;hyphens:auto}

/* Readable copyright at every viewport size. */
body.study-desktop .desktop-footer{font-size:16px;line-height:1.5;font-weight:600;padding:0 20px;}

@media(min-width:1280px) and (min-height:700px){body.study-desktop{grid-template-rows:50px minmax(0,1fr) auto minmax(39px,auto) 24px}}
