@font-face {
  font-family: Library Sans;
  src: url("./assets/library-type.woff") format("woff");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #142f49;
  --muted: #516475;
  --teal: #086c70;
  --line: #dce5e5;
  --soft: #edf6f3;
  --paper: #fff;
  --radius: 13px;
  font-family: "Library Sans","Pretendard","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
  color: var(--ink);
  background: #fbfcfb;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box }
body { margin: 0; font-size: 1rem; line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column }
button, input { font: inherit }
button, a { -webkit-tap-highlight-color: transparent }
button { cursor: pointer; color: inherit }
button:disabled { cursor: default }
a { color: inherit; text-decoration: none }
h1,h2,h3,p { margin: 0 }
img { display: block; max-width: 100% }
[hidden] { display: none !important }
:focus-visible { outline: 3px solid #147e94; outline-offset: 3px }
::selection { color: #12344a; background: #ffe3a0 }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 10; background: white; padding: 10px 16px }
.wrap { margin-inline: auto; width: min(1184px, calc(100% - 80px)) }
.top { background: #fff; border-bottom: 1px solid var(--line) }
.top-inner { min-height: 80px; display: grid; align-items: center; grid-template-columns: 1fr auto auto; grid-template-areas: "brand actions share"; gap: 12px }
.top-inner .brand { grid-area: brand; justify-self: start }
.top-inner .share { grid-area: share; justify-self: end }
.community-actions { grid-area: actions; display: flex; align-items: center; gap: 9px }
.community-join,.request-open { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 10px; padding: 11px 18px; font-size: 1rem; line-height: 1.38; letter-spacing: -.035em; font-weight: 720; min-height: 46px; white-space: nowrap }
.community-join { background: #fee500; border: 1px solid #e5ce0a; color: #291d1a }
.community-join:hover { background: #f4dc00; border-color: #c9b711 }
.request-open { background: #eff7f4; border: 1px solid #abc9c1; color: #165e60 }
.request-open:hover { background: #deeDE7; border-color: #78aaa1 }
.chat-glyph { display: inline-block; position: relative; width: 20px; height: 15px; border-radius: 53%; background: #302226; flex: none }
.chat-glyph::after { content: ""; position: absolute; left: 3px; bottom: -2px; width: 7px; height: 7px; transform: skew(-25deg) rotate(-20deg); background: inherit }
.brand,.share,.feature,.subject-button,.heading-with-count,.only,.list-back,.download,.text-action,.batch,.place,.record-meta,.group-heading,.dialog-header { display: inline-flex; align-items: center }
.brand { gap: 11px; white-space: nowrap }
.brand img { width: 48px; height: 48px; border-radius: 50% }
.brand-name { font-size: 1.48rem; line-height: 1; letter-spacing: -.065em; font-weight: 850; color: #0c3157 }
.brand-divider { width: 1px; height: 18px; background: #d9e1e3; margin-inline: 1px }
.brand-section { font-size: 1.03rem; font-weight: 680; letter-spacing: -.055em; color: #385369 }
.share { min-height: 40px; padding: 6px 13px; border-radius: 10px; gap: 7px; background: white; border: 1px solid #d4dedf; font-size: .89rem; font-weight: 650; color: #344d60 }
.share:hover,.list-back:hover { background: var(--soft); border-color: #a8c8c6 }
.ico { --n: 0; height: 1.2em; width: 1.2em; flex: none; display: inline-block; background: currentColor; mask: url("./assets/icons.png") no-repeat; mask-size: 1300% 100%; mask-position: calc(var(--n) * 100% / 12) center; -webkit-mask: url("./assets/icons.png") no-repeat; -webkit-mask-size: 1300% 100%; -webkit-mask-position: calc(var(--n) * 100% / 12) center }
.i-link { --n: 0 }.i-download { --n: 1 }.i-book { --n: 2 }.i-flask { --n: 3 }.i-search { --n: 4 }.i-school { --n: 5 }.i-file { --n: 6 }.i-folder { --n: 7 }.i-x { --n: 8 }.i-pin { --n: 9 }.i-grid { --n: 10 }.i-done { --n: 11 }.i-stack { --n: 12 }
main.wrap { flex: 1; padding: 27px 0 70px }
.hero { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #cfdfdc; border-radius: 21px; min-height: 254px; background: linear-gradient(107deg,#f3f8f5 12%,#e8f3ef 62%,#d5eae5 100%); display: flex; align-items: center }
.hero-grid { position: absolute; z-index: -1; inset: 0; opacity: .65; background-image: linear-gradient(#9fbfb94d 1px,transparent 1px),linear-gradient(90deg,#9fbfb94d 1px,transparent 1px); background-size: 23px 23px; mask-image: linear-gradient(90deg,transparent 26%,#000 76%) }
.hero-content { position: relative; z-index: 2; padding: 30px 40px; width: 64% }
.hero-kicker { color: #176964; font-size: .91rem; font-weight: 720; display: flex; align-items: center; gap: 8px; letter-spacing: -.025em }
.accent-line { display: inline-block; width: 20px; height: 3px; border-radius: 3px; background: #e8a923 }
.hero h1 { font-size: clamp(2.4rem,4.4vw,3.65rem); line-height: 1.14; font-weight: 820; letter-spacing: -.076em; margin: 7px 0 10px; word-break: keep-all }
.hero h1 span { color: #126a69 }
.hero-description { color: #3b5462; font-size: 1.02rem; letter-spacing: -.03em; word-break: keep-all }
.feature { gap: 8px; font-size: .88rem; font-weight: 680; letter-spacing: -.03em; color: #165c60; background: #ffffffea; border: 1px solid #bdcfca; border-radius: 9px; margin-top: 20px; padding: 8px 12px; min-height: 38px; box-shadow: 0 2px 0 #1e544809 }
.feature .ico { width: 17px; height: 17px }
.feature:hover { background: #fff; border-color: var(--teal); color: #064d50 }
/* The first page and the seal in the illustration are the original archive assets. */
.desk { position: absolute; width: 334px; height: 239px; right: clamp(38px,7.5vw,104px); bottom: 3px; transform: rotate(-2deg); pointer-events: none }
.desk-shadow { position: absolute; left: 44px; bottom: 12px; width: 217px; height: 18px; border-radius: 50%; background: #204b4c3d; filter: blur(10px); transform: rotate(-6deg) }
.folder-back { position: absolute; top: 74px; left: 38px; width: 234px; height: 130px; background: #075b62; border: 1px solid #115f64; transform: rotate(-7deg); border-radius: 8px; box-shadow: 2px 5px 7px #285e6220 }
.folder-back::before { content: ""; position: absolute; top: -15px; left: -1px; width: 81px; height: 22px; background: #075b62; border-radius: 8px 13px 0 0; transform: skew(12deg); transform-origin: bottom }
.sheet { position: absolute; overflow: hidden; border: 1px solid #bccbc8; border-radius: 3px; box-shadow: 0 3px 4px #15363e26 }
.grid-paper { top: 30px; left: 112px; width: 143px; height: 172px; transform: rotate(10deg); background-color: #fffaf0; background-image: linear-gradient(#bcd7d77a 1px,transparent 1px),linear-gradient(90deg,#bcd7d77a 1px,transparent 1px); background-size: 11px 11px }
.triangle { width: 64px; height: 48px; position: absolute; right: 8px; top: 15px; border: 2px solid #e6ac3c; background: #f8cb6355; clip-path: polygon(0 100%,100% 0,100% 100%) }
.triangle::before { content: ""; position: absolute; width: 85px; height: 2px; bottom: -2px; left: -2px; background: #e6ac3c; transform-origin: left; transform: rotate(-36.9deg) }
.small-angle { position: absolute; right: 14px; top: 51px; width: 7px; height: 7px; border: 1px solid #d7a044 }
.exam-paper { top: 22px; left: 52px; width: 158px; height: 195px; padding: 0; background: #fff; transform: rotate(-10deg) }
.exam-paper img { width: 100%; height: auto }
.folder-front { position: absolute; top: 116px; left: 36px; width: 242px; height: 100px; background: linear-gradient(106deg,#3b9c92 0%,#278b83 57%,#137b76 100%); transform: rotate(-7deg) skewX(-4deg); border: 1px solid #187a76; border-top: 2px solid #6cb6a8; border-radius: 5px 7px 13px 10px; box-shadow: 1px 4px 0 #075b60,3px 10px 12px #1e525624 }
.folder-pocket { position: absolute; inset: 7px 6px; border: 1px solid #c5ece130; border-radius: 2px 3px 8px 6px }
.folder-tag { position: absolute; left: 19px; top: 14px; width: 63px; height: 63px; padding: 3px; background: #fffef5; border-radius: 50%; transform: rotate(5deg); box-shadow: 0 1px 3px #19474354 }
.folder-tag img { width: 100%; height: 100%; border-radius: 50% }
.folder-rules { position: absolute; right: 19px; bottom: 19px; width: 38px }
.folder-rules b { display: block; margin-top: 4px; height: 1px; background: #d0efe58c }
.pencil { position: absolute; left: 247px; top: 116px; width: 96px; height: 11px; transform: rotate(-59deg); filter: drop-shadow(0 2px 2px #214d4c44); display: flex; align-items: stretch }
.pencil-tip { width: 16px; clip-path: polygon(0 50%,100% 0,100% 100%); background: linear-gradient(90deg,#173749 0 30%,#ddaf76 31% 100%) }
.pencil-body { flex: 1; background: linear-gradient(#ffe196 0 27%,#f5bd47 28% 71%,#d89b27 72%); border-block: 1px solid #b28b4070 }
.pencil-band { width: 7px; background: linear-gradient(#e4f0e9,#a8b6ae,#d8e5dc); border-inline: 1px solid #a0b5ac }
.pencil-eraser { width: 9px; border-radius: 0 3px 3px 0; background: linear-gradient(#ecaa8a,#da886a) }
.subject-switch { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 15px 0 26px }
.subject-button { min-height: 57px; min-width: 100px; justify-content: center; gap: 8px; padding: 7px 17px; border: 0; background: transparent; color: #586a78; font-size: 1.06rem; font-weight: 650; letter-spacing: -.045em; position: relative }
.subject-button[aria-pressed="true"] { color: var(--teal); font-weight: 780 }
.subject-button[aria-pressed="true"]::after { content: ""; height: 3px; position: absolute; bottom: -1px; left: 5px; right: 5px; border-radius: 4px 4px 0 0; background: var(--teal) }
.subject-button:hover:not(:disabled) { background: #edf5f266 }
.subject-button:disabled { color: #798589; cursor: default }
.grade-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 680px; gap: 10px; margin: 15px 0 28px }
.grade-choice { min-height: 54px; padding: 8px 12px; border: 1px solid #cbdcd7; background: #fff; color: #375861; border-radius: 10px; font-size: 1.02rem; letter-spacing: -.035em }
.grade-choice strong { font-weight: 670 }
.grade-choice[aria-pressed="true"] { background: #155e60; border-color: #155e60; color: #fff }
.grade-choice:not([aria-pressed="true"]):hover { border-color: #6da69e; background: #edf6f2 }
.science-heading { margin-bottom: 14px }
.unit-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px }
.unit-card { height: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 20px; border: 1px solid #cbded8; border-radius: 12px; background: white }
.unit-card:hover,.unit-card:focus-visible { border-color: #71a79c; background: #f4faf6 }
.unit-body { min-width: 0; display: grid; gap: 4px }
.unit-number { color: #337165; font-size: .84rem; font-weight: 700 }
.unit-title { line-height: 1.4; letter-spacing: -.045em; font-weight: 730; font-size: 1.12rem; word-break: keep-all; overflow-wrap: anywhere }
.unit-meta { font-size: .84rem; color: #586e77 }
.unit-save { display: inline-flex; align-items: center; gap: 5px; flex: none; color: var(--teal); font-weight: 660; font-size: .88rem }
.directory-heading,.filter-line,.year-heading,.record,.detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px }
.heading-with-count { gap: 10px }
h2 { font-size: 1.55rem; line-height: 1.3; font-weight: 775; letter-spacing: -.065em }
.counter { padding: 3px 8px 4px; border-radius: 6px; color: #276c67; background: #e4efeb; font-size: .84rem; font-weight: 680; line-height: 1.35; white-space: nowrap }
.search-box { width: min(310px, 100%); min-height: 43px; border: 1px solid #cfdcdb; border-radius: 10px; background: white; display: flex; align-items: center; padding: 0 12px; gap: 9px; color: #536d75 }
.search-box:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px #1c777420 }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .93rem; padding: 8px 0; appearance: none }
.search-box input:focus { outline: 0 }
.search-box input::placeholder { color: #667882; opacity: 1 }
.search-box input::-webkit-search-cancel-button { display: none }
.icon-button { width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; display: grid; place-items: center; color: #526a74; flex: none }
.icon-button:hover { background: #e9f2ee }
.filter-line { margin: 15px 0 23px; gap: 12px; flex-wrap: wrap }
.initials { display: flex; flex-wrap: wrap; gap: 4px }
.letter { width: 34px; min-height: 33px; padding: 1px 3px 3px; background: transparent; border: 1px solid transparent; color: #435966; border-radius: 7px; font-weight: 600; line-height: 1; font-size: .95rem }
.letter:first-child { width: 49px; font-size: .88rem }
.letter[aria-pressed="true"] { background: #173e4b; border-color: #173e4b; color: white; font-weight: 720 }
.letter:not(:disabled):not([aria-pressed="true"]):hover { border-color: #c5d8d4; background: var(--soft) }
.letter:disabled { color: #9ca9ac }
.only { gap: 8px; position: relative; font-size: .89rem; font-weight: 550; color: #435a66; white-space: nowrap; cursor: pointer; min-height: 38px }
.only input { position: absolute; width: 1px; height: 1px; opacity: 0 }
.switch-track { position: relative; display: inline-block; width: 32px; height: 19px; border-radius: 99px; background: #b8c6c7; box-shadow: inset 0 0 0 1px #8e9e9d40 }
.switch-track::after { position: absolute; content: ""; left: 3px; top: 3px; width: 13px; height: 13px; background: white; border-radius: 50%; box-shadow: 0 1px 2px #24455236; transition: transform .15s }
.only input:checked + .switch-track { background: var(--teal) }
.only input:checked + .switch-track::after { transform: translateX(13px) }
.only input:focus-visible + .switch-track { outline: 3px solid #147e94; outline-offset: 3px }
.school-group + .school-group { margin-top: 23px }
.subject-note { display: flex; align-items: center; gap: 8px; border: 1px solid #d4e3dc; background: #f0f6f1; color: #39615c; padding: 10px 13px; border-radius: 8px; margin-bottom: 16px; font-size: .91rem }
.group-heading { width: 100%; gap: 12px; margin: 0 0 10px; color: #46666b; font-size: .92rem; font-weight: 710; line-height: 1.35 }
.group-heading::after { content: ""; height: 1px; flex: 1; background: var(--line) }
.school-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px 11px; list-style: none; margin: 0; padding: 0 }
.school-card { display: flex; align-items: center; min-height: 73px; height: 100%; gap: 12px; background: #fff; border: 1px solid #d9e3e2; border-radius: 11px; padding: 11px 13px; transition: border-color .15s, background .15s, box-shadow .15s }
.school-card:hover,.school-card:focus-visible { background: #f7fbf9; border-color: #83afaa; box-shadow: 0 3px 11px #143d3c0d }
.school-icon,.record-icon { display: grid; place-content: center; flex: none; width: 37px; height: 39px; border-radius: 9px; background: #eaf3f2; color: #3f777a }
.school-icon .ico { width: 22px; height: 22px }
.school-card.high .school-icon { background: #eef1f6; color: #546c8b }
.school-card.ready { border-color: #a8c7be }
.school-body { min-width: 0; display: grid; gap: 2px }
.school-name { font-weight: 680; font-size: 1.02rem; line-height: 1.35; letter-spacing: -.045em; overflow-wrap: anywhere; word-break: keep-all }
.school-meta { font-size: .81rem; color: #60727c; line-height: 1.4 }
.school-meta .available { color: #12675e; font-weight: 700 }
.school-meta .sep { margin: 0 4px; color: #91a6a3 }
.footer { background: #f6f9f8; border-top: 1px solid var(--line) }
.footer .wrap { display: flex; align-items: center; gap: 10px; padding-block: 22px; font-size: .85rem; color: #586c76 }
.footer .wrap span:first-child { color: #3c5863; font-weight: 680 }
.foot-dot { color: #92a5a6 }
.detail { min-height: 57vh }
.list-back,.text-action,.batch,.download { gap: 7px; justify-content: center; min-height: 41px; font-weight: 650; font-size: .92rem; border-radius: 9px; cursor: pointer }
.list-back { background: #fff; border: 1px solid #d1dedb; padding: 7px 12px; margin-bottom: 16px; color: #48656c }
.list-back .ico,.text-action .ico { width: 17px; height: 17px }
.detail-heading { background-color: #eaf4ef; background-image: linear-gradient(105deg,#f0f6f3 30%,#e4f1eb); border: 1px solid #cfdfd9; border-radius: 18px; padding: 27px 31px; min-height: 145px }
.place { gap: 5px; font-size: .91rem; font-weight: 640; color: #396763 }
.place .ico { width: 16px; height: 16px }
.detail-heading h1 { font-size: clamp(2rem,4.5vw,3.1rem); font-weight: 790; line-height: 1.2; letter-spacing: -.07em; margin-top: 7px; word-break: keep-all }
.detail-seal { width: 77px; height: 77px; border-radius: 50%; flex: none; padding: 4px; box-shadow: 0 2px 8px #42746a1c; background: white; transform: rotate(5deg) }
.detail .subject-switch { margin-top: 10px }
.year-heading { margin: 23px 0 10px }
.year-heading h3 { font-size: 1.04rem; font-weight: 720; letter-spacing: -.035em; color: #416067 }
.records { border: 1px solid var(--line); overflow: hidden; border-radius: var(--radius); background: white }
.record { padding: 18px 20px }
.record + .record { border-top: 1px solid var(--line) }
.record-info { display: flex; align-items: center; gap: 13px; min-width: 0 }
.record-icon { width: 43px; height: 47px; color: var(--teal) }
.record-icon .ico { width: 24px; height: 24px }
.record h3 { font-size: 1.1rem; font-weight: 710; line-height: 1.4; letter-spacing: -.04em; margin: 0 0 3px; word-break: keep-all }
.record-meta { flex-wrap: wrap; gap: 0 8px; color: var(--muted); font-size: .86rem }
.record-meta span + span::before { content: "·"; color: #859a9c; margin-right: 8px }
.batch,.download { border: 1px solid #136b68; background: var(--teal); color: white; padding: 8px 13px; white-space: nowrap }
.batch:hover,.download:hover { background: #075759 }
.text-action { color: #136c67; border: 1px solid #aac8bf; padding: 7px 13px; background: white }
.text-action:hover { background: #eaf4ef }
.empty { border: 1px dashed #c4d4d0; border-radius: 13px; background: #f6f9f7; text-align: center; padding: 31px 18px 32px; margin-top: 16px }
.empty-mark { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 13px; background: #e4efea; color: #508078; margin: 0 auto 10px }
.empty-mark .ico { width: 25px; height: 25px }
.empty h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.035em; word-break: keep-all }
.empty p { color: var(--muted); font-size: .94rem; margin-top: 4px; word-break: keep-all }
.empty .text-action { margin-top: 15px }
.toast { position: fixed; left: 50%; bottom: max(24px,env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: calc(100vw - 30px); background: #173f47; color: #fff; padding: 9px 15px; border-radius: 9px; font-size: .9rem; text-align: center; pointer-events: none; z-index: 5; box-shadow: 0 4px 18px #12343624 }
.toast:empty { display: none }
dialog { width: min(390px,calc(100% - 32px)); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: 0 14px 60px #17353430 }
dialog::backdrop { background: #19323c66 }
.dialog-header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 11px }
dialog h2 { font-size: 1.2rem }
dialog p { font-size: .94rem; color: var(--muted); margin-bottom: 8px }
dialog input { display: block; width: 100%; border: 1px solid #b8cbc8; padding: 9px; border-radius: 7px; font-size: 1rem; color: var(--ink) }
#request-dialog { width: min(430px,calc(100% - 28px)); max-height: calc(100dvh - 30px); overflow-y: auto }
#request-form label { display: block; color: #36545e; font-size: .94rem; font-weight: 650; margin: 14px 0 6px }
#request-text { width: 100%; min-height: 103px; resize: vertical; font: inherit; color: var(--ink); background: #fff; padding: 11px 12px; border: 1px solid #b2c8c1; border-radius: 9px }
#request-help,#request-status { margin: 6px 0 14px; font-size: .9rem; line-height: 1.55; word-break: keep-all }
#request-status { color: #17605d }
#request-status:empty { display: none }
#request-submit { width: 100% }
#request-manual { width: 100% }
@media (max-width: 1030px) {
  .wrap { width: calc(100% - 52px) }
  .desk { right: 27px; transform: scale(.91) rotate(-2deg); transform-origin: right center }
  .school-grid { grid-template-columns: repeat(3,minmax(0,1fr)) }
  .filter-line { gap: 5px 8px }
  .letter { width: 31px }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 32px) }
  .top-inner { grid-template-columns: 1fr auto; grid-template-areas: "brand share" "actions actions"; gap: 7px 8px; padding-block: 9px 11px }
  .community-actions { width: 100%; gap: 8px }
  .community-actions > * { flex: 1; min-height: 44px; padding: 8px 10px }
  .brand { gap: 8px }
  .brand img { width: 39px; height: 39px }
  .brand-name { font-size: 1.24rem }
  .brand-section { font-size: .93rem }
  main.wrap { padding-top: 16px; padding-bottom: 45px }
  .hero { min-height: 209px; border-radius: 16px }
  .hero-content { padding: 22px; width: 63% }
  .hero h1 { font-size: clamp(2rem,5.2vw,2.65rem) }
  .hero-description { font-size: .94rem }
  .desk { right: 9px; bottom: -9px; transform: scale(.68) rotate(-2deg) }
  .feature { margin-top: 13px }
  .subject-switch { margin: 8px 0 20px }
  .school-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px }
  .school-card { padding: 10px; gap: 9px }
  .only { margin-left: auto }
  .filter-line { margin-bottom: 13px }
  .unit-card { padding: 13px 15px }
  .grade-choices { margin-bottom: 20px }
}
@media (max-width: 530px) {
  .brand { display: grid; grid-template-columns: 38px auto; grid-template-rows: auto auto; gap: 1px 8px }
  .brand img { grid-row: 1 / 3; width: 38px; height: 38px }
  .brand .brand-divider { display: none }
  .brand-name { align-self: end; font-size: 1.16rem }
  .brand-section { align-self: start; font-size: .78rem; line-height: 1.24 }
  .share { min-height: 38px; padding: 6px 10px; font-size: .84rem }
  .share > span:last-child { display: none }
  .community-actions > * { font-size: .93rem }
  .hero { min-height: 183px }
  .hero-content { padding: 17px 15px; width: 68% }
  .hero-kicker { font-size: .78rem; gap: 6px }
  .accent-line { width: 13px }
  .hero h1 { font-size: clamp(1.65rem,6.8vw,2.12rem); margin: 6px 0 7px }
  .hero-description { font-size: .88rem; line-height: 1.5 }
  .feature { gap: 5px; padding: 5px 7px; font-size: .82rem; min-height: 36px; margin-top: 11px; word-break: keep-all }
  .feature-year { display: none }
  .feature .ico { width: 15px; height: 15px }
  .desk { right: 1px; transform: scale(.44) rotate(-2deg); bottom: -23px }
  .subject-button { min-width: 84px; min-height: 48px; font-size: 1rem }
  .subject-switch { margin-bottom: 17px }
  h2 { font-size: 1.3rem }
  .directory-heading { flex-wrap: wrap; gap: 12px }
  .search-box { width: 100%; min-height: 43px }
  .search-box input { font-size: 1rem }
  .filter-line { flex-direction: column; align-items: start; margin-top: 9px; gap: 3px }
  .letter { width: 36px; min-height: 36px }
  .initials { gap: 1px }
  .only { margin-left: 0; min-height: 37px }
  .school-group + .school-group { margin-top: 17px }
  .school-card { min-height: 65px; gap: 7px; padding: 8px }
  .school-icon { width: 29px; height: 33px; border-radius: 7px }
  .school-icon .ico { width: 19px; height: 19px }
  .school-name { font-size: .95rem }
  .school-meta { font-size: .78rem }
  .detail-heading { min-height: 116px; padding: 18px; gap: 12px }
  .detail-heading h1 { font-size: 1.9rem }
  .detail-seal { width: 57px; height: 57px }
  .record { padding: 14px; display: grid; gap: 13px }
  .record .download { justify-self: start; margin-left: 56px }
  .record-meta { font-size: .81rem }
  .detail .directory-heading { gap: 14px }
  .grade-choices { gap: 6px; margin-top: 12px }
  .grade-choice { min-height: 44px; padding: 6px; font-size: .94rem; word-break: keep-all }
  .unit-grid { grid-template-columns: minmax(0,1fr); gap: 8px }
  .unit-card { padding: 12px 14px }
  .unit-title { font-size: 1.02rem }
  .unit-body { gap: 2px }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px) }
  .desk { right: -5px; transform: scale(.36) rotate(-2deg) }
  .hero-content { width: 72% }
  .hero h1 { font-size: 1.6rem }
  .brand-divider { display: none }
  .school-icon { display: none }
}
@media (prefers-reduced-motion: reduce) { *,*::after,*::before { transition: none !important } }
