/* Pixel-closer Meta for Developers sidebar tokens */
:root {
  --uc-meta-rail: 272px;
  --uc-meta-rail-collapsed: 60px;
  --uc-meta-settings: 240px;
  --uc-meta-blue: #0064e0;
  --uc-meta-blue-soft: #e7f3ff;
  --uc-meta-text: #1c1e21;
  --uc-meta-muted: #65676b;
  --uc-meta-icon: #4b4f56;
  --uc-meta-border: #ced0d4;
  --uc-meta-border-soft: #e4e6eb;
  --uc-meta-hover: #f2f3f5;
  --uc-meta-bg: #ffffff;
  --uc-meta-canvas: #ffffff;
  --uc-meta-radius: 8px;
  --uc-meta-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

/* Kill native permanent drawer completely (no leftover flex/margin gap).
   html.uc-meta-early covers the slow-network gap before meta-sidebar.js boots. */
html.uc-meta-early .uc-hide-native-drawer,
html.uc-meta-early .MuiDrawer-root,
html.uc-meta-early .MuiDrawer-root.MuiDrawer-docked,
html.uc-meta-early .MuiDrawer-paper,
body.uc-meta-nav-on .uc-hide-native-drawer,
body.uc-meta-nav-on .MuiDrawer-root,
body.uc-meta-nav-on .MuiDrawer-root.MuiDrawer-docked,
body.uc-meta-nav-on .MuiDrawer-paper {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  flex: 0 0 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.uc-meta-nav-on.uc-user-shell {
  background: var(--uc-meta-canvas) !important;
}

/*
 * Main column: cancel MUI drawer margin/width, then offset only for Meta rail.
 * Without margin-left:0 the old drawer width + Meta padding creates a huge blank strip.
 */
body.uc-meta-nav-on .uc-main-shift {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: var(--uc-meta-rail) !important;
  padding-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 auto !important;
  background: var(--uc-meta-canvas) !important;
  transition: padding-left 0.18s ease, padding-right 0.18s ease;
  box-sizing: border-box !important;
}

/* #root must never carry the rail offset — double class caused the blank strip */
body.uc-meta-nav-on #root.uc-main-shift {
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: auto !important;
  max-width: none !important;
  background: transparent !important;
}

body.uc-meta-nav-on.uc-settings-open .uc-main-shift,
body.uc-meta-nav-on.uc-connections-open .uc-main-shift {
  padding-left: calc(var(--uc-meta-rail) + var(--uc-meta-settings)) !important;
}

body.uc-meta-nav-on.uc-rail-collapsed .uc-main-shift {
  padding-left: var(--uc-meta-rail-collapsed) !important;
}

body.uc-meta-nav-on.uc-rail-collapsed.uc-settings-open .uc-main-shift,
body.uc-meta-nav-on.uc-rail-collapsed.uc-connections-open .uc-main-shift {
  padding-left: calc(var(--uc-meta-rail-collapsed) + var(--uc-meta-settings)) !important;
}

body.uc-meta-nav-on.uc-rtl .uc-main-shift {
  padding-left: 0 !important;
  margin-left: 0 !important;
  padding-right: var(--uc-meta-rail) !important;
}

body.uc-meta-nav-on.uc-rtl.uc-settings-open .uc-main-shift,
body.uc-meta-nav-on.uc-rtl.uc-connections-open .uc-main-shift {
  padding-right: calc(var(--uc-meta-rail) + var(--uc-meta-settings)) !important;
}

/* Also neutralize common MUI inline margin on nested shells */
body.uc-meta-nav-on .uc-main-shift[style],
body.uc-meta-nav-on .uc-main-shift .MuiBox-root[style*="margin"] {
  margin-left: 0 !important;
}

/*
 * Critical: MUI permanent-drawer layout puts padding-left:~260px on <main>
 * @media (min-width: 900px). That stacks on top of our Meta rail offset and
 * creates the blank vertical strip. Kill it whenever Meta nav is active.
 * (Also re-injected last via #uc-meta-drawer-override after React hydration.)
 */
body.uc-meta-nav-on .uc-main-shift main,
body.uc-meta-nav-on .uc-main-shift > div > main,
body.uc-meta-nav-on .uc-main-shift > div > div > main,
body.uc-meta-nav-on main.MuiBox-root,
body.uc-meta-nav-on main {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
}

@media (min-width: 900px) {
  body.uc-meta-nav-on main,
  body.uc-meta-nav-on main.MuiBox-root,
  body.uc-meta-nav-on .uc-main-shift main {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

#uc-meta-rail,
#uc-meta-settings-rail {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 1200;
  background: var(--uc-meta-bg);
  font-family: var(--uc-meta-font);
  color: var(--uc-meta-text);
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

#uc-meta-rail {
  left: 0;
  width: var(--uc-meta-rail);
  border-right: 1px solid var(--uc-meta-border-soft);
}

body.uc-meta-nav-on.uc-rtl #uc-meta-rail {
  left: auto;
  right: 0;
  border-right: none;
  border-left: 1px solid var(--uc-meta-border-soft);
}

body.uc-rail-collapsed #uc-meta-rail {
  width: var(--uc-meta-rail-collapsed);
}

