:root,
[data-color-scheme="light"] {
  --customer-ink: #17171d;
  --customer-muted: #696873;
  --customer-line: #d9d8df;
  --customer-soft: #f5f5f7;
  --customer-surface: #ffffff;
  --customer-accent: #b62661;
  --customer-accent-dark: #8f1848;
  --customer-accent-ink: #ffffff;
  --customer-steel: #486171;
  --customer-success: #167254;
  --customer-warning: #8c6114;
  --customer-danger: #aa2632;
  --customer-focus: #3c78bd;
  --customer-shadow: 0 18px 50px rgba(20, 20, 28, .14);
  --customer-header-bg: rgba(255, 255, 255, .96);
  --customer-inverse: #17171d;
  --customer-inverse-ink: #ffffff;
  --customer-readonly: #eeeef1;
  --customer-readonly-ink: #777680;
  --customer-message-bg: #f0eef2;
  --customer-handoff-bg: #eaf5f0;
  --customer-handoff-ink: #205a47;
  --customer-danger-line: #e3b8bd;
  --customer-auth-intro-bg: #151820;
  --customer-auth-intro-ink: #ffffff;
  --customer-auth-intro-muted: #bdc4cc;
  --customer-checked-fill: #ffffff;
  --customer-cover: #b62661;
  --customer-card-radius: 8px;
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--customer-ink);
  background: var(--customer-soft);
}

[data-color-scheme="dark"] {
  --customer-ink: #e4e6eb;
  --customer-muted: #b0b3b8;
  --customer-line: #3e4042;
  --customer-soft: #18191a;
  --customer-surface: #242526;
  --customer-accent: #b62661;
  --customer-accent-dark: #8f1848;
  --customer-accent-ink: #ffffff;
  --customer-steel: #8aa0ae;
  --customer-success: #57c98b;
  --customer-warning: #e0b15a;
  --customer-danger: #ed7777;
  --customer-focus: #6ea4e0;
  --customer-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  --customer-header-bg: rgba(36, 37, 38, .94);
  --customer-inverse: #e4e6eb;
  --customer-inverse-ink: #18191a;
  --customer-readonly: #3a3b3c;
  --customer-readonly-ink: #b0b3b8;
  --customer-message-bg: #18191a;
  --customer-handoff-bg: #163328;
  --customer-handoff-ink: #b7e4d0;
  --customer-danger-line: #6a343a;
  --customer-auth-intro-bg: #0e1016;
  --customer-auth-intro-ink: #e4e6eb;
  --customer-auth-intro-muted: #a8b2bd;
  --customer-checked-fill: #242526;
  --customer-cover: #6a1a3c;
  --customer-card-radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--customer-soft);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--customer-focus) 42%, transparent);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.customer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.customer-brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 10px;
}

.customer-brand > span:last-child {
  display: grid;
  gap: 2px;
}

.customer-brand strong {
  font-family: Georgia, serif;
  font-size: 18px;
}

.customer-brand small {
  color: var(--customer-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.customer-kicker,
.customer-section-heading p,
.customer-dialog-heading p,
.customer-form-heading p {
  margin: 0 0 7px;
  color: var(--customer-accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.customer-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--customer-line);
  border-radius: 5px;
  padding: 10px 17px;
  background: var(--customer-surface);
  color: var(--customer-ink);
  cursor: pointer;
  font-weight: 750;
  text-align: center;
}

.customer-button:hover {
  border-color: var(--customer-accent);
}

.customer-button:disabled {
  opacity: .56;
  cursor: wait;
}

.customer-button-primary {
  border-color: var(--customer-accent);
  background: var(--customer-accent);
  color: var(--customer-accent-ink);
}

.customer-button-primary:hover {
  border-color: var(--customer-accent-dark);
  background: var(--customer-accent-dark);
}

.customer-button-secondary {
  background: transparent;
}

.customer-button-danger {
  border-color: var(--customer-danger-line);
  color: var(--customer-danger);
}

.customer-icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--customer-line);
  border-radius: 5px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 21px;
}

.customer-icon-button:hover {
  border-color: var(--customer-accent);
  color: var(--customer-accent);
}

.customer-form-status {
  min-height: 20px;
  margin: 0;
  color: var(--customer-muted);
  font-size: 13px;
}

.customer-form-status.is-error {
  color: var(--customer-danger);
}

.customer-auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(430px, 1.15fr);
}

.customer-auth-intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 56px;
  padding: clamp(30px, 5vw, 76px);
  background: var(--customer-auth-intro-bg);
  color: var(--customer-auth-intro-ink);
}

.customer-auth-intro .customer-brand small {
  color: var(--customer-auth-intro-muted);
}

.customer-auth-intro h1 {
  max-width: 620px;
  margin: 0;
  font: 600 clamp(42px, 5vw, 74px)/.99 Georgia, serif;
}

.customer-auth-intro > div > p:last-child {
  max-width: 550px;
  margin: 22px 0 0;
  color: var(--customer-auth-intro-muted);
  font-size: 17px;
  line-height: 1.65;
}

.customer-privacy-note {
  max-width: 570px;
  margin: 0;
  border-left: 3px solid var(--customer-accent);
  padding-left: 16px;
  color: var(--customer-auth-intro-muted);
  font-size: 13px;
  line-height: 1.6;
}

.customer-auth-workspace {
  width: min(520px, calc(100% - 48px));
  align-self: center;
  justify-self: center;
  padding: 52px 0;
}

.customer-auth-tabs,
.customer-filter-tabs {
  display: inline-flex;
  gap: 0;
  border-bottom: 1px solid var(--customer-line);
}

.customer-auth-tabs {
  width: 100%;
  margin-bottom: 36px;
}

.customer-auth-tabs button,
.customer-filter-tabs button {
  min-height: 44px;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 10px 17px;
  background: transparent;
  color: var(--customer-muted);
  cursor: pointer;
  font-weight: 700;
}

.customer-auth-tabs button {
  flex: 1;
}

.customer-auth-tabs button.is-active,
.customer-filter-tabs button.is-active {
  border-bottom-color: var(--customer-accent);
  color: var(--customer-ink);
}

.customer-handoff-note {
  margin: -15px 0 27px;
  border-left: 3px solid var(--customer-success);
  padding: 11px 14px;
  background: var(--customer-handoff-bg);
  color: var(--customer-handoff-ink);
  font-size: 13px;
}

.customer-auth-form,
.customer-account-form {
  display: grid;
  gap: 18px;
}

.customer-form-heading h2,
.customer-section-heading h2,
.customer-dialog-heading h2 {
  margin: 0;
  font-family: Georgia, serif;
}

.customer-form-heading h2 {
  font-size: 34px;
}

.customer-auth-form label,
.customer-account-form label,
.customer-feedback-form label,
.customer-feedback-reply label,
.customer-consultation-reply label,
.customer-dialog-fields label {
  display: grid;
  gap: 7px;
  color: var(--customer-muted);
  font-size: 12px;
  font-weight: 700;
}

