/* FlexiHTV Consola: o mesmo visual do painel do gateway (style.css), com as peças próprias da consola. */
main > * + * { margin-top: 20px; }
.user-box { margin-left: auto; }
.user-box .muted { display: inline; }
a.btn { text-decoration: none; display: inline-block; }
.card > .btn:last-child, .card > a.btn:last-child { margin-top: 12px; }
@media (max-width: 1599px) { .user-box .muted { display: none; } }
.crumbs { color: var(--ink-soft); font-size: .9rem; margin-bottom: 4px; }
.crumbs a { color: var(--brand-ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.toolbar h1 { margin-right: 8px; }
.split { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1100px) { .split { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.gw-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.gw { background: var(--panel); border: 1px solid var(--edge); border-radius: 10px; padding: 14px 16px; display: grid; gap: 10px;
  box-shadow: 0 1px 2px rgba(29, 36, 51, .05); }
.gw-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gw-head strong { font-size: 1.02rem; }
.gw .kv { margin: 0; gap: 4px 14px; font-size: .9rem; }
.gw .kv dd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mini-rack { display: inline-flex; gap: 4px; flex-wrap: wrap; max-width: 220px; }
.mini-rack i { width: 16px; height: 10px; border-radius: 2px; background: var(--steel); }
.mini-rack i.ok { background: var(--ok); } .mini-rack i.warn { background: var(--warn-fill); } .mini-rack i.bad { background: var(--bad); }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feed li { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--steel); }
.feed li:last-child { border-bottom: 0; padding-bottom: 0; }
.feed .row-actions { justify-content: flex-start; margin-top: 4px; }
.code { font: 600 1.6rem/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; padding: 10px 14px;
  background: var(--steel); border-radius: 8px; display: inline-block; user-select: all; }
.note { font-size: .82rem; color: var(--ink-soft); }
.alert-ok { background: #e9f6ef; border-left-color: var(--ok); }
.clickable { cursor: pointer; }
.chip-off { background: #ecebe6; color: var(--ink-soft); }
.versions-mini { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: .9rem; }
.site-block + .site-block { margin-top: 10px; }
.empty-ok { padding: 14px 16px; background: var(--panel); border: 1px dashed var(--edge); border-radius: var(--radius); }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: var(--radius); font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.3); z-index: 40; }

/* estado dos envios com erro */
.text-bad { color: var(--bad); }
