#workspace .content:has(#pg-ai.on > #assigned-desktop:not([hidden])) {
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #111b20;
}
#workspace #pg-ai.on:has(> #assigned-desktop:not([hidden])) {
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  animation: none;
}
/* Keep the cross-origin renderer in the viewport, beneath an opaque cover.
   Moving it offscreen preserves the connection but throttles animation frames.
   Never reparent the live iframe: that reloads its browsing context. */
#workspace .content:has(#pg-ai.desktop-session-retained) { isolation: isolate; }
#workspace.show #pg-ai.desktop-session-retained:not(.on) {
  display: block !important; position: fixed;
  left: var(--retained-desktop-left, 0px); top: var(--retained-desktop-top, 0px);
  width: var(--retained-desktop-width, 100vw); max-width: none;
  height: var(--retained-desktop-height, 100dvh); min-height: 0; overflow: hidden;
  margin: 0; padding: 0; pointer-events: none; animation: none; z-index: -1;
}
#workspace.show #pg-ai.desktop-session-retained:not(.on)::after {
  content: ""; position: absolute; inset: 0; z-index: 10;
  background: #f6f8fa; pointer-events: none;
}
#pg-ai:has(> #assigned-desktop:not([hidden])) > :not(#assigned-desktop),
.content:has(#pg-ai.on > #assigned-desktop:not([hidden])) > .site-beian,
body:has(#pg-ai.on > #assigned-desktop:not([hidden])) #robson-assistant-root,
#assigned-desktop[hidden], #assigned-desktop [hidden] { display: none !important; }


#assigned-desktop {
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template: auto minmax(0,1fr) auto / minmax(0,1fr);
  width: 100%; min-width: 0; overflow: hidden;
  font: 14px/1.45 "Segoe UI", "Microsoft YaHei", sans-serif;
  color-scheme: light;
  background: #111b20; color: #19333c;
}
#assigned-desktop .assigned-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px 20px; flex-wrap: wrap; padding: 8px clamp(10px,1.35vw,22px);
  margin: 0; box-sizing: border-box;
}
#assigned-desktop .assigned-head {
  background: #f5f8f7; border-bottom: 1px solid #c8d8d5; z-index: 2;
}
#assigned-desktop .assigned-identity, #assigned-desktop .assigned-tools,
#assigned-desktop .assigned-inputs, #assigned-desktop .assigned-meters {
  display: flex; align-items: center; gap: 8px; min-width: 0;
}
#assigned-desktop .assigned-identity { gap: 10px; }
#assigned-desktop .assigned-device-access {
  display: flex; align-items: center; flex: 1 1 240px; min-width: 0; gap: 12px;
}
#assigned-desktop .assigned-ssh {
  min-width: 0; max-width: 100%; gap: 8px; padding-inline: 8px;
}
#assigned-desktop .assigned-ssh code {
  overflow: hidden; text-overflow: ellipsis; font: 12px/1.4 Consolas, monospace; color: #415c60;
}
#assigned-desktop .assigned-ssh > span {
  flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 82px; color: #17645e;
}
#assigned-desktop .assigned-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
#assigned-desktop .assigned-identity strong {
  color: #162e36; font-size: 16px; font-weight: 650; letter-spacing: -.015em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#assigned-desktop .assigned-device-icon {
  display: grid; place-items: center; width: 30px; height: 30px; flex: none;
  color: #08655d; background: #e2efeb; border-radius: 8px;
}
#assigned-desktop svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#assigned-desktop button svg { width: 14px; height: 14px; margin-right: 5px; }
#assigned-desktop .assigned-status {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12px; color: #50666b;
}
#assigned-desktop .assigned-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #839298; }
#assigned-desktop.connected .assigned-status::before { background: #17856f; box-shadow: 0 0 0 3px #18856f13; }
#assigned-desktop :is(button, select, summary) {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  min-height: 32px; margin: 0; padding: 4px 10px; border: 1px solid #c9d7d5;
  border-radius: 6px; background: #fff; color: #243f46; white-space: nowrap; cursor: pointer;
  font: inherit; font-size: 13px; line-height: 1.35; font-weight: 550;
}
#assigned-desktop select { padding-inline: 6px 2px; }
#assigned-desktop :is(button, select, summary):hover { border-color: #7ea69f; background: #edf5f2; }
#assigned-desktop :is(button, select, summary, input):focus-visible { outline: 2px solid #109887; outline-offset: 2px; }
#assigned-desktop :disabled { cursor: default; opacity: .48; }
#assigned-desktop [data-full], #assigned-desktop [data-retry] { background: #17645e; color: #fff; border-color: #17645e; }
#assigned-desktop [data-full]:hover, #assigned-desktop [data-retry]:hover { background: #10504b; }
#assigned-desktop .assigned-quality { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #50666b; }
#assigned-desktop .assigned-options { position: relative; }
#assigned-desktop summary { list-style: none; gap: 8px; }
#assigned-desktop summary::-webkit-details-marker { display: none; }
#assigned-desktop summary::after { content: ""; width: 5px; height: 5px; transform: translateY(-1px) rotate(45deg); border: solid currentColor; border-width: 0 1.5px 1.5px 0; }
#assigned-desktop details[open] summary { border-color: #83a8a1; }
#assigned-desktop .assigned-menu {
  position: absolute; right: 0; top: calc(100% + 5px); display: grid; min-width: 142px;
  padding: 5px; background: white; border: 1px solid #cfdbd8; border-radius: 8px; box-shadow: 0 5px 18px #10272324;
}
#assigned-desktop .assigned-menu button { justify-content: flex-start; border: 0; }
#assigned-desktop [data-power-state] { padding: 5px 10px 7px; color: #50666b; border-bottom: 1px solid #dce5e2; font-size: 12px; }
#assigned-desktop :is(.assigned-confirm,.assigned-ssh-dialog) {
  position: fixed; inset: 0; box-sizing: border-box; width: min(380px,calc(100% - 24px)); max-height: calc(100% - 24px);
  height: fit-content; margin: auto; padding: 20px; overflow: auto; color: #19333c; background: white;
  border: 1px solid #c5d6d2; border-radius: 12px; box-shadow: 0 12px 48px #071a2250;
}
#assigned-desktop :is(.assigned-confirm,.assigned-ssh-dialog)::backdrop { background: #0c202873; }
#assigned-desktop :is(.assigned-confirm,.assigned-ssh-dialog) h2 { margin: 0; font-family: inherit; font-size: 17px; line-height: 1.45; font-weight: 650; overflow-wrap: anywhere; }
#assigned-desktop :is(.assigned-confirm,.assigned-ssh-dialog) p { color: #50666b; margin: 12px 0 18px; }
#assigned-desktop :is(.assigned-confirm,.assigned-ssh-dialog) form > div { display: flex; gap: 8px; justify-content: flex-end; }
#assigned-desktop .assigned-ssh-dialog input { box-sizing: border-box; width: 100%; margin-bottom: 16px; padding: 8px; font: 13px/1.5 Consolas, monospace; }
#assigned-desktop .assigned-confirm [data-confirm] { background: #17645e; color: white; }
#assigned-desktop .assigned-display { min-height: 0; position: relative; background: #111b20; }
#assigned-desktop iframe { display: block; width: 100%; height: 100%; border: 0; }
#assigned-desktop .assigned-wait, #assigned-desktop .assigned-empty {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  color: #e0ebe9; background: #111b20;
}
#assigned-desktop .assigned-wait { z-index: 1; pointer-events: none; }
#assigned-desktop .assigned-empty p { margin: 0; }
#assigned-desktop .assigned-foot {
  background: #18282f; color: #c6d4d6; border-top: 1px solid #33454c;
  padding-block: 5px; font-size: 12px;
}
#assigned-desktop .assigned-foot :is(button,select) {
  color-scheme: dark; color: #e7eeee; background: #23363d; border-color: #40545b; min-height: 29px; font-size: 12px;
}
#assigned-desktop .assigned-foot :is(button,select):hover { background: #30464d; border-color: #72948f; }
#assigned-desktop .assigned-keys { display: inline-flex; }
#assigned-desktop [data-keys] { border-radius: 5px 0 0 5px; }
#assigned-desktop [data-send] { border-radius: 0 5px 5px 0; border-left: 0; }
#assigned-desktop .assigned-control { display: flex; align-items: center; gap: 5px; white-space: nowrap; cursor: pointer; }
#assigned-desktop .assigned-control input { width: 15px; height: 15px; margin: 0; accent-color: #55bca6; }
#assigned-desktop .assigned-meters { gap: 12px; font-size: 12px; font-variant-numeric: tabular-nums; }
#assigned-desktop [data-latency], #assigned-desktop [data-duration], #assigned-desktop [data-size] {
  white-space: nowrap; font-family: Consolas, monospace; font-size: 12px; font-weight: 400;
}
#assigned-desktop [data-latency] { color: #b1e7db; }
#assigned-desktop:fullscreen { width: 100vw; height: 100dvh; }
#assigned-desktop [data-desktop-choice] { max-width: min(46vw, 240px); min-width: 0; }
#assigned-desktop.wuying-active .assigned-head > .assigned-tools:not(.wuying-tools),
#assigned-desktop.wuying-active > .assigned-display:not(.wuying-display),
#assigned-desktop.wuying-active > .assigned-foot { display: none; }
#assigned-desktop .wuying-display { grid-row: 2 / -1; }
#assigned-desktop .wuying-display .assigned-empty { padding: 16px; text-align: center; }
#assigned-desktop .wuying-display .assigned-empty strong { font-size: 20px; }
#assigned-desktop .wuying-display .assigned-empty p { color: #bbcdcc; }
#assigned-desktop .wuying-info dl { grid-template-columns: auto minmax(0,1fr); gap: 8px 12px; width: min(275px,75vw); margin: 0; padding: 12px; font-size: 13px; }
#assigned-desktop .wuying-info dt { color: #50666b; }
#assigned-desktop .wuying-info dd { margin: 0; overflow-wrap: anywhere; }
#assigned-desktop .wuying-power small { color: #50666b; padding: 5px 10px; }
#assigned-desktop.wuying-active .assigned-head { display:flex; flex-wrap:nowrap; overflow-x:auto; gap:12px; }
#assigned-desktop.wuying-active .assigned-device-access { display:flex; flex:0 0 auto; }
#assigned-desktop.wuying-active .assigned-head .wuying-tools { display:flex; flex:0 0 auto; flex-wrap:nowrap; width:auto; margin-inline-start:auto; }
#assigned-desktop .wuying-tools .assigned-menu {
  position: fixed; inset: auto; margin: 0; box-sizing: border-box; overflow: auto;
  z-index: 3;
}
#assigned-desktop .wuying-tools .assigned-menu[popover]:not(:popover-open) { display: none; }
#assigned-desktop .wuying-ssh { display:flex; align-items:center; gap:8px; min-width:240px; max-width:500px; flex:0 1 500px; font-size:12px; }
#assigned-desktop .wuying-ssh [data-ssh-copy] { flex:1 1 auto; gap:10px; min-width:0; max-width:100%; justify-content:flex-start; }
#assigned-desktop .wuying-ssh code { overflow:hidden; text-overflow:ellipsis; font:12px/1.4 Consolas,monospace; }
#assigned-desktop .wuying-ssh [data-ssh-status] { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; color:#586e75; }
#assigned-desktop .wuying-ssh [data-ssh-status]::before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }
#assigned-desktop .wuying-ssh[data-state=reachable] [data-ssh-status] { color:#087348; }
#assigned-desktop .wuying-ssh[data-state=unreachable] [data-ssh-status] { color:#b62c35; }
#assigned-desktop .wuying-ssh [data-ssh-copy]:disabled { opacity:1; color:#586e75; }

