/* ACP-Branding fuer Outline (per nginx in jede Seite eingebunden, Outline unveraendert).
 * Farben: Akzent per Workspace-Einstellung (customTheme, Rolle outline), hier nur Schrift,
 * rote Linie oben und der Knopf "PDF" (acp-outline.js). CSP: Styles vom eigenen Ursprung. */
@font-face { font-family: "Apex New"; src: url("/acp/ApexNew-Book.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Apex New"; src: url("/acp/ApexNew-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* Schrift: alles ausser Code */
body, body :not(pre):not(code):not(pre *):not(code *):not(kbd) {
    font-family: "Apex New", "Helvetica Neue", Arial, sans-serif !important;
}

/* Rote ACP-Linie am oberen Rand */
body::before {
    content: ""; position: fixed; top: 0; left: 0; right: 0; height: 3px;
    background: #f00f40; z-index: 2147483646; pointer-events: none;
}

/* "PDF erstellen" (acp-outline.js): unten rechts, über dem Impressum-Link */
.acp-pdf {
    position: fixed; right: 10px; bottom: 34px; z-index: 2147483645;
    display: flex; gap: 6px; font: 700 13px "Apex New", "Helvetica Neue", Arial, sans-serif;
}
.acp-pdf a {
    color: #ffffff !important; background: #3d4a52; border-radius: 4px; padding: 6px 10px;
    text-decoration: none; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); opacity: .92;
}
.acp-pdf a.acp-pdf-main { background: #f00f40; }
.acp-pdf a:hover { opacity: 1; background: #c70c35; }
.acp-pdf a.acp-pdf-busy { opacity: .6; pointer-events: none; }
@media print { .acp-pdf { display: none; } body::before { display: none; } }
