/* Explicit owner surface: customer-shell, operator and public pages never opt in. */
.fv-owner-ui .fv-profile-media {
  aspect-ratio: 16 / 9;
  background: #ece9dd;
  border-radius: 1rem;
  display: grid;
  isolation: isolate;
  margin-bottom: 1.15rem;
  min-width: 0;
  overflow: hidden;
  place-items: center;
  position: relative;
  width: 100%;
}
.fv-owner-ui .fv-profile-media img { height: 100%; object-fit: contain; width: 100%; }
.fv-owner-ui .fv-profile-media--neutral {
  background: linear-gradient(125deg, #e8dfca, #f5f0e3 52%, #d5dfce);
}
.fv-owner-ui .fv-profile-media--neutral::before {
  aspect-ratio: 1;
  background: #21523f26;
  border-radius: 50%;
  content: "";
  left: 66%;
  position: absolute;
  top: -35%;
  width: 75%;
  z-index: -1;
}
.fv-owner-ui .fv-profile-media--neutral::after {
  border: 1px solid #b99b62;
  border-radius: 50%;
  content: "";
  inset: -42% 15% 8% 36%;
  position: absolute;
  z-index: -1;
}
.fv-owner-ui .fv-profile-neutral-mark {
  background: #fffefa99;
  border-radius: 50%;
  color: var(--brand);
  display: grid;
  height: 4rem;
  place-items: center;
  width: 4rem;
}
.fv-owner-ui .fv-profile-neutral-mark .ui-icon { height: 2rem; width: 2rem; }
.fv-owner-ui .fv-profile-description { line-height: 1.65; overflow-wrap: anywhere; white-space: pre-line; }
.fv-owner-ui .fv-profile-edit-link {
  align-items: center;
  color: var(--brand);
  display: inline-flex;
  gap: 0.6rem;
  margin-top: 1.15rem;
  text-underline-offset: 0.25rem;
}
.fv-owner-ui .fv-profile-editor-grid { align-items: start; display: grid; gap: 1.75rem; min-width: 0; }
.fv-owner-ui .fv-profile-editor-grid > * { min-width: 0; }
.fv-owner-ui .fv-profile-intro { color: var(--muted); margin-bottom: 1.5rem; }
.fv-owner-ui .fv-profile-preview h3 { margin: 0.5rem 0; overflow-wrap: anywhere; }
.fv-owner-ui .fv-profile-editor textarea { min-height: 8rem; resize: vertical; }
.fv-owner-ui .fv-overview .fv-reward-card { align-self: start; }
@media (min-width: 64rem) {
  .fv-owner-ui .fv-profile-editor-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); }
}

