/* Calendarq · Legado: composições do app (parte 8). Dono: a Fundação; as frentes não editam (sobrescrevem em css/telas/). */
/* =========================================================================
   8. COMPOSIÇÕES DO APP
   ========================================================================= */

/* ---------- Moldura ---------- */
.wrap { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.app .shell { position: relative; z-index: 2; padding-left: calc(var(--rail-w) + var(--rail-gap) * 2); }
.client .shell { position: relative; z-index: 2; }

/* Trilho lateral de vidro, flutuando */
.app-rail {
  position: fixed;
  z-index: 50;
  top: var(--rail-gap);
  bottom: var(--rail-gap);
  left: var(--rail-gap);
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  border-radius: 22px;
}
.app-rail .logo-mark { margin-bottom: 14px; }
.app-rail nav { position: relative; display: flex; flex-direction: column; gap: 8px; }
.app-rail .sep { width: 24px; height: 1px; margin: 6px 0; background: var(--g-200); }
.app-rail .push { flex: 1; }
.rail-link { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 19px; color: var(--g-500); transition: all .35s var(--ease); }
.rail-link:hover { background: var(--g-100); color: var(--g-900); }
.rail-link.on { background: var(--g-900); color: var(--g-0); box-shadow: 0 8px 16px -8px var(--lgs-31-31-31-6); }

/* Topo: vidro, fixo */
.topbar { position: sticky; top: 0; z-index: 40; transition: box-shadow .4s var(--ease); }
.topbar.is-scrolled { box-shadow: 0 10px 30px -20px var(--lgs-31-31-31-25); }
.topbar-inner { display: flex; align-items: center; gap: 14px; height: var(--topbar-h); }
.office { display: flex; align-items: center; gap: 10px; min-width: 0; }
.office-mark { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--g-900); color: var(--g-0); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.office-name { font-size: 13.5px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; white-space: nowrap; }
.office-role { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--g-500); white-space: nowrap; }
.office-role .live { width: 5px; height: 5px; border-radius: 50%; background: var(--success); animation: pulseRing 2.4s ease-out infinite; }
.topbar .search-input { flex: 1; max-width: 380px; margin-left: 10px; }
.topbar-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

/* Caminho de volta */
.crumb { display: flex; align-items: center; gap: 12px; padding: 18px 0 0; font-size: 14px; }
.crumb a.back { display: inline-flex; align-items: center; gap: 6px; color: var(--g-500); transition: color .25s; }
.crumb a.back:hover { color: var(--g-900); }
.crumb a.back .ic { transition: transform .35s var(--ease); }
.crumb a.back:hover .ic { transform: translateX(-3px); }
.crumb .sep { color: var(--g-300); }
.crumb .proj { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -.01em; }
.crumb .proj .ic { color: var(--g-500); }
.crumb .push { flex: 1; }