#uc-meta-settings-rail {
  left: var(--uc-meta-rail);
  width: var(--uc-meta-settings);
  display: none;
  background: #f7f8fa;
  border-right: 1px solid var(--uc-meta-border-soft);
}

body.uc-settings-open #uc-meta-settings-rail,
body.uc-connections-open #uc-meta-settings-rail {
  display: flex;
}

body.uc-rail-collapsed.uc-settings-open #uc-meta-settings-rail,
body.uc-rail-collapsed.uc-connections-open #uc-meta-settings-rail {
  left: var(--uc-meta-rail-collapsed);
}

body.uc-rtl #uc-meta-settings-rail {
  left: auto;
  right: var(--uc-meta-rail);
  border-right: none;
  border-left: 1px solid var(--uc-meta-border-soft);
}

/* App switcher — matches Meta "UpConverse" selector */
.uc-app-switcher-wrap {
  padding: 12px 12px 8px;
}

.uc-app-switcher {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--uc-meta-border);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: default;
  min-height: 44px;
  box-sizing: border-box;
}

.uc-app-switcher .uc-app-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  flex: 0 0 28px;
  background: transparent;
  display: block;
}

.uc-app-switcher .uc-app-name {
  flex: 1;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--uc-meta-text);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uc-app-switcher .uc-app-chevron {
  color: var(--uc-meta-muted);
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.uc-rail-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 8px 12px;
}

.uc-rail-scroll::-webkit-scrollbar {
  width: 8px;
}
.uc-rail-scroll::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 8px;
}
.uc-rail-scroll:hover::-webkit-scrollbar-thumb {
  background: #bcc0c4;
}

/* Nav rows — Meta density */
.uc-nav-item,
.uc-nav-group-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--uc-meta-text);
  text-align: left;
  padding: 0 8px 0 10px;
  height: 40px;
  border-radius: var(--uc-meta-radius);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: -0.015em;
  box-sizing: border-box;
}

.uc-nav-item:hover,
.uc-nav-group-btn:hover {
  background: var(--uc-meta-hover);
}

.uc-nav-group-btn.open {
  color: var(--uc-meta-blue);
  font-weight: 600;
}

.uc-nav-group-btn.open .uc-nav-ico {
  color: var(--uc-meta-blue);
}

.uc-nav-item.active {
  background: var(--uc-meta-blue-soft);
  color: var(--uc-meta-blue);
  font-weight: 600;
}

.uc-nav-item.active .uc-nav-ico {
  color: var(--uc-meta-blue);
}

.uc-nav-ico {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  color: var(--uc-meta-icon);
}

.uc-nav-ico svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* filled variants when path-only icons used */
.uc-nav-ico svg[data-fill="1"] {
  fill: currentColor;
  stroke: none;
}

.uc-nav-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uc-nav-chevron {
  width: 16px;
  height: 16px;
  color: var(--uc-meta-muted);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease;
  flex: 0 0 16px;
}

