/* ============================================================================
   OPAK — Designsystem
   Monochrom, viel Ruhe, eine einzige Akzentfarbe (gedecktes Messing).
   Keine externen Fonts, keine externen Assets — alles self-hosted.
   ============================================================================ */
:root {
  --bg0: #0a0a0b;
  --bg1: #0e0e10;
  --card: #131316;
  --card2: #17171b;
  --line: #232327;
  --line2: #2e2e34;
  --ink: #eceae4;
  --muted: #918f88;
  --faint: #66645f;
  --accent: #c2a878;
  --accent-strong: #d8bf92;
  --accent-ink: #121214;
  --danger: #b55a52;
  --good: #7fa886;
  --radius: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 85% -10%, #17171c 0%, transparent 60%),
    radial-gradient(700px 500px at -10% 110%, #121216 0%, transparent 55%),
    var(--bg0);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }   /* das hidden-Attribut MUSS immer gewinnen */

/* Sprachauswahl */
.lang-corner { position: absolute; top: 18px; right: 22px; z-index: 6; }
:root[dir="rtl"] .lang-corner { right: auto; left: 22px; }
.lang-select {
  background: var(--card2); color: var(--ink); border: 1px solid var(--line2);
  border-radius: 8px; padding: 7px 12px; font: inherit; font-size: 13.5px; cursor: pointer;
}
.lang-select:hover { border-color: var(--accent); }
.bar .lang-select { padding: 6px 10px; font-size: 13px; }
/* Rechts-nach-links: Zeilen spiegeln, aber lateinische Codeschnipsel bleiben LTR */
:root[dir="rtl"] .mono, :root[dir="rtl"] .addr-box, :root[dir="rtl"] .rk-box { direction: ltr; unicode-bidi: embed; }

.view { min-height: 100vh; display: flex; flex-direction: column; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.spacer { flex: 1; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }

/* ---------- Wortmarke ---------- */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 300; letter-spacing: .32em; color: var(--ink);
  text-transform: uppercase; text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand .mark {
  width: 18px; height: 18px; border-radius: 4px; flex: none;
  border: 1px solid var(--accent);
  background: linear-gradient(135deg, transparent 0 46%, var(--accent) 54% 100%);
}
.brand.small { font-size: 15px; }
.brand.small .mark { width: 14px; height: 14px; border-radius: 3px; }

/* ---------- Buttons & Inputs ---------- */
button {
  font: inherit; cursor: pointer; border: 0; border-radius: 9px;
  padding: 10px 16px; color: var(--ink); background: transparent;
  transition: background .15s, border-color .15s, color .15s, opacity .15s;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
button.primary {
  background: var(--accent); color: var(--accent-ink); font-weight: 600;
}
button.primary:hover { background: var(--accent-strong); }
button.primary:disabled { opacity: .45; cursor: default; }
button.ghost { border: 1px solid var(--line2); color: var(--ink); }
button.ghost:hover { border-color: var(--accent); }
button.ghost:disabled { opacity: .4; cursor: default; }
button.danger { background: var(--danger); color: #fff; font-weight: 600; }
button.danger:hover { filter: brightness(1.1); }
button.danger-ghost { border: 1px solid var(--danger); color: #d99992; }
button.mini {
  padding: 5px 9px; font-size: 14px; border: 1px solid transparent; border-radius: 8px;
  color: var(--muted);
}
button.mini:hover { border-color: var(--line2); color: var(--ink); background: var(--card2); }

input, select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--bg1); border: 1px solid var(--line2); border-radius: 9px;
  padding: 12px 14px;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); cursor: pointer; }
label.check input { width: auto; margin-top: 2px; accent-color: var(--accent); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Auth (zweispaltig, stapelt mobil) ---------- */
#view-auth { justify-content: center; padding: 40px 22px; }
.auth-wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px;
  max-width: 1020px; width: 100%; margin: auto; align-items: center;
}
@media (max-width: 880px) { .auth-wrap { grid-template-columns: 1fr; gap: 36px; } }
.auth-hero h1 {
  font-size: clamp(26px, 3.6vw, 38px); line-height: 1.22; font-weight: 550;
  letter-spacing: -.015em; margin: 26px 0 14px;
}
.auth-hero .lead { color: var(--muted); font-size: 16px; max-width: 42ch; }
.props { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.props li { display: flex; gap: 12px; align-items: baseline; color: var(--ink); }
.props .tick { color: var(--accent); font-size: 13px; flex: none; }
.props .sub { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.hero-foot { margin-top: 40px; font-size: 12.5px; color: var(--faint); }
.hero-foot a { color: var(--faint); margin-right: 14px; }
.hero-foot a:hover { color: var(--accent); }

.auth-card { padding: 30px; box-shadow: var(--shadow); }
.auth-card form { display: flex; flex-direction: column; gap: 12px; }
#auth-sub { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.tabs { display: flex; gap: 4px; background: var(--bg1); padding: 4px; border-radius: 10px; margin-bottom: 18px; }
.tab { flex: 1; color: var(--muted); padding: 9px 0; border-radius: 8px; }
.tab.on { background: var(--card2); color: var(--ink); border: 1px solid var(--line2); }
.auth-alt { text-align: center; font-size: 13px; margin: 6px 0 0; }
.warn {
  font-size: 13px; color: #d9c9a3; background: #191611; border: 1px solid #33291a;
  padding: 11px 13px; border-radius: 9px;
}

/* Passwort-Staerke */
.pw-meter { display: flex; align-items: center; gap: 10px; min-height: 16px; }
.pw-track { flex: 1; height: 3px; background: var(--line); border-radius: 99px; overflow: hidden; }
#pw-bar { height: 100%; width: 0; background: var(--danger); transition: width .25s, background .25s; }
#pw-bar[data-level="2"] { background: #c9a35e; }
#pw-bar[data-level="3"], #pw-bar[data-level="4"] { background: var(--good); }
#pw-label { font-size: 12px; color: var(--muted); min-width: 84px; text-align: right; }

/* ---------- App-Chrom ---------- */
.bar {
  display: flex; align-items: center; gap: 18px; padding: 14px 26px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg0) 82%, transparent);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 5;
}
.bar .user { color: var(--muted); font-size: 13.5px; }
.bar .user b { color: var(--ink); font-weight: 550; }
/* Schmale Bildschirme: Leiste umbrechen lassen — sonst liegen Abmelden/Sprache/Erweitern
   unerreichbar rechts außerhalb des Bildschirms. */
@media (max-width: 760px) {
  .bar { flex-wrap: wrap; gap: 10px 14px; padding: 12px 16px; }
  .bar .spacer { display: none; }
  .bar .quota-pill { order: 10; flex: 1 1 100%; }
}

.quota-pill { display: flex; flex-direction: column; gap: 5px; min-width: 190px; }
.quota-track { height: 3px; background: var(--line); border-radius: 99px; overflow: hidden; }
#quota-bar { height: 100%; width: 0; background: var(--accent); transition: width .4s; }
#quota-bar.hot { background: var(--danger); }
#quota-text { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }

/* Hinweisleiste zur Mietzeit (Vorwarnung / Schonfrist) */
.rental-bar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  max-width: 1060px; margin: 16px auto 0; padding: 14px 18px;
  border-radius: 10px; font-size: 14px; line-height: 1.5;
}
.rental-bar > span { flex: 1; min-width: 260px; }
.rental-bar button { flex: none; }
.rental-bar.warn-tone { background: #1c1810; border: 1px solid #4a3a1a; color: #e2cfa4; }
.rental-bar.danger-tone { background: #1e1211; border: 1px solid #5a2b26; color: #eec6c1; }
@media (max-width: 1100px) { .rental-bar { margin-left: 26px; margin-right: 26px; } }

/* Dauerhinweis während eines laufenden Uploads. Bewusst eine Leiste und kein Verlassen-Dialog:
   den zeigt iOS Safari ohnehin nie an. */
.upload-bar {
  max-width: 1060px; margin: 16px auto 0; padding: 12px 18px;
  border-radius: 10px; font-size: 14px; line-height: 1.5;
  background: #101a1c; border: 1px solid #24454a; color: #b9dde2;
  /* Hinweis links, Abbrechen-Knopf rechts. Auf schmalen Geräten rutscht der Knopf darunter,
     statt den Text zu quetschen — er muss auf dem Handy sicher treffbar bleiben. */
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.upload-bar button { flex: none; }
@media (max-width: 1100px) { .upload-bar { margin-left: 26px; margin-right: 26px; } }

.workspace { flex: 1; width: 100%; max-width: 1060px; margin: 0 auto; padding: 10px 26px 40px; }
/* Im Schreibschutz keinen Drop-Hinweis anbieten */
body.read-only .dz-hint { visibility: hidden; }
.toolbar { display: flex; align-items: center; gap: 12px; padding: 18px 0 10px; flex-wrap: wrap; }
#crumbs { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.crumb { padding: 6px 9px; color: var(--muted); border-radius: 7px; font-size: 14px; }
.crumb:hover { color: var(--ink); background: var(--card2); }
.crumb.here { color: var(--ink); font-weight: 550; }
.crumb-sep { color: var(--faint); font-size: 13px; }

/* Dateiliste */
.files { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.row {
  display: flex; align-items: center; gap: 14px; padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--card2); }
.row .ico { font-size: 17px; flex: none; width: 24px; text-align: center; }
.row .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .name.link { cursor: pointer; }
.row .name.link:hover { color: var(--accent-strong); }
.row .size { color: var(--muted); font-size: 13px; min-width: 76px; text-align: right; font-variant-numeric: tabular-nums; }
.row .date { color: var(--faint); font-size: 12.5px; min-width: 84px; text-align: right; font-variant-numeric: tabular-nums; }
.row .act { display: flex; gap: 2px; opacity: 0; transition: opacity .12s; }
.row:hover .act, .row:focus-within .act { opacity: 1; }
@media (hover: none) { .row .act { opacity: 1; } .row .date { display: none; } }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-ico { font-size: 40px; color: var(--faint); margin-bottom: 8px; }
.dz-hint { text-align: center; font-size: 12.5px; color: var(--faint); padding: 14px 0 0; }

/* Upload-Fortschritt */
#uploads { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.up-item {
  display: flex; align-items: center; gap: 14px; padding: 10px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px;
}
.up-item.bad { border-color: var(--danger); }
.up-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-track { width: 160px; height: 3px; background: var(--line); border-radius: 99px; overflow: hidden; }
.up-bar { height: 100%; width: 0; background: var(--accent); transition: width .2s; }
/* Abschluss-Karte: bleibt stehen, bis sie weggeklickt wird — deshalb umbrechend statt einzeilig. */
.up-item:has(.up-bilanz) { flex-wrap: wrap; align-items: flex-start; }
.up-bilanz { flex: 1; min-width: 240px; }
.up-fehlerliste { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 12.5px; max-height: 220px; overflow-y: auto; }
.up-fehlerliste li { margin: 2px 0; word-break: break-word; }
.up-bilanz-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
/* max-width + Umbruch: Fehlertexte tragen jetzt den echten Server-Wortlaut („Zu viele
   gleichzeitige Uploads (max. 8) …") — einzeilig abgeschnitten wären sie wertlos. */
.up-state { color: var(--muted); font-size: 12.5px; min-width: 90px; max-width: 45%; text-align: right; white-space: normal; word-break: break-word; }

/* Drag-Overlay */
#dropzone {
  position: fixed; inset: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg0) 72%, transparent);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--accent); border-radius: 0;
  color: var(--accent-strong); font-size: 19px; letter-spacing: .04em;
  pointer-events: none;
}

