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

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

b,
strong {
  font-weight: bolder;
}

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

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

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

small {
  font-size: 80%;
}

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

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

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

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

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

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

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

button,
select {
  text-transform: none;
}

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

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

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

:-moz-focusring {
  outline: auto;
}

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

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

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

progress {
  vertical-align: baseline;
}

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

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

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

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

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

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

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

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

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

summary {
  display: list-item;
}

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

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

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

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

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

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

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

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

/*
Set the default cursor for buttons.
*/

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

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

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

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

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

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

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
  :root {
    color-scheme: light;
    --background: 210 22% 97%;
    --foreground: 224 40% 12%;
    --card: 0 0% 100%;
    --card-foreground: 224 40% 12%;
    --popover: 0 0% 100%;
    --popover-foreground: 224 40% 12%;
    --primary: 199 92% 44%;
    --primary-foreground: 204 100% 97%;
    --primary-hover: 199 90% 40%;
    --primary-active: 199 86% 36%;
    --primary-subtle: 199 92% 96%;
    --secondary: 220 18% 92%;
    --secondary-foreground: 222 48% 21%;
    --secondary-hover: 220 18% 88%;
    --secondary-active: 220 18% 80%;
    --secondary-subtle: 220 18% 97%;
    --muted: 215 16% 92%;
    --muted-foreground: 220 10% 46%;
    --accent: 200 65% 94%;
    --accent-foreground: 210 44% 24%;
    --accent-hover: 200 65% 88%;
    --accent-active: 200 65% 80%;
    --accent-subtle: 200 65% 97%;
    --destructive: 0 70% 52%;
    --destructive-foreground: 0 0% 98%;
    --destructive-hover: 0 72% 46%;
    --destructive-subtle: 0 78% 94%;
    --border: 214 31% 86%;
    --input: 214 31% 86%;
    --ring: 199 92% 44%;
    --surface-muted: 220 16% 97%;
    --surface-hover: 220 20% 94%;
    --surface-pressed: 220 20% 90%;
    --info: 198 89% 48%;
    --info-foreground: 199 100% 96%;
    --info-hover: 198 89% 42%;
    --info-subtle: 198 89% 95%;
    --success: 152 64% 40%;
    --success-foreground: 152 85% 96%;
    --success-hover: 152 64% 34%;
    --success-subtle: 152 64% 94%;
    --warning: 32 96% 50%;
    --warning-foreground: 26 83% 14%;
    --warning-hover: 32 96% 44%;
    --warning-subtle: 32 96% 94%;
    --chart-1: 200 82% 55%;
    --chart-2: 159 68% 45%;
    --chart-3: 41 96% 56%;
    --chart-4: 12 86% 60%;
    --chart-5: 271 78% 65%;
    --radius: 0.75rem;
    --shadow-soft: 220 24% 60%;
  }

  .dark,
  [data-theme="dark"] {
    color-scheme: dark;
    --background: 220 16% 9%;
    --foreground: 0 0% 92%;
    --card: 220 14% 12%;
    --card-foreground: 0 0% 92%;
    --popover: 220 14% 12%;
    --popover-foreground: 0 0% 92%;
    --primary: 199 92% 60%;
    --primary-foreground: 0 0% 6%;
    --primary-hover: 199 92% 54%;
    --primary-active: 199 92% 48%;
    --primary-subtle: 199 30% 18%;
    --secondary: 220 12% 18%;
    --secondary-foreground: 0 0% 88%;
    --secondary-hover: 220 12% 22%;
    --secondary-active: 220 12% 26%;
    --secondary-subtle: 220 12% 14%;
    --muted: 220 10% 20%;
    --muted-foreground: 220 9% 60%;
    --accent: 199 65% 45%;
    --accent-foreground: 0 0% 6%;
    --accent-hover: 199 65% 38%;
    --accent-active: 199 65% 32%;
    --accent-subtle: 199 30% 20%;
    --destructive: 0 70% 48%;
    --destructive-foreground: 0 0% 96%;
    --destructive-hover: 0 70% 42%;
    --destructive-subtle: 0 35% 16%;
    --border: 220 12% 24%;
    --input: 220 12% 24%;
    --ring: 199 92% 60%;
    --surface-muted: 220 12% 14%;
    --surface-hover: 220 12% 18%;
    --surface-pressed: 220 12% 22%;
    --info: 199 85% 58%;
    --info-foreground: 0 0% 6%;
    --info-hover: 199 85% 52%;
    --info-subtle: 199 30% 20%;
    --success: 152 60% 44%;
    --success-foreground: 0 0% 6%;
    --success-hover: 152 60% 38%;
    --success-subtle: 152 24% 18%;
    --warning: 32 82% 54%;
    --warning-foreground: 0 0% 6%;
    --warning-hover: 32 82% 48%;
    --warning-subtle: 32 30% 20%;
    --chart-1: 199 70% 58%;
    --chart-2: 152 55% 46%;
    --chart-3: 32 78% 52%;
    --chart-4: 8 78% 56%;
    --chart-5: 281 55% 60%;
    --shadow-soft: 220 30% 14%;
  }

  * {
  border-color: hsl(var(--border));
}

  body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "rlig" 1, "calt" 1;
}
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 2rem;
  padding-left: 2rem;
}
@media (min-width: 1400px) {

  .container {
    max-width: 1400px;
  }
}
.app-surface-quiet {
    background-color: hsl(var(--surface-muted) / 0.8);
    backdrop-filter: blur(8px);
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
    --tw-ring-color: hsl(var(--border) / 0.3);
  }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.pointer-events-none {
  pointer-events: none;
}
.\!visible {
  visibility: visible !important;
}
.visible {
  visibility: visible;
}
.collapse {
  visibility: collapse;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.inset-x-0 {
  left: 0px;
  right: 0px;
}
.inset-y-0 {
  top: 0px;
  bottom: 0px;
}
.-bottom-1\/4 {
  bottom: -25%;
}
.-left-1\/4 {
  left: -25%;
}
.-right-1\/4 {
  right: -25%;
}
.-top-1\/4 {
  top: -25%;
}
.bottom-0 {
  bottom: 0px;
}
.left-0 {
  left: 0px;
}
.left-2 {
  left: 0.5rem;
}
.left-3 {
  left: 0.75rem;
}
.left-4 {
  left: 1rem;
}
.left-\[50\%\] {
  left: 50%;
}
.left-full {
  left: 100%;
}
.right-0 {
  right: 0px;
}
.right-2 {
  right: 0.5rem;
}
.right-3 {
  right: 0.75rem;
}
.right-4 {
  right: 1rem;
}
.right-6 {
  right: 1.5rem;
}
.top-0 {
  top: 0px;
}
.top-1\/2 {
  top: 50%;
}
.top-4 {
  top: 1rem;
}
.top-6 {
  top: 1.5rem;
}
.top-\[1px\] {
  top: 1px;
}
.top-\[50\%\] {
  top: 50%;
}
.top-\[60\%\] {
  top: 60%;
}
.top-full {
  top: 100%;
}
.isolate {
  isolation: isolate;
}
.z-10 {
  z-index: 10;
}
.z-50 {
  z-index: 50;
}
.z-\[1\] {
  z-index: 1;
}
.z-\[49\] {
  z-index: 49;
}
.z-\[60\] {
  z-index: 60;
}
.-mx-1 {
  margin-left: -0.25rem;
  margin-right: -0.25rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-1\.5 {
  margin-bottom: 0.375rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-3 {
  margin-left: 0.75rem;
}
.ml-4 {
  margin-left: 1rem;
}
.ml-auto {
  margin-left: auto;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-1\.5 {
  margin-top: 0.375rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.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;
}
.contents {
  display: contents;
}
.hidden {
  display: none;
}
.aspect-square {
  aspect-ratio: 1 / 1;
}
.h-1\.5 {
  height: 0.375rem;
}
.h-10 {
  height: 2.5rem;
}
.h-12 {
  height: 3rem;
}
.h-16 {
  height: 4rem;
}
.h-2 {
  height: 0.5rem;
}
.h-2\.5 {
  height: 0.625rem;
}
.h-3 {
  height: 0.75rem;
}
.h-3\.5 {
  height: 0.875rem;
}
.h-4 {
  height: 1rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-7 {
  height: 1.75rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-\[1\.2rem\] {
  height: 1.2rem;
}
.h-\[1px\] {
  height: 1px;
}
.h-\[500px\] {
  height: 500px;
}
.h-\[600px\] {
  height: 600px;
}
.h-\[var\(--radix-navigation-menu-viewport-height\)\] {
  height: var(--radix-navigation-menu-viewport-height);
}
.h-\[var\(--radix-select-trigger-height\)\] {
  height: var(--radix-select-trigger-height);
}
.h-auto {
  height: auto;
}
.h-full {
  height: 100%;
}
.h-px {
  height: 1px;
}
.h-screen {
  height: 100vh;
}
.max-h-40 {
  max-height: 10rem;
}
.max-h-60 {
  max-height: 15rem;
}
.max-h-\[--radix-select-content-available-height\] {
  max-height: var(--radix-select-content-available-height);
}
.max-h-\[80vh\] {
  max-height: 80vh;
}
.max-h-\[90vh\] {
  max-height: 90vh;
}
.max-h-\[calc\(80vh-140px\)\] {
  max-height: calc(80vh - 140px);
}
.max-h-\[var\(--radix-dropdown-menu-content-available-height\)\] {
  max-height: var(--radix-dropdown-menu-content-available-height);
}
.min-h-\[200px\] {
  min-height: 200px;
}
.min-h-\[280px\] {
  min-height: 280px;
}
.min-h-\[400px\] {
  min-height: 400px;
}
.min-h-\[44px\] {
  min-height: 44px;
}
.min-h-\[60px\] {
  min-height: 60px;
}
.min-h-screen {
  min-height: 100vh;
}
.w-10 {
  width: 2.5rem;
}
.w-12 {
  width: 3rem;
}
.w-16 {
  width: 4rem;
}
.w-2 {
  width: 0.5rem;
}
.w-2\.5 {
  width: 0.625rem;
}
.w-3 {
  width: 0.75rem;
}
.w-3\.5 {
  width: 0.875rem;
}
.w-3\/4 {
  width: 75%;
}
.w-3\/5 {
  width: 60%;
}
.w-4 {
  width: 1rem;
}
.w-4\/5 {
  width: 80%;
}
.w-40 {
  width: 10rem;
}
.w-48 {
  width: 12rem;
}
.w-5 {
  width: 1.25rem;
}
.w-6 {
  width: 1.5rem;
}
.w-60 {
  width: 15rem;
}
.w-7 {
  width: 1.75rem;
}
.w-8 {
  width: 2rem;
}
.w-9 {
  width: 2.25rem;
}
.w-\[1\.2rem\] {
  width: 1.2rem;
}
.w-\[1px\] {
  width: 1px;
}
.w-\[500px\] {
  width: 500px;
}
.w-\[600px\] {
  width: 600px;
}
.w-auto {
  width: auto;
}
.w-full {
  width: 100%;
}
.w-max {
  width: -moz-max-content;
  width: max-content;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-5 {
  min-width: 1.25rem;
}
.min-w-\[120px\] {
  min-width: 120px;
}
.min-w-\[180px\] {
  min-width: 180px;
}
.min-w-\[200px\] {
  min-width: 200px;
}
.min-w-\[8rem\] {
  min-width: 8rem;
}
.min-w-\[var\(--radix-select-trigger-width\)\] {
  min-width: var(--radix-select-trigger-width);
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-5xl {
  max-width: 64rem;
}
.max-w-7xl {
  max-width: 80rem;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-max {
  max-width: -moz-max-content;
  max-width: max-content;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-sm {
  max-width: 24rem;
}
.max-w-xl {
  max-width: 36rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-shrink {
  flex-shrink: 1;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.shrink-0 {
  flex-shrink: 0;
}
.origin-\[--radix-dropdown-menu-content-transform-origin\] {
  transform-origin: var(--radix-dropdown-menu-content-transform-origin);
}
.origin-\[--radix-select-content-transform-origin\] {
  transform-origin: var(--radix-select-content-transform-origin);
}
.-translate-x-full {
  --tw-translate-x: -100%;
  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));
}
.translate-x-0 {
  --tw-translate-x: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-x-\[-50\%\] {
  --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-\[-50\%\] {
  --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));
}
.rotate-0 {
  --tw-rotate: 0deg;
  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));
}
.rotate-45 {
  --tw-rotate: 45deg;
  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));
}
.rotate-90 {
  --tw-rotate: 90deg;
  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));
}
.scale-0 {
  --tw-scale-x: 0;
  --tw-scale-y: 0;
  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));
}
.scale-100 {
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
@keyframes pulse {

  50% {
    opacity: .5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.cursor-default {
  cursor: default;
}
.cursor-not-allowed {
  cursor: not-allowed;
}
.cursor-pointer {
  cursor: pointer;
}
.touch-none {
  touch-action: none;
}
.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.resize-y {
  resize: vertical;
}
.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));
}
.flex-col {
  flex-direction: column;
}
.flex-col-reverse {
  flex-direction: column-reverse;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-2\.5 {
  gap: 0.625rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
.space-x-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.25rem * var(--tw-space-x-reverse));
  margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.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-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * 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-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));
}
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}
.self-start {
  align-self: flex-start;
}
.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-y-auto {
  overflow-y: auto;
}
.overflow-x-hidden {
  overflow-x: hidden;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-\[inherit\] {
  border-radius: inherit;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: var(--radius);
}
.rounded-md {
  border-radius: calc(var(--radius) - 2px);
}
.rounded-sm {
  border-radius: calc(var(--radius) - 4px);
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-tl-sm {
  border-top-left-radius: calc(var(--radius) - 4px);
}
.border {
  border-width: 1px;
}
.border-0 {
  border-width: 0px;
}
.border-4 {
  border-width: 4px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-l {
  border-left-width: 1px;
}
.border-l-4 {
  border-left-width: 4px;
}
.border-r {
  border-right-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-solid {
  border-style: solid;
}
.border-dashed {
  border-style: dashed;
}
.border-amber-200 {
  --tw-border-opacity: 1;
  border-color: rgb(253 230 138 / var(--tw-border-opacity, 1));
}
.border-border {
  border-color: hsl(var(--border));
}
.border-border\/20 {
  border-color: hsl(var(--border) / 0.2);
}
.border-border\/25 {
  border-color: hsl(var(--border) / 0.25);
}
.border-border\/30 {
  border-color: hsl(var(--border) / 0.3);
}
.border-border\/40 {
  border-color: hsl(var(--border) / 0.4);
}
.border-border\/50 {
  border-color: hsl(var(--border) / 0.5);
}
.border-border\/60 {
  border-color: hsl(var(--border) / 0.6);
}
.border-border\/70 {
  border-color: hsl(var(--border) / 0.7);
}
.border-current {
  border-color: currentColor;
}
.border-destructive {
  border-color: hsl(var(--destructive));
}
.border-destructive\/20 {
  border-color: hsl(var(--destructive) / 0.2);
}
.border-destructive\/40 {
  border-color: hsl(var(--destructive) / 0.4);
}
.border-destructive\/50 {
  border-color: hsl(var(--destructive) / 0.5);
}
.border-foreground\/20 {
  border-color: hsl(var(--foreground) / 0.2);
}
.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
.border-input {
  border-color: hsl(var(--input));
}
.border-primary {
  border-color: hsl(var(--primary));
}
.border-primary\/20 {
  border-color: hsl(var(--primary) / 0.2);
}
.border-primary\/30 {
  border-color: hsl(var(--primary) / 0.3);
}
.border-red-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
}
.border-transparent {
  border-color: transparent;
}
.border-yellow-500\/20 {
  border-color: rgb(234 179 8 / 0.2);
}
.border-l-destructive {
  border-left-color: hsl(var(--destructive));
}
.border-l-primary {
  border-left-color: hsl(var(--primary));
}
.border-l-transparent {
  border-left-color: transparent;
}
.border-l-yellow-500 {
  --tw-border-opacity: 1;
  border-left-color: rgb(234 179 8 / var(--tw-border-opacity, 1));
}
.border-r-transparent {
  border-right-color: transparent;
}
.border-t-transparent {
  border-top-color: transparent;
}
.bg-accent {
  background-color: hsl(var(--accent));
}
.bg-accent\/30 {
  background-color: hsl(var(--accent) / 0.3);
}
.bg-accent\/5 {
  background-color: hsl(var(--accent) / 0.05);
}
.bg-accent\/50 {
  background-color: hsl(var(--accent) / 0.5);
}
.bg-amber-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 251 235 / var(--tw-bg-opacity, 1));
}
.bg-background {
  background-color: hsl(var(--background));
}
.bg-background\/50 {
  background-color: hsl(var(--background) / 0.5);
}
.bg-background\/80 {
  background-color: hsl(var(--background) / 0.8);
}
.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}
.bg-black\/80 {
  background-color: rgb(0 0 0 / 0.8);
}
.bg-blue-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
}
.bg-border {
  background-color: hsl(var(--border));
}
.bg-border\/60 {
  background-color: hsl(var(--border) / 0.6);
}
.bg-card {
  background-color: hsl(var(--card));
}
.bg-card\/50 {
  background-color: hsl(var(--card) / 0.5);
}
.bg-card\/60 {
  background-color: hsl(var(--card) / 0.6);
}
.bg-card\/80 {
  background-color: hsl(var(--card) / 0.8);
}
.bg-card\/95 {
  background-color: hsl(var(--card) / 0.95);
}
.bg-destructive {
  background-color: hsl(var(--destructive));
}
.bg-destructive\/10 {
  background-color: hsl(var(--destructive) / 0.1);
}
.bg-destructive\/15 {
  background-color: hsl(var(--destructive) / 0.15);
}
.bg-destructive\/5 {
  background-color: hsl(var(--destructive) / 0.05);
}
.bg-green-500\/10 {
  background-color: rgb(34 197 94 / 0.1);
}
.bg-muted {
  background-color: hsl(var(--muted));
}
.bg-muted\/30 {
  background-color: hsl(var(--muted) / 0.3);
}
.bg-muted\/50 {
  background-color: hsl(var(--muted) / 0.5);
}
.bg-orange-500\/10 {
  background-color: rgb(249 115 22 / 0.1);
}
.bg-popover {
  background-color: hsl(var(--popover));
}
.bg-primary {
  background-color: hsl(var(--primary));
}
.bg-primary\/10 {
  background-color: hsl(var(--primary) / 0.1);
}
.bg-primary\/20 {
  background-color: hsl(var(--primary) / 0.2);
}
.bg-primary\/5 {
  background-color: hsl(var(--primary) / 0.05);
}
.bg-purple-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 232 255 / var(--tw-bg-opacity, 1));
}
.bg-purple-500\/10 {
  background-color: rgb(168 85 247 / 0.1);
}
.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}
.bg-red-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.bg-secondary {
  background-color: hsl(var(--secondary));
}
.bg-transparent {
  background-color: transparent;
}
.bg-yellow-500\/10 {
  background-color: rgb(234 179 8 / 0.1);
}
.bg-yellow-500\/5 {
  background-color: rgb(234 179 8 / 0.05);
}
.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.from-background {
  --tw-gradient-from: hsl(var(--background)) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(var(--background) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-card\/80 {
  --tw-gradient-from: hsl(var(--card) / 0.8) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(var(--card) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-primary {
  --tw-gradient-from: hsl(var(--primary)) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(var(--primary) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-primary\/5 {
  --tw-gradient-from: hsl(var(--primary) / 0.05) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(var(--primary) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-accent\/5 {
  --tw-gradient-to: hsl(var(--accent) / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), hsl(var(--accent) / 0.05) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-background {
  --tw-gradient-to: hsl(var(--background) / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), hsl(var(--background)) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.to-accent\/10 {
  --tw-gradient-to: hsl(var(--accent) / 0.1) var(--tw-gradient-to-position);
}
.to-background {
  --tw-gradient-to: hsl(var(--background)) var(--tw-gradient-to-position);
}
.to-card\/40 {
  --tw-gradient-to: hsl(var(--card) / 0.4) var(--tw-gradient-to-position);
}
.to-primary\/90 {
  --tw-gradient-to: hsl(var(--primary) / 0.9) var(--tw-gradient-to-position);
}
.fill-current {
  fill: currentColor;
}
.fill-rose-400\/30 {
  fill: rgb(251 113 133 / 0.3);
}
.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}
.p-1 {
  padding: 0.25rem;
}
.p-12 {
  padding: 3rem;
}
.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-8 {
  padding: 2rem;
}
.p-\[1px\] {
  padding: 1px;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.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-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.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;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pl-10 {
  padding-left: 2.5rem;
}
.pl-2 {
  padding-left: 0.5rem;
}
.pl-8 {
  padding-left: 2rem;
}
.pr-10 {
  padding-right: 2.5rem;
}
.pr-2 {
  padding-right: 0.5rem;
}
.pr-8 {
  padding-right: 2rem;
}
.pt-0 {
  padding-top: 0px;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pt-5 {
  padding-top: 1.25rem;
}
.pt-6 {
  padding-top: 1.5rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.align-\[-0\.125em\] {
  vertical-align: -0.125em;
}
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-\[0\.8rem\] {
  font-size: 0.8rem;
}
.text-\[10px\] {
  font-size: 10px;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-extrabold {
  font-weight: 800;
}
.font-medium {
  font-weight: 500;
}
.font-normal {
  font-weight: 400;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.lowercase {
  text-transform: lowercase;
}
.capitalize {
  text-transform: capitalize;
}
.italic {
  font-style: italic;
}
.leading-none {
  line-height: 1;
}
.leading-relaxed {
  line-height: 1.625;
}
.leading-snug {
  line-height: 1.375;
}
.leading-tight {
  line-height: 1.25;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.tracking-widest {
  letter-spacing: 0.1em;
}
.text-accent-foreground {
  color: hsl(var(--accent-foreground));
}
.text-amber-600 {
  --tw-text-opacity: 1;
  color: rgb(217 119 6 / var(--tw-text-opacity, 1));
}
.text-amber-700 {
  --tw-text-opacity: 1;
  color: rgb(180 83 9 / var(--tw-text-opacity, 1));
}
.text-amber-800 {
  --tw-text-opacity: 1;
  color: rgb(146 64 14 / var(--tw-text-opacity, 1));
}
.text-blue-500 {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}
.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}
.text-blue-700 {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity, 1));
}
.text-card-foreground {
  color: hsl(var(--card-foreground));
}
.text-destructive {
  color: hsl(var(--destructive));
}
.text-destructive-foreground {
  color: hsl(var(--destructive-foreground));
}
.text-emerald-500\/70 {
  color: rgb(16 185 129 / 0.7);
}
.text-foreground {
  color: hsl(var(--foreground));
}
.text-green-500 {
  --tw-text-opacity: 1;
  color: rgb(34 197 94 / var(--tw-text-opacity, 1));
}
.text-green-600 {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}
.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}
.text-muted-foreground\/50 {
  color: hsl(var(--muted-foreground) / 0.5);
}
.text-muted-foreground\/60 {
  color: hsl(var(--muted-foreground) / 0.6);
}
.text-muted-foreground\/70 {
  color: hsl(var(--muted-foreground) / 0.7);
}
.text-orange-600 {
  --tw-text-opacity: 1;
  color: rgb(234 88 12 / var(--tw-text-opacity, 1));
}
.text-popover-foreground {
  color: hsl(var(--popover-foreground));
}
.text-primary {
  color: hsl(var(--primary));
}
.text-primary-foreground {
  color: hsl(var(--primary-foreground));
}
.text-primary\/60 {
  color: hsl(var(--primary) / 0.6);
}
.text-primary\/80 {
  color: hsl(var(--primary) / 0.8);
}
.text-purple-500 {
  --tw-text-opacity: 1;
  color: rgb(168 85 247 / var(--tw-text-opacity, 1));
}
.text-purple-600 {
  --tw-text-opacity: 1;
  color: rgb(147 51 234 / var(--tw-text-opacity, 1));
}
.text-purple-700 {
  --tw-text-opacity: 1;
  color: rgb(126 34 206 / var(--tw-text-opacity, 1));
}
.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}
.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}
.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}
.text-red-800 {
  --tw-text-opacity: 1;
  color: rgb(153 27 27 / var(--tw-text-opacity, 1));
}
.text-red-900 {
  --tw-text-opacity: 1;
  color: rgb(127 29 29 / var(--tw-text-opacity, 1));
}
.text-rose-400\/70 {
  color: rgb(251 113 133 / 0.7);
}
.text-secondary-foreground {
  color: hsl(var(--secondary-foreground));
}
.text-success {
  color: hsl(var(--success));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.text-yellow-700 {
  --tw-text-opacity: 1;
  color: rgb(161 98 7 / var(--tw-text-opacity, 1));
}
.underline {
  text-decoration-line: underline;
}
.underline-offset-4 {
  text-underline-offset: 4px;
}
.opacity-0 {
  opacity: 0;
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-60 {
  opacity: 0.6;
}
.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-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.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-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px 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-black\/5 {
  --tw-shadow-color: rgb(0 0 0 / 0.05);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-primary\/5 {
  --tw-shadow-color: hsl(var(--primary) / 0.05);
  --tw-shadow: var(--tw-shadow-colored);
}
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.outline {
  outline-style: solid;
}
.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-offset-background {
  --tw-ring-offset-color: hsl(var(--background));
}
.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-md {
  --tw-backdrop-blur: blur(12px);
  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);
}
.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;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.micro-interaction {
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 220ms ease;
  }
.micro-interaction:hover {
    transform: translateY(-1px);
  }
.micro-interaction:active {
    transform: translateY(0);
  }
.micro-fade {
    animation: micro-fade-in 200ms ease forwards;
  }
@keyframes micro-fade-in {
    from {
      opacity: 0;
      transform: translateY(4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

/* ============================================
   GOOGLE SIGN-IN IFRAME ERROR FIX
   Hide Google's auto-injected iframe that shows errors
   when resources fail to load (blocked by ad blockers, etc.)
   ============================================ */
iframe[src^="chrome-error://"],
iframe[src="about:blank"]:not([title]),
#credential_picker_container,
#credential_picker_iframe {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}
.file\:border-0::file-selector-button {
  border-width: 0px;
}
.file\:bg-transparent::file-selector-button {
  background-color: transparent;
}
.file\:text-sm::file-selector-button {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.file\:font-medium::file-selector-button {
  font-weight: 500;
}
.file\:text-foreground::file-selector-button {
  color: hsl(var(--foreground));
}
.placeholder\:text-muted-foreground::-moz-placeholder {
  color: hsl(var(--muted-foreground));
}
.placeholder\:text-muted-foreground::placeholder {
  color: hsl(var(--muted-foreground));
}
.hover\:-translate-y-1:hover {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:border-border\/50:hover {
  border-color: hsl(var(--border) / 0.5);
}
.hover\:border-border\/60:hover {
  border-color: hsl(var(--border) / 0.6);
}
.hover\:border-border\/80:hover {
  border-color: hsl(var(--border) / 0.8);
}
.hover\:border-primary:hover {
  border-color: hsl(var(--primary));
}
.hover\:bg-accent:hover {
  background-color: hsl(var(--accent));
}
.hover\:bg-card\/80:hover {
  background-color: hsl(var(--card) / 0.8);
}
.hover\:bg-destructive\/80:hover {
  background-color: hsl(var(--destructive) / 0.8);
}
.hover\:bg-destructive\/90:hover {
  background-color: hsl(var(--destructive) / 0.9);
}
.hover\:bg-muted:hover {
  background-color: hsl(var(--muted));
}
.hover\:bg-primary\/15:hover {
  background-color: hsl(var(--primary) / 0.15);
}
.hover\:bg-primary\/80:hover {
  background-color: hsl(var(--primary) / 0.8);
}
.hover\:bg-primary\/90:hover {
  background-color: hsl(var(--primary) / 0.9);
}
.hover\:bg-red-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}
.hover\:bg-secondary\/80:hover {
  background-color: hsl(var(--secondary) / 0.8);
}
.hover\:bg-transparent:hover {
  background-color: transparent;
}
.hover\:from-primary\/90:hover {
  --tw-gradient-from: hsl(var(--primary) / 0.9) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(var(--primary) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:to-primary\/80:hover {
  --tw-gradient-to: hsl(var(--primary) / 0.8) var(--tw-gradient-to-position);
}
.hover\:text-accent-foreground:hover {
  color: hsl(var(--accent-foreground));
}
.hover\:text-blue-700:hover {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity, 1));
}
.hover\:text-foreground:hover {
  color: hsl(var(--foreground));
}
.hover\:text-muted-foreground:hover {
  color: hsl(var(--muted-foreground));
}
.hover\:text-primary:hover {
  color: hsl(var(--primary));
}
.hover\:text-primary\/80:hover {
  color: hsl(var(--primary) / 0.8);
}
.hover\:underline:hover {
  text-decoration-line: underline;
}
.hover\:no-underline:hover {
  text-decoration-line: none;
}
.hover\:opacity-100:hover {
  opacity: 1;
}
.hover\:shadow-lg:hover {
  --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);
}
.hover\:shadow-md:hover {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:shadow-sm:hover {
  --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);
}
.focus\:bg-accent:focus {
  background-color: hsl(var(--accent));
}
.focus\:text-accent-foreground:focus {
  color: hsl(var(--accent-foreground));
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus\:ring-1: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(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.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-ring:focus {
  --tw-ring-color: hsl(var(--ring));
}
.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}
.focus-visible\:outline-none:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus-visible\:ring-1:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus-visible\:ring-2:focus-visible {
  --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-visible\:ring-destructive\/50:focus-visible {
  --tw-ring-color: hsl(var(--destructive) / 0.5);
}
.focus-visible\:ring-ring:focus-visible {
  --tw-ring-color: hsl(var(--ring));
}
.focus-visible\:ring-offset-2:focus-visible {
  --tw-ring-offset-width: 2px;
}
.active\:opacity-70:active {
  opacity: 0.7;
}
.disabled\:pointer-events-none:disabled {
  pointer-events: none;
}
.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}
.disabled\:opacity-50:disabled {
  opacity: 0.5;
}
.group:hover .group-hover\:bg-primary\/15 {
  background-color: hsl(var(--primary) / 0.15);
}
.group:hover .group-hover\:text-primary {
  color: hsl(var(--primary));
}
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}
.peer:disabled ~ .peer-disabled\:cursor-not-allowed {
  cursor: not-allowed;
}
.peer:disabled ~ .peer-disabled\:opacity-70 {
  opacity: 0.7;
}
.data-\[disabled\]\:pointer-events-none[data-disabled] {
  pointer-events: none;
}
.data-\[side\=bottom\]\:translate-y-1[data-side="bottom"] {
  --tw-translate-y: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.data-\[side\=left\]\:-translate-x-1[data-side="left"] {
  --tw-translate-x: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.data-\[side\=right\]\:translate-x-1[data-side="right"] {
  --tw-translate-x: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.data-\[side\=top\]\:-translate-y-1[data-side="top"] {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.data-\[state\=active\]\:bg-background[data-state="active"] {
  background-color: hsl(var(--background));
}
.data-\[state\=checked\]\:bg-accent[data-state="checked"] {
  background-color: hsl(var(--accent));
}
.data-\[state\=checked\]\:bg-primary[data-state="checked"] {
  background-color: hsl(var(--primary));
}
.data-\[state\=open\]\:bg-accent[data-state="open"] {
  background-color: hsl(var(--accent));
}
.data-\[state\=open\]\:bg-accent\/50[data-state="open"] {
  background-color: hsl(var(--accent) / 0.5);
}
.data-\[state\=open\]\:bg-secondary[data-state="open"] {
  background-color: hsl(var(--secondary));
}
.data-\[placeholder\]\:text-muted-foreground[data-placeholder] {
  color: hsl(var(--muted-foreground));
}
.data-\[state\=active\]\:text-foreground[data-state="active"] {
  color: hsl(var(--foreground));
}
.data-\[state\=checked\]\:text-primary-foreground[data-state="checked"] {
  color: hsl(var(--primary-foreground));
}
.data-\[state\=open\]\:text-accent-foreground[data-state="open"] {
  color: hsl(var(--accent-foreground));
}
.data-\[state\=open\]\:text-muted-foreground[data-state="open"] {
  color: hsl(var(--muted-foreground));
}
.data-\[disabled\]\:opacity-50[data-disabled] {
  opacity: 0.5;
}
.data-\[state\=active\]\:shadow[data-state="active"] {
  --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);
}
.data-\[state\=closed\]\:duration-300[data-state="closed"] {
  transition-duration: 300ms;
}
.data-\[state\=open\]\:duration-500[data-state="open"] {
  transition-duration: 500ms;
}
.data-\[state\=open\]\:hover\:bg-accent:hover[data-state="open"] {
  background-color: hsl(var(--accent));
}
.data-\[state\=open\]\:focus\:bg-accent:focus[data-state="open"] {
  background-color: hsl(var(--accent));
}
.group[data-state="open"] .group-data-\[state\=open\]\:rotate-180 {
  --tw-rotate: 180deg;
  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));
}
@media (prefers-reduced-motion: reduce) {

  @keyframes spin {

    to {
      transform: rotate(360deg);
    }
  }

  .motion-reduce\:animate-\[spin_1\.5s_linear_infinite\] {
    animation: spin 1.5s linear infinite;
  }
}
.dark\:-rotate-90:is(.dark *) {
  --tw-rotate: -90deg;
  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));
}
.dark\:rotate-0:is(.dark *) {
  --tw-rotate: 0deg;
  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));
}
.dark\:scale-0:is(.dark *) {
  --tw-scale-x: 0;
  --tw-scale-y: 0;
  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));
}
.dark\:scale-100:is(.dark *) {
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.dark\:border-amber-800:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(146 64 14 / var(--tw-border-opacity, 1));
}
.dark\:border-destructive:is(.dark *) {
  border-color: hsl(var(--destructive));
}
.dark\:border-red-800:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(153 27 27 / var(--tw-border-opacity, 1));
}
.dark\:bg-amber-900\/20:is(.dark *) {
  background-color: rgb(120 53 15 / 0.2);
}
.dark\:bg-blue-900:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(30 58 138 / var(--tw-bg-opacity, 1));
}
.dark\:bg-purple-900:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(88 28 135 / var(--tw-bg-opacity, 1));
}
.dark\:bg-red-900\/20:is(.dark *) {
  background-color: rgb(127 29 29 / 0.2);
}
.dark\:bg-red-950\/20:is(.dark *) {
  background-color: rgb(69 10 10 / 0.2);
}
.dark\:text-amber-200:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(253 230 138 / var(--tw-text-opacity, 1));
}
.dark\:text-amber-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(252 211 77 / var(--tw-text-opacity, 1));
}
.dark\:text-amber-400:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(251 191 36 / var(--tw-text-opacity, 1));
}
.dark\:text-blue-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(147 197 253 / var(--tw-text-opacity, 1));
}
.dark\:text-green-400:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / var(--tw-text-opacity, 1));
}
.dark\:text-orange-400:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(251 146 60 / var(--tw-text-opacity, 1));
}
.dark\:text-purple-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(216 180 254 / var(--tw-text-opacity, 1));
}
.dark\:text-purple-400:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(192 132 252 / var(--tw-text-opacity, 1));
}
.dark\:text-red-100:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(254 226 226 / var(--tw-text-opacity, 1));
}
.dark\:text-red-200:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(254 202 202 / var(--tw-text-opacity, 1));
}
.dark\:text-red-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}
.dark\:text-red-400:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}
.dark\:text-yellow-400:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}
@media (min-width: 640px) {

  .sm\:block {
    display: block;
  }

  .sm\:inline {
    display: inline;
  }

  .sm\:flex {
    display: flex;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:w-auto {
    width: auto;
  }

  .sm\:max-w-sm {
    max-width: 24rem;
  }

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

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

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

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

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

  .sm\:space-x-2 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(0.5rem * var(--tw-space-x-reverse));
    margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
  }

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

  .sm\:rounded-lg {
    border-radius: var(--radius);
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

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

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

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

  .sm\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}
@media (min-width: 768px) {

  .md\:absolute {
    position: absolute;
  }

  .md\:hidden {
    display: none;
  }

  .md\:w-\[var\(--radix-navigation-menu-viewport-width\)\] {
    width: var(--radix-navigation-menu-viewport-width);
  }

  .md\:w-auto {
    width: auto;
  }

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

  .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\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .md\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}
@media (min-width: 1024px) {

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:w-1\/2 {
    width: 50%;
  }

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

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

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 1280px) {

  .xl\:w-\[45\%\] {
    width: 45%;
  }

  .xl\:w-\[55\%\] {
    width: 55%;
  }

  .xl\:p-16 {
    padding: 4rem;
  }

  .xl\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .xl\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .xl\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}
.\[\&\>span\]\:line-clamp-1>span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div {
  --tw-translate-y: -3px;
  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));
}
.\[\&\>svg\]\:absolute>svg {
  position: absolute;
}
.\[\&\>svg\]\:left-4>svg {
  left: 1rem;
}
.\[\&\>svg\]\:top-4>svg {
  top: 1rem;
}
.\[\&\>svg\]\:size-4>svg {
  width: 1rem;
  height: 1rem;
}
.\[\&\>svg\]\:shrink-0>svg {
  flex-shrink: 0;
}
.\[\&\>svg\]\:text-destructive>svg {
  color: hsl(var(--destructive));
}
.\[\&\>svg\]\:text-foreground>svg {
  color: hsl(var(--foreground));
}
.\[\&\>svg\~\*\]\:pl-7>svg~* {
  padding-left: 1.75rem;
}
.\[\&_p\]\:leading-relaxed p {
  line-height: 1.625;
}
.\[\&_svg\]\:pointer-events-none svg {
  pointer-events: none;
}
.\[\&_svg\]\:size-4 svg {
  width: 1rem;
  height: 1rem;
}
.\[\&_svg\]\:shrink-0 svg {
  flex-shrink: 0;
}
/* Import Design Tokens */
/**
 * Design Tokens - Clinical Notes Standalone
 *
 * Lightweight abstraction over the theme palette defined in globals.css.
 * All semantic tokens resolve to CSS custom properties so that light/dark
 * palettes stay in sync without duplicating values.
 */
