@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&family=DM+Mono:wght@400;500&display=swap');


/* src/index.css */
/* PaddockHQ — Liquid Glass Design System */
*, ::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: Geist, 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: DM 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;
}
/* Light mode */
:root {
    --background: 0 0% 100%;
    --foreground: 0 0% 9%;
    --card: 0 0% 100%;
    --card-foreground: 0 0% 9%;
    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 9%;
    --primary: 0 0% 9%;
    --primary-foreground: 0 0% 98%;
    --secondary: 0 0% 96%;
    --secondary-foreground: 0 0% 9%;
    --muted: 0 0% 96%;
    --muted-foreground: 0 0% 45%;
    --accent: 0 0% 96%;
    --accent-foreground: 0 0% 9%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 98%;
    --border: 0 0% 90%;
    --input: 0 0% 90%;
    --ring: 0 0% 9%;
    --radius: 0.625rem;
  }
/* Dark mode */
.dark {
    --background: 0 0% 7%;
    --foreground: 0 0% 98%;
    --card: 0 0% 9%;
    --card-foreground: 0 0% 98%;
    --popover: 0 0% 9%;
    --popover-foreground: 0 0% 98%;
    --primary: 0 0% 98%;
    --primary-foreground: 0 0% 9%;
    --secondary: 0 0% 14%;
    --secondary-foreground: 0 0% 98%;
    --muted: 0 0% 14%;
    --muted-foreground: 0 0% 63%;
    --accent: 0 0% 14%;
    --accent-foreground: 0 0% 98%;
    --destructive: 0 72% 51%;
    --destructive-foreground: 0 0% 98%;
    --border: 0 0% 16%;
    --input: 0 0% 16%;
    --ring: 0 0% 83%;
    --radius: 0.625rem;
  }
.font-display { font-family: 'Geist', sans-serif; }
h1, h2, h3, .heading {
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    letter-spacing: -0.01em;
  }
/* ─── LAYOUT ──────────────────────────────────────────────────────────── */
.app-shell {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: transparent;
  }
/* ─── SIDEBAR ─────────────────────────────────────────────────────────── */
.sidebar {
    width: 228px;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(18, 19, 23, 0.82), rgba(11, 12, 15, 0.72));
    border-right: 1px solid var(--paddock-border);
    backdrop-filter: blur(34px) saturate(160%);
    box-shadow: inset -1px 0 0 rgba(255,255,255,0.035);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 20px 18px 18px;
    border-bottom: 1px solid var(--paddock-border);
  }
.sidebar-nav {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    overflow-y: auto;
  }
.nav-section {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-3);
    padding: 12px 8px 4px;
  }
.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-2);
    cursor: pointer;
    transition: background 0.16s, color 0.16s, border-color 0.16s, transform 0.16s;
    position: relative;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    text-decoration: none;
  }
.nav-item:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-1);
    transform: translateX(1px);
  }
.nav-item.active {
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.055));
    border: 1px solid rgba(255,255,255,0.10);
    color: var(--text-1);
    font-weight: 500;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 24px rgba(0,0,0,0.18);
  }
.nav-item.\!active {
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.055)) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    color: var(--text-1) !important;
    font-weight: 500 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 24px rgba(0,0,0,0.18) !important;
  }
.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: var(--red);
    border-radius: 0 3px 3px 0;
  }
.nav-item.\!active::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 3px !important;
    height: 18px !important;
    background: var(--red) !important;
    border-radius: 0 3px 3px 0 !important;
  }
.nav-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.55;
    transition: opacity 0.12s;
  }
.nav-item:hover .nav-icon,
  .nav-item.active .nav-icon { opacity: 1; }

  .nav-item.\!active .nav-icon { opacity: 1 !important; }
.nav-badge {
    margin-left: auto;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    color: var(--red);
    background: var(--red-dim);
    padding: 1px 6px;
    border-radius: 99px;
  }
.sidebar-footer {
    padding: 10px 8px;
    border-top: 1px solid var(--paddock-border);
  }
.user-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 9px;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.12s;
  }
.user-row:hover { background: rgba(255,255,255,0.07); }
.user-avatar {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb86b 0%, var(--red) 58%, #7c2d12 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Geist', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: 0.05em;
  }
.user-name  { font-size: 12.5px; font-weight: 500; color: var(--text-1); }
.user-plan  { font-size: 10.5px; color: var(--text-3); margin-top: 1px; }
/* ─── MAIN ────────────────────────────────────────────────────────────── */
.main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
  }
/* ─── TOPBAR ──────────────────────────────────────────────────────────── */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: 64px;
    border-bottom: 1px solid var(--paddock-border);
    background: rgba(7, 8, 10, 0.52);
    backdrop-filter: blur(28px) saturate(160%);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
  }
.topbar-title {
    font-family: 'Geist', sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-1);
  }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
/* ─── PAGE CONTENT ────────────────────────────────────────────────────── */
.page-content {
    flex: 1;
    overflow-y: auto;
    padding: 26px 28px 32px;
  }
/* ─── BUTTONS ─────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Instrument Sans', sans-serif;
    cursor: pointer;
    border: none;
    transition: all 0.18s ease;
    white-space: nowrap;
    line-height: 1;
  }
.btn-primary {
    background: linear-gradient(135deg, #ff934f, var(--red) 62%, #d9470b);
    color: #fff;
    box-shadow: 0 12px 34px rgba(255, 106, 26, 0.22), inset 0 1px 0 rgba(255,255,255,0.26);
  }
.btn-primary:hover   { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 16px 42px rgba(255,106,26,0.30), inset 0 1px 0 rgba(255,255,255,0.32); }
.btn-primary:active  { transform: translateY(0); box-shadow: none; }
.btn-ghost {
    background: rgba(255,255,255,0.075);
    color: var(--text-2);
    border: 1px solid var(--paddock-border);
    backdrop-filter: blur(18px) saturate(150%);
  }
.btn-ghost:hover   { color: var(--text-1); border-color: var(--paddock-border-hover); background: rgba(255,255,255,0.12); }
.btn-ghost:active  { transform: scale(0.98); }
.btn-danger {
    background: rgba(255,106,26,0.10);
    color: var(--red);
    border: 1px solid rgba(255,106,26,0.22);
  }
.btn-danger:hover { background: rgba(255,106,26,0.18); }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-icon { padding: 7px; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
/* ─── CARDS ───────────────────────────────────────────────────────────── */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--paddock-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--glass-shadow-soft);
    backdrop-filter: blur(26px) saturate(155%);
  }
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--paddock-border);
  }
.card-title    { font-family: 'Geist', sans-serif; font-size: 13px; font-weight: 500; color: var(--text-1); }
.card-subtitle { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.card-body     { padding: 18px; }
/* ─── STAT CARDS ──────────────────────────────────────────────────────── */
.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--paddock-border);
    border-radius: 24px;
    padding: 20px 22px;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow-soft);
    backdrop-filter: blur(26px) saturate(155%);
  }
