* { box-sizing: border-box; }
html, body {
  margin: 0;
  width: 390px;
  height: 844px;
  overflow: hidden;
  background: #101418;
  color: #f4f7f9;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}
.app { height: 844px; display: flex; flex-direction: column; padding: 0 16px; }
.status {
  height: 54px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 8px 8px;
  font-size: 15px;
  font-weight: 600;
}
.status-icons { display: flex; gap: 6px; align-items: center; }
.title { font-size: 28px; font-weight: 700; letter-spacing: -0.4px; margin: 8px 0 0; }
.muted { color: #8c97a1; font-size: 13px; line-height: 18px; }
.sub { font-size: 18px; font-weight: 600; margin: 18px 0 8px; }
.card {
  background: #1a2129;
  border: 1px solid #28313a;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 10px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.grow { flex: 1; min-width: 0; }
.kicker { font-size: 13px; color: #8c97a1; }
.name { font-size: 15px; font-weight: 600; }
.pill {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.engaging { background: #332416; color: #f2790f; }
.relaxing { background: #162838; color: #4ea3e0; }
.neutral { background: #232c35; color: #c5ced6; }
.btn {
  display: block;
  text-align: center;
  background: #fff;
  color: #11151a;
  border-radius: 999px;
  padding: 13px 16px;
  font-weight: 600;
  font-size: 16px;
  margin: 8px 0 4px;
}
.tabs {
  margin-top: auto;
  height: 78px;
  margin-left: -16px;
  margin-right: -16px;
  background: #1a2129;
  border-top: 1px solid #28313a;
  display: flex;
  padding-top: 8px;
}
.tab {
  flex: 1;
  text-align: center;
  color: #8c97a1;
  font-size: 11px;
  font-weight: 600;
}
.tab.on { color: #f2790f; }
.tab svg { display: block; margin: 0 auto 3px; }
.icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #232c35;
  display: grid;
  place-items: center;
  flex: none;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex: none;
}
.bar-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1b4f72, #4ea3e0 38%, #8c97a1 50%, #f2790f 68%, #b34a00);
  position: relative;
  margin: 8px 0 2px;
}
.bar-mark {
  position: absolute;
  top: -4px;
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: #fff;
}
.ends { display: flex; justify-content: space-between; font-size: 11px; color: #8c97a1; }
.kpi { display: flex; gap: 18px; margin-bottom: 8px; }
.kpi b { display: block; font-size: 28px; letter-spacing: -0.5px; }
.seg {
  display: flex;
  background: #1a2129;
  border: 1px solid #28313a;
  border-radius: 999px;
  padding: 3px;
  margin: 12px 0;
}
.seg span {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #8c97a1;
  padding: 7px 0;
  border-radius: 999px;
}
.seg .on { background: #232c35; color: #f4f7f9; }
.chev { color: #8c97a1; font-size: 20px; }
.home-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}
.date { font-size: 15px; font-weight: 600; }
.circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a2129;
  border: 1px solid #28313a;
  display: grid;
  place-items: center;
}
.group { font-size: 13px; color: #8c97a1; margin: 12px 0 8px; font-weight: 600; }