/* ---------- Abertura de página ---------- */
.page-hero { position: relative; overflow: hidden; padding: 48px 0 56px; }
.page-hero > .wrap { z-index: 2; }
.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.kicker .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--g-900); animation: pulseRing 1.8s ease-out infinite; }
.kicker .line { width: 48px; height: 1px; background: var(--g-200); }
.kicker .mono { font-family: var(--mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--g-500); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; margin-top: 36px; }
.hero-grid .lead { grid-column: span 5; }
.hero-grid .actions { grid-column: span 4; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-grid .spec { grid-column: span 3; text-align: right; }
/* Régua de etapas (DS 3.1) — substitui a linha em curva */
@keyframes radar { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.ruler-block { position: relative; margin-top: 52px; }
.ruler-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ruler-block .glass { border-radius: 24px; }
.ruler { position: relative; }
.ruler-scroll { overflow-x: auto; overflow-y: visible; padding-top: 120px; margin-top: -120px; scrollbar-width: none; }
.ruler-scroll::-webkit-scrollbar { display: none; }
/* 8 etapas pedem mais largura que as 6 do demonstrativo (760px) */
.ruler-inner { position: relative; min-width: 940px; height: 118px; padding: 22px 34px 18px; }
.ruler-track { position: relative; height: 2px; border-radius: 2px; background: var(--g-150); }
.ruler-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--g-900); transition: width 2.2s var(--ease-out-expo) .6s; }
.is-ready .ruler-fill, .ruler.active .ruler-fill { width: var(--p, 50%); }
.ruler-ticks { height: 9px; margin-top: 6px; background-image: linear-gradient(90deg, var(--g-300) 0 1px, transparent 1px), linear-gradient(90deg, var(--g-200) 0 1px, transparent 1px); background-size: 60px 9px, 12px 5px; background-repeat: repeat-x; -webkit-mask-image: linear-gradient(90deg, transparent, var(--lgf-000000) 4%, var(--lgf-000000) 96%, transparent); mask-image: linear-gradient(90deg, transparent, var(--lgf-000000) 4%, var(--lgf-000000) 96%, transparent); }
.r-node { position: absolute; top: 22px; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -50%); cursor: pointer; }
.r-node .dot { position: relative; width: 14px; height: 14px; display: grid; place-items: center; border-radius: 50%; background: var(--g-0); border: 1.5px solid var(--g-300); transition: transform .4s var(--ease-spring), background .4s, border-color .4s; }
.r-node.done .dot { background: var(--g-900); border-color: var(--g-900); }
.r-node.current .dot { background: var(--g-0); border: 4px solid var(--g-900); }
.r-node.current .dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--g-900); animation: radar 2.2s var(--ease-out-expo) infinite; }
.r-node:hover .dot { transform: scale(1.25); }
.r-node .r-lbl { position: absolute; top: 22px; text-align: center; white-space: nowrap; }
.r-node .r-lbl b { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: -.01em; color: var(--g-900); }
.r-node:not(.done):not(.current) .r-lbl b { color: var(--g-500); }
.r-node .r-lbl small { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--g-500); }
.r-node.current .r-lbl small { color: var(--g-900); }
.r-node .r-tip { position: absolute; bottom: 24px; z-index: 10; width: 220px; padding: 12px 14px; border-radius: 14px; font-size: 12.5px; line-height: 1.45; color: var(--g-700); text-align: left; transform: translateY(8px) scale(.96); opacity: 0; pointer-events: none; transition: all .35s var(--ease-spring); }
.r-node .r-tip .mono-label { display: block; margin-bottom: 4px; font-size: 11px; }
.r-node .r-tip strong { display: block; margin-bottom: 2px; font-size: 13.5px; font-weight: 600; color: var(--g-900); }
.r-node:hover .r-tip, .r-node:focus-visible .r-tip { opacity: 1; transform: none; }

.hero-docs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px dashed var(--dash); }

/* Linha de etapas (desenha no load) */

/* ---------- Seções (rótulo fixo à esquerda + conteúdo) ---------- */
.sec { position: relative; overflow: hidden; padding: 104px 0; border-top: 1px dashed var(--dash); }
.sec.alt { background: var(--g-25); }
.sec.tight { padding: 72px 0; }
.sec > .wrap { z-index: 2; }
.sec-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; }
.sec-aside { grid-column: span 3; }
.sec-aside .sticky { position: sticky; top: calc(var(--topbar-h) + 40px); }
.sec-aside .sec-index { display: block; margin-bottom: 16px; }
.sec-aside .sec-title { margin-bottom: 16px; }
.sec-aside p { max-width: 250px; font-size: 14px; line-height: 1.6; color: var(--g-500); }
.sec-aside .aside-extra { margin-top: 28px; }
.sec-body { grid-column: span 9; min-width: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }

/* Faixa de seções (Cronograma · Calendário · Orçamentos) */
.section-nav { position: relative; z-index: 3; display: flex; justify-content: center; padding-top: 0; padding-bottom: 56px; }

/* ---------- Painel ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.kpi { padding: 24px; border-radius: 24px; }
.kpi-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.kpi-top .ic { font-size: 19px; color: var(--g-500); }
.kpi-sub { margin-top: 10px; font-size: 12.5px; color: var(--g-500); }
.kpi-sub b { color: var(--g-900); font-weight: 500; }
.kpi.is-warn .numeral { color: var(--warning); }
.kpi.is-warn .kpi-top .ic { color: var(--warning); }

/* Lista de projetos */
.proj-list { border-bottom: 1px solid var(--hair-ink); }
.proj-row { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.6fr) minmax(130px, 1fr) 110px 24px; gap: 24px; padding: 22px 4px; }
.proj-row:hover { padding-left: 16px; background: linear-gradient(90deg, var(--g-25), transparent); }
.proj-name { display: flex; align-items: center; gap: 14px; min-width: 0; }
.avatar { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--g-100); color: var(--g-700); font-size: 12px; font-weight: 600; letter-spacing: .02em; transition: background .35s var(--ease), color .35s; }
.avatar .pdot { position: absolute; right: -2px; bottom: -2px; box-shadow: 0 0 0 2.5px var(--lgs-ffffff); }
.proj-row:hover .avatar { background: var(--g-900); color: var(--g-0); }
.proj-name strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.proj-name span { font-size: 12.5px; color: var(--g-500); }
.proj-stage { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; font-size: 13.5px; color: var(--g-700); }
.proj-progress .caption { display: flex; justify-content: space-between; margin-bottom: 7px; }
.proj-progress .caption b { color: var(--g-900); font-weight: 600; }
.proj-next { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--g-600); }
.proj-next small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--g-500); }
.proj-row .chev { font-size: 18px; color: var(--g-300); transition: transform .4s var(--ease), color .25s; }
.proj-row:hover .chev { transform: translateX(4px); color: var(--g-900); }
.list-head { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.6fr) minmax(130px, 1fr) 110px 24px; gap: 24px; padding: 0 4px 14px; }

