:root,
html[data-ui-theme="soft-light"] {
  --fw-bg: #f8f9fb;
  --fw-fg: #0f1419;
  --fw-card: #ffffff;
  --fw-card-muted: #f8fafc;
  --fw-border: #e2e8f0;
  --fw-muted: #f1f5f9;
  --fw-muted-fg: #64748b;
  --fw-primary: #334155;
  --fw-primary-fg: #ffffff;
  --fw-secondary: #e2e8f0;
  --fw-secondary-fg: #334155;
  --fw-accent: #0ea5e9;
  --fw-radius: 8px;
  --fw-radius-lg: 12px;
  --fw-sidebar: #ffffff;
  --fw-sidebar-fg: #475569;
  --fw-sidebar-accent: #f8fafc;
  --fw-sidebar-border: #e2e8f0;
  --fw-shadow: 0 1px 2px rgba(15, 20, 25, 0.04);
  --fw-font: "Avenir Next", "SF Pro Text", "Segoe UI", "Noto Sans", sans-serif;
}

html[data-ui-theme="soft-dark"] {
  --fw-bg: #1f2937;
  --fw-fg: #f8fafc;
  --fw-card: #253142;
  --fw-card-muted: #2b384c;
  --fw-border: #3b4a61;
  --fw-muted: #334155;
  --fw-muted-fg: #94a3b8;
  --fw-primary: #e2e8f0;
  --fw-primary-fg: #0f172a;
  --fw-secondary: #334155;
  --fw-secondary-fg: #e2e8f0;
  --fw-accent: #38bdf8;
  --fw-radius: 8px;
  --fw-radius-lg: 12px;
  --fw-sidebar: #1e293b;
  --fw-sidebar-fg: #cbd5e1;
  --fw-sidebar-accent: #233247;
  --fw-sidebar-border: #334155;
  --fw-shadow: none;
  --fw-font: "Avenir Next", "SF Pro Text", "Segoe UI", "Noto Sans", sans-serif;
}

html[data-ui-theme] {
  font-size: 16px;
}

html[data-ui-theme] body {
  background: var(--fw-bg) !important;
  color: var(--fw-fg) !important;
  font-family: var(--fw-font) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

html[data-ui-theme] .builder-shell,
html[data-ui-theme] .portal-shell,
html[data-ui-theme] #container.admin-builder-shell {
  min-height: 100vh;
  background: var(--fw-bg) !important;
}