:root {
  /* ========================================
     BASE COLOR SCALES (kept for legacy usage)
     ======================================== */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5f5;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --gray-950: #020617;

  --teal-50: #ebfdf9;
  --teal-100: #c7f7ed;
  --teal-200: #8eeddf;
  --teal-300: #5dd8ce;
  --teal-400: #30c2bd;
  --teal-500: #0fa3a8;
  --teal-600: #0c858f;
  --teal-700: #0c6a73;
  --teal-800: #0e555d;
  --teal-900: #0f464d;

  --magenta-50: #fdf3ff;
  --magenta-100: #f8e1ff;
  --magenta-200: #f0c2ff;
  --magenta-300: #e699fa;
  --magenta-400: #dc6cf0;
  --magenta-500: #cf3fde;
  --magenta-600: #b22bc0;
  --magenta-700: #921f9c;
  --magenta-800: #771a7f;
  --magenta-900: #5d1663;

  /* ========================================
     SEMANTIC COLOR ALIASES
     ======================================== */
  --color-background: hsl(var(--background));
  --color-background-secondary: hsl(var(--surface-muted));
  --color-background-tertiary: hsl(var(--surface-hover));
  --color-background-inverse: hsl(var(--foreground));

  --color-surface: hsl(var(--card));
  --color-surface-secondary: hsl(var(--surface-muted));
  --color-surface-tertiary: hsl(var(--surface-hover));
  --color-surface-overlay: hsl(var(--surface-hover) / 0.85);
  --color-surface-inverse: hsl(var(--foreground));

  --color-border: hsl(var(--border));
  --color-border-strong: hsl(var(--border) / 0.85);
  --color-border-secondary: hsl(var(--border) / 0.65);
  --color-border-focus: hsl(var(--ring));
  --color-border-error: hsl(var(--destructive));

  --color-text: hsl(var(--foreground));
  --color-text-secondary: hsl(var(--muted-foreground));
  --color-text-tertiary: hsl(var(--muted-foreground) / 0.7);
  --color-text-inverse: hsl(var(--background));
  --color-text-muted: hsl(var(--muted-foreground) / 0.6);

  --color-primary: hsl(var(--primary));
  --color-primary-hover: hsl(var(--primary-hover));
  --color-primary-active: hsl(var(--primary-active));
  --color-primary-light: hsl(var(--primary-subtle));
  --color-primary-text: hsl(var(--primary-foreground));

  --color-secondary: hsl(var(--secondary));
  --color-secondary-hover: hsl(var(--secondary-hover));
  --color-secondary-active: hsl(var(--secondary-active));
  --color-secondary-light: hsl(var(--secondary-subtle));
  --color-secondary-text: hsl(var(--secondary-foreground));

  --color-accent: hsl(var(--accent));
  --color-accent-hover: hsl(var(--accent-hover));
  --color-accent-active: hsl(var(--accent-active));
  --color-accent-light: hsl(var(--accent-subtle));
  --color-accent-text: hsl(var(--accent-foreground));

  --color-info: hsl(var(--info));
  --color-info-hover: hsl(var(--info-hover));
  --color-info-subtle: hsl(var(--info-subtle));
  --color-info-text: hsl(var(--info-foreground));

  --color-success: hsl(var(--success));
  --color-success-hover: hsl(var(--success-hover));
  --color-success-subtle: hsl(var(--success-subtle));
  --color-success-text: hsl(var(--success-foreground));
  --color-success-border: hsl(var(--success) / 0.45);

  --color-warning: hsl(var(--warning));
  --color-warning-hover: hsl(var(--warning-hover));
  --color-warning-subtle: hsl(var(--warning-subtle));
  --color-warning-text: hsl(var(--warning-foreground));
  --color-warning-border: hsl(var(--warning) / 0.45);

  --color-error: hsl(var(--destructive));
  --color-error-hover: hsl(var(--destructive-hover));
  --color-error-subtle: hsl(var(--destructive-subtle));
  --color-error-text: hsl(var(--destructive-foreground));
  --color-error-border: hsl(var(--destructive) / 0.4);

  --color-special: hsl(var(--accent));
  --color-special-hover: hsl(var(--accent-hover));
  --color-special-text: hsl(var(--accent-foreground));
  --color-special-subtle: hsl(var(--accent-subtle));
  --color-special-border: hsl(var(--accent) / 0.45);

  /* ========================================
     SHADOWS & ELEVATION
     ======================================== */
  --shadow-xs: 0 1px 2px 0 hsl(var(--shadow-soft) / 0.12);
  --shadow-sm: 0 1px 3px 0 hsl(var(--shadow-soft) / 0.18), 0 1px 2px -1px hsl(var(--shadow-soft) / 0.12);
  --shadow-md: 0 8px 20px -12px hsl(var(--shadow-soft) / 0.28), 0 4px 10px -6px hsl(var(--shadow-soft) / 0.18);
  --shadow-lg: 0 18px 40px -18px hsl(var(--shadow-soft) / 0.32), 0 10px 20px -15px hsl(var(--shadow-soft) / 0.24);
  --shadow-xl: 0 32px 60px -26px hsl(var(--shadow-soft) / 0.36);
  --shadow-2xl: 0 40px 80px -32px hsl(var(--shadow-soft) / 0.4);
  --shadow-inner: inset 0 2px 6px 0 hsl(var(--shadow-soft) / 0.16);

  /* ========================================
     TYPOGRAPHY SCALE
     ======================================== */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;

  /* ========================================
     SPACING SCALE
     ======================================== */
  --space-0: 0;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* ========================================
     BORDER RADIUS
     ======================================== */
  --radius-none: 0;
  --radius-sm: 0.125rem;
  --radius-base: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;

  /* ========================================
     MOTION & TIMING
     ======================================== */
  --transition-fast: 150ms ease;
  --transition-base: 220ms ease;
  --transition-slow: 320ms ease;
  --transition-slower: 480ms ease;

  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* ========================================
     Z-INDEX SCALE
     ======================================== */
  --z-base: 0;
  --z-docked: 10;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-banner: 1030;
  --z-overlay: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}
/* ========================================
   DARK MODE REFINEMENTS
   ======================================== */