.customer-auth-form label > span,
.customer-account-form label > span,
.customer-feedback-form label > span,
.customer-feedback-reply label > span,
.customer-consultation-reply label > span,
.customer-dialog-fields label > span {
  color: var(--customer-ink);
}

.customer-auth-form input,
.customer-account-form input,
.customer-account-form select,
.customer-feedback-form input,
.customer-feedback-form textarea,
.customer-feedback-reply textarea,
.customer-consultation-reply textarea,
.customer-consultation-reply select,
.customer-dialog-fields input,
.customer-dialog-fields select,
.customer-dialog-fields textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid var(--customer-line);
  border-radius: 4px;
  padding: 10px 12px;
  background: var(--customer-surface);
  color: var(--customer-ink);
}

.customer-dialog-fields textarea {
  min-height: 88px;
  resize: vertical;
}

input[readonly],
select:disabled,
textarea:disabled,
input:disabled {
  background: var(--customer-readonly);
  color: var(--customer-readonly-ink);
}

.customer-field-help {
  margin: -8px 0 0;
  color: var(--customer-muted);
  font-size: 12px;
  line-height: 1.5;
}

.customer-return-link {
  display: inline-block;
  margin-top: 26px;
  color: var(--customer-steel);
  font-size: 13px;
  font-weight: 750;
}

.customer-return-link:hover {
  color: var(--customer-accent);
}

.customer-profile-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 56px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) clamp(16px, 4vw, 40px) 8px;
  border-bottom: 1px solid var(--customer-line);
  background: var(--customer-header-bg);
  backdrop-filter: blur(12px);
}

.customer-profile-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--customer-muted);
  font-size: 15px;
  font-weight: 700;
}

.customer-profile-nav a {
  padding: 10px 16px;
  border-radius: 6px;
}

.customer-profile-nav a:hover {
  background: var(--customer-soft);
  color: var(--customer-ink);
}

.customer-profile-nav a.is-active {
  color: var(--customer-accent);
  box-shadow: inset 0 -3px 0 var(--customer-accent);
  border-radius: 0;
}

.customer-text-button {
  justify-self: end;
  min-height: 42px;
  border: 0;
  padding: 8px 10px;
  background: transparent;
  color: var(--customer-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.customer-text-button:hover {
  color: var(--customer-accent);
}

.customer-profile-header .customer-icon-button {
  justify-self: end;
}

.customer-profile-hero {
  display: block;
  position: relative;
  z-index: 25;
  width: 100%;
  margin: 0;
  background: var(--customer-soft);
  border-bottom: 1px solid var(--customer-line);
}

.customer-profile-page {
  --customer-topbar: calc(64px + env(safe-area-inset-top, 0px));
  --customer-sidebar-width: 220px;
}

.customer-profile-page .customer-profile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--customer-topbar);
  min-height: 0;
  padding-top: env(safe-area-inset-top, 0px);
  z-index: 30;
}

.customer-shell {
  display: block;
}

.customer-profile-page .customer-shell {
  padding-top: var(--customer-topbar);
}

.customer-sidebar {
  position: fixed;
  top: var(--customer-topbar, 64px);
  left: 0;
  bottom: 0;
  width: var(--customer-sidebar-width, 220px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  overflow: auto;
  padding: 12px;
  border-right: 1px solid var(--customer-line);
  background: var(--customer-surface);
  z-index: 20;
}

.customer-sidebar-nav {
  display: grid;
  gap: 4px;
  margin-top: auto;
}

.customer-sidebar-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: inherit;
  font-weight: 650;
}

.customer-sidebar-nav a.is-active,
.customer-profile-dock a.is-active {
  background: var(--customer-soft, rgba(255, 255, 255, .08));
  color: var(--customer-accent);
}

.customer-sidebar .customer-text-button {
  margin-top: 4px;
}

.customer-sidebar-scrim {
  display: none;
}

.customer-shell-main {
  min-width: 0;
  margin-left: var(--customer-sidebar-width, 220px);
}

.customer-profile-page .customer-profile-hero {
  position: relative;
  z-index: 25;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--customer-soft);
  pointer-events: none;
}

.customer-profile-page .customer-profile-hero .customer-profile-identity,
.customer-profile-page .customer-profile-hero .customer-profile-cover,
.customer-profile-page .customer-profile-hero a,
.customer-profile-page .customer-profile-hero button,
.customer-profile-page .customer-profile-hero input,
.customer-profile-page .customer-profile-hero label {
  pointer-events: auto;
}

.customer-profile-page .customer-profile-hero:has(.customer-profile-cover.has-photo) {
  padding-top: 0;
}

.customer-profile-page .customer-profile-hero > .customer-profile-identity {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 16px;
}

.customer-profile-page .customer-profile-hero .customer-profile-cover {
  margin: 0;
  width: 100%;
}

.customer-menu-open,
.customer-header-spacer {
  display: none;
}

.photo-library-views,
.photo-library-folders,
.photo-library-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
}

.photo-library-views button {
  border: 1px solid var(--customer-line);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  cursor: pointer;
}

.photo-library-views button.is-active {
  background: var(--customer-inverse);
  color: var(--customer-inverse-ink);
}

.photo-library-bar {
  position: sticky;
  top: 8px;
  z-index: 5;
  padding: 8px;
  border-radius: 8px;
  background: var(--customer-surface);
  border: 1px solid var(--customer-line);
}

.customer-you-tile {
  position: relative;
}

.customer-you-tile input {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 18px;
  height: 18px;
}

.customer-feed-card {
  display: grid;
  gap: 8px;
}

.customer-feed-card img {
  width: 100%;
  border-radius: 8px;
}

.customer-profile-cover {
  display: none;
  position: relative;
  height: 120px;
  background: var(--customer-cover) center / cover no-repeat;
}

.customer-profile-cover.has-photo {
  display: block;
}

.customer-profile-cover .customer-form-status {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 2;
  min-height: 0;
  max-width: min(360px, calc(100% - 32px));
  margin: 0;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--customer-surface);
}

.customer-profile-cover .customer-form-status:empty {
  display: none;
}

.customer-cover-actions {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.customer-cover-actions .customer-button {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 13px;
  box-shadow: 0 1px 4px rgba(20, 20, 28, .18);
}

.customer-cover-upload {
  position: relative;
  overflow: hidden;
}

.customer-cover-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.customer-profile-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1100px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 0 0 16px;
}

.customer-profile-cover.has-photo + .customer-profile-identity {
  margin-top: -28px;
}

.customer-profile-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
}

.customer-profile-avatar {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid var(--customer-surface);
  border-radius: 50%;
  padding: 0;
  background: var(--customer-accent);
  color: var(--customer-accent-ink);
  cursor: pointer;
  font: 700 28px/1 Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: .04em;
}

.customer-avatar-edit {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid var(--customer-surface);
  border-radius: 50%;
  background: #fff;
  color: #1c1e21;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
  cursor: pointer;
  opacity: 0;
  transform: scale(.86);
  transition: opacity .15s ease, transform .15s ease;
}

