.site-tool {
  color-scheme: dark;
}
.site-tool .section-label {
  color: #a5b3c8;
}
.site-tool .section-text {
  color: #d2d9e5;
}
.tool-panel {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #263752;
  background: #0b1220;
}
.tool-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1rem;
}
.tool-field {
  display: grid;
  gap: .45rem;
  color: #e0e7f2;
  font-size: .95rem;
}
.tool-field input,
.tool-field textarea {
  width: 100%;
  border: 1px solid #465874;
  border-radius: .2rem;
  background: #070c16;
  color: #fff;
  font: inherit;
  padding: .75rem;
}
.tool-field textarea {
  min-height: 8rem;
  resize: vertical;
}
.tool-panel :focus-visible {
  outline: 2px solid #b8d3ff;
  outline-offset: 3px;
}
#operations .section-label, #operations .section-heading { text-align: center; }
.iphone-demo {
  display: grid;
  grid-template-rows: 3.5rem minmax(0, 1fr) auto 1.2rem;
  width: min(100%, 23rem);
  height: clamp(34rem, min(192vw, 85svh), 44rem);
  margin: 2rem auto 0;
  border: 6px solid #272c35;
  outline: 1px solid #444b57;
  border-radius: 2.8rem;
  background: #0d131d;
  color: #f1f5fb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: 0 1.25rem 4rem #0009;
  overflow: hidden;
}
.iphone-demo [hidden] { display: none; }
.studio-status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .3rem;
  padding: 0 clamp(.9rem, 5vw, 1.45rem);
  font-size: .75rem;
  font-weight: 700;
}
.studio-island {
  width: clamp(4rem, 24vw, 6.25rem);
  height: 1.55rem;
  border-radius: 2rem;
  background: #000;
}
.studio-indicators {
  display: flex;
  align-items: end;
  justify-content: end;
  gap: .4rem;
}
.studio-signal {
  width: .9rem;
  height: .6rem;
  background: currentColor;
  clip-path: polygon(0 100%, 0 70%, 18% 70%, 18% 100%, 27% 100%, 27% 48%, 45% 48%, 45% 100%, 54% 100%, 54% 22%, 72% 22%, 72% 100%, 81% 100%, 81% 0, 100% 0, 100% 100%);
}
.studio-battery {
  position: relative;
  width: 1rem;
  height: .55rem;
  border: 1px solid #adb6c2;
  border-radius: .13rem;
}
.studio-battery::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 1px;
  background: currentColor;
}
.studio-battery::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -3px;
  width: 1px;
  height: 3px;
  background: #adb6c2;
}
.studio-tabs {
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .15rem;
  width: min(90%, 19rem);
  margin: .25rem auto 0;
  padding: .2rem;
  border: 1px solid #536071;
  border-radius: 2rem;
  background: #222a36;
}
.iphone-demo button, .iphone-demo select {
  min-height: 44px;
  padding: .45rem .65rem;
  border: 1px solid #536783;
  border-radius: .65rem;
  background: #161f2d;
  color: #ecf7ff;
  font: inherit;
  cursor: pointer;
}
.studio-tabs button {
  display: grid;
  gap: .25rem;
  place-items: center;
  align-content: center;
  min-height: 46px;
  padding: .2rem;
  border-color: transparent;
  border-radius: 2rem;
  background: transparent;
  font-size: .69rem;
}
.studio-tabs button[aria-selected="true"] {
  background: #101b2a;
  color: #83d9ff;
}
.studio-icon { position: relative; width: 1rem; height: 1rem; }
.studio-icon-review {
  background: radial-gradient(circle at 2px 3px, currentColor 1px, transparent 2px),
              radial-gradient(circle at 2px 8px, currentColor 1px, transparent 2px),
              radial-gradient(circle at 2px 13px, currentColor 1px, transparent 2px),
              repeating-linear-gradient(to bottom, transparent 0 2px, currentColor 2px 4px, transparent 4px 5px) right top / 65% 100% no-repeat;
}
.studio-icon-energy {
  background: currentColor;
  clip-path: polygon(59% 0, 7% 58%, 45% 58%, 36% 100%, 94% 39%, 55% 39%);
}
.studio-icon-telemetry {
  border: 1px solid currentColor;
  border-radius: 50%;
}
.studio-icon-telemetry::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  width: 1px;
  height: 6px;
  background: currentColor;
  transform: rotate(38deg);
  transform-origin: bottom;
}
.studio-home-indicator {
  grid-row: 4;
  place-self: center;
  width: 34%;
  height: .2rem;
  border-radius: 1rem;
  background: #e9f0f8;
}
.iphone-demo :focus-visible {
  outline: 2px solid #83d9ff;
  outline-offset: 2px;
}
.studio-screen {
  grid-row: 2;
  padding: .7rem clamp(.75rem, 4vw, 1.2rem);
  overflow-y: auto;
  min-width: 0;
}
.studio-screen:focus-visible { outline-offset: -2px; }
.studio-screen h3 { margin: 0 0 1rem; font-size: clamp(1.55rem, 6vw, 2.05rem); letter-spacing: -.035em; }
.studio-screen h4 { margin: 0 0 .7rem; font-size: 1rem; }
.studio-panel {
  margin-bottom: .75rem;
  padding: .85rem;
  border-radius: 1rem;
  background: #1b222c;
}
.studio-panel p { margin: .65rem 0; color: #c4d0e0; font-size: .875rem; }
.studio-panel input { accent-color: #83d9ff; }
.studio-panel select { margin: .25rem 0; }
.studio-values { display: grid; gap: .55rem; margin: .7rem 0; font-size: .875rem; }
.studio-values div { display: flex; justify-content: space-between; gap: .5rem; }
.studio-values dt { color: #c4d0e0; }
.studio-values dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.iphone-demo .studio-action {
  background: #a5e4ff;
  border-color: #a5e4ff;
  color: #0b111b;
  font-weight: 600;
}
.studio-panel canvas {
  display: block;
  width: 100%;
  height: auto;
  margin-top: .6rem;
}
.studio-panel .studio-alert { color: #ffbb79; }
.contact-submit {
  justify-self: start;
  border: 1px solid #a9c6f7;
  border-radius: .2rem;
  background: #c7dcff;
  color: #091324;
  padding: .7rem 1.05rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.contact-submit:disabled {
  cursor: default;
  opacity: .65;
}
.tool-status:empty {
  display: none;
}
.tool-status {
  color: #dbe8ff;
  line-height: 1.55;
}
