/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"DM_Sans","arguments":[{"subsets":["latin"],"weight":["400","500","600","700"],"variable":"--font-dm-sans","display":"swap"}],"variableName":"dmSans"} ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* latin-ext */
@font-face {
  font-family: '__DM_Sans_0eeb07';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/7ab938503e4547a1-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__DM_Sans_0eeb07';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/13971731025ec697-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: '__DM_Sans_0eeb07';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/7ab938503e4547a1-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__DM_Sans_0eeb07';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/13971731025ec697-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: '__DM_Sans_0eeb07';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/7ab938503e4547a1-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__DM_Sans_0eeb07';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/13971731025ec697-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: '__DM_Sans_0eeb07';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/7ab938503e4547a1-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__DM_Sans_0eeb07';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/13971731025ec697-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: '__DM_Sans_Fallback_0eeb07';src: local("Arial");ascent-override: 94.90%;descent-override: 29.66%;line-gap-override: 0.00%;size-adjust: 104.53%
}.__className_0eeb07 {font-family: '__DM_Sans_0eeb07', '__DM_Sans_Fallback_0eeb07';font-style: normal
}.__variable_0eeb07 {--font-dm-sans: '__DM_Sans_0eeb07', '__DM_Sans_Fallback_0eeb07'
}

/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Space_Mono","arguments":[{"subsets":["latin"],"weight":["400","700"],"variable":"--font-space-mono","display":"swap"}],"variableName":"spaceMono"} ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* vietnamese */
@font-face {
  font-family: '__Space_Mono_e8b655';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/ae822095a172cc5c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__Space_Mono_e8b655';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/3c70c5716f1730b3-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__Space_Mono_e8b655';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/fc727f226c737876-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: '__Space_Mono_e8b655';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/77fb5eec12c66d49-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__Space_Mono_e8b655';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/281dae1e814de8c6-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__Space_Mono_e8b655';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/806de4d605d3ad01-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: '__Space_Mono_Fallback_e8b655';src: local("Arial");ascent-override: 81.58%;descent-override: 26.30%;line-gap-override: 0.00%;size-adjust: 137.28%
}.__className_e8b655 {font-family: '__Space_Mono_e8b655', '__Space_Mono_Fallback_e8b655';font-style: normal
}.__variable_e8b655 {--font-space-mono: '__Space_Mono_e8b655', '__Space_Mono_Fallback_e8b655'
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

b,
strong {
  font-weight: bolder;
}

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

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

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

small {
  font-size: 80%;
}

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

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

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

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

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

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

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

button,
select {
  text-transform: none;
}

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

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

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

:-moz-focusring {
  outline: auto;
}

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

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

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

progress {
  vertical-align: baseline;
}

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

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

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

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

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

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

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

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

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

summary {
  display: list-item;
}

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

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

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

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

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

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

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

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

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

/*
Set the default cursor for buttons.
*/

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

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

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

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

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

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

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
  :root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }

  html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

  body {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5rem;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
}

  /* Scrollbar — thin, subtle, professional */
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
  ::-webkit-scrollbar-thumb:hover { background: #94A3B8; }
/* Card — the primary surface container */
.card {
  border-radius: 0.75rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.04);
  --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);
}
/* KPI Card — dashboard metric card */
.kpi-card {
  border-radius: 0.75rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.04);
  --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);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
}
/* Status badge */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
}
/* Button base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  font-weight: 500;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.btn:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: rgb(79 70 229 / 0.3);
  --tw-ring-offset-width: 1px;
}
.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}
/* Input */
.input {
  height: 2.5rem;
  width: 100%;
  border-radius: 0.75rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.input::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}