.customer-profile-avatar-wrap:hover .customer-avatar-edit,
.customer-profile-avatar-wrap:focus-within .customer-avatar-edit {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .customer-avatar-edit {
    opacity: 1;
    transform: none;
  }
}

.customer-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customer-profile-who {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding-bottom: 10px;
}

.customer-profile-who h1 {
  margin: 0;
  font: 700 28px/1.15 Inter, "Segoe UI", Arial, sans-serif;
}

.customer-profile-tagline {
  margin: 0;
  color: var(--customer-muted);
  font-size: 15px;
}

.customer-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.customer-profile-tabs {
  display: flex;
  gap: 4px;
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4px 0 0;
  overflow-x: auto;
}

.customer-profile-tabs a {
  flex: 0 0 auto;
  padding: 14px 16px;
  color: var(--customer-muted);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.customer-profile-tabs a:hover {
  background: var(--customer-soft);
  border-radius: 6px 6px 0 0;
}

.customer-profile-tabs a.is-active {
  color: var(--customer-accent);
  box-shadow: inset 0 -3px 0 var(--customer-accent);
}

.customer-profile-dock {
  display: none;
}

.customer-settings-nav {
  display: none;
  position: sticky;
  z-index: 19;
  top: 56px;
  gap: 6px;
  padding: 8px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--customer-line);
  background: var(--customer-header-bg);
  overflow-x: auto;
}

.customer-profile-page[data-profile-pane="account"] .customer-settings-nav {
  display: flex;
}

.customer-settings-nav a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--customer-muted);
  font-size: 13px;
  font-weight: 700;
}

.customer-settings-nav a.is-active {
  background: var(--customer-inverse);
  color: var(--customer-inverse-ink);
}

.customer-profile-main {
  width: min(1100px, calc(100% - 32px));
  margin: 16px auto 40px;
}

.customer-profile-page .customer-home-stage,
.customer-profile-page main > section {
  display: none;
  scroll-margin-top: 72px;
}

.customer-profile-page main > section {
  padding: 8px 0 32px;
}

.customer-profile-page[data-profile-pane="home"] .customer-home-stage {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.customer-profile-page[data-profile-pane="photos"] #you,
.customer-profile-page[data-profile-pane="profile"] #profile,
.customer-profile-page[data-profile-pane="feed"] #upcoming,
.customer-profile-page[data-profile-pane="home"] #upcoming,
.customer-profile-page[data-profile-pane="visits"] #history,
.customer-profile-page[data-profile-pane="visits"] #sharing,
.customer-profile-page[data-profile-pane="plans"] #atlas,
.customer-profile-page[data-profile-pane="plans"] #plans,
.customer-profile-page[data-profile-pane="messages"] #consultations,
.customer-profile-page[data-profile-pane="studios"] #studios,
.customer-profile-page[data-profile-pane="people"] #people,
.customer-profile-page[data-profile-pane="settings"][data-profile-section="settings"] #settings,
.customer-profile-page[data-profile-section="account"] #account,
.customer-profile-page[data-profile-section="avatar"] #avatar,
.customer-profile-page[data-profile-section="phone"] #phone,
.customer-profile-page[data-profile-section="privacy"] #privacy,
.customer-profile-page[data-profile-section="appearance"] #appearance,
.customer-profile-page[data-profile-pane="help"] #care,
.customer-profile-page[data-profile-pane="help"] #feedback {
  display: block;
}

.customer-visited-studios {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.customer-visited-studios a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--customer-surface);
  color: inherit;
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--customer-accent, #6930F3) 18%, transparent);
}

.customer-healed-card {
  display: grid;
  gap: 8px;
}

