:root {
  --toastify-color-light: #fff;
  --toastify-color-dark: #121212;
  --toastify-color-info: #3498db;
  --toastify-color-success: #07bc0c;
  --toastify-color-warning: #f1c40f;
  --toastify-color-error: #e74c3c;
  --toastify-color-transparent: rgba(255, 255, 255, 0.7);
  --toastify-icon-color-info: var(--toastify-color-info);
  --toastify-icon-color-success: var(--toastify-color-success);
  --toastify-icon-color-warning: var(--toastify-color-warning);
  --toastify-icon-color-error: var(--toastify-color-error);
  --toastify-toast-width: 320px;
  --toastify-toast-background: #fff;
  --toastify-toast-min-height: 64px;
  --toastify-toast-max-height: 800px;
  --toastify-font-family: sans-serif;
  --toastify-z-index: 9999;
  --toastify-text-color-light: #757575;
  --toastify-text-color-dark: #fff;
  --toastify-text-color-info: #fff;
  --toastify-text-color-success: #fff;
  --toastify-text-color-warning: #fff;
  --toastify-text-color-error: #fff;
  --toastify-spinner-color: #616161;
  --toastify-spinner-color-empty-area: #e0e0e0;
  --toastify-color-progress-light: linear-gradient(
    to right,
    #4cd964,
    #5ac8fa,
    #007aff,
    #34aadc,
    #5856d6,
    #ff2d55
  );
  --toastify-color-progress-dark: #bb86fc;
  --toastify-color-progress-info: var(--toastify-color-info);
  --toastify-color-progress-success: var(--toastify-color-success);
  --toastify-color-progress-warning: var(--toastify-color-warning);
  --toastify-color-progress-error: var(--toastify-color-error);
}

.Toastify__toast-container {
  z-index: var(--toastify-z-index);
  -webkit-transform: translate3d(0, 0, var(--toastify-z-index));
  position: fixed;
  padding: 4px;
  width: var(--toastify-toast-width);
  box-sizing: border-box;
  color: #fff;
}
.Toastify__toast-container--top-left {
  top: 1em;
  left: 1em;
}
.Toastify__toast-container--top-center {
  top: 1em;
  left: 50%;
  transform: translateX(-50%);
}
.Toastify__toast-container--top-right {
  top: 1em;
  right: 1em;
}
.Toastify__toast-container--bottom-left {
  bottom: 1em;
  left: 1em;
}
.Toastify__toast-container--bottom-center {
  bottom: 1em;
  left: 50%;
  transform: translateX(-50%);
}
.Toastify__toast-container--bottom-right {
  bottom: 1em;
  right: 1em;
}

@media only screen and (max-width : 480px) {
  .Toastify__toast-container {
    width: 100vw;
    padding: 0;
    left: 0;
    margin: 0;
  }
  .Toastify__toast-container--top-left, .Toastify__toast-container--top-center, .Toastify__toast-container--top-right {
    top: 0;
    transform: translateX(0);
  }
  .Toastify__toast-container--bottom-left, .Toastify__toast-container--bottom-center, .Toastify__toast-container--bottom-right {
    bottom: 0;
    transform: translateX(0);
  }
  .Toastify__toast-container--rtl {
    right: 0;
    left: initial;
  }
}
.Toastify__toast {
  position: relative;
  min-height: var(--toastify-toast-min-height);
  box-sizing: border-box;
  margin-bottom: 1rem;
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  max-height: var(--toastify-toast-max-height);
  overflow: hidden;
  font-family: var(--toastify-font-family);
  cursor: default;
  direction: ltr;
  /* webkit only issue #791 */
  z-index: 0;
}
.Toastify__toast--rtl {
  direction: rtl;
}
.Toastify__toast--close-on-click {
  cursor: pointer;
}
.Toastify__toast-body {
  margin: auto 0;
  flex: 1 1 auto;
  padding: 6px;
  display: flex;
  align-items: center;
}
.Toastify__toast-body > div:last-child {
  word-break: break-word;
  flex: 1;
}
.Toastify__toast-icon {
  -webkit-margin-end: 10px;
          margin-inline-end: 10px;
  width: 20px;
  flex-shrink: 0;
  display: flex;
}

.Toastify--animate {
  animation-fill-mode: both;
  animation-duration: 0.7s;
}

.Toastify--animate-icon {
  animation-fill-mode: both;
  animation-duration: 0.3s;
}

@media only screen and (max-width : 480px) {
  .Toastify__toast {
    margin-bottom: 0;
    border-radius: 0;
  }
}
.Toastify__toast-theme--dark {
  background: var(--toastify-color-dark);
  color: var(--toastify-text-color-dark);
}
.Toastify__toast-theme--light {
  background: var(--toastify-color-light);
  color: var(--toastify-text-color-light);
}
.Toastify__toast-theme--colored.Toastify__toast--default {
  background: var(--toastify-color-light);
  color: var(--toastify-text-color-light);
}
.Toastify__toast-theme--colored.Toastify__toast--info {
  color: var(--toastify-text-color-info);
  background: var(--toastify-color-info);
}
.Toastify__toast-theme--colored.Toastify__toast--success {
  color: var(--toastify-text-color-success);
  background: var(--toastify-color-success);
}
.Toastify__toast-theme--colored.Toastify__toast--warning {
  color: var(--toastify-text-color-warning);
  background: var(--toastify-color-warning);
}
.Toastify__toast-theme--colored.Toastify__toast--error {
  color: var(--toastify-text-color-error);
  background: var(--toastify-color-error);
}

.Toastify__progress-bar-theme--light {
  background: var(--toastify-color-progress-light);
}
.Toastify__progress-bar-theme--dark {
  background: var(--toastify-color-progress-dark);
}
.Toastify__progress-bar--info {
  background: var(--toastify-color-progress-info);
}
.Toastify__progress-bar--success {
  background: var(--toastify-color-progress-success);
}
.Toastify__progress-bar--warning {
  background: var(--toastify-color-progress-warning);
}
.Toastify__progress-bar--error {
  background: var(--toastify-color-progress-error);
}
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--success, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
  background: var(--toastify-color-transparent);
}

.Toastify__close-button {
  color: #fff;
  background: transparent;
  outline: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s ease;
  align-self: flex-start;
}
.Toastify__close-button--light {
  color: #000;
  opacity: 0.3;
}
.Toastify__close-button > svg {
  fill: currentColor;
  height: 16px;
  width: 14px;
}
.Toastify__close-button:hover, .Toastify__close-button:focus {
  opacity: 1;
}

@keyframes Toastify__trackProgress {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}
.Toastify__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  z-index: var(--toastify-z-index);
  opacity: 0.7;
  transform-origin: left;
}
.Toastify__progress-bar--animated {
  animation: Toastify__trackProgress linear 1 forwards;
}
.Toastify__progress-bar--controlled {
  transition: transform 0.2s;
}
.Toastify__progress-bar--rtl {
  right: 0;
  left: initial;
  transform-origin: right;
}

.Toastify__spinner {
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 100%;
  border-color: var(--toastify-spinner-color-empty-area);
  border-right-color: var(--toastify-spinner-color);
  animation: Toastify__spin 0.65s linear infinite;
}