/* Agenda do painel */
.agenda-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.month-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.month-head .h4 span { font-weight: 300; color: var(--g-500); }

/* Quadro de etapas */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.board-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.board-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 10px; border-bottom: 1px solid var(--hair-ink); }
.board-card { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 16px; cursor: pointer; }
.board-card .proj { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--g-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-card .proj .pdot { width: 6px; height: 6px; }
.board-card strong { font-size: 14px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.board-card .mono-label { font-size: 11px; letter-spacing: .12em; }
.board-more { padding: 6px 4px; font-size: 12px; color: var(--g-500); }

/* ---------- Topo do projeto ---------- */
.now-wrap { padding-bottom: 20px; }
.now-banner .inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 28px 32px; }
.now-banner .eyebrow { margin-bottom: 10px; color: var(--lg-255-255-255-7); }
.now-banner .now-text { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.now-banner .now-more { margin-top: 8px; font-size: 14px; color: var(--lg-255-255-255-7); }
.now-banner .foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 14px 32px 18px; border-top: 1px solid var(--lg-255-255-255-1); font-size: 13px; }
.now-banner .foot span { color: var(--lg-255-255-255-7); }
.now-banner .foot a { font-weight: 500; color: var(--lg-255-255-255-92); }

/* Abertura do projeto em duas colunas (11/10): à esquerda, nome, texto e
   botões; à direita, o "agora" em grafite e o resumo logo abaixo. No
   celular: nome → agora → texto → resumo. */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); grid-template-areas: "title now" "lead spec"; column-gap: 64px; row-gap: 28px; align-items: end; }
.hs-title { grid-area: title; min-width: 0; }
.hs-now { grid-area: now; }
.hs-lead { grid-area: lead; display: grid; gap: 26px; align-content: end; }
.hs-lead .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hs-lead .actions .mono-label { color: var(--g-500); }
.hs-spec { grid-area: spec; align-self: start; }
.hs-lead .lead { max-width: 560px; }

/* O cartão do "agora": título de verdade, sinal que pulsa, frase grande. */
.now-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 26px 24px; border-radius: 24px; box-shadow: 0 30px 60px -30px var(--lgs-31-31-31-55); }
.now-head { align-self: stretch; display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--lg-255-255-255-12); }
.now-signal { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lg-255-255-255-1); }
.now-signal i { width: 8px; height: 8px; border-radius: 50%; background: var(--g-0); animation: nowPulse 2s ease-out infinite; }
@keyframes nowPulse { 0% { box-shadow: 0 0 0 0 var(--lgs-255-255-255-55); } 70% { box-shadow: 0 0 0 9px var(--lgs-255-255-255-0); } 100% { box-shadow: 0 0 0 0 var(--lgs-255-255-255-0); } }
.now-title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; color: var(--g-0); }
.now-head .count { margin-left: auto; background: var(--g-0); color: var(--g-900); }
.now-hero .now-text { margin: 2px 0 0; font-size: clamp(22px, 2.1vw, 28px); font-weight: 600; line-height: 1.18; letter-spacing: -.03em; }
.now-hero .now-more { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--lg-255-255-255-7); }
.now-hero > .beam-btn { margin-top: 6px; }
.now-hero .foot { align-self: stretch; margin: 6px -26px -24px; padding: 12px 26px 14px; gap: 6px 16px; font-size: 12.5px; }
.now-hero.is-calm { box-shadow: var(--sh-1); }
.now-hero.is-calm .now-head { border-bottom-color: var(--g-100); }
.now-hero.is-calm .now-signal { background: var(--g-100); }
.now-hero.is-calm .now-signal i { background: var(--g-400); animation: none; }
.now-hero.is-calm .now-title { color: var(--g-900); }
.now-hero.is-calm .now-text { font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; letter-spacing: -.015em; }

/* Sem o quadro de resumo: o cartão do "agora" ocupa a coluna inteira. */
.hero-split.no-spec { grid-template-areas: "title now" "lead now"; grid-template-columns: minmax(0, 1fr) minmax(340px, 460px); }
.hero-split.no-spec .hs-now { align-self: end; }

