:root {
  --violet: #5b35e8;
  --deep: #3f237f;
  --lilac: #b1a1ed;
  --warm: #f6f2ea;
  --ink: #181522;
  --muted: #6d6878;
  --line: #e6e0f0;
  --surface: #fff;
  --soft-violet: #eeeafe;
  --soft-warm: #fbf9f4;
  --success: #246b52;
  --warning: #8b5e00;
  --shadow: 0 20px 50px rgba(63, 35, 127, 0.12);
  --font-display: "Ubuntu", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--warm);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(91, 53, 232, 0.28);
  outline-offset: 2px;
}

.demo-banner {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  background: var(--deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-shell {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding-top: 28px;
  display: grid;
  grid-template-columns: 250px minmax(520px, 690px) 310px;
  gap: 28px;
}

.left-rail,
.right-rail {
  position: sticky;
  top: 28px;
  align-self: start;
  height: calc(100vh - 28px);
}

.left-rail {
  padding: 28px 18px 22px 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(63, 35, 127, 0.1);
}

.brand-button,
.mobile-brand {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand-button {
  width: 164px;
  height: 62px;
  margin: 0 0 24px 6px;
  overflow: hidden;
}

.brand-button img,
.mobile-brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.main-nav {
  display: grid;
  gap: 5px;
}

.nav-item {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-item:hover {
  color: var(--deep);
  background: rgba(177, 161, 237, 0.18);
  transform: translateX(2px);
}

.nav-item.is-active {
  color: var(--deep);
  background: var(--soft-violet);
}

.nav-symbol {
  width: 24px;
  display: inline-grid;
  place-items: center;
  color: currentColor;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.nav-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--violet);
  font-size: 11px;
}

.primary-button,
.secondary-button,
.ghost-button,
.text-button {
  border: 0;
  cursor: pointer;
}

.primary-button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  color: #fff;
  background: var(--violet);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(91, 53, 232, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button:hover {
  background: var(--deep);
  box-shadow: 0 12px 28px rgba(63, 35, 127, 0.24);
  transform: translateY(-1px);
}

.secondary-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--deep);
  background: #fff;
  font-weight: 700;
}

.ghost-button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-weight: 600;
}

.ghost-button:hover,
.ghost-button.is-active {
  color: var(--deep);
  background: var(--soft-violet);
}

.text-button {
  padding: 0;
  color: var(--violet);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.publish-button {
  margin: 22px 8px 0;
}

.profile-switcher {
  margin-top: auto;
  padding: 10px 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.profile-switcher:hover {
  background: rgba(255, 255, 255, 0.55);
}

.profile-switcher-copy {
  display: grid;
}

.profile-switcher-copy small {
  color: var(--muted);
}

.avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--deep);
  background: var(--soft-violet);
  font-family: var(--font-display);
  font-weight: 700;
}

.avatar-leandro {
  color: #fff;
  background: var(--deep);
}

.avatar.amanda { background: #d9f0e6; color: #205c46; }
.avatar.rafael { background: #fde9c9; color: #86550d; }
.avatar.marina { background: #eeeafe; color: var(--deep); }
.avatar.carlos { background: #e2eefc; color: #28588e; }
.avatar.luisa { background: #f8dfe8; color: #8a3150; }
.avatar.joao { background: #dfefcf; color: #3f6523; }

.main-content {
  min-width: 0;
  padding: 38px 0 110px;
}

.view-header {
  margin: 0 4px 24px;
}

.view-header h1 {
  max-width: 650px;
  margin: 4px 0 4px;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.view-header p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.eyebrow {
  display: block;
  color: var(--violet);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.composer {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 30px rgba(63, 35, 127, 0.05);
}

.composer-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.composer-trigger {
  min-height: 44px;
  flex: 1;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.composer-types {
  margin: 13px 0 0 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.composer-types button,
.filter-chip,
.type-option {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--soft-warm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.composer-types button:hover,
.filter-chip:hover,
.filter-chip.is-active,
.type-option.is-selected {
  color: var(--deep);
  border-color: var(--lilac);
  background: var(--soft-violet);
}

.feed-divider {
  margin: 24px 4px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feed-divider h2,
.section-title {
  margin: 0;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 20px;
}

.feed-divider button {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.feed-list {
  display: grid;
  gap: 14px;
}

.post-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(24, 21, 34, 0.035);
}

.post-reason {
  margin: -2px 0 13px 50px;
  color: var(--muted);
  font-size: 11px;
}

.post-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: start;
}

.post-author {
  display: grid;
  gap: 1px;
}

.post-author button {
  width: max-content;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.post-author small {
  color: var(--muted);
  font-size: 11px;
}

.post-menu {
  padding: 0 4px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.post-body {
  margin-left: 49px;
}

.content-badge {
  margin: 14px 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--violet);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.content-badge.opportunity { color: #2e6b4c; }
.content-badge.event { color: #8b5e00; }
.content-badge.challenge { color: #a33d64; }

.post-body h3 {
  margin: 0 0 7px;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
}

.post-body p {
  margin: 0 0 12px;
  color: #3e3948;
}

.post-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.tag {
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--deep);
  background: var(--soft-violet);
  font-weight: 600;
}

.post-actions {
  margin: 15px 0 0 49px;
  padding-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #f0ecf5;
}

.action-group {
  display: flex;
  gap: 3px;
}

.post-action {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.post-action:hover,
.post-action.is-active {
  color: var(--violet);
  background: var(--soft-violet);
}

.post-action.is-active {
  font-weight: 800;
}

.structured-strip {
  margin: 12px 0;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-left: 3px solid var(--lilac);
  border-radius: 0 10px 10px 0;
  background: var(--soft-warm);
}

.structured-strip div {
  display: grid;
  gap: 1px;
}

.structured-strip small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.structured-strip strong {
  color: var(--deep);
  font-size: 12px;
}

.right-rail {
  padding: 40px 26px 24px 0;
  overflow: auto;
}

.side-section {
  padding: 17px 0;
  border-bottom: 1px solid rgba(63, 35, 127, 0.12);
}

.side-section:first-child {
  padding-top: 0;
}

.section-heading-row {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.section-heading-row h2 {
  margin: 0;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 16px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e4597d;
  box-shadow: 0 0 0 5px rgba(228, 89, 125, 0.13);
}

.live-item {
  width: 100%;
  padding: 11px 0;
  display: grid;
  gap: 3px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.live-item + .live-item {
  border-top: 1px solid rgba(63, 35, 127, 0.08);
}

.live-item:hover strong {
  color: var(--violet);
}

.live-item strong {
  color: var(--deep);
  font-size: 13px;
  line-height: 1.3;
}

.live-item small {
  color: var(--muted);
  font-size: 11px;
}

.live-time {
  color: var(--violet);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.person-row {
  padding: 9px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.person-row-copy {
  min-width: 0;
  display: grid;
}

.person-row-copy strong {
  color: var(--deep);
  font-size: 12px;
}

.person-row-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-row .mini-button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--lilac);
  border-radius: 9px;
  color: var(--violet);
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.founder-note {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid rgba(177, 161, 237, 0.55);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.founder-note p {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 11px;
}

.app-footer {
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
}

.search-panel {
  padding: 5px 0 18px;
}

.search-box {
  min-height: 54px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(63, 35, 127, 0.05);
}

.search-box span {
  color: var(--violet);
  font-size: 22px;
}

.search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.search-box kbd {
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--soft-warm);
  font-family: var(--font-body);
  font-size: 10px;
}

.filter-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.result-section {
  margin-top: 24px;
}

.result-section > header {
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.result-section > header span {
  color: var(--muted);
  font-size: 11px;
}

.people-list,
.ecosystem-list,
.opportunity-list,
.event-list,
.connection-list {
  display: grid;
  gap: 10px;
}

.person-result,
.ecosystem-row,
.opportunity-row,
.event-row,
.connection-row {
  padding: 16px;
  display: grid;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.person-result {
  grid-template-columns: auto 1fr auto;
}

.person-result h3,
.ecosystem-row h3,
.opportunity-row h3,
.event-row h3,
.connection-row h3 {
  margin: 0;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 16px;
}

.person-result p,
.ecosystem-row p,
.opportunity-row p,
.event-row p,
.connection-row p {
  margin: 3px 0 8px;
  color: var(--muted);
  font-size: 12px;
}

.ecosystem-row {
  grid-template-columns: 58px 1fr auto;
}

.ecosystem-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--deep);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.ecosystem-mark.alt { background: var(--violet); }
.ecosystem-mark.green { background: #246b52; }

.opportunity-row,
.event-row {
  grid-template-columns: 110px 1fr auto;
}

.date-block,
.opportunity-kind {
  min-height: 72px;
  padding: 10px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 12px;
  color: var(--deep);
  background: var(--soft-violet);
  text-align: center;
}

.date-block strong {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.date-block small,
.opportunity-kind small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.opportunity-kind {
  color: #246b52;
  background: #e5f1eb;
  font-weight: 700;
}

.connection-row {
  grid-template-columns: auto 1fr auto;
}

.connection-state {
  color: var(--warning);
  font-size: 11px;
  font-weight: 700;
}

.empty-state {
  padding: 55px 30px;
  border: 1px dashed var(--lilac);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.empty-state strong {
  display: block;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 21px;
}

.empty-state p {
  max-width: 430px;
  margin: 8px auto 18px;
  color: var(--muted);
}

.profile-hero {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.profile-cover {
  height: 154px;
  position: relative;
  background: var(--deep);
}

.profile-cover::before,
.profile-cover::after {
  content: "";
  position: absolute;
  border: 5px solid var(--lilac);
  border-bottom: 0;
  border-radius: 80px 80px 0 0;
  opacity: 0.8;
}

.profile-cover::before {
  width: 120px;
  height: 70px;
  right: 72px;
  bottom: -8px;
}

.profile-cover::after {
  width: 72px;
  height: 42px;
  right: 24px;
  bottom: -6px;
}

.profile-info {
  padding: 0 22px 22px;
}

.profile-info-top {
  margin-top: -34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.profile-info .avatar {
  width: 78px;
  height: 78px;
  border: 5px solid #fff;
  font-size: 28px;
}

.profile-info h1 {
  margin: 14px 0 2px;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 27px;
}

.profile-info p {
  margin: 0;
  color: var(--muted);
}

.profile-stats {
  margin-top: 17px;
  padding-top: 15px;
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.profile-stats span {
  display: grid;
  color: var(--muted);
  font-size: 11px;
}

.profile-stats strong {
  color: var(--deep);
  font-size: 16px;
}

.profile-section {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.profile-section h2 {
  margin: 0 0 12px;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 18px;
}

.profile-section p {
  color: #3e3948;
}

.dialog {
  width: min(630px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: var(--shadow);
}

.dialog::backdrop {
  background: rgba(24, 21, 34, 0.5);
  backdrop-filter: blur(5px);
}

.dialog-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--warm);
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dialog-header h2 {
  margin: 5px 0 0;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 24px;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.65);
  font-size: 22px;
  cursor: pointer;
}

.type-picker {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.field-label {
  margin-top: 14px;
  display: grid;
  gap: 6px;
  color: var(--deep);
  font-size: 12px;
  font-weight: 700;
}

.field-label input,
.field-label textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  resize: vertical;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dialog-actions {
  margin-top: 20px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
}

.dialog-actions > div {
  display: flex;
  gap: 8px;
}

.dialog-actions small,
.privacy-note {
  color: var(--muted);
  font-size: 11px;
}

.connection-person {
  margin: 18px 0;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.connection-person span:not(.avatar) {
  display: grid;
}

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

.toast {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: 28px;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--deep);
  box-shadow: var(--shadow);
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mobile-header,
.mobile-nav {
  display: none;
}

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: 230px minmax(500px, 680px);
    justify-content: center;
  }

  .right-rail {
    display: none;
  }
}

@media (max-width: 790px) {
  body {
    padding-bottom: 76px;
  }

  .demo-banner {
    font-size: 9px;
  }

  .mobile-header {
    position: sticky;
    z-index: 80;
    top: 28px;
    height: 58px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    background: rgba(246, 242, 234, 0.94);
    backdrop-filter: blur(12px);
  }

  .mobile-brand {
    width: 116px;
    height: 44px;
    justify-self: center;
    overflow: hidden;
  }

  .mobile-header .avatar {
    width: 36px;
    height: 36px;
    cursor: pointer;
  }

  .app-shell {
    min-height: auto;
    padding: 0;
    display: block;
  }

  .left-rail {
    position: fixed;
    z-index: 120;
    top: 28px;
    left: 0;
    bottom: 0;
    width: 280px;
    height: auto;
    padding: 24px 20px;
    background: var(--warm);
    box-shadow: var(--shadow);
    transform: translateX(-110%);
    transition: transform 200ms ease;
  }

  body.menu-open .left-rail {
    transform: translateX(0);
  }

  body.menu-open::after {
    content: "";
    position: fixed;
    z-index: 110;
    inset: 28px 0 0;
    background: rgba(24, 21, 34, 0.32);
  }

  .main-content {
    width: min(100% - 24px, 690px);
    margin: 0 auto;
    padding: 28px 0 48px;
  }

  .right-rail {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    z-index: 90;
    left: 12px;
    right: 12px;
    bottom: 10px;
    min-height: 60px;
    padding: 7px 10px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 35px rgba(63, 35, 127, 0.17);
    backdrop-filter: blur(14px);
  }

  .mobile-nav button {
    min-height: 46px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    border: 0;
    border-radius: 12px;
    color: var(--muted);
    background: transparent;
    font-family: var(--font-display);
    font-size: 19px;
  }

  .mobile-nav button.is-active {
    color: var(--violet);
    background: var(--soft-violet);
  }

  .mobile-nav small {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;
  }

  .mobile-nav .mobile-publish {
    width: 46px;
    height: 46px;
    justify-self: center;
    border-radius: 50%;
    color: #fff;
    background: var(--violet);
    font-size: 27px;
    box-shadow: 0 9px 22px rgba(91, 53, 232, 0.26);
  }

  .view-header h1 {
    font-size: 33px;
  }

  .post-body,
  .post-actions {
    margin-left: 0;
  }

  .post-reason {
    margin-left: 0;
  }

  .structured-strip {
    grid-template-columns: 1fr;
  }

  .opportunity-row,
  .event-row {
    grid-template-columns: 82px 1fr;
  }

  .opportunity-row > :last-child,
  .event-row > :last-child {
    grid-column: 1 / -1;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 470px) {
  .composer-types {
    margin-left: 0;
  }

  .post-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .person-result,
  .ecosystem-row,
  .connection-row {
    grid-template-columns: auto 1fr;
  }

  .person-result > :last-child,
  .ecosystem-row > :last-child,
  .connection-row > :last-child {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .dialog-card {
    padding: 18px;
  }

  .dialog-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dialog-actions > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
