/* =====================================================================
   tailwind.css — Sistema de diseño "Geck" sobre Tailwind CSS v3.

   Reemplaza a `main.css` (retirado). Es la versión que trae el binario
   standalone que descarga Trunk (no soporta la sintaxis `@import
   "tailwindcss"`/`@theme` de v4) — el mapeo de colores/fuentes/radios a
   utilidades vive en `tailwind.config.js` (`theme.extend`), no aquí.
   Los mismos tokens de color/tema (paleta cian sobre azul marino oscuro
   / blanco azulado claro, tipografía Plus Jakarta Sans + JetBrains
   Mono) siguen viviendo en `:root` / `:root[data-theme]` — los colores
   de `tailwind.config.js` apuntan a esas variables (`var(--accent)`,
   no el hex), así que utilidades como `bg-accent`/`text-muted` siguen
   reaccionando en vivo al atributo `data-theme` que pone `theme.rs`.

   Migración incremental: por ahora solo `components/shell.rs` usa
   utilidades de Tailwind. El resto de clases de abajo (`.panel`,
   `.btn`, `.field`, etc.) son las mismas de `main.css` tal cual,
   envueltas en `@layer components` para que, cuando le toque su turno
   a cada página, una utilidad de Tailwind sí pueda pisarlas (las capas
   de Tailwind se ordenan base < components < utilities sin importar el
   orden en el archivo). */

/* ! tailwindcss v3.3.5 | 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.
*/

html {
  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: Plus Jakarta Sans, system-ui, sans-serif;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
}

/*
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. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: JetBrains Mono, ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/*
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 */
  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,
[type='button'],
[type='reset'],
[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] {
  display: none;
}

*, ::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:  ;
}

::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:  ;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button,
input {
  font: inherit;
  color: inherit;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-2);
}

input::-moz-placeholder {
  color: var(--faint);
}

input::placeholder {
  color: var(--faint);
}

