*, ::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: Nunito, 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;
}

input:where([type='text']),input:where(:not([type])),input:where([type='email']),input:where([type='url']),input:where([type='password']),input:where([type='number']),input:where([type='date']),input:where([type='datetime-local']),input:where([type='month']),input:where([type='search']),input:where([type='tel']),input:where([type='time']),input:where([type='week']),select:where([multiple]),textarea,select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0px;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 0 #0000;
}

input:where([type='text']):focus, input:where(:not([type])):focus, input:where([type='email']):focus, input:where([type='url']):focus, input:where([type='password']):focus, input:where([type='number']):focus, input:where([type='date']):focus, input:where([type='datetime-local']):focus, input:where([type='month']):focus, input:where([type='search']):focus, input:where([type='tel']):focus, input:where([type='time']):focus, input:where([type='week']):focus, select:where([multiple]):focus, textarea:focus, select:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  border-color: #2563eb;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  color: #6b7280;
  opacity: 1;
}

input::placeholder,textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: inherit;
}

::-webkit-datetime-edit {
  display: inline-flex;
}

::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field {
  padding-top: 0;
  padding-bottom: 0;
}

select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
}

select:where([multiple]),select:where([size]:not([size="1"])) {
  background-image: initial;
  background-position: initial;
  background-repeat: unset;
  background-size: initial;
  padding-right: 0.75rem;
  -webkit-print-color-adjust: unset;
          print-color-adjust: unset;
}

input:where([type='checkbox']),input:where([type='radio']) {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
  display: inline-block;
  vertical-align: middle;
  background-origin: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
  height: 1rem;
  width: 1rem;
  color: #2563eb;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  --tw-shadow: 0 0 #0000;
}

input:where([type='checkbox']) {
  border-radius: 0px;
}

input:where([type='radio']) {
  border-radius: 100%;
}

input:where([type='checkbox']):focus,input:where([type='radio']):focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}

