/* Web manifest — document-style preview (mirrors PDF layout on a light canvas) */

.mihr-manifest-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.mihr-manifest-document {
    background: #ffffff;
    color: #101828;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 32px 36px 40px;
    max-width: 980px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.mihr-manifest-cover-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #101828;
    margin: 0 0 4px;
    letter-spacing: 0.02em;
}

.mihr-manifest-cover-subtitle {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #101828;
    margin: 0 0 20px;
}

.mihr-manifest-intro {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #101828;
    margin: 0 0 20px;
}

.mihr-manifest-section-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #101828;
    margin: 18px 0 8px;
}

.mihr-manifest-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 0.8125rem;
}

.mihr-manifest-table th,
.mihr-manifest-table td {
    border: 1px solid #cbd5e1;
    padding: 7px 10px;
    vertical-align: top;
    text-align: left;
}

.mihr-manifest-table .mihr-manifest-label {
    background: #e2ecf5;
    font-weight: 700;
    color: #101828;
    white-space: nowrap;
}

.mihr-manifest-table .mihr-manifest-value {
    background: #ffffff;
    color: #101828;
}

.mihr-manifest-table .mihr-manifest-banner {
    background: #e2ecf5;
    font-weight: 700;
    color: #101828;
    text-align: left;
}

.mihr-manifest-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 16px;
    align-items: start;
    margin-top: 8px;
}

.mihr-manifest-chart-wrap {
    text-align: center;
}

.mihr-manifest-chart-wrap img {
    max-width: 100%;
    height: auto;
}

.mihr-manifest-summary-box,
.mihr-manifest-observations-box {
    background: #ecf2f8;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 14px 16px;
}

.mihr-manifest-summary-box h3,
.mihr-manifest-observations-box h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #101828;
    margin: 0 0 8px;
}

.mihr-manifest-summary-box p,
.mihr-manifest-observations-box p {
    font-size: 0.8125rem;
    font-style: italic;
    line-height: 1.55;
    color: #101828;
    margin: 0;
}

.mihr-manifest-domain-block {
    margin-top: 28px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}

.mihr-manifest-domain-footer {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 16px;
    align-items: start;
    margin-top: 14px;
}

.mihr-manifest-domain-intro {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #101828;
    margin: 0 0 16px;
}

.mihr-manifest-disclaimer {
    font-size: 0.8125rem;
    font-style: italic;
    color: #64748b;
    line-height: 1.55;
    margin: 24px 0 0;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.mihr-manifest-issued-by {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.55;
    margin: 16px 0 0;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.mihr-manifest-closing {
    margin-top: 24px;
}

.mihr-manifest-empty-chart {
    font-size: 0.8125rem;
    color: #64748b;
    font-style: italic;
    padding: 24px;
    text-align: center;
    border: 1px dashed #cbd5e1;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .mihr-manifest-document {
        padding: 20px 16px 28px;
    }

    .mihr-manifest-overview,
    .mihr-manifest-domain-footer {
        grid-template-columns: 1fr;
    }
}

.mihr-manifest-page .mihr-manifest-public-main {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px 20px 48px;
    position: relative;
    z-index: 1;
}

.mihr-manifest-success-banner {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(167, 124, 55, 0.12));
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 24px;
    color: #ecfdf5;
}

.mihr-manifest-success-icon {
    font-size: 2.25rem;
    color: #4ade80;
    line-height: 1;
    flex-shrink: 0;
}

.mihr-manifest-success-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #f8fafc;
}

.mihr-manifest-success-lead {
    font-size: 1.0625rem;
    line-height: 1.5;
    margin: 0 0 8px;
    color: #e2e8f0;
}

.mihr-manifest-success-meta {
    font-size: 0.875rem;
    margin: 0;
    color: #cbd5e1;
}

.mihr-manifest-success-meta strong {
    color: #f8fafc;
}

@media (max-width: 768px) {
    .mihr-manifest-success-banner {
        flex-direction: column;
        padding: 20px;
    }

    .mihr-manifest-success-title {
        font-size: 1.375rem;
    }
}
