/* Shared page hierarchy: profile, discussion and full-page messaging. */ .social-page .rightbar {
  display:none
}
.social-page main {
  grid-column:2/-1;
  max-width:945px;
  width:100%
}
.social-page main {
  min-width:0
}
.page-toolbar {
  display:flex;
  margin-bottom:18px
}
.subheading {
  margin:28px 0 16px
}
.profile-card {
  padding:0;
}
.profile-cover {
  height:120px;
  background:linear-gradient(120deg,#245ce7,#6233d5 72%,#ba60d9)
}
.profile-summary {
  padding:0 28px 28px
}
.profile-identity {
  display:flex;
  align-items:flex-end;
  gap:20px;
  margin-top:-40px;
  position:relative
}
.profile-identity>.avatar {
  width:104px;
  height:104px;
  border:5px solid white;
  font-size:34px
}
.profile-identity h1 {
  font-size:26px;
  margin:0 0 3px;
  line-height:1.3
}
.profile-identity .help {
  margin:0 0 8px
}
.profile-bio {
  margin:22px 0 16px;
  max-width:680px;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
.profile-stats {
  display:flex;
  color:var(--muted);
}
.profile-stats strong {
  color:var(--ink)
}
.profile-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap
}
.profile-actions>button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px
}
.profile-actions .ui-icon {
  width:18px;
  height:18px
}
.profile-actions .primary .ui-icon {
  filter:brightness(0) invert(1)
}
.action-menu {
  position:relative;
  margin-left:auto;
  flex-shrink:0
}
.action-menu summary {
  display:grid;
  place-items:center;
  list-style:none;
  border-radius:50%;
  font-size:23px;
  cursor:pointer
}
.action-menu summary::-webkit-details-marker {
  display:none
}
.action-menu summary:hover,.action-menu[open] summary {
  background:#eeebff
}
.action-menu>div {
  position:absolute;
  right:0;
  z-index:6;
  min-width:180px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 12px 35px #28244519;
  padding:6px
}
.action-menu button {
  display:block;
  width:100%;
  text-align:left;
  padding:11px 12px;
  border-radius:8px;
  white-space:nowrap
}
.action-menu button:hover {
  background:var(--paper)
}
.post-actions {
  margin-top:16px;
  justify-content:space-between;
  gap:8px
}
.post-actions button {
  min-height:40px
}
.post-actions button:last-child {
  margin-left:0
}
.comment-item {
  display:flex;
  gap:12px;
  padding:18px 0;
  border-bottom:1px solid var(--line)
}
.comment-content {
  flex:1;
  min-width:0
}
.comment-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}
.comment-meta .person {
  padding:0;
  text-align:left
}
.comment-meta small {
  color:var(--muted);
  font-size:var(--font-meta)
}
.comment-content p {
  margin:8px 0;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  line-height:1.65
}
.comment-actions {
  display:flex;
}
.comment-actions button {
  padding:6px 10px;
  border-radius:8px;
  font-size:12px;
  color:var(--muted)
}
.comment-actions button:hover {
  background:var(--paper)
}
.comment-compose {
  display:flex;
  gap:12px;
}
.comment-compose .form {
  flex:1;
  min-width:0;
  gap:12px
}
.comment-compose textarea {
  min-height:90px
}
.comment-compose .primary {
  justify-self:end;
  width:auto
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.inbox {
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  max-height:850px
}
.conversation-sidebar {
  border-right:1px solid var(--line);
  overflow:auto;
  padding:16px 10px
}
.inbox-heading {
  padding:0 6px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}
.inbox-heading h3 {
  margin:0
}
.inbox-heading button {
  font-size:12px;
  padding:8px
}
.conversation-row {
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 10px;
  border-radius:12px;
  width:100%;
  text-align:left
}
.conversation-row.selected {
  background:#eeebff
}
.conversation-row:hover {
  background:#f4f2ff
}
.conversation-row>span:last-child {
  min-width:0;
  flex:1
}
.conversation-row strong,.conversation-row small {
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.conversation-row small {
  color:var(--muted);
  font-size:12px;
  margin-top:4px
}
.conversation-entry {
  position:relative
}
.conversation-entry .conversation-row {
  width:100%;
  padding-right:40px
}
.conversation-options {
  position:absolute;
  right:6px;
  top:12px
}
.message-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}
.message-options summary,.conversation-options summary {
  min-width:28px;
  min-height:28px;
  display:flex;
  align-items:center;
  justify-content:center
}
.message-options>div {
  right:0;
  left:auto;
  z-index:15
}
.recalled-message,.once-photo-state {
  margin:0;
  font-size:13px;
  color:var(--muted)
}
.once-photo {
  display:flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  text-align:left
}
.once-photo>span {
  width:24px;
  height:24px;
  border:1px solid currentColor;
  border-radius:50%;
  text-align:center
}
.chat-panel #message-form .view-once-option {
  grid-column:1/-1;
  font-size:12px
}
.view-once-option[hidden] {
  display:none
}
.once-loading {
  padding:40px 48px;
  color:white
}
.chat-panel {
  display:flex;
  flex-direction:column;
  min-height:0;
  min-width:0;
  background:#fafaff
}
.chat-panel>.empty {
  margin:auto;
  border:0;
  background:transparent
}
.chat-heading {
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 20px;
  border-bottom:1px solid var(--line);
  background:white
}
.chat-heading .person {
  text-align:left;
  min-width:0
}
.chat-search-toggle {
  margin-left:auto;
  flex:0 0 40px;
  width:40px;
  height:40px;
  min-height:40px;
  padding:8px;
  display:grid;
  place-items:center
}
.chat-search-toggle+.inbox-back {margin-left:0}
.chat-quote {
  display:grid;
  gap:3px;
  margin:0 0 8px;
  padding:4px 8px;
  border-left:3px solid var(--primary);
  font-size:12px;
  overflow-wrap:anywhere
}
.chat-reply-preview {
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  padding:4px 0 8px;
  border-bottom:1px solid var(--line)
}
.chat-reply-preview[hidden] {display:none}
.chat-reply-preview>div {display:grid;gap:3px;min-width:0;flex:1;font-size:12px}
.chat-reply-preview span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-reply-preview>button {flex:0 0 36px;width:36px;min-height:36px;padding:8px}
.chat-search-label {display:grid;gap:8px}
.chat-search-result {padding:12px 0;border-bottom:1px solid var(--line)}
.chat-search-result>div {display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.chat-search-result small {color:var(--muted)}
.chat-search-result p {white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}
.chat-heading .person strong {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.chat-heading .person small {
  display:block
}
.inbox-back {
  display:none
}
.chat-panel .messages {
  flex:1;
  height:auto;
  min-height:0;
  max-height:none;
  overflow:auto;
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:12px
}
.chat-panel .bubble {
  max-width:84%;
  width:fit-content;
  padding:12px 16px;
  border-radius:16px 16px 16px 4px;
  margin:0;
  background:#eeeff7;
  white-space:pre-wrap;
  flex-shrink:0
}
.chat-panel .bubble.mine {
  align-self:flex-end;
  margin-left:0;
  background:#e9e4ff;
  border-radius:16px 16px 4px 16px
}
.bubble small {
  display:block;
  margin-top:7px;
  font-size:10px;
  color:var(--muted)
}
.bubble small button {
  font-size:10px;
  padding:3px
}
.chat-panel #message-form {
  border-top:1px solid var(--line);
  background:#fff;
  padding:16px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  max-height:50%;
  min-height:66px;
  overflow-y:auto
}
.chat-panel #message-form textarea {
  grid-column:1/-1;
  min-height:66px;
  max-height:140px;
  resize:vertical
}
.chat-panel #message-form label {
  font-size:11px;
  min-width:0
}
.chat-panel #message-form input[type=file] {
  width:100%;
  font-size:11px;
  padding:6px
}
.chat-panel #message-form>.primary {
  align-self:end
}
.chat-panel .form-error {
  grid-column:1/-1
}
.inbox-page .mobile-footer {
  display:none
}
dialog.dialog-form {
  width:min(640px,calc(100vw - 32px));
  padding:28px
}
#post-form {
  gap:18px
}
#post-form textarea {
  min-height:150px
}
#post-form .compose-identity {
  padding-bottom:14px;
  border-bottom:1px solid var(--line)
}
#post-form>label>input,#post-form>label>select {
  margin-top:6px
}
#post-form>.primary {
  justify-self:end;
  min-width:140px
}
#post-form .help {
  margin:0
}
@media(max-width:1050px) {
  .inbox {
    grid-template-columns:230px minmax(0,1fr)
  }
}
@media(max-width:720px) {
  body.inbox-page {
    display:flex;
    flex-direction:column;
    height:var(--inbox-page-height,100dvh);
    overflow:hidden
  }
  .inbox-page>.card,.inbox-page>.topbar,.inbox-page>#mobile-nav {
    flex-shrink:0
  }
  .inbox-page.social-page .shell {
    flex:1;
    min-height:0;
    width:100%;
    display:flex;
    padding:12px
  }
  .inbox-page #main {
    display:flex;
    flex-direction:column;
    flex:1;
    min-height:0;
    min-width:0
  }
  .inbox-page .section-toolbar,.inbox-page #verification {
    flex-shrink:0
  }
  .inbox-page:has(.has-chat) .section-toolbar {
    display:none
  }
  .inbox-page #content {
    flex:1;
    min-height:0
  }
  .inbox-page .inbox {
    height:100%;
    min-height:0
  }
  .inbox-page>#mobile-nav {
    position:static
  }
  .inbox-page.inbox-compact>.topbar {
    display:none
  }
  .profile-cover {
  }
  .profile-summary {
  }
  .profile-identity {
  }
  .profile-identity>.avatar {
    border-width:4px
  }
  .profile-identity h1 {
    font-size:21px
  }
  .profile-actions {
  }
  .profile-actions>button {
    font-size:12px;
  }
  .profile-actions .action-menu {
    margin-left:0
  }
  .inbox {
    display:block;
    height:calc(100dvh - 230px);
    min-height:380px
  }
  .inbox .conversation-sidebar {
    height:100%;
    border:0
  }
  .inbox .chat-panel {
    display:none;
    height:100%
  }
  .inbox.has-chat .conversation-sidebar {
    display:none
  }
  .inbox.has-chat .chat-panel {
    display:flex
  }
  .inbox-back {
    display:block
  }
  .chat-heading {
  }
  .chat-panel .messages {
  }
  .chat-panel #message-form {
  }
  .comment-meta {
    align-items:flex-start;
    flex-direction:column;
    gap:3px
  }
  .comment-compose>.avatar {
    display:none
  }
  .comment-item>.avatar {
    width:32px;
    height:32px
  }
  .discussion {
    padding:18px
  }
  .comment-compose .primary {
    width:100%
  }
  dialog.dialog-form {
    width:calc(100vw - 24px)
  }
  #post-form textarea {
  }
  .action-menu>div {
    min-width:160px
  }
}
#delete-form>.primary {
  background:#b42338;
  color:#fff;
  box-shadow:none
}
.page-toolbar {
  flex-wrap:wrap
}
.social-page .card>hr {
  border:0;
  border-top:1px solid var(--line);
  margin:24px 0
}
.social-page #content>button[data-action=read-notices] {
  margin-bottom:18px
}
.business-grid .secondary {
  margin:8px 8px 0 0
}
.inbox {
  height:var(--inbox-height,calc(100dvh - 230px));
  min-height:280px
}
.chat-heading,.chat-panel #message-form {
  flex-shrink:0
}
.chat-panel .messages {
  margin-bottom:0
}
.unread-count {
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:12px;
  background:#5740dc;
  color:white;
  font-size:11px;
  font-weight:700;
  line-height:1;
  flex-shrink:0
}
.nav-item>.unread-count {
  margin-left:auto
}
.reply-context {
  margin:10px 0;
  padding:10px 12px;
  border-left:3px solid #b4a6ed;
  background:#f5f2ff;
  border-radius:0 8px 8px 0;
  font-size:12px
}
.reply-context span {
  display:block;
  overflow-wrap:anywhere
}
.mention-chip {
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:16px;
  background:#f0ebff;
  color:#5734cb;
  padding:5px 10px;
  font-size:12px;
  margin:3px
}
.mention-tools,#reply-context {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap
}
#reply-context[hidden],#mention-picker[hidden] {
  display:none
}
.mention-tools .secondary {
  font-size:12px;
  padding:8px 12px
}
.comment-actions {
  flex-wrap:wrap;
  gap:4px
}
.profile-stats {
  flex-wrap:wrap
}
.profile-stats button {
  font-size:13px
}
.person-row>.secondary {
  margin-left:auto
}
@media(max-width:720px) {
  #mobile-nav .nav-item {
    position:relative
  }
  #mobile-nav .unread-count {
    position:absolute;
    right:8px;
    top:2px;
    min-width:17px;
    height:17px;
    font-size:10px
  }
  .comment-actions button {
    min-height:36px
  }
}
.contact-notice {
  padding:12px 20px;
  background:#f1edff;
  border-bottom:1px solid var(--line);
  font-size:13px
}
.contact-notice p {
  margin:0 0 8px
}
.chat-panel #message-form[hidden] {
  display:none
}
.chat-panel #message-form label[hidden] {
}
.security-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}
.session-row {
  padding:12px 0;
  border-bottom:1px solid var(--line)
}
.session-row p {
  font-size:12px;
  overflow-wrap:anywhere
}
.account-security .help {
  overflow-wrap:anywhere
}
.support-ticket {
  padding:16px 0;
  border-bottom:1px solid var(--line)
}
#appeal-context {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}
#appeal-context[hidden] {
  display:none
}
.discovery-start h3 {
  margin:0
}
.discovery-people {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin:12px 0
}
.discovery-start .person-row {
  min-width:0;
  text-align:left
}
.discovery-start .person-row span {
  min-width:0
}
.discovery-start .person-row strong {
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
@media(max-width:480px) {
  .discovery-people {
    grid-template-columns:1fr
  }
}
#mobile-nav .nav-item>.unread-count {
  width:auto;
  min-width:17px;
  height:17px;
  padding:0 4px;
  right:12px;
  top:0;
  border:1px solid white;
  line-height:1;
  font-size:10px;
  margin:0
}
@media(min-width:721px) and (max-width:1050px) {
  .inbox {
    display:block
  }
  .inbox .conversation-sidebar {
    height:100%;
    border:0
  }
  .inbox .chat-panel {
    display:none;
    height:100%
  }
  .inbox.has-chat .conversation-sidebar {
    display:none
  }
  .inbox.has-chat .chat-panel {
    display:flex
  }
  .inbox-back {
    display:block
  }
}
/* Compact shared controls; keep comfortable 44px touch targets. */ .compose-line {
  display:flex;
  align-items:flex-end;
  gap:4px;
  min-width:0;
  width:100%
}
.comment-compose .form,.chat-panel #message-form {
  display:flex;
  flex-direction:column;
  gap:6px
}
.comment-compose textarea.compose-input,.chat-panel #message-form textarea.compose-input {
  flex:1;
  min-width:0;
  width:0;
  height:44px;
  min-height:var(--control-height);
  max-height:112px;
  padding:11px 12px;
  line-height:22px;
  font-size:16px;
  border:0;
  border-radius:20px;
  background:#f5f4fa;
  resize:none
}
.compose-line .compose-send,.compose-line .compose-mention,.attachment-button {
  width:44px!important;
  height:44px;
  min-height:var(--control-height);
  flex:0 0 44px;
  padding:0!important;
  border-radius:50%;
  display:flex!important;
  align-items:center;
  justify-content:center;
  box-shadow:none;
  position:relative;
  cursor:pointer
}
.compose-line .compose-mention,.attachment-button {
  background:transparent;
  border:0;
  color:#665885;
  font-size:20px
}
.compose-send .ui-icon {
  width:20px;
  height:20px;
  filter:brightness(0) invert(1)
}
.chat-panel #message-form .attachment-button input {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
  padding:0
}
.attachment-button:focus-within {
  outline:2px solid #8b72f1;
  outline-offset:2px
}
.chat-panel #message-form label[hidden] {
  display:none!important
}
#chat-attachment-name {
  overflow-wrap:anywhere;
  margin:0 48px
}
.comment-compose {
  padding-top:14px
}
.comment-actions {
  justify-content:space-between;
  align-items:center
}
.comment-actions>button {
  min-height:var(--control-height);
  padding:6px 4px
}
.comment-actions .action-menu button {
  min-height:var(--control-height)
}
.action-menu summary {
  width:44px;
  height:44px
}
.action-menu>div {
  top:46px
}
.profile-card {
  overflow:visible
}
.profile-cover {
  border-radius:20px 20px 0 0
}
.profile-stats {
  gap:12px;
  margin-bottom:12px
}
.profile-stats button {
  background:transparent;
  border:0;
  padding:6px 0;
  min-height:var(--control-height);
  box-shadow:none
}
.security-actions,.account-actions {
  display:grid;
  gap:0
}
.security-actions>button,.account-actions>button {
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-align:left;
  min-height:48px;
  padding:12px 4px;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:transparent;
  color:var(--ink);
  box-shadow:none
}
.security-actions>button::after,.account-actions>button::after {
  color:var(--muted);
  font-size:20px;
  margin-left:12px
}
.account-danger {
  margin-top:12px
}
.account-danger>summary {
  cursor:pointer;
  min-height:48px;
  display:flex;
  align-items:center;
  color:#b42338;
  font-weight:600
}
.account-danger>summary::after {
  content:'⌄';
  margin-left:auto
}
.account-danger>summary::-webkit-details-marker {
  display:none
}
.account-danger[open]>summary {
  margin-bottom:10px
}
.discovery-start .comment-meta {
  flex-direction:row;
  align-items:center
}
.discovery-start .comment-meta>button {
  flex-shrink:0
}
@media(max-width:720px) {
  .social-page .shell {
    padding:14px 12px calc(88px + env(safe-area-inset-bottom))
  }
  .card {
    padding:14px;
    margin-bottom:12px;
    border-radius:16px
  }
  .card h3 {
    font-size:18px
  }
  .card h3:first-child {
    margin-top:0
  }
  .profile-card {
    padding:0
  }
  .profile-cover {
    height:64px;
    border-radius:16px 16px 0 0
  }
  .profile-summary {
    padding:0 14px 16px
  }
  .profile-identity {
    gap:12px;
  }
  .profile-identity>.avatar {
    width:64px;
    height:64px
  }
  .profile-bio {
    margin:14px 0 8px
  }
  .page-toolbar {
    gap:8px;
    margin-bottom:12px
  }
  .profile-actions {
    gap:6px
  }
  .profile-actions>button {
    padding:8px 10px;
    min-height:var(--control-height)
  }
  .form {
    gap:12px
  }
  .form-links {
    flex-wrap:wrap;
    gap:4px 12px
  }
  .form-links button {
    min-height:var(--control-height)
  }
  .form textarea {
    min-height:96px
  }
  .comment-item {
    padding:12px 0;
    gap:10px
  }
  .comment-content p {
    margin:6px 0
  }
  .comment-actions {
    gap:0
  }
  .comment-content .mention-chip {
    background:transparent;
    padding:0;
    margin:0 6px 0 0;
    min-height:var(--control-height)
  }
  .comment-compose {
    padding-top:10px
  }
  .chat-heading {
    padding:0 8px;
    gap:6px
  }
  .chat-panel #message-form {
    padding:8px
  }
  .chat-panel .messages {
    padding:12px;
    gap:10px
  }
  .chat-panel .bubble {
    padding:10px 12px
  }
  .section-head {
    margin-bottom:12px
  }
  .empty {
    padding:20px 14px
  }
  .support-ticket {
    padding:12px 0
  }
  .subheading {
    margin:20px 0 12px
  }
  dialog.dialog-form {
    padding:16px
  }
  #post-form {
    gap:12px
  }
  #post-form textarea {
    min-height:96px
  }
  #post-form .compose-identity {
    padding-bottom:10px
  }
}
.security-actions>button::after,.account-actions>button::after {
  content:'';
  width:18px;
  height:18px;
  background:url('/icons/chevron-right.svg') center/18px no-repeat;
  flex-shrink:0
}
.business-options {
  display:inline-block;
  float:right;
  margin-top:8px
}
.business-grid .card::after {
  content:'';
  display:block;
  clear:both
}
@media(max-width:720px) {
  #header-user>button {
    min-height:var(--control-height)
  }
  .discovery-start .person-row {
    padding:8px 0;
    min-height:56px
  }
  .discovery-start #dismiss-discovery {
    width:44px;
    height:44px;
    min-width:44px;
    padding:0
  }
  .inbox-back {
    min-width:48px;
    padding:4px 8px;
    flex-shrink:0
  }
}
@media(max-width:720px) {
  #close-dialog {
    width:44px;
    height:44px;
    flex:0 0 44px
  }
  .dialog-head {
    gap:8px
  }
  .dialog-head h2 {
    font-size:20px
  }
}
.filter-panel {
  margin-bottom:12px
}
.filter-panel>summary {
  display:none
}
.filter-panel:not([open])>#listing-filters {
  display:grid
}
.filter-panel>summary::-webkit-details-marker {
  display:none
}
@media(max-width:720px) {
  .filter-panel>summary {
    display:flex;
    align-items:center;
    gap:10px;
    min-height:var(--control-height);
    width:fit-content;
    cursor:pointer;
    padding:8px 12px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fff;
    font-size:13px
  }
  .filter-panel>summary::after {
    content:'';
    width:16px;
    height:16px;
    background:url('/icons/chevron-right.svg') center/16px no-repeat;
    transform:rotate(90deg)
  }
  .filter-panel[open]>summary::after {
    transform:rotate(-90deg)
  }
  .filter-panel:not([open])>#listing-filters {
    display:none
  }
  .filter-panel[open]>#listing-filters {
    margin-top:12px;
    margin-bottom:0
  }
}
.notice-card {
  display:flex;
  align-items:center;
  gap:12px
}
.notice-card>div {
  min-width:0;
  flex:1
}
.notice-card p {
  margin:0 0 4px
}
.notice-card small {
  font-size:12px;
  color:var(--muted)
}
.notice-open {
  width:44px;
  height:44px;
  flex:0 0 44px;
  display:grid;
  place-items:center;
  border-radius:50%
}
.notice-open:hover {
  background:var(--paper)
}
.notice-open .ui-icon {
  width:18px;
  height:18px
}
@media(max-width:720px) {
  .post-actions {
    flex-wrap:nowrap;
    gap:4px
  }
  .post-actions button {
    flex:1;
    min-width:44px;
    min-height:var(--control-height);
    padding:6px;
    justify-content:center;
    gap:6px
  }
  .post-actions .action-label {
    display:none
  }
  .post-actions [data-share] {
    order:4
  }
  .post-actions [data-interact=bookmarks] {
    order:3
  }
}
@media(max-width:720px) {
  .profile-cover {
    display:none
  }
  .profile-identity {
    margin-top:0;
    padding-top:14px;
    align-items:center
  }
  .profile-identity>.avatar {
    border:0
  }
  .profile-identity h1 {
    margin-bottom:3px
  }
  .profile-identity .help {
    margin:0
  }
  .profile-actions>[data-friend] {
    order:-1;
    flex-basis:100%;
    border:0;
    background:transparent;
    justify-content:flex-start;
    padding:0;
    color:var(--muted);
    box-shadow:none
  }
}
@media(max-width:720px) {
  .dialog-head #close-dialog {
    flex-basis:44px;
    width:44px;
    height:44px;
    min-width:44px;
    min-height:var(--control-height)
  }
}
/* Authentication uses quiet secondary actions at every breakpoint. */ .auth-options {
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-top:4px;
  gap:0
}
.auth-options-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  width:100%
}
.auth-options button {
  min-height:var(--control-height);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 4px;
  border:0;
  border-radius:8px;
  background:transparent;
  box-shadow:none;
  font-size:13px;
  line-height:20px;
  white-space:nowrap;
  color:#5140df;
  font-weight:600
}
.auth-options button:hover {
  background:#f5f3fc
}
.auth-options .auth-help {
  color:var(--muted);
  font-size:12px;
  font-weight:400;
  padding:8px 12px
}
.business-grid .quiet-action {
  margin-top:4px
}
.profile-actions {
  gap:8px
}
.page-toolbar {
  align-items:center;
  gap:8px
}
.contact-notice .row {
  gap:8px
}
.post .row {
  gap:4px
}
.support-ticket .form>.primary {
  min-width:112px
}
.account-security .form>.primary {
  justify-self:start
}
.form .check a {
  border:0;
  background:transparent;
  padding:2px 0;
  margin:0;
  border-radius:4px;
  min-height:0;
  display:inline;
  font-weight:600
}
.inbox-back {
  margin-left:auto;
  min-height:30px;
  height:30px;
  border:1px solid var(--line);
  border-radius:6px;
  background:white;
  font-size:12px;
  font-weight:600
}
.business-grid .secondary {
  color:var(--primary);
  box-shadow:none;
}
/* Shared navigation position and compact media controls. */ html {
  scrollbar-gutter:stable
}
.post-page .section-head {
  display:none
}
.post-page .page-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:nowrap;
  gap:12px;
  margin:0 0 18px
}
.post-page .page-toolbar h2 {
  margin:0
}
.page-back {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:var(--control-height);
  white-space:nowrap;
  font-size:13px
}
.page-back .ui-icon {
  width:18px;
  height:18px;
  transform:rotate(180deg)
}
.tabs {
  display:flex;
  justify-content:center;
  width:fit-content;
  gap:4px;
  max-width:100%;
  padding:4px;
  margin:0 auto 18px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#eeedf8
}
.tabs button {
  padding:9px 14px;
  min-height:40px;
  border:0;
  border-radius:9px;
  font-size:12px;
  white-space:nowrap
}
.tabs button.selected {
  border:0;
  background:#fff;
  color:var(--primary);
  box-shadow:0 1px 4px #25205512
}
.tabs button:hover {
  background:#ffffff99
}
.tabs button.selected:hover {
  background:#fff
}
dialog.dialog-photo {
  width:fit-content;
  max-width:calc(100vw - 24px);
  max-height:calc(100dvh - 24px);
  padding:0;
  overflow:hidden;
  background:#171525;
  border-radius:16px;
  animation:none
}
.dialog-photo .dialog-head {
  position:absolute;
  top:8px;
  right:8px;
  z-index:2;
  margin:0;
  padding:0;
  background:transparent
}
.dialog-photo .dialog-head h2 {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%)
}
.dialog-photo .photo-close,.photo-arrow {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  min-height:var(--control-height);
  padding:0;
  border:1px solid #ffffff55;
  border-radius:50%;
  background:#252239cc;
  color:white;
  box-shadow:0 2px 8px #0002
}
.dialog-photo .photo-close img,.photo-arrow .ui-icon {
  filter:brightness(0) invert(1);
  width:20px;
  height:20px;
  background:transparent;
  border-radius:0
}
.photo-viewer {
  position:relative;
  touch-action:none;
  user-select:none
}
.photo-viewer>img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:0
}
.photo-status {
  position:absolute;
  inset:56px 16px 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:#fff;
  font-size:13px;
  text-align:center;
  pointer-events:none
}
.photo-status .photo-retry {
  pointer-events:auto;
  min-height:var(--control-height);
  padding:8px 14px;
  border:1px solid #ffffff55;
  border-radius:10px;
  color:#fff;
  background:#ffffff12
}
@media(max-width:1050px),(pointer:coarse) {
  .dialog-photo .photo-arrow {
    display:none
  }
}
.photo-counter {
  position:absolute;
  left:12px;
  top:12px;
  padding:5px 10px;
  border-radius:20px;
  background:#252239cc;
  color:white;
  font-size:12px;
  font-weight:600;
  line-height:24px
}
.photo-arrow {
  position:absolute;
  top:50%;
  transform:translateY(-50%)
}
.photo-prev {
  left:8px
}
.photo-next {
  right:8px
}
.photo-prev .ui-icon {
  rotate:180deg
}
.photo-arrow:disabled {
  opacity:.3;
  cursor:default
}
.photo-arrow:hover:not(:disabled),.dialog-photo .photo-close:hover {
  background:#5140df
}
@media(max-width:720px) {
  .tabs {
    gap:2px;
    padding:3px
  }
  .tabs button {
    padding:8px 11px;
    min-height:var(--control-height)
  }
  .post-page .page-toolbar {
    margin-bottom:12px
  }
  .post-page .page-toolbar h2 {
    font-size:22px
  }
  .page-back {
    padding:8px 12px
  }
}
/* The same action and spacing rules apply to every route and dialog. */ .sidebar {
  max-height:var(--sidebar-height,calc(100dvh - 144px))
}
.quiet-action,#content a.quiet-action {
  padding:8px 12px;
  background:#f5f3fc;
  border:1px solid #e6e2f3;
  border-radius:10px
}
.quiet-action:hover,#content a.quiet-action:hover {
  background:#ece7fa
}
.profile-stats .quiet-action {
  background:transparent;
  border:0;
  padding:6px 0
}
.business-grid .secondary {
  border:1px solid #e6e2f3;
  background:#f5f3fc;
  padding:8px 12px
}
.person-row {
  padding:8px 0;
  min-height:60px;
  gap:10px
}
.person-row>span {
  overflow-wrap:anywhere
}
.filter-tabs {
  display:inline-flex;
  gap:4px;
  max-width:100%;
  padding:4px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#eeedf8
}
.filter-tabs button {
  flex:0 1 auto;
  min-height:var(--control-height);
  padding:8px 12px;
  border:0;
  border-radius:9px;
  background:transparent
}
.filter-tabs button[aria-pressed=true] {
  background:#fff;
  color:var(--primary);
  box-shadow:0 1px 4px #25205512;
  border:0
}
@media(max-width:480px) {
  .filter-tabs {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px
  }
  .filter-tabs button {
    min-width:0
  }
}
.photo-file-field {
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  min-height:46px;
  padding:5px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  overflow:hidden
}
.photo-file-pick {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  border-radius:7px;
  color:var(--primary);
  font-size:12px;
  white-space:nowrap
}
.photo-file-field input[type=file] {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  padding:0;
  margin:0;
  opacity:0;
  cursor:pointer;
  z-index:1
}
.photo-file-name {
  font-size:12px;
  font-weight:400;
  color:var(--muted);
  min-width:0;
  white-space:nowrap
}
.photo-file-field:focus-within {
  outline:2px solid #8471ef;
  outline-offset:3px
}
.action-menu>div[popover] {
  position:fixed;
  inset:auto;
  margin:0;
  max-width:calc(100vw - 16px);
  overflow:auto;
  color:var(--ink)
}
.action-menu>div[popover] button {
  min-height:var(--control-height);
  white-space:normal;
  font-size:13px;
  line-height:20px
}
.action-menu>div button {
  border:0;
  background:transparent;
  box-shadow:none;
  display:block;
  text-align:left;
  font-weight:500
}
.action-menu>div button:hover {
  background:#f3f1fa
}
/* Search is a single field, including its icon and focus boundary. */ .search:focus-within {
  outline:2px solid #8471ef;
  outline-offset:2px
}
.search #search,.search #search:focus,.search #search:focus-visible {
  outline:none;
  border:0;
  box-shadow:none;
  background:transparent
}
/* One surface per component; nested empty states do not need another card. */ .empty h3 {
  margin:0 0 6px
}
.empty p {
  margin:0
}
.empty h3:last-child {
  margin:0
}
#dialog-body>.empty,.chat-panel>.empty {
  border:0;
  background:transparent;
  box-shadow:none;
  border-radius:0;
  padding:24px 12px
}
#dialog-body>.empty {
  margin:0
}
.photo-file-pick {
  border:0;
  background:transparent;
  padding:6px 8px
}
.photo-file-field:hover {
  background:#faf9fd
}
.discover {
  font-size:13px;
  min-height:60px
}
.discover b {
  font-size:18px
}
.person-row:last-child {
  border-bottom:0
}
.chat-heading .person {
  min-height:var(--control-height);
  display:flex;
  align-items:center
}
#support-results>h3 {
  margin:24px 0 12px
}
.photo-open {
  padding:0;
  border:0;
  background:transparent;
  cursor:zoom-in
}
.chat-photo-button {
  display:block;
  max-width:100%;
  border-radius:12px
}
.inspection-photo {
  display:block;
  width:100%;
  border-radius:12px
}
.section-toolbar {
  container:section-toolbar / inline-size
}
.section-head:has(>#tabs:not([hidden])) {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  margin-bottom:16px
}
.section-head:has(>#tabs:not([hidden])) h2 {
  margin:0
}
.section-head>#tabs:not([hidden]) {
  display:flex;
  grid-column:1/-1;
  grid-row:2;
  justify-self:center;
  margin:0
}
.section-head:has(>#tabs:not([hidden]))>:is(#area-filter,.select-control) {
  grid-column:2;
  grid-row:1;
  justify-self:end
}
@container section-toolbar (min-width:600px) {
  .section-head:has(>#tabs:not([hidden])) {
    grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr)
  }
  .section-head>#tabs:not([hidden]) {
    grid-column:2;
    grid-row:1
  }
  .section-head:has(>#tabs:not([hidden]))>:is(#area-filter,.select-control) {
    grid-column:3
  }
}
.notice-preferences {
  border:0;
  padding:0;
  margin:16px 0;
  min-width:0
}
.notice-preferences legend {
  font-weight:600;
  margin-bottom:8px
}
.notice-preferences .check {
  min-height:var(--control-height);
  margin:0;
  display:flex;
  align-items:center;
  gap:10px
}
.notice-preferences input[type=checkbox] {
  flex:0 0 auto;
  width:18px;
  height:18px;
  margin:0
}
.business-title {
  color:inherit;
  text-decoration:none;
  overflow-wrap:anywhere
}
.business-title:hover {
  text-decoration:underline
}
.business-detail h1 {
  font-size:clamp(22px,4vw,28px);
  margin:14px 0
}
.business-description,.business-info dd {
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
.business-info {
  display:grid;
  gap:16px;
  margin:24px 0
}
.business-info>div {
  display:grid;
  grid-template-columns:140px minmax(0,1fr);
  gap:12px
}
.business-info dt {
  font-weight:600
}
.business-info dd {
  margin:0;
  min-width:0
}
.business-contact,.business-owner {
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap
}
.business-call {
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  min-height:var(--control-height)
}
.business-contact .primary {
  width:auto
}
.business-owner {
  margin-top:24px;
  padding-top:16px;
  border-top:1px solid var(--line,#e7e4f2);
  justify-content:space-between
}
@media(max-width:480px) {
  .business-info>div {
    grid-template-columns:1fr;
    gap:4px
  }
  .business-contact {
    gap:8px
  }
  .business-owner {
    align-items:flex-start
  }
}
.listing-contact {
  display:flex;
  justify-content:flex-start;
  margin:16px 0
}
.listing-contact .secondary {
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:auto
}
.listing-chat-context {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:8px;
  padding:10px 12px;
  margin:0 12px 8px;
  background:var(--bg,#f7f6fd);
  border:1px solid var(--line,#e7e4f2);
  border-radius:12px
}
.listing-chat-context>div {
  min-width:0;
  display:grid;
  gap:4px
}
.listing-chat-context a {
  overflow-wrap:anywhere;
  font-weight:600
}
.listing-chat-context>button {
  flex-shrink:0;
  min-width:44px;
  min-height:var(--control-height);
  padding:8px
}
.bubble a {
  color:inherit;
  text-decoration:underline;
  overflow-wrap:anywhere
}
/* Image zoom never moves its close, retry or navigation controls. */ .photo-viewer {
  overflow:hidden
}
.photo-viewer>img {
  transform-origin:center;
  will-change:transform
}
.photo-viewer[data-zoomed=true] {
  cursor:grab
}
.photo-viewer[data-zoomed=true]:active {
  cursor:grabbing
}
.photo-zoom {
  position:absolute;
  right:12px;
  bottom:12px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#272438dd;
  color:#fff;
  font-size:24px;
  z-index:2
}
.photo-zoom:disabled {
  opacity:.4
}

.search-results article{padding:14px 0;overflow-wrap:anywhere}.search-results article+article{border-top:1px solid #eceaf5}.search-results article p{margin:6px 0}.search-results a{color:inherit}.search-results h3{margin-bottom:8px}

.chat-audio{display:block;width:260px;max-width:100%;height:40px;margin:8px 0}.call-history-row strong{overflow-wrap:anywhere}