.customer-healed-card a.studio-credit {
  color: var(--customer-accent, #6930F3);
  font-weight: 600;
  text-decoration: none;
}

.studio-profile-page {
  min-height: 100vh;
  background:
    radial-gradient(120% 80% at 10% -10%, color-mix(in srgb, #6930F3 18%, transparent), transparent 55%),
    linear-gradient(180deg, #f7f5fb 0%, #f5f5f7 40%, #eef0f4 100%);
  color: #18191a;
}

.studio-profile-main {
  width: min(720px, calc(100% - 28px));
  margin: 0 auto 48px;
}

.studio-profile-hero {
  padding: 28px 0 20px;
}

.studio-profile-hero h1 {
  margin: 0.2em 0 0.35em;
  font-size: clamp(2rem, 7vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.studio-profile-mark {
  display: block;
  margin-bottom: 12px;
}

.studio-profile-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.studio-profile-cta .customer-button-primary {
  background: #6930F3;
  border-color: #6930F3;
}

.studio-profile-about {
  margin-top: 28px;
  padding-top: 8px;
}

.studio-profile-sheet-layout {
  grid-template-columns: 1fr;
}

.studio-photos-card {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 6px;
  color: inherit;
  font: inherit;
}

.studio-photos-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.customer-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.customer-home-intro,
.customer-home-timeline,
.customer-home-rail {
  min-width: 0;
}

.customer-intro-card,
.customer-home-timeline,
.customer-home-rail {
  border: 1px solid var(--customer-line);
  border-radius: var(--customer-card-radius);
  padding: 16px;
  background: var(--customer-surface);
}

.customer-intro-card h2,
.customer-home-timeline h2,
.customer-home-rail h2 {
  margin: 0 0 12px;
  font: 700 20px/1.2 Inter, "Segoe UI", Arial, sans-serif;
}

.customer-intro-studios h3 {
  margin: 16px 0 8px;
  font: 700 15px/1.2 Inter, "Segoe UI", Arial, sans-serif;
}

.customer-intro-studio {
  display: grid;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid var(--customer-line);
  font-size: 14px;
}

.customer-intro-studio:last-of-type {
  border-bottom: 0;
}

.customer-intro-studio span {
  color: var(--customer-muted);
  font-size: 12px;
}

.customer-timeline {
  display: grid;
  gap: 12px;
}

.customer-timeline-card {
  display: grid;
  gap: 6px;
  border: 1px solid var(--customer-line);
  border-radius: var(--customer-card-radius);
  padding: 14px;
  background: var(--customer-soft);
}

.customer-timeline-card:hover {
  border-color: var(--customer-accent);
}

.customer-timeline-card p {
  margin: 0;
  color: var(--customer-accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.customer-timeline-card strong {
  font-size: 17px;
}

.customer-timeline-card span {
  color: var(--customer-muted);
  font-size: 14px;
}

.customer-timeline-empty {
  margin: 0 0 12px;
}

.customer-home-rail .customer-section-heading,
.customer-home-rail .customer-section-copy,
.customer-home-rail .customer-empty,
.customer-home-rail .customer-appointment-list {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.customer-home-rail .customer-section-heading h2 {
  font-size: 20px;
}

.customer-home-rail .customer-section-copy {
  margin-bottom: 12px;
  font-size: 13px;
}

.customer-profile-page[data-profile-pane="home"] .customer-home-stage {
  grid-template-areas:
    "intro feed"
    "intro upcoming";
}

.customer-home-intro { grid-area: intro; }
.customer-home-timeline { grid-area: feed; }
.customer-home-rail { grid-area: upcoming; }

@media (min-width: 1100px) {
  .customer-profile-page[data-profile-pane="home"] .customer-home-stage {
    grid-template-columns: 260px minmax(0, 1fr) 240px;
    grid-template-areas: "intro feed upcoming";
  }
}

.customer-profile-counts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--customer-line);
  border-radius: var(--customer-card-radius);
  overflow: hidden;
  background: var(--customer-soft);
}

.customer-profile-counts div {
  min-width: 0;
  padding: 0;
  border-right: 1px solid var(--customer-line);
  border-bottom: 1px solid var(--customer-line);
  text-align: center;
}

.customer-profile-counts div:nth-child(2n) {
  border-right: 0;
}

.customer-profile-counts div:nth-last-child(-n+2) {
  border-bottom: 0;
}

.customer-profile-counts a {
  display: block;
  padding: 16px 12px;
}

.customer-profile-counts a:hover {
  background: var(--customer-soft);
}

.customer-profile-counts dt {
  color: var(--customer-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.customer-profile-counts dd {
  margin: 4px 0 0;
  font: 700 22px/1 Inter, "Segoe UI", Arial, sans-serif;
}

.customer-section-heading {
  max-width: 1260px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto 18px;
}

.customer-section-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.customer-section-copy {
  max-width: 1260px;
  margin: 0 auto 28px;
  color: var(--customer-muted);
  line-height: 1.6;
}

.customer-atlas-frame {
  width: min(1260px, 100%);
  min-height: 790px;
  display: block;
  margin: 0 auto;
  border: 1px solid #282932;
  background: #09090d;
}

.customer-project-photos {
  width: min(1260px, 100%);
  display: grid;
  gap: 14px;
  margin: 0 auto 28px;
}

.customer-project-photos .customer-section-heading {
  margin: 0;
}

.customer-project-photos h3 {
  margin: 0;
  font-size: 28px;
}

.customer-photo-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-photo-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--customer-line);
  border-radius: 6px;
  padding: 12px;
  background: var(--customer-surface);
}

.customer-photo-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: #09090d;
}

.customer-photo-item span {
  display: block;
  margin-top: 4px;
  color: var(--customer-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.customer-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-self: end;
}

.customer-photo-actions label {
  position: relative;
  overflow: hidden;
}

.customer-photo-actions input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.customer-photo-upload {
  display: grid;
  gap: 8px;
  color: var(--customer-muted);
  font-size: 13px;
}

.customer-photo-upload input[type="file"] {
  color: inherit;
}

.customer-records-section,
.customer-plans-section,
.customer-sharing-section,
.customer-consultations-section,
.customer-feedback-section {
  min-height: 0;
}

.customer-filter-tabs {
  width: min(1260px, 100%);
  display: flex;
  margin: 6px auto 28px;
}

.customer-record-list,
.customer-plan-list,
.customer-sharing-list,
.customer-appointment-list,
.customer-consultations-section .customer-section-copy,
.customer-consultations-section .customer-empty {
  width: min(1260px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.customer-studios-section .customer-settings-shell .customer-account-form,
.customer-studios-section .customer-settings-shell .customer-section-copy,
.customer-studios-section .customer-settings-shell .customer-empty,
.customer-studios-section .customer-settings-shell .customer-studios-list {
  width: 100%;
}

.studio-finder-search {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}

.studio-finder-search label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.studio-finder-search label:first-child {
  flex: 1 1 180px;
}

.studio-finder-stage {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(148px, 190px) minmax(0, 1fr);
  min-height: 320px;
  border: 1px solid var(--customer-line);
  border-radius: 8px;
  overflow: visible;
  background: var(--customer-surface);
}

.studio-finder-stage[hidden],
.studio-finder-detail[hidden] {
  display: none !important;
}

.studio-finder-stage.is-open {
  display: grid !important;
}

#customer-studio-finder-status {
  min-height: 28px;
  color: var(--customer-ink);
  font-size: 16px;
  font-weight: 700;
}

.studio-finder-result-empty {
  margin: 0;
  padding: 16px;
  color: var(--customer-ink);
  font-size: 16px;
  font-weight: 700;
}

.studio-finder-list {
  overflow: auto;
  max-height: 360px;
  border-right: 1px solid var(--customer-line);
}

.studio-finder-item {
  display: grid;
  gap: 8px;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--customer-line);
  background: transparent;
  color: inherit;
  padding: 12px 14px;
  font: inherit;
}

.studio-finder-pick {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.studio-finder-item.is-selected {
  background: var(--customer-soft);
}

.studio-finder-item small,
.studio-finder-meta {
  color: var(--customer-muted);
  font-size: 13px;
}

.studio-finder-map {
  position: relative;
  z-index: 0;
  isolation: isolate;
  min-height: 320px;
  height: 320px;
  background: #d7d5dc;
}

.studio-finder-map .leaflet-container {
  height: 100%;
  min-height: 320px;
  width: 100%;
  font-family: inherit;
  background: #d7d5dc;
}

.studio-map-pin {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  background: #1c1c1f;
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 16px/1 Inter, "Segoe UI", Arial, sans-serif;
}

.studio-map-pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-map-pin.is-selected {
  outline: 3px solid #b62661;
  outline-offset: 2px;
}

.customer-upcoming-section .studio-finder-stage,
.customer-upcoming-section #customer-studio-finder,
.customer-upcoming-section .studio-finder-detail,
.customer-upcoming-section .customer-studio-feed,
.customer-upcoming-section .customer-section-heading,
.customer-upcoming-section .customer-section-copy,
.customer-upcoming-section .customer-empty {
  width: min(1100px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.customer-studio-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin: 0 auto 28px;
}

.customer-studio-feed[hidden] {
  display: none;
}

.customer-studio-feed .studio-photo-card p {
  margin: 0;
  padding: 0 10px 10px;
}

.studio-finder-detail {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--customer-line);
}

.studio-map-popup .leaflet-popup-content-wrapper,
.studio-map-popup .leaflet-popup-tip {
  background: var(--customer-surface);
  color: var(--customer-ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}

.studio-map-popup .leaflet-popup-content {
  margin: 12px 14px 14px;
}

.studio-map-popup .leaflet-popup-content-wrapper {
  border-radius: 10px;
}

.studio-map-popup a.leaflet-popup-close-button {
  color: var(--customer-muted);
}

.studio-finder-popup {
  display: grid;
  gap: 10px;
  min-width: 200px;
}

.studio-finder-popup strong {
  font-size: 16px;
}

.studio-finder-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.studio-finder-services span {
  border: 1px solid var(--customer-line);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 13px;
}

.studio-finder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.studio-finder-popup-status {
  margin: 0;
  font-size: 13px;
}

.studio-finder-popup-status.is-error {
  color: #ff8ea0;
}

.customer-home-studios {
  display: grid;
  gap: 14px;
}

.customer-home-studio {
  margin: 0;
}

.customer-studios-list,
.customer-home-studios {
  width: min(640px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.customer-studios-list {
  margin: 0;
}

.customer-studio-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 720px) {
  .studio-finder-stage {
    grid-template-columns: 1fr;
  }

  .studio-finder-list {
    max-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--customer-line);
  }
}

.customer-studio-item .customer-button,
.customer-studio-item .customer-button-danger {
  justify-self: start;
}

.customer-record-item,
.customer-plan-item,
.customer-sharing-item,
.customer-appointment-item,
.customer-studio-item {
  min-width: 0;
  display: grid;
  gap: 17px;
  border: 1px solid var(--customer-line);
  border-radius: 6px;
  padding: 19px;
  background: var(--customer-surface);
}

.customer-appointment-meta,
.customer-appointment-service {
  color: var(--customer-muted);
  font-size: 14px;
}

#completed-visits {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--customer-line);
}

#completed-visits h3 {
  margin: 0 0 8px;
  font: 700 18px/1.2 Inter, "Segoe UI", Arial, sans-serif;
}

.customer-review-form,
.customer-review-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.customer-review-stars {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border: 0;
  margin: 0;
  padding: 0;
}

.customer-review-stars legend,
.customer-review-form label span {
  width: 100%;
  font-size: 13px;
  font-weight: 700;
}

.customer-review-stars label {
  position: relative;
}

.customer-review-stars input {
  position: absolute;
  opacity: 0;
}

.customer-review-stars span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--customer-line);
  border-radius: 6px;
  font-weight: 700;
}

.customer-review-stars input:checked + span,
.customer-review-stars input:focus-visible + span {
  border-color: var(--customer-accent);
  background: var(--customer-soft);
}

.customer-review-form textarea {
  width: min(100%, 420px);
  min-height: 72px;
}

.customer-review-saved,
.customer-review-text {
  margin: 0;
}

.customer-review-text {
  white-space: pre-wrap;
}

.customer-care-links {
  width: min(640px, 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 18px;
}

.customer-feedback-form,
.customer-feedback-detail,
.customer-feedback-reply,
.customer-consultation-detail,
.customer-consultation-reply {
  width: min(720px, 100%);
  display: grid;
  gap: 14px;
  margin: 0 auto 22px;
}

.customer-feedback-type {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 8px;
}

.customer-feedback-type legend {
  margin-bottom: 4px;
  color: var(--customer-muted);
  font-size: 12px;
  font-weight: 700;
}

.customer-feedback-list,
.customer-consultations-list,
.customer-consultations-startable {
  width: min(720px, 100%);
  display: grid;
  gap: 0;
  margin: 0 auto 18px;
}

.customer-feedback-list button,
.customer-consultations-list button,
.customer-consultations-startable button {
  display: grid;
  gap: 4px;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--customer-line);
  background: transparent;
  color: inherit;
  padding: 14px 0;
  cursor: pointer;
}

.customer-feedback-list button.is-active,
.customer-consultations-list button.is-active {
  color: var(--customer-accent, var(--customer-steel));
}

.customer-feedback-list strong,
.customer-consultations-list strong,
.customer-consultations-startable strong { font-size: 15px; }
.customer-feedback-list span,
.customer-consultations-list span,
.customer-consultations-startable span { color: var(--customer-muted); font-size: 12px; }

.customer-feedback-thread,
.customer-consultation-thread { display: grid; gap: 12px; }

.customer-feedback-message,
.customer-consultation-message {
  padding: 12px 14px;
  border: 1px solid var(--customer-line);
  background: var(--customer-message-bg);
}

.customer-feedback-message header,
.customer-consultation-message header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--customer-muted);
  font-size: 12px;
}

.customer-feedback-message p,
.customer-consultation-message p {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.5;
}

.customer-consultation-message a,
.customer-consultation-message img {
  display: block;
  margin-top: 10px;
  max-width: min(100%, 280px);
  border-radius: 6px;
}

.customer-consultations-startable h3 {
  margin: 0 0 8px;
  font: 600 18px/1.2 Georgia, serif;
}

.customer-project-status {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--customer-line);
  background: var(--customer-message-bg);
}

.customer-project-status-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.customer-project-status-head p {
  margin: 0;
  font-size: 13px;
}

.customer-project-status-head #customer-consultation-status-wait {
  color: var(--customer-muted);
}

.customer-project-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-project-versions {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.customer-project-versions li {
  color: var(--customer-muted);
  font-size: 12px;
  line-height: 1.4;
}

.customer-project-credits,
#customer-ai-credits {
  margin: 0;
  color: var(--customer-muted);
  font-size: 12px;
  line-height: 1.4;
}

.customer-project-usage {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.customer-project-usage li {
  color: var(--customer-muted);
  font-size: 12px;
  line-height: 1.4;
}

.customer-record-heading,
.customer-plan-heading,
.customer-sharing-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.customer-record-heading h3,
.customer-plan-heading h3,
.customer-sharing-heading h3 {
  margin: 0;
  font: 600 25px/1.1 Georgia, serif;
}

.customer-record-heading p,
.customer-plan-heading p,
.customer-sharing-heading p {
  margin: 6px 0 0;
  color: var(--customer-muted);
  font-size: 13px;
}

.customer-status {
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 20px;
  padding: 5px 8px;
  color: var(--customer-steel);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.customer-status[data-status="healing"],
.customer-status[data-status="planned"],
.customer-status[data-status="draft"],
.customer-status[data-status="client_review"],
.customer-status[data-status="artist_review"],
.customer-status[data-status="revision_requested"] {
  color: var(--customer-warning);
}

.customer-status[data-status="current"],
.customer-status[data-status="completed"],
.customer-status[data-status="active"],
.customer-status[data-status="approved"] {
  color: var(--customer-success);
}

.customer-status[data-status="retired"],
.customer-status[data-status="removed"],
.customer-status[data-status="discarded"],
.customer-status[data-status="revoked"],
.customer-status[data-status="not-shared"] {
  color: var(--customer-readonly-ink);
}

.customer-record-meta,
.customer-plan-meta,
.customer-sharing-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 0;
}

.customer-record-meta div,
.customer-plan-meta div,
.customer-sharing-meta div {
  min-width: 0;
  border-top: 1px solid var(--customer-line);
  padding-top: 10px;
}

.customer-record-meta dt,
.customer-plan-meta dt,
.customer-sharing-meta dt {
  color: var(--customer-muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.customer-record-meta dd,
.customer-plan-meta dd,
.customer-sharing-meta dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
}

.customer-record-note {
  margin: 0;
  color: var(--customer-muted);
  font-size: 13px;
  line-height: 1.55;
}

.customer-record-actions,
.customer-plan-actions,
.customer-sharing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: auto;
}

.customer-record-actions .customer-button,
.customer-plan-actions .customer-button,
.customer-sharing-actions .customer-button {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 12px;
}

.customer-source {
  margin-right: auto;
  color: var(--customer-muted);
  font-size: 11px;
}

.customer-sharing-note {
  margin: 0;
  color: var(--customer-muted);
  font-size: 13px;
  line-height: 1.55;
}

.customer-selection-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-selection-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--customer-line);
  padding-bottom: 8px;
  font-size: 13px;
}