.input::placeholder {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}
.input:focus {
  --tw-border-opacity: 1;
  border-color: rgb(79 70 229 / var(--tw-border-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: rgb(79 70 229 / 0.3);
}
.input-error {
  --tw-border-opacity: 1;
  border-color: rgb(220 38 38 / var(--tw-border-opacity, 1));
}
.input-error:focus {
  --tw-border-opacity: 1;
  border-color: rgb(220 38 38 / var(--tw-border-opacity, 1));
  --tw-ring-color: rgb(220 38 38 / 0.3);
}
/* Data table */
.table-header {
  position: sticky;
  top: 0px;
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: left;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
.table-row {
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.table-row:hover {
  background-color: rgb(238 242 255 / 0.4);
}
.table-cell {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
}
/* Alert banner */
/* Live indicator */
.live-dot {
  height: 0.5rem;
  width: 0.5rem;
}
@keyframes pulse-live {

  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}
.live-dot {
  animation: pulse-live 2s ease-in-out infinite;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
}
/* App shell layout */
.app-shell {
  display: flex;
  height: 100vh;
  overflow: hidden;
}
.app-sidebar {
  display: flex;
  width: 15rem;
  min-width: 240px;
  flex-direction: column;
  border-right-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.app-topnav {
  display: flex;
  height: 4rem;
  align-items: center;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.app-main {
  flex: 1 1 0%;
  overflow-y: auto;
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
}
.app-content {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
/* Sidebar nav item */
.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.nav-item:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
}
.nav-item-active {
  --tw-bg-opacity: 1;
  background-color: rgb(238 242 255 / var(--tw-bg-opacity, 1));
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / var(--tw-text-opacity, 1));
}
.pointer-events-none {
  pointer-events: none;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.inset-y-0 {
  top: 0px;
  bottom: 0px;
}
.-bottom-32 {
  bottom: -8rem;
}
.-left-24 {
  left: -6rem;
}
.-right-24 {
  right: -6rem;
}
.-top-24 {
  top: -6rem;
}
.bottom-4 {
  bottom: 1rem;
}
.bottom-\[-5\%\] {
  bottom: -5%;
}
.left-1\/2 {
  left: 50%;
}
.left-3 {
  left: 0.75rem;
}
.right-0 {
  right: 0px;
}
.right-2 {
  right: 0.5rem;
}
.right-3 {
  right: 0.75rem;
}
.right-4 {
  right: 1rem;
}
.top-0 {
  top: 0px;
}
.top-1\/2 {
  top: 50%;
}
.z-10 {
  z-index: 10;
}
.z-50 {
  z-index: 50;
}
.z-\[60\] {
  z-index: 60;
}
.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}
.mx-6 {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}
.-mb-px {
  margin-bottom: -1px;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.ml-0\.5 {
  margin-left: 0.125rem;
}
.mr-1 {
  margin-right: 0.25rem;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.block {
  display: block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.table-cell {
  display: table-cell;
}
.table-row {
  display: table-row;
}
.hidden {
  display: none;
}
.h-1\.5 {
  height: 0.375rem;
}
.h-10 {
  height: 2.5rem;
}
.h-11 {
  height: 2.75rem;
}
.h-12 {
  height: 3rem;
}
.h-16 {
  height: 4rem;
}
.h-3 {
  height: 0.75rem;
}
.h-3\.5 {
  height: 0.875rem;
}
.h-4 {
  height: 1rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-7 {
  height: 1.75rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-\[420px\] {
  height: 420px;
}
.h-\[620px\] {
  height: 620px;
}
.h-\[680px\] {
  height: 680px;
}
.h-full {
  height: 100%;
}
.min-h-screen {
  min-height: 100vh;
}
.w-1\.5 {
  width: 0.375rem;
}
.w-12 {
  width: 3rem;
}
.w-16 {
  width: 4rem;
}
.w-20 {
  width: 5rem;
}
.w-24 {
  width: 6rem;
}
.w-3 {
  width: 0.75rem;
}
.w-3\.5 {
  width: 0.875rem;
}
.w-4 {
  width: 1rem;
}
.w-5 {
  width: 1.25rem;
}
.w-6 {
  width: 1.5rem;
}
.w-72 {
  width: 18rem;
}
.w-8 {
  width: 2rem;
}
.w-80 {
  width: 20rem;
}
.w-\[420px\] {
  width: 420px;
}
.w-\[480px\] {
  width: 480px;
}
.w-\[620px\] {
  width: 620px;
}
.w-\[680px\] {
  width: 680px;
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-\[64px\] {
  min-width: 64px;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-sm {
  max-width: 24rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.rotate-180 {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.animate-none {
  animation: none;
}
@keyframes pulse {

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

  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.cursor-pointer {
  cursor: pointer;
}
.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.appearance-none {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rounded {
  border-radius: 0.5rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.75rem;
}
.rounded-xl {
  border-radius: 1rem;
}
.border {
  border-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-l {
  border-left-width: 1px;
}
.border-l-4 {
  border-left-width: 4px;
}
.border-t {
  border-top-width: 1px;
}
.border-border {
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
}
.border-primary {
  --tw-border-opacity: 1;
  border-color: rgb(79 70 229 / var(--tw-border-opacity, 1));
}
.border-teal-300\/10 {
  border-color: rgb(94 234 212 / 0.1);
}
.border-teal-300\/15 {
  border-color: rgb(94 234 212 / 0.15);
}
.border-transparent {
  border-color: transparent;
}
.border-l-error {
  --tw-border-opacity: 1;
  border-left-color: rgb(220 38 38 / var(--tw-border-opacity, 1));
}
.border-l-success {
  --tw-border-opacity: 1;
  border-left-color: rgb(5 150 105 / var(--tw-border-opacity, 1));
}
.border-l-surface-subtle {
  --tw-border-opacity: 1;
  border-left-color: rgb(241 245 249 / var(--tw-border-opacity, 1));
}
.border-l-warning {
  --tw-border-opacity: 1;
  border-left-color: rgb(217 119 6 / var(--tw-border-opacity, 1));
}
.bg-black\/30 {
  background-color: rgb(0 0 0 / 0.3);
}
.bg-black\/40 {
  background-color: rgb(0 0 0 / 0.4);
}
.bg-error {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.bg-error\/10 {
  background-color: rgb(220 38 38 / 0.1);
}
.bg-info {
  --tw-bg-opacity: 1;
  background-color: rgb(2 132 199 / var(--tw-bg-opacity, 1));
}
.bg-info\/10 {
  background-color: rgb(2 132 199 / 0.1);
}
.bg-primary {
  --tw-bg-opacity: 1;
  background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1));
}
.bg-primary-light {
  --tw-bg-opacity: 1;
  background-color: rgb(238 242 255 / var(--tw-bg-opacity, 1));
}
.bg-primary\/20 {
  background-color: rgb(79 70 229 / 0.2);
}
.bg-success {
  --tw-bg-opacity: 1;
  background-color: rgb(5 150 105 / var(--tw-bg-opacity, 1));
}
.bg-success\/10 {
  background-color: rgb(5 150 105 / 0.1);
}
.bg-surface-subtle {
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
}
.bg-teal-300\/70 {
  background-color: rgb(94 234 212 / 0.7);
}
.bg-teal-400\/15 {
  background-color: rgb(45 212 191 / 0.15);
}
.bg-text-muted {
  --tw-bg-opacity: 1;
  background-color: rgb(148 163 184 / var(--tw-bg-opacity, 1));
}
.bg-warning {
  --tw-bg-opacity: 1;
  background-color: rgb(217 119 6 / var(--tw-bg-opacity, 1));
}
.bg-warning\/10 {
  background-color: rgb(217 119 6 / 0.1);
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.from-\[hsl\(168\2c 80\%\2c 28\%\)\] {
  --tw-gradient-from: hsl(168,80%,28%) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(168 80% 28% / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-\[hsl\(168\2c 55\%\2c 18\%\)\] {
  --tw-gradient-to: hsl(168,55%,18%) var(--tw-gradient-to-position);
}
.bg-clip-text {
  -webkit-background-clip: text;
          background-clip: text;
}
.p-0\.5 {
  padding: 0.125rem;
}
.p-1 {
  padding: 0.25rem;
}
.p-1\.5 {
  padding: 0.375rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.pb-0 {
  padding-bottom: 0px;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pb-5 {
  padding-bottom: 1.25rem;
}
.pl-3 {
  padding-left: 0.75rem;
}
.pl-9 {
  padding-left: 2.25rem;
}
.pr-10 {
  padding-right: 2.5rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pt-5 {
  padding-top: 1.25rem;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-2xl {
  font-size: 1.75rem;
  line-height: 2rem;
}
.text-\[12px\] {
  font-size: 12px;
}
.text-\[13px\] {
  font-size: 13px;
}
.text-\[18px\] {
  font-size: 18px;
}
.text-base {
  font-size: 0.9375rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.375rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.tracking-\[0\.18em\] {
  letter-spacing: 0.18em;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.text-error {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}
.text-info {
  --tw-text-opacity: 1;
  color: rgb(2 132 199 / var(--tw-text-opacity, 1));
}
.text-primary {
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / var(--tw-text-opacity, 1));
}
.text-red-300 {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}
.text-success {
  --tw-text-opacity: 1;
  color: rgb(5 150 105 / var(--tw-text-opacity, 1));
}
.text-text {
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
}
.text-text-muted {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}
.text-text-secondary {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
.text-transparent {
  color: transparent;
}
.text-warning {
  --tw-text-opacity: 1;
  color: rgb(217 119 6 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.text-zinc-100 {
  --tw-text-opacity: 1;
  color: rgb(244 244 245 / var(--tw-text-opacity, 1));
}
.text-zinc-400 {
  --tw-text-opacity: 1;
  color: rgb(161 161 170 / var(--tw-text-opacity, 1));
}
.text-zinc-50 {
  --tw-text-opacity: 1;
  color: rgb(250 250 250 / var(--tw-text-opacity, 1));
}
.underline {
  text-decoration-line: underline;
}
.opacity-30 {
  opacity: 0.3;
}
.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.03);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-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);
}
.outline {
  outline-style: solid;
}
.ring-1 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-teal-400\/20 {
  --tw-ring-color: rgb(45 212 191 / 0.2);
}
.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.drop-shadow {
  --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-150 {
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.hover\:border-border-strong:hover {
  --tw-border-opacity: 1;
  border-color: rgb(203 213 225 / var(--tw-border-opacity, 1));
}

.hover\:bg-emerald-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(4 120 87 / var(--tw-bg-opacity, 1));
}

.hover\:bg-primary-hover:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(67 56 202 / var(--tw-bg-opacity, 1));
}

.hover\:bg-red-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}

.hover\:bg-surface-secondary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
}

.hover\:bg-surface-subtle:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
}

.hover\:from-\[hsl\(168\2c 80\%\2c 38\%\)\]:hover {
  --tw-gradient-from: hsl(168,80%,38%) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(168 80% 38% / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.hover\:to-\[hsl\(168\2c 55\%\2c 28\%\)\]:hover {
  --tw-gradient-to: hsl(168,55%,28%) var(--tw-gradient-to-position);
}

.hover\:text-primary-hover:hover {
  --tw-text-opacity: 1;
  color: rgb(67 56 202 / var(--tw-text-opacity, 1));
}

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

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

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

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-primary\/30:focus {
  --tw-ring-color: rgb(79 70 229 / 0.3);
}

.focus\:ring-offset-1:focus {
  --tw-ring-offset-width: 1px;
}

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

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

@media (min-width: 768px) {

  .md\:block {
    display: block;
  }
}

@media (min-width: 1024px) {

  .lg\:block {
    display: block;
  }
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/slotgen.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* ============================================================
   Slot Management — Field Operations Console
   Dark command-center · jade signal on layered near-black
   (ported verbatim from the local app; --font-body/--font-mono
    remapped to next/font CSS variables)
   ============================================================ */

:root {
  color-scheme: dark;

  /* surfaces */
  --bg:        #07090b;
  --bg-2:      #0a0d10;
  --surface:   #0e1317;
  --surface-2: #131a1f;
  --surface-3: #18222a;
  --line:      #1b262d;
  --line-2:    #26343d;

  /* ink */
  --ink:    #e8f0f2;
  --ink-2:  #9fb0b8;
  --ink-3:  #61737c;
  --ink-4:  #3f4e57;

  /* signal */
  --jade:       #1fd6a0;
  --jade-dim:   #15a87e;
  --jade-soft:  rgba(31, 214, 160, 0.12);
  --jade-glow:  rgba(31, 214, 160, 0.45);
  --jade-2:     rgba(31, 214, 160, 0.20);   /* stronger jade tint — hover/peak fills */
  --indigo:     #7c83ff;
  --indigo-soft:rgba(124, 131, 255, 0.13);
  --indigo-2:   rgba(124, 131, 255, 0.20);
  --amber:      #f5b13d;
  --amber-soft: rgba(245, 177, 61, 0.13);
  --red:        #ff5d5d;
  --red-soft:   rgba(255, 93, 93, 0.12);

  /* semantic tokens shared by both themes (overridden in the light block) */
  --on-accent: #06120e;          /* ink/icons that sit ON a jade fill */
  --ink-err:   #ffb4b4;          /* readable error/warning text per theme */
  --ink-warn:  #f3cd95;

  --font-body: var(--font-dm-sans), 'DM Sans', system-ui, sans-serif;
  --font-mono: var(--font-space-mono), 'Space Mono', ui-monospace, monospace;

  --r: 4px;          /* base radius — sharp, console-like */
  --r-lg: 8px;
  --ease: cubic-bezier(0.4, 0.0, 0.1, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* the [hidden] attribute must always win, even over flex/grid display rules */
[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* atmosphere ---------------------------------------------------- */
.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.04; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow {
  position: fixed; z-index: 0; pointer-events: none;
  border-radius: 50%; filter: blur(120px); opacity: 0.5;
}
.glow-a { top: -160px; left: -120px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(31,214,160,0.16), transparent 70%); }
.glow-b { bottom: -200px; right: -140px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,131,255,0.12), transparent 70%); }

/* topbar -------------------------------------------------------- */
.topbar {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14,19,23,0.9), rgba(7,9,11,0.4));
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 30px; height: 30px; flex: none; position: relative;
  background:
    linear-gradient(135deg, var(--jade), var(--jade-dim));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 18px var(--jade-glow);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title {
  font-family: var(--font-mono); font-weight: 700; font-size: 15px;
  letter-spacing: 0.18em;
}
.brand-sub { color: var(--ink-3); font-size: 11.5px; letter-spacing: 0.04em; }
.topbar-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2);
}
.ctx { color: var(--jade); letter-spacing: 0.05em; }
.dot { color: var(--ink-4); }
.clock { color: var(--ink-3); letter-spacing: 0.08em; }

/* console layout ------------------------------------------------ */
.console {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 22px;
  padding: 22px 28px 40px;
  max-width: 1500px; margin: 0 auto;
  align-items: start;
}
.panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(19,26,31,0.6), rgba(10,13,16,0.6));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
}
.control { position: sticky; top: 22px; }

/* HUD corner ticks */
.tick { position: absolute; width: 9px; height: 9px; border: 1.5px solid var(--jade); opacity: 0.5; }
.tick.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.tick.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.tick.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.tick.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* blocks -------------------------------------------------------- */
.block { padding: 18px 0; border-bottom: 1px dashed var(--line); }
.block:first-of-type { padding-top: 2px; }
.generate-block { border-bottom: none; padding-bottom: 2px; }
.eyebrow {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 13px;
}
.eyebrow .num {
  color: var(--jade); border: 1px solid var(--jade-soft);
  background: var(--jade-soft); padding: 1px 6px; border-radius: 3px;
  font-size: 10.5px;
}

/* fields -------------------------------------------------------- */
.field { position: relative; display: flex; flex-direction: column; gap: 5px; }
.mini-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3);
}
.input, .select {
  width: 100%; -moz-appearance: none; appearance: none; -webkit-appearance: none;
  background: var(--bg-2); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 11px 13px; font-family: var(--font-body); font-size: 14px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.input:focus, .select:focus {
  outline: none; border-color: var(--jade-dim);
  box-shadow: 0 0 0 3px var(--jade-soft);
}
.input::-webkit-calendar-picker-indicator { filter: invert(0.7); cursor: pointer; }
.select { padding-right: 36px; cursor: pointer; }
.select-caret {
  position: absolute; right: 14px; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2);
  transform: translateY(-65%) rotate(45deg); pointer-events: none;
}

/* segmented toggle --------------------------------------------- */
.seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 3px; gap: 3px; margin-bottom: 14px;
}
.seg-btn {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  color: var(--ink-2); background: transparent; border: none;
  padding: 8px 10px; border-radius: 3px; cursor: pointer;
  transition: all 0.16s var(--ease);
}
.seg-btn:hover { color: var(--ink); }
.seg-btn.is-on {
  background: var(--surface-3); color: var(--jade);
  box-shadow: inset 0 0 0 1px var(--jade-soft);
}

/* roster summary ------------------------------------------------ */
.roster-pane { animation: fade 0.25s var(--ease); }
.roster-summary {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px;
}
.rs-loading { color: var(--ink-3); font-family: var(--font-mono); font-size: 12px; }
.rs-top {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 12px;
}
.rs-count { font-family: var(--font-mono); font-weight: 700; font-size: 26px; color: var(--ink); }
.rs-count em { font-style: normal; font-size: 12px; color: var(--ink-3); margin-left: 6px; font-family: var(--font-body); }
.rs-file { font-family: var(--font-mono); font-size: 11px; color: var(--jade); max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-family: var(--font-mono); font-size: 11.5px;
  background: var(--surface-2); border: 1px solid var(--line-2);
  color: var(--ink-2); padding: 4px 9px; border-radius: 20px;
}
.chip b { color: var(--ink); }
.chip.a b { color: var(--jade); }
.chip.b b { color: var(--indigo); }
.chip.c b { color: var(--amber); }

/* validation messages ------------------------------------------ */
.msg { display: flex; gap: 9px; font-size: 12.5px; padding: 8px 0; line-height: 1.45; }
.msg + .msg { border-top: 1px solid var(--line); }
.msg::before { font-family: var(--font-mono); font-weight: 700; flex: none; }
.msg.err { color: var(--ink-err); } .msg.err::before { content: '✕'; color: var(--red); }
.msg.warn { color: var(--ink-warn); } .msg.warn::before { content: '!'; color: var(--amber); }
.msg.ok { color: var(--jade); } .msg.ok::before { content: '✓'; color: var(--jade); }
.msg-group { margin-top: 12px; }

/* dropzone ------------------------------------------------------ */
.dropzone {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center; padding: 26px 16px; cursor: pointer;
  background: var(--bg-2);
  border: 1.5px dashed var(--line-2); border-radius: var(--r);
  transition: all 0.18s var(--ease);
}
.dropzone:hover, .dropzone.drag {
  border-color: var(--jade-dim); background: var(--jade-soft);
}
.dz-icon { width: 26px; height: 26px; position: relative; margin-bottom: 4px; }
.dz-icon::before {
  content: ''; position: absolute; inset: 0;
  border: 2px solid var(--ink-3); border-radius: 4px;
  clip-path: polygon(0 35%, 35% 35%, 50% 0, 100% 0, 100% 100%, 0 100%);
}
.dropzone:hover .dz-icon::before { border-color: var(--jade); }
.dz-main { font-weight: 600; color: var(--ink); }
.dz-sub { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }

/* range --------------------------------------------------------- */
.range-row { display: flex; align-items: flex-end; gap: 10px; }
.range-row .field { flex: 1; }
.range-arrow { width: 16px; height: 10px; flex: none; margin-bottom: 13px; position: relative; }
.range-arrow::after {
  content: '→'; color: var(--ink-3); font-size: 15px; position: absolute; inset: 0;
}
.range-hint {
  margin-top: 10px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3);
}
.range-hint b { color: var(--jade); }

/* checkbox ------------------------------------------------------ */
.check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check-box {
  width: 18px; height: 18px; flex: none; margin-top: 1px;
  border: 1.5px solid var(--line-2); border-radius: 3px; background: var(--bg-2);
  transition: all 0.15s var(--ease); position: relative;
}
.check input:checked + .check-box {
  background: var(--jade); border-color: var(--jade);
}
.check input:checked + .check-box::after {
  content: ''; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 9px;
  border: solid var(--on-accent); border-width: 0 2px 2px 0; transform: rotate(43deg);
}
.check input:focus-visible + .check-box { box-shadow: 0 0 0 3px var(--jade-soft); }
.check-text { font-size: 13.5px; color: var(--ink); display: flex; flex-direction: column; }
.check-text em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }

/* generate ------------------------------------------------------ */
.generate {
  width: 100%; position: relative; cursor: pointer;
  font-family: var(--font-mono); font-weight: 700; font-size: 14px; letter-spacing: 0.08em;
  color: var(--on-accent); background: linear-gradient(135deg, var(--jade), var(--jade-dim));
  border: none; border-radius: var(--r); padding: 15px;
  box-shadow: 0 0 0 1px var(--jade-dim), 0 8px 26px -10px var(--jade-glow);
  transition: transform 0.12s var(--ease), box-shadow 0.18s var(--ease), filter 0.15s;
  overflow: hidden;
}
.generate::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.6s var(--ease);
}
.generate:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--jade), 0 12px 32px -8px var(--jade-glow); }
.generate:hover:not(:disabled)::before { transform: translateX(120%); }
.generate:active:not(:disabled) { transform: translateY(0); }
.generate:disabled { filter: grayscale(0.6) brightness(0.7); cursor: not-allowed; box-shadow: none; }
.generate.is-busy { pointer-events: none; }
.generate.is-busy .gen-label { opacity: 0.4; }
.gen-spinner {
  position: absolute; top: 50%; left: 50%; width: 18px; height: 18px;
  margin: -9px 0 0 -9px; border: 2px solid rgba(0,0,0,0.28); border-top-color: var(--on-accent);
  border-radius: 50%; opacity: 0; animation: spin 0.7s linear infinite;
}
.generate.is-busy .gen-spinner { opacity: 1; }
.gen-status { margin-top: 11px; min-height: 16px; font-family: var(--font-mono); font-size: 11.5px; text-align: center; color: var(--ink-3); }
.gen-status.err { color: var(--red); }
.gen-status.ok { color: var(--jade); }

/* output -------------------------------------------------------- */
.output { min-height: 540px; padding: 0; display: flex; flex-direction: column; }
.output-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
}
.out-tabs { display: flex; gap: 4px; }
.out-tab {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--ink-3); background: transparent; border: none; cursor: pointer;
  padding: 7px 14px; border-radius: var(--r); position: relative; transition: color 0.15s;
}
.out-tab:hover { color: var(--ink-2); }
.out-tab.is-on { color: var(--jade); background: var(--jade-soft); }
.out-body { padding: 22px; flex: 1; }

/* ghost / icon buttons */
.ghost-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--jade); background: var(--jade-soft);
  border: 1px solid var(--jade-soft); border-radius: var(--r);
  padding: 8px 13px; cursor: pointer; transition: all 0.15s var(--ease);
}
.ghost-btn:hover { background: var(--jade-2); border-color: var(--jade-dim); }
.da-icon { width: 12px; height: 12px; position: relative; flex: none; }
.da-icon::before { content: '↓'; position: absolute; inset: 0; text-align: center; font-size: 13px; line-height: 12px; }
.icon-btn {
  width: 32px; height: 32px; border-radius: var(--r); cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ink-2);
  font-size: 13px; transition: all 0.15s var(--ease);
}
.icon-btn:hover { color: var(--ink); border-color: var(--ink-3); }

/* empty state --------------------------------------------------- */
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 70px 20px; text-align: center; }
.empty-art { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-bottom: 24px; }
.empty-art span {
  width: 13px; border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--jade), var(--jade-dim));
  opacity: 0.32; animation: breathe 2.6s var(--ease) infinite;
}
.empty-art span:nth-child(1) { height: 42%; animation-delay: 0s; }
.empty-art span:nth-child(2) { height: 64%; animation-delay: 0.18s; }
.empty-art span:nth-child(3) { height: 100%; animation-delay: 0.36s; }
.empty-art span:nth-child(4) { height: 82%; animation-delay: 0.54s; }
.empty-art span:nth-child(5) { height: 54%; animation-delay: 0.72s; }
.empty-art span:nth-child(6) { height: 72%; animation-delay: 0.9s; }
.empty-art span:nth-child(7) { height: 46%; animation-delay: 1.08s; }
.empty-sub b { color: var(--ink-2); font-weight: 600; }
.empty-title { font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.empty-sub { color: var(--ink-3); font-size: 13px; max-width: 320px; }

/* results ------------------------------------------------------- */
.results { display: flex; flex-direction: column; gap: 14px; }
.order-hint {
  font-size: 12.5px; color: var(--ink-2); line-height: 1.5;
  background: var(--indigo-soft); border: 1px solid var(--indigo-2);
  border-left: 3px solid var(--indigo); border-radius: var(--r); padding: 10px 14px;
}
.order-hint b { color: var(--ink); }
.day-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 18px; position: relative;
  animation: fadeUp 0.4s var(--ease) both;
}
.day-card::before {
  content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
  background: linear-gradient(180deg, var(--jade), var(--jade-dim)); border-radius: 0 3px 3px 0;
}
.dc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dc-date { display: flex; flex-direction: column; }
.dc-day { font-family: var(--font-mono); font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: 0.02em; }
.dc-dow { font-size: 11.5px; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.dc-stats { display: flex; gap: 22px; margin-bottom: 14px; }
.stat { display: flex; flex-direction: column; }
.stat-val { font-family: var(--font-mono); font-weight: 700; font-size: 22px; color: var(--ink); }
.stat-val.jade { color: var(--jade); }
.stat-label { font-size: 11px; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.dc-shifts { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.dc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 500;
  border-radius: var(--r); padding: 8px 12px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink-2);
  transition: all 0.15s var(--ease);
}
.btn:hover { color: var(--ink); border-color: var(--ink-3); background: var(--surface-3); }
.btn.primary { color: var(--jade); border-color: var(--jade-soft); background: var(--jade-soft); }
.btn.primary:hover { background: var(--jade-2); }
.btn .b-ic { font-family: var(--font-mono); font-size: 12px; }

/* dropped expander */
.dropped { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 12px; }
.dropped-toggle {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--amber);
  background: none; border: none; padding: 0;
}
.dropped-toggle .caret { transition: transform 0.18s var(--ease); display: inline-block; }
.dropped.open .dropped-toggle .caret { transform: rotate(90deg); }
.dropped-list { display: none; margin-top: 10px; }
.dropped.open .dropped-list { display: block; animation: fade 0.2s var(--ease); }
.drop-row {
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  padding: 6px 0; font-size: 12px; border-bottom: 1px solid var(--line);
}
.drop-row:last-child { border-bottom: none; }
.drop-name { color: var(--ink-2); }
.drop-name b { color: var(--ink); }
.drop-reason { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); text-align: right; }

/* history ------------------------------------------------------- */
.history { display: flex; flex-direction: column; gap: 8px; }
.hist-day {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
}
.hist-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 15px; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none;
}
.hist-head:hover { background: var(--surface-2); }
.hist-date { font-family: var(--font-mono); font-size: 13px; color: var(--ink); letter-spacing: 0.03em; }
.hist-meta { display: flex; align-items: center; gap: 10px; }
.hist-count { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.hist-caret { width: 7px; height: 7px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); transition: transform 0.18s var(--ease); }
.hist-day.open .hist-caret { transform: rotate(-135deg); }
.hist-files { display: none; padding: 4px 15px 14px; }
.hist-day.open .hist-files { display: block; animation: fade 0.2s var(--ease); }
.hist-file {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  border-top: 1px solid var(--line); font-size: 12.5px;
}
.hf-kind {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 3px; flex: none;
}
.hf-kind.slot { color: var(--jade); background: var(--jade-soft); }
.hf-kind.booking { color: var(--indigo); background: var(--indigo-soft); }
.hf-kind.unknown { color: var(--ink-3); background: var(--surface-2); }
.hf-name { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hf-size { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-4); }
.hf-link { cursor: pointer; color: var(--jade); font-family: var(--font-mono); font-size: 11px; background: none; border: none; padding: 2px 4px; }
.hf-link:hover { text-decoration: underline; }

/* modal --------------------------------------------------------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  background: rgba(4,6,8,0.7); backdrop-filter: blur(4px); padding: 32px;
  animation: fade 0.18s var(--ease);
}
.modal {
  width: min(960px, 100%); max-height: 86vh; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7); animation: fadeUp 0.25s var(--ease);
  overflow: hidden;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.modal-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.modal-kind { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; color: var(--jade); background: var(--jade-soft); flex: none; }
.modal-name { font-family: var(--font-mono); font-size: 13px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.modal-meta { padding: 9px 20px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.modal-body { overflow: auto; padding: 0; flex: 1; }

/* data table ---------------------------------------------------- */
.table-wrap { overflow: auto; }
table.data { border-collapse: collapse; width: 100%; font-family: var(--font-mono); font-size: 11.5px; }
table.data th {
  position: sticky; top: 0; z-index: 1; text-align: left;
  background: var(--surface-2); color: var(--ink-2);
  font-weight: 700; font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 9px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
table.data td { padding: 7px 12px; color: var(--ink-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data tr:hover td { background: var(--surface-2); color: var(--ink); }
table.data td.idx { color: var(--ink-4); text-align: right; }

/* toast --------------------------------------------------------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 80; background: var(--surface-3); border: 1px solid var(--line-2);
  color: var(--ink); padding: 12px 18px; border-radius: var(--r);
  font-size: 13px; box-shadow: 0 14px 40px -12px rgba(0,0,0,0.6);
  opacity: 0; transition: all 0.25s var(--ease); pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { border-color: var(--red); color: var(--ink-err); }
.toast.ok { border-color: var(--jade-dim); color: var(--jade); }

/* animations ---------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes breathe { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.9; } }
.reveal { animation: fadeUp 0.5s var(--ease) both; animation-delay: calc(var(--i) * 0.06s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* responsive ---------------------------------------------------- */
@media (max-width: 1020px) {
  .console { grid-template-columns: 1fr; }
  .control { position: relative; top: 0; }
}
@media (max-width: 560px) {
  .topbar { padding: 14px 16px; }
  .console { padding: 16px; gap: 16px; }
  .dc-stats { gap: 16px; }
}

/* ============================================================
   Round-2 enhancements
   ============================================================ */

/* eyebrow action link + secondary button -------------------- */
.eyebrow .link-btn {
  margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--jade); background: none; border: none; cursor: pointer; padding: 2px 4px; text-transform: none;
}
.eyebrow .link-btn:hover { text-decoration: underline; }
.secondary-btn {
  width: 100%; margin-top: 9px; cursor: pointer;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--jade); background: var(--jade-soft); border: 1px solid var(--jade-soft);
  border-radius: var(--r); padding: 10px; transition: all 0.15s var(--ease);
}
.secondary-btn:hover:not(:disabled) { background: var(--jade-2); border-color: var(--jade-dim); }
.secondary-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* custom dropdown ------------------------------------------- */
.block.raised { position: relative; z-index: 40; }
.dropdown { position: relative; }
.dropdown-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-2); color: var(--ink); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 11px 13px; cursor: pointer; font-family: var(--font-body); font-size: 14px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.dropdown-btn:hover { border-color: var(--hairline, var(--ink-4)); }
.dropdown-btn.open { border-color: var(--jade-dim); box-shadow: 0 0 0 3px var(--jade-soft); }
.dropdown-caret { width: 8px; height: 8px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: translateY(-2px) rotate(45deg); transition: transform 0.18s var(--ease); }
.dropdown-btn.open .dropdown-caret { transform: translateY(2px) rotate(-135deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 5px); left: 0; right: 0; z-index: 20;
  list-style: none; margin: 0; padding: 4px; background: var(--surface-2);
  border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.6);
  animation: fade 0.14s var(--ease);
}
.dropdown-opt {
  padding: 10px 11px; border-radius: 3px; cursor: pointer; font-size: 14px; color: var(--ink-2);
  display: flex; align-items: center; gap: 8px;
}
.dropdown-opt:hover { background: var(--surface-3); color: var(--ink); }
.dropdown-opt.is-on { color: var(--jade); }
.dropdown-opt.is-on::before { content: '✓'; font-family: var(--font-mono); font-size: 11px; }
.dropdown-opt:not(.is-on)::before { content: ''; width: 7px; }

