/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme, base, df-theme, components, utilities;
@layer components {
  .df-sidebar {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    border-right: 1px solid var(--df-color-border);
    background-color: var(--df-color-background);
  }
  .df-sidebar-header {
    display: flex;
    min-height: 2.5rem;
    align-items: center;
    padding: 0.25rem 0.5rem;
  }
  .df-sidebar-toggle {
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--df-color-muted-foreground);
    transition: background-color 120ms ease,
      color 120ms ease;
  }
  .df-sidebar-toggle:hover {
    background: var(--df-color-hover);
    color: var(--df-color-foreground);
  }
  .df-sidebar-toggle-icon {
    height: 1rem;
    width: 1rem;
  }
  .df-sidebar-header-main {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    margin-left: 0.75rem;
  }
  .df-sidebar-header-title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: var(--df-color-foreground);
  }
  .df-sidebar-list-shell {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0 0.5rem 0.75rem;
  }
  .df-sidebar-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .df-sidebar-list-item {
    position: relative;
  }
  .df-sidebar-drop-indicator {
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 10;
    height: 2px;
    background: var(--df-color-primary);
  }
  .df-sidebar-drop-indicator[data-position='top'] {
    top: 0;
  }
  .df-sidebar-drop-indicator[data-position='bottom'] {
    bottom: 0;
  }
  .df-sidebar-drag-shell {
    border-radius: 0.5rem;
    transition: opacity 120ms ease,
      transform 120ms ease;
  }
  .df-sidebar-drag-shell[data-dragging='true'] {
    opacity: 0.5;
  }
  .df-sidebar-drag-shell[data-draggable='true'] {
    cursor: grab;
  }
  .df-sidebar-drag-shell[data-draggable='false'] {
    cursor: default;
  }
  .df-sidebar-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.5rem;
    padding: 0.5rem;
    transition: background-color 120ms ease,
      color 120ms ease;
  }
  .df-sidebar-row:hover,
  .df-sidebar-row[data-active='true'] {
    background: var(--df-color-hover);
  }
  .df-sidebar-checkbox {
    flex-shrink: 0;
  }
  .df-sidebar-icon-badge {
    display: inline-flex;
    height: 1.25rem;
    width: 1.25rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    color: #fff;
  }
  .df-sidebar-rename-input,
  .df-sidebar-name {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .df-sidebar-rename-input {
    height: 1.25rem;
    border: 0;
    border-radius: 0.375rem;
    background: transparent;
    color: var(--df-color-foreground);
    padding: 0;
    outline: none;
  }
  .df-sidebar-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--df-color-foreground);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--df-color-foreground) 88%, transparent);
    }
    padding-left: 0.25rem;
    transition: color 120ms ease;
  }
  .df-sidebar-row:hover .df-sidebar-name {
    color: var(--df-color-foreground);
  }
  .df-sidebar-status-icon {
    flex-shrink: 0;
    margin-left: 0.25rem;
  }
  .df-sidebar-status-icon-error {
    color: var(--df-color-destructive);
  }
  .df-sidebar-status-icon-subscription {
    color: var(--df-color-muted-foreground);
  }
  .df-sidebar-source-group {
    position: relative;
    margin-top: 0.25rem;
    transition: opacity 120ms ease;
  }
  .df-sidebar-source-group[data-dragging='true'] {
    opacity: 0.5;
  }
  .df-sidebar-group-drop-indicator {
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 10;
    height: 2px;
    border-radius: 999px;
    background: var(--df-color-primary);
  }
  .df-sidebar-group-drop-indicator[data-position='top'] {
    top: -0.125rem;
  }
  .df-sidebar-group-drop-indicator[data-position='bottom'] {
    bottom: -0.125rem;
  }
  .df-sidebar-source-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
    color: var(--df-color-muted-foreground);
    transition: background-color 120ms ease,
      color 120ms ease;
  }
  .df-sidebar-source-toggle:hover,
  .df-sidebar-source-toggle[data-active='true'] {
    background: var(--df-color-hover);
  }
  .df-sidebar-source-toggle[data-draggable='true'] {
    cursor: grab;
  }
  .df-sidebar-source-toggle[data-draggable='true']:active {
    cursor: grabbing;
  }
  .df-sidebar-source-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .df-sidebar-source-chevron {
    margin-left: 0.25rem;
    flex-shrink: 0;
    transition: transform 200ms ease-in-out;
    transform: rotate(90deg);
  }
  .df-sidebar-source-chevron[data-collapsed='true'] {
    transform: rotate(0deg);
  }
  .df-sidebar-source-loading {
    margin-left: 0.25rem;
    flex-shrink: 0;
    animation: df-spin 1s linear infinite;
  }
  @keyframes df-spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  .df-sidebar-source-panel {
    display: grid;
    transition: grid-template-rows 200ms ease;
  }
  .df-sidebar-source-panel[data-collapsed='true'] {
    grid-template-rows: 0fr;
  }
  .df-sidebar-source-panel[data-collapsed='false'] {
    grid-template-rows: 1fr;
  }
  .df-sidebar-source-panel-inner {
    overflow: hidden;
  }
  .df-sidebar-mini-calendar {
    border-top: 1px solid var(--df-color-border);
  }
  .df-sidebar-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    margin-inline: 0.125rem;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
  }
  .df-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0 / 0.5);
  }
  .df-sidebar-dialog {
    width: min(100%, 32rem);
    border: 1px solid var(--df-color-border);
    border-radius: 0.75rem;
    background: var(--df-color-card);
    color: var(--df-color-card-foreground);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.15),
      0 10px 10px -5px rgb(0 0 0 / 0.08);
    padding: 1.5rem;
  }
  .df-sidebar-dialog-wide {
    width: min(100%, 36rem);
  }
  .df-sidebar-dialog-title {
    color: var(--df-color-foreground);
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
  }
  .df-sidebar-dialog-text,
  .df-sidebar-dialog-lines {
    margin-top: 0.75rem;
    color: var(--df-color-foreground);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--df-color-foreground) 75%, transparent);
    }
    font-size: 0.875rem;
    line-height: 1.35rem;
  }
  .df-sidebar-dialog-lines {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .df-sidebar-dialog-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.125rem;
  }
  .df-sidebar-group-name-label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.375rem;
    color: var(--df-color-muted-foreground);
    font-size: 0.75rem;
    line-height: 1rem;
  }
  .df-sidebar-group-name-input {
    box-sizing: border-box;
    width: 100%;
    min-height: 2.25rem;
    border: 1px solid var(--df-color-border);
    border-radius: 0.5rem;
    background: var(--df-color-background);
    color: var(--df-color-foreground);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    outline: none;
  }
  .df-sidebar-group-name-input:focus {
    border-color: var(--df-color-primary);
    box-shadow: 0 0 0 2px var(--df-color-primary);
  }
  .df-sidebar-dialog-actions,
  .df-sidebar-dialog-split-actions {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .df-sidebar-dialog-actions {
    justify-content: flex-end;
  }
  .df-sidebar-dialog-split-actions {
    justify-content: space-between;
  }
  .df-sidebar-button-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .df-sidebar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
    transition: background-color 120ms ease,
      border-color 120ms ease,
      color 120ms ease,
      opacity 120ms ease;
  }
  .df-sidebar-button-secondary {
    border-color: var(--df-color-border);
    background: var(--df-color-background);
    color: var(--df-color-foreground);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--df-color-foreground) 85%, transparent);
    }
  }
  .df-sidebar-button-secondary:hover {
    background: var(--df-color-hover);
  }
  .df-sidebar-button-primary {
    background: var(--df-color-primary);
    color: var(--df-color-primary-foreground);
  }
  .df-sidebar-button-primary:hover {
    background: var(--df-color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--df-color-primary) 88%, black 12%);
    }
  }
  .df-sidebar-button-destructive {
    background: var(--df-color-destructive);
    color: var(--df-color-destructive-foreground);
  }
  .df-sidebar-button-destructive:hover {
    background: var(--df-color-destructive);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--df-color-destructive) 88%, black 12%);
    }
  }
  .df-sidebar-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }
  .df-sidebar-dropdown {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    z-index: 50;
    min-width: 100%;
    max-height: 15rem;
    overflow-y: auto;
    border: 1px solid var(--df-color-border);
    border-radius: 0.5rem;
    background: var(--df-color-card);
    box-shadow: 0 10px 20px rgb(0 0 0 / 0.12);
    padding: 0.25rem;
  }
  .df-sidebar-dropdown-group-label {
    padding: 0.375rem 0.5rem 0.125rem;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    color: var(--df-color-muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .df-sidebar-dropdown-item {
    display: flex;
    cursor: pointer;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--df-color-foreground);
    transition: background-color 120ms ease,
      color 120ms ease;
  }
  .df-sidebar-dropdown-item[data-selected='true'] {
    background-color: var(--df-color-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(
      in srgb,
      var(--df-color-primary) 12%,
      transparent
    );
    }
    color: var(--df-color-foreground);
    font-weight: 500;
  }
  .df-sidebar-dropdown-item:hover {
    background-color: var(--df-color-primary);
    color: var(--df-color-primary-foreground);
  }
  .df-sidebar-dropdown-divider {
    margin: 0.25rem 0;
    border-top: 1px solid var(--df-color-border);
  }
  .df-sidebar-swatch {
    height: 0.75rem;
    width: 0.75rem;
    flex-shrink: 0;
    border-radius: 0.25rem;
  }
  .df-sidebar-dropdown-label {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .df-sidebar-dropdown-check {
    margin-left: 0.25rem;
    height: 1rem;
    width: 1rem;
    flex-shrink: 0;
    color: var(--df-color-primary);
  }
  .df-sidebar-dropdown-item:hover .df-sidebar-dropdown-check {
    color: var(--df-color-primary-foreground);
  }
  .df-sidebar-field {
    position: relative;
    margin-top: 0.75rem;
  }
  .df-sidebar-select-trigger {
    display: flex;
    width: 100%;
    cursor: pointer;
    align-items: center;
    gap: 0.625rem;
    border: 1px solid var(--df-color-border);
    border-radius: 0.5rem;
    background: var(--df-color-background);
    padding: 0.5rem 0.75rem;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
    transition: background-color 120ms ease,
      border-color 120ms ease;
  }
  .df-sidebar-select-trigger:hover {
    background: var(--df-color-hover);
  }
  .df-sidebar-select-value {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: var(--df-color-foreground);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--df-color-foreground) 88%, transparent);
    }
  }
  .df-sidebar-select-icon {
    margin-left: 0.5rem;
    height: 1rem;
    width: 1rem;
    flex-shrink: 0;
    color: var(--df-color-muted-foreground);
  }
  .df-sidebar-subscribe-row {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .df-sidebar-subscribe-label {
    flex-shrink: 0;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: var(--df-color-foreground);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--df-color-foreground) 88%, transparent);
    }
  }
  .df-sidebar-subscribe-input {
    flex: 1 1 auto;
    border: 1px solid var(--df-color-border);
    border-radius: 0.5rem;
    background: var(--df-color-background);
    padding: 0.5rem 0.75rem;
    color: var(--df-color-foreground);
    font-size: 0.875rem;
    line-height: 1.25rem;
    outline: none;
    transition: border-color 120ms ease,
      box-shadow 120ms ease,
      background-color 120ms ease;
  }
  .df-sidebar-subscribe-input:focus {
    border-color: var(--df-color-primary);
    box-shadow: 0 0 0 0 var(--df-color-background),
      0 0 0 2px var(--df-color-primary);
  }
  .df-sidebar-subscribe-input:disabled {
    opacity: 0.5;
  }
  .df-sidebar-error {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--df-color-destructive);
  }
  .df-sidebar-submenu-trigger,
  .df-sidebar-submenu-item {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--df-color-foreground);
    transition: background-color 120ms ease,
      color 120ms ease;
  }
  .df-sidebar-submenu-trigger {
    justify-content: space-between;
    padding: 0.125rem 0.75rem;
  }
  .df-sidebar-submenu-item {
    cursor: pointer;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
  .df-sidebar-submenu-trigger:hover,
  .df-sidebar-submenu-item:hover {
    background: var(--df-color-primary);
    color: var(--df-color-primary-foreground);
  }
  .df-sidebar-submenu-content {
    min-width: 12rem;
    transform: translateX(0.5rem);
  }
  .df-sidebar-submenu-chevron {
    height: 1rem;
    width: 1rem;
    flex-shrink: 0;
    margin-left: 0.5rem;
  }
  .df-sidebar-context-menu-calendar {
    min-width: 16rem;
  }
  .df-sidebar-context-menu-group {
    min-width: 12rem;
  }
  .df-sidebar-context-menu-sidebar {
    min-width: -moz-max-content;
    min-width: max-content;
  }
  .df-sidebar-color-picker-layer {
    position: fixed;
    inset: 0;
    z-index: 50;
  }
  .df-sidebar-color-picker-anchor {
    position: absolute;
  }
  .df-sidebar-color-picker-card {
    border: 1px solid var(--df-color-border);
    border-radius: 0.75rem;
    background: var(--df-color-card);
    padding: 0.75rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.15);
  }
}
