/* Explore catalogue. All selectors are scoped to this independent experience. */
.explore-page { min-width: 0; }
.ex-page-head { align-items: center; gap: 24px; }
.ex-rules { padding: 15px 0 15px 24px; border-left: 1px solid #d8bc8038; text-align: right; flex-shrink: 0; }
.ex-rules > span { display: block; color: #7f90a8; font-size: 8px; letter-spacing: .17em; margin-bottom: 8px; }
.ex-rules strong { display: block; font-family: var(--serif); color: #dfcfac; font-size: 25px; font-weight: 500; }
.ex-rules i { font-size: 19px; font-style: normal; margin-left: 8px; color: #9eafc2; }
.ex-rules small { display: block; font-size: 9px; color: #8e9eb2; margin-top: 7px; }
.ex-catalogue-note { display: flex; align-items: flex-start; gap: 12px; padding: 14px 17px; border: 1px solid #bda16b23; background: #bda16b06; border-radius: 6px; margin: 0 0 28px; }
.ex-catalogue-note .icon { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 2px; color: #b7a27b; }
.ex-catalogue-note p { color: #8e9db2; font-size: 10px; margin: 0; }
.ex-catalogue-note strong { color: #c7b99b; font-weight: 500; }
.ex-chapter-bar { display: grid; grid-template-columns: minmax(240px, 330px) minmax(0, 1fr); align-items: center; gap: 30px; padding: 22px 26px; margin-bottom: 26px; border: 1px solid #d8bc802d; border-left: 2px solid #c9ad76; border-radius: 8px; background: linear-gradient(105deg, #bda16b0a, transparent 68%), #0d1828; }
.ex-chapter-bar .ex-chapter-field > span { color: #cbb68d; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.ex-chapter-bar .ex-chapter-field select { min-height: 45px; padding: 11px 13px; font-size: 11px; color: #e0d5c0; border-color: #d8bc8040; text-overflow: ellipsis; }
.ex-chapter-bar .ex-chapter-field select:focus-visible { outline: 2px solid #d8bc80; outline-offset: 2px; }
.ex-chapter-copy { min-width: 0; }
.ex-chapter-copy .eyebrow { color: #bdac88; font-size: 7px; letter-spacing: .16em; margin: 0 0 8px; }
.ex-chapter-copy p { margin: 0; color: #b1bfd0; font-size: 11px; line-height: 1.8; }
.ex-chapter-copy .ex-chapter-caption { margin-top: 5px; color: #8195af; font-size: 9px; }
.ex-chapter-caption a { color: #cdb88d; text-decoration: underline; text-decoration-color: #b99d6966; text-underline-offset: 3px; }
.ex-chapter-caption a:hover { color: #f0d6a7; text-decoration-color: currentColor; }
.ex-chapter-caption a:focus-visible { outline: 2px solid #d8bc80; outline-offset: 3px; border-radius: 2px; }
.ex-tabs { display: flex; gap: 31px; margin-bottom: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.ex-tabs > button { display: flex; align-items: center; gap: 9px; min-height: 45px; position: relative; padding: 0 0 15px; background: none; color: #8395ad; font-size: 12px; white-space: nowrap; }
.ex-tabs > button > span { font-size: 8px; color: #7788a0; background: #9db2d210; border: 1px solid #9db2d215; border-radius: 3px; padding: 2px 5px; }
.ex-tabs > button.active { color: #e0c899; }
.ex-tabs > button.active:after { content: ''; height: 2px; background: #d5b780; position: absolute; bottom: 0; left: 0; right: 0; }
.ex-tabs > button.active > span { color: #cbb58b; background: #d8bc8010; border-color: #d8bc8030; }
.ex-panel { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: #0d1828; overflow: hidden; }
.ex-filters { padding: 24px 26px 0; background: radial-gradient(ellipse at 0 0, #cfb27706, transparent 70%), #0f1b2b; border-bottom: 1px solid var(--line); }
.ex-filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 22px; }
.ex-filter-heading .eyebrow { font-size: 7px; letter-spacing: .17em; color: #8e9db3; }
.ex-filter-heading h2 { font-size: 29px; margin-top: 4px; color: #e1d8c6; }
.ex-reset { display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; background: none; color: #bca77f; font-size: 10px; white-space: nowrap; }
.ex-reset .icon { height: 13px; width: 13px; }
.ex-search-row { display: flex; gap: 12px; align-items: flex-end; margin-bottom: 21px; }
.ex-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 13px; margin: 0; background: #081320; border: 1px solid #a9bfdc26; border-radius: 5px; }
.ex-search > .icon { color: #8a9ab0; width: 17px; height: 17px; flex-shrink: 0; }
.ex-search input { min-width: 0; border: 0; background: none; padding: 11px 0; font-size: 11px; min-height: 43px; outline: 0; }
.ex-search input:focus-visible { outline: none; }
.ex-search:focus-within { outline: 1px solid #d8bc8060; }
.ex-search-row > .ex-field { width: 200px; }
.ex-search-row > .ex-field > span { font-size: 8px; }
.ex-search-button { min-height: 44px; font-size: 10px; padding: 11px 18px; }
.ex-filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 18px; }
.ex-field { margin: 0; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ex-field > span, .ex-range legend { color: #a6b3c5; font-size: 9px; letter-spacing: .015em; }
.ex-field select { width: 100%; min-width: 0; font-size: 10px; min-height: 38px; padding: 9px 11px; background: #0a1422; border: 1px solid #a9bfdc20; border-radius: 5px; color: #c7d1dd; }
.ex-field select:disabled { opacity: .48; cursor: default; }
.ex-range { min-width: 0; border: 0; padding: 0; margin: 0; }
.ex-range legend { margin-bottom: 7px; padding: 0; }
.ex-range legend small { font-size: 8px; margin-left: 4px; color: #74859d; }
.ex-range > div { display: flex; align-items: center; gap: 8px; }
.ex-range input { width: 100%; min-width: 0; padding: 9px 10px; min-height: 38px; border: 1px solid #a9bfdc20; background: #0a1422; font-size: 10px; border-radius: 5px; }
.ex-range > div > span { color: #6a7b93; font-size: 10px; }
.ex-range input[aria-invalid="true"] { border-color: #d4939366; }
.ex-filter-help { font-size: 9px; color: #788ba5; margin: 17px 0 0; }
.ex-range-error { font-size: 10px; color: #dda4a4; margin: 9px 0 0; }
.ex-range-error:empty { display: none; }
.ex-alphabet { display: flex; flex-wrap: wrap; gap: 3px; border-top: 1px solid #a9bfdc13; margin-top: 19px; padding: 15px 0; }
.ex-alphabet button { color: #8394ac; background: none; padding: 0; width: 28px; min-height: 29px; border-radius: 3px; font-size: 10px; }
.ex-alphabet button:first-child { width: 36px; margin-right: 5px; }
.ex-alphabet button.active { background: #d8bc8019; color: #e5c990; box-shadow: inset 0 0 0 1px #d8bc8030; }
.ex-alphabet button:hover { color: #ebd5ad; background: #d8bc800b; }
.ex-results-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 26px; }
.ex-results-heading > div { font-size: 11px; color: #b7c2d1; }
.ex-results-heading strong { color: #e5d7bb; font-size: 15px; font-weight: 500; margin-right: 4px; }
.ex-results-heading > div > span { margin-left: 8px; color: #788aa4; font-size: 9px; }
.ex-results-heading .ex-field { display: flex; flex-direction: row; align-items: center; gap: 10px; }
.ex-results-heading .ex-field > span { font-size: 8px; white-space: nowrap; }
.ex-results-heading .ex-field > select { width: 175px; min-height: 32px; padding: 7px 9px; font-size: 9px; }
.ex-table-scroll { position: relative; overflow-x: auto; max-width: 100%; scrollbar-color: #a9905c #07111e; scrollbar-width: thin; }
.ex-table { width: 100%; border-collapse: collapse; min-width: 950px; }
.ex-table th { text-align: left; padding: 13px 20px; color: #7b8da6; text-transform: uppercase; font-size: 8px; font-weight: 500; letter-spacing: .11em; white-space: nowrap; background: #07111e40; border-top: 1px solid #a9bfdc12; border-bottom: 1px solid #a9bfdc12; }
.ex-table td { padding: 15px 20px; border-bottom: 1px solid #a9bfdc10; font-size: 10px; color: #b3c0d1; vertical-align: middle; }
.ex-table tr:last-child td { border-bottom: 0; }
.ex-table tbody tr:hover { background: #d8bc8004; }
.ex-table td > small, .ex-table td > span + small { display: block; font-size: 9px; color: #778ba6; line-height: 1.65; margin-top: 5px; max-width: 160px; }
.ex-record-name { display: flex; gap: 11px; align-items: center; padding: 0; background: none; text-align: left; min-width: 175px; }
.ex-record-name strong { display: block; font-weight: 500; color: #e1e1df; font-size: 11px; line-height: 1.5; }
.ex-record-name small { display: block; color: #7186a2; font-size: 8px; margin-top: 4px; }
.ex-record-name .ex-record-chapter, .ex-guide-card > .ex-record-chapter { color: #b3a384; font-size: 8px; line-height: 1.6; margin-top: 5px; }
.ex-art { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid #a9bfdc18; border-radius: 7px; background: radial-gradient(ellipse at 50% 30%, #28425f66, #07111f44 85%); }
.ex-art .item-art { max-width: 100%; max-height: 100%; }
.ex-art > svg { width: 35px; height: 35px; }
.ex-open { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; background: #d8bc8005; border: 1px solid #d8bc8023; border-radius: 4px; color: #b6a17d; }
.ex-open .icon { width: 13px; height: 13px; }
.ex-open:hover { color: #f1d6a4; border-color: #d8bc8066; }
.ex-badge { display: inline-flex; padding: 4px 7px; font-size: 8px; line-height: 1.3; border: 1px solid #a9bfdc25; border-radius: 4px; color: #9cacc1; vertical-align: middle; white-space: nowrap; }
.ex-badge.gold { border-color: #d6b47b40; color: #e1c28b; background: #d6b47b08; }
.ex-badge.violet { border-color: #b2a0cc38; color: #b6a7cd; background: #b2a0cc09; }
.ex-table-footer { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid #a9bfdc14; padding: 15px 24px; background: #07111d44; color: #6f849f; font-size: 8px; line-height: 1.7; }
.ex-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 4px 24px 25px; }
.ex-guide-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; text-align: left; border: 1px solid #a9bfdc1c; border-radius: 7px; padding: 23px; background: #08142170; }
.ex-guide-card:hover { border-color: #d8bc8060; background: #122033; }
.ex-guide-icon { display: block; margin-bottom: 20px; color: #bda981; }
.ex-guide-icon .icon { width: 23px; height: 23px; }
.ex-guide-card .eyebrow { font-size: 7px; letter-spacing: .13em; margin-bottom: 9px; }
.ex-guide-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 0 0 8px; color: #e1d9c9; line-height: 1.13; }
.ex-guide-card p { font-size: 10px; color: #899cb5; margin: 0 0 5px; }
.ex-guide-card > small { font-size: 8px; color: #7288a4; line-height: 1.8; margin-top: 2px; }
.ex-card-link { display: flex; align-items: center; gap: 8px; font-size: 9px; color: #b8a27b; padding-top: 23px; margin-top: auto; }
.ex-card-link .icon { width: 12px; height: 12px; }
.ex-empty { padding: 44px 24px 50px; text-align: center; }
.ex-empty > .icon { width: 30px; height: 30px; color: #b9a27b; margin-bottom: 16px; }
.ex-empty h3 { font-family: var(--serif); font-size: 28px; color: #d8d4cc; margin-bottom: 10px; }
.ex-empty p { font-size: 11px; color: #879bb6; max-width: 490px; margin: 0 auto 20px; }
.ex-page-footnote { display: flex; gap: 15px; justify-content: space-between; align-items: flex-start; padding-top: 20px; }
.ex-page-footnote p { font-size: 9px; color: #7188a3; margin: 0; max-width: 740px; }
.ex-page-footnote a, .ex-reference { display: inline-flex; align-items: center; gap: 6px; color: #b3a382; font-size: 9px; white-space: nowrap; }
.ex-page-footnote .icon, .ex-reference .icon { height: 11px; width: 11px; }
.ex-detail { color: #b4c0d0; font-size: 12px; line-height: 1.8; }
.ex-detail p { color: #98aac2; margin: 10px 0 17px; }
.ex-detail h3 { font-family: var(--serif); font-size: 25px; font-weight: 500; color: #e2d8c4; margin: 26px 0 13px; }
.ex-detail-chapter { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; margin: 0 0 23px; border: 1px solid #c2a87430; border-radius: 6px; background: #bda16b07; }
.ex-detail-chapter > div { min-width: 0; }
.ex-detail-chapter > div > span { display: block; color: #8fa0b5; font-size: 8px; letter-spacing: .035em; margin-bottom: 5px; }
.ex-detail-chapter strong { display: block; color: #dac497; font-size: 12px; font-weight: 500; line-height: 1.6; }
.ex-detail .ex-detail-chapter p { color: #99abc0; font-size: 9px; line-height: 1.8; max-width: 250px; margin: 0; }
.ex-detail p.ex-related-scope { color: #879ab4; font-size: 9px; line-height: 1.8; margin: 5px 0 13px; }
.ex-detail-hero { display: flex; align-items: center; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid #a9bfdc17; }
.ex-detail-hero > .ex-art { width: 88px; height: 88px; }
.ex-detail-hero > .ex-art > svg { width: 68px; height: 68px; }
.ex-detail-hero p { margin-bottom: 0; }
.ex-detail-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 20px; margin: 26px 0; }
.ex-detail-facts dt { font-size: 9px; color: #7890ad; margin-bottom: 6px; }
.ex-detail-facts dd { font-size: 11px; color: #d0d7e1; margin: 0; line-height: 1.7; overflow-wrap: anywhere; }
.ex-code { margin: 0; padding: 16px; border: 1px solid #a9bfdc18; background: #07111e; color: #a9bad0; border-radius: 6px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 10px; }
.ex-related { margin-top: 24px; }
.ex-related h3 { margin-bottom: 13px; }
.ex-related > button, .ex-detail-list > div { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 15px; padding: 13px 0; border-bottom: 1px solid #a9bfdc16; background: none; color: #c3cbd5; font-size: 11px; text-align: left; }
.ex-related > button .icon { height: 13px; width: 13px; color: #b9a27b; flex-shrink: 0; }
.ex-related > button:hover { color: #ead1a3; }
.ex-detail-list button { padding: 0; background: none; display: inline-flex; align-items: center; gap: 8px; color: #c8b38d; font-size: 11px; text-align: left; }
.ex-detail-list button .icon { width: 12px; height: 12px; }
.ex-detail-list small { color: #859bb6; font-size: 9px; }
.ex-guide-steps { margin: 10px 0 0; padding-left: 22px; color: #a2b3c9; }
.ex-guide-steps li { padding: 7px 0 7px 6px; }
.ex-map-detail { display: flex; align-items: center; gap: 21px; padding: 25px; border: 1px solid #d8bc8025; border-radius: 8px; background: radial-gradient(ellipse at left, #829e9d13, transparent); }
.ex-map-detail > .icon { width: 50px; height: 50px; color: #b7aa89; }
.ex-map-detail h3 { margin: 9px 0 3px; font-size: 32px; }
.ex-map-detail p { margin: 0; }
.ex-detail-notice { display: flex; gap: 12px; padding: 16px; margin: 25px 0 18px; border: 1px solid #d8bc8025; background: #d8bc8005; border-radius: 5px; }
.ex-detail-notice .icon { width: 15px; height: 15px; flex-shrink: 0; color: #b6a17b; margin-top: 3px; }
.ex-detail-notice p { font-size: 9px; color: #8398b3; margin: 0; }
.ex-back { display: inline-flex; padding: 0 0 16px; background: none; color: #bca783; font-size: 10px; }
.ex-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.explore-page button:focus-visible, .ex-detail button:focus-visible, .ex-table-scroll:focus-visible { outline: 2px solid #d8bc80; outline-offset: -2px; }
@media (max-width: 1050px) {
  .ex-chapter-bar { grid-template-columns: minmax(230px, 285px) minmax(0, 1fr); gap: 22px; }
  .ex-rules { padding-left: 18px; }
  .ex-rules strong { font-size: 22px; }
  .ex-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ex-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-tabs { gap: 25px; }
}
@media (max-width: 760px) {
  .ex-chapter-bar { grid-template-columns: minmax(0, 1fr); gap: 15px; padding: 20px; }
  .ex-page-head { align-items: flex-start; }
  .ex-rules { text-align: left; padding: 10px 0 10px 15px; }
  .ex-rules > span { font-size: 7px; }
  .ex-rules strong { font-size: 21px; }
  .ex-rules i { display: block; font-size: 16px; margin: 4px 0 0; }
  .ex-rules small { font-size: 8px; max-width: 140px; line-height: 1.7; }
  .ex-filters { padding: 22px 20px 0; }
  .ex-search-row { flex-wrap: wrap; }
  .ex-search { flex-basis: 100%; }
  .ex-search-row > .ex-field { flex: 1; width: auto; }
  .ex-search-button { min-height: 39px; }
  .ex-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-results-heading { padding: 17px 20px; align-items: flex-start; }
  .ex-results-heading > div > span { display: block; margin: 6px 0 0; }
  .ex-results-heading .ex-field > span { display: none; }
  .ex-results-heading .ex-field > select { width: 153px; }
  .ex-table-footer, .ex-page-footnote { flex-direction: column; gap: 7px; }
  .ex-card-grid { padding: 3px 17px 20px; gap: 14px; }
  .ex-guide-card { padding: 21px; }
  .ex-detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .ex-chapter-bar { padding: 17px 15px; margin-bottom: 23px; }
  .ex-chapter-bar .ex-chapter-field > span { font-size: 8px; }
  .ex-chapter-bar .ex-chapter-field select { font-size: 10px; }
  .ex-chapter-copy p { font-size: 10px; }
  .ex-chapter-copy .ex-chapter-caption { font-size: 9px; }
  .ex-detail-chapter { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .ex-detail .ex-detail-chapter p { max-width: none; }
  .ex-page-head { flex-direction: column; gap: 18px; }
  .ex-page-head h1 { font-size: 43px; }
  .ex-rules { border: 1px solid #d8bc8025; border-radius: 5px; padding: 12px 15px; width: 100%; }
  .ex-rules strong { font-size: 23px; }
  .ex-rules i { display: inline; margin-left: 8px; }
  .ex-rules small { max-width: none; }
  .ex-tabs { gap: 23px; }
  .ex-tabs > button { font-size: 11px; gap: 6px; }
  .ex-tabs > button > span { font-size: 7px; }
  .ex-catalogue-note { padding: 13px; }
  .ex-catalogue-note p { font-size: 9px; }
  .ex-filters { padding: 20px 15px 0; }
  .ex-filter-heading { align-items: flex-start; }
  .ex-filter-heading h2 { font-size: 27px; max-width: 175px; }
  .ex-reset { font-size: 9px; padding-top: 2px; }
  .ex-filter-grid { gap: 14px 11px; }
  .ex-field > span, .ex-range legend { font-size: 8px; }
  .ex-field select, .ex-range input { font-size: 9px; padding-left: 8px; padding-right: 8px; }
  .ex-range legend small { display: none; }
  .ex-range > div { gap: 4px; }
  .ex-alphabet { gap: 3px; }
  .ex-alphabet button { width: 25px; min-height: 31px; }
  .ex-results-heading { padding: 16px 15px; gap: 10px; }
  .ex-results-heading > div { font-size: 10px; }
  .ex-results-heading > div > span { font-size: 8px; max-width: 120px; line-height: 1.6; }
  .ex-results-heading .ex-field > select { width: 139px; font-size: 8px; }
  .ex-card-grid { grid-template-columns: minmax(0, 1fr); }
  .ex-guide-card { padding: 22px; }
  .ex-guide-card h3 { font-size: 28px; }
  .ex-guide-icon { margin-bottom: 15px; }
  .ex-table-footer { padding: 14px 16px; }
  .ex-detail-hero { align-items: flex-start; gap: 14px; }
  .ex-detail-hero > .ex-art { width: 65px; height: 65px; }
  .ex-detail-facts { gap: 20px 14px; }
  .ex-detail-facts dt { font-size: 8px; }
  .ex-detail-facts dd { font-size: 10px; }
}
