/*
! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

[type='text'],[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0px;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 0 #0000;
}

[type='text']:focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  border-color: #2563eb;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  color: #6b7280;
  opacity: 1;
}

input::placeholder,textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

::-webkit-date-and-time-value {
  min-height: 1.5em;
}

::-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-top: 0;
  padding-bottom: 0;
}

select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
}

[multiple] {
  background-image: initial;
  background-position: initial;
  background-repeat: unset;
  background-size: initial;
  padding-right: 0.75rem;
  -webkit-print-color-adjust: unset;
          print-color-adjust: unset;
}

[type='checkbox'],[type='radio'] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
  display: inline-block;
  vertical-align: middle;
  background-origin: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
  height: 1rem;
  width: 1rem;
  color: #2563eb;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  --tw-shadow: 0 0 #0000;
}

[type='checkbox'] {
  border-radius: 0px;
}

[type='radio'] {
  border-radius: 100%;
}

[type='checkbox']:focus,[type='radio']:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}

[type='checkbox']:checked,[type='radio']:checked {
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

[type='checkbox']:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

[type='radio']:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus {
  border-color: transparent;
  background-color: currentColor;
}

[type='checkbox']:indeterminate {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus {
  border-color: transparent;
  background-color: currentColor;
}

[type='file'] {
  background: unset;
  border-color: inherit;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-size: unset;
  line-height: inherit;
}

[type='file']:focus {
  outline: 1px solid ButtonText;
  outline: 1px auto -webkit-focus-ring-color;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.hero-arrow-left-solid {
  --hero-arrow-left-solid: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon">  <path fill-rule="evenodd" d="M11.03 3.97a.75.75 0 0 1 0 1.06l-6.22 6.22H21a.75.75 0 0 1 0 1.5H4.81l6.22 6.22a.75.75 0 1 1-1.06 1.06l-7.5-7.5a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 0 1 1.06 0Z" clip-rule="evenodd"/></svg>');
  -webkit-mask: var(--hero-arrow-left-solid);
  mask: var(--hero-arrow-left-solid);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  background-color: currentColor;
  vertical-align: middle;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
}

.hero-arrow-path {
  --hero-arrow-path: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">  <path stroke-linecap="round" stroke-linejoin="round" d="M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"/></svg>');
  -webkit-mask: var(--hero-arrow-path);
  mask: var(--hero-arrow-path);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  background-color: currentColor;
  vertical-align: middle;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
}

.hero-exclamation-circle-mini {
  --hero-exclamation-circle-mini: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">  <path fill-rule="evenodd" d="M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-8-5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5A.75.75 0 0 1 10 5Zm0 10a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" clip-rule="evenodd"/></svg>');
  -webkit-mask: var(--hero-exclamation-circle-mini);
  mask: var(--hero-exclamation-circle-mini);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  background-color: currentColor;
  vertical-align: middle;
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
}

.hero-information-circle-mini {
  --hero-information-circle-mini: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">  <path fill-rule="evenodd" d="M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-7-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9 9a.75.75 0 0 0 0 1.5h.253a.25.25 0 0 1 .244.304l-.459 2.066A1.75 1.75 0 0 0 10.747 15H11a.75.75 0 0 0 0-1.5h-.253a.25.25 0 0 1-.244-.304l.459-2.066A1.75 1.75 0 0 0 9.253 9H9Z" clip-rule="evenodd"/></svg>');
  -webkit-mask: var(--hero-information-circle-mini);
  mask: var(--hero-information-circle-mini);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  background-color: currentColor;
  vertical-align: middle;
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
}

.hero-x-mark-solid {
  --hero-x-mark-solid: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon">  <path fill-rule="evenodd" d="M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd"/></svg>');
  -webkit-mask: var(--hero-x-mark-solid);
  mask: var(--hero-x-mark-solid);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  background-color: currentColor;
  vertical-align: middle;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.-inset-y-px {
  top: -1px;
  bottom: -1px;
}

.-left-4 {
  left: -1rem;
}

.-right-4 {
  right: -1rem;
}

.left-0 {
  left: 0px;
}

.right-0 {
  right: 0px;
}

.right-1 {
  right: 0.25rem;
}

.right-2 {
  right: 0.5rem;
}

.right-5 {
  right: 1.25rem;
}

.top-1 {
  top: 0.25rem;
}

.top-6 {
  top: 1.5rem;
}

.z-50 {
  z-index: 50;
}

.-m-3 {
  margin: -0.75rem;
}

.-my-4 {
  margin-top: -1rem;
  margin-bottom: -1rem;
}

.me-2 {
  margin-inline-end: 0.5rem;
}

.ms-1 {
  margin-inline-start: 0.25rem;
}

.ms-2 {
  margin-inline-start: 0.5rem;
}

.ms-4 {
  margin-inline-start: 1rem;
}

.mt-0 {
  margin-top: 0px;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-11 {
  margin-top: 2.75rem;
}

.mt-14 {
  margin-top: 3.5rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.h-3 {
  height: 0.75rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.min-h-\[6rem\] {
  min-height: 6rem;
}

.min-h-full {
  min-height: 100%;
}

.w-1\/4 {
  width: 25%;
}

.w-14 {
  width: 3.5rem;
}

.w-3 {
  width: 0.75rem;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-\[40rem\] {
  width: 40rem;
}

.w-full {
  width: 100%;
}

.max-w-3xl {
  max-width: 48rem;
}

.flex-none {
  flex: none;
}

.shrink {
  flex-shrink: 1;
}

.translate-y-0 {
  --tw-translate-y: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-y-4 {
  --tw-translate-y: 1rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}

.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}

.divide-zinc-100 > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(244 244 245 / var(--tw-divide-opacity));
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-y-auto {
  overflow-y: auto;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.border {
  border-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity));
}

.border-rose-400 {
  --tw-border-opacity: 1;
  border-color: rgb(251 113 133 / var(--tw-border-opacity));
}

.border-zinc-200 {
  --tw-border-opacity: 1;
  border-color: rgb(228 228 231 / var(--tw-border-opacity));
}

.border-zinc-300 {
  --tw-border-opacity: 1;
  border-color: rgb(212 212 216 / var(--tw-border-opacity));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-zinc-50\/90 {
  background-color: rgb(250 250 250 / 0.9);
}

.bg-zinc-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(24 24 27 / var(--tw-bg-opacity));
}

.p-0 {
  padding: 0px;
}

.p-14 {
  padding: 3.5rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pe-6 {
  padding-inline-end: 1.5rem;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.font-medium {
  font-weight: 500;
}

.font-normal {
  font-weight: 400;
}

.font-semibold {
  font-weight: 600;
}

.lowercase {
  text-transform: lowercase;
}

.capitalize {
  text-transform: capitalize;
}

.leading-5 {
  line-height: 1.25rem;
}

.leading-6 {
  line-height: 1.5rem;
}

.leading-8 {
  line-height: 2rem;
}

.text-rose-600 {
  --tw-text-opacity: 1;
  color: rgb(225 29 72 / var(--tw-text-opacity));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.text-zinc-500 {
  --tw-text-opacity: 1;
  color: rgb(113 113 122 / var(--tw-text-opacity));
}

.text-zinc-600 {
  --tw-text-opacity: 1;
  color: rgb(82 82 91 / var(--tw-text-opacity));
}

.text-zinc-700 {
  --tw-text-opacity: 1;
  color: rgb(63 63 70 / var(--tw-text-opacity));
}

.text-zinc-800 {
  --tw-text-opacity: 1;
  color: rgb(39 39 42 / var(--tw-text-opacity));
}

.text-zinc-900 {
  --tw-text-opacity: 1;
  color: rgb(24 24 27 / var(--tw-text-opacity));
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.opacity-20 {
  opacity: 0.2;
}

.opacity-40 {
  opacity: 0.4;
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-zinc-700\/10 {
  --tw-shadow-color: rgb(63 63 70 / 0.1);
  --tw-shadow: var(--tw-shadow-colored);
}

.outline {
  outline-style: solid;
}

.ring-1 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-zinc-700\/10 {
  --tw-ring-color: rgb(63 63 70 / 0.1);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

/*
  Modulanta interface. See docs/DESIGN-SYSTEM.md.

  Semantic classes rather than utilities in the markup, for one reason: it
  forces logical properties. A physical ml-4 scattered through templates
  puts the sidebar on the wrong side in Arabic. Here direction is handled
  once, and everything below mirrors on its own.
*/

