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

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

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

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

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

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: var(--font-sans), Space Grotesk, Inter, system-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: var(--font-mono), JetBrains Mono, 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;
}
/* ─────────────────────────────────────────────
     Sidebar
     ─────────────────────────────────────────── */
.nt-sidebar {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    width: var(--sidebar-w);
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 20;
    transition: width 0.22s ease;
  }
.nt-brand {
    padding: 22px 22px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    position: relative;
  }
.nt-brand-col {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    transition: opacity 0.15s ease;
  }
.nt-user-col {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    transition: opacity 0.15s ease;
  }
.nt-collapse {
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--panel);
    border: 1px solid var(--border-strong);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    transition: background 0.12s, color 0.12s;
  }
.nt-collapse:hover {
    background: var(--panel-2);
    color: var(--ink);
  }
.nt-brand-name {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #fff 0%, #B6C2E0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
.nt-brand-sub {
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
    margin-top: 4px;
  }
.nt-sys-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.12);
    color: var(--ok);
    font-size: 10px;
    font-weight: 600;
    font-family: "JetBrains Mono", monospace;
    margin-top: 8px;
    border: 1px solid rgba(52, 211, 153, 0.25);
  }
.nt-sys-status .nt-pulse {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--ok);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
    animation: nt-pulse 2s infinite;
  }
@keyframes nt-pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
  }
.nt-nav { padding: 10px; flex: 1; overflow-y: auto; }
.nt-nav-section {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-2);
    padding: 14px 12px 8px;
    font-family: "JetBrains Mono", monospace;
  }
.nt-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    margin-bottom: 2px;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    position: relative;
    text-decoration: none;
  }
.nt-nav-item:hover { background: var(--hover-bg); color: var(--ink); }
.nt-nav-item.active {
    background: var(--nav-active-bg);
    color: var(--ink);
    box-shadow: inset 2px 0 0 var(--brand);
  }
.nt-nav-item.active::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: var(--brand);
    box-shadow: 0 0 10px var(--brand);
  }
.nt-nav-item .nt-ic { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.85; }
.nt-nav-item.active .nt-ic { opacity: 1; color: var(--brand-3); }
.nt-nav-badge {
    margin-left: auto;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--panel-soft-2);
    color: var(--ink-2);
    font-weight: 600;
    flex-shrink: 0;
  }
.nt-user {
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    background: var(--panel-soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
  }
.nt-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--grad-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(59, 110, 248, 0.35);
  }
.nt-user-name { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.nt-user-role { font-size: 11px; color: var(--muted); margin-top: 2px; font-family: "JetBrains Mono", monospace; }
.nt-user-logout {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
  }
.nt-user-logout:hover { background: var(--hover-bg); color: var(--ink); }
/* ─────────────────────────────────────────────
     Shell
     ─────────────────────────────────────────── */
.nt-shell {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    transition: grid-template-columns 0.22s ease;
  }
.nt-shell[data-collapsed="1"] {
    --sidebar-w: var(--sidebar-w-collapsed);
  }
.nt-shell[data-collapsed="1"] .nt-brand-col,
  .nt-shell[data-collapsed="1"] .nt-user-col,
  .nt-shell[data-collapsed="1"] .nt-nav-label,
  .nt-shell[data-collapsed="1"] .nt-nav-badge,
  .nt-shell[data-collapsed="1"] .nt-user-logout {
    display: none;
  }
.nt-shell[data-collapsed="1"] .nt-brand {
    padding: 18px 0;
    justify-content: center;
    gap: 0;
  }
.nt-shell[data-collapsed="1"] .nt-user {
    justify-content: center;
    padding: 10px 0;
    gap: 0;
  }
.nt-shell[data-collapsed="1"] .nt-nav { padding: 10px 8px; }
.nt-shell[data-collapsed="1"] .nt-nav-item {
    justify-content: center;
    padding: 10px 0;
    gap: 0;
    width: 100%;
    position: relative;
  }
.nt-shell[data-collapsed="1"] .nt-nav-item > .nt-ic {
    margin: 0;
  }
.nt-shell[data-collapsed="1"] .nt-nav-item.active {
    box-shadow: none;
    background: rgba(59, 110, 248, 0.18);
    border-radius: 10px;
  }
.nt-shell[data-collapsed="1"] .nt-nav-item.active::after { display: none; }
.nt-shell[data-collapsed="1"] .nt-nav-section {
    padding: 14px 0 8px;
    text-align: center;
    font-size: 9px;
    letter-spacing: 0.08em;
  }
.nt-shell[data-collapsed="1"] .nt-collapse { right: -14px; }
.nt-main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
  }
.nt-topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    min-height: var(--topbar-h);
    background: var(--topbar-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
  }
.nt-page-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
  }
.nt-page-title::before {
    content: "";
    width: 4px;
    height: 22px;
    border-radius: 2px;
    background: var(--grad-brand);
    box-shadow: 0 0 12px var(--brand);
  }