/* O que fazer na obra, dentro do cartão do topo: uma ação embaixo da outra. */
.todo-hero .todo-list { align-self: stretch; display: grid; padding: 0; }
.todo-hero .todo-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; padding: 16px 0; border-radius: 0; }
.todo-hero .todo-item:first-child { padding-top: 4px; }
.todo-hero .todo-item + .todo-item { border-top: 1px solid var(--lg-255-255-255-1); }
.todo-hero .todo-item:hover { background: none; }
.todo-hero .todo-item strong { font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.todo-hero .todo-btns { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 4px; }
.todo-hero .todo-rest { padding-top: 12px; border-top: 1px solid var(--lg-255-255-255-1); align-self: stretch; }

@media (max-width: 1100px) { .hero-split, .hero-split.no-spec { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); column-gap: 40px; } }
@media (max-width: 860px) {
  .hero-split, .hero-split.no-spec { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "now" "lead" "spec"; row-gap: 22px; }
  .now-hero { padding: 20px 20px 22px; }
  .now-hero .foot { margin: 4px -20px -22px; padding: 12px 20px 14px; }
}

/* A barra das seções, logo abaixo da abertura do projeto. */
.project-top .page-hero { padding-bottom: 36px; }
.project-top .section-nav { padding-top: 0; padding-bottom: 0; }
.project-top .ruler-block { margin-top: 40px; }
.project-top > .wrap > #hero-ruler:empty { display: none; }
.project-top .status-grid { margin-top: 28px; }

.status-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: stretch; }
.current-card { display: flex; flex-direction: column; padding: 28px; border-radius: 24px; }
.current-card .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.current-card .h3 { margin: 6px 0 4px; }
.current-card .phrase { font-size: 15px; color: var(--g-500); }
.current-card .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0 24px; font-size: 13px; color: var(--g-500); }
.current-card .progress-head { display: flex; justify-content: space-between; margin-bottom: 9px; font-size: 12px; color: var(--g-500); }
.current-card .progress-head b { color: var(--g-900); font-weight: 600; font-variant-numeric: tabular-nums; }
.icon-tile { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 16px; background: var(--g-100); color: var(--g-900); }
.icon-tile.is-dark { background: var(--g-900); color: var(--g-0); box-shadow: 0 10px 20px -10px var(--lgs-31-31-31-6); }
.icon-tile.is-warn { background: var(--warning-soft); color: var(--warning); }
.icon-tile .stage-icon { width: 34px; height: 34px; }
.notice { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 14px 16px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; transition: transform .35s var(--ease); }
.notice:hover { transform: translateX(3px); }
.notice .ic { font-size: 18px; flex: none; }
.notice .txt { flex: 1; min-width: 0; }
.notice.warn { background: var(--warning-soft); color: var(--warning); }
.notice.warn strong { font-weight: 600; }
.notice.info { background: var(--info-soft); color: var(--info); }

/* ---------- Cronograma ---------- */
.legend { display: grid; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--g-600); }
.guide-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; text-align: left; cursor: pointer; width: 100%; }
.guide-card .icon-tile { width: 44px; height: 44px; border-radius: 14px; font-size: 20px; }
.guide-card strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.guide-card span { font-size: 12.5px; color: var(--g-500); }
.guide-card .chev { margin-left: auto; font-size: 18px; color: var(--g-500); transition: transform .4s var(--ease); }
.guide-card:hover .chev { transform: translateX(4px); color: var(--g-900); }

