/* Shared compact desktop workspace controls and Home spacing. */
@media (min-width: 721px) {
  body.connected-app .cs-context {
    padding-block: 8px;
  }
  body.connected-app .cs-project-select label {
    margin-bottom: 2px;
  }
  body.connected-app .cs-project-select > .rv-select > .rv-select-trigger {
    min-height: 36px !important;
    font-size: 19px !important;
  }
  body.connected-app .cs-context-end .rv-select-trigger {
    min-height: 36px !important;
    padding-block: 5px !important;
    font-size: 12px !important;
  }
  body.connected-app #shell-status.cs-notice:not(:empty) {
    padding-block: 4px;
    font-size: 12px;
    line-height: 1.4;
  }
  body.connected-app #sync-storage-notice {
    margin: 0;
    padding: 4px 4vw;
    font-size: 12px;
    line-height: 1.4;
  }
  #rv-exact-home #home-view .orbital-key { padding-bottom: 4px; }
  #rv-exact-home #home-view .rv-home-title {
    padding-block: 13px 10px;
  }
  #rv-exact-home #home-view .rv-home-title h1 {
    font-size: clamp(24px, 2.1vw, 30px);
  }
  #rv-exact-home #home-view .rv-home-title .eyebrow {
    font-size: 11px;
  }
}

/* The Home shell shares the portal header gutters at every viewport width. */
#rv-exact-home .rv-shell:has(> #main-content > #home-view:not([hidden])) {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding-inline: 4vw;
}
@media (max-width: 1050px) {
  #rv-exact-home .rv-shell:has(> #main-content > #home-view:not([hidden])) {
    padding-inline: 20px;
  }
}