.uc-nav-chevron svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.uc-nav-group-btn.open .uc-nav-chevron {
  transform: rotate(180deg);
  color: var(--uc-meta-blue);
}

.uc-nav-children {
  display: none;
  padding: 0 0 4px;
}

.uc-nav-group.open > .uc-nav-children {
  display: block;
}

/* Nested items — Meta indent under expanded parent (text only) */
.uc-nav-children .uc-nav-item {
  padding-left: 42px;
  height: 36px;
  font-size: 15px;
  font-weight: 500;
  color: var(--uc-meta-text);
  gap: 0;
}

.uc-nav-children .uc-nav-item .uc-nav-ico {
  display: none; /* Meta sub-items are text-only under parent */
}

.uc-nav-children .uc-nav-item.active {
  background: var(--uc-meta-blue-soft);
  color: var(--uc-meta-blue);
  font-weight: 600;
}

.uc-nav-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #fa383e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.uc-nav-badge.new {
  background: var(--uc-meta-blue-soft);
  color: var(--uc-meta-blue);
  font-size: 10px;
  height: 18px;
  padding: 0 6px;
}

.uc-rail-divider {
  height: 1px;
  background: var(--uc-meta-border-soft);
  margin: 8px 8px;
}

/* Shared fixed top bar: title · page actions · account */
#uc-app-topbar {
  display: none;
  position: fixed;
  top: 0;
  left: var(--uc-meta-rail, 272px);
  right: 0;
  z-index: 2600;
  min-height: 64px;
  padding: 10px 24px;
  box-sizing: border-box;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-bottom: 1px solid var(--uc-meta-border-soft);
  font-family: var(--uc-meta-font);
}

body.uc-has-page-title #uc-app-topbar {
  display: flex !important;
}

body.uc-has-page-title .uc-main-shift {
  padding-top: 64px !important;
}

body.uc-has-page-title .uc-mui-header-hidden,
body.uc-has-page-title [data-uc-mui-header="1"] {
  display: none !important;
}

/* Duplicate Iv page-hero banners — actions live in top bar */
body.uc-has-page-title [data-uc-page-hero="1"] {
  display: none !important;
}

/* Connection / settings pages: also hide leftover breadcrumbs under the shared title */
body.uc-has-page-title.uc-connections-open .MuiBreadcrumbs-root,
body.uc-has-page-title.uc-settings-open .MuiBreadcrumbs-root,
body.uc-has-page-title.uc-connections-open nav[aria-label="breadcrumb"],
body.uc-has-page-title.uc-settings-open nav[aria-label="breadcrumb"] {
  display: none !important;
}

/* Settings/Connections React pages: hide empty spacer left by removed hero */
body.uc-has-page-title.uc-connections-open .uc-main-shift main > div > .MuiBox-root:first-child:empty,
body.uc-has-page-title.uc-settings-open .uc-main-shift main > div > .MuiBox-root:first-child:empty {
  display: none !important;
}

/* Shared topbar shifts with Connections secondary rail */
body.uc-connections-open #uc-app-topbar {
  left: calc(var(--uc-meta-rail, 272px) + var(--uc-meta-settings, 240px));
}

body.uc-rail-collapsed.uc-connections-open #uc-app-topbar {
  left: calc(var(--uc-meta-rail-collapsed, 60px) + var(--uc-meta-settings, 240px));
}

body.uc-settings-open #uc-app-topbar {
  left: calc(var(--uc-meta-rail, 272px) + var(--uc-meta-settings, 240px));
}

body.uc-rail-collapsed.uc-settings-open #uc-app-topbar {
  left: calc(var(--uc-meta-rail-collapsed, 60px) + var(--uc-meta-settings, 240px));
}

#uc-header-page-title {
  flex: 1 1 auto;
  min-width: 0;
  pointer-events: none;
}

#uc-header-page-title h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: var(--uc-meta-text);
  font-family: var(--uc-meta-font);
}