.timeline { position: relative; display: flex; flex-direction: column; gap: 12px; }
.tl-item { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
/* Fio vertical entre as etapas */
.tl-item::before { content: ''; position: absolute; left: 19.5px; top: 46px; bottom: -40px; width: 1px; background: var(--g-200); }
.tl-item:last-child::before { display: none; }
.tl-item.is-done::before { background: var(--g-900); }
.tl-node { position: relative; z-index: 1; width: 40px; display: flex; justify-content: center; padding-top: 30px; }
.tl-node i { width: 13px; height: 13px; border-radius: 50%; background: var(--g-0); border: 1px solid var(--g-300); transition: transform .5s var(--ease-spring); }
.tl-item:hover .tl-node i { transform: scale(1.3); }
.tl-item.is-done .tl-node i { background: var(--g-900); border-color: var(--g-900); }
.tl-item.is-now .tl-node i { width: 17px; height: 17px; margin-top: -2px; border: 1.5px solid var(--g-900); box-shadow: inset 0 0 0 3px var(--lgs-ffffff), inset 0 0 0 10px var(--g-900); animation: pulseRing 2s ease-out infinite; }
.tl-item.is-review .tl-node i { width: 17px; height: 17px; margin-top: -2px; border: 1.5px solid var(--warning); background: var(--warning-soft); animation: pulseRingWarn 2s ease-out infinite; }

.tl-card { border-radius: 24px; }
.tl-item.is-current .tl-card { border-color: var(--lg-31-31-31-16); box-shadow: var(--sh-3); background: var(--lg-255-255-255-86); }
.tl-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; width: 100%; padding: 18px 22px; text-align: left; }
.tl-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--g-100); color: var(--g-700); transition: background .35s var(--ease), color .35s; }
.tl-icon .stage-icon { width: 34px; height: 34px; }
.tl-item.is-now .tl-icon, .tl-item.is-current .tl-icon { background: var(--g-900); color: var(--g-0); box-shadow: 0 10px 20px -10px var(--lgs-31-31-31-6); }
.tl-item.is-review .tl-icon { background: var(--warning-soft); color: var(--warning); }
.tl-titles { min-width: 0; }
.tl-titles .mono-label { display: block; margin-bottom: 4px; }
.tl-titles .h5 { display: block; }
.tl-item.is-wait .tl-titles .h5 { color: var(--g-600); }
.tl-titles .phrase { display: block; margin-top: 2px; font-size: 13.5px; color: var(--g-500); }
.tl-meta { display: flex; align-items: center; gap: 14px; }
.tl-meta .dates { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: var(--g-500); white-space: nowrap; }
.tl-meta .files { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 11px; color: var(--g-500); }
.tl-chev { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--g-150); color: var(--g-500); transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s; }
.tl-head:hover .tl-chev { border-color: var(--g-900); color: var(--g-900); }
.tl-item.is-open .tl-chev { transform: rotate(180deg); background: var(--g-900); border-color: var(--g-900); color: var(--g-0); }
.tl-collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.tl-item.is-open .tl-collapse { grid-template-rows: 1fr; }
.tl-collapse > div { min-height: 0; overflow: hidden; }
.tl-body { display: flex; flex-direction: column; gap: 32px; margin: 0 22px; padding: 26px 0 26px; border-top: 1px dashed var(--dash); opacity: 0; transform: translateY(-8px); filter: blur(4px); transition: opacity .4s, transform .6s var(--ease), filter .5s; }
.tl-item.is-open .tl-body { opacity: 1; transform: none; filter: none; transition-delay: .1s; }
.tl-body > *, .editor > * { min-width: 0; }
.tl-desc { max-width: 64ch; font-size: 16px; line-height: 1.65; color: var(--g-700); }

/* Blocos dentro da etapa */
.block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.block-head .eyebrow { color: var(--g-900); }
.block-head .mono-label { margin-left: auto; white-space: nowrap; }
.block-head .icon { font-size: 16px; color: var(--g-500); }
.list-card { border-radius: 18px; background: var(--g-0); border: 1px solid var(--g-150); overflow: hidden; }
.item-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--g-100); transition: background .25s, padding .4s var(--ease); }
.item-row:last-child { border-bottom: 0; }
.item-row:hover { background: var(--g-25); padding-left: 20px; }
.item-row .task-title { font-size: 14.5px; font-weight: 500; letter-spacing: -.006em; }
.item-row .sub { display: block; font-size: 12px; font-weight: 400; color: var(--g-500); }
.item-row .grip { font-size: 16px; color: var(--g-300); cursor: grab; opacity: 0; transition: opacity .25s; }
.list-card:hover .grip { opacity: 1; }
.add-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-top: 1px dashed var(--g-200); background: var(--g-25); }
.add-row input { flex: 1; min-width: 0; height: 38px; padding: 0 4px; border: 0; background: transparent; outline: none; font-size: 14px; }
.add-row input::placeholder { color: var(--g-400); }

/* Revisão pedida */
.review-box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 16px; padding: 20px 22px; border-radius: 18px; background: var(--warning-soft); color: var(--warning); }
.review-box .icon-tile { width: 42px; height: 42px; border-radius: 13px; background: var(--g-0); color: var(--warning); font-size: 19px; }
.review-box .eyebrow { color: var(--warning); margin-bottom: 6px; }
.review-box p { font-size: 15.5px; line-height: 1.55; color: var(--g-900); }
.review-box .caption { margin-top: 8px; color: var(--warning); }

/* Aprovação */
.approval { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: var(--g-50); border: 1px solid var(--g-150); }
.approval.is-ok { background: var(--success-soft); border-color: transparent; }
.approval .icon-tile { width: 44px; height: 44px; border-radius: 50%; font-size: 20px; }
.approval.is-ok .icon-tile { background: var(--success); color: var(--g-0); }
.approval strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.approval span { font-size: 13px; color: var(--g-600); }
.approval .btn { margin-left: auto; }

/* Campos da etapa (visão da arquiteta) */
.editor { display: grid; gap: 14px; }
.editor .status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 4px; }

