/* 07C — INLINE INQUIRY WATERFALL PANEL */


/* AUX-LIVE-SHARED: keyframes retained for the current inquiry panel state rules. */
@keyframes inquiry-inline-open {
  0% { flex-basis: 0; max-height: 0; opacity: 0; filter: brightness(1.8); }
  38% { opacity: 1; }
  100% { flex-basis: 176px; max-height: 176px; opacity: 1; filter: brightness(1); }
}

@keyframes inquiry-waterfall-drop {
  0% { transform: translateY(-42%); opacity: 0; }
  18% { opacity: 1; }
  68% { opacity: .88; }
  100% { transform: translateY(124%); opacity: 0; }
}

@keyframes inquiry-inline-text {
  0% { opacity: 0; transform: translateY(-5px); filter: blur(1px); }
  54% { opacity: .35; }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* 07D — INQUIRY PANEL STATE MACHINE OVERRIDES */
.inquiry-deck-panel {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(1,7,20,0.98), rgba(0,2,8,0.98));
}


.inquiry-deck-panel.is-loading,
.inquiry-deck-panel.is-ready {
  flex: 0 0 50px;
  max-height: 50px;
  min-height: 50px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  animation: inquiry-strip-collapse 1.05s ease forwards, inquiry-panel-glow 1.3s ease-in-out infinite alternate;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.28), rgba(0,0,0,0.04) 42%, rgba(0,0,0,0.65)),
    var(--aux-inquiry-gif, url("assets/cruisegif.gif")) center center / cover no-repeat;
}

.inquiry-deck-panel.is-loading::before,
.inquiry-deck-panel.is-ready::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--aux-inquiry-gif, url("assets/cruisegif.gif")) center center / cover no-repeat;
  opacity: .64;
  filter: saturate(1.12) contrast(1.12) brightness(.72);
  animation: inquiry-strip-pulse 1.6s ease-in-out infinite alternate;
}

.inquiry-status-logo,
.inquiry-status-text {
  position: relative;
  z-index: 2;
}

.inquiry-status-logo {
  width: 32px;
  height: 32px;
  background: url("assets/ndigi.png") center center / contain no-repeat;
  filter: drop-shadow(0 0 8px rgba(90,230,255,.78));
  animation: inquiry-logo-pop .9s steps(5,end) both;
}

.inquiry-status-text {
  color: rgba(236,252,255,.96);
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: none;
  text-shadow: 0 0 8px rgba(78,230,255,.75), 0 0 14px rgba(255,255,255,.22);
  animation: inquiry-status-text-in .9s ease both;
}

.inquiry-deck-panel.is-closing {
  flex: 0 0 0;
  max-height: 0;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  background: #000;
  animation: inquiry-panel-close .72s ease forwards;
}

.inquiry-deck-panel.is-closing * {
  opacity: 0;
}


@keyframes inquiry-curtain-reveal {
  0% { opacity: 1; transform: translateY(0); filter: saturate(1.2) brightness(.92); }
  52% { opacity: 1; transform: translateY(0); filter: saturate(1.35) brightness(1.14); }
  70% { opacity: .92; transform: translateY(0); background-color: rgba(0,0,0,0); }
  100% { opacity: 0; transform: translateY(16%); filter: saturate(.8) brightness(.25); }
}

