/* Planejamento (V4 5.4 a 5.6): tela da equipe e link do cliente. */
.pn-page {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.pn-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
}
.pn-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pn-pick select,
.pn-pick input,
.pn-step input:not([type="checkbox"]),
.pn-step select,
.pn-step textarea,
.pn-link input {
  font: inherit;
  padding: 8px 10px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  min-width: 0;
  box-sizing: border-box;
}
.pn-tabs {
  justify-self: start;
  max-width: 100%;
  overflow-x: auto;
  flex-wrap: nowrap;
}
.pn-tabs > button {
  white-space: nowrap;
}
.pn-steps {
  display: grid;
  gap: 14px;
}
.pn-step {
  padding: 16px;
  border-radius: 14px;
  display: grid;
  gap: 10px;
  min-width: 0;
}
.pn-step > header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.pn-step h3 {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
}
.pn-step h4 {
  margin: 6px 0;
  font-size: 13px;
  color: var(--text);
}
.pn-num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 13px;
  font-weight: 700;
}
.pn-muted {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.pn-badge {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--subtle);
  color: var(--text);
}
.pn-badge.is-ok {
  background: var(--mint);
  color: var(--mint-ink);
}
.pn-badge.is-bad {
  background: #fef2f2;
  color: var(--danger-ink);
}
.pn-badge.is-wait {
  background: var(--peach);
  color: var(--peach-ink);
}
.pn-note {
  display: block;
  width: 100%;
  font-size: 13px;
  color: var(--text);
  background: var(--subtle);
  border-radius: 8px;
  padding: 6px 10px;
  overflow-wrap: anywhere;
}
.pn-rows {
  display: grid;
  gap: 8px;
}
.pn-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
  gap: 8px;
}
.pn-row-pillar {
  grid-template-columns: minmax(0, 1fr) 110px auto;
}
.pn-share {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pn-share input {
  width: 100%;
}
.pn-share span {
  color: var(--muted);
  font-size: 13px;
}
.pn-topic {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) 150px;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--subtle);
}
.pn-topic [name="notes"] {
  grid-column: 1 / 4;
}
.pn-topic-end {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  align-items: center;
}
.pn-ready {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--mint-ink);
}
.pn-ready svg {
  width: 16px;
  height: 16px;
}
/* Panorama. */
.pn-pano {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.pn-bar-row {
  display: grid;
  grid-template-columns: minmax(70px, 120px) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  margin-bottom: 6px;
}
.pn-bar-row span {
  overflow-wrap: anywhere;
}
.pn-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--subtle);
  overflow: visible;
}
.pn-bar b {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  max-width: 100%;
}
.pn-target {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 16px;
  background: var(--ink);
}
.pn-bar-row small {
  color: var(--text);
  white-space: nowrap;
}
.pn-bar-row small em {
  color: var(--muted);
  font-style: normal;
}
.pn-bar-row small.is-off {
  color: var(--danger-ink);
}
.pn-verdict {
  margin: 8px 0 0;
  font-size: 13px;
}
.pn-verdict.is-ok {
  color: var(--mint-ink);
}
.pn-verdict.is-off {
  color: var(--danger-ink);
}
.pn-chips,
.pn-dist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}
.pn-chips span,
.pn-dist span {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--lilac-ink);
}
.pn-dist em {
  font-style: normal;
  opacity: 0.8;
}
.pn-weeks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  align-items: end;
  height: 90px;
}
.pn-weeks div {
  display: grid;
  grid-template-rows: 1fr auto auto;
  justify-items: center;
  height: 100%;
  font-size: 11px;
  color: var(--muted);
}
.pn-weeks i {
  align-self: end;
  width: 70%;
  min-height: 2px;
  border-radius: 6px 6px 0 0;
  background: var(--sky-ink);
}
.pn-weeks b {
  color: var(--ink);
}
/* Calendário de Stories. */
.pn-cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.pn-cal-head {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
.pn-cal-day {
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  display: grid;
  align-content: start;
  gap: 2px;
  min-width: 0;
  background: var(--surface);
}
.pn-cal-day > b {
  font-size: 11px;
  color: var(--muted);
}
.pn-cal-day.has {
  background: var(--subtle);
}
.pn-cal-story {
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 4px;
  background: var(--peach);
  color: var(--peach-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pn-cal-story.is-aprovado {
  background: var(--mint);
  color: var(--mint-ink);
}
.pn-cal-story.is-alteracao {
  background: #fef2f2;
  color: var(--danger-ink);
}
.pn-story {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}
.pn-story .pn-note {
  grid-column: 1 / -1;
}
/* Linha editorial. */
.pn-lines {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 10px;
}
.pn-line {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 8px;
  background: var(--subtle);
}
.pn-line-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px auto;
  gap: 6px;
}
.pn-formats {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 13px;
}
.pn-formats legend {
  font-size: 12px;
  color: var(--muted);
  padding: 0;
  margin-bottom: 4px;
}
.pn-formats label {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.pn-week {
  overflow-x: auto;
}
.pn-week table {
  border-collapse: collapse;
  font-size: 13px;
}
.pn-week th,
.pn-week td {
  padding: 6px 8px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.pn-week tbody th {
  text-align: left;
  white-space: nowrap;
}
.pn-week input,
.pn-formats input {
  accent-color: var(--accent);
}
.pn-foot {
  position: sticky;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 12px;
  border-radius: 14px;
  z-index: 2;
}
.pn-foot > .pn-muted {
  margin-right: auto;
}
.pn-link {
  display: flex;
  gap: 6px;
  margin-right: auto;
  min-width: 0;
  flex: 1 1 260px;
}
.pn-link input {
  flex: 1;
}
/* Link do cliente. */
.pn-public .pn-step {
  background: var(--surface);
  border: 1px solid var(--line);
}
.pn-pub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.pn-pub-list li {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--subtle);
}
.pn-pub-list b {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.pn-pub-list small {
  color: var(--muted);
}
.pn-decision {
  display: grid;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.pn-decision > .pn-badge {
  justify-self: start;
}
.pn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pn-decide {
  display: grid;
  gap: 8px;
}
.pn-decide input,
.pn-decide textarea {
  width: 100%;
}
.pn-err {
  margin: 0;
  color: var(--danger-ink);
  font-size: 13px;
}
.pn-err:empty {
  display: none;
}
.pn-lines-pub summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 13px;
}
.pn-lines-pub p {
  margin: 6px 0;
  font-size: 14px;
}
.pn-pub-stories {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.pn-pub-stories li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  padding: 10px;
  border-radius: 10px;
  background: var(--subtle);
}
.pn-pub-stories li p {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}
.pn-pub-stories .pn-actions,
.pn-pub-stories .pn-decide {
  grid-column: 1 / -1;
}
@media (max-width: 860px) {
  .pn-topic {
    grid-template-columns: 1fr 1fr;
  }
  .pn-topic [name="title"],
  .pn-topic [name="notes"] {
    grid-column: 1 / -1;
  }
  .pn-story {
    grid-template-columns: 1fr 1fr;
  }
  .pn-story [name="text"] {
    grid-column: 1 / -1;
  }
  .pn-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .pn-row [name="metric"] {
    grid-column: 1;
  }
  .pn-cal-day {
    min-height: 40px;
  }
  .pn-cal-story {
    font-size: 0;
    height: 6px;
    padding: 0;
  }
}
.pn-step > .subtle-button,
#pn-stories > .subtle-button {
  justify-self: start;
}
@media (max-width: 860px) {
  .pn-pick {
    width: 100%;
  }
  .pn-pick select,
  .pn-pick input {
    flex: 1 1 130px;
    width: 100%;
  }
  .pn-foot {
    justify-content: flex-start;
  }
}
@media (max-width: 860px) {
  .pn-page > .pn-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .pn-page > .pn-head .pn-pick {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Planejamento › Apresentar (slides) — prefixo pd-. Visual limpo: página
   inteira branca, tipografia grande, linhas finas e a cor de destaque só em
   detalhes. */
body.pd-open { overflow: hidden; }
.pd-deck { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--surface); color: var(--text); font-family: var(--font); }
.pd-bar { display: flex; align-items: center; gap: 10px; padding: 14px clamp(16px, 4vw, 40px); }
.pd-brand { font-size: 13px; font-weight: 600; color: var(--muted); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-count { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.pd-tools { display: flex; gap: 2px; }
.pd-btn { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.pd-btn:hover { background: var(--hover); color: var(--ink); }
.pd-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pd-btn[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.pd-btn[disabled] { opacity: .25; cursor: default; background: transparent; }
.pd-btn svg { width: 18px; height: 18px; }
.pd-stage { display: grid; place-items: center; padding: 0 clamp(16px, 6vw, 96px); overflow: auto; min-height: 0; }
.pd-slide { width: min(100%, 1080px); aspect-ratio: 16 / 9; max-height: 100%; display: flex; flex-direction: column; padding: clamp(8px, 2vw, 24px) 0; overflow: hidden; animation: pd-in .28s ease both; }
@keyframes pd-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pd-slide { animation: none; } }
.pd-slide-in { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: clamp(12px, 2vw, 22px); overflow: auto; }
.pd-slide h2 { margin: 0; font-size: clamp(26px, 4vw, 48px); font-weight: 600; line-height: 1.05; color: var(--ink); letter-spacing: -.025em; }
.pd-kicker { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: .14em; }
.pd-kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.pd-lead { margin: 0; max-width: 60ch; color: var(--muted); font-size: clamp(14px, 1.4vw, 17px); line-height: 1.5; }
.pd-foot { font-size: 11px; color: var(--faint); padding-top: 12px; letter-spacing: .02em; }
.pd-cover { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.pd-cover small { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
.pd-cover h1 { margin: 0; font-size: clamp(36px, 7vw, 88px); font-weight: 600; color: var(--ink); line-height: .98; letter-spacing: -.035em; }
.pd-cover-month { margin: 0; font-size: clamp(20px, 3vw, 34px); color: var(--accent); font-weight: 500; letter-spacing: -.01em; }
.pd-cover-sub { margin: 0; color: var(--muted); }
.pd-nums { display: flex; flex-wrap: wrap; gap: clamp(20px, 5vw, 56px); margin-top: clamp(16px, 4vw, 40px); padding-top: 18px; border-top: 1px solid var(--line); }
.pd-nums span { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: 12px; }
.pd-nums b { font-size: clamp(26px, 4vw, 44px); font-weight: 600; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pd-goals { margin: 0; padding: 0; list-style: none; counter-reset: g; display: grid; }
.pd-goals li { counter-increment: g; display: grid; grid-template-columns: 3.2em minmax(0, 1fr); column-gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.pd-goals li:last-child { border-bottom: 1px solid var(--line); }
.pd-goals li::before { content: counter(g, decimal-leading-zero); grid-row: span 2; color: var(--faint); font-weight: 600; font-variant-numeric: tabular-nums; padding-top: .2em; }
.pd-goals li b { color: var(--ink); font-size: clamp(16px, 2vw, 22px); font-weight: 600; letter-spacing: -.01em; }
.pd-goals li small { color: var(--muted); }
.pd-pillars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 0 clamp(16px, 3vw, 40px); }
.pd-pillars article { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 10px; padding: 14px 0; border-top: 1px solid var(--line); min-width: 0; }
.pd-pillars b { color: var(--ink); font-weight: 600; }
.pd-pillars strong { font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.pd-pillars small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.pd-pillars i { grid-column: 1 / -1; display: block; height: 3px; margin-top: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) var(--w), var(--line) var(--w)); }
.pd-scroll { overflow: auto; min-width: 0; }
.pd-table { width: 100%; border-collapse: collapse; font-size: clamp(13px, 1.3vw, 15px); }
.pd-table th, .pd-table td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.pd-table td:first-child { color: var(--muted); font-variant-numeric: tabular-nums; width: 4.5em; }
.pd-table td:nth-child(2) { color: var(--ink); font-weight: 500; }
.pd-table th { color: var(--faint); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.pd-valid { list-style: none; margin: 0; padding: 0; display: grid; }
.pd-valid li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); }
.pd-valid li:last-child { border-bottom: 1px solid var(--line); }
.pd-valid b { color: var(--ink); font-weight: 600; }
.pd-grid { width: min(100%, 1080px); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; align-self: start; padding: 8px 0 20px; }
.pd-grid button, .pd-toc button { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; transition: border-color .15s; }
.pd-grid button:hover, .pd-toc button:hover { border-color: var(--line-2); background: var(--subtle); }
.pd-grid button { aspect-ratio: 16 / 9; justify-content: flex-end; }
.pd-grid small, .pd-toc small { color: var(--faint); font-weight: 600; font-variant-numeric: tabular-nums; }
.pd-grid .is-here, .pd-toc .is-here { border-color: var(--ink); }
.pd-toc { list-style: none; margin: 0; padding: 8px 0 20px; width: min(100%, 560px); display: grid; gap: 0; align-self: start; }
.pd-toc button { width: 100%; flex-direction: row; align-items: center; gap: 14px; padding: 14px 4px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font-weight: 500; }
.pd-toc .is-here { color: var(--accent); }
.pd-nav { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 12px 16px 20px; }
.pd-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 60vw; }
.pd-dots i { width: 5px; height: 5px; border-radius: 5px; background: var(--line-2); transition: width .2s, background .2s; }
.pd-dots i.on { background: var(--ink); width: 18px; }
.pd-slide .pn-cal { font-size: 12px; gap: 4px; }
.pd-slide .pn-cal-day { border-color: var(--line); background: transparent; }
.pd-slide .pn-cal-day.has { background: var(--subtle); }
.pd-slide .pn-cal-story { background: var(--ink); color: var(--on-ink); }
.pn-present { margin-top: 10px; }
@media (max-width: 720px) {
  .pd-stage { padding: 0 18px; place-items: stretch; }
  .pd-slide { aspect-ratio: auto; height: 100%; }
  .pd-bar { padding: 10px 12px 6px 18px; }
  .pd-tools [data-pd="cheia"] { display: none; }
  .pd-slide .pn-cal-day span { display: none; }
  .pd-slide .pn-cal-day.has b { color: var(--accent); }
  .pd-nav { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

/* Planejamento › Apresentação: blocos e textos dos slides */
.pn-deck { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pn-deck li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 6px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.pn-deck label { display: flex; align-items: center; gap: 10px; font-weight: 600; min-width: 0; }
.pn-deck li span { display: flex; gap: 2px; flex: none; }
.pn-deck li:has(input:not(:checked)) label { color: var(--muted); font-weight: 500; }
.pn-deck-texts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.pn-deck-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .pn-deck-texts { grid-template-columns: 1fr; } }

/* Planejamento › Modelos */
.pn-tpl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 12px; }
.pn-tpl-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.pn-tpl-label svg { width: 16px; height: 16px; }
.pn-tpl select { min-width: 0; flex: 1 1 180px; max-width: 320px; }
.pn-tpl .text-button { margin-left: auto; }
.pn-tpl .pn-muted { flex: 1 1 200px; }

/* Planejamento › Objetivos e melhorias */
.pn-step .pn-row.pn-row-one { grid-template-columns: minmax(0, 1fr) auto; }
.pn-lib { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pn-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 5px 10px; border: 1px dashed var(--line-2); border-radius: 999px; background: transparent; color: var(--text, inherit); font: inherit; font-size: 0.82rem; cursor: pointer; text-align: left; }
.pn-chip svg { width: 13px; height: 13px; flex: none; color: var(--muted); }
.pn-chip:hover { border-style: solid; border-color: var(--accent); }
.pn-chip.is-own { border-style: solid; }
.pd-list { margin: 0; padding: 0; list-style: none; display: grid; }
.pd-list li { padding: 14px 0 14px 22px; border-top: 1px solid var(--line); position: relative; font-size: clamp(1rem, 1.6vw, 1.35rem); font-weight: 600; }
.pd-list li::before { content: ""; position: absolute; left: 2px; top: calc(14px + 0.55em); width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pd-list li:last-child { border-bottom: 1px solid var(--line); }

/* Planejamento › Funil e foco */
.pn-funnel { display: grid; gap: 6px; }
.pn-funnel-step { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 14px; border: 1px solid var(--line); border-radius: 10px; margin-inline: calc(var(--n) * 14px); background: color-mix(in srgb, var(--accent) calc(6% + var(--n) * 6%), var(--surface)); }
.pn-funnel-step > span:first-child { display: grid; min-width: 0; }
.pn-funnel-step small { color: var(--muted); font-size: 0.78rem; }
.pn-funnel-step > span:first-child { flex: 1 1 auto; }
.pn-funnel-step .pn-share { flex: none; width: 92px; }
@media (max-width: 560px) { .pn-funnel-step { margin-inline: 0; } }
.pd-focus { font-size: clamp(1.3rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.25; margin: 0 0 12px; letter-spacing: -0.01em; }
.pd-funnel { display: grid; gap: 8px; margin-top: 18px; }
.pd-funnel div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; margin-inline: calc(var(--i) * 7%); border-radius: 12px; background: color-mix(in srgb, var(--accent) calc(10% + var(--i) * 10%), #fff); }
.pd-funnel strong { font-size: 1.4rem; }

/* Planejamento › Ações e investimento */
.pn-action { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 150px 130px auto; gap: 8px; }
.pn-action-notes { grid-column: 1 / -2; }
.pn-money { display: flex; align-items: center; gap: 4px; min-width: 0; }
.pn-money span { color: var(--muted); font-size: 13px; }
.pd-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pd-table tfoot td { font-weight: 700; border-top: 1px solid var(--ink, #111); padding-top: 10px; }
@media (max-width: 760px) {
  .pn-action { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .pn-action [name="title"] { grid-column: 1 / -2; }
  .pn-action [name="kind"] { grid-column: 1 / -1; grid-row: 2; }
  .pn-action [name="date"] { grid-row: 3; grid-column: 1; }
  .pn-action .pn-money { grid-row: 3; grid-column: 2 / -1; }
  .pn-action-notes { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .pn-action [name="date"] { grid-column: 1 / -1; }
  .pn-action .pn-money { grid-row: 4; grid-column: 1 / -1; }
}
