/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: 'Inter', sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-red-100: oklch(93.6% 0.032 17.717);
    --color-red-400: oklch(70.4% 0.191 22.216);
    --color-red-500: oklch(63.7% 0.237 25.331);
    --color-red-600: oklch(57.7% 0.245 27.325);
    --color-red-700: oklch(50.5% 0.213 27.518);
    --color-orange-100: oklch(95.4% 0.038 75.164);
    --color-orange-400: oklch(75% 0.183 55.934);
    --color-orange-500: oklch(70.5% 0.213 47.604);
    --color-orange-700: oklch(55.3% 0.195 38.402);
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-xs: 20rem;
    --container-2xl: 42rem;
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --tracking-tight: -0.025em;
    --leading-relaxed: 1.625;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --radius: 0.625rem;
    --color-background: hsl(210 20% 98%);
    --color-foreground: hsl(215 25% 15%);
    --color-card: hsl(0 0% 100%);
    --color-card-foreground: hsl(215 25% 15%);
    --color-primary: hsl(224.8, 81%, 60.8%);
    --color-primary-foreground: hsl(0 0% 100%);
    --color-secondary: hsl(210 25% 93%);
    --color-secondary-foreground: hsl(215 25% 15%);
    --color-muted: hsl(210 20% 96%);
    --color-muted-foreground: hsl(215 15% 50%);
    --color-accent: hsl(174 55% 42%);
    --color-accent-foreground: hsl(0 0% 100%);
    --color-destructive: hsl(0 72% 51%);
    --color-border: hsl(214 20% 90%);
    --color-input: hsl(214 20% 90%);
    --color-ring: hsl(0 72% 44%);
    --color-sidebar: hsl(0 0% 100%);
    --color-sidebar-foreground: hsl(215 15% 40%);
    --color-sidebar-primary: hsl(224.8, 81%, 60.8%);
    --color-sidebar-primary-foreground: hsl(0 0% 100%);
    --color-sidebar-accent: hsl(214 20% 94%);
    --color-sidebar-accent-foreground: hsl(215 25% 20%);
    --color-sidebar-border: hsl(214 20% 90%);
    --color-success: hsl(152 55% 45%);
    --color-warning: hsl(38 92% 50%);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .collapse {
    visibility: collapse;
  }
  .visible {
    visibility: visible;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .flow-root {
    display: flow-root;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-flex {
    display: inline-flex;
  }
  .table {
    display: table;
  }
  .table-row {
    display: table-row;
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .w-4 {
    width: calc(var(--spacing) * 4);
  }
  .w-full {
    width: 100%;
  }
  .max-w-2xl {
    max-width: var(--container-2xl);
  }
  .max-w-xs {
    max-width: var(--container-xs);
  }
  .min-w-4 {
    min-width: calc(var(--spacing) * 4);
  }
  .flex-shrink {
    flex-shrink: 1;
  }
  .border-collapse {
    border-collapse: collapse;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .resize {
    resize: both;
  }
  .list-disc {
    list-style-type: disc;
  }
  .appearance-none {
    appearance: none;
  }
  .flex-row {
    flex-direction: row;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .space-y-1 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .rounded-\[4px\] {
    border-radius: 4px;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-transparent {
    border-color: transparent;
  }
  .bg-orange-100 {
    background-color: var(--color-orange-100);
  }
  .bg-red-100 {
    background-color: var(--color-red-100);
  }
  .bg-red-600 {
    background-color: var(--color-red-600);
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .p-1 {
    padding: calc(var(--spacing) * 1);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-2\.5 {
    padding-block: calc(var(--spacing) * 2.5);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .pl-5 {
    padding-left: calc(var(--spacing) * 5);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-\[15px\] {
    font-size: 15px;
  }
  .leading-\[18px\] {
    --tw-leading: 18px;
    line-height: 18px;
  }
  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tracking-tight {
    --tw-tracking: var(--tracking-tight);
    letter-spacing: var(--tracking-tight);
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .text-orange-700 {
    color: var(--color-orange-700);
  }
  .text-red-700 {
    color: var(--color-red-700);
  }
  .text-white {
    color: var(--color-white);
  }
  .italic {
    font-style: italic;
  }
  .underline {
    text-decoration-line: underline;
  }
  .shadow-xs {
    --tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .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,);
  }
  .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, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .\*\:flex {
    :is(& > *) {
      display: flex;
    }
  }
  .\*\:flex-row {
    :is(& > *) {
      flex-direction: row;
    }
  }
  .\*\:items-center {
    :is(& > *) {
      align-items: center;
    }
  }
  .\*\:gap-1 {
    :is(& > *) {
      gap: calc(var(--spacing) * 1);
    }
  }
  .\*\:px-2\.5 {
    :is(& > *) {
      padding-inline: calc(var(--spacing) * 2.5);
    }
  }
  .\*\:py-\[5px\] {
    :is(& > *) {
      padding-block: 5px;
    }
  }
  .\*\:font-medium {
    :is(& > *) {
      --tw-font-weight: var(--font-weight-medium);
      font-weight: var(--font-weight-medium);
    }
  }
  .\*\:whitespace-nowrap {
    :is(& > *) {
      white-space: nowrap;
    }
  }
  .after\:absolute {
    &::after {
      content: var(--tw-content);
      position: absolute;
    }
  }
  .after\:-mt-px {
    &::after {
      content: var(--tw-content);
      margin-top: -1px;
    }
  }
  .after\:-ml-px {
    &::after {
      content: var(--tw-content);
      margin-left: -1px;
    }
  }
  .after\:flex\! {
    &::after {
      content: var(--tw-content);
      display: flex !important;
    }
  }
  .after\:h-4 {
    &::after {
      content: var(--tw-content);
      height: calc(var(--spacing) * 4);
    }
  }
  .after\:w-4 {
    &::after {
      content: var(--tw-content);
      width: calc(var(--spacing) * 4);
    }
  }
  .after\:items-center {
    &::after {
      content: var(--tw-content);
      align-items: center;
    }
  }
  .after\:justify-center {
    &::after {
      content: var(--tw-content);
      justify-content: center;
    }
  }
  .after\:leading-none {
    &::after {
      content: var(--tw-content);
      --tw-leading: 1;
      line-height: 1;
    }
  }
  .after\:text-white {
    &::after {
      content: var(--tw-content);
      color: var(--color-white);
    }
  }
  .after\:content-\[\'check\\_small\'\] {
    &::after {
      --tw-content: 'check_small';
      content: var(--tw-content);
    }
  }
  .hover\:bg-red-600\/80 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, oklch(57.7% 0.245 27.325) 80%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-red-600) 80%, transparent);
        }
      }
    }
  }
  .hover\:underline {
    &:hover {
      @media (hover: hover) {
        text-decoration-line: underline;
      }
    }
  }
  .focus\:outline-2 {
    &:focus {
      outline-style: var(--tw-outline-style);
      outline-width: 2px;
    }
  }
  .focus\:-outline-offset-2 {
    &:focus {
      outline-offset: calc(2px * -1);
    }
  }
  .disabled\:cursor-not-allowed {
    &:disabled {
      cursor: not-allowed;
    }
  }
  .disabled\:opacity-50 {
    &:disabled {
      opacity: 50%;
    }
  }
  .md\:w-auto {
    @media (width >= 48rem) {
      width: auto;
    }
  }
  .dark\:bg-orange-500\/20 {
    @media (prefers-color-scheme: dark) {
      background-color: color-mix(in srgb, oklch(70.5% 0.213 47.604) 20%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--color-orange-500) 20%, transparent);
      }
    }
  }
  .dark\:bg-red-500\/20 {
    @media (prefers-color-scheme: dark) {
      background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 20%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--color-red-500) 20%, transparent);
      }
    }
  }
  .dark\:bg-white\/\[\.06\] {
    @media (prefers-color-scheme: dark) {
      background-color: color-mix(in srgb, #fff 6%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--color-white) 6%, transparent);
      }
    }
  }
  .dark\:text-orange-400 {
    @media (prefers-color-scheme: dark) {
      color: var(--color-orange-400);
    }
  }
  .dark\:text-red-400 {
    @media (prefers-color-scheme: dark) {
      color: var(--color-red-400);
    }
  }
  .dark\:scheme-dark {
    @media (prefers-color-scheme: dark) {
      color-scheme: dark;
    }
  }
  .dark\:after\:text-transparent {
    @media (prefers-color-scheme: dark) {
      &::after {
        content: var(--tw-content);
        color: transparent;
      }
    }
  }
  .dark\:checked\:after\:text-white {
    @media (prefers-color-scheme: dark) {
      &:checked {
        &::after {
          content: var(--tw-content);
          color: var(--color-white);
        }
      }
    }
  }
  .\*\:dark\:hover\:bg-white\/\[\.06\] {
    :is(& > *) {
      @media (prefers-color-scheme: dark) {
        &:hover {
          @media (hover: hover) {
            background-color: color-mix(in srgb, #fff 6%, transparent);
            @supports (color: color-mix(in lab, red, red)) {
              background-color: color-mix(in oklab, var(--color-white) 6%, transparent);
            }
          }
        }
      }
    }
  }
}
@layer base {
  [data-theme="dark"] {
    --color-background: hsl(215 25% 10%);
    --color-foreground: hsl(210 40% 98%);
    --color-card: hsl(215 25% 13%);
    --color-card-foreground: hsl(210 40% 98%);
    --color-popover: hsl(215 25% 13%);
    --color-popover-foreground: hsl(210 40% 98%);
    --color-primary: hsl(208.1, 55.4%, 27.3%);
    --color-primary-foreground: hsl(215 60% 15%);
    --color-secondary: hsl(215 30% 20%);
    --color-secondary-foreground: hsl(210 40% 98%);
    --color-muted: hsl(215 25% 18%);
    --color-muted-foreground: hsl(215 20% 60%);
    --color-accent: hsl(174 55% 42%);
    --color-accent-foreground: hsl(0 0% 100%);
    --color-destructive: hsl(0 62.8% 30.6%);
    --color-destructive-foreground: hsl(210 40% 98%);
    --color-border: hsl(215 25% 22%);
    --color-input: hsl(215 25% 22%);
    --color-ring: hsl(208.1, 55.4%, 27.3%);
    --color-sidebar: hsl(215 30% 8%);
    --color-sidebar-foreground: hsl(210 20% 80%);
    --color-sidebar-primary: hsl(208.1, 55.4%, 27.3%);
    --color-sidebar-primary-foreground: hsl(0 0% 100%);
    --color-sidebar-accent: hsl(215 25% 15%);
    --color-sidebar-accent-foreground: hsl(210 20% 90%);
    --color-sidebar-border: hsl(215 25% 18%);
    --color-sidebar-ring: hsl(208.1, 55.4%, 27.3%);
    --color-success: hsl(152 55% 45%);
    --color-success-foreground: hsl(0 0% 100%);
    --color-warning: hsl(38 92% 50%);
    --color-warning-foreground: hsl(0 0% 100%);
    --color-info: hsl(205 80% 55%);
    --color-info-foreground: hsl(0 0% 100%);
  }
  [data-theme="slate"] {
    --color-sidebar: hsl(215 30% 14%);
    --color-sidebar-foreground: hsl(210 20% 70%);
    --color-sidebar-primary: hsl(224.8 81% 65%);
    --color-sidebar-primary-foreground: hsl(0 0% 100%);
    --color-sidebar-accent: hsl(215 30% 22%);
    --color-sidebar-accent-foreground: hsl(210 20% 92%);
    --color-sidebar-border: hsl(215 25% 20%);
    --color-sidebar-ring: hsl(224.8 81% 60%);
  }
  [data-theme="emerald"] {
    --color-primary: hsl(152 58% 38%);
    --color-primary-foreground: hsl(0 0% 100%);
    --color-accent: hsl(152 55% 42%);
    --color-accent-foreground: hsl(0 0% 100%);
    --color-ring: hsl(152 58% 38%);
    --color-sidebar-primary: hsl(152 58% 38%);
    --color-sidebar-primary-foreground: hsl(0 0% 100%);
    --color-sidebar-ring: hsl(152 58% 38%);
  }
  * {
    border-color: var(--color-border);
  }
  body {
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
@layer components {
  .stat-card {
    background-color: var(--color-card);
    border-radius: 0.75rem;
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
    transition: box-shadow 200ms;
    &:hover {
      box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    }
  }
  .sidebar {
    background-color: var(--color-sidebar);
    color: var(--color-sidebar-foreground);
    width: 220px;
    flex-shrink: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    transition: width 200ms ease-in-out;
    overflow: hidden;
    border-right: 1px solid var(--color-sidebar-border);
  }
  .sidebar.collapsed {
    width: 56px;
  }
  .sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
    height: 56px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--color-sidebar-border);
  }
  .sidebar-logo {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
  }
  .sidebar-logo-text {
    overflow: hidden;
    transition: opacity 150ms, width 150ms;
  }
  .sidebar.collapsed .sidebar-logo-text {
    opacity: 0;
    width: 0;
    pointer-events: none;
  }
  .sidebar.collapsed .nav-section-label {
    opacity: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
  }
  .sidebar.collapsed .nav-label-text {
    display: none;
  }
  .sidebar.collapsed .nav-badge {
    display: none;
  }
  .sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 0.5rem;
    gap: 0;
  }
  .sidebar.collapsed .sidebar-header {
    justify-content: center;
    padding: 0;
    gap: 0;
  }
  .sidebar.collapsed .sidebar-footer {
    justify-content: center;
    padding: 0.75rem 0;
    gap: 0;
  }
  .sidebar.collapsed .sidebar-footer .sidebar-logo-text {
    opacity: 0;
    width: 0;
    pointer-events: none;
  }
  .sidebar.collapsed .sidebar-footer .footer-actions {
    display: none;
  }
  .nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4375rem 0.625rem;
    border-radius: 0.5rem;
    color: var(--color-sidebar-foreground);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: background 150ms, color 150ms;
    text-decoration: none;
    white-space: nowrap;
  }
  .nav-item:hover {
    background-color: var(--color-sidebar-accent);
    color: var(--color-sidebar-accent-foreground);
  }
  .nav-item.active {
    background-color: var(--color-sidebar-primary);
    color: var(--color-sidebar-primary-foreground);
    font-weight: 500;
  }
  .nav-item svg {
    flex-shrink: 0;
    opacity: 0.7;
  }
  .nav-item.active svg, .nav-item:hover svg {
    opacity: 1;
  }
  .nav-section-label {
    font-size: 0.625rem;
    color: var(--color-sidebar-foreground);
    opacity: 0.4;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.5rem 0.625rem 0.25rem;
    transition: opacity 150ms, height 150ms;
  }
  .nav-badge {
    margin-left: auto;
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
    border-radius: 999px;
    font-weight: 500;
    line-height: 1.4;
  }
  .nav-badge-red {
    background: hsl(0 72% 51%);
    color: #fff;
  }
  .nav-badge-amber {
    background: hsl(38 92% 50%);
    color: #fff;
  }
  .sidebar-footer {
    border-top: 1px solid var(--color-sidebar-border);
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
  }
  .page-content {
    animation: fadeIn 0.18s ease-out;
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .loader-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
    z-index: 10000;
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms ease, opacity 120ms ease;
  }
  .loader-bar.htmx-request,
  .loader-bar.is-active {
    opacity: 1;
    transform: scaleX(0.75);
    animation: loader-bar-pulse 1.1s ease-in-out infinite;
  }
  @keyframes loader-bar-pulse {
    0% {
      transform: scaleX(0.15);
    }
    50% {
      transform: scaleX(0.85);
    }
    100% {
      transform: scaleX(0.35);
    }
  }
  .page-preloader {
    position: absolute;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--color-background) 72%, transparent);
    backdrop-filter: blur(1px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 140ms ease, visibility 140ms ease;
  }
  .page-preloader.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .page-preloader-spinner {
    width: 2rem;
    height: 2rem;
    border: 2.5px solid color-mix(in srgb, var(--color-accent) 25%, transparent);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: page-preloader-spin 0.7s linear infinite;
  }
  @keyframes page-preloader-spin {
    to {
      transform: rotate(360deg);
    }
  }
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.1875rem 0.5rem;
    border-radius: 999px;
  }
  .badge-success {
    background: hsl(152 55% 45% / 0.15);
    color: hsl(152 55% 35%);
  }
  .badge-warning {
    background: hsl(38 92% 50% / 0.15);
    color: hsl(38 70% 35%);
  }
  .badge-danger {
    background: hsl(0 72% 51% / 0.15);
    color: hsl(0 72% 40%);
  }
  .badge-info {
    background: hsl(205 80% 55% / 0.15);
    color: hsl(205 80% 35%);
  }
  .badge-muted {
    background: var(--color-muted);
    color: var(--color-muted-foreground);
  }
  .people-picker {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-card);
    padding: 0.5rem 0.625rem;
  }
  .people-picker-ui {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
  }
  .people-picker-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
  }
  .people-picker-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    background: color-mix(in srgb, hsl(224.8, 81%, 60.8%) 12%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    }
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.1875rem 0.375rem 0.1875rem 0.625rem;
    border-radius: 999px;
    white-space: nowrap;
  }
  .people-picker-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 0.9375rem;
    line-height: 1;
    padding: 0;
  }
  .people-picker-chip-remove:hover {
    background: color-mix(in srgb, hsl(224.8, 81%, 60.8%) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-primary) 20%, transparent);
    }
  }
  .people-picker-search {
    border: none !important;
    box-shadow: none !important;
    padding: 0.1875rem 0 !important;
    min-width: 8rem;
    flex: 1;
    background: transparent !important;
  }
  .searchable-select {
    position: relative;
  }
  .searchable-select-search {
    width: 100%;
    padding-right: 2rem !important;
  }
  .searchable-select-clear {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--color-muted-foreground);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
  }
  .searchable-select-clear:hover {
    background: var(--color-muted);
    color: var(--color-foreground);
  }
  .people-picker-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    max-height: 18rem;
    overflow-y: auto;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 0.25rem;
  }
  .people-picker-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.5rem;
    border-radius: calc(var(--radius) - 4px);
    cursor: pointer;
  }
  .people-picker-row:hover {
    background: var(--color-muted);
  }
  .people-picker-row.is-selected {
    background: color-mix(in srgb, hsl(224.8, 81%, 60.8%) 8%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    }
  }
  .people-picker-row-info {
    min-width: 0;
    flex: 1;
  }
  .people-picker-row-name {
    font-size: 0.8125rem;
    color: var(--color-foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .people-picker-row-position {
    font-size: 0.6875rem;
    color: var(--color-muted-foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .people-picker-row-check {
    color: var(--color-primary);
    font-size: 0.9375rem;
    flex-shrink: 0;
  }
  .people-picker-avatar {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
  }
  .people-picker-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, hsl(224.8, 81%, 60.8%) 12%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    }
    color: var(--color-primary);
    font-size: 0.625rem;
    font-weight: 600;
  }
  .people-picker-dept {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.5rem;
    border-radius: calc(var(--radius) - 4px);
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-foreground);
  }
  .people-picker-dept:hover {
    background: var(--color-muted);
  }
  .people-picker-dept-toggle {
    width: 0.75rem;
    flex-shrink: 0;
    color: var(--color-muted-foreground);
    font-size: 0.625rem;
  }
  .people-picker-dept-icon {
    flex-shrink: 0;
    font-size: 0.8125rem;
  }
  .people-picker-dept-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4375rem 0.875rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 150ms, opacity 150ms;
    border: none;
    text-decoration: none;
  }
  .btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    &:hover {
      opacity: 0.9;
    }
  }
  .btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-secondary-foreground);
    &:hover {
      background-color: var(--color-border);
    }
  }
  .btn-ghost {
    background: transparent;
    color: var(--color-muted-foreground);
    &:hover {
      background-color: var(--color-muted);
      color: var(--color-foreground);
    }
  }
  .btn-icon {
    padding: 0.4375rem;
    border-radius: var(--radius);
  }
  .input {
    background-color: var(--color-card);
    border: 1px solid var(--color-input);
    border-radius: var(--radius);
    padding: 0.4375rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-foreground);
    outline: none;
    transition: border-color 150ms, box-shadow 150ms;
    width: 100%;
    &::placeholder {
      color: var(--color-muted-foreground);
    }
    &:focus {
      border-color: var(--color-ring);
      box-shadow: 0 0 0 3px hsl(0 72% 44% / 0.1);
    }
  }
  .tr-hover:hover {
    background-color: var(--color-muted);
  }
  .li-hover:hover {
    background-color: var(--color-muted);
  }
  .task-row {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1.25rem;
  }
  .task-meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
  }
  .progress {
    height: 4px;
    background-color: var(--color-muted);
    border-radius: 999px;
    overflow: hidden;
  }
  .progress-bar {
    height: 100%;
    border-radius: 999px;
    background-color: var(--color-accent);
    transition: width 300ms ease;
  }
  .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 199;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .sidebar-backdrop.active {
    display: block;
  }
  .bottom-nav {
    display: none;
  }
  .theme-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.625rem;
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.8125rem;
    color: var(--color-foreground);
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background 150ms;
  }
  .theme-option:hover {
    background: var(--color-muted);
  }
  .theme-option.active {
    background: var(--color-muted);
    font-weight: 500;
  }
  .theme-check {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--color-primary);
    opacity: 0;
  }
  .theme-option.active .theme-check {
    opacity: 1;
  }
  .theme-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1.5px solid rgba(0,0,0,0.12);
  }
}
@media (max-width: 767px) {
  .sidebar {
    position: fixed !important;
    left: 0;
    top: 0;
    z-index: 200;
    width: 220px !important;
    height: 100dvh !important;
    transform: translateX(-100%);
    transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .sidebar.collapsed {
    width: 220px !important;
    transform: translateX(-100%);
  }
  .sidebar.collapsed.mobile-open {
    transform: translateX(0);
  }
  .sidebar.collapsed .sidebar-logo-text {
    opacity: 1 !important;
    width: auto !important;
    pointer-events: auto !important;
  }
  .sidebar.collapsed .nav-section-label {
    opacity: 0.4 !important;
    height: auto !important;
    padding: 0.5rem 0.625rem 0.25rem !important;
    overflow: visible !important;
  }
  .sidebar.collapsed .nav-label-text {
    display: inline !important;
  }
  .sidebar.collapsed .nav-badge {
    display: inline-flex !important;
  }
  .sidebar.collapsed .nav-item {
    justify-content: flex-start !important;
    padding: 0.4375rem 0.625rem !important;
    gap: 0.5rem !important;
  }
  .sidebar.collapsed .sidebar-header {
    justify-content: flex-start !important;
    padding: 0 1rem !important;
    gap: 0.75rem !important;
  }
  .sidebar.collapsed .sidebar-footer {
    padding: 0.75rem !important;
  }
  .sidebar.collapsed .sidebar-footer .sidebar-logo-text {
    opacity: 1 !important;
    width: auto !important;
    pointer-events: auto !important;
  }
  .sidebar.collapsed .sidebar-footer .footer-actions {
    display: flex !important;
  }
  #main-content {
    padding-bottom: calc(1.5rem + 60px + env(safe-area-inset-bottom)) !important;
  }
  .task-row {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }
  .task-meta {
    width: 100%;
    margin-left: 1.625rem;
    flex-wrap: wrap;
    gap: 0.375rem;
  }
  .task-date {
    display: none !important;
  }
  .task-tabs {
    width: 100% !important;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .task-tabs::-webkit-scrollbar {
    display: none;
  }
  .header-search {
    display: none !important;
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--color-card);
    border-top: 1px solid var(--color-border);
    z-index: 100;
    align-items: stretch;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.07);
  }
  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--color-muted-foreground);
    font-size: 0.5625rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: color 150ms;
    border: none;
    background: transparent;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    min-width: 44px;
  }
  .bottom-nav-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 150ms;
  }
  .bottom-nav-item.active {
    color: var(--color-primary);
  }
  .bottom-nav-item.active svg {
    opacity: 1;
  }
  .bottom-nav-item:active {
    opacity: 0.7;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-content {
  syntax: "*";
  initial-value: "";
  inherits: false;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-content: "";
      --tw-outline-style: solid;
    }
  }
}