/* Cloud desktop waiting surface: the actual session replaces this entire layer. */
#assigned-desktop .wuying-waiting {
  --cloud-ink: #edf8f7;
  --cloud-muted: #afc9ce;
  --cloud-accent: #69dbcc;
  --cloud-line: #79cbbb26;
  z-index: 1; overflow: auto; padding: 28px 20px; box-sizing: border-box;
  background: radial-gradient(ellipse at 50% 42%, #214d56 0, #173943 38%, #102832 80%);
  color: var(--cloud-ink); text-align: center;
}
#assigned-desktop .wuying-waiting::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(#80bfba0a 1px, transparent 1px), linear-gradient(90deg, #80bfba0a 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, transparent 15%, #000 90%);
}
#assigned-desktop .wuying-atmosphere {
  position: absolute; width: min(760px,95%); height: min(500px,80%); border-radius: 50%;
  top: 16%; left: 50%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse, #58ceba12, transparent 65%);
  animation: wuying-atmosphere 10s ease-in-out infinite;
}
#assigned-desktop .wuying-waiting-content {
  position: relative; display: flex; flex-direction: column; align-items: center; width: min(500px,100%); min-width: 0;
}
#assigned-desktop .wuying-illustration {
  position: relative; display: grid; place-items: center; width: 216px; height: 196px; margin-bottom: 22px;
}
#assigned-desktop .wuying-orbit {
  position: absolute; width: 190px; height: 190px; border: 1px solid var(--cloud-line); border-radius: 50%;
  box-shadow: 0 0 0 20px #7bcbb906, inset 0 0 40px #62d9c208;
}
#assigned-desktop .wuying-orbit-dot {
  position: absolute; width: 192px; height: 192px; border-radius: 50%;
}
#assigned-desktop .wuying-orbit-dot::after {
  content: ""; position: absolute; top: 24px; left: 26px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--cloud-accent); box-shadow: 0 0 14px #69dbcc80;
}
#assigned-desktop .wuying-illustration svg {
  width: 160px; height: 132px; stroke: #9edbd6; stroke-width: 1.6;
  filter: drop-shadow(0 8px 12px #051d3040);
}
#assigned-desktop .wuying-monitor { fill: #163f4b; }
#assigned-desktop .wuying-cloud { stroke: #69dbcc; }
#assigned-desktop .wuying-terminal { stroke: #cbf7ee; stroke-width: 2.5; }
#assigned-desktop .wuying-waiting-label { color: #96c3c5; font-size: 12px; letter-spacing: .16em; margin-bottom: 8px; }
#assigned-desktop .wuying-desktop-name {
  max-width: 100%; overflow-wrap: anywhere; font-size: 14px; font-weight: 500; color: #c6dddd;
}
#assigned-desktop .wuying-waiting h2 {
  margin: 15px 0 12px; color: var(--cloud-ink); font: 600 clamp(22px,2.1vw,30px)/1.4 "Segoe UI","Microsoft YaHei",sans-serif;
  letter-spacing: .015em;
}
#assigned-desktop .wuying-waiting p { max-width: 440px; min-height: 23px; margin: 0; color: #cfdfdf; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
#assigned-desktop .wuying-stages { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 0; margin: 30px 0 0; padding: 0; list-style: none; }
#assigned-desktop .wuying-stages li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--cloud-muted); white-space: nowrap; }
#assigned-desktop .wuying-stages li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #637f89; }
#assigned-desktop .wuying-stages li + li::after { content: ""; order: -1; width: 26px; height: 1px; margin: 0 10px 0 2px; background: #6b9c9f55; }
#assigned-desktop .wuying-stages li[data-state="active"] { color: #b9f5e9; }
#assigned-desktop .wuying-stages li[data-state="active"]::before { background: var(--cloud-accent); box-shadow: 0 0 0 4px #69dbcc17; animation: wuying-beacon 2s ease-in-out infinite; }
#assigned-desktop .wuying-stages li[data-state="done"]::before { background: #69dbcc; }
#assigned-desktop .wuying-waiting [data-cloud-hint] { margin-top: 24px; min-height: 20px; max-width: 100%; color: var(--cloud-muted); font-size: 12px; line-height: 1.7; }
#assigned-desktop .wuying-waiting [data-cloud-retry] { margin-top: 22px; padding: 9px 22px; min-height: 40px; color: #153f42; background: #9fe9d9; border-color: #9fe9d9; }
#assigned-desktop .wuying-waiting [data-cloud-retry]:hover { background: #c3f5e9; }
#assigned-desktop .wuying-waiting:is([data-phase="starting"],[data-phase="connecting"],[data-phase="checking"]) .wuying-orbit-dot { animation: wuying-orbit 5s linear infinite; }
#assigned-desktop .wuying-waiting:is([data-phase="starting"],[data-phase="connecting"]) .wuying-illustration svg { animation: wuying-float 4s ease-in-out infinite; }
#assigned-desktop .wuying-waiting:is([data-phase="error"],[data-phase="stopped"],[data-phase="unauthorized"],[data-phase="expired"],[data-phase="ready"]) .wuying-atmosphere { animation: none; }
#assigned-desktop .wuying-waiting[data-phase="error"] .wuying-orbit-dot::after { background: #edbd88; box-shadow: none; }
@keyframes wuying-orbit { to { transform: rotate(360deg); } }
@keyframes wuying-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wuying-atmosphere { 0%,100% { opacity: .4; transform: translateX(-50%) scale(.95); } 50% { opacity: 1; transform: translateX(-50%) scale(1.08); } }
@keyframes wuying-beacon { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
  #assigned-desktop .wuying-waiting *, #assigned-desktop .wuying-waiting *::before { animation: none !important; }
}
@container (max-width: 480px) {
  #assigned-desktop .wuying-illustration { transform: scale(.85); margin-bottom: 0; }
  #assigned-desktop .wuying-stages li { font-size: 11px; gap: 6px; }
  #assigned-desktop .wuying-stages li + li::after { width: 16px; margin-inline: 6px; }
}
@media (max-height: 620px) {
  #assigned-desktop .wuying-illustration { width: 160px; height: 130px; transform: scale(.7); margin-block: -24px 0; }
  #assigned-desktop .wuying-waiting h2 { margin-top: 10px; }
  #assigned-desktop .wuying-stages { margin-top: 18px; }
  #assigned-desktop .wuying-waiting [data-cloud-hint] { margin-top: 16px; }
}
@container (max-width: 480px) {
  #assigned-desktop.wuying-active .assigned-head { position: relative; display: flex; flex-wrap: nowrap; }
  #assigned-desktop.wuying-active .assigned-head .wuying-tools { display: flex; width: auto; margin-inline-start: auto; }
  #assigned-desktop.wuying-active .wuying-info { position: static; }
  #assigned-desktop.wuying-active .wuying-info dl { left: 8px; right: 8px; width: auto; }
}
@container (min-width: 481px) and (max-width: 960px) {
  #assigned-desktop .assigned-ssh code { display: none; }
}
@container (max-width: 660px) {
  #assigned-desktop .assigned-bar { gap: 5px; padding: 5px 10px; }
  #assigned-desktop .assigned-tools, #assigned-desktop .assigned-meters { margin-left: auto; }
  #assigned-desktop .assigned-foot, #assigned-desktop .assigned-tools { flex-wrap: wrap; }
  #assigned-desktop .assigned-identity { max-width: 100%; }
}
@container (max-width: 480px) {
  #assigned-desktop .assigned-head { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; }
  #assigned-desktop .assigned-head .assigned-tools { display: contents; }
  #assigned-desktop .assigned-device-access { display: contents; }
  #assigned-desktop .assigned-ssh { grid-area: 3 / 1 / 4 / -1; justify-content: space-between; }
  #assigned-desktop .assigned-identity { grid-area: 1 / 1; gap: 5px; }
  #assigned-desktop [data-full] { grid-area: 1 / 2; }
  #assigned-desktop [data-toggle] { grid-area: 1 / 3; }
  #assigned-desktop .assigned-tools .assigned-quality { grid-area: 2 / 1; }
  #assigned-desktop .assigned-tools > details { grid-row: 2; }
  #assigned-desktop .assigned-tools > details summary { width: 100%; }
  #assigned-desktop .assigned-tools, #assigned-desktop .assigned-meters { margin: 0; width: 100%; }
  #assigned-desktop .assigned-tools { gap: 5px; }
  #assigned-desktop .assigned-meters { border-top: 1px solid #33454c; padding-top: 4px; }
  #assigned-desktop [data-shot] { margin-left: auto; }
  #assigned-desktop .assigned-tools { row-gap: 4px; }
  #assigned-desktop .assigned-options .assigned-menu { right: 0; left: auto; min-width: 122px; }
  #assigned-desktop .assigned-inputs, #assigned-desktop .assigned-meters { flex-wrap: wrap; }
}


