/* ==========================================================
   Pauta — visual mobile-first (iPhone 16/17 Pro Max, 440pt)
   ========================================================== */
:root {
  --bg: #F4F4F6;
  --surface: #FFFFFF;
  --surface-2: #F0F0F3;
  --surface-3: #E6E6EB;
  --text: #121216;
  --text-2: #55555F;
  --text-3: #8B8B96;
  --line: rgba(17, 17, 22, 0.08);
  --line-2: rgba(17, 17, 22, 0.14);
  --ink: #16161C;
  --ink-on: #FFFFFF;
  --today: #E5341F;
  --ok: #138A4B;
  --ok-soft: #E3F5EA;
  --warn: #C2410C;
  --warn-soft: #FFF1E6;
  --danger: #D92D20;
  --danger-soft: #FDECEA;
  --note: #FFF6C9;
  --note-line: #F0DD8A;
  --note-text: #4A3F07;
  --tip-soft: #EEF2FF;
  --tip: #4338CA;
  --prep-soft: #F3E8FF;
  --prep: #7E22CE;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.16);
  --blur-bg: rgba(244, 244, 246, 0.82);
  --tabbar-bg: rgba(255, 255, 255, 0.86);
  --radius: 16px;
  --radius-sm: 12px;
  --gutter: 16px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --tabbar-h: 64px;

  --t-feed: #2563EB;
  --t-carrossel: #0E7490;
  --t-reels: #9333EA;
  --t-story: #DB2777;
  --t-captacao: #EA580C;
  --t-reuniao: #047857;
  --t-producao: #475569;
  --t-outro: #71717A;

  /* apelidos usados por componentes (seguem o tema claro/escuro automaticamente) */
  --card: var(--surface);
  --card2: var(--surface-2);
  --muted: var(--text-3);
  --fill: var(--surface-2);
  --accent: #0A84FF;
  /* chat (suporte): balões no padrão do iMessage/WhatsApp, sempre legíveis */
  --chat-bg: #F2F2F7;
  --chat-in: #FFFFFF;
  --chat-in-text: #111114;
  --chat-out: #0A66D8;
  --chat-out-text: #FFFFFF;
  --chat-auto: #E7F8EC;
  --chat-auto-text: #0B3D1E;

  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --surface: #16161A;
    --surface-2: #222228;
    --surface-3: #2E2E35;
    --text: #F4F4F6;
    --text-2: #B4B4BE;
    --text-3: #7D7D88;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.16);
    --ink: #F4F4F6;
    --ink-on: #111114;
    --today: #FF5B47;
    --ok: #4ADE80;
    --ok-soft: rgba(74, 222, 128, 0.12);
    --warn: #FB923C;
    --warn-soft: rgba(251, 146, 60, 0.13);
    --danger: #F87171;
    --danger-soft: rgba(248, 113, 113, 0.13);
    --note: #2E2914;
    --note-line: #4D4520;
    --note-text: #F5E9B0;
    --tip-soft: rgba(129, 140, 248, 0.14);
    --tip: #A5B4FC;
    --prep-soft: rgba(192, 132, 252, 0.14);
    --prep: #D8B4FE;
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
    --blur-bg: rgba(0, 0, 0, 0.78);
    --tabbar-bg: rgba(22, 22, 26, 0.86);

    --chat-bg: #000000;
    --chat-in: #26252A;
    --chat-in-text: #F4F4F6;
    --chat-out: #0A66D8;
    --chat-out-text: #FFFFFF;
    --chat-auto: #12301D;
    --chat-auto-text: #C9F5D6;
    --accent: #0A84FF;
    --t-feed: #60A5FA;
    --t-carrossel: #22D3EE;
    --t-reels: #C084FC;
    --t-story: #F472B6;
    --t-captacao: #FB923C;
    --t-reuniao: #34D399;
    --t-producao: #94A3B8;
    --t-outro: #A1A1AA;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #000000;
    --surface: #16161A;
    --surface-2: #222228;
    --surface-3: #2E2E35;
    --text: #F4F4F6;
    --text-2: #B4B4BE;
    --text-3: #7D7D88;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.16);
    --ink: #F4F4F6;
    --ink-on: #111114;
    --today: #FF5B47;
    --ok: #4ADE80;
    --ok-soft: rgba(74, 222, 128, 0.12);
    --warn: #FB923C;
    --warn-soft: rgba(251, 146, 60, 0.13);
    --danger: #F87171;
    --danger-soft: rgba(248, 113, 113, 0.13);
    --note: #2E2914;
    --note-line: #4D4520;
    --note-text: #F5E9B0;
    --tip-soft: rgba(129, 140, 248, 0.14);
    --tip: #A5B4FC;
    --prep-soft: rgba(192, 132, 252, 0.14);
    --prep: #D8B4FE;
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
    --blur-bg: rgba(0, 0, 0, 0.78);
    --tabbar-bg: rgba(22, 22, 26, 0.86);

    --chat-bg: #000000;
    --chat-in: #26252A;
    --chat-in-text: #F4F4F6;
    --chat-out: #0A66D8;
    --chat-out-text: #FFFFFF;
    --chat-auto: #12301D;
    --chat-auto-text: #C9F5D6;
    --accent: #0A84FF;
    --t-feed: #60A5FA;
    --t-carrossel: #22D3EE;
    --t-reels: #C084FC;
    --t-story: #F472B6;
    --t-captacao: #FB923C;
    --t-reuniao: #34D399;
    --t-producao: #94A3B8;
    --t-outro: #A1A1AA;
    color-scheme: dark;
  }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
  overscroll-behavior-y: none;
}
body.has-sheet { overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
.ic { flex: none; display: block; }
.muted { color: var(--text-3); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

#app { max-width: 540px; margin: 0 auto; min-height: 100dvh; }

/* ---------- splash / login ---------- */
.splash, .login {
  min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: calc(var(--safe-t) + 24px) 24px calc(var(--safe-b) + 24px); text-align: center; color: var(--text-2);
}
.splash img:not(.brand), .login img:not(.brand) { border-radius: 22%; box-shadow: var(--shadow-lg); }
.login h1 { font-size: 30px; color: var(--text); letter-spacing: -0.02em; }
.login .form { width: 100%; max-width: 360px; margin-top: 16px; text-align: left; }
.login__err { color: var(--danger); font-size: 14px; margin-bottom: 10px; }
.login__typo { font-size: 14px; background: var(--surface-2, rgba(10,132,255,.08)); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; text-align: left; }
.login__typo b { overflow-wrap: anywhere; }
.login__typo [data-fixmail] { color: var(--accent, #0a84ff); font-weight: 700; }

/* ---------- cabeçalho ---------- */
.hdr {
  position: sticky; top: 0; z-index: 20;
  padding: calc(var(--safe-t) + 10px) var(--gutter) 10px;
  background: var(--blur-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--line);
}
.hdr__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.hdr__titles { min-width: 0; }
.hdr__eyebrow { font-size: 13px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr h1 { font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hdr__date { font-size: 17px; font-weight: 600; color: var(--text-3); letter-spacing: -0.01em; }
.hdr__actions { display: flex; align-items: center; gap: 6px; flex: none; }

/* ---------- botões ---------- */
.iconbtn {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: var(--text); background: var(--surface); box-shadow: var(--shadow);
}
.iconbtn:active { transform: scale(0.94); }
.iconbtn--sm { width: 30px; height: 30px; background: transparent; box-shadow: none; color: var(--text-2); }
.iconbtn--accent { background: var(--ink); color: var(--ink-on); box-shadow: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 14px; font-weight: 650; font-size: 16px;
  transition: transform 0.12s ease, opacity 0.12s;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: scale(0.97); opacity: 0.9; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 15px; border-radius: 12px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--ink); color: var(--ink-on); }
.btn--soft { background: var(--surface-2); color: var(--text); }
.btn--ghost { color: var(--text-2); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger-soft { background: var(--danger-soft); color: var(--danger); margin-top: 8px; }
.btn-text { color: var(--text); font-weight: 600; font-size: 17px; padding: 8px 4px; display: inline-flex; align-items: center; gap: 4px; }
.btn-text--sm { font-size: 15px; color: var(--text-2); }
.btn-text--danger { color: var(--danger); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; white-space: nowrap; flex: none;
}
.chip.is-on { background: var(--ink); color: var(--ink-on); }
.chip--accent { background: var(--today); color: #fff; box-shadow: none; }
.chip--co.is-on { background: var(--cc); color: #fff; }
.chip--co .logo { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.6); }

/* ---------- segmentado (pessoa) ---------- */
.seg {
  display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--surface-3);
}
.seg__btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0;
  height: 36px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--text-2);
  transition: background 0.15s, color 0.15s;
}
.seg__btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg__btn em { font-style: normal; font-weight: 500; color: var(--text-3); font-size: 12px; }
.seg__btn.is-on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }

/* ---------- semana ---------- */
.week { margin-top: 10px; }
.week__bar { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
.week__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; touch-action: pan-y; }
.wday {
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 7px; border-radius: 14px;
  transition: background 0.15s;
}
.wday__l { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.03em; }
.wday__n { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 650; }
.wday__dots { display: flex; gap: 3px; height: 6px; }
.wday__dots i { width: 6px; height: 6px; border-radius: 50%; display: block; }
.wday__dots i.none { background: transparent; }
.wday.is-today .wday__n { color: var(--today); }
.wday.is-sel { background: var(--surface); box-shadow: var(--shadow); }
.wday.is-sel .wday__n { background: var(--ink); color: var(--ink-on); }
.wday.is-sel.is-today .wday__n { background: var(--today); color: #fff; }

/* ---------- página ---------- */
.view { padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 28px); }
.page { padding: 14px var(--gutter) 0; display: flex; flex-direction: column; gap: 22px; }
.page--sheet { padding-top: 16px; padding-bottom: 32px; }
.block { display: flex; flex-direction: column; gap: 10px; }
.block__row { display: flex; align-items: center; justify-content: space-between; }
.block__title { font-size: 15px; font-weight: 700; color: var(--text-2); display: flex; align-items: center; gap: 7px; letter-spacing: -0.005em; }
.card { background: var(--surface); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--text-2); }
.card b, .card strong { color: var(--text); }
.card--row { flex-direction: row; align-items: center; gap: 12px; }
.card--row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.card--row small { font-size: 13px; color: var(--text-3); line-height: 1.35; }
.card--ok { background: var(--ok-soft); color: var(--ok); }
.card--warn { background: var(--warn-soft); color: var(--warn); }
.card--flush { padding: 0; gap: 0; overflow: hidden; }
.btnrow { display: flex; flex-wrap: wrap; gap: 8px; }
.fhelp { font-size: 13px; color: var(--text-3); line-height: 1.4; }
.fhelp.pad { padding: 12px 16px 14px; }
.about { text-align: center; font-size: 12px; color: var(--text-3); padding: 4px 0 12px; }

.banner {
  display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: start;
  padding: 14px; border-radius: var(--radius); background: var(--tip-soft); color: var(--tip); font-size: 14px;
}
.banner p { color: var(--text-2); }
.banner strong { color: var(--text); }
.banner .btn { grid-column: 2; justify-self: start; }

/* ---------- avatar / logo / badges ---------- */
.avatar {
  width: var(--s); height: var(--s); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: calc(var(--s) * 0.46); flex: none; line-height: 1;
}
.avatar--empty { background: var(--surface-3); color: var(--text-3); }
.avatars { display: inline-flex; }
.avatars .avatar + .avatar { margin-left: -7px; box-shadow: 0 0 0 2px var(--surface); }
.logo {
  width: var(--s); height: var(--s); border-radius: var(--r); display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: calc(var(--s) * 0.36); letter-spacing: -0.02em; flex: none; overflow: hidden; line-height: 1;
}
.logo--img { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.logo--img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tbadge {
  --tc: var(--t-outro);
  display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--tc); background: color-mix(in srgb, var(--tc) 13%, transparent); white-space: nowrap; flex: none;
}
.tbadge.is-solid { background: var(--tc); color: #fff; }
.tbadge--feed { --tc: var(--t-feed); }
.tbadge--carrossel { --tc: var(--t-carrossel); }
.tbadge--reels { --tc: var(--t-reels); }
.tbadge--story { --tc: var(--t-story); }
.tbadge--captacao { --tc: var(--t-captacao); }
.tbadge--reuniao { --tc: var(--t-reuniao); }
.tbadge--producao { --tc: var(--t-producao); }
.tbadge--outro { --tc: var(--t-outro); }

.spill { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--text-2); }
.spill--feito { background: var(--ok-soft); color: var(--ok); }
.spill--pronto { background: var(--tip-soft); color: var(--tip); }

/* ---------- card de evento ---------- */
.ecard {
  position: relative; display: grid; grid-template-columns: 50px 1fr 40px; gap: 10px; align-items: center;
  padding: 12px 10px 12px 14px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
  overflow: hidden; cursor: pointer; transition: transform 0.12s ease;
}
.ecard + .ecard, .nowline + .ecard, .ecard + .nowline { margin-top: 8px; }
.ecard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--cc); }
.ecard:active { transform: scale(0.985); }
.ecard__time { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.ecard__time strong { font-size: 16px; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ecard__time small { font-size: 12px; color: var(--text-3); font-weight: 600; margin-top: 2px; }
.ecard__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ecard__top { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ecard__company { font-size: 13px; font-weight: 700; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ecard__top .tbadge { margin-left: auto; }
.ecard__title { font-size: 16px; font-weight: 650; line-height: 1.28; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.ecard__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: 13px; color: var(--text-3); }
.ecard__loc { display: inline-flex; align-items: center; gap: 3px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ecard__loc::before { content: "·"; margin-right: 3px; }
.ecard__late { color: var(--danger); font-weight: 700; }
.ecard__private { display: inline-flex; }
.ecard__check {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; justify-self: end;
  border: 2px solid var(--line-2); color: transparent; transition: all 0.15s;
}
.ecard__check.is-on { background: var(--ok); border-color: var(--ok); color: #fff; }
.ecard.is-done .ecard__title { text-decoration: line-through; text-decoration-color: var(--text-3); color: var(--text-3); }
.ecard.is-done { opacity: 0.72; }
.ecard.is-late .ecard__check { border-color: var(--danger); }
.ecard.is-flagged { box-shadow: 0 0 0 2px var(--warn), var(--shadow); }
.ecard.is-compact { padding-top: 10px; padding-bottom: 10px; }
.ecard.is-compact .ecard__title { font-size: 15px; }

.tl-group + .tl-group { margin-top: 18px; }
.tl-group__h { font-size: 13px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 8px 2px; display: flex; gap: 6px; align-items: center; }
.tl-group__h span { background: var(--surface-3); color: var(--text-2); border-radius: 999px; padding: 0 7px; font-size: 11px; line-height: 18px; }
.nowline { position: relative; height: 18px; display: flex; align-items: center; }
.nowline::before { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--today); border-radius: 2px; }
.nowline span { position: relative; background: var(--today); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.dayhead { font-size: 14px; font-weight: 700; color: var(--text-2); margin: 14px 2px 8px; }
.dayhead:first-child { margin-top: 0; }
.dayhead.is-today { color: var(--today); }

/* ---------- resumo ---------- */
.summary { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 6px; }
.summary__progress { display: flex; align-items: center; gap: 12px; }
.summary__progress strong { display: block; font-size: 16px; }
.summary__progress small { font-size: 13px; color: var(--text-3); }
.ring {
  --p: 0; width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--ok) calc(var(--p) * 1%), var(--surface-3) 0);
}
.ring span { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.summary__types { display: flex; flex-wrap: wrap; gap: 6px; }
.tcount { --tc: var(--t-outro); display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-2); background: color-mix(in srgb, var(--tc) 10%, transparent); padding: 4px 9px; border-radius: 999px; }
.tcount .ic { color: var(--tc); }
.tcount b { color: var(--text); }

/* ---------- próximo ---------- */
.next {
  display: flex; flex-direction: column; gap: 10px; text-align: left; width: 100%;
  padding: 14px 16px 16px; border-radius: 20px; background: var(--surface);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cc) 45%, transparent), var(--shadow);
  background-image: linear-gradient(135deg, var(--cc-soft), transparent 70%);
}
.next__label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cc); }
.next__row { display: flex; align-items: center; gap: 12px; }
.next__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.next__txt strong { font-size: 16px; letter-spacing: -0.01em; }
.next__txt span { font-size: 15px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.next__loc { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-2); }

/* ---------- equipe ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.team__col { text-align: left; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); min-width: 0; }
.team__head { display: flex; align-items: center; gap: 9px; }
.team__head strong { display: block; font-size: 16px; }
.team__head small { font-size: 12px; color: var(--text-3); }
.team__where { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.team__where li { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; color: var(--text-2); line-height: 1.3; }
.team__where li .ic { margin-top: 1px; color: var(--t-captacao); }
.team__where li.muted .ic { color: var(--text-3); }
.team__next { font-size: 12px; color: var(--text-2); padding-top: 8px; border-top: 0.5px solid var(--line); line-height: 1.35; }

/* ---------- dicas ---------- */
.tips { display: flex; flex-direction: column; gap: 8px; }
.tip { display: flex; gap: 11px; padding: 13px 14px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow); font-size: 14px; line-height: 1.4; }
.tip strong { display: block; font-size: 14px; margin-bottom: 2px; }
.tip p { color: var(--text-2); }
.tip__ic { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; }
.tip--warn .tip__ic { background: var(--warn-soft); color: var(--warn); }
.tip--warn { box-shadow: inset 3px 0 0 var(--warn), var(--shadow); }
.tip--info .tip__ic { background: var(--surface-2); color: var(--text-2); }
.tip--ok .tip__ic { background: var(--ok-soft); color: var(--ok); }
.tip--tip .tip__ic { background: var(--tip-soft); color: var(--tip); }
.tip--prep .tip__ic { background: var(--prep-soft); color: var(--prep); }
.tip[data-action] { cursor: pointer; }

/* ---------- bilhetes ---------- */
.notes { display: flex; flex-direction: column; gap: 8px; }
.note { background: var(--note); border: 1px solid var(--note-line); border-radius: 4px 14px 14px 14px; padding: 12px 14px 10px; color: var(--note-text); font-size: 15px; transform: rotate(-0.3deg); }
.note:nth-child(even) { transform: rotate(0.3deg); }
.note footer { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; font-weight: 600; opacity: 0.85; }
.note__del { margin-left: auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; opacity: 0.6; }
.note-add { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.note__time { font-weight: 500; opacity: .7; margin-left: 2px; }
.note__time::before { content: '· '; }
.note__to { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.note__to span { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: color-mix(in srgb, var(--note-text) 14%, transparent); }
.note-to { flex-basis: 100%; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted, #8E8E93); }
.note-to__chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 5px; border-radius: 99px; border: 1px solid var(--note-line); cursor: pointer; font-weight: 600; color: var(--note-text); }
.note-to__chip input { position: absolute; opacity: 0; pointer-events: none; }
.note-to__chip:has(input:checked) { background: var(--note-text); color: var(--note); border-color: var(--note-text); }
.note-add input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 14px; border: 1px dashed var(--note-line); background: color-mix(in srgb, var(--note) 55%, transparent); font-size: 16px; outline: none; }
.note-add .iconbtn { width: 46px; height: 46px; border-radius: 14px; }

/* ---------- vazio ---------- */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 28px 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text-3); }
.empty h3 { font-size: 17px; color: var(--text); }
.empty p { font-size: 14px; max-width: 300px; }
.empty .btn { margin-top: 6px; }

/* ---------- mês ---------- */
.chips-scroll { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 4px; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar { display: none; }
.mstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mstats--5 { grid-template-columns: repeat(5, 1fr); }
.mstats div { background: var(--surface); border-radius: var(--radius-sm); padding: 10px 6px; text-align: center; box-shadow: var(--shadow); }
.mstats b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.mstats span { font-size: 12px; color: var(--text-3); font-weight: 600; }
.month { background: var(--surface); border-radius: 20px; padding: 10px 8px 8px; box-shadow: var(--shadow); touch-action: pan-y; }
.month__wd { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 12px; font-weight: 700; color: var(--text-3); padding-bottom: 6px; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.mday { display: flex; flex-direction: column; align-items: center; gap: 3px; height: 62px; padding-top: 4px; border-radius: 12px; position: relative; }
.mday__n { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 16px; font-weight: 600; }
.mday.is-out { opacity: 0.32; }
.mday.is-today .mday__n { color: var(--today); font-weight: 800; }
.mday.is-sel { background: var(--surface-2); }
.mday.is-sel .mday__n { background: var(--ink); color: var(--ink-on); }
.mday.is-sel.is-today .mday__n { background: var(--today); color: #fff; }
.mday__bars { display: flex; gap: 2px; }
.mday__bars i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.mday__count { display: flex; align-items: center; gap: 2px; font-size: 10px; font-weight: 700; color: var(--text-3); line-height: 1; }
.mday__count .ic { color: var(--t-captacao); }
.mday__types { display: flex; gap: 2px; }
.tdot { width: 7px; height: 7px; border-radius: 50%; display: block; background: var(--tc, var(--t-outro)); }
.tdot--feed { --tc: var(--t-feed); } .tdot--carrossel { --tc: var(--t-carrossel); } .tdot--reels { --tc: var(--t-reels); }
.tdot--story { --tc: var(--t-story); } .tdot--captacao { --tc: var(--t-captacao); } .tdot--reuniao { --tc: var(--t-reuniao); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: block; }

/* ---------- empresas ---------- */
.colist { display: flex; flex-direction: column; gap: 10px; }
.cocard {
  text-align: left; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px;
  background: var(--surface); box-shadow: var(--shadow); position: relative; overflow: hidden;
  background-image: linear-gradient(160deg, var(--cc-soft), transparent 55%);
}
.cocard::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--cc); }
.cocard__top { display: flex; align-items: center; gap: 12px; }
.cocard__name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cocard__name strong { font-size: 18px; letter-spacing: -0.015em; }
.cocard__name small { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-3); }
.cocard__stats { display: flex; gap: 14px; font-size: 13px; color: var(--text-2); }
.cocard__stats b { color: var(--text); font-size: 15px; }
.cocard__next { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); padding-top: 10px; border-top: 0.5px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cocard__next .ic { color: var(--cc); }

