* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fffaf5;
  color: #2f241f;
  line-height: 1.6;
}

/* HEADER */

header {
  width: 100%;
  padding: 20px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fffaf5;
  border-bottom: 1px solid #eadfd6;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: #6f3f28;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: #3f3029;
  font-size: 15px;
  font-weight: 600;
}

nav a:hover {
  color: #9b5f3b;
}

.signup-btn {
  border: none;
  background: #6f3f28;
  color: white;
  padding: 11px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.signup-btn:hover {
  background: #58301f;
}

/* HERO */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 70px 8%;
  background:
    radial-gradient(circle at 80% 30%, #ead6c5 0, transparent 30%),
    linear-gradient(135deg, #fffaf5 0%, #f5e8dd 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 0 0 48%;
  background: url("assets/coffee-pour.png") center 44% / cover no-repeat;
  filter: saturate(.86) contrast(.94);
  transform: scale(1.015);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,
    #fffaf5 0%,
    rgba(255, 250, 245, .98) 36%,
    rgba(255, 250, 245, .78) 53%,
    rgba(255, 250, 245, .18) 74%,
    rgba(255, 250, 245, .05) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.eyebrow {
  color: #a1623b;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 24px;
  color: #2e211b;
}

.hero h1 span {
  color: #8b4728;
}

.hero-text {
  font-size: 20px;
  max-width: 610px;
  color: #67564d;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.primary-btn,
.secondary-btn {
  padding: 15px 25px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.primary-btn {
  background: #7b4328;
  color: white;
  border: 2px solid #7b4328;
}

.primary-btn:hover {
  background: #60331f;
  border-color: #60331f;
}

.secondary-btn {
  background: transparent;
  color: #7b4328;
  border: 2px solid #7b4328;
}

.secondary-btn:hover {
  background: #f1ddd0;
}

.small-text {
  color: #7a6a60;
  font-size: 14px;
}

/* HOW IT WORKS */

.how-it-works {
  padding: 90px 8%;
  text-align: center;
  background: white;
}

.how-it-works h2 {
  font-size: 42px;
  color: #2e211b;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 18px;
  color: #7a6a60;
  margin-bottom: 50px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.step {
  background: #fffaf5;
  padding: 40px 28px;
  border-radius: 20px;
  border: 1px solid #eee1d7;
}

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #7b4328;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}

.step h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.step p {
  color: #6f6159;
}

/* FOOTER */

footer {
  background: #2e211b;
  color: #d9cdc5;
  text-align: center;
  padding: 25px;
}

/* MOBILE */

@media (max-width: 800px) {
  header {
    position: sticky;
    top: 0;
    z-index: 50;
    gap: 12px;
    padding: 12px 4%;
    box-shadow: 0 5px 20px rgba(63, 42, 31, .07);
  }

  nav a {
    display: none;
  }

  nav {
    gap: 7px;
  }

  nav .signin-btn,
  nav .signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    white-space: nowrap;
  }

  nav .signin-btn {
    padding: 7px 10px;
    font-size: 13px;
  }

  nav .signup-btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .logo {
    font-size: 24px;
  }

  .hero {
    min-height: auto;
    padding: 76px 6% 82px;
    background: #f8eee6;
  }

  .hero::before {
    inset: 0;
    background-position: center 51%;
    opacity: .29;
    filter: saturate(.78) contrast(.9);
  }

  .hero::after {
    background: linear-gradient(90deg,
      rgba(255, 250, 245, .97) 0%,
      rgba(255, 250, 245, .92) 56%,
      rgba(255, 250, 245, .68) 100%);
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-text {
    font-size: 18px;
  }

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

  .how-it-works h2 {
    font-size: 34px;
  }
}
/* SIGNUP PAGE */

.signup-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    linear-gradient(135deg, rgba(255, 250, 245, .89), rgba(245, 232, 221, .78)),
    url("assets/coffee-form-background.png") center / cover fixed no-repeat;
}

.signup-card {
  width: 100%;
  max-width: 520px;
  background:
    linear-gradient(to bottom,
      rgba(255, 250, 245, .94) 0%,
      rgba(255, 250, 245, .90) 54%,
      rgba(255, 250, 245, .76) 100%),
    url("assets/coffee-form-background.png") 67% center / cover no-repeat;
  padding: 42px;
  border-radius: 24px;
  border: 1px solid rgba(139, 71, 40, .23);
  box-shadow: 0 22px 60px rgba(48, 29, 20, .24), inset 0 1px rgba(255, 255, 255, .72);
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: #7b4328;
  text-decoration: none;
  font-weight: 700;
}

.signup-heading {
  margin-bottom: 30px;
}

.signup-heading h1 {
  font-size: 38px;
  line-height: 1.1;
  margin-bottom: 10px;
  color: #2e211b;
}

.signup-heading p {
  color: #75665d;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
  color: #3f3029;
}

.form-group input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #d8ccc4;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 3px 12px rgba(65, 39, 27, .055);
}

.form-group input:focus {
  border-color: #8b4c2d;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 24px;
  color: #685a52;
  font-size: 14px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 250, 245, .67);
}

.checkbox-row input {
  margin-top: 4px;
}

.create-account-btn {
  width: 100%;
  border: none;
  padding: 15px;
  border-radius: 30px;
  background: #7b4328;
  color: white;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.create-account-btn:hover {
  background: #60331f;
}

.signin-text {
  margin-top: 22px;
  text-align: center;
  color: #75665d;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255, 250, 245, .64);
}

.signin-text a {
  color: #7b4328;
  font-weight: 700;
  text-decoration: none;
}

.password-help-link {
  margin-top: 16px;
  text-align: center;
}

.password-help-link a,
.auth-form-message a {
  color: #7b4328;
  font-weight: 600;
}

.auth-form-message {
  min-height: 24px;
  margin-top: 18px;
  padding: 0 4px;
  color: #655148;
  line-height: 1.55;
  text-align: center;
}

.auth-form-message.is-success {
  padding: 13px 15px;
  border: 1px solid #b9d8bf;
  border-radius: 12px;
  background: #edf8ef;
  color: #195f31;
}

.auth-form-message.is-error {
  padding: 13px 15px;
  border: 1px solid #e3b0a9;
  border-radius: 12px;
  background: #fff0ee;
  color: #8b2f28;
}

.auth-captcha {
  display: flex;
  justify-content: center;
  min-height: 65px;
  margin: 14px 0;
}

.signup-card select,
.signup-card textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #d8c7bb;
  border-radius: 12px;
  background: white;
  color: #33251f;
  font: inherit;
}

.signup-card textarea { resize: vertical; }

@media (max-width: 600px) {
  .signup-card {
    padding: 30px 22px;
    border-radius: 20px;
    background:
      linear-gradient(to bottom,
        rgba(255, 250, 245, .95) 0%,
        rgba(255, 250, 245, .91) 52%,
        rgba(255, 250, 245, .70) 100%),
      url("assets/coffee-form-background-mobile.png") center bottom / cover no-repeat;
  }

  .signup-page {
    align-items: flex-start;
    padding: 26px 14px;
    background:
      linear-gradient(rgba(255, 250, 245, .86), rgba(245, 232, 221, .82)),
      url("assets/coffee-form-background-mobile.png") center / cover fixed no-repeat;
  }

  .signup-heading h1 {
    font-size: 32px;
  }
}

/* DASHBOARD */

.dashboard-page {
  min-height: 100vh;
  background: #fffaf5;
}

.dashboard-header {
  padding: 20px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-bottom: 1px solid #eadfd6;
}

.dashboard-signout {
  background: transparent;
  border: 2px solid #7b4328;
  color: #7b4328;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-signout:hover {
  background: #f5e8dd;
}

.dashboard-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 30px;
}

.dashboard-welcome {
  margin-bottom: 45px;
}

.dashboard-welcome h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 12px;
  color: #2e211b;
}

.dashboard-welcome p {
  color: #6f6159;
  font-size: 18px;
}

.dashboard-location {
  margin-top: 10px;
  font-weight: 700;
  color: #7b4328 !important;
}

@media (max-width: 360px) {
  header {
    padding-inline: 10px;
  }

  .logo {
    font-size: 21px;
  }

  nav .signin-btn {
    padding-inline: 6px;
    font-size: 12px;
  }

  nav .signup-btn {
    padding-inline: 11px;
    font-size: 12px;
  }
}

.profile-card { margin-bottom: 35px; padding: 30px 38px; border: 1px solid #eadfd6; border-radius: 24px; background: white; }
.profile-photo-area { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid #eadfd6; }
.profile-photo-preview { width: 96px; height: 96px; flex: 0 0 96px; overflow: hidden; border-radius: 50%; background: #ead9ce; color: #6f3f28; display: grid; place-items: center; font-size: 26px; font-weight: 800; }
.profile-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo-title { color: #2e211b; font-weight: 800; }
.profile-photo-help { color: #75665d; font-size: 14px; }
.profile-photo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.photo-upload-btn, .photo-remove-btn { padding: 9px 14px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.photo-upload-btn { background: #7b4328; color: white; }
.photo-remove-btn { border: 1px solid #7b4328; background: transparent; color: #7b4328; }
.profile-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.profile-heading .eyebrow { margin-bottom: 5px; }
.profile-heading p:not(.eyebrow) { color: #75665d; }
.profile-form { margin-top: 26px; padding-top: 26px; border-top: 1px solid #eadfd6; }
.profile-form[hidden] { display: none; }
.profile-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.profile-age-visibility {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  border: 1px solid #e2d2c8;
  border-radius: 14px;
  background: rgba(255, 250, 245, 0.78);
  cursor: pointer;
}
.profile-age-visibility input { width: 18px; height: 18px; margin-top: 3px; accent-color: #7b4328; }
.profile-age-visibility span { display: grid; gap: 2px; }
.profile-age-visibility strong { color: #3d2a22; font-weight: 600; }
.profile-age-visibility small { color: #75665d; line-height: 1.45; }
.profile-save-btn { width: auto; margin-top: 4px; padding-left: 24px; padding-right: 24px; }
.profile-message { margin-top: 12px; color: #6f3f28; font-weight: 700; }

.availability-card {
  background: white;
  padding: 38px;
  border-radius: 24px;
  border: 1px solid #eadfd6;
  box-shadow: 0 12px 35px rgba(70, 45, 32, 0.07);
  margin-bottom: 35px;
}

.availability-card h2 {
  font-size: 30px;
  margin-bottom: 7px;
}

.availability-card > p {
  color: #75665d;
  margin-bottom: 28px;
}

.availability-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.availability-option {
  background: #fffaf5;
  border: 2px solid #eadfd6;
  padding: 28px 20px;
  border-radius: 18px;
  cursor: pointer;
  text-align: left;
}

.availability-option:hover {
  border-color: #a86b48;
}

.availability-option strong,
.availability-option small {
  display: block;
}

.availability-option strong {
  font-size: 18px;
  color: #2e211b;
  margin-bottom: 5px;
}

.availability-option small {
  color: #75665d;
  font-size: 14px;
}

.availability-icon {
  display: block;
  font-size: 28px;
  margin-bottom: 15px;
}

.active-option {
  border-color: #7b4328;
  background: #f8ede5;
}

.unavailable-btn {
  margin-top: 18px;
  padding: 11px 18px;
  border: 2px solid #7b4328;
  border-radius: 30px;
  background: transparent;
  color: #7b4328;
  font-weight: 700;
  cursor: pointer;
}

.availability-duration { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.availability-duration label { color: #2e211b; font-weight: 700; }
.availability-duration select { padding: 10px 36px 10px 12px; border: 1px solid #d8c7bb; border-radius: 10px; background: white; color: #2e211b; font: inherit; cursor: pointer; }

@media (max-width: 500px) {
  .availability-duration { align-items: flex-start; flex-direction: column; }
}

.unavailable-btn:hover,
.active-unavailable {
  background: #7b4328;
  color: white;
}

.availability-message {
  margin-top: 24px;
  padding: 14px 18px;
  background: #f7f0ea;
  border-radius: 12px;
  color: #6f3f28;
  font-weight: 700;
}

.coffee-people-section {
  background: #2e211b;
  color: white;
  padding: 35px;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.coffee-people-section h2 {
  font-size: 30px;
  margin-bottom: 5px;
}

.coffee-people-section p {
  color: #d9cdc5;
}

@media (max-width: 700px) {
  .dashboard-main {
    padding: 45px 20px;
  }

  .dashboard-welcome h1 {
    font-size: 38px;
  }

  .availability-options {
    grid-template-columns: 1fr;
  }

  .profile-card { padding: 26px 22px; }
  .profile-heading { flex-direction: column; align-items: flex-start; }
  .profile-fields { grid-template-columns: 1fr; }

  .coffee-people-section {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* COFFEE PEOPLE RESULTS */

.coffee-people-section {
  display: block;
}

.coffee-people-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.coffee-people-results {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.coffee-person-card {
  background: #fffaf5;
  color: #2e211b;
  padding: 22px;
  border-radius: 18px;
}

.coffee-person-card h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.coffee-person-card p {
  color: #6f6159;
}

.coffee-status {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 11px;
  border-radius: 20px;
  background: #e8f3e8;
  color: #315b35;
  font-size: 13px;
  font-weight: 700;
}

.coffee-empty-message {
  color: #d9cdc5 !important;
}

@media (max-width: 700px) {
  .coffee-people-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .coffee-people-results {
    grid-template-columns: 1fr;
  }

  .coffee-person-card .person-photo { width: 76px; height: 76px; }
  .sent-invite-card .person-photo,
  .invite-card .person-photo { width: 64px; height: 64px; }
}

.people-search-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.07); }
.people-search-controls label { display: grid; gap: 7px; color: #fff; font-size: 13px; font-weight: 800; }
.people-search-controls select, .people-search-controls input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d8c6ba; border-radius: 10px; background: #fffaf5; color: #2e211b; font: inherit; }
.people-search-controls [hidden] { display: none; }
.location-autocomplete { position: relative; display: block; }
.location-suggestions { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-height: 260px; overflow-y: auto; padding: 6px; border: 1px solid #d8c6ba; border-radius: 12px; background: #fffaf5; box-shadow: 0 14px 32px rgba(25,15,10,.24); }
.location-suggestion { display: block; width: 100%; padding: 11px 12px; border: 0; border-radius: 8px; background: transparent; color: #2e211b; text-align: left; font: inherit; cursor: pointer; }
.location-suggestion:hover, .location-suggestion:focus { background: #f1e3d8; outline: none; }
.location-suggestion-main { display: block; font-weight: 800; }
.location-suggestion-detail { display: block; margin-top: 2px; color: #70584b; font-size: 12px; }
.location-suggestions-status { display: block; padding: 11px 12px; color: #70584b; font-size: 13px; }
.people-search-map-panel { position: relative; margin-top: 14px; padding: 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.07); }
.people-search-map-panel[hidden] { display: none; }
.people-search-map { height: 280px; border-radius: 12px; overflow: hidden; }
.people-search-map-panel p { margin: 9px 4px 2px; color: #f5e9e1; font-size: 13px; }
.people-map-center { position: absolute; z-index: 500; top: 140px; left: 50%; width: 42px; height: 42px; display: grid; place-items: center; transform: translate(-50%, -50%); border: 3px solid #fffaf5; border-radius: 50%; background: #8b4728; box-shadow: 0 5px 16px rgba(0,0,0,.35); pointer-events: none; }
.people-map-search-btn { position: absolute; z-index: 600; top: 22px; left: 50%; transform: translateX(-50%); padding: 10px 18px; border: 2px solid #8b4728; border-radius: 999px; background: #fffaf5; color: #733a22; font-weight: 800; box-shadow: 0 5px 16px rgba(0,0,0,.22); cursor: pointer; }
.people-map-search-btn:hover { background: #f1e3d8; }
.people-map-search-btn:disabled { opacity: .72; cursor: wait; }
.people-search-message { margin-top: 12px; font-size: 14px; }
.coffee-distance { color: #70584b !important; font-size: 14px; font-weight: 700; }

@media (max-width: 900px) { .people-search-controls { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .people-search-controls { grid-template-columns: 1fr; } .coffee-people-heading { align-items: flex-start; flex-direction: column; } .coffee-people-results { grid-template-columns: 1fr; } }
/* SENT INVITES */

.sent-invites-section { margin-top: 36px; padding: 36px; border-radius: 24px; background: white; border: 1px solid #eadfd6; }
.sent-invites-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.sent-invites-results { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sent-invite-card { position: relative; padding: 22px; border: 1px solid #ead9ce; border-radius: 18px; background: #fffaf5; }
.sent-invite-label { color: #8b5a41; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.sent-invite-date { margin: 5px 0 14px; color: #6f6159; font-size: 14px; }
.sent-invite-status { display: inline-block; padding: 6px 11px; border-radius: 20px; font-size: 13px; font-weight: 700; text-transform: capitalize; }
.status-pending { background: #fff0cf; color: #775200; }
.status-accepted { background: #e8f3e8; color: #315b35; }
.status-declined { background: #f7e4e1; color: #853c32; }
.sent-invites-empty-message { color: #6f6159; }

.invite-coffee-btn:disabled {
  margin-top: 14px;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: #e9ddd4;
  color: #6f6159;
  font-weight: 700;
}

.person-photo { width: 58px; height: 58px; margin-bottom: 14px; border-radius: 50%; object-fit: cover; }
.person-photo-fallback { display: grid; place-items: center; background: #ead9ce; color: #6f3f28; font-weight: 800; }

.member-profile-trigger {
  cursor: pointer;
}

.member-profile-trigger:hover,
.member-profile-trigger:focus-visible {
  color: #8f4727;
  outline: none;
  filter: brightness(.96);
}

.member-profile-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(38, 25, 20, .58);
}

.member-profile-modal[hidden] { display: none; }

.member-profile-dialog {
  position: relative;
  width: min(440px, 100%);
  padding: 36px;
  border: 1px solid #ead9ce;
  border-radius: 26px;
  background: #fffaf5;
  box-shadow: 0 24px 70px rgba(49, 31, 22, .24);
  text-align: center;
}

.member-profile-close {
  position: absolute;
  top: 15px;
  right: 17px;
  width: 42px;
  height: 42px;
  border: 1px solid #d7ac93;
  border-radius: 50%;
  background: #fffaf5;
  color: #7c3f24;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
}

.member-profile-photo-wrap { display: grid; place-items: center; margin-bottom: 18px; }
.member-profile-photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.member-profile-photo-fallback { display: grid; place-items: center; background: #ead9ce; color: #6f3f28; font-size: 30px; font-weight: 700; }
.member-profile-photo-fallback[hidden] { display: none; }
.member-profile-eyebrow { margin: 0 0 8px; color: #9a4d28; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.member-profile-dialog h2 { margin: 0 0 8px; font-size: 30px; }
.member-profile-age, .member-profile-location, .member-profile-verification, .member-profile-message { margin: 8px 0; }
.member-profile-verification { color: #176637; font-weight: 700; }
.member-profile-message { color: #75665d; }
.member-profile-privacy { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid #ead9ce; color: #86756a; font-size: 13px; }

.notification-preferences-section {
  padding: 34px;
  border: 1px solid #ead9ce;
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
}
.notification-preferences-heading h2 { margin: 0 0 8px; }
.notification-preferences-heading p { margin: 0; color: #75665d; }
.notification-preferences-form { margin-top: 24px; }
.notification-preferences-form fieldset { display: grid; gap: 12px; margin: 0 0 20px; padding: 0; border: 0; }
.notification-preferences-form legend { margin-bottom: 14px; font-weight: 700; }
.notification-choice { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid #dfc2b0; border-radius: 16px; background: #fffaf5; cursor: pointer; }
.notification-choice:has(input:checked) { border-color: #914626; box-shadow: 0 0 0 2px rgba(145, 70, 38, .1); }
.notification-choice input { margin-top: 4px; accent-color: #914626; }
.notification-choice span { display: grid; gap: 5px; }
.notification-choice small { color: #75665d; line-height: 1.45; }
.photo-preview-trigger { cursor: zoom-in; }
.photo-preview-trigger.member-profile-trigger { cursor: pointer; }

.photo-modal[hidden] { display: none; }
.photo-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; background: rgba(31, 22, 18, 0.82); }
.photo-modal img { width: min(320px, 86vw); height: min(320px, 86vw); border: 5px solid white; border-radius: 24px; object-fit: cover; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); }
.photo-modal-close { position: fixed; top: 20px; right: 24px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: white; color: #2e211b; font-size: 30px; line-height: 1; cursor: pointer; }
.modal-open { overflow: hidden; }

.invite-coffee-btn {
  display: block;
  margin-top: 16px;
  padding: 10px 15px;
  border: 0;
  border-radius: 12px;
  background: #7b4328;
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.invite-coffee-btn:hover:not(:disabled) {
  background: #60331f;
}

@media (max-width: 700px) {
  .sent-invites-section { padding: 26px 22px; }
  .sent-invites-heading { flex-direction: column; align-items: flex-start; }
  .sent-invites-results { grid-template-columns: 1fr; }
}

/* COFFEE INVITES */

.invites-section {
  margin-top: 36px;
  padding: 36px;
  border-radius: 24px;
  background: #fffaf5;
}

.invites-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.invites-results {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.invite-card {
    position: relative;
    padding: 22px;
  border: 1px solid #ead9ce;
  border-radius: 18px;
  background: white;
}

.invite-from {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8b5a41;
}

.invite-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.accept-invite-btn,
.decline-invite-btn {
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.accept-invite-btn {
  border: none;
  background: #7b4328;
  color: white;
}

.decline-invite-btn {
  border: 1px solid #7b4328;
  background: transparent;
  color: #7b4328;
}

.invite-status {
  margin-top: 14px;
  font-weight: 700;
  text-transform: capitalize;
}

.invite-card-focus {
  scroll-margin-top: 110px;
  border-color: #9d5b38;
  box-shadow: 0 0 0 4px rgba(157, 91, 56, 0.16), 0 18px 42px rgba(83, 48, 30, 0.14);
  animation: accepted-invite-focus 1.15s ease-in-out 2;
}

@keyframes accepted-invite-focus {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.dismiss-invite-card-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #c98e70;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #7b3f22;
  font: 700 24px/1 Arial, sans-serif;
  cursor: pointer;
}

.dismiss-invite-card-btn:hover,
.dismiss-invite-card-btn:focus-visible {
  background: #7b3f22;
  color: white;
  outline: none;
}

.hidden-invitations-box {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 4px;
  padding: 16px 18px;
  border: 1px solid #e5cdbf;
  border-radius: 16px;
  background: rgba(255, 250, 245, 0.9);
}

.hidden-invitations-heading,
.hidden-invitation-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hidden-invitations-heading h4 {
  margin: 0;
  color: #4d2d20;
  font-size: 16px;
}

.hidden-invitations-heading > span {
  min-width: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #8a4627;
  color: white;
  text-align: center;
  font-weight: 800;
}

.hidden-invitation-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ead9ce;
  color: #665249;
}

.reopen-hidden-invite-btn {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: 1px solid #8a4627;
  border-radius: 999px;
  background: white;
  color: #7b3f22;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.hidden-invitation-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.hidden-invitation-actions button {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.remove-hidden-invite-btn {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: 1px solid #a83232;
  border-radius: 999px;
  background: white;
  color: #922b2b;
  font-weight: 700;
  cursor: pointer;
}

.remove-hidden-invite-btn:hover,
.remove-hidden-invite-btn:focus-visible {
  background: #922b2b;
  color: white;
  outline: none;
}

.reopen-hidden-invite-btn:hover,
.reopen-hidden-invite-btn:focus-visible {
  background: #7b3f22;
  color: white;
  outline: none;
}

.invite-time { margin-top: 10px; color: #75665d; font-size: 14px; }
.invite-waiting { margin-top: 10px; color: #8b5a41; font-size: 14px; font-weight: 700; }

.meeting-planner {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #dbc5b6;
  border-radius: 14px;
  background: #fffaf5;
}

.meeting-confirmed { border-color: #9fc5a2; background: #f1f8f1; }
.meeting-chat-rule { margin-top: 10px; color: #4d6d50; font-size: 13px; font-weight: 800; }
.meeting-label { margin-bottom: 8px; color: #8b5a41; font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.meeting-cancelled { margin-bottom: 12px; color: #853c32; font-weight: 700; }
.meeting-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.meeting-fields label { color: #4c3a31; font-size: 14px; font-weight: 700; }
.meeting-fields input { width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #d8c7bb; border-radius: 10px; background: white; font: inherit; }
.meeting-address-field { grid-column: 1 / -1; }
.meeting-address-autocomplete { position: relative; display: block; }
.meeting-address-suggestions { top: calc(100% + 6px); z-index: 900; text-transform: none; letter-spacing: normal; font-weight: 400; }
.meeting-map-link { display: inline-block; margin-top: 10px; color: #7b4328; font-weight: 700; }
.meeting-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.meeting-waiting-confirmation { align-self: center; color: #775200; font-size: 14px; font-weight: 700; }
.save-meeting-btn, .confirm-meeting-btn, .cancel-meeting-btn { margin-top: 14px; padding: 10px 15px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.save-meeting-btn, .confirm-meeting-btn { border: 0; background: #7b4328; color: white; }
.cancel-meeting-btn { border: 1px solid #7b4328; background: transparent; color: #7b4328; }
.meeting-actions .confirm-meeting-btn, .meeting-actions .cancel-meeting-btn { margin-top: 0; }

@media (max-width: 600px) {
  .meeting-fields { grid-template-columns: 1fr; }
  .profile-photo-area { align-items: flex-start; }
}

/* POLISHED MOBILE DASHBOARD */
@media (max-width: 600px) {
  html {
    scroll-padding-top: 76px;
  }

  .sent-invites-heading,
  .invites-heading,
  .messages-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .hidden-invitation-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hidden-invitation-actions {
    width: 100%;
  }

  .dismiss-invite-card-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #d9bca9;
    border-radius: 50%;
    background: rgba(255, 250, 245, .92);
    color: #7b3f22;
    font: 700 24px/1 Arial, sans-serif;
    cursor: pointer;
  }

  .dismiss-invite-card-btn:hover,
  .dismiss-invite-card-btn:focus-visible {
    background: #7b3f22;
    color: white;
    outline: none;
  }

  .restore-hidden-invites-btn {
    align-self: start;
    justify-self: start;
    padding: 10px 14px;
    border: 1px solid #a96542;
    border-radius: 999px;
    background: rgba(255, 250, 245, .92);
    color: #7b3f22;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  .restore-hidden-invites-btn:hover,
  .restore-hidden-invites-btn:focus-visible {
    background: #7b3f22;
    color: white;
    outline: none;
  }

  body {
    overflow-x: hidden;
    background: #fbf6f1;
  }

  button,
  input,
  select,
  textarea {
    font-size: 16px;
  }

  button,
  select,
  input[type="date"],
  input[type="datetime-local"] {
    min-height: 46px;
  }

  .dashboard-header {
    position: sticky;
    top: 0;
    z-index: 45;
    min-height: 66px;
    padding: 10px 16px;
    box-shadow: 0 7px 24px rgba(55, 34, 24, .08);
  }

  .dashboard-header .logo,
  .dashboard-header .brand,
  .dashboard-header img {
    max-width: 148px;
  }

  .dashboard-signout {
    min-height: 42px;
    padding: 8px 14px;
    border-width: 1.5px;
    font-size: 14px;
    white-space: nowrap;
  }

  .dashboard-main {
    width: 100%;
    padding: 24px 12px 56px;
  }

  .dashboard-welcome {
    margin: 2px 4px 24px;
  }

  .dashboard-welcome h1 {
    margin-bottom: 8px;
    font-size: clamp(30px, 9vw, 38px);
    letter-spacing: -.7px;
  }

  .dashboard-welcome p {
    font-size: 16px;
    line-height: 1.55;
  }

  .dashboard-location {
    display: inline-flex;
    margin-top: 10px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #f3e7de;
    font-size: 14px !important;
  }

  .profile-card,
  .availability-card,
  .sent-invites-section,
  .invites-section,
  .messages-section,
  .blocked-users-section,
  .account-privacy-section,
  .membership-card {
    margin-bottom: 16px;
    padding: 20px 17px;
    border-radius: 20px;
    box-shadow: 0 9px 28px rgba(74, 44, 31, .055);
  }

  .sent-invites-section,
  .invites-section,
  .messages-section,
  .blocked-users-section,
  .account-privacy-section {
    margin-top: 16px;
  }

  .profile-heading,
  .sent-invites-heading,
  .invites-heading,
  .messages-heading,
  .blocked-users-heading,
  .account-privacy-heading,
  .membership-card {
    gap: 14px;
  }

  .profile-heading h2,
  .availability-card h2,
  .sent-invites-heading h2,
  .invites-heading h2,
  .messages-heading h2,
  .blocked-users-heading h2,
  .account-privacy-heading h2,
  .membership-card h2,
  .coffee-people-section h2 {
    font-size: clamp(25px, 7.2vw, 30px);
    line-height: 1.15;
  }

  .profile-heading > button,
  .sent-invites-heading > button,
  .invites-heading > button,
  .messages-heading > button,
  .blocked-users-heading > button,
  .account-privacy-heading > button,
  .membership-card > button,
  .membership-card > a {
    width: 100%;
  }

  .profile-photo-area {
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .profile-photo-preview {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }

  .profile-photo-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .profile-photo-actions button,
  .profile-photo-actions label {
    display: grid;
    min-height: 44px;
    place-items: center;
    text-align: center;
  }

  .profile-form {
    margin-top: 20px;
    padding-top: 20px;
  }

  .profile-fields,
  .meeting-fields {
    gap: 14px;
  }

  .profile-fields input,
  .profile-fields select,
  .meeting-fields input {
    min-height: 48px;
  }

  .profile-save-btn,
  .unavailable-btn,
  .availability-duration select,
  .later-availability-panel input,
  .later-availability-panel button {
    width: 100%;
  }

  .availability-card > p {
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .availability-options {
    gap: 10px;
  }

  .availability-option {
    position: relative;
    min-height: 96px;
    padding: 17px 18px 17px 58px;
    border-width: 1.5px;
    border-radius: 16px;
  }

  .availability-icon {
    position: absolute;
    top: 18px;
    left: 18px;
    margin: 0;
    font-size: 24px;
  }

  .availability-duration,
  .later-availability-panel {
    align-items: stretch;
    gap: 9px;
  }

  .later-availability-panel {
    padding: 14px;
  }

  .coffee-people-section {
    padding: 22px 16px;
    border-radius: 20px;
    gap: 18px;
    box-shadow: 0 14px 34px rgba(36, 23, 18, .15);
  }

  .coffee-people-heading {
    gap: 15px;
  }

  .coffee-people-heading > button {
    width: 100%;
    min-height: 50px;
  }

  .people-search-controls {
    gap: 13px;
    margin-top: 18px;
    padding: 14px;
    border-radius: 15px;
  }

  .people-search-controls select,
  .people-search-controls input {
    min-width: 0;
    min-height: 50px;
    border-radius: 12px;
  }

  .location-suggestions,
  .meeting-address-suggestions {
    position: fixed;
    z-index: 1200;
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-height: min(52vh, 390px);
    padding: 8px;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(25, 15, 10, .34);
  }

  .location-suggestion {
    min-height: 54px;
    padding: 12px;
  }

  .people-search-map-panel {
    margin-top: 12px;
    padding: 8px;
    border-radius: 15px;
  }

  .people-search-map {
    height: 235px;
    border-radius: 11px;
  }

  .people-map-center {
    top: 117px;
    width: 38px;
    height: 38px;
  }

  .people-map-search-btn {
    top: 18px;
    width: max-content;
    max-width: calc(100% - 88px);
    min-height: 44px;
    padding: 8px 15px;
  }

  .people-search-map-panel p,
  .people-search-message {
    line-height: 1.5;
  }

  .coffee-people-results,
  .sent-invites-results,
  .invites-results {
    gap: 12px;
    margin-top: 18px;
  }

  .coffee-person-card,
  .sent-invite-card,
  .invite-card {
    min-width: 0;
    padding: 18px;
    border-radius: 16px;
  }

  .coffee-person-card .person-photo {
    width: 68px;
    height: 68px;
  }

  .invite-coffee-btn,
  .invite-actions,
  .meeting-actions {
    width: 100%;
  }

  .invite-coffee-btn {
    min-height: 46px;
  }

  .invite-actions,
  .meeting-actions,
  .delete-account-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .invite-actions button,
  .meeting-actions button,
  .delete-account-actions button {
    width: 100%;
  }

  .meeting-planner,
  .delete-account-confirmation {
    padding: 15px;
    border-radius: 15px;
  }

  .meeting-address-field {
    min-width: 0;
  }

  .meeting-fields input,
  .meeting-map-link,
  .meeting-waiting-confirmation,
  .sent-invite-date,
  .message-thread-preview,
  .membership-help {
    overflow-wrap: anywhere;
  }

  .live-notification {
    top: 72px;
    width: calc(100% - 20px);
    margin: 8px auto;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.4;
  }

  .message-thread {
    gap: 12px;
    padding: 14px;
    border-radius: 15px;
  }

  .message-thread .person-photo {
    width: 50px;
    height: 50px;
  }

  .message-thread-copy {
    width: calc(100% - 64px);
  }

  .message-thread-actions {
    gap: 8px;
  }

  .message-thread .open-chat-btn,
  .message-thread .archive-chat-btn {
    min-height: 44px;
    padding: 9px 12px;
  }

  .blocked-user-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .unblock-user-btn {
    width: 100%;
  }

  .chat-dialog {
    max-height: 91dvh;
    border-radius: 24px 24px 0 0;
  }

  .chat-header {
    padding: 14px 16px;
  }

  .chat-safety-actions {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 9px 14px;
  }

  .chat-safety-actions button {
    flex: 0 0 auto;
  }

  .chat-messages {
    min-height: 0;
    padding: 14px;
  }

  .chat-bubble {
    max-width: 86%;
  }

  .chat-form {
    gap: 8px;
    padding: 12px;
  }

  .chat-form button {
    min-width: 72px;
    padding: 0 13px;
  }

  .verification-camera-modal {
    padding: 0;
  }

  .verification-camera-actions button {
    flex: 1 1 130px;
  }

  .photo-modal-close {
    top: max(14px, env(safe-area-inset-top));
    right: 14px;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
  }
}

@media (max-width: 380px) {
  .dashboard-header {
    padding-inline: 12px;
  }

  .dashboard-main {
    padding-inline: 9px;
  }

  .profile-card,
  .availability-card,
  .sent-invites-section,
  .invites-section,
  .messages-section,
  .blocked-users-section,
  .account-privacy-section,
  .membership-card {
    padding-inline: 14px;
  }

  .profile-photo-area {
    flex-direction: column;
  }

  .invite-actions,
  .meeting-actions,
  .delete-account-actions {
    grid-template-columns: 1fr;
  }
}
.form-help {
  display: block;
  margin-top: 6px;
  color: #7a6a60;
  font-size: 13px;
  line-height: 1.4;
}

.verification-status { margin-top: 10px; color: #7a6a60; font-size: 14px; font-weight: 700; }
.verified-badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; background: #e6f4ea; color: #176b36; font-family: Arial, sans-serif; font-size: 12px; font-weight: 800; line-height: 1; vertical-align: middle; white-space: nowrap; }
.photo-verification-box { margin-top: 12px; }
.photo-verify-btn { padding: 9px 14px; border: 1px solid #7b4328; border-radius: 999px; background: transparent; color: #7b4328; font-weight: 800; cursor: pointer; }
.photo-verify-btn[disabled] { cursor: wait; opacity: .6; }
.photo-verification-help { max-width: 510px; margin: 8px 0 0; color: #75665d; font-size: 13px; line-height: 1.45; }
.verification-pending { color: #805c13; }
.verification-rejected { color: #953d32; }
.verification-camera-modal { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 18px; background: rgba(32, 22, 18, .68); }
.verification-camera-modal[hidden] { display: none; }
.verification-camera-dialog { width: min(520px, 100%); max-height: calc(100dvh - 24px); overflow-x: hidden; overflow-y: auto; border-radius: 22px; background: #fffaf5; box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.verification-camera-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px; border-bottom: 1px solid #ead9ce; }
.verification-camera-header h2 { margin: 0 0 6px; }
.verification-camera-header p { margin: 0; color: #75665d; font-size: 14px; }
.verification-camera-header button { border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; }
.verification-camera-stage { display: grid; place-items: center; height: min(50dvh, 430px); overflow: hidden; background: #2e211b; }
.verification-camera-stage video, .verification-camera-stage img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.verification-challenge-box { margin: 16px 20px 0; padding: 14px 16px; border: 1px solid #d9b896; border-radius: 14px; background: #fff3e6; }
.verification-challenge-label { margin: 0 0 4px; color: #8b5a41; font-size: 12px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.verification-challenge-text { margin: 0; color: #2f241f; font-size: 18px; font-weight: 900; }
.verification-challenge-box button { margin-top: 8px; border: 0; background: transparent; color: #7b4328; font-weight: 800; text-decoration: underline; cursor: pointer; }
.verification-camera-dialog > .profile-message { min-height: 22px; margin: 14px 20px 0; }
.verification-camera-actions { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 14px 20px 20px; border-top: 1px solid #ead9ce; background: #fffaf5; }
.verification-camera-actions .photo-upload-btn { display: inline-flex; align-items: center; cursor: pointer; }
.admin-page { min-height: 100vh; background: #fffaf5; }
.admin-dashboard-link { text-decoration: none; }
.admin-main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 80px; }
.admin-main h1 { margin-bottom: 8px; font-size: clamp(34px, 5vw, 52px); }
.admin-intro { max-width: 760px; color: #75665d; font-size: 17px; }
.admin-access-message { margin-top: 28px; padding: 18px; border: 1px solid #ead9ce; border-radius: 14px; background: white; font-weight: 800; }
.admin-access-message.denied { border-color: #e2aea7; background: #fff0ee; color: #8c3028; }
.admin-review-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 36px 0 18px; }
.photo-review-results { display: grid; gap: 20px; }
.photo-review-card { padding: 24px; border: 1px solid #ead9ce; border-radius: 22px; background: white; box-shadow: 0 12px 30px rgba(75,44,30,.06); }
.support-sender { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.support-sender > img, .support-sender > .admin-photo-fallback { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: 0 0 72px; }
.support-category { text-transform: capitalize; }
.support-user-message, .support-reply { margin: 16px 0; padding: 16px; border-radius: 16px; background: #fbf3ed; }
.support-reply { border-left: 4px solid #8a4527; background: #f0f8f1; }
.support-response-label { display: grid; gap: 8px; margin: 18px 0; font-weight: 700; }
.support-response-input { width: 100%; padding: 14px; border: 1px solid #dcbca9; border-radius: 14px; font: inherit; font-weight: 400; resize: vertical; }
.support-history-section { margin-top: 42px; padding-top: 28px; border-top: 1px solid #ddc8bb; }
.support-history-heading, .support-history-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.support-history { display: grid; gap: 16px; margin-top: 18px; }
.support-history-card { padding: 18px; border: 1px solid #ddc8bb; border-radius: 18px; background: rgba(255,255,255,.8); }
.support-status { padding: 5px 10px; border-radius: 999px; background: #efe2d9; text-transform: capitalize; font-size: .85rem; }
.support-awaiting { color: #76594b; font-style: italic; }
.account-alert-badge { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid white; border-radius: 50%; background: #bd2f2f; color: white; font-size: 13px; font-weight: 900; }
.account-alert-badge[hidden], .support-reply-badge[hidden] { display: none; }
.support-reply-badge { margin-left: auto; padding: 4px 8px; border-radius: 999px; background: #bd2f2f; color: white; font-size: 11px; font-weight: 900; }
.photo-review-person { margin-bottom: 18px; }
.photo-review-person h3 { margin-bottom: 2px; font-size: 24px; }
.photo-review-person p, .photo-review-person small { color: #75665d; }
.photo-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.photo-comparison figure { overflow: hidden; border: 1px solid #ead9ce; border-radius: 16px; background: #f5ebe3; }
.photo-comparison figcaption { padding: 10px 14px; background: #fffaf5; font-weight: 800; }
.photo-comparison img, .admin-photo-fallback { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.admin-photo-fallback { display: grid; place-items: center; color: #7b4328; font-size: 64px; font-weight: 900; }
.photo-review-guidance { margin-top: 16px; color: #75665d; font-size: 14px; }
.admin-challenge { margin-top: 16px; padding: 13px 15px; border-radius: 12px; background: #fff3e6; color: #5d3926; }
.photo-review-actions { display: flex; gap: 10px; margin-top: 16px; }
.approve-photo-btn, .reject-photo-btn { padding: 10px 18px; border-radius: 999px; font-weight: 800; cursor: pointer; }
.approve-photo-btn { border: 0; background: #1d6b39; color: white; }
.reject-photo-btn { border: 1px solid #a43b31; background: white; color: #a43b31; }
.photo-review-actions button[disabled] { cursor: wait; opacity: .6; }
.photo-review-message { margin-top: 10px; color: #7b4328; font-weight: 800; }
.admin-empty, .admin-error { padding: 24px; border: 1px solid #ead9ce; border-radius: 16px; background: white; }
.admin-error { color: #953d32; }

@media (max-width: 600px) {
  .verification-camera-modal { padding: 0; }
  .verification-camera-dialog { width: 100%; min-height: 100dvh; border-radius: 0; }
  .verification-camera-dialog { max-height: 100dvh; }
  .verification-camera-stage { height: 46dvh; }
  .photo-comparison { grid-template-columns: 1fr; }
  .admin-main { padding-top: 32px; }
}
.later-availability-panel { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 18px 0; padding: 18px; border: 1px solid #ead9ce; border-radius: 16px; background: #fffaf5; }
.later-availability-panel[hidden] { display: none; }
.later-availability-panel label { width: 100%; font-weight: 800; }
.later-availability-panel input { min-height: 52px; padding: 0 14px; border: 1px solid #d9c6ba; border-radius: 12px; font: inherit; }
.live-notification { position: sticky; top: 12px; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(1180px, calc(100% - 32px)); margin: 12px auto; padding: 14px 18px; border: 1px solid #b9d8bf; border-radius: 14px; background: #edf8ef; color: #195f31; box-shadow: 0 10px 28px rgba(46, 33, 27, .12); font-weight: 800; }
.live-notification[hidden] { display: none; }
.live-notification button { border: 0; background: transparent; color: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.live-notification.is-actionable { cursor: pointer; }
.live-notification.is-actionable:hover { border-color: #79b786; background: #e5f5e8; transform: translateY(-1px); }
.live-notification.is-actionable:focus-visible { outline: 3px solid rgba(43, 126, 67, .28); outline-offset: 2px; }
.open-chat-btn { margin-top: 12px; border: 0; border-radius: 999px; padding: 11px 18px; background: #2e211b; color: white; font-weight: 800; cursor: pointer; }
.chat-unread-badge { display: inline-flex; align-items: center; justify-content: center; margin-left: 8px; padding: 3px 7px; border-radius: 999px; background: #f3d46f; color: #33221a; font-size: 11px; font-weight: 900; line-height: 1; }
.messages-section { margin-top: 36px; padding: 34px; border: 1px solid #ead9ce; border-radius: 24px; background: #fff; box-shadow: 0 14px 36px rgba(75, 44, 30, .06); }
.messages-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.chat-rule-note { margin-top: 8px; color: #7b4328; font-size: 14px; font-weight: 800; }
.message-threads { display: grid; gap: 12px; }
.message-thread { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid #ead9ce; border-radius: 16px; background: #fffaf5; }
.message-thread .person-photo { flex: 0 0 auto; width: 56px; height: 56px; }
.message-thread-copy { min-width: 0; flex: 1; }
.message-thread-copy h3 { margin: 0 0 5px; }
.message-thread-preview { margin: 0; overflow: hidden; color: #75665d; text-overflow: ellipsis; white-space: nowrap; }
.message-thread-time { display: block; margin-top: 5px; color: #8a796f; font-size: 12px; }
.message-thread .open-chat-btn { flex: 0 0 auto; margin-top: 0; }
.message-thread-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.archive-chat-btn { border: 1px solid #b98a72; border-radius: 999px; padding: 10px 14px; background: transparent; color: #7b4328; font-weight: 800; cursor: pointer; }
.archive-chat-btn:hover { background: #f1e3d8; }
.past-conversations { margin-top: 20px; padding-top: 16px; border-top: 1px solid #ead9ce; }
.past-conversations[hidden] { display: none; }
.past-conversations summary { color: #7b4328; font-size: 18px; font-weight: 900; cursor: pointer; }
.past-conversations-help { margin: 8px 0 14px; color: #75665d; }
.past-conversations .message-thread { opacity: .82; }
.archived-conversations { padding: 18px; border: 1px solid #e5cdbf; border-radius: 16px; background: #fffaf5; }
.archived-conversations-heading { padding-bottom: 2px; }
.archived-conversations-title { margin: 0; color: #733b24; font-size: 1.15rem; font-weight: 700; }
.blocked-users-section { margin-top: 24px; padding: 28px 34px; border: 1px solid #ead9ce; border-radius: 24px; background: #fff; }
.blocked-users-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.blocked-users-results { display: grid; gap: 10px; margin-top: 18px; }
.blocked-user-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid #ead9ce; border-radius: 14px; background: #fffaf5; }
.blocked-user-row strong { display: block; }
.blocked-user-row small { color: #75665d; }
.unblock-user-btn { padding: 9px 14px; border: 1px solid #7b4328; border-radius: 999px; background: transparent; color: #7b4328; font-weight: 800; cursor: pointer; }
.account-privacy-section { margin-top: 24px; padding: 28px 34px; border: 1px solid #e5b9b3; border-radius: 24px; background: #fff; }
.account-privacy-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.account-privacy-heading p { max-width: 720px; color: #75665d; }
.delete-account-btn, .confirm-delete-account-btn { padding: 11px 18px; border: 1px solid #a43b31; border-radius: 999px; background: #a43b31; color: white; font-weight: 800; cursor: pointer; }
.delete-account-confirmation { margin-top: 22px; padding: 20px; border: 1px solid #e2aea7; border-radius: 16px; background: #fff0ee; }
.delete-account-confirmation[hidden] { display: none; }
.delete-account-confirmation h3 { color: #8c3028; }
.delete-account-confirmation label { display: block; margin-top: 14px; font-weight: 800; }
.delete-account-confirmation input { width: min(360px, 100%); margin-top: 6px; padding: 12px 14px; border: 1px solid #c88e86; border-radius: 10px; font: inherit; }
.delete-account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.confirm-delete-account-btn[disabled] { cursor: not-allowed; opacity: .45; }

.membership-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 42px; border: 1px solid #ead6ca; border-radius: 24px; background: #fff; }
.membership-card h2 { margin: 8px 0; }
.membership-card p { margin: 6px 0; }
.membership-card [hidden] { display: none !important; }
.membership-help { max-width: 720px; color: #745f53; }
.membership-pass-available { color: #176536; font-weight: 800; }
.membership-pass-used { color: #934126; font-weight: 800; }
@media (max-width: 700px) { .membership-card { align-items: flex-start; flex-direction: column; padding: 26px 22px; } }
.chat-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; background: rgba(32, 22, 18, .58); }
.chat-modal[hidden] { display: none; }
.chat-dialog { width: min(520px, 100%); max-height: min(720px, 90vh); display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fffaf5; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid #ead9ce; }
.chat-header button { border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.chat-person-heading { min-width: 0; display: flex; align-items: center; gap: 12px; }
.chat-person-heading h2 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-person-heading .person-photo,
#chatHeaderFallback { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; }
#chatHeaderFallback { display: grid; place-items: center; background: #ead8cb; color: #6f3f28; font-size: 14px; font-weight: 700; }
#chatHeaderFallback[hidden] { display: none; }
.chat-safety-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 9px 18px; border-bottom: 1px solid #ead9ce; }
.chat-safety-actions button { padding: 7px 12px; border: 1px solid #b99e8e; border-radius: 999px; background: transparent; color: #684b3d; font-weight: 800; cursor: pointer; }
.chat-safety-actions .danger-action { border-color: #a43f35; color: #8b2f28; }
.report-form { display: grid; gap: 10px; padding: 16px 18px; border-bottom: 1px solid #ead9ce; background: #fff3eb; }
.report-form[hidden] { display: none; }
.report-form label { font-weight: 800; }
.report-form select, .report-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #d9c6ba; border-radius: 10px; background: white; font: inherit; }
.report-form textarea { min-height: 80px; resize: vertical; }
.report-form-actions { display: flex; gap: 8px; }
.report-form-actions button { padding: 9px 13px; border: 1px solid #8b4526; border-radius: 10px; background: #8b4526; color: white; font-weight: 800; cursor: pointer; }
.report-form-actions #cancelReportBtn { background: transparent; color: #8b4526; }
.chat-messages { min-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.chat-expiration-message { margin: 0; padding: 12px 18px; border-top: 1px solid #e1c5a7; background: #fff4df; color: #704816; font-weight: 800; }
.chat-expiration-message[hidden], .chat-form[hidden] { display: none; }
.chat-empty { margin: auto; color: #7a6a60; text-align: center; }
.chat-bubble { max-width: 78%; padding: 10px 13px; border-radius: 15px; background: #f0e5dc; color: #2e211b; }
.chat-bubble-mine { align-self: flex-end; background: #8b4526; color: white; }
.chat-bubble time { display: block; margin-top: 4px; font-size: 11px; opacity: .75; }
.chat-message-row { align-self: flex-start; max-width: 88%; display: flex; align-items: flex-end; gap: 8px; }
.chat-message-row .chat-bubble { max-width: none; }
.chat-message-photo { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.chat-photo-fallback { display: grid; place-items: center; background: #ead8cb; color: #6f3f28; font-size: 10px; font-weight: 700; }
.chat-form { display: flex; gap: 10px; padding: 14px 18px; border-top: 1px solid #ead9ce; }
.chat-form input { flex: 1; min-width: 0; padding: 12px; border: 1px solid #d9c6ba; border-radius: 12px; font: inherit; }
.chat-form button { border: 0; border-radius: 12px; padding: 0 18px; background: #8b4526; color: white; font-weight: 800; }
.chat-dialog > .profile-message { min-height: 20px; margin: 0; padding: 0 18px 14px; }

@media (max-width: 600px) {
  .chat-modal { padding: 0; align-items: end; }
  .chat-dialog { width: 100%; max-height: 86vh; border-radius: 22px 22px 0 0; }
  .chat-messages { min-height: 300px; }
  .messages-section { padding: 22px 18px; }
  .messages-heading { align-items: flex-start; flex-direction: column; }
  .blocked-users-section { padding: 22px 18px; }
  .blocked-users-heading { align-items: flex-start; flex-direction: column; }
  .account-privacy-section { padding: 22px 18px; }
  .account-privacy-heading { align-items: flex-start; flex-direction: column; }
  .message-thread { align-items: flex-start; flex-wrap: wrap; }
  .message-thread-copy { width: calc(100% - 72px); }
  .message-thread-actions { width: 100%; }
  .message-thread .open-chat-btn, .message-thread .archive-chat-btn { flex: 1; }
}

/* Keep late-defined conversation components aligned with the mobile system above. */
@media (max-width: 600px) {
  .live-notification {
    top: 72px;
    width: calc(100% - 20px);
    margin: 8px auto;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.4;
  }

  .messages-section,
  .blocked-users-section,
  .account-privacy-section {
    padding: 20px 17px;
    border-radius: 20px;
  }

  .message-thread {
    gap: 12px;
    padding: 14px;
    border-radius: 15px;
  }

  .message-thread .person-photo {
    width: 50px;
    height: 50px;
  }

  .message-thread-copy {
    width: calc(100% - 64px);
  }

  .message-thread-actions {
    gap: 8px;
  }

  .message-thread .open-chat-btn,
  .message-thread .archive-chat-btn {
    min-height: 44px;
    padding: 9px 12px;
  }

  .blocked-user-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .unblock-user-btn {
    width: 100%;
  }

  .chat-dialog {
    max-height: 91dvh;
    border-radius: 24px 24px 0 0;
  }

  .chat-header {
    padding: 14px 16px;
  }

  .chat-safety-actions {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 9px 14px;
  }

  .chat-safety-actions button {
    flex: 0 0 auto;
  }

  .chat-messages {
    min-height: 0;
    padding: 14px;
  }

  .chat-bubble {
    max-width: 86%;
  }

  .chat-form {
    gap: 8px;
    padding: 12px;
  }

  .chat-form button {
    min-width: 72px;
    padding: 0 13px;
  }
}

/* APP-STYLE DASHBOARD NAVIGATION */
.dashboard-page {
  background:
    linear-gradient(rgba(255, 250, 245, .91), rgba(248, 239, 232, .94)),
    url("assets/coffee-form-background.png") 70% center / cover fixed no-repeat;
}

.dashboard-main > [data-app-view]:not(.is-active-view) {
  display: none !important;
}

.dashboard-account {
  position: relative;
}

.account-menu-trigger {
  width: 48px;
  height: 48px;
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 2px solid #ead5c8;
  border-radius: 50%;
  background: #f2e3d9;
  color: #6f3f28;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.account-menu-trigger:hover,
.account-menu-trigger[aria-expanded="true"] {
  transform: translateY(-1px);
  border-color: #8b4728;
  box-shadow: 0 7px 18px rgba(70, 39, 25, .16);
}

.account-menu-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-menu {
  position: absolute;
  z-index: 100;
  top: calc(100% + 10px);
  right: 0;
  width: min(280px, calc(100vw - 24px));
  overflow: hidden;
  padding: 8px;
  border: 1px solid #e5d3c7;
  border-radius: 18px;
  background: rgba(255, 250, 245, .98);
  box-shadow: 0 20px 55px rgba(44, 27, 19, .22);
}

.account-menu[hidden] {
  display: none;
}

.account-menu-user {
  display: grid;
  gap: 2px;
  margin: 2px 2px 7px;
  padding: 12px;
  border-radius: 12px;
  background: #f3e7de;
}

.account-menu-user strong {
  color: #2e211b;
  font-size: 16px;
}

.account-menu-user span {
  color: #75665d;
  font-size: 12px;
}

.account-menu > button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #3f3029;
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.account-menu-link {
  display: block;
  padding: 10px 12px;
  border-radius: 11px;
  color: #3f3029;
  font: inherit;
  font-weight: 750;
  text-align: left;
  text-decoration: none;
}

.account-menu-link[hidden] {
  display: none;
}

.account-menu-link:hover {
  background: #f0e2d8;
  color: #753d25;
}

.footer-links,
.auth-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}

footer .footer-links {
  margin-top: 10px;
}

footer .footer-links a {
  display: inline-flex;
  color: #f2ded2;
}

footer .footer-links a:hover {
  color: #ffffff;
}

.footer-links a,
.auth-policy-links a,
.checkbox-row a {
  color: #7b4328;
  font-weight: 600;
}

.auth-policy-links {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(123, 67, 40, .16);
  font-size: 13px;
}

.legal-page {
  min-height: 100vh;
  background: linear-gradient(rgba(255, 250, 245, .9), rgba(248, 239, 232, .95)),
    url("assets/coffee-form-background-mobile.png") center / cover fixed no-repeat;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px max(20px, 6vw);
  background: rgba(255, 250, 245, .94);
  backdrop-filter: blur(12px);
}

.legal-header .logo { text-decoration: none; }

.legal-header nav { gap: 16px; }

.legal-main {
  width: min(880px, calc(100% - 32px));
  margin: 42px auto;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid #ead8cd;
  border-radius: 28px;
  background: rgba(255, 253, 250, .93);
  box-shadow: 0 18px 55px rgba(55, 34, 24, .11);
}

.legal-main h1 {
  margin-bottom: 8px;
  font-size: clamp(36px, 7vw, 58px);
  line-height: 1.08;
}

.legal-intro {
  margin-bottom: 32px;
  color: #6f5a50;
  font-size: 18px;
}

.legal-updated {
  margin-bottom: 28px;
  color: #8a7064;
  font-size: 14px;
}

.legal-section { margin-top: 30px; }
.legal-section h2 { margin-bottom: 9px; font-size: 23px; }
.legal-section p + p { margin-top: 10px; }
.legal-section ul { margin: 10px 0 0 22px; }
.legal-section li + li { margin-top: 7px; }

.legal-callout {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid #d9b69f;
  border-radius: 16px;
  background: #fff5eb;
}

.legal-emergency {
  border-color: #dda6a0;
  background: #fff0ee;
}

.legal-footer {
  justify-content: center;
  gap: 18px;
  padding: 28px 20px;
  text-align: center;
}

@media (max-width: 650px) {
  .legal-header { align-items: flex-start; gap: 10px; }
  .legal-header nav { gap: 10px; }
  .legal-header nav a:not(.signin-btn) { display: none; }
  .legal-main { margin: 20px auto; border-radius: 20px; }
}

.account-menu > button:hover,
.account-menu > button.is-active {
  background: #f0e2d8;
  color: #753d25;
}

.account-menu-divider {
  height: 1px;
  margin: 7px 5px;
  background: #e5d3c7;
}

.account-menu > .account-menu-signout {
  color: #9a352e;
}

.dashboard-tabs {
  position: sticky;
  top: 15px;
  z-index: 35;
  width: fit-content;
  display: flex;
  gap: 6px;
  margin: -42px 0 38px auto;
  padding: 6px;
  border: 1px solid #ead8cd;
  border-radius: 999px;
  background: rgba(255, 250, 245, .92);
  box-shadow: 0 9px 28px rgba(55, 34, 24, .09);
  backdrop-filter: blur(10px);
}

.dashboard-tab {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #75645b;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
}

.dashboard-tab > span {
  font: inherit;
}

.navigation-count-badge {
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  padding: 0 6px;
  border: 2px solid #fffaf5;
  border-radius: 999px;
  background: #bd3f34;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.dashboard-tab:hover,
.dashboard-tab.is-active {
  background: #7b4328;
  color: #fff;
}

.dashboard-tab.is-active {
  font-weight: 700;
}

.mobile-app-nav {
  display: none;
}

@media (max-width: 700px) {
  .dashboard-page {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
    background:
      linear-gradient(rgba(255, 250, 245, .91), rgba(248, 239, 232, .94)),
      url("assets/coffee-form-background-mobile.png") center bottom / cover fixed no-repeat;
  }

  .dashboard-header {
    min-height: 64px;
    padding: 8px 15px;
  }

  .account-menu-trigger {
    width: 44px;
    height: 44px;
  }

  .account-menu {
    position: fixed;
    top: 70px;
    right: 10px;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
  }

  .dashboard-tabs {
    display: none;
  }

  .dashboard-main {
    padding-top: 24px;
  }

  .mobile-app-nav {
    position: fixed;
    z-index: 90;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 7px;
    border: 1px solid rgba(232, 212, 199, .95);
    border-radius: 20px;
    background: rgba(255, 250, 245, .96);
    box-shadow: 0 14px 38px rgba(46, 29, 20, .22);
    backdrop-filter: blur(14px);
  }

  .mobile-app-nav-button {
    position: relative;
    min-height: 52px;
    display: grid;
    gap: 1px;
    place-items: center;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: #745d51;
    cursor: pointer;
  }

  .mobile-app-nav-button .navigation-count-badge {
    position: absolute;
    top: 3px;
    left: calc(50% + 7px);
    min-width: 19px;
    height: 19px;
    margin: 0;
    padding: 0 5px;
    border-color: #fffaf5;
    font-size: 10px;
  }

  .mobile-app-nav-button > span {
    font-size: 19px;
    line-height: 1;
  }

  .mobile-app-nav-button small {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  .mobile-app-nav-button.is-active {
    background: #7b4328;
    color: #fff;
  }

  .mobile-app-nav-button.is-active small {
    font-weight: 700;
  }

  .dashboard-main > [data-app-view] {
    animation: dashboard-view-in .22s ease both;
  }

  .dashboard-welcome {
    padding-top: 4px;
  }
}

@keyframes dashboard-view-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Softer, consistent typography across the signed-in experience. */
.dashboard-page,
.dashboard-page button,
.dashboard-page input,
.dashboard-page select,
.dashboard-page textarea {
  font-family: "Segoe UI", Arial, sans-serif;
}

.dashboard-page h1,
.dashboard-page h2,
.dashboard-page h3,
.message-thread-copy h3 {
  font-weight: 600;
  letter-spacing: -0.015em;
}

.dashboard-page .eyebrow,
.meeting-label {
  font-weight: 700;
  letter-spacing: 0.12em;
}

.live-notification,
.chat-rule-note,
.meeting-chat-rule,
.meeting-cancelled,
.meeting-fields label,
.meeting-waiting-confirmation,
.later-availability-panel label {
  font-weight: 600;
}

.dashboard-page .primary-btn,
.dashboard-page .secondary-btn,
.dashboard-page .open-chat-btn,
.dashboard-page .archive-chat-btn,
.dashboard-page .save-meeting-btn,
.dashboard-page .confirm-meeting-btn,
.dashboard-page .cancel-meeting-btn,
.dashboard-page .accept-invite-btn,
.dashboard-page .decline-invite-btn {
  font-weight: 600;
  letter-spacing: 0;
}

.meeting-fields input,
.meeting-fields select,
.meeting-address-suggestions,
.message-thread-preview,
.message-thread-time {
  font-weight: 400;
  letter-spacing: 0;
}
