/* Dashboard minimalista */
.dash-min {
    max-width: 720px;
    padding: 1.25rem 1rem 2.5rem;
}

.dash-min .container,
body .dash-min {
    font-size: 0.95rem;
}

.dash-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.dash-top h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
}

.dash-top p {
    margin: 0.2rem 0 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.dash-nav {
    display: flex;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.dash-nav a {
    color: #6b7280;
    text-decoration: none;
}

.dash-nav a:hover {
    color: #1d4ed8;
}

.dash-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.65rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.dash-bar input,
.dash-bar select {
    flex: 1;
    min-width: 100px;
    padding: 0.5rem 0.65rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font: inherit;
    font-size: 0.9rem;
}

.dash-btn {
    padding: 0.5rem 1rem;
    background: #1d4ed8;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
}

.dash-kpi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dash-kpi-item {
    text-decoration: none;
    text-align: center;
    padding: 0.85rem 0.5rem;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: border-color 0.15s;
}

.dash-kpi-item.is-active {
    border-color: currentColor;
}

.dash-kpi-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
}

.dash-kpi-txt {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 0.15rem;
    opacity: 0.9;
}

.dash-kpi-red {
    background: #fef2f2;
    color: #b91c1c;
}

.dash-kpi-amber {
    background: #fffbeb;
    color: #b45309;
}

.dash-kpi-green {
    background: #ecfdf5;
    color: #047857;
}

.dash-block {
    margin-bottom: 1.75rem;
}

.dash-block-title {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #374151;
}

.dash-title-red { color: #b91c1c; }
.dash-title-amber { color: #b45309; }

.dash-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.dash-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.dash-list-item:last-child {
    border-bottom: none;
}

.dash-list-main {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.dash-list-main strong {
    font-size: 0.95rem;
}

.dash-list-main span {
    font-size: 0.82rem;
    color: #6b7280;
}

.dash-tel {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1d4ed8;
    text-decoration: none;
    white-space: nowrap;
}

.dash-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1d4ed8;
    text-decoration: none;
}

.dash-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.dash-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.85rem 1rem;
}

.dash-card-sin_reporte {
    border-left: 3px solid #fca5a5;
}

.dash-card-incompleto {
    border-left: 3px solid #fcd34d;
}

.dash-card-completo {
    border-left: 3px solid #6ee7b7;
}

.dash-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.dash-card-head h3 {
    margin: 0;
    font-size: 1rem;
}

.dash-card-head p {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.dash-pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
}

.dash-pill-red { background: #fee2e2; color: #991b1b; }
.dash-pill-amber { background: #fef3c7; color: #92400e; }
.dash-pill-green { background: #d1fae5; color: #065f46; }

.dash-cortes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.dash-corte {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.45rem;
    border-radius: 6px;
    background: #f3f4f6;
    color: #9ca3af;
}

.dash-corte.done {
    background: #d1fae5;
    color: #047857;
}

.dash-corte.pending {
    background: #f3f4f6;
    color: #9ca3af;
}

.dash-more {
    margin-top: 0.65rem;
    font-size: 0.85rem;
}

.dash-more summary {
    cursor: pointer;
    color: #1d4ed8;
    font-weight: 600;
    list-style: none;
}

.dash-more summary::-webkit-details-marker {
    display: none;
}

.dash-detail-list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}

.dash-detail-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f9fafb;
    font-size: 0.85rem;
}

.dash-detail-corte {
    font-weight: 700;
    width: 2rem;
}

.dash-detail-list a {
    margin-left: auto;
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
}

.dash-muni-label {
    margin: 0.65rem 0 0.35rem;
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
}

.dash-muni-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.dash-muni-tags li {
    font-size: 0.75rem;
    background: #f3f4f6;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: #4b5563;
}

.dash-muted {
    color: #9ca3af;
    font-size: 0.85rem;
    margin: 0.35rem 0 0;
}

.dash-empty {
    color: #6b7280;
    font-size: 0.9rem;
}

.dash-foot {
    text-align: center;
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 1.5rem;
}

.dash-foot a {
    color: #6b7280;
}

@media (max-width: 500px) {
    .dash-kpi {
        grid-template-columns: 1fr;
    }

    .dash-list-item {
        flex-direction: column;
        align-items: flex-start;
    }
}