#uc-header-page-title .uc-page-titlebar-sub {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 16px;
  color: var(--uc-meta-muted);
  font-family: var(--uc-meta-font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 52vw;
}

#uc-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 1 auto;
  flex-wrap: wrap;
}

.uc-topbar-btn {
  appearance: none;
  border: 1px solid var(--uc-meta-border);
  background: #fff;
  color: var(--uc-meta-text);
  border-radius: 8px;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--uc-meta-font);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  line-height: 1;
}

.uc-topbar-btn:hover {
  background: var(--uc-meta-hover);
}

.uc-topbar-btn.is-primary {
  background: var(--uc-meta-blue);
  border-color: var(--uc-meta-blue);
  color: #fff;
}

.uc-topbar-btn.is-primary:hover {
  background: #0052b8;
}

.uc-topbar-btn svg {
  width: 18px;
  height: 18px;
  font-size: 18px !important;
}

#uc-header-account-slot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

#uc-page-titlebar {
  display: none !important;
}

body.uc-has-page-title .MuiBreadcrumbs-root,
body.uc-has-page-title nav[aria-label="breadcrumb"] {
  display: none !important;
}

/* Footer — Meta: menu · help · collapse */
.uc-rail-footer {
  border-top: 1px solid var(--uc-meta-border-soft);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  box-sizing: border-box;
}

.uc-rail-footer button {
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--uc-meta-icon);
  display: grid;
  place-items: center;
  padding: 0;
}

.uc-rail-footer button:hover {
  background: var(--uc-meta-hover);
}

.uc-rail-footer button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.uc-rail-collapsed .uc-app-name,
body.uc-rail-collapsed .uc-app-chevron,
body.uc-rail-collapsed .uc-nav-label,
body.uc-rail-collapsed .uc-nav-chevron,
body.uc-rail-collapsed .uc-nav-badge,
body.uc-rail-collapsed .uc-nav-children {
  display: none !important;
}

body.uc-rail-collapsed .uc-app-switcher {
  justify-content: center;
  padding: 8px;
}

body.uc-rail-collapsed .uc-nav-item,
body.uc-rail-collapsed .uc-nav-group-btn {
  justify-content: center;
  padding: 0;
}

body.uc-rail-collapsed .uc-rail-footer {
  flex-direction: column;
  gap: 4px;
  padding: 8px 6px;
}

/* One clear collapse control — avoid stacked / double-arrow look */
#uc-nav-collapse {
  position: relative;
}

#uc-nav-collapse svg {
  width: 18px;
  height: 18px;
}

/* Settings secondary rail */
.uc-settings-head {
  padding: 16px 16px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--uc-meta-muted);
}

.uc-settings-group-label {
  padding: 14px 16px 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--uc-meta-muted);
}

#uc-meta-settings-rail .uc-nav-item {
  padding-left: 14px;
}

#uc-meta-settings-rail .uc-nav-item .uc-nav-ico {
  display: grid;
}

/* Connections hub — fixed overlay outside React tree (survives remounts) */
#uc-connections-hub {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--uc-meta-rail);
  z-index: 2500;
  background: #f7f8fa;
  overflow: auto;
  /* Match dashboard content inset */
  padding: 12px 12px 48px;
  box-sizing: border-box;
  font-family: var(--uc-meta-font);
}

body.uc-page-connections #uc-connections-hub {
  display: block !important;
}

body.uc-settings-open.uc-page-connections #uc-connections-hub {
  left: calc(var(--uc-meta-rail) + var(--uc-meta-settings));
}

body.uc-rail-collapsed #uc-connections-hub {
  left: var(--uc-meta-rail-collapsed);
}

body.uc-rail-collapsed.uc-settings-open.uc-page-connections #uc-connections-hub {
  left: calc(var(--uc-meta-rail-collapsed) + var(--uc-meta-settings));
}

body.uc-rtl.uc-page-connections #uc-connections-hub {
  left: 0;
  right: var(--uc-meta-rail);
}

@media (max-width: 900px) {
  body.uc-page-connections #uc-connections-hub {
    left: 0 !important;
    right: 0 !important;
  }
}