@keyframes inquiry-menu-clean-reveal {
  0% { opacity: 0; transform: translateY(-5px); filter: blur(1px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes inquiry-strip-collapse {
  from { flex-basis: 176px; max-height: 176px; }
  to { flex-basis: 50px; max-height: 50px; }
}

@keyframes inquiry-panel-glow {
  from { box-shadow: inset 0 0 16px rgba(61,228,255,.10), 0 0 10px rgba(61,228,255,.06); filter: brightness(.88); }
  to { box-shadow: inset 0 0 24px rgba(61,228,255,.22), 0 0 18px rgba(61,228,255,.16); filter: brightness(1.1); }
}

@keyframes inquiry-strip-pulse {
  from { opacity: .44; filter: saturate(1.0) brightness(.6); }
  to { opacity: .76; filter: saturate(1.28) brightness(.96); }
}

@keyframes inquiry-logo-pop {
  0% { opacity: 0; transform: scale(.72); filter: brightness(2) blur(1px); }
  55% { opacity: 1; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 8px rgba(90,230,255,.78)); }
}

@keyframes inquiry-status-text-in {
  0% { opacity: 0; transform: translateX(-8px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes inquiry-panel-close {
  0% { opacity: 1; filter: brightness(.8); }
  45% { opacity: .65; background: #000; }
  100% { opacity: 0; flex-basis: 0; max-height: 0; margin: 0; border-width: 0; }
}

.inquiry-deck-panel.is-tree {
  flex: 0 0 210px;
  max-height: 210px;
  min-height: 190px;
  display: grid;
  grid-template-rows: auto 28px minmax(0, 1fr);
  gap: 5px;
  padding: 8px 10px 10px;
  animation: inquiry-inline-open 1.05s ease forwards, inquiry-panel-glow 1.6s ease-in-out infinite alternate;
  background:
    linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.76)),
    var(--aux-inquiry-gif, url("assets/cruisegif.gif")) center center / cover no-repeat;
}

.inquiry-tree-head {
  position: relative;
  z-index: 2;
  min-height: 16px;
  color: rgba(236,252,255,.96);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  letter-spacing: .16em;
  text-shadow: 0 0 8px rgba(78,230,255,.7);
}

.inquiry-tree-input {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  height: 26px;
  border: 1px solid rgba(236,252,255,.24);
  background: rgba(0,0,0,.48);
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  padding: 4px 7px;
  outline: none;
}

.inquiry-tree-list {
  position: relative;
  z-index: 2;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 2px;
  padding-right: 3px;
}

.inquiry-tree-folder {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(120,220,255,.22);
  background: linear-gradient(180deg, rgba(18,36,42,.92), rgba(7,16,20,.94));
  color: rgba(155,235,255,.96);
  border-radius: 6px;
  padding: 5px 7px;
  margin: 2px 0;
  font-size: 10px;
  letter-spacing: .03em;
  cursor: pointer;
}

.inquiry-tree-folder:hover {
  border-color: rgba(120,235,255,.55);
  box-shadow: 0 0 10px rgba(80,220,255,.16);
}

.inquiry-tree-file {
  width: 100%;
  min-height: 20px;
  padding: 3px 5px;
  border: 0;
  background: rgba(0,0,0,.26);
  color: rgba(236,252,255,.92);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 0 6px rgba(90,230,255,.42);
}

.inquiry-tree-file:hover {
  background: rgba(61,228,255,.16);
  color: #fff;
}

.inquiry-tree-empty {
  color: rgba(236,252,255,.76);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  line-height: 1.35;
  padding: 6px 2px;
}

.inquiry-clear-btn {
  position: absolute;
  right: 8px;
  bottom: 5px;
  z-index: 5;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .08em;
  text-shadow: 0 0 6px rgba(255,255,255,.72);
  opacity: .86;
}

.inquiry-clear-btn:hover {
  opacity: 1;
  text-shadow: 0 0 8px rgba(255,255,255,.95), 0 0 14px rgba(90,230,255,.42);
}


/* RESTORED FROM SAFE CSS: modal/line buckets/trace rows */
.AuxModal-Dx {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: none;
  padding: 14px;
  background: rgba(0,0,0,.38);
}

.AuxModal-Dx[style*="block"] {
  display: block;
}

.AuxModalPanel-Ex {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: auto;
  padding: 18px 18px 22px;
  background: #2f3338;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 48px rgba(0,0,0,.46);
}

.AuxModalClose-Fo {
  position: sticky;
  top: 0;
  float: right;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.28);
  background: #444a50;
  color: #fff;
  font: 800 20px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  cursor: pointer;
}

.AuxModalContent-Fo {
  clear: both;
  white-space: normal;
  font: 500 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.AuxModalContent-Fo h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
}

.AuxModalContent-Fo p {
  margin: 7px 0;
  color: rgba(255,255,255,.88);
}

.AuxModalContent-Fo pre {
  margin: 14px 0 0;
  padding: 14px;
  overflow: auto;
  background: #202327;
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
}

/* 07E — LINE BUCKET VISUALS */
.LineIn-Dx,
.LineOut-Dx,
.Trace-Dx {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 4px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 5px 6px;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(120,128,150,0.22);
  border-radius: 3px;
  background: var(--panel);
  transition: flex-basis 0.9s ease, min-height 0.9s ease, opacity 0.5s ease, transform 0.9s ease, filter 0.9s ease;
}

.LineIn-Dx {
  flex: 1 1 44%;
  min-height: 26%;
}

.LineOut-Dx {
  flex: 1 1 38%;
  min-height: 23%;
}

.Trace-Dx {
  flex: 0 0 0;
  min-height: 0;
  border-color: rgba(120,128,150,0.12);
  background: rgba(255,255,255,0.015);
}

.LineIn-Dx .ListLabel-Eo,
.LineOut-Dx .ListLabel-Eo,
.Trace-Dx .ListLabel-Eo,
.Trace-Dx .ListLabel-Fo {
  position: relative;
  z-index: 2;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  letter-spacing: .14em;
  line-height: 1.2;
  padding: 3px 5px 4px;
  color: #fff;
  text-shadow: 0 0 8px rgba(255,255,255,.42), 0 0 14px rgba(156,84,214,.28);
}

.LineIn-Dx .Cards-Do,
.LineOut-Dx .Cards-Do,
.Trace-Dx .Cards-Do {
  position: relative;
  z-index: 2;
}

.LineIn-Dx:not(:has(.AuxCard)) .Cards-Do,
.LineOut-Dx:not(:has(.AuxCard)) .Cards-Do {
  pointer-events: none;
}

.Lowerframe-Cx.has-inquiry-menu .LineIn-Dx {
  flex-basis: 36%;
}

/* 07F — TRACE HUD */
.Trace-Dx {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 4px;
  flex: 0 0 104px;
  min-height: 76px;
  padding: 5px 6px 6px;
  overflow: hidden;
  border: 1px solid rgba(156,84,214,0.24);
  border-radius: 3px;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(8,10,18,0.96), rgba(3,5,10,0.98));
}

.TraceHead-Ex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.TraceCopy-Fo {
  flex: 0 0 auto;
  padding: 2px 6px;
  border: 1px solid rgba(156,84,214,0.32);
  border-radius: 2px;
  background: rgba(156,84,214,0.12);
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  letter-spacing: .12em;
}

.TraceCopy-Fo:hover {
  background: rgba(156,84,214,0.24);
}

.TraceBody-Eo {
  min-height: 0;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 2px;
  font-family: "Courier New", Courier, monospace;
}

/* 07G — SHARED AUXCARD RENDER SUPPORT */
.Cards-Do {
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-content: start;
  gap: 5px;
}

.AuxCard {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, auto) auto auto;
  gap: 5px;
  width: 100%;
  min-width: 0;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(120,128,150,0.22);
  border-radius: 4px;
  background: rgba(0,0,0,0.24);
  color: rgba(238,241,251,0.94);
  font-family: "Courier New", Courier, monospace;
}

.AuxCard--line-in,
.AuxCard--line-out {
  min-height: 0;
}

.AuxCard[data-status="waiting"],
.AuxCard[data-status="sending"],
.AuxCard[data-status="details-needed"] {
  border-color: rgba(214,160,48,0.46);
  box-shadow: inset 3px 0 0 rgba(214,160,48,0.74), 0 0 10px rgba(214,160,48,0.10);
}

.AuxCard[data-status="done"],
.AuxCard[data-status="ready"],
.AuxCard[data-status="fed"] {
  border-color: rgba(142,182,88,0.42);
  box-shadow: inset 3px 0 0 rgba(142,182,88,0.62), 0 0 10px rgba(142,182,88,0.08);
}

.AuxCard[data-status="failed"] {
  border-color: rgba(214,84,84,0.58);
  box-shadow: inset 3px 0 0 rgba(214,84,84,0.78), 0 0 10px rgba(214,84,84,0.12);
}

.AuxCardEmpty {
  border-style: dashed;
  opacity: .66;
}

.AuxCardHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.AuxCardTitle {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 10px;
  letter-spacing: .12em;
  line-height: 1.15;
  text-transform: uppercase;
}

.AuxCardTag {
  flex: 0 0 auto;
  max-width: 46%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 2px 5px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  font-size: 8px;
  letter-spacing: .12em;
}

.AuxCardDescription,
.AuxCardMeta,
.AuxCardEmptyText {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(179,185,212,0.72);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  line-height: 1.35;
}

.AuxCardBody {
  max-height: 180px;
  min-height: 0;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin: 0;
  padding: 7px;
  border: 1px solid rgba(120,128,150,0.14);
  background: rgba(0,0,0,0.24);
  color: rgba(238,241,251,0.94);
  font: 12px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.AuxCardControls {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.AuxButton {
  flex: 0 0 auto;
  padding: 2px 6px;
  border: 1px solid rgba(142,182,88,0.42);
  border-radius: 2px;
  background: rgba(142,182,88,0.13);
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  letter-spacing: .12em;
  line-height: 1.25;
  text-shadow: 0 0 6px rgba(255,255,255,0.38);
}

.AuxButton:hover:not(:disabled) {
  background: rgba(142,182,88,0.24);
  box-shadow: 0 0 8px rgba(142,182,88,0.24);
}

.AuxButton:disabled {
  opacity: .45;
  cursor: default;
}

.AuxDetailsBox {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 5px;
  min-width: 0;
}

.AuxInput {
  min-width: 0;
  height: 24px;
  padding: 3px 6px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 2px;
  background: rgba(0,0,0,0.26);
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
}

.TraceCard {
  display: grid;
  gap: 2px;
  padding: 4px 5px;
  border-left: 1px solid rgba(156,84,214,0.32);
  background: rgba(255,255,255,0.025);
  color: rgba(238,241,251,0.82);
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  line-height: 1.25;
}

.TraceTop {
  color: rgba(142,182,88,0.82);
}

.TraceStep {
  color: rgba(255,255,255,0.92);
}

.TraceNote {
  color: rgba(179,185,212,0.68);
  word-break: break-word;
}

.App-Ax[data-skin="studio"] .LineIn-Dx .ListLabel-Eo,
.App-Ax[data-skin="studio"] .LineOut-Dx .ListLabel-Eo,
.App-Ax[data-skin="studio"] .Trace-Dx .ListLabel-Eo,
.App-Ax[data-skin="studio"] .Trace-Dx .ListLabel-Fo {
  color: rgba(20,24,28,0.96);
  -webkit-text-fill-color: rgba(20,24,28,0.96);
  font-family: "Courier New", Courier, monospace;
  text-shadow: 0 1px 0 rgba(255,255,255,.62);
}

.App-Ax[data-skin="studio"] .AuxCard {
  background: rgba(255,255,255,0.42);
  color: rgba(6,8,10,1);
  border-color: rgba(30,34,42,0.13);
  font-family: "Courier New", Courier, monospace;
}

.App-Ax[data-skin="studio"] .AuxCardTitle {
  color: rgba(6,8,10,1);
}

.App-Ax[data-skin="studio"] .AuxCardTag {
  color: rgba(6,8,10,0.86);
  border-color: rgba(30,34,42,0.18);
}

.App-Ax[data-skin="studio"] .AuxCardDescription,
.App-Ax[data-skin="studio"] .AuxCardMeta,
.App-Ax[data-skin="studio"] .AuxCardEmptyText {
  color: rgba(6,8,10,0.88);
}

.App-Ax[data-skin="studio"] .AuxCardBody,
.App-Ax[data-skin="studio"] .AuxInput {
  background: rgba(255,255,255,0.48);
  color: rgba(6,8,10,1);
  border-color: rgba(30,34,42,0.14);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.App-Ax[data-skin="studio"] .AuxButton {
  color: #1a1d23;
  text-shadow: 0 1px 0 rgba(255,255,255,0.58);
  border-color: rgba(22,108,173,0.30);
  background: rgba(255,255,255,0.40);
}

/* RESTORED FROM SAFE CSS: cruise/studio card, surface, needle support */
.App-Ax[data-skin="cruise"] {
  background:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.34)),
    url("assets/cruisesurface.png") center top / cover repeat-y,
    linear-gradient(180deg, #020307, #070913, #04060a);
}

.App-Ax[data-skin="studio"] {
  --bg0: #f1f0eb;
  --bg1: #e4e2dc;
  --bg2: #d6d3ca;
  --text: #17191e;
  --muted: #4d5562;
  --purple: #166cad;
  --purple-dim: rgba(22,108,173,.14);
  --green: #1f7d45;
  --green-dim: rgba(31,125,69,.12);
  --amber: #9a641d;
  --amber-dim: rgba(154,100,29,.12);
  --red: #a33434;
  --red-dim: rgba(163,52,52,.12);
  --edge: rgba(0,0,0,.14);
  --soft-edge: rgba(40,48,58,.20);
  --panel: linear-gradient(180deg, rgba(253,252,248,.92), rgba(226,224,218,.96));
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.03)),
    url("assets/studiosurface.png") center top / cover repeat-y,
    linear-gradient(180deg, #efeee9, #dcd9d0);
}

.App-Ax[data-skin="studio"] {
  --aux-top-bg: url("assets/studiobgpanel.png");
  --aux-lcd-panel: url("assets/studiopanel.png");
}

.App-Ax[data-skin="studio"] .TopStack-Bx {
  background-image: var(--aux-top-bg);
}

.App-Ax[data-skin="studio"] .LineIn-Dx,
.App-Ax[data-skin="studio"] .LineOut-Dx,
.App-Ax[data-skin="studio"] .Trace-Dx {
  background:
    linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.04)),
    url("assets/studiosurface.png") center top / cover repeat-y;
  border-color: rgba(88,96,104,.20);
}