.nt-page-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 0.02em;
  }
.nt-topbar-title { flex: 0 0 auto; }
.nt-spacer { flex: 1; }
.nt-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--panel-soft);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: var(--ink-2);
  }
.nt-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--ok);
    box-shadow: 0 0 10px var(--ok);
    animation: nt-pulse 2s infinite;
  }
.nt-search-wrap { position: relative; width: 420px; flex-shrink: 0; max-width: 100%; }
.nt-search {
    width: 100%;
    height: 40px;
    padding: 0 96px 0 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--panel-soft);
    font-size: 13px;
    color: var(--ink);
    transition: border 0.15s, box-shadow 0.15s, background 0.15s;
    font-family: inherit;
  }
.nt-search::-moz-placeholder { color: var(--muted); }
.nt-search::placeholder { color: var(--muted); }
.nt-search:focus {
    outline: none;
    border-color: var(--brand);
    background: rgba(59, 110, 248, 0.06);
    box-shadow: 0 0 0 4px rgba(59, 110, 248, 0.12);
  }
.nt-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
  }
.nt-kbd {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--panel-soft-2);
    border: 1px solid var(--border);
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    color: var(--muted);
    font-weight: 500;
  }
.nt-bell {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--panel-soft);
    border: 1px solid var(--border);
    cursor: pointer;
    color: var(--ink-2);
    transition: background 0.12s, border 0.12s;
  }
.nt-bell:hover { background: var(--hover-bg); border-color: var(--border-strong); color: var(--ink); }
.nt-bell-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--err);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-family: "JetBrains Mono", monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg);
    box-shadow: 0 0 10px rgba(243, 106, 123, 0.5);
  }
.nt-content { padding: 20px 24px 90px; flex: 1; min-width: 0; }
/* ─────────────────────────────────────────────
     Filters
     ─────────────────────────────────────────── */
.nt-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 16px;
  }
.nt-filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 12px;
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12.5px;
    color: var(--ink-2);
    cursor: pointer;
    font-family: inherit;
    transition: border 0.15s, background 0.15s;
    min-width: 160px;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
.nt-filter:hover { border-color: var(--border-strong); background: var(--hover-bg); }
.nt-filter.active { border-color: rgba(59, 110, 248, 0.45); background: rgba(59, 110, 248, 0.06); }
.nt-filter .nt-filter-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    color: var(--muted);
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
.nt-filter .nt-filter-val {
    font-size: 13px;
    color: var(--ink);
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
  }
.nt-filter-ic { color: var(--brand-3); flex-shrink: 0; opacity: 0.8; }
.nt-filter-col { display: flex; flex-direction: column; min-width: 0; }
.nt-filter .nt-chev { margin-left: auto; color: var(--muted); }
.nt-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 14px;
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
  }
.nt-filter-btn:hover { background: var(--hover-bg); color: var(--ink); }
/* ─────────────────────────────────────────────
     KPI grid — consistent min-height for rhythm
     ─────────────────────────────────────────── */
.nt-kpis {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }
@media (max-width: 1280px) {
    .nt-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
@media (max-width: 700px) {
    .nt-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
.nt-kpi {
    position: relative;
    background: linear-gradient(180deg, var(--panel-soft-2) 0%, transparent 70%), var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    overflow: hidden;
    transition: transform 0.2s, border 0.2s, box-shadow 0.2s;
    min-height: 120px;
    display: flex;
    flex-direction: column;
  }
.nt-kpi:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  }
.nt-kpi::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
    opacity: 0.6;
  }
.nt-kpi-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }
.nt-kpi-ic {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
.nt-kpi-ic::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: radial-gradient(circle at 50% 0%, currentColor, transparent 70%);
    opacity: 0.18;
  }
.nt-kpi-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    font-family: "JetBrains Mono", monospace;
    padding: 3px 7px;
    border-radius: 999px;
  }
.nt-kpi-trend.up { background: rgba(52, 211, 153, 0.12); color: var(--ok); }
.nt-kpi-trend.down { background: rgba(243, 106, 123, 0.12); color: var(--err); }
.nt-kpi-label {
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: "JetBrains Mono", monospace;
    margin-bottom: 6px;
  }
.nt-kpi-val {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
  }
.nt-kpi-sub { font-size: 11px; color: var(--muted); margin-top: 4px; }
.nt-kpi-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
  }
/* ─────────────────────────────────────────────
     Charts — 2x2 grid, generous heights for legibility
     ─────────────────────────────────────────── */
.nt-charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
  }
@media (max-width: 900px) {
    .nt-charts { grid-template-columns: 1fr; }
  }
.nt-card {
    background: linear-gradient(180deg, var(--panel-soft) 0%, transparent 100%), var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    position: relative;
    overflow: hidden;
  }
