:root {
  color-scheme:dark;
  --bg:#121512;
  --surface:#1b1f1a;
  --surface-raised:#20251e;
  --line:#343b31;
  --text:#f1f1e6;
  --muted:#b0b7a7;
  --lime:#d1f878;
  --error:#ffb3a6;
  --mono:Consolas,'Courier New',monospace;
  font-family:'Segoe UI',Tahoma,sans-serif;
  background:var(--bg);
  color:var(--text)
}

* {
  box-sizing:border-box
}

body {
  margin:0;
  background:radial-gradient(ellipse at 20% 0%,#20261b 0,transparent 45%);
  min-height:100vh
}

button,input,textarea,select {
  font:inherit
}

button {
  cursor:pointer;
  transition:background .15s,transform .15s,color .15s;
  border:1px solid transparent;
  color:inherit
}

button:active:not(:disabled) {
  transform:translateY(1px)
}

button:disabled {
  cursor:not-allowed;
  opacity:.42
}

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline:2px solid var(--lime);
  outline-offset:4px
}

button,select {
  min-height:44px
}

button svg,svg {
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0
}

svg.icon-library {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden
}

.shell {
  max-width:1200px;
  padding:0 44px;
  margin:auto
}

.masthead {
  height:104px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  gap:16px
}

.brand {
  display:flex;
  align-items:center;
  gap:13px;
  text-decoration:none;
  color:var(--text);
  font-weight:700;
  font-size:25px;
  letter-spacing:-1px
}

.brand-light {
  font-weight:350;
  margin-left:5px;
  color:var(--muted)
}

.brand-mark {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border:1px solid #62704c;
  border-radius:11px;
  color:var(--lime);
  background:#252e1e
}

.connection {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:500
}

.signal,.small-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--muted);
  display:inline-block;
  flex-shrink:0
}

.signal.online,.small-dot {
  background:var(--lime)
}

.signal.offline {
  background:var(--error)
}

.clock {
  font-family:var(--mono);
  font-size:15px;
  margin-left:19px;
  padding-left:22px;
  border-left:1px solid var(--line)
}

[hidden] {
  display:none!important
}

h1,h2,p {
  margin:0
}

h1 {
  font-size:36px;
  line-height:1.12;
  letter-spacing:-1.4px;
  font-weight:650
}

h2 {
  font-size:19px;
  font-weight:600;
  letter-spacing:-.4px
}

.eyebrow {
  font-size:10px;
  letter-spacing:1.8px;
  font-weight:600;
  color:var(--muted)
}

.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:34px 0 26px
}

.page-heading .eyebrow {
  margin-bottom:8px
}

.quiet {
  background:transparent;
  color:var(--muted);
  padding:8px 12px;
  font-size:12px;
  border-radius:5px
}

.quiet:hover {
  background:#ffffff09;
  color:var(--text)
}

.tabs {
  display:flex;
  gap:28px;
  border-bottom:1px solid var(--line);
  margin-bottom:28px
}

.tab {
  display:flex;
  align-items:center;
  gap:9px;
  background:transparent;
  padding:12px 0 18px;
  border-bottom:2px solid transparent;
  color:var(--muted);
  font-weight:550;
  font-size:13px;
  border-radius:0;
  position:relative;
  top:1px
}

.tab.active {
  border-color:var(--lime);
  color:var(--lime)
}

.tab svg {
  width:18px;
  height:18px
}

.cockpit {
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);
  gap:28px
}

.main-column,.side-column {
  min-width:0
}

.sleep-card {
  background:radial-gradient(ellipse at 97% 30%,#354029 0,transparent 60%),#252e20;
  border:1px solid #4a573a;
  border-radius:15px;
  padding:28px 30px 21px;
  overflow:hidden
}

.sleep-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px
}

.sleep-top .eyebrow {
  color:#c1d0ad;
  font-size:9px;
  letter-spacing:1.5px
}

.card-number {
  font-family:var(--mono);
  color:var(--muted);
  font-size:10px;
  white-space:nowrap
}

.sleep-copy {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:35px 0 30px;
  gap:10px
}