.App-Ax[data-skin="cruise"] {
  --aux-top-bg: url("assets/cruisebgpanel.png");
  --aux-lcd-panel: url("assets/cruisepanel.png");
}

.App-Ax[data-skin="cruise"] .TopStack-Bx {
  background-image: var(--aux-top-bg);
}

.App-Ax[data-skin="studio"] .Logo-Do {
  filter: drop-shadow(0 1px 1px rgba(255,255,255,.55)) drop-shadow(0 2px 4px rgba(0,0,0,.20));
}

.App-Ax[data-skin="studio"] .Monitor-Cx,
.App-Ax[data-skin="studio"] .MonitorLabel-Do,
.App-Ax[data-skin="studio"] .IndicatorGroup-Dx,
.App-Ax[data-skin="studio"] .ModelName-Eo {
  color: rgba(6,8,10,1);
  -webkit-text-fill-color: rgba(6,8,10,1);
  text-shadow: 0 1px 0 rgba(255,255,255,.62);
}

.App-Ax[data-skin="studio"] .MonitorLabel-Do,
.App-Ax[data-skin="studio"] .ModelName-Eo {
  opacity: 1;
}

.App-Ax[data-skin="studio"] .Screen-Cx {
  border-color: transparent;
  background: var(--aux-lcd-panel, url("assets/studiopanel.png")) center / 100% 100% no-repeat;
  box-shadow: none;
}