.stat-card:hover { border-color: var(--paddock-border-hover); transform: translateY(-1px); }
.stat-card.accent { border-color: rgba(255,106,26,0.32); background: linear-gradient(135deg, rgba(255,106,26,0.14), rgba(255,255,255,0.045)); }
.stat-card.accent::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red) 50%, transparent);
    opacity: 0.7;
  }
.stat-label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 8px;
  }
.stat-value {
    font-family: 'DM Mono', monospace;
    font-size: 26px;
    font-weight: 500;
    color: var(--text-1);
    line-height: 1;
    margin-bottom: 7px;
    letter-spacing: -0.02em;
  }
.stat-card.accent .stat-value { color: var(--red); }
.stat-delta { font-size: 11px; color: var(--text-3); display: flex; align-items: center; gap: 3px; }
.stat-delta.up   { color: #4ade80; }
.stat-delta.down { color: var(--red); }
/* ─── FORMS ───────────────────────────────────────────────────────────── */
.label {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 5px;
  }
.input {
    width: 100%;
    background: rgba(255,255,255,0.055);
    border: 1px solid var(--paddock-border);
    border-radius: 13px;
    padding: 10px 13px;
    font-size: 13.5px;
    color: var(--text-1);
    font-family: 'Instrument Sans', sans-serif;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
  }
.input:hover  { border-color: var(--paddock-border-hover); }
.input:focus  { border-color: rgba(255,106,26,0.55); box-shadow: var(--red-focus) 0 0 0 4px; background: rgba(255,255,255,0.075); }
.input::-moz-placeholder { color: var(--text-3); }
.input::placeholder { color: var(--text-3); }
select.input  { cursor: pointer; }
/* ─── TABLES ──────────────────────────────────────────────────────────── */
.table-wrap {
    background: var(--glass-bg);
    border: 1px solid var(--paddock-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--glass-shadow-soft);
    backdrop-filter: blur(26px) saturate(155%);
  }
table { width: 100%; border-collapse: collapse; }
thead th {
    text-align: left;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
    padding: 9px 18px;
    border-bottom: 1px solid var(--paddock-border);
    white-space: nowrap;
  }
.th { /* alias */ }
tbody tr {
    border-bottom: 1px solid var(--paddock-border);
    transition: background 0.1s;
    cursor: pointer;
  }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,0.055); }
td, .td {
    padding: 11px 18px;
    font-size: 13px;
    color: var(--text-2);
    vertical-align: middle;
  }
td.primary { color: var(--text-1); font-weight: 500; }
td.mono    { font-family: 'DM Mono', monospace; font-size: 12px; }
/* ─── BADGES ──────────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 99px;
    white-space: nowrap;
  }
.badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
  }
.badge-active    { background: rgba(34,197,94,0.10);  color: #4ade80; border: 1px solid rgba(34,197,94,0.15); }
.badge-active::before    { background: #4ade80; }
.badge-pending   { background: rgba(245,158,11,0.10); color: #fbbf24; border: 1px solid rgba(245,158,11,0.15); }
.badge-pending::before   { background: #fbbf24; }
.badge-completed { background: var(--surface-4); color: var(--text-3); border: 1px solid var(--paddock-border); }
.badge-completed::before { background: var(--text-3); }
.badge-vip       { background: rgba(59,130,246,0.10); color: #60a5fa; border: 1px solid rgba(59,130,246,0.15); }
.badge-vip::before       { background: #60a5fa; }
.badge-danger    { background: rgba(255,106,26,0.12);  color: var(--red); border: 1px solid rgba(255,106,26,0.20); }
.badge-danger::before    { background: var(--red); }
.badge-investor  { background: rgba(245,158,11,0.08); color: #fbbf24; border: 1px solid rgba(245,158,11,0.12); }
.badge-company   { background: var(--surface-4); color: var(--text-2); border: 1px solid var(--paddock-border); }
/* No dot variants */
.badge-plain::before { display: none; }
/* ─── MODAL ───────────────────────────────────────────────────────────── */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(18px) saturate(140%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: modalBackdropIn 260ms ease both;
    padding: 16px;
  }
.modal-box {
    background: linear-gradient(135deg, rgba(30,31,36,0.88), rgba(15,16,19,0.78));
    border: 1px solid var(--paddock-border-med);
    border-radius: 28px;
    width: 480px;
    max-width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 110px rgba(0,0,0,0.62), inset 0 1px 0 rgba(255,255,255,0.10), 0 0 0 1px rgba(255,255,255,0.035);
    backdrop-filter: blur(34px) saturate(170%);
    transform-origin: 50% 46%;
    animation: modalGlassIn 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: transform, opacity, filter;
  }
.modal-box.wide     { width: 640px; }
.modal-box.x-wide   { width: 800px; }
.modal-box:has(.vehicle-glass-modal) {
    background: linear-gradient(135deg, rgba(31, 32, 37, 0.70), rgba(10, 11, 14, 0.58));
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 44px 130px rgba(0,0,0,0.66), inset 0 1px 0 rgba(255,255,255,0.14);
  }
.vehicle-glass-modal {
    background:
      radial-gradient(circle at 16% 0%, rgba(255,106,26,0.12), transparent 34%),
      radial-gradient(circle at 92% 18%, rgba(255,255,255,0.09), transparent 28%);
  }
.vehicle-detail-hero {
    min-height: 190px;
    border-radius: 24px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
  }
.vehicle-card-photo {
    height: 126px;
    background:
      radial-gradient(circle at 70% 25%, rgba(255,106,26,0.20), transparent 38%),
      var(--surface-3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
  }
.vehicle-card-photo.has-photo {
    background: #0b0c0f;
  }
.vehicle-card-photo img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    display: block;
  }
.vehicle-card-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 72% 16%, rgba(255,106,26,0.20), transparent 34%);
    pointer-events: none;
  }
.vehicle-card-photo.has-photo::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.58));
  }
.vehicle-card-photo span:not(.badge) {
    position: relative;
    z-index: 1;
    padding: 0 18px;
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--text-2);
    text-align: center;
  }
.vehicle-detail-identity {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    min-width: 0;
  }
.vehicle-profile-photo {
    width: 116px;
    height: 116px;
    border-radius: 22px;
    overflow: hidden;
    flex: 0 0 auto;
    background: linear-gradient(135deg, rgba(255,106,26,0.22), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 18px 44px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.16);
    display: flex;
    align-items: center;
    justify-content: center;
  }
.vehicle-profile-photo img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
.vehicle-profile-photo span {
    padding: 10px;
    color: var(--text-2);
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
  }
