@charset "UTF-8";
.dictionary-page { margin: 0; color: var(--ink); background: #f5f8fb; font-size: 16px; line-height: 1.5; }
.dictionary-page * { box-sizing: border-box; }
.dictionary-page [hidden] { display: none !important; }
.dictionary-page :is(h1,h2,h3,p,dd,dl) { margin: 0; }
.dictionary-page :is(h1,h2,h3) { text-wrap: balance; }
.dictionary-page p { text-wrap: pretty; }
.dictionary-page button, .dictionary-page input, .dictionary-page select { font: inherit; }
.dictionary-page button, .dictionary-page a { -webkit-tap-highlight-color: transparent; }
.dictionary-page :is(button,a,input,select,summary,[tabindex]):focus-visible { outline: 3px solid #1687c2; outline-offset: 4px; }
.dictionary-page a { color: var(--brand); text-decoration: none; }
.dictionary-page a:hover { text-decoration: underline; }
.dictionary-skip { position: absolute; top: -80px; left: 16px; z-index: 20; padding: 12px 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.dictionary-skip:focus { top: 16px; }
.dictionary-header { max-width: 1440px; margin: 16px auto 0; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.dictionary-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; line-height: 28px; font-weight: 600; }
.dictionary-brand > img { width: 40px; height: 40px; flex: none; }
.dictionary-brand > span > span { display: block; color: var(--muted); font-size: 12px; line-height: 16px; font-weight: 400; }
.dictionary-header nav { display: flex; align-items: center; gap: 16px; font-size: 14px; line-height: 20px; }
.dictionary-header nav a { display: inline-flex; min-height: 48px; align-items: center; padding: 8px 12px; border-radius: 8px; }
.dictionary-header nav a:hover { background: var(--brand-soft); }
.dictionary-main { max-width: 1440px; margin: 0 auto; padding: 40px 0 24px; }
.dictionary-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.dictionary-eyebrow { margin-bottom: 8px !important; color: var(--brand); font-size: 14px; line-height: 20px; font-weight: 600; }
.dictionary-heading h1 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -.02em; }
.dictionary-intro { margin-top: 16px !important; color: var(--muted); }
.dictionary-date { flex: none; color: var(--muted); font-size: 14px; line-height: 20px; }
.dictionary-counts { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 24px !important; }
.dictionary-counts > div { display: flex; align-items: baseline; gap: 12px; }
.dictionary-counts dt { color: var(--muted); font-size: 14px; line-height: 20px; }
.dictionary-counts dd { font-size: 24px; line-height: 32px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dictionary-filters { margin-top: 32px; display: grid; grid-template-columns: minmax(280px,1fr) 176px 192px auto; align-items: end; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.dictionary-filters > div { min-width: 0; }
.dictionary-filters label, .dictionary-field-search label { display: block; color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: 8px; }
.dictionary-filters :is(input,select), .dictionary-field-search input { display: block; width: 100%; min-height: 48px; margin: 0; padding: 12px; border: 1px solid #bbcddd; border-radius: 8px; color: var(--ink); background: #fff; line-height: 24px; }
.dictionary-filters input::placeholder, .dictionary-field-search input::placeholder { color: #64788b; }
.dictionary-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid #bacddd; border-radius: 8px; color: var(--brand); background: #fff; font-size: 14px !important; line-height: 20px; font-weight: 600; cursor: pointer; transition: color 300ms cubic-bezier(.22,1,.36,1), background-color 300ms cubic-bezier(.22,1,.36,1), opacity 300ms cubic-bezier(.22,1,.36,1); }
.dictionary-button:hover:not(:disabled) { background: var(--brand-soft); border-color: #83afcd; }
.dictionary-button:active:not(:disabled) { transform: translateY(1px); }
.dictionary-button:disabled { color: #758899; background: #f5f7f9; cursor: default; opacity: .7; }
.dictionary-clear { white-space: nowrap; }
.dictionary-workspace { display: grid; grid-template-columns: minmax(280px,336px) minmax(0,1fr); align-items: start; gap: 24px; margin-top: 24px; }
.dictionary-results-panel, .dictionary-detail { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.dictionary-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 24px 16px; }
.dictionary-results-heading h2 { font-size: 18px; line-height: 28px; font-weight: 600; }
.dictionary-results-heading > span { color: var(--muted); font-size: 12px; line-height: 16px; }
.dictionary-results { padding: 0 12px 12px; max-height: 760px; overflow-y: auto; overscroll-behavior: contain; }
.dictionary-result { width: 100%; display: block; text-align: left; padding: 16px 12px; margin: 0 0 8px; color: var(--ink); background: #fff; border: 1px solid transparent; border-radius: 8px; cursor: pointer; transition: background-color 300ms cubic-bezier(.22,1,.36,1); }
.dictionary-result:hover { background: #f3f7fb; }
.dictionary-result:active { transform: translateY(1px); }
.dictionary-result[aria-pressed="true"] { border-color: #8ab9d7; background: var(--brand-soft); }
.dictionary-result-title { display: block; font-size: 16px; line-height: 24px; font-weight: 600; overflow-wrap: anywhere; }
.dictionary-result-name { display: block; margin-top: 4px; color: #42627c; font-size: 12px; line-height: 20px; overflow-wrap: anywhere; }
.dictionary-result-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 16px; }
.dictionary-result-match { display: block; margin-top: 8px; color: #48667e; font-size: 12px; line-height: 20px; overflow-wrap: anywhere; }
.dictionary-tag { display: inline-block; padding: 4px 8px; border: 1px solid #d2e1eb; border-radius: 4px; background: #f6f9fc; color: #3d627e; font-size: 12px; line-height: 16px; }
.dictionary-pagination { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px; border-radius: 0 0 16px 16px; background: #f7f9fc; }
.dictionary-pagination > span { color: var(--muted); font-size: 12px; line-height: 16px; font-variant-numeric: tabular-nums; }
.dictionary-pagination button { min-height: 40px; }
.dictionary-detail { padding: 32px; scroll-margin-top: 24px; }
.dictionary-detail-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.dictionary-detail-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dictionary-back-results { display: none; }
.dictionary-detail h2 { margin-top: 16px; font-size: 24px; line-height: 32px; font-weight: 600; overflow-wrap: anywhere; }
.dictionary-name-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.dictionary-name-row code { color: #325c7b; font-family: inherit; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.dictionary-detail-description { margin-top: 16px !important; color: #405b71; white-space: pre-wrap; overflow-wrap: anywhere; }
.dictionary-detail-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 24px; margin-top: 24px !important; }
.dictionary-detail-facts dt { color: var(--muted); font-size: 12px; line-height: 16px; margin-bottom: 4px; }
.dictionary-detail-facts dd { font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.dictionary-fields-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 32px; }
.dictionary-fields-heading h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.dictionary-fields-heading p { color: var(--muted); font-size: 12px; line-height: 16px; }
.dictionary-field-search { margin-top: 16px; }
.dictionary-field-search input { min-height: 40px; padding: 8px 12px; font-size: 14px; line-height: 20px; }
.dictionary-table-scroll { margin-top: 16px; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.dictionary-fields-table { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 20px; }
.dictionary-fields-table th { padding: 12px; text-align: left; background: #f0f5fa; color: #284e6a; font-weight: 600; }
.dictionary-fields-table th:nth-child(1) { width: 26%; }
.dictionary-fields-table th:nth-child(2) { width: 45%; }
.dictionary-fields-table th:nth-child(3) { width: 16%; }
.dictionary-fields-table th:nth-child(4) { width: 13%; }
.dictionary-fields-table td { padding: 16px 12px; vertical-align: top; border-top: 1px solid var(--line); overflow-wrap: anywhere; white-space: pre-wrap; }
.dictionary-fields-table td strong { font-size: 14px; line-height: 20px; font-weight: 600; }
.dictionary-field-code { display: block; margin-top: 4px; color: #42627c; font: inherit; font-size: 12px; line-height: 20px; overflow-wrap: anywhere; }
.dictionary-field-copy { min-height: 32px; margin-top: 8px; padding: 4px 8px; font-size: 12px !important; line-height: 16px; }
.dictionary-field-info { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 20px; white-space: normal; }
.dictionary-field-info summary { display: inline-block; padding: 4px 0; cursor: pointer; color: var(--brand); }
.dictionary-field-info p { margin-top: 8px; overflow-wrap: anywhere; }
.dictionary-unit { margin-top: 8px !important; color: var(--muted); }
.dictionary-usage { margin-top: 24px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfe; }
.dictionary-usage > summary { cursor: pointer; color: var(--ink); font-size: 16px; line-height: 24px; font-weight: 600; }
.dictionary-usage-content { margin-top: 16px; color: #405b71; font-size: 14px; line-height: 24px; }
.dictionary-usage-content p { white-space: pre-wrap; overflow-wrap: anywhere; }
.dictionary-usage-content ul { padding-left: 24px; margin: 16px 0 0; }
.dictionary-usage-content li + li { margin-top: 12px; }
.dictionary-example { margin-top: 24px; }
.dictionary-example-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dictionary-example-title h3 { font-size: 14px; line-height: 20px; font-weight: 600; }
.dictionary-example pre { max-width: 100%; overflow-x: auto; padding: 16px; margin: 12px 0 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #284e6a; font-family: inherit; font-size: 12px; line-height: 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
.dictionary-empty, .dictionary-error { padding: 32px 16px; color: var(--muted); }
.dictionary-empty h2, .dictionary-empty h3, .dictionary-error h2 { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--ink); margin: 0 0 12px; }
.dictionary-empty p, .dictionary-error p { font-size: 14px; line-height: 24px; }
.dictionary-error .dictionary-button { margin-top: 16px; }
.dictionary-error { border: 1px solid #e7c7bc; border-radius: 8px; background: #fff8f4; }
.dictionary-skeleton { min-height: 112px; margin: 0 0 8px; border: 1px solid #edf1f6; border-radius: 8px; background: #f0f4f8; animation: dictionary-pulse 1.5s cubic-bezier(.22,1,.36,1) infinite alternate; }
.dictionary-detail .dictionary-skeleton { min-height: 160px; margin-top: 16px; }
.dictionary-feedback { min-height: 24px; margin-top: 16px !important; color: var(--brand); font-size: 14px; line-height: 24px; }
.dictionary-copy-fallback { position: fixed; width: 1px; height: 1px; opacity: 0; inset: 0 auto auto 0; padding: 0; border: 0; }
.dictionary-noscript { margin: 16px 0; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.dictionary-footer { max-width: 1440px; display: flex; justify-content: space-between; gap: 24px; margin: 0 auto; padding: 16px 0 32px; font-size: 12px; line-height: 20px; }
.dictionary-footer a { color: var(--muted); }
@keyframes dictionary-pulse { from { opacity: .45; } to { opacity: 1; } }
@media (max-width: 1500px) { .dictionary-header { margin-inline: 24px; }.dictionary-main,.dictionary-footer { margin-inline: 24px; } }
@media (max-width: 1100px) {
  .dictionary-filters { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; }
  .dictionary-search-control { grid-column: 1 / -1; }
  .dictionary-workspace { grid-template-columns: minmax(240px,280px) minmax(0,1fr); gap: 16px; }
  .dictionary-detail { padding: 24px; }
}
@media (max-width: 760px) {
  .dictionary-header { margin: 12px 16px 0; padding: 12px 16px; gap: 16px; }
  .dictionary-header nav { gap: 0; }
  .dictionary-header nav a:last-child { display: none; }
  .dictionary-header nav a { padding: 8px; }
  .dictionary-brand { font-size: 16px; line-height: 24px; }
  .dictionary-brand > img { width: 32px; height: 32px; }
  .dictionary-brand > span > span { font-size: 12px; line-height: 16px; }
  .dictionary-main { margin-inline: 16px; padding-top: 32px; }
  .dictionary-heading { display: block; }
  .dictionary-heading h1 { font-size: 30px; line-height: 36px; }
  .dictionary-date { margin-top: 12px !important; }
  .dictionary-counts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 24px; }
  .dictionary-counts > div { justify-content: space-between; }
  .dictionary-filters { padding: 16px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; margin-top: 24px; }
  .dictionary-clear { grid-column: 1 / -1; }
  .dictionary-workspace { grid-template-columns: minmax(0,1fr); }
  .dictionary-results { max-height: 440px; }
  .dictionary-results-heading { padding: 16px; }
  .dictionary-detail { padding: 24px 16px; }
  .dictionary-back-results { display: inline-flex; }
  .dictionary-detail h2 { font-size: 24px; line-height: 32px; }
  .dictionary-detail-facts { grid-template-columns: minmax(0,1fr); }
  .dictionary-footer { margin-inline: 16px; flex-wrap: wrap; gap: 12px; }
  .dictionary-field-copy { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .dictionary-page *, .dictionary-page *::before, .dictionary-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 400px) { .dictionary-header { flex-wrap: wrap; gap: 8px; }.dictionary-header nav { margin-left: auto; } }
