:root {
  --purple-50: #f6f3ff;
  --purple-100: #ece6ff;
  --purple-200: #dcd0ff;
  --purple-300: #bca6ff;
  --purple-400: #9b82ff;
  --purple-500: #7c5cfc;
  --purple-600: #6644f4;
  --purple-700: #5231db;
  --ink: #1a172b;
  --ink-soft: #4a4660;
  --muted: #7d7994;
  --card: #ffffff;
  --bg: #f4f1fc;
  --line: rgba(124, 92, 252, 0.12);
  --green: #2fb36d;
  --green-bg: #eafaf1;
  --pink: #e25b78;
  --pink-bg: #fdeef2;
  --blue: #5878f3;
  --blue-bg: #edf1ff;
  --orange: #ee8b2c;
  --orange-bg: #fff4e6;
  --shadow-sm: 0 4px 14px rgba(40, 24, 96, 0.05);
  --shadow-md: 0 12px 32px -8px rgba(56, 32, 140, 0.14);
  --shadow-lg: 0 24px 56px -16px rgba(45, 22, 120, 0.22);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(circle at 20% 0%, #e9e1ff 0%, #f4f1fc 50%, #ede8fb 100%);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

/* ---------- Barra Superior Desktop (Alternador de Telas) ---------- */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

.desk-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.desk-bar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--ink);
  flex: none;
}

.desk-bar__logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(102, 68, 244, 0.35);
}

.desk-bar__pills {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.desk-bar__pills::-webkit-scrollbar {
  display: none;
}

.desk-pill {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--purple-50);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.desk-pill:hover {
  background: var(--purple-100);
  color: var(--purple-700);
}

.desk-pill.is-active {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
  color: #fff;
  box-shadow: 0 6px 16px -4px rgba(102, 68, 244, 0.45);
}

/* ---------- Shell do App ---------- */
.app-stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 14px 40px;
}

.phone-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 840px;
  background: #faf8ff;
  border-radius: 40px;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.85),
    0 26px 70px -18px rgba(42, 22, 115, 0.28);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.screen {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 520px) {
  .app-stage {
    padding: 0;
  }
  .phone-shell {
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }
}

/* Barra de status estilo iOS */
.ios-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 26px 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  z-index: 5;
}

.ios-status__icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Telas internas */
.screen {
  display: none;
  flex: 1;
  flex-direction: column;
  padding-bottom: 92px;
  animation: fadeIn 0.24s ease;
}

.screen.is-active {
  display: flex;
}

.screen--no-nav {
  padding-bottom: 24px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   TELA 1: BOAS-VINDAS (ONBOARDING - "Happy Pets, Better Lives")
   ========================================================= */
.onboard {
  position: relative;
  background: linear-gradient(180deg, #eae3ff 0%, #f3efff 55%, #ffffff 100%);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.onboard__top {
  position: relative;
  padding: 20px 26px 0;
  overflow: hidden;
}

.paw-wm {
  position: absolute;
  color: rgba(124, 92, 252, 0.11);
  pointer-events: none;
}

.onboard__title {
  font-size: 35px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.onboard__title span {
  display: block;
  color: var(--purple-600);
}

.onboard__sub {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 290px;
  font-weight: 500;
}

.onboard__art {
  margin: 12px -10px -8px;
  display: flex;
  justify-content: center;
}

.onboard__art img {
  width: 92%;
  max-width: 360px;
  border-radius: 24px;
  object-fit: cover;
  filter: drop-shadow(0 16px 28px rgba(95, 62, 219, 0.18));
}

.onboard__sheet {
  background: #ffffff;
  border-radius: 32px 32px 0 0;
  padding: 26px 22px 26px;
  box-shadow: 0 -10px 35px rgba(82, 49, 219, 0.08);
  z-index: 2;
}

.onboard__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
  margin-bottom: 22px;
}

.pillar__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--purple-100);
  color: var(--purple-600);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  box-shadow: inset 0 0 0 1px rgba(124, 92, 252, 0.16);
}

