:root {
  --app-vh: 1vh;
  --app-safe-bottom-fallback: 0px;
  --app-safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--app-safe-bottom-fallback, 0px));
  --ui-primary: #2563eb;
  --ui-secondary: #06b6d4;
  --ui-primary-soft: rgba(37, 99, 235, 0.12);
  --ui-primary-soft-strong: rgba(37, 99, 235, 0.22);
  --ui-bg-gradient: radial-gradient(980px at 12% 10%, rgba(37, 99, 235, 0.25), transparent 58%),
    radial-gradient(900px at 88% 84%, rgba(6, 182, 212, 0.22), transparent 56%),
    linear-gradient(146deg, #e8f0ff 0%, #e7f7ff 52%, #f2fbff 100%);
  --ui-text: #0f172a;
  --ui-muted: #475569;
  --ui-surface: rgba(255, 255, 255, 0.88);
  --ui-surface-border: rgba(148, 163, 184, 0.26);
  --ui-radius-scale: 1.04;
  --ui-font-scale: 1;
  --ui-space-scale: 1;
  --ui-motion-scale: 1;
  --ui-danger: #ef4444;
  --ui-success: #10b981;
  --ui-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.12);
  --ui-shadow-strong: 0 20px 45px rgba(15, 23, 42, 0.18);
  --ui-back-btn-bg: rgba(255, 255, 255, 0.95);
  --ui-back-btn-text: #0f172a;
  --ui-back-btn-border: rgba(15, 23, 42, 0.16);
  --ui-back-btn-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  --ui-back-btn-hover-bg: #ffffff;
  --ui-font-family:
    'MiSans',
    'HarmonyOS Sans SC',
    'Source Han Sans SC',
    'Noto Sans SC',
    'DM Sans',
    'Microsoft YaHei',
    'PingFang SC',
    'Hiragino Sans GB',
    'WenQuanYi Micro Hei',
    'Inter',
    sans-serif;
  --primary-color: var(--ui-primary);
  --secondary-color: var(--ui-secondary);
  --bg-gradient: var(--ui-bg-gradient);
  --glass-bg: var(--ui-surface);
  --glass-border: var(--ui-surface-border);
  --text-color: var(--ui-text);
}

