:root{--bg: #0b0e1a;--panel: #111526;--border: #272c47;--text: #e6e9f4;--muted: #7880a0;--accent: #eda800;--blue: #60a5fa;color-scheme:dark}@media (prefers-color-scheme: light){:root{--bg: #f4f6fc;--panel: #ffffff;--border: #dce1f0;--text: #1a1e30;--muted: #5c657f;color-scheme:light}}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--text)}.wrap{max-width:1200px;margin:0 auto;padding:1.25rem 1.25rem 3rem}.topbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1.25rem}.topbar h1{font-size:1.15rem;margin:0}.hint{color:var(--muted);font-size:.8rem}.health{display:flex;gap:.4rem;flex-wrap:wrap}.pill{font-size:.72rem;font-weight:600;padding:.2rem .6rem;border-radius:999px;background:#7880a026;border:1px solid var(--border);white-space:nowrap}.pill--ok{color:#34d399;border-color:#34d39966}.pill--auto{color:var(--blue);border-color:#60a5fa66}.pill--off{color:var(--muted)}.pill--erro{color:#f87171;border-color:#f8717166}.grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.card{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:1.1rem 1.2rem}.card--wide{grid-column:1 / -1}.card h2{font-size:.95rem;margin:0 0 .8rem}.card h3{font-size:.82rem;margin:0 0 .5rem;color:var(--muted)}.videos-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:.8rem}.videos-head h2{margin:0 0 2px}.form{display:flex;flex-direction:column;gap:.7rem}.form--row{flex-direction:row;flex-wrap:wrap;align-items:flex-end}.form--add{margin-top:.9rem}.form label{display:flex;flex-direction:column;gap:.25rem;font-size:.78rem;color:var(--muted);flex:1;min-width:120px}.form input,.form select{background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:.5rem .6rem;font-size:.85rem;font-family:inherit}.fluxo{margin:0 0 .6rem;padding-left:1.1rem;display:flex;flex-direction:column;gap:.45rem;font-size:.84rem}.fluxo li{line-height:1.35}.divider{height:1px;background:var(--border);margin:1.1rem 0}.btn-row{display:flex;gap:.5rem;margin-top:.7rem}.btn{background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:.55rem .9rem;font-size:.85rem;font-weight:600;cursor:pointer;font-family:inherit}.btn:hover{border-color:var(--muted)}.btn--primary{background:var(--accent);color:#1a1400;border-color:var(--accent)}.switch{display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;background:var(--bg);border:1px solid var(--border);border-radius:999px;padding:.4rem .9rem .4rem .5rem;font-size:.85rem;font-weight:600;color:var(--muted)}.switch-dot{width:14px;height:14px;border-radius:50%;background:var(--muted);transition:.2s}.switch--on{color:var(--blue);border-color:#60a5fa80}.switch--on .switch-dot{background:var(--blue)}.switch:disabled{opacity:.5;cursor:not-allowed}.toast{position:fixed;top:1rem;right:1rem;z-index:10;padding:.7rem 1rem;border-radius:10px;font-size:.85rem;font-weight:600;border:1px solid var(--border);background:var(--panel)}.toast--ok{color:#34d399;border-color:#34d39980}.toast--erro{color:#f87171;border-color:#f8717180}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.82rem}th,td{text-align:left;padding:.5rem .6rem;border-bottom:1px solid var(--border);white-space:nowrap}th{color:var(--muted);font-weight:600;font-size:.74rem;text-transform:uppercase;letter-spacing:.03em}.mono{font-family:ui-monospace,SF Mono,Menlo,monospace}.status{font-weight:600}.empty{color:var(--muted);text-align:center;padding:1rem}.erro-cell{color:#f87171;max-width:220px;overflow:hidden;text-overflow:ellipsis}.mini{font-size:.74rem;padding:.2rem .55rem;border-radius:6px;cursor:pointer;border:1px solid var(--border);background:var(--bg);color:var(--text);font-family:inherit}.mini--on{color:#34d399;border-color:#34d39966}.mini--off{color:var(--muted)}.mini--del{color:#f87171;border-color:#f8717166}.acoes{display:flex;gap:6px;white-space:nowrap}td input,td select{font-family:inherit;font-size:.8rem;padding:.2rem .3rem}@media (max-width: 780px){.grid{grid-template-columns:1fr}}
