@font-face {
  font-family: 'Roboto Flex Local';
  src: url('../assets/fonts/roboto-flex-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
html {
  scrollbar-gutter: stable;
  scroll-behavior: auto;
}
body {
  background: #fff;
}
.main-shell {
  position: relative;
  isolation: isolate;
  transition: margin-left 0.65s var(--motion-ease);
  min-height: 100svh;
}
.topline {
  position: relative;
  z-index: 8;
  margin: 0 40px;
  width: auto;
  max-width: none;
  min-width: 0;
  letter-spacing: 0.02em;
}
#breadcrumb {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#connection-status {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding-right: 2px;
  line-height: 1.6;
}
#connection-status .status-dot {
  flex-shrink: 0;
}
#breadcrumb {
  margin-right: auto;
}
.topline::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  flex-shrink: 0;
}
main {
  position: relative;
  z-index: 2;
  display: flow-root;
  max-width: none;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: calc(100svh - 76px);
}
.page-exit-snapshot {
  z-index: 30 !important;
  max-width: none !important;
  min-height: 0 !important;
  overflow: clip !important;
  contain: layout paint;
  pointer-events: none !important;
}
body[data-page='configure'] main,
body[data-page='device'] main {
  overflow: clip;
}
#model-stage {
  position: absolute;
  left: 0;
  right: 0;
  top: 76px;
  height: max(700px, calc(100svh - 76px));
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #fff;
  contain: layout paint;
}
#model-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#model-defocus {
  position: absolute;
  top: 78px;
  left: 32px;
  right: 32px;
  height: max(500px, calc(100svh - 188px));
  border-radius: 28px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  background: #fff;
  contain: paint;
  will-change: opacity;
}
#model-defocus canvas {
  position: absolute;
  pointer-events: none;
  filter: blur(8px);
}
#model-stage[data-interactive='true'] {
  pointer-events: auto;
}
#model-stage[data-interactive='true'] canvas {
  cursor: grab;
  touch-action: none;
}
#model-stage[data-interactive='true'] canvas:active {
  cursor: grabbing;
}
main.model-view {
  pointer-events: none;
}
main.model-view .workspace-tools {
  pointer-events: auto;
}
.model-view-hint {
  display: none;
  position: absolute;
  left: 36px;
  bottom: 30px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  pointer-events: none;
}
.model-view .model-view-hint {
  display: block;
}
.model-failed #model-canvas,
.model-failed #model-defocus {
  display: none;
}
.model-state {
  position: absolute;
  inset: 0 0 56px;
  display: grid;
  place-content: center;
  pointer-events: none;
  text-align: center;
  font-size: 14px;
  color: #59605e;
}
.model-state-loading {
  animation: model-state-breathe 1.8s ease-in-out infinite;
}
.model-state-error,
.model-ready .model-state {
  display: none;
}
body:has(#model-stage.model-failed) .model-state-loading {
  display: none;
}
body:has(#model-stage.model-failed) .model-state-error {
  display: block;
  max-width: 22em;
  padding: 24px;
  line-height: 1.7;
}
@keyframes model-state-breathe {
  50% {
    opacity: 0.45;
  }
}
@media (prefers-reduced-motion: reduce) {
  .model-state-loading {
    animation: none;
  }
}
.model-caption {
  position: absolute;
  left: 5%;
  top: 78%;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.03em;
}
.hero-page {
  position: relative;
  isolation: isolate;
}
.hero-copy {
  position: absolute;
  left: 42px;
  bottom: 112px;
  padding: 0;
  margin: 0;
  display: block;
  max-width: 600px;
}
.home-heading.hero-copy {
  grid-template-columns: none;
}
.hero-copy p {
  font-size: 14px;
  color: #606a78;
  margin: 20px 0 24px;
}
.hero-copy .actions {
  gap: 10px;
}
.hero-product-heading {
  margin: 0;
  position: absolute;
  top: 36px;
  left: 42px;
  max-width: 540px;
}
.hero-product-heading h1 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.hero-product-heading p {
  max-width: 340px;
  font-size: 12px;
  line-height: 1.8;
  color: #717b89;
}
.product-copy h2 {
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.045em;
}
.product-copy > .actions {
  margin-top: 24px;
}
.hero-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-hotspots .disclosure-button {
  position: absolute;
  pointer-events: auto;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #e6eaf2a8;
  backdrop-filter: blur(20px) saturate(130%);
  border-radius: 26px;
  gap: 22px;
  font-size: 13px;
  white-space: nowrap;
}
.hero-hotspots .disclosure-button::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-hotspots .disclosure-button:nth-child(1) {
  left: 9%;
  top: 25%;
}
.hero-hotspots .disclosure-button:nth-child(2) {
  right: 10%;
  top: 18%;
}
.hero-hotspots .disclosure-button:nth-child(3) {
  right: 8%;
  bottom: 22%;
}
.hero-hotspots .disclosure-button:nth-child(4) {
  left: 6%;
  top: 51%;
}
.hero-footer {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #7a8493;
  letter-spacing: 0.02em;
}
.hero-footer .button {
  font-size: 12px;
  min-height: 36px;
  padding: 8px 14px;
}
.hero-index {
  list-style: none;
  margin: 0;
  padding: 0;
}
.index-heading {
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 10px;
}
.detail-row {
  width: 100%;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  min-height: 72px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s;
}
.detail-row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.detail-row:hover {
  background: rgba(0, 102, 204, 0.025);
}
.index-number {
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.index-copy {
  display: grid;
  gap: 5px;
}
.index-copy strong {
  font-size: 14px;
  font-weight: 500;
}
.index-copy > span {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.detail-row svg {
  color: var(--accent);
  transition: transform 0.2s;
}
.detail-row:hover svg {
  transform: translateX(3px);
}
.hero-index > li:first-child .detail-row {
  border-top: 0;
}
.home-hero .hero-copy {
  bottom: 88px;
}
.home-heading.hero-copy .actions {
  margin-top: 26px;
}
.hero-side-stack {
  right: 42px;
  bottom: 88px;
}
.product-copy {
  width: 340px;
  max-width: 390px;
  top: auto;
  bottom: 88px;
  display: block;
}
.product-copy h2 {
  font-size: 44px;
  margin: 0 0 28px;
}
.product-copy .hero-index-panel {
  margin: 0 0 44px;
}
.product-copy > .actions {
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.product-hero {
  min-height: max(700px, calc(100svh - 76px));
}
body[data-page='product'] #model-stage {
  height: max(700px, calc(100svh - 76px));
}
#detail-body .detail-lead {
  font-size: 21px;
  line-height: 1.6;
  font-weight: 500;
  margin: 0 0 26px;
  color: var(--text);
}
.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.detail-list > li {
  padding: 18px 0;
}
.detail-list > li + li {
  border-top: 1px solid var(--line);
}
.detail-list strong {
  font-size: 16px;
  font-weight: 550;
}
.detail-list p,
.detail-steps p {
  margin: 8px 0 0;
  line-height: 1.8;
  color: #65656b;
}
.detail-steps {
  list-style: none;
  counter-reset: detail-step;
  margin: 0;
  padding: 0;
}
.detail-steps > li {
  counter-increment: detail-step;
  position: relative;
  padding: 18px 0 18px 46px;
}
.detail-steps > li + li {
  border-top: 1px solid var(--line);
}
.detail-steps > li::before {
  content: counter(detail-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 21px;
  color: var(--accent);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.detail-steps h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 550;
}
.detail-note {
  margin: 26px 0 0;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  font-size: 14px;
}
.detail-note p {
  margin: 8px 0 0;
  color: #65656b;
}
.detail-action {
  display: inline-flex;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  margin-top: 24px;
}
.detail-footnote {
  font-size: 12px !important;
  color: var(--muted);
  margin: 24px 0 0 !important;
  line-height: 1.7;
}
.board-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 12px;
}
.board-comparison figure {
  margin: 0;
  min-width: 0;
  background: #111;
  border-radius: 14px;
  overflow: hidden;
}
.board-comparison img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: contain;
  padding: 12px;
}
.board-comparison figcaption {
  font-size: 12px;
  color: #d8d8dc;
  padding: 10px 16px 14px;
}
.detail-subheading {
  font-size: 18px;
  margin: 32px 0 12px;
}
.detail-modes {
  margin: 0;
}
.detail-modes > div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.detail-modes dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.detail-modes dt span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-left: 12px;
}
.detail-modes dd {
  margin: 8px 0 0;
  font-size: 14px;
  color: #65656b;
}
.workspace-links a {
  display: grid;
  grid-template-columns: 1fr 20px;
  gap: 6px 12px;
  color: var(--text);
}
.workspace-links a > span {
  font-size: 13px;
  color: var(--muted);
}
.workspace-links a > b {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  color: var(--accent);
  font-weight: 400;
}
.button {
  position: relative;
  border-radius: 999px;
}
.button.secondary {
  background: #edf1f7b5;
}
.button.outline {
  background: #ffffff99;
  border-color: #dfe4ec;
}
.disclosure-button svg {
  color: var(--accent);
  transition: transform 0.4s var(--motion-ease);
}
.disclosure-button:hover svg {
  transform: translateX(4px);
}
.workspace-panel {
  position: relative;
  margin: 78px 32px 28px;
  width: calc(100% - 64px);
  height: max(500px, calc(100svh - 188px));
  border: 1px solid #ffffffed;
  border-radius: 28px;
  overflow: hidden;
  transform: translateX(calc((1 - var(--panel-open, 1)) * (100% + 64px)));
  opacity: var(--panel-open, 1);
}
.workspace-panel[aria-hidden='true'] {
  pointer-events: none;
}
.panel-scroll {
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 32px;
  scroll-padding: 24px;
  outline-offset: -5px;
}
.workspace-panel .page-heading {
  margin-bottom: 28px;
  gap: 14px;
  flex-wrap: wrap;
}
.workspace-panel .page-heading h1 {
  font-size: 28px;
  letter-spacing: -0.04em;
}
.workspace-panel .page-heading p {
  font-size: 12px;
  line-height: 1.75;
}
.workspace-panel .page-heading .actions {
  padding: 0;
}
.workspace-panel .configuration-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.85fr);
  gap: 36px;
}
.workspace-panel .configuration-result {
  position: static;
  background: #ffffff5c;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid #ffffffb3;
}
.workspace-panel .configuration-result:has(.result-empty) {
  position: sticky;
  top: 0;
}
.workspace-panel .settings-group {
  background: #ffffff68;
  border-color: #d6deea;
  border-radius: 16px;
  overflow: visible;
}
.workspace-panel .settings-section {
  margin-top: 28px;
}
.workspace-panel .settings-section:first-child {
  margin-top: 0;
}
.workspace-panel .settings-section h2 {
  font-size: 15px;
}
.workspace-panel .field-row {
  padding: 16px;
  transition:
    background 0.25s,
    box-shadow 0.3s;
}
.workspace-panel .field-row:first-child {
  border-radius: 16px 16px 0 0;
}
.workspace-panel .field-row:last-child {
  border-radius: 0 0 16px 16px;
}
.workspace-panel input,
.workspace-panel select,
.workspace-panel textarea {
  background: #ffffffb3;
  border-radius: 10px;
  border-color: #cbd4e2;
  max-width: 100%;
}
.workspace-panel .field-label {
  font-size: 13px;
  min-width: 80px;
}
.workspace-panel .field-label > span {
  font-size: 11px;
  max-width: 180px;
}
.workspace-panel .field-row select {
  font-size: 13px;
}
.workspace-panel .country-options {
  position: relative;
  z-index: 5;
}
.workspace-panel .country-options button {
  background: transparent;
}
.workspace-panel .notice {
  font-size: 12px;
  border-radius: 12px;
}
.workspace-panel .device-empty {
  padding: 30px 14px;
  border-radius: 18px;
  background: #ffffff59;
}
.workspace-panel .device-empty h2 {
  font-size: 21px;
}
.workspace-panel .device-identity {
  padding: 24px;
  background: #ffffff68;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-radius: 18px;
  margin: 20px 0 28px;
}
.workspace-panel .device-identity h2 {
  font-size: 23px;
}
.device-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 328px;
  gap: 36px;
  align-items: start;
}
.device-readings {
  min-width: 0;
}
.device-dashboard .device-controls {
  margin: 0;
  padding: 0;
  border: 0;
}
.device-dashboard .chart-section {
  margin: 20px 0 32px;
  padding-top: 24px;
}
.device-dashboard .inline-control {
  flex-wrap: wrap;
}
.device-dashboard .field-row {
  gap: 8px;
}
.device-dashboard .field-label {
  min-width: 60px;
}
.workspace-panel .sensor-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.workspace-panel .metric {
  border: 0;
  padding: 0;
}
.workspace-panel .metric strong {
  font-size: 26px;
}
.workspace-panel .section-heading h2 {
  font-size: 19px;
}
.workspace-panel .history-section .section-heading {
  flex-wrap: wrap;
  gap: 12px;
}
.workspace-panel .table-scroll {
  max-width: 100%;
}
.workspace-panel table {
  font-size: 11px;
}
.workspace-panel .chart {
  max-width: 100%;
}
.workspace-panel .caption {
  font-size: 11px;
}
.workspace-panel .button {
  min-height: 38px;
  font-size: 12px;
  padding: 8px 14px;
}
.workspace-panel .result-metrics {
  gap: 12px;
}
.workspace-tools {
  position: absolute;
  left: 36px;
  right: 36px;
  top: 20px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.workspace-label {
  font-size: 11px;
  color: #747f90;
  letter-spacing: 0.08em;
  margin-right: auto;
}
.workspace-caption .disclosure-button {
  background: #ffffffc9;
  border: 1px solid #e2e7ef;
  border-radius: 22px;
  padding: 10px 16px;
  gap: 14px;
  font-size: 12px;
}
.panel-toggle {
  font-size: 12px;
  gap: 10px;
  min-width: 164px;
  background: #fff !important;
}
.panel-toggle svg:last-child {
  transition: rotate 0.5s var(--motion-ease);
}
.panel-toggle.panel-return {
  border-color: #175cff55;
  color: var(--accent);
}
.panel-return svg:last-child {
  rotate: 180deg;
}
.click-feedback-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  pointer-events: none;
  z-index: 2147483647;
  color: var(--accent);
}
.click-feedback-layer::backdrop {
  background: transparent;
  pointer-events: none;
  backdrop-filter: none;
}
.click-feedback {
  position: fixed;
  pointer-events: none;
}
.click-feedback i {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  border: 1px solid rgba(29, 29, 31, 0.12);
  background: rgba(255, 255, 255, 0.32);
  box-shadow:
    0 2px 8px rgba(29, 29, 31, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform-origin: center;
}
.primary-feedback i {
  border-color: rgba(0, 102, 204, 0.25);
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 2px 10px rgba(0, 102, 204, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
dialog {
  border: 1px solid #ffffffc9 !important;
  border-radius: 28px !important;
}
dialog::backdrop {
  background: rgba(32, 46, 65, 0.18);
}
@keyframes backdrop-enter {
  from {
    background: rgba(32, 46, 65, 0);
    backdrop-filter: blur(0);
  }
  to {
    background: rgba(32, 46, 65, 0.18);
    backdrop-filter: blur(12px);
  }
}
@keyframes backdrop-exit {
  from {
    background: rgba(32, 46, 65, 0.18);
    backdrop-filter: blur(12px);
  }
  to {
    background: rgba(32, 46, 65, 0);
    backdrop-filter: blur(0);
  }
}
#detail-dialog {
  width: min(800px, calc(100% - 40px));
  max-height: calc(100dvh - 64px);
  padding: 28px 36px 36px;
  color: var(--text);
}
.detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.detail-heading > .mono {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.14em;
}
.detail-heading .icon-button {
  background: #ffffff99;
  font-size: 24px;
}
#detail-title {
  font-size: 28px;
  margin-bottom: 24px;
}
#detail-body {
  font-size: 15px;
  line-height: 1.9;
}
#detail-body .workflow {
  grid-template-columns: 1fr 1fr;
  margin-top: 0;
}
#detail-body .mode-explanations {
  grid-template-columns: 1fr;
  margin-top: 0;
  gap: 24px;
}
#detail-body .guide-rows p {
  grid-template-columns: 1fr;
  gap: 8px;
}
#detail-body .hardware-facts {
  margin-bottom: 0;
}
#detail-body .home-notices {
  grid-template-columns: 1fr;
  margin: 0;
}
#detail-body .quick-section {
  margin: 0;
}
#detail-body .quick-links {
  grid-template-columns: 1fr;
  gap: 12px;
}
#detail-body .hardware-copy h2 {
  display: none;
}
#detail-body .hardware-copy > .mono {
  display: none;
}
.nav-link span,
.nav-link svg {
  transition:
    transform 0.4s var(--motion-ease),
    color 0.2s;
}
.nav-link:hover span {
  transform: translateX(3px);
}
.nav-link[aria-current='page'] {
  color: var(--accent) !important;
}
.wordmark,
.wordmark:hover {
  font-family: 'Roboto Flex Local', sans-serif;
  font-weight: 400;
  color: var(--text);
  font-synthesis: none;
  transition: none;
}
.variable-proximity-letter {
  font-variation-settings:
    'wght' 400,
    'opsz' 9;
  -webkit-text-stroke: 0;
  transition: none;
}
.sidebar-toggle {
  position: fixed;
  left: 194px;
  top: 29px;
  z-index: 70;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #e0e6ef;
  display: grid;
  place-items: center;
  transition:
    left 0.65s var(--motion-ease),
    background 0.2s;
}
.sidebar-toggle svg {
  transition: transform 0.65s var(--motion-ease);
}
.sidebar-collapsed .sidebar-toggle {
  left: 16px;
}
.sidebar-collapsed .sidebar-toggle svg {
  transform: rotate(180deg);
}
@media (min-width: 768px) {
  .sidebar {
    width: 208px;
    transition: transform 0.65s var(--motion-ease);
    transform: translateX(0);
  }
  .sidebar-collapsed .sidebar {
    transform: translateX(-100%);
  }
  .sidebar-collapsed .main-shell {
    margin-left: 0;
  }
  .sidebar-collapsed .topline {
    padding-left: 30px;
  }
}
@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
@media (max-width: 1199px) and (min-width: 768px) {
  .topline {
    margin: 0 28px;
    padding-left: 0;
  }
  .hero-page {
    padding: 28px;
  }
  .hero-copy {
    left: 28px;
    bottom: 120px;
    max-width: 470px;
  }
  .hero-copy h1 {
    font-size: 44px;
  }
  .hero-product-heading {
    left: 28px;
  }
  .hero-footer {
    left: 28px;
    right: 28px;
  }
  .panel-scroll {
    padding: 24px;
  }
  .workspace-label {
    display: none;
  }
  .workspace-tools {
    justify-content: flex-end;
  }
  .workspace-panel .configuration-layout,
  .device-dashboard {
    grid-template-columns: 1fr;
  }
  .workspace-panel .configuration-result:has(.result-empty) {
    position: static;
  }
  .workspace-panel .sensor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .sidebar .desktop-brand {
    display: none;
  }
  .sidebar.open {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 20px max(24px, env(safe-area-inset-bottom));
    width: 100%;
    height: calc(100dvh - 64px);
    overflow: auto;
    z-index: 45;
  }
  .sidebar nav {
    flex: none;
    width: 100%;
    gap: 8px;
  }
  .sidebar .nav-link {
    font-size: 18px;
    min-height: 56px;
    padding: 14px 16px;
    border-radius: 16px;
  }
  .sidebar-bottom {
    width: 100%;
    max-width: none;
    flex: none;
    margin-top: auto;
    padding: 24px 16px 0;
    gap: 16px;
  }
  .sidebar-bottom .button {
    min-height: 44px;
  }
  .model-view-hint {
    left: 24px;
    bottom: 32px;
    font-size: 11px;
  }
  .sidebar-toggle {
    display: none;
  }
  .main-shell {
    margin: 64px 0 0;
    min-height: calc(100svh - 64px);
    transition: none;
  }
  .mobile-header {
    background: #ffffffdc;
    backdrop-filter: blur(18px);
  }
  .topline {
    margin: 0 20px;
    height: 56px;
    padding: 0;
    font-size: 10px;
  }
  .topline::before {
    display: none;
  }
  main {
    min-height: calc(100svh - 120px);
  }
  #model-stage {
    top: 56px;
    height: max(620px, calc(100svh - 120px));
  }
  .hero-copy {
    left: 24px;
    right: 24px;
    bottom: 120px;
    max-width: none;
  }
  .hero-copy p {
    font-size: 12px;
    margin: 16px 0 20px;
  }
  .hero-copy .button {
    font-size: 12px;
    padding: 10px 14px;
    min-height: 42px;
  }
  .hero-product-heading {
    left: 24px;
    top: 20px;
    right: 24px;
  }
  .hero-product-heading p {
    font-size: 11px;
    max-width: 250px;
  }
  .product-copy > .actions {
    margin-top: 20px;
  }
  .hero-hotspots .disclosure-button {
    font-size: 11px;
    min-height: 40px;
    padding: 9px 12px;
    gap: 12px;
  }
  .hero-hotspots .disclosure-button:nth-child(1) {
    left: 6%;
    top: 21%;
  }
  .hero-hotspots .disclosure-button:nth-child(2) {
    right: 6%;
    top: 10%;
  }
  .hero-hotspots .disclosure-button:nth-child(3) {
    right: 6%;
    bottom: auto;
    top: 46%;
  }
  .hero-hotspots .disclosure-button:nth-child(4) {
    left: 6%;
    top: 49%;
  }
  body[data-page='product'] .hero-hotspots .disclosure-button:nth-child(2) {
    top: 24%;
  }
  .hero-footer {
    left: 24px;
    right: 24px;
    bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 10px;
  }
  #model-defocus {
    top: 72px;
    left: 14px;
    right: 14px;
    height: max(400px, calc(100svh - 212px));
    border-radius: 24px;
  }
  .workspace-panel {
    width: calc(100% - 28px);
    margin: 72px 14px 20px;
    height: max(400px, calc(100svh - 212px));
    border-radius: 24px;
    background: rgba(245, 248, 253, 0.92);
  }
  .panel-scroll {
    padding: 24px 20px;
  }
  .workspace-panel .page-heading h1 {
    font-size: 25px;
  }
  .workspace-panel .page-heading p {
    font-size: 11px;
  }
  .workspace-panel .configuration-layout,
  .device-dashboard {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .workspace-panel .configuration-result:has(.result-empty) {
    position: static;
  }
  .workspace-panel .configuration-result {
    padding: 20px;
  }
  .workspace-panel .device-identity {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .workspace-panel .field-row {
    padding: 13px;
    gap: 10px;
  }
  .workspace-panel .field-label {
    min-width: 70px;
  }
  .workspace-panel .sensor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workspace-panel .device-identity h2 {
    font-size: 20px;
  }
  .workspace-panel .pagination {
    flex-wrap: wrap;
  }
  .workspace-tools {
    left: 18px;
    right: 18px;
    top: 18px;
    justify-content: space-between;
    gap: 8px;
  }
  .workspace-label {
    display: none;
  }
  .workspace-caption .disclosure-button {
    font-size: 11px;
    min-height: 36px;
    padding: 8px 12px;
    gap: 8px;
  }
  .panel-toggle {
    font-size: 11px;
    min-width: 144px;
    gap: 6px;
    padding: 8px 12px;
  }
  .panel-toggle svg:first-child {
    display: none;
  }
  .model-caption {
    left: 24px;
    right: auto;
    top: 82%;
    font-size: 10px;
  }
  #detail-dialog {
    width: calc(100% - 28px);
    padding: 20px 24px 28px;
    max-height: calc(100dvh - 32px);
    border-radius: 24px !important;
  }
  #detail-title {
    font-size: 24px;
  }
  #detail-body .workflow {
    grid-template-columns: 1fr;
  }
}
/* Four exploded assemblies need real display space on a narrow canvas. */
@media (max-width: 1199px) {
  .home-hero {
    padding-top: max(410px, 55svh);
    min-height: 0;
  }
  .home-hero .hero-copy {
    position: relative;
    inset: auto;
    max-width: 600px;
  }
  .hero-side-stack {
    position: relative;
    inset: auto;
    width: min(100%, 600px);
    margin-top: 32px;
  }
  .hero-side-stack .hero-index-panel {
    width: 100%;
  }
  body[data-page='product'] #model-stage {
    height: max(1040px, calc(100svh - 120px));
  }
  .product-hero {
    padding-top: 660px;
    min-height: 0;
  }
  .product-hero .hero-copy {
    position: relative;
    inset: auto;
    width: min(100%, 600px);
    max-width: 600px;
  }
}
@media (max-width: 767px) {
  .home-hero {
    padding-top: 390px;
  }
  .hero-index-panel {
    padding: 16px 20px 8px;
  }
  .product-hero {
    padding-top: 660px;
  }
  .product-copy h2 {
    font-size: 34px;
  }
  .product-copy .hero-index-panel {
    margin-bottom: 24px;
  }
  .detail-row {
    min-height: 76px;
  }
  .index-copy strong {
    font-size: 15px;
  }
  .index-copy > span {
    font-size: 12px;
  }
  .board-comparison {
    grid-template-columns: 1fr;
  }
  .board-comparison img {
    height: 220px;
  }
  #detail-body .detail-lead {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .button:hover:not(:disabled),
  .nav-link:hover span {
    transform: none;
  }
}