.vehicle-detail-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-1);
    letter-spacing: -0.03em;
    line-height: 1.05;
  }
.vehicle-detail-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
  }
.rental-calendar-day {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    font: inherit;
    color: inherit;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s;
  }
.rental-calendar-day:hover {
    background: rgba(255,255,255,0.07) !important;
    border-color: rgba(255,255,255,0.20) !important;
  }
.rental-calendar-day:active {
    transform: translateY(1px);
  }
.rental-calendar-count {
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
    font-size: 10px;
    color: var(--text-1);
    background: rgba(255,106,26,0.18);
    border: 1px solid rgba(255,106,26,0.28);
  }
.rental-calendar-detail {
    margin-top: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    padding: 14px;
    background: rgba(255,255,255,0.045);
    display: grid;
    gap: 12px;
  }
.rental-calendar-empty {
    min-height: 58px;
    border-radius: 13px;
    border: 1px dashed rgba(255,255,255,0.12);
    color: var(--text-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
  }
.rental-calendar-detail-list {
    display: grid;
    gap: 8px;
  }
.rental-calendar-detail-item {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.045);
    border-radius: 13px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
  }
.rental-calendar-detail-item:hover {
    background: rgba(255,255,255,0.075);
    border-color: rgba(255,255,255,0.18);
  }
.rental-calendar-detail-title {
    font-size: 13px;
    color: var(--text-1);
    font-weight: 600;
  }
.rental-calendar-detail-dates {
    margin-top: 3px;
    font-size: 10px;
    color: var(--text-3);
  }
.vehicle-rental-history {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
.vehicle-rental-panel {
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    overflow: hidden;
  }
.vehicle-rental-panel-header {
    min-height: 72px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
.vehicle-rental-empty {
    padding: 24px 14px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
.vehicle-rental-list {
    display: grid;
    gap: 1px;
  }
.vehicle-rental-item {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: transparent;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: background 0.15s;
  }
.vehicle-rental-item:last-child {
    border-bottom: 0;
  }
.vehicle-rental-item:hover {
    background: rgba(255,255,255,0.055);
  }
.vehicle-rental-main {
    min-width: 0;
  }
.vehicle-rental-customer {
    color: var(--text-1);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
.vehicle-rental-dates {
    margin-top: 3px;
    color: var(--text-3);
    font-size: 10px;
  }
.vehicle-rental-meta {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
  }
.vehicle-rental-revenue {
    color: #4ade80;
    font-size: 11px;
  }
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 16px;
    border-bottom: 1px solid var(--paddock-border);
    flex-shrink: 0;
    animation: modalContentIn 420ms 90ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
.modal-title {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-1);
  }
.modal-close {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--surface-4);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1;
    transition: all 0.15s;
    flex-shrink: 0;
  }
.modal-close:hover { background: var(--surface-5); color: var(--text-1); }
.modal-body {
    padding: 20px 22px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: modalContentIn 460ms 130ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 22px;
    border-top: 1px solid var(--paddock-border);
    background: var(--surface-1);
    background: rgba(255,255,255,0.035);
    border-radius: 0 0 28px 28px;
    flex-shrink: 0;
    animation: modalContentIn 460ms 170ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
/* ─── SEARCH ──────────────────────────────────────────────────────────── */
.search-box {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.055);
    border: 1px solid var(--paddock-border);
    border-radius: 14px;
    padding: 6px 11px;
    color: var(--text-2);
    font-size: 13px;
    font-family: 'Instrument Sans', sans-serif;
    min-width: 200px;
    transition: border-color 0.15s;
  }
.search-box:focus-within { border-color: var(--paddock-border-hover); }
.search-box input { background: none; border: none; outline: none; color: var(--text-1); font-family: inherit; font-size: inherit; flex: 1; min-width: 0; }
.search-box input::-moz-placeholder { color: var(--text-3); }
.search-box input::placeholder { color: var(--text-3); }
/* ─── TABS ────────────────────────────────────────────────────────────── */
.tabs {
    display: flex;
    gap: 2px;
    background: rgba(255,255,255,0.055);
    border: 1px solid var(--paddock-border);
    border-radius: 14px;
    padding: 4px;
    width: -moz-fit-content;
    width: fit-content;
  }
.tab {
    padding: 5px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-3);
    cursor: pointer;
    transition: all 0.15s;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
.tab:hover { color: var(--text-2); }
.tab.active { background: rgba(255,255,255,0.13); color: var(--text-1); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
.tab.\!active { background: rgba(255,255,255,0.13) !important; color: var(--text-1) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,0.08) !important; }
/* ─── ALERTS ──────────────────────────────────────────────────────────── */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 15px;
    font-size: 13px;
    line-height: 1.5;
  }
.alert-error   { background: rgba(255,106,26,0.09);  border: 1px solid rgba(255,106,26,0.20); color: #ffb86b; }
.alert-success { background: rgba(34,197,94,0.08);  border: 1px solid rgba(34,197,94,0.18); color: #4ade80; }
.alert-warning { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.18); color: #fbbf24; }
.alert-info    { background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.18); color: #60a5fa; }
/* ─── FORM HELPERS ────────────────────────────────────────────────────── */
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
/* ─── DOC STATUS DOTS ─────────────────────────────────────────────────── */
.doc-dots { display: flex; gap: 3px; align-items: center; }
.doc-dot  { width: 7px; height: 7px; border-radius: 50%; background: var(--surface-5); flex-shrink: 0; }
.doc-dot.ok   { background: #4ade80; }
.doc-dot.warn { background: #fbbf24; }
.doc-dot.miss { background: var(--surface-5); }
/* ─── PROGRESS BAR ────────────────────────────────────────────────────── */
.progress-track {
    height: 4px;
    background: var(--surface-4);
    border-radius: 99px;
    overflow: hidden;
  }
.progress-fill {
    height: 100%;
    background: var(--red);
    border-radius: 99px;
    transition: width 0.4s ease;
  }
.progress-fill.green { background: #4ade80; }
/* ─── DASHBOARD CONTROL CENTER ───────────────────────────────────────── */
.dashboard-page {
    padding: 24px;
    background:
      radial-gradient(circle at 7% 3%, rgba(255,106,26,0.24), transparent 27%),
      radial-gradient(circle at 92% 18%, rgba(255,184,107,0.14), transparent 24%),
      linear-gradient(135deg, rgba(255,255,255,0.025), transparent 42%);
  }
.dash-loading-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
.dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
  }
.dash-kpi-card,
  .dash-glass-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    background:
      linear-gradient(145deg, rgba(255,255,255,0.125), rgba(255,255,255,0.043)),
      radial-gradient(circle at 0 0, rgba(255,255,255,0.08), transparent 34%);
    box-shadow: 0 20px 64px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.12);
    backdrop-filter: blur(34px) saturate(175%);
  }
.dash-kpi-card {
    min-height: 142px;
    border-radius: 28px;
    padding: 20px;
    transition: transform 0.18s ease, border-color 0.18s ease;
  }
.dash-kpi-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.20);
  }
.dash-kpi-card::after {
    content: '';
    position: absolute;
    inset: auto -30% -45% -30%;
    height: 90px;
    background: radial-gradient(circle, rgba(255,106,26,0.23), transparent 62%);
    opacity: 0.75;
  }
.dash-kpi-card.green::after { background: radial-gradient(circle, rgba(74,222,128,0.18), transparent 62%); }
.dash-kpi-card.blue::after { background: radial-gradient(circle, rgba(96,165,250,0.18), transparent 62%); }
.dash-kpi-card.purple::after { background: radial-gradient(circle, rgba(217,70,239,0.18), transparent 62%); }
.dash-kpi-icon {
    position: absolute;
    right: 17px;
    top: 17px;
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-family: 'DM Mono', monospace;
    font-size: 15px;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.07));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  }