/* Blocos para acrescentar */
.picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 18px; border-radius: 18px; border: 1px dashed var(--g-300); }
.picker .mono-label { margin-right: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border-radius: 10px; background: var(--g-0); border: 1px solid var(--g-150); font-size: 12.5px; font-weight: 500; color: var(--g-600); transition: all .3s var(--ease); }
.chip .ic { font-size: 15px; }
.chip:hover { border-color: var(--g-900); color: var(--g-900); transform: translateY(-1px); }

/* Arquivos */
.file-row { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--g-100); transition: background .25s, padding .4s var(--ease); }
.file-row:last-child { border-bottom: 0; }
.file-row:hover { background: var(--g-25); padding-left: 20px; }
.file-type { width: 42px; height: 48px; flex: none; position: relative; display: grid; place-items: end center; padding-bottom: 7px; border-radius: 8px 14px 8px 8px; background: var(--g-50); border: 1px solid var(--g-150); font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .08em; color: var(--g-600); }
.file-type::before { content: ''; position: absolute; top: -1px; right: -1px; width: 12px; height: 12px; border-bottom-left-radius: 4px; background: var(--g-150); }
.file-type.pdf { color: var(--danger); }
.file-type.dwg { color: var(--info); }
.file-info { flex: 1; min-width: 0; }
.file-info strong { display: block; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-info span { font-size: 12.5px; color: var(--g-500); }
.file-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--g-500); white-space: nowrap; }
.file-actions { display: flex; gap: 2px; opacity: .5; transition: opacity .25s; }
.file-row:hover .file-actions { opacity: 1; }
.file-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 6px; border-radius: 10px; background: var(--g-0); border: 1px solid var(--g-150); font-size: 13px; color: var(--g-800); max-width: 100%; transition: all .3s var(--ease); }
.file-chip:hover { border-color: var(--g-900); transform: translateY(-1px); }
.file-chip .tag { padding: 3px 6px; border-radius: 6px; background: var(--danger-soft); color: var(--danger); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; }
.file-chip .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-add { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 10px; border: 1px dashed var(--g-300); font-size: 13px; color: var(--g-500); transition: all .3s var(--ease); }
.file-add:hover { border-color: var(--g-900); color: var(--g-900); }
.file-add .ic { font-size: 15px; transition: transform .35s var(--ease); }
.file-add:hover .ic { transform: translateY(-2px); }

/* Conversa da etapa */
.chat { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 20px; background: var(--g-25); border: 1px solid var(--g-150); }
.msg { display: flex; align-items: flex-end; gap: 10px; max-width: 86%; animation: popIn .5s var(--ease-spring) both; }
.msg .who { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--g-200); color: var(--g-700); font-size: 11px; font-weight: 600; }
.msg .bubble { padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: var(--g-0); border: 1px solid var(--g-150); }
.msg .bubble p { font-size: 14.5px; line-height: 1.55; color: var(--g-800); }
.msg .meta { display: flex; gap: 8px; margin-bottom: 4px; font-size: 11.5px; color: var(--g-500); }
.msg .meta strong { font-weight: 600; color: var(--g-700); }
.msg.me { align-self: flex-end; flex-direction: row-reverse; }
.msg.me .who { background: var(--g-900); color: var(--g-0); }
.msg.me .bubble { border-radius: 18px 18px 6px 18px; background: var(--g-900); border-color: var(--g-900); }
.msg.me .bubble p { color: var(--g-0); }
.msg.me .meta { justify-content: flex-end; color: var(--lg-255-255-255-7); }
.msg.me .meta strong { color: var(--lg-255-255-255-85); }
.composer { display: flex; align-items: flex-end; gap: 10px; margin-top: 4px; padding: 8px 8px 8px 16px; border-radius: 16px; background: var(--g-0); border: 1px solid var(--g-200); transition: border-color .25s, box-shadow .35s var(--ease); }
.composer:focus-within { border-color: var(--g-900); box-shadow: 0 0 0 4px var(--lgs-31-31-31-06); }
.composer textarea { flex: 1; min-height: 40px; max-height: 140px; padding: 9px 0; border: 0; outline: none; resize: none; background: transparent; font-size: 14.5px; line-height: 1.5; }
.chat-empty { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--g-500); }

/* Agenda dentro da etapa */
.agenda-card .event-row { padding-left: 14px; }