/* custom date field + calendar ------------------------------ */
.datefield {
  width: 100%; display: flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--bg-2); color: var(--ink); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 11px 13px; font-family: var(--font-body); font-size: 14px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.datefield:hover { border-color: var(--ink-4); }
.datefield:focus-visible { outline: none; border-color: var(--jade-dim); box-shadow: 0 0 0 3px var(--jade-soft); }
.df-icon { width: 15px; height: 15px; flex: none; position: relative; }
.df-icon::before { content: ''; position: absolute; inset: 1px 0 0; border: 1.5px solid var(--ink-3); border-radius: 2px; }
.df-icon::after { content: ''; position: absolute; top: -1px; left: 3px; right: 3px; height: 3px; border-left: 1.5px solid var(--ink-3); border-right: 1.5px solid var(--ink-3); }
.datefield:hover .df-icon::before, .datefield:hover .df-icon::after { border-color: var(--jade); }
.df-text { font-family: var(--font-mono); font-size: 13px; }

.cal-pop {
  position: fixed; z-index: 60; width: 256px; padding: 12px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: 0 20px 50px -14px rgba(0,0,0,0.7); animation: fadeUp 0.16s var(--ease);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-title { font-family: var(--font-mono); font-size: 13px; color: var(--ink); letter-spacing: 0.04em; }
.cal-nav { width: 26px; height: 26px; border-radius: 3px; cursor: pointer; background: var(--surface-3); border: 1px solid var(--line-2); color: var(--ink-2); font-size: 15px; line-height: 1; }
.cal-nav:hover { color: var(--jade); border-color: var(--jade-dim); }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal-grid { grid-auto-rows: 30px; align-content: start; }   /* fixed rows — can't spread/inflate */
.cal-dow { margin-bottom: 4px; }
.cal-dow span { text-align: center; font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-4); padding: 3px 0; }
.cal-cell { border: none; background: transparent; color: var(--ink-2); font-family: var(--font-mono); font-size: 12.5px; border-radius: 3px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cal-cell:hover { background: var(--surface-3); color: var(--ink); }
.cal-cell.today { box-shadow: inset 0 0 0 1px var(--hairline, var(--ink-4)); color: var(--ink); }
.cal-cell.sel { background: var(--jade); color: var(--on-accent); font-weight: 700; }
.cal-foot { margin-top: 10px; display: flex; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.cal-preset { flex: 1; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-2); background: var(--surface-3); border: 1px solid var(--line-2); border-radius: 3px; cursor: pointer; padding: 6px 4px; transition: all 0.14s var(--ease); }
.cal-preset:hover { color: var(--jade); border-color: var(--jade-dim); background: var(--jade-soft); }

/* larger modal + small seg + viewer body -------------------- */
.modal-lg { width: min(1040px, 100%); }
.seg.seg-sm { display: inline-grid; padding: 2px; margin: 0; gap: 2px; }
.seg.seg-sm .seg-btn { font-size: 11.5px; padding: 5px 12px; }
#vBody { padding: 20px 22px; }
.mono { font-family: var(--font-mono); }
.dim { color: var(--ink-3); }
.slot-note { margin-top: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }

/* day plan -------------------------------------------------- */
.plan-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.pstat { background: linear-gradient(180deg, var(--surface-2), var(--bg-2)); border: 1px solid var(--line); border-top-color: var(--line-2); border-radius: var(--r); padding: 13px 14px; }
.pstat .pv { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 24px; color: var(--ink); }
.pstat .pv.jade { color: var(--jade); }
.pstat .pl { font-size: 11px; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: 0.04em; }
.plan-sec { margin-bottom: 24px; }
.plan-h { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; display: flex; align-items: baseline; gap: 10px; }
.plan-sub { font-size: 10px; letter-spacing: 0.04em; text-transform: none; color: var(--ink-4); }

/* coverage timeline */
.cov { display: flex; align-items: flex-end; gap: 4px; height: 130px; padding: 4px 0; }
.cov-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; height: 100%; justify-content: flex-end; }
.cov-count { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); }
.cov-track { width: 100%; flex: 1; display: flex; align-items: flex-end; }
.cov-bar { width: 100%; min-height: 2px; background: linear-gradient(180deg, var(--jade-dim), var(--jade)); border-radius: 2px 2px 0 0; opacity: 0.55; transition: opacity 0.15s; transform-origin: bottom center; animation: covGrow 0.5s var(--ease) both; }
@keyframes covGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .cov-bar { animation: none; } }
.cov-col.peak .cov-bar { opacity: 1; box-shadow: 0 0 12px var(--jade-glow); }
.cov-col.zero .cov-bar { background: var(--red); opacity: 0.5; }
.cov-col:hover .cov-bar { opacity: 1; }
.cov-time { font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-4); }

