/* crm-base-bundle.css — generated by scripts/build_crm_base_css_bundle.sh */
/* DO NOT EDIT — modifica i file sorgente in static/app/ e rigenera */
/* === BEGIN app_part_01.css === */
/* Auto-generated by scripts/css_mechanical_split.py
   Source: app_part_01.css
   Part 1/2 - load order critical.
   Do not reorder or merge without re-running the splitter. */

/* Auto-generated by scripts/css_mechanical_split.py
   Source: app.css
   Part 1/4 - load order critical.
   Do not reorder or merge without re-running the splitter. */

*, ::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.19 | 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.
*/

/* === END app_part_01.css === */
/* === BEGIN app_part_02.css === */
/* Auto-generated by scripts/css_mechanical_split.py
   Source: app_part_01.css
   Part 2/2 - load order critical.
   Do not reorder or merge without re-running the splitter. */

[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]:where(:not([hidden="until-found"])) {
  display: none;
}

.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;
  }
}

.pointer-events-none {
  pointer-events: none;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.inset-0 {
  inset: 0px;
}

.-top-24 {
  top: -6rem;
}

.bottom-0 {
  bottom: 0px;
}

.bottom-16 {
  bottom: 4rem;
}

.bottom-3 {
  bottom: 0.75rem;
}

.left-0 {
  left: 0px;
}

.left-1\/2 {
  left: 50%;
}

.left-24 {
  left: 6rem;
}

.left-3 {
  left: 0.75rem;
}

.right-0 {
  right: 0px;
}

.right-24 {
  right: 6rem;
}

.right-3 {
  right: 0.75rem;
}

.top-0 {
  top: 0px;
}

.top-1\/2 {
  top: 50%;
}

.top-3 {
  top: 0.75rem;
}

.top-4 {
  top: 1rem;
}

.top-40 {
  top: 10rem;
}

.top-6 {
  top: 1.5rem;
}

.top-full {
  top: 100%;
}

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

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

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

.z-\[1000\] {
  z-index: 1000;
}

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

.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

/* === END app_part_02.css === */
/* === BEGIN app_part_03.css === */
/* Auto-generated by scripts/css_mechanical_split.py
   Source: app_part_03.css
   Part 1/2 - load order critical.
   Do not reorder or merge without re-running the splitter. */

/* Auto-generated by scripts/css_mechanical_split.py
   Source: app.css
   Part 2/4 - load order critical.
   Do not reorder or merge without re-running the splitter. */

.ml-2 {
  margin-left: 0.5rem;
}

.ml-auto {
  margin-left: auto;
}

.mr-1 {
  margin-right: 0.25rem;
}

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

.mt-1 {
  margin-top: 0.25rem;
}

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

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

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

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

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

.mt-2\.5 {
  margin-top: 0.625rem;
}

.mb-0 {
  margin-bottom: 0px;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.aspect-\[16\/9\] {
  aspect-ratio: 16/9;
}

.h-10 {
  height: 2.5rem;
}

.h-16 {
  height: 4rem;
}

.h-20 {
  height: 5rem;
}

.h-28 {
  height: 7rem;
}

.h-3 {
  height: 0.75rem;
}

.h-4 {
  height: 1rem;
}

.h-48 {
  height: 12rem;
}

.h-8 {
  height: 2rem;
}

.h-9 {
  height: 2.25rem;
}

.h-\[260px\] {
  height: 260px;
}

.h-\[280px\] {
  height: 280px;
}

.h-\[320px\] {
  height: 320px;
}

.h-\[420px\] {
  height: 420px;
}

.h-\[80vh\] {
  height: 80vh;
}

.h-full {
  height: 100%;
}

.h-screen {
  height: 100vh;
}

.h-11 {
  height: 2.75rem;
}

.max-h-\[calc\(100vh-3rem\)\] {
  max-height: calc(100vh - 3rem);
}

.max-h-screen {
  max-height: 100vh;
}

.max-h-\[28rem\] {
  max-height: 28rem;
}

.max-h-80 {
  max-height: 20rem;
}

.min-h-\[180px\] {
  min-height: 180px;
}

.min-h-\[220px\] {
  min-height: 220px;
}

.min-h-\[70vh\] {
  min-height: 70vh;
}

.min-h-\[90px\] {
  min-height: 90px;
}

.min-h-screen {
  min-height: 100vh;
}

.min-h-\[112px\] {
  min-height: 112px;
}

.min-h-\[108px\] {
  min-height: 108px;
}

.min-h-0 {
  min-height: 0px;
}

.w-10 {
  width: 2.5rem;
}

.w-24 {
  width: 6rem;
}

.w-4 {
  width: 1rem;
}

.w-56 {
  width: 14rem;
}

.w-72 {
  width: 18rem;
}

.w-8 {
  width: 2rem;
}

.w-80 {
  width: 20rem;
}

.w-9 {
  width: 2.25rem;
}

.w-\[280px\] {
  width: 280px;
}

.w-\[320px\] {
  width: 320px;
}

.w-\[720px\] {
  width: 720px;
}

.w-full {
  width: 100%;
}

.w-11 {
  width: 2.75rem;
}

.w-\[72px\] {
  width: 72px;
}

.w-44 {
  width: 11rem;
}

.w-40 {
  width: 10rem;
}

.min-w-0 {
  min-width: 0px;
}

.min-w-\[1200px\] {
  min-width: 1200px;
}

.min-w-\[220px\] {
  min-width: 220px;
}

.min-w-\[92px\] {
  min-width: 92px;
}

.min-w-full {
  min-width: 100%;
}

.min-w-\[120px\] {
  min-width: 120px;
}

.max-w-2xl {
  max-width: 42rem;
}

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

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.max-w-\[260px\] {
  max-width: 260px;
}

.max-w-full {
  max-width: 100%;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-\[92px\] {
  max-width: 92px;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.shrink-0 {
  flex-shrink: 0;
}

.border-collapse {
  border-collapse: collapse;
}

.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  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-1\/2 {
  --tw-translate-y: -50%;
  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));
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.cursor-pointer {
  cursor: pointer;
}

.resize {
  resize: both;
}

.list-none {
  list-style-type: none;
}

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

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

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

/* === END app_part_03.css === */
/* === BEGIN app_part_04.css === */
/* Auto-generated by scripts/css_mechanical_split.py
   Source: app_part_03.css
   Part 2/2 - load order critical.
   Do not reorder or merge without re-running the splitter. */

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

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

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

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

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

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

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

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

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

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

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

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

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

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

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

.space-y-3 > :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));
}

.space-y-4 > :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));
}

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

.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));
}

.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-white\/10 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgb(255 255 255 / 0.1);
}

.overflow-hidden {
  overflow: hidden;
}

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

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

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

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

.whitespace-pre-line {
  white-space: pre-line;
}

.whitespace-pre-wrap {
  white-space: pre-wrap;
}

.break-words {
  overflow-wrap: break-word;
}

.break-all {
  word-break: break-all;
}

.rounded {
  border-radius: 0.25rem;
}

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

.rounded-full {
  border-radius: 9999px;
}

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

.rounded-xl {
  border-radius: 0.75rem;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

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

.border-amber-300\/30 {
  border-color: rgb(252 211 77 / 0.3);
}

.border-amber-400\/20 {
  border-color: rgb(251 191 36 / 0.2);
}

.border-cyan-400\/20 {
  border-color: rgb(34 211 238 / 0.2);
}

.border-cyan-500\/20 {
  border-color: rgb(6 182 212 / 0.2);
}

.border-emerald-400\/20 {
  border-color: rgb(52 211 153 / 0.2);
}

.border-emerald-500\/20 {
  border-color: rgb(16 185 129 / 0.2);
}

.border-emerald-500\/40 {
  border-color: rgb(16 185 129 / 0.4);
}

.border-rose-400\/20 {
  border-color: rgb(251 113 133 / 0.2);
}

.border-rose-400\/30 {
  border-color: rgb(251 113 133 / 0.3);
}

.border-rose-500\/20 {
  border-color: rgb(244 63 94 / 0.2);
}

.border-rose-500\/30 {
  border-color: rgb(244 63 94 / 0.3);
}

.border-sky-400\/20 {
  border-color: rgb(56 189 248 / 0.2);
}

.border-slate-700 {
  --tw-border-opacity: 1;
  border-color: rgb(51 65 85 / var(--tw-border-opacity, 1));
}

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

.border-white\/10 {
  border-color: rgb(255 255 255 / 0.1);
}

.border-white\/15 {
  border-color: rgb(255 255 255 / 0.15);
}

.border-white\/20 {
  border-color: rgb(255 255 255 / 0.2);
}

.border-white\/30 {
  border-color: rgb(255 255 255 / 0.3);
}

.border-white\/5 {
  border-color: rgb(255 255 255 / 0.05);
}

.border-\[color\:var\(--border-1\)\] {
  border-color: var(--border-1);
}

.bg-amber-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(251 191 36 / var(--tw-bg-opacity, 1));
}

.bg-amber-500\/10 {
  background-color: rgb(245 158 11 / 0.1);
}

.bg-amber-500\/15 {
  background-color: rgb(245 158 11 / 0.15);
}

.bg-amber-500\/20 {
  background-color: rgb(245 158 11 / 0.2);
}

.bg-black\/30 {
  background-color: rgb(0 0 0 / 0.3);
}

.bg-black\/60 {
  background-color: rgb(0 0 0 / 0.6);
}

.bg-cyan-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 211 238 / var(--tw-bg-opacity, 1));
}

.bg-cyan-500\/10 {
  background-color: rgb(6 182 212 / 0.1);
}

.bg-cyan-500\/15 {
  background-color: rgb(6 182 212 / 0.15);
}

.bg-emerald-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(52 211 153 / var(--tw-bg-opacity, 1));
}

.bg-emerald-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
}

.bg-emerald-500\/10 {
  background-color: rgb(16 185 129 / 0.1);
}

.bg-emerald-500\/15 {
  background-color: rgb(16 185 129 / 0.15);
}

.bg-emerald-500\/20 {
  background-color: rgb(16 185 129 / 0.2);
}

.bg-emerald-500\/70 {
  background-color: rgb(16 185 129 / 0.7);
}

.bg-emerald-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(5 150 105 / var(--tw-bg-opacity, 1));
}

