/*! Solar System Repair Co. | Source: https://orbitalforest.com */
/* Workshop v95: painted source textures, sliced around live accessible UI. */
#game-shell[data-scene="workshop"] {
  --workshop-bezel: url("assets/workshop-bezel-v1.webp");
  --workshop-glass: url("assets/workshop-glass-v1.webp");
  --workshop-key: url("assets/workshop-blue-key-v1.webp");
  --workshop-action: url("assets/workshop-amber-key-v1.webp");
  /* This bezel has a clear inner gasket before the 190/200px cuts. Fill
     to 75% of the border width, beneath the gasket, with no exterior backing. */
}

/* These are actual textured steel objects. The opening stays live display glass. */
#game-shell[data-scene="workshop"] :is(
  .workshop-inspector, .workshop-aside, .shop-panel, .mission-board,
  .mission-terminal, .crate-panel, .ship-wash-panel) {
  border: 24px solid transparent;
  border-image: var(--workshop-bezel) 190 200 / 24px stretch;
  border-radius: 0;
  background: var(--workshop-glass) center no-repeat,
    linear-gradient(#081b20, #081b20) center no-repeat;
  background-size: calc(100% - var(--workshop-frame-size, 24px) * 1.5) calc(100% - var(--workshop-frame-size, 24px) * 1.5);
  background-origin: border-box;
  box-shadow: none;
  filter: drop-shadow(0 10px 27px #000b);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #f1e5ca;
}
#game-shell[data-scene="workshop"] :is(
  .workshop-inspector, .workshop-aside, .shop-panel, .mission-board,
  .mission-terminal).metal-panel::before,
#game-shell[data-scene="workshop"] :is(
  .workshop-inspector, .workshop-aside, .shop-panel, .mission-board,
  .mission-terminal).metal-panel::after { content: none; }

/* The HUD is bolted to the workshop window, with separate glass readouts. */
#game-shell[data-scene="workshop"] > :is(.top-hud, .bottom-hud) {
  --workshop-frame-size: 13px;
  border: 13px solid transparent;
  border-image: var(--workshop-bezel) 190 200 / 13px stretch;
  border-radius: 0;
  background: var(--workshop-glass) center no-repeat,
    linear-gradient(#071a20, #071a20) center no-repeat;
  background-size: calc(100% - var(--workshop-frame-size, 24px) * 1.5) calc(100% - var(--workshop-frame-size, 24px) * 1.5);
  background-origin: border-box;
  box-shadow: 0 4px 16px #000a;
}
#game-shell[data-scene="workshop"] > .top-hud {
  min-height: calc(68px + var(--safe-top));
  padding-left: max(.5rem, var(--safe-left));
  padding-right: max(.5rem, var(--safe-right));
}
#game-shell[data-scene="workshop"] > .bottom-hud {
  min-height: calc(43px + var(--safe-bottom));
  padding-left: max(.6rem, var(--safe-left));
  padding-right: max(.6rem, var(--safe-right));
}
#game-shell[data-scene="workshop"] :is(.credit-balance, .connection-status,
  .mission-board-heading > span, #mission-page-status) {
  --workshop-frame-size: 8px;
  border: 8px solid transparent;
  border-image: var(--workshop-bezel) 190 200 / 8px stretch;
  border-radius: 0;
  background: var(--workshop-glass) center no-repeat,
    linear-gradient(#071a20, #071a20) center no-repeat;
  background-size: calc(100% - var(--workshop-frame-size, 24px) * 1.5) calc(100% - var(--workshop-frame-size, 24px) * 1.5);
  background-origin: border-box;
  box-shadow: inset 0 3px 8px #0009;
  color: #f5c981;
}
#game-shell[data-scene="workshop"] .connection-status { color: #c8eadc; }
#game-shell[data-scene="workshop"] .brand-mark {
  --workshop-frame-size: 8px;
  border: 8px solid transparent;
  border-image: var(--workshop-bezel) 190 200 / 8px stretch;
  border-radius: 0;
  background: var(--workshop-glass) center no-repeat,
    linear-gradient(#071a20, #071a20) center no-repeat;
  background-size: calc(100% - var(--workshop-frame-size, 24px) * 1.5) calc(100% - var(--workshop-frame-size, 24px) * 1.5);
  background-origin: border-box;
}