input:where([type='checkbox']):checked,input:where([type='radio']):checked {
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

input:where([type='checkbox']):checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

@media (forced-colors: active)  {

  input:where([type='checkbox']):checked {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}

input:where([type='radio']):checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

@media (forced-colors: active)  {

  input:where([type='radio']):checked {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}

input:where([type='checkbox']):checked:hover,input:where([type='checkbox']):checked:focus,input:where([type='radio']):checked:hover,input:where([type='radio']):checked:focus {
  border-color: transparent;
  background-color: currentColor;
}

input:where([type='checkbox']):indeterminate {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

@media (forced-colors: active)  {

  input:where([type='checkbox']):indeterminate {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}

input:where([type='checkbox']):indeterminate:hover,input:where([type='checkbox']):indeterminate:focus {
  border-color: transparent;
  background-color: currentColor;
}

input:where([type='file']) {
  background: unset;
  border-color: inherit;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-size: unset;
  line-height: inherit;
}

input:where([type='file']):focus {
  outline: 1px solid ButtonText;
  outline: 1px auto -webkit-focus-ring-color;
}
.collapse {
  visibility: collapse;
}
.fixed {
  position: fixed;
}
.relative {
  position: relative;
}
.right-0 {
  right: 0px;
}
.top-0 {
  top: 0px;
}
.z-0 {
  z-index: 0;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.-ml-px {
  margin-left: -1px;
}
.-mt-px {
  margin-top: -1px;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.ml-12 {
  margin-left: 3rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-3 {
  margin-left: 0.75rem;
}
.ml-4 {
  margin-left: 1rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.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;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-16 {
  height: 4rem;
}
.h-20 {
  height: 5rem;
}
.h-5 {
  height: 1.25rem;
}
.h-8 {
  height: 2rem;
}
.min-h-screen {
  min-height: 100vh;
}
.w-20 {
  width: 5rem;
}
.w-5 {
  width: 1.25rem;
}
.w-8 {
  width: 2rem;
}
.w-auto {
  width: auto;
}
.w-full {
  width: 100%;
}
.min-w-full {
  min-width: 100%;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-xl {
  max-width: 36rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.border-collapse {
  border-collapse: collapse;
}
.cursor-default {
  cursor: default;
}
.list-inside {
  list-style-position: inside;
}
.list-disc {
  list-style-type: disc;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-2 {
  gap: 0.5rem;
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
.overflow-hidden {
  overflow: hidden;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-l-md {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}
.rounded-r-md {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}
.border {
  border-width: 1px;
}
.border-r {
  border-right-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
.border-gray-400 {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}
.border-transparent {
  border-color: transparent;
}
.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.bg-gray-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.bg-green-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
}
.bg-indigo-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(224 231 255 / var(--tw-bg-opacity, 1));
}
.bg-indigo-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1));
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.fill-current {
  fill: currentColor;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.pt-6 {
  padding-top: 1.5rem;
}
.pt-8 {
  padding-top: 2rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.italic {
  font-style: italic;
}
.leading-5 {
  line-height: 1.25rem;
}
.leading-7 {
  line-height: 1.75rem;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.tracking-widest {
  letter-spacing: 0.1em;
}
.text-gray-200 {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}
.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}
.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}
.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.text-green-600 {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}
.text-green-800 {
  --tw-text-opacity: 1;
  color: rgb(22 101 52 / var(--tw-text-opacity, 1));
}
.text-indigo-700 {
  --tw-text-opacity: 1;
  color: rgb(67 56 202 / var(--tw-text-opacity, 1));
}
.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.underline {
  text-decoration-line: underline;
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.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-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);
}
.ring-gray-300 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1));
}
.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;
}
.duration-150 {
  transition-duration: 150ms;
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[x-cloak] {
    display: none !important;
}

:root {
    --bg: #081120;
    --surface: #0E1726;
    --surface-soft: #111D30;
    --sidebar: #101a2d;
    --border: rgba(255,255,255,0.08);
    --text-primary: #F5F9FF;
    --text-secondary: #94A3B8;
    --text-muted: #7C8CA5;
    --primary: #4F7CFF;
    --primary-hover: #3D6AF2;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #38BDF8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background:
        radial-gradient(circle at top, rgba(79,124,255,.16), transparent 28%),
        linear-gradient(180deg, #081120 0%, #091423 100%);
    color: var(--text-primary);
}

.auth-page {
    min-height: 100vh;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(79,124,255,.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(56,189,248,.08), transparent 30%),
        linear-gradient(180deg, #081120 0%, #091423 100%);
}

.auth-shell {
    width: 100%;
    max-width: 1180px;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    overflow: hidden;
    border-radius: 32px;
    background: #0E1726;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 24px 60px rgba(2,6,23,.34);
}

.auth-panel {
    min-width: 0;
}

.auth-panel-form {
    padding: 48px 44px;
    background: rgba(14,23,38,.96);
}

.auth-panel-copy {
    padding: 52px 48px;
    background:
        radial-gradient(circle at top right, rgba(125,211,252,.15), transparent 28%),
        linear-gradient(135deg, #2444a3 0%, #3163e8 100%);
}

.auth-brand {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo {
    width: 184px;
    max-width: 100%;
    margin: 0 auto 18px;
    display: block;
}

.auth-brand-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -.03em;
}

.auth-brand-subtitle {
    margin: 10px 0 0;
    color: #94A3B8;
    font-size: .98rem;
}

.auth-status-message,
.auth-error-message {
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.auth-status-message {
    background: rgba(34,197,94,.10);
    border: 1px solid rgba(34,197,94,.18);
    color: #86EFAC;
}

.auth-error-message {
    background: rgba(239,68,68,.10);
    border: 1px solid rgba(239,68,68,.18);
    color: #FDA4AF;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-field {
    display: flex;
    flex-direction: column;
}

.auth-label {
    margin-bottom: 10px;
    color: #D8E1F0;
    font-size: 13px;
    font-weight: 700;
}

.auth-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: #111D30;
    color: #F5F9FF;
    font-size: 14px;
    outline: none;
    transition: .2s ease;
}

.auth-input:focus {
    border-color: rgba(79,124,255,.45);
    box-shadow: 0 0 0 4px rgba(79,124,255,.10);
}

.auth-submit {
    margin-top: 6px;
    width: 100%;
    padding: 15px 18px;
    border: 1px solid #4F7CFF;
    border-radius: 18px;
    background: #4F7CFF;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

.auth-submit:hover {
    background: #3D6AF2;
    border-color: #3D6AF2;
}

.auth-footnote {
    margin: 24px 0 0;
    text-align: center;
    color: #7C8CA5;
    font-size: 12px;
}

.auth-kicker {
    margin: 0 0 12px;
    color: rgba(255,255,255,.70);
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 700;
}

.auth-copy-title {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(2rem, 3vw, 3.25rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.03em;
}

.auth-copy-text {
    margin: 20px 0 0;
    color: rgba(236,244,255,.86);
    font-size: 1.05rem;
    line-height: 1.8;
}

.auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 14px;
}

.auth-feature-list li {
    position: relative;
    padding-left: 28px;
    color: rgba(255,255,255,.92);
    font-size: 15px;
    font-weight: 600;
}

.auth-feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.85);
    box-shadow: 0 0 0 5px rgba(255,255,255,.12);
}

.auth-quote {
    margin: 34px 0 0;
    color: rgba(219,234,254,.92);
    font-size: 1rem;
    font-style: italic;
}

.app-shell {
    min-height: 100vh;
    display: flex;
}

.app-sidebar {
    width: 320px;
    background:
        radial-gradient(circle at top right, rgba(79,124,255,.18), transparent 30%),
        linear-gradient(180deg, #101a2d 0%, #0b1526 100%);
    border-right: 1px solid rgba(255,255,255,.06);
    padding: 26px 18px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    box-shadow: inset -1px 0 0 rgba(255,255,255,.03);
}

.app-brand {
    padding: 0 14px 26px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 22px;
}

.app-brand-overline {
    display: none;
}

.app-brand-title {
    margin: 0;
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.03em;
    color: #FFFFFF;
}

.app-brand-subtitle {
    margin: 10px 0 0;
    font-size: 16px;
    color: #8fa2c0;
    font-weight: 500;
}

.app-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.app-nav-divider {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: 22px 10px 18px;
}

.app-nav-label {
    padding: 0 12px 8px;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #7c8ca5;
    font-weight: 500;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    min-height: 54px;
    border-radius: 16px;
    color: #d8e1f0;
    text-decoration: none;
    border: 1px solid transparent;
    transition: .2s ease;
}

.sidebar-link:hover {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.06);
    color: #fff;
}

.sidebar-link.is-active {
    background: linear-gradient(135deg, rgba(79,124,255,.22), rgba(79,124,255,.10));
    border-color: rgba(79,124,255,.22);
    box-shadow: 0 12px 30px rgba(2,6,23,.18);
    color: #fff;
}

.sidebar-link-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #a9bbd8;
    flex-shrink: 0;
}

.sidebar-link.is-active .sidebar-link-icon,
.sidebar-link:hover .sidebar-link-icon {
    color: #ffffff;
}

.sidebar-link-label {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.app-user {
    margin-top: 18px;
    padding: 16px 14px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

.app-user-role {
    font-size: 13px;
    color: #8fa2c0;
    margin-bottom: 6px;
}

.app-user-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.app-user-logout {
    margin-top: 14px;
    padding: 0;
    background: transparent;
    border: 0;
    color: #ff8f8f;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.app-user-logout:hover {
    color: #ffb0b0;
}

.app-main {
    flex: 1;
    min-width: 0;
}

.mobile-topbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(8,17,32,.88);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 30;
}

.mobile-topbar-label {
    margin: 0 0 2px;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
}

.mobile-topbar-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.mobile-toggle {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.03);
    color: #D8E1F0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.app-content {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 24px;
}

/* Dashboard */

.dashboard-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-header,
.dashboard-card,
.dashboard-panel,
.dashboard-table-panel {
    background: #0E1726;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(2,6,23,.26);
}

.dashboard-header {
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.dashboard-eyebrow {
    margin: 0 0 8px;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 700;
}

.dashboard-title {
    margin: 0;
    font-size: 36px;
    line-height: 1.1;
    color: #F5F9FF;
    font-weight: 800;
}

.dashboard-subtitle {
    margin: 10px 0 0;
    color: #94A3B8;
    font-size: 15px;
}

.dashboard-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 13px 18px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
}

.dashboard-btn-secondary {
    background: rgba(255,255,255,.03);
    color: #D8E1F0;
    border: 1px solid rgba(255,255,255,.08);
}

.dashboard-btn-secondary:hover {
    background: rgba(79,124,255,.10);
    border-color: rgba(79,124,255,.24);
    color: #fff;
}

.dashboard-btn-primary {
    background: #4F7CFF;
    color: #fff;
    border: 1px solid #4F7CFF;
}

.dashboard-btn-primary:hover {
    background: #3D6AF2;
    border-color: #3D6AF2;
}

.dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-card {
    padding: 20px 22px;
    min-height: 160px;
}

.dashboard-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.dashboard-card-label {
    margin: 0;
    color: #94A3B8;
    font-size: 14px;
    font-weight: 500;
}

.dashboard-card-value {
    margin: 14px 0 0;
    color: #F5F9FF;
    font-size: 42px;
    font-weight: 800;
}

.dashboard-card-note {
    margin: 14px 0 0;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
}

.dashboard-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(79,124,255,.18);
    background: rgba(79,124,255,.10);
    color: #93B4FF;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 700;
}

.dashboard-grid-main,
.dashboard-grid-ops,
.dashboard-grid-secondary {
    display: grid;
    gap: 24px;
}

.dashboard-grid-main { grid-template-columns: minmax(0,1.55fr) minmax(320px,.85fr); }
.dashboard-grid-ops { grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); }
.dashboard-grid-secondary { grid-template-columns: repeat(2, minmax(0,1fr)); }

.dashboard-panel-header { padding: 24px 26px 0; }

.dashboard-panel-title {
    margin: 0;
    color: #F5F9FF;
    font-size: 24px;
    font-weight: 800;
}

.dashboard-panel-subtitle {
    margin: 8px 0 0;
    color: #94A3B8;
    font-size: 14px;
}

.dashboard-panel-body { padding: 22px 26px 26px; }

.dashboard-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}

.dashboard-quick-item,
.dashboard-lot-item,
.dashboard-worker-item,
.dashboard-alert-item {
    background: #111D30;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
}

.dashboard-quick-item { padding: 18px; }

.dashboard-quick-label {
    margin: 0;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
}

.dashboard-quick-value {
    margin: 12px 0 0;
    color: #F5F9FF;
    font-size: 30px;
    font-weight: 800;
}

.dashboard-quick-value.compact { font-size: 22px; }

.dashboard-quick-note {
    margin: 10px 0 0;
    color: #94A3B8;
    font-size: 13px;
}

.dashboard-lot-list,
.dashboard-worker-list,
.dashboard-alert-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dashboard-pager {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-pager.panel-pager {
    padding: 0 26px 24px;
}

.dashboard-pager-meta {
    color: #8FA4C7;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.dashboard-pager-link {
    min-width: 112px;
    padding: 10px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: #111D30;
    color: #D8E1F0;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: .2s ease;
}

.dashboard-pager-link:hover {
    border-color: rgba(79,124,255,.35);
    background: rgba(79,124,255,.12);
    color: #F5F9FF;
}

.dashboard-pager-link.is-disabled {
    opacity: .45;
    cursor: not-allowed;
}

.dashboard-panel.is-loading,
.dashboard-table-panel.is-loading {
    opacity: .58;
    pointer-events: none;
    transition: opacity .2s ease;
}

.dashboard-lot-item { padding: 20px; }

.dashboard-lot-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.dashboard-lot-code {
    margin: 0;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .20em;
    text-transform: uppercase;
    font-weight: 700;
}

.dashboard-lot-model {
    margin: 10px 0 0;
    color: #F5F9FF;
    font-size: 20px;
    font-weight: 700;
}

.dashboard-lot-date {
    margin: 8px 0 0;
    color: #94A3B8;
    font-size: 14px;
}

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    white-space: nowrap;
}

.badge-info { background: rgba(56,189,248,.10); border-color: rgba(56,189,248,.2); color: #7DD3FC; }
.badge-success { background: rgba(34,197,94,.10); border-color: rgba(34,197,94,.2); color: #86EFAC; }
.badge-warning { background: rgba(245,158,11,.10); border-color: rgba(245,158,11,.2); color: #FCD34D; }
.badge-danger { background: rgba(239,68,68,.10); border-color: rgba(239,68,68,.2); color: #FDA4AF; }

.dashboard-progress-row {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    color: #94A3B8;
    font-size: 14px;
}

.dashboard-progress {
    height: 10px;
    margin-top: 10px;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    overflow: hidden;
}

.dashboard-progress > span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #4F7CFF 0%, #38BDF8 100%);
    transition: width .35s ease;
}

.dashboard-lot-stats {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}

.dashboard-lot-stat {
    padding: 14px;
    border-radius: 18px;
    background: #0E1726;
    border: 1px solid rgba(255,255,255,.08);
}

.dashboard-lot-stat-label {
    margin: 0;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
}

.dashboard-lot-stat-value {
    margin: 10px 0 0;
    color: #F5F9FF;
    font-size: 18px;
    font-weight: 700;
}

.dashboard-table-wrap { overflow-x: auto; }

.dashboard-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.dashboard-table thead th {
    padding: 18px 26px;
    text-align: left;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.dashboard-table th.text-center { text-align: center; }

.dashboard-table tbody td {
    padding: 20px 26px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    vertical-align: top;
    color: #D8E1F0;
    font-size: 14px;
}

.dashboard-table tbody tr:last-child td { border-bottom: none; }

.dashboard-table-name {
    margin: 0;
    color: #F5F9FF;
    font-size: 15px;
    font-weight: 700;
}

.dashboard-table-subtext {
    margin: 6px 0 0;
    color: #94A3B8;
    font-size: 12px;
}

.dashboard-table-number {
    text-align: center;
    font-weight: 800;
    font-size: 18px;
}

.number-good { color: #86EFAC; }
.number-bad { color: #FCA5A5; }
.number-pending { color: #FCD34D; }

.dashboard-progress-cell { width: 150px; }
.dashboard-progress-cell .dashboard-progress { margin-top: 0; height: 8px; }

.dashboard-progress-text {
    margin: 8px 0 0;
    color: #D8E1F0;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-table-empty {
    text-align: center;
    color: #94A3B8;
}

.dashboard-date-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 16px;
    background: #111D30;
    border: 1px solid rgba(255,255,255,.08);
    font-size: 12px;
    font-weight: 700;
    color: #D8E1F0;
}

.dashboard-worker-item { padding: 16px 18px; }

.dashboard-worker-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.dashboard-rank {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(79,124,255,.2);
    background: rgba(79,124,255,.10);
    color: #A9C2FF;
    font-weight: 800;
    flex-shrink: 0;
}

.dashboard-worker-head { display: flex; align-items: center; gap: 14px; }

.dashboard-worker-name {
    margin: 0;
    color: #F5F9FF;
    font-size: 15px;
    font-weight: 700;
}

.dashboard-worker-meta {
    margin: 5px 0 0;
    color: #94A3B8;
    font-size: 12px;
}

.dashboard-worker-total {
    color: #F5F9FF;
    font-size: 22px;
    font-weight: 800;
}

.dashboard-worker-progress { margin-top: 14px; }

.dashboard-alert-item {
    padding: 16px 18px;
    display: flex;
    gap: 14px;
}

.dashboard-alert-icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 800;
}

.dashboard-alert-icon.is-danger {
    background: rgba(239,68,68,.12);
    color: #FDA4AF;
}

.dashboard-alert-icon.is-warning {
    background: rgba(245,158,11,.12);
    color: #FCD34D;
}

.dashboard-alert-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dashboard-alert-title {
    margin: 0;
    color: #F5F9FF;
    font-size: 15px;
    font-weight: 700;
}

.dashboard-alert-text {
    margin: 10px 0 0;
    color: #D8E1F0;
    font-size: 14px;
}

.dashboard-alert-meta {
    margin: 6px 0 0;
    color: #7C8CA5;
    font-size: 12px;
}

.dashboard-empty {
    padding: 42px 26px;
    text-align: center;
    color: #94A3B8;
    border-radius: 24px;
    border: 1px dashed rgba(255,255,255,.10);
    background: #111D30;
}

.dashboard-chart { height: 320px; }

.module-toolbar {
    background: #0E1726;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(2,6,23,.20);
    padding: 18px 20px;
}

.module-toolbar-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
}

.module-toolbar-form-compact {
    grid-template-columns: minmax(0, 1fr) 220px auto;
}

.module-toolbar-field {
    min-width: 0;
}

.module-toolbar-field-small {
    width: 100%;
}

.module-toolbar-label {
    display: block;
    margin-bottom: 8px;
    color: #94A3B8;
    font-size: 12px;
    font-weight: 700;
}

.module-toolbar-input,
.module-toolbar-select {
    width: 100%;
    padding: 13px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: #111D30;
    color: #F5F9FF;
    font-size: 14px;
    outline: none;
    transition: .2s ease;
}

.module-toolbar-input::-moz-placeholder {
    color: #7C8CA5;
}

.module-toolbar-input::placeholder {
    color: #7C8CA5;
}

.module-toolbar-input:focus,
.module-toolbar-select:focus {
    border-color: rgba(79,124,255,.40);
    box-shadow: 0 0 0 4px rgba(79,124,255,.10);
}

.module-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.module-toolbar-submit,
.module-toolbar-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 13px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.module-toolbar-submit {
    background: #4F7CFF;
    color: #fff;
    border: 1px solid #4F7CFF;
    cursor: pointer;
}

.module-toolbar-submit:hover {
    background: #3D6AF2;
    border-color: #3D6AF2;
}

.module-toolbar-reset {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.10);
    color: #D8E1F0;
}

.module-toolbar-reset:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}

@media (max-width: 1024px) {
    .auth-page {
        padding: 20px;
    }

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-panel-form,
    .auth-panel-copy {
        padding: 32px 26px;
    }

    .app-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        height: 100vh;
        z-index: 50;
        transform: translateX(-100%);
        transition: transform .25s ease;
    }

    .app-sidebar.is-open {
        transform: translateX(0);
    }

    .mobile-topbar {
        display: flex;
    }

    .app-content {
        padding: 18px;
    }
}

@media (min-width: 1560px) {
    .dashboard-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
    .dashboard-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dashboard-grid-main,
    .dashboard-grid-ops,
    .dashboard-grid-secondary { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .dashboard-header { padding: 22px; flex-direction: column; align-items: flex-start; }
    .dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .module-toolbar-form,
    .module-toolbar-form-compact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dashboard-title { font-size: 30px; }
    .dashboard-kpis { grid-template-columns: 1fr; }
    .dashboard-quick-grid,
    .dashboard-lot-stats { grid-template-columns: 1fr; }
    .dashboard-panel-header { padding: 20px 20px 0; }
    .dashboard-panel-body { padding: 18px 20px 20px; }
    .dashboard-table thead th,
    .dashboard-table tbody td { padding-left: 18px; padding-right: 18px; }
    .dashboard-card { min-height: 148px; }
}

/* Assignments index */

.assign-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.assign-header,
.assign-panel,
.assign-modal-card {
    background: #0E1726;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(2,6,23,.26);
}

.assign-header {
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.assign-kicker {
    margin: 0 0 8px;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 700;
}

.assign-title {
    margin: 0;
    color: #F5F9FF;
    font-size: 34px;
    font-weight: 800;
}

.assign-subtitle {
    margin: 10px 0 0;
    color: #94A3B8;
    font-size: 15px;
}

.assign-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.assign-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
    border: 1px solid rgba(255,255,255,.10);
}

.assign-btn.primary {
    background: #4F7CFF;
    border-color: #4F7CFF;
    color: #fff;
}

.assign-btn.primary:hover {
    background: #3D6AF2;
    border-color: #3D6AF2;
}

.assign-btn.secondary {
    background: rgba(255,255,255,.03);
    color: #D8E1F0;
}

.assign-btn.secondary:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}

.assign-message {
    padding: 16px 18px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
}

.assign-message.success {
    background: rgba(34,197,94,.10);
    border: 1px solid rgba(34,197,94,.18);
    color: #86EFAC;
}

.assign-message.error {
    background: rgba(239,68,68,.10);
    border: 1px solid rgba(239,68,68,.18);
    color: #FDA4AF;
}

.assign-table-wrap { overflow-x: auto; }

.assign-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
}

.assign-table thead th {
    padding: 16px 20px;
    text-align: left;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
}

.assign-table tbody td {
    padding: 18px 20px;
    color: #D8E1F0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    vertical-align: top;
}

.assign-table tbody tr:hover { background: rgba(255,255,255,.02); }
.assign-table tbody tr:last-child td { border-bottom: none; }

.assign-name {
    color: #F5F9FF;
    font-weight: 700;
}

.assign-muted {
    margin-top: 6px;
    color: #94A3B8;
    font-size: 12px;
}

.assign-muted.no-top {
    margin-top: 0;
}

.assign-muted.centered-note {
    max-width: 170px;
    margin-left: auto;
    margin-right: auto;
}

.assign-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 280px;
}

.assign-tag {
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(79,124,255,.10);
    border: 1px solid rgba(79,124,255,.18);
    color: #A9C2FF;
}

.assign-text-center { text-align: center; }
.assign-number-good { color: #86EFAC; font-weight: 700; }
.assign-number-bad { font-weight: 700; }
.assign-number-bad.has-damage { color: #FCA5A5; }
.assign-number-bad.no-damage { color: #94A3B8; }
.assign-number-pending { color: #FCD34D; font-weight: 700; }

.assign-progress-wrap { width: 180px; }

.assign-progress {
    height: 10px;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    overflow: hidden;
}

.assign-progress span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg,#4F7CFF 0%,#38BDF8 100%);
    transition: width .35s ease;
}

.assign-progress-text {
    margin-top: 8px;
    color: #94A3B8;
    font-size: 12px;
    font-weight: 700;
}

.assign-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
}

.assign-action-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.assign-action-btn,
.assign-delete-btn {
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.assign-action-btn {
    background: #4F7CFF;
    border-color: #4F7CFF;
    color: #fff;
}

.assign-action-btn:hover {
    background: #3D6AF2;
    border-color: #3D6AF2;
}

.assign-delete-btn {
    background: rgba(239,68,68,.10);
    color: #FDA4AF;
}

.assign-delete-btn:hover { background: rgba(239,68,68,.16); }

.assign-empty {
    padding: 52px 24px;
    text-align: center;
    color: #94A3B8;
}

.assign-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.assign-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2,6,23,.72);
    backdrop-filter: blur(8px);
}

.assign-modal-positioner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.assign-modal-card {
    width: 100%;
    max-width: 760px;
    overflow: hidden;
}

.assign-modal-head {
    padding: 24px 28px;
    background: linear-gradient(135deg,rgba(79,124,255,.28),rgba(56,189,248,.16));
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.assign-modal-head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.assign-modal-body {
    padding: 24px 28px 28px;
}

.assign-modal-title {
    margin: 0;
    color: #F5F9FF;
    font-size: 28px;
    font-weight: 800;
}

.assign-modal-subtitle {
    margin: 10px 0 0;
    color: #D8E1F0;
    font-size: 14px;
}

.assign-kicker.compact { margin-bottom: 6px; }

.assign-modal-close {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 16px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.assign-modal-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.assign-stat {
    padding: 16px;
    border-radius: 20px;
    background: #111D30;
    border: 1px solid rgba(255,255,255,.08);
}

.assign-stat-label {
    margin: 0;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
}

.assign-stat-value {
    margin: 10px 0 0;
    color: #F5F9FF;
    font-size: 24px;
    font-weight: 800;
}

.assign-stat-value.good { color: #86EFAC; }
.assign-stat-value.bad { color: #FCA5A5; }
.assign-stat-value.pending { color: #FCD34D; }

.assign-form-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}

.assign-label {
    display: block;
    margin-bottom: 10px;
    color: #D8E1F0;
    font-size: 13px;
    font-weight: 700;
}

.assign-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: #111D30;
    color: #F5F9FF;
    font-size: 14px;
    outline: none;
}

.assign-input:focus {
    border-color: rgba(79,124,255,.45);
    box-shadow: 0 0 0 4px rgba(79,124,255,.10);
}

.assign-field-error {
    margin-top: 8px;
    color: #ff9b9b;
    font-size: 13px;
    line-height: 1.4;
}

.assign-modal-actions {
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

@media (max-width: 900px) {
    .assign-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
    .assign-modal-grid,
    .assign-form-grid { grid-template-columns: 1fr; }
}

/* Assignments create */

.assignment-page {
    color: #f5f9ff;
}

.assignment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.assignment-eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7c8ca5;
}

.assignment-title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.05;
    font-weight: 800;
    color: #f5f9ff;
}

.assignment-subtitle,
.assignment-availability {
    margin: 0.4rem 0 0;
    font-size: 1rem;
    color: #94a3b8;
}

.assignment-availability strong,
.assignment-subtitle strong {
    color: #f5f9ff;
    font-weight: 700;
}

.assignment-availability span {
    color: #4f7cff;
    font-weight: 700;
}

.assignment-shell {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(14, 23, 38, 0.98) 0%, rgba(10, 19, 34, 0.98) 100%);
    box-shadow: 0 24px 60px rgba(2, 8, 23, 0.32);
    overflow: hidden;
}

.assignment-form {
    padding: 2rem;
}

.assignment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.assignment-field {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.assignment-label {
    font-size: 0.94rem;
    font-weight: 600;
    color: #d8e1f0;
}

.assignment-input,
.assignment-select {
    width: 100%;
    min-height: 60px;
    padding: 0 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #111d30;
    color: #f5f9ff;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.assignment-input::-moz-placeholder {
    color: #6f829d;
}

.assignment-input::placeholder {
    color: #6f829d;
}

.assignment-input:focus,
.assignment-select:focus {
    outline: none;
    border-color: rgba(79, 124, 255, 0.7);
    box-shadow: 0 0 0 4px rgba(79, 124, 255, 0.14);
    background: #13233a;
}

.assignment-select {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    padding-right: 3rem;
    background-image: linear-gradient(45deg, transparent 50%, #94a3b8 50%), linear-gradient(135deg, #94a3b8 50%, transparent 50%);
    background-position: calc(100% - 24px) calc(50% - 3px), calc(100% - 18px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.assignment-summary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: 1.25rem;
    border-radius: 22px;
    border: 1px solid rgba(79, 124, 255, 0.18);
    background: linear-gradient(180deg, rgba(21, 34, 58, 0.98) 0%, rgba(16, 28, 47, 0.98) 100%);
}

.assignment-summary-tag {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7ea2ff;
    font-weight: 700;
}

.assignment-summary-copy {
    margin: 0.85rem 0 1rem;
    color: #c8d5e8;
    line-height: 1.6;
}

.assignment-summary-total {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
    font-size: 0.96rem;
    color: #94a3b8;
}

.assignment-summary-total strong {
    color: #4f7cff;
    font-size: 1.3rem;
}

.assignment-panel {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    background: #0f1b2d;
    overflow: hidden;
}

.assignment-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.assignment-panel-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    color: #f5f9ff;
}

.assignment-panel-copy {
    margin: 0.45rem 0 0;
    color: #94a3b8;
}

.assignment-panel-body {
    padding: 1.5rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.assignment-size-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.assignment-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1.75rem;
}

.assignment-btn,
.assignment-btn-secondary,
.assignment-btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 1.5rem;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.assignment-btn {
    border: 1px solid #4f7cff;
    background: #4f7cff;
    color: #f8fbff;
}

.assignment-btn:hover {
    background: #3d6af2;
    border-color: #3d6af2;
    transform: translateY(-1px);
}

.assignment-btn-secondary {
    border: 1px solid rgba(216, 225, 240, 0.22);
    background: transparent;
    color: #f5f9ff;
}

.assignment-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

.assignment-btn-danger {
    border: 1px solid rgba(239, 68, 68, 0.18);
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    min-width: 110px;
}

.assignment-btn-danger:hover {
    background: rgba(239, 68, 68, 0.16);
}

.assignment-alert {
    margin-bottom: 1.5rem;
    padding: 1rem 1.15rem;
    border-radius: 18px;
    border: 1px solid rgba(239, 68, 68, 0.18);
    background: rgba(127, 29, 29, 0.3);
    color: #fecaca;
}

.assignment-alert ul {
    margin: 0;
    padding-left: 1.2rem;
}

@media (max-width: 980px) {
    .assignment-grid,
    .assignment-size-row {
        grid-template-columns: 1fr;
    }

    .assignment-header,
    .assignment-panel-head,
    .assignment-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .assignment-btn,
    .assignment-btn-secondary,
    .assignment-btn-danger {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .assignment-form {
        padding: 1.25rem;
    }

    .assignment-title {
        font-size: 1.9rem;
    }

    .assignment-panel-head,
    .assignment-panel-body {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }
}

/* Payments */

.pay-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pay-header,
.pay-card,
.pay-empty {
    background: #0E1726;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(2,6,23,.26);
}

.pay-header { padding: 24px 28px; }

.pay-kicker {
    margin: 0 0 8px;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 700;
}

.pay-title {
    margin: 0;
    color: #F5F9FF;
    font-size: 34px;
    font-weight: 800;
}

.pay-subtitle {
    margin: 10px 0 0;
    color: #94A3B8;
    font-size: 15px;
}

.pay-message {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(34,197,94,.10);
    border: 1px solid rgba(34,197,94,.18);
    color: #86EFAC;
    font-size: 14px;
    font-weight: 600;
}

.pay-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
}

.pay-card { padding: 20px; }

.pay-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.pay-name {
    margin: 0;
    color: #F5F9FF;
    font-size: 22px;
    font-weight: 800;
}

.pay-role {
    margin: 6px 0 0;
    color: #94A3B8;
    font-size: 14px;
}

.pay-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
    background: #4F7CFF;
    border: 1px solid #4F7CFF;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.pay-link:hover {
    background: #3D6AF2;
    border-color: #3D6AF2;
}

.pay-metrics {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
    margin-top: 16px;
}

.pay-metric {
    padding: 14px;
    border-radius: 18px;
    background: #111D30;
    border: 1px solid rgba(255,255,255,.08);
}

.pay-metric-label {
    margin: 0;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
}

.pay-metric-value {
    margin: 10px 0 0;
    color: #F5F9FF;
    font-size: 22px;
    font-weight: 800;
}

.pay-metric-value.bad { color: #FCA5A5; }
.pay-metric-value.good { color: #86EFAC; }
.pay-metric-value.info { color: #7DD3FC; }

.pay-pending {
    margin-top: 14px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(239,68,68,.10);
    border: 1px solid rgba(239,68,68,.18);
}

.pay-pending-label {
    margin: 0;
    color: #FDA4AF;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.pay-pending-value {
    margin: 10px 0 0;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}

.pay-rates {
    margin-top: 14px;
    color: #94A3B8;
    font-size: 13px;
    line-height: 1.7;
}

.pay-rates strong { color: #D8E1F0; }

.pay-empty {
    padding: 32px;
    color: #94A3B8;
    font-size: 15px;
}

.payment-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.payment-header,
.payment-panel,
.payment-form-card,
.payment-summary-card,
.payment-kpi {
    background: #0E1726;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(2,6,23,.26);
}

.payment-header {
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.payment-title {
    margin: 0;
    color: #F5F9FF;
    font-size: 34px;
    font-weight: 800;
}

.payment-subtitle {
    margin: 10px 0 0;
    color: #94A3B8;
    font-size: 15px;
}

.payment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    color: #D8E1F0;
}

.payment-btn:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}

.payment-message {
    padding: 16px 18px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
}

.payment-message.success {
    background: rgba(34,197,94,.10);
    border: 1px solid rgba(34,197,94,.18);
    color: #86EFAC;
}

.payment-message.error {
    background: rgba(239,68,68,.10);
    border: 1px solid rgba(239,68,68,.18);
    color: #FDA4AF;
}

.payment-grid {
    display: grid;
    grid-template-columns: minmax(0,2fr) minmax(320px,1fr);
    gap: 24px;
    align-items: start;
}

.payment-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.payment-kpis {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}

.payment-kpi { padding: 20px 22px; }

.payment-kpi-label {
    margin: 0;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
}

.payment-kpi-value {
    margin: 12px 0 0;
    color: #F5F9FF;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.payment-kpi-value.success { color: #86EFAC; }
.payment-kpi-value.warning { color: #FCD34D; }
.payment-kpi-value.info { color: #7DD3FC; }
.payment-kpi-value.danger { color: #FDA4AF; }

.payment-panel { overflow: hidden; }

.payment-panel-head {
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.payment-panel-title {
    margin: 0;
    color: #F5F9FF;
    font-size: 22px;
    font-weight: 800;
}

.payment-table-wrap { overflow-x: auto; }

.payment-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.payment-table.compact {
    min-width: 640px;
}

.payment-table thead th {
    padding: 16px 20px;
    text-align: left;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
}

.payment-table tbody td {
    padding: 18px 20px;
    color: #D8E1F0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    vertical-align: top;
}

.payment-table tbody tr:hover { background: rgba(255,255,255,.02); }
.payment-table tbody tr:last-child td { border-bottom: none; }

.payment-strong { color: #F5F9FF; font-weight: 700; }
.payment-muted { color: #94A3B8; }
.payment-empty { padding: 52px 24px; text-align: center; color: #94A3B8; }

.payment-form-card,
.payment-summary-card { padding: 24px; }

.payment-card-title {
    margin: 0 0 18px;
    color: #F5F9FF;
    font-size: 22px;
    font-weight: 800;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-label {
    display: block;
    margin-bottom: 10px;
    color: #D8E1F0;
    font-size: 13px;
    font-weight: 700;
}

.payment-input,
.payment-textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: #111D30;
    color: #F5F9FF;
    font-size: 14px;
    outline: none;
}

.payment-input:focus,
.payment-textarea:focus {
    border-color: rgba(79,124,255,.45);
    box-shadow: 0 0 0 4px rgba(79,124,255,.10);
}

.payment-textarea {
    resize: vertical;
    min-height: 110px;
}

.payment-submit {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: .2s ease;
}

.payment-submit.primary {
    background: #4F7CFF;
    box-shadow: 0 14px 28px rgba(79,124,255,.22);
}

.payment-submit.primary:hover { background: #3D6AF2; }

.payment-submit.success {
    background: #0F9F6E;
    box-shadow: 0 14px 28px rgba(15,159,110,.22);
}

.payment-submit.success:hover { background: #0C8A60; }

.payment-summary-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.payment-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    color: #D8E1F0;
}

.payment-summary-row strong { color: #F5F9FF; }
.payment-summary-row .warning { color: #FCD34D; }
.payment-summary-row .success { color: #86EFAC; }
.payment-summary-row .info { color: #7DD3FC; }

.payment-summary-total {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-end;
}

.payment-summary-total span:first-child {
    color: #F5F9FF;
    font-weight: 700;
}

.payment-summary-total strong {
    color: #FDA4AF;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
}

.payment-text-center { text-align: center; }
.payment-text-right { text-align: right; }
.payment-amount-good { color: #86EFAC; font-weight: 700; }
.payment-amount-warn { color: #FCD34D; font-weight: 700; }
.payment-amount-info { color: #7DD3FC; font-weight: 700; }

@media (max-width: 1200px) {
    .pay-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 1100px) {
    .payment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .pay-grid { grid-template-columns: 1fr; }
    .payment-header { flex-direction: column; align-items: flex-start; }
    .payment-kpis { grid-template-columns: 1fr; }
    .payment-title { font-size: 28px; }
}

/* Reports */

.rep-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.rep-header,
.rep-panel,
.rep-chart {
    background: #0E1726;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(2,6,23,.26);
}

.rep-header { padding: 24px 28px; }

.rep-kicker {
    margin: 0 0 8px;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 700;
}

.rep-title {
    margin: 0;
    color: #F5F9FF;
    font-size: 34px;
    font-weight: 800;
}

.rep-subtitle {
    margin: 10px 0 0;
    color: #94A3B8;
    font-size: 15px;
}

.rep-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: end;
    margin-top: 20px;
}

.rep-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rep-label {
    color: #D8E1F0;
    font-size: 13px;
    font-weight: 700;
}

.rep-input {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: #111D30;
    color: #F5F9FF;
    font-size: 14px;
    outline: none;
}

.rep-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
    border: 1px solid rgba(255,255,255,.10);
    min-width: 148px;
}

.rep-btn.primary {
    background: #4F7CFF;
    border-color: #4F7CFF;
    color: #fff;
}

.rep-btn.primary:hover {
    background: #3D6AF2;
    border-color: #3D6AF2;
}

.rep-btn.secondary {
    background: rgba(255,255,255,.03);
    color: #D8E1F0;
}

.rep-btn.secondary:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}

.rep-panel.clip {
    overflow: hidden;
}

.rep-table {
    width: 100%;
    border-collapse: collapse;
}

.rep-table thead th {
    padding: 16px 20px;
    text-align: left;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
}

.rep-table tbody td,
.rep-table tfoot td {
    padding: 18px 20px;
    color: #D8E1F0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.rep-table tbody tr:last-child td { border-bottom: none; }

.rep-table tfoot td {
    font-weight: 800;
    background: rgba(255,255,255,.02);
}

.rep-empty { text-align: center; color: #94A3B8; }
.rep-total { color: #A9C2FF; text-align: right; }
.rep-text-right { text-align: right; }

.rep-chart { padding: 24px 28px 28px; }
.rep-chart-title { margin: 0; color: #F5F9FF; font-size: 22px; font-weight: 800; }
.rep-chart-note { margin: 8px 0 18px; color: #94A3B8; font-size: 14px; }
.rep-chart-canvas-wrap { height: 320px; }

.worker-report { color: #f5f9ff; }

.worker-report-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.worker-report-title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.05;
    color: #f5f9ff;
}

.worker-report-copy {
    margin: 0.55rem 0 0;
    color: #94a3b8;
    font-size: 1rem;
}

.report-panel {
    background: #0e1726;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 26px;
    box-shadow: 0 24px 50px rgba(2, 8, 23, 0.28);
}

.report-panel-soft {
    background: #111d30;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
}

.report-filter {
    padding: 1.5rem;
    margin-bottom: 1.75rem;
}

.report-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.report-actions {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.report-field {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.report-label {
    color: #d8e1f0;
    font-weight: 600;
    font-size: 0.95rem;
}

.report-input,
.report-select {
    width: 100%;
    min-height: 56px;
    padding: 0 1rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #152238;
    color: #f5f9ff;
    font-size: 1rem;
}

.report-input:focus,
.report-select:focus {
    outline: none;
    border-color: rgba(79, 124, 255, 0.72);
    box-shadow: 0 0 0 4px rgba(79, 124, 255, 0.14);
}

.report-select {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    padding-right: 3rem;
    background-image: linear-gradient(45deg, transparent 50%, #94a3b8 50%), linear-gradient(135deg, #94a3b8 50%, transparent 50%);
    background-position: calc(100% - 24px) calc(50% - 3px), calc(100% - 18px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.report-btn,
.report-btn-secondary,
.report-btn-success,
.model-btn,
.model-btn-secondary,
.model-btn-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 1.25rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.report-btn,
.model-btn {
    border: 1px solid #4f7cff;
    background: #4f7cff;
    color: #f8fbff;
}

.report-btn:hover,
.model-btn:hover {
    background: #3d6af2;
    border-color: #3d6af2;
    transform: translateY(-1px);
}

.report-btn-secondary,
.model-btn-secondary {
    border: 1px solid rgba(216, 225, 240, 0.22);
    background: transparent;
    color: #f5f9ff;
}

.report-btn-secondary:hover,
.model-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.04);
}

.report-btn-success,
.model-btn-info {
    border: 1px solid rgba(56, 189, 248, 0.16);
    background: rgba(56, 189, 248, 0.14);
    color: #8fdcff;
}

.report-btn-success:hover,
.model-btn-info:hover {
    background: rgba(56, 189, 248, 0.2);
}

.report-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.report-kpi { padding: 1.4rem; }
.report-kpi-label { margin: 0; color: #94a3b8; font-size: 0.92rem; }
.report-kpi-value { margin: 0.7rem 0 0; font-size: 2rem; font-weight: 800; color: #f5f9ff; }
.report-kpi-foot { margin: 0.55rem 0 0; color: #7c8ca5; font-size: 0.84rem; }
.report-kpi-good .report-kpi-value { color: #22c55e; }
.report-kpi-bad .report-kpi-value { color: #f59e0b; }
.report-kpi-net .report-kpi-value { color: #4f7cff; }
.report-kpi-balance .report-kpi-value { color: #ef4444; }

.report-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.report-table-shell { overflow: hidden; }
.report-card-head { padding: 1.35rem 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.report-card-title { margin: 0; color: #f5f9ff; font-size: 1.2rem; font-weight: 700; }
.report-card-copy { margin: 0.35rem 0 0; color: #94a3b8; font-size: 0.92rem; }
.report-table-wrap { overflow-x: auto; }

.report-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.report-table.full-width { min-width: 100%; }

.report-table thead { background: rgba(255, 255, 255, 0.03); }

.report-table th {
    padding: 1rem 1.25rem;
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: left;
    font-weight: 700;
}

.report-table td {
    padding: 1rem 1.25rem;
    color: #d8e1f0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.report-table td.text-center,
.report-table th.text-center { text-align: center; }
.report-table td.text-right,
.report-table th.text-right { text-align: right; }

.report-muted { color: #94a3b8; }
.report-strong { color: #f5f9ff; font-weight: 700; }
.report-good { color: #22c55e; font-weight: 700; }
.report-warn { color: #f59e0b; font-weight: 700; }
.report-info { color: #4f7cff; font-weight: 700; }
.report-danger { color: #ef4444; font-weight: 700; }

.report-side { display: flex; flex-direction: column; gap: 1rem; }
.report-side-body { padding: 1.35rem 1.5rem 1.5rem; }

.report-summary-item,
.report-payment-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.report-summary-item.total-row {
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.report-summary-total-amount {
    font-size: 1.45rem;
}

.report-summary-list,
.report-payment-list { display: flex; flex-direction: column; gap: 1rem; }

.report-payment-box {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.report-payment-note {
    margin-top: 0.35rem;
}

.report-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    color: #94a3b8;
}

.report-bottom {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1.25rem;
}

.report-chart-box { padding: 1.35rem 1.5rem 1.5rem; }

.report-chart-head.compact {
    padding: 0 0 1rem;
}

.report-chart-canvas {
    height: 320px;
    padding-top: 1rem;
}

.model-report {
    max-width: 1220px;
    margin: 0 auto;
    color: #f5f9ff;
}

.model-report-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
}

.model-report-title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.05;
    color: #f5f9ff;
}

.model-report-copy { margin: 0.55rem 0 0; color: #94a3b8; }

.model-report-panel {
    background: #0e1726;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 26px;
    box-shadow: 0 24px 50px rgba(2, 8, 23, 0.28);
}

.model-report-soft {
    background: #111d30;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
}

.model-filter {
    padding: 1.5rem;
    margin-bottom: 1.75rem;
}

.model-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto auto;
    gap: 1rem;
    align-items: end;
}

.model-field {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.model-label {
    color: #d8e1f0;
    font-weight: 600;
    font-size: 0.95rem;
}

.model-input {
    width: 100%;
    min-height: 56px;
    padding: 0 1rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #152238;
    color: #f5f9ff;
    font-size: 1rem;
}

.model-input:focus {
    outline: none;
    border-color: rgba(79, 124, 255, 0.72);
    box-shadow: 0 0 0 4px rgba(79, 124, 255, 0.14);
}

.model-summary {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.model-card { padding: 1.4rem; }
.model-card-tag { margin: 0; color: #94a3b8; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.model-card-value { margin: 0.7rem 0 0; font-size: 2rem; font-weight: 800; color: #f5f9ff; }
.model-card-value.primary { color: #4f7cff; }
.model-card-copy { margin: 0.55rem 0 0; color: #7c8ca5; font-size: 0.9rem; }

.model-table-shell { overflow: hidden; margin-bottom: 1.75rem; }

.model-table {
    width: 100%;
    border-collapse: collapse;
}

.model-table thead { background: rgba(255, 255, 255, 0.03); }

.model-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    font-weight: 700;
}

.model-table td {
    padding: 1rem 1.25rem;
    color: #d8e1f0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.model-table .text-right { text-align: right; }

.model-total-row td {
    background: rgba(79, 124, 255, 0.08);
    color: #f5f9ff;
    font-weight: 800;
}

.model-chart { padding: 1.35rem 1.5rem 1.5rem; }
.model-chart h3 { margin: 0; color: #f5f9ff; font-size: 1.2rem; font-weight: 700; }
.model-chart p { margin: 0.45rem 0 0; color: #94a3b8; font-size: 0.92rem; }
.model-empty { padding: 2rem 1.25rem; text-align: center; color: #94a3b8; }
.model-chart-canvas-wrap { height: 320px; margin-top: 1rem; }

@media (max-width: 1180px) {
    .report-grid,
    .report-kpis,
    .report-main,
    .report-bottom { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
    .model-filter-grid,
    .model-summary { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .worker-report-top,
    .report-actions { flex-direction: column; align-items: stretch; }

    .report-btn,
    .report-btn-secondary,
    .report-btn-success {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .model-report-top { flex-direction: column; align-items: stretch; }

    .model-btn,
    .model-btn-secondary,
    .model-btn-info {
        width: 100%;
    }
}

.lots-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lots-header,
.lots-panel,
.worker-header,
.worker-panel,
.user-header,
.user-panel,
.role-header,
.role-panel {
    background: #0E1726;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(2,6,23,.26);
}

.lots-header,
.worker-header,
.user-header,
.role-header {
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.lots-eyebrow,
.worker-kicker,
.user-kicker,
.role-kicker {
    margin: 0 0 8px;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 700;
}

.lots-title,
.worker-title,
.user-title,
.role-title {
    margin: 0;
    color: #F5F9FF;
    font-size: 34px;
    font-weight: 800;
}

.lots-subtitle,
.worker-subtitle,
.user-subtitle,
.role-subtitle {
    margin: 10px 0 0;
    color: #94A3B8;
    font-size: 15px;
}

.lots-btn,
.worker-btn,
.user-btn,
.role-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #4F7CFF;
    background: #4F7CFF;
    color: #fff;
    transition: .2s ease;
}

.lots-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lots-btn:hover,
.worker-btn:hover,
.user-btn:hover,
.role-btn:hover {
    background: #3D6AF2;
    border-color: #3D6AF2;
}

.lots-btn.lots-btn-secondary {
    background: rgba(255,255,255,.03);
    border-color: rgba(255,255,255,.10);
    color: #D8E1F0;
}

.lots-btn.lots-btn-secondary:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.14);
    color: #fff;
}

.lots-message,
.worker-message,
.user-message,
.role-message {
    padding: 16px 18px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(34,197,94,.10);
    border: 1px solid rgba(34,197,94,.18);
    color: #86EFAC;
}

.lots-grid { display: grid; gap: 24px; }

.lots-panel-header {
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.lots-panel-title {
    margin: 0;
    color: #F5F9FF;
    font-size: 24px;
    font-weight: 800;
}

.lots-panel-note {
    margin: 6px 0 0;
    color: #94A3B8;
    font-size: 14px;
}

.lots-table-wrap,
.worker-table-wrap {
    width: 100%;
}

.lots-table,
.worker-table,
.user-table,
.role-table {
    width: 100%;
    border-collapse: collapse;
}

.lots-table {
    min-width: 100%;
    table-layout: fixed;
}
.worker-table { min-width: 980px; }

.lots-table thead th,
.worker-table thead th,
.user-table thead th,
.role-table thead th {
    padding: 16px 20px;
    text-align: left;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
}

.lots-table tbody td,
.worker-table tbody td,
.user-table tbody td,
.role-table tbody td {
    padding: 18px 20px;
    color: #D8E1F0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.lots-table tbody td { vertical-align: top; }

.lots-table tbody tr:hover,
.worker-table tbody tr:hover,
.user-table tbody tr:hover,
.role-table tbody tr:hover {
    background: rgba(255,255,255,.02);
}

.lots-table tbody tr:last-child td,
.worker-table tbody tr:last-child td,
.user-table tbody tr:last-child td,
.role-table tbody tr:last-child td {
    border-bottom: none;
}

.lots-code,
.worker-name,
.user-name,
.role-name {
    color: #F5F9FF;
    font-weight: 700;
}

.lots-model {
    color: #F5F9FF;
    font-weight: 600;
}

.lots-progress { width: 116px; }

.lots-progress-bar {
    height: 8px;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    overflow: hidden;
}

.lots-progress-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #4F7CFF 0%, #38BDF8 100%);
    transition: width .35s ease;
}

.lots-progress-text {
    margin-top: 8px;
    color: #94A3B8;
    font-size: 12px;
    font-weight: 700;
}

.lots-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
}

.lots-actions,
.worker-actions,
.user-actions,
.role-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.lots-actions {
    flex-direction: column;
    min-width: auto;
    width: 100%;
}

.lots-action,
.worker-action {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 9px 10px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    transition: .2s ease;
    border: 1px solid rgba(255,255,255,.08);
}

.lots-action {
    width: 100%;
}

.lots-action.primary,
.worker-action.edit {
    background: rgba(255,255,255,.03);
    color: #D8E1F0;
}

.lots-action.primary {
    background: #4F7CFF;
    border-color: #4F7CFF;
    color: #fff;
}

.lots-action.primary:hover {
    background: #3D6AF2;
    border-color: #3D6AF2;
}

.lots-action.secondary:hover,
.worker-action.edit:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}

.lots-action.secondary {
    background: rgba(255,255,255,.03);
    color: #D8E1F0;
}

.worker-muted,
.user-muted {
    color: #94A3B8;
}

.worker-actions { gap: 8px; }

.worker-action.delete,
.user-delete,
.role-delete {
    background: rgba(239,68,68,.10);
    color: #FDA4AF;
    cursor: pointer;
    border: 1px solid rgba(239,68,68,.14);
}

.worker-action.delete:hover,
.user-delete:hover,
.role-delete:hover {
    background: rgba(239,68,68,.16);
    color: #fff;
}

.worker-action.history {
    background: rgba(79,124,255,.12);
    color: #A9C2FF;
    border-color: rgba(79,124,255,.18);
}

.worker-action.history:hover {
    background: rgba(79,124,255,.18);
    color: #fff;
}

.lots-empty,
.worker-empty {
    padding: 52px 24px;
    text-align: center;
    color: #94A3B8;
}

.lots-pagination {
    padding: 18px 24px 24px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.lots-table thead th:nth-child(1),
.lots-table tbody td:nth-child(1) { width: 8%; }

.lots-table thead th:nth-child(2),
.lots-table tbody td:nth-child(2) { width: 12%; }

.lots-table thead th:nth-child(3),
.lots-table tbody td:nth-child(3),
.lots-table thead th:nth-child(4),
.lots-table tbody td:nth-child(4),
.lots-table thead th:nth-child(5),
.lots-table tbody td:nth-child(5) { width: 8%; }

.lots-table thead th:nth-child(6),
.lots-table tbody td:nth-child(6) { width: 16%; }

.lots-table thead th:nth-child(7),
.lots-table tbody td:nth-child(7) { width: 11%; }

.lots-table thead th:nth-child(8),
.lots-table tbody td:nth-child(8) { width: 11%; }

.lots-table thead th:nth-child(9),
.lots-table tbody td:nth-child(9) { width: 18%; }

@media (max-width: 1440px) {
    .lots-table thead th,
    .lots-table tbody td {
        padding-left: 14px;
        padding-right: 14px;
    }

    .lots-progress {
        width: 104px;
    }
}

@media (max-width: 1280px) {
    .lots-table-wrap {
        overflow-x: auto;
    }

    .lots-table {
        min-width: 920px;
        table-layout: auto;
    }
}

.worker-inline-form {
    display: inline-block;
}

.user-page,
.role-page,
.worker-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.worker-history-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lots-history-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.worker-history-header,
.worker-history-card,
.lots-history-header,
.lots-history-card {
    background: #0E1726;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(2,6,23,.26);
}

.worker-history-header {
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.lots-history-header {
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.worker-history-kicker {
    margin: 0 0 8px;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 700;
}

.lots-history-kicker {
    margin: 0 0 8px;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 700;
}

.worker-history-title {
    margin: 0;
    color: #F5F9FF;
    font-size: 34px;
    font-weight: 800;
}

.lots-history-title {
    margin: 0;
    color: #F5F9FF;
    font-size: 34px;
    font-weight: 800;
}

.worker-history-subtitle {
    margin: 10px 0 0;
    color: #94A3B8;
    font-size: 15px;
}

.lots-history-subtitle {
    margin: 10px 0 0;
    color: #94A3B8;
    font-size: 15px;
}

.worker-history-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.lots-history-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.worker-history-card {
    padding: 20px 22px;
}

.lots-history-card {
    padding: 20px 22px;
}

.worker-history-card-label {
    margin: 0;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
}

.lots-history-card-label {
    margin: 0;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
}

.worker-history-card-value {
    margin: 12px 0 0;
    color: #F5F9FF;
    font-size: 30px;
    font-weight: 800;
}

.lots-history-card-value {
    margin: 12px 0 0;
    color: #F5F9FF;
    font-size: 30px;
    font-weight: 800;
}

.worker-history-card-value.good { color: #86EFAC; }
.worker-history-card-value.bad { color: #FCA5A5; }
.worker-history-card-value.warn { color: #FCD34D; }
.lots-history-card-value.good { color: #86EFAC; }
.lots-history-card-value.bad { color: #FCA5A5; }

.worker-history-panel-head {
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.lots-history-panel-head {
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.worker-history-panel-title {
    margin: 0;
    color: #F5F9FF;
    font-size: 24px;
    font-weight: 800;
}

.lots-history-panel-title {
    margin: 0;
    color: #F5F9FF;
    font-size: 24px;
    font-weight: 800;
}

.worker-history-panel-copy {
    margin: 6px 0 0;
    color: #94A3B8;
    font-size: 14px;
}

.lots-history-panel-copy {
    margin: 6px 0 0;
    color: #94A3B8;
    font-size: 14px;
}

.worker-history-table {
    min-width: 1180px;
}

.lots-history-table {
    min-width: 1080px;
}

.worker-history-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 240px;
}

.worker-history-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(79,124,255,.10);
    border: 1px solid rgba(79,124,255,.18);
    color: #A9C2FF;
}

.worker-history-good {
    color: #86EFAC;
    font-weight: 700;
}

.worker-history-bad {
    color: #FCA5A5;
    font-weight: 700;
}

.lots-history-good {
    color: #86EFAC;
    font-weight: 700;
}

.lots-history-bad {
    color: #FCA5A5;
    font-weight: 700;
}

.worker-history-pending {
    color: #FCD34D;
    font-weight: 700;
}

.worker-history-progress-wrap {
    width: 120px;
}

.worker-history-progress {
    height: 10px;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    overflow: hidden;
}

.worker-history-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg,#4F7CFF 0%,#38BDF8 100%);
    transition: width .35s ease;
}

.worker-history-progress-text {
    margin-top: 8px;
    color: #94A3B8;
    font-size: 12px;
    font-weight: 700;
}

.lots-history-workers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 220px;
}

.lots-history-actions-cell {
    align-items: stretch;
}

.lots-history-worker {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
}

.lots-history-worker-name {
    margin: 0;
    color: #F5F9FF;
    font-size: 14px;
    font-weight: 700;
}

.lots-history-worker-meta {
    margin: 6px 0 0;
    color: #94A3B8;
    font-size: 12px;
}

.lots-detail-meta {
    padding: 22px 24px 26px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.lots-detail-meta-item {
    padding: 18px 20px;
    border-radius: 22px;
    background: #111D30;
    border: 1px solid rgba(255,255,255,.08);
}

.lots-detail-meta-label {
    display: block;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
}

.lots-detail-meta-value {
    display: block;
    margin-top: 12px;
    color: #F5F9FF;
    font-size: 22px;
    font-weight: 800;
}

.lots-history-detail-table {
    min-width: 1040px;
}

.role-page {
    max-width: 1200px;
    margin: 0 auto;
}

.user-panel.clip,
.role-panel.clip {
    overflow: hidden;
}

.user-role {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(79,124,255,.10);
    border: 1px solid rgba(79,124,255,.18);
    color: #A9C2FF;
    font-size: 12px;
    font-weight: 700;
    margin-right: 6px;
}

.user-muted {
    font-size: 12px;
}

.user-link,
.role-link {
    color: #A9C2FF;
    text-decoration: none;
    font-weight: 700;
}

.user-link:hover,
.role-link:hover {
    color: #fff;
}

.user-delete,
.role-delete {
    padding: 0;
    border-radius: 0;
    font-weight: 700;
}

.user-inline-form,
.role-inline-form {
    display: inline-flex;
}

.table-actions-center {
    text-align: center !important;
}

.role-section-spaced {
    margin-top: 24px;
}

@media (max-width: 900px) {
    .lots-header,
    .worker-header,
    .user-header,
    .role-header,
    .worker-history-header,
    .lots-history-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .worker-history-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lots-history-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lots-detail-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .lots-detail-meta {
        grid-template-columns: 1fr;
    }
}

.lot-form-shell,
.lot-form-card,
.worker-form-shell,
.worker-form-card,
.user-form-shell,
.user-form-card,
.role-form-shell,
.role-form-card {
    background: #0E1726;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(2,6,23,.26);
}

.lot-form-shell,
.worker-form-shell,
.user-form-shell,
.role-form-shell {
    margin: 0 auto;
}

.lot-form-shell,
.worker-form-shell {
    max-width: 980px;
}

.user-form-shell {
    max-width: 980px;
}

.user-form-shell.compact {
    max-width: 900px;
}

.role-form-shell {
    max-width: 980px;
}

.role-form-shell.compact {
    max-width: 760px;
}

.lot-form-head,
.worker-form-head,
.user-form-head,
.role-form-head {
    padding: 24px 28px 0;
}

.lot-form-kicker,
.worker-form-kicker,
.user-form-kicker,
.role-form-kicker {
    margin: 0 0 8px;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 700;
}

.lot-form-title,
.worker-form-title,
.user-form-title,
.role-form-title {
    margin: 0;
    color: #F5F9FF;
    font-size: 34px;
    font-weight: 800;
}

.lot-form-subtitle,
.worker-form-subtitle,
.user-form-subtitle,
.role-form-subtitle {
    margin: 10px 0 0;
    color: #94A3B8;
    font-size: 15px;
}

.lot-form-card,
.worker-form-card,
.user-form-card,
.role-form-card {
    margin-top: 24px;
    padding: 24px 28px 28px;
}

.lot-form-grid,
.worker-form-grid,
.user-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 20px;
}

.user-form-grid.single-column {
    grid-template-columns: 1fr;
}

.worker-field-full,
.user-field-full {
    grid-column: 1 / -1;
}

.lot-label,
.worker-label,
.user-label,
.role-label {
    display: block;
    margin-bottom: 10px;
    color: #D8E1F0;
    font-size: 13px;
    font-weight: 700;
}

.lot-input,
.lot-select,
.worker-input,
.user-input,
.user-select,
.role-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: #111D30;
    color: #F5F9FF;
    font-size: 14px;
    outline: none;
    transition: .2s ease;
}

.lot-input:focus,
.lot-select:focus,
.worker-input:focus,
.user-input:focus,
.user-select:focus,
.role-input:focus {
    border-color: rgba(79,124,255,.45);
    box-shadow: 0 0 0 4px rgba(79,124,255,.10);
}

.worker-input::-moz-placeholder, .user-input::-moz-placeholder, .role-input::-moz-placeholder {
    color: #7C8CA5;
}

.worker-input::placeholder,
.user-input::placeholder,
.role-input::placeholder {
    color: #7C8CA5;
}

.lot-readonly {
    background: rgba(255,255,255,.03);
    color: #94A3B8;
}

.worker-form-card .worker-actions,
.user-form-card .user-actions,
.role-form-card .role-actions,
.lot-actions {
    margin-top: 28px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.worker-btn,
.user-btn,
.role-btn,
.lot-btn {
    min-width: 140px;
}

.worker-btn.worker-btn-primary,
.user-btn.user-btn-primary,
.role-btn.role-btn-primary,
.lot-btn.lot-btn-primary {
    border: 1px solid #4F7CFF;
    background: #4F7CFF;
    color: #fff;
}

.worker-btn.worker-btn-primary:hover,
.user-btn.user-btn-primary:hover,
.role-btn.role-btn-primary:hover,
.lot-btn.lot-btn-primary:hover {
    background: #3D6AF2;
    border-color: #3D6AF2;
}

.worker-btn.worker-btn-secondary,
.user-btn.user-btn-secondary,
.role-btn.role-btn-secondary,
.lot-btn.lot-btn-secondary {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    color: #D8E1F0;
}

.worker-btn.worker-btn-secondary:hover,
.user-btn.user-btn-secondary:hover,
.role-btn.role-btn-secondary:hover,
.lot-btn.lot-btn-secondary:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}

.user-error,
.role-error {
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(239,68,68,.10);
    border: 1px solid rgba(239,68,68,.18);
    color: #FDA4AF;
}

.user-error ul,
.role-error ul {
    margin: 0;
    padding-left: 18px;
}

.user-role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}

.user-role-option,
.role-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: #111D30;
    transition: .2s ease;
    color: #D8E1F0;
}

.user-role-option {
    cursor: pointer;
}

.user-role-option:hover,
.role-option:hover {
    border-color: rgba(79,124,255,.24);
    background: rgba(79,124,255,.08);
}

.user-role-option input,
.role-option input {
    accent-color: #4F7CFF;
    width: 18px;
    height: 18px;
}

.user-role-option span,
.role-option span {
    color: #F5F9FF;
    font-size: 14px;
    font-weight: 700;
}

.role-permissions {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}

@media (max-width: 800px) {
    .lot-form-grid,
    .worker-form-grid,
    .user-form-grid,
    .user-role-grid,
    .role-permissions {
        grid-template-columns: 1fr;
    }
}

.welcome-page {
    min-height: 100vh;
    padding: 32px;
    background:
        radial-gradient(circle at top left, rgba(79,124,255,.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(56,189,248,.10), transparent 30%),
        #08101d;
    color: #f5f9ff;
}

.welcome-shell {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.welcome-topbar,
.welcome-hero,
.welcome-grid-card {
    background: #0E1726;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(2,6,23,.26);
}

.welcome-topbar {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.welcome-brand-title {
    margin: 0;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.welcome-brand-copy {
    margin: 6px 0 0;
    color: #94A3B8;
    font-size: .98rem;
}

.welcome-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.welcome-link,
.welcome-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    transition: .2s ease;
}

.welcome-link {
    color: #D8E1F0;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
}

.welcome-link:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}

.welcome-btn {
    background: #4F7CFF;
    border: 1px solid #4F7CFF;
    color: #fff;
}

.welcome-btn:hover {
    background: #3D6AF2;
    border-color: #3D6AF2;
}

.welcome-hero {
    padding: 42px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
}

.welcome-kicker {
    margin: 0 0 10px;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 700;
}

.welcome-title {
    margin: 0;
    font-size: clamp(2.5rem, 4vw, 4.4rem);
    line-height: 1;
    letter-spacing: -.04em;
    font-weight: 800;
}

.welcome-copy {
    margin: 20px 0 0;
    max-width: 680px;
    color: #B8C4D9;
    font-size: 1.08rem;
    line-height: 1.8;
}

.welcome-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.welcome-side {
    display: grid;
    gap: 14px;
}

.welcome-metric {
    padding: 20px;
    border-radius: 22px;
    background: #111D30;
    border: 1px solid rgba(255,255,255,.08);
}

.welcome-metric-label {
    margin: 0;
    color: #7C8CA5;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
}

.welcome-metric-value {
    margin: 12px 0 0;
    color: #F5F9FF;
    font-size: 2rem;
    font-weight: 800;
}

.welcome-metric-copy {
    margin: 10px 0 0;
    color: #94A3B8;
    font-size: .95rem;
}

.welcome-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
}

.welcome-grid-card {
    padding: 24px;
}

.welcome-grid-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #F5F9FF;
}

.welcome-grid-copy {
    margin: 12px 0 0;
    color: #94A3B8;
    line-height: 1.75;
}

.welcome-footer {
    padding-bottom: 8px;
    color: #7C8CA5;
    font-size: .92rem;
    text-align: center;
}

@media (max-width: 900px) {
    .welcome-page { padding: 20px; }
    .welcome-topbar,
    .welcome-hero {
        padding: 24px;
        grid-template-columns: 1fr;
    }

    .welcome-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .welcome-nav,
    .welcome-actions {
        width: 100%;
    }

    .welcome-link,
    .welcome-btn {
        width: 100%;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
    }
}

.hover\:bg-gray-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}

.hover\:bg-indigo-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(67 56 202 / var(--tw-bg-opacity, 1));
}

.hover\:text-gray-400:hover {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.hover\:text-gray-500:hover {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.hover\:text-gray-900:hover {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.focus\:z-10:focus {
  z-index: 10;
}

.focus\:border-blue-300:focus {
  --tw-border-opacity: 1;
  border-color: rgb(147 197 253 / var(--tw-border-opacity, 1));
}

.focus\:border-gray-900:focus {
  --tw-border-opacity: 1;
  border-color: rgb(17 24 39 / var(--tw-border-opacity, 1));
}

.focus\:border-indigo-300:focus {
  --tw-border-opacity: 1;
  border-color: rgb(165 180 252 / var(--tw-border-opacity, 1));
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring: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(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);
}

.focus\:ring-indigo-200:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(199 210 254 / var(--tw-ring-opacity, 1));
}

.focus\:ring-opacity-50:focus {
  --tw-ring-opacity: 0.5;
}

.active\:bg-gray-100:active {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.active\:bg-gray-900:active {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}

.active\:text-gray-500:active {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.active\:text-gray-700:active {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.disabled\:opacity-25:disabled {
  opacity: 0.25;
}

@media (min-width: 640px) {

  .sm\:flex {
    display: flex;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:max-w-md {
    max-width: 28rem;
  }

  .sm\:flex-1 {
    flex: 1 1 0%;
  }

  .sm\:items-center {
    align-items: center;
  }

  .sm\:justify-start {
    justify-content: flex-start;
  }

  .sm\:justify-center {
    justify-content: center;
  }

  .sm\:justify-between {
    justify-content: space-between;
  }

  .sm\:rounded-lg {
    border-radius: 0.5rem;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:pt-0 {
    padding-top: 0px;
  }
}

@media (min-width: 1024px) {

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (prefers-color-scheme: dark) {

  .dark\:bg-gray-900 {
    --tw-bg-opacity: 1;
    background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
  }
}

