/* Baldio — design system */
@import url('https://fonts.googleapis.com/css2?family=Vollkorn:wght@600;700;800&family=Hanken+Grotesk:wght@400;500;600&display=swap');

:root {
  --forest:      #2D4C36;
  --forest-dark: #163521;
  --clay:        #C18C5D;
  --clay-light:  #e8b98a;
  --beige:       #F2EFE9;
  --paper:       #F9F8F6;
  --surface:     #fcf9f3;
  --border:      rgba(45,76,54,.12);
  --text:        #1c1c18;
  --muted:       #424842;
  --muted-light: #767c72;

  --font-head: 'Vollkorn', Georgia, serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --radius:    14px;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: radial-gradient(ellipse 140% 90% at 50% 0%, #fdf9f0 0%, #f4ead5 45%, #e9ddc3 100%) fixed;
  min-height: 100vh;
  color: var(--text);
  line-height: 1.6;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }

a { color: inherit; text-decoration: none; }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  background: rgba(253,249,240,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 0.86rem; color: var(--muted); transition: color .15s; position: relative; }
.nav-links a:hover { color: var(--forest); }
.nav-links a.nav-active { color: var(--forest); font-weight: 600; }
.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
}
.nav-cta {
  background: rgba(45,76,54,.12);
  color: var(--forest);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background .15s;
}
.nav-cta:hover { background: var(--forest); color: #fff; }

/* hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: all .2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(253,249,240,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 8px 0 16px;
}
.nav-drawer a {
  font-size: .95rem;
  color: var(--muted);
  padding: 12px 20px;
  transition: background .15s;
}
.nav-drawer a:hover { background: rgba(45,76,54,.06); color: var(--forest); }
.nav-drawer a.nav-active { color: var(--forest); font-weight: 600; background: rgba(45,76,54,.06); }
.nav-drawer .nav-drawer-cta {
  margin: 10px 20px 0;
  background: rgba(45,76,54,.12);
  color: var(--forest);
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
  padding: 11px 20px;
}
.nav-drawer .nav-drawer-cta:hover { background: var(--forest); color: #fff; }

.nav-cta-add {
  font-size: 0.82rem;
  padding: 7px 14px;
  border-width: 1.5px;
}

.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color .15s;
  padding: 4px;
}
.nav-search-btn:hover { color: var(--forest); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  nav .nav-cta,
  nav .nav-cta-add,
  nav .nav-adicionar,
  nav .nav-search-btn { display: none !important; }
  .nav-burger { display: flex; }
  .nav-drawer.open { display: flex; }
  .nav { padding-left: 16px; padding-right: 16px; }
}

/* ── Hero ── */
.hero-wrap {
  background: url('/assets/img/hero-bg.jpg') center center / cover no-repeat;
  min-height: 340px;
}
.hero-cta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 16px;
  background: rgba(253,249,240,.95);
  border-bottom: 1px solid var(--border);
  position: relative;
}
@media (max-width: 768px) {
  .hero-wrap { min-height: 200px; }
  .hero-cta-bar { padding: 16px; gap: 10px; }
}
/* scroll cue */
.hero-scroll {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  z-index: 10;
}
.hero-scroll span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2.5px solid var(--forest);
  border-bottom: 2.5px solid var(--forest);
  transform: rotate(45deg);
  animation: scroll-bounce .9s ease-in-out infinite alternate;
  opacity: .7;
}
.hero-scroll span:nth-child(2) { animation-delay: .15s; margin-top: -12px; opacity: .45; }
@keyframes scroll-bounce {
  from { transform: rotate(45deg) translate(0,0); }
  to   { transform: rotate(45deg) translate(3px,3px); }
}
@media (max-width: 768px) {
  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); margin-bottom: 14px; }
  .hero p  { font-size: .9rem; margin-bottom: 24px; }
  .hero-actions { margin-bottom: 28px; }
  .hero-stats { gap: 24px; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(253,249,240,.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(45,76,54,.2);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--forest-dark);
  max-width: 760px;
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px rgba(253,249,240,.7);
}
.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
  background: rgba(253,249,240,.6);
  backdrop-filter: blur(4px);
  padding: 8px 16px;
  border-radius: 8px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}