/* Readex Pro, self-hosted: one variable file per script, weights 160-700.
   No Google Fonts call, because on a slow Lebanese connection a third
   party font request is the thing that holds up the first paint. */

@font-face {
  font-family: "Readex Pro";

  font-style: normal;

  font-display: swap;

  font-weight: 160 700;

  src: url("/fonts/readex-arabic-85c5e729cc7cb787038e28658dc693ff.woff2?vsn=d") format("woff2-variations"), url("/fonts/readex-arabic-85c5e729cc7cb787038e28658dc693ff.woff2?vsn=d") format("woff2");

  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E,
    U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "Readex Pro";

  font-style: normal;

  font-display: swap;

  font-weight: 160 700;

  src: url("/fonts/readex-latin-ext-fb3e3a8575fce492f1ee5301e01a1b21.woff2?vsn=d") format("woff2-variations"), url("/fonts/readex-latin-ext-fb3e3a8575fce492f1ee5301e01a1b21.woff2?vsn=d") format("woff2");

  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Readex Pro";

  font-style: normal;

  font-display: swap;

  font-weight: 160 700;

  src: url("/fonts/readex-latin-6a3fa68dae1ec51f69b14ac4bf649df4.woff2?vsn=d") format("woff2-variations"), url("/fonts/readex-latin-6a3fa68dae1ec51f69b14ac4bf649df4.woff2?vsn=d") format("woff2");

  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------ */

/* Tokens                                                              */

/* ------------------------------------------------------------------ */

:root {
  --bg: #F4F5F7;
  --card: #FFFFFF;
  --border: #E6E8EC;
  --divider: #F1F2F5;
  --ink: #0B1220;
  --ink-2: #3A4352;
  --muted: #5B6474;
  --accent: #0F766E;
  --accent-hover: #115E59;
  --accent-soft: rgba(15, 118, 110, .10);
  --dark: #0B1220;
  --dark-action: #14B8A6;
  --now: #EA580C;
  --ok: #166534;
  --ok-bg: #DCFCE7;
  --info: #075985;
  --info-bg: #E0F2FE;
  --warn: #92400E;
  --warn-bg: #FEF3C7;
  --bad: #B91C1C;
  --bad-bg: #FEE2E2;
  --neutral: #3A4352;
  --neutral-bg: #F1F2F5;
  /* Staff colours: strong for bars and dots, soft for tints. */
  --violet: #7C3AED;
  --violet-soft: #EDE9FE;
  --sky: #0284C7;
  --sky-soft: #E0F2FE;
  --pink: #DB2777;
  --pink-soft: #FCE7F3;
  --amber: #D97706;
  --amber-soft: #FEF3C7;
  --emerald: #059669;
  --emerald-soft: #D1FAE5;
  --indigo: #4F46E5;
  --indigo-soft: #E0E7FF;
  --r-card: 16px;
  --r-ctl: 12px;
  --tap: 44px;
  --font: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  /* The names the older screens still use, pointed at the new palette. */
  --paper: var(--bg);
  --surface: var(--card);
  --rule: var(--border);
  --rule-soft: var(--divider);
  --hover: #F8F9FB;
  --accent-line: rgba(15, 118, 110, .28);
  --red: var(--bad);
  --red-soft: var(--bad-bg);
  --red-line: #FECACA;
  --green: var(--ok);
  --green-soft: var(--ok-bg);
  --green-line: #BBF7D0;
  --amber-line: #FDE68A;
}

html, body {
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

/* Connected script sits taller, and tracking breaks the joins. */

html[dir="rtl"] body {
  line-height: 1.8;
}

html[dir="rtl"] :is(h1, h2, h3, h4, .page-title, .kpi-value, .section-title, .bk-salon, .site-name) {
  letter-spacing: 0;
}

.num, .amt, .time, time, [data-num] {
  font-variant-numeric: tabular-nums;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

.sr-only {
  position: absolute !important;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ico {
  inline-size: 20px;
  block-size: 20px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[dir="rtl"] .ico-flip {
  transform: scaleX(-1);
}

/* ------------------------------------------------------------------ */

/* Type                                                                */

/* ------------------------------------------------------------------ */

.page-title, .day h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0;
}

.section-title, .ledger-head h2, .panel-head {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.small, .muted {
  font-size: 13px;
  color: var(--muted);
}

.lede {
  font-size: 15px;
  color: var(--ink-2);
  margin-top: 4px;
}

.lede .quiet, .quiet {
  color: var(--muted);
}

.lede .owed {
  color: var(--warn);
  font-weight: 500;
}

.eyebrow {
  font-size: 13px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ */

/* Buttons and inputs                                                  */

/* ------------------------------------------------------------------ */

.btn, .btn-quiet, .btn-ghost, .btn-dark-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-block-size: var(--tap);
  padding: 0 18px;
  border-radius: var(--r-ctl);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn {
  background: var(--accent);
  color: #fff;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn-quiet, .btn.btn-quiet {
  background: var(--card);
  color: var(--ink);
  border-color: var(--border);
}

.btn-quiet:hover, .btn.btn-quiet:hover {
  background: var(--hover);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
}

.btn-ghost:hover {
  background: var(--accent-soft);
}

.btn-dark-action {
  background: var(--dark-action);
  color: var(--dark);
  font-weight: 600;
}

.btn-dark-action:hover {
  filter: brightness(1.06);
}

.btn-wide {
  inline-size: 100%;
}

.btn[disabled], .btn-quiet[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  inline-size: var(--tap);
  block-size: var(--tap);
  border-radius: var(--r-ctl);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink-2);
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.icon-btn:hover {
  background: var(--hover);
}

.icon-btn .dot {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--bad);
  border: 2px solid var(--card);
}

.linkish {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  min-block-size: var(--tap);
  display: inline-flex;
  align-items: center;
}

.linkish:hover {
  text-decoration: underline;
}

.field {
  margin-block-end: 16px;
  min-inline-size: 0;
}

.field label, .field legend {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  margin-block-end: 6px;
}

.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea,
.formgrid select, .input {
  inline-size: 100%;
  min-block-size: var(--tap);
  padding: 10px 14px;
  font: inherit;
  font-size: 15px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--r-ctl);
}

.field textarea {
  min-block-size: 96px;
}

.field input:focus, .field select:focus, .field textarea:focus, .input:focus,
.formgrid select:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent-soft);
  outline-offset: 0;
}

.field .help {
  font-size: 13px;
  color: var(--muted);
  margin-block-start: 6px;
}

.field fieldset, fieldset.field {
  border: 0;
  padding: 0;
  margin-inline: 0;
}

input[type=checkbox], input[type=radio] {
  accent-color: var(--accent);
  inline-size: 18px;
  block-size: 18px;
}

.err, .notice-error {
  color: var(--bad);
  background: var(--bad-bg);
  border-radius: var(--r-ctl);
  padding: 10px 14px;
  font-size: 14px;
  margin-block-end: 16px;
}

.notice {
  padding: 10px 14px;
  border-radius: var(--r-ctl);
  font-size: 14px;
  margin-block-end: 16px;
}

.notice-info {
  background: var(--info-bg);
  color: var(--info);
}

/* ------------------------------------------------------------------ */

/* Components                                                          */

/* ------------------------------------------------------------------ */

/* Card. Borders, not shadows: a shadow is mud on a cheap screen in sunlight. */

.card, .ledger, .panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 18px 20px;
  margin: 0;
}

.card + .card {
  margin-block-start: 16px;
}

.ledger, .panel {
  margin-block-end: 16px;
}

.card-head, .ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block-end: 10px;
  min-block-size: 32px;
}

.card-head a, .ledger-head a {
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.card-head a:hover, .ledger-head a:hover {
  text-decoration: underline;
}

.panel-head {
  margin-block-end: 14px;
}

.card-flush {
  padding: 0;
  overflow: hidden;
}

.card-flush > .card-head {
  padding: 16px 20px 0;
}

/* KPI card */

.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-block-end: 20px;
}

.kpi {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-inline-size: 0;
}

