/* Shared icon geometry, interaction states, and responsive navigation. */
.goal-inputs {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}
.goal-inputs label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.goal-inputs input {
  width: 110px;
  min-height: 44px;
  font-variant-numeric: tabular-nums;
}
.goal-settings .hint-line {
  margin-top: 16px;
}
.period-goal {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #656c78;
  font-size: 12px;
  margin: 0 0 15px;
}
.period-goal .icon {
  width: 16px;
  height: 16px;
}
.member-select {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  min-width: 0;
}
.member-select select {
  max-width: 300px;
  min-height: 44px;
}
.member-detail-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  background: #f0f1f4;
  border: 1px solid #dbdee4;
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
}
.member-detail-summary > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.member-detail-summary strong {
  font-size: 16px;
  font-weight: 600;
}
.member-detail-summary span:not(.badge):not(.badge span) {
  font-size: 11px;
  color: var(--muted);
}
.detail-layout {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 24px;
}
.detail-days {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 500px;
  overflow-y: auto;
  padding: 2px;
}
button.detail-day {
  display: grid;
  grid-template-columns: 1fr 14px;
  gap: 7px;
  justify-items: start;
  background: #f5f6f7;
  border: 1px solid #e2e4e7;
  color: #5b6069;
  padding: 12px;
  text-align: left;
  min-height: 66px;
}
button.detail-day > span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
button.detail-day .icon {
  width: 14px;
  height: 14px;
}
button.detail-day > strong {
  grid-column: 1;
  font-size: 12px;
  font-weight: 500;
}
button.detail-day > .icon {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
}
button.detail-day:hover:not(:disabled),
button.detail-day.selected {
  background: #e3e7ec;
  border-color: #bdc4cf;
  color: #373e4a;
}
.detail-sessions {
  min-width: 0;
}
.detail-sessions h3 {
  margin: 0;
  font-size: 14px;
}
.detail-sessions .panel-head {
  align-items: flex-start;
  flex-wrap: wrap;
}
.person-name .member-detail-link {
  display: flex;
  font-size: 10px;
  min-height: 28px;
  padding: 3px 0;
}
.person-name .member-detail-link .icon {
  width: 12px;
  height: 12px;
}
#member-details,
#admin-day-sessions {
  scroll-margin-top: 20px;
}
@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 14px;
  }
  .member-select select {
    max-width: 235px;
  }
}
@media (max-width: 700px) {
  .goal-inputs {
    gap: 10px;
  }
  .goal-inputs label {
    flex: 1;
  }
  .goal-inputs input {
    width: 100%;
  }
  .goal-inputs button {
    width: 100%;
    margin-top: 3px;
  }
  .member-select {
    width: 100%;
    flex-wrap: wrap;
  }
  .member-select select {
    max-width: 100%;
    flex: 1;
    min-width: 0;
  }
  .member-detail-summary {
    gap: 20px;
    padding: 14px;
  }
  .member-detail-summary strong {
    font-size: 14px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-days {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 230px;
  }
  .detail-sessions h3 {
    font-size: 13px;
  }
  .period-goal {
    font-size: 11px;
  }
}
:root {
  --ink: #181b20;
  --muted: #727579;
  --line: #e1e3e6;
  --radius: 20px;
}
html {
  scroll-padding-bottom: 100px;
}
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}
button,
.button {
  min-height: 44px;
  gap: 9px;
  border: 1px solid transparent;
  transition:
    background 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
  line-height: 1.4;
}
button:hover:not(:disabled),
.button:hover {
  background: #2c3036;
}
button:active:not(:disabled),
.button:active {
  transform: translateY(1px);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #7b8596;
  outline-offset: 4px;
}
button.secondary,
.button.secondary {
  background: #ecedf0;
  border-color: #e1e3e7;
  color: #49505b;
}
button.secondary:hover,
.button.secondary:hover {
  background: #dee1e6;
}
button.danger:hover {
  background: #fbe3dc;
}
button.small,
.button.small {
  min-height: 38px;
}
.small .icon,
.text-button .icon {
  width: 16px;
  height: 16px;
}
button.icon-button {
  min-width: 42px;
  min-height: 42px;
  padding: 10px;
}
button.text-button {
  min-height: 38px;
  background: transparent;
  color: #565d6a;
  padding: 8px 3px;
  font-size: 12px;
}
button.text-button:hover {
  color: #292f38;
  background: #eceef2;
}
.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;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 50;
  padding: 12px;
  background: white;
  border-radius: 8px;
}
.skip-link:focus {
  top: 10px;
}
.content:focus,
h1:focus {
  outline: none;
}
.loading {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
}
.loading-spinner {
  width: 19px;
  height: 19px;
  border: 2px solid #d9dce2;
  border-top-color: #5c6573;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.is-busy .icon:first-child {
  animation: pulse 0.8s ease-in-out infinite;
}
.is-busy[data-action="refresh-stats"] .icon {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}
.shell {
  grid-template-columns: 238px 1fr;
}
.sidebar {
  height: 100dvh;
  padding-bottom: 24px;
}
.sidebar-brand {
  padding-left: 5px;
}
.brand {
  gap: 12px;
  color: #f6f7f9;
}
.brand-sub {
  margin: 7px 0 48px 45px;
  font-size: 9px;
  letter-spacing: 2.5px;
  color: #8f9398;
}
.nav button {
  gap: 13px;
  position: relative;
  border-radius: 12px;
  font-size: 13px;
}
.nav button > .icon {
  width: 19px;
  height: 19px;
  opacity: 0.85;
}
.nav button:hover:not(:disabled) {
  background: #24272d;
  color: #e7eaee;
}
.nav button.active {
  background: #2d3137;
  color: #a5bdfd;
}
.nav button.active > .icon {
  color: #a5bdfd;
  opacity: 1;
}
.nav button.active:before {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
  height: 18px;
  background: #a5bdfd;
  border-radius: 4px;
}
.nav-short,
.mobile-account {
  display: none;
}
.sidebar-note {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-top: auto;
  margin-bottom: 24px;
  padding: 17px 12px;
  border: 1px solid #33363b;
  border-radius: 13px;
  color: #969daa;
}
.sidebar-note strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: #c0c5cd;
}
.sidebar-note span {
  display: block;
  font-size: 10px;
  margin-top: 5px;
  color: #878b92;
}
.sidebar-foot {
  margin-top: 0;
  padding-left: 8px;
}
.user-line strong {
  font-weight: 500;
  color: #e1e4e9;
}
.user-line small {
  display: block;
  color: #90949c;
  font-size: 10px;
}
.sidebar-foot button {
  min-height: 32px;
  gap: 9px;
  font-size: 11px;
}
.sidebar-foot button:hover {
  background: transparent;
  color: white;
}
.sidebar-foot .icon {
  width: 16px;
  height: 16px;
}
.topbar {
  gap: 15px;
}
.crumb,
.topbar-date {
  display: flex;
  align-items: center;
  gap: 9px;
}
.crumb > .icon {
  width: 17px;
  height: 17px;
  color: #777b83;
}
.crumb > .icon:nth-of-type(2) {
  width: 12px;
  height: 12px;
  color: #a2a5ab;
}
.crumb > span:last-child {
  color: #51555c;
}
.topbar-date {
  font-size: 11px;
}
.topbar-date > .icon {
  width: 15px;
  height: 15px;
}
.timezone {
  font-size: 10px;
  border-left: 1px solid #d5d7db;
  padding-left: 10px;
}
.page-head h1 {
  font-size: 30px;
  letter-spacing: -0.7px;
  line-height: 1.45;
}
.page-head p {
  font-size: 12px;
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-bottom: 3px;
}
.badge .icon {
  width: 14px;
  height: 14px;
}
.badge.live {
  background: #e4e7ec;
  color: #2749a5;
  border-color: #d0d5de;
}
.badge.gray {
  background: #eff0f1;
  border-color: #e2e4e7;
}
.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card,
.panel {
  min-width: 0;
  box-shadow: 0 3px 16px #22252c03;
}
.card {
  padding-top: 22px;
  padding-bottom: 22px;
}
.card-label {
  gap: 10px;
}
.metric-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #eff0f3;
  border: 1px solid #e6e8ec;
  border-radius: 10px;
  color: #777e8b;
}
.primary .metric-icon {
  background: #a5bdfd;
  border-color: #d4d8e0;
  color: #294dae;
}
.metric-icon .icon {
  width: 18px;
  height: 18px;
}
.metric {
  margin-top: 18px;
}
.sync-line {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #81858b;
  font-size: 10px;
  margin: 13px 2px 0;
}
.sync-line .icon {
  width: 12px;
  height: 12px;
}
.section-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.section-title > .icon {
  width: 18px;
  height: 18px;
  color: #7e848e;
}
.panel-head h2 {
  font-size: 17px;
}
.progress-meta {
  gap: 10px;
}
.progress-meta strong {
  font-weight: 600;
}
.progress-meta > span {
  color: #7a7e84;
}
.progress-track > i {
  transition: width 0.35s ease;
}
.progress-caption strong {
  font-weight: 500;
  color: #2749a5;
}
.chart-bar {
  max-width: 38px;
  transition: height 0.35s ease;
}
.chart-day .today-label {
  color: #2749a5;
  font-weight: 600;
}
.device-illustration {
  position: relative;
  width: max-content;
  margin: 4px 0 22px;
}
.device-illustration .device-icon {
  margin: 0;
  width: 66px;
  height: 66px;
  border-radius: 19px;
}
.device-icon > .icon {
  width: 31px;
  height: 31px;
  stroke-width: 1.5;
}
.device-seal {
  position: absolute;
  right: -7px;
  bottom: -5px;
  background: #2749a5;
  color: #fff;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 3px solid white;
}
.device-seal .icon {
  width: 13px;
  height: 13px;
}
.device-summary h3 {
  margin-bottom: 9px;
}
.device-meta > .icon {
  width: 14px;
  height: 14px;
  margin-right: 5px;
}
.device-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #eaebee;
  padding-top: 16px;
  margin-top: 21px;
  font-size: 11px;
  color: #6d7684;
}
.device-rule .icon {
  width: 16px;
  height: 16px;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.notice > .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.notice.error {
  background: #fff1ec;
  border-color: #f0d8ce;
  color: #a05b43;
}
.notice a {
  font-weight: 600;
}
.hint-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  line-height: 1.9;
  color: #777b83;
  margin: 20px 0 0;
}
.hint-line .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
}
.table-wrap {
  max-width: 100%;
  overscroll-behavior-x: contain;
}
tbody tr {
  transition: background 0.12s;
}
tbody tr:hover {
  background: #f7f8fa;
}
.table-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.table-date .icon {
  width: 14px;
  height: 14px;
  color: #848b96;
}
.rank-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 33px;
  gap: 5px;
  color: #848890;
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  padding: 0 7px;
  border-radius: 9px;
}
.rank-mark .icon {
  width: 17px;
  height: 17px;
}
.rank-1 {
  background: #f8f1df;
  color: #a58947;
}
.rank-2 {
  background: #f0f0f1;
  color: #84888f;
}
.rank-3 {
  background: #f7eee5;
  color: #b18c6b;
}
.me-row:hover {
  background: #e9ecf1;
}
.avatar {
  flex: none;
}
.you-tag {
  font-size: 9px;
  color: #686f7b;
  border: 1px solid #d3d7df;
  background: #e9ecf1;
  padding: 1px 5px;
  border-radius: 4px;
}
.duration-cell {
  font-weight: 500;
  color: #373c43;
}
.segmented {
  border: 1px solid #e0e2e5;
  border-radius: 11px;
}
.segmented button {
  min-height: 35px;
  gap: 6px;
  border-radius: 8px;
}
.segmented button .icon {
  width: 14px;
  height: 14px;
}
.segmented button:hover {
  background: #eff0f3;
}
.filter-label {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #dadde2;
  border-radius: 10px;
  background: #fff;
  padding: 0 10px;
  color: #848992;
}
.filter-label .icon {
  width: 15px;
  height: 15px;
}
.filter-label input {
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-size: 12px;
  min-height: 42px;
}
.date-range {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #7b8088;
}
.date-range .icon {
  width: 13px;
  height: 13px;
}
.empty {
  padding: 28px 18px 36px;
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 12px;
}
.empty-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #f1f2f4;
  border: 1px solid #e7e9ed;
  color: #8d94a0;
  margin-bottom: 15px;
}
.empty-icon .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}
.empty strong {
  font-size: 13px;
  font-weight: 500;
  color: #5f6671;
}
.empty p {
  font-size: 11px;
  margin: 7px 0 0;
  max-width: 380px;
}
.binding-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}
.binding-steps > div {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #e9ebee;
  border: 1px solid #dde0e5;
  padding: 16px 20px;
  border-radius: 13px;
  color: #747c89;
}
.binding-steps > div > .icon {
  width: 23px;
  height: 23px;
  stroke-width: 1.5;
}
.binding-steps span {
  font-size: 12px;
  color: #5a606a;
}
.binding-steps small {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  color: #898f98;
  margin-bottom: 4px;
}
.mac-display {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  padding: 16px;
  background: #f3f4f6;
  border: 1px dashed #d6dae0;
  border-radius: 12px;
  margin-bottom: 14px;
  min-width: 0;
}
.mac-display .mono {
  margin: 8px 0 0;
  font-size: 16px;
  letter-spacing: 1px;
  user-select: all;
  line-height: 1.6;
}
.field-label {
  font-size: 10px;
  color: #7f848c;
}
.steps li:before {
  border-radius: 9px;
  border: 1px solid #d4d9e1;
}
.steps li:not(:last-child):after {
  content: "";
  position: absolute;
  left: 13px;
  top: 34px;
  bottom: 7px;
  border-left: 1px dashed #d5d8de;
}
.guide-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 27px;
}
.guide-heading h2 {
  margin: 0 0 3px !important;
}
.guide-heading small {
  font-size: 11px;
}
.platform-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: #eeeeef;
  border: 1px solid #e0e1e4;
  color: #72767d;
  border-radius: 12px;
}
.platform-icon.android {
  background: #e9ecf1;
  color: #305acc;
  border-color: #d8dce2;
}
.platform-icon .icon {
  width: 24px;
  height: 24px;
}
.faq details {
  border-top: 1px solid #eaebee;
}
.faq details:first-child {
  border-top: 0;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
  min-height: 50px;
  padding: 16px 0;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .icon {
  width: 16px;
  height: 16px;
  color: #858b96;
  transition: transform 0.15s;
}
.faq details[open] summary .icon {
  transform: rotate(90deg);
}
.faq p {
  margin-right: 27px;
}
.footer > span:last-child {
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer .icon {
  width: 12px;
  height: 12px;
}
.admin-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #616a79;
  font-size: 11px;
}
.admin-label .icon {
  width: 15px;
  height: 15px;
}
.login-page {
  min-height: 100dvh;
}
.login-copy {
  padding: 40px 0;
}
.login-highlights {
  display: flex;
  gap: 20px;
  margin-top: 35px;
}
.login-highlights span {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #496fd4;
  font-size: 11px;
}
.login-highlights .icon {
  width: 16px;
  height: 16px;
}
.orbits {
  pointer-events: none;
}
.welcome-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #e4e7eb;
  border: 1px solid #d6dae0;
  color: #294db0;
  border-radius: 16px;
  margin-bottom: 28px;
}
.welcome-icon .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.5;
}
.login-button span {
  flex: 1;
}
.login-button > .icon:last-child {
  width: 17px;
  height: 17px;
}
.login-notes > div {
  display: flex;
  align-items: center;
  gap: 11px;
}
.login-notes .icon {
  width: 18px;
  height: 18px;
  color: #808998;
}
.login-form > small {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.login-form > small > .icon {
  width: 14px;
  height: 14px;
  margin-top: 3px;
}
.login-form .notice {
  margin-top: 12px;
  margin-bottom: 0;
}
.state-box .actions {
  justify-content: center;
}
.device-icon.error {
  color: #ab705c;
  background: #fbefe7;
}
#toast {
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #4b505a;
  line-height: 1.7;
  z-index: 50;
}
#toast > .icon {
  width: 18px;
  height: 18px;
  color: #496fd4;
  margin-top: 2px;
}
#toast.toast-error {
  background: #724d38;
  border-color: #99775d;
}
#toast.toast-error > .icon {
  color: #f3d9aa;
}
.skeleton {
  padding-top: 37px;
}
.skeleton-head {
  width: 47%;
  height: 33px;
  border-radius: 8px;
  margin: 30px 0 35px;
}
.skeleton-card {
  height: 168px;
  border-radius: 20px;
}
.skeleton-panel {
  height: 285px;
  border-radius: 20px;
  margin-top: 25px;
}
.skeleton-head,
.skeleton-card,
.skeleton-panel {
  background: #e5e7eb;
  animation: skeleton 1.5s ease-in-out infinite;
}
@keyframes skeleton {
  50% {
    opacity: 0.4;
  }
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 208px 1fr;
  }
  .sidebar {
    padding-left: 17px;
    padding-right: 17px;
  }
  .main {
    padding-left: 28px;
    padding-right: 28px;
  }
  .page-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .page-head h1 {
    font-size: 27px;
  }
}
@media (max-width: 900px) {
  .topbar-date .timezone {
    display: none;
  }
  .binding-steps {
    gap: 8px;
  }
  .binding-steps > div {
    padding: 14px;
    gap: 9px;
  }
  .binding-steps span {
    font-size: 11px;
  }
  .device-summary .device-illustration {
    float: left;
    margin-right: 23px;
    margin-top: 6px;
  }
  .device-summary .device-rule {
    clear: both;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
  .sidebar {
    height: auto;
    padding: 19px 20px 18px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .sidebar-brand {
    padding: 0;
  }
  .brand {
    font-size: 18px;
    gap: 9px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .brand-sub {
    display: block;
    font-size: 7px;
    letter-spacing: 2px;
    margin: 3px 0 0 38px;
  }
  .sidebar-foot,
  .sidebar-note {
    display: none;
  }
  .mobile-account {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .mobile-account .avatar {
    width: 29px;
    height: 29px;
    font-size: 11px;
  }
  .mobile-name {
    font-size: 11px;
    max-width: 70px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #bdc3cc;
  }
  .mobile-account .icon-button {
    min-width: 36px;
    min-height: 38px;
    padding: 8px;
    background: #272b30;
    color: #a8adb6;
  }
  .mobile-account .icon {
    width: 17px;
    height: 17px;
  }
  .nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    justify-content: space-around;
    gap: 2px;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid #dcdfe4;
    background: #a5bdfd;
    box-shadow: 0 -4px 25px #2a2e3406;
  }
  .nav button {
    flex: 1;
    flex-direction: column;
    gap: 5px;
    padding: 7px 3px;
    border-radius: 11px;
    min-width: 0;
    min-height: 52px;
    color: #848992;
    font-size: 10px;
    background: transparent;
  }
  .nav button > .icon {
    width: 21px;
    height: 21px;
    opacity: 1;
  }
  .nav button.active {
    background: #e7eaef;
    color: #2749a5;
  }
  .nav button.active > .icon {
    color: #294daf;
  }
  .nav button.active:before {
    display: none;
  }
  .nav button:hover:not(:disabled) {
    background: #eceef1;
    color: #2749a5;
  }
  .nav-label {
    display: none;
  }
  .nav-short {
    display: block;
  }
  .main {
    padding: 0 17px calc(103px + env(safe-area-inset-bottom));
  }
  .topbar {
    height: 55px;
    gap: 8px;
  }
  .topbar .crumb {
    gap: 6px;
    font-size: 10px;
  }
  .crumb > .icon:first-child {
    display: none;
  }
  .topbar-date {
    gap: 5px;
    font-size: 9px;
  }
  .topbar-date > .icon {
    width: 12px;
    height: 12px;
  }
  .page-head {
    margin: 26px 0 22px;
    gap: 16px;
    flex-direction: column;
  }
  .page-head h1 {
    font-size: 24px;
    letter-spacing: -0.6px;
  }
  .page-head p {
    font-size: 11px;
  }
  .page-head .eyebrow {
    font-size: 8px;
    margin-bottom: 8px;
    letter-spacing: 2.2px;
  }
  .head-actions {
    justify-content: space-between;
    width: 100%;
    padding-bottom: 0;
  }
  .head-actions .icon-button {
    min-height: 36px;
    min-width: 36px;
    padding: 8px;
  }
  .head-actions .icon {
    width: 17px;
    height: 17px;
  }
  .card {
    padding: 14px 12px;
  }
  .card-label {
    font-size: 10px;
    gap: 4px;
    align-items: flex-start;
  }
  .metric-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }
  .metric-icon .icon {
    width: 14px;
    height: 14px;
  }
  .metric {
    font-size: 29px;
    letter-spacing: -1px;
    margin: 17px 0 9px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    row-gap: 3px;
  }
  .metric span {
    font-size: 9px;
    margin-left: 3px;
  }
  .card small {
    font-size: 9px;
    line-height: 1.8;
    display: block;
  }
  .sync-line {
    margin-top: 11px;
    font-size: 9px;
    gap: 5px;
    align-items: flex-start;
  }
  .sync-detail {
    display: none;
  }
  .panel-head {
    align-items: center;
  }
  .panel-head h2 {
    font-size: 15px;
  }
  .section-title {
    gap: 8px;
  }
  .section-title > .icon {
    width: 17px;
    height: 17px;
  }
  .panel-head small {
    font-size: 9px;
  }
  .progress-meta,
  .progress-caption {
    font-size: 11px;
  }
  .badge {
    font-size: 10px;
    padding: 6px 9px;
  }
  .badge > .icon {
    width: 13px;
    height: 13px;
  }
  .device-summary .device-illustration {
    margin-right: 19px;
  }
  .device-summary h3 {
    font-size: 14px;
  }
  .device-meta {
    font-size: 11px;
  }
  .device-illustration .device-icon {
    width: 58px;
    height: 58px;
    border-radius: 17px;
  }
  .device-icon > .icon {
    width: 28px;
    height: 28px;
  }
  .device-rule {
    font-size: 10px;
  }
  .notice {
    padding: 13px 14px;
    font-size: 11px;
    gap: 9px;
    margin-bottom: 18px;
  }
  .notice > .icon {
    width: 16px;
    height: 16px;
  }
  .toolbar {
    width: 100%;
    gap: 9px;
    justify-content: space-between;
  }
  .segmented button {
    font-size: 11px;
    padding: 8px 12px;
    min-height: 36px;
  }
  .segmented button .icon {
    width: 13px;
    height: 13px;
  }
  .filter-label {
    padding: 0 9px;
    gap: 4px;
    min-width: 0;
  }
  .filter-label input {
    font-size: 11px;
    width: 116px;
    min-height: 43px;
    padding: 8px 0;
  }
  .filter-label > .icon {
    display: none;
  }
  .date-range {
    font-size: 9px;
  }
  table {
    font-size: 11px;
  }
  th {
    font-size: 10px;
    padding: 12px 7px;
  }
  td {
    padding: 14px 7px;
  }
  .person {
    gap: 6px;
  }
  .person .avatar {
    width: 27px;
    height: 27px;
    font-size: 10px;
  }
  .you-tag {
    font-size: 8px;
    padding: 1px 4px;
  }
  .rank-mark {
    min-width: 25px;
    padding: 0 5px;
    font-size: 11px;
    gap: 3px;
    height: 30px;
  }
  .rank-mark > .icon {
    width: 14px;
    height: 14px;
  }
  .ranking-table .badge {
    padding: 5px 7px;
    font-size: 9px;
  }
  .ranking-table .badge > .icon {
    display: none;
  }
  .ranking-table .duration-cell {
    font-size: 10px;
  }
  .table-date {
    gap: 6px;
  }
  .table-date > .icon {
    display: none;
  }
  button.small,
  .button.small {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 11px;
  }
  button.text-button {
    min-height: 42px;
    padding: 8px 2px;
    font-size: 11px;
  }
  .hint-line {
    font-size: 10px;
    margin-top: 16px;
  }
  .binding-steps {
    gap: 7px;
  }
  .binding-steps > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 13px 12px;
  }
  .binding-steps span {
    font-size: 10px;
    line-height: 1.7;
  }
  .binding-steps small {
    display: inline;
    margin-right: 5px;
    font-size: 8px;
  }
  .binding-steps > div > .icon {
    width: 20px;
    height: 20px;
  }
  .mac-display {
    padding: 13px;
  }
  .mac-display .mono {
    font-size: 14px;
    letter-spacing: 0.6px;
  }
  .steps li {
    font-size: 11px;
  }
  .faq summary {
    font-size: 12px;
  }
  .footer {
    font-size: 8px;
  }
  .footer > span:last-child {
    display: none;
  }
  .login-copy {
    padding: 0;
  }
  .login-highlights,
  .welcome-icon {
    display: none;
  }
  #toast {
    bottom: calc(83px + env(safe-area-inset-bottom));
    font-size: 11px;
  }
  .skeleton {
    padding-top: 26px;
  }
  .skeleton-head {
    margin: 18px 0 30px;
    width: 80%;
    height: 30px;
  }
  .skeleton-card {
    height: 135px;
    border-radius: 14px;
  }
}
@media (max-width: 370px) {
  .mobile-name {
    display: none;
  }
  .main {
    padding-left: 12px;
    padding-right: 12px;
  }
  .card {
    padding: 13px 9px;
  }
  .card-label {
    font-size: 9px;
  }
  .metric-icon {
    width: 23px;
    height: 23px;
  }
  .metric {
    font-size: 26px;
  }
  .toolbar {
    gap: 7px;
  }
  .segmented button {
    padding: 8px 10px;
  }
  .filter-label {
    padding: 0 7px;
  }
  .filter-label input {
    width: 110px;
  }
  .ranking-table .person .avatar {
    display: none;
  }
  .binding-steps > div {
    padding: 12px 9px;
  }
  .binding-steps span {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Navigator brand theme: ink from the team emblem, cobalt as the single accent */
:root {
  --ink: #14181d;
  --muted: #6b7380;
  --line: #dfe3e9;
  --accent: #2f56e0;
  --green: #a9bcff;
}
.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 1px;
}
.eyebrow {
  letter-spacing: 0;
  text-transform: none;
}
.orbits {
  border: 0;
  box-shadow: none;
  width: 640px;
  height: 640px;
  bottom: -180px;
  right: -200px;
  background: url(/logo-light.png) center / contain no-repeat;
  opacity: 0.06;
}
.login-copy h1 {
  font-size: 54px;
  line-height: 1.15;
  letter-spacing: -1px;
}
.login-form h2 {
  margin-top: 0;
}
.login-art footer {
  letter-spacing: 1.5px;
}