/* shift groups + tables */
.shift-grp { margin-bottom: 16px; }
.shift-hd { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.shift-hd b { color: var(--jade); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; }
.shift-win { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.shift-n { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
table.data.plan-tbl th, table.data.plan-tbl td { white-space: normal; }
table.data.plan-tbl td { font-family: var(--font-body); font-size: 13px; color: var(--ink); }
table.data.plan-tbl td.mono { font-family: var(--font-mono); font-size: 12px; }

/* off today */
.off-list { display: flex; flex-direction: column; gap: 1px; }
.off-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.off-row .dim { font-family: var(--font-mono); font-size: 11px; }

/* who's off each day */
.wob { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.wob-day { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 6px; text-align: center; }
.wob-d { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--ink-3); text-transform: uppercase; }
.wob-n { font-family: var(--font-mono); font-weight: 700; font-size: 18px; color: var(--jade); margin-top: 3px; }
.wob-n.dim { color: var(--ink-4); }

/* slot summary */
.slot-sum { display: flex; flex-direction: column; gap: 14px; }
.slot-seg-h { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.slot-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.slot-pill { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line-2); padding: 6px 11px; border-radius: 20px; }
.slot-pill.peak { color: var(--jade); border-color: var(--jade-soft); background: var(--jade-soft); }

/* roster diff (upload) -------------------------------------- */
.roster-diff { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 11px; }
.rd-head { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); letter-spacing: 0.03em; margin-bottom: 8px; }
.rd-head b { color: var(--jade); }
.rd-list { max-height: 168px; overflow: auto; display: flex; flex-direction: column; gap: 3px; }
.rd-row { font-size: 11.5px; line-height: 1.4; color: var(--ink-2); }
.rd-row.chg b { color: var(--ink); }
.rd-row.add { color: var(--jade); }
.rd-row.rem { color: var(--ink-3); }

/* ============================================================
   Round-3 — insight summaries, aligned tables, interactivity
   ============================================================ */

/* headline insight line */
.insight {
  font-family: var(--font-mono); font-size: 13px; color: var(--ink);
  background: var(--jade-soft); border: 1px solid var(--jade-soft); border-left: 3px solid var(--jade);
  border-radius: var(--r); padding: 11px 14px; margin-bottom: 20px; letter-spacing: 0.02em; line-height: 1.5;
}
.insight b { color: var(--jade); }

/* aligned rider table — ONE table, shared column widths (auto, left-aligned) */
.rtbl { border-collapse: collapse; width: auto; max-width: 100%; }
.rtbl thead th {
  position: sticky; top: 0; z-index: 1; text-align: left; background: var(--surface);
  color: var(--ink-3); font-family: var(--font-mono); font-weight: 700; font-size: 9.5px;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 32px 8px 0; border-bottom: 1px solid var(--line-2);
}
.rtbl th.rt-last, .rtbl td.rt-last { text-align: right; padding-right: 0; }
.rtbl td { padding: 8px 32px 8px 0; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: baseline; font-size: 13px; }
.rtbl tbody tr:not(.rt-grp):hover td { color: var(--ink); }
.rt-name { color: var(--ink); }
.rt-mono { font-family: var(--font-mono); font-size: 12px; }
.rtbl td.dim { color: var(--ink-3); }
.rt-grp td { padding: 18px 0 7px; border-bottom: 1px solid var(--line-2); }
.rtbl tbody tr.rt-grp:first-child td { padding-top: 0; }
.rt-grp b { color: var(--jade); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; }
.rt-win { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2); margin-left: 10px; }
.rt-n { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); margin-left: 10px; }