.App-Ax[data-skin="studio"] .Screen-Cx,
.App-Ax[data-skin="studio"] .Screen-Cx * {
  color: #fff8e8;
  text-shadow: 0 0 7px rgba(255,245,220,.56), 0 0 14px rgba(220,154,54,.24);
}

.App-Ax[data-skin="studio"] .PortInput-Eo,
.App-Ax[data-skin="studio"] .PortSave-Eo {
  border-color: rgba(255,246,226,.22);
  background: rgba(0,0,0,.20);
}

.App-Ax[data-skin="studio"] .Levels-Cx,
.App-Ax[data-skin="studio"] .Controls-Cx {
  background: transparent;
}

.App-Ax[data-skin="studio"] .EqChrome-Ex,
.App-Ax[data-skin="studio"] .EqMonitor-Eo,
.App-Ax[data-skin="studio"] .EqStatus-Eo {
  color: rgba(34,36,41,.92);
  text-shadow: 0 1px 0 rgba(255,255,255,.60);
}

.App-Ax[data-skin="studio"] .Equalizer-Eo {
  border-color: rgba(43,171,218,.40);
  background: rgba(2,16,22,.82);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 0 18px rgba(2,28,42,.72),
    0 0 10px rgba(43,171,218,.20);
  filter: brightness(1.12) contrast(1.05);
}