.bg-indigo-500\/10 {
  background-color: rgb(99 102 241 / 0.1);
}

.bg-indigo-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1));
}

.bg-rose-500\/10 {
  background-color: rgb(244 63 94 / 0.1);
}

/* === END app_part_04.css === */
/* === BEGIN app_part_05.css === */
/* Auto-generated by scripts/css_mechanical_split.py
   Source: app_part_05.css
   Part 1/2 - load order critical.
   Do not reorder or merge without re-running the splitter. */

/* Auto-generated by scripts/css_mechanical_split.py
   Source: app.css
   Part 3/4 - load order critical.
   Do not reorder or merge without re-running the splitter. */

.bg-rose-500\/15 {
  background-color: rgb(244 63 94 / 0.15);
}

.bg-rose-500\/20 {
  background-color: rgb(244 63 94 / 0.2);
}

.bg-sky-500\/20 {
  background-color: rgb(14 165 233 / 0.2);
}

.bg-slate-900\/20 {
  background-color: rgb(15 23 42 / 0.2);
}

.bg-slate-900\/30 {
  background-color: rgb(15 23 42 / 0.3);
}

.bg-slate-950 {
  --tw-bg-opacity: 1;
  background-color: rgb(2 6 23 / var(--tw-bg-opacity, 1));
}

.bg-slate-950\/20 {
  background-color: rgb(2 6 23 / 0.2);
}

.bg-slate-950\/30 {
  background-color: rgb(2 6 23 / 0.3);
}

.bg-slate-950\/40 {
  background-color: rgb(2 6 23 / 0.4);
}

.bg-slate-950\/60 {
  background-color: rgb(2 6 23 / 0.6);
}

.bg-slate-950\/75 {
  background-color: rgb(2 6 23 / 0.75);
}

.bg-slate-950\/80 {
  background-color: rgb(2 6 23 / 0.8);
}

.bg-slate-950\/90 {
  background-color: rgb(2 6 23 / 0.9);
}

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

.bg-white\/10 {
  background-color: rgb(255 255 255 / 0.1);
}

.bg-white\/15 {
  background-color: rgb(255 255 255 / 0.15);
}

.bg-white\/5 {
  background-color: rgb(255 255 255 / 0.05);
}

.bg-black\/10 {
  background-color: rgb(0 0 0 / 0.1);
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-1\.5 {
  padding: 0.375rem;
}

.p-2\.5 {
  padding: 0.625rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

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

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

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

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

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

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

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

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

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

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

.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

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

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

.pb-3 {
  padding-bottom: 0.75rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pt-1 {
  padding-top: 0.25rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-5 {
  padding-top: 1.25rem;
}

.pr-1 {
  padding-right: 0.25rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

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

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

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

.align-top {
  vertical-align: top;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

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

.text-\[10px\] {
  font-size: 10px;
}

.text-\[11px\] {
  font-size: 11px;
}

.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;
}

.text-\[2rem\] {
  font-size: 2rem;
}

.text-\[1\.9rem\] {
  font-size: 1.9rem;
}

.text-\[12px\] {
  font-size: 12px;
}

.text-\[13px\] {
  font-size: 13px;
}

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

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

.uppercase {
  text-transform: uppercase;
}

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

.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.25;
}

.leading-4 {
  line-height: 1rem;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.text-amber-100 {
  --tw-text-opacity: 1;
  color: rgb(254 243 199 / var(--tw-text-opacity, 1));
}

.text-amber-100\/80 {
  color: rgb(254 243 199 / 0.8);
}

.text-amber-200 {
  --tw-text-opacity: 1;
  color: rgb(253 230 138 / var(--tw-text-opacity, 1));
}

.text-cyan-100 {
  --tw-text-opacity: 1;
  color: rgb(207 250 254 / var(--tw-text-opacity, 1));
}

.text-cyan-200 {
  --tw-text-opacity: 1;
  color: rgb(165 243 252 / var(--tw-text-opacity, 1));
}

.text-emerald-200 {
  --tw-text-opacity: 1;
  color: rgb(167 243 208 / var(--tw-text-opacity, 1));
}

.text-emerald-300 {
  --tw-text-opacity: 1;
  color: rgb(110 231 183 / var(--tw-text-opacity, 1));
}

.text-red-400 {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}

.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}

.text-rose-100 {
  --tw-text-opacity: 1;
  color: rgb(255 228 230 / var(--tw-text-opacity, 1));
}

.text-rose-200 {
  --tw-text-opacity: 1;
  color: rgb(254 205 211 / var(--tw-text-opacity, 1));
}

.text-rose-200\/70 {
  color: rgb(254 205 211 / 0.7);
}

.text-rose-200\/80 {
  color: rgb(254 205 211 / 0.8);
}

/* === END app_part_05.css === */
/* === BEGIN app_part_06.css === */
/* Auto-generated by scripts/css_mechanical_split.py
   Source: app_part_05.css
   Part 2/2 - load order critical.
   Do not reorder or merge without re-running the splitter. */

.text-rose-300 {
  --tw-text-opacity: 1;
  color: rgb(253 164 175 / var(--tw-text-opacity, 1));
}

.text-sky-200 {
  --tw-text-opacity: 1;
  color: rgb(186 230 253 / var(--tw-text-opacity, 1));
}

.text-slate-100 {
  --tw-text-opacity: 1;
  color: rgb(241 245 249 / var(--tw-text-opacity, 1));
}

.text-slate-200 {
  --tw-text-opacity: 1;
  color: rgb(226 232 240 / var(--tw-text-opacity, 1));
}

.text-slate-200\/80 {
  color: rgb(226 232 240 / 0.8);
}

.text-slate-200\/90 {
  color: rgb(226 232 240 / 0.9);
}

.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-700 {
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity, 1));
}

.text-slate-900 {
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
}

.text-slate-950 {
  --tw-text-opacity: 1;
  color: rgb(2 6 23 / var(--tw-text-opacity, 1));
}

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

.text-cyan-300 {
  --tw-text-opacity: 1;
  color: rgb(103 232 249 / var(--tw-text-opacity, 1));
}

.text-slate-600 {
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1));
}

.underline {
  text-decoration-line: underline;
}

.line-through {
  text-decoration-line: line-through;
}

.decoration-dotted {
  text-decoration-style: dotted;
}

.underline-offset-2 {
  text-underline-offset: 2px;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.opacity-0 {
  opacity: 0;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-70 {
  opacity: 0.7;
}

.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px 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-2xl {
  --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);
}

.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-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);
}

.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.ring {
  --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(3px + 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-2 {
  --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, 0 0 #0000);
}

.ring-emerald-400\/60 {
  --tw-ring-color: rgb(52 211 153 / 0.6);
}

.blur {
  --tw-blur: blur(8px);
  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);
}

.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);
}

.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 {
  --tw-backdrop-blur: blur(8px);
  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-blur-sm {
  --tw-backdrop-blur: blur(4px);
  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 {
  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;
}

.file\:mr-3::file-selector-button {
  margin-right: 0.75rem;
}

.file\:rounded-xl::file-selector-button {
  border-radius: 0.75rem;
}

.file\:border::file-selector-button {
  border-width: 1px;
}

.file\:border-white\/10::file-selector-button {
  border-color: rgb(255 255 255 / 0.1);
}

.file\:bg-white\/10::file-selector-button {
  background-color: rgb(255 255 255 / 0.1);
}

.file\:px-3::file-selector-button {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.file\:py-2::file-selector-button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.file\:text-sm::file-selector-button {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.file\:text-slate-200::file-selector-button {
  --tw-text-opacity: 1;
  color: rgb(226 232 240 / var(--tw-text-opacity, 1));
}

.placeholder\:text-slate-500::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}

.placeholder\:text-slate-500::placeholder {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}

.hover\:bg-amber-500\/30:hover {
  background-color: rgb(245 158 11 / 0.3);
}

.hover\:bg-cyan-500\/25:hover {
  background-color: rgb(6 182 212 / 0.25);
}

.hover\:bg-emerald-400:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(52 211 153 / var(--tw-bg-opacity, 1));
}

.hover\:bg-emerald-500:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
}

.hover\:bg-emerald-500\/25:hover {
  background-color: rgb(16 185 129 / 0.25);
}

.hover\:bg-emerald-500\/30:hover {
  background-color: rgb(16 185 129 / 0.3);
}

.hover\:bg-indigo-500:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(99 102 241 / var(--tw-bg-opacity, 1));
}

.hover\:bg-rose-500\/15:hover {
  background-color: rgb(244 63 94 / 0.15);
}

.hover\:bg-rose-500\/20:hover {
  background-color: rgb(244 63 94 / 0.2);
}

.hover\:bg-rose-500\/25:hover {
  background-color: rgb(244 63 94 / 0.25);
}

.hover\:bg-rose-500\/30:hover {
  background-color: rgb(244 63 94 / 0.3);
}

.hover\:bg-sky-500\/30:hover {
  background-color: rgb(14 165 233 / 0.3);
}

.hover\:bg-slate-900\/40:hover {
  background-color: rgb(15 23 42 / 0.4);
}

.hover\:bg-slate-950\/30:hover {
  background-color: rgb(2 6 23 / 0.3);
}

.hover\:bg-slate-950\/40:hover {
  background-color: rgb(2 6 23 / 0.4);
}

.hover\:bg-slate-950\/80:hover {
  background-color: rgb(2 6 23 / 0.8);
}

.hover\:bg-white\/10:hover {
  background-color: rgb(255 255 255 / 0.1);
}

.hover\:bg-white\/15:hover {
  background-color: rgb(255 255 255 / 0.15);
}

.hover\:bg-white\/20:hover {
  background-color: rgb(255 255 255 / 0.2);
}

.hover\:bg-white\/5:hover {
  background-color: rgb(255 255 255 / 0.05);
}

.hover\:text-emerald-300:hover {
  --tw-text-opacity: 1;
  color: rgb(110 231 183 / var(--tw-text-opacity, 1));
}