/* Tailwind CSS */
@layer tailwind {
  *, ::before, ::after {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x:  ;
    --tw-pan-y:  ;
    --tw-pinch-zoom:  ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position:  ;
    --tw-gradient-via-position:  ;
    --tw-gradient-to-position:  ;
    --tw-ordinal:  ;
    --tw-slashed-zero:  ;
    --tw-numeric-figure:  ;
    --tw-numeric-spacing:  ;
    --tw-numeric-fraction:  ;
    --tw-ring-inset:  ;
    --tw-ring-offset-width: 2px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(0 113 227 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur:  ;
    --tw-brightness:  ;
    --tw-contrast:  ;
    --tw-grayscale:  ;
    --tw-hue-rotate:  ;
    --tw-invert:  ;
    --tw-saturate:  ;
    --tw-sepia:  ;
    --tw-drop-shadow:  ;
    --tw-backdrop-blur:  ;
    --tw-backdrop-brightness:  ;
    --tw-backdrop-contrast:  ;
    --tw-backdrop-grayscale:  ;
    --tw-backdrop-hue-rotate:  ;
    --tw-backdrop-invert:  ;
    --tw-backdrop-opacity:  ;
    --tw-backdrop-saturate:  ;
    --tw-backdrop-sepia:  ;
    --tw-contain-size:  ;
    --tw-contain-layout:  ;
    --tw-contain-paint:  ;
    --tw-contain-style:  ;
  }
  ::backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x:  ;
    --tw-pan-y:  ;
    --tw-pinch-zoom:  ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position:  ;
    --tw-gradient-via-position:  ;
    --tw-gradient-to-position:  ;
    --tw-ordinal:  ;
    --tw-slashed-zero:  ;
    --tw-numeric-figure:  ;
    --tw-numeric-spacing:  ;
    --tw-numeric-fraction:  ;
    --tw-ring-inset:  ;
    --tw-ring-offset-width: 2px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(0 113 227 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur:  ;
    --tw-brightness:  ;
    --tw-contrast:  ;
    --tw-grayscale:  ;
    --tw-hue-rotate:  ;
    --tw-invert:  ;
    --tw-saturate:  ;
    --tw-sepia:  ;
    --tw-drop-shadow:  ;
    --tw-backdrop-blur:  ;
    --tw-backdrop-brightness:  ;
    --tw-backdrop-contrast:  ;
    --tw-backdrop-grayscale:  ;
    --tw-backdrop-hue-rotate:  ;
    --tw-backdrop-invert:  ;
    --tw-backdrop-opacity:  ;
    --tw-backdrop-saturate:  ;
    --tw-backdrop-sepia:  ;
    --tw-contain-size:  ;
    --tw-contain-layout:  ;
    --tw-contain-paint:  ;
    --tw-contain-style:  ;
  }
  /* ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com *//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
  :root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --primary: 213 100% 40%;
    --primary-foreground: 0 0% 100%;
    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 213 97% 44%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --radius: 0.6875rem;
  }

  .dark {
    --background: 228 6% 15.7%;
    --foreground: 0 0% 100%;
    --primary: 210 100% 56%;
    --primary-foreground: 0 0% 100%;
    --secondary: 228 5% 20%;
    --secondary-foreground: 0 0% 100%;
    --card: 228 5% 16.5%;
    --card-foreground: 0 0% 100%;
    --popover: 228 5% 16.5%;
    --popover-foreground: 0 0% 100%;
    --border: 228 5% 25%;
    --input: 228 5% 25%;
    --ring: 210 100% 56%;
    --muted: 228 5% 20%;
    --muted-foreground: 0 0% 80%;
    --accent: 228 5% 20%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --radius: 0.6875rem;
  }
  .\!container {
    width: 100% !important;
  }
  .container {
    width: 100%;
  }
  @media (min-width: 320px) {
    .\!container {
      max-width: 320px !important;
    }
    .container {
      max-width: 320px;
    }
  }
  @media (min-width: 640px) {
    .\!container {
      max-width: 640px !important;
    }
    .container {
      max-width: 640px;
    }
  }
  @media (min-width: 768px) {
    .\!container {
      max-width: 768px !important;
    }
    .container {
      max-width: 768px;
    }
  }
  @media (min-width: 1024px) {
    .\!container {
      max-width: 1024px !important;
    }
    .container {
      max-width: 1024px;
    }
  }
  @media (min-width: 1200px) {
    .\!container {
      max-width: 1200px !important;
    }
    .container {
      max-width: 1200px;
    }
  }
  @media (min-width: 1280px) {
    .\!container {
      max-width: 1280px !important;
    }
    .container {
      max-width: 1280px;
    }
  }
  @media (min-width: 1536px) {
    .\!container {
      max-width: 1536px !important;
    }
    .container {
      max-width: 1536px;
    }
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
  .pointer-events-none {
    pointer-events: none;
  }
  .\!visible {
    visibility: visible !important;
  }
  .visible {
    visibility: visible;
  }
  .collapse {
    visibility: collapse;
  }
  .fixed {
    position: fixed;
  }
  .\!absolute {
    position: absolute !important;
  }
  .absolute {
    position: absolute;
  }
  .relative {
    position: relative;
  }
  .sticky {
    position: sticky;
  }
  .inset-0 {
    inset: 0px;
  }
  .inset-x-0 {
    left: 0px;
    right: 0px;
  }
  .inset-y-0 {
    top: 0px;
    bottom: 0px;
  }
  .-right-4 {
    right: -1rem;
  }
  .-right-8 {
    right: -2rem;
  }
  .-top-4 {
    top: -1rem;
  }
  .-top-8 {
    top: -2rem;
  }
  .bottom-0 {
    bottom: 0px;
  }
  .left-0 {
    left: 0px;
  }
  .left-1\/2 {
    left: 50%;
  }
  .left-2 {
    left: 0.5rem;
  }
  .left-3 {
    left: 0.75rem;
  }
  .right-0 {
    right: 0px;
  }
  .right-2 {
    right: 0.5rem;
  }
  .right-3 {
    right: 0.75rem;
  }
  .right-4 {
    right: 1rem;
  }
  .top-0 {
    top: 0px;
  }
  .top-1\/2 {
    top: 50%;
  }
  .top-3 {
    top: 0.75rem;
  }
  .top-4 {
    top: 1rem;
  }
  .isolate {
    isolation: isolate;
  }
  .z-10 {
    z-index: 10;
  }
  .z-50 {
    z-index: 50;
  }
  .z-\[200\] {
    z-index: 200;
  }
  .z-\[210\] {
    z-index: 210;
  }
  .-mx-1 {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }
  .mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  .mx-4 {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .mx-auto {
    margin-left: auto;
    margin-right: auto;
  }
  .my-1 {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
  }
  .my-6 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .-mr-12 {
    margin-right: -3rem;
  }
  .-mt-12 {
    margin-top: -3rem;
  }
  .mb-1 {
    margin-bottom: 0.25rem;
  }
  .mb-1\.5 {
    margin-bottom: 0.375rem;
  }
  .mb-2 {
    margin-bottom: 0.5rem;
  }
  .mb-3 {
    margin-bottom: 0.75rem;
  }
  .mb-4 {
    margin-bottom: 1rem;
  }
  .mb-5 {
    margin-bottom: 1.25rem;
  }
  .mb-6 {
    margin-bottom: 1.5rem;
  }
  .mb-7 {
    margin-bottom: 1.75rem;
  }
  .ml-1 {
    margin-left: 0.25rem;
  }
  .ml-4 {
    margin-left: 1rem;
  }
  .ml-auto {
    margin-left: auto;
  }
  .mr-1 {
    margin-right: 0.25rem;
  }
  .mr-2 {
    margin-right: 0.5rem;
  }
  .mr-3 {
    margin-right: 0.75rem;
  }
  .mt-0\.5 {
    margin-top: 0.125rem;
  }
  .mt-1 {
    margin-top: 0.25rem;
  }
  .mt-2 {
    margin-top: 0.5rem;
  }
  .mt-3 {
    margin-top: 0.75rem;
  }
  .mt-4 {
    margin-top: 1rem;
  }
  .mt-5 {
    margin-top: 1.25rem;
  }
  .mt-6 {
    margin-top: 1.5rem;
  }
  .line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .block {
    display: block;
  }
  .inline-block {
    display: inline-block;
  }
  .inline {
    display: inline;
  }
  .flex {
    display: flex;
  }
  .inline-flex {
    display: inline-flex;
  }
  .table {
    display: table;
  }
  .grid {
    display: grid;
  }
  .contents {
    display: contents;
  }
  .hidden {
    display: none;
  }
  .size-11 {
    width: 2.75rem;
    height: 2.75rem;
  }
  .size-4 {
    width: 1rem;
    height: 1rem;
  }
  .size-9 {
    width: 2.25rem;
    height: 2.25rem;
  }
  .h-1 {
    height: 0.25rem;
  }
  .h-10 {
    height: 2.5rem;
  }
  .h-11 {
    height: 2.75rem;
  }
  .h-12 {
    height: 3rem;
  }
  .h-14 {
    height: 3.5rem;
  }
  .h-16 {
    height: 4rem;
  }
  .h-2 {
    height: 0.5rem;
  }
  .h-2\.5 {
    height: 0.625rem;
  }
  .h-24 {
    height: 6rem;
  }
  .h-3 {
    height: 0.75rem;
  }
  .h-3\.5 {
    height: 0.875rem;
  }
  .h-32 {
    height: 8rem;
  }
  .h-4 {
    height: 1rem;
  }
  .h-40 {
    height: 10rem;
  }
  .h-5 {
    height: 1.25rem;
  }
  .h-7 {
    height: 1.75rem;
  }
  .h-8 {
    height: 2rem;
  }
  .h-9 {
    height: 2.25rem;
  }
  .h-\[--reka-select-trigger-height\] {
    height: var(--reka-select-trigger-height);
  }
  .h-\[6px\] {
    height: 6px;
  }
  .h-full {
    height: 100%;
  }
  .h-px {
    height: 1px;
  }
  .max-h-96 {
    max-height: 24rem;
  }
  .max-h-\[68vh\] {
    max-height: 68vh;
  }
  .max-h-\[80vh\] {
    max-height: 80vh;
  }
  .min-h-\[52px\] {
    min-height: 52px;
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .w-10 {
    width: 2.5rem;
  }
  .w-12 {
    width: 3rem;
  }
  .w-14 {
    width: 3.5rem;
  }
  .w-16 {
    width: 4rem;
  }
  .w-2 {
    width: 0.5rem;
  }
  .w-2\.5 {
    width: 0.625rem;
  }
  .w-24 {
    width: 6rem;
  }
  .w-3 {
    width: 0.75rem;
  }
  .w-3\.5 {
    width: 0.875rem;
  }
  .w-3\/4 {
    width: 75%;
  }
  .w-32 {
    width: 8rem;
  }
  .w-36 {
    width: 9rem;
  }
  .w-4 {
    width: 1rem;
  }
  .w-40 {
    width: 10rem;
  }
  .w-5 {
    width: 1.25rem;
  }
  .w-6 {
    width: 1.5rem;
  }
  .w-7 {
    width: 1.75rem;
  }
  .w-8 {
    width: 2rem;
  }
  .w-9 {
    width: 2.25rem;
  }
  .w-\[92\%\] {
    width: 92%;
  }
  .w-full {
    width: 100%;
  }
  .w-px {
    width: 1px;
  }
  .min-w-0 {
    min-width: 0px;
  }
  .min-w-32 {
    min-width: 8rem;
  }
  .min-w-\[--reka-select-trigger-width\] {
    min-width: var(--reka-select-trigger-width);
  }
  .min-w-\[48px\] {
    min-width: 48px;
  }
  .max-w-\[448px\] {
    max-width: 448px;
  }
  .max-w-\[520px\] {
    max-width: 520px;
  }
  .max-w-lg {
    max-width: 32rem;
  }
  .max-w-md {
    max-width: 28rem;
  }
  .max-w-sm {
    max-width: 24rem;
  }
  .flex-1 {
    flex: 1 1 0%;
  }
  .flex-shrink {
    flex-shrink: 1;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .grow {
    flex-grow: 1;
  }
  .border-collapse {
    border-collapse: collapse;
  }
  .-translate-x-1\/2 {
    --tw-translate-x: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }
  .-translate-y-1\/2 {
    --tw-translate-y: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }
  .scale-95 {
    --tw-scale-x: .95;
    --tw-scale-y: .95;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }
  .transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  .animate-spin {
    animation: spin 1s linear infinite;
  }
  .cursor-default {
    cursor: default;
  }
  .cursor-not-allowed {
    cursor: not-allowed;
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .touch-none {
    touch-action: none;
  }
  .select-none {
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
  .select-text {
    -webkit-user-select: text;
       -moz-user-select: text;
            user-select: text;
  }
  .resize {
    resize: both;
  }
  .appearance-none {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .grid-cols-\[44px_1fr_44px\] {
    grid-template-columns: 44px 1fr 44px;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-col-reverse {
    flex-direction: column-reverse;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .place-items-center {
    place-items: center;
  }
  .items-start {
    align-items: flex-start;
  }
  .items-end {
    align-items: flex-end;
  }
  .items-center {
    align-items: center;
  }
  .items-baseline {
    align-items: baseline;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-between {
    justify-content: space-between;
  }
  .gap-1 {
    gap: 0.25rem;
  }
  .gap-1\.5 {
    gap: 0.375rem;
  }
  .gap-2 {
    gap: 0.5rem;
  }
  .gap-3 {
    gap: 0.75rem;
  }
  .gap-4 {
    gap: 1rem;
  }
  .gap-5 {
    gap: 1.25rem;
  }
  .gap-x-2 {
    -moz-column-gap: 0.5rem;
         column-gap: 0.5rem;
  }
  .gap-y-1\.5 {
    row-gap: 0.375rem;
  }
  .gap-y-2 {
    row-gap: 0.5rem;
  }
  .gap-y-4 {
    row-gap: 1rem;
  }
  .gap-y-6 {
    row-gap: 1.5rem;
  }
  .space-x-1 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(0.25rem * var(--tw-space-x-reverse));
    margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));
  }
  .space-x-2 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(0.5rem * var(--tw-space-x-reverse));
    margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
  }
  .space-x-3 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(0.75rem * var(--tw-space-x-reverse));
    margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
  }
  .space-x-4 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(1rem * var(--tw-space-x-reverse));
    margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
  }
  .space-y-2 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
  }
  .space-y-3 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
  }
  .space-y-5 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
  }
  .space-y-6 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .overflow-x-hidden {
    overflow-x: hidden;
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .break-words {
    overflow-wrap: break-word;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-2xl {
    border-radius: 1rem;
  }
  .rounded-\[14px\] {
    border-radius: 14px;
  }
  .rounded-\[24px\] {
    border-radius: 24px;
  }
  .rounded-\[28px\] {
    border-radius: 28px;
  }
  .rounded-\[inherit\] {
    border-radius: inherit;
  }
  .rounded-full {
    border-radius: 9999px;
  }
  .rounded-lg {
    border-radius: 18px;
  }
  .rounded-md {
    border-radius: 11px;
  }
  .rounded-sm {
    border-radius: 8px;
  }
  .rounded-xl {
    border-radius: 0.75rem;
  }
  .rounded-t-3xl {
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
  }
  .rounded-t-\[28px\] {
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
  }
  .rounded-bl-full {
    border-bottom-left-radius: 9999px;
  }
  .border {
    border-width: 1px;
  }
  .border-2 {
    border-width: 2px;
  }
  .border-b {
    border-bottom-width: 1px;
  }
  .border-l {
    border-left-width: 1px;
  }
  .border-r {
    border-right-width: 1px;
  }
  .border-t {
    border-top-width: 1px;
  }
  .border-none {
    border-style: none;
  }
  .border-blue-500 {
    --tw-border-opacity: 1;
    border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
  }
  .border-border {
    --tw-border-opacity: 1;
    border-color: hsl(var(--border) / var(--tw-border-opacity, 1));
  }
  .border-gray-100 {
    --tw-border-opacity: 1;
    border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
  }
  .border-gray-100\/80 {
    border-color: rgb(243 244 246 / 0.8);
  }
  .border-input {
    --tw-border-opacity: 1;
    border-color: hsl(var(--input) / var(--tw-border-opacity, 1));
  }
  .border-on-primary\/20 {
    border-color: rgb(255 255 255 / 0.2);
  }
  .border-on-primary\/30 {
    border-color: rgb(255 255 255 / 0.3);
  }
  .border-orange-100 {
    --tw-border-opacity: 1;
    border-color: rgb(255 237 213 / var(--tw-border-opacity, 1));
  }
  .border-orange-200 {
    --tw-border-opacity: 1;
    border-color: rgb(254 215 170 / var(--tw-border-opacity, 1));
  }
  .border-orange-300 {
    --tw-border-opacity: 1;
    border-color: rgb(253 186 116 / var(--tw-border-opacity, 1));
  }
  .border-outline-variant {
    --tw-border-opacity: 1;
    border-color: rgb(194 198 214 / var(--tw-border-opacity, 1));
  }
  .border-outline-variant\/10 {
    border-color: rgb(194 198 214 / 0.1);
  }
  .border-outline-variant\/20 {
    border-color: rgb(194 198 214 / 0.2);
  }
  .border-outline-variant\/30 {
    border-color: rgb(194 198 214 / 0.3);
  }
  .border-outline-variant\/50 {
    border-color: rgb(194 198 214 / 0.5);
  }
  .border-primary\/10 {
    border-color: hsl(var(--primary) / 0.1);
  }
  .border-primary\/20 {
    border-color: hsl(var(--primary) / 0.2);
  }
  .border-surface-container-highest {
    --tw-border-opacity: 1;
    border-color: rgb(223 227 231 / var(--tw-border-opacity, 1));
  }
  .border-surface-variant {
    --tw-border-opacity: 1;
    border-color: rgb(223 227 231 / var(--tw-border-opacity, 1));
  }
  .border-transparent {
    border-color: transparent;
  }
  .border-l-transparent {
    border-left-color: transparent;
  }
  .border-t-transparent {
    border-top-color: transparent;
  }
  .bg-\[\#f0f4f8\] {
    --tw-bg-opacity: 1;
    background-color: rgb(240 244 248 / var(--tw-bg-opacity, 1));
  }
  .bg-\[\#f0f4f8\]\/90 {
    background-color: rgb(240 244 248 / 0.9);
  }
  .bg-amber-300\/20 {
    background-color: rgb(252 211 77 / 0.2);
  }
  .bg-amber-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(255 251 235 / var(--tw-bg-opacity, 1));
  }
  .bg-background {
    --tw-bg-opacity: 1;
    background-color: hsl(var(--background) / var(--tw-bg-opacity, 1));
  }
  .bg-black\/10 {
    background-color: rgb(0 0 0 / 0.1);
  }
  .bg-black\/30 {
    background-color: rgb(0 0 0 / 0.3);
  }
  .bg-black\/35 {
    background-color: rgb(0 0 0 / 0.35);
  }
  .bg-black\/40 {
    background-color: rgb(0 0 0 / 0.4);
  }
  .bg-black\/5 {
    background-color: rgb(0 0 0 / 0.05);
  }
  .bg-black\/80 {
    background-color: rgb(0 0 0 / 0.8);
  }
  .bg-blue-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
  }
  .bg-blue-300\/20 {
    background-color: rgb(147 197 253 / 0.2);
  }
  .bg-blue-400 {
    --tw-bg-opacity: 1;
    background-color: rgb(96 165 250 / var(--tw-bg-opacity, 1));
  }
  .bg-blue-400\/20 {
    background-color: rgb(96 165 250 / 0.2);
  }
  .bg-blue-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
  }
  .bg-blue-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
  }
  .bg-blue-600 {
    --tw-bg-opacity: 1;
    background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
  }
  .bg-border {
    --tw-bg-opacity: 1;
    background-color: hsl(var(--border) / var(--tw-bg-opacity, 1));
  }
  .bg-card {
    --tw-bg-opacity: 1;
    background-color: hsl(var(--card) / var(--tw-bg-opacity, 1));
  }
  .bg-cyan-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(236 254 255 / var(--tw-bg-opacity, 1));
  }
  .bg-cyan-600 {
    --tw-bg-opacity: 1;
    background-color: rgb(8 145 178 / var(--tw-bg-opacity, 1));
  }
  .bg-destructive {
    --tw-bg-opacity: 1;
    background-color: hsl(var(--destructive) / var(--tw-bg-opacity, 1));
  }
  .bg-emerald-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(236 253 245 / var(--tw-bg-opacity, 1));
  }
  .bg-emerald-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
  }
  .bg-emerald-600 {
    --tw-bg-opacity: 1;
    background-color: rgb(5 150 105 / var(--tw-bg-opacity, 1));
  }
  .bg-error-container {
    --tw-bg-opacity: 1;
    background-color: rgb(255 218 214 / var(--tw-bg-opacity, 1));
  }
  .bg-error-container\/60 {
    background-color: rgb(255 218 214 / 0.6);
  }
  .bg-error\/10 {
    background-color: rgb(186 26 26 / 0.1);
  }
  .bg-gray-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
  }
  .bg-gray-300 {
    --tw-bg-opacity: 1;
    background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
  }
  .bg-gray-400 {
    --tw-bg-opacity: 1;
    background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
  }
  .bg-gray-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
  }
  .bg-green-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(240 253 244 / var(--tw-bg-opacity, 1));
  }
  .bg-green-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
  }
  .bg-green-600 {
    --tw-bg-opacity: 1;
    background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
  }
  .bg-indigo-300\/20 {
    background-color: rgb(165 180 252 / 0.2);
  }
  .bg-indigo-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(238 242 255 / var(--tw-bg-opacity, 1));
  }
  .bg-indigo-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(99 102 241 / var(--tw-bg-opacity, 1));
  }
  .bg-indigo-600 {
    --tw-bg-opacity: 1;
    background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1));
  }
  .bg-lime-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(247 254 231 / var(--tw-bg-opacity, 1));
  }
  .bg-muted {
    --tw-bg-opacity: 1;
    background-color: hsl(var(--muted) / var(--tw-bg-opacity, 1));
  }
  .bg-on-primary\/20 {
    background-color: rgb(255 255 255 / 0.2);
  }
  .bg-orange-400 {
    --tw-bg-opacity: 1;
    background-color: rgb(251 146 60 / var(--tw-bg-opacity, 1));
  }
  .bg-orange-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(255 247 237 / var(--tw-bg-opacity, 1));
  }
  .bg-orange-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(249 115 22 / var(--tw-bg-opacity, 1));
  }
  .bg-orange-600 {
    --tw-bg-opacity: 1;
    background-color: rgb(234 88 12 / var(--tw-bg-opacity, 1));
  }
  .bg-pink-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(253 242 248 / var(--tw-bg-opacity, 1));
  }
  .bg-pink-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(236 72 153 / var(--tw-bg-opacity, 1));
  }
  .bg-popover {
    --tw-bg-opacity: 1;
    background-color: hsl(var(--popover) / var(--tw-bg-opacity, 1));
  }
  .bg-primary {
    --tw-bg-opacity: 1;
    background-color: hsl(var(--primary) / var(--tw-bg-opacity, 1));
  }
  .bg-primary-container {
    --tw-bg-opacity: 1;
    background-color: rgb(33 112 228 / var(--tw-bg-opacity, 1));
  }
  .bg-primary-container\/10 {
    background-color: rgb(33 112 228 / 0.1);
  }
  .bg-primary-container\/20 {
    background-color: rgb(33 112 228 / 0.2);
  }
  .bg-primary-fixed {
    --tw-bg-opacity: 1;
    background-color: rgb(216 226 255 / var(--tw-bg-opacity, 1));
  }
  .bg-primary\/10 {
    background-color: hsl(var(--primary) / 0.1);
  }
  .bg-purple-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(250 245 255 / var(--tw-bg-opacity, 1));
  }
  .bg-purple-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(168 85 247 / var(--tw-bg-opacity, 1));
  }
  .bg-red-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
  }
  .bg-red-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
  }
  .bg-secondary {
    --tw-bg-opacity: 1;
    background-color: hsl(var(--secondary) / var(--tw-bg-opacity, 1));
  }
  .bg-sky-400 {
    --tw-bg-opacity: 1;
    background-color: rgb(56 189 248 / var(--tw-bg-opacity, 1));
  }
  .bg-sky-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(240 249 255 / var(--tw-bg-opacity, 1));
  }
  .bg-sky-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(14 165 233 / var(--tw-bg-opacity, 1));
  }
  .bg-slate-400\/20 {
    background-color: rgb(148 163 184 / 0.2);
  }
  .bg-stone-400\/20 {
    background-color: rgb(168 162 158 / 0.2);
  }
  .bg-success-teal\/10 {
    background-color: rgb(20 184 166 / 0.1);
  }
  .bg-surface {
    --tw-bg-opacity: 1;
    background-color: rgb(246 250 254 / var(--tw-bg-opacity, 1));
  }
  .bg-surface-container {
    --tw-bg-opacity: 1;
    background-color: rgb(234 238 242 / var(--tw-bg-opacity, 1));
  }
  .bg-surface-container-high {
    --tw-bg-opacity: 1;
    background-color: rgb(228 233 237 / var(--tw-bg-opacity, 1));
  }
  .bg-surface-container-low {
    --tw-bg-opacity: 1;
    background-color: rgb(240 244 248 / var(--tw-bg-opacity, 1));
  }
  .bg-surface-container-lowest {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  }
  .bg-surface\/90 {
    background-color: rgb(246 250 254 / 0.9);
  }
  .bg-teal-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(240 253 250 / var(--tw-bg-opacity, 1));
  }
  .bg-teal-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(20 184 166 / var(--tw-bg-opacity, 1));
  }
  .bg-teal-600 {
    --tw-bg-opacity: 1;
    background-color: rgb(13 148 136 / var(--tw-bg-opacity, 1));
  }
  .bg-transparent {
    background-color: transparent;
  }
  .bg-violet-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(245 243 255 / var(--tw-bg-opacity, 1));
  }
  .bg-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  }
  .bg-white\/60 {
    background-color: rgb(255 255 255 / 0.6);
  }
  .bg-yellow-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(254 252 232 / var(--tw-bg-opacity, 1));
  }
  .bg-yellow-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(234 179 8 / var(--tw-bg-opacity, 1));
  }
  .bg-zinc-500\/20 {
    background-color: rgb(113 113 122 / 0.2);
  }
  .bg-opacity-50 {
    --tw-bg-opacity: 0.5;
  }
  .bg-gradient-to-bl {
    background-image: linear-gradient(to bottom left, var(--tw-gradient-stops));
  }
  .bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
  }
  .bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
  }
  .from-accent-gradient-start {
    --tw-gradient-from: #5b86e5 var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(91 134 229 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  }
  .from-blue-50 {
    --tw-gradient-from: #eff6ff var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  }
  .from-blue-500 {
    --tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  }
  .from-cyan-50 {
    --tw-gradient-from: #ecfeff var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(236 254 255 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  }
  .from-gray-200 {
    --tw-gradient-from: #e5e7eb var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(229 231 235 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  }
  .from-orange-50 {
    --tw-gradient-from: #fff7ed var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(255 247 237 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  }
  .from-sky-50 {
    --tw-gradient-from: #f0f9ff var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(240 249 255 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  }
  .from-slate-100 {
    --tw-gradient-from: #f1f5f9 var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(241 245 249 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  }
  .from-stone-100 {
    --tw-gradient-from: #f5f5f4 var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(245 245 244 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  }
  .from-success-teal\/10 {
    --tw-gradient-from: rgb(20 184 166 / 0.1) var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(20 184 166 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  }
  .to-accent-gradient-end {
    --tw-gradient-to: #36d1dc var(--tw-gradient-to-position);
  }
  .to-amber-100 {
    --tw-gradient-to: #fef3c7 var(--tw-gradient-to-position);
  }
  .to-blue-100 {
    --tw-gradient-to: #dbeafe var(--tw-gradient-to-position);
  }
  .to-blue-400 {
    --tw-gradient-to: #60a5fa var(--tw-gradient-to-position);
  }
  .to-indigo-100 {
    --tw-gradient-to: #e0e7ff var(--tw-gradient-to-position);
  }
  .to-indigo-50 {
    --tw-gradient-to: #eef2ff var(--tw-gradient-to-position);
  }
  .to-slate-200 {
    --tw-gradient-to: #e2e8f0 var(--tw-gradient-to-position);
  }
  .to-stone-200 {
    --tw-gradient-to: #e7e5e4 var(--tw-gradient-to-position);
  }
  .to-transparent {
    --tw-gradient-to: transparent var(--tw-gradient-to-position);
  }
  .to-zinc-300 {
    --tw-gradient-to: #d4d4d8 var(--tw-gradient-to-position);
  }
  .fill-current {
    fill: currentColor;
  }
  .object-cover {
    -o-object-fit: cover;
       object-fit: cover;
  }
  .p-0\.5 {
    padding: 0.125rem;
  }
  .p-1 {
    padding: 0.25rem;
  }
  .p-2 {
    padding: 0.5rem;
  }
  .p-3 {
    padding: 0.75rem;
  }
  .p-4 {
    padding: 1rem;
  }
  .p-5 {
    padding: 1.25rem;
  }
  .p-6 {
    padding: 1.5rem;
  }
  .p-8 {
    padding: 2rem;
  }
  .p-px {
    padding: 1px;
  }
  .px-1 {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  .px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .px-2\.5 {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }
  .px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .py-0\.5 {
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
  }
  .py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
  .py-1\.5 {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
  }
  .py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .py-2\.5 {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
  }
  .py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .pb-1 {
    padding-bottom: 0.25rem;
  }
  .pb-2 {
    padding-bottom: 0.5rem;
  }
  .pb-20 {
    padding-bottom: 5rem;
  }
  .pb-24 {
    padding-bottom: 6rem;
  }
  .pb-3 {
    padding-bottom: 0.75rem;
  }
  .pb-4 {
    padding-bottom: 1rem;
  }
  .pb-5 {
    padding-bottom: 1.25rem;
  }
  .pb-6 {
    padding-bottom: 1.5rem;
  }
  .pb-\[100px\] {
    padding-bottom: 100px;
  }
  .pl-1 {
    padding-left: 0.25rem;
  }
  .pl-4 {
    padding-left: 1rem;
  }
  .pl-8 {
    padding-left: 2rem;
  }
  .pl-9 {
    padding-left: 2.25rem;
  }
  .pr-1 {
    padding-right: 0.25rem;
  }
  .pr-10 {
    padding-right: 2.5rem;
  }
  .pr-2 {
    padding-right: 0.5rem;
  }
  .pr-20 {
    padding-right: 5rem;
  }
  .pr-3 {
    padding-right: 0.75rem;
  }
  .pr-4 {
    padding-right: 1rem;
  }
  .pr-6 {
    padding-right: 1.5rem;
  }
  .pr-8 {
    padding-right: 2rem;
  }
  .pr-9 {
    padding-right: 2.25rem;
  }
  .pt-0 {
    padding-top: 0px;
  }
  .pt-1 {
    padding-top: 0.25rem;
  }
  .pt-2 {
    padding-top: 0.5rem;
  }
  .pt-3 {
    padding-top: 0.75rem;
  }
  .pt-4 {
    padding-top: 1rem;
  }
  .pt-5 {
    padding-top: 1.25rem;
  }
  .text-left {
    text-align: left;
  }
  .text-center {
    text-align: center;
  }
  .text-right {
    text-align: right;
  }
  .text-start {
    text-align: start;
  }
  .font-display {
    font-family: SF Pro Display, system-ui, -apple-system, Inter, sans-serif;
  }
  .text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  .text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }
  .text-9xl {
    font-size: 8rem;
    line-height: 1;
  }
  .text-\[10px\] {
    font-size: 10px;
  }
  .text-\[11px\] {
    font-size: 11px;
  }
  .text-\[12px\] {
    font-size: 12px;
  }
  .text-\[14px\] {
    font-size: 14px;
  }
  .text-\[16px\] {
    font-size: 16px;
  }
  .text-\[18px\] {
    font-size: 18px;
  }
  .text-\[20px\] {
    font-size: 20px;
  }
  .text-\[8px\] {
    font-size: 8px;
  }
  .text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
  }
  .font-bold {
    font-weight: 700;
  }
  .font-extralight {
    font-weight: 200;
  }
  .font-medium {
    font-weight: 500;
  }
  .font-normal {
    font-weight: 400;
  }
  .font-semibold {
    font-weight: 600;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .leading-none {
    line-height: 1;
  }
  .leading-relaxed {
    line-height: 1.625;
  }
  .leading-snug {
    line-height: 1.375;
  }
  .leading-tight {
    line-height: 1.25;
  }
  .tracking-tight {
    letter-spacing: -0.025em;
  }
  .tracking-wide {
    letter-spacing: 0.025em;
  }
  .tracking-widest {
    letter-spacing: 0.1em;
  }
  .text-amber-500 {
    --tw-text-opacity: 1;
    color: rgb(245 158 11 / var(--tw-text-opacity, 1));
  }
  .text-amber-600 {
    --tw-text-opacity: 1;
    color: rgb(217 119 6 / var(--tw-text-opacity, 1));
  }
  .text-amber-800 {
    --tw-text-opacity: 1;
    color: rgb(146 64 14 / var(--tw-text-opacity, 1));
  }
  .text-amber-900 {
    --tw-text-opacity: 1;
    color: rgb(120 53 15 / var(--tw-text-opacity, 1));
  }
  .text-blue-500 {
    --tw-text-opacity: 1;
    color: rgb(59 130 246 / var(--tw-text-opacity, 1));
  }
  .text-blue-600 {
    --tw-text-opacity: 1;
    color: rgb(37 99 235 / var(--tw-text-opacity, 1));
  }
  .text-blue-800 {
    --tw-text-opacity: 1;
    color: rgb(30 64 175 / var(--tw-text-opacity, 1));
  }
  .text-blue-900 {
    --tw-text-opacity: 1;
    color: rgb(30 58 138 / var(--tw-text-opacity, 1));
  }
  .text-card-foreground {
    --tw-text-opacity: 1;
    color: hsl(var(--card-foreground) / var(--tw-text-opacity, 1));
  }
  .text-cyan-500 {
    --tw-text-opacity: 1;
    color: rgb(6 182 212 / var(--tw-text-opacity, 1));
  }
  .text-cyan-600 {
    --tw-text-opacity: 1;
    color: rgb(8 145 178 / var(--tw-text-opacity, 1));
  }
  .text-destructive-foreground {
    --tw-text-opacity: 1;
    color: hsl(var(--destructive-foreground) / var(--tw-text-opacity, 1));
  }
  .text-emerald-500 {
    --tw-text-opacity: 1;
    color: rgb(16 185 129 / var(--tw-text-opacity, 1));
  }
  .text-emerald-600 {
    --tw-text-opacity: 1;
    color: rgb(5 150 105 / var(--tw-text-opacity, 1));
  }
  .text-error {
    --tw-text-opacity: 1;
    color: rgb(186 26 26 / var(--tw-text-opacity, 1));
  }
  .text-foreground {
    --tw-text-opacity: 1;
    color: hsl(var(--foreground) / var(--tw-text-opacity, 1));
  }
  .text-gray-300 {
    --tw-text-opacity: 1;
    color: rgb(209 213 219 / var(--tw-text-opacity, 1));
  }
  .text-gray-400 {
    --tw-text-opacity: 1;
    color: rgb(156 163 175 / var(--tw-text-opacity, 1));
  }
  .text-gray-500 {
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity, 1));
  }
  .text-gray-600 {
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
  }
  .text-gray-700 {
    --tw-text-opacity: 1;
    color: rgb(55 65 81 / var(--tw-text-opacity, 1));
  }
  .text-gray-800 {
    --tw-text-opacity: 1;
    color: rgb(31 41 55 / var(--tw-text-opacity, 1));
  }
  .text-gray-900 {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity, 1));
  }
  .text-green-500 {
    --tw-text-opacity: 1;
    color: rgb(34 197 94 / var(--tw-text-opacity, 1));
  }
  .text-green-600 {
    --tw-text-opacity: 1;
    color: rgb(22 163 74 / var(--tw-text-opacity, 1));
  }
  .text-indigo-500 {
    --tw-text-opacity: 1;
    color: rgb(99 102 241 / var(--tw-text-opacity, 1));
  }
  .text-indigo-600 {
    --tw-text-opacity: 1;
    color: rgb(79 70 229 / var(--tw-text-opacity, 1));
  }
  .text-indigo-800 {
    --tw-text-opacity: 1;
    color: rgb(55 48 163 / var(--tw-text-opacity, 1));
  }
  .text-indigo-900 {
    --tw-text-opacity: 1;
    color: rgb(49 46 129 / var(--tw-text-opacity, 1));
  }
  .text-info-sky {
    --tw-text-opacity: 1;
    color: rgb(56 189 248 / var(--tw-text-opacity, 1));
  }
  .text-input {
    --tw-text-opacity: 1;
    color: hsl(var(--input) / var(--tw-text-opacity, 1));
  }
  .text-lime-600 {
    --tw-text-opacity: 1;
    color: rgb(101 163 13 / var(--tw-text-opacity, 1));
  }
  .text-muted-foreground {
    --tw-text-opacity: 1;
    color: hsl(var(--muted-foreground) / var(--tw-text-opacity, 1));
  }
  .text-on-error-container {
    --tw-text-opacity: 1;
    color: rgb(147 0 10 / var(--tw-text-opacity, 1));
  }
  .text-on-primary {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }
  .text-on-primary-container {
    --tw-text-opacity: 1;
    color: rgb(254 252 255 / var(--tw-text-opacity, 1));
  }
  .text-on-primary-container\/80 {
    color: rgb(254 252 255 / 0.8);
  }
  .text-on-primary-fixed {
    --tw-text-opacity: 1;
    color: rgb(0 26 66 / var(--tw-text-opacity, 1));
  }
  .text-on-primary\/70 {
    color: rgb(255 255 255 / 0.7);
  }
  .text-on-primary\/80 {
    color: rgb(255 255 255 / 0.8);
  }
  .text-on-surface {
    --tw-text-opacity: 1;
    color: rgb(23 28 31 / var(--tw-text-opacity, 1));
  }
  .text-on-surface-variant {
    --tw-text-opacity: 1;
    color: rgb(66 71 84 / var(--tw-text-opacity, 1));
  }
  .text-orange-400 {
    --tw-text-opacity: 1;
    color: rgb(251 146 60 / var(--tw-text-opacity, 1));
  }
  .text-orange-500 {
    --tw-text-opacity: 1;
    color: rgb(249 115 22 / var(--tw-text-opacity, 1));
  }
  .text-orange-700 {
    --tw-text-opacity: 1;
    color: rgb(194 65 12 / var(--tw-text-opacity, 1));
  }
  .text-orange-800 {
    --tw-text-opacity: 1;
    color: rgb(154 52 18 / var(--tw-text-opacity, 1));
  }
  .text-orange-900\/80 {
    color: rgb(124 45 18 / 0.8);
  }
  .text-outline {
    --tw-text-opacity: 1;
    color: rgb(114 119 133 / var(--tw-text-opacity, 1));
  }
  .text-pink-500 {
    --tw-text-opacity: 1;
    color: rgb(236 72 153 / var(--tw-text-opacity, 1));
  }
  .text-popover-foreground {
    --tw-text-opacity: 1;
    color: hsl(var(--popover-foreground) / var(--tw-text-opacity, 1));
  }
  .text-primary {
    --tw-text-opacity: 1;
    color: hsl(var(--primary) / var(--tw-text-opacity, 1));
  }
  .text-purple-500 {
    --tw-text-opacity: 1;
    color: rgb(168 85 247 / var(--tw-text-opacity, 1));
  }
  .text-red-400 {
    --tw-text-opacity: 1;
    color: rgb(248 113 113 / var(--tw-text-opacity, 1));
  }
  .text-red-500 {
    --tw-text-opacity: 1;
    color: rgb(239 68 68 / var(--tw-text-opacity, 1));
  }
  .text-secondary {
    --tw-text-opacity: 1;
    color: hsl(var(--secondary) / var(--tw-text-opacity, 1));
  }
  .text-sky-500 {
    --tw-text-opacity: 1;
    color: rgb(14 165 233 / var(--tw-text-opacity, 1));
  }
  .text-sky-600 {
    --tw-text-opacity: 1;
    color: rgb(2 132 199 / var(--tw-text-opacity, 1));
  }
  .text-slate-600 {
    --tw-text-opacity: 1;
    color: rgb(71 85 105 / var(--tw-text-opacity, 1));
  }
  .text-slate-700 {
    --tw-text-opacity: 1;
    color: rgb(51 65 85 / var(--tw-text-opacity, 1));
  }
  .text-slate-800 {
    --tw-text-opacity: 1;
    color: rgb(30 41 59 / var(--tw-text-opacity, 1));
  }
  .text-stone-600 {
    --tw-text-opacity: 1;
    color: rgb(87 83 78 / var(--tw-text-opacity, 1));
  }
  .text-stone-700 {
    --tw-text-opacity: 1;
    color: rgb(68 64 60 / var(--tw-text-opacity, 1));
  }
  .text-stone-800 {
    --tw-text-opacity: 1;
    color: rgb(41 37 36 / var(--tw-text-opacity, 1));
  }
  .text-success-teal {
    --tw-text-opacity: 1;
    color: rgb(20 184 166 / var(--tw-text-opacity, 1));
  }
  .text-teal-500 {
    --tw-text-opacity: 1;
    color: rgb(20 184 166 / var(--tw-text-opacity, 1));
  }
  .text-teal-600 {
    --tw-text-opacity: 1;
    color: rgb(13 148 136 / var(--tw-text-opacity, 1));
  }
  .text-violet-500 {
    --tw-text-opacity: 1;
    color: rgb(139 92 246 / var(--tw-text-opacity, 1));
  }
  .text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }
  .text-yellow-500 {
    --tw-text-opacity: 1;
    color: rgb(234 179 8 / var(--tw-text-opacity, 1));
  }
  .text-zinc-700 {
    --tw-text-opacity: 1;
    color: rgb(63 63 70 / var(--tw-text-opacity, 1));
  }
  .text-zinc-800 {
    --tw-text-opacity: 1;
    color: rgb(39 39 42 / var(--tw-text-opacity, 1));
  }
  .text-zinc-900 {
    --tw-text-opacity: 1;
    color: rgb(24 24 27 / var(--tw-text-opacity, 1));
  }
  .underline {
    text-decoration-line: underline;
  }
  .line-through {
    text-decoration-line: line-through;
  }
  .decoration-outline-variant {
    text-decoration-color: #c2c6d6;
  }
  .underline-offset-4 {
    text-underline-offset: 4px;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .opacity-0 {
    opacity: 0;
  }
  .opacity-10 {
    opacity: 0.1;
  }
  .opacity-100 {
    opacity: 1;
  }
  .opacity-30 {
    opacity: 0.3;
  }
  .opacity-50 {
    opacity: 0.5;
  }
  .opacity-60 {
    opacity: 0.6;
  }
  .opacity-70 {
    opacity: 0.7;
  }
  .opacity-80 {
    opacity: 0.8;
  }
  .opacity-90 {
    opacity: 0.9;
  }
  .opacity-\[0\.12\] {
    opacity: 0.12;
  }
  .opacity-\[0\.15\] {
    opacity: 0.15;
  }
  .mix-blend-overlay {
    mix-blend-mode: overlay;
  }
  .shadow-2xl {
    --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
  .shadow-\[0_10px_20px_rgba\(54\2c 209\2c 220\2c 0\.3\)\] {
    --tw-shadow: 0 10px 20px rgba(54,209,220,0.3);
    --tw-shadow-colored: 0 10px 20px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
  .shadow-\[0_4px_15px_rgba\(0\2c 0\2c 0\2c 0\.03\)\] {
    --tw-shadow: 0 4px 15px rgba(0,0,0,0.03);
    --tw-shadow-colored: 0 4px 15px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
  .shadow-\[0_4px_15px_rgba\(33\2c 112\2c 228\2c 0\.15\)\] {
    --tw-shadow: 0 4px 15px rgba(33,112,228,0.15);
    --tw-shadow-colored: 0 4px 15px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
  .shadow-md {
    --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
  .shadow-sm {
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
  .shadow-primary\/20 {
    --tw-shadow-color: hsl(var(--primary) / 0.2);
    --tw-shadow: var(--tw-shadow-colored);
  }
  .outline-none {
    outline: 2px solid transparent;
    outline-offset: 2px;
  }
  .outline {
    outline-style: solid;
  }
  .ring {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  }
  .ring-offset-background {
    --tw-ring-offset-color: hsl(var(--background) / 1);
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
  .blur-2xl {
    --tw-blur: blur(40px);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
  .blur-3xl {
    --tw-blur: blur(64px);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
  .drop-shadow {
    --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
  .filter {
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
  .backdrop-blur {
    --tw-backdrop-blur: blur(8px);
    backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  }
  .backdrop-blur-md {
    --tw-backdrop-blur: blur(12px);
    backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  }
  .backdrop-blur-sm {
    --tw-backdrop-blur: blur(4px);
    backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  }
  .backdrop-filter {
    backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  }
  .transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  .transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  .transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  .transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  .duration-200 {
    transition-duration: 200ms;
  }
  .ease-in {
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
  }
  .ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
  .ease-out {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* Safe area insets for mobile platforms (Capacitor iOS/Android) */
@supports (padding-top: env(safe-area-inset-top, 0px)) {
  .safe-area-top { padding-top: env(safe-area-inset-top, 0px); }
  .safe-area-bottom { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .safe-area-left { padding-left: env(safe-area-inset-left, 0px); }
  .safe-area-right { padding-right: env(safe-area-inset-right, 0px); }
  .safe-area-inset {
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
}

/* shadcn-vue theme variables */

.file\:border-0::file-selector-button {
  border-width: 0px;
}

.file\:bg-transparent::file-selector-button {
  background-color: transparent;
}

.file\:text-sm::file-selector-button {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.file\:font-medium::file-selector-button {
  font-weight: 500;
}

.file\:text-foreground::file-selector-button {
  --tw-text-opacity: 1;
  color: hsl(var(--foreground) / var(--tw-text-opacity, 1));
}

.placeholder\:text-muted-foreground::-moz-placeholder {
  --tw-text-opacity: 1;
  color: hsl(var(--muted-foreground) / var(--tw-text-opacity, 1));
}

.placeholder\:text-muted-foreground::placeholder {
  --tw-text-opacity: 1;
  color: hsl(var(--muted-foreground) / var(--tw-text-opacity, 1));
}

.hover\:-translate-y-0\.5:hover {
  --tw-translate-y: -0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:bg-accent:hover {
  --tw-bg-opacity: 1;
  background-color: hsl(var(--accent) / var(--tw-bg-opacity, 1));
}

.hover\:bg-blue-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}

.hover\:bg-blue-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}

.hover\:bg-destructive\/80:hover {
  background-color: hsl(var(--destructive) / 0.8);
}

.hover\:bg-destructive\/90:hover {
  background-color: hsl(var(--destructive) / 0.9);
}

.hover\:bg-gray-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.hover\:bg-primary\/80:hover {
  background-color: hsl(var(--primary) / 0.8);
}

.hover\:bg-primary\/90:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.hover\:bg-secondary:hover {
  --tw-bg-opacity: 1;
  background-color: hsl(var(--secondary) / var(--tw-bg-opacity, 1));
}

.hover\:bg-secondary\/80:hover {
  background-color: hsl(var(--secondary) / 0.8);
}

.hover\:text-accent-foreground:hover {
  --tw-text-opacity: 1;
  color: hsl(var(--accent-foreground) / var(--tw-text-opacity, 1));
}

.hover\:text-blue-500:hover {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}

.hover\:text-gray-600:hover {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.hover\:text-gray-700:hover {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.hover\:text-orange-900:hover {
  --tw-text-opacity: 1;
  color: rgb(124 45 18 / var(--tw-text-opacity, 1));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.hover\:shadow-md:hover {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.focus\:bg-accent:focus {
  --tw-bg-opacity: 1;
  background-color: hsl(var(--accent) / var(--tw-bg-opacity, 1));
}

.focus\:text-accent-foreground:focus {
  --tw-text-opacity: 1;
  color: hsl(var(--accent-foreground) / var(--tw-text-opacity, 1));
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-1:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-blue-100:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(219 234 254 / var(--tw-ring-opacity, 1));
}

.focus\:ring-blue-300:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity, 1));
}

.focus\:ring-primary:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: hsl(var(--primary) / var(--tw-ring-opacity, 1));
}

.focus\:ring-ring:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: hsl(var(--ring) / var(--tw-ring-opacity, 1));
}

.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}

.focus-visible\:outline-none:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus-visible\:ring-2:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus-visible\:ring-ring:focus-visible {
  --tw-ring-opacity: 1;
  --tw-ring-color: hsl(var(--ring) / var(--tw-ring-opacity, 1));
}

.focus-visible\:ring-offset-2:focus-visible {
  --tw-ring-offset-width: 2px;
}

.active\:scale-95:active {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.active\:bg-surface-container-highest:active {
  --tw-bg-opacity: 1;
  background-color: rgb(223 227 231 / var(--tw-bg-opacity, 1));
}

.active\:opacity-80:active {
  opacity: 0.8;
}

.active\:opacity-90:active {
  opacity: 0.9;
}

.disabled\:pointer-events-none:disabled {
  pointer-events: none;
}

.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

.disabled\:opacity-60:disabled {
  opacity: 0.6;
}

.group:hover .group-hover\:scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group.toaster .group-\[\.toaster\]\:border-border {
  --tw-border-opacity: 1;
  border-color: hsl(var(--border) / var(--tw-border-opacity, 1));
}

.group.toast .group-\[\.toast\]\:bg-muted {
  --tw-bg-opacity: 1;
  background-color: hsl(var(--muted) / var(--tw-bg-opacity, 1));
}

.group.toast .group-\[\.toast\]\:bg-primary {
  --tw-bg-opacity: 1;
  background-color: hsl(var(--primary) / var(--tw-bg-opacity, 1));
}

.group.toaster .group-\[\.toaster\]\:bg-background {
  --tw-bg-opacity: 1;
  background-color: hsl(var(--background) / var(--tw-bg-opacity, 1));
}

.group.toast .group-\[\.toast\]\:text-muted-foreground {
  --tw-text-opacity: 1;
  color: hsl(var(--muted-foreground) / var(--tw-text-opacity, 1));
}

.group.toaster .group-\[\.toaster\]\:text-foreground {
  --tw-text-opacity: 1;
  color: hsl(var(--foreground) / var(--tw-text-opacity, 1));
}

.group.toaster .group-\[\.toaster\]\:shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.data-\[disabled\]\:pointer-events-none[data-disabled] {
  pointer-events: none;
}

.data-\[side\=bottom\]\:translate-y-1[data-side="bottom"] {
  --tw-translate-y: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[side\=left\]\:-translate-x-1[data-side="left"] {
  --tw-translate-x: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[side\=right\]\:translate-x-1[data-side="right"] {
  --tw-translate-x: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[side\=top\]\:-translate-y-1[data-side="top"] {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[state\=active\]\:bg-background[data-state="active"] {
  --tw-bg-opacity: 1;
  background-color: hsl(var(--background) / var(--tw-bg-opacity, 1));
}

.data-\[state\=open\]\:bg-accent[data-state="open"] {
  --tw-bg-opacity: 1;
  background-color: hsl(var(--accent) / var(--tw-bg-opacity, 1));
}

.data-\[state\=open\]\:bg-secondary[data-state="open"] {
  --tw-bg-opacity: 1;
  background-color: hsl(var(--secondary) / var(--tw-bg-opacity, 1));
}

.data-\[placeholder\]\:text-muted-foreground[data-placeholder] {
  --tw-text-opacity: 1;
  color: hsl(var(--muted-foreground) / var(--tw-text-opacity, 1));
}

.data-\[state\=active\]\:text-foreground[data-state="active"] {
  --tw-text-opacity: 1;
  color: hsl(var(--foreground) / var(--tw-text-opacity, 1));
}

.data-\[state\=open\]\:text-muted-foreground[data-state="open"] {
  --tw-text-opacity: 1;
  color: hsl(var(--muted-foreground) / var(--tw-text-opacity, 1));
}

.data-\[disabled\]\:opacity-50[data-disabled] {
  opacity: 0.5;
}

.data-\[state\=active\]\:shadow-sm[data-state="active"] {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.data-\[state\=closed\]\:duration-300[data-state="closed"] {
  transition-duration: 300ms;
}

.data-\[state\=open\]\:duration-500[data-state="open"] {
  transition-duration: 500ms;
}

@media (min-width: 640px) {
  .sm\:max-w-sm {
    max-width: 24rem;
  }
  .sm\:flex-row {
    flex-direction: row;
  }
  .sm\:justify-end {
    justify-content: flex-end;
  }
  .sm\:gap-x-2 {
    -moz-column-gap: 0.5rem;
         column-gap: 0.5rem;
  }
  .sm\:rounded-lg {
    border-radius: 18px;
  }
  .sm\:text-left {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .md\:w-full {
    width: 100%;
  }
}

.\[\&\>span\]\:truncate>span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.\[\&\>svg\]\:size-4>svg {
  width: 1rem;
  height: 1rem;
}

.\[\&\>svg\]\:shrink-0>svg {
  flex-shrink: 0;
}

.\[\&_svg\]\:pointer-events-none svg {
  pointer-events: none;
}

.\[\&_svg\]\:size-4 svg {
  width: 1rem;
  height: 1rem;
}

.\[\&_svg\]\:shrink-0 svg {
  flex-shrink: 0;
}
/* ═══════════════════════════════════════════════════════════════
   Global Dark Mode Overrides (class-based: html.dark)
   覆盖所有页面的背景、文字、卡片、边框等颜色
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS 变量覆盖 ─── */
html.dark {
  --ui-surface: rgba(30, 41, 59, 0.85);
  --ui-text: #e2e8f0;
  --ui-muted: #94a3b8;
  --ui-primary: #60a5fa;
  --ui-bg-gradient: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  --gray-100: #0f172a;
  --gray-50: #1e293b;
  color-scheme: dark;
  background-color: #0f172a;
  background: #0f172a !important;
}

/* ─── Body 基础 ─── */
html.dark body {
  background: #0f172a !important;
  background-color: #0f172a !important;
  color: #e2e8f0 !important;
  min-width: 100vw !important;
}

html.dark #app {
  background: #0f172a !important;
  background-color: #0f172a !important;
  min-height: 100%;
  min-width: 100vw !important;
}

html.dark .app-shell {
  background: #0f172a !important;
  background-color: #0f172a !important;
  min-width: 100vw !important;
}

/* ─── 首页 Dashboard 特殊背景 ─── */
html.dark .dashboard-root,
html.dark .bg-\[\#f0f4f8\] {
  background-color: #0f172a !important;
}

html.dark .bg-\[\#f0f4f8\]\/90 {
  background-color: rgba(15, 23, 42, 0.9) !important;
}

/* ─── 通用白色背景 → 深色 ─── */
html.dark .bg-white {
  background-color: #1e293b !important;
}

html.dark .bg-gray-50,
html.dark .bg-gray-100 {
  background-color: #334155 !important;
}

/* 快捷入口：保留各模块 Tailwind 浅色底在暗色下的分色映射（勿统一压黑） */
html.dark .quick-entry-editor-panel {
  background-color: #1e293b !important;
  color: #e2e8f0 !important;
}

html.dark .quick-entry-editor-item {
  border-color: transparent !important;
}

html.dark .quick-entry-editor-item:hover,
html.dark .quick-entry-editor-item:active {
  background-color: rgba(148, 163, 184, 0.12) !important;
}

html.dark .quick-entry-editor-item--selected {
  border-color: #3b82f6 !important;
  background-color: rgba(59, 130, 246, 0.18) !important;
}

html.dark .quick-entry-editor-item--selected:hover,
html.dark .quick-entry-editor-item--selected:active {
  background-color: rgba(59, 130, 246, 0.24) !important;
}

html.dark .bg-orange-50 {
  background-color: rgba(249, 115, 22, 0.15) !important;
}

html.dark .bg-green-50 {
  background-color: rgba(34, 197, 94, 0.15) !important;
}

html.dark .bg-red-50 {
  background-color: rgba(239, 68, 68, 0.15) !important;
}

html.dark .bg-yellow-50 {
  background-color: rgba(234, 179, 8, 0.15) !important;
}

html.dark .bg-teal-50 {
  background-color: rgba(20, 184, 166, 0.15) !important;
}

html.dark .bg-indigo-50 {
  background-color: rgba(99, 102, 241, 0.15) !important;
}

html.dark .bg-emerald-50 {
  background-color: rgba(16, 185, 129, 0.15) !important;
}

html.dark .bg-cyan-50 {
  background-color: rgba(6, 182, 212, 0.15) !important;
}

html.dark .bg-pink-50 {
  background-color: rgba(236, 72, 153, 0.15) !important;
}

html.dark .bg-violet-50 {
  background-color: rgba(139, 92, 246, 0.15) !important;
}

html.dark .bg-amber-50 {
  background-color: rgba(245, 158, 11, 0.15) !important;
}

html.dark .bg-sky-50 {
  background-color: rgba(14, 165, 233, 0.15) !important;
}

html.dark .bg-lime-50 {
  background-color: rgba(132, 204, 22, 0.15) !important;
}

html.dark .quick-entry-icon.bg-gray-50 {
  background-color: rgba(148, 163, 184, 0.12) !important;
}

html.dark .bg-blue-50 {
  background-color: rgba(59, 130, 246, 0.15) !important;
}

html.dark .bg-blue-100 {
  background-color: rgba(59, 130, 246, 0.2) !important;
}

/* ─── 通用文字颜色 ─── */
html.dark .text-gray-900,
html.dark .text-gray-800 {
  color: #e2e8f0 !important;
}

html.dark .text-gray-700,
html.dark .text-gray-600 {
  color: #cbd5e1 !important;
}

html.dark .text-gray-500,
html.dark .text-gray-400 {
  color: #94a3b8 !important;
}

/* ─── Stitch 设计系统表面色 ─── */
html.dark .bg-surface {
  background-color: #0f172a !important;
}

html.dark .bg-background {
  background-color: #0f172a !important;
}

html.dark .bg-background\/80 {
  background-color: rgba(15, 23, 42, 0.8) !important;
}

html.dark .bg-surface\/90 {
  background-color: rgba(15, 23, 42, 0.9) !important;
}

html.dark .bg-surface-container-lowest {
  background-color: #1e293b !important;
}

html.dark .bg-surface-container,
html.dark .bg-surface-container-low {
  background-color: #1e293b !important;
}

html.dark .bg-surface-container-high {
  background-color: #334155 !important;
}

html.dark .bg-surface-container-highest {
  background-color: #475569 !important;
}

/* ─── 文字颜色覆盖 ─── */
html.dark .text-on-surface {
  color: #e2e8f0 !important;
}

html.dark .text-on-surface-variant {
  color: #94a3b8 !important;
}

html.dark .text-secondary {
  color: #94a3b8 !important;
}

html.dark .text-outline {
  color: #64748b !important;
}

/* ─── 边框颜色 ─── */
html.dark .border-outline-variant,
html.dark .border-surface-container-highest,
html.dark .border-surface-variant,
html.dark .border-gray-100,
html.dark .border-gray-200 {
  border-color: rgba(148, 163, 184, 0.2) !important;
}

/* ─── 毛玻璃卡片 ─── */
html.dark .glass-card {
  background: rgba(30, 41, 59, 0.85) !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
}

html.dark .glass-card-warning {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.4) 0%, rgba(30, 41, 59, 0.9) 100%) !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
}

html.dark .glass-card-info {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(30, 41, 59, 0.9) 100%) !important;
  border-color: rgba(59, 130, 246, 0.2) !important;
}

/* ─── 卡片阴影 ─── */
html.dark .card-shadow {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

html.dark .shadow-sm {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

/* ─── 输入框 / Select ─── */
html.dark input,
html.dark select,
html.dark textarea {
  background-color: #1e293b !important;
  color: #e2e8f0 !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
}

html.dark input::-moz-placeholder {
  color: #64748b !important;
}

html.dark input::placeholder {
  color: #64748b !important;
}

/* ─── 底部导航栏 ─── */
html.dark .bottom-tab-bar,
html.dark nav.fixed {
  background-color: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.1) !important;
}

/* ─── 弹窗 / Modal ─── */
html.dark .modal-mask,
html.dark .modal-overlay {
  background-color: rgba(0, 0, 0, 0.7) !important;
}

html.dark .modal-card,
html.dark .modal-content {
  background-color: #1e293b !important;
  color: #e2e8f0 !important;
}

/* ─── 首页特定元素 ─── */
html.dark .gradient-card {
  background: linear-gradient(135deg, #1e40af 0%, #0e7490 100%) !important;
}

/* ─── 课表页面 ─── */
html.dark .schedule-view {
  background-color: #0f172a !important;
}

html.dark .schedule-header {
  background-color: #1e293b !important;
}

/* 课表页面 - 所有白色背景区域 */
html.dark .schedule-view [class*="schedule-grid"],
html.dark .schedule-view [class*="schedule-body"],
html.dark .schedule-view [class*="schedule-table"],
html.dark .schedule-view [class*="timetable"],
html.dark .schedule-view .bg-white {
  background-color: #0f172a !important;
}

/* 课表页面 - 周选择器（修复双重边框） */
html.dark .schedule-view .week-selector {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  box-shadow: none !important;
}

/* 课表页面 - 周选择器内部按钮（去掉白色内框） */
html.dark .schedule-view .week-selector select,
html.dark .schedule-view .week-selector button,
html.dark .schedule-view .week-selector [class*="select"],
html.dark .schedule-view [class*="week-picker"],
html.dark .schedule-view [class*="week-dropdown"] {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  color: #e2e8f0 !important;
  box-shadow: none !important;
}

/* 课表 - 顶部 header 区域（标题 + 周选择器） */
html.dark .schedule-view > header,
html.dark .schedule-view > div:first-child,
html.dark .schedule-view .schedule-top-bar,
html.dark .schedule-view [class*="header"] {
  background: #0f172a !important;
}

/* 课表 - 日期行（5月 11 周一 12 周二...） */
html.dark .schedule-view .date-header,
html.dark .schedule-view .week-header,
html.dark .schedule-view .day-header,
html.dark .schedule-view [class*="day-col-header"],
html.dark .schedule-view [class*="date-row"] {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.1) !important;
  color: #94a3b8 !important;
}

/* 课表 - 日期数字和星期文字 */
html.dark .schedule-view [class*="day-num"],
html.dark .schedule-view [class*="day-name"],
html.dark .schedule-view [class*="weekday"] {
  color: #94a3b8 !important;
}

/* 课表 - 今天高亮的日期 */
html.dark .schedule-view [class*="today"] [class*="day-num"],
html.dark .schedule-view [class*="active"] [class*="day-num"] {
  color: #60a5fa !important;
}

/* 课表 - 主体网格区域背景 */
html.dark .schedule-view [class*="grid-container"],
html.dark .schedule-view [class*="courses-grid"],
html.dark .schedule-view [class*="grid-body"],
html.dark .schedule-view [class*="timetable-body"] {
  background: #0f172a !important;
}

/* 课表 - 网格线（增加区分度） */
html.dark .schedule-view [class*="grid-line"],
html.dark .schedule-view [class*="time-slot"],
html.dark .schedule-view [class*="day-column"] {
  border-color: rgba(148, 163, 184, 0.12) !important;
}

/* 课表 - 时间列文字 */
html.dark .schedule-view [class*="time-label"],
html.dark .schedule-view [class*="time-cell"],
html.dark .schedule-view [class*="period-num"] {
  color: #64748b !important;
}

/* 课表 - 左侧时间轴背景 */
html.dark .schedule-view .time-axis {
  background: #0f172a !important;
  border-right-color: rgba(148, 163, 184, 0.12) !important;
}

html.dark .schedule-view .month-col {
  background: #0f172a !important;
}

html.dark .schedule-view .modal-content {
  background: #1e293b !important;
  color: #e2e8f0 !important;
}

/* 课表 - 侧边栏/工具面板 */
html.dark .schedule-view .sidebar,
html.dark .schedule-view .drawer,
html.dark .schedule-view [class*="drawer"],
html.dark .schedule-view [class*="sidebar"] {
  background: #1e293b !important;
  color: #e2e8f0 !important;
}

/* 课表工具面板 - 详细样式 */
html.dark .schedule-view .drawer-panel {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
}

html.dark .schedule-view .drawer-title {
  color: #e2e8f0 !important;
}

html.dark .schedule-view .drawer-subtitle {
  color: #cbd5e1 !important;
}

html.dark .schedule-view .drawer-subtitle::before {
  background: var(--ui-primary, #60a5fa) !important;
  color: #0f172a !important;
}

/* 课表工具 - 各模块之间的分割线 */
html.dark .schedule-view .drawer-section {
  border-bottom: 1px solid rgba(148, 163, 184, 0.32) !important;
  padding-bottom: 16px !important;
}

html.dark .schedule-view .drawer-actions {
  border-top: 1px solid rgba(148, 163, 184, 0.15) !important;
  padding-top: 12px !important;
}

html.dark .schedule-view .drawer-sync-group,
html.dark .schedule-view .drawer-course-group {
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: 12px !important;
  padding: 12px !important;
}

/* 课表工具 - 按钮 */
html.dark .schedule-view .drawer-action {
  border: none !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #3b82f6, #06b6d4) !important;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.22) !important;
}

html.dark .schedule-view .drawer-action.ghost {
  background: transparent !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  color: #cbd5e1 !important;
  box-shadow: none !important;
}

html.dark .schedule-view .drawer-action.add-course {
  background: linear-gradient(135deg, #f97316, #ec4899) !important;
  box-shadow: 0 10px 18px rgba(236, 72, 153, 0.26) !important;
}

html.dark .schedule-view .drawer-action.manage-course {
  background: linear-gradient(135deg, #8b5cf6, #2563eb) !important;
  box-shadow: 0 10px 18px rgba(79, 70, 229, 0.22) !important;
}

html.dark .schedule-view .drawer-action.sync-upload {
  background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.24) !important;
}

html.dark .schedule-view .drawer-action.sync-download {
  background: linear-gradient(135deg, #10b981, #0f766e) !important;
  box-shadow: 0 10px 18px rgba(15, 118, 110, 0.24) !important;
}

html.dark .schedule-view .drawer-action.sync-json-export {
  background: linear-gradient(135deg, #6366f1, #2563eb) !important;
  box-shadow: 0 10px 18px rgba(79, 70, 229, 0.24) !important;
}

html.dark .schedule-view .drawer-action.sync-json-import {
  background: linear-gradient(135deg, #f97316, #ea580c) !important;
  box-shadow: 0 10px 18px rgba(234, 88, 12, 0.24) !important;
}

/* 课表工具 - 选择器 */
html.dark .schedule-view .drawer-select {
  background: #334155 !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  color: #e2e8f0 !important;
}

/* 课表工具 - 样式切换 */
html.dark .schedule-view .drawer-style-chip {
  color: #94a3b8 !important;
}

html.dark .schedule-view .drawer-style-chip.active {
  color: #ffffff !important;
  background: var(--ui-primary, #2563eb) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
}

/* 课表工具 - 提示和状态 */
html.dark .schedule-view .drawer-tip,
html.dark .schedule-view .drawer-sync-status,
html.dark .schedule-view .drawer-sync-cooldown {
  color: #64748b !important;
}

/* 课表 - 汉堡菜单按钮 */
html.dark .schedule-view [class*="menu-btn"],
html.dark .schedule-view [class*="hamburger"] {
  color: #e2e8f0 !important;
}

/* 课表 - 标题文字 */
html.dark .schedule-view h1,
html.dark .schedule-view h2,
html.dark .schedule-view [class*="title"] {
  color: #e2e8f0 !important;
}
/* ─── 成绩页面 ─── */
html.dark .grade-view {
  background-color: #0f172a !important;
  background: #0f172a !important;
  color: #e2e8f0 !important;
}

html.dark .grade-view .grade-stitch-header {
  background: rgba(15, 23, 42, 0.9) !important;
  border-bottom-color: rgba(148, 163, 184, 0.16) !important;
}

html.dark .grade-view .grade-stitch-header h1,
html.dark .grade-view .grade-stitch-back {
  color: #f8fafc !important;
}

html.dark .grade-view .grade-stitch-refresh {
  color: #60a5fa !important;
}

html.dark .grade-view .grade-filter-card,
html.dark .grade-view .search-box,
html.dark .grade-view .select-wrap {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
}

html.dark .grade-view .search-box,
html.dark .grade-view .select-wrap {
  background: #111827 !important;
}

html.dark .grade-view .search-input {
  background: transparent !important;
  color: #e2e8f0 !important;
}

html.dark .grade-view .search-input::-moz-placeholder {
  color: #64748b !important;
}

html.dark .grade-view .search-input::placeholder {
  color: #64748b !important;
}

html.dark .grade-view .filter-select .ios26-select-trigger {
  background: #111827 !important;
  color: #e2e8f0 !important;
}

html.dark .grade-view .term-header h2 {
  color: #e2e8f0 !important;
}

html.dark .grade-view .term-icon {
  background: rgba(37, 99, 235, 0.26) !important;
  color: #93c5fd !important;
}

html.dark .grade-view .detail-score.excellent {
  color: #34d399 !important;
}

html.dark .grade-view .detail-score.good {
  color: #4ade80 !important;
}

html.dark .grade-view .detail-score.average {
  color: #facc15 !important;
}

html.dark .grade-view .detail-score.pass {
  color: #fb923c !important;
}

html.dark .grade-view .detail-score.fail {
  color: #f87171 !important;
}

html.dark .grade-card {
  background-color: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
}

/* 成绩页面 - 搜索框、筛选区域、按钮 */
html.dark .grade-view .bg-white,
html.dark .grade-view [class*="filter"],
html.dark .grade-view [class*="search"],
html.dark .grade-view [class*="toolbar"] {
  background-color: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
}

html.dark .grade-view input,
html.dark .grade-view select {
  background-color: #334155 !important;
  color: #e2e8f0 !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
}

html.dark .grade-view button {
  border-color: rgba(148, 163, 184, 0.2) !important;
}

/* 成绩页面 - 成绩卡片文字颜色 */
html.dark .grade-view .grade-card .grade-score,
html.dark .grade-view .grade-card .grade-name,
html.dark .grade-view .grade-card h3,
html.dark .grade-view .grade-card h4,
html.dark .grade-view .grade-card .course-name {
  color: #e2e8f0 !important;
}

html.dark .grade-view .grade-card .grade-meta,
html.dark .grade-view .grade-card .grade-info,
html.dark .grade-view .grade-card p,
html.dark .grade-view .grade-card span {
  color: #94a3b8 !important;
}

/* 成绩页面 - 统计卡片 */
html.dark .grade-view .stat-card {
  background: #1e293b !important;
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
}

html.dark .grade-view .stat-card .stat-value,
html.dark .grade-view .stat-card .stat-number {
  color: #e2e8f0 !important;
}

/* 成绩页面 - 筛选栏 */
html.dark .grade-view .filter-bar {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.12) !important;
}

/* 成绩页面 - tab 栏 */
html.dark .grade-view .grade-tab-bar {
  background: #1e293b !important;
}

/* 成绩页面 - 学期标签 */
html.dark .grade-view .semester-header {
  color: #e2e8f0 !important;
}

/* ─── 我的页面 ─── */
html.dark .me-view {
  background-color: #0f172a !important;
}

html.dark .profile-card,
html.dark .status-card,
html.dark .func-grid,
html.dark .legal-card {
  background-color: #1e293b !important;
  border: 1px solid rgba(148, 163, 184, 0.15) !important;
}

html.dark .me-view .icp-beian-link {
  color: #64748b !important;
}

html.dark .me-view .icp-beian-link:active {
  color: #94a3b8 !important;
}

/* 我的页面 - 功能入口卡片 */
html.dark .me-view .func-item,
html.dark .me-view [class*="func-card"],
html.dark .me-view [class*="menu-item"],
html.dark .me-view [class*="grid-item"],
html.dark .me-view [class*="action-card"] {
  background-color: #1e293b !important;
  color: #e2e8f0 !important;
}

html.dark .me-view .func-item span,
html.dark .me-view [class*="func-card"] span,
html.dark .me-view [class*="grid-item"] .grid-label {
  color: #cbd5e1 !important;
}

/* ─── 设置页面 ─── */
html.dark .settings-view {
  background-color: #0f172a !important;
}

/* ─── 通知页面 ─── */
html.dark .notification-view {
  background-color: #0f172a !important;
}

/* ─── 登录页面 ─── */
html.dark .login-container {
  background-color: #1e293b !important;
}

/* ─── 离线横幅 ─── */
html.dark .offline-banner {
  background-color: rgba(30, 58, 138, 0.3) !important;
  color: #93c5fd !important;
}

/* ─── 按钮 ─── */
html.dark .btn-primary,
html.dark button.bg-primary {
  background-color: #2563eb !important;
}

/* ─── 滚动条（已全局隐藏，此处仅做兜底） ─── */

/* 确保整个视口背景为深色 */
html.dark {
  overflow-x: hidden;
}

html.dark body {
  overflow-x: hidden !important;
}

/* ─── 页面特定覆盖（使用 min-h-screen 的页面） ─── */
html.dark [class*="min-h-screen"] {
  background-color: #0f172a;
}

html.dark .exam-page,
html.dark .classroom-page,
html.dark .ranking-page,
html.dark .school-inbox-page,
html.dark .elec-view,
html.dark .trans-view,
html.dark .export-view,
html.dark .more-view,
html.dark .online-view,
html.dark .campus-code-view,
html.dark .library-view,
html.dark .resource-share-view,
html.dark .ai-view {
  background-color: #0f172a !important;
}

html.dark .school-inbox-page {
  background-color: #0f172a !important;
}

html.dark .school-inbox-page .inbox-item,
html.dark .school-inbox-page .inbox-detail-card {
  background-color: var(--md-sys-color-surface-container-lowest, #1e293b) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
}

html.dark .school-inbox-page .inbox-item--unread {
  background: color-mix(in srgb, rgba(96, 165, 250, 0.18) 100%, #1e293b) !important;
  border-color: rgba(96, 165, 250, 0.35) !important;
}

html.dark .school-inbox-page .inbox-detail-body--rich :is(p, div, span, li) {
  color: #e2e8f0 !important;
}

html.dark .school-inbox-page .inbox-detail-body--rich :is([style*="background"], [bgcolor]) {
  background: transparent !important;
}

/* ═══════════════════════════════════════════════════════════════
   v4 设计系统页面暗色模式覆盖
   覆盖 TransactionHistory / StudentInfoView / NotificationView /
   ExportCenterView / SettingsView 中使用 CSS 变量的新样式
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS 变量暗色覆盖 ─── */
html.dark {
  --md-sys-color-background: #0f172a;
  --md-sys-color-surface: #1e293b;
  --md-sys-color-surface-container-lowest: #1e293b;
  --md-sys-color-surface-container-low: #1e293b;
  --md-sys-color-surface-container: #334155;
  --md-sys-color-surface-container-high: #475569;
  --md-sys-color-surface-variant: rgba(148, 163, 184, 0.2);
  --md-sys-color-on-surface: #e2e8f0;
  --md-sys-color-on-surface-variant: #94a3b8;
  --md-sys-color-on-background: #e2e8f0;
  --md-sys-color-outline: #64748b;
  --md-sys-color-outline-variant: rgba(148, 163, 184, 0.2);
  --md-sys-color-primary: #60a5fa;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-fixed: rgba(30, 58, 138, 0.4);
  --md-sys-color-primary-fixed-dim: #93c5fd;
  --md-sys-color-on-primary-fixed-variant: #93c5fd;
  --md-sys-color-secondary-container: #334155;
  --md-sys-color-on-secondary-container: #cbd5e1;
}

/* ─── 交易记录页面 ─── */
html.dark .trans-view {
  background: #0f172a !important;
}

html.dark .trans-header {
  background: rgba(15, 23, 42, 0.9) !important;
  border-bottom-color: rgba(148, 163, 184, 0.15) !important;
}

html.dark .month-selector-card {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
}

html.dark .stat-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
}

html.dark .glass-list-card {
  background: rgba(30, 41, 59, 0.85) !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
}

html.dark .trans-item {
  background: rgba(15, 23, 42, 0.6) !important;
}

html.dark .trans-item:hover {
  background: rgba(51, 65, 85, 0.5) !important;
}

html.dark .disclaimer-card {
  background: rgba(120, 53, 15, 0.2) !important;
  border-color: rgba(251, 191, 36, 0.2) !important;
  color: #fbbf24 !important;
}

/* ─── 个人信息页面 ─── */
html.dark .student-info-view {
  background: #0f172a !important;
}

html.dark .page-header {
  background: rgba(15, 23, 42, 0.8) !important;
}

html.dark .profile-card {
  background: #1e293b !important;
}

html.dark .profile-gradient-bg {
  background: linear-gradient(to right, rgba(37, 99, 235, 0.3), rgba(14, 116, 144, 0.3)) !important;
}

html.dark .tab-bar {
  background: #334155 !important;
}

html.dark .tab-item {
  color: #94a3b8 !important;
}

html.dark .tab-item.active {
  background: #1e293b !important;
  color: #60a5fa !important;
}

html.dark .info-card {
  background: #1e293b !important;
}

html.dark .card-section-title {
  color: #e2e8f0 !important;
  border-bottom-color: rgba(148, 163, 184, 0.15) !important;
}

html.dark .login-card {
  background: rgba(15, 23, 42, 0.6) !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
}

html.dark .access-card {
  background: rgba(15, 23, 42, 0.6) !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
}

/* ─── 通知页面 ─── */
html.dark .notify-content {
  color: #e2e8f0 !important;
}

html.dark .permission-card {
  background: rgba(30, 58, 138, 0.3) !important;
  border-color: rgba(96, 165, 250, 0.2) !important;
}

html.dark .permission-info h2 {
  color: #93c5fd !important;
}

html.dark .notify-type-card {
  background: #1e293b !important;
}

html.dark .sync-settings-card {
  background: #1e293b !important;
}

html.dark .sync-interval-row {
  border-top-color: rgba(148, 163, 184, 0.15) !important;
}

html.dark .notify-message-card {
  background: #1e293b !important;
}

html.dark .notify-message-card.unread {
  border-left-color: #60a5fa !important;
}

html.dark .notify-detail-list li {
  background: rgba(51, 65, 85, 0.5) !important;
}

html.dark .detail-badge {
  background: rgba(71, 85, 105, 0.5) !important;
  color: #cbd5e1 !important;
}

html.dark .detail-badge.highlight {
  background: rgba(37, 99, 235, 0.2) !important;
  color: #93c5fd !important;
}

html.dark .action-btn.secondary {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  color: #60a5fa !important;
}

html.dark .dashboard-header {
  background: rgba(15, 23, 42, 0.9) !important;
}

/* ─── 设置页面 ─── */
html.dark .settings-page-header {
  background: rgba(15, 23, 42, 0.8) !important;
}

html.dark .settings-tab-bar {
  background: rgba(15, 23, 42, 0.95) !important;
  border-bottom-color: rgba(148, 163, 184, 0.15) !important;
}

html.dark .settings-tab-item {
  color: #94a3b8 !important;
}

html.dark .settings-tab-item.active {
  color: #60a5fa !important;
  border-bottom-color: #60a5fa !important;
}

/* ─── 导出中心页面 ─── */
html.dark .export-page-header {
  background: rgba(15, 23, 42, 0.8) !important;
}

html.dark .export-hero {
  background: linear-gradient(135deg, #1e40af, #0e7490) !important;
}

html.dark .export-btn.outline {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  color: #60a5fa !important;
}

/* ─── 通用：header 按钮暗色 ─── */
html.dark .header-icon-btn {
  color: #e2e8f0 !important;
}

html.dark .header-icon-btn:hover {
  background: rgba(51, 65, 85, 0.5) !important;
}

html.dark .header-title,
html.dark .header-title-center {
  color: #e2e8f0 !important;
}

/* ─── 通用：toggle switch 暗色 ─── */
html.dark .toggle-track {
  background: #475569 !important;
}

html.dark .toggle-switch input:checked + .toggle-track {
  background: #2563eb !important;
}

/* ─── 通用：section heading 暗色 ─── */
html.dark .section-heading {
  color: #e2e8f0 !important;
}

html.dark .config-section-title {
  color: #e2e8f0 !important;
}

/* ─── Dashboard 时间线暗色 ─── */
html.dark .timeline-line {
  background-color: rgba(148, 163, 184, 0.3) !important;
}

/* ─── 确保所有新页面的 scoped 背景在暗色模式下为类黑色 ─── */
html.dark .trans-view,
html.dark .student-info-view,
html.dark .export-view,
html.dark .notification-view,
html.dark .settings-view {
  background: #0f172a !important;
  color: #e2e8f0 !important;
}

/* ─── 通用 header 暗色 ─── */
html.dark .trans-header,
html.dark .page-header,
html.dark .export-page-header,
html.dark .settings-page-header,
html.dark .dashboard-header {
  background: rgba(15, 23, 42, 0.9) !important;
  border-color: rgba(148, 163, 184, 0.1) !important;
}

html.dark .header-title,
html.dark .header-title-center,
html.dark .header-title {
  color: #e2e8f0 !important;
}

/* ─── 交易记录暗色补充 ─── */
html.dark .month-selector-card,
html.dark .stat-card,
html.dark .glass-list-card {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.12) !important;
}

html.dark .month-title,
html.dark .trans-name,
html.dark .section-title {
  color: #e2e8f0 !important;
}

html.dark .month-subtitle,
html.dark .trans-meta,
html.dark .stat-label,
html.dark .date-group-label {
  color: #94a3b8 !important;
}

html.dark .trans-item {
  background: rgba(30, 41, 59, 0.5) !important;
}

html.dark .trans-item:hover {
  background: rgba(51, 65, 85, 0.5) !important;
}

/* ─── 个人信息暗色补充 ─── */
html.dark .profile-card,
html.dark .info-card {
  background: #1e293b !important;
}

html.dark .profile-name,
html.dark .field-value,
html.dark .login-value,
html.dark .access-app-name {
  color: #e2e8f0 !important;
}

html.dark .profile-id,
html.dark .field-label,
html.dark .login-label {
  color: #94a3b8 !important;
}

html.dark .tab-bar {
  background: rgba(51, 65, 85, 0.5) !important;
}

html.dark .tab-item {
  color: #94a3b8 !important;
}

html.dark .tab-item.active {
  background: #1e293b !important;
  color: #60a5fa !important;
}

html.dark .login-card,
html.dark .access-card {
  background: rgba(15, 23, 42, 0.6) !important;
  border-color: rgba(148, 163, 184, 0.12) !important;
}

/* ─── 通知页面暗色补充 ─── */
html.dark .permission-card {
  background: rgba(30, 58, 138, 0.25) !important;
  border-color: rgba(96, 165, 250, 0.15) !important;
}

html.dark .permission-title,
html.dark .notify-type-body h4,
html.dark .sync-title,
html.dark .notify-msg-title {
  color: #e2e8f0 !important;
}

html.dark .permission-desc,
html.dark .notify-type-body p,
html.dark .sync-interval-label,
html.dark .notify-msg-text,
html.dark .notify-msg-time {
  color: #94a3b8 !important;
}

html.dark .notify-type-card,
html.dark .sync-settings-card,
html.dark .notify-message-card {
  background: #1e293b !important;
}

html.dark .notify-detail-list li {
  background: rgba(51, 65, 85, 0.4) !important;
}

html.dark .detail-main {
  color: #e2e8f0 !important;
}

html.dark .detail-sub {
  color: #94a3b8 !important;
}

html.dark .detail-score {
  color: #60a5fa !important;
}

html.dark .action-btn.secondary {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
  color: #60a5fa !important;
}

/* ─── 设置页面暗色补充 ─── */
html.dark .settings-tab-bar {
  background: rgba(15, 23, 42, 0.95) !important;
  border-color: rgba(148, 163, 184, 0.1) !important;
}

html.dark .settings-tab-item {
  color: #94a3b8 !important;
}

html.dark .settings-tab-item.active {
  color: #60a5fa !important;
  border-bottom-color: #60a5fa !important;
}

/* ─── 导出中心暗色补充 ─── */
html.dark .export-hero {
  background: linear-gradient(135deg, #1e40af, #0e7490) !important;
}

html.dark .export-btn.outline {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
  color: #60a5fa !important;
}

html.dark .intro-card,
html.dark .config-card,
html.dark .actions-card,
html.dark .preview-wrap {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.12) !important;
  color: #e2e8f0 !important;
}

html.dark .semester-chip,
html.dark .month-chip,
html.dark .export-module-item {
  background: rgba(51, 65, 85, 0.5) !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
  color: #cbd5e1 !important;
}

html.dark .semester-chip.active,
html.dark .month-chip.active,
html.dark .export-module-item.active {
  background: rgba(37, 99, 235, 0.2) !important;
  border-color: #60a5fa !important;
  color: #93c5fd !important;
}

/* ─── 通用暗色：确保所有白色背景卡片变深 ─── */
html.dark [style*="background: rgba(255, 255, 255"],
html.dark [style*="background-color: #ffffff"],
html.dark [style*="background: #fff"] {
  background: #1e293b !important;
}

/* ═══════════════════════════════════════════════════════════════
   全局兜底：暗色模式下所有残留白色背景强制覆盖
   ═══════════════════════════════════════════════════════════════ */

/* ─── 我的页面 - grid-item 白色卡片 ─── */
html.dark .grid-item {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.12) !important;
  color: #e2e8f0 !important;
}

html.dark .grid-item .grid-label {
  color: #cbd5e1 !important;
}

html.dark .grid-icon {
  background: #334155 !important;
}

/* 我的页面 - 功能网格图标容器（覆盖内联浅色 background） */
html.dark .me-view .grid-icon-box {
  background: #0f172a !important;
}

/* 我的页面 - 图标颜色在暗色模式下提亮（保留各入口内联彩色） */
html.dark .grid-item .grid-icon .material-symbols-outlined,
html.dark .me-view .grid-icon-box .material-symbols-outlined {
  opacity: 1 !important;
  filter: brightness(1.15) saturate(1.1) !important;
}

/* 我的页面 - 所有卡片区域加边框区分 */
html.dark .me-view .glass-card,
html.dark .me-view section,
html.dark .me-view .profile-section,
html.dark .me-view .status-section,
html.dark .me-view .func-section,
html.dark .me-view .legal-section {
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
  border-radius: 16px;
}

/* 我的页面 - 学号文字可见 */
html.dark .me-view h2,
html.dark .me-view h3,
html.dark .me-view .student-id,
html.dark .me-view .user-name {
  color: #e2e8f0 !important;
}

/* 我的页面 - 副文字 */
html.dark .me-view p,
html.dark .me-view .sub-text,
html.dark .me-view .hint {
  color: #94a3b8 !important;
}

/* 我的页面 - 登录状态文字 */
html.dark .me-view .status-card {
  background: #1e293b !important;
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
}

html.dark .me-view .status-title {
  color: #e2e8f0 !important;
}

html.dark .me-view .status-subtitle {
  color: #94a3b8 !important;
}

html.dark .me-view .status-icon {
  color: #60a5fa !important;
}

html.dark .me-view .status-icon-box {
  background: rgba(96, 165, 250, 0.15) !important;
}

/* ─── 学校官网 / 快捷链接子页 ─── */
html.dark .school-website-view,
html.dark .quick-links-view {
  background-color: #0f172a !important;
}

html.dark .school-website-view .header-copy h1,
html.dark .quick-links-view .header-copy h1,
html.dark .quick-links-view .link-copy strong {
  color: #e2e8f0 !important;
}

html.dark .school-website-view .header-kicker,
html.dark .quick-links-view .header-kicker,
html.dark .quick-links-view .intro,
html.dark .quick-links-view .link-copy span {
  color: #94a3b8 !important;
}

html.dark .school-website-view .back-button,
html.dark .school-website-view .external-button,
html.dark .quick-links-view .back-button {
  background: rgba(96, 165, 250, 0.15) !important;
  color: #93c5fd !important;
}

html.dark .school-website-view .frame-shell,
html.dark .quick-links-view .link-card {
  background-color: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
}

html.dark .school-website-view .frame-overlay {
  background: rgba(15, 23, 42, 0.72) !important;
  color: #cbd5e1 !important;
}

html.dark .school-website-view .frame-message--error {
  background: rgba(30, 41, 59, 0.96) !important;
  color: #fecaca !important;
}

html.dark .school-website-view .frame-message--hint {
  background: rgba(30, 41, 59, 0.96) !important;
  color: #cbd5e1 !important;
  border-top-color: rgba(148, 163, 184, 0.2) !important;
}

html.dark .quick-links-view .link-arrow {
  color: #64748b !important;
}

/* ─── 课表页面 scoped 样式强制覆盖 ─── */
html.dark .schedule-view .schedule-grid-wrapper,
html.dark .schedule-view .schedule-grid-container,
html.dark .schedule-view .schedule-content,
html.dark .schedule-view .schedule-main {
  background: #0f172a !important;
}

/* 课表 - 日期头部行 */
html.dark .schedule-view .date-header,
html.dark .schedule-view .week-header,
html.dark .schedule-view .day-header {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.1) !important;
}

/* 课表 - 时间列 */
html.dark .schedule-view .time-column,
html.dark .schedule-view .time-cell {
  color: #94a3b8 !important;
}

/* 课表 - 课程格子保持原色（不覆盖课程卡片的彩色背景） */

/* ─── 成绩页面 - 白色卡片和表单 ─── */
html.dark .grade-view .grade-header,
html.dark .grade-view .grade-toolbar,
html.dark .grade-view .grade-filter,
html.dark .grade-view .grade-search {
  background: #1e293b !important;
}

html.dark .grade-view .grade-stat-card,
html.dark .grade-view [class*="stat-card"],
html.dark .grade-view [class*="summary"] {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
}

/* ─── 全局：所有 scoped 组件中的 #ffffff 背景 ─── */
html.dark [style*="background: #ffffff"],
html.dark [style*="background-color: #ffffff"],
html.dark [style*="background: rgb(255, 255, 255)"],
html.dark [style*="background-color: rgb(255, 255, 255)"] {
  background: #1e293b !important;
}

/* ─── 全局：所有 scoped 组件中的 white 背景 ─── */
html.dark [style*="background: white"],
html.dark [style*="background-color: white"] {
  background: #1e293b !important;
}

/* ─── 全局文字颜色兜底 ─── */
html.dark [style*="color: #000"],
html.dark [style*="color: rgb(0, 0, 0)"],
html.dark [style*="color: #111"],
html.dark [style*="color: #1f2937"],
html.dark [style*="color: rgb(31, 41, 55)"] {
  color: #e2e8f0 !important;
}

/* ─── 全局：确保所有页面容器背景为深色 ─── */
html.dark .view-transition-root {
  background: #0f172a !important;
}

/* 确保 max-width 页面外部区域也是深色 */
html.dark .app-shell {
  background: #0f172a !important;
}

html.dark .app-shell > .view-transition-root {
  background: #0f172a !important;
  min-width: 100% !important;
}

/* ─── 更多页面（MoreView）暗色适配 ─── */
html.dark .more-view {
  background-color: #0f172a !important;
}

html.dark .dialog-btn.ghost {
  color: #94a3b8 !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
}

/* ═══════════════════════════════════════════════════════════════
   设置页面 SettingsView 暗色模式修复
   ═══════════════════════════════════════════════════════════════ */

/* ─── 设置页面 - 选项卡片 option-chip ─── */
html.dark .option-chip {
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.85)) !important;
  border-color: color-mix(in oklab, var(--ui-primary) 24%, rgba(148, 163, 184, 0.2)) !important;
  color: #e2e8f0 !important;
}

html.dark .option-chip strong {
  color: #e2e8f0 !important;
}

html.dark .option-chip small {
  color: #94a3b8 !important;
}

html.dark .option-chip.active {
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.25), rgba(14, 165, 233, 0.15)) !important;
  border-color: color-mix(in oklab, var(--ui-primary) 60%, rgba(148, 163, 184, 0.3)) !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2) !important;
}

/* ─── 设置页面 - 预设卡片 preset-card ─── */
html.dark .preset-card {
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.85)) !important;
  border-color: color-mix(in oklab, var(--ui-primary) 24%, rgba(148, 163, 184, 0.2)) !important;
}

html.dark .preset-card strong,
html.dark .preset-card .preset-name {
  color: #e2e8f0 !important;
}

html.dark .preset-card .preset-tagline {
  color: #94a3b8 !important;
}

/* ─── 设置页面 - 区块标题 section-head ─── */
html.dark .settings-section .section-head h3,
html.dark .settings-section h3 {
  color: #e2e8f0 !important;
}

html.dark .option-group > label {
  color: #cbd5e1 !important;
}

/* ─── 设置页面 - 主题切换器文字修复 ─── */
html.dark .theme-label {
  color: #e0e0e0 !important;
}

html.dark .theme-hint {
  color: #94a3b8 !important;
}

/* ─── 设置页面 - mini-btn ─── */
html.dark .mini-btn {
  background: rgba(30, 41, 59, 0.9) !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  color: #e2e8f0 !important;
}

html.dark .mini-btn.danger {
  background: rgba(127, 29, 29, 0.4) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  color: #fca5a5 !important;
}

/* ─── 设置页面 - 切换按钮 toggle-btn ─── */
html.dark .startup-page-toggle .toggle-btn {
  background: rgba(51, 65, 85, 0.6) !important;
  color: #94a3b8 !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
}

html.dark .startup-page-toggle .toggle-btn.active {
  background: var(--ui-primary) !important;
  color: #ffffff !important;
}

/* ─── iOS 选择器暗色模式 ─── */
html.dark .ios26-select,
html.dark .ios26-select-overlay {
  --ios-select-accent: #60a5fa;
  --ios-select-accent-2: #22d3ee;
  --ios-select-text: #e2e8f0;
  --ios-select-muted: #94a3b8;
  --ios-select-border: color-mix(in oklab, var(--ios-select-accent) 28%, rgba(148, 163, 184, 0.34));
  --ios-select-trigger-bg: #111827;
  --ios-select-panel: #0f172a;
  --ios-select-item: #1e293b;
  --ios-select-active: #2563eb;
  --ios-select-shadow: 0 13px 29px rgba(2, 6, 23, 0.29);
}

html.dark .ios26-select-sheet {
  background: var(--ios-select-panel) !important;
  border-color: var(--ios-select-border) !important;
}

html.dark .ios26-select-item {
  background: var(--ios-select-item) !important;
  color: var(--ios-select-text) !important;
  border-color: var(--ios-select-border) !important;
}

html.dark .ios26-select-item.is-active {
  background: var(--ios-select-active) !important;
  border-color: color-mix(in oklab, var(--ios-select-accent) 44%, rgba(148, 163, 184, 0.24)) !important;
}

html.dark .ios26-select-item-label {
  color: var(--ios-select-text) !important;
}

html.dark .ios26-select-item.is-active .ios26-select-item-label {
  color: #ffffff !important;
}

html.dark .ios26-select-cancel {
  background: var(--ios-select-panel) !important;
  color: var(--ios-select-accent) !important;
  border-top-color: var(--ios-select-border) !important;
}

html.dark .ios26-select-trigger {
  background: var(--ios-select-trigger-bg) !important;
  border-color: var(--ios-select-border) !important;
}

html.dark .ios26-select-text {
  color: var(--ios-select-text) !important;
}

html.dark .ios26-select-overlay {
  background: rgba(2, 6, 23, 0.6) !important;
}

/* ═══════════════════════════════════════════════════════════════
   夜晚模式专项修复：这些页面原先只依赖浅色预设或 data-theme 规则。
   夜晚模式只由 html.dark 控制，因此这里直接覆盖页面级背景和表面色。
   ═══════════════════════════════════════════════════════════════ */

html.dark body :is(
  .official-view,
  .feedback-view,
  .config-editor,
  .campus-code-view,
  .calendar-view,
  .more-module-host-view,
  .ai-view
) {
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(37, 99, 235, 0.16), transparent 44%),
    linear-gradient(180deg, #07111f 0%, #0f172a 58%, #111c2f 100%) !important;
  color: #e2e8f0 !important;
}

/* 官方发布：内嵌文档加载前不能露出大块白底 */
html.dark body .official-view .iframe-container {
  background: #0f172a !important;
}

html.dark body .official-view iframe {
  background: #0f172a !important;
}

/* 反馈页 */
html.dark body .feedback-card,
html.dark body .feedback-card .error-item {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.88)) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #e2e8f0 !important;
}

html.dark body .feedback-card :is(h3, strong, .section-head h3, .error-meta strong) {
  color: #f8fafc !important;
}

html.dark body .feedback-card :is(p, time, .status-line, .error-meta time) {
  color: #94a3b8 !important;
}

html.dark body .feedback-card :is(.ghost-btn, .header-btn, .inline-copy-btn) {
  background: rgba(30, 41, 59, 0.92) !important;
  border-color: rgba(96, 165, 250, 0.28) !important;
  color: #e2e8f0 !important;
}

html.dark body .feedback-card .error-details {
  background: rgba(2, 6, 23, 0.72) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #cbd5e1 !important;
}

html.dark body .feedback-card .section-count {
  background: rgba(37, 99, 235, 0.24) !important;
  color: #93c5fd !important;
}

/* 配置工具 */
html.dark body .config-editor {
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(124, 58, 237, 0.2), transparent 42%),
    linear-gradient(180deg, #07111f 0%, #0f172a 58%, #111c2f 100%) !important;
}

html.dark body .config-editor .editor-card,
html.dark body .config-editor .notice-editor,
html.dark body .config-editor .markdown-preview {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.88)) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #e2e8f0 !important;
}

html.dark body .config-editor :is(h3, h4, h5, label, .notice-header h4) {
  color: #e2e8f0 !important;
}

html.dark body .config-editor :is(input, textarea) {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: #e2e8f0 !important;
}

html.dark body .config-editor :is(input::-moz-placeholder, textarea::-moz-placeholder) {
  color: #64748b !important;
}

html.dark body .config-editor :is(input::placeholder, textarea::placeholder) {
  color: #64748b !important;
}

html.dark body .config-editor .tab-btn {
  background: rgba(30, 41, 59, 0.92) !important;
  color: #bfdbfe !important;
}

html.dark body .config-editor .tab-btn.active {
  background: #2563eb !important;
  color: #ffffff !important;
}

html.dark body .config-editor .btn-secondary {
  background: #334155 !important;
  color: #e2e8f0 !important;
}

/* 校园码：卡片夜晚化，二维码白底保留以保证可扫 */
html.dark body .campus-code-view :is(.mode-panel, .status-panel, .qr-panel, .order-panel) {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.88)) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.3) !important;
  color: #e2e8f0 !important;
}

html.dark body .campus-code-view :is(.line .value, .meta-item strong, .order-panel h3) {
  color: #f8fafc !important;
}

html.dark body .campus-code-view :is(.line .label, .loading-block, .qr-empty, .order-panel p, .meta-item span) {
  color: #94a3b8 !important;
}

html.dark body .campus-code-view :is(.mode-chip, .meta-item, .banner.idle) {
  background: rgba(15, 23, 42, 0.76) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  color: #dbeafe !important;
}

html.dark body .campus-code-view .mode-chip.active {
  background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%) !important;
  color: #ffffff !important;
}

html.dark body .campus-code-view .banner.warn {
  background: rgba(120, 53, 15, 0.34) !important;
  border-color: rgba(251, 191, 36, 0.36) !important;
  color: #fde68a !important;
}

html.dark body .campus-code-view .banner.error {
  background: rgba(127, 29, 29, 0.36) !important;
  border-color: rgba(248, 113, 113, 0.36) !important;
  color: #fecaca !important;
}

html.dark body .campus-code-view .banner.success {
  background: rgba(20, 83, 45, 0.36) !important;
  border-color: rgba(74, 222, 128, 0.36) !important;
  color: #bbf7d0 !important;
}

/* 校历 */
html.dark body .calendar-view :is(.controls, .calendar-table) {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #e2e8f0 !important;
}

html.dark body .calendar-view .calendar-table :is(th, td) {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  color: #e2e8f0 !important;
}

html.dark body .calendar-view .calendar-table thead th {
  background: #334155 !important;
  color: #f8fafc !important;
}

html.dark body .calendar-view .calendar-table tbody tr.is-current :is(td, .month-cell) {
  background: rgba(37, 99, 235, 0.24) !important;
}

html.dark body .calendar-view :is(.month-cell, .meta span) {
  background: rgba(15, 23, 42, 0.72) !important;
  color: #e2e8f0 !important;
}

html.dark body .calendar-view :is(.day-lunar, .remark-cell) {
  color: #94a3b8 !important;
}

/* 更多模块宿主 */
html.dark body .more-module-host-view :is(.module-empty-card, .module-frame-shell, .module-runtime-pill, .icon-btn) {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.88)) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #e2e8f0 !important;
}

html.dark body .more-module-host-view .module-frame-shell {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html.dark body .more-module-host-view .module-loading-overlay {
  background: rgba(15, 23, 42, 0.86) !important;
  color: #e2e8f0 !important;
}

html.dark body .more-module-host-view .module-frame {
  background: #0f172a !important;
}

html.dark body .more-module-host-view .module-frame-hint {
  background: rgba(37, 99, 235, 0.2) !important;
  color: #bfdbfe !important;
}

html.dark body .more-module-host-view .module-frame-error {
  background: rgba(127, 29, 29, 0.34) !important;
  color: #fecaca !important;
}

/* AI 页面：连接态、历史抽屉与消息容器夜晚化 */
html.dark body .ai-view :is(.ai-header, .stream-debug, .attachment-bar, .input-area, .history-panel, .confirm-dialog, .thinking-window) {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.88)) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #dbeafe !important;
}

html.dark body .ai-view :is(.back-btn, .history-btn, .new-chat-btn, .history-close, .retry-btn, .confirm-cancel) {
  background: rgba(30, 41, 59, 0.92) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #e2e8f0 !important;
}

html.dark body .ai-view .message-row.assistant .bubble {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.88)) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  color: #e2e8f0 !important;
}

html.dark body .ai-view .message-row.user .bubble {
  color: #08111f !important;
}

html.dark body .ai-view :is(.status-msg, .thinking-content, .thinking-placeholder, .progress-hint, .stream-loading, .attachment-preview, .history-meta, .history-preview, .confirm-dialog p) {
  color: #94a3b8 !important;
}

html.dark body .ai-view :is(.history-title, .confirm-dialog h4, .thinking-window-title) {
  color: #f8fafc !important;
}

html.dark body .ai-view .history-item {
  background: rgba(15, 23, 42, 0.78) !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
}

html.dark body .ai-view .history-item.active {
  background: rgba(30, 64, 175, 0.24) !important;
  border-color: rgba(96, 165, 250, 0.36) !important;
}

html.dark body .ai-view .input-area input[type='text'] {
  background: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: #e2e8f0 !important;
}

html.dark body .ai-view .input-area input[type='text']::-moz-placeholder {
  color: #64748b !important;
}

html.dark body .ai-view .input-area input[type='text']::placeholder {
  color: #64748b !important;
}

html.dark body .ai-view .rich-text :is(pre, code) {
  background: rgba(2, 6, 23, 0.72) !important;
  color: #e2e8f0 !important;
}

/* ═══════════════════════════════════════════════════════════════
   夜晚模式专项修复 v2：覆盖 scoped 组件里残留的固定浅色表面。
   二维码、地图图片、PDF/图片正文保留原始亮度，避免影响功能识别。
   ═══════════════════════════════════════════════════════════════ */

html.dark body :is(
  .progress-view,
  .training-plan-view,
  .more-shuake-view,
  .resource-share-view,
  .campus-map-view
) {
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(37, 99, 235, 0.14), transparent 44%),
    linear-gradient(180deg, #07111f 0%, #0f172a 58%, #111827 100%) !important;
  color: #e2e8f0 !important;
}

html.dark body :is(.progress-view, .training-plan-view) :is(
  .view-header,
  .controls,
  .filters,
  .summary-item,
  .category-card,
  .course-card,
  .modal-content,
  .detail-item,
  .loading,
  .error,
  .empty,
  .pagination button
) {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.88)) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.28) !important;
  color: #e2e8f0 !important;
}

html.dark body :is(.progress-view, .training-plan-view) :is(
  h1,
  h2,
  h3,
  .summary-value,
  .course-title,
  .detail-value,
  .modal-top h2,
  .modal-header h3
) {
  color: #f8fafc !important;
}

html.dark body :is(.progress-view, .training-plan-view) :is(
  .summary-label,
  .category-path,
  .category-requirement,
  .course-meta,
  .course-meta span,
  .detail-label,
  .modal-path,
  .controls label,
  .course-sub
) {
  color: #94a3b8 !important;
}

html.dark body .progress-view :is(.course-meta span, .modal-tag, .course-count, .back-btn, .modal-close),
html.dark body .training-plan-view :is(.tag, .back-btn, .logout-btn, .close-btn, .filter-actions .ghost) {
  background: rgba(30, 64, 175, 0.28) !important;
  border-color: rgba(96, 165, 250, 0.28) !important;
  color: #bfdbfe !important;
}

html.dark body .progress-view .offline-banner {
  background: rgba(127, 29, 29, 0.34) !important;
  border-color: rgba(248, 113, 113, 0.34) !important;
  color: #fecaca !important;
}

html.dark body .progress-view .state-done,
html.dark body .training-plan-view .tag.ghost {
  background: rgba(20, 83, 45, 0.34) !important;
  border-color: rgba(74, 222, 128, 0.32) !important;
  color: #bbf7d0 !important;
}

html.dark body .progress-view .state-todo {
  background: rgba(127, 29, 29, 0.34) !important;
  border-color: rgba(248, 113, 113, 0.32) !important;
  color: #fecaca !important;
}

html.dark body .progress-view .state-pending {
  background: rgba(120, 53, 15, 0.34) !important;
  border-color: rgba(251, 191, 36, 0.32) !important;
  color: #fde68a !important;
}

html.dark body .training-plan-view :is(.filter-grid select, .filter-grid input) {
  background: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: #e2e8f0 !important;
}

html.dark body .more-shuake-view :is(.menu-group, .menu-card, .menu-item, .status-pill, .icon-btn, .run-item) {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.88)) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  color: #e2e8f0 !important;
}

