*, ::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:  ;
}/*
! tailwindcss v3.4.17 | 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 */
  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]) {
  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::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]:where(:not([hidden="until-found"])) {
  display: none;
}
 *{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#a8a8b0 #efeff3}
 *::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:#efeff3}*::-webkit-scrollbar-thumb{background:#b3b3bd;border:2px solid #efeff3;border-radius:20px}
 body {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity, 1));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;font-family:Inter,"Segoe UI",sans-serif;
}
 h1,h2,h3 {
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
}h2 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}h3 {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
}p {
  line-height: 1.625;
}a {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
 button {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}button:disabled {
  cursor: wait;
  opacity: 0.6;
}
 input:not([type=hidden]):not([type=checkbox]),select,textarea,.ts-control {
  width: 100%;
  min-width: 0px;
  border-radius: 0.75rem;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(203 213 225 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;min-height:46px;font:inherit;padding:.6rem .85rem;
}
 input:not([type=hidden]):not([type=checkbox]),select{height:46px}
 textarea{min-height:108px;resize:vertical}
 input:focus,select:focus,textarea:focus,.ts-wrapper.focus .ts-control{outline:none;border-color:var(--accent);background:#fffdfd;box-shadow:0 3px 14px #741d1721}
 input[aria-invalid=true]{border-color:#e11d48}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
 label {
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1));min-width:0;
}
 .password-wrap {
  display: flex;
  align-items: center;
  border-radius: 0.75rem;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(203 213 225 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));min-height:46px;height:46px;
}
 .password-wrap input:not([type=hidden]){border:0;height:42px;min-height:42px;background:transparent;box-shadow:none}
 .password-wrap:focus-within{border-color:var(--accent);box-shadow:0 3px 14px #741d1721}
.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;
  }
}
 .btn-primary,button[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  --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);min-height:46px;background:var(--primary);
}
 .btn-primary:hover,button[type=submit]:hover{background:#5b1814;box-shadow:0 8px 18px #741d1726}
 .btn-secondary,.ui-modal-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(245 243 255 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(76 29 149 / var(--tw-text-opacity, 1));min-height:40px;
}
 .btn-secondary:hover,.ui-modal-trigger:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(237 233 254 / var(--tw-bg-opacity, 1));
}
 .icon-button {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
 .icon-button:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
}
 .ui-card {
  min-width: 0px;
  border-radius: 1rem;
  border-width: 1px;
  border-color: rgb(226 232 240 / 0.8);
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 1.25rem;
  --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);
}
 @media (min-width: 640px) {

  .ui-card {
    padding: 1.75rem;
  }
}
 .ui-card>article>h3,.ui-card>h3 {
  margin-bottom: 1rem;
}
 .ui-card>article>p {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
 .page-actions {
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}
 .page-actions .ui-modal-trigger {
  --tw-bg-opacity: 1;
  background-color: rgb(116 29 23 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  --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);
  --tw-shadow-color: rgb(116 29 23 / 0.1);
  --tw-shadow: var(--tw-shadow-colored);
}
 .ui-card form,.ui-modal form {
  display: grid;
  align-items: flex-end;
  gap: 1.25rem;container-type:inline-size;
}
 .ui-card form+form {
  margin-top: 0.75rem;
}
 .ui-modal-group {
  display: inline-block;
  max-width: 100%;vertical-align:top;
}
 .ui-modal-group+.ui-modal-group {
  margin-left: 0.25rem;
}
 .ui-modal {
  position: fixed;
  inset: 0px;
  z-index: 100;
  overflow-y: auto;
  background-color: rgb(2 6 23 / 0.55);
  padding: 1rem;
  --tw-backdrop-blur: blur(4px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
 .ui-modal-surface {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  width: 100%;
  max-width: 48rem;
  border-radius: 2rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 1.5rem;
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
 @media (min-width: 640px) {

  .ui-modal-surface {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
  }
}
 .ui-modal-heading {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(241 245 249 / var(--tw-border-opacity, 1));
  padding-bottom: 1rem;
}
 .ui-modal-heading h3 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
}
 .ui-modal .ui-modal-surface>form {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}
 @media (min-width: 640px) {

  .ui-modal .ui-modal-surface>form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
 .ui-modal label:has(textarea),.ui-modal form>p,.ui-modal form>button[type=submit]{grid-column:1/-1}
 .ui-modal form>button[type=submit]{justify-self:end}
 .modal-open{overflow:hidden}
 .ui-modal ul > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}.ui-modal li {
  border-radius: 0.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
  padding: 1rem;
}
 .field-error,.form-error {
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 241 242 / var(--tw-bg-opacity, 1));
  padding: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(190 18 60 / var(--tw-text-opacity, 1));
}
 .form-error{grid-column:1/-1}
 .table-scroll {
  width: 100%;
  overflow-x: auto;
}
 table[data-table]{width:100%!important;border-collapse:separate;border-spacing:0}
 table[data-table] th {
  white-space: nowrap;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  background-color: rgb(248 250 252 / 0.8);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: left;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
 table[data-table] td {
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(241 245 249 / var(--tw-border-opacity, 1));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  vertical-align: top;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
 table[data-table] td>form {
  margin-top: 0.75rem;
}
 table[data-table] td .ui-modal-group {
  margin-bottom: 0.25rem;
  margin-top: 0.5rem;
}
 table[data-table] tbody tr:hover {
  background-color: rgb(248 250 252 / 0.6);
}
 .ui-record-name {
  min-width: 11rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity, 1));
}
 .empty-state {
  display: flex;
  min-height: 14rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 1rem;
  background-color: rgb(248 250 252 / 0.7);
  padding: 2rem;
  text-align: center;
}
 .empty-icon {
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  font-size: 1.5rem;
  line-height: 2rem;
  --tw-text-opacity: 1;
  color: rgb(203 213 225 / var(--tw-text-opacity, 1));
  --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);
}
 .empty-state p {
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
 .empty-state h3 {
  font-weight: 700;
}
 .eyebrow {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  --tw-text-opacity: 1;
  color: rgb(116 29 23 / var(--tw-text-opacity, 1));
}
 .admin-grid {
  display: grid;
  gap: 1.5rem;
}
 @media (min-width: 1280px) {

  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
 .admin-grid article {
  border-radius: 1rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  padding: 1.25rem;
}
 .admin-grid article h3 {
  margin-bottom: 0.75rem;
}
 .admin-grid article form {
  display: grid;
  gap: 1rem;
}
 .admin>h2,.admin>.eyebrow{display:none}.admin>p {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
 .admin nav:not(.agenda-legend) {
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(116 29 23 / var(--tw-text-opacity, 1));
}
 .admin ul:not(.agenda-class-list) > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
 .admin li form {
  margin-top: 0.75rem;
}
 .agenda-filters {
  display: grid;
  gap: 1rem;
  border-radius: 1rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 1.25rem;
}
 @media (min-width: 640px) {

  .agenda-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
 @media (min-width: 1280px) {

  .agenda-filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
 .agenda-week {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}
 @media (min-width: 1280px) {

  .agenda-week {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
 @media (min-width: 1536px) {

  .agenda-week {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
 .agenda-day {
  min-width: 0px;
  border-radius: 1rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding: 1.25rem;
  --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);
}
 .agenda-day>h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
 .agenda-day time {
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}
 .agenda-day-empty {
  border-radius: 0.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}
 .agenda-class-list > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
 .agenda-class {
  border-radius: 0.75rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(241 245 249 / var(--tw-border-opacity, 1));
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 1.625;
}
 .agenda-class>strong {
  --tw-text-opacity: 1;
  color: rgb(116 29 23 / var(--tw-text-opacity, 1));
}
 .agenda-class-meta {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
 .agenda-class .ui-modal-trigger {
  font-size: 0.75rem;
  line-height: 1rem;
}
 .agenda-legend {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
}
 .agenda-state {
  border-radius: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
}
.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;
}
.pointer-events-none {
  pointer-events: none;
}
.visible {
  visibility: visible;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.-bottom-20 {
  bottom: -5rem;
}
.-left-20 {
  left: -5rem;
}
.-right-20 {
  right: -5rem;
}
.-right-6 {
  right: -1.5rem;
}
.-top-20 {
  top: -5rem;
}
.top-8 {
  top: 2rem;
}
.z-10 {
  z-index: 10;
}
.z-50 {
  z-index: 50;
}
.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.my-5 {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.block {
  display: block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-11 {
  height: 2.75rem;
}
.h-12 {
  height: 3rem;
}
.h-96 {
  height: 24rem;
}
.min-h-screen {
  min-height: 100vh;
}
.w-11 {
  width: 2.75rem;
}
.w-12 {
  width: 3rem;
}
.w-40 {
  width: 10rem;
}
.w-44 {
  width: 11rem;
}
.w-96 {
  width: 24rem;
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: 0px;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-xl {
  max-width: 36rem;
}
.-rotate-12 {
  --tw-rotate: -12deg;
  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));
}
.resize {
  resize: both;
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.flex-wrap {
  flex-wrap: wrap;
}
.place-items-center {
  place-items: center;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.overflow-hidden {
  overflow: hidden;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-\[1\.75rem\] {
  border-radius: 1.75rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.border {
  border-width: 1px;
}
.border-l-2 {
  border-left-width: 2px;
}
.border-t {
  border-top-width: 1px;
}
.border-rose-100 {
  --tw-border-opacity: 1;
  border-color: rgb(255 228 230 / var(--tw-border-opacity, 1));
}
.border-slate-200 {
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
}
.border-violet-100 {
  --tw-border-opacity: 1;
  border-color: rgb(237 233 254 / var(--tw-border-opacity, 1));
}
.border-white\/10 {
  border-color: rgb(255 255 255 / 0.1);
}
.\!bg-rose-50 {
  --tw-bg-opacity: 1 !important;
  background-color: rgb(255 241 242 / var(--tw-bg-opacity, 1)) !important;
}
.\!bg-rose-600 {
  --tw-bg-opacity: 1 !important;
  background-color: rgb(225 29 72 / var(--tw-bg-opacity, 1)) !important;
}
.bg-brand-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(252 243 242 / var(--tw-bg-opacity, 1));
}
.bg-brand-800\/40 {
  background-color: rgb(116 29 23 / 0.4);
}
.bg-rose-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 241 242 / var(--tw-bg-opacity, 1));
}
.bg-slate-950 {
  --tw-bg-opacity: 1;
  background-color: rgb(2 6 23 / var(--tw-bg-opacity, 1));
}
.bg-slate-950\/50 {
  background-color: rgb(2 6 23 / 0.5);
}
.bg-violet-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(245 243 255 / var(--tw-bg-opacity, 1));
}
.bg-violet-900\/40 {
  background-color: rgb(76 29 149 / 0.4);
}
.bg-white\/5 {
  background-color: rgb(255 255 255 / 0.05);
}
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.from-slate-50 {
  --tw-gradient-from: #f8fafc var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(248 250 252 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-white {
  --tw-gradient-from: #fff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-white {
  --tw-gradient-to: rgb(255 255 255 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #fff var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.to-violet-50 {
  --tw-gradient-to: #f5f3ff var(--tw-gradient-to-position);
}
.to-violet-50\/60 {
  --tw-gradient-to: rgb(245 243 255 / 0.6) var(--tw-gradient-to-position);
}
.\!p-5 {
  padding: 1.25rem !important;
}
.\!p-6 {
  padding: 1.5rem !important;
}
.p-12 {
  padding: 3rem;
}
.p-4 {
  padding: 1rem;
}
.p-7 {
  padding: 1.75rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.pl-5 {
  padding-left: 1.25rem;
}
.pt-5 {
  padding-top: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-\[10px\] {
  font-size: 10px;
}
.text-\[190px\] {
  font-size: 190px;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.leading-7 {
  line-height: 1.75rem;
}
.leading-8 {
  line-height: 2rem;
}
.leading-tight {
  line-height: 1.25;
}
.tracking-\[\.25em\] {
  letter-spacing: .25em;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.tracking-widest {
  letter-spacing: 0.1em;
}
.\!text-rose-700 {
  --tw-text-opacity: 1 !important;
  color: rgb(190 18 60 / var(--tw-text-opacity, 1)) !important;
}
.text-brand-800 {
  --tw-text-opacity: 1;
  color: rgb(116 29 23 / var(--tw-text-opacity, 1));
}
.text-lime-200 {
  --tw-text-opacity: 1;
  color: rgb(217 249 157 / var(--tw-text-opacity, 1));
}
.text-rose-200 {
  --tw-text-opacity: 1;
  color: rgb(254 205 211 / var(--tw-text-opacity, 1));
}
.text-rose-700 {
  --tw-text-opacity: 1;
  color: rgb(190 18 60 / var(--tw-text-opacity, 1));
}
.text-slate-200 {
  --tw-text-opacity: 1;
  color: rgb(226 232 240 / var(--tw-text-opacity, 1));
}
.text-slate-300 {
  --tw-text-opacity: 1;
  color: rgb(203 213 225 / var(--tw-text-opacity, 1));
}
.text-slate-400 {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}
.text-slate-500 {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
.text-slate-600 {
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1));
}
.text-slate-700 {
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity, 1));
}
.text-slate-800 {
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity, 1));
}
.text-violet-100\/60 {
  color: rgb(237 233 254 / 0.6);
}
.text-violet-200 {
  --tw-text-opacity: 1;
  color: rgb(221 214 254 / var(--tw-text-opacity, 1));
}
.text-violet-800 {
  --tw-text-opacity: 1;
  color: rgb(91 33 182 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.underline {
  text-decoration-line: underline;
}
.\!shadow-none {
  --tw-shadow: 0 0 #0000 !important;
  --tw-shadow-colored: 0 0 #0000 !important;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
}
.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);
}
.blur-3xl {
  --tw-blur: blur(64px);
  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);
}
.brightness-0 {
  --tw-brightness: brightness(0);
  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);
}
.invert {
  --tw-invert: invert(100%);
  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);
}
.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);
}
.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
:root{--primary:#741d17;--secondary:#39244f;--accent:#8c322a;--control-height:46px;--ink:#292535;--wine:#741d17;--purple:#39244f;--line:#e6e3ec}
.app-shell{min-height:100vh;display:grid;grid-template-columns:280px minmax(0,1fr)}
.app-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;min-width:0;overflow-x:hidden;color:#d7d3e1;background:radial-gradient(ellipse at 0 0,#692f433b,transparent 60%),radial-gradient(circle at 100% 95%,#59428038,transparent 50%),linear-gradient(165deg,#23212f,#171923)}
.app-sidebar::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(#ffffff0b 1px,transparent 1px);background-size:18px 18px}
.sidebar-brand{position:relative;height:104px;display:flex;align-items:center;padding:20px 25px;gap:12px}
.sidebar-logo{width:168px;filter:brightness(0) invert(1);opacity:.94}.sidebar-icon{display:none;width:38px;height:38px}
.sidebar-nav{position:relative;padding:0 14px 20px;overflow:auto;flex:1;min-width:0;scrollbar-color:#676775 #22232e}
.nav-group-title{font-size:10px;text-transform:uppercase;letter-spacing:.14em;font-weight:700;color:#9491a5;margin:22px 13px 10px}
.nav-link{display:flex;align-items:center;gap:13px;padding:11px 13px;margin:3px 0;border-radius:10px;font-size:13px;font-weight:500;white-space:nowrap;min-width:0;color:#c2bfce}
.nav-link i{font-size:15px;width:20px;text-align:center;flex-shrink:0;color:#9994ae}
.nav-link .nav-label{overflow:hidden;text-overflow:ellipsis}
.nav-link:hover{background:#ffffff09;color:#fff}.nav-link.active{background:linear-gradient(110deg,#94382f,#782b2b);box-shadow:0 7px 20px #0002;color:white}.nav-link.active i{color:#fff}
.sidebar-footer{position:relative;border-top:1px solid #ffffff0d;padding:18px 24px;font-size:11px;color:#aaa5b8;white-space:nowrap}
.app-main{min-width:0}.app-topbar{height:80px;position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 32px;background:#ffffffde;border-bottom:1px solid #eceaf1;backdrop-filter:blur(20px)}
.page-container{max-width:1600px;margin:auto;padding:32px}
.sidebar-compact{grid-template-columns:84px minmax(0,1fr)}
.sidebar-compact .sidebar-logo,.sidebar-compact .nav-label,.sidebar-compact .nav-group-title,.sidebar-compact .sidebar-footer{display:none}
.sidebar-compact .sidebar-icon{display:block}.sidebar-compact .sidebar-brand{padding:23px;justify-content:center}
.sidebar-compact .nav-link{justify-content:center;padding:14px 0}.sidebar-compact .nav-link i{font-size:18px}
.ts-wrapper .ts-control{min-height:46px!important;padding:10px 12px;border:2px solid #cbd5e1!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
.ts-wrapper.focus .ts-control{border-color:var(--primary)!important;box-shadow:0 3px 14px #741d1721!important}
.ts-dropdown{z-index:150!important;border:1px solid #e2e8f0!important;border-radius:12px!important;box-shadow:0 12px 30px #2221!important}
.ts-dropdown .option{padding:10px 12px}.ts-wrapper{min-width:0}
div.dt-container .dt-layout-row{gap:12px;flex-wrap:wrap}div.dt-container select.dt-input{height:46px;padding:0 30px 0 10px}
div.dt-container .dt-search{display:flex;align-items:center;gap:10px}div.dt-container .dt-search input{width:220px;margin:0}
div.dt-container .dt-length{display:flex;align-items:center;gap:8px}div.dt-container .dt-length label{display:inline}
div.dt-container .dt-paging .dt-paging-button{border-radius:8px!important}
.notyf__toast{border-radius:14px!important;box-shadow:0 15px 40px #14102426!important}
#confirm-modal .ui-modal-surface{max-width:470px;border-radius:2.5rem;text-align:center}
#confirm-modal .confirm-icon{margin:0 auto 20px;border-radius:50%;width:64px;height:64px;display:grid;place-items:center;background:#fff1f2;color:#e11d48;font-size:26px}
@media(max-width:1023px){
 .app-shell,.sidebar-compact{display:block}.app-sidebar{position:fixed;z-index:60;width:280px;left:0;transform:translateX(-100%);transition:transform .2s}
 .menu-open .app-sidebar{transform:translateX(0)}.menu-open [data-menu-backdrop]{display:block}
 .sidebar-compact .sidebar-logo,.sidebar-compact .nav-label,.sidebar-compact .nav-group-title,.sidebar-compact .sidebar-footer{display:revert}
 .sidebar-compact .sidebar-icon{display:none}.sidebar-compact .nav-link{justify-content:flex-start;padding:11px 13px}.sidebar-compact .sidebar-brand{padding:20px 25px;justify-content:flex-start}
 .app-topbar{height:70px;padding:0 16px}.page-container{padding:22px 16px}
}
@media(max-width:639px){div.dt-container .dt-search input{width:155px}.ui-modal-surface{padding:20px}.ui-modal-group{margin-left:0!important}.app-topbar .user-email{display:none}}
@media(forced-colors:active){input:focus,select:focus,textarea:focus{outline:2px solid Highlight}.app-sidebar::before{display:none}}

/* Compact, always-visible row actions; destructive controls never look like inputs. */
table[data-table] td>.ui-modal-group{margin:0 4px 0 0!important}
table[data-table] td>form[data-confirm]{display:inline-flex!important;margin:0 4px 0 0!important;vertical-align:middle}
table[data-table] td>.ui-modal-group>.ui-modal-trigger,table[data-table] td>form[data-confirm]>button{
 width:36px;min-height:36px;height:36px;padding:0;border-radius:10px;background:#f4f1f8;color:#5d4d70;box-shadow:none;opacity:.6}
table[data-table] td>form[data-confirm]>button{background:#fff1f2;color:#be3455}
table[data-table] tr:hover td>.ui-modal-group>.ui-modal-trigger,table[data-table] tr:hover td>form[data-confirm]>button{opacity:1}
table[data-table] td>.ui-modal-group>.ui-modal-trigger:hover{background:#e8dff3}
table[data-table] td>form[data-confirm]>button:hover{background:#ffe4e6;color:#9f1239}
table[data-table] td .ui-modal form>button{width:auto;opacity:1}
.ui-record-name{width:35%}
.ui-card #busca-alunos{display:grid;grid-template-columns:minmax(0,2fr) minmax(140px,1fr) auto;align-items:end}
.ui-card #busca-alunos>button{height:46px;min-width:140px}
.sidebar-logo{filter:none;background:#fff;padding:10px 12px;border-radius:12px;width:205px}
@media(max-width:639px){.ui-card #busca-alunos{grid-template-columns:1fr}.ui-record-name{width:auto}}

/* Form layout follows the available panel width, not an arbitrary field count. */
.student-directory{container-type:inline-size}
.filter-heading{display:flex;align-items:center;gap:8px;margin-bottom:20px}
.filter-heading h2,.results-heading h2{font-size:16px}
.filter-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:end}
.field{min-width:0}.field-label{min-height:22px;display:flex;align-items:center;gap:7px;margin-bottom:8px}
.field-label label{font-size:13px;line-height:20px}
.student-directory #busca-alunos.filter-grid{grid-template-columns:minmax(0,1fr)}
@container(min-width:600px){.student-directory #busca-alunos.filter-grid{grid-template-columns:minmax(240px,1fr) 180px auto}}
.student-directory #busca-alunos.filter-grid{gap:18px}
.input-with-icon{position:relative;display:flex;align-items:center}
.input-with-icon>i{position:absolute;inset-block:0;left:15px;display:grid;place-items:center;pointer-events:none;color:#94a3b8;font-size:14px}
.input-with-icon input{padding-left:42px!important}
.help-button{display:inline-grid;place-items:center;flex-shrink:0;width:18px;height:18px;min-height:18px;padding:0;border:1px solid #c5cbd4;border-radius:50%;background:#f8fafc;color:#7b8798;font-size:9px;cursor:help}
.help-button:hover,.help-button:focus-visible{color:#741d17;border-color:#b98c88;background:#fff5f3}
.help-tooltip{position:fixed;z-index:250;max-width:min(300px,calc(100vw - 24px));padding:11px 14px;background:#282535;color:#fff;border-radius:12px;font-size:12px;line-height:1.6;box-shadow:0 12px 35px #17132230;pointer-events:none}
.help-tooltip[hidden]{display:none}
.results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.status-pill{display:inline-flex;align-items:center;border-radius:8px;padding:4px 9px;font-size:11px;font-weight:600}
.status-active{background:#eaf7ef;color:#24714b}.status-inactive{background:#f1f2f5;color:#687081}
.row-actions{white-space:nowrap;min-width:140px}
.row-actions .ui-modal-group{vertical-align:middle}
.student-results .ui-record-name{width:auto;min-width:180px}
.server-pagination{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}
div.dt-container .dt-input,div.dt-container .dt-search input,div.dt-container select.dt-input{border:2px solid #cbd5e1!important;border-radius:10px!important;min-height:46px!important;height:46px!important;background:#fff;box-sizing:border-box}
div.dt-container .dt-input:focus{outline:none;border-color:#8c322a!important;box-shadow:0 3px 14px #741d1721}
.ui-modal label:has(input[name=name]),.ui-modal label:has(input[name=title]),.ui-modal label:has(select[name=student_id]),.ui-modal label:has(select[name=offer]){grid-column:1/-1}
@media(max-width:639px){.student-directory #busca-alunos.filter-grid{grid-template-columns:minmax(0,1fr)}div.dt-container .dt-length{justify-content:flex-start}div.dt-container .dt-layout-cell{max-width:100%}div.dt-container .dt-search{justify-content:flex-start}.student-results .ui-record-name{min-width:170px}}

.form-help-row{display:flex;justify-content:flex-end;grid-column:1/-1}.ui-modal-heading h3 .help-button{vertical-align:middle;margin-left:6px}
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}
.page-heading-copy{min-width:0}
.page-eyebrow{font-size:10px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:#741d17;margin:0 0 6px}
.page-heading h1{font-size:28px;line-height:1.25;font-weight:750;letter-spacing:-.03em}
.page-description{font-size:13px;color:#738095;line-height:1.6;margin-top:8px;max-width:800px}
.page-heading-actions{flex-shrink:0}
.page-heading-actions .page-actions{margin:0!important}
.page-heading-actions .ui-modal-trigger{white-space:nowrap}
.ui-modal form:has(input[name=level_name]){grid-template-columns:repeat(6,minmax(0,1fr))!important}
.ui-modal form:has(input[name=level_name])>label{grid-column:span 2}
.ui-modal form:has(input[name=level_name])>label:has(select[name=course_id]),.ui-modal form:has(input[name=level_name])>label:has(input[name=title]),.ui-modal form:has(input[name=level_name])>label:has(textarea){grid-column:1/-1}
@media(max-width:639px){
 .page-heading{flex-wrap:wrap;align-items:flex-start;gap:14px;margin-bottom:20px}
 .page-heading h1{font-size:25px}
 .page-heading-copy{flex:1 1 100%}.page-heading-actions{margin-left:auto}
 .ui-modal form:has(input[name=level_name]){grid-template-columns:minmax(0,1fr)!important}
 .ui-modal form:has(input[name=level_name])>label{grid-column:1/-1}
}

table[data-table] th.actions-column,table[data-table] td.row-actions{text-align:right!important;width:1%;white-space:nowrap}
table[data-table] th.actions-column{min-width:132px;padding-right:20px!important}
table[data-table] td.row-actions{padding-right:16px}
table[data-table] td.row-actions>.ui-modal-group{margin:0 0 0 5px!important}
table[data-table] td.row-actions>form[data-confirm]{margin:0 0 0 5px!important}
table[data-table] td.row-actions .ui-modal{text-align:left;white-space:normal}
table[data-table] .ui-modal-surface{color:#475569}
table[data-table] td:last-child:not(.row-actions)>.ui-modal-group,table[data-table] td:last-child:not(.row-actions)>form[data-confirm]{vertical-align:middle}
.ui-modal form>button[type=submit],.ui-card form>button[type=submit]{justify-self:end}
.filter-grid>button[type=submit],.agenda-filters>button[type=submit]{justify-self:stretch}

.history-filters{grid-template-columns:180px 180px 24px auto!important;justify-content:start}.history-filters>button[type=submit]{height:46px}@media(max-width:639px){.history-filters{grid-template-columns:minmax(0,1fr)!important}}
/* Size grids by the actual panel, preserving full-width descriptive fields. */
.ui-card>article,.admin-grid>article{container-type:inline-size}
@container(min-width:600px){
 .ui-card article>form{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ui-card article>form>label:has(textarea),.ui-card article>form>label:has(select[name=teacher_id]),.ui-card article>form>label:has(select[name=offer]),.ui-card article>form>label:has(input[name=title]){grid-column:1/-1}
 .ui-card article>form>button[type=submit]{grid-column:1/-1}
}
@container(min-width:900px){
 .ui-card article>form{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.ui-modal form:has(input[name=code]):has(input[name=name]){grid-template-columns:repeat(12,minmax(0,1fr))!important}
.ui-modal form:has(input[name=code]):has(input[name=name])>label:has(input[name=code]){grid-column:span 4}
.ui-modal form:has(input[name=code]):has(input[name=name])>label:has(input[name=name]){grid-column:span 8}
.ui-modal form:has(input[name=code]):has(input[name=name])>label:has(textarea){grid-column:1/-1}
.ui-modal label:has(select[name=book_id]){grid-column:1/-1}
@media(max-width:639px){
 .ui-modal form:has(input[name=code]):has(input[name=name]){grid-template-columns:minmax(0,1fr)!important}
 .ui-modal form:has(input[name=code]):has(input[name=name])>label{grid-column:1/-1!important}
}

/* Shared profile, avatar crop and concise supporting information. */
.profile-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px}
.profile-photo-card{text-align:center}.profile-photo-card h2{text-align:left;font-size:18px}
.profile-avatar{width:128px;height:128px;margin:26px auto;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#f0eaf6;color:#5b3877;font-size:44px;font-weight:700}
.profile-avatar img,.user-photo{width:100%;height:100%;object-fit:cover}
.upload-picker{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px}
.upload-picker label{display:inline-flex;cursor:pointer}
.upload-file-name{max-width:190px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:11px;color:#94a3b8;flex-basis:100%}
.profile-photo-card form{margin-top:18px;justify-content:center}
.profile-account-form{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:22px}
.profile-role{grid-column:1/-1}.profile-role .status-pill{gap:7px}
.profile-account-form button[type=submit]{grid-column:1/-1}
.profile-password-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px!important}
.profile-password-form>button[type=submit]{grid-column:1/-1}
.avatar-crop-stage{height:350px;max-height:48vh;background:#f1f3f6;border-radius:14px;overflow:hidden}
.avatar-crop-stage img{display:block;max-width:100%}
.avatar-crop-tools{display:flex;justify-content:center;gap:10px;margin:16px 0}
.user-menu{position:relative}
.user-menu-toggle{display:flex;align-items:center;gap:10px;border:0;background:none;padding:0;text-align:left}
.user-avatar-small{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;overflow:hidden;border-radius:50%;background:#ede9fe;color:#5b21b6;font-size:14px;font-weight:700}
.user-menu-panel{position:absolute;right:0;top:54px;z-index:70;min-width:210px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:8px;box-shadow:0 14px 40px #2222}
.user-menu-panel[hidden]{display:none}
.user-menu-panel a,.user-menu-panel button[type=submit]{display:flex;align-items:center;gap:10px;width:100%;height:42px;min-height:42px;padding:0 12px;border-radius:10px;background:transparent;color:#475569;font-size:13px;font-weight:500;box-shadow:none}
.user-menu-panel a:hover,.user-menu-panel button[type=submit]:hover{background:#f5f2f9;color:#741d17}
.editor-field{min-width:0;grid-column:1/-1}
.editor-field>label{margin-bottom:8px}
.editor-body{border:2px solid #cbd5e1;border-radius:12px;background:#fff;overflow:hidden}
.editor-body:focus-within{border-color:#8c322a;box-shadow:0 3px 14px #741d1721}
.editor-toolbar{display:flex;align-items:center;gap:4px;padding:5px 8px;border-bottom:1px solid #e2e8f0;background:#f8fafc}
.editor-tool{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:7px;color:#64748b;background:transparent;font-size:12px}
.editor-tool:hover{background:#eee7f4;color:#5b3877}
.editor-counter{margin-left:auto;font-size:10px;color:#94a3b8}
.editor-body textarea{border:0!important;border-radius:0;min-height:130px;box-shadow:none!important}
.editor-body textarea[hidden],.editor-preview[hidden]{display:none}
.editor-preview{min-height:130px;padding:14px;font-size:14px}
.editor-list{list-style:disc!important;padding-left:22px!important;margin:8px 0!important}
.editor-heading{font-weight:700;margin:8px 0}
.formatted-text p{margin:5px 0}.formatted-text{overflow-wrap:anywhere}
.compact-form{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:end;gap:18px!important}
.compact-form>label{grid-column:auto!important}
.compact-form>button[type=submit]{grid-column:1/-1;justify-self:end}
.offer-form{grid-template-columns:repeat(2,minmax(0,1fr)) auto!important}
.offer-form>button[type=submit]{grid-column:auto!important}
div.dt-container .dt-length{gap:10px!important}div.dt-container .dt-length label{display:inline-block!important;margin:0}
.agenda-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.agenda-toolbar .week-range{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:650;color:#475569}
.agenda-toolbar .week-navigation{display:flex;align-items:center;gap:8px;margin:0!important}
.agenda-toolbar .week-navigation a{display:inline-flex;align-items:center;justify-content:center;height:36px;min-width:36px;border-radius:10px;background:#f1edf7;color:#5b3877;padding:0 10px}
.agenda-toolbar .print-link{margin-left:6px}
.agenda-filters button[type=submit]{height:46px;min-height:46px;align-self:end}
.agenda-legend{gap:8px}.agenda-legend>strong{display:none}
.agenda-state{display:inline-flex;padding:4px 9px}
@media(max-width:767px){.profile-grid{grid-template-columns:minmax(0,1fr)}.profile-account-form,.profile-password-form,.compact-form,.offer-form{grid-template-columns:minmax(0,1fr)!important}.compact-form>button[type=submit]{grid-column:1/-1}.avatar-crop-stage{height:280px}.user-menu-toggle .user-email{display:none}}

/* Fit identity fields to their actual card, not just the viewport. */
.profile-grid>.ui-card{container-type:inline-size}
.profile-account-form{grid-template-columns:minmax(0,1fr)}
@container(min-width:560px){.profile-account-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
.user-record{display:flex;align-items:center;gap:12px;min-width:210px}
.user-record .user-avatar-small{width:34px;height:34px;font-size:12px}
@media(min-width:768px) and (max-width:1050px){.profile-password-form{grid-template-columns:minmax(0,1fr)}}

.upload-picker input:focus-visible+label{outline:2px solid #741d17;outline-offset:3px}

.ui-modal form.user-status-form{display:flex!important;align-items:center;justify-content:space-between;border-top:1px solid #e2e8f0;padding-top:18px;margin-top:20px}

.hover\:-translate-y-1:hover {
  --tw-translate-y: -0.25rem;
  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));
}

.hover\:border-violet-200:hover {
  --tw-border-opacity: 1;
  border-color: rgb(221 214 254 / var(--tw-border-opacity, 1));
}

.hover\:shadow-md:hover {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.group:hover .group-hover\:text-brand-800 {
  --tw-text-opacity: 1;
  color: rgb(116 29 23 / var(--tw-text-opacity, 1));
}

@media (min-width: 640px) {

  .sm\:block {
    display: block;
  }

  .sm\:inline {
    display: inline;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:p-9 {
    padding: 2.25rem;
  }

  .sm\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

@media (min-width: 768px) {

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:flex-col {
    flex-direction: column;
  }

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

@media (min-width: 1280px) {

  .xl\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