/* coverage — clickable bars + slot detail */
.cov-col { border: none; padding: 0; font: inherit; cursor: pointer; background: transparent; border-radius: 3px; transition: background 0.12s; }
.cov-col:hover { background: var(--surface-2); }
.cov-col.sel { background: var(--jade-soft); box-shadow: inset 0 0 0 1px var(--jade-dim); }
.cov-col.sel .cov-bar { opacity: 1; }
.cov-hint { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); margin-top: 12px; }
.cov-hint .chev { color: var(--jade); font-weight: 700; }
.cov-detail { margin-top: 12px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 14px; animation: fade 0.15s var(--ease); }
.cd-h { font-family: var(--font-mono); font-size: 12px; color: var(--jade); margin-bottom: 9px; }
.cd-list { display: flex; flex-wrap: wrap; gap: 7px 18px; }
.cd-rider { font-size: 12.5px; color: var(--ink); }
.cd-rider .dim { font-family: var(--font-mono); font-size: 11px; }

/* slot availability cards */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 8px; }
.slotcard { text-align: left; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 8px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 13px; transition: all 0.14s var(--ease); }
.slotcard:hover { border-color: var(--ink-3); background: var(--surface-3); }
.slotcard.sel { border-color: var(--jade-dim); box-shadow: inset 0 0 0 1px var(--jade-dim); }
.slotcard.peak { background: var(--jade-soft); border-color: var(--jade-2); }
.sc-time { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.slotcard.peak .sc-time { color: var(--jade); }
.sc-cov { font-size: 12px; color: var(--ink-3); }
.sc-cov b { font-family: var(--font-mono); font-size: 16px; color: var(--ink); margin-right: 3px; }
.slotcard.zero .sc-cov b { color: var(--red); }
.sc-bar { height: 4px; background: var(--surface-3); border-radius: 2px; overflow: hidden; }
.sc-bar span { display: block; height: 100%; background: var(--jade); border-radius: 2px; }
.slotcard.zero .sc-bar span { background: var(--red); }

/* roster shift cards */
.shiftcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 12px; }
.shiftcard { text-align: left; cursor: pointer; font: inherit; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; transition: all 0.14s var(--ease); }
.shiftcard:hover { border-color: var(--ink-3); }
.shiftcard.sel { border-color: var(--jade-dim); box-shadow: inset 0 0 0 1px var(--jade-dim); }
.sc-top { display: flex; align-items: baseline; gap: 9px; margin-bottom: 13px; }
.sc-top b { color: var(--jade); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; }
.sc-top .sc-win { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2); }
.sc-n { margin-left: auto; font-family: var(--font-mono); font-weight: 700; font-size: 18px; color: var(--ink); }
.sc-n em { font-style: normal; font-size: 10px; color: var(--ink-3); margin-left: 4px; font-family: var(--font-body); }
.sc-exp { color: var(--ink-4); font-size: 17px; line-height: 1; }
.shiftcard:hover .sc-exp { color: var(--jade); }
.sc-sub { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 8px; }
.bd { display: flex; flex-direction: column; gap: 6px; }
.bd-row { display: grid; grid-template-columns: 88px 1fr 22px; align-items: center; gap: 8px; }
.bd-t { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); }
.bd-bar { height: 6px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.bd-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--jade-dim), var(--jade)); }
.bd-n { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); text-align: right; }