.pillar h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.pillar p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 3px;
}

.btn-primary {
  width: 100%;
  padding: 16px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c5cfc 0%, #623cea 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 12px 24px -8px rgba(98, 60, 234, 0.6);
  transition: transform 0.16s ease, filter 0.16s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-secondary {
  width: 100%;
  margin-top: 10px;
  padding: 15px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  font-size: 14.5px;
  border: 1.5px solid var(--purple-200);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.16s ease;
}

.btn-secondary:hover {
  background: var(--purple-50);
}

/* =========================================================
   TELA 2: HOME DASHBOARD ("Good Evening, Adomin!")
   ========================================================= */
.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 22px 6px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(124, 92, 252, 0.08);
  position: relative;
}

.icon-btn__dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5c7c;
  border: 1.5px solid #fff;
}

.home-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tutor-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-400), var(--purple-600));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid #fff;
}

.tutor-avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2ecc71;
  border: 2px solid #fff;
}

.greeting-wrap {
  position: relative;
  padding: 10px 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.greeting__text {
  padding-bottom: 14px;
  max-width: 62%;
}

.greeting__sub {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}

.greeting__name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 2px 0 6px;
}

.greeting__tagline {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
  font-weight: 500;
}

.greeting__dog {
  width: 132px;
  margin-bottom: -14px;
  margin-right: 4px;
  z-index: 2;
  pointer-events: none;
}

.greeting__dog img {
  width: 100%;
  border-radius: 16px;
}

/* Card Lilás do Pet Ativo */
.pet-banner {
  margin: 0 20px;
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #9d84ff 0%, #8668f9 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 14px 28px -10px rgba(124, 92, 252, 0.55);
  cursor: pointer;
  position: relative;
  z-index: 3;
  transition: transform 0.18s ease;
}

.pet-banner:hover {
  transform: translateY(-2px);
}

.pet-banner__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.85);
  overflow: hidden;
  flex: none;
  background: #ece6ff;
}

.pet-banner__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pet-banner__info {
  flex: 1;
  min-width: 0;
}

.pet-banner__name {
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pet-banner__meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 2px;
  font-weight: 500;
}

.pet-banner__arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}

/* 5 Botões Rápidos Coloridos */
.quick-card {
  margin: 14px 20px 0;
  padding: 16px 12px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  text-align: center;
}

.q-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.q-action__ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.18s ease;
}

.q-action:hover .q-action__ic {
  transform: scale(1.08);
}