.dark,
[data-theme="dark"] {
  --color-border-secondary: hsl(var(--border) / 0.55);
  --color-text-tertiary: hsl(var(--muted-foreground) / 0.55);
  --color-success-border: hsl(var(--success) / 0.55);
  --color-warning-border: hsl(var(--warning) / 0.55);
  --color-error-border: hsl(var(--destructive) / 0.6);
  --shadow-xs: 0 1px 2px 0 hsl(var(--shadow-soft) / 0.35);
  --shadow-sm: 0 1px 4px 0 hsl(var(--shadow-soft) / 0.45), 0 1px 2px -1px hsl(var(--shadow-soft) / 0.35);
  --shadow-md: 0 10px 24px -12px hsl(var(--shadow-soft) / 0.5), 0 6px 12px -6px hsl(var(--shadow-soft) / 0.38);
  --shadow-lg: 0 24px 44px -18px hsl(var(--shadow-soft) / 0.55);
  --shadow-xl: 0 32px 64px -22px hsl(var(--shadow-soft) / 0.6);
  --shadow-2xl: 0 40px 90px -28px hsl(var(--shadow-soft) / 0.65);
  --shadow-inner: inset 0 2px 6px 0 hsl(var(--shadow-soft) / 0.3);
}
/* ========================================
   UTILITY CLASSES
   ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.focus-outline {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}
.transition-base {
  transition: all var(--transition-base);
}
.transition-fast {
  transition: all var(--transition-fast);
}
.transition-slow {
  transition: all var(--transition-slow);
}
/* ========================================
   ACCESSIBILITY MODES
   ======================================== */
@media (prefers-contrast: high) {
  :root {
    --color-border: #000000;
    --color-border-secondary: #000000;
    --color-text: #000000;
    --color-text-secondary: #000000;
  }

  .dark,
  [data-theme="dark"] {
    --color-border: #ffffff;
    --color-border-secondary: #ffffff;
    --color-text: #ffffff;
    --color-text-secondary: #ffffff;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ============================================
   MOBILE SCROLL FIX - CRITICO
   ============================================ */
/* Gestione scroll orizzontale - REMOVED: Let each component manage its own overflow */
html, body {
  /* overflow-x removed - let components manage their own horizontal scroll */
  max-width: 100vw;
  position: relative;
}
/* Box-sizing reset - ESSENZIALE */
*, *::before, *::after {
  box-sizing: border-box;
}
/* Sicurezza per media - Applicato selettivamente */
img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Per SVG, applicare solo dove necessario per evitare di rompere le icone */
.responsive-svg {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Previene overflow di testo */
h1, h2, h3, h4, h5, h6, p, span {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
/* ============================================
   ACCESSIBILITÀ MOBILE - WCAG AAA
   ============================================ */
/* Touch target minimi */
button, a, [role="button"] {
  min-width: 44px;
  min-height: 44px;
}
/* Previene zoom iOS su input */
input, textarea, select {
  font-size: 16px; /* CRITICO per iOS Safari */
}
:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: var(--line-height-normal);
  font-weight: var(--font-weight-normal);

  color-scheme: light dark;
  color: var(--color-text);
  background-color: var(--color-background);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  text-decoration: inherit;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-primary-hover);
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--color-text);
  background-color: var(--color-background);
  display: block;
}
h1 {
  font-size: var(--font-size-5xl);
  line-height: var(--line-height-tight);
  color: var(--color-text);
}
button {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-5);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  font-family: inherit;
  background-color: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
}
button:hover {
  border-color: var(--color-primary);
  background-color: var(--color-surface-secondary);
}
button:focus,
button:focus-visible {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
}
/* ============================================
   LUCIDE ICONS FIX - SVG Visibility
   ============================================ */
/* Ensure Lucide React icons are visible in all buttons */
button svg,
.mobile-menu-btn svg {
  color: currentColor;
  stroke: currentColor;
  fill: none;
  display: block;
  flex-shrink: 0;
}
/* User Header Styles */
.user-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Header Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: hsl(var(--primary));
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  padding: 8px 0;
}

.header-nav-link:hover {
  color: hsl(var(--primary) / 0.8);
}

.header-nav-link:active {
  opacity: 0.7;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
  background: hsl(var(--foreground) / 0.08);
  border: 1px solid hsl(var(--foreground) / 0.12);
}

.user-info:hover {
  background: hsl(var(--foreground) / 0.12);
}

.user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: hsl(var(--foreground) / 0.16);
  overflow: hidden;
}

.avatar-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}

.avatar-icon {
  color: hsl(var(--foreground));
}

.user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.user-name {
  color: hsl(var(--foreground));
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.user-email {
  color: hsl(var(--foreground) / 0.7);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.dropdown-icon {
  color: hsl(var(--foreground) / 0.7);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.dropdown-icon.rotated {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; /* Anchor to left instead of right */
  z-index: 1000;
  min-width: 280px;
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  animation: dropdownSlideIn 0.2s ease-out;
}

/* Mobile: Full-width dropdown for better UX */
@media (max-width: 480px) {
  .user-dropdown {
    left: 50%;
    transform: translateX(-50%);
    min-width: 90vw;
    max-width: 320px;
  }
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-content {
  padding: 0;
}

.dropdown-section {
  padding: 16px;
  background: var(--color-surface-secondary);
}

.dropdown-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dropdown-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  overflow: hidden;
  flex-shrink: 0;
}

.dropdown-avatar-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}

.dropdown-avatar-icon {
  color: var(--color-text-muted);
}

.dropdown-user-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.dropdown-user-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-user-email {
  font-size: 14px;
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-user-role {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dropdown-divider {
  height: 1px;
  background: var(--color-border);
  margin: 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px; /* Touch-friendly minimum (WCAG 2.1 AA) */
  padding: 12px 16px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-align: left;
  color: var(--color-text);
}

.dropdown-item:hover {
  background-color: hsl(var(--accent) / 0.1);
}

.dropdown-item svg {
  color: var(--color-text-secondary);
}

/* Specific styling for profile and settings items */
.profile-item:hover,
.settings-item:hover {
  background-color: hsl(var(--accent) / 0.05);
}

/* Ensure buttons within dropdown sections maintain proper styling */
.dropdown-section button {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logout button specific styling */
.logout-item:hover {
  background-color: hsl(var(--accent) / 0.1);
}

/* Dropdown backdrop */
.dropdown-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: transparent;
}

.dropdown-footer {
  padding: 12px 16px;
  background: var(--color-surface-tertiary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--color-text-muted);
}

.logout-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-error);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.logout-button:hover {
  background: var(--color-error-subtle);
  border-color: var(--color-error-border);
}

/* Dark mode tweaks */
.dark .user-info {
  background: hsl(var(--foreground) / 0.15);
  border-color: hsl(var(--foreground) / 0.25);
}

.dark .user-info:hover {
  background: hsl(var(--foreground) / 0.22);
}

.dark .user-dropdown {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.dark .dropdown-section {
  background: var(--color-surface-secondary);
}

.dark .dropdown-item:hover {
  background: var(--color-surface);
}
/* Timeline Configuration Tab Styles */

._timelineConfigTab_ucss3_3 {
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: hsl(var(--background));
  color: var(--color-text);
}

/* Header Section */
._header_ucss3_12 {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

._titleSection_ucss3_18 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

._titleIcon_ucss3_25 {
  color: hsl(var(--primary));
}

._header_ucss3_12 h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
}

._description_ucss3_36 {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.5;
}

/* Loading State */
._loading_ucss3_44 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
}

._loadingIcon_ucss3_53 {
  color: hsl(var(--primary));
  margin-bottom: 16px;
  animation: _spin_ucss3_1 2s linear infinite;
}

@keyframes _spin_ucss3_1 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Alert Messages */
._errorAlert_ucss3_65, ._successAlert_ucss3_65, ._validationAlert_ucss3_65 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}

._errorAlert_ucss3_65 {
  background-color: var(--color-error-subtle);
  color: var(--color-error);
  border: 1px solid var(--color-error-border);
}

._successAlert_ucss3_65 {
  background-color: var(--color-success-subtle);
  color: hsl(var(--success));
  border: 1px solid var(--color-success-border);
}

._validationAlert_ucss3_65 {
  background-color: var(--color-warning-subtle);
  color: hsl(var(--warning));
  border: 1px solid var(--color-warning-border);
}

._validationAlert_ucss3_65 ul {
  margin: 8px 0 0 0;
  padding-left: 16px;
}

._validationAlert_ucss3_65 li {
  margin-bottom: 4px;
}

/* Configuration Grid */
._configGrid_ucss3_103 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  ._configGrid_ucss3_103 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Configuration Form */
._configForm_ucss3_118 {
  background-color: var(--color-surface-secondary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}

._configForm_ucss3_118 h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
}

._fieldsGrid_ucss3_132 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

._fieldGroup_ucss3_138 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

._fieldLabel_ucss3_144 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

._infoIcon_ucss3_153 {
  color: var(--color-text-muted);
  cursor: help;
}

._inputGroup_ucss3_158 {
  display: flex;
  align-items: center;
  gap: 8px;
}

._offsetInput_ucss3_164 {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  background-color: hsl(var(--background));
  color: var(--color-text);
  transition: border-color 0.2s ease;
}

._offsetInput_ucss3_164:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(hsl(var(--primary)) / 0.1);
}

._inputSuffix_ucss3_181 {
  font-size: 14px;
  color: var(--color-text-secondary);
  min-width: 50px;
}

._fieldDescription_ucss3_187 {
  margin: 0;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Preview Section */
._previewSection_ucss3_195 {
  background-color: var(--color-surface-secondary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}

._previewSection_ucss3_195 h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
}

._previewDatePicker_ucss3_209 {
  margin-bottom: 24px;
}

._previewDatePicker_ucss3_209 label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

._dateInput_ucss3_221 {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  background-color: hsl(var(--background));
  color: var(--color-text);
}

._dateInput_ucss3_221:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(hsl(var(--primary)) / 0.1);
}

/* Timeline Preview */
._timelinePreview_ucss3_238 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

._timelineItem_ucss3_244, ._deliveryDate_ucss3_244 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: all 0.2s ease;
}

._deliveryDate_ucss3_244 {
  background-color: var(--color-success-subtle);
  border-color: var(--color-success-border);
}

._timelinePhase_ucss3_260 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
}

._phaseName_ucss3_267 {
  font-size: 14px;
  font-weight: 500;
}

._timelineDate_ucss3_272 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

._dateValue_ucss3_279 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

._offsetValue_ucss3_286 {
  font-size: 12px;
  color: var(--color-text-secondary);
}

/* Action Buttons */
._actionButtons_ucss3_292 {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 640px) {
  ._actionButtons_ucss3_292 {
    flex-direction: column;
  }
}

._resetButton_ucss3_306, ._defaultsButton_ucss3_306, ._saveButton_ucss3_306 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid;
  min-width: 140px;
  justify-content: center;
}

._resetButton_ucss3_306 {
  background-color: var(--color-surface);
  color: var(--color-text-secondary);
  border-color: var(--color-border);
}

._resetButton_ucss3_306:hover:not(:disabled) {
  background-color: var(--color-surface-secondary);
  border-color: var(--color-border-secondary);
}

._defaultsButton_ucss3_306 {
  background-color: var(--color-warning-subtle);
  color: hsl(var(--warning));
  border-color: var(--color-warning-border);
}

._defaultsButton_ucss3_306:hover:not(:disabled) {
  background-color: var(--color-warning-light);
  border-color: var(--color-warning-hover);
}

._saveButton_ucss3_306 {
  background-color: hsl(var(--primary));
  color: var(--color-primary-text);
  border-color: hsl(var(--primary));
}

