
/* ===== calendario e humor ===== */
.v-cal .v-eyebrow, .v-mood .v-eyebrow {
  display: block;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}
.v-cal-page, .v-mood-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.25rem 16px 4rem;
  color: var(--text);
}

/* --- Calendário: cabeçalho --- */
.v-cal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.v-cal-month {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: .95;
  letter-spacing: -.01em;
  margin: 0;
}
.v-cal-month em {
  font-style: italic;
  color: var(--accent);
  font-size: .42em;
  letter-spacing: .02em;
  margin-left: .35em;
  vertical-align: .55em;
}
.v-cal-nav { display: flex; gap: .4rem; }
.v-cal-nav .btn { min-width: 2.6rem; }

/* --- Calendário: resumo --- */
.v-cal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}
.v-cal-stat { padding: .6rem 0 .9rem; min-width: 0; }
.v-cal-stat + .v-cal-stat { border-left: 1px solid var(--line); padding-left: 1rem; }
.v-cal-stat-val {
  display: block;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: clamp(1.3rem, 4vw, 2rem);
  line-height: 1.1;
  white-space: nowrap;
}
.v-cal-stat-label {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  margin-top: .2rem;
}
.v-cal-stat-emo { font-size: .7em; vertical-align: .15em; margin-left: .2rem; }

/* --- Calendário: grade --- */
.v-cal-dows, .v-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.v-cal-dows {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .6rem 0 .4rem;
}
.v-cal-dows span { text-align: center; }
.v-cal-blank { aspect-ratio: 1 / 1; }
.v-cal-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  min-width: 0;
  margin: 0;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background-color .2s ease, border-color .2s ease;
}
.v-cal-cell:hover { background: var(--card); border-color: var(--line); }
.v-cal-cell:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.v-cal-num {
  position: relative;
  z-index: 2;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: .74rem;
  line-height: 1;
  color: var(--muted);
}
.v-cal-shape {
  position: absolute;
  left: 50%;
  top: 56%;
  width: 62%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: var(--mc, var(--line));
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.v-cal-shape:not(.has-img) { mix-blend-mode: multiply; }
.v-cal-shape.has-img {
  width: 72%;
  box-shadow: 0 0 0 3px var(--mc, var(--line));
}
.v-cal-emoji {
  position: absolute;
  right: 4px;
  bottom: 3px;
  z-index: 3;
  font-size: .8rem;
  line-height: 1;
}
.v-cal-cell.is-today .v-cal-num { color: var(--text); font-weight: 700; }
.v-cal-cell.is-today::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 56%;
  width: 80%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border: 1px solid var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}
.v-cal-cell.is-future { opacity: .4; }
.v-cal-cell.is-future.has-entry { opacity: .7; }