.App-Ax[data-skin="studio"] .eq-seg { background: rgba(17,43,51,.18); }
.App-Ax[data-skin="studio"] .eq-bar .eq-seg:nth-child(1).on,
.App-Ax[data-skin="studio"] .eq-bar .eq-seg:nth-child(2).on,
.App-Ax[data-skin="studio"] .eq-bar .eq-seg:nth-child(3).on,
.App-Ax[data-skin="studio"] .eq-bar .eq-seg:nth-child(4).on,
.App-Ax[data-skin="studio"] .eq-bar .eq-seg:nth-child(5).on,
.App-Ax[data-skin="studio"] .eq-bar .eq-seg:nth-child(6).on { background: linear-gradient(180deg, #b7f2ff, #58d6f2 58%, #169bc0); }
.App-Ax[data-skin="studio"] .eq-bar .eq-seg:nth-child(n+7).on { background: linear-gradient(180deg, #fff0b6, #f0b24b 58%, #d46d1d); }

.StudioNeedle-Eo {
  display: none;
}

.App-Ax[data-skin="studio"] .Equalizer-Eo {
  left: 0;
  top: 0;
  z-index: 9;
  width: 100%;
  height: 100%;
  min-height: 0;
  transform: none;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: none;
  overflow: visible;
}

.App-Ax[data-skin="studio"] .eq-bar {
  display: none;
}

.StudioLevels-Eo {
  display: none;
}

.App-Ax[data-skin="studio"] .StudioLevels-Eo {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 7;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.App-Ax[data-skin="studio"] .Frame-Eo {
  z-index: 6;
}

.App-Ax[data-skin="studio"] .Frame-Eo {
  z-index: 12;
}

.App-Ax[data-skin="studio"] .StudioLevels-Eo {
  z-index: 7;
}

.App-Ax[data-skin="studio"] .Equalizer-Eo {
  z-index: 8;
}

.App-Ax[data-skin="studio"] .StudioNeedle-Eo {
  z-index: 9;
}

.App-Ax[data-skin="studio"] .ButtonLogo-Do {
  z-index: 3;
}

.App-Ax[data-skin="studio"] .ButtonLogo-Do {
  transform: scale(.98);
  transform-origin: center center;
}

.App-Ax[data-skin="studio"] .ButtonFrame-Do {
  z-index: 1;
}

.App-Ax[data-skin="studio"] .Buttons-Dx {
  z-index: 12;
}

.App-Ax[data-skin="studio"] .StudioNeedle-Eo {
  display: block;
  position: absolute;
  z-index: 8;
  top: 27%;
  width: 7.2%;
  height: auto;
  transform-origin: 100% 0%;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,.45)) drop-shadow(0 2px 2px rgba(0,0,0,.28));
  will-change: transform;
}

.App-Ax[data-skin="studio"] .StudioNeedleLeft-Eo {
  left: 16%;
}

.App-Ax[data-skin="studio"] .StudioNeedleRight-Eo {
  left: 67%;
}

.App-Ax[data-skin="studio"] .EqChrome-Ex {
  display: none;
}


.SkinToggle-Co {
  position: fixed;
  right: 10px;
  bottom: 8px;
  z-index: 2000;
  width: 44px;
  height: 22px;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  border: 1px solid rgba(156,84,214,.32);
  border-radius: 999px;
  background: rgba(0,0,0,.52);
  color: rgba(255,255,255,.86);
  box-shadow: inset 0 0 8px rgba(255,255,255,.05), 0 0 10px rgba(0,0,0,.34);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
}

.SkinToggle-Co::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(156,84,214,.86);
  box-shadow: 0 0 8px rgba(156,84,214,.48);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.SkinToggle-Co span {
  position: relative;
  z-index: 1;
  line-height: 1;
  opacity: .82;
}

.App-Ax[data-skin="studio"] .SkinToggle-Co {
  border-color: rgba(90,104,116,.30);
  background: rgba(255,255,255,.56);
  color: rgba(20,24,28,.84);
}

.App-Ax[data-skin="studio"] .SkinToggle-Co::before {
  transform: translateX(21px);
  background: rgba(235,168,55,.92);
  box-shadow: 0 0 8px rgba(235,168,55,.36);
}

.App-Ax[data-skin="studio"] .Levels-Cx {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: transparent;
}

.App-Ax[data-skin="studio"] .Frame-Eo {
  display: none;
}

.App-Ax[data-skin="studio"] .StudioLevels-Eo {
  display: block;
  position: relative;
  inset: auto;
  z-index: 1;
  width: 100%;
  height: auto;
  margin: 0;
  transform: none;
  pointer-events: none;
  user-select: none;
}

.App-Ax[data-skin="studio"] .Equalizer-Eo {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  transform: none;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.App-Ax[data-skin="studio"] .ButtonFrame-Do {
  display: none;
}

.App-Ax[data-skin="studio"] .ButtonLogo-Do {
  width: 100%;
  margin: 0;
  transform: none;
}

.App-Ax[data-skin="studio"] .Buttons-Dx {
  width: 100%;
  left: 0;
  transform: none;
}


/* Drop-In Full File form state, introduced by the rewrite */
.inquiry-deck-panel.is-form,
.inquiry-deck-panel.dropin-file-panel {
  flex: 0 0 178px;
  max-height: 220px;
  min-height: 160px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 7px;
  padding: 8px 10px 10px;
  animation: inquiry-inline-open 1.05s ease forwards, inquiry-panel-glow 1.6s ease-in-out infinite alternate;
  background:
    linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.78)),
    var(--aux-inquiry-gif, url("assets/cruisegif.gif")) center center / cover no-repeat;
}

.inquiry-form {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
  min-width: 0;
}

.inquiry-form-row {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.inquiry-form-label {
  color: rgba(236,252,255,.74);
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.inquiry-form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.inquiry-form-note {
  color: rgba(236,252,255,.62);
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  line-height: 1.35;
}

.inquiry-tree-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.inquiry-clear-btn,
.inquiry-tree-root-btn {
  flex: 0 0 auto;
  padding: 2px 6px;
  border: 1px solid rgba(236,252,255,.24);
  border-radius: 2px;
  background: rgba(0,0,0,.34);
  color: rgba(236,252,255,.92);
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  letter-spacing: .12em;
}

.App-Ax[data-skin="studio"] .inquiry-deck-panel.is-form,
.App-Ax[data-skin="studio"] .inquiry-deck-panel.dropin-file-panel,
.App-Ax[data-skin="studio"] .inquiry-deck-panel.is-tree {
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(224,226,224,.88)),
    url("assets/studiosurface.png") center top / cover repeat-y;
  border-color: rgba(54,62,72,.22);
}

.App-Ax[data-skin="studio"] .inquiry-tree-head,
.App-Ax[data-skin="studio"] .inquiry-form-label,
.App-Ax[data-skin="studio"] .inquiry-form-note {
  color: rgba(20,28,34,.82);
  text-shadow: 0 1px 0 rgba(255,255,255,.62);
}



/* FINAL LINE IN MENU SKINNING: cruise blue grid, studio gold grid, both with opening GIF */
.inquiry-deck-panel.is-menu {
  background:
    linear-gradient(180deg, rgba(0,0,0,.96), rgba(0,0,0,.98));
  border-color: rgba(61,228,255,.30);
  box-shadow:
    inset 0 0 18px rgba(61,228,255,.12),
    0 0 16px rgba(61,228,255,.10);
  animation:
    inquiry-inline-open 2.05s cubic-bezier(.12,.74,.18,1) forwards,
    inquiry-panel-glow 1.6s ease-in-out infinite alternate;
}

.inquiry-deck-panel.is-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.20) 68%, rgba(0,0,0,.88)),
    var(--aux-inquiry-gif, url("assets/cruisegif.gif")) center center / cover no-repeat;
  opacity: 1;
  filter: saturate(1.2) contrast(1.08) brightness(.92);
  animation: inquiry-curtain-reveal 4.25s ease forwards;
}

