/* Pulse — design system tokens & shared component styles */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap');

:root {
  --pulse-bg: #f5f3ed;
  --pulse-surface: #ffffff;
  --pulse-surface-2: #faf9f5;
  --pulse-border: #e7e4da;
  --pulse-border-strong: #d5d1c4;
  --pulse-text: #14201a;
  --pulse-text-2: #6b7470;
  --pulse-text-3: #9aa19c;

  --pulse-green: #2f9e44;
  --pulse-green-soft: #d6ecdb;
  --pulse-green-tint: #eaf5ec;
  --pulse-orange: #e07a18;
  --pulse-orange-soft: #fbe7d0;
  --pulse-orange-tint: #fbf1e1;
  --pulse-red: #d24c3c;
  --pulse-blue: #3068d8;

  --pulse-shadow-sm: 0 1px 2px rgba(20, 32, 26, 0.04);
  --pulse-shadow-md: 0 2px 6px rgba(20, 32, 26, 0.05), 0 1px 2px rgba(20, 32, 26, 0.04);
  --pulse-shadow-lg: 0 14px 32px rgba(20, 32, 26, 0.10), 0 4px 10px rgba(20, 32, 26, 0.05);
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #e9e6dd;
  font-family: 'Geist', system-ui, sans-serif;
  overflow: hidden;
}

.pulse-app, .pulse-app * {
  box-sizing: border-box;
  font-family: 'Geist', -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.pulse-app {
  width: 100%;
  height: 100%;
  background: var(--pulse-bg);
  color: var(--pulse-text);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.pulse-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 16px 130px;
  scrollbar-width: none;
}
.pulse-scroll::-webkit-scrollbar { display: none; }

/* Top app header */
.pulse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 8px;
  gap: 12px;
}
.pulse-header__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pulse-header__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--pulse-text);
}
.pulse-header__right { display: flex; align-items: center; gap: 8px; }

.pulse-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--pulse-surface);
  border: 1px solid var(--pulse-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--pulse-text);
  padding: 0;
  position: relative;
}
.pulse-icon-btn:hover { background: var(--pulse-surface-2); }
.pulse-icon-btn .pulse-dot {
  position: absolute;
  top: 7px; right: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pulse-orange);
  border: 1.5px solid var(--pulse-surface);
}

.pulse-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f9e44 0%, #1f7a30 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* Sub header (page name) */
.pulse-subhead { padding: 4px 4px 12px; }
.pulse-subhead__crumb {
  font-size: 12px;
  color: var(--pulse-text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.pulse-subhead__title {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-top: 2px;
}
.pulse-subhead__sub {
  font-size: 14px;
  color: var(--pulse-text-2);
  margin-top: 4px;
  font-style: italic;
}

/* Cards */
.pulse-card {
  background: var(--pulse-surface);
  border: 1px solid var(--pulse-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--pulse-shadow-sm);
}
.pulse-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--pulse-text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pulse-card__body { margin-top: 12px; }

/* Pill / status chip */
.pulse-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.pulse-chip--green { background: var(--pulse-green-soft); color: #1d6b2a; }
.pulse-chip--orange { background: var(--pulse-orange-soft); color: #8a4806; }
.pulse-chip--neutral { background: #efece4; color: var(--pulse-text-2); }
.pulse-chip__dot {
  width: 6px; height: 6px; border-radius: 50%;
}

/* Search */
.pulse-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--pulse-surface);
  border: 1px solid var(--pulse-border);
  border-radius: 14px;
  padding: 0 12px;
  height: 44px;
}
.pulse-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  color: var(--pulse-text);
  font-size: 15px;
}
.pulse-search input::placeholder { color: var(--pulse-text-3); }

.pulse-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--pulse-text);
  cursor: pointer;
  white-space: nowrap;
}
.pulse-btn--primary {
  background: var(--pulse-green);
  color: #fff;
  border-color: var(--pulse-green);
}
.pulse-btn--ghost {
  background: transparent;
  border-color: transparent;
}

.pulse-section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--pulse-text-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 4px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Bottom navigation */
.pulse-bottomnav {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 86px;
  background: linear-gradient(to top, var(--pulse-bg) 70%, rgba(245,243,237,0));
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 22px 18px;
  z-index: 5;
}
.pulse-bottomnav__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: 0;
  color: var(--pulse-text-2);
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
}
.pulse-bottomnav__btn.is-active { color: var(--pulse-text); }
.pulse-bottomnav__fab-wrap {
  width: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pulse-bottomnav__fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #f6f4ec 100%);
  border: 1px solid var(--pulse-border-strong);
  box-shadow: 0 8px 18px rgba(20,32,26,0.10), 0 1px 2px rgba(20,32,26,0.06);
  display: flex; align-items: center; justify-content: center;
  margin-top: -22px;
  cursor: pointer;
}
.pulse-bottomnav__fab-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--pulse-text);
}

