/* HOME — extras over Tailwind + index.html <style> block (mixer copy).
   No editor logic (lives in mixer). */
#sideList { display: flex; flex-direction: column; gap: 8px; }
#sideList .srow { display: flex; flex-direction: row; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; cursor: pointer; width: 100%; height: auto; text-align: left; font-size: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.02); transition: transform .08s; overflow: hidden; }
#sideList .srow:active { transform: scale(.98); }
#sideList .srow .tthumb { aspect-ratio: 16/9; border-radius: 6px; object-fit: cover; background: #eee; display: block; border: 1px solid #e2e8f0; flex: 2 1 0; min-width: 0; align-self: center; }
#sideList .srow .tthumb-f { aspect-ratio: 16/9; border-radius: 6px; background: linear-gradient(135deg, #1a1c23, #f97316); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 600; flex: 2 1 0; min-width: 0; align-self: center; }
#sideList .srow .tcol { display: flex; flex-direction: column; gap: 2px; padding: 0; flex: 1 1 0; min-width: 0; align-self: stretch; }
#sideList .srow .trow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#sideList .srow .tname { display: block; font-size: 12px; font-weight: 600; line-height: 1.25; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sideList .srow .tsub { display: block; font-size: 10px; font-weight: 400; color: #94a3b8; }
#sideList .srow .tid { display: block; font-size: 10px; font-weight: 400; color: #94a3b8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sideList .srow .edit-pill { display: flex; align-items: center; justify-content: center; gap: 6px; height: 28px; padding: 0 12px; font-size: 12px; font-weight: 600; color: var(--acc-ink); background: var(--acc-soft); border: 0; border-radius: 8px; margin-top: auto; cursor: pointer; width: 100%; }
#sideList .srow .edit-pill:disabled { opacity: .45; cursor: default; }
html.dark #sideList .srow .edit-pill { color: var(--acc-ink-d); background: var(--acc-soft-d); }
/* dark mode igual que mixer: clase `dark` en <html> */
html.dark #sideList .srow { background-color: #161b26; border-color: #334155; }
html.dark #sideList .srow .tname { color: #e2e8f0; }
html.dark #sideList .srow .tthumb { border-color: #334155; }
.wizard { list-style: none; display: flex; gap: 18px; padding: 8px; margin: -6px 0 3px; align-items: center; min-height: 85px; }
.wizard li { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #64748b; }
.wizard li .n { width: 32px; height: 32px; border-radius: 9999px; border: 2px solid #cbd5e1; color: #94a3b8; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; background: #fff; flex: 0 0 auto; }
.wizard li.active .n { border-color: var(--acc); color: var(--acc-ink); }
.wizard li b { display: block; font-size: 14px; color: #1a1c23; }
.wizard li i { display: block; font-style: normal; font-size: 12px; color: #94a3b8; }
.wizard li.disabled { opacity: .45; }
.wizard li.disabled .n { border-color: #cbd5e1; color: #94a3b8; }
.wizard .sep { flex: 1; height: 1px; background: #e2e8f0; min-width: 20px; max-width: 90px; list-style: none; }
/* Mobile/tablet: titles only, single row (subtitles are desktop-only). */
@media (max-width: 1023.98px) {
  .wizard { min-height: 0; gap: 12px; overflow-x: auto; scrollbar-width: none; }
  .wizard::-webkit-scrollbar { display: none; width: 0; height: 0; }
  .wizard li { flex-shrink: 0; }
  .wizard li i { display: none; }
  .wizard li b { white-space: nowrap; font-size: 13px; }
  .wizard .sep { min-width: 12px; }
}
html.dark .wizard li { color: #94a3b8; }
html.dark .wizard li b { color: #f1f5f9; }
html.dark .wizard li .n { background: #161b26; }
html.dark .wizard li.active .n { border-color: var(--acc); color: var(--acc-ink-d); }
html.dark .wizard .sep { background: #334155; }
.nav-arrow { padding: 4px; border-radius: 6px; color: #9ca3af; background: transparent; border: 0; cursor: pointer; display: flex; }
.nav-arrow:hover { background: #f3f4f6; color: #374151; }
.nav-arrow:disabled { opacity: .35; cursor: default; }
.nav-arrow:disabled:hover { background: transparent !important; color: #9ca3af !important; }
.nav-arrow.on { color: var(--acc-ink) !important; }
.nav-arrow.on:hover { background-color: var(--acc-faint) !important; color: var(--acc-ink) !important; border-radius: 9999px; }
html.dark .nav-arrow:hover { background-color: var(--acc-soft) !important; color: var(--acc-ink-d) !important; }
html.dark .nav-arrow.on { color: var(--acc-ink-d) !important; }
html.dark .nav-arrow.on:hover { background-color: var(--acc-soft) !important; color: var(--acc-ink-d) !important; }

#guestFrame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
#bezel { display: flex; min-height: 0; }
#bezel > #guestFrame { flex: 1; }
#sideList .srow { content-visibility: auto; contain-intrinsic-size: auto 96px; contain: layout paint; }