html[data-ui-theme] .builder-sidebar-nav,
html[data-ui-theme] .portal-sidebar,
html[data-ui-theme] .admin-shell-sidebar {
  background: var(--fw-sidebar) !important;
  border-right: 1px solid var(--fw-sidebar-border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: var(--fw-sidebar-fg) !important;
}

html[data-ui-theme] .builder-sidebar-nav,
html[data-ui-theme] .admin-shell-sidebar {
  width: 320px;
  padding: 24px 16px !important;
}

html[data-ui-theme] .portal-sidebar {
  width: 288px;
  padding: 24px 16px !important;
}

html[data-ui-theme] .brand,
html[data-ui-theme] .brand--sidebar {
  display: flex;
  align-items: center;
  gap: 12px;
}

html[data-ui-theme] .brand__mark {
  width: 32px !important;
  height: 32px !important;
  border-radius: var(--fw-radius) !important;
  background: var(--fw-primary) !important;
  color: var(--fw-primary-fg) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

html[data-ui-theme] .brand__text strong,
html[data-ui-theme] .brand__copy strong {
  color: var(--fw-fg) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

html[data-ui-theme] .brand__text small,
html[data-ui-theme] .brand__copy small {
  color: var(--fw-muted-fg) !important;
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

html[data-ui-theme] .topbar,
html[data-ui-theme] .site-header,
html[data-ui-theme] #header.admin-topbar {
  background: var(--fw-card) !important;
  border-bottom: 1px solid var(--fw-border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-ui-theme] .topbar__inner,
html[data-ui-theme] .site-header__inner {
  min-height: 64px !important;
  gap: 16px !important;
  align-items: center !important;
}

html[data-ui-theme] .page-crumbs {
  color: var(--fw-muted-fg) !important;
  font-size: 0.875rem !important;
  line-height: 1.4 !important;
  margin: 0 0 4px !important;
}

html[data-ui-theme] .page-title-inline {
  color: var(--fw-fg) !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

html[data-ui-theme] .nav,
html[data-ui-theme] .site-nav,
html[data-ui-theme] #user-tools.admin-topbar__tools {
  gap: 8px !important;
  align-items: center !important;
}

html[data-ui-theme] .theme-switch,
html[data-ui-theme] .palette-switch {
  gap: 8px !important;
  color: var(--fw-muted-fg) !important;
}

html[data-ui-theme] .theme-switch > span,
html[data-ui-theme] .palette-switch__label {
  color: var(--fw-muted-fg) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html[data-ui-theme] .nav__link,
html[data-ui-theme] .site-nav a,
html[data-ui-theme] .role-switch-link,
html[data-ui-theme] .logout-btn,
html[data-ui-theme] .lang-btn,
html[data-ui-theme] .lang-switch__btn,
html[data-ui-theme] .palette-switch__select,
html[data-ui-theme] .theme-switch select {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 16px !important;
  border-radius: var(--fw-radius) !important;
  border: 1px solid var(--fw-border) !important;
  background: var(--fw-card) !important;
  color: var(--fw-fg) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

html[data-ui-theme] .nav__link:hover,
html[data-ui-theme] .site-nav a:hover,
html[data-ui-theme] .role-switch-link:hover,
html[data-ui-theme] .logout-btn:hover,
html[data-ui-theme] .lang-btn:hover,
html[data-ui-theme] .lang-switch__btn:hover {
  background: var(--fw-muted) !important;
  transform: none !important;
}

html[data-ui-theme] .lang-btn.is-active,
html[data-ui-theme] .lang-switch__btn.is-active {
  background: var(--fw-secondary) !important;
  border-color: var(--fw-border) !important;
  color: var(--fw-secondary-fg) !important;
}

html[data-ui-theme] .sidebar-nav,
html[data-ui-theme] .workspace-sidebar__nav,
html[data-ui-theme] .workspace-sidebar__footer {
  display: grid;
  gap: 4px;
}

html[data-ui-theme] .sidebar-nav a,
html[data-ui-theme] .workspace-nav__link,
html[data-ui-theme] .sidebar-tabs__button {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 44px !important;
  padding: 10px 12px !important;
  border-radius: var(--fw-radius) !important;
  background: transparent !important;
  border: 0 !important;
  color: var(--fw-sidebar-fg) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

html[data-ui-theme] .sidebar-nav a:hover,
html[data-ui-theme] .workspace-nav__link:hover,
html[data-ui-theme] .workspace-nav__link.is-active,
html[data-ui-theme] .sidebar-tabs__button:hover,
html[data-ui-theme] .sidebar-tabs__button.is-active {
  background: var(--fw-sidebar-accent) !important;
  color: var(--fw-primary) !important;
}

html[data-ui-theme] .nav-section-title,
html[data-ui-theme] .workspace-sidebar__caption {
  margin: 18px 8px 10px !important;
  color: var(--fw-muted-fg) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

html[data-ui-theme] .workflow-nav-step {
  border: 1px solid var(--fw-sidebar-border) !important;
  border-radius: var(--fw-radius-lg) !important;
  background: var(--fw-card) !important;
  overflow: hidden !important;
}

html[data-ui-theme] .workflow-nav-step > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 52px !important;
  padding: 14px 16px !important;
  background: transparent !important;
}

html[data-ui-theme] .workflow-nav-step__title {
  color: var(--fw-fg) !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

html[data-ui-theme] .workflow-nav-step__badge {
  min-height: 28px !important;
  padding: 0 10px !important;
  border-radius: var(--fw-radius-lg) !important;
  background: var(--fw-secondary) !important;
  color: var(--fw-secondary-fg) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
}

html[data-ui-theme] .workflow-nav-pane {
  display: grid !important;
  gap: 12px !important;
  padding: 0 16px 16px !important;
  background: transparent !important;
}

html[data-ui-theme] .workflow-nav-pane__hint {
  color: var(--fw-muted-fg) !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

html[data-ui-theme] .sidebar-app-card {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-ui-theme] .sidebar-app-card__title {
  margin: 0 2px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

html[data-ui-theme] .sidebar-app-card__title .section,
html[data-ui-theme] .sidebar-app-card__title span {
  color: var(--fw-muted-fg) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

html[data-ui-theme] .sidebar-app-card__list {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html[data-ui-theme] .sidebar-app-card__item,
html[data-ui-theme] .sidebar-quick-link__button {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 52px !important;
  padding: 12px 14px !important;
  border-radius: var(--fw-radius-lg) !important;
  border: 1px solid var(--fw-sidebar-border) !important;
  background: var(--fw-card) !important;
  box-shadow: none !important;
}

html[data-ui-theme] .sidebar-quick-link__button {
  grid-template-columns: 1fr !important;
}

html[data-ui-theme] .sidebar-app-card__main,
html[data-ui-theme] .sidebar-app-card__main a,
html[data-ui-theme] .sidebar-app-card__main span,
html[data-ui-theme] .sidebar-quick-link__label,
html[data-ui-theme] .sidebar-quick-link__desc {
  min-width: 0 !important;
  color: var(--fw-sidebar-fg) !important;
  font-size: 0.875rem !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

html[data-ui-theme] .sidebar-quick-link__desc {
  color: var(--fw-muted-fg) !important;
  margin-top: 4px !important;
}

html[data-ui-theme] .sidebar-app-card__add {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  padding: 0 12px !important;
  border-radius: var(--fw-radius-lg) !important;
  border: 1px solid var(--fw-border) !important;
  background: var(--fw-card-muted) !important;
  color: var(--fw-secondary-fg) !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}

html[data-ui-theme] .main,
html[data-ui-theme] .content,
html[data-ui-theme] .content--workspace,
html[data-ui-theme] .main.admin-main-content {
  padding: 24px !important;
  background: transparent !important;
}

html[data-ui-theme] #content h1,
html[data-ui-theme] .workspace-section-head h1,
html[data-ui-theme] .workspace-section-head h2,
html[data-ui-theme] .builder-workspace-panel__head h2,
html[data-ui-theme] .workspace-form-card__head h2,
html[data-ui-theme] .card h2,
html[data-ui-theme] .card h3 {
  color: var(--fw-fg) !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

html[data-ui-theme] #content h1,
html[data-ui-theme] .workspace-section-head h1 {
  font-size: 1.5rem !important;
  margin: 0 0 20px !important;
}

html[data-ui-theme] .module,
html[data-ui-theme] .inline-group,
html[data-ui-theme] .submit-row,
html[data-ui-theme] #changelist-form .results,
html[data-ui-theme] #changelist-filter,
html[data-ui-theme] .change-form #content-main > form,
html[data-ui-theme] .builder-workspace-panel,
html[data-ui-theme] .builder-table,
html[data-ui-theme] .builder-workspace-empty,
html[data-ui-theme] .card,
html[data-ui-theme] .project-card,
html[data-ui-theme] .auth-card,
html[data-ui-theme] .workspace-kpi-card,
html[data-ui-theme] .workspace-filterbar,
html[data-ui-theme] .workspace-table,
html[data-ui-theme] .workspace-panel,
html[data-ui-theme] .workspace-empty,
html[data-ui-theme] .workspace-banner,
html[data-ui-theme] .workspace-form-card,
html[data-ui-theme] .workspace-login-card {
  background: var(--fw-card) !important;
  border: 1px solid var(--fw-border) !important;
  border-radius: var(--fw-radius) !important;
  box-shadow: var(--fw-shadow) !important;
}

html[data-ui-theme] .module,
html[data-ui-theme] .inline-group,
html[data-ui-theme] .submit-row,
html[data-ui-theme] #changelist-form .results,
html[data-ui-theme] #changelist-filter,
html[data-ui-theme] .change-form #content-main > form,
html[data-ui-theme] .builder-workspace-panel,
html[data-ui-theme] .builder-table,
html[data-ui-theme] .card,
html[data-ui-theme] .workspace-filterbar,
html[data-ui-theme] .workspace-table,
html[data-ui-theme] .workspace-panel,
html[data-ui-theme] .workspace-form-card,
html[data-ui-theme] .workspace-login-card {
  padding: 24px !important;
}

html[data-ui-theme] .builder-workspace-panel__head,
html[data-ui-theme] .workspace-panel__head,
html[data-ui-theme] .workspace-form-card__head,
html[data-ui-theme] .workspace-section-head {
  gap: 12px !important;
}

html[data-ui-theme] .builder-workspace-panel__head p,
html[data-ui-theme] .workspace-panel__head span,
html[data-ui-theme] .workspace-form-card__head p,
html[data-ui-theme] .workspace-section-head p {
  color: var(--fw-muted-fg) !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
}

html[data-ui-theme] .workspace-table--projects table {
  table-layout: fixed !important;
}

html[data-ui-theme] .workspace-table__title {
  display: inline-block !important;
  color: var(--fw-fg) !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}

html[data-ui-theme] .workspace-table__subline {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px 10px !important;
  margin-top: 8px !important;
  color: var(--fw-muted-fg) !important;
  font-size: 0.82rem !important;
}

html[data-ui-theme] .workspace-table__muted {
  color: var(--fw-muted-fg) !important;
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
}

html[data-ui-theme] .workspace-table__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: flex-start !important;
}

html[data-ui-theme] .workspace-table__actions form {
  margin: 0 !important;
}

html[data-ui-theme] .btn--danger {
  border-color: rgba(220, 38, 38, 0.22) !important;
  color: #b91c1c !important;
}

html[data-ui-theme] .btn--danger:hover {
  background: rgba(254, 242, 242, 0.95) !important;
  border-color: rgba(220, 38, 38, 0.3) !important;
}

html[data-ui-theme] #changelist {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

html[data-ui-theme] .changelist-form-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
  min-width: 0 !important;
  grid-template-columns: none !important;
}

html[data-ui-theme] .changelist-form-container > div,
html[data-ui-theme] #changelist-form,
html[data-ui-theme] #changelist-form .results,
html[data-ui-theme] #changelist-form .results table {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

html[data-ui-theme] #changelist #changelist-filter {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  order: -1 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  align-items: flex-start !important;
  justify-self: stretch !important;
}

html[data-ui-theme] #changelist-filter h2 {
  width: 100% !important;
  margin: 0 !important;
}

html[data-ui-theme] #changelist-filter-extra-actions {
  width: 100% !important;
}

html[data-ui-theme] #changelist-filter h3 {
  margin: 0 !important;
}

html[data-ui-theme] #changelist-filter details {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid var(--fw-border) !important;
  border-radius: var(--fw-radius-lg) !important;
  background: var(--fw-card) !important;
}

html[data-ui-theme] #changelist-filter details summary {
  margin: 0 !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  list-style: none !important;
}

html[data-ui-theme] #changelist-filter details summary::-webkit-details-marker {
  display: none !important;
}

html[data-ui-theme] #changelist-filter ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

html[data-ui-theme] #changelist-filter li {
  list-style: none !important;
  margin: 0 !important;
}

html[data-ui-theme] #changelist-filter li a,
html[data-ui-theme] #changelist-filter li.selected a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px !important;
  padding: 0 12px !important;
  border: 1px solid var(--fw-border) !important;
  border-radius: 999px !important;
  background: var(--fw-card) !important;
  color: var(--fw-fg) !important;
}

html[data-ui-theme] #changelist-filter li.selected a {
  background: var(--fw-primary) !important;
  border-color: var(--fw-primary) !important;
  color: var(--fw-primary-fg) !important;
}

html[data-ui-theme] .app-projects.model-project.change-list #changelist-form .results {
  overflow-x: hidden !important;
}

html[data-ui-theme] .app-projects.model-project.change-list #result_list {
  table-layout: fixed !important;
}

