:root {
  --ink: #102033;
  --muted: #5f6b7a;
  --soft: #eef2ed;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #d9dfd7;
  --navy: #0a1a2d;
  --green: #16734b;
  --green-2: #e7f4ec;
  --gold: #b88921;
  --gold-2: #fff3d9;
  --red: #c44832;
  --red-2: #ffebe7;
  --blue-soft: #eaf1f8;
  --shadow: 0 18px 50px -34px rgba(16, 32, 51, .38);
  --radius: 8px;
  --mono: "SFMono-Regular", "Roboto Mono", "Cascadia Mono", Menlo, monospace;
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.45;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; }

.app-shell {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  min-height: 100dvh;
}

.rail {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 20px;
  color: #eef7f2;
  background:
    linear-gradient(180deg, rgba(14, 38, 63, .94), rgba(8, 24, 40, .98)),
    url("assets/moodboard/market-infrastructure.jpg") center/cover;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
  color: #bde9cb;
  font-weight: 900;
  letter-spacing: .03em;
  background: rgba(255, 255, 255, .08);
}

.brand-lockup strong {
  display: block;
  font-size: 19px;
  line-height: 1;
}

.brand-lockup small {
  display: block;
  margin-top: 5px;
  color: rgba(238, 247, 242, .62);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.main-nav {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.main-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  color: rgba(238, 247, 242, .82);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.main-nav a:active,
.primary-button:active,
.ghost-button:active,
.action-button:active {
  transform: translateY(1px);
}

.main-nav i {
  font-size: 21px;
}

.rail-card,
.rail-stats {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.rail-card strong {
  display: block;
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.16;
}

.rail-card span,
.rail-stats span {
  color: rgba(238, 247, 242, .66);
  font-size: 13px;
}

.rail-stats {
  display: grid;
  gap: 14px;
  margin-top: auto;
}

.rail-stats strong {
  display: block;
  color: #fff;
  font-family: var(--mono);
  font-size: 22px;
}

.workspace {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 30px 18px;
  background: rgba(251, 250, 246, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.topbar h1 {
  margin: 4px 0 0;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -.03em;
  line-height: 1;
}

.mini-label {
  margin: 0;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.top-actions,
.button-row,
.asset-actions,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.primary-button,
.ghost-button,
.action-button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.primary-button {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  font-weight: 800;
}

.ghost-button {
  color: var(--ink);
  background: var(--panel);
  border-color: var(--line);
  font-weight: 750;
}

.action-button {
  color: var(--ink);
  background: var(--panel);
  border-color: var(--line);
  font-weight: 760;
}

.mini-button {
  min-height: 34px;
  padding: 0 11px;
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
  font-size: 13px;
  font-weight: 800;
}

.screen-root {
  padding: 24px 30px 34px;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.main-column,
.side-column {
  display: grid;
  gap: 18px;
}

.composer,
.surface {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.composer {
  padding: 20px;
}

.composer textarea,
.wizard textarea,
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.composer textarea {
  min-height: 102px;
  padding: 16px;
  resize: vertical;
  font-size: 19px;
  line-height: 1.35;
}

.composer textarea:focus,
.wizard textarea:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(22, 115, 75, .55);
  box-shadow: 0 0 0 4px rgba(22, 115, 75, .12);
}

.composer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.chips,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-size: 14px;
  font-weight: 760;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.chip:hover,
.chip.active {
  border-color: rgba(22, 115, 75, .45);
  background: var(--green-2);
}

.chip:active {
  transform: translateY(1px);
}

.feed {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feed-header,
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.feed-header h2,
.panel-header h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -.01em;
}

.feed-list {
  display: grid;
}

.feed-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background .18s ease;
}

.feed-item:hover {
  background: #fbfdf9;
}

.feed-item:last-child {
  border-bottom: 0;
}

.affect-button {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.affect-button i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 21px;
}

.affect-button strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1;
}

.affect-button span {
  font-size: 12px;
}

.feed-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.feed-title {
  margin: 0;
  font-size: 21px;
  line-height: 1.17;
  letter-spacing: -.02em;
}

.feed-title a {
  text-decoration: none;
}

.feed-title a:hover {
  color: var(--green);
}

.feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.feed-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.badge.urgent,
.badge.red {
  color: var(--red);
  background: var(--red-2);
}

.badge.high,
.badge.gold {
  color: #7a520d;
  background: var(--gold-2);
}

.badge.green {
  color: var(--green);
  background: var(--green-2);
}

.badge.blue {
  color: #245b88;
  background: var(--blue-soft);
}

.ai-strip {
  margin-top: 15px;
  padding: 15px;
  border: 1px solid rgba(22, 115, 75, .24);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f7fcf8, #fff);
}

.ai-strip-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.ai-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 12px;
}

.ai-step {
  min-width: 0;
}

.ai-step i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-2);
  border: 1px solid rgba(22, 115, 75, .2);
}

.ai-step strong {
  display: block;
  font-size: 13px;
}

.ai-step span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.32;
}

.right-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ranking-list,
.compact-list {
  display: grid;
}

.ranking-row,
.compact-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.ranking-row:last-child,
.compact-row:last-child {
  border-bottom: 0;
}

.rank {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--soft);
  font-family: var(--mono);
  font-weight: 900;
  font-size: 13px;
}

.ranking-row strong,
.compact-row strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.ranking-row span,
.compact-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.mono {
  font-family: var(--mono);
}

.share-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.share-preview {
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(10, 26, 45, .96), rgba(16, 69, 58, .94)),
    url("assets/generated/guatemala-activity-map.png") center/cover;
  border-radius: var(--radius);
  min-height: 172px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.share-preview h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.06;
  letter-spacing: -.02em;
}