button {
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------------------------- Tokens ---------------------------- */

:root {
  /* Le dice al navegador qué paleta usar para controles NATIVOS (ícono
     del selector de fecha, checkboxes, scrollbar) — sin esto, el
     navegador los pinta según la preferencia del SISTEMA OPERATIVO
     (`prefers-color-scheme`), no según el tema real de la app
     (`data-theme`, alternado a mano en `theme.rs`). Si SO y `data-theme`
     no coinciden, el ícono del calendario queda del color equivocado
     (oscuro sobre oscuro o claro sobre claro) — invisible. Repetido en
     los 3 bloques de abajo con el valor que corresponda a cada uno.
     Con el atributo aplicado, la <html data-theme> gana por
     especificidad sobre el default de :root cuando ambos calzan. */
  color-scheme: dark;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius-lg: 16px;
  --radius-pane: 11px;
  --radius-sm: 9px;
  --radius-xs: 6px;
  /* Oscuro (por defecto) */
  --bg: #070b1a;
  --bg-2: #0a1230;
  --panel: #0c1738;
  --panel-2: #0f1d44;
  --card: #0d1836;
  --card-line: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .06);
  --text: #eaf0ff;
  --muted: rgba(234, 240, 255, .60);
  --faint: rgba(234, 240, 255, .34);
  --accent: #06b6d4;
  --accent-2: #22d3ee;
  --accent-rgb: 6, 182, 212;
  --accent-soft: rgba(6, 182, 212, .14);
  --positive: #34d399;
  --positive-rgb: 52, 211, 153;
  --negative: #fb7185;
  --negative-rgb: 251, 113, 133;
  --warning: #fbbf24;
  --warning-rgb: 251, 191, 36;
  --hover: rgba(255, 255, 255, .05);
  --sidebar: #0a1230;
  --glass: rgba(12, 23, 56, .72);
  /* Paleta categórica (skill dataviz, references/palette.md) — orden fijo,
     nunca ciclada. Una 9ª categoría en adelante se pliega en "Otros". */
  --series-1: #3987e5;
  --series-2: #199e70;
  --series-3: #c98500;
  --series-4: #008300;
  --series-5: #9085e9;
  --series-6: #e66767;
  --series-7: #d55181;
  --series-8: #d95926;
  --series-otros: #5b6b8c;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #eef2f9;
    --bg-2: #e7edf7;
    --panel: #ffffff;
    --panel-2: #f4f7fc;
    --card: #ffffff;
    --card-line: rgba(9, 20, 54, .09);
    --line: rgba(9, 20, 54, .08);
    --text: #0c1b3a;
    --muted: rgba(12, 27, 58, .60);
    --faint: rgba(12, 27, 58, .42);
    --accent: #0891b2;
    --accent-2: #06b6d4;
    --accent-rgb: 8, 145, 178;
    --accent-soft: rgba(8, 145, 178, .12);
    --positive: #16a34a;
    --positive-rgb: 22, 163, 74;
    --negative: #e11d48;
    --negative-rgb: 225, 29, 72;
    --warning: #b45309;
    --warning-rgb: 180, 83, 9;
    --hover: rgba(9, 20, 54, .045);
    --sidebar: #ffffff;
    --glass: rgba(255, 255, 255, .78);
    --series-1: #2a78d6;
    --series-2: #1baf7a;
    --series-3: #eda100;
    --series-4: #008300;
    --series-5: #4a3aa7;
    --series-6: #e34948;
    --series-7: #e87ba4;
    --series-8: #eb6834;
    --series-otros: #94a3b8;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070b1a;
  --bg-2: #0a1230;
  --panel: #0c1738;
  --panel-2: #0f1d44;
  --card: #0d1836;
  --card-line: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .06);
  --text: #eaf0ff;
  --muted: rgba(234, 240, 255, .60);
  --faint: rgba(234, 240, 255, .34);
  --accent: #06b6d4;
  --accent-2: #22d3ee;
  --accent-rgb: 6, 182, 212;
  --accent-soft: rgba(6, 182, 212, .14);
  --positive: #34d399;
  --positive-rgb: 52, 211, 153;
  --negative: #fb7185;
  --negative-rgb: 251, 113, 133;
  --warning: #fbbf24;
  --warning-rgb: 251, 191, 36;
  --hover: rgba(255, 255, 255, .05);
  --sidebar: #0a1230;
  --glass: rgba(12, 23, 56, .72);
  --series-1: #3987e5;
  --series-2: #199e70;
  --series-3: #c98500;
  --series-4: #008300;
  --series-5: #9085e9;
  --series-6: #e66767;
  --series-7: #d55181;
  --series-8: #d95926;
  --series-otros: #5b6b8c;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eef2f9;
  --bg-2: #e7edf7;
  --panel: #ffffff;
  --panel-2: #f4f7fc;
  --card: #ffffff;
  --card-line: rgba(9, 20, 54, .09);
  --line: rgba(9, 20, 54, .08);
  --text: #0c1b3a;
  --muted: rgba(12, 27, 58, .60);
  --faint: rgba(12, 27, 58, .42);
  --accent: #0891b2;
  --accent-2: #06b6d4;
  --accent-rgb: 8, 145, 178;
  --accent-soft: rgba(8, 145, 178, .12);
  --positive: #16a34a;
  --positive-rgb: 22, 163, 74;
  --negative: #e11d48;
  --negative-rgb: 225, 29, 72;
  --warning: #b45309;
  --warning-rgb: 180, 83, 9;
  --hover: rgba(9, 20, 54, .045);
  --sidebar: #ffffff;
  --glass: rgba(255, 255, 255, .78);
  --series-1: #2a78d6;
  --series-2: #1baf7a;
  --series-3: #eda100;
  --series-4: #008300;
  --series-5: #4a3aa7;
  --series-6: #e34948;
  --series-7: #e87ba4;
  --series-8: #eb6834;
  --series-otros: #94a3b8;
}

/* ------------------------------ Tipografía ------------------------------ */

