/* philtext/static/philtext/css/reading_table.css
   Shared styling for .paragraphs_table (paragraph editor preview and
   the relations preview table).

   The .related-* and .col-resizer rules that used to live here styled
   the components/reading_table.html include, which no template renders
   anymore; they were removed together with the dead component.
*/

/* ── Table structure ──────────────────────────────────────────────────────── */
.paragraphs_table {
    border-collapse: separate;
    border-spacing: 0;
    overflow: visible;
}

.paragraphs_table thead,
.paragraphs_table tbody,
.paragraphs_table tr,
.paragraphs_table th {
    overflow: visible !important;
}

/* ── Table headers ────────────────────────────────────────────────────────── */
.paragraphs_table th {
    position: relative;
    min-width: 50px;
    padding: 8px 12px;
    border-bottom: 2px solid var(--line-strong);
    font-size: 0.9em;
    text-transform: uppercase;
    color: var(--text-mid);
    background: var(--surface);
}

/* ── Table cells ──────────────────────────────────────────────────────────── */
.paragraphs_table td {
    padding: 12px 16px;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
    line-height: 1.6;
    font-size: 0.92em;
}

.paragraphs_table tbody tr:nth-child(even) {
    background: var(--surface);
}