.q-action__ic--purple { background: #efeaff; color: #7c5cfc; }
.q-action__ic--pink   { background: #fdeef2; color: #e25b78; }
.q-action__ic--blue   { background: #edf1ff; color: #5878f3; }
.q-action__ic--orange { background: #fff4e6; color: #ee8b2c; }
.q-action__ic--green  { background: #eafaf1; color: #2fb36d; }

.q-action span {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.2;
}

/* Resumo de Hoje (Today's Overview) */
.sec-title {
  padding: 18px 22px 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sec-title small {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-600);
  cursor: pointer;
}

.overview-grid {
  margin: 0 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 10px;
}

.score-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 16px 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
}

.score-card h4 {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
}

.gauge-wrap {
  position: relative;
  width: 116px;
  height: 96px;
  margin: 8px 0 4px;
  display: grid;
  place-items: center;
}

.gauge-wrap svg {
  width: 116px;
  height: 96px;
  overflow: visible;
}

.gauge-center {
  position: absolute;
  inset: 14px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.gauge-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-top: 2px;
}

.btn-mini {
  width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--purple-100);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 800;
  transition: background 0.16s ease;
}

.btn-mini:hover {
  background: var(--purple-200);
}

.overview-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-card {
  border-radius: 20px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  transition: transform 0.16s ease;
}

.mini-card:hover {
  transform: translateY(-2px);
}

.mini-card--lavender {
  background: #eee8ff;
}

.mini-card--cream {
  background: #fdf3e4;
}

.mini-card__ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ffffff;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.mini-card__body {
  min-width: 0;
}

.mini-card__tag {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

.mini-card__title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-card__sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

/* Banner Inferior Home (Corgi) */
.promo-banner {
  margin: 14px 20px 0;
  padding: 16px 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #e8e0ff 0%, #dcd0ff 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.promo-banner__copy {
  max-width: 62%;
  z-index: 1;
}

.promo-banner__copy h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}

.promo-banner__copy p {
  font-size: 11.5px;
  color: var(--ink-soft);
  margin: 4px 0 10px;
  line-height: 1.35;
}

.promo-banner__btn {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--purple-600);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(102, 68, 244, 0.35);
}

.promo-banner__art {
  width: 118px;
  flex: none;
  margin-right: -6px;
  margin-bottom: -8px;
}

.promo-banner__art img {
  width: 100%;
  border-radius: 14px;
}

/* =========================================================
   TELA 3: CATÁLOGO DOS 137 PROTOCOLOS DE CUIDADOS
   ========================================================= */
.page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 12px;
}

.page-top h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.search-box {
  margin: 0 20px 12px;
  background: #ffffff;
  border-radius: 16px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.search-box input {
  width: 100%;
  font-size: 13.5px;
  outline: none;
}

.filter-Scroll {
  display: flex;
  gap: 8px;
  padding: 0 20px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-Scroll::-webkit-scrollbar {
  display: none;
}

.chip-filter {
  padding: 7px 13px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid var(--line);
}

.chip-filter.is-active {
  background: var(--purple-600);
  color: #ffffff;
  border-color: var(--purple-600);
}

.mod-grid {
  padding: 4px 20px 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mod-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
}

.mod-card.is-active {
  border-color: var(--purple-600);
  background: var(--purple-50);
}

.mod-card img {
  width: 100%;
  height: 78px;
  object-fit: cover;
}

.mod-card__body {
  padding: 9px 11px 11px;
}

.mod-card__num {
  font-size: 10px;
  font-weight: 800;
  color: var(--purple-600);
  text-transform: uppercase;
}

.mod-card__title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-top: 2px;
}

.proto-list {
  padding: 6px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.proto-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: 1px solid rgba(124, 92, 252, 0.08);
  transition: transform 0.16s ease;
}

.proto-item:hover {
  transform: translateY(-2px);
}

.proto-item__badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--purple-100);
  color: var(--purple-700);
  font-weight: 800;
  font-size: 12px;
  display: grid;
  place-items: center;
  flex: none;
}

.proto-item.is-done .proto-item__badge {
  background: var(--green-bg);
  color: var(--green);
}

.proto-item__body {
  flex: 1;
  min-width: 0;
}

.proto-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 4px;
}

.tag-mini {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--purple-50);
  color: var(--purple-700);
}

.tag-mini--stage {
  background: #eef6ff;
  color: #2b6cb0;
}

.proto-item__title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.proto-item__meta {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
}

/* =========================================================
   TELA 4: ROTINA & DIÁRIO DA VITALIDADE
   ========================================================= */
.routine-box {
  margin: 0 20px 14px;
  background: #ffffff;
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.routine-box h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.routine-box p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 14px;
  background: #faf8ff;
  margin-bottom: 8px;
  cursor: pointer;
  border: 1px solid var(--line);
}

.check-row.is-checked {
  background: var(--green-bg);
  border-color: rgba(47, 179, 109, 0.3);
}

.check-box {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid var(--purple-400);
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
}

.check-row.is-checked .check-box {
  background: var(--green);
  border-color: var(--green);
}

.check-row span {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

/* =========================================================
   TELA 5: BÔNUS EXCLUSIVOS (5 BÔNUS + APOSTILA PDF)
   ========================================================= */
.bonus-list {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bonus-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 1px solid var(--line);
}

.bonus-card img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  flex: none;
}

.bonus-card__tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--purple-100);
  color: var(--purple-700);
  font-size: 10.5px;
  font-weight: 800;
}