.nt-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
    opacity: 0.4;
  }
.nt-card-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }
.nt-card-title .nt-card-sub {
    font-size: 11px;
    font-weight: 500;
    font-family: "JetBrains Mono", monospace;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
.nt-chart-card {
    min-height: 340px;
    display: flex;
    flex-direction: column;
  }
.nt-chart-card--donut {
    min-height: 320px;
  }
.nt-chart-body {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
.nt-bottom { display: grid; grid-template-columns: 360px 1fr; gap: 12px; }
@media (max-width: 1200px) { .nt-bottom { grid-template-columns: 1fr; } }
/* ─────────────────────────────────────────────
     Forms
     ─────────────────────────────────────────── */
.nt-field { display: flex; flex-direction: column; gap: 6px; }
.nt-label {
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
    font-family: "JetBrains Mono", monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
.nt-input,
  .nt-select,
  .nt-textarea {
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--ink);
    background: var(--panel-soft);
    font-family: inherit;
    transition: border 0.12s, box-shadow 0.12s, background 0.12s;
    width: 100%;
  }
.nt-textarea { height: auto; min-height: 80px; padding: 10px 12px; resize: vertical; }
.nt-input::-moz-placeholder, .nt-textarea::-moz-placeholder { color: var(--muted); }
.nt-input::placeholder,
  .nt-textarea::placeholder { color: var(--muted); }
.nt-input:focus,
  .nt-select:focus,
  .nt-textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: rgba(59, 110, 248, 0.05);
    box-shadow: 0 0 0 3px rgba(59, 110, 248, 0.15);
  }
.nt-select {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237C89AC' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-color: var(--panel-soft);
    padding-right: 32px;
  }
.nt-select option { background: var(--panel); color: var(--ink); }
.nt-input[aria-invalid="true"],
  .nt-select[aria-invalid="true"],
  .nt-textarea[aria-invalid="true"] {
    border-color: var(--err);
    box-shadow: 0 0 0 3px rgba(243, 106, 123, 0.15);
  }
.nt-field-err { font-size: 11px; color: var(--err); margin-top: 2px; }
/* Buttons */
.nt-btn {
    height: 40px;
    padding: 0 18px;
    border-radius: 9px;
    border: 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.1s, box-shadow 0.15s, background 0.15s, color 0.15s;
    font-family: inherit;
    position: relative;
    white-space: nowrap;
    text-decoration: none;
  }
.nt-btn:active { transform: translateY(1px); }
.nt-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.nt-btn-primary {
    background: var(--grad-brand);
    color: #fff;
    box-shadow: 0 4px 16px rgba(59, 110, 248, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
.nt-btn-primary:hover:not(:disabled) {
    box-shadow: 0 6px 24px rgba(59, 110, 248, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }
.nt-btn-ghost {
    background: var(--panel-soft-2);
    color: var(--ink-2);
    border: 1px solid var(--border);
  }
.nt-btn-ghost:hover:not(:disabled) {
    border-color: var(--border-strong);
    background: var(--hover-bg);
    color: var(--ink);
  }
.nt-btn-soft {
    background: rgba(59, 110, 248, 0.14);
    color: var(--brand-3);
    border: 1px solid rgba(59, 110, 248, 0.25);
  }
.nt-btn-soft:hover:not(:disabled) { background: rgba(59, 110, 248, 0.22); }
.nt-btn-danger {
    background: rgba(243, 106, 123, 0.14);
    color: var(--err);
    border: 1px solid rgba(243, 106, 123, 0.3);
  }
.nt-btn-danger:hover:not(:disabled) { background: rgba(243, 106, 123, 0.22); }
.nt-btn-sm { height: 32px; padding: 0 12px; font-size: 12px; border-radius: 8px; }
.nt-attach {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    border: 1px dashed var(--border-strong);
    border-radius: 8px;
    color: var(--ink-2);
    font-size: 12.5px;
    font-weight: 500;
    background: var(--panel-soft);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
  }
.nt-attach:hover { border-color: var(--brand); color: var(--brand-3); background: rgba(59, 110, 248, 0.06); }
/* ─────────────────────────────────────────────
     Table
     ─────────────────────────────────────────── */
.nt-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.nt-table thead th {
    text-align: left;
    font-size: 10.5px;
    font-weight: 600;
    font-family: "JetBrains Mono", monospace;
    color: var(--muted);
    padding: 9px 12px;
    border-bottom: 1px solid var(--border);
    background: var(--panel-soft-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: sticky;
    top: 0;
    backdrop-filter: blur(6px);
  }
.nt-table tbody tr:nth-child(even) td {
    background: var(--panel-soft);
  }
.nt-table tbody td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--ink-2);
    vertical-align: middle;
  }
.nt-table tbody tr:last-child td { border-bottom: 0; }
.nt-table tbody tr { transition: background 0.12s; }
.nt-table tbody tr:hover td { background: rgba(59, 110, 248, 0.07); }
.nt-table tbody tr.selected td { background: rgba(59, 110, 248, 0.12); }
.nt-mono { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.02em; }
.nt-muted { color: var(--muted); font-size: 11.5px; }
/* ─────────────────────────────────────────────
     Pills
     ─────────────────────────────────────────── */
.nt-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border: 1px solid transparent;
  }
.nt-pill .nt-dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.nt-iconbtn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: transparent;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
  }
.nt-iconbtn:hover { background: var(--hover-bg); color: var(--ink); }
.nt-iconbtn.danger:hover { color: var(--err); background: rgba(243, 106, 123, 0.08); }
.nt-footer {
    position: sticky;
    bottom: 0;
    background: var(--footer-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    padding: 12px 24px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    z-index: 5;
  }
/* Modal (dialog) */
.nt-modal-backdrop {
    position: fixed;
    inset: 0;
    background: var(--overlay-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: nt-fade 0.18s ease;
  }
.nt-modal {
    width: min(720px, 94vw);
    max-height: 92vh;
    background: var(--panel);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    box-shadow: var(--shadow-lg), 0 0 80px rgba(59, 110, 248, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: nt-slide 0.22s ease;
  }
.nt-modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-glow), transparent);
  }
@keyframes nt-fade {
    from { opacity: 0; }
    to { opacity: 1; }
  }
@keyframes nt-slide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
.nt-modal-hd {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
  }
.nt-modal-hd h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -0.02em; }
.nt-modal-hd p {
    font-size: 12px;
    color: var(--muted);
    margin: 4px 0 0 0;
    font-family: "JetBrains Mono", monospace;
  }