.cohero {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 8px var(--gutter) 22px; background: linear-gradient(180deg, var(--cc-soft), transparent);
}
.cohero .logo { box-shadow: 0 6px 24px color-mix(in srgb, var(--cc) 35%, transparent); }
.cohero h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; }
.cohero__ig { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--text-2); text-decoration: none; }
.cohero__btns { display: flex; gap: 8px; margin-top: 8px; }

/* ---------- linhas (detalhes) ---------- */
.rows { list-style: none; margin: 0; padding: 0 14px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 10px 0; }
.rows li + li { border-top: 0.5px solid var(--line); }
.rows__k { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-2); flex: none; }
.rows__v { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: 15px; font-weight: 600; text-align: right; min-width: 0; }
.rows__v .avatar + .avatar { margin-left: -6px; }
.link { color: var(--t-feed); text-decoration: none; }

/* ---------- folhas (sheets) ---------- */
#sheets { position: relative; z-index: 100; }
.sheet-wrap { position: fixed; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.38); opacity: 0; transition: opacity 0.28s ease; }
.sheet {
  position: relative; width: 100%; max-width: 540px; max-height: calc(100dvh - var(--safe-t) - 12px);
  background: var(--bg); border-radius: 22px 22px 0 0; box-shadow: var(--shadow-lg);
  transform: translateY(100%); transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex; flex-direction: column; overflow: hidden;
}
.sheet--tall { height: calc(100dvh - var(--safe-t) - 12px); }
.sheet-wrap.is-open .sheet { transform: translateY(0); }
.sheet-wrap.is-open .sheet-backdrop { opacity: 1; }
.sheet__grab { display: flex; justify-content: center; padding: 8px 0 2px; flex: none; }
.sheet__grab span { width: 38px; height: 5px; border-radius: 3px; background: var(--line-2); }
.sheet__inner { overflow-y: auto; overflow-x: hidden; touch-action: pan-y; -webkit-overflow-scrolling: touch; flex: 1; padding-bottom: calc(var(--safe-b) + 16px); overscroll-behavior: contain; }
.sheet__head {
  position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 4px 12px 8px; background: var(--bg);
}
.sheet__head h2 { font-size: 17px; font-weight: 700; text-align: center; }
.sheet__head-r { justify-self: end; }
.sheet__head-l { justify-self: start; }
.sheet--dialog { background: var(--surface); }
.dialog { padding: 6px 20px 8px; display: flex; flex-direction: column; gap: 10px; text-align: center; }
.dialog h3 { font-size: 19px; letter-spacing: -0.01em; }
.dialog p { font-size: 15px; color: var(--text-2); margin-bottom: 6px; }
.dialog .whogrid { margin: 8px 0 4px; }

/* ---------- formulários ---------- */
.form { display: flex; flex-direction: column; gap: 18px; padding: 6px var(--gutter) 0; }
.form__spacer { height: 24px; }
.fgroup { display: flex; flex-direction: column; gap: 8px; }
.flabel { font-size: 14px; font-weight: 700; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.tag { font-style: normal; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.tag--note { background: var(--note); color: var(--note-text); }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); font-size: 17px; outline: none; -webkit-appearance: none; appearance: none;
}
.input:focus { border-color: var(--text-3); }
textarea.input { resize: vertical; line-height: 1.4; }
select.input { background-image: none; }
input[type="date"].input, input[type="time"].input { display: flex; align-items: center; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row2 > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.input-prefix { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding-left: 14px; }
.input-prefix span { color: var(--text-3); font-size: 17px; }
.input-prefix .input { border: 0; padding-left: 4px; background: transparent; }

.typegrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.typebtn {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 14px;
  background: var(--surface); box-shadow: var(--shadow); font-size: 13px; font-weight: 650; color: var(--text-2);
  transition: all 0.15s;
}
.typebtn .ic { color: var(--tc); }
.typebtn.is-on { background: var(--tc); color: #fff; box-shadow: 0 4px 14px color-mix(in srgb, var(--tc) 40%, transparent); }
.typebtn.is-on .ic { color: #fff; }

.cogrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cobtn {
  display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 14px; background: var(--surface);
  box-shadow: var(--shadow); font-size: 15px; font-weight: 600; text-align: left; min-width: 0;
}
.cobtn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cobtn.is-on { box-shadow: 0 0 0 2.5px var(--cc); background: color-mix(in srgb, var(--cc) 9%, var(--surface)); }
.cobtn--add { color: var(--text-3); border: 1.5px dashed var(--line-2); box-shadow: none; background: transparent; }

.whogrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.whobtn {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px;
  background: var(--surface); box-shadow: var(--shadow); font-weight: 650; font-size: 16px;
}
.whobtn__check { position: absolute; right: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-2); color: transparent; }
.whobtn.is-on { box-shadow: 0 0 0 2.5px var(--mc); background: color-mix(in srgb, var(--mc) 8%, var(--surface)); }
.whobtn.is-on .whobtn__check { background: var(--mc); border-color: var(--mc); color: #fff; }

.hintbox, .warnbox { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.4; }
.hintbox { background: var(--tip-soft); color: var(--tip); }
.hintbox p { color: var(--text-2); }
.hintbox > div { flex: 1; }
.hintbox__times { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tchip { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; height: 36px; padding: 0 10px; border-radius: 10px; background: var(--surface); font-weight: 700; font-size: 14px; color: var(--text); line-height: 1.05; }
.tchip small { font-size: 9px; font-weight: 600; color: var(--text-3); text-transform: uppercase; }
.tchip.is-busy { opacity: 0.55; }
.tchip.is-on { background: var(--tip); color: #fff; }
.warnbox { background: var(--warn-soft); color: var(--warn); margin-bottom: 10px; }
.warnbox p { color: var(--text-2); margin-top: 3px; }
.warnbox strong { color: var(--warn); }
[data-hint]:empty { display: none; }

.list { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.list__row {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 14px; font-size: 16px; text-align: left; cursor: pointer;
}
.list__row + .list__row { border-top: 0.5px solid var(--line); }
.list__row > span { flex: 1; display: flex; align-items: center; gap: 10px; }
.list__row select, .list__row input[type="date"] {
  border: 0; background: var(--surface-2); border-radius: 10px; padding: 7px 10px; font-size: 15px; font-weight: 600; max-width: 55%; -webkit-appearance: none; appearance: none; text-align: right;
}
.list__row.is-danger { color: var(--danger); }
.switch { -webkit-appearance: none; appearance: none; width: 51px; height: 31px; border-radius: 999px; background: var(--surface-3); position: relative; transition: background 0.2s; flex: none; cursor: pointer; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); transition: transform 0.2s; }
.switch:checked { background: #34C759; }
.switch:checked::after { transform: translateX(20px); }

.logopick { display: flex; align-items: center; gap: 16px; padding: 4px 0; }
.logopick__btns { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.palette { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.swatch { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: transparent; position: relative; }
.swatch.is-on { color: #fff; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px currentColor; color: #fff; outline: 2px solid var(--text); outline-offset: 2px; }
.swatch--custom { background: conic-gradient(#f43f5e, #f59e0b, #22c55e, #06b6d4, #6366f1, #d946ef, #f43f5e); color: #fff; cursor: pointer; }
.swatch--custom input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }

/* ---------- detalhe ---------- */
.detail { display: flex; flex-direction: column; gap: 14px; padding: 0 var(--gutter); }
.detail__hero { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 4px 0 var(--cc), var(--shadow); background-image: linear-gradient(170deg, var(--cc-soft), transparent 70%); }
.detail__co { display: flex; align-items: center; gap: 10px; }
.detail__co > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.detail__co strong { font-size: 16px; }
.detail__co small { font-size: 13px; color: var(--text-3); }
.detail__hero h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; }
.detail__when { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: 15px; color: var(--text-2); font-weight: 600; }
.detail__meta { font-size: 12px; color: var(--text-3); text-align: center; padding-bottom: 8px; }
.seg--status .seg__btn { height: 40px; }
.seg--status .seg__btn.is-on.st-feito { background: var(--ok); color: #fff; }
.seg--status .seg__btn.is-on.st-pronto { background: var(--tip); color: #fff; }
.textbox { background: var(--surface); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.textbox h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); margin-bottom: 6px; display: flex; gap: 5px; align-items: center; }
.textbox p { font-size: 15px; white-space: pre-wrap; }
.textbox--note { background: var(--note); color: var(--note-text); box-shadow: none; border: 1px solid var(--note-line); }
.textbox--note h4 { color: var(--note-text); opacity: 0.75; }
.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.actions button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); font-size: 12px; font-weight: 600; color: var(--text-2); text-align: center; line-height: 1.2; }
.actions button .ic { color: var(--text); }
.actions .is-danger, .actions .is-danger .ic { color: var(--danger); }

/* ---------- compartilhar ---------- */
.share { display: flex; flex-direction: column; gap: 14px; padding: 4px var(--gutter) 8px; }
.share__co { display: flex; align-items: center; gap: 12px; }
.share__co strong { display: block; font-size: 18px; }
.share__co small { color: var(--text-3); font-size: 14px; }
.checks { list-style: none; padding: 14px; margin: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-2); }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks .ic { color: var(--ok); margin-top: 1px; }
.share__link input { width: 100%; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); font-size: 13px; color: var(--text-2); }
.share__btns { display: flex; flex-direction: column; gap: 8px; }

.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps li .ic { display: inline-block; vertical-align: -2px; }
.besttimes { list-style: none; margin: 0; padding: 0; }
.besttimes li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px; font-size: 14px; color: var(--text); }
.besttimes li + li { border-top: 0.5px solid var(--line); }

/* ---------- barra de abas ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-width: 540px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  height: calc(var(--tabbar-h) + var(--safe-b)); padding: 0 6px var(--safe-b);
  background: var(--tabbar-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-top: 0.5px solid var(--line);
}
.tabbar__btn { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--text-3); padding: 6px 0; }
.tabbar__btn.is-on { color: var(--text); }
.tabbar__fab {
  justify-self: center; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--ink-on); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); transform: translateY(-10px);
}
.tabbar__fab:active { transform: translateY(-10px) scale(0.94); }

/* ---------- toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + 18px); z-index: 200;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px); width: max-content;
  padding: 12px 16px; border-radius: 14px; background: #1C1C22; color: #fff; font-size: 15px; font-weight: 600;
  box-shadow: var(--shadow-lg); transition: all 0.25s ease;
}
#toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#toast button { color: #FDE68A; font-weight: 700; }
body.is-client #toast { bottom: calc(var(--safe-b) + 20px); }

/* ==========================================================
   Tela do cliente
   ========================================================== */
.client { min-height: 100dvh; }
.client__hero {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: calc(var(--safe-t) + 34px) 20px 52px; background: var(--cc); color: var(--cc-on);
  background-image: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.22), transparent 60%);
}
.client__hero .logo { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22); margin-bottom: 6px; border: 3px solid rgba(255, 255, 255, 0.9); }
.client__hero h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.client__hero p { font-size: 15px; opacity: 0.85; font-weight: 500; }
.client__back { position: absolute; left: 12px; top: calc(var(--safe-t) + 10px); display: flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.18); color: #fff; }
.client__body { position: relative; margin-top: -30px; padding: 0 var(--gutter) calc(var(--safe-b) + 28px); display: flex; flex-direction: column; gap: 12px; }
.cstats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 14px 4px; }
.cstats div { text-align: center; }
.cstats div + div { border-left: 0.5px solid var(--line); }
.cstats b { display: block; font-size: 22px; font-weight: 800; color: var(--cc); letter-spacing: -0.02em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cstats b { color: var(--text); } }
:root[data-theme="dark"] .cstats b { color: var(--text); }
.cstats span { font-size: 12px; color: var(--text-3); font-weight: 600; }
.cstats__cap { text-align: center; font-size: 13px; color: var(--text-3); margin-top: -2px; }
.seg--client { margin: 4px 0 6px; }
.csection { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); margin: 18px 2px 0; }
.ccard { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 14px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.ccard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--cc); }
.ccard + .ccard { margin-top: 8px; }
.ccard__time { display: flex; flex-direction: column; }
.ccard__time strong { font-size: 16px; font-weight: 750; font-variant-numeric: tabular-nums; }
.ccard__time small { font-size: 12px; color: var(--text-3); font-weight: 600; }
.ccard__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ccard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ccard h4 { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.ccard p { font-size: 14px; color: var(--text-2); white-space: pre-wrap; }
.ccard__loc { display: flex; align-items: center; gap: 4px; }
.ccard--feito h4 { color: var(--text-2); }
.cstatus { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.cstatus--pronto { background: var(--tip-soft); color: var(--tip); }
.cstatus--feito { background: var(--ok-soft); color: var(--ok); }
.cmonth__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.cmonth__nav strong { font-size: 18px; }
.month--client .mday.is-sel .mday__n { background: var(--cc); color: var(--cc-on); }
.clegend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin-top: 18px; font-size: 12px; color: var(--text-3); }
.clegend span { display: inline-flex; align-items: center; gap: 6px; }
.clegend i { width: 10px; height: 10px; padding: 0; border-radius: 50%; display: block; }
.clegend .cstatus--pendente { background: var(--text-3); }
.clegend .cstatus--pronto { background: var(--tip); }
.clegend .cstatus--feito { background: var(--ok); }
.client__foot { text-align: center; font-size: 12px; color: var(--text-3); line-height: 1.6; margin-top: 10px; }
.client-error { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--text-3); }
.client-error h2 { color: var(--text); }

/* telas largas (desktop): centraliza como um celular */
@media (min-width: 700px) {
  body { background: var(--surface-3); }
  #app { background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
}

/* ==========================================================
   Assistente
   ========================================================== */
.iconbtn--ai { color: var(--tip); }
.brief {
  display: flex; align-items: flex-start; gap: 12px; text-align: left; width: 100%;
  padding: 14px; border-radius: var(--radius); background: var(--tip-soft); color: var(--text);
}
.brief > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.brief strong { font-size: 14px; color: var(--tip); }
.brief p { font-size: 14px; color: var(--text-2); line-height: 1.4; }
.brief__ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); color: var(--tip); flex: none; }
.brief > .ic { align-self: center; }

.team__free { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.is-good { background: var(--ok-soft); color: var(--ok); }
.is-mid { background: var(--note); color: var(--note-text); }
.is-low { background: var(--danger-soft); color: var(--danger); }
.is-off { background: var(--surface-2); color: var(--text-3); }

.fixes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fixbtn { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--ink-on); font-size: 13px; font-weight: 650; }
.tip__date { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); margin-bottom: 2px; }
.nowline--end { margin-top: 10px; }