.sleep-copy h2 {
  font-size:44px;
  line-height:1.07;
  letter-spacing:-1.7px;
  font-weight:550
}

.sleep-copy p {
  margin-top:14px;
  font-size:12px;
  color:#c1cdaf;
  line-height:1.6
}

.hero-moon {
  width:108px;
  height:108px;
  stroke-width:.7;
  transform:rotate(-8deg);
  color:var(--lime);
  filter:drop-shadow(0 0 20px #baff4b20);
  margin-right:7px
}

.delay-field {
  border:0;
  margin:0;
  padding:0;
  min-width:0
}

.delay-field legend {
  font-size:11px;
  color:#c1cdaf;
  margin-bottom:10px
}

.delay-options {
  display:flex;
  gap:6px
}

.delay {
  border:1px solid #566344;
  background:#ffffff02;
  border-radius:6px;
  font-size:12px;
  color:#d0d8c5;
  flex:1;
  min-width:0;
  min-height:44px;
  padding:5px 6px;
  white-space:nowrap
}

.delay.selected {
  background:#d1f87817;
  color:var(--lime);
  border-color:var(--lime)
}

.delay:hover {
  background:#d1f87812
}

.primary {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  background:var(--lime);
  color:#202914;
  border-radius:7px;
  min-height:54px;
  font-size:14px;
  font-weight:650;
  padding:12px 20px
}

.primary:hover {
  background:#e0ff9a
}

.sleep-button {
  width:100%;
  justify-content:flex-start;
  margin-top:18px
}

.sleep-button span {
  margin-left:auto;
  font-size:24px;
  font-weight:400;
  line-height:1
}

.sleep-note {
  font-size:10px;
  color:#becbab;
  text-align:center;
  margin-top:12px
}

.custom-delay {
  font-size:12px;
  color:#c1cdaf;
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:12px
}

.custom-delay input {
  width:76px;
  padding:8px;
  background:#1a2116;
  border:1px solid #65784c;
  color:var(--text);
  border-radius:5px
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:22px
}

.section-heading>span {
  font-size:10px;
  color:var(--muted)
}

.section-heading>svg {
  width:18px;
  height:18px;
  color:var(--muted)
}

.quick-section {
  margin-top:28px
}

.quick-section .section-heading {
  margin-bottom:15px
}

.quick-actions {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden
}

.quick-actions button {
  display:flex;
  align-items:flex-start;
  flex-direction:column;
  min-height:125px;
  background:#1b1f19;
  padding:18px 13px;
  border-right:1px solid var(--line);
  text-align:left
}

.quick-actions button:last-child {
  border-right:0
}

.quick-actions button:hover {
  background:#272e22
}

.quick-actions svg {
  color:var(--lime);
  margin-bottom:16px;
  width:20px;
  height:20px
}

.quick-actions strong {
  font-size:12px;
  font-weight:600
}

.quick-actions span {
  font-size:9px;
  color:var(--muted);
  margin-top:5px;
  line-height:1.5
}

.telemetry {
  padding:25px 25px 18px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#1a1e18
}

.telemetry h2 {
  font-size:16px
}

.live-label {
  display:flex;
  align-items:center;
  gap:6px;
  font-family:var(--mono);
  letter-spacing:1px;
  font-size:9px!important
}

.metric {
  margin-bottom:20px
}

.metric>div:first-child {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:9px
}

.metric>div>span {
  font-size:12px;
  color:#c8cdbf
}

.metric strong {
  font-family:var(--mono);
  font-weight:400;
  font-size:24px
}

.metric strong small {
  font-size:11px;
  color:var(--muted);
  margin-left:4px
}

.meter {
  height:4px;
  border-radius:2px;
  background:#343c2e;
  overflow:hidden
}

.meter span {
  display:block;
  height:100%;
  width:0;
  background:var(--lime);
  transition:width .5s;
  border-radius:2px
}

.metric p {
  font-family:var(--mono);
  color:var(--muted);
  font-size:10px;
  margin-top:7px
}

.uptime {
  border-top:1px solid var(--line);
  padding-top:15px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  font-size:10px;
  color:var(--muted)
}

.uptime strong {
  font-family:var(--mono);
  font-size:11px;
  font-weight:400;
  color:var(--text)
}

#battery-row {
  margin-top:15px
}

