/* Space Station instrument treatment, limited to the hub and standalone P&L. */
@media screen {
 :is([data-workspace="futures-trading-tools"] .tool-directory,html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast) .tool-glyph{
  display:grid;place-items:center;
  background:#14263b;color:#c4d8ed;border:1px solid #7490aa;
  box-shadow:inset 0 1px 0 #a8c6e336;
 }
 :is([data-workspace="futures-trading-tools"] .tool-directory,html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast) .tool-glyph svg{
  width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;
 }
 /* Standalone orbital instrument above the app grid; not used by the calculator pages. */
 [data-workspace="futures-trading-tools"] .inner-hero .space-tools-instrument{pointer-events:none}
 [data-workspace="futures-trading-tools"] .inner-hero .space-tools-instrument::before{display:none}
 [data-workspace="futures-trading-tools"] .inner-hero .space-tools-instrument img{
  display:block;width:min(100%,15rem);height:auto
 }
 @media(max-width:640px){
  [data-workspace="futures-trading-tools"] .inner-hero .space-tools-instrument{
   width:clamp(4.3rem,19vw,5.1rem);height:auto;top:-.35rem
  }
 }
 /* Apply the new artwork and finish to the original square app buttons. */
 [data-workspace="futures-trading-tools"] .tool-directory .tool-glyph{
  inline-size:62px;block-size:62px;border-radius:15px
 }
 @media(max-width:680px){
  [data-workspace="futures-trading-tools"] .tool-directory .tool-glyph{
   inline-size:53px;block-size:53px;border-radius:13px
  }
 }
 html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast{
  grid-template-columns:max-content minmax(0,1fr);gap:clamp(.85rem,2vw,1.35rem);align-items:center;
  background:radial-gradient(circle at 90% 10%,#31557654 0%,transparent 58%),linear-gradient(125deg,#0e1b2c,#142d46);
  border-color:#7290af;box-shadow:inset 0 0 0 3px #aec1d82e;color:#f4f8ff;
 }
 html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast-copy{grid-area:1/2;min-width:0}
 html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast .work-emblem{
  position:relative;grid-area:1/1;inset:auto;display:grid;width:auto;height:auto;min-height:0;
 }
 html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast .work-plate{
  width:auto;height:auto;transform:none;
 }
 html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast :is(.work-emblem,.work-plate)::before,
 html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast .work-plate::after{display:none}
 html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast .tool-glyph{width:clamp(3rem,5.9vw,4.25rem);height:clamp(3rem,5.9vw,4.25rem);border-radius:.66rem}
 html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast h1{color:#f4f8ff;font-size:clamp(1.85rem,4.3vw,3rem)}
 html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast .tool-intro{color:#d8e7f7}
 html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-context a{color:#bfe3ff;text-decoration-color:currentColor}
 html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-context .si-brand{background:#fff;border:0;border-radius:.26rem;padding:3px 6px}
 html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-readout{
  background:radial-gradient(ellipse at top right,#25466050 0%,transparent 64%),linear-gradient(150deg,#142b43,#101e2e);
  border-color:#7896b6;box-shadow:inset 0 0 0 3px #abc4de25
 }
 html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-inputs{background:#fff}
 @media(max-width:620px){
  html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast{padding:1rem;gap:.55rem .7rem}
  html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast-copy{display:contents}
  html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-context{grid-area:1/1/2/3;flex-wrap:wrap;gap:.42rem;margin:0}
  html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast h1{grid-area:2/2;align-self:center}
  html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast .work-emblem{grid-area:2/1}
  html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast .tool-intro{grid-area:3/1/4/3;margin:.12rem 0 0}
  html:not([data-workstation-compact]) [data-tool="profit-loss"] .work-mast noscript{grid-column:1/-1}
 }
}
@media(forced-colors:active){
 [data-workspace="futures-trading-tools"] .tool-directory .tool-glyph{forced-color-adjust:none}
}
