.studio-room,
.package-record,
.compare-dialog {
  --studio-navy: #073366;
  --studio-royal: #084997;
  --studio-cobalt: #1269d5;
  --studio-ink: #102a47;
  --studio-muted: #405978;
  --studio-paper: #f5f9ff;
  --studio-line: #cadbed;
}
.studio-room {
  background:
    radial-gradient(ellipse at 12% 10%, #dcebff 0%, transparent 56%),
    linear-gradient(135deg, #edf5ff 0%, #f5f9ff 55%, #e3eeff 100%);
  color: var(--studio-ink);
  padding: clamp(30px, 3.3vw, 52px) 0 clamp(34px, 4.2vw, 68px);
}
.studio-wrap {
  width: min(calc(100% - clamp(40px, 8vw, 132px)), 1510px);
  margin-inline: auto;
}
.studio-intro,
.record-head,
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.studio-intro {
  margin-bottom: clamp(21px, 2vw, 31px);
}
.studio-intro h1 {
  font-size: clamp(3.05rem, 4.75vw, 5.2rem);
  letter-spacing: -0.055em;
  line-height: 1.03;
}
.studio-intro h1 em {
  color: var(--studio-cobalt);
  font-weight: 400;
}
.studio-intro p {
  margin-top: 7px;
  color: var(--studio-muted);
  font-size: clamp(0.97rem, 1.1vw, 1.1rem);
}
.studio-action,
.tour-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
  min-height: 42px;
  border-radius: 7px;
  padding: 9px 16px;
  border: 1px solid #a2bad6;
  color: var(--studio-royal);
  font-size: 0.91rem;
  font-weight: 600;
  background: #fff;
}
.studio-action:hover,
.tour-btn:hover {
  background: #e6f1ff;
  border-color: #6899ce;
}
.studio-action .icon,
.tour-btn .icon {
  width: 17px;
  height: 17px;
}
.console {
  --accent: #8fdaff;
  --accent-rgb: 143, 218, 255;
  display: grid;
  grid-template-columns: clamp(165px, 15vw, 225px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #b2c7de;
  border-radius: 17px;
  box-shadow: 0 18px 50px #04336925;
  background: var(--studio-navy);
}
.console[data-type="gerobak"] {
  --accent: #b4ceff;
  --accent-rgb: 180, 206, 255;
}
.console[data-type="kontainer"] {
  --accent: #74bfff;
  --accent-rgb: 116, 191, 255;
}
.package-rail {
  padding: 24px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  background: linear-gradient(160deg, #0e4077, #072c58 70%);
  border-right: 1px solid #346294;
}
.ui-label {
  font: 700 0.71rem/1.4 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--studio-royal);
}
.package-rail > .ui-label {
  padding-left: 4px;
  color: #cce5ff;
}
.rail-options {
  display: grid;
  gap: 10px;
}
.pkg-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #123e70;
  border: 1px solid #3b6491;
  border-radius: 9px;
  position: relative;
  padding: 8px 7px;
  min-height: 80px;
  text-align: left;
  overflow: hidden;
  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}
.pkg-choice img {
  width: clamp(48px, 4.1vw, 64px);
  height: 51px;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px #011a3c55);
  transition: transform 0.3s;
}
.pkg-choice:hover img {
  transform: translateY(-2px);
}
.pkg-choice > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pkg-choice strong {
  font-size: clamp(0.89rem, 1.07vw, 1.08rem);
  color: #f5faff;
  font-weight: 650;
}
.pkg-choice small {
  font-size: 0.79rem;
  color: #c7ddf6;
}
.pkg-choice:hover {
  background: #1c4e86;
}
.pkg-choice[aria-selected="true"] {
  border-color: var(--accent);
  background: linear-gradient(115deg, #f2f8ff 0%, #d8eaff 100%);
  box-shadow:
    0 0 16px rgba(var(--accent-rgb), 0.1),
    inset 0 0 0 1px rgba(var(--accent-rgb), 0.14);
}
.pkg-choice[aria-selected="true"] strong {
  color: var(--studio-navy);
}
.pkg-choice[aria-selected="true"] small {
  color: var(--studio-muted);
}
.pkg-choice[aria-selected="true"]:after {
  content: "";
  position: absolute;
  left: 0;
  top: 24%;
  bottom: 24%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--studio-cobalt);
  box-shadow: 0 0 9px rgba(18, 105, 213, .35);
}
.tour-wrap {
  margin-top: auto;
}
.tour-btn {
  width: 100%;
  background: transparent;
  border-color: #5680ad;
  color: #ebf5ff;
  padding-inline: 9px;
  font-size: 0.88rem;
}
.tour-btn[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}
.tour-btn:hover {
  background: #1c4d80;
  border-color: #8fc4f7;
}
.outlet-display {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(266px, 23vw, 340px);
}
.stage-pane {
  position: relative;
  min-width: 0;
  min-height: clamp(459px, 35vw, 545px);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 51% 68%, rgba(35, 100, 160, .43), transparent 49%),
    radial-gradient(ellipse at 51% 31%, rgba(26, 77, 131, .42), transparent 64%),
    linear-gradient(155deg, #041b36 0%, #09294e 54%, #041c39 100%);
  color: #edf7ff;
}
.stage-top {
  position: absolute;
  top: 15px;
  left: 18px;
  right: 15px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.viewport-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d6eaff;
  font: 600 0.76rem/1.3 var(--sans);
  letter-spacing: 0.04em;
}
.viewport-badge .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.square-control,
.cam-btn {
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  color: #e3f1ff;
  background: transparent;
  flex: none;
}
.square-control {
  border: 1px solid #507299;
  width: 36px;
  height: 36px;
  pointer-events: auto;
  background: #082a50de;
}
.square-control .icon {
  width: 18px;
  height: 18px;
}
.square-control:hover,
.cam-btn:hover:not(:disabled) {
  background: #215886;
  color: #fff;
}
.model-space {
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  bottom: 90px;
  isolation: isolate;
}
.model-space croffle-booth {
  display: block;
  position: absolute;
  inset: 0 2%;
  width: 96%;
  height: 100%;
  touch-action: pan-y;
  z-index: 1;
}
.boot-poster {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.perspective-grid {
  position: absolute;
  bottom: -27%;
  left: -32%;
  width: 164%;
  height: 82%;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.15) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: perspective(260px) rotateX(64deg);
  mask-image: radial-gradient(ellipse at center, black, transparent 69%);
  pointer-events: none;
}
.floor-orbit {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 1%;
  height: 15%;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  box-shadow:
    0 0 14px rgba(var(--accent-rgb), 0.09),
    inset 0 0 13px rgba(var(--accent-rgb), 0.07);
  border-radius: 50%;
  pointer-events: none;
}
.floor-orbit:after {
  content: "";
  position: absolute;
  inset: -23% -6%;
  border: 1px dashed rgba(var(--accent-rgb), 0.16);
  border-radius: 50%;
}
.orbit-sweep {
  position: absolute;
  z-index: 2;
  left: 8%;
  width: 84%;
  top: 48%;
  height: 19%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: conic-gradient(
    from 20deg,
    transparent 5%,
    rgba(var(--accent-rgb), 0.1) 24%,
    var(--accent) 36%,
    white 40%,
    transparent 47%,
    transparent 72%,
    var(--accent) 82%,
    transparent 95%
  );
  mask: radial-gradient(
    ellipse closest-side,
    transparent 91%,
    black 96%,
    transparent 100%
  );
  transform: rotate(-9deg);
}
.spark-trail {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.spark-trail i {
  --dx: 8px;
  --dy: -21px;
  position: absolute;
  top: 39%;
  left: 20%;
  background: var(--accent);
  width: 3px;
  height: 3px;
  border-radius: 100%;
  box-shadow: 0 0 6px var(--accent);
  opacity: 0;
}
.spark-trail i:nth-child(2) {
  top: 46%;
  left: 72%;
  --dx: 18px;
  --dy: -32px;
}
.spark-trail i:nth-child(3) {
  top: 31%;
  left: 76%;
  --dx: 19px;
  --dy: -18px;
}
.spark-trail i:nth-child(4) {
  top: 54%;
  left: 23%;
  --dx: -18px;
  --dy: -34px;
}
.spark-trail i:nth-child(5) {
  top: 57%;
  left: 64%;
  --dx: 10px;
  --dy: -17px;
}
.spark-trail i:nth-child(6) {
  top: 68%;
  left: 34%;
  --dx: -24px;
  --dy: -16px;
}
.console.switching .orbit-sweep {
  animation: light-sweep 0.92s cubic-bezier(0.15, 0.58, 0.35, 1);
}
.console.switching .spark-trail i {
  animation: light-sparks 0.85s ease-out;
}
@keyframes light-sweep {
  0% {
    opacity: 0;
    transform: translateY(32%) rotate(-17deg) scale(0.45);
  }
  30% {
    opacity: 1;
  }
  75% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateY(-30%) rotate(-2deg) scale(1.05);
  }
}
@keyframes light-sparks {
  0%,
  14% {
    opacity: 0;
    transform: translate(0, 0);
  }
  34% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy));
  }
}
.stage-under {
  position: absolute;
  z-index: 3;
  left: 10px;
  right: 10px;
  bottom: 17px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.drag-hint {
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d5e8fa;
}
.drag-hint .icon {
  width: 17px;
  height: 17px;
  color: var(--accent);
}
.camera-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid #4b6b92;
  background: #062345ef;
  box-shadow: 0 5px 17px #000e2244;
  border-radius: 9px;
}
.cam-btn {
  width: 32px;
  height: 32px;
}
.cam-btn .icon {
  width: 17px;
  height: 17px;
}
.cam-btn:disabled {
  opacity: 0.33;
  cursor: default;
}
.cam-btn[aria-pressed="true"] {
  background: rgba(var(--accent-rgb), 0.17);
  color: var(--accent);
}
.toolbar-line {
  width: 1px;
  height: 16px;
  background: #547393;
  margin-inline: 2px;
}
.view-picker {
  position: relative;
}
.view-picker select {
  appearance: none;
  border: 0;
  background: transparent;
  font: 500 0.82rem var(--sans);
  color: #f1f8ff;
  padding: 7px 22px 7px 7px;
  cursor: pointer;
  border-radius: 5px;
}
.view-picker option {
  background: #123b66;
  color: #edf7ff;
}
.view-picker > .icon {
  position: absolute;
  right: 5px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  pointer-events: none;
}
#zoom-value {
  font-variant-numeric: tabular-nums;
  font-size: 0.76rem;
  min-width: 36px;
  text-align: center;
  color: #c8e3ff;
}
.investment-pane {
  background: linear-gradient(160deg, #fff, #f2f8ff 85%);
  color: var(--studio-ink);
  border-left: 1px solid #b8cfe8;
  padding: clamp(20px, 2vw, 32px) clamp(17px, 1.7vw, 27px);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
@media (forced-colors: none) {
  .stage-pane :focus-visible,
  .package-rail :focus-visible {
    outline: 2px solid #b8eaff;
    outline-offset: 2px;
  }
}
.investment-pane h2 {
  font-size: clamp(1.9rem, 2.4vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 8px 0 8px;
  color: var(--studio-navy);
}
.measure {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--studio-muted);
  font-size: 0.88rem;
}
.measure .icon {
  color: #35689e;
  width: 16px;
  height: 16px;
}
.cost-lines {
  margin: 19px 0 0;
  border-block: 1px solid var(--studio-line);
  padding: 12px 0;
}
.cost-lines > div,
.spec-lines > div,
.supply-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.cost-lines > div {
  padding: 5px 0;
}
.cost-lines dt {
  color: var(--studio-muted);
  font-size: 0.875rem;
}
.cost-lines dd {
  font-size: 0.89rem;
  color: var(--studio-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.grand-total {
  margin: auto 0 17px;
  padding: 16px 0 0;
  display: flex;
  flex-direction: column;
}
.grand-total > span {
  font-size: 0.85rem;
  color: var(--studio-muted);
}
.grand-total > strong {
  color: var(--studio-royal);
  font-family: var(--serif);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 400;
  font-size: clamp(1.95rem, 2.5vw, 2.75rem);
}
.contact-pkg {
  width: 100%;
  padding: 11px 10px;
  font-size: 0.9rem;
}
.simulate-pkg {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 4px 0;
  color: var(--studio-royal);
  font-size: 0.85rem;
  font-weight: 600;
}
.simulate-pkg:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.simulate-pkg .icon {
  width: 16px;
  height: 16px;
}
.console.switching .investment-pane h2,
.console.switching .grand-total > strong {
  animation: studio-enter 0.3s ease-out;
}
@keyframes studio-enter {
  from {
    opacity: 0.4;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.package-record {
  padding: clamp(42px, 5vw, 80px) 0;
  background: var(--studio-paper);
  color: var(--studio-ink);
}
.record-head {
  align-items: end;
  margin-bottom: 22px;
}
.record-head .eyebrow {
  color: var(--studio-royal);
}
.record-head h2,
.compare-dialog h2 {
  font: 400 clamp(2.35rem, 3.55vw, 3.65rem) / 1.08 var(--serif);
  letter-spacing: -0.045em;
  margin-top: 10px;
}
.record-head em,
.compare-dialog em {
  color: var(--studio-royal);
}
.record-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--studio-line);
  border-radius: 9px;
  background: #e8f2ff;
}
.record-tabs button {
  white-space: nowrap;
  border-radius: 6px;
  padding: 8px 12px;
  font: 600 0.88rem var(--sans);
  color: var(--studio-muted);
}
.record-tabs button[aria-selected="true"] {
  background: var(--studio-royal);
  color: #fff;
}
.record-tabs button:hover:not([aria-selected="true"]) {
  background: #d4e6fb;
}
.record-panel {
  border: 1px solid var(--studio-line);
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
}
.record-panel[hidden],
.bonus-info[hidden] {
  display: none;
}
.format-panel {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) 1.4fr;
}
.source-art {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 20px;
  min-height: 245px;
  background: radial-gradient(ellipse at center, #f5faff, #d5e8ff);
  border-right: 1px solid var(--studio-line);
}
.source-art img {
  height: clamp(160px, 15vw, 225px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 6px #07336620);
}
.source-art figcaption {
  font-size: 0.75rem;
  color: var(--studio-muted);
}
.format-copy,
.list-panel,
.support-panel {
  padding: clamp(20px, 2.5vw, 37px);
}
.record-panel h3 {
  font-size: clamp(1.65rem, 2.1vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 9px;
}
.record-panel p {
  color: var(--studio-muted);
  font-size: 0.98rem;
  line-height: 1.56;
}
.spec-lines {
  margin-top: 15px;
  border-top: 1px solid var(--studio-line);
}
.spec-lines > div {
  padding: 7px 0;
  border-bottom: 1px solid #dfe9f3;
  font-size: 0.89rem;
}
.spec-lines dt {
  color: var(--studio-muted);
}
.spec-lines dd {
  font-weight: 600;
  text-align: right;
}
.record-panel .bonus-info {
  margin-top: 13px;
  padding: 10px 14px;
  background: #e7f2ff;
  border-left: 2px solid var(--studio-cobalt);
  color: var(--studio-navy);
  font-size: 0.86rem;
}
.supply-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px 14px;
  margin-top: 18px;
}
.supply-groups details {
  background: #f6faff;
  border: 1px solid var(--studio-line);
  border-radius: 7px;
}
.supply-groups summary {
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  color: var(--studio-navy);
  font-size: 0.95rem;
}
.supply-groups .icon {
  width: 15px;
  height: 15px;
}
.supply-groups [open] summary .icon {
  transform: rotate(180deg);
}
.supply-list {
  padding: 0 15px 12px;
}
.supply-list > div {
  padding: 5px 0;
  font-size: 0.86rem;
  border-top: 1px solid #dae6f3;
}
.supply-list dd {
  white-space: nowrap;
  font-weight: 600;
}
.support-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding-top: 17px;
}
.support-steps article {
  border-left: 2px solid #82b4e8;
  padding-left: 16px;
}
.support-steps .icon {
  color: var(--studio-cobalt);
}
.support-steps h4 {
  font-size: 1.04rem;
  margin: 9px 0 4px;
}
.support-steps p {
  font-size: 0.93rem;
}
.compare-dialog {
  width: min(850px, calc(100% - 24px));
  max-height: 90dvh;
  overflow: auto;
  border: 1px solid #b6cae0;
  background: #fff;
  color: var(--studio-ink);
  border-radius: 13px;
  padding: clamp(16px, 2.4vw, 34px);
  box-shadow: 0 24px 90px #02183170;
}
.compare-dialog::backdrop {
  background: #031b36bf;
}
.compare-dialog .square-control {
  flex-shrink: 0;
  color: var(--studio-navy);
  background: #e7f2ff;
  border-color: #adc8e4;
}
.compare-dialog .square-control:hover {
  background: #d2e6fc;
}
.dialog-head h2 {
  margin: 0;
}
.table-clip {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--studio-line);
  border-radius: 7px;
}
.table-clip table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  font-variant-numeric: tabular-nums;
  font-size: 0.91rem;
}
.table-clip td,
.table-clip th {
  padding: 10px 13px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid #dce8f4;
  font-weight: 400;
}
.table-clip th:first-child {
  text-align: left;
}
.table-clip thead th {
  background: var(--studio-navy);
  color: #fff;
  font-weight: 600;
}
.table-clip tbody tr:last-child > * {
  border: 0;
  background: #e4f0ff;
  color: var(--studio-navy);
  font-weight: 700;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.stage-pane:fullscreen,
.stage-pane.expanded {
  width: 100%;
  height: 100%;
  min-height: 0;
  --accent: #8fdaff;
  --accent-rgb: 143, 218, 255;
}
.stage-pane.expanded {
  position: fixed;
  inset: 0;
  z-index: 30;
  width: 100vw;
  height: 100dvh;
}
.stage-pane:fullscreen .model-space,
.stage-pane.expanded .model-space {
  inset: 7% 6% 13%;
}
.stage-pane:fullscreen .stage-under,
.stage-pane.expanded .stage-under {
  bottom: max(20px, env(safe-area-inset-bottom));
}
body.stage-expanded {
  overflow: hidden;
}
@media (max-width: 1230px) and (min-width: 1041px) {
  .package-rail {
    padding-inline: 10px;
  }
  .pkg-choice {
    gap: 3px;
  }
  .studio-wrap {
    width: calc(100% - 52px);
  }
  .outlet-display {
    grid-template-columns: minmax(0, 1fr) 269px;
  }
}
@media (max-width: 1040px) {
  .console {
    display: block;
  }
  .package-rail {
    padding: 11px 15px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    border: 0;
    border-bottom: 1px solid #346294;
  }
  .package-rail > .ui-label {
    display: none;
  }
  .rail-options {
    display: flex;
    gap: 7px;
  }
  .pkg-choice {
    min-height: 57px;
    padding: 5px 13px 5px 8px;
  }
  .pkg-choice img {
    width: 48px;
    height: 40px;
  }
  .pkg-choice strong {
    font-size: 0.93rem;
  }
  .pkg-choice small {
    font-size: 0.73rem;
  }
  .tour-wrap {
    margin: 0 0 0 auto;
  }
  .tour-btn {
    min-height: 38px;
  }
  .outlet-display {
    grid-template-columns: minmax(0, 1fr) 285px;
  }
  .stage-pane {
    min-height: 435px;
  }
  .record-head {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
  .record-panel h3 {
    font-size: 1.7rem;
  }
}
@media (max-width: 780px) {
  .studio-wrap {
    width: calc(100% - 36px);
  }
  .studio-intro {
    gap: 13px;
  }
  .studio-intro h1 {
    font-size: clamp(2.7rem, 7vw, 3.5rem);
  }
  .studio-intro p {
    font-size: 0.95rem;
  }
  .compare-open {
    padding: 9px 11px;
    font-size: 0.84rem;
  }
  .outlet-display {
    grid-template-columns: minmax(0, 1fr) 245px;
  }
  .investment-pane {
    padding: 20px 16px;
  }
  .cost-lines dt,
  .cost-lines dd {
    font-size: 0.82rem;
  }
  .camera-controls {
    gap: 0;
  }
  .record-tabs button {
    padding: 8px 9px;
  }
  .support-steps {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .compare-dialog th:first-child {
    position: sticky;
    left: 0;
    background: #f4f9ff;
  }
  .compare-dialog thead th:first-child {
    background: var(--studio-navy);
  }
}
@media (max-width: 680px) {
  .studio-room {
    padding: 24px 0 29px;
  }
  .studio-intro {
    align-items: start;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 12px;
  }
  .studio-intro h1 {
    font-size: clamp(2.55rem, 9vw, 3.4rem);
  }
  .studio-intro p {
    font-size: 0.94rem;
    max-width: 45ch;
  }
  .compare-open {
    min-height: 34px;
    padding: 6px 11px;
  }
  .console {
    border-radius: 12px;
  }
  .package-rail {
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px;
  }
  .package-rail > .ui-label {
    display: block;
  }
  .tour-wrap {
    grid-row: 1;
    grid-column: 2;
  }
  .tour-btn {
    border: 0;
    min-height: 28px;
    padding: 3px 4px;
    background: transparent;
    font-size: 0.8rem;
  }
  .tour-btn .icon {
    width: 13px;
    height: 13px;
  }
  .rail-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column: 1 / -1;
    gap: 5px;
  }
  .pkg-choice {
    border-radius: 6px;
    justify-content: center;
    min-width: 0;
    gap: 4px;
    padding: 5px 2px;
    min-height: 53px;
  }
  .pkg-choice img {
    width: 34px;
    height: 35px;
  }
  .pkg-choice > span {
    gap: 1px;
  }
  .pkg-choice strong {
    font-size: 0.8rem;
  }
  .pkg-choice small {
    font-size: 0.69rem;
  }
  .outlet-display {
    display: block;
  }
  .stage-pane {
    min-height: 0;
    height: clamp(333px, 68vw, 440px);
  }
  .stage-top {
    top: 9px;
    left: 12px;
    right: 9px;
  }
  .stage-top .square-control {
    width: 31px;
    height: 31px;
  }
  .model-space {
    top: 32px;
    bottom: 72px;
  }
  .stage-under {
    bottom: 9px;
    gap: 4px;
  }
  .camera-controls .cam-btn {
    width: 32px;
    height: 32px;
  }
  .investment-pane {
    border: 0;
    border-top: 1px solid #b8cde4;
    padding: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3px 9px;
  }
  .investment-pane .ui-label {
    grid-column: 1 / -1;
  }
  .investment-pane h2 {
    margin: 4px 0;
    font-size: 1.85rem;
  }
  .measure {
    justify-self: end;
    font-size: 0.8rem;
  }
  .cost-lines {
    grid-column: 1 / -1;
    margin: 7px 0 0;
    padding: 7px 0;
  }
  .cost-lines dt,
  .cost-lines dd {
    font-size: 0.88rem;
  }
  .grand-total {
    margin: 0;
    padding: 11px 0 9px;
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
  .grand-total strong {
    font-size: 1.95rem;
  }
  .contact-pkg,
  .simulate-pkg {
    grid-column: 1 / -1;
  }
  .simulate-pkg {
    margin-top: 5px;
  }
  .format-panel {
    grid-template-columns: 1fr;
  }
  .source-art {
    min-height: 0;
    border: 0;
    border-bottom: 1px solid var(--studio-line);
    padding: 16px;
  }
  .source-art img {
    height: 135px;
  }
  .source-art figcaption {
    font-size: 0.71rem;
  }
  .record-head {
    gap: 13px;
  }
  .record-tabs {
    max-width: 100%;
    width: max-content;
  }
  .record-tabs button {
    font-size: 0.79rem;
    padding: 8px 7px;
  }
  .format-copy,
  .list-panel,
  .support-panel {
    padding: 20px;
  }
  .supply-groups {
    grid-template-columns: 1fr;
  }
  .package-record {
    padding: 36px 0;
  }
  .table-clip td,
  .table-clip th {
    font-size: 0.82rem;
    padding: 9px 10px;
  }
  .table-clip th:first-child {
    max-width: 104px;
    white-space: normal;
  }
  .stage-pane.expanded,
  .stage-pane:fullscreen {
    height: 100dvh;
  }
}
@media (max-width: 370px) {
  .studio-wrap {
    width: calc(100% - 24px);
  }
  .pkg-choice img {
    width: 25px;
  }
  .pkg-choice strong {
    font-size: 0.77rem;
  }
  .record-tabs button {
    padding: 7px 5px;
    font-size: 0.74rem;
  }
  .camera-controls .cam-btn {
    width: 29px;
  }
  .stage-under {
    left: 3px;
    right: 3px;
  }
  .investment-pane {
    padding: 16px;
  }
  .drag-hint {
    font-size: 0.71rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .console.switching .orbit-sweep,
  .console.switching .spark-trail i,
  .console.switching .investment-pane h2,
  .console.switching .grand-total > strong {
    animation: none;
  }
}
@media (max-width: 370px) {
  .pkg-choice {
    flex-direction: column;
    gap: 2px;
    padding: 4px 2px;
  }
  .pkg-choice img {
    width: 36px;
    height: 24px;
  }
  .pkg-choice > span {
    align-items: center;
  }
}