.media-card {
  margin-top:20px;
  border:1px solid var(--line);
  border-radius:12px;
  padding:22px 25px;
  background:#1a1e18
}

.media-card .section-heading {
  margin-bottom:8px
}

.media-card h2 {
  font-size:16px
}

.media-card>p {
  font-size:10px;
  color:var(--muted);
  line-height:1.6
}

.playback {
  display:flex;
  justify-content:center;
  gap:19px;
  align-items:center;
  margin:18px 0
}

.playback button {
  display:grid;
  place-items:center;
  background:transparent;
  color:var(--muted);
  width:44px;
  border-radius:6px
}

.playback button:hover {
  background:#30392a;
  color:var(--lime)
}

.playback .play-button {
  background:#d1f878;
  color:#202914;
  width:52px;
  height:52px;
  border-radius:50%
}

.playback .play-button:hover {
  background:#e0ff9a;
  color:#202914
}

.volume {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding-top:7px
}

.volume>button {
  background:transparent;
  border-radius:5px;
  min-width:44px;
  font-size:23px;
  color:var(--muted)
}

.volume>button:hover {
  background:#30392a
}

.volume .volume-state {
  font-size:12px;
  display:flex;
  gap:9px;
  align-items:center;
  padding:8px 13px;
  font-family:var(--mono)
}

.volume svg {
  width:17px;
  height:17px
}

.dashboard-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#a1ab95;
  font-size:10px;
  padding:32px 0 27px;
  gap:15px
}

.dashboard-footer .small-dot {
  width:4px;
  height:4px;
  margin-right:6px
}

.notice,.timer-banner {
  margin-bottom:20px;
  padding:18px 20px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px
}

.notice {
  border:1px solid #83594f;
  background:#ffb3a608
}

.notice strong {
  font-size:13px;
  color:var(--error)
}

.notice p {
  font-size:11px;
  color:var(--muted);
  margin-top:5px;
  line-height:1.6
}

.small-button {
  padding:10px 12px;
  font-size:11px;
  white-space:nowrap;
  background:#ffffff08;
  border:1px solid var(--line);
  border-radius:6px
}

.small-button:hover {
  background:#ffffff12
}

.timer-banner {
  border:1px solid #718b43;
  background:#d1f8780d
}

.timer-icon {
  color:var(--lime);
  padding:12px;
  background:#d1f87812;
  border-radius:50%;
  display:flex
}

.timer-banner>div {
  flex:1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px
}

.timer-banner span {
  font-size:12px
}

.timer-banner strong {
  font-family:var(--mono);
  font-size:28px;
  font-weight:400;
  color:var(--lime)
}

.test-banner {
  padding:12px 15px;
  border:1px solid #b39a42;
  color:#f5d889;
  font-size:11px;
  margin-top:18px;
  border-radius:6px;
  line-height:1.6
}

.login-view {
  max-width:420px;
  margin:46px auto 65px;
  text-align:center
}

.login-illustration {
  height:128px;
  position:relative;
  margin:0 auto 25px;
  display:grid;
  place-items:center;
  width:190px
}

.login-illustration>svg {
  width:39px;
  height:39px;
  color:var(--lime);
  stroke-width:1.2;
  z-index:1
}

.orbit {
  position:absolute;
  border:1px solid #5c704031;
  border-radius:50%;
  width:122px;
  height:122px
}

.orbit-two {
  width:180px;
  height:180px;
  border-color:#50663818
}

.orbit-node {
  width:8px;
  height:8px;
  position:absolute;
  left:36px;
  top:29px;
  background:var(--lime);
  border-radius:50%;
  box-shadow:0 0 20px #d1f87833
}

.login-view h1 {
  font-size:51px;
  font-weight:550;
  margin-top:18px;
  line-height:1.12;
  letter-spacing:-2px
}

.login-view h1>span {
  color:var(--lime)
}

