/* RW Orbit | Resultados Web. Original RW symbol, no recoloring. */
.rw-orbit-brand{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:max-content;max-width:100%;height:40px;color:var(--foreground);vertical-align:middle}
.rw-orbit-symbol{height:100%;width:auto;aspect-ratio:1;object-fit:contain;flex-shrink:0}
.rw-orbit-wordmark{display:flex;flex-direction:column;text-align:left;line-height:1;white-space:nowrap}
.rw-orbit-name{font-size:24px;letter-spacing:-.7px;font-weight:400;line-height:1.08}.rw-orbit-name b{font-weight:750}
.rw-orbit-family{font-size:7px;letter-spacing:1.75px;margin-top:5px;font-weight:500;color:var(--muted-foreground)}
.rw-orbit-brand.h-8{height:32px;gap:6px}.rw-orbit-brand.h-8 .rw-orbit-symbol{height:27px}.rw-orbit-brand.h-8 .rw-orbit-name{font-size:17px;letter-spacing:-.5px}.rw-orbit-brand.h-8 .rw-orbit-family{font-size:5.5px;letter-spacing:1.1px;margin-top:4px}
.rw-orbit-brand.h-12{height:48px}.rw-orbit-brand.h-12 .rw-orbit-name{font-size:28px}
.rw-orbit-credit{display:flex;align-items:center;gap:7px;margin-top:7px;color:var(--muted-foreground);font-size:9px;line-height:1.35}.rw-orbit-credit img{width:39px;height:13px;object-fit:contain;flex-shrink:0}
.rw-orbit-copyright{font-size:9px;line-height:1.5}
.rw-orbit-entry-footer{position:fixed;bottom:15px;left:12px;right:12px;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:10px;color:var(--muted-foreground);z-index:1}
.rw-orbit-entry-footer a{text-decoration:none;color:inherit}.rw-orbit-entry-footer a:hover{color:var(--foreground)}
.rw-orbit-entry-footer .rw-orbit-credit{margin-top:0;font-size:10px}.rw-orbit-entry-footer .rw-orbit-credit img{width:45px;height:15px}
@media(max-height:650px){.rw-orbit-entry-footer{position:relative;bottom:auto;left:auto;right:auto;padding:18px 12px}}
/* 2026-10-12: the app locks html/body/#root to the screen (overflow:hidden). Entry pages with the
   min-h-screen layout must scroll on short phones, or the bottom of the form is unreachable. */
html.rw-orbit-entry-scroll{height:auto;overflow-y:auto}
html.rw-orbit-entry-scroll body{height:auto;overflow:visible}
html.rw-orbit-entry-scroll #root{height:auto;min-height:100%}
.rw-orbit-entry-footer.rw-orbit-entry-footer-flow{position:relative;bottom:auto;left:auto;right:auto;padding:0 12px 22px}
/* Equal top and bottom space: content that fits stays centered exactly where it was; content that does not fit starts below the language selector. */
@media(max-width:639px){html.rw-orbit-entry-scroll #root>.min-h-screen>.flex-1:has(>.absolute.top-4.right-4){padding-top:76px;padding-bottom:76px}}

/* Channel settings only. Controls use the application's light/dark theme. */
.rw-channel-tabs[role="tablist"] {
  min-width: 0;
  max-width: 100%;
  justify-content: flex-start;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 4px;
}
.rw-channel-tabs > [role="tab"] { flex: 0 0 auto; min-height: 44px; }
.rw-channel-tabs-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-bottom: 4px;
  color: var(--muted-foreground);
}
.rw-channel-tabs-controls[hidden] { display: none; }
.rw-channel-tabs-hint { font-size: 12px; line-height: 1.4; }
.rw-channel-tabs-actions { display: flex; flex-shrink: 0; gap: 6px; }
.rw-channel-tabs-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--muted-foreground) 45%, transparent);
  border-radius: 999px;
  background: var(--muted);
  color: var(--primary);
  cursor: pointer;
}
.rw-channel-tabs-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rw-channel-tabs-arrow:hover:not(:disabled) { background: var(--muted); border-color: var(--primary); }
.rw-channel-tabs-arrow:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.rw-channel-tabs-arrow:disabled { opacity: .35; cursor: default; }

/* Connection status and its contextual action form one compact unit. */
.rw-instance-connection-body { padding: 24px; }
.rw-instance-connection-heading,
.rw-instance-connection-main { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rw-instance-connection-heading { flex-wrap: wrap; }
.rw-instance-connection-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rw-instance-connection-identity p { overflow-wrap: anywhere; margin-top: 2px; }
.rw-instance-connection-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.rw-instance-connection-status { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border); border-radius: 999px; padding: 5px 10px; font-size: 12px; white-space: nowrap; color: var(--muted-foreground); }
.rw-instance-connection-status > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rw-instance-connection-status[data-state="open"] { color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, transparent); }
.rw-instance-connection-status[data-state="connecting"] { color: var(--foreground); }
.rw-instance-connection-main { margin-top: 20px; }
.rw-instance-connection-actions { flex-shrink: 0; }
.rw-instance-connection-actions button { min-height: 44px; }
.rw-instance-disconnect { color: var(--destructive); }
.rw-instance-connection-details { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted-foreground); font-size: 12px; }
.rw-instance-connection-details summary { cursor: pointer; width: fit-content; padding: 4px 0; }
.rw-instance-connection-details summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.rw-instance-connection-details p { margin-top: 8px; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .rw-instance-connection-body { padding: 20px; }
  .rw-instance-connection-main { flex-direction: column; align-items: stretch; gap: 16px; }
  .rw-instance-connection-actions button { width: 100%; }
}