.stat-label { font-size: 0.72rem; color: var(--muted-light); margin-top: 4px; letter-spacing: 0.04em; }

/* ── Botões ── */
.btn {
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-dark); }
.btn-secondary { border: 2px solid var(--clay); color: var(--clay); background: transparent; }
.btn-secondary:hover { background: var(--clay); color: #fff; }

/* ── Sections (full-width bands, sem rounded corners) ── */
.section-wrap {
  width: 100%;
  border-top: 1px solid rgba(45,76,54,.1);
  background: rgba(255,255,255,.38);
  margin-bottom: 0;
}
.section-wrap + .section-wrap { border-top: none; }
.section-wrap-forest { background: var(--forest); }
.section-wrap-muted  { background: rgba(45,76,54,.04); }
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 48px;
}
.section-card-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(45,76,54,.12);
  margin-bottom: 24px;
}
.section-explore-link {
  font-size: .78rem;
  font-weight: 600;
  color: var(--clay);
  text-decoration: none;
  letter-spacing: .02em;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.section-explore-link:hover { color: var(--forest); border-bottom-color: var(--forest); }
.section-add-row {
  border-top: 1px solid rgba(45,76,54,.12);
  margin-top: 18px;
  padding-top: 18px;
  display: flex;
}
.section-add-row .add-card {
  flex-direction: row;
  padding: 10px 18px;
  gap: 8px;
}
.section-add-row .add-card-icon {
  width: 24px;
  height: 24px;
  font-size: .95rem;
}
@media (max-width: 768px) { .section-inner { padding: 36px 16px; } }

.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 6px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--forest);
}
.section-link {
  font-size: 0.82rem;
  color: var(--forest);
}
.section-link:hover { text-decoration: underline; }

/* ── Mapa ── */
.map-area {
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: 14px;
  border: 1px dashed rgba(45,76,54,.2);
  background: rgba(45,76,54,.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-light);
  font-size: 0.88rem;
}
@media (max-width: 768px) { .map-area { aspect-ratio: 4/3; } }

/* ── Bento grid eventos ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .bento-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .bento-grid { grid-template-columns: 1fr; } }

.bento-card {
  background: rgba(249,248,246,.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
}
.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,76,54,.1);
}
.bento-card.wide { grid-column: span 2; flex-direction: row; gap: 20px; }
@media (max-width: 900px) { .bento-card.wide { grid-column: span 2; } }
@media (max-width: 580px) { .bento-card.wide { grid-column: span 1; flex-direction: column; } }

.bento-card-img {
  width: 42%;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--beige);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 140px;
}

.card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.card-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.card-tag.green { background: rgba(45,76,54,.1); color: var(--forest); }
.card-tag.clay  { background: rgba(193,140,93,.12); color: var(--clay); }

.card-date { text-align: right; }
.card-date .day { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--forest); line-height: 1; }
.card-date .month { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; color: var(--muted-light); text-transform: uppercase; margin-top: 2px; }

.card-title { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--forest); margin-bottom: 6px; }
.card-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.55; flex: 1; margin-bottom: 12px; }
.card-loc { font-size: 0.72rem; color: var(--muted-light); }

/* ── Três caminhos ── */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .paths-grid { grid-template-columns: 1fr; } }

.path-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 28px;
}
.path-card-clay {
  background: rgba(193,140,93,.15);
  border-color: rgba(193,140,93,.25);
}
.path-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255,255,255,.18);
  line-height: 1;
  margin-bottom: 14px;
}
.path-card h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.path-card p {
  font-size: 0.83rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}
.path-card strong { color: rgba(255,255,255,.95); }

.paths-manifesto {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 28px;
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-style: italic;
  color: rgba(255,255,255,.65);
  text-align: center;
  letter-spacing: 0.01em;
}