html.dark body .more-shuake-view :is(.menu-item__body strong, .status-pill strong, .run-item__main strong) {
  color: #f8fafc !important;
}

html.dark body .more-shuake-view :is(.section-title, .menu-item__body p, .menu-arrow, .status-pill span, .run-item__main p, .run-item__side span, .empty-hint) {
  color: #94a3b8 !important;
}

html.dark body .more-shuake-view :is(.menu-item__icon, .section-badge) {
  background: rgba(30, 64, 175, 0.26) !important;
  color: #bfdbfe !important;
}

html.dark body .resource-share-view :is(
  .module-header,
  .path-card,
  .list-card,
  .item-card,
  .preview-modal,
  .preview-body,
  .action-btn,
  .path-btn,
  .crumb-chip,
  .header-btn
) {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.88)) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #e2e8f0 !important;
}

html.dark body .resource-share-view :is(.module-title, .item-title, .preview-head h3) {
  color: #f8fafc !important;
}

html.dark body .resource-share-view :is(.preview-path, .item-time, .meta-size, .empty) {
  color: #94a3b8 !important;
}

html.dark body .resource-share-view :is(.count-chip, .meta-chip, .item-icon) {
  background: rgba(30, 64, 175, 0.26) !important;
  color: #bfdbfe !important;
}

