/* One source for logo, header and menu dimensions; role files only style their contents. */
.fv-support > summary {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.3rem;
  min-height: 2.75rem; color: var(--brand); cursor: pointer; list-style: none;
}
.fv-support > summary::-webkit-details-marker { display: none; }
.fv-support > summary::after {
  content: ""; width: 0.45rem; height: 0.45rem; margin-inline: auto 0.5rem;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.fv-support[open] > summary::after { transform: rotate(225deg); }
.fv-support-options { display: grid; justify-items: start; gap: 0.35rem; padding: 0.5rem 0.75rem; }
.fv-support-address { font-weight: 600; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.fv-support-options [role="status"] { font-size: 0.9rem; }
.fv-support-options [role="status"]:empty { margin: 0; height: 0; }

:root {
  --fv-shell-width: 1320px;
  --fv-header-height: 96px;
  --fv-logo-height: 36px;
  --fv-tab-height: 64px;
  --fv-tab-icon: 22px;
  --fv-tab-font: 13px;
  --fv-nav-height: calc(var(--fv-tab-height) + 14px + env(safe-area-inset-bottom, 0px));
  scrollbar-gutter: stable;
}
:is(.fv-navigation-page, .fv-public-navigation-page) {
  scroll-padding-top: 12px;
  scroll-padding-bottom: calc(var(--fv-nav-height) + 16px);
}
.fv-shell-header {
  align-items: center;
  background: var(--surface-warm);
  border-bottom: 1px solid var(--line);
  box-sizing: border-box;
  display: grid;
  font-family: var(--fv-font-ui);
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  height: var(--fv-header-height);
  min-height: var(--fv-header-height);
  padding: 12px max(16px, calc((100% - var(--fv-shell-width)) / 2 + 8px));
}
.fv-shell-header .fv-brand {
  align-items: center;
  color: var(--brand);
  display: inline-flex;
  flex-direction: column;
  justify-self: start;
  margin: 0;
  padding: 0;
  text-decoration: none;
}
.fv-brand .fv-brand-logo {
  display: block;
  flex: none;
  height: var(--fv-logo-height);
  max-width: none;
  object-fit: contain;
  width: auto;
}
.fv-brand .fv-tagline {
  color: var(--brand-gold-ink);
  font: 400 9px/1.4 var(--fv-font-ui);
  letter-spacing: 0.21em;
  margin-top: 6px;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
.fv-shell-header .fv-header-salon {
  color: var(--brand);
  margin: 0 0 0 auto;
  max-width: 24rem;
  min-width: 0;
  text-align: right;
}
.fv-header-salon small {
  color: var(--gold-ink);
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.fv-header-salon span {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  overflow-wrap: anywhere;
}
/* Recovery/operator controls can wrap without clipping; the brand dimensions stay shared. */
:is(.activation-header, .op-shell .fv-shell-header) {
  display: flex;
  flex-wrap: wrap;
  height: auto;
  justify-content: space-between;
}
.fv-shell-nav {
  bottom: var(--fv-viewport-bottom, 0px);
  left: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  position: fixed;
  right: 0;
  top: auto;
  z-index: 35;
}
.fv-shell-nav-inner {
  align-items: stretch;
  display: grid;
  gap: 5px;
  margin-inline: auto;
  max-width: var(--fv-shell-width);
  padding: 6px 8px;
  position: relative;
}
.fv-shell-nav .fv-shell-tab {
  align-items: center;
  border: 0;
  border-radius: 0.7rem;
  box-sizing: border-box;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  font-family: var(--fv-font-ui);
  font-size: var(--fv-tab-font);
  font-weight: 400;
  gap: 4px;
  height: var(--fv-tab-height);
  justify-content: center;
  line-height: 1.3;
  list-style: none;
  min-height: var(--fv-tab-height);
  min-width: 0;
  padding: 6px 2px;
  position: relative;
  text-align: center;
  text-decoration: none;
  width: 100%;
}
.fv-shell-nav .fv-shell-tab[aria-current="page"],
.fv-shell-nav .fv-shell-tab[aria-current="page"]:hover { font-weight: 600; }
.fv-shell-tab > span { max-width: 100%; overflow-wrap: anywhere; }
.fv-shell-nav .fv-shell-tab > .ui-icon {
  flex: 0 0 var(--fv-tab-icon);
  height: var(--fv-tab-icon);
  width: var(--fv-tab-icon);
}
:is(.fv-navigation-page, .fv-public-navigation-page) > body {
  padding-bottom: calc(var(--fv-nav-height) + 16px);
}
.fv-shell-nav :is(.fv-more-content, .fv-sidebar.fv-customer-panel, .fv-public-panel) {
  bottom: calc(100% + 8px);
  left: 10px;
  position: absolute;
  right: 10px;
  top: auto;
  width: auto;
}
.fv-owner-ui .fv-more-content {
  max-height: var(--fv-more-height, calc(100dvh - var(--fv-nav-height) - 16px));
}
.customer-shell .fv-sidebar.fv-customer-panel {
  max-height: var(--fv-customer-panel-height, calc(100dvh - var(--fv-nav-height) - 16px));
}
.fv-public-panel {
  max-height: var(--fv-public-panel-height, calc(100dvh - var(--fv-nav-height) - 16px));
}
:is(.fv-customer-more, .fv-public-more)[open]::before {
  bottom: calc(var(--fv-nav-height) + var(--fv-viewport-bottom, 0px));
  top: 0;
}
@supports not (scrollbar-gutter: stable) { :root { overflow-y: scroll; } }
@media (min-width: 42rem) {
  :root {
    --fv-header-height: 128px;
    --fv-logo-height: 52px;
    --fv-tab-height: 88px;
    --fv-tab-icon: 26px;
    --fv-tab-font: 18px;
    --fv-nav-height: calc(var(--fv-tab-height) + 14px);
  }
  :is(.fv-navigation-page, .fv-public-navigation-page) {
    scroll-padding-top: calc(var(--fv-nav-height) + 12px);
    scroll-padding-bottom: 12px;
  }
  .fv-brand .fv-tagline { font-size: 11px; }
  .fv-shell-nav { bottom: auto; padding-bottom: 0; position: sticky; top: 0; }
  :is(.fv-navigation-page, .fv-public-navigation-page) > body { padding-bottom: 0; }
  .fv-shell-nav :is(.fv-more-content, .fv-sidebar.fv-customer-panel, .fv-public-panel) {
    bottom: auto;
    left: auto;
    top: calc(100% + 8px);
    width: min(22rem, calc(100vw - 30px));
  }
  .fv-owner-ui .fv-more-content {
    max-height: var(--fv-more-height,
      calc(100dvh - var(--fv-header-height) - var(--fv-nav-height) - 16px));
  }
  .customer-shell .fv-sidebar.fv-customer-panel {
    max-height: var(--fv-customer-panel-height,
      calc(100dvh - var(--fv-header-height) - var(--fv-nav-height) - 16px));
  }
  .fv-public-panel {
    max-height: var(--fv-public-panel-height,
      calc(100dvh - var(--fv-header-height) - var(--fv-nav-height) - 16px));
  }
  .customer-shell .fv-customer-more[open]::before {
    bottom: 0;
    top: var(--fv-customer-bar-bottom, 12rem);
  }
  .fv-public-more[open]::before { bottom: 0; top: var(--fv-public-bar-bottom, 12rem); }
}
