/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme {
  :root, :host {
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
    --color-white: #fff;
    --spacing: 0.25rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --font-weight-medium: 500;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: "Montserrat", Arial, sans-serif;
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden='until-found'])) {
    display: none !important;
  }
}
@property --tw-animation-delay {
  syntax: "*";
  inherits: false;
  initial-value: 0s;
}
@property --tw-animation-direction {
  syntax: "*";
  inherits: false;
  initial-value: normal;
}
@property --tw-animation-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-animation-fill-mode {
  syntax: "*";
  inherits: false;
  initial-value: none;
}
@property --tw-animation-iteration-count {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-enter-blur {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-enter-opacity {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-enter-rotate {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-enter-scale {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-enter-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-enter-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-exit-blur {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-exit-opacity {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-exit-rotate {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-exit-scale {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-exit-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-exit-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --scroll-fade-t {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0px;
}
@property --scroll-fade-b {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0px;
}
@property --scroll-fade-s {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0px;
}
@property --scroll-fade-e {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0px;
}
@property --scroll-fade-mask {
  syntax: "*";
  inherits: false;
}
@property --shimmer-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 20deg;
}
@property --shimmer-image {
  syntax: "*";
  inherits: false;
}
@property --shimmer-text-fill {
  syntax: "*";
  inherits: false;
}
@media (prefers-reduced-motion: reduce) {
  .shimmer {
    animation: none;
    background-image: none;
    -webkit-text-fill-color: currentColor;
  }
}
.visible {
  visibility: visible;
}
.static {
  position: static;
}
.block {
  display: block;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.inline-flex {
  display: inline-flex;
}
.size-6 {
  width: calc(var(--spacing) * 6);
  height: calc(var(--spacing) * 6);
}
.size-8 {
  width: calc(var(--spacing) * 8);
  height: calc(var(--spacing) * 8);
}
.size-9 {
  width: calc(var(--spacing) * 9);
  height: calc(var(--spacing) * 9);
}
.size-10 {
  width: calc(var(--spacing) * 10);
  height: calc(var(--spacing) * 10);
}
.h-6 {
  height: calc(var(--spacing) * 6);
}
.h-8 {
  height: calc(var(--spacing) * 8);
}
.h-9 {
  height: calc(var(--spacing) * 9);
}
.h-10 {
  height: calc(var(--spacing) * 10);
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: calc(var(--spacing) * 0);
}
.shrink-0 {
  flex-shrink: 0;
}
.transform {
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.gap-1 {
  gap: calc(var(--spacing) * 1);
}
.gap-1\.5 {
  gap: calc(var(--spacing) * 1.5);
}
.gap-2 {
  gap: calc(var(--spacing) * 2);
}
.rounded-md {
  border-radius: var(--radius);
}
.border {
  border-style: var(--tw-border-style);
  border-width: 1px;
}
.border-input {
  border-color: var(--input);
}
.bg-background {
  background-color: var(--background);
}
.bg-destructive {
  background-color: var(--destructive);
}
.bg-primary {
  background-color: var(--primary);
}
.bg-secondary {
  background-color: var(--secondary);
}
.bg-transparent {
  background-color: transparent;
}
.px-2 {
  padding-inline: calc(var(--spacing) * 2);
}
.px-3 {
  padding-inline: calc(var(--spacing) * 3);
}
.px-4 {
  padding-inline: calc(var(--spacing) * 4);
}
.px-6 {
  padding-inline: calc(var(--spacing) * 6);
}
.py-1 {
  padding-block: calc(var(--spacing) * 1);
}
.py-2 {
  padding-block: calc(var(--spacing) * 2);
}
.text-base {
  font-size: var(--text-base);
  line-height: var(--tw-leading, var(--text-base--line-height));
}
.text-sm {
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
}
.text-xs {
  font-size: var(--text-xs);
  line-height: var(--tw-leading, var(--text-xs--line-height));
}
.font-medium {
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
}
.whitespace-nowrap {
  white-space: nowrap;
}
.text-primary {
  color: var(--primary);
}
.text-primary-foreground {
  color: var(--primary-foreground);
}
.text-secondary-foreground {
  color: var(--secondary-foreground);
}
.text-white {
  color: var(--color-white);
}
.underline-offset-4 {
  text-underline-offset: 4px;
}
.shadow-xs {
  --tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.outline {
  outline-style: var(--tw-outline-style);
  outline-width: 1px;
}
.transition-\[color\,box-shadow\] {
  transition-property: color,box-shadow;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
}
.transition-colors {
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
}
.outline-none {
  --tw-outline-style: none;
  outline-style: none;
}
.selection\:bg-primary {
  & *::selection {
    background-color: var(--primary);
  }
  &::selection {
    background-color: var(--primary);
  }
}
.selection\:text-primary-foreground {
  & *::selection {
    color: var(--primary-foreground);
  }
  &::selection {
    color: var(--primary-foreground);
  }
}
.file\:inline-flex {
  &::file-selector-button {
    display: inline-flex;
  }
}
.file\:h-7 {
  &::file-selector-button {
    height: calc(var(--spacing) * 7);
  }
}
.file\:border-0 {
  &::file-selector-button {
    border-style: var(--tw-border-style);
    border-width: 0px;
  }
}
.file\:bg-transparent {
  &::file-selector-button {
    background-color: transparent;
  }
}
.file\:text-sm {
  &::file-selector-button {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
}
.file\:font-medium {
  &::file-selector-button {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
}
.file\:text-foreground {
  &::file-selector-button {
    color: var(--foreground);
  }
}
.placeholder\:text-muted-foreground {
  &::placeholder {
    color: var(--muted-foreground);
  }
}
.hover\:bg-accent {
  &:hover {
    @media (hover: hover) {
      background-color: var(--accent);
    }
  }
}
.hover\:bg-destructive\/90 {
  &:hover {
    @media (hover: hover) {
      background-color: var(--destructive);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--destructive) 90%, transparent);
      }
    }
  }
}
.hover\:bg-primary\/90 {
  &:hover {
    @media (hover: hover) {
      background-color: var(--primary);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--primary) 90%, transparent);
      }
    }
  }
}
.hover\:bg-secondary\/80 {
  &:hover {
    @media (hover: hover) {
      background-color: var(--secondary);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--secondary) 80%, transparent);
      }
    }
  }
}
.hover\:text-accent-foreground {
  &:hover {
    @media (hover: hover) {
      color: var(--accent-foreground);
    }
  }
}
.hover\:underline {
  &:hover {
    @media (hover: hover) {
      text-decoration-line: underline;
    }
  }
}
.focus-visible\:border-ring {
  &:focus-visible {
    border-color: var(--ring);
  }
}
.focus-visible\:ring-\[3px\] {
  &:focus-visible {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
}
.focus-visible\:ring-destructive\/20 {
  &:focus-visible {
    --tw-ring-color: var(--destructive);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--destructive) 20%, transparent);
    }
  }
}
.focus-visible\:ring-ring\/50 {
  &:focus-visible {
    --tw-ring-color: var(--ring);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--ring) 50%, transparent);
    }
  }
}
.disabled\:pointer-events-none {
  &:disabled {
    pointer-events: none;
  }
}
.disabled\:cursor-not-allowed {
  &:disabled {
    cursor: not-allowed;
  }
}
.disabled\:opacity-50 {
  &:disabled {
    opacity: 50%;
  }
}
.has-\[\>svg\]\:px-1\.5 {
  &:has(>svg) {
    padding-inline: calc(var(--spacing) * 1.5);
  }
}
.has-\[\>svg\]\:px-2\.5 {
  &:has(>svg) {
    padding-inline: calc(var(--spacing) * 2.5);
  }
}
.has-\[\>svg\]\:px-3 {
  &:has(>svg) {
    padding-inline: calc(var(--spacing) * 3);
  }
}
.has-\[\>svg\]\:px-4 {
  &:has(>svg) {
    padding-inline: calc(var(--spacing) * 4);
  }
}
.aria-invalid\:border-destructive {
  &[aria-invalid="true"] {
    border-color: var(--destructive);
  }
}
.aria-invalid\:ring-destructive\/20 {
  &[aria-invalid="true"] {
    --tw-ring-color: var(--destructive);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--destructive) 20%, transparent);
    }
  }
}
.md\:text-sm {
  @media (width >= 48rem) {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
}
.dark\:border-input {
  @media (prefers-color-scheme: dark) {
    border-color: var(--input);
  }
}
.dark\:bg-destructive\/60 {
  @media (prefers-color-scheme: dark) {
    background-color: var(--destructive);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--destructive) 60%, transparent);
    }
  }
}
.dark\:bg-input\/30 {
  @media (prefers-color-scheme: dark) {
    background-color: var(--input);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--input) 30%, transparent);
    }
  }
}
.dark\:hover\:bg-accent\/50 {
  @media (prefers-color-scheme: dark) {
    &:hover {
      @media (hover: hover) {
        background-color: var(--accent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--accent) 50%, transparent);
        }
      }
    }
  }
}
.dark\:hover\:bg-input\/50 {
  @media (prefers-color-scheme: dark) {
    &:hover {
      @media (hover: hover) {
        background-color: var(--input);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--input) 50%, transparent);
        }
      }
    }
  }
}
.dark\:focus-visible\:ring-destructive\/40 {
  @media (prefers-color-scheme: dark) {
    &:focus-visible {
      --tw-ring-color: var(--destructive);
      @supports (color: color-mix(in lab, red, red)) {
        --tw-ring-color: color-mix(in oklab, var(--destructive) 40%, transparent);
      }
    }
  }
}
.dark\:aria-invalid\:ring-destructive\/40 {
  @media (prefers-color-scheme: dark) {
    &[aria-invalid="true"] {
      --tw-ring-color: var(--destructive);
      @supports (color: color-mix(in lab, red, red)) {
        --tw-ring-color: color-mix(in oklab, var(--destructive) 40%, transparent);
      }
    }
  }
}
.\[\&_svg\]\:pointer-events-none {
  & svg {
    pointer-events: none;
  }
}
.\[\&_svg\]\:shrink-0 {
  & svg {
    flex-shrink: 0;
  }
}
.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3 {
  & svg:not([class*='size-']) {
    width: calc(var(--spacing) * 3);
    height: calc(var(--spacing) * 3);
  }
}
.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 {
  & svg:not([class*='size-']) {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }
}
:root {
  --cream: #f3efe4;
  --paper: #fbfaf6;
  --ink: #2d2f2a;
  --charcoal: #242622;
  --olive: #7f8963;
  --olive-dark: #66704f;
  --sand: #c8b990;
  --line: #ddd8cb;
  --muted: #77786f;
  --red: #b85d55;
  --background: var(--paper);
  --foreground: var(--ink);
  --card: #fff;
  --card-foreground: var(--ink);
  --popover: #fff;
  --popover-foreground: var(--ink);
  --primary: var(--charcoal);
  --primary-foreground: var(--cream);
  --secondary: var(--cream);
  --secondary-foreground: var(--ink);
  --muted-foreground: var(--muted);
  --accent: #e8e6da;
  --accent-foreground: var(--ink);
  --destructive: var(--red);
  --border: var(--line);
  --input: var(--line);
  --ring: var(--olive);
  --radius: 0.35rem;
  --sidebar: var(--charcoal);
  --sidebar-foreground: #eeeadd;
  --sidebar-primary: var(--olive);
  --sidebar-primary-foreground: #fff;
  --sidebar-accent: #363931;
  --sidebar-accent-foreground: #fff;
  --sidebar-border: #3d4038;
  --sidebar-ring: var(--olive);
}
.manager-topbar {
  border-bottom-color: rgba(255,255,255,.08);
  background: linear-gradient(135deg,#232621 0%,#30332d 100%);
  color: #f5f1e7;
  box-shadow: 0 10px 32px rgba(23,25,22,.16);
}
.manager-topbar .manager-brand,.manager-topbar .manager-nav>button,.manager-topbar .manager-nav-group>button {
  color: #f5f1e7;
}
.manager-topbar .manager-nav>button:hover,.manager-topbar .manager-nav-group>button:hover {
  background: rgba(255,255,255,.08);
}
.manager-topbar .manager-nav>button.active,.manager-topbar .manager-nav-group.active>button {
  color: #fff;
  background: rgba(127,137,99,.32);
  box-shadow: inset 0 -2px #aab38e;
}
.manager-account {
  border-left-color: rgba(255,255,255,.12);
}
.manager-account small {
  color: #c5c7bd;
}
.manager-signout {
  border-color: rgba(255,255,255,.14);
  color: #f7f3e9;
  background: rgba(255,255,255,.08);
  box-shadow: none;
}
.heading {
  padding: 22px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg,#292c27,#373a34);
  color: #f8f4ea;
  box-shadow: 0 16px 38px rgba(36,38,34,.14);
}
.heading .over,.heading p {
  color: #b9c09f;
}
.heading h1 {
  color: #fff;
}
.detail-card,.table-panel,.toolbar,.finance-toolbar {
  border-color: rgba(36,38,34,.1);
  box-shadow: 0 12px 34px rgba(36,38,34,.055);
}
.table-panel thead {
  background: #30332e;
  color: #f7f3e9;
}
.table-panel th {
  color: #e8e4da;
}
.table-panel tbody tr:hover {
  background: #f0eee6;
}
[data-slot="dialog-content"] {
  scrollbar-width: thin;
  scrollbar-color: #89916f transparent;
}
[data-slot="dialog-header"] {
  margin: -28px -28px 4px;
  padding: 26px 62px 23px 28px;
  border-radius: 23px 23px 0 0;
  background: linear-gradient(135deg,#252823,#343831);
  color: #fff;
}
[data-slot="dialog-title"] {
  font-size: 22px !important;
  line-height: 1.16 !important;
  letter-spacing: -.025em;
}
[data-slot="dialog-description"] {
  max-width: 620px;
  color: #c8cbbf !important;
  line-height: 1.5;
}
[data-slot="dialog-footer"] {
  margin: 8px -28px -28px;
  padding: 18px 28px;
  border-top: 1px solid rgba(36,38,34,.09);
  border-radius: 0 0 23px 23px;
  background: #f2f0e9;
  position: sticky;
  bottom: -28px;
  z-index: 2;
}
[data-slot="dialog-content"] label {
  font-size: 12px;
  font-weight: 700;
  color: #44483f;
}
[data-slot="dialog-content"] input,[data-slot="dialog-content"] select,[data-slot="dialog-content"] textarea {
  min-height: 44px;
  border-radius: 12px;
  border-color: #d4d1c7;
  background: #fff;
  transition: border-color .16s,box-shadow .16s;
}
[data-slot="dialog-content"] input:focus,[data-slot="dialog-content"] select:focus,[data-slot="dialog-content"] textarea:focus {
  border-color: #7f8963;
  box-shadow: 0 0 0 4px rgba(127,137,99,.13);
  outline: none;
}
[data-slot="sheet-content"] {
  border: 0;
  background: #fbfaf6;
  box-shadow: -24px 0 70px rgba(20,22,19,.25);
}
[data-slot="sheet-header"] {
  margin: -24px -24px 10px;
  padding: 26px 56px 24px 26px;
  background: #292c27;
  color: #fff;
}
[data-slot="sheet-description"] {
  color: #c8cbbf !important;
}
.brand-btn {
  box-shadow: 0 8px 18px rgba(102,112,79,.2);
}
button {
  transition: transform .15s ease,box-shadow .15s ease,background .15s ease;
}
button:not(:disabled):active {
  transform: translateY(1px);
}
@media (max-width:700px) {
  .heading {
    padding: 18px;
    border-radius: 16px;
  }
  [data-slot="dialog-content"] {
    max-height: calc(100dvh - 12px);
    max-width: calc(100% - 12px);
    padding: 22px;
    border-radius: 20px;
  }
  [data-slot="dialog-header"] {
    margin: -22px -22px 2px;
    padding: 23px 54px 20px 22px;
    border-radius: 19px 19px 0 0;
  }
  [data-slot="dialog-footer"] {
    margin: 6px -22px -22px;
    padding: 15px 22px calc(15px + env(safe-area-inset-bottom));
    bottom: -22px;
    border-radius: 0 0 19px 19px;
  }
}
.auth-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #252721;
  background: radial-gradient(circle at 15% 10%, rgba(127, 137, 99, 0.16), transparent 34%),
    linear-gradient(145deg, #f6f3ea 0%, #fbfaf6 55%, #eeeadf 100%);
}
.auth-card {
  width: min(100%, 440px);
  padding: 34px;
  border: 1px solid rgba(45, 47, 42, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(45, 47, 42, 0.13);
  backdrop-filter: blur(18px);
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 44px;
}
.auth-brand p {
  margin: 0;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.17em;
}
.auth-brand span {
  display: block;
  margin-top: 2px;
  color: #7f8963;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.auth-monogram {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: #252721;
  font-weight: 800;
}
.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 17px;
  color: #687153;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.auth-heading h1 {
  margin: 0;
  font-size: clamp(36px, 8vw, 48px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.auth-heading p {
  max-width: 340px;
  margin: 16px 0 30px;
  color: #74766e;
  font-size: 15px;
  line-height: 1.55;
}
.auth-form {
  display: grid;
  gap: 10px;
}
.auth-form label {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 720;
}
.auth-form input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid #d9d7cf;
  border-radius: 15px;
  outline: none;
  background: #fff;
  font-size: 16px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.auth-form input:focus {
  border-color: #7f8963;
  box-shadow: 0 0 0 4px rgba(127, 137, 99, 0.13);
}
.auth-password-field {
  position: relative;
}
.auth-password-field input {
  padding-right: 52px;
}
.auth-password-field button {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 11px;
  color: #686b62;
  background: transparent;
  cursor: pointer;
}
.auth-password-field button:hover {
  background: #f0eee7;
}
.auth-message {
  margin: 6px 0 0;
  padding: 11px 13px;
  border-radius: 12px;
  color: #8a3934;
  background: #f8e8e6;
  font-size: 13px;
  line-height: 1.4;
}
.auth-text-action {
  border: 0;
  background: transparent;
  color: #687050;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.auth-submit {
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: #7f8963;
  font-size: 16px;
  font-weight: 740;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(102, 112, 79, 0.22);
  transition: transform .18s ease, background .18s ease;
}
.auth-submit:hover {
  background: #6d7755;
  transform: translateY(-1px);
}
.auth-submit:disabled {
  cursor: wait;
  opacity: .65;
  transform: none;
}
.auth-footer {
  margin-top: 27px;
  padding-top: 20px;
  border-top: 1px solid #ebe8df;
  color: #8a8b84;
  font-size: 12px;
  text-align: center;
}
.auth-loader {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #7f8963;
  background: #fff;
  box-shadow: 0 18px 50px rgba(45, 47, 42, 0.12);
}
.auth-loader svg, .auth-spin {
  animation: auth-spin .8s linear infinite;
}
@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}
.manager-signout {
  position: static;
  flex: none;
  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(45, 47, 42, .14);
  border-radius: 999px;
  color: #2d2f2a;
  background: rgba(255,255,255,.9);
  box-shadow: 0 7px 22px rgba(45,47,42,.1);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
}
@media (max-width: 640px) {
  .auth-page {
    padding: 15px;
    align-items: end;
  }
  .auth-card {
    padding: 27px 23px calc(24px + env(safe-area-inset-bottom));
    border-radius: 26px;
  }
  .auth-brand {
    margin-bottom: 36px;
  }
  .manager-signout {
    position: static;
  }
  .manager-signout span {
    display: none;
  }
  .manager-signout {
    width: 46px;
    height: 46px;
    justify-content: center;
    padding: 0;
  }
}
.team-access {
  display: grid;
  gap: 20px;
}
.team-access-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.team-access-head h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -.035em;
}
.team-access-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.team-access-head svg, .team-actions svg, .team-notice svg {
  width: 17px;
  height: 17px;
}
.team-role-guide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.team-role-guide > span {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 10px;
  padding: 16px;
  border: 1px solid rgba(45,47,42,.09);
  border-radius: 14px;
  background: rgba(248,248,245,.78);
}
.team-role-guide svg {
  grid-row: 1 / 3;
  width: 20px;
  color: var(--olive);
}
.team-role-guide b {
  font-size: 14px;
}
.team-role-guide small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.team-list {
  overflow: hidden;
  border: 1px solid rgba(45,47,42,.09);
  border-radius: 16px;
  background: rgba(255,255,255,.88);
}
.team-list > article {
  display: grid;
  grid-template-columns: 46px minmax(180px, 1fr) minmax(145px, .55fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(45,47,42,.08);
}
.team-list > article:last-child {
  border-bottom: 0;
}
.team-list > article.disabled {
  background: rgba(45,47,42,.035);
}
.team-list > article > i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--charcoal);
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}
.team-list > article.disabled > i {
  color: var(--muted);
  background: #e6e5df;
}
.team-person, .team-role {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-person b, .team-role b {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-person span, .team-role span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-actions {
  display: flex;
  gap: 8px;
}
.team-actions button {
  min-width: 0;
}
.team-disable {
  color: #9a4842 !important;
}
.team-empty {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}
.team-notice {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  border-radius: 12px;
  font-size: 13px;
}
.team-notice.success {
  color: #4f5b3d;
  background: #edf1e5;
}
.team-notice.error, .team-form-error {
  color: #8a3934;
  background: #f8e8e6;
}
.team-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 24px 0;
}
.team-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 680;
}
.team-form label.wide {
  grid-column: 1 / -1;
}
.team-form input, .team-form select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  font-size: 16px;
}
.team-form-error {
  margin: 0 0 16px;
  padding: 11px 13px;
  border-radius: 11px;
  font-size: 13px;
}
.team-dialog form {
  display: contents;
}
@media (max-width: 760px) {
  .team-access-head {
    align-items: stretch;
    flex-direction: column;
  }
  .team-access-head button {
    width: 100%;
  }
  .team-role-guide {
    grid-template-columns: 1fr;
  }
  .team-list {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .team-list > article {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 16px;
    margin-bottom: 10px;
    border: 1px solid rgba(45,47,42,.09);
    border-radius: 15px;
    background: rgba(255,255,255,.9);
    box-shadow: var(--surface-shadow);
  }
  .team-list > article:last-child {
    border-bottom: 1px solid rgba(45,47,42,.09);
  }
  .team-role {
    grid-column: 2;
  }
  .team-actions {
    grid-column: 1 / -1;
    padding-top: 5px;
  }
  .team-actions button {
    flex: 1;
  }
  .team-form {
    grid-template-columns: 1fr;
  }
  .team-form label.wide {
    grid-column: auto;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
}
.shell {
  min-width: 0;
  background: var(--paper);
}
.side {
  border: 0 !important;
}
.side [data-sidebar="menu-button"] {
  height: 42px;
  border-radius: 3px;
  padding: 0 14px;
  color: #c8c8be;
  font-size: 14px;
  cursor: pointer;
}
.side [data-sidebar="menu-button"] svg {
  width: 18px;
}
.side [data-sidebar="menu-button"][data-active="true"] {
  background: var(--olive);
  color: #fff;
}
.side [data-sidebar="menu-button"]:hover {
  background: #363931;
  color: #fff;
}
.side [data-sidebar="group-label"] {
  color: #7b7d74;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 700;
  margin: 18px 11px 8px;
}
.side-head {
  height: 84px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--sidebar-border);
}
.side-head > div:last-child {
  display: flex;
  flex-direction: column;
  letter-spacing: 0.13em;
  line-height: 1.1;
}
.side-head b {
  font-size: 15px;
}
.side-head span {
  font-size: 10px;
  color: #aaa99f;
  letter-spacing: 0.36em;
}
.brand {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
  overflow: visible;
  background: transparent;
}
.brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.brand small {
  position: absolute;
  left: 7px;
  top: 5px;
  font-size: 8px;
}
.brand b {
  font-size: 23px;
}
.side [data-sidebar="footer"] {
  padding: 12px;
  border-top: 1px solid var(--sidebar-border);
}
.profile {
  margin-top: 8px;
  padding: 12px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--sidebar-border);
}
.profile > i,
.box > i,
.member > i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--charcoal);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
}
.profile > span,
.box > span {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.profile b,
.box b {
  font-size: 11px;
}
.profile small,
.box small {
  font-size: 9px;
  color: #8f9188;
}
.profile svg {
  width: 15px;
}
.top {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 8;
}
.mobile {
  display: none;
}
.search {
  height: 40px;
  width: min(390px, 42vw);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 3px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 12px;
}
.search svg {
  width: 16px;
}
.search span {
  flex: 1;
  text-align: left;
}
.search kbd {
  font-family: inherit;
  font-size: 9px;
  border: 1px solid var(--line);
  padding: 2px 5px;
  background: #fff;
}
.top > aside,
.box {
  display: flex;
  align-items: center;
}
.top > aside {
  gap: 18px;
}
.bell {
  position: relative;
  border: 0;
  background: none;
}
.bell svg {
  width: 19px;
}
.bell i {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--olive);
  border: 2px solid #fff;
  border-radius: 50%;
  right: 2px;
  top: 0;
}
.box {
  gap: 9px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.box svg {
  width: 14px;
}
.box > i {
  width: 32px;
  height: 32px;
}
main {
  padding: 34px 36px 50px;
  max-width: 1510px;
  width: 100%;
  margin: auto;
}
.heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.over {
  font-size: 10px;
  letter-spacing: 0.19em;
  font-weight: 800;
  color: var(--olive-dark);
  margin: 0 0 8px;
}
.heading h1 {
  font-size: 34px;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
  font-weight: 750;
}
.brand-btn {
  background: var(--olive) !important;
  color: #fff !important;
  border-radius: 3px !important;
  height: 42px !important;
  padding: 0 18px !important;
  font-size: 12px !important;
}
.brand-btn:hover {
  background: var(--olive-dark) !important;
}
.brand-btn svg,
.panel-title button svg {
  width: 15px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.kpi,
.panel,
.table-panel,
.form-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.kpi {
  padding: 20px;
  min-height: 145px;
}
.kpi > div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.kpi > div svg {
  width: 18px;
  color: var(--olive);
}
.kpi > strong {
  display: block;
  font-size: 28px;
  margin: 16px 0 12px;
  letter-spacing: -0.035em;
}
.kpi footer {
  display: flex;
  align-items: center;
  gap: 8px;
}
.kpi footer b {
  display: flex;
  align-items: center;
  font-size: 10px;
}
.kpi footer svg {
  width: 13px;
}
.kpi footer small {
  font-size: 9px;
  color: var(--muted);
}
.up {
  color: var(--olive-dark);
}
.down {
  color: var(--red);
}
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.8fr);
  gap: 16px;
}
.panel {
  padding: 22px;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.panel-title h2,
.table-caption h2,
.form-grid h2 {
  font-size: 17px;
  margin: 0;
  letter-spacing: -0.02em;
}
.panel-title > button {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  color: var(--olive-dark);
  font-size: 10px;
  font-weight: 700;
}
.courses {
  grid-row: span 1;
}
.course {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 8px 1fr 120px 16px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-top: 1px solid #ece9df;
  background: transparent;
  padding: 12px 0;
  text-align: left;
  color: var(--ink);
}
.course:hover,
.alert:hover {
  background: var(--paper);
}
.course time,
.course b {
  font-size: 11px;
  font-weight: 700;
}
.course > i {
  height: 30px;
  border-radius: 8px;
}
.wod {
  background: var(--charcoal);
}
.hyrox {
  background: var(--olive);
}
.spe {
  background: var(--sand);
}
.open {
  background: #a6a9a0;
}
.course > span {
  display: flex;
  flex-direction: column;
}
.course small {
  font-size: 9px;
  color: var(--muted);
}
.course em {
  font-style: normal;
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.course em u {
  width: 60px;
  height: 4px;
  background: #e7e4da;
  text-decoration: none;
}
.course em s {
  display: block;
  height: 100%;
  background: var(--olive);
}
.course > svg {
  width: 14px;
}
.alerts {
  grid-row: span 2;
}
.alert {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 11px;
  border: 0;
  border-top: 1px solid #ece9df;
  background: transparent;
  padding: 17px 0;
  text-align: left;
}
.alert > i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.alert i svg {
  width: 16px;
}
.alert i.amber {
  background: #f3e9d9;
  color: #ad7b3f;
}
.alert i.red {
  background: #f5e5e3;
  color: var(--red);
}
.alert i.green {
  background: #e8ecdf;
  color: var(--olive-dark);
}
.alert > span {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.alert b {
  font-size: 10px;
  line-height: 1.4;
}
.alert small {
  margin-top: 3px;
}
.alert > svg {
  width: 14px;
}
.revenue {
  min-height: 240px;
  display: grid;
  grid-template-columns: 1fr 145px 1.2fr;
  align-items: center;
  gap: 24px;
}
.revenue .panel-title {
  grid-column: 1/-1;
}
.donut {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(
    var(--olive) 0 64%,
    var(--sand) 64% 88%,
    var(--charcoal) 88%
  );
  position: relative;
}
.donut:after {
  content: "";
  position: absolute;
  width: 94px;
  height: 94px;
  background: #fff;
  border-radius: 50%;
}
.donut span {
  z-index: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.donut b {
  font-size: 17px;
}
.legend p,
.cash p {
  display: grid;
  grid-template-columns: 8px 1fr auto 30px;
  gap: 7px;
  align-items: center;
  font-size: 9px;
}
.legend i,
.cash p i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.olive {
  background: var(--olive);
}
.sand {
  background: var(--sand);
}
.dark {
  background: var(--charcoal);
}
.legend b {
  font-size: 10px;
}
.legend small {
  text-align: right;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.toolbar > div,
.toolbar > aside {
  display: flex;
  align-items: center;
  gap: 10px;
}
.toolbar button {
  height: 36px;
}
.toolbar > div button {
  width: 34px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
}
.toolbar svg {
  width: 15px;
}
.toolbar b {
  font-size: 12px;
  min-width: 220px;
  text-align: center;
}
.toolbar select,
.period {
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 12px;
  font: 600 10px Montserrat;
}
.calendar {
  background: #fff;
  border: 1px solid var(--line);
  overflow: auto;
}
.calendar > div {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  min-width: 1040px;
}
.calendar section {
  min-height: 560px;
  border-right: 1px solid var(--line);
  padding: 8px;
}
.calendar section > header {
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  padding: 7px 0 15px;
}
.slot {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 82px;
  text-align: left;
  border: 0;
  border-left: 4px solid;
  background: #f5f3ec;
  margin-bottom: 8px;
  padding: 9px;
  color: var(--ink);
}
.slot.wod {
  border-color: var(--charcoal);
}
.slot.hyrox {
  border-color: var(--olive);
}
.slot.spe {
  border-color: var(--sand);
}
.slot.open {
  border-color: #a6a9a0;
}
.slot time,
.slot span,
.slot small {
  font-size: 8px;
  color: var(--muted);
}
.slot b {
  font-size: 9px;
  margin: 4px 0;
}
.slot small {
  margin-top: auto;
  text-align: right;
}
.key {
  display: flex;
  gap: 18px;
  margin-top: 11px;
  font-size: 9px;
  color: var(--muted);
}
.key span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.key i {
  width: 8px;
  height: 8px;
}
.mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 15px;
}
.mini div {
  background: #fff;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.mini b {
  font-size: 19px;
  color: var(--ink);
}
.mini .red-text {
  color: var(--red);
}
.table-panel {
  overflow: hidden;
}
.table-tools,
.table-caption {
  min-height: 72px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.table-tools > label {
  position: relative;
  width: min(360px, 38vw);
}
.table-tools label svg {
  position: absolute;
  left: 10px;
  top: 11px;
  width: 16px;
  color: var(--muted);
}
.table-tools input {
  padding-left: 34px;
  background: var(--paper);
}
.table-tools nav {
  display: flex;
  flex: 1;
}
.table-tools nav button {
  border: 0;
  background: transparent;
  padding: 8px 10px;
  font-size: 9px;
  color: var(--muted);
}
.table-tools nav button.active {
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
}
.table-caption > div {
  flex: 1;
}
.table-caption p {
  font-size: 9px;
  color: var(--muted);
  margin: 4px 0;
}
.table-panel th {
  height: 42px;
  padding: 0 18px;
  background: #f7f5ee;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.table-panel td {
  padding: 13px 18px;
  font-size: 10px;
}
.table-panel td > svg {
  width: 16px;
  color: var(--muted);
}
.member {
  display: flex;
  align-items: center;
  gap: 9px;
}
.member > i {
  width: 30px;
  height: 30px;
  font-size: 8px;
}
.status {
  display: inline-flex;
  border-radius: 30px;
  padding: 5px 8px;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}
.status.green {
  background: #e8ecdf;
  color: var(--olive-dark);
}
.status.amber {
  background: #f3e9d9;
  color: #a16d31;
}
.status.red {
  background: #f5e5e3;
  color: var(--red);
}
.status.gray {
  background: #ecebe7;
  color: #72736d;
}
.two {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 16px;
}
.products > div {
  display: grid;
  grid-template-columns: 25px 1fr 70px 55px;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #ece9df;
  padding: 13px 0;
}
.products span {
  display: flex;
  flex-direction: column;
}
.products b,
.products strong {
  font-size: 9px;
}
.products em {
  font-style: normal;
  font-size: 8px;
  color: var(--muted);
}
.cash .stack {
  height: 13px;
  display: flex;
  gap: 2px;
  margin: 28px 0 20px;
}
.stack i:nth-child(1) {
  width: 64%;
  background: var(--olive);
}
.stack i:nth-child(2) {
  width: 24%;
  background: var(--sand);
}
.stack i:nth-child(3) {
  width: 12%;
  background: var(--charcoal);
}
.cash p {
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid #ece9df;
  padding: 8px 0;
}
.cash p span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.workflows > button:not(.full) {
  border: 0;
  border-top: 1px solid #ece9df;
  background: transparent;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  text-align: left;
}
.workflows button > i {
  width: 30px;
  height: 30px;
  background: var(--cream);
  display: grid;
  place-items: center;
}
.workflows button i svg {
  width: 14px;
  color: var(--olive);
}
.workflows button > span {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.workflows button b {
  font-size: 9px;
}
.workflows button small {
  font-size: 8px;
  color: var(--muted);
}
.full {
  width: 100%;
  margin-top: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.form-grid article {
  padding: 20px;
  min-height: 235px;
  position: relative;
}
.form-grid article > i {
  width: 38px;
  height: 38px;
  background: var(--cream);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.form-grid article > i svg {
  width: 17px;
  color: var(--olive);
}
.form-grid .status {
  position: absolute;
  right: 15px;
  top: 15px;
}
.form-grid h2 {
  min-height: 42px;
}
.form-grid strong {
  display: block;
  font-size: 20px;
  margin: 17px 0 3px;
}
.form-grid p {
  font-size: 9px;
  color: var(--muted);
  min-height: 24px;
}
.chart {
  min-height: 390px;
}
.chart > .panel-title + div {
  height: 290px;
  display: flex;
  align-items: end;
  justify-content: space-around;
}
.chart span {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
}
.chart span > i {
  height: 180px;
  width: 23px;
  background: #f0eee7;
  display: flex;
  align-items: end;
}
.chart u {
  width: 100%;
  background: var(--olive);
  text-decoration: none;
}
.chart span > b {
  font-size: 9px;
  margin-top: 7px;
}
.chart span small {
  font-size: 8px;
}
.offer-bars > div {
  margin-top: 22px;
}
.offer-bars p {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
}
.offer-bars > div > i {
  display: block;
  height: 7px;
  background: #ece9df;
}
.offer-bars u {
  display: block;
  height: 100%;
  background: var(--olive);
}
.settings {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
}
.settings > nav {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
  height: max-content;
}
.settings > nav button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 12px;
  font: 600 9px Montserrat;
  color: var(--muted);
}
.settings > nav button.active {
  background: var(--cream);
  color: var(--ink);
  border-left: 3px solid var(--olive);
}
.settings article > p {
  font-size: 9px;
  color: var(--muted);
}
.setting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.setting-grid label > b {
  display: block;
  font-size: 9px;
  margin-bottom: 7px;
}
.setting-grid label > span {
  display: flex;
  align-items: center;
}
.setting-grid input {
  max-width: 110px;
}
.setting-grid small {
  margin-left: 8px;
  font-size: 8px;
  color: var(--muted);
}
.settings hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}
.morning-booking-rule {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(127, 137, 99, 0.28);
  border-radius: 14px;
  background: #f4f5ef;
}
.morning-booking-rule .switch {
  padding-top: 0;
  border-top: 0;
}
.morning-booking-times {
  margin-top: 14px;
}
.morning-booking-times label > span {
  gap: 8px;
}
.morning-booking-times input[type="time"] {
  max-width: 140px;
}
.morning-booking-times small {
  margin: 0;
  white-space: nowrap;
}
.setting-help {
  margin: 14px 0 0;
  color: #5f6359;
  font-size: 12px;
  line-height: 1.55;
}
.settings h3 {
  font-size: 13px;
}
.switch {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #ece9df;
  position: relative;
}
.switch > span {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.switch b {
  font-size: 9px;
}
.switch small {
  font-size: 8px;
  color: var(--muted);
}
.switch input {
  position: absolute;
  opacity: 0;
}
.switch > i {
  width: 36px;
  height: 20px;
  background: #ccc;
  border-radius: 20px;
  position: relative;
}
.switch > i:after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}
.switch input:checked + i {
  background: var(--olive);
}
.switch input:checked + i:after {
  transform: translateX(16px);
}
.dialog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dialog-grid label {
  font-size: 10px;
  font-weight: 700;
}
.dialog-grid select,
.dialog-grid input {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: 6px;
  border: 1px solid var(--line);
  padding: 0 10px;
  font: 500 11px Montserrat;
}
.foot {
  display: flex;
  justify-content: space-between;
  padding: 20px 36px;
  border-top: 1px solid var(--line);
  color: #929389;
  font-size: 8px;
  letter-spacing: 0.08em;
}
@media (max-width: 1100px) {
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash-grid,
  .two {
    grid-template-columns: 1fr;
  }
  .alerts {
    grid-row: auto;
  }
  .revenue {
    grid-template-columns: 145px 1fr;
  }
  .revenue .panel-title {
    grid-column: 1/-1;
  }
}
.toolbar > div > .inline-flex {
  width: auto;
  padding: 0 10px;
}
.calendar section {
  min-height: 760px;
  padding: 0;
  position: relative;
}
.calendar section > header {
  height: 42px;
  padding: 14px 0 0;
  border-bottom: 1px solid var(--line);
}
.day-grid {
  height: 700px;
  position: relative;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(7.142857% - 1px),
    #f0eee7 calc(7.142857% - 1px),
    #f0eee7 7.142857%
  );
}
.day-grid .slot {
  position: absolute;
  left: 7px;
  right: 24px;
  width: auto;
  min-height: 48px;
  height: 48px;
  margin: 0;
  padding: 6px 7px;
  z-index: 2;
  overflow: hidden;
}
.day-grid .slot b {
  margin: 2px 0;
}
.day-grid .slot .slot-coach {
  display: inline;
  color: inherit;
  font: inherit;
  white-space: nowrap;
}
.open-rail {
  position: absolute;
  right: 5px;
  top: 0;
  bottom: 0;
  width: 13px;
  background: #eeece5;
  border-radius: 8px;
}
.open-rail button {
  position: absolute;
  left: 0;
  width: 100%;
  min-height: 18px;
  border: 0;
  border-radius: 7px;
  background: var(--olive);
  color: #fff;
  padding: 0;
  z-index: 3;
  cursor: pointer;
}
.open-rail button.full {
  background: var(--red);
}
.open-rail button span {
  font-size: 8px;
  font-weight: 800;
  display: grid;
  place-items: center;
  height: 100%;
}
.danger-item {
  color: var(--red) !important;
}
.open-summary {
  margin: 18px 24px 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 10px;
}
.open-summary > b {
  font-size: 24px;
}
.open-summary > span {
  font-size: 10px;
  color: var(--muted);
}
.open-summary > i {
  grid-column: 1/-1;
  height: 7px;
  background: #e8e5db;
  margin-top: 7px;
}
.open-summary u {
  display: block;
  height: 100%;
  background: var(--olive);
}
.open-roster {
  margin-top: 0;
}
.open-empty {
  padding: 24px;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.open-note {
  margin: 0 24px 16px;
  padding: 12px;
  background: var(--cream);
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}
.pager {
  min-height: 62px;
  border-top: 1px solid var(--line);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pager > span {
  font-size: 10px;
  color: var(--muted);
}
.pager > div {
  display: flex;
  gap: 8px;
}
.icon-action {
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.icon-action svg {
  width: 16px;
}
.finance-tabs > [role="tablist"] {
  margin-bottom: 14px;
  background: #e9e6dc;
}
.finance-tabs [role="tab"] {
  font-size: 11px;
}
.finance-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.finance-cards article,
.sepa-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
}
.finance-cards article > svg {
  width: 22px;
  color: var(--olive);
  margin-bottom: 20px;
}
.finance-cards h2,
.sepa-panel h2 {
  font-size: 17px;
  margin: 0 0 8px;
}
.finance-cards p,
.sepa-panel p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}
.finance-cards button {
  margin-top: 16px;
}
.sepa-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sepa-warning {
  padding: 12px;
  background: #f3e9d9;
  color: #8b612e;
  font-size: 10px;
  line-height: 1.5;
}
.day-grid .slot small {
  font-size: 10px;
  font-weight: 800;
  color: var(--ink);
}
.clickable-row {
  cursor: pointer;
}
.clickable-row:hover {
  background: var(--cream);
}
.member-sheet {
  width: min(480px, 100vw) !important;
}
.member-detail {
  padding: 24px;
}
.member-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.member-hero > i {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
}
.member-hero > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.member-detail section {
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.member-detail section p {
  display: flex;
  justify-content: space-between;
  padding: 13px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.member-detail section p:last-child {
  border: 0;
}
.member-detail section span {
  color: var(--muted);
}
.pos-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 16px;
}
.product-catalog,
.cart {
  background: #fff;
  border: 1px solid var(--line);
}
.product-catalog > header,
.cart > header {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-catalog h2,
.cart h2 {
  font-size: 18px;
  margin: 0;
}
.product-catalog > header svg {
  width: 18px;
  color: var(--muted);
}
.product-catalog > div {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.product-catalog > div > button {
  min-height: 130px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-catalog button:hover {
  border-color: var(--olive);
  background: var(--cream);
}
.product-catalog button span {
  font-size: 9px;
  color: var(--olive);
  text-transform: uppercase;
}
.product-catalog button b {
  font-size: 12px;
  margin: 8px 0;
}
.product-catalog button strong {
  font-size: 14px;
  margin-top: auto;
}
.product-catalog button i {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  background: var(--olive);
  color: #fff;
  display: grid;
  place-items: center;
}
.product-catalog button svg {
  width: 14px;
}
.cart {
  display: flex;
  flex-direction: column;
  min-height: 570px;
}
.cart > header > b {
  font-size: 10px;
  color: var(--muted);
}
.cart-lines {
  flex: 1;
}
.cart-lines > p {
  padding: 45px 22px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}
.cart-lines article {
  display: grid;
  grid-template-columns: 1fr auto 64px;
  gap: 10px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.cart-lines article > div {
  display: flex;
  flex-direction: column;
}
.cart-lines article b {
  font-size: 10px;
}
.cart-lines article small {
  font-size: 8px;
  color: var(--muted);
}
.cart-lines nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-lines nav button {
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  background: #fff;
}
.cart-lines article > strong {
  text-align: right;
  font-size: 10px;
}
.cart > footer {
  padding: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.cart > footer > div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.cart > footer > div b {
  font-size: 22px;
}
.cart > footer label {
  font-size: 9px;
  font-weight: 700;
}
.cart > footer select {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  margin-top: 5px;
  padding: 0 8px;
}
@media (max-width: 767px) {
  .top {
    height: 64px;
    padding: 0 15px;
  }
  .mobile {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .mobile .brand {
    width: 34px;
    height: 34px;
  }
  .mobile .brand b {
    font-size: 18px;
  }
  .search {
    display: none;
  }
  .box > span,
  .box > svg {
    display: none;
  }
  .box {
    padding-left: 10px;
  }
  main {
    padding: 24px 15px 38px;
  }
  .heading {
    align-items: flex-start;
    gap: 12px;
  }
  .heading h1 {
    font-size: 27px;
  }
  .heading .brand-btn {
    padding: 0 11px !important;
  }
  .kpis {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .kpi {
    padding: 15px;
    min-height: 132px;
  }
  .kpi > strong {
    font-size: 23px;
  }
  .panel {
    padding: 17px;
  }
  .course {
    grid-template-columns: 48px 7px 1fr 50px 12px;
  }
  .course em u {
    display: none;
  }
  .revenue {
    grid-template-columns: 1fr;
  }
  .toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .toolbar > div {
    flex-wrap: wrap;
  }
  .toolbar aside button {
    display: none;
  }
  .toolbar b {
    min-width: 150px;
  }
  .mini {
    grid-template-columns: 1fr 1fr;
  }
  .table-tools {
    flex-wrap: wrap;
  }
  .table-tools > label {
    width: 100%;
  }
  .table-tools nav {
    order: 3;
    overflow: auto;
  }
  .form-grid,
  .finance-cards {
    grid-template-columns: 1fr;
  }
  .sepa-panel {
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }
  .pos-layout {
    grid-template-columns: 1fr;
  }
  .product-catalog > div {
    grid-template-columns: 1fr 1fr;
  }
  .settings {
    grid-template-columns: 1fr;
  }
  .settings > nav {
    display: flex;
    overflow: auto;
  }
  .settings > nav button {
    white-space: nowrap;
  }
  .setting-grid,
  .dialog-grid {
    grid-template-columns: 1fr;
  }
  .foot {
    padding: 18px 15px;
    flex-direction: column;
    gap: 7px;
  }
}
@media (max-width: 470px) {
  .kpis {
    grid-template-columns: 1fr;
  }
  .heading .brand-btn svg {
    display: none;
  }
  .heading .brand-btn {
    font-size: 10px !important;
  }
  .panel-title > button {
    font-size: 0;
  }
  .table-panel {
    overflow: auto;
  }
}
.slot-sheet {
  width: min(560px, 100vw) !important;
  max-width: none !important;
  padding: 0 !important;
  background: var(--paper) !important;
  border-left: 1px solid var(--line) !important;
  overflow-y: auto;
}
.slot-detail-dialog {
  width: min(620px, calc(100vw - 32px)) !important;
  max-width: 620px !important;
  max-height: min(860px, calc(100dvh - 32px)) !important;
  overflow-y: auto !important;
  border: 1px solid var(--line) !important;
}
.slot-detail-dialog > [data-slot="dialog-header"] {
  padding: 28px 30px 22px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  gap: 4px;
}
.slot-detail-dialog [data-slot="dialog-title"] {
  font-size: 28px;
  letter-spacing: -0.035em;
}
.slot-sheet > [data-slot="sheet-header"] {
  padding: 28px 30px 22px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  gap: 4px;
}
.slot-sheet [data-slot="sheet-title"] {
  font-size: 28px;
  letter-spacing: -0.035em;
}
.slot-sheet [data-slot="sheet-description"] {
  font-size: 12px;
  margin-top: 4px;
}
.slot-sheet-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--olive-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.slot-sheet-label > i {
  width: 5px;
  height: 24px;
  border-radius: 5px;
}
.attendance-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 24px 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.attendance-summary > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border-right: 1px solid var(--line);
}
.attendance-summary > div:last-child {
  border-right: 0;
}
.attendance-summary b {
  font-size: 22px;
}
.attendance-summary span {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.slot-visibility-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 24px 12px;
  padding: 14px 16px;
  border: 1px solid #dfe4d8;
  border-radius: 14px;
  background: #f6f8f2;
}
.slot-visibility-panel > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.slot-visibility-panel small {
  color: #6d7168;
  line-height: 1.35;
}
.slot-visibility-panel > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.slot-visibility-panel button {
  min-height: 40px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .slot-visibility-panel {
    align-items: stretch;
    flex-direction: column;
    margin: 0;
    padding: 12px;
  }
  .slot-visibility-panel > div {
    display: grid;
    grid-template-columns: 1fr;
  }
  .slot-visibility-panel button {
    width: 100%;
  }
}
.attendance-actions {
  display: flex;
  gap: 9px;
  padding: 0 24px 14px;
}
.attendance-actions button {
  flex: 1;
}
.add-member {
  margin: 0 24px 12px;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 8px 7px 12px;
}
.add-member > svg {
  width: 16px;
  color: var(--muted);
}
.add-member input {
  border: 0 !important;
  box-shadow: none !important;
  font-size: 11px;
}
.add-member button {
  height: 34px;
  font-size: 10px;
}
.roster {
  margin: 0 24px 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.roster > header {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: #f4f1e8;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.1em;
}
.roster > header span {
  font-weight: 800;
  color: var(--muted);
}
.roster > article {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid #ece9df;
}
.roster > article:last-child {
  border-bottom: 0;
}
.roster-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  font-size: 9px;
  font-weight: 800;
  flex: none;
}
.roster > article > span {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.roster > article > span b {
  font-size: 11px;
}
.roster > article > span small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}
.call-buttons {
  display: flex;
  gap: 5px;
}
.call-buttons button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: #aaa;
  cursor: pointer;
}
.call-buttons svg {
  width: 15px;
}
.call-buttons .present:hover,
.call-buttons .present.selected {
  background: #e8ecdf;
  border-color: var(--olive);
  color: var(--olive-dark);
}
.call-buttons .absent:hover,
.call-buttons .absent.selected {
  background: #f5e5e3;
  border-color: var(--red);
  color: var(--red);
}
.call-buttons .remove {
  border-color: transparent;
}
.waiting > article > button {
  height: 32px;
  font-size: 9px;
}
.slot-sheet > [data-slot="sheet-footer"] {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 16px 24px;
  display: flex;
  flex-direction: row;
  gap: 9px;
}
.slot-sheet > [data-slot="sheet-footer"] button {
  flex: 1;
}
.add-client-panel {
  margin: 0 24px 14px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px;
}
.client-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 0 9px;
}
.client-search > svg {
  width: 16px;
  color: var(--muted);
  flex: none;
}
.client-search input {
  border: 0 !important;
  box-shadow: none !important;
  font-size: 11px;
}
.client-results {
  margin-top: 8px;
  border: 1px solid #ece9df;
}
.client-results > p,
.no-client {
  padding: 16px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}
.client-results > article {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-bottom: 1px solid #ece9df;
}
.client-results > article:last-child {
  border-bottom: 0;
}
.client-results > article > span {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.client-results > article > span b {
  font-size: 11px;
}
.client-results > article > span small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}
.client-results button {
  height: 32px;
  font-size: 9px;
}
.no-client {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.no-client b {
  color: var(--ink);
  font-size: 11px;
}
.create-client {
  width: 100%;
  margin-top: 8px;
  font-size: 10px;
}
.new-client-form {
  display: grid;
  gap: 11px;
}
.new-client-form > div:first-child {
  display: flex;
  flex-direction: column;
}
.new-client-form > div:first-child small {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
  color: var(--olive);
}
.new-client-form > div:first-child b {
  font-size: 15px;
  margin-top: 2px;
}
.new-client-form > div:first-child p {
  font-size: 9px;
  color: var(--muted);
  margin: 3px 0 0;
}
.new-client-form > label {
  font-size: 9px;
  font-weight: 700;
  display: grid;
  gap: 5px;
}
.new-client-form > div:last-child {
  display: flex;
  gap: 8px;
}
.new-client-form > div:last-child button {
  flex: 1;
  font-size: 10px;
}
@media (max-width: 600px) {
  .slot-sheet > [data-slot="sheet-header"] {
    padding: 22px 18px;
  }
  .attendance-summary {
    margin: 14px 14px 10px;
  }
  .attendance-actions,
  .slot-sheet > [data-slot="sheet-footer"] {
    padding-left: 14px;
    padding-right: 14px;
  }
  .add-member,
  .add-client-panel,
  .roster {
    margin-left: 14px;
    margin-right: 14px;
  }
  .call-buttons button {
    width: 30px;
    height: 30px;
  }
  .slot-sheet [data-slot="sheet-title"] {
    font-size: 24px;
  }
}
.contact-wizard {
  width: min(820px, calc(100vw - 24px)) !important;
  max-width: 820px !important;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper) !important;
  padding: 26px !important;
}
.contact-wizard [data-slot="dialog-title"] {
  font-size: 25px;
}
.contact-wizard [data-slot="dialog-description"] {
  font-size: 11px;
  line-height: 1.55;
}
.contact-methods {
  display: grid;
  gap: 11px;
  margin-top: 8px;
}
.contact-methods > button {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: center;
  width: 100%;
  padding: 17px;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.contact-methods > button:hover {
  border-color: var(--olive);
  background: #f6f4ec;
}
.contact-methods svg {
  width: 22px;
  height: 22px;
  color: var(--olive);
  justify-self: center;
}
.contact-methods span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.contact-methods b {
  font-size: 12px;
}
.contact-methods small {
  font-size: 9px;
  line-height: 1.5;
  color: var(--muted);
}
.wizard-back {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--muted);
  font: 700 9px Montserrat;
  cursor: pointer;
}
.wizard-back svg {
  width: 14px;
}
.wizard-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  margin: 18px 0;
  position: relative;
}
.wizard-steps:before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 13px;
  border-top: 1px solid var(--line);
}
.wizard-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 1;
  font-size: 8px;
  color: var(--muted);
  text-align: center;
}
.wizard-steps i {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7e4db;
  font-style: normal;
  font-weight: 800;
}
.wizard-steps .active {
  color: var(--ink);
  font-weight: 700;
}
.wizard-steps .active i {
  background: var(--olive);
  color: #fff;
}
.wizard-section {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  margin-top: 11px;
}
.wizard-section h3 {
  font-size: 13px;
  margin: 0 0 6px;
}
.wizard-section > p {
  font-size: 9px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 14px;
}
.wizard-section > label,
.wizard-grid label {
  display: grid;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
}
.wizard-section select,
.wizard-grid select {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 10px;
  font: 500 10px Montserrat;
}
.wizard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.wizard-grid .wide {
  grid-column: 1/-1;
}
.phone-field {
  display: grid;
  grid-template-columns: auto 1fr;
  border: 1px solid var(--line);
  align-items: center;
}
.phone-field > span {
  font-size: 9px;
  padding: 0 10px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.phone-field input {
  border: 0 !important;
  box-shadow: none !important;
}
.qr-warning {
  padding: 11px;
  margin-top: 12px;
  background: #f3e9d9;
  color: #8b612e;
  font-size: 9px;
  line-height: 1.5;
}
.qr-box {
  min-height: 125px;
  margin-top: 11px;
  border: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  text-align: center;
  padding: 18px;
}
.qr-box.ready {
  border-color: var(--olive);
  background: #f3f4ec;
  color: var(--ink);
}
.qr-box svg {
  width: 48px;
  height: 48px;
  color: var(--olive);
}
.qr-box b {
  font-size: 11px;
}
.qr-box small,
.qr-box span {
  font-size: 9px;
}
.invoice-preview > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  font-size: 10px;
}
.invoice-preview > div b {
  font-size: 14px;
}
.invoice-preview > small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
}
.contact-success {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.contact-success > svg {
  width: 52px;
  height: 52px;
  color: var(--olive);
}
.contact-success h2 {
  font-size: 22px;
  margin: 14px 0 4px;
}
.contact-success p {
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 22px;
}
.contact-wizard button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (max-width: 600px) {
  .contact-wizard {
    padding: 20px !important;
  }
  .wizard-grid {
    grid-template-columns: 1fr;
  }
  .wizard-grid .wide {
    grid-column: auto;
  }
  .wizard-section {
    padding: 14px;
  }
  .wizard-steps li span {
    max-width: 85px;
  }
  .contact-methods > button {
    grid-template-columns: 36px 1fr;
    padding: 14px;
    gap: 10px;
  }
}
.head-actions {
  display: flex;
  gap: 8px;
}
.peppy-split {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  min-height: 650px;
  background: #fff;
  border: 1px solid var(--line);
}
.contact-list {
  border-right: 1px solid var(--line);
  padding: 14px;
  max-height: 720px;
  overflow: auto;
}
.contact-list > nav {
  display: flex;
  gap: 5px;
  overflow: auto;
  padding: 10px 0;
}
.contact-list > nav button,
.filter-row > button,
.finance-toolbar button,
.sub-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 7px 9px;
  white-space: nowrap;
  font: 600 9px Montserrat;
}
.contact-list > nav button.active,
.sub-tabs button.active {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
}
.contact-list > header {
  display: flex;
  justify-content: space-between;
  padding: 11px 7px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted);
}
.contact-list > button {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #efede5;
  background: #fff;
  display: flex;
  justify-content: space-between;
  padding: 12px 8px;
  font: 500 10px Montserrat;
  text-align: left;
}
.contact-list > button:hover,
.contact-list > button.selected {
  background: var(--cream);
}
.contact-detail {
  min-width: 0;
}
.contact-detail > header {
  padding: 22px 24px 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail > header > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.contact-detail h2 {
  font-size: 22px;
  margin: 0;
}
.contact-detail > header nav {
  display: flex;
  gap: 22px;
  margin-top: 22px;
  overflow: auto;
}
.contact-detail > header nav button {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  padding: 0 0 11px;
  font: 700 10px Montserrat;
}
.contact-detail > header nav button.active {
  border-color: var(--olive);
  color: var(--olive-dark);
}
.empty-state {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 11px;
}
.empty-state svg {
  width: 42px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 20px;
}
.profile-grid section,
.detail-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px;
}
.profile-grid section:first-child {
  grid-row: span 2;
}
.profile-grid h3,
.detail-card h3 {
  font-size: 13px;
  margin: 0 0 12px;
}
.profile-grid p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid #eeeae1;
  padding: 11px 0;
  margin: 0;
  font-size: 10px;
}
.profile-grid p span {
  color: var(--muted);
}
.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.detail-card {
  margin: 20px;
}
.detail-card textarea {
  width: 100%;
  height: 150px;
  border: 1px solid var(--line);
  padding: 12px;
  font: 500 11px Montserrat;
  resize: vertical;
}
.detail-card > small {
  display: block;
  text-align: right;
  color: var(--muted);
  font-size: 9px;
}
.detail-card > article,
.line-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.detail-card > article > b,
.line-item > span {
  flex: 1;
}
.detail-card > article > small,
.line-item small {
  color: var(--muted);
  font-size: 9px;
}
.cashless {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cashless b {
  font-size: 28px;
  flex: 1;
}
.filter-row {
  display: flex;
  gap: 7px;
  margin: 15px 0;
  overflow: auto;
}
.empty-row {
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  padding: 35px;
}
.offer-wizard {
  width: min(900px, calc(100vw - 24px)) !important;
  max-width: 900px !important;
  max-height: 90vh;
  overflow: auto;
}
.offer-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0;
}
.offer-steps li {
  border: 1px solid var(--line);
  padding: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 9px;
}
.offer-steps li b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
}
.offer-steps li.active {
  border-color: var(--olive);
  color: var(--ink);
}
.offer-steps li.active b {
  background: var(--olive);
  color: #fff;
}
.limit-grid,
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 20px;
}
.limit-grid label,
.check-grid label {
  font-size: 10px;
}
.line-item > strong {
  margin-left: auto;
}
.invoice-search {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 10px;
  margin: 16px 0 10px;
}
.invoice-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.invoice-filters label, .invoice-date-range label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.invoice-filters select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 0 10px;
  color: var(--ink);
}
.invoice-date-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 240px));
  gap: 10px;
  margin: 0 0 14px;
}
.finance-toolbar {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  display: grid;
  gap: 10px;
}
.finance-toolbar > div {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: auto;
}
.finance-toolbar > div > b {
  min-width: 145px;
  font-size: 10px;
}
.sub-tabs {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}
.metric-row,
.e-invoice-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.metric-row article,
.e-invoice-cards article {
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.metric-row span {
  font-size: 9px;
  color: var(--muted);
}
.metric-row b {
  font-size: 20px;
}
.e-invoice-cards {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .peppy-split {
    grid-template-columns: 1fr;
  }
  .contact-list {
    max-height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .offer-steps {
    grid-template-columns: 1fr 1fr;
  }
  .metric-row {
    grid-template-columns: 1fr 1fr;
  }
  .contact-detail {
    min-height: 500px;
  }
}
@media (max-width: 600px) {
  .head-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .contact-detail > header nav {
    gap: 14px;
  }
  .profile-grid {
    padding: 12px;
  }
  .detail-card {
    margin: 12px;
  }
  .limit-grid,
  .check-grid,
  .metric-row,
  .e-invoice-cards {
    grid-template-columns: 1fr;
  }
  .offer-steps li span {
    font-size: 8px;
  }
  .finance-toolbar > div {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .finance-toolbar > div > b {
    width: 100%;
  }
}
.pricing-preview {
  grid-column: 1/-1;
  background: var(--cream);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pricing-preview span,
.pricing-preview small {
  font-size: 9px;
  color: var(--muted);
}
.pricing-preview b {
  font-size: 18px;
}
.limit-controls {
  display: grid;
  gap: 9px;
  margin: 12px 0 22px;
}
.member-offer-steps {
  grid-template-columns: repeat(3, 1fr);
}
.member-offer-hint {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--cream);
  display: grid;
  gap: 5px;
}
.member-offer-hint span,
.member-offer-hint small {
  color: var(--muted);
  font-size: 10px;
}
.member-offer-hint b {
  font-size: 13px;
}
.assignment-summary {
  display: grid;
  gap: 0;
}
.assignment-summary > p {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}
.assignment-summary > p span {
  color: var(--muted);
}
.member-feedback {
  margin: 14px 0 0;
  padding: 11px 13px;
  border-left: 3px solid var(--olive);
  background: #eef0e5;
  color: var(--olive-dark);
  font-size: 10px;
  font-weight: 700;
}
.member-offer-card {
  display: grid !important;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 8px 18px !important;
}
.member-offer-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.member-offer-name > small {
  color: var(--muted);
  font-size: 9px;
}
.member-offer-card > small {
  grid-column: 1 / -1;
}
.member-offer-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 7px;
  padding-top: 7px;
}
.member-offer-actions button {
  height: 34px;
  font-size: 9px;
}
.member-offer-actions button:last-child {
  width: 36px;
  padding: 0;
}
.tax-summary {
  display: grid !important;
  gap: 5px;
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--line);
}
.tax-summary p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}
.tax-summary p b {
  color: var(--ink);
  font-size: 10px;
}
.cash-tender {
  display: grid;
  gap: 9px;
  padding: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.cash-tender label {
  display: grid;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
}
.cash-change {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--olive-dark);
}
.cash-change span {
  font-size: 10px;
  font-weight: 700;
}
.cash-change b {
  font-size: 20px;
}
.cash-change.insufficient {
  color: var(--red);
}
.sepa-fields {
  margin-top: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--cream);
}
.sepa-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.sepa-title b {
  font-size: 12px;
}
.sepa-title span {
  color: var(--muted);
  font-size: 9px;
}
.prorata-detail {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--cream);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.prorata-detail span {
  color: var(--muted);
  font-size: 10px;
}
.prorata-detail b {
  font-size: 10px;
  text-align: right;
}
.sepa-summary {
  margin-top: 12px;
  padding: 13px;
  border-left: 3px solid var(--olive);
  background: #eef0e5;
  display: grid;
  gap: 4px;
}
.sepa-summary span,
.sepa-summary small {
  color: var(--muted);
  font-size: 9px;
}
.sepa-summary b {
  font-size: 11px;
}
.sepa-detail-list {
  max-height: min(360px, 42dvh);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.sepa-detail-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.sepa-detail-list article:last-child {
  border-bottom: 0;
}
.sepa-detail-list article div {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.sepa-detail-list article span,
.sepa-detail-list article small {
  color: var(--muted);
  font-size: 10px;
}
.sepa-detail-list article strong {
  flex: 0 0 auto;
  color: var(--olive-dark);
  font-size: 13px;
}
.member-billing {
  display: grid;
  gap: 1.25rem;
}
.billing-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: var(--brand);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--brand) 10%, white);
  }
}
.billing-section-title.issued {
  background: #f4f4f1;
}
.billing-section-title > div {
  display: grid;
  gap: .2rem;
}
.billing-section-title > div > b {
  font-size: 1rem;
}
.billing-section-title small {
  color: #70736b;
}
.billing-section-title > span {
  min-width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: white;
  font-weight: 700;
}
.billing-list {
  display: grid;
  gap: .7rem;
}
.billing-list article {
  display: grid;
  grid-template-columns: 70px minmax(180px, 1fr) auto auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e2e3de;
  border-radius: 18px;
  background: white;
}
.billing-date, .billing-main, .billing-total {
  display: grid;
  gap: .2rem;
}
.billing-date small, .billing-main small, .billing-total small {
  color: #74776f;
}
.billing-total {
  text-align: right;
}
.billing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .4rem;
}
.billing-actions svg {
  width: 1rem;
  height: 1rem;
}
.danger-outline {
  color: #9a4f45 !important;
  border-color: #d9b7b1 !important;
}
.billing-dialog {
  max-width: 760px;
}
.billing-lines {
  display: grid;
  gap: .65rem;
}
.billing-line-editor {
  display: grid;
  grid-template-columns: minmax(190px, 2fr) 80px 120px 100px 42px;
  gap: .5rem;
  align-items: center;
}
@media (max-width: 800px) {
  .billing-list article {
    grid-template-columns: 58px 1fr auto;
    gap: .7rem;
  }
  .billing-list article > .status {
    grid-column: 2 / -1;
    width: fit-content;
  }
  .billing-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .billing-line-editor {
    grid-template-columns: minmax(0, 1fr) 72px;
  }
  .billing-line-editor > :first-child {
    grid-column: 1 / -1;
  }
}
.immediate-payment {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--olive);
  background: #eef0e5;
  display: grid;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
}
.assignment-money {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}
.assignment-money article {
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--cream);
  display: grid;
  gap: 7px;
}
.assignment-money span,
.assignment-money small {
  color: var(--muted);
  font-size: 9px;
}
.assignment-money b {
  font-size: 21px;
}
@media (max-width: 600px) {
  .assignment-money {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .member-offer-steps {
    grid-template-columns: 1fr;
  }
  .member-offer-card {
    grid-template-columns: 1fr;
  }
  .member-offer-card > small,
  .member-offer-actions {
    grid-column: 1;
  }
}
.limit-control {
  display: grid;
  grid-template-columns: 1fr 130px 90px;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 9px 11px;
}
.limit-control > span {
  font-size: 10px;
  font-weight: 700;
}
.limit-control select {
  height: 36px;
  border: 1px solid var(--line);
  padding: 0 8px;
  font: 600 9px Montserrat;
}
.category-catalog .category-card {
  min-height: 145px;
  display: grid !important;
  grid-template-columns: 35px 1fr 25px;
  grid-template-rows: auto auto;
  align-items: center !important;
  gap: 5px 10px !important;
}
.category-card > svg {
  width: 24px;
  color: var(--olive);
}
.category-card > b {
  font-size: 13px !important;
  margin: 0 !important;
}
.category-card > small {
  grid-column: 2;
  color: var(--muted);
  font-size: 9px;
}
.category-card > i {
  grid-column: 3;
  grid-row: 1/3 !important;
  position: static !important;
  background: transparent !important;
  color: var(--olive) !important;
  font-style: normal;
}
.product-catalog > header:has(input) {
  display: grid;
  grid-template-columns: auto 1fr minmax(180px, 280px);
  gap: 12px;
}
.article-button {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.article-button:hover {
  background: var(--cream);
}
@media (max-width: 600px) {
  .limit-control {
    grid-template-columns: 1fr 105px;
  }
  .limit-control input {
    grid-column: 1/-1;
  }
  .product-catalog > header:has(input) {
    grid-template-columns: auto 1fr;
  }
  .product-catalog > header:has(input) input {
    grid-column: 1/-1;
  }
}
.slot-fill {
  margin-top: auto;
  background: var(--charcoal);
  color: #fff;
  padding: 5px 7px;
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
}
.slot.hyrox .slot-fill {
  background: var(--olive-dark);
}
.week-actions {
  display: grid;
  gap: 10px;
}
.week-actions > button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.week-actions > button:hover {
  border-color: var(--olive);
  background: var(--cream);
}
.week-actions b {
  font-size: 12px;
}
.week-actions span {
  font-size: 9px;
  color: var(--muted);
}
.template-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 55vh;
  overflow: auto;
}
.template-list article {
  border: 1px solid var(--line);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.template-list span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.template-list b {
  font-size: 10px;
}
.template-list small {
  font-size: 9px;
  color: var(--muted);
}
.template-list strong {
  font-size: 9px;
}
.slot-sheet .add-client-panel .line-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.slot-sheet .add-client-panel .line-item > b {
  flex: 1;
  font-size: 10px;
}
@media (max-width: 600px) {
  .template-list {
    grid-template-columns: 1fr;
  }
}
.day-grid .slot .slot-fill {
  position: absolute;
  top: 5px;
  right: 5px;
  display: block;
  margin: 0;
  padding: 3px 5px;
  border-radius: 2px;
  background: var(--charcoal);
  color: #fff;
  font-size: 9px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.day-grid .slot.hyrox .slot-fill {
  background: var(--olive-dark);
}
.open-rail button.available {
  background: #d8ddc9;
  color: var(--olive-dark);
}
.empty-week {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.empty-week > svg {
  color: var(--olive);
  width: 22px;
}
.empty-week > b {
  font-size: 13px;
}
.empty-week > span {
  font-size: 11px;
  color: var(--muted);
  flex: 1;
}
.calendar.is-empty {
  opacity: 0.55;
}
.open-hours-editor {
  display: grid;
  gap: 7px;
  max-height: 56vh;
  overflow: auto;
}
.open-hours-editor article {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 120px 18px 120px;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid #eeeae1;
  padding: 8px 0;
}
.open-hours-editor label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.open-hours-editor input[type="checkbox"] {
  accent-color: var(--olive);
}
.open-hours-editor input:disabled {
  opacity: 0.38;
}
.open-hours-editor article > span {
  text-align: center;
  color: var(--muted);
  font-size: 10px;
}
.generation-card {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 18px;
  display: grid;
  gap: 18px;
}
.generation-card > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.generation-card svg {
  width: 22px;
  color: var(--olive-dark);
}
.generation-card span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.generation-card b {
  font-size: 13px;
}
.generation-card small {
  font-size: 10px;
  color: var(--muted);
}
.generation-card label {
  display: grid;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
}
.generation-card select,
.template-table select {
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 9px;
  font: 600 10px Montserrat;
}
.edit-template-link {
  border: 0;
  background: transparent;
  color: var(--olive-dark);
  font: 700 10px Montserrat;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 12px 0;
}
.edit-template-link svg {
  width: 15px;
}
.template-builder {
  width: min(1050px, calc(100vw - 24px)) !important;
  max-width: 1050px !important;
  max-height: 92vh;
  overflow: auto;
}
.template-name {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
}
.builder-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--charcoal);
  padding: 18px 0 8px;
}
.builder-tabs b {
  font-size: 11px;
  letter-spacing: 0.12em;
}
.builder-tabs span {
  font-size: 9px;
  color: var(--muted);
}
.template-table {
  display: grid;
  max-height: 340px;
  overflow: auto;
}
.template-table header,
.template-table article {
  display: grid;
  grid-template-columns: 130px 100px minmax(150px, 1fr) 120px 75px 34px;
  gap: 7px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #eeeae1;
}
.template-table header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  font-size: 9px;
  color: var(--muted);
  font-weight: 700;
}
.template-table article > button {
  border: 0;
  background: transparent;
  color: var(--red);
  padding: 7px;
}
.template-table article > button svg {
  width: 16px;
}
.template-table input {
  height: 38px;
}
.open-title {
  margin-top: 4px;
}
.open-hours-editor.compact {
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.open-hours-editor.compact article {
  grid-template-columns: minmax(95px, 1fr) 95px 15px 95px;
}
.open-hours-editor.compact input {
  height: 36px;
}
@media (max-width: 800px) {
  .empty-week {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .empty-week > span {
    flex-basis: 70%;
  }
  .open-hours-editor article,
  .open-hours-editor.compact article {
    grid-template-columns: 1fr 1fr 14px 1fr;
  }
  .template-table {
    overflow-x: auto;
  }
  .template-table header,
  .template-table article {
    min-width: 700px;
  }
  .open-hours-editor.compact {
    grid-template-columns: 1fr;
  }
  .template-name {
    grid-template-columns: 1fr;
  }
}
.remove-open-slot {
  border-color: #d9aaa5 !important;
  color: var(--red) !important;
}
.remove-open-slot:hover {
  background: #f8ecea !important;
}
.template-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.template-toolbar > select {
  height: 40px;
  min-width: 220px;
  flex: 1;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 10px;
  font: 700 11px Montserrat;
}
.template-toolbar button svg {
  width: 15px;
}
.template-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
  border: 1px solid var(--line);
  min-width: 820px;
}
.template-calendar > section {
  border-right: 1px solid var(--line);
}
.template-calendar > section:last-child {
  border: 0;
}
.template-calendar > section > header {
  height: 32px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  font-weight: 800;
}
.template-day-grid {
  height: 430px;
  position: relative;
  background: repeating-linear-gradient(
    to bottom,
    #fff 0,
    #fff calc(3.448% - 1px),
    #eeeae1 calc(3.448% - 1px),
    #eeeae1 3.448%
  );
}
.template-day-grid > article {
  position: absolute;
  left: 4px;
  right: 4px;
  min-height: 44px;
  padding: 5px 5px 4px 8px;
  background: var(--cream);
  border-left: 4px solid var(--charcoal);
  box-shadow: 0 2px 5px #2d2f2a18;
  cursor: grab;
  display: grid;
  grid-template-columns: 1fr auto;
  z-index: 2;
}
.template-day-grid > article.hyrox {
  border-color: var(--olive);
}
.template-day-grid time {
  font-size: 8px;
  color: var(--muted);
}
.template-day-grid b {
  font-size: 9px;
}
.template-day-grid small {
  font-size: 7px;
  color: var(--muted);
}
.template-day-grid article > div {
  grid-column: 2;
  grid-row: 1/4;
  display: flex;
  flex-direction: column;
}
.template-day-grid button {
  border: 0;
  background: transparent;
  padding: 2px;
  color: var(--muted);
}
.template-day-grid button:hover {
  color: var(--olive-dark);
}
.template-day-grid button svg {
  width: 11px;
  height: 11px;
}
.template-builder {
  overflow-x: auto !important;
}
@media (max-width: 800px) {
  .template-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .template-toolbar > select {
    flex-basis: 100%;
  }
  .template-calendar {
    min-width: 760px;
  }
}
.template-day-grid > article.dragging {
  opacity: 0.18;
}
.template-day-grid > article.drag-ghost {
  opacity: 0.92;
  pointer-events: none;
  border: 2px dashed var(--olive-dark);
  border-left-width: 4px;
  background: #eef0e5;
  box-shadow: 0 8px 18px #2d2f2a33;
  transform: scale(1.03);
  z-index: 6;
}
.template-day-grid > article.drag-ghost time {
  font-weight: 800;
  color: var(--olive-dark);
}
.template-day-grid > article:not(.drag-ghost) {
  cursor: pointer;
}
.template-add-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.template-add-row span {
  font-size: 10px;
  color: var(--muted);
}
.course-editor {
  display: grid;
  gap: 18px;
}
.trial-access {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 15px;
}
.trial-access input {
  margin-top: 3px;
  accent-color: var(--olive);
}
.trial-access span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trial-access b {
  font-size: 11px;
}
.trial-access small {
  font-size: 9px;
  color: var(--muted);
}
.course-editor-actions {
  display: flex;
  gap: 8px;
}
.trial-page {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 60px !important;
  min-height: 100vh;
  background: var(--paper);
}
.trial-page > header {
  height: 76px;
  background: var(--charcoal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
}
.trial-page > header > a {
  color: #d8d8cf;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}
.trial-page > header > a svg {
  width: 15px;
}
.trial-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trial-brand > i {
  width: 38px;
  height: 38px;
  border: 1px solid var(--cream);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 10px;
}
.trial-brand > span {
  display: flex;
  flex-direction: column;
  letter-spacing: 0.12em;
}
.trial-brand b {
  font-size: 12px;
}
.trial-brand small {
  font-size: 8px;
  color: #aaa99f;
  letter-spacing: 0.3em;
}
.trial-hero {
  background: var(--olive);
  color: #fff;
  padding: 48px max(24px, calc((100vw - 920px) / 2));
}
.trial-hero p {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 10px;
}
.trial-hero h1 {
  font-size: 38px;
  max-width: 650px;
  margin: 0 0 12px;
  letter-spacing: -0.04em;
}
.trial-hero span {
  font-size: 11px;
}
.trial-flow,
.trial-success {
  max-width: 920px;
  margin: 28px auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}
.trial-flow > ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--line);
}
.trial-flow > ol li {
  padding: 0 0 14px;
  color: var(--muted);
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 3px solid transparent;
}
.trial-flow > ol li b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
}
.trial-flow > ol li.active {
  color: var(--ink);
  border-color: var(--olive);
  font-weight: 700;
}
.trial-flow > ol li.active b {
  background: var(--olive);
  color: #fff;
}
.trial-title {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.trial-title > svg {
  color: var(--olive);
  width: 25px;
}
.trial-title h2,
.trial-account h2,
.trial-confirm h2 {
  font-size: 20px;
  margin: 0 0 5px;
}
.trial-title p,
.trial-account > p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.trial-calendar > button:not(.brand-btn) {
  width: 100%;
  display: grid;
  grid-template-columns: 60px 1fr auto 18px;
  gap: 13px;
  align-items: center;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #fff;
  padding: 12px;
  text-align: left;
}
.trial-calendar > button:not(.brand-btn):hover,
.trial-calendar > button.selected {
  background: var(--cream);
  border-color: var(--olive);
}
.trial-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--line);
}
.trial-date b {
  font-size: 8px;
  color: var(--olive-dark);
}
.trial-date strong {
  font-size: 20px;
}
.trial-calendar button > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.trial-calendar button > span > b {
  font-size: 12px;
}
.trial-calendar button small {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.trial-calendar button small svg {
  width: 12px;
}
.trial-calendar button em {
  font-size: 9px;
  font-style: normal;
  color: var(--olive-dark);
}
.trial-calendar button > svg {
  width: 15px;
}
.trial-calendar > .brand-btn {
  margin-top: 20px;
  float: right;
}
.trial-account footer,
.trial-confirm footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 22px;
}
.trial-confirm {
  text-align: center;
}
.trial-confirm > svg,
.trial-success > svg {
  width: 46px;
  height: 46px;
  color: var(--olive);
}
.trial-confirm article {
  margin: 22px auto 12px;
  max-width: 500px;
  border: 1px solid var(--line);
  padding: 18px;
  display: flex;
  justify-content: space-between;
  text-align: left;
}
.trial-confirm article span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.trial-confirm article small {
  font-size: 10px;
  color: var(--muted);
}
.trial-confirm article em {
  font-style: normal;
  font-size: 10px;
}
.trial-confirm > p {
  display: flex;
  justify-content: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
}
.trial-confirm > p svg {
  width: 14px;
}
.trial-success {
  text-align: center;
  max-width: 620px;
}
.trial-success h2 {
  font-size: 24px;
}
.trial-success p {
  font-weight: 700;
}
.trial-success span {
  font-size: 10px;
  color: var(--muted);
}
@media (max-width: 700px) {
  .trial-flow,
  .trial-success {
    margin: 14px;
    padding: 18px;
  }
  .trial-hero h1 {
    font-size: 29px;
  }
  .trial-flow > ol li {
    font-size: 8px;
  }
  .trial-calendar > button:not(.brand-btn) {
    grid-template-columns: 48px 1fr 15px;
  }
  .trial-calendar button em {
    display: none;
  }
  .trial-page > header > a {
    font-size: 0;
  }
  .course-editor-actions {
    flex-wrap: wrap;
  }
}
.top {
  justify-content: flex-end;
}
.schedule-slot {
  cursor: grab !important;
}
.schedule-slot.dragging {
  opacity: 0.18;
}
.schedule-ghost {
  pointer-events: none !important;
  opacity: 0.92;
  border: 2px dashed var(--olive-dark) !important;
  box-shadow: 0 8px 18px #2d2f2a33 !important;
  transform: scale(1.02);
  z-index: 7 !important;
}
.schedule-slot .slot-copy {
  position: absolute;
  right: 5px;
  bottom: 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 2px;
  opacity: 0;
}
.schedule-slot:hover .slot-copy {
  opacity: 1;
}
.schedule-slot .slot-copy svg {
  width: 12px;
  height: 12px;
}
.slot-detail-actions {
  display: flex !important;
  flex-wrap: wrap !important;
}
.slot-detail-actions .brand-btn {
  margin-left: auto;
}
@media (max-width: 700px) {
  .top {
    justify-content: space-between;
  }
}
.manager-shell {
  min-height: 100vh;
  background: var(--paper);
}
.manager-topbar {
  height: 72px;
  padding: 0 clamp(20px, 3vw, 48px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  gap: clamp(18px, 2.2vw, 38px);
  background: rgba(243, 239, 228, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  color: var(--ink);
  justify-content: initial;
  z-index: 30;
}
.manager-brand {
  border: 0;
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
  font: 700 12px Montserrat,
    Arial,
    sans-serif;
  letter-spacing: 0.16em;
}
.manager-brand .brand {
  width: 40px;
  height: 40px;
}
.manager-nav {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: clamp(10px, 1.25vw, 23px);
  min-width: 0;
  overflow: visible;
  scrollbar-width: none;
}
.manager-nav-group {
  position: relative;
  display: flex;
  align-items: stretch;
}
.manager-nav-group > button {
  height: 100%;
}
.manager-submenu {
  position: absolute;
  z-index: 80;
  top: calc(100% - 1px);
  left: -18px;
  min-width: 210px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(31, 34, 31, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 150ms ease,
    transform 150ms ease,
    visibility 150ms ease;
}
.mobile-finance-menu {
  display: none;
}
.manager-nav-group:hover .manager-submenu,
.manager-nav-group:focus-within .manager-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.manager-nav .manager-submenu button {
  display: block;
  width: 100%;
  padding: 12px 14px;
  text-align: left;
  font-size: 11px;
}
.manager-nav .manager-submenu button:hover {
  color: var(--olive-dark);
  background: rgba(139, 159, 96, 0.12);
}
.manager-nav .manager-submenu button::after {
  display: none;
}
.manager-nav::-webkit-scrollbar {
  display: none;
}
.manager-nav button {
  position: relative;
  flex: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 2px 0 0;
  cursor: pointer;
  font: 600 10px Montserrat,
    Arial,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.manager-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}
.manager-nav button:hover::after,
.manager-nav button.active::after {
  transform: scaleX(1);
}
.manager-nav button.active {
  color: var(--olive-dark);
}
.manager-account {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.account-button {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
}
.account-button > i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
}
.account-button > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.account-button b {
  font-size: 10px;
}
.account-button small {
  color: var(--muted);
  font-size: 8px;
}
.manager-topbar .bell i {
  border-color: var(--cream);
}
.planning-main {
  max-width: none;
  height: calc(100vh - 72px);
  padding: 14px 20px 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.planning-main .heading {
  align-items: center;
  margin-bottom: 9px;
}
.planning-main .heading .over {
  display: none;
}
.planning-main .heading h1 {
  font-size: 25px;
}
.planning-main .heading .brand-btn {
  height: 36px !important;
}
.planning-main .toolbar {
  margin-bottom: 8px;
}
.planning-main .calendar section {
  min-height: 0;
  height: 100%;
}
.planning-main .day-grid {
  height: calc(100% - 42px);
}
.planning-main .calendar {
  flex: 1;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
}
.planning-main .calendar > div {
  height: 100%;
}
.planning-main .key {
  flex: none;
  margin-top: 8px;
}
.planning-main + .foot {
  display: none;
}
@media (min-width: 701px) {
  .planning-main {
    height: calc(100dvh - 72px);
    min-height: 0;
    overflow: hidden;
    padding-bottom: 18px;
  }
  .planning-main .toolbar {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: #30332e;
    box-shadow: 0 10px 24px rgba(24, 26, 23, 0.12);
  }
  .planning-main .toolbar > div {
    display: grid;
    grid-template-columns: 42px minmax(210px, auto) 42px auto;
    align-items: center;
    gap: 8px;
  }
  .planning-main .toolbar > aside {
    min-width: 0;
    justify-content: flex-end;
    gap: 8px;
  }
  .planning-main .toolbar b {
    min-width: 0;
    color: #fff;
    font-size: 12px;
  }
  .planning-main .toolbar select {
    min-width: 142px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 11px;
    color: #292c27;
    background: #fbfaf6;
    font-size: 11px;
  }
  .planning-main .toolbar button,
  .planning-main .toolbar > div > .inline-flex {
    width: auto;
    min-width: 42px;
    height: 42px;
    padding-inline: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 11px;
    color: #fff !important;
    background: #454940 !important;
    box-shadow: none;
  }
  .planning-main .toolbar > div > button:not(.inline-flex) {
    width: 42px;
    padding: 0;
  }
  .planning-main .toolbar button svg {
    width: 18px;
    height: 18px;
    color: #fff !important;
    stroke: #fff !important;
    opacity: 1 !important;
  }
  .planning-main .toolbar button:hover:not(:disabled) {
    border-color: #aeb58f !important;
    background: #5a6050 !important;
  }
  .planning-main .toolbar button:disabled {
    color: #d0d2ca !important;
    background: #3a3d37 !important;
    opacity: 0.58;
  }
  .planning-main .calendar {
    flex: 1;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 16px;
  }
  .planning-main .calendar > div {
    height: 100%;
  }
  .planning-main .calendar section {
    height: 100%;
    min-height: 0;
  }
  .planning-main .day-grid {
    height: calc(100% - 42px);
  }
  .planning-main .day-grid .schedule-slot {
    min-height: 0;
  }
}
@media (min-width: 701px) and (max-height: 900px) {
  .planning-main .day-grid .schedule-slot {
    padding: 4px 6px;
  }
  .planning-main .day-grid .schedule-slot time,
  .planning-main .day-grid .schedule-slot span {
    font-size: 8px;
    line-height: 1;
  }
  .planning-main .day-grid .schedule-slot b {
    margin: 1px 0;
    line-height: 1.05;
  }
}
@media (min-width: 701px) and (max-width: 1350px) {
  .planning-main .toolbar {
    grid-template-columns: 1fr;
  }
  .planning-main .toolbar > aside {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
@media (max-width: 1180px) {
  .manager-topbar {
    gap: 18px;
    padding-inline: 22px;
  }
  .manager-brand > span,
  .account-button > span {
    display: none;
  }
  .manager-nav {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .manager-topbar {
    height: 64px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding-inline: 14px;
    gap: 13px;
  }
  .manager-brand .brand {
    width: 39px;
    height: 39px;
  }
  .manager-nav {
    gap: 17px;
  }
  .manager-nav button {
    font-size: 9px;
  }
  .manager-account {
    padding-left: 10px;
  }
  .account-button {
    display: none;
  }
  .planning-main {
    height: calc(100vh - 64px);
    padding: 10px 10px 16px;
  }
  .planning-main .heading h1 {
    font-size: 22px;
  }
}
.reservation-empty {
  margin-top: 16px;
  padding: 30px 16px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 11px;
}
.member-reservations-table {
  margin-top: 16px;
  border: 1px solid var(--line);
}
.call-buttons button.active.present {
  color: #fff;
  background: var(--olive-dark);
}
.call-buttons button.active.absent {
  color: #fff;
  background: var(--red);
}
@media (max-width: 760px) {
  html,
  body,
  .manager-shell {
    max-width: 100%;
    overflow-x: hidden;
  }
  .manager-topbar {
    height: 98px;
    min-height: 98px;
    grid-template-columns: 1fr auto;
    grid-template-rows: 50px 48px;
    gap: 0 12px;
    padding: 0 14px;
  }
  .manager-brand {
    grid-column: 1;
    grid-row: 1;
  }
  .manager-brand > span {
    display: inline;
    font-size: 10px;
  }
  .manager-brand .brand {
    width: 36px;
    height: 36px;
  }
  .manager-account {
    grid-column: 2;
    grid-row: 1;
    padding-left: 10px;
  }
  .manager-account .bell {
    width: 44px;
    height: 44px;
  }
  .manager-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(100% + 28px);
    margin-left: -14px;
    padding: 0 14px;
    gap: 22px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .manager-nav > button,
  .manager-nav-group {
    scroll-snap-align: start;
  }
  .manager-nav button {
    min-height: 48px;
    font-size: 10px;
  }
  .manager-nav-group {
    position: static;
  }
  .manager-submenu {
    display: none !important;
  }
  .mobile-finance-menu {
    position: fixed;
    z-index: 90;
    top: 94px;
    left: 10px;
    right: 10px;
    display: grid;
    gap: 7px;
    padding: 9px;
    border: 1px solid rgba(45, 47, 42, 0.1);
    border-radius: 17px;
    background: rgba(252, 252, 249, 0.98);
    box-shadow: 0 18px 48px rgba(24, 27, 23, 0.18);
    backdrop-filter: blur(22px);
  }
  .mobile-finance-menu button {
    min-height: 58px;
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 0;
    border-radius: 12px;
    color: var(--ink);
    background: transparent;
    text-align: left;
  }
  .mobile-finance-menu button:hover {
    background: rgba(127, 137, 99, 0.1);
  }
  .mobile-finance-menu svg {
    width: 20px;
    color: var(--olive-dark);
  }
  .mobile-finance-menu span {
    display: grid;
    gap: 2px;
  }
  .mobile-finance-menu b {
    font-size: 14px;
  }
  .mobile-finance-menu small {
    color: var(--muted);
    font-size: 11px;
  }
  main,
  main:not(.planning-main) {
    padding: 20px 14px 34px;
  }
  .planning-main {
    height: auto;
    min-height: calc(100dvh - 98px);
    padding: 7px 10px 24px;
    overflow: visible;
  }
  .planning-main .heading {
    align-items: center;
    margin-bottom: 5px;
  }
  .planning-main .heading h1 {
    font-size: 22px;
  }
  .planning-main .heading .brand-btn {
    width: 40px;
    min-width: 40px;
    height: 40px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }
  .planning-main .heading .brand-btn svg {
    display: block;
  }
  .planning-main .toolbar {
    gap: 7px;
    margin-bottom: 5px;
  }
  .planning-main .toolbar > div {
    width: 100%;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px auto;
    gap: 6px;
  }
  .planning-main .toolbar > div > button,
  .planning-main .toolbar > div > .inline-flex {
    width: auto;
    min-width: 40px;
    height: 40px;
  }
  .planning-main .toolbar b {
    min-width: 0;
    font-size: 11px;
  }
  .planning-main .toolbar aside {
    display: flex;
    width: 100%;
    gap: 6px;
    overflow: hidden;
  }
  .planning-main .toolbar aside select {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding-inline: 8px;
  }
  .planning-main .toolbar aside button {
    display: inline-flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 0;
  }
  .planning-main .toolbar aside button svg {
    width: 17px;
    height: 17px;
  }
  .planning-main .calendar {
    width: 100%;
    height: auto;
    flex: none;
    overflow: auto;
  }
  .planning-main .calendar > div {
    min-width: 1040px;
    width: auto;
    height: auto;
    display: grid;
  }
  .planning-main .calendar section {
    display: block;
    width: auto;
    height: auto;
    min-height: 760px;
    border-right: 1px solid var(--line);
    padding: 8px;
  }
  .planning-main .day-grid {
    height: 700px;
    margin-top: 5px;
    padding: 0 8px;
  }
  .planning-main .key {
    display: none;
  }
  .heading {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .heading h1 {
    font-size: 27px;
  }
  .head-actions {
    width: 100%;
    justify-content: stretch;
  }
  .head-actions > button {
    flex: 1;
    min-height: 44px;
  }
  .peppy-split {
    min-height: 0;
  }
  .contact-list {
    max-height: 320px;
    padding: 10px;
  }
  .contact-list > button {
    min-height: 46px;
    padding: 14px 10px;
  }
  .contact-detail {
    min-height: 440px;
  }
  .contact-detail > header {
    padding: 18px 14px 0;
  }
  .contact-detail > header nav {
    width: calc(100% + 28px);
    margin-left: -14px;
    padding: 0 14px;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
  }
  .contact-detail > header nav button {
    min-height: 44px;
    flex: 0 0 auto;
  }
  .profile-grid {
    padding: 10px;
  }
  .profile-grid section,
  .detail-card {
    padding: 15px;
  }
  .detail-card {
    margin: 10px;
  }
  .section-line {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .section-line > select,
  .section-line > button {
    min-height: 42px;
  }
  .member-reservations-table,
  .table-panel {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .member-reservations-table table {
    min-width: 650px;
  }
  .table-panel table {
    min-width: 760px;
  }
  .table-tools,
  .table-caption {
    min-width: min(760px, calc(100vw - 28px));
  }
  .product-catalog > header,
  .cart > header {
    padding: 16px;
  }
  .product-catalog > div {
    padding: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-catalog > div > button {
    min-height: 120px;
  }
  .cart {
    min-height: 0;
  }
  .cart > footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 2;
  }
  .settings > nav {
    position: sticky;
    top: 98px;
    z-index: 4;
    padding: 6px;
  }
  .settings > nav button {
    min-height: 44px;
  }
  .offer-steps {
    display: flex;
    overflow-x: auto;
  }
  .offer-steps li {
    min-width: 150px;
  }
  [data-slot="dialog-content"] {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    overflow-y: auto;
    padding: 18px !important;
  }
  .slot-sheet {
    width: 100vw !important;
  }
  .slot-detail-dialog {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
  }
  .slot-sheet > [data-slot="sheet-footer"] {
    position: sticky;
    bottom: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding-top: 12px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }
  .open-hours-editor article,
  .open-hours-editor.compact article {
    grid-template-columns: 1fr 1fr;
  }
  .open-hours-editor article > label {
    grid-column: 1 / -1;
  }
  .open-hours-editor article > span {
    display: none;
  }
  .invoice-search {
    grid-template-columns: 1fr;
  }
  .invoice-filters {
    grid-template-columns: 1fr 1fr;
  }
  .invoice-date-range {
    grid-template-columns: 1fr 1fr;
  }
  .finance-toolbar {
    padding: 12px;
  }
  .finance-toolbar > div {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .finance-toolbar > div > b {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    padding: 8px 8px 8px 0;
  }
  button,
  select,
  input {
    touch-action: manipulation;
  }
}
.cash-member-help {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
.cash-member-help.success {
  color: var(--olive-dark);
}
.cash-sale-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  color: #8a3934;
  background: #f8e8e6;
  font-size: 12px;
}
.cash-fund-balance {
  display: block;
  margin-top: 8px;
  color: var(--olive-dark);
  font-size: 32px;
  letter-spacing: -0.04em;
}
.cash-operation-list {
  display: grid;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.cash-operation-list article {
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cash-operation-list article > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}
.cash-operation-list article > i.in {
  color: #53613e;
  background: #edf1e5;
}
.cash-operation-list article > i.out {
  color: #8b4b45;
  background: #f8e8e6;
}
.cash-operation-list svg {
  width: 18px;
}
.cash-operation-list span {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.cash-operation-list small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cash-operation-list strong.positive {
  color: var(--olive-dark);
}
.cash-operation-list strong.negative {
  color: #9a4842;
}
.cash-operation-editor label.wide {
  grid-column: 1 / -1;
}
.course-type-settings {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}
.course-type-settings article {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.course-type-settings span {
  display: grid;
  gap: 4px;
}
.course-type-settings small {
  color: var(--muted);
}
.data-filters {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(127, 137, 99, 0.05);
}
.data-filters label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.data-filters select {
  min-height: 36px;
  padding: 0 10px;
}
.form-editor-preview {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}
.form-editor-preview label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 650;
}
@media (max-width: 760px) {
  .cash-fund .section-line {
    align-items: stretch;
    flex-direction: column;
  }
  .cash-operation-list article {
    grid-template-columns: 38px minmax(0, 1fr);
  }
  .cash-operation-list article > strong {
    grid-column: 2;
  }
  .cash-operation-editor label.wide {
    grid-column: auto;
  }
  .data-filters {
    align-items: stretch;
    flex-direction: column;
  }
  .data-filters label, .data-filters button {
    width: 100%;
  }
}
:root {
  --paper: #f5f5f2;
  --line: rgba(45, 47, 42, 0.13);
  --muted: #74766f;
  --surface-shadow: 0 1px 2px rgba(26, 28, 25, 0.04), 0 10px 32px rgba(26, 28, 25, 0.055);
}
html {
  background: var(--paper);
}
body,
button,
input,
select,
textarea {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
}
button,
[data-slot="button"],
[data-slot="tabs-trigger"],
.slot,
.contact-list > button,
.product-catalog > div > button {
  transition: background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}
button:active,
[data-slot="button"]:active,
.product-catalog > div > button:active {
  transform: scale(0.975);
}
.manager-topbar {
  background: rgba(247, 247, 243, 0.88);
  border-bottom-color: rgba(45, 47, 42, 0.09);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.manager-brand {
  letter-spacing: 0.11em;
}
.manager-nav button {
  letter-spacing: 0.045em;
  font-weight: 650;
}
.manager-submenu {
  border: 1px solid rgba(45, 47, 42, 0.1);
  border-radius: 14px;
  background: rgba(252, 252, 249, 0.97);
  box-shadow: 0 18px 48px rgba(24, 27, 23, 0.14);
  backdrop-filter: blur(20px);
}
main:not(.planning-main) {
  max-width: 1460px;
}
.heading {
  margin-bottom: 24px;
}
.heading h1 {
  font-weight: 680;
  letter-spacing: -0.045em;
}
.over {
  letter-spacing: 0.15em;
}
[data-slot="button"],
.brand-btn,
.toolbar button,
.toolbar select,
.period,
input,
select,
textarea {
  border-radius: 10px !important;
}
[data-slot="button"] {
  font-weight: 600;
}
[data-slot="button"][data-variant="outline"] {
  border-color: rgba(45, 47, 42, 0.14);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 2px rgba(26, 28, 25, 0.04);
}
[data-slot="button"][data-variant="outline"]:hover {
  background: #fff;
  border-color: rgba(45, 47, 42, 0.24);
  box-shadow: 0 4px 14px rgba(26, 28, 25, 0.07);
}
.brand-btn {
  border: 0 !important;
  box-shadow: 0 5px 16px rgba(102, 112, 79, 0.22) !important;
}
input,
select,
textarea {
  border-color: rgba(45, 47, 42, 0.14) !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 1px 2px rgba(26, 28, 25, 0.025);
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--olive) !important;
  box-shadow: 0 0 0 3px rgba(127, 137, 99, 0.16);
}
[data-slot="tabs-list"] {
  max-width: 100%;
  height: 44px !important;
  gap: 3px;
  padding: 4px;
  overflow-x: auto;
  justify-content: flex-start;
  border: 1px solid rgba(45, 47, 42, 0.08);
  border-radius: 13px;
  background: rgba(45, 47, 42, 0.07);
  scrollbar-width: none;
}
[data-slot="tabs-list"]::-webkit-scrollbar {
  display: none;
}
[data-slot="tabs-trigger"] {
  flex: 0 0 auto;
  height: 34px;
  min-width: max-content;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  color: rgba(45, 47, 42, 0.62);
  font-size: 12px;
  font-weight: 600;
}
[data-slot="tabs-trigger"][data-state="active"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(20, 22, 19, 0.1),
    0 3px 10px rgba(20, 22, 19, 0.05);
}
.kpi,
.panel,
.table-panel,
.form-grid article,
.product-catalog,
.cart,
.peppy-split,
.profile-grid section,
.detail-card,
.finance-toolbar,
.finance-cards article,
.sepa-panel,
.metric-row article,
.e-invoice-cards article,
.settings > nav,
.settings > article {
  border: 1px solid rgba(45, 47, 42, 0.09);
  border-radius: 16px;
  box-shadow: var(--surface-shadow);
}
.kpi,
.panel,
.profile-grid section,
.detail-card,
.metric-row article,
.e-invoice-cards article {
  background: rgba(255, 255, 255, 0.9);
}
.table-panel,
.peppy-split,
.product-catalog,
.cart {
  overflow: hidden;
}
.table-tools,
.table-caption,
.product-catalog > header,
.cart > header,
.contact-detail > header {
  border-bottom-color: rgba(45, 47, 42, 0.08);
}
.table-panel th {
  background: rgba(45, 47, 42, 0.035);
}
.table-panel tbody tr,
.member-reservations-table tbody tr {
  transition: background-color 140ms ease;
}
.table-panel tbody tr:hover,
.member-reservations-table tbody tr:hover {
  background: rgba(127, 137, 99, 0.06);
}
.status {
  border-radius: 999px;
  padding: 5px 9px;
}
.toolbar > div button {
  border-color: rgba(45, 47, 42, 0.11);
  box-shadow: 0 1px 2px rgba(26, 28, 25, 0.035);
}
.calendar {
  border-color: rgba(45, 47, 42, 0.09);
  border-radius: 16px;
  box-shadow: var(--surface-shadow);
}
.day-grid {
  border-color: rgba(45, 47, 42, 0.08);
}
.slot {
  border-radius: 8px;
  background: rgba(248, 248, 245, 0.96);
  box-shadow: 0 2px 7px rgba(26, 28, 25, 0.055);
}
.slot:hover {
  box-shadow: 0 5px 16px rgba(26, 28, 25, 0.1);
}
.slot-fill {
  border-radius: 7px !important;
}
.open-rail {
  border-radius: 999px;
  overflow: hidden;
}
.contact-list {
  border-right-color: rgba(45, 47, 42, 0.08);
  background: rgba(248, 248, 245, 0.7);
}
.contact-list > nav button,
.filter-row > button,
.finance-toolbar button,
.sub-tabs button {
  border-color: transparent;
  border-radius: 999px;
  background: rgba(45, 47, 42, 0.065);
  padding: 8px 12px;
}
.contact-list > button {
  border-bottom-color: rgba(45, 47, 42, 0.07);
  background: transparent;
  border-radius: 9px;
}
.contact-list > button:hover,
.contact-list > button.selected {
  background: #fff;
  box-shadow: 0 2px 10px rgba(25, 27, 24, 0.07);
}
.contact-detail > header nav button {
  border-bottom-width: 2px;
}
.profile-grid {
  gap: 12px;
}
.detail-card > article,
.line-item,
.profile-grid p {
  border-color: rgba(45, 47, 42, 0.08);
}
.pos-layout {
  gap: 18px;
}
.product-catalog > header,
.cart > header {
  padding: 22px 24px;
}
.product-catalog > div {
  padding: 14px;
  gap: 10px;
}
.product-catalog > div > button {
  min-height: 116px;
  border: 1px solid rgba(45, 47, 42, 0.08);
  border-radius: 13px;
  background: rgba(247, 247, 244, 0.75);
}
.product-catalog > div > button:hover {
  border-color: rgba(127, 137, 99, 0.35);
  background: rgba(127, 137, 99, 0.08);
  box-shadow: 0 7px 20px rgba(26, 28, 25, 0.07);
}
.product-catalog button i {
  border-radius: 8px;
}
.category-catalog .category-card {
  min-height: 112px;
  grid-template-columns: 30px 1fr 20px;
  padding: 16px;
}
.category-card > svg {
  width: 21px;
}
.category-card > b {
  font-size: 14px !important;
}
.cart-lines article {
  border-bottom-color: rgba(45, 47, 42, 0.07);
}
.cart-lines nav {
  padding: 3px;
  border-radius: 9px;
  background: rgba(45, 47, 42, 0.055);
}
.cart-lines nav button {
  border: 0;
  border-radius: 7px;
  background: #fff;
}
.cart > footer {
  border-top-color: rgba(45, 47, 42, 0.08);
  background: rgba(250, 250, 248, 0.95);
}
.tax-summary,
.cash-tender,
.sepa-fields,
.immediate-payment,
.prorata-detail,
.generation-card {
  border-radius: 12px;
}
.offer-steps {
  padding: 4px;
  border-radius: 13px;
  background: rgba(45, 47, 42, 0.055);
}
.offer-steps li {
  border: 0;
  border-radius: 10px;
}
.offer-steps li.active {
  background: #fff;
  box-shadow: 0 1px 4px rgba(24, 26, 23, 0.09);
}
.limit-control,
.trial-access,
.member-offer-card,
.invoice-preview {
  border-radius: 12px;
}
[data-slot="dialog-overlay"] {
  background: rgba(18, 20, 17, 0.32);
  backdrop-filter: blur(8px);
}
[data-slot="dialog-content"],
[data-slot="sheet-content"] {
  border-color: rgba(45, 47, 42, 0.1) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 80px rgba(20, 22, 19, 0.2) !important;
}
[data-slot="dialog-title"],
[data-slot="sheet-title"] {
  letter-spacing: -0.025em;
}
.category-management-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.category-management-row,
.create-category-row {
  width: 100%;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid rgba(45, 47, 42, 0.09);
  border-radius: 13px;
  background: rgba(250, 250, 248, 0.78);
  color: inherit;
  text-align: left;
  transition: border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}
.category-management-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
}
.category-management-row:hover {
  border-color: rgba(127, 137, 99, 0.38);
  background: rgba(127, 137, 99, 0.07);
  transform: translateY(-1px);
}
.category-management-row span,
.create-category-row span,
.vat-inherited span {
  display: grid;
  gap: 3px;
}
.category-management-row small,
.create-category-row small,
.vat-inherited small {
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 500;
}
.category-management-row strong {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(127, 137, 99, 0.13);
  color: var(--brand);
  font-size: 12px;
  white-space: nowrap;
}
.category-management-row .category-edit-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}
.category-edit-label svg {
  width: 14px;
  height: 14px;
}
.create-category-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-style: dashed;
  color: var(--brand);
}
.create-category-row:hover {
  border-color: var(--brand);
  background: rgba(127, 137, 99, 0.08);
}
.create-category-row > svg {
  width: 20px;
  height: 20px;
  padding: 5px;
  box-sizing: content-box;
  border-radius: 10px;
  background: rgba(127, 137, 99, 0.14);
}
.vat-inherited {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(127, 137, 99, 0.1);
}
.vat-inherited strong {
  color: var(--brand);
  font-size: 22px;
}
.article-category-field {
  display: grid;
  gap: 6px;
}
.article-category-field > label {
  font-size: 9px;
  font-weight: 700;
}
.article-category-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.article-category-actions button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(45, 47, 42, 0.1);
  border-radius: 9px;
  background: rgba(250, 250, 248, 0.8);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
}
.article-category-actions button:hover {
  border-color: rgba(127, 137, 99, 0.38);
  background: rgba(127, 137, 99, 0.08);
}
.article-category-actions svg {
  width: 14px;
  height: 14px;
}
.category-editor label {
  grid-column: auto;
}
.field-error {
  color: #a13d37 !important;
}
@media (max-width: 760px) {
  .manager-topbar {
    background: rgba(247, 247, 243, 0.94);
    backdrop-filter: blur(22px) saturate(1.2);
  }
  .manager-nav {
    gap: 20px;
  }
  main:not(.planning-main) {
    padding: 16px 12px 32px;
  }
  .heading {
    margin-bottom: 16px;
  }
  .heading h1 {
    font-size: 28px;
  }
  [data-slot="tabs-list"] {
    position: sticky;
    top: 102px;
    z-index: 7;
    width: 100%;
    margin-bottom: 8px;
    backdrop-filter: blur(18px);
  }
  [data-slot="tabs-trigger"] {
    min-height: 34px;
    padding-inline: 13px;
    font-size: 12px;
  }
  .pos-layout {
    gap: 12px;
  }
  .product-catalog > header,
  .cart > header {
    padding: 16px;
  }
  .product-catalog h2,
  .cart h2 {
    font-size: 21px;
    letter-spacing: -0.025em;
  }
  .product-catalog > div {
    padding: 10px;
    gap: 8px;
  }
  .product-catalog > div > button,
  .category-catalog .category-card {
    min-height: 96px;
    padding: 13px;
    border-radius: 12px;
  }
  .category-catalog .category-card {
    grid-template-columns: 24px minmax(0, 1fr) 16px;
    gap: 3px 8px !important;
  }
  .category-card > svg {
    width: 19px;
  }
  .category-card > b {
    overflow: hidden;
    font-size: 13px !important;
    text-overflow: ellipsis;
  }
  .category-card > small {
    font-size: 10px;
  }
  .category-card > i {
    font-size: 17px;
  }
  .cart {
    border-radius: 16px;
  }
  .cart-lines:empty {
    min-height: 0;
  }
  .cart-lines article {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 14px;
  }
  .cart-lines article > strong {
    grid-column: 2;
  }
  .cart-lines nav {
    grid-column: 1;
    width: max-content;
  }
  .cart > footer {
    position: static;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
  .peppy-split,
  .profile-grid section,
  .detail-card,
  .finance-toolbar,
  .table-panel {
    border-radius: 14px;
  }
  .contact-list {
    max-height: 270px;
  }
  .contact-detail > header nav {
    gap: 18px;
  }
  .profile-grid section,
  .detail-card {
    padding: 16px;
  }
  .category-management-row,
  .create-category-row {
    min-height: 62px;
  }
  .category-management-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .category-management-row strong {
    justify-self: end;
  }
  .category-management-row .category-edit-label {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .article-category-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .article-category-actions button {
    justify-content: center;
    font-size: 10px;
  }
  .category-editor label {
    grid-column: 1 / -1;
  }
  [data-slot="dialog-content"] {
    border-radius: 22px !important;
  }
  .slot-sheet {
    top: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    width: calc(100vw - 16px) !important;
    height: calc(100dvh - 16px) !important;
    border-radius: 22px !important;
  }
}
.manager-account > button {
  flex-shrink: 0;
}
@media (min-width: 761px) and (max-width: 1700px) {
  .manager-brand > span, .account-button > span {
    display: none;
  }
  .manager-account {
    gap: 10px;
    padding-left: 12px;
  }
  .manager-signout span {
    display: none;
  }
  .manager-signout {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
}
@media (min-width: 761px) and (max-width: 1300px) {
  .manager-topbar {
    height: auto;
    min-height: 98px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 50px auto;
    gap: 0 16px;
  }
  .manager-brand {
    grid-column: 1;
    grid-row: 1;
  }
  .manager-account {
    grid-column: 2;
    grid-row: 1;
  }
  .manager-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    gap: 0 16px;
  }
  .manager-nav > button, .manager-nav-group {
    height: 44px;
  }
  .planning-main {
    height: calc(100dvh - 138px);
  }
}
.planning-create-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.bulk-selection-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  margin: 10px 0;
  background: #fff7f4;
  border: 1px solid #e2b8ac;
  border-radius: 12px;
}
.bulk-selection-bar span {
  color: var(--muted);
  font-size: 11px;
}
.bulk-selection-bar button {
  margin-left: auto;
}
.schedule-slot.selected-for-delete {
  outline: 3px solid #b54d35;
  outline-offset: 2px;
}
.slot-select-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #b54d35;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 4;
}
.slot-select-check {
  pointer-events: none;
}
.slot-select-check svg {
  width: 14px;
}
.schedule-slot[aria-pressed] {
  cursor: pointer;
  touch-action: manipulation !important;
}
.schedule-slot[aria-pressed="false"] {
  outline: 2px dashed rgba(181,77,53,.34);
  outline-offset: 2px;
}
.schedule-slot[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .62;
  outline: none !important;
}
.planning-error-banner {
  position: fixed;
  top: max(12px,env(safe-area-inset-top));
  left: 5%;
  right: 5%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #dba99f;
  border-radius: 14px;
  background: #fbe9e7;
  color: #6f2f24;
  box-shadow: 0 12px 35px rgba(51,24,20,.22);
}
.planning-error-banner span {
  font-weight: 700;
}
.planning-error-banner>div {
  display: flex;
  gap: 8px;
}
.planning-error-banner button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #c8897c;
  border-radius: 10px;
  background: #fff;
  color: #6f2f24;
  font-weight: 700;
}
@media (max-width:600px) {
  .planning-error-banner {
    top: max(68px,calc(env(safe-area-inset-top) + 60px));
    left: 10px;
    right: 10px;
    align-items: stretch;
    flex-direction: column;
  }
  .planning-error-banner>div {
    justify-content: flex-end;
  }
}
.event-slot {
  background: #eee8f6 !important;
  border-left-color: #765c91 !important;
}
.key i.event {
  background: #765c91;
}
@media (max-width:800px) {
  .planning-create-actions {
    width: 100%;
  }
  .planning-create-actions button {
    flex: 1;
  }
  .bulk-selection-bar {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .bulk-selection-bar button {
    width: 100%;
    margin-left: 0;
  }
}
.manager-topbar {
  background: linear-gradient(135deg,#232621 0%,#30332d 100%);
  border-bottom-color: rgba(255,255,255,.09);
  color: #f5f1e7;
  box-shadow: 0 10px 32px rgba(23,25,22,.16);
}
.manager-topbar .manager-brand,.manager-topbar .manager-nav>button,.manager-topbar .manager-nav-group>button,.manager-topbar .account-button {
  color: #f5f1e7;
}
.manager-topbar .manager-nav>button.active,.manager-topbar .manager-nav-group.active>button {
  color: #dce3c5;
}
.manager-topbar .manager-nav button::after {
  background: #aab38e;
}
.manager-topbar .manager-account {
  border-left-color: rgba(255,255,255,.13);
}
.manager-topbar .manager-account small {
  color: #c5c9bc;
}
.manager-topbar .bell {
  color: #f5f1e7;
}
.manager-topbar .manager-submenu button {
  color: var(--ink);
}
.detail-card>.section-line button,.billing-actions button,.invoice-search button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}
.invoice-search input,.invoice-filters input,.invoice-filters select {
  min-height: 40px;
  font-size: 12px;
}
.invoice-search {
  align-items: center;
}
@media (max-width:760px) {
  .manager-topbar {
    background: #282b26;
  }
  .detail-card>.section-line {
    align-items: flex-start;
    gap: 10px;
  }
  .detail-card>.section-line button {
    width: 100%;
  }
}
.manager-shell,.manager-shell main {
  background: #dedfd8;
}
.finance-workspace {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(145deg,#cfd1c9,#e4e4de);
  box-shadow: inset 0 1px rgba(255,255,255,.6),0 18px 45px rgba(35,38,33,.08);
}
.finance-workspace>[data-slot="tabs-content"]>.detail-card {
  padding: 24px;
  border-color: rgba(255,255,255,.08);
  background: linear-gradient(145deg,#30332e,#3b3e38);
  color: #f7f3e9;
  box-shadow: 0 22px 55px rgba(27,29,26,.18);
}
.finance-workspace>[data-slot="tabs-content"]>.detail-card>.section-line h2 {
  color: #fff;
}
.finance-workspace>[data-slot="tabs-content"]>.detail-card>.section-line p {
  color: #bdc1b7;
}
.finance-workspace>[data-slot="tabs-content"]>.detail-card>.section-line button,.finance-workspace .invoice-search button {
  border-color: rgba(255,255,255,.22);
  color: #fff;
  background: rgba(255,255,255,.07);
}
.finance-workspace>[data-slot="tabs-content"]>.detail-card>.section-line button:hover,.finance-workspace .invoice-search button:hover {
  background: rgba(255,255,255,.14);
}
.finance-workspace .invoice-search {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 15px;
  background: rgba(0,0,0,.11);
}
.finance-workspace .invoice-search input {
  border-color: rgba(255,255,255,.18);
  background: #fff;
}
.finance-workspace .invoice-filters {
  padding: 14px;
  border-radius: 15px;
  background: #282b27;
}
.finance-workspace .invoice-filters label,.finance-workspace .invoice-date-range label {
  color: #d8dacf;
}
.finance-workspace .sub-tabs button {
  border-color: rgba(255,255,255,.1);
  color: #e7e8e1;
  background: #484c44;
}
.finance-workspace .sub-tabs button:hover {
  background: #555a50;
}
.finance-workspace .sub-tabs button.active {
  color: #fff;
  background: #7f8963;
}
.finance-workspace>[data-slot="tabs-content"]>.detail-card>.detail-card {
  border: 1px solid rgba(36,38,34,.09);
  background: #fbfaf6;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(17,19,16,.13);
}
.finance-workspace>[data-slot="tabs-content"]>.detail-card>.detail-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 34px rgba(17,19,16,.17);
}
.finance-workspace .billing-actions button {
  color: var(--ink);
  background: #fff;
  border-color: #d4d1c8;
}
@media (max-width:760px) {
  .finance-workspace {
    padding: 10px;
    border-radius: 17px;
  }
  .finance-workspace>[data-slot="tabs-content"]>.detail-card {
    padding: 15px;
  }
  .finance-workspace .invoice-filters {
    grid-template-columns: 1fr;
    padding: 12px;
  }
}
.manager-shell main:not(.planning-main) {
  background: linear-gradient(145deg,#d7d8d1 0%,#e5e5df 48%,#d9dad3 100%);
}
.manager-shell main:not(.planning-main)>.heading {
  margin-bottom: 22px;
}
.toolbar,.finance-toolbar,.filter-row {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: linear-gradient(135deg,#30332e,#3b3e38);
  color: #f6f2e8;
  box-shadow: 0 14px 34px rgba(29,31,28,.13);
}
.toolbar b,.finance-toolbar b {
  color: #fff;
}
.toolbar select,.finance-toolbar select {
  border-color: rgba(255,255,255,.2);
  background: #fff;
  color: var(--ink);
}
.toolbar button,.finance-toolbar button,.filter-row button {
  border-color: rgba(255,255,255,.18);
  color: #f2f0e8;
  background: rgba(255,255,255,.07);
}
.toolbar button:hover,.finance-toolbar button:hover,.filter-row button:hover {
  background: rgba(255,255,255,.14);
}
.filter-row {
  padding: 10px 12px;
}
.filter-row button.active {
  color: #fff;
  background: #7f8963;
  border-color: #8f9971;
}
.table-panel {
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: #30332e;
  box-shadow: 0 16px 38px rgba(28,30,27,.14);
  overflow: hidden;
}
.table-panel table {
  overflow: hidden;
  border-radius: 12px;
  background: #fbfaf6;
}
.table-panel thead {
  background: #41453e;
}
.table-panel tbody {
  color: var(--ink);
}
.detail-card {
  border-color: rgba(36,38,34,.1);
  background: #f8f7f2;
  box-shadow: 0 12px 32px rgba(30,32,29,.07);
}
.detail-card>.section-line:first-child {
  margin: -24px -24px 20px;
  padding: 19px 24px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(135deg,#30332e,#3b3e38);
  color: #f7f3e9;
}
.detail-card>.section-line:first-child h2,.detail-card>.section-line:first-child h3 {
  color: #fff;
}
.detail-card>.section-line:first-child p {
  color: #c4c8bd;
}
.detail-card>.section-line:first-child button {
  border-color: rgba(255,255,255,.2);
  color: #fff;
  background: rgba(255,255,255,.07);
}
.detail-card .detail-card>.section-line:first-child {
  margin: 0 0 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}
.detail-card .detail-card>.section-line:first-child h2,.detail-card .detail-card>.section-line:first-child h3 {
  color: var(--ink);
}
.detail-card .detail-card>.section-line:first-child p {
  color: var(--muted);
}
.detail-card .detail-card>.section-line:first-child button {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}
.contact-list,.contact-detail>header,.profile-grid section,.metric-row article,.finance-cards article,.e-invoice-cards article,.sepa-panel,.form-card,.settings>article {
  border-color: rgba(36,38,34,.1);
  background: #f8f7f2;
  box-shadow: 0 12px 30px rgba(30,32,29,.065);
}
.contact-list>nav,.settings>nav {
  border-color: rgba(255,255,255,.08);
  background: #30332e;
  color: #f3f0e8;
  box-shadow: 0 12px 30px rgba(30,32,29,.12);
}
.contact-list>nav button,.settings>nav button {
  color: #e6e7df;
}
.contact-list>nav button:hover,.settings>nav button:hover {
  background: rgba(255,255,255,.09);
}
.contact-list>nav button.active,.settings>nav button.active {
  color: #fff;
  background: #7f8963;
}
.profile-grid section,.metric-row article,.finance-cards article,.e-invoice-cards article {
  border-top: 5px solid #30332e;
}
.empty-week,.empty-row,.empty-state {
  border-color: rgba(48,51,46,.16);
  background: rgba(248,247,242,.75);
}
.sub-tabs {
  padding: 5px;
  border-radius: 12px;
  background: #d0d2ca;
}
.sub-tabs button {
  border-color: transparent;
  background: transparent;
}
.sub-tabs button.active {
  color: #fff;
  background: #30332e;
}
@media (max-width:760px) {
  .toolbar,.finance-toolbar,.filter-row {
    border-radius: 13px;
  }
  .table-panel {
    padding: 6px;
    border-radius: 14px;
  }
  .detail-card>.section-line:first-child {
    margin: -16px -16px 16px;
    padding: 16px;
    border-radius: 13px 13px 0 0;
  }
  .contact-list>nav,.settings>nav {
    border-radius: 13px;
  }
}
.manager-nav svg,.mobile-back,.cash-category-back {
  display: none;
}
@media (max-width:760px) {
  html,body,#root,.manager-shell {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  body {
    font-size: 16px;
    background: #e8e9e4;
  }
  .manager-topbar {
    position: sticky;
    top: 0;
    z-index: 80;
    height: 58px !important;
    min-height: 58px !important;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto !important;
    grid-template-rows: 58px !important;
    padding: 0 14px !important;
    background: #252823 !important;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }
  .manager-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    gap: 10px;
  }
  .manager-brand .brand {
    width: 36px;
    height: 36px;
  }
  .manager-brand>span {
    display: inline !important;
    font-size: 11px !important;
    letter-spacing: .13em;
  }
  .manager-account {
    grid-column: 2 !important;
    grid-row: 1 !important;
    height: 58px;
    padding: 0 !important;
    border: 0 !important;
    gap: 4px;
  }
  .manager-account .bell,.manager-signout {
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center;
  }
  .manager-account .account-button {
    display: none;
  }
  .manager-nav {
    position: fixed !important;
    left: 8px;
    right: 8px;
    bottom: max(8px,env(safe-area-inset-bottom));
    z-index: 100;
    width: auto !important;
    height: 68px;
    margin: 0 !important;
    padding: 5px 6px !important;
    display: flex !important;
    align-items: stretch;
    gap: 2px !important;
    overflow-x: auto;
    overflow-y: hidden;
    background: rgba(37,40,35,.96);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    box-shadow: 0 16px 45px rgba(20,22,19,.32);
    backdrop-filter: blur(22px);
    scrollbar-width: none;
  }
  .manager-nav::-webkit-scrollbar {
    display: none;
  }
  .manager-nav>button,.manager-nav-group {
    flex: 0 0 72px !important;
    min-width: 72px;
    height: 58px;
    scroll-snap-align: center;
  }
  .manager-nav-group>button,.manager-nav>button {
    width: 100%;
    height: 58px !important;
    min-height: 58px !important;
    padding: 6px 3px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0 !important;
    border-radius: 17px !important;
    color: #cfd1c9 !important;
    background: transparent !important;
    font-size: 9px !important;
    line-height: 1.05;
    text-transform: none;
    letter-spacing: 0;
  }
  .manager-nav svg {
    display: block;
    width: 21px;
    height: 21px;
    stroke-width: 2;
  }
  .manager-nav>button.active,.manager-nav-group:has(>button.active)>button {
    color: #fff !important;
    background: #7f8963 !important;
    box-shadow: none !important;
  }
  .manager-shell main,.manager-shell main:not(.planning-main) {
    padding: 14px 10px calc(92px + env(safe-area-inset-bottom)) !important;
  }
  .manager-shell .foot {
    display: none;
  }
  .heading {
    min-height: 0;
    padding: 17px !important;
    margin: 0 0 12px !important;
    border-radius: 18px !important;
    align-items: center !important;
    gap: 12px;
  }
  .heading h1 {
    font-size: 27px !important;
  }
  .heading .over {
    margin-bottom: 6px;
  }
  .head-actions {
    width: auto !important;
    display: flex;
    gap: 7px;
  }
  .head-actions>button {
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px !important;
  }
  .head-actions>button svg {
    margin: 0;
  }
  .head-actions>button span {
    display: none;
  }
  [data-slot="tabs-list"] {
    top: 60px !important;
    display: flex;
    width: 100%;
    padding: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 14px;
    background: rgba(210,212,205,.96);
  }
  [data-slot="tabs-list"]::-webkit-scrollbar {
    display: none;
  }
  [data-slot="tabs-trigger"] {
    flex: 0 0 auto;
    min-height: 42px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }
  .peppy-split {
    display: block !important;
    border-radius: 17px;
    min-height: 0 !important;
  }
  .contact-list {
    max-height: none !important;
    padding: 10px !important;
    border: 0 !important;
  }
  .contact-list>nav {
    scroll-snap-type: x proximity;
    padding: 7px !important;
  }
  .contact-list>nav button {
    min-height: 42px;
    font-size: 12px !important;
    scroll-snap-align: start;
  }
  .contact-list>header {
    font-size: 11px;
  }
  .contact-list>button {
    min-height: 58px !important;
    padding: 15px 12px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    margin: 4px 0;
  }
  .peppy-split.has-member>.contact-list {
    display: none;
  }
  .peppy-split:not(.has-member)>.contact-detail {
    display: none;
  }
  .contact-detail {
    min-height: 0 !important;
    background: #f8f7f2;
  }
  .contact-detail>header {
    padding: 10px 14px 0 !important;
  }
  .contact-detail>header>div {
    align-items: center;
  }
  .contact-detail h2 {
    font-size: 25px;
  }
  .contact-detail>header nav {
    width: calc(100% + 28px) !important;
    margin: 10px -14px 0 !important;
    padding: 0 14px !important;
    gap: 7px !important;
  }
  .contact-detail>header nav button {
    min-height: 42px !important;
    padding: 0 11px !important;
    border: 0 !important;
    border-radius: 11px;
    font-size: 12px !important;
    background: #e6e7e1;
  }
  .contact-detail>header nav button.active {
    color: #fff;
    background: #30332e;
  }
  .mobile-back,.cash-category-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 11px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: #30332e;
    font: 700 13px Montserrat;
  }
  .mobile-back {
    margin-bottom: 10px;
  }
  .mobile-back svg,.cash-category-back svg {
    width: 18px;
  }
  .profile-grid {
    grid-template-columns: 1fr !important;
    padding: 10px !important;
    gap: 10px !important;
  }
  .profile-grid section,.detail-card {
    padding: 15px !important;
    margin: 0 !important;
    border-radius: 15px !important;
  }
  .profile-grid section h3,.detail-card h3 {
    font-size: 19px;
  }
  .section-line {
    gap: 9px;
  }
  .section-line button {
    width: auto !important;
  }
  .planning-main {
    height: auto !important;
    min-height: calc(100dvh - 58px) !important;
    padding: 9px 8px calc(88px + env(safe-area-inset-bottom)) !important;
  }
  .planning-main .heading {
    padding: 14px !important;
  }
  .planning-main .heading h1 {
    font-size: 25px !important;
  }
  .planning-create-actions {
    width: auto !important;
    flex-wrap: nowrap;
  }
  .planning-create-actions button {
    width: 44px !important;
    min-width: 44px;
    padding: 0 !important;
    font-size: 0 !important;
  }
  .planning-create-actions button svg {
    width: 20px;
    height: 20px;
  }
  .planning-main .toolbar {
    padding: 8px !important;
    border-radius: 15px !important;
  }
  .planning-main .toolbar>div {
    grid-template-columns: 42px minmax(0,1fr) 42px !important;
  }
  .planning-main .toolbar>div>*:last-child {
    display: none !important;
  }
  .planning-main .toolbar aside {
    overflow: visible !important;
  }
  .planning-main .toolbar aside select {
    font-size: 14px;
  }
  .planning-main .calendar {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    border-radius: 17px;
    -webkit-overflow-scrolling: touch;
  }
  .planning-main .calendar>div {
    min-width: 0 !important;
    width: max-content !important;
    height: auto !important;
    display: flex !important;
  }
  .planning-main .calendar section {
    flex: 0 0 calc(100vw - 36px) !important;
    width: calc(100vw - 36px) !important;
    min-height: 650px !important;
    padding: 10px !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .planning-main .day-grid {
    height: 590px !important;
  }
  .planning-main .day-title {
    position: sticky;
    left: 0;
  }
  .pos-layout {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .product-catalog,.cart {
    border-radius: 17px !important;
  }
  .product-catalog>header,.cart>header {
    padding: 14px !important;
  }
  .product-catalog>header {
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .product-catalog>header>div {
    flex: 1;
  }
  .product-catalog h2,.cart h2 {
    font-size: 22px !important;
  }
  .product-catalog>div {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    padding: 9px !important;
    gap: 8px !important;
  }
  .product-catalog>div>button,.category-catalog .category-card {
    min-width: 0 !important;
    min-height: 104px !important;
    padding: 12px !important;
  }
  .product-catalog>div>button b {
    font-size: 14px;
  }
  .product-catalog>div>button strong {
    font-size: 17px;
  }
  .category-catalog .category-card {
    grid-template-columns: 22px minmax(0,1fr) 14px !important;
  }
  .cash-category-back {
    flex: 0 0 auto;
  }
  .cart-lines article {
    font-size: 14px;
  }
  .cart>footer {
    padding: 15px !important;
  }
  .cart>footer>div {
    font-size: 16px;
  }
  .cart>footer label {
    font-size: 14px;
  }
  .cart>footer input,.cart>footer select {
    min-height: 48px;
    font-size: 16px;
  }
  .cart>footer .brand-btn {
    width: 100%;
    min-height: 48px !important;
    font-size: 15px !important;
  }
  .category-catalog .category-card,.product-catalog>div>button {
    min-height: 78px !important;
    padding: 9px !important;
  }
  .category-catalog .category-card {
    grid-template-columns: 18px minmax(0,1fr) 14px !important;
  }
  .category-card>svg {
    width: 17px !important;
  }
  .category-card>b {
    font-size: 12px !important;
  }
  .category-card>small {
    font-size: 9px !important;
  }
  .cart>footer {
    gap: 8px !important;
    padding: 12px !important;
  }
  .cart>footer>.tax-summary {
    padding: 3px 0 7px !important;
    gap: 2px !important;
  }
  .cart>footer>.tax-summary p,.cart>footer>.tax-summary p b {
    font-size: 11px !important;
    line-height: 1.25 !important;
    font-weight: 600;
  }
  .cart>footer>div:not(.tax-summary) {
    font-size: 15px !important;
  }
  .cart>footer>div:not(.tax-summary)>b {
    font-size: 20px !important;
  }
  .cart>footer input,.cart>footer select {
    min-height: 44px !important;
  }
  .cash-member-picker {
    position: relative;
    display: grid;
    gap: 5px;
    font-size: 14px;
    font-weight: 700;
  }
  .cash-member-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
  }
  .cash-member-search svg {
    width: 18px;
    flex: none;
    color: var(--muted);
  }
  .cash-member-search input {
    min-width: 0;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .cash-member-results {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 240px;
    overflow: auto;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(25,27,24,.18);
  }
  .cash-member-results button {
    width: 100%;
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 0;
    border-bottom: 1px solid #ecece7;
    background: #fff;
    text-align: left;
  }
  .cash-member-results button:last-of-type {
    border-bottom: 0;
  }
  .cash-member-results button:active {
    background: #e9ecdf;
  }
  .cash-member-results b {
    font-size: 14px;
  }
  .cash-member-results small {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    text-overflow: ellipsis;
  }
  .cash-member-results p {
    margin: 0;
    padding: 12px;
    color: var(--muted);
    font-size: 13px;
  }
  .table-panel,.finance-toolbar {
    overflow-x: auto;
  }
  .table-panel table {
    min-width: 680px;
  }
  .billing-list article,.line-item {
    font-size: 14px;
  }
  .filter-row,.finance-toolbar {
    padding: 10px !important;
  }
  [data-slot="dialog-content"] {
    top: auto !important;
    bottom: 6px !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 12px) !important;
    max-width: none !important;
    max-height: calc(100dvh - 12px) !important;
    border-radius: 24px 24px 18px 18px !important;
  }
  [data-slot="dialog-header"] {
    border-radius: 23px 23px 0 0 !important;
  }
  [data-slot="dialog-footer"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  [data-slot="dialog-footer"] button {
    width: 100%;
    min-height: 48px;
  }
}
@media (max-width:390px) {
  .manager-brand>span {
    display: none !important;
  }
  .manager-nav>button,.manager-nav-group {
    flex-basis: 68px !important;
    min-width: 68px;
  }
  .heading h1 {
    font-size: 24px !important;
  }
}
@media (max-width:760px) {
  .manager-topbar {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    overflow: visible !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
  }
  .manager-nav {
    position: fixed !important;
    top: auto !important;
    left: 8px !important;
    right: 8px !important;
    bottom: calc(8px + env(safe-area-inset-bottom)) !important;
    transform: none !important;
  }
  .mobile-finance-menu {
    position: fixed !important;
    top: auto !important;
    bottom: calc(84px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    right: 10px !important;
  }
  .manager-nav>button svg,.manager-nav-group>button svg {
    display: block !important;
    color: #dfe6c8 !important;
    stroke: #dfe6c8 !important;
    opacity: 1 !important;
  }
  .manager-nav>button.active svg,.manager-nav-group>button.active svg {
    color: #fff !important;
    stroke: #fff !important;
  }
  .manager-topbar .bell {
    color: #fff !important;
    background: rgba(255,255,255,.1) !important;
  }
  .manager-topbar .bell svg,.manager-signout svg {
    color: #fff !important;
    stroke: #fff !important;
    opacity: 1 !important;
  }
  .planning-create-actions button {
    border: 1px solid rgba(255,255,255,.18) !important;
    color: #fff !important;
    background: #30332e !important;
  }
  .planning-create-actions button:last-child {
    background: #7f8963 !important;
  }
  .planning-create-actions button svg {
    display: block !important;
    color: #fff !important;
    stroke: #fff !important;
    opacity: 1 !important;
  }
  .planning-main .toolbar button {
    color: #fff !important;
    background: #454940 !important;
    border-color: rgba(255,255,255,.22) !important;
  }
  .planning-main .toolbar button svg {
    color: #fff !important;
    stroke: #fff !important;
    opacity: 1 !important;
  }
  .cash-category-back svg,.mobile-back svg,.brand-btn svg {
    color: currentColor !important;
    stroke: currentColor !important;
    opacity: 1 !important;
  }
  [data-slot="dialog-content"],[data-slot="dialog-content"].slot-sheet,[data-slot="dialog-content"].slot-detail-dialog {
    position: fixed !important;
    inset: max(6px,env(safe-area-inset-top)) 6px max(6px,env(safe-area-inset-bottom)) 6px !important;
    top: max(6px,env(safe-area-inset-top)) !important;
    right: 6px !important;
    bottom: max(6px,env(safe-area-inset-bottom)) !important;
    left: 6px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    transform: none !important;
    overflow-y: auto !important;
    border-radius: 20px !important;
  }
  [data-slot="dialog-content"].slot-detail-dialog {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding: 18px !important;
  }
  .slot-detail-dialog>[data-slot="dialog-header"] {
    flex: 0 0 auto !important;
    margin: -18px -18px 0 !important;
    padding: 20px 56px 18px 18px !important;
    border-radius: 19px 19px 0 0 !important;
  }
  .slot-detail-dialog>[data-slot="dialog-footer"] {
    flex: 0 0 auto !important;
    position: sticky !important;
    bottom: -18px !important;
    margin: auto -18px -18px !important;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom)) !important;
  }
  [data-slot="dialog-close"] {
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
    color: #fff !important;
    background: rgba(255,255,255,.14) !important;
  }
  [data-slot="dialog-content"].slot-detail-dialog,[data-slot="dialog-content"].course-edit-dialog {
    position: fixed !important;
    inset: max(8px,env(safe-area-inset-top)) 8px calc(86px + env(safe-area-inset-bottom)) 8px !important;
    top: max(8px,env(safe-area-inset-top)) !important;
    right: 8px !important;
    bottom: calc(86px + env(safe-area-inset-bottom)) !important;
    left: 8px !important;
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    height: auto !important;
    max-height: none !important;
    translate: none !important;
    transform: none !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  .course-edit-dialog .wizard-grid {
    grid-template-columns: 1fr !important;
  }
  .course-edit-dialog .course-editor-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }
  .course-edit-dialog .course-editor-actions button {
    width: 100% !important;
  }
}
.mobile-menu-toggle,.mobile-current-section,.mobile-menu-scrim {
  display: none;
}
@media (max-width:760px) {
  .manager-topbar {
    grid-template-columns: auto minmax(0,1fr) auto auto !important;
    grid-template-rows: 58px !important;
    gap: 6px !important;
    padding: 0 10px !important;
  }
  .manager-brand {
    grid-column: 1 !important;
    width: 40px;
  }
  .manager-brand>span {
    display: none !important;
  }
  .mobile-current-section {
    display: block;
    grid-column: 2;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-menu-toggle {
    display: grid;
    grid-column: 3;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 13px;
    color: #fff;
    background: rgba(255,255,255,.08);
  }
  .mobile-menu-toggle svg {
    width: 22px;
    height: 22px;
    color: #fff;
    stroke: #fff;
  }
  .manager-account {
    grid-column: 4 !important;
  }
  .manager-account .bell {
    display: none !important;
  }
  .manager-signout {
    width: 42px !important;
  }
  .manager-nav {
    position: fixed !important;
    top: 66px !important;
    right: 8px !important;
    bottom: 8px !important;
    left: auto !important;
    width: min(330px,calc(100vw - 16px)) !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 5px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border-radius: 20px !important;
    background: rgba(37,40,35,.985) !important;
    box-shadow: 0 22px 70px rgba(12,14,12,.42) !important;
    transform: translateX(calc(100% + 18px)) !important;
    transition: transform .22s ease !important;
    pointer-events: none !important;
  }
  .manager-nav.mobile-open {
    transform: none !important;
    pointer-events: auto !important;
  }
  .manager-nav>button,.manager-nav-group {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
  }
  .manager-nav-group>button,.manager-nav>button {
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 14px !important;
    display: grid !important;
    grid-template-columns: 28px minmax(0,1fr) !important;
    align-items: center !important;
    justify-items: start !important;
    gap: 11px !important;
    border-radius: 13px !important;
    font-size: 14px !important;
    text-align: left !important;
  }
  .manager-nav svg {
    width: 21px !important;
    height: 21px !important;
  }
  .manager-nav>button.active,.manager-nav-group:has(>button.active)>button {
    background: #7f8963 !important;
  }
  .mobile-menu-scrim {
    display: block;
    position: fixed;
    inset: 58px 0 0;
    z-index: 89;
    border: 0;
    background: rgba(15,17,15,.34);
    backdrop-filter: blur(2px);
  }
  .manager-nav {
    z-index: 100 !important;
  }
  .mobile-finance-menu {
    z-index: 110 !important;
    top: 72px !important;
    bottom: auto !important;
  }
  .manager-shell main,.manager-shell main:not(.planning-main) {
    padding-bottom: 24px !important;
  }
  .planning-main {
    padding-bottom: 24px !important;
  }
  [data-slot="dialog-content"].slot-detail-dialog,[data-slot="dialog-content"].course-edit-dialog {
    bottom: max(8px,env(safe-area-inset-bottom)) !important;
    inset: max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom)) 8px !important;
  }
}
@media (max-width:760px) {
  [data-slot="dialog-content"].slot-detail-dialog {
    top: 66px !important;
    right: 8px !important;
    bottom: max(8px,env(safe-area-inset-bottom)) !important;
    left: 8px !important;
    inset: 66px 8px max(8px,env(safe-area-inset-bottom)) 8px !important;
    width: auto !important;
    height: auto !important;
    max-height: calc(100dvh - 74px - env(safe-area-inset-bottom)) !important;
    padding: 12px !important;
    gap: 10px !important;
    border-radius: 18px !important;
    background: #f6f4ee !important;
    overscroll-behavior: contain;
  }
  .slot-detail-dialog>[data-slot="dialog-header"] {
    position: sticky !important;
    top: -12px !important;
    z-index: 4 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: -12px -12px 0 !important;
    padding: 14px 50px 13px 16px !important;
    border-radius: 17px 17px 0 0 !important;
    border-bottom: 0 !important;
    background: #2f332e !important;
    color: #fff !important;
  }
  .slot-detail-dialog [data-slot="dialog-title"] {
    font-size: 22px !important;
    line-height: 1.08 !important;
    color: #fff !important;
  }
  .slot-detail-dialog>[data-slot="dialog-header"] p {
    margin: 4px 0 0 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    color: rgba(255,255,255,.75) !important;
  }
  .slot-detail-dialog>[data-slot="dialog-close"] {
    position: fixed !important;
    top: 76px !important;
    right: 18px !important;
    z-index: 6 !important;
  }
  .slot-detail-dialog .attendance-summary {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    margin: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  .slot-detail-dialog .attendance-summary>div {
    min-width: 0 !important;
    padding: 9px 3px !important;
  }
  .slot-detail-dialog .attendance-summary b {
    font-size: 20px !important;
    line-height: 1 !important;
  }
  .slot-detail-dialog .attendance-summary span {
    font-size: 9px !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }
  .slot-detail-dialog .add-client-panel {
    margin: 0 !important;
    padding: 9px !important;
    border-radius: 12px !important;
  }
  .slot-detail-dialog .client-search {
    min-height: 42px !important;
    padding: 0 10px !important;
    border-radius: 10px !important;
  }
  .slot-detail-dialog .client-search input {
    min-width: 0 !important;
    height: 40px !important;
    font-size: 14px !important;
  }
  .slot-detail-dialog .add-client-panel>div {
    max-height: 132px !important;
  }
  .slot-detail-dialog .add-client-panel .line-item {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 0 !important;
  }
  .slot-detail-dialog .add-client-panel .line-item>span,.slot-detail-dialog .add-client-panel .line-item>b {
    min-width: 0 !important;
  }
  .slot-detail-dialog .add-client-panel .line-item b,.slot-detail-dialog .add-client-panel .line-item small {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .slot-detail-dialog .add-client-panel .line-item button {
    width: auto !important;
    min-width: 88px !important;
    min-height: 40px !important;
    padding: 0 10px !important;
  }
  .slot-detail-dialog .roster {
    margin: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  .slot-detail-dialog .roster>header {
    height: 38px !important;
    padding: 0 11px !important;
  }
  .slot-detail-dialog .roster>article {
    padding: 9px 10px !important;
    gap: 8px !important;
  }
  .slot-detail-dialog .roster>article>span {
    min-width: 0 !important;
  }
  .slot-detail-dialog .roster>article>span b,.slot-detail-dialog .roster>article>span small {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .slot-detail-dialog .call-buttons {
    flex: none !important;
  }
  .slot-detail-dialog .call-buttons button {
    width: 38px !important;
    height: 38px !important;
    color: #30332e !important;
    border-color: #d1d3cc !important;
  }
  .slot-detail-dialog>[data-slot="dialog-footer"].slot-detail-actions {
    position: sticky !important;
    bottom: -12px !important;
    z-index: 4 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin: auto -12px -12px !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    background: #efede6 !important;
    border-top: 1px solid #d8d9d2 !important;
  }
  .slot-detail-dialog .slot-detail-actions button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }
  .slot-detail-dialog .slot-detail-actions .brand-btn {
    grid-column: 1/-1 !important;
  }
}
.planning-generation-banner {
  position: fixed;
  top: max(12px,env(safe-area-inset-top));
  left: 50%;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 620px;
  padding: 13px 15px;
  border: 1px solid #aeb58f;
  border-radius: 14px;
  background: #eef1e5;
  color: #34382f;
  box-shadow: 0 12px 32px rgba(36,40,32,.18);
  transform: translateX(-50%);
}
.planning-generation-banner span {
  font-weight: 700;
}
.planning-generation-banner button {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid #89916f;
  border-radius: 9px;
  background: #fff;
  color: #34382f;
  font-weight: 700;
}
@media (max-width:600px) {
  .planning-generation-banner {
    top: max(68px,calc(env(safe-area-inset-top) + 60px));
    left: 10px;
    right: 10px;
    justify-content: space-between;
    transform: none;
  }
}
@media (min-width:761px) {
  .peppy-split:not(.has-member) {
    grid-template-columns: minmax(340px,390px) minmax(0,1fr);
    min-height: 620px;
    overflow: hidden;
    border-radius: 22px;
    background: #f2f1eb;
    box-shadow: 0 18px 46px rgba(35,38,31,.1);
  }
  .peppy-split:not(.has-member)>.contact-list {
    padding: 18px;
    background: #fbfaf6;
    border-right: 1px solid rgba(44,48,40,.12);
    max-height: 680px;
  }
  .peppy-split:not(.has-member)>.contact-detail {
    display: grid;
    place-items: center;
    padding: 48px;
    background: radial-gradient(circle at 50% 35%,rgba(144,156,109,.16),transparent 38%),linear-gradient(145deg,#f4f3ee,#ebece5);
  }
  .contact-detail>.member-empty-state {
    display: flex;
    width: min(480px,100%);
    min-height: 330px;
    padding: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    color: #f7f7f1;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 26px;
    background: linear-gradient(145deg,#30342e,#222620);
    box-shadow: 0 22px 55px rgba(26,29,24,.2);
  }
  .member-empty-state .member-empty-icon {
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    margin-bottom: 5px;
    border-radius: 20px;
    color: #f7f7f1;
    background: #8e9a70;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  }
  .member-empty-state .member-empty-icon svg {
    width: 31px;
    height: 31px;
  }
  .member-empty-state .over {
    color: #bec8a6;
    letter-spacing: .18em;
  }
  .member-empty-state h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.1;
  }
  .member-empty-state p {
    max-width: 380px;
    margin: 0 0 12px;
    color: rgba(247,247,241,.72);
    font-size: 15px;
    line-height: 1.55;
  }
  .member-empty-state .brand-btn {
    min-height: 46px;
    padding-inline: 22px;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
  }
  [data-slot="dialog-content"].member-editor-dialog {
    width: min(760px,calc(100vw - 48px)) !important;
    max-width: 760px !important;
    max-height: min(780px,calc(100dvh - 64px)) !important;
    padding: 28px !important;
    gap: 20px !important;
    overflow-y: auto !important;
    border-radius: 24px !important;
    border: 1px solid rgba(44,48,40,.16) !important;
    background: #fbfaf6 !important;
    box-shadow: 0 28px 80px rgba(24,27,22,.32) !important;
  }
  .member-editor-dialog [data-slot="dialog-header"] {
    margin: -28px -28px 2px !important;
    padding: 25px 62px 22px 28px !important;
    border-radius: 23px 23px 0 0;
  }
  .member-editor-dialog [data-slot="dialog-title"] {
    font-size: 23px;
    letter-spacing: -.02em;
  }
  .member-editor-dialog [data-slot="dialog-description"] {
    max-width: 570px;
    margin-top: 5px;
    color: rgba(247,247,241,.7);
    font-size: 14px;
    line-height: 1.45;
  }
  .member-editor-dialog .wizard-grid {
    gap: 16px 18px;
    padding: 3px 1px;
  }
  .member-editor-dialog .wizard-grid label {
    gap: 7px;
    font-size: 13px;
  }
  .member-editor-dialog .wizard-grid input {
    min-height: 46px;
    padding-inline: 13px;
    border-color: rgba(44,48,40,.16);
    background: #fff;
    box-shadow: 0 2px 8px rgba(35,38,31,.035);
  }
  .member-editor-dialog .wizard-grid input:focus {
    border-color: #8e9a70;
    box-shadow: 0 0 0 3px rgba(142,154,112,.16);
  }
  .member-editor-dialog [role="alert"] {
    padding: 11px 13px;
    border: 1px solid #e3aaa1;
    border-radius: 12px;
    background: #fff1ee;
    color: #8c332a;
  }
  .member-editor-dialog [data-slot="dialog-footer"] {
    margin: 4px -28px -28px !important;
    padding: 18px 28px !important;
    gap: 10px;
    background: #f1f0e9;
  }
  .member-editor-dialog [data-slot="dialog-footer"] button {
    min-width: 132px;
    min-height: 44px;
  }
}
@media (max-width:760px) {
  [data-slot="dialog-content"].member-editor-dialog {
    inset: 64px 8px 8px !important;
    top: 64px !important;
    left: 8px !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    transform: none !important;
    padding: 18px !important;
    gap: 14px !important;
    overflow-y: auto !important;
    border-radius: 22px 22px 0 0 !important;
  }
  .member-editor-dialog [data-slot="dialog-header"] {
    margin: -18px -18px 0 !important;
    padding: 20px 52px 18px 20px !important;
  }
  .member-editor-dialog .wizard-grid {
    grid-template-columns: 1fr !important;
    gap: 13px !important;
  }
  .member-editor-dialog [data-slot="dialog-footer"] {
    margin: 2px -18px -18px !important;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom)) !important;
    grid-template-columns: 1fr 1fr !important;
  }
  .member-editor-dialog [data-slot="dialog-footer"] button {
    min-height: 46px !important;
  }
}
.member-more-toggle {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #d4d6cd;
  border-radius: 12px;
  color: #566044;
  background: #f1f2eb;
  font-weight: 750;
  text-align: left;
}
.member-more-toggle:hover {
  background: #e9ecdf;
}
@media (max-width:760px) {
  [data-slot="dialog-content"].member-editor-dialog {
    top: 66px !important;
    bottom: max(8px,env(safe-area-inset-bottom)) !important;
    inset: 66px 8px max(8px,env(safe-area-inset-bottom)) 8px !important;
    padding: 12px !important;
    gap: 9px !important;
    border-radius: 18px !important;
  }
  .member-editor-dialog [data-slot="dialog-header"] {
    min-height: 58px !important;
    margin: -12px -12px 0 !important;
    padding: 16px 48px 14px 16px !important;
    border-radius: 17px 17px 0 0 !important;
    text-align: left !important;
  }
  .member-editor-dialog [data-slot="dialog-title"] {
    font-size: 20px !important;
    line-height: 1.1 !important;
  }
  .member-editor-dialog [data-slot="dialog-description"] {
    display: none !important;
  }
  .member-editor-dialog [data-slot="dialog-close"] {
    top: 10px !important;
    right: 10px !important;
    width: 34px !important;
    height: 34px !important;
  }
  .member-editor-dialog .member-required-fields,.member-editor-dialog .member-optional-fields {
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
  }
  .member-editor-dialog .wizard-grid label {
    gap: 4px !important;
    font-size: 12px !important;
  }
  .member-editor-dialog .wizard-grid input {
    min-height: 42px !important;
    height: 42px !important;
    font-size: 16px !important;
  }
  .member-editor-dialog .member-more-toggle {
    min-height: 40px;
    font-size: 12px;
  }
  .member-editor-dialog [data-slot="dialog-footer"] {
    bottom: -12px !important;
    margin: 0 -12px -12px !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
  }
  .member-editor-dialog [data-slot="dialog-footer"] button {
    min-height: 44px !important;
  }
}
@media (max-width:380px) {
  .member-editor-dialog .member-required-fields,.member-editor-dialog .member-optional-fields {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width:760px) {
  [data-slot="dialog-content"] {
    position: fixed !important;
    inset: 64px 8px max(8px,env(safe-area-inset-bottom)) 8px !important;
    top: 64px !important;
    right: 8px !important;
    bottom: max(8px,env(safe-area-inset-bottom)) !important;
    left: 8px !important;
    translate: none !important;
    transform: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    max-height: calc(100dvh - 72px - env(safe-area-inset-bottom)) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }
  .contact-wizard,.offer-wizard,.billing-dialog,.template-builder,.team-dialog {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  .contact-wizard .wizard-grid,.offer-wizard .wizard-grid,.billing-dialog .wizard-grid,.template-builder .wizard-grid,.team-dialog .wizard-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }
  .contact-wizard *,.offer-wizard *,.billing-dialog *,.template-builder *,.team-dialog * {
    min-width: 0;
    box-sizing: border-box;
  }
  [data-slot="dialog-header"],[data-slot="dialog-footer"] {
    width: auto !important;
    max-width: none !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
  }
  [data-slot="dialog-footer"] {
    position: sticky !important;
    bottom: -18px !important;
    z-index: 3 !important;
    background: #f1f0e9 !important;
  }
}
@media (min-width:761px) {
  main:not(.planning-main)>.heading {
    min-height: 96px !important;
    padding: 20px 26px !important;
    border-radius: 20px !important;
  }
  .heading h1 {
    font-size: 30px !important;
  }
  .head-actions>button {
    min-height: 42px !important;
  }
  .detail-card,.profile-grid section,.form-card,.settings>article {
    padding: 18px !important;
  }
  .detail-card>.section-line:first-child {
    margin: -18px -18px 16px !important;
    padding: 15px 18px !important;
  }
  [data-slot="dialog-content"] {
    gap: 14px !important;
    padding: 22px !important;
    border-radius: 20px !important;
  }
  [data-slot="dialog-header"] {
    margin: -22px -22px 0 !important;
    padding: 19px 54px 17px 22px !important;
    border-radius: 19px 19px 0 0 !important;
  }
  [data-slot="dialog-title"] {
    font-size: 20px !important;
  }
  [data-slot="dialog-footer"] {
    margin: 2px -22px -22px !important;
    padding: 14px 22px !important;
  }
  .wizard-grid {
    gap: 12px 14px !important;
  }
  .wizard-grid input,.wizard-grid select {
    min-height: 42px !important;
  }
}
@media (max-width:760px) {
  body {
    font-size: 15px !important;
  }
  .manager-topbar {
    height: 54px !important;
    min-height: 54px !important;
    grid-template-rows: 54px !important;
  }
  .manager-brand .brand {
    width: 32px !important;
    height: 32px !important;
  }
  .mobile-menu-toggle,.manager-signout {
    width: 38px !important;
    height: 38px !important;
  }
  .mobile-current-section {
    font-size: 14px !important;
  }
  .manager-shell main,.manager-shell main:not(.planning-main) {
    padding: 10px 8px 18px !important;
  }
  .heading {
    padding: 13px 14px !important;
    margin-bottom: 10px !important;
    border-radius: 15px !important;
  }
  .heading h1 {
    font-size: 23px !important;
  }
  .head-actions>button {
    min-height: 40px !important;
  }
  .detail-card,.profile-grid section,.form-card,.settings>article {
    padding: 12px !important;
    border-radius: 13px !important;
  }
  .detail-card>.section-line:first-child {
    margin: -12px -12px 12px !important;
    padding: 12px !important;
  }
  .member-editor-dialog {
    display: flex !important;
    flex-direction: column !important;
    align-content: initial !important;
    bottom: auto !important;
    inset: 62px 8px auto 8px !important;
    top: 62px !important;
    right: 8px !important;
    left: 8px !important;
    height: max-content !important;
    max-height: calc(100dvh - 70px - env(safe-area-inset-bottom)) !important;
    padding: 10px !important;
    gap: 7px !important;
  }
  .member-editor-dialog [data-slot="dialog-header"] {
    flex: none !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: -10px -10px 0 !important;
    padding: 14px 44px 12px 14px !important;
  }
  .member-editor-dialog [data-slot="dialog-title"] {
    font-size: 18px !important;
  }
  .member-editor-dialog [data-slot="dialog-close"] {
    top: 8px !important;
    right: 8px !important;
    width: 30px !important;
    height: 30px !important;
  }
  .member-editor-dialog .member-required-fields,.member-editor-dialog .member-optional-fields {
    flex: none !important;
    gap: 7px 8px !important;
  }
  .member-editor-dialog .wizard-grid label {
    font-size: 11px !important;
    line-height: 1.2 !important;
  }
  .member-editor-dialog .wizard-grid input {
    height: 38px !important;
    min-height: 38px !important;
    padding-inline: 10px !important;
  }
  .member-editor-dialog .member-more-toggle {
    min-height: 36px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }
  .member-editor-dialog [data-slot="dialog-footer"] {
    position: static !important;
    flex: none !important;
    bottom: auto !important;
    margin: 0 -10px -10px !important;
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom)) !important;
  }
  .member-editor-dialog [data-slot="dialog-footer"] button {
    min-height: 40px !important;
    font-size: 13px !important;
  }
}
@media (max-width:760px) {
  [data-slot="dialog-content"] {
    inset: 62px 8px auto 8px !important;
    top: 62px !important;
    right: 8px !important;
    bottom: auto !important;
    left: 8px !important;
    height: fit-content !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 70px - env(safe-area-inset-bottom)) !important;
    align-content: start !important;
    border-radius: 18px !important;
  }
  [data-slot="dialog-content"].member-editor-dialog {
    display: flex !important;
    height: fit-content !important;
    max-height: calc(100dvh - 70px - env(safe-area-inset-bottom)) !important;
  }
  .member-editor-dialog [data-slot="dialog-footer"] {
    position: static !important;
    margin-top: 2px !important;
  }
}
@media (min-width:761px) {
  [data-slot="dialog-content"] {
    width: min(620px,calc(100vw - 48px)) !important;
    max-width: 620px !important;
    max-height: calc(100dvh - 48px) !important;
    padding: 22px !important;
    gap: 14px !important;
    border-radius: 20px !important;
  }
  [data-slot="dialog-header"] {
    min-height: 72px !important;
    margin: -22px -22px 0 !important;
    padding: 17px 56px 17px 22px !important;
    display: flex !important;
    justify-content: center !important;
    border-radius: 19px 19px 0 0 !important;
    text-align: left !important;
  }
  [data-slot="dialog-title"] {
    font-size: 20px !important;
    line-height: 1.15 !important;
  }
  [data-slot="dialog-description"] {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  [data-slot="dialog-footer"] {
    min-height: 64px !important;
    margin: 2px -22px -22px !important;
    padding: 11px 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 9px !important;
    border-radius: 0 0 19px 19px !important;
  }
  [data-slot="dialog-footer"] button {
    width: auto !important;
    min-width: 120px !important;
    min-height: 42px !important;
    margin: 0 !important;
  }
  .wizard-grid {
    gap: 12px 14px !important;
  }
  .wizard-grid input,.wizard-grid select {
    min-height: 42px !important;
  }
  .contact-wizard,.member-editor-dialog,.billing-dialog,.team-dialog {
    width: min(760px,calc(100vw - 48px)) !important;
    max-width: 760px !important;
  }
  .offer-wizard {
    width: min(820px,calc(100vw - 48px)) !important;
    max-width: 820px !important;
  }
  .template-builder {
    width: min(980px,calc(100vw - 48px)) !important;
    max-width: 980px !important;
  }
  .slot-detail-dialog {
    width: min(620px,calc(100vw - 48px)) !important;
    max-width: 620px !important;
  }
}
@media (min-width: 761px) {
  [data-slot="dialog-content"].slot-detail-dialog {
    width: min(700px, calc(100vw - 48px)) !important;
    max-width: 700px !important;
    max-height: calc(100dvh - 48px) !important;
    padding: 18px !important;
    gap: 14px !important;
    overflow-y: auto !important;
    background: #f6f5ef !important;
    border: 1px solid rgba(39, 43, 37, 0.18) !important;
    border-radius: 20px !important;
  }
  .slot-detail-dialog > [data-slot="dialog-header"] {
    min-height: 78px !important;
    margin: -18px -18px 0 !important;
    padding: 17px 64px 17px 22px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 3px !important;
    background: linear-gradient(135deg, #232720, #30352d) !important;
    border: 0 !important;
    border-radius: 19px 19px 0 0 !important;
    color: #fff !important;
  }
  .slot-detail-dialog [data-slot="dialog-title"] {
    margin: 0 !important;
    color: #fff !important;
    font-size: 24px !important;
    line-height: 1.15 !important;
    font-weight: 760 !important;
  }
  .slot-detail-dialog > [data-slot="dialog-header"] p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
  .slot-detail-dialog > [data-slot="dialog-close"] {
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 999px !important;
  }
  .slot-detail-dialog > [data-slot="dialog-close"] svg {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
  }
  .slot-detail-dialog .attendance-summary {
    margin: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 14px !important;
  }
  .slot-detail-dialog .attendance-summary > div {
    min-height: 72px !important;
    padding: 11px 10px !important;
  }
  .slot-detail-dialog .attendance-summary b {
    font-size: 21px !important;
    line-height: 1 !important;
  }
  .slot-detail-dialog .attendance-summary span {
    margin-top: 5px !important;
    font-size: 12px !important;
  }
  .slot-detail-dialog .add-client-panel {
    margin: 0 !important;
    padding: 12px !important;
    background: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 14px !important;
  }
  .slot-detail-dialog .client-search {
    min-height: 42px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
  }
  .slot-detail-dialog .add-client-panel > div[style] {
    max-height: 172px !important;
  }
  .slot-detail-dialog .add-client-panel .line-item {
    min-height: 54px !important;
    padding: 8px 4px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 14px !important;
  }
  .slot-detail-dialog .add-client-panel .line-item > span {
    min-width: 0 !important;
    display: grid !important;
    gap: 2px !important;
  }
  .slot-detail-dialog .add-client-panel .line-item b,
  .slot-detail-dialog .add-client-panel .line-item small {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .slot-detail-dialog .add-client-panel .line-item b {
    font-size: 14px !important;
  }
  .slot-detail-dialog .add-client-panel .line-item small {
    color: var(--muted) !important;
    font-size: 12px !important;
  }
  .slot-detail-dialog .add-client-panel .line-item button {
    width: auto !important;
    min-width: 102px !important;
    min-height: 38px !important;
    padding: 0 13px !important;
  }
  .slot-detail-dialog .roster {
    margin: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 14px !important;
  }
  .slot-detail-dialog .roster header {
    min-height: 42px !important;
    padding: 0 14px !important;
  }
  .slot-detail-dialog .roster article {
    min-height: 54px !important;
    padding: 8px 14px !important;
  }
  .slot-detail-dialog .roster-empty {
    margin: 0 !important;
    padding: 14px !important;
    color: var(--muted) !important;
    font-size: 13px !important;
    text-align: center !important;
  }
  .slot-detail-dialog .slot-detail-actions {
    min-height: 66px !important;
    margin: 0 -18px -18px !important;
    padding: 12px 18px !important;
    display: grid !important;
    grid-template-columns: auto auto 1fr !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    background: #ebe9e1 !important;
    border-top: 1px solid var(--line) !important;
    border-radius: 0 0 19px 19px !important;
  }
  .slot-detail-dialog .slot-detail-actions button {
    width: auto !important;
    min-height: 42px !important;
    padding: 0 15px !important;
    border-radius: 10px !important;
  }
  .slot-detail-dialog .slot-detail-actions .brand-btn {
    min-width: 164px !important;
    margin-left: 0 !important;
    justify-self: end !important;
  }
}
@media (max-width:760px) {
  [data-slot="dialog-header"] {
    justify-content: center !important;
  }
  .member-editor-dialog [data-slot="dialog-header"] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 48px 0 14px !important;
  }
  .member-editor-dialog [data-slot="dialog-title"] {
    display: block !important;
    margin: 0 !important;
    line-height: 1 !important;
  }
  .member-editor-dialog [data-slot="dialog-close"] {
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    line-height: 0 !important;
  }
  .member-editor-dialog [data-slot="dialog-close"] svg {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 15px !important;
    height: 15px !important;
    margin: 0 !important;
    transform: translate(-50%,-50%) !important;
    translate: none !important;
  }
}
#nl-badge-frame {
  display: none !important;
}
.accounting-dialog {
  max-width: 620px;
}
.accounting-dialog label {
  display: grid;
  gap: 7px;
  margin: 12px 0;
}
.accounting-dialog select {
  min-height: 42px;
  padding: 8px 12px;
  color: inherit;
  background: var(--background, #151918);
  border: 1px solid #53605a;
  border-radius: 8px;
}
.accounting-dialog details {
  padding: 16px;
  border: 1px solid #53605a;
  border-radius: 12px;
}
.accounting-dialog summary {
  cursor: pointer;
  font-weight: 600;
}
.accounting-dialog small {
  opacity: .75;
  line-height: 1.5;
}
.accounting-period-selectors {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.accounting-dialog {
  max-height: 90dvh;
  overflow-y: auto;
}
.fiscal-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.invoice-composer fieldset {
  display: grid;
  gap: 10px;
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 8px;
}
.fiscal-line-editor {
  display: grid;
  grid-template-columns: 2fr .7fr 1fr 1fr auto;
  gap: 8px;
  align-items: end;
}
.invoice-composer {
  max-width: 850px;
}
.fiscal-line-editor label {
  min-width: 0;
}
.fiscal-line-editor input,.fiscal-line-editor select {
  width: 100%;
}
@media (max-width:650px) {
  .fiscal-line-editor {
    grid-template-columns: 1fr 1fr;
  }
  .fiscal-line-editor label:first-child {
    grid-column: 1/-1;
  }
}
.gym-context-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px;
  background: #183f34;
  color: #fff;
}
.gym-context-bar label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gym-context-bar select,.gym-context-bar button,.gym-context-page button {
  font: inherit;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #bacbc3;
  background: white;
  color: #183f34;
}
.gym-context-page {
  max-width: 600px;
  margin: 48px auto;
  padding: 24px;
  text-align: center;
}
.gym-account-rooms {
  display: grid;
  gap: 10px;
  padding: 12px;
  min-width: 220px;
  color: #252923;
}
.gym-account-rooms label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.gym-account-rooms select {
  width: 100%;
  padding: 8px;
  border: 1px solid #d5d8d0;
  border-radius: 8px;
  background: white;
  color: #252923;
}
.gym-account-rooms button {
  padding: 7px;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 12px;
  color: #59664a;
}
.coach-menu-account .gym-account-rooms {
  color: inherit;
}
.member-profile-dialog .member-offers-view {
  padding: 0 !important;
  margin: 24px 0 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #29352e;
}
.member-offers-view .member-offers-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  padding: 0;
  background: transparent;
  color: #29352e;
}
.member-offers-view .member-offers-heading h3 {
  margin: 0 0 5px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
}
.member-offers-view .member-offers-heading p {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #758078;
}
.member-offers-view button[data-slot=button] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: auto !important;
  min-height: 42px !important;
  width: auto !important;
  padding: 10px 15px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 600;
  white-space: normal;
  box-shadow: none;
}
.member-offers-view button[data-variant=outline] {
  background: #fff;
  border: 1px solid #dce4df;
  color: #3c4941;
}
.member-offers-view button[data-variant=outline]:hover {
  background: #f4f8f5;
}
.member-offers-view button:focus-visible {
  outline: 2px solid #2c6651;
  outline-offset: 3px;
}
.member-offers-view .member-feedback {
  margin: 0 0 16px;
  padding: 12px 16px;
  background: #edf5ef;
  border: 1px solid #d8e9de;
  border-radius: 10px;
  color: #2d6650;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}
.member-offers-view .member-offers-list {
  display: grid;
  gap: 14px;
}
.member-offers-view .member-offer-card {
  grid-template-columns: minmax(0,1fr) auto;
  gap: 16px !important;
  margin: 0;
  padding: 20px !important;
  border: 1px solid #dfe6e1 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px #24362c05 !important;
  min-width: 0;
}
.member-offers-view .member-offer-name {
  min-width: 0;
  justify-content: center;
}
.member-offers-view .member-offer-name>b {
  font-size: 17px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.member-offers-view .member-offer-card>.status {
  align-self: start;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
}
.member-offers-view .member-offer-meta {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f7f9f7;
}
.member-offers-view .member-offer-meta>div {
  min-width: 0;
}
.member-offers-view .member-offer-meta dt {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  color: #77847b;
}
.member-offers-view .member-offer-meta dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: #334339;
  overflow-wrap: anywhere;
}
.member-offers-view .member-offer-meta dd span {
  font-weight: 400;
  color: #77847b;
}
.member-offers-view .member-offer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 0;
}
.member-offers-view .member-offer-actions button:last-child {
  width: auto !important;
  padding: 10px 15px !important;
  margin-left: auto;
  border-color: #ecd9d6;
  background: #fff;
  color: #b24b40;
}
.member-offers-view .member-offer-actions button:last-child:hover {
  background: #fcf4f2;
}
.member-offers-view .member-offers-history {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e4eae6;
}
.member-offers-view .member-offers-history h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: #6c786f;
}
.member-offers-view .member-offers-history p,.member-offers-view .member-offers-empty {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #859087;
}
@media (max-width:640px) {
  .member-offers-view .member-offers-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .member-offers-view .member-offer-card {
    padding: 16px !important;
    gap: 12px !important;
  }
  .member-offers-view .member-offer-meta {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }
  .member-offers-view .member-offer-actions {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }
  .member-offers-view .member-offer-actions button {
    width: 100% !important;
    font-size: 12px !important;
    padding: 10px !important;
  }
  .member-offers-view .member-offer-actions button:last-child {
    margin-left: 0;
    width: 100% !important;
    padding: 10px !important;
  }
}
.member-profile-dialog .profile-grid {
  padding: 24px 0 0 !important;
  gap: 16px !important;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  align-items: stretch;
}
.member-profile-dialog .profile-grid>section {
  min-width: 0;
  padding: 20px !important;
  margin: 0 !important;
  border: 1px solid #dfe6e1 !important;
  border-top: 1px solid #dfe6e1 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px #24362c05 !important;
  color: #29352e;
}
.member-profile-dialog .profile-grid h3 {
  font-size: 16px !important;
  line-height: 1.5 !important;
  font-weight: 700;
  margin: 0 0 14px !important;
  color: #29352e;
}
.member-profile-dialog .profile-grid .section-line {
  margin: 0 0 16px !important;
  padding: 0 !important;
  background: transparent !important;
  display: flex;
  align-items: center;
  gap: 12px;
}
.member-profile-dialog .profile-grid .section-line h3 {
  margin: 0 !important;
}
.member-profile-dialog .profile-grid p {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5px;
  margin: 0 !important;
  padding: 14px 0 !important;
  border: 0;
  border-top: 1px solid #edf1ee;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #6c7b71;
  overflow-wrap: anywhere;
}
.member-profile-dialog .profile-grid p>span {
  font-size: 12px !important;
  line-height: 1.5;
  color: #7a867e;
  font-weight: 500;
}
.member-profile-dialog .profile-grid p>b {
  font-size: 14px !important;
  line-height: 1.6;
  font-weight: 600;
  color: #33463a;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.member-profile-dialog .profile-grid button[data-slot=button] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto !important;
  height: auto !important;
  min-height: 42px !important;
  padding: 10px 15px !important;
  border: 1px solid #dce4df;
  border-radius: 10px !important;
  background: #fff;
  color: #3c4941;
  box-shadow: none;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 600;
  white-space: normal;
}
.member-profile-dialog .profile-grid button[data-slot=button]:hover {
  background: #f4f8f5;
}
.member-profile-dialog .profile-grid button:focus-visible {
  outline: 2px solid #2c6651;
  outline-offset: 3px;
}
.member-profile-dialog .profile-grid .member-deletion-request {
  grid-column: 1/-1;
  grid-row: auto;
  background: #fff8f5 !important;
  border-color: #f0ded7 !important;
}
@media (max-width:640px) {
  .member-profile-dialog .profile-grid {
    grid-template-columns: minmax(0,1fr) !important;
    padding: 18px 0 0 !important;
    gap: 12px !important;
  }
  .member-profile-dialog .profile-grid>section {
    padding: 16px !important;
    grid-row: auto !important;
  }
  .member-profile-dialog .profile-grid h3 {
    font-size: 15px !important;
  }
}
.member-profile-dialog .member-tab-view {
  min-width: 0;
  padding: 22px !important;
  margin: 24px 0 0 !important;
  border: 1px solid #dfe6e1 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px #24362c05 !important;
  color: #29352e;
}
.member-tab-view .member-tab-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 20px;
  padding: 0;
  background: transparent;
  color: #29352e;
}
.member-tab-view .member-tab-heading>div {
  min-width: 0;
  flex: 1 1 240px;
}
.member-tab-view .member-tab-heading h3 {
  margin: 0 0 5px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  color: #29352e;
}
.member-tab-view .member-tab-heading p,.member-tab-view .member-tab-heading small {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  color: #758078;
  font-size: 13px;
  line-height: 1.6;
}
.member-tab-view button[data-slot=button] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: auto !important;
  min-height: 42px !important;
  width: auto !important;
  padding: 10px 15px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 600;
  white-space: normal;
  box-shadow: none;
}
.member-tab-view button[data-variant=outline] {
  background: #fff;
  border: 1px solid #dce4df;
  color: #3c4941;
}
.member-tab-view button[data-variant=outline]:hover {
  background: #f4f8f5;
}
.member-tab-view button:focus-visible,.member-tab-view select:focus-visible,.member-tab-view textarea:focus-visible {
  outline: 2px solid #2c6651;
  outline-offset: 3px;
}
.member-tab-view .member-feedback,.member-tab-view p[role=status] {
  margin: 14px 0 0;
  padding: 12px 16px;
  border: 1px solid #d8e9de;
  border-radius: 10px;
  background: #edf5ef;
  color: #2d6650;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
}
.member-tab-view .member-tab-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 32px 20px;
  background: #f7f9f7;
  border: 1px dashed #dfe6e1;
  border-radius: 12px;
  text-align: center;
  color: #78867c;
  font-size: 14px;
  line-height: 1.6;
}
.member-tab-view .member-tab-empty b {
  font-size: 15px;
  color: #56685b;
  font-weight: 600;
}
.member-tab-view .member-tab-empty p {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #829086;
}
.member-notes-view textarea {
  display: block;
  width: 100%;
  min-height: 170px !important;
  resize: vertical;
  padding: 16px !important;
  border: 1px solid #dce4df !important;
  border-radius: 10px !important;
  background: #fafcfb !important;
  color: #33463a;
  font-size: 15px !important;
  line-height: 1.7 !important;
}
.member-notes-view textarea::placeholder {
  color: #8a978e;
}
.member-notes-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.member-notes-footer small {
  font-size: 12px;
  color: #819087;
}
.member-reservations-view .member-tab-heading select {
  min-height: 42px;
  padding: 10px 36px 10px 14px;
  border: 1px solid #dce4df;
  border-radius: 10px;
  background: #fff;
  color: #435248;
  font-size: 13px;
  line-height: 1.4;
}
.member-reservations-view .member-reservations-table {
  width: 100%;
  overflow: auto;
  border: 1px solid #e0e7e2;
  border-radius: 10px;
}
.member-reservations-view table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.member-reservations-view thead {
  background: #f5f8f6 !important;
  color: #718077 !important;
}
.member-reservations-view th {
  padding: 13px 16px !important;
  background: #f5f8f6 !important;
  color: #718077 !important;
  font-size: 12px !important;
  font-weight: 600;
  text-align: left;
}
.member-reservations-view td {
  padding: 15px 16px !important;
  border-bottom: 1px solid #edf1ee;
  color: #33463a;
  font-size: 14px !important;
  line-height: 1.5;
}
.member-reservations-view tbody tr:last-child td {
  border-bottom: 0;
}
.member-reservations-view tbody tr:hover {
  background: #f9fbfa;
}
.member-reservations-view .status {
  font-size: 12px;
  border-radius: 20px;
  padding: 5px 10px;
}
.member-profile-dialog .member-billing {
  display: grid;
  gap: 18px;
}
.member-billing .member-tab-heading {
  margin-bottom: 0;
}
.member-billing .billing-section-title {
  padding: 14px 16px;
  border-radius: 10px;
  background: #f5f8f6;
  color: #34473b;
}
.member-billing .billing-section-title>div {
  gap: 4px;
}
.member-billing .billing-section-title b {
  font-size: 15px;
  font-weight: 600;
}
.member-billing .billing-section-title small {
  font-size: 12px;
  color: #7a897f;
}
.member-billing .billing-section-title>span {
  width: 28px;
  min-width: 28px;
  height: 28px;
  font-size: 13px;
  background: #e8f0eb;
  color: #3e6650;
}
.member-billing .billing-list {
  gap: 12px;
}
.member-billing .billing-list article {
  grid-template-columns: 68px minmax(0,1fr) auto auto;
  gap: 14px;
  padding: 18px !important;
  border: 1px solid #dfe6e1 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none;
}
.member-billing .billing-date {
  align-self: start;
  justify-items: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: 10px;
  background: #f4f8f5;
}
.member-billing .billing-date b {
  font-size: 14px;
  line-height: 1.5;
  color: #41634d;
}
.member-billing .billing-date small {
  font-size: 12px;
  color: #849187;
}
.member-billing .billing-main {
  min-width: 0;
  gap: 5px;
}
.member-billing .billing-main>b {
  font-size: 14px;
  line-height: 1.6;
  color: #33463a;
  overflow-wrap: anywhere;
}
.member-billing .billing-main small,.member-billing .billing-total small {
  font-size: 12px;
  line-height: 1.6;
  color: #7b897f;
}
.member-billing .billing-list article>strong,.member-billing .billing-total strong {
  font-size: 17px;
  line-height: 1.5;
  color: #2f4b39;
  white-space: nowrap;
}
.member-billing .billing-actions {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #edf1ee;
}
.member-billing .billing-list .status {
  font-size: 12px;
  border-radius: 20px;
  padding: 5px 10px;
}
.member-billing .empty-row {
  padding: 20px;
  border: 1px dashed #dfe6e1;
  border-radius: 10px;
  background: #fafcfb;
  text-align: center;
  color: #839087;
  font-size: 13px;
}
.member-billing .danger-outline {
  border-color: #ecd9d6 !important;
  color: #b24b40 !important;
}
@media (max-width:640px) {
  .member-profile-dialog .member-tab-view {
    padding: 16px !important;
    margin-top: 18px !important;
  }
  .member-tab-view .member-tab-heading {
    gap: 12px;
  }
  .member-tab-view .member-tab-heading select {
    width: 100%;
  }
  .member-notes-footer button {
    width: 100% !important;
  }
  .member-reservations-view table {
    min-width: 600px;
  }
  .member-billing .billing-list article {
    grid-template-columns: 58px minmax(0,1fr) auto;
    padding: 14px !important;
    gap: 10px;
  }
  .member-billing .billing-list article>.status {
    grid-column: 2/-1;
    justify-self: start;
  }
  .member-billing .billing-actions {
    justify-content: flex-start;
  }
  .member-billing .billing-actions button {
    flex: 1 1 140px;
  }
  .member-billing .billing-total strong {
    font-size: 15px;
  }
  .member-tab-view .member-tab-empty {
    padding: 26px 16px;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    :root, :host {
      --shimmer-angle: 20deg;
    }
    *, ::before, ::after, ::backdrop {
      --tw-animation-delay: 0s;
      --tw-animation-direction: normal;
      --tw-animation-duration: initial;
      --tw-animation-fill-mode: none;
      --tw-animation-iteration-count: 1;
      --tw-enter-blur: 0;
      --tw-enter-opacity: 1;
      --tw-enter-rotate: 0;
      --tw-enter-scale: 1;
      --tw-enter-translate-x: 0;
      --tw-enter-translate-y: 0;
      --tw-exit-blur: 0;
      --tw-exit-opacity: 1;
      --tw-exit-rotate: 0;
      --tw-exit-scale: 1;
      --tw-exit-translate-x: 0;
      --tw-exit-translate-y: 0;
      --scroll-fade-t: 0px;
      --scroll-fade-b: 0px;
      --scroll-fade-s: 0px;
      --scroll-fade-e: 0px;
      --scroll-fade-mask: initial;
      --shimmer-image: initial;
      --shimmer-text-fill: initial;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
    }
  }
}

