button.sensor-test-entry {
  display:inline; width:auto; padding:0; border:0; border-radius:0; margin:0;
  background:transparent; box-shadow:none; color:inherit; font:inherit; cursor:pointer;
}
button.sensor-test-entry:focus-visible { outline:2px solid #119647; outline-offset:3px; }
.sensor-test { width:min(100% - 28px,780px); margin:76px auto 30px; color:#20382a; }
.sensor-test-heading { margin-bottom:20px; }
.sensor-eyebrow { font-size:10px; font-weight:700; letter-spacing:.17em; color:#097233; margin-bottom:7px; }
.sensor-test h1 { font-size:30px; line-height:1.15; margin:0 0 9px; }
.sensor-test-heading > p:last-child { font-size:14px; line-height:1.55; color:#4b6452; max-width:420px; }
.sensor-toolbar { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.sensor-status { font-size:13px; line-height:1.45; }
.sensor-test button { font:inherit; font-size:13px; font-weight:600; border:1px solid #a9c7b3; color:#174b2b; border-radius:9px; padding:10px 14px; background:#fff; cursor:pointer; }
.sensor-test button:focus-visible { outline:3px solid #087237; outline-offset:3px; }
.sensor-test button:disabled { opacity:.45; cursor:default; }
.sensor-test button:active:not(:disabled) { background:#e9f5ed; }
.sensor-availability { display:flex; flex-wrap:wrap; gap:6px; margin:14px 0 20px; }
.sensor-availability span { font-size:11px; padding:5px 9px; border:1px solid #b0c9b7; border-radius:20px; color:#587060; background:#d6ecd8; }
.sensor-availability span::before { content:""; display:inline-block; width:6px; height:6px; margin-right:5px; border-radius:50%; background:#90a096; vertical-align:1px; }
.sensor-availability span[data-available="true"] { background:#f7fff8; color:#185c32; }
.sensor-availability span[data-available="true"]::before { background:#14904a; }
.sensor-availability span[data-available="false"] { opacity:.6; }
.sensor-instruments { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.sensor-card { padding:18px; border-radius:17px; background:#fff; border:1px solid #bad1c0; box-shadow:0 4px 18px #244f2d09; min-width:0; }
.sensor-card-title { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.sensor-card h2 { font-family:"Ubuntu",sans-serif; font-size:16px; font-weight:700; }
.sensor-card-title > span { font-size:10px; color:#627469; text-align:right; }
.sensor-card[data-unavailable="true"] .sensor-compass,
.sensor-card[data-unavailable="true"] .sensor-level { opacity:.35; }
.sensor-compass { display:block; width:100%; max-width:232px; height:auto; margin:auto; }
.sensor-compass text { font:600 17px "Ubuntu",sans-serif; fill:#385542; }
.sensor-compass text.sensor-north { fill:#c84337; }
.sensor-heading-value { display:flex; align-items:baseline; justify-content:center; gap:3px; margin:9px 0 5px; font-variant-numeric:tabular-nums; }
.sensor-heading-value output { font-size:38px; font-weight:500; letter-spacing:-.06em; }
.sensor-heading-value > span { font-size:23px; font-weight:400; }
.sensor-heading-value b { font-size:15px; color:#62806c; margin-left:6px; }
.sensor-caption { font-size:11px; line-height:1.5; color:#61776a; text-align:center; margin-top:7px; }
.sensor-level { position:relative; width:min(100%,220px); aspect-ratio:1; margin:8px auto 15px; border:1px solid #c9decf; border-radius:50%; overflow:hidden; background:radial-gradient(circle,#f3fbf4 0%,#e4f4e6 65%,#d8ecd9 100%); }
.sensor-level-ring { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); border:1px solid #9cc8aa; border-radius:50%; }
.sensor-level-ring-outer { width:68%; height:68%; }
.sensor-level-ring-inner { width:21%; height:21%; border-width:2px; border-color:#5b9d6e; }
.sensor-level-cross { position:absolute; background:#a7ccb2; }
.sensor-level-cross-x { width:100%; height:1px; top:50%; }
.sensor-level-cross-y { height:100%; width:1px; left:50%; }
.sensor-level-axis { position:absolute; font-size:10px; color:#6a8b74; font-weight:600; }
.sensor-level-axis-x { right:9px; top:calc(50% - 14px); }
.sensor-level-axis-y { top:7px; left:calc(50% + 6px); }
.sensor-bubble { position:absolute; left:50%; top:50%; width:32px; height:32px; border-radius:50%; transform:translate(-50%,-50%); background:radial-gradient(circle at 35% 28%,#fcfff2 0%,#d1f292 23%,#77bf50 68%,#4f9136 100%); border:1px solid #6fa652; box-shadow:0 3px 7px #244c262e,inset 0 1px 4px #fff9; }
.sensor-bubble[hidden] { display:none; }
.sensor-level-values { display:flex; justify-content:center; gap:22px; text-align:center; }
.sensor-level-values span { display:block; font-size:10px; color:#64806c; margin-bottom:3px; }
.sensor-level-values output { font-size:20px; font-weight:600; font-variant-numeric:tabular-nums; }
.sensor-test .sensor-zero-button { display:block; margin:13px auto 0; padding:7px 13px; font-size:11px; }
.sensor-readings { margin-top:14px; }
.sensor-reading-section + .sensor-reading-section { margin-top:19px; padding-top:17px; border-top:1px solid #e4ece6; }
.sensor-reading-title { display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.sensor-reading-title h3 { font:600 13px "Ubuntu",sans-serif; }
.sensor-reading-title > span { font-size:10px; color:#708276; text-align:right; }
.sensor-values { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:12px; }
.sensor-values > div { padding:11px; background:#f4f8f5; border-radius:9px; }
.sensor-values dt { font-size:10px; color:#67806e; margin-bottom:5px; }
.sensor-values dd { font-size:20px; font-weight:500; font-variant-numeric:tabular-nums; }
.sensor-rate-track { display:block; height:3px; margin-top:10px; background:#d7e5db; border-radius:4px; overflow:hidden; }
.sensor-rate-track i { display:block; height:100%; width:0; background:#1e8e4a; border-radius:4px; }
.sensor-footnote { font-size:11px; text-align:center; color:#577261; margin:19px 0 12px; line-height:1.5; }
.sensor-test .sensor-return { display:block; margin:auto; background:transparent; border:0; text-decoration:underline; font-weight:400; }
.sensor-test[data-paused="true"] .sensor-instruments,
.sensor-test[data-paused="true"] .sensor-values { opacity:.6; }
@media(max-width:560px) {
  .sensor-instruments { grid-template-columns:1fr; }
  .sensor-test h1 { font-size:28px; }
  .sensor-card { padding:18px; }
  .sensor-values { gap:8px; }
  .sensor-values dd { font-size:18px; }
}
@media(min-width:561px) { .sensor-test { margin-top:78px; } }

.sensor-compass [data-compass-rose] { opacity:.35; }
[data-sensor-card="compass"][data-reading="true"] .sensor-compass [data-compass-rose] { opacity:1; }