.inquiry-deck-panel.is-menu::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(61,228,255,.16) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(61,228,255,.14) 8px 9px),
    radial-gradient(circle at 50% 0%, rgba(61,228,255,.14), transparent 46%),
    linear-gradient(180deg, rgba(0,0,0,.92), rgba(0,0,0,.98));
  opacity: .86;
}

.inquiry-deck-panel.is-menu .ctx-title,
.inquiry-deck-panel.is-menu .ctx-btn {
  opacity: 0;
  animation: inquiry-menu-clean-reveal .85s ease forwards 3.05s;
}

.inquiry-deck-panel.is-menu .ctx-title,
.inquiry-deck-panel.is-menu .ctx-btn {
  font-family: "Courier New", Courier, monospace;
  font-weight: 300;
  letter-spacing: .08em;
  color: rgba(236,252,255,.82);
  -webkit-text-fill-color: rgba(236,252,255,.82);
  text-shadow: 0 0 5px rgba(90,230,255,.26);
}

.inquiry-deck-panel.is-menu .ctx-title {
  font-size: 9px;
  font-weight: 300;
  color: rgba(236,252,255,.58);
  -webkit-text-fill-color: rgba(236,252,255,.58);
  text-shadow: none;
}

.inquiry-deck-panel.is-menu .ctx-btn:hover {
  color: rgba(255,255,255,.92);
  -webkit-text-fill-color: rgba(255,255,255,.92);
  text-shadow: 0 0 6px rgba(90,230,255,.36);
}

