:root{--jway-gold:#b38b45;--jway-ink:#102f3a;--jway-paper:#f7f3e9}
.jway-schoolwork{max-width:980px;margin:0 auto 60px;padding:20px;line-height:1.7}
.jway-schoolwork section{margin:32px 0;padding:24px;border:1px solid #d9e0de;border-top:4px solid var(--jway-gold);border-radius:8px;background:#fff}
.jway-schoolwork h2,.jway-schoolwork h3{font-family:Georgia,serif}
.jway-schoolwork details{border:1px solid #d9e0de;border-radius:5px;margin:12px 0;padding:14px 18px}
.jway-schoolwork details[open]{background:var(--jway-paper)}
.jway-schoolwork summary{cursor:pointer;font-weight:700;min-height:28px}
.jway-schoolwork textarea,.jway-schoolwork select,.jway-schoolwork input[type=number]{border:1px solid #708389;border-radius:4px;padding:10px;background:#fff;max-width:100%}
.jway-schoolwork input[type=number]{width:100px;display:block}
.jway-schoolwork button{background:var(--jway-ink);color:#fff;border:0;border-radius:4px;padding:12px 20px;min-height:44px}
.jway-schoolwork summary:focus-visible,.jway-schoolwork textarea:focus-visible,.jway-schoolwork select:focus-visible{outline:3px solid #9b650e;outline-offset:3px}
@media(max-width:600px){.jway-schoolwork{padding:12px}.jway-schoolwork section{padding:14px}.jway-schoolwork details{padding:12px}}
.page article:has(.jway-schoolwork) .entry-title{font-size:clamp(32px,4vw,46px)!important;line-height:1.2!important;height:auto!important;min-height:0!important;padding:24px 20px 8px!important;margin:0 auto!important;max-width:980px}
.page article:has(.jway-schoolwork) .entry-header{height:auto!important;min-height:0!important}
.jway-schoolwork h2{font-size:30px!important;line-height:1.25!important;margin:12px 0 18px!important}
.jway-schoolwork h3{font-size:26px!important;line-height:1.3!important;margin:0 0 16px!important}
.jway-schoolwork summary:focus-visible,.jway-schoolwork textarea:focus-visible,.jway-schoolwork select:focus-visible{outline:3px solid #9b650e;outline-offset:4px}
.jway-support{max-width:1040px;margin:24px auto 64px;padding:20px;line-height:1.7}.jway-support h2{font:32px/1.25 Georgia,serif;margin:24px 0}.jway-support h3{font:24px/1.3 Georgia,serif;margin:12px 0}.jway-resource,.jway-message{padding:24px;border:1px solid #d9e0de;border-top:3px solid #b48a49;border-radius:8px;margin:20px 0;background:#fff}.jway-support section{margin:32px 0}.jway-support label{display:block;font-weight:600;margin:14px 0}.jway-support input:not([type=checkbox]),.jway-support textarea,.jway-support select{display:block;width:100%;padding:10px;border:1px solid #708389;border-radius:4px;background:#fff;color:#15323d}.jway-support textarea{min-height:130px}.jway-support button,.jway-action{background:#15323d;color:#fff;padding:12px 20px;border:0;border-radius:4px;display:inline-block}.jway-status{padding:15px;background:#f7f4ed;border-left:4px solid #b48a49}.jway-preserve{white-space:pre-wrap;overflow-wrap:anywhere}.jway-video-placeholder{background:#15323d;color:white;min-height:210px;padding:32px;text-align:center;border-radius:6px}.jway-video-placeholder span{font-size:42px;color:#e3c58e}.jway-support video{width:100%;max-height:600px;background:#15323d}.jway-support summary{cursor:pointer;padding:12px;font-weight:700}.jway-calendar-nav{display:flex;justify-content:space-between;align-items:center;gap:12px}.jway-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.jway-day{min-height:85px;border:1px solid #d9e0de;padding:8px;overflow-wrap:anywhere}.jway-day a{display:block;font-size:13px}.jway-kicker-dark{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:#775520}.jway-support :focus-visible{outline:3px solid #9b650e;outline-offset:3px}.page article:has(.jway-support) .entry-title{font-size:40px!important;height:auto!important;padding:24px 20px!important}.page article:has(.jway-support) .entry-header{height:auto!important}@media(max-width:600px){.jway-support{padding:12px}.jway-resource{padding:16px}.jway-day{padding:4px;min-height:65px}.jway-day a{font-size:11px}.jway-calendar-nav h3{font-size:20px}}
.page article:has(.jway-support) .entry-title{min-height:0!important;margin:0 auto!important;max-width:1040px;line-height:1.2!important}.page article:has(.jway-support) .entry-header{min-height:0!important;margin-bottom:0!important;padding-bottom:0!important}.jway-support>h2:first-child{margin-top:0}.jway-support>p[role=status]:empty{display:none}