/*! 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;
    --color-neutral-100: oklch(97% 0 0);
    --color-neutral-200: oklch(92.2% 0 0);
    --color-neutral-300: oklch(87% 0 0);
    --color-neutral-500: oklch(55.6% 0 0);
    --color-neutral-700: oklch(37.1% 0 0);
    --color-neutral-900: oklch(20.5% 0 0);
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --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=noto-sans-sc:400,500,700,900&display=swap");
:root {
  --color-primary: #ff6b2c;
  --color-primary-hover: #e85a1c;
  --color-primary-light: #fff0e8;
  --color-primary-gradient-end: #ff9a3c;
  --color-secondary: #1f6feb;
  --color-secondary-light: #e6f0ff;
  --color-tertiary: #14b8a6;
  --color-tertiary-light: #dcf7f3;
  --color-neutral-900: #1b2333;
  --color-neutral-700: #3d4759;
  --color-neutral-500: #6b7588;
  --color-neutral-300: #c9cfda;
  --color-neutral-200: #e3e7ee;
  --color-neutral-100: #f2f4f8;
  --color-neutral-50: #fafbfd;
  --color-success: #16a34a;
  --color-success-light: #dcfce7;
  --color-warning: #f59e0b;
  --color-warning-light: #fef3c7;
  --color-warning-text: #92400e;
  --color-error: #dc2626;
  --color-error-light: #fee2e2;
  --color-info: #0ea5e9;
  --color-info-light: #e0f2fe;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fb;
  --color-bg-dark: #1b2333;
  --color-text: #1b2333;
  --color-text-secondary: #5a6478;
  --color-text-inverse: #ffffff;
  --color-text-link: #1f6feb;
  --color-border: #e3e7ee;
  --color-active: #ff6b2c;
  --navbar-bg: #ffffff;
  --navbar-text: #1b2333;
  --navbar-active: #ff6b2c;
  --navbar-topbar-bg: #1b2333;
  --navbar-topbar-text: #e3e7ee;
  --footer-bg: #1b2333;
  --footer-text: #c9cfda;
  --footer-heading: #ffffff;
  --sidebar-bg: #1b2333;
  --sidebar-text: #c9cfda;
  --sidebar-active-bg: #ff6b2c;
  --sidebar-active-text: #ffffff;
  --sidebar-hover-bg: #2a3448;
  --topbar-admin-bg: #ffffff;
  --float-bg: #ff6b2c;
  --float-text: #ffffff;
  --font-heading: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --space-page-x: 120px;
  --space-section: 96px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --gap-card: 24px;
  --max-width-content: 1680px;
  --height-navbar: 80px;
  --height-topbar: 40px;
  --width-sidebar: 240px;
  --height-admin-topbar: 64px;
  --width-float: 64px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(27,35,51,0.08);
  --shadow-md: 0 4px 14px rgba(27,35,51,0.1);
  --shadow-lg: 0 12px 32px rgba(27,35,51,0.14);
  --shadow-button: 0 3px 8px rgba(255,107,44,0.3);
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
  --chart-1: #ff6b2c;
  --chart-2: #1f6feb;
  --chart-3: #14b8a6;
  --chart-4: #f59e0b;
  --chart-5: #8b5cf6;
  --chart-6: #ec4899;
  --texture-dots: radial-gradient(rgba(27,35,51,0.07) 1px, transparent 1px);
}
@layer base {
  html {
    scroll-behavior: smooth;
  }
  body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  /* 为固定的官网导航预留安全间距，避免各页面首屏图文被顶栏遮挡。首页使用透明导航，保持沉浸式首屏不受影响。 */
  body:has(> app-site-navbar:not([transparent])) > main {
    padding-top: calc(var(--height-topbar) + var(--height-navbar) + 24px) !important;
  }
  @media (max-width: 760px) {
    body:has(> app-site-navbar:not([transparent])) > main {
      padding-top: 184px !important;
    }
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.3;
  }
  h1 {
    font-size: 48px;
    font-weight: 900;
  }
  h2 {
    font-size: 36px;
    font-weight: 900;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 18px;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  img {
    max-width: 100%;
    display: block;
  }
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: var(--color-neutral-100);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--color-neutral-300);
    border-radius: var(--radius-full);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--color-neutral-500);
  }
}
@layer components {
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
  }
  .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-gradient-end));
    color: var(--color-text-inverse);
    box-shadow: var(--shadow-button);
  }
  .btn-primary:hover {
    background: var(--color-primary-hover);
  }
  .btn-secondary {
    background: var(--color-secondary);
    color: var(--color-text-inverse);
  }
  .btn-secondary:hover {
    opacity: 0.9;
  }
  .btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
  }
  .btn-outline:hover {
    background: var(--color-primary-light);
  }
  .btn-ghost {
    background: transparent;
    color: var(--color-text);
  }
  .btn-ghost:hover {
    background: var(--color-neutral-100);
  }
  .btn-danger {
    background: var(--color-error);
    color: var(--color-text-inverse);
  }
  .btn-sm {
    font-size: 14px;
    border-radius: var(--radius-sm);
  }
  .btn-lg {
    font-size: 18px;
  }
  .card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: box-shadow var(--transition-normal), transform var(--transition-normal);
    overflow: hidden;
  }
  .card-hover:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
  }
  .card-flat {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
  }
  .section-alt {
    background: var(--color-bg-alt);
  }
  .section-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-inverse);
  }
  .texture-dots {
    background-image: var(--texture-dots);
    background-size: 16px 16px;
  }
  .section-title {
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--color-text);
  }
  .section-subtitle {
    color: var(--color-text-secondary);
  }
  .text-muted {
    color: var(--color-text-secondary);
  }
  .text-primary-color {
    color: var(--color-primary);
  }
  .link {
    color: var(--color-text-link);
    transition: color var(--transition-fast);
  }
  .link:hover {
    color: var(--color-primary);
    text-decoration: underline;
  }
  .badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-full);
    background: var(--color-neutral-100);
    color: var(--color-neutral-700);
  }
  .badge-primary {
    background: var(--color-primary-light);
    color: var(--color-primary-hover);
  }
  .badge-success {
    background: var(--color-success-light);
    color: var(--color-success);
  }
  .badge-warning {
    background: var(--color-warning-light);
    color: var(--color-warning-text);
  }
  .badge-error {
    background: var(--color-error-light);
    color: var(--color-error);
  }
  .badge-info {
    background: var(--color-info-light);
    color: var(--color-secondary);
  }
  .input, .textarea, .select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
  }
  .input::placeholder, .textarea::placeholder {
    color: var(--color-neutral-500);
  }
  .input:focus, .textarea:focus, .select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
  }
  .input-error {
    border-color: var(--color-error);
  }
  .textarea {
    resize: vertical;
  }
  .select {
    appearance: none;
    -webkit-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='%236b7588' stroke-width='3' 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 14px center;
    cursor: pointer;
  }
  .form-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
  }
  .form-required {
    color: var(--color-error);
  }
  .form-hint {
    font-size: 12px;
    color: var(--color-text-secondary);
  }
  .form-error {
    font-size: 12px;
    color: var(--color-error);
  }
  .checkbox {
    accent-color: var(--color-primary);
    cursor: pointer;
  }
  .upload-zone {
    border: 2px dashed var(--color-neutral-300);
    border-radius: var(--radius-md);
    background: var(--color-bg-alt);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
  }
  .upload-zone:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
  }
  .tabs {
    border-bottom: 2px solid var(--color-border);
  }
  .tab {
    font-weight: 700;
    color: var(--color-text-secondary);
    border-bottom: 3px solid transparent;
    cursor: pointer;
    background: transparent;
    transition: all var(--transition-fast);
  }
  .tab:hover {
    color: var(--color-primary);
  }
  .tab-active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
  }
  .chip {
    font-size: 14px;
    font-weight: 500;
    background: var(--color-bg);
    color: var(--color-neutral-700);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
  }
  .chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
  .chip-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-inverse);
  }
  .table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg);
    font-size: 14px;
    color: var(--color-text);
  }
  .table th {
    background: var(--color-neutral-100);
    color: var(--color-neutral-700);
    font-weight: 700;
    text-align: left;
    border-bottom: 2px solid var(--color-border);
  }
  .table td {
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
  }
  .table tbody tr:hover {
    background: var(--color-bg-alt);
  }
  .icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--color-primary-light);
    color: var(--color-primary);
  }
  .icon-box-blue {
    background: var(--color-secondary-light);
    color: var(--color-secondary);
  }
  .icon-box-teal {
    background: var(--color-tertiary-light);
    color: var(--color-tertiary);
  }
  .divider {
    border-top: 1px solid var(--color-border);
  }
  .stat-number {
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1.1;
  }
  .modal-backdrop {
    background: rgba(27,35,51,0.6);
  }
  .modal {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--color-text);
  }
  .toast {
    background: var(--color-neutral-900);
    color: var(--color-text-inverse);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
  }
  .skeleton {
    background: linear-gradient(90deg, var(--color-neutral-100) 25%, var(--color-neutral-200) 50%, var(--color-neutral-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
    border-radius: var(--radius-sm);
  }
  .pagination-item {
    font-weight: 700;
    color: var(--color-neutral-700);
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
  }
  .pagination-item:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
  .pagination-item-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-inverse);
  }
  .breadcrumb {
    font-size: 14px;
    color: var(--color-text-secondary);
  }
  .breadcrumb a:hover {
    color: var(--color-primary);
  }
  .timeline-dot {
    background: var(--color-primary);
    border: 4px solid var(--color-primary-light);
    border-radius: var(--radius-full);
  }
  .timeline-line {
    background: var(--color-neutral-200);
  }
  .img-placeholder {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
    color: var(--color-neutral-500);
  }
  @keyframes skeleton-shimmer {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: -200% 0;
    }
  }
  @keyframes fade-up {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .animate-fade-up {
    animation: fade-up var(--transition-slow) both;
  }
}