.login-description {
  color:var(--muted);
  font-size:13px;
  line-height:1.9;
  margin:20px 0 29px
}

.login-description strong {
  color:var(--text);
  font-weight:500
}

.login-form {
  text-align:left;
  max-width:335px;
  margin:auto
}

.login-form label {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
  font-size:12px
}

.login-form label span {
  font-size:10px;
  color:var(--muted)
}

.login-form input {
  width:100%;
  border:1px solid #4c5841;
  background:#1c2318;
  border-radius:7px;
  height:60px;
  color:var(--text);
  text-align:center;
  font-family:var(--mono);
  letter-spacing:9px;
  font-size:23px;
  padding-left:13px
}

.login-form .primary {
  width:100%;
  margin-top:14px;
  justify-content:space-between
}

.login-footnote {
  font-size:10px;
  color:var(--muted);
  margin-top:24px;
  line-height:1.7
}

.login-footnote .small-dot {
  width:4px;
  height:4px;
  margin-right:5px
}

.form-error {
  font-size:12px;
  color:var(--error);
  line-height:1.6;
  margin-top:12px
}

.tools-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px
}

.tool-card {
  padding:25px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#1a1e18;
  min-width:0
}

.tool-card .eyebrow {
  font-size:9px;
  color:var(--lime);
  margin-bottom:12px
}

.tool-card>p:not(.eyebrow) {
  font-size:12px;
  line-height:1.8;
  color:var(--muted);
  margin-top:12px
}

.tool-card textarea {
  margin-top:18px
}

.button-row {
  display:flex;
  gap:10px;
  margin-top:15px
}

.button-row>* {
  flex:1
}

.secondary,.outline {
  min-height:46px;
  padding:10px 14px;
  border-radius:6px;
  font-size:12px;
  font-weight:550;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px
}

.secondary {
  background:#d1f87820;
  color:var(--lime);
  border:1px solid #6b8248
}

.secondary:hover {
  background:#d1f87830
}

.outline {
  background:transparent;
  border:1px solid #55604b;
  color:var(--text)
}

.outline:hover {
  background:#ffffff08
}

textarea {
  resize:vertical;
  width:100%;
  padding:14px;
  border:1px solid #49533f;
  border-radius:6px;
  background:#121710;
  color:var(--text);
  font-size:13px;
  line-height:1.6
}

textarea::placeholder {
  color:#96a18a
}

.clipboard-copy {
  margin:8px 0 -8px;
  padding-left:0;
  text-decoration:underline;
  text-underline-offset:4px
}

.app-shortcuts {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:21px
}

.app-shortcuts button {
  min-height:49px;
  padding:10px 15px;
  border-radius:7px;
  background:#272e21;
  border:1px solid #46513c;
  font-size:12px;
  display:flex;
  align-items:center;
  gap:12px
}

.app-shortcuts button:hover {
  background:#35452a;
  color:var(--lime)
}

.app-shortcuts button span {
  font-size:18px
}

.empty-state {
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
  padding:10px 0
}

.power-actions {
  display:flex;
  flex-direction:column;
  margin-top:12px
}

.power-actions button {
  background:transparent;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  gap:12px;
  min-height:58px;
  padding:10px 3px;
  font-size:13px;
  text-align:left
}

.power-actions button:hover {
  color:var(--lime)
}

.power-actions button span {
  margin-left:auto
}

.power-actions svg {
  width:19px;
  height:19px;
  color:var(--muted)
}

details {
  margin-top:16px
}

summary {
  font-size:12px;
  color:var(--muted);
  cursor:pointer;
  min-height:44px;
  display:flex;
  align-items:center;
  gap:10px
}

summary::before {
  content:'+';
  font-size:19px;
  color:var(--lime)
}

details[open] summary::before {
  content:'−'
}

.danger-text {
  color:var(--error)
}

.connection-help ol {
  padding-left:18px;
  font-size:12px;
  line-height:1.85;
  color:var(--muted);
  margin:18px 0
}

.connection-help li {
  padding-left:5px;
  margin-bottom:12px
}