.eyebrow {
  font: 600 11px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.figure {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.mono {
  font-family: var(--font-mono);
}

.text-soft {
  color: var(--muted);
}

.text-faint {
  color: var(--faint);
}

.text-positive {
  color: var(--positive);
}

/* ------------------------------ Marca ------------------------------ */

.brand-mark {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #04222e;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark.brand-mark-lg {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 20px;
}

/* ------------------------------ Formularios ------------------------------ */

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

.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.field input {
  background: none;
  border: none;
  padding: 14px 0;
  font-size: 14.5px;
  color: var(--text);
}

.field input::-moz-placeholder {
  color: var(--faint);
}

.field input::placeholder {
  color: var(--faint);
}

.field-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-pane);
  background: var(--panel);
  transition: border-color .15s, box-shadow .15s;
}

.field-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field-input-wrap .field-icon {
  flex: none;
  width: 18px;
  height: 18px;
  stroke: var(--faint);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.field-input-wrap input {
  flex: 1;
  min-width: 0;
}

.field-input-wrap.has-toggle input {
  padding-right: 4px;
}

.field-input-wrap .password-toggle {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--faint);
  padding: 6px;
}

.field-input-wrap .password-toggle svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pane);
  padding: 15px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform .12s, box-shadow .2s, opacity .14s;
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #04222e;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -8px var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  font-size: 12.5px;
  font-weight: 600;
}

.btn-ghost:hover {
  background: var(--hover);
}

.btn-block {
  width: 100%;
}

.banner {
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
}

.banner-error {
  background: rgba(var(--negative-rgb), 0.12);
  border: 1px solid var(--negative);
  color: var(--negative);
}

.banner-warning {
  background: rgba(var(--warning-rgb), 0.12);
  border: 1px solid var(--warning);
  color: var(--warning);
}

/* ------------------------------ Chrome flotante (vidrio) ------------------------------ */

/* Reservado para elementos que flotan sobre el contenido — topbar,
   switchers, tarjeta de login variante C. Los paneles de contenido NO
   usan esta clase: son tarjetas sólidas (ver .panel más abajo). */

.glass {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

/* ------------------------------ Login ------------------------------ */

.auth-screen {
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Usado por pantallas de una sola tarjeta flotante (p.ej. NotFound) que
   no forman parte del split de login — .login-split ya se encarga de
   su propio layout y no debe llevar este centrado. */

.auth-screen-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg);
}

.login-split {
  min-height: 100dvh;
  display: flex;
}

.login-form-panel {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: var(--bg);
}

.login-form-panel-inner {
  width: 100%;
  max-width: 388px;
}

.login-brand-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 44px;
}

