.lbj {
    --lbj-ink: #14253b;
    --lbj-muted: #526174;
    --lbj-border: #dce3e9;
    --lbj-gold: #c5a564;
    --lbj-paper: #f5f7fa;
    box-sizing: border-box;
    max-width: 1080px;
    margin: 24px auto;
    color: var(--lbj-ink);
    font: 400 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: left;
    background: #fff;
    border: 1px solid var(--lbj-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px #14253b0b;
}
.lbj *, .lbj *::before, .lbj *::after { box-sizing: border-box; }
.lbj [hidden] { display: none !important; }
.lbj button, .lbj input, .lbj select { font: inherit; letter-spacing: normal; }
.lbj button, .lbj summary, .lbj a { -webkit-tap-highlight-color: transparent; }
.lbj a { color: #234f7e; text-decoration: underline; text-underline-offset: 3px; }
.lbj a:hover { color: #14253b; }
.lbj :focus-visible { outline: 3px solid #b88a2e; outline-offset: 3px; }
.lbj__header { padding: 34px 36px 28px; background: var(--lbj-ink); color: #fff; border-top: 5px solid var(--lbj-gold); }
.lbj .lbj__eyebrow { margin: 0 0 10px; color: #e4cc97; font-size: 12px; font-weight: 700; letter-spacing: .15em; }
.lbj .lbj__title { margin: 0 0 12px; color: #fff; font: 600 clamp(26px, 3vw, 36px)/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.02em; }
.lbj .lbj__intro { max-width: 760px; margin: 0; color: #e2e9f1; font-size: 17px; }
.lbj .lbj__journey { margin: 20px 0 0; color: #d5dfeb; font-size: 13px; }
.lbj__journey span { color: #e4cc97; padding: 0 7px; }
.lbj__directory { padding: 28px 30px; }
.lbj__views { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.lbj__views button { min-height: 44px; border: 1px solid var(--lbj-border); border-radius: 7px; padding: 9px 13px; background: #fff; color: var(--lbj-ink); cursor: pointer; font-size: 13px; font-weight: 600; line-height: 1.4; }
.lbj__views button:hover { background: #edf1f6; }
.lbj__views button[aria-pressed="true"] { background: var(--lbj-ink); color: #fff; border-color: var(--lbj-ink); box-shadow: inset 0 -3px 0 var(--lbj-gold); }
.lbj .lbj__filter-label, .lbj .lbj__field-label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 650; color: var(--lbj-ink); }
.lbj .lbj__input, .lbj .lbj__select, .lbj .lbj__filter-input { width: 100%; min-width: 0; max-width: 100%; min-height: 46px; margin: 0; padding: 11px 12px; border: 1px solid #b7c4d2; border-radius: 6px; background: #fff; color: var(--lbj-ink); box-shadow: none; font-size: 15px; line-height: 1.4; }
.lbj .lbj__select { padding-right: 26px; text-overflow: ellipsis; }
.lbj .lbj__count { margin: 9px 0 20px; font-size: 13px; color: var(--lbj-muted); }
.lbj__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.lbj__card { min-width: 0; padding: 22px; border: 1px solid var(--lbj-border); border-radius: 10px; background: #fff; }
.lbj__badge { display: inline-block; padding: 3px 8px; border-radius: 4px; background: #eef3f9; color: #355272; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lbj__badge--official { background: #eaf3ee; color: #2c6047; }
.lbj__badge--news { background: #f5edf6; color: #73547a; }
.lbj__badge--subscription { background: #f6f0e3; color: #74581f; }
.lbj .lbj__card h3 { margin: 12px 0 8px; color: var(--lbj-ink); font: 650 19px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -.02em; }
.lbj .lbj__description { margin: 0 0 15px; color: var(--lbj-muted); font-size: 14px; line-height: 1.65; }
.lbj__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.lbj .lbj__source-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; max-width: 100%; padding: 6px 0; font-size: 13px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.lbj__tips { margin-top: 13px; padding-top: 12px; border-top: 1px solid #e7ecf1; font-size: 12px; color: var(--lbj-muted); }
.lbj__tips summary { width: fit-content; padding: 6px 0; color: #3e5169; cursor: pointer; font-size: 12px; }
.lbj__tips p { margin: 10px 0 0; }
.lbj .lbj__court-hint { margin: 9px 0 12px; font-size: 12px; color: var(--lbj-muted); }
.lbj__external-query { margin: 12px 0; }
.lbj .lbj__button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--lbj-ink); border-radius: 6px; margin: 0; padding: 11px 17px; background: var(--lbj-ink); color: #fff; cursor: pointer; font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; }
.lbj .lbj__button:hover { background: #29415f; }
.lbj .lbj__button:disabled { cursor: default; opacity: .5; }
.lbj .lbj__button--small { margin-top: 9px; padding: 9px 13px; font-size: 13px; }
.lbj .lbj__button--quiet { background: #fff; color: var(--lbj-ink); border-color: #b7c4d2; }
.lbj .lbj__empty { background: var(--lbj-paper); border-radius: 7px; padding: 20px; font-size: 14px; }
.lbj .lbj__external-note { margin: 24px 0 0; padding: 16px 18px; background: var(--lbj-paper); border-radius: 7px; font-size: 12px; color: var(--lbj-muted); }
.lbj__footer { padding: 18px 30px; border-top: 1px solid var(--lbj-border); color: var(--lbj-muted); font-size: 11px; background: #fafbfd; }
.lbj__native { padding: 19px 30px; border-bottom: 1px solid var(--lbj-border); background: #fbfcfd; }
.lbj__native > summary { cursor: pointer; color: var(--lbj-ink); font-size: 16px; font-weight: 650; padding: 5px 0; }
.lbj__native-body { padding-top: 6px; }
.lbj__native-body > p { margin: 8px 0 18px; font-size: 14px; color: var(--lbj-muted); }
.lbj__api-controls { display: flex; gap: 12px; align-items: end; margin-top: 14px; }
.lbj__api-controls > div { flex: 1; min-width: 0; }
.lbj .lbj__api-status { margin: 13px 0; min-height: 0; font-size: 13px; }
.lbj .lbj__api-status:empty { display: none; }
.lbj__attribution { display: block; width: fit-content; max-width: none; margin: 16px 0; }
/* Provider terms require the original logo dimensions; do not resize these images. */
.lbj img.lbj__ik-logo { width: auto !important; height: auto !important; max-width: none !important; max-height: none !important; display: block; object-fit: initial; }
.lbj img.lbj__ik-logo--mobile { display: none; }
.lbj .lbj__api-summary { margin: 16px 0; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.lbj__result { padding: 18px 0; border-top: 1px solid var(--lbj-border); }
.lbj__result h4 { margin: 0 0 5px; font: 650 17px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--lbj-ink); overflow-wrap: anywhere; }
.lbj .lbj__result-source { font-size: 12px; color: #526c86; margin: 0 0 8px; }
.lbj .lbj__result-snippet { font-size: 14px; color: var(--lbj-muted); margin: 0 0 8px; overflow-wrap: anywhere; }
.lbj__pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 15px 0; }
.lbj__pagination span { font-size: 13px; color: var(--lbj-muted); }
.lbj .lbj__api-note { color: var(--lbj-muted); font-size: 12px; }
@media (max-width: 680px) {
    .lbj { margin: 16px auto; border-radius: 10px; }
    .lbj__header { padding: 26px 21px 23px; }
    .lbj .lbj__intro { font-size: 15px; }
    .lbj .lbj__journey { font-size: 12px; line-height: 1.9; }
    .lbj__journey span { padding: 0 3px; }
    .lbj__directory { padding: 22px 18px; }
    .lbj__views { gap: 6px; margin-bottom: 19px; }
    .lbj__views button { padding: 9px 10px; font-size: 12px; }
    .lbj__grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
    .lbj__card { padding: 19px; }
    .lbj__footer { padding: 17px 19px; }
    .lbj__native { padding: 17px 19px; }
    .lbj__api-controls { flex-direction: column; align-items: stretch; }
    .lbj .lbj__input, .lbj .lbj__select, .lbj .lbj__filter-input { font-size: 16px; }
}
@media (max-width: 520px) {
    .lbj img.lbj__ik-logo--desktop { display: none; }
    .lbj img.lbj__ik-logo--mobile { display: block; }
}
@media (prefers-reduced-motion: reduce) { .lbj * { scroll-behavior: auto !important; } }