.inquiry-deck-panel.is-menu .ctx-title,
.inquiry-deck-panel.is-menu .ctx-btn {
  position: relative;
  z-index: 12;
  opacity: 1;
  color: #f6fdff;
  -webkit-text-fill-color: #f6fdff;
}

.inquiry-deck-panel.is-menu .ctx-title {
  color: #dceff3;
  -webkit-text-fill-color: #dceff3;
}

.inquiry-deck-panel.is-menu .ctx-btn {
  background: rgba(0,0,0,.18);
}

.App-Ax[data-skin="cruise"] .inquiry-deck-panel.is-menu {
  border-color: rgba(61,228,255,.34);
  box-shadow:
    inset 0 0 18px rgba(61,228,255,.14),
    0 0 18px rgba(61,228,255,.12);
}

.App-Ax[data-skin="cruise"] .inquiry-deck-panel.is-menu::after {
  background:
    repeating-linear-gradient(180deg, rgba(61,228,255,.16) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(61,228,255,.14) 8px 9px),
    radial-gradient(circle at 50% 0%, rgba(61,228,255,.14), transparent 46%),
    linear-gradient(180deg, rgba(0,0,0,.92), rgba(0,0,0,.98));
}

.App-Ax[data-skin="studio"] .inquiry-deck-panel.is-menu {
  background:
    linear-gradient(180deg, rgba(0,0,0,.96), rgba(0,0,0,.98));
  border-color: rgba(235,168,55,.40);
  box-shadow:
    inset 0 0 18px rgba(235,168,55,.16),
    0 0 18px rgba(235,168,55,.12);
}