html[data-ui-theme] .app-projects.model-project.change-list #result_list th,
html[data-ui-theme] .app-projects.model-project.change-list #result_list td {
  white-space: normal !important;
  word-break: break-word !important;
  vertical-align: top !important;
}

html[data-ui-theme] .app-projects.model-project.change-list #result_list .action-checkbox-column,
html[data-ui-theme] .app-projects.model-project.change-list #result_list td.action-checkbox {
  width: 42px !important;
}

html[data-ui-theme] .app-projects.model-project.change-list #result_list .column-project_card,
html[data-ui-theme] .app-projects.model-project.change-list #result_list .field-project_card {
  width: 20% !important;
}

html[data-ui-theme] .app-projects.model-project.change-list #result_list .column-manager_name,
html[data-ui-theme] .app-projects.model-project.change-list #result_list .field-manager_name,
html[data-ui-theme] .app-projects.model-project.change-list #result_list .column-event_period,
html[data-ui-theme] .app-projects.model-project.change-list #result_list .field-event_period,
html[data-ui-theme] .app-projects.model-project.change-list #result_list .column-registration_state,
html[data-ui-theme] .app-projects.model-project.change-list #result_list .field-registration_state,
html[data-ui-theme] .app-projects.model-project.change-list #result_list .column-completion_summary,
html[data-ui-theme] .app-projects.model-project.change-list #result_list .field-completion_summary {
  width: 12% !important;
}

