/*! 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;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --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.bunny.net/css?family=inter:400,500,600,700|noto-sans-sc:400,500,700&display=swap");
:root {
  --color-primary: #2563EB;
  --color-primary-hover: #1D4ED8;
  --color-primary-active: #1E40AF;
  --color-primary-tint: #EFF6FF;
  --color-primary-tint-strong: #DBEAFE;
  --color-secondary: #475569;
  --color-secondary-tint: #F1F5F9;
  --color-tertiary: #64748B;
  --color-tertiary-tint: #F8FAFC;
  --color-bg-page: #F7F9FC;
  --color-bg-card: #FFFFFF;
  --color-bg-muted: #F3F5F9;
  --color-bg-hover: #F1F5FB;
  --color-text: #1F2937;
  --color-text-secondary: #6B7280;
  --color-text-tertiary: #9CA3AF;
  --color-text-on-primary: #FFFFFF;
  --color-text-link: #2563EB;
  --color-border: #E5EAF1;
  --color-border-strong: #CBD5E1;
  --color-focus-ring: rgba(37, 99, 235, 0.18);
  --color-success: #16A34A;
  --color-success-text: #15803D;
  --color-success-tint: #ECFDF3;
  --color-warning: #D97706;
  --color-warning-text: #B45309;
  --color-warning-tint: #FFF4E5;
  --color-error: #DC2626;
  --color-error-text: #B91C1C;
  --color-error-tint: #FEF0F0;
  --color-info: #2563EB;
  --color-info-text: #1D4ED8;
  --color-info-tint: #EFF6FF;
  --color-draft-text: #4B5563;
  --color-draft-tint: #F1F3F6;
  --color-sidebar-bg: #FFFFFF;
  --color-sidebar-border: #E5EAF1;
  --color-sidebar-text: #374151;
  --color-sidebar-icon: #4B5563;
  --color-sidebar-hover-bg: #F3F6FB;
  --color-sidebar-active-bg: #EFF6FF;
  --color-sidebar-active-text: #2563EB;
  --color-navbar-bg: #FFFFFF;
  --color-navbar-border: #E5EAF1;
  --color-navbar-text: #1F2937;
  --color-navbar-search-bg: #F3F5F9;
  --color-tabbar-bg: #F7F9FC;
  --color-tab-active-bg: #FFFFFF;
  --color-tab-active-text: #2563EB;
  --color-tab-text: #6B7280;
  --color-drawer-bg: #FFFFFF;
  --color-overlay: rgba(17, 24, 39, 0.4);
  --color-table-head-bg: #F7F9FC;
  --color-table-row-hover: #F4F7FC;
  --color-skeleton-base: #EEF1F6;
  --color-skeleton-highlight: #F8FAFC;
  --color-icon: #4B5563;
  --color-icon-accent: #2563EB;
  --color-icon-accent-bg: #EFF6FF;
  --color-mark-bg: #FEF3C7;
  --color-code-bg: #F3F5F9;
  --font-heading: "Inter", "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-lg: 16px;
  --text-xl: 18px;
  --text-2xl: 22px;
  --page-padding-x: 24px;
  --page-padding-y: 20px;
  --gap-card: 16px;
  --gap-section: 20px;
  --height-navbar: 60px;
  --height-tabbar: 40px;
  --width-sidebar: 232px;
  --width-sidebar-collapsed: 64px;
  --width-drawer: 520px;
  --width-drawer-lg: 720px;
  --height-control: 36px;
  --height-control-sm: 30px;
  --height-control-lg: 42px;
  --height-table-row: 48px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-tag: 4px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 4px 12px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.12);
  --transition-fast: 120ms ease;
  --transition-normal: 200ms ease;
  --transition-slow: 320ms ease;
  --chart-1: #2563EB;
  --chart-2: #60A5FA;
  --chart-3: #1E3A8A;
  --chart-4: #94A3B8;
  --chart-5: #93C5FD;
  --chart-6: #475569;
  --chart-grid: #EEF1F6;
  --chart-axis-text: #6B7280;
}
@layer base {
  html {
    font-size: 14px;
  }
  body {
    background: var(--color-bg-page);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.35;
  }
  h1 {
    font-size: var(--text-2xl);
  }
  h2 {
    font-size: var(--text-xl);
  }
  h3 {
    font-size: var(--text-lg);
  }
  h4, h5, h6 {
    font-size: var(--text-base);
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  button {
    font-family: inherit;
    cursor: pointer;
  }
  button:disabled {
    cursor: not-allowed;
  }
  input, textarea, select {
    font-family: inherit;
    font-size: var(--text-base);
    color: var(--color-text);
  }
  .lucide {
    stroke-width: 1.75;
    flex-shrink: 0;
  }
  ::selection {
    background: var(--color-primary-tint-strong);
  }
  * {
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 transparent;
  }
  *::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  *::-webkit-scrollbar-track {
    background: transparent;
  }
  *::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 8px;
  }
  *::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
  }
  @keyframes app-shimmer {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: -200% 0;
    }
  }
  @keyframes app-spin {
    to {
      transform: rotate(360deg);
    }
  }
}
@layer components {
  .icon {
    width: 18px;
    height: 18px;
    color: var(--color-icon);
    stroke-width: 1.75;
  }
  .icon-sm {
    width: 14px;
    height: 14px;
  }
  .icon-lg {
    width: 22px;
    height: 22px;
  }
  .icon-accent {
    color: var(--color-icon-accent);
  }
  .icon-tile {
    background: var(--color-icon-accent-bg);
    color: var(--color-icon-accent);
    border-radius: var(--radius-lg);
  }
  .icon-muted {
    color: var(--color-text-tertiary);
  }
  .spinner {
    border: 2px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: app-spin 0.7s linear infinite;
    width: 16px;
    height: 16px;
  }
  .btn {
    height: var(--height-control);
    font-size: var(--text-base);
    font-weight: 500;
    line-height: 1;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    white-space: nowrap;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
    user-select: none;
  }
  .btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-focus-ring);
  }
  .btn:disabled, .btn[aria-disabled="true"] {
    opacity: 0.5;
  }
  .btn-primary {
    background: var(--color-primary);
    color: var(--color-text-on-primary);
  }
  .btn-primary:hover:not(:disabled) {
    background: var(--color-primary-hover);
  }
  .btn-primary:active:not(:disabled) {
    background: var(--color-primary-active);
  }
  .btn-secondary {
    background: var(--color-bg-card);
    color: var(--color-primary);
    border-color: var(--color-border-strong);
  }
  .btn-secondary:hover:not(:disabled) {
    background: var(--color-primary-tint);
    border-color: var(--color-primary);
  }
  .btn-default {
    background: var(--color-bg-card);
    color: var(--color-text);
    border-color: var(--color-border-strong);
  }
  .btn-default:hover:not(:disabled) {
    background: var(--color-bg-hover);
  }
  .btn-text {
    background: transparent;
    color: var(--color-primary);
  }
  .btn-text:hover:not(:disabled) {
    background: var(--color-primary-tint);
  }
  .btn-danger {
    background: var(--color-error);
    color: #fff;
  }
  .btn-danger:hover:not(:disabled) {
    background: #B91C1C;
  }
  .btn-danger-text {
    background: transparent;
    color: var(--color-error-text);
  }
  .btn-danger-text:hover:not(:disabled) {
    background: var(--color-error-tint);
  }
  .btn-sm {
    height: var(--height-control-sm);
    font-size: var(--text-sm);
  }
  .btn-lg {
    height: var(--height-control-lg);
    font-size: var(--text-lg);
  }
  .btn-icon {
    width: var(--height-control);
    height: var(--height-control);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-icon);
    border: 1px solid transparent;
    transition: background var(--transition-fast);
  }
  .btn-icon:hover {
    background: var(--color-bg-hover);
    color: var(--color-primary);
  }
  .form-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
  }
  .form-label-required::after {
    content: " *";
    color: var(--color-error);
  }
  .form-hint {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
  }
  .form-error {
    font-size: var(--text-xs);
    color: var(--color-error-text);
  }
  .input, .textarea, .select {
    background: var(--color-bg-card);
    color: var(--color-text);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  }
  .input, .select {
    height: var(--height-control);
  }
  .textarea {
    min-height: 88px;
    line-height: 1.6;
  }
  .input::placeholder, .textarea::placeholder {
    color: var(--color-text-tertiary);
  }
  .input:hover, .textarea:hover, .select:hover {
    border-color: #94A3B8;
  }
  .input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-focus-ring);
  }
  .input:disabled, .textarea:disabled, .select:disabled {
    background: var(--color-bg-muted);
    color: var(--color-text-tertiary);
  }
  .input-error, .textarea-error, .select-error {
    border-color: var(--color-error);
  }
  .input-error:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
    border-color: var(--color-error);
  }
  .input-search {
    background: var(--color-navbar-search-bg);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    height: var(--height-control);
  }
  .input-search:focus {
    background: var(--color-bg-card);
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--color-focus-ring);
  }
  .select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 32px;
  }
  .checkbox, .radio {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid var(--color-border-strong);
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    vertical-align: middle;
    position: relative;
    flex-shrink: 0;
  }
  .radio {
    border-radius: 50%;
  }
  .checkbox:checked, .radio:checked {
    background: var(--color-primary);
    border-color: var(--color-primary);
  }
  .checkbox:checked::after {
    content: "";
    position: absolute;
    left: 4.5px;
    top: 1.5px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .radio:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
  }
  .checkbox:focus-visible, .radio:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-focus-ring);
  }
  .switch {
    appearance: none;
    -webkit-appearance: none;
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: var(--color-border-strong);
    position: relative;
    transition: background var(--transition-fast);
    flex-shrink: 0;
  }
  .switch::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
  }
  .switch:checked {
    background: var(--color-primary);
  }
  .switch:checked::after {
    transform: translateX(16px);
  }
  .card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
  }
  .card-interactive {
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    cursor: pointer;
  }
  .card-interactive:hover {
    border-color: #BFDBFE;
    box-shadow: var(--shadow-md);
    background: #FBFDFF;
  }
  .card-tint {
    background: var(--color-primary-tint);
    border: 1px solid var(--color-primary-tint-strong);
    border-radius: var(--radius-xl);
  }
  .card-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text);
  }
  .section-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text);
  }
  .text-secondary {
    color: var(--color-text-secondary);
  }
  .text-tertiary {
    color: var(--color-text-tertiary);
  }
  .text-primary-color {
    color: var(--color-primary);
  }
  .text-success-color {
    color: var(--color-success-text);
  }
  .text-warning-color {
    color: var(--color-warning-text);
  }
  .text-error-color {
    color: var(--color-error-text);
  }
  .link {
    color: var(--color-text-link);
    cursor: pointer;
    transition: color var(--transition-fast);
  }
  .link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
  }
  .divider {
    border-color: var(--color-border);
  }
  mark, .highlight {
    background: var(--color-mark-bg);
    color: inherit;
    border-radius: 2px;
  }
  .stat-value {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-text);
    font-variant-numeric: tabular-nums;
  }
  .avatar {
    background: var(--color-primary-tint-strong);
    color: var(--color-primary-hover);
    font-weight: 600;
    border-radius: 50%;
    overflow: hidden;
  }
  .tag {
    font-size: var(--text-xs);
    font-weight: 500;
    line-height: 20px;
    border-radius: var(--radius-tag);
    white-space: nowrap;
    background: var(--color-draft-tint);
    color: var(--color-draft-text);
  }
  .tag-pending, .tag-info {
    background: var(--color-info-tint);
    color: var(--color-info-text);
  }
  .tag-success {
    background: var(--color-success-tint);
    color: var(--color-success-text);
  }
  .tag-error {
    background: var(--color-error-tint);
    color: var(--color-error-text);
  }
  .tag-warning, .tag-reviewing {
    background: var(--color-warning-tint);
    color: var(--color-warning-text);
  }
  .tag-draft {
    background: var(--color-draft-tint);
    color: var(--color-draft-text);
  }
  .tag-outline {
    background: transparent;
    border: 1px solid var(--color-border-strong);
    color: var(--color-text-secondary);
  }
  .badge-count {
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    min-width: 16px;
    text-align: center;
    border-radius: 8px;
  }
  .badge-dot {
    background: var(--color-error);
    border-radius: 50%;
    width: 8px;
    height: 8px;
  }
  .chip {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-strong);
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
  }
  .chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
  .chip-active {
    background: var(--color-primary-tint);
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-weight: 500;
  }
  .tabs {
    border-bottom: 1px solid var(--color-border);
  }
  .tab {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    font-weight: 500;
    transition: color var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
  }
  .tab:hover {
    color: var(--color-text);
  }
  .tab-active, .tab[aria-selected="true"] {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
  }
  .segmented {
    background: var(--color-bg-muted);
    border-radius: var(--radius-md);
  }
  .segmented-item {
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    background: transparent;
    border: 0;
  }
  .segmented-item-active {
    background: var(--color-bg-card);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    font-weight: 500;
  }
  .table-wrap {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
  }
  .data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-base);
    background: var(--color-bg-card);
  }
  .data-table th {
    background: var(--color-table-head-bg);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    white-space: nowrap;
  }
  .data-table th.sortable {
    cursor: pointer;
    user-select: none;
  }
  .data-table th.sortable:hover {
    color: var(--color-primary);
  }
  .data-table td {
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    height: var(--height-table-row);
    vertical-align: middle;
  }
  .data-table tbody tr {
    transition: background var(--transition-fast);
  }
  .data-table tbody tr:hover {
    background: var(--color-table-row-hover);
  }
  .data-table tbody tr:last-child td {
    border-bottom: 0;
  }
  .data-table tr.row-selected {
    background: var(--color-primary-tint);
  }
  .cell-strong {
    font-weight: 600;
    color: var(--color-text);
  }
  .bulk-bar {
    background: var(--color-primary-tint);
    border: 1px solid var(--color-primary-tint-strong);
    border-radius: var(--radius-lg);
    color: var(--color-primary-hover);
  }
  .list-row {
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition-fast);
    cursor: pointer;
  }
  .list-row:hover {
    background: var(--color-table-row-hover);
  }
  .list-row:last-child {
    border-bottom: 0;
  }
  .tree-item {
    color: var(--color-sidebar-text);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    cursor: pointer;
    transition: background var(--transition-fast);
  }
  .tree-item:hover {
    background: var(--color-sidebar-hover-bg);
  }
  .tree-item-active {
    background: var(--color-sidebar-active-bg);
    color: var(--color-sidebar-active-text);
    font-weight: 500;
  }
  .timeline-line {
    background: var(--color-border);
  }
  .timeline-dot {
    background: var(--color-bg-card);
    border: 2px solid var(--color-border-strong);
    border-radius: 50%;
  }
  .timeline-dot-active {
    border-color: var(--color-primary);
    background: var(--color-primary);
  }
  .timeline-dot-success {
    border-color: var(--color-success);
    background: var(--color-success);
  }
  .timeline-dot-error {
    border-color: var(--color-error);
    background: var(--color-error);
  }
  .alert {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-info-tint);
    background: var(--color-info-tint);
    color: var(--color-info-text);
    font-size: var(--text-sm);
  }
  .alert-success {
    background: var(--color-success-tint);
    color: var(--color-success-text);
    border-color: #BBF7D0;
  }
  .alert-warning {
    background: var(--color-warning-tint);
    color: var(--color-warning-text);
    border-color: #FDE0B3;
  }
  .alert-error {
    background: var(--color-error-tint);
    color: var(--color-error-text);
    border-color: #FECACA;
  }
  .skeleton {
    background: linear-gradient(90deg, var(--color-skeleton-base) 25%, var(--color-skeleton-highlight) 37%, var(--color-skeleton-base) 63%);
    background-size: 400% 100%;
    animation: app-shimmer 1.4s ease infinite;
    border-radius: var(--radius-md);
    color: transparent;
  }
  .skeleton-text {
    height: 14px;
  }
  .skeleton-circle {
    border-radius: 50%;
  }
  .progress {
    background: var(--color-bg-muted);
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
  }
  .progress-bar {
    background: var(--color-primary);
    height: 100%;
    border-radius: 4px;
    transition: width var(--transition-slow);
  }
  .dropdown-menu {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }
  .dropdown-item {
    color: var(--color-text);
    font-size: var(--text-base);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
  }
  .dropdown-item:hover {
    background: var(--color-bg-hover);
  }
  .dropdown-item-danger {
    color: var(--color-error-text);
  }
  .upload-zone {
    border: 1px dashed var(--color-border-strong);
    border-radius: var(--radius-lg);
    background: var(--color-tertiary-tint);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    cursor: pointer;
  }
  .upload-zone:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-tint);
    color: var(--color-primary);
  }
  .prose {
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.8;
  }
  .prose h1, .prose h2, .prose h3 {
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    scroll-margin-top: 80px;
  }
  .prose h2 {
    font-size: var(--text-xl);
    padding-bottom: 0.3em;
    border-bottom: 1px solid var(--color-border);
  }
  .prose p {
    margin: 0.8em 0;
  }
  .prose ul {
    list-style: disc;
    padding-left: 1.5em;
    margin: 0.8em 0;
  }
  .prose ol {
    list-style: decimal;
    padding-left: 1.5em;
    margin: 0.8em 0;
  }
  .prose a {
    color: var(--color-text-link);
  }
  .prose blockquote {
    border-left: 3px solid var(--color-primary-tint-strong);
    background: var(--color-tertiary-tint);
    color: var(--color-text-secondary);
    padding: 8px 14px;
    margin: 1em 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
  }
  .prose code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: var(--color-code-bg);
    padding: 1px 6px;
    border-radius: var(--radius-sm);
  }
  .prose pre {
    font-family: var(--font-mono);
    font-size: 13px;
    background: var(--color-code-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    overflow-x: auto;
    margin: 1em 0;
  }
  .prose pre code {
    background: transparent;
    padding: 0;
  }
  .prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: var(--text-base);
  }
  .prose th, .prose td {
    border: 1px solid var(--color-border);
    padding: 8px 12px;
    text-align: left;
  }
  .prose th {
    background: var(--color-table-head-bg);
  }
  .anchor-link {
    color: var(--color-text-secondary);
    border-left: 2px solid var(--color-border);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
  }
  .anchor-link:hover {
    color: var(--color-primary);
  }
  .anchor-link-active {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    font-weight: 500;
  }
  .rating-star {
    color: var(--color-border-strong);
  }
  .rating-star-on {
    color: var(--color-primary);
  }
}
