.utility{position:relative;z-index:40}
.utility .wrap{flex-wrap:wrap}
.utility-links{flex-wrap:wrap;justify-content:flex-end;margin-left:auto;gap:8px 22px}
.test-settings{position:relative;font-size:1rem;line-height:1.5;flex-shrink:0}
.test-settings>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:6px 10px;cursor:pointer;list-style:none;border:1px solid #8fa3b5;border-radius:6px;color:#fff}
.test-settings>summary::-webkit-details-marker{display:none}
.test-settings>summary::after{content:'⌄';font-size:1rem}
.test-settings[open]>summary::after{content:'⌃'}
.test-settings-panel{position:absolute;right:0;top:calc(100% + 10px);width:320px;max-width:calc(100vw - 44px);padding:22px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);box-shadow:0 12px 34px #0003}
.test-toolbar-label{display:flex;align-items:center;gap:10px;font-size:1rem;margin-bottom:18px}
.test-toolbar-label strong{font-size:1rem;letter-spacing:.08em;color:var(--blue)}
.test-control-label{margin:16px 0 8px;font-size:1rem;font-weight:500}
.test-switch{display:flex;gap:4px;background:var(--pale);border:1px solid var(--line);border-radius:8px;padding:3px}
.test-switch a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;flex:1;padding:6px 12px;font-size:1rem;border-radius:5px;line-height:1.3}
.test-switch a[aria-current]{background:var(--blue-strong);color:#fff;text-decoration:underline;text-underline-offset:4px}
.test-stable-link{font-size:1rem;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:flex;align-items:center;border-top:1px solid var(--line);margin-top:18px;padding-top:12px}
.test-tone-note{display:block;font-size:1rem;color:var(--muted);margin-top:12px}
@media(max-width:900px){.utility .wrap>span{display:none}.utility-links{width:100%;justify-content:flex-end}}
@media(max-width:600px){.utility-links{gap:4px 10px;justify-content:space-between}.utility .theme-toggle{min-width:44px;justify-content:center}.utility .theme-label{display:none}.test-settings>summary{font-size:.9375rem;padding:6px 8px}.test-settings-panel{padding:18px}}
@media(max-width:600px){.test-settings{position:static;margin-left:auto}.test-settings-panel{right:22px;top:calc(100% + 4px);max-height:calc(100svh - 140px);overflow-y:auto}}

.test-display-tools{display:flex;align-items:center;gap:12px;margin-left:auto}
.tax-note{font-size:1rem;color:var(--muted);margin-top:22px;margin-bottom:22px}
.office-location{background:var(--cream)}
.office-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,27rem);gap:clamp(1.5rem,4vw,4rem);align-items:center}
.office-address{font-size:1.1rem;margin:0 0 1.25rem}
.office-actions{display:flex;flex-wrap:wrap;gap:.625rem}
.office-actions .btn{min-height:44px;padding:.65rem .875rem}
.office-map{width:100%;max-width:27rem;margin:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#eef2f3}
.office-map img{width:100%;height:auto;display:block}
.office-map figcaption{padding:0 14px;background:var(--surface);color:var(--ink);font-size:.875rem}
.office-map figcaption a{text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
.office-map-note{color:var(--muted);font-size:1rem;max-width:36ch;margin:1rem 0 0}
@media(max-width:760px){.office-layout{grid-template-columns:minmax(0,1fr)}}
.hardware-image-details{margin-top:16px;font-size:1rem;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.hardware-image-details>summary{cursor:pointer;padding:12px 18px;min-height:44px}
.hardware-image-details>img{width:100%;height:320px;object-fit:contain;padding:16px;background:#fff}
/* Original SUNMI.com photo: show only the 10.1-inch dual-screen variant. */
.sunmi-official-frame{position:relative;overflow:hidden;background:#111;border-radius:12px}
.product-card figure.sunmi-official-frame{width:210px;max-width:100%;margin-left:auto;margin-right:auto}
.photo-panel.sunmi-official-frame{display:block;aspect-ratio:1;padding:0;min-height:0}
.product-card figure.sunmi-official-frame img,.photo-panel.sunmi-official-frame img{position:absolute;width:640%;height:auto;max-width:none;left:-193.75%;top:-81.25%;object-fit:fill}
.official-photo-credit{font-size:1rem;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center;margin-top:8px}
.photo-panel.sunmi-cutout-frame{background:transparent}
html .photo-panel.sunmi-cutout-frame,html .product-card figure.sunmi-cutout-frame{background:transparent}
:root[data-theme] .photo-panel.sunmi-cutout-frame,:root[data-theme] .product-card figure.sunmi-cutout-frame{background:transparent;padding:0}

/* Compact page introductions. The two image-led homepages keep their hero layout. */
.page-top {
  padding-block: clamp(1rem, 2.4vw, 1.75rem);
}
.page-top .breadcrumb {
  margin-bottom: .35rem;
}
.page-top .eyebrow {
  margin-bottom: .35rem;
}
.page-top h1 {
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  line-height: 1.15;
  margin-bottom: .35rem;
}
.page-top p {
  font-size: 1rem;
  line-height: 1.5;
}
.page-top + .section,
.page-top + .tax-note + .section {
  padding-top: clamp(1.25rem, 3vw, 2.5rem);
}

.nav a[aria-current="location"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}