html[data-ui-theme] .app-projects.model-project.change-list #result_list .column-project_flags,
html[data-ui-theme] .app-projects.model-project.change-list #result_list .field-project_flags {
  width: 21% !important;
}

html[data-ui-theme] .app-projects.model-project.change-list #result_list .column-row_actions,
html[data-ui-theme] .app-projects.model-project.change-list #result_list .field-row_actions {
  width: 15% !important;
}

html[data-ui-theme] .project-listing-card,
html[data-ui-theme] .project-listing-meta-stack {
  display: grid !important;
  gap: 4px !important;
}

html[data-ui-theme] .project-listing-card__title {
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
}

html[data-ui-theme] .project-listing-card__meta,
html[data-ui-theme] .project-listing-meta-stack span {
  color: var(--fw-muted-fg) !important;
  font-size: 0.8125rem !important;
  line-height: 1.45 !important;
}

html[data-ui-theme] .project-listing-chips,
html[data-ui-theme] .project-listing-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

html[data-ui-theme] .status-pill {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 0 10px !important;
  border: 1px solid var(--fw-border) !important;
  border-radius: 999px !important;
  background: var(--fw-card-muted) !important;
  color: var(--fw-fg) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

html[data-ui-theme] .status-pill--success {
  background: rgba(34, 197, 94, 0.12) !important;
  border-color: rgba(34, 197, 94, 0.22) !important;
  color: #15803d !important;
}

html[data-ui-theme] .status-pill--danger {
  background: rgba(239, 68, 68, 0.1) !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
  color: #b91c1c !important;
}

html[data-ui-theme] .status-pill--muted {
  background: var(--fw-secondary) !important;
  color: var(--fw-secondary-fg) !important;
}

html[data-ui-theme] .button--chip {
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
}

html[data-ui-theme] .button--danger {
  border-color: rgba(220, 38, 38, 0.22) !important;
  color: #b91c1c !important;
}

html[data-ui-theme] .button--danger:hover {
  background: rgba(254, 242, 242, 0.95) !important;
  border-color: rgba(220, 38, 38, 0.3) !important;
}

html[data-ui-theme] .app-projects.model-project.change-form #custom_settings-group .inline-related {
  border-radius: var(--fw-radius-lg) !important;
}