/* Disciplinas complementares */
.comp-row { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--g-100); transition: background .25s, padding .4s var(--ease); }
.comp-row:last-child { border-bottom: 0; }
.comp-row:hover { background: var(--g-25); padding-left: 20px; }
.comp-row strong { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.comp-row .who { font-size: 13px; color: var(--g-600); }
.comp-row .who small { display: block; font-size: 11.5px; color: var(--g-500); }

/* Rodapé da etapa */
.stage-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--dash); }
.stage-foot .group { display: flex; flex-wrap: wrap; gap: 4px; }
.history { font-size: 13px; color: var(--g-500); }
.history summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.history summary::-webkit-details-marker { display: none; }
.history summary .ic { transition: transform .35s var(--ease); }
.history[open] summary .ic { transform: rotate(90deg); }
.history ul { display: grid; gap: 10px; margin-top: 12px; }
.history li { padding-left: 14px; border-left: 2px solid var(--g-150); font-size: 14px; color: var(--g-700); }
.history small { display: block; margin-top: 2px; font-family: var(--mono); font-size: 11px; color: var(--g-500); }
/* Editar / excluir revisão (14/10). */
.rev-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.rev-actions .link-underline, .rev-side .link-underline { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; }
.rev-side { display: grid; justify-items: end; gap: 8px; }
.link-underline.is-danger { color: var(--danger); }

/* Nova etapa */
.add-stage { display: flex; align-items: center; justify-content: center; gap: 10px; width: calc(100% - 56px); height: 72px; margin: 4px 0 0 56px; border-radius: 24px; border: 1px dashed var(--g-300); font-size: 14.5px; font-weight: 500; color: var(--g-500); transition: all .35s var(--ease); }
.add-stage .ic { font-size: 20px; transition: transform .5s var(--ease-spring); }
.add-stage:hover { border-color: var(--g-900); color: var(--g-900); background: var(--lg-255-255-255-7); }
.add-stage:hover .ic { transform: rotate(90deg); }

/* "Comece por aqui" aberto */
.guide { padding: 36px; border-radius: 28px; }
.guide-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; padding-bottom: 28px; border-bottom: 1px dashed var(--dash); }
.guide-top .h3 { margin: 8px 0 14px; }
.guide-welcome p { max-width: 64ch; margin-bottom: 10px; font-size: 16px; line-height: 1.7; color: var(--g-700); }
.guide-stages { margin-top: 8px; }
.guide-row { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; padding: 26px 0; align-items: start; }
.guide-row:hover { padding-left: 12px; }
.guide-row .num { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--g-500); padding-top: 4px; }
.guide-row .h5 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.guide-row .what { font-size: 14.5px; line-height: 1.65; color: var(--g-600); }
.guide-row .you { padding: 16px 18px; border-radius: 16px; background: var(--g-50); font-size: 14px; line-height: 1.6; color: var(--g-700); }
.guide-row .you .eyebrow { display: block; margin-bottom: 6px; color: var(--g-900); }
.guide-row.is-now .you { background: var(--g-900); color: var(--lg-255-255-255-8); }
.guide-row.is-now .you .eyebrow { color: var(--g-0); }
.guide-legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px dashed var(--dash); }
.guide-legend div { display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--g-600); }

/* ---------- Calendário (tela) ---------- */
.cal-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.cal-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--g-600); }
.cal-panels { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; margin-top: 28px; align-items: start; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 24px; text-align: center; }
.empty-state .icon-tile { width: 56px; height: 56px; border-radius: 18px; font-size: 24px; color: var(--g-500); background: var(--g-50); border: 1px dashed var(--g-300); }
.empty-state p { max-width: 260px; font-size: 13.5px; color: var(--g-500); }

/* ---------- Orçamentos ---------- */
.budget-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.budget-kpis .numeral small { font-size: .45em; font-weight: 500; letter-spacing: 0; color: var(--g-500); margin-right: 4px; }
.cat { margin-top: 24px; }
.cat-head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 18px; padding: 16px 20px 16px 24px; background: var(--g-900); color: var(--g-0); }
.cat-head .h5 { color: var(--g-0); }
.cat-head .h5 small { margin-left: 10px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--lg-255-255-255-7); }
.deadline { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 12px; border-radius: 10px; background: var(--lg-255-255-255-06); border: 1px solid var(--lg-255-255-255-12); }
.deadline .mono-label { color: var(--lg-255-255-255-7); letter-spacing: .14em; }
.deadline input { width: 128px; border: 0; outline: none; background: transparent; color: var(--g-0); font: 500 13px var(--sans); font-variant-numeric: tabular-nums; color-scheme: dark; }
.deadline b { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cat-head .btn-ghost { color: var(--lg-255-255-255-7); }
.cat-head .btn-ghost:hover { background: var(--lg-255-255-255-1); color: var(--g-0); }
.quote-head, .quote-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 190px 120px 40px; gap: 20px; align-items: center; }
.is-readonly .quote-head, .is-readonly .quote-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 140px 120px; }
.quote-head { padding: 14px 24px 12px; border-bottom: 1px solid var(--g-100); }
.quote-row { padding: 20px 24px; }
.quote-row:hover { padding-left: 32px; background: linear-gradient(90deg, var(--g-25), transparent); }
.quote-row:first-of-type { border-top: 0; }
.quote-row .supplier > strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.quote-row .supplier > span { display: block; margin-top: 2px; font-size: 13px; color: var(--g-500); }
.quote-row .supplier .files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.value { font-size: 24px; font-weight: 600; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.value small { margin-right: 4px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .04em; color: var(--g-500); }
.received { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--g-600); }
.received small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--g-500); }
.quote-row.is-closed .value { color: var(--success); }
.cat-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 14px 18px; border-top: 1px solid var(--g-100); }
.add-cat { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 10px 10px 10px 20px; border-radius: 20px; border: 1px dashed var(--g-300); }
.add-cat input { flex: 1; min-width: 0; height: 44px; border: 0; outline: none; background: transparent; font-size: 15px; }

