/* ==========================================================================
   preisrunden.css – Preisrunden und Allzeithochs Seite
   ========================================================================== */

/* ---------------------------------------------------------
   Seiten-Layout
   --------------------------------------------------------- */
.pr-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 10px 40px;
}


/* ---------------------------------------------------------
   Preisrunden-Tabelle (watermarks.txt – Spezialregeln)
   Basis-Styles kommen aus .body-table (Tailwind)
   --------------------------------------------------------- */
.pr-rounds__hint {
    font-size: 9.5pt;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

table.preisrunden { min-width: 560px; }
table.preisrunden td:first-child  { white-space: nowrap; min-width: 90px; }
table.preisrunden td:nth-child(2) { white-space: nowrap; min-width: 30px; text-align: center; color: #666; }
table.preisrunden td:nth-child(4),
table.preisrunden td:nth-child(5),
table.preisrunden td:nth-child(6) { text-align: right; white-space: nowrap; }

/* Jahr-Zeilen (grüner Kopf) */
table.preisrunden td.jahr {
    background: var(--color-bp-green-dark, #2c5f2e);
    color: #fff;
    font-weight: 700;
    font-size: 10pt;
    padding: 6px 8px;
}

/* Runden-Zeilen (hellgrün) */
table.preisrunden td.runde {
    background: #d4e9d5;
    color: #1a3e1c;
    font-weight: 700;
    font-size: 9pt;
    padding: 5px 8px;
    font-style: italic;
}

/* jahr/runde: Zebra nicht überschreiben */
table.preisrunden tr:nth-child(even) td.runde,
table.preisrunden tr:nth-child(even) td.jahr { background: inherit; }

/* ---------------------------------------------------------
   Accordion – Jahres-Toggle
   --------------------------------------------------------- */

/* Jahreszeile klickbar */
table.preisrunden tr.pr-year-toggle-row td.jahr {
    cursor: pointer;
    user-select: none;
}

/* Pfeil rechts ausrichten */
table.preisrunden tr.pr-year-toggle-row td.jahr .pr-year-arrow {
    float: right;
    font-size: 0.78em;
    opacity: 0.75;
    margin-left: 8px;
    line-height: 1.6;
}

/* Hover: etwas heller */
table.preisrunden tr.pr-year-toggle-row:hover td.jahr {
    background: var(--color-bp-green-mid, #2d7a2d);
}

/* Jahre ohne neue Höchstpreise: nicht klickbar, gedimmter Hinweis rechts */
table.preisrunden tr.pr-year-noop-row td.jahr {
    cursor: default;
    opacity: 0.72;
}

table.preisrunden tr.pr-year-noop-row td.jahr .pr-year-empty {
    float: right;
    font-size: 0.72em;
    font-weight: 400;
    font-style: italic;
    opacity: 0.85;
    margin-left: 10px;
    line-height: 1.6;
}

/* Eingeklappte Jahre: Zeilen ausblenden */
.pr-year-body.pr-year-collapsed tr {
    display: none;
}

/* ---------------------------------------------------------
   Quellen-Angabe
   --------------------------------------------------------- */
.pr-source,
.pr-unavailable {
    font-size: 8.5pt;
    color: #999;
    margin-top: 10px;
    font-style: italic;
}

.pr-unavailable {
    color: #a05050;
    background: #fff5f5;
    border: 1px solid #f0c0c0;
    padding: 10px 14px;
    border-radius: 4px;
}