/* A small instrument by Rivet and Sprocket, instead of a translucent caption. */
#game-shell[data-scene="workshop"] :is(.workshop-interact-prompt, .socket-activity-bubble) {
  --workshop-frame-size: 11px;
  border: 11px solid transparent;
  border-image: var(--workshop-bezel) 190 200 / 11px stretch;
  border-radius: 0;
  background: var(--workshop-glass) center no-repeat,
    linear-gradient(#071b20, #071b20) center no-repeat;
  background-size: calc(100% - var(--workshop-frame-size, 24px) * 1.5) calc(100% - var(--workshop-frame-size, 24px) * 1.5);
  background-origin: border-box;
  box-shadow: 0 5px 14px #000a;
  color: #d9f3df;
}
#game-shell[data-scene="workshop"] .workshop-interact-prompt.is-ready { color: #ffe3a5; }
#game-shell[data-scene="workshop"] .workshop-move-pad {
  padding: 8px;
  --workshop-frame-size: 12px;
  border: 12px solid transparent;
  border-image: var(--workshop-bezel) 190 200 / 12px stretch;
  background: var(--workshop-glass) center no-repeat,
    linear-gradient(#071b20, #071b20) center no-repeat;
  background-size: calc(100% - var(--workshop-frame-size, 24px) * 1.5) calc(100% - var(--workshop-frame-size, 24px) * 1.5);
  background-origin: border-box;
  box-shadow: 0 9px 20px #000b;
}

/* The keys contain their own photographed resin, rims and corner screws. */
#game-shell[data-scene="workshop"] :is(
  .icon-button, .button, .mission-control, .mission-interact-button,
  .workshop-aside-button, .workshop-inspector-bar button, .shop-titlebar button,
  .shop-buy-button, .mission-card, .mission-pagination button,
  .terminal-exit, .crate-action, .ship-wash-button) {
  border: 9px solid transparent;
  border-image: var(--workshop-key) 225 185 fill / 9px stretch;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 3px 5px #0008;
  color: #f1e8d6;
  text-shadow: 0 1px 2px #06131a;
}
#game-shell[data-scene="workshop"] :is(
  .button-primary, .workshop-interact-button, .shop-buy-button:not(:disabled)) {
  border-image: var(--workshop-action) 225 185 fill / 9px stretch;
  color: #2b190c;
  text-shadow: 0 1px #ffe3a0ad;
}
#game-shell[data-scene="workshop"] .mission-card.is-selected {
  border-image: var(--workshop-action) 225 185 fill / 9px stretch;
  box-shadow: 0 0 16px #ffc5738a, 0 3px 5px #0008;
  color: #251c16;
}
#game-shell[data-scene="workshop"] .mission-card.is-selected > :is(span, strong, small, b) { color: #211c15; }
#game-shell[data-scene="workshop"] :is(.button, .icon-button, .mission-control,
  .mission-interact-button, .workshop-aside-button, .shop-buy-button,
  .mission-card, .mission-pagination button, .crate-action, .ship-wash-button):is(:hover, :focus-visible) {
  filter: brightness(1.2);
}
#game-shell[data-scene="workshop"] :is(.button, .icon-button, .mission-control,
  .mission-interact-button, .workshop-aside-button, .shop-buy-button,
  .mission-card, .mission-pagination button, .crate-action, .ship-wash-button):active {
  filter: brightness(.9);
  transform: translateY(2px);
}
#game-shell[data-scene="workshop"] .mission-control { width: 48px; height: 42px; }
#game-shell[data-scene="workshop"] .workshop-move-pad { grid-template-columns: repeat(3, 48px); }
#game-shell[data-scene="workshop"] .workshop-interact-button { width: 105px; height: 68px; }
#game-shell[data-scene="workshop"] .workshop-interact-button span { color: #503316; }

