@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fontes/playfair-display-latin-700-normal.woff2") format("woff2"); }
/* Ajustes visuais dentro do app (fundo claro), carregados por index.html via aplicar.mjs */

/* Celular: o menu lateral usa "bg-sidebar", que não existe no tema; o topo ficava transparente e a barra "Painel Central" aparecia por trás do logo. */
[data-sidebar="sidebar"][data-mobile="true"] { background: #ffffff; color: #3d2635; }
[data-sidebar="sidebar"][data-mobile="true"] [data-slot="sidebar-header"],
[data-sidebar="sidebar"][data-mobile="true"] [data-sidebar="header"] { background: #ffffff; }

/* Tela inicial: módulos em cartões, mesmas cores do guia (ouro, magenta, lilás) em versão clara */
.cm-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1400px) { .cm-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cm-modulo { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; text-align: left; padding: 16px; border-radius: 16px; background: #ffffff; border: 1px solid #ecd9a0; transition: border-color .15s, background .15s, box-shadow .15s; }
.cm-modulo:hover { border-color: #c2398a; background: #fffaf3; box-shadow: 0 2px 10px rgba(194, 57, 138, 0.12); }
.cm-modulo:focus-visible { outline: 2px solid #c2398a; outline-offset: 2px; }
.cm-ico { font-size: 26px; line-height: 1; margin-bottom: 6px; }
.cm-titulo { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 700; font-size: 18px; line-height: 1.2; color: #7a5c0b; }
.cm-texto { font-size: 13px; line-height: 1.45; color: #6f5f69; }
.cm-abrir { margin-top: 8px; font-size: 13px; font-weight: 600; color: #a82d74; }
.cm-grade-titulo { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 700; color: #3d2635; }

/* Resumo compacto: um cartão só, divisórias douradas finas */
.cm-resumo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #f0e2b0; border: 1px solid #ecd9a0; border-radius: 16px; overflow: hidden; }
@media (min-width: 900px) { .cm-resumo { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cm-resumo-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); border: 0; border-radius: inherit; }
.cm-stat { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px 14px; background: #ffffff; }
.cm-resumo-3 .cm-stat { flex-direction: column; align-items: flex-start; gap: 2px; }
.cm-stat-ico { font-size: 22px; line-height: 1; }
.cm-stat-rot { font-size: 12px; line-height: 1.3; color: #6f5f69; margin: 0; }
.cm-stat-val { font-size: 17px; line-height: 1.25; font-weight: 700; color: #3d2635; margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cm-resumo-3 .cm-stat-val { font-size: 15px; }
.cm-stat-ajuda { font-size: 11px; line-height: 1.3; color: #a82d74; margin: 2px 0 0; }
.cm-nav-ico { display: inline-block; width: 16px; text-align: center; font-size: 15px; line-height: 1; }

/* Títulos dentro do app: serifada, dourado escuro (legível no fundo claro) */
main :is(h1, h2, h3, [data-slot="card-title"]) { font-family: "Playfair Display", Georgia, "Times New Roman", serif; color: #7a5c0b; }

/* Microfone nos campos da tela Bem-estar */
.cm-mic { display: inline-grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; margin-left: 6px; border-radius: 12px; border: 1px solid #ecd9a0; background: #ffffff; font-size: 18px; line-height: 1; cursor: pointer; }
.cm-mic:hover { border-color: #c2398a; }
.cm-mic:focus-visible { outline: 2px solid #c2398a; outline-offset: 2px; }
.cm-mic-ativo { background: #c2398a; border-color: #c2398a; animation: cm-pulso 1.2s ease-in-out infinite; }
.cm-mic-aviso { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; max-width: min(92vw, 420px); padding: 10px 16px; border-radius: 12px; background: #3d2635; color: #ffffff; font-size: 14px; text-align: center; }
@keyframes cm-pulso { 50% { box-shadow: 0 0 0 6px rgba(194, 57, 138, 0.25); } }
@media (prefers-reduced-motion: reduce) { .cm-mic-ativo { animation: none; } }

/* ===== Tela "Hoje" (início) ===== */
.cm-hoje { display: grid; gap: 14px; max-width: 1100px; margin: 0 auto; }
.cm-saudacao { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px; border-radius: 20px; background: linear-gradient(135deg, #fde7f1, #fdf1dc); border: 1px solid #f3dfe8; }
.cm-sauda-t { margin: 0; font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 22px; line-height: 1.2; color: #7a5c0b; }
.cm-sauda-s { margin: 4px 0 0; font-size: 14px; color: #6f5f69; }
.cm-data { flex: 0 0 auto; padding: 6px 12px; border-radius: 99px; background: #ffffff; border: 1px solid #f3dfe8; font-size: 13px; font-weight: 600; color: #a82d74; }
.cm-atalhos { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.cm-atalhos::-webkit-scrollbar { display: none; }
.cm-atalho { flex: 0 0 auto; display: grid; justify-items: center; gap: 6px; width: 64px; background: none; border: 0; padding: 0; cursor: pointer; }
.cm-atalho-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fde7f1; border: 1px solid #f3dfe8; font-size: 24px; transition: transform .12s, background .12s; }
.cm-atalho:hover .cm-atalho-ico { background: #fbd8e8; transform: translateY(-2px); }
.cm-atalho:focus-visible { outline: 2px solid #c2398a; outline-offset: 2px; border-radius: 12px; }
.cm-atalho-rot { font-size: 12px; font-weight: 600; color: #3d2635; }
.cm-cards { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cm-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 16px; border-radius: 20px; background: #ffffff; border: 1px solid #f3dfe8; box-shadow: 0 1px 6px rgba(194, 57, 138, 0.06); }
.cm-card-cab { display: flex; align-items: center; gap: 10px; }
.cm-card-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff3d6; font-size: 18px; }
.cm-card-tit { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 17px; font-weight: 700; }
.cm-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cm-item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cm-hora { flex: 0 0 auto; min-width: 46px; font-size: 13px; font-weight: 700; color: #a82d74; }
.cm-item-txt { display: grid; min-width: 0; }
.cm-item-t { font-size: 14px; font-weight: 600; color: #3d2635; overflow-wrap: anywhere; }
.cm-item-s { font-size: 12px; color: #6f5f69; }
.cm-check { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d9a8c3; background: #ffffff; cursor: pointer; }
.cm-check:hover { background: #fde7f1; border-color: #c2398a; }
.cm-check:focus-visible { outline: 2px solid #c2398a; outline-offset: 2px; }
.cm-vazio { margin: 0; font-size: 14px; color: #6f5f69; }
.cm-fin { display: grid; gap: 10px; }
.cm-fin-r { margin: 0; font-size: 12px; color: #6f5f69; }
.cm-fin-saldo { margin: 2px 0 0; font-size: 26px; font-weight: 700; color: #3d2635; font-variant-numeric: tabular-nums; }
.cm-fin-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cm-fin-in, .cm-fin-out { margin: 2px 0 0; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cm-fin-in { color: #2f7d4f; }
.cm-fin-out { color: #b3265f; }
.cm-humor { display: flex; align-items: center; gap: 12px; }
.cm-humor-e { font-size: 38px; line-height: 1; }
.cm-card-link { align-self: flex-start; margin-top: auto; padding: 4px 0; background: none; border: 0; font-size: 13px; font-weight: 700; color: #a82d74; cursor: pointer; }
.cm-card-link:hover { text-decoration: underline; }
.cm-card-link:focus-visible { outline: 2px solid #c2398a; outline-offset: 2px; border-radius: 6px; }
.cm-card-aurora { background: linear-gradient(135deg, #fff7fb, #f6efff); }

/* ===== Barra inferior (celular) ===== */
.cm-barra { display: none; }
@media (max-width: 899px) {
  .cm-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: space-around; padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px)); background: #2a1620; border-radius: 18px 18px 0 0; }
  .cm-barra[hidden] { display: none; }
  .cm-aba { flex: 1 1 0; display: grid; justify-items: center; gap: 2px; padding: 4px 2px; background: none; border: 0; color: #d8c3cf; font-size: 11px; cursor: pointer; }
  .cm-aba-e { font-size: 20px; line-height: 1; filter: grayscale(0.4) opacity(0.8); }
  .cm-aba-ativa { color: #ffffff; font-weight: 700; }
  .cm-aba-ativa .cm-aba-e { filter: none; }
  .cm-aba:focus-visible { outline: 2px solid #ecd37a; outline-offset: 2px; border-radius: 10px; }
  html.cm-com-barra body { padding-bottom: 76px; }
}
.cm-hora-e { min-width: 28px; font-size: 18px; }

/* ===== Demais telas no estilo do "Hoje" ===== */
main [data-slot="card"] { border-color: #f3dfe8; border-radius: 20px; box-shadow: 0 1px 6px rgba(194, 57, 138, 0.06); background: #ffffff; }
main [data-slot="card-title"] { font-weight: 700; }
main [data-slot="tabs-list"] { background: #fde7f1; border-radius: 16px; padding: 4px; }
main [data-slot="tabs-trigger"] { border-radius: 12px; font-weight: 600; color: #6f5f69; }
main [data-slot="tabs-trigger"][data-state="active"] { background: #ffffff; color: #7a5c0b; box-shadow: 0 1px 4px rgba(194, 57, 138, 0.12); }
main [data-slot="progress"] { background: #fde7f1; }
main [data-slot="progress-indicator"] { background: #c2398a; }
main [data-slot="badge"] { border-radius: 99px; }
[data-slot="dialog-content"] { border-radius: 22px; border-color: #f3dfe8; }
[data-slot="dialog-title"] { font-family: "Playfair Display", Georgia, serif; color: #7a5c0b; }
main [data-slot="input"], main [data-slot="textarea"], [data-slot="dialog-content"] [data-slot="input"], [data-slot="dialog-content"] [data-slot="textarea"], main [data-slot="select-trigger"] { border-color: #ecd9e4; border-radius: 12px; background: #ffffff; }
main [data-slot="input"]:focus-visible, main [data-slot="textarea"]:focus-visible { border-color: #c2398a; box-shadow: 0 0 0 3px rgba(194, 57, 138, 0.18); }
main [data-slot="button"] { border-radius: 12px; }
main [data-slot="button"][class*="border"]:not([class*="bg-rose"]) { border-color: #ecd9a0; }

/* Emoji no título de cada tela (a rota fica em html[data-pagina]) */
html[data-pagina="/financas"] main h1::before { content: "💰 "; }
html[data-pagina="/saude"] main h1::before { content: "🌸 "; }
html[data-pagina="/bem-estar"] main h1::before { content: "✨ "; }
html[data-pagina="/notificacoes"] main h1::before { content: "🔔 "; }
html[data-pagina="/perfil"] main h1::before { content: "👤 "; }
main [data-slot="card"] { gap: 12px; padding-block: 14px; }

/* ===== Foco (Pomodoro) ===== */
html[data-pagina="/foco"] main h1::before { content: "⏱️ "; }
.cm-foco { display: grid; justify-items: center; gap: 16px; max-width: 460px; margin: 0 auto; padding: 8px 0 24px; }
.cm-foco-modos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 4px; border-radius: 16px; background: #fde7f1; }
.cm-foco-modo { padding: 8px 14px; border-radius: 12px; border: 0; background: transparent; font-size: 14px; font-weight: 600; color: #6f5f69; cursor: pointer; }
.cm-foco-modo-on { background: #ffffff; color: #7a5c0b; box-shadow: 0 1px 4px rgba(194, 57, 138, 0.12); }
.cm-foco-modo:focus-visible, .cm-foco-botao:focus-visible { outline: 2px solid #c2398a; outline-offset: 2px; }
.cm-foco-rel { position: relative; width: min(72vw, 280px); aspect-ratio: 1; }
.cm-foco-anel { width: 100%; height: 100%; }
.cm-foco-tempo { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.cm-foco-num { font-family: "Playfair Display", Georgia, serif; font-size: clamp(40px, 14vw, 56px); font-weight: 700; color: #7a5c0b; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cm-foco-modo-t { font-size: 14px; color: #6f5f69; }
.cm-foco-linha { display: flex; align-items: center; width: 100%; }
.cm-foco-campo { flex: 1 1 auto; min-width: 0; padding: 12px 14px; border: 1px solid #ecd9e4; border-radius: 12px; background: #ffffff; font-size: 15px; }
.cm-foco-campo:focus-visible { outline: none; border-color: #c2398a; box-shadow: 0 0 0 3px rgba(194, 57, 138, 0.18); }
.cm-foco-acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cm-foco-botao { padding: 11px 20px; border-radius: 12px; border: 1px solid #ecd9a0; background: #ffffff; font-size: 15px; font-weight: 600; color: #3d2635; cursor: pointer; }
.cm-foco-principal { background: #c2398a; border-color: #c2398a; color: #ffffff; min-width: 130px; }
.cm-foco-info { margin: 0; font-size: 14px; color: #6f5f69; text-align: center; }
.cm-foco-dica { margin: 0; font-size: 12px; color: #6f5f69; text-align: center; }

/* ===== Google Agenda (link) ===== */
.cm-gcal { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; color: #a82d74; text-decoration: none; }
.cm-gcal:hover { text-decoration: underline; }
.cm-gcal:focus-visible { outline: 2px solid #c2398a; outline-offset: 2px; border-radius: 6px; }

/* ===== Aurora global (botão flutuante + folha) ===== */
.cm-aurora-fab { position: fixed; right: 16px; bottom: 24px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 99px; background: linear-gradient(135deg, #c2398a, #a82d74); color: #ffffff; font-size: 15px; font-weight: 700; box-shadow: 0 6px 18px rgba(168, 45, 116, 0.35); cursor: pointer; }
.cm-aurora-fab:focus-visible { outline: 3px solid #ecd37a; outline-offset: 2px; }
@media (max-width: 899px) { .cm-aurora-fab { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); } }
.cm-aurora-fundo { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; background: rgba(42, 22, 32, 0.45); }
@media (min-width: 900px) { .cm-aurora-fundo { align-items: center; } }
.cm-aurora-folha { width: min(520px, 100%); max-height: 90vh; overflow-y: auto; display: grid; gap: 12px; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); border-radius: 22px 22px 0 0; background: #ffffff; box-shadow: 0 -8px 30px rgba(42, 22, 32, 0.25); }
@media (min-width: 900px) { .cm-aurora-folha { border-radius: 22px; } }
.cm-aurora-cab { display: flex; align-items: center; justify-content: space-between; }
.cm-aurora-tit { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 20px; font-weight: 700; color: #7a5c0b; }
.cm-aurora-fechar { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fde7f1; color: #3d2635; font-size: 16px; cursor: pointer; }
.cm-aurora-linha { display: flex; align-items: flex-start; }
.cm-aurora-campo { flex: 1 1 auto; min-width: 0; resize: vertical; padding: 12px 14px; border: 1px solid #ecd9e4; border-radius: 14px; background: #ffffff; font: inherit; font-size: 15px; line-height: 1.4; color: #3d2635; }
.cm-aurora-campo:focus-visible { outline: none; border-color: #c2398a; box-shadow: 0 0 0 3px rgba(194, 57, 138, 0.18); }
.cm-aurora-linha .cm-mic { margin-top: 2px; }
.cm-aurora-botao { padding: 12px 18px; border: 1px solid #ecd9a0; border-radius: 12px; background: #ffffff; font-size: 15px; font-weight: 600; color: #3d2635; cursor: pointer; }
.cm-aurora-principal { background: #c2398a; border-color: #c2398a; color: #ffffff; }
.cm-aurora-botao:disabled { opacity: 0.55; cursor: default; }
.cm-aurora-botao:focus-visible, .cm-aurora-x:focus-visible, .cm-aurora-fechar:focus-visible { outline: 2px solid #c2398a; outline-offset: 2px; }
.cm-aurora-acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.cm-aurora-fala { margin: 0; font-size: 15px; line-height: 1.45; color: #3d2635; }
.cm-aurora-pergunta { margin: 0; padding: 10px 12px; border-radius: 12px; background: #f6efff; font-size: 14px; color: #3d2635; }
.cm-aurora-erro { margin: 0; font-size: 14px; font-weight: 600; color: #b3265f; }
.cm-aurora-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cm-aurora-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #f3dfe8; border-radius: 14px; background: #fffafc; }
.cm-aurora-item-off { opacity: 0.45; text-decoration: line-through; }
.cm-aurora-item-e { font-size: 22px; line-height: 1; }
.cm-aurora-item-txt { display: grid; min-width: 0; flex: 1 1 auto; }
.cm-aurora-item-t { font-size: 14px; font-weight: 700; color: #3d2635; overflow-wrap: anywhere; }
.cm-aurora-item-s { font-size: 12px; color: #6f5f69; }
.cm-aurora-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fde7f1; color: #3d2635; cursor: pointer; }

/* ===== Menu lateral reformulado ===== */
[data-slot="sidebar-header"] { height: auto !important; min-height: 84px; background: linear-gradient(135deg, #fff5fa, #fff8ea); border-bottom-color: #f3dfe8; }
[data-slot="sidebar-header"] .min-w-0 > span:first-child { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 700; color: #7a5c0b; letter-spacing: 0; }
[data-slot="sidebar-header"] .min-w-0 > span:last-child { font-size: 10px; letter-spacing: 0.12em; color: #a82d74; }
[data-slot="sidebar-header"] div.border-rose-200 { border-color: #ecd9a0; background: linear-gradient(135deg, #fff3d6, #fde7f1); }
[data-slot="sidebar-header"] div.border-rose-200 svg { color: #a82d74; }
[data-slot="sidebar-content"] { background: #ffffff; }
[data-slot="sidebar-menu-item"]::before { display: block; padding: 14px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #9a8a94; }
[data-slot="sidebar-menu-item"]:first-child::before { content: "Seu dia"; padding-top: 4px; }
[data-slot="sidebar-menu-item"]:nth-child(3)::before { content: "Minha vida"; }
[data-slot="sidebar-menu-item"]:nth-child(6)::before { content: "Conta"; }
[data-state="collapsed"] [data-slot="sidebar-menu-item"]::before { display: none; }
[data-slot="sidebar-menu-button"] { height: 44px; border-radius: 14px; font-size: 15px; color: #6f5f69; }
[data-slot="sidebar-menu-button"]:hover { background: #fff3f8; color: #3d2635; }
[data-slot="sidebar-menu-button"][data-active="true"] { background: linear-gradient(135deg, #fde7f1, #fff1d6); color: #7a5c0b; font-weight: 700; box-shadow: inset 3px 0 0 #c2398a; }
[data-slot="sidebar-menu-button"] .cm-nav-ico { font-size: 18px; width: 22px; }
[data-slot="sidebar-footer"] { background: #ffffff; border-top-color: #f3dfe8; }
[data-slot="sidebar-footer"] > div.border-rose-100 { border-radius: 16px; border-color: #f3dfe8; background: linear-gradient(135deg, #fff7fb, #f6efff); }
[data-slot="sidebar-footer"] button.bg-rose-600 { border-radius: 14px; height: 44px; background: linear-gradient(135deg, #c2398a, #a82d74); font-weight: 700; }
[data-slot="sidebar-footer"] button.bg-rose-600:hover { background: linear-gradient(135deg, #a82d74, #8f2562); }

/* ===== Microfone dentro do campo (formulários) ===== */
.cm-mic-pai { position: relative; }
.cm-mic-campo { padding-right: 48px !important; }
.cm-mic.cm-mic-dentro { position: absolute; right: 6px; bottom: 4px; width: 28px; height: 28px; margin: 0; border-radius: 8px; border-color: transparent; background: #fff3f8; font-size: 14px; }
.cm-mic.cm-mic-dentro.cm-mic-ativo { background: #c2398a; }
textarea.cm-mic-campo + .cm-mic-dentro { bottom: 8px; }

/* ===== Menu lateral: topo só com o nome; rodapé só com o botão da Aurora ===== */
[data-slot="sidebar-header"] div.border-rose-200 { display: none; }
[data-slot="sidebar-header"] .min-w-0 > span:last-child { display: none; }
[data-slot="sidebar-header"] .min-w-0 > span:first-child { font-size: 26px; font-style: italic; line-height: 1.1; background: linear-gradient(135deg, #8f6f12, #c2398a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; overflow: visible; }
[data-slot="sidebar-header"] { min-height: 72px; }
[data-slot="sidebar-footer"] > div.border-rose-100 { display: none; }
[data-slot="sidebar-footer"] button[aria-haspopup="menu"] { display: none; }
[data-slot="sidebar-footer"] button.bg-rose-600 { margin-bottom: 0; }
@media (max-height: 760px) {
  [data-slot="sidebar-menu-button"] { height: 40px; }
  [data-slot="sidebar-menu-item"]::before { padding-top: 8px; }
}

/* ===== Hábitos, água e sono, metas e relatórios ===== */
.cm-r { max-width: 640px; margin: 0 auto; padding: 4px 0 96px; display: grid; gap: 14px; color: #3d2635; }
.cm-r-titulo { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 26px; font-weight: 700; color: #7a5c0b; }
.cm-r-sub, .cm-r-info, .cm-r-mini { margin: 0; font-size: 14px; color: #6f5f69; }
.cm-r-mini { font-size: 12px; }
.cm-r-vazio { margin: 0; padding: 18px; border-radius: 16px; background: #fff7fb; border: 1px dashed #ecd9e4; color: #6f5f69; text-align: center; }
.cm-r-aviso { padding: 16px; border-radius: 16px; background: #fff8e1; border: 1px solid #ecd9a0; color: #5b4508; }
.cm-r-aviso p { margin: 6px 0 0; font-size: 14px; }
.cm-r-erro { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fdecec; color: #8a1c1c; font-size: 14px; }
.cm-r-lista { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.cm-r-item, .cm-r-card { padding: 14px; border-radius: 16px; background: #ffffff; border: 1px solid #ecd9e4; box-shadow: 0 1px 4px rgba(194, 57, 138, 0.08); display: grid; gap: 8px; }
.cm-r-card h2 { margin: 0; font-size: 17px; font-weight: 700; }
.cm-r-feita .cm-r-texto strong { text-decoration: line-through; color: #6f5f69; }
.cm-r-linha { display: flex; align-items: center; gap: 10px; }
.cm-r-texto { flex: 1 1 auto; min-width: 0; display: grid; }
.cm-r-texto strong { font-size: 15px; overflow-wrap: anywhere; }
.cm-r-texto small { font-size: 12px; color: #6f5f69; }
.cm-r-check { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #c2398a; background: #ffffff; color: #ffffff; font-size: 18px; font-weight: 700; cursor: pointer; }
.cm-r-check-p { width: 26px; height: 26px; font-size: 14px; }
.cm-r-check-on { background: #c2398a; }
.cm-r-check:disabled { opacity: 0.4; cursor: not-allowed; }
.cm-r-check:focus-visible, .cm-r-btn:focus-visible, .cm-r-x:focus-visible, .cm-r-emojis button:focus-visible, .cm-r-semana button:focus-visible, .cm-r-estrelas button:focus-visible { outline: 2px solid #c2398a; outline-offset: 2px; }
.cm-r-chama { flex: none; font-size: 14px; font-weight: 700; color: #a85a00; }
.cm-r-x { flex: none; min-width: 36px; min-height: 36px; border: 0; background: transparent; cursor: pointer; font-size: 15px; color: #6f5f69; }
.cm-r-bolas { display: flex; gap: 3px; flex-wrap: wrap; }
.cm-r-bolas i { width: 9px; height: 9px; border-radius: 50%; background: #f3e5ec; }
.cm-r-bolas i.on { background: #c2398a; }
.cm-r-bolas i.nao { background: transparent; border: 1px solid #f3e5ec; }
.cm-r-btn { min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid #ecd9a0; background: #ffffff; font-size: 15px; font-weight: 600; color: #3d2635; cursor: pointer; }
.cm-r-btn-main { background: #c2398a; border-color: #c2398a; color: #ffffff; }
.cm-r-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.cm-r-acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.cm-r-form { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: #fff7fb; border: 1px solid #ecd9e4; }
.cm-r-form label, .cm-r-sono label, .cm-r-meta { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: #6f5f69; }
.cm-r-form input, .cm-r-form select, .cm-r-sono input, .cm-r-meta input, .cm-r-novaetapa input { min-height: 44px; padding: 8px 12px; border: 1px solid #ecd9e4; border-radius: 12px; background: #ffffff; font-size: 15px; color: #3d2635; width: 100%; box-sizing: border-box; }
.cm-r-form input:focus-visible, .cm-r-form select:focus-visible, .cm-r-sono input:focus-visible, .cm-r-meta input:focus-visible, .cm-r-novaetapa input:focus-visible { outline: none; border-color: #c2398a; box-shadow: 0 0 0 3px rgba(194, 57, 138, 0.18); }
.cm-r-duplo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cm-r-emojis, .cm-r-semana, .cm-r-estrelas { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-r-emojis button, .cm-r-semana button, .cm-r-estrelas button { min-width: 40px; min-height: 40px; border-radius: 12px; border: 1px solid #ecd9e4; background: #ffffff; font-size: 16px; font-weight: 700; color: #6f5f69; cursor: pointer; }
.cm-r-emojis button.on, .cm-r-semana button.on { background: #fde7f1; border-color: #c2398a; color: #a82d74; }
.cm-r-estrelas button { font-size: 22px; color: #d9c7d1; }
.cm-r-estrelas button.on { color: #d99a00; border-color: #ecd9a0; }
.cm-r-grande { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 30px; font-weight: 700; color: #7a5c0b; }
.cm-r-grande small { font-family: inherit; font-size: 14px; font-weight: 400; color: #6f5f69; }
.cm-r-barra { height: 10px; border-radius: 999px; background: #f3e5ec; overflow: hidden; }
.cm-r-barra span { display: block; height: 100%; background: linear-gradient(90deg, #c2398a, #d99a00); border-radius: 999px; }
.cm-r-etapas { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cm-r-etapas li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.cm-r-etapas li span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.cm-r-riscado { text-decoration: line-through; color: #6f5f69; }
.cm-r-novaetapa { display: flex; gap: 8px; }
.cm-r-novaetapa .cm-r-btn { flex: none; }
.cm-r-abas { display: flex; gap: 6px; padding: 4px; border-radius: 16px; background: #fde7f1; }
.cm-r-abas button { flex: 1; min-height: 40px; border: 0; border-radius: 12px; background: transparent; font-size: 14px; font-weight: 600; color: #6f5f69; cursor: pointer; }
.cm-r-abas button.on { background: #ffffff; color: #7a5c0b; box-shadow: 0 1px 4px rgba(194, 57, 138, 0.12); }
.cm-r-dest { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.cm-r-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cm-r-num { display: grid; justify-items: center; gap: 2px; padding: 12px 6px; border-radius: 16px; background: #ffffff; border: 1px solid #ecd9e4; text-align: center; }
.cm-r-num strong { font-size: 15px; color: #7a5c0b; overflow-wrap: anywhere; }
.cm-r-num small { font-size: 12px; color: #6f5f69; }
.cm-r-hab { display: grid; grid-template-columns: minmax(0, 1fr) 90px auto; align-items: center; gap: 8px; font-size: 14px; }
@media (max-width: 420px) { .cm-r-nums { grid-template-columns: repeat(2, 1fr); } .cm-r-duplo { grid-template-columns: 1fr; } }
.cm-r-hoje { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cm-r-hoje-i { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; border: 1px solid #ecd9e4; background: #fff7fb; cursor: pointer; font: inherit; }
.cm-r-hoje-i strong { font-size: 15px; color: #7a5c0b; }
.cm-r-hoje-i small { font-size: 11px; color: #6f5f69; text-align: center; }
.cm-r-hoje-i:focus-visible { outline: 2px solid #c2398a; outline-offset: 2px; }

/* ===== Diário ===== */
.cm-d-nova textarea { width: 100%; box-sizing: border-box; min-height: 88px; padding: 10px 44px 10px 12px; border: 1px solid #ecd9e4; border-radius: 12px; background: #ffffff; font-size: 15px; color: #3d2635; resize: vertical; }
.cm-d-nova textarea:focus-visible { outline: none; border-color: #c2398a; box-shadow: 0 0 0 3px rgba(194, 57, 138, 0.18); }
.cm-d-filtros { display: grid; gap: 8px; }
.cm-d-busca { min-height: 44px; padding: 8px 12px; border: 1px solid #ecd9e4; border-radius: 12px; background: #ffffff; font-size: 15px; width: 100%; box-sizing: border-box; }
.cm-d-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-d-chip { min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid #ecd9e4; background: #ffffff; font-size: 13px; font-weight: 600; color: #6f5f69; cursor: pointer; }
.cm-d-chip.on { background: #fde7f1; border-color: #c2398a; color: #a82d74; }
.cm-d-chip:focus-visible, .cm-d-bt:focus-visible { outline: 2px solid #c2398a; outline-offset: 2px; }
.cm-d-emos { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-d-emo { padding: 3px 10px; border-radius: 999px; background: #fff3f8; border: 1px solid #f3dce8; font-size: 12px; font-weight: 600; color: #6f5f69; }
.cm-d-dia { display: grid; gap: 8px; }
.cm-d-dia-t { margin: 8px 0 0; font-size: 14px; font-weight: 700; color: #7a5c0b; text-transform: capitalize; }
.cm-d-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cm-d-origem { flex: none; font-size: 11px; color: #6f5f69; }
.cm-d-texto { margin: 0; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm-d-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-d-tema { font-size: 12px; color: #a82d74; }
.cm-d-acoes { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-d-bt { min-height: 36px; padding: 4px 10px; border-radius: 10px; border: 1px solid #ecd9e4; background: #ffffff; font-size: 12px; font-weight: 600; color: #6f5f69; cursor: pointer; }
.cm-d-bt.on { background: #fff8e1; border-color: #ecd9a0; color: #7a5c0b; }