/* ---------- Tela do cliente ---------- */
.client-top { display: flex; align-items: center; gap: 14px; height: 72px; }
.client-top .push { flex: 1; }
.readonly { display: inline-flex; align-items: center; gap: 6px; }
.site { position: relative; overflow: hidden; color: var(--g-100); background: radial-gradient(120% 120% at 50% 0%, var(--lg-2a2a2a), var(--g-900) 55%, var(--g-950)); }
.site .foot-zero { position: absolute; right: -4vw; bottom: -14vh; font-size: 70vh; font-weight: 800; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--lg-255-255-255-06); pointer-events: none; }
.site .inner { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 40px; }
.site .mono-label { color: var(--lg-255-255-255-7); }
.foot-mark { font-size: clamp(56px, 11vw, 180px); line-height: .9; letter-spacing: -.055em; white-space: nowrap; }
.foot-mark .fch { display: inline-block; font-weight: var(--w, 800); }
.site .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--lg-255-255-255-1); font-family: var(--mono); font-size: 11px; line-height: 1.8; letter-spacing: .16em; text-transform: uppercase; color: var(--lg-255-255-255-7); }
.site .cols a:hover { color: var(--g-0); }
.site .marquee-wrap { overflow: hidden; padding: 28px 0; border-top: 1px solid var(--lg-255-255-255-1); font-family: var(--mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--lg-255-255-255-25); }
.site .marquee-wrap span { margin: 0 32px; }

.app-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 32px 0 40px; border-top: 1px dashed var(--dash); font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--g-500); }
.app-foot a:hover { color: var(--g-900); }

/* ---------- Entrada (login) ---------- */
.gate { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.gate > .wrap { width: 100%; }
.gate-top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; height: 80px; }
.gate-main { position: relative; z-index: 3; flex: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; padding-top: 24px; padding-bottom: 64px; }
.gate .display { font-size: clamp(56px, 8.6vw, 148px); }
.gate .lead { max-width: 520px; margin-top: 32px; }
.login-card { padding: 34px; border-radius: 28px; }
.login-card .h4 { margin: 18px 0 6px; }
.login-card .body-sm { margin-bottom: 26px; }
.or { display: flex; align-items: center; gap: 14px; margin: 20px 0; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--g-500); }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--g-200) 0 4px, transparent 4px 8px); }
.legal { margin-top: 22px; font-size: 12px; line-height: 1.55; color: var(--g-500); }
.legal a { color: var(--g-900); }

/* ---------- Peças das janelas ---------- */
.link-box { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 14px; background: var(--g-0); border: 1px solid var(--g-200); }
.link-box .url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 12px; color: var(--g-700); }
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.module-opt { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 40px 14px 14px; border-radius: 14px; background: var(--g-0); border: 1px solid var(--g-150); cursor: pointer; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.module-opt:hover { border-color: var(--g-900); transform: translateY(-1px); box-shadow: var(--sh-2); }
.module-opt:has(.check-round.on) { border-color: var(--g-900); background: var(--g-25); }
.module-opt strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.module-opt span span { display: block; font-size: 12.5px; line-height: 1.45; color: var(--g-500); }
.module-opt .mi { position: absolute; top: 14px; right: 14px; font-size: 18px; color: var(--g-500); }
.item-row.ro { grid-template-columns: minmax(0, 1fr) auto; }
.item-row .file-chip, .item-row .file-add { display: flex; width: max-content; max-width: 100%; }

/* ---------- Página de sumário ---------- */
.toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.toc-row { grid-template-columns: 48px minmax(0, 1fr) auto 24px; gap: 16px; padding: 18px 4px; }
.toc-row:hover { padding-left: 16px; }
.toc-row .num { font-family: var(--mono); font-size: 11px; color: var(--g-500); }
.toc-row strong { font-size: 16px; font-weight: 600; letter-spacing: -.012em; }
.toc-row .chev { font-size: 18px; color: var(--g-300); transition: transform .4s var(--ease), color .25s; }
.toc-row:hover .chev { transform: translateX(4px); color: var(--g-900); }