.login-brand-row .brand-word {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.login-brand-tag {
  margin-left: auto;
  font: 600 10px var(--font-mono);
  color: var(--faint);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
}

.login-form-panel h1 {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.auth-card form {
  display: flex;
  flex-direction: column;
}

.login-form-panel form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-remember-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: none;
  font-size: 13px;
  color: var(--muted);
  padding: 0;
}

.login-remember-check {
  width: 19px;
  height: 19px;
  border-radius: var(--radius-xs);
  border: 1.6px solid var(--card-line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-remember-check[data-active="true"] {
  background: var(--accent-soft);
}

.login-remember-check svg {
  width: 12px;
  height: 12px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 3;
}

.login-forgot-link {
  font-size: 13px;
  font-weight: 600;
}

.auth-footer {
  margin-top: 26px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

.auth-footer a {
  font-weight: 600;
}

/* Panel derecho: mascota + mensaje de marca. */

.login-mascot-panel {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 70% 10%, #123a63 0%, #0a1a3a 42%, #070b1a 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px;
  color: #f2f7ff;
}

.login-mascot-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.login-mascot-glow-a {
  width: 420px;
  height: 420px;
  right: -90px;
  top: -60px;
  background: radial-gradient(circle, rgba(34, 211, 238, .30), transparent 65%);
  animation: geck-glow 7s ease-in-out infinite;
}

.login-mascot-glow-b {
  width: 340px;
  height: 340px;
  left: -70px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(37, 99, 235, .28), transparent 65%);
}

.login-mascot-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-mascot-pill {
  font: 600 11px var(--font-mono);
  color: rgba(234, 240, 255, .7);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 5px 10px;
  border-radius: var(--radius-xs);
}

.login-mascot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 10px var(--positive);
}

.login-mascot-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gecko-mascot {
  width: 230px;
  height: 230px;
  -o-object-fit: contain;
     object-fit: contain;
  animation: geck-floaty 6s ease-in-out infinite;
  filter: drop-shadow(0 24px 40px rgba(6, 182, 212, .35));
}

.login-mascot-title {
  margin-top: 34px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #f2f7ff;
  max-width: 340px;
}

.login-mascot-subtitle {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(234, 240, 255, .6);
  max-width: 330px;
}

.login-mascot-chips {
  position: relative;
  display: flex;
  gap: 24px;
  justify-content: center;
  color: rgba(234, 240, 255, .5);
  font-size: 12.5px;
  font-weight: 600;
}

@keyframes geck-floaty {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes geck-glow {
  0%,
  100% {
    opacity: .55;
    transform: scale(1);
  }

  50% {
    opacity: .9;
    transform: scale(1.08);
  }
}

@media (max-width: 860px) {
  .login-split {
    flex-direction: column;
  }

  .login-mascot-panel {
    min-height: 38vh;
  }
}

/* Tarjeta centrada de chrome flotante (variante C de Geck): usada
   también por NotFound — no es un panel de contenido, es un elemento
   flotante sobre el fondo de marca, por eso sí lleva .glass. */

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  padding: 40px 34px;
  border-radius: 20px;
  color: var(--text);
  border: 1px solid var(--card-line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  text-align: center;
}

.auth-card h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 24px;
}

/* ------------------------------ App shell: iconos compartidos ------------------------------ */

/* `.app-icon-btn`/`.app-notif-btn` siguen viviendo aquí (no en utilidades
   de Tailwind) porque `components/notificaciones.rs` también los usa —
   `components/shell.rs` ya migró el resto de su estructura. */

.app-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: transparent;
  flex: none;
}

/* La campana (`.app-notif-btn`, en notificaciones.rs) empuja a sí misma
   y a todo lo que sigue (avatar, logout) al borde derecho del header. */

.app-notif-btn {
  margin-left: auto;
}

.app-icon-btn:hover {
  background: var(--hover);
}

.app-icon-btn svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------ Tarjetas de contenido ------------------------------ */

/* Tarjetas sólidas — sin vidrio. El blur queda para .glass (topbar,
   chrome flotante). */

.panel {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.panel+.panel {
  margin-top: 18px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.panel-head h2,
.panel-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  /* Sin esto, un título largo (nombre de tenant, email) no se achica
     ni envuelve dentro del flex — empuja el botón de al lado y
     desborda el panel en viewports angostos. */
  min-width: 0;
  overflow-wrap: break-word;
}

.placeholder-panel .figure {
  font-size: 22px;
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

/* ------------------------------ Pestañas ------------------------------ */

/* Sub-navegación dentro de un módulo (ej. Cuentas: "Cuentas" /
   "Transacciones"). Distinto de .nav-link (esos son módulos, no
   pestañas dentro de un módulo). */

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.tab-btn {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid transparent;
}

.tab-btn:hover {
  background: var(--hover);
}

.tab-btn.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ------------------------------ Tablas ------------------------------ */

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  font: 600 11px var(--font-mono);
  letter-spacing: 0.05em;
  color: var(--faint);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}

.data-table td {
  padding: 12px 10px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--hover);
}

.data-table .num {
  font-family: var(--font-mono);
  text-align: right;
}

/* Envuelve toda .data-table: si el contenido es más ancho que el panel
   (muchas columnas, viewport angosto), scrollea en vez de desbordar el
   contenedor. */

.table-scroll {
  overflow-x: auto;
}

/* -------------------------- Menú de fila (engranaje) -------------------------- */

/* Reemplaza los botones de acción inline en las filas de una tabla: un
   ícono de engranaje que despliega Editar/Borrar, para no desbordar la
   fila en viewports angostos o con muchas columnas. */

.menu-gear {
  position: relative;
  display: inline-flex;
}

.menu-gear-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  color: var(--faint);
}