/* ---------- Modal ---------- */
#modal-root { position: relative; z-index: 60; }
.modal-back {
  position: fixed; inset: 0; background: rgba(5, 5, 6, .72);
  display: flex; align-items: center; justify-content: center; padding: 22px;
}
.modal {
  background: var(--card); border: 1px solid var(--line2); border-radius: 14px;
  padding: 26px; max-width: 460px; width: 100%; box-shadow: var(--shadow);
}
.modal.wide { max-width: 620px; }
.modal-title { margin: 0 0 12px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.modal-body p { margin: 8px 0; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }

/* Vorschau / Bearbeiten */
.modal.wide { max-width: min(1000px, 94vw); }
.viewer { display: flex; flex-direction: column; gap: 10px; }
.viewer-media { max-width: 100%; max-height: 68vh; border-radius: 8px; background: #000; display: block; margin: 0 auto; }
.viewer-frame { width: 100%; height: 68vh; border: 1px solid var(--line2); border-radius: 8px; background: #fff; }
/* Galerie: Blättern zwischen Medien */
.gal-stage {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 40vh; touch-action: pan-y;
}
.gal-stage .viewer-media { user-select: none; -webkit-user-drag: none; }
.gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; font-size: 26px; line-height: 1;
  background: color-mix(in srgb, var(--bg0) 68%, transparent); color: var(--ink);
  border: 1px solid var(--line2); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.gal-nav:hover { background: var(--card2); border-color: var(--accent); }
.gal-nav.prev { left: 6px; }
.gal-nav.next { right: 6px; }
.gal-info { text-align: center; margin: 4px 0 0; font-variant-numeric: tabular-nums; }
.gal-ask { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; padding: 30px 20px; }
@media (max-width: 560px) { .gal-nav { width: 38px; height: 38px; font-size: 22px; } }

.viewer-text {
  width: 100%; min-height: 52vh; resize: vertical;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.6;
  background: var(--bg1); border: 1px solid var(--line2); border-radius: 9px; padding: 14px; color: var(--ink);
  white-space: pre; overflow-wrap: normal; overflow-x: auto;
}

.rk-box {
  background: var(--bg1); border: 1px solid var(--line2); border-radius: 10px;
  padding: 16px; text-align: center; font-size: 17px; letter-spacing: .06em;
  word-break: break-all; margin: 14px 0; user-select: all; color: var(--accent-strong);
}
.rk-box.small { font-size: 13px; letter-spacing: 0; }
.rk-btns { display: flex; gap: 10px; justify-content: center; margin-bottom: 14px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: -90px; transform: translateX(-50%);
  background: var(--card2); border: 1px solid var(--line2); color: var(--ink);
  padding: 12px 20px; border-radius: 11px; box-shadow: var(--shadow);
  transition: bottom .3s; z-index: 80; max-width: min(560px, 92vw); font-size: 14px;
}
.toast.show { bottom: 26px; }
.toast.bad { border-color: var(--danger); color: #e8c2be; }

/* ---------- Inhaltsseiten ---------- */
.page { flex: 1; max-width: 820px; margin: 0 auto; padding: 46px 24px 90px; width: 100%; }
.page h1 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -.015em; font-weight: 600; line-height: 1.25; }
.page h2 { margin-top: 40px; font-size: 19px; font-weight: 600; }
.page p, .page li { color: #c9c7c1; }
.page li { margin: 6px 0; }
.page .lead { color: var(--muted); font-size: 16px; }
.callout {
  background: var(--card); border: 1px solid var(--line2); border-left: 3px solid var(--accent);
  padding: 15px 18px; border-radius: 10px; margin: 18px 0;
}
.callout.good { border-left-color: var(--good); }
.callout.bad { border-left-color: var(--danger); }
.pulse { color: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* Laufzeit-Wähler */
.period-row { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.period-label { color: var(--muted); font-size: 13px; }
.periods { display: flex; gap: 8px; flex-wrap: wrap; }
.period-opt {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line2); background: var(--card); color: var(--ink);
  padding: 9px 14px; border-radius: 999px; font-size: 14px;
}
.period-opt:hover { border-color: var(--accent); }
.period-opt.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--card)); color: var(--accent-strong); }
.period-opt .pd { font-size: 11px; color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 22%, transparent); padding: 1px 7px; border-radius: 999px; }
.period-opt.on .pd { background: color-mix(in srgb, var(--accent) 32%, transparent); }

/* Tarife */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 20px; }
.tier { padding: 26px 20px; text-align: center; display: flex; flex-direction: column; gap: 4px; position: relative; }
.tier .sz { font-size: 26px; font-weight: 650; letter-spacing: -.02em; }
.tier .pr { font-size: 17px; color: var(--accent-strong); margin-top: 2px; }
.tier .per { color: var(--faint); font-size: 12px; margin-bottom: 14px; }
.tier button { margin-top: auto; width: 100%; }
.tier.pop { border-color: var(--accent); }
.tier.mine { border-color: var(--good); }
.mine-tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--good); margin-bottom: 10px; }
/* Hinweise auf den Tarifkarten: Downgrade gesperrt bzw. Restzeit läuft nach Upgrade weiter */
.tier-note { font-size: 12px; color: var(--muted); margin-bottom: 10px; line-height: 1.45; }
.tier-note.up { color: var(--good); }
/* Rechtsseiten: Sprachmenü in der Kopfleiste + Hinweis auf die allein verbindliche deutsche Fassung */
.lang-inline { margin-right: 10px; }
.legal-lang-note { margin: 0 0 22px; }
.badge {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink); padding: 3px 10px; border-radius: 99px; font-weight: 650;
}