.nt-modal-bd { padding: 18px; overflow-y: auto; flex: 1; }
.nt-modal-ft {
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    background: var(--panel-soft);
  }
.nt-close {
    margin-left: auto;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 0;
    background: var(--panel-soft-2);
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.12s;
  }
.nt-close:hover { background: var(--hover-bg); color: var(--ink); }
/* Toast */
.nt-toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: var(--panel);
    border: 1px solid var(--border-strong);
    color: var(--ink);
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(59, 110, 248, 0.2);
    z-index: 80;
    animation: nt-slide 0.25s ease;
    max-width: 420px;
  }
.nt-vertodas {
    margin-left: auto;
    font-size: 12px;
    color: var(--brand-3);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    text-decoration: none;
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 0.02em;
  }
.nt-vertodas:hover { color: #fff; }
.nt-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; overflow-x: auto; }
.nt-tab {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    margin-bottom: -1px;
    transition: color 0.12s;
    white-space: nowrap;
  }
.nt-tab.active { color: var(--ink); border-bottom-color: var(--brand); }
.nt-tab:hover { color: var(--ink-2); }
.nt-check {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--border-strong);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: var(--panel-soft);
    transition: background 0.1s, border 0.1s;
    flex-shrink: 0;
  }
.nt-check.checked { background: var(--brand); border-color: var(--brand); color: #fff; }
.nt-check.\!checked { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; }
.nt-check svg { opacity: 0; }
.nt-check.checked svg { opacity: 1; }
.nt-check.\!checked svg { opacity: 1 !important; }
.nt-dropzone {
    border: 2px dashed var(--border-strong);
    border-radius: 14px;
    padding: 38px 20px;
    text-align: center;
    background: var(--panel-soft);
    transition: all 0.15s;
    cursor: pointer;
  }
.nt-dropzone:hover,
  .nt-dropzone.drag {
    border-color: var(--brand);
    background: rgba(59, 110, 248, 0.06);
  }
.nt-dropzone-ic {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(59, 110, 248, 0.14);
    border: 1px solid rgba(59, 110, 248, 0.3);
    color: var(--brand-3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 0 32px rgba(59, 110, 248, 0.2);
  }
.nt-prog {
    height: 6px;
    border-radius: 999px;
    background: var(--hover-bg);
    overflow: hidden;
    position: relative;
  }
.nt-prog-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--grad-brand);
    transition: width 0.3s;
    box-shadow: 0 0 12px rgba(59, 110, 248, 0.4);
    position: relative;
  }
.nt-prog-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: nt-shimmer 1.8s infinite;
  }
@keyframes nt-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
/* Seg (segmented control) */
.nt-seg button.active {
    background: rgba(59, 110, 248, 0.2);
    color: var(--ink);
    box-shadow: 0 0 0 1px rgba(59, 110, 248, 0.3);
  }
/* Auth layout (login) */
.nt-auth {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    position: relative;
    z-index: 1;
  }
.nt-auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--panel);
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    padding: 36px;
    box-shadow: var(--shadow-lg), 0 0 80px rgba(59, 110, 248, 0.15);
    position: relative;
    overflow: hidden;
  }
.nt-auth-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-glow), transparent);
  }