/* ── Filosofia (section-card-forest) ── */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) { .philosophy-grid { grid-template-columns: 1fr; gap: 40px; } }

.philosophy-steps { display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.step-icon.green { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.step-icon.clay  { background: var(--clay); color: #fff; }
.step h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 4px; }
.step p { font-size: 0.82rem; line-height: 1.55; }

.philosophy-visual { position: relative; }
.philosophy-img {
  border-radius: 16px;
  aspect-ratio: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  transform: rotate(1.5deg);
}
.philosophy-quote {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--paper);
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  border: 1px solid var(--border);
  transform: rotate(-2deg);
  max-width: 190px;
}
.philosophy-quote .label { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; color: var(--clay); margin-bottom: 5px; }
.philosophy-quote p { font-size: 0.78rem; color: var(--forest); font-style: italic; line-height: 1.5; }

/* ── Footer ── */
footer {
  border-top: 1px dashed rgba(45,76,54,.18);
  padding: 32px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.footer-brand p { font-size: 0.76rem; color: var(--muted-light); margin-top: 6px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 0.8rem; color: var(--muted); }
.footer-links a.highlight { color: var(--clay); font-weight: 600; }
.footer-links a:hover { color: var(--forest); text-decoration: underline; }

/* ── Páginas internas ── */
.page-hero-wrap {
  background:
    linear-gradient(to bottom,
      rgba(253,249,240,.80) 0%,
      rgba(253,249,240,.70) 40%,
      rgba(253,249,240,.90) 100%
    ),
    url('/assets/img/page-hero-bg.jpg') center 30% / cover no-repeat;
  border-bottom: 1px solid rgba(45,76,54,.1);
}
.page-hero {
  padding: 56px 0 40px;
}
.page-hero .section-eyebrow { margin-bottom: 6px; }
.page-hero .page-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--forest-dark);
  letter-spacing: -0.02em;
}

/* ── Filter bar ── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(45,76,54,.2);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

/* ── Utils ── */
.loading { color: var(--muted-light); font-size: 0.85rem; padding: 16px 0; }

/* ── List grids ── */
.items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .items-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .items-grid { grid-template-columns: 1fr; } }

.item-card {
  display: flex;
  flex-direction: column;
  background: rgba(249,248,246,.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.item-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,76,54,.09); }
.item-card-type { font-size: .65rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--clay); }
.item-card-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--forest); }
.item-card-loc { font-size: .76rem; color: var(--muted-light); }
.item-card-desc { font-size: .82rem; color: var(--muted); line-height: 1.55; flex: 1; }
.item-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.item-card-tag { font-size: .65rem; padding: 3px 10px; border-radius: 999px; background: rgba(45,76,54,.08); color: var(--forest); }
.item-card-footer { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); }
.item-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px 18px;
  flex: 1;
}

