.cliente-view {
    max-width: 1680px;
}

.cliente-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, .75fr);
    gap: 16px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.cliente-hero__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #9f1239;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cliente-hero__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cliente-hero h1 {
    margin: 0;
    color: #111827;
    font-size: 1.45rem;
    font-weight: 800;
}

.cliente-hero p {
    margin: 8px 0 0;
    color: #64748b;
}

.cliente-hero__facts {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 10px;
}

.cliente-hero__facts div {
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
}

.cliente-hero__facts span {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cliente-hero__facts strong {
    color: #111827;
    font-size: .92rem;
    white-space: nowrap;
}

.cliente-section-card .card-body {
    padding: 16px;
}

.cliente-section-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.cliente-section-card__head h2 {
    margin: 0;
    color: #111827;
    font-size: 1rem;
    font-weight: 800;
}

.cliente-section-card__head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: .86rem;
}

.cliente-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cliente-status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.cliente-status-item__icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f1f5f9;
    font-size: 1.15rem;
}

.cliente-status-item strong,
.cliente-status-item span {
    display: block;
}

.cliente-status-item strong {
    color: #111827;
}

.cliente-status-item span {
    color: #64748b;
    font-size: .84rem;
}

.cliente-progress-panel {
    padding: 14px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
}

.cliente-progress-panel__row,
.cliente-risk-distribution__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.cliente-progress-panel__row strong,
.cliente-progress-panel__row span,
.cliente-risk-distribution__row strong,
.cliente-risk-distribution__row span {
    display: block;
}

.cliente-progress-panel__row span {
    color: #64748b;
    font-size: .84rem;
}

.cliente-progress-panel .progress,
.cliente-risk-distribution .progress {
    height: 8px;
    border-radius: 999px;
}

.cliente-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cliente-shortcut-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #111827;
    text-decoration: none;
    background: #fff;
}

.cliente-shortcut-item:hover {
    border-color: #2563eb;
    color: #111827;
    background: #eff6ff;
}

.cliente-shortcut-item > span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef2ff;
    color: #1d4ed8;
}

.cliente-shortcut-item strong,
.cliente-shortcut-item small {
    display: block;
}

.cliente-shortcut-item small {
    margin-top: 2px;
    color: #64748b;
}

.cliente-risk-list {
    display: grid;
    gap: 8px;
}

.cliente-risk-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.cliente-risk-item__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.cliente-risk-item__dot--danger {
    background: #dc2626;
}

.cliente-risk-item__dot--warning {
    background: #f59e0b;
}

.cliente-risk-distribution {
    margin-top: 18px;
}

.cliente-risk-distribution h3 {
    margin: 0 0 12px;
    color: #64748b;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cliente-responsibility-list {
    display: grid;
    gap: 10px;
}

.cliente-responsibility-list div {
    display: flex;
    gap: 10px;
    color: #475569;
}

.cliente-responsibility-list i {
    color: #9f1239;
}

[data-theme="dark"] .cliente-hero,
[data-theme="dark"] .cliente-hero__facts div,
[data-theme="dark"] .cliente-status-item,
[data-theme="dark"] .cliente-shortcut-item {
    border-color: var(--shell-border);
    background: var(--shell-surface);
}

[data-theme="dark"] .cliente-hero h1,
[data-theme="dark"] .cliente-hero__facts strong,
[data-theme="dark"] .cliente-section-card__head h2,
[data-theme="dark"] .cliente-status-item strong,
[data-theme="dark"] .cliente-shortcut-item {
    color: #f3f4f6;
}

[data-theme="dark"] .cliente-progress-panel {
    border-color: var(--shell-border);
    background: #111827;
}

@media (max-width: 1199.98px) {
    .cliente-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .cliente-hero__title-row,
    .cliente-section-card__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .cliente-hero__facts,
    .cliente-status-grid,
    .cliente-shortcut-grid {
        grid-template-columns: 1fr;
    }

    .cliente-hero__facts strong {
        white-space: normal;
    }
}