/* Every nonphysical data grouping reads as content on a recessed screen. */
#game-shell[data-scene="workshop"] :is(
  .workshop-inspector-bar, .workshop-inspector-footer, .shop-titlebar,
  .shop-footer, .mission-board-heading, .terminal-bar,
  .mission-terminal .terminal-screen, .mission-terminal .call-copy,
  .mission-facts div, .shop-card, .collection-card,
  .shop-item-badge, .collection-card-art, .crate-rack,
  .ship-wash-canvas, .ship-wash-gauges) {
  --workshop-frame-size: 11px;
  border: 11px solid transparent;
  border-image: var(--workshop-bezel) 190 200 / 11px stretch;
  border-radius: 0;
  background: var(--workshop-glass) center no-repeat,
    linear-gradient(#071c22, #071c22) center no-repeat;
  background-size: calc(100% - var(--workshop-frame-size, 24px) * 1.5) calc(100% - var(--workshop-frame-size, 24px) * 1.5);
  background-origin: border-box;
  box-shadow: inset 0 3px 9px #0009;
}
#game-shell[data-scene="workshop"] :is(.shop-titlebar, .terminal-bar, .mission-board-heading) { color: #f4bc6f; }
#game-shell[data-scene="workshop"] .mission-terminal .terminal-screen { --workshop-frame-size: 13px; border-width: 13px; border-image-width: 13px; }
#game-shell[data-scene="workshop"] .mission-terminal .call-copy { border-width: 0; padding: 16px; }
#game-shell[data-scene="workshop"] .mission-terminal .caller-portrait {
  --workshop-frame-size: 10px;
  border: 10px solid transparent;
  border-image: var(--workshop-bezel) 190 200 / 10px stretch;
  border-radius: 0;
  background: #061a20;
  background-clip: padding-box;
}
#game-shell[data-scene="workshop"] .mission-facts div { padding: 4px 8px; }
#game-shell[data-scene="workshop"] .shop-card.is-owned { box-shadow: inset 0 0 20px #143c30, inset 0 3px 9px #0009; }
#game-shell[data-scene="workshop"] .shop-item-badge { border-radius: 0; }
#game-shell[data-scene="workshop"] .collection-card-art { overflow: visible; }

/* Keep the generated casing from eating the fixed four-slot mission picker. */
#game-shell[data-scene="workshop"] .mission-computer-card {
  width: min(1200px, calc(100% - 24px));
  grid-template-columns: minmax(285px, 320px) minmax(0, 1fr);
}
#game-shell[data-scene="workshop"] .mission-computer-card .mission-board { padding: 10px; }
#game-shell[data-scene="workshop"] .mission-picker { gap: 8px; }
#game-shell[data-scene="workshop"] .mission-card { padding: 4px 6px; align-content: center; row-gap: 3px; }
#game-shell[data-scene="workshop"] .mission-card > small { display: none; }
#game-shell[data-scene="workshop"] .mission-board-heading { margin: 0 0 8px; padding: 4px 6px; }
#game-shell[data-scene="workshop"] .mission-board-heading .eyebrow {
  white-space: nowrap; font-size: .65rem; letter-spacing: .06em;
}
#game-shell[data-scene="workshop"] .mission-pagination { margin-top: 8px; }
#game-shell[data-scene="workshop"] .shop-titlebar { margin: 0; }
#game-shell[data-scene="workshop"] .workshop-inspector-bar { margin: 0 0 8px; padding: 2px 5px; }
#game-shell[data-scene="workshop"] .workshop-inspector-footer { padding: 4px 5px; }
#game-shell[data-scene="workshop"] .crate-panel,
#game-shell[data-scene="workshop"] .ship-wash-panel { border-width: 18px; border-image-width: 18px; }
#game-shell[data-scene="workshop"] .crate-grid-cell,
#game-shell[data-scene="workshop"] .crate-piece,
#game-shell[data-scene="workshop"] .crate-backdrop,
#game-shell[data-scene="workshop"] .ship-wash-backdrop { border-image: none; }

