/* /Pages/OnePager.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   One-Pager – Querformat-Zusammenfassung auf einer Seite
   Page-spezifisch zusätzlich zur globalen Fallback-CSS, damit der
   OnePager unabhängig von alten app.css-Caches korrekt gerendert wird.
   ═══════════════════════════════════════════════════════════════════ */

.op[b-uxcjvg0m5b] {
    width: 297mm;
    min-height: 210mm;
    max-height: 210mm;
    margin: 0 auto;
    padding: 14mm 16mm 10mm;
    font-family: 'Roboto', sans-serif;
    font-size: 8.5pt;
    line-height: 1.4;
    color: #1e293b;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.op-header[b-uxcjvg0m5b] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 8px;
    border-bottom: 3px solid #1565C0;
    margin-bottom: 6px;
}

.op-title[b-uxcjvg0m5b] {
    font-size: 18pt;
    font-weight: 800;
    margin: 0;
    color: #0F1B2D;
    letter-spacing: -0.02em;
}

.op-industry[b-uxcjvg0m5b] {
    font-size: 9pt;
    color: #64748b;
    font-weight: 500;
}

.op-header-right[b-uxcjvg0m5b] {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.op-meta[b-uxcjvg0m5b] {
    font-size: 8.5pt;
    color: #475569;
    font-weight: 600;
}

.op-meta-small[b-uxcjvg0m5b] {
    font-size: 7.5pt;
    color: #94a3b8;
}

.op-tagline[b-uxcjvg0m5b] {
    font-size: 9.5pt;
    font-style: italic;
    color: #334155;
    padding: 5px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 8px;
}

.op-readiness[b-uxcjvg0m5b] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 7px;
    margin-bottom: 8px;
    border-radius: 4px;
    font-size: 7.3pt;
    border: 1px solid #cbd5e1;
}

.op-readiness.ready[b-uxcjvg0m5b] {
    background: #ecfdf5;
    color: #166534;
}

.op-readiness.review[b-uxcjvg0m5b] {
    background: #fffbeb;
    color: #92400e;
}

.op-readiness.work[b-uxcjvg0m5b] {
    background: #fef2f2;
    color: #991b1b;
}

.op-kpi-strip[b-uxcjvg0m5b] {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.op-kpi[b-uxcjvg0m5b] {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #1565C0;
    border-radius: 4px;
    padding: 6px 8px;
    text-align: center;
}

.op-kpi--accent[b-uxcjvg0m5b] {
    border-top-color: #dc2626;
    background: #fef2f2;
}

.op-kpi-val[b-uxcjvg0m5b] {
    display: block;
    font-size: 13pt;
    font-weight: 800;
    color: #0F1B2D;
    line-height: 1.2;
}

.op-kpi-val.pos[b-uxcjvg0m5b] { color: #166534; }
.op-kpi-val.neg[b-uxcjvg0m5b] { color: #b91c1c; }

.op-kpi-lbl[b-uxcjvg0m5b] {
    display: block;
    font-size: 6.5pt;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    margin-top: 1px;
}

.op-grid[b-uxcjvg0m5b] {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 14px;
    flex: 1;
    min-height: 0;
}

.op-col[b-uxcjvg0m5b] {
    min-width: 0;
    overflow: hidden;
}

.op-section-title[b-uxcjvg0m5b] {
    font-size: 9pt;
    font-weight: 700;
    color: #0F1B2D;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #1565C0;
    padding-bottom: 2px;
    margin: 0 0 6px;
}

.op-fact[b-uxcjvg0m5b] {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    font-size: 8pt;
    border-bottom: 1px dotted #e2e8f0;
    gap: 8px;
}

.op-fact-lbl[b-uxcjvg0m5b] {
    color: #64748b;
    font-weight: 600;
    flex-shrink: 0;
}

.op-table[b-uxcjvg0m5b] {
    width: 100%;
    border-collapse: collapse;
    font-size: 7.5pt;
    margin-bottom: 4px;
}

.op-table th[b-uxcjvg0m5b],
.op-table td[b-uxcjvg0m5b] {
    padding: 2px 5px;
    text-align: right;
    border-bottom: 1px solid #e2e8f0;
}

.op-table th[b-uxcjvg0m5b] {
    font-weight: 700;
    color: #475569;
    text-align: right;
    font-size: 7pt;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 2px solid #cbd5e1;
}

.op-table th:first-child[b-uxcjvg0m5b],
.op-table td:first-child[b-uxcjvg0m5b] {
    text-align: left;
}

.op-table .pos[b-uxcjvg0m5b] { color: #166534; }
.op-table .neg[b-uxcjvg0m5b] { color: #b91c1c; }

.op-table--entities[b-uxcjvg0m5b] {
    margin-top: 3px;
}

.op-table--entities td:first-child[b-uxcjvg0m5b] {
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.op-subtotal td[b-uxcjvg0m5b] {
    font-weight: 600;
    border-top: 1px solid #cbd5e1;
}

.op-highlight td[b-uxcjvg0m5b] {
    font-weight: 700;
    background: #f0f9ff;
    border-top: 2px solid #1565C0;
    border-bottom: 2px solid #1565C0;
}

.op-total td[b-uxcjvg0m5b] {
    font-weight: 800;
    border-top: 2px double #0F1B2D;
}

.op-funding-bar[b-uxcjvg0m5b] {
    height: 6px;
    background: #fee2e2;
    border-radius: 3px;
    margin: 4px 0 2px;
    overflow: hidden;
}

.op-funding-fill[b-uxcjvg0m5b] {
    height: 100%;
    background: linear-gradient(90deg, #1565C0, #42A5F5);
    border-radius: 3px;
    transition: width 0.3s;
}

.op-entity-status[b-uxcjvg0m5b] {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    border-radius: 3px;
    padding: 2px 5px;
    margin: 3px 0 2px;
    font-size: 6.7pt;
    font-weight: 700;
}

.op-entity-status.ok[b-uxcjvg0m5b] {
    background: #ecfdf5;
    color: #166534;
}

.op-entity-status.warn[b-uxcjvg0m5b] {
    background: #fef3c7;
    color: #92400e;
}

.op-entity-note[b-uxcjvg0m5b] {
    margin-top: 3px;
    padding: 3px 5px;
    border-radius: 3px;
    background: #fffbeb;
    color: #92400e;
    font-size: 6.6pt;
    line-height: 1.25;
}

.op-more[b-uxcjvg0m5b] {
    font-size: 7pt;
    color: #94a3b8;
    font-style: italic;
}

.pos[b-uxcjvg0m5b] { color: #166534; }
.neg[b-uxcjvg0m5b] { color: #b91c1c; }

.op-footer[b-uxcjvg0m5b] {
    text-align: center;
    font-size: 6.5pt;
    color: #94a3b8;
    border-top: 1px solid #e2e8f0;
    padding-top: 4px;
    margin-top: auto;
}

@media screen {
    .op[b-uxcjvg0m5b] {
        box-shadow: 0 4px 24px rgba(0,0,0,0.12);
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        background: white;
        margin: 0 auto 24px;
    }
}

@media print {
    .op[b-uxcjvg0m5b] {
        width: 100%;
        max-height: none;
        margin: 0;
        padding: 0;
        box-shadow: none;
        border: none;
    }

    @page {
        size: A4 landscape;
        margin: 10mm 12mm;
    }
}