/* Zahlungspanel */
.pay-grid { display: grid; grid-template-columns: 168px 1fr; gap: 26px; align-items: start; }
@media (max-width: 640px) { .pay-grid { grid-template-columns: 1fr; } #pay-qr { max-width: 220px; margin: 0 auto; } }
#pay-qr { background: #fff; border-radius: 10px; padding: 10px; }
#pay-qr svg { display: block; width: 100%; height: auto; }
.pay-amount { font-size: 22px; letter-spacing: .01em; color: var(--accent-strong); }
.addr-box {
  background: var(--bg1); border: 1px solid var(--line2); border-radius: 9px;
  padding: 11px 13px; word-break: break-all; user-select: all; font-size: 13.5px;
}
.pay-meta { color: var(--muted); font-size: 12.5px; }
.pay-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }

/* Admin */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 22px 0 34px; }
.stat { padding: 18px; text-align: center; }
.stat-val { font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.stat-label { color: var(--muted); font-size: 12px; margin-top: 4px; letter-spacing: .03em; }
.admin-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-form input { flex: 1; min-width: 200px; }
.admin-form select { width: auto; }

/* Fußzeile */
.site-footer {
  border-top: 1px solid var(--line); padding: 22px 26px; text-align: center;
  font-size: 12.5px; color: var(--faint);
}
.site-footer a { color: var(--faint); margin: 0 10px; }
.site-footer a:hover { color: var(--accent); }
/* Knopf, der wie ein Link aussieht: „Konto löschen" gehört zu den Fußzeilen-Links, ist aber
   eine Aktion und kein Seitenwechsel — als <button> bleibt es für Tastatur und Screenreader
   korrekt. Beim Überfahren rot, damit die Tragweite sichtbar wird. */
.site-footer .linklike {
  background: none; border: 0; padding: 0; margin: 0 10px; cursor: pointer;
  font: inherit; color: var(--faint); text-decoration: underline;
}
.site-footer .linklike:hover { color: var(--danger, #e5484d); }

/* Rechtsseiten-Tabellen */
.page table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.page th, .page td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.page th { color: var(--muted); font-weight: 500; width: 38%; }

/* ---------- Druck ---------- */
@media print {
  body { background: #fff; color: #000; }
  .bar, .site-footer, .toast, #modal-root, .no-print { display: none !important; }
  .page { max-width: none; padding: 0; }
  .page p, .page li { color: #000; }
  a { color: #000; text-decoration: underline; }
  /* Dunkle Boxen für Papier aufhellen — sonst drucken sie als schwere Farbflaechen. */
  .callout, .warn, .rk-box { background: #fff !important; color: #000 !important; border-color: #999 !important; }
  .callout { border-left-color: #000 !important; }
  h2[style] { color: #000 !important; }
}