.dash-kpi-label {
    color: var(--text-3);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
.dash-kpi-value {
    color: var(--text-1);
    font-family: 'DM Mono', monospace;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1;
    letter-spacing: -0.05em;
  }
.dash-kpi-card.orange .dash-kpi-value { color: #ff8f42; }
.dash-kpi-card.green .dash-kpi-value { color: #4ade80; }
.dash-kpi-note {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    color: var(--text-3);
    font-size: 11px;
  }
.dash-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 14px;
    align-items: start;
  }
.dash-column,
  .dash-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
  }
.dash-glass-card {
    border-radius: 28px;
  }
.dash-chart-card {
    padding-bottom: 8px;
  }
.dash-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 19px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.075);
  }
.dash-card-title {
    color: var(--text-1);
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }
.dash-pill {
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--text-2);
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.09);
    font-size: 11px;
  }
.dash-tooltip {
    min-width: 132px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(20,21,25,0.92);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 40px rgba(0,0,0,0.32);
    color: var(--text-2);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    backdrop-filter: blur(20px);
  }
.dash-tooltip-title {
    color: var(--text-1);
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    margin-bottom: 6px;
  }
.dash-segmented button.\!active {
    color: #fff !important;
    background: linear-gradient(135deg, #ff934f, var(--red)) !important;
    box-shadow: 0 8px 20px rgba(255,106,26,0.24) !important;
  }
.dash-segmented button.active {
    color: #fff;
    background: linear-gradient(135deg, #ff934f, var(--red));
    box-shadow: 0 8px 20px rgba(255,106,26,0.24);
  }
.dash-event-row,
  .dash-table-row,
  .dash-vehicle-card {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: transparent;
    text-align: left;
  }
.dash-event-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
  }
.dash-event-row.compact {
    padding: 11px 18px;
  }
.dash-event-row.\!compact {
    padding: 11px 18px !important;
  }
.dash-event-row > span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    flex: 0 0 auto;
  }
.dash-event-row strong,
  .dash-table-row strong,
  .dash-vehicle-card strong {
    display: block;
    color: var(--text-1);
    font-size: 12px;
    font-weight: 600;
  }
.dash-event-row small,
  .dash-table-row small,
  .dash-vehicle-card small {
    display: block;
    margin-top: 2px;
    color: var(--text-3);
    font-size: 10.5px;
  }
.dash-empty {
    padding: 18px;
    color: var(--text-3);
    font-size: 12px;
  }
.dash-vehicle-list {
    display: grid;
  }
.dash-vehicle-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    cursor: pointer;
    transition: background 0.14s;
  }
.dash-vehicle-card:hover,
  .dash-table-row:hover {
    background: rgba(255,255,255,0.055);
  }
.dash-vehicle-card em {
    color: var(--text-2);
    font-style: normal;
    font-size: 10.5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.065);
    white-space: nowrap;
  }
