/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@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;
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&family=Noto+Serif+SC:wght@600;700;800&display=swap");
:root {
  --font-heading: "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", sans-serif;
  --text-headline: 700 2rem/1.2 var(--font-heading);
  --text-body: 400 1rem/1.55 var(--font-body);
  --text-label: 500 0.75rem/1.35 var(--font-body);
  --color-primary: #155eef;
  --color-primary-tint: #e8f0ff;
  --color-secondary: #5b5fc7;
  --color-tertiary: #c66a12;
  --color-bg-page: #eef4fa;
  --color-bg-surface: #fbfdff;
  --color-bg-surface-alt: #e5edf7;
  --color-border: #c9d7e7;
  --color-text-primary: #132238;
  --color-text-secondary: #40516a;
  --color-text-muted: #66758a;
  --color-text-inverse: #ffffff;
  --color-success: #137a59;
  --color-success-tint: #e2f5ec;
  --color-warning: #a85b05;
  --color-warning-tint: #fff1db;
  --color-error: #bd2c3e;
  --color-error-tint: #fde9ec;
  --color-info: #1769aa;
  --color-info-tint: #e5f2fb;
  --color-sidebar-bg: #10233c;
  --color-sidebar-text: #c4d3e5;
  --color-sidebar-active: #1d5ddb;
  --color-sidebar-active-text: #ffffff;
  --color-navbar-bg: rgba(248, 252, 255, 0.9);
  --color-navbar-border: #c9d7e7;
  --height-navbar: 68px;
  --width-sidebar: 228px;
  --spacing-page: 24px;
  --card-gap: 16px;
  --spacing-control: 2.75rem;
  --radius-sm: 8px;
  --radius-md: 14px;
  --transition-fast: 150ms ease;
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px rgba(21, 94, 239, 0.08), 0 3px 8px rgba(16, 35, 60, 0.07);
  --shadow-md: 0 2px 5px rgba(21, 94, 239, 0.10), 0 10px 24px rgba(16, 35, 60, 0.10);
  --shadow-lg: 0 5px 12px rgba(21, 94, 239, 0.13), 0 22px 44px rgba(16, 35, 60, 0.14);
  --chart-1: #155eef;
  --chart-2: #5b5fc7;
  --chart-3: #c66a12;
  --chart-4: #137a59;
  --chart-5: #1769aa;
  --chart-6: #bd2c3e;
}
@layer base {
  body {
    font: var(--text-body);
    color: var(--color-text-primary);
    background: radial-gradient(circle at 88% 2%, var(--color-primary-tint), var(--color-bg-page) 38%), linear-gradient(135deg, var(--color-bg-page), var(--color-bg-surface-alt));
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-primary);
  }
  h1 {
    font: var(--text-headline);
  }
  h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  h3 {
    font-size: 1.125rem;
    line-height: 1.35;
  }
  button, input, select, textarea {
    font: inherit;
  }
  :focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  ::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: var(--radius-sm);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-secondary);
  }
}
@layer components {
  .surface-raised {
    background: linear-gradient(145deg, var(--color-bg-surface), var(--color-primary-tint));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }
  .hover-lift {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  }
  .hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
  }
  .stat-card {
    background: linear-gradient(135deg, var(--color-bg-surface), var(--color-primary-tint));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }
  .stat-card--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-color: var(--color-primary);
    color: var(--color-text-inverse);
  }
  .stat-card--warning {
    background: linear-gradient(135deg, var(--color-bg-surface), var(--color-warning-tint));
    border-color: var(--color-warning);
  }
  .stat-card--danger {
    background: linear-gradient(135deg, var(--color-bg-surface), var(--color-error-tint));
    border-color: var(--color-error);
  }
  .filter-tab {
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--color-text-secondary);
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font: var(--text-label);
    transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  }
  .filter-tab:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
  }
  .filter-tab.active {
    color: var(--color-text-inverse);
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
  }
  .data-table-shell {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }
  .data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--color-text-primary);
  }
  .data-table thead {
    background: var(--color-bg-surface-alt);
  }
  .data-table th {
    color: var(--color-text-secondary);
    font: var(--text-label);
    border-bottom: 1px solid var(--color-border);
  }
  .data-table td {
    border-bottom: 1px solid var(--color-border);
  }
  .data-table tbody tr {
    transition: background var(--transition-fast), color var(--transition-fast);
  }
  .data-table tbody tr:hover {
    background: var(--color-primary-tint);
  }
  .data-table tbody tr:last-child td {
    border-bottom-color: transparent;
  }
  .badge-success, .badge-warning, .badge-error, .badge-info {
    border-radius: var(--radius-sm);
    font: var(--text-label);
  }
  .badge-success {
    color: var(--color-text-primary);
    background: var(--color-success-tint);
    border: 1px solid var(--color-success);
  }
  .badge-warning {
    color: var(--color-text-primary);
    background: var(--color-warning-tint);
    border: 1px solid var(--color-warning);
  }
  .badge-error {
    color: var(--color-text-primary);
    background: var(--color-error-tint);
    border: 1px solid var(--color-error);
  }
  .badge-info {
    color: var(--color-text-primary);
    background: var(--color-info-tint);
    border: 1px solid var(--color-info);
  }
  .form-input, .form-textarea, .form-select {
    color: var(--color-text-primary);
    background-color: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  }
  .form-input::placeholder, .form-textarea::placeholder {
    color: var(--color-text-muted);
  }
  .form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    outline: none;
  }
  .form-select {
    -webkit-appearance: none;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--color-text-secondary) 50%), linear-gradient(135deg, var(--color-text-secondary) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    padding-inline-end: var(--spacing-control);
  }
  .btn-primary, .btn-secondary {
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  }
  .btn-primary {
    color: var(--color-text-inverse);
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
  }
  .btn-primary:hover {
    transform: translateY(-1px);
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
  }
  .btn-secondary {
    color: var(--color-primary);
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
  }
  .btn-secondary:hover {
    transform: translateY(-1px);
    background: var(--color-primary-tint);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
  }
  .chart-surface {
    background: linear-gradient(145deg, var(--color-bg-surface), var(--color-primary-tint));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }
  .skeleton-line, .skeleton-circle {
    background: linear-gradient(90deg, var(--color-bg-surface-alt), var(--color-primary-tint), var(--color-bg-surface-alt));
    background-size: 200% 100%;
    animation: blueprint-shimmer var(--transition-slow) infinite linear;
  }
  .skeleton-line {
    border-radius: var(--radius-sm);
  }
  .skeleton-circle {
    border-radius: 999px;
  }
  @keyframes blueprint-shimmer {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: -200% 0;
    }
  }
}
