/* Судебные процессы: оформление ограничено страницей court-page. */
.court-page {
    --court-blue: #244b66;
    --court-blue-deep: #1d3e57;
    --court-accent: #c7a45d;
    --court-border: #dae5ec;
    --court-ink: #243544;
    --court-muted: #667889;
    min-width: 0;
}

.court-page .court-page__panel {
    padding: clamp(18px, 2.3vw, 30px);
    overflow: hidden;
}

.court-page__breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 25px;
    font-size: 13px;
    line-height: 1.5;
    color: #687f91;
}
.court-page__breadcrumbs a { color: #396b8c; text-decoration: none; }
.court-page__breadcrumbs a:hover,
.court-page__breadcrumbs a:focus-visible { text-decoration: underline; }
.court-page__breadcrumbs .sep { color: #aab9c4; }

.court-page__header {
    position: relative;
    border-left: 3px solid var(--court-accent);
    padding-left: clamp(15px, 2vw, 22px);
    margin-bottom: 26px;
}
.court-page__eyebrow {
    display: block;
    color: #93723a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
    margin-bottom: 9px;
}
.court-page__title {
    font-size: clamp(22px, 2.2vw, 30px);
    color: var(--court-blue-deep);
    line-height: 1.22;
    letter-spacing: -.025em;
    max-width: 880px;
}
.court-page__description {
    color: var(--court-muted);
    font-size: 14px;
    line-height: 1.75;
    margin: 12px 0 0;
    max-width: 800px;
}

.court-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--court-border);
    padding: 19px;
    margin: 0 0 20px;
    background: linear-gradient(110deg, #f4f8fb 0%, #fff 88%);
    border-radius: 12px;
}
.court-toolbar__search { flex: 1 1 510px; min-width: 0; }
.court-toolbar__label {
    display: block;
    color: var(--court-blue-deep);
    font-size: 13px;
    font-weight: 750;
    margin: 0 0 9px;
}
.court-toolbar__field { position: relative; display: flex; align-items: center; }
.court-toolbar__icon {
    position: absolute;
    left: 14px;
    color: #6b8799;
    pointer-events: none;
}
.court-toolbar__field input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border: 1px solid #cbd9e3;
    border-radius: 9px;
    outline: 0;
    padding: 10px 45px 10px 44px;
    color: var(--court-ink);
    background: #fff;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(27, 53, 73, .035);
    transition: border-color .2s, box-shadow .2s;
}
.court-toolbar__field input::placeholder { color: #8495a2; opacity: 1; }
.court-toolbar__field input:focus {
    border-color: #396b8c;
    box-shadow: 0 0 0 3px rgba(57, 107, 140, .13);
}
.court-toolbar__field input::-webkit-search-cancel-button { display: none; }
.court-toolbar__clear {
    display: grid;
    place-items: center;
    position: absolute;
    right: 8px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    color: #667c8c;
    background: #f0f4f7;
    font-size: 23px;
    line-height: 1;
}
.court-toolbar__clear:hover { color: #193e58; background: #e0eaf0; }
.court-toolbar__clear:focus-visible { outline: 2px solid #396b8c; outline-offset: 2px; }
.court-toolbar__clear[hidden] { display: none !important; }
.court-toolbar__hint {
    font-size: 12px;
    color: #7c8d9a;
    margin: 7px 0 0;
}
.court-toolbar__stats {
    flex: 0 0 auto;
    min-width: 105px;
    min-height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 9px;
    background: #e7eff5;
    color: var(--court-blue-deep);
    border: 1px solid #d9e6ee;
}
.court-toolbar__stats-label { font-size: 11px; color: #5e7384; text-align: center; }
.court-toolbar__stats strong { font-size: 26px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }

.court-table-wrap {
    border: 1px solid var(--court-border);
    border-radius: 12px;
    overflow: auto;
    background: #fff;
}
.court-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--court-ink);
    font-size: 13.5px;
    line-height: 1.75;
    background: #fff;
}
.court-table__num-col { width: 76px; }
.court-table__case-col { width: 48%; }
.court-table__result-col { width: auto; }
.court-table thead th {
    padding: 17px 18px;
    background: linear-gradient(145deg, #2b5876, #203f57);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    text-align: left;
    line-height: 1.35;
    letter-spacing: .01em;
    border-bottom: 3px solid #c7a45d;
}
.court-table thead th:first-child { text-align: center; padding-inline: 6px; }
.court-table tbody td {
    vertical-align: top;
    padding: 19px 18px;
    border-bottom: 1px solid #e6edf2;
    overflow-wrap: anywhere;
}
.court-table tbody tr:last-child td { border-bottom: 0; }
.court-table tbody tr:nth-child(even):not(.court-table__empty) { background: #f9fbfd; }
.court-table tbody tr[data-court-row] { transition: background-color .15s ease; }
.court-table tbody tr[data-court-row]:hover { background: #f0f6fa; }
.court-table tbody tr[hidden] { display: none !important; }
.court-table__number { text-align: center; }
.court-table__number-badge {
    display: inline-grid;
    place-items: center;
    min-width: 35px;
    min-height: 35px;
    padding: 5px;
    background: #e7f0f6;
    color: #305d7b;
    border: 1px solid #d6e4ed;
    border-radius: 9px;
    font-weight: 800;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.court-table__case { font-weight: 550; color: #243e52; }
.court-table__result { color: #3e4f5d; }
.court-table__text { overflow-wrap: anywhere; word-break: normal; }
.court-table__empty td { text-align: center; padding: 35px 20px; color: #657b8b; }
.court-table__empty strong { display: block; font-size: 15px; color: #294860; margin-bottom: 7px; }
.court-table__empty span { display: block; font-size: 13px; }
.court-page__footnote { font-size: 12px; color: #7b8c98; margin: 13px 0 0; }
.court-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1140px) {
    .court-table { font-size: 13px; }
    .court-table tbody td { padding: 16px 13px; }
    .court-table thead th { padding: 15px 13px; }
}
@media (max-width: 700px) {
    .court-page .court-page__panel { padding: 17px 13px; }
    .court-page__breadcrumbs { margin-bottom: 20px; }
    .court-toolbar { flex-wrap: wrap; padding: 14px; gap: 10px; }
    .court-toolbar__search { flex-basis: 100%; }
    .court-toolbar__stats { flex-direction: row; gap: 8px; min-height: 40px; min-width: 100%; }
    .court-toolbar__stats strong { font-size: 20px; }
    .court-table-wrap { background: transparent; border: 0; overflow: visible; }
    .court-table, .court-table tbody, .court-table tr, .court-table td { display: block; width: 100%; }
    .court-table colgroup, .court-table thead { display: none; }
    .court-table tbody tr[data-court-row] {
        border: 1px solid #d9e4ec;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 13px;
        background: #fff;
    }
    .court-table tbody tr[data-court-row]:nth-child(even) { background: #fff; }
    .court-table tbody td { border-bottom: 0; padding: 12px 15px; }
    .court-table tbody td.court-table__number {
        display: flex;
        align-items: center;
        gap: 9px;
        text-align: left;
        padding: 10px 14px;
        background: #f0f5f8;
        border-bottom: 1px solid #e0e9ef;
    }
    .court-table tbody td.court-table__number::before {
        content: 'Дело №';
        order: 0;
        font-size: 12px;
        font-weight: 700;
        color: #577184;
    }
    .court-table__number-badge { min-height: 27px; min-width: 27px; font-size: 12px; order: 1; }
    .court-table tbody td.court-table__case { padding-top: 16px; }
    .court-table tbody td.court-table__result { padding-top: 16px; padding-bottom: 18px; border-top: 1px solid #edf1f4; }
    .court-table tbody td.court-table__case::before,
    .court-table tbody td.court-table__result::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        letter-spacing: .06em;
        text-transform: uppercase;
        font-weight: 800;
        color: #57788e;
        margin-bottom: 7px;
    }
    .court-table__empty { border: 1px solid #d9e4ec; border-radius: 12px; background: #fff; }
}