.menu-gear-btn:hover {
  background: var(--hover);
  color: var(--text);
}

.menu-gear-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* La posición (top/right) se fija por JS al abrir, vía estilo inline —
   ver `abrir_menu()` en cada `Menu*` del frontend. El menú se monta con
   `<Portal>` directo en `<body>`, no dentro de `.table-scroll`: si
   quedara ahí, el `overflow-x: auto` de esa clase fuerza a `overflow-y`
   a valer `auto` también (regla de CSS Overflow), y en una tabla de
   pocas filas el menú se recorta antes de alcanzar su alto completo. */

.menu-dropdown {
  position: fixed;
  z-index: 10;
  min-width: 120px;
  background: var(--panel);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35);
  padding: 4px;
  display: flex;
  flex-direction: column;
}

.menu-item {
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  color: var(--text);
}

.menu-item:hover {
  background: var(--hover);
}

.menu-item.is-danger {
  color: var(--negative);
}

/* ------------------------------ Chips ------------------------------ */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--hover);
  color: var(--muted);
  border: 1px solid var(--card-line);
}

.chip-toggle {
  cursor: pointer;
}

.chip-toggle.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}

/* ------------------------------ Formularios en tarjeta ------------------------------ */

/* Un .panel que envuelve un <form>: usado para crear/editar un recurso
   inline, sin modal. */

.form-panel {
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.field select {
  background: var(--panel);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-pane);
  padding: 11px 12px;
  font-size: 14px;
  color: var(--text);
}

.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ------------------------------ Presupuestos ------------------------------ */

/* Tarjeta con barra de progreso gastado/límite, módulo Agenda. */

.budget-card {
  border: 1px solid var(--card-line);
  border-radius: var(--radius-pane);
  padding: 14px 16px;
  margin-bottom: 12px;
  background: var(--panel);
}

.budget-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.budget-card-head h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: break-word;
}

.budget-track {
  height: 8px;
  border-radius: 999px;
  background: var(--hover);
  overflow: hidden;
}

.budget-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transition: width .2s ease;
}

.budget-fill.is-warning {
  background: var(--warning);
}

.budget-fill.is-over {
  background: var(--negative);
}

/* ------------------------------ Dashboard: KPIs ------------------------------ */

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.stat-tile {
  background: var(--panel);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-pane);
  padding: 14px 16px;
}

.stat-tile .stat-label {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.stat-tile .stat-value {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 700;
}

.stat-tile.is-clickable {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  font: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: opacity .15s ease, border-color .15s ease, background-color .15s ease;
}

.stat-tile.is-clickable.is-dimmed {
  opacity: .55;
}

/* ------------------- Dashboard: distribución de gastos ------------------- */

/* Barra horizontal apilada (part-to-whole) — la forma que indica la
   skill dataviz para categorías de nombre largo, nunca donut. El gap
   entre segmentos usa el color de fondo real del panel como "corte",
   no un borde — mismo principio que separa las barras de .budget-*. */

/* --------------------------- Campana de notificaciones --------------------------- */

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--negative);
  color: #fff;
  font: 700 10px var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.notif-dropdown {
  position: fixed;
  width: 340px;
  /* Respaldo del cálculo en JS (`abrir_menu`, `menu_flotante.rs`): si
     el viewport es más angosto que 340px + margen, este límite evita
     que el contenedor se salga de la pantalla aunque la posición ya
     esté ajustada. */
  max-width: calc(100vw - 16px);
  max-height: 400px;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35);
  z-index: 10;
}

.notif-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-item:hover {
  background: var(--hover);
}

.notif-item h5 {
  margin: 0 0 2px;
  font-size: 13px;
  color: var(--text);
}

