:root {
    color-scheme: light;
    --sicor-navy: #0b1f33;
    --sicor-navy-2: #102a43;
    --sicor-graphite: #1f2933;
    --sicor-border: #d8dee8;
    --sicor-muted: #64748b;
    --sicor-soft: #f3f6fa;
    --sicor-gold: #b89145;
    --sicor-green: #1f7a4d;
    --sicor-amber: #b7791f;
    --sicor-red: #b42318;
    --sicor-blue: #1d4f7a;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 14px;
}

body {
    font-size: 0.875rem;
}

a {
    color: inherit;
    text-decoration: none;
}

.sicor-body {
    background:
        linear-gradient(180deg, rgba(11, 31, 51, 0.04), rgba(11, 31, 51, 0) 240px),
        #f3f6fa;
}

.sicor-sidebar {
    background: var(--sicor-navy);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    bottom: 0;
    color: #dbe7f3;
    display: flex;
    flex-direction: column;
    left: 0;
    position: fixed;
    top: 0;
    width: 18.5rem;
    z-index: 30;
}

.sicor-brand {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.8rem;
    min-height: 5.6rem;
    padding: 1rem 1.2rem;
}

.sicor-brand-logo {
    align-items: center;
    background: #ffffff;
    border-radius: 0.75rem;
    display: inline-flex;
    height: 3.3rem;
    justify-content: center;
    padding: 0.35rem;
    width: 3.3rem;
}

.sicor-brand-logo img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.sicor-brand-title {
    color: #ffffff;
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
}

.sicor-brand-subtitle {
    color: #b8c7d8;
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
    margin-top: 0.35rem;
}

.sicor-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0.85rem;
}

.sicor-nav-group {
    margin-bottom: 1.25rem;
}

.sicor-nav-group-title {
    color: #8fa4ba;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 0.45rem;
    padding: 0 0.7rem;
    text-transform: uppercase;
}

.sicor-nav-link {
    align-items: center;
    border-left: 3px solid transparent;
    border-radius: 0.5rem;
    color: #d5e0ec;
    display: flex;
    font-size: 0.84rem;
    font-weight: 700;
    gap: 0.65rem;
    margin-bottom: 0.2rem;
    padding: 0.68rem 0.72rem;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sicor-nav-link:hover {
    background: rgba(255, 255, 255, 0.075);
    color: #ffffff;
}

.sicor-nav-link.is-active {
    background: rgba(184, 145, 69, 0.15);
    border-color: var(--sicor-gold);
    color: #ffffff;
}

.sicor-nav-icon {
    height: 1rem;
    width: 1rem;
}

.sicor-sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8fa4ba;
    font-size: 0.75rem;
    padding: 1rem 1.2rem;
}

.sicor-sidebar-footer strong {
    color: #ffffff;
    display: block;
    font-size: 0.82rem;
}

.sicor-shell {
    margin-left: 18.5rem;
    min-height: 100vh;
}

.sicor-topbar {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--sicor-border);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 5.15rem;
    padding: 0.85rem 1.35rem;
    position: sticky;
    top: 0;
    z-index: 20;
}

.sicor-topbar h1 {
    color: #0f172a;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0.2rem 0 0;
}