/* The shared settings dialog and transient save message are Workshop equipment here. */
body:has(#game-shell[data-scene="workshop"]) .game-dialog {
  border: 24px solid transparent;
  border-image: url("assets/workshop-bezel-v1.webp") 190 200 / 24px stretch;
  border-radius: 0;
  background: url("assets/workshop-glass-v1.webp") center no-repeat,
    linear-gradient(#081b20, #081b20) center no-repeat;
  background-size: calc(100% - var(--workshop-frame-size, 24px) * 1.5) calc(100% - var(--workshop-frame-size, 24px) * 1.5);
  background-origin: border-box;
  box-shadow: none;
  filter: drop-shadow(0 10px 27px #000b);
}
body:has(#game-shell[data-scene="workshop"]) .game-dialog :is(.dialog-titlebar, .setting-row, .control-help) {
  --workshop-frame-size: 10px;
  border: 10px solid transparent;
  border-image: url("assets/workshop-bezel-v1.webp") 190 200 / 10px stretch;
  border-radius: 0;
  background: url("assets/workshop-glass-v1.webp") center no-repeat,
    linear-gradient(#071b20, #071b20) center no-repeat;
  background-size: calc(100% - var(--workshop-frame-size, 24px) * 1.5) calc(100% - var(--workshop-frame-size, 24px) * 1.5);
  background-origin: border-box;
}
body:has(#game-shell[data-scene="workshop"]) .game-dialog button {
  border: 9px solid transparent;
  border-image: url("assets/workshop-blue-key-v1.webp") 225 185 fill / 9px stretch;
  border-radius: 0;
  background: transparent;
  color: #f2e4c9;
}
body:has(#game-shell[data-scene="workshop"]) .game-dialog .button-primary {
  border-image-source: url("assets/workshop-amber-key-v1.webp");
  color: #2b190c;
}
body:has(#game-shell[data-scene="workshop"]) .toast:not(:empty) {
  --workshop-frame-size: 12px;
  border: 12px solid transparent;
  border-image: url("assets/workshop-bezel-v1.webp") 190 200 / 12px stretch;
  border-radius: 0;
  background: url("assets/workshop-glass-v1.webp") center no-repeat,
    linear-gradient(#071b20, #071b20) center no-repeat;
  background-size: calc(100% - var(--workshop-frame-size, 24px) * 1.5) calc(100% - var(--workshop-frame-size, 24px) * 1.5);
  background-origin: border-box;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 820px) {
  #game-shell[data-scene="workshop"] .mission-computer-card { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  #game-shell[data-scene="workshop"] .mission-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 60px);
    height: 128px;
  }
  #game-shell[data-scene="workshop"] .mission-card { min-height: 0; }
}

@media (max-width: 700px), (max-height: 550px) {
  #game-shell[data-scene="workshop"] :is(.workshop-inspector, .workshop-aside,
    .shop-panel, .mission-board, .mission-terminal, .crate-panel, .ship-wash-panel) {
    --workshop-frame-size: 13px; border-width: 13px; border-image-width: 13px;
  }
  #game-shell[data-scene="workshop"] > .top-hud { min-height: 42px; border-width: 8px; border-image-width: 8px; }
  #game-shell[data-scene="workshop"] > .bottom-hud { min-height: 29px; border-width: 8px; border-image-width: 8px; }
  #game-shell[data-scene="workshop"] .shop-titlebar,
  #game-shell[data-scene="workshop"] .terminal-bar { border-width: 7px; border-image-width: 7px; padding: 4px; }
  #game-shell[data-scene="workshop"] .workshop-move-pad { border-width: 8px; border-image-width: 8px; padding: 4px; }
  #game-shell[data-scene="workshop"] .workshop-interact-button { width: 86px; height: 56px; }
  #game-shell[data-scene="workshop"] .mission-card { border-width: 6px; border-image-width: 6px; }
  #game-shell[data-scene="workshop"] .mission-computer-card .mission-board { padding: 5px; }
  body:has(#game-shell[data-scene="workshop"]) .game-dialog { --workshop-frame-size: 13px; border-width: 13px; border-image-width: 13px; }
}
@media (max-height: 480px) {
  #game-shell[data-scene="workshop"] > .top-hud { min-height: 34px; }
}

/* Workshop v98: a rail at each edge, freestanding keys, and one mission display. */
#game-shell[data-scene="workshop"] > .top-hud {
  /* Keep the painted end hardware square; only the long display glass grows. */
  --rail-cap: 69px;
  border: solid transparent;
  border-width: 1px var(--rail-cap);
  border-image: url("assets/workshop-top-rail-v2.webp") 1 150 1 150 fill / 1px var(--rail-cap) 1px var(--rail-cap) stretch;
  background: transparent;
  min-height: calc(69px + var(--safe-top));
  padding: var(--safe-top) max(12px, var(--safe-right)) 4px max(15px, var(--safe-left));
  box-shadow: none;
}
#game-shell[data-scene="workshop"] > .bottom-hud {
  --rail-cap: 58px;
  border: solid transparent;
  border-width: 1px var(--rail-cap);
  border-image: url("assets/workshop-bottom-rail-v2.webp") 1 180 1 180 fill / 1px var(--rail-cap) 1px var(--rail-cap) stretch;
  background: transparent;
  min-height: calc(55px + var(--safe-bottom));
  padding: 1px max(12px, var(--safe-right)) var(--safe-bottom) max(80px, var(--safe-left));
  box-shadow: none;
  gap: 12px;
}
#game-shell[data-scene="workshop"] :is(.brand-mark, .credit-balance, .connection-status) {
  border: 0; border-image: none; border-radius: 3px;
  background: transparent; box-shadow: none;
}
#game-shell[data-scene="workshop"] .credit-balance {
  color: #ffe0a8; font-variant-numeric: tabular-nums;
}
#game-shell[data-scene="workshop"] .brand-mark { color: #94dfca; }
#game-shell[data-scene="workshop"] .connection-status { color: #acd4b9; }
#game-shell[data-scene="workshop"] .hud-actions .icon-button {
  border-width: 5px;
  border-image: var(--workshop-key) 225 185 fill / 5px stretch;
  font-size: .65rem;
}

