.monitoring-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    color: #243044;
    font-family: Roboto, sans-serif;
    line-height: 1.5;
}

.monitoring-section a {
    color: #e85220;
    font-weight: 600;
}

.monitoring-section h2 {
    margin: 0 0 8px;
    color: #16324f;
}

.monitoring-queue,
.monitoring-queue__counts {
    width: 100%;
    margin: 12px 0;
}

.monitoring-queue {
    border-collapse: collapse;
}

.monitoring-queue th,
.monitoring-queue td {
    padding: 8px 10px;
    border-bottom: 1px solid #e4ebf0;
    text-align: left;
    font-size: 13px;
}

.monitoring-queue__assign select,
.monitoring-queue__assign input {
    display: block;
    width: 190px;
    max-width: 100%;
    margin: 6px 0 4px;
    font-size: 12px;
}

.monitoring-queue__assign button {
    font-size: 12px;
}

.monitoring-queue__counts span {
    display: inline-block;
    margin-right: 16px;
    font-weight: 700;
    color: #16324f;
}

.manual-sources {
    padding: 8px 8px 32px;
    color: #1d2b36;
    font-family: Roboto, sans-serif;
}

.manual-sources__intro h1 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700;
    color: #16324f;
}

.manual-sources__intro p {
    margin: 0;
    color: #5d6b76;
}

.manual-sources__eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e85220;
}

.manual-sources__card {
    margin-top: 18px;
    background: #ffffff;
    border: 1px solid #e4e8ec;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(22, 50, 79, 0.05);
    overflow: hidden;
}

.manual-sources__case {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #eef1f4;
}

.manual-sources__case h2 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #16324f;
}

.manual-sources__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0;
    color: #5d6b76;
    font-size: 13px;
}

.manual-sources__case-side {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.manual-sources__analyst {
    display: flex;
    align-items: center;
    gap: 8px;
}

.manual-sources__analyst strong,
.manual-sources__analyst small {
    display: block;
}

.manual-sources__analyst strong {
    font-size: 13px;
}

.manual-sources__analyst small {
    color: #6b7782;
}

.manual-sources__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #16324f;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.manual-sources__back {
    color: #16324f;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.manual-sources__table-wrap {
    overflow-x: auto;
}

.manual-sources__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.manual-sources__table th {
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #6b7782;
    padding: 12px 14px;
    background: #f7f8fa;
    border-bottom: 1px solid #eef1f4;
}

.manual-sources__table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f2f5;
    vertical-align: middle;
    font-size: 13px;
}

.manual-sources__table tbody tr.is-pending {
    background: #fff8ea;
}

.manual-sources__table td strong,
.manual-sources__detail {
    display: block;
}

.manual-sources__detail {
    color: #6b7782;
    font-size: 12px;
    margin-top: 2px;
    font-weight: 400;
}

.manual-sources__status .material-icons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: inherit;
}

.manual-sources__result {
    border: 1px solid #d7dee6;
    border-radius: 999px;
    background: #ffffff;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    max-width: 190px;
}

.manual-sources__result.is-sin_hallazgo {
    color: #1f8f4e;
    border-color: #b7e4c7;
    background: #f1fbf5;
}

.manual-sources__result.is-con_hallazgo {
    color: #b42318;
    border-color: #f5c2c0;
    background: #fff4f2;
}

.manual-sources__result.is-no_disponible {
    color: #9a6700;
    border-color: #f3d48a;
    background: #fff8ea;
}

.manual-sources__edit,
.manual-sources__paste,
.manual-sources__ghost,
.manual-sources__send {
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.manual-sources__edit {
    background: #2d3b40;
    color: #ffffff;
    border: 0;
    padding: 7px 14px;
}

.manual-sources__paste,
.manual-sources__ghost {
    background: #ffffff;
    color: #16324f;
    border: 1px solid #d5dde5;
    padding: 7px 12px;
}

.manual-sources__paste + small,
.manual-sources td small {
    display: block;
    margin-top: 6px;
    color: #1f8f4e;
    font-weight: 600;
}

.manual-sources__status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.manual-sources__status i {
    font-size: 16px;
}

.manual-sources__status.is-complete {
    color: #1f8f4e;
}

.manual-sources__status.is-pending {
    color: #b54708;
}

.manual-sources__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    flex-wrap: wrap;
}

.manual-sources__progress {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
}

.manual-sources__progress strong {
    font-size: 13px;
    color: #16324f;
    white-space: nowrap;
}

.manual-sources__bar {
    width: 140px;
    height: 8px;
    border-radius: 999px;
    background: #e7edf2;
    overflow: hidden;
}

.manual-sources__bar span {
    display: block;
    height: 100%;
    background: #1f8f4e;
}

.manual-sources__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.manual-sources__send {
    background: #e85220;
    color: #ffffff;
    border: 0;
    padding: 8px 14px;
}

.manual-sources__send:disabled {
    background: #f3d2c6;
    color: #8d5b4c;
    cursor: not-allowed;
}