.kpi-label {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.kpi-value {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.kpi-value small {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}

.kpi-foot {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-block-size: 24px;
}

.delta {
  font-size: 12.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.delta.up {
  color: var(--ok);
}

.delta.down {
  color: var(--bad);
}

.spark {
  inline-size: 100%;
  block-size: 34px;
  display: block;
}

.spark path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.spark .area {
  fill: var(--accent-soft);
  stroke: none;
}

.meter {
  block-size: 6px;
  border-radius: 999px;
  background: var(--divider);
  overflow: hidden;
  inline-size: 100%;
}

.meter > span {
  display: block;
  block-size: 100%;
  border-radius: 999px;
  background: var(--accent);
}

/* Pills: status. Chips: filters and choices. Both fully round. */

.pill, .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  flex: 0 0 auto;
  background: var(--neutral-bg);
  color: var(--neutral);
  border: 0;
}

.pill-success, .tag.ok, .tag.bk-deal {
  background: var(--ok-bg);
  color: var(--ok);
}

.pill-info, .tag.now {
  background: var(--info-bg);
  color: var(--info);
}

.pill-warning, .tag.warn, .tag.addon {
  background: var(--warn-bg);
  color: var(--warn);
}

.pill-danger, .tag.due, .tag.late {
  background: var(--bad-bg);
  color: var(--bad);
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-block-end: 2px;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink-2);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.chip:hover {
  background: var(--hover);
}

.chip .count {
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.chip.is-on, .chip[aria-pressed="true"], .chip[aria-current] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.chip.is-on .count, .chip[aria-current] .count {
  color: rgba(255,255,255,.7);
}

/* Segmented control */

.seg {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  background: var(--divider);
  border-radius: var(--r-ctl);
  border: 1px solid var(--border);
  max-inline-size: 100%;
  overflow-x: auto;
}

.seg > a, .seg > button, .seg > label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 36px;
  padding: 0 14px;
  border-radius: 9px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.seg > .is-on, .seg > [aria-current], .seg > a.is-on {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--border);
}

/* Avatar: initials on a tinted circle. --c and --c-soft come from the
   staff colour, or default to the accent. */

.avatar {
  --c: var(--accent);
  --c-soft: var(--accent-soft);
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  inline-size: 36px;
  block-size: 36px;
  border-radius: 50%;
  background: var(--c-soft);
  color: var(--c);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.avatar-sm {
  inline-size: 28px;
  block-size: 28px;
  font-size: 11.5px;
}

.avatar-lg {
  inline-size: 56px;
  block-size: 56px;
  font-size: 19px;
}

.avatar-xl {
  inline-size: 72px;
  block-size: 72px;
  font-size: 24px;
}

.avatars {
  display: inline-flex;
}

.avatars .avatar {
  box-shadow: 0 0 0 2px var(--card);
}

.avatars .avatar + .avatar {
  margin-inline-start: -8px;
}

.dot {
  display: inline-block;
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--c, var(--accent));
  flex: 0 0 auto;
}

.c-violet {
  --c: var(--violet);
  --c-soft: var(--violet-soft);
}

.c-sky {
  --c: var(--sky);
  --c-soft: var(--sky-soft);
}

.c-pink {
  --c: var(--pink);
  --c-soft: var(--pink-soft);
}

.c-amber {
  --c: var(--amber);
  --c-soft: var(--amber-soft);
}

.c-emerald {
  --c: var(--emerald);
  --c-soft: var(--emerald-soft);
}

.c-indigo {
  --c: var(--indigo);
  --c-soft: var(--indigo-soft);
}

/* List row. The old ledger row is the same thing. */

.row, .list-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-block-size: 56px;
  padding: 10px 4px;
  border-block-start: 1px solid var(--divider);
  color: inherit;
  text-decoration: none;
}

.ledger > .row:first-of-type, .card > .list-row:first-of-type, .ledger-head + .row, .card-head + .list-row {
  border-block-start: 0;
}

a.row:hover, a.list-row:hover {
  background: var(--hover);
}

.row .time {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  inline-size: 48px;
  flex: 0 0 48px;
}

.row .ref {
  font-size: 13px;
  color: var(--muted);
  inline-size: 92px;
  flex: 0 0 92px;
  text-decoration: none;
}

.row .name, .list-row .main {
  flex: 1;
  min-inline-size: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-row .main {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.list-row .main b {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-row .main span {
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
}

.row .what {
  color: var(--muted);
  font-size: 13.5px;
  flex: 0 0 auto;
}

.row .amt, .list-row .amt {
  font-size: 14.5px;
  font-weight: 500;
  text-align: end;
  flex: 0 0 auto;
  min-inline-size: 80px;
}

.rowacts {
  display: flex;
  gap: 14px;
  flex: 0 0 auto;
  align-items: center;
}

.row .ref.overdue-ref {
  color: var(--bad);
  font-weight: 500;
}

.ledger-count {
  color: var(--muted);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

.detail-value {
  flex: 1;
  text-align: end;
}

/* Table: desktop. Under 768px each row becomes a card. */

.table {
  inline-size: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.table th {
  text-align: start;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 12px 16px;
  border-block-end: 1px solid var(--border);
  white-space: nowrap;
}

.table td {
  padding: 12px 16px;
  border-block-end: 1px solid var(--divider);
  vertical-align: middle;
}

.table tr:last-child td {
  border-block-end: 0;
}

.table tbody tr:hover {
  background: var(--hover);
}

.table tbody tr[data-href] {
  cursor: pointer;
}

.table .who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-inline-size: 0;
}

.table .who b {
  font-weight: 500;
  display: block;
}

.table .who span {
  font-size: 13px;
  color: var(--muted);
}

.table .num {
  text-align: end;
}

/* Side panel on desktop; full screen on a phone. */

.side-panel {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  z-index: 40;
  inline-size: min(420px, 100vw);
  background: var(--card);
  border-inline-start: 1px solid var(--border);
  overflow-y: auto;
  padding: 20px;
}

.side-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: 12px;
}

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, .35);
  z-index: 39;
}

/* Bottom sheet */

.sheet {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 60;
  background: var(--card);
  border-radius: 20px 20px 0 0;
  padding: 10px 16px calc(20px + env(safe-area-inset-bottom));
  max-block-size: 80vh;
  overflow-y: auto;
  border-block-start: 1px solid var(--border);
}

.sheet::before {
  content: "";
  display: block;
  inline-size: 40px;
  block-size: 4px;
  border-radius: 999px;
  background: var(--border);
  margin: 0 auto 12px;
}

.sheet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sheet-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 6px;
  border-radius: var(--r-ctl);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 13px;
  text-align: center;
}

.sheet-grid a:hover {
  background: var(--hover);
}

.sheet-grid .ico {
  inline-size: 24px;
  block-size: 24px;
  color: var(--accent);
}

/* Empty state: says what to do next. */

.empty {
  padding: 32px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.empty b {
  font-weight: 500;
}

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

/* The dark highlight card: what is happening next. */

.highlight {
  background: var(--dark);
  color: #E6E9EF;
  border-radius: var(--r-card);
  padding: 20px;
  border: 0;
}

.highlight .eyebrow {
  color: #94A3B8;
}

.highlight h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 4px 0 2px;
}

.highlight .meta {
  color: #CBD5E1;
  font-size: 14px;
}

.highlight .pill {
  background: rgba(255,255,255,.1);
  color: #E2E8F0;
}

.highlight .pill-danger {
  background: rgba(254, 226, 226, .16);
  color: #FECACA;
}

.highlight .actions {
  display: flex;
  gap: 8px;
  margin-block-start: 16px;
  flex-wrap: wrap;
}

.highlight .btn-quiet {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.2);
}

.highlight .btn-quiet:hover {
  background: rgba(255,255,255,.06);
}

.stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-block-start: 12px;
}

.stats div {
  display: flex;
  flex-direction: column;
}

.stats b {
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.stats span {
  font-size: 12.5px;
  color: var(--muted);
}

.highlight .stats span {
  color: #94A3B8;
}

.highlight .stats b {
  color: #fff;
}

/* ------------------------------------------------------------------ */

/* Older building blocks, in the new look                              */

/* ------------------------------------------------------------------ */

.day {
  margin-block-end: 20px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
  margin-block-end: 20px;
}

.page-head .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.search, .top-search {
  position: relative;
  margin-block-end: 4px;
}

.search input, .top-search input {
  inline-size: 100%;
  min-block-size: var(--tap);
  padding: 10px 14px;
  padding-inline-start: 42px;
  font: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-ctl);
  color: var(--ink);
}

.search .ico, .top-search .ico {
  position: absolute;
  inset-inline-start: 13px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search input::-moz-placeholder, .top-search input::-moz-placeholder {
  color: var(--muted);
}

.search input::placeholder, .top-search input::placeholder {
  color: var(--muted);
}

.search input:focus, .top-search input:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent-soft);
}

.search-note {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 2px 0;
}

.search-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 2px 14px;
}

.search-row .search-note {
  padding: 0;
}