/* roster day strip → clickable buttons + drill panel */
.wob-day { font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; transition: all 0.14s var(--ease); }
.wob-day:hover { border-color: var(--jade-dim); }
.wob-day.sel { border-color: var(--jade-dim); box-shadow: inset 0 0 0 1px var(--jade-dim); }
.roster-drill { margin-top: 6px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 14px; animation: fade 0.15s var(--ease); }

@media (max-width: 640px) {
  .plan-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Combined (multi-day) range result card
   ============================================================ */
.check + .check { margin-top: 14px; }   /* two options in the Options block */

.range-card::before { background: linear-gradient(180deg, var(--indigo), var(--jade)); }
.range-card .dc-head { align-items: flex-start; }
.rg-badge {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--indigo); background: var(--indigo-soft); border: 1px solid var(--indigo-soft);
  padding: 3px 8px; border-radius: 3px;
}
.rg-days-h {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin: 4px 0 9px; display: flex; align-items: baseline; gap: 9px;
}
.rg-days { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.rg-day {
  display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer; font: inherit;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 10px 13px; transition: all 0.14s var(--ease);
}
.rg-day:hover { border-color: var(--jade-dim); background: var(--surface-2); }
.rg-when { font-size: 13px; color: var(--ink); min-width: 150px; }
.rg-when b { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); letter-spacing: 0.04em; text-transform: uppercase; margin-right: 6px; }
.rg-cnt { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); flex: 1; }
.rg-go { font-family: var(--font-mono); font-size: 11px; color: var(--jade); opacity: 0; transition: opacity 0.14s var(--ease); }
.rg-day:hover .rg-go { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rg-go { opacity: 1; } }