.hover\:text-slate-100:hover {
  --tw-text-opacity: 1;
  color: rgb(241 245 249 / var(--tw-text-opacity, 1));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.hover\:no-underline:hover {
  text-decoration-line: none;
}

.hover\:opacity-90:hover {
  opacity: 0.9;
}

.hover\:file\:bg-white\/15::file-selector-button:hover {
  background-color: rgb(255 255 255 / 0.15);
}

.focus\:border-emerald-400\/60:focus {
  border-color: rgb(52 211 153 / 0.6);
}

.focus\:border-white\/20:focus {
  border-color: rgb(255 255 255 / 0.2);
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

/* === END app_part_06.css === */
/* === BEGIN app_part_07.css === */
/* Auto-generated by scripts/css_mechanical_split.py
   Source: app.css
   Part 4/4 - load order critical.
   Do not reorder or merge without re-running the splitter. */

.focus\:ring-2: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(2px + 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);
}

.focus\:ring-emerald-500\/30:focus {
  --tw-ring-color: rgb(16 185 129 / 0.3);
}

.focus\:ring-emerald-500\/40:focus {
  --tw-ring-color: rgb(16 185 129 / 0.4);
}

.focus\:ring-white\/20:focus {
  --tw-ring-color: rgb(255 255 255 / 0.2);
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

@media (min-width: 640px) {
  .sm\:w-80 {
    width: 20rem;
  }

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

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

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:items-start {
    align-items: flex-start;
  }

  .sm\:items-end {
    align-items: flex-end;
  }

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

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

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

@media (min-width: 768px) {
  .md\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .md\:col-span-4 {
    grid-column: span 4 / span 4;
  }

  .md\:mt-6 {
    margin-top: 1.5rem;
  }

  .md\:block {
    display: block;
  }

  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:w-64 {
    width: 16rem;
  }

  .md\:w-96 {
    width: 24rem;
  }

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

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

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

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

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

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

  .md\:grid-cols-\[minmax\(0\2c 1fr\)_220px_auto_auto\] {
    grid-template-columns: minmax(0,1fr) 220px auto auto;
  }

  .md\:grid-cols-\[1fr_auto\] {
    grid-template-columns: 1fr auto;
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:items-start {
    align-items: flex-start;
  }

  .md\:items-end {
    align-items: flex-end;
  }

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

  .md\:justify-end {
    justify-content: flex-end;
  }

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

  .md\:gap-4 {
    gap: 1rem;
  }

  .md\:px-0 {
    padding-left: 0px;
    padding-right: 0px;
  }

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

  .md\:py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .md\:pb-0 {
    padding-bottom: 0px;
  }

  .md\:pt-6 {
    padding-top: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .lg\:block {
    display: block;
  }

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

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

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

@media (min-width: 1280px) {
  .xl\:col-span-1 {
    grid-column: span 1 / span 1;
  }

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

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

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

@media print {
  .print\:block {
    display: block;
  }
}


/* kill residual pipeline overlay */
#pipelineBlockedModal,
.pipeline-blocked-modal,
.pipeline-overlay,
.pipeline-modal-backdrop,
.modal-backdrop,
.ui-backdrop,
[data-pipeline-overlay]{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  filter:none !important;
}



/* Property detail gallery: force image to fill fixed container */
.ui-gallery-stage{
  position: relative !important;
  width: 100% !important;
  height: 560px !important;
  min-height: 560px !important;
  max-height: 560px !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  background: rgba(2, 6, 23, 0.92) !important;
}

#galleryImg.ui-gallery-image,
#galleryImg.ui-gallery-image.ui-gallery-image--fill,
.ui-gallery-stage > #galleryImg{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
  border: 0 !important;
}

@media (max-width: 1024px){
  .ui-gallery-stage{
    height: 460px !important;
    min-height: 460px !important;
    max-height: 460px !important;
  }
}

@media (max-width: 640px){
  .ui-gallery-stage{
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
  }
}

/* === END app_part_07.css === */
/* === BEGIN crm-ui_part_01.css === */
/* Auto-generated by scripts/css_mechanical_split.py
   Source: crm-ui_part_01.css
   Part 1/2 - load order critical.
   Do not reorder or merge without re-running the splitter. */

/* Auto-generated by scripts/css_mechanical_split.py
   Source: crm-ui.css
   Part 1/2 - load order critical.
   Do not reorder or merge without re-running the splitter. */

:root{
  --crm-text:#e8eefc;
  --crm-text-soft:#cbd5e1;
  --crm-text-faint:#94a3b8;

  --crm-surface:rgba(7,12,24,.58);
  --crm-surface-soft:rgba(9,16,30,.46);
  --crm-surface-muted:rgba(15,23,42,.34);

  --crm-border:rgba(255,255,255,.10);
  --crm-border-strong:rgba(255,255,255,.16);

  --crm-shadow-sm:0 1px 2px rgba(2,6,23,.26);
  --crm-shadow-md:0 16px 36px rgba(2,6,23,.30);

  --crm-primary:#3b82f6;
  --crm-primary-hover:#2563eb;

  --crm-danger:#f87171;
  --crm-danger-bg:rgba(248,113,113,.14);
  --crm-info:#22d3ee;
  --crm-info-bg:rgba(34,211,238,.12);
  --crm-success:#4ade80;
  --crm-success-bg:rgba(74,222,128,.12);

  --crm-blur:saturate(165%) blur(18px);

  --crm-glow-1:rgba(56,189,248,.16);
  --crm-glow-2:rgba(59,130,246,.14);
  --crm-glow-3:rgba(16,185,129,.12);

  /* semantic aliases */
  --text-1:var(--crm-text);
  --text-2:var(--crm-text-soft);
  --text-3:var(--crm-text-faint);

  --surface-1:var(--crm-surface);
  --surface-2:var(--crm-surface-soft);
  --surface-3:var(--crm-surface-muted);

  --border-1:var(--crm-border);
  --border-2:var(--crm-border-strong);

  --shadow-1:var(--crm-shadow-sm);
  --shadow-2:var(--crm-shadow-md);

  --accent:var(--crm-primary);
  --accent-hover:var(--crm-primary-hover);
  --accent-contrast:#ffffff;

  --danger:var(--crm-danger);
  --danger-bg:var(--crm-danger-bg);
  --info:var(--crm-info);
  --info-bg:var(--crm-info-bg);
  --success:var(--crm-success);
  --success-bg:var(--crm-success-bg);

  --crm-interactive-ease:.16s ease;
  --crm-interactive-lift:-2px;
  --crm-interactive-radius:1.125rem;
  --crm-interactive-border-hover:color-mix(in srgb, var(--crm-success) 38%, transparent);
  --crm-interactive-ring-hover:color-mix(in srgb, var(--crm-success) 16%, transparent);
  --crm-interactive-bg-hover:var(--surface-3);
  --crm-interactive-shadow-hover:0 20px 46px rgba(0,0,0,.34), 0 0 0 1px var(--crm-interactive-ring-hover), inset 0 1px 0 rgba(255,255,255,.07);
  --crm-kpi-hover-border:color-mix(in srgb, var(--crm-primary) 52%, transparent);
  --crm-kpi-hover-ring:color-mix(in srgb, var(--crm-primary) 24%, transparent);
  --crm-kpi-hover-bg:color-mix(in srgb, var(--crm-primary) 16%, var(--surface-2));
  --crm-kpi-hover-shadow:0 22px 50px rgba(0,0,0,.38), 0 0 0 1px var(--crm-kpi-hover-ring), inset 0 1px 0 rgba(255,255,255,.08);
}

/* ===== PRESET SCURI ===== */

html[data-preset="dark-default"],
body[data-preset="dark-default"]{
  --crm-surface:rgba(7,12,24,.60);
  --crm-surface-soft:rgba(9,16,30,.48);
  --crm-surface-muted:rgba(15,23,42,.34);
}

html[data-preset="emerald-glow"],
body[data-preset="emerald-glow"]{
  --crm-surface:rgba(5,20,18,.58);
  --crm-surface-soft:rgba(7,24,20,.46);
  --crm-surface-muted:rgba(8,30,24,.34);
  --crm-border:rgba(110,231,183,.12);
  --crm-primary:#10b981;
  --crm-primary-hover:#059669;
  --crm-glow-1:rgba(16,185,129,.18);
  --crm-glow-2:rgba(34,197,94,.14);
  --crm-glow-3:rgba(20,184,166,.12);
}

html[data-preset="blue-night"],
body[data-preset="blue-night"]{
  --crm-surface:rgba(7,16,34,.60);
  --crm-surface-soft:rgba(8,18,42,.48);
  --crm-surface-muted:rgba(10,24,52,.34);
  --crm-border:rgba(96,165,250,.12);
  --crm-primary:#3b82f6;
  --crm-primary-hover:#2563eb;
  --crm-glow-1:rgba(59,130,246,.20);
  --crm-glow-2:rgba(14,165,233,.16);
  --crm-glow-3:rgba(99,102,241,.12);
}

html[data-preset="purple-nebula"],
body[data-preset="purple-nebula"]{
  --crm-surface:rgba(26,10,38,.60);
  --crm-surface-soft:rgba(30,12,44,.48);
  --crm-surface-muted:rgba(44,16,60,.34);
  --crm-border:rgba(196,181,253,.12);
  --crm-primary:#8b5cf6;
  --crm-primary-hover:#7c3aed;
  --crm-glow-1:rgba(168,85,247,.20);
  --crm-glow-2:rgba(217,70,239,.16);
  --crm-glow-3:rgba(99,102,241,.12);
}

html[data-preset="slate-minimal"],
body[data-preset="slate-minimal"]{
  --crm-surface:rgba(2,6,23,.64);
  --crm-surface-soft:rgba(6,10,18,.52);
  --crm-surface-muted:rgba(15,23,42,.36);
  --crm-border:rgba(148,163,184,.12);
  --crm-primary:#475569;
  --crm-primary-hover:#334155;
  --crm-glow-1:rgba(51,65,85,.16);
  --crm-glow-2:rgba(71,85,105,.12);
  --crm-glow-3:rgba(100,116,139,.10);
}

/* ===== LIGHT SOFT ===== */

html[data-preset="light"],
body[data-preset="light"]{
  --crm-text:#0f172a;
  --crm-text-soft:#334155;
  --crm-text-faint:#475569;

  --crm-surface:rgba(255,255,255,.26);
  --crm-surface-soft:rgba(255,255,255,.16);
  --crm-surface-muted:rgba(248,250,252,.14);

  --crm-border:rgba(15,23,42,.10);
  --crm-border-strong:rgba(15,23,42,.14);

  --crm-shadow-sm:0 1px 2px rgba(15,23,42,.05);
  --crm-shadow-md:0 14px 30px rgba(15,23,42,.08);

  --crm-primary:#2563eb;
  --crm-primary-hover:#1d4ed8;

  --crm-danger:#dc2626;
  --crm-danger-bg:rgba(220,38,38,.10);
  --crm-info:#0891b2;
  --crm-info-bg:rgba(8,145,178,.10);
  --crm-success:#16a34a;
  --crm-success-bg:rgba(22,163,74,.10);

  --crm-glow-1:rgba(59,130,246,.08);
  --crm-glow-2:rgba(168,85,247,.06);
  --crm-glow-3:rgba(34,197,94,.05);

  --crm-interactive-border-hover:color-mix(in srgb, var(--crm-primary) 36%, transparent);
  --crm-interactive-ring-hover:color-mix(in srgb, var(--crm-primary) 18%, transparent);
  --crm-interactive-bg-hover:color-mix(in srgb, #ffffff 92%, var(--crm-primary));
  --crm-interactive-shadow-hover:0 20px 46px rgba(15,23,42,.16), 0 0 0 1px var(--crm-interactive-ring-hover), inset 0 1px 0 rgba(255,255,255,.92);
  --crm-kpi-hover-border:color-mix(in srgb, var(--crm-primary) 44%, transparent);
  --crm-kpi-hover-ring:color-mix(in srgb, var(--crm-primary) 20%, transparent);
  --crm-kpi-hover-bg:color-mix(in srgb, var(--crm-primary) 10%, #ffffff);
  --crm-kpi-hover-shadow:0 22px 50px rgba(15,23,42,.14), 0 0 0 1px var(--crm-kpi-hover-ring), inset 0 1px 0 rgba(255,255,255,.95);
}

/* ===== BASE ===== */

html, body{
  background:transparent !important;
  color:var(--text-1) !important;
}

.app-bg-image{
  background:var(--site-bg, none) !important;
  background-position:center !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
}

.app-bg-overlay{
  background:
    radial-gradient(circle at top, rgba(255,255,255,.06), transparent 42%),
    var(--site-overlay, rgba(0,0,0,.18)) !important;
}

html[data-preset="light"] .app-bg-overlay,
body[data-preset="light"] .app-bg-overlay{
  background:
    radial-gradient(circle at top, rgba(255,255,255,.14), transparent 42%),
    var(--site-overlay, rgba(255,255,255,.08)) !important;
}

.app-glow-1,
.app-glow-2,
.app-glow-3{
  opacity:1 !important;
  filter:blur(72px) !important;
}
.app-glow-1{ background:var(--crm-glow-1) !important; }
.app-glow-2{ background:var(--crm-glow-2) !important; }
.app-glow-3{ background:var(--crm-glow-3) !important; }

/* contenitori principali */
.app-topbar,
.app-sidebar,
.ui-card{
  background:var(--surface-1) !important;
  border:1px solid var(--border-1) !important;
  box-shadow:var(--shadow-1) !important;
  -webkit-backdrop-filter:var(--crm-blur);
  backdrop-filter:var(--crm-blur);
}

.ui-panel,
.ui-kpi,
.app-logo-badge{
  background:var(--surface-2) !important;
  border:1px solid var(--border-1) !important;
  box-shadow:var(--shadow-1) !important;
  -webkit-backdrop-filter:var(--crm-blur);
  backdrop-filter:var(--crm-blur);
}

.app-sidebar{
  border-radius:1.5rem !important;
}

.app-logo-badge{
  color:var(--text-1) !important;
}

/* tipografia preset scuri */
html:not([data-preset="light"]) .ui-card,
html:not([data-preset="light"]) .ui-panel,
html:not([data-preset="light"]) .ui-kpi,
html:not([data-preset="light"]) .app-sidebar,
html:not([data-preset="light"]) .app-topbar,
html:not([data-preset="light"]) main,
html:not([data-preset="light"]) h1,
html:not([data-preset="light"]) h2,
html:not([data-preset="light"]) h3,
html:not([data-preset="light"]) h4,
html:not([data-preset="light"]) h5,
html:not([data-preset="light"]) h6,
html:not([data-preset="light"]) .text-2xl,
html:not([data-preset="light"]) .text-xl,
html:not([data-preset="light"]) .text-lg,
body:not([data-preset="light"]) .ui-card,
body:not([data-preset="light"]) .ui-panel,
body:not([data-preset="light"]) .ui-kpi,
body:not([data-preset="light"]) .app-sidebar,
body:not([data-preset="light"]) .app-topbar,
body:not([data-preset="light"]) main,
body:not([data-preset="light"]) h1,
body:not([data-preset="light"]) h2,
body:not([data-preset="light"]) h3,
body:not([data-preset="light"]) h4,
body:not([data-preset="light"]) h5,
body:not([data-preset="light"]) h6,
body:not([data-preset="light"]) .text-2xl,
body:not([data-preset="light"]) .text-xl,
body:not([data-preset="light"]) .text-lg{
  color:#eef4ff !important;
}

html:not([data-preset="light"]) .ui-subtle,
html:not([data-preset="light"]) .ui-muted,
body:not([data-preset="light"]) .ui-subtle,
body:not([data-preset="light"]) .ui-muted{
  color:#cbd5e1 !important;
}

/* tipografia light soft */
html[data-preset="light"],
body[data-preset="light"],
html[data-preset="light"] main,
html[data-preset="light"] h1,
html[data-preset="light"] h2,
html[data-preset="light"] h3,
html[data-preset="light"] h4,
html[data-preset="light"] h5,
html[data-preset="light"] h6,
html[data-preset="light"] .ui-card,
html[data-preset="light"] .ui-panel,
html[data-preset="light"] .ui-kpi,
html[data-preset="light"] .app-sidebar,
html[data-preset="light"] .app-topbar,
body[data-preset="light"] main,
body[data-preset="light"] h1,
body[data-preset="light"] h2,
body[data-preset="light"] h3,
body[data-preset="light"] h4,
body[data-preset="light"] h5,
body[data-preset="light"] h6,
body[data-preset="light"] .ui-card,
body[data-preset="light"] .ui-panel,
body[data-preset="light"] .ui-kpi,
body[data-preset="light"] .app-sidebar,
body[data-preset="light"] .app-topbar{
  color:#0f172a !important;
}

html[data-preset="light"] .ui-subtle,
html[data-preset="light"] .ui-muted,
body[data-preset="light"] .ui-subtle,
body[data-preset="light"] .ui-muted{
  color:#334155 !important;
}

/* nav */
.app-nav-link{
  color:var(--text-2) !important;
  border:1px solid transparent !important;
  transition:
    color .16s ease,
    background-color .16s ease,
    border-color .16s ease,
    transform .16s ease;
}

.app-nav-link:hover{
  color:var(--text-1) !important;
  background:rgba(255,255,255,.10) !important;
  border-color:var(--border-1) !important;
  transform:translateX(1px);
}

html[data-preset="light"] .app-nav-link:hover,
body[data-preset="light"] .app-nav-link:hover{
  background:rgba(255,255,255,.20) !important;
}

/* buttons */
.ui-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:2.7rem !important;
  padding:.7rem 1rem !important;
  border-radius:1rem !important;
  border:1px solid var(--border-1) !important;
  font-weight:600 !important;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background-color .16s ease,
    border-color .16s ease;
}
.ui-btn:hover{
  transform:translateY(-1px);
}
.ui-btn-ghost{
  background:var(--surface-2) !important;
  color:var(--text-1) !important;
  box-shadow:var(--shadow-1) !important;
}
.ui-btn-primary{
  background:linear-gradient(180deg, var(--accent), var(--accent-hover)) !important;
  color:#fff !important;
  border-color:transparent !important;
  box-shadow:0 10px 24px rgba(37,99,235,.20) !important;
}


/* inputs */
.ui-input{
  display:block;
  width:100%;
  min-height:2.75rem;
  padding:.7rem 1rem !important;
  border-radius:1rem !important;
  border:1px solid var(--border-1) !important;
  background:var(--surface-2) !important;
  color:var(--text-1) !important;
  box-shadow:var(--shadow-1) !important;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  outline:none;
}

.ui-input:focus{
  border-color:var(--border-2) !important;
  box-shadow:0 0 0 3px rgba(148,163,184,.12) !important;
}

.ui-input::placeholder{
  color:var(--text-3) !important;
}

textarea.ui-input{
  min-height:5.5rem;
  resize:vertical;
}

select.ui-input:not(.ui-select-native){
  padding-right:2.5rem !important;
  background-image:linear-gradient(45deg, transparent 50%, var(--text-2) 50%),
    linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position:calc(100% - 1.15rem) calc(50% - 3px),
    calc(100% - 0.75rem) calc(50% - 3px);
  background-size:6px 6px, 6px 6px;
  background-repeat:no-repeat;
}

html[data-preset="light"] .ui-input,
body[data-preset="light"] .ui-input{
  background:rgba(255,255,255,.46) !important;
  color:#0f172a !important;
  border-color:rgba(15,23,42,.12) !important;
}

html:not([data-preset="light"]) .ui-input,
/* === END crm-ui_part_01.css === */
/* === BEGIN crm-ui_part_02.css === */
/* Auto-generated by scripts/css_mechanical_split.py
   Source: crm-ui_part_01.css
   Part 2/2 - load order critical.
   Do not reorder or merge without re-running the splitter. */

body:not([data-preset="light"]) .ui-input{
  background:rgba(10,18,34,.44) !important;
  color:#eef4ff !important;
  border-color:rgba(255,255,255,.14) !important;
}

/* badge */
.ui-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:1.6rem;
  padding:.15rem .6rem;
  border-radius:9999px;
  font-size:.75rem;
  font-weight:700;
  border:1px solid var(--border-1) !important;
  background:var(--surface-3) !important;
  color:var(--text-2) !important;
}
.ui-badge-danger{
  color:var(--danger) !important;
  border-color:rgba(220,38,38,.18) !important;
  background:var(--danger-bg) !important;
}
.ui-badge-info{
  color:var(--info) !important;
  border-color:rgba(8,145,178,.18) !important;
  background:var(--info-bg) !important;
}
.ui-badge-success{
  color:var(--success) !important;
  border-color:rgba(22,163,74,.18) !important;
  background:var(--success-bg) !important;
}

/* campi */
html:not([data-preset="light"]) input,
html:not([data-preset="light"]) select,
html:not([data-preset="light"]) textarea,
body:not([data-preset="light"]) input,
body:not([data-preset="light"]) select,
body:not([data-preset="light"]) textarea{
  color:#eef4ff !important;
  background:rgba(10,18,34,.44) !important;
  border:1px solid rgba(255,255,255,.14) !important;
}

html:not([data-preset="light"]) input::placeholder,
html:not([data-preset="light"]) textarea::placeholder,
body:not([data-preset="light"]) input::placeholder,
body:not([data-preset="light"]) textarea::placeholder{
  color:#94a3b8 !important;
}

html[data-preset="light"] input,
html[data-preset="light"] select,
html[data-preset="light"] textarea,
body[data-preset="light"] input,
body[data-preset="light"] select,
body[data-preset="light"] textarea{
  color:#0f172a !important;
  background:rgba(255,255,255,.46) !important;
  border:1px solid rgba(15,23,42,.12) !important;
}

html[data-preset="light"] input::placeholder,
html[data-preset="light"] textarea::placeholder,
body[data-preset="light"] input::placeholder,
body[data-preset="light"] textarea::placeholder{
  color:#64748b !important;
}

/* ===== GLOBAL RADIUS SYSTEM ===== */
.app-sidebar,
.app-topbar,
.ui-card{
  border-radius: 1.5rem !important;
}

.ui-panel,
.ui-kpi,
.ui-soft{
  border-radius: 1.25rem !important;
}

.ui-btn,
.ui-input,
input,
select,
textarea{
  border-radius: 1rem !important;
}

input[type="checkbox"]{
  border-radius: 0.35rem !important;
}

input[type="radio"]{
  border-radius: 9999px !important;
}

.app-sidebar .ui-panel,
#pipeline-sidebar-filters .ui-card,
#pipeline-sidebar-filters .ui-panel{
  border-radius: 1.25rem !important;
}



/* solo light-soft */
html[data-preset="light"] .app-page-hero,
body[data-preset="light"] .app-page-hero{
  color:#0f172a !important;
}

html[data-preset="light"] .app-page-hero > div:first-child > div:first-child,
body[data-preset="light"] .app-page-hero > div:first-child > div:first-child{
  color:#64748b !important;
}

html[data-preset="light"] .app-page-hero > div:first-child > h1,
body[data-preset="light"] .app-page-hero > div:first-child > h1{
  color:#0f172a !important;
}

html[data-preset="light"] .app-page-hero > div:last-child > div:first-child,
body[data-preset="light"] .app-page-hero > div:last-child > div:first-child{
  color:#64748b !important;
}


/* ===== GLOBAL PAGE HERO ===== */
.app-page-hero{
  color: var(--text-1);
}

.app-page-hero-brand{
  color: var(--text-2);
}

.app-page-hero-title{
  color: var(--text-1);
}

.app-page-hero-subtitle:empty{
  display: none;
}

.app-page-toolbar{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.app-page-toolbar:empty{
  display: none;
}

html[data-preset="light"] .app-page-toolbar,
body[data-preset="light"] .app-page-toolbar{
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(248, 250, 252, 0.9);
}

.app-page-hero-user{
  color: var(--text-2);
}

/* solo light-soft */
html[data-preset="light"] .app-page-hero-brand,
body[data-preset="light"] .app-page-hero-brand{
  color:#64748b !important;
}

html[data-preset="light"] .app-page-hero-title,
body[data-preset="light"] .app-page-hero-title{
  color:#0f172a !important;
}

html[data-preset="light"] .app-page-hero-user,
body[data-preset="light"] .app-page-hero-user{
  color:#475569 !important;
}


/* page intro readability: only light-soft */
html[data-preset="light"] .page-intro-kicker,
body[data-preset="light"] .page-intro-kicker{
  color:#475569 !important;
}

html[data-preset="light"] .page-intro-title,
body[data-preset="light"] .page-intro-title{
  color:#0f172a !important;
}

html[data-preset="light"] .page-intro-subtitle,
body[data-preset="light"] .page-intro-subtitle{
  color:#334155 !important;
}

/* top intro readability: only light-soft */
html[data-preset="light"] .page-intro-kicker,
body[data-preset="light"] .page-intro-kicker{
  color:#475569 !important;
}

html[data-preset="light"] .page-intro-title,
body[data-preset="light"] .page-intro-title{
  color:#0f172a !important;
}

html[data-preset="light"] .page-intro-subtitle,
body[data-preset="light"] .page-intro-subtitle{
  color:#334155 !important;
}

.ui-error{
  color:var(--danger) !important;
}

.ui-link{
  color:var(--accent) !important;
  text-decoration:none !important;
}
.ui-link:hover{
  text-decoration:underline !important;
}

.ui-link-muted{
  color:var(--text-2) !important;
}
.ui-link-muted:hover{
  color:var(--text-1) !important;
  text-decoration:underline !important;
}

.ui-panel-interactive,
.crm-surface-link,
a.dash-item,
a.crm-event-week-chip{
  color:inherit !important;
  text-decoration:none !important;
  cursor:pointer;
  transition:
    border-color var(--crm-interactive-ease),
    box-shadow var(--crm-interactive-ease),
    transform var(--crm-interactive-ease),
    background var(--crm-interactive-ease);
}

.ui-panel-interactive,
.crm-surface-link{
  display:block !important;
  background:var(--surface-2) !important;
  border:1px solid var(--border-1) !important;
  box-shadow:var(--shadow-1) !important;
  -webkit-backdrop-filter:var(--crm-blur);
  backdrop-filter:var(--crm-blur);
  border-radius:var(--crm-interactive-radius) !important;
}

a.dash-kpi{
  color:inherit !important;
  text-decoration:none !important;
  cursor:pointer;
  transition:
    border-color var(--crm-interactive-ease),
    box-shadow var(--crm-interactive-ease),
    transform var(--crm-interactive-ease),
    background var(--crm-interactive-ease);
}

.ui-panel-interactive:hover,
.crm-surface-link:hover,
a.dash-item:hover,
a.crm-event-week-chip:hover{
  border-color:var(--crm-interactive-border-hover) !important;
  background:var(--crm-interactive-bg-hover) !important;
  box-shadow:var(--crm-interactive-shadow-hover) !important;
  transform:translateY(var(--crm-interactive-lift));
}

a.ui-card.dash-kpi:hover,
a.dash-kpi:hover{
  border-color:var(--crm-kpi-hover-border) !important;
  background:var(--crm-kpi-hover-bg) !important;
  box-shadow:var(--crm-kpi-hover-shadow) !important;
  transform:translateY(var(--crm-interactive-lift));
}

.ui-panel-interactive:focus-visible,
.crm-surface-link:focus-visible,
a.dash-kpi:focus-visible,
a.dash-item:focus-visible,
a.crm-event-week-chip:focus-visible{
  outline:2px solid color-mix(in srgb, var(--crm-primary) 55%, transparent);
  outline-offset:2px;
}

.ui-panel-interactive.ui-panel-danger{
  border-color:color-mix(in srgb, var(--crm-danger) 32%, transparent) !important;
  background:color-mix(in srgb, var(--crm-danger-bg) 72%, var(--surface-2)) !important;
}
.ui-panel-interactive.ui-panel-danger:hover{
  border-color:color-mix(in srgb, var(--crm-danger) 48%, transparent) !important;
  background:color-mix(in srgb, var(--crm-danger-bg) 88%, var(--surface-2)) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.28), 0 0 0 1px color-mix(in srgb, var(--crm-danger) 14%, transparent), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

@media (prefers-reduced-motion: reduce){
  .ui-panel-interactive,
  .crm-surface-link,
  a.dash-kpi,
  a.dash-item,
  a.crm-event-week-chip{
    transition:none;
  }
  .ui-panel-interactive:hover,
  .crm-surface-link:hover,
  a.dash-kpi:hover,
  a.dash-item:hover,
  a.crm-event-week-chip:hover{
    transform:none;
  }
  .crm-list-surface:hover{
    transform:none;
  }
}

.ui-btn-danger{
  color:var(--danger) !important;
  border-color:var(--border-1) !important;
  background:var(--danger-bg) !important;
}

.ui-text-strong{
  color:var(--text-1) !important;
}

.ui-text-soft{
  color:var(--text-2) !important;
}

.ui-overlay-dark{
  background:rgba(0,0,0,.60) !important;
}

.ui-file-input{
  color:var(--text-2) !important;
}
.ui-file-input::file-selector-button{
  margin-right:.75rem;
  border-radius:.75rem;
  border:1px solid var(--border-1) !important;
  background:var(--surface-2) !important;
  color:var(--text-1) !important;
  padding:.5rem .75rem;
  font-size:.875rem;
  cursor:pointer;
}
.ui-file-input::file-selector-button:hover{
  background:var(--surface-3) !important;
}


/* Sidebar + content layout hardening for property detail pages */
.app-sidebar{
  width: 16rem !important;
  min-width: 16rem !important;
  max-width: 16rem !important;
}

.app-nav-link{
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

main{
  min-width: 0 !important;
}



/* ===== CRM MOBILE BASELINE ===== */
@media (max-width: 768px){
  html,
  body{
    overflow-x:hidden !important;
  }

  main{
    width:100% !important;
    max-width:100% !important;
  }

  .ui-card,
  .ui-panel,
  .ui-kpi{
    border-radius:18px !important;
  }

  .ui-card{
    padding:16px !important;
  }

  .ui-panel,
  .ui-kpi{
    padding:14px !important;
  }

  .ui-btn{
    min-height:40px !important;
    white-space:normal !important;
    text-align:center !important;
  }

  .ui-btn-sm{
    min-height:34px !important;
  }

  table{
    min-width:720px;
  }

  .overflow-x-auto{
    -webkit-overflow-scrolling:touch;
  }

  .app-page-hero{
    margin-bottom:10px !important;
  }

  .page-intro-title,
  .app-page-hero-title{
    font-size:22px !important;
    line-height:1.15 !important;
  }

  .page-intro-subtitle{
    line-height:1.55 !important;
  }

  .ui-badge{
    max-width:100%;
    white-space:normal !important;
  }

  input,
  select,
  textarea{
    font-size:16px !important;
  }
}

/* === END crm-ui_part_02.css === */
/* === BEGIN crm-ui_part_03.css === */
/* Auto-generated by scripts/css_mechanical_split.py
   Source: crm-ui.css
   Part 2/2 - load order critical.
   Do not reorder or merge without re-running the splitter. */

@media (max-width: 480px){
  .ui-card{
    padding:14px !important;
  }

  .ui-panel,
  .ui-kpi{
    padding:12px !important;
  }

  .ui-btn{
    width:100%;
    justify-content:center;
  }

  .flex.flex-wrap.gap-2 > .ui-btn,
  .flex.flex-wrap.gap-3 > .ui-btn{
    flex:1 1 100%;
  }
}


/* ===== CRM MOBILE BASELINE ===== */
@media (max-width: 768px){
  html,
  body{
    overflow-x:hidden !important;
  }

  main{
    width:100% !important;
    max-width:100% !important;
  }

  .ui-card,
  .ui-panel,
  .ui-kpi{
    border-radius:18px !important;
  }

  .ui-card{
    padding:16px !important;
  }

  .ui-panel,
  .ui-kpi{
    padding:14px !important;
  }

  .ui-btn{
    min-height:40px !important;
    white-space:normal !important;
    text-align:center !important;
  }

  .ui-btn-sm{
    min-height:34px !important;
  }

  table{
    min-width:720px;
  }

  .overflow-x-auto{
    -webkit-overflow-scrolling:touch;
  }

  .app-page-hero{
    margin-bottom:10px !important;
  }

  .page-intro-title,
  .app-page-hero-title{
    font-size:22px !important;
    line-height:1.15 !important;
  }

  .page-intro-subtitle{
    line-height:1.55 !important;
  }

  .ui-badge{
    max-width:100%;
    white-space:normal !important;
  }

  input,
  select,
  textarea{
    font-size:16px !important;
  }
}

@media (max-width: 480px){
  .ui-card{
    padding:14px !important;
  }

  .ui-panel,
  .ui-kpi{
    padding:12px !important;
  }

  .ui-btn{
    width:100%;
    justify-content:center;
  }

  .flex.flex-wrap.gap-2 > .ui-btn,
  .flex.flex-wrap.gap-3 > .ui-btn{
    flex:1 1 100%;
  }
}



/* ===== CRM MOBILE MENU + BUTTON WIDTH FIX ===== */
@media (max-width: 768px){
  .app-mobile-menu{
    position:relative;
    z-index:80;
  }

  .app-mobile-menu summary{
    list-style:none;
    cursor:pointer;
    user-select:none;
  }

  .app-mobile-menu summary::-webkit-details-marker{
    display:none;
  }

  .app-mobile-menu-trigger{
    width:auto !important;
    min-width:86px !important;
    justify-content:center !important;
  }

  .app-mobile-menu-panel{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    width:min(82vw, 320px);
    display:grid;
    gap:6px;
    padding:10px;
    border-radius:18px;
    background:var(--surface-1);
    border:1px solid var(--border-1);
    box-shadow:var(--shadow-2);
    -webkit-backdrop-filter:var(--crm-blur);
    backdrop-filter:var(--crm-blur);
  }

  .app-mobile-menu-panel a{
    display:block;
    padding:11px 12px;
    border-radius:12px;
    color:var(--text-1) !important;
    text-decoration:none !important;
    font-size:14px;
    font-weight:700;
    background:var(--surface-2);
    border:1px solid var(--border-1);
  }

  .app-mobile-menu-panel a:active{
    transform:scale(.99);
  }

  .app-bottom-nav{
    display:none !important;
  }

  main{
    padding-bottom:24px !important;
  }

  .ui-card .flex.items-center.justify-between .ui-btn,
  .ui-card .flex.items-start.justify-between .ui-btn,
  .ui-panel .flex.items-center.justify-between .ui-btn,
  .ui-panel .flex.items-start.justify-between .ui-btn{
    width:auto !important;
    flex:0 0 auto !important;
    min-width:auto !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }
}

@media (max-width: 480px){
  .ui-btn{
    width:auto !important;
  }

  .flex.flex-wrap.gap-2 > .ui-btn,
  .flex.flex-wrap.gap-3 > .ui-btn{
    flex:0 0 auto !important;
  }

  form.w-full .ui-btn,
  form.w-full button.ui-btn,
  .lg\:w-56 .ui-btn{
    width:100% !important;
  }
}


/* ===== CRM MOBILE CLEAN OPAQUE HEADER ===== */
@media (max-width: 768px){
  .app-topbar{
    background:rgba(7,12,24,.96) !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
    box-shadow:0 10px 28px rgba(2,6,23,.18) !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
  }

  html[data-preset="light"] .app-topbar,
  body[data-preset="light"] .app-topbar{
    background:#ffffff !important;
    border-bottom:1px solid rgba(15,23,42,.10) !important;
  }

  .app-mobile-menu-panel{
    background:rgba(7,12,24,.98) !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
  }

  html[data-preset="light"] .app-mobile-menu-panel,
  body[data-preset="light"] .app-mobile-menu-panel{
    background:#ffffff !important;
  }

  .app-mobile-menu-panel a{
    background:rgba(255,255,255,.06) !important;
  }

  html[data-preset="light"] .app-mobile-menu-panel a,
  body[data-preset="light"] .app-mobile-menu-panel a{
    background:#f8fafc !important;
  }

  body.app-shell{
    background:#070a12 !important;
  }

  html[data-preset="light"] body.app-shell,
  body[data-preset="light"].app-shell{
    background:#f6f8fb !important;
  }

  .app-bg{
    background:transparent !important;
  }
}


/* ===== CRM MOBILE FIXED TOPBAR ===== */
@media (max-width: 768px){
  .app-topbar{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    z-index:1000 !important;
  }

  main{
    padding-top:76px !important;
  }

  .app-mobile-menu-panel{
    z-index:1100 !important;
  }
}


/* ============================================================
   CRM THEME CONTROL — CLEAN FINAL LAYER
   Unico livello finale.
   Il tema reale è body[data-theme="light-soft"] oppure body[data-theme="dark"].
   data-preset governa il colore/palette, NON chiaro/scuro.
   ============================================================ */

/* ---------- TOKEN TEMA ---------- */

body[data-theme="light-soft"]{
  --crm-surface-1:
    radial-gradient(circle at 12% 0%, rgba(15,107,75,.055), transparent 36%),
    radial-gradient(circle at 92% 90%, rgba(37,99,235,.040), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.46), rgba(241,245,249,.24)),
    rgba(255,255,255,.18);

  --crm-surface-2:
    linear-gradient(135deg, rgba(255,255,255,.34), rgba(241,245,249,.18)),
    rgba(255,255,255,.12);

  --crm-surface-3:
    linear-gradient(135deg, rgba(255,255,255,.28), rgba(241,245,249,.14)),
    rgba(255,255,255,.09);

  --crm-border-1: rgba(255,255,255,.46);
  --crm-border-2: rgba(255,255,255,.32);
  --crm-shadow-1: 0 16px 42px rgba(15,23,42,.085), inset 0 1px 0 rgba(255,255,255,.54);
  --crm-shadow-2: 0 10px 24px rgba(15,23,42,.055), inset 0 1px 0 rgba(255,255,255,.42);

  --crm-text-1: #0f172a;
  --crm-text-2: #334155;
  --crm-text-3: #64748b;

  --crm-input-bg: rgba(255,255,255,.32);
}

body[data-theme="dark"]{
  --crm-surface-1:
    radial-gradient(circle at 12% 0%, rgba(15,107,75,.18), transparent 36%),
    radial-gradient(circle at 92% 90%, rgba(37,99,235,.10), transparent 36%),
    linear-gradient(135deg, rgba(15,23,42,.76), rgba(2,6,23,.84)),
    rgba(15,23,42,.72);

  --crm-surface-2:
    linear-gradient(135deg, rgba(15,23,42,.64), rgba(2,6,23,.70)),
    rgba(15,23,42,.56);

  --crm-surface-3:
    linear-gradient(135deg, rgba(15,23,42,.50), rgba(2,6,23,.58)),
    rgba(15,23,42,.42);

  --crm-border-1: rgba(148,163,184,.18);
  --crm-border-2: rgba(148,163,184,.12);
  --crm-shadow-1: 0 18px 46px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.045);
  --crm-shadow-2: 0 10px 26px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.035);

  --crm-text-1: #f8fafc;
  --crm-text-2: #cbd5e1;
  --crm-text-3: #94a3b8;

  --crm-input-bg: rgba(2,6,23,.34);
}

/* ---------- LIVELLO 1: contenitori principali ---------- */

body[data-theme] .app-topbar,
body[data-theme] .ui-card,
body[data-theme] .dashboard-hero,
body[data-theme] .dashboard-panel,
body[data-theme] .pe-hero,
body[data-theme] .pe-row,
body[data-theme] .pe-super,
body[data-theme] .pe-filters,
body[data-theme] .import-wizard-card,
body[data-theme] .theme-preset-card,
body[data-theme] .agency-card,
body[data-theme] .agency-list-card{
  background: var(--crm-surface-1) !important;
  border: 1px solid var(--crm-border-1) !important;
  box-shadow: var(--crm-shadow-1) !important;
  color: var(--crm-text-1) !important;
  border-radius: 28px !important;
  backdrop-filter: blur(24px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.08) !important;
}

/* ---------- LIVELLO 2: box interni / kpi / celle ---------- */

body[data-theme] .ui-panel,
body[data-theme] .ui-kpi,
body[data-theme] .ui-soft,
body[data-theme] .dashboard-kpi,
body[data-theme] .pe-stat,
body[data-theme] .pe-toolbar,
body[data-theme] .pe-box,
body[data-theme] .pe-portal-card,
body[data-theme] .pe-switch,
body[data-theme] .pe-notebox,
body[data-theme] .pe-breakdown,
body[data-theme] .pe-components,
body[data-theme] .import-wizard-soft,
body[data-theme] .cometa-section-toggle,
body[data-theme] .cometa-preview-table thead tr,
body[data-theme] .cometa-preview-table tbody tr,
body[data-theme] .pipeline-summary-pill,
body[data-theme] .theme-preset-card .ui-panel{
  background: var(--crm-surface-2) !important;
  border: 1px solid var(--crm-border-2) !important;
  box-shadow: var(--crm-shadow-2) !important;
  color: var(--crm-text-1) !important;
  border-radius: var(--crm-interactive-radius, 1.125rem) !important;
  backdrop-filter: blur(18px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.05) !important;
}

/* ---------- Testi ---------- */

body[data-theme] h1,
body[data-theme] h2,
body[data-theme] h3,
body[data-theme] h4,
body[data-theme] .ui-title,
body[data-theme] .dashboard-title,
body[data-theme] .dashboard-kpi-value,
body[data-theme] .pipeline-title,
body[data-theme] .pipeline-card-title,
body[data-theme] .pipeline-card-count,
body[data-theme] .pe-title,
body[data-theme] .pe-stat-v,
body[data-theme] .pe-annuncio-title,
body[data-theme] .pe-quality-percent,
body[data-theme] .pe-date,
body[data-theme] .pe-count,
body[data-theme] .pe-portal-name,
body[data-theme] .pe-notebox-title{
  color: var(--crm-text-1) !important;
}

body[data-theme] .ui-muted,
body[data-theme] .ui-subtle,
body[data-theme] .dashboard-subtitle,
body[data-theme] .dashboard-kpi-label,
body[data-theme] .pipeline-subtitle,
body[data-theme] .pipeline-card-count-label,
body[data-theme] .pipeline-card-value-label,
body[data-theme] .pe-sub,
body[data-theme] .pe-eyebrow,
body[data-theme] .pe-stat-k,
body[data-theme] .pe-annuncio-addr,
body[data-theme] .text-slate-400,
body[data-theme] .text-slate-500,
body[data-theme] .text-slate-300{
  color: var(--crm-text-2) !important;
}

/* ---------- Input / select ---------- */

body[data-theme] input,
body[data-theme] select,
body[data-theme] textarea,
body[data-theme] .ui-input,
body[data-theme] .pe-input,
body[data-theme] .pe-select,
body[data-theme] .import-wizard-field{
  background: var(--crm-input-bg) !important;
  color: var(--crm-text-1) !important;
  border: 1px solid var(--crm-border-2) !important;
  box-shadow: var(--crm-shadow-2) !important;
  border-radius: 16px !important;
}

body[data-theme="light-soft"] input::placeholder,
body[data-theme="light-soft"] textarea::placeholder{
  color:#64748b !important;
}

body[data-theme="dark"] input::placeholder,
body[data-theme="dark"] textarea::placeholder{
  color:#94a3b8 !important;
}

/* ---------- Bottoni / badge ---------- */

body[data-theme] .ui-btn-primary,
body[data-theme] .crm-mini-btn.primary,
body[data-theme] button[type="submit"].ui-btn-primary{
  color:#fff !important;
  background:linear-gradient(180deg,#2563eb,#1d4ed8) !important;
  border-color:rgba(255,255,255,.20) !important;
  box-shadow:0 12px 28px rgba(37,99,235,.24) !important;
}

body[data-theme] .ui-btn-ghost,
body[data-theme] .ui-btn-muted,
body[data-theme] .crm-mini-btn:not(.primary){
  background:var(--crm-surface-2) !important;
  color:var(--crm-text-1) !important;
  border:1px solid var(--crm-border-2) !important;
  box-shadow:var(--crm-shadow-2) !important;
}

body[data-theme] .crm-property-chip,
body[data-theme] .crm-property-deal,
body[data-theme] .crm-property-state-pill,
body[data-theme] .ui-badge{
  color:#fff !important;
  text-shadow:none !important;
}

/* ---------- Import card: sempre stondato ---------- */

body[data-theme] .import-wizard-card,
body[data-theme] section.import-wizard-card{
  border-radius:28px !important;
  overflow:hidden !important;
}



/* CRM GLOBAL CONTRAST FINAL GUARD
   Non governa le row immobili: quelle sono nel template, dopo questo file.
   Qui si correggono solo testi generali. */
body[data-theme="dark"]{
  --crm-text-1:#f8fafc;
  --crm-text-2:#cbd5e1;
  --crm-text-3:#94a3b8;
}

body[data-theme="light-soft"]{
  --crm-text-1:#0f172a;
  --crm-text-2:#334155;
  --crm-text-3:#64748b;
}


/* ===== GLOSSY BUTTONS (globale, escluso menu laterale) ===== */

.ui-btn,
a.ui-btn,
button.ui-btn,
.crm-mini-btn,
a.crm-mini-btn,
.pipeline-card-open{
  -webkit-backdrop-filter:var(--crm-blur);
  backdrop-filter:var(--crm-blur);
  transition:
    border-color var(--crm-interactive-ease),
    box-shadow var(--crm-interactive-ease),
    transform var(--crm-interactive-ease),
    background var(--crm-interactive-ease),
    filter var(--crm-interactive-ease);
}

html[data-theme="dark"] body[data-theme="dark"] .ui-btn-ghost,
html[data-theme="dark"] body[data-theme="dark"] .ui-btn-muted,
html[data-theme="dark"] body[data-theme="dark"] .crm-mini-btn:not(.primary){
  background:
    linear-gradient(135deg, rgba(15,23,42,.94), rgba(2,6,23,.96)),
    rgba(2,6,23,.92) !important;
  border:1px solid var(--border-2) !important;
  box-shadow:0 12px 28px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.055) !important;
}

html[data-theme="light-soft"] body[data-theme="light-soft"] .ui-btn-ghost,
html[data-theme="light-soft"] body[data-theme="light-soft"] .ui-btn-muted,
html[data-theme="light-soft"] body[data-theme="light-soft"] .crm-mini-btn:not(.primary){
  background:
    linear-gradient(135deg, rgba(255,255,255,.84), rgba(241,245,249,.64)),
    rgba(255,255,255,.72) !important;
  border:1px solid rgba(255,255,255,.76) !important;
  box-shadow:0 12px 28px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.90) !important;
}

html[data-theme] body[data-theme] .ui-btn-primary,
html[data-theme] body[data-theme] .crm-mini-btn.primary,
html[data-theme] body[data-theme] button[type="submit"].ui-btn-primary{
  box-shadow:0 12px 28px rgba(37,99,235,.26), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

html[data-theme] body[data-theme] .ui-btn:not(.pointer-events-none):hover,
html[data-theme] body[data-theme] a.ui-btn:not(.pointer-events-none):hover,
html[data-theme] body[data-theme] button.ui-btn:not(:disabled):not(.pointer-events-none):hover,
html[data-theme] body[data-theme] .crm-mini-btn:hover,
html[data-theme] body[data-theme] a.crm-mini-btn:hover,
html[data-theme] body[data-theme] .pipeline-card-open:hover{
  border-color:var(--crm-interactive-border-hover) !important;
  box-shadow:var(--crm-interactive-shadow-hover) !important;
  transform:translateY(var(--crm-interactive-lift));
}

html[data-theme] body[data-theme] .ui-btn-ghost:not(.pointer-events-none):hover,
html[data-theme] body[data-theme] .ui-btn-muted:not(.pointer-events-none):hover,
html[data-theme] body[data-theme] .crm-mini-btn:not(.primary):hover{
  background:var(--crm-interactive-bg-hover) !important;
}

html[data-theme] body[data-theme] .ui-btn-primary:not(.pointer-events-none):hover,
html[data-theme] body[data-theme] .crm-mini-btn.primary:hover,
html[data-theme] body[data-theme] button[type="submit"].ui-btn-primary:not(:disabled):hover{
  filter:saturate(1.06);
}

html[data-theme] body[data-theme] .ui-btn-danger:not(.pointer-events-none):hover{
  border-color:color-mix(in srgb, var(--crm-danger) 48%, transparent) !important;
  background:color-mix(in srgb, var(--crm-danger-bg) 88%, var(--surface-2)) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.28), 0 0 0 1px color-mix(in srgb, var(--crm-danger) 14%, transparent), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.ui-btn:focus-visible,
.crm-mini-btn:focus-visible,
.pipeline-card-open:focus-visible{
  outline:2px solid color-mix(in srgb, var(--crm-primary) 55%, transparent);
  outline-offset:2px;
}

/* Menu laterale: niente glossy/contorno hover sui controlli interni */
.app-sidebar .ui-btn,
.app-sidebar a.ui-btn,
.app-sidebar button.ui-btn,
.app-sidebar .crm-mini-btn,
.app-sidebar .crm-mini-btn:hover,
.app-sidebar .ui-btn:hover,
.app-sidebar button.ui-btn:hover{
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  transform:none !important;
  filter:none !important;
}

.app-sidebar .ui-btn-ghost,
.app-sidebar .ui-btn-muted,
.app-sidebar .crm-mini-btn:not(.primary){
  background:var(--crm-surface-2) !important;
  border:1px solid var(--crm-border-2) !important;
  box-shadow:var(--crm-shadow-2) !important;
}

.app-sidebar .ui-btn-ghost:hover,
.app-sidebar .ui-btn-muted:hover,
.app-sidebar .crm-mini-btn:not(.primary):hover,
.app-sidebar .ui-btn-primary:hover{
  background:var(--crm-surface-2) !important;
  border-color:var(--crm-border-2) !important;
  box-shadow:var(--crm-shadow-2) !important;
}

@media (prefers-reduced-motion: reduce){
  .ui-btn,
  a.ui-btn,
  button.ui-btn,
  .crm-mini-btn,
  .pipeline-card-open{
    transition:none;
  }

  .ui-btn:hover,
  a.ui-btn:hover,
  button.ui-btn:hover,
  .crm-mini-btn:hover,
  .pipeline-card-open:hover{
    transform:none;
  }
}
/* === END crm-ui_part_03.css === */
/* === BEGIN crm-layout-base.css === */
.crm-side-nav{
      display:flex;
      flex-direction:column;
      gap:18px;
    }

    .crm-nav-section{
      display:flex;
      flex-direction:column;
      gap:6px;
    }

    .crm-nav-label{
      padding:0 8px;
      font-size:10px;
      line-height:1;
      text-transform:uppercase;
      letter-spacing:.16em;
      font-weight:850;
    }

    .crm-nav-item{
      min-height:38px;
      display:flex;
      align-items:center;
      gap:10px;
      padding:9px 10px;
      border-radius:12px;
      text-decoration:none;
      font-size:13px;
      font-weight:750;
      border:1px solid transparent;
      transition:background .16s ease,border-color .16s ease,transform .16s ease,color .16s ease,box-shadow .16s ease;
    }

    .crm-nav-ico{
      width:22px;
      height:22px;
      border-radius:8px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      flex:0 0 22px;
      font-size:13px;
      color:inherit;
    }

    html[data-theme="light-soft"] body[data-theme="light-soft"] .app-sidebar{
      background:
        radial-gradient(circle at 0% 0%, rgba(15,107,75,.06), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,.70), rgba(241,245,249,.48)),
        rgba(255,255,255,.54) !important;
      border:1px solid rgba(255,255,255,.72) !important;
      box-shadow:
        0 18px 46px rgba(15,23,42,.12),
        inset 0 1px 0 rgba(255,255,255,.82) !important;
      color:#0f172a !important;
      backdrop-filter:blur(24px) saturate(1.08) !important;
      -webkit-backdrop-filter:blur(24px) saturate(1.08) !important;
      border-radius:28px !important;
    }

    html[data-theme="dark"] body[data-theme="dark"] .app-sidebar{
      background:
        radial-gradient(circle at 0% 0%, rgba(15,107,75,.20), transparent 34%),
        linear-gradient(145deg, rgba(15,23,42,.94), rgba(2,6,23,.96)),
        rgba(2,6,23,.92) !important;
      border:1px solid rgba(148,163,184,.22) !important;
      box-shadow:
        0 24px 60px rgba(0,0,0,.52),
        inset 0 1px 0 rgba(255,255,255,.055) !important;
      color:#f8fafc !important;
      backdrop-filter:blur(20px) saturate(1.08) !important;
      -webkit-backdrop-filter:blur(20px) saturate(1.08) !important;
      border-radius:28px !important;
    }

    html[data-theme="light-soft"] body[data-theme="light-soft"] .app-sidebar .ui-panel{
      background:rgba(255,255,255,.58) !important;
      border:1px solid rgba(255,255,255,.70) !important;
      color:#0f172a !important;
      box-shadow:0 10px 24px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.72) !important;
      border-radius:22px !important;
    }

    html[data-theme="dark"] body[data-theme="dark"] .app-sidebar .ui-panel{
      background:rgba(15,23,42,.88) !important;
      border:1px solid rgba(148,163,184,.18) !important;
      color:#f8fafc !important;
      box-shadow:0 12px 28px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.045) !important;
      border-radius:22px !important;
    }

    html[data-theme="light-soft"] body[data-theme="light-soft"] .crm-nav-label{
      color:#64748b !important;
    }

    html[data-theme="dark"] body[data-theme="dark"] .crm-nav-label{
      color:#a8b5c7 !important;
    }

    html[data-theme="light-soft"] body[data-theme="light-soft"] .crm-nav-item{
      color:#334155 !important;
      background:transparent !important;
      border-color:transparent !important;
      box-shadow:none !important;
    }

    html[data-theme="dark"] body[data-theme="dark"] .crm-nav-item{
      color:#dbe3ef !important;
      background:transparent !important;
      border-color:transparent !important;
      box-shadow:none !important;
    }

    html[data-theme="light-soft"] body[data-theme="light-soft"] .crm-nav-item:hover{
      background:rgba(255,255,255,.58) !important;
      border-color:rgba(255,255,255,.68) !important;
      color:#0f172a !important;
      box-shadow:0 10px 24px rgba(15,23,42,.08) !important;
      transform:translateX(1px);
    }

    html[data-theme="dark"] body[data-theme="dark"] .crm-nav-item:hover{
      background:rgba(15,23,42,.92) !important;
      border-color:rgba(148,163,184,.22) !important;
      color:#ffffff !important;
      box-shadow:0 12px 28px rgba(0,0,0,.34) !important;
      transform:translateX(1px);
    }

    html[data-theme] body[data-theme] .crm-nav-item.is-active{
      background:linear-gradient(135deg, rgba(22,163,74,.98), rgba(15,107,75,.94)) !important;
      border-color:rgba(255,255,255,.22) !important;
      color:#fff !important;
      box-shadow:0 16px 32px rgba(15,107,75,.28), inset 0 1px 0 rgba(255,255,255,.18) !important;
    }

    html[data-theme="light-soft"] body[data-theme="light-soft"] .crm-nav-ico{
      background:rgba(255,255,255,.54) !important;
      border:1px solid rgba(255,255,255,.64) !important;
      color:inherit !important;
    }

    html[data-theme="dark"] body[data-theme="dark"] .crm-nav-ico{
      background:rgba(15,23,42,.92) !important;
      border:1px solid rgba(148,163,184,.20) !important;
      color:inherit !important;
    }

    html[data-theme] body[data-theme] .crm-nav-item.is-active .crm-nav-ico{
      background:rgba(255,255,255,.18) !important;
      border-color:rgba(255,255,255,.18) !important;
      color:#fff !important;
    }

/* CRM SIDEBAR FINAL OVERRIDE SAFE */

    html[data-theme="light-soft"] body[data-theme="light-soft"] .app-sidebar{
      background:
        radial-gradient(circle at 0% 0%, rgba(15,107,75,.055), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,.76), rgba(241,245,249,.56)),
        rgba(255,255,255,.62) !important;
      border:1px solid rgba(255,255,255,.76) !important;
      box-shadow:0 18px 46px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.86) !important;
      color:#0f172a !important;
      backdrop-filter:blur(24px) saturate(1.08) !important;
      -webkit-backdrop-filter:blur(24px) saturate(1.08) !important;
    }

    html[data-theme="dark"] body[data-theme="dark"] .app-sidebar{
      background:
        radial-gradient(circle at 0% 0%, rgba(15,107,75,.18), transparent 34%),
        linear-gradient(145deg, rgba(15,23,42,.96), rgba(2,6,23,.98)),
        rgba(2,6,23,.94) !important;
      border:1px solid rgba(148,163,184,.22) !important;
      box-shadow:0 24px 60px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.055) !important;
      color:#f8fafc !important;
      backdrop-filter:blur(20px) saturate(1.06) !important;
      -webkit-backdrop-filter:blur(20px) saturate(1.06) !important;
    }

    html[data-theme="light-soft"] body[data-theme="light-soft"] .app-sidebar,
    html[data-theme="light-soft"] body[data-theme="light-soft"] .app-sidebar *:not(.crm-nav-item.is-active):not(.crm-nav-item.is-active *){
      color:#0f172a !important;
      opacity:1 !important;
    }

    html[data-theme="dark"] body[data-theme="dark"] .app-sidebar,
    html[data-theme="dark"] body[data-theme="dark"] .app-sidebar *:not(.crm-nav-item.is-active):not(.crm-nav-item.is-active *){
      color:#e5edf8 !important;
      opacity:1 !important;
    }

    html[data-theme="light-soft"] body[data-theme="light-soft"] .crm-nav-label{
      color:#64748b !important;
    }

    html[data-theme="dark"] body[data-theme="dark"] .crm-nav-label{
      color:#a8b5c7 !important;
    }

    html[data-theme] body[data-theme] .crm-nav-item.is-active,
    html[data-theme] body[data-theme] .crm-nav-item.is-active *{
      color:#fff !important;
      opacity:1 !important;
    }