.customer-selection-list li:last-child {
  border-bottom: 0;
}

.customer-selection-list span {
  color: var(--customer-muted);
  text-align: right;
}

.customer-empty {
  width: min(1260px, 100%);
  margin: 36px auto 0;
  border-top: 1px solid var(--customer-line);
  border-bottom: 1px solid var(--customer-line);
  padding: 30px 0;
  color: var(--customer-muted);
}

.customer-account-form {
  width: min(640px, 100%);
  margin: 0;
  grid-template-columns: 1fr;
}

.customer-settings-shell .customer-account-form {
  width: 100%;
}

.customer-settings-shell {
  width: min(640px, 100%);
  display: grid;
  gap: 14px;
  margin: 0 auto;
}

.customer-settings-shell .customer-section-heading,
.customer-settings-shell .customer-section-copy {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.customer-settings-shell .customer-section-heading h2 {
  font-size: clamp(28px, 4vw, 36px);
}

.customer-settings-shell .customer-section-copy {
  margin-bottom: 8px;
}

.customer-sharing-section .customer-section-heading,
.customer-sharing-section .customer-section-copy,
.customer-sharing-section .customer-empty,
.customer-sharing-list,
.customer-care-section .customer-section-heading,
.customer-care-section .customer-section-copy,
.customer-feedback-section .customer-section-heading,
.customer-feedback-section .customer-section-copy,
.customer-feedback-section .customer-empty,
.customer-feedback-list {
  width: min(640px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.customer-sharing-section .customer-section-heading h2,
.customer-care-section .customer-section-heading h2,
.customer-feedback-section .customer-section-heading h2 {
  font-size: clamp(28px, 4vw, 36px);
}

.customer-settings-card {
  display: grid;
  gap: 14px;
  margin: 0;
  border: 1px solid var(--customer-line);
  border-radius: 16px;
  padding: 20px;
  background: var(--customer-surface);
}

.customer-settings-card h3 {
  margin: 0;
  font: 600 18px/1.2 Georgia, serif;
}

.customer-settings-hint,
.customer-claim-warning {
  margin: 0;
  color: var(--customer-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.customer-claim-warning {
  color: var(--customer-danger);
}

.customer-settings-link {
  display: grid;
  gap: 4px;
  border: 1px solid var(--customer-line);
  border-radius: 16px;
  padding: 16px 18px;
  background: var(--customer-surface);
}

.customer-settings-link:hover {
  border-color: var(--customer-accent);
}

.customer-settings-link strong {
  font-size: 16px;
}

.customer-settings-link span {
  color: var(--customer-muted);
  font-size: 13px;
}

.customer-settings-advanced summary {
  cursor: pointer;
  font-weight: 700;
}

.customer-settings-advanced[open] summary {
  margin-bottom: 12px;
}

.customer-checkbox {
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr !important;
  align-items: start;
}

.customer-checkbox input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
}

.customer-code-type {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 8px;
}

.customer-code-type legend {
  padding: 0;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--customer-muted);
}

.customer-code-type label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--customer-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--customer-ink) !important;
  cursor: pointer;
}

.customer-code-type label:has(input:checked) {
  border-color: var(--customer-accent);
  background: color-mix(in srgb, var(--customer-accent) 8%, var(--customer-checked-fill));
}

.customer-code-type input {
  width: auto;
  min-height: 0;
}

.customer-code-apply {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.customer-code-apply label {
  flex: 1 1 180px;
}

.customer-code-apply .customer-button {
  flex: 0 0 auto;
  min-width: 96px;
}

.customer-language-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--customer-muted);
  font-size: 13px;
  line-height: 1.45;
}

