body:has(.thanks-hero) {
  --morning-page:#f7f6ef; --morning-panel:#fffef9; --morning-raised:#e7eddf;
  --morning-line:#d9ddce; --morning-ink:#253d43; --morning-muted:#536056;
  --morning-accent:#355849;
}
.morning-hero.thanks-hero {
  display:grid; grid-template-columns:minmax(0,43%) minmax(0,57%); align-items:center;
  justify-content:normal; min-height:340px; padding:28px 32px;
  background:#f6efe0; border-color:#dcd5c4;
}
.morning-hero.thanks-hero::before {
  inset:0; height:auto;
  background:linear-gradient(90deg,#f6efe0 0%,#f6efe0 30%,#f6efe0ed 38%,#f6efe075 46%,transparent 58%),
    url('./desk.webp') 73% 66% / cover no-repeat;
}
.thanks-hero .academy-greeting {max-width:100%}
.thanks-hero .academy-greeting .eyebrow {
  position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0;border:0;
}
.thanks-occasion {display:flex;gap:10px;align-items:center;color:#854422;font-size:12px;font-weight:650;letter-spacing:.06em}
.thanks-occasion time {font:600 13px/1.3 ui-monospace,Menlo,monospace;border-right:1px solid #b79272;padding-right:10px}
.thanks-hero .academy-greeting h1 {display:block;margin:16px 0 8px;color:#283e37;line-height:1.2;font-size:clamp(34px,3.7vw,54px);letter-spacing:-.045em}
.thanks-hero .academy-greeting > p:last-child {color:#425044;max-width:27em;font-size:15px;line-height:1.7;margin:0}
.thanks-hero .academy-stats {display:flex;gap:0;width:min(310px,100%);padding-top:12px;margin-top:19px;border-top:1px solid #cfc9b8}
.thanks-hero .academy-stat {flex:1;min-width:0;padding:0;background:none;border:0;box-shadow:none;backdrop-filter:none}
.thanks-hero .academy-stat > span {display:none}
.thanks-hero .academy-stat > div {display:flex;flex-direction:column-reverse}
.thanks-hero .academy-stat small {color:#536056;font-size:11px}
.thanks-hero .academy-stat strong {font:650 21px/1.22 ui-monospace,Menlo,monospace;color:#33483e}
.thanks-terminal {align-self:end;justify-self:start;max-width:100%;padding:9px 15px 11px;border-radius:11px;border:1px solid #71806b;background:#283c38;color:#fcf8e4;box-shadow:0 7px 20px #10231a2e}
.thanks-toolbar {display:flex;align-items:center;justify-content:space-between;gap:22px}
.thanks-toolbar > span {color:#d1d6c5;font:500 11px/1.4 ui-monospace,Menlo,monospace}
.thanks-run {display:inline-flex;align-items:center;gap:5px;justify-content:center;border-radius:6px;border:0;background:#f3dfa1;color:#2c4137;padding:4px 10px;min-height:36px;line-height:1.25;font-family:inherit;font-size:12px;font-weight:650;cursor:pointer}
.thanks-run:hover {background:#fae9ba}.thanks-run:focus-visible {outline:3px solid #fff4c3!important;outline-offset:2px}
.thanks-terminal code {display:block;margin:7px 0 3px;overflow-wrap:anywhere;white-space:normal;font:14px/1.5 Menlo,"PingFang SC",monospace;color:#fcf8e4;background:none;padding:0}
.thanks-terminal code b {color:#e6c889;font-weight:500}.thanks-terminal code i {color:#e5ddba;font-style:normal}
.thanks-output {min-height:18px;color:#d0d6cb;font-size:12px;line-height:1.5}
.thanks-output::before {content:'›';color:#d7bc78;margin-right:7px}.thanks-output.has-run {color:#f3d69b;animation:thanks-reveal .18s ease-out}
@keyframes thanks-reveal {from{opacity:.25}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.thanks-output.has-run{animation:none}}
@media(max-width:900px){.morning-hero.thanks-hero{padding:22px;grid-template-columns:minmax(0,48%) minmax(0,52%)}}
@media(max-width:650px){
  .morning-hero.thanks-hero{display:block;min-height:0;padding:14px 12px 10px}
  .morning-hero.thanks-hero::before{inset:0;height:auto;background:linear-gradient(0deg,#f6efe0 0%,#f6efe0 28%,transparent 70%),linear-gradient(90deg,#f6efdfef 0%,#f6efdfe8 30%,#f6efdf80 62%,transparent 84%),url('./desk.webp') 75% 30% / auto 225px no-repeat}
  .thanks-occasion,.thanks-occasion time{font-size:10px}
  .thanks-hero .academy-greeting h1{font-size:clamp(27px,7vw,35px);margin:10px 0 4px}
  .thanks-hero .academy-greeting > p:last-child{font-size:12px;max-width:19em;line-height:1.5}
  .thanks-hero .academy-stats{width:195px;max-width:100%;margin-top:8px;padding-top:5px}
  .thanks-hero .academy-stat small{font-size:10px}.thanks-hero .academy-stat strong{font-size:16px}
  .thanks-terminal{width:100%;margin-top:9px;padding:3px 11px 6px}
  .thanks-run,.thanks-run:hover{background:transparent;color:#f3dfa1;min-height:44px;padding:4px}
  .thanks-terminal code{font-size:12px;margin:0 0 2px}.thanks-output{font-size:11px;min-height:16px}
  .academy-home:has(.thanks-hero) .academy-stop.current{order:-1}
}
@media(max-width:650px){
  body:has(.thanks-hero) .appbar .topbar .nav {
    display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-start;
    overflow-x:auto;max-width:100%;min-width:0;gap:5px;padding:2px 0 5px;
    scrollbar-width:thin;scroll-padding-inline:6px;
  }
  body:has(.thanks-hero) .appbar .topbar .nav > :is(button,a):not([hidden]) {
    flex:0 0 auto;width:auto;min-width:0;min-height:44px;padding:6px 10px;white-space:nowrap;
  }
}