.uc-conn-wrap {
  max-width: 960px;
  font-family: var(--uc-meta-font);
}

.uc-conn-wrap h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--uc-meta-text);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.uc-conn-wrap .uc-conn-sub {
  color: var(--uc-meta-muted);
  margin: 0 0 20px;
  font-size: 14px;
}

.uc-conn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.uc-conn-card {
  border: 1px solid var(--uc-meta-border-soft);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 148px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.uc-conn-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  color: var(--uc-meta-text);
}

.uc-conn-card p {
  margin: 0;
  color: var(--uc-meta-muted);
  font-size: 13px;
  line-height: 1.4;
  flex: 1;
}

.uc-conn-card button {
  align-self: flex-start;
  border: 0;
  background: var(--uc-meta-blue);
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.uc-conn-card button:hover {
  filter: brightness(0.96);
}

/* Top header: Inbox bell (replaces language / RTL / theme chrome) */
.uc-top-inbox {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 4px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--uc-meta-border-soft, #e2e5eb);
  background: #fff;
  color: #4b5563;
  cursor: pointer;
  z-index: 1400;
  box-sizing: border-box;
}

.uc-top-inbox:hover {
  background: #f3f4f6;
  color: #111827;
}

.uc-top-inbox .uc-top-inbox-ico {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  line-height: 0;
}

.uc-top-inbox .uc-top-inbox-ico svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.uc-top-inbox .uc-top-inbox-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
}

/* Fallback when account host is missing — pin top-right */
body > .uc-top-inbox {
  position: fixed;
  top: 10px;
  right: 56px;
  margin-right: 0;
}

.uc-mobile-toggle {
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1300;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--uc-meta-border-soft);
  background: #fff;
  cursor: pointer;
  place-items: center;
}

@media (max-width: 900px) {
  .uc-mobile-toggle {
    display: grid;
  }

  #uc-meta-rail,
  #uc-meta-settings-rail {
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
  }

  body.uc-mobile-open #uc-meta-rail {
    transform: translateX(0);
  }

  body.uc-mobile-open.uc-settings-open #uc-meta-settings-rail,
  body.uc-mobile-open.uc-connections-open #uc-meta-settings-rail {
    transform: translateX(0);
    left: 0;
    width: min(86vw, 280px);
    z-index: 1201;
  }

  body.uc-meta-nav-on .uc-main-shift,
  body.uc-meta-nav-on.uc-settings-open .uc-main-shift,
  body.uc-meta-nav-on.uc-connections-open .uc-main-shift,
  body.uc-meta-nav-on.uc-rail-collapsed .uc-main-shift {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Connections is a single hub page: no secondary rail, full width */
body.uc-connections-open:not(.uc-settings-open) {
  --uc-meta-settings: 0px;
}

body.uc-connections-open:not(.uc-settings-open) #uc-meta-settings-rail {
  display: none !important;
}

/* Setup screens embedded in a Connections popup (?embed=1 inside an iframe) */
html.uc-embed,
body.uc-embed {
  --uc-meta-rail: 0px;
  --uc-meta-rail-collapsed: 0px;
  --uc-meta-settings: 0px;
}

body.uc-embed #uc-meta-rail,
body.uc-embed #uc-meta-settings-rail,
body.uc-embed #uc-meta-mobile-toggle,
body.uc-embed #uc-connections-hub {
  display: none !important;
}

body.uc-embed #uc-ads-app,
body.uc-embed #uc-email-connect-app,
body.uc-embed #uc-inbox-app,
body.uc-embed #uc-social-app {
  left: 0 !important;
}

/* keep the page's action buttons (e.g. Add Device) but drop title/account chrome */
body.uc-embed #uc-app-topbar {
  left: 0 !important;
  right: 0 !important;
}

body.uc-embed #uc-header-page-title,
body.uc-embed #uc-header-account-slot {
  display: none !important;
}

body.uc-embed .uc-main-shift,
body.uc-embed #root.uc-main-shift {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