html[data-ui-theme] .app-projects.model-project.change-form #custom_settings-group .inline-related fieldset {
  display: grid !important;
  gap: 14px !important;
}

html[data-ui-theme] .app-projects.model-project.change-form #custom_settings-group .form-row {
  border: 1px solid var(--fw-border) !important;
  border-radius: var(--fw-radius-lg) !important;
  background: var(--fw-card) !important;
  padding: 14px !important;
}

html[data-ui-theme] .app-projects.model-project.change-form .inline-group .tabular .module .wrapper {
  overflow-x: auto !important;
}

html[data-ui-theme] .app-projects.model-project.change-form .inline-group .tabular table {
  table-layout: fixed !important;
  width: 100% !important;
}

html[data-ui-theme] .app-projects.model-project.change-form .inline-group .tabular th,
html[data-ui-theme] .app-projects.model-project.change-form .inline-group .tabular td {
  white-space: normal !important;
  word-break: break-word !important;
}

html[data-ui-theme] input[type="text"],
html[data-ui-theme] input[type="email"],
html[data-ui-theme] input[type="url"],
html[data-ui-theme] input[type="number"],
html[data-ui-theme] input[type="date"],
html[data-ui-theme] input[type="password"],
html[data-ui-theme] select,
html[data-ui-theme] textarea,
html[data-ui-theme] .workspace-field input,
html[data-ui-theme] .workspace-field select,
html[data-ui-theme] .workspace-control input[type="text"],
html[data-ui-theme] .workspace-control input[type="url"],
html[data-ui-theme] .workspace-control input[type="date"],
html[data-ui-theme] .workspace-control input[type="number"],
html[data-ui-theme] .workspace-control select,
html[data-ui-theme] .workspace-control input[type="file"],
html[data-ui-theme] .form-row > input[type="text"],
html[data-ui-theme] .form-row > input[type="url"],
html[data-ui-theme] .form-row > input[type="number"],
html[data-ui-theme] .form-row > input[type="email"],
html[data-ui-theme] .form-row > input[type="date"],
html[data-ui-theme] .form-row > select,
html[data-ui-theme] .form-row > textarea {
  min-height: 40px !important;
  border-radius: var(--fw-radius) !important;
  border: 1px solid var(--fw-border) !important;
  background: var(--fw-card) !important;
  color: var(--fw-fg) !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
}