#game-shell[data-scene="workshop"] .workshop-move-pad {
  border: 0; border-image: none; background: none; box-shadow: none;
  padding: 0; gap: 2px; grid-template-columns: repeat(3, 48px);
}
#game-shell[data-scene="workshop"] .workshop-move-pad .mission-control {
  --key-angle: 0deg;
  border: 0; border-image: none; border-radius: 0;
  background: url("assets/workshop-direction-key-v2.webp") center / contain no-repeat;
  box-shadow: none; color: transparent; text-shadow: none;
  width: 48px; height: 48px; padding: 0;
  transform: rotate(var(--key-angle));
  transition: filter .12s, transform .12s;
}
#game-shell[data-scene="workshop"] .workshop-move-pad .mission-left { --key-angle: -90deg; }
#game-shell[data-scene="workshop"] .workshop-move-pad .mission-down { --key-angle: 180deg; }
#game-shell[data-scene="workshop"] .workshop-move-pad .mission-right { --key-angle: 90deg; }
#game-shell[data-scene="workshop"] .workshop-move-pad .mission-control:is(:hover, :focus-visible, .is-active) { filter: brightness(1.22); }
#game-shell[data-scene="workshop"] .workshop-move-pad .mission-control:active,
#game-shell[data-scene="workshop"] .workshop-move-pad .mission-control.is-active {
  filter: brightness(.85);
  transform: translateY(2px) rotate(var(--key-angle));
}