.daynav {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  flex-wrap: wrap;
  align-items: center;
}

.daynav-step {
  min-block-size: 40px;
  padding: 0 14px;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.daynav-step.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.formgrid {
  display: grid;
  gap: 0 16px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.formgrid .field {
  margin-block-end: 14px;
}

.field-narrow {
  max-inline-size: 220px;
}

.field-action {
  display: flex;
  align-items: end;
}

.checkline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin: 4px 0 16px;
  min-block-size: var(--tap);
}

.chart {
  padding: 14px 4px 0;
}

.chart svg {
  inline-size: 100%;
  block-size: 150px;
  display: block;
}

.chart-base {
  stroke: var(--border);
  stroke-width: 1;
}

.chart-bar {
  fill: var(--accent);
  opacity: .85;
}

.chart-bar:hover {
  opacity: 1;
}

.chart-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
  padding: 6px 2px 2px;
  font-variant-numeric: tabular-nums;
}

/* Settings: tabs become chips; each question a row of choices. */

.tabs {
  display: flex;
  gap: 8px;
  margin-block-end: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block-end: 2px;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs a {
  display: inline-flex;
  align-items: center;
  min-block-size: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.tabs a:hover {
  background: var(--hover);
}

.tabs a.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.rule {
  display: grid;
  grid-template-columns: minmax(0, 17rem) 1fr;
  gap: 8px 28px;
  padding: 16px 4px;
  border-block-start: 1px solid var(--divider);
  align-items: start;
}

.ledger-head + .rule, .card-head + .rule {
  border-block-start: 0;
}

.rule-q b {
  display: block;
  font-weight: 500;
  font-size: 15px;
}

.rule-q span {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  margin-block-start: 3px;
  line-height: 1.5;
}

.rule-off {
  opacity: .55;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
  inline-size: 100%;
  block-size: 100%;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-block-size: 40px;
  padding: 0 14px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  cursor: pointer;
}

.choice input:checked + span {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
  font-weight: 500;
}

.choice input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.choice input:disabled + span {
  color: var(--muted);
  background: transparent;
  cursor: not-allowed;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.checks label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 14.5px;
  min-block-size: var(--tap);
}

/* Toasts, on the reading-end corner in both directions. */

.toast {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  z-index: 70;
  inline-size: min(360px, calc(100vw - 24px));
  border-radius: var(--r-ctl);
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid var(--border);
  background: var(--card);
}

.toast-info {
  background: var(--info-bg);
  border-color: #BAE6FD;
  color: var(--info);
}

.toast-error {
  background: var(--bad-bg);
  border-color: #FECACA;
  color: var(--bad);
}

/* ------------------------------------------------------------------ */

/* Sign in, forgot password, PIN: light, centred                       */

/* ------------------------------------------------------------------ */

.signin, .cn-login {
  min-block-size: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--bg);
}

.signin-box {
  inline-size: 100%;
  max-inline-size: 400px;
}

.signin-brand, .cn-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-block-end: 20px;
}

.signin-brand svg, .cn-brand svg {
  inline-size: 32px;
  block-size: 32px;
}

.signin-brand span {
  font-size: 18px;
  font-weight: 600;
}

.signin-card, .cn-card {
  inline-size: 100%;
  max-inline-size: 400px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
}

.signin-card h1, .cn-card h1 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 4px;
}

.signin-card .sub {
  color: var(--muted);
  font-size: 14px;
  margin-block-end: 20px;
}

.signin-alt {
  text-align: center;
  margin-block-start: 16px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.signin-alt a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  min-block-size: var(--tap);
  display: inline-flex;
  align-items: center;
}

.signin-alt a:hover {
  color: var(--ink);
}

.pin-people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pin-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: var(--r-ctl);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  font: inherit;
}

.pin-person:hover, .pin-person.is-on {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.pin-input {
  letter-spacing: .5em !important;
  text-align: center;
  font-size: 22px !important;
  font-variant-numeric: tabular-nums;
}

.signin-mark {
  inline-size: 36px;
  block-size: 36px;
}

.signin-name {
  font-size: 20px;
  font-weight: 600;
}

.signin-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 4px;
}

.signin-card .sub {
  color: var(--muted);
  font-size: 14px;
  margin-block-end: 18px;
}

.signin-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.signin-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  margin-block-end: 6px;
}

.signin-form .checkline label, .signin-form label.checkline {
  margin: 0;
  font-weight: 400;
  display: flex;
}

.signin-form .help {
  font-size: 12.5px;
  color: var(--muted);
  margin-block-start: 6px;
}

.field-labelrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.field-labelrow .linkish {
  min-block-size: 0;
  font-size: 13px;
}

.pin-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin-block-end: 16px;
}

.pin-pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pin-key {
  min-block-size: 56px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  font: inherit;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.pin-key:active {
  background: var(--hover);
}

.pin-key-quiet {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.pin-key-go {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.pin-people .pin-person > span:last-child {
  font-size: 14px;
  line-height: 1.3;
}

/* ------------------------------------------------------------------ */

/* App shell                                                           */

/*   1200px and up : 248px sidebar with labels                         */

/*   768 to 1199px : 76px icon rail                                    */

/*   under 768px   : header, bottom tab bar, floating + button         */

/* ------------------------------------------------------------------ */

.shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-block-size: 100vh;
}

.side {
  position: sticky;
  inset-block-start: 0;
  block-size: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--card);
  border-inline-end: 1px solid var(--border);
  padding: 18px 14px;
}

.side-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.side-logo svg {
  inline-size: 26px;
  block-size: 26px;
  flex: 0 0 26px;
}

.side-salon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  min-inline-size: 0;
}