/* === END crm-layout-base.css === */
/* === BEGIN crm-ui-select.css === */
/* Menu personalizzato al posto del <select> nativo (CRM). */

.app-shell select:not([multiple]):not(.ui-select-native) {
  -webkit-appearance: none;
  appearance: none;
}

.ui-select {
  position: relative;
  display: block;
  width: 100%;
}

.ui-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

.ui-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  padding-right: 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-1);
  background: var(--surface-2);
  color: var(--text-1);
  box-shadow: var(--shadow-1);
  font: inherit;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.ui-select-trigger::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.2rem;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: rotate(45deg);
  pointer-events: none;
  transition: transform 0.15s ease;
}

.ui-select.is-open .ui-select-trigger::after {
  margin-top: 0.05rem;
  transform: rotate(-135deg);
}

.ui-select-trigger:hover:not(:disabled) {
  border-color: var(--border-2);
}

.ui-select-trigger:focus-visible {
  outline: none;
  border-color: var(--border-2);
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.12);
}

.ui-select-trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ui-select-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ui-select-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  max-height: min(18rem, 50vh);
  overflow-y: auto;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border-radius: 1rem;
  border: 1px solid var(--border-2);
  background: var(--surface-1);
  box-shadow: var(--shadow-2);
  backdrop-filter: var(--crm-blur, blur(12px));
}