.customer-account-form label small {
  display: block;
  margin-top: 6px;
  color: var(--customer-muted);
  font-size: 12px;
  font-weight: 400;
}

.customer-account-actions,
.customer-account-form .customer-form-status {
  grid-column: 1 / -1;
}

.customer-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-theme-toggle {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}

.customer-theme-toggle legend {
  padding: 0;
  color: var(--customer-ink);
  font-size: 12px;
  font-weight: 700;
}

.customer-theme-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--customer-line);
  border-radius: 8px;
}

.customer-theme-options label {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0;
  border: 0;
  border-right: 1px solid var(--customer-line);
  border-radius: 0;
  padding: 8px 6px;
  background: var(--customer-soft);
  color: var(--customer-ink) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  text-align: center;
  cursor: pointer;
}

.customer-theme-options label:last-child {
  border-right: 0;
}

.customer-theme-options label:has(input:checked) {
  border-color: var(--customer-line);
  background: var(--customer-accent);
  color: var(--customer-accent-ink) !important;
}

.customer-theme-options input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.customer-dialog.customer-avatar-lightbox {
  width: auto;
  max-width: min(92vw, 640px);
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.customer-dialog.customer-avatar-lightbox::backdrop {
  background: rgba(8, 9, 12, .82);
}

.customer-avatar-lightbox-shell {
  position: relative;
  margin: 0;
  padding: 0;
}

.customer-avatar-lightbox img {
  display: block;
  max-width: min(92vw, 640px);
  max-height: min(82vh, 640px);
  border-radius: 16px;
  object-fit: contain;
  background: #111;
}

.customer-avatar-lightbox .customer-icon-button {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
}

.customer-dialog.customer-avatar-dialog {
  width: min(440px, calc(100% - 28px));
}

.customer-dialog.customer-avatar-dialog h2 {
  font-size: 22px;
}

.customer-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  border: 0;
  border-radius: 7px;
  padding: 0;
  background: var(--customer-surface);
  color: var(--customer-ink);
  box-shadow: var(--customer-shadow);
  overflow: auto;
}

.customer-dialog::backdrop {
  background: rgba(12, 13, 18, .68);
}

.customer-dialog-shell {
  min-width: 0;
  display: grid;
  gap: 20px;
  padding: 24px;
}

.customer-dialog-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.customer-dialog-heading h2 {
  font-size: 32px;
}

.customer-share-studio {
  display: block;
  margin-top: 7px;
  color: var(--customer-muted);
  font-size: 13px;
}

.customer-share-explanation {
  margin: 0;
  color: var(--customer-muted);
  font-size: 13px;
  line-height: 1.55;
}

.customer-share-records {
  min-width: 0;
  display: grid;
  gap: 8px;
  max-height: 320px;
  margin: 0;
  border: 1px solid var(--customer-line);
  padding: 14px;
  overflow: auto;
}

.customer-share-records legend {
  padding: 0 6px;
  color: var(--customer-ink);
  font-size: 12px;
  font-weight: 800;
}

.customer-share-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  border-bottom: 1px solid var(--customer-line);
  padding: 9px 2px 12px;
  cursor: pointer;
}

.customer-share-option:last-child {
  border-bottom: 0;
}

.customer-share-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.customer-share-option strong,
.customer-share-option span {
  display: block;
}

.customer-share-option span {
  margin-top: 4px;
  color: var(--customer-muted);
  font-size: 12px;
}