.side-salon > div > b {
  display: block;
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-salon > div > span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

.side-salon > div {
  min-inline-size: 0;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side-foot {
  margin-block-start: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-block-start: 1px solid var(--divider);
  padding-block-start: 12px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-block-size: var(--tap);
  padding: 0 12px;
  border-radius: var(--r-ctl);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-link:hover {
  background: var(--hover);
  color: var(--ink);
}

.nav-link[aria-current] {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-link .label {
  flex: 1;
  min-inline-size: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-link .count {
  font-size: 12px;
  font-weight: 600;
  min-inline-size: 22px;
  block-size: 22px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--r-ctl);
  color: var(--ink);
  text-decoration: none;
  min-inline-size: 0;
}

.user-card:hover {
  background: var(--hover);
}

.user-card > div {
  min-inline-size: 0;
  flex: 1;
}

.user-card > div > b {
  display: block;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-card > div > span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

.side-tools {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 0 4px;
}

.side-tools a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 8px;
  min-block-size: 36px;
  display: inline-flex;
  align-items: center;
}

.side-tools a:hover {
  background: var(--hover);
  color: var(--ink);
}

.main {
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  inset-block-start: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  block-size: 68px;
  padding: 0 24px;
  background: var(--card);
  border-block-end: 1px solid var(--border);
}

.topbar-title {
  display: none;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  flex: 1;
  min-inline-size: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-search {
  flex: 1;
  max-inline-size: 440px;
  margin: 0;
}

.top-search input {
  background: var(--bg);
  border-color: var(--bg);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.top-me {
  display: none;
}

.page {
  padding: 24px;
  inline-size: 100%;
  max-inline-size: 1320px;
  margin-inline: auto;
  flex: 1;
}

.page-narrow {
  max-inline-size: 880px;
}

.banner {
  padding: 10px 24px;
  font-size: 14px;
  background: var(--warn-bg);
  color: var(--warn);
}

.tabbar, .fab, .more-sheet {
  display: none;
}

/* Icon rail */

@media (max-width: 1199px) {
  .shell {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .side {
    padding: 14px 10px;
    align-items: center;
  }

  .side-logo span, .side-salon > div, .nav-link .label, .user-card > div, .side-tools {
    display: none;
  }

  .side-salon {
    padding: 4px;
    border: 0;
    background: none;
  }

  .side-nav, .side-foot {
    inline-size: 100%;
  }

  .nav-link {
    justify-content: center;
    padding: 0;
    position: relative;
  }

  .nav-link .count {
    position: absolute;
    inset-block-start: 2px;
    inset-inline-end: 4px;
    min-inline-size: 18px;
    block-size: 18px;
    font-size: 11px;
    padding: 0 4px;
  }

  .user-card {
    justify-content: center;
  }

  .top-actions .btn-label {
    display: none;
  }

  .topbar {
    padding: 0 16px;
  }
}

/* Phone */

@media (max-width: 767px) {
  .shell {
    display: block;
  }

  .side {
    display: none;
  }

  .topbar {
    block-size: 60px;
    padding: 0 16px;
  }

  .topbar-title {
    display: block;
  }

  .top-search, .top-actions .hide-phone {
    display: none;
  }

  .top-me {
    display: inline-grid;
  }

  .page {
    padding: 16px 16px calc(104px + env(safe-area-inset-bottom));
  }

  .banner {
    padding: 10px 16px;
  }

  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: 50;
    block-size: calc(80px + env(safe-area-inset-bottom));
    padding-block-end: env(safe-area-inset-bottom);
    background: var(--card);
    border-block-start: 1px solid var(--border);
  }

  .tabbar a, .tabbar summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    cursor: pointer;
    list-style: none;
    block-size: 100%;
  }

  .tabbar summary::-webkit-details-marker {
    display: none;
  }

  .tabbar .ico {
    inline-size: 24px;
    block-size: 24px;
  }

  .tabbar a[aria-current] {
    color: var(--accent);
  }

  .tabbar details {
    display: contents;
  }

  .cn-tabbar {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }

  .tabbar details[open] .more-sheet {
    display: block;
  }

  /* Open, the summary itself becomes the scrim, so a tap anywhere outside
     the sheet closes it with no script. */

  .tabbar details[open] summary::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(11, 18, 32, .35);
  }

  .fab {
    display: grid;
    place-items: center;
    position: fixed;
    z-index: 45;
    inset-inline-end: 16px;
    inset-block-end: calc(96px + env(safe-area-inset-bottom));
    inline-size: 56px;
    block-size: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(15, 118, 110, .35);
    text-decoration: none;
  }

  .fab .ico {
    inline-size: 26px;
    block-size: 26px;
    stroke-width: 2.2;
  }

  .card, .ledger, .panel {
    border-radius: 18px;
    padding: 16px;
  }

  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page-title, .day h1 {
    font-size: 24px;
  }

  .row .what {
    display: none;
  }

  .row {
    gap: 12px;
  }

  .row .amt {
    min-inline-size: 70px;
  }

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

  .field-narrow {
    max-inline-size: none;
  }

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

  .side-panel {
    inline-size: 100vw;
    border: 0;
  }

  .hide-phone {
    display: none !important;
  }

  /* A table becomes a list of cards. */

  .table-cards thead {
    display: none;
  }

  .table-cards, .table-cards tbody, .table-cards tr, .table-cards td {
    display: block;
    inline-size: 100%;
  }

  .table-cards tr {
    padding: 12px 4px;
    border-block-end: 1px solid var(--divider);
  }

  .table-cards td {
    padding: 2px 0;
    border: 0;
  }

  .table-cards td[data-label]::before {
    content: attr(data-label) " · ";
    color: var(--muted);
    font-size: 12.5px;
  }

  .table-cards .num {
    text-align: start;
  }
}

@media (min-width: 768px) {
  .show-phone {
    display: none !important;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Checkout */

.co .list-row .main {
  white-space: normal;
}

.qty {
  inline-size: 76px !important;
  text-align: center;
  flex: 0 0 auto;
}

.co-pay {
  position: sticky;
  inset-block-start: 88px;
}

.co-total {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block-end: 14px;
  margin-block-end: 14px;
  border-block-end: 1px solid var(--divider);
}

@media (max-width: 1199px) {
  .co-pay {
    position: static;
  }
}

/* Marketing hub */

.mk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.mk-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink);
  text-decoration: none;
  min-block-size: 170px;
}

.mk-card + .mk-card {
  margin: 0;
}

.mk-card:hover {
  border-color: var(--accent-line);
}

.mk-icon {
  display: inline-grid;
  place-items: center;
  inline-size: 40px;
  block-size: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.mk-go {
  color: var(--muted);
}

.mk-body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-block-start: auto;
}

/* Today */

.sched {
  padding: 0 20px 8px;
}

.sched-row .time {
  inline-size: 48px;
  flex: 0 0 48px;
}

.sched-row.is-done {
  opacity: .55;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.team-bar {
  flex: 1;
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
}

.team-line b {
  font-weight: 500;
}

@media (max-width: 767px) {
  .list-row .amt {
    white-space: normal;
    text-align: end;
    max-inline-size: 45%;
  }

  .split > aside {
    order: -1;
  }

  .show-phone-hidden {
    display: none;
  }

  .sched {
    padding: 0 16px 8px;
  }

  .sched-row .pill {
    display: none;
  }
}

/* Calendar */

.cal-tools {
  align-items: center;
}

.cal-scroll {
  overflow-x: auto;
}

.cal-grid {
  --head: 64px;
  position: relative;
  display: grid;
  grid-template-columns: 56px repeat(var(--cols), minmax(150px, 1fr));
  min-inline-size: 100%;
}

.cal-corner, .cal-head {
  block-size: var(--head);
  border-block-end: 1px solid var(--border);
}

.cal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-inline-start: 1px solid var(--divider);
  color: var(--ink);
  text-decoration: none;
  min-inline-size: 0;
}

.cal-head > span:last-child {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
}

.cal-head b {
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal-head .muted {
  font-size: 12px;
}

.cal-day {
  flex-direction: row;
  justify-content: center;
  gap: 6px;
}

.cal-day.is-today b {
  color: var(--accent);
}

.cal-times {
  display: flex;
  flex-direction: column;
}

.cal-times span {
  font-size: 12px;
  color: var(--muted);
  padding-inline-end: 8px;
  text-align: end;
  transform: translateY(-7px);
  font-variant-numeric: tabular-nums;
}

.cal-col {
  position: relative;
  border-inline-start: 1px solid var(--divider);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--hour) - 1px), var(--divider) calc(var(--hour) - 1px), var(--divider) var(--hour));
}

.cal-block {
  position: absolute;
  inset-inline: 4px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 4px 8px;
  border-radius: 10px;
  background: var(--c-soft);
  border-inline-start: 4px solid var(--c);
  color: var(--ink);
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1.35;
}

.cal-block:hover {
  filter: brightness(.97);
}

.cal-block b {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal-time, .cal-what {
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal-time {
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
}

.cal-block.is-completed {
  opacity: .5;
}

.cal-block.is-no_show {
  opacity: .45;
  text-decoration: line-through;
}

.cal-block.is-arrived {
  box-shadow: 0 0 0 2px var(--c);
}

.cal-mini {
  padding: 2px 6px;
  font-size: 11.5px;
}

.cal-week {
  grid-template-columns: 56px repeat(7, minmax(96px, 1fr));
}

.cal-short {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding-block: 0;
}

.cal-short .cal-what {
  display: none;
}

.cal-now {
  position: absolute;
  inset-inline: 56px 0;
  block-size: 2px;
  background: var(--now);
  pointer-events: none;
  z-index: 2;
}

.cal-now::before {
  content: "";
  position: absolute;
  inset-inline-start: -5px;
  inset-block-start: -4px;
  inline-size: 10px;
  block-size: 10px;
  border-radius: 50%;
  background: var(--now);
}

.side-panel.is-hidden {
  display: none;
}

/* Client card */

.profile {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.profile-id {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-id .page-title {
  margin: 0;
}

.profile-id p {
  margin: 0;
}

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

.profile-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px;
  margin: 0;
}

.profile-stats .kpi {
  padding: 12px;
}

.profile-stats .kpi-value {
  font-size: 20px;
}

.profile .section-title {
  margin-block-end: 8px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.timeline li {
  display: flex;
  gap: 12px;
  position: relative;
  padding-block-end: 14px;
}

.timeline li::before {
  content: "";
  position: absolute;
  inset-inline-start: 5px;
  inset-block: 14px 0;
  inline-size: 2px;
  background: var(--divider);
}

.timeline li:last-child::before {
  display: none;
}

.timeline .tl-dot {
  inline-size: 12px;
  block-size: 12px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 12px;
  margin-block-start: 5px;
}

.timeline .tl-invoice .tl-dot {
  background: var(--sky);
}

.timeline .tl-note .tl-dot {
  background: var(--muted);
}

.timeline li > div {
  display: flex;
  flex-direction: column;
}

.timeline b {
  font-weight: 500;
}

/* Two column dashboards: main and a right column. */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.split > * {
  min-inline-size: 0;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-inline-size: 0;
}

@media (max-width: 1199px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ */

/* Client pages (/book, /me, reviews). A phone in a hand. The salon's  */

/* website accent brands them through --brand.                        */

/* ------------------------------------------------------------------ */

.bk-body {
  --brand: var(--accent);
  --brand-soft: color-mix(in oklab, var(--brand) 10%, transparent);
  background: var(--bg);
  color: var(--ink);
  min-block-size: 100vh;
  display: flex;
  flex-direction: column;
}

.bk-brand {
  --brand-soft: color-mix(in oklab, var(--brand) 10%, transparent);
  display: flex;
  flex-direction: column;
  min-block-size: 100vh;
}

.bk-body .btn {
  background: var(--brand);
}

.bk-body .btn:hover {
  background: color-mix(in oklab, var(--brand) 85%, black);
}

.bk-body .btn.btn-quiet {
  background: var(--card);
  color: var(--ink);
}

.bk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  min-block-size: 60px;
  background: var(--card);
  border-block-end: 1px solid var(--border);
}

.bk-salon {
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}

.bk-topnav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14.5px;
}

.bk-topnav a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  min-block-size: var(--tap);
  display: inline-flex;
  align-items: center;
}

.bk-main {
  inline-size: 100%;
  max-inline-size: 680px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  flex: 1;
}

.bk-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px;
  font-size: 13px;
  color: var(--muted);
}

.bk-powered {
  opacity: .7;
}

.bk-hero {
  margin-block-end: 20px;
}

.bk-hero h1 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 6px 0;
}

.bk-back {
  font-size: 14px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.bk-back::before {
  content: "‹ ";
}

html[dir="rtl"] .bk-back::before {
  content: "› ";
}

/* The cover, name and rating at the top of /book. */

.bk-cover {
  margin: -20px -16px 0;
  block-size: 180px;
  background: var(--brand-soft) center / cover no-repeat;
}

.bk-ident {
  position: relative;
  margin: -36px 0 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px 18px;
}

.bk-ident h1 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 4px;
}

.bk-ident .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 13.5px;
  color: var(--muted);
  align-items: center;
}

.bk-stars {
  color: #F59E0B;
}

.bk-open {
  color: var(--ok);
  font-weight: 500;
}

.bk-closed {
  color: var(--bad);
  font-weight: 500;
}

.bk-cats {
  margin: 4px 0 14px;
}

.bk-body .chip.is-on {
  background: var(--brand);
  border-color: var(--brand);
}

.bk-services {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bk-svc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  color: var(--ink);
  text-decoration: none;
  min-block-size: 72px;
  cursor: pointer;
  position: relative;
  inline-size: 100%;
  font: inherit;
  text-align: start;
}

.bk-svc:hover {
  border-color: color-mix(in oklab, var(--brand) 40%, var(--border));
}

.bk-svc.is-on, .bk-svc:has(input:checked) {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
  background: var(--brand-soft);
}

.bk-svc input {
  position: absolute;
  opacity: 0;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  margin: 0;
  cursor: pointer;
}

.bk-svc .main {
  flex: 1;
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bk-svc .main b {
  font-weight: 500;
}

.bk-svc .main span {
  font-size: 13px;
  color: var(--muted);
}

.bk-svc .price {
  text-align: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  font-variant-numeric: tabular-nums;
}

.bk-svc .price b {
  font-weight: 600;
}

.bk-svc .price > span {
  font-size: 12.5px;
  color: var(--muted);
}

.bk-svc .main .pill {
  margin-inline-start: 6px;
}

.bk-svc .price s {
  font-size: 12.5px;
  color: var(--muted);
}

.bk-svc .pill {
  margin-inline-start: 6px;
}

.bk-check {
  inline-size: 24px;
  block-size: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex: 0 0 24px;
  display: grid;
  place-items: center;
}

.bk-svc.is-on .bk-check, .bk-svc:has(input:checked) .bk-check {
  background: var(--brand);
  border-color: var(--brand);
}

.bk-svc.is-on .bk-check::after, .bk-svc:has(input:checked) .bk-check::after {
  content: "";
  inline-size: 6px;
  block-size: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.bk-bar {
  position: sticky;
  inset-block-end: 0;
  z-index: 20;
  margin: 16px -16px -48px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--card);
  border-block-start: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.bk-bar .total {
  flex: 1;
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
}

.bk-bar .total span {
  font-size: 12.5px;
  color: var(--muted);
}

.bk-bar .total b {
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.bk-service {
  min-block-size: 56px;
}

.bk-price {
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  color: var(--ink);
  flex: 0 0 auto;
}

.bk-go {
  inline-size: 8px;
  block-size: 8px;
  flex: 0 0 8px;
  border-block-start: 1.5px solid var(--muted);
  border-inline-end: 1.5px solid var(--muted);
  transform: rotate(45deg);
}

html[dir="rtl"] .bk-go {
  transform: rotate(-45deg);
}

.bk-block {
  margin-block-end: 22px;
}

.bk-block h2 {
  font-size: 16px;
  font-weight: 600;
  margin-block-end: 10px;
}

.bk-chip {
  min-block-size: 44px;
  padding: 0 16px;
  font: inherit;
  font-size: 14.5px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}

.bk-chip.on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 500;
}

.bk-days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-block-end: 6px;
  scroll-snap-type: x mandatory;
}

.bk-day {
  flex: 0 0 60px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 0;
  font: inherit;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}

.bk-day span {
  font-size: 12px;
  color: var(--muted);
}

.bk-day b {
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.bk-day.on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.bk-day.on span {
  color: rgba(255,255,255,.85);
}

.bk-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
}

.bk-time {
  min-block-size: var(--tap);
  font: inherit;
  font-size: 15.5px;
  font-variant-numeric: tabular-nums;
  border-radius: var(--r-ctl);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
}

.bk-time:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.bk-empty {
  padding: 18px 0;
}

.bk-summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  margin-block-end: 10px;
}

.bk-summary dt {
  color: var(--muted);
  font-size: 14px;
}

.bk-summary dd {
  font-weight: 500;
  margin: 0;
}

.bk-signin {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block-end: 18px;
}

.bk-signin label {
  font-size: 14px;
  font-weight: 500;
}

.bk-signin input {
  inline-size: 100%;
  min-block-size: 50px;
  padding: 12px 14px;
  font: inherit;
  font-size: 17px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-ctl);
  color: var(--ink);
}