html.dark body .resource-share-view :is(.type-folder, .type-slide) {
  background: rgba(120, 53, 15, 0.34) !important;
  color: #fde68a !important;
}

html.dark body .resource-share-view :is(.type-video, .type-pdf) {
  background: rgba(127, 29, 29, 0.34) !important;
  color: #fecaca !important;
}

html.dark body .resource-share-view :is(.type-audio, .type-image, .type-word) {
  background: rgba(30, 64, 175, 0.28) !important;
  color: #bfdbfe !important;
}

html.dark body .resource-share-view .type-sheet {
  background: rgba(20, 83, 45, 0.34) !important;
  color: #bbf7d0 !important;
}

html.dark body .resource-share-view .type-text,
html.dark body .resource-share-view .type-other {
  background: rgba(51, 65, 85, 0.78) !important;
  color: #cbd5e1 !important;
}

html.dark body .resource-share-view :is(.pdf-viewer, .pdf-tool-btn) {
  background: #111827 !important;
  border-color: rgba(148, 163, 184, 0.26) !important;
  color: #e2e8f0 !important;
}

html.dark body .campus-map-view :is(
  .view-header,
  .intro-card,
  .mini-program-card,
  .map-card,
  .mini-program-code
) {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.88)) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.28) !important;
  color: #e2e8f0 !important;
}