#game-shell[data-scene="workshop"] > .bottom-hud .workshop-interact-prompt {
  position: static; inset: auto; transform: none; display: inline-flex;
  align-items: center; flex: 1 1 auto; min-width: 0; max-width: 400px;
  border: 0; border-image: none; border-left: 1px solid #627873;
  border-radius: 0; background: transparent; box-shadow: none;
  padding: 2px 5px 2px 12px; margin: 0;
  font-size: .65rem; letter-spacing: .035em;
  color: #d2ebd6; pointer-events: none; animation: none;
}
#game-shell[data-scene="workshop"] > .bottom-hud .workshop-interact-prompt span {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#game-shell[data-scene="workshop"] > .bottom-hud .workshop-interact-prompt.is-ready {
  border-color: #ffc77c; color: #ffdda5; animation: none;
}
#game-shell[data-scene="workshop"] > .bottom-hud .workshop-interact-prompt kbd {
  padding: 2px 5px; margin-right: 7px; flex: none;
}
#game-shell[data-scene="workshop"]:not([data-workshop-view="explore"]) > .bottom-hud .workshop-interact-prompt { display: none; }
#game-shell[data-scene="workshop"] > .bottom-hud #objective-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#game-shell[data-scene="workshop"] > .bottom-hud .desktop-only { display: none; }

/* The computer is one physical object. Everything inside belongs to its glass. */
#game-shell[data-scene="workshop"] .mission-computer-card {
  width: min(1200px, calc(100% - 24px));
  height: min(620px, calc(100% - 24px));
  grid-template-columns: minmax(285px, 320px) minmax(0, 1fr);
  align-items: stretch;
  gap: 1px; padding: 14px;
  --workshop-frame-size: 18px;
  border: 18px solid transparent;
  border-image: var(--workshop-bezel) 190 200 / 18px stretch;
  background: #09252a;
  box-shadow: 0 20px 55px #000b;
  overflow: hidden;
}
#game-shell[data-scene="workshop"] .mission-computer-card :is(.mission-board, .mission-terminal) {
  border: 0; border-image: none; border-radius: 0;
  background: linear-gradient(150deg, #153c42, #071c27 45%, #06151d);
  box-shadow: inset 0 0 25px #0008; color: #dcece2;
}
#game-shell[data-scene="workshop"] .mission-computer-card .mission-board { border-right: 1px solid #417071; padding: 10px 12px; }
#game-shell[data-scene="workshop"] .mission-computer-card .mission-terminal {
  align-self: stretch;
  min-height: 0;
  overflow-y: auto;
  scrollbar-color: #4b8881 #09252a;
}
#game-shell[data-scene="workshop"] .mission-computer-card :is(.mission-board, .mission-terminal).metal-panel::before,
#game-shell[data-scene="workshop"] .mission-computer-card :is(.mission-board, .mission-terminal).metal-panel::after { content: none; }
#game-shell[data-scene="workshop"] .mission-computer-card :is(.mission-board-heading, .terminal-bar, .terminal-screen, .call-copy, .mission-facts div, .caller-portrait),
#game-shell[data-scene="workshop"] .mission-computer-card .mission-board-heading > span {
  border: 0; border-image: none; border-radius: 0;
  background: none; box-shadow: none;
}
#game-shell[data-scene="workshop"] .mission-computer-card :is(.mission-board-heading, .terminal-bar) {
  border-bottom: 1px solid #426f70; padding: 7px 8px;
  color: #e8bb77;
  background: linear-gradient(90deg, #14373c, #09252b);
}
#game-shell[data-scene="workshop"] .mission-computer-card .terminal-screen { padding: 0; }
#game-shell[data-scene="workshop"] .mission-computer-card .call-copy { padding: 14px 18px; }
#game-shell[data-scene="workshop"] .mission-computer-card .mission-facts div {
  padding: 3px 0; border-bottom: 1px solid #31575c;
}
#game-shell[data-scene="workshop"] .mission-computer-card .caller-portrait {
  border: 1px solid #549186; border-radius: 4px; background: #061922;
  box-shadow: 0 0 0 3px #092e33, inset 0 2px 8px #0009;
}
#game-shell[data-scene="workshop"] .mission-computer-card :is(.mission-card, .mission-pagination button, .terminal-actions button, .terminal-exit) {
  border: 1px solid #3f7775; border-image: none; border-radius: 3px;
  background: linear-gradient(#1b4b50, #0b2b35); box-shadow: inset 0 1px #9dd4bc31;
  color: #dcebe0; text-shadow: none; transform: none;
}
#game-shell[data-scene="workshop"] .mission-computer-card .mission-card.is-selected,
#game-shell[data-scene="workshop"] .mission-computer-card .terminal-actions .button-primary {
  border-color: #e4ad62; border-image: none;
  background: linear-gradient(#2b6265, #14464c); color: #ffe5af;
  box-shadow: inset 3px 0 #f7b95c, 0 0 13px #f5bb513a;
}
#game-shell[data-scene="workshop"] .mission-computer-card .mission-card.is-selected > :is(span, strong, small, b) { color: #ffe0a3; }
#game-shell[data-scene="workshop"] .mission-computer-card .mission-card { padding: 5px 8px; }
#game-shell[data-scene="workshop"] .mission-computer-card #mission-open-count {
  border: 0; border-image: none; background: transparent; box-shadow: none;
  color: #9dd5c5; padding: 0;
}
#game-shell[data-scene="workshop"] .mission-computer-card .call-controls button {
  border: 1px solid #d5a560; border-image: none; border-radius: 3px;
  background: linear-gradient(#2a6265, #12414a); box-shadow: inset 3px 0 #efb767;
  color: #ffe1a8; text-shadow: none; transform: none;
}
#game-shell[data-scene="workshop"] .mission-computer-card #mission-page-status { border: 0; border-image: none; background: transparent; box-shadow: none; color: #9dd5c5; }