.App-Ax[data-skin="studio"] .inquiry-deck-panel.is-menu::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.24) 68%, rgba(0,0,0,.90)),
    var(--aux-inquiry-gif, url("assets/studiogif.gif")) center center / cover no-repeat;
  filter: saturate(1.08) contrast(1.06) brightness(.90);
}

.App-Ax[data-skin="studio"] .inquiry-deck-panel.is-menu::after {
  background:
    repeating-linear-gradient(180deg, rgba(235,168,55,.18) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(235,168,55,.16) 8px 9px),
    radial-gradient(circle at 50% 0%, rgba(235,168,55,.16), transparent 46%),
    linear-gradient(180deg, rgba(0,0,0,.92), rgba(0,0,0,.98));
}

.App-Ax[data-skin="studio"] .inquiry-deck-panel.is-menu .ctx-title,
.App-Ax[data-skin="studio"] .inquiry-deck-panel.is-menu .ctx-btn {
  position: relative;
  z-index: 12;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-shadow:
    0 0 7px rgba(255,255,255,.92),
    0 0 14px rgba(255,255,255,.62),
    0 0 22px rgba(235,168,55,.38);
}


.App-Ax[data-skin="studio"] .inquiry-tree-input {
  background: rgba(255,255,255,.54);
  color: #1a1d23;
  border-color: rgba(30,34,42,.18);
}