._saveButton_ucss3_306:hover:not(:disabled) {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

._resetButton_ucss3_306:disabled, 
._defaultsButton_ucss3_306:disabled, 
._saveButton_ucss3_306:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Audit Section */
._auditSection_ucss3_362 {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

._auditSection_ucss3_362 h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
}

._auditList_ucss3_378 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

._auditItem_ucss3_384 {
  padding: 16px;
  background-color: var(--color-surface-secondary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

._auditHeader_ucss3_391 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

._auditField_ucss3_398 {
  font-weight: 500;
  color: var(--color-text);
}

._auditDate_ucss3_403 {
  font-size: 12px;
  color: var(--color-text-muted);
}

._auditChange_ucss3_408 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 8px;
}

._oldValue_ucss3_416, ._newValue_ucss3_416 {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

._oldValue_ucss3_416 {
  background-color: var(--color-error-subtle);
  color: var(--color-error);
}

._newValue_ucss3_416 {
  background-color: var(--color-success-subtle);
  color: hsl(var(--success));
}

._changedBy_ucss3_432 {
  font-size: 12px;
  color: var(--color-text-muted);
}

._changeReason_ucss3_437 {
  margin: 0;
  font-size: 12px;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* Laboratory Configuration Tab Styles */

._laboratoryConfigContainer_cdub4_3 {
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
  background: #f8fafc;
  min-height: 100vh;
}

/* Header */
._sectionHeader_cdub4_12 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e2e8f0;
}

._headerContent_cdub4_21 h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

._headerContent_cdub4_21 p {
  color: #64748b;
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
}

._headerActions_cdub4_38 {
  display: flex;
  gap: 12px;
}

._resetButton_cdub4_43 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid #cbd5e0;
  background: white;
  color: #4a5568;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

._resetButton_cdub4_43:hover {
  border-color: #a0aec0;
  background: #f7fafc;
}

._resetButton_cdub4_43:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

._saveButton_cdub4_67 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid #3182ce;
  background: #3182ce;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

._saveButton_cdub4_67:hover:not(:disabled) {
  background: #2c5aa0;
  border-color: #2c5aa0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

._saveButton_cdub4_67:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #a0aec0;
  border-color: #a0aec0;
}

._saveButton_cdub4_67._hasChanges_cdub4_96 {
  background: #48bb78;
  border-color: #48bb78;
  animation: _pulse_cdub4_1 2s infinite;
}

._saveButton_cdub4_67._hasChanges_cdub4_96:hover {
  background: #38a169;
  border-color: #38a169;
}

._changesBadge_cdub4_107 {
  color: #fbbf24;
  font-size: 18px;
  margin-left: 4px;
  animation: _blink_cdub4_1 1.5s ease-in-out infinite;
}

/* Messages */
._errorMessage_cdub4_115, ._successMessage_cdub4_115 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-weight: 500;
  position: relative;
}

._errorMessage_cdub4_115 {
  background: #fed7d7;
  color: #c53030;
  border: 1px solid #feb2b2;
}

._successMessage_cdub4_115 {
  background: #c6f6d5;
  color: #276749;
  border: 1px solid #9ae6b4;
}

._closeMessage_cdub4_138 {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  margin-left: auto;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

._closeMessage_cdub4_138:hover {
  opacity: 1;
}

/* Laboratory Cards Grid */
._laboratoriesGrid_cdub4_154 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

._laboratoryCard_cdub4_161 {
  background: white;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

._laboratoryCard_cdub4_161:hover {
  border-color: var(--lab-primary, #3182ce);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Card Header */
._cardHeader_cdub4_177 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--lab-primary, #3182ce) 0%, var(--lab-secondary, #63b3ed) 100%);
  color: white;
}

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

._laboratoryBadge_cdub4_192 {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  backdrop-filter: blur(10px);
}

._laboratoryDetails_cdub4_206 h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: white;
}

._laboratoryId_cdub4_213 {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

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

._statusEnabled_cdub4_227, ._statusDisabled_cdub4_227 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

._statusEnabled_cdub4_227 {
  background: rgba(72, 187, 120, 0.2);
  color: #22543d;
  border: 1px solid rgba(72, 187, 120, 0.3);
}

._statusDisabled_cdub4_227 {
  background: rgba(245, 101, 101, 0.2);
  color: #742a2a;
  border: 1px solid rgba(245, 101, 101, 0.3);
}

._expandButton_cdub4_251 {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

._expandButton_cdub4_251:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* Card Content */
._cardContent_cdub4_268 {
  padding: 24px;
}

._settingsSection_cdub4_272 {
  margin-bottom: 32px;
}

._settingsSection_cdub4_272:last-child {
  margin-bottom: 0;
}

._settingsSection_cdub4_272 h4 {
  font-size: 16px;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

._sectionHeader_cdub4_12 {
  margin-bottom: 20px;
}

._sectionHeader_cdub4_12 h4 {
  margin-bottom: 6px;
}

._sectionHeader_cdub4_12 p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Form Elements */
._inputGroup_cdub4_306 {
  margin-bottom: 20px;
}

._inputGroup_cdub4_306 label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

._textInput_cdub4_318 {
  width: 100%;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
  background: #fafafa;
}

._textInput_cdub4_318:focus {
  outline: none;
  border-color: #3182ce;
  background: white;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

._textInput_cdub4_318._invalid_cdub4_335 {
  border-color: #e53e3e;
  background: #fed7d7;
}

._emailInputContainer_cdub4_340 {
  position: relative;
  display: flex;
  align-items: center;
}

._emailInputContainer_cdub4_340 ._textInput_cdub4_318 {
  padding-right: 40px;
}

._errorIcon_cdub4_350, ._successIcon_cdub4_350 {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

._errorIcon_cdub4_350 {
  color: #e53e3e;
}

._successIcon_cdub4_350 {
  color: #38a169;
}

._errorText_cdub4_366 {
  color: #e53e3e;
  font-size: 12px;
  margin: 4px 0 0 0;
  font-weight: 500;
}

._switchGroup_cdub4_373 {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

._switchLabel_cdub4_379 {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

._switchLabel_cdub4_379 input {
  display: none;
}

._switch_cdub4_373 {
  position: relative;
  width: 48px;
  height: 24px;
  background: #cbd5e0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

._switch_cdub4_373::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

._switchLabel_cdub4_379 input:checked + ._switch_cdub4_373 {
  background: #48bb78;
}

._switchLabel_cdub4_379 input:checked + ._switch_cdub4_373::after {
  transform: translateX(24px);
}

/* Notification Types */
._notificationTypes_cdub4_424 {
  display: grid;
  gap: 12px;
}

._notificationType_cdub4_424 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: #fafafa;
}

._notificationType_cdub4_424:hover {
  border-color: #cbd5e0;
  background: white;
}

._notificationType_cdub4_424._enabled_cdub4_445 {
  border-color: #48bb78;
  background: #f0fff4;
}

._notificationInfo_cdub4_450 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

._notificationInfo_cdub4_450 svg {
  color: #4a5568;
  flex-shrink: 0;
}

._notificationType_cdub4_424._enabled_cdub4_445 ._notificationInfo_cdub4_450 svg {
  color: #38a169;
}

._notificationInfo_cdub4_450 h5 {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 2px 0;
}

._notificationInfo_cdub4_450 p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

._notificationToggle_cdub4_480 {
  cursor: pointer;
}

._notificationToggle_cdub4_480 input {
  display: none;
}

._toggle_cdub4_488 {
  position: relative;
  width: 40px;
  height: 20px;
  background: #cbd5e0;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: block;
}

._toggle_cdub4_488::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

._notificationToggle_cdub4_480 input:checked + ._toggle_cdub4_488 {
  background: #48bb78;
}

._notificationToggle_cdub4_480 input:checked + ._toggle_cdub4_488::after {
  transform: translateX(20px);
}

._notificationToggle_cdub4_480 input:disabled + ._toggle_cdub4_488 {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Test Email */
._testEmailContainer_cdub4_525 {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

._testEmailInput_cdub4_531 {
  flex: 1;
  padding: 10px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
}

._testEmailInput_cdub4_531:focus {
  outline: none;
  border-color: #3182ce;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

._testButton_cdub4_546 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #805ad5;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

._testButton_cdub4_546:hover:not(:disabled) {
  background: #6b46c1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

._testButton_cdub4_546:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #a0aec0;
}

._testResult_cdub4_573 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

._testResult_cdub4_573._success_cdub4_115 {
  background: #c6f6d5;
  color: #276749;
  border: 1px solid #9ae6b4;
}

._testResult_cdub4_573._error_cdub4_115 {
  background: #fed7d7;
  color: #c53030;
  border: 1px solid #feb2b2;
}

/* Loading */
._loadingContainer_cdub4_596 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: #64748b;
}

._loadingContainer_cdub4_596 p {
  margin: 16px 0 0 0;
  font-size: 16px;
}

._spinning_cdub4_610 {
  animation: _spin_cdub4_610 1s linear infinite;
}

/* Empty State */
._emptyState_cdub4_615 {
  text-align: center;
  padding: 80px 20px;
  color: #64748b;
}

._emptyState_cdub4_615 svg {
  color: #cbd5e0;
  margin-bottom: 24px;
}

._emptyState_cdub4_615 h3 {
  font-size: 24px;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 12px 0;
}

._emptyState_cdub4_615 p {
  font-size: 16px;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

._retryButton_cdub4_639 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #3182ce;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

._retryButton_cdub4_639:hover {
  background: #2c5aa0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

/* Footer Info */
._footerInfo_cdub4_660 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #e2e8f0;
}

._infoCard_cdub4_669 {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

._infoCard_cdub4_669 svg {
  color: #3182ce;
  flex-shrink: 0;
  margin-top: 2px;
}

._infoCard_cdub4_669 h4 {
  font-size: 16px;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 6px 0;
}

._infoCard_cdub4_669 p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Animations */
@keyframes _spin_cdub4_610 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes _pulse_cdub4_1 {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes _blink_cdub4_1 {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Responsive Design */
@media (max-width: 768px) {
  ._laboratoryConfigContainer_cdub4_3 {
    padding: 16px;
  }
  
  ._sectionHeader_cdub4_12 {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  ._headerActions_cdub4_38 {
    flex-direction: column;
  }
  
  ._laboratoriesGrid_cdub4_154 {
    grid-template-columns: 1fr;
  }
  
  ._cardHeader_cdub4_177 {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  ._laboratoryStatus_cdub4_221 {
    width: 100%;
    justify-content: space-between;
  }
  
  ._testEmailContainer_cdub4_525 {
    flex-direction: column;
  }
  
  ._footerInfo_cdub4_660 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  ._laboratoryConfigContainer_cdub4_3 {
    padding: 12px;
  }
  
  ._headerContent_cdub4_21 h2 {
    font-size: 24px;
  }
  
  ._laboratoryCard_cdub4_161 {
    border-radius: 8px;
  }
  
  ._cardHeader_cdub4_177 {
    padding: 16px;
  }
  
  ._cardContent_cdub4_268 {
    padding: 16px;
  }
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
  ._laboratoryConfigContainer_cdub4_3 {
    background: #1a202c;
    color: #e2e8f0;
  }
  
  ._laboratoryCard_cdub4_161 {
    background: #2d3748;
    border-color: #4a5568;
  }
  
  ._textInput_cdub4_318 {
    background: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
  }
  
  ._textInput_cdub4_318:focus {
    background: #374151;
  }
}

/* Print styles */
@media print {
  ._headerActions_cdub4_38,
  ._testEmailContainer_cdub4_525,
  ._expandButton_cdub4_251 {
    display: none !important;
  }
  
  ._laboratoryCard_cdub4_161 {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    border: 1px solid #000;
  }
}/* ChatPresetsTab Component Styles */

._chatPresetsTab_2a4av_3 {
  padding: var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
._header_2a4av_10 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

._headerTitle_2a4av_19 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

._headerTitle_2a4av_19 h3 {
  margin: 0;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

._headerIcon_2a4av_32 {
  color: var(--color-primary);
}

._headerActions_2a4av_36 {
  display: flex;
  gap: var(--space-3);
}

._previewButton_2a4av_41,
._resetButton_2a4av_42 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-surface-secondary);
  color: var(--color-text);
  cursor: pointer;
  font-size: var(--font-size-sm);
  transition: var(--transition-fast);
}

._previewButton_2a4av_41:hover,
._resetButton_2a4av_42:hover {
  background-color: var(--color-surface-tertiary);
  border-color: var(--color-primary);
}

._previewButton_2a4av_41:focus,
._resetButton_2a4av_42:focus {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
}

/* Description */
._description_2a4av_69 {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background-color: var(--color-surface-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
}

._infoIcon_2a4av_80 {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: var(--space-1);
}

._description_2a4av_69 p {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

/* Enable Section */
._enableSection_2a4av_93 {
  margin-bottom: var(--space-8);
  padding: var(--space-4);
  background-color: var(--color-surface-secondary);
  border-radius: var(--radius-lg);
}

._toggleLabel_2a4av_100 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

._toggle_2a4av_100 {
  display: none;
}

._toggleSlider_2a4av_113 {
  position: relative;
  width: 44px;
  height: 24px;
  background-color: var(--color-surface-tertiary);
  border-radius: var(--radius-xl);
  transition: var(--transition-base);
  border: 1px solid var(--color-border);
}

._toggleSlider_2a4av_113::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background-color: var(--color-surface);
  border-radius: 50%;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
}

._toggle_2a4av_100:checked + ._toggleSlider_2a4av_113 {
  background-color: var(--color-primary);
}

._toggle_2a4av_100:checked + ._toggleSlider_2a4av_113::before {
  transform: translateX(20px);
}

._toggle_2a4av_100:focus + ._toggleSlider_2a4av_113 {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
}

._toggleDescription_2a4av_149 {
  margin: var(--space-2) 0 0 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

/* Questions Section */
._questionsSection_2a4av_156 {
  margin-bottom: var(--space-8);
}

._sectionHeader_2a4av_160 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

._sectionHeader_2a4av_160 h4 {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

._addButton_2a4av_174 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background-color: var(--color-primary);
  color: var(--color-primary-text);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--font-size-sm);
  transition: var(--transition-fast);
}

._addButton_2a4av_174:hover:not(:disabled) {
  background-color: var(--color-primary-hover);
}

._addButton_2a4av_174:focus {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
}

._addButton_2a4av_174:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Questions List */
._questionsList_2a4av_203 {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

._questionItem_2a4av_209 {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: var(--space-4);
  padding: var(--space-4);
  background-color: var(--color-surface-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  align-items: start;
}

._questionNumber_2a4av_220 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: var(--color-primary);
  color: var(--color-primary-text);
  border-radius: 50%;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  flex-shrink: 0;
}

._questionInput_2a4av_234 {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-surface);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-snug);
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
  transition: var(--transition-fast);
}

._questionInput_2a4av_234:focus {
  outline: none;
  border-color: var(--color-border-focus);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

._questionInput_2a4av_234::-moz-placeholder {
  color: var(--color-text-secondary);
}

._questionInput_2a4av_234::placeholder {
  color: var(--color-text-secondary);
}

._questionActions_2a4av_259 {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

._moveButton_2a4av_265,
._removeButton_2a4av_266 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  background-color: var(--color-surface);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

._moveButton_2a4av_265:hover:not(:disabled) {
  background-color: var(--color-surface-tertiary);
  color: var(--color-text);
}

._moveButton_2a4av_265:focus,
._removeButton_2a4av_266:focus {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
}

._removeButton_2a4av_266:hover:not(:disabled) {
  background-color: var(--color-error-light);
  color: var(--color-error);
  border-color: var(--color-error);
}

._moveButton_2a4av_265:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

._removeButton_2a4av_266:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

._characterCount_2a4av_307 {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  text-align: center;
  padding: var(--space-1);
}

/* Preview Section */
._previewSection_2a4av_315 {
  margin-bottom: var(--space-8);
  padding: var(--space-4);
  background-color: var(--color-surface-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

._previewSection_2a4av_315 h4 {
  margin: 0 0 var(--space-4) 0;
  color: var(--color-text);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}

._previewContainer_2a4av_330 {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

._previewHeader_2a4av_337 {
  padding: var(--space-3) var(--space-4);
  background-color: var(--color-surface-secondary);
  border-bottom: 1px solid var(--color-border);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  font-size: var(--font-size-sm);
}

._previewQuestions_2a4av_346 {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

._previewQuestion_2a4av_346 {
  position: relative;
  padding: var(--space-3) var(--space-12) var(--space-3) var(--space-4);
  background-color: var(--color-surface-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-snug);
  cursor: pointer;
  transition: var(--transition-fast);
}

._previewQuestion_2a4av_346:hover {
  background-color: var(--color-surface-tertiary);
  border-color: var(--color-primary);
}

._previewIcon_2a4av_371 {
  position: absolute;
  top: var(--space-3);
  right: var(--space-4);
  font-size: var(--font-size-base);
  opacity: 0.7;
}

/* Messages */
._validationErrors_2a4av_380,
._errorMessage_2a4av_381,
._successMessage_2a4av_382 {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
}

._validationErrors_2a4av_380 {
  background-color: var(--color-error-light);
  border: 1px solid var(--color-error);
  color: var(--color-error-text);
}

._errorMessage_2a4av_381 {
  background-color: var(--color-error-light);
  border: 1px solid var(--color-error);
  color: var(--color-error-text);
}

._successMessage_2a4av_382 {
  background-color: var(--color-success-light);
  border: 1px solid var(--color-success);
  color: var(--color-success-text);
}

._errorIcon_2a4av_410 {
  color: var(--color-error);
  flex-shrink: 0;
  margin-top: var(--space-1);
}

._successIcon_2a4av_416 {
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: var(--space-1);
}

._validationErrors_2a4av_380 h4 {
  margin: 0 0 var(--space-2) 0;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

._validationErrors_2a4av_380 ul {
  margin: 0;
  padding-left: var(--space-5);
}

._validationErrors_2a4av_380 li {
  margin-bottom: var(--space-1);
}

/* Action Buttons */
._actionButtons_2a4av_438 {
  display: flex;
  gap: var(--space-4);
  justify-content: flex-end;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

._resetToOriginalButton_2a4av_446,
._saveButton_2a4av_447 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: var(--transition-fast);
}

._resetToOriginalButton_2a4av_446 {
  background-color: var(--color-surface-secondary);
  color: var(--color-text);
}

._resetToOriginalButton_2a4av_446:hover:not(:disabled) {
  background-color: var(--color-surface-tertiary);
}

._resetToOriginalButton_2a4av_446:focus,
._saveButton_2a4av_447:focus {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
}

._saveButton_2a4av_447 {
  background-color: var(--color-primary);
  color: var(--color-primary-text);
  border-color: var(--color-primary);
}

._saveButton_2a4av_447:hover:not(:disabled) {
  background-color: var(--color-primary-hover);
}

._resetToOriginalButton_2a4av_446:disabled,
._saveButton_2a4av_447:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Loading */
._loadingContainer_2a4av_492 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) var(--space-8);
  text-align: center;
}

._loadingContainer_2a4av_492 p {
  margin: var(--space-4) 0 0 0;
  color: var(--color-text-secondary);
}

._spinner_2a4av_506 {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: _spin_2a4av_506 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  ._chatPresetsTab_2a4av_3 {
    padding: var(--space-4);
  }
  
  ._header_2a4av_10 {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
  
  ._headerActions_2a4av_36 {
    width: 100%;
    justify-content: flex-end;
  }
  
  ._questionItem_2a4av_209 {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: var(--space-3);
  }
  
  ._questionActions_2a4av_259 {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
  }
  
  ._characterCount_2a4av_307 {
    grid-column: 1 / -1;
    text-align: left;
  }
  
  ._actionButtons_2a4av_438 {
    flex-direction: column;
  }
  
  ._resetToOriginalButton_2a4av_446,
  ._saveButton_2a4av_447 {
    justify-content: center;
  }
}._container_mjqks_1 {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: var(--space-4, 16px);
  color: var(--color-text);
}

._header_mjqks_9 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

._headerTitle_mjqks_15 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-text);
}

._actions_mjqks_23 {
  display: flex;
  gap: 12px;
}

._actionButton_mjqks_28,
._primaryButton_mjqks_29 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--color-border-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--color-surface-secondary);
  color: var(--color-text);
  transition: background 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

._primaryButton_mjqks_29 {
  background: var(--color-primary);
  color: var(--color-primary-text);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

._actionButton_mjqks_28:disabled,
._primaryButton_mjqks_29:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

._primaryButton_mjqks_29:not(:disabled):hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}

._actionButton_mjqks_28:not(:disabled):hover {
  background: var(--color-surface-tertiary);
  border-color: var(--color-border);
}

._loadingContainer_mjqks_68 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px;
  color: var(--color-text-secondary);
}

._spinner_mjqks_77 {
  animation: _spin_mjqks_77 1s linear infinite;
}

@keyframes _spin_mjqks_77 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

._alertError_mjqks_90,
._alertSuccess_mjqks_91 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
}

._alertError_mjqks_90 {
  background: var(--color-error-light);
  color: var(--color-error);
  border: 1px solid var(--color-error-border);
}

._alertSuccess_mjqks_91 {
  background: var(--color-success-subtle);
  color: var(--color-success);
  border: 1px solid var(--color-success-border);
}

._section_mjqks_112 {
  border: 1px solid var(--color-border-secondary);
  border-radius: 12px;
  padding: 20px;
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
}

._sectionHeader_mjqks_120 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

._sectionHeader_mjqks_120 h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

._sectionHeader_mjqks_120 p {
  margin: 2px 0 0;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

._fieldGroup_mjqks_140 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

._fieldGroup_mjqks_140 label {
  font-weight: 500;
  color: var(--color-text);
}

._fieldGroup_mjqks_140 input,
._fieldGroup_mjqks_140 textarea {
  border: 1px solid var(--color-border-secondary);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--color-surface-secondary);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

._fieldGroup_mjqks_140 textarea {
  min-height: 120px;
  resize: vertical;
}

._fieldGroup_mjqks_140 input:focus,
._fieldGroup_mjqks_140 textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
  background: var(--color-surface);
}

._metaInfo_mjqks_177 {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

._chatbotPromptCard_mjqks_185 {
  border: 1px solid var(--color-border-secondary);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  background: var(--color-surface-secondary);
  box-shadow: var(--shadow-xs);
}

._promptHeader_mjqks_194 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

._promptBadge_mjqks_201 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-primary-text);
  font-weight: 600;
}

._promptKey_mjqks_213 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

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

._linkButton_mjqks_224 {
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  font-weight: 500;
  text-decoration: underline;
}

._linkButton_mjqks_224:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  text-decoration: none;
}
/* HSL-based theme colors (no hardcoded colors!) */
._container_s9iwh_2 {
  padding: 24px;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  height: 100%;
  overflow-y: auto;
}

._header_s9iwh_10 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

._header_s9iwh_10 h2 {
  color: hsl(var(--primary));
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

._section_s9iwh_24 {
  margin-bottom: 32px;
  padding: 20px;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  background: hsl(var(--background));
}

._section_s9iwh_24 h3 {
  margin-bottom: 16px;
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0;
}

._radioGroup_s9iwh_40 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

._radioGroup_s9iwh_40 label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

._radioGroup_s9iwh_40 label:hover {
  background: hsl(var(--accent));
}

._radioGroup_s9iwh_40 input[type="radio"] {
  margin: 0;
  cursor: pointer;
}

._radioGroup_s9iwh_40 label:has(input:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}

._checkbox_s9iwh_70 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom: 8px;
  transition: background-color 0.2s ease;
}

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

._checkbox_s9iwh_70 input[type="checkbox"] {
  margin-top: 3px;
  cursor: pointer;
  flex-shrink: 0;
}

._checkbox_s9iwh_70 span {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

._warning_s9iwh_98 {
  display: flex;
  align-items: center;
  gap: 6px;
  color: hsl(var(--warning));
  font-size: 0.875rem;
  margin-top: 4px;
}

._warningCritical_s9iwh_107 {
  display: flex;
  align-items: center;
  gap: 6px;
  color: hsl(var(--destructive));
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 4px;
}

._actions_s9iwh_117 {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid hsl(var(--border));
}

._exportButton_s9iwh_125 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

._exportButton_s9iwh_125:hover:not(:disabled) {
  opacity: 0.9;
}

._exportButton_s9iwh_125:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._error_s9iwh_149 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
  border: 1px solid hsl(var(--destructive));
  border-radius: 8px;
  margin-top: 24px;
  font-size: 0.875rem;
}

._success_s9iwh_162 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: hsl(24.6 95% 53.1% / 0.1);
  color: hsl(24.6 95% 53.1%);
  border: 1px solid hsl(24.6 95% 53.1%);
  border-radius: 8px;
  margin-top: 24px;
  font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  ._container_s9iwh_2 {
    padding: 16px;
  }

  ._section_s9iwh_24 {
    padding: 16px;
  }

  ._header_s9iwh_10 h2 {
    font-size: 1.25rem;
  }

  ._exportButton_s9iwh_125 {
    width: 100%;
    justify-content: center;
  }
}
/* Admin Panel Styles */
._overlay_2ef0m_2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: hsl(var(--background) / 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
}

._modal_2ef0m_16 {
  background: hsl(var(--card));
  border-radius: 12px;
  box-shadow: 0 25px 50px hsl(var(--background) / 0.5);
  width: 95vw;
  max-width: 1200px;
  height: 90vh;
  max-height: 800px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
}

._header_2ef0m_30 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}

._header_2ef0m_30 h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: hsl(var(--foreground));
  font-size: 1.25rem;
  font-weight: 600;
}

._closeBtn_2ef0m_49 {
  background: none;
  border: none;
  font-size: 24px;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

._closeBtn_2ef0m_49:hover {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}

/* Tabs */
._tabsContainer_2ef0m_66 {
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}

._tabs_2ef0m_66 {
  display: flex;
  padding: 0 24px;
  overflow-x: auto;
}

._tab_2ef0m_66 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border: none;
  background: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

._tab_2ef0m_66:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--accent));
}

._tab_2ef0m_66._active_2ef0m_98 {
  color: hsl(var(--primary));
  border-bottom-color: hsl(var(--primary));
  background: hsl(var(--background));
}

/* Content */
._content_2ef0m_105 {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

/* Loading & Error States */
._loading_2ef0m_112 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  gap: 16px;
}

._spinner_2ef0m_121 {
  width: 32px;
  height: 32px;
  border: 3px solid hsl(var(--border));
  border-top: 3px solid hsl(var(--primary));
  border-radius: 50%;
  animation: _spin_2ef0m_121 1s linear infinite;
}

@keyframes _spin_2ef0m_121 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

._error_2ef0m_135 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px;
  background: hsl(var(--destructive) / 0.1);
  border: 1px solid hsl(var(--destructive) / 0.2);
  border-radius: 8px;
  color: hsl(var(--destructive));
}

._retryBtn_2ef0m_147 {
  padding: 8px 16px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background 0.2s ease;
}

._retryBtn_2ef0m_147:hover {
  background: hsl(var(--primary) / 0.9);
}

/* Dashboard Grid */
._dashboardGrid_2ef0m_163 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

._statCard_2ef0m_170 {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

._statCard_2ef0m_170:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px hsl(var(--foreground) / 0.1);
}

._statHeader_2ef0m_183 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

._statHeader_2ef0m_183 h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

._statNumber_2ef0m_197 {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 4px;
}

._statSubtext_2ef0m_204 {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Section Headers */
._sectionHeader_2ef0m_210 {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

._sectionHeader_2ef0m_210 h3 {
  margin: 0 0 4px 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

._sectionHeader_2ef0m_210 p {
  margin: 0;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

._refreshBtn_2ef0m_230 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  color: hsl(var(--secondary-foreground));
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

._refreshBtn_2ef0m_230:hover {
  background: hsl(var(--secondary) / 0.8);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

/* Users Section */
._usersSection_2ef0m_251 {
  max-width: 100%;
}

._usersList_2ef0m_255 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

._userCard_2ef0m_261 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 16px;
  transition: border-color 0.2s ease;
}

._userCard_2ef0m_261:hover {
  border-color: hsl(var(--primary));
}

._userInfo_2ef0m_276 {
  display: flex;
  align-items: center;
  gap: 12px;
}

._userAvatar_2ef0m_282 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid hsl(var(--border));
}

._userDetails_2ef0m_290 h4 {
  margin: 0 0 2px 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

._userDetails_2ef0m_290 p {
  margin: 0 0 4px 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

._userStatus_2ef0m_303 {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
}

._userStatus_2ef0m_303._active_2ef0m_98 {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

._userStatus_2ef0m_303._inactive_2ef0m_317 {
  background: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
}

._userActions_2ef0m_322 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

._roleSelect_2ef0m_329 {
  padding: 4px 8px;
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.75rem;
  cursor: pointer;
}

._userStats_2ef0m_339 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
  text-align: right;
}

/* Features Section */
._featuresSection_2ef0m_349 {
  max-width: 100%;
}

._featuresList_2ef0m_353 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

._featureFlag_2ef0m_359 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s ease;
}

._featureFlag_2ef0m_359:hover {
  border-color: hsl(var(--primary));
}

._flagInfo_2ef0m_374 h4 {
  margin: 0 0 4px 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

._flagInfo_2ef0m_374 p {
  margin: 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  max-width: 400px;
}

/* Toggle Switch */
._toggleSwitch_2ef0m_389 {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

._toggleSwitch_2ef0m_389 input {
  opacity: 0;
  width: 0;
  height: 0;
}

._slider_2ef0m_402 {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsl(var(--border));
  transition: 0.3s ease;
  border-radius: 24px;
}

._slider_2ef0m_402:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: hsl(var(--background));
  transition: 0.3s ease;
  border-radius: 50%;
  box-shadow: 0 2px 4px hsl(var(--foreground) / 0.2);
}

input:checked + ._slider_2ef0m_402 {
  background-color: hsl(var(--primary));
}

input:checked + ._slider_2ef0m_402:before {
  transform: translateX(20px);
}

/* Health Section */
._healthSection_2ef0m_436 {
  max-width: 100%;
}

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

._healthCard_2ef0m_446 {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 16px;
}

._healthHeader_2ef0m_453 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

._componentName_2ef0m_460 {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

._healthStatus_2ef0m_466 {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

._healthStatus_2ef0m_466._healthy_2ef0m_476 {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

._healthStatus_2ef0m_466._warning_2ef0m_481 {
  background: hsl(142 71% 45% / 0.1);
  color: hsl(142 71% 45%);
}

._healthStatus_2ef0m_466._critical_2ef0m_486 {
  background: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
}

._healthStatus_2ef0m_466._unhealthy_2ef0m_491 {
  background: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
}

._progressBar_2ef0m_496 {
  width: 100%;
  height: 6px;
  background: hsl(var(--border));
  border-radius: 3px;
  overflow: hidden;
}

._progressFill_2ef0m_504 {
  height: 100%;
  background: linear-gradient(90deg, hsl(var(--primary)) 0%, hsl(142 71% 45%) 70%, hsl(var(--destructive)) 100%);
  transition: width 0.3s ease;
}

/* Security Section */
._securitySection_2ef0m_511 {
  max-width: 100%;
}

._securityChecks_2ef0m_515 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

._securityCheck_2ef0m_515 {
  display: flex;
  align-items: center;
  gap: 12px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 16px;
  font-size: 0.875rem;
}

._checkIcon_2ef0m_532 {
  color: hsl(var(--primary));
}

._warningIcon_2ef0m_536 {
  color: hsl(142 71% 45%);
}

/* Responsive Design */
@media (max-width: 768px) {
  ._modal_2ef0m_16 {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  
  ._dashboardGrid_2ef0m_163 {
    grid-template-columns: 1fr;
  }
  
  ._userCard_2ef0m_261 {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  ._userActions_2ef0m_322 {
    align-items: flex-start;
    width: 100%;
  }
  
  ._featureFlag_2ef0m_359 {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  ._healthGrid_2ef0m_440 {
    grid-template-columns: 1fr;
  }
}

/* Dark mode is handled automatically by the ThemeProvider and CSS variables *//**
 * Shimmer Button Styles
 * Magic UI inspired shimmer animation with design tokens
 */

._shimmerButton_1ozjt_6 {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  white-space: nowrap;
  background: var(--bg, var(--color-primary));
  color: var(--text-color, var(--color-primary-text));
  border-radius: var(--radius, var(--radius-xl));
  transition: all var(--transition-base);
  transform-gpu: true;
  box-shadow: var(--shadow-lg);
}

._shimmerButton_1ozjt_6:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-xl);
}

._shimmerButton_1ozjt_6:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

/* Spark container for advanced shimmer effect */
._sparkContainer_1ozjt_38 {
  position: absolute;
  inset: 0;
  overflow: visible;
  z-index: -30;
  filter: blur(2px);
}

._sparkWrapper_1ozjt_46 {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 0;
  animation: _shimmer-slide_1ozjt_1 3s infinite;
}

._sparkEffect_1ozjt_55 {
  position: absolute;
  inset: calc(-100% - var(--cut, 0.05em));
  width: auto;
  rotate: 0deg;
  animation: _spin-around_1ozjt_1 calc(var(--speed, 3s) * 2) infinite linear;
  background: conic-gradient(
    from calc(270deg - (var(--spread, 90deg) * 0.5)),
    transparent 0,
    var(--shimmer-color, #ffffff) var(--spread, 90deg),
    transparent var(--spread, 90deg)
  );
  translate: 0 0;
}

/* Button content */
._buttonContent_1ozjt_71 {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-weight-semibold);
}

/* Highlight overlay */
._highlight_1ozjt_81 {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: var(--space-1) var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  box-shadow: inset 0 -8px 10px rgba(255, 255, 255, 0.12);
  transition: all var(--transition-base);
  transform-gpu: true;
}

._shimmerButton_1ozjt_6:hover ._highlight_1ozjt_81 {
  box-shadow: inset 0 -6px 10px rgba(255, 255, 255, 0.25);
}

._shimmerButton_1ozjt_6:active ._highlight_1ozjt_81 {
  box-shadow: inset 0 -10px 10px rgba(255, 255, 255, 0.25);
}

/* Backdrop */
._backdrop_1ozjt_102 {
  position: absolute;
  z-index: -20;
  background: var(--bg, var(--color-primary));
  border-radius: var(--radius, var(--radius-xl));
  inset: var(--cut, 0.05em);
}

/* Animations */
@keyframes _shimmer-slide_1ozjt_1 {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes _spin-around_1ozjt_1 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Size variants */
._buttonSm_1ozjt_130 {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  min-height: var(--space-8);
}

._buttonMd_1ozjt_136 {
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-base);
  min-height: var(--space-10);
}

._buttonLg_1ozjt_142 {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
  min-height: var(--space-12);
}

._buttonXl_1ozjt_148 {
  padding: var(--space-5) var(--space-10);
  font-size: var(--font-size-xl);
  min-height: var(--space-16);
}

/* Focus styles for accessibility */
._shimmerButton_1ozjt_6:focus-visible {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
}

/* Disabled state */
._disabled_1ozjt_161 {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

._disabled_1ozjt_161:hover {
  transform: none;
  box-shadow: var(--shadow-lg);
}

._disabled_1ozjt_161 ._sparkWrapper_1ozjt_46 {
  animation-play-state: paused;
}

._disabled_1ozjt_161 ._sparkEffect_1ozjt_55 {
  animation-play-state: paused;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  ._shimmerButton_1ozjt_6 {
    border: 2px solid var(--color-text);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  ._shimmerButton_1ozjt_6 {
    transition: none;
  }
  
  ._sparkWrapper_1ozjt_46,
  ._sparkEffect_1ozjt_55 {
    animation: none;
  }
  
  ._highlight_1ozjt_81 {
    transition: none;
  }
}/* UserSettingsPanel Styles */

._overlay_1b35n_3 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsl(var(--background) / 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: var(--z-modal);
  animation: _fadeIn_1b35n_1 0.2s ease-out;
}

._panel_1b35n_17 {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-2xl);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-2xl);
  animation: _slideUp_1b35n_1 0.3s ease-out;
}

._header_1b35n_30 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid hsl(var(--border));
}

._title_1b35n_38 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: hsl(var(--foreground));
}

._title_1b35n_38 h2 {
  margin: 0;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

._closeButton_1b35n_51 {
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(var(--muted-foreground));
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

._closeButton_1b35n_51:hover {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}

._content_1b35n_66 {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-6);
}

._section_1b35n_72 {
  margin-bottom: var(--space-8);
}

._section_1b35n_72:last-child {
  margin-bottom: 0;
}

._sectionHeader_1b35n_80 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  color: hsl(var(--foreground));
}

._sectionHeader_1b35n_80 h3 {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

._setting_1b35n_94 {
  margin-bottom: var(--space-4);
}

._setting_1b35n_94:last-child {
  margin-bottom: 0;
}

._setting_1b35n_94 label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--space-2);
}

._select_1b35n_110 {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: var(--transition-base);
}

._select_1b35n_110:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

._themeToggle_1b35n_127 {
  display: flex;
  gap: var(--space-2);
}

._themeOption_1b35n_132 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  background: hsl(var(--background));
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: var(--transition-base);
  font-size: var(--font-size-sm);
}

._themeOption_1b35n_132:hover {
  border-color: hsl(var(--primary));
  background: hsl(var(--accent));
}

._themeOption_1b35n_132._active_1b35n_153 {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

._checkbox_1b35n_159 {
  display: flex !important;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 0 !important;
  font-weight: 400 !important;
}

._checkbox_1b35n_159 input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: hsl(var(--primary));
}

._footer_1b35n_174 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--secondary));
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

._resetButton_1b35n_185 {
  background: none;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

._resetButton_1b35n_185:hover {
  border-color: hsl(var(--muted-foreground));
  color: hsl(var(--foreground));
}

._actions_1b35n_201 {
  display: flex;
  gap: 12px;
}

._cancelButton_1b35n_206 {
  background: none;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

._cancelButton_1b35n_206:hover {
  border-color: hsl(var(--muted-foreground));
  color: hsl(var(--foreground));
}

._saveButton_1b35n_222 {
  display: flex;
  align-items: center;
  gap: 8px;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  padding: 10px 20px;
  border-radius: 6px;
  cursor: not-allowed;
  font-size: 14px;
  transition: all 0.2s ease;
}

._saveButton_1b35n_222._hasChanges_1b35n_236 {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  cursor: pointer;
}

._saveButton_1b35n_222._hasChanges_1b35n_236:hover {
  background: hsl(var(--primary) / 0.9);
}

/* Animations */
@keyframes _fadeIn_1b35n_1 {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes _slideUp_1b35n_1 {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 640px) {
  ._panel_1b35n_17 {
    width: 95%;
    max-height: 90vh;
  }
  
  ._header_1b35n_30,
  ._content_1b35n_66,
  ._footer_1b35n_174 {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  ._themeToggle_1b35n_127 {
    flex-direction: column;
  }
  
  ._actions_1b35n_201 {
    flex-direction: column;
    width: 100%;
  }
  
  ._footer_1b35n_174 {
    flex-direction: column;
    gap: 12px;
  }
}

/* Specialty-specific styles */
._loadingState_1b35n_298 {
  padding: var(--space-3);
  font-size: var(--font-size-sm);
  color: hsl(var(--muted-foreground));
  text-align: center;
  font-style: italic;
}

._savingIndicator_1b35n_306 {
  display: inline-block;
  margin-left: var(--space-2);
  font-size: var(--font-size-sm);
  color: hsl(var(--muted-foreground));
  animation: _pulse_1b35n_1 1.5s ease-in-out infinite;
}

._settingDescription_1b35n_314 {
  margin-top: var(--space-2);
  font-size: var(--font-size-sm);
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

@keyframes _pulse_1b35n_1 {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Dark mode is handled automatically by the ThemeProvider and CSS variables */._overlay_1g3cx_1 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: _fadeIn_1g3cx_1 0.2s ease-in-out;
}

._panel_1g3cx_16 {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px hsl(var(--foreground) / 0.25);
  animation: _slideUp_1g3cx_1 0.3s ease-out;
}

._header_1g3cx_29 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid hsl(var(--border));
}

._title_1g3cx_37 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

._title_1g3cx_37 h2 {
  margin: 0;
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: hsl(var(--foreground));
}

._closeButton_1g3cx_50 {
  background: transparent;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius);
  transition: all 0.2s;
}

._closeButton_1g3cx_50:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

._content_1g3cx_65 {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-6);
}

._section_1g3cx_71 {
  margin-bottom: var(--space-6);
}

._sectionHeader_1g3cx_75 {
  margin-bottom: var(--space-4);
}

._sectionHeader_1g3cx_75 h3 {
  margin: 0;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: hsl(var(--foreground));
}

._field_1g3cx_86 {
  margin-bottom: var(--space-4);
}

._field_1g3cx_86 label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: hsl(var(--foreground));
}

._input_1g3cx_98,
._select_1g3cx_99 {
  width: 100%;
  padding: var(--space-3);
  background: hsl(var(--input));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  color: hsl(var(--foreground));
  font-size: var(--font-size-base);
  transition: all 0.2s;
}

._input_1g3cx_98:focus,
._select_1g3cx_99:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.1);
}

._input_1g3cx_98:disabled,
._select_1g3cx_99:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._fieldDescription_1g3cx_123 {
  margin-top: var(--space-2);
  font-size: var(--font-size-sm);
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

._loadingState_1g3cx_130 {
  padding: var(--space-8);
  text-align: center;
  font-size: var(--font-size-sm);
  color: hsl(var(--muted-foreground));
  font-style: italic;
}

._footer_1g3cx_138 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid hsl(var(--border));
}

._cancelButton_1g3cx_147 {
  padding: var(--space-3) var(--space-4);
  background: transparent;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  color: hsl(var(--foreground));
  font-size: var(--font-size-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

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

._hasChanges_1g3cx_163 {
  animation: _pulse_1g3cx_1 2s ease-in-out infinite;
}

@keyframes _fadeIn_1g3cx_1 {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes _slideUp_1g3cx_1 {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes _pulse_1g3cx_1 {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}
/* PerformanceDashboard Styles */

._overlay_qvfd6_3 {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  animation: _fadeIn_qvfd6_1 0.2s ease-out;
}

._dashboard_qvfd6_14 {
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  width: 95%;
  max-width: 1000px;
  height: 80vh;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  animation: _slideUp_qvfd6_1 0.3s ease-out;
}

._header_qvfd6_27 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border-secondary);
}

._title_qvfd6_35 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
}

._title_qvfd6_35 h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

._closeButton_qvfd6_48 {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-secondary);
  padding: 8px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

._closeButton_qvfd6_48:hover {
  background-color: var(--color-surface-secondary);
  color: var(--color-text);
}

._tabs_qvfd6_63 {
  display: flex;
  border-bottom: 1px solid var(--color-border-secondary);
  background-color: var(--color-surface-secondary);
}

._tab_qvfd6_63 {
  padding: 12px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

._tab_qvfd6_63:hover {
  color: var(--color-text-secondary);
  background-color: var(--color-surface-tertiary);
}

._tab_qvfd6_63._active_qvfd6_86 {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  background-color: var(--color-surface);
}

._content_qvfd6_92 {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

._statsGrid_qvfd6_98 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

._statCard_qvfd6_105 {
  background: var(--color-surface-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

._statHeader_qvfd6_113 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--color-text-secondary);
}

._statHeader_qvfd6_113 h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

._statValue_qvfd6_127 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

._statSubtext_qvfd6_134 {
  font-size: 12px;
  color: var(--color-text-muted);
}

._section_qvfd6_139 {
  margin-bottom: 32px;
}

._sectionHeader_qvfd6_143 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--color-text);
}

._sectionHeader_qvfd6_143 h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

._slowOps_qvfd6_157 {
  background: var(--color-error-subtle);
  border: 1px solid var(--color-error-border);
  border-radius: var(--radius-lg);
  padding: 16px;
}

._slowOp_qvfd6_157 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-error-border);
}

._slowOp_qvfd6_157:last-child {
  border-bottom: none;
}

._slowOpInfo_qvfd6_176 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

._slowOpName_qvfd6_182 {
  font-weight: 600;
  color: var(--color-error);
  font-size: 14px;
}

._slowOpEndpoint_qvfd6_188 {
  font-size: 12px;
  color: var(--color-warning);
}

._slowOpDuration_qvfd6_193 {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
}

._metricsTable_qvfd6_199 {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

._metricsTable_qvfd6_199 thead {
  background-color: var(--color-surface-tertiary);
}

._metricsTable_qvfd6_199 th,
._metricsTable_qvfd6_199 td {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  color: var(--color-text);
}

._metricsTable_qvfd6_199 th {
  font-weight: 600;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
}

._metricsTable_qvfd6_199 tbody tr:nth-child(even) {
  background-color: var(--color-surface);
}

._metricsTable_qvfd6_199 tbody tr:hover {
  background-color: var(--color-surface-tertiary);
}

._metricsTable_qvfd6_199 ._highlight_qvfd6_235 {
  color: var(--color-primary);
  font-weight: 600;
}

._emptyState_qvfd6_240 {
  padding: 32px;
  text-align: center;
  color: var(--color-text-muted);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-secondary);
}

._controls_qvfd6_249 {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}

._controlButton_qvfd6_256 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
}

._controlButton_qvfd6_256:hover {
  background: var(--color-surface-tertiary);
  border-color: var(--color-border-secondary);
}

._controlButton_qvfd6_256._primary_qvfd6_274 {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-primary-text);
}

._controlButton_qvfd6_256._primary_qvfd6_274:hover {
  background: var(--color-primary-hover);
}

._alertCard_qvfd6_284 {
  background: var(--color-surface-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text);
}

._alertCard_qvfd6_284 svg {
  color: var(--color-warning);
}

._metricRow_qvfd6_299 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border-secondary);
}

._metricRow_qvfd6_299:last-child {
  border-bottom: none;
}

._metricLabel_qvfd6_311 {
  font-size: 13px;
  color: var(--color-text-secondary);
}

._metricValue_qvfd6_316 {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

._tagList_qvfd6_322 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

._tag_qvfd6_322 {
  padding: 6px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-secondary);
  background: var(--color-surface-secondary);
  color: var(--color-text-secondary);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Dark mode adjustments */
._dark_qvfd6_341 ._dashboard_qvfd6_14 {
  background: var(--color-surface);
  border-color: var(--color-border);
}

._dark_qvfd6_341 ._tab_qvfd6_63._active_qvfd6_86 {
  background: var(--color-surface);
  color: var(--color-primary);
}

._dark_qvfd6_341 ._metricsTable_qvfd6_199 tbody tr:nth-child(even) {
  background-color: var(--color-surface-secondary);
}

._dark_qvfd6_341 ._metricsTable_qvfd6_199 tbody tr:hover {
  background-color: var(--color-surface-tertiary);
}

._dark_qvfd6_341 ._alertCard_qvfd6_284 {
  background: var(--color-surface-secondary);
}

/* Animations */
@keyframes _fadeIn_qvfd6_1 {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes _slideUp_qvfd6_1 {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* Clinical Notes Standalone - Global Styles */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  /* overflow-x removed - let components manage their own horizontal scroll */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: var(--line-height-normal);
}

#root {
  min-height: 100vh;
  width: 100%;
}

/* Loading fallback for lazy-loaded components */
.loading-fallback {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-size: 1.1rem;
  color: hsl(var(--color-text));
  background-color: hsl(var(--background));
}

/* Component loading indicators */
.component-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  background-color: hsl(var(--accent));
  border-radius: 4px;
  border: 1px dashed hsl(var(--border));
  margin: 0.5rem 0;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

/* App Container - Main Layout */
.app-container {
  display: flex;
  min-height: 100vh;
  background-color: hsl(var(--background));
}

/* Main Content Area */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 240px;
  transition: margin-left var(--transition-slow);
  min-height: 100vh;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

.main-content.sidebar-collapsed {
  margin-left: 64px;
}

/* Content Wrapper - Full Width for Desktop */
.content-wrapper {
  flex: 1;
  padding: var(--space-6);
  width: 100%;
  /* Removed max-width and margin: 0 auto to enable full-width layout */
}

/* User Header positioning within main-content */
.main-content > .user-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 12px 24px;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-content {
    margin-left: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .main-content.sidebar-collapsed {
    margin-left: 0;
  }

  .content-wrapper {
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Header - Minimal Black Design */
.app-header {
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  padding: var(--space-5) var(--space-6);
  position: sticky;
  top: 0;
  z-index: var(--z-base);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-1) 0;
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: hsl(var(--foreground));
}

.app-subtitle {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
}

/* Main Content - Full Width for Desktop */
.app-main {
  flex: 1;
  padding: var(--space-8) var(--space-6);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
  /* Removed max-width and margin: 0 auto to enable full-width layout */
}

@media (max-width: 1024px) {
  .app-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .app-main {
    padding: 8px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    gap: 16px; /* Reduce gap from var(--space-8) ~32px */
    overflow-x: hidden;
  }

  .app-header {
    padding: 12px;
  }

  .app-title {
    font-size: 20px;
  }
}

/* AI Summary Card in Clinical Notes */
.clinical-notes-ai-summary {
  margin-bottom: var(--space-4);
  width: 100%;
}

/* Sections */
.recording-section,
.notes-section {
  background: hsl(var(--card));
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.recording-section:hover,
.notes-section:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-xl);
}

.recording-section h2,
.notes-section h2 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-5) 0;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: hsl(var(--foreground));
  border-bottom: 2px solid hsl(var(--primary) / 0.2);
  padding-bottom: var(--space-2);
}

/* Author Filter */
.active-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px;
  background: hsl(var(--muted) / 0.5);
  border-radius: var(--radius-md);
  border: 1px solid hsl(var(--border));
}

.filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid hsl(var(--primary) / 0.3);
}

.filter-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 14px;
  line-height: 1;
  padding: 0;
}

.filter-remove:hover {
  background: hsl(var(--destructive) / 0.2);
  color: hsl(var(--destructive));
}

/* Processing Status */
.processing-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  text-align: center;
  background: hsl(var(--surface-muted));
  border: 2px dashed hsl(var(--border));
  border-radius: var(--radius-xl);
  margin: var(--space-5) 0;
  transition: all var(--transition-base);
}

.processing-status:hover {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
}

.processing-status p {
  margin: var(--space-3) 0 var(--space-1);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: hsl(var(--foreground));
}

.processing-status small {
  color: hsl(var(--muted-foreground));
  font-size: var(--font-size-sm);
}

/* Spinner */
.spinner {
  width: var(--space-8);
  height: var(--space-8);
  border: 3px solid hsl(var(--border));
  border-top: 3px solid hsl(var(--primary));
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Form Elements */
button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-base);
  border-radius: var(--radius-lg);
  font-weight: var(--font-weight-medium);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

input, select, textarea {
  font-family: inherit;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

/* Focus States */
button:focus-visible,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

/* Auto-Copy Notification */
.note-container {
  position: relative;
}

.auto-copy-notification {
  position: absolute;
  top: -10px;
  right: 0;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-toast);
  animation: slideInFromTop var(--transition-slow) var(--ease-bounce);
  border: 1px solid hsl(var(--primary));
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Async Processing Styles */
.processing-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: hsl(var(--border));
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-xl);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  margin-left: var(--space-3);
  color: hsl(var(--border));
  border: 1px solid hsl(var(--border));
}

.async-processing {
  border-left: 4px solid hsl(var(--border));
  background: linear-gradient(135deg, hsl(var(--border)) 0%, hsl(var(--border)) 100%);
}

.sync-processing {
  border-left: 4px solid hsl(var(--border));
  background: hsl(var(--border));
}

.processing-header {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.async-icon {
  color: hsl(var(--border));
  animation: pulse 2s infinite;
}

.error-icon {
  font-size: 20px;
}

.processing-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.processing-message {
  margin: 0;
  font-weight: 500;
  color: var(--color-text);
  font-size: 16px;
}

.error-message {
  margin: 0;
  font-weight: var(--font-weight-medium);
  color: hsl(var(--border));
  font-size: var(--font-size-sm);
}

.progress-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step {
  font-size: 14px;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step.completed {
  color: var(--color-success);
  font-weight: 500;
}

.step.processing {
  color: var(--color-primary);
  font-weight: 500;
  animation: pulse 2s infinite;
}

.polling-info,
.time-info,
.job-info {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-secondary);
}

.error-info {
  padding: var(--space-2) var(--space-3);
  background: hsl(var(--border));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  color: hsl(var(--border));
  font-size: var(--font-size-sm);
  box-shadow: var(--shadow-sm);
}

.error-info p {
  margin: 0;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Progress bar animation for async mode */
.async-processing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Responsive Text */
@media (max-width: 768px) {
  /* Universal mobile width constraint - forces ALL elements to fit */
  * {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Ensure all containers respect viewport */
  div, section, article, main, header, footer, form {
    max-width: 100% !important;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  /* Input fields must fit */
  input, select, textarea, button {
    max-width: 100%;
    box-sizing: border-box;
  }

  .app-title {
    font-size: 18px;
  }

  .app-subtitle {
    font-size: 13px;
  }

  .recording-section,
  .notes-section {
    padding: 10px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: calc(100vw - 16px); /* Force viewport constraint minus app-main padding */
    box-sizing: border-box;
    margin: 0;
    overflow-x: hidden;
  }

  .recording-section h2,
  .notes-section h2 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .processing-mode-badge {
    margin-left: 8px;
    font-size: 11px;
    padding: 2px 6px;
  }

  .progress-steps {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .app-title {
    font-size: 16px;
  }

  .app-main {
    padding: 6px;
    gap: 12px;
  }

  .recording-section,
  .notes-section {
    padding: 8px;
    max-width: calc(100vw - 12px);
  }
}

/* Auth Loading Styles */
.auth-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.auth-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: white;
  text-align: center;
}

.auth-loading-content .spinner {
  animation: spin 1s linear infinite;
}

.auth-loading-content p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

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

/* Recording Actions - Audio/Text/Visit Recorder Buttons */
.recording-actions {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.recording-actions > * {
  flex: 0 1 auto;
  min-width: 0;
}

/* Visit Type Section */
.visit-type-section {
  margin-bottom: 1.5rem;
  background: hsl(var(--surface-muted));
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.visit-type-section label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-medium);
  color: hsl(var(--muted-foreground));
  font-size: var(--font-size-sm);
}

.visit-type-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  background: hsl(var(--surface));
  color: hsl(var(--foreground));
  transition: var(--transition-base);
}

.visit-type-select:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.25);
}

.visit-type-select:disabled {
  background: hsl(var(--surface-muted));
  color: hsl(var(--muted-foreground));
  cursor: not-allowed;
  opacity: 0.6;
}

/* Selected Patient Info */
.selected-patient-info {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: hsl(var(--surface-muted));
  border-radius: var(--radius-md);
  border: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.selected-patient-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.selected-patient-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.selected-patient-label {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
}

.selected-patient-name {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: hsl(var(--foreground));
}

.patient-dob {
  color: hsl(var(--muted-foreground));
  font-size: var(--font-size-sm);
}

.selected-patient-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

.patient-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  color: hsl(var(--foreground));
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: var(--transition-base);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.25rem;
}

.patient-action-button:hover:not(:disabled) {
  background: hsl(var(--primary) / 0.08);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.patient-action-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.notes-overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: clamp(1rem, 3vw, 3rem);
}

.notes-overlay-panel {
  width: min(100%, 80vw);
  max-height: 100%;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.notes-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--surface-muted));
}

.notes-overlay-titles {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.notes-overlay-titles h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.notes-overlay-subtitle {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
}

.notes-overlay-close {
  border: none;
  background: none;
  color: hsl(var(--muted-foreground));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  padding: 0.35rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.notes-overlay-close:hover {
  background: hsl(var(--surface-hover));
  color: hsl(var(--foreground));
}

.notes-overlay-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: hsl(var(--card));
}

.patient-notes-loading,
.patient-notes-error,
.patient-notes-empty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--font-size-sm);
  color: hsl(var(--muted-foreground));
}

.patient-notes-error {
  color: hsl(var(--destructive));
}

.patient-notes-spinner {
  animation: spin 1s linear infinite;
}

@media (max-width: 768px) {
  .notes-overlay {
    padding: 0;
  }

  .notes-overlay-panel {
    border-radius: 0;
    width: 100%;
  }

  .selected-patient-info {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .selected-patient-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .selected-patient-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
  }

  .patient-action-button {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: var(--font-size-xs);
  }

  .patient-action-button svg {
    flex-shrink: 0;
  }

  /* Mobile: Stack recording actions vertically */
  .recording-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .recording-actions > * {
    width: 100%;
    flex: 1 1 100%;
  }

  /* Ensure buttons in recording actions are full width */
  .recording-actions button {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: var(--font-size-sm);
    justify-content: center;
  }

  .recording-actions button svg {
    flex-shrink: 0;
  }
}

/* ==============================================
   MOBILE COMPACT MODE - Recording UI Optimization
   Target: Minimize scrolling to start recording
   ============================================== */

@media (max-width: 640px) {
  /* HIDE visit type section on mobile - saves significant space */
  .visit-type-section {
    display: none !important;
  }

  /* Compact recording section layout - NO min-height to avoid empty space */
  .recording-section {
    display: flex;
    flex-direction: column;
    padding: var(--space-2);
  }

  /* Smaller title on mobile */
  .recording-section h2 {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-2);
    padding-bottom: var(--space-1);
  }

  /* PatientInfoSection: HIDE name (redundant), show only action buttons inline */
  .selected-patient-info {
    padding: 0 !important;
    margin-bottom: var(--space-2) !important;
    background: transparent !important;
    border: none !important;
  }

  .selected-patient-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--space-2) !important;
    width: 100% !important;
  }

  /* HIDE patient details on mobile - already shown in PatientSelector collapsed */
  .selected-patient-details {
    display: none !important;
  }

  /* Action buttons: UNIFORM with recording buttons - same size, outline style */
  .selected-patient-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: var(--space-2) !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .patient-action-button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 48px !important;
    padding: var(--space-2) !important;
    border-radius: var(--radius-md) !important;
    background: hsl(var(--muted)) !important;
    border: 1px solid hsl(var(--border)) !important;
    color: hsl(var(--foreground)) !important;
  }

  .patient-action-button:hover {
    background: hsl(var(--muted) / 0.8) !important;
  }

  /* Hide button text on mobile - icon only */
  .patient-action-button .button-label {
    display: none !important;
  }

  .patient-action-button svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Recording actions - NO box, just the buttons */
  .recording-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: var(--space-2) !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    /* Remove any box styling */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Recording buttons: icon-only on mobile - HIDE ALL TEXT */
  .recording-actions .button-label,
  .recording-actions button span:not(:has(svg)) {
    display: none !important;
  }

  /* All children should flex equally */
  .recording-actions > * {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  /* TextNoteButton and VisitRecorderButton (wrapped in Suspense + Tooltip) */
  .recording-actions button:not(.audio-recorder button) {
    width: 100% !important;
    height: 48px !important;
    padding: var(--space-2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: hsl(var(--primary)) !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    box-shadow: none !important;
    color: hsl(var(--primary-foreground)) !important;
  }

  .recording-actions button:not(.audio-recorder button):hover {
    opacity: 0.9 !important;
  }

  .recording-actions button:not(.audio-recorder button) svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* AudioRecorder wrapper - CIRCULAR, fixed size, no box */
  .recording-actions .audio-recorder {
    flex: 0 0 56px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    /* Kill the wrapper styling */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .recording-actions .audio-recorder .recording-info {
    display: none !important;
  }

  .recording-actions .audio-recorder .recording-controls {
    width: auto !important;
    display: flex !important;
    justify-content: center !important;
    /* Kill wrapper styling here too */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  /* The mic button itself - CIRCULAR and prominent */
  .recording-actions .audio-recorder button {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: hsl(var(--primary)) !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px hsl(var(--primary) / 0.3) !important;
    color: hsl(var(--primary-foreground)) !important;
  }

  .recording-actions .audio-recorder button:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 16px hsl(var(--primary) / 0.4) !important;
  }

  /* Hide shimmer effects on mic button */
  .recording-actions .audio-recorder button > div {
    display: none !important;
  }

  .recording-actions .audio-recorder button > span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .recording-actions .audio-recorder button svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* Kill ALL nested divs that might have background */
  .recording-actions .audio-recorder > div,
  .recording-actions .audio-recorder div[class] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Content area above sticky footer */
  .recording-section > *:not(.recording-actions) {
    flex-shrink: 0;
  }
}

/* Extra small mobile (iPhone SE, etc.) */
@media (max-width: 375px) {
  .recording-section h2 {
    font-size: var(--font-size-xs);
  }

  .selected-patient-info {
    padding: var(--space-1);
  }

  .selected-patient-name {
    font-size: var(--font-size-xs);
  }

  .patient-action-button {
    min-width: 40px;
    height: 40px;
    padding: var(--space-1);
  }

  .recording-actions {
    padding: var(--space-1);
    padding-bottom: calc(var(--space-1) + env(safe-area-inset-bottom, 0px));
    gap: var(--space-1);
  }

  .recording-actions button {
    min-height: 44px;
    height: 44px;
    padding: var(--space-1);
  }

  .recording-actions button svg {
    width: 18px;
    height: 18px;
  }
}
/* PatientSearchDropdown.module.css */

._container_16z4a_3 {
  position: relative;
  width: 380px;
  max-width: 100%; /* Prevent overflow on small screens */
}

._inputWrapper_16z4a_9 {
  position: relative;
}

._searchInput_16z4a_13 {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  font-size: 14px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: border-color 0.2s;
}

._searchInput_16z4a_13:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

._spinner_16z4a_30 {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid hsl(var(--border));
  border-top-color: hsl(var(--primary));
  border-radius: 50%;
  animation: _spin_16z4a_30 0.6s linear infinite;
}

@keyframes _spin_16z4a_30 {
  to { transform: translateY(-50%) rotate(360deg); }
}

._dropdown_16z4a_47 {
  position: absolute;
  top: calc(100% + 4px);
  right: 0; /* Align to right to prevent overflow */
  min-width: 100%;
  max-width: 400px;
  max-height: 400px;
  overflow-y: auto;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  box-shadow: 0 4px 12px hsl(var(--foreground) / 0.1);
  z-index: 50;
}

._error_16z4a_62, ._empty_16z4a_62 {
  padding: 16px;
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
}

._error_16z4a_62 {
  color: hsl(var(--destructive));
}

._resultsList_16z4a_73 {
  list-style: none;
  margin: 0;
  padding: 4px;
}

._resultItem_16z4a_79 {
  padding: 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s;
}

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

._patientName_16z4a_90 {
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 4px;
}

._patientMeta_16z4a_96 {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}

._phone_16z4a_103::before {
  content: '📱 ';
}

._email_16z4a_107::before {
  content: '✉️ ';
}

/* Mobile responsive */
@media (max-width: 768px) {
  ._container_16z4a_3 {
    max-width: 100%;
  }

  ._dropdown_16z4a_47 {
    max-height: 300px;
  }

  ._searchInput_16z4a_13 {
    font-size: 16px; /* Prevent zoom on iOS */
  }
}
._container_efzw6_1 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

._trigger_efzw6_8 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: hsl(var(--foreground));
  transition: all 0.2s;
  min-width: 200px;
}

._trigger_efzw6_8:hover:not(:disabled) {
  background: hsl(var(--accent));
  border-color: hsl(var(--primary) / 0.3);
}

._trigger_efzw6_8:focus {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

._trigger_efzw6_8:focus:not(:focus-visible) {
  outline: none;
}

._trigger_efzw6_8:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

._trigger_efzw6_8:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

._boardName_efzw6_48 {
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._chevron_efzw6_56 {
  font-size: 10px;
  color: hsl(var(--muted-foreground));
}

._actions_efzw6_61 {
  display: flex;
  gap: 4px;
}

._actionButton_efzw6_66 {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  transition: all 0.2s;
}

._actionButton_efzw6_66:hover:not(:disabled) {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}

._actionButton_efzw6_66:focus {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

._actionButton_efzw6_66:focus:not(:focus-visible) {
  outline: none;
}

._actionButton_efzw6_66:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

._actionButton_efzw6_66:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

._deleteAction_efzw6_101:hover:not(:disabled) {
  background: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
  border-color: hsl(var(--destructive) / 0.3);
}

._dropdown_efzw6_107 {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 280px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  box-shadow: 0 4px 12px hsl(var(--foreground) / 0.1);
  z-index: 100;
  overflow: hidden;
}

._error_efzw6_120 {
  padding: 8px 12px;
  background: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
  font-size: 12px;
  border-bottom: 1px solid hsl(var(--border));
}

._boardList_efzw6_128 {
  max-height: 300px;
  overflow-y: auto;
  padding: 4px;
}

._boardItem_efzw6_134 {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
  color: hsl(var(--foreground));
  transition: background 0.15s;
}

._boardItem_efzw6_134:hover:not(:disabled) {
  background: hsl(var(--accent));
}

._boardItem_efzw6_134:focus {
  outline: 2px solid hsl(var(--primary));
  outline-offset: -2px;
}

._boardItem_efzw6_134:focus:not(:focus-visible) {
  outline: none;
}

._boardItem_efzw6_134:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: -2px;
}

._boardItem_efzw6_134._active_efzw6_168 {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

._boardItem_efzw6_134:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._boardItemName_efzw6_178 {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._defaultBadge_efzw6_185 {
  padding: 2px 6px;
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
  font-size: 10px;
  font-weight: 500;
  border-radius: 4px;
}

._divider_efzw6_194 {
  height: 1px;
  background: hsl(var(--border));
  margin: 4px 0;
}

._newBoardButton_efzw6_200 {
  display: block;
  width: calc(100% - 8px);
  margin: 4px;
  padding: 10px 12px;
  background: transparent;
  border: 1px dashed hsl(var(--border));
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  transition: all 0.2s;
}

._newBoardButton_efzw6_200:hover:not(:disabled) {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
  border-color: hsl(var(--primary) / 0.3);
}

._newBoardButton_efzw6_200:focus {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

._newBoardButton_efzw6_200:focus:not(:focus-visible) {
  outline: none;
}

._newBoardButton_efzw6_200:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

._newBoardButton_efzw6_200:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._createForm_efzw6_239,
._editForm_efzw6_240 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
}

._createInput_efzw6_247,
._editInput_efzw6_248 {
  flex: 1;
  min-width: 150px;
  padding: 8px 12px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  font-size: 14px;
  color: hsl(var(--foreground));
}

._createInput_efzw6_247:focus,
._editInput_efzw6_248:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

._createInput_efzw6_247:disabled,
._editInput_efzw6_248:disabled {
  opacity: 0.6;
}

._createActions_efzw6_271 {
  display: flex;
  gap: 4px;
  width: 100%;
}

._createButton_efzw6_277,
._saveButton_efzw6_278 {
  padding: 6px 12px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.2s;
}

._createButton_efzw6_277:hover:not(:disabled),
._saveButton_efzw6_278:hover:not(:disabled) {
  opacity: 0.9;
}

._createButton_efzw6_277:disabled,
._saveButton_efzw6_278:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._cancelButton_efzw6_301 {
  padding: 6px 12px;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: opacity 0.2s;
}

._cancelButton_efzw6_301:hover {
  opacity: 0.9;
}
._columnEditor_1ir4b_1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  gap: 8px;
  position: relative;
}

._columnTitle_1ir4b_10 {
  font-size: 16px;
  font-weight: 600;
  color: hsl(var(--foreground));
  cursor: pointer;
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  border-left: 4px solid;
  transition: background-color 0.2s ease;
  margin: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

._columnTitle_1ir4b_10:hover {
  background-color: hsl(var(--accent));
}

._titleInput_1ir4b_28 {
  flex: 1;
  padding: 8px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid hsl(var(--primary));
  border-radius: 6px;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  outline: none;
  transition: border-color 0.2s ease;
}

._titleInput_1ir4b_28:focus {
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

._actions_1ir4b_46 {
  display: flex;
  gap: 8px;
}

._colorButton_1ir4b_51,
._deleteButton_1ir4b_52 {
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  background-color: hsl(var(--background));
  cursor: pointer;
  transition: all 0.2s ease;
}

._colorButton_1ir4b_51:hover,
._deleteButton_1ir4b_52:hover {
  background-color: hsl(var(--accent));
}

._colorButton_1ir4b_51 {
  font-size: 1.25rem;
}

._deleteButton_1ir4b_52 {
  font-size: 1.25rem;
  color: hsl(var(--destructive));
}

._deleteButton_1ir4b_52:hover {
  background-color: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
}

._colorPicker_1ir4b_82 {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  padding: 12px;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  box-shadow: 0 4px 12px hsl(var(--foreground) / 0.1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  z-index: 50;
  animation: _fadeIn_1ir4b_1 0.15s ease-out;
}

@keyframes _fadeIn_1ir4b_1 {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

._colorSwatch_1ir4b_110 {
  width: 44px;
  height: 44px;
  border: 2px solid hsl(var(--border));
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  position: relative;
}

._colorSwatch_1ir4b_110:hover {
  transform: scale(1.1);
  border-color: hsl(var(--primary));
  box-shadow: 0 2px 8px hsl(var(--foreground) / 0.2);
}

._colorSwatch_1ir4b_110:focus {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}
._column_1f5je_1 {
  display: flex;
  flex-direction: column;
  width: 320px; /* Fixed width - prevents resize during drag */
  min-width: 320px;
  max-width: 320px;
  flex-shrink: 0; /* Prevent shrinking for horizontal scroll */
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  overflow: hidden;
}

._header_1f5je_14 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 4px solid;
  background: hsl(var(--card));
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

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

._headerLeft_1f5je_29 {
  display: flex;
  align-items: center;
  gap: 8px;
}

._title_1f5je_35 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: hsl(var(--foreground));
}

._count_1f5je_42 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  font-weight: 600;
}

._collapseButton_1f5je_56 {
  background: none;
  border: none;
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  cursor: pointer;
  padding: 4px;
}

._cardList_1f5je_65 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding: 8px;
  min-height: 200px;
  max-height: calc(100vh - 200px);
}

._cardList_1f5je_65._draggingOver_1f5je_76 {
  background: hsl(var(--accent) / 0.5);
}

._empty_1f5je_80 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  text-align: center;
  color: hsl(var(--muted-foreground));
}

._empty_1f5je_80 p {
  margin: 4px 0;
}

._emptyHint_1f5je_94 {
  font-size: 12px;
  opacity: 0.7;
}

/* Mobile */
@media (max-width: 768px) {
  ._column_1f5je_1 {
    width: 280px; /* Fixed width on mobile */
    min-width: 280px;
    max-width: 280px;
  }

  ._cardList_1f5je_65 {
    max-height: calc(100vh - 300px);
  }
}
._container_k1kkq_1 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 0;
}

/* Header with title and actions */
._header_k1kkq_9 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

._title_k1kkq_17 {
  font-size: 16px;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

._headerActions_k1kkq_27 {
  display: flex;
  align-items: center;
  gap: 8px;
}

._hideButton_k1kkq_33 {
  background: none;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
  transition: all 0.2s;
}

._hideButton_k1kkq_33:hover {
  background: hsl(var(--muted) / 0.5);
  color: hsl(var(--foreground));
}

._deleteChecklistButton_k1kkq_49 {
  background: none;
  border: none;
  color: hsl(var(--destructive));
  cursor: pointer;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
  transition: all 0.2s;
}

._deleteChecklistButton_k1kkq_49:hover {
  background: hsl(var(--destructive) / 0.1);
}

/* Progress bar */
._progress_k1kkq_65 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

._progressPercent_k1kkq_72 {
  font-size: 11px;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  min-width: 32px;
}

._progressBar_k1kkq_79 {
  flex: 1;
  height: 8px;
  background: hsl(var(--muted));
  border-radius: 4px;
  overflow: hidden;
}

._progressFill_k1kkq_87 {
  height: 100%;
  background: hsl(var(--primary));
  transition: width 0.3s ease;
  border-radius: 4px;
}

/* Task list */
._taskList_k1kkq_95 {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

._taskItem_k1kkq_101 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 1px 8px;
  border-radius: 3px;
  transition: background 0.15s;
  position: relative;
}

._taskItem_k1kkq_101:hover {
  background: hsl(var(--muted) / 0.3);
}

/* Tri-state status button */
._statusButton_k1kkq_116 {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  position: relative;
}

._statusButton_k1kkq_116:hover:not(:disabled) {
  transform: scale(1.1);
  box-shadow: 0 0 8px currentColor;
}

._statusButton_k1kkq_116:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

._statusButton_k1kkq_116:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Pulse animation for in_progress state */
._statusButton_k1kkq_116._in_progress_k1kkq_149 ._statusIcon_k1kkq_149 {
  animation: _pulse_k1kkq_1 2s infinite;
}

@keyframes _pulse_k1kkq_1 {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

._statusIcon_k1kkq_149 {
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
}

/* Legacy checkbox styles (kept for backward compatibility if needed) */
._checkbox_k1kkq_165 {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin: 0;
  /* Ensure checkbox position is stable */
  padding: 0;
  position: relative;
}

._checkbox_k1kkq_165:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

._checkboxPending_k1kkq_182 {
  opacity: 0.5;
}

._taskText_k1kkq_186 {
  flex: 1;
  cursor: pointer;
  color: hsl(var(--foreground));
  font-size: 13px;
  line-height: 1.1;
  transition: color 0.2s;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

._taskText_k1kkq_186._completed_k1kkq_196 {
  text-decoration: line-through;
  color: hsl(var(--muted-foreground));
  opacity: 0.7;
}

._taskText_k1kkq_186:hover {
  background: hsl(var(--muted) / 0.2);
  border-radius: 2px;
}

._editInput_k1kkq_207 {
  flex: 1;
  padding: 4px 8px;
  border: 2px solid hsl(var(--primary));
  border-radius: 3px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 14px;
  outline: none;
}

/* Task action icons (on hover) */
._taskActions_k1kkq_219 {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  /* Reserve space to prevent layout shift when actions appear */
  min-width: 28px;
  transition: opacity 0.15s ease;
  /* Prevent interaction when hidden */
  pointer-events: none;
}

._taskActions_k1kkq_219[style*="opacity: 1"] {
  pointer-events: auto;
}

._actionButton_k1kkq_235 {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 2px 4px;
  border-radius: 3px;
  opacity: 0.6;
  transition: opacity 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

._actionButton_k1kkq_235:hover {
  opacity: 1;
  background: hsl(var(--muted) / 0.5);
}

/* Empty state */
._empty_k1kkq_255 {
  padding: 8px;
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 13px;
}

/* Add task */
._addTask_k1kkq_263 {
  margin-top: 2px;
}

._addInput_k1kkq_267 {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid hsl(var(--border));
  border-radius: 3px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 14px;
  outline: none;
}

._addInput_k1kkq_267:focus {
  border-color: hsl(var(--primary));
}

._addButton_k1kkq_282 {
  background: none;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 3px;
  text-align: left;
  width: 100%;
  transition: all 0.2s;
}

._addButton_k1kkq_282:hover {
  background: hsl(var(--muted) / 0.3);
  color: hsl(var(--foreground));
}
._container_1707w_1 {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

._loadMore_1707w_8 {
  margin: 8px;
  padding: 8px 16px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}

._loadMore_1707w_8:hover:not(:disabled) {
  background: hsl(var(--accent));
}

._loadMore_1707w_8:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

._messagesList_1707w_28 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

._message_1707w_28 {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  max-width: 80%;
}

._message_1707w_28._optimistic_1707w_46 {
  opacity: 0.6;
}

._messageHeader_1707w_50 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

._author_1707w_57 {
  font-weight: 600;
  font-size: 12px;
  color: hsl(var(--primary));
}

._timestamp_1707w_63 {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
}

._messageContent_1707w_68 {
  font-size: 13px;
  color: hsl(var(--foreground));
  line-height: 1.4;
  white-space: pre-wrap;
  word-wrap: break-word;
}

._empty_1707w_76 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  text-align: center;
  color: hsl(var(--muted-foreground));
}
/* TaskTemplateSelector Styles */

._container_1dkea_3 {
  position: relative;
  display: inline-block;
}

._triggerButton_1dkea_8 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: all 0.2s;
}

._triggerButton_1dkea_8:hover {
  background: hsl(var(--accent));
  border-color: hsl(var(--accent-foreground) / 0.2);
}

._triggerButton_1dkea_8:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

._icon_1dkea_33 {
  font-size: 14px;
}

._chevron_1dkea_37 {
  font-size: 10px;
  margin-left: 2px;
}

._dropdown_1dkea_42 {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  min-width: 240px;
  background: hsl(var(--popover));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
  overflow: hidden;
}

._dropdownHeader_1dkea_56 {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.3);
}

._loading_1dkea_67,
._empty_1dkea_68 {
  padding: 16px 12px;
  text-align: center;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
}

._templateList_1dkea_75 {
  max-height: 300px;
  overflow-y: auto;
}

._templateWrapper_1dkea_80 {
  border-bottom: 1px solid hsl(var(--border) / 0.3);
}

._templateWrapper_1dkea_80:last-child {
  border-bottom: none;
}

._templateRow_1dkea_88 {
  display: flex;
  align-items: stretch;
}

._templateItem_1dkea_93 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  padding: 10px 12px;
  background: transparent;
  border: none;
  font-size: 13px;
  color: hsl(var(--foreground));
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

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

._editButton_1dkea_112 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: transparent;
  border: none;
  border-left: 1px solid hsl(var(--border) / 0.3);
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s;
}

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

._templateItem_1dkea_93:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Submenu styles */
._submenu_1dkea_135 {
  background: hsl(var(--muted) / 0.3);
  border-top: 1px solid hsl(var(--border) / 0.3);
  padding: 4px 0;
}

._submenuItem_1dkea_141 {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 16px 8px 24px;
  background: transparent;
  border: none;
  font-size: 13px;
  color: hsl(var(--foreground));
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

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

._submenuItem_1dkea_141:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

._submenuIcon_1dkea_165 {
  font-size: 14px;
  font-weight: bold;
  color: hsl(var(--primary));
}

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

._templateName_1dkea_177 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

._defaultBadge_1dkea_184 {
  font-size: 10px;
  padding: 2px 6px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 4px;
  font-weight: 600;
}

._taskCount_1dkea_193 {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
}

._applying_1dkea_198 {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}

._divider_1dkea_203 {
  height: 1px;
  background: hsl(var(--border));
  margin: 4px 0;
}

._createButton_1dkea_209 {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  font-size: 13px;
  color: hsl(var(--primary));
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

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

._plusIcon_1dkea_229 {
  font-size: 16px;
  font-weight: bold;
}

/* Modal Styles */
._modalOverlay_1dkea_235 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

._modal_1dkea_235 {
  background: hsl(var(--card));
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

._modalTitle_1dkea_258 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: hsl(var(--foreground));
}

._formGroup_1dkea_265 {
  margin-bottom: 16px;
}

._formGroup_1dkea_265 label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: hsl(var(--foreground));
}

._formGroup_1dkea_265 input,
._formGroup_1dkea_265 textarea {
  width: 100%;
  padding: 10px 12px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  font-size: 14px;
  color: hsl(var(--foreground));
  transition: border-color 0.2s;
}

._formGroup_1dkea_265 input:focus,
._formGroup_1dkea_265 textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

._formGroup_1dkea_265 textarea {
  resize: vertical;
  min-height: 60px;
}

._taskPreview_1dkea_300 {
  margin-bottom: 20px;
  padding: 12px;
  background: hsl(var(--muted) / 0.3);
  border-radius: 6px;
}

._previewLabel_1dkea_307 {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

._previewList_1dkea_315 {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: hsl(var(--foreground));
}

._previewList_1dkea_315 li {
  margin-bottom: 4px;
}

._modalActions_1dkea_326 {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

._cancelButton_1dkea_332 {
  padding: 10px 16px;
  background: transparent;
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  font-size: 14px;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: background 0.2s;
}

._cancelButton_1dkea_332:hover {
  background: hsl(var(--secondary));
}

._cancelButton_1dkea_332:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

._saveButton_1dkea_352 {
  padding: 10px 16px;
  background: hsl(var(--primary));
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: hsl(var(--primary-foreground));
  cursor: pointer;
  transition: opacity 0.2s;
}

._saveButton_1dkea_352:hover {
  opacity: 0.9;
}

._saveButton_1dkea_352:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Edit Modal Styles */
._taskEditSection_1dkea_374 {
  margin-bottom: 20px;
}

._taskEditHeader_1dkea_378 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

._addTaskButton_1dkea_385 {
  padding: 6px 12px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: hsl(var(--primary));
  cursor: pointer;
  transition: background 0.15s;
}

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

._editTaskList_1dkea_401 {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
}

._editTaskItem_1dkea_409 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

._taskTitleInput_1dkea_416 {
  flex: 1;
  padding: 8px 10px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  font-size: 13px;
  color: hsl(var(--foreground));
}

._taskTitleInput_1dkea_416:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

._removeTaskButton_1dkea_431 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: hsl(var(--destructive) / 0.1);
  border: none;
  border-radius: 4px;
  font-size: 18px;
  color: hsl(var(--destructive));
  cursor: pointer;
  transition: background 0.15s;
}

._removeTaskButton_1dkea_431:hover {
  background: hsl(var(--destructive) / 0.2);
}

._emptyTaskMessage_1dkea_450 {
  padding: 12px;
  text-align: center;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  font-style: italic;
}

._deleteButton_1dkea_458 {
  padding: 10px 16px;
  background: hsl(var(--destructive) / 0.1);
  border: 1px solid hsl(var(--destructive) / 0.3);
  border-radius: 6px;
  font-size: 14px;
  color: hsl(var(--destructive));
  cursor: pointer;
  transition: background 0.2s;
}

._deleteButton_1dkea_458:hover {
  background: hsl(var(--destructive) / 0.2);
}

._deleteButton_1dkea_458:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

._rightActions_1dkea_478 {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

/* Edit modal actions with delete button on left */
._editModalActions_1dkea_485 {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
._badge_haa8s_1 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.15s ease;
}

/* Small size - for card display */
._small_haa8s_12 {
  height: 18px;
  padding: 0 4px;
  font-size: 10px;
  border-radius: 2px;
}

/* Medium size - for selector/editor */
._medium_haa8s_20 {
  height: 24px;
  padding: 0 6px;
  font-size: 12px;
  border-radius: 3px;
}

._label_haa8s_27 {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}

._small_haa8s_12 ._label_haa8s_27 {
  max-width: 60px;
}

._medium_haa8s_20 ._label_haa8s_27 {
  max-width: 100px;
}

._removeButton_haa8s_41 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  padding: 0;
  margin-left: 2px;
  border: none;
  border-radius: 50%;
  background-color: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

._badge_haa8s_1:hover ._removeButton_haa8s_41 {
  opacity: 0.7;
}

._removeButton_haa8s_41:hover {
  opacity: 1;
  background-color: hsl(var(--foreground) / 0.15);
}

._removeButton_haa8s_41:focus {
  opacity: 1;
  outline: none;
  background-color: hsl(var(--foreground) / 0.2);
}

._medium_haa8s_20 ._removeButton_haa8s_41 {
  width: 16px;
  height: 16px;
  font-size: 16px;
}
._colorPicker_14hw6_1 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 12px;
}

._colorSwatch_14hw6_8 {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

._colorSwatch_14hw6_8:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

._colorSwatch_14hw6_8:focus-visible {
  outline: 2px solid hsl(var(--foreground));
  outline-offset: 2px;
}

._colorSwatch_14hw6_8._selected_14hw6_32 {
  border-color: hsl(var(--foreground));
  box-shadow: 0 0 0 2px hsl(var(--background));
}

._checkmark_14hw6_37 {
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  line-height: 1;
}
/* BadgeSelector Styles */

._container_1qx73_3 {
  position: relative;
  display: inline-block;
}

._trigger_1qx73_8 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: all 0.2s;
}

._trigger_1qx73_8:hover {
  background: hsl(var(--accent));
  border-color: hsl(var(--accent-foreground) / 0.2);
}

._trigger_1qx73_8:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

._icon_1qx73_33 {
  font-size: 14px;
  font-weight: 600;
}

/* Dropdown Panel */
._dropdown_1qx73_39 {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  min-width: 220px;
  background: hsl(var(--popover));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  box-shadow: 0 4px 12px hsl(var(--foreground) / 0.1);
  z-index: 100;
  overflow: hidden;
  animation: _dropdownFadeIn_1qx73_1 0.15s ease-out;
}

@keyframes _dropdownFadeIn_1qx73_1 {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

._header_1qx73_65 {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.3);
}

/* Loading & Empty States */
._loading_1qx73_77,
._empty_1qx73_78 {
  padding: 16px 12px;
  text-align: center;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
}

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

._emptyText_1qx73_91 {
  font-style: italic;
}

._createFirstButton_1qx73_95 {
  padding: 8px 12px;
  background: hsl(var(--primary));
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: hsl(var(--primary-foreground));
  cursor: pointer;
  transition: opacity 0.2s;
}

._createFirstButton_1qx73_95:hover {
  opacity: 0.9;
}

/* Badge count indicator */
._badgeCount_1qx73_112 {
  padding: 8px 12px;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--muted) / 0.2);
  border-bottom: 1px solid hsl(var(--border));
  text-align: center;
}

/* Badge List */
._badgeList_1qx73_122 {
  max-height: 240px;
  overflow-y: auto;
  padding: 4px 0;
}

._badgeItem_1qx73_128 {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

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

._badgeItem_1qx73_128:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

._badgeItem_1qx73_128._assigned_1qx73_150 {
  background: hsl(var(--accent) / 0.5);
}

._badgeItem_1qx73_128._assigned_1qx73_150:hover {
  background: hsl(var(--accent));
}

/* Checkbox */
._checkbox_1qx73_159 {
  width: 16px;
  height: 16px;
  min-width: 16px;
  cursor: pointer;
  accent-color: hsl(var(--primary));
}

._badgeItem_1qx73_128:disabled ._checkbox_1qx73_159 {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Spinner */
._spinner_1qx73_176 {
  width: 14px;
  height: 14px;
  border: 2px solid hsl(var(--muted));
  border-top-color: hsl(var(--primary));
  border-radius: 50%;
  animation: _spin_1qx73_176 0.6s linear infinite;
}

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

/* Divider */
._divider_1qx73_192 {
  height: 1px;
  background: hsl(var(--border));
  margin: 4px 0;
}

/* Manager Button */
._managerButton_1qx73_199 {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}

._managerButton_1qx73_199:hover {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}

._gearIcon_1qx73_220 {
  font-size: 14px;
}

/* Scrollbar styling for badge list */
._badgeList_1qx73_122::-webkit-scrollbar {
  width: 6px;
}

._badgeList_1qx73_122::-webkit-scrollbar-track {
  background: transparent;
}

._badgeList_1qx73_122::-webkit-scrollbar-thumb {
  background: hsl(var(--muted));
  border-radius: 3px;
}

._badgeList_1qx73_122::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--muted-foreground));
}

/* Create Badge Button */
._createBadgeButton_1qx73_243 {
  width: 100%;
  margin: 4px 0;
  padding: 10px 12px;
  border: 2px dashed hsl(var(--border));
  background: transparent;
  color: hsl(var(--foreground));
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

._createBadgeButton_1qx73_243:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.05);
}

/* Badge Creator Form */
._badgeCreator_1qx73_264 {
  padding: 12px;
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  background: hsl(var(--card));
}

._label_1qx73_271 {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: hsl(var(--foreground));
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

._badgeLabelInput_1qx73_281 {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 13px;
  margin-bottom: 4px;
  transition: border-color 0.2s;
}

._badgeLabelInput_1qx73_281:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

._charCount_1qx73_298 {
  display: block;
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  text-align: right;
  margin-bottom: 12px;
}

._badgeCreatorActions_1qx73_306 {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

._cancelButton_1qx73_312,
._createButton_1qx73_313 {
  flex: 1;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

._cancelButton_1qx73_312 {
  background: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

._cancelButton_1qx73_312:hover {
  background: hsl(var(--muted) / 0.3);
  border-color: hsl(var(--border));
}

._createButton_1qx73_313 {
  background: hsl(var(--primary));
  border: none;
  color: hsl(var(--primary-foreground));
}

._createButton_1qx73_313:hover:not(:disabled) {
  opacity: 0.9;
}

._createButton_1qx73_313:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._errorMessage_1qx73_349 {
  padding: 8px 12px;
  margin: 8px 0;
  border-radius: 4px;
  background: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
  font-size: 12px;
  border: 1px solid hsl(var(--destructive) / 0.3);
}
/* BadgeManager Styles */

._container_1fkds_3 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 280px;
  max-width: 360px;
  background: hsl(var(--popover));
  border-radius: 8px;
}

._header_1fkds_13 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid hsl(var(--border));
}

._title_1fkds_21 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: hsl(var(--foreground));
}

._closeButton_1fkds_28 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 4px;
  font-size: 20px;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

._closeButton_1fkds_28:hover {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}

/* Error Display */
._error_1fkds_50 {
  padding: 10px 12px;
  background: hsl(var(--destructive) / 0.1);
  border: 1px solid hsl(var(--destructive) / 0.3);
  border-radius: 6px;
  font-size: 13px;
  color: hsl(var(--destructive));
}

/* Badge List */
._badgeList_1fkds_60 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
  padding: 4px 0;
}

._loading_1fkds_69,
._empty_1fkds_70 {
  padding: 16px 12px;
  text-align: center;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  font-style: italic;
}

._badgeItem_1fkds_78 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: hsl(var(--secondary) / 0.5);
  border-radius: 6px;
  transition: background 0.15s;
}

._badgeItem_1fkds_78:hover {
  background: hsl(var(--secondary));
}

._badgeItem_1fkds_78._editing_1fkds_92 {
  background: hsl(var(--accent));
  outline: 2px solid hsl(var(--primary) / 0.5);
}

._actions_1fkds_97 {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s;
}

._badgeItem_1fkds_78:hover ._actions_1fkds_97 {
  opacity: 1;
}

._actionButton_1fkds_109 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.15s;
}