.notif-item p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.notif-empty {
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* Loader inicial: vive directo en index.html (fuera del árbol de Leptos)
   porque debe mostrarse mientras el WASM todavía se descarga/compila —
   antes de que exista cualquier componente. main.rs lo quita del DOM
   apenas mount_to_body(App) corre. */

#wasm-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--bg);
  /* Arranca invisible: el <script> inline de index.html le agrega
     `.visible` a los 500ms si para entonces el WASM todavía no montó
     la app (ver quitar_loader_inicial en main.rs). */
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

#wasm-loader.visible {
  opacity: 1;
  pointer-events: auto;
}

.wasm-loader-mascot {
  width: 120px;
  height: 120px;
  -o-object-fit: contain;
     object-fit: contain;
  animation: geck-floaty 1.6s ease-in-out infinite;
  filter: drop-shadow(0 16px 28px rgba(6, 182, 212, .35));
}

.wasm-loader-text {
  font: 600 13px var(--font-mono);
  color: var(--muted);
  letter-spacing: .02em;
}

/* Barra indeterminada: no hay forma de medir el progreso real de
   descarga/compilación del WASM desde aquí, así que solo simula avance
   para que no se sienta trabado. */

.wasm-loader-progress {
  width: 160px;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--card-line);
}

.wasm-loader-progress-bar {
  width: 45%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  animation: wasm-loader-sweep 1.1s ease-in-out infinite;
}

@keyframes wasm-loader-sweep {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(320%);
  }
}

/* Todo lo de abajo, hasta `@tailwind utilities`, son las clases de
   `main.css` sin cambios — ver la nota de cascada al inicio del archivo. */

/* fin @layer components */