/* --- Busca --- */
.v-cal-search {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.v-cal-search-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}
.v-cal-input {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 1.05rem;
  padding: .8rem 0;
  border: 0;
  border-bottom: 1px solid var(--text);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  outline: none;
}
.v-cal-input:focus { border-bottom: 2px solid var(--accent); }
.v-cal-input::placeholder {
  color: var(--muted);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
}
.v-cal-hint {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: .78rem;
  color: var(--muted);
  margin: .9rem 0 .3rem;
}
.v-cal-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.v-cal-li { border-bottom: 1px solid var(--line); }
.v-cal-row {
  display: grid;
  grid-template-columns: 9.5rem 1.6rem minmax(0, 1fr);
  gap: .9rem;
  align-items: baseline;
  width: 100%;
  margin: 0;
  padding: .95rem .2rem;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.v-cal-row:hover .v-cal-row-title { color: var(--accent); }
.v-cal-row:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.v-cal-row-date {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: .74rem;
  color: var(--muted);
}
.v-cal-row-emo { font-size: 1.05rem; }
.v-cal-row-body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.v-cal-row-title {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.15;
  transition: color .2s ease;
}
.v-cal-row-snip {
  font-size: .9rem;
  line-height: 1.45;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.v-cal-row-snip mark {
  background: var(--ochre);
  color: var(--text);
  padding: 0 .1em;
  border-radius: 2px;
}

/* --- Humor: cabeçalho e período --- */
.v-mood-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.v-mood-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
  margin: 0;
}
.v-mood-title em { color: var(--teal); }
.v-mood-periods { display: flex; flex-wrap: wrap; gap: .4rem; }
.v-mood-periods .chip {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: .76rem;
}
.v-mood-periods .chip.is-active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

/* --- Humor: evolução (composição + frase) --- */
.v-mood-hero {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
}
.v-mood-hero-art { width: 100%; max-width: 220px; }
.v-mood-comp { display: block; width: 100%; height: auto; overflow: visible; }
.v-mood-blob, .v-mood-moon, .v-mood-dot { mix-blend-mode: multiply; }
.v-mood-trend {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: .4rem 0 .6rem;
}
.v-mood-arrow {
  font-family: var(--display);
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  line-height: 1;
}
.v-mood-trend.is-up .v-mood-arrow { color: var(--teal); }
.v-mood-trend.is-down .v-mood-arrow { color: var(--accent); }
.v-mood-trend.is-flat .v-mood-arrow { color: var(--muted); }
.v-mood-phrase {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.2;
  margin: 0;
  max-width: 28ch;
}
.v-mood-compare {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: .78rem;
  color: var(--muted);
  margin: .4rem 0 0;
}

/* --- Humor: números --- */
.v-mood-nums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.v-mood-stat {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-width: 0;
  padding: 1rem 1.1rem;
}
.v-mood-stat-label { font-size: .8rem; color: var(--muted); }
.v-mood-stat-val {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: clamp(1.5rem, 4.5vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.v-mood-emo { font-size: .6em; vertical-align: .25em; margin-left: .2rem; }
.v-mood-stat-sub { font-size: .75rem; color: var(--muted); }

/* --- Humor: gráfico --- */
.v-mood-chart { padding: 1.1rem 1.1rem .6rem; margin-bottom: 14px; }
.v-mood-chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
}
.v-mood-h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 0 0 .4rem;
}
.v-mood-legend {
  display: flex;
  gap: 1rem;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: .72rem;
  color: var(--muted);
}
.v-mood-key::before {
  content: '';
  display: inline-block;
  width: 22px;
  border-top: 2px solid;
  vertical-align: middle;
  margin-right: .4rem;
}
.v-mood-key.is-mood::before { border-color: var(--accent); }
.v-mood-key.is-energy::before { border-top-style: dashed; border-color: var(--teal); }
.v-mood-svg { display: block; width: 100%; height: auto; max-width: 760px; margin: 0 auto; overflow: visible; }
.v-mood-axis {
  font-size: 15px;
  dominant-baseline: middle;
}
.v-mood-date {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 14px;
  fill: var(--muted);
}
.v-mood-empty-svg {
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  fill: var(--muted);
}
.v-mood-pt { cursor: pointer; outline: none; }
.v-mood-pt circle:last-child {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .15s ease;
}
.v-mood-pt:hover circle:last-child,
.v-mood-pt:focus-visible circle:last-child { transform: scale(1.35); }
.v-mood-pt:focus-visible circle:last-child { stroke: var(--text); }
.v-mood-area { pointer-events: none; }

/* --- Humor: distribuição e emoções --- */
.v-mood-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.v-mood-dist, .v-mood-emo-card { padding: 1.1rem 1.2rem; min-width: 0; }
.v-mood-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.v-mood-bar {
  display: grid;
  grid-template-columns: 5.6rem minmax(0, 1fr) 4.6rem;
  gap: .7rem;
  align-items: center;
  font-size: .9rem;
}
.v-mood-bar-track {
  display: block;
  height: 10px;
  background: var(--bg);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}
.v-mood-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width .6s cubic-bezier(.2, .7, .2, 1);
}
.v-mood-bar-val {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: .74rem;
  color: var(--muted);
  text-align: right;
}
.v-mood-words {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .9rem;
  line-height: 1.1;
  font-family: var(--display);
  font-style: italic;
  color: var(--plum);
}