.bonus-card h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin: 4px 0 2px;
}

.bonus-card p {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.35;
}

/* =========================================================
   TELA 6: PERFIL DO PET (3ª TELA DO DESIGN ENVIADO!)
   ========================================================= */
.prof-hero {
  margin: 4px 20px 0;
  padding: 18px 16px 26px;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(135deg, #e7deff 0%, #dcd0ff 100%);
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.prof-avatar-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  flex: none;
}

.prof-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 3.5px solid #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(82, 49, 219, 0.22);
  background: #f3efff;
}

.prof-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prof-cam {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

.prof-info {
  flex: 1;
  min-width: 0;
}

.prof-name {
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
}

.prof-breed-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 5px 0 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e6f9ed;
  color: #1f9d57;
  font-size: 11px;
  font-weight: 800;
}

.prof-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 4px;
}

.prof-sheet {
  margin: -14px 20px 0;
  background: #ffffff;
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}

.prof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.p-stat {
  border-radius: 18px;
  padding: 12px 8px;
  text-align: center;
}

.p-stat--green { background: #eefaf3; }
.p-stat--pink  { background: #fdf0f3; }
.p-stat--cream { background: #fff6ea; }

.p-stat__ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.p-stat strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.p-stat span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
}

.prof-tabs {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin: 16px 0 10px;
}

.prof-tab {
  padding: 8px 6px 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 2.5px solid transparent;
}

.prof-tab.is-active {
  color: var(--purple-600);
  border-bottom-color: var(--purple-600);
}

.prof-rows {
  display: flex;
  flex-direction: column;
}

.prof-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(124, 92, 252, 0.07);
  font-size: 13px;
}

.prof-row:last-child {
  border-bottom: 0;
}

.prof-row__left {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-weight: 600;
}

.prof-row__right {
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.prof-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.btn-share {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--purple-100);
  color: var(--purple-700);
  display: grid;
  place-items: center;
  flex: none;
}

/* =========================================================
   BARRA DE NAVEGAÇÃO INFERIOR (5 ABAS)
   ========================================================= */
.bottom-nav {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid rgba(124, 92, 252, 0.1);
  padding: 10px 12px 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 20;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 24px rgba(45, 22, 120, 0.06);
}

.b-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
}

.b-nav-item svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.1;
}

.b-nav-item.is-active {
  color: var(--purple-600);
}

