.vs-shell {
  --studio-surface: #202325;
  --studio-panel: #191c1d;
  --studio-rule: #383d3f;
  --studio-focus: #ff9a59;
  background: #101313;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
.vs-shell :is(button, a, select, summary):focus-visible {
  outline: 2px solid var(--studio-focus);
  outline-offset: 2px;
}
.vs-shell .vs-toolbar {
  display: flex;
  flex-wrap: wrap;
  height: auto;
  min-height: 60px;
  gap: 8px;
  padding: 8px 14px;
  background: var(--studio-panel);
  border-color: var(--studio-rule);
  position: relative;
  z-index: 3;
}
.vs-shell .vs-brand { min-width: 0; margin-right: 8px; }
.vs-shell .vs-brand > b {
  color: #261307;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #ff9856;
  border-radius: 10px;
  font-size: 19px;
  font-weight: 850;
}
.vs-toolbar-cluster,.vs-zoom,.vs-left-tabs,.vs-compact-nav { display: flex; align-items: center; gap: 4px; }
.vs-tool-icon,.vs-zoom button,.vs-left-tabs button,.vs-compact-nav button {
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #e8ecec;
  padding: 6px 9px;
}
.vs-tool-icon,.vs-zoom button { min-width: 32px; font-size: 18px!important; line-height: 1; }
.vs-tool-icon:hover,.vs-zoom button:hover,.vs-left-tabs button:hover { background: #33393a; }
.vs-shell .vs-devices,.vs-shell .vs-zoom {
  border: 1px solid #393f40;
  border-radius: 9px;
  background: #252829;
  padding: 3px;
}
.vs-shell .vs-devices button.on,.vs-left-tabs button[aria-pressed="true"],.vs-compact-nav button[aria-pressed="true"] {
  background: #493223;
  color: #ffe1cb;
}
.vs-shell .vs-publication { margin-left: auto; }
.vs-toolbar-menu { position: relative; }
.vs-toolbar-menu summary { cursor: pointer; list-style: none; }
.vs-toolbar-menu summary::-webkit-details-marker { display: none; }
.vs-toolbar-flyout {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  width: min(320px,90vw);
  border: 1px solid var(--studio-rule);
  border-radius: 10px;
  background: #242829;
  box-shadow: 0 12px 34px #000a;
  padding: 10px 14px;
}
.vs-toolbar-flyout dl { margin: 0; }
.vs-toolbar-flyout dl div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; }
.vs-toolbar-flyout dd { margin: 0; color: #eabb9c; text-align: right; }
.vs-shell .vs-left,.vs-shell .vs-right { background: var(--studio-panel); border-color: var(--studio-rule); }
.vs-shell .vs-left { padding: 0 9px 12px; }
.vs-left-tabs {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--studio-panel);
  padding: 10px 0;
  border-bottom: 1px solid var(--studio-rule);
  margin-bottom: 12px;
}
.vs-left-tabs button { flex: 1; min-width: 0; padding: 7px 4px; font-size: 12px; }
.vs-shell .vs-right > header,.vs-shell .vs-stage-top,.vs-shell .vs-page-bar {
  background: var(--studio-panel);
  border-color: var(--studio-rule);
}
.vs-shell .vs-stage-top { justify-content: flex-start; gap: 5px 8px; font-weight: 600; }
.vs-stage-top > a { padding: 5px 2px; }
.vs-stage-top > a:first-of-type { margin-left: auto; }
.vs-shell :is(.vs-stage-top,.vs-page-bar) select {
  color:#f2f4f4!important;
  -webkit-text-fill-color:#f2f4f4!important;
  background:#242829!important;
  color-scheme:dark;
}
.vs-shell :is(.vs-stage-top,.vs-page-bar) select option,
.vs-shell .vs-page-bar select optgroup {
  color:#f2f4f4!important;
  -webkit-text-fill-color:#f2f4f4!important;
  background:#242829!important;
}
.vs-shell .vs-left h3 { color:#aab6b6!important; }
.vs-stage-control { display: flex; align-items: center; gap: 4px; }
.vs-stage-control select,.vs-zoom select { font-size: 11px; }
.vs-shell .vs-stage { background: #111414; }
.vs-shell .vs-frame-wrap {
  max-width: none;
  background-color: #121516;
  background-image: radial-gradient(#353b3c 1px, transparent 1px);
  background-size: 16px 16px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  box-shadow: none;
}
.vs-frame-canvas {
  margin: auto;
  position: relative;
  background: #121516;
  outline: 1px solid #565e5e;
  overflow: hidden;
}
.vs-shell .vs-frame-canvas iframe { background:#121516; }
html[data-studio-viewport] { overscroll-behavior-x:none; }

.vs-pan-overlay { position:absolute; inset:0; cursor:grab; touch-action:none; }
.vs-pan-overlay:active { cursor:grabbing; }
.vs-library { padding: 1px 4px; }
.vs-library-group h4 { margin: 10px 0 8px; font-size: 12px; color: #e8ebeb; }
.vs-library-tiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.vs-library-tiles button {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 5px;
  min-height: 62px;
  border: 1px solid #3d4344;
  border-radius: 9px;
  background: #252a2a;
  color: #f0f3f3;
  padding: 6px 4px;
  font-size: 11px;
}
.vs-library-tiles button[draggable="true"] { cursor: grab; }
.vs-library-tiles button:hover { background: #34312c; border-color: #926547; }
.vs-library-tiles button > span { color: #ffad7a; font-size: 20px; line-height: 1.15; }
.vs-compact-nav { display: none; }
studio-host-start-slot { display:contents; }
[data-studio-focused="true"] { outline:2px solid #ec782d; outline-offset:-2px; }
.studio-section[data-studio-hidden="true"] { opacity:.48; }
.vs-container-add { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:4px 10px; }
.vs-container-add > button { grid-column:1/-1; }
.vs-container-layers { max-height:260px; overflow:auto; border:1px solid #444b4c; border-radius:8px; padding:6px 8px; margin-block:10px; }
.vs-container-layers ol { list-style:none; padding-left:12px; margin:0; }
.vs-container-layers > ol { padding:0; }
.vs-container-layers summary { cursor:pointer; padding:5px 0; overflow-wrap:anywhere; }
.vs-container-layers button { display:block; text-align:left; width:100%; background:transparent; color:#eef1f1; border:0; border-radius:5px; padding:5px 6px; overflow-wrap:anywhere; }
.vs-container-layers button:hover { background:#4b3627; }
.studio-widget-video { display:block; width:100%; max-height:520px; background:#151718; border-radius:8px; }
.studio-widget-search { display:flex; flex-wrap:wrap; gap:8px; justify-content:inherit; }
.studio-widget-search label { flex:1 1 180px; min-width:0; }
.studio-widget-search input {
  display:block; width:100%; min-height:42px; border:1px solid #a6b1b2; border-radius:8px; padding:8px 12px;
  background:#fff; color:#192124;
}
.studio-widget-search button { border:0; }
.studio-widget-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.studio-countdown { display:flex; flex-wrap:wrap; gap:10px; }
.studio-countdown > div { min-width:65px; text-align:center; padding:8px; border:1px solid currentColor; border-radius:8px; }
.studio-countdown strong,.studio-countdown span { display:block; }
.studio-countdown strong { font-size:clamp(20px,3vw,32px); font-variant-numeric:tabular-nums; }
.studio-countdown span { font-size:12px; }
.studio-widget-products { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr)); align-items:stretch; gap:12px; }
.studio-widget-category { display:grid; justify-items:center; gap:8px; padding:16px 12px; border:1px solid currentColor; border-radius:8px; }
.studio-widget-category span { font-size:26px; }
.studio-widget-category:hover strong { text-decoration:underline; }
.studio-library-marker {
  pointer-events: none;
  position: fixed;
  inset-inline: 0;
  z-index: 2147482901;
  border-top: 3px solid #ed771e;
  text-align: center;
  font: 700 15px/1.5 system-ui,sans-serif;
  color: #fff;
  background: #542d1acc;
  width: 100%;
}
[data-studio-reorder-line][data-inside] {
  background: #ef823c33;
  outline: 2px dashed #ed771e;
  outline-offset: -2px;
}
@media (max-width: 820px) {
  .vs-shell .vs-toolbar { padding: 6px 8px; }
  .vs-shell .vs-publication { display: none; }
  .vs-compact-nav { display: flex; padding: 4px 8px; background: #191c1d; border-bottom: 1px solid #393f40; }
  .vs-shell .vs-workspace { grid-template-columns: minmax(0,1fr); }
  .vs-shell .vs-right { position: static; width: 100%; box-shadow: none; }
  .vs-shell .vs-workspace:not(.vs-compact-library) > .vs-left,
  .vs-shell .vs-workspace:not(.vs-compact-inspector) > .vs-right { display: none; }
  .vs-shell .vs-workspace.vs-compact-library > .vs-left { display: block; }
  .vs-shell .vs-workspace:is(.vs-compact-library,.vs-compact-inspector) > .vs-stage {
    position: absolute;
    width: 100%;
    height: 1px;
    overflow: hidden;
    visibility: hidden;
  }
}