.dash-vehicle-dot.green { background: #4ade80; box-shadow: 0 0 16px rgba(74,222,128,0.55); }
.dash-vehicle-dot.orange { background: var(--red); box-shadow: 0 0 16px rgba(255,106,26,0.55); }
.dash-vehicle-dot.blue { background: #60a5fa; box-shadow: 0 0 16px rgba(96,165,250,0.50); }
.dash-vehicle-dot.amber { background: #fbbf24; box-shadow: 0 0 16px rgba(251,191,36,0.45); }
.dash-table {
    display: grid;
  }
.dash-table-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 100px 100px 86px;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    cursor: pointer;
    color: var(--text-2);
  }
.dash-status {
    justify-self: start;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--text-2);
    background: rgba(255,255,255,0.065);
    font-size: 10px;
    text-transform: capitalize;
  }
.dash-status.active { color: #4ade80; background: rgba(74,222,128,0.10); }
.dash-status.\!active { color: #4ade80 !important; background: rgba(74,222,128,0.10) !important; }
.dash-status.pending { color: #fbbf24; background: rgba(251,191,36,0.10); }
@media (max-width: 1220px) {
    .dash-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dash-main-grid { grid-template-columns: 1fr; }
    .dash-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
@media (max-width: 820px) {
    .dashboard-page { padding: 16px; }
    .dash-kpi-grid,
    .dash-side { grid-template-columns: 1fr; }
    .dash-table-row { grid-template-columns: 1fr; gap: 5px; }
    .dash-util-card { grid-template-columns: 1fr; justify-items: center; }
    .dash-util-stats { width: 100%; }

    .vehicle-detail-hero,
    .vehicle-detail-identity {
      align-items: flex-start;
      flex-direction: column;
    }

    .vehicle-detail-actions {
      width: 100%;
      align-items: flex-start;
    }

    .vehicle-detail-title {
      font-size: 24px;
    }

    .vehicle-rental-history {
      grid-template-columns: 1fr;
    }

    .vehicle-rental-item,
    .rental-calendar-detail-item {
      align-items: flex-start;
      flex-direction: column;
    }

    .vehicle-rental-meta {
      width: 100%;
      align-items: flex-start;
      flex-direction: row;
      justify-content: space-between;
    }
  }
/* ─── DIVIDER ─────────────────────────────────────────────────────────── */
/* ─── EMPTY STATE ─────────────────────────────────────────────────────── */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    gap: 10px;
    color: var(--text-3);
    text-align: center;
  }
.empty-state-title { font-size: 14px; font-weight: 500; color: var(--text-2); }
.empty-state-desc  { font-size: 12.5px; }
/* ─── SKELETON LOADER ─────────────────────────────────────────────────── */
@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
  }
@keyframes modalBackdropIn {
    from {
      opacity: 0;
      backdrop-filter: blur(0) saturate(100%);
    }
    to {
      opacity: 1;
      backdrop-filter: blur(18px) saturate(140%);
    }
  }
@keyframes modalGlassIn {
    0% {
      opacity: 0;
      transform: translateY(18px) scale(0.965);
      filter: blur(10px);
    }
    58% {
      opacity: 1;
      transform: translateY(-2px) scale(1.006);
      filter: blur(0);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }
  }
@keyframes modalContentIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
@media (prefers-reduced-motion: reduce) {
    .modal-backdrop,
    .modal-box,
    .modal-header,
    .modal-body,
    .modal-footer {
      animation: none !important;
    }
  }
.skeleton {
    background: linear-gradient(90deg, var(--surface-3) 25%, var(--surface-4) 50%, var(--surface-3) 75%);
    background-size: 400px 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 6px;
  }
/* ─── PADDOCK HQ OPERATIONS COCKPIT OVERRIDES ───────────────────────── */
body {
    background:
      radial-gradient(circle at 12% 0%, rgba(255,106,26,0.16), transparent 28%),
      radial-gradient(circle at 92% 16%, rgba(255,106,26,0.10), transparent 24%),
      radial-gradient(circle at 72% 88%, rgba(255,122,24,0.08), transparent 24%),
      #050608;
  }
body::before {
    background-image: none;
    background:
      linear-gradient(90deg, rgba(255,255,255,0.018), transparent 1px),
      linear-gradient(rgba(255,255,255,0.014), transparent 1px);
    background-size: 88px 88px;
    opacity: 0.38;
  }
.sidebar {
    width: 280px;
    height: 100vh;
    padding: 0 0 12px;
    background:
      radial-gradient(circle at 40% 0%, rgba(255,106,26,0.22), transparent 32%),
      linear-gradient(180deg, rgba(66,31,17,0.72), rgba(10,11,13,0.84) 46%, rgba(11,12,14,0.92));
    border-right: 1px solid rgba(255,255,255,0.10);
    border-radius: 0 34px 34px 0;
    box-shadow: 28px 0 90px rgba(255,106,26,0.10), inset -1px 0 0 rgba(255,255,255,0.05);
  }
.sidebar-logo {
    gap: 12px;
    padding: 20px 24px 14px;
    border-bottom: 0;
    flex-shrink: 0;
  }
.sidebar-logo-img {
    display: block;
    width: 140px;
    height: auto;
    max-height: 46px;
    -o-object-fit: contain;
       object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(255,106,26,0.28));
  }
.sidebar-nav {
    flex: 1;
    min-height: 0;
    padding: 0 22px;
    gap: 2px;
    overflow: visible;
  }
.nav-section {
    padding: 10px 12px 5px;
    color: rgba(255,255,255,0.38);
    font-size: 10px;
    letter-spacing: 0.04em;
  }
.nav-item {
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.68);
    gap: 10px;
  }
.nav-item:hover {
    background: rgba(255,255,255,0.07);
    color: #fff;
  }
.nav-item.active {
    background: linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,106,26,0.11));
    border-color: rgba(255,106,26,0.26);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 30px rgba(255,106,26,0.12);
  }
.nav-item.\!active {
    background: linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,106,26,0.11)) !important;
    border-color: rgba(255,106,26,0.26) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 30px rgba(255,106,26,0.12) !important;
  }
.nav-item.active::before {
    left: auto;
    right: 0;
    width: 3px;
    height: 24px;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 0 16px rgba(255,106,26,0.75);
  }
.nav-item.\!active::before {
    left: auto !important;
    right: 0 !important;
    width: 3px !important;
    height: 24px !important;
    border-radius: 4px 0 0 4px !important;
    box-shadow: 0 0 16px rgba(255,106,26,0.75) !important;
  }
.nav-icon {
    width: 16px;
    height: 16px;
  }
.sidebar-footer {
    display: grid;
    gap: 8px;
    padding: 8px 22px 0;
    border-top: 0;
    flex-shrink: 0;
  }
.upgrade-card {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.055);
    color: var(--text-1);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.16s, background 0.16s, transform 0.16s;
    color: var(--red);
    font-weight: 650;
    font-size: 13px;
  }
.upgrade-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255,106,26,0.24);
    background: rgba(255,255,255,0.085);
  }
.user-row {
    padding: 6px 0;
    margin-top: 0;
  }
.main-area {
    min-width: 0;
  }
.topbar {
    height: 70px;
    padding: 0 34px;
    background: rgba(5,6,8,0.72);
    border-bottom: 1px solid rgba(255,255,255,0.075);
    backdrop-filter: blur(28px) saturate(150%);
    gap: 20px;
  }
.topbar-heading {
    min-width: 0;
  }
.topbar-subtitle {
    margin-top: 3px;
    color: var(--text-3);
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
.topbar-actions {
    margin-left: auto;
    align-items: center;
    gap: 10px;
  }
.settings-page {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 18px;
    width: 100%;
    max-width: none;
  }
.settings-card {
    min-width: 0;
  }
.settings-card-wide {
    grid-column: 1 / -1;
  }
.page-content.dashboard-page {
    padding: 22px 40px 40px;
    background:
      radial-gradient(circle at 100% 8%, rgba(255,106,26,0.16), transparent 24%),
      radial-gradient(circle at 4% 5%, rgba(255,106,26,0.10), transparent 20%),
      transparent;
  }
.dash-page-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 20px;
  }
.dash-page-title h1 {
    margin: 0;
    font-size: 29px;
    line-height: 1.1;
    font-weight: 520;
    letter-spacing: 0;
  }
.dash-page-title p {
    margin: 7px 0 0;
    color: var(--text-2);
    font-size: 14px;
  }
.dash-kpi-grid {
    gap: 16px;
    margin-bottom: 16px;
  }
.dash-kpi-card,
  .dash-glass-card {
    border-radius: 16px;
    border-color: rgba(255,255,255,0.105);
    background:
      linear-gradient(145deg, rgba(255,255,255,0.096), rgba(255,255,255,0.035)),
      radial-gradient(circle at 0 0, rgba(255,106,26,0.10), transparent 36%);
    box-shadow: 0 22px 70px rgba(0,0,0,0.26), inset 0 1px 0 rgba(255,255,255,0.08);
  }
.dash-kpi-card {
    min-height: 152px;
    padding: 22px 24px;
  }
.dash-kpi-card.orange:first-child {
    border-color: rgba(255,106,26,0.38);
    background:
      linear-gradient(145deg, rgba(255,106,26,0.23), rgba(255,255,255,0.052)),
      radial-gradient(circle at 90% 8%, rgba(255,106,26,0.22), transparent 38%);
  }
.dash-kpi-head {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
  }
.dash-kpi-icon {
    position: static;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: var(--red);
    background: rgba(255,255,255,0.075);
  }