/* Donut / chart */
.pulse-donut {
  width: 130px;
  height: 130px;
  position: relative;
  margin: 0 auto;
}
.pulse-donut__center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.pulse-donut__center-num {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--pulse-text);
}
.pulse-donut__center-sub {
  font-size: 11px;
  color: var(--pulse-text-2);
  margin-top: -2px;
}

.pulse-statlist {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pulse-statlist__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.pulse-statlist__label {
  font-size: 13px;
  color: var(--pulse-text-2);
}
.pulse-statlist__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--pulse-text);
  font-variant-numeric: tabular-nums;
}

/* Biomarker list rows */
.pulse-bm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: var(--pulse-surface);
  border-bottom: 1px solid var(--pulse-border);
  cursor: pointer;
  position: relative;
}
.pulse-bm-row:last-child { border-bottom: 0; }
.pulse-bm-row__name {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--pulse-text);
  letter-spacing: -0.01em;
}
.pulse-bm-row__chev {
  color: var(--pulse-text-3);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pulse-list-card {
  background: var(--pulse-surface);
  border: 1px solid var(--pulse-border);
  border-radius: 18px;
  overflow: hidden;
}

/* Category accordion */
.pulse-cat {
  background: var(--pulse-surface);
  border-bottom: 1px solid var(--pulse-border);
}
.pulse-cat:last-child { border-bottom: 0; }
.pulse-cat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
  cursor: pointer;
}
.pulse-cat__name {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.pulse-cat__trend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.pulse-cat__trend--green { background: var(--pulse-green-soft); color: #1d6b2a; }
.pulse-cat__trend--orange { background: var(--pulse-orange-soft); color: #8a4806; }
.pulse-cat__chev {
  color: var(--pulse-text-3);
  transition: transform 0.2s;
}
.pulse-cat.is-open .pulse-cat__chev { transform: rotate(180deg); }
.pulse-cat__body {
  padding: 0 16px 16px;
  border-top: 1px solid var(--pulse-border);
  background: var(--pulse-surface-2);
}
.pulse-cat__body-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
}

.pulse-range-bars {
  display: flex; flex-direction: column; gap: 8px;
}
.pulse-range-bar {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
}
.pulse-range-bar__track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #eee9da;
}
.pulse-range-bar__fill {
  height: 100%;
  border-radius: 999px;
}
.pulse-range-bar__num {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  min-width: 18px;
}
.pulse-range-bar__lbl { color: var(--pulse-text-2); font-size: 12px; }

/* Modal / bottom sheet */
.pulse-modal-back {
  position: absolute; inset: 0;
  background: rgba(20,32,26,0.32);
  backdrop-filter: blur(2px);
  z-index: 20;
}
.pulse-sheet {
  position: absolute;
  left: 12px; right: 12px;
  background: var(--pulse-surface);
  border: 1px solid var(--pulse-border);
  border-radius: 22px;
  box-shadow: var(--pulse-shadow-lg);
  z-index: 25;
  overflow: hidden;
}

/* Detail page footer nav */
.pulse-detail-footer {
  position: absolute;
  left: 0; right: 0;
  bottom: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(to top, var(--pulse-bg), rgba(245,243,237,0.8));
  z-index: 4;
}
.pulse-detail-footer__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--pulse-surface);
  border: 1px solid var(--pulse-border);
  border-radius: 12px;
  height: 40px;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--pulse-text);
  cursor: pointer;
  min-width: 0;
}
.pulse-detail-footer__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pulse-detail-footer__btn--mid {
  width: 44px;
  justify-content: center;
}

/* Misc */
.pulse-divider {
  height: 1px;
  background: var(--pulse-border);
  margin: 12px 0;
}