.bk-signin input:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}

.bk-code {
  letter-spacing: .4em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.bk-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bk-hint {
  font-size: 13.5px;
  color: var(--muted);
}

.bk-wide {
  inline-size: 100%;
  min-block-size: 50px;
  font-size: 16px;
}

.bk-done h2 {
  font-size: 21px;
  margin-block-end: 6px;
}

.bk-when {
  font-size: 18px;
  font-weight: 500;
  margin-block-end: 4px;
}

.bk-done p {
  margin-block-end: 8px;
}

.bk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 14px;
}

.bk-appt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-block-start: 1px solid var(--divider);
}

.bk-appt > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bk-appt-act {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 6px;
  text-align: end;
}

.bk-signout {
  margin-block-start: 26px;
}

@media (max-width: 480px) {
  .bk-appt {
    flex-direction: column;
    align-items: stretch;
  }

  .bk-appt-act {
    align-items: stretch;
    text-align: start;
  }
}

.bk-off {
  color: var(--ok);
  font-variant-numeric: tabular-nums;
}

.bk-coupon {
  display: flex;
  gap: 8px;
  margin: 4px 0 8px;
}

.bk-coupon input {
  flex: 1;
  min-inline-size: 0;
  min-block-size: var(--tap);
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-ctl);
  color: var(--ink);
}

.bk-warn {
  color: var(--warn);
}

.bk-card h2 {
  font-size: 16px;
  font-weight: 600;
  margin-block-end: 4px;
}

.bk-card-count {
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  margin-block-end: 8px;
}

.bk-meter {
  block-size: 8px;
  border-radius: 999px;
  background: var(--divider);
  overflow: hidden;
  margin-block-end: 8px;
}

.bk-meter span {
  display: block;
  block-size: 100%;
  background: var(--brand, var(--accent));
}

.rv {
  padding: 14px 4px;
  border-block-start: 1px solid var(--divider);
}

.rv-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}

.rv-stars {
  color: #F59E0B;
  letter-spacing: 1px;
  font-size: 15px;
}

.rv-text {
  margin: 6px 0;
  line-height: 1.6;
}

.rv-reply {
  margin: 6px 0;
  padding-inline-start: 12px;
  border-inline-start: 2px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.rv-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0;
}

.rv-form textarea, .bk-signin textarea {
  inline-size: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-ctl);
  color: var(--ink);
}