/* --- Humor: estados vazio e de carregamento --- */
.v-mood-muted { color: var(--muted); font-size: .95rem; }
.v-mood-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  margin-top: 1.5rem;
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.v-mood-empty-mark {
  font-family: var(--display);
  font-size: 4rem;
  line-height: 1;
  color: var(--ochre);
}
.v-mood-empty-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.1;
  margin: 0;
}
.v-mood-empty p { color: var(--muted); max-width: 36ch; margin: 0 0 .6rem; }

/* --- Responsivo --- */
@media (max-width: 760px) {
  .v-mood-hero { grid-template-columns: 1fr; gap: 1rem; }
  .v-mood-hero-art { max-width: 160px; margin: 0 auto; }
  .v-mood-trend { justify-content: flex-start; }
  .v-mood-split { grid-template-columns: 1fr; }
  .v-mood-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-cal-row { grid-template-columns: 1.6rem minmax(0, 1fr); }
  .v-cal-row-date { grid-column: 2; order: -1; }
  .v-cal-stat-label { font-size: .7rem; }
  .v-cal-nav { width: 100%; }
  .v-cal-nav .btn { flex: 1; }
  .v-cal-dows, .v-cal-grid { gap: 3px; }
  .v-cal-cell { padding: 4px; }
  .v-cal-num { font-size: .62rem; }
  .v-cal-emoji { font-size: .62rem; right: 2px; bottom: 1px; }
  .v-mood-bar { grid-template-columns: 4.4rem minmax(0, 1fr) 3.4rem; }
}
@media (max-width: 520px) {
  .v-mood-date.is-mid { display: none; }
  .v-mood-axis { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .v-mood-bar-fill, .v-mood-pt circle:last-child, .v-cal-cell, .v-cal-row-title {
    transition: none;
  }
}

/* ===== editor ===== */
.v-editor { color: var(--text); }
.v-editor .ed-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; padding-bottom: 18px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.v-editor .ed-weekday { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .95; letter-spacing: -.01em; margin: 0; }
.v-editor .ed-fulldate { font-family: var(--display); font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: var(--muted); margin: 8px 0 0; }
.v-editor .ed-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.v-editor .ed-toolbar .btn-ghost { font-family: var(--sans); font-weight: 600; font-size: .8rem; }
.v-editor .ed-status { font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); min-width: 12ch; }
.v-editor .ed-status.is-ok { color: var(--teal); }
.v-editor .ed-status.is-error { color: var(--accent); }
.v-editor .ed-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.v-editor .ed-form { min-width: 0; }
.v-editor .ed-side { position: sticky; top: 24px; min-width: 0; }
.v-editor .ed-fields { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 34px; }
.v-editor .ed-fields:disabled { opacity: .45; }
.v-editor .ed-label { font-family: var(--sans); font-weight: 600; font-weight: 400; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.v-editor .ed-block { margin: 0; min-width: 0; }
.v-editor .ed-title { width: 100%; border: 0; border-bottom: 1px solid transparent; background: transparent; font-family: var(--display); font-size: clamp(2rem, 4.6vw, 2.9rem); line-height: 1.1; color: var(--text); padding: 0 0 6px; outline: none; }
.v-editor .ed-title::placeholder, .v-editor .ed-text::placeholder, .v-editor .ed-quote::placeholder, .v-editor .ed-input::placeholder, .v-editor .ed-caption::placeholder { color: #aaa293; }
.v-editor .ed-title:focus { border-bottom-color: var(--line); }
.v-editor .ed-moods { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.v-editor .ed-mood { appearance: none; font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 4px 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: transform .15s ease, background .2s ease; }
.v-editor .ed-mood:hover { transform: translateY(-1px); }
.v-editor .ed-mood-emoji { font-size: 1.5rem; line-height: 1; }
.v-editor .ed-mood-label { font-size: .76rem; color: var(--muted); }
.v-editor .ed-mood.is-on .ed-mood-label { color: inherit; }
.v-editor .ed-energy-row { display: flex; align-items: flex-end; gap: 18px; }
.v-editor .ed-energy { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.v-editor .ed-bar { width: 28px; padding: 0; border: 0; border-radius: 2px 2px 0 0; background: var(--line); cursor: pointer; }
.v-editor .ed-bar.is-on { background: var(--ochre); }
.v-editor .ed-energy-text { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--muted); }
.v-editor .ed-text { display: block; width: 100%; min-height: 36vh; resize: none; border: 0; outline: none; padding: 0; background-color: transparent; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(1.9rem - 1px), var(--line) calc(1.9rem - 1px), var(--line) 1.9rem); background-size: 100% 1.9rem; background-attachment: local; font-family: var(--sans); font-size: 1.05rem; line-height: 1.9rem; color: var(--text); }
.v-editor .ed-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v-editor .ed-sugg { margin-bottom: 14px; }
.v-editor .ed-chosen:empty { display: none; }
.v-editor .ed-chosen { margin-bottom: 14px; }
.v-editor .ed-add-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.v-editor .ed-input, .v-editor .ed-quote, .v-editor .ed-caption { font: inherit; font-size: .95rem; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 6px 2px; outline: none; min-width: 0; }
.v-editor .ed-input:focus, .v-editor .ed-quote:focus, .v-editor .ed-caption:focus, .v-editor .ed-title:focus { border-bottom-color: var(--accent); }
.v-editor .ed-input { width: 220px; max-width: 100%; }
.v-editor .ed-quote { width: 100%; font-family: var(--display); font-style: italic; font-size: 1.35rem; padding: 8px 2px; }
.v-editor .ed-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 36px; margin-bottom: 12px; }
.v-editor .ed-swatch { width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid rgba(30, 28, 25, .12); cursor: pointer; mix-blend-mode: multiply; }
.v-editor .ed-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.v-editor .ed-preset { width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 1px solid rgba(30, 28, 25, .15); cursor: pointer; }
.v-editor .ed-preset.is-on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--text); }
.v-editor .ed-preset:disabled { opacity: .35; cursor: not-allowed; }
.v-editor .ed-picker { width: 34px; height: 34px; padding: 0; border: 0; background: none; cursor: pointer; }
.v-editor .ed-picker:disabled { opacity: .35; cursor: not-allowed; }
.v-editor .ed-hint { font-family: var(--sans); font-weight: 600; font-size: .7rem; letter-spacing: .02em; color: var(--muted); }
.v-editor .ed-images { border-top: 1px solid var(--line); padding-top: 24px; border-radius: var(--radius); transition: background .2s ease; }
.v-editor .ed-images.is-drop { background: rgba(194, 85, 47, .07); outline: 1px dashed var(--accent); outline-offset: 8px; }
.v-editor .ed-images-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 16px; }
.v-editor .ed-images-head .ed-label { margin: 0 auto 0 0; }
.v-editor .ed-file { display: none; }
.v-editor .ed-drop-hint { margin: 14px 0 0; }
.v-editor .ed-empty { font-family: var(--display); font-style: italic; color: var(--muted); margin: 0; }
.v-editor .ed-img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.v-editor .ed-img { margin: 0; min-width: 0; }
.v-editor .ed-img-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.v-editor .ed-img-open img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; box-shadow: var(--shadow); }
.v-editor .ed-img-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.v-editor .ed-caption { flex: 1; min-width: 0; font-size: .85rem; }
.v-editor .ed-img-del { border: 0; background: none; padding: 0; color: var(--muted); font-family: var(--sans); font-weight: 600; font-size: .7rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.v-editor .ed-img-del:hover { color: var(--accent); }
.v-editor .ed-foot { margin-top: 52px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }
.v-editor .ed-error { color: var(--accent); font-family: var(--display); font-size: 1.2rem; }
.v-editor .chip.is-on { background: var(--teal); border-color: var(--teal); color: var(--bg); }
.v-editor .ed-mood[aria-checked="true"] { box-shadow: var(--shadow); }
.v-editor .mb-canvas { position: relative; isolation: isolate; overflow: hidden; min-height: 460px; padding: 30px 28px 32px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.v-editor .mb-canvas::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: multiply; opacity: .55; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.11 0 0 0 0 0.1 0 0 0 .14 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.v-editor .mb-blob { position: absolute; z-index: 0; mix-blend-mode: multiply; opacity: .92; pointer-events: none; }
.v-editor .mb-blob.is-round { border-radius: 50%; }
.v-editor .mb-content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 26px; }
.v-editor .mb-photos { columns: 2 120px; column-gap: 16px; }
.v-editor .mb-photo { margin: 0 0 16px; break-inside: avoid; }
.v-editor .mb-photo img { display: block; width: 100%; height: auto; border-radius: 2px; box-shadow: 0 14px 26px -16px rgba(30, 28, 25, .6); }
.v-editor .mb-quote { margin: 0; max-width: 16ch; font-family: var(--display); font-style: italic; font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.08; color: var(--text); }
.v-editor .mb-quote.is-empty { color: var(--muted); opacity: .6; }
.v-editor .mb-card { align-self: flex-start; max-width: 100%; padding: 14px 18px 16px; border-radius: var(--radius); background: var(--plum); color: var(--card); }
.v-editor .mb-card-mood { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.v-editor .mb-card-emoji { font-size: 1.7rem; line-height: 1; }
.v-editor .mb-emo { margin: 10px 0 0; font-family: var(--sans); font-weight: 600; font-size: .74rem; letter-spacing: .03em; line-height: 1.5; }
.v-editor .mb-caption { margin: 12px 2px 0; font-family: var(--sans); font-weight: 600; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.v-editor-lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 28px; background: rgba(20, 18, 16, .9); cursor: zoom-out; }
.v-editor-lightbox img { max-width: min(100%, 1200px); max-height: 88vh; object-fit: contain; border-radius: 3px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); cursor: default; }
.v-editor-lightbox-x { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243, 239, 230, .35); background: transparent; color: #f3efe6; font-size: 1.5rem; line-height: 1; cursor: pointer; }
@media (max-width: 880px) {
  .v-editor .ed-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .v-editor .ed-side { position: static; }
  .v-editor .ed-head { margin-bottom: 22px; }
}
@media (max-width: 420px) {
  .v-editor .ed-mood-label { font-size: .66rem; }
  .v-editor .ed-moods { gap: 5px; }
  .v-editor .ed-mood { padding: 10px 2px 8px; }
  .v-editor .ed-img-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-editor .mb-canvas { padding: 24px 18px 26px; }
}

/* ===== refinamento: títulos, ícones de humor e célula do calendário ===== */
.v-editor .ed-weekday, .v-editor .ed-title, .v-cal h1, .v-cal h2, .v-mood h1, .v-mood h2 { font-weight: 600; letter-spacing: -0.035em; }
.v-editor .ed-fulldate { font-style: normal; font-weight: 500; letter-spacing: -0.01em; }
.v-editor .ed-mood-emoji, .v-editor .mb-card-emoji { display: inline-flex; }
.v-editor .ed-mood:not(.is-on) .ed-mood-emoji { color: var(--mc); }
.v-editor .mb-quote { font-weight: 500; letter-spacing: -0.03em; }
.v-cal-stat-emo, .v-mood-emo { display: inline-flex; vertical-align: -.1em; margin-left: .35rem; }
.v-mood-dist-ico { display: inline-flex; vertical-align: -.25em; }
.v-cal-row-emo { display: inline-flex; color: var(--muted); }

/* Célula: o dia com entrada vira um bloco na cor do humor (ou a foto com véu da cor),
   número sempre no canto e legível; hoje marcado por contorno da própria célula. */
.v-cal-cell { display: flex; flex-direction: column; justify-content: space-between; padding: 8px; }
.v-cal-shape {
  inset: 0; left: 0; top: 0; width: auto; aspect-ratio: auto; transform: none;
  border-radius: inherit; mix-blend-mode: normal !important;
}
.v-cal-shape.has-img { width: auto; box-shadow: none; }
.v-cal-shape.has-img::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(to top, var(--mc) 0%, color-mix(in srgb, var(--mc) 55%, transparent) 45%, color-mix(in srgb, var(--mc) 15%, transparent) 100%);
}
.v-cal-cell.has-entry .v-cal-num { color: #fbf9f4; font-weight: 600; }
.v-cal-emoji { position: relative; right: auto; bottom: auto; z-index: 2; align-self: flex-end; color: #fbf9f4; display: inline-flex; }
.v-cal-cell.has-entry:hover { border-color: transparent; }
.v-cal-cell.has-entry:hover .v-cal-shape { filter: brightness(1.06); }
.v-cal-cell.is-today::after {
  inset: 0; left: 0; top: 0; width: auto; aspect-ratio: auto; transform: none;
  border-radius: inherit; border: 1.5px solid var(--text);
}
.v-cal-cell.is-today.has-entry::after { inset: 3px; border-color: #fbf9f4; }
@media (max-width: 600px) {
  .v-cal-cell { padding: 4px; }
  .v-cal-emoji .ico { width: 12px; height: 12px; }
}
.v-editor .ed-hint { font-weight: 400; font-size: .78rem; line-height: 1.5; margin-top: 8px; }

/* ===== sentir e demonstrar ===== */
.v-editor .ed-reflection { display: grid; gap: 28px; padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--card) 70%, transparent); }
.v-editor .ed-reflection-intro { margin: 0; max-width: 60ch; }
.v-editor .ed-q { display: grid; gap: 6px; }
.v-editor .ed-q-title { margin: 0; font-family: var(--sans); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; color: var(--text); }
.v-editor .ed-q .ed-hint { margin: 0 0 6px; }
.v-editor .ed-q-body { display: grid; gap: 12px; }
.v-editor .ed-input-wide { width: 100%; }
.v-editor .ed-scale .chip[aria-checked="true"] { background: var(--text); border-color: var(--text); color: var(--card); }
.v-editor .ed-gap { display: grid; gap: 8px; }
.v-editor .ed-gap:empty { display: none; }
.v-editor .ed-gap-row { display: grid; grid-template-columns: 11ch 1fr; align-items: center; gap: 12px; }
.v-editor .ed-gap-label { font-size: .8rem; color: var(--muted); }
.v-editor .ed-gap-track { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.v-editor .ed-gap-fill { display: block; height: 100%; border-radius: inherit; transition: width .4s cubic-bezier(.16, 1, .3, 1); }
.v-editor .ed-gap-fill.is-felt { background: var(--accent); }
.v-editor .ed-gap-fill.is-shown { background: var(--teal); }
@media (max-width: 600px) { .v-editor .ed-reflection { padding: 18px 14px 20px; } }

.v-mood-refl { padding: 1.3rem 1.3rem 1.1rem; margin-top: 1rem; display: grid; gap: .9rem; }
.v-mood-refl-line { margin: 0; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.015em; max-width: 48ch; text-wrap: balance; }
.v-mood-refl .v-mood-bar-label { min-width: 0; overflow-wrap: anywhere; }
.v-mood-refl-block { display: grid; gap: .5rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.v-mood-h4 { margin: 0; font-size: .9rem; font-weight: 600; color: var(--muted); }
.v-mood-refl-foot { margin: 0; font-size: .8rem; }
.v-mood-refl .v-mood-bar { grid-template-columns: minmax(7rem, 13rem) minmax(0, 1fr) 3rem; }
@media (max-width: 600px) {
  .v-mood-refl .v-mood-bar { grid-template-columns: minmax(0, 1fr) 2.6rem; row-gap: .35rem; }
  .v-mood-refl .v-mood-bar-label { grid-column: 1 / -1; }
}
