/*
 * Dark-green theme mapped from:
 * - F:/AIagent/web (3)/src/styles/app.css
 * - F:/AIagent/web (3)/src/styles/pages.css
 *
 * Keep this file as a source-aligned theme layer, not a patch pile.
 */

.web-shell[data-ui-theme="dark-green"] {
  --dg-page: #0d0d0f;
  --dg-shell: #0e0e10;
  --dg-surface: #151719;
  --dg-elevated: #181b1d;
  --dg-inset: rgba(255, 255, 255, 0.05);
  --dg-hover: rgba(255, 255, 255, 0.085);
  --dg-line: rgba(255, 255, 255, 0.08);
  --dg-line-strong: rgba(255, 255, 255, 0.2);
  --dg-button-text: #061014;
  background: var(--dg-page);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] *,
.web-shell[data-ui-theme="dark-green"] *::before,
.web-shell[data-ui-theme="dark-green"] *::after {
  text-shadow: none;
}

/* Shell: migrated from web (3)/src/styles/app.css. */
.web-shell[data-ui-theme="dark-green"] .web-shell__stage {
  height: calc(100svh - 36px);
  min-height: 0;
  background: var(--dg-page);
}

.web-shell[data-ui-theme="dark-green"].event-strip-hidden .web-shell__stage {
  height: 100svh;
}

.web-shell[data-ui-theme="dark-green"] .web-shell__content,
.web-shell[data-ui-theme="dark-green"] .web-shell__page {
  background: var(--dg-page);
}