._actionButton_1fkds_109:hover {
  background: hsl(var(--accent));
  border-color: hsl(var(--accent-foreground) / 0.2);
  color: hsl(var(--foreground));
}

._actionButton_1fkds_109:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._editIcon_1fkds_136 {
  font-size: 13px;
}

._deleteButton_1fkds_140:hover {
  background: hsl(var(--destructive) / 0.1);
  border-color: hsl(var(--destructive) / 0.3);
  color: hsl(var(--destructive));
}

._deleteButton_1fkds_140._confirmDelete_1fkds_146 {
  background: hsl(var(--destructive));
  border-color: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
  animation: _pulse_1fkds_1 0.5s ease-in-out infinite alternate;
}

@keyframes _pulse_1fkds_1 {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

._deleteIcon_1fkds_162 {
  font-size: 14px;
  font-weight: bold;
}

/* Form Section */
._form_1fkds_168 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid hsl(var(--border));
}

._formHeader_1fkds_176 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: hsl(var(--foreground));
}

._cancelEdit_1fkds_185 {
  padding: 4px 8px;
  background: transparent;
  border: none;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  text-decoration: underline;
}

._cancelEdit_1fkds_185:hover {
  color: hsl(var(--foreground));
}

._input_1fkds_199 {
  width: 100%;
  padding: 10px 12px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  font-size: 14px;
  color: hsl(var(--foreground));
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

._input_1fkds_199::-moz-placeholder {
  color: hsl(var(--muted-foreground));
}

._input_1fkds_199::placeholder {
  color: hsl(var(--muted-foreground));
}

._input_1fkds_199:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.15);
}