html.dark body .campus-map-view :is(.view-header h1, .mini-program-head h2, .map-meta h3) {
  color: #f8fafc !important;
}

html.dark body .campus-map-view :is(.intro-card, .mini-program-desc, .map-meta p) {
  color: #94a3b8 !important;
}

html.dark body .campus-map-view :is(.header-btn, .mini-program-head span) {
  background: rgba(30, 64, 175, 0.28) !important;
  border-color: rgba(96, 165, 250, 0.28) !important;
  color: #bfdbfe !important;
}

html.dark body .campus-map-view .map-cover {
  background: #0f172a !important;
}

html.dark body .schedule-view {
  background: #07111f !important;
  color: #e2e8f0 !important;
}

html.dark body .schedule-view :is(.schedule-topbar, .date-header, .grid-body, .courses-grid, .day-column, .time-axis, .month-col) {
  background: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
}

html.dark body .schedule-view :is(.topbar-title, .day-num, .month-num, .week-picker-title, .semester-badge-popover-value) {
  color: #f8fafc !important;
}

html.dark body .schedule-view :is(.topbar-semester, .day-label, .month-label, .time-slot, .time-start, .time-end, .semester-badge-popover-title, .semester-badge-popover-desc) {
  color: #94a3b8 !important;
}

html.dark body .schedule-view :is(
  .schedule-topbar .menu-btn,
  .week-selector .ios26-select-trigger,
  .semester-badge-btn,
  .semester-badge-popover,
  .modal-content,
  .add-course-semester,
  .add-field input,
  .add-field select,
  .week-picker-trigger,
  .week-picker-sheet,
  .week-picker-ops button,
  .week-cell,
  .manage-course-card,
  .confirm-modal
) {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.9)) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #e2e8f0 !important;
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.28) !important;
}