/* ============================================================
   Theme toggle (topbar) — sun / moon segmented control
   ============================================================ */
.theme-seg {
  display: inline-flex; align-items: center; gap: 2px; padding: 2px;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 20px;
}
.th-btn {
  width: 28px; height: 22px; border: none; background: transparent; cursor: pointer;
  color: var(--ink-4); border-radius: 16px; font-size: 12.5px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.15s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.th-btn:hover { color: var(--ink-2); }
.th-btn.is-on { color: var(--jade); background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--jade-soft); }
.th-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--jade-soft); }

/* ============================================================
   Light theme — same console, daylight surfaces
   Base :root is the dark theme; this block re-tokenizes for light.
   ============================================================ */
:root[data-theme="light"] {
  color-scheme: light;

  --bg:        #eef1ef;
  --bg-2:      #e6ebe8;
  --surface:   #ffffff;
  --surface-2: #f2f6f4;
  --surface-3: #e8eeea;
  --line:      #e3e9e5;
  --line-2:    #cfd9d3;

  --ink:    #0d1a16;
  --ink-2:  #3b4a45;
  --ink-3:  #687771;
  --ink-4:  #99a8a1;

  --jade:       #0a9c73;   /* deepened — reads as text on white AND vivid as a fill */
  --jade-dim:   #067350;
  --jade-soft:  rgba(10, 156, 115, 0.12);
  --jade-glow:  rgba(10, 156, 115, 0.28);
  --jade-2:     rgba(10, 156, 115, 0.16);
  --indigo:     #5159e0;
  --indigo-soft:rgba(81, 89, 224, 0.12);
  --indigo-2:   rgba(81, 89, 224, 0.20);
  --amber:      #b9791b;
  --amber-soft: rgba(185, 121, 27, 0.14);
  --red:        #d64141;
  --red-soft:   rgba(214, 65, 65, 0.10);

  --on-accent: #ffffff;          /* ink sits on a DEEP jade fill in light mode */
  --ink-err:   #b3261e;
  --ink-warn:  #845200;
}