.cloud-workbench .cloud-plan:is([data-state="expired"],[data-state="renew-soon"]) {
  border-color: #eddbb8;
  background: #fff6e5;
  color: #784d17;
}

.cloud-workbench .cloud-workbench-dialog:has(.cloud-runtime) {
  max-width: 500px;
  border-radius: 14px;
}
.cloud-workbench .cloud-workbench-dialog:has(.cloud-runtime) .cloud-dialog-head {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  padding-inline-start: 44px;
  align-items: start;
}
.cloud-runtime {
  --runtime-teal: #007c78;
  --runtime-tag: #dcefeb;
  --runtime-baseline: #9cb6bc;
  --runtime-plot-height: 132px;
}
.cloud-runtime [hidden] { display: none !important; }
.cloud-runtime-device {
  position: relative;
  margin-top: -6px;
  padding-inline-start: 44px;
  color: var(--cw-muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.cloud-runtime-device > [aria-hidden] {
  position: absolute;
  left: 0;
  top: -20px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--runtime-teal);
  background: var(--runtime-tag);
  border-radius: 8px;
}
.cloud-runtime-device svg { width: 17px; height: 17px; }
.cloud-runtime :is(.cloud-runtime-summary,.cloud-runtime-summary > div,.cloud-runtime-chart header,.cloud-runtime-chart footer,.cloud-runtime-details header,.cloud-runtime-list li,.cloud-runtime-range,.cloud-runtime-result) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px 8px;
}
.cloud-runtime .cloud-runtime-summary {
  flex-wrap: wrap;
  margin: 15px 0 12px;
}
.cloud-runtime .cloud-runtime-summary > div { flex-wrap: wrap; justify-content: flex-start; align-items: baseline; gap: 4px 10px; }
.cloud-runtime-summary span { color: var(--cw-muted); font-size: 12px; }
.cloud-runtime-summary strong { font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.cloud-workbench .cloud-runtime [data-runtime-refresh] { color: var(--runtime-teal); }
.cloud-runtime-chart {
  border: 1px solid var(--cw-border);
  border-radius: 9px;
  padding: 11px 12px 8px;
  background: linear-gradient(180deg,#f5f9f9,var(--cw-surface));
}
.cloud-workbench .cloud-runtime h4 { margin: 0; font-size: 13px; font-weight: 650; }
.cloud-runtime :is([data-runtime-week],[data-runtime-day],.cloud-runtime-chart footer) {
  color: var(--cw-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.cloud-runtime .cloud-runtime-plot { position: relative; margin: 18px 0 0 28px; }
.cloud-runtime-guides {
  position: absolute;
  inset: 0 0 auto;
  height: var(--runtime-plot-height);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cloud-runtime-guides > span { position: relative; border-top: 1px solid var(--cw-border); }
.cloud-runtime-guides > span:last-child { border-color: var(--runtime-baseline); }
.cloud-runtime-guides > span > span {
  position: absolute;
  inset-inline-end: calc(100% + 6px);
  transform: translateY(-50%);
  color: var(--cw-muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.cloud-runtime-bars { display: grid; position: relative; grid-template-columns: repeat(7,minmax(0,1fr)); }
.cloud-workbench .cloud-runtime-bars button {
  display: grid;
  grid-template-rows: var(--runtime-plot-height) 27px;
  justify-items: center;
  align-items: center;
  padding: 0;
  min-width: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--cw-muted);
  position: relative;
}
.cloud-workbench .cloud-runtime-bars button:is(:hover,[aria-pressed="true"]) { background: #007c7809; }
.cloud-workbench .cloud-runtime-bars button:focus-visible { z-index: 2; }
.cloud-runtime-mark {
  position: relative;
  align-self: end;
  width: clamp(9px,42%,22px);
  height: var(--runtime-share);
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg,#70bdb5,#a2d4cf);
}
.cloud-runtime-bars [aria-pressed="true"] .cloud-runtime-mark { background: linear-gradient(180deg,var(--runtime-teal),#55b6a9); }
.cloud-runtime-bars [data-zero] .cloud-runtime-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--runtime-baseline);
}
.cloud-runtime-bars [data-zero][aria-pressed="true"] .cloud-runtime-mark::before { background: var(--runtime-teal); }
.cloud-runtime-mark > span {
  position: absolute;
  inset-inline-start: 50%;
  bottom: calc(100% + 5px);
  transform: translateX(-50%);
  display: none;
  z-index: 1;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--runtime-tag);
  color: var(--runtime-teal);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  white-space: nowrap;
}
.cloud-runtime-bars button:nth-child(-n+2) .cloud-runtime-mark > span { inset-inline-start: 0; transform: none; }
.cloud-runtime-bars button:nth-last-child(-n+2) .cloud-runtime-mark > span { inset-inline-start: auto; inset-inline-end: 0; transform: none; }
.cloud-runtime-bars [aria-pressed="true"] .cloud-runtime-mark > span { display: block; }
.cloud-runtime-tick {
  padding-inline: 3px;
  border-radius: 4px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cloud-runtime-bars [aria-pressed="true"] .cloud-runtime-tick {
  background: var(--runtime-tag);
  color: var(--runtime-teal);
  font-weight: 650;
}
.cloud-runtime .cloud-runtime-chart footer { font-size: 11px; }
.cloud-runtime-details { margin-top: 14px; }
.cloud-workbench .cloud-runtime [data-runtime-status] { margin: 4px 0 0; color: var(--cw-muted); }
.cloud-workbench .cloud-runtime [data-runtime-status][data-error] { color: #805519; }
.cloud-runtime [data-runtime-status]:empty { display: none; }
.cloud-runtime-list { list-style: none; margin: 5px 0 0; padding: 0; border-top: 1px solid var(--cw-border); }
.cloud-runtime .cloud-runtime-list li { padding: 7px 0; border-bottom: 1px solid var(--cw-border); flex-wrap: wrap; }
.cloud-runtime :is(.cloud-runtime-range,.cloud-runtime-result) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cloud-runtime-range { font-size: 12px; }
.cloud-runtime-state { background: #edf2f4; color: var(--cw-muted); border-radius: 4px; padding: 0 5px; font-size: 11px; }
.cloud-runtime-state[data-state="running"] { background: #e0f2ed; color: #225f4d; }
.cloud-runtime-state[data-state="gap"] { background: #fff0d7; color: #805519; }
.cloud-workbench .cloud-runtime [data-runtime-more] { margin-top: 8px; }
.cloud-workbench .cloud-workbench-dialog .cloud-runtime-note { margin: 9px 0 0; font-size: 11px; }
@media(max-width:385px) {
  .cloud-runtime .cloud-runtime-chart { padding-inline: 8px; }
  .cloud-runtime-tick > span { display: none; }
}
@media(pointer:coarse) {
  .cloud-workbench .cloud-runtime-bars button { min-height: 44px; }
}

.cloud-workbench .cloud-test-card {
  padding: 12px;
  border: 1px solid var(--cw-border);
  border-radius: 8px;
  background: #f6faf9;
}
.cloud-test-card header, .cloud-test-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.cloud-workbench .cloud-test-card h4 { margin: 0; font-size: 15px; }
.cloud-test-card header span {
  padding: 1px 6px;
  border-radius: 4px;
  color: #225f4d;
  background: #e0f2ed;
  font-size: 12px;
}
.cloud-test-card dl {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,125px),1fr));
  gap: 7px 12px;
  margin: 8px 0;
  padding: 8px 0;
  border-block: 1px solid var(--cw-border);
}
.cloud-test-card dt { color: var(--cw-muted); }
.cloud-test-card dd { margin: 0; overflow-wrap: anywhere; }
.cloud-test-card .cloud-test-actions { justify-content: flex-start; }
.cloud-test-card .cloud-test-feedback { margin-bottom: 0; }
.cloud-test-card .cloud-test-feedback:empty { display: none; }

.cloud-runtime .cloud-runtime-billing{margin:12px 0 0;border:1px solid var(--cw-border);border-radius:8px;background:#f6faf9}.cloud-runtime .cloud-runtime-billing summary{padding:8px 10px;color:var(--runtime-teal);font-size:12px;font-weight:650;cursor:pointer}.cloud-runtime .cloud-runtime-billing summary:focus-visible{outline:2px solid var(--runtime-teal);outline-offset:2px;border-radius:8px}.cloud-runtime .cloud-billing-body{padding:0 10px 9px}.cloud-runtime .cloud-billing-rate{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 10px;font-size:12px}.cloud-runtime .cloud-billing-rate>span:last-child{display:inline-flex;gap:6px;align-items:baseline;color:var(--cw-muted)}.cloud-workbench .cloud-runtime .cloud-billing-rate input{width:95px;min-height:32px;padding:5px 8px;font-variant-numeric:tabular-nums}.cloud-runtime .cloud-billing-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:8px 0 0;border-top:1px solid var(--cw-border)}.cloud-runtime .cloud-billing-values>div{min-width:0;padding:7px 10px 4px 0}.cloud-runtime .cloud-billing-values>div+div{padding-inline-start:10px;border-inline-start:1px solid var(--cw-border)}.cloud-runtime .cloud-billing-values dt{color:var(--cw-muted);font-size:11px}.cloud-runtime .cloud-billing-values dd{margin:2px 0 0;overflow-wrap:anywhere;font-size:14px;font-weight:650;font-variant-numeric:tabular-nums}.cloud-runtime .cloud-billing-body p{margin:3px 0 0;color:var(--cw-muted);font-size:11px}.cloud-runtime .cloud-billing-body [data-billing-error]{color:#805519}

.cloud-runtime .cloud-runtime-priced .cloud-billing-body {
  padding: 8px 10px;
}
.cloud-runtime .cloud-runtime-priced .cloud-billing-values {
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin: 0;
  border-top: 0;
}
.cloud-runtime .cloud-runtime-priced .cloud-billing-values > div { padding-block: 0 5px; }
.cloud-runtime-priced small { display: block; color: var(--cw-muted); font-size: 10px; overflow-wrap: anywhere; }
.cloud-runtime-slice-prices {
  display: flex; flex: 0 0 100%; flex-wrap: wrap; gap: 3px 9px;
  color: var(--cw-muted); font-size: 11px; font-variant-numeric: tabular-nums;
}

.cloud-runtime .cloud-billing-breakdown {
  margin-top: 5px;
  border-top: 1px solid var(--cw-border);
}
.cloud-runtime .cloud-billing-breakdown > summary {
  padding: 6px 0 2px;
}
.cloud-billing-breakdown dl {
  margin: 3px 0 0;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.cloud-billing-breakdown dl:empty { display: none; }
.cloud-billing-breakdown dl > div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3px 8px;
  padding: 3px 0;
}
.cloud-billing-breakdown dd { margin: 0; font-weight: 650; }
