/* Source-backed solid pie; the source tabs, original readout and Mars remain. */
#resources.a2p-atmosphere-chart .gas-instrument { width:100%; justify-items:stretch; translate:none; }
#resources.a2p-atmosphere-chart .gas-instrument .gas-orbit {
  display:block; position:relative; width:100%; max-width:640px; aspect-ratio:auto;
  margin:0 auto; padding:0; border:0; border-radius:0;
  background:none !important; box-shadow:none !important; isolation:isolate;
}
#resources.a2p-atmosphere-chart .gas-orbit::before,
#resources.a2p-atmosphere-chart .gas-orbit::after { content:none; }
#resources.a2p-atmosphere-chart .atmosphere-graphic {
  position:relative; width:100%; aspect-ratio:500/400;
  isolation:isolate; opacity:.82; transform:translateY(7px) scale(.985);
  transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.25,1);
}
#resources.a2p-atmosphere-chart.atmosphere-entered .atmosphere-graphic { opacity:1; transform:none; }
#resources.a2p-atmosphere-chart .atmosphere-svg {
  display:block; width:100%; height:100%; overflow:visible;
}
#resources.a2p-atmosphere-chart .atmosphere-slice {
  cursor:pointer; stroke:#fff1e3b3; stroke-width:.9; stroke-linejoin:round;
  transform:translate(0,0); transform-box:view-box; transform-origin:210px 205px;
  transition:transform .24s cubic-bezier(.2,.7,.25,1),stroke .18s,opacity .18s;
  outline:none;
}
#resources.a2p-atmosphere-chart .atmosphere-slice.is-emphasized {
  transform:translate(var(--slice-x,0px),var(--slice-y,0px));
  stroke:#fff8ed; stroke-width:1.4; opacity:1;
}
#resources.a2p-atmosphere-chart .atmosphere-slice:not(.is-emphasized) { opacity:.88; }
#resources.a2p-atmosphere-chart .atmosphere-slice:focus-visible { stroke:#19304a; stroke-width:2.3; }
#resources.a2p-atmosphere-chart .atmosphere-leaders {
  fill:none; stroke:#e9d6d0b3; stroke-width:1; pointer-events:none;
}
#resources.a2p-atmosphere-chart .atmosphere-leaders circle { fill:#f7e4d4; stroke:none; }
#resources.a2p-atmosphere-chart .atmosphere-labels { position:absolute; inset:0; pointer-events:none; }
#resources.a2p-atmosphere-chart .atmosphere-label {
  position:absolute; left:72%; width:28%; min-height:60px;
  display:flex; flex-direction:column; justify-content:center; gap:5px;
  margin:0; padding:8px 10px; border:1px solid transparent; border-radius:7px;
  background:linear-gradient(110deg,#111a2eeb,#111a2e7d); color:#e9e6ed;
  text-align:left; font-family:var(--sans,Arial,sans-serif); cursor:pointer;
  pointer-events:auto; transition:color .18s,border-color .18s,background .18s;
}
#resources.a2p-atmosphere-chart .atmosphere-label[data-component-index="1"] { top:8%; --label-accent:#c0edf5; }
#resources.a2p-atmosphere-chart .atmosphere-label[data-component-index="2"] { top:27%; --label-accent:#dcc2ed; }
#resources.a2p-atmosphere-chart .atmosphere-label[data-component-index="0"] {
  left:36%; top:57%; width:40%; transform:translate(-50%,-50%);
  align-items:center; text-align:center; color:#3c2830; background:none; --label-accent:#3c2830;
}
#resources.a2p-atmosphere-chart .atmosphere-label-name { font-size:14px; font-weight:600; line-height:1.3; }
#resources.a2p-atmosphere-chart .atmosphere-label-value {
  color:var(--label-accent); font-size:clamp(21px,2vw,26px); font-weight:650; line-height:1;
  font-variant-numeric:tabular-nums; letter-spacing:-.035em;
}
#resources.a2p-atmosphere-chart .atmosphere-label[data-component-index="0"] .atmosphere-label-value {
  font-size:clamp(28px,2.8vw,36px);
}
#resources.a2p-atmosphere-chart .atmosphere-label:is(:hover,:focus-visible,.is-emphasized) { border-color:#d8c8db63; }
#resources.a2p-atmosphere-chart .atmosphere-label[data-component-index="0"]:is(:hover,:focus-visible,.is-emphasized) {
  border-color:#5a35434d; background:#fff2e417;
}
#resources.a2p-atmosphere-chart .atmosphere-label:focus-visible { outline:2px solid #c5eff7; outline-offset:3px; }
#resources.a2p-atmosphere-chart .atmosphere-label[data-component-index="0"]:focus-visible { outline-color:#3c2830; }
#resources.a2p-atmosphere-chart .atmosphere-tooltip {
  position:absolute; z-index:6; left:42%; top:82%; transform:translate(-50%,-100%);
  width:max-content; max-width:calc(100% - 18px); padding:9px 12px;
  border:1px solid #d5c4d755; border-radius:6px; color:#fff2e7; background:#10182bf5;
  box-shadow:0 7px 20px #05091738; pointer-events:none;
  font:500 14px/1.4 var(--sans,Arial,sans-serif); white-space:normal;
}
#resources.a2p-atmosphere-chart .gas-orbit > .gas-readout {
  position:static; display:flex; align-items:baseline; justify-content:center; flex-wrap:wrap;
  gap:6px 13px; width:auto; min-height:46px; margin:0; padding:8px 0 0;
  top:auto; left:auto; transform:none; background:none; text-align:center;
}
#resources.a2p-atmosphere-chart .gas-readout strong { font-size:30px; line-height:1.1; }
#resources.a2p-atmosphere-chart .gas-readout span { font-size:16px; line-height:1.4; }
#resources.a2p-atmosphere-chart .atmosphere-hint {
  margin:9px auto 0; max-width:44ch; color:#c5c5d5; text-align:center;
  font:400 14px/1.6 var(--sans,Arial,sans-serif);
}
#resources.a2p-atmosphere-chart .atmosphere-touch-hint { display:none; }
#resources.a2p-atmosphere-chart.atmosphere-compact .atmosphere-graphic { aspect-ratio:auto; }
#resources.a2p-atmosphere-chart.atmosphere-compact .atmosphere-svg { height:auto; aspect-ratio:1; }
#resources.a2p-atmosphere-chart.atmosphere-compact .atmosphere-leaders { display:none; }
#resources.a2p-atmosphere-chart.atmosphere-compact .atmosphere-labels {
  position:static; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px;
}
#resources.a2p-atmosphere-chart.atmosphere-compact .atmosphere-label {
  position:static; left:auto; top:auto; width:auto; min-width:0; min-height:78px;
  padding:10px 7px; transform:none; align-items:center; text-align:center;
  color:#f0e9ea; background:#111b2ac9; border-color:#c7b7d633;
}
#resources.a2p-atmosphere-chart.atmosphere-compact .atmosphere-label[data-component-index="0"] { --label-accent:#efbd9d; }
#resources.a2p-atmosphere-chart.atmosphere-compact .atmosphere-label-name { font-size:14px; line-height:1.35; }
#resources.a2p-atmosphere-chart.atmosphere-compact .atmosphere-label .atmosphere-label-value { font-size:23px; }
#resources.a2p-atmosphere-chart.atmosphere-compact .atmosphere-label:is(:hover,:focus-visible,.is-emphasized) {
  border-color:var(--label-accent); background:#20233ac9;
}
#resources.a2p-atmosphere-chart.atmosphere-compact .atmosphere-label:focus-visible { outline-color:#c5eff7; }
#resources.a2p-atmosphere-chart.atmosphere-compact .atmosphere-tooltip { left:50%; top:55%; }
#resources.a2p-atmosphere-chart.atmosphere-compact .atmosphere-touch-hint { display:inline; }
#resources.a2p-atmosphere-chart.atmosphere-compact .atmosphere-pointer-hint { display:none; }
@media (prefers-reduced-motion:reduce) {
  #resources.a2p-atmosphere-chart .atmosphere-graphic { opacity:1; transform:none; transition:none; }
  #resources.a2p-atmosphere-chart .atmosphere-slice,
  #resources.a2p-atmosphere-chart .atmosphere-slice.is-emphasized { transform:none; transition:none; }
  #resources.a2p-atmosphere-chart .atmosphere-label { transition:none; }
}
@media print {
  #resources.a2p-atmosphere-chart .atmosphere-graphic { opacity:1; transform:none; }
  #resources.a2p-atmosphere-chart .atmosphere-tooltip,
  #resources.a2p-atmosphere-chart .atmosphere-hint { display:none; }
  #resources.a2p-atmosphere-chart .atmosphere-svg { print-color-adjust:exact; -webkit-print-color-adjust:exact; }
}