._input_1fkds_199:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Color Section */
._colorSection_1fkds_226 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

._colorLabel_1fkds_232 {
  font-size: 12px;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

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

._colorButton_1fkds_244 {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

._colorButton_1fkds_244:hover {
  transform: scale(1.1);
}

._colorButton_1fkds_244:focus {
  outline: none;
}

._colorButton_1fkds_244:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

._colorButton_1fkds_244._selected_1fkds_268 {
  border-color: hsl(var(--foreground));
  box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--foreground) / 0.3);
}

/* Preview */
._preview_1fkds_274 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: hsl(var(--muted) / 0.3);
  border-radius: 6px;
}

._previewLabel_1fkds_283 {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}

/* Save Button */
._saveButton_1fkds_289 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: hsl(var(--primary));
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: hsl(var(--primary-foreground));
  cursor: pointer;
  transition: opacity 0.15s;
}

._saveButton_1fkds_289:hover:not(:disabled) {
  opacity: 0.9;
}

._saveButton_1fkds_289:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Spinner */
._spinner_1fkds_316 {
  width: 16px;
  height: 16px;
  border: 2px solid hsl(var(--primary-foreground) / 0.3);
  border-top-color: hsl(var(--primary-foreground));
  border-radius: 50%;
  animation: _spin_1fkds_316 0.6s linear infinite;
}

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

