:root {
  font-family:"Segoe UI",Helvetica,Arial,sans-serif;
  color:#111b21;
  background:#e3e7e9;
  font-synthesis:none;
  --green:#008069;
  --muted:#667781;
  --line:#e9edef;
  --panel:#f0f2f5}
* {
  box-sizing:border-box}
body {
  margin:0;
  min-width:320px;
  height:100dvh;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:20px 24px 0}
body:before {
  content:"";
  position:fixed;
  inset:0 0 auto;
  height:126px;
  background:#00a884;
  z-index:-1}
[hidden] {
  display:none!important}
button,input {
  font:inherit}
button {
  cursor:pointer;
  border:0;
  background:none;
  color:inherit}
button:disabled {
  cursor:not-allowed;
  opacity:.5}
button:focus-visible,a:focus-visible {
  outline:2px solid var(--green);
  outline-offset:3px}
input:focus-visible {
  outline:2px solid var(--green);
  outline-offset:2px}
input {
  min-width:0}
.icon {
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0}
.icon-definitions {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden}
.icon-button,.rail-button {
  width:44px;
  height:44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex-shrink:0;
  color:#54656f}
.icon-button:hover,.rail-button:hover {
  background:#e4e7eb}
.app {
  display:grid;
  grid-template-columns:64px minmax(300px,370px) minmax(0,1fr);
  width:100%;
  max-width:1600px;
  flex:1;
  min-height:0;
  overflow:hidden;
  background:white;
  box-shadow:0 6px 28px #0b141a26}
.rail {
  background:var(--panel);
  border-right:1px solid #d9dfe2;
  display:flex;
  align-items:center;
  flex-direction:column;
  gap:12px;
  padding:14px 8px}
.rail-button[aria-pressed=true] {
  background:#d9dbdf;
  color:#111b21}
.rail-spacer {
  flex:1}
.account-avatar {
  display:grid;
  place-items:center;
  background:#d5e8dc;
  color:#326b55;
  border:2px solid white;
  width:36px;
  height:36px;
  border-radius:50%;
  font-size:15px;
  font-weight:600;
  margin:3px 0}
.sidebar {
  min-width:0;
  display:flex;
  flex-direction:column;
  border-right:1px solid #d9dfe2;
  background:white}
.sidebar-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 20px 8px}
.sidebar-header h1 {
  font-size:23px;
  letter-spacing:-.6px;
  margin:0;
  font-weight:650}
.sidebar-header .icon-button {
  width:40px;
  height:40px}
.search-box {
  margin:4px 14px 10px;
  display:flex;
  align-items:center;
  gap:22px;
  background:var(--panel);
  border-radius:8px;
  height:37px;
  padding:0 14px;
  color:var(--muted)}
.search-box .icon {
  width:18px;
  height:18px}
.search-box input {
  background:none;
  border:0;
  font-size:13px;
  width:100%;
  height:100%;
  color:#111b21}
.search-box:focus-within {
  box-shadow:inset 0 -2px var(--green)}
.search-box input:focus {
  outline:none}
.search-box input::placeholder {
  color:var(--muted)}
.filters {
  display:flex;
  gap:8px;
  padding:0 14px 10px}
.filters button {
  background:var(--panel);
  color:#54656f;
  padding:7px 13px;
  border-radius:18px;
  font-size:14px}
.filters button[aria-pressed=true] {
  background:#d9fdd3;
  color:#008069}
.chat-status {
  font-size:12px;
  color:var(--muted);
  padding:9px 20px 11px;
  margin:0;
  border-bottom:1px solid var(--line);
  min-height:35px;
  line-height:1.4}
.chat-status:empty {
  display:none}
.chat-list {
  list-style:none;
  padding:0;
  margin:0;
  flex:1;
  min-height:0;
  overflow-y:auto}
.chat-list li {
  margin:0}
.chat-row {
  width:100%;
  display:flex;
  align-items:center;
  gap:13px;
  padding:0 14px;
  text-align:left;
  min-height:82px}
.chat-row:hover {
  background:#f5f6f6}
.chat-row[aria-pressed=true] {
  background:#f0f2f5}
.avatar {
  width:49px;
  height:49px;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex-shrink:0;
  background:#dfe7e9;
  color:#607883;
  font-size:18px;
  font-weight:500}
.avatar[data-tone="1"] {
  background:#e4e2f2;
  color:#7c739e}
.avatar[data-tone="2"] {
  background:#fae4d5;
  color:#b58161}
.avatar[data-tone="3"] {
  background:#dceae2;
  color:#608570}
.chat-copy {
  flex:1;
  min-width:0;
  align-self:stretch;
  border-bottom:1px solid var(--line);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:7px;
  padding:14px 0}
.chat-row-top,.chat-row-bottom {
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:space-between;
  min-width:0}
.chat-name {
  font-size:16px;
  font-weight:400;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap}
.chat-row.has-unread .chat-name {
  font-weight:600}
.chat-time {
  font-size:11px;
  white-space:nowrap;
  color:var(--muted)}
.chat-row.has-unread .chat-time {
  color:var(--green)}
.chat-preview {
  color:var(--muted);
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  line-height:18px}
.unread-badge {
  border-radius:12px;
  min-width:20px;
  height:20px;
  padding:1px 6px;
  background:#25d366;
  color:#103b28;
  font-size:11px;
  display:grid;
  place-items:center;
  flex-shrink:0}
.sidebar-foot {
  font-size:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin:0;
  padding:17px 12px;
  border-top:1px solid var(--line);
  color:var(--muted)}
.sidebar-foot .icon {
  width:12px;
  height:12px}
.view-description {
  padding:8px 24px;
  color:var(--muted);
  font-size:14px;
  line-height:1.7}
.chat-view {
  position:relative;
  min-width:0;
  min-height:0;
  background:#efeae2;
  display:flex;
  flex-direction:column}
.welcome {
  position:relative;
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:32px;
  background:#f0f2f5;
  border-bottom:6px solid #25d366}
.welcome h2 {
  font-size:30px;
  font-weight:300;
  letter-spacing:-.6px;
  margin:32px 0 12px;
  color:#41525d}
.welcome p {
  font-size:14px;
  color:var(--muted);
  line-height:1.7;
  margin:0}
.welcome-foot {
  position:absolute;
  bottom:38px;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:#8696a0}
.welcome-foot .icon {
  width:16px;
  height:16px}
.welcome-art {
  position:relative;
  width:270px;
  height:168px}
.desktop-drawing {
  width:204px;
  height:132px;
  border:5px solid #a8b6ba;
  border-radius:9px;
  position:absolute;
  left:20px;
  top:8px;
  background:#e6eceb;
  box-shadow:inset 0 0 0 5px #f7faf9;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px}
.desktop-drawing:after {
  content:"";
  position:absolute;
  width:248px;
  height:10px;
  background:#c1cbcd;
  top:126px;
  border-radius:0 0 12px 12px}
.desktop-drawing svg {
  width:46px;
  height:46px;
  fill:none;
  stroke:#00a884;
  stroke-width:1.3;
  stroke-linecap:round;
  stroke-linejoin:round;
  margin-bottom:5px}
.desktop-drawing span {
  height:4px;
  width:58px;
  background:#c5d9d2;
  border-radius:4px}
.desktop-drawing span:last-child {
  width:38px}
.phone-drawing {
  position:absolute;
  width:54px;
  height:97px;
  background:#e9f6f0;
  border:4px solid #7c9694;
  border-radius:9px;
  right:15px;
  bottom:5px;
  transform:rotate(8deg);
  padding:22px 6px}
.phone-drawing span {
  display:block;
  width:28px;
  height:13px;
  background:#b9e8d1;
  border-radius:4px;
  margin:6px 0}
.phone-drawing span:last-child {
  width:21px;
  background:white}
.art-dot {
  position:absolute;
  border-radius:50%;
  background:#d3e7df}
.dot-one {
  width:14px;
  height:14px;
  left:-18px;
  top:40px}
.dot-two {
  width:8px;
  height:8px;
  right:-10px;
  top:65px}
.conversation {
  display:flex;
  flex:1;
  min-height:0;
  flex-direction:column}
.conversation-header {
  height:64px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 20px;
  background:var(--panel);
  border-bottom:1px solid #d9dfe2;
  z-index:1}
.conversation-header .avatar {
  width:40px;
  height:40px;
  font-size:16px}
.conversation-heading {
  min-width:0;
  flex:1}
.conversation-heading h2 {
  font-size:16px;
  font-weight:500;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  margin:0 0 4px}
.conversation-heading p {
  font-size:12px;
  color:var(--muted);
  margin:0}
.read-only-label {
  font-size:11px;
  color:#667781;
  border:1px solid #d6dcdf;
  border-radius:6px;
  padding:4px 7px;
  white-space:nowrap}
.mobile-back {
  display:none}
.message-area {
  position:relative;
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column}
.wallpaper {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  color:#aea89d;
  opacity:.18;
  pointer-events:none}
.history-toolbar {
  z-index:1;
  display:flex;
  justify-content:center}
.older-button {
  font-size:12px;
  background:#fff;
  border-radius:16px;
  padding:8px 16px;
  margin:14px 0 0;
  box-shadow:0 1px 2px #0b141a20;
  color:var(--green)}
.messages {
  list-style:none;
  position:relative;
  margin:0;
  padding:22px clamp(18px,5vw,76px);
  flex:1;
  min-height:0;
  overflow-y:auto;
  display:flex;
  flex-direction:column;
  gap:7px;
  scrollbar-gutter:stable}
.messages .message {
  max-width:78%;
  align-self:flex-start;
  border-radius:0 8px 8px 8px;
  background:white;
  padding:7px 9px 5px;
  position:relative;
  box-shadow:0 1px 1px #0b141a25;
  font-size:14px;
  line-height:1.5;
  min-width:86px}
.messages .message:before {
  content:"";
  position:absolute;
  left:-7px;
  top:0;
  border-top:8px solid white;
  border-left:8px solid transparent}
.messages .message.outgoing {
  align-self:flex-end;
  background:#d9fdd3;
  border-radius:8px 0 8px 8px}
.messages .message.outgoing:before {
  left:auto;
  right:-7px;
  border-left:0;
  border-right:8px solid transparent;
  border-top-color:#d9fdd3}
.message-kind {
  display:block;
  font-size:11px;
  font-weight:600;
  color:#008069;
  border-bottom:1px solid #e9edef;
  padding-bottom:5px;
  margin-bottom:5px
}
.message-text {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  display:block}
.message time {
  display:block;
  text-align:right;
  font-size:10px;
  color:#667781;
  line-height:1.3;
  margin:4px 0 0 24px}
.messages .day-divider {
  align-self:center;
  background:#fffdf7;
  padding:6px 12px;
  border-radius:7px;
  box-shadow:0 1px 2px #0b141a12;
  color:#54656f;
  font-size:11px;
  text-transform:uppercase;
  margin:8px 0 12px}
.composer {
  display:flex;
  align-items:center;
  gap:16px;
  background:var(--panel);
  min-height:68px;
  padding:10px 20px;
  color:#7c8a91;
  z-index:1}
.composer-input {
  display:flex;
  align-items:center;
  gap:14px;
  background:white;
  border-radius:9px;
  min-height:45px;
  flex:1;
  padding:0 13px;
  min-width:0}
.composer-input input {
  border:0;
  background:none;
  width:100%;
  font-size:14px;
  color:var(--muted);
  padding:8px 0}
.composer-input input::placeholder {
  color:#667781;
  opacity:1}
.send-button {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  flex-shrink:0;
  color:var(--green)}
.connection-bar {
  width:100%;
  max-width:1600px;
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#54656f;
  padding:6px 12px;
  font-size:11px;
  flex-shrink:0}
.connection-bar p {
  margin:0;
  line-height:1.4}
.connection-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#8696a0;
  flex-shrink:0}
.connection-bar[data-state="connected"] .connection-dot {
  background:#00a884}
.connection-bar[data-state="failed"] .connection-dot,.connection-bar[data-state="rejected"] .connection-dot {
  background:#bb5f42}
#retry {
  color:var(--green);
  font-size:11px;
  font-weight:600;
  text-decoration:underline;
  padding:3px 6px}
.login-screen {
  width:min(960px,100%);
  margin:auto}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  color:white;
  text-decoration:none;
  font-size:22px;
  font-weight:600;
  margin-bottom:28px;
  width:fit-content}
.brand-mark {
  display:grid;
  place-items:center;
  border:2px solid white;
  width:38px;
  height:38px;
  border-radius:50%}
.brand-mark svg {
  width:26px;
  height:26px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round}
.brand-web {
  font-size:12px;
  text-transform:uppercase;
  font-weight:400;
  letter-spacing:2px;
  margin-top:6px}
.login-card {
  background:white;
  border-radius:5px;
  box-shadow:0 8px 30px #0b141a14;
  display:grid;
  grid-template-columns:40% 60%;
  overflow:hidden}
.login-content {
  padding:60px 58px 44px}
.eyebrow {
  font-size:10px;
  color:#008069;
  letter-spacing:1.7px;
  font-weight:600}
.login-content h1 {
  font-size:30px;
  font-weight:400;
  letter-spacing:-.7px;
  margin:13px 0}
.login-intro {
  font-size:14px;
  line-height:1.6;
  color:var(--muted);
  margin:0 0 28px}
#login-form label {
  display:block;
  font-size:13px;
  margin:18px 0 8px;
  color:#41525d}
#login-form input {
  width:100%;
  padding:13px 14px;
  border:1px solid #cdd5d8;
  border-radius:7px;
  font-size:14px;
  background:#fff}
#login-form input::placeholder {
  color:#8696a0}
.primary-button {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  padding:14px 20px;
  border-radius:24px;
  background:#008069;
  color:white;
  margin-top:26px;
  font-weight:500;
  font-size:14px}
.primary-button:hover {
  background:#006f5b}
.login-note {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-size:11px;
  color:var(--muted);
  margin:25px 0 0}
.login-note .icon {
  width:13px;
  height:13px}
.login-art {
  background:#d9f3e8;
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden}
.login-art:before,.login-art:after {
  content:"";
  position:absolute;
  border:1px solid #b8dfcd;
  border-radius:50%;
  width:430px;
  height:430px}
.login-art:after {
  width:310px;
  height:310px}
.art-orbit {
  width:158px;
  height:158px;
  background:#00a884;
  box-shadow:0 18px 40px #00806924;
  border-radius:42px;
  display:grid;
  place-items:center;
  transform:rotate(-8deg);
  z-index:1;
  margin-bottom:30px}
.art-orbit svg {
  width:90px;
  height:90px;
  fill:none;
  stroke:white;
  stroke-width:1.2;
  stroke-linecap:round;
  stroke-linejoin:round}
.art-bubble {
  position:absolute;
  z-index:2;
  top:61%;
  left:25%;
  background:white;
  box-shadow:0 4px 12px #0b141a0d;
  border-radius:0 16px 16px 16px;
  padding:15px 22px;
  font-size:18px;
  color:#326b55;
  transform:rotate(4deg);
  white-space:nowrap}
.art-bubble span {
  color:#00a884;
  margin-left:10px}
body:has(#login-screen:not([hidden])) .connection-bar {
  margin:10px 0 14px}
::-webkit-scrollbar {
  width:6px}
::-webkit-scrollbar-thumb {
  background:#b7c0c4aa}
::-webkit-scrollbar-track {
  background:transparent}

@media(min-width:1700px) {
  body {
  padding-top:36px;
  padding-bottom:10px}
}
@media(max-width:1050px) {
  body {
  padding:0}
.app {
  grid-template-columns:58px 310px minmax(0,1fr);
  box-shadow:none}
.rail {
  padding-inline:5px}
.messages {
  padding-inline:24px}
.messages .message {
  max-width:88%}
.welcome h2 {
  font-size:25px}
.welcome-art {
  transform:scale(.85)}
.login-screen {
  padding:30px}
.login-content {
  padding:44px 35px}
}

@media(max-width:700px) {
  .app {
  grid-template-columns:54px minmax(0,1fr)}
.rail {
  padding:12px 5px;
  gap:8px}
.rail-button {
  width:40px;
  height:40px}
.sidebar {
  border-right:0}
.sidebar-header {
  padding-top:14px}
.app>.chat-view {
  display:none}
.app.conversation-open {
  grid-template-columns:minmax(0,1fr)}
.app.conversation-open>.rail,.app.conversation-open>.sidebar {
  display:none}
.app.conversation-open>.chat-view {
  display:flex}
.mobile-back {
  display:grid;
  width:34px}
.conversation-header {
  gap:8px;
  padding:10px 12px}
.conversation-header .avatar {
  width:37px;
  height:37px}
.conversation-heading h2 {
  font-size:15px}
.composer {
  padding:10px 12px;
  gap:10px}
.composer>.icon {
  width:20px}
.composer-input {
  padding:0 10px;
  gap:9px}
.composer-input input {
  font-size:12px}
.composer-input .icon {
  width:20px}
.send-button {
  width:28px}
.messages {
  padding:16px 22px}
.messages .message {
  max-width:88%}
.connection-bar {
  font-size:10px;
  min-height:30px;
  padding:5px 10px}
.login-screen {
  padding:24px 18px}
.login-card {
  grid-template-columns:1fr}
.login-art {
  display:none}
.login-content {
  padding:36px 28px}
.login-content h1 {
  font-size:27px}
.brand {
  margin-bottom:24px}
.welcome-foot {
  bottom:22px}
.read-only-label {
  font-size:10px}
.sidebar-foot {
  font-size:10px}
}

@media(prefers-reduced-motion:no-preference) {
  button {
  transition:background-color .15s ease}
.login-card {
  animation:appear .3s ease}
@keyframes appear {
  from {
  opacity:0;
  transform:translateY(6px)}
to {
  opacity:1;
  transform:none}
}
}

body:has(#login-screen:not([hidden])) {
  background:#f1f6f3}

body:has(#login-screen:not([hidden])):before {
  display:none}

.brand {
  color:#008069}

.brand-mark {
  border-color:currentColor}

.send-state { display: block; font-size: 11px; color: #54656f; }
#send-status { margin: 0; padding: 0 16px; background: #f0f2f5; font-size: 12px; color: #54656f; }
#send-status:not(:empty) { padding-block: 8px; }
.moments-view { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #f0f2f5; }
.moments-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; background: #fff; border-bottom: 1px solid #e9edef; }
.moments-header h2 { font-size: 20px; margin: 0 0 4px; overflow-wrap: anywhere; }
.moments-header p { color: #667781; font-size: 13px; margin: 0; }
.moments-scroll { overflow-y: auto; min-height: 0; padding: 20px; }
#moments-posts { max-width: 680px; margin: auto; }
#moments-status { color: #667781; font-size: 14px; }
.moment-card { background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 2px #0b141a12; }
.moment-card header { display: flex; align-items: center; gap: 12px; }
.moment-card header>div { min-width: 0; }
.moment-author { font-size: 15px; font-weight: 600; text-align: left; padding: 0; color: #008069; overflow-wrap: anywhere; }
.moment-card time { display: block; color: #667781; font-size: 11px; margin-top: 4px; }
.moment-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.moment-counts { color: #667781; font-size: 12px; margin-bottom: 0; }
.moment-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.moment-media img { width: 100%; max-height: 360px; object-fit: contain; border-radius: 8px; background: #f0f2f5; }
.media-unavailable { display: block; padding: 24px 8px; border-radius: 8px; background: #f0f2f5; color: #667781; font-size: 12px; text-align: center; }
@media(max-width:700px) { .app.moments-open>.sidebar { display: none; } .moments-scroll { padding: 12px; } .moments-header { padding: 14px; } .moment-card { padding: 14px; } }
.moment-comments { margin-top: 12px; font-size: 13px; }
.moment-comments summary { cursor: pointer; color: #008069; padding: 6px 0; }
.moment-comments summary:focus-visible { outline: 2px solid #008069; outline-offset: 2px; }
.moment-comments ol { list-style: none; padding: 0; margin: 8px 0 0; }
.moment-comments li { padding: 12px; margin-top: 8px; border-radius: 8px; background: #f0f2f5; overflow-wrap: anywhere; }
.moment-comments li p { white-space: pre-wrap; margin: 8px 0; line-height: 1.5; }
.moment-actions { margin-top: 16px; border-top: 1px solid #e9edef; padding-top: 12px; }
.moment-actions form { margin-top: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.moment-actions textarea { width: 100%; resize: vertical; min-height: 60px; max-height: 180px; border: 1px solid #d1d7db; border-radius: 8px; padding: 10px; font: inherit; }
.moment-action-status { color: #54656f; font-size: 12px; line-height: 1.5; }
#moment-compose { max-width: 680px; margin-inline: auto; }
#moment-compose h3 { margin-top: 0; }
#moment-compose>p { color: #54656f; font-size: 13px; line-height: 1.5; }
#moment-draft-form { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
#moment-draft { width: 100%; min-height: 100px; max-height: 280px; padding: 12px; resize: vertical; border: 1px solid #d1d7db; border-radius: 8px; font: inherit; }
#moment-publications { max-width: 680px; margin: 0 auto 16px; padding: 12px; background: #fff; border-radius: 8px; }
#moment-publications summary { cursor: pointer; color: #008069; }
#moment-publications li { overflow-wrap: anywhere; white-space: pre-wrap; font-size: 13px; }
#moment-publications li p:last-child { color: #54656f; }
#moment-publish-status { overflow-wrap: anywhere; }
.moment-removed { color: #b46916; font-size: 13px; font-weight: 600; }
.moment-card .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.moment-authors { min-height: 0; overflow-y: auto; padding: 24px; background: #fff; }
.app.moments-open, .app.authors-open, .app.nearby-open { grid-template-columns: 64px minmax(0,1fr); }
.app.moments-open>.sidebar, .app.authors-open>.sidebar, .app.nearby-open>.sidebar { display: none; }
.moment-authors h2 { color: #667781; font-size: 13px; padding: 0 12px; }
.moment-authors ul { list-style: none; margin: 8px 0 0; padding: 0; }
.moment-authors p { padding: 12px; color: #667781; font-size: 13px; }
.author-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 10px 12px; border-radius: 8px; text-align: left; overflow-wrap: anywhere; }
.author-row[aria-pressed="true"] { background: #d9fdd3; color: #005c4b; }
.author-row:hover { background: #f0f2f5; }
.author-row .avatar { width: 40px; height: 40px; flex-shrink: 0; }
.author-row .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
@media(max-width:700px) {
  .app.moments-open, .app.authors-open, .app.nearby-open { grid-template-columns: 54px minmax(0,1fr); }
  .moment-authors { padding: 16px; }
  .moments-header { gap: 8px; }
  .moments-header h2 { font-size: 18px; }
}
.moment-media a { display: block; min-width: 0; }
.moment-media video { display: block; width: 100%; max-height: 420px; border-radius: 8px; background: #111; }

/* Nearby */
#nearby-view { background: #f7f9f8; }
#nearby-view .moments-header { border-bottom: 1px solid var(--line); }
.nearby-scroll { padding: 32px 40px; }
.nearby-content { width: 100%; max-width: 900px; margin: 0 auto; }
.nearby-setup { margin: 0 auto; }
.nearby-controls { padding: 24px; background: white; border: 1px solid #e2e9e5; border-radius: 18px; box-shadow: 0 3px 8px #172f2403; }
.nearby-section-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.nearby-section-heading h3 { margin: 0; font-size: 15px; font-weight: 600; }
.nearby-location-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nearby-location-option { display: flex; align-items: center; gap: 12px; min-height: 94px; padding: 16px 12px; border: 1px solid #dce5e0; border-radius: 12px; text-align: left; transition: border-color .15s, background .15s; }
.nearby-location-option>.icon { color: #008069; width: 22px; height: 22px; }
.nearby-location-option strong { display: block; font-size: 13px; font-weight: 600; }
.nearby-location-option small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.nearby-option-arrow { margin-left: auto; color: #7c938a; }
.nearby-location-option:hover:not(:disabled) { border-color: #00a884; background: #f3fbf6; }
#nearby-location { margin: 12px 0 24px; padding: 10px 12px; border-radius: 8px; color: var(--muted); background: #f6f8f7; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
#nearby-location:before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #a3b2aa; vertical-align: middle; }
#nearby-location.is-selected { background: #edf8f1; color: #00745c; }
#nearby-location.is-selected:before { background: #00a884; }
.nearby-search-row { display: flex; align-items: flex-end; gap: 12px; }
.nearby-search-row label { flex: 1; min-width: 0; color: var(--muted); font-size: 11px; font-weight: 600; }
#nearby-gender { display: block; margin-top: 6px; width: 100%; padding: 12px; height: 44px; font: inherit; font-size: 13px; color: #263c32; background: #fff; border: 1px solid #dce5e0; border-radius: 9px; }
#nearby-gender:focus-visible { outline: 2px solid #008069; outline-offset: 2px; }
.nearby-primary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: #008069; color: white; min-height: 44px; padding: 12px 22px; border-radius: 9px; font-size: 13px; font-weight: 600; }
.nearby-primary .icon { width: 18px; height: 18px; }
.nearby-primary:hover:not(:disabled) { background: #006c59; }
.nearby-check { display: flex; align-items: flex-start; gap: 9px; color: #54656f; font-size: 12px; line-height: 1.6; cursor: pointer; }
.nearby-controls>.nearby-check { margin-top: 16px; }
.nearby-check input[type=checkbox] { flex-shrink: 0; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #008069; }
.nearby-location-settings { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.nearby-location-settings summary { cursor: pointer; width: fit-content; }
.nearby-clear-area { padding-top: 16px; }
.nearby-secondary { margin-top: 12px; padding: 9px 0; font-size: 12px; font-weight: 600; color: #345c47; }
.nearby-secondary span { margin-left: 10px; }
.nearby-results-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 30px 0 16px; }
.nearby-results-heading h3 { margin: 0; font-size: 16px; flex-shrink: 0; }
#nearby-status { margin: 0; color: #667781; font-size: 12px; line-height: 1.5; }
#nearby-results { display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
#nearby-results .nearby-person { margin: 0; padding: 20px; border: 1px solid #e2e9e5; border-radius: 14px; box-shadow: none; min-width: 0; }
.nearby-person-top { display: flex; align-items: center; gap: 12px; }
.nearby-person-top .avatar { width: 46px; height: 46px; flex-shrink: 0; }
.nearby-person-identity { min-width: 0; }
.nearby-person h3 { font-size: 14px; margin: 0 0 6px; }
.nearby-person-identity p { margin: 0; font-size: 12px; color: #008069; }
.nearby-person details { margin-top: 18px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.nearby-person summary { cursor: pointer; }
.nearby-person>.older-button { margin: 16px 0 0; width: 100%; box-shadow: none; border-radius: 8px; background: #f0f7f3; font-weight: 600; font-size: 12px; }
.nearby-empty { padding: 36px 20px; text-align: center; border: 1px dashed #dbe5df; border-radius: 16px; }
.nearby-empty-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #eaf1ed; color: #7f9e8b; }
.nearby-empty h3 { margin: 14px 0 8px; font-size: 14px; font-weight: 600; }
.nearby-empty p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
#nearby-results:has(article)+.nearby-empty { display: none; }
@media(max-width:700px) { .nearby-scroll { padding: 22px 16px; } .nearby-controls { padding: 18px; } .nearby-location-options { grid-template-columns: 1fr; } .nearby-location-option { min-height: 72px; } .nearby-search-row { flex-wrap: wrap; } .nearby-search-row label, .nearby-primary { flex: 1 1 100%; } .nearby-results-heading { display: block; } #nearby-status { margin-top: 8px; } .nearby-empty { padding: 28px 16px; } }

#nearby-map-dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); box-sizing: border-box; overflow: auto; padding: 20px; border: 0; border-radius: 16px; color: #111b21; box-shadow: 0 18px 60px #0005; }
#nearby-map-dialog::backdrop { background: #0b141aa8; }
#nearby-map-dialog header, #nearby-map-dialog footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
#nearby-map-dialog h2 { margin: 0; font-size: 21px; }
#nearby-map-help, #nearby-map-status { font-size: 13px; line-height: 1.5; color: #54656f; }
.nearby-map-frame { position: relative; }
#nearby-map { width: 100%; height: min(420px, 45dvh); border-radius: 10px; background: #e5eceb; }
.nearby-map-pin { position: absolute; z-index: 1000; left: 50%; top: 50%; transform: translate(-50%,-100%); font-size: 32px; line-height: 1; pointer-events: none; }
#nearby-map-coordinates { font-size: 13px; font-variant-numeric: tabular-nums; }
#nearby-map-dialog .leaflet-control-attribution { font-size: 10px; }


/* App theme */
html[data-theme="dark"] { color-scheme: dark; --green: #00a884; --muted: #aebac1; --line: #26353d; --panel: #202c33; color: #e9edef; background: #0b141a; }
html[data-theme="dark"] body { color: #e9edef; background: #0b141a; }
html[data-theme="dark"] body:before { background: #071d19; }
html[data-theme="dark"] .app { background: #111b21; box-shadow: 0 6px 28px #0006; }
html[data-theme="dark"] .rail, html[data-theme="dark"] .conversation-header, html[data-theme="dark"] .composer { background: #202c33; border-color: #26353d; }
html[data-theme="dark"] .sidebar, html[data-theme="dark"] .moment-authors, html[data-theme="dark"] .moments-header, html[data-theme="dark"] .moment-card, html[data-theme="dark"] #moment-publications { background: #111b21; border-color: #26353d; }
html[data-theme="dark"] .rail-button, html[data-theme="dark"] .icon-button { color: #aebac1; }
html[data-theme="dark"] .rail-button:hover, html[data-theme="dark"] .icon-button:hover { background: #2a3942; }
html[data-theme="dark"] .rail-button[aria-pressed="true"], html[data-theme="dark"] .chat-row[aria-pressed="true"] { background: #2a3942; color: #e9edef; }
html[data-theme="dark"] .chat-row:hover { background: #202c33; }
html[data-theme="dark"] .search-box, html[data-theme="dark"] .filters button, html[data-theme="dark"] .composer-input, html[data-theme="dark"] .older-button { background: #202c33; color: #d1d7db; }
html[data-theme="dark"] .filters button[aria-pressed="true"] { background: #005c4b; color: #d9fdd3; }
html[data-theme="dark"] .chat-status, html[data-theme="dark"] .chat-copy, html[data-theme="dark"] .conversation-header, html[data-theme="dark"] .moment-actions, html[data-theme="dark"] .moment-card, html[data-theme="dark"] .moments-header { border-color: #26353d; }
html[data-theme="dark"] .chat-name, html[data-theme="dark"] .conversation-heading h2, html[data-theme="dark"] .sidebar-header h1, html[data-theme="dark"] .moments-header h2, html[data-theme="dark"] .moment-card, html[data-theme="dark"] .moment-authors h2, html[data-theme="dark"] .moment-comments li p { color: #e9edef; }
html[data-theme="dark"] .chat-preview, html[data-theme="dark"] .chat-time, html[data-theme="dark"] .chat-status, html[data-theme="dark"] .conversation-heading p, html[data-theme="dark"] .moments-header p, html[data-theme="dark"] .moment-card time, html[data-theme="dark"] .moment-counts, html[data-theme="dark"] .moment-action-status, html[data-theme="dark"] .moment-authors p { color: #aebac1; }
html[data-theme="dark"] .chat-view, html[data-theme="dark"] .message-area, html[data-theme="dark"] .moments-view { background: #0b141a; }
html[data-theme="dark"] .welcome h2, html[data-theme="dark"] .welcome p { color: #d1d7db; }
html[data-theme="dark"] .welcome-foot, html[data-theme="dark"] .read-only-label { color: #aebac1; }
html[data-theme="dark"] .wallpaper { color: #788890; opacity: .12; }
html[data-theme="dark"] .messages .message, html[data-theme="dark"] .messages .day-divider { background: #202c33; color: #e9edef; }
html[data-theme="dark"] .messages .message:before { border-top-color: #202c33; }
html[data-theme="dark"] .messages .message.outgoing { background: #005c4b; color: #e9edef; }
html[data-theme="dark"] .messages .message.outgoing:before { border-top-color: #005c4b; }
html[data-theme="dark"] .message-kind { border-color: #34454d; }
html[data-theme="dark"] .composer-input input, html[data-theme="dark"] .search-box input { color: #e9edef; }
html[data-theme="dark"] .composer-input input::placeholder, html[data-theme="dark"] .search-box input::placeholder { color: #aebac1; }
html[data-theme="dark"] .moment-comments li, html[data-theme="dark"] .moment-media img, html[data-theme="dark"] .media-unavailable, html[data-theme="dark"] #moment-draft, html[data-theme="dark"] .moment-actions textarea, html[data-theme="dark"] #moment-draft-form textarea { background: #202c33; color: #e9edef; border-color: #34454d; }
html[data-theme="dark"] .author-row[aria-pressed="true"] { background: #005c4b; color: #d9fdd3; }
html[data-theme="dark"] .author-row:hover { background: #202c33; }
html[data-theme="dark"] .account-avatar { border-color: #202c33; background: #274c40; color: #c9f2dc; }
html[data-theme="dark"] .login-card { background: #111b21; color: #e9edef; }
html[data-theme="dark"] .login-screen { color: #e9edef; }
html[data-theme="dark"] body:has(#login-screen:not([hidden])) { background: #0b141a; }
html[data-theme="dark"] body:has(#login-screen:not([hidden])):before { display: none; }
html[data-theme="dark"] .brand { color: #00a884; }
html[data-theme="dark"] #login-form label { color: #d1d7db; }
html[data-theme="dark"] #login-form input, html[data-theme="dark"] #nearby-gender, html[data-theme="dark"] input, html[data-theme="dark"] textarea { color: #e9edef; background: #202c33; border-color: #34454d; }
html[data-theme="dark"] #login-form input::placeholder { color: #aebac1; }
html[data-theme="dark"] .login-art { background: #17352d; }
html[data-theme="dark"] .login-art:before, html[data-theme="dark"] .login-art:after { border-color: #31584c; }
html[data-theme="dark"] .art-bubble { background: #202c33; color: #d9fdd3; }
html[data-theme="dark"] .connection-bar { background: #111b21; color: #d1d7db; }
html[data-theme="dark"] #send-status { background: #202c33; color: #aebac1; }
html[data-theme="dark"] #nearby-view { background: #0b141a; }
html[data-theme="dark"] .nearby-controls, html[data-theme="dark"] #nearby-results .nearby-person { background: #111b21; color: #e9edef; border-color: #26353d; }
html[data-theme="dark"] .nearby-location-option { background: #111b21; border-color: #34454d; color: #e9edef; }
html[data-theme="dark"] .nearby-location-option:hover:not(:disabled) { background: #202c33; border-color: #00a884; }
html[data-theme="dark"] #nearby-location { background: #202c33; color: #aebac1; }
html[data-theme="dark"] #nearby-location.is-selected { background: #173d34; color: #9de1c0; }
html[data-theme="dark"] #nearby-gender { background: #202c33; color: #e9edef; }
html[data-theme="dark"] .nearby-check, html[data-theme="dark"] .nearby-location-settings, html[data-theme="dark"] .nearby-person details, html[data-theme="dark"] #nearby-status { color: #aebac1; }
html[data-theme="dark"] .nearby-location-settings, html[data-theme="dark"] .nearby-clear-area { border-color: #26353d; }
html[data-theme="dark"] .nearby-person>.older-button, html[data-theme="dark"] .nearby-empty { background: #202c33; color: #d9fdd3; border-color: #34454d; }
html[data-theme="dark"] .nearby-empty-icon { background: #274c40; color: #a9d8c2; }
html[data-theme="dark"] #nearby-map-dialog { background: #111b21; color: #e9edef; }
html[data-theme="dark"] #nearby-map-help, html[data-theme="dark"] #nearby-map-status { color: #aebac1; }
html[data-theme="dark"] #nearby-map-dialog .leaflet-control-attribution { background: #111b21d9; color: #d1d7db; }
html[data-theme="dark"] #nearby-map-dialog .leaflet-control-attribution a { color: #4db6a0; }
html[data-theme="dark"] ::-webkit-scrollbar { background: #202c33; }
html[data-theme="dark"] button:focus-visible, html[data-theme="dark"] a:focus-visible, html[data-theme="dark"] input:focus-visible { outline-color: #4db6a0; }
html[data-theme="dark"] .chat-row.has-unread .chat-name { color: #e9edef; }
html[data-theme="dark"] .message-kind, html[data-theme="dark"] .moment-author, html[data-theme="dark"] .moment-comments summary, html[data-theme="dark"] .moment-publications summary { color: #4db6a0; }
html[data-theme="dark"] .message time, html[data-theme="dark"] .moment-removed { color: #aebac1; }
html[data-theme="dark"] #moment-review, html[data-theme="dark"] #moment-publish-status, html[data-theme="dark"] .login-note { color: #aebac1; }
html[data-theme="dark"] #nearby-location-option, html[data-theme="dark"] .nearby-primary { color: #e9edef; }
html[data-theme="dark"] .nearby-person-identity p { color: #4db6a0; }
html[data-theme="dark"] .nearby-secondary { color: #9de1c0; }
html[data-theme="dark"] #nearby-map-dialog .leaflet-bar a { background: #202c33; color: #e9edef; border-color: #34454d; }
html[data-theme="dark"] #nearby-map-dialog .leaflet-bar a:hover { background: #2a3942; }
html[data-theme="dark"] #nearby-map-dialog .leaflet-control-attribution { background: #111b21d9; color: #d1d7db; }

/* Nearby split view */
.nearby-view { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #f0f2f5; }
.nearby-header { flex-shrink: 0; }
.nearby-workspace { display: grid; grid-template-columns: minmax(300px, 370px) minmax(0, 1fr); flex: 1; min-height: 0; }
.nearby-sidebar { min-width: 0; min-height: 0; overflow-y: auto; padding: 16px; background: #fff; border-right: 1px solid #e9edef; }
.nearby-sidebar .nearby-controls { padding: 16px; border-radius: 12px; box-shadow: none; }
.nearby-sidebar .nearby-controls>h3 { font-size: 15px; margin: 0 0 14px; }
.nearby-sidebar .nearby-location-options { grid-template-columns: 1fr; }
.nearby-sidebar .nearby-location-option { min-height: 66px; padding: 10px; }
.nearby-sidebar #nearby-location { margin: 10px 0 16px; }
.nearby-sidebar .nearby-search-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 8px; }
.nearby-sidebar .nearby-search-row .nearby-primary { padding-inline: 12px; white-space: nowrap; }
.nearby-list-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 20px 4px 8px; }
.nearby-list-heading h3 { margin: 0; font-size: 14px; }
.nearby-list-heading p { margin: 0; color: #667781; font-size: 11px; text-align: right; }
.nearby-people-list { list-style: none; padding: 0; margin: 0; }
.nearby-people-list li { margin: 0; }
.nearby-person-row { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 68px; padding: 9px 8px; border-radius: 9px; text-align: left; }
.nearby-person-row:hover { background: #f5f7f6; }
.nearby-person-row[aria-pressed="true"] { background: #e9f5ef; }
.nearby-person-row .avatar { width: 44px; height: 44px; font-size: 15px; flex-shrink: 0; }
.nearby-person-row .avatar img, .nearby-profile-heading .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.nearby-person-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.nearby-person-copy strong { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nearby-person-copy small { color: #667781; font-size: 11px; }
.nearby-row-arrow { color: #81949c; font-size: 22px; line-height: 1; }
.nearby-empty-list { padding: 12px 8px; color: #667781; font-size: 12px; }
.nearby-profile { min-width: 0; min-height: 0; overflow-y: auto; display: grid; place-items: center; padding: 32px; }
.nearby-profile-empty { max-width: 340px; text-align: center; }
.nearby-profile-empty h3 { margin: 16px 0 8px; font-size: 17px; }
.nearby-profile-empty p { margin: 0; color: #667781; font-size: 13px; line-height: 1.6; }
.nearby-profile-content { width: min(100%, 560px); align-self: start; }
.nearby-profile-heading { display: flex; align-items: center; gap: 18px; padding: 18px 0 24px; border-bottom: 1px solid #e9edef; }
.nearby-profile-heading .avatar { width: 88px; height: 88px; font-size: 28px; }
.nearby-profile-heading h3 { margin: 0 0 7px; font-size: 22px; overflow-wrap: anywhere; }
.nearby-profile-heading p { margin: 0; color: #008069; font-size: 13px; }
.nearby-profile-signature { padding: 20px 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.nearby-profile-facts { margin: 0; border-top: 1px solid #e9edef; }
.nearby-profile-facts>div { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid #e9edef; font-size: 13px; }
.nearby-profile-facts dt { color: #667781; }
.nearby-profile-facts dd { margin: 0; overflow-wrap: anywhere; }
.nearby-profile-actions { display: flex; gap: 10px; margin-top: 22px; }
.nearby-profile-actions button { flex: 1; margin: 0; }
.nearby-secondary-button { min-height: 44px; padding: 12px 18px; border: 1px solid #dce5e0; border-radius: 9px; color: #345c47; font-size: 13px; font-weight: 600; }
.nearby-secondary-button:hover:not(:disabled) { background: #f3f7f5; }
#nearby-greeting-dialog { width: min(440px,calc(100vw - 32px)); box-sizing: border-box; padding: 24px; border: 0; border-radius: 16px; color: #111b21; box-shadow: 0 18px 60px #0005; }
#nearby-greeting-dialog::backdrop { background: #0b141aa8; }
#nearby-greeting-dialog h2 { margin: 0 0 8px; font-size: 21px; }
#nearby-greeting-recipient { margin: 0 0 22px; color: #667781; font-size: 13px; }
#nearby-greeting-dialog label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 600; }
#nearby-greeting-message { display: block; box-sizing: border-box; width: 100%; min-height: 100px; padding: 12px; resize: vertical; border: 1px solid #dce5e0; border-radius: 9px; font: inherit; font-size: 14px; }
#nearby-greeting-status { min-height: 20px; color: #b42318; font-size: 12px; line-height: 1.5; }
#nearby-greeting-dialog footer { display: flex; justify-content: flex-end; gap: 10px; }
#nearby-greeting-dialog footer button { margin: 0; }
.nearby-profile-back { display: none; }
@media(max-width:700px) {
  .nearby-workspace { display: block; position: relative; }
  .nearby-sidebar { height: 100%; border: 0; }
  .nearby-profile { display: none; }
  .nearby-view.nearby-detail-open .nearby-sidebar { display: none; }
  .nearby-view.nearby-detail-open .nearby-profile { display: grid; height: 100%; padding: 20px; }
  .nearby-view.nearby-detail-open .nearby-profile-content { width: 100%; }
  .nearby-profile-back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; margin-bottom: 12px; color: #008069; font-size: 13px; }
  .nearby-profile-back .icon { width: 18px; height: 18px; }
}
html[data-theme="dark"] .nearby-sidebar, html[data-theme="dark"] .nearby-profile { background: #111b21; border-color: #26353d; }
html[data-theme="dark"] .nearby-person-row { color: #e9edef; }
html[data-theme="dark"] .nearby-person-row:hover { background: #202c33; }
html[data-theme="dark"] .nearby-person-row[aria-pressed="true"] { background: #173d34; }
html[data-theme="dark"] .nearby-person-copy small, html[data-theme="dark"] .nearby-list-heading p, html[data-theme="dark"] .nearby-empty-list, html[data-theme="dark"] .nearby-profile-empty p, html[data-theme="dark"] .nearby-profile-facts dt { color: #aebac1; }
html[data-theme="dark"] .nearby-profile-heading, html[data-theme="dark"] .nearby-profile-facts, html[data-theme="dark"] .nearby-profile-facts>div { border-color: #26353d; }
html[data-theme="dark"] .nearby-profile-heading p, html[data-theme="dark"] .nearby-profile-back { color: #4db6a0; }
html[data-theme="dark"] .nearby-secondary-button { color: #d1d7db; background: #202c33; border-color: #34454d; }
html[data-theme="dark"] .nearby-secondary-button:hover:not(:disabled) { background: #2a3942; }
html[data-theme="dark"] #nearby-greeting-dialog { background: #111b21; color: #e9edef; }
html[data-theme="dark"] #nearby-greeting-recipient { color: #aebac1; }
html[data-theme="dark"] #nearby-greeting-message { color: #e9edef; background: #202c33; border-color: #34454d; }
