/* Dashboard extras on top of /styles.css */
body.dash { --tabh: 0px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
body.dash main { max-width: 720px; margin: 0 auto; }
.dash .owner-tabs { overflow-x: auto; scrollbar-width: none; }
.dash .owner-tabs a { flex: 0 0 auto; padding: 9px 12px; }
.dash .chip.pickc { min-height: 40px; padding: 8px 14px; }
.dash .warnbox { background: #fff4d6; color: #5a3d00; }
.dash .list { padding: 6px 12px; }
.dash .lrow { display: flex; align-items: center; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dash .lrow:last-child { border-bottom: 0; }
.dash .lrow.off b { opacity: .45; text-decoration: line-through; }
.dash .mv { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font-size: 13px; flex: 0 0 auto; }
.dash .mv:disabled { opacity: .3; cursor: default; }
.dash .eye { min-width: 92px; min-height: 40px; }
.dash .savebar { position: sticky; bottom: 0; display: grid; gap: 8px; padding: 12px 0 calc(8px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 30%); }
.dash .stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 12px; }
.dash .stat { display: flex; flex-direction: column; gap: 2px; margin: 0; text-decoration: none; color: inherit; }
.dash .stat b { font: 800 30px/1 var(--display); color: var(--lake-2); }
.dash .stat span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.dash .urow { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.dash .thumb { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.dash .badge.red { background: #c0392b; color: #fff; }
.dash .badge.amber { background: #ffe1a6; color: #5a3d00; }
.dash .modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash .modes button { font: 700 15px/1.2 inherit; padding: 12px 6px; border-radius: 12px; border: 2px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; min-height: 50px; }
.dash .modes button.on.off { background: #7d8f9b; border-color: #7d8f9b; color: #fff; }
.dash .modes button.on.live { background: #e8461e; border-color: #e8461e; color: #fff; }
.dash .modes button.on.plan { background: #0e6d8f; border-color: #0e6d8f; color: #fff; }
.dash textarea.in { resize: vertical; font: inherit; }
:root[data-theme="dark"] .dash .warnbox { background: #4a3510; color: #ffe2a8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dash .warnbox { background: #4a3510; color: #ffe2a8; } }
.dash .lrow .grow { flex: 1; min-width: 0; }