/* Scrollbar styling */
._badgeList_1fkds_60::-webkit-scrollbar {
  width: 6px;
}

._badgeList_1fkds_60::-webkit-scrollbar-track {
  background: transparent;
}

._badgeList_1fkds_60::-webkit-scrollbar-thumb {
  background: hsl(var(--muted));
  border-radius: 3px;
}

._badgeList_1fkds_60::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--muted-foreground));
}
._overlay_8z9ce_1 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

._modal_8z9ce_15 {
  background: hsl(var(--card));
  border-radius: 12px;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

._closeButton_8z9ce_27 {
  position: absolute;
  top: 16px;
  right: 16px;
  background: hsl(var(--secondary));
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: hsl(var(--foreground));
  transition: background 0.2s;
  z-index: 10;
}

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

._content_8z9ce_50 {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

._section_8z9ce_56 {
  margin-bottom: 24px;
}

._patientName_8z9ce_60 {
  margin: 0 0 16px 0;
  font-size: 24px;
  font-weight: 700;
  color: hsl(var(--foreground));
}

._patientInfo_8z9ce_67 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

._infoItem_8z9ce_73 {
  display: flex;
  gap: 8px;
  font-size: 14px;
}

._label_8z9ce_79 {
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}

._badgesSection_8z9ce_84 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 0;
  border-bottom: 1px solid hsl(var(--border));
  margin-bottom: 16px;
}

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

._twoColumns_8z9ce_100 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

._sectionHeader_8z9ce_106 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

._sectionTitle_8z9ce_113 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: hsl(var(--foreground));
}

._chatContainer_8z9ce_120 {
  display: flex;
  flex-direction: column;
  height: 500px;
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  overflow: hidden;
}

._messageInput_8z9ce_129 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background));
}

._textarea_8z9ce_138 {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 13px;
  resize: none;
  min-height: 36px;
}

._textarea_8z9ce_138:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

._sendButton_8z9ce_156 {
  align-self: flex-end;
  padding: 6px 16px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}

._sendButton_8z9ce_156:hover {
  background: hsl(var(--primary) / 0.9);
}

/* Patient header with actions */
._patientHeader_8z9ce_174 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

._patientHeader_8z9ce_174 ._patientName_8z9ce_60 {
  margin: 0;
}

._cardActions_8z9ce_186 {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

._archiveCardButton_8z9ce_192 {
  padding: 8px 14px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: all 0.2s;
}

._archiveCardButton_8z9ce_192:hover {
  background: hsl(var(--accent));
  border-color: hsl(var(--accent-foreground) / 0.2);
}

._archiveCardButton_8z9ce_192:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

._deleteCardButton_8z9ce_214 {
  padding: 8px 14px;
  background: hsl(var(--destructive) / 0.1);
  border: 1px solid hsl(var(--destructive) / 0.3);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: hsl(var(--destructive));
  cursor: pointer;
  transition: all 0.2s;
}

._deleteCardButton_8z9ce_214:hover {
  background: hsl(var(--destructive) / 0.2);
}

._deleteCardButton_8z9ce_214:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Column badge */
._columnBadge_8z9ce_236 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
}

._columnLabel_8z9ce_244 {
  color: hsl(var(--muted-foreground));
}

._columnName_8z9ce_248 {
  padding: 4px 10px;
  background: hsl(var(--secondary));
  border-radius: 4px;
  border-left: 3px solid;
  color: hsl(var(--foreground));
  font-weight: 500;
}

/* Due Date Section */
._dueDateSection_8z9ce_258 {
  padding: 12px 0;
  border-bottom: 1px solid hsl(var(--border));
  margin-bottom: 16px;
}

._dueDateLabel_8z9ce_264 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: hsl(var(--foreground));
}

._dueDateLabel_8z9ce_264 span:first-child {
  font-weight: 500;
}

._dueDateInput_8z9ce_276 {
  padding: 6px 10px;
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

._dueDateInput_8z9ce_276:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

._dueDateInput_8z9ce_276:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

._clearDueDateButton_8z9ce_297 {
  background: none;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

._clearDueDateButton_8z9ce_297:hover {
  background: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
}

._clearDueDateButton_8z9ce_297:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

._saving_8z9ce_318 {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  font-style: italic;
}

/* Mobile */
@media (max-width: 768px) {
  ._twoColumns_8z9ce_100 {
    grid-template-columns: 1fr;
  }

  ._modal_8z9ce_15 {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  ._chatContainer_8z9ce_120 {
    height: 400px;
  }
}

/* Badge Manager Modal (nested inside CardDetailModal) */
._badgeManagerOverlay_8z9ce_342 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000; /* Higher than card modal */
  padding: 16px;
}

._badgeManagerModal_8z9ce_356 {
  background: hsl(var(--card));
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

._badgeManagerHeader_8z9ce_368 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid hsl(var(--border));
}

._badgeManagerHeader_8z9ce_368 h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: hsl(var(--foreground));
}

._badgeManagerClose_8z9ce_383 {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: hsl(var(--muted-foreground));
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

._badgeManagerClose_8z9ce_383:hover {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}
._card_55lfq_1 {
  padding: 8px 32px 8px 10px; /* Extra right padding for drag handle */
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  margin-bottom: 4px;
  cursor: pointer; /* Card itself is clickable, not draggable */
  transition: all 0.15s;
  width: 100%;
  box-sizing: border-box;
}

._card_55lfq_1:hover {
  border-color: hsl(var(--primary));
  box-shadow: 0 1px 4px hsl(var(--foreground) / 0.1);
}

/* Highlighted card (from patient page navigation) */
._highlighted_55lfq_19 {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.3), 0 2px 8px hsl(var(--foreground) / 0.15);
  animation: _highlightPulse_55lfq_1 2s ease-in-out infinite;
}

@keyframes _highlightPulse_55lfq_1 {
  0%, 100% {
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.3), 0 2px 8px hsl(var(--foreground) / 0.15);
  }
  50% {
    box-shadow: 0 0 0 5px hsl(var(--primary) / 0.2), 0 4px 12px hsl(var(--foreground) / 0.2);
  }
}

/* Removed :active grabbing cursor - only drag handle uses grabbing */