html.dark body .schedule-view :is(.menu-bar, .semester-badge-dot) {
  box-shadow: 0 0 0 2px #0f172a !important;
}

html.dark body .schedule-view .menu-bar {
  background: #cbd5e1 !important;
}

html.dark body .schedule-view :is(.add-field > span, .manage-course-card-meta, .confirm-lines, .week-picker-ops button) {
  color: #94a3b8 !important;
}

html.dark body .schedule-view :is(.manage-course-card-name, .confirm-title, .week-picker-title) {
  color: #f8fafc !important;
}

html.dark body .schedule-view .drawer-style-switch {
  background: rgba(15, 23, 42, 0.78) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

html.dark body .schedule-view .week-cell.active {
  background: rgba(37, 99, 235, 0.34) !important;
  border-color: rgba(96, 165, 250, 0.5) !important;
  color: #bfdbfe !important;
}

/* ═══════════════════════════════════════════════════════════════
   夜晚模式专项修复 v3：Forum / ServiceStats / 公告弹窗 / 局部标签
   ═══════════════════════════════════════════════════════════════ */

/* ─── 全局阻断公告弹窗 ─── */
html.dark .notice-confirm-overlay {
  background: rgba(2, 6, 23, 0.72) !important;
}

html.dark .notice-confirm-card,
html.dark .notice-modal {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.92)) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  color: #e2e8f0 !important;
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.45) !important;
}

html.dark .notice-confirm-title,
html.dark .notice-modal-header h3 {
  color: #f8fafc !important;
}

html.dark .notice-confirm-content,
html.dark .notice-modal-content,
html.dark .notice-modal-meta {
  color: #94a3b8 !important;
}

html.dark .notice-link {
  color: #60a5fa !important;
}

/* ─── 校园广场 Forum：覆盖组件内 --stitch-* 浅色预设 ─── */
html.dark .forum-view {
  --stitch-primary: #60a5fa;
  --stitch-primary-container: #2563eb;
  --stitch-primary-fixed: rgba(37, 99, 235, 0.28);
  --stitch-on-primary-fixed: #bfdbfe;
  --stitch-surface: #0f172a;
  --stitch-surface-dim: #1e293b;
  --stitch-surface-low: #111827;
  --stitch-surface-card: #1e293b;
  --stitch-surface-container: #334155;
  --stitch-border: rgba(148, 163, 184, 0.24);
  --stitch-outline: #94a3b8;
  --stitch-text: #e2e8f0;
  --stitch-muted: #94a3b8;
  --stitch-secondary: #cbd5e1;
  --stitch-card-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
  background: #0f172a !important;
  color: #e2e8f0 !important;
}

html.dark .forum-phone-shell {
  background: #111827 !important;
}

html.dark .forum-view .forum-hero-card,
html.dark .forum-view .empty-card,
html.dark .forum-view .thread-card,
html.dark .forum-view .composer-card {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  color: #e2e8f0 !important;
}

html.dark .forum-view .quick-tabs {
  background: rgba(30, 41, 59, 0.72) !important;
}

html.dark .forum-view .forum-topbar {
  background: rgba(15, 23, 42, 0.92) !important;
}

html.dark .forum-view .feed-meta-strip div,
html.dark .forum-view .thread-stat-grid span {
  background: rgba(30, 41, 59, 0.92) !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
}

html.dark .forum-view .feed-meta-strip span,
html.dark .forum-view .thread-stat-grid span {
  color: #94a3b8 !important;
}

html.dark .forum-view .search-card {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
}

html.dark .forum-view .search-card input {
  color: #e2e8f0 !important;
}

html.dark .forum-view .search-card input::-moz-placeholder {
  color: #64748b !important;
}

html.dark .forum-view .search-card input::placeholder {
  color: #64748b !important;
}

html.dark .forum-view .empty-card p,
html.dark .forum-view .section-copy,
html.dark .forum-view .feed-section-head span {
  color: #94a3b8 !important;
}

/* ─── 服务统计 ServiceStatsView：scoped 硬编码浅色 ─── */
html.dark .service-stats-view {
  background: #0f172a !important;
  color: #e2e8f0 !important;
}

html.dark .service-stats-view .back-button,
html.dark .service-stats-view .refresh-button {
  background: #1e293b !important;
  color: #e2e8f0 !important;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.28) !important;
}

html.dark .service-stats-view .header-copy h1,
html.dark .service-stats-view .status-row,
html.dark .service-stats-view .metric-value,
html.dark .service-stats-view .trend-title {
  color: #f8fafc !important;
}

html.dark .service-stats-view .header-kicker,
html.dark .service-stats-view .status-label,
html.dark .service-stats-view .metric-label,
html.dark .service-stats-view .status-meta span {
  color: #94a3b8 !important;
}

html.dark .service-stats-view .status-card,
html.dark .service-stats-view .metric-card,
html.dark .service-stats-view .trend-card,
html.dark .service-stats-view .archive-item {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
  color: #e2e8f0 !important;
}

/* ─── 空教室筛选标签（scoped 固定色优先级问题） ─── */
html.dark .classroom-filter-label {
  color: #cbd5e1 !important;
}

/* ─── 考试安排次要文字 ─── */
html.dark .exam-updated-at {
  color: #94a3b8 !important;
}

/* ─── 超星签到刷新按钮 ─── */
html.dark .more-chaoxing-checkin-view .icon-btn {
  color: #e2e8f0 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  background: rgba(30, 41, 59, 0.88) !important;
}

/* ─── 首页维护横幅暗色化 ─── */
html.dark .bg-orange-50 {
  background-color: rgba(120, 53, 15, 0.28) !important;
}

html.dark .border-orange-200 {
  border-color: rgba(251, 146, 60, 0.28) !important;
}

html.dark .text-orange-700 {
  color: #fdba74 !important;
}

html.dark .text-orange-600 {
  color: #fb923c !important;
}

/* ─── 检查更新弹窗 UpdateDialog ─── */
html.dark .update-dialog {
  background: #1e293b !important;
  color: #e2e8f0 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55) !important;
}

html.dark .update-dialog .dialog-content {
  color: #e2e8f0 !important;
}

html.dark .update-dialog .checking p,
html.dark .update-dialog .version-badge.current,
html.dark .update-dialog .notes-content,
html.dark .update-dialog .platform-info,
html.dark .update-dialog .up-to-date p,
html.dark .update-dialog .up-to-date .version,
html.dark .update-dialog .error {
  color: #94a3b8 !important;
}

html.dark .update-dialog .release-notes {
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
}

html.dark .update-dialog .release-notes h4,
html.dark .update-dialog .source-table-header,
html.dark .update-dialog .source-label {
  color: #e2e8f0 !important;
}

html.dark .update-dialog .version-badge.current {
  background: rgba(148, 163, 184, 0.16) !important;
}

html.dark .update-dialog .source-table {
  border-color: rgba(148, 163, 184, 0.2) !important;
}

html.dark .update-dialog .source-table-header,
html.dark .update-dialog .source-row {
  background: rgba(15, 23, 42, 0.55) !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
}

html.dark .update-dialog .source-row:hover,
html.dark .update-dialog .source-row:active {
  background: rgba(59, 130, 246, 0.12) !important;
}

html.dark .update-dialog .retest-btn {
  background: rgba(59, 130, 246, 0.14) !important;
  border-color: rgba(96, 165, 250, 0.35) !important;
  color: #93c5fd !important;
}

html.dark .update-dialog .dialog-actions {
  background: rgba(15, 23, 42, 0.88) !important;
  border-top-color: rgba(148, 163, 184, 0.18) !important;
}

html.dark .update-dialog .btn-secondary {
  background: #334155 !important;
  color: #e2e8f0 !important;
}

html.dark .update-dialog .download-progress {
  background: rgba(59, 130, 246, 0.12) !important;
}

html.dark .update-dialog .progress-bar {
  background: rgba(59, 130, 246, 0.22) !important;
}