.fv-owner-ui {
  --paper: #faf8f2;
  --surface: #fffefa;
  --ink: #123e33;
  --muted: #65716b;
  --line: #e2e3d8;
  --accent: #f0f2e8;
  --gold-ink: #87602b;
  background: radial-gradient(ellipse at top right, #f0eedf80, transparent 45%), var(--paper);
}

.fv-owner-ui .fv-header {
  background: #fffefa;
  gap: 0.65rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  min-height: 6.75rem;
  padding: 1rem;
}
.fv-owner-ui .fv-brand { padding: 0; }
.fv-owner-ui .fv-wordmark {
  font-size: clamp(2rem, 9.5vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -0.065em;
}
.fv-owner-ui .fv-tagline { font-size: 0.59rem; letter-spacing: 0.19em; margin-top: 0.45rem; }
.fv-owner-ui .fv-topbar { padding: 0; }
.fv-owner-ui .fv-account-menu { width: 100%; }
.fv-owner-ui .fv-account-menu > summary {
  background: #fbfaf5;
  gap: 0.5rem;
  min-height: 3.6rem;
  padding: 0.4rem 0.55rem 0.4rem 0.4rem;
}
.fv-owner-ui .fv-avatar {
  background: linear-gradient(135deg, #155c49, #073e31);
  flex-basis: 2.5rem;
  font-size: 1.2rem;
  height: 2.5rem;
}
.fv-owner-ui .fv-account-copy { flex: 1; }
.fv-owner-ui .fv-account-name { font-size: 0.9rem; font-weight: 500; line-height: 1.3; }
.fv-owner-ui .fv-account-copy small { font-size: 0.65rem; line-height: 1.4; margin-top: 0.25rem; }
.fv-owner-ui .fv-account-menu > summary > .ui-icon { flex-basis: 1rem; width: 1rem; }
.fv-owner-ui .fv-popover { border-radius: 1rem; padding: 0.6rem; }
.fv-owner-ui .fv-popover a, .fv-owner-ui .fv-popover button { font-size: 0.95rem; }

.fv-owner-ui .fv-navigation-disclosure { background: #f4f3e9; }
.fv-owner-ui .fv-menu-toggle { font-size: 0.92rem; gap: 0.5rem; min-height: 3.4rem; padding: 0.7rem 1rem; }
.fv-owner-ui .fv-menu-context { font-size: 0.85rem; margin-left: auto; text-align: right; }
.fv-owner-ui .fv-sidebar { gap: 0.65rem; }
.fv-owner-ui .fv-picker-block { margin: 0 0 1rem; }
.fv-owner-ui .fv-picker-label { color: var(--gold-ink); font-size: 0.8rem; font-weight: 500; }
.fv-owner-ui .fv-add-salon { border: 1px solid var(--line); border-radius: 0.85rem; margin-top: 0.6rem; }
.fv-owner-ui .fv-nav { gap: 0.5rem; }
.fv-owner-ui .fv-nav-link { border-radius: 0.85rem; font-size: 1rem; min-height: 3.25rem; }
.fv-owner-ui .fv-nav-link > .ui-icon { color: var(--gold-ink); }
.fv-owner-ui [data-salon-tool-form] { margin: 0; }
.fv-owner-ui [data-salon-tool-form] .fv-nav-link {
  border: 0;
  box-shadow: none;
  color: #466053;
  font-weight: 400;
  justify-content: flex-start;
  padding: 0.65rem 0.8rem;
  text-align: left;
  width: 100%;
}
.fv-owner-ui .fv-nav-link[aria-current="page"] {
  background: #eaf0e5;
  box-shadow: inset 3px 0 var(--brand);
  color: var(--brand);
}
.fv-owner-ui .fv-nav-link[aria-current="page"] > .ui-icon { color: var(--brand); }
.fv-owner-ui .fv-mobile-drawer { background: var(--surface); }
.fv-owner-ui .fv-mobile-drawer .fv-sidebar { padding: 1.25rem; }
.fv-owner-ui .fv-drawer-head { font: 400 1.65rem/1.25 Georgia, serif; }
.fv-owner-ui .fv-mobile-drawer .fv-drawer-account { font-size: 0.95rem; margin-bottom: 1.2rem; }

.fv-owner-ui .fv-frame { margin: 0; max-width: none; }
.fv-owner-ui .fv-main { margin: 0 auto; min-width: 0; padding: 1.6rem 1rem 3rem; width: 100%; }
.fv-owner-ui .fv-salon-location {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
  line-height: 1.55;
  margin: 0.5rem 0 0;
  overflow-wrap: anywhere;
}
.fv-owner-ui .fv-salon-location > .ui-icon { color: var(--brand); flex-shrink: 0; margin-top: 0.1rem; }
.fv-owner-ui .fv-salon-location > span { min-width: 0; }
.fv-owner-ui .fv-salon-location form { margin: 0; min-width: 0; }
.fv-owner-ui .fv-salon-location button {
  background: none; border: 0; color: var(--brand); cursor: pointer; font: inherit;
  min-height: 2.75rem; padding: 0; text-align: left; text-decoration: underline; text-underline-offset: 0.2rem;
}
.fv-owner-ui .fv-salon-location:has(form) > .ui-icon { margin-top: 0.7rem; }
.fv-owner-ui .fv-company-slogan {
  color: var(--gold-ink);
  font: 400 1.25rem/1.5 Georgia, serif;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.fv-owner-ui .fv-sidebar-slogan { margin: 2rem 1rem 0; }
.fv-owner-ui .fv-sidebar-slogan:empty,
.fv-owner-ui .fv-sidebar-slogan:not(:has([data-company-slogan])) { display: none; }
.fv-owner-ui .fv-heading-slogan { flex: 0 1 10rem; min-width: 0; }
.fv-owner-ui .fv-heading-slogan:not(:has([data-company-slogan])) { display: none; }
.fv-owner-ui .fv-heading-slogan .fv-company-slogan { font-family: inherit; font-size: 1rem; }
.fv-owner-ui .fv-editor-section { border: 0; margin: 0 0 1.75rem; min-width: 0; padding: 0; }
.fv-owner-ui .fv-editor-section legend { font: 400 1.4rem/1.4 Georgia, serif; margin-bottom: 1rem; padding: 0; }
.fv-owner-ui .fv-editor-section > div, .fv-owner-ui .fv-address-fields > div { margin-bottom: 1rem; min-width: 0; }
.fv-owner-ui .fv-address-fields {
  display: grid; gap: 0 1rem; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}
.fv-owner-ui .fv-slogan-preview-box {
  background: var(--accent); border-radius: 1rem; margin: 1.5rem 0; padding: 1.25rem;
}
.fv-owner-ui .fv-photo-failed {
  background: linear-gradient(125deg, #e8dfca, #f5f0e3 52%, #d5dfce);
}
.fv-owner-ui .fv-photo-failed::after {
  background: #21523f26;
  border: 1px solid #b99b62;
  border-radius: 50%;
  content: "";
  height: 130%;
  position: absolute;
  right: -5%;
  top: -35%;
  width: 70%;
}
.fv-owner-ui [data-salon-photo][hidden] { display: none; }
.fv-owner-ui h1, .fv-owner-ui h2, .fv-owner-ui h3 { font-family: Georgia, "Times New Roman", serif; }
.fv-owner-ui h1 { font-weight: 400; line-height: 1.15; overflow-wrap: anywhere; }
.fv-owner-ui :is(.fv-page-head, .panel-heading, .customer-heading) h1 {
  font-size: clamp(2.15rem, 5vw, 3.3rem);
  letter-spacing: -0.025em;
  margin: 0.5rem 0 0.8rem;
}
.fv-owner-ui :is(.fv-page-head, .panel-heading, .customer-heading) { margin: 0 0 1.7rem; }
.fv-owner-ui :is(.eyebrow, .fv-eyebrow) { font-size: 0.75rem; letter-spacing: 0.13em; line-height: 1.6; }
.fv-owner-ui :is(.fv-page-head, .panel-heading) { min-width: 0; overflow-wrap: anywhere; }
.fv-owner-ui :is(.fv-subtitle, .fv-overview-intro) { font-size: 1rem; line-height: 1.6; }
.fv-owner-ui :is(.form-card, .balance-card, .secret-card, .fv-settings-fold, .fv-quick) {
  border-color: var(--line);
  border-radius: 1.25rem;
  box-shadow: 0 0.5rem 1.7rem #21382a06;
}
.fv-owner-ui .fv-main .form-card { padding: 1.3rem; }
.fv-owner-ui .form-card h2 { font-size: 1.6rem; font-weight: 400; line-height: 1.25; }
.fv-owner-ui .form-card h3 { font-size: 1.25rem; font-weight: 400; }
.fv-owner-ui .form-card > p { line-height: 1.65; }
.fv-owner-ui .form-card > :last-child { margin-bottom: 0; }
.fv-owner-ui :is(.form-card, .fv-fold-content) form { max-width: 46rem; }
.fv-owner-ui :is(.form-card, .fv-fold-content) label { font-size: 1rem; font-weight: 550; }
.fv-owner-ui :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
  background: #fffefa;
  border-color: #bfc8b9;
  border-radius: 0.8rem;
  min-height: 3.15rem;
  min-width: 0;
  padding: 0.75rem 0.85rem;
}
.fv-owner-ui input[type="checkbox"] { accent-color: var(--brand); }
.fv-owner-ui input[type="radio"] {
  accent-color: var(--brand);
  display: inline-block;
  min-height: auto;
  padding: 0;
  height: 1.25rem;
  width: 1.25rem;
}
.fv-owner-ui input[type="file"] { font-size: 0.85rem; }
.fv-owner-ui input[type="file"]::file-selector-button {
  background: var(--accent);
  border: 0;
  border-radius: 0.4rem;
  color: var(--ink);
  font: inherit;
  margin-right: 0.5rem;
  padding: 0.45rem;
}
.fv-owner-ui .helptext { font-size: 0.875rem; line-height: 1.5; }
.fv-owner-ui :is(.helptext, .errorlist, .warning, .message, .fv-account-identity) { overflow-wrap: anywhere; }
.fv-owner-ui .errorlist { padding-left: 1.15rem; }
.fv-owner-ui .button { border-radius: 0.85rem; border-width: 1px; gap: 0.55rem; min-height: 3.2rem; }
.fv-owner-ui .fv-main .button { font-size: 1rem; min-height: 3.2rem; }
.fv-owner-ui .button-primary {
  background: linear-gradient(115deg, #084c3b, #123f32);
  border-color: #084c3b;
  color: #fffdf5;
}
.fv-owner-ui .button-primary:hover { background: #053729; }
.fv-owner-ui .button-delete-final { background: #111; border-color: #111; color: #fff; }
.fv-owner-ui .button-delete-final:hover { background: #292929; color: #fff; }
.fv-owner-ui .button-quiet { background: transparent; }
.fv-owner-ui .button-quiet:hover { background: var(--accent); }
.fv-owner-ui .button-row { gap: 0.7rem; }
.fv-owner-ui .warning, .fv-owner-ui .message { border-radius: 0.8rem; padding: 1rem 1.1rem; }
.fv-owner-ui .fv-main .message { padding: 1rem 1.1rem; }
.fv-owner-ui .fv-danger-link { color: #8d332d; }
.fv-owner-ui :focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.fv-owner-ui .fv-overview { gap: 1.3rem; }
.fv-owner-ui .fv-salon-card {
  background: radial-gradient(ellipse at top right, #386851, transparent 75%), #084432;
  border: 1px solid #174c3c;
  border-radius: 1.35rem;
  padding: 1.5rem;
}
.fv-owner-ui .fv-salon-card h2 { font-size: 2rem; }
.fv-owner-ui .fv-salon-card .fv-stats { margin: 1.5rem 0; }
.fv-owner-ui .fv-salon-card .button { margin-top: auto; width: 100%; }
.fv-owner-ui .fv-reward-card { gap: 1rem; }
.fv-owner-ui .fv-icon-disc { background: #f5efdf; border-radius: 50%; height: 3.1rem; width: 3.1rem; }
.fv-owner-ui .fv-icon-disc .ui-icon { height: 1.6rem; width: 1.6rem; }
.fv-owner-ui .fv-quick-title { color: var(--ink); font: 400 1.7rem/1.25 Georgia, serif; margin: 1.8rem 0 1rem; }
.fv-owner-ui .fv-quick-grid { gap: 0.85rem; }
.fv-owner-ui .fv-quick { gap: 0.9rem; min-height: 5.25rem; padding: 1.2rem; }
.fv-owner-ui .fv-quick > .ui-icon { color: var(--gold-ink); flex-basis: 1.65rem; height: 1.65rem; width: 1.65rem; }
.fv-owner-ui .fv-settings-fold > summary { color: var(--ink); gap: 0.7rem; min-height: 3.75rem; padding: 1rem 1.2rem; }
.fv-owner-ui .fv-settings-fold > summary > .ui-icon { flex-shrink: 0; }
.fv-owner-ui .fv-fold-content { padding: 1.3rem; }
.fv-owner-ui .fv-settings-fold[open] { border-color: #b9c4b4; }

.fv-owner-ui .account-directory { display: grid; gap: 1rem; margin: 1.2rem 0; }
.fv-owner-ui .account-directory > .form-card { margin: 0; min-width: 0; }
.fv-owner-ui .account-directory h2 { font-family: inherit; font-size: 1.05rem; font-weight: 600; }
.fv-owner-ui .account-directory .button { width: 100%; }
.fv-owner-ui .reward-list { list-style: none; margin: 0; padding: 0; }
.fv-owner-ui .fv-reward-row { align-items: flex-start; border-top: 1px solid var(--line); gap: 1rem; margin: 0; }
.fv-owner-ui .fv-reward-row:first-child { border-top: 0; padding-top: 0.4rem; }
.fv-owner-ui .fv-reward-row strong { display: inline-block; font: 400 1.45rem/1.3 Georgia, serif; }
.fv-owner-ui .fv-reward-row > div { flex: 1; }
.fv-owner-ui .fv-reward-photo { height: 4.5rem; width: 4.5rem; }
.fv-owner-ui .fv-reward-actions summary { color: var(--gold-ink); min-height: 2.75rem; padding-block: 0.6rem; }
.fv-owner-ui .fv-reward-actions a { min-height: 2.75rem; }
.fv-owner-ui table { border-collapse: collapse; width: 100%; }
.fv-owner-ui :is(th, td) { border-bottom: 1px solid var(--line); overflow-wrap: anywhere; padding: 0.85rem; }
.fv-owner-ui th { color: var(--gold-ink); font-weight: 550; text-align: left; }

.fv-owner-auth .site-header { background: var(--surface); padding: 1.2rem; }
.fv-owner-auth .brand { display: block; font-weight: 500; letter-spacing: normal; }
.fv-owner-auth .main-nav { gap: 0.5rem; }
.fv-owner-auth .main-nav .button { font-size: 0.8rem; min-height: 2.75rem; padding: 0.5rem 0.7rem; }
.fv-owner-auth .page-shell { max-width: 42rem; padding: 1.5rem 1rem 4rem; }
.fv-owner-auth .form-card { border-radius: 1.4rem; margin: 0; padding: 1.5rem; }
.fv-owner-auth h1 { font-size: clamp(1.5rem, 3vw, 1.75rem); margin: 0 0 1rem; }
.fv-owner-auth .form-card > p { color: var(--muted); }
.fv-owner-auth .form-card > form { margin: 1.5rem 0; }
.fv-owner-auth .form-card .button-primary { width: 100%; }
.fv-owner-auth .secret-card { margin-top: 1.5rem; }
.fv-owner-auth .one-time-token {
  background: var(--accent);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  display: block;
  font: 1.05rem/1.6 ui-monospace, monospace;
  overflow-wrap: anywhere;
  padding: 1rem;
}

@media (min-width: 42rem) {
  .fv-owner-ui .fv-header { grid-template-columns: auto minmax(0, 1fr); padding: 1.25rem 2rem; }
  .fv-owner-ui .fv-account-menu { width: auto; min-width: 14rem; }
  .fv-owner-ui .fv-topbar { gap: 1rem; }
  .fv-owner-ui .fv-avatar { flex-basis: 2.8rem; height: 2.8rem; }
  .fv-owner-ui .fv-account-menu > summary { gap: 0.8rem; padding-right: 1rem; }
  .fv-owner-ui .fv-account-copy small { font-size: 0.75rem; }
  .fv-owner-ui .fv-account-name { font-size: 1rem; }
  .fv-owner-ui .fv-menu-toggle { padding-inline: 2rem; }
  .fv-owner-ui .fv-main { padding: 2.2rem 2rem 4rem; }
  .fv-owner-ui .fv-main .form-card { padding: 1.65rem; }
  .fv-owner-ui .account-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fv-owner-ui .fv-fold-content { padding: 1.65rem; }
  .fv-owner-auth .site-header { padding: 1.5rem 2rem; }
  .fv-owner-auth .page-shell { padding-top: 3rem; }
  .fv-owner-auth .form-card { padding: 2.25rem; }
}

@media (min-width: 69rem) {
  .fv-owner-ui .fv-header { gap: 0; grid-template-columns: 16rem minmax(0, 1fr); min-height: 5rem; padding: 0; }
  .fv-owner-ui .fv-brand { padding: 0.75rem 1.5rem; }
  .fv-owner-ui .fv-frame { grid-template-columns: 16rem minmax(0, 1fr); }
  .fv-owner-ui .fv-sidebar { padding: 2rem 0.75rem; }
  .fv-owner-ui .fv-topbar { margin: 0 auto; max-width: 95rem; padding: 0.6rem 2.5rem; width: 100%; }
  .fv-owner-ui .fv-top-label { color: var(--ink); font-size: 0.95rem; }
  .fv-owner-ui .fv-main { max-width: 95rem; padding: 2.25rem 2.5rem 4rem; }
  .fv-owner-ui .fv-main > .form-card, .fv-owner-ui .fv-main > .fv-settings-fold { max-width: 56rem; }
  .fv-owner-ui .fv-wordmark { font-size: 2.7rem; }
  .fv-owner-ui .fv-tagline { font-size: 0.65rem; letter-spacing: 0.23em; }
  .fv-owner-ui .fv-account-menu { min-width: 17rem; }
  .fv-owner-ui .fv-account-copy small { font-size: 0.8rem; }
  .fv-owner-ui .fv-salon-card { padding: 2rem; }
  .fv-owner-ui .fv-heading-slogan { display: none; }
}

@media (max-width: 68.999rem) {
  .fv-owner-ui .fv-frame { display: block; }
  .fv-owner-ui .fv-top-label { display: none; }
  .fv-owner-ui .fv-navigation-disclosure { border-bottom: 1px solid var(--line); border-right: 0; }
  .fv-owner-ui .fv-navigation-disclosure > summary { display: flex; }
  .fv-owner-ui .fv-navigation-disclosure:not([open])::details-content { content-visibility: hidden; }
  .fv-owner-ui .fv-navigation-disclosure:not([open]) > .fv-sidebar { display: none; }
  .fv-owner-ui .fv-sidebar-language { display: block; }
}

@media (max-width: 23rem) {
  .fv-owner-ui .fv-header { gap: 0.45rem; padding: 0.85rem; }
  .fv-owner-ui .fv-tagline { font-size: 0.5rem; letter-spacing: 0.12em; }
  .fv-owner-ui .fv-account-menu > summary { gap: 0.4rem; padding-right: 0.4rem; }
  .fv-owner-ui .fv-account-name { font-size: 0.8rem; }
  .fv-owner-ui .fv-avatar { flex-basis: 2rem; height: 2rem; font-size: 1rem; }
  .fv-owner-ui .fv-account-copy small { font-size: 0.6rem; }
  .fv-owner-ui .fv-main .form-card, .fv-owner-ui .fv-fold-content { padding: 1.1rem; }
  .fv-owner-ui .fv-reward-row { flex-wrap: wrap; }
  .fv-owner-auth .form-card { padding: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .fv-owner-ui *, .fv-owner-ui *::before, .fv-owner-ui *::after { scroll-behavior: auto; transition: none; }
}