.connection-help strong {
  color:var(--text);
  font-weight:550
}

.connection-help .address {
  display:block;
  font-family:var(--mono);
  font-size:11px;
  overflow-wrap:anywhere;
  margin-top:8px;
  background:#121710;
  border:1px solid var(--line);
  padding:10px;
  border-radius:5px
}

.connection-help .wake-note {
  border-top:1px solid var(--line);
  padding-top:15px;
  font-size:11px!important
}

.connection-help .quiet {
  padding-left:0
}

.connection-extra {
  font-family:var(--mono);
  overflow-wrap:anywhere
}

.activity-card {
  grid-column:1/-1
}

.activity-card .section-heading {
  margin-bottom:8px
}

.activity-list {
  padding:0;
  margin:0;
  list-style:none
}

.activity-list li:not(.empty-state) {
  padding:14px 0;
  border-top:1px solid var(--line);
  display:flex;
  align-items:flex-start;
  gap:14px
}

.activity-dot {
  width:5px;
  height:5px;
  background:var(--lime);
  margin-top:7px;
  border-radius:50%;
  flex-shrink:0
}

.activity-dot.failed {
  background:var(--error)
}

.activity-list li>div {
  flex:1
}

.activity-list strong {
  font-size:12px;
  font-weight:550
}

.activity-list p {
  font-size:11px;
  color:var(--muted);
  line-height:1.6;
  margin-top:4px
}

.activity-list time {
  font-family:var(--mono);
  font-size:11px;
  color:var(--muted)
}

#panel-touchpad>.section-heading {
  align-items:flex-start;
  padding-top:4px
}

#panel-touchpad>.section-heading h2 {
  font-size:27px
}

#panel-touchpad>.section-heading p {
  font-size:12px;
  color:var(--muted);
  margin-top:10px
}

.touchpad {
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
  border:1px solid #607c3d;
  background:radial-gradient(circle at center,#293322 0,#192016 75%);
  border-radius:15px;
  min-height:330px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:13px;
  color:#b7c3a7;
  position:relative;
  overflow:hidden
}

.touchpad::before {
  content:'';
  position:absolute;
  inset:15px;
  border:1px solid #d1f87810;
  border-radius:7px;
  pointer-events:none
}

.touchpad.active {
  background:#2d3c20;
  border-color:var(--lime)
}

.touchpad.disconnected {
  opacity:.45;
  cursor:not-allowed
}

.touchpad>svg {
  width:39px;
  height:39px;
  color:var(--lime);
  margin-bottom:8px;
  stroke-width:1
}

.touchpad span {
  font-size:12px
}

.touchpad small {
  font-family:var(--mono);
  font-size:10px;
  color:var(--muted)
}

.pointer-buttons {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
  margin:12px 0 22px
}

.pointer-buttons button {
  background:#242c1e;
  border:1px solid #4d5f3a;
  border-radius:6px;
  padding:12px 10px;
  font-size:12px
}

.pointer-buttons button:hover {
  background:#354a26
}

.text-input-card {
  max-width:none
}

.text-input-card .secondary {
  margin-top:14px;
  margin-left:auto
}

dialog {
  background:#20271b;
  color:var(--text);
  border:1px solid #5c7045;
  border-radius:14px;
  padding:30px;
  width:calc(100% - 36px);
  max-width:450px;
  box-shadow:0 20px 90px #000a
}

dialog::backdrop {
  background:#050803c9
}

dialog h2 {
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.8px;
  margin-top:10px
}

dialog p:not(.eyebrow) {
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
  margin-top:15px
}

.dialog-icon {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  background:#d1f87812;
  border:1px solid #658346;
  border-radius:12px;
  color:var(--lime);
  margin-bottom:24px
}

.dialog-delay {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:12px;
  margin-top:20px
}

.dialog-delay select {
  background:#121710;
  border:1px solid #5c7045;
  border-radius:5px;
  padding:8px;
  color:var(--text);
  max-width:62%
}

dialog .save-warning {
  font-size:11px!important;
  color:#f4d894!important;
  padding:10px 12px;
  border:1px solid #8a7b463f;
  border-radius:4px;
  background:#f4d89407
}

dialog .button-row {
  margin-top:24px
}

dialog .primary {
  font-size:12px;
  padding:10px 13px;
  min-height:48px
}

.toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  background:#e6f3d2;
  color:#22301b;
  border:1px solid #b6d783;
  padding:15px 20px;
  border-radius:8px;
  max-width:calc(100% - 30px);
  width:max-content;
  box-shadow:0 12px 40px #0005;
  font-size:12px;
  line-height:1.6;
  z-index:20
}

