.academy-page { min-height: calc(100dvh - 49px); padding-bottom: 15px; background: #f2f6fb; color: #263651; }
.academy-hero { position: relative; isolation: isolate; overflow: hidden; padding: 20px 15px 28px; background: linear-gradient(109deg, #183358, #28629c); color: #fff; }
.academy-hero h2 { margin: 7px 0 5px; font-size: clamp(23px, 6.3cqw, 32px); line-height: 1.25; }
.academy-hero p, .academy-subhero p { margin: 0; font-size: 13px; line-height: 1.55; }
.academy-hero p { color: #e0edff; }
.academy-hero .academy-kicker, .academy-subhero .academy-kicker { font-size: 12px; }
.academy-kicker span { margin-left: 3px; padding: 1px 4px; border: 1px solid #cbe3ff82; border-radius: 4px; font-size: 11px; }
.academy-art { position: absolute; z-index: -1; right: -8px; bottom: -9px; width: 146px; color: #c6eaff; opacity: .38; }
.academy-panel { margin: 9px 12px 0; padding: 11px; border: 1px solid #e2eaf4; border-radius: 9px; background: #fff; }
.academy-catalog { position: relative; margin-top: -9px; }
.academy-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 7px; }
.academy-heading h2, .academy-heading h3 { margin: 0; font-size: 16px; }
.academy-heading > span { color: #586d89; font-size: 12px; }
.academy-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.academy-tile { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 4px; align-content: start; min-width: 0; padding: 8px; border: 1px solid #e4ebf5; border-radius: 7px; background: #fbfdff; }
.academy-tile:hover { border-color: #adcae4; background: #f3f8ff; }
.academy-tile strong { font-size: clamp(12px, 3.55cqw, 16px); line-height: 1.35; text-wrap: balance; }
.academy-tile small { color: #566a86; font-size: 12px; line-height: 1.45; }
.academy-tile-category, .academy-tile-count { color: #547099; font-size: 11px; }
.academy-tile-count { padding-top: 2px; }
.academy-emblem { display: grid; flex: none; place-items: center; width: 35px; height: 35px; border-radius: 7px; background: #e8f1ff; color: #38679d; }
.academy-emblem[data-academy-tone="violet"] { background: #f0ebfd; color: #6b559e; }
.academy-emblem[data-academy-tone="teal"] { background: #e6f5ef; color: #26705f; }
.academy-emblem[data-academy-tone="gold"] { background: #fcf1dc; color: #8c5d25; }
.academy-emblem .icon { width: 19px; height: 19px; }
.academy-tile .academy-next { position: absolute; top: 17px; right: 7px; width: 15px; height: 15px; color: #6884a2; }
.academy-notice { margin: 10px 12px 0; text-align: center; color: #586b83; font-size: 12px; line-height: 1.55; }
.academy-subhero { display: flex; align-items: center; gap: 8px; padding: 14px 15px; background: linear-gradient(108deg, #e5effc, #f6faff); }
.academy-subhero h2 { margin: 3px 0; color: #284a77; font-size: clamp(18px, 5.1cqw, 26px); }
.academy-subhero p { color: #536f8e; }
.academy-message { margin: 8px 12px 0; padding: 6px 7px; border: 1px solid #d3e5dc; border-radius: 6px; background: #edf7f1; color: #3d6356; font-size: 13px; }
.academy-message:empty { display: none; }
.academy-overview { display: grid; gap: 5px; margin: 0 0 6px; }
.academy-overview > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 5px; padding: 5px; border-radius: 5px; background: #f4f8fd; color: #416388; font-size: 13px; }
.academy-overview dt { font-weight: 700; }
.academy-overview dd { margin: 0; line-height: 1.45; }
.academy-action { min-height: 37px; padding: 4px 6px; border: 1px solid #d9e7f7; border-radius: 5px; background: #edf5ff; color: #315f95; font-size: 13px; }
.academy-action[aria-pressed="true"] { color: #316959; background: #e9f5ef; border-color: #cce5d9; }
.academy-progress { display: flex; align-items: center; gap: 7px; margin: 5px 0 8px; color: #426489; font-size: 13px; }
.academy-progress progress { flex: 1; min-width: 0; height: 10px; accent-color: #407cb8; }
.academy-lessons { display: grid; gap: 5px; }
.academy-lesson { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 5px; padding: 7px; border: 1px solid #e5ecf5; border-radius: 6px; background: #f9fbfe; color: #294569; text-align: left; }
.academy-lesson-number { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: #e9f2fc; color: #456f9c; font-size: 12px; }
.academy-lesson-copy { display: grid; gap: 3px; min-width: 0; }
.academy-lesson-copy strong { font-size: 14px; }
.academy-lesson-copy small { color: #546d88; font-size: 12px; line-height: 1.45; }
.academy-lesson .icon { width: 13px; height: 13px; color: #6685a5; }
.academy-badge { padding: 2px 4px; border-radius: 4px; background: #edf2f8; color: #5a728e; font-size: 11px; }
.academy-badge.done { background: #e6f4eb; color: #2e6956; }
.academy-sheet-heading { margin: 9px 0 4px; color: #304e72; font-size: 15px; }
.academy-points { margin: 4px 0; padding-left: 20px; color: #435e7d; line-height: 1.6; }
.academy-exercise { margin: 0; padding: 7px; border-radius: 6px; background: #eff5fc; color: #3f638b; }
