.rio-table {
width: 100%;
border-collapse: collapse;
font-size: var(--rio-fs-base);
line-height: var(--rio-lh-ui);
}
.rio-table th, .rio-table td {
padding: var(--rio-s4) var(--rio-s5);
text-align: start;
border-bottom: 1px solid var(--rio-border-soft);
vertical-align: middle;
}
.rio-table th {
font-weight: var(--rio-fw-semibold);
font-size: var(--rio-fs-xs);
color: var(--rio-text-muted);
text-transform: uppercase;
letter-spacing: var(--rio-tracking-allcaps);
background: var(--rio-surface-2);
border-bottom: 1px solid var(--rio-border);
white-space: nowrap;
padding-block: var(--rio-s3);
}
.rio-table tbody tr:last-child td { border-bottom: none; }
.rio-table tbody tr { transition: background-color 0.1s; }
.rio-table tbody td:first-child:not(.rio-td--checkbox),
.rio-table tbody .rio-td--checkbox + td {
font-weight: var(--rio-fw-medium);
color: var(--rio-text-strong);
}
.rio-th--number, .rio-td--number {
text-align: end;
font-variant-numeric: tabular-nums;
font-family: var(--rio-font-mono);
font-size: var(--rio-fs-sm);
}
.rio-fk-link {
color: inherit;
text-decoration: none;
border-bottom: 1px dashed var(--rio-border);
}
.rio-fk-link:hover,
.rio-fk-link:focus {
color: var(--rio-accent);
border-bottom-color: var(--rio-accent);
outline: none;
}
.rio-td--datetime {
white-space: nowrap;
font-family: var(--rio-font-mono);
font-size: var(--rio-fs-sm);
font-variant-numeric: tabular-nums;
color: var(--rio-text-muted);
}
.rio-td--text {
max-width: min(20rem, 28vw);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rio-th--checkbox, .rio-td--checkbox { text-align: center; width: 36px; padding-inline-end: 0; }
.rio-th--actions, .rio-td--actions { width: 1%; white-space: nowrap; text-align: end; }
.rio-row-checkbox,
.rio-row-checkbox-all {
appearance: none;
-webkit-appearance: none;
width: 17px;
height: 17px;
border: 1.5px solid var(--rio-border-strong);
border-radius: 4px;
cursor: pointer;
background: var(--rio-surface);
display: inline-grid;
place-items: center;
vertical-align: middle;
margin: 0;
transition: background 0.1s, border-color 0.1s;
}
.rio-row-checkbox:hover,
.rio-row-checkbox-all:hover { border-color: var(--rio-text-muted); }
.rio-row-checkbox:checked,
.rio-row-checkbox-all:checked,
.rio-row-checkbox-all:indeterminate {
background: var(--rio-accent);
border-color: var(--rio-accent);
}
.rio-row-checkbox:checked::after,
.rio-row-checkbox-all:checked::after {
content: "";
width: 10px; height: 10px;
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.rio-row-checkbox-all:indeterminate::after {
content: "";
width: 9px; height: 2px;
background: #fff;
border-radius: 1px;
}
.rio-table tbody tr.is-selected,
.rio-table tbody tr.is-selected:nth-child(even) {
background: rgb(var(--rio-accent-rgb) / 0.06);
}
.rio-table tbody tr.is-selected:hover { background: rgb(var(--rio-accent-rgb) / 0.10); }
.rio-bulk-bar {
display: none;
align-items: center;
gap: var(--rio-s3);
padding: 0.7rem var(--rio-s4);
margin-bottom: var(--rio-s3);
background: var(--rio-text-strong);
color: var(--rio-surface);
border-radius: var(--rio-radius);
font-size: var(--rio-fs-md);
font-weight: var(--rio-fw-semibold);
box-shadow: var(--rio-shadow);
}
.rio-bulk-form.is-active .rio-bulk-bar { display: flex; }
.rio-bulk-bar-count strong { font-weight: var(--rio-fw-bold); }
.rio-bulk-bar .rio-button {
background: transparent;
color: #fff;
border-color: rgba(255, 255, 255, 0.22);
box-shadow: none;
}
.rio-bulk-bar .rio-button:hover {
background: rgba(255, 255, 255, 0.12);
border-color: rgba(255, 255, 255, 0.40);
color: #fff;
}
.rio-bulk-bar .rio-button--danger {
background: var(--rio-danger);
border-color: var(--rio-danger);
}
.rio-bulk-bar .rio-button--danger:hover {
background: var(--rio-danger);
border-color: var(--rio-danger);
filter: brightness(1.1);
}
.rio-bulk-bar-clear {
margin-inline-start: auto;
background: transparent;
border: none;
color: rgba(255, 255, 255, 0.7);
font: inherit;
font-weight: var(--rio-fw-semibold);
cursor: pointer;
padding: 0.25rem 0.5rem;
border-radius: var(--rio-radius-sm);
}
.rio-bulk-bar-clear:hover { color: #fff; }
.rio-table--striped tbody tr:nth-child(even) { background: var(--rio-surface-2); }
.rio-table tbody tr:hover { background: var(--rio-accent-soft); }
.rio-th-sort {
color: inherit;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 0.3rem;
white-space: nowrap;
}
.rio-th-sort:hover { color: var(--rio-text-strong); text-decoration: none; }
.rio-th--sort-asc .rio-th-sort,
.rio-th--sort-desc .rio-th-sort { color: var(--rio-accent); }
.rio-list { padding: 0; overflow: hidden; }
.rio-list .rio-table { margin: 0; }
.rio-list .rio-table th,
.rio-list .rio-table td { padding-inline-start: var(--rio-s3); padding-inline-end: var(--rio-s3); }
.rio-list .rio-table th:first-child,
.rio-list .rio-table td:first-child { padding-inline-start: var(--rio-s4); }
.rio-list .rio-table th:last-child,
.rio-list .rio-table td:last-child { padding-inline-end: var(--rio-s3); }
.rio-list .rio-table .rio-td--actions { white-space: nowrap; }
.rio-list .rio-table .rio-td--actions .rio-button + .rio-button { margin-inline-start: var(--rio-s1); }
.rio-list .rio-table th { white-space: normal; line-height: 1.25; }
.rio-dl {
display: grid;
grid-template-columns: max-content 1fr;
gap: var(--rio-s2) var(--rio-s5);
margin: 0;
}
.rio-dl dt { font-weight: 600; color: var(--rio-text-muted); }
.rio-dl dd { margin: 0; }
.rio-api-model {
padding: var(--rio-s4) 0;
border-bottom: 1px solid var(--rio-border-soft);
}
.rio-api-model:last-child { border-bottom: 0; }
.rio-api-model__head {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: var(--rio-s3);
margin-bottom: var(--rio-s3);
}
.rio-api-model__title { margin: 0; font-size: var(--rio-fs-lg); }
.rio-api-model__endpoints,
.rio-api-model__fields {
margin-top: var(--rio-s2);
margin-bottom: var(--rio-s3);
}
.rio-playground__form {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: var(--rio-s3);
margin-bottom: var(--rio-s5);
}
.rio-playground__field {
display: flex;
flex-direction: column;
gap: var(--rio-s1);
font-size: var(--rio-fs-sm);
color: var(--rio-text-muted);
}
.rio-playground__field--wide { grid-column: 1 / -1; }
.rio-playground__field textarea {
font-family: var(--rio-font-mono, ui-monospace, SFMono-Regular, monospace);
font-size: var(--rio-fs-sm);
}
.rio-health__summary {
display: flex;
align-items: center;
gap: var(--rio-s3);
margin-bottom: var(--rio-s4);
}
.rio-health__row--error td { background: rgba(220, 38, 38, 0.04); }
.rio-health__row--warn td { background: rgba(217, 119, 6, 0.04); }
.rio-doc-list {
list-style: none;
margin: 0;
padding: 0;
}
.rio-doc-list__link {
display: flex;
flex-direction: column;
padding: var(--rio-s3) var(--rio-s4);
border: 1px solid var(--rio-border-soft);
border-radius: var(--rio-radius);
margin-bottom: var(--rio-s2);
text-decoration: none;
color: var(--rio-text);
}
.rio-doc-list__link:hover { background: var(--rio-surface-2); }
.rio-doc {
max-width: 880px;
line-height: var(--rio-line-height, 1.55);
}
.rio-doc h1, .rio-doc h2, .rio-doc h3 { margin-top: var(--rio-s5); }
.rio-doc pre {
background: var(--rio-surface-2);
padding: var(--rio-s3);
border-radius: var(--rio-radius);
overflow-x: auto;
font-size: var(--rio-fs-sm);
}
.rio-doc code {
background: var(--rio-surface-2);
padding: 0 4px;
border-radius: 3px;
font-size: 0.9em;
}
.rio-doc pre code { background: transparent; padding: 0; }
.rio-doc table { width: 100%; border-collapse: collapse; margin: var(--rio-s3) 0; }
.rio-doc th, .rio-doc td {
border-bottom: 1px solid var(--rio-border-soft);
padding: var(--rio-s2) var(--rio-s3);
text-align: start;
}
.rio-playground__actions {
grid-column: 1 / -1;
display: flex;
align-items: center;
gap: var(--rio-s3);
flex-wrap: wrap;
}
.rio-playground__url {
font-family: var(--rio-font-mono, ui-monospace, SFMono-Regular, monospace);
word-break: break-all;
}
.rio-playground__status {
margin-bottom: var(--rio-s2);
}
.rio-playground__body {
background: var(--rio-surface-2);
border: 1px solid var(--rio-border-soft);
border-radius: var(--rio-radius);
padding: var(--rio-s3);
margin: 0;
max-height: 60vh;
overflow: auto;
font-family: var(--rio-font-mono, ui-monospace, SFMono-Regular, monospace);
font-size: var(--rio-fs-sm);
white-space: pre;
min-height: 4em;
}