.visible {
  visibility: visible;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.inset-0 {
  inset: 0px;
}

.inset-x-0 {
  left: 0px;
  right: 0px;
}

.bottom-0 {
  bottom: 0px;
}

.bottom-\[calc\(76px\+env\(safe-area-inset-bottom\)\)\] {
  bottom: calc(76px + env(safe-area-inset-bottom));
}

.right-4 {
  right: 1rem;
}

.top-0 {
  top: 0px;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-\[5\] {
  z-index: 5;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-0 {
  margin-top: 0px;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-1 {
  height: 0.25rem;
}

.h-1\.5 {
  height: 0.375rem;
}

.h-14 {
  height: 3.5rem;
}

.h-2 {
  height: 0.5rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-\[18px\] {
  height: 18px;
}

.h-\[19px\] {
  height: 19px;
}

.h-\[30px\] {
  height: 30px;
}

.h-\[5px\] {
  height: 5px;
}

.h-\[8px\] {
  height: 8px;
}

.max-h-\[85dvh\] {
  max-height: 85dvh;
}

.min-h-\[100dvh\] {
  min-height: 100dvh;
}

.min-h-\[18px\] {
  min-height: 18px;
}

.min-h-\[52px\] {
  min-height: 52px;
}

.w-10 {
  width: 2.5rem;
}

.w-14 {
  width: 3.5rem;
}

.w-2 {
  width: 0.5rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-\[18px\] {
  width: 18px;
}

.w-\[19px\] {
  width: 19px;
}

.w-\[30px\] {
  width: 30px;
}

.w-\[5px\] {
  width: 5px;
}

.w-\[8px\] {
  width: 8px;
}

.w-full {
  width: 100%;
}

.min-w-0 {
  min-width: 0px;
}

.min-w-\[220px\] {
  min-width: 220px;
}

.min-w-\[64px\] {
  min-width: 64px;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-none {
  flex: none;
}

.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));
}

.touch-none {
  touch-action: none;
}

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

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

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

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

.justify-center {
  justify-content: center;
}

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

.gap-1 {
  gap: 0.25rem;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-2\.5 {
  gap: 0.625rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-\[3px\] {
  gap: 3px;
}

.gap-\[9px\] {
  gap: 9px;
}

.overflow-x-auto {
  overflow-x: auto;
}

.overflow-y-auto {
  overflow-y: auto;
}

.overflow-y-visible {
  overflow-y: visible;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rounded-\[8px\] {
  border-radius: 8px;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-pane {
  border-radius: 11px;
}

.rounded-sm {
  border-radius: 9px;
}

.rounded-t-\[20px\] {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-accent {
  border-color: var(--accent);
}

.border-card-line {
  border-color: var(--card-line);
}

.border-line {
  border-color: var(--line);
}

.bg-\[rgba\(255\2c 255\2c 255\2c \.08\)\] {
  background-color: rgba(255,255,255,.08);
}

.bg-bg {
  background-color: var(--bg);
}

.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}

.bg-card-line {
  background-color: var(--card-line);
}

.bg-hover {
  background-color: var(--hover);
}

.bg-panel {
  background-color: var(--panel);
}

.bg-sidebar {
  background-color: var(--sidebar);
}

.bg-transparent {
  background-color: transparent;
}

.bg-\[linear-gradient\(135deg\2c \#8b5cf6\2c var\(--accent\)\)\] {
  background-image: linear-gradient(135deg,#8b5cf6,var(--accent));
}

.bg-\[linear-gradient\(135deg\2c var\(--accent-2\)\2c var\(--accent\)\)\] {
  background-image: linear-gradient(135deg,var(--accent-2),var(--accent));
}

.fill-none {
  fill: none;
}

.stroke-current {
  stroke: currentColor;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-3\.5 {
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-\[13px\] {
  padding-left: 13px;
  padding-right: 13px;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-3\.5 {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.py-\[5px\] {
  padding-top: 5px;
  padding-bottom: 5px;
}

.py-\[9px\] {
  padding-top: 9px;
  padding-bottom: 9px;
}

.pb-1 {
  padding-bottom: 0.25rem;
}

.pb-1\.5 {
  padding-bottom: 0.375rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pb-\[22px\] {
  padding-bottom: 22px;
}

.pb-\[90px\] {
  padding-bottom: 90px;
}

.pb-\[calc\(8px\+env\(safe-area-inset-bottom\)\)\] {
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
}

.pb-\[env\(safe-area-inset-bottom\)\] {
  padding-bottom: env(safe-area-inset-bottom);
}

.pl-\[6px\] {
  padding-left: 6px;
}

.pr-\[10px\] {
  padding-right: 10px;
}

.pt-1 {
  padding-top: 0.25rem;
}

.pt-1\.5 {
  padding-top: 0.375rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-5 {
  padding-top: 1.25rem;
}

.pt-\[18px\] {
  padding-top: 18px;
}

.pt-\[calc\(16px\+env\(safe-area-inset-top\)\)\] {
  padding-top: calc(16px + env(safe-area-inset-top));
}

.text-center {
  text-align: center;
}

.font-mono {
  font-family: JetBrains Mono, ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.text-\[10\.5px\] {
  font-size: 10.5px;
}

.text-\[10px\] {
  font-size: 10px;
}

.text-\[11px\] {
  font-size: 11px;
}

.text-\[12\.5px\] {
  font-size: 12.5px;
}

.text-\[12px\] {
  font-size: 12px;
}

.text-\[13px\] {
  font-size: 13px;
}

.text-\[14px\] {
  font-size: 14px;
}

.text-\[15px\] {
  font-size: 15px;
}

.text-\[16px\] {
  font-size: 16px;
}

.text-\[17px\] {
  font-size: 17px;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-semibold {
  font-weight: 600;
}

.tracking-\[-0\.02em\] {
  letter-spacing: -0.02em;
}

.tracking-\[0\.08em\] {
  letter-spacing: 0.08em;
}

.text-\[\#04222e\] {
  --tw-text-opacity: 1;
  color: rgb(4 34 46 / var(--tw-text-opacity));
}

.text-\[\#eaf0ff\] {
  --tw-text-opacity: 1;
  color: rgb(234 240 255 / var(--tw-text-opacity));
}

.text-\[rgba\(234\2c 240\2c 255\2c \.6\)\] {
  color: rgba(234,240,255,.6);
}

.text-accent {
  color: var(--accent);
}

.text-faint {
  color: var(--faint);
}

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

.text-positive {
  color: var(--positive);
}

.text-text {
  color: var(--text);
}

.shadow-\[0_-12px_30px_-10px_rgba\(0\2c 0\2c 0\2c \.35\)\] {
  --tw-shadow: 0 -12px 30px -10px rgba(0,0,0,.35);
  --tw-shadow-colored: 0 -12px 30px -10px 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-\[0_10px_26px_-8px_var\(--accent\)\] {
  --tw-shadow: 0 10px 26px -8px var(--accent);
  --tw-shadow-colored: 0 10px 26px -8px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-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 {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  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;
}

.\[stroke-linecap\:round\] {
  stroke-linecap: round;
}

.\[stroke-linejoin\:round\] {
  stroke-linejoin: round;
}

.\[stroke-width\:1\.7\] {
  stroke-width: 1.7;
}

.\[stroke-width\:1\.8\] {
  stroke-width: 1.8;
}

.\[stroke-width\:2\] {
  stroke-width: 2;
}

.hover\:bg-\[rgba\(255\2c 255\2c 255\2c \.14\)\]:hover {
  background-color: rgba(255,255,255,.14);
}

.hover\:bg-hover:hover {
  background-color: var(--hover);
}

.aria-\[current\=page\]\:bg-accent-soft[aria-current=page] {
  background-color: var(--accent-soft);
}

.aria-\[current\=page\]\:text-accent[aria-current=page] {
  color: var(--accent);
}

@media (min-width: 640px) {
  .sm\:inline {
    display: inline;
  }
}

@media (min-width: 768px) {
  .md\:sticky {
    position: sticky;
  }

  .md\:inset-auto {
    inset: auto;
  }

  .md\:top-0 {
    top: 0px;
  }

  .md\:mt-auto {
    margin-top: auto;
  }

  .md\:block {
    display: block;
  }

  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:h-\[100dvh\] {
    height: 100dvh;
  }

  .md\:w-\[250px\] {
    width: 250px;
  }

  .md\:min-w-0 {
    min-width: 0px;
  }

  .md\:flex-none {
    flex: none;
  }

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

  .md\:flex-col {
    flex-direction: column;
  }

  .md\:items-stretch {
    align-items: stretch;
  }

  .md\:justify-start {
    justify-content: flex-start;
  }

  .md\:gap-0 {
    gap: 0px;
  }

  .md\:gap-0\.5 {
    gap: 0.125rem;
  }

  .md\:gap-3 {
    gap: 0.75rem;
  }

  .md\:overflow-hidden {
    overflow: hidden;
  }

  .md\:overflow-y-auto {
    overflow-y: auto;
  }

  .md\:overflow-x-visible {
    overflow-x: visible;
  }

  .md\:rounded-\[14px\] {
    border-radius: 14px;
  }

  .md\:border {
    border-width: 1px;
  }

  .md\:border-r {
    border-right-width: 1px;
  }

  .md\:border-t-0 {
    border-top-width: 0px;
  }

  .md\:border-line {
    border-color: var(--line);
  }

  .md\:p-4 {
    padding: 1rem;
  }

  .md\:px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .md\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .md\:px-\[30px\] {
    padding-left: 30px;
    padding-right: 30px;
  }

  .md\:py-\[11px\] {
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .md\:py-\[22px\] {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .md\:pb-10 {
    padding-bottom: 2.5rem;
  }

  .md\:pb-\[18px\] {
    padding-bottom: 18px;
  }

  .md\:pt-\[26px\] {
    padding-top: 26px;
  }

  .md\:pt-\[calc\(18px\+env\(safe-area-inset-top\)\)\] {
    padding-top: calc(18px + env(safe-area-inset-top));
  }

  .md\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .md\:\[background\:linear-gradient\(150deg\2c \#123a63\2c \#0a1a3a\)\] {
    background: linear-gradient(150deg,#123a63,#0a1a3a);
  }
}