.pulse-link {
  font-size: 13px;
  color: var(--pulse-text);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* ── Afspraak module ─────────────────────────────────────── */
.pulse-appt-card {
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
}
.pulse-appt-card--hero {
  background: linear-gradient(160deg, #1d3a26 0%, #14201a 100%);
  color: #fff;
  border-color: transparent;
}
.pulse-appt-card--hero .pulse-appt-card__sub { color: rgba(255,255,255,0.72); }
.pulse-appt-card--hero .pulse-appt-card__meta { color: rgba(255,255,255,0.85); }
.pulse-appt-card__badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; align-self: flex-start;
}
.pulse-appt-card__title { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.pulse-appt-card__sub { font-size: 13px; color: var(--pulse-text-2); line-height: 1.4; }
.pulse-appt-card__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--pulse-text-2); flex-wrap: wrap; }
.pulse-appt-card__countdown {
  font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  background: rgba(255,255,255,0.14); color: #fff; align-self: flex-start;
}
.pulse-appt-card--hero .pulse-appt-card__countdown { background: rgba(255,255,255,0.16); }
.pulse-appt-card__actions { display: flex; gap: 8px; margin-top: 2px; }

/* Timeline */
.pulse-timeline { display: flex; flex-direction: column; gap: 0; }
.pulse-timeline__row { display: flex; gap: 12px; }
.pulse-timeline__rail { display: flex; flex-direction: column; align-items: center; width: 22px; flex-shrink: 0; }
.pulse-timeline__dot {
  width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #efece4; color: var(--pulse-text-3); flex-shrink: 0; border: 2px solid var(--pulse-bg);
}
.pulse-timeline__dot--done { background: var(--pulse-green); color: #fff; }
.pulse-timeline__dot--current { background: var(--pulse-surface); color: var(--pulse-green); border: 2px solid var(--pulse-green); box-shadow: 0 0 0 3px var(--pulse-green-tint); }
.pulse-timeline__line { width: 2px; flex: 1; background: #e4e1d4; min-height: 22px; }
.pulse-timeline__line--done { background: var(--pulse-green); }
.pulse-timeline__body { padding-bottom: 22px; flex: 1; min-width: 0; }
.pulse-timeline__row:last-child .pulse-timeline__body { padding-bottom: 2px; }
.pulse-timeline__label { font-size: 14px; font-weight: 600; color: var(--pulse-text); }
.pulse-timeline__row:not(.is-active):not(.is-done) .pulse-timeline__label { color: var(--pulse-text-3); font-weight: 500; }
.pulse-timeline__desc { font-size: 12.5px; color: var(--pulse-text-2); margin-top: 2px; line-height: 1.4; }

/* Fixed header banner */
.pulse-fixed-header {
  display: flex; align-items: center; gap: 10px;
  background: #fdf1d0; border-bottom: 1px solid #f0dca0;
  padding: 10px 16px; font-size: 13px; font-weight: 600; color: #6b4c0c;
  cursor: pointer;
}

/* iOS-style push notification banner */
.pulse-push-banner {
  background: rgba(250,249,246,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(20,32,26,0.16), 0 2px 6px rgba(20,32,26,0.08);
  display: flex; gap: 10px;
}
.pulse-push-banner__icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, #2f9e44, #1f7a30);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.pulse-push-banner__body { flex: 1; min-width: 0; }
.pulse-push-banner__top { display: flex; justify-content: space-between; gap: 8px; }
.pulse-push-banner__app { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--pulse-text-2); }
.pulse-push-banner__time { font-size: 11px; color: var(--pulse-text-3); flex-shrink: 0; }
.pulse-push-banner__title { font-size: 14px; font-weight: 600; color: var(--pulse-text); margin-top: 1px; }
.pulse-push-banner__text { font-size: 13px; color: var(--pulse-text); opacity: 0.85; margin-top: 1px; line-height: 1.35; }

/* Date/time picker */
.pulse-daypicker { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.pulse-daypicker::-webkit-scrollbar { display: none; }
.pulse-daypill {
  flex-shrink: 0; min-width: 56px; padding: 8px 6px; border-radius: 14px; text-align: center;
  border: 1px solid var(--pulse-border); background: var(--pulse-surface); cursor: pointer;
}
.pulse-daypill.is-selected { background: var(--pulse-text); border-color: var(--pulse-text); color: #fff; }
.pulse-daypill__dow { font-size: 11px; color: var(--pulse-text-2); text-transform: uppercase; }
.pulse-daypill.is-selected .pulse-daypill__dow { color: rgba(255,255,255,0.75); }
.pulse-daypill__num { font-size: 16px; font-weight: 600; margin-top: 2px; }
.pulse-slotgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pulse-slot {
  padding: 10px 4px; text-align: center; border-radius: 12px; border: 1px solid var(--pulse-border);
  background: var(--pulse-surface); font-size: 14px; font-weight: 500; cursor: pointer;
}
.pulse-slot.is-selected { background: var(--pulse-green); border-color: var(--pulse-green); color: #fff; }

/* Map placeholder */
.pulse-map-placeholder {
  height: 170px; border-radius: 16px; position: relative; overflow: hidden;
  background:
    linear-gradient(0deg, rgba(20,32,26,0.04), rgba(20,32,26,0.04)),
    repeating-linear-gradient(0deg, #eae7dc 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, #eae7dc 0 1px, transparent 1px 28px),
    #f2f0e7;
  border: 1px solid var(--pulse-border);
}
.pulse-map-pin {
  position: absolute; width: 26px; height: 26px; border-radius: 50% 50% 50% 0;
  background: var(--pulse-green); transform: translate(-50%, -100%) rotate(-45deg);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(20,32,26,0.25);
}
.pulse-map-pin span { transform: rotate(45deg); color: #fff; font-size: 11px; font-weight: 700; }

/* Location card (booking) */
.pulse-loc-card { padding: 14px; border-radius: 16px; border: 1px solid var(--pulse-border); background: var(--pulse-surface); display: flex; flex-direction: column; gap: 8px; }
.pulse-loc-card__top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.pulse-loc-card__name { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; }
.pulse-loc-card__dist { font-size: 12px; color: var(--pulse-text-2); white-space: nowrap; flex-shrink: 0; }
.pulse-loc-card__addr { font-size: 13px; color: var(--pulse-text-2); }
.pulse-loc-card__row { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--pulse-text-2); }
.pulse-loc-card__actions { display: flex; gap: 8px; margin-top: 4px; }

@keyframes pulse-sheet-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse-acc-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .pulse-sheet { animation: pulse-sheet-up 0.24s cubic-bezier(.2,.7,.3,1); }
  .pulse-modal-back { animation: pulse-fade-in 0.2s ease; }
  .pulse-cat__body { animation: pulse-acc-in 0.2s ease; }
}

/* Row press feedback */
.pulse-bm-row:active { background: var(--pulse-surface-2); }
.pulse-cat__head:active { background: var(--pulse-surface-2); }

/* In-range band on detail chart */
.pulse-chart-band { fill: var(--pulse-green-tint); }

/* ── Phone frame / app shell (page layout, replaces JSX inline styles) ── */
.pulse-viewport {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9e6dd;
  overflow: hidden;
  position: relative;
}
.pulse-phone-frame {
  width: 390px;
  height: 844px;
  border-radius: 48px;
  position: relative;
  background: #1a1a1a;
  box-shadow: 0 24px 60px rgba(20,32,26,0.12), 0 4px 14px rgba(20,32,26,0.08), 0 0 0 1px rgba(20,32,26,0.10);
  padding: 10px;
  box-sizing: border-box;
}
.pulse-phone-frame__inner {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: var(--pulse-bg);
  position: relative;
}
.pulse-phone-frame__notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 118px; height: 30px;
  border-radius: 18px;
  background: #0c0c0c;
  z-index: 60;
}
.pulse-phone-frame__home-indicator {
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  display: flex;
  justify-content: center;
  z-index: 70;
  pointer-events: none;
}
.pulse-phone-frame__home-indicator span {
  width: 124px; height: 4px;
  border-radius: 99px;
  background: rgba(20,32,26,0.20);
}
.pulse-phone-frame__content {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pulse-statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 46px;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px 0;
  box-sizing: border-box;
  font-family: 'Geist', -apple-system, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--pulse-text);
  letter-spacing: -0.005em;
}
.pulse-statusbar__icons { display: flex; gap: 6px; align-items: center; }

/* dev switcher panels */
.pulse-devpanel {
  position: fixed;
  z-index: 999;
  background: #1a1a1a;
  color: #fff;
  border-radius: 14px;
  padding: 10px;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 11px;
  width: 172px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.pulse-devpanel--device { left: 14px; top: 14px; }
.pulse-devpanel--appt { right: 14px; bottom: 14px; width: 168px; }
.pulse-devpanel__title {
  font-weight: 600;
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.pulse-devpanel__list { display: flex; flex-direction: column; gap: 3px; max-height: 260px; overflow-y: auto; }
.pulse-devpanel__btn {
  text-align: left;
  border: 0;
  border-radius: 8px;
  padding: 6px 8px;
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font: inherit;
}
.pulse-devpanel__btn.is-active { background: #2f9e44; font-weight: 600; }
