/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

b,
strong {
  font-weight: bolder;
}

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

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

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

small {
  font-size: 80%;
}

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

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

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

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

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

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

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

button,
select {
  text-transform: none;
}

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

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

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

:-moz-focusring {
  outline: auto;
}

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

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

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

progress {
  vertical-align: baseline;
}

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

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

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

[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;
}
.visible {
  visibility: visible;
}
.static {
  position: static;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.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-0 {
  margin-top: 0px !important;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.block {
  display: block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.w-full {
  width: 100%;
}
.w-16 {
  width: 4rem;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-\[10rem\] {
  min-width: 10rem;
}
.min-w-\[12rem\] {
  min-width: 12rem;
}
.min-w-\[8rem\] {
  min-width: 8rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-xl {
  max-width: 36rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.shrink-0 {
  flex-shrink: 0;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-1 {
  gap: 0.25rem;
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.overflow-visible {
  overflow: visible;
}
.overflow-x-auto {
  overflow-x: auto;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.border {
  border-width: 1px;
}
.border-\[var\(--border\)\] {
  border-color: var(--border);
}
.border-line {
  --tw-border-opacity: 1;
  border-color: rgb(235 230 242 / var(--tw-border-opacity, 1));
}
.border-warn\/40 {
  border-color: rgb(245 158 11 / 0.4);
}
.bg-accent {
  --tw-bg-opacity: 1;
  background-color: rgb(91 45 142 / var(--tw-bg-opacity, 1));
}
.bg-mist {
  --tw-bg-opacity: 1;
  background-color: rgb(243 239 248 / var(--tw-bg-opacity, 1));
}
.bg-mist\/50 {
  background-color: rgb(243 239 248 / 0.5);
}
.bg-warn\/10 {
  background-color: rgb(245 158 11 / 0.1);
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.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-\[10px\] {
  font-size: 10px;
}
.text-\[11px\] {
  font-size: 11px;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-medium {
  font-weight: 500;
}
.font-normal {
  font-weight: 400;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.normal-case {
  text-transform: none;
}
.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}
.tracking-normal {
  letter-spacing: 0em;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.text-accent {
  --tw-text-opacity: 1;
  color: rgb(91 45 142 / var(--tw-text-opacity, 1));
}
.text-ink {
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
}
.text-muted {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
.text-paper {
  --tw-text-opacity: 1;
  color: rgb(248 250 252 / var(--tw-text-opacity, 1));
}
.text-warn {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}
.underline {
  text-decoration-line: underline;
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

:root {
  --bg: #f7f5fb;
  --bg-sidebar: #ffffff;
  --bg-card: #ffffff;
  --bg-secondary: #f3eff8;
  --text-main: #2a2140;
  --text-muted: #7c7390;
  --primary: #5b2d8e;
  --primary-hover: #4a2474;
  --primary-soft: rgba(91, 45, 142, 0.1);
  --border: #ebe6f2;
  --success: #059669;
  --success-bg: rgba(5, 150, 105, 0.1);
  --warning: #d97706;
  --lime: #b6f000;
  --purple: #5b2d8e;
  --font-display: "IBM Plex Sans", Inter, system-ui, sans-serif;
  --sidebar-width: 232px;
  --hover-bg: rgba(91, 45, 142, 0.05);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-main);
  font-family: "IBM Plex Sans", Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  width: var(--sidebar-width);
  flex-direction: column;
  border-right: 1px solid var(--border);
  background: var(--bg-sidebar);
}

.brand {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1rem 1rem;
  background: var(--bg-sidebar);
}

.brand-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  line-height: 1.1;
}

.brand-mark {
  color: var(--primary);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-sub {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.75;
}

.sidebar-pin {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--text-muted);
  width: 1.7rem;
  height: 1.7rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.sidebar-pin:hover {
  color: var(--primary);
  border-color: #d9d0e8;
}

.nav-label-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.nav-caret {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-open-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  color: var(--primary);
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.app-shell.sidebar-collapsed .sidebar {
  width: 72px;
}

.app-shell.sidebar-collapsed .shell-main {
  margin-left: 72px;
}

.app-shell.sidebar-collapsed .brand-sub,
.app-shell.sidebar-collapsed .nav-text,
.app-shell.sidebar-collapsed .nav-label,
.app-shell.sidebar-collapsed .sidebar-footer-full,
.app-shell.sidebar-collapsed .user-info {
  display: none;
}

.app-shell.sidebar-collapsed .brand-mark {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.app-shell.sidebar-collapsed .nav-item {
  justify-content: center;
  padding: 0.65rem 0.35rem;
}

.app-shell.sidebar-collapsed .nav-icon {
  width: auto;
  font-size: 1rem;
}

.app-shell.sidebar-collapsed .user-profile {
  justify-content: center;
}

.app-shell.sidebar-collapsed .sidebar-footer {
  padding: 0.75rem 0.4rem;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.15rem 0.25rem;
}

.pager-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.pager-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.pager-size {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.pager-size select {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  padding: 0.25rem 0.4rem;
  color: var(--text-main);
}

.pager-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  padding: 0.35rem 0.75rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.pager-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pager-page {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.brand-logo-img {
  width: 168px;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.nav-section {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: 0.85rem;
}

.nav-label {
  padding: 0 0.65rem 0.4rem;
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem 0.75rem;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 8px;
  border-left: none;
  padding: 0.55rem 0.7rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-icon {
  width: 1.1rem;
  color: inherit;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.85;
}

.nav-item:hover {
  background: var(--hover-bg);
  color: var(--primary);
}

.nav-item.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

.shell-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.75rem 0.35rem;
}

.breadcrumb {
  margin: 0;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 500;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
}

.route-chip {
  display: inline-block;
  margin-left: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-secondary);
  padding: 0.1rem 0.55rem;
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  vertical-align: middle;
}

.topbar-bell {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
}

.main-content {
  flex: 1;
  margin-left: 0;
  min-width: 0;
  padding: 0.5rem 1.75rem 2.5rem;
}

.auth-layout {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(109, 40, 217, 0.12), transparent),
    linear-gradient(180deg, #f7f5fb 0%, #efebf7 100%);
}

.sidebar-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 1.05rem;
  background: #fbfafd;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.user-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.page-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.page-kicker {
  margin: 0 0 0.35rem;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-title {
  margin: 0 0 0.3rem;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.page-subtitle {
  margin: 0;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--primary);
  padding: 0.6rem 1.15rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-pill {
  border-radius: 999px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  padding: 0.55rem 0.95rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
}

.btn-ghost:hover {
  color: var(--primary);
  border-color: #d9d0e8;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 0.55rem 1.1rem;
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.btn-secondary:hover {
  border-color: #cbd5e1;
  background: var(--bg-secondary);
  color: var(--text-main);
}

.card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-card);
}

.field {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
  padding: 0.55rem 0.75rem;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
  padding: 0.3rem 0.7rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.chip:hover {
  border-color: #cbd5e1;
  color: var(--text-main);
}

.chip.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

.badge-ok {
  display: inline-block;
  border-radius: 999px;
  background: var(--success-bg);
  padding: 0.2rem 0.55rem;
  color: var(--success);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-warn {
  display: inline-block;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.12);
  padding: 0.2rem 0.55rem;
  color: var(--warning);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-sent {
  display: inline-block;
  border-radius: 999px;
  background: var(--primary-soft);
  padding: 0.2rem 0.55rem;
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.snap-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.snap-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.snap-page-title {
  margin: 0;
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.snap-page-meta {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.snap-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.snap-alert {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  padding: 0.4rem 0.85rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
}

.filter-pill:hover {
  border-color: #d9d0e8;
  color: var(--primary);
}

.snap-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
}

.snap-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 960px;
}

.snap-table th {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: lowercase;
  white-space: nowrap;
}

.snap-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 0.88rem;
}

.snap-table tbody tr:hover {
  background: #fcfaff;
}

.snap-table tbody tr:last-child td {
  border-bottom: none;
}

.cell-sub {
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.cell-strong {
  color: var(--text-main);
  font-weight: 600;
}

.cell-items {
  max-width: 14rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.origin-row {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.origin-glyph {
  display: inline-flex;
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--bg-secondary);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
}

.origin-wa {
  background: rgba(37, 211, 102, 0.15);
  color: #128c7e;
}

.origin-scan {
  background: rgba(249, 115, 22, 0.15);
  color: #c2410c;
}

.origin-mail {
  background: rgba(91, 45, 142, 0.12);
  color: var(--primary);
}

.origin-label {
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: lowercase;
}

.status-pill {
  display: inline-block;
  border-radius: 999px;
  background: var(--primary-soft);
  padding: 0.22rem 0.65rem;
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.status-sent,
.status-approved {
  background: var(--primary-soft);
  color: var(--primary);
}

.status-draft,
.status-ready,
.status-pending {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
}

.status-rejected,
.status-expired {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
}

.sla-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.sla-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #c4b5d6;
}

.confidence-track {
  width: 4.5rem;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece7f3;
}

.confidence-bar {
  height: 4px;
  max-width: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #a78bfa, var(--primary));
}

.row-menu {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.quote-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  border-bottom: 1px solid var(--border);
}

.quote-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 0.65rem 0.9rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: -1px;
}

.quote-tab:hover {
  color: var(--text-main);
}

.quote-tab.active {
  border-bottom-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}

.quote-tab-count {
  min-width: 1.25rem;
  border-radius: 3px;
  background: var(--bg-secondary);
  padding: 0.05rem 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
}

.quote-tab.active .quote-tab-count {
  background: var(--primary-soft);
  color: var(--primary);
}

.quote-number-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.quote-number-link:hover {
  text-decoration: underline;
}

.origin-chip {
  display: inline-block;
  border-radius: 3px;
  padding: 0.12rem 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  background: var(--bg-secondary);
  color: var(--text-muted);
}

.origin-whatsapp {
  background: rgba(5, 150, 105, 0.12);
  color: #047857;
}

.origin-email {
  background: rgba(29, 78, 216, 0.1);
  color: #1d4ed8;
}

.origin-escaneo {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
}

.origin-snippet {
  margin-top: 0.25rem;
  max-width: 14rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.confidence {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 7rem;
}

.confidence span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* —— Formal quote document (print / detail) —— */
.quote-doc {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04), 0 12px 40px rgba(15, 23, 42, 0.06);
  padding: 2.25rem 2.5rem 2rem;
}

.quote-doc-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--text-main);
}

.quote-doc-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
}

.quote-doc-brand-sub {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.quote-doc-meta {
  text-align: right;
}

.quote-doc-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.quote-doc-number {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.1;
}

.quote-doc-dates {
  margin: 0 0 0.55rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.quote-doc-status {
  display: inline-block;
  border: 1px solid rgba(29, 78, 216, 0.25);
  border-radius: 3px;
  background: rgba(29, 78, 216, 0.08);
  padding: 0.2rem 0.55rem;
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.quote-doc-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.35rem 0 1.5rem;
}

.quote-party {
  border: 1px solid var(--border);
  padding: 0.95rem 1.05rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.quote-party-de {
  background: #f1f5f9;
}

.quote-party-para {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.quote-party-label {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.quote-party-name {
  margin: 0 0 0.25rem;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
}

.quote-party-note {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.quote-doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.quote-doc-table th {
  background: var(--text-main);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 0.75rem;
  text-align: left;
}

.quote-doc-table th:nth-child(n + 3) {
  text-align: right;
}

.quote-doc-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-main);
}

.quote-doc-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.quote-doc-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.quote-doc-table tr.missing td {
  color: #b91c1c;
}

.quote-line-miss {
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.quote-doc-totals {
  margin: 1.5rem 0 0 auto;
  width: min(240px, 100%);
}

.quote-total-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.quote-total-row.grand {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1.5px solid var(--text-main);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.quote-doc-warn {
  margin-top: 1.5rem;
  border: 1px solid #fcd34d;
  background: #fef3c7;
  color: #92400e;
  padding: 0.7rem 0.9rem;
  font-size: 0.78rem;
  line-height: 1.4;
}

.quote-doc-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.72rem;
}

.quote-doc-footer-hint {
  margin-top: 0.25rem;
  font-size: 0.68rem;
}

.quote-doc-qr {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .quote-doc {
    padding: 1.25rem 1rem 1.5rem;
  }

  .quote-doc-header {
    flex-direction: column;
  }

  .quote-doc-meta {
    text-align: left;
  }

  .quote-doc-parties {
    grid-template-columns: 1fr;
  }
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.data-table th {
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.data-table tbody tr:hover {
  background: var(--hover-bg);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.rise,
.rise-delay,
.store-tile {
  animation: fade-in 0.35s ease-out both;
}

.rise-delay {
  animation-delay: 0.06s;
}

@media (max-width: 900px) {
  .sidebar {
    position: sticky;
    inset: auto;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .app-shell {
    flex-direction: column;
  }

  .nav-menu {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0.65rem 0.85rem 1rem;
  }

  .nav-item {
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
  }

  .nav-item.active {
    border-bottom-color: var(--primary);
    border-left-color: transparent;
  }

  .sidebar-footer {
    display: none;
  }

  .main-content {
    margin-left: 0;
    padding: 1.15rem 1rem 2rem;
  }

  .shell-main {
    margin-left: 0;
  }

  .brand {
    padding: 0.85rem 1rem;
  }

  .brand-logo-img {
    width: 132px;
  }
}

/* Catalog autocomplete (Siigo mirror index) */
.catalog-search-form.card {
  overflow: visible;
  position: relative;
  z-index: 5;
}

.catalog-ac {
  position: relative;
  width: 100%;
  z-index: 6;
}

.catalog-ac-list {
  position: absolute;
  z-index: 50;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  max-height: 18rem;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-card, #fff);
  box-shadow: 0 12px 28px rgba(40, 20, 60, 0.12);
}

.catalog-ac-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  width: 100%;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  padding: 0.55rem 0.7rem;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.catalog-ac-item:hover,
.catalog-ac-item.is-active {
  background: var(--hover-bg, #f5f0fb);
}

.catalog-ac-sku {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary, #6b3fa0);
}

.catalog-ac-name {
  font-size: 0.84rem;
  color: var(--ink, #1a1325);
  line-height: 1.25;
}

.catalog-ac-empty {
  padding: 0.7rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hover\:border-accent:hover {
  --tw-border-opacity: 1;
  border-color: rgb(91 45 142 / var(--tw-border-opacity, 1));
}

.hover\:text-accent:hover {
  --tw-text-opacity: 1;
  color: rgb(91 45 142 / var(--tw-text-opacity, 1));
}

.hover\:text-warn:hover {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.disabled\:opacity-60:disabled {
  opacity: 0.6;
}

.group:hover .group-hover\:text-accent {
  --tw-text-opacity: 1;
  color: rgb(91 45 142 / var(--tw-text-opacity, 1));
}

@media (min-width: 640px) {

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

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

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

  .sm\:items-end {
    align-items: flex-end;
  }
}

@media (min-width: 1024px) {

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

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