/* =========================================================
   MODAL DE DETALHES (PROTOCOLO / BÔNUS / EDITAR PERFIL)
   ========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 14, 42, 0.64);
  backdrop-filter: blur(5px);
  display: none;
  place-items: center;
  padding: 16px;
}

.modal-backdrop.is-open {
  display: grid;
}

.modal-card {
  width: min(460px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--purple-50);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}

.step-li {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: #faf8ff;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink);
}

.step-li__n {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple-600);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 5px;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1.5px solid var(--purple-200);
  background: #faf8ff;
  font-size: 14px;
  font-weight: 600;
}
/* ---------- Temas / Paletas Unificadas (App & Site) ---------- */
body[data-theme="emerald"] {
  --purple-50: #f6f2e8;
  --purple-100: #e8e0cc;
  --purple-200: #d5af64;
  --purple-300: #8ab8a1;
  --purple-400: #3d7a5d;
  --purple-500: #2b5c45;
  --purple-600: #244c39;
  --purple-700: #183627;
  --ink: #1d2922;
  --ink-soft: #3f5248;
  --muted: #5d6a62;
  --bg: #f5f0e5;
  --line: rgba(36, 76, 57, 0.12);
  background: radial-gradient(circle at 20% 0%, #ebe3d1 0%, #f5f0e5 55%, #ece4d2 100%);
}
body[data-theme="emerald"] .phone-shell {
  background: #fbf7ee;
}
body[data-theme="emerald"] .onboard {
  background: linear-gradient(180deg, #e7efe9 0%, #f5f0e5 55%, #fffdf8 100%);
}
body[data-theme="emerald"] .onboard__sheet,
body[data-theme="emerald"] .quick-card,
body[data-theme="emerald"] .score-card,
body[data-theme="emerald"] .prof-sheet,
body[data-theme="emerald"] .proto-item,
body[data-theme="emerald"] .recipe-card,
body[data-theme="emerald"] .routine-box,
body[data-theme="emerald"] .bonus-card,
body[data-theme="emerald"] .bottom-nav {
  background: #fffdf8;
}
body[data-theme="emerald"] .pillar__icon,
body[data-theme="emerald"] .q-action__ic--purple {
  background: #f3e7cc;
  color: #244c39;
}
body[data-theme="emerald"] .pet-banner {
  background: linear-gradient(135deg, #2a5643 0%, #183627 100%);
  box-shadow: 0 14px 28px -10px rgba(36, 76, 57, 0.55);
  border: 1px solid rgba(213, 175, 100, 0.45);
}
body[data-theme="emerald"] .btn-primary {
  background: linear-gradient(180deg, #2f6149 0%, #244c39 100%);
  box-shadow: 0 12px 24px -8px rgba(36, 76, 57, 0.6);
}
body[data-theme="emerald"] .prof-hero,
body[data-theme="emerald"] .promo-banner {
  background: linear-gradient(135deg, #e5efe9 0%, #f3e7cc 100%);
}
body[data-theme="emerald"] .promo-banner__btn {
  background: #244c39;
  color: #f5f0e5;
}
body[data-theme="emerald"] .mini-card--lavender {
  background: #e6f0ea;
}
body[data-theme="emerald"] .btn-mini {
  background: #f3e7cc;
  color: #1c3d2e;
}

body[data-theme="teal"] {
  --purple-50: #eef6f8;
  --purple-100: #d8ecf0;
  --purple-200: #b3dbe3;
  --purple-300: #7ebdcc;
  --purple-400: #2c7b8c;
  --purple-500: #1e6474;
  --purple-600: #16515e;
  --purple-700: #0f3c46;
  --ink: #13282e;
  --ink-soft: #3b555d;
  --muted: #668088;
  background: radial-gradient(circle at 20% 0%, #d8ecf0 0%, #f2f7f9 60%, #e5eff2 100%);
}
body[data-theme="teal"] .pet-banner,
body[data-theme="teal"] .btn-primary {
  background: linear-gradient(135deg, #247284 0%, #154e5b 100%);
}
body[data-theme="teal"] .prof-hero,
body[data-theme="teal"] .promo-banner {
  background: linear-gradient(135deg, #d8ecf0 0%, #c4e2e8 100%);
}

/* ---------- Calculadora de Porções & Receitas ---------- */
.calc-card {
  margin: 0 20px 12px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.calc-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.calc-card__top h3 {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
}

.weight-pills {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.w-pill {
  padding: 7px 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 10.5px;
  font-weight: 800;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.w-pill.is-active {
  background: #ffffff;
  color: var(--purple-700);
}

.calc-result {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
}

.calc-result strong {
  color: #ffe08a;
  font-weight: 800;
}

.recipe-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.16s ease;
}

.recipe-card:hover {
  transform: translateY(-2px);
}

.recipe-card img {
  width: 74px;
  height: 74px;
  border-radius: 14px;
  object-fit: cover;
  flex: none;
}

.recipe-card__body {
  flex: 1;
  min-width: 0;
}

.recipe-card__title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-top: 4px;
}

.recipe-card__meta {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 600;
}

.bottom-nav--6 {
  grid-template-columns: repeat(6, 1fr);
  padding: 10px 6px 15px;
}


/* =========================================================
   VERSÃO FINAL (DEM-110): componentes, estados e impressão
   ========================================================= */
body[data-theme="emerald"] .check-row { background: #fbf8f1; }
body[data-theme="emerald"] .check-row.is-checked { background: #e6f0ea; border-color: rgba(36, 76, 57, 0.28); }
body[data-theme="emerald"] .check-row.is-checked .check-box { background: #244c39; border-color: #244c39; }
body[data-theme="emerald"] .check-box { border-color: #8ab8a1; }
body[data-theme="emerald"] .step-li { background: #f8f4ea; }
body[data-theme="emerald"] .tag-mini--stage { background: #f3e7cc; color: #7a5a1c; }
body[data-theme="emerald"] .modal-backdrop { background: rgba(16, 32, 24, 0.6); }
body[data-theme="emerald"] .calc-result strong { color: #f0d08f; }

.phone-shell { padding-top: env(safe-area-inset-top); }
.screen:not(#screen-onboard) { padding-top: 10px; }
.bottom-nav { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
body.modal-open { overflow: hidden; }
a.btn-primary, a.btn-secondary { text-decoration: none; }
.btn-primary { cursor: pointer; margin-top: 4px; }
.btn-primary--done { background: linear-gradient(180deg, #d5af64 0%, #b8913f 100%) !important; color: #1d2922; }
.btn-primary--sm { padding: 11px 16px; font-size: 13.5px; margin-top: 10px; }
.btn-secondary--sm { padding: 11px 16px; font-size: 13.5px; margin: 4px 0 12px; }
.btn-danger-link { display: block; width: 100%; margin-top: 14px; color: #b23a48; font-size: 13px; font-weight: 700; text-decoration: underline; }
.btn-mini { cursor: pointer; }
.muted-txt { color: var(--muted); font-weight: 600; font-style: normal; }

/* Modal: tipografia e caixas */
.modal-card { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
.modal-title { font-size: 18px; font-weight: 800; margin-top: 6px; line-height: 1.25; color: var(--ink); }
.modal-text { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 12px; }
.modal-text.center { text-align: center; margin: 4px 0 8px; }
.modal-sub { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.modal-foot { font-size: 11.5px; color: var(--muted); line-height: 1.45; margin: 10px 0 12px; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tag-row .tag-mini { font-size: 11px; padding: 4px 8px; }
.info-box { background: var(--purple-50); padding: 12px 13px; border-radius: 14px; font-size: 13px; line-height: 1.5; margin-bottom: 12px; color: var(--ink); }
.tip-box { background: #e6f0ea; color: #1c3d2e; padding: 12px 13px; border-radius: 14px; font-size: 12.5px; font-weight: 600; line-height: 1.45; margin-bottom: 12px; }
.vet-box { background: #fff4e0; border: 1px solid #f0d49a; color: #6b4a0f; padding: 11px 13px; border-radius: 14px; font-size: 12.5px; line-height: 1.5; margin: 12px 0; }
.vet-box--sm { font-size: 12px; margin-top: 0; }
.ing-list { margin-top: 6px; padding-left: 18px; list-style: disc; }
.ing-list li { margin-bottom: 3px; }
.empty-box { text-align: center; padding: 18px 14px; border-radius: 16px; background: #fbf8f1; border: 1px dashed rgba(36, 76, 57, 0.22); font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 6px 0; }
.empty-box .btn-mini { margin-top: 10px; }
.tab-note { font-size: 11.5px; font-weight: 700; color: var(--muted); margin: 10px 0 4px; text-transform: uppercase; letter-spacing: 0.03em; }
.step-li__n--off { background: #d9d2bf !important; color: #5d6a62 !important; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-group input, .form-group select { min-height: 46px; color: var(--ink); }
input[type="date"] { -webkit-appearance: none; appearance: none; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: #1d2922; color: #f5f0e5; padding: 11px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 200; max-width: min(92vw, 400px); text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* Troca de cães no perfil */
.pet-switcher { display: flex; gap: 8px; overflow-x: auto; padding: 2px 20px 10px; scrollbar-width: none; }
.pet-switcher::-webkit-scrollbar { display: none; }
.pet-chip { display: flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; border-radius: 999px; background: #fffdf8; border: 1.5px solid var(--line); font-size: 12.5px; font-weight: 800; white-space: nowrap; cursor: pointer; flex: none; min-height: 40px; }
.pet-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.pet-chip.is-active { border-color: #244c39; background: #e6f0ea; color: #183627; }
.pet-chip--add { padding: 5px 14px; color: #244c39; border-style: dashed; }
.prof-avatar img { object-fit: cover; width: 100%; height: 100%; }
.pet-banner__avatar img { object-fit: cover; width: 100%; height: 100%; border-radius: inherit; }
.prof-row[role="button"] { cursor: pointer; }
.prof-row__right { text-align: right; max-width: 58%; overflow-wrap: anywhere; }

/* Evolução */
.evo-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 120px; padding: 8px 4px 0; margin-bottom: 6px; }
.evo-bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.evo-bar__fill { width: 100%; max-width: 26px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #d5af64, #244c39); }
.evo-bar span { font-size: 10.5px; font-weight: 700; color: var(--muted); }

/* Módulo selecionado */
.mod-info { margin: 4px 20px 6px; padding: 13px 14px; border-radius: 16px; background: #fffdf8; border: 1px solid rgba(213, 175, 100, 0.5); font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
.mod-info strong { display: block; color: #183627; font-size: 13.5px; margin-bottom: 4px; }
.mod-info__vet { margin-top: 8px; color: #6b4a0f; font-weight: 600; }
.sec-title small[hidden] { display: none; }
.proto-item, .recipe-card { cursor: pointer; }

/* Rotina */
.box-count { font-size: 11px; font-weight: 800; color: #7a5a1c; background: #f3e7cc; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.check-row { min-height: 48px; user-select: none; -webkit-tap-highlight-color: transparent; }
.diary-item { background: #fbf8f1; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--ink); }
.diary-item span { color: var(--ink-soft); }
.diary-item__note { margin-top: 4px; color: #244c39; font-weight: 600; }

/* Calculadora */
.calc-card__pet { font-size: 11px; opacity: 0.9; text-align: right; }
.calc-weight { display: flex; align-items: center; justify-content: center; gap: 12px; }
.calc-step { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 22px; font-weight: 800; cursor: pointer; }
.calc-weight__val { display: flex; align-items: baseline; gap: 4px; background: #fff; border-radius: 14px; padding: 6px 12px; color: #183627; }
.calc-weight__val input { width: 64px; text-align: center; font-size: 22px; font-weight: 800; color: #183627; -moz-appearance: textfield; }
.calc-weight__val input::-webkit-outer-spin-button, .calc-weight__val input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-weight__val span { font-weight: 800; font-size: 14px; }
.calc-result { gap: 8px; flex-wrap: wrap; }
.calc-more { display: block; margin: 8px auto 0; font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,0.85); text-decoration: underline; cursor: pointer; }

/* Lembretes */
.rem-row { display: grid; grid-template-columns: 92px 1fr 46px 34px; gap: 6px; align-items: center; margin-bottom: 8px; }
.rem-row input { padding: 10px 8px; border-radius: 12px; border: 1.5px solid var(--purple-100); background: #fbf8f1; font-size: 13.5px; font-weight: 700; min-height: 44px; width: 100%; min-width: 0; }
.rem-toggle { height: 34px; border-radius: 999px; background: #e3ddd0; color: #5d6a62; font-size: 11px; font-weight: 800; cursor: pointer; }
.rem-toggle.is-on { background: #244c39; color: #f5f0e5; }
.rem-del { width: 34px; height: 34px; border-radius: 50%; background: #f7e6e6; color: #b23a48; font-weight: 800; cursor: pointer; }

/* Guia de alimentos */
.search-box--modal { margin: 0 0 10px !important; }
.filter-Scroll--modal { padding: 0 0 10px !important; margin: 0 !important; }
.food-list { display: flex; flex-direction: column; gap: 8px; }
.food { padding: 12px; border-radius: 14px; border: 1px solid; }
.food p { font-size: 12.5px; margin-top: 4px; color: #2b2738; line-height: 1.45; }
.food__name { font-weight: 800; font-size: 14px; }
.food__name span { font-size: 11px; letter-spacing: 0.04em; }
.food__sub { font-weight: 700; color: #244c39 !important; }
.food--bad { background: #fff1f3; border-color: #f5c2c7; }
.food--bad .food__name { color: #b0263b; }
.food--mid { background: #fff7e6; border-color: #f0d49a; }
.food--mid .food__name { color: #8a5a00; }
.food--ok { background: #eaf5ee; border-color: #badbcc; }
.food--ok .food__name { color: #1b6b3f; }

/* Menu e opções */
.menu-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.menu-item { text-align: left; padding: 14px; border-radius: 14px; background: #fbf8f1; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; border: 1px solid var(--line); }
.menu-item--danger { color: #b23a48; background: #fff6f6; }
.opt-row { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #fbf8f1; margin-bottom: 8px; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.opt-row input { width: 20px; height: 20px; accent-color: #244c39; flex: none; }

/* Computador: app centralizado como celular */
@media (min-width: 521px) {
  .app-stage { padding: 28px 14px 40px; }
  .phone-shell { min-height: calc(100vh - 68px); }
  .bottom-nav { position: sticky; }
}

/* Impressão / PDF */
#print-root { display: none; }
@media print {
  @page { margin: 14mm; }
  body { background: #fff !important; }
  body > *:not(#print-root) { display: none !important; }
  #print-root { display: block !important; font-family: Georgia, 'Times New Roman', serif; color: #111; font-size: 11.5pt; line-height: 1.45; }
  .pr-cover { text-align: center; padding: 40mm 0 20mm; page-break-after: always; }
  .pr-cover h1 { font-size: 26pt; color: #244c39; margin-bottom: 8px; }
  .pr-sec { page-break-before: always; }
  .pr-sec h2 { font-size: 17pt; color: #244c39; border-bottom: 2px solid #d5af64; padding-bottom: 4px; margin-bottom: 8px; }
  .pr-sec h3 { font-size: 12.5pt; margin: 12px 0 4px; color: #183627; }
  .pr-item { page-break-inside: avoid; margin-bottom: 10px; }
  .pr-item ol, .pr-sec ul { padding-left: 20px; margin: 4px 0; }
  .pr-item li, .pr-sec li { margin-bottom: 3px; }
  .pr-small { font-size: 9.5pt; color: #555; }
  .pr-tip { font-size: 10pt; color: #244c39; font-style: italic; }
  .pr-vet { font-size: 10pt; color: #7a4a00; }
  .pr-table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 10pt; }
  .pr-table th, .pr-table td { border: 1px solid #999; padding: 6px; height: 26px; text-align: left; }
  .pr-table td:not(:first-child), .pr-table th:not(:first-child) { width: 8%; text-align: center; }
}

/* Semana e mês recolhidos: abrem ao tocar */
.routine-fold summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.routine-fold summary::-webkit-details-marker { display: none; }
.routine-fold summary h3 { margin: 0; }
.routine-fold .fold-ic { font-size: 18px; font-weight: 800; color: #244c39; transition: transform 0.2s ease; }
.routine-fold[open] .fold-ic { transform: rotate(180deg); }
.routine-fold[open] summary { margin-bottom: 6px; }
body[data-theme="emerald"] .form-group input, body[data-theme="emerald"] .form-group select { background: #fffdf8; border-color: #e3d3ad; }
.prof-row__right { min-width: 3.6em; }
.rem-row { grid-template-columns: 1fr 52px 34px; grid-template-areas: "label label label" "time toggle del"; padding: 10px; border-radius: 16px; background: #fbf8f1; border: 1px solid var(--line); row-gap: 8px; }
.rem-row .rem-label { grid-area: label; background: #fffdf8; }
.rem-row .rem-time { grid-area: time; max-width: 130px; background: #fffdf8; }
.rem-row .rem-toggle { grid-area: toggle; }
.rem-row .rem-del { grid-area: del; }