.toast.error {
  background:#462d26;
  color:#ffe1d9;
  border-color:#a66a58
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

.tab-panel {
  animation:reveal .3s ease-out
}

@keyframes reveal {
  from {
    opacity:0;
    transform:translateY(5px)
  }
  to {
    opacity:1;
    transform:translateY(0)
  }
}

@media(min-width:1200px) {
  .sleep-copy {
    padding-top:40px;
    padding-bottom:37px
  }
  .sleep-copy h2 {
    font-size:49px
  }
  .sleep-card {
    padding-top:30px
  }
}

@media(max-width:800px) {
  .shell {
    padding:0 24px
  }
  .cockpit {
    grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
    gap:18px
  }
  .sleep-card {
    padding:23px 21px 20px
  }
  .sleep-copy h2 {
    font-size:37px
  }
  .hero-moon {
    width:73px;
    height:73px;
    margin-right:0
  }
  .sleep-top .card-number {
    display:none
  }
  .sleep-copy p {
    font-size:11px
  }
  .telemetry {
    padding:23px 20px 17px
  }
  .telemetry h2 {
    font-size:14px
  }
  .media-card {
    padding:22px 20px
  }
  .quick-actions button {
    padding:17px 10px
  }
  .quick-actions span {
    font-size:9px
  }
  .section-heading h2 {
    font-size:16px
  }
  .section-heading>span {
    font-size:9px
  }
  .tools-grid {
    gap:18px
  }
  .tool-card {
    padding:22px
  }
}

@media(max-width:640px) {
  .shell {
    padding:0 20px
  }
  .masthead {
    height:81px
  }
  .brand {
    font-size:21px;
    gap:10px
  }
  .brand-mark {
    width:34px;
    height:34px;
    border-radius:9px
  }
  .brand-mark svg {
    width:20px;
    height:20px
  }
  .connection {
    font-size:10px;
    gap:6px
  }
  .clock {
    display:none
  }
  .page-heading {
    padding:25px 0 23px
  }
  h1 {
    font-size:29px
  }
  .page-heading .eyebrow {
    font-size:9px;
    letter-spacing:1.4px
  }
  .page-heading .quiet {
    padding-right:0;
    font-size:11px
  }
  .tabs {
    gap:0;
    justify-content:space-between;
    margin-bottom:21px
  }
  .tab {
    font-size:12px;
    padding-bottom:15px;
    gap:8px
  }
  .tab svg {
    width:16px;
    height:16px
  }
  .cockpit {
    grid-template-columns:1fr;
    gap:24px
  }
  .sleep-card {
    padding:23px 22px 19px
  }
  .sleep-top .eyebrow {
    font-size:8px;
    letter-spacing:1.4px
  }
  .sleep-top .card-number {
    display:block;
    font-size:8px
  }
  .sleep-copy {
    padding-top:28px;
    padding-bottom:27px
  }
  .sleep-copy h2 {
    font-size:42px;
    letter-spacing:-1.6px
  }
  .hero-moon {
    width:85px;
    height:85px;
    margin-right:1px
  }
  .sleep-copy p {
    font-size:11px;
    max-width:185px;
    line-height:1.8;
    margin-top:13px
  }
  .delay-field legend {
    font-size:10px
  }
  .delay {
    font-size:11px;
    padding:5px 4px
  }
  .sleep-button {
    margin-top:16px;
    font-size:13px
  }
  .sleep-note {
    font-size:9px
  }
  .quick-section {
    margin-top:25px
  }
  .quick-actions button {
    min-height:122px;
    padding:16px 11px
  }
  .quick-actions strong {
    font-size:11px
  }
  .quick-actions span {
    font-size:9px;
    max-width:80px
  }
  .quick-actions svg {
    margin-bottom:14px
  }
  .section-heading h2 {
    font-size:17px
  }
  .section-heading>span {
    font-size:9px
  }
  .telemetry {
    padding:23px 22px 18px
  }
  .telemetry h2 {
    font-size:17px
  }
  .metric {
    margin-bottom:19px
  }
  .metric strong {
    font-size:25px
  }
  .metric p {
    font-size:10px
  }
  .metric>div>span {
    font-size:12px
  }
  .media-card {
    margin-top:17px;
    padding:22px
  }
  .media-card h2 {
    font-size:17px
  }
  .media-card>p {
    font-size:11px
  }
  .playback {
    margin:21px 0;
    gap:30px
  }
  .dashboard-footer {
    font-size:9px;
    padding:25px 0;
    align-items:flex-start
  }
  .dashboard-footer>span:last-child {
    max-width:112px;
    text-align:right;
    line-height:1.6
  }
  .timer-banner {
    padding:14px 12px;
    gap:10px;
    margin-bottom:17px
  }
  .timer-icon {
    padding:8px
  }
  .timer-icon svg {
    width:18px;
    height:18px
  }
  .timer-banner>div {
    display:block
  }
  .timer-banner span {
    font-size:10px
  }
  .timer-banner strong {
    font-size:25px;
    display:block;
    margin-top:3px
  }
  .timer-banner .small-button {
    font-size:10px;
    padding:8px 10px
  }
  .notice {
    padding:15px;
    display:block
  }
  .notice .small-button {
    margin-top:12px
  }
  .notice p {
    font-size:11px
  }
  .tools-grid {
    grid-template-columns:1fr;
    gap:17px
  }
  .tool-card {
    padding:23px 22px
  }
  .tool-card h2 {
    font-size:20px
  }
  .activity-card {
    grid-column:auto
  }
  .tool-card>p:not(.eyebrow) {
    font-size:12px
  }
  .activity-list time {
    font-size:10px
  }
  .pointer-buttons {
    grid-template-columns:1fr 1fr
  }
  .pointer-buttons button {
    font-size:12px
  }
  .touchpad {
    min-height:320px
  }
  .touchpad span {
    font-size:11px
  }
  #panel-touchpad>.section-heading h2 {
    font-size:23px
  }
  #panel-touchpad .card-number {
    display:none
  }
  .text-input-card .secondary {
    width:100%
  }
  .login-view {
    margin:43px auto 45px
  }
  .login-illustration {
    height:110px;
    margin-bottom:26px
  }
  .orbit {
    width:110px;
    height:110px
  }
  .orbit-two {
    width:160px;
    height:160px
  }
  .orbit-node {
    left:43px;
    top:22px
  }
  .login-view h1 {
    font-size:47px;
    letter-spacing:-1.8px
  }
  .login-view>.eyebrow {
    font-size:9px;
    letter-spacing:1.5px
  }
  .login-description {
    font-size:12px;
    margin:20px 0 27px
  }
  .login-form {
    max-width:335px
  }
  .login-footnote {
    font-size:9px;
    max-width:300px;
    margin:22px auto 0
  }
  .toast {
    bottom:calc(16px + env(safe-area-inset-bottom));
    font-size:12px
  }
  .sleep-top {
    gap:10px
  }
}

@media(max-width:370px) {
  .shell {
    padding:0 16px
  }
  .brand {
    font-size:19px
  }
  .sleep-card {
    padding:22px 18px 18px
  }
  .sleep-copy h2 {
    font-size:38px
  }
  .hero-moon {
    width:70px;
    height:70px
  }
  .sleep-top .card-number {
    display:none
  }
  .tab {
    font-size:11px;
    gap:6px
  }
  .sleep-copy p {
    max-width:180px
  }
  .quick-actions button {
    padding:16px 9px
  }
  .login-view h1 {
    font-size:44px
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