.rv-pick {
  display: flex;
  gap: 6px;
}

.rv-star {
  position: relative;
}

.rv-star input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.rv-star span {
  font-size: 36px;
  line-height: 1;
  color: var(--border);
  cursor: pointer;
}

.rv-star.on span {
  color: #F59E0B;
}

.rv-star input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.bk-was {
  color: var(--muted);
  font-weight: 400;
  margin-inline-end: 6px;
  text-decoration-thickness: 1px;
}

/* ==================================================================
   The salon's public website. Three themes over one layout. Type stays
   Readex Pro in both scripts; themes change palette, spacing and shape.
   ================================================================== */

.site {
  --s-bg: #FAF9F6;
  --s-ink: #191C1F;
  --s-muted: #6E7379;
  --s-rule: #E4E1D9;
  --s-rule-soft: #EFEDE7;
  --s-card: #FFFFFF;
  --s-radius: 6px;
  --s-btn-radius: 6px;
  --s-star: #B4690E;
  --s-accent-ink: var(--site-accent);
  --s-wrap: min(960px, calc(100% - 32px));
  margin: 0;
  background: var(--s-bg);
  color: var(--s-ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] .site {
  line-height: 1.8;
}

.site-noir {
  --s-bg: #121315;
  --s-ink: #EDEBE6;
  --s-muted: #A3A39E;
  --s-rule: #2C2E33;
  --s-rule-soft: #222428;
  --s-card: #1A1C1F;
  --s-star: #E0A048;
  --s-accent-ink: color-mix(in oklab, var(--site-accent) 45%, white);
}

.site-bloom {
  --s-bg: color-mix(in oklab, var(--site-accent) 6%, #FFFDFB);
  --s-rule: color-mix(in oklab, var(--site-accent) 16%, #ECE8E4);
  --s-rule-soft: color-mix(in oklab, var(--site-accent) 9%, #F3F0EC);
  --s-radius: 18px;
  --s-btn-radius: 999px;
}

.site a {
  color: var(--s-accent-ink);
}

.site a:focus-visible, .site button:focus-visible {
  outline: 2px solid var(--s-accent-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.site main > * {
  width: var(--s-wrap);
  margin-inline: auto;
  box-sizing: border-box;
}

.site h1, .site h2, .site h3 {
  margin: 0;
  font-weight: 600;
}

html[dir="ltr"] .site h1, html[dir="ltr"] .site h2 {
  letter-spacing: -0.022em;
}

.site-quiet {
  color: var(--s-muted);
}

.site-preview {
  background: #FFF4E0;
  color: #6B3E06;
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px max(16px, calc((100% - 960px) / 2));
  background: color-mix(in oklab, var(--s-bg) 92%, transparent);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--s-rule-soft);
}

.site-name {
  font-weight: 600;
  font-size: 17px;
  color: var(--s-ink) !important;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.site-navlink, .site-lang {
  color: var(--s-ink) !important;
  text-decoration: none;
  font-size: 15px;
}

.site-navlink:hover, .site-lang:hover {
  color: var(--s-accent-ink) !important;
}

@media (max-width: 720px) {
  .site-navlink {
    display: none;
  }

  .site-nav {
    gap: 12px;
  }
}

.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--s-btn-radius);
  background: var(--site-accent);
  color: #fff !important;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--site-accent);
}

.site-btn:hover {
  filter: brightness(1.08);
}

.site-btn-ghost {
  background: transparent;
  color: var(--s-accent-ink) !important;
  border-color: var(--s-rule);
}

.site-btn-ghost:hover {
  border-color: var(--s-accent-ink);
  filter: none;
}

.site-btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 15px;
}

.site-hero {
  padding: 72px 0 48px;
}

.site-bloom .site-hero {
  text-align: center;
}

.site-kicker {
  margin: 0 0 6px;
  color: var(--s-accent-ink);
  font-weight: 500;
}

.site-hero h1 {
  font-size: clamp(34px, 8vw, 58px);
  line-height: 1.1;
}

html[dir="rtl"] .site-hero h1 {
  line-height: 1.35;
}

.site-tagline {
  margin: 14px 0 0;
  font-size: 19px;
  color: var(--s-muted);
  max-width: 38ch;
}

.site-bloom .site-tagline {
  margin-inline: auto;
}

.site-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.site-bloom .site-actions {
  justify-content: center;
}

.site-rating {
  margin: 18px 0 0;
  color: var(--s-muted);
  font-variant-numeric: tabular-nums;
}

.site-stars {
  color: var(--s-star);
  letter-spacing: 1px;
}

.site-about {
  padding: 0 0 40px;
}

.site-about p {
  margin: 0;
  font-size: 17px;
  max-width: 62ch;
  white-space: pre-line;
}

.site-bloom .site-about p {
  margin-inline: auto;
  text-align: center;
}

.site-section {
  padding: 48px 0;
  border-top: 1px solid var(--s-rule);
}

.site-section h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.site-noir .site-section {
  border-top-color: var(--s-rule-soft);
}

.site-deals {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.site-deal {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px;
  background: var(--s-card);
  border: 1px solid var(--s-rule);
  border-radius: var(--s-radius);
}

.site-deal-off {
  font-size: 22px;
  color: var(--s-accent-ink);
  font-variant-numeric: tabular-nums;
}

.site-deal-name {
  font-weight: 500;
}

.site-deal-until {
  color: var(--s-muted);
  font-size: 14px;
}

.site-cat h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--s-muted);
  margin: 28px 0 2px;
}

.site-cat:first-of-type h3 {
  margin-top: 0;
}

.site-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 2px 18px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--s-rule-soft);
  color: var(--s-ink) !important;
  text-decoration: none;
}

a.site-item {
  grid-template-columns: 1fr auto auto 14px;
}

a.site-item:hover {
  background: color-mix(in oklab, var(--site-accent) 5%, transparent);
}

.site-item-name {
  font-weight: 500;
}

.site-item-time {
  color: var(--s-muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.site-item-price {
  text-align: end;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.site-item-price s {
  color: var(--s-muted);
  margin-inline-end: 6px;
}

.site-go::before {
  content: "→";
  color: var(--s-muted);
}

html[dir="rtl"] .site-go::before {
  content: "←";
}

.site-badge {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  vertical-align: 1px;
  color: var(--s-accent-ink);
  background: color-mix(in oklab, var(--site-accent) 13%, transparent);
}

@media (max-width: 560px) {
  .site-item, a.site-item {
    grid-template-columns: 1fr auto;
  }

  .site-item-name {
    grid-column: 1 / -1;
  }

  .site-go {
    display: none;
  }
}

.site-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.site-review {
  margin: 0;
  padding: 18px;
  background: var(--s-card);
  border: 1px solid var(--s-rule);
  border-radius: var(--s-radius);
}

.site-review blockquote {
  margin: 8px 0;
}

.site-review figcaption {
  color: var(--s-muted);
  font-size: 14px;
}

.site-reply {
  margin: 10px 0 0;
  padding-inline-start: 10px;
  border-inline-start: 2px solid var(--s-rule);
  color: var(--s-muted);
  font-size: 14px;
}

.site-visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 640px) {
  .site-visit-grid {
    grid-template-columns: 1fr;
  }
}

.site-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 17px;
}

.site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 0;
}

.site-hours {
  border-collapse: collapse;
  width: 100%;
  max-width: 400px;
}

.site-hours caption {
  text-align: start;
  font-weight: 600;
  margin-bottom: 6px;
}

.site-hours th {
  text-align: start;
  font-weight: 400;
  padding: 7px 0;
}

.site-hours td {
  text-align: end;
  padding: 7px 0;
  font-variant-numeric: tabular-nums;
}

.site-hours tr {
  border-bottom: 1px solid var(--s-rule-soft);
}

.site-cta {
  text-align: center;
  padding: 64px 0;
  border-top: 1px solid var(--s-rule);
}

.site-cta h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.site-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  color: var(--s-muted);
  font-size: 14px;
  padding: 24px max(16px, calc((100% - 960px) / 2));
  border-top: 1px solid var(--s-rule);
}

.site-foot .site-made {
  color: var(--s-muted);
  text-decoration: none;
}

/* The website settings screen. */

.site-swatch {
  display: inline-block;
  inline-size: 14px;
  block-size: 14px;
  border-radius: 3px;
  margin-inline-end: 8px;
  vertical-align: -2px;
  border: 1px solid var(--rule);
}

.site-swatch-linen {
  background: #FAF9F6;
}