html[data-ui-theme] textarea,
html[data-ui-theme] .form-row > textarea {
  min-height: 96px !important;
}

html[data-ui-theme] label,
html[data-ui-theme] .form-row > label,
html[data-ui-theme] .workspace-field span,
html[data-ui-theme] .workspace-control > span {
  color: var(--fw-fg) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

html[data-ui-theme] .btn,
html[data-ui-theme] .button,
html[data-ui-theme] input[type="submit"],
html[data-ui-theme] input[type="button"],
html[data-ui-theme] .object-tools a,
html[data-ui-theme] .submit-row a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 16px !important;
  border-radius: var(--fw-radius) !important;
  border: 1px solid var(--fw-primary) !important;
  background: var(--fw-primary) !important;
  color: var(--fw-primary-fg) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
}

html[data-ui-theme] .btn--ghost,
html[data-ui-theme] .button.secondary,
html[data-ui-theme] .deletelink,
html[data-ui-theme] .submit-row .deletelink {
  background: var(--fw-secondary) !important;
  border-color: var(--fw-border) !important;
  color: var(--fw-secondary-fg) !important;
}

html[data-ui-theme] .results table,
html[data-ui-theme] .builder-table table,
html[data-ui-theme] .workspace-table table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

html[data-ui-theme] .results thead th,
html[data-ui-theme] .builder-table th,
html[data-ui-theme] .workspace-table th {
  color: var(--fw-muted-fg) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

html[data-ui-theme] .results th,
html[data-ui-theme] .results td,
html[data-ui-theme] .builder-table th,
html[data-ui-theme] .builder-table td,
html[data-ui-theme] .workspace-table th,
html[data-ui-theme] .workspace-table td {
  padding: 14px 12px !important;
  border-bottom: 1px solid var(--fw-border) !important;
  background: transparent !important;
  color: var(--fw-fg) !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  vertical-align: middle !important;
}

html[data-ui-theme] .results tbody tr:last-child td,
html[data-ui-theme] .builder-table tbody tr:last-child td,
html[data-ui-theme] .workspace-table tbody tr:last-child td {
  border-bottom: 0 !important;
}