@keyframes Toastify__bounceInRight {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(-25px, 0, 0);
  }
  75% {
    transform: translate3d(10px, 0, 0);
  }
  90% {
    transform: translate3d(-5px, 0, 0);
  }
  to {
    transform: none;
  }
}
@keyframes Toastify__bounceOutRight {
  20% {
    opacity: 1;
    transform: translate3d(-20px, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(2000px, 0, 0);
  }
}
@keyframes Toastify__bounceInLeft {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(-3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(25px, 0, 0);
  }
  75% {
    transform: translate3d(-10px, 0, 0);
  }
  90% {
    transform: translate3d(5px, 0, 0);
  }
  to {
    transform: none;
  }
}
@keyframes Toastify__bounceOutLeft {
  20% {
    opacity: 1;
    transform: translate3d(20px, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(-2000px, 0, 0);
  }
}
@keyframes Toastify__bounceInUp {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -20px, 0);
  }
  75% {
    transform: translate3d(0, 10px, 0);
  }
  90% {
    transform: translate3d(0, -5px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes Toastify__bounceOutUp {
  20% {
    transform: translate3d(0, -10px, 0);
  }
  40%, 45% {
    opacity: 1;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -2000px, 0);
  }
}
@keyframes Toastify__bounceInDown {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(0, -3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 25px, 0);
  }
  75% {
    transform: translate3d(0, -10px, 0);
  }
  90% {
    transform: translate3d(0, 5px, 0);
  }
  to {
    transform: none;
  }
}
@keyframes Toastify__bounceOutDown {
  20% {
    transform: translate3d(0, 10px, 0);
  }
  40%, 45% {
    opacity: 1;
    transform: translate3d(0, -20px, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 2000px, 0);
  }
}
.Toastify__bounce-enter--top-left, .Toastify__bounce-enter--bottom-left {
  animation-name: Toastify__bounceInLeft;
}
.Toastify__bounce-enter--top-right, .Toastify__bounce-enter--bottom-right {
  animation-name: Toastify__bounceInRight;
}
.Toastify__bounce-enter--top-center {
  animation-name: Toastify__bounceInDown;
}
.Toastify__bounce-enter--bottom-center {
  animation-name: Toastify__bounceInUp;
}

.Toastify__bounce-exit--top-left, .Toastify__bounce-exit--bottom-left {
  animation-name: Toastify__bounceOutLeft;
}
.Toastify__bounce-exit--top-right, .Toastify__bounce-exit--bottom-right {
  animation-name: Toastify__bounceOutRight;
}
.Toastify__bounce-exit--top-center {
  animation-name: Toastify__bounceOutUp;
}
.Toastify__bounce-exit--bottom-center {
  animation-name: Toastify__bounceOutDown;
}

@keyframes Toastify__zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}
@keyframes Toastify__zoomOut {
  from {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  to {
    opacity: 0;
  }
}
.Toastify__zoom-enter {
  animation-name: Toastify__zoomIn;
}

.Toastify__zoom-exit {
  animation-name: Toastify__zoomOut;
}

@keyframes Toastify__flipIn {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}
@keyframes Toastify__flipOut {
  from {
    transform: perspective(400px);
  }
  30% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }
  to {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}
.Toastify__flip-enter {
  animation-name: Toastify__flipIn;
}

.Toastify__flip-exit {
  animation-name: Toastify__flipOut;
}

@keyframes Toastify__slideInRight {
  from {
    transform: translate3d(110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes Toastify__slideInLeft {
  from {
    transform: translate3d(-110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes Toastify__slideInUp {
  from {
    transform: translate3d(0, 110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes Toastify__slideInDown {
  from {
    transform: translate3d(0, -110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes Toastify__slideOutRight {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(110%, 0, 0);
  }
}
@keyframes Toastify__slideOutLeft {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(-110%, 0, 0);
  }
}
@keyframes Toastify__slideOutDown {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, 500px, 0);
  }
}
@keyframes Toastify__slideOutUp {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, -500px, 0);
  }
}
.Toastify__slide-enter--top-left, .Toastify__slide-enter--bottom-left {
  animation-name: Toastify__slideInLeft;
}
.Toastify__slide-enter--top-right, .Toastify__slide-enter--bottom-right {
  animation-name: Toastify__slideInRight;
}
.Toastify__slide-enter--top-center {
  animation-name: Toastify__slideInDown;
}
.Toastify__slide-enter--bottom-center {
  animation-name: Toastify__slideInUp;
}

.Toastify__slide-exit--top-left, .Toastify__slide-exit--bottom-left {
  animation-name: Toastify__slideOutLeft;
}
.Toastify__slide-exit--top-right, .Toastify__slide-exit--bottom-right {
  animation-name: Toastify__slideOutRight;
}
.Toastify__slide-exit--top-center {
  animation-name: Toastify__slideOutUp;
}
.Toastify__slide-exit--bottom-center {
  animation-name: Toastify__slideOutDown;
}

@keyframes Toastify__spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/*# sourceMappingURL=ReactToastify.css.map *//*
 * Nexra brand lockup — light/dark wordmark per brand board.
 * Colors: ink #0B1020 / white, accent gradient #6C5CFF→#38BDF8, tagline #8B93A7
 */

.nexra-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.nexra-brand-lockup--stacked {
  align-items: flex-start;
}

.nexra-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
}

.nexra-logo-mark-img {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 0.375rem;
}

/* Light theme SVG symbol — soft indigo panel */
.nexra-brand-mark--light-symbol {
  border-radius: 0.5rem;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 40%, #eef2ff 100%);
  border: 1px solid rgba(108, 92, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(108, 92, 255, 0.06),
    0 2px 12px rgba(108, 92, 255, 0.14);
}

/* Dark theme raster symbol — tinted panel so mark stands off dark chrome */
.dark .nexra-brand-mark--dark-symbol {
  border-radius: 0.5rem;
  overflow: hidden;
  background: linear-gradient(145deg, #4a4380 0%, #322e5c 45%, #252247 100%);
  border: 1px solid rgba(108, 92, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.12),
    0 4px 16px rgba(108, 92, 255, 0.28);
}

.dark .nexra-brand-mark--dark-symbol .nexra-logo-mark-img {
  filter: brightness(1.42) contrast(1.06) saturate(1.25);
}

.nexra-brand-mark--logo-img {
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
}

.dark .nexra-brand-mark--logo-img {
  background-color: #0f172a;
  border-color: #334155;
}

.nexra-brand-mark-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nexra-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.nexra-brand-name {
  display: flex;
  align-items: baseline;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nexra-brand-lockup--md .nexra-brand-name {
  font-size: 1.25rem;
}

.nexra-brand-name-prefix {
  color: #0b1020;
}

.dark .nexra-brand-name-prefix {
  color: #ffffff;
}

.nexra-brand-name-suffix {
  color: #6c5cff;
}

.nexra-brand-tagline {
  margin-top: 0.125rem;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8b93a7;
  white-space: nowrap;
}

.nexra-brand-lockup--sm .nexra-brand-tagline {
  font-size: 0.5rem;
  letter-spacing: 0.18em;
}

.nexra-brand-custom-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0b1020;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dark .nexra-brand-custom-name {
  color: #ffffff;
}

.nexra-brand-lockup--md .nexra-brand-custom-name {
  font-size: 1.25rem;
}

/* Parent links should not override wordmark colors */
a.nexra-brand-lockup:hover .nexra-brand-name-prefix,
a.nexra-brand-lockup:hover .nexra-brand-tagline {
  color: inherit;
}

a.nexra-brand-lockup:hover .nexra-brand-name-prefix {
  color: #0b1020;
}

.dark a.nexra-brand-lockup:hover .nexra-brand-name-prefix {
  color: #ffffff;
}

a.nexra-brand-lockup:hover .nexra-brand-tagline {
  color: #8b93a7;
}
/*
 * Console top bar brand — nexra lockup (theme colors in nexra-brand.css)
 */
.classic-header-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.classic-header-logo-skeleton {
  display: inline-flex !important;
}

.classic-header-logo-tag {
  flex-shrink: 0;
}
/*
 * Public HeaderBar — aligned with homepage .landing-site-header (glass blur, slate palette).
 * Console chrome unchanged below.
 */
.classic-site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 4rem;
  border-bottom: 1px solid #e2e8f0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #0f172a;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.dark .classic-site-header {
  border-bottom-color: #334155;
  background-color: rgba(15, 23, 42, 0.8);
  color: #f1f5f9;
}

.classic-site-header-inner {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.classic-site-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  width: 100%;
}

.classic-site-header-start {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-width: 0;
  flex: 1;
}

.classic-site-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.classic-header-brand {
  display: inline-flex;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.classic-header-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .classic-header-nav {
    display: flex;
  }
}

.classic-header-nav-link {
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}

.dark .classic-header-nav-link {
  color: #cbd5e1;
}

.classic-header-nav-link:hover {
  color: #4f46e5;
}

.dark .classic-header-nav-link:hover {
  color: #818cf8;
}

.classic-header-nav-link-active {
  color: #4f46e5;
}

.dark .classic-header-nav-link-active {
  color: #818cf8;
}

.classic-header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #334155;
  transition: background-color 0.15s ease;
}

.dark .classic-header-icon-btn {
  color: #e2e8f0;
}

.classic-header-icon-btn:hover {
  background-color: #f1f5f9;
}

.dark .classic-header-icon-btn:hover {
  background-color: #1e293b;
}

.classic-header-link-signin {
  display: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}

.dark .classic-header-link-signin {
  color: #cbd5e1;
}

@media (min-width: 640px) {
  .classic-header-link-signin {
    display: inline-block;
  }
}

.classic-header-link-signin:hover {
  color: #4f46e5;
  background-color: #f1f5f9;
}

.dark .classic-header-link-signin:hover {
  color: #818cf8;
  background-color: #1e293b;
}

.classic-header-btn-primary {
  background-color: #6366f1;
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.classic-header-btn-primary:hover {
  background-color: #4f46e5;
  color: #fff;
}

.classic-header-drawer {
  position: absolute;
  top: 4rem;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.08);
}

.dark .classic-header-drawer {
  border-bottom-color: #334155;
  background-color: rgba(15, 23, 42, 0.95);
}

@media (min-width: 768px) {
  .classic-header-drawer {
    display: none;
  }
}

/* Console chrome — web/prototypes/07-dashboard.html main header */
.classic-console-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  width: 100%;
  min-height: 4rem;
  padding: 0 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #0f172a;
}

.dark .classic-console-header {
  border-bottom-color: #334155;
  background-color: #1e293b;
  color: #f1f5f9;
}

.classic-console-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.classic-console-header-btn:hover {
  background-color: #f1f5f9;
}

.dark .classic-console-header-btn:hover {
  background-color: #334155;
}

.classic-console-header-btn--sidebar-collapsed {
  background-color: #eef2ff;
  color: #4f46e5;
}

.dark .classic-console-header-btn--sidebar-collapsed {
  background-color: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
}

.classic-console-header-btn--bell {
  position: relative;
}

.classic-console-header-bell-dot {
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: #ef4444;
}

.classic-console-header-title-wrap {
  flex: 1;
  min-width: 0;
}

.classic-console-header-title {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.classic-console-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.classic-console-header-pricing-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #4f46e5;
  background-color: #f1f5f9;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.dark .classic-console-header-pricing-link {
  color: #818cf8;
  background-color: #334155;
}

.classic-console-header-pricing-link:hover {
  background-color: #eef2ff;
  color: #4338ca;
}

.dark .classic-console-header-pricing-link:hover {
  background-color: #475569;
  color: #a5b4fc;
}

.classic-console-header-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #4f46e5;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.classic-console-header-avatar:hover {
  background-color: #4338ca;
}

.classic-console-header .classic-console-header-btn + .semi-dropdown-trigger,
.classic-console-header .semi-dropdown-trigger .semi-button {
  border-radius: 0.5rem !important;
}
/*
 * Console app shell — web/prototypes/07-dashboard.html
 * Sidebar full height (logo on top) + main column (header + scrollable content).
 */

/* Prototype 07-dashboard: aside w-56 (14rem), collapsed 64px */
.app-layout--console {
  --sidebar-width: 14rem;
  --sidebar-width-collapsed: 4rem;
  --sidebar-current-width: var(--sidebar-width);
  display: flex;
  flex-direction: row;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

body.sidebar-collapsed .app-layout--console {
  --sidebar-current-width: var(--sidebar-width-collapsed);
}

.app-console-sider {
  flex-shrink: 0;
  width: var(--sidebar-current-width);
  height: 100%;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e2e8f0;
  background-color: #ffffff;
  overflow: hidden;
  z-index: 99;
  transition: width 0.2s ease;
}

.console-sidebar-brand,
.console-sidebar-user,
.console-sidebar-body,
.app-console-sider .sidebar-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.dark .app-console-sider {
  border-right-color: #334155;
  background-color: #1e293b;
}

.app-console-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #f8fafc;
}

.dark .app-console-main {
  background-color: #0f172a;
}

.app-console-main-header {
  flex-shrink: 0;
  z-index: 50;
}

.app-console-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

/* Sidebar brand — web/prototypes/08-tokens.html (h-16 px-4 border-b + logo row) */
.console-sidebar-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 4rem;
  padding: 0 1rem;
  box-sizing: border-box;
  border-bottom: 1px solid #e2e8f0;
  background-color: #ffffff;
}

.dark .console-sidebar-brand {
  border-bottom-color: #334155;
  background-color: #1e293b;
}

.console-sidebar-brand-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

body.sidebar-collapsed .console-sidebar-brand {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

body.sidebar-collapsed .console-sidebar-brand-link {
  width: auto;
  justify-content: center;
}

body.sidebar-collapsed .nexra-brand-copy {
  display: none;
}

.console-sidebar-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.console-sidebar-user {
  flex-shrink: 0;
  border-top: 1px solid #e2e8f0;
  padding: 0.75rem;
}

.dark .console-sidebar-user {
  border-top-color: #334155;
}

.console-sidebar-user-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem;
  border: none;
  border-radius: 0.75rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.15s ease;
}

.console-sidebar-user-btn:hover {
  background-color: #f1f5f9;
}

.dark .console-sidebar-user-btn:hover {
  background-color: #334155;
}

.console-sidebar-user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4f46e5;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.console-sidebar-user-meta {
  min-width: 0;
  flex: 1;
}

body.sidebar-collapsed .console-sidebar-user-meta {
  display: none;
}

.console-sidebar-user-name {
  font-size: 0.875rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-sidebar-user-email {
  font-size: 0.75rem;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dark .console-sidebar-user-email {
  color: #94a3b8;
}

.app-console-sider .sidebar-container,
.app-console-sider .sidebar-nav {
  background-color: #ffffff;
}

.dark .app-console-sider .sidebar-container,
.dark .app-console-sider .sidebar-nav,
.dark .app-console-sider .sidebar-nav.semi-navigation {
  background-color: #1e293b !important;
}

.dark .app-console-sider .semi-navigation-header-list-outer,
.dark .app-console-sider .semi-navigation-list-wrapper {
  background-color: transparent !important;
}

.dark .app-console-sider .semi-navigation-item,
.dark .app-console-sider .semi-navigation-sub-title {
  color: #cbd5e1 !important;
}

.dark .app-console-sider .semi-navigation-item-icon,
.dark .app-console-sider .semi-navigation-item-icon svg {
  color: #94a3b8 !important;
}

.dark .app-console-sider .sidebar-nav-item:hover,
.dark .app-console-sider .semi-navigation-item:hover {
  background-color: rgba(99, 102, 241, 0.15) !important;
  color: #a5b4fc !important;
}

.dark .app-console-sider .sidebar-nav-item:hover .semi-navigation-item-icon,
.dark .app-console-sider .sidebar-nav-item:hover .semi-navigation-item-icon svg,
.dark .app-console-sider .semi-navigation-item:hover .semi-navigation-item-icon,
.dark .app-console-sider .semi-navigation-item:hover .semi-navigation-item-icon svg {
  color: #a5b4fc !important;
}

.dark .app-console-sider .sidebar-nav-item-selected,
.dark .app-console-sider .semi-navigation-item-selected {
  background-color: rgba(99, 102, 241, 0.2) !important;
  color: #a5b4fc !important;
}

.dark .app-console-sider .sidebar-nav-item-selected .semi-navigation-item-icon,
.dark .app-console-sider .sidebar-nav-item-selected .semi-navigation-item-icon svg,
.dark .app-console-sider .semi-navigation-item-selected .semi-navigation-item-icon,
.dark .app-console-sider .semi-navigation-item-selected .semi-navigation-item-icon svg {
  color: #a5b4fc !important;
}

.app-console-sider .sidebar-nav {
  border-right: none;
  width: 100%;
  padding: 0.75rem 0.5rem;
  box-sizing: border-box;
}

.app-console-sider .sidebar-group-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 0.75rem;
  margin: 1rem 0 0.25rem;
  opacity: 1;
  color: #94a3b8;
}

.dark .app-console-sider .sidebar-group-label {
  color: #94a3b8;
}

.app-console-sider .sidebar-nav-item {
  margin: 0 0 0.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.app-console-sider .sidebar-collapse-button {
  display: none;
}

/* Table/list empty states: text only, no illustration */
.app-console-content .semi-table-empty .semi-empty-image,
.app-console-content .table-scroll-card .semi-empty-image {
  display: none !important;
}

/* Companies table: fixed-right thead matches other header cells (Semi ::before layer) */
.app-console-content:has(.companies-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right,
.app-console-content:has(.companies-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right-first,
.app-console-content:has(.companies-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right::before,
.app-console-content:has(.companies-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right-first::before {
  background-color: #f8fafc !important;
  background-image: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.dark .app-console-content:has(.companies-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right,
.dark .app-console-content:has(.companies-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right-first,
.dark .app-console-content:has(.companies-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right::before,
.dark .app-console-content:has(.companies-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right-first::before {
  background-color: rgba(51, 65, 85, 0.5) !important;
  background-image: none !important;
  border-bottom-color: #475569 !important;
}

/* Redemptions table: fixed-right thead matches other header cells (Semi ::before layer) */
.app-console-content:has(.redemptions-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right,
.app-console-content:has(.redemptions-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right-first,
.app-console-content:has(.redemptions-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right::before,
.app-console-content:has(.redemptions-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right-first::before {
  background-color: #f8fafc !important;
  background-image: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.dark .app-console-content:has(.redemptions-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right,
.dark .app-console-content:has(.redemptions-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right-first,
.dark .app-console-content:has(.redemptions-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right::before,
.dark .app-console-content:has(.redemptions-page) .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right-first::before {
  background-color: rgba(51, 65, 85, 0.5) !important;
  background-image: none !important;
  border-bottom-color: #475569 !important;
}
/* ==================== Tailwind CSS 配置 ==================== */
@layer tailwind-base, semi, tailwind-components, tailwind-utils;

@layer tailwind-base {
  *, ::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: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 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: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 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.17 | 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: currentColor; /* 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 */ /* 3 */
  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::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;
}
}

@layer tailwind-components {
  .\!container{
    width: 100% !important;
  }
  .container{
    width: 100%;
  }
  @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: 1280px){

    .\!container{
      max-width: 1280px !important;
    }

    .container{
      max-width: 1280px;
    }
  }
  @media (min-width: 1536px){

    .\!container{
      max-width: 1536px !important;
    }

    .container{
      max-width: 1536px;
    }
  }
}

@layer tailwind-utils {
  .pointer-events-none{
    pointer-events: none;
  }
  .\!visible{
    visibility: visible !important;
  }
  .visible{
    visibility: visible;
  }
  .collapse{
    visibility: collapse;
  }
  .static{
    position: static;
  }
  .fixed{
    position: fixed;
  }
  .absolute{
    position: absolute;
  }
  .relative{
    position: relative;
  }
  .inset-0{
    inset: 0px;
  }
  .-bottom-8{
    bottom: -2rem;
  }
  .-left-8{
    left: -2rem;
  }
  .-right-10{
    right: -2.5rem;
  }
  .-top-10{
    top: -2.5rem;
  }
  .bottom-0{
    bottom: 0px;
  }
  .bottom-\[20px\]{
    bottom: 20px;
  }
  .left-0{
    left: 0px;
  }
  .left-\[-100px\]{
    left: -100px;
  }
  .left-\[-50px\]{
    left: -50px;
  }
  .right-0{
    right: 0px;
  }
  .right-2{
    right: 0.5rem;
  }
  .top-0{
    top: 0px;
  }
  .top-1\/2{
    top: 50%;
  }
  .top-2{
    top: 0.5rem;
  }
  .top-\[204px\]{
    top: 204px;
  }
  .z-10{
    z-index: 10;
  }
  .z-\[1000\]{
    z-index: 1000;
  }
  .z-\[1\]{
    z-index: 1;
  }
  .z-\[999\]{
    z-index: 999;
  }
  .order-1{
    order: 1;
  }
  .order-2{
    order: 2;
  }
  .col-span-1{
    grid-column: span 1 / span 1;
  }
  .m-0{
    margin: 0px;
  }
  .mx-2{
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  .mx-auto{
    margin-left: auto;
    margin-right: auto;
  }
  .my-1{
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
  }
  .my-3{
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
  }
  .\!mb-0{
    margin-bottom: 0px !important;
  }
  .mb-0{
    margin-bottom: 0px;
  }
  .mb-0\.5{
    margin-bottom: 0.125rem;
  }
  .mb-1{
    margin-bottom: 0.25rem;
  }
  .mb-10{
    margin-bottom: 2.5rem;
  }
  .mb-16{
    margin-bottom: 4rem;
  }
  .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-8{
    margin-bottom: 2rem;
  }
  .ml-1{
    margin-left: 0.25rem;
  }
  .ml-1\.5{
    margin-left: 0.375rem;
  }
  .ml-2{
    margin-left: 0.5rem;
  }
  .ml-3{
    margin-left: 0.75rem;
  }
  .ml-4{
    margin-left: 1rem;
  }
  .mr-1{
    margin-right: 0.25rem;
  }
  .mr-2{
    margin-right: 0.5rem;
  }
  .mr-3{
    margin-right: 0.75rem;
  }
  .mr-4{
    margin-right: 1rem;
  }
  .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-6{
    margin-top: 1.5rem;
  }
  .mt-\[60px\]{
    margin-top: 60px;
  }
  .mt-auto{
    margin-top: auto;
  }
  .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;
  }
  .\!hidden{
    display: none !important;
  }
  .hidden{
    display: none;
  }
  .\!h-4{
    height: 1rem !important;
  }
  .\!h-6{
    height: 1.5rem !important;
  }
  .\!h-7{
    height: 1.75rem !important;
  }
  .h-10{
    height: 2.5rem;
  }
  .h-12{
    height: 3rem;
  }
  .h-16{
    height: 4rem;
  }
  .h-2{
    height: 0.5rem;
  }
  .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-6{
    height: 1.5rem;
  }
  .h-8{
    height: 2rem;
  }
  .h-96{
    height: 24rem;
  }
  .h-\[151px\]{
    height: 151px;
  }
  .h-\[80px\]{
    height: 80px;
  }
  .h-\[calc\(100vh-66px\)\]{
    height: calc(100vh - 66px);
  }
  .h-auto{
    height: auto;
  }
  .h-full{
    height: 100%;
  }
  .h-screen{
    height: 100vh;
  }
  .max-h-0{
    max-height: 0px;
  }
  .max-h-32{
    max-height: 8rem;
  }
  .max-h-40{
    max-height: 10rem;
  }
  .max-h-56{
    max-height: 14rem;
  }
  .max-h-64{
    max-height: 16rem;
  }
  .max-h-80{
    max-height: 20rem;
  }
  .max-h-96{
    max-height: 24rem;
  }
  .max-h-\[50vh\]{
    max-height: 50vh;
  }
  .max-h-\[55vh\]{
    max-height: 55vh;
  }
  .max-h-\[600px\]{
    max-height: 600px;
  }
  .max-h-\[68vh\]{
    max-height: 68vh;
  }
  .min-h-0{
    min-height: 0px;
  }
  .min-h-\[200px\]{
    min-height: 200px;
  }
  .min-h-\[20rem\]{
    min-height: 20rem;
  }
  .min-h-\[260px\]{
    min-height: 260px;
  }
  .min-h-\[92px\]{
    min-height: 92px;
  }
  .min-h-screen{
    min-height: 100vh;
  }
  .\!w-4{
    width: 1rem !important;
  }
  .\!w-6{
    width: 1.5rem !important;
  }
  .\!w-7{
    width: 1.75rem !important;
  }
  .\!w-full{
    width: 100% !important;
  }
  .w-1\/2{
    width: 50%;
  }
  .w-10{
    width: 2.5rem;
  }
  .w-12{
    width: 3rem;
  }
  .w-16{
    width: 4rem;
  }
  .w-2{
    width: 0.5rem;
  }
  .w-24{
    width: 6rem;
  }
  .w-3{
    width: 0.75rem;
  }
  .w-3\.5{
    width: 0.875rem;
  }
  .w-4{
    width: 1rem;
  }
  .w-40{
    width: 10rem;
  }
  .w-5{
    width: 1.25rem;
  }
  .w-6{
    width: 1.5rem;
  }
  .w-8{
    width: 2rem;
  }
  .w-80{
    width: 20rem;
  }
  .w-96{
    width: 24rem;
  }
  .w-\[151px\]{
    width: 151px;
  }
  .w-\[200px\]{
    width: 200px;
  }
  .w-\[80px\]{
    width: 80px;
  }
  .w-full{
    width: 100%;
  }
  .w-screen{
    width: 100vw;
  }
  .\!min-w-0{
    min-width: 0px !important;
  }
  .min-w-0{
    min-width: 0px;
  }
  .min-w-\[120px\]{
    min-width: 120px;
  }
  .min-w-\[140px\]{
    min-width: 140px;
  }
  .min-w-\[180px\]{
    min-width: 180px;
  }
  .min-w-\[260px\]{
    min-width: 260px;
  }
  .min-w-\[280px\]{
    min-width: 280px;
  }
  .max-w-3xl{
    max-width: 48rem;
  }
  .max-w-4xl{
    max-width: 56rem;
  }
  .max-w-5xl{
    max-width: 64rem;
  }
  .max-w-60{
    max-width: 15rem;
  }
  .max-w-7xl{
    max-width: 80rem;
  }
  .max-w-\[1110px\]{
    max-width: 1110px;
  }
  .max-w-\[360px\]{
    max-width: 360px;
  }
  .max-w-\[520px\]{
    max-width: 520px;
  }
  .max-w-\[640px\]{
    max-width: 640px;
  }
  .max-w-full{
    max-width: 100%;
  }
  .max-w-md{
    max-width: 28rem;
  }
  .max-w-none{
    max-width: none;
  }
  .max-w-sm{
    max-width: 24rem;
  }
  .max-w-xs{
    max-width: 20rem;
  }
  .flex-1{
    flex: 1 1 0%;
  }
  .flex-shrink-0{
    flex-shrink: 0;
  }
  .shrink-0{
    flex-shrink: 0;
  }
  .-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-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));
  }
  .scale-90{
    --tw-scale-x: .9;
    --tw-scale-y: .9;
    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 pulse{

    50%{
      opacity: .5;
    }
  }
  .animate-pulse{
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }
  @keyframes spin{

    to{
      transform: rotate(360deg);
    }
  }
  .animate-spin{
    animation: spin 1s linear infinite;
  }
  .\!cursor-not-allowed{
    cursor: not-allowed !important;
  }
  .cursor-help{
    cursor: help;
  }
  .cursor-not-allowed{
    cursor: not-allowed;
  }
  .cursor-pointer{
    cursor: pointer;
  }
  .select-none{
    -webkit-user-select: none;
            user-select: none;
  }
  .select-all{
    -webkit-user-select: all;
            user-select: all;
  }
  .resize{
    resize: both;
  }
  .list-inside{
    list-style-position: inside;
  }
  .list-disc{
    list-style-type: disc;
  }
  .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));
  }
  .flex-row{
    flex-direction: row;
  }
  .flex-col{
    flex-direction: column;
  }
  .flex-wrap{
    flex-wrap: wrap;
  }
  .items-start{
    align-items: flex-start;
  }
  .items-end{
    align-items: flex-end;
  }
  .items-center{
    align-items: center;
  }
  .items-baseline{
    align-items: baseline;
  }
  .items-stretch{
    align-items: stretch;
  }
  .justify-start{
    justify-content: flex-start;
  }
  .justify-end{
    justify-content: flex-end;
  }
  .justify-center{
    justify-content: center;
  }
  .justify-between{
    justify-content: space-between;
  }
  .gap-0\.5{
    gap: 0.125rem;
  }
  .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-6{
    gap: 1.5rem;
  }
  .gap-8{
    gap: 2rem;
  }
  .gap-x-3{
    column-gap: 0.75rem;
  }
  .gap-x-4{
    column-gap: 1rem;
  }
  .gap-y-1{
    row-gap: 0.25rem;
  }
  .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-y-0\.5 > :not([hidden]) ~ :not([hidden]){
    --tw-space-y-reverse: 0;
    margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.125rem * var(--tw-space-y-reverse));
  }
  .space-y-1 > :not([hidden]) ~ :not([hidden]){
    --tw-space-y-reverse: 0;
    margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.25rem * var(--tw-space-y-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-4 > :not([hidden]) ~ :not([hidden]){
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem * 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));
  }
  .self-center{
    align-self: center;
  }
  .overflow-auto{
    overflow: auto;
  }
  .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;
  }
  .whitespace-pre-wrap{
    white-space: pre-wrap;
  }
  .break-words{
    overflow-wrap: break-word;
  }
  .break-all{
    word-break: break-all;
  }
  .\!rounded-2xl{
    border-radius: 1rem !important;
  }
  .\!rounded-full{
    border-radius: 9999px !important;
  }
  .\!rounded-lg{
    border-radius: 0.5rem !important;
  }
  .\!rounded-xl{
    border-radius: 0.75rem !important;
  }
  .rounded{
    border-radius: 0.25rem;
  }
  .rounded-2xl{
    border-radius: 1rem;
  }
  .rounded-full{
    border-radius: 9999px;
  }
  .rounded-lg{
    border-radius: 0.5rem;
  }
  .rounded-md{
    border-radius: 0.375rem;
  }
  .rounded-xl{
    border-radius: 0.75rem;
  }
  .rounded-b-2xl{
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
  }
  .rounded-t-2xl{
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
  }
  .\!border{
    border-width: 1px !important;
  }
  .\!border-0{
    border-width: 0px !important;
  }
  .border{
    border-width: 1px;
  }
  .border-0{
    border-width: 0px;
  }
  .border-2{
    border-width: 2px;
  }
  .border-b{
    border-bottom-width: 1px;
  }
  .border-r-0{
    border-right-width: 0px;
  }
  .border-t{
    border-top-width: 1px;
  }
  .border-dashed{
    border-style: dashed;
  }
  .border-none{
    border-style: none;
  }
  .\!border-semi-color-border{
    border-color: var(--semi-color-border) !important;
  }
  .border-semi-color-border{
    border-color: var(--semi-color-border);
  }
  .\!bg-semi-color-fill-0{
    background-color: var(--semi-color-fill-0) !important;
  }
  .\!bg-semi-color-primary-light-default{
    background-color: var(--semi-color-primary-light-default) !important;
  }
  .bg-\[\#FFD166\]{
    --tw-bg-opacity: 1;
    background-color: rgb(255 209 102 / var(--tw-bg-opacity, 1));
  }
  .bg-semi-color-bg-0{
    background-color: var(--semi-color-bg-0);
  }
  .bg-semi-color-fill-0{
    background-color: var(--semi-color-fill-0);
  }
  .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));
  }
  .\!p-0{
    padding: 0px !important;
  }
  .\!p-1{
    padding: 0.25rem !important;
  }
  .\!p-1\.5{
    padding: 0.375rem !important;
  }
  .\!p-2{
    padding: 0.5rem !important;
  }
  .p-1{
    padding: 0.25rem;
  }
  .p-2{
    padding: 0.5rem;
  }
  .p-2\.5{
    padding: 0.625rem;
  }
  .p-3{
    padding: 0.75rem;
  }
  .p-4{
    padding: 1rem;
  }
  .p-6{
    padding: 1.5rem;
  }
  .p-8{
    padding: 2rem;
  }
  .\!px-2{
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .\!px-3{
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .\!px-4{
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .\!py-1\.5{
    padding-top: 0.375rem !important;
    padding-bottom: 0.375rem !important;
  }
  .\!py-2{
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  .px-1{
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  .px-1\.5{
    padding-left: 0.375rem;
    padding-right: 0.375rem;
  }
  .px-10{
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  .px-2{
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .px-3{
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .px-4{
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .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-10{
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .py-12{
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .py-16{
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .py-2{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .py-20{
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .py-24{
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .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-10{
    padding-bottom: 2.5rem;
  }
  .pb-2{
    padding-bottom: 0.5rem;
  }
  .pb-3{
    padding-bottom: 0.75rem;
  }
  .pr-1{
    padding-right: 0.25rem;
  }
  .pr-2{
    padding-right: 0.5rem;
  }
  .pr-5{
    padding-right: 1.25rem;
  }
  .pt-2{
    padding-top: 0.5rem;
  }
  .pt-3{
    padding-top: 0.75rem;
  }
  .pt-4{
    padding-top: 1rem;
  }
  .pt-6{
    padding-top: 1.5rem;
  }
  .text-left{
    text-align: left;
  }
  .text-center{
    text-align: center;
  }
  .text-right{
    text-align: right;
  }
  .align-bottom{
    vertical-align: bottom;
  }
  .font-mono{
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  }
  .\!text-base{
    font-size: 1rem !important;
    line-height: 1.5rem !important;
  }
  .\!text-lg{
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
  }
  .\!text-sm{
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
  }
  .\!text-xs{
    font-size: 0.75rem !important;
    line-height: 1rem !important;
  }
  .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-\[10px\]{
    font-size: 10px;
  }
  .text-\[11px\]{
    font-size: 11px;
  }
  .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 !important;
  }
  .\!font-medium{
    font-weight: 500 !important;
  }
  .\!font-semibold{
    font-weight: 600 !important;
  }
  .font-bold{
    font-weight: 700;
  }
  .font-medium{
    font-weight: 500;
  }
  .font-normal{
    font-weight: 400;
  }
  .font-semibold{
    font-weight: 600;
  }
  .uppercase{
    text-transform: uppercase;
  }
  .capitalize{
    text-transform: capitalize;
  }
  .italic{
    font-style: italic;
  }
  .ordinal{
    --tw-ordinal: ordinal;
    font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  }
  .tabular-nums{
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  }
  .leading-5{
    line-height: 1.25rem;
  }
  .leading-6{
    line-height: 1.5rem;
  }
  .leading-none{
    line-height: 1;
  }
  .leading-relaxed{
    line-height: 1.625;
  }
  .leading-tight{
    line-height: 1.25;
  }
  .tracking-wide{
    letter-spacing: 0.025em;
  }
  .\!text-\[var\(--semi-color-text-0\)\]{
    color: var(--semi-color-text-0) !important;
  }
  .\!text-\[var\(--semi-color-text-1\)\]{
    color: var(--semi-color-text-1) !important;
  }
  .\!text-semi-color-primary{
    color: var(--semi-color-primary) !important;
  }
  .\!text-semi-color-text-0{
    color: var(--semi-color-text-0) !important;
  }
  .\!text-semi-color-text-1{
    color: var(--semi-color-text-1) !important;
  }
  .\!text-semi-color-text-2{
    color: var(--semi-color-text-2) !important;
  }
  .text-\[var\(--semi-color-text-0\)\]{
    color: var(--semi-color-text-0);
  }
  .text-\[var\(--semi-color-text-2\)\]{
    color: var(--semi-color-text-2);
  }
  .text-semi-color-text-0{
    color: var(--semi-color-text-0);
  }
  .text-semi-color-text-1{
    color: var(--semi-color-text-1);
  }
  .text-semi-color-text-2{
    color: var(--semi-color-text-2);
  }
  .underline{
    -webkit-text-decoration-line: underline;
            text-decoration-line: underline;
  }
  .opacity-0{
    opacity: 0;
  }
  .opacity-10{
    opacity: 0.1;
  }
  .opacity-100{
    opacity: 1;
  }
  .opacity-5{
    opacity: 0.05;
  }
  .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;
  }
  .\!shadow-lg{
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1) !important;
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color) !important;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
  }
  .shadow-inner{
    --tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: inset 0 2px 4px 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-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);
  }
  .outline{
    outline-style: solid;
  }
  .ring-2{
    --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-opacity-50{
    --tw-ring-opacity: 0.5;
  }
  .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);
  }
  .invert{
    --tw-invert: invert(100%);
    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);
    -webkit-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: 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);
    -webkit-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: 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, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-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, fill, stroke, -webkit-text-decoration-color;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
    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-shadow{
    transition-property: box-shadow;
    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-1000{
    transition-duration: 1000ms;
  }
  .duration-150{
    transition-duration: 150ms;
  }
  .duration-200{
    transition-duration: 200ms;
  }
  .duration-500{
    transition-duration: 500ms;
  }
  .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);
  }
}

/* ==================== 全局基础样式 ==================== */
:root {
  --sidebar-width: 180px;
  --sidebar-width-collapsed: 60px;
  --sidebar-current-width: var(--sidebar-width);
}

body.sidebar-collapsed {
  --sidebar-current-width: var(--sidebar-width-collapsed);
}

body {
  font-family: Lato, 'Helvetica Neue', Arial, Helvetica, 'Microsoft YaHei',
    sans-serif;
  color: var(--semi-color-text-0);
  background-color: var(--semi-color-bg-0);
}

/* 桌面端禁止 body 纵向滚动 - 防止 VChart tooltip 触发页面滚动条 */
@media (min-width: 768px) {
  body {
    overflow-y: hidden;
  }
}

.app-layout {
  height: 100vh;
  height: 100dvh;
}

/* Docs shell — same slate base as landing-home */
.semi-layout-content:has(.docs-apps-layout-root) {
  background-color: #f8fafc !important;
  padding: 0;
}

.dark .semi-layout-content:has(.docs-apps-layout-root) {
  background-color: #0f172a !important;
}

.semi-layout:has(.docs-apps-layout-root) {
  background-color: #f8fafc;
}

.dark .semi-layout:has(.docs-apps-layout-root) {
  background-color: #0f172a;
}

.app-sider {
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* ==================== 布局相关样式 ==================== */
.semi-layout::-webkit-scrollbar,
.semi-layout-content::-webkit-scrollbar,
.semi-sider::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.semi-layout,
.semi-layout-content,
.semi-sider {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ==================== 导航和侧边栏样式 ==================== */
.semi-navigation-item {
  margin-bottom: 4px !important;
  padding: 4px 12px !important;
}

.semi-navigation-sub-title {
  padding: 0 !important;
}

.semi-navigation-item-icon {
  justify-items: center;
  align-items: center;
}

.semi-navigation-item-icon-info {
  margin-right: 0;
}

.sidebar-nav .semi-navigation-item-text {
  flex: 1;
  min-width: 0;
}

.semi-navigation-item,
.semi-navigation-sub-title {
  height: 100% !important;
}

.semi-navigation-item-collapsed {
  height: 44px !important;
}

#root
  > section
  > header
  > section
  > div
  > div
  > div
  > div.semi-navigation-header-list-outer
  > div.semi-navigation-list-wrapper
  > ul
  > div
  > a
  > li
  > span {
  font-weight: 600 !important;
}

/* 自定义侧边栏样式 */
.sidebar-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: width 0.3s ease;
  background: var(--semi-color-bg-0);
}

.sidebar-nav {
  flex: 1;
  width: 100%;
  background: var(--semi-color-bg-0);
  height: 100%;
  overflow-x: hidden;
  border-right: none;
  overflow-y: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sidebar-nav::-webkit-scrollbar {
  display: none;
}

/* 侧边栏导航项样式 */
.sidebar-nav-item {
  border-radius: 6px;
  margin: 3px 8px;
  transition: all 0.15s ease;
  padding: 8px 12px;
}

.sidebar-nav-item:hover {
  background-color: rgba(var(--semi-blue-0), 0.08);
  color: var(--semi-color-primary);
}

.sidebar-nav-item-selected {
  background-color: rgba(var(--semi-blue-0), 0.12);
  color: var(--semi-color-primary);
  font-weight: 500;
}

/* 图标容器样式 */
.sidebar-icon-container {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.2s ease;
}

.sidebar-sub-icon-container {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  margin-left: 1px;
  transition: all 0.2s ease;
}

/* 分割线样式 */
.sidebar-divider {
  margin: 4px 8px;
  opacity: 0.15;
}

.sidebar-divider-inner {
  margin: 6px 10px;
  opacity: 0.12;
}

/* 管理员视角：用户区 / 管理区 主分隔 */
.sidebar-divider-major {
  margin: 10px 12px 6px;
  height: 1px;
  background: var(--semi-color-border);
  opacity: 0.55;
}

.sidebar-section-user {
  padding-bottom: 2px;
}

.sidebar-section-admin {
  padding-top: 2px;
  padding-bottom: 4px;
}

.sidebar-section-label {
  padding: 4px 16px 8px;
  color: var(--semi-color-text-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}

/* 分组标签样式 */
.sidebar-group-label {
  padding: 4px 15px 8px;
  color: var(--semi-color-text-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* 底部折叠按钮 */
.sidebar-collapse-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  margin-top: auto;
  cursor: pointer;
  background-color: var(--semi-color-bg-0);
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  z-index: 10;
  box-shadow: 0 -10px 10px -5px var(--semi-color-bg-0);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  border-top: 1px solid rgba(var(--semi-grey-0), 0.08);
}

.sidebar-collapse-button-inner {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--semi-color-fill-0);
  transition: all 0.2s ease;
}

.sidebar-collapse-icon-container {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* 侧边栏区域容器 */
.sidebar-section {
  padding-top: 12px;
}

@media (max-width: 767px) {
  .sidebar-container {
    background: var(--semi-color-bg-1);
    border-right: 1px solid var(--semi-color-border);
  }

  .sidebar-nav {
    background: var(--semi-color-bg-1);
  }

  .sidebar-collapse-button {
    background-color: var(--semi-color-bg-1);
    box-shadow: 0 -10px 10px -5px var(--semi-color-bg-1);
  }
}

/* ==================== 聊天界面样式 ==================== */
.semi-chat {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 100%;
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
}

.semi-chat-chatBox {
  max-width: 100% !important;
  overflow: hidden !important;
}

.semi-chat-chatBox-wrap {
  max-width: 100% !important;
  overflow: hidden !important;
}

.semi-chat-chatBox-content {
  min-width: auto;
  word-break: break-word;
  max-width: 100% !important;
  overflow-wrap: break-word !important;
}

.semi-chat-content {
  max-width: 100% !important;
  overflow: hidden !important;
}

.semi-chat-list {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.semi-chat-container {
  overflow-x: hidden !important;
}

.semi-chat-chatBox-action {
  column-gap: 0 !important;
}

.semi-chat-inputBox-clearButton.semi-button .semi-icon {
  font-size: 20px !important;
}

/* 隐藏所有聊天相关区域的滚动条 */
.semi-chat::-webkit-scrollbar,
.semi-chat-chatBox::-webkit-scrollbar,
.semi-chat-chatBox-wrap::-webkit-scrollbar,
.semi-chat-chatBox-content::-webkit-scrollbar,
.semi-chat-content::-webkit-scrollbar,
.semi-chat-list::-webkit-scrollbar,
.semi-chat-container::-webkit-scrollbar {
  display: none;
}

.semi-chat,
.semi-chat-chatBox,
.semi-chat-chatBox-wrap,
.semi-chat-chatBox-content,
.semi-chat-content,
.semi-chat-list,
.semi-chat-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ==================== 组件特定样式 ==================== */
/* SelectableButtonGroup */
.sbg-button .semi-button-content {
  min-width: 0 !important;
}

.sbg-content {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-width: 0;
}

.sbg-ellipsis {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Badge for count/multiplier in filter buttons */
.sbg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  background-color: var(--semi-color-fill-0);
  color: var(--semi-color-text-2);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sbg-badge-active {
  background-color: var(--semi-color-primary-light-active);
  color: var(--semi-color-primary);
}

/* ---- SelectableButtonGroup color variants ---- */
.sbg-variant-violet {
  --semi-color-primary: #6d28d9;
  --semi-color-primary-light-default: rgba(124, 58, 237, 0.08);
  --semi-color-primary-light-hover: rgba(124, 58, 237, 0.15);
  --semi-color-primary-light-active: rgba(124, 58, 237, 0.22);
}

.sbg-variant-teal {
  --semi-color-primary: #0f766e;
  --semi-color-primary-light-default: rgba(20, 184, 166, 0.08);
  --semi-color-primary-light-hover: rgba(20, 184, 166, 0.15);
  --semi-color-primary-light-active: rgba(20, 184, 166, 0.22);
}

.sbg-variant-amber {
  --semi-color-primary: #b45309;
  --semi-color-primary-light-default: rgba(245, 158, 11, 0.08);
  --semi-color-primary-light-hover: rgba(245, 158, 11, 0.15);
  --semi-color-primary-light-active: rgba(245, 158, 11, 0.22);
}

.sbg-variant-rose {
  --semi-color-primary: #be123c;
  --semi-color-primary-light-default: rgba(244, 63, 94, 0.08);
  --semi-color-primary-light-hover: rgba(244, 63, 94, 0.15);
  --semi-color-primary-light-active: rgba(244, 63, 94, 0.22);
}

.sbg-variant-green {
  --semi-color-primary: #047857;
  --semi-color-primary-light-default: rgba(16, 185, 129, 0.08);
  --semi-color-primary-light-hover: rgba(16, 185, 129, 0.15);
  --semi-color-primary-light-active: rgba(16, 185, 129, 0.22);
}

/* Dark mode: lighter text, slightly stronger backgrounds */
html.dark .sbg-variant-violet {
  --semi-color-primary: #a78bfa;
  --semi-color-primary-light-default: rgba(139, 92, 246, 0.14);
  --semi-color-primary-light-hover: rgba(139, 92, 246, 0.22);
  --semi-color-primary-light-active: rgba(139, 92, 246, 0.3);
}

html.dark .sbg-variant-teal {
  --semi-color-primary: #2dd4bf;
  --semi-color-primary-light-default: rgba(45, 212, 191, 0.14);
  --semi-color-primary-light-hover: rgba(45, 212, 191, 0.22);
  --semi-color-primary-light-active: rgba(45, 212, 191, 0.3);
}

html.dark .sbg-variant-amber {
  --semi-color-primary: #fbbf24;
  --semi-color-primary-light-default: rgba(251, 191, 36, 0.14);
  --semi-color-primary-light-hover: rgba(251, 191, 36, 0.22);
  --semi-color-primary-light-active: rgba(251, 191, 36, 0.3);
}

html.dark .sbg-variant-rose {
  --semi-color-primary: #fb7185;
  --semi-color-primary-light-default: rgba(251, 113, 133, 0.14);
  --semi-color-primary-light-hover: rgba(251, 113, 133, 0.22);
  --semi-color-primary-light-active: rgba(251, 113, 133, 0.3);
}

html.dark .sbg-variant-green {
  --semi-color-primary: #34d399;
  --semi-color-primary-light-default: rgba(52, 211, 153, 0.14);
  --semi-color-primary-light-hover: rgba(52, 211, 153, 0.22);
  --semi-color-primary-light-active: rgba(52, 211, 153, 0.3);
}

/* Tabs组件样式 */
.semi-tabs-content {
  padding: 0 !important;
  height: calc(100% - 40px) !important;
  flex: 1 !important;
}

.semi-tabs-content .semi-tabs-pane {
  height: 100% !important;
  overflow: hidden !important;
}

.semi-tabs-content .semi-tabs-pane > div {
  height: 100% !important;
}

/* 表格样式 */
.tableShow {
  display: revert;
}

.tableHiddle {
  display: none !important;
}

/* Classic theme: hide QuantumNous copyright line in page footers */
.landing-footer-copy,
.about-page-footer-copy {
  display: none !important;
}

/* 页脚样式 */
.custom-footer {
  font-size: 1.1em;
}
.custom-footer.na-cb6feafeb3990c78 {
  position: relative;
}

/* 卡片内容容器通用样式 */
.card-content-container {
  position: relative;
}

.card-content-fade-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(transparent, var(--semi-color-bg-1));
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ==================== 调试面板特定样式 ==================== */
.debug-panel .semi-tabs {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.debug-panel .semi-tabs-bar {
  flex-shrink: 0 !important;
}

.debug-panel .semi-tabs-content {
  flex: 1 !important;
  overflow: hidden !important;
}

/* ==================== 滚动条样式统一管理 ==================== */
/* 通用隐藏滚动条工具类 */
.scrollbar-hide {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  /* Chrome, Safari, Opera */
}

/* 表格滚动条样式 */
.semi-table-body::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.semi-table-body::-webkit-scrollbar-thumb {
  background: rgba(var(--semi-grey-2), 0.3);
  border-radius: 2px;
}

.semi-table-body::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--semi-grey-2), 0.5);
}

.semi-table-body::-webkit-scrollbar-track {
  background: transparent;
}

/* 侧边抽屉滚动条样式 */
.semi-sidesheet-body::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.semi-sidesheet-body::-webkit-scrollbar-thumb {
  background: rgba(var(--semi-grey-2), 0.3);
  border-radius: 2px;
}

.semi-sidesheet-body::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--semi-grey-2), 0.5);
}

.semi-sidesheet-body::-webkit-scrollbar-track {
  background: transparent;
}

/* 隐藏内容区域滚动条 */
.pricing-scroll-hide,
.model-test-scroll,
.card-content-scroll,
.model-settings-scroll,
.thinking-content-scroll,
.custom-request-textarea .semi-input,
.custom-request-textarea textarea,
.notice-content-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.pricing-scroll-hide::-webkit-scrollbar,
.model-test-scroll::-webkit-scrollbar,
.card-content-scroll::-webkit-scrollbar,
.model-settings-scroll::-webkit-scrollbar,
.thinking-content-scroll::-webkit-scrollbar,
.custom-request-textarea .semi-input::-webkit-scrollbar,
.custom-request-textarea textarea::-webkit-scrollbar,
.notice-content-scroll::-webkit-scrollbar {
  display: none;
}

/* 图片列表滚动条样式 */
.image-list-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.image-list-scroll::-webkit-scrollbar-thumb {
  background: var(--semi-color-tertiary-light-default);
  border-radius: 3px;
}

.image-list-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--semi-color-tertiary);
}

.image-list-scroll::-webkit-scrollbar-track {
  background: transparent;
}

/* ==================== 同步倍率 - 渠道选择器 ==================== */

.components-transfer-source-item,
.components-transfer-selected-item {
  display: flex;
  align-items: center;
  padding: 8px;
}

.semi-transfer-left-list,
.semi-transfer-right-list {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.semi-transfer-left-list::-webkit-scrollbar,
.semi-transfer-right-list::-webkit-scrollbar {
  display: none;
}

.components-transfer-source-item .semi-checkbox,
.components-transfer-selected-item .semi-checkbox {
  display: flex;
  align-items: center;
  width: 100%;
}

.components-transfer-source-item .semi-avatar,
.components-transfer-selected-item .semi-avatar {
  margin-right: 12px;
  flex-shrink: 0;
}

.components-transfer-source-item .info,
.components-transfer-selected-item .info {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.components-transfer-source-item .name,
.components-transfer-selected-item .name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.components-transfer-source-item .email,
.components-transfer-selected-item .email {
  font-size: 12px;
  color: var(--semi-color-text-2);
  display: flex;
  align-items: center;
}

.components-transfer-selected-item .semi-icon-close {
  margin-left: 8px;
  cursor: pointer;
  color: var(--semi-color-text-2);
}

.components-transfer-selected-item .semi-icon-close:hover {
  color: var(--semi-color-text-0);
}

/* ==================== 未读通知闪光效果 ==================== */
@keyframes sweep-shine {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.shine-text {
  background: linear-gradient(
    90deg,
    currentColor 0%,
    currentColor 40%,
    rgba(255, 255, 255, 0.9) 50%,
    currentColor 60%,
    currentColor 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sweep-shine 4s linear infinite;
}

.dark .shine-text {
  background: linear-gradient(
    90deg,
    currentColor 0%,
    currentColor 40%,
    #facc15 50%,
    currentColor 60%,
    currentColor 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==================== ScrollList 定制样式 ==================== */
.semi-scrolllist,
.semi-scrolllist * {
  -ms-overflow-style: none;
  /* IE, Edge */
  scrollbar-width: none;
  /* Firefox */
  background: transparent !important;
}

.semi-scrolllist::-webkit-scrollbar,
.semi-scrolllist *::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.semi-scrolllist-body {
  padding: 1px !important;
}

.semi-scrolllist-list-outer {
  padding-right: 0 !important;
}

/* ==================== Banner 背景模糊球 ==================== */
.blur-ball {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}

.blur-ball-indigo {
  background: #6366f1;
  /* indigo-500 */
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
}

.blur-ball-teal {
  background: #14b8a6;
  /* teal-400 */
  top: 200px;
  left: 30%;
  opacity: 0.4;
}

/* 浅色主题下让模糊球更柔和 */
html:not(.dark) .blur-ball-indigo {
  opacity: 0.25;
}

html:not(.dark) .blur-ball-teal {
  opacity: 0.2;
}

/* ==================== 卡片马卡龙模糊球（类封装） ==================== */
/* 使用方式：给容器加上 with-pastel-balls 类即可，无需在 JSX 中插入额外节点 */
.with-pastel-balls {
  position: relative;
  overflow: hidden;
  /* 默认变量（明亮模式） */
  --pb1: #ffd1dc;
  /* 粉 */
  --pb2: #e5d4ff;
  /* 薰衣草 */
  --pb3: #d1fff6;
  /* 薄荷 */
  --pb4: #ffe5d9;
  /* 桃 */
  --pb-opacity: 0.55;
  --pb-blur: 60px;
}

.with-pastel-balls::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
      circle at -5% -10%,
      var(--pb1) 0%,
      transparent 60%
    ),
    radial-gradient(circle at 105% -10%, var(--pb2) 0%, transparent 55%),
    radial-gradient(circle at 5% 110%, var(--pb3) 0%, transparent 55%),
    radial-gradient(circle at 105% 110%, var(--pb4) 0%, transparent 50%);
  filter: blur(var(--pb-blur));
  opacity: var(--pb-opacity);
  transform: translateZ(0);
}

/* 暗黑模式下更柔和的色彩和透明度 */
html.dark .with-pastel-balls {
  /* 使用与明亮模式一致的“刚才那组”马卡龙色，但整体更柔和 */
  --pb1: #ffd1dc;
  /* 粉 */
  --pb2: #e5d4ff;
  /* 薰衣草 */
  --pb3: #d1fff6;
  /* 薄荷 */
  --pb4: #ffe5d9;
  /* 桃 */
  --pb-opacity: 0.36;
  --pb-blur: 65px;
}

/* 暗黑模式下用更柔和的混合模式避免突兀的高亮 */
html.dark .with-pastel-balls::before {
  mix-blend-mode: screen;
}

/* ==================== 表格卡片滚动设置 ==================== */
.table-scroll-card {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 110px);
  max-height: calc(100vh - 110px);
}

.table-scroll-card .semi-card-body {
  flex: 1 1 auto;
  overflow-y: auto;
}

.table-scroll-card .semi-card-body::-webkit-scrollbar {
  width: 6px;
}

.table-scroll-card .semi-card-body::-webkit-scrollbar-thumb {
  background: rgba(var(--semi-grey-2), 0.3);
  border-radius: 2px;
}

.table-scroll-card .semi-card-body::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--semi-grey-2), 0.5);
}

.table-scroll-card .semi-card-body::-webkit-scrollbar-track {
  background: transparent;
}

@media (max-width: 767px) {
  .table-scroll-card {
    height: calc(100vh - 77px);
    max-height: calc(100vh - 77px);
  }

  .semi-input-suffix-text {
    font-size: 11px;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
  }

  .semi-input-prefix-text, .semi-input-suffix-text {
    margin: 0;
  }

  .semi-select-arrow {
    margin-left: 2px;
    margin-right: 2px;
  }
}

/* ==================== 模型定价页面布局 ==================== */
.pricing-layout {
  height: calc(100vh - 60px);
  overflow: hidden;
  margin-top: 60px;
}

.pricing-sidebar {
  width: clamp(280px, 24vw, 520px) !important;
  min-width: clamp(280px, 24vw, 520px) !important;
  max-width: clamp(280px, 24vw, 520px) !important;
  height: calc(100vh - 60px);
  background-color: var(--semi-color-bg-0);
  overflow: auto;
}

.pricing-content {
  height: calc(100vh - 60px);
  background-color: var(--semi-color-bg-0);
  display: flex;
  flex-direction: column;
}

.pricing-pagination-divider {
  border-color: var(--semi-color-border);
}

.pricing-content-mobile {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.pricing-search-header {
  padding: 0.5rem;
  background-color: var(--semi-color-bg-0);
  flex-shrink: 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 5;
}

.pricing-view-container {
  flex: 1;
  overflow: auto;
}

.pricing-view-container-mobile {
  flex: 1;
  overflow: auto;
  min-height: 0;
}

/* ==================== semi-ui 组件自定义样式 ==================== */
.semi-card-header,
.semi-card-body {
  padding: 10px !important;
}

/* ==================== 使用日志: channel affinity tag ==================== */
.semi-tag.channel-affinity-tag {
  border: 1px solid rgba(var(--semi-cyan-5), 0.35);
  background-color: rgba(var(--semi-cyan-5), 0.15);
  color: rgba(var(--semi-cyan-9), 1);
  cursor: help;
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.semi-tag.channel-affinity-tag:hover {
  background-color: rgba(var(--semi-cyan-5), 0.22);
  border-color: rgba(var(--semi-cyan-5), 0.6);
  box-shadow: 0 0 0 2px rgba(var(--semi-cyan-5), 0.18);
}

.semi-tag.channel-affinity-tag:active {
  background-color: rgba(var(--semi-cyan-5), 0.28);
}

.semi-tag.channel-affinity-tag .channel-affinity-tag-content {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ==================== 自定义圆角样式 ==================== */
.semi-radio,
.semi-tagInput,
.semi-input-textarea-wrapper,
.semi-navigation-sub-title,
.semi-chat-inputBox-sendButton,
.semi-page-item,
.semi-navigation-item,
.semi-tag-closable,
.semi-input-wrapper,
.semi-tabs-tab-button,
.semi-select,
.semi-button,
.semi-datepicker-range-input {
  border-radius: 10px !important;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Channel advanced settings side panel animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.ec-dbcd0a3c01b55203 { forced-color-adjust: auto; }

.last\:border-0:last-child{
  border-width: 0px;
}

.last\:border-b-0:last-child{
  border-bottom-width: 0px;
}

.last\:pb-0:last-child{
  padding-bottom: 0px;
}

.hover\:-translate-y-px:hover{
  --tw-translate-y: -1px;
  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-semi-color-fill-1:hover{
  background-color: var(--semi-color-fill-1) !important;
}

.hover\:bg-opacity-80:hover{
  --tw-bg-opacity: 0.8;
}

.hover\:bg-gradient-to-r:hover{
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.hover\:text-semi-color-primary:hover{
  color: var(--semi-color-primary);
}

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

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

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

.hover\:opacity-85:hover{
  opacity: 0.85;
}

.hover\:shadow-lg:hover{
  --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);
}

.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-semi-color-fill-1:focus{
  background-color: var(--semi-color-fill-1) !important;
}

.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));
}

@media (min-width: 640px){

  .sm\:mb-4{
    margin-bottom: 1rem;
  }

  .sm\:block{
    display: block;
  }

  .sm\:inline{
    display: inline;
  }

  .sm\:h-5{
    height: 1.25rem;
  }

  .sm\:h-6{
    height: 1.5rem;
  }

  .sm\:h-8{
    height: 2rem;
  }

  .sm\:w-48{
    width: 12rem;
  }

  .sm\:w-5{
    width: 1.25rem;
  }

  .sm\:w-6{
    width: 1.5rem;
  }

  .sm\:w-64{
    width: 16rem;
  }

  .sm\:w-8{
    width: 2rem;
  }

  .sm\:w-auto{
    width: auto;
  }

  .sm\:\!flex-1{
    flex: 1 1 0% !important;
  }

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

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

  .sm\:flex-row{
    flex-direction: row;
  }

  .sm\:items-center{
    align-items: center;
  }

  .sm\:justify-end{
    justify-content: flex-end;
  }

  .sm\:justify-between{
    justify-content: space-between;
  }

  .sm\:gap-2{
    gap: 0.5rem;
  }

  .sm\:gap-3{
    gap: 0.75rem;
  }

  .sm\:gap-4{
    gap: 1rem;
  }

  .sm\:rounded-2xl{
    border-radius: 1rem;
  }

  .sm\:rounded-xl{
    border-radius: 0.75rem;
  }

  .sm\:p-3{
    padding: 0.75rem;
  }

  .sm\:p-4{
    padding: 1rem;
  }

  .sm\:p-5{
    padding: 1.25rem;
  }

  .sm\:px-6{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:pt-4{
    padding-top: 1rem;
  }

  .sm\:text-2xl{
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .sm\:text-3xl{
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .sm\:text-base{
    font-size: 1rem;
    line-height: 1.5rem;
  }

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

  .sm\:text-xl{
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 768px){

  .md\:order-1{
    order: 1;
  }

  .md\:order-2{
    order: 2;
  }

  .md\:mb-0{
    margin-bottom: 0px;
  }

  .md\:ml-1{
    margin-left: 0.25rem;
  }

  .md\:mt-6{
    margin-top: 1.5rem;
  }

  .md\:block{
    display: block;
  }

  .md\:inline{
    display: inline;
  }

  .md\:hidden{
    display: none;
  }

  .md\:w-32{
    width: 8rem;
  }

  .md\:w-48{
    width: 12rem;
  }

  .md\:w-56{
    width: 14rem;
  }

  .md\:w-64{
    width: 16rem;
  }

  .md\:w-80{
    width: 20rem;
  }

  .md\:w-auto{
    width: auto;
  }

  .md\:flex-initial{
    flex: 0 1 auto;
  }

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

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

  .md\:grid-cols-4{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:flex-row{
    flex-direction: row;
  }

  .md\:flex-nowrap{
    flex-wrap: nowrap;
  }

  .md\:items-center{
    align-items: center;
  }

  .md\:justify-between{
    justify-content: space-between;
  }

  .md\:gap-6{
    gap: 1.5rem;
  }

  .md\:px-24{
    padding-left: 6rem;
    padding-right: 6rem;
  }

  .md\:text-4xl{
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

@media (min-width: 1024px){

  .lg\:col-span-1{
    grid-column: span 1 / span 1;
  }

  .lg\:col-span-2{
    grid-column: span 2 / span 2;
  }

  .lg\:col-span-3{
    grid-column: span 3 / span 3;
  }

  .lg\:mt-0{
    margin-top: 0px;
  }

  .lg\:block{
    display: block;
  }

  .lg\:hidden{
    display: none;
  }

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

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

  .lg\:grid-cols-4{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:flex-row{
    flex-direction: row;
  }

  .lg\:items-center{
    align-items: center;
  }

  .lg\:justify-between{
    justify-content: space-between;
  }

  .lg\:px-8{
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1280px){

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

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

@media (min-width: 1536px){

  .\32xl\:grid-cols-3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-color-scheme: dark){

  .dark\:block{
    display: block;
  }

  .dark\:hidden{
    display: none;
  }

  .dark\:\!bg-semi-color-fill-1{
    background-color: var(--semi-color-fill-1) !important;
  }

  .dark\:bg-semi-color-fill-1{
    background-color: var(--semi-color-fill-1);
  }

  .dark\:opacity-10{
    opacity: 0.1;
  }

  .dark\:hover\:\!bg-semi-color-fill-2:hover{
    background-color: var(--semi-color-fill-2) !important;
  }
}