.add-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px dashed var(--clay-light);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--clay);
  font-size: .82rem;
  font-weight: 500;
  transition: border-color .2s, color .2s, background .2s;
  background: transparent;
}
.add-card:hover {
  border-color: var(--forest);
  color: var(--forest);
  background: rgba(45,76,54,.04);
}
.add-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px dashed currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
}
.item-card-img {
  height: 160px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* event row */
.event-row {
  background: rgba(249,248,246,.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 64px 80px 1fr auto;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  transition: box-shadow .2s;
}
.event-row:hover { box-shadow: 0 4px 14px rgba(45,76,54,.08); }
.event-row-thumb {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .event-row {
    grid-template-columns: 48px 1fr;
    grid-template-areas:
      "thumb   thumb"
      "date    content"
      ".       action";
    padding: 0;
    gap: 0;
    overflow: hidden;
    align-items: start;
  }
  .event-row-date {
    grid-area: date;
    padding: 14px 10px 14px 16px;
  }
  .event-row-thumb {
    grid-area: thumb;
    display: block;
    width: 100%;
    height: 130px;
    border-radius: 0;
  }
  .event-row-content {
    grid-area: content;
    padding: 14px 16px 0 0;
  }
  .event-row-action {
    grid-area: action;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 16px 14px 0;
    gap: 8px;
  }
  .event-row-type { display: none; }
}
.event-row-date-day { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--forest); line-height: 1; text-align: center; }
.event-row-date-mon { font-size: .62rem; font-weight: 600; letter-spacing: .1em; color: var(--muted-light); text-transform: uppercase; text-align: center; }
.event-row-title { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--forest); margin-bottom: 4px; }
.event-row-meta { font-size: .76rem; color: var(--muted-light); margin-bottom: 5px; }
.event-row-excerpt { font-size: .81rem; color: var(--muted); line-height: 1.55; }
.event-row-action { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.event-row-type { font-size: .65rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(45,76,54,.08); color: var(--forest); white-space: nowrap; }

/* ── Composer ───────────────────────────────────────────────────────────── */
.composer { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius, 14px); overflow: hidden; }
.composer-collapsed { display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; transition: background .15s; }
.composer-collapsed:hover { background: rgba(45,76,54,.04); }
.composer-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--forest); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; flex-shrink: 0; }
.composer-placeholder { flex: 1; background: var(--bg, #f9f8f6); border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px; font-size: .88rem; color: var(--muted); cursor: pointer; font-family: var(--font-body); }
.composer-expanded { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.composer-types { display: flex; gap: 6px; flex-wrap: wrap; }
.type-pill { font-size: .72rem; padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg, #f9f8f6); color: var(--muted); cursor: pointer; transition: all .15s; font-family: var(--font-body); }
.type-pill.active { background: var(--forest); color: #fff; border-color: var(--forest); }
.type-pill:hover:not(.active) { border-color: var(--forest); color: var(--forest); }
.composer-text { width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-family: var(--font-body); font-size: .9rem; color: var(--text, #1a1a1a); resize: vertical; outline: none; background: var(--bg, #f9f8f6); transition: border-color .15s; }
.composer-text:focus { border-color: var(--forest); }
.composer-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.composer-email-row { display: grid; grid-template-columns: 1fr; }
.composer-input { padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; font-family: var(--font-body); font-size: .85rem; color: var(--text, #1a1a1a); background: var(--bg, #f9f8f6); outline: none; transition: border-color .15s; }
.composer-input:focus { border-color: var(--forest); }
.composer-input::placeholder { color: var(--muted-light, #aaa); }
.composer-actions { display: flex; justify-content: flex-end; gap: 10px; align-items: center; padding-top: 2px; }
.composer-cancel { background: none; border: none; font-size: .78rem; color: var(--muted); cursor: pointer; font-family: var(--font-body); padding: 4px; }
.composer-cancel:hover { color: var(--text, #1a1a1a); }
.composer-publish { background: var(--forest); color: #fff; border: none; padding: 9px 20px; border-radius: 999px; font-size: .8rem; font-weight: 600; cursor: pointer; font-family: var(--font-body); transition: background .15s; }
.composer-publish:hover { background: var(--forest-dark, #1b3220); }
.composer-proc { display: flex; flex-direction: column; align-items: center; padding: 28px 16px; gap: 12px; }
.composer-proc-ring { width: 36px; height: 36px; border: 3px solid rgba(45,76,54,.15); border-top-color: var(--forest); border-radius: 50%; animation: spin .9s linear infinite; }
.composer-proc-msg { font-size: .88rem; color: var(--muted); font-style: italic; transition: opacity .2s; }
.composer-result { display: flex; flex-direction: column; align-items: center; padding: 28px 16px; gap: 8px; text-align: center; }
.composer-result-icon { font-size: 2rem; }
.composer-result-text { font-size: .88rem; color: var(--muted); line-height: 1.6; max-width: 360px; }
@media (max-width: 520px) { .composer-fields { grid-template-columns: 1fr; } }
