/* Files-only art direction; the shared site heading and navigation are unchanged. */
.page-shell.site-theme:has(.files-page) > .site-main { width: 100%; padding-top: 0; }
.page-shell.site-theme:has(.files-page) > .site-footer { margin-top: 0; }
.files-page { width: 100%; min-width: 0; margin: 0; padding: 0; color: #101a37; background: #f7fbff; font-family: var(--ui-font, Arial, sans-serif); }
.files-page *, .files-page *::before, .files-page *::after { box-sizing: border-box; }
.files-page :where(h1,h2,h3,p,ul,dl) { margin: 0; }
.files-page a { text-decoration: none; }
.files-content, .files-hero-inner { width: min(1360px, calc(100% - 80px)); margin-inline: auto; }
.files-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #041225; }
.files-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 55% 58%; }
.files-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg,#010b1bed,#010d2180 52%,#0412280a),linear-gradient(0deg,#031124c9,transparent 60%); }
.files-hero-inner { position: relative; min-height: 295px; padding-block: 33px 28px; }
.files-eyebrow { color: #c0d7ec; font-size: 10px; font-weight: 600; line-height: 1.6; letter-spacing: 2.5px; text-transform: uppercase; }
.page-shell.site-theme .files-page .files-hero .files-hero-copy h1 { margin: 8px 0 13px; font: 750 clamp(38px,4.3vw,59px)/1.06 var(--ui-font,Arial,sans-serif); letter-spacing: -1.8px; }
.files-hero h1 span { color: #3dbef5; }
.files-hero-description { max-width: 55ch; color: #e6f1ff; font-size: 16px; line-height: 1.6; }
.files-hero-features { display: flex; flex-wrap: wrap; gap: 0; padding: 0; list-style: none; margin-top: 28px !important; }
.files-hero-features > li { display: flex; align-items: center; gap: 13px; padding-inline: 26px; border-right: 1px solid #9fc6f342; }
.files-hero-features > li:first-child { padding-left: 0; }
.files-hero-features > li:last-child { border: 0; }
.files-hero-features svg { width: 33px; height: 33px; color: #31c4f3; flex-shrink: 0; }
.files-hero-features strong,.files-hero-features small { display: block; line-height: 1.5; }
.files-hero-features strong { font-size: 13px; font-weight: 600; }
.files-hero-features small { margin-top: 3px; font-size: 11px; color: #bdd3e8; }
.files-hero-note { position: absolute; top: 72px; right: 0; padding: 17px 22px; border: 1px solid #9cccf235; border-radius: 10px; color: #deefff; background: #041b36b3; font: italic 24px/1.45 Georgia,serif; }
.files-hero-note span { display: block; color: #50c8f5; }
.files-content { padding-block: 26px 36px; }
.files-dashboard { min-width: 0; }
.files-dashboard-shell { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 27px; align-items: start; }
.files-main-column,.files-sidebar { min-width: 0; }
.files-search { display: flex; align-items: center; min-width: 0; min-height: 48px; padding-left: 15px; border: 1px solid #ccdef0; border-radius: 8px; background: white; }
.files-search:focus-within { border-color: #0873ef; box-shadow: 0 0 0 2px #0873ef1c; }
.files-search > svg { flex-shrink: 0; width: 20px; height: 20px; margin-right: 12px; color: #213454; }
.files-search input { flex: 1; min-width: 0; width: 100%; min-height: 46px; padding: 9px 10px 9px 0; border: 0; background: transparent; color: #172a49; font: 400 14px/1.5 var(--ui-font,Arial,sans-serif); }
.files-search input::placeholder { color: #57708e; opacity: 1; }
.files-search input::-webkit-search-cancel-button { display: none; }
.files-search-submit { align-self: stretch; min-width: 92px; padding: 11px 19px; border: 1px solid #0668df; border-radius: 0 7px 7px 0; color: white; background: #0668df; font: 600 14px/1.4 var(--ui-font,Arial,sans-serif); cursor: pointer; }
.files-search-submit:hover { background: #0059c5; }
.files-search-clear { min-width: 40px; min-height: 44px; padding: 0; background: transparent; border: 0; color: #45617f; font-size: 24px; cursor: pointer; }
.files-kind-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.files-kind-filters button { min-height: 40px; padding: 8px 12px; border: 1px solid #d8e5f3; border-radius: 8px; color: #1a3151; background: #f0f6ff; font: 500 12px/1.5 var(--ui-font,Arial,sans-serif); cursor: pointer; }
.files-kind-filters button:hover { border-color: #8cbdf4; background: #e6f1ff; }
.files-kind-filters button[aria-pressed="true"] { color: white; background: #0668df; border-color: #0668df; }
.files-filter-grid { display: grid; grid-template-columns: 1.15fr 1.3fr .8fr 1fr; gap: 14px; margin-top: 19px; }
.files-filter-grid > div { min-width: 0; display: grid; gap: 7px; }
.files-filter-grid label { color: #405a7a; font-size: 12px; font-weight: 600; }
.files-filter-grid select { width: 100%; min-width: 0; min-height: 42px; padding: 8px 27px 8px 11px; border: 1px solid #d2e1f0; border-radius: 6px; background: #fff; color: #1a3151; font: 500 12px/1.4 var(--ui-font,Arial,sans-serif); }
.files-filter-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding-block: 8px; color: #526983; font-size: 12px; line-height: 1.5; }
.files-text-button { min-height: 36px; padding: 5px 0; color: #005fce; background: transparent; border: 0; font: 600 12px/1.5 var(--ui-font,Arial,sans-serif); cursor: pointer; text-align: left; }
.files-text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.files-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-block: 14px; }
.files-section-heading h2 { font: 720 24px/1.2 var(--ui-font,Arial,sans-serif); letter-spacing: -.6px; }
.files-section-heading a { display: inline-flex; align-items: center; min-height: 40px; color: #005fce; font-size: 13px; font-weight: 600; }
.files-feature-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.files-feature { min-width: 0; display: flex; flex-direction: column; border: 1px solid #d8e5f3; border-radius: 7px; background: white; transition: border-color .15s ease,box-shadow .15s ease; }
.files-feature:hover { border-color: #a2c5ed; box-shadow: 0 5px 16px #102c4a0b; }
.files-feature-cover { position: relative; aspect-ratio: 1.55; border-radius: 6px 6px 0 0; background: #051831; }
.files-feature-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.files-topic-cover { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.files-paper-cover { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: linear-gradient(130deg,#e6eff9,#f9fcff); padding: 12px 18px 0; }
.files-paper-cover > div { min-height: 190px; padding: 13px 13px; background: #fff; border: 1px solid #e0e8f0; box-shadow: 2px 4px 12px #16335315; transform: rotate(-3deg); color: #102747; }
.files-paper-cover span { display: block; margin-bottom: 12px; color: #2368be; font: 750 8px var(--ui-font,Arial,sans-serif); letter-spacing: .7px; }
.files-paper-cover svg { width: 22px; height: 25px; float: right; color: #0c71e6; }
.files-paper-cover strong { display: block; font-size: 13px; line-height: 1.4; }
.files-paper-cover small { display: block; margin-top: 5px; max-width: 16ch; font-size: 8px; color: #586c80; }
.files-paper-cover i { display: block; height: 1px; background: #dce5ee; margin-top: 11px; }
.files-resource-badge { position: absolute; left: 12px; bottom: -8px; padding: 5px 9px; border-radius: 4px; color: white; background: #0668df; font-size: 10px; font-weight: 650; line-height: 1.3; }
.files-resource-badge[data-kind="notes"] { background: #53691c; }
.files-resource-badge[data-kind="practice"] { background: #994627; }
.files-resource-badge[data-kind="formulae"] { background: #6c45bc; }
.files-feature-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 21px 13px 11px; }
.files-feature h3 { font: 700 16px/1.3 var(--ui-font,Arial,sans-serif); letter-spacing: -.3px; overflow-wrap: anywhere; }
.files-feature h3 a:hover { color: #005fce; text-decoration: underline; text-underline-offset: 3px; }
.files-feature-description { margin-top: 8px !important; color: #4b617d; font-size: 12px; line-height: 1.55; }
.files-feature-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; padding-top: 15px; color: #405b7a; font-size: 11px; line-height: 1.45; }
.files-feature-meta > span { display: inline-flex; gap: 5px; align-items: center; }
.files-feature-meta svg { width: 15px; height: 17px; }
.files-feature-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 39px; margin-top: 7px; color: #005fce; font-size: 12px; font-weight: 600; }
.files-feature-link svg { width: 16px; height: 18px; }
.files-resource-section { margin-top: 27px; scroll-margin-top: 20px; }
.files-table { width: 100%; border-spacing: 0; border: 1px solid #d8e5f3; border-radius: 7px; background: #fff; table-layout: fixed; font-size: 12px; }
.files-table th { padding: 11px 12px; color: #46617e; background: #eff6fe; font-weight: 650; text-align: left; }
.files-table th:first-child { width: 44%; border-radius: 6px 0 0 0; }
.files-table th:nth-child(2) { width: 21%; }
.files-table th:nth-child(3) { width: 14%; }
.files-table th:last-child { width: 21%; border-radius: 0 6px 0 0; }
.files-table td { padding: 12px; border-top: 1px solid #e1ebf6; vertical-align: top; color: #44607e; line-height: 1.45; overflow-wrap: anywhere; }
.files-table-title { display: flex; align-items: flex-start; gap: 10px; color: #16304e; font-size: 13px; font-weight: 600; line-height: 1.5; }
.files-table-title > svg { width: 19px; height: 22px; color: #0873ef; flex-shrink: 0; margin-top: 1px; }
.files-table-title:hover { color: #005fce; text-decoration: underline; text-underline-offset: 3px; }
.files-table small { display: block; margin-top: 4px; color: #5c708a; font-size: 11px; line-height: 1.5; }
.files-table td:first-child small { margin-left: 29px; }
.files-table-access { font-size: 10px !important; }
.file-action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 10px; border: 1px solid #d3e5f8; border-radius: 5px; color: #005fce; background: #f2f8ff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.file-action svg { width: 14px; height: 17px; }
.file-action:hover { border-color: #8dbdee; background: #e5f1ff; }
.files-online-link { display: inline-flex; align-items: center; min-height: 32px; padding-block: 4px; color: #005fce; font-size: 11px; }
.files-online-link:hover { text-decoration: underline; }
.files-pagination { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 15px; color: #536b85; font-size: 12px; }
.files-pagination button { min-height: 42px; padding: 9px 14px; border: 1px solid #cddfef; border-radius: 6px; background: #fff; color: #17416f; font: 600 12px/1.4 var(--ui-font,Arial,sans-serif); cursor: pointer; }
.files-pagination button:hover:not(:disabled) { background: #e9f3ff; border-color: #82b6ec; }
.files-pagination button:disabled { color: #7a8ba0; background: #eff4fa; cursor: not-allowed; }
.files-empty { padding: 33px 24px; border: 1px dashed #b9d0e8; border-radius: 8px; background: #fff; text-align: center; }
.files-empty > svg { width: 32px; height: 32px; color: #0a70e4; margin-bottom: 10px; }
.files-empty h3 { font-size: 20px; }
.files-empty p { max-width: 45ch; margin: 10px auto; font-size: 14px; line-height: 1.6; color: #526983; }
.files-sidebar { display: grid; gap: 20px; }
.files-side-panel { min-width: 0; border: 1px solid #d8e5f3; border-radius: 8px; background: #fff; }
.files-side-panel h2 { margin: 0; padding: 17px 17px 12px; font: 720 18px/1.25 var(--ui-font,Arial,sans-serif); letter-spacing: -.4px; }
.files-side-panel > p { padding: 0 17px 12px; font-size: 11px; color: #60768e; line-height: 1.5; }
.files-side-panel ul { margin: 0; padding: 0 12px 10px; list-style: none; }
.files-side-panel li + li { border-top: 1px solid #e7eef7; }
.files-side-panel button { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 44px; padding: 9px 5px; border: 0; border-radius: 4px; background: transparent; color: #243d5d; font: 500 12px/1.4 var(--ui-font,Arial,sans-serif); text-align: left; cursor: pointer; }
.files-side-panel button:hover,.files-side-panel button[aria-pressed="true"] { color: #005fce; background: #edf5ff; }
.files-side-panel button svg { width: 17px; height: 20px; color: #0873ef; flex-shrink: 0; }
.files-side-panel button > span:nth-last-child(2) { margin-left: auto; padding: 2px 6px; border-radius: 4px; color: #4a6480; background: #eaf1fa; font-size: 11px; }
.files-side-panel button > span:last-child { font-size: 19px; color: #527093; }
.files-topic-panel { background: #edf5ff; border: 0; }
.files-topic-panel ul { padding: 0 12px 12px; }
.files-topic-panel li { background: #fff; }
.files-topic-panel button { padding-inline: 10px; }
.files-pack-panel { padding: 23px 20px 18px; border-radius: 8px; background: linear-gradient(140deg,#020e20,#073152); color: #fff; }
.files-pack-panel > svg { width: 42px; height: 42px; color: #2bc7f5; margin-bottom: 12px; }
.files-pack-panel h2 { font-size: 19px; color: #43c5f5; line-height: 1.3; }
.files-pack-panel p { margin-top: 9px; color: #d6e7f6; font-size: 13px; line-height: 1.6; }
.files-pack-panel a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 46px; margin-top: 18px; padding: 11px 14px; border-radius: 5px; color: #102543; background: #f9fcff; font-size: 12px; font-weight: 650; }
.files-pack-panel a:hover { background: #dff1ff; }
.files-access-note { padding: 15px 17px; border: 1px solid #dae7f3; border-radius: 8px; background: #f0f6fc; }
.files-access-note p { color: #4b637e; font-size: 12px; line-height: 1.65; }
.files-access-note a { display: inline-flex; align-items: center; min-height: 40px; color: #005fce; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.files-help { margin-top: 22px; border: 1px solid #d8e5f3; border-radius: 8px; background: #fff; }
.files-help > summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 48px; padding: 13px 17px; color: #314c6d; font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
.files-help > summary::-webkit-details-marker { display: none; }
.files-help > summary span { font-size: 23px; color: #0873ef; font-weight: 400; }
.files-help[open] > summary span { transform: rotate(45deg); }
.files-help-content { padding: 0 17px 20px; color: #526983; font-size: 13px; line-height: 1.65; }
.files-help-content h2 { margin-top: 17px; margin-bottom: 7px; color: #18304f; font-size: 16px; }
.files-help-content p + p { margin-top: 10px; }
.files-university-links { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-top: 8px; }
.files-university-links a { display: inline-flex; align-items: center; min-height: 40px; color: #005fce; text-decoration: underline; text-underline-offset: 3px; }
.files-no-script { margin-bottom: 20px; padding: 15px; border: 1px solid #bfd7ef; border-radius: 8px; background: #fff; color: #1a3151; font-size: 14px; line-height: 1.65; }
.files-no-script summary { min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 650; }
.files-no-script ul { padding-left: 20px; }
.files-no-script li { padding-block: 5px; }
.files-no-script a { text-decoration: underline; text-underline-offset: 3px; }
.files-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.files-page :is(a,button,summary,input,select):focus-visible { outline: 3px solid #0873ef; outline-offset: 4px; }
@media (max-width: 1190px) {
  .files-dashboard-shell { grid-template-columns: minmax(0,1fr) 250px; gap: 20px; }
  .files-hero-note { font-size: 21px; max-width: 220px; top: 52px; }
  .files-hero-copy { max-width: 72%; }
  .files-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .files-feature-cover { aspect-ratio: 2.1; }
}
@media (max-width: 950px) {
  .files-content,.files-hero-inner { width: calc(100% - 48px); }
  .files-dashboard-shell { grid-template-columns: minmax(0,1fr); }
  .files-side-facets { display: none; }
  .files-sidebar { grid-template-columns: 1fr 1fr; }
  .files-hero-note { display: none; }
  .files-hero-copy { max-width: none; }
  .files-hero-inner { min-height: 280px; }
  .files-hero-features > li { padding-inline: 16px; }
  .files-hero-features strong { font-size: 12px; }
  .files-hero-features small { font-size: 10px; }
}
@media (max-width: 620px) {
  .files-content,.files-hero-inner { width: calc(100% - 36px); }
  .files-content { padding-top: 20px; }
  .files-hero-inner { min-height: 0; padding-block: 30px 24px; }
  .page-shell.site-theme .files-page .files-hero .files-hero-copy h1 { font-size: clamp(34px,8.7vw,47px); letter-spacing: -1.3px; }
  .files-hero-description { font-size: 14px; }
  .files-eyebrow { font-size: 9px; letter-spacing: 1.7px; }
  .files-hero-features { gap: 16px; margin-top: 22px !important; }
  .files-hero-features > li { flex: 1 1 42%; padding: 0; border: 0; gap: 9px; }
  .files-hero-features > li:last-child { display: none; }
  .files-hero-features svg { width: 26px; height: 26px; }
  .files-hero-features strong { font-size: 11px; }
  .files-hero-features small { font-size: 10px; }
  .files-search { padding-left: 11px; }
  .files-search > svg { width: 17px; margin-right: 8px; }
  .files-search input { font-size: 16px; }
  .files-search-submit { min-width: 67px; padding-inline: 12px; font-size: 12px; }
  .files-kind-filters { gap: 6px; }
  .files-kind-filters button { min-height: 44px; padding-inline: 10px; font-size: 12px; }
  .files-filter-grid { grid-template-columns: 1fr 1fr; gap: 13px 12px; }
  .files-filter-grid select { min-height: 44px; font-size: 13px; }
  .files-filter-status { flex-wrap: wrap; gap: 0 10px; }
  .files-text-button { min-height: 44px; }
  .files-section-heading h2 { font-size: 22px; }
  .files-feature-grid { gap: 12px; }
  .files-feature-cover { aspect-ratio: 1.4; }
  .files-feature-body { padding: 18px 11px 8px; }
  .files-feature h3 { font-size: 15px; }
  .files-feature-description { font-size: 12px; }
  .files-feature-link { min-height: 44px; }
  .files-feature-meta { padding-top: 12px; font-size: 10px; }
  .files-resource-badge { left: 9px; padding-inline: 7px; font-size: 9px; max-width: calc(100% - 18px); }
  .files-table,.files-table tbody { display: block; }
  .files-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .files-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 10px; padding: 14px; border-top: 1px solid #dbe7f5; }
  .files-table tbody tr:first-child { border-top: 0; }
  .files-table td { display: block; min-width: 0; padding: 0; border: 0; }
  .files-table td:first-child { grid-column: 1 / -1; padding-bottom: 7px; }
  .files-table td:nth-child(2) { grid-column: 1; }
  .files-table td:nth-child(3) { grid-column: 1; }
  .files-table td:last-child { grid-column: 2; grid-row: 2 / 4; text-align: right; }
  .files-table-title { font-size: 14px; }
  .files-table td small { font-size: 12px; }
  .files-table td:nth-child(2)::before { content: "Curriculum: "; color: #526983; font-size: 11px; }
  .files-online-link { min-height: 40px; }
  .files-sidebar { grid-template-columns: 1fr; }
  .files-pagination button { min-height: 44px; }
}
@media (max-width: 360px) {
  .files-feature-grid { grid-template-columns: minmax(0,1fr); }
  .files-feature-cover { aspect-ratio: 2.1; }
  .files-feature h3 { font-size: 18px; }
  .files-feature-description { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .files-page * { transition: none; scroll-behavior: auto; }
}
@media print {
  .files-hero-image,.files-hero::after,.files-hero-note,.files-search,.files-kind-filters,.files-filter-grid,.files-sidebar,.files-pagination { display: none; }
  .files-hero { background: white; color: #14233d; }
  .files-hero-description,.files-eyebrow,.files-hero h1 span,.files-hero-features small { color: #14233d; }
  .files-dashboard-shell { display: block; }
  .files-table tr,.files-feature { break-inside: avoid; }
}