.web-shell[data-ui-theme="dark-green"] .event-strip {
  height: 30px;
  border-color: rgba(var(--accent-rgb), 0.2);
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .event-strip__pill {
  background: rgba(255, 255, 255, 0.11);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .event-strip button {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .event-strip__close {
  color: rgba(244, 247, 245, 0.72);
}

.web-shell[data-ui-theme="dark-green"] .web-topbar {
  flex: 0 0 56px;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.18);
  background: var(--dg-surface);
  box-shadow: 0 1px 0 rgba(var(--accent-rgb), 0.06);
}

.web-shell[data-ui-theme="dark-green"] .brand-lockup {
  gap: 10px;
  color: var(--fg-body);
  font-size: 15px;
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .brand-lockup__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .brand-lockup__name {
  color: var(--fg-body);
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .brand-lockup__tone {
  display: none;
}

.web-shell[data-ui-theme="dark-green"] .web-topbar__actions {
  gap: 6px;
}

.web-shell[data-ui-theme="dark-green"] :is(
  .creator-button,
  .member-button,
  .profile-button,
  .icon-button,
  .theme-toggle,
  .notification-center__bell
) {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 12px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] :is(
  .creator-button:hover,
  .member-button:hover,
  .profile-button:hover,
  .icon-button:hover,
  .theme-toggle:hover,
  .notification-center__bell:hover
) {
  border-color: var(--border-default);
  background: var(--bg-hover);
  color: var(--fg-body);
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .creator-button {
  border-color: var(--border-accent);
  background: var(--accent-muted);
  color: var(--accent);
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .notification-center {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  isolation: isolate;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__bell {
  width: 34px;
  min-width: 34px;
  padding: 0;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__badge {
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border: 1px solid #0d0d0f;
  border-radius: 999px;
  background: var(--accent);
  color: var(--dg-button-text);
  font-size: 10px;
  font-weight: 800;
  line-height: 14px;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: calc(100% + 12px);
  right: -88px;
  z-index: 1200;
  width: min(420px, calc(100vw - 24px));
  height: auto;
  max-height: min(460px, calc(100dvh - 84px));
  border: 1px solid var(--dg-line);
  border-radius: 16px;
  background: #151719;
  box-shadow: none;
  color: var(--fg-body);
  overflow: hidden;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__panel::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 102px;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--dg-line);
  border-left: 1px solid var(--dg-line);
  background: #151719;
  transform: rotate(45deg);
}

.web-shell[data-ui-theme="dark-green"] .notification-center__header {
  position: relative;
  z-index: 1;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--dg-line);
  background: #151719;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__title {
  color: var(--fg-body);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__mark-read {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.42);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__mark-read:hover {
  background: rgba(var(--accent-rgb), 0.2);
  transform: none;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(386px, calc(100dvh - 158px));
  padding: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: flex-start;
  min-height: 72px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--fg-body);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__item + .notification-center__item {
  margin-top: 6px;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__item:last-child {
  border-bottom: 1px solid transparent;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__item:hover {
  border-color: var(--dg-line);
  background: var(--dg-hover);
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__item.is-unread {
  border-color: rgba(var(--accent-rgb), 0.24);
  background: rgba(var(--accent-rgb), 0.08);
}

.web-shell[data-ui-theme="dark-green"] .notification-center__item.is-unread:hover {
  background: rgba(var(--accent-rgb), 0.12);
}

.web-shell[data-ui-theme="dark-green"] .notification-center__item-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 15px;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__item-body {
  min-width: 0;
  gap: 5px;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__item-title {
  color: var(--fg-body);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__item-desc {
  display: -webkit-box;
  color: var(--fg-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__item-time {
  margin-top: 2px;
  color: var(--fg-dim);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .notification-center__empty {
  min-height: 180px;
  color: var(--fg-muted);
  font-size: 13px;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .creator-button:hover {
  background: rgba(var(--accent-rgb), 0.2);
  color: var(--accent);
  box-shadow: var(--accent-glow);
}

.web-shell[data-ui-theme="dark-green"] .member-button {
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .member-button--community {
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .profile-button--guest {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--dg-button-text);
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .profile-button--guest:hover {
  background: var(--accent-dim);
  color: var(--dg-button-text);
}

.web-shell[data-ui-theme="dark-green"] .profile-button--member {
  border-color: var(--border-default);
  background: var(--bg-elevated);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .theme-switcher {
  height: 40px;
  padding: 3px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .theme-switcher .theme-toggle.theme-switcher__option {
  min-width: 70px;
  height: 32px;
  min-height: 32px;
  padding: 0 10px;
  border-color: transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .theme-switcher .theme-toggle.theme-switcher__option.is-active {
  border-color: rgba(var(--accent-rgb), 0.24);
  background: rgba(var(--accent-rgb), 0.16);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .theme-switcher .theme-toggle.theme-switcher__option:hover {
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .floating-nav {
  left: 16px;
  width: 52px;
  padding: 6px;
  gap: 2px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-lg);
  background: #0e0e10;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .floating-nav.is-expanded {
  width: 64px;
}

.web-shell[data-ui-theme="dark-green"] .floating-nav__item {
  width: 40px;
}

.web-shell[data-ui-theme="dark-green"] .floating-nav__button {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--fg-muted);
  font-size: 16px;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .floating-nav__button:hover {
  background: var(--bg-hover);
  color: var(--fg-body);
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .floating-nav__button.is-active {
  background: var(--accent-muted);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--border-accent);
}

.web-shell[data-ui-theme="dark-green"] .floating-nav__submenu {
  left: calc(100% + 12px);
  min-width: 112px;
  padding: 6px;
  border: 1px solid var(--border-weak);
  border-radius: 16px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-tight);
}

.web-shell[data-ui-theme="dark-green"] .floating-nav__subbutton {
  height: 36px;
  padding: 0 10px;
  border-radius: 12px;
  background: transparent;
  color: var(--fg-muted);
  font-size: 12px;
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .floating-nav__subbutton:hover,
.web-shell[data-ui-theme="dark-green"] .floating-nav__subbutton.is-active {
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .floating-nav__label {
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  background: var(--bg-elevated);
  color: var(--fg-body);
  font-size: 11px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
}

.web-shell[data-ui-theme="dark-green"] .floating-nav__button.has-divider::before {
  width: 24px;
  background: var(--border-weak);
}

.web-shell[data-ui-theme="dark-green"] .floating-page-scroll-actions__button {
  border-color: var(--border-weak);
  background: var(--bg-inset);
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .floating-page-scroll-actions__button:hover {
  border-color: var(--border-default);
  background: var(--bg-hover);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .wb-chat-scroll-actions__button {
  width: 44px;
  height: 36px;
  border: 1px solid var(--border-weak);
  border-radius: 12px;
  background: var(--bg-inset);
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 16px;
}

.web-shell[data-ui-theme="dark-green"] .wb-chat-scroll-actions__button:hover {
  border-color: var(--border-default);
  background: var(--bg-hover);
  color: var(--fg-body);
  box-shadow: none;
  transform: translateY(-1px);
}

/* Page backgrounds: source-aligned solid dark base. */
.web-shell[data-ui-theme="dark-green"] :is(
  .home-page,
  .pixel-home,
  .workbench-landing-page,
  .ecommerce-landing-page,
  .community-page,
  .assets-page,
  .assets-centered-page,
  .more-page,
  .profile-page,
  .ai-workbench-page,
  .agent-experience,
  .canvas-page
) {
  background: var(--dg-page);
  background-image: none;
  color: var(--fg-body);
  font-family: var(--font-sans);
}

.web-shell[data-ui-theme="dark-green"] :is(
  .workbench-landing-scroll,
  .ecommerce-landing-scroll,
  .assets-centered-page,
  .agent-composer,
  .agent-run-card,
  .agent-status,
  .profile-page__card,
  .profile-page__sidebar,
  .profile-page__banner,
  .profile-page__empty-state,
  .notification-center__panel,
  .profile-popover,
  .login-gate-modal__panel
) {
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] :is(
  .workbench-landing-scroll::before,
  .workbench-composer-shell::before,
  .ecommerce-landing-scroll::before,
  .ecommerce-community-content::before,
  .ecommerce-composer-shell::before,
  .community-page .community-carousel::before,
  .community-page .community-filter-bar::before,
  .community-page .community-case-card::before,
  .community-page .project-card::before,
  .more-page .more-tool::before,
  .assets-page .asset-card--desktop::before,
  .profile-page__card::before,
  .profile-page__sidebar::before
) {
  content: none;
  display: none;
}

.web-shell[data-ui-theme="dark-green"] .assets-page .workspace-page-shell__content {
  height: 100%;
  overflow: auto;
  padding: 32px clamp(24px, 5vw, 72px) 40px;
  background: var(--dg-page);
}

.web-shell[data-ui-theme="dark-green"] .assets-page .assets-centered-page {
  width: min(100%, 1180px);
  height: auto;
  min-height: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.web-shell[data-ui-theme="dark-green"] .more-page .workspace-page-shell__content {
  height: 100%;
  overflow: auto;
  padding: 32px clamp(24px, 5vw, 72px) 40px;
  background: var(--dg-page);
}

.web-shell[data-ui-theme="dark-green"] .more-page .studio-tool-layout {
  width: min(100%, 1180px);
  height: auto;
  min-height: 100%;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] :is(.assets-login-required, .assets-empty-state) {
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  background-image: none;
  box-shadow: none;
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] :is(.assets-login-required__icon, .assets-empty-state__icon) {
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  box-shadow: none;
  color: var(--dg-button-text);
}

.web-shell[data-ui-theme="dark-green"] :is(.assets-login-required strong, .assets-empty-state strong) {
  color: var(--fg-body);
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] :is(.assets-login-required p, .assets-empty-state p) {
  color: var(--fg-muted);
  font-weight: 500;
}

@media (max-width: 720px) {
  .web-shell[data-ui-theme="dark-green"] .assets-page .workspace-page-shell__content,
  .web-shell[data-ui-theme="dark-green"] .more-page .workspace-page-shell__content {
    padding: 16px 14px 24px;
  }

  .web-shell[data-ui-theme="dark-green"] .assets-page .assets-centered-page,
  .web-shell[data-ui-theme="dark-green"] .more-page .studio-tool-layout {
    width: 100%;
  }
}

/* Ecommerce: migrated from web (3)/src/styles/pages.css actual component rules. */
.web-shell[data-ui-theme="dark-green"] .ecommerce-landing-page {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-landing-scroll {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  padding: 48px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-shell {
  width: auto;
  max-width: 720px;
  margin: 32px auto;
  padding: 20px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: none;
  backdrop-filter: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-textarea {
  width: 100%;
  min-height: 100px;
  padding: 14px 16px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--fg-body);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  resize: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-weak);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-tool:hover {
  background: var(--bg-elevated);
  color: var(--fg-body);
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-send {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--dg-button-text);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-send:hover:not(:disabled) {
  background: var(--accent-hover);
  color: var(--dg-button-text);
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-send:disabled {
  opacity: 0.4;
  background: var(--accent);
  color: var(--dg-button-text);
  box-shadow: none;
}

/* Workbench: migrated from web (3)/src/styles/pages.css. */
.web-shell[data-ui-theme="dark-green"] .ai-workbench-page {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--dg-page);
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-page.is-launch {
  background: #0d0d0f;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-page.is-active {
  background: var(--dg-page);
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-shell,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-main,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-content-scroll,
.web-shell[data-ui-theme="dark-green"] .wb-home,
.web-shell[data-ui-theme="dark-green"] .wb-home__composer,
.web-shell[data-ui-theme="dark-green"] .wb-composer,
.web-shell[data-ui-theme="dark-green"] .ai-chat-main-panel,
.web-shell[data-ui-theme="dark-green"] .ai-chat-messages-surface {
  border: 0;
  border-radius: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-shell {
  display: flex;
  flex: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-page.is-launch .ai-workbench-main {
  overflow-y: auto;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-page.is-active .wb-composer {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 20;
  width: min(100%, 980px);
  max-width: 980px;
  padding: 0 clamp(16px, 3vw, 30px) 18px;
  transform: translateX(-50%);
  background: transparent;
  pointer-events: none;
}

.web-shell[data-ui-theme="dark-green"] .wb-home {
  width: 100%;
  max-width: none;
  min-height: 100%;
  margin: 0;
  padding: clamp(28px, 7vh, 72px) clamp(16px, 4vw, 56px) 56px;
  gap: 24px;
  overflow-x: hidden;
  overflow-y: auto;
}

.web-shell[data-ui-theme="dark-green"] .wb-home__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.web-shell[data-ui-theme="dark-green"] .wb-home__title {
  color: var(--fg-body);
  text-shadow: none;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0;
}

.web-shell[data-ui-theme="dark-green"] .wb-home__composer {
  width: min(100%, 980px);
  max-width: none;
}

.web-shell[data-ui-theme="dark-green"] .wb-home__suggestions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 860px;
}

.web-shell[data-ui-theme="dark-green"] .wb-suggestion-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--border-weak);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-body);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .wb-suggestion-chip:hover {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.04);
  color: var(--fg-body);
  box-shadow: none;
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .wb-suggestion-chip__icon {
  display: inline-flex;
  color: var(--accent);
  font-size: 14px;
}

.web-shell[data-ui-theme="dark-green"] .wb-home__showcase {
  position: relative;
  z-index: 1;
  width: min(100%, 1460px);
  max-width: none;
  margin-top: 16px;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__header h2 {
  margin: 0;
  color: var(--fg-muted);
  text-shadow: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 8px;
  gap: 8px;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__card {
  position: relative;
  grid-row: span 30;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--bg-inset);
  color: var(--fg-body);
  box-shadow: none;
  font-family: var(--font-sans);
  font-weight: 400;
  isolation: isolate;
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__card--tile-0,
.web-shell[data-ui-theme="dark-green"] .wb-showcase__card--tile-5 {
  grid-row: span 42;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__card--tile-1,
.web-shell[data-ui-theme="dark-green"] .wb-showcase__card--tile-6 {
  grid-row: span 34;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__card--tile-2 {
  grid-row: span 24;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__card--tile-3,
.web-shell[data-ui-theme="dark-green"] .wb-showcase__card--tile-7 {
  grid-row: span 29;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__card--tile-4 {
  grid-row: span 38;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__card:hover,
.web-shell[data-ui-theme="dark-green"] .wb-showcase__card:focus-within {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 220ms ease, filter 220ms ease;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__card:hover .wb-showcase__thumb img,
.web-shell[data-ui-theme="dark-green"] .wb-showcase__card:focus-within .wb-showcase__thumb img {
  filter: brightness(0.72);
  transform: scale(1.035);
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__tag {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__play {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(var(--accent-rgb), 0.34);
  border-radius: 999px;
  background: rgba(13, 13, 15, 0.72);
  color: var(--accent);
  box-shadow: none;
  font-size: 18px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__card:hover .wb-showcase__tag,
.web-shell[data-ui-theme="dark-green"] .wb-showcase__card:focus-within .wb-showcase__tag,
.web-shell[data-ui-theme="dark-green"] .wb-showcase__card:hover .wb-showcase__play,
.web-shell[data-ui-theme="dark-green"] .wb-showcase__card:focus-within .wb-showcase__play {
  opacity: 1;
  transform: translateY(0);
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__meta {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 6px;
  min-height: 0;
  padding: 44px 14px 14px;
  border: 0;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity 180ms ease;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__meta strong {
  min-width: 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__meta span {
  flex: 0 0 auto;
  max-width: 100%;
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .wb-showcase__card:hover .wb-showcase__meta,
.web-shell[data-ui-theme="dark-green"] .wb-showcase__card:focus-within .wb-showcase__meta {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1180px) {
  .web-shell[data-ui-theme="dark-green"] .wb-showcase__grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
}

@media (max-width: 760px) {
  .web-shell[data-ui-theme="dark-green"] .wb-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 7px;
    gap: 8px;
  }

  .web-shell[data-ui-theme="dark-green"] .wb-showcase__card {
    grid-row: span 28;
  }

  .web-shell[data-ui-theme="dark-green"] .wb-showcase__meta {
    opacity: 1;
    pointer-events: auto;
  }
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 18px 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(var(--bg-elevated-rgb), 0.92);
  color: var(--fg-body);
  box-shadow: none;
  pointer-events: auto;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-page.is-launch .wb-composer__content {
  padding: 22px 20px 16px;
  border-radius: 30px;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__content:focus-within {
  border-color: rgba(var(--accent-rgb), 0.28);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__input-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__refs {
  position: relative;
  z-index: 18;
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 10px;
  width: 78px;
  min-width: 78px;
  padding: 0;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__ref-upload {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(var(--accent-rgb), 0.42);
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.04);
  color: var(--accent);
  box-shadow: none;
  font-size: 21px;
  transform: rotate(-7deg);
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__ref-upload:hover:not(:disabled) {
  border-color: rgba(var(--accent-rgb), 0.58);
  background: rgba(var(--accent-rgb), 0.07);
  color: var(--accent);
  box-shadow: none;
  transform: rotate(-4deg) translateY(-2px);
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__main {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__textarea,
.web-shell[data-ui-theme="dark-green"] .wb-composer__highlight {
  width: 100%;
  min-height: 52px;
  max-height: 160px;
  padding: 18px 64px 18px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fg-body);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-page.is-launch .wb-composer__textarea,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-page.is-launch .wb-composer__highlight {
  min-height: 58px;
  font-size: 16px;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__textarea::placeholder {
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__textarea.wb-composer__textarea--overlay-mode {
  color: transparent;
  -webkit-text-fill-color: transparent;
  caret-color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__textarea.wb-composer__textarea--overlay-mode::selection {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: rgba(var(--accent-rgb), 0.24);
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 64px 0 4px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-page.is-launch .wb-composer__toolbar {
  padding-top: 12px;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__toolbar-left {
  gap: 8px;
  flex-wrap: wrap;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.web-shell[data-ui-theme="dark-green"] .wb-inline-chip__trigger,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-mode-switch__button,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--fg-body);
  box-shadow: none;
  font-size: 13px;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-page.is-launch :is(
  .wb-composer__ref-upload,
  .ai-workbench-mode-switch__button,
  .ai-workbench-select-chip__trigger,
  .wb-inline-chip__trigger
) {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(12, 16, 18, 0.72);
  color: rgba(244, 247, 245, 0.82);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .wb-inline-chip__trigger:hover:not(:disabled),
.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__trigger:hover,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-mode-switch__button:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .wb-inline-chip.is-open .wb-inline-chip__trigger,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip.is-open .ai-workbench-select-chip__trigger,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-mode-switch__button.is-open {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] :is(
  .ai-workbench-select-chip__copy,
  .ai-workbench-select-chip__value,
  .ai-workbench-select-chip__arrow,
  .wb-inline-chip__icon
) {
  color: currentColor;
}

@keyframes dgWorkbenchMenuIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__dropdown,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__dropdown--compound,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-mode-switch__menu,
.web-shell[data-ui-theme="dark-green"] .wb-inline-chip__menu,
.web-shell[data-ui-theme="dark-green"] .ai-chat-mention-panel,
.web-shell[data-ui-theme="dark-green"] .wb-composer__ref-stack {
  z-index: 120;
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: 16px;
  background: #181b1d;
  color: var(--fg-body);
  box-shadow: none;
  backdrop-filter: none;
  font-family: var(--font-sans);
  font-weight: 400;
  transform-origin: top center;
  animation: dgWorkbenchMenuIn 160ms ease both;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__dropdown--up,
.web-shell[data-ui-theme="dark-green"] .wb-composer__refs .wb-composer__ref-stack {
  transform-origin: bottom center;
}

.web-shell[data-ui-theme="dark-green"] #video-ratio-panel.ai-workbench-select-chip__dropdown--compound {
  width: max-content;
  min-width: 0;
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fg-body);
  box-shadow: none;
  animation: none;
}

.web-shell[data-ui-theme="dark-green"] #video-ratio-panel .ai-workbench-settings-panel {
  gap: 0;
  padding: 0;
  background: transparent;
}

.web-shell[data-ui-theme="dark-green"] #video-ratio-panel .ai-workbench-settings-panel__field--ratio {
  gap: 0;
}

.web-shell[data-ui-theme="dark-green"] #video-ratio-panel .ai-workbench-settings-panel__field--ratio .ai-workbench-settings-panel__head {
  display: none;
}

.web-shell[data-ui-theme="dark-green"] #video-ratio-panel .ai-workbench-settings-panel__grid--ratio {
  grid-template-columns: repeat(3, 88px);
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  border-radius: 16px;
  background: #171b1d;
}

@media (prefers-reduced-motion: reduce) {
  .web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__dropdown,
  .web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__dropdown--compound,
  .web-shell[data-ui-theme="dark-green"] .ai-workbench-mode-switch__menu,
  .web-shell[data-ui-theme="dark-green"] .wb-inline-chip__menu,
  .web-shell[data-ui-theme="dark-green"] .ai-chat-mention-panel,
  .web-shell[data-ui-theme="dark-green"] .wb-composer__ref-stack {
    animation: none;
  }
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__refs .wb-composer__ref-stack {
  position: absolute;
  left: 0;
  right: auto;
  bottom: calc(100% + 10px);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  width: max-content;
  min-width: 236px;
  max-width: min(520px, calc(100vw - 32px));
  gap: 10px;
  padding: 10px;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__option,
.web-shell[data-ui-theme="dark-green"] .wb-inline-chip__option,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-mode-switch__item,
.web-shell[data-ui-theme="dark-green"] .ai-chat-mention-item {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__option:hover,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__option.is-active,
.web-shell[data-ui-theme="dark-green"] .wb-inline-chip__option:hover,
.web-shell[data-ui-theme="dark-green"] .wb-inline-chip__option.is-active,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-mode-switch__item:hover,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-mode-switch__item.is-active,
.web-shell[data-ui-theme="dark-green"] .ai-chat-mention-item:hover,
.web-shell[data-ui-theme="dark-green"] .ai-chat-mention-item.is-active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-mode-switch__item-icon,
.web-shell[data-ui-theme="dark-green"] .wb-inline-chip__check {
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__option-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__option-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.32;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__option.is-active .ai-workbench-select-chip__option-dot {
  background: var(--accent);
  opacity: 1;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__option-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__option-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__option:hover .ai-workbench-select-chip__option-title,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__option.is-active .ai-workbench-select-chip__option-title {
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__option-desc {
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__option:hover .ai-workbench-select-chip__option-desc,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__option.is-active .ai-workbench-select-chip__option-desc {
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-select-chip__option-badge {
  display: inline-flex;
  align-items: center;
  height: 16px;
  margin-left: 0;
  padding: 0 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  font-size: 10px;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel {
  display: grid;
  gap: 18px;
  padding: 4px;
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__field,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__field--ratio,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__field--pill {
  display: grid;
  gap: 10px;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__title-icon {
  color: var(--fg-muted);
  font-size: 14px;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__title-copy {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__title {
  color: var(--fg-body);
  font-size: 13px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__current {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__option,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__option--ratio,
.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__option--pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 4px 10px;
  border: 1px solid var(--border-weak);
  border-radius: 12px;
  background: var(--bg-inset);
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__option--pill {
  border-radius: 12px;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__option--ratio {
  height: auto;
  flex-direction: column;
  gap: 4px;
  padding: 8px 6px;
}

.web-shell[data-ui-theme="dark-green"] #video-ratio-panel .ai-workbench-settings-panel__option--ratio {
  width: 88px;
  height: 64px;
  min-height: 64px;
  padding: 8px 10px;
  border: 1px solid #293235;
  border-radius: 11px;
  background: #111518;
  color: rgba(238, 246, 240, 0.7);
  box-shadow: none;
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] #video-ratio-panel .ai-workbench-settings-panel__option--ratio:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: #1d2427;
  color: var(--fg-body);
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] #video-ratio-panel .ai-workbench-settings-panel__option--ratio.is-active {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.2);
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__option:hover {
  border-color: var(--border-default);
  background: var(--bg-hover);
  color: var(--fg-body);
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__option.is-active {
  border-color: var(--accent);
  background: var(--accent-muted);
  color: var(--accent);
  box-shadow: none;
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-ratio-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: currentColor;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-ratio-option__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-default);
  border-radius: 3px;
  background: var(--bg-inset);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-ratio-option__frame {
  display: block;
  width: 60%;
  height: 60%;
  border: 1.5px solid var(--accent);
  border-radius: 2px;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-ratio-option__label {
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__option.is-active .ai-workbench-ratio-option__preview {
  border-color: var(--accent);
  background: var(--accent-muted);
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-settings-panel__option.is-active .ai-workbench-ratio-option__label {
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] #video-ratio-panel .ai-workbench-ratio-option {
  gap: 6px;
}

.web-shell[data-ui-theme="dark-green"] #video-ratio-panel .ai-workbench-ratio-option__preview {
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: transparent;
}

.web-shell[data-ui-theme="dark-green"] #video-ratio-panel .ai-workbench-ratio-option__frame {
  border: 1px solid var(--accent);
  border-radius: 1px;
}

.web-shell[data-ui-theme="dark-green"] #video-ratio-panel .ai-workbench-ratio-option__label {
  color: currentColor;
  font-size: 11px;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__ref-label,
.web-shell[data-ui-theme="dark-green"] .wb-composer__ref-count {
  color: currentColor;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__ref-card {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__ref-preview {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  background: var(--bg-inset);
  color: var(--fg-muted);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__ref-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 90, 95, 0.42);
  border-radius: 50%;
  background: rgba(255, 90, 95, 0.18);
  color: #ffb4b6;
  box-shadow: none;
  font-size: 10px;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__ref-add-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px dashed var(--border-default);
  border-radius: 10px;
  background: var(--bg-inset);
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 20px;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__ref-add-more:hover {
  border-color: var(--accent);
  background: var(--accent-muted);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__send-primary {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--dg-button-text);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__billing-estimate {
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--fg-body);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__send-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  color: var(--dg-button-text);
}

.web-shell[data-ui-theme="dark-green"] .wb-composer__send-primary:disabled {
  opacity: 0.5;
  background: var(--bg-hover);
  color: var(--fg-dim);
  box-shadow: none;
}

/* Workbench active conversation, result cards, and right rail. */
.web-shell[data-ui-theme="dark-green"] .ai-workbench-page.is-active .ai-chat-messages-surface {
  height: 100%;
  padding: clamp(18px, 3vh, 32px) 30px clamp(220px, 28vh, 300px);
  background: transparent;
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-message-list {
  display: grid;
  gap: 16px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-page.is-active .ai-chat-message-list {
  width: min(100%, 980px);
  min-height: 100%;
  gap: 22px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-message-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-message-row.is-user {
  flex-direction: row-reverse;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-hover);
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 12px;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-avatar--user {
  background: var(--accent-muted);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-message-stack {
  display: grid;
  gap: 4px;
  max-width: 80%;
  min-width: 0;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-message-author {
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-message-bubble {
  padding: 10px 14px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  color: var(--fg-body);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.6;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-message-bubble > p {
  margin: 0;
  color: inherit;
  white-space: pre-wrap;
  word-break: break-word;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-message-bubble--assistant {
  max-width: min(780px, 100%);
  padding: 14px 16px;
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(8, 18, 14, 0.92);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-message-bubble--user {
  border-color: var(--border-accent);
  background: var(--accent-muted);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown {
  display: grid;
  gap: 10px;
  color: var(--fg-body);
  font-size: 13px;
  font-weight: 520;
  line-height: 1.78;
  word-break: break-word;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown > * {
  margin: 0;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown h1,
.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown h2,
.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown h3,
.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown h4 {
  color: var(--fg-strong);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.35;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown h1 {
  font-size: 19px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown h2 {
  font-size: 17px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown h3,
.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown h4 {
  font-size: 15px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown p {
  color: rgba(230, 238, 233, 0.9);
  white-space: pre-wrap;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown strong {
  color: #ffffff;
  font-weight: 760;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown del {
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown a {
  color: var(--accent);
  font-weight: 720;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 136, 0.36);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown a:hover {
  color: var(--accent-strong);
  border-bottom-color: var(--accent-strong);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown ul,
.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown ol {
  display: grid;
  gap: 7px;
  padding-left: 20px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown li {
  padding-left: 2px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown li::marker {
  color: var(--accent);
  font-weight: 780;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown blockquote {
  display: grid;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 255, 136, 0.14);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: rgba(0, 255, 136, 0.06);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown code {
  padding: 2px 6px;
  border: 1px solid rgba(0, 255, 136, 0.14);
  border-radius: 7px;
  background: rgba(0, 255, 136, 0.08);
  color: #b6ffd6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  font-weight: 650;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown-code {
  overflow: hidden;
  border: 1px solid rgba(0, 255, 136, 0.12);
  border-radius: 12px;
  background: #07100d;
  color: #d7ffe8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown-code figcaption {
  padding: 7px 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown-code pre {
  max-width: 100%;
  margin: 0;
  overflow: auto;
  padding: 12px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown-code pre code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown hr {
  width: 100%;
  height: 1px;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown-table-wrap {
  max-width: 100%;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 12px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown th,
.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-markdown th {
  background: rgba(0, 255, 136, 0.08);
  color: #caffdf;
  font-weight: 760;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-message-bubble.is-thinking {
  opacity: 0.8;
  border-style: solid;
  animation: pulse 1.5s ease infinite;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-message-bubble:has(.ai-generation-pending-card),
.web-shell[data-ui-theme="dark-green"] .ai-chat-message-bubble:has(.ai-chat-image-result-card) {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  line-height: 1.4;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-message-bubble:has(.ai-generation-pending-card) {
  width: min(560px, 100%);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-message-bubble:has(.ai-chat-image-result-card) {
  width: min(560px, 100%);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-message-bubble.is-thinking:has(.ai-generation-pending-card) {
  opacity: 1;
  animation: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-attachment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-message-prompt {
  margin: 0;
  color: inherit;
  white-space: pre-wrap;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-attachment-thumb {
  position: relative;
  display: block;
  width: 82px;
  height: 82px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--fg-muted);
  box-shadow: none;
  cursor: zoom-in;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-attachment-thumb:hover {
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: none;
  transform: translateY(-1px);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-attachment-thumb:disabled,
.web-shell[data-ui-theme="dark-green"] .ai-chat-attachment-thumb.is-file {
  cursor: default;
  transform: none;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-attachment-thumb__media,
.web-shell[data-ui-theme="dark-green"] .ai-chat-attachment-thumb__media img,
.web-shell[data-ui-theme="dark-green"] .ai-chat-attachment-thumb__media video {
  display: block;
  width: 100%;
  height: 100%;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-attachment-thumb__media {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-attachment-thumb__media img,
.web-shell[data-ui-theme="dark-green"] .ai-chat-attachment-thumb__media video {
  object-fit: cover;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-attachment-thumb__icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--fg-muted);
  font-size: 22px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-attachment-thumb__label {
  position: absolute;
  left: 6px;
  bottom: 6px;
  max-width: calc(100% - 12px);
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.66);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-progress {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  margin-top: 8px;
  padding: 0;
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 400;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-progress::after {
  display: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-progress strong {
  color: var(--fg-muted);
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-progress i {
  grid-column: 1 / -1;
  height: 100%;
  min-height: 3px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.28);
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card {
  position: relative;
  width: min(680px, 100%);
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 8px;
  background: #101114;
  color: var(--fg-body);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card.is-video,
.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card.is-image {
  border-color: rgba(var(--accent-rgb), 0.2);
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 240px;
  overflow: hidden;
  background: #17191d;
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__grid {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__glow {
  position: absolute;
  top: auto;
  left: auto;
  width: 34%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.12);
  filter: blur(24px);
  animation: pendingFloat 4s ease-in-out infinite;
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__loader {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(8, 9, 11, 0.72);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__loader strong {
  color: var(--fg-strong);
  font-size: 22px;
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__ring {
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);
  border-right-color: rgba(var(--accent-rgb), 0.5);
  border-radius: 50%;
  animation: pendingSpin 1s linear infinite;
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__scan {
  position: absolute;
  inset: -40% 0 auto;
  width: auto;
  height: 42%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-120%);
  animation: pendingScan 2.6s ease-in-out infinite;
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px 16px;
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__meta > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__meta strong {
  color: var(--fg-strong);
  font-size: 13px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__meta span {
  color: var(--fg-muted);
  font-size: 12px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__chips span {
  max-width: 160px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__stop {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__stop:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.6);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-failed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-failed-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.62);
  color: rgba(226, 232, 240, 0.92);
  font-size: 12px;
  cursor: pointer;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-failed-actions button:hover {
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(8, 47, 73, 0.45);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-failed-actions__release {
  color: #fbbf24;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-task-billing-note {
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 6px;
  background: rgba(13, 148, 136, 0.08);
  color: rgba(204, 251, 241, 0.86);
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-line;
}

.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card__bar,
.web-shell[data-ui-theme="dark-green"] .ai-generation-pending-card.is-video .ai-generation-pending-card__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  height: 3px;
  border-radius: 0;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.55);
  transition: width 0.25s ease;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes pendingSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pendingScan {
  0% {
    opacity: 0;
    transform: translateY(-120%);
  }
  28%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(340%);
  }
}

@keyframes pendingFloat {
  0%,
  100% {
    transform: translate3d(-18%, -8%, 0) scale(1);
  }
  50% {
    transform: translate3d(18%, 10%, 0) scale(1.18);
  }
}

@keyframes resultCardEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-generated-card {
  padding: 10px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-result-card {
  display: block;
  width: min(560px, 100%);
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #111316;
  color: var(--fg-body);
  box-shadow: none;
  animation: resultCardEnter 0.35s ease both;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-result-card.is-video {
  border-color: rgba(33, 151, 255, 0.18);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: var(--media-ratio, auto);
  overflow: hidden;
  border: 0;
  border-bottom: 0;
  background: #0a0a0a;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-frame--video {
  aspect-ratio: 16 / 9;
  max-height: 520px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(38vh, 360px);
  object-fit: contain;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-video-poster video {
  pointer-events: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-preview-button,
.web-shell[data-ui-theme="dark-green"] .ai-chat-video-poster {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #0a0a0a;
  box-shadow: none;
  cursor: zoom-in;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-video-poster {
  position: relative;
  cursor: pointer;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-video-poster__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-video-poster__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  font-size: 36px;
  text-shadow: none;
  transform: none;
  transition: transform 0.2s ease;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-video-poster:hover .ai-chat-video-poster__play {
  transform: scale(1.12);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-video-poster__duration {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  box-shadow: none;
  font-size: 11px;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-result-meta {
  display: grid;
  gap: 10px;
  padding: 14px 16px 10px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-result-meta__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-result-meta__top strong {
  color: var(--fg-strong);
  font-size: 14px;
  font-weight: 650;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-result-meta__top span {
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 400;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-result-meta__prompt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--fg-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-result-meta__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--bg-hover);
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-result-progress {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 8px 10px 10px;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 8px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-result-progress span,
.web-shell[data-ui-theme="dark-green"] .ai-chat-image-result-progress strong {
  position: relative;
  z-index: 1;
  color: var(--fg-body);
  font-size: 11px;
  font-weight: 650;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-result-progress span {
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-result-progress i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  min-width: 8%;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.28s ease;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--border-subtle);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-actions__primary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--dg-button-text);
  box-shadow: none;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-actions__primary:hover {
  border-color: var(--accent-dim);
  background: var(--accent-dim);
  color: var(--dg-button-text);
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-actions__primary:active {
  transform: scale(0.96);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-actions__spacer {
  flex: 1;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-actions__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-actions__icon:hover {
  border-color: var(--border-default);
  background: var(--bg-hover);
  color: var(--fg-body);
  transform: none;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-actions__icon:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-actions__icon--super-resolution {
  color: rgba(var(--accent-rgb), 0.92);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-image-actions__icon--super-resolution:hover {
  border-color: rgba(var(--accent-rgb), 0.38);
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-result-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 0;
  padding: 0 16px 14px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-result-flow button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 11px;
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-result-flow button:hover:not(:disabled) {
  border-color: rgba(var(--accent-rgb), 0.38);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-result-flow button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-result-flow span {
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 400;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-preview {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.86);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-preview__panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(94vw, 1280px);
  max-height: 92vh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(10, 12, 15, 0.94);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-preview__panel.is-video {
  width: min(96vw, 1360px);
  border-color: rgba(var(--accent-rgb), 0.32);
  border-radius: 12px;
  background: rgba(2, 6, 7, 0.96);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--fg-muted);
  font-size: 12px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-preview__head span {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-preview__head button {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  cursor: pointer;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-preview__head button:hover {
  background: var(--bg-hover);
  color: var(--fg-body);
  transform: none;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-preview__body {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 18px;
  background: transparent;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-preview__panel.is-video .ai-chat-media-preview__body {
  padding: 10px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-preview__body img,
.web-shell[data-ui-theme="dark-green"] .ai-chat-media-preview__body video {
  max-width: 100%;
  max-height: calc(92vh - 84px);
  border: 0;
  border-radius: 8px;
  background: #050607;
  object-fit: contain;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  max-height: calc(92vh - 66px);
  overflow: hidden;
  border-radius: 10px;
  background: #020405;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player.is-fullscreen {
  width: 100vw;
  height: 100vh;
  max-height: none;
  border-radius: 0;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(62vh, 690px);
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player.is-fullscreen .ai-chat-media-player__stage {
  min-height: 0;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__stage video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: calc(92vh - 156px);
  border: 0;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player.is-fullscreen .ai-chat-media-player__stage video {
  max-height: calc(100vh - 82px);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.25) 100%);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__center-play,
.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__bar button {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(4, 10, 10, 0.58);
  color: rgba(245, 255, 250, 0.94);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__center-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  font-size: 30px;
  opacity: 0.96;
  transform: translate(-50%, -50%);
  backdrop-filter: none;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player.is-playing:not(:hover) .ai-chat-media-player__center-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  pointer-events: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__center-play:hover,
.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__bar button:hover {
  border-color: rgba(var(--accent-rgb), 0.52);
  background: rgba(var(--accent-rgb), 0.16);
  color: #ffffff;
  transform: translateY(-1px);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__center-play:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__controls {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background: rgba(8, 16, 16, 0.98);
  backdrop-filter: none;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__bar button {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 15px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__time {
  min-width: 92px;
  color: rgba(237, 255, 246, 0.86);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__spacer {
  flex: 1;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__seek,
.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__volume {
  height: 6px;
  margin: 0;
  border-radius: 999px;
  appearance: none;
  background:
    linear-gradient(90deg, rgb(var(--accent-rgb)) 0 var(--progress, 0%), rgba(255, 255, 255, 0.22) var(--progress, 0%) 100%);
  cursor: pointer;
  outline: none;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__seek {
  width: 100%;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__volume {
  width: 96px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__seek::-webkit-slider-thumb,
.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__volume::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(2, 6, 7, 0.9);
  border-radius: 999px;
  appearance: none;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__seek::-moz-range-thumb,
.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__volume::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(2, 6, 7, 0.9);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__seek:disabled {
  cursor: wait;
  opacity: 0.5;
}

@media (max-width: 720px) {
  .web-shell[data-ui-theme="dark-green"] .ai-chat-media-preview {
    padding: 12px;
  }

  .web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__stage {
    min-height: 52vh;
  }

  .web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__controls {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 10px;
  }

  .web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__volume {
    display: none;
  }

  .web-shell[data-ui-theme="dark-green"] .ai-chat-media-player__time {
    min-width: 74px;
    font-size: 11px;
  }
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-mention-header {
  padding: 7px 10px;
  border-bottom: 1px solid var(--border-weak);
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-mention-list {
  padding: 4px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-mention-thumb {
  width: 22px;
  height: 22px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-xs);
  background: var(--bg-inset);
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-mention-thumb img,
.web-shell[data-ui-theme="dark-green"] .ai-chat-mention-thumb video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-mention-label {
  color: var(--fg-body);
  font-size: 12px;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-mention-token {
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.web-shell[data-ui-theme="dark-green"] .ai-chat-mention-empty {
  padding: 14px 12px;
  color: var(--fg-muted);
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar {
  display: flex;
  flex-direction: column;
  width: 260px;
  min-width: 260px;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-left: 1px solid var(--border-subtle);
  border-radius: 0;
  background: var(--bg-surface);
  color: var(--fg-body);
  box-shadow: none;
  transition: width 0.25s ease, min-width 0.25s ease, opacity 0.2s ease;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar.is-collapsed {
  width: 48px;
  min-width: 48px;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__header-actions {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__toggle,
.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__icon-button {
  border-color: var(--border-weak);
  font-size: 14px;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__toggle:hover,
.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__icon-button:hover {
  border-color: var(--border-default);
  background: var(--bg-elevated);
  color: var(--fg-body);
  transform: none;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__new {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--fg-body);
  box-shadow: none;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__new:hover {
  border-color: var(--border-default);
  background: var(--bg-elevated);
  color: var(--fg-body);
  transform: none;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 16px;
  border: 0;
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
}

.web-shell[data-ui-theme="dark-green"] .ai-workbench-page.is-active .ai-chat-message-list > .conversation-sidebar__empty {
  width: min(100%, 520px);
  margin: clamp(80px, 16vh, 160px) auto 0;
  padding: 22px 18px;
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__item {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: background 0.15s;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__item:hover {
  background: var(--bg-elevated);
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__item.is-active {
  border-left: 0;
  background: var(--bg-inset);
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__item-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--fg-body);
  text-align: left;
  cursor: pointer;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__item-main:hover {
  background: transparent;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__item-title {
  overflow: hidden;
  color: var(--fg-body);
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__item-time {
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 400;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__item-actions {
  display: flex;
  gap: 2px;
  padding-right: 8px;
  opacity: 0;
  transition: opacity 0.15s;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__item:hover .conversation-sidebar__item-actions {
  opacity: 1;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__item-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 12px;
  cursor: pointer;
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__item-actions button:hover {
  background: var(--bg-surface);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .conversation-sidebar__rename-input {
  flex: 1;
  min-width: 0;
  margin: 6px 8px;
  padding: 4px 8px;
  border: 1px solid var(--border-accent);
  border-radius: 4px;
  background: var(--bg-base);
  color: var(--fg-body);
  font-size: 13px;
  font-weight: 400;
  outline: none;
}

.web-shell[data-ui-theme="dark-green"] .workbench-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 28px;
}

.web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.76);
  cursor: pointer;
}

@keyframes dgDeleteModalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  width: min(520px, 100%);
  padding: 22px;
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: 24px;
  background: #151719;
  color: var(--fg-body);
  box-shadow: none;
  animation: dgDeleteModalIn 160ms ease both;
}

.web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 105, 105, 0.2);
  border-radius: 16px;
  background: rgba(255, 105, 105, 0.1);
  color: #ff8f8f;
  font-size: 20px;
}

.web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__copy span,
.web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__copy strong {
  width: fit-content;
  padding: 3px 9px;
  border: 1px solid rgba(255, 105, 105, 0.16);
  border-radius: 999px;
  background: rgba(255, 105, 105, 0.08);
  color: #ff9a9a;
  font-size: 12px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__copy h2 {
  margin: 0;
  color: var(--fg-strong);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__copy p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.65;
}

.web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__actions button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: #0d0d0f;
  color: var(--fg-body);
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__actions button:hover:not(:disabled) {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--fg-body);
  transform: none;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__actions button.is-danger {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--dg-button-text);
}

.web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__actions button.is-danger:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--dg-button-text);
}

.web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__actions button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

@media (max-width: 560px) {
  .web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__actions {
    flex-direction: column-reverse;
  }

  .web-shell[data-ui-theme="dark-green"] .workbench-delete-modal__actions button {
    width: 100%;
  }
}

/* Community: migrated from web (3)/src/styles/pages.css. */
.web-shell[data-ui-theme="dark-green"] .community-page {
  width: 100%;
  height: 100%;
  overflow: auto;
  background: var(--dg-page);
}

.web-shell[data-ui-theme="dark-green"] .community-page .workspace-page-shell__content {
  display: grid;
  align-content: start;
  gap: 28px;
  width: min(100% - 96px, 1760px);
  max-width: none;
  margin: 0 auto;
  padding: 32px 0 48px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .community-carousel {
  position: relative;
  min-height: 318px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .community-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.web-shell[data-ui-theme="dark-green"] .community-carousel__slide {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background-position: center;
  background-size: cover;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-carousel__track {
  align-items: center;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-carousel__slide {
  flex: 0 0 calc(100% / 3);
  min-width: 0;
  min-height: 286px;
  height: 286px;
  aspect-ratio: auto;
  padding: 28px 32px;
  opacity: 0.62;
  transform: scale(0.92);
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-carousel__slide--video {
  padding: 0;
  background: transparent;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-carousel__slide--video::before,
.web-shell[data-ui-theme="dark-green"] .community-page .community-carousel__slide--video::after {
  content: none;
  display: none;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-carousel__slide.is-center {
  z-index: 2;
  opacity: 1;
  transform: scale(1.04);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .community-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.web-shell[data-ui-theme="dark-green"] .community-carousel__arrow:hover {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  transform: translateY(-50%);
}

.web-shell[data-ui-theme="dark-green"] .community-carousel__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  color: transparent;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .community-carousel__dots button.is-active {
  width: 20px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: var(--accent-glow);
}

.web-shell[data-ui-theme="dark-green"] .community-section {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

.web-shell[data-ui-theme="dark-green"] .community-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.web-shell[data-ui-theme="dark-green"] .community-section__head h2 {
  margin: 0;
  color: var(--fg-body);
  font-size: 18px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .community-section__head h2::before {
  content: none;
}

.web-shell[data-ui-theme="dark-green"] .project-row,
.web-shell[data-ui-theme="dark-green"] .community-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.web-shell[data-ui-theme="dark-green"] .community-case-grid--ratio-reference {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.web-shell[data-ui-theme="dark-green"] .project-card,
.web-shell[data-ui-theme="dark-green"] .project-card--button {
  display: flex;
  flex-direction: column;
  min-height: 160px;
  overflow: hidden;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .project-card:hover,
.web-shell[data-ui-theme="dark-green"] .project-card--button:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .project-card--new {
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  background: var(--bg-surface);
}

.web-shell[data-ui-theme="dark-green"] .community-page .project-card--new .anticon {
  color: var(--accent);
  line-height: 1;
}

.web-shell[data-ui-theme="dark-green"] .community-page .project-card--new .project-card__meta {
  padding: 0;
}

.web-shell[data-ui-theme="dark-green"] .community-page .project-card--new .project-card__meta strong {
  color: var(--fg-body);
  text-align: center;
}

.web-shell[data-ui-theme="dark-green"] .project-card > img,
.web-shell[data-ui-theme="dark-green"] .project-card__empty {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  object-fit: cover;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .project-card__meta {
  display: grid;
  gap: 3px;
  padding: 9px 2px 0;
}

.web-shell[data-ui-theme="dark-green"] .project-card__meta strong {
  color: var(--fg-body);
  font-size: 14px;
}

.web-shell[data-ui-theme="dark-green"] .project-card__meta span {
  color: var(--fg-soft);
  font-size: 12px;
}

.web-shell[data-ui-theme="dark-green"] .community-page .project-card:not(.project-card--new) {
  position: relative;
  display: grid;
  grid-template: 1fr / 1fr;
  min-height: 220px;
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.web-shell[data-ui-theme="dark-green"] .community-page .project-card:not(.project-card--new) > img,
.web-shell[data-ui-theme="dark-green"] .community-page .project-card:not(.project-card--new) > .project-card__empty {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: inherit;
  object-fit: cover;
}

.web-shell[data-ui-theme="dark-green"] .community-page .project-card:not(.project-card--new) > .project-card__empty--dark {
  display: grid;
  place-items: center;
  background: var(--bg-inset, transparent);
  color: rgba(255, 255, 255, 0.14);
}

.web-shell[data-ui-theme="dark-green"] .community-page .project-card:not(.project-card--new) > .project-card__empty--dark .anticon {
  font-size: 40px;
}

.web-shell[data-ui-theme="dark-green"] .community-page .project-card:not(.project-card--new) .project-card__caption,
.web-shell[data-ui-theme="dark-green"] .community-page .project-card:not(.project-card--new) .project-card__meta {
  grid-area: 1 / 1;
  z-index: 1;
  padding-inline: 16px;
}

.web-shell[data-ui-theme="dark-green"] .community-page .project-card:not(.project-card--new) .project-card__caption {
  align-self: end;
  margin-bottom: 46px;
  padding-block: 0;
  background: none;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.web-shell[data-ui-theme="dark-green"] .community-page .project-card:not(.project-card--new):hover .project-card__caption {
  opacity: 1;
  transform: translateY(0);
}

.web-shell[data-ui-theme="dark-green"] .community-page .project-card:not(.project-card--new) .project-card__meta {
  align-self: end;
  padding-block: 0 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.web-shell[data-ui-theme="dark-green"] .community-page .project-card:not(.project-card--new):hover .project-card__meta {
  opacity: 1;
  transform: translateY(0);
}

.web-shell[data-ui-theme="dark-green"] .community-page .project-card:not(.project-card--new) .project-card__meta strong {
  color: #fff;
  font-size: 15px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.72);
}

.web-shell[data-ui-theme="dark-green"] .community-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .community-filter-categories {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.web-shell[data-ui-theme="dark-green"] .community-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1px solid var(--border-weak);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 13px;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .community-filter-chip:hover {
  border-color: var(--border-default);
  background: var(--bg-elevated);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .community-filter-chip.is-active {
  border-color: var(--accent);
  background: var(--accent-muted);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .community-filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 200px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--fg-muted);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .community-filter-search input {
  flex: 1;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fg-body);
  box-shadow: none;
  font-size: 13px;
  outline: none;
}

.web-shell[data-ui-theme="dark-green"] .community-case-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--fg-body);
  box-shadow: none;
  transition: all var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .community-case-card:hover {
  border-color: var(--border-default);
  transform: translateY(-2px);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .community-case-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.web-shell[data-ui-theme="dark-green"] .community-case-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
}

.web-shell[data-ui-theme="dark-green"] .community-case-card__body > span {
  display: inline-block;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .community-case-card__body > strong {
  color: var(--fg-body);
  font-size: 15px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .community-case-card__body > button,
.web-shell[data-ui-theme="dark-green"] .community-card-actions button,
.web-shell[data-ui-theme="dark-green"] .community-section--browse-more button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 12px;
}

.web-shell[data-ui-theme="dark-green"] .community-case-card__body > button:hover,
.web-shell[data-ui-theme="dark-green"] .community-card-actions button:hover,
.web-shell[data-ui-theme="dark-green"] .community-section--browse-more button:hover {
  border-color: var(--accent);
  background: var(--accent-muted);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-grid--mosaic {
  display: block;
  column-count: 6;
  column-gap: 8px;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 8px;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--bg-inset);
  box-shadow: none;
  transform: none;
  isolation: isolate;
  break-inside: avoid;
  aspect-ratio: 4 / 5;
  transition: transform 200ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)),
              box-shadow 200ms ease;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgb(0 0 0 / 20%);
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--tile-0,
.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--tile-5 {
  aspect-ratio: 16 / 9;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--tile-1,
.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--tile-6 {
  aspect-ratio: 9 / 16;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--tile-2 {
  aspect-ratio: 1 / 1;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--tile-3,
.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--tile-7 {
  aspect-ratio: 3 / 2;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--tile-4 {
  aspect-ratio: 3 / 4;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic:hover,
.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic:focus-within {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic > img,
.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic .community-case-card__preview,
.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic .community-case-card__preview > img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic .community-case-card__preview {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  color: inherit;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic > img,
.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic .community-case-card__preview > img {
  transform: scale(1.001);
  transition: transform 220ms ease, filter 220ms ease;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic:hover > img,
.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic:focus-within > img,
.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic:hover .community-case-card__preview > img,
.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic:focus-within .community-case-card__preview > img {
  filter: brightness(0.72);
  transform: scale(1.035);
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic .community-case-card__caption {
  display: none;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic .community-case-card__body {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic:hover .community-case-card__body,
.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic:focus-within .community-case-card__body {
  opacity: 1;
  pointer-events: auto;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card__author span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card__author span:last-child {
  flex: 0 0 auto;
  max-width: 48%;
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic .community-case-card__body > strong {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic .community-case-card__body > p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic .community-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic .community-card-actions button {
  min-height: 32px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: none;
}

.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic .community-card-actions button:hover,
.web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic .community-card-actions button.is-active {
  border-color: rgba(var(--accent-rgb), 0.58);
  background: var(--accent);
  color: var(--dg-button-text);
}

@media (min-width: 1180px) {
  .web-shell[data-ui-theme="dark-green"] .community-page .community-case-grid--mosaic {
    column-count: 6;
  }
}

@media (min-width: 1540px) {
  .web-shell[data-ui-theme="dark-green"] .community-page .community-case-grid--mosaic {
    column-count: 7;
  }
}

@media (max-width: 760px) {
  .web-shell[data-ui-theme="dark-green"] .community-page .community-case-grid--mosaic {
    column-count: 2;
    column-gap: 8px;
  }

  .web-shell[data-ui-theme="dark-green"] .community-page .community-case-card--mosaic .community-case-card__body {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Canvas and More page exceptions requested in this build. */
.web-shell[data-ui-theme="dark-green"] .studio-canvas,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas {
  background-color: var(--dg-page);
  background-image: none;
  background-position: var(--canvas-bg-x, 0px) var(--canvas-bg-y, 0px);
  background-size: var(--canvas-bg-size, 24px) var(--canvas-bg-size, 24px);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .more-page .studio-canvas {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  overflow: auto;
  background: var(--dg-page);
  background-image: none;
}

.web-shell[data-ui-theme="dark-green"] .more-page .more-tool {
  overflow: visible;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  color: var(--fg-body);
  box-shadow: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.web-shell[data-ui-theme="dark-green"] .more-page .more-tool:hover {
  border-color: var(--accent);
  background: var(--bg-surface);
  transform: translateY(-1px);
}

.web-shell[data-ui-theme="dark-green"] .more-page .more-tool .anticon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--dg-button-text);
  box-shadow: none;
  font-size: 20px;
}

.web-shell[data-ui-theme="dark-green"] .more-page .more-tool strong {
  color: var(--fg-body);
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .more-page .more-tool span,
.web-shell[data-ui-theme="dark-green"] .more-page .studio-status-bar__text {
  color: var(--fg-muted);
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .more-page .studio-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .more-page .studio-status-bar__badge--idle {
  border: 1px solid var(--border-weak);
  background: var(--bg-inset);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] :is(
  .studio-canvas-text-node__card,
  .studio-canvas-image-node__card,
  .studio-canvas-video-node__preview,
  .studio-canvas-text-composer,
  .studio-canvas-image-composer,
  .studio-canvas-video-composer,
  .studio-canvas-context-menu,
  .studio-canvas-node-context-menu,
  .studio-canvas-add-node-menu,
  .studio-canvas-save-asset__modal
) {
  border-color: var(--border-weak);
  background: var(--bg-elevated);
  color: var(--fg-body);
  box-shadow: var(--shadow-tight);
}

.web-shell[data-ui-theme="dark-green"] :is(
  .studio-canvas-context-menu,
  .studio-canvas-node-context-menu,
  .studio-canvas-add-node-menu,
  .studio-canvas-text-composer__model-menu,
  .studio-canvas-save-asset__cover-menu,
  .studio-canvas-save-asset__select-menu
) {
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  background-image: none;
  color: var(--fg-body);
  box-shadow: var(--shadow-panel);
}

.web-shell[data-ui-theme="dark-green"] :is(
  .studio-canvas-context-menu button,
  .studio-canvas-node-context-menu button,
  .studio-canvas-add-node-menu button,
  .studio-canvas-text-composer__model-menu button,
  .studio-canvas-save-asset__cover-menu button,
  .studio-canvas-save-asset__select-menu button
) {
  border-color: transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--fg-body);
  box-shadow: none;
  font-family: var(--font-sans);
  font-weight: 650;
}

.web-shell[data-ui-theme="dark-green"] :is(
  .studio-canvas-context-menu button:hover:not(:disabled),
  .studio-canvas-node-context-menu button:hover:not(:disabled),
  .studio-canvas-add-node-menu button:hover:not(:disabled),
  .studio-canvas-text-composer__model-menu button:hover,
  .studio-canvas-text-composer__model-menu button.is-selected,
  .studio-canvas-save-asset__cover-menu button:hover,
  .studio-canvas-save-asset__select-menu button:hover,
  .studio-canvas-save-asset__select-menu button.is-selected
) {
  border-color: rgba(var(--accent-rgb), 0.22);
  background: var(--bg-hover);
  color: var(--accent);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] :is(
  .studio-canvas-context-menu button:disabled,
  .studio-canvas-node-context-menu button:disabled,
  .studio-canvas-add-node-menu button:disabled,
  .studio-canvas-save-asset__cover-menu button:disabled,
  .studio-canvas-save-asset__select-menu button:disabled
) {
  color: var(--fg-dim);
  opacity: 0.72;
}

.web-shell[data-ui-theme="dark-green"] :is(
  .studio-canvas-context-menu kbd,
  .studio-canvas-node-context-menu kbd,
  .studio-canvas-node-context-menu__hint,
  .studio-canvas-add-node-menu__head small,
  .studio-canvas-add-node-menu__title,
  .studio-canvas-text-composer__model-menu-copy small,
  .studio-canvas-text-composer__model-menu em
) {
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] :is(
  .studio-canvas-context-menu__divider,
  .studio-canvas-node-context-menu__divider
) {
  border: 0;
  background: var(--border-weak);
}

.web-shell[data-ui-theme="dark-green"] .studio-canvas-add-node-menu__head strong,
.web-shell[data-ui-theme="dark-green"] .studio-canvas-text-composer__model-menu-copy strong {
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .studio-canvas-add-node-menu button > span:not(.studio-canvas-add-node-menu__icon):not(.studio-canvas-add-node-menu__badge) {
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .studio-canvas-add-node-menu__icon {
  border: 1px solid rgba(var(--accent-rgb), 0.24) !important;
  border-radius: var(--radius-sm) !important;
  background: var(--accent-muted) !important;
  color: var(--accent) !important;
  box-shadow: none !important;
}

.web-shell[data-ui-theme="dark-green"] .studio-canvas-add-node-menu__badge {
  border: 1px solid rgba(var(--accent-rgb), 0.24) !important;
  border-radius: 999px !important;
  background: rgba(var(--accent-rgb), 0.14) !important;
  color: var(--accent) !important;
  box-shadow: none !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-add-node-menu {
  width: min(260px, calc(100vw - 28px));
  max-height: min(390px, calc(100vh - 28px));
  padding: 14px;
  border-radius: 16px;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-add-node-menu__head {
  gap: 4px;
  margin-bottom: 10px;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-add-node-menu__head strong {
  font-size: 16px;
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-add-node-menu__head small {
  font-size: 11px;
  line-height: 1.35;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-add-node-menu__title {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 650;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-add-node-menu__title--section {
  margin-top: 8px;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-add-node-menu button {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 42px;
  padding: 4px 6px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-add-node-menu__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px !important;
  font-size: 17px;
}

.web-shell[data-ui-theme="dark-green"] .studio-canvas-add-node-menu button:hover:not(:disabled) .studio-canvas-add-node-menu__icon {
  background: var(--accent) !important;
  color: var(--dg-button-text) !important;
}

.web-shell[data-ui-theme="dark-green"] .studio-canvas-node-context-menu .studio-canvas-node-context-menu__primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--dg-button-text);
}

.web-shell[data-ui-theme="dark-green"] .studio-canvas-node-context-menu .studio-canvas-node-context-menu__primary:hover:not(:disabled) {
  background: var(--accent-hover);
  color: var(--dg-button-text);
}

/* Auth and profile: migrated from web (3), adapted to the solid dark-green theme. */
.web-shell[data-ui-theme="dark-green"] .auth-page {
  display: grid;
  grid-template-columns: 2fr 1fr;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--dg-page);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__showcase {
  position: relative;
  overflow: hidden;
  background: #0d0d0f;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__video-wrap {
  position: absolute;
  inset: 0;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: rgba(13, 13, 15, 0.86);
  text-align: center;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__brand {
  margin: 0;
  color: var(--accent);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__tagline {
  margin: 0;
  color: var(--fg-body);
  font-size: 20px;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__features span {
  padding: 6px 14px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  font-size: 13px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 32px 28px;
  border-left: 1px solid var(--border-weak);
  background: var(--bg-surface);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__form-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 360px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__form-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  overflow: visible;
  border-radius: 12px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__title {
  margin: 0;
  color: var(--fg-body);
  font-size: 22px;
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__subtitle {
  margin: 0;
  color: var(--fg-muted);
  font-size: 13px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__mode-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-weak);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__mode-tabs button {
  flex: 1;
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__mode-tabs button:hover {
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__mode-tabs button.is-active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__auth-tabs {
  display: flex;
  gap: 6px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__auth-tabs button {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 8px 6px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 11px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__auth-tabs button:hover {
  border-color: var(--border-default);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__auth-tabs button.is-active {
  border-color: var(--accent);
  background: var(--accent-muted);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__pending {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__pending span {
  color: var(--fg-soft);
  font-size: 11px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__pending strong {
  color: var(--fg-body);
  font-size: 13px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__field > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-muted);
  font-size: 12px;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__field input,
.web-shell[data-ui-theme="dark-green"] .auth-page__phone-row,
.web-shell[data-ui-theme="dark-green"] .auth-page__qr-placeholder {
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--fg-body);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__field input {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__field input:focus {
  border-color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__field input::placeholder {
  color: var(--fg-soft);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__field--error input,
.web-shell[data-ui-theme="dark-green"] .auth-page__field--error .auth-page__phone-row {
  border-color: #ef4444;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__field--error input:focus {
  border-color: #ef4444;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__field-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 2px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__forgot {
  text-align: right;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__forgot button {
  border: 0;
  background: transparent;
  color: var(--accent);
  box-shadow: none;
  font-size: 12px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__phone-row {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__phone-prefix {
  padding: 0 12px;
  border-right: 1px solid var(--border-weak);
  color: var(--fg-muted);
  font-size: 14px;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__phone-row input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__sms-row {
  display: flex;
  gap: 8px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__sms-row input {
  flex: 1;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__sms-btn {
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--accent);
  box-shadow: none;
  font-size: 13px;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__sms-btn:hover {
  background: var(--accent-muted);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__sms-btn:disabled {
  border-color: var(--border-weak);
  color: var(--fg-dim);
  cursor: not-allowed;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__wechat-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 0;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(260px, 100%);
  min-height: 250px;
  padding: 16px;
  overflow: hidden;
  color: var(--fg-dim);
  font-size: 14px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__qr-placeholder .anticon {
  color: #07c160;
  font-size: 48px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__qr-placeholder p,
.web-shell[data-ui-theme="dark-green"] .auth-page__wechat-status {
  margin: 0;
  color: var(--fg-dim);
  font-size: 12px;
  text-align: center;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__wechat-frame {
  width: 230px;
  height: 230px;
  border: 0;
  background: #fff;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__wechat-link,
.web-shell[data-ui-theme="dark-green"] .auth-page__agreement a {
  color: var(--accent);
  text-decoration: none;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__notice {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 90, 95, 0.22);
  border-radius: var(--radius-xs);
  background: rgba(255, 90, 95, 0.1);
  color: var(--error);
  font-size: 13px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__submit {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--dg-button-text);
  box-shadow: none;
  font-size: 15px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__submit:hover {
  background: var(--accent-hover);
  color: var(--dg-button-text);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__submit:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__agreement {
  color: var(--fg-dim);
  font-size: 11px;
  text-align: center;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-dim);
  font-size: 12px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__divider::before,
.web-shell[data-ui-theme="dark-green"] .auth-page__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-weak);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__social {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-weak);
  border-radius: 50%;
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 18px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__social-btn:hover {
  border-color: var(--accent);
  background: var(--accent-muted);
  color: var(--accent);
}

/* Auth page: refined SaaS entry surface, preserving current auth behavior and OSS assets. */
.web-shell[data-ui-theme="dark-green"] .auth-page {
  grid-template-columns: minmax(0, 1.55fr) minmax(400px, 0.9fr);
  background: var(--dg-page);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__showcase {
  background: #0d0d0f;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__video {
  opacity: 0.48;
  filter: saturate(1.08) contrast(1.04);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__video-overlay {
  align-items: center;
  justify-content: center;
  padding: clamp(36px, 6vw, 76px);
  background:
    linear-gradient(90deg, rgba(13, 13, 15, 0.86), rgba(13, 13, 15, 0.46) 58%, rgba(13, 13, 15, 0.72)),
    linear-gradient(180deg, rgba(13, 13, 15, 0.28), rgba(13, 13, 15, 0.92));
  text-align: left;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__showcase-content {
  display: grid;
  gap: 14px;
  width: min(620px, 100%);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__brand {
  color: var(--accent);
  font-size: 64px;
  line-height: 0.96;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__tagline {
  max-width: 480px;
  color: var(--fg-muted);
  font-size: 22px;
  line-height: 1.45;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__features {
  justify-content: flex-start;
  gap: 10px;
  margin-top: 2px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__features span {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg-body);
  backdrop-filter: blur(12px);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__showcase-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(520px, 100%);
  margin-top: 10px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__showcase-stats span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(16, 18, 20, 0.58);
  color: var(--fg-soft);
  backdrop-filter: blur(14px);
  font-size: 12px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__showcase-stats strong {
  color: var(--fg-body);
  font-size: 14px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__form-panel {
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-left-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--bg-surface);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__form-inner {
  gap: 20px;
  max-width: 420px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__form-head {
  gap: 7px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__logo {
  width: 54px;
  height: 54px;
  margin-bottom: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__title {
  font-size: 24px;
  line-height: 1.2;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__subtitle {
  color: var(--fg-soft);
  line-height: 1.5;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__mode-tabs {
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.022);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__mode-tabs button {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  font-weight: 700;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__mode-tabs button.is-active {
  background: rgba(var(--accent-rgb), 0.13);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__auth-tabs button {
  min-height: 42px;
  padding: 0 8px;
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.018);
  font-size: 12px;
  font-weight: 600;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__auth-tabs button .anticon {
  font-size: 14px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__auth-tabs button.is-active {
  border-color: rgba(var(--accent-rgb), 0.42);
  background: rgba(var(--accent-rgb), 0.1);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__form {
  gap: 14px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__field {
  gap: 7px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__field > span {
  color: var(--fg-muted);
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__field input,
.web-shell[data-ui-theme="dark-green"] .auth-page__phone-row {
  border-color: rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.026);
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__field input {
  min-height: 44px;
  padding: 0 14px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__field input:focus,
.web-shell[data-ui-theme="dark-green"] .auth-page__phone-row:focus-within {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.08);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__field--error input,
.web-shell[data-ui-theme="dark-green"] .auth-page__field--error .auth-page__phone-row {
  border-color: rgba(255, 90, 95, 0.64);
  box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.08);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__sms-row {
  gap: 10px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__sms-btn {
  min-height: 44px;
  border-color: rgba(var(--accent-rgb), 0.42);
  background: rgba(var(--accent-rgb), 0.08);
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__sms-btn:disabled {
  background: rgba(255, 255, 255, 0.018);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__submit {
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 800;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.16);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__notice {
  border-color: rgba(255, 90, 95, 0.28);
  background: rgba(255, 90, 95, 0.09);
  line-height: 1.45;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__forgot-box {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.022);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__forgot-title {
  margin: 0;
  color: var(--fg-body);
  font-size: 13px;
  font-weight: 800;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__forgot-input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.026);
  color: var(--fg-body);
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__forgot-input:focus {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.08);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__forgot-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__forgot-cancel,
.web-shell[data-ui-theme="dark-green"] .auth-page__forgot-confirm {
  min-height: 38px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 750;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__forgot-cancel {
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.026);
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__forgot-confirm {
  border: 1px solid rgba(var(--accent-rgb), 0.42);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .auth-page__agreement {
  line-height: 1.55;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__divider {
  margin-top: 2px;
}

.web-shell[data-ui-theme="dark-green"] .auth-page__social-btn {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.018);
}

.web-shell[data-ui-theme="dark-green"] .profile-page {
  height: 100%;
  overflow-y: auto;
  background: var(--dg-page);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__banner {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--bg-surface);
  background-position: center;
  background-size: cover;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__banner.has-image {
  background-color: var(--bg-surface);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__banner-overlay {
  position: absolute;
  inset: 0;
  background: var(--dg-page);
  pointer-events: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__banner-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  box-shadow: none;
  font-size: 12px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__banner-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.68);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__body {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  width: min(1200px, calc(100% - 48px));
  min-height: calc(100% - 140px);
  margin: -60px auto 0;
  padding: 0 0 48px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__sidebar-head,
.web-shell[data-ui-theme="dark-green"] .profile-page__count {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__sidebar-head {
  gap: 8px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__avatar-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__avatar-ring .profile-page__avatar,
.web-shell[data-ui-theme="dark-green"] .profile-page__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 3px solid var(--dg-page);
  border-radius: 50%;
  background: var(--accent-muted);
  color: var(--accent);
  object-fit: cover;
  font-size: 28px;
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__avatar-edit {
  position: absolute;
  right: -6px;
  top: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  box-shadow: none;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.2s;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__avatar-ring:hover .profile-page__avatar-edit {
  opacity: 1;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__avatar-edit:hover {
  background: rgba(0, 0, 0, 0.88);
  transform: translateY(-1px);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__avatar-badge {
  position: absolute;
  right: -4px;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--dg-button-text);
  font-size: 10px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__username,
.web-shell[data-ui-theme="dark-green"] .profile-page__count strong,
.web-shell[data-ui-theme="dark-green"] .profile-page__list-card-head strong,
.web-shell[data-ui-theme="dark-green"] .profile-page__review-item strong {
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__username {
  font-size: 20px;
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__bio {
  width: min(220px, 100%);
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--fg-muted);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  outline: none;
  resize: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__bio:focus {
  border-color: var(--accent);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__bio::placeholder {
  color: var(--fg-soft);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__sync-notice {
  max-width: 220px;
  color: var(--warning);
  font-size: 11px;
  line-height: 1.4;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__counts {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__count {
  gap: 2px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__count strong {
  font-size: 16px;
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__count span,
.web-shell[data-ui-theme="dark-green"] .profile-page__list-card p,
.web-shell[data-ui-theme="dark-green"] .profile-page__list-card-meta,
.web-shell[data-ui-theme="dark-green"] .profile-page__review-item span,
.web-shell[data-ui-theme="dark-green"] .profile-page__review-item small,
.web-shell[data-ui-theme="dark-green"] .profile-page__empty-text {
  color: var(--fg-dim);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__share-btn,
.web-shell[data-ui-theme="dark-green"] .profile-page__empty-btn,
.web-shell[data-ui-theme="dark-green"] .profile-page__list-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 13px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__share-btn {
  width: 100%;
  padding: 8px 16px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__empty-btn {
  padding: 8px 18px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__share-btn:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page__empty-btn:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page__list-filter:hover {
  border-color: var(--accent);
  background: var(--accent-muted);
  color: var(--accent);
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__honor {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__honor-title,
.web-shell[data-ui-theme="dark-green"] .profile-page__section-label {
  color: var(--fg-muted);
  font-size: 13px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__honor-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__main-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-weak);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__main-tabs button,
.web-shell[data-ui-theme="dark-green"] .profile-page__list-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-size: 14px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__main-tabs button {
  padding: 10px 20px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__list-tabs button {
  padding: 6px 14px;
  font-size: 13px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__main-tabs button:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page__list-tabs button:hover {
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__main-tabs button.is-active,
.web-shell[data-ui-theme="dark-green"] .profile-page__list-tabs button.is-active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__section {
  margin: 0;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__section-label {
  display: block;
  margin-bottom: 12px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__list-card,
.web-shell[data-ui-theme="dark-green"] .profile-page__review-item,
.web-shell[data-ui-theme="dark-green"] .profile-page__empty-state,
.web-shell[data-ui-theme="dark-green"] .profile-page__upload-card {
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__list-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__list-card:hover {
  border-color: var(--border-default);
  transform: translateY(-2px);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__list-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__list-card-head strong,
.web-shell[data-ui-theme="dark-green"] .profile-page__list-card p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__list-card-head span {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 11px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__list-card p {
  margin: 0;
  font-size: 12px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__list-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 24px;
  text-align: center;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__review-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__review-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__review-item img,
.web-shell[data-ui-theme="dark-green"] .profile-page__review-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 42px;
  border-radius: var(--radius-xs);
  background: var(--bg-elevated);
  object-fit: cover;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__review-item div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__review-item strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__review-item span,
.web-shell[data-ui-theme="dark-green"] .profile-page__review-item small {
  font-size: 11px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__list-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__list-tabs {
  display: flex;
  gap: 0;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__list-filter {
  padding: 6px 12px;
  font-size: 12px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__upload-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: none;
  min-height: auto;
  height: auto;
  aspect-ratio: auto;
  padding: 14px;
  color: var(--fg-muted);
  font-size: 13px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__upload-card--meta {
  flex-direction: row;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: auto;
  aspect-ratio: auto;
}

/* Ecommerce generation page: keep its carousel and composer independent from
   the community carousel rules that share class names. */
.web-shell[data-ui-theme="dark-green"] .ecommerce-landing-page {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  overflow: visible;
  background: var(--dg-page);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-landing-scroll {
  display: grid;
  flex: none;
  justify-items: center;
  align-content: start;
  gap: 28px;
  width: min(100%, 1040px);
  height: auto;
  min-height: 0;
  margin: 0 auto;
  overflow: visible;
  padding: 48px 28px 32px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-generate-carousel {
  width: min(100%, 1040px);
  min-height: 310px;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-generate-carousel .community-carousel__track {
  align-items: center;
  height: 100%;
  padding: 0;
  transition: transform 520ms cubic-bezier(0.32, 0.72, 0, 1);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-generate-carousel .community-carousel__slide {
  flex: 0 0 calc(100% / 3);
  min-width: 0;
  min-height: 286px;
  height: 286px;
  aspect-ratio: auto;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  opacity: 0.62;
  transform: scale(0.92);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-generate-carousel .community-carousel__slide.is-center {
  z-index: 2;
  opacity: 1;
  transform: scale(1.04);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-generate-carousel .community-carousel__full-image {
  object-fit: cover;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-carousel-upload {
  top: 16px;
  right: 16px;
  width: auto;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--fg-body);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-carousel-upload:hover,
.web-shell[data-ui-theme="dark-green"] .ecommerce-carousel-upload:active {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: var(--bg-hover);
  color: var(--accent);
  box-shadow: none;
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-shell {
  width: min(100%, 720px);
  max-width: 720px;
  margin: 0 auto;
  padding: 20px;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-reference-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 12px;
  padding: 0 0 10px;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid var(--border-weak);
  scrollbar-width: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-reference-strip::-webkit-scrollbar {
  display: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-reference-card {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 104px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  color: var(--fg-muted);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-reference-card.has-image {
  width: 54px;
  min-width: 54px;
  padding: 0;
  overflow: hidden;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-reference-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-toolbar {
  flex-wrap: wrap;
  gap: 8px;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-generation-trigger,
.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-tool--ratio {
  width: auto;
  min-width: 0;
  padding: 0 10px;
  gap: 6px;
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu {
  position: relative;
  z-index: 20;
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel {
  position: absolute;
  left: 0;
  top: auto;
  bottom: calc(100% + 10px);
  z-index: 90;
  display: grid;
  width: max-content;
  min-width: 168px;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  box-shadow: var(--shadow-tight);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-generation-menu__panel {
  min-width: 176px;
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--fg-body);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-align: left;
  text-shadow: none;
  cursor: pointer;
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel button .anticon {
  color: var(--fg-muted);
  font-size: 14px;
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel button span {
  color: inherit;
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel button:hover {
  border-color: var(--border-default);
  background: var(--bg-hover);
  color: var(--fg-body);
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel button.is-active {
  border-color: rgba(var(--accent-rgb), 0.36);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel button:hover .anticon,
.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel button.is-active .anticon {
  color: currentColor;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-footer {
  flex-wrap: wrap;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences {
  z-index: 120;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel {
  display: grid;
  align-content: start;
  gap: 12px;
  max-height: calc(100vh - 24px);
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  color: var(--fg-body);
  box-shadow: var(--shadow-tight);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-preferences__section-label {
  margin-bottom: -4px;
  color: var(--fg-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-ratio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-ratio-option {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 6px 4px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-ratio-option:hover {
  border-color: var(--border-default);
  background: var(--bg-hover);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-ratio-option.is-active {
  border-color: rgba(var(--accent-rgb), 0.36);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-ratio-option__icon {
  border-width: 1.5px;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-resolution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-resolution-grid button {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--fg-body);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-resolution-grid button:hover {
  border-color: var(--border-default);
  background: var(--bg-hover);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-resolution-grid button.is-active {
  border-color: rgba(var(--accent-rgb), 0.36);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-size-grid {
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) auto;
  gap: 8px;
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-size-grid label {
  height: 38px;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-xs);
  background: var(--bg-inset);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-size-grid label span,
.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-size-grid > span,
.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-size-grid > .anticon {
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-size-grid input {
  color: var(--fg-body);
  font-family: var(--font-sans);
  font-size: 13px;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-preferences__resize {
  display: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-result-panel,
.web-shell[data-ui-theme="dark-green"] .ecommerce-community-content {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0 28px;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-result-panel {
  margin-top: 8px;
  margin-bottom: 32px;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-community-content {
  padding-bottom: 64px;
}

/* Canvas full dark-green legibility pass. Legacy canvas rules still contain pixel
   colors, so this late theme block owns every visible canvas control. */
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas {
  color: var(--fg-body);
  font-family: var(--font-sans);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  button,
  input,
  textarea,
  span,
  strong,
  small,
  kbd,
  em
) {
  text-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__title,
  .studio-canvas-image-node__title,
  .studio-canvas-video-node__title
) {
  color: var(--fg-muted);
  text-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__card,
  .studio-canvas-image-node__card,
  .studio-canvas-video-node__preview,
  .studio-canvas-text-composer,
  .studio-canvas-image-composer,
  .studio-canvas-video-composer,
  .studio-canvas-save-asset__modal,
  .studio-canvas-save-asset__cover-library
) {
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  background-image: none;
  color: var(--fg-body);
  box-shadow: var(--shadow-tight);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node.is-selected .studio-canvas-text-node__card,
  .studio-canvas-image-node.is-selected .studio-canvas-image-node__card,
  .studio-canvas-video-node.is-selected .studio-canvas-video-node__preview
) {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.34);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__inline-input,
  .studio-canvas-text-node__content,
  .studio-canvas-text-composer textarea,
  .studio-canvas-image-composer textarea,
  .studio-canvas-video-composer textarea,
  .studio-canvas-save-asset__form input
) {
  background: transparent;
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__inline-input::placeholder,
  .studio-canvas-text-composer textarea::placeholder,
  .studio-canvas-image-composer textarea::placeholder,
  .studio-canvas-video-composer textarea::placeholder,
  .studio-canvas-save-asset__form input::placeholder
) {
  color: var(--fg-soft);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__suggestions > span,
  .studio-canvas-image-node__placeholder,
  .studio-canvas-image-node__placeholder-actions span,
  .studio-canvas-video-node__play,
  .studio-canvas-text-composer__footer span,
  .studio-canvas-image-composer__footer span,
  .studio-canvas-video-composer__footer span,
  .studio-canvas-save-asset__label,
  .studio-canvas-save-asset__form label > span,
  .studio-canvas-save-asset__existing-title,
  .studio-canvas-save-asset__empty
) {
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-image-node__placeholder-icon {
  color: var(--fg-soft);
  opacity: 0.72;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__suggestions button,
  .studio-canvas-image-node__placeholder-actions button,
  .studio-canvas-text-composer__footer button,
  .studio-canvas-image-composer__footer button,
  .studio-canvas-image-node__upload,
  .studio-canvas-image-composer__tools button,
  .studio-canvas-video-composer__tabs button,
  .studio-canvas-video-composer__tools button,
  .studio-canvas-video-composer__footer button,
  .studio-canvas-save-asset__head button,
  .studio-canvas-save-asset__placeholder button,
  .studio-canvas-save-asset__cover-library button,
  .studio-canvas-save-asset__existing-grid button,
  .react-flow__controls button
) {
  border-color: var(--border-weak);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--fg-body);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__suggestions button:hover,
  .studio-canvas-image-node__placeholder-actions button:hover,
  .studio-canvas-text-composer__footer button:hover,
  .studio-canvas-image-composer__footer button:hover,
  .studio-canvas-image-node__upload:hover,
  .studio-canvas-image-composer__tools button:hover,
  .studio-canvas-video-composer__tabs button:hover,
  .studio-canvas-video-composer__tools button:hover,
  .studio-canvas-video-composer__footer button:hover,
  .studio-canvas-save-asset__head button:hover,
  .studio-canvas-save-asset__placeholder button:hover,
  .studio-canvas-save-asset__cover-library button:hover,
  .studio-canvas-save-asset__existing-grid button:hover
) {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: var(--bg-hover);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-video-composer__tabs button.is-active,
  .studio-canvas-video-composer__tools button.is-active,
  .studio-canvas-save-asset__head button.is-active,
  .studio-canvas-save-asset__existing-grid button.is-selected
) {
  border-color: rgba(var(--accent-rgb), 0.32);
  background: var(--accent-muted);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-composer__model,
  .studio-canvas-text-composer__send,
  .studio-canvas-image-node__upload,
  .studio-canvas-image-composer__tools button,
  .studio-canvas-video-composer__tabs button,
  .studio-canvas-video-composer__tools button,
  .studio-canvas-video-composer__footer button,
  .studio-canvas-save-asset__placeholder button,
  .studio-canvas-save-asset__create,
  .react-flow__controls button
) {
  border: 1px solid var(--border-weak) !important;
  border-radius: var(--radius-sm) !important;
  background: var(--bg-inset) !important;
  color: var(--fg-body) !important;
  box-shadow: none !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-composer__send,
  .studio-canvas-video-composer__footer button,
  .studio-canvas-save-asset__create
) {
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: var(--dg-button-text) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-image-composer__expand {
  background: transparent !important;
  color: var(--fg-muted) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-text-composer__model-mark,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-text-composer__model-menu-icon {
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  border-radius: var(--radius-xs);
  background: var(--accent-muted);
  color: var(--accent);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-composer-chip .canvas-select-chip__trigger,
  .canvas-select-chip__trigger
) {
  border: 1px solid var(--border-weak) !important;
  border-radius: var(--radius-sm) !important;
  background: var(--bg-inset) !important;
  color: var(--fg-body) !important;
  box-shadow: none !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-composer-chip .canvas-select-chip__dropdown,
  .canvas-select-chip__dropdown
) {
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  background-image: none;
  color: var(--fg-body);
  box-shadow: var(--shadow-tight);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-composer-chip .canvas-select-chip__option,
  .canvas-select-chip__option
) {
  border: 0 !important;
  border-radius: var(--radius-sm) !important;
  background: transparent !important;
  color: var(--fg-muted) !important;
  box-shadow: none !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-composer-chip .canvas-select-chip__option:hover,
  .studio-canvas-composer-chip .canvas-select-chip__option.is-active,
  .canvas-select-chip__option:hover,
  .canvas-select-chip__option.is-active
) {
  background: var(--accent-muted) !important;
  color: var(--accent) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .canvas-select-chip__option-dot {
  background: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__glyph span,
  .studio-canvas-text-node__connector span,
  .studio-canvas-image-node__connector span,
  .studio-canvas-video-node__connector span
) {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xs);
  background: var(--bg-inset);
  color: var(--fg-body);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__connector.is-linking span,
  .studio-canvas-image-node__connector.is-linking span,
  .studio-canvas-video-node__connector.is-linking span
) {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--dg-button-text);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-node-links path {
  stroke: rgba(var(--accent-rgb), 0.5);
  filter: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-node-links circle {
  fill: var(--accent);
  stroke: var(--bg-elevated);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-selection-box {
  border: 1px dashed var(--accent);
  background: rgba(var(--accent-rgb), 0.12);
  background-image: none;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-node-resize-handle {
  border: 1px solid var(--accent);
  border-radius: var(--radius-xs);
  background: var(--accent);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__meta-item small {
  overflow: hidden;
  color: var(--fg-soft);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page__meta-item strong {
  overflow: hidden;
  color: var(--fg-body);
  font-size: 17px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page__body {
    grid-template-columns: 1fr;
    width: min(100% - 36px, 760px);
    margin-top: -54px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__sidebar {
    align-items: stretch;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__main-tabs {
    overflow-x: auto;
  }
}

@media (max-width: 560px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page__banner {
    height: 152px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__banner .profile-page__banner-btn {
    top: 10px;
    right: 12px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 999px;
    font-size: 0;
    gap: 0;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__banner-btn .anticon {
    width: 24px;
    height: 24px;
    background: transparent;
    font-size: 14px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__body {
    width: min(100% - 28px, 560px);
    margin-top: -32px;
    padding-bottom: 88px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__sidebar {
    gap: 13px;
    padding: 18px;
    border-radius: var(--radius-md);
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__sidebar-head {
    gap: 7px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__avatar-ring .profile-page__avatar,
  .web-shell[data-ui-theme="dark-green"] .profile-page__avatar {
    width: 76px;
    height: 76px;
    border-width: 3px;
    font-size: 24px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__avatar-edit {
    width: 76px;
    height: 76px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__avatar-badge {
    bottom: 6px;
    width: 18px;
    height: 18px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__username {
    font-size: 20px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__bio {
    min-height: 46px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.45;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__bio-display {
    min-height: 42px;
    padding: 8px 10px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__bio-display span {
    font-size: 12px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__counts {
    padding: 9px 0;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__count strong {
    font-size: 18px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__share-btn {
    min-height: 36px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__main-tabs button {
    flex: 0 0 auto;
    padding: 0 14px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__upload-card--meta {
    grid-template-columns: 1fr;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-height: min(312px, 46vh);
    padding-right: 4px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__list-card {
    min-height: 112px;
    padding: 9px;
    gap: 8px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__list-card-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__list-card-head strong {
    width: 100%;
    font-size: 12px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__list-card-head span {
    max-width: 100%;
    overflow: hidden;
    padding: 3px 7px;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__list-card p {
    min-height: 30px;
    font-size: 11px;
    line-height: 1.45;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__list-card-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
    font-size: 10px;
  }
}

/* Profile center: responsive workspace refinement. */
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard {
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), 0.035), transparent 220px),
    var(--dg-page);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner {
  height: clamp(156px, 18vw, 214px);
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--bg-surface);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-overlay {
  background:
    linear-gradient(180deg, rgba(13, 13, 15, 0.12), rgba(13, 13, 15, 0.72)),
    linear-gradient(90deg, rgba(13, 13, 15, 0.68), transparent 42%);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__body {
  grid-template-columns: minmax(270px, 300px) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  width: min(1180px, calc(100% - 48px));
  min-height: auto;
  margin-top: -58px;
  padding-bottom: clamp(36px, 5vw, 64px);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-item,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-state,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__upload-card {
  border-color: rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent),
    rgba(21, 23, 25, 0.96);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar {
  gap: 16px;
  padding: clamp(16px, 2vw, 22px);
  border-radius: var(--radius-md);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring::before {
  opacity: 0.45;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring .profile-page__avatar,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar {
  width: 82px;
  height: 82px;
  border-width: 3px;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-edit {
  width: 82px;
  height: 82px;
  justify-content: flex-start;
  padding-left: 30px;
  opacity: 0;
  transition: opacity 0.2s;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring:hover .profile-page__avatar-edit {
  opacity: 1;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-badge {
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__username {
  font-size: clamp(19px, 1.7vw, 22px);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.024);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display span {
  text-align: left;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  border: 0;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count {
  min-width: 0;
  padding: 12px 8px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.024);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count strong {
  font-size: clamp(18px, 1.5vw, 22px);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius-sm);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  padding: 3px;
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button {
  min-width: 0;
  min-height: 30px;
  padding: 0 8px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 11px;
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.055), transparent 62%),
    rgba(255, 255, 255, 0.022);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary-main,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary-metric {
  display: grid;
  min-width: 0;
  align-content: center;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary-main {
  gap: 3px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary-metric {
  min-width: 86px;
  justify-items: end;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  text-align: right;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary small {
  overflow: hidden;
  color: rgba(225, 235, 231, 0.52);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary strong {
  overflow: hidden;
  color: var(--fg);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary-metric strong {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary em {
  overflow: hidden;
  color: rgba(225, 235, 231, 0.42);
  font-size: 10px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__upload-card--meta {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__meta-item {
  min-height: auto;
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.022);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__meta-item strong {
  font-size: 15px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn {
  min-height: 42px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn:hover {
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--primary {
  background: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--secondary {
  border-color: rgba(255, 255, 255, 0.08);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main {
  gap: 16px;
  min-width: 0;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  min-height: 50px;
  margin: 0;
  padding: 5px;
  border-radius: var(--radius-md);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button {
  min-width: 0;
  min-height: 40px;
  padding: 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section {
  display: grid;
  gap: 14px;
  padding: clamp(14px, 1.8vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius-md);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-body);
  font-size: 15px;
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-grid,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-list {
  gap: 12px;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card {
  min-height: 128px;
  padding: 15px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card {
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  min-height: 116px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 88px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.055), transparent 64%),
    rgba(255, 255, 255, 0.024);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card-preview:not(.has-media) {
  border-color: rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(255, 255, 255, 0.018);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card-preview img,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card-preview video {
  width: 100%;
  height: 100%;
  min-height: 88px;
  object-fit: cover;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.07);
  color: rgba(var(--accent-rgb), 0.92);
  font-size: 16px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  max-width: calc(100% - 14px);
  overflow: hidden;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background: rgba(8, 14, 12, 0.76);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-head {
  gap: 8px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-head strong {
  min-width: 0;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__delete-project {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin: -3px -2px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
  color: var(--fg-soft);
  opacity: 0.72;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast), opacity var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__delete-project:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__delete-project:focus-visible {
  border-color: rgba(255, 118, 118, 0.28);
  background: rgba(255, 118, 118, 0.08);
  color: #ff9a9d;
  opacity: 1;
  outline: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card-body {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-item:hover {
  border-color: rgba(var(--accent-rgb), 0.28);
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-state {
  min-height: 240px;
  padding: clamp(30px, 4vw, 46px) 24px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-bar {
  margin-bottom: 0;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-tabs {
  width: fit-content;
  max-width: 100%;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-tabs button {
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__upload-card--meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 12px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__meta-item {
  min-height: 78px;
}

@media (max-width: 960px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__body {
    grid-template-columns: 1fr;
    width: min(760px, calc(100% - 36px));
    margin-top: -44px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    align-items: start;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar-head {
    grid-row: span 5;
    align-items: flex-start;
    text-align: left;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__counts {
    align-self: stretch;
  }
}

@media (max-width: 640px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner {
    height: 140px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__body {
    width: min(100% - 28px, 560px);
    margin-top: -30px;
    padding-bottom: 84px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar {
    display: flex;
    gap: 12px;
    padding: 16px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar-head {
    align-items: center;
    text-align: center;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring .profile-page__avatar,
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar {
    width: 72px;
    height: 72px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-edit {
    width: 72px;
    height: 72px;
    padding-left: 24px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__counts {
    gap: 6px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count {
    padding: 10px 6px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs::-webkit-scrollbar {
    display: none;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button {
    flex: 0 0 auto;
    min-width: 88px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section {
    padding: 14px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-grid,
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-list {
    grid-template-columns: 1fr;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card {
    min-height: 118px;
    padding: 13px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card-preview,
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card-preview img,
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card-preview video {
    min-height: 82px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card-head {
    align-items: center;
    flex-direction: row;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__upload-card--meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__body {
    width: min(100% - 20px, 420px);
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn {
    min-height: 40px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card-preview,
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card-preview img,
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card-preview video {
    min-height: 76px;
  }
}

/* Profile center: lock media card rhythm for dense libraries. */
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card {
  grid-template-columns: 92px minmax(0, 1fr);
  height: 126px;
  min-height: 126px;
  max-height: 126px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview {
  width: 92px;
  height: 96px;
  min-height: 96px;
  max-height: 96px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview img,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview video {
  height: 96px;
  min-height: 96px;
  max-height: 96px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-body {
  display: grid;
  grid-template-rows: 18px 36px 18px;
  align-content: space-between;
  gap: 8px;
  height: 96px;
  min-height: 96px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-head {
  min-height: 18px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-head strong {
  display: block;
  width: 100%;
  line-height: 1.25;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card p {
  min-height: 36px;
  max-height: 36px;
  line-height: 1.5;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-meta {
  align-self: end;
  min-height: 18px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-meta span:last-child {
  color: var(--fg-soft);
}

@media (max-width: 640px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card {
    grid-template-columns: 88px minmax(0, 1fr);
    height: 112px;
    min-height: 112px;
    max-height: 112px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview {
    width: 88px;
    height: 86px;
    min-height: 86px;
    max-height: 86px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview img,
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview video {
    height: 86px;
    min-height: 86px;
    max-height: 86px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-body {
    grid-template-rows: 16px 32px 16px;
    gap: 6px;
    height: 86px;
    min-height: 86px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card p {
    min-height: 32px;
    max-height: 32px;
    line-height: 1.45;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-meta {
    min-height: 16px;
  }
}

@media (max-width: 420px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card {
    grid-template-columns: 78px minmax(0, 1fr);
    height: 104px;
    min-height: 104px;
    max-height: 104px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview {
    width: 78px;
    height: 78px;
    min-height: 78px;
    max-height: 78px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview img,
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview video {
    height: 78px;
    min-height: 78px;
    max-height: 78px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-body {
    height: 78px;
    min-height: 78px;
  }
}

/* Personal center polish: keep account editing controls aligned and quiet. */
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner.has-image {
  background-position: center;
  background-size: cover;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-overlay {
  background:
    linear-gradient(180deg, rgba(13, 13, 15, 0.28) 0%, rgba(13, 13, 15, 0.64) 58%, rgba(13, 13, 15, 0.92) 100%),
    linear-gradient(90deg, rgba(13, 13, 15, 0.78), rgba(13, 13, 15, 0.28) 48%, rgba(13, 13, 15, 0.72));
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-btn {
  right: clamp(16px, 3.2vw, 32px);
  bottom: clamp(18px, 2.8vw, 28px);
  min-height: 42px;
  padding: 0 16px;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(13, 13, 15, 0.58);
  color: var(--fg-body);
  backdrop-filter: blur(14px);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-btn:hover {
  border-color: rgba(var(--accent-rgb), 0.36);
  background: rgba(13, 13, 15, 0.72);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring {
  width: 88px;
  height: 88px;
  padding: 3px;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(var(--accent-rgb), 0.08);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring .profile-page__avatar,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar {
  width: 82px;
  height: 82px;
  border: 2px solid rgba(5, 8, 13, 0.9);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-edit {
  top: 3px;
  right: 3px;
  bottom: 3px;
  left: 3px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(5, 8, 13, 0.58);
  color: #fff;
  line-height: 1;
  opacity: 0;
  transform: none;
  appearance: none;
  transition: opacity var(--transition-fast), background var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-edit .anticon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-edit .anticon svg {
  display: block;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring:hover .profile-page__avatar-edit,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-edit:focus-visible {
  opacity: 1;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-edit:hover {
  background: rgba(5, 8, 13, 0.72);
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-badge {
  right: 4px;
  bottom: 6px;
  z-index: 4;
  border: 2px solid rgba(5, 8, 13, 0.94);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(260px, 100%);
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--fg-muted);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.075);
  color: var(--fg-body);
  outline: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display.is-empty {
  color: var(--fg-soft);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display span {
  overflow: hidden;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-edit-icon {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 12px;
  opacity: 0.82;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-editor {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(260px, 100%);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio {
  width: 100%;
  min-height: 68px;
  border-color: rgba(var(--accent-rgb), 0.26);
  border-radius: 12px;
  background: rgba(5, 8, 13, 0.34);
  color: var(--fg-body);
  text-align: left;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--fg-muted);
  font-size: 12px;
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-action:hover {
  border-color: rgba(var(--accent-rgb), 0.28);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-action--save {
  border-color: rgba(var(--accent-rgb), 0.36);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-status,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sync-notice {
  display: inline-flex;
  align-items: center;
  max-width: min(260px, 100%);
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.07);
  color: var(--accent);
  font-size: 11px;
  line-height: 1.3;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sync-notice {
  border-color: rgba(243, 170, 38, 0.28);
  background: rgba(243, 170, 38, 0.08);
  color: var(--warning);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--primary {
  border-color: rgba(var(--accent-rgb), 0.72);
  background:
    linear-gradient(180deg, rgba(88, 255, 172, 0.98), rgba(0, 216, 116, 0.92));
  color: #061014;
  text-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--primary .anticon {
  color: currentColor;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--primary:hover {
  border-color: rgba(var(--accent-rgb), 0.86);
  background:
    linear-gradient(180deg, rgba(115, 255, 187, 1), rgba(0, 216, 116, 0.96));
  color: #061014;
}

@media (max-width: 640px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-btn {
    top: auto;
    right: 14px;
    bottom: 14px;
    width: auto;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    font-size: 12px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-btn .anticon {
    width: auto;
    height: auto;
    font-size: 14px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring {
    width: 82px;
    height: 82px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring .profile-page__avatar,
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar {
    width: 76px;
    height: 76px;
  }
}

/* Personal center refinement: make account overview and libraries easier to scan. */
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018)),
    rgba(17, 20, 22, 0.98);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar-head {
  width: 100%;
  padding: 4px 0 2px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__counts {
  width: 100%;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), transparent),
    rgba(255, 255, 255, 0.022);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count span {
  color: rgba(225, 235, 231, 0.56);
  font-size: 11px;
  font-weight: 650;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card {
  gap: 12px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--accent-rgb), 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.016)),
    rgba(10, 14, 13, 0.68);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs {
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 2px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: rgba(225, 235, 231, 0.58);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button span {
  overflow: hidden;
  max-width: 100%;
  font-size: 10px;
  font-weight: 760;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button strong {
  overflow: hidden;
  max-width: 100%;
  color: var(--fg-body);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button.is-active {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.12);
  color: rgba(var(--accent-rgb), 0.88);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button.is-active strong {
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary {
  padding: 12px;
  border-radius: 13px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary em {
  display: block;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions {
  display: grid;
  gap: 9px;
  width: 100%;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--plan {
  min-height: 34px;
  border-style: dashed;
  color: rgba(225, 235, 231, 0.62);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--secondary {
  background: rgba(255, 255, 255, 0.026);
  color: rgba(225, 235, 231, 0.74);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--danger {
  border-color: rgba(255, 90, 95, 0.16);
  background: rgba(255, 90, 95, 0.035);
  color: rgba(255, 154, 157, 0.78);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--danger:hover {
  border-color: rgba(255, 90, 95, 0.32);
  background: rgba(255, 90, 95, 0.08);
  color: #ffb2b5;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.018)),
    rgba(21, 23, 25, 0.94);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(225, 235, 231, 0.68);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button::after {
  display: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(225, 235, 231, 0.62);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button.is-active {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.11);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button.is-active small {
  background: rgba(var(--accent-rgb), 0.18);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.012)),
    rgba(17, 20, 22, 0.96);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title meta"
    "desc meta";
  align-items: center;
  column-gap: 12px;
  row-gap: 4px;
  min-width: 0;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-label {
  grid-area: title;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-desc {
  grid-area: desc;
  overflow: hidden;
  color: rgba(225, 235, 231, 0.52);
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-meta {
  grid-area: meta;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.07);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.034), transparent),
    rgba(255, 255, 255, 0.018);
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-item:hover {
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), 0.055), transparent),
    rgba(255, 255, 255, 0.026);
  transform: translateY(-1px);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-head strong {
  color: rgba(246, 248, 251, 0.96);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card p {
  color: rgba(225, 235, 231, 0.56);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-meta {
  color: rgba(225, 235, 231, 0.42);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-state {
  border-style: dashed;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), 0.08), transparent 42%),
    rgba(255, 255, 255, 0.018);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
}

@media (max-width: 640px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button {
    min-height: 40px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button {
    gap: 0;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-head {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "desc"
      "meta";
    align-items: start;
  }
}

/* Personal center tone correction: remove green depth and stabilize cover editing. */
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard {
  background: var(--dg-page);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent),
    var(--dg-surface);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-overlay {
  background:
    linear-gradient(180deg, rgba(13, 13, 15, 0.14) 0%, rgba(13, 13, 15, 0.66) 64%, rgba(13, 13, 15, 0.92) 100%),
    linear-gradient(90deg, rgba(13, 13, 15, 0.62), rgba(13, 13, 15, 0.18) 52%, rgba(13, 13, 15, 0.58));
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-btn {
  top: clamp(16px, 2.8vw, 24px);
  right: clamp(16px, 3vw, 28px);
  bottom: auto;
  min-height: 40px;
  padding: 0 14px;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: var(--dg-elevated);
  color: rgba(244, 247, 245, 0.88);
  box-shadow: none;
  backdrop-filter: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-btn:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: var(--dg-hover);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    var(--dg-surface);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--dg-hover);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-edit-icon {
  color: rgba(244, 247, 245, 0.64);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio {
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--dg-surface);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio:focus {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-action--save,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-meta,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-mark {
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--dg-hover);
  color: rgba(244, 247, 245, 0.86);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--primary {
  border-color: rgba(var(--accent-rgb), 0.42);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--primary:hover {
  border-color: rgba(var(--accent-rgb), 0.54);
  background: rgba(var(--accent-rgb), 0.16);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.014)),
    rgba(21, 23, 25, 0.96);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button.is-active,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button.is-active {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button.is-active strong,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button.is-active small {
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-item:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(255, 255, 255, 0.026);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-state {
  background: rgba(255, 255, 255, 0.018);
}

@media (max-width: 640px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-btn {
    top: 14px;
    right: 14px;
    bottom: auto;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 50%;
    gap: 0;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-btn-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-btn .anticon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 16px;
  }
}

/* Personal center premium finish: refined graphite surfaces, minimal accent. */
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard {
  --profile-page: #0f1013;
  --profile-panel: #17191e;
  --profile-panel-soft: #1b1d23;
  --profile-control: #20232a;
  --profile-border: rgba(232, 238, 246, 0.1);
  --profile-border-strong: rgba(232, 238, 246, 0.18);
  --profile-text: #f2f5f7;
  --profile-muted: #8f98a5;
  --profile-soft: #68717d;
  --profile-accent: #a8e8c8;
  background: var(--profile-page);
  color: var(--profile-text);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--profile-panel);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-overlay {
  background:
    linear-gradient(180deg, rgba(15, 16, 19, 0.2) 0%, rgba(15, 16, 19, 0.7) 68%, var(--profile-page) 100%),
    linear-gradient(90deg, rgba(15, 16, 19, 0.68), rgba(15, 16, 19, 0.24) 48%, rgba(15, 16, 19, 0.62));
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard :is(
  .profile-page__sidebar,
  .profile-page__account-card,
  .profile-page__main-tabs,
  .profile-page__section,
  .profile-page__list-card,
  .profile-page__review-item,
  .profile-page__empty-state,
  .profile-page__upload-card
) {
  border-color: var(--profile-border);
  background: var(--profile-panel);
  background-image: none;
  box-shadow: none;
  backdrop-filter: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard :is(
  .profile-page__count,
  .profile-page__account-summary,
  .profile-page__bio-display,
  .profile-page__bio,
  .profile-page__account-card .profile-page__list-tabs,
  .profile-page__main-tabs button,
  .profile-page__share-btn,
  .profile-page__list-card-preview,
  .profile-page__bio-action
) {
  border-color: rgba(232, 238, 246, 0.08);
  background: var(--profile-control);
  background-image: none;
  box-shadow: none;
  backdrop-filter: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar {
  gap: 15px;
  border-radius: 16px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-btn {
  border-color: rgba(232, 238, 246, 0.16);
  background: rgba(27, 29, 35, 0.96);
  color: rgba(242, 245, 247, 0.86);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-btn:hover {
  border-color: rgba(232, 238, 246, 0.28);
  background: #242730;
  color: var(--profile-text);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring {
  border-color: rgba(232, 238, 246, 0.12);
  background: #20232a;
  background-image: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-badge {
  border-color: var(--profile-panel);
  background: var(--profile-accent);
  color: #07110d;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard :is(
  .profile-page__username,
  .profile-page__count strong,
  .profile-page__account-summary strong,
  .profile-page__section-label,
  .profile-page__list-card-head strong,
  .profile-page__review-item strong
) {
  color: var(--profile-text);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard :is(
  .profile-page__bio-display,
  .profile-page__bio,
  .profile-page__count span,
  .profile-page__account-summary small,
  .profile-page__account-summary em,
  .profile-page__section-desc,
  .profile-page__list-card p,
  .profile-page__list-card-meta,
  .profile-page__empty-text,
  .profile-page__review-item span,
  .profile-page__review-item small
) {
  color: var(--profile-muted);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display:focus-visible,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio:focus,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-action:hover {
  border-color: var(--profile-border-strong);
  background: #252832;
  color: var(--profile-text);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-edit-icon {
  color: #aab3be;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count {
  border-radius: 12px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button.is-active,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button.is-active {
  border-color: var(--profile-border-strong);
  background: #2a2e38;
  color: var(--profile-text);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button.is-active strong,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary-metric strong {
  color: var(--profile-accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--primary {
  border-color: rgba(255, 255, 255, 0.78);
  background: #eef4f1;
  color: #07110d;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--primary:hover {
  border-color: #fff;
  background: #fff;
  color: #07110d;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn.profile-page__share-btn--primary {
  border-color: rgba(255, 255, 255, 0.78);
  background: #eef4f1;
  background-image: none;
  color: #07110d;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn.profile-page__share-btn--primary:hover {
  border-color: #fff;
  background: #fff;
  background-image: none;
  color: #07110d;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--primary .anticon {
  color: currentColor;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--secondary,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--plan {
  border-color: rgba(232, 238, 246, 0.09);
  background: var(--profile-control);
  color: rgba(242, 245, 247, 0.74);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard :is(
  .profile-page__share-btn--secondary,
  .profile-page__share-btn--plan
):hover {
  border-color: var(--profile-border-strong);
  background: #252832;
  color: var(--profile-text);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--danger {
  border-color: rgba(255, 124, 130, 0.18);
  background: rgba(255, 124, 130, 0.055);
  color: #f1a3a8;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs {
  gap: 6px;
  padding: 7px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button {
  min-height: 42px;
  background: transparent;
  color: rgba(242, 245, 247, 0.64);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button.is-active {
  color: var(--profile-text);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-label::before {
  background: var(--profile-accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-meta,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-mark,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-action--save,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-status {
  border-color: rgba(232, 238, 246, 0.12);
  background: #23262e;
  color: #cfd6de;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-meta {
  justify-self: start;
  width: fit-content;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-item:hover {
  border-color: var(--profile-border-strong);
  background: var(--profile-panel-soft);
  transform: translateY(-1px);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-state {
  border-style: dashed;
  background: #15171b;
}

@media (max-width: 640px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs {
    padding: 6px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button {
    min-height: 40px;
    padding-inline: 8px;
  }
}

/* Personal center reference tone: black panels with precise green emphasis. */
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard {
  --profile-page: #08090b;
  --profile-panel: #121416;
  --profile-panel-soft: #16191b;
  --profile-control: #181b1e;
  --profile-border: rgba(255, 255, 255, 0.085);
  --profile-border-strong: rgba(255, 255, 255, 0.15);
  --profile-text: #f4f7f5;
  --profile-muted: #8d9690;
  --profile-soft: #616b66;
  --profile-accent: #00ff88;
  --profile-accent-soft: rgba(0, 255, 136, 0.13);
  --profile-accent-border: rgba(0, 255, 136, 0.42);
  background: var(--profile-page);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner {
  background-color: #111416;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-overlay {
  background:
    linear-gradient(180deg, rgba(8, 9, 11, 0.28) 0%, rgba(8, 9, 11, 0.78) 72%, var(--profile-page) 100%),
    linear-gradient(90deg, rgba(8, 9, 11, 0.7), rgba(8, 9, 11, 0.28) 46%, rgba(8, 9, 11, 0.7));
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-item,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-state {
  border-color: var(--profile-border);
  background: var(--profile-panel);
  background-image: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card-preview,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-action {
  border-color: var(--profile-border);
  background: var(--profile-control);
  background-image: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-btn {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(18, 20, 22, 0.9);
  color: var(--profile-text);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(24, 27, 30, 0.96);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring {
  border-color: var(--profile-border-strong);
  background: #181b1e;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-badge {
  background: var(--profile-accent);
  color: #05120b;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button.is-active,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button.is-active {
  border-color: var(--profile-accent-border);
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button.is-active strong,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary-metric strong {
  color: var(--profile-accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn.profile-page__share-btn--primary {
  border-color: var(--profile-accent);
  background: var(--profile-accent);
  background-image: none;
  color: #05120b;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn.profile-page__share-btn--primary:hover {
  border-color: #35ffa2;
  background: #35ffa2;
  background-image: none;
  color: #05120b;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--plan {
  border-color: var(--profile-accent-border);
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn.profile-page__share-btn--plan {
  border-color: var(--profile-accent-border);
  background: var(--profile-accent-soft);
  background-image: none;
  color: var(--profile-accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--secondary {
  color: rgba(244, 247, 245, 0.74);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--danger {
  border-color: rgba(255, 125, 132, 0.18);
  background: rgba(255, 125, 132, 0.055);
  color: rgba(255, 160, 166, 0.82);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-label::before {
  background: var(--profile-accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-meta,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-mark,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-action--save,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-status {
  border-color: var(--profile-accent-border);
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-item:hover {
  border-color: rgba(0, 255, 136, 0.24);
  background: var(--profile-panel-soft);
}

/* Personal center scroll model: let the page scroll, not the content cards. */
.web-shell[data-ui-theme="dark-green"] .web-shell__page:has(.profile-page--dashboard) {
  overflow-x: hidden;
  overflow-y: auto;
}

.web-shell[data-ui-theme="dark-green"] .page-transition-wrap:has(.profile-page--dashboard),
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard {
  height: auto;
  min-height: 100%;
  overflow: visible;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__body,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section {
  height: auto;
  max-height: none;
  overflow: visible;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section {
  flex: 0 0 auto;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section {
  display: flex;
  flex-direction: column;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-grid,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-list {
  height: auto;
  max-height: none;
  overflow: visible;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs {
  overflow-x: auto;
  overflow-y: hidden;
}

/* Personal center design-taste pass: keep the black-green product language, but unify spacing, surfaces, and responsive behavior. */
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard {
  --profile-page: #08090b;
  --profile-panel: #121416;
  --profile-panel-soft: #16191b;
  --profile-control: #181b1e;
  --profile-control-strong: #1d2124;
  --profile-border: rgba(255, 255, 255, 0.085);
  --profile-border-strong: rgba(255, 255, 255, 0.15);
  --profile-text: #f4f7f5;
  --profile-muted: rgba(225, 235, 231, 0.64);
  --profile-soft: rgba(225, 235, 231, 0.42);
  --profile-accent: #00ff88;
  --profile-accent-soft: rgba(0, 255, 136, 0.12);
  --profile-accent-border: rgba(0, 255, 136, 0.34);
  --profile-radius-lg: 18px;
  --profile-radius-md: 14px;
  --profile-radius-sm: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 260px),
    var(--profile-page);
  color: var(--profile-text);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner {
  height: clamp(148px, 18vw, 210px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--profile-panel);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-overlay {
  background:
    linear-gradient(180deg, rgba(8, 9, 11, 0.24) 0%, rgba(8, 9, 11, 0.7) 68%, var(--profile-page) 100%),
    linear-gradient(90deg, rgba(8, 9, 11, 0.76), rgba(8, 9, 11, 0.28) 48%, rgba(8, 9, 11, 0.68));
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__body {
  grid-template-columns: minmax(272px, 304px) minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
  width: min(1220px, calc(100% - 48px));
  margin-top: -54px;
  padding-bottom: clamp(44px, 5vw, 72px);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard :is(
  .profile-page__sidebar,
  .profile-page__account-card,
  .profile-page__main-tabs,
  .profile-page__section,
  .profile-page__list-card,
  .profile-page__review-item,
  .profile-page__empty-state
) {
  border: 1px solid var(--profile-border);
  border-radius: var(--profile-radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.012)),
    var(--profile-panel);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar {
  gap: 16px;
  padding: clamp(16px, 1.8vw, 22px);
}

@media (min-width: 1024px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar {
    position: sticky;
    top: 18px;
    align-self: start;
  }
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar-head {
  gap: 10px;
  width: 100%;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring {
  width: 90px;
  height: 90px;
  padding: 3px;
  border-color: var(--profile-accent-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--profile-accent-soft);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring .profile-page__avatar,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar {
  width: 82px;
  height: 82px;
  border-color: rgba(5, 8, 13, 0.94);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__username {
  color: var(--profile-text);
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.2;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display {
  width: min(268px, 100%);
  min-height: 38px;
  border-color: var(--profile-border);
  background: rgba(255, 255, 255, 0.035);
  color: var(--profile-muted);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display:focus-visible {
  border-color: var(--profile-accent-border);
  background: var(--profile-accent-soft);
  color: var(--profile-text);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count {
  min-width: 0;
  padding: 12px 8px;
  border: 1px solid var(--profile-border);
  border-radius: var(--profile-radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--profile-control);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count strong {
  color: var(--profile-text);
  font-size: 20px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count span {
  color: var(--profile-muted);
  font-size: 11px;
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card {
  gap: 12px;
  padding: 12px;
  border-radius: var(--profile-radius-md);
  background:
    radial-gradient(circle at 14% 0%, rgba(0, 255, 136, 0.11), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.016)),
    rgba(10, 14, 13, 0.72);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs {
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--profile-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.026);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 9px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button.is-active,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button.is-active {
  border-color: var(--profile-accent-border);
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px;
  border-color: var(--profile-border);
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(0, 255, 136, 0.06), transparent 60%),
    rgba(255, 255, 255, 0.026);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary small,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary em {
  color: var(--profile-soft);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary strong {
  color: var(--profile-text);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary-metric strong {
  color: var(--profile-accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions {
  display: grid;
  gap: 9px;
  width: 100%;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn {
  min-height: 42px;
  border-color: var(--profile-border);
  border-radius: var(--profile-radius-sm);
  background: var(--profile-control);
  color: var(--profile-muted);
  font-weight: 700;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn:focus-visible {
  border-color: var(--profile-border-strong);
  background: var(--profile-control-strong);
  color: var(--profile-text);
  outline: none;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn.profile-page__share-btn--primary {
  border-color: rgba(0, 255, 136, 0.74);
  background:
    linear-gradient(180deg, rgba(88, 255, 172, 0.98), rgba(0, 216, 116, 0.92));
  color: #061014;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn.profile-page__share-btn--primary:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn.profile-page__share-btn--primary:focus-visible {
  border-color: #35ffa2;
  background:
    linear-gradient(180deg, rgba(115, 255, 187, 1), rgba(0, 216, 116, 0.96));
  color: #061014;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--plan {
  min-height: 34px;
  border-color: var(--profile-accent-border);
  border-style: dashed;
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--danger {
  border-color: rgba(255, 90, 95, 0.18);
  background: rgba(255, 90, 95, 0.045);
  color: rgba(255, 165, 168, 0.84);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main {
  gap: 16px;
  min-width: 0;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  min-height: 52px;
  margin: 0;
  padding: 6px;
  border-radius: var(--profile-radius-lg);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button {
  min-width: 0;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--profile-muted);
  font-weight: 760;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(14px, 1.8vw, 20px);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-head {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title meta"
    "desc meta";
  row-gap: 4px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-label {
  color: var(--profile-text);
  font-size: 16px;
  font-weight: 820;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-desc {
  color: var(--profile-muted);
  font-size: 12px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-meta {
  border-color: var(--profile-accent-border);
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-list {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card {
  border-radius: var(--profile-radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.034), transparent),
    rgba(255, 255, 255, 0.018);
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__interactive-card:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__interactive-card:focus-visible {
  border-color: rgba(0, 255, 136, 0.28);
  background:
    linear-gradient(180deg, rgba(0, 255, 136, 0.046), transparent),
    rgba(255, 255, 255, 0.024);
  transform: translateY(-1px);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card {
  grid-template-columns: 94px minmax(0, 1fr);
  height: auto;
  min-height: 128px;
  max-height: none;
  padding: 14px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview {
  width: 94px;
  height: 98px;
  min-height: 98px;
  max-height: 98px;
  border-color: var(--profile-border);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(0, 255, 136, 0.06), transparent 64%),
    var(--profile-control);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview img,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview video {
  height: 98px;
  min-height: 98px;
  max-height: 98px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-badge {
  border-color: rgba(0, 255, 136, 0.24);
  background: rgba(5, 10, 8, 0.78);
  color: var(--profile-accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-body {
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 7px;
  height: 98px;
  min-height: 98px;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-head {
  min-height: 0;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-head strong {
  color: var(--profile-text);
  font-size: 14px;
  line-height: 1.28;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-head span {
  max-width: 76px;
  overflow: hidden;
  padding: 3px 7px;
  border: 1px solid rgba(0, 255, 136, 0.22);
  border-radius: 999px;
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card p {
  display: -webkit-box;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  color: var(--profile-muted);
  line-height: 1.45;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-meta {
  min-height: 0;
  color: var(--profile-soft);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-state {
  min-height: 240px;
  border-style: dashed;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent),
    rgba(255, 255, 255, 0.014);
}

.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-mark,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-btn {
  border-color: var(--profile-accent-border);
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__detail-overlay {
  --profile-page: #08090b;
  --profile-panel: #121416;
  --profile-control: #181b1e;
  --profile-border: rgba(255, 255, 255, 0.085);
  --profile-border-strong: rgba(255, 255, 255, 0.15);
  --profile-text: #f4f7f5;
  --profile-muted: rgba(225, 235, 231, 0.64);
  --profile-accent: #00ff88;
  --profile-accent-soft: rgba(0, 255, 136, 0.12);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__detail-backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__detail-panel {
  border-color: var(--profile-border-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.014)),
    var(--profile-panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__detail-eyebrow,
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-action {
  color: var(--profile-accent);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__detail-head h2 {
  color: var(--profile-text);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__detail-preview,
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-info p,
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-info dl div,
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-close,
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-action {
  border-color: var(--profile-border);
  background: var(--profile-control);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__detail-actions {
  border-top-color: var(--profile-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
    var(--profile-panel);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__detail-action--primary {
  border-color: rgba(0, 255, 136, 0.62);
  background:
    linear-gradient(180deg, rgba(0, 255, 136, 0.18), rgba(0, 255, 136, 0.11)),
    var(--profile-control);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__detail-action--secondary {
  color: var(--profile-text);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__detail-info p,
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-info dt {
  color: var(--profile-muted);
}

.web-shell[data-ui-theme="dark-green"] .profile-page__detail-info dd {
  color: var(--profile-text);
}

@media (max-width: 980px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__body {
    grid-template-columns: 1fr;
    width: min(760px, calc(100% - 32px));
    margin-top: -42px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
    align-items: start;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar-head {
    grid-row: span 4;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner {
    height: 138px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__body {
    width: min(100% - 22px, 560px);
    gap: 14px;
    margin-top: -28px;
    padding-bottom: 84px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar-head {
    align-items: center;
    text-align: center;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring {
    width: 82px;
    height: 82px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring .profile-page__avatar,
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar {
    width: 76px;
    height: 76px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary-metric {
    justify-items: start;
    padding-top: 10px;
    padding-left: 0;
    border-top: 1px solid var(--profile-border);
    border-left: 0;
    text-align: left;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs {
    display: flex;
    min-height: 48px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs::-webkit-scrollbar {
    display: none;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button {
    flex: 0 0 auto;
    min-width: 92px;
    scroll-snap-align: start;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section {
    padding: 13px;
    border-radius: 16px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-head {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "desc"
      "meta";
    align-items: start;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-desc {
    white-space: normal;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-grid,
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-list {
    grid-template-columns: 1fr;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card {
    grid-template-columns: 84px minmax(0, 1fr);
    min-height: 112px;
    padding: 12px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview {
    width: 84px;
    height: 84px;
    min-height: 84px;
    max-height: 84px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview img,
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview video {
    height: 84px;
    min-height: 84px;
    max-height: 84px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-body {
    height: 84px;
    min-height: 84px;
  }
}

@media (max-width: 380px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__body {
    width: min(100% - 16px, 380px);
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__counts {
    gap: 6px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count {
    padding: 9px 4px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview {
    width: 74px;
    height: 74px;
    min-height: 74px;
    max-height: 74px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview img,
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview video {
    height: 74px;
    min-height: 74px;
    max-height: 74px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-body {
    gap: 5px;
    height: 74px;
    min-height: 74px;
  }
}

/* Personal center mobile comfort pass: compact account controls and keep library navigation reachable. */
@media (max-width: 640px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard {
    background:
      linear-gradient(180deg, rgba(0, 255, 136, 0.035), transparent 180px),
      var(--profile-page);
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__body {
    gap: 12px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar {
    gap: 10px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__username {
    font-size: 18px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display {
    min-height: 34px;
    padding: 7px 11px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count {
    min-height: 58px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card {
    gap: 9px;
    padding: 10px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button {
    min-height: 40px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn {
    min-height: 40px;
    padding: 0 10px;
    font-size: 12px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn--plan,
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn--primary {
    grid-column: 1 / -1;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs {
    position: sticky;
    top: 0;
    z-index: 12;
    margin-top: -1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-color: rgba(255, 255, 255, 0.11);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
      rgba(18, 20, 22, 0.96);
    box-shadow:
      0 1px 0 rgba(0, 255, 136, 0.1) inset,
      0 16px 34px rgba(0, 0, 0, 0.32);
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section {
    gap: 12px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-label {
    font-size: 15px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card {
    border-radius: 14px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-head strong {
    font-size: 13px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-meta {
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions {
    grid-template-columns: 1fr;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn--plan,
  .web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn--primary {
    grid-column: auto;
  }
}

/* Ecommerce generation page: keep its carousel and composer independent from
   the community carousel rules that share class names. */
.web-shell[data-ui-theme="dark-green"] .ecommerce-landing-page {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  overflow: visible;
  background: var(--dg-page);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-landing-scroll {
  display: grid;
  flex: none;
  justify-items: center;
  align-content: start;
  gap: 28px;
  width: min(100%, 1040px);
  height: auto;
  min-height: 0;
  margin: 0 auto;
  overflow: visible;
  padding: 48px 28px 32px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-generate-carousel {
  width: min(100%, 1040px);
  min-height: 310px;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-generate-carousel .community-carousel__track {
  align-items: center;
  height: 100%;
  padding: 0;
  transition: transform 520ms cubic-bezier(0.32, 0.72, 0, 1);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-generate-carousel .community-carousel__slide {
  flex: 0 0 calc(100% / 3);
  min-width: 0;
  min-height: 286px;
  height: 286px;
  aspect-ratio: auto;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  opacity: 0.62;
  transform: scale(0.92);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-generate-carousel .community-carousel__slide.is-center {
  z-index: 2;
  opacity: 1;
  transform: scale(1.04);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-generate-carousel .community-carousel__full-image {
  object-fit: cover;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-carousel-upload {
  top: 16px;
  right: 16px;
  width: auto;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--fg-body);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-carousel-upload:hover,
.web-shell[data-ui-theme="dark-green"] .ecommerce-carousel-upload:active {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: var(--bg-hover);
  color: var(--accent);
  box-shadow: none;
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-shell {
  width: min(100%, 720px);
  max-width: 720px;
  margin: 0 auto;
  padding: 20px;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-reference-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 12px;
  padding: 0 0 10px;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid var(--border-weak);
  scrollbar-width: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-reference-strip::-webkit-scrollbar {
  display: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-reference-card {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 104px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  color: var(--fg-muted);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-reference-card.has-image {
  width: 54px;
  min-width: 54px;
  padding: 0;
  overflow: hidden;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-reference-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-toolbar {
  flex-wrap: wrap;
  gap: 8px;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-generation-trigger,
.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-tool--ratio {
  width: auto;
  min-width: 0;
  padding: 0 10px;
  gap: 6px;
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu {
  position: relative;
  z-index: 20;
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel {
  position: absolute;
  left: 0;
  top: auto;
  bottom: calc(100% + 10px);
  z-index: 90;
  display: grid;
  width: max-content;
  min-width: 168px;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  box-shadow: var(--shadow-tight);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-generation-menu__panel {
  min-width: 176px;
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--fg-body);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-align: left;
  text-shadow: none;
  cursor: pointer;
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel button .anticon {
  color: var(--fg-muted);
  font-size: 14px;
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel button span {
  color: inherit;
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel button:hover {
  border-color: var(--border-default);
  background: var(--bg-hover);
  color: var(--fg-body);
  transform: none;
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel button.is-active {
  border-color: rgba(var(--accent-rgb), 0.36);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel button:hover .anticon,
.web-shell[data-ui-theme="dark-green"] .workbench-generation-menu__panel button.is-active .anticon {
  color: currentColor;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-composer-footer {
  flex-wrap: wrap;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences {
  z-index: 120;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel {
  display: grid;
  align-content: start;
  gap: 12px;
  max-height: calc(100vh - 24px);
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  color: var(--fg-body);
  box-shadow: var(--shadow-tight);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-preferences__section-label {
  margin-bottom: -4px;
  color: var(--fg-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-ratio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-ratio-option {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 6px 4px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--fg-muted);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-ratio-option:hover {
  border-color: var(--border-default);
  background: var(--bg-hover);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-ratio-option.is-active {
  border-color: rgba(var(--accent-rgb), 0.36);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-ratio-option__icon {
  border-width: 1.5px;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-resolution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-resolution-grid button {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--fg-body);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-resolution-grid button:hover {
  border-color: var(--border-default);
  background: var(--bg-hover);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-resolution-grid button.is-active {
  border-color: rgba(var(--accent-rgb), 0.36);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-size-grid {
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) auto;
  gap: 8px;
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-size-grid label {
  height: 38px;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-xs);
  background: var(--bg-inset);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-size-grid label span,
.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-size-grid > span,
.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-size-grid > .anticon {
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-size-grid input {
  color: var(--fg-body);
  font-family: var(--font-sans);
  font-size: 13px;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-preferences__panel .workbench-preferences__resize {
  display: none;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-result-panel,
.web-shell[data-ui-theme="dark-green"] .ecommerce-community-content {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0 28px;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-result-panel {
  margin-top: 8px;
  margin-bottom: 32px;
}

.web-shell[data-ui-theme="dark-green"] .ecommerce-community-content {
  padding-bottom: 64px;
}

/* Canvas full dark-green legibility pass. Legacy canvas rules still contain pixel
   colors, so this late theme block owns every visible canvas control. */
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas {
  color: var(--fg-body);
  font-family: var(--font-sans);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  button,
  input,
  textarea,
  span,
  strong,
  small,
  kbd,
  em
) {
  text-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__title,
  .studio-canvas-image-node__title,
  .studio-canvas-video-node__title
) {
  color: var(--fg-muted);
  text-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__card,
  .studio-canvas-image-node__card,
  .studio-canvas-video-node__preview,
  .studio-canvas-text-composer,
  .studio-canvas-image-composer,
  .studio-canvas-video-composer,
  .studio-canvas-save-asset__modal,
  .studio-canvas-save-asset__cover-library
) {
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  background-image: none;
  color: var(--fg-body);
  box-shadow: var(--shadow-tight);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node.is-selected .studio-canvas-text-node__card,
  .studio-canvas-image-node.is-selected .studio-canvas-image-node__card,
  .studio-canvas-video-node.is-selected .studio-canvas-video-node__preview
) {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.34);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__inline-input,
  .studio-canvas-text-node__content,
  .studio-canvas-text-composer textarea,
  .studio-canvas-image-composer textarea,
  .studio-canvas-video-composer textarea,
  .studio-canvas-save-asset__form input
) {
  background: transparent;
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__inline-input::placeholder,
  .studio-canvas-text-composer textarea::placeholder,
  .studio-canvas-image-composer textarea::placeholder,
  .studio-canvas-video-composer textarea::placeholder,
  .studio-canvas-save-asset__form input::placeholder
) {
  color: var(--fg-soft);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__suggestions > span,
  .studio-canvas-image-node__placeholder,
  .studio-canvas-image-node__placeholder-actions span,
  .studio-canvas-video-node__play,
  .studio-canvas-text-composer__footer span,
  .studio-canvas-image-composer__footer span,
  .studio-canvas-video-composer__footer span,
  .studio-canvas-save-asset__label,
  .studio-canvas-save-asset__form label > span,
  .studio-canvas-save-asset__existing-title,
  .studio-canvas-save-asset__empty
) {
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-image-node__placeholder-icon {
  color: var(--fg-soft);
  opacity: 0.72;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__suggestions button,
  .studio-canvas-image-node__placeholder-actions button,
  .studio-canvas-text-composer__footer button,
  .studio-canvas-image-composer__footer button,
  .studio-canvas-image-node__upload,
  .studio-canvas-image-composer__tools button,
  .studio-canvas-video-composer__tabs button,
  .studio-canvas-video-composer__tools button,
  .studio-canvas-video-composer__footer button,
  .studio-canvas-save-asset__head button,
  .studio-canvas-save-asset__placeholder button,
  .studio-canvas-save-asset__cover-library button,
  .studio-canvas-save-asset__existing-grid button,
  .react-flow__controls button
) {
  border-color: var(--border-weak);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--fg-body);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__suggestions button:hover,
  .studio-canvas-image-node__placeholder-actions button:hover,
  .studio-canvas-text-composer__footer button:hover,
  .studio-canvas-image-composer__footer button:hover,
  .studio-canvas-image-node__upload:hover,
  .studio-canvas-image-composer__tools button:hover,
  .studio-canvas-video-composer__tabs button:hover,
  .studio-canvas-video-composer__tools button:hover,
  .studio-canvas-video-composer__footer button:hover,
  .studio-canvas-save-asset__head button:hover,
  .studio-canvas-save-asset__placeholder button:hover,
  .studio-canvas-save-asset__cover-library button:hover,
  .studio-canvas-save-asset__existing-grid button:hover
) {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: var(--bg-hover);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-video-composer__tabs button.is-active,
  .studio-canvas-video-composer__tools button.is-active,
  .studio-canvas-save-asset__head button.is-active,
  .studio-canvas-save-asset__existing-grid button.is-selected
) {
  border-color: rgba(var(--accent-rgb), 0.32);
  background: var(--accent-muted);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-composer__model,
  .studio-canvas-text-composer__send,
  .studio-canvas-image-node__upload,
  .studio-canvas-image-composer__tools button,
  .studio-canvas-video-composer__tabs button,
  .studio-canvas-video-composer__tools button,
  .studio-canvas-video-composer__footer button,
  .studio-canvas-save-asset__placeholder button,
  .studio-canvas-save-asset__create,
  .react-flow__controls button
) {
  border: 1px solid var(--border-weak) !important;
  border-radius: var(--radius-sm) !important;
  background: var(--bg-inset) !important;
  color: var(--fg-body) !important;
  box-shadow: none !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-composer__send,
  .studio-canvas-video-composer__footer button,
  .studio-canvas-save-asset__create
) {
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: var(--dg-button-text) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-image-composer__expand {
  background: transparent !important;
  color: var(--fg-muted) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-text-composer__model-mark,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-text-composer__model-menu-icon {
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  border-radius: var(--radius-xs);
  background: var(--accent-muted);
  color: var(--accent);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-composer-chip .canvas-select-chip__trigger,
  .canvas-select-chip__trigger
) {
  border: 1px solid var(--border-weak) !important;
  border-radius: var(--radius-sm) !important;
  background: var(--bg-inset) !important;
  color: var(--fg-body) !important;
  box-shadow: none !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-composer-chip .canvas-select-chip__dropdown,
  .canvas-select-chip__dropdown
) {
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  background-image: none;
  color: var(--fg-body);
  box-shadow: var(--shadow-tight);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-composer-chip .canvas-select-chip__option,
  .canvas-select-chip__option
) {
  border: 0 !important;
  border-radius: var(--radius-sm) !important;
  background: transparent !important;
  color: var(--fg-muted) !important;
  box-shadow: none !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-composer-chip .canvas-select-chip__option:hover,
  .studio-canvas-composer-chip .canvas-select-chip__option.is-active,
  .canvas-select-chip__option:hover,
  .canvas-select-chip__option.is-active
) {
  background: var(--accent-muted) !important;
  color: var(--accent) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .canvas-select-chip__option-dot {
  background: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__glyph span,
  .studio-canvas-text-node__connector span,
  .studio-canvas-image-node__connector span,
  .studio-canvas-video-node__connector span
) {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xs);
  background: var(--bg-inset);
  color: var(--fg-body);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-text-node__connector.is-linking span,
  .studio-canvas-image-node__connector.is-linking span,
  .studio-canvas-video-node__connector.is-linking span
) {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--dg-button-text);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-node-links path {
  stroke: rgba(var(--accent-rgb), 0.5);
  filter: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-node-links circle {
  fill: var(--accent);
  stroke: var(--bg-elevated);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-selection-box {
  border: 1px dashed var(--accent);
  background: rgba(var(--accent-rgb), 0.12);
  background-image: none;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-node-resize-handle {
  border: 1px solid var(--accent);
  border-radius: var(--radius-xs);
  background: var(--accent);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-node-resize-handle::before,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-node-resize-handle::after {
  background: var(--dg-button-text);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-save-asset {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-save-asset__placeholder,
  .studio-canvas-save-asset__select,
  .studio-canvas-save-asset__existing-grid button
) {
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-inset);
  color: var(--fg-body);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-save-asset__existing-grid span {
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-node,
  .studio-canvas-image-node,
  .studio-canvas-video-node,
  .studio-canvas-text-composer,
  .studio-canvas-image-composer,
  .studio-canvas-video-composer,
  .studio-canvas-context-menu,
  .studio-canvas-node-context-menu,
  .studio-canvas-add-node-menu,
  .studio-canvas-save-asset,
  .canvas-select-chip
) :is(
  button,
  input,
  textarea,
  label,
  p,
  span,
  strong,
  small,
  kbd,
  em,
  .anticon,
  svg
) {
  color: inherit;
  text-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-node__card,
  .studio-canvas-image-node__card,
  .studio-canvas-video-node__preview,
  .studio-canvas-text-composer,
  .studio-canvas-image-composer,
  .studio-canvas-video-composer,
  .studio-canvas-context-menu,
  .studio-canvas-node-context-menu,
  .studio-canvas-add-node-menu,
  .studio-canvas-save-asset__modal,
  .studio-canvas-save-asset__cover-menu,
  .studio-canvas-save-asset__select-menu,
  .canvas-select-chip__dropdown
) {
  color: var(--fg-body) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-node__title,
  .studio-canvas-image-node__title,
  .studio-canvas-video-node__title,
  .studio-canvas-text-node__suggestions > span,
  .studio-canvas-image-node__placeholder,
  .studio-canvas-image-node__placeholder-actions span,
  .studio-canvas-video-node__play,
  .studio-canvas-text-composer__footer span,
  .studio-canvas-image-composer__footer span,
  .studio-canvas-video-composer__footer span,
  .studio-canvas-text-composer__model-menu-copy small,
  .studio-canvas-text-composer__model-menu em,
  .studio-canvas-node-context-menu kbd,
  .studio-canvas-node-context-menu__hint,
  .studio-canvas-add-node-menu__head small,
  .studio-canvas-add-node-menu__title,
  .studio-canvas-save-asset__label,
  .studio-canvas-save-asset__form label > span,
  .studio-canvas-save-asset__existing-title,
  .studio-canvas-save-asset__existing-grid span,
  .studio-canvas-save-asset__empty,
  .canvas-select-chip__value,
  .canvas-select-chip__arrow
) {
  color: var(--fg-muted) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-node__suggestions button,
  .studio-canvas-image-node__placeholder-actions button,
  .studio-canvas-text-composer__footer button,
  .studio-canvas-image-composer__footer button,
  .studio-canvas-video-composer__tabs button,
  .studio-canvas-video-composer__tools button,
  .studio-canvas-video-composer__footer button,
  .studio-canvas-image-composer__tools button,
  .studio-canvas-context-menu button,
  .studio-canvas-node-context-menu button,
  .studio-canvas-add-node-menu button,
  .studio-canvas-save-asset__head button,
  .studio-canvas-save-asset__cover-menu button,
  .studio-canvas-save-asset__cover-library button,
  .studio-canvas-save-asset__select-menu button,
  .studio-canvas-save-asset__existing-grid button,
  .canvas-select-chip__trigger,
  .canvas-select-chip__option,
  .react-flow__controls button
) {
  color: var(--fg-body) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-composer__send,
  .studio-canvas-image-composer__footer .studio-canvas-text-composer__send,
  .studio-canvas-video-composer__footer > button:last-child,
  .studio-canvas-save-asset__create
) {
  color: var(--dg-button-text) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-add-node-menu__icon,
  .studio-canvas-add-node-menu__badge,
  .studio-canvas-text-composer__model-mark,
  .studio-canvas-text-composer__model-menu-icon,
  .canvas-select-chip__option-dot
) {
  color: var(--accent) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas .canvas-select-chip__option > span:not(.canvas-select-chip__option-dot) {
  color: currentColor !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-composer__state,
  .studio-canvas-image-composer__state,
  .studio-canvas-video-composer__state
) {
  color: var(--fg-muted) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-composer__state.is-success,
  .studio-canvas-image-composer__state.is-success,
  .studio-canvas-video-composer__state.is-success
) {
  color: #6fdc96 !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-composer__state.is-error,
  .studio-canvas-image-composer__state.is-error,
  .studio-canvas-video-composer__state.is-error
) {
  color: #ff8f8f !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-add-node-menu button:hover:not(:disabled),
  .studio-canvas-text-composer__model-menu button:hover,
  .studio-canvas-text-composer__model-menu button.is-selected,
  .canvas-select-chip__option:hover,
  .canvas-select-chip__option.is-active
) {
  color: var(--accent) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .canvas-select-chip__option:hover,
  .canvas-select-chip__option.is-active
) > span:not(.canvas-select-chip__option-dot) {
  color: var(--accent) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-add-node-menu button:hover:not(:disabled) .studio-canvas-add-node-menu__icon,
  .studio-canvas-text-node__connector.is-linking span,
  .studio-canvas-image-node__connector.is-linking span,
  .studio-canvas-video-node__connector.is-linking span
) {
  color: var(--dg-button-text) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas .studio-canvas-node-context-menu__hint {
  border: 1px solid var(--border-default) !important;
  border-radius: var(--radius-xs) !important;
  background: var(--bg-inset) !important;
  color: var(--fg-muted) !important;
  box-shadow: none !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page [hidden] {
  display: none !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__mode-tabs,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__feature-tools,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__settings {
  position: static;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__mode-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__feature-tools {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__mode-tabs button,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__feature-tools button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0 !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 10px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 12px !important;
  line-height: 1;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__mode-tabs button:hover,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__feature-tools button:hover {
  border-color: rgba(var(--accent-rgb), 0.28) !important;
  background: var(--bg-hover) !important;
  color: var(--accent) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__mode-tabs button.is-active,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__feature-tools button.is-active {
  border-color: rgba(var(--accent-rgb), 0.36) !important;
  background: var(--accent-muted) !important;
  color: var(--accent) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer textarea {
  height: 84px;
  min-height: 84px;
  padding: 12px 12px 4px;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__settings {
  display: grid !important;
  grid-template-columns: minmax(150px, 1fr) minmax(76px, 0.5fr) minmax(76px, 0.5fr) minmax(58px, 0.35fr) auto auto;
  align-items: center;
  gap: 8px;
  min-height: 38px;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__settings .studio-canvas-composer-chip {
  min-width: 0;
  width: 100%;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__settings .canvas-select-chip__trigger {
  width: 100% !important;
  height: 36px !important;
  min-height: 36px !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__settings > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  color: var(--fg-muted) !important;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__settings > button {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  margin-left: 0 !important;
}

@media (max-width: 900px) {
  .web-shell[data-ui-theme="dark-green"] .auth-page {
    grid-template-columns: 1fr;
    grid-template-rows: 180px minmax(0, 1fr);
    overflow-y: auto;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__form-panel {
    align-items: flex-start;
    padding: 22px 20px 36px;
    border-top: 1px solid var(--border-weak);
    border-left: 0;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__video-overlay {
    align-items: flex-start;
    justify-content: center;
    padding: 22px 24px;
    text-align: left;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__showcase-content {
    gap: 9px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__brand {
    font-size: 34px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__tagline {
    font-size: 15px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__showcase-stats {
    display: none;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__form-inner {
    max-width: 520px;
    margin: 0 auto;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .web-shell[data-ui-theme="dark-green"] .auth-page {
    grid-template-rows: 132px minmax(0, 1fr);
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__video-overlay {
    padding: 16px 18px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__brand-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__brand {
    font-size: 28px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__tagline {
    font-size: 13px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__features {
    gap: 6px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__features span {
    padding: 4px 8px;
    font-size: 11px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__form-panel {
    padding: 14px 14px 28px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__form-inner {
    gap: 16px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__logo {
    width: 46px;
    height: 46px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__title {
    font-size: 21px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__auth-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__auth-tabs button {
    min-height: 38px;
    padding: 0 4px;
    font-size: 10px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__auth-tabs button .anticon {
    font-size: 13px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__field input,
  .web-shell[data-ui-theme="dark-green"] .auth-page__sms-btn {
    min-height: 42px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__sms-row {
    gap: 8px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__sms-btn {
    padding: 0 10px;
    font-size: 12px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__body {
    width: min(100% - 28px, 1200px);
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__main-tabs {
    overflow-x: auto;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__main-tabs button {
    flex: 0 0 auto;
    padding: 10px 14px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__list-bar,
  .web-shell[data-ui-theme="dark-green"] .profile-page__upload-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .web-shell[data-ui-theme="dark-green"] .web-topbar {
    flex: 0 0 auto;
    min-height: 56px;
    padding: 8px 12px;
  }

  .web-shell[data-ui-theme="dark-green"] .web-topbar__actions {
    gap: 6px;
  }

  .web-shell[data-ui-theme="dark-green"] .notification-center__panel {
    right: clamp(-112px, -24vw, -92px);
    width: min(360px, calc(100vw - 20px));
    max-height: min(420px, calc(100dvh - 76px));
    border-radius: 14px;
  }

  .web-shell[data-ui-theme="dark-green"] .notification-center__panel::before {
    right: clamp(104px, 25vw, 124px);
  }

  .web-shell[data-ui-theme="dark-green"] .notification-center__list {
    max-height: min(344px, calc(100dvh - 150px));
  }

  .web-shell[data-ui-theme="dark-green"] :is(.creator-button, .member-button) {
    height: 32px;
    padding: 0 10px;
  }

  .web-shell[data-ui-theme="dark-green"] .community-page .workspace-page-shell__content {
    width: min(100% - 32px, 900px);
    padding: 24px 0 40px;
  }

  .web-shell[data-ui-theme="dark-green"] .community-filter-search {
    width: 100%;
    margin-left: 0;
  }

  .web-shell[data-ui-theme="dark-green"] .ai-workbench-page.is-active .wb-composer {
    padding: 0 12px 12px;
  }

  .web-shell[data-ui-theme="dark-green"] .wb-composer__content {
    border-radius: 22px;
    padding: 14px;
  }
}

.web-shell[data-ui-theme="dark-green"] .omni-commerce-page {
  --commerce-ink: #f3f5f2;
  --commerce-muted: #aeb8b1;
  --commerce-line: rgba(255, 255, 255, 0.12);
  --commerce-panel: #151719;
  --commerce-soft: #101214;
  background: #0d0d0f;
}

.web-shell[data-ui-theme="dark-green"] .omni-commerce-panel,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-band {
  background: var(--commerce-panel);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .omni-commerce-ghost-action,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-text-button,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-segmented button,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-ratio-grid button,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-filter button,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-flow-head button,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-template em,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-template,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-project {
  background: #181b1d;
}

.web-shell[data-ui-theme="dark-green"] .omni-commerce-flow-head {
  background: #151719;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-image-composer__style-button.has-style {
  border-color: rgba(var(--accent-rgb), 0.42) !important;
  background: rgba(var(--accent-rgb), 0.1) !important;
  color: var(--fg-body) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-style-picker__panel {
  border-color: var(--border-weak);
  background: var(--bg-elevated);
  color: var(--fg-body);
  box-shadow: var(--shadow-strong);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-style-picker__tabs,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-style-picker__search,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-style-picker__filters span {
  background: var(--bg-inset);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-style-picker__tabs button.is-active,
  .studio-canvas-style-picker__categories button.is-active
) {
  background: var(--accent-muted);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-style-picker__community-link {
  background: var(--accent-muted);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-image-focus-toolbar {
  border-color: var(--border-weak);
  background: rgba(8, 10, 9, 0.95);
  color: var(--fg-body);
  box-shadow: var(--shadow-tight);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-image-focus-toolbar__ratios button:hover,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-image-focus-toolbar__ratios button.is-active {
  background: var(--accent-muted);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-image-focus-toolbar__confirm {
  background: var(--accent) !important;
  color: var(--dg-button-text) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas .studio-canvas-generate-button {
  border-color: var(--border-weak) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--fg-soft) !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 0.54;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas .studio-canvas-generate-button.is-ready:not(:disabled) {
  border-color: rgba(var(--accent-rgb), 0.62) !important;
  background: var(--accent) !important;
  color: var(--dg-button-text) !important;
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.16),
    0 0 20px rgba(var(--accent-rgb), 0.28) !important;
  cursor: pointer !important;
  opacity: 1;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas .studio-canvas-generate-button[aria-busy="true"] {
  border-color: rgba(var(--accent-rgb), 0.46) !important;
  background: var(--accent) !important;
  color: var(--dg-button-text) !important;
  cursor: wait !important;
  opacity: 1;
}

/* ---- Canvas @-mention panel ---- */

.studio-canvas-text-composer__input-wrap {
  position: relative;
}

.studio-canvas-mention-panel {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 4px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-lg);
}

.studio-canvas-mention-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--fg-body);
  cursor: pointer;
  text-align: left;
}

.studio-canvas-mention-item:hover,
.studio-canvas-mention-item.is-active {
  background: var(--accent-soft);
}

.studio-canvas-mention-thumb {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-surface);
  font-size: 14px;
}

.studio-canvas-mention-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-canvas-mention-label {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-canvas-mention-token {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

@media (max-width: 900px) {
  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar {
    top: 70px;
    right: 12px;
    left: 12px;
    max-width: none;
    overflow-x: auto;
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-zoom-controls {
    bottom: 14px;
    left: 12px;
  }
}

@media (max-width: 560px) {
  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 7px;
    min-height: 82px;
    padding: 8px;
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__identity {
    grid-column: 1 / 4;
    max-width: none;
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__status,
  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__autosave-status {
    display: none;
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__rename {
    grid-column: 4;
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__recent {
    grid-column: 1;
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__export {
    grid-column: 2;
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__save {
    grid-column: 3;
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__publish {
    grid-column: 4;
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar :is(
    .studio-canvas-project-bar__rename,
    .studio-canvas-project-bar__recent,
    .studio-canvas-project-bar__export,
    .studio-canvas-project-bar__save,
    .studio-canvas-project-bar__publish
  ) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-width: 0;
    min-height: 32px;
    padding: 0 7px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 780;
    line-height: 1;
    white-space: nowrap;
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__rename::after {
    content: "编辑";
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__recent span,
  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__export span,
  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__publish span,
  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__save span {
    display: inline;
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__recent span,
  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__export span,
  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__publish span {
    width: 0;
    max-width: 0;
    overflow: hidden;
    font-size: 0;
    opacity: 0;
    pointer-events: none;
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__recent::after {
    font-size: 11px;
    content: "最近";
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__export::after {
    font-size: 11px;
    content: "导出";
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__publish::after {
    font-size: 11px;
    content: "提交";
  }

  .web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__recent em {
    display: inline-flex;
    min-width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.16);
    color: var(--accent);
    font-size: 10px;
  }
}

/* Responsive floating navigation: prevent squeeze/warp on narrow workspaces. */
.web-shell[data-ui-theme="dark-green"] .floating-nav {
  flex-shrink: 0;
  max-height: calc(100svh - 96px);
  overflow-x: visible;
  overflow-y: auto;
  scrollbar-width: none;
}

.web-shell[data-ui-theme="dark-green"] .floating-nav::-webkit-scrollbar {
  display: none;
}

.web-shell[data-ui-theme="dark-green"] .floating-nav__item,
.web-shell[data-ui-theme="dark-green"] .floating-nav__button {
  flex: 0 0 auto;
}

@media (min-width: 901px) {
  .web-shell[data-ui-theme="dark-green"] .floating-nav {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 16px;
    display: flex;
    flex-direction: column;
    width: 52px;
    transform: translateY(-50%);
  }

  .web-shell[data-ui-theme="dark-green"] .floating-nav__item,
  .web-shell[data-ui-theme="dark-green"] .floating-nav__button {
    width: 40px;
  }

  .web-shell[data-ui-theme="dark-green"] .floating-nav__button {
    height: 40px;
  }
}

@media (max-width: 900px) {
  .web-shell[data-ui-theme="dark-green"] {
    --dg-mobile-nav-height: 58px;
    --dg-mobile-nav-gap: 12px;
    --dg-mobile-nav-space: calc(var(--dg-mobile-nav-height) + var(--dg-mobile-nav-gap));
  }

  .web-shell[data-ui-theme="dark-green"] .web-topbar {
    z-index: 72;
  }

  .web-shell[data-ui-theme="dark-green"] .web-shell__content,
  .web-shell[data-ui-theme="dark-green"] .web-shell__page {
    min-height: 0;
    padding-bottom: 0;
  }

  .web-shell[data-ui-theme="dark-green"] .web-shell__page {
    overflow: auto;
  }

  .web-shell[data-ui-theme="dark-green"]:not([data-view="home"]):not([data-view="login"]):not([data-view="workbench"]):not([data-view="agent"]):not([data-view="avatarConsole"]) .web-shell__page {
    padding-top: var(--dg-mobile-nav-space);
  }

  .web-shell[data-ui-theme="dark-green"] .profile-popover {
    position: fixed;
    top: calc(56px + var(--dg-mobile-nav-space) + env(safe-area-inset-top, 0px));
    right: 12px;
    z-index: 120;
    width: min(288px, calc(100vw - 24px));
    max-height: calc(100svh - 56px - var(--dg-mobile-nav-space) - 24px);
    overflow-y: auto;
    transform-origin: top right;
  }

  .web-shell[data-ui-theme="dark-green"] .floating-nav {
    top: calc(56px + env(safe-area-inset-top, 0px));
    z-index: 50;
    right: 12px;
    bottom: auto;
    left: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    max-width: calc(100vw - 24px);
    max-height: none;
    min-height: 58px;
    gap: 6px;
    padding: 8px;
    border-radius: 0 0 18px 18px;
    transform: none;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    background: rgba(14, 14, 16, 0.94);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  }

  .web-shell[data-ui-theme="dark-green"] .floating-nav.is-expanded,
  .web-shell[data-ui-theme="dark-green"] .floating-nav.is-browse {
    width: auto;
    max-width: calc(100vw - 24px);
  }

  .web-shell[data-ui-theme="dark-green"] .floating-nav__item {
    width: 42px;
    min-width: 42px;
  }

  .web-shell[data-ui-theme="dark-green"] .floating-nav__button {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 13px;
    font-size: 16px;
  }

  .web-shell[data-ui-theme="dark-green"] .floating-nav__label,
  .web-shell[data-ui-theme="dark-green"] .floating-nav__button.is-active .floating-nav__label {
    display: none;
  }

  .web-shell[data-ui-theme="dark-green"] .floating-nav__button.has-divider {
    margin-top: 0;
  }

  .web-shell[data-ui-theme="dark-green"] .floating-nav__button.has-divider::before {
    display: none;
  }

  .web-shell[data-ui-theme="dark-green"] .floating-nav__submenu {
    top: calc(100% + 8px);
    bottom: auto;
    left: 50%;
    transform: translate(-50%, -4px);
  }

  .web-shell[data-ui-theme="dark-green"] .floating-nav__item.has-children.is-submenu-open .floating-nav__submenu {
    transform: translate(-50%, 0);
  }

  .web-shell[data-ui-theme="dark-green"][data-view="workbench"] .ai-workbench-page.is-active .ai-chat-messages-surface {
    padding-top: 86px;
  }
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-node-resize-handle::before,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-node-resize-handle::after {
  background: var(--dg-button-text);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-save-asset {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-save-asset__placeholder,
  .studio-canvas-save-asset__select,
  .studio-canvas-save-asset__existing-grid button
) {
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-inset);
  color: var(--fg-body);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-save-asset__existing-grid span {
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-node,
  .studio-canvas-image-node,
  .studio-canvas-video-node,
  .studio-canvas-text-composer,
  .studio-canvas-image-composer,
  .studio-canvas-video-composer,
  .studio-canvas-context-menu,
  .studio-canvas-node-context-menu,
  .studio-canvas-add-node-menu,
  .studio-canvas-save-asset,
  .canvas-select-chip
) :is(
  button,
  input,
  textarea,
  label,
  p,
  span,
  strong,
  small,
  kbd,
  em,
  .anticon,
  svg
) {
  color: inherit;
  text-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-node__card,
  .studio-canvas-image-node__card,
  .studio-canvas-video-node__preview,
  .studio-canvas-text-composer,
  .studio-canvas-image-composer,
  .studio-canvas-video-composer,
  .studio-canvas-context-menu,
  .studio-canvas-node-context-menu,
  .studio-canvas-add-node-menu,
  .studio-canvas-save-asset__modal,
  .studio-canvas-save-asset__cover-menu,
  .studio-canvas-save-asset__select-menu,
  .canvas-select-chip__dropdown
) {
  color: var(--fg-body) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-node__title,
  .studio-canvas-image-node__title,
  .studio-canvas-video-node__title,
  .studio-canvas-text-node__suggestions > span,
  .studio-canvas-image-node__placeholder,
  .studio-canvas-image-node__placeholder-actions span,
  .studio-canvas-video-node__play,
  .studio-canvas-text-composer__footer span,
  .studio-canvas-image-composer__footer span,
  .studio-canvas-video-composer__footer span,
  .studio-canvas-text-composer__model-menu-copy small,
  .studio-canvas-text-composer__model-menu em,
  .studio-canvas-node-context-menu kbd,
  .studio-canvas-node-context-menu__hint,
  .studio-canvas-add-node-menu__head small,
  .studio-canvas-add-node-menu__title,
  .studio-canvas-save-asset__label,
  .studio-canvas-save-asset__form label > span,
  .studio-canvas-save-asset__existing-title,
  .studio-canvas-save-asset__existing-grid span,
  .studio-canvas-save-asset__empty,
  .canvas-select-chip__value,
  .canvas-select-chip__arrow
) {
  color: var(--fg-muted) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-node__suggestions button,
  .studio-canvas-image-node__placeholder-actions button,
  .studio-canvas-text-composer__footer button,
  .studio-canvas-image-composer__footer button,
  .studio-canvas-video-composer__tabs button,
  .studio-canvas-video-composer__tools button,
  .studio-canvas-video-composer__footer button,
  .studio-canvas-image-composer__tools button,
  .studio-canvas-context-menu button,
  .studio-canvas-node-context-menu button,
  .studio-canvas-add-node-menu button,
  .studio-canvas-save-asset__head button,
  .studio-canvas-save-asset__cover-menu button,
  .studio-canvas-save-asset__cover-library button,
  .studio-canvas-save-asset__select-menu button,
  .studio-canvas-save-asset__existing-grid button,
  .canvas-select-chip__trigger,
  .canvas-select-chip__option,
  .react-flow__controls button
) {
  color: var(--fg-body) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-composer__send,
  .studio-canvas-image-composer__footer .studio-canvas-text-composer__send,
  .studio-canvas-video-composer__footer > button:last-child,
  .studio-canvas-save-asset__create
) {
  color: var(--dg-button-text) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-add-node-menu__icon,
  .studio-canvas-add-node-menu__badge,
  .studio-canvas-text-composer__model-mark,
  .studio-canvas-text-composer__model-menu-icon,
  .canvas-select-chip__option-dot
) {
  color: var(--accent) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas .canvas-select-chip__option > span:not(.canvas-select-chip__option-dot) {
  color: currentColor !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-composer__state,
  .studio-canvas-image-composer__state,
  .studio-canvas-video-composer__state
) {
  color: var(--fg-muted) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-composer__state.is-success,
  .studio-canvas-image-composer__state.is-success,
  .studio-canvas-video-composer__state.is-success
) {
  color: #6fdc96 !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-text-composer__state.is-error,
  .studio-canvas-image-composer__state.is-error,
  .studio-canvas-video-composer__state.is-error
) {
  color: #ff8f8f !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-add-node-menu button:hover:not(:disabled),
  .studio-canvas-text-composer__model-menu button:hover,
  .studio-canvas-text-composer__model-menu button.is-selected,
  .canvas-select-chip__option:hover,
  .canvas-select-chip__option.is-active
) {
  color: var(--accent) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .canvas-select-chip__option:hover,
  .canvas-select-chip__option.is-active
) > span:not(.canvas-select-chip__option-dot) {
  color: var(--accent) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas :is(
  .studio-canvas-add-node-menu button:hover:not(:disabled) .studio-canvas-add-node-menu__icon,
  .studio-canvas-text-node__connector.is-linking span,
  .studio-canvas-image-node__connector.is-linking span,
  .studio-canvas-video-node__connector.is-linking span
) {
  color: var(--dg-button-text) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas .studio-canvas-node-context-menu__hint {
  border: 1px solid var(--border-default) !important;
  border-radius: var(--radius-xs) !important;
  background: var(--bg-inset) !important;
  color: var(--fg-muted) !important;
  box-shadow: none !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page [hidden] {
  display: none !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__mode-tabs,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__feature-tools,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__settings {
  position: static;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__mode-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__feature-tools {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__mode-tabs button,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__feature-tools button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0 !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 10px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 12px !important;
  line-height: 1;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__mode-tabs button:hover,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__feature-tools button:hover {
  border-color: rgba(var(--accent-rgb), 0.28) !important;
  background: var(--bg-hover) !important;
  color: var(--accent) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__mode-tabs button.is-active,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__feature-tools button.is-active {
  border-color: rgba(var(--accent-rgb), 0.36) !important;
  background: var(--accent-muted) !important;
  color: var(--accent) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer textarea {
  height: 84px;
  min-height: 84px;
  padding: 12px 12px 4px;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__settings {
  display: grid !important;
  grid-template-columns: minmax(150px, 1fr) minmax(76px, 0.5fr) minmax(76px, 0.5fr) minmax(58px, 0.35fr) auto auto;
  align-items: center;
  gap: 8px;
  min-height: 38px;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__settings .studio-canvas-composer-chip {
  min-width: 0;
  width: 100%;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__settings .canvas-select-chip__trigger {
  width: 100% !important;
  height: 36px !important;
  min-height: 36px !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__settings > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  color: var(--fg-muted) !important;
  white-space: nowrap;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-video-composer__settings > button {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  margin-left: 0 !important;
}

@media (max-width: 900px) {
  .web-shell[data-ui-theme="dark-green"] .auth-page {
    grid-template-columns: 1fr;
    grid-template-rows: 180px minmax(0, 1fr);
    overflow-y: auto;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__form-panel {
    align-items: flex-start;
    padding: 22px 20px 36px;
    border-top: 1px solid var(--border-weak);
    border-left: 0;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__video-overlay {
    align-items: flex-start;
    justify-content: center;
    padding: 22px 24px;
    text-align: left;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__showcase-content {
    gap: 9px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__brand {
    font-size: 34px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__tagline {
    font-size: 15px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__showcase-stats {
    display: none;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__form-inner {
    max-width: 520px;
    margin: 0 auto;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .web-shell[data-ui-theme="dark-green"] .auth-page {
    grid-template-rows: 132px minmax(0, 1fr);
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__video-overlay {
    padding: 16px 18px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__brand-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__brand {
    font-size: 28px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__tagline {
    font-size: 13px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__features {
    gap: 6px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__features span {
    padding: 4px 8px;
    font-size: 11px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__form-panel {
    padding: 14px 14px 28px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__form-inner {
    gap: 16px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__logo {
    width: 46px;
    height: 46px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__title {
    font-size: 21px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__auth-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__auth-tabs button {
    min-height: 38px;
    padding: 0 4px;
    font-size: 10px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__auth-tabs button .anticon {
    font-size: 13px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__field input,
  .web-shell[data-ui-theme="dark-green"] .auth-page__sms-btn {
    min-height: 42px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__sms-row {
    gap: 8px;
  }

  .web-shell[data-ui-theme="dark-green"] .auth-page__sms-btn {
    padding: 0 10px;
    font-size: 12px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__body {
    width: min(100% - 28px, 1200px);
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__main-tabs {
    overflow-x: auto;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__main-tabs button {
    flex: 0 0 auto;
    padding: 10px 14px;
  }

  .web-shell[data-ui-theme="dark-green"] .profile-page__list-bar,
  .web-shell[data-ui-theme="dark-green"] .profile-page__upload-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .web-shell[data-ui-theme="dark-green"] .web-topbar {
    flex: 0 0 auto;
    min-height: 56px;
    padding: 8px 12px;
  }

  .web-shell[data-ui-theme="dark-green"] .web-topbar__actions {
    gap: 6px;
  }

  .web-shell[data-ui-theme="dark-green"] :is(.creator-button, .member-button) {
    height: 32px;
    padding: 0 10px;
  }

  .web-shell[data-ui-theme="dark-green"] .community-page .workspace-page-shell__content {
    width: min(100% - 32px, 900px);
    padding: 24px 0 40px;
  }

  .web-shell[data-ui-theme="dark-green"] .community-filter-search {
    width: 100%;
    margin-left: 0;
  }

  .web-shell[data-ui-theme="dark-green"] .ai-workbench-page.is-active .wb-composer {
    padding: 0 12px 12px;
  }

  .web-shell[data-ui-theme="dark-green"] .wb-composer__content {
    border-radius: 22px;
    padding: 14px;
  }
}

/* Ecommerce final polish: keep selected option states refined in the dark-green theme. */
.web-shell[data-ui-theme="dark-green"][data-view="ecommerce"] .product-clone-page[data-tool="clone"] :is(
  .clone-ai-module-list button,
  .clone-ai-model-scene-grid button,
  .clone-ai-replicate-levels button,
  .clone-ai-video-options button
),
.web-shell[data-ui-theme="dark-green"][data-view="ecommerce"] .product-clone-page:is([data-tool="set"], [data-tool="detail"], [data-tool="wear"]) :is(
  .product-set-structure-grid button,
  .product-detail-module-grid button,
  .product-clone-scene-grid button,
  .product-clone-ratio-row button
) {
  position: relative;
  overflow: hidden;
}

.web-shell[data-ui-theme="dark-green"][data-view="ecommerce"] .product-clone-page[data-tool="clone"] :is(
  .clone-ai-module-list button.is-active,
  .clone-ai-model-scene-grid button.is-active,
  .clone-ai-replicate-levels button.is-active,
  .clone-ai-video-options button.is-active
),
.web-shell[data-ui-theme="dark-green"][data-view="ecommerce"] .product-clone-page:is([data-tool="set"], [data-tool="detail"], [data-tool="wear"]) :is(
  .product-set-structure-grid button.is-active,
  .product-detail-module-grid button.is-active,
  .product-clone-scene-grid button.is-active,
  .product-clone-ratio-row button.is-active
) {
  border-color: rgba(var(--accent-rgb), 0.48);
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-rgb), 0.035)),
    rgba(255, 255, 255, 0.032);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"][data-view="ecommerce"] .product-clone-page[data-tool="clone"] :is(
  .clone-ai-module-list button.is-active,
  .clone-ai-model-scene-grid button.is-active,
  .clone-ai-replicate-levels button.is-active,
  .clone-ai-video-options button.is-active
)::before,
.web-shell[data-ui-theme="dark-green"][data-view="ecommerce"] .product-clone-page:is([data-tool="set"], [data-tool="detail"], [data-tool="wear"]) :is(
  .product-set-structure-grid button.is-active,
  .product-detail-module-grid button.is-active,
  .product-clone-scene-grid button.is-active,
  .product-clone-ratio-row button.is-active
)::before {
  position: absolute;
  inset: 8px auto 8px 0;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.web-shell[data-ui-theme="dark-green"][data-view="ecommerce"] .product-clone-page[data-tool="clone"] .clone-ai-module-list button.is-active span,
.web-shell[data-ui-theme="dark-green"][data-view="ecommerce"] .product-clone-page:is([data-tool="set"], [data-tool="detail"], [data-tool="wear"]) :is(
  .product-set-structure-grid button.is-active em,
  .product-detail-module-grid button.is-active span
) {
  color: rgba(232, 240, 235, 0.62);
}

/* Canvas SaaS polish: refined production-tool surfaces without changing canvas behavior. */
.web-shell[data-ui-theme="dark-green"][data-view="canvas"] .web-shell__content,
.web-shell[data-ui-theme="dark-green"][data-view="canvas"] .web-shell__page {
  padding-bottom: 0;
}

.web-shell[data-ui-theme="dark-green"][data-view="canvas"] .web-shell__page {
  overflow: hidden;
}

.web-shell[data-ui-theme="dark-green"][data-view="canvas"] .canvas-page,
.web-shell[data-ui-theme="dark-green"][data-view="canvas"] .canvas-page .workspace-page-shell__content,
.web-shell[data-ui-theme="dark-green"][data-view="canvas"] .canvas-page .studio-tool-layout--canvas,
.web-shell[data-ui-theme="dark-green"][data-view="canvas"] .canvas-page .studio-canvas {
  min-height: 0;
  height: 100%;
}

.web-shell[data-ui-theme="dark-green"][data-view="canvas"] .canvas-page .studio-tool-layout--canvas-empty {
  grid-template-rows: minmax(0, 1fr);
}

.web-shell[data-ui-theme="dark-green"][data-view="canvas"] .canvas-page .studio-canvas {
  background-image:
    radial-gradient(circle at 18% 8%, rgba(var(--accent-rgb), 0.055), transparent 30%),
    radial-gradient(circle at 72% 88%, rgba(255, 255, 255, 0.035), transparent 28%),
    radial-gradient(
      circle,
      rgba(148, 163, 184, 0.34) 0 var(--canvas-bg-dot, 1.35px),
      transparent calc(var(--canvas-bg-dot, 1.35px) + 0.55px)
    );
  background-color: var(--dg-page);
  background-position:
    center,
    center,
    var(--canvas-bg-x, 0px) var(--canvas-bg-y, 0px);
  background-size:
    auto,
    auto,
    var(--canvas-bg-size, 24px) var(--canvas-bg-size, 24px);
  color: var(--fg-body);
}

.web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar,
.web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-zoom-controls {
  border-color: rgba(255, 255, 255, 0.105);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(17, 20, 21, 0.88);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}

.web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar {
  min-height: 42px;
  border-radius: 13px;
}

.web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__name {
  color: var(--fg-strong);
  font-size: 13px;
  font-weight: 820;
}

.web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__status,
.web-shell[data-ui-theme="dark-green"][data-view="canvas"] .studio-canvas-project-bar__autosave-status {
  color: var(--fg-muted);
}

.web-shell[data-ui-theme="dark-green"] .omni-commerce-page {
  --commerce-ink: #f3f5f2;
  --commerce-muted: #aeb8b1;
  --commerce-line: rgba(255, 255, 255, 0.12);
  --commerce-panel: #151719;
  --commerce-soft: #101214;
  background: #0d0d0f;
}

.web-shell[data-ui-theme="dark-green"] .omni-commerce-panel,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-band {
  background: var(--commerce-panel);
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .omni-commerce-ghost-action,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-text-button,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-segmented button,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-ratio-grid button,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-filter button,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-flow-head button,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-template em,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-template,
.web-shell[data-ui-theme="dark-green"] .omni-commerce-project {
  background: #181b1d;
}

.web-shell[data-ui-theme="dark-green"] .omni-commerce-flow-head {
  background: #151719;
  box-shadow: none;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-image-composer__style-button.has-style {
  border-color: rgba(var(--accent-rgb), 0.42) !important;
  background: rgba(var(--accent-rgb), 0.1) !important;
  color: var(--fg-body) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-style-picker__panel {
  border-color: var(--border-weak);
  background: var(--bg-elevated);
  color: var(--fg-body);
  box-shadow: var(--shadow-strong);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-style-picker__tabs,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-style-picker__search,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-style-picker__filters span {
  background: var(--bg-inset);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page :is(
  .studio-canvas-style-picker__tabs button.is-active,
  .studio-canvas-style-picker__categories button.is-active
) {
  background: var(--accent-muted);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-style-picker__community-link {
  background: var(--accent-muted);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-image-focus-toolbar {
  border-color: var(--border-weak);
  background: rgba(8, 10, 9, 0.95);
  color: var(--fg-body);
  box-shadow: var(--shadow-tight);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-image-focus-toolbar__ratios button:hover,
.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-image-focus-toolbar__ratios button.is-active {
  background: var(--accent-muted);
  color: var(--accent);
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas-image-focus-toolbar__confirm {
  background: var(--accent) !important;
  color: var(--dg-button-text) !important;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas .studio-canvas-generate-button {
  border-color: var(--border-weak) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--fg-soft) !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 0.54;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas .studio-canvas-generate-button.is-ready:not(:disabled) {
  border-color: rgba(var(--accent-rgb), 0.62) !important;
  background: var(--accent) !important;
  color: var(--dg-button-text) !important;
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.16),
    0 0 20px rgba(var(--accent-rgb), 0.28) !important;
  cursor: pointer !important;
  opacity: 1;
}

.web-shell[data-ui-theme="dark-green"] .canvas-page .studio-canvas .studio-canvas-generate-button[aria-busy="true"] {
  border-color: rgba(var(--accent-rgb), 0.46) !important;
  background: var(--accent) !important;
  color: var(--dg-button-text) !important;
  cursor: wait !important;
  opacity: 1;
}

/* ---- Canvas @-mention panel ---- */

.studio-canvas-text-composer__input-wrap {
  position: relative;
}

.studio-canvas-mention-panel {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 4px;
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-lg);
}

.studio-canvas-mention-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--fg-body);
  cursor: pointer;
  text-align: left;
}

.studio-canvas-mention-item:hover,
.studio-canvas-mention-item.is-active {
  background: var(--accent-soft);
}

.studio-canvas-mention-thumb {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-surface);
  font-size: 14px;
}

.studio-canvas-mention-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-canvas-mention-label {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-canvas-mention-token {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