.manual-sources__hint {
    margin: 0;
    padding: 0 20px 16px;
    text-align: right;
    color: #8a5a12;
    font-size: 12px;
}

.manual-sources__hint.is-sent {
    color: #1f8f4e;
}

.manual-sources__overlay {
    position: fixed;
    inset: 0;
    background: rgba(22, 50, 79, 0.45);
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.manual-sources__dialog {
    width: min(520px, 100%);
    background: #ffffff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 20px 50px rgba(22, 50, 79, 0.2);
}

.manual-sources__dialog--wide {
    width: min(680px, 100%);
}

.manual-sources__dialog header p {
    margin: 0;
    color: #e85220;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.manual-sources__dialog header h3 {
    margin: 4px 0;
    color: #16324f;
}

.manual-sources__dialog header span {
    display: block;
    color: #5d6b76;
    font-size: 13px;
    margin-bottom: 14px;
}

.manual-sources__dialog label {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #16324f;
}

.manual-sources__dialog select,
.manual-sources__dialog textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    border: 1px solid #d5dde5;
    border-radius: 8px;
    padding: 8px 10px;
    font-weight: 400;
    font-family: inherit;
}

.manual-sources__dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

.manual-sources__paste-count {
    margin: 0 0 8px;
    color: #1f8f4e;
    font-weight: 700;
    font-size: 13px;
}

.manual-sources__preview {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    max-height: 360px;
    overflow: auto;
}

.manual-sources__preview li {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1.4fr;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #eef1f4;
    font-size: 13px;
}

.manual-sources__preview em {
    color: #5d6b76;
    font-style: normal;
}

@media (max-width: 900px) {
    .manual-sources__case,
    .manual-sources__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .manual-sources__hint {
        text-align: left;
    }

    .manual-sources__preview li {
        grid-template-columns: 1fr;
    }
}

.judicial__card .manual-sources__case {
    align-items: flex-start;
}

.judicial__layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
}

.judicial__side {
    border-right: 1px solid #eef1f4;
    background: #f8fafb;
}

.judicial__main {
    min-width: 0;
}

.judicial__block {
    padding: 16px 18px 8px;
}

.judicial__block h3 {
    margin: 0 0 10px;
    font-size: 14px;
    color: #16324f;
}

.judicial__block h3 span,
.judicial__section-head span,
.judicial__file-name span {
    color: #6b7782;
    font-weight: 500;
    font-size: 12px;
}

.judicial__section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.judicial__side input.judicial__file {
    display: none;
}

.judicial__file-name,
.judicial__empty,
.judicial__notice {
    margin: 0 0 10px;
    color: #5d6b76;
    font-size: 13px;
}

.judicial__file-name {
    color: #16324f;
    font-weight: 700;
}

.judicial__file-name span {
    display: block;
    margin-top: 2px;
}

.judicial__notice {
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff8ea;
    color: #8a5a12;
}

.judicial__side label,
.judicial__result label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #16324f;
}

.judicial__side select,
.judicial__side input,
.judicial__result textarea {
    display: block;
    width: 100%;
    margin-top: 4px;
    border: 1px solid #d5dde5;
    border-radius: 8px;
    padding: 7px 8px;
    font-weight: 400;
    font-family: inherit;
    background: #ffffff;
}

.judicial__dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.judicial__link {
    border: 0;
    background: transparent;
    color: #e85220;
    font-weight: 700;
    padding: 0 0 12px;
    cursor: pointer;
}

.judicial__table {
    min-width: 760px;
}

.judicial__table tr.is-included {
    background: #f3fbf6;
}

.judicial__relation {
    display: inline-block;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 700;
    background: #eef1f4;
    color: #5d6b76;
}

.judicial__relation.is-nombre {
    background: #e8f1fb;
    color: #1d4e89;
}

.judicial__relation.is-id {
    background: #e7f6ee;
    color: #1f8f4e;
}

.judicial__result {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    border-top: 1px solid #eef1f4;
}

.judicial__result p {
    margin: 0 0 8px;
    color: #5d6b76;
    font-size: 13px;
}

.judicial__choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.judicial__choices button {
    border: 1px solid #d5dde5;
    background: #ffffff;
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 700;
    color: #16324f;
    cursor: pointer;
}

.judicial__choices button.is-selected {
    background: #16324f;
    color: #ffffff;
    border-color: #16324f;
}

.judicial__summary {
    padding: 12px 18px 16px;
    border-top: 1px solid #eef1f4;
    color: #5d6b76;
    font-size: 13px;
}

.judicial__raw {
    margin: 10px 0 0;
    padding-left: 18px;
    color: #5d6b76;
    font-size: 12px;
    max-height: 140px;
    overflow: auto;
}

@media (max-width: 1100px) {
    .judicial__layout,
    .judicial__result {
        grid-template-columns: 1fr;
        display: block;
    }

    .judicial__side {
        border-right: 0;
        border-bottom: 1px solid #eef1f4;
    }
}