/* Other equipment uses one casing and interior separators, not miniature casings. */
#game-shell[data-scene="workshop"] :is(.workshop-inspector-bar, .workshop-inspector-footer, .shop-titlebar, .shop-footer, .shop-card, .collection-card, .shop-item-badge, .collection-card-art, .crate-rack, .ship-wash-gauges),
body:has(#game-shell[data-scene="workshop"]) .game-dialog :is(.dialog-titlebar, .setting-row, .control-help) {
  border: 0; border-image: none; border-radius: 0;
  border-bottom: 1px solid #376466;
  background: linear-gradient(100deg, #103139, #092129);
  box-shadow: none;
}
#game-shell[data-scene="workshop"] .shop-card.is-owned { box-shadow: inset 4px 0 #8acaa9; }
#game-shell[data-scene="workshop"] .socket-activity-bubble { border: 1px solid #70aaa0; border-image: none; border-radius: 5px; background: #0a282de8; }
@media (max-width: 820px) {
  #game-shell[data-scene="workshop"] .mission-computer-card { height: min(680px, calc(100% - 24px)); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 0; padding: 7px; border-width: 12px; border-image-width: 12px; }
  #game-shell[data-scene="workshop"] .mission-computer-card .mission-board { border-right: 0; border-bottom: 1px solid #417071; }
}
@media (max-width: 700px), (max-height: 550px) {
  #game-shell[data-scene="workshop"] > .top-hud { --rail-cap: 48px; min-height: calc(48px + var(--safe-top)); padding-left: max(7px, var(--safe-left)); padding-right: max(7px, var(--safe-right)); }
  #game-shell[data-scene="workshop"] > .bottom-hud { --rail-cap: 44px; min-height: calc(42px + var(--safe-bottom)); padding-left: max(42px, var(--safe-left)); padding-right: max(7px, var(--safe-right)); }
  #game-shell[data-scene="workshop"] > .bottom-hud #objective-text { display: none; }
  #game-shell[data-scene="workshop"] > .bottom-hud .workshop-interact-prompt { border: 0; padding: 0; max-width: none; }
  #game-shell[data-scene="workshop"] .workshop-move-pad { grid-template-columns: repeat(3, 40px); }
  #game-shell[data-scene="workshop"] .workshop-move-pad .mission-control { width: 40px; height: 40px; }
}
@media (max-height: 480px) {
  #game-shell[data-scene="workshop"] { grid-template-rows: minmax(0, 1fr) calc(42px + var(--safe-bottom)); }
  #game-shell[data-scene="workshop"] > .bottom-hud { display: flex; }
}
