:root { color-scheme: light; --jh-ink: #212529; --jh-accent: #337ab7; --jh-muted: #53616d; --jh-line: #d7e1e8; --jh-paper: #A4CADB; --jh-surface: #fff; --jh-soft: #edf4fa; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: var(--jh-ink); background: var(--jh-paper); font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
a { color: var(--jh-accent); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--jh-accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.jh-skip { position: absolute; z-index: 10; left: 16px; top: -100px; padding: 12px 18px; background: white; }
.jh-skip:focus { top: 12px; }
.jh-topbar { background: var(--jh-ink); color: white; }
.jh-topbar-inner { max-width: 1300px; padding: 14px 40px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.jh-brand { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.3px; }
.jh-brand img { object-fit: contain; }
.jh-brand > span > span { display: block; font-size: 10px; font-weight: 400; letter-spacing: .4px; }
.jh-topbar nav { display: flex; flex-wrap: wrap; gap: 26px; }
.jh-topbar nav a { color: #f2f6fa; font-size: 13px; text-decoration: none; padding: 4px 0; }
.jh-topbar nav a:hover { color: #d1e5e8; }
.jh-topbar nav a[aria-current] { border-bottom: 2px solid #A4CADB; }
.jh-preview { text-align: center; background: #f6e7c8; color: #624511; padding: 9px 24px; font-size: 12px; font-weight: 600; letter-spacing: .3px; }
.jh-page { max-width: 1300px; margin: auto; padding: 0 40px; }
.jh-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; margin-top: 20px; padding: 22px 26px; align-items: start; border: 1px solid var(--jh-line); border-radius: 10px; background: var(--jh-surface); box-shadow: 0 4px 18px #2447610d; }
.jh-title-block { min-width: 0; }
.jh-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 1.8px; font-weight: 700; color: var(--jh-accent); margin: 0 0 10px; }
h1 { font: 36px/1.15 Georgia, "Times New Roman", serif; letter-spacing: -.9px; margin: 0 0 7px; }
h1 span { color: var(--jh-accent); }
.jh-intro { max-width: 650px; font-size: 14px; line-height: 1.6; color: var(--jh-muted); margin: 0 0 10px; }
.jh-year { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .2px; }
.jh-year span { margin: 0 13px; color: #8298aa; }
.jh-print-actions { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 300px; }
.jh-print-school { font-size: 12px; font-weight: 600; }
.jh-print-hint { font-size: 10px; color: var(--jh-muted); }
.jh-print-scope { font-size: 11px; color: var(--jh-muted); margin: 0 0 14px; }
.jh-primary-filters { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(200px, 1fr) minmax(200px, 1.4fr) auto; align-items: end; gap: 14px; padding-top: 16px; border-top: 1px solid var(--jh-line); }
.jh-primary-filters > div { min-width: 0; }
.jh-primary-filters label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.jh-primary-filters select, .jh-primary-filters input { width: 100%; min-width: 0; height: 44px; padding: 10px; border: 1px solid #bccdd9; border-radius: 4px; font-size: 13px; color: #34495a; background: white; }
.jh-primary-filters .jh-button { min-height: 44px; }
.jh-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; border: 0; border-radius: 3px; padding: 11px 16px; cursor: pointer; text-decoration: none; font-weight: 600; font-size: 13px; }
.jh-button-dark { background: var(--jh-accent); color: white; }
.jh-button-dark:hover { background: #286090; }
.jh-button:disabled { opacity: .55; cursor: default; }
.jh-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding-top: 20px; }
.jh-sidebar { min-width: 0; }
.jh-refine-panel > summary { cursor: pointer; font-size: 12px; font-weight: 650; padding: 11px 16px; color: var(--jh-accent); background: white; border: 1px solid var(--jh-line); border-radius: 8px; }
.jh-refine-panel[open] > summary { border-radius: 8px 8px 0 0; border-bottom: 0; }
.jh-refine-panel[open] .jh-filters { border-radius: 0 0 8px 8px; }
.jh-filters { background: var(--jh-surface); border: 1px solid var(--jh-line); border-radius: 10px; padding: 19px; box-shadow: 0 4px 18px #2447610d; }
.jh-filter-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.jh-filter-heading h2 { font-size: 14px; margin: 0 0 16px; }
.jh-filter-heading a { font-size: 11px; }
.jh-filters label { display: block; font-size: 11px; font-weight: 700; margin-bottom: 6px; }
.jh-filters input:not([type=hidden]), .jh-filters select { width: 100%; min-width: 0; color: #34495a; background: #fff; border: 1px solid #c8d4df; border-radius: 3px; padding: 10px 8px; font-size: 12px; margin-bottom: 17px; }
.jh-filters input::placeholder { color: #617282; }
.jh-filters .jh-button { width: 100%; }
.jh-more-filters { margin-bottom: 16px; border-top: 1px solid var(--jh-line); padding-top: 12px; }
.jh-more-filters summary { cursor: pointer; font-size: 12px; font-weight: 600; color: var(--jh-accent); }
.jh-more-filters[open] summary { margin-bottom: 14px; }
.jh-more-filters select { margin-bottom: 0; }
.jh-back-to-filters { position: fixed; right: 20px; bottom: 20px; z-index: 5; padding: 9px 14px; border: 1px solid var(--jh-accent); border-radius: 24px; background: white; color: #285b85; box-shadow: 0 3px 12px #2447611a; font-size: 12px; font-weight: 600; text-decoration: none; }
.jh-jump { margin-top: 20px; padding: 19px; background: var(--jh-surface); border: 1px solid var(--jh-line); border-radius: 10px; }
.jh-jump a { display: block; padding: 6px 0; text-decoration: none; color: var(--jh-muted); font-size: 12px; }
.jh-jump a:hover { color: var(--jh-accent); text-decoration: underline; }
.jh-results { min-width: 0; padding: 24px; background: var(--jh-surface); border: 1px solid var(--jh-line); border-radius: 10px; box-shadow: 0 4px 18px #2447610d; }
.jh-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.jh-results-heading .jh-eyebrow { margin-bottom: 4px; }
.jh-results-heading h2 { font-size: 22px; letter-spacing: -.5px; line-height: 1.35; margin: 0; }
.jh-count { border: 1px solid #cbddec; border-radius: 30px; white-space: nowrap; font-size: 11px; padding: 4px 12px; background: var(--jh-soft); color: #285b85; }
.jh-scope { font-size: 11px; color: var(--jh-muted); margin: 9px 0 22px; overflow-wrap: anywhere; }
.jh-notice { font-size: 12px; padding: 14px 17px; background: #f4f0e5; border-left: 3px solid #a58b49; color: #5e5539; margin-bottom: 27px; }
.jh-notice p { margin: 6px 0 0; }
.jh-error { background: #fff0ea; border-color: #a34d33; color: #713421; }
.jh-section { margin-bottom: 28px; scroll-margin-top: 20px; }
.jh-section-heading { display: flex; align-items: flex-start; gap: 14px; padding: 0 0 17px; }
.jh-section-number { font: 25px/1.15 Georgia, "Times New Roman", serif; color: #6b879d; margin-top: 2px; }
.jh-section-heading h2 { font-size: 19px; font-weight: 650; line-height: 1.4; margin: 0 0 4px; letter-spacing: -.25px; }
.jh-section-heading p { margin: 0; font-size: 12px; color: var(--jh-muted); }
.jh-section-count { margin-left: auto; color: var(--jh-accent); font-size: 12px; padding-top: 3px; }
.jh-course-list { border: 1px solid var(--jh-line); background: white; border-radius: 5px; overflow: hidden; }
.jh-section-common .jh-course-list { border-top: 3px solid var(--jh-accent); }
.jh-course { padding: 19px 23px; overflow-wrap: anywhere; }
.jh-course + .jh-course { border-top: 1px solid var(--jh-line); }
.jh-course-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 10px; }
.jh-subject { color: var(--jh-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.jh-course-code { color: var(--jh-muted); font-variant-numeric: tabular-nums; }
.jh-course h3 { margin: 7px 0 7px; font: 25px/1.3 Georgia, "Times New Roman", serif; letter-spacing: -.35px; }
.jh-course-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 20px; margin-top: 3px; }
.jh-course-heading h3 { flex: 1; min-width: 0; }
.jh-designations { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; max-width: 45%; margin: 9px 0 8px; padding: 0; list-style: none; }
.jh-badge { padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 650; line-height: 1.5; }
.jh-badge-honors { background: #e7f3e9; color: #285f32; }
.jh-badge-college { background: #337ab7; color: #fff; }
.jh-badge-ap { background: #fff1c2; color: #654900; }
.jh-badge-ib { background: #eee7f6; color: #5b377b; }
.jh-badge-dual { background: #e4f3f8; color: #21586a; }
.jh-badge-cte { background: #343a40; color: #fff; }
.jh-badge-uc { background: #d9dddc; color: #212529; }
.jh-course-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 15px; font-size: 11px; color: var(--jh-muted); margin: 0 0 14px; }
.jh-common-tag { background: var(--jh-soft); border-radius: 3px; color: #285b85; font-size: 10px; padding: 1px 7px; }
.jh-review-tag { background: #fff1cc; border-radius: 3px; color: #715214; font-size: 10px; padding: 1px 7px; }
.jh-classification-note { margin: 0 0 12px; padding: 9px 12px; border-left: 3px solid #a58b49; background: #f8f3e7; color: #685631; font-size: 12px; }
.jh-description { font-size: 14px; line-height: 1.75; color: #3e4d59; }
.jh-description > :first-child { margin-top: 0; }
.jh-description > :last-child { margin-bottom: 0; }
.jh-description p, .jh-description ul, .jh-description ol { margin: 0 0 10px; }
.jh-description ul, .jh-description ol { padding-left: 24px; }
.jh-description li { margin-bottom: 4px; }
.jh-description a { text-decoration: underline; overflow-wrap: anywhere; }
.jh-description blockquote { margin: 10px 0; padding-left: 14px; border-left: 3px solid var(--jh-line); }
.jh-transcript { margin: 14px 0 0; font-size: 11px; color: var(--jh-muted); }
.jh-record-details { margin-top: 14px; font-size: 11px; }
.jh-record-details summary { cursor: pointer; color: var(--jh-accent); font-weight: 600; }
.jh-record-content { padding-top: 8px; }
.jh-official-title { margin: 0; color: var(--jh-muted); font-size: 11px; }
.jh-record-content .jh-transcript { margin-top: 6px; }
.jh-credit-note { margin: 12px 0 0; padding: 9px 12px; border-left: 3px solid #549f54; background: #f1f7f1; font-size: 12px; color: #285f32; }
.jh-pathway-back { margin: 0 0 18px; font-size: 12px; }
.jh-offered { margin: 17px 0 0; font-size: 10px; color: #536575; line-height: 1.7; }
.jh-pair-note { background: #f8f3e9; color: #705533; padding: 12px; margin-top: 12px; font-size: 11px; }
.jh-pair-note p { margin: 5px 0 0; }
.jh-translation-note, .jh-missing { color: #6b552b; font-size: 12px; }
.jh-empty { padding: 35px 25px; border: 1px dashed #b9cbd9; text-align: center; }
.jh-empty h2 { font: 25px/1.4 Georgia, serif; }
.jh-empty p { color: var(--jh-muted); }
.jh-availability-note { font-size: 11px; color: var(--jh-muted); border-top: 1px solid var(--jh-line); padding: 20px 0; }
.jh-footer { margin-top: 28px; padding: 24px; border: 1px solid var(--jh-line); border-radius: 10px 10px 0 0; background: var(--jh-surface); font-size: 13px; }
.jh-footer p { margin: 3px 0 9px; font-size: 12px; color: var(--jh-muted); }
.jh-footer a { font-size: 12px; }
.jh-legal { font-size: 10px; color: #53616d; background: #f3f7fb; padding: 16px 24px; margin-bottom: 75px; border-radius: 0 0 10px 10px; line-height: 1.7; }
@media (max-width: 1000px) { .jh-hero { padding: 22px; gap: 16px; } h1 { font-size: 32px; } .jh-layout { gap: 20px; grid-template-columns: 205px minmax(0, 1fr); } .jh-results { padding: 20px; } .jh-course { padding: 18px; } }
@media (max-width: 760px) {
    .jh-topbar-inner { padding: 16px 22px; flex-wrap: wrap; gap: 15px; }
    .jh-topbar nav { gap: 22px; }
    .jh-page { padding: 0 16px; }
    .jh-hero { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; padding: 20px; }
    h1 { font-size: 31px; }
    .jh-intro { font-size: 13px; }
    .jh-print-actions { grid-column: 1; grid-row: 3; align-items: flex-start; max-width: none; }
    .jh-primary-filters { grid-template-columns: 1fr; gap: 12px; padding-top: 14px; }
    .jh-primary-filters .jh-button { justify-content: center; }
    .jh-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
    .jh-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 15px; }
    .jh-filter-heading { grid-column: 1 / -1; }
    .jh-filters label, .jh-filters input:not([type=hidden]), .jh-filters select, .jh-filters button, .jh-more-filters { grid-column: 1 / -1; }
    .jh-jump { display: none; }
    .jh-results { padding: 20px 16px; }
    .jh-results-heading h2 { font-size: 20px; }
    .jh-section-heading h2 { font-size: 18px; }
    .jh-course { padding: 17px; }
    .jh-course h3 { font-size: 24px; }
    .jh-course-heading { flex-direction: column; gap: 0; }
    .jh-designations { max-width: 100%; justify-content: flex-start; margin: 0 0 12px; }
    .jh-course-top { flex-wrap: wrap; gap: 4px; }
    .jh-section { margin-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@page { size: letter; margin: .55in .6in; }
@media print {
    body { color: #000; background: white; font: 10pt/1.4 Arial, sans-serif; }
    .jh-topbar, .jh-sidebar, .jh-print-actions, .jh-primary-filters, .jh-back-to-filters, .jh-footer, .jh-skip { display: none !important; }
    .jh-page { max-width: none; padding: 0; }
    .jh-preview { font-size: 8pt; padding: 6pt; border: 1px solid #777; background: white; color: black; margin-bottom: 10pt; }
    .jh-hero { display: block; margin: 0; padding: 0 0 12pt; border: 0; border-bottom: 1pt solid black; border-radius: 0; box-shadow: none; }
    .jh-hero .jh-eyebrow, .jh-intro { display: none; }
    h1 { font: bold 24pt/1.15 Georgia, serif; letter-spacing: -.4pt; margin: 0 0 8pt; }
    h1 br { display: none; } h1 br::after { content: " "; }
    h1 span { color: black; } h1 span::before { content: " "; }
    .jh-year::before { content: "Santa Barbara Unified School District · "; }
    .jh-year { font-size: 9pt; }
    .jh-layout { display: block; padding-top: 12pt; }
    .jh-results { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
    .jh-results-heading h2 { font-size: 13pt; }
    .jh-results-heading .jh-eyebrow { display: none; }
    .jh-count { color: black; background: none; font-size: 9pt; border: none; padding: 0; }
    .jh-scope { font-size: 8pt; margin: 5pt 0 9pt; color: #333; }
    .jh-notice { color: black; background: none; border: .5pt solid #777; padding: 6pt 8pt; font-size: 8pt; margin: 0 0 12pt; }
    .jh-section { margin: 0 0 16pt; }
    .jh-section-heading { break-after: avoid; page-break-after: avoid; padding: 8pt 0; border-bottom: 1pt solid #777; gap: 9pt; }
    .jh-section-heading h2 { font-size: 13pt; margin: 0 0 3pt; }
    .jh-section-heading p { font-size: 8pt; color: #333; }
    .jh-section-number { font-size: 16pt; color: black; }
    .jh-section-count { color: black; font-size: 9pt; }
    .jh-course-list, .jh-section-common .jh-course-list { overflow: visible; border: none; border-radius: 0; }
    .jh-course { padding: 11pt 0; break-inside: avoid; page-break-inside: avoid; }
    .jh-course + .jh-course { border-top: .5pt solid #bbb; }
    .jh-course-top { font-size: 8pt; }
    .jh-course h3 { font: bold 13pt/1.3 Arial, sans-serif; margin: 3pt 0; }
    .jh-course-heading { display: block; }
    .jh-designations { max-width: 100%; justify-content: flex-start; margin: 5pt 0; gap: 4pt; }
    .jh-badge { color: black; background: none; border: .5pt solid #777; padding: 1pt 4pt; font-size: 8pt; }
    .jh-course-meta { font-size: 8pt; margin: 0 0 6pt; gap: 12pt; }
    .jh-common-tag { padding: 0; color: black; background: none; font-size: 8pt; }
    .jh-review-tag { padding: 0; color: black; background: none; font-size: 8pt; }
    .jh-classification-note { color: black; background: none; font-size: 8pt; border-color: #777; padding: 5pt 8pt; }
    .jh-description { font-size: 10pt; line-height: 1.45; color: black; orphans: 3; widows: 3; }
    .jh-description a { text-decoration: underline; }
    .jh-transcript { font-size: 8pt; color: #333; margin-top: 7pt; }
    .jh-record-details { margin-top: 7pt; }
    .jh-record-details summary { display: none; }
    .jh-record-content { display: block !important; padding: 0; }
    .jh-official-title { color: #333; font-size: 8pt; }
    .jh-credit-note { background: none; color: black; font-size: 8pt; border-color: #777; padding: 5pt 8pt; }
    .jh-pathway-back { display: none; }
    .jh-subject, .jh-course-code, .jh-course-meta, .jh-offered, .jh-translation-note { color: #333; }
    .jh-offered { font-size: 8pt; margin-top: 7pt; }
    .jh-pair-note { color: black; background: none; border-left: 2pt solid #777; font-size: 8pt; }
    .jh-availability-note { font-size: 8pt; color: #333; padding: 8pt 0; }
    .jh-legal { font-size: 7pt; color: #333; background: none; padding: 0; margin: 0; border-radius: 0; }
    a { color: inherit; text-decoration: none; }
    a[href]::after { content: none; }
}