.sicor-breadcrumb {
    align-items: center;
    color: var(--sicor-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 0.35rem;
    text-transform: uppercase;
}

.sicor-breadcrumb span:first-child {
    color: var(--sicor-gold);
}

.sicor-userbox {
    align-items: center;
    display: flex;
    gap: 0.9rem;
}

.sicor-userbox-text {
    border-right: 1px solid var(--sicor-border);
    padding-right: 0.9rem;
    text-align: right;
}

.sicor-userbox-text span {
    color: var(--sicor-muted);
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
}

.sicor-userbox-text strong {
    color: #0f172a;
    display: block;
    font-size: 0.82rem;
    max-width: 15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sicor-content {
    padding: 1.25rem;
}

.row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.g-3 {
    gap: 0.65rem;
}

.g-4,
.g-5,
.g-xl-8 {
    gap: 1rem;
}

.col,
.col-12,
.col-md-4,
.col-md-6,
.col-lg-3,
.col-lg-4,
.col-lg-6,
.col-lg-12,
.col-xl-3,
.col-xl-4,
.col-xl-6,
.col-xl-8 {
    grid-column: span 12 / span 12;
}

.col-md-4,
.col-lg-4,
.col-xl-4 {
    grid-column: span 4 / span 4;
}

.col-md-6,
.col-lg-6,
.col-xl-6 {
    grid-column: span 6 / span 6;
}

.col-lg-3,
.col-xl-3 {
    grid-column: span 3 / span 3;
}

.col-lg-12 {
    grid-column: span 12 / span 12;
}

.col-xl-8 {
    grid-column: span 8 / span 8;
}

.card {
    background: #ffffff;
    border: 1px solid var(--sicor-border);
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.card-header {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid var(--sicor-border);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 3.35rem;
    padding: 0.8rem 1rem;
}

.card-title {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 800;
    margin: 0;
}

.card-body {
    padding: 1rem;
}

.card-flush,
.card-xl-stretch,
.h-100 {
    height: 100%;
}

.sicor-metric {
    border-top: 3px solid var(--sicor-gold);
}

.sicor-metric .card-body {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
}

.sicor-metric-icon {
    align-items: center;
    background: #eef4fa;
    border-radius: 0.7rem;
    color: var(--sicor-navy-2);
    display: inline-flex;
    height: 2.7rem;
    justify-content: center;
    width: 2.7rem;
}

.sicor-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sicor-list-item {
    border-left: 3px solid #d8dee8;
    padding-left: 0.75rem;
}

.form,
.w-100 {
    width: 100%;
}

.form-label {
    color: #263544;
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.42rem;
}

.form-control,
.form-select,
select,
textarea,
input[type="text"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="email"],
input[type="file"] {
    background: #ffffff;
    border: 1px solid #c9d3df;
    border-radius: 0.55rem;
    color: #0f172a;
    font-size: 0.84rem;
    line-height: 1.45;
    min-height: 2.45rem;
    outline: none;
    padding: 0.55rem 0.72rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    width: 100%;
}

.form-control-solid,
.form-select-solid {
    background: #f8fafc;
}

.form-control:focus,
.form-select:focus,
select:focus,
textarea:focus,
input:focus {
    border-color: #2b6f9f;
    box-shadow: 0 0 0 3px rgba(43, 111, 159, 0.15);
}

.form-control:disabled,
.form-select:disabled,
button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

textarea.form-control {
    min-height: 7rem;
    resize: vertical;
}

.process-form-section {
    border: 1px solid var(--sicor-border);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

.process-form-section h3 {
    border-bottom: 1px solid var(--sicor-border);
    color: var(--sicor-navy);
    margin: -0.1rem 0 1rem;
    padding-bottom: 0.65rem;
}

.process-form-section:last-of-type {
    margin-bottom: 0;
}

.process-create-page {
    max-width: 76rem;
}

.process-create-hero {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--sicor-border);
    border-left: 4px solid var(--sicor-gold);
    border-radius: 0.75rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
}

.process-create-kicker {
    color: var(--sicor-gold);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.process-create-title {
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 0.25rem;
}

.process-create-subtitle {
    color: var(--sicor-muted);
    font-size: 0.84rem;
    margin: 0;
}

.process-create-step {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #dbe4f2;
    border-radius: 0.7rem;
    display: flex;
    gap: 0.7rem;
    min-width: 11.5rem;
    padding: 0.7rem 0.85rem;
}

.process-create-step span {
    color: var(--sicor-muted);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.process-create-step strong {
    color: var(--sicor-navy);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    margin-left: auto;
}

.process-create-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-create-section {
    overflow: visible;
}

.process-create-section .card-header {
    background: #fbfcfe;
    min-height: 3.7rem;
}

.process-create-section .card-header > div:first-child {
    align-items: center;
    display: flex;
    gap: 0.65rem;
}

.process-section-number {
    align-items: center;
    background: var(--sicor-navy-2);
    border-radius: 0.55rem;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 900;
    height: 1.85rem;
    justify-content: center;
    width: 1.85rem;
}

.process-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.process-field {
    min-width: 0;
}

.process-field-xs {
    grid-column: span 2 / span 2;
}

.process-field-sm {
    grid-column: span 3 / span 3;
}

.process-field-md {
    grid-column: span 4 / span 4;
}

.process-field-lg {
    grid-column: span 6 / span 6;
}

.process-field-full {
    grid-column: 1 / -1;
}

.process-field-grow {
    flex: 1 1 22rem;
}

.process-field-cpf {
    flex: 0 0 14rem;
}

.process-form-grid-main .process-field-md:first-of-type {
    grid-column: span 5 / span 5;
}

.process-form-grid-dates {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.process-label-row {
    align-items: center;
    display: flex;
    gap: 0.65rem;
    justify-content: space-between;
    margin-bottom: 0.42rem;
}

.process-label-row .btn {
    min-height: 1.9rem;
}

.process-repeat-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.process-repeat-list-inline {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.process-repeat-row {
    flex: 0 1 15.5rem;
    max-width: 17.5rem;
}

.process-inline-panel {
    background: #f8fafc;
    border: 1px solid #dbe4f2;
    border-radius: 0.7rem;
    padding: 0.85rem;
}

.process-inline-panel .process-label-row {
    margin-bottom: 0.65rem;
}

.process-textarea-compact {
    min-height: 5.9rem;
}

.process-interested-row {
    align-items: flex-end;
    background: #f8fafc;
    border: 1px solid #dbe4f2;
    border-radius: 0.7rem;
    display: flex;
    gap: 0.8rem;
    padding: 0.85rem;
}

.process-form-actions {
    align-items: center;
    display: flex;
    gap: 0.7rem;
    justify-content: flex-end;
    margin-top: 0.25rem;
}

.btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 0.55rem;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.45rem;
    justify-content: center;
    line-height: 1.2;
    min-height: 2.25rem;
    padding: 0.48rem 0.8rem;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(43, 111, 159, 0.18);
    outline: none;
}

.btn-primary {
    background: var(--sicor-navy-2);
    border-color: var(--sicor-navy-2);
    color: #ffffff;
}

.btn-primary:hover {
    background: #0b1f33;
}

.btn-secondary,
.btn-light,
.btn-light-primary {
    background: #eef4fa;
    border-color: #d5e2ee;
    color: #17496e;
}

.btn-secondary:hover,
.btn-light:hover,
.btn-light-primary:hover {
    background: #dfeaf4;
}

.btn-success {
    background: var(--sicor-green);
    border-color: var(--sicor-green);
    color: #ffffff;
}

.btn-warning {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a5b13;
}

.btn-danger,
.btn-light-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: var(--sicor-red);
}

.btn-danger:hover,
.btn-light-danger:hover {
    background: #fee2e2;
}

.btn-sm {
    font-size: 0.72rem;
    min-height: 1.95rem;
    padding: 0.32rem 0.58rem;
}

.btn-lg {
    font-size: 0.88rem;
    min-height: 2.7rem;
    padding: 0.65rem 1rem;
}

.btn-icon {
    padding: 0;
    width: 2.15rem;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.table {
    border-collapse: collapse;
    color: #263544;
    font-size: 0.8rem;
    min-width: 100%;
    width: 100%;
}

.table thead {
    background: #eef3f8;
}

.table th {
    border-bottom: 1px solid #c9d3df;
    color: var(--sicor-navy);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    padding: 0.68rem 0.65rem;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.table td {
    border-bottom: 1px solid #e8edf3;
    padding: 0.68rem 0.65rem;
    vertical-align: middle;
}

.table tbody tr:hover {
    background: #f8fafc;
}

.table tbody tr.process-row-concluded,
.table tbody tr.process-row-concluded:hover {
    background: #dcfce7;
}

.table tbody tr.process-row-concluded td {
    border-bottom-color: #bbf7d0;
}

.process-interested-cell {
    min-width: 16rem;
    width: 18rem;
}

.process-service-number {
    align-items: center;
    background: #ffffff;
    border: 1px solid #c9d3df;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    color: var(--sicor-navy);
    display: inline-flex;
    font-size: 1rem;
    font-weight: 900;
    justify-content: center;
    min-height: 2.25rem;
    min-width: 2.6rem;
    padding: 0.25rem 0.65rem;
}

.process-import-bar {
    align-items: center;
    background: #f8fafc;
    border: 1px dashed #b8c7d8;
    border-radius: 0.75rem;
    display: flex;
    justify-content: flex-end;
    padding: 0.85rem;
}

.process-import-form {
    align-items: center;
    display: flex;
    gap: 0.65rem;
}

.process-import-file {
    position: relative;
}

.process-import-file input {
    height: 1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.dataTables_wrapper {
    width: 100%;
}

.dataTables_filter,
.dataTables_length {
    margin-bottom: 0.75rem;
}

.dataTables_filter input,
.dataTables_length select {
    margin-left: 0.4rem;
}

.dataTables_paginate {
    align-items: center;
    display: flex;
    gap: 0.3rem;
    justify-content: flex-end;
    margin-top: 0.75rem;
}

.paginate_button {
    border: 1px solid var(--sicor-border);
    border-radius: 0.45rem;
    color: #334155;
    cursor: pointer;
    padding: 0.35rem 0.6rem;
}

.paginate_button.current {
    background: var(--sicor-navy-2);
    color: #ffffff;
}

.badge {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.28rem 0.62rem;
}

.badge-light-primary,
.badge-status-default {
    background: #eef4fa;
    border-color: #d5e2ee;
    color: #17496e;
}

.badge-status-analysis,
.badge-status-progress,
.badge-status-denuncia,
.badge-status-apuracao {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4f7a;
}

.badge-status-done {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.badge-status-filed,
.badge-status-suspended {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.badge-status-urgent,
.badge-status-secret {
    background: #fef2f2;
    border-color: #fecaca;
    color: var(--sicor-red);
}

.badge-status-sindicancia,
.badge-status-pad,
.badge-status-correicao {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.badge-species-pad {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

.badge-species-sind {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.alert {
    align-items: center;
    border: 1px solid var(--sicor-border);
    border-radius: 0.7rem;
    display: flex;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
}

.alert-success {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.process-single-page {
    margin: 0;
    max-width: 76rem;
    
}

.process-single-hero {
    background: #ffffff;
    border-top: 4px solid var(--sicor-gold);
    color: #0f172a;
}

.process-single-hero .card-body {
    padding: 1.15rem 1.25rem;
}

.process-single-hero-title {
    color: #0f172a;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 0.75rem;
}

.process-single-section {
    border-color: var(--sicor-border);
}

.process-single-section .card-header {
    background: #fbfcfe;
}

.process-card-action {
    background: #f8fafc;
    border-color: #c9d3df;
    color: var(--sicor-navy-2);
    height: 2.05rem;
    width: 2.05rem;
}

.process-card-action:hover {
    background: var(--sicor-navy-2);
    border-color: var(--sicor-navy-2);
    color: #ffffff;
}

.process-single-field {
    background: #f8fafc;
    border: 1px solid #dde5ee;
    border-radius: 0.65rem;
    min-height: 4.5rem;
    padding: 0.85rem;
}

.process-single-label {
    color: var(--sicor-muted);
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.process-status-current {
    align-items: stretch;
    background: #f8fafc;
    border: 1px solid #dbe4f2;
    border-left: 4px solid var(--sicor-gold);
    border-radius: 0.75rem;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(14rem, 0.9fr);
    padding: 0.85rem;
}

.process-status-current .col-md-6 {
    grid-column: auto;
}

.process-status-current .process-single-field {
    background: #ffffff;
    border-color: #e2e8f0;
    min-height: 4.1rem;
}

.process-status-current .process-single-field:first-child {
    position: relative;
}

.process-status-current .process-single-field:first-child::before {
    background: var(--sicor-gold);
    border-radius: 999px;
    content: "";
    height: 0.62rem;
    position: absolute;
    right: 0.85rem;
    top: 0.9rem;
    width: 0.62rem;
}

.process-status-current .col-md-6:nth-child(1) .process-single-label,
.process-status-current .col-md-6:nth-child(2) .process-single-label {
    font-size: 0;
}

.process-status-current .col-md-6:nth-child(1) .process-single-label::after,
.process-status-current .col-md-6:nth-child(2) .process-single-label::after {
    font-size: 0.7rem;
}

.process-status-current .col-md-6:nth-child(1) .process-single-label::after {
    content: "Status atual";
}

.process-status-current .col-md-6:nth-child(2) .process-single-label::after {
    content: "Data do status";
}

.process-status-current #statusDataValor {
    color: var(--sicor-navy);
    display: block;
    font-size: 1rem;
    margin-top: 0.2rem;
}

.process-status-current #statusDataValor::before {
    color: var(--sicor-muted);
    content: "Vigente desde ";
    font-size: 0.78rem;
    font-weight: 700;
}

.process-status-edit-panel {
    background: #f8fafc;
    border: 1px solid #dbe4f2;
    border-left: 3px solid var(--sicor-gold);
    border-radius: 0.7rem;
    padding: 0.85rem;
}

.process-status-edit-panel strong {
    color: #0f172a;
    display: block;
    font-size: 1rem;
    font-weight: 900;
    margin: 0.2rem 0 0.15rem;
}

.process-status-edit-panel span:last-child {
    color: var(--sicor-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.process-status-edit-panel em {
    color: var(--sicor-navy);
    font-style: normal;
}

.process-option-pill,
.process-list-item {
    font-weight: 800;
}

.process-list-item {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 0.55rem;
    margin-bottom: 0.45rem;
    padding: 0.42rem 0.6rem;
}

.process-comment-item {
    background: #ffffff;
    border: 1px solid #dbe4f2;
    border-left: 3px solid var(--sicor-gold);
    border-radius: 0.6rem;
    margin-bottom: 0.75rem;
    padding: 0.8rem 0.95rem;
}

.process-comment-meta {
    color: #334155;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.process-comment-text {
    color: #1e293b;
    line-height: 1.55;
}

.comments-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comments-toolbar {
    border-top: 3px solid var(--sicor-gold);
}

.comments-toolbar-main {
    align-items: flex-end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.comments-eyebrow {
    color: var(--sicor-gold);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.comments-title {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 0.35rem;
}

.comments-subtitle {
    color: var(--sicor-muted);
    font-size: 0.82rem;
}

.comments-search {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

.comments-search-label {
    color: var(--sicor-muted);
    font-size: 0.72rem;
    font-weight: 800;
    margin-right: 0.15rem;
    text-transform: uppercase;
}

.comments-search-field {
    min-width: min(26rem, 100%);
    position: relative;
}

.comments-search-field .form-control {
    padding-left: 2.35rem;
}

.comments-search-icon {
    color: var(--sicor-muted);
    height: 1rem;
    left: 0.78rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    z-index: 1;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.comments-item {
    border-left: 3px solid transparent;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.comments-item:hover {
    border-left-color: var(--sicor-gold);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.comments-item-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 2.6rem minmax(0, 1fr);
}

.comments-avatar {
    align-items: center;
    background: #eef4fa;
    border: 1px solid #d5e2ee;
    border-radius: 0.65rem;
    color: var(--sicor-navy-2);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 900;
    height: 2.6rem;
    justify-content: center;
    width: 2.6rem;
}

.comments-content {
    min-width: 0;
}

.comments-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    justify-content: space-between;
    margin-bottom: 0.55rem;
}

.comments-author {
    color: #0f172a;
    font-weight: 900;
}

.comments-date {
    color: var(--sicor-muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.comments-text {
    color: #1e293b;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 0 0.8rem;
    white-space: normal;
}

.comments-process {
    align-items: center;
    border-top: 1px solid #edf2f7;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.8rem;
    padding-top: 0.75rem;
}

.comments-process-link {
    align-items: center;
    color: var(--sicor-blue);
    display: inline-flex;
    font-weight: 900;
    gap: 0.35rem;
}

.comments-process-link:hover {
    text-decoration: underline;
}

.comments-subject {
    color: var(--sicor-muted);
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comments-empty .card-body {
    padding: 2.5rem 1rem;
}

.comments-empty-icon {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--sicor-border);
    border-radius: 0.75rem;
    color: var(--sicor-muted);
    display: inline-flex;
    height: 3rem;
    justify-content: center;
    margin-bottom: 0.85rem;
    width: 3rem;
}

.comments-empty-title {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
    margin: 0 0 0.35rem;
}

.modal {
    display: none;
    inset: 0;
    overflow-y: auto;
    padding: 1rem;
    position: fixed;
    z-index: 60;
}

.modal.show {
    display: grid;
    place-items: center;
}

.modal-dialog {
    max-width: min(42rem, 100%);
    width: 100%;
}

.modal-lg .modal-dialog,
.modal-dialog.modal-lg {
    max-width: min(56rem, 100%);
}

.modal-content {
    background: #ffffff;
    border: 1px solid var(--sicor-border);
    border-radius: 0.85rem;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
    overflow: hidden;
}

.modal-header,
.modal-footer {
    align-items: center;
    border-bottom: 1px solid var(--sicor-border);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.9rem 1rem;
}

.modal-header {
    background: #f8fafc;
}

.modal-footer {
    background: #ffffff;
    border-bottom: 0;
    border-top: 1px solid var(--sicor-border);
    justify-content: flex-end;
}

.modal-body {
    padding: 1rem;
}

.modal-title {
    color: var(--sicor-navy);
    font-size: 0.92rem;
    font-weight: 800;
    margin: 0;
}

.modal-backdrop {
    background: rgba(11, 31, 51, 0.62);
    inset: 0;
    position: fixed;
    z-index: 50;
}

.modal-open {
    overflow: hidden;
}

.btn-close {
    background: #e8edf3;
    border: 0;
    border-radius: 999px;
    color: transparent;
    cursor: pointer;
    height: 2rem;
    position: relative;
    width: 2rem;
}

.btn-close::before,
.btn-close::after {
    background: #475569;
    content: "";
    height: 2px;
    left: 0.55rem;
    position: absolute;
    top: 0.95rem;
    width: 0.9rem;
}

.btn-close::before {
    transform: rotate(45deg);
}

.btn-close::after {
    transform: rotate(-45deg);
}

.file-item,
.attachment-item {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--sicor-border);
    border-radius: 0.65rem;
    display: flex;
    gap: 0.75rem;
    padding: 0.7rem;
}

.file-icon,
.attachment-icon {
    align-items: center;
    background: #eef4fa;
    border-radius: 0.55rem;
    color: var(--sicor-navy);
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-end {
    justify-content: flex-end;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.25rem;
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: right;
}

.text-muted,
.text-gray-500,
.text-gray-600,
.text-gray-700 {
    color: var(--sicor-muted);
}

.text-gray-800,
.text-dark {
    color: #0f172a;
}

.text-primary {
    color: var(--sicor-blue);
}

.text-warning {
    color: var(--sicor-amber);
}

.text-success {
    color: var(--sicor-green);
}

.fw-bold,
.fw-semibold {
    font-weight: 800;
}

.fs-2hx {
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1;
}

.fs-2 {
    font-size: 1rem;
}

.fs-3 {
    font-size: 1.05rem;
}

.fs-4 {
    font-size: 0.95rem;
}

.fs-6 {
    font-size: 0.82rem;
}

.fs-7 {
    font-size: 0.76rem;
}

.fs-8 {
    font-size: 0.72rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.25rem;
}

.mb-7,
.mb-8 {
    margin-bottom: 1.25rem;
}

.mb-10 {
    margin-bottom: 1.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-10 {
    margin-top: 1.5rem;
}

.p-0 {
    padding: 0;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1rem;
}

.px-8 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.pt-0 {
    padding-top: 0;
}

.pt-8 {
    padding-top: 1rem;
}

.py-3 {
    padding-bottom: 0.75rem;
    padding-top: 0.75rem;
}

.py-8 {
    padding-bottom: 1.2rem;
    padding-top: 1.2rem;
}

.w-200px {
    max-width: 13rem;
}

.w-275px {
    max-width: 18rem;
}

.link-primary {
    color: var(--sicor-blue);
}

.link-primary:hover {
    text-decoration: underline;
}

.border-0 {
    border: 0;
}

.border-bottom {
    border-bottom: 1px solid var(--sicor-border);
}

.border-gray-300 {
    border-color: #cbd5e1;
}

.rounded {
    border-radius: 0.65rem;
}

.shadow-sm {
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.fas {
    align-items: center;
    display: inline-flex;
    font-style: normal;
    font-weight: 900;
    height: 1rem;
    justify-content: center;
    width: 1rem;
}

.fa-eye::before {
    content: "Ver";
    font-size: 0.66rem;
}

.fa-arrow-left::before {
    content: "<";
}

.fa-pencil-alt::before {
    background: currentColor;
    content: "";
    height: 0.82rem;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M21.174%206.812a1%201%200%200%200-3.986-3.987L3.842%2016.174a2%202%200%200%200-.5.83l-1.321%204.352a.5.5%200%200%200%20.623.622l4.353-1.32a2%202%200%200%200%20.83-.497z'/%3E%3Cpath%20d='m15%205%204%204'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M21.174%206.812a1%201%200%200%200-3.986-3.987L3.842%2016.174a2%202%200%200%200-.5.83l-1.321%204.352a.5.5%200%200%200%20.623.622l4.353-1.32a2%202%200%200%200%20.83-.497z'/%3E%3Cpath%20d='m15%205%204%204'/%3E%3C/svg%3E") center / contain no-repeat;
    width: 0.82rem;
}

.fa-plus::before {
    content: "+";
}

.fa-check-circle::before {
    content: "OK";
    font-size: 0.62rem;
}

.fa-exclamation-circle::before {
    content: "!";
}

.me-2 {
    margin-right: 0.5rem;
}

.me-3 {
    margin-right: 0.75rem;
}

@media (min-width: 1280px) {
    .mb-xl-8 {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 900px) {
    .process-create-page {
        max-width: none;
    }

    .process-create-hero,
    .process-interested-row,
    .comments-toolbar-main,
    .comments-search {
        align-items: stretch;
        flex-direction: column;
    }

    .process-create-step {
        min-width: 0;
        width: 100%;
    }

    .process-field-xs,
    .process-field-sm,
    .process-field-md,
    .process-field-lg,
    .process-form-grid-main .process-field-md:first-of-type {
        grid-column: 1 / -1;
    }

    .process-field-grow,
    .process-field-cpf,
    .process-repeat-row {
        flex-basis: auto;
        max-width: none;
        width: 100%;
    }

    .process-repeat-list-inline {
        align-items: stretch;
        flex-direction: column;
    }

    .process-label-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .process-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .process-form-actions .btn {
        width: 100%;
    }

    .process-status-current {
        grid-template-columns: 1fr;
    }

    .comments-search-field,
    .comments-search .btn {
        width: 100%;
    }

    .comments-item-grid {
        grid-template-columns: 1fr;
    }

    .comments-avatar {
        display: none;
    }

    .comments-subject {
        white-space: normal;
    }
}
