/* [project]/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light dark;
  --bg-base: #0a0a0b;
  --bg-elevated: #141416;
  --bg-surface: #1c1c1f;
  --bg-hover: #242428;
  --border-subtle: #ffffff0f;
  --border-default: #ffffff1a;
  --border-emphasis: #ffffff29;
  --text-primary: #fffffff2;
  --text-secondary: #fff9;
  --text-tertiary: #fff6;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-subtle: #3b82f61f;
  --success: #22c55e;
  --success-subtle: #22c55e1f;
  --warning: #eab308;
  --warning-subtle: #eab3081f;
  --danger: #ef4444;
  --danger-subtle: #ef44441f;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --transition: .15s ease;
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);
  --bottom-nav-height: 56px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --lightningcss-light: ;
    --lightningcss-dark: initial;
  }
}

[data-theme="light"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg-base: #f5f5f7;
  --bg-elevated: #fff;
  --bg-surface: #f0f0f2;
  --bg-hover: #e8e8eb;
  --border-subtle: #0000000f;
  --border-default: #0000001a;
  --border-emphasis: #00000029;
  --text-primary: #000000e6;
  --text-secondary: #0009;
  --text-tertiary: #0006;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-subtle: #2563eb1a;
  --success: #16a34a;
  --success-subtle: #16a34a1a;
  --warning: #ca8a04;
  --warning-subtle: #ca8a041a;
  --danger: #dc2626;
  --danger-subtle: #dc26261a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  padding-left: calc(20px + var(--safe-area-left));
  padding-right: calc(20px + var(--safe-area-right));
  margin: 0 auto;
}

.app-shell {
  min-height: calc(100vh - 140px);
}

@media (max-width: 768px) {
  .container {
    padding: 12px;
    padding-left: calc(12px + var(--safe-area-left));
    padding-right: calc(12px + var(--safe-area-right));
    padding-bottom: calc(var(--bottom-nav-height)  + var(--safe-area-bottom)  + 12px);
  }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.card-body {
  padding: 16px;
}

.card-hover {
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
}

.card-hover:hover {
  background: var(--bg-surface);
  border-color: var(--border-default);
}

.app-header {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 12px 16px;
  display: flex;
}

.brand {
  align-items: center;
  display: flex;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
}

.brand-desc {
  color: var(--text-tertiary);
  font-size: 12px;
}

.nav-list {
  flex: 1;
  align-items: center;
  gap: 4px;
  margin-left: 24px;
  display: flex;
}

.nav-link {
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: all var(--transition);
  white-space: nowrap;
  align-items: center;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
}

.nav-link:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.nav-link-active, .nav-link-active:hover {
  background: var(--accent-subtle);
  color: var(--accent);
}

.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .app-header {
    flex-wrap: wrap;
    margin-bottom: 12px;
    padding: 10px 12px;
  }

  .nav-list {
    display: none;
  }

  .bottom-nav {
    height: calc(var(--bottom-nav-height)  + var(--safe-area-bottom));
    padding-bottom: var(--safe-area-bottom);
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-subtle);
    z-index: 1000;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .bottom-nav-list {
    width: 100%;
    height: var(--bottom-nav-height);
    justify-content: space-around;
    align-items: center;
    display: flex;
  }

  .bottom-nav-item {
    height: 100%;
    color: var(--text-secondary);
    transition: color var(--transition);
    -webkit-tap-highlight-color: transparent;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: center;
    padding: 6px 4px;
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
  }

  .bottom-nav-item:active {
    background: var(--bg-hover);
  }

  .bottom-nav-item-active {
    color: var(--accent);
  }

  .bottom-nav-icon {
    width: 22px;
    height: 22px;
    margin-bottom: 2px;
  }

  .bottom-nav-label {
    line-height: 1.2;
  }
}

.page-title {
  letter-spacing: -.02em;
  font-size: 22px;
  font-weight: 600;
}

.page-desc {
  color: var(--text-secondary);
  margin-top: 4px;
  font-size: 14px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
}

.label {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
}

.helper {
  color: var(--text-tertiary);
  font-size: 12px;
}

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

.btn {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  cursor: pointer;
  height: 36px;
  transition: all var(--transition);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
}

.btn:hover:not(:disabled) {
  background: var(--bg-hover);
  border-color: var(--border-emphasis);
}

.btn:active:not(:disabled) {
  transform: scale(.98);
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-danger {
  background: var(--danger-subtle);
  color: var(--danger);
  border-color: #ef44444d;
}

.btn-danger:hover:not(:disabled) {
  background: #ef444433;
}

.btn-sm {
  height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

@media (max-width: 768px) {
  .btn {
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  .btn-sm {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }
}

.input {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  background: var(--bg-base);
  width: 100%;
  height: 40px;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  outline: none;
  padding: 0 12px;
  font-size: 14px;
}

.input::placeholder {
  color: var(--text-tertiary);
}

.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.input:disabled {
  opacity: .6;
  cursor: not-allowed;
}

select.input {
  cursor: pointer;
}

@media (max-width: 768px) {
  .input {
    height: 48px;
    padding: 0 14px;
    font-size: 16px;
  }
}

.badge {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
}

.badge-success {
  background: color-mix(in srgb, var(--success) 15%, transparent);
  border-color: color-mix(in srgb, var(--success) 30%, transparent);
  color: var(--success);
}

.dot {
  background: var(--text-tertiary);
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.dot-ok {
  background: var(--success);
}

.dot-warn {
  background: var(--warning);
}

.dot-error {
  background: var(--danger);
}

.alert {
  border-radius: var(--radius-md);
  background: var(--danger-subtle);
  color: var(--text-primary);
  border: 1px solid #ef444433;
  padding: 12px 14px;
  font-size: 13px;
}

.alert-success {
  background: var(--success-subtle);
  border-color: #22c55e33;
}

.table-wrap {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
}

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

.table th, .table td {
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px;
}

.table th {
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: .3px;
  font-size: 12px;
  font-weight: 600;
}

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

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

@media (max-width: 768px) {
  .table-wrap {
    overflow-x: visible;
  }

  .table-mobile-cards .table, .table-mobile-cards .table thead, .table-mobile-cards .table tbody, .table-mobile-cards .table tr, .table-mobile-cards .table th, .table-mobile-cards .table td {
    display: block;
  }

  .table-mobile-cards .table thead {
    display: none;
  }

  .table-mobile-cards .table tr {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    margin-bottom: 12px;
    padding: 12px;
  }

  .table-mobile-cards .table tr:last-child {
    margin-bottom: 0;
  }

  .table-mobile-cards .table td {
    border-bottom: none;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    display: flex;
  }

  .table-mobile-cards .table td:before {
    content: attr(data-label);
    color: var(--text-tertiary);
    margin-right: 12px;
    font-size: 12px;
    font-weight: 500;
  }

  .table-mobile-cards .table tr:hover td {
    background: none;
  }
}

.mobile-card-list {
  display: none;
}

@media (max-width: 768px) {
  .mobile-card-list {
    flex-direction: column;
    gap: 10px;
    display: flex;
  }

  .desktop-table {
    display: none;
  }
}

@media (min-width: 769px) {
  .desktop-table {
    display: block;
  }
}

.grid {
  gap: 16px;
  display: grid;
}

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

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

@media (max-width: 768px) {
  .grid-cols-2, .grid-cols-3 {
    grid-template-columns: 1fr;
  }
}

.flex {
  display: flex;
}

.flex-between {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.flex-center {
  align-items: center;
  gap: 8px;
  display: flex;
}

.gap-sm {
  gap: 8px;
}

.gap-md {
  gap: 12px;
}

.gap-lg {
  gap: 16px;
}

.mt-xs {
  margin-top: 4px;
}

.mt-sm {
  margin-top: 8px;
}

.mt-md {
  margin-top: 12px;
}

.mt-lg {
  margin-top: 16px;
}

.mb-sm {
  margin-bottom: 8px;
}

.mb-md {
  margin-bottom: 12px;
}

.font-medium {
  font-weight: 500;
}

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

.hide-mobile {
  display: block;
}

.show-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }

  .show-mobile {
    display: block !important;
  }

  .show-mobile-flex {
    display: flex !important;
  }
}

.empty {
  text-align: center;
  color: var(--text-secondary);
  padding: 32px 16px;
}

.loading {
  color: var(--text-secondary);
  font-size: 13px;
}

@keyframes skeleton-pulse {
  0%, 100% {
    opacity: .4;
  }

  50% {
    opacity: .7;
  }
}

.skeleton {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  animation: 1.5s ease-in-out infinite skeleton-pulse;
}

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

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: var(--border-default);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-emphasis);
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/*# sourceMappingURL=app_globals_71f961d1.css.map*/