/* painel do assistente no editor */
.assist { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.assist__head { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--tip); }
.assist__ok { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ok); }
.assist__sugg { font-size: 14px; color: var(--text-2); padding-top: 10px; border-top: 0.5px solid var(--line); }
.tchip--wide { flex-direction: row; gap: 6px; width: 100%; height: 42px; background: var(--ok-soft); color: var(--ok); }
.hintbox__times .tchip { background: var(--surface-2); }
.hintbox__times .tchip.is-on { background: var(--tip); color: #fff; }

.lanes { display: flex; flex-direction: column; gap: 6px; }
.lanes__head { font-size: 13px; color: var(--text-2); margin-bottom: 2px; }
.lane { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 6px; }
.lane__track { position: relative; height: 22px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.lane--axis .lane__track { height: 14px; background: none; overflow: visible; }
.lane--axis small { position: absolute; transform: translateX(-50%); font-size: 10px; color: var(--text-3); font-weight: 600; }
.lane__tick { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.lane__ev { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; opacity: 0.85; }
.lane__draft { position: absolute; top: 1px; bottom: 1px; border-radius: 5px; border: 2px dashed var(--ink); background: color-mix(in srgb, var(--ink) 12%, transparent); }
.lane__draft.is-clash { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 22%, transparent); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.55; } }

.issues { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.issue { display: flex; gap: 9px; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.4; text-align: left; }
.issue strong { display: block; font-size: 14px; }
.issue p { color: var(--text-2); }
.issue .ic { margin-top: 2px; }
.issue--block { background: var(--danger-soft); color: var(--danger); }
.issue--block strong { color: var(--danger); }
.issue--warn { background: var(--warn-soft); color: var(--warn); }
.issue--warn strong { color: var(--warn); }
.issue--info { background: var(--surface-2); color: var(--text-2); }
.issue--info strong { color: var(--text); }
.issues--dialog { margin: 4px 0 8px; }

/* folha do assistente */
.assist-hero { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, var(--tip-soft), var(--prep-soft)); }
.assist-hero__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--tip); flex: none; }
.assist-hero strong { font-size: 16px; }
.assist-hero p { font-size: 14px; color: var(--text-2); margin-top: 2px; }
.freegrid { display: grid; grid-template-columns: 28px repeat(7, 1fr); gap: 4px; align-items: center; background: var(--surface); padding: 12px 10px; border-radius: var(--radius); box-shadow: var(--shadow); }
.freegrid__d { display: flex; flex-direction: column; align-items: center; font-size: 10px; color: var(--text-3); font-weight: 700; text-transform: uppercase; }
.freegrid__d b { font-size: 14px; color: var(--text); }
.freecell { height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.findrow { display: flex; align-items: center; gap: 10px; }
.findrow .hintbox__times { margin-top: 0; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.preset { padding: 8px 12px; border-radius: 999px; background: var(--tip-soft); color: var(--tip); font-size: 13px; font-weight: 650; }

/* ajustes: rotina */
.list__row input[type="time"] { border: 0; background: var(--surface-2); border-radius: 10px; padding: 7px 8px; font-size: 15px; font-weight: 600; -webkit-appearance: none; appearance: none; }
.list__row--col { flex-direction: column; align-items: stretch; gap: 10px; cursor: default; }
.daysoff { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.dayoff { position: relative; }
.dayoff input { position: absolute; opacity: 0; inset: 0; }
.dayoff span { display: grid; place-items: center; height: 38px; border-radius: 10px; background: var(--surface-2); font-size: 13px; font-weight: 700; color: var(--text-2); }
.dayoff input:checked + span { background: var(--ink); color: var(--ink-on); }

/* ==========================================================
   Abertura (vídeo) e transição para o app
   ========================================================== */
.intro {
  position: fixed; inset: 0; z-index: 1000; background: #F3F3F3;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.75s ease;
  will-change: opacity, transform;
}
.intro video { width: 100%; height: 100%; object-fit: cover; background: #F3F3F3 url("../media/intro-poster5.jpg") center / cover no-repeat; }
.intro.is-leaving { opacity: 0; transform: scale(1.12); filter: blur(8px); pointer-events: none; }
.intro.is-gone { display: none; }
.view, .tabbar { transition: opacity 0.7s ease 0.12s, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.08s; }
html:not(.intro-done) .view { opacity: 0; transform: translateY(14px) scale(0.985); }
html:not(.intro-done) .tabbar { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .intro, .view, .tabbar { transition-duration: 0.3s; }
  .intro.is-leaving { transform: none; filter: none; }
}

/* ==========================================================
   Boas-vindas / permissões
   ========================================================== */
.ob {
  position: fixed; inset: 0; z-index: 900; background: var(--bg);
  display: flex; align-items: flex-end; justify-content: center;
  padding: calc(var(--safe-t) + 20px) 20px calc(var(--safe-b) + 20px);
  opacity: 0; transition: opacity 0.4s ease;
}
.ob.is-in { opacity: 1; }
.ob__card {
  width: 100%; max-width: 440px; min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; text-align: center;
  opacity: 0; transform: translateY(16px); transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ob__card.is-shown { opacity: 1; transform: none; }
.ob h1 { font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; }
.ob__card > p { font-size: 16px; color: var(--text-2); line-height: 1.45; margin-bottom: 6px; }
.ob__art { flex: 1; display: grid; place-items: center; min-height: 160px; }
.ob__art--sm, .ob__art--ok { color: var(--tip); }
.ob__art--ok { color: var(--ok); }
.ob__art--sm .ic, .ob__art--ok .ic { width: 84px; height: 84px; padding: 22px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.ob__icon { width: 148px; height: 148px; border-radius: 34px; box-shadow: 0 18px 50px rgba(6, 104, 60, 0.35); animation: obFloat 4s ease-in-out infinite; }
@keyframes obFloat { 50% { transform: translateY(-8px); } }
.ob__dots { display: flex; justify-content: center; gap: 6px; margin: 4px 0 6px; }
.ob__dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--line-2); transition: width 0.3s; }
.ob__dots i.is-on { width: 22px; background: var(--text); }
.ob__who { margin: 4px 0; text-align: left; }
.ob__previews { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 8px 0; }
.nprev {
  display: flex; gap: 10px; text-align: left; padding: 11px 12px; border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  animation: npIn 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.nprev:nth-child(2) { animation-delay: 0.15s; }
.nprev:nth-child(3) { animation-delay: 0.3s; }
@keyframes npIn { from { opacity: 0; transform: translateY(-14px) scale(0.97); } }
.nprev img { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.nprev > div { flex: 1; min-width: 0; }
.nprev__top { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); letter-spacing: 0.02em; }
.nprev strong { display: block; font-size: 14px; line-height: 1.3; }
.nprev p { font-size: 13px; color: var(--text-2); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ob__msg { text-align: left; font-size: 14px; line-height: 1.45; padding: 12px 14px; border-radius: 14px; }
.ob__msg .ic { display: inline-block; vertical-align: -2px; }
.ob__msg--ok { background: var(--ok-soft); color: var(--ok); }
.ob__msg--warn { background: var(--warn-soft); color: var(--warn); }
.ob__msg--info { background: var(--surface-2); color: var(--text-2); }
.ob__tips { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.ob__tips li { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); font-size: 15px; color: var(--text-2); }
.ob__tips .ic { color: var(--tip); }
.btn:disabled { opacity: 0.45; }
.notif-prefs .list__row > span { flex-direction: column; align-items: flex-start; gap: 0; }
.notif-prefs small { font-size: 12px; color: var(--text-3); }
.input-eye { position: relative; }
.input-eye .input { padding-right: 48px; }
.input-eye .iconbtn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.login .splash h2, .splash h2 { color: var(--text); font-size: 22px; }

/* ---------- chat do assistente ---------- */
.chat { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); max-height: 52vh; overflow-y: auto; }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 18px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.msg--assistant { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.msg--user { align-self: flex-end; background: var(--ink); color: var(--ink-on); border-bottom-right-radius: 6px; }
.msg--err { background: var(--warn-soft); color: var(--warn); }
.msg .li { display: block; padding-left: 14px; position: relative; }
.msg .li::before { content: "•"; position: absolute; left: 2px; }
.msg--typing { display: flex; gap: 4px; padding: 14px 16px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); animation: typing 1.2s infinite ease-in-out; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat__form { display: flex; gap: 8px; align-items: flex-end; }
.chat__form .input { min-height: 46px; max-height: 140px; resize: none; padding: 11px 14px; }
.chat__form .iconbtn { width: 46px; height: 46px; border-radius: 14px; flex: none; }
.chat__form .iconbtn:disabled { opacity: 0.4; }
.chat__foot { display: flex; justify-content: space-between; align-items: center; }
.client-preview { position: fixed; inset: 0; z-index: 150; background: var(--bg); overflow-y: auto; -webkit-overflow-scrolling: touch; animation: pvIn 0.3s ease; }
@keyframes pvIn { from { opacity: 0; transform: translateY(20px); } }
.client-preview__bar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: calc(var(--safe-t) + 8px) 12px 8px; background: var(--blur-bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text-2);
}
.client-preview .client__hero { padding-top: 34px; }
.intro { background: #000; }
.intro img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tipsbar { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); font-size: 15px; font-weight: 700; color: var(--text-2); text-align: left; }
.tipsbar > span { flex: 1; display: flex; align-items: center; gap: 8px; }
.tipsbar em { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-3); }
.tipsbar em.tipsbar__warn { background: var(--warn-soft); color: var(--warn); }
.tipsbar.is-open { border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; }
.detail__lock { font-size: 13px; color: var(--text-2); background: var(--fill, rgba(127,127,127,.12)); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; display: flex; gap: 6px; align-items: flex-start; }
.pf { display: inline-flex; flex: none; vertical-align: -3px; margin-right: 4px; }
.pf svg { width: 100%; height: 100%; display: block; }
.pfrow { display: inline-flex; gap: 2px; margin-right: 2px; }
/* ---------- Pessoal ---------- */
.pquick { display: flex; gap: 8px; align-items: center; background: var(--surface); border-radius: 16px; padding: 6px 6px 6px 14px; box-shadow: var(--shadow); }
.pquick input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--text); outline: none; min-width: 0; }
.plist { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.prow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-left: 4px solid var(--pc); cursor: pointer; }
.prow + .prow { border-top: 0.5px solid var(--line); }
.prow__emo { font-size: 22px; width: 28px; text-align: center; flex: none; }
.prow__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.prow__body strong { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow__body small { font-size: 13px; color: var(--text-3); display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.prow__check { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; flex: none; background: none; }
.prow__check.is-on { background: var(--pc); border-color: var(--pc); color: #fff; }
.prow.is-done strong { text-decoration: line-through; color: var(--text-3); }
.pbadge { font-size: 11px; background: var(--today, #FF3B30); color: #fff; border-radius: 6px; padding: 1px 6px; font-weight: 700; }
.pcats { display: flex; flex-wrap: wrap; gap: 8px; }
.pcat { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-size: 14px; color: var(--text); }
.pcat.is-on { border-color: var(--pc); background: color-mix(in srgb, var(--pc) 14%, transparent); font-weight: 600; }
.btn--danger-soft { color: #FF3B30; background: rgba(255, 59, 48, 0.1); }
.premind { background: var(--surface); border-radius: 14px; } .premind > span { flex: 1; display: flex; flex-direction: column; gap: 2px; } .premind small { font-size: 12px; color: var(--text-3); }
.avatar--photo { overflow: hidden; padding: 0; } .avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================
   Modo Pessoal — visual próprio (como se fosse outro app)
   ========================================================== */
:root { --p-accent: #7C5CFF; --p-accent-2: #FF5E8A; --p-grad: linear-gradient(135deg, #FF7AA2 0%, #A06BFF 55%, #6A7BFF 100%); }
:root[data-space="personal"] {
  --bg: #F7F3FA;
  --surface: #FFFFFF;
  --surface-2: #F2ECF7;
  --surface-3: #E8DFF1;
  --text: #1E1426;
  --text-2: #5B4E66;
  --text-3: #968AA0;
  --line: rgba(60, 20, 90, 0.08);
  --ink: #7C5CFF;
  --ink-on: #FFFFFF;
  --today: #FF4F7B;
  --shadow: 0 1px 2px rgba(80, 30, 120, 0.05), 0 6px 22px rgba(80, 30, 120, 0.08);
  --blur-bg: rgba(247, 243, 250, 0.84);
  --tabbar-bg: rgba(255, 255, 255, 0.88);
}
@media (prefers-color-scheme: dark) {
  :root[data-space="personal"]:not([data-theme="light"]) {
    --bg: #0E0A13;
    --surface: #1A1421;
    --surface-2: #241C2D;
    --surface-3: #30263B;
    --text: #F6F0FB;
    --text-2: #C3B6CE;
    --text-3: #8A7D96;
    --line: rgba(255, 255, 255, 0.08);
    --ink: #9B82FF;
    --ink-on: #FFFFFF;
    --today: #FF6F93;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
    --blur-bg: rgba(14, 10, 19, 0.84);
    --tabbar-bg: rgba(26, 20, 33, 0.88);
  }
}
:root[data-space="personal"][data-theme="dark"] {
    --bg: #0E0A13;
    --surface: #1A1421;
    --surface-2: #241C2D;
    --surface-3: #30263B;
    --text: #F6F0FB;
    --text-2: #C3B6CE;
    --text-3: #8A7D96;
    --line: rgba(255, 255, 255, 0.08);
    --ink: #9B82FF;
    --ink-on: #FFFFFF;
    --today: #FF6F93;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
    --blur-bg: rgba(14, 10, 19, 0.84);
    --tabbar-bg: rgba(26, 20, 33, 0.88);
  }
[data-space="personal"] body { background: var(--bg); }
[data-space="personal"] .tabbar__fab { background: var(--p-grad); color: #fff; box-shadow: 0 8px 24px rgba(160, 107, 255, 0.45); }
[data-space="personal"] .tabbar__btn.is-on { color: var(--ink); }
[data-space="personal"] .btn--primary { background: var(--p-grad); color: #fff; border: 0; }
[data-space="personal"] .switch:checked { background: var(--p-accent); }

.phdr { padding: calc(var(--safe-t) + 14px) var(--gutter) 6px; }
.phdr__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.phdr__eyebrow { font-size: 12px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; display: flex; align-items: center; gap: 5px; }
.phdr h1 { font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -.025em; margin-top: 2px; }
.phdr__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.pswitch { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font: inherit; font-size: 13px; font-weight: 700; color: var(--text-2); border: 0; }
.ppage { gap: 20px; }

.phero { position: relative; overflow: hidden; border-radius: 24px; padding: 18px 18px 16px; color: #fff; background: var(--p-grad); box-shadow: 0 12px 30px rgba(160, 107, 255, 0.35); }
.phero::after { content: ''; position: absolute; right: -40px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.phero__date { font-size: 13px; font-weight: 700; opacity: .9; }
.phero__phrase { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; margin: 6px 0 14px; position: relative; z-index: 1; }
.phero__stats { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.phero__stats span { background: rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 5px 10px; font-size: 13px; font-weight: 600; }
.phero__stats .is-warn { background: rgba(255, 255, 255, 0.95); color: #D92D20; }

.pquick { gap: 10px; border-radius: 18px; padding: 6px 6px 6px 14px; color: var(--p-accent); }
.pquick__go { width: 38px; height: 38px; border-radius: 12px; border: 0; display: grid; place-items: center; background: var(--p-grad); color: #fff; flex: none; }
.pchips { display: flex; gap: 8px; overflow-x: auto; margin: -8px calc(-1 * var(--gutter)) 0; padding: 2px var(--gutter) 4px; scrollbar-width: none; }
.pchips::-webkit-scrollbar { display: none; }
.pchip { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: 999px; border: 0; background: var(--surface); box-shadow: var(--shadow); font: inherit; font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; }

.ppage .block__title { justify-content: space-between; color: var(--text); font-size: 17px; }
.plist { border-radius: 20px; }
.prow { border-left: 0; position: relative; padding: 13px 14px 13px 16px; }
.prow::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: var(--pc); }
.prow__emo { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--pc) 14%, transparent); font-size: 20px; }

.pempty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 18px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); }
.pempty span { font-size: 34px; }
.pempty h3 { font-size: 16px; }
.pempty p { font-size: 14px; color: var(--text-3); max-width: 300px; }

.pbdays { display: flex; gap: 10px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
.pbdays::-webkit-scrollbar { display: none; }
.pbday { flex: none; width: 140px; text-align: left; display: flex; flex-direction: column; gap: 3px; padding: 14px; border-radius: 20px; border: 0; background: linear-gradient(160deg, #FFE1EA, #FFF4F7); color: #4A1530; font: inherit; box-shadow: var(--shadow); }
.pbday__when { font-size: 12px; font-weight: 800; color: #E0245E; text-transform: uppercase; letter-spacing: .03em; }
.pbday strong { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pbday small { font-size: 12px; opacity: .7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pbday { background: linear-gradient(160deg, #3A1626, #24141C); color: #FFE1EA; } :root:not([data-theme="light"]) .pbday__when { color: #FF7FA3; } }
:root[data-theme="dark"] .pbday { background: linear-gradient(160deg, #3A1626, #24141C); color: #FFE1EA; } :root[data-theme="dark"] .pbday__when { color: #FF7FA3; }

.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plistcard { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; min-height: 108px; border-radius: 20px; border: 0; background: var(--surface); box-shadow: var(--shadow); font: inherit; color: var(--text); text-align: left; }
.plistcard__emo { font-size: 26px; margin-bottom: 4px; }
.plistcard strong { font-size: 16px; }
.plistcard small { font-size: 12px; color: var(--text-3); }
.plistcard--new { align-items: center; justify-content: center; color: var(--p-accent); background: transparent; box-shadow: none; border: 2px dashed var(--surface-3); }

.pentry { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.pentry + .pentry { border-top: 0.5px solid var(--line); }
.pentry > span { flex: 1; font-size: 16px; }
.pentry.is-done > span { text-decoration: line-through; color: var(--text-3); }
.pentry .prow__check.is-on { background: var(--p-accent); border-color: var(--p-accent); }
.pentry__del { border: 0; background: none; color: var(--text-3); padding: 4px; }
.pentry--empty { color: var(--text-3); justify-content: center; }

.pseg { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border-radius: 12px; padding: 3px; }
.pseg button { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--text-2); padding: 8px; border-radius: 10px; }
.pseg button.is-on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

.pmonth { background: var(--surface); border-radius: 24px; padding: 10px 8px 8px; box-shadow: var(--shadow); touch-action: pan-y; }
.pmonth__head { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 8px; }
.pmonth__head strong { font-size: 17px; }
.pmonth__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.pday { display: flex; flex-direction: column; align-items: center; gap: 3px; height: 52px; padding-top: 4px; border: 0; background: none; border-radius: 14px; font: inherit; color: var(--text); }
.pday__n { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 15px; font-weight: 600; }
.pday.is-out { opacity: .3; }
.pday.is-today .pday__n { color: var(--today); font-weight: 800; }
.pday.is-sel .pday__n { background: var(--p-grad); color: #fff; }
.pday__dots { display: flex; gap: 2px; }
.pday__dots i { width: 6px; height: 6px; border-radius: 50%; }

.pprofile { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.pprofile div { display: flex; flex-direction: column; }
.pprofile strong { font-size: 19px; }
.pprofile small { color: var(--text-3); font-size: 13px; }
.pbig { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border-radius: 22px; border: 0; background: var(--surface); box-shadow: var(--shadow); font: inherit; color: var(--text); text-align: left; }
.pbig > div { flex: 1; display: flex; flex-direction: column; }
.pbig strong { font-size: 16px; }
.pbig small { font-size: 13px; color: var(--text-3); }
.pbig > .ic:first-child { color: var(--p-accent); }
.pbig--toPersonal { background: var(--p-grad); color: #fff; }
.pbig--toPersonal small, .pbig--toPersonal > .ic:first-child { color: rgba(255, 255, 255, .9); }
.pnotice { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 16px; font-size: 14px; font-weight: 600; }
.pnotice.is-ok { background: var(--ok-soft); color: var(--ok); }
.pnotice.is-warn { background: var(--warn-soft); color: var(--warn); }
.pcard { padding: 14px 16px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); font-size: 14px; color: var(--text-2); }
.pcard ol { margin: 8px 0 0 18px; display: flex; flex-direction: column; gap: 4px; }

.iconbtn--personal { color: #FF4F7B; }

/* transição Trabalho ⇄ Pessoal */
.spaceveil { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; opacity: 0; transition: opacity .35s ease; color: #fff; pointer-events: none; }
.spaceveil--personal { background: var(--p-grad); }
.spaceveil--work { background: #16161C; }
.spaceveil > div { display: flex; flex-direction: column; align-items: center; gap: 8px; transform: scale(.92); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.spaceveil strong { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.spaceveil small { font-size: 14px; opacity: .85; }
.spaceveil.is-in { opacity: 1; }
.spaceveil.is-in > div { transform: scale(1); }
.spaceveil.is-out { opacity: 0; }

/* ---------- Pessoal: ícones profissionais ---------- */
.ptile { --s: 40px; width: var(--s); height: var(--s); flex: none; display: inline-grid; place-items: center; border-radius: calc(var(--s) * 0.3);
  background: linear-gradient(145deg, var(--g1), var(--g2)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 10px -3px color-mix(in srgb, var(--g2) 60%, transparent); }
.ptile .ic { stroke-width: 2.1; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15)); }
.ptitle { display: inline-flex; align-items: center; gap: 8px; }
.pchip { padding: 5px 12px 5px 5px; gap: 8px; }
.pcat { padding: 5px 12px 5px 5px; gap: 8px; }
.pcat.is-on { box-shadow: 0 0 0 2px var(--pc) inset; background: color-mix(in srgb, var(--pc) 10%, var(--surface)); }
.pbday { gap: 4px; }
.pbday .ptile { margin-bottom: 6px; }
.plistcard .ptile { margin-bottom: 8px; }
.plisthead { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 0 2px; color: var(--text-3); font-size: 13px; font-weight: 600; }
.picons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.picon { border: 0; background: var(--surface); border-radius: 16px; padding: 10px; display: grid; place-items: center; box-shadow: var(--shadow); }
.picon.is-on { box-shadow: 0 0 0 2.5px var(--p-accent); }
.input--inline { width: auto; min-width: 0; max-width: 170px; padding: 8px 10px; font-size: 14px; border-radius: 10px; }
.phero__stats span { display: inline-flex; align-items: center; gap: 5px; }
.pempty .ptile { margin-bottom: 6px; }
.prow > .ptile { margin-left: 2px; }

/* ---------- transição Trabalho ⇄ Pessoal (revelação circular) ---------- */
.spaceveil { opacity: 1; clip-path: circle(0 at var(--x, 50%) var(--y, 50%)); transition: clip-path .62s cubic-bezier(.65, 0, .35, 1), opacity .38s ease; }
.spaceveil.is-in { clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); }
.spaceveil.is-out { opacity: 0; }
.spaceveil--work { background: radial-gradient(120% 90% at 50% 0%, #2A2A33 0%, #0E0E12 70%); }
.spaceveil--personal { background: radial-gradient(130% 90% at 20% 0%, #FF8DB0 0%, #A06BFF 50%, #5B6BFF 100%); }
.spaceveil > div { opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .4s ease .22s, transform .55s cubic-bezier(.2, .8, .2, 1) .18s; }
.spaceveil.is-in > div { opacity: 1; transform: none; }
.spaceveil__badge { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 18px 40px rgba(0, 0, 0, 0.25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); margin-bottom: 6px; }
.spaceveil--work .spaceveil__badge { background: rgba(255, 255, 255, 0.08); }
.view.is-entering { animation: viewIn .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .spaceveil, .spaceveil > div, .view.is-entering { transition: none; animation: none; } }
.palert { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; background: var(--danger-soft); color: var(--text); }
.palert div { display: flex; flex-direction: column; gap: 2px; }
.palert small { color: var(--text-2); font-size: 13px; }
.premind > span { text-align: left; align-items: flex-start; } .premind b { font-size: 15px; }
/* cartão de ações do assistente */
.acard { margin: 2px 0 8px; padding: 12px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); border: 1.5px solid var(--tip, #4338CA); display: flex; flex-direction: column; gap: 8px; max-width: 94%; }
.acard--done { border-color: var(--ok); }
.acard--cancelled { opacity: .55; border-color: var(--line-2); }
.acard__head { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--tip, #4338CA); text-transform: uppercase; letter-spacing: .03em; }
.acard--done .acard__head { color: var(--ok); }
.acard__row { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.35; }
.acard__row .ic { flex: none; margin-top: 2px; color: var(--text-3); }
.acard__row span { display: flex; flex-direction: column; gap: 2px; }
.acard__row small { color: var(--warn); font-size: 12px; font-weight: 600; }
.acard__row.is-bad { color: var(--danger); }
.acard__btns { display: flex; gap: 8px; }
.acard__res { color: var(--text-3); font-size: 12px; }
.notifyrow { background: var(--surface); border-radius: 14px; margin-top: 8px; } .notifyrow > span { display: flex; flex-direction: column; gap: 2px; text-align: left; } .notifyrow b { display: inline-flex; align-items: center; gap: 6px; } .notifyrow small { color: var(--text-3); font-size: 12px; }
.notifyrow > span { flex: 1; align-items: flex-start; } .notifyrow b { justify-content: flex-start; }
.netgrid { display: flex; gap: 8px; overflow-x: auto; margin: 0; padding: 2px 0 4px; scrollbar-width: none; max-width: 100%; }
.netgrid::-webkit-scrollbar { display: none; }
.netbtn { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font: inherit; font-size: 14px; font-weight: 600; color: var(--text); }
.netbtn.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.ecard__late { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 800; color: #fff; background: var(--danger); border-radius: 999px; padding: 2px 8px; white-space: nowrap; text-transform: uppercase; letter-spacing: .02em; }
.ecard__late--row { align-self: flex-start; margin: 4px 0 2px; }
.block__sub { font-size: 13px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; margin-top: 6px; }
.seg--notify { display: grid; grid-template-columns: repeat(3, 1fr); }
[data-swipe] { will-change: transform; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
/* faixa contínua de dias */
.daystrip { display: flex; grid-template-columns: none; gap: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; overscroll-behavior-x: contain; padding: 4px 0 6px; cursor: grab; }
.daystrip::-webkit-scrollbar { display: none; }
.daystrip .wday { flex: 0 0 calc(100% / 7); scroll-snap-align: start; }
.daystrip .wday.is-first { position: relative; }
.daystrip .wday.is-first::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1.5px; border-radius: 2px; background: var(--line-2); }

/* resumo do dia organizado */
.brief__body { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; text-align: left; }
.brow { display: flex; gap: 10px; align-items: flex-start; }
.brow__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brow__main b { font-size: 15px; color: var(--text); }
.brow__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.bchip { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--surface); color: var(--text-2); }
.bchip--ok { color: var(--ok); background: var(--ok-soft); }
.bchip--late { color: #fff; background: var(--danger); }
.bchip--warn { color: var(--warn); background: var(--warn-soft); }
.bchip--free { color: var(--tip, #4338CA); }
.brow__next { font-size: 12.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
/* trava a largura: a faixa de dias nunca pode alargar a página (Safari do iPhone) */
html, body { overflow-x: hidden; max-width: 100%; }
#app, .view, .hdr, .week { max-width: 100%; min-width: 0; }
.week { overflow: hidden; }
.daystrip { width: 100%; max-width: 100%; min-width: 0; contain: inline-size; }
.daystrip .wday { flex: 0 0 calc((min(100vw, 540px) - 2 * var(--gutter)) / 7); width: calc((min(100vw, 540px) - 2 * var(--gutter)) / 7); min-width: 0; }
.wday { position: relative; } .wday .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* resumo do dia compacto */
.brief { padding: 10px 12px; gap: 10px; align-items: center; }
.brief .brief__ic { width: 30px; height: 30px; }
.brief__body { gap: 6px; }
.brow { display: flex; align-items: center; gap: 7px; font-size: 14px; min-width: 0; }
.brow b { font-size: 14px; color: var(--text); }
.brow__st { font-weight: 600; color: var(--text-2); white-space: nowrap; }
.brow__st.is-ok { color: var(--ok); }
.brow__st.is-late { color: var(--danger); }
.brow__next { color: var(--text-3); font-size: 13px; }
/* o topo da transição tem a mesma cor da barra do iPhone (emenda invisível) */
.spaceveil--personal { background: linear-gradient(180deg, #C88AE8 0%, #A06BFF 45%, #5B6BFF 100%); }
.spaceveil--work { background: linear-gradient(180deg, #1E1E25 0%, #0E0E12 100%); }

/* Faixa da hora/bateria: o app desenha atrás dela (barra translúcida do iPhone).
   Escura no Trabalho (combina com a ilha do iPhone) e roxa no Pessoal; texto da barra fica branco. */
:root { --bar: #0E0E12; }
:root[data-space="personal"] { --bar: linear-gradient(90deg, #C88AE8 0%, #A06BFF 55%, #7C6BFF 100%); }
/* (faixa desenhada atrás da hora/bateria removida: a barra do iPhone fica limpa, na cor do app) */
.spaceveil { z-index: 300; }
body.is-client::before { display: none; }
.profpic { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 0; }
.profpic__img { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; color: #fff; font-size: 38px; font-weight: 800; box-shadow: var(--shadow); }
.profpic__img img { width: 100%; height: 100%; object-fit: cover; }
.login__switch { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 14px; color: var(--text-3); margin-top: 6px; }
/* coração do Pessoal pulsando devagar, para chamar atenção */
@keyframes heartPulse { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.18); } 24% { transform: scale(1); } 36% { transform: scale(1.12); } 48% { transform: scale(1); } }
.iconbtn--personal .ic { animation: heartPulse 2.6s ease-in-out infinite; transform-origin: center; }
.iconbtn--personal { position: relative; }
.iconbtn--personal::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(255, 79, 123, 0.35); animation: heartRing 2.6s ease-out infinite; pointer-events: none; }
@keyframes heartRing { 0% { box-shadow: 0 0 0 0 rgba(255, 79, 123, 0.35); } 60%, 100% { box-shadow: 0 0 0 10px rgba(255, 79, 123, 0); } }
@media (prefers-reduced-motion: reduce) { .iconbtn--personal .ic, .iconbtn--personal::after { animation: none; } }
/* guia "Instale o app" */
.iguide { position: fixed; inset: 0; z-index: 250; display: flex; align-items: flex-end; justify-content: center; }
.iguide__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); opacity: 0; transition: opacity .3s; }
.iguide__card { position: relative; width: 100%; max-width: 540px; margin: 0 8px calc(var(--safe-b) + 8px); padding: 18px 18px 12px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); transform: translateY(110%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; gap: 12px; }
.iguide.is-open .iguide__backdrop { opacity: 1; }
.iguide.is-open .iguide__card { transform: none; }
.iguide__head { display: flex; align-items: center; gap: 12px; }
.iguide__head img { border-radius: 14px; box-shadow: var(--shadow); }
.iguide__head div { display: flex; flex-direction: column; }
.iguide__head strong { font-size: 18px; }
.iguide__head small { font-size: 13px; color: var(--text-3); }
.iguide__why { list-style: none; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 16px; background: var(--surface-2); font-size: 14px; color: var(--text-2); }
.iguide__why li { display: flex; align-items: center; gap: 8px; }
.isteps { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.isteps li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.35; }
.istep__n { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--ink-on); font-size: 12px; font-weight: 800; }
.istep__ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: #0A84FF; }
.iguide__foot { display: flex; justify-content: center; }
.iguide__arrow { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); color: #fff; animation: iArrow 1.4s ease-in-out infinite; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
@keyframes iArrow { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
.login__install { margin-top: 10px; }
.isteps, .iguide__why { padding-left: 0; margin: 0; } .isteps { padding: 0 2px; }
/* Painel do dono */
.akpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.akpis div { background: var(--surface); border-radius: 14px; padding: 10px 6px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.akpis b { font-size: 22px; font-weight: 800; }
.akpis small { font-size: 11px; color: var(--text-3); }
.accts { display: flex; flex-direction: column; gap: 10px; }
.acct { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.acct__top { display: flex; align-items: center; gap: 10px; border: 0; background: none; font: inherit; color: inherit; text-align: left; padding: 0; width: 100%; }
.aface { width: var(--s); height: var(--s); border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 800; overflow: hidden; }
.aface img { width: 100%; height: 100%; object-fit: cover; }
.acct__id { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.acct__id strong { font-size: 16px; display: flex; align-items: center; gap: 6px; }
.acct__id small { color: var(--text-3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct__last { display: flex; flex-direction: column; align-items: flex-end; }
.acct__last b { font-size: 13px; }
.acct__last small { font-size: 11px; color: var(--text-3); }
.adot { width: 8px; height: 8px; border-radius: 50%; background: #34C759; display: inline-block; box-shadow: 0 0 0 3px rgba(52, 199, 89, .2); }
.acct__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.acct__chips span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.acct__chips span.ok { background: var(--ok-soft); color: var(--ok); }
.acct__chips span.warn { background: var(--warn-soft); color: var(--warn); }
.acct__more h4 { font-size: 13px; margin: 10px 0 6px; color: var(--text-2); }
.acct__more h4 small { font-weight: 500; color: var(--text-3); }
.agrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.agrid div { background: var(--surface-2); border-radius: 10px; padding: 7px 9px; display: flex; flex-direction: column; }
.agrid small { font-size: 11px; color: var(--text-3); }
.agrid b { font-size: 14px; }
.agrid b.bad { color: var(--danger); }
.adays { display: grid; grid-template-columns: repeat(30, 1fr); gap: 2px; }
.adays i { height: 16px; border-radius: 3px; background: var(--surface-3); }
.adays i.on { background: var(--ok); }
.login__logo { width: 150px; height: 150px; border-radius: 34px; box-shadow: 0 14px 40px rgba(0,0,0,.25); }

/* Abertura: tela inteira preta (sem faixa branca embaixo) */
html:not(.intro-done), html:not(.intro-done) body { background: #000; }
.intro { position: fixed; top: 0; left: 0; right: 0; bottom: 0; height: 100lvh; min-height: 100vh; }
/* Cabeçalho do topo liso (sem efeito de vidro desfocado), na cor do app */
.hdr { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
.phdr { background: var(--bg); }
html, body { background: var(--bg); }
/* teste grátis e planos */
.trialbar { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #111, #34343d); color: #fff; font: inherit; text-align: left; box-shadow: var(--shadow); }
.trialbar.is-ending { background: linear-gradient(135deg, #D92D20, #FF6A3D); }
.trialbar__ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.15); flex: none; }
.trialbar > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.trialbar b { font-size: 14px; }
.trialbar small { font-size: 12px; opacity: .8; }
.trialbar__go { background: #fff; color: #111; font-weight: 800; font-size: 13px; padding: 7px 12px; border-radius: 999px; flex: none; }
.paywall { position: fixed; inset: 0; z-index: 400; background: #0B0B0E; color: #fff; overflow-y: auto; overflow-x: hidden; opacity: 0; transition: opacity .25s; }
.paywall.is-open { opacity: 1; }
.paywall__inner { max-width: 480px; margin: 0 auto; padding: calc(var(--safe-t) + 36px) 20px calc(var(--safe-b) + 28px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.paywall__logo { border-radius: 24px; }
.paywall h1 { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.paywall p { color: rgba(255,255,255,.75); font-size: 15px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 6px; }
.plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 14px; border-radius: 20px; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: inherit; text-align: left; }
.plan--best { border-color: #A06BFF; background: linear-gradient(160deg, rgba(160,107,255,.28), rgba(255,122,162,.18)); }
.plan__tag { position: absolute; top: -10px; right: 10px; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: #A06BFF; }
.plan__name { font-size: 14px; font-weight: 700; opacity: .85; }
.plan__price { font-size: 13px; }
.plan__price b { font-size: 22px; }
.plan__note { font-size: 12px; opacity: .7; }
.plan.is-busy { opacity: .6; pointer-events: none; }
.paywall__list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 8px; text-align: left; width: 100%; font-size: 14px; color: rgba(255,255,255,.85); }
.paywall__list li { display: flex; gap: 8px; align-items: center; }
.paywall__list .ic { color: #34C759; flex: none; }
.paywall__safe { font-size: 12.5px !important; display: flex; align-items: center; gap: 5px; }
.paywall__err { color: #FF8A7A !important; font-size: 13.5px !important; }
.paywall__foot { display: flex; flex-direction: column; gap: 4px; }
.paywall__foot .btn-text { color: rgba(255,255,255,.8); }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: #fff; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* guia Como funciona */
.guide { display: flex; flex-direction: column; gap: 14px; padding: 4px var(--gutter) calc(var(--safe-b) + 16px); }
.guide__hero { border-radius: 24px; padding: 20px 18px; color: #fff; display: flex; flex-direction: column; gap: 8px; }
.guide__badge { align-self: flex-start; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.18); }
.guide__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.16); }
.guide__hero h2 { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.guide__hero p { font-size: 14.5px; opacity: .9; }
.guide__body { display: flex; flex-direction: column; gap: 10px; }
.gitem { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.gitem__ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); flex: none; color: var(--text); }
.gitem b { font-size: 15px; }
.gitem p { font-size: 13.5px; color: var(--text-2); margin-top: 2px; }
.gmodes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gmode { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.gmode b { font-size: 16px; }
.gmode small { font-size: 12.5px; color: var(--text-3); }
.gmode__ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; }
.gmode__ic--work { background: linear-gradient(135deg, #1d1d24, #45454f); }
.gmode__ic--life { background: linear-gradient(135deg, #FF7AA2, #A06BFF); }
.gnote { font-size: 14px; color: var(--text-2); padding: 0 2px; }
.guide__dots { display: flex; justify-content: center; gap: 6px; }
.guide__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--surface-3); }
.guide__dots i.on { background: var(--ink); width: 20px; border-radius: 4px; }
.guide__nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.guide__nav .btn--primary { flex: 1; }

/* ---------- Ficha de cadastro ---------- */
.ficha { position: fixed; inset: 0; z-index: 390; background: var(--bg); color: var(--text); overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; opacity: 0; transform: translateY(14px); transition: opacity .28s, transform .28s; }
.ficha.is-open { opacity: 1; transform: none; }
.ficha--terms { z-index: 395; }
.ficha__inner { position: relative; max-width: 520px; margin: 0 auto; padding: calc(var(--safe-t) + 22px) 20px calc(var(--safe-b) + 28px); display: flex; flex-direction: column; gap: 14px; }
.ficha__x { position: absolute; top: calc(var(--safe-t) + 12px); right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text-2); display: grid; place-items: center; z-index: 2; }
.ficha__prog { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin: 6px 48px 4px 0; }
.ficha__prog i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0A84FF, #FF7AA2); transition: width .35s ease; }
.ficha__step { display: flex; flex-direction: column; gap: 10px; }
.ficha__step.is-new { animation: fichaIn .28s ease; }
@keyframes fichaIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.ficha h1 { font-size: 28px; line-height: 1.12; letter-spacing: -.02em; margin: 6px 0 0; }
.ficha h2 { font-size: 25px; line-height: 1.15; letter-spacing: -.02em; margin: 4px 0 0; }
.ficha__sub { color: var(--text-2); font-size: 15px; margin: 0 0 6px; line-height: 1.4; }
.ficha .flabel { margin-top: 8px; }
.ficha__hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-top: 24px; }
.ficha__hero img:not(.brand) { border-radius: 24px; box-shadow: var(--shadow-lg); }
.ficha__hero p { color: var(--text-2); font-size: 16px; line-height: 1.45; margin: 0; }
.ficha__bul { list-style: none; padding: 14px 16px; margin: 6px 0 0; width: 100%; display: flex; flex-direction: column; gap: 10px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); text-align: left; font-size: 15px; }
.ficha__bul li { display: flex; gap: 10px; align-items: center; }
.ficha__bul .ic { color: #0A84FF; flex: none; }
/* botões fixos no rodapé, com fundo sólido: nunca ficam por cima do conteúdo */
.ficha__nav { display: flex; gap: 10px; align-items: center; justify-content: space-between; position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; padding: 12px max(20px, calc((100vw - 520px) / 2 + 20px)) calc(var(--safe-b) + 12px); background: var(--bg); box-shadow: 0 -1px 0 var(--line), 0 -10px 24px var(--bg); }
.ficha__inner { padding-bottom: calc(var(--safe-b) + 110px) !important; }
.ficha__nav .btn--primary { flex: 1; max-width: 70%; margin-left: auto; min-height: 52px; font-size: 17px; }
.ficha__err { color: var(--danger); font-size: 14px; font-weight: 600; margin: 4px 0 0; }
.ficha__search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding-left: 12px; color: var(--text-3); }
.ficha__search .input { border: 0; background: transparent; padding-left: 2px; }
.ficha__list { display: flex; flex-direction: column; max-height: 290px; overflow-y: auto; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.ficha__opt { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 11px 14px; border: 0; background: transparent; text-align: left; font: inherit; color: var(--text); }
.ficha__opt + .ficha__opt { border-top: 0.5px solid var(--line); }
.ficha__opt b { font-size: 15.5px; font-weight: 600; }
.ficha__opt small { font-size: 12.5px; color: var(--text-3); }
.ficha__opt.is-on { background: color-mix(in srgb, #0A84FF 12%, transparent); }
.ficha__opt.is-on b { color: #0A84FF; }
.ficha__opt--own b { color: #0A84FF; }
.ficha__pick { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: var(--ok-soft); color: var(--ok); }
.ficha__pick > div { display: flex; flex-direction: column; gap: 2px; color: var(--text); }
.ficha__pick small { color: var(--text-2); font-size: 13px; line-height: 1.35; }
.ficha__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ficha__cards--1 { grid-template-columns: 1fr; }
.ficha__card { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 13px 14px; border-radius: var(--radius); border: 2px solid transparent; background: var(--surface); box-shadow: var(--shadow); text-align: left; font: inherit; color: var(--text); }
.ficha__card b { font-size: 15px; }
.ficha__card small { font-size: 12.5px; color: var(--text-3); line-height: 1.35; }
.ficha__card.is-on { border-color: #0A84FF; background: color-mix(in srgb, #0A84FF 7%, var(--surface)); }
.ficha__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.ficha__day { height: 44px; border-radius: 12px; border: 0; background: var(--surface); box-shadow: var(--shadow); font: inherit; font-weight: 600; font-size: 13.5px; color: var(--text-2); }
.ficha__day.is-on { background: #0A84FF; color: #fff; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.row3 > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.row3 .input { padding: 12px 8px; font-size: 16px; }
.ficha__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ficha__chip { padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font: inherit; font-size: 14.5px; font-weight: 600; color: var(--text-2); transition: transform .12s; }
.ficha__chip:active { transform: scale(.96); }
.ficha__chip.is-on { background: #0A84FF; border-color: #0A84FF; color: #fff; }
.ficha__range { width: 100%; accent-color: #0A84FF; height: 32px; }
.ficha__rangev { text-align: center; margin: -2px 0 0; color: #0A84FF; font-size: 15px; }
.ficha__toggles { margin-top: 8px; }
.ficha__toggles .list__row { display: flex; align-items: center; padding: 12px 14px; gap: 10px; }
.ficha__toggles .list__row span { flex: 1; }
.ficha__score { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.ficha__score > div:last-child { display: flex; flex-direction: column; gap: 3px; }
.ficha__score small { color: var(--text-3); font-size: 13px; line-height: 1.35; }
.ficha__gauge { --v: 50; flex: none; width: 82px; height: 82px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, var(--surface) 76%, transparent 77%), conic-gradient(#0A84FF calc(var(--v) * 1%), var(--surface-3) 0); }
.ficha__gauge b { font-size: 26px; line-height: 1; letter-spacing: -.02em; }
.ficha__gauge small { font-size: 11px; }
.ficha__box { padding: 14px 16px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.ficha__box > b { display: flex; align-items: center; gap: 7px; font-size: 15px; }
.ficha__box p, .ficha__box li { color: var(--text-2); font-size: 14px; line-height: 1.45; margin: 0; }
.ficha__box ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.ficha__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); margin-top: 6px; line-height: 1.4; }
.ficha__consent input { width: 22px; height: 22px; accent-color: #0A84FF; flex: none; margin-top: 1px; }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; color: #0A84FF; text-decoration: underline; }
.terms { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.terms b { color: var(--text); }
.pbig--ficha > .ic:first-child { color: #0A84FF; }
.acct__prof { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); padding: 0 2px; }
.acct__prof .ic { color: #0A84FF; }
.acct__prof.is-off { color: var(--text-3); }
.adiffs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.adiffs span { font-size: 12px; padding: 4px 9px; border-radius: 99px; background: var(--surface-2); color: var(--text-2); }
.ainsights { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.ainsights__head { display: flex; flex-direction: column; }
.ainsights__head small { color: var(--text-3); font-size: 12.5px; }
.ainsights h4 { margin: 8px 0 2px; font-size: 13px; color: var(--text-3); text-transform: uppercase; letter-spacing: .03em; }
.abars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.abars li { display: grid; grid-template-columns: minmax(0, 1fr) 80px 24px; align-items: center; gap: 8px; font-size: 13.5px; }
.abars li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abars li i { height: 7px; border-radius: 99px; background: linear-gradient(90deg, #0A84FF var(--w), var(--surface-3) var(--w)); }
.abars li b { text-align: right; }
/* agenda compartilhada */
.wschip { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 5px 10px; border-radius: 99px; border: 0; background: var(--surface); box-shadow: var(--shadow); font: inherit; font-size: 13px; font-weight: 600; color: var(--text-2); }
.wschip .ic:first-child { color: #0A84FF; }
.pbig--share > .ic:first-child { color: #0E9F6E; }
.share__hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 8px 6px 4px; }
.share__hero .ic { color: #0E9F6E; }
.share__hero h2 { font-size: 22px; letter-spacing: -.02em; margin: 0; }
.share__hero p { color: var(--text-2); font-size: 15px; line-height: 1.45; margin: 0; }
.plans--light .plan { background: var(--surface); color: var(--text); box-shadow: var(--shadow); border: 2px solid transparent; }
.plans--light .plan--best { border-color: #0E9F6E; }
.plans--light .plan__note { color: var(--text-3); }
.plans--light .plan__tag { background: #0E9F6E; color: #fff; }
.share__note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: var(--warn-soft); color: var(--warn); font-size: 14px; line-height: 1.4; }
.share__note div { color: var(--text-2); }
.share__note b { color: var(--text); }
.share__plan { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius); background: var(--ok-soft); color: var(--ok); }
.share__plan div { display: flex; flex-direction: column; color: var(--text); }
.share__plan small { color: var(--text-2); }
.share__err { color: var(--danger); font-size: 14px; font-weight: 600; }
.list__row small.ok { color: var(--ok); font-weight: 600; }
.paywall__addon { font-size: 13px !important; line-height: 1.45; text-align: left; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.07); display: flex; gap: 8px; align-items: flex-start; }
.paywall__addon .ic { flex: none; margin-top: 2px; color: #34C759; }
.login__invite { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 12px 14px; border-radius: 16px; background: var(--ok-soft); color: var(--ok); font-size: 14px; line-height: 1.4; max-width: 420px; margin: 0 auto 6px; }
.login__invite span { color: var(--text); }
.list__row > .avatar { flex: none; width: var(--s); height: var(--s); }
/* concordância (a "bolinha" dos termos) */
.consent { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 14px; line-height: 1.45; color: var(--text-2); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__dot { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; background: var(--surface); transition: background .15s, border-color .15s; }
.consent input:checked + .consent__dot { background: #34C759; border-color: #34C759; color: #fff; }
.consent input:focus-visible + .consent__dot { outline: 3px solid rgba(10, 132, 255, .35); outline-offset: 2px; }
.consent a { color: #0A84FF; font-weight: 600; }
.consent--ficha { margin-top: 8px; padding: 14px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.login__hint { font-size: 12.5px; color: var(--text-3); margin: -4px 0 2px; text-align: left; }
.pbig--privacy > .ic:first-child { color: #0E9F6E; }
.list__row--alone { width: 100%; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); border: 0; font: inherit; text-align: left; }
.share__pending { margin-top: 8px; }
.share__pending .list__row .share__pinfo { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; }
.share__pending .list__row small { color: var(--text-3); font-size: 12px; }
.termsgate { z-index: 396; }
a.list__row { color: inherit; text-decoration: none; }
.hdr__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.hdr__chips .wschip { margin-top: 0; }
.profchip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; border: 0; background: var(--brand-soft, var(--surface)); color: var(--brand, var(--text-2)); font: inherit; font-size: 13px; font-weight: 650; box-shadow: var(--shadow); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg3__btn { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 6px; border-radius: var(--radius); border: 2px solid transparent; background: var(--surface); box-shadow: var(--shadow); font: inherit; color: var(--text-2); }
.seg3__btn b { font-size: 14px; color: var(--text); }
.seg3__btn small { font-size: 11.5px; color: var(--text-3); }
.seg3__btn.is-on { border-color: var(--ink); color: var(--ink); }
.ficha__opt { flex-direction: row !important; align-items: center !important; gap: 12px !important; }
.ficha__opt > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.ficha__optic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: #0A84FF; }
.ficha__opt.is-on .ficha__optic { background: #0A84FF; color: #fff; }
.ficha__pick > .ic { flex: none; margin-top: 2px; }
.aerrs { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.aerr { background: var(--surface); border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow); }
.aerr__top { display: flex; gap: 8px; justify-content: space-between; align-items: flex-start; }
.aerr__top b { font-size: 13.5px; color: var(--danger); word-break: break-word; }
.aerr__top span { flex: none; font-size: 12px; font-weight: 700; color: var(--text-2); background: var(--surface-2); padding: 2px 8px; border-radius: 99px; }
.aerr small { display: block; font-size: 12px; color: var(--text-3); margin-top: 4px; word-break: break-word; }
/* celulares pequenos: campos de horário não vazam para fora da tela */
.list__row input[type="time"] { min-width: 0; width: 7.2em; flex: none; }
@media (max-width: 400px) {
  [data-routine-form] .list__row { flex-wrap: wrap; row-gap: 8px; }
  [data-routine-form] .list__row > span:first-child { flex-basis: 100%; }
  [data-routine-form] .list__row input[type="time"] { flex: 1 1 0; width: auto; }
}
.devrow > span { flex-direction: column; align-items: flex-start !important; gap: 2px !important; }
/* celulares pequenos: título do Pessoal não espreme; botões do topo menores */
@media (max-width: 400px) {
  .phdr h1 { font-size: 25px; }
  .phdr__actions { gap: 6px; }
  .phdr__actions .btn-pill, .phdr__actions [data-action="space"] span { font-size: 13px; }
}
@media (max-width: 370px) {
  .phdr__row { flex-wrap: wrap; align-items: flex-start; }
  .phdr__actions { margin-left: auto; }
}
/* campos lado a lado (data, CPF, horários) nunca saem da caixa */
.row2 .input, .row3 .input { min-width: 0; width: 100%; }
.ficha input[type="date"] { font-size: 16px; padding-right: 8px; }
/* marca: versão preta no claro, branca no escuro (respeita o tema escolhido no app) */
.brand { display: block; width: auto; max-width: 100%; user-select: none; -webkit-user-drag: none; }
.brand--ondark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand--onlight { display: none; } :root:not([data-theme="light"]) .brand--ondark { display: block; } }
:root[data-theme="dark"] .brand--onlight { display: none; }
:root[data-theme="dark"] .brand--ondark { display: block; }
.brandwrap { display: flex; justify-content: center; }
.login__brand { margin-bottom: 4px; }
.splash .brandwrap { margin-bottom: 8px; }
.ficha__hero .brandwrap, .termsgate .brandwrap { margin-bottom: 6px; }

.paywall__addon > span { flex: 1; min-width: 0; }
/* tipos de compromisso: 4 colunas que nunca passam da tela; nomes longos quebram certinho */
.typegrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.typebtn { min-width: 0; padding: 12px 4px 10px; }
.typebtn span { display: block; max-width: 100%; text-align: center; line-height: 1.15; overflow-wrap: anywhere; hyphens: auto; font-size: 12.5px; }
@media (max-width: 380px) { .typegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.btn--trial { min-height: 56px; font-size: 17px; border: 0; color: #fff; background: linear-gradient(135deg, #FF7AA2, #A06BFF 55%, #6A7BFF); box-shadow: 0 10px 30px rgba(160, 107, 255, .35); display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; }
.paywall__or { font-size: 13px !important; color: rgba(255,255,255,.55) !important; margin: 2px 0 -4px; }

/* ---------- Tela de planos: escolher primeiro, pagar no botão ---------- */
.paywall .plan { transition: border-color .15s, transform .12s, box-shadow .15s; min-height: 132px; padding-top: 18px; }
.paywall .plan:active { transform: scale(.98); }
.paywall .plan:not(.is-on) { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.paywall .plan:not(.is-on) .plan__name, .paywall .plan:not(.is-on) .plan__price { opacity: .78; }
.paywall .plan.is-on { border-color: #A06BFF; box-shadow: 0 0 0 3px rgba(160,107,255,.35), 0 12px 30px rgba(160,107,255,.22); }
.paywall .plan[disabled] { opacity: .55; }
.plan__radio { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); display: grid; place-items: center; color: transparent; }
.plan.is-on .plan__radio { background: #A06BFF; border-color: #A06BFF; color: #fff; }
.plan--best .plan__tag { right: auto; left: 12px; }
.plan__tag--cur { left: 12px; right: auto; background: rgba(255,255,255,.25) !important; }
.plan__name { padding-right: 26px; }
.plan__save { margin-top: 4px; font-size: 11.5px; font-weight: 800; color: #3DDC84; }
.cmp { width: 100%; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); overflow: hidden; text-align: left; }
.cmp__row { display: grid; grid-template-columns: minmax(0, 1fr) 62px 62px; align-items: center; gap: 6px; padding: 9px 12px; font-size: 13px; line-height: 1.3; color: rgba(255,255,255,.88); border-top: 1px solid rgba(255,255,255,.07); }
.cmp__row > span:not(:first-child) { text-align: center; justify-self: center; }
.cmp__row--head { border-top: 0; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); }
.cmp__row--head > span:last-child { color: #C9A8FF; }
.cmp__yes { color: #3DDC84; display: inline-grid; }
.cmp__no { color: rgba(255,255,255,.3); }
.cmp__row--addon > span:first-child { display: flex; gap: 6px; align-items: flex-start; }
.cmp__row--addon .ic { flex: none; margin-top: 1px; color: #FFB547; }
.cmp__price { font-size: 11px; color: rgba(255,255,255,.6); line-height: 1.25; }
.cmp__price b { color: #fff; font-size: 12.5px; }
.paywall__cta { position: sticky; bottom: 0; width: calc(100% + 40px); margin: 4px -20px calc(-1 * (var(--safe-b) + 28px)); padding: 14px 20px calc(var(--safe-b) + 16px); background: linear-gradient(to top, #0B0B0E 70%, rgba(11,11,14,0)); z-index: 2; }
.btn--big { min-height: 56px; font-size: 17px; font-weight: 800; }
.btn.is-busy { opacity: .7; }
@media (max-width: 370px) { .cmp__row { grid-template-columns: minmax(0, 1fr) 52px 52px; font-size: 12.5px; } .plan__price b { font-size: 19px; } }

/* ---------- Conta sem plano ativo: tudo apagado e travado ---------- */
/* sem plano: dá para olhar tudo (rolar e trocar de aba); qualquer ação abre os planos */
html.is-locked #view .page > *:not(.trialbar--lock), html.is-locked #view > *:not(.page):not(.trialbar--lock) { user-select: none; }
html.is-locked .tabbar__fab { filter: grayscale(1); opacity: .5; }
/* confirmações (ex.: "Sair da conta?") precisam abrir POR CIMA da tela de planos */
body:has(.paywall) #sheets { z-index: 500; }
.trialbar--lock { background: linear-gradient(135deg, #6A4BFF, #C13FD9); position: relative; z-index: 2; }
.trialbar--lock .trialbar__go { color: #6A4BFF; }
.paywall .btn--primary { background: linear-gradient(135deg, #8B5CFF, #D946EF); color: #fff; box-shadow: 0 10px 28px rgba(160, 107, 255, .35); border: 0; }

/* ---------- Sua conta (Ajustes) ---------- */
.whocard { display: flex; flex-direction: column; gap: 12px; }
.whocard__top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.whocard__top > .avatar, .whocard__top > .ic { flex: none; }
.whocard__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.whocard__txt strong { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 16px; overflow-wrap: anywhere; }
.whocard__txt small { color: var(--text-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whocard__btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.whocard__btns .btn { width: 100%; justify-content: center; }
.vbadge { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: linear-gradient(135deg, #F5C451, #E59A1C); color: #3A2500; }
.upgrade { width: 100%; border: 1.5px solid #A06BFF; text-align: left; font: inherit; color: var(--text); margin-top: 8px; }
.upgrade > .ic:first-child { color: #A06BFF; flex: none; }
/* Seu perfil: 8 cores numa linha só */
.palette--8 { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
/* janela aberta cobre a barra de abas (no iPhone a barra com desfoque passava por cima da janela) */
body.has-sheet .tabbar { visibility: hidden; }
.sheet-wrap { transform: translateZ(0); }

/* ---------- Recompensa: faíscas, sequência e progresso ---------- */
.burst { position: fixed; z-index: 1200; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 2px; opacity: 0; animation: burst .8s cubic-bezier(.15,.8,.3,1) forwards; }
.burst i:nth-child(3n) { border-radius: 50%; }
@keyframes burst { 0% { transform: translate(0, 0) scale(.6) rotate(0); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--x), calc(var(--y) + 24px)) scale(1) rotate(200deg); opacity: 0; } }
.streak { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; font-weight: 800; color: #E8590C; background: rgba(255, 146, 43, .14); padding: 3px 8px; border-radius: 999px; width: fit-content; }
.summary__progress > div:last-child { display: flex; flex-direction: column; }
.dayprog { padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.dayprog__top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.dayprog__bar { height: 8px; border-radius: 999px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.dayprog__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #34C759, #0E9F6E); transition: width .5s cubic-bezier(.2,.8,.2,1); }

/* ---------- Feito para você (Pessoal) ---------- */
.foryou__lead { font-size: 13px; color: var(--text-3); margin: -4px 0 10px; }
.foryou__list { display: flex; flex-direction: column; gap: 8px; }
.foryou__item { position: relative; }
.foryou__add { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 44px 10px 10px; border-radius: 18px; border: 1.5px dashed color-mix(in srgb, var(--p-accent, #A06BFF) 45%, transparent); background: var(--surface); color: var(--text); font: inherit; text-align: left; }
.foryou__add b { font-size: 15px; }
.foryou__add small { font-size: 12.5px; color: var(--text-3); }
.foryou__plus { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--p-accent, #A06BFF); color: #fff; }
.foryou__add { padding-right: 76px; }
.foryou__x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: var(--text-3); display: grid; place-items: center; }
.foryou__add > span:not(.ptile) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.foryou__add > .ptile { flex: none; }
.paywall__foot { align-items: center; width: 100%; }
.paywall__safe { display: block !important; text-align: center; line-height: 1.45; }
.paywall__safe .ic { display: inline-block; vertical-align: -2px; margin-right: 4px; }
.cmp__price b { white-space: nowrap; }

/* ==========================================================================
   DESIGN 2.0 — padrão de app grande (iOS / Instagram / WhatsApp / GitHub)
   Cores neutras e sólidas, uma cor de destaque por modo, profundidade com
   transparência (vidro) e não com sombra pesada; nada de degradê decorativo.
   ========================================================================== */
:root {
  --bg: #F2F2F7;
  --surface: #FFFFFF;
  --surface-2: #EFEFF4;
  --surface-3: #E3E3E8;
  --text: #0B0B0F;
  --text-2: #3C3C43;
  --text-3: #8A8A8E;
  --line: rgba(60, 60, 67, 0.13);
  --line-2: rgba(60, 60, 67, 0.22);
  --shadow: 0 0.5px 0 rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.18);
  --tabbar-bg: rgba(255, 255, 255, 0.74);
  --glass-line: rgba(0, 0, 0, 0.08);
  --press: rgba(0, 0, 0, 0.06);
  --p-accent: #FF2D55;
  --p-grad: #FF2D55;
  --radius: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --surface: #1C1C1E; --surface-2: #2C2C2E; --surface-3: #3A3A3C;
    --text: #FFFFFF; --text-2: #D1D1D6; --text-3: #8E8E93;
    --line: rgba(84, 84, 88, 0.55); --line-2: rgba(120, 120, 128, 0.5);
    --shadow: none; --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.7);
    --tabbar-bg: rgba(30, 30, 32, 0.72); --glass-line: rgba(255, 255, 255, 0.10); --press: rgba(255, 255, 255, 0.08);
    --p-accent: #FF375F; --p-grad: #FF375F;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --surface: #1C1C1E; --surface-2: #2C2C2E; --surface-3: #3A3A3C;
  --text: #FFFFFF; --text-2: #D1D1D6; --text-3: #8E8E93;
  --line: rgba(84, 84, 88, 0.55); --line-2: rgba(120, 120, 128, 0.5);
  --shadow: none; --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.7);
  --tabbar-bg: rgba(30, 30, 32, 0.72); --glass-line: rgba(255, 255, 255, 0.10); --press: rgba(255, 255, 255, 0.08);
  --p-accent: #FF375F; --p-grad: #FF375F;
}
/* Pessoal: a mesma base neutra; o que muda é a cor de destaque (rosa do sistema) */
:root[data-space="personal"] { --bg: #F2F2F7; --surface: #FFFFFF; --surface-2: #EFEFF4; --surface-3: #E3E3E8; --text: #0B0B0F; --text-2: #3C3C43; --text-3: #8A8A8E; --line: rgba(60, 60, 67, 0.13); --ink: #FF2D55; --ink-on: #FFFFFF; --today: #FF2D55; --shadow: 0 0.5px 0 rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.04); --tabbar-bg: rgba(255, 255, 255, 0.74); }
@media (prefers-color-scheme: dark) {
  :root[data-space="personal"]:not([data-theme="light"]) { --bg: #000000; --surface: #1C1C1E; --surface-2: #2C2C2E; --surface-3: #3A3A3C; --text: #FFFFFF; --text-2: #D1D1D6; --text-3: #8E8E93; --line: rgba(84, 84, 88, 0.55); --ink: #FF375F; --ink-on: #FFFFFF; --today: #FF375F; --shadow: none; --tabbar-bg: rgba(30, 30, 32, 0.72); }
}
:root[data-space="personal"][data-theme="dark"] { --bg: #000000; --surface: #1C1C1E; --surface-2: #2C2C2E; --surface-3: #3A3A3C; --text: #FFFFFF; --text-2: #D1D1D6; --text-3: #8E8E93; --line: rgba(84, 84, 88, 0.55); --ink: #FF375F; --ink-on: #FFFFFF; --today: #FF375F; --shadow: none; --tabbar-bg: rgba(30, 30, 32, 0.72); }

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; letter-spacing: -0.008em; }

/* ---------- toque: resposta imediata em tudo que é tocável ---------- */
button, .btn, .card--row, .list__row, .pbig, .prow, .ecard, .pchip, .plan { transition: transform .14s var(--ease), background-color .2s, box-shadow .2s, opacity .2s; }
button:active:not(:disabled), .btn:active, .pbig:active, .pchip:active, .prow:active { transform: scale(0.975); }
.tabbar__btn:active, .iconbtn:active { transform: scale(0.92); }

/* ---------- telas entram suaves (troca de aba) ---------- */
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.view > .page, .view > .hdr + .page { animation: viewIn .26s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .view > .page, .view > .hdr + .page { animation: none; } }

/* ---------- barra de abas flutuante de vidro (estilo iOS 26 / Instagram) ---------- */
.tabbar {
  left: 12px; right: 12px; bottom: max(10px, calc(var(--safe-b) - 6px)); max-width: 516px;
  height: 64px; padding: 0 8px; border-radius: 32px; border-top: 0;
  background: var(--tabbar-bg); -webkit-backdrop-filter: saturate(190%) blur(26px); backdrop-filter: saturate(190%) blur(26px);
  box-shadow: 0 0 0 0.5px var(--glass-line), 0 10px 34px rgba(0, 0, 0, 0.14);
}
.view { padding-bottom: calc(64px + max(10px, var(--safe-b)) + 28px); }
.tabbar__btn { position: relative; border-radius: 24px; padding: 7px 0 6px; margin: 0 2px; gap: 2px; font-size: 10.5px; font-weight: 600; color: var(--text-3); }
.tabbar__btn.is-on { color: var(--text); background: var(--press); }
.tabbar__btn .ic { stroke-width: 2; }
.tabbar__btn.is-on .ic { stroke-width: 2.3; }
.tabbar__fab { width: 48px; height: 48px; transform: none; box-shadow: none; background: var(--ink); color: var(--ink-on); }
.tabbar__fab:active { transform: scale(0.92); }
[data-space="personal"] .tabbar__fab { background: var(--p-accent); box-shadow: none; }
[data-space="personal"] .tabbar__btn.is-on { color: var(--p-accent); }
#toast { bottom: calc(64px + max(10px, var(--safe-b)) + 14px); }

/* ---------- cabeçalho estilo "título grande" ---------- */
.hdr h1, .phdr h1 { font-weight: 800; letter-spacing: -0.03em; }
.hdr__eyebrow, .phdr__eyebrow { letter-spacing: 0.02em; font-weight: 600; text-transform: none; font-size: 14px; color: var(--text-3); }
.iconbtn { background: var(--surface); box-shadow: 0 0 0 0.5px var(--glass-line); }
.iconbtn--ai { color: var(--text); }
.pswitch { box-shadow: 0 0 0 0.5px var(--glass-line); background: var(--surface); color: var(--text); }

/* ---------- cartões: chapados, sem sombra pesada ---------- */
.card, .pcard, .pempty, .plist, .summary, .list { box-shadow: var(--shadow); }
.block__title { font-size: 13px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em; padding-left: 4px; }
.block__title .ic { display: none; }
.ppage .block__title { text-transform: none; letter-spacing: -0.01em; font-size: 20px; font-weight: 700; color: var(--text); padding-left: 0; }

/* ---------- lista agrupada com ícone em quadrado colorido (estilo Ajustes do iPhone / GitHub) ---------- */
.glist { background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.glist__row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 0; background: transparent; font: inherit; color: var(--text); text-align: left; position: relative; min-height: 56px; }
.glist__row + .glist__row::before { content: ''; position: absolute; top: 0; left: 58px; right: 0; height: 0.5px; background: var(--line); }
.glist__row:active { background: var(--press); transform: none; }
.glist__ic { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--c, #8E8E93); color: #fff; flex: none; }
.glist__ic .ic { stroke-width: 2.2; }
.glist__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.glist__txt b { font-size: 16px; font-weight: 500; }
.glist__txt small { font-size: 13px; color: var(--text-3); line-height: 1.3; }
.glist__row > .ic:last-child { color: var(--text-3); flex: none; opacity: .6; }
.glist__badge { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); flex: none; }

/* ---------- faixas do topo (teste grátis / pausado): sólidas ---------- */
.trialbar { background: #1C1C1E; box-shadow: none; border-radius: 14px; }
:root[data-theme="dark"] .trialbar { background: #2C2C2E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .trialbar { background: #2C2C2E; } }
.trialbar.is-ending { background: #D70015; }
.trialbar--lock { background: #1C1C1E; }
.trialbar--lock .trialbar__ic { background: #FF9F0A; color: #000; }
.trialbar--lock .trialbar__go { color: #000; }

/* ---------- tela de planos: preto e branco premium ---------- */
.paywall { background: #000; }
.paywall h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.paywall p { color: rgba(255, 255, 255, 0.66); }
.btn--trial { background: #fff; color: #000; box-shadow: none; font-weight: 800; }
.paywall .btn--primary { background: #fff; color: #000; box-shadow: none; }
.paywall .btn--primary.btn--alt { background: #2C2C2E; color: #fff; }
.paywall .plan { background: #1C1C1E; border: 1.5px solid #2C2C2E; box-shadow: none; }
.paywall .plan:not(.is-on) { background: #1C1C1E; border-color: #2C2C2E; }
.paywall .plan.is-on { background: #1C1C1E; border-color: #fff; box-shadow: 0 0 0 1px #fff; }
.plan--best { background: #1C1C1E; }
.plan__tag { background: #30D158; color: #00210B; }
.plan__tag--cur { background: #3A3A3C !important; color: #fff; }
.plan.is-on .plan__radio { background: #fff; border-color: #fff; color: #000; }
.plan__save { color: #30D158; }
.cmp { background: #1C1C1E; border-color: #2C2C2E; }
.cmp__row { border-top-color: #2C2C2E; }
.cmp__row--head { background: transparent; }
.cmp__row--head > span:last-child { color: #fff; }
.cmp__yes { color: #30D158; }
.cmp__row--addon .ic { color: #FF9F0A; }
.paywall__addon { background: #1C1C1E !important; }
.paywall__addon .ic { color: #8E8E93; }
.paywall__cta { background: linear-gradient(to top, #000 72%, rgba(0, 0, 0, 0)); }
.paywall .plan__name { opacity: 1; color: rgba(255, 255, 255, 0.7); font-weight: 600; }

/* ---------- Pessoal: sem degradê; destaque rosa só onde importa ---------- */
.phero { background: var(--surface); color: var(--text); box-shadow: var(--shadow); border-radius: 18px; }
.phero::after { display: none; }
.phero__date { color: var(--p-accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; opacity: 1; }
.phero__phrase { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.phero__stats span { background: var(--surface-2); color: var(--text-2); }
.phero__stats .is-warn { background: rgba(255, 59, 48, 0.12); color: #FF3B30; }
.pquick { color: var(--p-accent); box-shadow: var(--shadow); background: var(--surface); }
.pquick__go { background: var(--p-accent); border-radius: 50%; }
[data-space="personal"] .btn--primary { background: var(--p-accent); }
.pchip { box-shadow: 0 0 0 0.5px var(--glass-line); }
.ptile { background: var(--g2); box-shadow: none; border-radius: calc(var(--s) * 0.26); }
.ptile .ic { filter: none; }
.pbday { background: var(--surface); color: var(--text); }
.pbday__when { color: var(--p-accent); }
:root[data-theme="dark"] .pbday { background: var(--surface); color: var(--text); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pbday { background: var(--surface); color: var(--text); } }
.prow::before { width: 3px; }
/* Feito para você: lista agrupada, sem borda tracejada */
.foryou__list { gap: 0; background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.foryou__item + .foryou__item::before { content: ''; position: absolute; top: 0; left: 60px; right: 0; height: 0.5px; background: var(--line); z-index: 1; }
.foryou__add { border: 0; border-radius: 0; background: transparent; padding: 11px 84px 11px 12px; }
.foryou__add:active { background: var(--press); transform: none; }
.foryou__add > i { background: transparent; color: var(--p-accent); box-shadow: inset 0 0 0 1.5px var(--p-accent); right: 44px; }
.foryou__lead { margin-top: -8px; }

/* ---------- transição Trabalho ⇄ Pessoal: cor sólida do destino ---------- */
.spaceveil--personal { background: #FF2D55; }
.spaceveil--work { background: #000; }
.spaceveil__badge { background: rgba(255, 255, 255, 0.16); box-shadow: none; }

/* ---------- ficha, painéis e detalhes: cor sólida ---------- */
.ficha__prog i { background: var(--text); }
.ficha__gauge { background: radial-gradient(closest-side, var(--surface) 76%, transparent 77%), conic-gradient(var(--text) calc(var(--v) * 1%), var(--surface-3) 0) !important; }
.abars li i { background: linear-gradient(90deg, #0A84FF var(--w), var(--surface-3) var(--w)); }
.gmode__ic--work { background: #1C1C1E; }
.gmode__ic--life { background: #FF2D55; }
.assist-hero { background: var(--surface) !important; box-shadow: var(--shadow); }
.dayprog__bar i { background: #34C759; }
.vbadge { background: #F5C451; color: #3A2500; }
.upgrade { border: 0; box-shadow: var(--shadow); }
.upgrade > .ic:first-child { color: #F5A623; }
.consent__dot { transition: background-color .15s, border-color .15s; }
.glist__row.pbig--toPersonal, .glist__row.pbig--ficha, .glist__row.pbig--share, .glist__row.pbig--privacy { background: transparent; color: var(--text); padding: 11px 14px; border-radius: 0; box-shadow: none; }
.glist__row.pbig--toPersonal small { color: var(--text-3); }
.brief { background: var(--surface); box-shadow: var(--shadow); }
.block__title .ptile .ic { display: inline-block; }
.ecard__top:empty { display: none; }
.tcount b { margin-left: 3px; }
.ecard__top .tbadge:first-child { margin-left: 0; }

/* ---------- Painel do dono ---------- */
.apanel { gap: 14px; }
.aseg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px; border-radius: 10px; background: var(--surface-2); position: sticky; top: 0; z-index: 3; }
.aseg button { border: 0; background: transparent; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--text-2); padding: 7px 4px; border-radius: 8px; white-space: nowrap; }
.aseg button.is-on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.ahero { padding: 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.ahero small { font-size: 13px; color: var(--text-3); font-weight: 600; }
.ahero b { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.ahero span { font-size: 13px; color: var(--text-3); }
.atiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.atiles > div { padding: 12px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.atiles b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.atiles small { font-size: 12px; color: var(--text-3); }
.ah { font-size: 13px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; margin: 6px 4px -6px; }
.agroup { background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.arow { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; font: inherit; color: var(--text); border: 0; background: transparent; text-align: left; position: relative; }
.arow + .arow::before { content: ''; position: absolute; top: 0; left: 14px; right: 0; height: .5px; background: var(--line); }
.arow > span { display: flex; flex-direction: column; font-size: 15px; min-width: 0; }
.arow small { font-size: 12.5px; color: var(--text-3); }
.arow b { font-size: 16px; font-weight: 700; white-space: nowrap; }
.arow b.bad { color: #FF3B30; } .arow b.good { color: #34C759; }
/* ---------- login / cadastro ---------- */
.login__hook { font-size: 26px !important; font-weight: 800; letter-spacing: -0.03em; margin-top: 4px; }
.login__lead { color: var(--text-3); font-size: 15px; max-width: 320px; margin: 0 auto; line-height: 1.4; }
.login .input { background: var(--surface); border: 0; box-shadow: 0 0 0 0.5px var(--line-2); font-size: 17px; min-height: 50px; }
.login .input:focus { box-shadow: 0 0 0 2px var(--text); outline: none; }
.login [data-go] { min-height: 52px; font-size: 17px; font-weight: 700; border-radius: 14px; }
.login [data-reset] { align-self: center; margin: 2px auto 0; display: block; }
.login__switch .btn-text { color: var(--text); font-weight: 700; }
/* troca Trabalho ⇄ Pessoal mais rápida (0,8 s no total) */
.spaceveil { transition: clip-path .42s cubic-bezier(.65, 0, .35, 1), opacity .3s ease; }
.spaceveil > div { transition: opacity .25s ease .12s, transform .35s var(--ease) .1s; }
/* linhas de ajuste: título em cima, explicação embaixo (não espreme o texto ao lado do botão) */
.list__row > span:first-child:has(> small) { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: 1; min-width: 0; }
.list__row > span:first-child:has(> small) small { font-size: 13px; color: var(--text-3); line-height: 1.3; }
.list__row > span:first-child:has(> small) b { font-weight: 600; }

/* ---------- janelas: fundo desfocado (como o iOS) e entrada suave ---------- */
.sheet-backdrop { background: rgba(0, 0, 0, 0.22); -webkit-backdrop-filter: blur(8px) saturate(120%); backdrop-filter: blur(8px) saturate(120%); transition: opacity .32s ease; }
.sheet { transition: transform .38s cubic-bezier(.32, .72, 0, 1); box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12); }
.sheet--dialog { border-radius: 22px 22px 0 0; }
.paywall, .ficha { transition: opacity .3s ease, transform .3s var(--ease); }

/* ---------- Trabalho ⇄ Pessoal: o ícone pulsa, cresce e vira o do destino ---------- */
.spaceveil__badge { position: relative; overflow: visible; }
.spaceveil__badge > i { position: absolute; inset: 0; display: grid; place-items: center; }
.sv-from { animation: svBeat .62s cubic-bezier(.3, .7, .3, 1) both; }
.sv-to { opacity: 0; animation: svIn .5s cubic-bezier(.2, .9, .25, 1.2) .3s both; }
@keyframes svBeat {
  0% { transform: scale(1); opacity: 1; }
  18% { transform: scale(1.28); }
  32% { transform: scale(.94); }
  46% { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(.2) rotate(18deg); opacity: 0; }
}
@keyframes svIn { 0% { opacity: 0; transform: scale(.3) rotate(-24deg); } 70% { opacity: 1; transform: scale(1.1) rotate(2deg); } 100% { opacity: 1; transform: none; } }
.spaceveil strong { animation: svText .4s var(--ease) .32s both; }
.spaceveil small { animation: svText .4s var(--ease) .4s both; }
@keyframes svText { from { opacity: 0; transform: translateY(8px); } to { opacity: .95; transform: none; } }
.spaceveil.is-in .spaceveil__badge { animation: svBadge .7s var(--ease) both; }
@keyframes svBadge { 0% { transform: scale(.7); } 45% { transform: scale(1.12); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .sv-from, .sv-to, .spaceveil strong, .spaceveil small, .spaceveil.is-in .spaceveil__badge { animation: none; } .sv-from { opacity: 0; } .sv-to { opacity: 1; } }

/* ---------- Final da ficha: cálculo animado e uma conquista por página ---------- */
.ficha__inner--rv { min-height: 100%; }
.rv { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 18px 4px 8px; }
.rv h2 { font-size: 26px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; max-width: 340px; }
.rv p, .rv__sub { font-size: 16px; color: var(--text-2); line-height: 1.45; max-width: 340px; }
.rv__sub { min-height: 1.5em; color: var(--text-3); transition: opacity .2s; }
.rgauge { position: relative; width: 196px; height: 196px; margin: 8px 0 6px; }
.rgauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rgauge circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.rgauge__bg { stroke: var(--surface-3); }
.rgauge__fg { stroke: hsl(0 78% 48%); filter: drop-shadow(0 0 10px color-mix(in srgb, currentColor 0%, transparent)); }
.rgauge__num { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 70px; }
.rgauge__num b { font-size: 54px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.rgauge__num small { font-size: 20px; font-weight: 700; color: var(--text-3); margin-left: 2px; }
.rgauge.is-done { animation: rgDone .6s cubic-bezier(.2, .9, .25, 1.3); }
.rgauge.is-done .rgauge__fg { stroke: #34C759 !important; }
@keyframes rgDone { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
.rv__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; animation: svText .4s var(--ease) both; }
.rv__chips[hidden] { display: none; }
.rv__chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: 14px; color: var(--text-2); }
.rv__chips b { color: var(--text); }
.rv--card { padding-top: 34px; }
.rv__ic { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; background: var(--c); color: #fff; box-shadow: 0 14px 34px color-mix(in srgb, var(--c) 40%, transparent); animation: rvPop .55s cubic-bezier(.2, .9, .25, 1.35) both; }
.rv__k { font-size: 13px; font-weight: 700; color: var(--c); text-transform: uppercase; letter-spacing: .05em; animation: svText .35s var(--ease) .1s both; }
.rv--card h2 { animation: svText .4s var(--ease) .15s both; }
.rv__big { font-size: 17px; font-weight: 700; color: var(--text); padding: 10px 16px; border-radius: 14px; background: color-mix(in srgb, var(--c) 12%, var(--surface)); animation: svText .4s var(--ease) .22s both; max-width: 100%; }
.rv--card p { animation: svText .4s var(--ease) .28s both; }
.rv__dots { display: flex; gap: 6px; margin-top: 14px; }
.rv__dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--surface-3); transition: width .25s var(--ease), background .25s; }
.rv__dots i.is-done { background: var(--text-3); }
.rv__dots i.is-on { width: 22px; background: var(--c); }
@keyframes rvPop { 0% { opacity: 0; transform: scale(.4) rotate(-12deg); } 70% { opacity: 1; transform: scale(1.08) rotate(2deg); } 100% { transform: none; } }
.ficha [data-next]:disabled { opacity: .45; }
/* a entrada de cada etapa só mexe na transparência: com "transform", os botões fixos do rodapé pulavam para o meio da tela */
@keyframes fichaFade { from { opacity: 0; } to { opacity: 1; } }
.ficha__step.is-new { animation: fichaFade .26s ease; }

/* ---------- Foto de perfil obrigatória (contas novas) ---------- */
.photogate { position: fixed; inset: 0; z-index: 390; background: rgba(0,0,0,.55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: grid; place-items: center; padding: 24px; opacity: 0; transition: opacity .25s; }
.photogate.is-open { opacity: 1; }
.photogate__in { width: 100%; max-width: 380px; background: var(--card, #fff); color: var(--text, #000); border-radius: 28px; padding: 28px 22px 22px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.photogate__pic { width: 120px; height: 120px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; }
.photogate__pic img, .photogate__pic .avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.photogate h2 { font-size: 22px; margin: 0 0 6px; }
.photogate p { color: var(--muted, #6E6E73); margin: 0 0 18px; }
.photogate__err { color: #FF3B30 !important; margin: 12px 0 0 !important; }
.acct__last b.is-live { color: #30D158; }
.grantbox { display: flex; flex-direction: column; gap: 10px; }
.grantbox input { width: 100%; }

/* ---------- Suporte (chat) ---------- */
.schat { display: flex; flex-direction: column; height: 100%; min-height: 60vh; background: var(--chat-bg); }
.schat__list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 18px; }
.smsg { max-width: 80%; align-self: flex-start; background: var(--chat-in); color: var(--chat-in-text); padding: 9px 13px 6px; border-radius: 20px 20px 20px 6px; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.smsg p { margin: 0; white-space: pre-wrap; font-size: 16px; line-height: 1.38; overflow-wrap: anywhere; }
.smsg small { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; opacity: .75; margin-bottom: 3px; }
.smsg time { display: block; text-align: right; font-size: 11px; opacity: .7; margin-top: 3px; }
.smsg--me { align-self: flex-end; background: var(--chat-out); color: var(--chat-out-text); border-radius: 20px 20px 6px 20px; }
.smsg--me time { opacity: .85; }
.smsg--auto { background: var(--chat-auto); color: var(--chat-auto-text); }
.schat__form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px calc(var(--safe-b, 0px) + 12px); border-top: 1px solid var(--line); background: var(--surface); position: sticky; bottom: 0; }
.schat__form textarea { flex: 1; resize: none; min-height: 44px; max-height: 140px; padding: 11px 15px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; font-size: 16px; line-height: 1.3; }
.schat__form textarea::placeholder { color: var(--text-3); }
.schat__form .iconbtn { width: 44px; height: 44px; border-radius: 50%; background: var(--chat-out); color: #fff; flex: none; }
.schat__form .iconbtn:disabled { opacity: .45; }
.sinbox { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); color: var(--text); background: var(--surface); }
.sinbox strong { display: block; } .sinbox small { color: var(--text-3); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.sinbox__r { text-align: right; flex: none; } .sinbox__r time { font-size: 12px; color: var(--text-3); display: block; }
.sinbox__n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: #FF3B30; color: #fff; font-size: 12px; font-weight: 800; margin-top: 4px; }

/* ---------- Ranking ---------- */
.rank__hero { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, #FFB800, #FF7A00); color: #fff; margin-bottom: 14px; }
.rank__hero strong { display: block; font-size: 17px; } .rank__hero small { opacity: .95; }
.rank__me { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 18px; background: var(--card, #fff); margin-bottom: 14px; }
.rank__me b { font-size: 30px; } .rank__me small { color: var(--muted, #8E8E93); } .rank__me .btn { align-self: flex-start; margin-top: 6px; }
.rank__row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line, rgba(0,0,0,.06)); }
.rank__row.is-me { background: color-mix(in srgb, #FF9F0A 14%, transparent); }
.rank__pos { width: 34px; font-weight: 800; text-align: center; }
.rank__ini { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #3A3A3C; color: #fff; font-weight: 800; }
.rank__name { flex: 1; color: var(--muted, #8E8E93); }
.rank__rules { padding-left: 18px; line-height: 1.7; }

/* tela de planos: Mensal/Anual e Fundadores */
.period { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); margin: 4px auto 12px; width: max-content; }
.period button { padding: 9px 18px; border-radius: 999px; font-weight: 750; font-size: 14.5px; color: rgba(255,255,255,.75); }
.period button.is-on { background: #fff; color: #000; }
.period button span { color: #30D158; font-weight: 850; margin-left: 4px; }
.plan--founder { width: 100%; margin-top: 10px; text-align: left; border-color: #FFB800 !important; background: linear-gradient(135deg, rgba(255,184,0,.18), rgba(255,122,0,.10)) !important; }
.plan--founder .plan__tag { background: #FFB800; color: #000; }
.plan--founder .plan__name { display: inline-flex; align-items: center; gap: 6px; }
.rank__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.rank__stats div { background: var(--card, #fff); border-radius: 16px; padding: 12px; text-align: center; }
.rank__stats b { display: block; font-size: 24px; } .rank__stats small { color: var(--muted, #8E8E93); font-size: 12px; }
.rank__row.is-up .rank__pos { color: #16A34A; }

/* ---------- versão do app ---------- */
.list__row--static { cursor: default; }
.list__row--static .glist__ic { flex: none; }
.btn--danger-soft { background: var(--danger-soft); color: var(--danger); }
.logoutbig { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; border: 0; border-radius: 16px; background: var(--surface); color: var(--danger); font: inherit; font-size: 17px; font-weight: 700; box-shadow: var(--shadow); cursor: pointer; }
.logoutbig:active { transform: scale(.985); background: var(--danger-soft); }
.fhelp.center { text-align: center; }
.aupd { margin: 10px 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--warn-soft); color: var(--text); }
.aupd p { margin: 0 0 8px; font-size: 13.5px; }
.news__title { font-size: 20px; font-weight: 800; margin: 4px 0 12px; letter-spacing: -.01em; }
.news__list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.news__list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: 15px; line-height: 1.35; }
.news__list li .ic { flex: none; color: #FF9F0A; margin-top: 1px; }
.mustupd { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mustupd__in { width: 100%; max-width: 380px; background: var(--surface); color: var(--text); border-radius: 26px; padding: 28px 22px 22px; text-align: center; box-shadow: var(--shadow-lg); }
.mustupd__in .ic { color: #0A84FF; }
.mustupd__in h2 { margin: 10px 0 6px; font-size: 22px; }
.mustupd__in p { margin: 0 0 18px; color: var(--text-2); }

/* ==========================================================
   Conquistas: emblemas, níveis, comemoração, "+XP"
   ========================================================== */
.bdg { display: block; overflow: visible; filter: drop-shadow(0 5px 7px rgba(0,0,0,.22)) drop-shadow(0 1px 1px rgba(0,0,0,.18)); }
.bdg.is-locked { filter: grayscale(1) contrast(.85) brightness(1.08) opacity(.42); }
:root[data-theme="dark"] .bdg.is-locked { filter: grayscale(1) brightness(.75) opacity(.5); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bdg.is-locked { filter: grayscale(1) brightness(.75) opacity(.5); } }
.bdg.is-legend .bdg__spark { animation: twinkle 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* anel de nível em volta da foto (topo) */
.iconbtn--me { width: auto; height: auto; padding: 0; background: none; box-shadow: none; border-radius: 50%; }
.lvring { position: relative; display: inline-grid; place-items: center; width: calc(var(--s) + 7px); height: calc(var(--s) + 7px); border-radius: 50%;
  background: conic-gradient(var(--h) var(--p), color-mix(in srgb, var(--h) 20%, var(--surface-3)) 0); transition: background .6s; }
.lvring > .avatar { box-shadow: 0 0 0 2.5px var(--bg); }
.lvring__n { position: absolute; right: -5px; bottom: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center;
  font-style: normal; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--h); box-shadow: 0 0 0 2px var(--bg); }
.lvring.is-off { background: var(--surface-3); } .lvring.is-off .lvring__n { display: none; }
.lvring__n.is-pop { animation: lvpop .6s cubic-bezier(.2,1.6,.4,1); }
@keyframes lvpop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }

/* +20 XP subindo */
.xpfly { position: fixed; left: 50%; bottom: calc(var(--safe-b) + var(--tabbar-h) + 70px); z-index: 7000; transform: translateX(-50%); pointer-events: none;
  display: flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: 999px; color: #3B2600;
  background: linear-gradient(135deg, #FFE58A, #FFC53D 55%, #F5A300); box-shadow: 0 8px 22px rgba(245,163,0,.35), inset 0 1px 0 rgba(255,255,255,.7);
  animation: xpfly 1.6s cubic-bezier(.2,.9,.3,1) both; }
.xpfly b { font-size: 16px; font-weight: 900; letter-spacing: -.01em; }
.xpfly span { font-size: 12.5px; font-weight: 650; opacity: .8; }
@keyframes xpfly { 0% { opacity: 0; transform: translate(-50%, 18px) scale(.8); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1.06); } 25% { transform: translate(-50%, 0) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -46px) scale(.96); } }

/* comemoração (emblema / nível) */
.gx { position: fixed; inset: 0; z-index: 8500; display: grid; place-items: center; padding: 24px; overflow: hidden;
  background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--gx) 38%, rgba(10,10,18,.6)), rgba(0,0,0,.86) 70%);
  backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); opacity: 0; transition: opacity .3s; }
.gx.is-in { opacity: 1; } .gx.is-out { opacity: 0; }
.gx__rays { position: absolute; left: 50%; top: 38%; width: 760px; height: 760px; margin: -380px 0 0 -380px; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.12) 0 7deg, transparent 7deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 8%, transparent 62%); mask: radial-gradient(circle, #000 8%, transparent 62%); animation: gxspin 22s linear infinite; }
@keyframes gxspin { to { transform: rotate(360deg); } }
.gx__card { position: relative; width: 100%; max-width: 360px; text-align: center; color: #fff; }
.gx__medal { position: relative; display: inline-block; perspective: 900px; margin-bottom: 6px; }
.gx__medal .bdg { filter: drop-shadow(0 22px 30px rgba(0,0,0,.5)); }
.gx.is-in .gx__medal > .bdg, .gx.is-in .gx__many { animation: gxcoin 1.15s cubic-bezier(.18,.9,.22,1.12) both; }
@keyframes gxcoin { 0% { transform: scale(.25) rotateY(-600deg); opacity: 0; } 55% { opacity: 1; } 100% { transform: scale(1) rotateY(0); } }
.gx__medal::after { content: ""; position: absolute; inset: 8% 14%; border-radius: 50%; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.75) 50%, transparent 62%); background-size: 260% 100%; background-position: 140% 0;
  mix-blend-mode: soft-light; animation: gxshine 2.6s 1.1s ease-in-out infinite; }
@keyframes gxshine { 0% { background-position: 140% 0; } 45%, 100% { background-position: -40% 0; } }
.gx__many { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 260px; margin: 0 auto; }
.gx__kicker { margin: 4px 0 2px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: color-mix(in srgb, var(--gx) 45%, #fff); }
.gx__title { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.gx__sub { margin: 8px auto 12px; font-size: 15.5px; line-height: 1.4; color: rgba(255,255,255,.86); max-width: 320px; }
.gx__xp { display: inline-block; padding: 6px 16px; border-radius: 999px; font-weight: 900; font-size: 17px; color: #3B2600;
  background: linear-gradient(135deg, #FFF0B0, #FFC53D 55%, #F5A300); box-shadow: 0 8px 26px rgba(245,163,0,.45); animation: gxxp .6s .9s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes gxxp { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.gx__bar { position: relative; height: 22px; margin: 16px 6px 18px; border-radius: 11px; background: rgba(255,255,255,.14); overflow: hidden; }
.gx__bar i { position: absolute; inset: 0 auto 0 0; border-radius: 11px; background: linear-gradient(90deg, #FFE58A, #FFC53D); transition: width 1s .9s; }
.gx__bar small { position: relative; display: block; line-height: 22px; font-size: 12px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.gx__go { width: 100%; min-height: 52px; border-radius: 16px; background: #fff; color: #111; font-size: 17px; font-weight: 800; }
.gx__see { margin-top: 10px; color: rgba(255,255,255,.85); font-weight: 650; }

/* ---------- "Marcado!" (compromisso lançado) ---------- */
.okfx { position: fixed; inset: 0; z-index: 7500; display: grid; place-items: center; pointer-events: none; }
.okfx__card { pointer-events: auto; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 196px; max-width: 280px; padding: 22px 26px 16px; border-radius: 30px; text-align: center;
  background: color-mix(in srgb, var(--surface) 82%, transparent); color: var(--text);
  backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: 0 24px 60px rgba(0,0,0,.22), 0 0 0 1px var(--line); opacity: 0; transform: scale(.86) translateY(8px);
  transition: opacity .32s ease, transform .5s cubic-bezier(.2,1.25,.35,1); }
.okfx.is-in .okfx__card { opacity: 1; transform: none; }
.okfx.is-out .okfx__card { opacity: 0; transform: scale(.94); transition: opacity .38s ease, transform .4s ease; }
.okfx__ring { width: 96px; height: 96px; margin-bottom: 6px; overflow: visible; }
.okfx__halo { fill: color-mix(in srgb, #34C759 14%, transparent); transform-origin: 60px 60px; transform: scale(.6); opacity: 0; }
.okfx.is-in .okfx__halo { animation: okhalo 1.2s .45s ease-out both; }
@keyframes okhalo { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.okfx__track { fill: none; stroke: color-mix(in srgb, #34C759 18%, transparent); stroke-width: 7; }
.okfx__prog { fill: none; stroke: #34C759; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; transform: rotate(-90deg); transform-origin: 60px 60px; }
.okfx.is-in .okfx__prog { animation: okdraw .55s .05s cubic-bezier(.45,0,.2,1) forwards; }
.okfx__check { fill: none; stroke: #34C759; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 64; stroke-dashoffset: 64; }
.okfx.is-in .okfx__check { animation: okdraw .38s .5s cubic-bezier(.3,0,.2,1) forwards; }
@keyframes okdraw { to { stroke-dashoffset: 0; } }
.okfx__t { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.okfx__s { font-size: 14px; color: var(--text-2); }
.okfx__brand { margin-top: 8px; opacity: .55; }
.okfx__brand .brand { height: 16px; width: auto; }
@media (prefers-reduced-motion: reduce) {
  .okfx__prog, .okfx__check { stroke-dashoffset: 0 !important; animation: none !important; }
  .gx__rays, .gx__medal::after { animation: none; }
  .gx.is-in .gx__medal > .bdg { animation: none; }
}

/* ---------- Perfil (jeito das redes sociais) ---------- */
.sheet--prof .sheet__inner { padding-bottom: calc(var(--safe-b) + 24px); }
.prof { padding: 4px 16px 0; }
.prof__top { display: flex; align-items: center; gap: 18px; }
.prof__pic { position: relative; flex: none; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%; }
.prof__ring { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 50%; background: var(--ring); }
.prof__ring > .avatar { box-shadow: 0 0 0 4px var(--surface); }
.prof__cam { position: absolute; right: 2px; bottom: 4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #0A84FF; color: #fff; box-shadow: 0 0 0 3px var(--surface); }
.prof__stats { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.prof__stats b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.prof__stats small { font-size: 12.5px; color: var(--text-2); }
.prof__name { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 16px; }
.prof__ok { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #0A84FF; color: #fff; }
.prof__job { font-size: 14px; color: var(--text-2); margin-top: 1px; }
.prof__bio { font-size: 14.5px; margin-top: 4px; white-space: pre-wrap; }
.prof__lv { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 10px 12px; border: 0; border-radius: 16px; background: var(--surface-2); color: var(--text); text-align: left; font: inherit; cursor: pointer; }
.prof__crest { flex: none; }
.prof__lvtxt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.prof__lvtxt b { font-size: 15px; }
.prof__lvtxt small { font-size: 12.5px; color: var(--text-2); }
.prof__bar { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.prof__bar i { display: block; height: 100%; border-radius: 4px; }
.prof__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.prof__btns .btn { justify-content: center; font-weight: 700; }
.prof__hl { display: flex; gap: 12px; overflow-x: auto; margin: 14px -16px 0; padding: 2px 16px 6px; scrollbar-width: none; }
.prof__hl::-webkit-scrollbar { display: none; }
.prof__hlit { flex: none; width: 70px; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; padding: 0; color: var(--text); font: inherit; cursor: pointer; }
.prof__hlit > span { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--surface-2); box-shadow: 0 0 0 2px var(--line-2); }
.prof__hlit small { font-size: 11px; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.prof__tabs { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px -16px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.prof__tabs button { height: 46px; display: grid; place-items: center; border: 0; background: none; color: var(--text-3); border-bottom: 2px solid transparent; cursor: pointer; }
.prof__tabs button.is-on { color: var(--text); border-bottom-color: var(--text); }
.prof__body { padding: 12px 0 18px; }
.pcats { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 10px; padding: 0 16px 2px; scrollbar-width: none; }
.pcats::-webkit-scrollbar { display: none; }
.pcats__b { flex: none; padding: 7px 12px; border-radius: 999px; border: 0; background: var(--surface-2); color: var(--text-2); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.pcats__b.is-on { background: var(--ink); color: var(--ink-on); }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 6px; }
.bgrid__it { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px 10px; border: 0; border-radius: 16px; background: none; color: var(--text); font: inherit; cursor: pointer; text-align: center; }
.bgrid__it:active { background: var(--surface-2); }
.bgrid__it b { font-size: 12.5px; line-height: 1.2; font-weight: 700; }
.bgrid__it small { font-size: 11px; color: var(--text-3); }
.bgrid__it.is-locked b { color: var(--text-2); }
.bgrid__p { width: 70%; height: 5px; border-radius: 3px; background: var(--surface-3); overflow: hidden; margin-top: 2px; }
.bgrid__p i { display: block; height: 100%; background: #FFB800; border-radius: 3px; }
.lvlist { display: grid; gap: 8px; }
.lvlist__it { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 16px; background: var(--surface-2); }
.lvlist__it > div { display: flex; flex-direction: column; gap: 1px; }
.lvlist__it b { font-size: 15.5px; }
.lvlist__it small { font-size: 12.5px; color: var(--text-2); }
.lvlist__it.is-cur { background: color-mix(in srgb, #FFB800 16%, var(--surface)); box-shadow: 0 0 0 2px #FFB800 inset; }
.lvlist__now { color: var(--text) !important; font-weight: 700; }
.lvlist__ok { color: var(--ok) !important; font-weight: 700; }
.pnums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pnums__it { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 16px; background: var(--surface-2); }
.pnums__it .ic { color: var(--text-3); margin-bottom: 2px; }
.pnums__it b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.pnums__it small { font-size: 12.5px; color: var(--text-2); }

/* emblema em detalhe (gira com o dedo) */
.bdet { text-align: center; padding: 0 20px 26px; }
.bdet__stage { position: relative; display: grid; place-items: center; height: 250px; perspective: 900px; touch-action: none; cursor: grab; }
.bdet__medal { transform-style: preserve-3d; will-change: transform; animation: bfloat 4s ease-in-out infinite; }
@keyframes bfloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.bdet__shadow { position: absolute; bottom: 8px; width: 120px; height: 14px; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.28), transparent 70%); }
.bdet__rar { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--rc); background: color-mix(in srgb, var(--rc) 14%, transparent); }
.bdet h2 { margin: 10px 0 4px; font-size: 26px; letter-spacing: -.02em; }
.bdet p { margin: 0 auto 8px; max-width: 320px; color: var(--text-2); font-size: 15.5px; }
.bdet__when { display: inline-flex; align-items: center; gap: 6px; color: var(--ok) !important; font-weight: 700; }
.bdet__prog { max-width: 280px; margin: 8px auto; }
.bdet__prog span { display: block; height: 10px; border-radius: 5px; background: var(--surface-3); overflow: hidden; }
.bdet__prog i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #FFD15C, #FFB800); }
.bdet__prog small { display: block; margin-top: 6px; color: var(--text-2); }

/* folha de ações da foto (WhatsApp/iOS) */
.sheet--actions { background: transparent !important; box-shadow: none !important; }
.sheet--actions .sheet__grab { display: none; }
.asheet { display: grid; gap: 8px; padding: 0 10px calc(var(--safe-b) + 10px); }
.asheet__pic { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 12px 12px; border-radius: 16px 16px 0 0; background: var(--surface); text-align: center; }
.asheet__pic small { color: var(--text-3); font-size: 12.5px; }
.asheet__grp { display: grid; border-radius: 0 0 16px 16px; overflow: hidden; background: var(--surface); margin-top: -8px; border-top: 1px solid var(--line); }
.asheet__b { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); color: #0A84FF; font: inherit; font-size: 17.5px; cursor: pointer; }
.asheet__b:last-child { border-bottom: 0; }
.asheet__b.is-danger { color: var(--danger); }
.asheet__cancel { border-radius: 16px; font-weight: 700; }
.photoview { position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center; background: rgba(0,0,0,.92); opacity: 0; transition: opacity .25s; }
.photoview.is-in { opacity: 1; }
.photoview img { width: min(92vw, 520px); aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.photoview__x { position: absolute; top: calc(var(--safe-t) + 12px); right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; }
/* recorte redondo */
.crop { position: fixed; inset: 0; z-index: 9600; display: flex; flex-direction: column; background: #000; color: #fff; }
.crop__top { display: flex; align-items: center; justify-content: space-between; padding: calc(var(--safe-t) + 10px) 14px 10px; }
.crop__btn { color: #fff; font-size: 17px; }
.crop__ok { color: #0A84FF; font-weight: 800; }
.crop__area { position: relative; flex: 1; overflow: hidden; touch-action: none; cursor: grab; }
.crop__area img { position: absolute; left: 50%; top: 50%; max-width: none; user-select: none; -webkit-user-select: none; }
.crop__mask { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.crop__mask::before { content: ""; position: absolute; left: 50%; top: 50%; width: var(--d, 300px); height: var(--d, 300px); transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 0 200vmax rgba(0,0,0,.62), inset 0 0 0 2px rgba(255,255,255,.85); }
.crop__zoom { display: flex; align-items: center; gap: 12px; padding: 16px 22px calc(var(--safe-b) + 18px); }
.crop__zoom input { flex: 1; accent-color: #0A84FF; }
.profpic__btn { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 4px auto 14px; border: 0; background: none; color: #0A84FF; font: inherit; font-weight: 700; cursor: pointer; }
.profpic__btn > span:last-child { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- caixa de escolha (ficha e onde mais precisar) ---------- */
.pkf { min-width: 0; }
.pkf .flabel { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pkf__multi { font-size: 11.5px; font-weight: 700; color: #0A84FF; background: color-mix(in srgb, #0A84FF 12%, transparent); padding: 1px 7px; border-radius: 999px; }
.pkf__btn { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 50px; padding: 0 12px 0 15px; border: 1px solid var(--line-2); border-radius: 14px;
  background: var(--surface); color: var(--text); font: inherit; font-size: 16px; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pkf__btn:active { box-shadow: 0 0 0 3px color-mix(in srgb, #0A84FF 22%, transparent); border-color: #0A84FF; }
.pkf__v { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.pkf__btn.is-empty .pkf__v { color: var(--text-3); font-weight: 500; }
.pkf__n { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; background: #0A84FF; color: #fff; font-size: 12px; font-weight: 800; }
.pkf__chev { flex: none; color: var(--text-3); display: grid; }
.ficha .row2 .pkf__btn { font-size: 15px; padding-left: 12px; }
.ficha__sample { margin: 8px 2px 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); color: var(--text-2); font-size: 14px; font-style: italic; }
.pkr { position: fixed; inset: 0; z-index: 9200; display: flex; align-items: flex-end; justify-content: center; }
.pkr__bg { position: absolute; inset: 0; background: rgba(0,0,0,.4); opacity: 0; transition: opacity .25s; }
.pkr__panel { position: relative; width: 100%; max-width: 560px; max-height: 82dvh; display: flex; flex-direction: column; border-radius: 22px 22px 0 0;
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.9,.25,1); padding-bottom: var(--safe-b); }
.pkr.is-open .pkr__bg { opacity: 1; } .pkr.is-open .pkr__panel { transform: none; }
.pkr__grab { display: grid; place-items: center; height: 18px; } .pkr__grab span { width: 38px; height: 5px; border-radius: 3px; background: var(--line-2); }
.pkr__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px 6px 18px; }
.pkr__head b { font-size: 18px; letter-spacing: -.01em; }
.pkr__close { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text-2); display: grid; place-items: center; flex: none; }
.pkr__hint { margin: 0 18px 8px; font-size: 13.5px; color: var(--text-2); }
.pkr__search { display: flex; align-items: center; gap: 8px; margin: 0 14px 8px; padding: 0 12px; height: 40px; border-radius: 12px; background: var(--surface-2); color: var(--text-3); }
.pkr__search input { flex: 1; border: 0; background: none; color: var(--text); font: inherit; font-size: 16px; outline: none; }
.pkr__list { overflow-y: auto; padding: 2px 8px 10px; -webkit-overflow-scrolling: touch; }
.pkr__opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 10px; border: 0; border-radius: 12px; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.pkr__opt:active { background: var(--surface-2); }
.pkr__opt.is-on { background: color-mix(in srgb, #0A84FF 10%, transparent); }
.pkr__mark { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; color: #fff; transition: background .15s, border-color .15s; }
.pkr__mark--box { border-radius: 7px; }
.pkr__opt.is-on .pkr__mark { background: #0A84FF; border-color: #0A84FF; }
.pkr__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pkr__t b { font-size: 16px; font-weight: 600; }
.pkr__t small { font-size: 13px; color: var(--text-2); }
.pkr__foot { padding: 8px 14px 12px; border-top: 1px solid var(--line); }

.verok { flex: none !important; display: inline-flex !important; align-items: center; gap: 4px !important; font-size: 13px; font-weight: 700; color: var(--ok); }
.bdet__when { flex-wrap: wrap; justify-content: center; }

/* ---------- placar da equipe ---------- */
.tcard { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 14px; padding: 12px 14px; border: 0; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); color: var(--text); text-align: left; font: inherit; cursor: pointer; }
.tcard__ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #FFC53D, #FF9500); }
.tcard__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tcard__txt b { font-size: 15.5px; } .tcard__txt small { font-size: 13px; color: var(--text-2); }
.tcard__avs { display: flex; } .tcard__avs .avatar { margin-left: -6px; box-shadow: 0 0 0 2px var(--surface); }
.tboard__seg { margin-bottom: 8px; } .tboard__seg .seg3__btn { padding: 9px 4px; }
.tboard__sub { margin: 0 2px 10px; font-size: 13px; color: var(--text-2); }
.tboard__me { margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, #FFB800 16%, var(--surface)); font-size: 15px; }
.tboard__rows { display: grid; gap: 8px; margin-bottom: 12px; }
.tbr { border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.tbr__top { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 0; background: none; color: var(--text); text-align: left; font: inherit; cursor: pointer; }
.tbr__pos { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 14px; background: var(--surface-2); color: var(--text-2); }
.tbr__pos--1 { background: linear-gradient(135deg, #FFE58A, #F5B400); color: #5A3B00; }
.tbr__pos--2 { background: linear-gradient(135deg, #F4F6F9, #B9C1CC); color: #384150; }
.tbr__pos--3 { background: linear-gradient(135deg, #F6C796, #C47C46); color: #4A2510; }
.tbr__av { position: relative; flex: none; }
.tbr__lv { position: absolute; right: -4px; bottom: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 800; color: #fff; background: #FF9F0A; box-shadow: 0 0 0 2px var(--surface); }
.tbr__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.tbr__txt b { font-size: 15.5px; } .tbr__txt em { font-style: normal; font-weight: 500; color: var(--text-3); }
.tbr__txt small { font-size: 12.5px; color: var(--text-2); }
.tbr__bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--surface-3); gap: 2px; }
.tbr__bar i { display: block; min-width: 0; }
.tbr__bar .ok { background: #34C759; } .tbr__bar .late { background: #FF9F0A; } .tbr__bar .miss { background: #FF3B30; } .tbr__bar .none { background: var(--surface-3); }
.tbr__pct { flex: none; font-size: 20px; font-weight: 900; letter-spacing: -.02em; }
.tbd__list { display: grid; gap: 2px; padding: 0 12px 12px 52px; }
.tbd__it { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.tbd__it b { display: block; font-size: 14.5px; } .tbd__it small { font-size: 12.5px; color: var(--text-2); }
.tbd__ic { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin-top: 1px; }
.tbd__it.is-ok .tbd__ic { background: #34C759; } .tbd__it.is-late .tbd__ic { background: #FF9F0A; } .tbd__it.is-miss .tbd__ic { background: #FF3B30; } .tbd__it.is-wait .tbd__ic { background: var(--surface-3); color: var(--text-3); }

/* conquista comum: aviso pequeno no topo */
.gxmini { position: fixed; left: 50%; top: calc(var(--safe-t) + 10px); z-index: 8400; display: flex; align-items: center; gap: 10px; width: min(92vw, 400px); padding: 8px 14px 8px 8px; border: 0; border-radius: 20px; text-align: left; font: inherit; cursor: pointer;
  background: color-mix(in srgb, var(--surface) 86%, transparent); color: var(--text); box-shadow: 0 14px 40px rgba(0,0,0,.2), 0 0 0 1px var(--line);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); transform: translate(-50%, -140%); transition: transform .45s cubic-bezier(.2,1.2,.35,1); }
.gxmini.is-in { transform: translate(-50%, 0); }
.gxmini__m { flex: none; } .gxmini__m .bdg { animation: gxcoin .9s cubic-bezier(.18,.9,.22,1.12) both; }
.gxmini__t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gxmini__t small { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #C47C46; }
.gxmini__t b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gxmini__xp { flex: none; padding: 4px 10px; border-radius: 999px; font-weight: 900; font-size: 13.5px; color: #3B2600; background: linear-gradient(135deg, #FFF0B0, #FFC53D 55%, #F5A300); }

/* esqueci minha senha */
.login--forgot .login__lead b { color: var(--text); }
.fsteps { list-style: none; padding: 0; margin: 4px 0 16px; display: grid; gap: 10px; text-align: left; }
.fsteps li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); font-size: 14.5px; color: var(--text); }
.fsteps li .ic { flex: none; color: #0A84FF; margin-top: 1px; }
.login .btn--block + .btn--block { margin-top: 10px; }
.fhelpbox { margin-top: 18px; padding: 14px; border-radius: 16px; background: var(--surface-2); text-align: left; color: var(--text); }
.fhelpbox p { margin: 4px 0 10px; font-size: 14px; color: var(--text-2); }

/* marca */
.about { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 8px 0 24px; color: var(--text-3); font-size: 12.5px; text-align: center; }
.about .brand { height: 22px; width: auto; opacity: .85; }
.gx__brand { margin-top: 16px; opacity: .55; display: flex; justify-content: center; }
.gx__brand .brand { height: 16px; width: auto; }
.smsg__av { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); overflow: hidden; }
.smsg__av .brand { height: 11px; width: auto; }
.smsg--me .smsg__av { background: #fff; }
.schat__who { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.schat__who b { display: block; font-size: 15.5px; } .schat__who small { font-size: 12.5px; color: var(--text-2); }
.schat__logo { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }
.schat__logo .brand { height: 26px; width: auto; }

/* SMS */
.psms { text-align: center; padding-bottom: 24px; }
.psms__ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; margin: 4px 0 10px; background: color-mix(in srgb, #0A84FF 12%, transparent); color: #0A84FF; }
.psms__lead { margin: 0 auto 14px; max-width: 340px; color: var(--text-2); font-size: 15.5px; }
.psms .flabel { text-align: left; }
.psms__in { font-size: 20px; text-align: center; letter-spacing: .04em; margin-bottom: 12px; }
.psms__code { letter-spacing: .5em; font-weight: 800; }

/* forma de pagamento (anual: cartão ou Pix) */
.paymeth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 14px; text-align: left; }
.paymeth__k { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.75); }
.paymeth__b { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; border: 1.5px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; font: inherit; text-align: left; cursor: pointer; }
.paymeth__b.is-on { border-color: #34C759; background: rgba(52,199,89,.12); }
.paymeth__b span { display: flex; flex-direction: column; min-width: 0; }
.paymeth__b b { font-size: 15px; } .paymeth__b small { font-size: 12px; color: rgba(255,255,255,.7); }
.paymeth__pix { flex: none !important; display: grid !important; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #32BCAD; color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .02em; }
.paymeth__note { grid-column: 1 / -1; display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 13px; color: rgba(255,255,255,.75); }

.gxmini__stack { display: flex; }
.gxmini__stack .bdg + .bdg { margin-left: -22px; }

/* ---------- Lembra Vitalício: revelação no preto e branco da marca ---------- */
.vipbar__sym, .vip__sym, .vcard__sym { display: block; background: #fff; -webkit-mask: url(../media/marca/simbolo-branco.png) center / contain no-repeat; mask: url(../media/marca/simbolo-branco.png) center / contain no-repeat; }
.vipbar__sym { width: 32px; height: 29px; flex: none; }
.vipbar__inf { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; font-weight: 800; font-size: 15px; }
.lvring.is-vip { background: conic-gradient(from 210deg, #fff, #8E8E93, #fff, #C7C7CC, #fff) !important; }
.lvring.is-vip .lvring__n { background: #fff; color: #000; }
.avatar--vip { box-shadow: 0 0 0 1.5px var(--bg), 0 0 0 3px #C7C7CC; }
.lvring > .avatar--vip { box-shadow: 0 0 0 2.5px var(--bg); }
html.has-vip, html.has-vip body { overflow: hidden; }

.vip { position: fixed; inset: 0; z-index: 9800; background: #000; color: #fff; overflow: hidden; opacity: 0; transition: opacity .5s ease;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-user-select: none; user-select: none; }
.vip.is-in { opacity: 1; } .vip.is-out { opacity: 0; }
.vip__glow { position: absolute; inset: 0; background: radial-gradient(60% 34% at 50% 36%, rgba(255,255,255,.10), transparent 72%); pointer-events: none; }
.vip__dust i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff; box-shadow: 0 0 6px 1px rgba(255,255,255,.5); opacity: 0; animation: vipdust 5s ease-in-out var(--d) infinite; }
@keyframes vipdust { 0%, 100% { opacity: 0; transform: translateY(6px); } 50% { opacity: .7; transform: translateY(-6px); } }
.vip__x { position: absolute; z-index: 3; top: calc(env(safe-area-inset-top) + 12px); right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.vip__s { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(env(safe-area-inset-top) + 7vh) 24px calc(env(safe-area-inset-bottom) + 28px); opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; }
.vip__s.is-on { opacity: 1; visibility: visible; transition: opacity .7s ease .15s, visibility 0s; }
.vip__kick { font-size: 12px; letter-spacing: .42em; font-weight: 600; color: rgba(255,255,255,.5); padding-left: .42em; }
.vip__btn { margin-top: auto; width: 100%; max-width: 420px; height: 54px; flex: none; border: 0; border-radius: 16px; background: #fff; color: #000; font: inherit; font-size: 17px; font-weight: 700; }
.vip__btn:active { transform: scale(.98); }
.vip__later { margin-top: 10px; border: 0; background: none; color: var(--accent, #0A84FF); font: inherit; font-size: 16px; padding: 8px 16px; }

/* 1) o símbolo do app acende */
.vip__intro { justify-content: center; cursor: pointer; }
.vip__halo { position: absolute; left: 50%; top: 36%; width: 280px; height: 280px; margin: -140px 0 0 -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 65%); opacity: 0; }
.vip__intro .vip__sym { width: 150px; height: 136px; margin-top: -8vh; filter: drop-shadow(0 0 28px rgba(255,255,255,.35)); opacity: 0; transform: scale(.85); }
.vip__nm { margin-top: 13vh; font-size: 14px; letter-spacing: .42em; padding-left: .42em; font-weight: 600; color: rgba(255,255,255,.55); opacity: 0; }
.vip__ln { margin-top: 16px; font-size: 30px; font-weight: 300; line-height: 1.25; letter-spacing: -.01em; opacity: 0; }
.vip__tap { position: absolute; bottom: calc(env(safe-area-inset-bottom) + 48px); left: 0; right: 0; font-size: 12px; letter-spacing: .3em; color: rgba(255,255,255,.35); opacity: 0; }
.vip__intro.is-on .vip__halo { animation: vipin 2.4s ease .2s forwards; }
.vip__intro.is-on .vip__sym { animation: vipsym 1.8s cubic-bezier(.2,.8,.2,1) .3s forwards; }
.vip__intro.is-on .vip__nm { animation: vipin 1s ease 1.4s forwards; }
.vip__intro.is-on .vip__ln { animation: vipup 1.1s ease 1.9s forwards; }
.vip__intro.is-on .vip__tap { animation: vipin 1s ease 3s forwards; }
@keyframes vipin { to { opacity: 1; } }
@keyframes vipsym { 0% { opacity: 0; transform: scale(.85); filter: drop-shadow(0 0 0 rgba(255,255,255,0)) blur(6px); } 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 28px rgba(255,255,255,.35)) blur(0); } }
@keyframes vipup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* 2) o cartão de membro */
.vip__h1 { margin: 12px 0 0; font-size: clamp(32px, 9.5vw, 42px); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; }
.vip__h1 b { font-weight: 700; }
.vcard { --rx: 13deg; --ry: -15deg; margin: 6vh 0 0; width: min(360px, 86vw); aspect-ratio: 1.586; perspective: 1100px; flex: none; touch-action: none; }
.vcard__in { position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(2deg); transition: transform .25s ease-out;
  background: linear-gradient(150deg, #fff 0%, #ececef 38%, #f8f8fa 62%, #dedee3 100%); color: #111; text-align: left;
  box-shadow: 0 50px 90px rgba(0,0,0,.95), 0 0 80px rgba(255,255,255,.10), inset 0 0 0 1px rgba(255,255,255,.7); }
.vcard__in::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(0,0,0,.018) 0 1px, transparent 1px 2px); }
.vip__rv.is-on .vcard__in { animation: vipcard 1.6s cubic-bezier(.16,1,.3,1) both; }
@keyframes vipcard { 0% { opacity: 0; transform: translateY(60px) rotateX(62deg) rotateY(-30deg) rotateZ(-6deg) scale(.86); } 100% { opacity: 1; transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(2deg); } }
.vcard__sheen { position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.95) 48%, rgba(255,255,255,.25) 52%, transparent 58%); transform: translateX(-60%); animation: vipsheen 4.5s ease-in-out 1.2s infinite; }
@keyframes vipsheen { 0% { transform: translateX(-60%); } 45%, 100% { transform: translateX(60%); } }
.vcard__word { position: absolute; left: 7%; top: 11%; width: 27%; height: 10%; background: #111; -webkit-mask: url(../media/marca/palavra-branco.png) left center / contain no-repeat; mask: url(../media/marca/palavra-branco.png) left center / contain no-repeat; }
.vcard__tier { position: absolute; right: 7%; top: 13%; font-size: 10.5px; letter-spacing: .4em; font-weight: 700; }
.vcard .vcard__sym { position: absolute; left: 7%; top: 35%; width: 14.5%; aspect-ratio: 1.1; background: #111; }
.vcard__nm { position: absolute; left: 7%; right: 7%; bottom: 20%; font-size: clamp(12px, 4vw, 15px); letter-spacing: .28em; font-weight: 600; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #1c1c1e; }
.vcard__no, .vcard__ed { position: absolute; bottom: 9.5%; font-size: 10.5px; letter-spacing: .26em; color: rgba(0,0,0,.45); }
.vcard__no { left: 7%; } .vcard__ed { right: 7%; }
.vip__rare { margin-top: 7vh; opacity: 0; }
.vip__rv.is-on .vip__rare { animation: vipup 1s ease 1.2s forwards; }
.vip__n { font-size: clamp(44px, 13vw, 56px); font-weight: 200; letter-spacing: -.02em; line-height: 1.05; }
.vip__t { margin-top: 4px; font-size: 14px; color: #AEAEB2; }
.vip__p { margin: 3.5vh 0 0; font-size: 16px; line-height: 1.55; color: #AEAEB2; opacity: 0; }
.vip__rv.is-on .vip__p { animation: vipup 1s ease 1.6s forwards; }

/* 3) o emblema */
.vip__medal { margin-top: 3vh; filter: drop-shadow(0 20px 40px rgba(180,170,255,.18)); }
.vip__md.is-on .vip__medal { animation: vipmedal 1.3s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes vipmedal { from { opacity: 0; transform: scale(.6) rotate(-12deg); } to { opacity: 1; transform: none; } }
.vip__medal .bdg { width: min(220px, 52vw) !important; height: min(220px, 52vw) !important; }
.vip__h2 { margin: 2vh 0 0; font-size: 30px; font-weight: 700; }
.vip__rar { margin-top: 6px; font-size: 12.5px; letter-spacing: .28em; font-weight: 700; color: #9B7BFF; }
.vip__list { list-style: none; margin: 3.5vh 0 0; padding: 0 16px; width: 100%; max-width: 420px; background: #1C1C1E; border-radius: 16px; text-align: left; }
.vip__list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: .5px solid rgba(255,255,255,.1); }
.vip__list li:last-child { border-bottom: 0; }
.vip__list li > span { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #2C2C2E; font-weight: 700; }
.vip__list b { display: block; font-size: 16px; font-weight: 600; }
.vip__list small { display: block; margin-top: 2px; font-size: 13.5px; color: #8E8E93; }
.vip__md .vip__btn { margin-top: auto; }

/* 4) avisos */
.vip__nf { justify-content: flex-end; padding: 0; }
.vip__sheet { width: 100%; padding: 34px 24px calc(env(safe-area-inset-bottom) + 24px); border-radius: 28px 28px 0 0; background: #1C1C1E; display: flex; flex-direction: column; align-items: center; transform: translateY(100%); }
.vip__nf.is-on .vip__sheet { animation: vipsheet .6s cubic-bezier(.2,.9,.3,1) .1s forwards; }
@keyframes vipsheet { to { transform: none; } }
.vip__bell { width: 86px; height: 86px; border-radius: 22px; background: #000; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.vip__sym--sm { width: 54px; height: 49px; }
.vip__sheet h3 { margin: 18px 0 0; font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.vip__sheet p { margin: 10px 0 24px; font-size: 15.5px; line-height: 1.5; color: #AEAEB2; }
.vip__sheet .vip__btn { margin-top: 0; }
@media (max-height: 700px) { .vip__s { padding-top: calc(env(safe-area-inset-top) + 4vh); } .vcard { margin-top: 3vh; } .vip__rare { margin-top: 3.5vh; } .vip__medal .bdg { width: 160px !important; height: 160px !important; } }
@media (prefers-reduced-motion: reduce) { .vip *, .vip { animation-duration: .01s !important; animation-delay: 0s !important; } .vcard__sheen { display: none; } }
.vip__terms { margin: 14px 0 0; font-size: 12px; color: #8E8E93; } .vip__terms a { color: #AEAEB2; }
.vip__md .vip__terms + .vip__btn { margin-top: auto; }

/* ---------- Painel do dono: abas em grade 3×2, Vitalícios e Dados ---------- */
.aseg--6 { grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border-radius: 12px; }
.aseg--6 button { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; padding: 8px 4px; font-size: 13px; }
.aseg--6 button span { overflow: hidden; text-overflow: ellipsis; }
.aseg--6 button .ic { flex: none; opacity: .75; }
.aseg--6 button em { flex: none; font-style: normal; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-3); color: var(--text-2); }
.aseg--6 button.is-on em { background: var(--text); color: var(--bg); }
.aseg--6 button.is-bad em { background: var(--danger); color: #fff; }
.acrown { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #111; color: #fff; font-style: normal; box-shadow: 0 0 0 1.5px #C7C7CC; vertical-align: middle; }
:root[data-theme="dark"] .acrown { background: #fff; color: #000; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .acrown { background: #fff; color: #000; } }
.ahero--vip { background: #000; color: #fff; }
.ahero--vip small { color: rgba(255,255,255,.6); display: inline-flex; align-items: center; gap: 5px; }
.ahero--vip span { color: rgba(255,255,255,.6); }
.avip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #000; color: #fff; margin-bottom: 8px; }
.avip > .ic { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: #fff; color: #000; }
.avip b { display: block; font-size: 15px; } .avip small { display: block; font-size: 12.5px; color: rgba(255,255,255,.65); margin-top: 2px; }
.grantbox { display: flex; flex-direction: column; gap: 8px; }
.grantdate { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: .5px solid var(--sep, rgba(128,128,128,.25)); }
.avrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; border: 0; background: none; font: inherit; color: inherit; text-align: left; border-bottom: .5px solid var(--sep, rgba(128,128,128,.2)); }
.avrow:last-child { border-bottom: 0; }
.avrow__id { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.avrow__id b { font-size: 15px; display: flex; align-items: center; gap: 6px; }
.avrow__id small { font-size: 12.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avrow > .ic:last-child { color: var(--text-3); flex: none; }
.ah2 { font-size: 13px; font-weight: 600; color: var(--text-2); margin: 8px 4px -4px; }
.ainsights h4 { font-size: 13px; margin: 10px 0 4px; color: var(--text-2); }
.abars li { grid-template-columns: minmax(0, 1fr) 70px auto; }
.abars li b { font-size: 12.5px; white-space: nowrap; min-width: 24px; }
.abars--use li span { display: flex; flex-direction: column; }
.abars--use li span small { font-size: 11px; color: var(--text-3); }
.aerr__steps { color: var(--text-2) !important; }
.aerr__why { color: var(--text-2) !important; background: var(--surface-2); padding: 6px 8px; border-radius: 8px; margin-top: 6px !important; }
/* aviso de versão antiga no topo (um toque atualiza) */
.updpill { white-space: nowrap; position: fixed; z-index: 9000; top: calc(env(safe-area-inset-top) + 8px); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border: 0; border-radius: 999px; background: #0A84FF; color: #fff; font: inherit; font-size: 13px; box-shadow: 0 6px 20px rgba(0,0,0,.25); animation: updin .4s ease; }
.updpill b { background: #fff; color: #0A84FF; padding: 5px 12px; border-radius: 999px; font-size: 13px; }
.updpill.is-busy { opacity: .8; }
@keyframes updin { from { opacity: 0; transform: translate(-50%, -12px); } }
.memoadd { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border-radius: var(--radius, 16px); box-shadow: var(--shadow); padding: 12px; }
.memoadd textarea { width: 100%; border: 0; background: var(--surface-2); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--text); resize: none; }
.memosearch { margin-top: 4px; }
.memos { background: var(--surface); border-radius: var(--radius, 16px); box-shadow: var(--shadow); overflow: hidden; }
.memo { display: flex; align-items: flex-start; gap: 12px; padding: 12px 10px 12px 14px; border-bottom: .5px solid var(--line); }
.memo:last-child { border-bottom: 0; }
.memo__t { flex: none; min-width: 44px; font-size: 13px; font-weight: 700; color: var(--text-3); padding-top: 2px; }
.memo p { flex: 1; margin: 0; font-size: 15.5px; line-height: 1.4; word-break: break-word; }
.memo__x { flex: none; color: var(--text-3); }

.pmemocard { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: var(--radius, 16px); background: var(--surface); box-shadow: var(--shadow); font: inherit; color: inherit; text-align: left; margin-bottom: 4px; }
.pmemocard > span:not(.ptile) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pmemocard strong { font-size: 16px; } .pmemocard small { font-size: 13px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pmemocard > .ic:last-child { color: var(--text-3); flex: none; }
.pback { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; }
.pmemocard > .ptile { flex: none; width: var(--s); height: var(--s); }
.consent--remember small { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; line-height: 1.35; }
.ptitlerow { display: flex; align-items: center; gap: 10px; }
.ptitlerow > span { flex: none; display: grid; }
.ptitlerow .input { flex: 1; min-width: 0; }
.login__moved { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); color: var(--accent); font-size: 14px; line-height: 1.4; max-width: 420px; margin: 0 auto 8px; }
.login__moved span { color: var(--text); }
.news__h { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.news__meta { display: flex; justify-content: space-between; font-size: 15px; color: var(--text-3); font-weight: 600; margin-bottom: 8px; }
.news__txt { font-size: 16px; line-height: 1.5; margin: 0 0 18px; }
/* caixa de entrada do suporte (dono): cada conversa é uma linha inteira, fácil de tocar */
.sinbox { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 14px; border: 0; background: transparent; font: inherit; color: var(--text); text-align: left; position: relative; }
.sinbox + .sinbox { border-top: .5px solid var(--line); }
.sinbox:active { background: var(--press); }
.sinbox > div:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sinbox strong { font-size: 16px; font-weight: 600; }
.sinbox small { font-size: 13.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sinbox__r { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.sinbox__r time { font-size: 12px; color: var(--text-3); }
.sinbox__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--danger); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.sinbox.is-loading { opacity: .5; }
.tcard__champ { color: #C98B12 !important; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