.ui-select-menu[hidden] {
  display: none !important;
}

/* Portal su body: reset regole absolute (con fixed, top:100% = fondo viewport!) */
.ui-select-menu.ui-select-menu--portal {
  position: fixed !important;
  top: unset !important;
  left: unset !important;
  right: auto !important;
  bottom: auto !important;
  width: unset !important;
  max-height: unset !important;
  margin: 0 !important;
  z-index: 1400 !important;
  transform: none !important;
}

.ui-select-option {
  display: block;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  color: var(--text-1);
  font: inherit;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}

.ui-select-option:hover,
.ui-select-option:focus-visible {
  background: rgba(37, 99, 235, 0.1);
  outline: none;
}

.ui-select-option.is-selected {
  background: rgba(37, 99, 235, 0.16);
  font-weight: 600;
}

.ui-select-option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ui-select-group-label {
  padding: 0.45rem 0.85rem 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

html[data-preset="light"] .ui-select-trigger,
body[data-preset="light"] .ui-select-trigger {
  background: rgba(255, 255, 255, 0.46);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}

html:not([data-preset="light"]) .ui-select-trigger,
body:not([data-preset="light"]) .ui-select-trigger {
  background: rgba(10, 18, 34, 0.44);
  color: #eef4ff;
  border-color: rgba(255, 255, 255, 0.14);
}

.ui-select.text-xs .ui-select-trigger {
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  padding-right: 2rem;
  font-size: 0.75rem;
  border-radius: 0.75rem;
}

.ui-select.text-sm .ui-select-trigger {
  font-size: 0.875rem;
}
/* === END crm-ui-select.css === */
