.remote-vm-access-section{
  position:relative;
  --dq-r19-primary:var(--dq-brand-primary,var(--tenant-primary,var(--accent,#28dfc4)));
  --dq-r19-secondary:var(--dq-brand-secondary,var(--tenant-secondary,#52efd4));
  --dq-r19-surface:var(--dq-brand-surface,var(--tenant-surface,var(--surface,#081723)));
  --dq-r19-raised:var(--dq-brand-raised,var(--tenant-surface-elevated,var(--surface-2,#0c1d2b)));
  --dq-r19-modal:var(--dq-brand-modal,var(--tenant-modal,#071520));
  --dq-r19-border:var(--dq-brand-border,var(--tenant-border,var(--border,#244052)));
  --dq-r19-text:var(--dq-brand-text,var(--tenant-text,var(--text,#e8f2f6)));
  --dq-r19-muted:var(--dq-brand-text-secondary,var(--tenant-text-secondary,var(--muted,#91a6b2)));
  --dq-r19-button-text:var(--dq-brand-button-text,var(--tenant-button-text,#041713));
}
.remote-vm-access-section>.eyebrow{display:block;margin-bottom:12px;color:var(--dq-r19-primary)!important}
.remote-vm-callout{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:16px 17px;margin-bottom:17px;
  border:1px solid color-mix(in srgb,var(--dq-r19-primary) 22%,var(--dq-r19-border));
  border-radius:14px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--dq-r19-primary) 5%,var(--dq-r19-raised)),var(--dq-r19-surface));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.remote-vm-callout>div{display:grid;gap:5px;min-width:0}
.remote-vm-callout b{font-size:14px;color:var(--dq-r19-text);font-weight:850;letter-spacing:.01em}
.remote-vm-callout span:not(.badge){font-size:12px;line-height:1.55;color:var(--dq-r19-muted)}
.remote-vm-callout .badge{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;min-height:29px;padding:0 10px;
  border-radius:999px;font-size:10px;font-weight:850;letter-spacing:.05em;text-transform:uppercase;
  white-space:nowrap;
}
.remote-vm-callout .badge.pending_setup{
  color:var(--dq-r19-primary)!important;
  border:1px solid color-mix(in srgb,var(--dq-r19-primary) 36%,var(--dq-r19-border))!important;
  background:color-mix(in srgb,var(--dq-r19-primary) 9%,var(--dq-r19-surface))!important;
}
.remote-vm-callout .badge.ready{
  color:#73e2bd!important;
  border:1px solid color-mix(in srgb,#43d39f 42%,var(--dq-r19-border))!important;
  background:color-mix(in srgb,#43d39f 10%,var(--dq-r19-surface))!important;
}
.remote-vm-callout .badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 10px color-mix(in srgb,currentColor 45%,transparent)}
.remote-vm-access-section .form-grid{gap:15px 12px}
.remote-vm-access-section .dq-remote-field{gap:7px}
.remote-vm-access-section .dq-remote-field>span{color:var(--dq-r19-muted);font-size:12px;font-weight:650}
.remote-vm-access-section .dq-remote-field input{
  width:100%;min-height:42px;padding:0 13px;
  border:1px solid var(--dq-r19-border)!important;border-radius:10px!important;
  background:color-mix(in srgb,var(--dq-r19-modal) 82%,var(--dq-r19-raised))!important;
  color:var(--dq-r19-text)!important;outline:none;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.remote-vm-access-section .dq-remote-field input::placeholder{color:color-mix(in srgb,var(--dq-r19-muted) 74%,transparent)}
.remote-vm-access-section .dq-remote-field input:hover{border-color:color-mix(in srgb,var(--dq-r19-primary) 23%,var(--dq-r19-border))!important}
.remote-vm-access-section .dq-remote-field input:focus{
  border-color:color-mix(in srgb,var(--dq-r19-primary) 64%,var(--dq-r19-border))!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--dq-r19-primary) 10%,transparent)!important;
  background:color-mix(in srgb,var(--dq-r19-primary) 2%,var(--dq-r19-modal))!important;
}
.remote-vm-security-note,.remote-vm-probe-result{
  display:grid;grid-template-columns:auto 1fr;column-gap:11px;row-gap:3px;align-items:start;
  padding:13px 15px;margin-top:14px;
  border:1px solid color-mix(in srgb,var(--dq-r19-primary) 15%,var(--dq-r19-border));
  border-radius:12px;
  background:color-mix(in srgb,var(--dq-r19-primary) 3.5%,var(--dq-r19-surface));
}
.remote-vm-security-note:before{content:"◆";display:grid;place-items:center;width:25px;height:25px;grid-row:1/3;border-radius:8px;background:color-mix(in srgb,var(--dq-r19-primary) 11%,transparent);color:var(--dq-r19-primary);font-size:9px;margin-top:1px}
.remote-vm-probe-result:before{content:"✓";display:grid;place-items:center;width:25px;height:25px;grid-row:1/4;border-radius:8px;background:color-mix(in srgb,#43d39f 11%,transparent);color:#73e2bd;font-size:12px;font-weight:900;margin-top:1px}
.remote-vm-security-note b,.remote-vm-probe-result b{font-size:12px;color:var(--dq-r19-text);font-weight:800}
.remote-vm-security-note span,.remote-vm-probe-result span{font-size:12px;line-height:1.5;color:var(--dq-r19-muted)}
.remote-vm-probe-result code{grid-column:2;display:block;padding:8px 10px;margin-top:5px;border:1px solid color-mix(in srgb,var(--dq-r19-border) 80%,transparent);border-radius:8px;background:rgba(0,0,0,.16);color:var(--dq-r19-primary);font-size:11px;overflow:auto}
.remote-vm-access-section>.secondary{
  margin-top:14px;min-height:42px;padding:0 14px;border-radius:10px!important;
  border:1px solid color-mix(in srgb,var(--dq-r19-primary) 27%,var(--dq-r19-border))!important;
  background:color-mix(in srgb,var(--dq-r19-primary) 5%,transparent)!important;
  color:var(--dq-r19-text)!important;font-weight:800;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.remote-vm-access-section>.secondary:hover:not(:disabled){transform:translateY(-1px);border-color:color-mix(in srgb,var(--dq-r19-primary) 52%,var(--dq-r19-border))!important;background:color-mix(in srgb,var(--dq-r19-primary) 9%,transparent)!important}
.remote-vm-access-section>.secondary:disabled{opacity:.58;cursor:wait}
.remote-vm-access-section>.field-help{display:block;margin-top:12px;color:var(--dq-r19-muted)!important;line-height:1.55}
@media(max-width:720px){.remote-vm-callout{align-items:flex-start;flex-direction:column}.remote-vm-callout .badge{align-self:flex-start}.remote-vm-security-note,.remote-vm-probe-result{grid-template-columns:auto 1fr}}

/* r19-r2: scrollbar white-label + authenticated VM validation */
.environment-modal,.environment-modal *, .modal,.modal *{
  scrollbar-width:thin;
  scrollbar-color:var(--dq-brand-primary,var(--tenant-accent,var(--accent,#28dfc4))) color-mix(in srgb,var(--dq-brand-modal,var(--tenant-modal,#071520)) 90%,transparent);
}
.environment-modal::-webkit-scrollbar,.environment-modal *::-webkit-scrollbar,.modal::-webkit-scrollbar,.modal *::-webkit-scrollbar{width:8px;height:8px}
.environment-modal::-webkit-scrollbar-track,.environment-modal *::-webkit-scrollbar-track,.modal::-webkit-scrollbar-track,.modal *::-webkit-scrollbar-track{background:color-mix(in srgb,var(--dq-brand-modal,var(--tenant-modal,#071520)) 90%,transparent)}
.environment-modal::-webkit-scrollbar-thumb,.environment-modal *::-webkit-scrollbar-thumb,.modal::-webkit-scrollbar-thumb,.modal *::-webkit-scrollbar-thumb{background:var(--dq-brand-primary,var(--tenant-accent,var(--accent,#28dfc4)));border:2px solid color-mix(in srgb,var(--dq-brand-modal,var(--tenant-modal,#071520)) 90%,transparent);border-radius:999px}
.environment-modal::-webkit-scrollbar-thumb:hover,.environment-modal *::-webkit-scrollbar-thumb:hover,.modal::-webkit-scrollbar-thumb:hover,.modal *::-webkit-scrollbar-thumb:hover{background:var(--dq-brand-secondary,var(--tenant-secondary,var(--dq-brand-primary,var(--tenant-accent,var(--accent,#28dfc4)))))}
.remote-vm-callout .badge.danger{color:#ff8295!important;border:1px solid color-mix(in srgb,#ff5d79 46%,var(--dq-r19-border))!important;background:color-mix(in srgb,#ff5d79 10%,var(--dq-r19-surface))!important}
.remote-vm-auth-result{display:grid;grid-template-columns:auto 1fr;column-gap:11px;row-gap:3px;align-items:start;padding:13px 15px;margin-top:12px;border-radius:12px;border:1px solid color-mix(in srgb,var(--dq-r19-primary) 18%,var(--dq-r19-border));background:color-mix(in srgb,var(--dq-r19-primary) 3.5%,var(--dq-r19-surface))}
.remote-vm-auth-result:before{content:"✓";display:grid;place-items:center;width:25px;height:25px;grid-row:1/4;border-radius:8px;background:color-mix(in srgb,#43d39f 11%,transparent);color:#73e2bd;font-weight:900}
.remote-vm-auth-result.bad:before{content:"!";background:color-mix(in srgb,#ff5d79 11%,transparent);color:#ff8295}
.remote-vm-auth-result b{font-size:12px;color:var(--dq-r19-text)}.remote-vm-auth-result span{font-size:12px;line-height:1.5;color:var(--dq-r19-muted)}.remote-vm-auth-result code{grid-column:2;margin-top:5px;overflow-wrap:anywhere;color:var(--dq-r19-primary);font-size:10.5px}
.remote-vm-inventory{margin-top:14px;padding:15px;border:1px solid color-mix(in srgb,var(--dq-r19-primary) 22%,var(--dq-r19-border));border-radius:14px;background:color-mix(in srgb,var(--dq-r19-primary) 3%,var(--dq-r19-raised))}
.remote-vm-inventory-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}.remote-vm-inventory-head>div{display:grid;gap:3px}.remote-vm-inventory-head b{font-size:13px;color:var(--dq-r19-text)}.remote-vm-inventory-head span:not(.badge){font-size:11px;color:var(--dq-r19-muted)}
.remote-vm-inventory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.remote-vm-inventory-grid>div{min-width:0;padding:10px 11px;border:1px solid color-mix(in srgb,var(--dq-r19-border) 82%,transparent);border-radius:10px;background:color-mix(in srgb,var(--dq-r19-modal) 68%,transparent)}.remote-vm-inventory-grid small{display:block;margin-bottom:4px;color:var(--dq-r19-muted);font-size:10px}.remote-vm-inventory-grid strong{display:block;overflow-wrap:anywhere;color:var(--dq-r19-text);font-size:11.5px}.remote-vm-fingerprint{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px!important;color:var(--dq-r19-primary)!important}
.remote-vm-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.remote-vm-actions button{min-height:42px;padding:0 14px;border-radius:10px;font-weight:800}.remote-vm-actions .secondary{border:1px solid color-mix(in srgb,var(--dq-r19-primary) 27%,var(--dq-r19-border));background:color-mix(in srgb,var(--dq-r19-primary) 5%,transparent);color:var(--dq-r19-text)}.remote-vm-actions .primary{border:1px solid color-mix(in srgb,var(--dq-r19-primary) 70%,var(--dq-r19-border));background:var(--dq-r19-primary);color:var(--dq-r19-button-text)}.remote-vm-actions button:disabled{opacity:.58;cursor:wait}
@media(max-width:720px){.remote-vm-inventory-grid{grid-template-columns:1fr}.remote-vm-actions{display:grid;grid-template-columns:1fr}}

/* r19-r4-r1 · VM bootstrap foundation */
.dq-vm-bootstrap{margin-top:18px;padding:16px;border:1px solid color-mix(in srgb,var(--brand-primary,var(--tenant-primary,#d8e51b)) 34%,rgba(148,163,184,.25));border-radius:14px;background:color-mix(in srgb,var(--surface,#111827) 94%,transparent);display:grid;gap:14px}
.dq-vm-bootstrap>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.dq-vm-bootstrap>header div{display:grid;gap:4px}.dq-vm-bootstrap>header span{opacity:.78}
.dq-vm-bootstrap-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dq-vm-bootstrap-grid label{display:grid;gap:6px}.dq-vm-bootstrap-grid input{width:100%}
.dq-vm-bootstrap-checks{display:flex;flex-wrap:wrap;gap:8px}.dq-vm-bootstrap-checks span{padding:6px 9px;border-radius:999px;border:1px solid rgba(248,113,113,.35);font-size:12px}.dq-vm-bootstrap-checks span.ok{border-color:rgba(74,222,128,.48)}
.dq-vm-bootstrap details{border-top:1px solid rgba(148,163,184,.18);padding-top:10px}.dq-vm-bootstrap summary{cursor:pointer;font-weight:700}.dq-vm-bootstrap pre{white-space:pre-wrap;overflow:auto;max-width:100%;padding:12px;border-radius:10px;background:rgba(2,6,23,.48);font-size:12px;line-height:1.55}
.dq-vm-bootstrap-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.dq-vm-backends{display:grid;gap:8px}.dq-vm-backends>small{font-weight:700}.dq-vm-backend{display:flex;justify-content:space-between;gap:12px;padding:7px 9px;border-radius:9px;background:rgba(148,163,184,.08)}.dq-vm-backend.available small{font-weight:700}.dq-vm-backend.planned{opacity:.65}
@media(max-width:760px){.dq-vm-bootstrap-grid{grid-template-columns:1fr}}


/* r19-r4-r2: VM bootstrap UX alignment + controlled tutorial */
.dq-vm-bootstrap{
  margin-top:14px;padding:15px;border:1px solid color-mix(in srgb,var(--dq-r19-primary) 22%,var(--dq-r19-border));
  border-radius:14px;background:color-mix(in srgb,var(--dq-r19-primary) 3%,var(--dq-r19-raised));
  display:grid;gap:13px;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)
}
.dq-vm-bootstrap-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.dq-vm-bootstrap-head>div{display:grid;gap:3px;min-width:0}.dq-vm-bootstrap-head b{font-size:13px;color:var(--dq-r19-text)}
.dq-vm-bootstrap-head span:not(.badge){font-size:11px;line-height:1.5;color:var(--dq-r19-muted);opacity:1}
.dq-vm-bootstrap-head .badge{flex:0 0 auto}
.dq-vm-bootstrap-grid{gap:9px}.dq-vm-bootstrap-field{display:grid;gap:6px;min-width:0}.dq-vm-bootstrap-field>span{color:var(--dq-r19-muted);font-size:11px;font-weight:650}
.dq-vm-bootstrap-field input{width:100%;min-height:42px;padding:0 12px;border:1px solid var(--dq-r19-border)!important;border-radius:10px!important;background:color-mix(in srgb,var(--dq-r19-modal) 82%,var(--dq-r19-raised))!important;color:var(--dq-r19-text)!important;outline:none;transition:border-color .18s ease,box-shadow .18s ease}
.dq-vm-bootstrap-field input:focus{border-color:color-mix(in srgb,var(--dq-r19-primary) 64%,var(--dq-r19-border))!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--dq-r19-primary) 10%,transparent)!important}
.dq-vm-bootstrap-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.dq-vm-bootstrap-checks span{display:flex;align-items:center;gap:8px;min-height:36px;padding:8px 10px;border:1px solid color-mix(in srgb,#ff758a 30%,var(--dq-r19-border));border-radius:10px;background:color-mix(in srgb,#ff758a 4%,var(--dq-r19-modal));color:var(--dq-r19-muted);font-size:11px;font-weight:700}
.dq-vm-bootstrap-checks span i{width:7px;height:7px;border-radius:50%;background:#ff758a;box-shadow:0 0 8px color-mix(in srgb,#ff758a 38%,transparent)}
.dq-vm-bootstrap-checks span.ok{border-color:color-mix(in srgb,#43d39f 32%,var(--dq-r19-border));background:color-mix(in srgb,#43d39f 5%,var(--dq-r19-modal));color:var(--dq-r19-text)}
.dq-vm-bootstrap-checks span.ok i{background:#73e2bd;box-shadow:0 0 8px color-mix(in srgb,#43d39f 42%,transparent)}
.dq-vm-tutorial{overflow:hidden;border:1px solid color-mix(in srgb,var(--dq-r19-border) 84%,transparent);border-radius:11px;background:color-mix(in srgb,var(--dq-r19-modal) 62%,transparent)}
.dq-vm-tutorial-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border:0!important;background:transparent!important;color:var(--dq-r19-text)!important;text-align:left;cursor:pointer}
.dq-vm-tutorial-toggle>span{display:grid;gap:2px}.dq-vm-tutorial-toggle b{font-size:11.5px}.dq-vm-tutorial-toggle small{font-size:10px;color:var(--dq-r19-muted);font-weight:500}.dq-vm-tutorial-toggle>i{font-style:normal;color:var(--dq-r19-primary);font-size:17px;line-height:1;transition:transform .2s ease}.dq-vm-tutorial.open .dq-vm-tutorial-toggle>i{transform:rotate(180deg)}
.dq-vm-tutorial-body{display:grid;gap:10px;padding:0 12px 12px;border-top:1px solid color-mix(in srgb,var(--dq-r19-border) 76%,transparent)}
.dq-vm-tutorial-note{display:grid;gap:3px;margin-top:11px;padding:10px 11px;border-radius:9px;background:color-mix(in srgb,var(--dq-r19-primary) 5%,var(--dq-r19-surface));border:1px solid color-mix(in srgb,var(--dq-r19-primary) 14%,var(--dq-r19-border))}.dq-vm-tutorial-note b{font-size:11px;color:var(--dq-r19-text)}.dq-vm-tutorial-note span{font-size:10.5px;line-height:1.5;color:var(--dq-r19-muted)}
.dq-vm-tutorial pre{margin:0;white-space:pre-wrap;overflow:auto;max-width:100%;padding:11px;border:1px solid color-mix(in srgb,var(--dq-r19-border) 76%,transparent);border-radius:9px;background:color-mix(in srgb,#020617 56%,var(--dq-r19-modal));color:var(--dq-r19-text);font-size:11px;line-height:1.55}
.dq-vm-tutorial-actions{display:flex;justify-content:flex-end}.dq-vm-tutorial-actions .secondary{min-height:36px;padding:0 12px;border-radius:9px!important}
.dq-vm-backends{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:1px}.dq-vm-backends-title{grid-column:1/-1;display:grid;gap:2px;margin-bottom:2px}.dq-vm-backends-title b{font-size:11.5px;color:var(--dq-r19-text)}.dq-vm-backends-title small{font-size:10px;color:var(--dq-r19-muted);font-weight:500}
.dq-vm-backend{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:39px;padding:8px 10px;border-radius:10px;border:1px solid color-mix(in srgb,var(--dq-r19-border) 78%,transparent);background:color-mix(in srgb,var(--dq-r19-modal) 58%,transparent)}.dq-vm-backend b{font-size:11px;color:var(--dq-r19-text)}.dq-vm-backend small{font-size:9.5px;color:var(--dq-r19-muted)}.dq-vm-backend.available{border-color:color-mix(in srgb,var(--dq-r19-primary) 22%,var(--dq-r19-border))}.dq-vm-backend.available small{color:var(--dq-r19-primary);font-weight:750}.dq-vm-backend.planned{opacity:.72}
.dq-vm-bootstrap-actions{padding-top:2px}.dq-vm-bootstrap-actions .secondary,.dq-vm-bootstrap-actions .primary{min-height:40px;border-radius:10px!important;padding:0 14px}
@media(max-width:760px){.dq-vm-bootstrap-checks,.dq-vm-backends{grid-template-columns:1fr}.dq-vm-bootstrap-head{flex-direction:column}.dq-vm-bootstrap-head .badge{align-self:flex-start}}
/* r19-r4-r3: tutorial body is always mounted; delegated toggle only changes visibility. */
.dq-vm-tutorial [data-dq-bootstrap-tutorial-body][hidden]{display:none!important}

/* r19-r4-r5: native tutorial disclosure. No JS toggle/state dependency. */
.dq-vm-tutorial>summary{list-style:none}
.dq-vm-tutorial>summary::-webkit-details-marker{display:none}
.dq-vm-tutorial[open] .dq-vm-tutorial-toggle>i{transform:rotate(180deg)}
.dq-vm-tutorial:not(.open) .dq-vm-tutorial-body{display:none!important}