/* ─────────────────────────────────────────────
     Mobile nav — hamburger, drawer, bottom tabbar
     ─────────────────────────────────────────── */
.nt-mobile-hamburger {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--panel-soft-2);
    border: 1px solid var(--border);
    color: var(--ink-2);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 25;
  }
.nt-mobile-drawer {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--overlay-bg);
    backdrop-filter: blur(6px);
    z-index: 60;
    animation: nt-fade 0.18s ease;
  }
.nt-mobile-drawer-panel {
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: var(--panel);
    border-right: 1px solid var(--border-strong);
    display: flex;
    flex-direction: column;
    animation: nt-slide-r 0.2s ease;
    overflow-y: auto;
  }
@keyframes nt-slide-r {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
  }
.nt-mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 2px;
  }
.nt-mobile-nav-item.active {
    background: var(--nav-active-bg);
    color: var(--ink);
    box-shadow: inset 2px 0 0 var(--brand);
  }
.nt-tabbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--tabbar-h);
    background: var(--tabbar-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding: 0 6px 12px;
    z-index: 40;
  }
.nt-tabbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    padding: 8px 0;
    text-decoration: none;
  }
.nt-tabbar-item.active {
    color: var(--brand-3);
  }
.nt-tabbar-primary {
    transform: translateY(-8px);
  }
.nt-tabbar-plus {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--grad-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(59, 110, 248, 0.45);
  }
/* Mobile responsive adjustments */
@media (max-width: 900px) {
    .nt-sidebar { display: none; }
    .nt-shell { grid-template-columns: 1fr; }
    .nt-mobile-hamburger { display: inline-flex; }
    .nt-mobile-drawer { display: flex; }
    .nt-tabbar { display: grid; }
    .nt-topbar { padding: 12px 14px 12px 60px; gap: 8px; }
    .nt-page-title { font-size: 17px; }
    .nt-page-title::before { width: 3px; height: 17px; }
    .nt-content { padding: 14px 14px calc(var(--tabbar-h) + 30px); }
    .nt-search-wrap { display: none; }
    .nt-live { display: none; }
    .nt-bell { width: 38px; height: 38px; }
    .nt-footer {
      padding: 10px 14px;
      bottom: var(--tabbar-h);
      flex-wrap: wrap;
    }
    .nt-bottom { grid-template-columns: 1fr; }
    .nt-collapse { display: none; }
    .nt-modal { width: 94vw !important; max-height: 86vh; }
    .nt-modal-bd { padding: 16px; }
    .nt-modal-hd { padding: 14px 16px; }
    .nt-tabs { font-size: 12px; }
    .nt-tab { padding: 10px 12px; }
    .nt-filter { min-width: 140px; }
    .nt-kpis { gap: 10px; }
    .nt-charts { gap: 10px; }
  }
@media (max-width: 500px) {
    .nt-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
    .nt-kpi { padding: 10px; min-height: 104px; }
    .nt-kpi-val { font-size: 20px; }
    .nt-table thead th { padding: 8px 10px; font-size: 10px; }
    .nt-table tbody td { padding: 8px 10px; }
    .nt-modal-ft { flex-wrap: wrap; }
    .nt-modal-ft button { flex: 1; }
  }
/* ─────────────────────────────────────────────
     Option list (modal single-choice) — zebra + hover + border
     ─────────────────────────────────────────── */
.nt-option-list {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--panel-soft);
  }
.nt-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border);
    font-family: inherit;
    font-size: 13px;
    color: var(--ink-2);
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: background 0.12s, color 0.12s, padding-left 0.12s;
    position: relative;
  }
.nt-option:last-child { border-bottom: 0; }
.nt-option:nth-child(even) { background: var(--panel-soft-2); }
.nt-option:hover {
    background: rgba(59, 110, 248, 0.10);
    color: var(--ink);
    padding-left: 18px;
  }
.nt-option.active {
    background: linear-gradient(90deg, rgba(59, 110, 248, 0.18) 0%, rgba(59, 110, 248, 0.05) 100%);
    color: var(--brand-3);
    box-shadow: inset 3px 0 0 var(--brand);
  }
/* ─────────────────────────────────────────────
     Scrollbar — branded, subtle
     ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--border-strong), var(--border));
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
    -webkit-transition: background 0.15s;
    transition: background 0.15s;
  }
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--brand), var(--brand-2));
    background-clip: padding-box;
    border: 2px solid transparent;
  }
::-webkit-scrollbar-corner { background: transparent; }
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
/* Small skeleton */
.nt-skel {
    background: linear-gradient(90deg, var(--panel-soft-2) 0%, var(--hover-bg) 50%, var(--panel-soft-2) 100%);
    background-size: 200% 100%;
    animation: nt-skel 1.4s ease-in-out infinite;
    border-radius: 8px;
  }
