:root {
  color-scheme: light;
  --ink: #19382f; --muted: #63766e; --green: #205947; --green-dark: #153f32;
  --paper: #f8f9f4; --surface: #fff; --line: #dce5dc; --mint: #e9f2e5;
  --orange: #e3914e; --peach: #fbebd9; --lilac: #eeeaf7; --danger: #a63d35;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.6; background: var(--paper); color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; min-width: 0; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #e49b59; outline-offset: 4px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.04em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: .6rem; }
h3 { font-size: 1.22rem; margin-bottom: .65rem; letter-spacing: -.025em; }
p { color: var(--muted); }
small { font-size: .8rem; color: var(--muted); }
.skip-link { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; left: 1rem; top: 1rem; width: auto; height: auto; padding: .8rem; z-index: 100; background: white; }
.topbar {
  position: sticky; top: 0; z-index: 20; background: rgba(248,249,244,.96); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between;
  gap: 1.6rem; padding: 1.1rem max(1.5rem, calc((100vw - 1240px)/2)); width: 100%; min-width: 0; max-width: 100%;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.12rem; font-weight: 750; white-space: nowrap; letter-spacing: -.04em; min-width: 0; }
.brand-mark { background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; font-family: Georgia, serif; font-size: 2rem; }
.brand-mark span { font-size: 1.2rem; margin-top: .8rem; margin-left: -.25rem; }
.brand-note { display: block; font-size: .5rem; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.navigation { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .82rem; font-weight: 650; min-width: 0; max-width: 100%; }
.navigation a { padding: .65rem 0; border-bottom: 2px solid transparent; }
.navigation a[aria-current] { color: var(--green); border-color: var(--green); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; flex-shrink: 0; flex-wrap: wrap; min-width: 0; max-width: 100%; }
#account-button { min-width: 0; max-width: 180px; overflow-wrap: anywhere; }
.brand-mark { flex-shrink: 0; }
.page { width: 100%; min-width: 0; max-width: 1240px; margin: auto; padding: 2.8rem 1.5rem 5rem; }
#workspace, .hero > *, .section-heading > *, .account-grid > *, .test-layout > *, .card-body > * { min-width: 0; max-width: 100%; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .8rem 1.35rem; border: 1px solid var(--green); border-radius: 12px; background: var(--green); color: white; font-size: .88rem; font-weight: 650; line-height: 1.3; text-align: center; }
.button:hover:not(:disabled) { background: var(--green-dark); }
.button.secondary { background: transparent; color: var(--green); border-color: #b8cbbb; }
.button.secondary:hover:not(:disabled) { background: var(--mint); }
.button.orange { color: var(--ink); background: var(--orange); border-color: var(--orange); }
.button.orange:hover { background: #efaa6e; }
.button.small { padding: .65rem 1rem; font-size: .8rem; }
.button.full { width: 100%; }
.text-link, .link-button { color: var(--green); font-weight: 650; font-size: .85rem; }
.link-button { border: 0; background: none; padding: .7rem 0; min-height: 44px; text-align: left; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; min-width: 48px; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 1.2rem; }
.notification-bell { white-space: nowrap; font-size: 1rem; padding: .4rem .7rem; }
.eyebrow { display: inline-block; font-size: .66rem; font-weight: 750; letter-spacing: .12em; color: var(--green); margin-bottom: 1rem; }
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; padding: 2rem 0 3.5rem; }
.hero-copy > p { max-width: 510px; font-size: 1rem; }
.hero h1 em { font-family: Georgia, serif; color: #3a7358; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.8rem; align-items: center; margin: 1.8rem 0; }
.hero-note { display: flex; gap: 1rem; align-items: center; font-size: .73rem; color: var(--muted); }
.hero-note strong { color: var(--ink); font-weight: 600; }
.avatar-stack { display: flex; padding-left: 6px; }
.avatar-stack i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mint); border: 2px solid var(--paper); margin-left: -6px; font-style: normal; }
.avatar-stack i:nth-child(2) { background: var(--peach); }
.avatar-stack i:nth-child(3) { background: var(--lilac); }
.catalog-summary { padding: 2.4rem; border-radius: 32px; background: #eaf1e4; position: relative; border: 1px solid #d4dfce; }
.catalog-summary h2 { font-family: Georgia, serif; font-weight: 500; font-size: 2.2rem; margin-bottom: 1.5rem; }
.catalog-summary p { font-size: .75rem; margin: 1rem 0 0; }
.catalog-stat { display: flex; align-items: baseline; gap: 1.25rem; padding: .8rem 0; border-bottom: 1px solid #ccd9c4; }
.catalog-stat strong { min-width: 2.5rem; font-size: 2rem; line-height: 1.2; letter-spacing: -.06em; }
.catalog-stat span { font-size: .85rem; }
.path-strip { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1rem; margin-bottom: 4rem; }
.path-strip > a { display: flex; align-items: center; gap: 1rem; padding: 1.3rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.path-strip > a, .path-strip > a > span { min-width: 0; }
.path-strip strong, .path-strip small { overflow-wrap: anywhere; }
.path-strip > a:hover { border-color: #94ad94; transform: translateY(-2px); }
.path-strip strong { display: block; font-size: .9rem; }
.path-strip small { display: block; margin-top: .2rem; font-size: .72rem; }
.path-strip b { margin-left: auto; }
.path-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--green); background: var(--mint); flex-shrink: 0; }
.peach { background: var(--peach) !important; }
.lilac { background: var(--lilac) !important; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin: .5rem 0 1.8rem; }
.section-heading p { margin-bottom: 0; max-width: 650px; font-size: .9rem; }
.section-heading .eyebrow { margin-bottom: .7rem; }
.filters { display: flex; gap: 1rem; align-items: end; flex-wrap: wrap; margin-bottom: 1.7rem; width: 100%; min-width: 0; max-width: 100%; }
.tabs { display: flex; gap: .5rem; flex: 0 1 100%; width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; padding: .3rem .2rem .7rem; scrollbar-width: thin; }
.tabs > .tab { flex: 0 0 auto; }
.tab { border: 1px solid #c9d7ca; background: transparent; color: var(--green); border-radius: 999px; padding: .65rem 1.1rem; min-height: 44px; font-weight: 600; font-size: .8rem; white-space: nowrap; }
.tab.active { background: var(--green); color: white; border-color: var(--green); }
.filter-label { display: flex; flex-direction: column; gap: .3rem; font-size: .7rem; color: var(--muted); flex: 0 1 180px; min-width: 0; max-width: 100%; }
.filter-select { border: 1px solid #d7e0d5; border-radius: 12px; padding: .75rem 2rem .75rem .85rem; background: white; color: var(--ink); min-height: 48px; font-size: .82rem; width: 100%; min-width: 0; max-width: 100%; }
.search-wrap { display: flex; align-items: center; gap: .8rem; flex: 1; min-width: 230px; min-height: 48px; padding: 0 1rem; background: white; border: 1px solid #d7e0d5; border-radius: 12px; }
.search { width: 100%; min-width: 0; max-width: 100%; border: 0; background: transparent; color: var(--ink); min-height: 48px; font-size: .85rem; }
.search:focus { outline: none; }
.search-wrap:focus-within { outline: 3px solid #e49b59; outline-offset: 3px; }
.result-count { font-size: .77rem; margin: 1rem 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(285px,100%),1fr)); gap: 1.4rem; align-items: stretch; }
.card { background: white; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; align-items: start; }
.card-body p { font-size: .82rem; margin-bottom: 1.1rem; }
.course-cover { min-height: 155px; background: #eaf0e3; position: relative; padding: 1.1rem; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.course-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-symbol { color: #567b5b; font-family: Georgia, serif; font-size: 4.3rem; font-weight: 500; opacity: .7; }
.cover-type { position: absolute; left: 1rem; bottom: .9rem; border-radius: 6px; background: rgba(255,255,255,.9); padding: .25rem .5rem; color: #284638; font-size: .57rem; font-weight: 700; letter-spacing: .08em; }
.tag { color: #386f54; background: #edf4e8; font-size: .58rem; font-weight: 750; letter-spacing: .08em; border-radius: 5px; padding: .3rem .5rem; display: inline-block; margin-bottom: .8rem; }
.tag.orange { color: #92512d; background: #fff0e0; }
.card-meta { display: flex; flex-wrap: wrap; gap: .45rem 1rem; font-size: .7rem; color: var(--muted); margin: .4rem 0 1rem; }
.card-bottom { width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .85rem; border-top: 1px solid #e6ece3; }
.card-price { font-size: .8rem; font-weight: 650; }
.state-card { width: 100%; padding: 2rem; border: 1px solid var(--line); border-radius: 18px; background: white; grid-column: 1/-1; }
.state-card h3 { font-size: 1.1rem; }
.state-card p { font-size: .85rem; margin-bottom: 0; }
.state-card .button { margin-top: 1rem; }
.state-card.error { background: #fff7f3; border-color: #efc4b5; }
.state-card.error p { color: #8c4f44; }
.spinner { display: inline-block; width: 24px; height: 24px; border: 3px solid #d8e5d3; border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; margin-bottom: .6rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .7rem; font-size: .8rem; margin-bottom: 1.5rem; color: var(--muted); }
.breadcrumb a { color: var(--green); }
.detail-banner { background: var(--mint); padding: 2.5rem; border-radius: 26px; margin-bottom: 2.5rem; }
.detail-banner h1 { font-size: clamp(2rem,4vw,3.4rem); }
.detail-banner p { max-width: 750px; }
.section-label { margin: 2.6rem 0 1.2rem; font-size: 1.5rem; }
.subject { border: 1px solid var(--line); border-radius: 16px; background: white; margin-bottom: 1rem; overflow: hidden; }
.subject summary { cursor: pointer; padding: 1.2rem 1.5rem; font-weight: 650; }
.subject summary .card-meta { display: inline; margin-left: 1rem; font-weight: 400; }
.chapter-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border-top: 1px solid var(--line); font-size: .9rem; }
.chapter-row > span:first-child { color: var(--muted); }
.chapter-row b { margin-left: auto; }
.chapter-row:hover { background: var(--paper); }
.account-grid { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; }
.profile { border: 1px solid var(--line); border-radius: 22px; padding: 2rem; background: white; align-self: start; overflow-wrap: anywhere; }
.profile h2 { font-size: 1.5rem; }
.profile p { font-size: .85rem; margin-bottom: .6rem; }
.profile-avatar { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--mint); color: var(--green); font-size: 1.8rem; margin-bottom: 1.5rem; }
.history-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; background: white; margin-bottom: 1rem; }
.history-card h3 { font-size: 1rem; }
.history-card p { font-size: .75rem; margin-bottom: 0; }
.history-score { color: var(--green); font-size: 1.6rem; font-weight: 700; white-space: nowrap; text-align: right; }
.history-score small { display: block; font-size: .7rem; font-weight: 500; }
dialog { border: 1px solid var(--line); border-radius: 22px; padding: 2rem; max-width: calc(100vw - 2rem); max-height: calc(100dvh - 2rem); color: var(--ink); background: var(--surface); box-shadow: 0 30px 100px #0b2b2838; }
dialog::backdrop { background: rgba(14,40,31,.55); backdrop-filter: blur(5px); }
.auth-dialog { width: 490px; }
.dialog-close { float: right; margin: -.5rem -.5rem 1rem 1rem; }
.form-field { display: flex; flex-direction: column; gap: .35rem; font-size: .8rem; color: var(--muted); margin: 1rem 0; }
.form-field input { width: 100%; border: 1px solid #c8d7c6; border-radius: 11px; min-height: 48px; padding: .75rem; color: var(--ink); background: white; }
.form-message { color: var(--danger); font-size: .82rem; }
.form-message.success { color: var(--green); }
.auth-switch, .auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 1rem; font-size: .8rem; }
.resource-dialog { width: 1040px; }
.resource-heading { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1.5rem; }
.resource-heading h2 { font-size: 1.5rem; }
.resource-video { width: 100%; max-height: 65vh; background: #13271e; border-radius: 14px; }
.resource-pdf { display: block; width: 100%; height: 65vh; border: 1px solid var(--line); margin-top: 1rem; border-radius: 12px; }
.resource-help, .resource-error { font-size: .8rem; margin-top: 1rem; }
.resource-error { color: var(--danger); }
.live-panel { padding: 1rem 0; }
.test-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.test-top h1 { font-size: 2.2rem; }
.timer { background: var(--mint); border: 1px solid #bed0b6; border-radius: 14px; color: var(--green); padding: .8rem 1.3rem; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.7rem; flex-shrink: 0; }
.test-progress { height: 5px; background: #e0e9da; border-radius: 5px; margin: 1.8rem 0; overflow: hidden; }
.test-progress span { height: 100%; background: var(--green); display: block; }
.test-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 1.5rem; align-items: start; }
.question-card, .test-side, .review-card { border: 1px solid var(--line); border-radius: 20px; padding: 1.8rem; background: white; }
.question-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem; color: var(--muted); font-size: .66rem; font-weight: 650; letter-spacing: .06em; margin-bottom: 1.6rem; }
.question-card h2 { font-size: 1.5rem; line-height: 1.5; }
.option { display: flex; align-items: start; gap: .8rem; border: 1px solid #d9e3d4; padding: 1rem; margin-bottom: .8rem; border-radius: 12px; cursor: pointer; }
.option:has(input:checked) { background: var(--mint); border-color: #6e9576; }
.option input { accent-color: var(--green); margin-top: .3rem; width: 18px; height: 18px; flex-shrink: 0; }
.test-actions { display: flex; gap: 1rem; justify-content: space-between; margin-top: 1rem; }
.test-side h3 { font-size: 1rem; }
.test-side p { font-size: .75rem; }
.palette { display: grid; grid-template-columns: repeat(5,1fr); gap: .45rem; margin: 1rem 0 1.4rem; }
.palette button { min-height: 38px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 8px; font-size: .8rem; }
.palette button.answered { color: var(--green); background: var(--mint); border-color: #a3bea0; }
.palette button.current { outline: 2px solid var(--green); outline-offset: 2px; }
.result-hero { text-align: center; background: var(--mint); border-radius: 26px; padding: 3rem 2rem; margin-bottom: 1.5rem; }
.result-hero h1 { font-size: 2.5rem; }
.result-score { font-size: 4rem; font-weight: 750; color: var(--green); letter-spacing: -.06em; }
.result-score small { font-size: 1.7rem; }
.result-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.result-stat { border: 1px solid var(--line); background: white; border-radius: 16px; padding: 1.2rem; text-align: center; }
.result-stat strong { display: block; font-size: 1.8rem; color: var(--green); }
.result-stat span { font-size: .8rem; color: var(--muted); }
.result-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin: 2rem 0; }
.review-card { margin-bottom: 1rem; }
.review-card h3 { line-height: 1.6; font-size: 1.1rem; }
.review-card ul { padding: 0; list-style: none; }
.review-card li { border: 1px solid var(--line); border-radius: 10px; padding: .8rem; font-size: .85rem; margin-top: .6rem; }
.review-card li.correct { background: var(--mint); border-color: #a3bea0; }
.review-card li.wrong { background: #fff1e9; border-color: #e5b8a6; }
.explanation { padding: 1rem; background: var(--paper); border-radius: 12px; font-size: .85rem; }
.notification-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.notification-list { display: grid; gap: 1rem; margin-bottom: 1.3rem; }
.notification-card { border: 1px solid #bed0b6; border-radius: 18px; padding: 1.5rem; background: #edf4e7; overflow-wrap: anywhere; }
.notification-card.read { border-color: var(--line); background: white; }
.notification-card h3 { font-size: 1.15rem; }
.notification-card p { white-space: pre-wrap; font-size: .9rem; }
.notification-card small { display: block; }
.notification-card .button { margin-top: 1rem; }
.footer { max-width: 1240px; margin: auto; padding: 2rem 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; font-size: .75rem; color: var(--muted); }
.footer p { margin: 0 auto 0 0; }
.footer .brand { font-size: 1rem; }
.footer > a:last-child { font-weight: 650; color: var(--green); }
.toast { position: fixed; z-index: 100; bottom: 1.5rem; left: 50%; transform: translateX(-50%); background: var(--green-dark); color: white; padding: 1rem 1.5rem; border-radius: 12px; box-shadow: 0 10px 40px #142f3126; max-width: min(90vw,600px); width: max-content; font-size: .85rem; }
@media (max-width: 1000px) {
  .topbar { gap: 1rem; flex-wrap: wrap; }
  .navigation { order: 3; flex-basis: 100%; justify-content: center; gap: 2rem; border-top: 1px solid var(--line); padding-top: .4rem; }
  .hero { gap: 2rem; }
  .test-layout { grid-template-columns: minmax(0,1fr) 230px; }
  .account-grid { grid-template-columns: 250px 1fr; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 145px; }
  .topbar { padding: .8rem 1rem; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,auto); gap: .7rem 1rem; }
  .brand { font-size: 1rem; gap: .5rem; white-space: normal; overflow-wrap: anywhere; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; font-size: 1.7rem; }
  .brand-note { font-size: .43rem; }
  .navigation { grid-column: 1 / -1; order: initial; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 1.4rem; justify-content: flex-start; font-size: .72rem; scrollbar-width: thin; }
  .navigation a { min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; flex: 0 0 auto; }
  .header-actions { grid-column: 2; grid-row: 1; gap: .4rem; max-width: 160px; }
  #account-button { max-width: 105px; }
  .header-actions .button { padding: .6rem .75rem; font-size: .74rem; }
  .notification-bell { font-size: .85rem; min-width: 44px; padding: .4rem; }
  .page { padding: 1.4rem 1rem 3rem; }
  .hero { grid-template-columns: 1fr; padding-top: .6rem; gap: 1.5rem; padding-bottom: 2rem; }
  .hero h1 { font-size: clamp(2.6rem,11vw,4rem); }
  .hero-copy > p { font-size: .9rem; }
  .hero-actions { gap: 1rem; margin: 1.5rem 0; }
  .catalog-summary { padding: 1.6rem; border-radius: 22px; }
  .catalog-summary h2 { font-size: 1.8rem; }
  .catalog-stat { padding: .55rem 0; }
  .catalog-stat strong { font-size: 1.6rem; }
  .path-strip { grid-template-columns: minmax(0,1fr); margin-bottom: 2.5rem; }
  .section-heading { align-items: start; flex-direction: column; gap: .7rem; }
  .section-heading h2 { font-size: 1.8rem; }
  .filters { gap: .8rem; }
  .filter-label { flex: 1 1 135px; min-width: 0; max-width: 100%; }
  .search-wrap { flex-basis: 100%; min-width: 0; }
  .grid { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .course-cover { min-height: 170px; }
  .detail-banner { padding: 1.6rem; border-radius: 20px; }
  .detail-banner h1 { font-size: 2rem; }
  .account-grid, .test-layout { grid-template-columns: 1fr; }
  .account-grid { gap: 1.5rem; }
  .test-top { gap: 1rem; align-items: start; }
  .test-top h1 { font-size: 1.6rem; }
  .test-top p { font-size: .8rem; }
  .timer { padding: .65rem .8rem; font-size: 1.2rem; }
  .question-card, .test-side, .review-card { padding: 1.2rem; border-radius: 16px; }
  .question-card h2 { font-size: 1.2rem; }
  .test-side { order: 2; }
  .palette { grid-template-columns: repeat(auto-fill,minmax(38px,1fr)); }
  .result-hero { padding: 2rem 1rem; }
  .result-hero h1 { font-size: 1.9rem; }
  .result-score { font-size: 3rem; }
  .result-stats { gap: .5rem; }
  .result-stat { padding: .8rem .4rem; }
  .result-stat strong { font-size: 1.5rem; }
  .result-actions > * { width: 100%; }
  dialog { padding: 1.3rem; border-radius: 18px; }
  .resource-heading h2 { font-size: 1.3rem; }
  .resource-pdf { height: 60vh; }
  .notification-actions { width: 100%; }
  .notification-actions > * { flex: 1; }
  .footer { padding: 1.5rem 1rem; gap: 1rem; }
  .footer p { flex-basis: calc(100% - 200px); font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