._patientName_55lfq_36 {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2px;
  color: hsl(var(--foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._patientName_55lfq_36._clickable_55lfq_46 {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: space-between;
  cursor: pointer;
  padding: 4px 8px;
  margin: -4px -8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}

._patientName_55lfq_36._clickable_55lfq_46:hover {
  color: hsl(var(--primary));
  text-decoration-style: solid;
  background-color: hsl(var(--accent) / 0.1);
}

._patientName_55lfq_36._clickable_55lfq_46:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

._patientName_55lfq_36._clickable_55lfq_46:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

._externalLinkIcon_55lfq_77 {
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: hsl(var(--primary));
}

._patientName_55lfq_36._clickable_55lfq_46:hover ._externalLinkIcon_55lfq_77 {
  opacity: 1;
  transform: translateX(2px);
}

@media (max-width: 768px) {
  ._externalLinkIcon_55lfq_77 {
    opacity: 0.6;
  }
}

._tasksSummary_55lfq_95 {
  font-size: 11px;
  color: hsl(var(--primary));
  font-weight: 500;
}

._badgesRow_55lfq_101 {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}

._moreBadges_55lfq_108 {
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  padding: 2px 4px;
  background: hsl(var(--muted));
  border-radius: 2px;
}

/* Card footer with tasks and due date - same row, right-aligned */
._cardFooter_55lfq_117 {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

/* Due date badge */
._dueDateBadge_55lfq_126 {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

._dueDateBadge_55lfq_126._normal_55lfq_134 {
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

._dueDateBadge_55lfq_126._soon_55lfq_139 {
  background: hsl(45 93% 47% / 0.15);
  color: hsl(45 93% 35%);
}

._dueDateBadge_55lfq_126._today_55lfq_144 {
  background: hsl(38 92% 50% / 0.2);
  color: hsl(38 92% 35%);
  font-weight: 600;
}

._dueDateBadge_55lfq_126._overdue_55lfq_150 {
  background: hsl(var(--destructive) / 0.15);
  color: hsl(var(--destructive));
  font-weight: 600;
}
/**
 * AddColumnButton Styles
 * Theme: HSL custom properties (dark/light compatible)
 * Touch targets: ≥44x44px for accessibility
 */

._addButton_go1j9_7 {
  min-width: 280px;
  min-height: 44px;
  padding: 12px 16px;

  display: flex;
  align-items: center;
  gap: 8px;

  background-color: hsl(var(--muted));
  border: 1px dashed hsl(var(--border));
  border-radius: 8px;

  color: hsl(var(--muted-foreground));
  font-size: 14px;
  font-weight: 500;

  cursor: pointer;
  transition: all 0.2s ease;
}

._addButton_go1j9_7:hover {
  background-color: hsl(var(--accent));
  border-color: hsl(var(--accent-foreground));
  color: hsl(var(--accent-foreground));
}

._addButton_go1j9_7:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

._plusIcon_go1j9_39 {
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
}

._addText_go1j9_45 {
  flex: 1;
  text-align: left;
}

/* Expanded state */
._expandedContainer_go1j9_51 {
  min-width: 280px;
  padding: 12px;

  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;

  display: flex;
  flex-direction: column;
  gap: 8px;
}

._input_go1j9_64 {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;

  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 6px;

  color: hsl(var(--foreground));
  font-size: 14px;
  font-family: inherit;

  transition: all 0.2s ease;
}

._input_go1j9_64:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

._input_go1j9_64:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._input_go1j9_64::-moz-placeholder {
  color: hsl(var(--muted-foreground));
}

._input_go1j9_64::placeholder {
  color: hsl(var(--muted-foreground));
}

._error_go1j9_95 {
  padding: 8px 12px;

  background-color: hsl(var(--destructive) / 0.1);
  border: 1px solid hsl(var(--destructive));
  border-radius: 6px;

  color: hsl(var(--destructive));
  font-size: 12px;
  font-weight: 500;
}

._actions_go1j9_107 {
  display: flex;
  gap: 8px;
}

._submitButton_go1j9_112 {
  flex: 1;
  min-height: 44px;
  padding: 10px 16px;

  background-color: hsl(var(--primary));
  border: none;
  border-radius: 6px;

  color: hsl(var(--primary-foreground));
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;

  cursor: pointer;
  transition: all 0.2s ease;
}

._submitButton_go1j9_112:hover:not(:disabled) {
  background-color: hsl(var(--primary) / 0.9);
}

._submitButton_go1j9_112:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._submitButton_go1j9_112:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

._cancelButton_go1j9_144 {
  min-width: 44px;
  min-height: 44px;
  padding: 0;

  background-color: transparent;
  border: 1px solid hsl(var(--border));
  border-radius: 6px;

  color: hsl(var(--muted-foreground));
  font-size: 18px;

  cursor: pointer;
  transition: all 0.2s ease;

  display: flex;
  align-items: center;
  justify-content: center;
}

._cancelButton_go1j9_144:hover:not(:disabled) {
  background-color: hsl(var(--muted));
  border-color: hsl(var(--muted-foreground));
}

._cancelButton_go1j9_144:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

._cancelButton_go1j9_144:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  ._addButton_go1j9_7,
  ._expandedContainer_go1j9_51 {
    min-width: 240px;
  }
}
._container_1w2k1_1 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  height: calc(100vh - 200px);
  min-height: 400px;
  max-width: 100%;
  overflow: visible;
  position: relative;
}

._infoBanner_1w2k1_13 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: hsl(var(--accent));
  border-radius: 8px;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
}

._infoIcon_1w2k1_24 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

._legend_1w2k1_38 {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 8px 0;
}

._legendItem_1w2k1_45 {
  display: flex;
  align-items: center;
  gap: 6px;
}

._legendColor_1w2k1_51 {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

._legendLabel_1w2k1_58 {
  font-size: 13px;
  color: hsl(var(--muted-foreground));
}

._calendarWrapper_1w2k1_63 {
  flex: 1;
  height: 600px;
  min-height: 350px;
  max-height: calc(100vh - 250px);
  border-radius: 8px;
  overflow: visible;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  position: relative;
}

/* react-big-calendar Theme Overrides - Dark mode compliance */
._calendarWrapper_1w2k1_63 .rbc-calendar {
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  height: 100%;
}

/* Toolbar */
._calendarWrapper_1w2k1_63 .rbc-toolbar {
  padding: 12px;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
}

._calendarWrapper_1w2k1_63 .rbc-toolbar button {
  background: hsl(var(--accent));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--card-foreground));
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

._calendarWrapper_1w2k1_63 .rbc-toolbar button:hover {
  background: hsl(var(--accent) / 0.8);
}

._calendarWrapper_1w2k1_63 .rbc-toolbar button:active,
._calendarWrapper_1w2k1_63 .rbc-toolbar button.rbc-active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* Month view */
._calendarWrapper_1w2k1_63 .rbc-month-view {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
}

._calendarWrapper_1w2k1_63 .rbc-header {
  background: hsl(var(--accent));
  color: hsl(var(--muted-foreground));
  padding: 8px;
  border-bottom: 1px solid hsl(var(--border));
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
}

._calendarWrapper_1w2k1_63 .rbc-month-row {
  background: hsl(var(--card));
  border-color: hsl(var(--border));
  min-height: 180px !important;     /* Increased from 120px to fit 3 cards comfortably */
  overflow: visible !important;      /* Override library's overflow: hidden */
  pointer-events: auto !important;   /* CRITICAL: Ensure drop zones can receive events */
}

._calendarWrapper_1w2k1_63 .rbc-day-bg {
  background: hsl(var(--card));
  border-color: hsl(var(--border));
  pointer-events: auto !important;   /* CRITICAL: Ensure cells can receive drop events */
}

._calendarWrapper_1w2k1_63 .rbc-off-range-bg {
  background: hsl(var(--muted) / 0.3);
}

._calendarWrapper_1w2k1_63 .rbc-today {
  background: hsl(var(--primary) / 0.1);
}

._calendarWrapper_1w2k1_63 .rbc-date-cell {
  padding: 4px 8px;                  /* Add breathing room */
  color: hsl(var(--card-foreground));
  font-size: 12px;
  position: relative;                /* Enable z-index stacking */
  z-index: 5;                        /* Above event layer (z-index: 4) */
}

/* Events - Enable drag explicitly + Better visibility */
._calendarWrapper_1w2k1_63 .rbc-event {
  cursor: move !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  touch-action: none !important;
  -webkit-user-drag: element !important;
  transition: none !important; /* Disable transitions for instant feedback */
  padding: 6px 10px !important; /* More padding for readability */
  min-height: 32px !important; /* Taller events for text visibility */
  font-size: 14px !important; /* Larger font */
  line-height: 1.5 !important;
  font-weight: 500 !important; /* Bolder text */
  border-radius: 4px;
  border: none;
  overflow: visible !important; /* Show full text */
  white-space: normal !important; /* Allow text wrapping */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important; /* Better contrast */
  pointer-events: auto !important; /* CRITICAL: Ensure events can be dragged */
}

._calendarWrapper_1w2k1_63 .rbc-event:hover {
  opacity: 0.95;
  transform: scale(1.03);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
  z-index: 10;
}

._calendarWrapper_1w2k1_63 .rbc-event-label {
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

._calendarWrapper_1w2k1_63 .rbc-event-content {
  white-space: normal !important; /* FIXED: Allow text wrapping */
  overflow: visible !important; /* FIXED: Show full text */
  text-overflow: clip !important; /* FIXED: No ellipsis */
  line-height: 1.4;
}

/* FIX 3: Remove text truncation from month view event segments */
._calendarWrapper_1w2k1_63 .rbc-row-segment .rbc-event-content {
  overflow: visible !important;      /* Override library's overflow: hidden */
  white-space: normal !important;    /* Override library's nowrap */
  text-overflow: clip !important;    /* Override library's ellipsis */
}

/* Custom Event Content Styles */
._eventContent_1w2k1_209 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

._eventTitle_1w2k1_216 {
  font-size: 13px;
  font-weight: 600;
  white-space: normal !important; /* FIXED: Allow wrapping */
  overflow: visible !important; /* FIXED: Show full text */
  line-height: 1.3;
  word-break: break-word; /* Break long words */
}

._eventColumn_1w2k1_225 {
  font-size: 10px;
  opacity: 0.85;
  white-space: normal !important; /* FIXED: Allow wrapping */
  overflow: visible !important; /* FIXED: Show full text */
  line-height: 1.2;
  font-weight: 500;
}

/* Week view */
._calendarWrapper_1w2k1_63 .rbc-time-view {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  display: flex !important;
  flex-direction: column !important;
}

/* Week View - Fix header contrast for readability */
._calendarWrapper_1w2k1_63 .rbc-time-view .rbc-header {
  background: hsl(var(--primary));         /* Strong background color */
  color: hsl(var(--primary-foreground));   /* High contrast white text */
  font-weight: 600;                        /* Bold for better readability */
  padding: 12px 8px;
}

._calendarWrapper_1w2k1_63 .rbc-time-header-content {
  background: hsl(var(--card));            /* Neutral background */
  border-left: none !important;            /* Remove left border (no gutter) */
  margin-left: 0 !important;               /* No left margin */
}

/* Week View - Hide entire time content grid (no more white horizontal lines) */
._calendarWrapper_1w2k1_63 .rbc-time-content {
  display: none !important;
}

/* Week View - Minimal time gutter (preserve layout, hide content) */
._calendarWrapper_1w2k1_63 .rbc-time-gutter {
  width: 0px !important;                   /* Zero width but exists in DOM */
  overflow: hidden !important;             /* Hide content */
  flex: 0 0 0px !important;                /* No flex growth */
}

._calendarWrapper_1w2k1_63 .rbc-time-header-gutter {
  width: 0px !important;                   /* Zero width header gutter */
  flex: 0 0 0px !important;                /* No flex growth */
}

/* Week View - Expand all-day area to use all available space */
._calendarWrapper_1w2k1_63 .rbc-allday-cell {
  min-height: 500px !important;            /* Expand to use full view height */
  flex: 1 !important;                       /* Take all remaining space */
  display: block !important;               /* Make visible */
}

/* Week View - Hide only time labels (not time slots structure) */
._calendarWrapper_1w2k1_63 .rbc-label {
  display: none !important;                /* Hide hour text labels */
}

/* Week View - Events visible in all-day area */
._calendarWrapper_1w2k1_63 .rbc-time-view .rbc-event {
  position: relative !important;           /* Override absolute positioning */
  display: block !important;               /* Ensure visibility */
  min-height: 40px !important;             /* Readable height */
  margin: 4px !important;                  /* Spacing between events */
}

._calendarWrapper_1w2k1_63 .rbc-current-time-indicator {
  background-color: hsl(var(--destructive));
}

/* Agenda view */
._calendarWrapper_1w2k1_63 .rbc-agenda-view {
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
}

._calendarWrapper_1w2k1_63 .rbc-agenda-table {
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
}

._calendarWrapper_1w2k1_63 .rbc-agenda-date-cell,
._calendarWrapper_1w2k1_63 .rbc-agenda-time-cell,
._calendarWrapper_1w2k1_63 .rbc-agenda-event-cell {
  padding: 8px;
  border-color: hsl(var(--border));
}

/* Show more link */
._calendarWrapper_1w2k1_63 .rbc-show-more {
  background: transparent;
  color: hsl(var(--primary));
  cursor: pointer;
  font-weight: 500;
  font-size: 11px;
}

._calendarWrapper_1w2k1_63 .rbc-show-more:hover {
  text-decoration: underline;
}

/* Overlay (for show more popup) */
._calendarWrapper_1w2k1_63 .rbc-overlay {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 8px;
  z-index: 10;
}

._calendarWrapper_1w2k1_63 .rbc-overlay-header {
  border-bottom: 1px solid hsl(var(--border));
  padding: 4px 8px;
  margin-bottom: 4px;
  color: hsl(var(--card-foreground));
  font-weight: 600;
}

/* Empty State */
._emptyState_1w2k1_348 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  text-align: center;
  color: hsl(var(--muted-foreground));
}

._emptyIcon_1w2k1_359 {
  font-size: 48px;
  margin-bottom: 16px;
}

._emptyState_1w2k1_348 h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: hsl(var(--foreground));
}

._emptyState_1w2k1_348 p {
  margin: 0;
  font-size: 14px;
  max-width: 300px;
}

/* Loading Skeleton */
._skeletonLoader_1w2k1_378 {
  width: 100%;
  height: 600px;
  animation: _pulse_1w2k1_1 1.5s ease-in-out infinite;
}

._skeletonHeader_1w2k1_384 {
  height: 60px;
  background: hsl(var(--border) / 0.5);
  border-radius: 4px;
  margin-bottom: 16px;
}

._skeletonGrid_1w2k1_391 {
  height: 540px;
  background: hsl(var(--border) / 0.3);
  border-radius: 4px;
}

@keyframes _pulse_1w2k1_1 {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Screen reader only utility */
._sr-only_1w2k1_403 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* CRITICAL: Force reset of drag preview when drag ends */
/* This prevents the card from visually sticking to the cursor */
._calendarWrapper_1w2k1_63 .rbc-addons-dnd-drag-preview {
  transition: opacity 0.1s ease-out !important;
}

/* Force hide drag preview on mouseup */
._calendarWrapper_1w2k1_63 .rbc-addons-dnd-is-dragging.rbc-addons-dnd-dragged-event {
  opacity: 0.5 !important; /* Make it clear that the card is being dragged */
}

/* Ensure drop zones are clearly defined */
._calendarWrapper_1w2k1_63 .rbc-addons-dnd-over {
  background-color: hsl(var(--primary) / 0.1) !important;
  transition: background-color 0.2s ease !important;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  ._calendarWrapper_1w2k1_63 .rbc-toolbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 8px;
  }

  ._calendarWrapper_1w2k1_63 .rbc-toolbar-label {
    width: 100%;
    text-align: center;
    order: -1;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  ._container_1w2k1_1 {
    padding: 8px;
    height: auto;
    min-height: calc(100vh - 150px);
  }

  ._calendarWrapper_1w2k1_63 {
    min-height: 300px;
  }

  ._calendarWrapper_1w2k1_63 .rbc-header {
    font-size: 11px;
    padding: 6px;
  }

  ._calendarWrapper_1w2k1_63 .rbc-date-cell {
    font-size: 10px;
    padding: 2px;
  }

  ._calendarWrapper_1w2k1_63 .rbc-event {
    font-size: 10px;
    padding: 1px 3px;
    min-height: 18px;
  }

  ._eventTitle_1w2k1_216 {
    font-size: 9px;
  }

  ._eventColumn_1w2k1_225 {
    font-size: 8px;
  }

  ._legend_1w2k1_38 {
    gap: 12px;
  }

  ._legendItem_1w2k1_45 {
    font-size: 12px;
  }

  ._infoBanner_1w2k1_13 {
    font-size: 13px;
  }
}
/* CalendarErrorBoundary Styles */

._errorContainer_nzhyj_3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 40px 20px;
  text-align: center;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  margin: 16px;
}

._errorIcon_nzhyj_17 {
  font-size: 64px;
  margin-bottom: 16px;
  animation: _shake_nzhyj_1 0.5s ease-in-out;
}

@keyframes _shake_nzhyj_1 {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

._errorTitle_nzhyj_29 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 600;
  color: hsl(var(--destructive));
}

._errorMessage_nzhyj_36 {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  max-width: 500px;
}

._errorActions_nzhyj_44 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

._errorButton_nzhyj_51 {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

._errorButton_nzhyj_51:hover {
  background: hsl(var(--primary) / 0.9);
  transform: translateY(-1px);
}

._errorButton_nzhyj_51:active {
  transform: translateY(0);
}

._errorButtonSecondary_nzhyj_72 {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  color: hsl(var(--foreground));
  background: hsl(var(--accent));
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

._errorButtonSecondary_nzhyj_72:hover {
  background: hsl(var(--accent) / 0.8);
  transform: translateY(-1px);
}

._errorButtonSecondary_nzhyj_72:active {
  transform: translateY(0);
}

._errorDetails_nzhyj_93 {
  margin-top: 24px;
  padding: 16px;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  max-width: 600px;
  text-align: left;
}

._errorDetails_nzhyj_93 summary {
  cursor: pointer;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 8px;
}

._errorDetails_nzhyj_93 summary:hover {
  color: hsl(var(--primary));
}

._errorStack_nzhyj_114 {
  margin: 8px 0 0;
  padding: 12px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.4;
  color: hsl(var(--destructive));
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Responsive */
@media (max-width: 768px) {
  ._errorContainer_nzhyj_3 {
    min-height: 300px;
    padding: 24px 16px;
  }

  ._errorIcon_nzhyj_17 {
    font-size: 48px;
  }

  ._errorTitle_nzhyj_29 {
    font-size: 20px;
  }

  ._errorMessage_nzhyj_36 {
    font-size: 14px;
  }

  ._errorActions_nzhyj_44 {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  ._errorButton_nzhyj_51,
  ._errorButtonSecondary_nzhyj_72 {
    width: 100%;
  }
}
._container_fhcuj_1 {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;  /* NOT 100vw - respect parent container margins (sidebar) */
  max-width: 100%;
  overflow-y: auto;  /* Allow vertical scroll if needed */
  overflow-x: visible;  /* CRITICAL: Allow horizontal scroll for board */
  background: hsl(var(--background));
}

._header_fhcuj_12 {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

._title_fhcuj_23 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: hsl(var(--foreground));
  white-space: nowrap;
}

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

._viewToggle_fhcuj_37 {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: hsl(var(--muted));
  border-radius: 8px;
}

._viewBtn_fhcuj_45 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  transition: all 0.15s ease;
}

._viewBtn_fhcuj_45:hover {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

._viewBtnActive_fhcuj_64 {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

._viewBtnLabel_fhcuj_70 {
  font-weight: 500;
}

._headerActions_fhcuj_74 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

._settingsButton_fhcuj_81 {
  padding: 8px 16px;
  background: hsl(var(--secondary));
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

._board_fhcuj_90 {
  flex: 1;
  min-height: 0; /* Critical for flexbox scroll - allows shrinking below content size */

  /* CRITICAL FIX: Remove ALL width constraints */
  /* overflow-x creates a block formatting context that sizes to content */
  overflow-x: auto;
  overflow-y: auto;
  scroll-behavior: smooth;

  /* Prevent browser navigation (partial - needs JS) */
  overscroll-behavior-x: contain;

  /* Enhanced scrollbar visibility */
  scrollbar-width: auto; /* Firefox */
  scrollbar-color: hsl(var(--muted-foreground) / 0.3) hsl(var(--muted) / 0.5); /* Firefox */
}

/* Inner wrapper to hold the actual flex layout */
/* This breaks the flexbox parent constraint for horizontal sizing */
._boardInner_fhcuj_110 {
  display: flex;
  flex-wrap: nowrap; /* Prevent column wrapping */
  gap: 16px;
  padding: 24px;
  padding-bottom: 32px; /* Prevent scrollbar overlap */
  width: -moz-fit-content;
  width: fit-content; /* Size to content */
  min-height: 100%; /* Fill parent height */
}

/* Webkit browsers (Chrome, Safari, Edge) - visible scrollbar */
._board_fhcuj_90::-webkit-scrollbar {
  height: 14px;
  width: 14px;
}

._board_fhcuj_90::-webkit-scrollbar-track {
  background: hsl(var(--muted) / 0.5);
  border-radius: 0; /* Square for better visibility */
}

._board_fhcuj_90::-webkit-scrollbar-thumb {
  background: hsl(var(--muted-foreground) / 0.5);
  border-radius: 7px;
  border: 3px solid hsl(var(--muted) / 0.5);
}

._board_fhcuj_90::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--muted-foreground) / 0.7);
}

/* Always show scrollbar on webkit */
._board_fhcuj_90::-webkit-scrollbar-button {
  display: none;
}

._dragging_fhcuj_146 {
  opacity: 0.8;
  transform: rotate(2deg);
}

._dragOverlay_fhcuj_151 {
  cursor: grabbing;
  opacity: 0.9;
  box-shadow: 0 8px 16px hsl(var(--foreground) / 0.2);
  transform: rotate(3deg);
}

/* Dragging state for cards (@dnd-kit) */
._sortable-card-dragging_fhcuj_159 {
  opacity: 0.5;
  cursor: grabbing;
}

/* Normal card state (@dnd-kit) */
._sortable-card_fhcuj_159 {
  cursor: grab;
}

/* Column drag-over state (@dnd-kit) */
._draggingOver_fhcuj_170 {
  background-color: hsl(var(--primary) / 0.05);
  border: 2px dashed hsl(var(--primary) / 0.3);
  transition: background-color 0.2s ease;
}

/* Accessibility: Focus visible (@dnd-kit) */
._sortable-card_fhcuj_159:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
  border-radius: 4px;
}

/* Keyboard grab state (@dnd-kit) */
._sortable-card_fhcuj_159[aria-pressed="true"] {
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.2);
  transform: scale(1.02);
  transition: transform 0.1s ease;
}

/* Loading skeleton */
._skeleton_fhcuj_191 {
  padding: 24px;
}

._skeletonHeader_fhcuj_195 {
  height: 60px;
  background: hsl(var(--muted));
  border-radius: 8px;
  margin-bottom: 24px;
  animation: _pulse_fhcuj_1 1.5s infinite;
}

._skeletonBoard_fhcuj_203 {
  display: flex;
  gap: 16px;
}

._skeletonColumn_fhcuj_208 {
  flex: 1;
  min-width: 300px;
  height: 600px;
  background: hsl(var(--muted));
  border-radius: 8px;
  animation: _pulse_fhcuj_1 1.5s infinite;
}

@keyframes _pulse_fhcuj_1 {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Error state */
._error_fhcuj_223 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  text-align: center;
}

._error_fhcuj_223 button {
  margin-top: 16px;
  padding: 12px 24px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  ._header_fhcuj_12 {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  ._headerLeft_fhcuj_31 {
    width: 100%;
    flex-wrap: wrap;
  }

  ._viewToggle_fhcuj_37 {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  ._viewBtnLabel_fhcuj_70 {
    display: none;
  }

  ._headerActions_fhcuj_74 {
    width: 100%;
    flex-direction: column;
  }

  ._board_fhcuj_90 {
    padding: 16px;
    gap: 12px;
  }
}
