.jrce-explorer {
  --jrce-accent: #0e72b8;
  --jrce-accent-dark: #073f73;
  --jrce-ink: #102d48;
  --jrce-muted: #5c7183;
  --jrce-soft: #f3f9fc;
  --jrce-border: #d7e5ee;
  --jrce-green: #178250;
  --jrce-amber: #aa5b05;
  --jrce-red: #bb2947;
  width: 100%;
  max-width: 1380px;
  margin: 2.5rem auto;
  overflow-x: clip;
  color: var(--jrce-ink);
  font-family: inherit;
  container: jrce / inline-size;
}

.jrce-host-panel { width: 100%; min-width: 0; max-width: 100%; max-height: none; overflow-x: clip; overflow-y: visible; }
.jrce-host-panel .jrce-explorer { width: 100%; max-width: none; margin: 0; }

.jrce-explorer *, .jrce-explorer *::before, .jrce-explorer *::after { box-sizing: border-box; }
.jrce-explorer [hidden] { display: none !important; }
.jrce-explorer .screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.jrce-explorer button, .jrce-explorer input, .jrce-explorer select { font: inherit; }
.jrce-explorer button { -webkit-tap-highlight-color: transparent; }
.jrce-header { position: relative; padding: clamp(1.6rem, 4vw, 3.2rem); overflow: hidden; border-radius: 22px 22px 0 0; background: linear-gradient(130deg, #189fc9 0%, #0b67a8 52%, #042c66 100%); color: #fff; }
.jrce-header::after { content: ""; position: absolute; right: -7rem; top: -9rem; width: 22rem; height: 22rem; border-radius: 50%; border: 4rem solid rgba(255,255,255,.08); }
.jrce-eyebrow { display: block; margin-bottom: .65rem; font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; opacity: .82; }
.jrce-header h2 { position: relative; z-index: 1; max-width: 700px; margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.04; letter-spacing: -.045em; }
.jrce-header p { position: relative; z-index: 1; max-width: 720px; margin: 1rem 0 0; color: rgba(255,255,255,.86); font-size: 1.04rem; line-height: 1.65; }
.jrce-live { position: absolute; z-index: 2; right: 1.4rem; bottom: 1.25rem; display: flex; align-items: center; gap: .45rem; padding: .45rem .7rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(20,20,45,.2); font-size: .75rem; font-weight: 700; backdrop-filter: blur(8px); }
.jrce-live i { width: .5rem; height: .5rem; border-radius: 50%; background: #68e7a1; box-shadow: 0 0 0 4px rgba(104,231,161,.16); }
.jrce-toolbar { padding: 1.25rem; border: 1px solid var(--jrce-border); border-top: 0; background: #fff; }
.jrce-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; }
.jrce-search { position: relative; display: block; min-width: 0; }
.jrce-search svg { position: absolute; left: 1rem; top: 50%; width: 1.2rem; transform: translateY(-50%); fill: none; stroke: var(--jrce-muted); stroke-width: 2; }
.jrce-search input { width: 100%; height: 3.2rem; padding: 0 1rem 0 3rem; border: 1px solid var(--jrce-border); border-radius: 12px; background: var(--jrce-soft); color: var(--jrce-ink); outline: 0; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.jrce-search input:focus, .jrce-filter-row select:focus, .jrce-age-filter input:focus { border-color: var(--jrce-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--jrce-accent) 18%, transparent); }
.jrce-search.is-active input { border-color: color-mix(in srgb, var(--jrce-accent) 52%, var(--jrce-border)); background: color-mix(in srgb, var(--jrce-accent) 4%, #fff); }
.jrce-finder-launch { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.2rem; padding: 0 1rem; border: 1px solid color-mix(in srgb, var(--jrce-accent) 30%, var(--jrce-border)); border-radius: 12px; background: color-mix(in srgb, var(--jrce-accent) 7%, #fff); color: var(--jrce-accent-dark); font-size: .82rem; font-weight: 800; cursor: pointer; }
.jrce-finder-launch:hover { border-color: var(--jrce-accent); background: color-mix(in srgb, var(--jrce-accent) 11%, #fff); }
.jrce-finder-launch svg { width: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.jrce-filter-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: .9rem; }
.jrce-price-note { margin: .85rem 0 0; padding: .62rem .8rem; border-left: 3px solid var(--jrce-accent); border-radius: 0 8px 8px 0; background: color-mix(in srgb, var(--jrce-accent) 6%, #fff); color: var(--jrce-muted); font-size: .78rem; line-height: 1.45; }
.jrce-filter-row > label > span { display: block; margin: 0 0 .32rem .1rem; color: var(--jrce-muted); font-size: .69rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.jrce-filter-row select, .jrce-age-filter__control { width: 100%; height: 2.8rem; border: 1px solid var(--jrce-border); border-radius: 10px; background: #fff; color: var(--jrce-ink); transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.jrce-filter-row select { padding: 0 2rem 0 .75rem; }
.jrce-age-filter__control { display: flex; align-items: center; overflow: hidden; }
.jrce-age-filter input { min-width: 0; width: 100%; height: 100%; padding: 0 .25rem 0 .75rem; border: 0; outline: 0; }
.jrce-age-filter em { padding-right: .65rem; color: var(--jrce-muted); font-size: .8rem; font-style: normal; }
.jrce-filter-row label.is-active > span { color: var(--jrce-accent-dark); }
.jrce-filter-row label.is-active select, .jrce-age-filter.is-active .jrce-age-filter__control { border-color: color-mix(in srgb, var(--jrce-accent) 48%, var(--jrce-border)); background: color-mix(in srgb, var(--jrce-accent) 4%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--jrce-accent) 6%, transparent); }
.jrce-active-filters { display: flex; flex-wrap: wrap; gap: .42rem; margin-top: .9rem; }
.jrce-active-filters button { display: inline-flex; align-items: center; gap: .42rem; min-height: 1.9rem; padding: .28rem .42rem .28rem .62rem; border: 1px solid color-mix(in srgb, var(--jrce-accent) 25%, var(--jrce-border)); border-radius: 999px; background: color-mix(in srgb, var(--jrce-accent) 7%, #fff); color: var(--jrce-accent-dark); font-size: .69rem; font-weight: 780; cursor: pointer; animation: jrceChipIn .24s both; }
.jrce-active-filters button:hover { border-color: var(--jrce-accent); background: color-mix(in srgb, var(--jrce-accent) 11%, #fff); }
.jrce-active-filters button span { display: grid; place-items: center; width: 1rem; height: 1rem; border-radius: 50%; background: rgba(255,255,255,.8); font-size: .78rem; }
.jrce-toolbar-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.jrce-toolbar-footer > div:first-child { color: var(--jrce-muted); font-size: .9rem; }
.jrce-toolbar-footer strong { color: var(--jrce-ink); }
.jrce-toolbar-footer strong.jrce-count-bump { display: inline-block; animation: jrceCountBump .3s ease; }
.jrce-reset { margin-left: .65rem; padding: 0; border: 0; background: transparent; color: var(--jrce-accent); font-size: .82rem; font-weight: 750; text-decoration: underline; cursor: pointer; }
.jrce-layout-actions { display: flex; align-items: center; gap: .55rem; }
.jrce-print { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.4rem; padding: 0 .7rem; border: 1px solid var(--jrce-border); border-radius: 9px; background: #fff; color: var(--jrce-muted); font-size: .76rem; font-weight: 750; cursor: pointer; }
.jrce-print:hover { border-color: var(--jrce-accent); color: var(--jrce-accent); }
.jrce-print svg { width: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.jrce-view-toggle { display: inline-flex; padding: .2rem; border-radius: 9px; background: var(--jrce-soft); }
.jrce-view-toggle button { display: grid; place-items: center; width: 2.25rem; height: 2rem; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--jrce-muted); cursor: pointer; transition: color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease; }
.jrce-view-toggle button:hover { color: var(--jrce-accent); transform: translateY(-1px); }
.jrce-view-toggle button.is-active { background: #fff; color: var(--jrce-accent); box-shadow: 0 1px 5px rgba(23,26,50,.12); }
.jrce-view-toggle svg { width: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.jrce-results { position: relative; border: 1px solid var(--jrce-border); border-top: 0; border-radius: 0 0 22px 22px; background: #fff; overflow: visible; }
.jrce-table-wrap { overflow: visible; }
.jrce-table { width: 100%; min-width: 720px; margin: 0; border: 0; border-collapse: collapse; background: #fff; color: var(--jrce-ink); }
.jrce-table th, .jrce-table td { padding: 1rem .85rem; border: 0; border-bottom: 1px solid var(--jrce-border); text-align: left; vertical-align: middle; }
.jrce-table thead th { position: sticky; top: 0; z-index: 2; padding-top: .8rem; padding-bottom: .8rem; background: var(--jrce-soft); color: var(--jrce-muted); font-size: .7rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.jrce-table thead button { display: inline-flex; align-items: center; gap: .3rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.jrce-table tbody tr { transition: background .18s ease, box-shadow .18s ease; }
.jrce-table tbody tr:hover { position: relative; z-index: 1; background: color-mix(in srgb, var(--jrce-accent) 4%, #fff); box-shadow: inset 3px 0 0 var(--jrce-accent); }
.jrce-table tbody tr:last-child > * { border-bottom: 0; }
.jrce-table tbody th { min-width: 190px; }
.jrce-class-name { font-weight: 800; line-height: 1.25; }
.jrce-program { display: inline-block; margin-top: .35rem; padding: .2rem .45rem; border-radius: 5px; background: color-mix(in srgb, var(--jrce-accent) 9%, #fff); color: var(--jrce-accent-dark); font-size: .7rem; font-weight: 750; }
.jrce-table td > span:not(.jrce-status), .jrce-table td small { display: block; margin-top: .18rem; color: var(--jrce-muted); font-size: .78rem; }
.jrce-table td > strong { display: block; }
.jrce-metadata-value { display: grid; gap: .18rem; }
.jrce-metadata-value > span, .jrce-metadata-value > small { display: block; margin: 0; color: var(--jrce-muted); font-size: .78rem; line-height: 1.35; }
.jrce-table details { margin-top: .3rem; color: var(--jrce-muted); font-size: .75rem; font-weight: 400; }
.jrce-table details summary { color: var(--jrce-accent); cursor: pointer; }
.jrce-table details p { max-width: 260px; margin: .4rem 0 0; line-height: 1.5; }
.jrce-status { display: inline-flex; align-items: center; gap: .42rem; padding: .35rem .55rem; border-radius: 999px; background: #eef9f3; color: var(--jrce-green); font-size: .72rem; font-weight: 800; white-space: nowrap; }
.jrce-status i { width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.jrce-status.is-limited, .jrce-status.is-waitlist { background: #fff6e8; color: var(--jrce-amber); }
.jrce-status.is-full { background: #fff0f3; color: var(--jrce-red); }
.jrce-enroll { display: flex; width: 100%; align-items: center; justify-content: center; gap: .3rem; min-height: 2.7rem; padding: .65rem .85rem; border-radius: 9px; background: var(--jrce-accent); color: #fff !important; font-size: .8rem; font-weight: 800; line-height: 1; text-decoration: none !important; white-space: nowrap; box-shadow: 0 6px 14px color-mix(in srgb, var(--jrce-accent) 30%, transparent); }
.jrce-enroll:hover { background: var(--jrce-accent-dark); color: #fff !important; transform: translateY(-1px); }
.jrce-enroll:focus-visible { outline: 3px solid color-mix(in srgb, var(--jrce-accent) 28%, transparent); outline-offset: 2px; }
.jrce-enroll svg { width: .95rem; fill: none; stroke: currentColor; stroke-width: 2; }
.jrce-compare-button { display: flex; width: 100%; min-height: 1.9rem; align-items: center; justify-content: center; margin-top: .35rem; padding: .3rem .5rem; border: 1px solid var(--jrce-border); border-radius: 8px; background: #fff; color: var(--jrce-muted); font-size: .66rem; font-weight: 750; cursor: pointer; transition: border-color .16s ease, color .16s ease, background .16s ease, transform .16s ease; }
.jrce-compare-button:hover, .jrce-compare-button.is-selected { border-color: color-mix(in srgb, var(--jrce-accent) 45%, var(--jrce-border)); background: color-mix(in srgb, var(--jrce-accent) 7%, #fff); color: var(--jrce-accent-dark); }
.jrce-match-score { display: inline-block; margin-top: .38rem; padding: .24rem .45rem; border-radius: 999px; background: #e9f8f0; color: var(--jrce-green); font-size: .66rem; font-weight: 800; text-transform: capitalize; }
.jrce-empty { padding: 4rem 1.5rem; text-align: center; }
.jrce-empty > span { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin: 0 auto 1rem; border-radius: 50%; background: var(--jrce-soft); color: var(--jrce-accent); font-size: 1.7rem; }
.jrce-empty h3 { margin: 0; color: var(--jrce-ink); }
.jrce-empty p { margin: .5rem 0 1rem; color: var(--jrce-muted); }
.jrce-empty button { padding: .6rem .9rem; border: 1px solid var(--jrce-border); border-radius: 8px; background: #fff; color: var(--jrce-accent); font-weight: 750; cursor: pointer; }
.jrce-suggestions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; max-width: 900px; margin: 1.1rem auto 1.25rem; text-align: left; }
.jrce-suggestion { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .9rem; border: 1px solid var(--jrce-border); border-radius: 12px; background: #fff; color: var(--jrce-ink) !important; text-decoration: none !important; box-shadow: 0 5px 16px rgba(28,31,61,.05); }
.jrce-suggestion > span { display: flex; flex-direction: column; gap: .18rem; min-width: 0; }
.jrce-suggestion strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jrce-suggestion small { color: var(--jrce-muted); font-size: .72rem; }
.jrce-suggestion em { color: var(--jrce-green); font-size: .68rem; font-style: normal; font-weight: 700; text-transform: capitalize; }
.jrce-suggestion b { color: var(--jrce-accent); font-size: 1.2rem; }
.jrce-feed-error { display: flex; flex-direction: column; gap: .3rem; padding: 1.2rem; border: 1px solid #efcbd2; border-radius: 0 0 20px 20px; background: #fff6f7; color: var(--jrce-red); }

.jrce-calendar { display: none; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; padding: 1rem; background: var(--jrce-soft); overflow: visible; }
.jrce-calendar-day { min-width: 180px; }
.jrce-calendar-day > header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .45rem; margin-bottom: .55rem; color: var(--jrce-muted); }
.jrce-calendar-day > header > span { display: none; }
.jrce-calendar-day > header strong { color: var(--jrce-ink); font-size: .78rem; }
.jrce-calendar-day > header em { display: grid; place-items: center; min-width: 1.45rem; height: 1.45rem; border-radius: 999px; background: #fff; color: var(--jrce-muted); font-size: .65rem; font-style: normal; font-weight: 800; }
.jrce-calendar-stack { display: flex; flex-direction: column; gap: .55rem; }
.jrce-calendar-class { padding: .8rem; border: 1px solid var(--jrce-border); border-top: 3px solid var(--jrce-accent); border-radius: 11px; background: #fff; box-shadow: 0 4px 14px rgba(28,31,61,.045); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.jrce-calendar-class:hover { z-index: 2; border-color: color-mix(in srgb, var(--jrce-accent) 34%, var(--jrce-border)); border-top-color: var(--jrce-accent); box-shadow: 0 10px 24px rgba(28,31,61,.11); transform: translateY(-3px); }
.jrce-calendar-class.is-limited, .jrce-calendar-class.is-waitlist { border-top-color: var(--jrce-amber); }
.jrce-calendar-class.is-full { border-top-color: var(--jrce-red); }
.jrce-calendar-time { margin-bottom: .3rem; color: var(--jrce-accent-dark); font-size: .7rem; font-weight: 850; }
.jrce-calendar-class h4 { margin: 0; color: var(--jrce-ink); font-size: .86rem; line-height: 1.3; }
.jrce-calendar-class p { margin: .35rem 0 .55rem; color: var(--jrce-muted); font-size: .69rem; }
.jrce-calendar-meta { display: flex; align-items: center; justify-content: flex-start; gap: .4rem; }
.jrce-calendar-meta .jrce-status { padding: .25rem .38rem; font-size: .62rem; }
.jrce-calendar-meta strong { font-size: .68rem; }
.jrce-calendar-tuition { display: grid; justify-items: start; gap: .08rem; text-align: left; }
.jrce-calendar-tuition small { color: var(--jrce-muted); font-size: .57rem; font-weight: 700; line-height: 1.15; }
.jrce-calendar-actions { display: grid; grid-template-columns: 1fr auto; gap: .35rem; margin-top: .65rem; }
.jrce-calendar-actions a, .jrce-calendar-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 2rem; padding: .35rem .5rem; border-radius: 7px; font-size: .66rem; font-weight: 800; text-decoration: none !important; cursor: pointer; }
.jrce-calendar-actions a { gap: .25rem; border: 0; background: var(--jrce-accent); color: #fff !important; }
.jrce-calendar-actions button { border: 1px solid var(--jrce-border); background: #fff; color: var(--jrce-muted); }
.jrce-calendar-actions button.is-selected { border-color: var(--jrce-accent); color: var(--jrce-accent); }
.jrce-explorer[data-jrce-view="calendar"] .jrce-table-wrap { display: none; }
.jrce-explorer[data-jrce-view="calendar"] .jrce-calendar { display: grid; }

.jrce-modal-open { overflow: hidden; }
.jrce-finder, .jrce-compare-modal { position: fixed; z-index: 100000; inset: 0; display: grid; place-items: center; padding: 1rem; }
.jrce-finder-backdrop { position: absolute; inset: 0; background: rgba(17,18,36,.68); backdrop-filter: blur(5px); }
.jrce-finder-panel, .jrce-compare-panel { position: relative; z-index: 1; width: min(620px, 100%); max-height: calc(100vh - 2rem); padding: clamp(1.4rem, 4vw, 2.4rem); overflow-y: auto; border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(10,12,30,.3); animation: jrceModalIn .28s cubic-bezier(.2,.8,.2,1) both; }
.jrce-compare-panel { width: min(1100px, 100%); }
.jrce-finder-panel .jrce-eyebrow, .jrce-compare-panel .jrce-eyebrow { color: var(--jrce-accent); }
.jrce-finder-panel h3, .jrce-compare-panel h3 { margin: 0; color: var(--jrce-ink); font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -.035em; }
.jrce-finder-panel > p, .jrce-compare-panel > p { margin: .55rem 0 1.25rem; color: var(--jrce-muted); }
.jrce-finder-close { position: absolute; top: .8rem; right: .8rem; display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 1px solid var(--jrce-border); border-radius: 50%; background: #fff; color: var(--jrce-muted); font-size: 1.3rem; cursor: pointer; }
.jrce-finder-steps { display: grid; gap: .8rem; }
.jrce-finder-steps > .jrce-finder-step { display: grid; grid-template-columns: minmax(150px, .7fr) 1.3fr; align-items: center; gap: .8rem; padding: .9rem; border: 1px solid var(--jrce-border); border-radius: 12px; background: var(--jrce-soft); }
.jrce-finder-steps > .jrce-finder-step > span { display: flex; align-items: center; gap: .55rem; font-weight: 800; }
.jrce-finder-steps b { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 7px; background: var(--jrce-accent); color: #fff; font-size: .72rem; }
.jrce-finder-steps select, .jrce-finder-input { width: 100%; height: 2.8rem; border: 1px solid var(--jrce-border); border-radius: 9px; background: #fff; }
.jrce-finder-steps select { padding: 0 .7rem; }
.jrce-finder-input { display: flex; align-items: center; overflow: hidden; }
.jrce-finder-input input { min-width: 0; width: 100%; height: 100%; padding: 0 .7rem; border: 0; outline: 0; }
.jrce-finder-input em { padding-right: .7rem; color: var(--jrce-muted); font-size: .75rem; font-style: normal; }
.jrce-finder-actions { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.jrce-finder-apply { min-height: 2.8rem; padding: 0 1rem; border: 0; border-radius: 9px; background: var(--jrce-accent); color: #fff; font-weight: 800; cursor: pointer; }
.jrce-finder-skip { padding: .5rem; border: 0; background: transparent; color: var(--jrce-muted); font-size: .78rem; font-weight: 700; cursor: pointer; }

.jrce-compare-tray { position: sticky; z-index: 20; bottom: .8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .8rem; padding: .8rem 1rem; border: 1px solid color-mix(in srgb, var(--jrce-accent) 35%, var(--jrce-border)); border-radius: 13px; background: rgba(255,255,255,.96); box-shadow: 0 12px 30px rgba(25,26,43,.18); backdrop-filter: blur(10px); animation: jrceTrayIn .3s cubic-bezier(.2,.8,.2,1) both; }
.jrce-compare-tray > div:first-child { min-width: 0; }
.jrce-compare-tray > div:first-child > strong { font-size: .78rem; }
.jrce-compare-tray [data-jrce-compare-chips] { display: flex; gap: .35rem; margin-top: .35rem; overflow: hidden; }
.jrce-compare-tray [data-jrce-compare-chips] button { max-width: 180px; overflow: hidden; padding: .26rem .45rem; border: 0; border-radius: 999px; background: var(--jrce-soft); color: var(--jrce-muted); font-size: .65rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.jrce-compare-tray-actions { display: flex; align-items: center; gap: .4rem; flex: 0 0 auto; }
.jrce-compare-tray-actions button { min-height: 2.25rem; padding: 0 .7rem; border: 1px solid var(--jrce-border); border-radius: 8px; background: #fff; color: var(--jrce-muted); font-size: .7rem; font-weight: 800; cursor: pointer; }
.jrce-compare-tray-actions button.is-primary { border-color: var(--jrce-accent); background: var(--jrce-accent); color: #fff; }
.jrce-compare-tray-actions [data-jrce-clear-compare] { width: 2.25rem; padding: 0; font-size: 1rem; }
.jrce-compare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.jrce-compare-grid article { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--jrce-border); border-radius: 13px; background: #fff; }
.jrce-compare-grid h4 { margin: 0; padding: 1rem; background: linear-gradient(145deg, color-mix(in srgb, var(--jrce-accent) 9%, #fff), #fff); color: var(--jrce-ink); font-size: 1rem; }
.jrce-compare-grid article > div { display: grid; grid-template-columns: 90px 1fr; gap: .55rem; padding: .6rem .8rem; border-top: 1px solid var(--jrce-border); }
.jrce-compare-grid article > div span { color: var(--jrce-muted); font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.jrce-compare-grid article > div strong { color: var(--jrce-ink); font-size: .76rem; }
.jrce-compare-grid footer { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-top: auto; padding: .8rem; border-top: 1px solid var(--jrce-border); background: var(--jrce-soft); }
.jrce-compare-grid footer a, .jrce-compare-grid footer button { display: grid; place-items: center; min-height: 2.4rem; padding: .45rem; border-radius: 8px; font-size: .7rem; font-weight: 800; text-decoration: none !important; cursor: pointer; }
.jrce-compare-grid footer a { background: var(--jrce-accent); color: #fff !important; }
.jrce-compare-grid footer button { border: 1px solid var(--jrce-border); background: #fff; color: var(--jrce-accent); }

.jrce-enter { animation: jrceReveal .34s cubic-bezier(.2,.75,.25,1) var(--jrce-enter-delay, 0ms) both; }
.jrce-view-changing .jrce-results { animation: jrceViewIn .28s ease both; }
.jrce-pop { animation: jrcePop .34s ease both; }
@keyframes jrceReveal { from { opacity: 0; transform: translateY(9px) scale(.992); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes jrceViewIn { from { opacity: .45; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes jrceChipIn { from { opacity: 0; transform: translateY(-4px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes jrceCountBump { 0% { transform: scale(1); } 45% { color: var(--jrce-accent); transform: scale(1.28); } 100% { transform: scale(1); } }
@keyframes jrceTrayIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes jrceModalIn { from { opacity: 0; transform: translateY(16px) scale(.975); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes jrcePop { 0%, 100% { transform: scale(1); } 45% { transform: scale(.93); } 70% { transform: scale(1.04); } }

.jrce-explorer[data-jrce-view="cards"] .jrce-results { padding: 1rem; overflow: hidden; background: var(--jrce-soft); }
.jrce-explorer[data-jrce-view="cards"] .jrce-table-wrap { overflow: visible; }
.jrce-explorer[data-jrce-view="cards"] .jrce-table { display: block; min-width: 0; background: transparent; }
.jrce-explorer[data-jrce-view="cards"] .jrce-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.jrce-explorer[data-jrce-view="cards"] .jrce-table tbody { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.jrce-explorer[data-jrce-view="cards"] .jrce-table tr { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--jrce-border); border-top: 3px solid var(--jrce-accent); border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgba(28,31,61,.06); }
.jrce-explorer[data-jrce-view="cards"] .jrce-table tr:hover { z-index: 2; border-color: color-mix(in srgb, var(--jrce-accent) 30%, var(--jrce-border)); box-shadow: 0 14px 30px rgba(28,31,61,.11); transform: translateY(-3px); }
.jrce-explorer[data-jrce-view="cards"] .jrce-table th, .jrce-explorer[data-jrce-view="cards"] .jrce-table td { display: grid; grid-template-columns: 104px minmax(0,1fr); align-items: center; width: 100%; min-height: 3.7rem; padding: .72rem 1rem; border-bottom: 1px solid var(--jrce-border); color: var(--jrce-ink); font-size: .88rem; font-weight: 600; line-height: 1.4; }
.jrce-explorer[data-jrce-view="cards"] .jrce-table th:first-child { display: block; padding: 1.15rem 1rem; background: linear-gradient(145deg, color-mix(in srgb, var(--jrce-accent) 8%, #fff), #fff); }
.jrce-explorer[data-jrce-view="cards"] .jrce-table td::before { content: attr(data-label); color: var(--jrce-muted); font-size: .66rem; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.jrce-explorer[data-jrce-view="cards"] .jrce-table td .jrce-metadata-value { grid-column: 2; gap: .18rem; min-width: 0; }
.jrce-explorer[data-jrce-view="cards"] .jrce-table td .jrce-metadata-value > strong { display: block; margin: 0; color: var(--jrce-ink); font-size: .88rem; font-weight: 600; line-height: 1.4; }
.jrce-explorer[data-jrce-view="cards"] .jrce-table td .jrce-metadata-value > span, .jrce-explorer[data-jrce-view="cards"] .jrce-table td .jrce-metadata-value > small { margin: 0; color: var(--jrce-muted); font-size: .82rem; font-weight: 500; line-height: 1.4; }
.jrce-explorer[data-jrce-view="cards"] .jrce-table td:last-child { display: block; margin-top: auto; padding: 1rem; border: 0; }
.jrce-explorer[data-jrce-view="cards"] .jrce-enroll { width: 100%; }

/* Live QA can use ?jrce_preview=mobile to review the card layout at a phone-sized width. */
.jrce-explorer[data-jrce-preview="mobile"] { width: min(100%, 390px); margin: 1rem auto; }
.jrce-explorer[data-jrce-preview="mobile"] .jrce-header { padding: 1.25rem 1rem; border-radius: 16px 16px 0 0; }
.jrce-explorer[data-jrce-preview="mobile"] .jrce-header h2 { font-size: 1.8rem; }
.jrce-explorer[data-jrce-preview="mobile"] .jrce-header p { margin-top: .65rem; font-size: .9rem; line-height: 1.5; }
.jrce-explorer[data-jrce-preview="mobile"] .jrce-live { position: static; width: max-content; margin-top: .8rem; }
.jrce-explorer[data-jrce-preview="mobile"] .jrce-toolbar { padding: .85rem; }
.jrce-explorer[data-jrce-preview="mobile"] .jrce-search-row { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.jrce-explorer[data-jrce-preview="mobile"] .jrce-finder-launch { padding: 0 .65rem; font-size: .75rem; }
.jrce-explorer[data-jrce-preview="mobile"] .jrce-filter-row { grid-template-columns: 1fr 1fr; }
.jrce-explorer[data-jrce-preview="mobile"] .jrce-tuition-month { grid-column: 1 / -1; }
.jrce-explorer[data-jrce-preview="mobile"] .jrce-toolbar-footer { flex-direction: row; }
.jrce-explorer[data-jrce-preview="mobile"] .jrce-print { display: none; }
.jrce-explorer[data-jrce-preview="mobile"] .jrce-results { padding: .75rem; border-radius: 0 0 16px 16px; }
.jrce-explorer[data-jrce-preview="mobile"][data-jrce-view="cards"] .jrce-table tbody { grid-template-columns: 1fr; }

@media (max-width: 1040px) {
  .jrce-filter-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jrce-explorer[data-jrce-view="cards"] .jrce-table tbody { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
  .jrce-calendar { grid-template-columns: repeat(3, minmax(200px, 1fr)); }
}

/* Respond to the WordPress content column itself, not only the browser viewport. */
@container jrce (max-width: 1040px) {
  .jrce-filter-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jrce-explorer[data-jrce-view="cards"] .jrce-table tbody { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
  .jrce-calendar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@container jrce (max-width: 700px) {
  .jrce-header { padding: 1.25rem 1rem; border-radius: 16px 16px 0 0; }
  .jrce-header h2 { font-size: 1.8rem; }
  .jrce-header p { margin-top: .65rem; font-size: .9rem; line-height: 1.5; }
  .jrce-live { position: static; width: max-content; margin-top: .8rem; }
  .jrce-toolbar { padding: .85rem; }
  .jrce-search-row { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
  .jrce-finder-launch { padding: 0 .65rem; font-size: .75rem; }
  .jrce-filter-row { grid-template-columns: 1fr 1fr; }
  .jrce-tuition-month { grid-column: 1 / -1; }
  .jrce-toolbar-footer { flex-direction: row; }
  .jrce-toolbar-footer, .jrce-layout-actions { min-width: 0; flex-wrap: wrap; }
  .jrce-print { display: none; }
  .jrce-results { padding: .75rem; background: var(--jrce-soft); border-radius: 0 0 16px 16px; }
  .jrce-results, .jrce-table-wrap, .jrce-table, .jrce-table tbody, .jrce-table tr { min-width: 0; max-width: 100%; }
  .jrce-table { display: block; min-width: 0; background: transparent; }
  .jrce-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .jrce-table tbody { display: grid; grid-template-columns: 1fr; gap: .75rem; }
  .jrce-table tr { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--jrce-border); border-radius: 13px; background: #fff; box-shadow: 0 5px 14px rgba(28,31,61,.05); }
  .jrce-table th, .jrce-table td { display: grid; grid-template-columns: minmax(82px, 96px) minmax(0,1fr); align-items: center; width: 100%; min-width: 0; max-width: 100%; min-height: 3.55rem; padding: .65rem .85rem; border-bottom: 1px solid var(--jrce-border); color: var(--jrce-ink); font-size: .88rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
  .jrce-table th:first-child { display: block; padding: 1rem .85rem; background: linear-gradient(145deg, color-mix(in srgb, var(--jrce-accent) 8%, #fff), #fff); }
  .jrce-table td::before { content: attr(data-label); color: var(--jrce-muted); font-size: .64rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
  .jrce-table td .jrce-metadata-value { grid-column: 2; gap: .18rem; min-width: 0; }
  .jrce-table td .jrce-metadata-value > strong { display: block; margin: 0; color: var(--jrce-ink); font-size: .88rem; font-weight: 600; line-height: 1.4; }
  .jrce-table td .jrce-metadata-value > span, .jrce-table td .jrce-metadata-value > small { margin: 0; color: var(--jrce-muted); font-size: .82rem; font-weight: 500; line-height: 1.4; }
  .jrce-table td:last-child { display: block; padding: .85rem; border: 0; }
  .jrce-enroll { width: 100%; }
  .jrce-calendar { grid-template-columns: 1fr; padding: 0; }
  .jrce-calendar-day { min-width: 0; }
  .jrce-suggestions { grid-template-columns: 1fr; }
}

@container jrce (max-width: 450px) {
  .jrce-filter-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .jrce-explorer { width: 100%; max-width: 100%; margin: 1rem auto; overflow-x: clip; }
  .jrce-header { padding: 1.25rem 1rem; border-radius: 16px 16px 0 0; }
  .jrce-header h2 { font-size: 1.8rem; }
  .jrce-header p { margin-top: .65rem; font-size: .9rem; line-height: 1.5; }
  .jrce-live { position: static; width: max-content; margin-top: .8rem; }
  .jrce-toolbar { padding: .85rem; }
  .jrce-search-row { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
  .jrce-finder-launch { padding: 0 .65rem; font-size: .75rem; }
  .jrce-filter-row { display: grid; grid-template-columns: 1fr 1fr; }
  .jrce-tuition-month { grid-column: 1 / -1; }
  .jrce-toolbar-footer { flex-direction: row; }
  .jrce-toolbar-footer, .jrce-layout-actions { min-width: 0; flex-wrap: wrap; }
  .jrce-print { display: none; }
  .jrce-results { padding: .75rem; background: var(--jrce-soft); border-radius: 0 0 16px 16px; }
  .jrce-results, .jrce-table-wrap, .jrce-table, .jrce-table tbody, .jrce-table tr { min-width: 0; max-width: 100%; }
  .jrce-table { display: block; min-width: 0; background: transparent; }
  .jrce-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .jrce-table tbody { display: grid; grid-template-columns: 1fr; gap: .75rem; }
  .jrce-table tr { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--jrce-border); border-radius: 13px; background: #fff; box-shadow: 0 5px 14px rgba(28,31,61,.05); }
  .jrce-table th, .jrce-table td { display: grid; grid-template-columns: minmax(82px, 96px) minmax(0,1fr); align-items: center; width: 100%; min-width: 0; max-width: 100%; min-height: 3.55rem; padding: .65rem .85rem; border-bottom: 1px solid var(--jrce-border); color: var(--jrce-ink); font-size: .88rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
  .jrce-table th:first-child { display: block; padding: 1rem .85rem; background: linear-gradient(145deg, color-mix(in srgb, var(--jrce-accent) 8%, #fff), #fff); }
  .jrce-table td::before { content: attr(data-label); color: var(--jrce-muted); font-size: .64rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
  .jrce-table td .jrce-metadata-value { grid-column: 2; gap: .18rem; min-width: 0; }
  .jrce-table td .jrce-metadata-value > strong { display: block; margin: 0; color: var(--jrce-ink); font-size: .88rem; font-weight: 600; line-height: 1.4; }
  .jrce-table td .jrce-metadata-value > span, .jrce-table td .jrce-metadata-value > small { margin: 0; color: var(--jrce-muted); font-size: .82rem; font-weight: 500; line-height: 1.4; }
  .jrce-table td:last-child { display: block; padding: .85rem; border: 0; }
  .jrce-enroll { width: 100%; }
  .jrce-calendar { grid-template-columns: 1fr; padding: 0; }
  .jrce-calendar-day { min-width: 0; }
  .jrce-calendar-day > header > span { display: none; }
  .jrce-suggestions { grid-template-columns: 1fr; }
  .jrce-finder-steps > .jrce-finder-step { grid-template-columns: 1fr; }
  .jrce-finder-actions { align-items: stretch; flex-direction: column; }
  .jrce-compare-tray { align-items: stretch; flex-direction: column; bottom: .35rem; }
  .jrce-compare-tray-actions { flex-wrap: wrap; }
  .jrce-compare-tray-actions button.is-primary { flex: 1; }
  .jrce-compare-grid { grid-template-columns: 1fr; }
}

@media (max-width: 450px) {
  .jrce-filter-row { grid-template-columns: 1fr 1fr; }
}

@container jrce (max-width: 340px) {
  .jrce-search-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .jrce-explorer *, .jrce-explorer *::before, .jrce-explorer *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media print {
  .jrce-toolbar, .jrce-live, .jrce-compare-tray, .jrce-finder, .jrce-compare-modal, .jrce-compare-button, .jrce-calendar-actions { display: none !important; }
  .jrce-explorer { margin: 0; color: #000; }
  .jrce-header { padding: 1rem 0; border-radius: 0; background: #fff !important; color: #000; }
  .jrce-header h2, .jrce-header p { color: #000; }
  .jrce-results { border: 0; }
  .jrce-table { min-width: 0; font-size: 9pt; }
  .jrce-table th, .jrce-table td { padding: .4rem; }
  .jrce-enroll { box-shadow: none; border: 1px solid #777; background: #fff; color: #000 !important; }
  .jrce-explorer[data-jrce-view="calendar"] .jrce-calendar { grid-template-columns: repeat(5, 1fr); padding: 0; background: #fff; }
  .jrce-calendar-class { break-inside: avoid; box-shadow: none; }
}
