/* Rocky Tops — Table widget. Self-contained. */

/* Rounded clip for the whole table; the inner layer handles horizontal scroll
   on small screens so wide tables stay usable. */
.rt-table-wrap {
	overflow: hidden;
}
.rt-table-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.rt-table {
	width: 100%;
	border-collapse: collapse;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 1rem;
	color: #1A1916;
}

.rt-table th,
.rt-table td {
	padding: 12px 16px;
	border: 1px solid #E5DDCF;
	text-align: left;
	vertical-align: middle;
}

.rt-table thead th {
	background-color: #1A1916;
	color: #fff;
	font-weight: 600;
	white-space: nowrap;
}

.rt-table tbody tr {
	background-color: #fff;
	transition: background-color .2s ease;
}

/* Zebra stripes (toggle) */
.rt-table--stripes tbody tr:nth-child(even) {
	background-color: #FAF7F1;
}

/* Hover highlight (toggle) */
.rt-table--hover tbody tr:hover {
	background-color: #F1ECE3;
}

/* Per-row highlight — wins over stripes/hover. */
.rt-table tbody tr.is-highlight {
	background-color: #FBF0DD;
}

.rt-table a {
	color: #B5731A;
	text-decoration: underline;
}

/* Editor-only notice */
.rt-table__notice {
	padding: 1rem 1.25rem;
	background: #FAF7F1;
	border: 1px dashed #D2C7B4;
	color: #6B6A63;
	font-size: .9rem;
}
