.ljp-portal {
    --ljp-accent: #155661;
    --ljp-ink: #182e36;
    --ljp-muted: #3e5862;
    --ljp-line: #cbd8dc;
    --ljp-light: #f2f7f8;
    color: var(--ljp-ink);
    background: #fff;
    padding: clamp(.65rem, 2vw, 1.5rem);
    border-radius: .8rem;
    margin: 1rem 0 2rem;
    overflow-wrap: anywhere;
}
.ljp-portal *,
.ljp-portal *::before,
.ljp-portal *::after { box-sizing: border-box; }
.ljp-portal h2,
.ljp-portal h3 { color: var(--ljp-ink); margin: 0 0 .4rem; }
.ljp-portal h2 { font-size: 1.45rem; }
.ljp-portal h3 { font-size: 1.25rem; }
.ljp-portal p { margin: 0 0 .75rem; }
.ljp-portal a { color: var(--ljp-accent); text-decoration: underline; text-underline-offset: .17em; }
.ljp-portal :focus-visible { outline: 3px solid #216b9b; outline-offset: 3px; }
.ljp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    border-bottom: 1px solid var(--ljp-line);
    margin: 1.15rem 0;
    padding-bottom: .6rem;
}
.ljp-tabs a {
    display: inline-block;
    border-radius: .45rem;
    padding: .55rem .8rem;
    font-weight: 650;
}
.ljp-tabs a[aria-current="page"],
.ljp-filter button { color: #fff; background: var(--ljp-accent); }
.ljp-filter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    gap: .8rem;
    border: 1px solid var(--ljp-line);
    border-radius: .65rem;
    background: var(--ljp-light);
    padding: 1rem;
    margin: 0 0 1.4rem;
}
.ljp-filter .ljp-search,
.ljp-filter-actions { grid-column: 1 / -1; }
.ljp-filter label { color: var(--ljp-ink); font-weight: 650; display: block; }
.ljp-filter input,
.ljp-filter select {
    display: block;
    font: inherit;
    font-weight: 400;
    color: var(--ljp-ink);
    border: 1px solid #879ba3;
    border-radius: .4rem;
    background: #fff;
    width: 100%;
    min-height: 2.55rem;
    padding: .4rem .65rem;
    margin: .25rem 0 0;
}
.ljp-filter-actions,
.ljp-card-actions,
.ljp-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem 1.1rem;
}
.ljp-filter button {
    font: inherit;
    font-weight: 650;
    border: 1px solid var(--ljp-accent);
    border-radius: .4rem;
    min-height: 2.55rem;
    padding: .4rem 1.1rem;
    cursor: pointer;
}
.ljp-results { display: grid; gap: .85rem; }
.ljp-card,
.ljp-empty {
    border: 1px solid var(--ljp-line);
    border-radius: .65rem;
    padding: clamp(.85rem, 2vw, 1.25rem);
    background: #fff;
}
.ljp-card-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .4rem;
    margin-bottom: .4rem;
    color: var(--ljp-muted);
    font-weight: 650;
}
.ljp-status {
    display: inline-block;
    background: #e9f3f1;
    color: #1d5046;
    padding: .15rem .6rem;
    border-radius: .3rem;
    font-size: .86em;
}
.ljp-cnpj,
.ljp-count { color: var(--ljp-muted); }
.ljp-cnpj { margin-inline-start: .35rem; }
.ljp-properties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
    gap: .4rem .9rem;
    margin: .65rem 0;
}
.ljp-properties dt { font-weight: 650; }
.ljp-properties dd { margin: 0; white-space: pre-line; }
.ljp-detail {
    margin-top: 1rem;
    padding-top: .65rem;
    border-top: 1px solid var(--ljp-line);
}
.ljp-detail summary { color: var(--ljp-accent); font-weight: 650; cursor: pointer; }
.ljp-detail[open] summary { margin-bottom: .75rem; }
.ljp-files { padding-inline-start: 1.45rem; }
.ljp-multiline { white-space: pre-line; }
.ljp-pagination { margin: 1rem 0 0; }
.ljp-portal [id] { scroll-margin-top: 2rem; }