.customer-share-consent {
  color: var(--customer-ink);
  font-size: 13px;
  line-height: 1.45;
}

.customer-dialog-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.customer-notes-field {
  grid-column: 1 / -1;
}

.customer-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

@media (max-width: 900px) {
  .customer-auth-layout {
    grid-template-columns: 1fr;
  }

  .customer-auth-intro {
    min-height: 350px;
    gap: 35px;
  }

  .customer-auth-intro h1 {
    font-size: 47px;
  }

  .customer-shell-main {
    margin-left: 0;
  }

  .customer-profile-page .customer-profile-hero,
  .customer-profile-page .customer-profile-hero .customer-profile-cover {
    margin-left: 0;
    margin-right: 0;
    width: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .customer-profile-page .customer-profile-hero {
    z-index: 1;
    padding-top: 12px;
  }

  .customer-sidebar {
    top: var(--customer-topbar);
    bottom: 0;
    z-index: 25;
    width: min(280px, 86vw);
    height: auto;
    justify-content: flex-end;
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-105%);
    transition: transform .2s ease;
  }

  .customer-profile-page.customer-nav-open .customer-sidebar {
    transform: none;
  }

  .customer-profile-page.customer-nav-open .customer-sidebar-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 24;
    border: 0;
    background: rgba(0, 0, 0, .45);
  }

  .customer-menu-open {
    display: inline-flex;
  }

  .customer-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .customer-profile-nav {
    display: none;
  }

  .customer-profile-dock {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    justify-content: space-around;
    gap: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--customer-line);
    background: var(--customer-header-bg);
    backdrop-filter: blur(12px);
  }

  .customer-profile-dock a,
  .customer-profile-dock button {
    flex: 1;
    padding: 10px 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--customer-muted);
    border-radius: 10px;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
  }

  .customer-profile-dock a.is-active {
    color: var(--customer-accent);
    background: color-mix(in srgb, var(--customer-accent) 10%, var(--customer-surface));
  }

  .customer-profile-page {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .customer-profile-page .customer-messenger-bell {
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .customer-settings-nav {
    top: 56px;
  }

  .customer-profile-cover.has-photo {
    height: 96px;
  }

  .customer-profile-identity,
  .customer-profile-cover.has-photo + .customer-profile-identity {
    width: calc(100% - 24px);
    margin-top: 12px;
    flex-direction: row;
    align-items: center;
  }

  .customer-profile-avatar-wrap {
    width: 84px;
    height: 84px;
  }

  .customer-profile-avatar {
    font-size: 28px;
  }

  .customer-profile-who h1 {
    font-size: 24px;
  }

  .customer-profile-tabs {
    width: calc(100% - 16px);
  }

  .customer-profile-main {
    width: calc(100% - 24px);
  }

  .customer-profile-page[data-profile-pane="home"] .customer-home-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "feed"
      "upcoming";
  }

  .customer-record-list,
  .customer-plan-list,
  .customer-sharing-list {
    grid-template-columns: 1fr;
  }

  .customer-atlas-frame {
    min-height: 1020px;
  }
}

@media (max-width: 560px) {
  .customer-auth-intro {
    min-height: 410px;
    padding: 26px 20px 35px;
  }

  .customer-auth-intro h1 {
    font-size: 39px;
  }

  .customer-auth-workspace {
    width: calc(100% - 32px);
    padding: 38px 0 50px;
  }

  .customer-profile-header {
    gap: 12px;
    padding: 8px 13px;
  }

  .customer-profile-page main > section {
    padding: 8px 0 32px;
  }

  .customer-profile-who h1 {
    font-size: 22px;
  }

  .customer-photo-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .customer-photo-actions {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .customer-profile-counts a {
    padding: 14px 8px;
  }

  .customer-profile-counts dd {
    font-size: 27px;
  }

  .customer-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-section-heading .customer-button {
    width: 100%;
  }

  .customer-atlas-frame {
    min-height: 1180px;
  }

  .customer-account-form,
  .customer-dialog-fields {
    grid-template-columns: 1fr;
  }

  .customer-notes-field {
    grid-column: auto;
  }

  .customer-account-actions,
  .customer-dialog-actions {
    flex-direction: column;
  }

  .customer-account-actions .customer-button,
  .customer-dialog-actions .customer-button {
    width: 100%;
  }

  .customer-code-apply {
    flex-wrap: nowrap;
    align-items: end;
  }

  .customer-code-apply label {
    flex: 1 1 auto;
  }

  .customer-code-apply .customer-button {
    width: auto;
  }
}

.customer-you-grid,
.customer-avatar-history {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
}

.customer-you-tile,
.customer-avatar-history button {
  position: relative;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--customer-soft);
  cursor: pointer;
}

.customer-you-tile img,
.customer-avatar-history img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customer-you-private {
  position: absolute;
  left: 6px;
  bottom: 6px;
  border-radius: 999px;
  padding: 3px 8px;
  background: color-mix(in srgb, var(--customer-ink) 72%, transparent);
  color: var(--customer-surface);
  font-size: 11px;
  font-weight: 700;
}

.customer-post-visibility {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0 0 16px;
  border: 0;
  padding: 0;
}

.customer-post-visibility legend {
  width: 100%;
  margin-bottom: 4px;
  color: var(--customer-muted);
  font-size: 12px;
  font-weight: 700;
}

.customer-post-visibility label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.customer-settings-list {
  display: grid;
  border: 1px solid var(--customer-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--customer-surface);
}

.customer-settings-list a,
.customer-settings-back {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--customer-line);
}

.customer-settings-list a:last-child {
  border-bottom: 0;
}

.customer-settings-list a span,
.customer-settings-back {
  color: var(--customer-muted);
  font-size: 13px;
}

.customer-settings-list strong {
  display: block;
}

.customer-settings-back {
  justify-content: flex-start;
  padding: 0 0 12px;
  border: 0;
  font-weight: 700;
}

.customer-post-preview {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--customer-soft);
}

.customer-avatar-history {
  margin-bottom: 18px;
}

.customer-visit-upload {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.customer-visit-upload > .customer-section-copy {
  margin: 0;
}

.customer-visit-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-visit-photo {
  display: grid;
  gap: 6px;
  width: 96px;
}

.customer-visit-photo img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--customer-soft);
}

.customer-visit-photo .customer-button {
  min-height: 32px;
  padding: 4px 8px;
  font-size: 12px;
}

.customer-visit-upload label.customer-button {
  position: relative;
  width: fit-content;
}

.customer-visit-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.studio-photos-main {
  width: min(960px, calc(100% - 32px));
  margin: 28px auto 72px;
}

.studio-photos-main h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 48px);
}

.studio-photos-signin a {
  color: var(--customer-accent-dark);
  font-weight: 700;
}

.studio-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.studio-photo-card {
  display: grid;
  gap: 10px;
  overflow: hidden;
  border: 1px solid var(--customer-line);
  border-radius: 8px;
  background: var(--customer-surface);
}

.studio-photo-open {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.studio-photo-open img,
.studio-photo-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--customer-soft);
}