html.dark .update-dialog .spinner {
  border-color: rgba(148, 163, 184, 0.25) !important;
  border-top-color: var(--ui-primary, #60a5fa) !important;
}

html.dark .update-dialog .speed-ok {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #6ee7b7 !important;
}

html.dark .update-dialog .speed-slow {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #fcd34d !important;
}

html.dark .update-dialog .speed-fail {
  background: rgba(239, 68, 68, 0.18) !important;
  color: #fca5a5 !important;
}

html.dark .update-dialog .speed-testing {
  background: rgba(59, 130, 246, 0.18) !important;
  color: #93c5fd !important;
}

html.dark .update-dialog .status-icon {
  color: #93c5fd !important;
}

html.dark .update-dialog .status-icon--success {
  color: #34d399 !important;
}

html.dark .update-dialog .status-icon--warn {
  color: #fbbf24 !important;
}

/* ─── 开源说明 / 赞助弹窗（MeView modal-card 子元素） ─── */
html.dark .modal-card h3 {
  color: #e2e8f0 !important;
}

html.dark .modal-card .intro,
html.dark .modal-card .label,
html.dark .modal-card .opensource-list,
html.dark .modal-card .opensource-list li,
html.dark .modal-card .thanks p {
  color: #94a3b8 !important;
}

html.dark .modal-card .github-link {
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  color: #93c5fd !important;
}

html.dark .modal-card .thanks {
  background: rgba(15, 23, 42, 0.72) !important;
  border-left-color: #60a5fa !important;
}

html.dark .modal-card .thanks .highlight {
  color: #93c5fd !important;
}

html.dark .modal-card .tag {
  background: rgba(59, 130, 246, 0.22) !important;
  color: #dbeafe !important;
}

html.dark .modal-card .opensource-title-icon {
  color: #93c5fd !important;
}

/* 快捷入口课表图标：避免被首页维护横幅的 bg-orange-50 规则覆盖 */
html.dark .quick-entry-icon.bg-orange-50 {
  background-color: rgba(249, 115, 22, 0.15) !important;
}

/* Campus guide POI card — dark mode readable contrast */
html.dark .campus-poi-card {
  background: rgba(30, 41, 59, 0.98) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

html.dark .campus-poi-close {
  color: #94a3b8 !important;
}

html.dark .campus-poi-head h3 {
  color: #f8fafc !important;
}

html.dark .campus-poi-head span {
  color: #7dd3fc !important;
}

html.dark .campus-poi-desc {
  color: #cbd5e1 !important;
}

html.dark .campus-poi-actions button {
  background: rgba(15, 23, 42, 0.72) !important;
  border-color: rgba(125, 211, 252, 0.28) !important;
  color: #7dd3fc !important;
}

html.dark .campus-poi-actions button.primary {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #fff !important;
}

html.dark .campus-guide-status {
  background: rgba(30, 41, 59, 0.94) !important;
  color: #e2e8f0 !important;
}

html.dark .campus-guide-status.is-error {
  color: #fecaca !important;
}

.update-dialog-overlay[data-v-59735b13] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.update-dialog[data-v-59735b13] {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.dialog-header[data-v-59735b13] {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--ui-primary, #6366f1);
  color: white;
}
.dialog-header .dialog-header-icon[data-v-59735b13] {
  font-size: 28px;
  line-height: 1;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}
.dialog-header h3[data-v-59735b13] { margin: 0; font-size: 20px; font-weight: 700;
}
.channel-row[data-v-59735b13] {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.12);
}
.channel-copy[data-v-59735b13] {
  flex: 1;
  min-width: 0;
}
.channel-copy strong[data-v-59735b13] {
  display: block;
  font-size: 14px;
  color: #0f172a;
}
.channel-copy p[data-v-59735b13] {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
}
.channel-copy code[data-v-59735b13] {
  font-size: 11px;
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.06);
}
.channel-switch[data-v-59735b13] {
  position: relative;
  width: 48px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 160ms ease;
}
.channel-switch.on[data-v-59735b13] {
  background: #7c3aed;
}
.channel-knob[data-v-59735b13] {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
  transition: transform 160ms ease;
}
.channel-switch.on .channel-knob[data-v-59735b13] {
  transform: translateX(20px);
}
.install-hint[data-v-59735b13] {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #b45309;
}
.channel-badge-row[data-v-59735b13] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.channel-pill[data-v-59735b13] {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #eef2ff;
  color: #4338ca;
}
.channel-pill[data-channel='dev'][data-v-59735b13] {
  background: #f5f3ff;
  color: #6d28d9;
}
.version-badge.new[data-channel='dev'][data-v-59735b13] {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}
.version.muted[data-v-59735b13] {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.65;
}
.dialog-content[data-v-59735b13] {
  padding: 20px;
  min-height: 120px;
  max-height: 60vh;
  overflow-y: auto;
}
.checking[data-v-59735b13] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}
.spinner[data-v-59735b13] {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: var(--ui-primary, #6366f1);
  border-radius: 50%;
  animation: spin-59735b13 1s linear infinite;
}
@keyframes spin-59735b13 {
to { transform: rotate(360deg);
}
}
.checking p[data-v-59735b13] { margin: 12px 0 0; color: #6b7280;
}
.version-info[data-v-59735b13] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.version-badge[data-v-59735b13] {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}
.version-badge.new[data-v-59735b13] { background: #10b981; color: white;
}
.version-badge.current[data-v-59735b13] { background: #f3f4f6; color: #6b7280;
}
.version-badge.current[data-install='dev'][data-v-59735b13] {
  background: #fef3c7;
  color: #92400e;
}
.arrow[data-v-59735b13] { font-size: 20px; color: #9ca3af;
}
.release-notes[data-v-59735b13] {
  background: #f9fafb;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}
.release-notes h4[data-v-59735b13] { margin: 0 0 8px; font-size: 14px; color: #374151;
}
.notes-content[data-v-59735b13] {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  max-height: 120px;
  overflow-y: auto;
}
.platform-info[data-v-59735b13] {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 12px;
}
.platform-line[data-v-59735b13] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.platform-icon[data-v-59735b13] {
  font-size: 16px;
  line-height: 1;
}

/* 下载源选择表 */
.source-table[data-v-59735b13] {
  margin: 16px 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}
.source-table-header[data-v-59735b13] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.retest-btn[data-v-59735b13] {
  padding: 4px 10px;
  font-size: 11px;
  color: #6366f1;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.retest-btn[data-v-59735b13]:hover { background: #e0e7ff;
}
.source-list[data-v-59735b13] { display: flex; flex-direction: column;
}
.source-row[data-v-59735b13] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #f3f4f6;
}
.source-row[data-v-59735b13]:last-child { border-bottom: none;
}
.source-row[data-v-59735b13]:hover { background: #f0f9ff;
}
.source-row[data-v-59735b13]:active { background: #e0f2fe;
}
.source-label[data-v-59735b13] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
}
.source-icon[data-v-59735b13] {
  font-size: 18px;
  line-height: 1;
  color: var(--ui-primary, #6366f1);
}
.source-speed[data-v-59735b13] { display: flex; align-items: center;
}
.speed-badge[data-v-59735b13] {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.speed-ok[data-v-59735b13] {
  background: #d1fae5;
  color: #059669;
}
.speed-slow[data-v-59735b13] {
  background: #fef3c7;
  color: #d97706;
}
.speed-fail[data-v-59735b13] {
  background: #fee2e2;
  color: #dc2626;
}
.speed-testing[data-v-59735b13] {
  background: #e0e7ff;
  color: #6366f1;
  animation: pulse-59735b13 1s infinite;
}
@keyframes pulse-59735b13 {
0%, 100% { opacity: 1;
}
50% { opacity: 0.5;
}
}
.up-to-date[data-v-59735b13] {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}
.up-to-date .status-icon[data-v-59735b13],
.error .status-icon[data-v-59735b13] {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 12px;
  color: #6366f1;
}
.up-to-date .status-icon--success[data-v-59735b13] {
  color: #10b981;
}
.error .status-icon--warn[data-v-59735b13] {
  color: #f59e0b;
}
.up-to-date p[data-v-59735b13] { margin: 0; font-size: 18px; font-weight: 600; color: #374151;
}
.up-to-date .version[data-v-59735b13] { margin-top: 4px; color: #9ca3af; font-size: 14px;
}
.error[data-v-59735b13] {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  color: #6b7280;
}
.error p[data-v-59735b13] { margin: 0 0 16px 0; text-align: center;
}
.retry-btn[data-v-59735b13] {
  padding: 8px 20px;
  background: var(--ui-primary, #6366f1);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}
.dialog-actions[data-v-59735b13] {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}
.dialog-actions button[data-v-59735b13] {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}
.dialog-actions button[data-v-59735b13]:active { transform: scale(0.98);
}
.dialog-actions button[data-v-59735b13]:disabled { opacity: 0.6; cursor: not-allowed;
}
.dialog-actions .update-action-secondary[data-v-59735b13] { flex: 0 0 34%;
}
.dialog-actions .update-action-primary[data-v-59735b13] { flex: 1.35;
}
.btn-primary[data-v-59735b13] { background: var(--ui-primary, #6366f1); color: white;
}
.btn-secondary[data-v-59735b13] { background: #e5e7eb; color: #374151;
}
.download-progress[data-v-59735b13] {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  padding: 12px;
  background: #f0f9ff;
  border-radius: 12px;
}
.progress-bar[data-v-59735b13] {
  flex: 1;
  height: 8px;
  background: #e0e7ff;
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill[data-v-59735b13] {
  height: 100%;
  background: var(--ui-primary, #6366f1);
  border-radius: 4px;
  transition: width 0.3s ease;
}
.progress-text[data-v-59735b13] {
  font-size: 14px;
  font-weight: 600;
  color: #6366f1;
  min-width: 45px;
  text-align: right;
}

.toast-container[data-v-004e62ac] {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  backdrop-filter: blur(10px);
}
.toast-container.info[data-v-004e62ac] {
  background: rgba(30, 41, 59, 0.82);
  color: white;
}
.toast-container.success[data-v-004e62ac] {
  background: rgba(16, 185, 129, 0.9);
  color: white;
}
.toast-container.warning[data-v-004e62ac] {
  background: rgba(245, 158, 11, 0.9);
  color: white;
}
.toast-container.error[data-v-004e62ac] {
  background: rgba(239, 68, 68, 0.9);
  color: white;
}
.toast-fade-enter-active[data-v-004e62ac],
.toast-fade-leave-active[data-v-004e62ac] {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast-fade-enter-from[data-v-004e62ac],
.toast-fade-leave-to[data-v-004e62ac] {
  opacity: 0;
  transform: translate(-50%, -20px);
}

/* ═══════════════════════════════════════════
   根容器
   ═══════════════════════════════════════════ */
.splash-root[data-v-4fde983f] {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  will-change: opacity;
  contain: layout style;
}
.splash-fade-out[data-v-4fde983f] {
  animation: splashFadeOut-4fde983f 0.3s ease-out forwards;
  pointer-events: none;
}
.splash-fade-out .splash-bg-image[data-v-4fde983f],
.splash-fade-out .splash-particles[data-v-4fde983f],
.splash-fade-out .spinner-ring[data-v-4fde983f],
.splash-fade-out .spinner-dot[data-v-4fde983f],
.splash-fade-out .splash-building[data-v-4fde983f],
.splash-fade-out .splash-logo[data-v-4fde983f] {
  animation-play-state: paused !important;
}
.splash-fade-out .splash-bg-overlay[data-v-4fde983f] {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ═══════════════════════════════════════════
   背景
   ═══════════════════════════════════════════ */
.splash-bg[data-v-4fde983f] {
  position: absolute;
  inset: 0;
}
.splash-bg-image[data-v-4fde983f] {
  position: absolute;
  inset: 0;
  background:
    url('../splash/cas_bg.webp') center/cover no-repeat,
    linear-gradient(145deg, #0f172a 0%, #0f4c81 42%, #1d4ed8 100%);
  animation: bgKen-4fde983f 20s ease-in-out infinite alternate;
  will-change: transform;
}
.splash-bg-overlay[data-v-4fde983f] {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 100%, rgba(34, 211, 238, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.35) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* ── 粒子 ── */
.splash-particles[data-v-4fde983f] {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particle[data-v-4fde983f] {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  left: calc(5% * var(--i));
  top: calc(100% + 10px);
  animation: particleRise-4fde983f calc(4s + var(--i) * 0.3s) calc(var(--i) * 0.15s) ease-in infinite;
  opacity: 0;
}
.particle[data-v-4fde983f]:nth-child(odd) {
  width: 3px;
  height: 3px;
  background: rgba(99, 102, 241, 0.6);
}
.particle[data-v-4fde983f]:nth-child(3n) {
  width: 5px;
  height: 5px;
  background: rgba(34, 211, 238, 0.5);
}

/* ═══════════════════════════════════════════
   内容
   ═══════════════════════════════════════════ */
.splash-content[data-v-4fde983f] {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  width: 100%;
  max-width: 420px;
}

/* ── 品牌 ── */
.splash-brand[data-v-4fde983f] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand-enter[data-v-4fde983f] {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.splash-logo-ring[data-v-4fde983f] {
  position: relative;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.splash-logo-ring[data-v-4fde983f]::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(99, 102, 241, 0.8),
    rgba(168, 85, 247, 0.6),
    rgba(34, 211, 238, 0.8),
    rgba(99, 102, 241, 0.8)
  );
  animation: logoRingSpin-4fde983f 3s linear infinite;
  filter: blur(1px);
}
.splash-logo-ring[data-v-4fde983f]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: white;
  box-shadow:
    0 0 30px rgba(99, 102, 241, 0.3),
    0 0 60px rgba(99, 102, 241, 0.15);
}
.splash-logo[data-v-4fde983f] {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  -o-object-fit: contain;
     object-fit: contain;
  animation: logoPulse-4fde983f 2s ease-in-out infinite;
}
.splash-title[data-v-4fde983f] {
  font-size: 28px;
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(99, 102, 241, 0.4);
  margin: 0;
  font-family: var(--ui-font-family);
}
.splash-subtitle[data-v-4fde983f] {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 4px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  margin: 0;
  font-family: var(--ui-font-family);
}

/* ── 插画 ── */
.splash-illustration[data-v-4fde983f] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.illustration-enter[data-v-4fde983f] {
  opacity: 1;
  transform: translateY(0);
}
.splash-building[data-v-4fde983f] {
  width: min(280px, 70vw);
  max-height: 140px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(99, 102, 241, 0.3)) brightness(1.05);
  animation: buildingFloat-4fde983f 4s ease-in-out infinite;
}

/* ── 加载器 ── */
.splash-loader[data-v-4fde983f] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.loader-enter[data-v-4fde983f] {
  opacity: 1;
  transform: translateY(0);
}
.loader-spinner[data-v-4fde983f] {
  position: relative;
  width: 48px;
  height: 48px;
}
.spinner-ring[data-v-4fde983f] {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.9);
  animation: spinnerSpin-4fde983f 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.spinner-ring-2[data-v-4fde983f] {
  inset: 5px;
  border-top-color: rgba(99, 102, 241, 0.8);
  animation-duration: 1.6s;
  animation-direction: reverse;
}
.spinner-ring-3[data-v-4fde983f] {
  inset: 10px;
  border-top-color: rgba(34, 211, 238, 0.7);
  animation-duration: 2s;
}
.spinner-dot[data-v-4fde983f] {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  animation: dotPulse-4fde983f 1.2s ease-in-out infinite;
}
.loader-text[data-v-4fde983f] {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  margin: 0;
  font-family: var(--ui-font-family);
  min-width: 180px;
  text-align: center;
}

/* ═══════════════════════════════════════════
   动画
   ═══════════════════════════════════════════ */
@keyframes bgKen-4fde983f {
0%   { transform: scale(1);
}
100% { transform: scale(1.08);
}
}
@keyframes logoRingSpin-4fde983f {
to { transform: rotate(360deg);
}
}
@keyframes logoPulse-4fde983f {
0%, 100% { transform: scale(1);
}
50%      { transform: scale(1.05);
}
}
@keyframes buildingFloat-4fde983f {
0%, 100% { transform: translateY(0);
}
50%      { transform: translateY(-8px);
}
}
@keyframes spinnerSpin-4fde983f {
to { transform: rotate(360deg);
}
}
@keyframes dotPulse-4fde983f {
0%, 100% { opacity: 0.4; transform: scale(0.8);
}
50%      { opacity: 1;   transform: scale(1.2);
}
}
@keyframes particleRise-4fde983f {
0%   { opacity: 0; transform: translateY(0) scale(0);
}
10%  { opacity: 0.8; transform: translateY(-20px) scale(1);
}
90%  { opacity: 0.3;
}
100% { opacity: 0; transform: translateY(calc(-100vh - 20px)) scale(0.5);
}
}
@keyframes splashFadeOut-4fde983f {
0%   { opacity: 1;
}
100% { opacity: 0;
}
}

/* ═══════════════════════════════════════════
   退出过渡
   ═══════════════════════════════════════════ */
.splash-leave-enter-active[data-v-4fde983f],
.splash-leave-leave-active[data-v-4fde983f] {
  transition: opacity 0.3s ease;
}
.splash-leave-enter-from[data-v-4fde983f],
.splash-leave-leave-to[data-v-4fde983f] {
  opacity: 0;
}

/* ═══════════════════════════════════════════
   响应式
   ═══════════════════════════════════════════ */
@media (max-height: 580px) {
.splash-illustration[data-v-4fde983f] { display: none;
}
.splash-content[data-v-4fde983f] { gap: 16px;
}
.splash-logo-ring[data-v-4fde983f] { width: 72px; height: 72px;
}
.splash-logo[data-v-4fde983f] { width: 44px; height: 44px;
}
.splash-title[data-v-4fde983f] { font-size: 24px;
}
}
@media (min-width: 768px) {
.splash-building[data-v-4fde983f] { width: min(360px, 50vw); max-height: 180px;
}
.splash-title[data-v-4fde983f] { font-size: 32px; letter-spacing: 3px;
}
.splash-subtitle[data-v-4fde983f] { font-size: 15px; letter-spacing: 6px;
}
}

.demo-mode-banner[data-v-028123ed] {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 12px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in oklab, #fef3c7 88%, #fff 12%);
  border: 1px solid color-mix(in oklab, #f59e0b 35%, transparent);
  color: #78350f;
  font-size: 12px;
  line-height: 1.45;
  z-index: 20;
}
.demo-mode-banner__text[data-v-028123ed] {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.demo-mode-banner__en[data-v-028123ed] {
  opacity: 0.85;
  font-size: 11px;
}
.demo-mode-banner__close[data-v-028123ed] {
  border: none;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  padding: 0 4px;
}

.t-card__header[data-v-2275a01a] {
  padding-bottom: calc(12px * var(--ui-space-scale));
  margin-bottom: calc(12px * var(--ui-space-scale));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  font-weight: 700;
  font-size: calc(15px * var(--ui-font-scale));
  color: var(--ui-text);
}
.t-card__body[data-v-2275a01a] {
  color: var(--ui-text);
}
.t-card__footer[data-v-2275a01a] {
  padding-top: calc(12px * var(--ui-space-scale));
  margin-top: calc(12px * var(--ui-space-scale));
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}
.t-card--compact[data-v-2275a01a] {
  padding: calc(1rem * var(--ui-space-scale)) !important;
}

.t-state[data-v-1c4d91f6] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(3rem * var(--ui-space-scale)) calc(1.5rem * var(--ui-space-scale));
  text-align: center;
  color: var(--ui-muted);
}
.t-state__icon[data-v-1c4d91f6] {
  font-size: 3rem;
  margin-bottom: calc(12px * var(--ui-space-scale));
  line-height: 1;
}
.t-state__message[data-v-1c4d91f6] {
  margin: 0;
  font-size: calc(14px * var(--ui-font-scale));
  font-weight: 500;
  opacity: 0.8;
}
.t-state__spinner[data-v-1c4d91f6] {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(99, 102, 241, 0.18);
  border-top-color: var(--ui-primary);
  border-radius: 50%;
  animation: t-spin-1c4d91f6 0.7s linear infinite;
  margin-bottom: calc(14px * var(--ui-space-scale));
}
.t-state--error .t-state__message[data-v-1c4d91f6] {
  color: var(--ui-danger);
}
@keyframes t-spin-1c4d91f6 {
to { transform: rotate(360deg);
}
}

.t-modal__overlay[data-v-826bb601] {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  padding: 16px;
}
.t-modal__container[data-v-826bb601] {
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: calc(20px * var(--ui-radius-scale)) !important;
}
.t-modal__header[data-v-826bb601] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: calc(14px * var(--ui-space-scale));
}
.t-modal__title[data-v-826bb601] {
  margin: 0;
  font-size: calc(17px * var(--ui-font-scale));
  font-weight: 800;
  color: var(--ui-text);
}
.t-modal__close[data-v-826bb601] {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.14);
  color: var(--ui-muted);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.t-modal__close[data-v-826bb601]:hover {
  background: rgba(239, 68, 68, 0.12);
  color: var(--ui-danger);
}
.t-modal__body[data-v-826bb601] {
  color: var(--ui-text);
}
.t-modal__footer[data-v-826bb601] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: calc(14px * var(--ui-space-scale));
  margin-top: calc(14px * var(--ui-space-scale));
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}
.t-modal-enter-active[data-v-826bb601],
.t-modal-leave-active[data-v-826bb601] {
  transition: opacity calc(0.2s * var(--ui-motion-scale)) ease;
}
.t-modal-enter-active .t-modal__container[data-v-826bb601],
.t-modal-leave-active .t-modal__container[data-v-826bb601] {
  transition: transform calc(0.2s * var(--ui-motion-scale)) ease;
}
.t-modal-enter-from[data-v-826bb601],
.t-modal-leave-to[data-v-826bb601] {
  opacity: 0;
}
.t-modal-enter-from .t-modal__container[data-v-826bb601] {
  transform: scale(0.92) translateY(12px);
}
.t-modal-leave-to .t-modal__container[data-v-826bb601] {
  transform: scale(0.95) translateY(6px);
}

.t-list-item[data-v-6b8a99f6] {
  display: flex;
  align-items: center;
  gap: calc(12px * var(--ui-space-scale));
  padding: calc(14px * var(--ui-space-scale)) calc(16px * var(--ui-space-scale));
  border-radius: var(--ux-card-radius-sm, 12px);
  transition: background calc(0.15s * var(--ui-motion-scale)) ease;
}
.t-list-item--clickable[data-v-6b8a99f6] {
  cursor: pointer;
}
.t-list-item--clickable[data-v-6b8a99f6]:hover {
  background: var(--ui-primary-soft);
}
.t-list-item--clickable[data-v-6b8a99f6]:active {
  background: var(--ui-primary-soft-strong);
}
.t-list-item__icon[data-v-6b8a99f6] {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
  font-size: 18px;
}
.t-list-item__content[data-v-6b8a99f6] {
  flex: 1;
  min-width: 0;
}
.t-list-item__action[data-v-6b8a99f6] {
  flex-shrink: 0;
}
.t-list-item__arrow[data-v-6b8a99f6] {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--ui-muted);
  opacity: 0.5;
  font-weight: 300;
}

.t-badge[data-v-45408d6f] {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: calc(12px * var(--ui-font-scale));
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.t-badge--primary[data-v-45408d6f] {
  border: 1px solid color-mix(in oklab, var(--ui-primary) 26%, transparent);
  background: color-mix(in oklab, var(--ui-primary) 12%, #fff 88%);
  color: var(--ui-primary);
}
.t-badge--success[data-v-45408d6f] {
  border: 1px solid color-mix(in oklab, var(--ui-success) 26%, transparent);
  background: color-mix(in oklab, var(--ui-success) 12%, #fff 88%);
  color: var(--ui-success);
}
.t-badge--danger[data-v-45408d6f] {
  border: 1px solid color-mix(in oklab, var(--ui-danger) 26%, transparent);
  background: color-mix(in oklab, var(--ui-danger) 12%, #fff 88%);
  color: var(--ui-danger);
}
.t-badge--warning[data-v-45408d6f] {
  border: 1px solid color-mix(in oklab, #f59e0b 26%, transparent);
  background: color-mix(in oklab, #f59e0b 12%, #fff 88%);
  color: #b45309;
}
.t-badge--info[data-v-45408d6f] {
  border: 1px solid color-mix(in oklab, #06b6d4 26%, transparent);
  background: color-mix(in oklab, #06b6d4 12%, #fff 88%);
  color: #0e7490;
}
.t-badge--muted[data-v-45408d6f] {
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(148, 163, 184, 0.1);
  color: var(--ui-muted);
}

.t-action-bar[data-v-4945e37e] {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(12px * var(--ui-space-scale));
  padding: calc(12px * var(--ui-space-scale)) calc(16px * var(--ui-space-scale)) calc(12px * var(--ui-space-scale) + env(safe-area-inset-bottom)) !important;
  border-radius: calc(16px * var(--ui-radius-scale)) calc(16px * var(--ui-radius-scale)) 0 0 !important;
  border-bottom: none !important;
}

.t-section[data-v-c227bf67] {
  margin-bottom: calc(16px * var(--ui-space-scale));
}
.t-section--flush[data-v-c227bf67] {
  margin-bottom: 0;
}
.t-section__title[data-v-c227bf67] {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 calc(10px * var(--ui-space-scale));
  font-size: calc(15px * var(--ui-font-scale));
  font-weight: 800;
  color: var(--ui-text);
  letter-spacing: 0.2px;
}
.t-section__icon[data-v-c227bf67] {
  font-size: 1.1em;
}
.t-section__badge[data-v-c227bf67] {
  margin-left: auto;
}

.workspace-editor[data-v-6a63e9f5] {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.workspace-editor__hero[data-v-6a63e9f5] {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.workspace-editor__hero strong[data-v-6a63e9f5] {
  display: block;
  font-size: calc(16px * var(--ui-font-scale));
  color: var(--ui-text);
}
.workspace-editor__hero p[data-v-6a63e9f5] {
  margin: 6px 0 0;
  font-size: calc(13px * var(--ui-font-scale));
  line-height: 1.6;
  color: var(--ui-muted);
}
.workspace-editor__tabs[data-v-6a63e9f5] {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}
.workspace-editor__tab[data-v-6a63e9f5],
.ghost-btn[data-v-6a63e9f5],
.primary-btn[data-v-6a63e9f5] {
  border-radius: calc(12px * var(--ui-radius-scale));
  border: 1px solid color-mix(in oklab, var(--ui-primary) 18%, rgba(148, 163, 184, 0.34));
  padding: 10px 14px;
  font-size: calc(13px * var(--ui-font-scale));
  font-weight: 700;
  cursor: pointer;
  transition:
    transform calc(0.16s * var(--ui-motion-scale)) ease,
    box-shadow calc(0.16s * var(--ui-motion-scale)) ease,
    background calc(0.16s * var(--ui-motion-scale)) ease;
}
.workspace-editor__tab[data-v-6a63e9f5],
.ghost-btn[data-v-6a63e9f5] {
  background: color-mix(in oklab, var(--ui-surface) 90%, #fff 10%);
  color: var(--ui-text);
}
.workspace-editor__tab.active[data-v-6a63e9f5] {
  background: color-mix(in oklab, var(--ui-primary-soft) 60%, #fff 40%);
  border-color: color-mix(in oklab, var(--ui-primary) 28%, rgba(148, 163, 184, 0.42));
  box-shadow: var(--ui-shadow-soft);
}
.primary-btn[data-v-6a63e9f5] {
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-secondary));
  color: #fff;
}
.workspace-section[data-v-6a63e9f5] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.workspace-section__head[data-v-6a63e9f5] {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.workspace-section__head h4[data-v-6a63e9f5] {
  margin: 0;
  font-size: calc(15px * var(--ui-font-scale));
  color: var(--ui-text);
}
.workspace-section__head span[data-v-6a63e9f5] {
  font-size: calc(12px * var(--ui-font-scale));
  color: var(--ui-muted);
}
.workspace-list[data-v-6a63e9f5],
.workspace-grid[data-v-6a63e9f5] {
  display: grid;
  gap: 12px;
}
.workspace-grid[data-v-6a63e9f5] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.workspace-card[data-v-6a63e9f5] {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  border-radius: calc(18px * var(--ui-radius-scale));
  border: 1px solid color-mix(in oklab, var(--ui-primary) 16%, rgba(148, 163, 184, 0.3));
  background: color-mix(in oklab, var(--ui-surface) 92%, #fff 8%);
  box-shadow: var(--ui-shadow-soft);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.workspace-card.dragging[data-v-6a63e9f5] {
  opacity: 0.72;
  transform: scale(0.985);
}
.workspace-card--module[data-v-6a63e9f5] {
  min-height: 102px;
}
.workspace-card__handle[data-v-6a63e9f5] {
  border: 1px dashed color-mix(in oklab, var(--ui-primary) 28%, rgba(148, 163, 184, 0.4));
  border-radius: calc(12px * var(--ui-radius-scale));
  background: color-mix(in oklab, var(--ui-primary-soft) 42%, #fff 58%);
  color: var(--ui-primary);
  font-size: 15px;
  font-weight: 700;
  cursor: grab;
  min-height: 100%;
}
.workspace-card__handle[data-v-6a63e9f5]:active {
  cursor: grabbing;
}
.workspace-card__body[data-v-6a63e9f5] {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.workspace-card__body strong[data-v-6a63e9f5] {
  font-size: calc(14px * var(--ui-font-scale));
  color: var(--ui-text);
}
.workspace-card__body span[data-v-6a63e9f5] {
  font-size: calc(12px * var(--ui-font-scale));
  line-height: 1.5;
  color: var(--ui-muted);
}
.workspace-editor__footer[data-v-6a63e9f5] {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid color-mix(in oklab, var(--ui-primary) 14%, rgba(148, 163, 184, 0.28));
}
@media (max-width: 860px) {
.workspace-editor__hero[data-v-6a63e9f5] {
    flex-direction: column;
}
.workspace-grid[data-v-6a63e9f5] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 560px) {
.workspace-grid[data-v-6a63e9f5] {
    grid-template-columns: 1fr;
}
.workspace-editor__footer[data-v-6a63e9f5] {
    flex-wrap: wrap;
}
.workspace-editor__footer > button[data-v-6a63e9f5] {
    flex: 1 1 calc(50% - 8px);
}
}

.fade-enter-active[data-v-c4a6fb30],
.fade-leave-active[data-v-c4a6fb30] {
  transition: opacity 0.3s ease;
}
.fade-enter-from[data-v-c4a6fb30],
.fade-leave-to[data-v-c4a6fb30] {
  opacity: 0;
}
.coming-soon-page[data-v-c4a6fb30] {
  min-height: calc(var(--app-vh, 1vh) * 100);
  background: var(--ui-bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}
.coming-soon-content[data-v-c4a6fb30] {
  text-align: center;
  color: #fff;
}
.coming-soon-content .emoji[data-v-c4a6fb30] {
  font-size: 80px;
  margin-bottom: 20px;
}
.coming-soon-content h2[data-v-c4a6fb30] {
  font-size: 28px;
  margin-bottom: 12px;
}
.coming-soon-content p[data-v-c4a6fb30] {
  opacity: 0.8;
  margin-bottom: 24px;
}
.coming-soon-content button[data-v-c4a6fb30] {
  padding: 12px 32px;
  background: var(--ui-surface);
  color: var(--ui-primary);
  border: none;
  border-radius: 99px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  transition: transform 0.2s;
}
.coming-soon-content button[data-v-c4a6fb30]:hover {
  transform: scale(1.05);
}
.select-text[data-v-c4a6fb30] {
  -moz-user-select: text;
       user-select: text;
  -webkit-user-select: text;
}
.coming-soon-content button[data-v-c4a6fb30]:hover {
  transform: scale(1.05);
}
.view-transition-root[data-v-c4a6fb30] {
  width: 100%;
  min-height: 100%;
}
.module-fade-enter-active[data-v-c4a6fb30],
.module-fade-leave-active[data-v-c4a6fb30] {
  transition:
    opacity calc(0.16s * var(--ui-motion-scale)) ease,
    transform calc(0.16s * var(--ui-motion-scale)) ease;
}
.module-fade-enter-from[data-v-c4a6fb30],
.module-fade-leave-to[data-v-c4a6fb30] {
  opacity: 0;
  transform: translateY(4px);
}
@media (prefers-reduced-motion: reduce) {
.module-fade-enter-active[data-v-c4a6fb30],
  .module-fade-leave-active[data-v-c4a6fb30] {
    transition: none;
}
}
.app-shell[data-v-c4a6fb30] {
  --safe-top-fallback: 0px;
  min-height: calc(var(--app-vh, 1vh) * 100);
  height: calc(var(--app-vh, 1vh) * 100);
  position: relative;
  padding-top: env(safe-area-inset-top);
  padding-bottom: calc(128px + var(--app-safe-bottom));
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  /* 隐藏滚动条 */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.app-shell[data-v-c4a6fb30]::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.app-shell.no-scroll[data-v-c4a6fb30] {
  height: calc(var(--app-vh, 1vh) * 100);
  overflow: hidden;
  padding-bottom: var(--app-safe-bottom);
}
.app-shell.ai-full[data-v-c4a6fb30] {
  padding-bottom: 0;
}
.app-shell.ai-full > .view-transition-root[data-v-c4a6fb30] {
  min-height: 100%;
  height: 100%;
  display: flex;
}
.app-shell.ai-full > .view-transition-root > .ai-view[data-v-c4a6fb30] {
  width: 100%;
  min-height: 100%;
  height: 100% !important;
}
.app-shell.ios-safe[data-v-c4a6fb30] {
  --safe-top-fallback: 44px;
}
.app-shell.schedule-full[data-v-c4a6fb30] {
  --schedule-safe-top: max(env(safe-area-inset-top), var(--safe-top-fallback, 0px));
  padding-top: var(--schedule-safe-top);
  padding-bottom: calc(128px + var(--app-safe-bottom));
  overflow: hidden;
}
.app-shell.schedule-full > .schedule-view[data-v-c4a6fb30],
.app-shell.schedule-full > .view-transition-root > .schedule-view[data-v-c4a6fb30] {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  min-height: calc(
    var(--app-vh, 1vh) * 100 - var(--schedule-safe-top)
  ) !important;
  height: calc(
    var(--app-vh, 1vh) * 100 - var(--schedule-safe-top)
  ) !important;
  padding: 0 !important;
}
@media (max-width: 900px) {
.app-shell.schedule-full[data-v-c4a6fb30] {
    --schedule-safe-top: max(env(safe-area-inset-top), var(--safe-top-fallback, 0px));
}
}

/* 统一业务页面高度策略：避免子页面写死 100vh 导致进入后再次缩放 */
.app-shell > .dashboard[data-v-c4a6fb30],
.app-shell > [class$='-view'][data-v-c4a6fb30]:not(.schedule-view):not(.ai-view),
.app-shell > .view-transition-root > .dashboard[data-v-c4a6fb30],
.app-shell > .view-transition-root > [class$='-view'][data-v-c4a6fb30]:not(.schedule-view):not(.ai-view) {
  min-height: calc(var(--app-vh, 1vh) * 100) !important;
  height: auto !important;
}
.app-shell.module-host-full[data-v-c4a6fb30] {
  padding-bottom: 0;
  overflow: hidden;
}
.app-shell.module-host-full > .view-transition-root[data-v-c4a6fb30] {
  min-height: 100%;
  height: 100%;
  display: flex;
}
.app-shell.module-host-full > .view-transition-root > .more-module-host-view[data-v-c4a6fb30] {
  width: 100%;
  min-height: 100%;
  height: 100% !important;
}
.bottom-tab-bar[data-v-c4a6fb30] {
  position: fixed;
  top: auto;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  bottom: calc(10px + var(--app-safe-bottom));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: center;
  align-content: center;
  gap: 6px;
  padding: 8px 14px;
  height: auto;
  min-height: 62px;
  max-height: 92px;
  width: min(
    540px,
    calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 20px)
  );
  border-radius: 20px;
  backdrop-filter: blur(20px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  z-index: 60;
  pointer-events: auto;
}
.bottom-tab-bar[data-v-c4a6fb30]:hover,
.bottom-tab-bar[data-v-c4a6fb30]:focus-within {
  transform: translateX(-50%);
}
.tab-item[data-v-c4a6fb30] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 5px;
  border: none;
  background: transparent;
  color: var(--ui-muted);
  font-size: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.tab-item.active[data-v-c4a6fb30] {
  color: var(--ui-primary);
  background: var(--ui-primary-soft);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.2);
}
.tab-item.active .tab-icon[data-v-c4a6fb30] {
  transform: translateY(-1px);
}
.tab-icon[data-v-c4a6fb30] {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.tab-icon-svg[data-v-c4a6fb30] {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tab-item.active .tab-icon[data-v-c4a6fb30]::after {
  content: '';
  position: absolute;
  right: -3px;
  bottom: -2px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-secondary));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--ui-primary) 22%, transparent);
}
.tab-label[data-v-c4a6fb30] {
  font-size: 12px;
  letter-spacing: 0.2px;
}
.home-layout-debug-panel[data-v-c4a6fb30] {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  right: max(12px, env(safe-area-inset-right, 0px));
  z-index: 9990;
  width: min(360px, calc(100vw - 24px));
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(248, 250, 252, 0.96);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
  color: #0f172a;
  backdrop-filter: blur(16px);
}
.home-layout-debug-head[data-v-c4a6fb30] {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.home-layout-debug-kicker[data-v-c4a6fb30],
.home-layout-debug-copy[data-v-c4a6fb30] {
  margin: 0;
}
.home-layout-debug-kicker[data-v-c4a6fb30] {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.home-layout-debug-copy[data-v-c4a6fb30] {
  margin-top: 3px;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}
.home-layout-debug-actions[data-v-c4a6fb30] {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.home-layout-debug-primary[data-v-c4a6fb30],
.home-layout-debug-secondary[data-v-c4a6fb30],
.home-layout-debug-close[data-v-c4a6fb30] {
  border: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.home-layout-debug-primary[data-v-c4a6fb30],
.home-layout-debug-secondary[data-v-c4a6fb30] {
  height: 34px;
  padding: 0 12px;
}
.home-layout-debug-primary[data-v-c4a6fb30] {
  flex: 1;
  color: #fff;
  background: #2563eb;
}
.home-layout-debug-secondary[data-v-c4a6fb30],
.home-layout-debug-close[data-v-c4a6fb30] {
  color: #334155;
  background: #e2e8f0;
}
.home-layout-debug-close[data-v-c4a6fb30] {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 9px;
}
.home-layout-debug-output[data-v-c4a6fb30] {
  display: block;
  width: 100%;
  max-height: min(420px, 52vh);
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(100, 116, 139, 0.35);
  border-radius: 10px;
  background: #020617;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;
  font-size: 11px;
  line-height: 1.45;
  resize: vertical;
}
.login-mask[data-v-c4a6fb30] {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  z-index: 20;
}
.login-mask-card[data-v-c4a6fb30] {
  padding: 16px 24px;
  background: var(--ui-surface);
  border-radius: 16px;
  font-weight: 600;
  color: var(--ui-text);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--ui-shadow-soft);
}
.daily-access-overlay[data-v-c4a6fb30] {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
}
.daily-access-card[data-v-c4a6fb30] {
  width: min(460px, 100%);
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--ui-shadow-strong);
}
.daily-access-card h3[data-v-c4a6fb30] {
  margin: 0;
  font-size: 24px;
  color: var(--ui-text);
}
.daily-access-desc[data-v-c4a6fb30] {
  margin: 12px 0 0;
  color: var(--ui-text);
  line-height: 1.6;
}
.daily-access-tip[data-v-c4a6fb30] {
  margin: 8px 0 0;
  color: var(--ui-muted);
  font-size: 13px;
  line-height: 1.5;
}
.daily-access-form[data-v-c4a6fb30] {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.daily-access-input[data-v-c4a6fb30] {
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(248, 250, 252, 0.92);
  color: var(--ui-text);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.daily-access-input[data-v-c4a6fb30]:focus {
  outline: none;
  border-color: var(--ui-primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--ui-primary) 18%, transparent);
}
.daily-access-error[data-v-c4a6fb30] {
  margin: 0;
  color: var(--ui-danger);
  font-size: 14px;
}
.daily-access-actions[data-v-c4a6fb30] {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.exit-dialog-overlay[data-v-c4a6fb30] {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.exit-dialog-card[data-v-c4a6fb30] {
  width: min(420px, 100%);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 20px;
  box-shadow: var(--ui-shadow-strong);
  padding: 22px;
}
.exit-dialog-card h3[data-v-c4a6fb30] {
  margin: 0 0 10px;
  font-size: 24px;
  color: var(--ui-text);
}
.exit-dialog-card p[data-v-c4a6fb30] {
  margin: 0;
  font-size: 18px;
  color: var(--ui-muted);
}
.exit-dialog-actions[data-v-c4a6fb30] {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.btn-secondary[data-v-c4a6fb30],
.btn-danger[data-v-c4a6fb30],
.btn-primary[data-v-c4a6fb30] {
  height: 42px;
  min-width: 96px;
  padding: 0 16px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.btn-secondary[data-v-c4a6fb30] {
  background: var(--ui-primary-soft);
  color: var(--ui-text);
}
.btn-primary[data-v-c4a6fb30] {
  background: var(--ui-primary);
  color: #fff;
}
.btn-danger[data-v-c4a6fb30] {
  background: #ef4444;
  color: #fff;
}
.btn-secondary[data-v-c4a6fb30]:disabled,
.btn-primary[data-v-c4a6fb30]:disabled,
.btn-danger[data-v-c4a6fb30]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.force-update-overlay[data-v-c4a6fb30] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
   background: rgba(2, 6, 23, 0.68);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
   backdrop-filter: blur(5px);
}
.force-update-card[data-v-c4a6fb30] {
   background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.94));
   border-radius: 20px;
   padding: 22px 20px 18px;
   width: 100%;
   max-width: 390px;
   text-align: left;
   border: 1px solid color-mix(in oklab, var(--ui-primary) 28%, rgba(148, 163, 184, 0.24));
   box-shadow: 0 28px 60px rgba(15, 23, 42, 0.32);
}
.force-update-card h3[data-v-c4a6fb30] {
   margin: 0 0 10px;
   font-size: 21px;
   line-height: 1.25;
   color: #0f172a;
}
.force-update-message[data-v-c4a6fb30] {
   color: #334155;
   margin: 0 0 12px;
   line-height: 1.55;
   font-size: 14px;
}
.force-update-meta[data-v-c4a6fb30] {
   color: #475569;
   font-size: 13px;
   margin: 0;
}
.force-update-download[data-v-c4a6fb30] {
   margin-top: 10px;
   padding: 10px 11px;
   border-radius: 12px;
   background: rgba(241, 245, 249, 0.8);
   border: 1px solid rgba(148, 163, 184, 0.35);
}
.force-update-label[data-v-c4a6fb30] {
   display: block;
   margin-bottom: 6px;
   font-size: 12px;
   font-weight: 700;
   color: #475569;
}
.force-update-link[data-v-c4a6fb30] {
   width: 100%;
   border: none;
   background: transparent;
   color: #1d4ed8;
   font-size: 12px;
   font-weight: 600;
   text-align: left;
   line-height: 1.4;
   cursor: pointer;
   padding: 0;
}
.force-update-actions[data-v-c4a6fb30] {
   margin-top: 14px;
   display: flex;
   justify-content: flex-end;
}
.force-update-btn[data-v-c4a6fb30] {
   min-width: 120px;
}
.notice-modal-overlay[data-v-c4a6fb30],
.notice-confirm-overlay[data-v-c4a6fb30] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9997;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.notice-modal[data-v-c4a6fb30],
.notice-confirm-card[data-v-c4a6fb30] {
  background: var(--ui-surface);
  border-radius: 18px;
  width: 100%;
  max-width: 520px;
  max-height: 82vh;
  overflow: auto;
  padding: 20px;
  box-shadow: var(--ui-shadow-strong);
}
.notice-modal-header[data-v-c4a6fb30] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.notice-modal-header h3[data-v-c4a6fb30] {
  margin: 0;
  font-size: 20px;
  color: var(--ui-text);
}
.notice-close[data-v-c4a6fb30] {
  border: none;
  background: var(--ui-primary-soft);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}
.notice-modal-meta[data-v-c4a6fb30] {
  color: var(--ui-muted);
  font-size: 12px;
  margin: 8px 0 12px;
}
.notice-modal-image img[data-v-c4a6fb30] {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
}
.notice-modal-content[data-v-c4a6fb30] {
  color: var(--ui-muted);
  line-height: 1.6;
}
.notice-link[data-v-c4a6fb30] {
  display: inline-block;
  margin-top: 12px;
  color: var(--ui-primary);
  text-decoration: none;
}
.notice-confirm-title[data-v-c4a6fb30] {
  font-weight: 600;
  margin: 8px 0 12px;
}
.notice-confirm-content[data-v-c4a6fb30] {
  color: var(--ui-muted);
  line-height: 1.6;
}
.notice-confirm-actions[data-v-c4a6fb30] {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}


.ios26-select[data-v-c8361503],
.ios26-select-overlay[data-v-c8361503] {
  position: relative;
  --ios-select-accent: var(--ui-primary, #2563eb);
  --ios-select-accent-2: var(--ui-secondary, #06b6d4);
  --ios-select-text: var(--ui-text, #0f172a);
  --ios-select-muted: var(--ui-muted, #475569);
  --ios-select-border: color-mix(in oklab, var(--ios-select-accent) 22%, rgba(148, 163, 184, 0.42));
  --ios-select-trigger-bg: #ffffff;
  --ios-select-panel: #ffffff;
  --ios-select-item: #f8fafc;
  --ios-select-active: var(--ios-select-accent);
  --ios-select-active-text: #ffffff;
  --ios-select-safe-bottom: env(safe-area-inset-bottom, 0px);
  --ios-select-shadow: 0 9px 21px rgba(15, 23, 42, 0.08);
}
.ios26-select[data-v-c8361503] {
  position: relative;
  width: 100%;
  min-width: 0;
}
.ios26-select-native[data-v-c8361503] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.ios26-select-trigger[data-v-c8361503] {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--ios-select-border);
  background: var(--ios-select-trigger-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 4px 9px rgba(15, 23, 42, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.22s ease;
}
.ios26-select-trigger[data-v-c8361503]:active {
  transform: translateY(1px) scale(0.997);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 2px 6px rgba(15, 23, 42, 0.04);
}
.ios26-select-text[data-v-c8361503] {
  flex: 1;
  min-width: 0;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--ios-select-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0;
}
.ios26-select-text.placeholder[data-v-c8361503] {
  color: color-mix(in oklab, var(--ios-select-muted) 82%, #ffffff 18%);
}
.ios26-select-arrow[data-v-c8361503] {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in oklab, var(--ios-select-accent) 72%, var(--ios-select-text) 28%);
  flex-shrink: 0;
}
.ios26-select-arrow svg[data-v-c8361503] {
  width: 12px;
  height: 12px;
}
.ios26-select-arrow path[data-v-c8361503] {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ios26-select.is-disabled .ios26-select-trigger[data-v-c8361503],
.ios26-select-trigger[data-v-c8361503]:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}
.ios26-select-overlay[data-v-c8361503] {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.32);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
}
.ios26-select-sheet[data-v-c8361503] {
  width: min(540px, 100%);
  max-height: min(78vh, 560px);
  margin: 0 auto;
  border-radius: 24px;
  border: 1px solid color-mix(in oklab, var(--ios-select-accent) 18%, rgba(148, 163, 184, 0.36));
  background: var(--ios-select-panel);
  box-shadow:
    var(--ios-select-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
}
.ios26-select-handle[data-v-c8361503] {
  display: block;
  width: 38px;
  height: 4px;
  border-radius: 999px;
  margin: 10px auto 4px;
  background: color-mix(in oklab, var(--ios-select-muted) 30%, #ffffff 70%);
}
.ios26-select-title[data-v-c8361503] {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: color-mix(in oklab, var(--ios-select-muted) 86%, #ffffff 14%);
  padding: 6px 18px 10px;
  flex-shrink: 0;
}
.ios26-select-list[data-v-c8361503] {
  flex: 1;
  overflow-y: auto;
  padding: 2px 10px 10px;
  background: var(--ios-select-panel);
}
.ios26-select-item[data-v-c8361503] {
  width: 100%;
  border: 1px solid color-mix(in oklab, var(--ios-select-accent) 12%, rgba(148, 163, 184, 0.22));
  background: var(--ios-select-item);
  min-height: 48px;
  padding: 0 14px 0 16px;
  border-radius: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ios-select-text);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}
.ios26-select-item[data-v-c8361503]:not(.is-disabled):active {
  transform: scale(0.995);
  background: #f1f5f9;
}
.ios26-select-item.is-active[data-v-c8361503] {
  border-color: color-mix(in oklab, var(--ios-select-accent) 42%, rgba(148, 163, 184, 0.28));
  background: var(--ios-select-active);
  box-shadow: 0 5px 10px color-mix(in oklab, var(--ios-select-accent) 10%, transparent);
}
.ios26-select-item.is-disabled[data-v-c8361503] {
  opacity: 0.45;
  cursor: not-allowed;
}
.ios26-select-item-label[data-v-c8361503] {
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ios-select-text);
}
.ios26-select-item-check[data-v-c8361503] {
  opacity: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ios-select-active-text);
  margin-left: 10px;
}
.ios26-select-item.is-active .ios26-select-item-check[data-v-c8361503] {
  opacity: 1;
}
.ios26-select-item.is-active .ios26-select-item-label[data-v-c8361503] {
  color: var(--ios-select-active-text);
}
.ios26-select-cancel[data-v-c8361503] {
  width: 100%;
  border: none;
  border-top: 1px solid color-mix(in oklab, var(--ios-select-accent) 18%, rgba(148, 163, 184, 0.28));
  min-height: 52px;
  background: var(--ios-select-panel);
  color: var(--ios-select-accent);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.ios26-select-cancel[data-v-c8361503]:active {
  background-color: color-mix(in oklab, #ffffff 78%, var(--ios-select-accent) 22%);
  transform: scale(0.996);
}
.ios26-select-fade-enter-active[data-v-c8361503],
.ios26-select-fade-leave-active[data-v-c8361503] {
  transition: opacity 0.18s ease;
}
.ios26-select-fade-enter-from[data-v-c8361503],
.ios26-select-fade-leave-to[data-v-c8361503] {
  opacity: 0;
}
html[data-theme='graphite_night'],html[data-theme='graphite_night'],html.dark,html.dark {
  --ios-select-accent: #60a5fa;
  --ios-select-accent-2: #22d3ee;
  --ios-select-text: #e2e8f0;
  --ios-select-muted: #94a3b8;
  --ios-select-border: color-mix(in oklab, var(--ios-select-accent) 28%, rgba(148, 163, 184, 0.34));
  --ios-select-trigger-bg: #111827;
  --ios-select-panel: #0f172a;
  --ios-select-item: #1e293b;
  --ios-select-active: #2563eb;
  --ios-select-shadow: 0 13px 29px rgba(2, 6, 23, 0.29);
}
@media (prefers-color-scheme: dark) {
.ios26-select,.ios26-select-overlay {
    --ios-select-accent: #60a5fa;
    --ios-select-accent-2: #22d3ee;
    --ios-select-text: #e2e8f0;
    --ios-select-muted: #94a3b8;
    --ios-select-border: color-mix(in oklab, var(--ios-select-accent) 28%, rgba(148, 163, 184, 0.34));
    --ios-select-trigger-bg: #111827;
    --ios-select-panel: #0f172a;
    --ios-select-item: #1e293b;
    --ios-select-active: #2563eb;
    --ios-select-shadow: 0 13px 29px rgba(2, 6, 23, 0.29);
}
}
html.dark,html[data-theme='graphite_night'] {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 5px 12px rgba(2, 6, 23, 0.14) !important;
}
html.dark,html[data-theme='graphite_night'] {
  background: rgba(2, 6, 23, 0.58) !important;
}
html.dark,html[data-theme='graphite_night'],html.dark,html[data-theme='graphite_night'] {
  box-shadow:
    var(--ios-select-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
@media (min-width: 769px) {
.ios26-select-overlay[data-v-c8361503] {
    align-items: center;
    padding: 20px;
}
.ios26-select-sheet[data-v-c8361503] {
    border-radius: 20px;
    width: min(460px, 90%);
    max-height: min(72vh, 560px);
}
.ios26-select-handle[data-v-c8361503] {
    display: none;
}
}
@media (max-width: 768px) {
.ios26-select-trigger[data-v-c8361503] {
    min-height: 42px;
    border-radius: 13px;
}
.ios26-select-text[data-v-c8361503] {
    font-size: 15px;
}
.ios26-select-sheet[data-v-c8361503] {
    width: min(100%, 520px);
    border-radius: 24px 24px 18px 18px;
    max-height: min(74vh, 580px);
}
.ios26-select-item-label[data-v-c8361503] {
    font-size: 15px;
}
.ios26-select-overlay[data-v-c8361503] {
    padding: 10px 10px calc(12px + var(--ios-select-safe-bottom));
}
}
@media (prefers-reduced-motion: reduce) {
.ios26-select-trigger[data-v-c8361503],
  .ios26-select-item[data-v-c8361503],
  .ios26-select-cancel[data-v-c8361503],
  .ios26-select-fade-enter-active[data-v-c8361503],
  .ios26-select-fade-leave-active[data-v-c8361503] {
    transition: none !important;
}
}
html.window-resizing,html.window-resizing,html.window-resizing {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: none !important;
}