/* Connected Home uses one circular coordinate space at every width. */
#rv-exact-home .rv-orbital {
  height: var(--rv-orbit-height, clamp(340px, calc(100svh - 345px), 840px));
  width: 100%;
  max-width: none;
  margin-inline: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #03101b;
}
#rv-exact-home .rv-orbital .rv-space { opacity: 1; object-fit: fill; object-position: center; }
#rv-exact-home .rv-orbital .rv-shade { background: none; }
#rv-exact-home .rv-orbital .rv-orbits { inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
#rv-exact-home .rv-orbital .rv-on-target { top: 5.5%; font-size: var(--rv-orbit-status-size, 24px); line-height: 1.1; }
#rv-exact-home .rv-round-ready .rv-core {
  top: var(--rv-orbit-center-y, 51.3%); width: var(--rv-orbit-core); height: var(--rv-orbit-core);
  border: calc(var(--rv-orbit-outline) * 1.18) solid #c7ff23;
  background: radial-gradient(#0b2515,#020a06 70%);
  box-shadow: 0 0 24px #b7ff1ab0, inset 0 0 15px #b7ff1a7d;
}
#rv-exact-home .rv-round-ready .rv-core strong { font-size: calc(var(--rv-orbit-core-text) * .87); line-height: 1.12; }
#rv-exact-home .rv-round-ready .rv-core .rv-resultant { margin: 2px 0; font-size: clamp(7px, calc(var(--rv-orbit-core-text) * .46), 13px); line-height: 1.1; }
#rv-exact-home .rv-round-ready .rv-core small { margin-top: 2px; font-size: clamp(7px, calc(var(--rv-orbit-core-text) * .43), 12px); line-height: 1.15; }
#rv-exact-home .rv-round-ready .rv-node {
  left: var(--rv-node-x); top: var(--rv-node-y);
  width: var(--rv-orbit-icon); height: var(--rv-orbit-icon);
  transform: translate(-50%,-50%); display: block;
  --label-width: var(--rv-orbit-label-width, 100px);
}
#rv-exact-home .rv-round-ready .rv-node .rv-node-icon {
  width: 100%; height: 100%; margin: 0; border: var(--rv-orbit-outline) solid var(--rv-ring-ink);
  box-shadow: 0 0 8px color-mix(in srgb,var(--rv-ring-ink) 55%,transparent),
              inset 0 0 11px color-mix(in srgb,var(--rv-ring-ink) 34%,transparent);
}
#rv-exact-home .rv-round-ready .rv-node[data-contributes="true"] .rv-node-icon {
  box-shadow: inset 0 0 14px color-mix(in srgb,var(--rv-ring-ink) 52%,transparent),
              0 0 16px color-mix(in srgb,var(--rv-ring-ink) 85%,transparent),
              0 0 28px color-mix(in srgb,var(--rv-ring-ink) 48%,transparent);
}
#rv-exact-home .rv-round-ready .rv-node :is(b,small) {
  display: block; position: absolute; width: var(--label-width);
  overflow-wrap: break-word; font-family: inherit; line-height: 1.05;
}
#rv-exact-home .rv-round-ready .rv-node b { bottom: 53%; font-size: var(--rv-orbit-title-size); }
#rv-exact-home .rv-round-ready .rv-node small { top: 53%; color: #fff; }
#rv-exact-home .rv-round-ready .rv-node:is([data-open-vector="fuel"],[data-open-vector="health"]) :is(b,small) {
  right: calc(100% + var(--rv-label-gap)); text-align: right;
}
#rv-exact-home .rv-round-ready .rv-node:is([data-open-vector="train"],[data-open-vector="move"]) :is(b,small) {
  left: calc(100% + var(--rv-label-gap)); text-align: left;
}
#rv-exact-home .rv-round-ready .rv-node:is([data-open-vector="body"],[data-open-vector="recovery"]) :is(b,small) {
  left: 50%; transform: translateX(-50%);
}
#rv-exact-home .rv-round-ready .rv-node[data-open-vector="body"] b { top: auto; bottom: calc(100% + var(--rv-label-gap) + var(--rv-orbit-reading-size) + 4px); }
#rv-exact-home .rv-round-ready .rv-node[data-open-vector="body"] small { top: auto; bottom: calc(100% + var(--rv-label-gap)); }
#rv-exact-home .rv-round-ready .rv-node[data-open-vector="recovery"] b { top: calc(100% + var(--rv-label-gap)); bottom: auto; }
#rv-exact-home .rv-round-ready .rv-node[data-open-vector="recovery"] small { top: calc(100% + var(--rv-label-gap) + var(--rv-orbit-title-size) + 4px); }
#rv-exact-home .rv-pole-label { display: contents; }
#rv-exact-home .rv-orbit-inline-poles .rv-pole-label {
  display: flex; align-items: baseline; gap: 8px; width: max-content;
  position: absolute; left: 50%; transform: translateX(-50%); pointer-events: none;
}
#rv-exact-home .rv-orbit-inline-poles [data-open-vector="body"] .rv-pole-label { bottom: calc(100% + var(--rv-label-gap)); }
#rv-exact-home .rv-orbit-inline-poles [data-open-vector="recovery"] .rv-pole-label { top: calc(100% + var(--rv-label-gap) - 2px); }
#rv-exact-home .rv-orbit-inline-poles .rv-node .rv-pole-label :is(b,small) {
  position: static; transform: none; width: auto; white-space: nowrap;
}
#rv-exact-home .rv-round-ready :is(.rv-node,.rv-core):focus-visible { outline: 3px solid white; outline-offset: 4px; }
@media (max-width: 700px) {
  #rv-exact-home .rv-round-ready .rv-side-label { display: none; }
}

#rv-exact-home .rv-round-ready .rv-core .rv-logo-art { width:calc(var(--rv-orbit-logo) * .92); height:auto; display:block; }
#rv-exact-home .rv-round-ready .rv-core strong { max-width:76%; font-weight:600; text-align:center; }
#rv-exact-home .orbital-key .rv-contribution { margin-inline-start: auto; }

#rv-exact-home .rv-round-ready .rv-core::after { border-color:#dfff76; }
#rv-exact-home .rv-round-ready .rv-node small { font-family: system-ui,sans-serif; font-size:var(--rv-orbit-reading-size); }
#rv-exact-home .rv-round-ready .rv-node :is(b,small) { pointer-events:none; }
#rv-exact-home .rv-round-ready .rv-side-label { letter-spacing:.17em; }

#rv-exact-home .rv-round-ready .rv-node[data-contributes="false"] .rv-node-icon { border-style: solid; }
#rv-exact-home .rv-round-ready .rv-side-label { top:51.3%; transform:translateY(-50%); font-size:clamp(14px, var(--rv-orbit-title-size), 25px); font-weight:700; }
#rv-exact-home .rv-round-ready .rv-on-target.rv-target-active { color:#caff21; }
