/* Vision AI camera wall (pages/vision/wall.html). Placeholder animation only — there is no video and no model. */
.vw-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.vw-bar .ms-auto { display: flex; align-items: center; gap: 10px; }
.vw-note { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--sp-muted); }
.vw-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.vw-grid { display: grid; gap: 10px; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.vw-tile { position: relative; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #0b1220; aspect-ratio: 16 / 9; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; animation: vw-in .4s var(--sp-ease) both; animation-delay: calc(var(--i) * 35ms); }
.vw-tile:hover { box-shadow: var(--sp-shadow-md); transform: translateY(-1px); }
.vw-tile.is-on { border-color: var(--sp-primary); box-shadow: 0 0 0 3px var(--sp-primary-ring); }
.vw-tile.has-alert { border-color: var(--sp-danger); }
.vw-tile canvas { display: block; width: 100%; height: 100%; }
@keyframes vw-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.vw-tag { position: absolute; left: 8px; top: 7px; max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 99px; background: rgba(11, 18, 32, .72); color: #e5ecf6; font-size: .66rem; font-weight: 600; letter-spacing: .02em; pointer-events: none; backdrop-filter: blur(4px); }
.vw-rec { width: 6px; height: 6px; border-radius: 50%; background: #ef4444; animation: vw-blink 1.4s steps(1) infinite; }
.vw-tile.is-off .vw-rec { background: #94a3b8; animation: none; }
@keyframes vw-blink { 50% { opacity: .2; } }
.vw-alert { position: absolute; left: 8px; bottom: 7px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; background: var(--sp-danger); color: #fff; font-size: .64rem; font-weight: 700; pointer-events: none; }
.vw-side { position: sticky; top: calc(var(--sp-topbar-h) + 16px); display: flex; flex-direction: column; gap: 12px; }
.vw-focus { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0b1220; margin-bottom: 12px; }
.vw-focus canvas { display: block; width: 100%; height: 100%; }
.vw-meta { display: grid; grid-template-columns: 90px 1fr; gap: 6px 10px; margin: 0 0 12px; font-size: .78rem; }
.vw-meta dt { color: var(--sp-muted); font-weight: 500; }
.vw-meta dd { margin: 0; color: var(--sp-text); }
.tr-bad { color: var(--sp-danger-text); font-weight: 600; }
.vw-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.vw-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow: auto; }
.vw-feed li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--sp-divider); border-radius: 10px; font-size: .76rem; animation: vw-in .35s var(--sp-ease) both; }
.vw-feed li b { display: block; color: var(--sp-text); font-weight: 600; }
.vw-feed li span { color: var(--sp-muted); font-size: .7rem; }
.vw-feed .ic { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--sp-warning-soft); color: var(--sp-warning); font-size: 1rem; }
.vw-feed .ic.is-bad { background: var(--sp-danger-soft); color: var(--sp-danger); }
.vw-feed .conf { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--sp-text-2); }
@media (max-width: 1199.98px) { .vw-layout { grid-template-columns: 1fr; } .vw-side { position: static; } .vw-grid { --cols: 3 !important; } }
@media (max-width: 767.98px) { .vw-grid { --cols: 2 !important; } }
@media (prefers-reduced-motion: reduce) { .vw-tile, .vw-feed li { animation: none; } .vw-rec { animation: none; } }