.site-swatch-noir {
  background: #121315;
}

.site-swatch-bloom {
  background: #F6E9EC;
  border-radius: 50%;
}

.site-accents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-accent {
  position: relative;
}

.site-accent input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.site-accent span {
  display: block;
  inline-size: 34px;
  block-size: 34px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--surface, #fff);
  border: 2px solid transparent;
  cursor: pointer;
}

.site-accent input:checked + span {
  border-color: var(--ink);
}

.site-accent input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-checks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.site-domain .row {
  flex-wrap: wrap;
}

.site-dns {
  padding: 4px 4px 16px;
  font-size: 14px;
}

.site-dns-table {
  border-collapse: collapse;
  width: 100%;
  margin: 8px 0;
  font-size: 13.5px;
}

.site-dns-table th, .site-dns-table td {
  text-align: start;
  padding: 6px 8px;
  border-bottom: 1px solid var(--rule-soft);
}

.site-dns-table code {
  word-break: break-all;
}

.site-domain-add {
  display: flex;
  gap: 8px;
  padding: 12px 4px;
}

.site-domain-add input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font: inherit;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--ink);
}

/* The website's logo, cover photo and gallery. */

.site-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-logo {
  block-size: 32px;
  inline-size: auto;
  max-inline-size: 140px;
  -o-object-fit: contain;
     object-fit: contain;
  flex-shrink: 0;
}

.site-hero-photo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  padding-top: 40px;
}

@media (min-width: 860px) {
  .site-hero-photo {
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    padding-top: 56px;
  }
}

.site-bloom .site-hero-photo {
  grid-template-columns: 1fr;
}

.site-cover {
  margin: 0;
}

.site-cover img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 4 / 3;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: var(--s-radius);
  background: var(--s-rule-soft);
}

@media (min-width: 860px) {
  .site-hero-photo .site-cover img {
    aspect-ratio: 4 / 5;
  }
}

/* Bloom centres its hero, so the photo runs wide beneath the words. */

.site-bloom .site-hero-photo .site-cover img {
  aspect-ratio: 16 / 9;
}

.site-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 720px) {
  .site-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

.site-gallery img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: var(--s-radius);
  background: var(--s-rule-soft);
}

/* Uploading them, on the website settings screen. */

.site-logo-row {
  flex-wrap: wrap;
  align-items: center;
}

.site-logo-preview {
  block-size: 36px;
  inline-size: auto;
  max-inline-size: 160px;
  -o-object-fit: contain;
     object-fit: contain;
}

.site-pick {
  cursor: pointer;
}

.site-pick:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  padding: 12px 4px;
}

.site-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-photo img {
  inline-size: 100%;
  aspect-ratio: 1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--rule);
}

.site-photo figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 13.5px;
  align-items: center;
}

.site-photo-add {
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed var(--rule);
  border-radius: 8px;
  color: var(--accent);
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  padding: 8px;
}

.site-photo-add:hover, .site-photo-add:focus-within {
  border-color: var(--accent);
}

/* The Modulanta team console: the workspace components, with a few extras. */

.cn-team {
  margin-inline-start: 6px;
  font-size: 11.5px;
}

.cn-search {
  margin: 14px 0 16px;
}

.cn-search input {
  inline-size: 100%;
  max-inline-size: 420px;
  padding: 10px 12px;
  font: inherit;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--ink);
}

.cn-salon {
  flex-wrap: wrap;
  gap: 6px 16px;
}

.cn-salon .name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-inline-size: 200px;
}

.cn-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1;
}

.cn-date {
  font-variant-numeric: tabular-nums;
}

.cn-addon {
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.cn-addon-name {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex: 1;
  min-inline-size: 240px;
  cursor: pointer;
}

.cn-addon-name input {
  margin-block-start: 4px;
  inline-size: 18px;
  block-size: 18px;
  flex-shrink: 0;
}

.cn-addon-name span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cn-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cn-price input {
  inline-size: 90px;
  padding: 8px 10px;
  font: inherit;
  text-align: end;
  font-variant-numeric: tabular-nums;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--ink);
}

.cn-actions {
  gap: 16px;
  align-items: center;
}

.cn-history {
  gap: 6px 16px;
  flex-wrap: wrap;
}

.cn-history > :first-child {
  font-variant-numeric: tabular-nums;
  min-inline-size: 130px;
}

.cn-secret {
  margin-block-end: 16px;
  border-inline-start: 3px solid var(--amber);
}

.cn-password code {
  font-size: 20px;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

.cn-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-block-start: 18px;
}

.cn-form label {
  font-size: 14px;
  font-weight: 500;
  margin-block-start: 6px;
}

.cn-form input {
  padding: 11px 12px;
  font: inherit;
  background: var(--surface, #fff);
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--ink);
}

.cn-form .btn {
  margin-block-start: 14px;
}

.cn-form input {
  min-block-size: var(--tap);
}

.cn-form input:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent-soft);
  outline-offset: 0;
}

.cn-forgot {
  margin: 14px 0 0;
  text-align: center;
}

.cn-forgot a {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

/* Staff, and the console's new-salon form. */

.st-row {
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}

.st-row .name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-inline-size: 180px;
  flex: 1;
}

.st-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.st-role select {
  padding: 6px 8px;
  font: inherit;
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--ink);
}

.st-off .name b {
  color: var(--muted);
}

.st-check label {
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  padding-block-start: 22px;
}

.cn-slug {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cn-slug input {
  flex: 1;
  min-inline-size: 0;
}

.st-check input[type=checkbox] {
  inline-size: auto;
  flex: none;
  margin: 0;
}

.st-check label span {
  min-inline-size: 0;
}

.st-colours {
  display: inline-flex;
  gap: 4px;
}

.st-colour {
  position: relative;
  display: inline-grid;
  place-items: center;
  inline-size: 32px;
  block-size: 32px;
  cursor: pointer;
}

.st-colour input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  inline-size: 100%;
  block-size: 100%;
  cursor: pointer;
}

.st-colour span {
  inline-size: 20px;
  block-size: 20px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 2px var(--card);
}

.st-colour input:checked + span {
  box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--c);
}

.st-colour input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Trusted devices, PIN removal. */

.st-device {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 16px;
  margin-block-start: 14px;
}

.st-device .field {
  flex: 1 1 220px;
  min-inline-size: 0;
}

.st-device .field input {
  inline-size: 100%;
}

form.st-device {
  margin-block-end: 24px;
}

.topbar .lock {
  font-weight: 600;
}

.hover\:cursor-pointer:hover {
  cursor: pointer;
}

.hover\:bg-zinc-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(250 250 250 / var(--tw-bg-opacity));
}

.hover\:bg-zinc-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(63 63 70 / var(--tw-bg-opacity));
}

.hover\:text-zinc-700:hover {
  --tw-text-opacity: 1;
  color: rgb(63 63 70 / var(--tw-text-opacity));
}

.hover\:opacity-40:hover {
  opacity: 0.4;
}

.focus\:border-rose-400:focus {
  --tw-border-opacity: 1;
  border-color: rgb(251 113 133 / var(--tw-border-opacity));
}

.focus\:border-zinc-400:focus {
  --tw-border-opacity: 1;
  border-color: rgb(161 161 170 / var(--tw-border-opacity));
}

.focus\:ring-0:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.active\:text-white\/80:active {
  color: rgb(255 255 255 / 0.8);
}

.group:hover .group-hover\:bg-zinc-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(250 250 250 / var(--tw-bg-opacity));
}

.group:hover .group-hover\:opacity-70 {
  opacity: 0.7;
}

.phx-submit-loading.phx-submit-loading\:opacity-75 {
  opacity: 0.75;
}

.phx-submit-loading .phx-submit-loading\:opacity-75 {
  opacity: 0.75;
}

@media (min-width: 640px) {
  .sm\:w-full {
    width: 100%;
  }

  .sm\:translate-y-0 {
    --tw-translate-y: 0px;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .sm\:scale-100 {
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .sm\:scale-95 {
    --tw-scale-x: .95;
    --tw-scale-y: .95;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .sm\:gap-8 {
    gap: 2rem;
  }

  .sm\:overflow-visible {
    overflow: visible;
  }

  .sm\:rounded-l-xl {
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
  }

  .sm\:rounded-r-xl {
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
  }

  .sm\:p-6 {
    padding: 1.5rem;
  }

  .sm\:px-0 {
    padding-left: 0px;
    padding-right: 0px;
  }

  .sm\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .sm\:leading-6 {
    line-height: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}
