@font-face {
  font-family: Inter;
  src: local('Inter');
}
* {
  box-sizing: border-box;
}
:root {
  --bg: #f6f7f3;
  --paper: #fff;
  --ink: #24362d;
  --muted: #56665a;
  --faint: #8c978d;
  --green: #2d5c46;
  --soft: #eaf0e7;
  --line: #e5e9e1;
  --radius: 16px;
  --shadow: 0 3px 18px #26382c05;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.6 Inter,
    'Segoe UI',
    Arial,
    sans-serif;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #91af62;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -1px;
  line-height: 1.25;
}
h2 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 15px;
  font-weight: 650;
}
button {
  border: 0;
  background: none;
}
svg {
  vertical-align: middle;
}
.icon {
  flex-shrink: 0;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: var(--muted);
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.primary {
  color: white;
  background: var(--green);
}
.primary:hover {
  background: #214d39;
}
.secondary {
  background: var(--soft);
  color: var(--green);
}
.outline {
  background: white;
  border: 1px solid var(--line);
}
.danger {
  color: #9d382f;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  color: var(--muted);
}
.icon-button:hover {
  background: var(--soft);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1.2px;
}
.brand-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  background: var(--green);
  color: var(--bg);
  border-radius: 12px;
  font-size: 32px;
  font-weight: 650;
  line-height: 1;
  padding-bottom: 6px;
}
.brand-icon:after {
  content: '';
  width: 6px;
  height: 6px;
  background: #c9dea4;
  border-radius: 50%;
  position: absolute;
  right: 7px;
  top: 6px;
}
.avatar {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: #425349;
  background: #dce8dc;
  overflow: hidden;
  object-fit: cover;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar.small-avatar {
  width: 32px;
  height: 32px;
  font-size: 11px;
}
.avatar.large-avatar {
  width: 76px;
  height: 76px;
  font-size: 24px;
  border: 4px solid white;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  background: var(--green);
  color: white;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.initial-loading {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  height: 100vh;
}
.app-layout {
  max-width: 1460px;
  margin: auto;
  display: grid;
  grid-template-columns: 243px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 33px 25px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.sidebar .brand {
  margin-left: 5px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 47px;
  padding: 11px 15px;
  border-radius: 10px;
  font-weight: 500;
  color: var(--muted);
}
.nav-link:hover {
  background: #eef1e9;
}
.nav-link.active {
  color: var(--green);
  background: #e5eddf;
  font-weight: 650;
}
.nav-link .badge {
  margin-left: auto;
  background: var(--green);
  color: white;
  font-size: 10px;
  border-radius: 5px;
  padding: 0 5px;
}
.side-compose {
  width: 100%;
  margin-top: 23px;
  min-height: 45px;
}
.sidebar-note {
  margin-top: auto;
  background: #edf1e6;
  padding: 16px;
  border-radius: 12px;
}
.sidebar-note .icon {
  color: #769151;
  margin-bottom: 7px;
}
.sidebar-note p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 4px;
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 3px;
}
.account-info {
  flex: 1;
  min-width: 0;
}
.account-info strong {
  font-size: 12px;
  display: block;
}
.account-info span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.workspace {
  min-width: 0;
}
.topbar {
  height: 88px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  background: #fafbf8;
}
.topbar-title {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.3px;
}
.topbar-subtitle {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  margin-top: 1px;
}
.search {
  width: 283px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #eff2eb;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0 12px;
  height: 39px;
  color: var(--muted);
}
.search:focus-within {
  border-color: #afc39d;
}
.search input {
  width: 100%;
  background: none;
  border: 0;
  outline: none;
  color: var(--ink);
  font-size: 12px;
  min-width: 0;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}
.topbar-actions .notification {
  position: relative;
}
.notification.has-notification:after {
  content: '';
  height: 6px;
  width: 6px;
  position: absolute;
  top: 6px;
  right: 7px;
  border-radius: 50%;
  background: #d99b5c;
  border: 2px solid var(--bg);
}
.content-layout {
  padding: 30px 34px 40px;
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(220px, 282px);
  gap: 28px;
  max-width: 1090px;
  margin: auto;
  align-items: start;
}
#main {
  min-width: 0;
}
.rightbar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.welcome {
  position: relative;
  overflow: hidden;
  background: #e7eedf;
  border: 1px solid #dfe7d8;
  padding: 26px 25px;
  border-radius: var(--radius);
  margin-bottom: 23px;
  min-height: 153px;
}
.welcome .eyebrow {
  color: #53664c;
  font-size: 9px;
  letter-spacing: 1.5px;
}
.welcome h1 {
  font-size: 25px;
  letter-spacing: -0.8px;
  margin: 9px 0 8px;
  position: relative;
  z-index: 1;
  max-width: 80%;
}
.welcome p {
  color: #56694f;
  font-size: 12px;
  max-width: 79%;
  position: relative;
  z-index: 1;
}
.welcome-art {
  position: absolute;
  right: -15px;
  bottom: -35px;
  width: 170px;
  height: 165px;
  transform: rotate(-20deg);
}
.welcome-art:before,
.welcome-art:after {
  content: '';
  position: absolute;
  border: 1px solid #bacaab;
  border-radius: 60% 0 60% 0;
  transform: rotate(-20deg);
  background: #d4dfc9;
}
.welcome-art:before {
  width: 90px;
  height: 155px;
  left: 35px;
  top: 0;
}
.welcome-art:after {
  width: 73px;
  height: 120px;
  left: 89px;
  top: 35px;
  background: #c4d2b6;
  transform: rotate(32deg);
}
.composer {
  padding: 19px 20px 14px;
  margin-bottom: 24px;
}
.composer-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.composer textarea {
  resize: vertical;
  min-height: 61px;
  max-height: 250px;
  border: 0;
  background: none;
  width: 100%;
  outline: 0;
  line-height: 1.7;
  padding: 9px 0 0;
  font-size: 13px;
}
.composer textarea::placeholder {
  color: #8b9589;
}
.composer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.composer-tools {
  display: flex;
  align-items: center;
  gap: 13px;
}
.tool-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
  padding: 7px 0;
}
.tool-btn .icon {
  width: 17px;
  height: 17px;
  color: #668756;
}
.composer .primary {
  min-height: 34px;
  padding: 6px 18px;
  font-size: 11px;
}
.char-count {
  color: var(--muted);
  font-size: 10px;
}
.image-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  padding-top: 13px;
}
.image-fields[hidden] {
  display: none;
}
.form-input {
  border: 1px solid #dbe2d7;
  width: 100%;
  background: #fafbf8;
  border-radius: 9px;
  padding: 11px 12px;
  font-size: 13px;
  color: var(--ink);
}
.form-input::placeholder {
  color: #788274;
}
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.feed-tabs {
  display: flex;
  gap: 23px;
  border-bottom: 1px solid #dfe5d9;
  margin-bottom: 20px;
  align-items: center;
}
.feed-tabs button {
  padding: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
  position: relative;
}
.feed-tabs button.active {
  font-weight: 650;
  color: var(--green);
}
.feed-tabs button.active:after {
  content: '';
  height: 2px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  background: var(--green);
  border-radius: 2px;
}
.feed-tabs .feed-sort {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
  padding-bottom: 12px;
}
.posts {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.post {
  padding: 21px 21px 16px;
}
.post-header {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}
.post-author {
  line-height: 1.4;
  flex: 1;
}
.post-author strong {
  font-size: 12px;
  font-weight: 650;
  display: inline-block;
}
.post-author .handle {
  font-size: 11px;
  margin-left: 6px;
  color: var(--muted);
}
.post-meta {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
}
.post-meta .icon {
  height: 11px;
  width: 11px;
}
.post-content {
  font-size: 13px;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.post-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.94;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 15px;
  background: var(--soft);
}
.post-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 14px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.post-action {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
  padding: 3px 0;
  min-height: 28px;
}
.post-action .icon {
  width: 17px;
  height: 17px;
}
.post-action:hover {
  color: var(--green);
}
.post-action.liked {
  color: #a4545a;
}
.post-action.liked svg {
  fill: #f5e0e2;
}
.post-action.saved {
  color: var(--green);
}
.post-action.saved svg {
  fill: #dce8d4;
}
.post-action.save {
  margin-left: auto;
}
.post .delete-post {
  width: 28px;
  height: 28px;
}
.comment-preview {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.comment {
  display: flex;
  gap: 9px;
  margin-bottom: 10px;
  align-items: flex-start;
}
.comment .bubble {
  background: #f4f6f0;
  padding: 9px 12px;
  border-radius: 0 10px 10px;
  flex: 1;
  font-size: 11px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.comment .bubble strong {
  display: block;
  font-size: 10px;
  margin-bottom: 2px;
}
.comment .bubble p {
  white-space: pre-wrap;
}
.comment-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.comment-form input {
  padding: 8px 12px;
  font-size: 11px;
}
.comment-form button {
  padding: 6px 9px;
  min-height: 33px;
}
.comment-delete {
  width: 25px;
  height: 25px;
}
.comment-delete .icon {
  width: 13px;
  height: 13px;
}
.comments-more {
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  padding: 7px 0;
}
.side-card {
  padding: 20px;
}
.side-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.side-heading h2 {
  font-size: 13px;
  letter-spacing: -0.2px;
}
.side-heading a {
  font-size: 10px;
  color: var(--muted);
}
.person {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0;
}
.person:last-child {
  margin-bottom: 0;
}
.person .avatar {
  width: 36px;
  height: 36px;
  font-size: 12px;
}
.person-info {
  flex: 1;
  line-height: 1.45;
  min-width: 0;
}
.person-info strong {
  font-size: 11px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.person-info span {
  font-size: 10px;
  color: var(--muted);
}
.follow-compact {
  background: #eef3e8;
  color: var(--green);
  border: 1px solid #e1e8d9;
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 10px;
  min-width: 55px;
}
.conversation-link {
  display: block;
  margin-bottom: 15px;
  padding-left: 12px;
  border-left: 2px solid #dce6d2;
}
.conversation-link:last-child {
  margin-bottom: 0;
}
.conversation-link strong {
  display: block;
  font-size: 11px;
}
.conversation-link span {
  font-size: 10px;
  color: var(--muted);
}
.community-card {
  padding: 20px;
  background: #edf1e6;
  border: 1px solid #e1e8d8;
  border-radius: var(--radius);
}
.community-card .eyebrow {
  font-size: 9px;
  letter-spacing: 1.4px;
}
.community-card h2 {
  font-size: 19px;
  line-height: 1.4;
  margin: 10px 0 9px;
  letter-spacing: -0.5px;
}
.community-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.avatar-stack {
  display: flex;
  margin: 16px 0 12px;
  padding-left: 0;
}
.avatar-stack .avatar {
  height: 28px;
  width: 28px;
  border: 2px solid #edf1e6;
  font-size: 9px;
  margin-right: -7px;
}
.community-stat {
  font-size: 10px;
  color: var(--muted);
}
.community-stat b {
  color: var(--ink);
}
.footer {
  font-size: 10px;
  line-height: 2;
  color: var(--muted);
  padding: 0 6px;
}
.footer a {
  margin-right: 12px;
}
.footer a:hover {
  text-decoration: underline;
}
.footer p {
  margin-top: 7px;
}
.page-heading {
  margin-bottom: 23px;
}
.page-heading h1 {
  font-size: 27px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.person-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 257px;
}
.person-card .avatar {
  width: 55px;
  height: 55px;
  font-size: 19px;
  margin-bottom: 13px;
}
.person-card h2 {
  font-size: 14px;
}
.person-card .handle {
  font-size: 11px;
  color: var(--muted);
}
.person-card p {
  font-size: 12px;
  margin: 12px 0 17px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}
.person-card .btn {
  font-size: 11px;
  padding: 7px 12px;
  min-height: 34px;
}
.profile-card {
  overflow: hidden;
  margin-bottom: 22px;
}
.profile-cover {
  height: 117px;
  background: #dce7d2;
  position: relative;
  overflow: hidden;
}
.profile-cover:after {
  content: '';
  position: absolute;
  right: 45px;
  top: -80px;
  width: 200px;
  height: 240px;
  border-radius: 45%;
  border: 28px solid #cbdabb;
  transform: rotate(-28deg);
}
.profile-info {
  padding: 0 24px 23px;
}
.profile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -35px;
  position: relative;
}
.profile-top .btn {
  margin-top: 43px;
  font-size: 11px;
  min-height: 35px;
  padding: 7px 13px;
}
.profile-info h1 {
  font-size: 24px;
  margin-top: 11px;
}
.profile-info .handle {
  font-size: 12px;
  color: var(--muted);
}
.profile-bio {
  font-size: 13px;
  margin: 13px 0;
  white-space: pre-wrap;
}
.profile-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: var(--muted);
  font-size: 11px;
}
.profile-details span,
.profile-details a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.profile-details .icon {
  width: 14px;
  height: 14px;
}
.profile-counts {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  font-size: 11px;
  color: var(--muted);
}
.profile-counts b {
  color: var(--ink);
  margin-right: 4px;
}
.requests-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.request-card {
  padding: 19px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.request-card .person-info {
  flex: 1;
}
.request-actions {
  display: flex;
  gap: 7px;
}
.request-actions .btn {
  padding: 7px 12px;
  min-height: 34px;
  font-size: 11px;
}
.empty {
  padding: 47px 25px;
  text-align: center;
  background: #fff;
  border: 1px dashed #d8e2d0;
  border-radius: 16px;
}
.empty .empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  background: var(--soft);
  border-radius: 50%;
  color: var(--green);
  margin-bottom: 14px;
}
.empty h2 {
  font-size: 17px;
}
.empty p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px auto 19px;
  max-width: 280px;
}
.load-more {
  display: block;
  margin: 23px auto;
}
.loading-card {
  height: 150px;
  background: linear-gradient(110deg, #edf0e8 8%, #fafbf8 18%, #edf0e8 33%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: 16px;
  margin-bottom: 16px;
}
@keyframes shimmer {
  to {
    background-position-x: -200%;
  }
}
.toast {
  position: fixed;
  bottom: 23px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: var(--ink);
  color: white;
  font-size: 12px;
  padding: 12px 22px;
  border-radius: 10px;
  max-width: calc(100vw - 30px);
  box-shadow: 0 8px 40px #1d33222b;
  z-index: 100;
  transition: 0.2s;
  pointer-events: none;
}
.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.error {
  background: #863e37;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  width: min(510px, calc(100vw - 30px));
  padding: 27px;
  color: var(--ink);
  background: white;
  box-shadow: 0 24px 80px #1c32252b;
  max-height: 90vh;
}
dialog::backdrop {
  background: #233a2d6b;
  backdrop-filter: blur(3px);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.modal-header h2 {
  font-size: 21px;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-form textarea {
  resize: vertical;
  min-height: 95px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 6px;
}
.form-error {
  font-size: 12px;
  color: #9d382f;
  min-height: 19px;
}
.form-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.demo-strip {
  font-size: 11px;
  background: #f0ebdd;
  color: #645d49;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid #e5deca;
}
.demo-strip button {
  font-size: 11px;
  text-decoration: underline;
  margin-left: 9px;
  color: #645d49;
}
.mobile-brand {
  display: none;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
.auth-story {
  background: #e7eddf;
  position: relative;
  overflow: hidden;
  padding: 45px 9%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.auth-story .brand {
  font-size: 29px;
}
.auth-story-content {
  margin: auto 0;
  z-index: 1;
  max-width: 430px;
  padding: 70px 0;
}
.auth-story .eyebrow {
  letter-spacing: 2px;
  font-size: 11px;
  margin-bottom: 21px;
}
.auth-story h1 {
  font-size: 59px;
  line-height: 1.12;
  letter-spacing: -2.9px;
  font-weight: 600;
}
.auth-story h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #4a7252;
}
.auth-story-content > p {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.9;
  color: #53664c;
  max-width: 335px;
}
.auth-story .avatar-stack {
  margin-top: 35px;
}
.auth-story .avatar-stack .avatar {
  width: 40px;
  height: 40px;
  border: 3px solid #e7eddf;
  margin-right: -9px;
}
.auth-proof {
  display: flex;
  align-items: center;
  gap: 20px;
}
.auth-proof span {
  font-size: 11px;
  color: var(--muted);
  padding-top: 15px;
}
.auth-story-footer {
  font-size: 10px;
  letter-spacing: 0.2px;
  color: #5b6e51;
  z-index: 1;
}
.auth-plant {
  position: absolute;
  right: -100px;
  bottom: 60px;
  width: 260px;
  height: 360px;
  background: #d4dfc6;
  border: 20px solid #cbd8bb;
  border-radius: 50% 0 50% 0;
  transform: rotate(23deg);
  opacity: 0.65;
}
.auth-form-side {
  display: grid;
  place-items: center;
  padding: 55px 36px;
  background: #fafbf8;
}
.auth-form-container {
  width: 100%;
  max-width: 350px;
}
.auth-form-container .eyebrow {
  margin-bottom: 12px;
  color: #53664c;
  font-size: 10px;
}
.auth-form-container h2 {
  font-size: 29px;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.auth-form-container > p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 27px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.auth-form .btn {
  width: 100%;
  min-height: 45px;
  margin-top: 1px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 10px;
  margin: 22px 0;
}
.auth-divider:before,
.auth-divider:after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--line);
}
.guest-button {
  width: 100%;
  min-height: 46px;
}
.guest-note {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}
.auth-toggle {
  text-align: center;
  font-size: 11px;
  margin-top: 27px;
  color: var(--muted);
}
.auth-toggle button {
  color: var(--green);
  font-weight: 650;
  text-decoration: underline;
  padding: 4px;
}
.auth-bottom {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  margin-top: 38px;
}
.auth-mobile-logo {
  display: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1600px) {
  .app-layout {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
}
@media (max-width: 1200px) {
  .app-layout {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  .sidebar {
    padding: 30px 20px 18px;
  }
  .content-layout {
    padding: 27px 25px;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 235px;
  }
  .topbar {
    padding: 0 27px;
  }
  .side-card {
    padding: 17px;
  }
  .person .avatar {
    width: 31px;
    height: 31px;
  }
  .person {
    gap: 7px;
  }
  .person-info strong {
    font-size: 10px;
  }
  .follow-compact {
    padding: 4px 5px;
    min-width: 48px;
    font-size: 9px;
  }
  .auth-story h1 {
    font-size: 51px;
  }
}
@media (max-width: 1000px) {
  .app-layout {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .content-layout {
    display: block;
    max-width: 730px;
  }
  .rightbar {
    display: none;
  }
  .topbar {
    height: 80px;
  }
  .search {
    width: 235px;
  }
  .sidebar {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand {
    font-size: 23px;
  }
  .auth-story {
    padding: 38px 8%;
  }
  .auth-story h1 {
    font-size: 45px;
  }
  .auth-story-content > p {
    font-size: 13px;
  }
}
@media (max-width: 740px) {
  .app-layout {
    display: block;
    padding-bottom: 75px;
  }
  .sidebar {
    height: auto;
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: #fafbf8;
    display: block;
    padding: 6px 9px max(8px, env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid var(--line);
  }
  .sidebar > .brand,
  .sidebar-note,
  .sidebar > .account,
  .side-compose {
    display: none;
  }
  .nav {
    flex-direction: row;
    justify-content: space-around;
    gap: 0;
  }
  .nav-link {
    flex-direction: column;
    gap: 3px;
    font-size: 9px;
    min-height: 52px;
    min-width: 53px;
    padding: 7px 5px;
    position: relative;
  }
  .nav-link .badge {
    position: absolute;
    right: 6px;
    top: 2px;
  }
  .toast {
    bottom: 90px;
  }
  .topbar {
    height: 73px;
    padding: 0 17px;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fafbf8f5;
    backdrop-filter: blur(12px);
  }
  .topbar-title {
    display: none;
  }
  .mobile-brand {
    display: flex;
    font-size: 22px;
    gap: 8px;
  }
  .mobile-brand .brand-icon {
    height: 32px;
    width: 32px;
    border-radius: 10px;
    font-size: 27px;
  }
  .mobile-brand .brand-icon:after {
    width: 5px;
    height: 5px;
    right: 6px;
    top: 5px;
  }
  .topbar-actions {
    gap: 5px;
  }
  .search {
    width: 170px;
    height: 35px;
    padding: 0 9px;
  }
  .search input {
    font-size: 11px;
  }
  .topbar-actions > .avatar {
    display: none;
  }
  .content-layout {
    padding: 22px 16px;
  }
  .welcome {
    padding: 23px 20px;
    min-height: 143px;
  }
  .welcome h1 {
    font-size: 23px;
  }
  .welcome p {
    max-width: 77%;
    font-size: 11px;
  }
  .welcome-art {
    right: -30px;
    opacity: 0.7;
  }
  .composer {
    padding: 16px;
  }
  .composer textarea {
    font-size: 12px;
  }
  .composer-tools {
    gap: 12px;
  }
  .post {
    padding: 18px 16px 13px;
  }
  .post-content {
    font-size: 12px;
  }
  .post-author .handle {
    font-size: 10px;
    margin-left: 3px;
  }
  .post-author strong {
    font-size: 11px;
  }
  .post-header {
    gap: 9px;
  }
  .post-header > .avatar {
    height: 37px;
    width: 37px;
  }
  .post-actions {
    gap: 20px;
  }
  .people-grid {
    gap: 12px;
  }
  .person-card {
    padding: 18px 15px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-story {
    display: none;
  }
  .auth-form-side {
    min-height: 100vh;
    padding: 30px 25px;
  }
  .auth-mobile-logo {
    display: flex;
    margin-bottom: 42px;
  }
  .auth-form-container h2 {
    font-size: 30px;
  }
  .request-card {
    flex-wrap: wrap;
  }
  .request-actions {
    margin-left: 54px;
  }
  .feed-tabs {
    gap: 21px;
  }
  .demo-strip {
    font-size: 10px;
  }
  .topbar-subtitle {
    display: none;
  }
}
@media (max-width: 390px) {
  .nav-link {
    min-width: 44px;
    padding-inline: 3px;
  }
  .topbar-actions .avatar-link {
    display: none;
  }
  .profile-top .btn {
    padding-inline: 9px;
  }
  .search {
    width: 126px;
  }
  .brand {
    font-size: 20px;
  }
  .topbar {
    padding: 0 12px;
  }
  .content-layout {
    padding: 17px 12px;
  }
  .post-author .handle {
    display: none;
  }
  .composer .char-count {
    display: none;
  }
  .people-grid {
    grid-template-columns: 1fr;
  }
  .welcome h1 {
    font-size: 21px;
  }
  .welcome p {
    max-width: 80%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
