/* Owner dashboard. The colors are the tokens and the surface values of docs/DESIGN.md. */
.owner-dashboard { display: grid; gap: 16px; max-width: 1200px; }
.owner-nav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.owner-nav a { display: inline-block; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); color: var(--text); text-decoration: none; }
.owner-nav a:hover { border-color: var(--green); }
.owner-section { display: grid; gap: 14px; padding: 20px 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); scroll-margin-top: calc(var(--header) + 12px); }
.owner-block { display: grid; gap: 8px; }
.owner-block h3 { font-size: 17px; }
.owner-empty, .owner-generated { color: var(--muted); }
.owner-warning { padding: 10px 14px; border: 1px solid var(--error); border-radius: var(--radius); background: #321b40; color: #ffe0f0; }
.owner-table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.owner-table-scroll:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.owner-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.owner-table caption { padding: 8px 10px; color: var(--muted); text-align: left; caption-side: top; }
.owner-table th, .owner-table td { padding: 6px 10px; border-top: 1px solid var(--border); text-align: right; white-space: nowrap; }
.owner-table thead th { background: var(--raised); color: var(--text); font-weight: 600; }
.owner-table th[scope=row] { position: sticky; left: 0; background: #172032; color: var(--text); font-weight: 400; text-align: left; white-space: normal; min-width: 180px; }
.owner-table thead th:first-child { text-align: left; }
.owner-table tbody tr:hover td { background: #19222f; }
.analytics-funnel { display: grid; gap: 10px; }
html[data-theme="light"] .owner-table th[scope=row] { background: var(--panel); }
html[data-theme="light"] .owner-table tbody tr:hover td { background: var(--raised); }
html[data-theme="light"] .owner-warning { background: var(--panel); color: var(--text); }
@media (max-width: 720px) { .owner-section { padding: 16px; } }

.owner-dashboard, .owner-section, .owner-block, .owner-table-scroll { min-width: 0; }
@media (max-width: 480px) {
  .owner-dashboard { width: 100%; }
  .owner-nav a { min-height: 44px; padding: 12px; }
}