.share-preview p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
}

.share-preview footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
}

.mini-map {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #102033;
  border: 1px solid rgba(16, 32, 51, .16);
}

.mini-map img,
.big-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .9;
}

.map-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid rgba(255, 255, 255, .7);
  box-shadow: 0 0 0 6px rgba(184, 137, 33, .22);
  animation: pulse 2.8s ease-in-out infinite;
}

.map-dot.hot {
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(196, 72, 50, .23);
}

.map-dot.green {
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(22, 115, 75, .18);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .86; }
  50% { transform: scale(1.22); opacity: 1; }
}

.map-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(10, 26, 45, .78);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  font-size: 13px;
}

.wizard-layout,
.detail-layout,
.adopt-layout,
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}

.wizard,
.detail-card,
.proposal-card {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 18px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stepper span {
  padding: 11px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.stepper span.active {
  color: var(--green);
  background: var(--green-2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  min-height: 44px;
  padding: 11px 12px;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field small {
  color: var(--muted);
}

.analysis-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.analysis-card h3 {
  margin: 0;
  font-size: 20px;
}

.analysis-card p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
}

.analysis-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  overflow: hidden;
}

.analysis-list div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  padding: 11px;
  background: rgba(255, 255, 255, .06);
}

.analysis-list dt {
  color: #bde9cb;
  font-weight: 850;
}

.analysis-list dd {
  margin: 0;
  color: rgba(255, 255, 255, .88);
}

.big-map {
  position: relative;
  min-height: calc(100dvh - 154px);
  overflow: hidden;
  background: var(--navy);
  border: 1px solid rgba(16, 32, 51, .16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-tools {
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 650px;
}

.map-stat {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(10, 26, 45, .78);
  color: #fff;
  backdrop-filter: blur(10px);
}

.map-stat div {
  padding: 13px 16px;
}

.map-stat strong {
  display: block;
  font-family: var(--mono);
  font-size: 20px;
}

.map-stat span {
  color: rgba(255, 255, 255, .64);
  font-size: 12px;
}

.sala-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
}

.timeline-surface,
.motor-grid,
.pipeline,
.table-grid {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.timeline-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 16px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline-track div {
  min-height: 122px;
  padding: 16px;
  background: #fff;
}

.timeline-track strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 24px;
}

.motor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  overflow: hidden;
  background: var(--line);
}

.motor {
  min-height: 112px;
  padding: 14px;
  background: #fff;
}

.motor strong {
  display: block;
  margin-bottom: 10px;
}

.motor span {
  color: var(--muted);
  font-size: 12px;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  padding: 0;
  overflow: hidden;
  background: var(--line);
}

.pipe-stage {
  padding: 16px;
  background: #fff;
}

.pipe-stage strong {
  display: block;
  font-family: var(--mono);
  font-size: 28px;
}

.pipe-stage span {
  color: var(--muted);
  font-size: 12px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th,
.data-table td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.data-table th {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.copilot-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.copilot-panel h2 {
  margin: 0;
  font-size: 23px;
}

.copilot-action {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.copilot-action strong {
  display: block;
  margin-bottom: 6px;
}

.copilot-action span {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.proposal-hero {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #16453a);
}

.proposal-hero h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: .98;
  letter-spacing: -.04em;
}

.proposal-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.proposal-section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.proposal-section h3 {
  margin: 0 0 8px;
}

.proposal-section p {
  margin: 0;
  color: var(--muted);
}

.asset-grid,
.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.asset-tile,
.badge-tile,
.role-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.asset-tile i,
.badge-tile i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  color: var(--green);
  background: var(--green-2);
  border-radius: 999px;
}

.asset-tile strong,
.badge-tile strong,
.role-card strong {
  display: block;
  margin-bottom: 6px;
}

.asset-tile span,
.badge-tile span,
.role-card span {
  color: var(--muted);
  font-size: 13px;
}

.profile-score {
  display: grid;
  gap: 12px;
  padding: 20px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
}

.profile-score strong {
  font-family: var(--mono);
  font-size: 54px;
  line-height: 1;
}

.adopt-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: min(380px, calc(100vw - 36px));
  padding: 13px 15px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.empty-state {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 32px;
}

.empty-state i {
  font-size: 34px;
  color: var(--green);
}

.empty-state h2,
.empty-state p {
  margin: 0;
}

.empty-state p {
  color: var(--muted);
}

.loading-skeleton {
  display: grid;
  gap: 12px;
}

.loading-skeleton span {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #eef2ed, #fbfaf6, #eef2ed);
  background-size: 220% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

@keyframes shimmer {
  from { background-position: 0 0; }
  to { background-position: -220% 0; }
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .rail {
    position: static;
    height: auto;
    padding: 14px 18px;
  }

  .brand-lockup,
  .main-nav {
    max-width: 100%;
  }

  .main-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .main-nav a {
    flex: 0 0 auto;
  }

  .rail-card,
  .rail-stats {
    display: none;
  }

  .home-grid,
  .sala-grid,
  .wizard-layout,
  .detail-layout,
  .adopt-layout,
  .profile-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .screen-root {
    padding: 18px;
  }

  .composer-footer,
  .feed-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .feed-item {
    grid-template-columns: 1fr;
  }

  .affect-button {
    grid-template-columns: auto auto auto;
    justify-content: start;
    align-items: center;
  }

  .ai-flow,
  .form-grid,
  .proposal-sections,
  .asset-grid,
  .badge-grid,
  .adopt-roles,
  .motor-grid,
  .pipeline,
  .timeline-track,
  .map-stat {
    grid-template-columns: 1fr;
  }

  .big-map {
    min-height: 520px;
  }
}