.studio-photo-count {
  position: absolute;
  left: 8px;
  bottom: 8px;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(12, 13, 18, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.studio-photo-person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 12px;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.studio-photo-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--customer-soft);
  color: var(--customer-muted);
  font-size: 12px;
}

.studio-photo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-photo-sheet {
  width: min(920px, calc(100% - 24px));
  max-height: min(860px, calc(100% - 24px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: var(--customer-surface);
  color: var(--customer-ink);
  box-shadow: var(--customer-shadow);
}

.studio-photo-sheet::backdrop {
  background: rgba(12, 13, 18, 0.68);
}

.studio-photo-sheet-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  min-height: min(640px, calc(100vh - 48px));
}

.studio-photo-sheet-layout > img {
  width: 100%;
  height: 100%;
  max-height: min(860px, calc(100vh - 48px));
  object-fit: cover;
  background: var(--customer-soft);
}

.studio-photo-sheet-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  padding: 16px 16px 18px;
}

.studio-photo-sheet-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.studio-photo-sheet-heading h2 {
  margin: 0;
  font-size: 22px;
}

.studio-photo-sheet-side .studio-photo-person {
  padding: 0;
}

.studio-photo-comments {
  display: grid;
  align-content: start;
  gap: 14px;
  flex: 1;
  min-height: 72px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.studio-photo-comment {
  display: grid;
  gap: 4px;
}

.studio-photo-comment-author {
  color: inherit;
  font-weight: 750;
  text-decoration: none;
}

.studio-photo-comment p,
.studio-photo-comment time {
  margin: 0;
}

.studio-photo-comment time,
.studio-photo-comment-delete {
  color: var(--customer-muted);
  font-size: 12px;
}

.studio-photo-comment-delete {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.studio-photo-comment-form {
  display: grid;
  gap: 8px;
}

.studio-photo-comment-label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 750;
}

.studio-photo-comment-label textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  border: 1px solid var(--customer-line);
  border-radius: 5px;
  padding: 10px;
  background: var(--customer-surface);
  color: var(--customer-ink);
  font: inherit;
}

.studio-photo-comment-error {
  margin: 0;
  color: var(--customer-danger, #9b2c2c);
  font-size: 13px;
}

@media (max-width: 720px) {
  .studio-photo-sheet-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: auto;
  }

  .studio-photo-sheet-layout > img {
    max-height: 320px;
  }

  .studio-photo-comments {
    max-height: 240px;
  }
}

.studio-photo-sheet-person-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.studio-photo-sheet-person-row .studio-photo-person {
  min-width: 0;
}

#public-message {
  justify-self: start;
}

.customer-messenger-bell {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--customer-line);
  border-radius: 999px;
  background: var(--customer-surface);
  color: var(--customer-ink);
  box-shadow: var(--customer-shadow);
  cursor: pointer;
}

.customer-messenger-bell[hidden],
.customer-messenger-overlay[hidden],
.customer-messenger-thread[hidden],
.customer-messenger-list[hidden],
.customer-messenger-count[hidden],
.customer-messenger-attachment[hidden],
.customer-messenger-error[hidden],
.customer-messenger-header .customer-messenger-text[hidden] {
  display: none !important;
}

.customer-messenger-bell:hover,
.customer-messenger-bell:focus-visible {
  border-color: var(--customer-accent);
  color: var(--customer-accent);
  outline: none;
}

.customer-messenger-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--customer-accent);
  color: var(--customer-accent-ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

.customer-messenger-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px;
  background: rgba(5, 6, 8, .55);
}

.customer-messenger-panel {
  width: min(420px, 100%);
  height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--customer-line);
  border-radius: 18px;
  background: var(--customer-surface);
  box-shadow: var(--customer-shadow);
  overflow: hidden;
}

.customer-messenger-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--customer-line);
}

.customer-messenger-header h2 {
  margin: 0;
  font-size: 18px;
  text-align: center;
}

.customer-messenger-header h2 a {
  color: inherit;
  text-decoration: none;
}

.customer-messenger-text,
.customer-messenger-send,
.customer-messenger-photo {
  border: 0;
  background: transparent;
  color: var(--customer-accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.customer-messenger-list,
.customer-messenger-thread {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.customer-messenger-list {
  overflow: auto;
  padding: 8px;
}

.customer-messenger-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.customer-messenger-row:hover,
.customer-messenger-row:focus-visible {
  background: var(--customer-soft);
  outline: none;
}

.customer-messenger-row.is-unread strong {
  font-weight: 800;
}

.customer-messenger-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--customer-soft);
  color: var(--customer-muted);
  font-size: 13px;
  font-weight: 700;
}

.customer-messenger-avatar img,
.customer-messenger-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customer-messenger-bubble img {
  width: auto;
  max-width: 220px;
  height: auto;
  border-radius: 12px;
}

.customer-messenger-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.customer-messenger-copy p,
.customer-messenger-empty,
.customer-messenger-bubble p,
.customer-messenger-bubble time {
  margin: 0;
}

.customer-messenger-copy p {
  color: var(--customer-muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.customer-messenger-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
  color: var(--customer-muted);
  font-size: 11px;
}

.customer-messenger-row-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--customer-accent);
  color: var(--customer-accent-ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.customer-messenger-bubbles {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}

.customer-messenger-bubble {
  max-width: 82%;
  display: grid;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 18px;
}

.customer-messenger-bubble.is-mine {
  align-self: flex-end;
  background: var(--customer-accent);
  color: var(--customer-accent-ink);
  border-bottom-right-radius: 5px;
}

.customer-messenger-bubble.is-theirs {
  align-self: flex-start;
  background: var(--customer-message-bg);
  color: var(--customer-ink);
  border-bottom-left-radius: 5px;
}

.customer-messenger-bubble time {
  font-size: 11px;
  opacity: .75;
}

.customer-messenger-empty {
  margin: 18px 8px;
  color: var(--customer-muted);
  font-size: 14px;
  text-align: center;
}

.customer-messenger-attachment,
.customer-messenger-compose {
  display: flex;
  align-items: center;
  gap: 8px;
}

.customer-messenger-attachment {
  justify-content: space-between;
  margin: 0 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--customer-soft);
  font-size: 13px;
}

.customer-messenger-error {
  margin: 0 14px;
  color: var(--customer-danger);
  font-size: 13px;
}

.customer-messenger-compose {
  padding: 10px 12px 12px;
  border-top: 1px solid var(--customer-line);
}

.customer-messenger-compose textarea {
  flex: 1;
  min-height: 40px;
  max-height: 120px;
  resize: none;
  border: 1px solid var(--customer-line);
  border-radius: 18px;
  padding: 9px 12px;
  background: var(--customer-soft);
  color: var(--customer-ink);
  font: inherit;
}

.customer-messenger-send {
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--customer-accent);
  color: var(--customer-accent-ink);
}

@media (max-width: 900px) {
  .customer-profile-page .customer-messenger-bell {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }

  .customer-profile-page .customer-messenger-overlay {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
}