.dash-kpi-label {
    margin: 0;
    color: var(--text-1);
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 610;
  }
.dash-kpi-value {
    font-family: 'Geist', sans-serif;
    color: #fff !important;
    font-size: 32px;
    letter-spacing: 0;
    font-weight: 520;
  }
.dash-kpi-note {
    margin-top: 7px;
    font-size: 13px;
    color: var(--text-2);
  }
.dash-kpi-note span,
  .dash-card-total span {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    color: #4ade80;
    background: rgba(74,222,128,0.10);
    font-size: 12px;
  }
.dash-kpi-card::after {
    opacity: 0.35;
  }
.dash-main-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(330px, 0.8fr);
    gap: 16px;
  }
.dash-column {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(315px, 0.9fr);
    gap: 16px;
  }
.dash-column > .dash-glass-card:first-child,
  .dash-column > .dash-glass-card:last-child {
    grid-column: 1;
  }
.dash-calendar-card {
    grid-column: 2;
    grid-row: 1;
  }
.dash-side {
    gap: 16px;
  }
.dash-card-header {
    min-height: 62px;
    padding: 18px 19px 15px;
  }
.dash-card-title {
    font-size: 15px;
    font-weight: 650;
    letter-spacing: 0;
  }
.dash-card-total {
    margin-top: 16px;
    color: #fff;
    font-size: 26px;
    font-weight: 520;
  }
.dash-link-button {
    border: 0;
    background: transparent;
    color: var(--text-2);
    font-size: 12px;
    cursor: pointer;
  }
.dash-link-button:hover {
    color: #fff;
  }
.dash-calendar-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-1);
    font-size: 12px;
  }
.dash-calendar-controls button {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.055);
    color: var(--text-1);
    cursor: pointer;
  }
.dash-mini-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    padding: 16px 14px 20px;
  }
.dash-weekday {
    color: var(--text-3);
    font-size: 11px;
    text-align: center;
  }
.dash-day {
    aspect-ratio: 1;
    min-width: 0;
    border: 1px solid rgba(255,255,255,0.055);
    border-radius: 9px;
    background: rgba(255,255,255,0.045);
    color: var(--text-1);
    position: relative;
    cursor: pointer;
  }
.dash-day.muted {
    color: var(--text-3);
    background: rgba(255,255,255,0.025);
  }
.dash-day.today {
    border-color: rgba(255,106,26,0.65);
    background: linear-gradient(135deg, rgba(255,147,79,0.90), rgba(255,106,26,0.82));
    box-shadow: 0 10px 26px rgba(255,106,26,0.28);
  }
.dash-day.selected {
    border-color: rgba(255,255,255,0.54);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.08), 0 14px 28px rgba(0,0,0,0.24);
  }
.dash-day i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
  }
.dash-calendar-detail {
    margin: 0 14px 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.035);
    overflow: hidden;
  }
.dash-calendar-detail-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
.dash-calendar-detail-head strong,
  .dash-calendar-detail-head span {
    display: block;
  }
.dash-calendar-detail-head strong {
    color: var(--text-1);
    font-size: 13px;
  }
.dash-calendar-detail-head span {
    margin-top: 3px;
    color: var(--text-3);
    font-size: 11px;
  }
.dash-calendar-detail-list {
    display: grid;
    gap: 1px;
  }
.dash-calendar-detail-row {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text-1);
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    text-align: left;
    cursor: pointer;
  }
.dash-calendar-detail-row:hover {
    background: rgba(255,255,255,0.055);
  }
.dash-calendar-detail-row strong,
  .dash-calendar-detail-row small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
.dash-calendar-detail-row strong {
    font-size: 13px;
    font-weight: 650;
  }
.dash-calendar-detail-row small,
  .dash-calendar-detail-row em {
    color: var(--text-3);
    font-size: 11px;
    font-style: normal;
  }
.dash-calendar-movement {
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
.dash-calendar-movement.orange {
    background: rgba(255,106,26,0.14);
    color: #ffb36f;
  }
.dash-calendar-movement.blue {
    background: rgba(96,165,250,0.12);
    color: #93c5fd;
  }
.dash-calendar-movement.green {
    background: rgba(74,222,128,0.10);
    color: #86efac;
  }
.dash-table-head,
  .dash-table-row {
    grid-template-columns: 104px minmax(125px, 1fr) minmax(120px, 1fr) 150px 86px 78px;
  }
.dash-table-head {
    display: grid;
    gap: 12px;
    padding: 12px 18px 9px;
    color: var(--text-3);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
.dash-table-row {
    font-size: 12px;
    color: var(--text-2);
  }
.dash-status {
    border-radius: 8px;
  }
.dash-status.completed {
    color: var(--text-2);
    background: rgba(255,255,255,0.065);
  }
.dash-status.upcoming {
    color: #60a5fa;
    background: rgba(96,165,250,0.12);
  }
.dash-vehicle-card {
    margin: 0 10px 8px;
    width: calc(100% - 20px);
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.055);
  }
.dash-vehicle-thumb {
    width: 68px;
    height: 46px;
    border-radius: 8px;
    -o-object-fit: cover;
       object-fit: cover;
    background: rgba(255,255,255,0.08);
  }
.dash-vehicle-thumb.fallback {
    display: grid;
    place-items: center;
    color: var(--red);
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255,106,26,0.22), rgba(255,255,255,0.08));
  }
.dash-vehicle-card em {
    font-size: 10px;
    font-weight: 650;
  }
.dash-vehicle-card em.green,
  .dash-vehicle-card em.muted {
    color: #4ade80;
    background: rgba(74,222,128,0.10);
  }
.dash-vehicle-card em.amber {
    color: #fbbf24;
    background: rgba(251,191,36,0.11);
  }
.dash-vehicle-card em.blue {
    color: #60a5fa;
    background: rgba(96,165,250,0.12);
  }
.dash-vehicle-card em.orange {
    color: var(--red);
    background: rgba(255,106,26,0.12);
  }
.dash-timeline {
    position: relative;
    padding: 10px 0 14px;
  }
.dash-timeline::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 22px;
    bottom: 26px;
    width: 1px;
    background: linear-gradient(rgba(255,255,255,0.24), rgba(255,255,255,0.05));
  }
.dash-event-row {
    position: relative;
    border-bottom: 0;
    padding: 12px 18px 12px 18px;
  }
.dash-event-row > span {
    z-index: 1;
  }
.dash-event-row div {
    min-width: 0;
  }
@media (max-width: 1420px) {
    .dash-main-grid,
    .dash-column {
      grid-template-columns: 1fr;
    }

    .dash-calendar-card,
    .dash-column > .dash-glass-card:first-child,
    .dash-column > .dash-glass-card:last-child {
      grid-column: auto;
      grid-row: auto;
    }
  }
