/* Mayla's data card (OP-001, js/onix-mayla-data.js): the answer from the company's records — the figures, the groups,
   the first records with their links, "Open the list". The panel's own tokens (onix-mayla.css, onix-theme.css) carry
   both themes. */
.mayla-data .mayla-data-result { padding-top: 8px; border-top: 1px solid var(--line); }
.mayla-data .mayla-data-result:first-of-type { border-top: 0; padding-top: 0; }
.mayla-data-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: 6px; }
.mayla-data-head strong { font: 600 14px/1.3 var(--font-text); color: var(--ink); }
.mayla-data-app { color: var(--muted); font-size: 12px; }
.mayla-data-count { margin-left: auto; color: var(--ink); font: 600 13px/1.3 var(--font-text); font-variant-numeric: tabular-nums; }
.mayla-data-error { margin: 0 0 6px; color: var(--danger, var(--ink)); font-size: 13px; }
.mayla-data-totals { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.mayla-data-total {
    display: inline-flex; flex-direction: column; gap: 1px; padding: 5px 10px;
    border: 1px solid var(--line); border-radius: var(--radius-md, 10px); background: var(--panel);
}
.mayla-data-total small { color: var(--muted); font-size: 11px; line-height: 1.2; }
.mayla-data-total b { font: 600 14px/1.25 var(--font-text); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mayla-data-scroll { overflow-x: auto; margin: 0 0 6px; max-width: 100%; }
.mayla-data-table { width: 100%; border-collapse: collapse; font-size: 12.5px; line-height: 1.35; }
.mayla-data-table th {
    text-align: left; color: var(--muted); font-weight: 600; padding: 4px 6px; border-bottom: 1px solid var(--line-strong, var(--line));
    white-space: nowrap;
}
.mayla-data-table td { padding: 4px 6px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.mayla-data-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mayla-data-link { color: var(--brand); text-decoration: none; font-weight: 500; }
.mayla-data-link:hover { text-decoration: underline; }
.mayla-data-open { display: inline-block; margin-top: 2px; }
/* OP-068: what a result offers to do next (a file of the panel attached to the record, a bill or an expense made of it). */
.mayla-data-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 2px; }
.mayla-data-done { margin: 0; color: var(--ink); font-size: 13px; }
.mayla-data .mayla-sources a.mayla-chip { text-decoration: none; display: inline-block; }
.mayla-data-disclaimer { margin: 6px 0 0; color: var(--muted); font-size: 11.5px; }
/* A query of the catalogue in the command list (kind "query"), beside the guide's tasks and the jobs (.mayla-cmd--job). */
.mayla-cmd--query { border-left: 3px solid var(--good, var(--brand)); }