/* surfaces/atmosphere that used literal dark rgba — re-point for light */
:root[data-theme="light"] .topbar {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(238,241,239,0.55));
}
:root[data-theme="light"] .panel {
  background: linear-gradient(180deg, #ffffff, #f6f9f7);
  box-shadow: 0 1px 2px rgba(16,40,33,0.04), 0 18px 40px -28px rgba(16,40,33,0.22);
}
:root[data-theme="light"] .grain { mix-blend-mode: multiply; opacity: 0.025; }
:root[data-theme="light"] .glow { opacity: 0.4; }
:root[data-theme="light"] .modal-backdrop { background: rgba(20,32,28,0.40); }
:root[data-theme="light"] .modal { box-shadow: 0 30px 70px -28px rgba(16,40,33,0.38); }
:root[data-theme="light"] .cal-pop,
:root[data-theme="light"] .dropdown-menu { box-shadow: 0 18px 44px -18px rgba(16,40,33,0.28); }
:root[data-theme="light"] .toast { box-shadow: 0 14px 40px -14px rgba(16,40,33,0.28); }

/* ============================================================
   Loaders & busy states (feedback for Supabase-backed fetches)
   ============================================================ */
/* top progress bar — visible while any API call / download is in flight */
.netbar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 90;
  background: linear-gradient(90deg, var(--jade-dim), var(--jade));
  box-shadow: 0 0 10px var(--jade-glow);
  opacity: 0; transition: width 0.3s var(--ease), opacity 0.3s var(--ease);
  pointer-events: none;
}
.netbar.on { opacity: 1; }

/* standalone jade ring spinner */
.spinner {
  display: inline-block; width: 16px; height: 16px; flex: none;
  border: 2px solid var(--line-2); border-top-color: var(--jade);
  border-radius: 50%; animation: spin 0.65s linear infinite;
}
.spinner.lg { width: 30px; height: 30px; border-width: 3px; }

/* centered loader inside modals / panes while fetching */
.loading-block {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 13px; padding: 54px 20px; color: var(--ink-3);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em;
  animation: fade 0.2s var(--ease);
}

/* inline text loaders already in markup get a leading spinner */
.rs-loading { display: flex; align-items: center; gap: 9px; }
.rs-loading::before {
  content: ''; width: 13px; height: 13px; flex: none;
  border: 2px solid var(--line-2); border-top-color: var(--jade);
  border-radius: 50%; animation: spin 0.65s linear infinite;
}

/* button busy-on-click — hide the label, show a centered spinner, block input */
.btn.is-loading, .ghost-btn.is-loading, .secondary-btn.is-loading,
.link-btn.is-loading, .hf-link.is-loading, .rg-day.is-loading {
  position: relative; pointer-events: none; color: transparent !important;
}
.btn.is-loading > *, .ghost-btn.is-loading > *, .secondary-btn.is-loading > *,
.rg-day.is-loading > * { opacity: 0; }
.is-loading::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px;
  margin: -7px 0 0 -7px; border: 2px solid var(--jade-soft); border-top-color: var(--jade);
  border-radius: 50%; animation: spin 0.6s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .spinner, .rs-loading::before, .is-loading::after, .netbar { animation: none !important; }
}

/* ── shift chains — unified overlapping slots (day-plan viewer) ── */
.chains { display: flex; flex-direction: column; gap: 6px; }
.chain-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--r);
  padding: 8px 10px; font: inherit; cursor: pointer; text-align: left;
  transition: border-color 0.12s, background 0.12s;
}
.chain-row:hover { border-color: var(--ink-3); }
.chain-row.sel { border-color: var(--jade-dim); box-shadow: inset 0 0 0 1px var(--jade-dim); }
.ch-meta { flex: 0 0 168px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ch-win { font-family: var(--font-mono); font-size: 12px; color: var(--ink); font-weight: 400; }
.ch-win .ch-on { font-style: normal; font-size: 9.5px; color: var(--indigo); margin-left: 6px; }
.ch-n { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-track { position: relative; flex: 1; height: 26px; background: var(--bg-2); border-radius: 3px; overflow: hidden; }
.ch-cut { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.ch-slot {
  position: absolute; top: 3px; bottom: 3px;
  background: var(--jade-soft); border: 1px solid var(--jade-dim); border-radius: 3px;
  font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; white-space: nowrap;
}
.chain-row:hover .ch-slot { border-color: var(--jade); }
.cd-slots { display: flex; flex-direction: column; gap: 3px; margin: 8px 0 10px; }
.cd-slot { font-size: 12px; }
.cd-sn { font-family: var(--font-mono); font-size: 11px; color: var(--jade); }
@media (max-width: 560px) {
  .chain-row { flex-direction: column; align-items: stretch; gap: 6px; }
  .ch-meta { flex-basis: auto; flex-direction: row; align-items: baseline; gap: 8px; }
  .ch-track { height: 22px; }
}