@keyframes nt-skel {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }
/* Focus visibility */
:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
  }
.pointer-events-none {
  pointer-events: none;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.bottom-8 {
  bottom: 2rem;
}
.left-3 {
  left: 0.75rem;
}
.right-2 {
  right: 0.5rem;
}
.right-8 {
  right: 2rem;
}
.top-1\/2 {
  top: 50%;
}
.z-\[80\] {
  z-index: 80;
}
.col-span-2 {
  grid-column: span 2 / span 2;
}
.col-span-full {
  grid-column: 1 / -1;
}
.\!m-0 {
  margin: 0px !important;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-7 {
  margin-bottom: 1.75rem;
}
.mb-\[14px\] {
  margin-bottom: 14px;
}
.ml-1 {
  margin-left: 0.25rem;
}
.ml-auto {
  margin-left: auto;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-\[14px\] {
  margin-top: 14px;
}
.mt-\[18px\] {
  margin-top: 18px;
}
.mt-\[2px\] {
  margin-top: 2px;
}
.block {
  display: block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.\!h-\[42px\] {
  height: 42px !important;
}
.h-10 {
  height: 2.5rem;
}
.h-14 {
  height: 3.5rem;
}
.h-5 {
  height: 1.25rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-\[10px\] {
  height: 10px;
}
.h-\[22px\] {
  height: 22px;
}
.h-\[40px\] {
  height: 40px;
}
.max-h-\[420px\] {
  max-height: 420px;
}
.\!w-\[110px\] {
  width: 110px !important;
}
.\!w-\[140px\] {
  width: 140px !important;
}
.\!w-\[170px\] {
  width: 170px !important;
}
.\!w-\[60px\] {
  width: 60px !important;
}
.\!w-\[80px\] {
  width: 80px !important;
}
.w-10 {
  width: 2.5rem;
}
.w-14 {
  width: 3.5rem;
}
.w-5 {
  width: 1.25rem;
}
.w-8 {
  width: 2rem;
}
.w-9 {
  width: 2.25rem;
}
.w-\[10px\] {
  width: 10px;
}
.w-\[22px\] {
  width: 22px;
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-\[260px\] {
  min-width: 260px;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.shrink-0 {
  flex-shrink: 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));
}
.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));
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-\[10px\] {
  gap: 10px;
}
.gap-\[12px\] {
  gap: 12px;
}
.gap-\[14px\] {
  gap: 14px;
}
.gap-\[16px\] {
  gap: 16px;
}
.gap-\[2px\] {
  gap: 2px;
}
.gap-\[7px\] {
  gap: 7px;
}
.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-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.rounded-\[10px\] {
  border-radius: 10px;
}
.rounded-\[14px\] {
  border-radius: 14px;
}
.rounded-\[3px\] {
  border-radius: 3px;
}
.rounded-\[8px\] {
  border-radius: 8px;
}
.rounded-\[9px\] {
  border-radius: 9px;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-md {
  border-radius: 10px;
}
.border {
  border-width: 1px;
}
.border-0 {
  border-width: 0px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-\[color\:var\(--border\)\] {
  border-color: var(--border);
}
.border-\[rgba\(243\2c 106\2c 123\2c 0\.25\)\] {
  border-color: rgba(243,106,123,0.25);
}
.border-\[rgba\(59\2c 110\2c 248\2c 0\.3\)\] {
  border-color: rgba(59,110,248,0.3);
}
.bg-\[rgba\(243\2c 106\2c 123\2c 0\.08\)\] {
  background-color: rgba(243,106,123,0.08);
}
.bg-\[rgba\(255\2c 255\2c 255\2c 0\.02\)\] {
  background-color: rgba(255,255,255,0.02);
}
.bg-\[var\(--panel-soft\)\] {
  background-color: var(--panel-soft);
}
.bg-transparent {
  background-color: transparent;
}
.\!p-0 {
  padding: 0px !important;
}
.p-10 {
  padding: 2.5rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-8 {
  padding: 2rem;
}
.p-\[14px\] {
  padding: 14px;
}
.p-\[18px_18px_12px\] {
  padding: 18px 18px 12px;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-\[10px\] {
  padding-left: 10px;
  padding-right: 10px;
}
.px-\[14px\] {
  padding-left: 14px;
  padding-right: 14px;
}
.px-\[6px\] {
  padding-left: 6px;
  padding-right: 6px;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.py-\[10px\] {
  padding-top: 10px;
  padding-bottom: 10px;
}
.py-\[6px\] {
  padding-top: 6px;
  padding-bottom: 6px;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pl-9 {
  padding-left: 2.25rem;
}
.pr-10 {
  padding-right: 2.5rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.font-\[inherit\] {
  font-family: inherit;
}
.font-mono {
  font-family: var(--font-mono), JetBrains Mono, monospace;
}
.text-\[10\.5px\] {
  font-size: 10.5px;
}
.text-\[10px\] {
  font-size: 10px;
}
.text-\[11\.5px\] {
  font-size: 11.5px;
}
.text-\[11px\] {
  font-size: 11px;
}
.text-\[12\.5px\] {
  font-size: 12.5px;
}
.text-\[12px\] {
  font-size: 12px;
}
.text-\[13\.5px\] {
  font-size: 13.5px;
}
.text-\[13px\] {
  font-size: 13px;
}
.text-\[14px\] {
  font-size: 14px;
}
.text-\[15px\] {
  font-size: 15px;
}
.text-\[17px\] {
  font-size: 17px;
}
.text-\[18px\] {
  font-size: 18px;
}
.text-\[20px\] {
  font-size: 20px;
}
.text-\[22px\] {
  font-size: 22px;
}
.text-\[26px\] {
  font-size: 26px;
}
.text-\[9px\] {
  font-size: 9px;
}
.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.leading-\[1\.6\] {
  line-height: 1.6;
}
.leading-relaxed {
  line-height: 1.625;
}
.tracking-\[-0\.02em\] {
  letter-spacing: -0.02em;
}
.tracking-\[-0\.03em\] {
  letter-spacing: -0.03em;
}
.tracking-\[0\.02em\] {
  letter-spacing: 0.02em;
}
.tracking-\[0\.05em\] {
  letter-spacing: 0.05em;
}
.tracking-\[0\.1em\] {
  letter-spacing: 0.1em;
}
.tracking-\[0\.22em\] {
  letter-spacing: 0.22em;
}
.text-\[color\:var\(--brand-3\)\] {
  color: var(--brand-3);
}
.text-\[color\:var\(--err\)\] {
  color: var(--err);
}
.text-\[color\:var\(--ink\)\] {
  color: var(--ink);
}
.text-\[color\:var\(--ink-2\)\] {
  color: var(--ink-2);
}
.text-\[color\:var\(--muted\)\] {
  color: var(--muted);
}
.text-\[color\:var\(--muted-2\)\] {
  color: var(--muted-2);
}
.text-\[color\:var\(--ok\)\] {
  color: var(--ok);
}
.text-\[color\:var\(--warn\)\] {
  color: var(--warn);
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.opacity-70 {
  opacity: 0.7;
}
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.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);
}
.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;
}
@keyframes enter {

  from {
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
  }
}
@keyframes exit {

  to {
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
  }
}

/* ─────────────────────────────────────────────
   Nautyllus — design tokens (DARK default · LIGHT override)
   ─────────────────────────────────────────── */
:root,
[data-theme="dark"] {
  --bg: #070B18;
  --bg-2: #0B1226;
  --panel: #0F1A33;
  --panel-2: #131F3C;
  --panel-3: #172746;
  --panel-soft: rgba(255, 255, 255, 0.015);
  --panel-soft-2: rgba(255, 255, 255, 0.04);
  --border: rgba(99, 118, 180, 0.14);
  --border-strong: rgba(99, 118, 180, 0.28);
  --border-glow: rgba(124, 156, 255, 0.35);

  --ink: #E8EEFC;
  --ink-2: #B6C2E0;
  --muted: #7C89AC;
  --muted-2: #5A6888;

  --brand: #3B6EF8;
  --brand-2: #7C5CF7;
  --brand-3: #4FD1E0;
  --brand-glow: rgba(59, 110, 248, 0.45);

  --ok: #34D399;
  --warn: #F9B648;
  --err: #F36A7B;
  --info: #60A5FA;

  --grad-brand: linear-gradient(135deg, #3B6EF8 0%, #7C5CF7 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(59, 110, 248, 0.18) 0%, rgba(124, 92, 247, 0.18) 100%);

  --kpi-blue: rgba(59, 110, 248, 0.10);
  --kpi-green: rgba(52, 211, 153, 0.10);
  --kpi-amber: rgba(249, 182, 72, 0.10);
  --kpi-purple: rgba(168, 85, 247, 0.10);
  --kpi-rose: rgba(243, 106, 123, 0.10);
  --kpi-teal: rgba(79, 209, 224, 0.10);

  --kpi-blue-ic: #8AB0FF;
  --kpi-green-ic: #5EEAB4;
  --kpi-amber-ic: #FBC56B;
  --kpi-purple-ic: #C4A0FB;
  --kpi-rose-ic: #FF8C9C;
  --kpi-teal-ic: #7EEAF2;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--border);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.6);
  --glow-brand: 0 0 0 1px rgba(59, 110, 248, 0.35), 0 0 32px rgba(59, 110, 248, 0.25);

  --ambient-1: rgba(59, 110, 248, 0.18);
  --ambient-2: rgba(124, 92, 247, 0.14);
  --ambient-3: rgba(79, 209, 224, 0.08);
  --grid-line: rgba(255, 255, 255, 0.02);

  --nav-bg: rgba(7, 11, 24, 0.72);
  --topbar-bg: rgba(7, 11, 24, 0.65);
  --footer-bg: rgba(7, 11, 24, 0.8);
  --tabbar-bg: rgba(7, 11, 24, 0.88);
  --hover-bg: rgba(255, 255, 255, 0.06);
  --overlay-bg: rgba(3, 6, 18, 0.72);
  --nav-active-bg: linear-gradient(90deg, rgba(59, 110, 248, 0.22) 0%, rgba(59, 110, 248, 0) 100%);

  --chart-label: #FFFFFF;

  --sidebar-w: 260px;
  --sidebar-w-collapsed: 72px;
  --topbar-h: 72px;
  --tabbar-h: 72px;

  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #F4F6FB;
  --bg-2: #ECEFF6;
  --panel: #FFFFFF;
  --panel-2: #FBFCFE;
  --panel-3: #F1F4FA;
  --panel-soft: rgba(11, 27, 59, 0.02);
  --panel-soft-2: rgba(11, 27, 59, 0.05);
  --border: rgba(11, 27, 59, 0.08);
  --border-strong: rgba(11, 27, 59, 0.16);
  --border-glow: rgba(59, 110, 248, 0.35);

  --ink: #0B1B3B;
  --ink-2: #1F2A44;
  --muted: #6B7590;
  --muted-2: #8D95AE;

  --brand: #1E4FD8;
  --brand-2: #3B6EF8;
  --brand-3: #0B7A8A;
  --brand-glow: rgba(30, 79, 216, 0.35);

  --ok: #16A06A;
  --warn: #D68A1A;
  --err: #D23B5F;
  --info: #1E88E5;

  --grad-brand: linear-gradient(135deg, #1E4FD8 0%, #3B6EF8 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(30, 79, 216, 0.12) 0%, rgba(59, 110, 248, 0.12) 100%);

  --kpi-blue: rgba(30, 79, 216, 0.08);
  --kpi-green: rgba(22, 160, 106, 0.08);
  --kpi-amber: rgba(214, 138, 26, 0.09);
  --kpi-purple: rgba(124, 92, 247, 0.10);
  --kpi-rose: rgba(210, 59, 95, 0.09);
  --kpi-teal: rgba(11, 138, 135, 0.08);

  --kpi-blue-ic: #1E4FD8;
  --kpi-green-ic: #16A06A;
  --kpi-amber-ic: #D68A1A;
  --kpi-purple-ic: #6B43C7;
  --kpi-rose-ic: #D23B5F;
  --kpi-teal-ic: #0B8A87;

  --shadow-sm: 0 1px 2px rgba(11, 27, 59, 0.05);
  --shadow-md: 0 6px 20px rgba(11, 27, 59, 0.08), 0 0 0 1px var(--border);
  --shadow-lg: 0 20px 50px rgba(11, 27, 59, 0.15);
  --glow-brand: 0 0 0 1px rgba(30, 79, 216, 0.3), 0 0 28px rgba(30, 79, 216, 0.18);

  --ambient-1: rgba(30, 79, 216, 0.06);
  --ambient-2: rgba(124, 92, 247, 0.05);
  --ambient-3: rgba(11, 138, 135, 0.05);
  --grid-line: rgba(11, 27, 59, 0.035);

  --nav-bg: rgba(255, 255, 255, 0.82);
  --topbar-bg: rgba(255, 255, 255, 0.85);
  --footer-bg: rgba(255, 255, 255, 0.9);
  --tabbar-bg: rgba(255, 255, 255, 0.92);
  --hover-bg: rgba(11, 27, 59, 0.06);
  --overlay-bg: rgba(11, 27, 59, 0.35);
  --nav-active-bg: linear-gradient(90deg, rgba(30, 79, 216, 0.12) 0%, rgba(30, 79, 216, 0) 100%);

  --chart-label: #0B1B3B;

  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02";
  letter-spacing: -0.005em;
  min-height: 100vh;
}

/* Ambient background for app shell */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 600px at 20% -10%, var(--ambient-1), transparent 55%),
    radial-gradient(900px 500px at 95% 20%, var(--ambient-2), transparent 55%),
    radial-gradient(800px 500px at 50% 120%, var(--ambient-3), transparent 55%);
  transition: background 0.2s ease;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(1400px 900px at 60% 20%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(1400px 900px at 60% 20%, black, transparent 80%);
}

.hover\:bg-\[rgba\(59\2c 110\2c 248\2c 0\.04\)\]:hover {
  background-color: rgba(59,110,248,0.04);
}

.hover\:text-\[color\:var\(--ink\)\]:hover {
  color: var(--ink);
}

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

@media not all and (min-width: 1280px) {

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

@media not all and (min-width: 1024px) {

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

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

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

@media not all and (min-width: 768px) {

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

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

@media not all and (min-width: 640px) {

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