@media (max-width: 980px) {
    .app-shell {
      overflow: auto;
      height: auto;
      min-height: 100vh;
    }

    .sidebar {
      display: none;
    }

    .topbar {
      padding: 12px 16px;
      height: auto;
      align-items: stretch;
      flex-direction: column;
    }

    .topbar-actions {
      width: 100%;
      margin-left: 0;
      overflow-x: auto;
      justify-content: flex-start;
    }

    .page-content.dashboard-page {
      padding: 18px 16px 28px;
    }

    .settings-page {
      grid-template-columns: 1fr;
      gap: 14px;
    }
  }
@media (max-width: 820px) {
    .dash-page-title {
      display: block;
    }

    .dash-kpi-grid,
    .dash-side {
      grid-template-columns: 1fr;
    }

    .dash-table-head {
      display: none;
    }

    .dash-table-row {
      grid-template-columns: 1fr;
      gap: 5px;
    }
  }
.pointer-events-none{
  pointer-events: none;
}
.visible{
  visibility: visible;
}
.static{
  position: static;
}
.fixed{
  position: fixed;
}
.absolute{
  position: absolute;
}
.relative{
  position: relative;
}
.sticky{
  position: sticky;
}
.inset-0{
  inset: 0px;
}
.z-10{
  z-index: 10;
}
.z-50{
  z-index: 50;
}
.col-span-1{
  grid-column: span 1 / span 1;
}
.col-span-2{
  grid-column: span 2 / span 2;
}
.mx-auto{
  margin-left: auto;
  margin-right: auto;
}
.mb-1{
  margin-bottom: 0.25rem;
}
.mb-10{
  margin-bottom: 2.5rem;
}
.mb-12{
  margin-bottom: 3rem;
}
.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-8{
  margin-bottom: 2rem;
}
.ml-2{
  margin-left: 0.5rem;
}
.mt-0\.5{
  margin-top: 0.125rem;
}
.mt-1{
  margin-top: 0.25rem;
}
.mt-2{
  margin-top: 0.5rem;
}
.mt-2\.5{
  margin-top: 0.625rem;
}
.mt-3{
  margin-top: 0.75rem;
}
.mt-6{
  margin-top: 1.5rem;
}
.mt-8{
  margin-top: 2rem;
}
.block{
  display: block;
}
.flex{
  display: flex;
}
.table{
  display: table;
}
.table-row{
  display: table-row;
}
.grid{
  display: grid;
}
.contents{
  display: contents;
}
.hidden{
  display: none;
}
.h-5{
  height: 1.25rem;
}
.h-auto{
  height: auto;
}
.h-px{
  height: 1px;
}
.max-h-48{
  max-height: 12rem;
}
.max-h-60{
  max-height: 15rem;
}
.max-h-\[62vh\]{
  max-height: 62vh;
}
.min-h-screen{
  min-height: 100vh;
}
.w-24{
  width: 6rem;
}
.w-48{
  width: 12rem;
}
.w-5{
  width: 1.25rem;
}
.w-56{
  width: 14rem;
}
.w-8{
  width: 2rem;
}
.w-full{
  width: 100%;
}
.max-w-2xl{
  max-width: 42rem;
}
.max-w-5xl{
  max-width: 64rem;
}
.max-w-\[70vw\]{
  max-width: 70vw;
}
.max-w-full{
  max-width: 100%;
}
.max-w-sm{
  max-width: 24rem;
}
.flex-1{
  flex: 1 1 0%;
}
.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));
}
@keyframes fadeUp{
  0%{
    opacity: 0;
    transform: translateY(8px);
  }
  100%{
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-up{
  animation: fadeUp 0.3s ease both;
}
@keyframes pulse{
  50%{
    opacity: .5;
  }
}
.animate-pulse{
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.select-none{
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.resize-none{
  resize: none;
}
.resize{
  resize: both;
}
.grid-cols-1{
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.flex-col{
  flex-direction: column;
}
.flex-wrap{
  flex-wrap: wrap;
}
.items-center{
  align-items: center;
}
.justify-end{
  justify-content: flex-end;
}
.justify-center{
  justify-content: center;
}
.justify-between{
  justify-content: space-between;
}
.gap-1{
  gap: 0.25rem;
}
.gap-1\.5{
  gap: 0.375rem;
}
.gap-2{
  gap: 0.5rem;
}
.gap-3{
  gap: 0.75rem;
}
.gap-4{
  gap: 1rem;
}
.gap-6{
  gap: 1.5rem;
}
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.overflow-y-auto{
  overflow-y: auto;
}
.rounded{
  border-radius: 0.25rem;
}
.rounded-2xl{
  border-radius: 1rem;
}
.rounded-full{
  border-radius: 9999px;
}
.rounded-lg{
  border-radius: 16px;
}
.rounded-xl{
  border-radius: 20px;
}
.border{
  border-width: 1px;
}
.border-b{
  border-bottom-width: 1px;
}
.border-t{
  border-top-width: 1px;
}
.border-blue-500{
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}
.border-carbon-700{
  --tw-border-opacity: 1;
  border-color: rgb(39 39 42 / var(--tw-border-opacity, 1));
}
.border-carbon-800{
  --tw-border-opacity: 1;
  border-color: rgb(28 28 31 / var(--tw-border-opacity, 1));
}
.border-gray-700{
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
}
.border-racing-500{
  --tw-border-opacity: 1;
  border-color: rgb(255 106 26 / var(--tw-border-opacity, 1));
}
.bg-black\/70{
  background-color: rgb(0 0 0 / 0.7);
}
.bg-blue-600{
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.bg-blue-950\/30{
  background-color: rgb(23 37 84 / 0.3);
}
.bg-carbon-700{
  --tw-bg-opacity: 1;
  background-color: rgb(39 39 42 / var(--tw-bg-opacity, 1));
}
.bg-carbon-800{
  --tw-bg-opacity: 1;
  background-color: rgb(28 28 31 / var(--tw-bg-opacity, 1));
}
.bg-carbon-950{
  --tw-bg-opacity: 1;
  background-color: rgb(9 9 11 / var(--tw-bg-opacity, 1));
}
.bg-gray-700{
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.bg-gray-900{
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
.bg-gray-950{
  --tw-bg-opacity: 1;
  background-color: rgb(3 7 18 / var(--tw-bg-opacity, 1));
}
.bg-gray-950\/70{
  background-color: rgb(3 7 18 / 0.7);
}
.bg-racing-900\/40{
  background-color: rgb(124 45 18 / 0.4);
}
.p-10{
  padding: 2.5rem;
}
.p-2\.5{
  padding: 0.625rem;
}
.p-3{
  padding: 0.75rem;
}
.p-4{
  padding: 1rem;
}
.p-8{
  padding: 2rem;
}
.px-1\.5{
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.px-3{
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4{
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6{
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-0\.5{
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-12{
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-16{
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.py-2{
  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-4{
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-5{
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.py-8{
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pb-4{
  padding-bottom: 1rem;
}
.pt-4{
  padding-top: 1rem;
}
.pt-6{
  padding-top: 1.5rem;
}
.text-left{
  text-align: left;
}
.text-center{
  text-align: center;
}
.font-display{
  font-family: Geist, sans-serif;
}
.text-2xl{
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-4xl{
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-lg{
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm{
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl{
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs{
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold{
  font-weight: 700;
}
.font-medium{
  font-weight: 500;
}
.font-normal{
  font-weight: 400;
}
.font-semibold{
  font-weight: 600;
}
.uppercase{
  text-transform: uppercase;
}
.capitalize{
  text-transform: capitalize;
}
.leading-6{
  line-height: 1.5rem;
}
.leading-none{
  line-height: 1;
}
.tracking-\[0\.12em\]{
  letter-spacing: 0.12em;
}
.tracking-wide{
  letter-spacing: 0.025em;
}
.tracking-widest{
  letter-spacing: 0.1em;
}
.text-blue-400{
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
}
.text-carbon-100{
  --tw-text-opacity: 1;
  color: rgb(228 228 231 / var(--tw-text-opacity, 1));
}
.text-carbon-300{
  --tw-text-opacity: 1;
  color: rgb(161 161 170 / var(--tw-text-opacity, 1));
}
.text-carbon-400{
  --tw-text-opacity: 1;
  color: rgb(113 113 122 / var(--tw-text-opacity, 1));
}
.text-carbon-500{
  --tw-text-opacity: 1;
  color: rgb(82 82 91 / var(--tw-text-opacity, 1));
}
.text-carbon-600{
  --tw-text-opacity: 1;
  color: rgb(63 63 70 / var(--tw-text-opacity, 1));
}
.text-carbon-950{
  --tw-text-opacity: 1;
  color: rgb(9 9 11 / var(--tw-text-opacity, 1));
}
.text-gray-300{
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.text-gray-400{
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.text-gray-500{
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}
.text-green-400{
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / var(--tw-text-opacity, 1));
}
.text-racing-300{
  --tw-text-opacity: 1;
  color: rgb(253 186 116 / var(--tw-text-opacity, 1));
}
.text-white{
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.antialiased{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.opacity-50{
  opacity: 0.5;
}
.outline{
  outline-style: solid;
}
.blur{
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.blur-sm{
  --tw-blur: blur(4px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.filter{
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.backdrop-blur-sm{
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-filter{
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all{
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
@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));
  }
}
.running{
  animation-play-state: running;
}
/* ─── shadcn/ui CSS VARIABLES ───────────────────────────────────────────── */
/* ─── BASE ─────────────────────────────────────────────────────────────── */
:root {
  --red:          #ff6a1a;
  --red-dim:      rgba(255, 106, 26, 0.13);
  --red-glow:     rgba(255, 106, 26, 0.16);
  --red-focus:    rgba(255, 106, 26, 0.18);
  --accent-2:     #ffb86b;

  --paddock-border:       rgba(255, 255, 255, 0.09);
  --paddock-border-hover: rgba(255, 255, 255, 0.18);
  --paddock-border-med:   rgba(255, 255, 255, 0.16);

  --text-1: rgba(255, 255, 255, 0.94);
  --text-2: rgba(255, 255, 255, 0.62);
  --text-3: rgba(255, 255, 255, 0.38);

  --surface-0: #07080a;
  --surface-1: rgba(17, 18, 21, 0.74);
  --surface-2: rgba(26, 27, 31, 0.66);
  --surface-3: rgba(255, 255, 255, 0.055);
  --surface-4: rgba(255, 255, 255, 0.085);
  --surface-5: rgba(255, 255, 255, 0.13);

  --glass-bg: linear-gradient(135deg, rgba(255,255,255,0.095), rgba(255,255,255,0.035));
  --glass-bg-strong: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.055));
  --glass-shadow: 0 22px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --glass-shadow-soft: 0 14px 42px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 14px; }
body {
  background:
    radial-gradient(circle at 15% -5%, rgba(255, 106, 26, 0.20), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(255, 184, 107, 0.10), transparent 26%),
    radial-gradient(circle at 54% 112%, rgba(255, 255, 255, 0.06), transparent 31%),
    var(--surface-0);
  color: var(--text-1);
  font-family: 'Instrument Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(circle at 50% 8%, rgba(0,0,0,0.7), transparent 70%);
          mask-image: radial-gradient(circle at 50% 8%, rgba(0,0,0,0.7), transparent 70%);
  opacity: 0.55;
}
/* Refined scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-5); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }
/* ─── TYPOGRAPHY ────────────────────────────────────────────────────────── */
/* end @layer components */
.file\:mr-2::file-selector-button{
  margin-right: 0.5rem;
}
.file\:rounded::file-selector-button{
  border-radius: 0.25rem;
}
.file\:border::file-selector-button{
  border-width: 1px;
}
.file\:border-carbon-600::file-selector-button{
  --tw-border-opacity: 1;
  border-color: rgb(63 63 70 / var(--tw-border-opacity, 1));
}
.file\:bg-carbon-800::file-selector-button{
  --tw-bg-opacity: 1;
  background-color: rgb(28 28 31 / var(--tw-bg-opacity, 1));
}
.file\:px-3::file-selector-button{
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.file\:py-1\.5::file-selector-button{
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.file\:text-xs::file-selector-button{
  font-size: 0.75rem;
  line-height: 1rem;
}
.file\:text-carbon-300::file-selector-button{
  --tw-text-opacity: 1;
  color: rgb(161 161 170 / var(--tw-text-opacity, 1));
}
.hover\:border-carbon-500:hover{
  --tw-border-opacity: 1;
  border-color: rgb(82 82 91 / var(--tw-border-opacity, 1));
}
.hover\:bg-blue-500:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-600:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}
.hover\:text-carbon-200:hover{
  --tw-text-opacity: 1;
  color: rgb(212 212 216 / var(--tw-text-opacity, 1));
}
.hover\:text-racing-400:hover{
  --tw-text-opacity: 1;
  color: rgb(251 146 60 / var(--tw-text-opacity, 1));
}
.hover\:text-white:hover{
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.hover\:file\:bg-carbon-700::file-selector-button:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(39 39 42 / var(--tw-bg-opacity, 1));
}
.disabled\:cursor-not-allowed:disabled{
  cursor: not-allowed;
}
.disabled\:opacity-50:disabled{
  opacity: 0.5;
}
@media (min-width: 768px){
  .md\:grid-cols-3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
